@shival99/z-ui 2.5.1 → 2.5.3
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/fesm2022/shival99-z-ui-components-z-autocomplete.mjs +17 -2
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-select.mjs +23 -2
- package/fesm2022/shival99-z-ui-components-z-select.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +2 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +4 -2
- package/types/shival99-z-ui-components-z-table.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.3",
|
|
4
4
|
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 45+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -179,6 +179,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
|
|
|
179
179
|
private _asyncRequestId;
|
|
180
180
|
private _lastFilteredOptionsLength;
|
|
181
181
|
private _shouldScrollActiveOption;
|
|
182
|
+
private _pendingServerSearchScrollReset;
|
|
182
183
|
/** Guards against focus+click both requesting an open on the same gesture, which doubled CD cycles. */
|
|
183
184
|
private _openRequested;
|
|
184
185
|
/** Stores input value before keyboard navigation for ESC revert */
|
|
@@ -282,7 +283,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
|
|
|
282
283
|
|
|
283
284
|
declare const zAutocompleteInputVariants: (props?: ({
|
|
284
285
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
285
|
-
zStatus?: "default" | "
|
|
286
|
+
zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
|
|
286
287
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
287
288
|
type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
|
|
288
289
|
declare const zAutocompleteOptionVariants: (props?: ({
|
|
@@ -435,16 +435,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
435
435
|
|
|
436
436
|
declare const zCalendarVariants: (props?: ({
|
|
437
437
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
438
|
-
zStatus?: "default" | "disabled" | "
|
|
438
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
439
439
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
440
440
|
declare const zCalendarDayVariants: (props?: ({
|
|
441
|
-
state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "
|
|
441
|
+
state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
|
|
442
442
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
443
443
|
declare const zCalendarMonthVariants: (props?: ({
|
|
444
|
-
state?: "default" | "
|
|
444
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
445
445
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
446
446
|
declare const zCalendarYearVariants: (props?: ({
|
|
447
|
-
state?: "default" | "
|
|
447
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
448
448
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
449
449
|
|
|
450
450
|
export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
|
|
@@ -252,7 +252,7 @@ declare class ZModalComponent<T, U> implements OnDestroy, AfterViewChecked {
|
|
|
252
252
|
protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
|
|
253
253
|
protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
|
|
254
254
|
protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
|
|
255
|
-
protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "destructive-heartbeat" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-shimmer" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "outline-primary-soft" | "outline-success-soft" | "outline-info-soft" | "outline-warning-soft" | "outline-error-soft" | "outline-destructive-soft" | "outline-primary-soft-border" | "outline-success-soft-border" | "outline-info-soft-border" | "outline-warning-soft-border" | "outline-error-soft-border" | "outline-destructive-soft-border" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "subtle-outline" | "subtle-primary-outline" | "subtle-success-outline" | "subtle-info-outline" | "subtle-warning-outline" | "subtle-destructive-outline" |
|
|
255
|
+
protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "link" | "default" | "primary" | "secondary" | "destructive" | "destructive-heartbeat" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-shimmer" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "outline-primary-soft" | "outline-success-soft" | "outline-info-soft" | "outline-warning-soft" | "outline-error-soft" | "outline-destructive-soft" | "outline-primary-soft-border" | "outline-success-soft-border" | "outline-info-soft-border" | "outline-warning-soft-border" | "outline-error-soft-border" | "outline-destructive-soft-border" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "subtle-outline" | "subtle-primary-outline" | "subtle-success-outline" | "subtle-info-outline" | "subtle-warning-outline" | "subtle-destructive-outline" | null | undefined>;
|
|
256
256
|
protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
|
|
257
257
|
protected readonly effectiveLoading: _angular_core.Signal<boolean>;
|
|
258
258
|
protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
|
|
@@ -213,6 +213,7 @@ declare class ZSelectComponent<T = unknown> implements OnInit, ControlValueAcces
|
|
|
213
213
|
protected readonly treeDirection: _angular_core.WritableSignal<"none" | "forward" | "back">;
|
|
214
214
|
protected readonly config: _angular_core.Signal<ZSelectConfig<T>>;
|
|
215
215
|
protected readonly hasAsyncOptions: _angular_core.Signal<boolean>;
|
|
216
|
+
protected readonly hasPaginatedOptions: _angular_core.Signal<boolean>;
|
|
216
217
|
protected readonly sourceOptions: _angular_core.Signal<ZSelectOption<T>[]>;
|
|
217
218
|
protected readonly asyncSelectedOptions: _angular_core.Signal<ZSelectOption<T>[]>;
|
|
218
219
|
protected readonly isLoading: _angular_core.Signal<boolean>;
|
|
@@ -258,7 +259,7 @@ declare class ZSelectComponent<T = unknown> implements OnInit, ControlValueAcces
|
|
|
258
259
|
protected readonly isEmptyData: _angular_core.Signal<boolean>;
|
|
259
260
|
protected readonly isNoSearchResults: _angular_core.Signal<boolean>;
|
|
260
261
|
protected readonly optionsMaxHeight: _angular_core.Signal<number>;
|
|
261
|
-
protected readonly currentStatus: _angular_core.Signal<"default" | "
|
|
262
|
+
protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "open" | "error">;
|
|
262
263
|
private readonly _shouldShowValidation;
|
|
263
264
|
protected readonly hasError: _angular_core.Signal<boolean>;
|
|
264
265
|
protected readonly errorMessage: _angular_core.Signal<string>;
|
|
@@ -276,6 +277,7 @@ declare class ZSelectComponent<T = unknown> implements OnInit, ControlValueAcces
|
|
|
276
277
|
private _onTouched;
|
|
277
278
|
private _ngControl;
|
|
278
279
|
private readonly _isNgModel;
|
|
280
|
+
private _pendingServerSearchScrollReset;
|
|
279
281
|
constructor();
|
|
280
282
|
ngOnInit(): void;
|
|
281
283
|
writeValue(value: T | T[] | null): void;
|
|
@@ -369,7 +371,7 @@ declare const TAG_COLORS: ZSelectTagColor[];
|
|
|
369
371
|
declare const zSelectVariants: (props?: ({
|
|
370
372
|
zVariant?: "default" | "ghost" | null | undefined;
|
|
371
373
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
372
|
-
zStatus?: "default" | "
|
|
374
|
+
zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
|
|
373
375
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
374
376
|
declare const zSelectTagVariants: (props?: ({
|
|
375
377
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
@@ -2168,7 +2168,7 @@ declare class ZTableFilterComponent<T> {
|
|
|
2168
2168
|
protected readonly filterBadgeCount: _angular_core.Signal<number>;
|
|
2169
2169
|
protected readonly hasFilterValue: _angular_core.Signal<boolean>;
|
|
2170
2170
|
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
2171
|
-
protected readonly draftSortValue: _angular_core.Signal<"
|
|
2171
|
+
protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
|
|
2172
2172
|
protected readonly rangeMinValue: _angular_core.Signal<any>;
|
|
2173
2173
|
protected readonly rangeMaxValue: _angular_core.Signal<any>;
|
|
2174
2174
|
protected readonly dateValue: _angular_core.Signal<Date | null>;
|
|
@@ -2240,7 +2240,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
2240
2240
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
2241
2241
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
2242
2242
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
2243
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"
|
|
2243
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
|
|
2244
2244
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
2245
2245
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
2246
2246
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|