@volverjs/ui-vue 0.0.5-beta.2 → 0.0.5-beta.4
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/VvCheckboxGroup/VvCheckboxGroup.es.js +7 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +171 -64
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +0 -8
- package/dist/components/VvDropdown/VvDropdownOptgroup.vue.d.ts +6 -0
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +237 -0
- package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.umd.js +1 -0
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +7 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.es.js +42 -10
- package/dist/components/VvSelect/VvSelect.umd.js +1 -1
- package/dist/components/VvSelect/VvSelect.vue.d.ts +4 -3
- package/dist/components/index.es.js +241 -134
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/useOptions.d.ts +1 -0
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/resolvers/unplugin.es.js +2 -1
- package/dist/resolvers/unplugin.umd.js +1 -1
- package/package.json +9 -1
- 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 +95 -28
- package/src/components/VvDropdown/VvDropdownOptgroup.vue +18 -0
- package/src/components/VvSelect/VvSelect.vue +38 -10
- package/src/composables/useOptions.ts +6 -0
- package/src/resolvers/unplugin.ts +2 -1
- package/src/stories/Combobox/ComboboxOptions.stories.mdx +35 -0
- package/src/stories/Select/SelectOptions.stories.mdx +35 -0
- package/src/types/generic.d.ts +2 -1
|
@@ -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
|
|
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.
|
|
22
|
+
"version": "0.0.5-beta.4",
|
|
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",
|