@shival99/z-ui 1.2.13 → 1.2.14

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": "@shival99/z-ui",
3
- "version": "1.2.13",
3
+ "version": "1.2.14",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 20+, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -285,16 +285,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
285
285
 
286
286
  declare const zCalendarVariants: (props?: ({
287
287
  zSize?: "sm" | "default" | "lg" | null | undefined;
288
- zStatus?: "default" | "disabled" | "open" | "error" | "readonly" | null | undefined;
288
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
289
289
  } & class_variance_authority_types.ClassProp) | undefined) => string;
290
290
  declare const zCalendarDayVariants: (props?: ({
291
- state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "disabled" | "otherMonth" | "hovered" | null | undefined;
291
+ state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
292
292
  } & class_variance_authority_types.ClassProp) | undefined) => string;
293
293
  declare const zCalendarMonthVariants: (props?: ({
294
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
294
+ state?: "default" | "disabled" | "selected" | "current" | null | undefined;
295
295
  } & class_variance_authority_types.ClassProp) | undefined) => string;
296
296
  declare const zCalendarYearVariants: (props?: ({
297
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
297
+ state?: "default" | "disabled" | "selected" | "current" | null | undefined;
298
298
  } & class_variance_authority_types.ClassProp) | undefined) => string;
299
299
 
300
300
  export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
@@ -305,20 +305,6 @@ declare const zIconVariants: (props?: ({
305
305
  } & class_variance_authority_types.ClassProp) | undefined) => string;
306
306
  type ZIconVariants = VariantProps<typeof zIconVariants>;
307
307
 
308
- /**
309
- * Provides hybrid icon loading from CDN with fallback to bundled icons:
310
- * - Primary: Load icons from CDN (Lucide & Iconsax)
311
- * - Fallback: Use bundled icons from Z_ICONS if CDN fails
312
- *
313
- * @example
314
- * ```typescript
315
- * // app.config.ts
316
- * providers: [
317
- * provideHttpClient(),
318
- * provideZIconLoader(),
319
- * ]
320
- * ```
321
- */
322
308
  declare function provideZIconLoader(): EnvironmentProviders;
323
309
 
324
310
  export { ZIconComponent, Z_ICONS, provideZIconLoader, zIconVariants };
@@ -177,11 +177,11 @@ declare class ZInputComponent implements OnInit, ControlValueAccessor {
177
177
 
178
178
  declare const zInputVariants: (props?: ({
179
179
  zSize?: "sm" | "default" | "lg" | null | undefined;
180
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
180
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
181
181
  } & class_variance_authority_types.ClassProp) | undefined) => string;
182
182
  type ZInputVariants = VariantProps<typeof zInputVariants>;
183
183
  declare const zTextareaVariants: (props?: ({
184
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
184
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
185
185
  } & class_variance_authority_types.ClassProp) | undefined) => string;
186
186
  type ZTextareaVariants = VariantProps<typeof zTextareaVariants>;
187
187
 
@@ -218,7 +218,7 @@ declare class ZModalComponent<T, U> extends BasePortalOutlet implements OnDestro
218
218
  protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
219
219
  protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
220
220
  protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
221
- protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "link" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | null | undefined>;
221
+ protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "link" | null | undefined>;
222
222
  protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
223
223
  protected readonly effectiveLoading: _angular_core.Signal<boolean>;
224
224
  protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
@@ -256,7 +256,7 @@ declare class ZTagClassesPipe implements PipeTransform {
256
256
 
257
257
  declare const zSelectVariants: (props?: ({
258
258
  zSize?: "sm" | "default" | "lg" | null | undefined;
259
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
259
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
260
260
  } & class_variance_authority_types.ClassProp) | undefined) => string;
261
261
  declare const zSelectTagVariants: (props?: ({
262
262
  zSize?: "sm" | "default" | "lg" | null | undefined;
@@ -32,7 +32,7 @@ declare class ZTimelineComponent {
32
32
  readonly class: _angular_core.InputSignal<ClassValue>;
33
33
  readonly zItems: _angular_core.InputSignal<ZTimelineItem[]>;
34
34
  readonly zSize: _angular_core.InputSignal<ZTimelineSize>;
35
- readonly zTimeVariant: _angular_core.InputSignal<"default" | "outline" | "secondary" | "muted">;
35
+ readonly zTimeVariant: _angular_core.InputSignal<"default" | "secondary" | "outline" | "muted">;
36
36
  readonly zLineStyle: _angular_core.InputSignal<ZTimelineLineStyle>;
37
37
  readonly zIconStyle: _angular_core.InputSignal<ZTimelineIconStyle>;
38
38
  readonly zLayout: _angular_core.InputSignal<ZTimelineLayout>;
@@ -57,7 +57,7 @@ declare class ZTimelineClassPipe implements PipeTransform {
57
57
  }
58
58
 
59
59
  declare const zTimelineVariants: (props?: ({
60
- zSize?: "default" | "sm" | "lg" | null | undefined;
60
+ zSize?: "sm" | "default" | "lg" | null | undefined;
61
61
  zLayout?: "default" | "reversed" | "alternate" | null | undefined;
62
62
  } & class_variance_authority_types.ClassProp) | undefined) => string;
63
63
  declare const zTimelineItemVariants: (props?: ({
@@ -71,18 +71,18 @@ declare const zTimelineHeaderVariants: (props?: ({
71
71
  } & class_variance_authority_types.ClassProp) | undefined) => string;
72
72
  declare const zTimelineIconVariants: (props?: ({
73
73
  zColor?: "default" | "primary" | "success" | "warning" | "error" | "info" | null | undefined;
74
- zIconStyle?: "filled" | "outline" | null | undefined;
74
+ zIconStyle?: "outline" | "filled" | null | undefined;
75
75
  zLayout?: "default" | "reversed" | "alternate" | null | undefined;
76
76
  } & class_variance_authority_types.ClassProp) | undefined) => string;
77
77
  declare const zTimelineTitleVariants: (props?: ({
78
- zSize?: "default" | "sm" | "lg" | null | undefined;
78
+ zSize?: "sm" | "default" | "lg" | null | undefined;
79
79
  } & class_variance_authority_types.ClassProp) | undefined) => string;
80
80
  declare const zTimelineTimeVariants: (props?: ({
81
- zVariant?: "default" | "outline" | "secondary" | "muted" | null | undefined;
81
+ zVariant?: "default" | "secondary" | "outline" | "muted" | null | undefined;
82
82
  zLayout?: "default" | "reversed" | "alternate" | null | undefined;
83
83
  } & class_variance_authority_types.ClassProp) | undefined) => string;
84
84
  declare const zTimelineDescriptionVariants: (props?: ({
85
- zSize?: "default" | "sm" | "lg" | null | undefined;
85
+ zSize?: "sm" | "default" | "lg" | null | undefined;
86
86
  } & class_variance_authority_types.ClassProp) | undefined) => string;
87
87
  declare const zTimelineContentVariants: (props?: ({
88
88
  zContentStyle?: "simple" | "card" | null | undefined;
@@ -86,7 +86,7 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
86
86
  protected readonly hasError: _angular_core.Signal<boolean>;
87
87
  protected readonly showError: _angular_core.Signal<boolean>;
88
88
  protected readonly errorMessage: _angular_core.Signal<string>;
89
- protected readonly currentStatus: _angular_core.Signal<"default" | "error" | "disabled" | "readonly" | "active">;
89
+ protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "error" | "active">;
90
90
  protected readonly dropzoneClasses: _angular_core.Signal<string>;
91
91
  protected readonly acceptTypes: _angular_core.Signal<string>;
92
92
  protected readonly formatFileSize: (bytes: number) => string;
@@ -125,11 +125,11 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
125
125
 
126
126
  declare const zUploadDropzoneVariants: (props?: ({
127
127
  zSize?: "sm" | "default" | "lg" | null | undefined;
128
- zStatus?: "default" | "error" | "active" | "disabled" | "readonly" | null | undefined;
128
+ zStatus?: "default" | "disabled" | "readonly" | "error" | "active" | null | undefined;
129
129
  } & class_variance_authority_types.ClassProp) | undefined) => string;
130
130
  type ZUploadDropzoneVariants = VariantProps<typeof zUploadDropzoneVariants>;
131
131
  declare const zUploadFileItemVariants: (props?: ({
132
- zStatus?: "pending" | "uploading" | "success" | "error" | null | undefined;
132
+ zStatus?: "error" | "pending" | "uploading" | "success" | null | undefined;
133
133
  } & class_variance_authority_types.ClassProp) | undefined) => string;
134
134
  type ZUploadFileItemVariants = VariantProps<typeof zUploadFileItemVariants>;
135
135
 
@@ -82,10 +82,6 @@ declare function provideZScrollbar(): EnvironmentProviders;
82
82
  */
83
83
  declare function provideZTheme(config?: ZThemeConfig): EnvironmentProviders;
84
84
 
85
- /**
86
- * Z-Translate Provider Types
87
- */
88
-
89
85
  interface ZTranslateProviderConfig {
90
86
  /** Default language (default: 'vi') */
91
87
  defaultLang?: string;
@@ -128,10 +124,6 @@ interface ZTranslateProviderConfig {
128
124
  }
129
125
 
130
126
  declare function zCreateTranslateLoader(http: HttpClient, path?: string, extension?: string, includeZUI?: boolean, zuiOverridePath?: string, customZUI?: Partial<Record<string, ZUITranslations>>): TranslateLoader;
131
- /**
132
- * Provide Z-Translate service
133
- * Z-UI translations are auto-included by default
134
- */
135
127
  declare function provideZTranslate(config?: ZTranslateProviderConfig): EnvironmentProviders;
136
128
 
137
129
  export { Z_INDEXDB_SERVICE, provideZIndexDb, provideZNgxMask, provideZScrollbar, provideZTheme, provideZTranslate, zCreateTranslateLoader };