@volverjs/ui-vue 0.0.10-beta.7 → 0.0.10-beta.8

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 (87) hide show
  1. package/bin/icons.cjs +1 -1
  2. package/bin/icons.js +22 -15
  3. package/dist/Volver.d.ts +0 -1
  4. package/dist/components/VvAccordion/VvAccordion.es.js +10 -2
  5. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +52 -25
  6. package/dist/components/VvAction/VvAction.es.js +6 -1
  7. package/dist/components/VvAlert/VvAlert.es.js +73 -43
  8. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  9. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +113 -64
  10. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  11. package/dist/components/VvAvatar/VvAvatar.es.js +1 -1
  12. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  13. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +56 -26
  14. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  15. package/dist/components/VvBadge/VvBadge.es.js +18 -8
  16. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +61 -38
  17. package/dist/components/VvButton/VvButton.es.js +45 -17
  18. package/dist/components/VvButton/VvButton.umd.js +1 -1
  19. package/dist/components/VvButton/VvButton.vue.d.ts +3 -3
  20. package/dist/components/VvButton/index.d.ts +2 -2
  21. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +12 -6
  22. package/dist/components/VvCard/VvCard.es.js +26 -16
  23. package/dist/components/VvCard/VvCard.umd.js +1 -1
  24. package/dist/components/VvCheckbox/VvCheckbox.es.js +9 -2
  25. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +78 -44
  26. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  27. package/dist/components/VvCheckboxGroup/index.d.ts +1 -1
  28. package/dist/components/VvCombobox/VvCombobox.es.js +587 -368
  29. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  30. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +3 -3
  31. package/dist/components/VvCombobox/index.d.ts +1 -1
  32. package/dist/components/VvDialog/VvDialog.es.js +44 -27
  33. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  34. package/dist/components/VvDropdown/VvDropdown.es.js +64 -44
  35. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  36. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +3 -3
  37. package/dist/components/VvDropdown/index.d.ts +1 -1
  38. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +26 -9
  39. package/dist/components/VvDropdownItem/VvDropdownItem.es.js +13 -7
  40. package/dist/components/VvDropdownOptgroup/VvDropdownOptgroup.es.js +7 -1
  41. package/dist/components/VvDropdownOption/VvDropdownOption.es.js +19 -8
  42. package/dist/components/VvIcon/VvIcon.es.js +1 -1
  43. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  44. package/dist/components/VvInputText/VvInputText.es.js +126 -97
  45. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  46. package/dist/components/VvNav/VvNav.es.js +50 -26
  47. package/dist/components/VvNav/VvNav.vue.d.ts +3 -3
  48. package/dist/components/VvNav/index.d.ts +1 -1
  49. package/dist/components/VvNavItem/VvNavItem.es.js +19 -7
  50. package/dist/components/VvProgress/VvProgress.es.js +12 -6
  51. package/dist/components/VvRadio/VvRadio.es.js +9 -2
  52. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +78 -44
  53. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  54. package/dist/components/VvRadioGroup/index.d.ts +1 -1
  55. package/dist/components/VvSelect/VvSelect.es.js +133 -94
  56. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  57. package/dist/components/VvSelect/index.d.ts +1 -1
  58. package/dist/components/VvTab/VvTab.es.js +98 -44
  59. package/dist/components/VvTab/VvTab.umd.js +1 -1
  60. package/dist/components/VvTextarea/VvTextarea.es.js +99 -74
  61. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  62. package/dist/components/VvTooltip/VvTooltip.es.js +19 -9
  63. package/dist/components/VvTooltip/VvTooltip.vue.d.ts +3 -3
  64. package/dist/components/VvTooltip/index.d.ts +1 -1
  65. package/dist/components/index.es.js +1355 -836
  66. package/dist/components/index.umd.js +1 -1
  67. package/dist/composables/useVolver.d.ts +1 -1
  68. package/dist/directives/index.d.ts +3 -5
  69. package/dist/directives/index.es.js +39 -23
  70. package/dist/directives/index.umd.js +1 -1
  71. package/dist/directives/v-tooltip.es.js +37 -18
  72. package/dist/directives/v-tooltip.umd.js +1 -1
  73. package/dist/icons.es.js +3 -3
  74. package/dist/icons.umd.js +1 -1
  75. package/dist/index.d.ts +3 -1
  76. package/dist/props/index.d.ts +1 -1
  77. package/dist/types/generic.d.ts +1 -1
  78. package/package.json +31 -31
  79. package/src/Volver.ts +0 -1
  80. package/src/assets/icons/detailed.json +1 -1
  81. package/src/assets/icons/normal.json +1 -1
  82. package/src/assets/icons/simple.json +1 -1
  83. package/src/components/VvInputText/VvInputText.vue +2 -2
  84. package/src/directives/index.ts +1 -4
  85. package/src/directives/v-tooltip.ts +19 -10
  86. package/src/index.ts +3 -1
  87. package/src/types/generic.ts +2 -1
@@ -284,27 +284,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
284
284
  }))
285
285
  );
286
286
  return (_ctx, _cache) => {
287
- return openBlock(), createElementBlock("span", {
288
- class: normalizeClass(unref(bemCssClasses)),
289
- role: "tooltip",
290
- inert: ""
291
- }, [
292
- renderSlot(_ctx.$slots, "default", {}, () => [
293
- createTextVNode(toDisplayString(_ctx.value), 1)
294
- ])
295
- ], 2);
287
+ return openBlock(), createElementBlock(
288
+ "span",
289
+ {
290
+ class: normalizeClass(unref(bemCssClasses)),
291
+ role: "tooltip",
292
+ inert: ""
293
+ },
294
+ [
295
+ renderSlot(_ctx.$slots, "default", {}, () => [
296
+ createTextVNode(
297
+ toDisplayString(_ctx.value),
298
+ 1
299
+ /* TEXT */
300
+ )
301
+ ])
302
+ ],
303
+ 2
304
+ /* CLASS */
305
+ );
296
306
  };
297
307
  }
298
308
  });
299
- const tooltip = {
300
- beforeMount(el, binding) {
301
- const tooltip2 = h(_sfc_main, {
302
- value: binding.value,
303
- position: binding.arg
304
- });
305
- render(tooltip2, el);
306
- }
307
- };
309
+ const tooltip = (() => {
310
+ return {
311
+ beforeMount(el, binding) {
312
+ const tooltip2 = h(_sfc_main, {
313
+ value: binding.value,
314
+ position: binding.arg
315
+ });
316
+ render(tooltip2, el);
317
+ },
318
+ updated(el, binding) {
319
+ const tooltip2 = h(_sfc_main, {
320
+ value: binding.value,
321
+ position: binding.arg
322
+ });
323
+ render(tooltip2, el);
324
+ }
325
+ };
326
+ })();
308
327
  export {
309
328
  tooltip as default
310
329
  };
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self)["v-tooltip"]=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{});Boolean,Boolean,Boolean,Boolean;const r={modifiers:[String,Array]};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button;const l={...r,position:{type:String,default:o.bottom},value:{type:String}};const i=e.defineComponent({__name:"VvTooltip",props:l,setup(o){const t=o,{modifiers:n}=e.toRefs(t),r=function(o,t,n){return e.computed((()=>{const r={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(r[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{r[`${o}--${t}`]=e.unref(n.value[t])})),r}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}});return{beforeMount(o,t){const n=e.h(i,{value:t.value,position:t.arg});e.render(n,o)}}}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("vue")):"function"==typeof define&&define.amd?define(["vue"],o):(e="undefined"!=typeof globalThis?globalThis:e||self)["v-tooltip"]=o(e.vue)}(this,(function(e){"use strict";var o=(e=>(e.left="left",e.right="right",e.top="top",e.bottom="bottom",e))(o||{}),t=(e=>(e.before="before",e.after="after",e))(t||{}),n=(e=>(e.button="button",e.submit="submit",e.reset="reset",e))(n||{});Boolean,Boolean,Boolean,Boolean;const r={modifiers:[String,Array]};t.before,o.bottom,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,n.button;const l={...r,position:{type:String,default:o.bottom},value:{type:String}};const a=e.defineComponent({__name:"VvTooltip",props:l,setup(o){const t=o,{modifiers:n}=e.toRefs(t),r=function(o,t,n){return e.computed((()=>{const r={[o]:!0},l="string"==typeof(null==t?void 0:t.value)?t.value.split(" "):null==t?void 0:t.value;return l&&Array.isArray(l)&&l.forEach((e=>{e&&(r[`${o}--${e}`]=!0)})),n&&Object.keys(n.value).forEach((t=>{r[`${o}--${t}`]=e.unref(n.value[t])})),r}))}("vv-tooltip",n,e.computed((()=>({[t.position]:!0}))));return(o,t)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r)),role:"tooltip",inert:""},[e.renderSlot(o.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]))],2))}});return{beforeMount(o,t){const n=e.h(a,{value:t.value,position:t.arg});e.render(n,o)},updated(o,t){const n=e.h(a,{value:t.value,position:t.arg});e.render(n,o)}}}));
package/dist/icons.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const prefix$2 = "normal";
2
- const lastModified$2 = 1695740555;
2
+ const lastModified$2 = 1696585958;
3
3
  const icons$3 = {
4
4
  add: {
5
5
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
@@ -614,7 +614,7 @@ const normal = {
614
614
  height: height$1
615
615
  };
616
616
  const prefix$1 = "detailed";
617
- const lastModified$1 = 1695740555;
617
+ const lastModified$1 = 1696585958;
618
618
  const icons$2 = {
619
619
  add: {
620
620
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
@@ -1227,7 +1227,7 @@ const detailed = {
1227
1227
  height
1228
1228
  };
1229
1229
  const prefix = "simple";
1230
- const lastModified = 1695740555;
1230
+ const lastModified = 1696585958;
1231
1231
  const icons$1 = {
1232
1232
  add: {
1233
1233
  body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'