@volverjs/ui-vue 0.0.10-beta.75 → 0.0.10-beta.77

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 (95) hide show
  1. package/README.md +8 -8
  2. package/bin/icons.cjs +1 -1
  3. package/bin/icons.js +3 -3
  4. package/dist/components/VvAccordion/VvAccordion.es.js +9 -9
  5. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  6. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +14 -15
  7. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  8. package/dist/components/VvAction/VvAction.es.js +10 -13
  9. package/dist/components/VvAction/VvAction.umd.js +1 -1
  10. package/dist/components/VvAlert/VvAlert.es.js +19 -19
  11. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  12. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +19 -19
  13. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  14. package/dist/components/VvAvatar/VvAvatar.es.js +1 -1
  15. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  16. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +7 -8
  17. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  18. package/dist/components/VvBadge/VvBadge.es.js +1 -1
  19. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  20. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +12 -18
  21. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  22. package/dist/components/VvButton/VvButton.es.js +32 -38
  23. package/dist/components/VvButton/VvButton.umd.js +1 -1
  24. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +1 -1
  25. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  26. package/dist/components/VvCard/VvCard.es.js +1 -1
  27. package/dist/components/VvCard/VvCard.umd.js +1 -1
  28. package/dist/components/VvCheckbox/VvCheckbox.es.js +10 -12
  29. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  30. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +15 -20
  31. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  32. package/dist/components/VvCombobox/VvCombobox.es.js +266 -285
  33. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  34. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +22 -14
  35. package/dist/components/VvCombobox/index.d.ts +22 -0
  36. package/dist/components/VvDialog/VvDialog.es.js +5 -7
  37. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  38. package/dist/components/VvDropdown/VvDropdown.es.js +10 -15
  39. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  40. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +2 -2
  41. package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +2 -2
  42. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +11 -14
  43. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  44. package/dist/components/VvDropdownItem/VvDropdownItem.umd.js +1 -1
  45. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -1
  46. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +1 -1
  47. package/dist/components/VvDropdownOption/VvDropdownOption.umd.js +1 -1
  48. package/dist/components/VvIcon/VvIcon.es.js +5 -5
  49. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  50. package/dist/components/VvInputFile/VvInputFile.es.js +45 -57
  51. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  52. package/dist/components/VvInputFile/VvInputFile.vue.d.ts +1 -1
  53. package/dist/components/VvInputText/VvInputText.es.js +54 -66
  54. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  55. package/dist/components/VvInputText/VvInputText.vue.d.ts +1 -1
  56. package/dist/components/VvNav/VvNav.es.js +16 -21
  57. package/dist/components/VvNav/VvNav.umd.js +1 -1
  58. package/dist/components/VvNavItem/VvNavItem.es.js +10 -13
  59. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  60. package/dist/components/VvNavSeparator/VvNavSeparator.umd.js +1 -1
  61. package/dist/components/VvProgress/VvProgress.es.js +1 -1
  62. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  63. package/dist/components/VvRadio/VvRadio.es.js +10 -12
  64. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  65. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +15 -20
  66. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  67. package/dist/components/VvSelect/VvSelect.es.js +27 -30
  68. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  69. package/dist/components/VvSelect/VvSelect.vue.d.ts +3 -3
  70. package/dist/components/VvTab/VvTab.es.js +18 -25
  71. package/dist/components/VvTab/VvTab.umd.js +1 -1
  72. package/dist/components/VvTextarea/VvTextarea.es.js +47 -57
  73. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  74. package/dist/components/VvTextarea/VvTextarea.vue.d.ts +1 -1
  75. package/dist/components/VvTooltip/VvTooltip.es.js +1 -1
  76. package/dist/components/VvTooltip/VvTooltip.umd.js +1 -1
  77. package/dist/components/index.es.js +346 -394
  78. package/dist/components/index.umd.js +1 -1
  79. package/dist/composables/index.es.js +10 -15
  80. package/dist/composables/index.umd.js +1 -1
  81. package/dist/directives/index.es.js +9 -14
  82. package/dist/directives/index.umd.js +1 -1
  83. package/dist/directives/v-contextmenu.es.js +8 -13
  84. package/dist/directives/v-contextmenu.umd.js +1 -1
  85. package/dist/directives/v-tooltip.es.js +1 -1
  86. package/dist/directives/v-tooltip.umd.js +1 -1
  87. package/dist/icons.es.js +3 -3
  88. package/dist/icons.umd.js +1 -1
  89. package/dist/index.es.js +9 -12
  90. package/dist/index.umd.js +1 -1
  91. package/dist/resolvers/unplugin.es.js +1 -1
  92. package/dist/resolvers/unplugin.umd.js +1 -1
  93. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +2 -2
  94. package/dist/stories/Combobox/Combobox.stories.d.ts +1 -0
  95. package/package.json +35 -32
package/dist/index.es.js CHANGED
@@ -1,6 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
1
  import { addCollection, addIcon, addAPIProvider } from "@iconify/vue";
5
2
  import { ref } from "vue";
6
3
  const SPLIT_LOWER_UPPER_RE = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu");
@@ -37,7 +34,7 @@ function splitSeparateNumbers(value) {
37
34
  }
38
35
  function noCase(input, options) {
39
36
  const [prefix, words, suffix] = splitPrefixSuffix(input, options);
40
- return prefix + words.map(lowerFactory(options == null ? void 0 : options.locale)).join((options == null ? void 0 : options.delimiter) ?? " ") + suffix;
37
+ return prefix + words.map(lowerFactory(options?.locale)).join(options?.delimiter ?? " ") + suffix;
41
38
  }
42
39
  function kebabCase(input, options) {
43
40
  return noCase(input, { delimiter: "-", ...options });
@@ -77,7 +74,7 @@ function useDefaultProps(component, defaults, name) {
77
74
  if (!componentName) {
78
75
  return component;
79
76
  }
80
- const componentDefaults = defaults == null ? void 0 : defaults[componentName];
77
+ const componentDefaults = defaults?.[componentName];
81
78
  const props = component.props;
82
79
  if (!componentDefaults || !props) {
83
80
  return { ...component, name: componentName };
@@ -110,6 +107,12 @@ function useDefaultProps(component, defaults, name) {
110
107
  };
111
108
  }
112
109
  class Volver {
110
+ _fetchOptions = {};
111
+ _iconsCollections = [];
112
+ _iconsProvider = DEFAULT_ICONIFY_PROVIDER;
113
+ _nuxt = false;
114
+ _experimentalFeatures = {};
115
+ defaults = ref({});
113
116
  constructor({
114
117
  fetchWithCredentials,
115
118
  fetchOptions,
@@ -119,12 +122,6 @@ class Volver {
119
122
  defaults,
120
123
  experimentalFeatures
121
124
  } = {}) {
122
- __publicField(this, "_fetchOptions", {});
123
- __publicField(this, "_iconsCollections", []);
124
- __publicField(this, "_iconsProvider", DEFAULT_ICONIFY_PROVIDER);
125
- __publicField(this, "_nuxt", false);
126
- __publicField(this, "_experimentalFeatures", {});
127
- __publicField(this, "defaults", ref({}));
128
125
  if (fetchOptions) {
129
126
  this._fetchOptions = fetchOptions;
130
127
  }
@@ -176,7 +173,7 @@ class Volver {
176
173
  }
177
174
  fetchIcon(src, options = { cache: "force-cache" }) {
178
175
  return new Promise((resolve, reject) => {
179
- fetch(src, { ...this._fetchOptions, ...options }).catch((e) => reject(e)).then((response) => response == null ? void 0 : response.text()).then((svg) => resolve(svg));
176
+ fetch(src, { ...this._fetchOptions, ...options }).catch((e) => reject(e)).then((response) => response?.text()).then((svg) => resolve(svg));
180
177
  });
181
178
  }
182
179
  }
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,(function(e,t,n){"use strict";var i=Object.defineProperty,r=(e,t,n)=>((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);const o=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),s=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),c=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),l=/[^\p{L}\d]+/giu,u="$1\0$2";function a(e){let t=e.trim();t=t.replace(o,u).replace(s,u),t=t.replace(l,"\0");let n=0,i=t.length;for(;"\0"===t.charAt(n);)n++;if(n===i)return[];for(;"\0"===t.charAt(i-1);)i--;return t.slice(n,i).split(/\0/g)}function f(e){const t=a(e);for(let n=0;n<t.length;n++){const e=t[n],i=c.exec(e);if(i){const r=i.index+(i[1]??i[2]).length;t.splice(n,1,e.slice(0,r),e.slice(r))}}return t}function d(e,t){const[n,i,r]=function(e,t={}){const n=t.split??(t.separateNumbers?f:a),i=t.prefixCharacters??"",r=t.suffixCharacters??"";let o=0,s=e.length;for(;o<e.length;){const t=e.charAt(o);if(!i.includes(t))break;o++}for(;s>o;){const t=s-1,n=e.charAt(t);if(!r.includes(n))break;s=t}return[e.slice(0,o),n(e.slice(o,s)),e.slice(s)]}(e,t);return n+i.map((o=null==t?void 0:t.locale,!1===o?e=>e.toLowerCase():e=>e.toLocaleLowerCase(o))).join((null==t?void 0:t.delimiter)??" ")+r;var o}const h=Symbol.for("volver");function p(e,t,n){const i=n||e.name;if(!i)return e;const r=null==t?void 0:t[i],o=e.props;return r&&o?{...e,name:i,props:Object.keys(o).reduce(((e,t)=>{if(!(t in r))return e[t]=o[t],e;const n=r[t];return"function"==typeof o[t]||Array.isArray(o[t])?(e[t]={type:o[t],default:n},e):(e[t]={...o[t],default:n},e)}),{})}:{...e,name:i}}class v{constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:i,nuxt:o,iconsCollections:s,defaults:c,experimentalFeatures:l}={}){r(this,"_fetchOptions",{}),r(this,"_iconsCollections",[]),r(this,"_iconsProvider","vv"),r(this,"_nuxt",!1),r(this,"_experimentalFeatures",{}),r(this,"defaults",n.ref({})),t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),i&&(this._iconsProvider=i),o&&(this._nuxt=o),s&&Array.isArray(s)&&s.forEach((e=>{this.addCollection(e,this._iconsProvider)})),c&&(this.defaults.value=c),l&&(this._experimentalFeatures=l)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}get experimentalFeatures(){return this._experimentalFeatures}addCollection(e,n=this._iconsProvider){return this._iconsCollections.push(e),t.addCollection(e,n)}addIcon(e,n){return t.addIcon(e,n)}addIconsAPIProvider(e,n){return t.addAPIProvider(e,n)}fetchIcon(e,t={cache:"force-cache"}){return new Promise(((n,i)=>{fetch(e,{...this._fetchOptions,...t}).catch((e=>i(e))).then((e=>null==e?void 0:e.text())).then((e=>n(e)))}))}}const g={install(e,t={}){const n=new v(t);e.config.globalProperties.$vv=n,t.components&&Object.entries(t.components).forEach((([n,i])=>{e.component(n,p(i,t.defaults))})),t.aliases&&Object.entries(t.aliases).forEach((([n,i])=>{e.component(n,p(i,t.defaults,n))})),t.directives&&Object.entries(t.directives).forEach((([t,n])=>{const i=function(e,t){return d(e,{delimiter:"-",...t})}(t);i.startsWith("v-")&&(t=i.substring(2).toLocaleLowerCase()),e.directive(t,n)})),e.provide(h,n)}};e.VolverPlugin=g,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@iconify/vue"),require("vue")):"function"==typeof define&&define.amd?define(["exports","@iconify/vue","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).volver={},e.vue$1,e.vue)}(this,function(e,t,n){"use strict";const r=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),i=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),o=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),s=/[^\p{L}\d]+/giu,c="$1\0$2";function l(e){let t=e.trim();t=t.replace(r,c).replace(i,c),t=t.replace(s,"\0");let n=0,o=t.length;for(;"\0"===t.charAt(n);)n++;if(n===o)return[];for(;"\0"===t.charAt(o-1);)o--;return t.slice(n,o).split(/\0/g)}function a(e){const t=l(e);for(let n=0;n<t.length;n++){const e=t[n],r=o.exec(e);if(r){const i=r.index+(r[1]??r[2]).length;t.splice(n,1,e.slice(0,i),e.slice(i))}}return t}function u(e,t){const[n,r,i]=function(e,t={}){const n=t.split??(t.separateNumbers?a:l),r=t.prefixCharacters??"",i=t.suffixCharacters??"";let o=0,s=e.length;for(;o<e.length;){const t=e.charAt(o);if(!r.includes(t))break;o++}for(;s>o;){const t=s-1,n=e.charAt(t);if(!i.includes(n))break;s=t}return[e.slice(0,o),n(e.slice(o,s)),e.slice(s)]}(e,t);return n+r.map((o=t?.locale,!1===o?e=>e.toLowerCase():e=>e.toLocaleLowerCase(o))).join(t?.delimiter??" ")+i;var o}const f=Symbol.for("volver");function d(e,t,n){const r=n||e.name;if(!r)return e;const i=t?.[r],o=e.props;return i&&o?{...e,name:r,props:Object.keys(o).reduce((e,t)=>{if(!(t in i))return e[t]=o[t],e;const n=i[t];return"function"==typeof o[t]||Array.isArray(o[t])?(e[t]={type:o[t],default:n},e):(e[t]={...o[t],default:n},e)},{})}:{...e,name:r}}class p{_fetchOptions={};_iconsCollections=[];_iconsProvider="vv";_nuxt=!1;_experimentalFeatures={};defaults=n.ref({});constructor({fetchWithCredentials:e,fetchOptions:t,iconsProvider:n,nuxt:r,iconsCollections:i,defaults:o,experimentalFeatures:s}={}){t&&(this._fetchOptions=t),e&&(this._fetchOptions={...this._fetchOptions,credentials:"include"}),n&&(this._iconsProvider=n),r&&(this._nuxt=r),i&&Array.isArray(i)&&i.forEach(e=>{this.addCollection(e,this._iconsProvider)}),o&&(this.defaults.value=o),s&&(this._experimentalFeatures=s)}get nuxt(){return this._nuxt}get iconsProvider(){return this._iconsProvider}get iconsCollections(){return this._iconsCollections}get experimentalFeatures(){return this._experimentalFeatures}addCollection(e,n=this._iconsProvider){return this._iconsCollections.push(e),t.addCollection(e,n)}addIcon(e,n){return t.addIcon(e,n)}addIconsAPIProvider(e,n){return t.addAPIProvider(e,n)}fetchIcon(e,t={cache:"force-cache"}){return new Promise((n,r)=>{fetch(e,{...this._fetchOptions,...t}).catch(e=>r(e)).then(e=>e?.text()).then(e=>n(e))})}}const h={install(e,t={}){const n=new p(t);e.config.globalProperties.$vv=n,t.components&&Object.entries(t.components).forEach(([n,r])=>{e.component(n,d(r,t.defaults))}),t.aliases&&Object.entries(t.aliases).forEach(([n,r])=>{e.component(n,d(r,t.defaults,n))}),t.directives&&Object.entries(t.directives).forEach(([t,n])=>{const r=function(e,t){return u(e,{delimiter:"-",...t})}(t);r.startsWith("v-")&&(t=r.substring(2).toLocaleLowerCase()),e.directive(t,n)}),e.provide(f,n)}};e.VolverPlugin=h,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -32,7 +32,7 @@ function splitSeparateNumbers(value) {
32
32
  }
33
33
  function noCase(input, options) {
34
34
  const [prefix, words, suffix] = splitPrefixSuffix(input, options);
35
- return prefix + words.map(lowerFactory(options == null ? void 0 : options.locale)).join((options == null ? void 0 : options.delimiter) ?? " ") + suffix;
35
+ return prefix + words.map(lowerFactory(options?.locale)).join(options?.delimiter ?? " ") + suffix;
36
36
  }
37
37
  function kebabCase(input, options) {
38
38
  return noCase(input, { delimiter: "-", ...options });
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).components={})}(this,(function(e){"use strict";const o=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),t=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),r=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),n=/[^\p{L}\d]+/giu,i="$1\0$2";function v(e){let r=e.trim();r=r.replace(o,i).replace(t,i),r=r.replace(n,"\0");let v=0,c=r.length;for(;"\0"===r.charAt(v);)v++;if(v===c)return[];for(;"\0"===r.charAt(c-1);)c--;return r.slice(v,c).split(/\0/g)}function c(e){const o=v(e);for(let t=0;t<o.length;t++){const e=o[t],n=r.exec(e);if(n){const r=n.index+(n[1]??n[2]).length;o.splice(t,1,e.slice(0,r),e.slice(r))}}return o}function s(e,o){const[t,r,n]=function(e,o={}){const t=o.split??(o.separateNumbers?c:v),r=o.prefixCharacters??"",n=o.suffixCharacters??"";let i=0,s=e.length;for(;i<e.length;){const o=e.charAt(i);if(!r.includes(o))break;i++}for(;s>i;){const o=s-1,t=e.charAt(o);if(!n.includes(t))break;s=o}return[e.slice(0,i),t(e.slice(i,s)),e.slice(s)]}(e,o);return t+r.map((i=null==o?void 0:o.locale,!1===i?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i))).join((null==o?void 0:o.delimiter)??" ")+n;var i}function u(e,o){return s(e,{delimiter:"-",...o})}const l=["vv-icon","vv-action"],p=["v-tooltip","v-contextmenu"];function d(e){if(!l.includes(e))return"vv-dropdown"===e?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===e?["vv-select","vv-dropdown-option","vv-dropdown-optgroup","vv-dropdown","vv-dropdown-action"]:"vv-button-group"===e?["vv-button","vv-button-group"]:"vv-accordion-group"===e?["vv-accordion","vv-accordion-group"]:"vv-checkbox-group"===e?["vv-checkbox","vv-checkbox-group"]:"vv-radio-group"===e?["vv-radio","vv-radio-group"]:"vv-alert-group"===e?["vv-alert","vv-alert-group"]:"v-tooltip"===e?["vv-tooltip"]:[e]}function f(e,o){const t=[];if(!o)return t;const r=d(e);return r&&r.forEach((e=>{t.push(`@volverjs/style/${"scss"===o?"scss/":""}components/${e}`)})),t}e.VolverResolver=function({prefix:e="vv",importStyle:o,directives:t,ignore:r,cherryPick:n}={}){return[{type:"component",resolve:t=>{if(!e||!t.toLowerCase().startsWith(e.toLowerCase()))return;const i=u(t).replace(`${e}-`,"vv-");return r&&r.includes(i)?void 0:n?{from:`@volverjs/ui-vue/${i}`,sideEffects:f(i,o)}:{from:"@volverjs/ui-vue/components",sideEffects:f(i,o),name:t}}},{type:"directive",resolve:e=>{if(!t)return;const i=`v-${u(e)}`;return!p.includes(i)||r&&r.includes(i)?void 0:n?{from:`@volverjs/ui-vue/${i}`,sideEffects:f(i,o)}:{from:"@volverjs/ui-vue/directives",sideEffects:f(i,o),name:`v${e}`}}}]},e.getStyleNames=d,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).components={})}(this,function(e){"use strict";const o=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),t=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),r=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),n=/[^\p{L}\d]+/giu,i="$1\0$2";function v(e){let r=e.trim();r=r.replace(o,i).replace(t,i),r=r.replace(n,"\0");let v=0,c=r.length;for(;"\0"===r.charAt(v);)v++;if(v===c)return[];for(;"\0"===r.charAt(c-1);)c--;return r.slice(v,c).split(/\0/g)}function c(e){const o=v(e);for(let t=0;t<o.length;t++){const e=o[t],n=r.exec(e);if(n){const r=n.index+(n[1]??n[2]).length;o.splice(t,1,e.slice(0,r),e.slice(r))}}return o}function s(e,o){const[t,r,n]=function(e,o={}){const t=o.split??(o.separateNumbers?c:v),r=o.prefixCharacters??"",n=o.suffixCharacters??"";let i=0,s=e.length;for(;i<e.length;){const o=e.charAt(i);if(!r.includes(o))break;i++}for(;s>i;){const o=s-1,t=e.charAt(o);if(!n.includes(t))break;s=o}return[e.slice(0,i),t(e.slice(i,s)),e.slice(s)]}(e,o);return t+r.map((i=o?.locale,!1===i?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i))).join(o?.delimiter??" ")+n;var i}function u(e,o){return s(e,{delimiter:"-",...o})}const l=["vv-icon","vv-action"],p=["v-tooltip","v-contextmenu"];function d(e){if(!l.includes(e))return"vv-dropdown"===e?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===e?["vv-select","vv-dropdown-option","vv-dropdown-optgroup","vv-dropdown","vv-dropdown-action"]:"vv-button-group"===e?["vv-button","vv-button-group"]:"vv-accordion-group"===e?["vv-accordion","vv-accordion-group"]:"vv-checkbox-group"===e?["vv-checkbox","vv-checkbox-group"]:"vv-radio-group"===e?["vv-radio","vv-radio-group"]:"vv-alert-group"===e?["vv-alert","vv-alert-group"]:"v-tooltip"===e?["vv-tooltip"]:[e]}function f(e,o){const t=[];if(!o)return t;const r=d(e);return r&&r.forEach(e=>{t.push(`@volverjs/style/${"scss"===o?"scss/":""}components/${e}`)}),t}e.VolverResolver=function({prefix:e="vv",importStyle:o,directives:t,ignore:r,cherryPick:n}={}){return[{type:"component",resolve:t=>{if(!e||!t.toLowerCase().startsWith(e.toLowerCase()))return;const i=u(t).replace(`${e}-`,"vv-");return r&&r.includes(i)?void 0:n?{from:`@volverjs/ui-vue/${i}`,sideEffects:f(i,o)}:{from:"@volverjs/ui-vue/components",sideEffects:f(i,o),name:t}}},{type:"directive",resolve:e=>{if(!t)return;const i=`v-${u(e)}`;return!p.includes(i)||r&&r.includes(i)?void 0:n?{from:`@volverjs/ui-vue/${i}`,sideEffects:f(i,o)}:{from:"@volverjs/ui-vue/directives",sideEffects:f(i,o),name:`v${e}`}}}]},e.getStyleNames=d,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -185,7 +185,7 @@ declare const _default: {
185
185
  }) => any;
186
186
  };
187
187
  })>> | undefined;
188
- globals?: import("storybook/internal/csf").Globals;
188
+ globals?: import("storybook/internal/csf").Globals | undefined;
189
189
  decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3").VueRenderer, {
190
190
  collapse?: boolean | undefined;
191
191
  disabled?: boolean | undefined;
@@ -241,7 +241,7 @@ declare const _default: {
241
241
  collapse: boolean & ((name?: string | string[]) => void);
242
242
  }) => any) | import("vue").VNodeChild;
243
243
  }>[] | undefined;
244
- parameters?: import("@storybook/vue3").Parameters;
244
+ parameters?: import("@storybook/vue3").Parameters | undefined;
245
245
  args?: Partial<import("@storybook/vue3").ComponentPropsAndSlots<{
246
246
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
247
247
  modelValue: {
@@ -12,6 +12,7 @@ export declare const Invalid: Story;
12
12
  export declare const Hint: Story;
13
13
  export declare const Loading: Story;
14
14
  export declare const Searchable: Story;
15
+ export declare const KeepSearch: Story;
15
16
  export declare const Addable: Story;
16
17
  export declare const Floating: Story;
17
18
  export declare const Native: Story;
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.75",
4
+ "version": "0.0.10-beta.77",
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",
@@ -381,65 +381,68 @@
381
381
  "vue": "^3.5.x"
382
382
  },
383
383
  "dependencies": {
384
- "@floating-ui/vue": "^1.1.6",
385
- "@iconify/tools": "^4.1.2",
384
+ "@floating-ui/vue": "^1.1.9",
385
+ "@iconify/tools": "^4.1.3",
386
386
  "@iconify/vue": "^5.0.0",
387
387
  "blurhash": "^2.0.5",
388
388
  "chokidar": "^4.0.3",
389
389
  "comlink": "^4.4.2",
390
- "jsdom": "^26.1.0",
390
+ "dot-prop": "^10.0.0",
391
+ "jsdom": "^27.0.0",
391
392
  "mitt": "^3.0.1",
392
393
  "pica": "^9.0.1",
393
- "ts-dot-prop": "^2.1.4",
394
394
  "vue-imask": "^7.6.1",
395
395
  "vuedraggable": "^4.1.0",
396
396
  "yargs": "^18.0.0"
397
397
  },
398
398
  "devDependencies": {
399
- "@antfu/eslint-config": "4.14.1",
400
- "@babel/core": "^7.27.4",
401
- "@babel/preset-env": "^7.27.2",
399
+ "@antfu/eslint-config": "5.3.0",
400
+ "@babel/core": "^7.28.4",
401
+ "@babel/preset-env": "^7.28.3",
402
402
  "@babel/preset-typescript": "^7.27.1",
403
403
  "@iconify/types": "^2.0.0",
404
- "@iconify/utils": "^2.3.0",
405
- "@nabla/vite-plugin-eslint": "^2.0.5",
406
- "@storybook/addon-a11y": "^9.0.11",
407
- "@storybook/addon-docs": "^9.0.11",
408
- "@storybook/addon-links": "^9.0.11",
409
- "@storybook/cli": "^9.0.11",
404
+ "@iconify/utils": "^3.0.2",
405
+ "@nabla/vite-plugin-eslint": "^2.0.6",
406
+ "@storybook/addon-a11y": "^9.1.6",
407
+ "@storybook/addon-docs": "^9.1.6",
408
+ "@storybook/addon-links": "^9.1.6",
409
+ "@storybook/cli": "^9.1.6",
410
410
  "@storybook/test-runner": "^0.23.0",
411
- "@storybook/vue3-vite": "^9.0.11",
411
+ "@storybook/vue3-vite": "^9.1.6",
412
412
  "@tsconfig/node18": "^18.2.4",
413
413
  "@types/jest-axe": "^3.5.9",
414
414
  "@types/jsdom": "^21.1.7",
415
- "@types/node": "^24.0.3",
415
+ "@types/node": "^24.5.1",
416
416
  "@types/pica": "^9.0.5",
417
417
  "@types/yargs": "^17.0.33",
418
- "@vitejs/plugin-vue": "^5.2.4",
419
- "@vue/compiler-sfc": "^3.5.16",
420
- "@vue/eslint-config-typescript": "^14.5.1",
418
+ "@vitejs/plugin-vue": "^6.0.1",
419
+ "@volverjs/style": "^0.1.22",
420
+ "@vue/compiler-sfc": "^3.5.21",
421
+ "@vue/eslint-config-typescript": "^14.6.0",
421
422
  "@vue/test-utils": "^2.4.6",
422
- "@vue/tsconfig": "^0.7.0",
423
- "@vueless/storybook-dark-mode": "^9.0.5",
423
+ "@vue/tsconfig": "^0.8.1",
424
+ "@vueless/storybook-dark-mode": "^9.0.8",
425
+ "@vueuse/core": "^13.9.0",
424
426
  "change-case": "^5.4.4",
425
- "eslint": "^9.29.0",
427
+ "eslint": "^9.35.0",
426
428
  "glob": "^11.0.3",
427
429
  "jest-axe": "^10.0.0",
428
- "jsdom": "^26.1.0",
430
+ "jsdom": "^27.0.0",
429
431
  "npm-run-all": "^4.1.5",
430
- "prettier": "^3.5.3",
432
+ "prettier": "^3.6.2",
431
433
  "remark": "^15.0.1",
432
- "sass-embedded": "1.89.2",
433
- "storybook": "^9.0.11",
434
+ "sass-embedded": "1.92.1",
435
+ "storybook": "^9.1.6",
434
436
  "storybook-addon-markdown-docs": "^2.0.0",
435
- "terser": "^5.42.0",
437
+ "terser": "^5.44.0",
436
438
  "ts-node": "^10.9.2",
437
- "typescript": "~5.8.3",
438
- "unplugin-auto-import": "^19.3.0",
439
- "unplugin-vue-components": "^28.7.0",
440
- "vite": "^6.3.5",
439
+ "typescript": "~5.9.2",
440
+ "unplugin-auto-import": "^20.1.0",
441
+ "unplugin-vue-components": "^29.0.0",
442
+ "vite": "^7.1.5",
441
443
  "vite-plugin-externalize-deps": "^0.9.0",
442
- "vue-tsc": "^2.2.10"
444
+ "vue": "^3.5.21",
445
+ "vue-tsc": "^3.0.7"
443
446
  },
444
447
  "scripts": {
445
448
  "dev": "storybook dev -p 6006",