bonkers-ui 1.0.68 → 1.0.70

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 (199) hide show
  1. package/.eslintrc.js +12 -2
  2. package/CONSTANTS.d.ts +3 -1
  3. package/CONSTANTS.d.ts.map +1 -1
  4. package/_types/colors.d.ts +4 -0
  5. package/_types/colors.d.ts.map +1 -1
  6. package/_types/colors.js +1 -1
  7. package/_types/colors.js.map +1 -1
  8. package/_types/sizing.d.ts +28 -4
  9. package/_types/sizing.d.ts.map +1 -1
  10. package/_types/sizing.js +1 -1
  11. package/_types/sizing.js.map +1 -1
  12. package/bonkers-ui.umd.js +7 -7
  13. package/bonkers-ui.umd.js.map +1 -1
  14. package/components/ui-alert/index.d.ts +3 -3
  15. package/components/ui-alert/ui-alert.vue.d.ts +8 -6
  16. package/components/ui-alert/ui-alert.vue.d.ts.map +1 -1
  17. package/components/ui-alert/ui-alert.vue.js +3 -3
  18. package/components/ui-badge/_typings.d.ts +5 -1
  19. package/components/ui-badge/_typings.d.ts.map +1 -1
  20. package/components/ui-badge/_typings.js +3 -3
  21. package/components/ui-badge/_typings.js.map +1 -1
  22. package/components/ui-badge/index.d.ts +50 -14
  23. package/components/ui-badge/index.d.ts.map +1 -1
  24. package/components/ui-badge/ui-badge.vue.d.ts +34 -10
  25. package/components/ui-badge/ui-badge.vue.d.ts.map +1 -1
  26. package/components/ui-badge/ui-badge.vue.js +41 -35
  27. package/components/ui-badge/ui-badge.vue.js.map +1 -1
  28. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +2 -2
  29. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +1 -1
  30. package/components/ui-button/index.d.ts +3 -3
  31. package/components/ui-button/ui-button.vue.d.ts +8 -6
  32. package/components/ui-button/ui-button.vue.d.ts.map +1 -1
  33. package/components/ui-button/ui-button.vue.js +4 -4
  34. package/components/ui-button/ui-button.vue.js.map +1 -1
  35. package/components/ui-card-cta/index.d.ts +3 -3
  36. package/components/ui-card-cta/ui-card-cta.vue.d.ts +16 -14
  37. package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +1 -1
  38. package/components/ui-card-cta/ui-card-cta.vue.js +1 -1
  39. package/components/ui-card-result/index.d.ts +3 -3
  40. package/components/ui-card-result/ui-card-result.vue.d.ts +16 -14
  41. package/components/ui-card-result/ui-card-result.vue.d.ts.map +1 -1
  42. package/components/ui-card-result/ui-card-result.vue.js +4 -4
  43. package/components/ui-card-result/ui-card-result.vue2.js +14 -14
  44. package/components/ui-card-simple/_typings.d.ts +5 -0
  45. package/components/ui-card-simple/_typings.d.ts.map +1 -0
  46. package/components/ui-card-simple/index.d.ts +3 -3
  47. package/components/ui-card-simple/ui-card-simple.vue.d.ts +4 -2
  48. package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +1 -1
  49. package/components/ui-card-simple/ui-card-simple.vue.js +7 -8
  50. package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -1
  51. package/components/ui-checkbox/index.d.ts +3 -3
  52. package/components/ui-checkbox/ui-checkbox.vue.d.ts +14 -12
  53. package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +1 -1
  54. package/components/ui-dropdown/index.d.ts +3 -3
  55. package/components/ui-dropdown/ui-dropdown.vue.d.ts +14 -12
  56. package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +1 -1
  57. package/components/ui-dropdown/ui-dropdown.vue.js +4 -4
  58. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -1
  59. package/components/ui-icon/ui-icon.vue.d.ts +2 -2
  60. package/components/ui-icon/ui-icon.vue.d.ts.map +1 -1
  61. package/components/ui-icon/ui-icon.vue.js +19 -15
  62. package/components/ui-icon/ui-icon.vue.js.map +1 -1
  63. package/components/ui-icon-wrapper/index.d.ts +3 -3
  64. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +6 -4
  65. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +1 -1
  66. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +2 -2
  67. package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +2 -2
  68. package/components/ui-input/index.d.ts +3 -3
  69. package/components/ui-input/ui-input.vue.d.ts +33 -31
  70. package/components/ui-input/ui-input.vue.d.ts.map +1 -1
  71. package/components/ui-input/ui-input.vue.js +3 -3
  72. package/components/ui-input/ui-input.vue.js.map +1 -1
  73. package/components/ui-input-range/ui-input-range.vue.d.ts.map +1 -1
  74. package/components/ui-input-range/ui-input-range.vue.js +2 -2
  75. package/components/ui-input-range/ui-input-range.vue2.js +11 -11
  76. package/components/ui-input-range/ui-input-range.vue2.js.map +1 -1
  77. package/components/ui-list-item/index.d.ts +7 -7
  78. package/components/ui-list-item/ui-list-item.vue.d.ts +21 -19
  79. package/components/ui-list-item/ui-list-item.vue.d.ts.map +1 -1
  80. package/components/ui-list-item/ui-list-item.vue.js +6 -6
  81. package/components/ui-modal/index.d.ts +3 -3
  82. package/components/ui-modal/ui-backdrop/index.d.ts +3 -3
  83. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +4 -2
  84. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +1 -1
  85. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +6 -6
  86. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -1
  87. package/components/ui-modal/ui-modal.vue.d.ts +13 -11
  88. package/components/ui-modal/ui-modal.vue.d.ts.map +1 -1
  89. package/components/ui-modal/ui-modal.vue.js +2 -2
  90. package/components/ui-modal/ui-modal.vue2.js +20 -24
  91. package/components/ui-modal/ui-modal.vue2.js.map +1 -1
  92. package/components/ui-notification-badge/index.d.ts +3 -3
  93. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +8 -6
  94. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +1 -1
  95. package/components/ui-notification-badge/ui-notification-badge.vue.js +1 -1
  96. package/components/ui-order-card/index.d.ts +3 -3
  97. package/components/ui-order-card/ui-order-card.vue.d.ts +10 -8
  98. package/components/ui-order-card/ui-order-card.vue.d.ts.map +1 -1
  99. package/components/ui-order-card/ui-order-card.vue.js +4 -4
  100. package/components/ui-order-card/ui-order-card.vue.js.map +1 -1
  101. package/components/ui-plain-radio/index.d.ts +3 -3
  102. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +13 -11
  103. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +1 -1
  104. package/components/ui-plain-radio/ui-plain-radio.vue.js +5 -5
  105. package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -1
  106. package/components/ui-product-card/index.d.ts +2 -0
  107. package/components/ui-product-card/index.d.ts.map +1 -0
  108. package/components/ui-product-card/index.js +5 -0
  109. package/components/ui-product-card/index.js.map +1 -0
  110. package/components/ui-product-card/ui-product-card.vue.d.ts +32 -0
  111. package/components/ui-product-card/ui-product-card.vue.d.ts.map +1 -0
  112. package/components/ui-product-card/ui-product-card.vue.js +64 -0
  113. package/components/ui-product-card/ui-product-card.vue.js.map +1 -0
  114. package/components/ui-product-card/ui-product-card.vue2.js +5 -0
  115. package/components/ui-product-card/ui-product-card.vue2.js.map +1 -0
  116. package/components/ui-progress/index.d.ts +9 -0
  117. package/components/ui-progress/index.d.ts.map +1 -1
  118. package/components/ui-progress/ui-progress.vue.d.ts +5 -0
  119. package/components/ui-progress/ui-progress.vue.d.ts.map +1 -1
  120. package/components/ui-progress/ui-progress.vue.js +29 -13
  121. package/components/ui-progress/ui-progress.vue.js.map +1 -1
  122. package/components/ui-radio/index.d.ts +3 -3
  123. package/components/ui-radio/ui-radio.vue.d.ts +12 -10
  124. package/components/ui-radio/ui-radio.vue.d.ts.map +1 -1
  125. package/components/ui-radio/ui-radio.vue.js +2 -2
  126. package/components/ui-radio/ui-radio.vue2.js +9 -9
  127. package/components/ui-radio/ui-radio.vue2.js.map +1 -1
  128. package/components/ui-radio-compact/index.d.ts +3 -3
  129. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +8 -6
  130. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +1 -1
  131. package/components/ui-radio-compact/ui-radio-compact.vue.js +5 -5
  132. package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -1
  133. package/components/ui-radio-fancy/index.d.ts +3 -3
  134. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +12 -10
  135. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +1 -1
  136. package/components/ui-radio-fancy/ui-radio-fancy.vue.js +20 -20
  137. package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -1
  138. package/components/ui-result-card-range/index.d.ts +3 -3
  139. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +10 -8
  140. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +1 -1
  141. package/components/ui-result-card-range/ui-result-card-range.vue.js +2 -2
  142. package/components/ui-ripple/index.d.ts +3 -3
  143. package/components/ui-ripple/ui-ripple.vue.d.ts +4 -2
  144. package/components/ui-ripple/ui-ripple.vue.d.ts.map +1 -1
  145. package/components/ui-select/index.d.ts +3 -3
  146. package/components/ui-select/ui-select.vue.d.ts +15 -13
  147. package/components/ui-select/ui-select.vue.d.ts.map +1 -1
  148. package/components/ui-select/ui-select.vue.js +5 -5
  149. package/components/ui-select/ui-select.vue.js.map +1 -1
  150. package/components/ui-skeleton/ui-skeleton.vue.d.ts +2 -2
  151. package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +1 -1
  152. package/components/ui-skeleton/ui-skeleton.vue.js +26 -28
  153. package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -1
  154. package/components/ui-snackbar/index.d.ts +3 -3
  155. package/components/ui-snackbar/ui-snackbar.vue.d.ts +10 -8
  156. package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +1 -1
  157. package/components/ui-snackbar/ui-snackbar.vue.js +2 -2
  158. package/components/ui-table/index.d.ts +3 -3
  159. package/components/ui-table/ui-table-cell/index.d.ts +3 -3
  160. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +10 -8
  161. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +1 -1
  162. package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +1 -1
  163. package/components/ui-table/ui-table-row/index.d.ts +3 -3
  164. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +8 -6
  165. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +1 -1
  166. package/components/ui-table/ui-table-row/ui-table-row.vue.js +3 -3
  167. package/components/ui-table/ui-table.vue.d.ts +8 -6
  168. package/components/ui-table/ui-table.vue.d.ts.map +1 -1
  169. package/components/ui-table/ui-table.vue.js +4 -4
  170. package/components/ui-table/ui-table.vue2.js +1 -1
  171. package/components/ui-tabs/ui-tabs.vue.d.ts +2 -2
  172. package/components/ui-tabs/ui-tabs.vue.d.ts.map +1 -1
  173. package/components/ui-tabs/ui-tabs.vue.js +3 -3
  174. package/components/ui-tabs/ui-tabs.vue2.js +6 -6
  175. package/components/ui-tabs/ui-tabs.vue2.js.map +1 -1
  176. package/components/ui-toggle/index.d.ts +3 -3
  177. package/components/ui-toggle/ui-toggle.vue.d.ts +19 -17
  178. package/components/ui-toggle/ui-toggle.vue.d.ts.map +1 -1
  179. package/components/ui-toggle/ui-toggle.vue.js +3 -3
  180. package/components/ui-toggle/ui-toggle.vue2.js +8 -8
  181. package/components/ui-toggle/ui-toggle.vue2.js.map +1 -1
  182. package/components/ui-typography/index.d.ts +3 -3
  183. package/components/ui-typography/ui-typography.vue.d.ts +22 -20
  184. package/components/ui-typography/ui-typography.vue.d.ts.map +1 -1
  185. package/components/ui-typography/ui-typography.vue.js +7 -3
  186. package/components/ui-typography/ui-typography.vue.js.map +1 -1
  187. package/components/ui-verification-input/index.d.ts +3 -3
  188. package/components/ui-verification-input/ui-verification-input.vue.d.ts +6 -4
  189. package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +1 -1
  190. package/index.d.ts.map +1 -1
  191. package/index.js +124 -122
  192. package/index.js.map +1 -1
  193. package/package.json +26 -25
  194. package/plugin.ts +17 -9
  195. package/src/_styles/_colors.json +5 -1
  196. package/src/_styles/_spacing.json +7 -3
  197. package/tailwind.config.ts +1 -1
  198. package/types.js +56 -55
  199. package/types.js.map +1 -1
@@ -1,8 +1,8 @@
1
- import { defineComponent as y, useSlots as c, computed as f, openBlock as b, createElementBlock as v, normalizeClass as l, unref as o, withDirectives as j, createElementVNode as a, vModelRadio as g, renderSlot as h, pushScopeId as E, popScopeId as S } from "vue";
1
+ import { defineComponent as c, useSlots as y, computed as f, openBlock as b, createElementBlock as v, normalizeClass as l, unref as o, withDirectives as j, createElementVNode as s, vModelRadio as g, renderSlot as h, pushScopeId as E, popScopeId as S } from "vue";
2
2
  import { EJustify as r } from "../../_types/align.js";
3
- const N = (t) => (E("data-v-a134125e"), t = t(), S(), t), k = ["id", "name", "value", "disabled"], B = /* @__PURE__ */ N(() => /* @__PURE__ */ a("span", { class: "ui-radio__dot absolute left-2/4 top-2/4 block size-xs rounded-full bg-primary" }, null, -1)), V = [
3
+ const N = (t) => (E("data-v-018dc013"), t = t(), S(), t), k = ["id", "name", "value", "disabled"], B = /* @__PURE__ */ N(() => /* @__PURE__ */ s("span", { class: "ui-radio__dot absolute left-2/4 top-2/4 block size-xxs rounded-full bg-primary" }, null, -1)), V = [
4
4
  B
5
- ], T = /* @__PURE__ */ y({
5
+ ], T = /* @__PURE__ */ c({
6
6
  __name: "ui-radio",
7
7
  props: {
8
8
  modelValue: { type: [String, Number, Boolean] },
@@ -14,7 +14,7 @@ const N = (t) => (E("data-v-a134125e"), t = t(), S(), t), k = ["id", "name", "va
14
14
  },
15
15
  emits: ["update:modelValue"],
16
16
  setup(t, { emit: i }) {
17
- const u = c(), n = t, p = i, s = f({
17
+ const u = y(), n = t, p = i, a = f({
18
18
  get() {
19
19
  return n.modelValue;
20
20
  },
@@ -24,7 +24,7 @@ const N = (t) => (E("data-v-a134125e"), t = t(), S(), t), k = ["id", "name", "va
24
24
  });
25
25
  return (e, d) => (b(), v("label", {
26
26
  class: l(["ui-radio group grid cursor-pointer grid-flow-col", [
27
- o(u).default && "items-center gap-xs",
27
+ o(u).default && "items-center gap-xxs",
28
28
  (!e.justify || e.justify === o(r).START) && "justify-start",
29
29
  e.justify === o(r).END && "justify-end",
30
30
  e.justify === o(r).AROUND && "justify-around",
@@ -34,18 +34,18 @@ const N = (t) => (E("data-v-a134125e"), t = t(), S(), t), k = ["id", "name", "va
34
34
  e.disabled && "pointer-events-none"
35
35
  ]])
36
36
  }, [
37
- j(a("input", {
37
+ j(s("input", {
38
38
  id: e.value,
39
- "onUpdate:modelValue": d[0] || (d[0] = (m) => s.value = m),
39
+ "onUpdate:modelValue": d[0] || (d[0] = (m) => a.value = m),
40
40
  type: "radio",
41
41
  name: e.name.toString(),
42
42
  value: e.value,
43
43
  disabled: e.disabled,
44
44
  class: "peer absolute appearance-none"
45
45
  }, null, 8, k), [
46
- [g, s.value]
46
+ [g, a.value]
47
47
  ]),
48
- a("span", {
48
+ s("span", {
49
49
  class: l(["ui-radio_custom relative block size-md rounded-full border border-secondary-alt bg-white group-hover:border-secondary-alt-700 group-focus:border-secondary-alt-700 peer-checked:border-2 peer-checked:border-primary peer-checked:hover:border-primary-600 peer-focus:shadow-border-primary peer-disabled:border-secondary-alt-400 peer-disabled:bg-secondary-alt-200", e.invertOrder && "order-last"])
50
50
  }, V, 2),
51
51
  h(e.$slots, "default", {}, void 0, !0)
@@ -1 +1 @@
1
- {"version":3,"file":"ui-radio.vue2.js","sources":["../../../src/components/ui-radio/ui-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio group grid cursor-pointer grid-flow-col\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-xs',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'pointer-events-none',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\t:id=\"value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name.toString()\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-radio_custom\n\t\t\t\trelative\n\t\t\t\tblock\n\t\t\t\tsize-md\n\t\t\t\trounded-full\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt\n\t\t\t\tbg-white\n\t\t\t\tgroup-hover:border-secondary-alt-700\n\t\t\t\tgroup-focus:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-2\n\t\t\t\tpeer-checked:border-primary\n\t\t\t\tpeer-checked:hover:border-primary-600\n\t\t\t\tpeer-focus:shadow-border-primary\n\t\t\t\tpeer-disabled:border-secondary-alt-400\n\t\t\t\tpeer-disabled:bg-secondary-alt-200\"\n\t\t\t:class=\"invertOrder && 'order-last'\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"\n\t\t\t\t\t\tui-radio__dot\n\t\t\t\t\t\tabsolute\n\t\t\t\t\t\tleft-2/4\n\t\t\t\t\t\ttop-2/4\n\t\t\t\t\t\tblock\n\t\t\t\t\t\tsize-xs\n\t\t\t\t\t\trounded-full\n\t\t\t\t\t\tbg-primary\"\n\t\t\t/>\n\t\t</span>\n\t\t<slot />\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EJustify } from \"../../_types/align\";\n\tconst slots = useSlots();\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string | number | boolean;\n\t\tvalue: string;\n\t\tjustify?: EJustify;\n\t\tinvertOrder?: boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\tinput:checked + .ui-radio_custom .ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(1);\n\t}\n\n\tinput:checked + .ui-radio_custom:hover .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-600);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom {\n\t\tborder: 2px solid var(--color-primary-300);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["slots","useSlots","props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;AA8DC,UAAMA,IAAQC,KACRC,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-radio.vue2.js","sources":["../../../src/components/ui-radio/ui-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio group grid cursor-pointer grid-flow-col\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-xxs',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'pointer-events-none',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\t:id=\"value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name.toString()\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-radio_custom\n\t\t\t\trelative\n\t\t\t\tblock\n\t\t\t\tsize-md\n\t\t\t\trounded-full\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt\n\t\t\t\tbg-white\n\t\t\t\tgroup-hover:border-secondary-alt-700\n\t\t\t\tgroup-focus:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-2\n\t\t\t\tpeer-checked:border-primary\n\t\t\t\tpeer-checked:hover:border-primary-600\n\t\t\t\tpeer-focus:shadow-border-primary\n\t\t\t\tpeer-disabled:border-secondary-alt-400\n\t\t\t\tpeer-disabled:bg-secondary-alt-200\n\t\t\t\t\"\n\t\t\t:class=\"invertOrder && 'order-last'\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"\n\t\t\t\t\tui-radio__dot\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-2/4\n\t\t\t\t\ttop-2/4\n\t\t\t\t\tblock\n\t\t\t\t\tsize-xxs\n\t\t\t\t\trounded-full\n\t\t\t\t\tbg-primary\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</span>\n\t\t<slot />\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EJustify } from \"../../_types/align\";\n\tconst slots = useSlots();\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string | number | boolean;\n\t\tvalue: string;\n\t\tjustify?: EJustify;\n\t\tinvertOrder?: boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\tinput:checked + .ui-radio_custom .ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(1);\n\t}\n\n\tinput:checked + .ui-radio_custom:hover .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-600);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom {\n\t\tborder: 2px solid var(--color-primary-300);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["slots","useSlots","props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;AAgEC,UAAMA,IAAQC,KACRC,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -73,9 +73,9 @@ declare const deprecatedDefault: {
73
73
  }>> & {
74
74
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
75
75
  }, {}, {}, {}, {}, {}>;
76
- __isFragment?: undefined;
77
- __isTeleport?: undefined;
78
- __isSuspense?: undefined;
76
+ __isFragment?: never;
77
+ __isTeleport?: never;
78
+ __isSuspense?: never;
79
79
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
80
80
  modelValue: {
81
81
  type: PropType<string | number | boolean>;
@@ -1,21 +1,23 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
6
  modelValue: string | number | boolean;
4
7
  name: string;
5
8
  value: string | number | boolean;
6
- disabled?: boolean | undefined;
9
+ disabled?: boolean;
7
10
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
11
  "update:modelValue": (...args: any[]) => void;
9
12
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
13
  modelValue: string | number | boolean;
11
14
  name: string;
12
15
  value: string | number | boolean;
13
- disabled?: boolean | undefined;
16
+ disabled?: boolean;
14
17
  }>>> & {
15
18
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
- }, {}, {}>, {
17
- default?(_: {}): any;
18
- }>;
19
+ }, {}, {}>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
21
  export default _default;
20
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
23
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-radio-compact.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio-compact/ui-radio-compact.vue"],"names":[],"mappings":"AAqEA;;;;;;;;;;;;;;;;;;AAuIA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-radio-compact.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio-compact/ui-radio-compact.vue"],"names":[],"mappings":"AA6DA;AA4BA,iBAAS,cAAc;qBAuEO,GAAG;EAKhC;AAkBD,QAAA,MAAM,eAAe;gBAMP,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,OAAO;;;;gBAHN,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,OAAO;;;UAGlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, computed as n, openBlock as b, createElementBlock as u, withDirectives as m, createElementVNode as a, vModelRadio as f, createVNode as h, unref as o, withCtx as v, renderSlot as x } from "vue";
1
+ import { defineComponent as p, computed as n, openBlock as b, createElementBlock as u, withDirectives as m, createElementVNode as a, vModelRadio as f, createVNode as x, unref as o, withCtx as h, renderSlot as v } from "vue";
2
2
  import g from "../ui-typography/index.js";
3
3
  import { ETypographySizes as y, ETextAlign as k } from "../ui-typography/_typings.js";
4
- const _ = { class: "ui-radio-compact relative" }, w = ["name", "value", "disabled"], V = { class: "ui-radio-compact_content box-border grid cursor-pointer items-center justify-items-center rounded-xl border border-secondary-alt-500 bg-white before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs" }, z = /* @__PURE__ */ p({
4
+ const _ = { class: "ui-radio-compact relative" }, w = ["name", "value", "disabled"], V = { class: "ui-radio-compact_content box-border grid cursor-pointer items-center justify-items-center rounded-lg border border-secondary-alt-500 bg-white before:absolute before:-z-10 before:box-border before:rounded-2xl before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xxs peer-checked:active:before:-left-xxs peer-checked:active:before:-right-xxs peer-checked:active:before:-top-xxs peer-focus:before:-bottom-xxs peer-focus:before:-left-xxs peer-focus:before:-right-xxs peer-focus:before:-top-xxs peer-active:before:-bottom-xxxs peer-active:before:-left-xxxs peer-active:before:-right-xxxs peer-active:before:-top-xxxs" }, z = /* @__PURE__ */ p({
5
5
  __name: "ui-radio-compact",
6
6
  props: {
7
7
  modelValue: { type: [String, Number, Boolean] },
@@ -31,14 +31,14 @@ const _ = { class: "ui-radio-compact relative" }, w = ["name", "value", "disable
31
31
  [f, r.value]
32
32
  ]),
33
33
  a("div", V, [
34
- h(o(g), {
34
+ x(o(g), {
35
35
  class: "px-md py-sm",
36
36
  size: o(y).MD,
37
37
  "line-height": "",
38
38
  align: o(k).CENTER
39
39
  }, {
40
- default: v(() => [
41
- x(e.$slots, "default")
40
+ default: h(() => [
41
+ v(e.$slots, "default")
42
42
  ]),
43
43
  _: 3
44
44
  }, 8, ["size", "align"])
@@ -1 +1 @@
1
- {"version":3,"file":"ui-radio-compact.vue.js","sources":["../../../src/components/ui-radio-compact/ui-radio-compact.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"\n\t\tui-radio-compact\n\t\trelative\n\t\t\"\n\t>\n\t\t<input\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name\"\n\t\t\t:value=\"value\"\n\t\t\tclass=\"group peer absolute appearance-none\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<div\n\t\t\tclass=\"\n\t\t\tui-radio-compact_content\n\t\t\tbox-border\n\t\t\tgrid\n\t\t\tcursor-pointer\n\t\t\titems-center\n\t\t\tjustify-items-center\n\t\t\trounded-xl\n\t\t\tborder\n\t\t\tborder-secondary-alt-500\n\t\t\tbg-white\n\t\t\tbefore:absolute\n\t\t\tbefore:-z-10\n\t\t\tbefore:box-border\n\t\t\tbefore:rounded-[16px]\n\n\t\t\tbefore:bg-primary-300\n\t\t\thover:border-secondary-alt-700\n\t\t\tpeer-checked:border-transparent\n\t\t\tpeer-checked:shadow-selected-shadow\n\t\t\tpeer-checked:hover:shadow-border-selected\n\n\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\tpeer-checked:active:before:-bottom-xs\n\t\t\tpeer-checked:active:before:-left-xs\n\t\t\tpeer-checked:active:before:-right-xs\n\t\t\tpeer-checked:active:before:-top-xs\n\t\t\tpeer-focus:before:-bottom-xs\n\n\t\t\tpeer-focus:before:-left-xs\n\t\t\tpeer-focus:before:-right-xs\n\n\t\t\tpeer-focus:before:-top-xs\n\t\t\tpeer-active:before:-bottom-xxs\n\t\t\tpeer-active:before:-left-xxs\n\t\t\tpeer-active:before:-right-xxs\n\n\t\t\tpeer-active:before:-top-xxs\n\t\t\t\"\n\t\t>\n\n\t\t\t<ui-typography\n\t\t\t\tclass=\"px-md py-sm\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\tline-height\n\t\t\t\t:align=\"ETextAlign.CENTER\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</ui-typography>\n\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, ETextAlign } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;AA0EC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-radio-compact.vue.js","sources":["../../../src/components/ui-radio-compact/ui-radio-compact.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio-compact relative\"\n\t>\n\t\t<input\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name\"\n\t\t\t:value=\"value\"\n\t\t\tclass=\"group peer absolute appearance-none\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-radio-compact_content\n\t\t\t\tbox-border\n\t\t\t\tgrid\n\t\t\t\tcursor-pointer\n\t\t\t\titems-center\n\t\t\t\tjustify-items-center\n\t\t\t\trounded-lg\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\t\t\t\tbefore:box-border\n\t\t\t\tbefore:rounded-2xl\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xxs\n\t\t\t\tpeer-checked:active:before:-left-xxs\n\t\t\t\tpeer-checked:active:before:-right-xxs\n\t\t\t\tpeer-checked:active:before:-top-xxs\n\t\t\t\tpeer-focus:before:-bottom-xxs\n\t\t\t\tpeer-focus:before:-left-xxs\n\t\t\t\tpeer-focus:before:-right-xxs\n\t\t\t\tpeer-focus:before:-top-xxs\n\t\t\t\tpeer-active:before:-bottom-xxxs\n\t\t\t\tpeer-active:before:-left-xxxs\n\t\t\t\tpeer-active:before:-right-xxxs\n\t\t\t\tpeer-active:before:-top-xxxs\n\t\t\t\t\"\n\t\t>\n\n\t\t\t<ui-typography\n\t\t\t\tclass=\"px-md py-sm\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t\tline-height\n\t\t\t\t:align=\"ETextAlign.CENTER\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</ui-typography>\n\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, ETextAlign } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;AAkEC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -102,9 +102,9 @@ declare const deprecatedDefault: {
102
102
  iconName: TIconName;
103
103
  radioSize: ERadioSizes;
104
104
  }>;
105
- __isFragment?: undefined;
106
- __isTeleport?: undefined;
107
- __isSuspense?: undefined;
105
+ __isFragment?: never;
106
+ __isTeleport?: never;
107
+ __isSuspense?: never;
108
108
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
109
109
  iconName: {
110
110
  type: PropType<TIconName>;
@@ -2,13 +2,16 @@ import { TIconName } from '../ui-icon';
2
2
  import { ERadioSizes } from './_typings';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
 
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare function __VLS_template(): {
6
+ default?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
9
  modelValue: string | number | boolean;
7
10
  name: string;
8
11
  value: string | number | boolean;
9
- iconName?: TIconName | undefined;
10
- disabled?: boolean | undefined;
11
- radioSize?: ERadioSizes | undefined;
12
+ iconName?: TIconName;
13
+ disabled?: boolean;
14
+ radioSize?: ERadioSizes;
12
15
  }>, {
13
16
  radioSize: ERadioSizes;
14
17
  iconName: undefined;
@@ -18,9 +21,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
18
21
  modelValue: string | number | boolean;
19
22
  name: string;
20
23
  value: string | number | boolean;
21
- iconName?: TIconName | undefined;
22
- disabled?: boolean | undefined;
23
- radioSize?: ERadioSizes | undefined;
24
+ iconName?: TIconName;
25
+ disabled?: boolean;
26
+ radioSize?: ERadioSizes;
24
27
  }>, {
25
28
  radioSize: ERadioSizes;
26
29
  iconName: undefined;
@@ -29,9 +32,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
29
32
  }, {
30
33
  iconName: TIconName;
31
34
  radioSize: ERadioSizes;
32
- }, {}>, {
33
- default?(_: {}): any;
34
- }>;
35
+ }, {}>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
37
  export default _default;
36
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
39
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-radio-fancy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio-fancy/ui-radio-fancy.vue"],"names":[],"mappings":"AAoGA;AAIC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoO1C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-radio-fancy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio-fancy/ui-radio-fancy.vue"],"names":[],"mappings":"AA4FA;AAIC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAiC1C,iBAAS,cAAc;qBAwJO,GAAG;EAKhC;AAuBD,QAAA,MAAM,eAAe;gBAMP,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,SAAS;eACT,OAAO;gBACN,WAAW;;;;;;;gBALX,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM;WACL,MAAM,GAAG,MAAM,GAAG,OAAO;eACrB,SAAS;eACT,OAAO;gBACN,WAAW;;;;;;;cAFZ,SAAS;eAER,WAAW;MAGvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,11 +1,11 @@
1
- import { defineComponent as h, computed as y, openBlock as a, createElementBlock as d, normalizeClass as i, withDirectives as z, createElementVNode as n, vModelRadio as k, unref as o, createVNode as s, createCommentVNode as g, withCtx as S, renderSlot as N } from "vue";
2
- import V from "../ui-typography/index.js";
1
+ import { defineComponent as h, computed as y, openBlock as a, createElementBlock as d, normalizeClass as i, withDirectives as z, createElementVNode as n, vModelRadio as k, unref as o, createVNode as s, createCommentVNode as g, withCtx as x, renderSlot as S } from "vue";
2
+ import N from "../ui-typography/index.js";
3
3
  import { ESize as p } from "../../_types/sizing.js";
4
- import { EColors as M } from "../../_types/colors.js";
4
+ import { EColors as V } from "../../_types/colors.js";
5
5
  import { ERadioSizes as r } from "./_typings.js";
6
6
  import m from "../ui-icon/index.js";
7
- import { ETypographySizes as C } from "../ui-typography/_typings.js";
8
- const w = ["name", "value", "disabled"], E = { key: 0 }, D = { key: 1 }, x = { key: 2 }, U = /* @__PURE__ */ h({
7
+ import { ETypographySizes as M } from "../ui-typography/_typings.js";
8
+ const C = ["name", "value", "disabled"], w = { key: 0 }, E = { key: 1 }, D = { key: 2 }, U = /* @__PURE__ */ h({
9
9
  __name: "ui-radio-fancy",
10
10
  props: {
11
11
  modelValue: { type: [String, Number, Boolean] },
@@ -17,7 +17,7 @@ const w = ["name", "value", "disabled"], E = { key: 0 }, D = { key: 1 }, x = { k
17
17
  },
18
18
  emits: ["update:modelValue"],
19
19
  setup(c, { emit: u }) {
20
- const b = c, f = u, t = y({
20
+ const b = c, f = u, l = y({
21
21
  get() {
22
22
  return b.modelValue;
23
23
  },
@@ -25,27 +25,27 @@ const w = ["name", "value", "disabled"], E = { key: 0 }, D = { key: 1 }, x = { k
25
25
  f("update:modelValue", e);
26
26
  }
27
27
  });
28
- return (e, l) => (a(), d("label", {
28
+ return (e, t) => (a(), d("label", {
29
29
  class: i(["ui-radio-fancy relative", e.disabled && "pointer-events-none"])
30
30
  }, [
31
31
  z(n("input", {
32
- "onUpdate:modelValue": l[0] || (l[0] = (v) => t.value = v),
32
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => l.value = v),
33
33
  type: "radio",
34
34
  name: e.name,
35
35
  value: e.value,
36
36
  class: "group peer absolute appearance-none",
37
37
  disabled: e.disabled
38
- }, null, 8, w), [
39
- [k, t.value]
38
+ }, null, 8, C), [
39
+ [k, l.value]
40
40
  ]),
41
41
  n("div", {
42
- class: i(["ui-radio-fancy__content box-border size-full cursor-pointer rounded-xl border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-[16px] before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xs peer-checked:active:before:-left-xs peer-checked:active:before:-right-xs peer-checked:active:before:-top-xs peer-focus:before:-bottom-xs peer-focus:before:-left-xs peer-focus:before:-right-xs peer-focus:before:-top-xs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs", [
42
+ class: i(["ui-radio-fancy__content box-border size-full cursor-pointer rounded-lg border border-secondary-alt-500 bg-white p-sm before:absolute before:-z-10 before:box-border before:rounded-2xl before:bg-primary-300 hover:border-secondary-alt-700 peer-checked:border-transparent peer-checked:shadow-selected-shadow peer-checked:hover:shadow-border-selected peer-checked:active:shadow-border-primary peer-checked:active:before:-bottom-xxs peer-checked:active:before:-left-xxs peer-checked:active:before:-right-xxs peer-checked:active:before:-top-xxs peer-focus:before:-bottom-xxs peer-focus:before:-left-xxs peer-focus:before:-right-xxs peer-focus:before:-top-xxs peer-active:before:-bottom-xxs peer-active:before:-left-xxs peer-active:before:-right-xxs peer-active:before:-top-xxs", [
43
43
  e.disabled && "pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled",
44
44
  e.radioSize === o(r).MINIMAL && "flex gap-sm align-middle",
45
45
  e.radioSize === o(r).COMPACT && "grid cursor-pointer grid-flow-col px-md"
46
46
  ]])
47
47
  }, [
48
- e.radioSize === o(r).DEFAULT && e.iconName ? (a(), d("div", E, [
48
+ e.radioSize === o(r).DEFAULT && e.iconName ? (a(), d("div", w, [
49
49
  s(o(m), {
50
50
  "icon-name": e.iconName,
51
51
  size: o(p).MD,
@@ -55,7 +55,7 @@ const w = ["name", "value", "disabled"], E = { key: 0 }, D = { key: 1 }, x = { k
55
55
  e.disabled && e.value === e.modelValue && "text-primary-300"
56
56
  ]])
57
57
  }, null, 8, ["icon-name", "size", "class"])
58
- ])) : e.radioSize === o(r).MINIMAL && e.iconName ? (a(), d("div", D, [
58
+ ])) : e.radioSize === o(r).MINIMAL && e.iconName ? (a(), d("div", E, [
59
59
  s(o(m), {
60
60
  "icon-name": e.iconName,
61
61
  size: o(p).MD,
@@ -65,14 +65,14 @@ const w = ["name", "value", "disabled"], E = { key: 0 }, D = { key: 1 }, x = { k
65
65
  e.disabled && e.value === e.modelValue && "text-primary-300"
66
66
  ])
67
67
  }, null, 8, ["icon-name", "size", "class"])
68
- ])) : e.radioSize === o(r).COMPACT ? (a(), d("div", x)) : g("", !0),
69
- s(o(V), {
70
- size: o(C).SM,
71
- kind: o(M).SECONDARY,
72
- class: "pt-xxs"
68
+ ])) : e.radioSize === o(r).COMPACT ? (a(), d("div", D)) : g("", !0),
69
+ s(o(N), {
70
+ size: o(M).SM,
71
+ kind: o(V).SECONDARY,
72
+ class: "pt-xxxs"
73
73
  }, {
74
- default: S(() => [
75
- N(e.$slots, "default")
74
+ default: x(() => [
75
+ S(e.$slots, "default")
76
76
  ]),
77
77
  _: 3
78
78
  }, 8, ["size", "kind"])
@@ -1 +1 @@
1
- {"version":3,"file":"ui-radio-fancy.vue.js","sources":["../../../src/components/ui-radio-fancy/ui-radio-fancy.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"\n\t\t\tui-radio-fancy\n\t\t\trelative\n\n\t\t\"\n\t\t:class=\"disabled && 'pointer-events-none'\"\n\t>\n\t\t<input\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name\"\n\t\t\t:value=\"value\"\n\t\t\tclass=\"group peer absolute appearance-none\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-radio-fancy__content\n\t\t\t\tbox-border\n\t\t\t\tsize-full\n\t\t\t\tcursor-pointer\n\t\t\t\trounded-xl border\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\t\t\t\tbefore:box-border\n\n\t\t\t\tbefore:rounded-[16px]\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xs\n\t\t\t\tpeer-checked:active:before:-left-xs\n\t\t\t\tpeer-checked:active:before:-right-xs\n\t\t\t\tpeer-checked:active:before:-top-xs\n\n\t\t\t\tpeer-focus:before:-bottom-xs\n\t\t\t\tpeer-focus:before:-left-xs\n\n\t\t\t\tpeer-focus:before:-right-xs\n\t\t\t\tpeer-focus:before:-top-xs\n\t\t\t\tpeer-active:before:-bottom-xxs\n\t\t\t\tpeer-active:before:-left-xxs\n\n\t\t\t\tpeer-active:before:-right-xxs\n\t\t\t\tpeer-active:before:-top-xxs\n\t\t\t\"\n\t\t\t:class=\"[\n\t\t\t\tdisabled\n\t\t\t\t\t&& 'pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled',\n\t\t\t\tradioSize === ERadioSizes.MINIMAL && 'flex gap-sm align-middle',\n\t\t\t\tradioSize === ERadioSizes.COMPACT && 'grid cursor-pointer grid-flow-col px-md'\n\n\t\t\t]\"\n\t\t>\n\t\t\t<div\n\t\t\t\tv-if=\"radioSize === ERadioSizes.DEFAULT && iconName\"\n\t\t\t>\n\t\t\t\t<ui-icon\n\t\t\t\t\t:icon-name=\"iconName\"\n\t\t\t\t\t:size=\"ESize.MD\"\n\t\t\t\t\tclass=\" mb-md peer-checked:text-primary-500\"\n\t\t\t\t\t:class=\"[value === modelValue && 'text-primary',\n\t\t\t\t\t\tdisabled && 'text-secondary-alt-400',\n\t\t\t\t\t\tdisabled && value === modelValue && 'text-primary-300'\n\t\t\t\t\t]\"\n\t\t\t\t/>\n\t\t\t</div>\n\t\t\t<div v-else-if=\"radioSize === ERadioSizes.MINIMAL && iconName\">\n\t\t\t\t<ui-icon\n\t\t\t\t\t:icon-name=\"iconName\"\n\t\t\t\t\t:size=\"ESize.MD\"\n\t\t\t\t\t:class=\"[value === modelValue && 'text-primary',\n\t\t\t\t\t\tdisabled && 'text-secondary-alt-400',\n\t\t\t\t\t\tdisabled && value === modelValue && 'text-primary-300'\n\t\t\t\t\t]\"\n\t\t\t\t/>\n\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-else-if=\"radioSize === ERadioSizes.COMPACT\"\n\t\t\t/>\n\t\t\t<ui-typography\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY\"\n\t\t\t\tclass=\"pt-xxs\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</ui-typography>\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes } from \"../ui-typography\";\n\timport type { TIconName } from \"../ui-icon\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport { EColors } from \"../../_types/colors\";\n\timport { ERadioSizes } from \"./_typings\";\n\timport uiIcon from \"../ui-icon\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\ticonName?: TIconName;\n\t\tdisabled?: boolean;\n\t\tradioSize?: ERadioSizes;\n\t}>(), {\n\t\tradioSize: ERadioSizes.DEFAULT,\n\t\ticonName: undefined\n\t});\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;AA8GC,UAAMA,IAAQC,GAWRC,IAAOC,GACPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-radio-fancy.vue.js","sources":["../../../src/components/ui-radio-fancy/ui-radio-fancy.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio-fancy relative\"\n\t\t:class=\"disabled && 'pointer-events-none'\"\n\t>\n\t\t<input\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name\"\n\t\t\t:value=\"value\"\n\t\t\tclass=\"group peer absolute appearance-none\"\n\t\t\t:disabled=\"disabled\"\n\t\t>\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\tui-radio-fancy__content\n\t\t\t\tbox-border\n\t\t\t\tsize-full\n\t\t\t\tcursor-pointer\n\t\t\t\trounded-lg\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\t\t\t\tbefore:box-border\n\t\t\t\tbefore:rounded-2xl\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xxs\n\t\t\t\tpeer-checked:active:before:-left-xxs\n\t\t\t\tpeer-checked:active:before:-right-xxs\n\t\t\t\tpeer-checked:active:before:-top-xxs\n\t\t\t\tpeer-focus:before:-bottom-xxs\n\t\t\t\tpeer-focus:before:-left-xxs\n\t\t\t\tpeer-focus:before:-right-xxs\n\t\t\t\tpeer-focus:before:-top-xxs\n\t\t\t\tpeer-active:before:-bottom-xxs\n\t\t\t\tpeer-active:before:-left-xxs\n\t\t\t\tpeer-active:before:-right-xxs\n\t\t\t\tpeer-active:before:-top-xxs\n\t\t\t\t\"\n\t\t\t:class=\"[\n\t\t\t\tdisabled\n\t\t\t\t\t&& 'pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled',\n\t\t\t\tradioSize === ERadioSizes.MINIMAL && 'flex gap-sm align-middle',\n\t\t\t\tradioSize === ERadioSizes.COMPACT && 'grid cursor-pointer grid-flow-col px-md'\n\n\t\t\t]\"\n\t\t>\n\t\t\t<div\n\t\t\t\tv-if=\"radioSize === ERadioSizes.DEFAULT && iconName\"\n\t\t\t>\n\t\t\t\t<ui-icon\n\t\t\t\t\t:icon-name=\"iconName\"\n\t\t\t\t\t:size=\"ESize.MD\"\n\t\t\t\t\tclass=\"mb-md peer-checked:text-primary-500\"\n\t\t\t\t\t:class=\"[value === modelValue && 'text-primary',\n\t\t\t\t\t\tdisabled && 'text-secondary-alt-400',\n\t\t\t\t\t\tdisabled && value === modelValue && 'text-primary-300'\n\t\t\t\t\t]\"\n\t\t\t\t/>\n\t\t\t</div>\n\t\t\t<div v-else-if=\"radioSize === ERadioSizes.MINIMAL && iconName\">\n\t\t\t\t<ui-icon\n\t\t\t\t\t:icon-name=\"iconName\"\n\t\t\t\t\t:size=\"ESize.MD\"\n\t\t\t\t\t:class=\"[value === modelValue && 'text-primary',\n\t\t\t\t\t\tdisabled && 'text-secondary-alt-400',\n\t\t\t\t\t\tdisabled && value === modelValue && 'text-primary-300'\n\t\t\t\t\t]\"\n\t\t\t\t/>\n\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-else-if=\"radioSize === ERadioSizes.COMPACT\"\n\t\t\t/>\n\t\t\t<ui-typography\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY\"\n\t\t\t\tclass=\"pt-xxxs\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</ui-typography>\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes } from \"../ui-typography\";\n\timport type { TIconName } from \"../ui-icon\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport { EColors } from \"../../_types/colors\";\n\timport { ERadioSizes } from \"./_typings\";\n\timport uiIcon from \"../ui-icon\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\ticonName?: TIconName;\n\t\tdisabled?: boolean;\n\t\tradioSize?: ERadioSizes;\n\t}>(), {\n\t\tradioSize: ERadioSizes.DEFAULT,\n\t\ticonName: undefined\n\t});\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;AAsGC,UAAMA,IAAQC,GAWRC,IAAOC,GACPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -36,9 +36,9 @@ declare const deprecatedDefault: {
36
36
  type: PropType<string>;
37
37
  };
38
38
  }>>, {}, {}, {}, {}, {}>;
39
- __isFragment?: undefined;
40
- __isTeleport?: undefined;
41
- __isSuspense?: undefined;
39
+ __isFragment?: never;
40
+ __isTeleport?: never;
41
+ __isSuspense?: never;
42
42
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
43
43
  iconName: {
44
44
  type: PropType<TIconName>;
@@ -1,15 +1,17 @@
1
1
  import { TIconName } from '../ui-icon';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
- iconName?: TIconName | undefined;
6
- title?: string | undefined;
7
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- iconName?: TIconName | undefined;
9
- title?: string | undefined;
10
- }>>>, {}, {}>, {
4
+ declare function __VLS_template(): {
11
5
  default?(_: {}): any;
12
- }>;
6
+ };
7
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
8
+ iconName?: TIconName;
9
+ title?: string;
10
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ iconName?: TIconName;
12
+ title?: string;
13
+ }>>>, {}, {}>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
15
  export default _default;
14
16
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
17
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-result-card-range.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-result-card-range/ui-result-card-range.vue"],"names":[],"mappings":"AAiCA;AAEC,OAAe,EAAS,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;;;;;;;;;;AAqH5D,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-result-card-range.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-result-card-range/ui-result-card-range.vue"],"names":[],"mappings":"AAmCA;AAEC,OAAe,EAAS,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAc5D,iBAAS,cAAc;qBAyEO,GAAG;EAGhC;AAiBD,QAAA,MAAM,eAAe;eAMR,SAAS;YACZ,MAAM;;eADH,SAAS;YACZ,MAAM;aAEd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -10,7 +10,7 @@ const E = { class: "ui-result-card-range flex w-full flex-col items-center round
10
10
  title: {}
11
11
  },
12
12
  setup(h) {
13
- return (t, _) => (r(), l("div", E, [
13
+ return (t, x) => (r(), l("div", E, [
14
14
  t.iconName ? (r(), o(e(d), {
15
15
  key: 0,
16
16
  class: "mb-md",
@@ -19,7 +19,7 @@ const E = { class: "ui-result-card-range flex w-full flex-col items-center round
19
19
  }, null, 8, ["size", "icon-name"])) : a("", !0),
20
20
  t.title ? (r(), o(e(p), {
21
21
  key: 1,
22
- class: "mb-xs",
22
+ class: "mb-xxs",
23
23
  size: e(f).MD,
24
24
  weight: e(g).SEMI_BOLD,
25
25
  align: e(y).CENTER
@@ -14,9 +14,9 @@ declare const deprecatedDefault: {
14
14
  M: {};
15
15
  Defaults: {};
16
16
  }, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
17
- __isFragment?: undefined;
18
- __isTeleport?: undefined;
19
- __isSuspense?: undefined;
17
+ __isFragment?: never;
18
+ __isTeleport?: never;
19
+ __isSuspense?: never;
20
20
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
21
21
  $slots: {
22
22
  default?(_: {}): any;
@@ -1,7 +1,9 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>, {
2
+ declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
- }>;
4
+ };
5
+ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
5
7
  export default _default;
6
8
  type __VLS_WithTemplateSlots<T, S> = T & {
7
9
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-ripple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-ripple/ui-ripple.vue"],"names":[],"mappings":"AA6BA;;;;AAoIA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-ripple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-ripple/ui-ripple.vue"],"names":[],"mappings":"AA6BA;AA4BA,iBAAS,cAAc;qBAmFM,GAAG;EAG/B;AAYD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -64,9 +64,9 @@ declare const deprecatedDefault: {
64
64
  }>> & {
65
65
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
66
  }, {}, {}, {}, {}, {}>;
67
- __isFragment?: undefined;
68
- __isTeleport?: undefined;
69
- __isSuspense?: undefined;
67
+ __isFragment?: never;
68
+ __isTeleport?: never;
69
+ __isSuspense?: never;
70
70
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
71
71
  modelValue: {
72
72
  type: PropType<string | number>;
@@ -1,24 +1,26 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ declare function __VLS_template(): {
3
+ heading?(_: {}): any;
4
+ default?(_: {}): any;
5
+ "postfix-icon"?(_: {}): any;
6
+ subLabel?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
9
  modelValue: string | number;
4
- heading?: string | undefined;
5
- subLabel?: string | undefined;
6
- disabled?: boolean | undefined;
10
+ heading?: string;
11
+ subLabel?: string;
12
+ disabled?: boolean;
7
13
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
14
  "update:modelValue": (...args: any[]) => void;
9
15
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
16
  modelValue: string | number;
11
- heading?: string | undefined;
12
- subLabel?: string | undefined;
13
- disabled?: boolean | undefined;
17
+ heading?: string;
18
+ subLabel?: string;
19
+ disabled?: boolean;
14
20
  }>>> & {
15
21
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
- }, {}, {}>, {
17
- heading?(_: {}): any;
18
- default?(_: {}): any;
19
- "postfix-icon"?(_: {}): any;
20
- subLabel?(_: {}): any;
21
- }>;
22
+ }, {}, {}>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
24
  export default _default;
23
25
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
26
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"ui-select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-select/ui-select.vue"],"names":[],"mappings":"AA8DA;;;;;;;;;;;;;;;;;;;;;AAoNA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ui-select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-select/ui-select.vue"],"names":[],"mappings":"AAqEA;AA4BA,iBAAS,cAAc;qBAmJM,GAAG;qBACF,GAAG;4BACI,GAAG;sBACT,GAAG;EAGjC;AAkBD,QAAA,MAAM,eAAe;gBAMP,MAAM,GAAG,MAAM;cACjB,MAAM;eACL,MAAM;eACN,OAAO;;;;gBAHN,MAAM,GAAG,MAAM;cACjB,MAAM;eACL,MAAM;eACN,OAAO;;;UAGlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -13,7 +13,7 @@ const S = { class: "ui-select" }, B = { class: "absolute right-sm top-1/2 -trans
13
13
  d: "M13.25 6.8125L8.5 11.2812C8.34375 11.4375 8.15625 11.5 8 11.5C7.8125 11.5 7.625 11.4375 7.46875 11.3125L2.71875 6.8125C2.40625 6.53125 2.40625 6.0625 2.6875 5.75C2.96875 5.4375 3.4375 5.4375 3.75 5.71875L8 9.71875L12.2188 5.71875C12.5312 5.4375 13 5.4375 13.2812 5.75C13.5625 6.0625 13.5625 6.53125 13.25 6.8125Z",
14
14
  fill: "currentColor"
15
15
  })
16
- ], -1), $ = /* @__PURE__ */ C({
16
+ ], -1), _ = /* @__PURE__ */ C({
17
17
  __name: "ui-select",
18
18
  props: {
19
19
  modelValue: {},
@@ -35,7 +35,7 @@ const S = { class: "ui-select" }, B = { class: "absolute right-sm top-1/2 -trans
35
35
  s(e.$slots, "heading", {}, () => [
36
36
  e.heading ? (l(), n(t(p), {
37
37
  key: 0,
38
- class: "mb-xs",
38
+ class: "mb-xxs",
39
39
  size: t(c).MD
40
40
  }, {
41
41
  default: d(() => [
@@ -45,7 +45,7 @@ const S = { class: "ui-select" }, B = { class: "absolute right-sm top-1/2 -trans
45
45
  }, 8, ["size"])) : m("", !0)
46
46
  ]),
47
47
  o("div", {
48
- class: L(["relative rounded-lg border border-secondary-alt-500 bg-white hover:border-secondary-alt-700", [e.disabled && "pointer-events-none border-secondary-alt-300 bg-secondary-alt-200"]])
48
+ class: L(["relative rounded-xl border border-secondary-alt-500 bg-white hover:border-secondary-alt-700", [e.disabled && "pointer-events-none border-secondary-alt-300 bg-secondary-alt-200"]])
49
49
  }, [
50
50
  V(o("select", {
51
51
  "onUpdate:modelValue": r[0] || (r[0] = (v) => a.value = v),
@@ -66,7 +66,7 @@ const S = { class: "ui-select" }, B = { class: "absolute right-sm top-1/2 -trans
66
66
  key: 0,
67
67
  size: t(c).SM,
68
68
  kind: t(z).SECONDARY_ALT,
69
- class: "mt-xs"
69
+ class: "mt-xxs"
70
70
  }, {
71
71
  default: d(() => [
72
72
  i(u(e.subLabel), 1)
@@ -78,6 +78,6 @@ const S = { class: "ui-select" }, B = { class: "absolute right-sm top-1/2 -trans
78
78
  }
79
79
  });
80
80
  export {
81
- $ as default
81
+ _ as default
82
82
  };
83
83
  //# sourceMappingURL=ui-select.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-select.vue.js","sources":["../../../src/components/ui-select/ui-select.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-select\">\n\t\t<slot name=\"heading\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"heading\"\n\t\t\t\tclass=\"mb-xs\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t>\n\t\t\t\t{{ heading }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t\t<div\n\t\t\tclass=\"relative rounded-lg border border-secondary-alt-500 bg-white hover:border-secondary-alt-700\"\n\t\t\t:class=\"[disabled && 'pointer-events-none border-secondary-alt-300 bg-secondary-alt-200']\"\n\t\t>\n\t\t\t<select\n\t\t\t\tv-model=\"radioModel\"\n\t\t\t\tclass=\"\n\t\t\t\t\tm-0\n\t\t\t\t\tw-full\n\t\t\t\t\tcursor-pointer\n\t\t\t\t\tappearance-none\n\t\t\t\t\tborder-0\n\t\t\t\t\tbg-transparent\n\t\t\t\t\tp-sm\n\t\t\t\t\titalic\n\t\t\t\t\ttext-secondary-alt\n\t\t\t\t\toutline-0\n\t\t\t\t\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</select>\n\n\t\t\t<div class=\"absolute right-sm top-1/2 -translate-y-1/2\">\n\t\t\t\t<slot name=\"postfix-icon\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M13.25 6.8125L8.5 11.2812C8.34375 11.4375 8.15625 11.5 8 11.5C7.8125 11.5 7.625 11.4375 7.46875 11.3125L2.71875 6.8125C2.40625 6.53125 2.40625 6.0625 2.6875 5.75C2.96875 5.4375 3.4375 5.4375 3.75 5.71875L8 9.71875L12.2188 5.71875C12.5312 5.4375 13 5.4375 13.2812 5.75C13.5625 6.0625 13.5625 6.53125 13.25 6.8125Z\"\n\t\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</svg>\n\t\t\t\t</slot>\n\t\t\t</div>\n\t\t</div>\n\t\t<slot name=\"subLabel\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"subLabel\"\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\tclass=\"mt-xs\"\n\t\t\t>\n\t\t\t\t{{ subLabel }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, EColors } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number;\n\t\theading?: string;\n\t\tsubLabel?: string;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmEC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ui-select.vue.js","sources":["../../../src/components/ui-select/ui-select.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-select\">\n\t\t<slot name=\"heading\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"heading\"\n\t\t\t\tclass=\"mb-xxs\"\n\t\t\t\t:size=\"ETypographySizes.MD\"\n\t\t\t>\n\t\t\t\t{{ heading }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t\t<div\n\t\t\tclass=\"\n\t\t\t\trelative\n\t\t\t\trounded-xl\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\t\"\n\t\t\t:class=\"[disabled && 'pointer-events-none border-secondary-alt-300 bg-secondary-alt-200']\"\n\t\t>\n\t\t\t<select\n\t\t\t\tv-model=\"radioModel\"\n\t\t\t\tclass=\"\n\t\t\t\t\tm-0\n\t\t\t\t\tw-full\n\t\t\t\t\tcursor-pointer\n\t\t\t\t\tappearance-none\n\t\t\t\t\tborder-0\n\t\t\t\t\tbg-transparent\n\t\t\t\t\tp-sm\n\t\t\t\t\titalic\n\t\t\t\t\ttext-secondary-alt\n\t\t\t\t\toutline-0\n\t\t\t\t\t\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</select>\n\n\t\t\t<div class=\"absolute right-sm top-1/2 -translate-y-1/2\">\n\t\t\t\t<slot name=\"postfix-icon\">\n\t\t\t\t\t<svg\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\t\tfill=\"none\"\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M13.25 6.8125L8.5 11.2812C8.34375 11.4375 8.15625 11.5 8 11.5C7.8125 11.5 7.625 11.4375 7.46875 11.3125L2.71875 6.8125C2.40625 6.53125 2.40625 6.0625 2.6875 5.75C2.96875 5.4375 3.4375 5.4375 3.75 5.71875L8 9.71875L12.2188 5.71875C12.5312 5.4375 13 5.4375 13.2812 5.75C13.5625 6.0625 13.5625 6.53125 13.25 6.8125Z\"\n\t\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</svg>\n\t\t\t\t</slot>\n\t\t\t</div>\n\t\t</div>\n\t\t<slot name=\"subLabel\">\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"subLabel\"\n\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\tclass=\"mt-xxs\"\n\t\t\t>\n\t\t\t\t{{ subLabel }}\n\t\t\t</ui-typography>\n\t\t</slot>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiTypography, { ETypographySizes, EColors } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number;\n\t\theading?: string;\n\t\tsubLabel?: string;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA0EC,UAAMA,IAAQC,GAORC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,11 +2,11 @@ import { ESkeletonKind } from './_typings';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
 
4
4
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- kind?: ESkeletonKind | undefined;
5
+ kind?: ESkeletonKind;
6
6
  }>, {
7
7
  kind: ESkeletonKind;
8
8
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- kind?: ESkeletonKind | undefined;
9
+ kind?: ESkeletonKind;
10
10
  }>, {
11
11
  kind: ESkeletonKind;
12
12
  }>>>, {