@shival99/z-ui 1.2.24 → 1.2.25
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-table.mjs +9 -3
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-editor.d.ts +1 -1
- package/types/shival99-z-ui-components-z-input.d.ts +2 -2
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-popover.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-table.d.ts +4 -2
- package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.25",
|
|
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",
|
|
@@ -286,16 +286,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
286
286
|
|
|
287
287
|
declare const zCalendarVariants: (props?: ({
|
|
288
288
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
289
|
-
zStatus?: "default" | "disabled" | "
|
|
289
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
290
290
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
291
291
|
declare const zCalendarDayVariants: (props?: ({
|
|
292
|
-
state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "
|
|
292
|
+
state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
|
|
293
293
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
294
294
|
declare const zCalendarMonthVariants: (props?: ({
|
|
295
|
-
state?: "default" | "
|
|
295
|
+
state?: "default" | "disabled" | "selected" | "current" | null | undefined;
|
|
296
296
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
297
297
|
declare const zCalendarYearVariants: (props?: ({
|
|
298
|
-
state?: "default" | "
|
|
298
|
+
state?: "default" | "disabled" | "selected" | "current" | null | undefined;
|
|
299
299
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
300
300
|
|
|
301
301
|
export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
|
|
@@ -109,7 +109,7 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
|
|
|
109
109
|
|
|
110
110
|
declare const zEditorVariants: (props?: ({
|
|
111
111
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
112
|
-
zStatus?: "default" | "
|
|
112
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
113
113
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
114
114
|
type ZEditorVariants = VariantProps<typeof zEditorVariants>;
|
|
115
115
|
|
|
@@ -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" | "
|
|
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" | "
|
|
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" | "
|
|
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>;
|
|
@@ -77,7 +77,7 @@ declare class ZPopoverDirective implements OnInit, OnDestroy {
|
|
|
77
77
|
readonly zHideDelay: _angular_core.InputSignal<number>;
|
|
78
78
|
readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
79
79
|
readonly zOffset: _angular_core.InputSignal<number>;
|
|
80
|
-
readonly zPopoverWidth: _angular_core.InputSignal<number | "
|
|
80
|
+
readonly zPopoverWidth: _angular_core.InputSignal<number | "auto" | "trigger">;
|
|
81
81
|
readonly zManualClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
82
82
|
readonly zScrollClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
83
83
|
readonly zShowArrow: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
@@ -258,7 +258,7 @@ declare class ZTagClassesPipe implements PipeTransform {
|
|
|
258
258
|
|
|
259
259
|
declare const zSelectVariants: (props?: ({
|
|
260
260
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
261
|
-
zStatus?: "default" | "
|
|
261
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
262
262
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
263
263
|
declare const zSelectTagVariants: (props?: ({
|
|
264
264
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
@@ -281,6 +281,7 @@ interface ZTableVirtualConfig {
|
|
|
281
281
|
rowHeight?: number;
|
|
282
282
|
overscan?: number;
|
|
283
283
|
groupSize?: number;
|
|
284
|
+
unEqualSizeItems?: boolean;
|
|
284
285
|
}
|
|
285
286
|
interface ZTableSearchConfig {
|
|
286
287
|
enabled?: boolean;
|
|
@@ -408,6 +409,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
|
|
|
408
409
|
protected readonly isVirtual: _angular_core.Signal<boolean>;
|
|
409
410
|
private readonly _virtualConfig;
|
|
410
411
|
protected readonly virtualRowHeight: _angular_core.Signal<number>;
|
|
412
|
+
protected readonly unEqualSizeItems: _angular_core.Signal<boolean>;
|
|
411
413
|
protected readonly groupSize: _angular_core.Signal<number>;
|
|
412
414
|
protected readonly groupHeight: _angular_core.Signal<number>;
|
|
413
415
|
private readonly _dynamicGroupsVersion;
|
|
@@ -442,7 +444,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
|
|
|
442
444
|
protected readonly columnSizeVars: _angular_core.Signal<Record<string, number>>;
|
|
443
445
|
protected readonly table: ReturnType<typeof createAngularTable<T>>;
|
|
444
446
|
private readonly _virtualGroupCount;
|
|
445
|
-
protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement,
|
|
447
|
+
protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement, HTMLElement>;
|
|
446
448
|
constructor();
|
|
447
449
|
ngAfterViewInit(): void;
|
|
448
450
|
private _handleRowSelectionWithParents;
|
|
@@ -539,7 +541,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
539
541
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
540
542
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
541
543
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
542
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "
|
|
544
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
|
|
543
545
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
544
546
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
545
547
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|
|
@@ -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" | "
|
|
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" | "
|
|
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?: "
|
|
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
|
|