@edmicro/olkit 2.1.6 → 2.1.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edmicro/olkit",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "Ôn Luyện Design System UI Component Library for Angular",
5
5
  "author": "EDMICRO",
6
6
  "license": "MIT",
@@ -24,12 +24,12 @@
24
24
  "LICENSES/**"
25
25
  ],
26
26
  "peerDependencies": {
27
- "@angular/common": "^22.0.0",
28
- "@angular/core": "^22.0.0",
27
+ "@angular/common": "^22.1.0",
28
+ "@angular/core": "^22.1.0",
29
29
  "@edmicro/olkit-icons": "^1.0.0",
30
- "@angular/forms": ">=18.0.0",
31
- "@angular/platform-browser": ">=18.0.0",
32
- "@angular/router": ">=18.0.0",
30
+ "@angular/forms": "^22.1.0",
31
+ "@angular/platform-browser": "^22.1.0",
32
+ "@angular/router": "^22.1.0",
33
33
  "rxjs": "^7.0.0"
34
34
  },
35
35
  "dependencies": {
@@ -3811,7 +3811,7 @@ export declare class OlHelper {
3811
3811
  /** Màu chữ theo trạng thái — cùng bảng với `ol-input`. */
3812
3812
  readonly textClass: import("@angular/core").Signal<"text-fg-success" | "text-fg-danger" | "text-body">;
3813
3813
  /** Thanh tiến trình đổi màu theo số điều kiện đã đạt. */
3814
- readonly progressColor: import("@angular/core").Signal<"danger" | "warning" | "success">;
3814
+ readonly progressColor: import("@angular/core").Signal<"success" | "warning" | "danger">;
3815
3815
  onAction(event: MouseEvent): void;
3816
3816
  static ɵfac: i0.ɵɵFactoryDeclaration<OlHelper, never>;
3817
3817
  static ɵcmp: i0.ɵɵComponentDeclaration<OlHelper, "ol-helper", never, {
@@ -6078,7 +6078,7 @@ export declare class OlFileInput {
6078
6078
  /** Nhãn nút trong vùng kéo thả (Figma Advanced). Rỗng → không vẽ nút. */
6079
6079
  readonly ctaLabel: import("@angular/core").InputSignal<string>;
6080
6080
  /** Figma State: Danger / Success. Tệp bị loại tự chuyển sang `error`. */
6081
- readonly state: import("@angular/core").InputSignal<"default" | "success" | "error">;
6081
+ readonly state: import("@angular/core").InputSignal<"success" | "default" | "error">;
6082
6082
  /** Tệp đã nhận (sau khi kiểm). */
6083
6083
  readonly selectedFiles: import("@angular/core").WritableSignal<File[]>;
6084
6084
  protected readonly items: import("@angular/core").WritableSignal<OlUploadFile[]>;
@@ -6088,7 +6088,7 @@ export declare class OlFileInput {
6088
6088
  readonly rejected: import("@angular/core").OutputEmitterRef<FileRejection[]>;
6089
6089
  private readonly dropInput;
6090
6090
  private readonly host;
6091
- protected readonly zoneState: import("@angular/core").Signal<"default" | "success" | "error">;
6091
+ protected readonly zoneState: import("@angular/core").Signal<"success" | "default" | "error">;
6092
6092
  /**
6093
6093
  * Dòng phụ trong vùng: "Dung lượng tối đa" nếu có `maxSize`, không thì
6094
6094
  * `description` — giữ nguyên chữ của mã cũ đang truyền `description`.
@@ -6269,7 +6269,7 @@ export declare class OlFileDropzone {
6269
6269
  readonly icon: import("@angular/core").InputSignal<string>;
6270
6270
  readonly disabled: import("@angular/core").InputSignal<boolean>;
6271
6271
  /** Trạng thái viền: lỗi / thành công (Figma State=Danger / Success). */
6272
- readonly state: import("@angular/core").InputSignal<"default" | "success" | "error">;
6272
+ readonly state: import("@angular/core").InputSignal<"success" | "default" | "error">;
6273
6273
  /** Chiều cao tối thiểu — vùng trong khung có tiêu đề thấp hơn vùng đứng riêng. */
6274
6274
  readonly compact: import("@angular/core").InputSignal<boolean>;
6275
6275
  readonly describedBy: import("@angular/core").InputSignal<string>;
@@ -9441,7 +9441,7 @@ export declare class OlProgressBarService {
9441
9441
  export declare class OlProgressBarTop {
9442
9442
  readonly service: OlProgressBarService;
9443
9443
  /** Màu thanh. Mặc định `brand` theo Figma `ol-progress` (#3283:24173). */
9444
- readonly color: import("@angular/core").InputSignal<"brand" | "danger" | "warning" | "success">;
9444
+ readonly color: import("@angular/core").InputSignal<"success" | "warning" | "danger" | "brand">;
9445
9445
  readonly barClasses: import("@angular/core").Signal<"bg-warning-surface" | "bg-danger-surface" | "bg-brand" | "bg-success">;
9446
9446
  static ɵfac: i0.ɵɵFactoryDeclaration<OlProgressBarTop, never>;
9447
9447
  static ɵcmp: i0.ɵɵComponentDeclaration<OlProgressBarTop, "ol-progress-bar-top", never, {
@@ -9497,7 +9497,7 @@ export declare class OlLoadingOverlay {
9497
9497
  /** Theo nếp `ol-table-loading`: nhãn mặc định tiếng Việt. */
9498
9498
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
9499
9499
  /** Spinner to hơn ở chế độ toàn màn cho cân với diện tích phủ. */
9500
- readonly spinnerSize: import("@angular/core").Signal<"base" | "lg">;
9500
+ readonly spinnerSize: import("@angular/core").Signal<"lg" | "base">;
9501
9501
  readonly wrapperClasses: import("@angular/core").Signal<"flex flex-col items-center justify-center gap-3 bg-overlay-backdrop backdrop-blur-xs fixed inset-0 z-modal" | "flex flex-col items-center justify-center gap-3 bg-overlay-backdrop backdrop-blur-xs absolute inset-0 z-raised">;
9502
9502
  static ɵfac: i0.ɵɵFactoryDeclaration<OlLoadingOverlay, never>;
9503
9503
  static ɵcmp: i0.ɵɵComponentDeclaration<OlLoadingOverlay, "ol-loading-overlay", never, {