@volverjs/ui-vue 0.0.10-beta.3 → 0.0.10-beta.5

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 (44) hide show
  1. package/dist/components/VvAccordion/VvAccordion.es.js +2 -2
  2. package/dist/components/VvAccordion/VvAccordion.umd.js +1 -1
  3. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +2 -2
  4. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  5. package/dist/components/VvAlert/VvAlert.es.js +2 -2
  6. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  7. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +2 -2
  8. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  9. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +2 -2
  10. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  11. package/dist/components/VvButton/VvButton.es.js +2 -2
  12. package/dist/components/VvButton/VvButton.umd.js +1 -1
  13. package/dist/components/VvCheckbox/VvCheckbox.es.js +2 -2
  14. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  15. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +2 -2
  16. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  17. package/dist/components/VvCombobox/VvCombobox.es.js +2 -2
  18. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  19. package/dist/components/VvDropdown/VvDropdown.es.js +2 -2
  20. package/dist/components/VvDropdown/VvDropdown.umd.js +1 -1
  21. package/dist/components/VvInputText/VvInputText.es.js +2 -2
  22. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  23. package/dist/components/VvRadio/VvRadio.es.js +2 -2
  24. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  25. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +2 -2
  26. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  27. package/dist/components/VvSelect/VvSelect.es.js +2 -2
  28. package/dist/components/VvSelect/VvSelect.umd.js +1 -1
  29. package/dist/components/VvTextarea/VvTextarea.es.js +2 -2
  30. package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
  31. package/dist/components/index.es.js +3 -3
  32. package/dist/components/index.umd.js +1 -1
  33. package/dist/icons.es.js +3 -3
  34. package/dist/icons.umd.js +1 -1
  35. package/dist/index.es.js +19 -16
  36. package/dist/index.umd.js +1 -1
  37. package/package.json +31 -31
  38. package/src/Volver.ts +22 -16
  39. package/src/assets/icons/detailed.json +1 -1
  40. package/src/assets/icons/normal.json +1 -1
  41. package/src/assets/icons/simple.json +1 -1
  42. package/src/components/VvAccordion/VvAccordion.vue +2 -2
  43. package/src/composables/useUniqueId.ts +2 -2
  44. package/src/stories/argTypes.ts +1 -1
@@ -5,7 +5,7 @@
5
5
  </script>
6
6
 
7
7
  <script setup lang="ts">
8
- import { nanoid } from 'nanoid'
8
+ import { uid } from 'uid'
9
9
  import { VvAccordionEvents, VvAccordionProps, useGroupProps } from '.'
10
10
 
11
11
  // props, attrs and emit
@@ -15,7 +15,7 @@
15
15
 
16
16
  // data
17
17
  const accordionName = computed(
18
- () => props.name || (attrs?.id as string) || nanoid(),
18
+ () => props.name || (attrs?.id as string) || uid(),
19
19
  )
20
20
  const {
21
21
  modifiers,
@@ -1,5 +1,5 @@
1
- import { nanoid } from 'nanoid'
1
+ import { uid } from 'uid'
2
2
  import type { Ref } from 'vue'
3
3
 
4
4
  export const useUniqueId = (id?: Ref<string | number | undefined>) =>
5
- computed(() => String(id?.value || nanoid()))
5
+ computed(() => String(id?.value || uid()))
@@ -238,7 +238,7 @@ export const IdNameArgTypes = {
238
238
  },
239
239
  table: {
240
240
  defaultValue: {
241
- summary: 'nanoid',
241
+ summary: 'uid',
242
242
  },
243
243
  },
244
244
  },