@manafishrov/ui 1.2.11 → 1.2.13

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 (163) hide show
  1. package/dist/Theme.js +3 -3
  2. package/dist/_virtual/calendar-month.js +3 -3
  3. package/dist/_virtual/check-circle.js +3 -3
  4. package/dist/_virtual/check.js +3 -3
  5. package/dist/_virtual/chevron-left.js +3 -3
  6. package/dist/_virtual/chevron-right.js +3 -3
  7. package/dist/_virtual/close.js +3 -3
  8. package/dist/_virtual/error.js +3 -3
  9. package/dist/_virtual/expand-less.js +3 -3
  10. package/dist/_virtual/expand-more.js +3 -3
  11. package/dist/_virtual/info.js +3 -3
  12. package/dist/_virtual/more-horiz.js +3 -3
  13. package/dist/_virtual/progress-activity.js +3 -3
  14. package/dist/_virtual/search.js +3 -3
  15. package/dist/_virtual/side-navigation.js +3 -3
  16. package/dist/_virtual/visibility-off.js +3 -3
  17. package/dist/_virtual/visibility.js +3 -3
  18. package/dist/_virtual/warning.js +3 -3
  19. package/dist/components/Accordion.js +3 -3
  20. package/dist/components/AlertDialog.js +5 -5
  21. package/dist/components/AspectRatio.js +3 -3
  22. package/dist/components/Avatar.js +5 -5
  23. package/dist/components/Badge.js +3 -3
  24. package/dist/components/Breadcrumb.js +8 -8
  25. package/dist/components/Button.js +5 -5
  26. package/dist/components/Card.js +9 -9
  27. package/dist/components/Carousel.js +8 -8
  28. package/dist/components/Combobox.js +4 -4
  29. package/dist/components/Combobox.js.map +1 -1
  30. package/dist/components/DatePicker.js +5 -5
  31. package/dist/components/DatePicker.js.map +1 -1
  32. package/dist/components/Dialog.js +4 -4
  33. package/dist/components/Empty.js +8 -8
  34. package/dist/components/Field.js +8 -8
  35. package/dist/components/Field.js.map +1 -1
  36. package/dist/components/InputGroup.js +7 -7
  37. package/dist/components/Item.js +11 -11
  38. package/dist/components/Kbd.js +4 -4
  39. package/dist/components/Menu.js +3 -3
  40. package/dist/components/MenuCombobox.js +1 -1
  41. package/dist/components/MenuComboboxList.js +1 -1
  42. package/dist/components/NumberInput.js +5 -5
  43. package/dist/components/NumberInput.js.map +1 -1
  44. package/dist/components/Pagination.js +5 -5
  45. package/dist/components/PasswordInput.js +1 -1
  46. package/dist/components/PasswordInput.js.map +1 -1
  47. package/dist/components/PinInput.js +5 -5
  48. package/dist/components/PinInput.js.map +1 -1
  49. package/dist/components/Popover.js +3 -3
  50. package/dist/components/Progress.js +2 -2
  51. package/dist/components/Progress.js.map +1 -1
  52. package/dist/components/RadioGroup.js +2 -2
  53. package/dist/components/RadioGroup.js.map +1 -1
  54. package/dist/components/Select.js +2 -2
  55. package/dist/components/Select.js.map +1 -1
  56. package/dist/components/Separator.js +3 -3
  57. package/dist/components/Sheet.js +1 -1
  58. package/dist/components/Skeleton.js +3 -3
  59. package/dist/components/Slider.js +29 -29
  60. package/dist/components/Slider.js.map +1 -1
  61. package/dist/components/Spinner.js +4 -4
  62. package/dist/components/Table.js +10 -10
  63. package/dist/components/TagsInput.js +1 -1
  64. package/dist/components/TagsInput.js.map +1 -1
  65. package/dist/components/TextInput.js +4 -4
  66. package/dist/components/TextInput.js.map +1 -1
  67. package/dist/components/Typography.js +1 -1
  68. package/dist/components/form/ComboboxField.d.ts +5 -3
  69. package/dist/components/form/ComboboxField.js +62 -63
  70. package/dist/components/form/ComboboxField.js.map +1 -1
  71. package/dist/components/form/DatePickerField.d.ts +3 -2
  72. package/dist/components/form/DatePickerField.js +43 -32
  73. package/dist/components/form/DatePickerField.js.map +1 -1
  74. package/dist/components/form/NumberInputField.d.ts +3 -3
  75. package/dist/components/form/NumberInputField.js +18 -19
  76. package/dist/components/form/NumberInputField.js.map +1 -1
  77. package/dist/components/form/PasswordInputField.d.ts +1 -0
  78. package/dist/components/form/PasswordInputField.js +23 -16
  79. package/dist/components/form/PasswordInputField.js.map +1 -1
  80. package/dist/components/form/SliderField.js +16 -18
  81. package/dist/components/form/SliderField.js.map +1 -1
  82. package/dist/components/form/TagsInputField.d.ts +4 -4
  83. package/dist/components/form/TagsInputField.js +52 -49
  84. package/dist/components/form/TagsInputField.js.map +1 -1
  85. package/dist/components/sidebar/SidebarDesktop.js +6 -6
  86. package/dist/components/sidebar/SidebarMenu.js +11 -11
  87. package/dist/components/sidebar/SidebarMobile.js +1 -1
  88. package/dist/components/sidebar/SidebarProvider.js +4 -4
  89. package/dist/components/sidebar/SidebarSubComponents.js +11 -11
  90. package/dist/components/toaster/Toaster.js +4 -4
  91. package/dist/index.js +16 -16
  92. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZMQW6EBL.js +4 -4
  93. package/dist/node_modules/.bun/{@floating-ui_core@1.7.4 → @floating-ui_core@1.7.5}/node_modules/@floating-ui/core/dist/floating-ui.core.js +171 -171
  94. package/dist/node_modules/.bun/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  95. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +404 -0
  96. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  97. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
  98. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  99. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  100. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  101. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/CalendarDate.js +1 -1
  102. package/dist/node_modules/.bun/{@swc_helpers@0.5.18 → @swc_helpers@0.5.19}/node_modules/@swc/helpers/esm/_check_private_redeclaration.js.map +1 -1
  103. package/dist/node_modules/.bun/{@swc_helpers@0.5.18 → @swc_helpers@0.5.19}/node_modules/@swc/helpers/esm/_class_private_field_init.js.map +1 -1
  104. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.connect.js +1 -1
  105. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.connect.js +3 -3
  106. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.connect.js +3 -3
  107. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.machine.js +7 -7
  108. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.connect.js +10 -10
  109. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.machine.js +20 -20
  110. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/dismissable-layer.js +1 -1
  111. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/press.js +3 -3
  112. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.machine.js +1 -1
  113. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.dom.js +4 -4
  114. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.machine.js +5 -5
  115. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.connect.js +1 -1
  116. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.machine.js +12 -12
  117. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.connect.js +1 -1
  118. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.machine.js +23 -23
  119. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.machine.js +4 -4
  120. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-placement.js +5 -5
  121. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.connect.js +3 -3
  122. package/dist/node_modules/.bun/@zag-js_remove-scroll@1.35.3/node_modules/@zag-js/remove-scroll/dist/index.js +4 -4
  123. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.connect.js +1 -1
  124. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.machine.js +2 -2
  125. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.dom.js +4 -4
  126. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.machine.js +18 -18
  127. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/machine.js +1 -1
  128. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.connect.js +1 -1
  129. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.dom.js +4 -4
  130. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.machine.js +11 -11
  131. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.connect.js +4 -4
  132. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.dom.js +1 -1
  133. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.machine.js +4 -4
  134. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast-group.machine.js +4 -4
  135. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.machine.js +7 -7
  136. package/package.json +1 -1
  137. package/src/components/Combobox.tsx +1 -1
  138. package/src/components/DatePicker.tsx +1 -1
  139. package/src/components/Field.tsx +6 -6
  140. package/src/components/NumberInput.tsx +1 -1
  141. package/src/components/PasswordInput.tsx +1 -1
  142. package/src/components/PinInput.tsx +1 -1
  143. package/src/components/Progress.tsx +2 -2
  144. package/src/components/RadioGroup.tsx +4 -4
  145. package/src/components/Select.tsx +1 -1
  146. package/src/components/Slider.tsx +8 -8
  147. package/src/components/TagsInput.tsx +1 -1
  148. package/src/components/TextInput.tsx +1 -1
  149. package/src/components/form/ComboboxField.tsx +30 -25
  150. package/src/components/form/DatePickerField.tsx +30 -17
  151. package/src/components/form/NumberInputField.tsx +5 -6
  152. package/src/components/form/PasswordInputField.tsx +7 -3
  153. package/src/components/form/SliderField.tsx +3 -1
  154. package/src/components/form/TagsInputField.tsx +43 -32
  155. package/dist/node_modules/.bun/@floating-ui_core@1.7.4/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  156. package/dist/node_modules/.bun/@floating-ui_dom@1.7.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -403
  157. package/dist/node_modules/.bun/@floating-ui_dom@1.7.5/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  158. package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -137
  159. package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  160. package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -131
  161. package/dist/node_modules/.bun/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  162. /package/dist/node_modules/.bun/{@swc_helpers@0.5.18 → @swc_helpers@0.5.19}/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -0
  163. /package/dist/node_modules/.bun/{@swc_helpers@0.5.18 → @swc_helpers@0.5.19}/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -0
@@ -1,13 +1,13 @@
1
- import { template as n, spread as o, mergeProps as r, createComponent as m } from "solid-js/web";
1
+ import { spread as n, mergeProps as r, createComponent as m, template as o } from "solid-js/web";
2
2
  import { splitProps as l } from "solid-js";
3
3
  import { tv as c, cn as i } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
4
4
  import { Separator as u } from "./Separator.js";
5
- var d = /* @__PURE__ */ n("<div role=list data-slot=item-group>"), f = /* @__PURE__ */ n("<div data-slot=item>"), p = /* @__PURE__ */ n("<div data-slot=item-media>"), g = /* @__PURE__ */ n("<div data-slot=item-content>"), v = /* @__PURE__ */ n("<div data-slot=item-title>"), x = /* @__PURE__ */ n("<p data-slot=item-description>"), _ = /* @__PURE__ */ n("<div data-slot=item-actions>"), h = /* @__PURE__ */ n("<div data-slot=item-header>"), z = /* @__PURE__ */ n("<div data-slot=item-footer>");
5
+ var d = /* @__PURE__ */ o("<div role=list data-slot=item-group>"), f = /* @__PURE__ */ o("<div data-slot=item>"), p = /* @__PURE__ */ o("<div data-slot=item-media>"), g = /* @__PURE__ */ o("<div data-slot=item-content>"), v = /* @__PURE__ */ o("<div data-slot=item-title>"), x = /* @__PURE__ */ o("<p data-slot=item-description>"), _ = /* @__PURE__ */ o("<div data-slot=item-actions>"), h = /* @__PURE__ */ o("<div data-slot=item-header>"), z = /* @__PURE__ */ o("<div data-slot=item-footer>");
6
6
  const V = (a) => {
7
7
  const [e, s] = l(a, ["class"]);
8
8
  return (() => {
9
9
  var t = d();
10
- return o(t, r({
10
+ return n(t, r({
11
11
  get class() {
12
12
  return i("gap-4 group/item-group flex w-full flex-col", "has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2", e.class);
13
13
  }
@@ -44,7 +44,7 @@ const V = (a) => {
44
44
  const [e, s] = l(a, ["class", "variant", "size"]);
45
45
  return (() => {
46
46
  var t = f();
47
- return o(t, r({
47
+ return n(t, r({
48
48
  get "data-variant"() {
49
49
  return e.variant ?? "default";
50
50
  },
@@ -76,7 +76,7 @@ const V = (a) => {
76
76
  const [e, s] = l(a, ["class", "variant"]);
77
77
  return (() => {
78
78
  var t = p();
79
- return o(t, r({
79
+ return n(t, r({
80
80
  get "data-variant"() {
81
81
  return e.variant ?? "default";
82
82
  },
@@ -92,7 +92,7 @@ const V = (a) => {
92
92
  const [e, s] = l(a, ["class"]);
93
93
  return (() => {
94
94
  var t = g();
95
- return o(t, r({
95
+ return n(t, r({
96
96
  get class() {
97
97
  return i("gap-1 [&+[data-slot=item-content]]:flex-none group-data-[size=xs]/item:gap-0 flex flex-1 flex-col", e.class);
98
98
  }
@@ -102,7 +102,7 @@ const V = (a) => {
102
102
  const [e, s] = l(a, ["class"]);
103
103
  return (() => {
104
104
  var t = v();
105
- return o(t, r({
105
+ return n(t, r({
106
106
  get class() {
107
107
  return i("gap-2 text-sm leading-snug font-medium line-clamp-1 flex w-fit items-center underline-offset-4", e.class);
108
108
  }
@@ -112,7 +112,7 @@ const V = (a) => {
112
112
  const [e, s] = l(a, ["class"]);
113
113
  return (() => {
114
114
  var t = x();
115
- return o(t, r({
115
+ return n(t, r({
116
116
  get class() {
117
117
  return i("text-sm leading-normal font-normal line-clamp-2 text-left text-muted-foreground", "group-data-[size=xs]/item:text-xs", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e.class);
118
118
  }
@@ -122,7 +122,7 @@ const V = (a) => {
122
122
  const [e, s] = l(a, ["class"]);
123
123
  return (() => {
124
124
  var t = _();
125
- return o(t, r({
125
+ return n(t, r({
126
126
  get class() {
127
127
  return i("gap-2 flex items-center", e.class);
128
128
  }
@@ -132,7 +132,7 @@ const V = (a) => {
132
132
  const [e, s] = l(a, ["class"]);
133
133
  return (() => {
134
134
  var t = h();
135
- return o(t, r({
135
+ return n(t, r({
136
136
  get class() {
137
137
  return i("gap-2 flex basis-full items-center justify-between", e.class);
138
138
  }
@@ -142,7 +142,7 @@ const V = (a) => {
142
142
  const [e, s] = l(a, ["class"]);
143
143
  return (() => {
144
144
  var t = z();
145
- return o(t, r({
145
+ return n(t, r({
146
146
  get class() {
147
147
  return i("gap-2 flex basis-full items-center justify-between", e.class);
148
148
  }
@@ -1,12 +1,12 @@
1
- import { template as n, spread as r, mergeProps as a } from "solid-js/web";
1
+ import { spread as n, mergeProps as r, template as a } from "solid-js/web";
2
2
  import { splitProps as l } from "solid-js";
3
3
  import { cn as c } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
4
- var i = /* @__PURE__ */ n("<kbd data-slot=kbd>"), d = /* @__PURE__ */ n("<div data-slot=kbd-group>");
4
+ var i = /* @__PURE__ */ a("<kbd data-slot=kbd>"), d = /* @__PURE__ */ a("<div data-slot=kbd-group>");
5
5
  const f = (e) => {
6
6
  const [o, s] = l(e, ["class"]);
7
7
  return (() => {
8
8
  var t = i();
9
- return r(t, a({
9
+ return n(t, r({
10
10
  get class() {
11
11
  return c("h-5 min-w-5 gap-1 px-1 font-sans text-xs font-medium [&_svg:not([class*='size-'])]:size-3 pointer-events-none inline-flex w-fit items-center justify-center rounded-sm bg-muted text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10", o.class);
12
12
  }
@@ -16,7 +16,7 @@ const f = (e) => {
16
16
  const [o, s] = l(e, ["class"]);
17
17
  return (() => {
18
18
  var t = d();
19
- return r(t, a({
19
+ return n(t, r({
20
20
  get class() {
21
21
  return c("gap-1 inline-flex items-center", o.class);
22
22
  }
@@ -1,4 +1,4 @@
1
- import { createComponent as s, mergeProps as o, memo as u, template as i, spread as m } from "solid-js/web";
1
+ import { createComponent as s, mergeProps as o, spread as u, memo as m, template as i } from "solid-js/web";
2
2
  import { menu_exports as r } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/2JT4XMQZ.js";
3
3
  import { splitProps as a } from "solid-js";
4
4
  import { cn as l } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
@@ -38,7 +38,7 @@ const y = r.Root, z = r.Trigger, C = r.Context, T = r.ItemGroup, k = (t) => {
38
38
  }
39
39
  }, n, {
40
40
  get children() {
41
- return [u(() => e.children), s(g, {
41
+ return [m(() => e.children), s(g, {
42
42
  class: "size-4 ml-auto"
43
43
  })];
44
44
  }
@@ -121,7 +121,7 @@ const y = r.Root, z = r.Trigger, C = r.Context, T = r.ItemGroup, k = (t) => {
121
121
  const [e, n] = a(t, ["class"]);
122
122
  return (() => {
123
123
  var c = p();
124
- return m(c, o({
124
+ return u(c, o({
125
125
  get class() {
126
126
  return l("text-xs tracking-widest ml-auto opacity-60", e.class);
127
127
  }
@@ -1,4 +1,4 @@
1
- import { delegateEvents as x, createComponent as r, mergeProps as s, template as m, insert as p, spread as d, memo as g } from "solid-js/web";
1
+ import { delegateEvents as x, createComponent as r, mergeProps as s, spread as d, insert as p, memo as g, template as m } from "solid-js/web";
2
2
  import { menu_exports as n } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/2JT4XMQZ.js";
3
3
  import { splitProps as a } from "solid-js";
4
4
  import { cn as l } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
@@ -1,4 +1,4 @@
1
- import { template as V, insert as c, createComponent as o, memo as u, mergeProps as p, effect as i, className as b } from "solid-js/web";
1
+ import { insert as c, createComponent as o, memo as u, mergeProps as p, effect as i, className as b, template as V } from "solid-js/web";
2
2
  import { splitProps as g, createMemo as f, For as d } from "solid-js";
3
3
  import { cn as m } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
4
4
  import { MenuComboboxEmpty as v, MenuComboboxItem as C, MenuComboboxShortcut as x, MenuComboboxSeparator as y, MenuComboboxItemGroup as G, MenuComboboxItemGroupLabel as L, MenuComboboxCheckboxItem as S, MenuComboboxRadioItemGroup as k, MenuComboboxRadioItem as _ } from "./MenuCombobox.js";
@@ -1,10 +1,10 @@
1
- import { createComponent as n, mergeProps as o, template as c, spread as d, insert as p } from "solid-js/web";
1
+ import { createComponent as n, mergeProps as o, spread as c, insert as d, template as p } from "solid-js/web";
2
2
  import { number_input_exports as s } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/5UOOPLZE.js";
3
3
  import { splitProps as l } from "solid-js";
4
4
  import { cn as a } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
5
5
  import b from "../_virtual/expand-less.js";
6
6
  import g from "../_virtual/expand-more.js";
7
- var m = /* @__PURE__ */ c("<div data-slot=number-input-triggers>");
7
+ var m = /* @__PURE__ */ p("<div data-slot=number-input-triggers>");
8
8
  const T = s.Context, C = (r) => {
9
9
  const [e, t] = l(r, ["class"]);
10
10
  return n(s.Root, o({
@@ -16,7 +16,7 @@ const T = s.Context, C = (r) => {
16
16
  const [e, t] = l(r, ["class"]);
17
17
  return n(s.Label, o({
18
18
  get class() {
19
- return a("mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
19
+ return a("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
20
20
  }
21
21
  }, t));
22
22
  }, k = (r) => {
@@ -67,7 +67,7 @@ const T = s.Context, C = (r) => {
67
67
  return n(s.Context, {
68
68
  children: (i) => (() => {
69
69
  var u = m();
70
- return d(u, o({
70
+ return c(u, o({
71
71
  get "data-focus"() {
72
72
  return i().focused ? "" : !1;
73
73
  },
@@ -77,7 +77,7 @@ const T = s.Context, C = (r) => {
77
77
  get class() {
78
78
  return a("top-0 right-0 absolute flex h-full flex-col border-l border-input transition-colors", e.class);
79
79
  }
80
- }, t), !1, !0), p(u, () => e.children ?? [n(f, {}), n(h, {})]), u;
80
+ }, t), !1, !0), d(u, () => e.children ?? [n(f, {}), n(h, {})]), u;
81
81
  })()
82
82
  });
83
83
  }, j = (r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.js","sources":["../../src/components/NumberInput.tsx"],"sourcesContent":["import { NumberInput as PrimitiveNumberInput } from '@ark-ui/solid/number-input';\nimport { type Component, type ComponentProps, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport ExpandLessIcon from '~icons/material-symbols/expand-less';\nimport ExpandMoreIcon from '~icons/material-symbols/expand-more';\n\nexport const NumberInputContext = PrimitiveNumberInput.Context;\n\nexport const NumberInput: Component<PrimitiveNumberInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Root\n class={cn('group/number-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const NumberInputLabel: Component<PrimitiveNumberInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Label\n class={cn(\n 'mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputControl: Component<PrimitiveNumberInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n\n return (\n <PrimitiveNumberInput.Control\n data-slot='number-input-control'\n class={cn(\n 'min-w-0 h-8 relative flex w-full items-center overflow-hidden rounded-lg border border-input transition-colors outline-none dark:bg-input/30',\n 'has-focus-visible:border-ring has-focus-visible:ring-[3px] has-focus-visible:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:has-focus-visible:border-input data-[readonly=true]:has-focus-visible:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputInput: Component<PrimitiveNumberInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Input\n class={cn(\n 'min-w-0 text-base md:text-sm flex w-full bg-transparent transition-colors outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'px-0 py-0 h-full border-none bg-transparent shadow-none ring-0 focus-visible:ring-0',\n 'pl-2.5 pr-2.5 group-has-data-[slot=number-input-triggers]/number-input:pr-8 transition-all',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputIncrementTrigger: Component<PrimitiveNumberInput.IncrementTriggerProps> = (\n props,\n) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.IncrementTrigger\n data-slot='number-input-increment-trigger'\n class={cn(\n 'px-1 flex flex-1 cursor-pointer items-center justify-center border-b text-muted-foreground transition-colors last:border-b-0 hover:bg-muted hover:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n >\n {local.children ?? <ExpandLessIcon class='size-3.5' />}\n </PrimitiveNumberInput.IncrementTrigger>\n );\n};\n\nexport const NumberInputDecrementTrigger: Component<PrimitiveNumberInput.DecrementTriggerProps> = (\n props,\n) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.DecrementTrigger\n data-slot='number-input-decrement-trigger'\n class={cn(\n 'px-1 flex flex-1 cursor-pointer items-center justify-center border-b text-muted-foreground transition-colors last:border-b-0 hover:bg-muted hover:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n >\n {local.children ?? <ExpandMoreIcon class='size-3.5' />}\n </PrimitiveNumberInput.DecrementTrigger>\n );\n};\n\nexport const NumberInputTriggers: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.Context>\n {(api) => (\n <div\n data-slot='number-input-triggers'\n data-focus={api().focused ? '' : false}\n data-invalid={api().invalid ? '' : false}\n class={cn(\n 'top-0 right-0 absolute flex h-full flex-col border-l border-input transition-colors',\n local.class,\n )}\n {...others}\n >\n {local.children ?? (\n <>\n <NumberInputIncrementTrigger />\n <NumberInputDecrementTrigger />\n </>\n )}\n </div>\n )}\n </PrimitiveNumberInput.Context>\n );\n};\n\nexport const NumberInputScrubber: Component<PrimitiveNumberInput.ScrubberProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Scrubber\n data-slot='number-input-scrubber'\n class={cn('cursor-ew-resize', local.class)}\n {...others}\n />\n );\n};\n\nexport const NumberInputValueText: Component<PrimitiveNumberInput.ValueTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.ValueText\n data-slot='number-input-value-text'\n class={cn('text-sm', local.class)}\n {...others}\n />\n );\n};\n"],"names":["NumberInputContext","PrimitiveNumberInput","Context","NumberInput","props","local","others","splitProps","_$createComponent","Root","_$mergeProps","cn","class","NumberInputLabel","Label","NumberInputControl","Control","NumberInputInput","Input","NumberInputIncrementTrigger","IncrementTrigger","children","ExpandLessIcon","NumberInputDecrementTrigger","DecrementTrigger","ExpandMoreIcon","NumberInputTriggers","api","_el$","_tmpl$","_$spread","focused","invalid","_$insert","NumberInputScrubber","Scrubber","NumberInputValueText","ValueText"],"mappings":";;;;;;;AAMO,MAAMA,IAAqBC,EAAqBC,SAE1CC,IAA0DC,CAAAA,MAAU;AAC/E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBQ,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACjBC,EAAG,2CAA2CN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC7DN,CAAM,CAAA;AAGhB,GAEaO,IAAgET,CAAAA,MAAU;AACrF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBa,OAAKJ,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAClBC,EACL,qNACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaS,IAAoEX,CAAAA,MAAU;AACzF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AAEnD,SAAAI,EACGP,EAAqBe,SAAON,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEpBC,EACL,gJACA,6FACA,8JACA,0GACA,qGACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaW,IAAgEb,CAAAA,MAAU;AACrF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBiB,OAAKR,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAClBC,EACL,6OACA,uFACA,8FACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CA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AAA,QAAA,IAAA,QAAA;AAAA,iBACjCrB,EACL,uFACAN,EAAMO,KACR;AAAA,QAAC;AAAA,MAAA,GACGN,CAAM,GAAA,IAAA,EAAA,GAAA2B,EAAAL,GAAA,MAETvB,EAAMgB,YAAQ,CAAAb,EAEVW,GAA2B,CAAA,CAAA,GAAAX,EAC3Be,GAA2B,CAAA,CAAA,CAAA,CAE/B,GAAAK;AAAAA,IAAA,GAAA;AAAA,EAAA,CAEJ;AAGP,GAEaM,IAAsE9B,CAAAA,MAAU;AAC3F,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBkC,UAAQzB,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAErBC,EAAG,oBAAoBN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GACtCN,CAAM,CAAA;AAGhB,GAEa8B,IAAwEhC,CAAAA,MAAU;AAC7F,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBoC,WAAS3B,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEtBC,EAAG,WAAWN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC7BN,CAAM,CAAA;AAGhB;"}
1
+ {"version":3,"file":"NumberInput.js","sources":["../../src/components/NumberInput.tsx"],"sourcesContent":["import { NumberInput as PrimitiveNumberInput } from '@ark-ui/solid/number-input';\nimport { type Component, type ComponentProps, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport ExpandLessIcon from '~icons/material-symbols/expand-less';\nimport ExpandMoreIcon from '~icons/material-symbols/expand-more';\n\nexport const NumberInputContext = PrimitiveNumberInput.Context;\n\nexport const NumberInput: Component<PrimitiveNumberInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Root\n class={cn('group/number-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const NumberInputLabel: Component<PrimitiveNumberInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Label\n class={cn(\n 'mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputControl: Component<PrimitiveNumberInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n\n return (\n <PrimitiveNumberInput.Control\n data-slot='number-input-control'\n class={cn(\n 'min-w-0 h-8 relative flex w-full items-center overflow-hidden rounded-lg border border-input transition-colors outline-none dark:bg-input/30',\n 'has-focus-visible:border-ring has-focus-visible:ring-[3px] has-focus-visible:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:has-focus-visible:border-input data-[readonly=true]:has-focus-visible:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputInput: Component<PrimitiveNumberInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Input\n class={cn(\n 'min-w-0 text-base md:text-sm flex w-full bg-transparent transition-colors outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'px-0 py-0 h-full border-none bg-transparent shadow-none ring-0 focus-visible:ring-0',\n 'pl-2.5 pr-2.5 group-has-data-[slot=number-input-triggers]/number-input:pr-8 transition-all',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const NumberInputIncrementTrigger: Component<PrimitiveNumberInput.IncrementTriggerProps> = (\n props,\n) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.IncrementTrigger\n data-slot='number-input-increment-trigger'\n class={cn(\n 'px-1 flex flex-1 cursor-pointer items-center justify-center border-b text-muted-foreground transition-colors last:border-b-0 hover:bg-muted hover:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n >\n {local.children ?? <ExpandLessIcon class='size-3.5' />}\n </PrimitiveNumberInput.IncrementTrigger>\n );\n};\n\nexport const NumberInputDecrementTrigger: Component<PrimitiveNumberInput.DecrementTriggerProps> = (\n props,\n) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.DecrementTrigger\n data-slot='number-input-decrement-trigger'\n class={cn(\n 'px-1 flex flex-1 cursor-pointer items-center justify-center border-b text-muted-foreground transition-colors last:border-b-0 hover:bg-muted hover:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n >\n {local.children ?? <ExpandMoreIcon class='size-3.5' />}\n </PrimitiveNumberInput.DecrementTrigger>\n );\n};\n\nexport const NumberInputTriggers: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitiveNumberInput.Context>\n {(api) => (\n <div\n data-slot='number-input-triggers'\n data-focus={api().focused ? '' : false}\n data-invalid={api().invalid ? '' : false}\n class={cn(\n 'top-0 right-0 absolute flex h-full flex-col border-l border-input transition-colors',\n local.class,\n )}\n {...others}\n >\n {local.children ?? (\n <>\n <NumberInputIncrementTrigger />\n <NumberInputDecrementTrigger />\n </>\n )}\n </div>\n )}\n </PrimitiveNumberInput.Context>\n );\n};\n\nexport const NumberInputScrubber: Component<PrimitiveNumberInput.ScrubberProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.Scrubber\n data-slot='number-input-scrubber'\n class={cn('cursor-ew-resize', local.class)}\n {...others}\n />\n );\n};\n\nexport const NumberInputValueText: Component<PrimitiveNumberInput.ValueTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitiveNumberInput.ValueText\n data-slot='number-input-value-text'\n class={cn('text-sm', local.class)}\n {...others}\n />\n );\n};\n"],"names":["NumberInputContext","PrimitiveNumberInput","Context","NumberInput","props","local","others","splitProps","_$createComponent","Root","_$mergeProps","cn","class","NumberInputLabel","Label","NumberInputControl","Control","NumberInputInput","Input","NumberInputIncrementTrigger","IncrementTrigger","children","ExpandLessIcon","NumberInputDecrementTrigger","DecrementTrigger","ExpandMoreIcon","NumberInputTriggers","api","_el$","_tmpl$","_$spread","focused","invalid","_$insert","NumberInputScrubber","Scrubber","NumberInputValueText","ValueText"],"mappings":";;;;;;;AAMO,MAAMA,IAAqBC,EAAqBC,SAE1CC,IAA0DC,CAAAA,MAAU;AAC/E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBQ,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACjBC,EAAG,2CAA2CN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC7DN,CAAM,CAAA;AAGhB,GAEaO,IAAgET,CAAAA,MAAU;AACrF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGP,EAAqBa,OAAKJ,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAClBC,EACL,uNACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaS,IAAoEX,CAAAA,MAAU;AACzF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AAEnD,SAAAI,EACGP,EAAqBe,SAAON,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEpBC,EACL,gJACA,6FACA,8JACA,0GACA,qGACAN,EAAMO,KACR;AAAA,IA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Component as n, mergeProps as o, spread as u, insert as g, template as c } from "solid-js/web";
2
2
  import { pagination_exports as i } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UQTBTRSG.js";
3
3
  import { splitProps as s } from "solid-js";
4
4
  import { cn as l } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
@@ -6,9 +6,9 @@ import m from "../_virtual/chevron-left.js";
6
6
  import f from "../_virtual/chevron-right.js";
7
7
  import h from "../_virtual/more-horiz.js";
8
8
  import { buttonVariants as p } from "./Button.js";
9
- import { ui_pagination_previous as v } from "../paraglide/messages/ui_pagination_previous.js";
9
+ import { ui_pagination_more as v } from "../paraglide/messages/ui_pagination_more.js";
10
10
  import { ui_pagination_next as _ } from "../paraglide/messages/ui_pagination_next.js";
11
- import { ui_pagination_more as x } from "../paraglide/messages/ui_pagination_more.js";
11
+ import { ui_pagination_previous as x } from "../paraglide/messages/ui_pagination_previous.js";
12
12
  var P = /* @__PURE__ */ c("<ul data-slot=pagination-content>"), $ = /* @__PURE__ */ c("<li data-slot=pagination-item>"), d = /* @__PURE__ */ c("<span>"), b = /* @__PURE__ */ c("<span class=sr-only>");
13
13
  const T = i.Context, H = (r) => {
14
14
  const [t, a] = s(r, ["class"]);
@@ -71,7 +71,7 @@ const T = i.Context, H = (r) => {
71
71
  get children() {
72
72
  return t.children ?? [n(m, {}), (() => {
73
73
  var e = d();
74
- return g(e, () => v()), e;
74
+ return g(e, () => x()), e;
75
75
  })()];
76
76
  }
77
77
  }));
@@ -104,7 +104,7 @@ const T = i.Context, H = (r) => {
104
104
  class: "size-4"
105
105
  }), (() => {
106
106
  var e = b();
107
- return g(e, () => x()), e;
107
+ return g(e, () => v()), e;
108
108
  })()];
109
109
  }
110
110
  }));
@@ -15,7 +15,7 @@ const m = (r) => {
15
15
  const [t, e] = i(r, ["class"]);
16
16
  return o(s.Label, n({
17
17
  get class() {
18
- return a("mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", t.class);
18
+ return a("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", t.class);
19
19
  }
20
20
  }, e));
21
21
  }, v = (r) => {
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInput.js","sources":["../../src/components/PasswordInput.tsx"],"sourcesContent":["import { PasswordInput as PrimitivePasswordInput } from '@ark-ui/solid/password-input';\nimport { splitProps, type Component } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport VisibilityIcon from '~icons/material-symbols/visibility';\nimport VisibilityOffIcon from '~icons/material-symbols/visibility-off';\nexport const PasswordInput: Component<PrimitivePasswordInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Root\n class={cn('group/password-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const PasswordInputContext = PrimitivePasswordInput.Context;\n\nexport const PasswordInputLabel: Component<PrimitivePasswordInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Label\n class={cn(\n 'mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputControl: Component<PrimitivePasswordInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n\n return (\n <PrimitivePasswordInput.Control\n data-slot='password-input-control'\n class={cn(\n 'min-w-0 h-8 relative flex w-full items-center overflow-hidden rounded-lg border border-input transition-colors outline-none dark:bg-input/30',\n 'focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:focus-within:border-input data-[readonly=true]:focus-within:ring-0',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:focus-within:border-input data-[readonly=true]:focus-within:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputInput: Component<PrimitivePasswordInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Input\n class={cn(\n 'min-w-0 text-base md:text-sm flex w-full bg-transparent transition-colors outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'px-0 py-0 h-full border-none bg-transparent shadow-none ring-0 focus-visible:ring-0',\n 'pl-2.5 pr-10',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputVisibilityTrigger: Component<\n PrimitivePasswordInput.VisibilityTriggerProps\n> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.VisibilityTrigger\n data-slot='password-input-visibility-trigger'\n class={cn(\n 'top-0 right-0 w-9 absolute flex h-full cursor-pointer items-center justify-center text-muted-foreground transition-colors outline-none hover:bg-muted hover:text-foreground focus-visible:bg-muted focus-visible:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputIndicator: Component<PrimitivePasswordInput.IndicatorProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitivePasswordInput.Indicator\n class={cn(local.class)}\n fallback={local.children ?? <VisibilityOffIcon class='size-4' />}\n {...others}\n >\n <VisibilityIcon class='size-4' />\n </PrimitivePasswordInput.Indicator>\n );\n};\n"],"names":["PasswordInput","props","local","others","splitProps","_$createComponent","PrimitivePasswordInput","Root","_$mergeProps","cn","class","PasswordInputContext","Context","PasswordInputLabel","Label","PasswordInputControl","Control","PasswordInputInput","Input","PasswordInputVisibilityTrigger","VisibilityTrigger","PasswordInputIndicator","Indicator","fallback","children","VisibilityOffIcon","VisibilityIcon"],"mappings":";;;;;;AAKO,MAAMA,IAA8DC,CAAAA,MAAU;AACnF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAuBC,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACnBC,EAAG,6CAA6CP,EAAMQ,KAAK;AAAA,IAAC;AAAA,EAAA,GAC/DP,CAAM,CAAA;AAGhB,GAEaQ,IAAuBL,EAAuBM,SAE9CC,IAAoEZ,CAAAA,MAAU;AACzF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAuBQ,OAAKN,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACpBC,EACL,qNACAP,EAAMQ,KACR;AAAA,IAAC;AAAA,EAAA,GACGP,CAAM,CAAA;AAGhB,GAEaY,IAAwEd,CAAAA,MAAU;AAC7F,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AAEnD,SAAAI,EACGC,EAAuBU,SAAOR,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEtBC,EACL,gJACA,8EACA,8JACA,0GACA,2FACA,8JACA,0GACA,2FACAP,EAAMQ,KACR;AAAA,IAAC;AAAA,EAAA,GACGP,CAAM,CAAA;AAGhB,GAEac,IAAoEhB,CAAAA,MAAU;AACzF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAuBY,OAAKV,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACpBC,EACL,6OACA,uFACA,gBACAP,EAAMQ,KACR;AAAA,IAAC;AAAA,EAAA,GACGP,CAAM,CAAA;AAGhB,GAEagB,IAERlB,CAAAA,MAAU;AACb,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAuBc,mBAAiBZ,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEhCC,EACL,wPACAP,EAAMQ,KACR;AAAA,IAAC;AAAA,EAAA,GACGP,CAAM,CAAA;AAGhB,GAEakB,IAA4EpB,CAAAA,MAAU;AACjG,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,SAAS,UAAU,CAAC;AAC/D,SAAAI,EACGC,EAAuBgB,WAASd,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACxBC,EAAGP,EAAMQ,KAAK;AAAA,IAAC;AAAA,IAAA,IACtBa,WAAQ;AAAA,aAAErB,EAAMsB,YAAQnB,EAAKoB,GAAiB;AAAA,QAAA,OAAA;AAAA,MAAA,CAAA;AAAA,IAAkB;AAAA,EAAA,GAC5DtB,GAAM;AAAA,IAAA,IAAAqB,WAAA;AAAA,aAAAnB,EAETqB,GAAc;AAAA,QAAA,OAAA;AAAA,MAAA,CAAA;AAAA,IAAA;AAAA,EAAA,CAAA,CAAA;AAGrB;"}
1
+ {"version":3,"file":"PasswordInput.js","sources":["../../src/components/PasswordInput.tsx"],"sourcesContent":["import { PasswordInput as PrimitivePasswordInput } from '@ark-ui/solid/password-input';\nimport { splitProps, type Component } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport VisibilityIcon from '~icons/material-symbols/visibility';\nimport VisibilityOffIcon from '~icons/material-symbols/visibility-off';\nexport const PasswordInput: Component<PrimitivePasswordInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Root\n class={cn('group/password-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const PasswordInputContext = PrimitivePasswordInput.Context;\n\nexport const PasswordInputLabel: Component<PrimitivePasswordInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Label\n class={cn(\n 'mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputControl: Component<PrimitivePasswordInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n\n return (\n <PrimitivePasswordInput.Control\n data-slot='password-input-control'\n class={cn(\n 'min-w-0 h-8 relative flex w-full items-center overflow-hidden rounded-lg border border-input transition-colors outline-none dark:bg-input/30',\n 'focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:focus-within:border-input data-[readonly=true]:focus-within:ring-0',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'data-[disabled=true]:bg-input/50 data-[disabled=true]:opacity-50 dark:data-[disabled=true]:bg-input/80',\n 'data-[readonly=true]:focus-within:border-input data-[readonly=true]:focus-within:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputInput: Component<PrimitivePasswordInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.Input\n class={cn(\n 'min-w-0 text-base md:text-sm flex w-full bg-transparent transition-colors outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'px-0 py-0 h-full border-none bg-transparent shadow-none ring-0 focus-visible:ring-0',\n 'pl-2.5 pr-10',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputVisibilityTrigger: Component<\n PrimitivePasswordInput.VisibilityTriggerProps\n> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePasswordInput.VisibilityTrigger\n data-slot='password-input-visibility-trigger'\n class={cn(\n 'top-0 right-0 w-9 absolute flex h-full cursor-pointer items-center justify-center text-muted-foreground transition-colors outline-none hover:bg-muted hover:text-foreground focus-visible:bg-muted focus-visible:text-foreground disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PasswordInputIndicator: Component<PrimitivePasswordInput.IndicatorProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <PrimitivePasswordInput.Indicator\n class={cn(local.class)}\n fallback={local.children ?? <VisibilityOffIcon class='size-4' />}\n {...others}\n >\n <VisibilityIcon class='size-4' />\n </PrimitivePasswordInput.Indicator>\n );\n};\n"],"names":["PasswordInput","props","local","others","splitProps","_$createComponent","PrimitivePasswordInput","Root","_$mergeProps","cn","class","PasswordInputContext","Context","PasswordInputLabel","Label","PasswordInputControl","Control","PasswordInputInput","Input","PasswordInputVisibilityTrigger","VisibilityTrigger","PasswordInputIndicator","Indicator","fallback","children","VisibilityOffIcon","VisibilityIcon"],"mappings":";;;;;;AAKO,MAAMA,IAA8DC,CAAAA,MAAU;AACnF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAuBC,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACnBC,EAAG,6CAA6CP,EAAMQ,KAAK;AAAA,IAA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M,IAAIC,EAAWH,GAAO,CAAC,SAAS,UAAU,CAAC;AAC/D,SAAAI,EACGC,EAAuBgB,WAASd,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACxBC,EAAGP,EAAMQ,KAAK;AAAA,IAAC;AAAA,IAAA,IACtBa,WAAQ;AAAA,aAAErB,EAAMsB,YAAQnB,EAAKoB,GAAiB;AAAA,QAAA,OAAA;AAAA,MAAA,CAAA;AAAA,IAAkB;AAAA,EAAA,GAC5DtB,GAAM;AAAA,IAAA,IAAAqB,WAAA;AAAA,aAAAnB,EAETqB,GAAc;AAAA,QAAA,OAAA;AAAA,MAAA,CAAA;AAAA,IAAA;AAAA,EAAA,CAAA,CAAA;AAGrB;"}
@@ -1,9 +1,9 @@
1
- import { createComponent as l, mergeProps as i, template as d, spread as u, insert as p } from "solid-js/web";
1
+ import { createComponent as l, mergeProps as i, spread as d, insert as p, template as u } from "solid-js/web";
2
2
  import { pin_input_exports as s } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/3JJJT3ZB.js";
3
3
  import { splitProps as o } from "solid-js";
4
4
  import { cn as a } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
5
5
  import c from "../_virtual/close.js";
6
- var g = /* @__PURE__ */ d("<div data-slot=pin-input-group>"), f = /* @__PURE__ */ d("<div aria-hidden=true data-slot=pin-input-separator>");
6
+ var g = /* @__PURE__ */ u("<div data-slot=pin-input-group>"), f = /* @__PURE__ */ u("<div aria-hidden=true data-slot=pin-input-separator>");
7
7
  const y = s.HiddenInput, P = s.Context, h = (t) => {
8
8
  const [e, r] = o(t, ["class"]);
9
9
  return l(s.Root, i({
@@ -15,7 +15,7 @@ const y = s.HiddenInput, P = s.Context, h = (t) => {
15
15
  const [e, r] = o(t, ["class"]);
16
16
  return l(s.Label, i({
17
17
  get class() {
18
- return a("mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
18
+ return a("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
19
19
  }
20
20
  }, r));
21
21
  }, _ = (t) => {
@@ -30,7 +30,7 @@ const y = s.HiddenInput, P = s.Context, h = (t) => {
30
30
  const [e, r] = o(t, ["class"]);
31
31
  return (() => {
32
32
  var n = g();
33
- return u(n, i({
33
+ return d(n, i({
34
34
  get class() {
35
35
  return a("flex items-center group-data-invalid/pin-input:border-destructive group-data-invalid/pin-input:ring-[3px] group-data-invalid/pin-input:ring-destructive/20 dark:group-data-invalid/pin-input:ring-destructive/40", "group-data-disabled/pin-input:opacity-50", e.class);
36
36
  }
@@ -47,7 +47,7 @@ const y = s.HiddenInput, P = s.Context, h = (t) => {
47
47
  const [e, r] = o(t, ["class"]);
48
48
  return (() => {
49
49
  var n = f();
50
- return u(n, i({
50
+ return d(n, i({
51
51
  get class() {
52
52
  return a("flex items-center justify-center text-muted-foreground", e.class);
53
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PinInput.js","sources":["../../src/components/PinInput.tsx"],"sourcesContent":["import { PinInput as PrimitivePinInput } from '@ark-ui/solid/pin-input';\nimport { splitProps, type Component, type ComponentProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport RemoveIcon from '~icons/material-symbols/close';\n\nexport const PinInputHiddenInput = PrimitivePinInput.HiddenInput;\nexport const PinInputContext = PrimitivePinInput.Context;\n\nexport const PinInput: Component<PrimitivePinInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Root\n class={cn('group/pin-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const PinInputLabel: Component<PrimitivePinInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Label\n class={cn(\n 'mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputControl: Component<PrimitivePinInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Control\n data-slot='pin-input-control'\n class={cn('gap-2 flex items-center', local.class)}\n {...others}\n />\n );\n};\n\nexport const PinInputGroup: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <div\n data-slot='pin-input-group'\n class={cn(\n 'flex items-center group-data-invalid/pin-input:border-destructive group-data-invalid/pin-input:ring-[3px] group-data-invalid/pin-input:ring-destructive/20 dark:group-data-invalid/pin-input:ring-destructive/40',\n 'group-data-disabled/pin-input:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputInput: Component<PrimitivePinInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Input\n class={cn(\n 'h-10 w-10 text-sm relative flex items-center justify-center border-y border-r border-input bg-transparent text-center transition-colors outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground first:rounded-l-md first:border-l last:rounded-r-md dark:bg-input/30',\n 'focus-visible:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-2 data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'data-[readonly=true]:focus-visible:border-input data-[readonly=true]:focus-visible:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputSeparator: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <div\n aria-hidden='true'\n data-slot='pin-input-separator'\n class={cn('flex items-center justify-center text-muted-foreground', local.class)}\n {...others}\n >\n <RemoveIcon class='size-4' />\n </div>\n );\n};\n"],"names":["PinInputHiddenInput","PrimitivePinInput","HiddenInput","PinInputContext","Context","PinInput","props","local","others","splitProps","_$createComponent","Root","_$mergeProps","cn","class","PinInputLabel","Label","PinInputControl","Control","PinInputGroup","_el$","_tmpl$","_$spread","PinInputInput","Input","PinInputSeparator","_el$2","_tmpl$2","_$insert","RemoveIcon"],"mappings":";;;;;;AAKO,MAAMA,IAAsBC,EAAkBC,aACxCC,IAAkBF,EAAkBG,SAEpCC,IAAoDC,CAAAA,MAAU;AACzE,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBU,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACdC,EAAG,wCAAwCN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC1DN,CAAM,CAAA;AAGhB,GAEaO,IAA0DT,CAAAA,MAAU;AAC/E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBe,OAAKJ,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACfC,EACL,qNACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaS,IAA8DX,CAAAA,MAAU;AACnF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBiB,SAAON,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEjBC,EAAG,2BAA2BN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC7CN,CAAM,CAAA;AAGhB,GAEaW,IAAmDb,CAAAA,MAAU;AACxE,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,UAAA,MAAA;AAAA,QAAAc,IAAAC,EAAAA;AAAAC,WAAAA,EAAAF,GAAAR,EAAA;AAAA,MAAA,IAAA,QAAA;AAAA,eAGWC,EACL,oNACA,4CACAN,EAAMO,KACR;AAAA,MAAC;AAAA,IAAA,GACGN,CAAM,GAAA,IAAA,EAAA,GAAAY;AAAAA,EAAA,GAAA;AAGhB,GAEaG,IAA0DjB,CAAAA,MAAU;AAC/E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBuB,OAAKZ,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACfC,EACL,sTACA,oGACA,0JACA,oHACA,6FACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaiB,IAAuDnB,CAAAA,MAAU;AAC5E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,UAAA,MAAA;AAAA,QAAAoB,IAAAC,EAAAA;AAAAL,WAAAA,EAAAI,GAAAd,EAAA;AAAA,MAAA,IAAA,QAAA;AAAA,eAIWC,EAAG,0DAA0DN,EAAMO,KAAK;AAAA,MAAC;AAAA,IAAA,GAC5EN,CAAM,GAAA,IAAA,EAAA,GAAAoB,EAAAF,GAAAhB,EAETmB,GAAU;AAAA,MAAA,OAAA;AAAA,IAAA,CAAA,CAAA,GAAAH;AAAAA,EAAA,GAAA;AAGjB;"}
1
+ {"version":3,"file":"PinInput.js","sources":["../../src/components/PinInput.tsx"],"sourcesContent":["import { PinInput as PrimitivePinInput } from '@ark-ui/solid/pin-input';\nimport { splitProps, type Component, type ComponentProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\nimport RemoveIcon from '~icons/material-symbols/close';\n\nexport const PinInputHiddenInput = PrimitivePinInput.HiddenInput;\nexport const PinInputContext = PrimitivePinInput.Context;\n\nexport const PinInput: Component<PrimitivePinInput.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Root\n class={cn('group/pin-input flex w-full flex-col', local.class)}\n {...others}\n />\n );\n};\n\nexport const PinInputLabel: Component<PrimitivePinInput.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Label\n class={cn(\n 'mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputControl: Component<PrimitivePinInput.ControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Control\n data-slot='pin-input-control'\n class={cn('gap-2 flex items-center', local.class)}\n {...others}\n />\n );\n};\n\nexport const PinInputGroup: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <div\n data-slot='pin-input-group'\n class={cn(\n 'flex items-center group-data-invalid/pin-input:border-destructive group-data-invalid/pin-input:ring-[3px] group-data-invalid/pin-input:ring-destructive/20 dark:group-data-invalid/pin-input:ring-destructive/40',\n 'group-data-disabled/pin-input:opacity-50',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputInput: Component<PrimitivePinInput.InputProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <PrimitivePinInput.Input\n class={cn(\n 'h-10 w-10 text-sm relative flex items-center justify-center border-y border-r border-input bg-transparent text-center transition-colors outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground first:rounded-l-md first:border-l last:rounded-r-md dark:bg-input/30',\n 'focus-visible:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50',\n 'data-[invalid=true]:border-destructive data-[invalid=true]:ring-2 data-[invalid=true]:ring-destructive/20 dark:data-[invalid=true]:ring-destructive/40',\n 'disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 data-[readonly=true]:cursor-default',\n 'data-[readonly=true]:focus-visible:border-input data-[readonly=true]:focus-visible:ring-0',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const PinInputSeparator: Component<ComponentProps<'div'>> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <div\n aria-hidden='true'\n data-slot='pin-input-separator'\n class={cn('flex items-center justify-center text-muted-foreground', local.class)}\n {...others}\n >\n <RemoveIcon class='size-4' />\n </div>\n );\n};\n"],"names":["PinInputHiddenInput","PrimitivePinInput","HiddenInput","PinInputContext","Context","PinInput","props","local","others","splitProps","_$createComponent","Root","_$mergeProps","cn","class","PinInputLabel","Label","PinInputControl","Control","PinInputGroup","_el$","_tmpl$","_$spread","PinInputInput","Input","PinInputSeparator","_el$2","_tmpl$2","_$insert","RemoveIcon"],"mappings":";;;;;;AAKO,MAAMA,IAAsBC,EAAkBC,aACxCC,IAAkBF,EAAkBG,SAEpCC,IAAoDC,CAAAA,MAAU;AACzE,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBU,MAAIC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACdC,EAAG,wCAAwCN,EAAMO,KAAK;AAAA,IAAC;AAAA,EAAA,GAC1DN,CAAM,CAAA;AAGhB,GAEaO,IAA0DT,CAAAA,MAAU;AAC/E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGT,EAAkBe,OAAKJ,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACfC,EACL,uNACAN,EAAMO,KACR;AAAA,IAAC;AAAA,EAAA,GACGN,CAAM,CAAA;AAGhB,GAEaS,IAA8DX,CAAAA,MAAU;AACnF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CA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 @@
1
- import { createComponent as a, mergeProps as n, template as d, spread as c } from "solid-js/web";
1
+ import { createComponent as a, mergeProps as n, spread as d, template as c } from "solid-js/web";
2
2
  import { popover_exports as t } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/MQWCA23U.js";
3
3
  import { splitProps as s } from "solid-js";
4
4
  import { cn as l } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
5
- var i = /* @__PURE__ */ d("<div data-slot=popover-header>");
5
+ var i = /* @__PURE__ */ c("<div data-slot=popover-header>");
6
6
  const u = t.Root, h = t.Trigger, b = t.Anchor, x = t.Indicator, P = t.CloseTrigger, w = t.Context, C = (e) => {
7
7
  const [o, r] = s(e, ["class"]);
8
8
  return a(t.Positioner, n({
@@ -37,7 +37,7 @@ const u = t.Root, h = t.Trigger, b = t.Anchor, x = t.Indicator, P = t.CloseTrigg
37
37
  const [o, r] = s(e, ["class"]);
38
38
  return (() => {
39
39
  var p = i();
40
- return c(p, n({
40
+ return d(p, n({
41
41
  get class() {
42
42
  return l("gap-0.5 text-sm flex flex-col", o.class);
43
43
  }
@@ -6,7 +6,7 @@ const g = t.View, p = t.Context, h = (e) => {
6
6
  const [r, s] = c(e, ["class", "children"]);
7
7
  return l(t.Circle, o({
8
8
  get class() {
9
- return a("text-primary shrink-0", "[--size:2.5rem] [--thickness:4px]", r.class);
9
+ return a("shrink-0 text-primary", "[--size:2.5rem] [--thickness:4px]", r.class);
10
10
  },
11
11
  "data-slot": "progress-circle"
12
12
  }, s, {
@@ -71,7 +71,7 @@ const g = t.View, p = t.Context, h = (e) => {
71
71
  return l(t.Label, o({
72
72
  "data-slot": "progress-label",
73
73
  get class() {
74
- return a("mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", "text-sm font-medium", r.class);
74
+ return a("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", "text-sm font-medium", r.class);
75
75
  }
76
76
  }, s, {
77
77
  get children() {
@@ -1 +1 @@
1
- {"version":3,"file":"Progress.js","sources":["../../src/components/Progress.tsx"],"sourcesContent":["import { Progress as ProgressPrimitive } from '@ark-ui/solid/progress';\nimport { type Component, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\n\nexport const ProgressView = ProgressPrimitive.View;\nexport const ProgressContext = ProgressPrimitive.Context;\n\nexport const ProgressCircle: Component<ProgressPrimitive.CircleProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Circle\n class={cn('text-primary shrink-0', '[--size:2.5rem] [--thickness:4px]', local.class)}\n data-slot='progress-circle'\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Circle>\n );\n};\n\nexport const ProgressCircleRange: Component<ProgressPrimitive.CircleRangeProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.CircleRange\n class={cn('ease-out stroke-current transition-all duration-300', local.class)}\n data-slot='progress-circle-range'\n {...others}\n />\n );\n};\n\nexport const ProgressCircleTrack: Component<ProgressPrimitive.CircleTrackProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.CircleTrack\n class={cn('stroke-muted', local.class)}\n data-slot='progress-circle-track'\n {...others}\n />\n );\n};\n\nexport const Progress: Component<ProgressPrimitive.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n\n return (\n <ProgressPrimitive.Root\n data-slot='progress'\n class={cn('flex w-full flex-col', local.class)}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Root>\n );\n};\n\nexport const ProgressTrack: Component<ProgressPrimitive.TrackProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Track\n class={cn(\n 'h-2 relative flex w-full items-center overflow-x-hidden rounded-full bg-muted',\n local.class,\n )}\n data-slot='progress-track'\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Track>\n );\n};\n\nexport const ProgressIndicator: Component<ProgressPrimitive.RangeProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Range\n data-slot='progress-indicator'\n class={cn('h-full bg-primary transition-all', local.class)}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Range>\n );\n};\n\nexport const ProgressLabel: Component<ProgressPrimitive.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Label\n data-slot='progress-label'\n class={cn(\n 'mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'text-sm font-medium',\n local.class,\n )}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Label>\n );\n};\n\nexport const ProgressValue: Component<ProgressPrimitive.ValueTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.ValueText\n class={cn('text-sm ml-auto text-muted-foreground tabular-nums', local.class)}\n data-slot='progress-value'\n {...others}\n />\n );\n};\n"],"names":["ProgressView","ProgressPrimitive","View","ProgressContext","Context","ProgressCircle","props","local","others","splitProps","_$createComponent","Circle","_$mergeProps","cn","class","children","ProgressCircleRange","CircleRange","ProgressCircleTrack","CircleTrack","Progress","Root","ProgressTrack","Track","ProgressIndicator","Range","ProgressLabel","Label","ProgressValue","ValueText"],"mappings":";;;;AAIO,MAAMA,IAAeC,EAAkBC,MACjCC,IAAkBF,EAAkBG,SAEpCC,IAA4DC,CAAAA,MAAU;AACjF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,SAAS,UAAU,CAAC;AAC/D,SAAAI,EACGT,EAAkBU,QAAMC,EAAA;AAAA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AAA,GAExEN,CAAM,CAAA;AAGhB;"}
1
+ {"version":3,"file":"Progress.js","sources":["../../src/components/Progress.tsx"],"sourcesContent":["import { Progress as ProgressPrimitive } from '@ark-ui/solid/progress';\nimport { type Component, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\n\nexport const ProgressView = ProgressPrimitive.View;\nexport const ProgressContext = ProgressPrimitive.Context;\n\nexport const ProgressCircle: Component<ProgressPrimitive.CircleProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Circle\n class={cn('shrink-0 text-primary', '[--size:2.5rem] [--thickness:4px]', local.class)}\n data-slot='progress-circle'\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Circle>\n );\n};\n\nexport const ProgressCircleRange: Component<ProgressPrimitive.CircleRangeProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.CircleRange\n class={cn('ease-out stroke-current transition-all duration-300', local.class)}\n data-slot='progress-circle-range'\n {...others}\n />\n );\n};\n\nexport const ProgressCircleTrack: Component<ProgressPrimitive.CircleTrackProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.CircleTrack\n class={cn('stroke-muted', local.class)}\n data-slot='progress-circle-track'\n {...others}\n />\n );\n};\n\nexport const Progress: Component<ProgressPrimitive.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n\n return (\n <ProgressPrimitive.Root\n data-slot='progress'\n class={cn('flex w-full flex-col', local.class)}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Root>\n );\n};\n\nexport const ProgressTrack: Component<ProgressPrimitive.TrackProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Track\n class={cn(\n 'h-2 relative flex w-full items-center overflow-x-hidden rounded-full bg-muted',\n local.class,\n )}\n data-slot='progress-track'\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Track>\n );\n};\n\nexport const ProgressIndicator: Component<ProgressPrimitive.RangeProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Range\n data-slot='progress-indicator'\n class={cn('h-full bg-primary transition-all', local.class)}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Range>\n );\n};\n\nexport const ProgressLabel: Component<ProgressPrimitive.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <ProgressPrimitive.Label\n data-slot='progress-label'\n class={cn(\n 'mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'text-sm font-medium',\n local.class,\n )}\n {...others}\n >\n {local.children}\n </ProgressPrimitive.Label>\n );\n};\n\nexport const ProgressValue: Component<ProgressPrimitive.ValueTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <ProgressPrimitive.ValueText\n class={cn('text-sm ml-auto text-muted-foreground tabular-nums', local.class)}\n data-slot='progress-value'\n {...others}\n />\n );\n};\n"],"names":["ProgressView","ProgressPrimitive","View","ProgressContext","Context","ProgressCircle","props","local","others","splitProps","_$createComponent","Circle","_$mergeProps","cn","class","children","ProgressCircleRange","CircleRange","ProgressCircleTrack","CircleTrack","Progress","Root","ProgressTrack","Track","ProgressIndicator","Range","ProgressLabel","Label","ProgressValue","ValueText"],"mappings":";;;;AAIO,MAAMA,IAAeC,EAAkBC,MACjCC,IAAkBF,EAAkBG,SAEpCC,IAA4DC,CAAAA,MAAU;AACjF,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,SAAS,UAAU,CAAC;AAC/D,SAAAI,EACGT,EAAkBU,QAAMC,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAChBC,EAAG,yBAAyB,qCAAqCN,EAAMO,KAAK;AAAA,IAAC;AAAA,IAAA,aAAA;AAAA,EAAA,GAEhFN,GAAM;AAAA,IAAA,IAAAO,W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m font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", "data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70", e.class);
17
+ return s("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", "data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70", e.class);
18
18
  }
19
19
  }, t));
20
20
  }, b = (r) => {
@@ -33,7 +33,7 @@ const g = (r) => {
33
33
  const [e, t] = d(r, ["class", "children"]);
34
34
  return o(a.ItemControl, i({
35
35
  get class() {
36
- return s("peer size-4 shadow-xs group/radio-group-item relative flex aspect-square shrink-0 items-center justify-center rounded-full border border-input bg-background outline-none transition-[border-color,border-width,box-shadow] after:-inset-x-3 after:-inset-y-2 after:absolute", "data-[state=checked]:border-primary data-[state=checked]:border-[5px] group-data-invalid/radio-group-item:data-[state=checked]:border-destructive", "data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[focus-visible]:border-ring data-[focus-visible]:ring-[3px] data-[focus-visible]:ring-ring/50 group-has-focus-visible/radio-group-item:border-ring group-has-focus-visible/radio-group-item:ring-[3px] group-has-focus-visible/radio-group-item:ring-ring/50 data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:bg-input/30 dark:data-[invalid=true]:border-destructive/50 dark:data-[invalid=true]:ring-destructive/40", e.class);
36
+ return s("peer size-4 shadow-xs group/radio-group-item after:-inset-x-3 after:-inset-y-2 relative flex aspect-square shrink-0 items-center justify-center rounded-full border border-input bg-background transition-[border-color,border-width,box-shadow] outline-none after:absolute", "data-[state=checked]:border-[5px] data-[state=checked]:border-primary group-data-invalid/radio-group-item:data-[state=checked]:border-destructive", "group-has-focus-visible/radio-group-item:border-ring group-has-focus-visible/radio-group-item:ring-[3px] group-has-focus-visible/radio-group-item:ring-ring/50 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[focus-visible]:border-ring data-[focus-visible]:ring-[3px] data-[focus-visible]:ring-ring/50 data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:bg-input/30 dark:data-[invalid=true]:border-destructive/50 dark:data-[invalid=true]:ring-destructive/40", e.class);
37
37
  }
38
38
  }, t, {
39
39
  get children() {
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.js","sources":["../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from '@ark-ui/solid/radio-group';\nimport { type Component, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\n\nexport const RadioGroup: Component<RadioGroupPrimitive.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.Root\n data-slot='radio-group'\n class={cn('group/radio-group gap-2 grid w-full', local.class)}\n {...others}\n />\n );\n};\n\nexport const RadioGroupLabel: Component<RadioGroupPrimitive.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.Label\n class={cn(\n 'mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const RadioGroupItem: Component<RadioGroupPrimitive.ItemProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <RadioGroupPrimitive.Item\n data-slot='radio-group-item'\n class={cn('group/radio-group-item gap-2 flex items-center', local.class)}\n {...others}\n >\n {local.children}\n <RadioGroupPrimitive.ItemHiddenInput />\n </RadioGroupPrimitive.Item>\n );\n};\n\nexport const RadioGroupItemControl: Component<RadioGroupPrimitive.ItemControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <RadioGroupPrimitive.ItemControl\n class={cn(\n 'peer size-4 shadow-xs group/radio-group-item relative flex aspect-square shrink-0 items-center justify-center rounded-full border border-input bg-background outline-none transition-[border-color,border-width,box-shadow] after:-inset-x-3 after:-inset-y-2 after:absolute',\n 'data-[state=checked]:border-primary data-[state=checked]:border-[5px] group-data-invalid/radio-group-item:data-[state=checked]:border-destructive',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[focus-visible]:border-ring data-[focus-visible]:ring-[3px] data-[focus-visible]:ring-ring/50 group-has-focus-visible/radio-group-item:border-ring group-has-focus-visible/radio-group-item:ring-[3px] group-has-focus-visible/radio-group-item:ring-ring/50 data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:bg-input/30 dark:data-[invalid=true]:border-destructive/50 dark:data-[invalid=true]:ring-destructive/40',\n local.class,\n )}\n {...others}\n >\n {local.children}\n </RadioGroupPrimitive.ItemControl>\n );\n};\n\nexport const RadioGroupItemText: Component<RadioGroupPrimitive.ItemTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.ItemText\n class={cn(\n 'text-sm font-medium leading-none select-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70',\n local.class,\n )}\n {...others}\n />\n );\n};\n"],"names":["RadioGroup","props","local","others","splitProps","_$createComponent","RadioGroupPrimitive","Root","_$mergeProps","cn","class","RadioGroupLabel","Label","RadioGroupItem","Item","children","_$memo","ItemHiddenInput","RadioGroupItemControl","ItemControl","RadioGroupItemText","ItemText"],"mappings":";;;;AAIO,MAAMA,IAAwDC,CAAAA,MAAU;AAC7E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAoBC,MAAIC,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,a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;AACnD,SAAAI,EACGC,EAAoBe,UAAQb,EAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aACpBC,EACL,wHACAP,EAAMQ,KACR;AAAA,IAAC;AAAA,EAAA,GACGP,CAAM,CAAA;AAGhB;"}
1
+ {"version":3,"file":"RadioGroup.js","sources":["../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from '@ark-ui/solid/radio-group';\nimport { type Component, splitProps } from 'solid-js';\nimport { cn } from 'tailwind-variants';\n\nexport const RadioGroup: Component<RadioGroupPrimitive.RootProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.Root\n data-slot='radio-group'\n class={cn('group/radio-group gap-2 grid w-full', local.class)}\n {...others}\n />\n );\n};\n\nexport const RadioGroupLabel: Component<RadioGroupPrimitive.LabelProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.Label\n class={cn(\n 'mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70',\n local.class,\n )}\n {...others}\n />\n );\n};\n\nexport const RadioGroupItem: Component<RadioGroupPrimitive.ItemProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <RadioGroupPrimitive.Item\n data-slot='radio-group-item'\n class={cn('group/radio-group-item gap-2 flex items-center', local.class)}\n {...others}\n >\n {local.children}\n <RadioGroupPrimitive.ItemHiddenInput />\n </RadioGroupPrimitive.Item>\n );\n};\n\nexport const RadioGroupItemControl: Component<RadioGroupPrimitive.ItemControlProps> = (props) => {\n const [local, others] = splitProps(props, ['class', 'children']);\n return (\n <RadioGroupPrimitive.ItemControl\n class={cn(\n 'peer size-4 shadow-xs group/radio-group-item after:-inset-x-3 after:-inset-y-2 relative flex aspect-square shrink-0 items-center justify-center rounded-full border border-input bg-background transition-[border-color,border-width,box-shadow] outline-none after:absolute',\n 'data-[state=checked]:border-[5px] data-[state=checked]:border-primary group-data-invalid/radio-group-item:data-[state=checked]:border-destructive',\n 'group-has-focus-visible/radio-group-item:border-ring group-has-focus-visible/radio-group-item:ring-[3px] group-has-focus-visible/radio-group-item:ring-ring/50 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 data-[focus-visible]:border-ring data-[focus-visible]:ring-[3px] data-[focus-visible]:ring-ring/50 data-[invalid=true]:border-destructive data-[invalid=true]:ring-[3px] data-[invalid=true]:ring-destructive/20 dark:bg-input/30 dark:data-[invalid=true]:border-destructive/50 dark:data-[invalid=true]:ring-destructive/40',\n local.class,\n )}\n {...others}\n >\n {local.children}\n </RadioGroupPrimitive.ItemControl>\n );\n};\n\nexport const RadioGroupItemText: Component<RadioGroupPrimitive.ItemTextProps> = (props) => {\n const [local, others] = splitProps(props, ['class']);\n return (\n <RadioGroupPrimitive.ItemText\n class={cn(\n 'text-sm font-medium leading-none select-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-70',\n local.class,\n )}\n {...others}\n />\n );\n};\n"],"names":["RadioGroup","props","local","others","splitProps","_$createComponent","RadioGroupPrimitive","Root","_$mergeProps","cn","class","RadioGroupLabel","Label","RadioGroupItem","Item","children","_$memo","ItemHiddenInput","RadioGroupItemControl","ItemControl","RadioGroupItemText","ItemText"],"mappings":";;;;AAIO,MAAMA,IAAwDC,CAAAA,MAAU;AAC7E,QAAM,CAACC,GAAOC,CAAM,IAAIC,EAAWH,GAAO,CAAC,OAAO,CAAC;AACnD,SAAAI,EACGC,EAAoBC,MAAIC,EAAA;AAAA,IAAA,aAAA;AAAA,IAAA,IAAA,QAAA;AAAA,aAEhBC,EAAG,uCAAuCP,EAAMQ,KAAK;AAAA,IAAC;AAAA,EAAA,GACzDP,CAAM,CAAA;AAGhB,GAEaQ,IAA8DV,CAAAA,MAAU;AACnF,QAAM,CAACC,GAAOC,CA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;AAGhB;"}
@@ -1,4 +1,4 @@
1
- import { delegateEvents as S, createComponent as o, mergeProps as l, template as g, spread as w, insert as h, effect as z, setAttribute as x, className as C } from "solid-js/web";
1
+ import { delegateEvents as S, createComponent as o, mergeProps as l, spread as w, insert as h, effect as z, setAttribute as x, className as C, template as g } from "solid-js/web";
2
2
  import { select_exports as r } from "../node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/RJHFA54S.js";
3
3
  import { splitProps as i, For as I } from "solid-js";
4
4
  import { cn as n } from "../node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js";
@@ -64,7 +64,7 @@ const F = r.Control, M = r.ItemContext, N = r.HiddenSelect, O = (t) => {
64
64
  const [e, s] = i(t, ["class"]);
65
65
  return o(r.Label, l({
66
66
  get class() {
67
- return n("mb-1 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
67
+ return n("mb-1.5 gap-2 text-sm font-medium flex items-center leading-none select-none group-data-disabled:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e.class);
68
68
  }
69
69
  }, s));
70
70
  }, J = (t) => {