@shival99/z-ui 1.0.10 → 1.0.12
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-calendar.mjs +19 -2
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +2 -2
- 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 +5 -5
- package/types/shival99-z-ui-components-z-input.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
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",
|
|
@@ -152,7 +152,7 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
152
152
|
protected readonly isMonthMode: _angular_core.Signal<boolean>;
|
|
153
153
|
protected readonly isYearMode: _angular_core.Signal<boolean>;
|
|
154
154
|
protected readonly isQuarterMode: _angular_core.Signal<boolean>;
|
|
155
|
-
protected readonly todayButtonText: _angular_core.Signal<"
|
|
155
|
+
protected readonly todayButtonText: _angular_core.Signal<"Quý này" | "Năm này" | "Tháng này" | "Bây giờ" | "Hôm nay">;
|
|
156
156
|
protected readonly currentMonth: _angular_core.Signal<Date>;
|
|
157
157
|
protected readonly currentYear: _angular_core.Signal<number>;
|
|
158
158
|
protected readonly currentMonthIndex: _angular_core.Signal<number>;
|
|
@@ -284,16 +284,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
284
284
|
|
|
285
285
|
declare const zCalendarVariants: (props?: ({
|
|
286
286
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
287
|
-
zStatus?: "default" | "disabled" | "
|
|
287
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
288
288
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
289
289
|
declare const zCalendarDayVariants: (props?: ({
|
|
290
|
-
state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "
|
|
290
|
+
state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
|
|
291
291
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
292
292
|
declare const zCalendarMonthVariants: (props?: ({
|
|
293
|
-
state?: "default" | "
|
|
293
|
+
state?: "default" | "disabled" | "selected" | "current" | null | undefined;
|
|
294
294
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
295
295
|
declare const zCalendarYearVariants: (props?: ({
|
|
296
|
-
state?: "default" | "
|
|
296
|
+
state?: "default" | "disabled" | "selected" | "current" | null | undefined;
|
|
297
297
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
298
298
|
|
|
299
299
|
export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
|
|
@@ -34,7 +34,7 @@ interface ZAsyncValidator {
|
|
|
34
34
|
message: string;
|
|
35
35
|
validate: (value: string | number | null) => Promise<boolean> | Observable<boolean>;
|
|
36
36
|
}
|
|
37
|
-
type ZInputType = 'text' | 'number' | 'password' | 'email' | 'tel' | 'url' | '
|
|
37
|
+
type ZInputType = 'text' | 'number' | 'password' | 'email' | 'tel' | 'url' | 'color' | 'textarea';
|
|
38
38
|
type ZInputSize = 'sm' | 'default' | 'lg';
|
|
39
39
|
type ZAsyncValidateOn = 'change' | 'blur';
|
|
40
40
|
|
|
@@ -176,11 +176,11 @@ declare class ZInputComponent implements OnInit, ControlValueAccessor {
|
|
|
176
176
|
|
|
177
177
|
declare const zInputVariants: (props?: ({
|
|
178
178
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
179
|
-
zStatus?: "default" | "
|
|
179
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
180
180
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
181
181
|
type ZInputVariants = VariantProps<typeof zInputVariants>;
|
|
182
182
|
declare const zTextareaVariants: (props?: ({
|
|
183
|
-
zStatus?: "default" | "
|
|
183
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
184
184
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
185
185
|
type ZTextareaVariants = VariantProps<typeof zTextareaVariants>;
|
|
186
186
|
|