sprintify-ui 0.6.31 → 0.6.33

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 (83) hide show
  1. package/dist/sprintify-ui.es.js +11823 -11591
  2. package/dist/style.css +1 -1
  3. package/dist/tailwindcss/button.js +260 -0
  4. package/dist/tailwindcss/index.js +16 -301
  5. package/dist/tailwindcss/input.js +24 -0
  6. package/dist/tailwindcss/overlay.js +13 -0
  7. package/dist/tailwindcss/theme.js +46 -0
  8. package/dist/types/src/components/BaseActionItemButton.vue.d.ts +2 -2
  9. package/dist/types/src/components/BaseAddressForm.vue.d.ts +10 -0
  10. package/dist/types/src/components/BaseAutocomplete.vue.d.ts +10 -10
  11. package/dist/types/src/components/BaseAutocompleteDrawer.vue.d.ts +3 -3
  12. package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +6 -6
  13. package/dist/types/src/components/BaseAvatarGroup.vue.d.ts +1 -1
  14. package/dist/types/src/components/BaseBelongsTo.vue.d.ts +6 -6
  15. package/dist/types/src/components/BaseBelongsToFetch.vue.d.ts +6 -6
  16. package/dist/types/src/components/BaseButton.vue.d.ts +12 -12
  17. package/dist/types/src/components/BaseButtonGroup.vue.d.ts +24 -24
  18. package/dist/types/src/components/BaseCalendar.vue.d.ts +1 -1
  19. package/dist/types/src/components/BaseColor.vue.d.ts +19 -0
  20. package/dist/types/src/components/BaseDataIterator.vue.d.ts +1 -1
  21. package/dist/types/src/components/BaseDataIteratorSectionColumns.vue.d.ts +4 -4
  22. package/dist/types/src/components/BaseDataTable.vue.d.ts +1 -1
  23. package/dist/types/src/components/BaseDropdownAutocomplete.vue.d.ts +1 -1
  24. package/dist/types/src/components/BaseField.vue.d.ts +13 -3
  25. package/dist/types/src/components/BaseHasMany.vue.d.ts +9 -0
  26. package/dist/types/src/components/BaseInput.vue.d.ts +35 -4
  27. package/dist/types/src/components/BaseInputError.vue.d.ts +14 -1
  28. package/dist/types/src/components/BaseInputLabel.vue.d.ts +15 -5
  29. package/dist/types/src/components/BaseLayoutSidebarConfigurable.vue.d.ts +1 -1
  30. package/dist/types/src/components/BaseLayoutStackedConfigurable.vue.d.ts +1 -1
  31. package/dist/types/src/components/BaseLoadingCover.vue.d.ts +1 -1
  32. package/dist/types/src/components/BaseMediaGallery.vue.d.ts +1 -1
  33. package/dist/types/src/components/BaseMediaListItem.vue.d.ts +1 -1
  34. package/dist/types/src/components/BaseMediaPictures.vue.d.ts +1 -1
  35. package/dist/types/src/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  36. package/dist/types/src/components/BaseMenu.vue.d.ts +1 -1
  37. package/dist/types/src/components/BaseMenuItem.vue.d.ts +1 -1
  38. package/dist/types/src/components/BaseNavbar.vue.d.ts +1 -1
  39. package/dist/types/src/components/BaseNavbarItemContent.vue.d.ts +1 -1
  40. package/dist/types/src/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  41. package/dist/types/src/components/BaseSelect.vue.d.ts +27 -0
  42. package/dist/types/src/components/BaseSideNavigation.vue.d.ts +3 -3
  43. package/dist/types/src/components/BaseSwitch.vue.d.ts +1 -1
  44. package/dist/types/src/components/BaseTable.vue.d.ts +1 -1
  45. package/dist/types/src/components/BaseTabs.vue.d.ts +3 -3
  46. package/dist/types/src/components/BaseTagAutocomplete.vue.d.ts +3 -3
  47. package/dist/types/src/composables/field.d.ts +3 -0
  48. package/dist/types/src/composables/inputSize.d.ts +6 -0
  49. package/dist/types/src/utils/sizes.d.ts +19 -0
  50. package/package.json +1 -1
  51. package/src/assets/form.css +1 -1
  52. package/src/components/BaseAddressForm.stories.js +7 -2
  53. package/src/components/BaseAddressForm.vue +64 -37
  54. package/src/components/BaseAutocomplete.stories.js +1 -1
  55. package/src/components/BaseAutocomplete.vue +86 -96
  56. package/src/components/BaseAutocompleteDrawer.vue +3 -2
  57. package/src/components/BaseAutocompleteFetch.stories.js +1 -1
  58. package/src/components/BaseAutocompleteFetch.vue +3 -2
  59. package/src/components/BaseBelongsTo.stories.js +1 -1
  60. package/src/components/BaseBelongsTo.vue +3 -2
  61. package/src/components/BaseBelongsToFetch.vue +3 -2
  62. package/src/components/BaseButton.stories.js +21 -0
  63. package/src/components/BaseButton.vue +42 -6
  64. package/src/components/BaseButtonGroup.stories.js +31 -1
  65. package/src/components/BaseButtonGroup.vue +46 -33
  66. package/src/components/BaseColor.stories.js +22 -0
  67. package/src/components/BaseColor.vue +28 -25
  68. package/src/components/BaseDropdown.stories.js +2 -3
  69. package/src/components/BaseDropdownAutocomplete.vue +2 -2
  70. package/src/components/BaseField.vue +19 -8
  71. package/src/components/BaseHasMany.stories.js +13 -1
  72. package/src/components/BaseHasMany.vue +39 -1
  73. package/src/components/BaseInput.stories.js +35 -1
  74. package/src/components/BaseInput.vue +154 -74
  75. package/src/components/BaseInputError.vue +32 -2
  76. package/src/components/BaseInputLabel.vue +36 -9
  77. package/src/components/BaseSelect.stories.js +34 -0
  78. package/src/components/BaseSelect.vue +57 -8
  79. package/src/components/BaseTagAutocomplete.vue +3 -2
  80. package/src/components/BaseTimelineItem.stories.js +1 -3
  81. package/src/composables/field.ts +20 -0
  82. package/src/composables/inputSize.ts +29 -0
  83. package/src/utils/sizes.ts +21 -0
@@ -1,307 +1,22 @@
1
1
  const plugin = require('tailwindcss/plugin');
2
+ const theme = require('./theme').default;
3
+
4
+ const button = require('./button').default;
5
+ const overlay = require('./overlay').default;
6
+ const input = require('./input').default;
7
+
8
+ const config = {
9
+ theme: theme
10
+ }
2
11
 
3
12
  module.exports = plugin(
4
13
  function ({ addComponents, theme }) {
5
- addComponents({
6
- '.overlay': {
7
- position: 'absolute',
8
- top: 0,
9
- left: 0,
10
- right: 0,
11
- bottom: 0,
12
- width: '100%',
13
- height: '100%',
14
- },
15
- // Button
16
- '.btn': {
17
- position: 'relative',
18
- display: 'inline-block',
19
- cursor: 'pointer',
20
- 'user-select': 'none',
21
- color: theme('colors.slate.600'),
22
- 'background-color': theme('colors.white'),
23
- 'border-color': theme('colors.slate.300'),
24
- 'border-width': '1px',
25
- 'border-radius': theme('borderRadius.md'),
26
- padding: theme('spacing.[2.5]') + ' ' + theme('spacing.4'),
27
- 'text-align': 'center',
28
- 'font-size': theme('fontSize.sm'),
29
- 'line-height': theme('lineHeight.5'),
30
- 'transition-property':
31
- 'color, background-color, border-color, text-decoration-color, fill, stroke',
32
- 'transition-timing-function': 'cubic-bezier(0.4, 0, 0.2, 1)',
33
- 'transition-duration': '100ms',
34
- '&:hover': {
35
- 'background-color': theme('colors.slate.100'),
36
- },
37
- '&:focus-visible': {
38
- 'z-index': 1,
39
- outline: '4px solid transparent',
40
- 'outline-offset': '0px',
41
- '--tw-ring-color': theme('colors.slate.200'),
42
- '--tw-ring-offset-width': '0px',
43
- '--tw-ring-offset-shadow':
44
- 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
45
- '--tw-ring-shadow':
46
- 'var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
47
- 'box-shadow':
48
- 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
49
- },
50
- '&:disabled': {
51
- cursor: 'not-allowed',
52
- opacity: '0.5',
53
- },
54
- },
55
- // Button - Sizes
56
- '.btn-xs': {
57
- 'font-size': theme('fontSize.xs'),
58
- 'line-height': theme('lineHeight.4'),
59
- padding: theme('spacing.1') + ' ' + theme('spacing.2'),
60
- },
61
- '.btn-sm': {
62
- 'font-size': theme('fontSize.sm'),
63
- 'line-height': theme('lineHeight.4'),
64
- padding: theme('spacing.2') + ' ' + theme('spacing.3'),
65
- },
66
- '.btn-md': {
67
- 'font-size': theme('fontSize.sm'),
68
- 'line-height': theme('lineHeight.5'),
69
- padding: theme('spacing.[2.5]') + ' ' + theme('spacing.4'),
70
- },
71
- '.btn-lg': {
72
- 'font-size': theme('fontSize.base'),
73
- 'line-height': theme('lineHeight.5'),
74
- padding: theme('spacing.3') + ' ' + theme('spacing.5'),
75
- },
76
- '.btn-xl': {
77
- 'font-size': theme('fontSize.base'),
78
- 'line-height': theme('lineHeight.5'),
79
- padding: theme('spacing.4') + ' ' + theme('spacing.6'),
80
- },
81
- // Button - Colors
82
- '.btn-primary': {
83
- color: theme('colors.white'),
84
- 'background-color': theme('colors.primary.600'),
85
- 'border-color': 'transparent',
86
- '&:hover': {
87
- 'background-color': theme('colors.primary.500'),
88
- },
89
- '&:focus-visible': {
90
- '--tw-ring-color': theme('colors.primary.200'),
91
- },
92
- },
93
- '.btn-secondary': {
94
- color: theme('colors.primary.700'),
95
- 'background-color': theme('colors.primary.200'),
96
- 'border-color': 'transparent',
97
- '&:hover': {
98
- 'background-color': theme('colors.primary.100'),
99
- },
100
- '&:focus-visible': {
101
- '--tw-ring-color': theme('colors.primary.200'),
102
- },
103
- },
104
- '.btn-secondary-outline': {
105
- color: theme('colors.primary.700'),
106
- 'background-color': theme('colors.primary.200'),
107
- 'border-color': theme('colors.primary.300'),
108
- '&:hover': {
109
- 'background-color': theme('colors.primary.100'),
110
- },
111
- '&:focus-visible': {
112
- '--tw-ring-color': theme('colors.primary.200'),
113
- },
114
- },
115
- '.btn-success': {
116
- color: theme('colors.white'),
117
- 'background-color': theme('colors.green.600'),
118
- 'border-color': 'transparent',
119
- '&:hover': {
120
- 'background-color': theme('colors.green.500'),
121
- },
122
- '&:focus-visible': {
123
- '--tw-ring-color': theme('colors.green.200'),
124
- },
125
- },
126
- '.btn-success-outline': {
127
- color: theme('colors.green.700'),
128
- 'background-color': theme('colors.green.200'),
129
- 'border-color': theme('colors.green.300'),
130
- '&:hover': {
131
- 'background-color': theme('colors.green.100'),
132
- },
133
- '&:focus-visible': {
134
- '--tw-ring-color': theme('colors.green.200'),
135
- },
136
- },
137
- '.btn-warning': {
138
- color: theme('colors.yellow.900'),
139
- 'background-color': theme('colors.yellow.400'),
140
- 'border-color': 'transparent',
141
- '&:hover': {
142
- 'background-color': theme('colors.yellow.300'),
143
- },
144
- '&:focus-visible': {
145
- '--tw-ring-color': theme('colors.yellow.200'),
146
- },
147
- },
148
- '.btn-warning-outline': {
149
- color: theme('colors.yellow.900'),
150
- 'background-color': theme('colors.yellow.200'),
151
- 'border-color': theme('colors.yellow.400'),
152
- '&:hover': {
153
- 'background-color': theme('colors.yellow.100'),
154
- },
155
- '&:focus-visible': {
156
- '--tw-ring-color': theme('colors.yellow.200'),
157
- },
158
- },
159
- '.btn-danger': {
160
- color: theme('colors.white'),
161
- 'background-color': theme('colors.red.600'),
162
- 'border-color': 'transparent',
163
- '&:hover': {
164
- 'background-color': theme('colors.red.500'),
165
- },
166
- '&:focus-visible': {
167
- '--tw-ring-color': theme('colors.red.200'),
168
- },
169
- },
170
- '.btn-danger-outline': {
171
- color: theme('colors.red.700'),
172
- 'background-color': theme('colors.red.200'),
173
- 'border-color': theme('colors.red.300'),
174
- '&:hover': {
175
- 'background-color': theme('colors.red.100'),
176
- },
177
- '&:focus-visible': {
178
- '--tw-ring-color': theme('colors.red.200'),
179
- },
180
- },
181
- '.btn-info': {
182
- color: theme('colors.white'),
183
- 'background-color': theme('colors.blue.600'),
184
- 'border-color': 'transparent',
185
- '&:hover': {
186
- 'background-color': theme('colors.blue.500'),
187
- },
188
- '&:focus-visible': {
189
- '--tw-ring-color': theme('colors.blue.200'),
190
- },
191
- },
192
- '.btn-info-outline': {
193
- color: theme('colors.blue.700'),
194
- 'background-color': theme('colors.blue.200'),
195
- 'border-color': theme('colors.blue.300'),
196
- '&:hover': {
197
- 'background-color': theme('colors.blue.100'),
198
- },
199
- '&:focus-visible': {
200
- '--tw-ring-color': theme('colors.blue.200'),
201
- },
202
- },
203
- '.btn-white': {
204
- 'background-color': theme('colors.white'),
205
- 'border-color': 'transparent',
206
- '&:hover': {
207
- 'background-color': theme('colors.slate.100'),
208
- },
209
- '&:focus-visible': {
210
- '--tw-ring-color': theme('colors.slate.200'),
211
- },
212
- },
213
- '.btn-black': {
214
- color: theme('colors.white'),
215
- 'background-color': theme('colors.slate.900'),
216
- 'border-color': 'transparent',
217
- '&:hover': {
218
- 'background-color': theme('colors.slate.700'),
219
- },
220
- '&:focus-visible': {
221
- '--tw-ring-color': theme('colors.slate.300'),
222
- },
223
- },
224
- '.btn-slate-100': {
225
- 'background-color': theme('colors.slate.100'),
226
- 'border-color': 'transparent',
227
- '&:hover': {
228
- 'background-color': theme('colors.slate.50'),
229
- },
230
- '&:focus-visible': {
231
- '--tw-ring-color': theme('colors.slate.200'),
232
- },
233
- },
234
- '.btn-slate-100-outline': {
235
- 'background-color': theme('colors.slate.100'),
236
- 'border-color': theme('colors.slate.300'),
237
- '&:hover': {
238
- 'background-color': theme('colors.slate.50'),
239
- },
240
- '&:focus-visible': {
241
- '--tw-ring-color': theme('colors.slate.200'),
242
- },
243
- },
244
- '.btn-slate-200': {
245
- 'background-color': theme('colors.slate.200'),
246
- 'border-color': 'transparent',
247
- '&:hover': {
248
- 'background-color': theme('colors.slate.100'),
249
- },
250
- '&:focus-visible': {
251
- '--tw-ring-color': theme('colors.slate.200'),
252
- },
253
- },
254
- '.btn-slate-200-outline': {
255
- 'background-color': theme('colors.slate.200'),
256
- 'border-color': theme('colors.slate.400'),
257
- '&:hover': {
258
- 'background-color': theme('colors.slate.100'),
259
- },
260
- '&:focus-visible': {
261
- '--tw-ring-color': theme('colors.slate.200'),
262
- },
263
- },
264
- });
14
+ addComponents(
15
+ Object.assign({},
16
+ button(theme),
17
+ overlay(theme),
18
+ input(theme),
19
+ ));
265
20
  },
266
- {
267
- theme: {
268
- extend: {
269
- zIndex: {
270
- menu: '40',
271
- tooltip: '40',
272
- modal: '30',
273
- notifications: '50',
274
- dialogs: '50',
275
- },
276
- animation: {
277
- shake: 'shake 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both',
278
- shimmer: 'shimmer 2s infinite both',
279
- },
280
- keyframes: {
281
- shimmer: {
282
- '100%': {
283
- transform: 'translateX(100%)',
284
- },
285
- },
286
- shake: {
287
- '0%, 100%': {
288
- transform: 'translateX(0)',
289
- },
290
- '10%, 30%, 50%, 70%': {
291
- transform: 'translateX(-10px)',
292
- },
293
- '20%, 40%, 60%': {
294
- transform: 'translateX(10px)',
295
- },
296
- '80%': {
297
- transform: 'translateX(8px)',
298
- },
299
- '90%': {
300
- transform: 'translateX(-8px)',
301
- },
302
- },
303
- },
304
- },
305
- },
306
- }
21
+ config
307
22
  );
@@ -0,0 +1,24 @@
1
+ const { parseColor } = require("tailwindcss/lib/util/color");
2
+
3
+
4
+ export default (theme) => {
5
+
6
+ const blueColor = parseColor(theme('colors.blue.600')).color.join(", ");
7
+ const redColor = parseColor(theme('colors.red.600')).color.join(", ");
8
+
9
+ return {
10
+ '.input-focus': {
11
+ 'border-color': `rgba(${(blueColor)}, 0.6)`,
12
+ 'zIndex': 1,
13
+ 'boxShadow': `rgba(${(blueColor)}, 0.2) 0px 0px 0px 4px, var(--tw-shadow, 0 0 #0000);`,
14
+ },
15
+ '.input-focus-error': {
16
+ 'border-color': `rgba(${(redColor)}, 0.6)`,
17
+ 'zIndex': 1,
18
+ 'boxShadow': `rgba(${(redColor)}, 0.2) 0px 0px 0px 4px, var(--tw-shadow, 0 0 #0000);`,
19
+ },
20
+ '.input-rounded': {
21
+ 'border-radius': theme('borderRadius.md'),
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,13 @@
1
+ export default (theme) => {
2
+ return {
3
+ '.overlay': {
4
+ position: 'absolute',
5
+ top: 0,
6
+ left: 0,
7
+ right: 0,
8
+ bottom: 0,
9
+ width: '100%',
10
+ height: '100%',
11
+ },
12
+ }
13
+ }
@@ -0,0 +1,46 @@
1
+ export default {
2
+ extend: {
3
+ zIndex: {
4
+ menu: '40',
5
+ tooltip: '40',
6
+ modal: '30',
7
+ notifications: '50',
8
+ dialogs: '50',
9
+ },
10
+ height: {
11
+ 'control-xs': '1.6rem',
12
+ 'control-sm': '2rem',
13
+ 'control-md': '2.5rem',
14
+ 'control-lg': '3rem',
15
+ 'control-xl': '3.5rem',
16
+ },
17
+ animation: {
18
+ shake: 'shake 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both',
19
+ shimmer: 'shimmer 2s infinite both',
20
+ },
21
+ keyframes: {
22
+ shimmer: {
23
+ '100%': {
24
+ transform: 'translateX(100%)',
25
+ },
26
+ },
27
+ shake: {
28
+ '0%, 100%': {
29
+ transform: 'translateX(0)',
30
+ },
31
+ '10%, 30%, 50%, 70%': {
32
+ transform: 'translateX(-10px)',
33
+ },
34
+ '20%, 40%, 60%': {
35
+ transform: 'translateX(10px)',
36
+ },
37
+ '80%': {
38
+ transform: 'translateX(8px)',
39
+ },
40
+ '90%': {
41
+ transform: 'translateX(-8px)',
42
+ },
43
+ },
44
+ },
45
+ },
46
+ };
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  required: true;
6
6
  };
7
7
  size: {
8
- type: import("vue").PropType<"sm" | "lg" | "md">;
8
+ type: import("vue").PropType<"sm" | "md" | "lg">;
9
9
  required: true;
10
10
  default: string;
11
11
  };
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  required: true;
16
16
  };
17
17
  size: {
18
- type: import("vue").PropType<"sm" | "lg" | "md">;
18
+ type: import("vue").PropType<"sm" | "md" | "lg">;
19
19
  required: true;
20
20
  default: string;
21
21
  };
@@ -1,5 +1,6 @@
1
1
  import { Country } from '@/types/Country';
2
2
  import { Region } from '@/types/Region';
3
+ import { Size } from '@/utils/sizes';
3
4
  type Address = {
4
5
  address_1?: string | null;
5
6
  address_2?: string | null;
@@ -12,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
12
13
  required: {
13
14
  type: import("vue").PropType<boolean>;
14
15
  };
16
+ size: {
17
+ type: import("vue").PropType<"xs" | "sm" | "md">;
18
+ default: undefined;
19
+ };
15
20
  modelValue: {
16
21
  type: import("vue").PropType<Address | null | undefined>;
17
22
  required: true;
@@ -48,6 +53,10 @@ declare const _default: import("vue").DefineComponent<{
48
53
  required: {
49
54
  type: import("vue").PropType<boolean>;
50
55
  };
56
+ size: {
57
+ type: import("vue").PropType<"xs" | "sm" | "md">;
58
+ default: undefined;
59
+ };
51
60
  modelValue: {
52
61
  type: import("vue").PropType<Address | null | undefined>;
53
62
  required: true;
@@ -81,6 +90,7 @@ declare const _default: import("vue").DefineComponent<{
81
90
  }>> & {
82
91
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
83
92
  }, {
93
+ size: Size;
84
94
  modelValue: undefined | null | Address;
85
95
  prefix: string | null;
86
96
  countries: Country[];
@@ -27,6 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
27
  default: undefined;
28
28
  type: StringConstructor;
29
29
  };
30
+ size: {
31
+ default: undefined;
32
+ type: PropType<"xs" | "sm" | "md">;
33
+ };
30
34
  placeholder: {
31
35
  default: undefined;
32
36
  type: StringConstructor;
@@ -59,10 +63,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
63
  default: boolean;
60
64
  type: BooleanConstructor;
61
65
  };
62
- size: {
63
- default: string;
64
- type: PropType<"base" | "xs" | "sm">;
65
- };
66
66
  dropdownShow: {
67
67
  default: string;
68
68
  type: PropType<"always" | "focus">;
@@ -127,6 +127,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
127
127
  default: undefined;
128
128
  type: StringConstructor;
129
129
  };
130
+ size: {
131
+ default: undefined;
132
+ type: PropType<"xs" | "sm" | "md">;
133
+ };
130
134
  placeholder: {
131
135
  default: undefined;
132
136
  type: StringConstructor;
@@ -159,10 +163,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
159
163
  default: boolean;
160
164
  type: BooleanConstructor;
161
165
  };
162
- size: {
163
- default: string;
164
- type: PropType<"base" | "xs" | "sm">;
165
- };
166
166
  dropdownShow: {
167
167
  default: string;
168
168
  type: PropType<"always" | "focus">;
@@ -205,17 +205,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
205
205
  required: boolean;
206
206
  select: SelectConfiguration | undefined;
207
207
  name: string;
208
+ size: "xs" | "sm" | "md";
208
209
  inline: boolean;
209
210
  modelValue: Option | null | undefined;
210
211
  placeholder: string;
211
212
  disabled: boolean;
212
213
  hasError: boolean;
214
+ visibleFocus: boolean;
213
215
  loading: boolean;
214
216
  loadingBottom: boolean;
215
- size: "base" | "xs" | "sm";
216
217
  dropdownShow: "always" | "focus";
217
218
  showModelValue: boolean;
218
- visibleFocus: boolean;
219
219
  focusOnMount: boolean;
220
220
  showEmptyOption: boolean;
221
221
  emptyOptionLabel: string;
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  default: boolean;
24
24
  };
25
25
  size: {
26
- type: PropType<"base" | "xs" | "sm">;
26
+ type: PropType<"xs" | "sm" | "md">;
27
27
  default: string;
28
28
  };
29
29
  twDrawer: {
@@ -57,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
57
  default: boolean;
58
58
  };
59
59
  size: {
60
- type: PropType<"base" | "xs" | "sm">;
60
+ type: PropType<"xs" | "sm" | "md">;
61
61
  default: string;
62
62
  };
63
63
  twDrawer: {
@@ -68,12 +68,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
68
68
  onSelect?: ((...args: any[]) => any) | undefined;
69
69
  onScrollBottom?: ((...args: any[]) => any) | undefined;
70
70
  }, {
71
+ size: "xs" | "sm" | "md";
71
72
  options: NormalizedOption[];
72
73
  selected: NormalizedOption | NormalizedOption[] | null | undefined;
73
74
  keywords: string;
74
75
  loading: boolean;
75
76
  loadingBottom: boolean;
76
- size: "base" | "xs" | "sm";
77
77
  twDrawer: string;
78
78
  }, {}>, {
79
79
  empty?(_: {}): any;
@@ -46,8 +46,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
46
46
  type: BooleanConstructor;
47
47
  };
48
48
  size: {
49
- default: string;
50
- type: PropType<"base" | "xs" | "sm">;
49
+ default: undefined;
50
+ type: PropType<"xs" | "sm" | "md">;
51
51
  };
52
52
  dropdownShow: {
53
53
  default: string;
@@ -135,8 +135,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
135
135
  type: BooleanConstructor;
136
136
  };
137
137
  size: {
138
- default: string;
139
- type: PropType<"base" | "xs" | "sm">;
138
+ default: undefined;
139
+ type: PropType<"xs" | "sm" | "md">;
140
140
  };
141
141
  dropdownShow: {
142
142
  default: string;
@@ -176,15 +176,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
176
176
  required: boolean;
177
177
  select: SelectConfiguration | undefined;
178
178
  name: string;
179
+ size: "xs" | "sm" | "md";
179
180
  inline: boolean;
180
181
  modelValue: Option | null | undefined;
181
182
  placeholder: string;
182
183
  disabled: boolean;
183
184
  hasError: boolean;
184
- size: "base" | "xs" | "sm";
185
+ visibleFocus: boolean;
185
186
  dropdownShow: "always" | "focus";
186
187
  showModelValue: boolean;
187
- visibleFocus: boolean;
188
188
  focusOnMount: boolean;
189
189
  showEmptyOption: boolean;
190
190
  emptyOptionLabel: string;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
37
37
  };
38
38
  }>>, {
39
39
  to: (user: User) => RouteLocationRaw;
40
- max: number;
41
40
  size: string;
41
+ max: number;
42
42
  }, {}>;
43
43
  export default _default;
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
42
42
  type: BooleanConstructor;
43
43
  };
44
44
  size: {
45
- default: string;
46
- type: PropType<"base" | "xs" | "sm">;
45
+ default: undefined;
46
+ type: PropType<"xs" | "sm" | "md">;
47
47
  };
48
48
  dropdownShow: {
49
49
  default: string;
@@ -123,8 +123,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
123
123
  type: BooleanConstructor;
124
124
  };
125
125
  size: {
126
- default: string;
127
- type: PropType<"base" | "xs" | "sm">;
126
+ default: undefined;
127
+ type: PropType<"xs" | "sm" | "md">;
128
128
  };
129
129
  dropdownShow: {
130
130
  default: string;
@@ -160,15 +160,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
160
160
  required: boolean;
161
161
  select: SelectConfiguration | undefined;
162
162
  name: string;
163
+ size: "xs" | "sm" | "md";
163
164
  inline: boolean;
164
165
  modelValue: string | number | null | undefined;
165
166
  placeholder: string;
166
167
  disabled: boolean;
167
168
  hasError: boolean;
168
- size: "base" | "xs" | "sm";
169
+ visibleFocus: boolean;
169
170
  dropdownShow: "always" | "focus";
170
171
  showModelValue: boolean;
171
- visibleFocus: boolean;
172
172
  focusOnMount: boolean;
173
173
  showEmptyOption: boolean;
174
174
  emptyOptionLabel: string;