diff --git a/frontend/src/app/features/design-system/design-system.component.html b/frontend/src/app/features/design-system/design-system.component.html
index 59bc6070b..fb38a1cf1 100644
--- a/frontend/src/app/features/design-system/design-system.component.html
+++ b/frontend/src/app/features/design-system/design-system.component.html
@@ -2,9 +2,9 @@
@@ -21,8 +21,7 @@
[tone]="example.tone"
[variant]="example.variant"
[size]="size"
- icon="pi pi-bolt"
- [label]="size" />
+ [label]="size">
}
@@ -30,9 +29,9 @@
- {{ item.title }}
+ {{ item.title }}
{{ item.body }}
@@ -515,7 +511,7 @@
@@ -550,7 +546,7 @@
diff --git a/frontend/src/app/features/design-system/design-system.component.ts b/frontend/src/app/features/design-system/design-system.component.ts
index 43eedf117..0caf499ca 100644
--- a/frontend/src/app/features/design-system/design-system.component.ts
+++ b/frontend/src/app/features/design-system/design-system.component.ts
@@ -3,6 +3,25 @@ import { CdkScrollable } from '@angular/cdk/scrolling';
import { Router } from '@angular/router';
import { email, form, FormField, minLength, required, validate } from '@angular/forms/signals';
import { MenuItem } from 'primeng/api';
+import {
+ LucideChevronLeft,
+ LucideDownload,
+ LucideEllipsisVertical,
+ LucideFile,
+ LucideFolder,
+ LucideFolderOpen,
+ LucideHeart,
+ LucideList,
+ LucideSave,
+ LucideSearch,
+ LucideSettings,
+ LucideSmartphone,
+ LucideTag,
+ LucideTrash2,
+ LucideTriangleAlert,
+ LucideX,
+ LucideZap,
+} from '@lucide/angular';
import { AppAccordionComponent } from '../../shared/ui/accordion/app-accordion.component';
import {
AppAccordionActionsDirective,
@@ -76,6 +95,21 @@ interface ButtonExample {
AppTagComponent,
AppTextareaComponent,
AppTooltipDirective,
+ LucideFolder,
+ LucideSmartphone,
+ LucideList,
+ LucideZap,
+ LucideChevronLeft,
+ LucideHeart,
+ LucideSave,
+ LucideSettings,
+ LucideEllipsisVertical,
+ LucideFolderOpen,
+ LucideDownload,
+ LucideTrash2,
+ LucideSearch,
+ LucideX,
+ LucideTriangleAlert,
FormField,
],
templateUrl: './design-system.component.html',
@@ -137,9 +171,9 @@ export class DesignSystemComponent {
];
readonly settingsTabs: TabItem[] = [
- { id: 'general', label: 'General', icon: 'pi pi-cog' },
- { id: 'metadata', label: 'Metadata', icon: 'pi pi-tag' },
- { id: 'formats', label: 'Formats', icon: 'pi pi-file' },
+ { id: 'general', label: 'General', icon: LucideSettings.icon },
+ { id: 'metadata', label: 'Metadata', icon: LucideTag.icon },
+ { id: 'formats', label: 'Formats', icon: LucideFile.icon },
];
readonly manyTabs: TabItem[] = [
{ id: 'general', label: 'General' },
diff --git a/frontend/src/app/features/design-system/forms/device-form.component.html b/frontend/src/app/features/design-system/forms/device-form.component.html
index 183010e37..9f2dd48a6 100644
--- a/frontend/src/app/features/design-system/forms/device-form.component.html
+++ b/frontend/src/app/features/design-system/forms/device-form.component.html
@@ -4,10 +4,9 @@
+ (clicked)="back()">
@@ -18,7 +17,7 @@
@if (deviceForm().submitting()) {
-
+
}
@@ -27,7 +26,7 @@
@@ -44,7 +43,7 @@
@@ -77,7 +76,7 @@
@@ -103,9 +102,8 @@
type="submit"
tone="primary"
label="Save settings"
- icon="pi pi-save"
[loading]="deviceForm().submitting()"
- [disabled]="deviceForm().submitting()" />
+ [disabled]="deviceForm().submitting()">
@if (submitState() === 'saved') {
diff --git a/frontend/src/app/features/design-system/forms/device-form.component.ts b/frontend/src/app/features/design-system/forms/device-form.component.ts
index 56866c7dd..9779ba39e 100644
--- a/frontend/src/app/features/design-system/forms/device-form.component.ts
+++ b/frontend/src/app/features/design-system/forms/device-form.component.ts
@@ -11,6 +11,7 @@ import { AppNumberInputComponent } from '../../../shared/ui/number-input/app-num
import { AppSliderComponent } from '../../../shared/ui/slider/app-slider.component';
import { AppSwitchComponent } from '../../../shared/ui/switch/app-switch.component';
import { AppTagComponent } from '../../../shared/ui/tag/app-tag.component';
+import { LucideBook, LucideChevronLeft, LucideLoaderCircle, LucideSave, LucideSmartphone, LucideTablet } from '@lucide/angular';
interface DeviceFormModel {
hardcover: { enabled: boolean; apiKey: string };
@@ -57,6 +58,12 @@ function createInitialModel(): DeviceFormModel {
AppSliderComponent,
AppSwitchComponent,
AppTagComponent,
+ LucideBook,
+ LucideSmartphone,
+ LucideTablet,
+ LucideChevronLeft,
+ LucideSave,
+ LucideLoaderCircle,
],
templateUrl: './device-form.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
diff --git a/frontend/src/app/features/design-system/forms/everything-form.component.html b/frontend/src/app/features/design-system/forms/everything-form.component.html
index 84cbcb904..41e9acb11 100644
--- a/frontend/src/app/features/design-system/forms/everything-form.component.html
+++ b/frontend/src/app/features/design-system/forms/everything-form.component.html
@@ -4,10 +4,9 @@
+ (clicked)="back()">
@@ -18,7 +17,7 @@
@if (everythingForm().submitting()) {
-
+
}
@@ -95,9 +94,8 @@
type="submit"
tone="primary"
label="Save"
- icon="pi pi-save"
[loading]="everythingForm().submitting()"
- [disabled]="everythingForm().submitting()" />
+ [disabled]="everythingForm().submitting()">
@if (submitState() === 'saved') {
diff --git a/frontend/src/app/features/design-system/forms/everything-form.component.ts b/frontend/src/app/features/design-system/forms/everything-form.component.ts
index eecdc0c73..44a4dbd08 100644
--- a/frontend/src/app/features/design-system/forms/everything-form.component.ts
+++ b/frontend/src/app/features/design-system/forms/everything-form.component.ts
@@ -22,6 +22,7 @@ import { AppDateRangePickerComponent, type DatePickerRange } from '../../../shar
import { AppMessageComponent } from '../../../shared/ui/message/app-message.component';
import { AppTagComponent } from '../../../shared/ui/tag/app-tag.component';
import { type SelectOption } from '../../../shared/ui/select/app-select.options';
+import { LucideChevronLeft, LucideLoaderCircle, LucideSave } from '@lucide/angular';
interface EverythingFormModel {
text: string;
@@ -86,6 +87,9 @@ function createInitialModel(): EverythingFormModel {
AppDateRangePickerComponent,
AppMessageComponent,
AppTagComponent,
+ LucideChevronLeft,
+ LucideSave,
+ LucideLoaderCircle,
],
templateUrl: './everything-form.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
diff --git a/frontend/src/app/features/design-system/forms/library-form.component.html b/frontend/src/app/features/design-system/forms/library-form.component.html
index 1bf2183be..55dbaf52c 100644
--- a/frontend/src/app/features/design-system/forms/library-form.component.html
+++ b/frontend/src/app/features/design-system/forms/library-form.component.html
@@ -4,10 +4,9 @@
+ (clicked)="back()">
@@ -18,7 +17,7 @@
@if (libraryForm().submitting()) {
-
+
}
@@ -63,9 +62,8 @@
type="submit"
tone="primary"
label="Save library"
- icon="pi pi-save"
[loading]="libraryForm().submitting()"
- [disabled]="libraryForm().submitting()" />
+ [disabled]="libraryForm().submitting()">
@if (submitState() === 'saved') {
diff --git a/frontend/src/app/features/design-system/forms/library-form.component.ts b/frontend/src/app/features/design-system/forms/library-form.component.ts
index 859e183d7..7bcace3ca 100644
--- a/frontend/src/app/features/design-system/forms/library-form.component.ts
+++ b/frontend/src/app/features/design-system/forms/library-form.component.ts
@@ -14,6 +14,7 @@ import { AppSelectComponent } from '../../../shared/ui/select/app-select.compone
import { AppSwitchComponent } from '../../../shared/ui/switch/app-switch.component';
import { AppTagComponent } from '../../../shared/ui/tag/app-tag.component';
import { type SelectOption } from '../../../shared/ui/select/app-select.options';
+import { LucideChevronLeft, LucideLoaderCircle, LucideSave } from '@lucide/angular';
type OrganizationMode = 'BOOK_PER_FILE' | 'BOOK_PER_FOLDER';
type MetadataSource = 'EMBEDDED' | 'SIDECAR' | 'PREFER_SIDECAR' | 'PREFER_EMBEDDED' | 'NONE';
@@ -61,6 +62,9 @@ function createInitialModel(): LibraryFormModel {
AppSelectComponent,
AppSwitchComponent,
AppTagComponent,
+ LucideChevronLeft,
+ LucideSave,
+ LucideLoaderCircle,
],
templateUrl: './library-form.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
diff --git a/frontend/src/app/shared/ui/accordion/app-accordion.component.ts b/frontend/src/app/shared/ui/accordion/app-accordion.component.ts
index 48f4c532a..b98b950cd 100644
--- a/frontend/src/app/shared/ui/accordion/app-accordion.component.ts
+++ b/frontend/src/app/shared/ui/accordion/app-accordion.component.ts
@@ -9,6 +9,7 @@ import {
numberAttribute,
} from '@angular/core';
import { AccordionContent, AccordionGroup, AccordionPanel, AccordionTrigger } from '@angular/aria/accordion';
+import { LucideChevronDown } from '@lucide/angular';
import {
AppAccordionActionsDirective,
@@ -20,7 +21,7 @@ import { neutralControlBorderClass } from '../control.styles';
@Component({
selector: 'app-accordion',
standalone: true,
- imports: [NgTemplateOutlet, AccordionGroup, AccordionPanel, AccordionTrigger, AccordionContent],
+ imports: [NgTemplateOutlet, AccordionGroup, AccordionPanel, AccordionTrigger, AccordionContent, LucideChevronDown],
host: { class: 'block' },
changeDetection: ChangeDetectionStrategy.OnPush,
template: `
@@ -46,7 +47,7 @@ import { neutralControlBorderClass } from '../control.styles';
{{ item }}
}
-
+
@if (actionsTemplate(); as tpl) {
@@ -104,7 +105,7 @@ export class AppAccordionComponent {
protected readonly labelClass = 'min-w-0 flex-1 pr-7 text-left';
protected readonly labelWithActionsClass = 'min-w-0 flex-1 pr-24 text-left';
protected readonly chevronClass =
- 'pi pi-chevron-down pointer-events-none absolute right-3 top-1/2 shrink-0 -translate-y-1/2 text-xs text-text-muted transition-transform duration-200';
+ 'pointer-events-none absolute right-3 top-1/2 size-4 shrink-0 -translate-y-1/2 text-text-muted transition-transform duration-200';
protected readonly actionsOverlayClass = 'pointer-events-none absolute inset-y-0 right-8 flex items-center';
protected readonly actionsClass = 'pointer-events-auto flex shrink-0 items-center gap-1';
protected readonly contentClass = 'surface-page border-t border-border px-3 py-3 text-sm text-text';
diff --git a/frontend/src/app/shared/ui/autocomplete/app-autocomplete.component.ts b/frontend/src/app/shared/ui/autocomplete/app-autocomplete.component.ts
index 8b5995f1e..8e352626e 100644
--- a/frontend/src/app/shared/ui/autocomplete/app-autocomplete.component.ts
+++ b/frontend/src/app/shared/ui/autocomplete/app-autocomplete.component.ts
@@ -4,6 +4,7 @@ import { Combobox, ComboboxInput, ComboboxPopupContainer } from '@angular/aria/c
import { Listbox, Option } from '@angular/aria/listbox';
import { OverlayModule } from '@angular/cdk/overlay';
import { TranslocoPipe } from '@jsverse/transloco';
+import { LucideLoaderCircle } from '@lucide/angular';
import { AppAutocompleteBaseDirective } from './app-autocomplete-base.directive';
@@ -18,6 +19,7 @@ import { AppAutocompleteBaseDirective } from './app-autocomplete-base.directive'
Listbox,
Option,
TranslocoPipe,
+ LucideLoaderCircle,
],
host: { class: 'block w-full' },
changeDetection: ChangeDetectionStrategy.OnPush,
@@ -55,7 +57,7 @@ import { AppAutocompleteBaseDirective } from './app-autocomplete-base.directive'
(blur)="onInputBlur()"
[class]="innerInputClass" />
@if (pending()) {
-