@volverjs/ui-vue 0.0.10-beta.58 → 0.0.10-beta.59
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/dist/components/VvAccordion/VvAccordion.vue.d.ts +2 -2
- package/dist/components/VvAccordion/index.d.ts +2 -2
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +10 -10
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +14 -14
- package/dist/components/VvAccordionGroup/index.d.ts +5 -5
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +8 -8
- package/dist/components/VvAlert/index.d.ts +3 -4
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +11 -11
- package/dist/components/VvAlertGroup/index.d.ts +5 -5
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +2 -2
- package/dist/components/VvAvatar/index.d.ts +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +6 -6
- package/dist/components/VvAvatarGroup/index.d.ts +3 -3
- package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
- package/dist/components/VvBadge/index.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +15 -15
- package/dist/components/VvBreadcrumb/index.d.ts +2 -2
- package/dist/components/VvButton/VvButton.vue.d.ts +8 -8
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +6 -6
- package/dist/components/VvButtonGroup/index.d.ts +3 -3
- package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
- package/dist/components/VvCard/index.d.ts +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +3 -3
- package/dist/components/VvCheckbox/index.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +6 -6
- package/dist/components/VvCheckboxGroup/index.d.ts +2 -2
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +560 -219
- package/dist/components/VvCombobox/index.d.ts +241 -21
- package/dist/components/VvDialog/VvDialog.vue.d.ts +2 -2
- package/dist/components/VvDialog/index.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +272 -37
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -16
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +2 -2
- package/dist/components/VvDropdown/index.d.ts +117 -9
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +19 -19
- package/dist/components/VvInputFile/index.d.ts +8 -8
- package/dist/components/VvInputText/VvInputClearAction.d.ts +3 -3
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +5 -5
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +16 -16
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +21 -21
- package/dist/components/VvInputText/index.d.ts +24 -7
- package/dist/components/VvNav/VvNav.vue.d.ts +13 -13
- package/dist/components/VvNav/index.d.ts +2 -2
- package/dist/components/VvProgress/VvProgress.vue.d.ts +2 -2
- package/dist/components/VvProgress/index.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +3 -3
- package/dist/components/VvRadio/index.d.ts +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +6 -6
- package/dist/components/VvRadioGroup/index.d.ts +2 -2
- package/dist/components/VvSelect/VvSelect.vue.d.ts +183 -62
- package/dist/components/VvSelect/index.d.ts +8 -8
- package/dist/components/VvTab/VvTab.vue.d.ts +15 -15
- package/dist/components/VvTab/index.d.ts +3 -3
- package/dist/components/VvTextarea/VvTextarea.es.js +10 -10
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +11 -11
- package/dist/components/VvTextarea/index.d.ts +9 -6
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +4 -4
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +16 -16
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +12 -12
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +1 -1
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +1 -1
- package/dist/composables/group/useGroupStateInject.d.ts +1 -1
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/composables/usePersistence.d.ts +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +121 -14
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +362 -298
- package/dist/test/expect.d.ts +1 -0
- package/dist/utils/DateUtilities.d.ts +9 -0
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +30 -30
- 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/composables/usePersistence.ts +13 -12
- package/src/utils/DateUtilities.ts +24 -7
package/dist/test/expect.d.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Checks if a string is a valid ISO date string
|
|
3
3
|
* @param dateString
|
|
4
4
|
* @returns True if valid ISO date string
|
|
5
|
+
* @example
|
|
6
|
+
* isDateIsoString('2021-12-31T23:59:59') // true
|
|
5
7
|
*/
|
|
6
8
|
export declare function isDateIsoString(dateString: unknown): boolean;
|
|
7
9
|
/**
|
|
@@ -10,6 +12,10 @@ export declare function isDateIsoString(dateString: unknown): boolean;
|
|
|
10
12
|
* @param typeOfInput - Type of HTML input element
|
|
11
13
|
* @param withSeconds - Include seconds in time value
|
|
12
14
|
* @returns String value for input element
|
|
15
|
+
* @example
|
|
16
|
+
* getInputValueFromDate(new Date(), 'date') // '2021-12-31'
|
|
17
|
+
* getInputValueFromDate(new Date(), 'time') // '23:59'
|
|
18
|
+
* getInputValueFromDate(new Date(), 'datetime-local') // '2021-12-31T23:59'
|
|
13
19
|
*/
|
|
14
20
|
export declare function getInputValueFromDate(date: Date | string, typeOfInput?: 'date' | 'time' | 'month' | 'datetime-local', withSeconds?: boolean): string;
|
|
15
21
|
/**
|
|
@@ -18,5 +24,8 @@ export declare function getInputValueFromDate(date: Date | string, typeOfInput?:
|
|
|
18
24
|
* @param typeOfInput - Type of HTML input element
|
|
19
25
|
* @returns Date object or null if invalid
|
|
20
26
|
* @throws Error for invalid input format
|
|
27
|
+
* @example
|
|
28
|
+
* getDateFromInputValue('2021-12-31', 'date') // Date('2021-12-31T00:00:00')
|
|
29
|
+
* getDateFromInputValue('23:59', 'time') // Date('2021-12-31T23:59:00')
|
|
21
30
|
*/
|
|
22
31
|
export declare function getDateFromInputValue(value: string, typeOfInput?: 'date' | 'time' | 'month' | 'datetime-local'): Date | null;
|
|
@@ -65,7 +65,7 @@ export declare function removeFromList<Type = unknown>(value: Type, list: Type[]
|
|
|
65
65
|
* @param {any} value
|
|
66
66
|
* @returns {boolean} true if value is a string
|
|
67
67
|
*/
|
|
68
|
-
export declare function isString(value: unknown):
|
|
68
|
+
export declare function isString(value: unknown): boolean;
|
|
69
69
|
/**
|
|
70
70
|
* Convert props definition to object with "prop" as key and default as value
|
|
71
71
|
* @param {ComponentObjectPropsOptions} props vue component props
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/ui-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.10-beta.
|
|
4
|
+
"version": "0.0.10-beta.59",
|
|
5
5
|
"description": "@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.",
|
|
6
6
|
"author": "8 Wave S.r.l.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
],
|
|
380
380
|
"peerDependencies": {
|
|
381
381
|
"@volverjs/style": "0.*",
|
|
382
|
-
"@vueuse/core": "^
|
|
382
|
+
"@vueuse/core": "^12.*",
|
|
383
383
|
"vue": "^3.5.*"
|
|
384
384
|
},
|
|
385
385
|
"dependencies": {
|
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"@iconify/tools": "^4.0.7",
|
|
388
388
|
"@iconify/vue": "^4.1.2",
|
|
389
389
|
"blurhash": "^2.0.5",
|
|
390
|
+
"chokidar": "^4.0.1",
|
|
390
391
|
"comlink": "^4.4.2",
|
|
391
392
|
"jsdom": "^25.0.1",
|
|
392
393
|
"mitt": "^3.0.1",
|
|
@@ -394,64 +395,63 @@
|
|
|
394
395
|
"ts-dot-prop": "^2.1.4",
|
|
395
396
|
"vue-imask": "^7.6.1",
|
|
396
397
|
"vuedraggable": "^4.1.0",
|
|
397
|
-
"chokidar": "^4.0.1",
|
|
398
398
|
"yargs": "^17.7.2"
|
|
399
399
|
},
|
|
400
400
|
"devDependencies": {
|
|
401
|
-
"@antfu/eslint-config": "3.
|
|
401
|
+
"@antfu/eslint-config": "3.11.2",
|
|
402
402
|
"@babel/core": "^7.26.0",
|
|
403
403
|
"@babel/preset-env": "^7.26.0",
|
|
404
404
|
"@babel/preset-typescript": "^7.26.0",
|
|
405
405
|
"@iconify/types": "^2.0.0",
|
|
406
406
|
"@iconify/utils": "^2.1.33",
|
|
407
|
-
"@nabla/vite-plugin-eslint": "^2.0.
|
|
408
|
-
"@storybook/addon-a11y": "^8.4.
|
|
409
|
-
"@storybook/addon-actions": "^8.4.
|
|
410
|
-
"@storybook/addon-docs": "^8.4.
|
|
411
|
-
"@storybook/addon-essentials": "^8.4.
|
|
412
|
-
"@storybook/addon-interactions": "^8.4.
|
|
413
|
-
"@storybook/addon-links": "^8.4.
|
|
414
|
-
"@storybook/cli": "^8.4.
|
|
415
|
-
"@storybook/client-logger": "^8.4.
|
|
416
|
-
"@storybook/core-common": "^8.4.
|
|
417
|
-
"@storybook/preview-api": "^8.4.
|
|
418
|
-
"@storybook/test": "^8.4.
|
|
419
|
-
"@storybook/test-runner": "^0.
|
|
420
|
-
"@storybook/types": "^8.4.
|
|
421
|
-
"@storybook/vue3": "^8.4.
|
|
422
|
-
"@storybook/vue3-vite": "^8.4.
|
|
407
|
+
"@nabla/vite-plugin-eslint": "^2.0.5",
|
|
408
|
+
"@storybook/addon-a11y": "^8.4.6",
|
|
409
|
+
"@storybook/addon-actions": "^8.4.6",
|
|
410
|
+
"@storybook/addon-docs": "^8.4.6",
|
|
411
|
+
"@storybook/addon-essentials": "^8.4.6",
|
|
412
|
+
"@storybook/addon-interactions": "^8.4.6",
|
|
413
|
+
"@storybook/addon-links": "^8.4.6",
|
|
414
|
+
"@storybook/cli": "^8.4.6",
|
|
415
|
+
"@storybook/client-logger": "^8.4.6",
|
|
416
|
+
"@storybook/core-common": "^8.4.6",
|
|
417
|
+
"@storybook/preview-api": "^8.4.6",
|
|
418
|
+
"@storybook/test": "^8.4.6",
|
|
419
|
+
"@storybook/test-runner": "^0.20.1",
|
|
420
|
+
"@storybook/types": "^8.4.6",
|
|
421
|
+
"@storybook/vue3": "^8.4.6",
|
|
422
|
+
"@storybook/vue3-vite": "^8.4.6",
|
|
423
423
|
"@tsconfig/node18": "^18.2.4",
|
|
424
424
|
"@types/jest-axe": "^3.5.9",
|
|
425
425
|
"@types/jsdom": "^21.1.7",
|
|
426
|
-
"@types/node": "^22.10.
|
|
426
|
+
"@types/node": "^22.10.1",
|
|
427
427
|
"@types/pica": "^9.0.4",
|
|
428
428
|
"@types/yargs": "^17.0.33",
|
|
429
429
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
430
430
|
"@vue/compiler-sfc": "^3.5.13",
|
|
431
431
|
"@vue/eslint-config-typescript": "^14.1.4",
|
|
432
432
|
"@vue/test-utils": "^2.4.6",
|
|
433
|
-
"@vue/tsconfig": "^0.
|
|
433
|
+
"@vue/tsconfig": "^0.7.0",
|
|
434
434
|
"change-case": "^5.4.4",
|
|
435
|
-
"eslint": "^9.
|
|
435
|
+
"eslint": "^9.16.0",
|
|
436
436
|
"glob": "7.2.3",
|
|
437
437
|
"jest-axe": "^9.0.0",
|
|
438
438
|
"jest-diff": "^29.7.0",
|
|
439
439
|
"jest-get-type": "^29.6.3",
|
|
440
440
|
"jsdom": "^25.0.1",
|
|
441
441
|
"npm-run-all": "^4.1.5",
|
|
442
|
-
"prettier": "^3.4.
|
|
442
|
+
"prettier": "^3.4.2",
|
|
443
443
|
"pretty-format": "^29.7.0",
|
|
444
444
|
"remark": "^15.0.1",
|
|
445
|
-
"sass": "^1.
|
|
446
|
-
"storybook": "^8.4.
|
|
445
|
+
"sass": "^1.82.0",
|
|
446
|
+
"storybook": "^8.4.6",
|
|
447
447
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
448
448
|
"storybook-dark-mode": "^4.0.2",
|
|
449
449
|
"terser": "^5.36.0",
|
|
450
450
|
"ts-node": "^10.9.2",
|
|
451
|
-
"typescript": "~5.
|
|
452
|
-
"unplugin-auto-import": "^0.18.
|
|
453
|
-
"unplugin-vue-components": "^0.27.
|
|
454
|
-
"vite": "^6.0.
|
|
451
|
+
"typescript": "~5.4.2",
|
|
452
|
+
"unplugin-auto-import": "^0.18.6",
|
|
453
|
+
"unplugin-vue-components": "^0.27.5",
|
|
454
|
+
"vite": "^6.0.2",
|
|
455
455
|
"vite-plugin-externalize-deps": "^0.8.0",
|
|
456
456
|
"vue-tsc": "^2.1.10"
|
|
457
457
|
},
|