@shival99/z-ui 2.5.11 → 2.6.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/.npmignore +58 -0
- package/README.md +0 -0
- package/assets/css/animations.css +0 -0
- package/assets/css/base.css +0 -0
- package/assets/css/features/media.css +0 -0
- package/assets/css/features/office.css +0 -0
- package/assets/css/global.css +0 -0
- package/assets/css/overlay.css +0 -0
- package/assets/css/tailwind.css +1 -1
- package/assets/css/themes/gray.css +0 -0
- package/assets/css/themes/green.css +0 -0
- package/assets/css/themes/hospital.css +0 -0
- package/assets/css/themes/neutral.css +0 -0
- package/assets/css/themes/orange.css +0 -0
- package/assets/css/themes/slate.css +0 -0
- package/assets/css/themes/stone.css +0 -0
- package/assets/css/themes/violet.css +0 -0
- package/assets/css/themes/zinc.css +0 -0
- package/assets/css/themes.css +0 -0
- package/assets/images/avatar.svg +0 -0
- package/assets/images/logo.svg +0 -0
- package/components/z-loading/THIRD_PARTY_NOTICES.md +0 -0
- package/fesm2022/shival99-z-ui-components-z-filter.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-filter.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-switch.mjs +29 -7
- package/fesm2022/shival99-z-ui-components-z-switch.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-switch.d.ts +5 -1
- package/types/shival99-z-ui-components-z-table.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
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",
|
|
@@ -26,6 +26,7 @@ declare const zSwitchInnerRightVariants: (props?: ({
|
|
|
26
26
|
|
|
27
27
|
type ZSwitchSize = 'sm' | 'default' | 'lg';
|
|
28
28
|
type ZSwitchMode = 'default' | 'inner';
|
|
29
|
+
type ZSwitchVariant = 'default' | 'dot';
|
|
29
30
|
type ZSwitchVariants = VariantProps<typeof zSwitchVariants>;
|
|
30
31
|
|
|
31
32
|
declare class ZSwitchComponent implements ControlValueAccessor {
|
|
@@ -38,6 +39,7 @@ declare class ZSwitchComponent implements ControlValueAccessor {
|
|
|
38
39
|
readonly zThumbClass: _angular_core.InputSignal<ClassValue>;
|
|
39
40
|
readonly zSize: _angular_core.InputSignal<ZSwitchSize>;
|
|
40
41
|
readonly zMode: _angular_core.InputSignal<ZSwitchMode>;
|
|
42
|
+
readonly zVariant: _angular_core.InputSignal<ZSwitchVariant>;
|
|
41
43
|
readonly zLabel: _angular_core.InputSignal<string>;
|
|
42
44
|
readonly zText: _angular_core.InputSignal<string>;
|
|
43
45
|
readonly zCheckedText: _angular_core.InputSignal<string>;
|
|
@@ -50,11 +52,13 @@ declare class ZSwitchComponent implements ControlValueAccessor {
|
|
|
50
52
|
readonly zWave: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
51
53
|
readonly zChecked: _angular_core.ModelSignal<boolean>;
|
|
52
54
|
protected readonly isInnerMode: _angular_core.Signal<boolean>;
|
|
55
|
+
protected readonly isDotVariant: _angular_core.Signal<boolean>;
|
|
53
56
|
private readonly _disabled;
|
|
54
57
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
55
58
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
56
59
|
protected readonly switchClasses: _angular_core.Signal<string>;
|
|
57
60
|
protected readonly thumbClasses: _angular_core.Signal<string>;
|
|
61
|
+
protected readonly dotClasses: _angular_core.Signal<string>;
|
|
58
62
|
protected readonly labelClasses: _angular_core.Signal<string>;
|
|
59
63
|
protected readonly switchState: _angular_core.Signal<"checked" | "unchecked">;
|
|
60
64
|
protected readonly innerLeftClasses: _angular_core.Signal<string>;
|
|
@@ -74,7 +78,7 @@ declare class ZSwitchComponent implements ControlValueAccessor {
|
|
|
74
78
|
protected onSwitchClick(event: MouseEvent): void;
|
|
75
79
|
private _triggerWaveEffect;
|
|
76
80
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZSwitchComponent, never>;
|
|
77
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZSwitchComponent, "z-switch", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zSwitchClass": { "alias": "zSwitchClass"; "required": false; "isSignal": true; }; "zThumbClass": { "alias": "zThumbClass"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zMode": { "alias": "zMode"; "required": false; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zText": { "alias": "zText"; "required": false; "isSignal": true; }; "zCheckedText": { "alias": "zCheckedText"; "required": false; "isSignal": true; }; "zUncheckedText": { "alias": "zUncheckedText"; "required": false; "isSignal": true; }; "zCheckedIcon": { "alias": "zCheckedIcon"; "required": false; "isSignal": true; }; "zUncheckedIcon": { "alias": "zUncheckedIcon"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zTextPosition": { "alias": "zTextPosition"; "required": false; "isSignal": true; }; "zWave": { "alias": "zWave"; "required": false; "isSignal": true; }; "zChecked": { "alias": "zChecked"; "required": false; "isSignal": true; }; }, { "zChange": "zChange"; "zOnBlur": "zOnBlur"; "zOnFocus": "zOnFocus"; "zEvent": "zEvent"; "zChecked": "zCheckedChange"; }, never, never, true, never>;
|
|
81
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZSwitchComponent, "z-switch", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zSwitchClass": { "alias": "zSwitchClass"; "required": false; "isSignal": true; }; "zThumbClass": { "alias": "zThumbClass"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zMode": { "alias": "zMode"; "required": false; "isSignal": true; }; "zVariant": { "alias": "zVariant"; "required": false; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zText": { "alias": "zText"; "required": false; "isSignal": true; }; "zCheckedText": { "alias": "zCheckedText"; "required": false; "isSignal": true; }; "zUncheckedText": { "alias": "zUncheckedText"; "required": false; "isSignal": true; }; "zCheckedIcon": { "alias": "zCheckedIcon"; "required": false; "isSignal": true; }; "zUncheckedIcon": { "alias": "zUncheckedIcon"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zTextPosition": { "alias": "zTextPosition"; "required": false; "isSignal": true; }; "zWave": { "alias": "zWave"; "required": false; "isSignal": true; }; "zChecked": { "alias": "zChecked"; "required": false; "isSignal": true; }; }, { "zChange": "zChange"; "zOnBlur": "zOnBlur"; "zOnFocus": "zOnFocus"; "zEvent": "zEvent"; "zChecked": "zCheckedChange"; }, never, never, true, never>;
|
|
78
82
|
}
|
|
79
83
|
|
|
80
84
|
/** Maximum character length for inner text */
|
|
@@ -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>;
|