@aseansc/ui 5.4.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to `@aseansc/ui` (trước đây `@asc/ui`) are documented h
4
4
 
5
5
  ---
6
6
 
7
+ ## [5.5.0] — 2026-10-13
8
+
9
+ Breadcrumb theo Figma Breadcrumb.
10
+
11
+ ### Changed
12
+
13
+ - **`AscBreadcrumb`**:
14
+ - Separator là dấu **`/`** (thay chevron mặc định của PrimeNG), màu `#747475`.
15
+ - Link: **14px / 400 / 20px**, `#747475` (Text.tertiary); hover → `#0F0F0F`.
16
+ - Trang hiện tại (item cuối): `#0F0F0F` (Text.primary).
17
+ - Override qua CSS variable: `--asc-breadcrumb-link-color`, `--asc-breadcrumb-current-color`, `--asc-breadcrumb-separator-color`.
18
+
19
+ ---
20
+
7
21
  ## [5.4.0] — 2026-10-09
8
22
 
9
23
  Dialog / Confirm dialog / Confirm popup theo Figma Dialog.
@@ -10360,17 +10360,21 @@ class AscBreadcrumb {
10360
10360
  return crumbs;
10361
10361
  }
10362
10362
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscBreadcrumb, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10363
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: AscBreadcrumb, isStandalone: true, selector: "asc-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, home: { classPropertyName: "home", publicName: "home", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `<p-breadcrumb [model]="resolvedItems()" [home]="resolvedHome()" />`, isInline: true, dependencies: [{ kind: "component", type: Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10363
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.5", type: AscBreadcrumb, isStandalone: true, selector: "asc-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, home: { classPropertyName: "home", publicName: "home", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
10364
+ <p-breadcrumb [model]="resolvedItems()" [home]="resolvedHome()">
10365
+ <!-- Figma: separator là dấu "/" (PrimeNG mặc định chevron) -->
10366
+ <ng-template #separator><span class="asc-breadcrumb-separator">/</span></ng-template>
10367
+ </p-breadcrumb>
10368
+ `, isInline: true, styles: [":host ::ng-deep .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-item-label,:host ::ng-deep .asc-breadcrumb-separator{font-size:14px;font-weight:400;line-height:20px}:host ::ng-deep .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-item-link .p-breadcrumb-item-label,:host ::ng-deep .p-breadcrumb-item-link .p-breadcrumb-item-icon{color:var(--asc-breadcrumb-link-color, var(--asc-text-muted, #747475))}:host ::ng-deep .p-breadcrumb-item-link:hover .p-breadcrumb-item-label{color:var(--asc-breadcrumb-current-color, var(--asc-text-primary, #0F0F0F))}:host ::ng-deep .p-breadcrumb-separator,:host ::ng-deep .asc-breadcrumb-separator{color:var(--asc-breadcrumb-separator-color, var(--asc-text-muted, #747475))}:host ::ng-deep .p-breadcrumb-list>li:last-child .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-list>li:last-child .p-breadcrumb-item-label{color:var(--asc-breadcrumb-current-color, var(--asc-text-primary, #0F0F0F))}\n"], dependencies: [{ kind: "component", type: Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10364
10369
  }
10365
10370
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: AscBreadcrumb, decorators: [{
10366
10371
  type: Component,
10367
- args: [{
10368
- selector: 'asc-breadcrumb',
10369
- standalone: true,
10370
- imports: [Breadcrumb],
10371
- changeDetection: ChangeDetectionStrategy.OnPush,
10372
- template: `<p-breadcrumb [model]="resolvedItems()" [home]="resolvedHome()" />`,
10373
- }]
10372
+ args: [{ selector: 'asc-breadcrumb', standalone: true, imports: [Breadcrumb], changeDetection: ChangeDetectionStrategy.OnPush, template: `
10373
+ <p-breadcrumb [model]="resolvedItems()" [home]="resolvedHome()">
10374
+ <!-- Figma: separator là dấu "/" (PrimeNG mặc định chevron) -->
10375
+ <ng-template #separator><span class="asc-breadcrumb-separator">/</span></ng-template>
10376
+ </p-breadcrumb>
10377
+ `, styles: [":host ::ng-deep .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-item-label,:host ::ng-deep .asc-breadcrumb-separator{font-size:14px;font-weight:400;line-height:20px}:host ::ng-deep .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-item-link .p-breadcrumb-item-label,:host ::ng-deep .p-breadcrumb-item-link .p-breadcrumb-item-icon{color:var(--asc-breadcrumb-link-color, var(--asc-text-muted, #747475))}:host ::ng-deep .p-breadcrumb-item-link:hover .p-breadcrumb-item-label{color:var(--asc-breadcrumb-current-color, var(--asc-text-primary, #0F0F0F))}:host ::ng-deep .p-breadcrumb-separator,:host ::ng-deep .asc-breadcrumb-separator{color:var(--asc-breadcrumb-separator-color, var(--asc-text-muted, #747475))}:host ::ng-deep .p-breadcrumb-list>li:last-child .p-breadcrumb-item-link,:host ::ng-deep .p-breadcrumb-list>li:last-child .p-breadcrumb-item-label{color:var(--asc-breadcrumb-current-color, var(--asc-text-primary, #0F0F0F))}\n"] }]
10374
10378
  }], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], home: [{ type: i0.Input, args: [{ isSignal: true, alias: "home", required: false }] }] } });
10375
10379
 
10376
10380
  /**