@volverjs/ui-vue 0.0.5-beta.2 → 0.0.5-beta.3

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 (30) hide show
  1. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +7 -1
  2. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  3. package/dist/components/VvCombobox/VvCombobox.es.js +157 -61
  4. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  5. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +0 -8
  6. package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +6 -0
  7. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +237 -0
  8. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -0
  9. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +7 -1
  10. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  11. package/dist/components/VvSelect/VvSelect.es.js +42 -10
  12. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  13. package/dist/components/VvSelect/VvSelect.vue.d.ts +4 -3
  14. package/dist/components/index.es.js +227 -131
  15. package/dist/components/index.umd.js +1 -1
  16. package/dist/composables/useOptions.d.ts +1 -0
  17. package/dist/icons.es.js +3 -3
  18. package/dist/icons.umd.js +1 -1
  19. package/dist/resolvers/unplugin.es.js +2 -1
  20. package/dist/resolvers/unplugin.umd.js +1 -1
  21. package/package.json +9 -1
  22. package/src/assets/icons/detailed.json +1 -1
  23. package/src/assets/icons/normal.json +1 -1
  24. package/src/assets/icons/simple.json +1 -1
  25. package/src/components/VvCombobox/VvCombobox.vue +80 -25
  26. package/src/components/VvDropdown/VvDropdownOptgroup.vue +18 -0
  27. package/src/components/VvSelect/VvSelect.vue +38 -10
  28. package/src/composables/useOptions.ts +6 -0
  29. package/src/resolvers/unplugin.ts +2 -1
  30. package/src/types/generic.d.ts +2 -1
@@ -16,8 +16,9 @@ const getStyleNames = function(kebabName) {
16
16
  if (kebabName === "vv-combobox") {
17
17
  return [
18
18
  "vv-select",
19
- "vv-dropdown",
20
19
  "vv-dropdown-option",
20
+ "vv-dropdown-optgroup",
21
+ "vv-dropdown",
21
22
  "vv-dropdown-action"
22
23
  ];
23
24
  }
@@ -1 +1 @@
1
- !function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((o="undefined"!=typeof globalThis?globalThis:o||self).components={})}(this,(function(o){"use strict";function e(o,e){if("string"!=typeof o)throw new TypeError("expected a string");return o.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,(o=>/[À-ž]/.test(o)?o:"-")).replace(/^-+|-+$/g,"").replace(/-{2,}/g,(o=>(null==e?void 0:e.condense)?"-":o)).toLowerCase()}const t=["vv-icon","vv-action"],r="vv",n=["v-tooltip"],v=function(o){if(!t.includes(o))return"vv-dropdown"===o?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===o?["vv-select","vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-accordion-group"===o?["vv-accordion-group","vv-accordion"]:"vv-checkbox-group"===o?["vv-checkbox-group","vv-checkbox"]:"vv-radio-group"===o?["vv-radio-group","vv-radio"]:"v-tooltip"===o?["vv-tooltip"]:[o]},i=function(o,e){const t=[];if(!e)return t;const r=v(o);return r&&r.forEach((o=>{t.push(`@volverjs/style/${"scss"===e?"scss/":""}components/${o}`)})),t};o.VolverResolver=function({prefix:o=r,importStyle:t,directives:v,ignore:c}={}){return[{type:"component",resolve:n=>{if(!o||!n.toLowerCase().startsWith(o.toLowerCase()))return;const v=e(n).replace(`${o}-`,`${r}-`);return c&&c.includes(v)?void 0:{from:`@volverjs/ui-vue/${v}`,sideEffects:i(v,t)}}},{type:"directive",resolve:o=>{if(!v)return;const r=`v-${e(o)}`;return!n.includes(r)||c&&c.includes(r)?void 0:{from:`@volverjs/ui-vue/${r}`,sideEffects:i(r,t)}}}]},o.getStyleNames=v,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
1
+ !function(o,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((o="undefined"!=typeof globalThis?globalThis:o||self).components={})}(this,(function(o){"use strict";function e(o,e){if("string"!=typeof o)throw new TypeError("expected a string");return o.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,(o=>/[À-ž]/.test(o)?o:"-")).replace(/^-+|-+$/g,"").replace(/-{2,}/g,(o=>(null==e?void 0:e.condense)?"-":o)).toLowerCase()}const r=["vv-icon","vv-action"],t="vv",n=["v-tooltip"],v=function(o){if(!r.includes(o))return"vv-dropdown"===o?["vv-dropdown","vv-dropdown-option","vv-dropdown-action"]:"vv-combobox"===o?["vv-select","vv-dropdown-option","vv-dropdown-optgroup","vv-dropdown","vv-dropdown-action"]:"vv-accordion-group"===o?["vv-accordion-group","vv-accordion"]:"vv-checkbox-group"===o?["vv-checkbox-group","vv-checkbox"]:"vv-radio-group"===o?["vv-radio-group","vv-radio"]:"v-tooltip"===o?["vv-tooltip"]:[o]},i=function(o,e){const r=[];if(!e)return r;const t=v(o);return t&&t.forEach((o=>{r.push(`@volverjs/style/${"scss"===e?"scss/":""}components/${o}`)})),r};o.VolverResolver=function({prefix:o=t,importStyle:r,directives:v,ignore:c}={}){return[{type:"component",resolve:n=>{if(!o||!n.toLowerCase().startsWith(o.toLowerCase()))return;const v=e(n).replace(`${o}-`,`${t}-`);return c&&c.includes(v)?void 0:{from:`@volverjs/ui-vue/${v}`,sideEffects:i(v,r)}}},{type:"directive",resolve:o=>{if(!v)return;const t=`v-${e(o)}`;return!n.includes(t)||c&&c.includes(t)?void 0:{from:`@volverjs/ui-vue/${t}`,sideEffects:i(t,r)}}}]},o.getStyleNames=v,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "bugs": {
20
20
  "url": "https://github.com/volverjs/ui-vue/issues"
21
21
  },
22
- "version": "0.0.5-beta.2",
22
+ "version": "0.0.5-beta.3",
23
23
  "engines": {
24
24
  "node": ">= 16.x"
25
25
  },
@@ -190,6 +190,9 @@
190
190
  "vv-dropdown-item": [
191
191
  "dist/components/VvDropdownItem/VvDropdownItem.vue.d.ts"
192
192
  ],
193
+ "vv-dropdown-optgroup": [
194
+ "dist/components/VvDropdownOptgroup/VvDropdownOptgroup.vue.d.ts"
195
+ ],
193
196
  "vv-dropdown-option": [
194
197
  "dist/components/VvDropdownOption/VvDropdownOption.vue.d.ts"
195
198
  ],
@@ -332,6 +335,11 @@
332
335
  "import": "./dist/components/VvDropdownItem/VvDropdownItem.es.js",
333
336
  "default": "./dist/components/VvDropdownItem/VvDropdownItem.umd.js"
334
337
  },
338
+ "./vv-dropdown-optgroup": {
339
+ "types": "./dist/components/VvDropdownOptgroup/VvDropdownOptgroup.vue.d.ts",
340
+ "import": "./dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js",
341
+ "default": "./dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js"
342
+ },
335
343
  "./vv-dropdown-option": {
336
344
  "types": "./dist/components/VvDropdownOption/VvDropdownOption.vue.d.ts",
337
345
  "import": "./dist/components/VvDropdownOption/VvDropdownOption.es.js",