@volverjs/ui-vue 0.0.9-beta.9 → 0.0.9
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/auto-imports.d.ts +2 -2
- package/dist/components/VvAccordion/VvAccordion.es.js +8 -7
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +8 -7
- package/dist/components/VvAction/VvAction.es.js +8 -7
- package/dist/components/VvAlert/VvAlert.es.js +8 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +8 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +6 -6
- package/dist/components/VvAlertGroup/index.d.ts +2 -2
- package/dist/components/VvAvatar/VvAvatar.es.js +8 -7
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +8 -7
- package/dist/components/VvBadge/VvBadge.es.js +8 -7
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +8 -7
- package/dist/components/VvButton/VvButton.es.js +8 -7
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +8 -7
- package/dist/components/VvCard/VvCard.es.js +8 -7
- package/dist/components/VvCheckbox/VvCheckbox.es.js +8 -7
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +8 -7
- package/dist/components/VvCombobox/VvCombobox.es.js +145 -116
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +306 -90
- package/dist/components/VvCombobox/index.d.ts +108 -31
- package/dist/components/VvDialog/VvDialog.es.js +16 -11
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.es.js +19 -16
- package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +299 -91
- package/dist/components/VvDropdown/index.d.ts +99 -30
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +8 -7
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +8 -7
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +8 -7
- package/dist/components/VvInputText/VvInputText.es.js +193 -103
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +19 -37
- package/dist/components/VvInputText/index.d.ts +15 -33
- package/dist/components/VvNav/VvNav.es.js +8 -7
- package/dist/components/VvProgress/VvProgress.es.js +8 -7
- package/dist/components/VvRadio/VvRadio.es.js +8 -7
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +8 -7
- package/dist/components/VvSelect/VvSelect.es.js +8 -7
- package/dist/components/VvSelect/VvSelect.vue.d.ts +1 -1
- package/dist/components/VvTab/VvTab.es.js +8 -7
- package/dist/components/VvTextarea/VvTextarea.es.js +16 -12
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTooltip/VvTooltip.es.js +8 -7
- package/dist/components/index.es.js +346 -221
- package/dist/components/index.umd.js +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/directives/index.es.js +8 -7
- package/dist/directives/v-tooltip.es.js +8 -7
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +100 -31
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -2
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +18 -18
- package/dist/stories/Combobox/Combobox.settings.d.ts +8 -0
- package/dist/stories/InputText/InputText.settings.d.ts +31 -9
- package/dist/stories/InputText/InputText.stories.d.ts +0 -1
- package/dist/stories/InputText/InputTextMask.stories.d.ts +12 -0
- package/package.json +60 -59
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvCombobox/VvCombobox.vue +40 -19
- package/src/components/VvCombobox/index.ts +13 -0
- package/src/components/VvDialog/VvDialog.vue +6 -2
- package/src/components/VvDropdown/VvDropdown.vue +18 -16
- package/src/components/VvInputText/VvInputText.vue +170 -55
- package/src/components/VvInputText/index.ts +32 -34
- package/src/components/VvTextarea/VvTextarea.vue +8 -5
- package/src/constants.ts +5 -0
- package/src/props/index.ts +7 -11
- package/src/stories/Combobox/Combobox.settings.ts +8 -0
- package/src/stories/Combobox/Combobox.test.ts +1 -1
- package/src/stories/InputText/InputText.settings.ts +36 -15
- package/src/stories/InputText/InputText.stories.ts +4 -12
- package/src/stories/InputText/InputText.test.ts +31 -15
- package/src/stories/InputText/InputTextMask.stories.ts +122 -0
package/dist/props/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { Option } from '../types/generic';
|
|
3
|
-
import { Placement, Position, Side, AnchorTarget, ButtonType } from '../constants';
|
|
3
|
+
import { Placement, Strategy, Position, Side, AnchorTarget, ButtonType } from '../constants';
|
|
4
4
|
export declare const LinkProps: {
|
|
5
5
|
/**
|
|
6
6
|
* The router-link/nuxt-link property, if it is defined the button is rendered as a ruouter-link or nuxt-link.
|
|
@@ -217,9 +217,9 @@ export declare const DropdownProps: {
|
|
|
217
217
|
* Dropdown strategy
|
|
218
218
|
*/
|
|
219
219
|
strategy: {
|
|
220
|
-
type: PropType<"
|
|
221
|
-
default:
|
|
222
|
-
validator: (value:
|
|
220
|
+
type: PropType<"absolute" | "fixed">;
|
|
221
|
+
default: undefined;
|
|
222
|
+
validator: (value: Strategy) => boolean;
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
225
225
|
* Dropdown show / hide transition name
|
|
@@ -240,12 +240,30 @@ export declare const DropdownProps: {
|
|
|
240
240
|
* @see https://floating-ui.com/docs/shift
|
|
241
241
|
*/
|
|
242
242
|
shift: {
|
|
243
|
-
type: PropType<boolean |
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
243
|
+
type: PropType<boolean | {
|
|
244
|
+
mainAxis?: boolean | undefined;
|
|
245
|
+
crossAxis?: boolean | undefined;
|
|
246
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
247
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
248
|
+
altBoundary?: boolean | undefined;
|
|
249
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
250
|
+
limiter?: {
|
|
251
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
252
|
+
options?: any;
|
|
253
|
+
} | undefined;
|
|
254
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
255
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
256
|
+
mainAxis?: boolean | undefined;
|
|
257
|
+
crossAxis?: boolean | undefined;
|
|
258
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
259
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
260
|
+
altBoundary?: boolean | undefined;
|
|
261
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
262
|
+
limiter?: {
|
|
263
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
|
|
264
|
+
options?: any;
|
|
265
|
+
} | undefined;
|
|
266
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
249
267
|
}> | undefined>;
|
|
250
268
|
default: boolean;
|
|
251
269
|
};
|
|
@@ -254,12 +272,30 @@ export declare const DropdownProps: {
|
|
|
254
272
|
* @see https://floating-ui.com/docs/flip
|
|
255
273
|
*/
|
|
256
274
|
flip: {
|
|
257
|
-
type: PropType<boolean |
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
275
|
+
type: PropType<boolean | {
|
|
276
|
+
mainAxis?: boolean | undefined;
|
|
277
|
+
crossAxis?: boolean | undefined;
|
|
278
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
279
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
280
|
+
altBoundary?: boolean | undefined;
|
|
281
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
282
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
283
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
284
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
285
|
+
flipAlignment?: boolean | undefined;
|
|
286
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
287
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
288
|
+
mainAxis?: boolean | undefined;
|
|
289
|
+
crossAxis?: boolean | undefined;
|
|
290
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
291
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
292
|
+
altBoundary?: boolean | undefined;
|
|
293
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
294
|
+
fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
295
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
296
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
297
|
+
flipAlignment?: boolean | undefined;
|
|
298
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
263
299
|
}> | undefined>;
|
|
264
300
|
default: boolean;
|
|
265
301
|
};
|
|
@@ -268,13 +304,38 @@ export declare const DropdownProps: {
|
|
|
268
304
|
* @see https://floating-ui.com/docs/size
|
|
269
305
|
*/
|
|
270
306
|
size: {
|
|
271
|
-
type: PropType<boolean |
|
|
272
|
-
|
|
307
|
+
type: PropType<boolean | {
|
|
308
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
309
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
310
|
+
altBoundary?: boolean | undefined;
|
|
311
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
312
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
313
|
+
apply?: ((args: {
|
|
273
314
|
x: number;
|
|
274
315
|
y: number;
|
|
316
|
+
initialPlacement: import("@floating-ui/core").Placement;
|
|
275
317
|
placement: import("@floating-ui/core").Placement;
|
|
276
318
|
strategy: import("@floating-ui/core").Strategy;
|
|
319
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
320
|
+
rects: import("@floating-ui/core").ElementRects;
|
|
321
|
+
platform: import("@floating-ui/core").Platform;
|
|
322
|
+
elements: import("@floating-ui/dom").Elements;
|
|
323
|
+
} & {
|
|
324
|
+
availableWidth: number;
|
|
325
|
+
availableHeight: number;
|
|
326
|
+
}) => void | Promise<void>) | undefined;
|
|
327
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
328
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
329
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
330
|
+
altBoundary?: boolean | undefined;
|
|
331
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
332
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
333
|
+
apply?: ((args: {
|
|
334
|
+
x: number;
|
|
335
|
+
y: number;
|
|
277
336
|
initialPlacement: import("@floating-ui/core").Placement;
|
|
337
|
+
placement: import("@floating-ui/core").Placement;
|
|
338
|
+
strategy: import("@floating-ui/core").Strategy;
|
|
278
339
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
279
340
|
rects: import("@floating-ui/core").ElementRects;
|
|
280
341
|
platform: import("@floating-ui/core").Platform;
|
|
@@ -282,13 +343,7 @@ export declare const DropdownProps: {
|
|
|
282
343
|
} & {
|
|
283
344
|
availableWidth: number;
|
|
284
345
|
availableHeight: number;
|
|
285
|
-
}) => void | Promise<void
|
|
286
|
-
} & {
|
|
287
|
-
rootBoundary: import("@floating-ui/core").RootBoundary;
|
|
288
|
-
elementContext: import("@floating-ui/core").ElementContext;
|
|
289
|
-
altBoundary: boolean;
|
|
290
|
-
padding: import("@floating-ui/core").Padding;
|
|
291
|
-
boundary: import("@floating-ui/dom").Boundary;
|
|
346
|
+
}) => void | Promise<void>) | undefined;
|
|
292
347
|
}> | undefined>;
|
|
293
348
|
default: () => {
|
|
294
349
|
padding: number;
|
|
@@ -299,12 +354,26 @@ export declare const DropdownProps: {
|
|
|
299
354
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
300
355
|
*/
|
|
301
356
|
autoPlacement: {
|
|
302
|
-
type: PropType<boolean |
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
357
|
+
type: PropType<boolean | {
|
|
358
|
+
crossAxis?: boolean | undefined;
|
|
359
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
360
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
361
|
+
altBoundary?: boolean | undefined;
|
|
362
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
363
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
364
|
+
autoAlignment?: boolean | undefined;
|
|
365
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
366
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
367
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
368
|
+
crossAxis?: boolean | undefined;
|
|
369
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
370
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
371
|
+
altBoundary?: boolean | undefined;
|
|
372
|
+
padding?: import("@floating-ui/core").Padding | undefined;
|
|
373
|
+
alignment?: import("@floating-ui/core").Alignment | null | undefined;
|
|
374
|
+
autoAlignment?: boolean | undefined;
|
|
375
|
+
allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
|
|
376
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
308
377
|
}> | undefined>;
|
|
309
378
|
default: boolean;
|
|
310
379
|
};
|
|
@@ -15,10 +15,10 @@ declare const _default: Meta<{
|
|
|
15
15
|
readonly modelValue?: string | unknown[] | undefined;
|
|
16
16
|
readonly modifiers?: string | string[] | undefined;
|
|
17
17
|
key?: string | number | symbol | undefined;
|
|
18
|
+
style?: unknown;
|
|
19
|
+
class?: unknown;
|
|
18
20
|
ref_for?: boolean | undefined;
|
|
19
21
|
ref_key?: string | undefined;
|
|
20
|
-
class?: unknown;
|
|
21
|
-
style?: unknown;
|
|
22
22
|
readonly storeKey?: string | undefined;
|
|
23
23
|
};
|
|
24
24
|
$attrs: {
|
|
@@ -15,16 +15,16 @@ declare const _default: {
|
|
|
15
15
|
readonly modelValue?: string | unknown[] | undefined;
|
|
16
16
|
readonly modifiers?: string | string[] | undefined;
|
|
17
17
|
key?: string | number | symbol | undefined;
|
|
18
|
+
style?: unknown;
|
|
19
|
+
class?: unknown;
|
|
18
20
|
ref_for?: boolean | undefined;
|
|
19
21
|
ref_key?: string | undefined;
|
|
20
|
-
class?: unknown;
|
|
21
|
-
style?: unknown;
|
|
22
22
|
readonly storeKey?: string | undefined;
|
|
23
23
|
} & {
|
|
24
24
|
default?: import("vue").VNodeChild | ((_: {}) => any);
|
|
25
25
|
}>, "props"> | undefined;
|
|
26
26
|
subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<unknown>, "props">> | undefined;
|
|
27
|
-
play?: import("@storybook/types").PlayFunction<import("@storybook/vue3/dist/render-
|
|
27
|
+
play?: import("@storybook/types").PlayFunction<import("@storybook/vue3/dist/render-ddbe18a8").V, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
28
28
|
new (...args: any[]): {
|
|
29
29
|
$: import("vue").ComponentInternalInstance;
|
|
30
30
|
$data: {};
|
|
@@ -39,10 +39,10 @@ declare const _default: {
|
|
|
39
39
|
readonly modelValue?: string | unknown[] | undefined;
|
|
40
40
|
readonly modifiers?: string | string[] | undefined;
|
|
41
41
|
key?: string | number | symbol | undefined;
|
|
42
|
+
style?: unknown;
|
|
43
|
+
class?: unknown;
|
|
42
44
|
ref_for?: boolean | undefined;
|
|
43
45
|
ref_key?: string | undefined;
|
|
44
|
-
class?: unknown;
|
|
45
|
-
style?: unknown;
|
|
46
46
|
readonly storeKey?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
$attrs: {
|
|
@@ -151,7 +151,7 @@ declare const _default: {
|
|
|
151
151
|
};
|
|
152
152
|
})>> | undefined;
|
|
153
153
|
tags?: string[] | undefined;
|
|
154
|
-
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/vue3/dist/render-
|
|
154
|
+
decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/vue3/dist/render-ddbe18a8").V, {
|
|
155
155
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
156
156
|
disabled?: boolean | undefined;
|
|
157
157
|
not?: boolean | undefined;
|
|
@@ -162,10 +162,10 @@ declare const _default: {
|
|
|
162
162
|
readonly modelValue?: string | unknown[] | undefined;
|
|
163
163
|
readonly modifiers?: string | string[] | undefined;
|
|
164
164
|
key?: string | number | symbol | undefined;
|
|
165
|
+
style?: unknown;
|
|
166
|
+
class?: unknown;
|
|
165
167
|
ref_for?: boolean | undefined;
|
|
166
168
|
ref_key?: string | undefined;
|
|
167
|
-
class?: unknown;
|
|
168
|
-
style?: unknown;
|
|
169
169
|
readonly storeKey?: string | undefined;
|
|
170
170
|
default?: import("vue").VNodeChild | ((_: {}) => any);
|
|
171
171
|
}>[] | undefined;
|
|
@@ -185,10 +185,10 @@ declare const _default: {
|
|
|
185
185
|
readonly modelValue?: string | unknown[] | undefined;
|
|
186
186
|
readonly modifiers?: string | string[] | undefined;
|
|
187
187
|
key?: string | number | symbol | undefined;
|
|
188
|
+
style?: unknown;
|
|
189
|
+
class?: unknown;
|
|
188
190
|
ref_for?: boolean | undefined;
|
|
189
191
|
ref_key?: string | undefined;
|
|
190
|
-
class?: unknown;
|
|
191
|
-
style?: unknown;
|
|
192
192
|
readonly storeKey?: string | undefined;
|
|
193
193
|
};
|
|
194
194
|
$attrs: {
|
|
@@ -311,10 +311,10 @@ declare const _default: {
|
|
|
311
311
|
readonly modelValue?: string | unknown[] | undefined;
|
|
312
312
|
readonly modifiers?: string | string[] | undefined;
|
|
313
313
|
key?: string | number | symbol | undefined;
|
|
314
|
+
style?: unknown;
|
|
315
|
+
class?: unknown;
|
|
314
316
|
ref_for?: boolean | undefined;
|
|
315
317
|
ref_key?: string | undefined;
|
|
316
|
-
class?: unknown;
|
|
317
|
-
style?: unknown;
|
|
318
318
|
readonly storeKey?: string | undefined;
|
|
319
319
|
};
|
|
320
320
|
$attrs: {
|
|
@@ -422,7 +422,7 @@ declare const _default: {
|
|
|
422
422
|
default?(_: {}): any;
|
|
423
423
|
};
|
|
424
424
|
})>>> | undefined;
|
|
425
|
-
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3/dist/render-
|
|
425
|
+
loaders?: import("@storybook/types").LoaderFunction<import("@storybook/vue3/dist/render-ddbe18a8").V, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
426
426
|
new (...args: any[]): {
|
|
427
427
|
$: import("vue").ComponentInternalInstance;
|
|
428
428
|
$data: {};
|
|
@@ -437,10 +437,10 @@ declare const _default: {
|
|
|
437
437
|
readonly modelValue?: string | unknown[] | undefined;
|
|
438
438
|
readonly modifiers?: string | string[] | undefined;
|
|
439
439
|
key?: string | number | symbol | undefined;
|
|
440
|
+
style?: unknown;
|
|
441
|
+
class?: unknown;
|
|
440
442
|
ref_for?: boolean | undefined;
|
|
441
443
|
ref_key?: string | undefined;
|
|
442
|
-
class?: unknown;
|
|
443
|
-
style?: unknown;
|
|
444
444
|
readonly storeKey?: string | undefined;
|
|
445
445
|
};
|
|
446
446
|
$attrs: {
|
|
@@ -548,7 +548,7 @@ declare const _default: {
|
|
|
548
548
|
default?(_: {}): any;
|
|
549
549
|
};
|
|
550
550
|
})>>[] | undefined;
|
|
551
|
-
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3/dist/render-
|
|
551
|
+
render?: import("@storybook/types").ArgsStoryFn<import("@storybook/vue3/dist/render-ddbe18a8").V, import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
552
552
|
new (...args: any[]): {
|
|
553
553
|
$: import("vue").ComponentInternalInstance;
|
|
554
554
|
$data: {};
|
|
@@ -563,10 +563,10 @@ declare const _default: {
|
|
|
563
563
|
readonly modelValue?: string | unknown[] | undefined;
|
|
564
564
|
readonly modifiers?: string | string[] | undefined;
|
|
565
565
|
key?: string | number | symbol | undefined;
|
|
566
|
+
style?: unknown;
|
|
567
|
+
class?: unknown;
|
|
566
568
|
ref_for?: boolean | undefined;
|
|
567
569
|
ref_key?: string | undefined;
|
|
568
|
-
class?: unknown;
|
|
569
|
-
style?: unknown;
|
|
570
570
|
readonly storeKey?: string | undefined;
|
|
571
571
|
};
|
|
572
572
|
$attrs: {
|
|
@@ -129,6 +129,14 @@ export declare const argTypes: {
|
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
|
+
searchFunction: {
|
|
133
|
+
description: string;
|
|
134
|
+
table: {
|
|
135
|
+
defaultValue: {
|
|
136
|
+
summary: undefined;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
132
140
|
searchPlaceholder: {
|
|
133
141
|
description: string;
|
|
134
142
|
control: {
|
|
@@ -145,42 +145,64 @@ export declare const argTypes: {
|
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
iMask: {
|
|
149
149
|
description: string;
|
|
150
150
|
control: {
|
|
151
151
|
type: string;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
|
|
154
|
+
masked: {
|
|
155
155
|
description: string;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
summary: boolean;
|
|
159
|
-
};
|
|
156
|
+
control: {
|
|
157
|
+
type: string;
|
|
160
158
|
};
|
|
161
159
|
};
|
|
162
|
-
|
|
160
|
+
autoWidth: {
|
|
163
161
|
description: string;
|
|
162
|
+
control: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
164
165
|
table: {
|
|
165
166
|
defaultValue: {
|
|
166
167
|
summary: boolean;
|
|
167
168
|
};
|
|
169
|
+
type: {
|
|
170
|
+
summary: string;
|
|
171
|
+
};
|
|
168
172
|
};
|
|
169
173
|
};
|
|
170
|
-
|
|
174
|
+
hideActions: {
|
|
171
175
|
description: string;
|
|
176
|
+
control: {
|
|
177
|
+
type: string;
|
|
178
|
+
};
|
|
172
179
|
table: {
|
|
173
180
|
defaultValue: {
|
|
181
|
+
summary: boolean;
|
|
182
|
+
};
|
|
183
|
+
type: {
|
|
174
184
|
summary: string;
|
|
175
185
|
};
|
|
176
186
|
};
|
|
177
187
|
};
|
|
178
|
-
|
|
188
|
+
unit: {
|
|
189
|
+
description: string;
|
|
190
|
+
control: {
|
|
191
|
+
type: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
selectOnFocus: {
|
|
179
195
|
description: string;
|
|
196
|
+
control: {
|
|
197
|
+
type: string;
|
|
198
|
+
};
|
|
180
199
|
table: {
|
|
181
200
|
defaultValue: {
|
|
182
201
|
summary: boolean;
|
|
183
202
|
};
|
|
203
|
+
type: {
|
|
204
|
+
summary: string;
|
|
205
|
+
};
|
|
184
206
|
};
|
|
185
207
|
};
|
|
186
208
|
before: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import VvInputText from '@/components/VvInputText/VvInputText.vue';
|
|
3
|
+
declare const meta: Meta<typeof VvInputText>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof VvInputText>;
|
|
6
|
+
export declare const RegExp: Story;
|
|
7
|
+
export declare const PhoneNumber: Story;
|
|
8
|
+
export declare const Pattern: Story;
|
|
9
|
+
export declare const IntlNumber: Story;
|
|
10
|
+
export declare const DatePlaceholder: Story;
|
|
11
|
+
export declare const PhoneOrEmail: Story;
|
|
12
|
+
export declare const Currency: Story;
|
package/package.json
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/volverjs/ui-vue/issues"
|
|
21
21
|
},
|
|
22
|
-
"version": "0.0.9
|
|
22
|
+
"version": "0.0.9",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">= 16.x"
|
|
25
25
|
},
|
|
26
|
-
"packageManager": "pnpm@8.
|
|
26
|
+
"packageManager": "pnpm@8.7.0",
|
|
27
27
|
"type": "module",
|
|
28
28
|
"main": "./dist/Volver.umd.js",
|
|
29
29
|
"module": "./dist/Volver.es.js",
|
|
@@ -38,92 +38,93 @@
|
|
|
38
38
|
"*.d.ts"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@floating-ui/vue": "^1.0.
|
|
42
|
-
"@iconify/tools": "^3.0.
|
|
41
|
+
"@floating-ui/vue": "^1.0.2",
|
|
42
|
+
"@iconify/tools": "^3.0.5",
|
|
43
43
|
"@iconify/vue": "^4.1.1",
|
|
44
|
-
"@vueuse/core": "^10.
|
|
44
|
+
"@vueuse/core": "^10.4.1",
|
|
45
45
|
"jsdom": "^22.1.0",
|
|
46
|
-
"
|
|
47
|
-
"mitt": "^3.0.0",
|
|
46
|
+
"mitt": "^3.0.1",
|
|
48
47
|
"nanoid": "^4.0.2",
|
|
49
|
-
"ts-dot-prop": "^2.1.
|
|
50
|
-
"vue": "^3.3.4"
|
|
48
|
+
"ts-dot-prop": "^2.1.3",
|
|
49
|
+
"vue": "^3.3.4",
|
|
50
|
+
"vue-imask": "^7.1.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@volverjs/style": "0.*"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@babel/core": "^7.22.
|
|
57
|
-
"@babel/preset-env": "^7.22.
|
|
58
|
-
"@babel/preset-typescript": "^7.22.
|
|
56
|
+
"@babel/core": "^7.22.11",
|
|
57
|
+
"@babel/preset-env": "^7.22.10",
|
|
58
|
+
"@babel/preset-typescript": "^7.22.11",
|
|
59
59
|
"@iconify/types": "^2.0.0",
|
|
60
|
-
"@iconify/utils": "^2.1.
|
|
60
|
+
"@iconify/utils": "^2.1.9",
|
|
61
61
|
"@mdx-js/react": "^2.3.0",
|
|
62
|
-
"@rushstack/eslint-patch": "^1.3.
|
|
63
|
-
"@storybook/addon-a11y": "^7.0
|
|
64
|
-
"@storybook/addon-actions": "^7.0
|
|
65
|
-
"@storybook/addon-docs": "^7.0
|
|
66
|
-
"@storybook/addon-essentials": "^7.0
|
|
67
|
-
"@storybook/addon-interactions": "^7.0
|
|
68
|
-
"@storybook/addon-links": "^7.0
|
|
69
|
-
"@storybook/channel-postmessage": "^7.0
|
|
70
|
-
"@storybook/channel-websocket": "^7.0
|
|
71
|
-
"@storybook/cli": "^7.0
|
|
72
|
-
"@storybook/client-api": "^7.0
|
|
73
|
-
"@storybook/client-logger": "^7.0
|
|
74
|
-
"@storybook/core-common": "^7.0
|
|
75
|
-
"@storybook/jest": "^0.
|
|
76
|
-
"@storybook/preview-api": "^7.0
|
|
77
|
-
"@storybook/preview-web": "^7.0
|
|
78
|
-
"@storybook/test-runner": "^0.
|
|
62
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
63
|
+
"@storybook/addon-a11y": "^7.4.0",
|
|
64
|
+
"@storybook/addon-actions": "^7.4.0",
|
|
65
|
+
"@storybook/addon-docs": "^7.4.0",
|
|
66
|
+
"@storybook/addon-essentials": "^7.4.0",
|
|
67
|
+
"@storybook/addon-interactions": "^7.4.0",
|
|
68
|
+
"@storybook/addon-links": "^7.4.0",
|
|
69
|
+
"@storybook/channel-postmessage": "^7.4.0",
|
|
70
|
+
"@storybook/channel-websocket": "^7.4.0",
|
|
71
|
+
"@storybook/cli": "^7.4.0",
|
|
72
|
+
"@storybook/client-api": "^7.4.0",
|
|
73
|
+
"@storybook/client-logger": "^7.4.0",
|
|
74
|
+
"@storybook/core-common": "^7.4.0",
|
|
75
|
+
"@storybook/jest": "^0.2.2",
|
|
76
|
+
"@storybook/preview-api": "^7.4.0",
|
|
77
|
+
"@storybook/preview-web": "^7.4.0",
|
|
78
|
+
"@storybook/test-runner": "^0.13.0",
|
|
79
79
|
"@storybook/testing-library": "^0.2.0",
|
|
80
|
-
"@storybook/vue3": "^7.0
|
|
81
|
-
"@storybook/vue3-vite": "^7.0
|
|
82
|
-
"@tsconfig/node18": "^2.
|
|
80
|
+
"@storybook/vue3": "^7.4.0",
|
|
81
|
+
"@storybook/vue3-vite": "^7.4.0",
|
|
82
|
+
"@tsconfig/node18": "^18.2.1",
|
|
83
83
|
"@types/jest-axe": "^3.5.5",
|
|
84
|
-
"@types/jsdom": "^21.1.
|
|
85
|
-
"@types/node": "^20.
|
|
86
|
-
"@types/react": "^18.2.
|
|
84
|
+
"@types/jsdom": "^21.1.2",
|
|
85
|
+
"@types/node": "^20.5.7",
|
|
86
|
+
"@types/react": "^18.2.21",
|
|
87
87
|
"@types/yargs": "^17.0.24",
|
|
88
|
-
"@vitejs/plugin-vue": "^4.
|
|
88
|
+
"@vitejs/plugin-vue": "^4.3.4",
|
|
89
89
|
"@volverjs/style": "0.1.12-beta.4",
|
|
90
90
|
"@vue/compiler-sfc": "^3.3.4",
|
|
91
|
-
"@vue/eslint-config-prettier": "^
|
|
91
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
92
92
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
93
|
-
"@vue/test-utils": "^2.
|
|
93
|
+
"@vue/test-utils": "^2.4.1",
|
|
94
94
|
"@vue/tsconfig": "^0.4.0",
|
|
95
95
|
"change-case": "^4.1.2",
|
|
96
|
-
"eslint": "^8.
|
|
97
|
-
"eslint-config-prettier": "^
|
|
98
|
-
"eslint-mdx": "^2.
|
|
99
|
-
"eslint-plugin-mdx": "^2.
|
|
100
|
-
"eslint-plugin-
|
|
101
|
-
"eslint-plugin-
|
|
96
|
+
"eslint": "^8.48.0",
|
|
97
|
+
"eslint-config-prettier": "^9.0.0",
|
|
98
|
+
"eslint-mdx": "^2.2.0",
|
|
99
|
+
"eslint-plugin-mdx": "^2.2.0",
|
|
100
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
101
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
102
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
102
103
|
"glob": "7.2.3",
|
|
103
|
-
"jest-axe": "^
|
|
104
|
-
"jest-diff": "^29.
|
|
105
|
-
"jest-get-type": "^29.
|
|
104
|
+
"jest-axe": "^8.0.0",
|
|
105
|
+
"jest-diff": "^29.6.4",
|
|
106
|
+
"jest-get-type": "^29.6.3",
|
|
106
107
|
"jsdom": "^22.1.0",
|
|
107
108
|
"npm-run-all": "^4.1.5",
|
|
108
|
-
"prettier": "^
|
|
109
|
-
"pretty-format": "^29.
|
|
109
|
+
"prettier": "^3.0.3",
|
|
110
|
+
"pretty-format": "^29.6.3",
|
|
110
111
|
"react": "^18.2.0",
|
|
111
112
|
"react-dom": "^18.2.0",
|
|
112
113
|
"remark": "^14.0.3",
|
|
113
|
-
"sass": "^1.
|
|
114
|
-
"storybook": "7.0
|
|
114
|
+
"sass": "^1.66.1",
|
|
115
|
+
"storybook": "^7.4.0",
|
|
115
116
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
116
|
-
"storybook-dark-mode": "^3.0.
|
|
117
|
+
"storybook-dark-mode": "^3.0.1",
|
|
117
118
|
"storybook-version": "^0.1.1",
|
|
118
|
-
"terser": "^5.
|
|
119
|
+
"terser": "^5.19.3",
|
|
119
120
|
"ts-node": "^10.9.1",
|
|
120
|
-
"typescript": "~5.
|
|
121
|
-
"unplugin-auto-import": "^0.16.
|
|
121
|
+
"typescript": "~5.2.2",
|
|
122
|
+
"unplugin-auto-import": "^0.16.6",
|
|
122
123
|
"unplugin-vue-components": "^0.25.1",
|
|
123
|
-
"vite": "^4.
|
|
124
|
+
"vite": "^4.4.9",
|
|
124
125
|
"vite-plugin-eslint": "^1.8.1",
|
|
125
|
-
"vite-plugin-externalize-deps": "^0.
|
|
126
|
-
"vue-tsc": "^1.8.
|
|
126
|
+
"vite-plugin-externalize-deps": "^0.7.0",
|
|
127
|
+
"vue-tsc": "^1.8.8",
|
|
127
128
|
"yargs": "^17.7.2"
|
|
128
129
|
},
|
|
129
130
|
"typesVersions": {
|