@voicenter-team/voicenter-ui-plus 3.1.1 → 3.3.0

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 (35) hide show
  1. package/README.md +502 -459
  2. package/library/assets/assets/sass/main.css +1 -1
  3. package/library/assets/components/VcCheckbox/VcCheckboxButton.css +1 -0
  4. package/library/assets/components/VcMdEditor/VcMdEditorContent.css +1 -1
  5. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +101 -0
  6. package/library/components/VcCheckbox/VcCheckboxButton.vue3.mjs +5 -0
  7. package/library/components/VcCheckbox/VcCheckboxButtonGroup.vue.mjs +89 -0
  8. package/library/components/VcCheckbox/VcCheckboxButtonGroup.vue2.mjs +4 -0
  9. package/library/components/VcCheckboxGroup/VcCheckboxGroup.vue.mjs +8 -5
  10. package/library/components/VcRadioButtons/VcRadioButtonsGroup.vue.mjs +2 -1
  11. package/library/font/index.mjs +4 -3
  12. package/library/index.mjs +289 -284
  13. package/library/index.mjs.br +0 -0
  14. package/library/index.mjs.gz +0 -0
  15. package/library/localization/index.mjs.gz +0 -0
  16. package/library/plugin-components.gen.mjs +294 -0
  17. package/library/plugin.mjs +291 -377
  18. package/library/plugin.mjs.br +0 -0
  19. package/library/plugin.mjs.gz +0 -0
  20. package/library/style.css +4 -2
  21. package/library/style.css.br +0 -0
  22. package/library/style.css.gz +0 -0
  23. package/library/theme/index.mjs.gz +0 -0
  24. package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +86 -0
  25. package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +86 -0
  26. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +4 -2
  27. package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +3 -0
  28. package/library/types/components/exports.d.ts +48 -2
  29. package/library/types/components.gen.d.ts +105 -0
  30. package/library/types/index.d.ts +1 -103
  31. package/library/types/plugin-components.gen.d.ts +2 -0
  32. package/library/utils/jsonSchema/helpers.mjs +1 -1
  33. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  34. package/package.json +164 -156
  35. package/tailwind.config.js +192 -190
@@ -87,7 +87,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
87
  default: withCtx(() => [
88
88
  _ctx.$slots.item ? renderSlot(_ctx.$slots, "item", {
89
89
  key: 0,
90
- option: radioItem
90
+ option: radioItem,
91
+ active: radioItem.value === radioModel.value
91
92
  }, () => [
92
93
  createTextVNode(toDisplayString(radioItem.label), 1)
93
94
  ]) : createCommentVNode("", true)
@@ -11,15 +11,16 @@ function loadIconFont() {
11
11
  }
12
12
  async function loadTextFont() {
13
13
  const step = 100;
14
+ const from = 300;
14
15
  const upTo = 900;
15
16
  const fontWeights = [];
16
- for (let i = 1; i <= upTo / step; i++) {
17
- fontWeights.push(i * step);
17
+ for (let weight = from; weight <= upTo; weight += step) {
18
+ fontWeights.push(weight);
18
19
  }
19
20
  const fontWeightsString = fontWeights.join(",");
20
21
  FontLoaderAPI.load({
21
22
  google: {
22
- families: [`Heebo:${fontWeightsString}`, `Inter:${fontWeightsString}`]
23
+ families: [`Rubik:${fontWeightsString}`]
23
24
  }
24
25
  });
25
26
  }