@volverjs/ui-vue 0.0.12 → 0.0.13-beta.2
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.es.js +1 -1
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +7 -2
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +5 -2
- package/dist/components/VvAction/VvAction.es.js +1 -1
- package/dist/components/VvAction/VvAction.umd.js +1 -1
- package/dist/components/VvAction/VvAction.vue.d.ts +3 -2
- package/dist/components/VvAlert/VvAlert.es.js +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +3 -2
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +3 -3
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +2 -2
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +2 -2
- package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +2 -2
- package/dist/components/VvButton/VvButton.es.js +1 -1
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +3 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +2 -2
- package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
- package/dist/components/VvCheckbox/VvCheckbox.es.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +2 -2
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +2 -2
- package/dist/components/VvCombobox/VvCombobox.es.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +9 -7
- package/dist/components/VvDialog/VvDialog.vue.d.ts +4 -2
- package/dist/components/VvDropdown/VvDropdown.es.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +14 -2
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +2 -2
- package/dist/components/VvDropdown/VvDropdownItem.vue.d.ts +2 -2
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +2 -2
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +2 -2
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +1 -1
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvDropdownItem/VvDropdownItem.es.js +1 -1
- package/dist/components/VvDropdownOption/VvDropdownOption.es.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +1 -1
- package/dist/components/VvIcon/VvIcon.vue.d.ts +2 -2
- package/dist/components/VvInputFile/VvInputFile.es.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +34 -4
- package/dist/components/VvInputFile/index.d.ts +7 -0
- package/dist/components/VvInputText/VvInputText.es.js +2 -2
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +8 -3
- package/dist/components/VvNav/VvNav.es.js +1 -1
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNav/VvNav.vue.d.ts +2 -2
- package/dist/components/VvNav/VvNavItem.vue.d.ts +2 -2
- package/dist/components/VvNav/VvNavSeparator.vue.d.ts +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +2 -2
- package/dist/components/VvRadio/VvRadio.es.js +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +2 -2
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +2 -2
- package/dist/components/VvSelect/VvSelect.es.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +9 -7
- package/dist/components/VvTab/VvTab.es.js +1 -1
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/VvTab/VvTab.vue.d.ts +2 -2
- package/dist/components/VvTextarea/VvTextarea.es.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +3 -3
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +2 -2
- package/dist/components/index.es.js +5 -5
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +1 -1
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/props/index.d.ts +7 -0
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +2 -2
- package/dist/stories/Avatar/Avatar.settings.d.ts +1 -1
- package/package.json +35 -28
package/dist/index.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{addCollection as e,addIcon as t,addAPIProvider as r}from"@iconify/vue";import{ref as n}from"vue";const i=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),s=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),o=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),c=/[^\p{L}\d]+/giu,l="$1\0$2";function a(e){let t=e.trim();t=t.replace(i,l).replace(s,l),t=t.replace(c,"\0");let r=0,n=t.length;for(;"\0"===t.charAt(r);)r++;if(r===n)return[];for(;"\0"===t.charAt(n-1);)n--;return t.slice(r,n).split(/\0/g)}function u(e){const t=a(e);for(let r=0;r<t.length;r++){const e=t[r],n=o.exec(e);if(n){const i=n.index+(n[1]??n[2]).length;t.splice(r,1,e.slice(0,i),e.slice(i))}}return t}function f(e,t){const[r,n,i]=function(e,t={}){const r=t.split??(t.separateNumbers?u:a),n=t.prefixCharacters??"",i=t.suffixCharacters??"";let s=0,o=e.length;for(;s<e.length;){const t=e.charAt(s);if(!n.includes(t))break;s++}for(;o>s;){const t=o-1,r=e.charAt(t);if(!i.includes(r))break;o=t}return[e.slice(0,s),r(e.slice(s,o)),e.slice(o)]}(e,t);return r+n.map((s=t?.locale,!1===s?e=>e.toLowerCase():e=>e.toLocaleLowerCase(s))).join(t?.delimiter??" ")+i;var s}const h
|
|
1
|
+
import{addCollection as e,addIcon as t,addAPIProvider as r}from"@iconify/vue";import{ref as n}from"vue";const i=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),s=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),o=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),c=/[^\p{L}\d]+/giu,l="$1\0$2";function a(e){let t=e.trim();t=t.replace(i,l).replace(s,l),t=t.replace(c,"\0");let r=0,n=t.length;for(;"\0"===t.charAt(r);)r++;if(r===n)return[];for(;"\0"===t.charAt(n-1);)n--;return t.slice(r,n).split(/\0/g)}function u(e){const t=a(e);for(let r=0;r<t.length;r++){const e=t[r],n=o.exec(e);if(n){const i=n.index+(n[1]??n[2]).length;t.splice(r,1,e.slice(0,i),e.slice(i))}}return t}function f(e,t){const[r,n,i]=function(e,t={}){const r=t.split??(t.separateNumbers?u:a),n=t.prefixCharacters??"",i=t.suffixCharacters??"";let s=0,o=e.length;for(;s<e.length;){const t=e.charAt(s);if(!n.includes(t))break;s++}for(;o>s;){const t=o-1,r=e.charAt(t);if(!i.includes(r))break;o=t}return[e.slice(0,s),r(e.slice(s,o)),e.slice(o)]}(e,t);return r+n.map((s=t?.locale,!1===s?e=>e.toLowerCase():e=>e.toLocaleLowerCase(s))).join(t?.delimiter??" ")+i;var s}const h=/* @__PURE__ */Symbol.for("volver");function p(e,t,r){const n=r||e.name;if(!n)return e;const i=t?.[n],s=e.props;return i&&s?{...e,name:n,props:Object.keys(s).reduce((e,t)=>{if(!(t in i))return e[t]=s[t],e;const r=i[t];return"function"==typeof s[t]||Array.isArray(s[t])?(e[t]={type:s[t],default:r},e):(e[t]={...s[t],default:r},e)},{})}:{...e,name:n}}class d{_fetchOptions={};_iconsCollections=[];_iconsProvider="vv";_nuxt=!1;_experimentalFeatures={};defaults=n({});constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:r,nuxt:n,iconsCollections:i,defaults:s,experimentalFeatures:o}={}){t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),r&&(this._iconsProvider=r),n&&(this._nuxt=n),i&&Array.isArray(i)&&i.forEach(e=>{this.addCollection(e,this._iconsProvider)}),s&&(this.defaults.value=s),o&&(this._experimentalFeatures=o)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}get experimentalFeatures(){return this._experimentalFeatures}addCollection(t,r=this._iconsProvider){return this._iconsCollections.push(t),e(t,r)}addIcon(e,r){return t(e,r)}addIconsAPIProvider(e,t){return r(e,t)}fetchIcon(e,t={cache:"force-cache"}){return new Promise((r,n)=>{fetch(e,{...this._fetchOptions,...t}).catch(e=>n(e)).then(e=>e?.text()).then(e=>r(e))})}}const m={install(e,t={}){const r=new d(t);e.config.globalProperties.$vv=r,t.components&&Object.entries(t.components).forEach(([r,n])=>{e.component(r,p(n,t.defaults))}),t.aliases&&Object.entries(t.aliases).forEach(([r,n])=>{e.component(r,p(n,t.defaults,r))}),t.directives&&Object.entries(t.directives).forEach(([t,r])=>{const n=function(e,t){return f(e,{delimiter:"-",...t})}(t);n.startsWith("v-")&&(t=n.substring(2).toLocaleLowerCase()),e.directive(t,r)}),e.provide(h,r)}};export{m as VolverPlugin};
|
package/dist/props/index.d.ts
CHANGED
|
@@ -943,10 +943,17 @@ export declare const NavProps: {
|
|
|
943
943
|
};
|
|
944
944
|
};
|
|
945
945
|
export declare const StorageProps: {
|
|
946
|
+
/**
|
|
947
|
+
* Storage type
|
|
948
|
+
* @default StorageType.local
|
|
949
|
+
*/
|
|
946
950
|
storageType: {
|
|
947
951
|
type: PropType<`${StorageType}`>;
|
|
948
952
|
default: StorageType;
|
|
949
953
|
validator: (value: StorageType) => boolean;
|
|
950
954
|
};
|
|
955
|
+
/**
|
|
956
|
+
* Storage key
|
|
957
|
+
*/
|
|
951
958
|
storageKey: StringConstructor;
|
|
952
959
|
};
|
|
@@ -196,10 +196,10 @@ declare const _default: {
|
|
|
196
196
|
itemModifiers?: string | string[] | undefined;
|
|
197
197
|
storageType?: "local" | "session" | undefined;
|
|
198
198
|
style?: unknown;
|
|
199
|
-
ref?: import("vue").VNodeRef | undefined;
|
|
200
199
|
class?: unknown;
|
|
201
200
|
readonly storageKey?: string | undefined;
|
|
202
201
|
key?: PropertyKey | undefined;
|
|
202
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
203
203
|
ref_for?: boolean | undefined;
|
|
204
204
|
ref_key?: string | undefined;
|
|
205
205
|
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
@@ -223,10 +223,10 @@ declare const _default: {
|
|
|
223
223
|
itemModifiers?: string | string[] | undefined;
|
|
224
224
|
storageType?: "local" | "session" | undefined;
|
|
225
225
|
style?: unknown;
|
|
226
|
-
ref?: import("vue").VNodeRef | undefined;
|
|
227
226
|
class?: unknown;
|
|
228
227
|
readonly storageKey?: string | undefined;
|
|
229
228
|
key?: PropertyKey | undefined;
|
|
229
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
230
230
|
ref_for?: boolean | undefined;
|
|
231
231
|
ref_key?: string | undefined;
|
|
232
232
|
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volverjs/ui-vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.13-beta.2",
|
|
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",
|
|
@@ -382,13 +382,14 @@
|
|
|
382
382
|
},
|
|
383
383
|
"dependencies": {
|
|
384
384
|
"@floating-ui/vue": "^1.1.9",
|
|
385
|
-
"@iconify/tools": "^
|
|
385
|
+
"@iconify/tools": "^5.0.2",
|
|
386
|
+
"@iconify/utils": "^3.1.0",
|
|
386
387
|
"@iconify/vue": "^5.0.0",
|
|
387
388
|
"blurhash": "^2.0.5",
|
|
388
|
-
"chokidar": "^
|
|
389
|
+
"chokidar": "^5.0.0",
|
|
389
390
|
"comlink": "^4.4.2",
|
|
390
391
|
"dot-prop": "^10.1.0",
|
|
391
|
-
"jsdom": "^27.
|
|
392
|
+
"jsdom": "^27.4.0",
|
|
392
393
|
"mitt": "^3.0.1",
|
|
393
394
|
"pica": "^9.0.1",
|
|
394
395
|
"vue-imask": "^7.6.1",
|
|
@@ -396,53 +397,59 @@
|
|
|
396
397
|
"yargs": "^18.0.0"
|
|
397
398
|
},
|
|
398
399
|
"devDependencies": {
|
|
399
|
-
"@antfu/eslint-config": "6.
|
|
400
|
+
"@antfu/eslint-config": "6.7.3",
|
|
400
401
|
"@babel/core": "^7.28.5",
|
|
401
402
|
"@babel/preset-env": "^7.28.5",
|
|
402
403
|
"@babel/preset-typescript": "^7.28.5",
|
|
403
404
|
"@iconify/types": "^2.0.0",
|
|
404
|
-
"@iconify/utils": "^3.0.2",
|
|
405
405
|
"@nabla/vite-plugin-eslint": "^2.0.6",
|
|
406
|
-
"@storybook/addon-a11y": "^10.
|
|
407
|
-
"@storybook/addon-docs": "^10.
|
|
408
|
-
"@storybook/addon-links": "^10.
|
|
409
|
-
"@storybook/
|
|
410
|
-
"@storybook/
|
|
411
|
-
"@storybook/
|
|
406
|
+
"@storybook/addon-a11y": "^10.1.11",
|
|
407
|
+
"@storybook/addon-docs": "^10.1.11",
|
|
408
|
+
"@storybook/addon-links": "^10.1.11",
|
|
409
|
+
"@storybook/addon-themes": "^10.1.11",
|
|
410
|
+
"@storybook/addon-vitest": "^10.1.11",
|
|
411
|
+
"@storybook/cli": "^10.1.11",
|
|
412
|
+
"@storybook/vue3-vite": "^10.1.11",
|
|
412
413
|
"@tsconfig/node18": "^18.2.6",
|
|
413
414
|
"@types/jest-axe": "^3.5.9",
|
|
414
415
|
"@types/jsdom": "^27.0.0",
|
|
415
|
-
"@types/node": "^
|
|
416
|
+
"@types/node": "^25.0.3",
|
|
416
417
|
"@types/pica": "^9.0.5",
|
|
417
418
|
"@types/yargs": "^17.0.35",
|
|
418
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
419
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
420
|
+
"@vitest/browser": "^4.0.16",
|
|
421
|
+
"@vitest/browser-playwright": "^4.0.16",
|
|
419
422
|
"@volverjs/style": "^0.1.23",
|
|
420
|
-
"@vue/compiler-sfc": "^3.5.
|
|
423
|
+
"@vue/compiler-sfc": "^3.5.26",
|
|
421
424
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
422
425
|
"@vue/test-utils": "^2.4.6",
|
|
423
426
|
"@vue/tsconfig": "^0.8.1",
|
|
424
|
-
"@vueless/storybook-dark-mode": "^10.0.
|
|
425
|
-
"@vueuse/core": "^14.
|
|
427
|
+
"@vueless/storybook-dark-mode": "^10.0.4",
|
|
428
|
+
"@vueuse/core": "^14.1.0",
|
|
426
429
|
"change-case": "^5.4.4",
|
|
427
|
-
"eslint": "^9.39.
|
|
430
|
+
"eslint": "^9.39.2",
|
|
428
431
|
"glob": "^13.0.0",
|
|
429
432
|
"jest-axe": "^10.0.0",
|
|
430
|
-
"jsdom": "^27.
|
|
433
|
+
"jsdom": "^27.4.0",
|
|
431
434
|
"npm-run-all": "^4.1.5",
|
|
432
|
-
"
|
|
435
|
+
"playwright": "^1.57.0",
|
|
436
|
+
"prettier": "^3.7.4",
|
|
437
|
+
"react": "^19.2.3",
|
|
438
|
+
"react-dom": "^19.2.3",
|
|
433
439
|
"remark": "^15.0.1",
|
|
434
|
-
"sass-embedded": "1.
|
|
435
|
-
"storybook": "^10.
|
|
440
|
+
"sass-embedded": "1.97.2",
|
|
441
|
+
"storybook": "^10.1.11",
|
|
436
442
|
"storybook-addon-markdown-docs": "^2.0.0",
|
|
437
443
|
"terser": "^5.44.1",
|
|
438
444
|
"ts-node": "^10.9.2",
|
|
439
445
|
"typescript": "~5.9.3",
|
|
440
|
-
"unplugin-auto-import": "^20.
|
|
446
|
+
"unplugin-auto-import": "^20.3.0",
|
|
441
447
|
"unplugin-vue-components": "^30.0.0",
|
|
442
|
-
"vite": "^7.
|
|
448
|
+
"vite": "^7.3.1",
|
|
443
449
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
444
|
-
"
|
|
445
|
-
"vue
|
|
450
|
+
"vitest": "^4.0.16",
|
|
451
|
+
"vue": "^3.5.26",
|
|
452
|
+
"vue-tsc": "^3.2.2"
|
|
446
453
|
},
|
|
447
454
|
"scripts": {
|
|
448
455
|
"dev": "storybook dev -p 6006",
|
|
@@ -454,8 +461,8 @@
|
|
|
454
461
|
"lint:fix": "eslint . --fix",
|
|
455
462
|
"generate-icons": "node --loader ts-node/esm ./scripts/icons.ts --srcPath=src/assets/icons",
|
|
456
463
|
"generate-tsd": "vue-tsc --declaration --emitDeclarationOnly",
|
|
457
|
-
"test-
|
|
458
|
-
"test-
|
|
464
|
+
"test-storybook": "vitest --run",
|
|
465
|
+
"test-storybook:watch": "vitest",
|
|
459
466
|
"credits": "npx @opengovsg/credits-generator"
|
|
460
467
|
}
|
|
461
468
|
}
|