@kuina-ui/vue 0.3.0 → 0.4.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.
Files changed (33) hide show
  1. package/dist/components/date-picker/DateCalendar.vue.d.ts +2 -3
  2. package/dist/components/date-picker/DateCalendarPopover.vue.d.ts +61 -0
  3. package/dist/components/date-picker/DatePicker.vue.d.ts +3 -9
  4. package/dist/components/date-picker/DatePickerField.vue.d.ts +38 -0
  5. package/dist/components/date-picker/DateRangePicker.vue.d.ts +4 -18
  6. package/dist/components/date-picker/DateRangePickerField.vue.d.ts +40 -0
  7. package/dist/components/date-picker/datePickerProps.d.ts +42 -6
  8. package/dist/components/date-picker/index.d.ts +8 -2
  9. package/dist/components/date-picker/useDatePickerControl.d.ts +63 -0
  10. package/dist/components/date-picker/useDatePickerPopover.d.ts +2 -2
  11. package/dist/components/date-picker/useDateRangeSelection.d.ts +30 -0
  12. package/dist/components/date-picker/useDateRangeTyping.d.ts +45 -0
  13. package/dist/components/date-picker/useDateTypingFocus.d.ts +28 -0
  14. package/dist/components/date-picker/useSingleDateSelection.d.ts +15 -0
  15. package/dist/components/date-picker/useSingleDateTyping.d.ts +43 -0
  16. package/dist/components/date-picker/useTypedDateInput.d.ts +32 -0
  17. package/dist/components/select/SelectField.vue.d.ts +5 -5
  18. package/dist/components/text-field/TextField.vue.d.ts +7 -1
  19. package/dist/elements/select-field-control/SelectFieldControl.vue.d.ts +61 -0
  20. package/dist/elements/select-field-control/index.d.ts +3 -0
  21. package/dist/elements/select-field-control/select-field-control.theme.d.ts +101 -0
  22. package/dist/elements/text-link/TextLink.vue.d.ts +1 -1
  23. package/dist/index.d.ts +5 -2
  24. package/dist/index.js +1 -1
  25. package/dist/nuxt.js +1 -1
  26. package/dist/shared/composables/useMask.d.ts +10 -0
  27. package/dist/shared/types/mask.d.ts +17 -0
  28. package/dist/shared/utils/createDateInputMask.d.ts +19 -0
  29. package/dist/shared/utils/createMask.d.ts +10 -0
  30. package/dist/shared/utils/isoDate.d.ts +8 -0
  31. package/dist/{src-Cl5gtlze.js → src-ChY11Hfy.js} +3482 -2351
  32. package/package.json +1 -1
  33. package/dist/components/select/select-field.theme.d.ts +0 -250
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuina-ui/vue",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Free, open-source Vue component library built with Tailwind CSS v4, in light and dark themes",
5
5
  "keywords": [
6
6
  "kuina-ui",
@@ -1,250 +0,0 @@
1
- import { type VariantProps } from '../../shared/utils/tv';
2
- declare const selectFieldSizeScales: {
3
- md: {
4
- height: string;
5
- fontSize: string;
6
- leadingIconSize: string;
7
- leadingAvatarSize: "3xs";
8
- trailingIconSize: string;
9
- loadingIndicatorSize: string;
10
- clearButtonSize: string;
11
- clearIconSize: string;
12
- floatingLabelFontSize: string;
13
- restingLabelFontSize: string;
14
- pillShape: {
15
- corners: string;
16
- gutter: string;
17
- labelOffset: string;
18
- restingLabelOffsetWithLeadingIcon: string;
19
- };
20
- roundedShape: {
21
- corners: string;
22
- gutter: string;
23
- labelOffset: string;
24
- restingLabelOffsetWithLeadingIcon: string;
25
- };
26
- };
27
- lg: {
28
- height: string;
29
- fontSize: string;
30
- leadingIconSize: string;
31
- leadingAvatarSize: "3xs";
32
- trailingIconSize: string;
33
- loadingIndicatorSize: string;
34
- clearButtonSize: string;
35
- clearIconSize: string;
36
- floatingLabelFontSize: string;
37
- restingLabelFontSize: string;
38
- pillShape: {
39
- corners: string;
40
- gutter: string;
41
- labelOffset: string;
42
- restingLabelOffsetWithLeadingIcon: string;
43
- };
44
- roundedShape: {
45
- corners: string;
46
- gutter: string;
47
- labelOffset: string;
48
- restingLabelOffsetWithLeadingIcon: string;
49
- };
50
- };
51
- xl: {
52
- height: string;
53
- fontSize: string;
54
- leadingIconSize: string;
55
- leadingAvatarSize: "2xs";
56
- trailingIconSize: string;
57
- loadingIndicatorSize: string;
58
- clearButtonSize: string;
59
- clearIconSize: string;
60
- floatingLabelFontSize: string;
61
- restingLabelFontSize: string;
62
- pillShape: {
63
- corners: string;
64
- gutter: string;
65
- labelOffset: string;
66
- restingLabelOffsetWithLeadingIcon: string;
67
- };
68
- roundedShape: {
69
- corners: string;
70
- gutter: string;
71
- labelOffset: string;
72
- restingLabelOffsetWithLeadingIcon: string;
73
- };
74
- };
75
- '2xl': {
76
- height: string;
77
- fontSize: string;
78
- leadingIconSize: string;
79
- leadingAvatarSize: "xs";
80
- trailingIconSize: string;
81
- loadingIndicatorSize: string;
82
- clearButtonSize: string;
83
- clearIconSize: string;
84
- floatingLabelFontSize: string;
85
- restingLabelFontSize: string;
86
- pillShape: {
87
- corners: string;
88
- gutter: string;
89
- labelOffset: string;
90
- restingLabelOffsetWithLeadingIcon: string;
91
- };
92
- roundedShape: {
93
- corners: string;
94
- gutter: string;
95
- labelOffset: string;
96
- restingLabelOffsetWithLeadingIcon: string;
97
- };
98
- };
99
- '3xl': {
100
- height: string;
101
- fontSize: string;
102
- leadingIconSize: string;
103
- leadingAvatarSize: "sm";
104
- trailingIconSize: string;
105
- loadingIndicatorSize: string;
106
- clearButtonSize: string;
107
- clearIconSize: string;
108
- floatingLabelFontSize: string;
109
- restingLabelFontSize: string;
110
- pillShape: {
111
- corners: string;
112
- gutter: string;
113
- labelOffset: string;
114
- restingLabelOffsetWithLeadingIcon: string;
115
- };
116
- roundedShape: {
117
- corners: string;
118
- gutter: string;
119
- labelOffset: string;
120
- restingLabelOffsetWithLeadingIcon: string;
121
- };
122
- };
123
- '4xl': {
124
- height: string;
125
- fontSize: string;
126
- leadingIconSize: string;
127
- leadingAvatarSize: "md";
128
- trailingIconSize: string;
129
- loadingIndicatorSize: string;
130
- clearButtonSize: string;
131
- clearIconSize: string;
132
- floatingLabelFontSize: string;
133
- restingLabelFontSize: string;
134
- pillShape: {
135
- corners: string;
136
- gutter: string;
137
- labelOffset: string;
138
- restingLabelOffsetWithLeadingIcon: string;
139
- };
140
- roundedShape: {
141
- corners: string;
142
- gutter: string;
143
- labelOffset: string;
144
- restingLabelOffsetWithLeadingIcon: string;
145
- };
146
- };
147
- };
148
- type SelectFieldSizeName = keyof typeof selectFieldSizeScales;
149
- export declare function findSelectFieldAvatarSize(selectFieldSize: SelectFieldSizeName): "3xs" | "2xs" | "xs" | "sm" | "md";
150
- export declare const selectFieldTheme: import("tailwind-variants").TVReturnType<{
151
- size: Record<"md" | "lg" | "xl" | "2xl" | "3xl" | "4xl", {
152
- base: string[];
153
- leadingIcon: string;
154
- trailingIcon: string;
155
- loadingIndicator: string;
156
- clearButton: string;
157
- clearIcon: string;
158
- }>;
159
- variant: {
160
- outline: string;
161
- soft: string;
162
- };
163
- pill: {
164
- true: string;
165
- false: string;
166
- };
167
- fieldState: {
168
- invalid: {
169
- base: string;
170
- label: string;
171
- };
172
- disabled: {
173
- label: string;
174
- };
175
- open: {
176
- base: string;
177
- label: string;
178
- };
179
- idle: {
180
- label: string;
181
- };
182
- };
183
- floatLabel: {
184
- auto: string;
185
- always: {
186
- placeholder: string;
187
- input: string;
188
- };
189
- };
190
- labelFloating: {
191
- true: {
192
- label: string;
193
- };
194
- false: {
195
- label: string;
196
- };
197
- };
198
- hasLeadingIcon: {
199
- true: string;
200
- false: string;
201
- };
202
- disabled: {
203
- true: {
204
- container: string;
205
- base: string;
206
- };
207
- false: {
208
- base: string;
209
- };
210
- };
211
- open: {
212
- true: {
213
- trailingIcon: string;
214
- placeholder: string;
215
- };
216
- false: {
217
- trailingIcon: string;
218
- };
219
- };
220
- hasTrailingIcon: {
221
- true: {
222
- clearButton: string;
223
- };
224
- false: {
225
- clearButton: string;
226
- };
227
- };
228
- }, {
229
- root: string;
230
- container: string;
231
- base: string;
232
- leadingIcon: string;
233
- leadingAvatar: string;
234
- value: string;
235
- input: string;
236
- placeholder: string;
237
- selectionForScreenReaders: string;
238
- trailing: string;
239
- clearButton: string;
240
- clearIcon: string;
241
- loadingIndicator: string;
242
- trailingIcon: string;
243
- label: string;
244
- hint: string;
245
- errorMessage: string;
246
- errorIcon: string;
247
- }, undefined, undefined, undefined, undefined>;
248
- export type SelectFieldThemeVariants = VariantProps<typeof selectFieldTheme>;
249
- export type SelectFieldSlotName = keyof ReturnType<typeof selectFieldTheme>;
250
- export {};