iryx-ui 0.6.0 → 0.8.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/README.md +201 -2
- package/dist/component-names.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts +52 -0
- package/dist/components/DateRangePicker.vue.d.ts +60 -0
- package/dist/components/FileUpload.vue.d.ts +64 -0
- package/dist/components/Input.vue.d.ts +39 -1
- package/dist/components/Pagination.vue.d.ts +1 -1
- package/dist/components/PasswordInput.vue.d.ts +54 -0
- package/dist/components/Textarea.vue.d.ts +16 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/composables/date.d.ts +21 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +53 -44
- package/dist/node_modules/.pnpm/@hugeicons_core-free-icons@4.2.3/node_modules/@hugeicons/core-free-icons/dist/esm/index.js +170 -8
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/CalendarDate.js +122 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/DateFormatter.js +84 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +91 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/conversion.js +107 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/manipulation.js +159 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/queries.js +29 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/string.js +37 -0
- package/dist/node_modules/.pnpm/@internationalized_date@3.12.3/node_modules/@internationalized/date/dist/private/utils.js +6 -0
- package/dist/packages/iryx-ui/src/component-names.js +1 -1
- package/dist/packages/iryx-ui/src/components/DatePicker.js +5 -0
- package/dist/packages/iryx-ui/src/components/DatePicker.vue_vue_type_script_setup_true_lang.js +186 -0
- package/dist/packages/iryx-ui/src/components/DateRangePicker.js +5 -0
- package/dist/packages/iryx-ui/src/components/DateRangePicker.vue_vue_type_script_setup_true_lang.js +210 -0
- package/dist/packages/iryx-ui/src/components/FileUpload.js +5 -0
- package/dist/packages/iryx-ui/src/components/FileUpload.vue_vue_type_script_setup_true_lang.js +209 -0
- package/dist/packages/iryx-ui/src/components/Input.vue_vue_type_script_setup_true_lang.js +94 -25
- package/dist/packages/iryx-ui/src/components/PasswordInput.js +5 -0
- package/dist/packages/iryx-ui/src/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +113 -0
- package/dist/packages/iryx-ui/src/components/Textarea.vue_vue_type_script_setup_true_lang.js +47 -21
- package/dist/packages/iryx-ui/src/components/index.js +52 -44
- package/dist/packages/iryx-ui/src/composables/date.js +25 -0
- package/dist/packages/iryx-ui/src/theme/date-picker.js +45 -0
- package/dist/packages/iryx-ui/src/theme/file-upload.js +29 -0
- package/dist/packages/iryx-ui/src/theme/input.js +22 -6
- package/dist/packages/iryx-ui/src/theme/password-input.js +23 -0
- package/dist/theme/date-picker.d.ts +254 -0
- package/dist/theme/file-upload.d.ts +143 -0
- package/dist/theme/form.d.ts +3 -3
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/input.d.ts +94 -15
- package/dist/theme/password-input.d.ts +97 -0
- package/package.json +2 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export declare const fileUploadTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
/** Held during a drag, so the target is unmistakable while dragging. */
|
|
3
|
+
dragging: {
|
|
4
|
+
true: {
|
|
5
|
+
dropzone: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
invalid: {
|
|
9
|
+
true: {
|
|
10
|
+
dropzone: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
disabled: {
|
|
14
|
+
true: {
|
|
15
|
+
dropzone: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
root: string;
|
|
20
|
+
/**
|
|
21
|
+
* A label, so a click anywhere on the zone opens the picker without any
|
|
22
|
+
* script — the `<input type="file">` inside stays the real control and
|
|
23
|
+
* keeps its native keyboard and screen-reader behaviour.
|
|
24
|
+
*/
|
|
25
|
+
dropzone: string;
|
|
26
|
+
/** Visually hidden rather than `display:none`, which drops it from the tab order. */
|
|
27
|
+
input: string;
|
|
28
|
+
/**
|
|
29
|
+
* A filled disc behind the glyph. A bare icon floating in the middle of a
|
|
30
|
+
* large dashed box reads as an artefact; the disc gives it enough weight
|
|
31
|
+
* to be the thing the zone is built around.
|
|
32
|
+
*/
|
|
33
|
+
icon: string;
|
|
34
|
+
label: string;
|
|
35
|
+
/** Spacing only — the look comes from Button, so it tracks the theme. */
|
|
36
|
+
browse: string;
|
|
37
|
+
hint: string;
|
|
38
|
+
list: string;
|
|
39
|
+
item: string;
|
|
40
|
+
thumbnail: string;
|
|
41
|
+
/** Stand-in for anything without a preview, so rows stay the same height. */
|
|
42
|
+
placeholder: string;
|
|
43
|
+
details: string;
|
|
44
|
+
name: string;
|
|
45
|
+
meta: string;
|
|
46
|
+
remove: string;
|
|
47
|
+
error: string;
|
|
48
|
+
}, undefined, {
|
|
49
|
+
/** Held during a drag, so the target is unmistakable while dragging. */
|
|
50
|
+
dragging: {
|
|
51
|
+
true: {
|
|
52
|
+
dropzone: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
invalid: {
|
|
56
|
+
true: {
|
|
57
|
+
dropzone: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
true: {
|
|
62
|
+
dropzone: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
root: string;
|
|
67
|
+
/**
|
|
68
|
+
* A label, so a click anywhere on the zone opens the picker without any
|
|
69
|
+
* script — the `<input type="file">` inside stays the real control and
|
|
70
|
+
* keeps its native keyboard and screen-reader behaviour.
|
|
71
|
+
*/
|
|
72
|
+
dropzone: string;
|
|
73
|
+
/** Visually hidden rather than `display:none`, which drops it from the tab order. */
|
|
74
|
+
input: string;
|
|
75
|
+
/**
|
|
76
|
+
* A filled disc behind the glyph. A bare icon floating in the middle of a
|
|
77
|
+
* large dashed box reads as an artefact; the disc gives it enough weight
|
|
78
|
+
* to be the thing the zone is built around.
|
|
79
|
+
*/
|
|
80
|
+
icon: string;
|
|
81
|
+
label: string;
|
|
82
|
+
/** Spacing only — the look comes from Button, so it tracks the theme. */
|
|
83
|
+
browse: string;
|
|
84
|
+
hint: string;
|
|
85
|
+
list: string;
|
|
86
|
+
item: string;
|
|
87
|
+
thumbnail: string;
|
|
88
|
+
/** Stand-in for anything without a preview, so rows stay the same height. */
|
|
89
|
+
placeholder: string;
|
|
90
|
+
details: string;
|
|
91
|
+
name: string;
|
|
92
|
+
meta: string;
|
|
93
|
+
remove: string;
|
|
94
|
+
error: string;
|
|
95
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
96
|
+
/** Held during a drag, so the target is unmistakable while dragging. */
|
|
97
|
+
dragging: {
|
|
98
|
+
true: {
|
|
99
|
+
dropzone: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
invalid: {
|
|
103
|
+
true: {
|
|
104
|
+
dropzone: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
true: {
|
|
109
|
+
dropzone: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
root: string;
|
|
114
|
+
/**
|
|
115
|
+
* A label, so a click anywhere on the zone opens the picker without any
|
|
116
|
+
* script — the `<input type="file">` inside stays the real control and
|
|
117
|
+
* keeps its native keyboard and screen-reader behaviour.
|
|
118
|
+
*/
|
|
119
|
+
dropzone: string;
|
|
120
|
+
/** Visually hidden rather than `display:none`, which drops it from the tab order. */
|
|
121
|
+
input: string;
|
|
122
|
+
/**
|
|
123
|
+
* A filled disc behind the glyph. A bare icon floating in the middle of a
|
|
124
|
+
* large dashed box reads as an artefact; the disc gives it enough weight
|
|
125
|
+
* to be the thing the zone is built around.
|
|
126
|
+
*/
|
|
127
|
+
icon: string;
|
|
128
|
+
label: string;
|
|
129
|
+
/** Spacing only — the look comes from Button, so it tracks the theme. */
|
|
130
|
+
browse: string;
|
|
131
|
+
hint: string;
|
|
132
|
+
list: string;
|
|
133
|
+
item: string;
|
|
134
|
+
thumbnail: string;
|
|
135
|
+
/** Stand-in for anything without a preview, so rows stay the same height. */
|
|
136
|
+
placeholder: string;
|
|
137
|
+
details: string;
|
|
138
|
+
name: string;
|
|
139
|
+
meta: string;
|
|
140
|
+
remove: string;
|
|
141
|
+
error: string;
|
|
142
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
143
|
+
export type FileUploadSlots = keyof ReturnType<typeof fileUploadTheme>;
|
package/dist/theme/form.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
description?: import("tailwind-variants").ClassValue;
|
|
6
6
|
label?: import("tailwind-variants").ClassValue;
|
|
7
7
|
header?: import("tailwind-variants").ClassValue;
|
|
8
|
-
error?: import("tailwind-variants").ClassValue;
|
|
9
8
|
hint?: import("tailwind-variants").ClassValue;
|
|
9
|
+
error?: import("tailwind-variants").ClassValue;
|
|
10
10
|
control?: import("tailwind-variants").ClassValue;
|
|
11
11
|
help?: import("tailwind-variants").ClassValue;
|
|
12
12
|
};
|
|
@@ -18,8 +18,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
18
18
|
description?: import("tailwind-variants").ClassValue;
|
|
19
19
|
label?: import("tailwind-variants").ClassValue;
|
|
20
20
|
header?: import("tailwind-variants").ClassValue;
|
|
21
|
-
error?: import("tailwind-variants").ClassValue;
|
|
22
21
|
hint?: import("tailwind-variants").ClassValue;
|
|
22
|
+
error?: import("tailwind-variants").ClassValue;
|
|
23
23
|
control?: import("tailwind-variants").ClassValue;
|
|
24
24
|
help?: import("tailwind-variants").ClassValue;
|
|
25
25
|
};
|
|
@@ -40,8 +40,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
description?: import("tailwind-variants").ClassValue;
|
|
41
41
|
label?: import("tailwind-variants").ClassValue;
|
|
42
42
|
header?: import("tailwind-variants").ClassValue;
|
|
43
|
-
error?: import("tailwind-variants").ClassValue;
|
|
44
43
|
hint?: import("tailwind-variants").ClassValue;
|
|
44
|
+
error?: import("tailwind-variants").ClassValue;
|
|
45
45
|
control?: import("tailwind-variants").ClassValue;
|
|
46
46
|
help?: import("tailwind-variants").ClassValue;
|
|
47
47
|
};
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -7,13 +7,16 @@ export * from './button-group';
|
|
|
7
7
|
export * from './card';
|
|
8
8
|
export * from './checkbox';
|
|
9
9
|
export * from './combobox';
|
|
10
|
+
export * from './date-picker';
|
|
10
11
|
export * from './dialog';
|
|
11
12
|
export * from './dropdown-menu';
|
|
12
13
|
export * from './empty-state';
|
|
14
|
+
export * from './file-upload';
|
|
13
15
|
export * from './input';
|
|
14
16
|
export * from './label';
|
|
15
17
|
export * from './number-input';
|
|
16
18
|
export * from './pagination';
|
|
19
|
+
export * from './password-input';
|
|
17
20
|
export * from './presets';
|
|
18
21
|
export * from './progress';
|
|
19
22
|
export * from './radio-group';
|
package/dist/theme/input.d.ts
CHANGED
|
@@ -1,33 +1,90 @@
|
|
|
1
1
|
/** Shared field chrome for Input, Textarea and the Select trigger. */
|
|
2
2
|
export declare const fieldBase = "w-full rounded-xl border border-border bg-input text-foreground transition-colors outline-none placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50";
|
|
3
|
+
/**
|
|
4
|
+
* The chrome lives on `root`, not on the `<input>`, so leading and trailing
|
|
5
|
+
* content can take real space in a flex row. Reserving room with padding
|
|
6
|
+
* instead would mean guessing the width of arbitrary slot content, and long
|
|
7
|
+
* values would slide underneath it.
|
|
8
|
+
*/
|
|
3
9
|
export declare const inputTheme: import("tailwind-variants").TVReturnType<{
|
|
4
10
|
size: {
|
|
5
|
-
sm:
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
sm: {
|
|
12
|
+
root: string;
|
|
13
|
+
input: string;
|
|
14
|
+
};
|
|
15
|
+
md: {
|
|
16
|
+
root: string;
|
|
17
|
+
input: string;
|
|
18
|
+
};
|
|
19
|
+
lg: {
|
|
20
|
+
root: string;
|
|
21
|
+
input: string;
|
|
22
|
+
};
|
|
8
23
|
};
|
|
9
24
|
invalid: {
|
|
10
|
-
true:
|
|
25
|
+
true: {
|
|
26
|
+
root: string;
|
|
27
|
+
};
|
|
11
28
|
};
|
|
12
|
-
},
|
|
29
|
+
}, {
|
|
30
|
+
root: string;
|
|
31
|
+
input: string;
|
|
32
|
+
leading: string;
|
|
33
|
+
trailing: string;
|
|
34
|
+
clear: string;
|
|
35
|
+
}, undefined, {
|
|
13
36
|
size: {
|
|
14
|
-
sm:
|
|
15
|
-
|
|
16
|
-
|
|
37
|
+
sm: {
|
|
38
|
+
root: string;
|
|
39
|
+
input: string;
|
|
40
|
+
};
|
|
41
|
+
md: {
|
|
42
|
+
root: string;
|
|
43
|
+
input: string;
|
|
44
|
+
};
|
|
45
|
+
lg: {
|
|
46
|
+
root: string;
|
|
47
|
+
input: string;
|
|
48
|
+
};
|
|
17
49
|
};
|
|
18
50
|
invalid: {
|
|
19
|
-
true:
|
|
51
|
+
true: {
|
|
52
|
+
root: string;
|
|
53
|
+
};
|
|
20
54
|
};
|
|
21
|
-
},
|
|
55
|
+
}, {
|
|
56
|
+
root: string;
|
|
57
|
+
input: string;
|
|
58
|
+
leading: string;
|
|
59
|
+
trailing: string;
|
|
60
|
+
clear: string;
|
|
61
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
22
62
|
size: {
|
|
23
|
-
sm:
|
|
24
|
-
|
|
25
|
-
|
|
63
|
+
sm: {
|
|
64
|
+
root: string;
|
|
65
|
+
input: string;
|
|
66
|
+
};
|
|
67
|
+
md: {
|
|
68
|
+
root: string;
|
|
69
|
+
input: string;
|
|
70
|
+
};
|
|
71
|
+
lg: {
|
|
72
|
+
root: string;
|
|
73
|
+
input: string;
|
|
74
|
+
};
|
|
26
75
|
};
|
|
27
76
|
invalid: {
|
|
28
|
-
true:
|
|
77
|
+
true: {
|
|
78
|
+
root: string;
|
|
79
|
+
};
|
|
29
80
|
};
|
|
30
|
-
},
|
|
81
|
+
}, {
|
|
82
|
+
root: string;
|
|
83
|
+
input: string;
|
|
84
|
+
leading: string;
|
|
85
|
+
trailing: string;
|
|
86
|
+
clear: string;
|
|
87
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
31
88
|
export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
32
89
|
size: {
|
|
33
90
|
sm: string;
|
|
@@ -37,6 +94,13 @@ export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
|
37
94
|
invalid: {
|
|
38
95
|
true: string;
|
|
39
96
|
};
|
|
97
|
+
/**
|
|
98
|
+
* The measured height is the whole point, so drop the size variant's
|
|
99
|
+
* `min-h` floor and the drag handle that would fight it.
|
|
100
|
+
*/
|
|
101
|
+
autosize: {
|
|
102
|
+
true: string;
|
|
103
|
+
};
|
|
40
104
|
}, undefined, "block resize-y w-full rounded-xl border border-border bg-input text-foreground transition-colors outline-none placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50", {
|
|
41
105
|
size: {
|
|
42
106
|
sm: string;
|
|
@@ -46,6 +110,13 @@ export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
|
46
110
|
invalid: {
|
|
47
111
|
true: string;
|
|
48
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* The measured height is the whole point, so drop the size variant's
|
|
115
|
+
* `min-h` floor and the drag handle that would fight it.
|
|
116
|
+
*/
|
|
117
|
+
autosize: {
|
|
118
|
+
true: string;
|
|
119
|
+
};
|
|
49
120
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
50
121
|
size: {
|
|
51
122
|
sm: string;
|
|
@@ -55,6 +126,14 @@ export declare const textareaTheme: import("tailwind-variants").TVReturnType<{
|
|
|
55
126
|
invalid: {
|
|
56
127
|
true: string;
|
|
57
128
|
};
|
|
129
|
+
/**
|
|
130
|
+
* The measured height is the whole point, so drop the size variant's
|
|
131
|
+
* `min-h` floor and the drag handle that would fight it.
|
|
132
|
+
*/
|
|
133
|
+
autosize: {
|
|
134
|
+
true: string;
|
|
135
|
+
};
|
|
58
136
|
}, undefined, "block resize-y w-full rounded-xl border border-border bg-input text-foreground transition-colors outline-none placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50", unknown, unknown, undefined>>;
|
|
59
137
|
export type InputVariants = Parameters<typeof inputTheme>[0];
|
|
138
|
+
export type InputSlots = keyof ReturnType<typeof inputTheme>;
|
|
60
139
|
export type TextareaVariants = Parameters<typeof textareaTheme>[0];
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The meter's colour is the same deliberate exception `IProgress` makes: the
|
|
3
|
+
* coloured bar *is* the reading, not decoration on a surface. Everywhere else
|
|
4
|
+
* status colour belongs in the mark, not the chrome.
|
|
5
|
+
*/
|
|
6
|
+
export declare const passwordInputTheme: import("tailwind-variants").TVReturnType<{
|
|
7
|
+
score: {
|
|
8
|
+
0: {};
|
|
9
|
+
1: {
|
|
10
|
+
segment: string;
|
|
11
|
+
};
|
|
12
|
+
2: {
|
|
13
|
+
segment: string;
|
|
14
|
+
};
|
|
15
|
+
3: {
|
|
16
|
+
segment: string;
|
|
17
|
+
};
|
|
18
|
+
4: {
|
|
19
|
+
segment: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
root: string;
|
|
24
|
+
/**
|
|
25
|
+
* Edge draws its own reveal eye on `input[type=password]`, and its own
|
|
26
|
+
* clear cross once the field is revealed to `type=text`. Both would sit
|
|
27
|
+
* beside ours, so the field shows two of each in that browser only.
|
|
28
|
+
*/
|
|
29
|
+
input: string;
|
|
30
|
+
toggle: string;
|
|
31
|
+
meter: string;
|
|
32
|
+
track: string;
|
|
33
|
+
/** Unfilled by default; the `score` variant paints the ones below it. */
|
|
34
|
+
segment: string;
|
|
35
|
+
label: string;
|
|
36
|
+
}, undefined, {
|
|
37
|
+
score: {
|
|
38
|
+
0: {};
|
|
39
|
+
1: {
|
|
40
|
+
segment: string;
|
|
41
|
+
};
|
|
42
|
+
2: {
|
|
43
|
+
segment: string;
|
|
44
|
+
};
|
|
45
|
+
3: {
|
|
46
|
+
segment: string;
|
|
47
|
+
};
|
|
48
|
+
4: {
|
|
49
|
+
segment: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
root: string;
|
|
54
|
+
/**
|
|
55
|
+
* Edge draws its own reveal eye on `input[type=password]`, and its own
|
|
56
|
+
* clear cross once the field is revealed to `type=text`. Both would sit
|
|
57
|
+
* beside ours, so the field shows two of each in that browser only.
|
|
58
|
+
*/
|
|
59
|
+
input: string;
|
|
60
|
+
toggle: string;
|
|
61
|
+
meter: string;
|
|
62
|
+
track: string;
|
|
63
|
+
/** Unfilled by default; the `score` variant paints the ones below it. */
|
|
64
|
+
segment: string;
|
|
65
|
+
label: string;
|
|
66
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
67
|
+
score: {
|
|
68
|
+
0: {};
|
|
69
|
+
1: {
|
|
70
|
+
segment: string;
|
|
71
|
+
};
|
|
72
|
+
2: {
|
|
73
|
+
segment: string;
|
|
74
|
+
};
|
|
75
|
+
3: {
|
|
76
|
+
segment: string;
|
|
77
|
+
};
|
|
78
|
+
4: {
|
|
79
|
+
segment: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}, {
|
|
83
|
+
root: string;
|
|
84
|
+
/**
|
|
85
|
+
* Edge draws its own reveal eye on `input[type=password]`, and its own
|
|
86
|
+
* clear cross once the field is revealed to `type=text`. Both would sit
|
|
87
|
+
* beside ours, so the field shows two of each in that browser only.
|
|
88
|
+
*/
|
|
89
|
+
input: string;
|
|
90
|
+
toggle: string;
|
|
91
|
+
meter: string;
|
|
92
|
+
track: string;
|
|
93
|
+
/** Unfilled by default; the `score` variant paints the ones below it. */
|
|
94
|
+
segment: string;
|
|
95
|
+
label: string;
|
|
96
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
97
|
+
export type PasswordInputSlots = keyof ReturnType<typeof passwordInputTheme>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iryx-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
|
|
6
6
|
"author": "therok1",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@hugeicons/core-free-icons": "^4.2.3",
|
|
49
49
|
"@hugeicons/vue": "^1.0.7",
|
|
50
|
+
"@internationalized/date": "^3.12.3",
|
|
50
51
|
"@nuxt/kit": "^4.4.8",
|
|
51
52
|
"reka-ui": "^2.9.10",
|
|
52
53
|
"tailwind-merge": "^3.6.0",
|