mainbase-ui 3.36.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +9 -16
  2. package/dist/cjs/components/accordion/accordion.cjs +2 -1
  3. package/dist/cjs/components/alert/alert.cjs +7 -6
  4. package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +8 -8
  5. package/dist/cjs/components/avatar/avatar.cjs +16 -16
  6. package/dist/cjs/components/bleed/bleed.cjs +5 -4
  7. package/dist/cjs/components/breadcrumb/breadcrumb.cjs +3 -2
  8. package/dist/cjs/components/button/button-group.cjs +5 -4
  9. package/dist/cjs/components/button/button.cjs +16 -16
  10. package/dist/cjs/components/button/close-button.cjs +2 -1
  11. package/dist/cjs/components/button/icon-button.cjs +4 -3
  12. package/dist/cjs/components/carousel/carousel.cjs +13 -8
  13. package/dist/cjs/components/checkbox/checkbox.cjs +13 -12
  14. package/dist/cjs/components/checkbox-card/checkbox-card.cjs +6 -5
  15. package/dist/cjs/components/checkmark/checkmark.cjs +7 -7
  16. package/dist/cjs/components/circle/index.cjs +4 -3
  17. package/dist/cjs/components/client-only/client-only.cjs +5 -4
  18. package/dist/cjs/components/clipboard/clipboard.cjs +6 -5
  19. package/dist/cjs/components/code-block/code-block-adapter-provider.cjs +2 -1
  20. package/dist/cjs/components/code-block/code-block.cjs +43 -45
  21. package/dist/cjs/components/color-picker/color-picker.cjs +24 -13
  22. package/dist/cjs/components/color-swatch/index.cjs +9 -9
  23. package/dist/cjs/components/combobox/combobox.cjs +4 -3
  24. package/dist/cjs/components/date-picker/date-picker.cjs +39 -25
  25. package/dist/cjs/components/dialog/dialog.cjs +4 -3
  26. package/dist/cjs/components/drawer/drawer.cjs +4 -3
  27. package/dist/cjs/components/editable/editable.cjs +4 -3
  28. package/dist/cjs/components/field/field.cjs +7 -7
  29. package/dist/cjs/components/file-upload/file-upload.cjs +21 -13
  30. package/dist/cjs/components/flex/flex.cjs +4 -3
  31. package/dist/cjs/components/float/float.cjs +5 -5
  32. package/dist/cjs/components/floating-panel/floating-panel.cjs +2 -1
  33. package/dist/cjs/components/grid/grid-item.cjs +5 -5
  34. package/dist/cjs/components/grid/grid.cjs +4 -3
  35. package/dist/cjs/components/group/group.cjs +11 -11
  36. package/dist/cjs/components/highlight/highlight.cjs +5 -4
  37. package/dist/cjs/components/hover-card/hover-card.cjs +2 -1
  38. package/dist/cjs/components/icon/create-icon.cjs +7 -6
  39. package/dist/cjs/components/icon/icon.cjs +2 -2
  40. package/dist/cjs/components/icons.cjs +90 -75
  41. package/dist/cjs/components/image/image.cjs +4 -4
  42. package/dist/cjs/components/input-addon/input-addon.cjs +4 -3
  43. package/dist/cjs/components/input-group/input-group.cjs +20 -17
  44. package/dist/cjs/components/link/link-box.cjs +6 -6
  45. package/dist/cjs/components/listbox/listbox.cjs +2 -1
  46. package/dist/cjs/components/loader/loader.cjs +12 -4
  47. package/dist/cjs/components/menu/menu.cjs +3 -2
  48. package/dist/cjs/components/native-select/native-select.cjs +15 -13
  49. package/dist/cjs/components/number-input/number-input.cjs +7 -3
  50. package/dist/cjs/components/pagination/pagination.cjs +12 -11
  51. package/dist/cjs/components/popover/popover.cjs +2 -1
  52. package/dist/cjs/components/qr-code/qr-code.cjs +2 -1
  53. package/dist/cjs/components/radio-card/radio-card.cjs +10 -10
  54. package/dist/cjs/components/radio-group/radio-group.cjs +5 -4
  55. package/dist/cjs/components/radiomark/radiomark.cjs +4 -4
  56. package/dist/cjs/components/rating-group/rating-group.cjs +15 -12
  57. package/dist/cjs/components/scroll-area/scroll-area.cjs +2 -1
  58. package/dist/cjs/components/segment-group/segment-group.cjs +11 -8
  59. package/dist/cjs/components/select/select.cjs +4 -3
  60. package/dist/cjs/components/separator/separator.cjs +4 -4
  61. package/dist/cjs/components/show/show.cjs +3 -2
  62. package/dist/cjs/components/simple-grid/simple-grid.cjs +4 -4
  63. package/dist/cjs/components/skeleton/skeleton.cjs +6 -5
  64. package/dist/cjs/components/skip-nav/skip-nav-content.cjs +4 -3
  65. package/dist/cjs/components/skip-nav/skip-nav-link.cjs +4 -3
  66. package/dist/cjs/components/slider/slider.cjs +10 -6
  67. package/dist/cjs/components/splitter/splitter.cjs +5 -1
  68. package/dist/cjs/components/square/index.cjs +4 -3
  69. package/dist/cjs/components/stack/get-separator-style.cjs +0 -2
  70. package/dist/cjs/components/stack/h-stack.cjs +4 -3
  71. package/dist/cjs/components/stack/stack.cjs +17 -14
  72. package/dist/cjs/components/stack/v-stack.cjs +4 -3
  73. package/dist/cjs/components/stat/stat.cjs +8 -7
  74. package/dist/cjs/components/steps/steps.cjs +10 -9
  75. package/dist/cjs/components/switch/switch.cjs +10 -10
  76. package/dist/cjs/components/table/table.cjs +6 -6
  77. package/dist/cjs/components/tag/tag.cjs +2 -1
  78. package/dist/cjs/components/tags-input/tags-input.cjs +10 -3
  79. package/dist/cjs/components/theme.cjs +4 -4
  80. package/dist/cjs/components/toast/toast.cjs +5 -4
  81. package/dist/cjs/components/tooltip/tooltip.cjs +2 -1
  82. package/dist/cjs/components/tree-view/tree-view.cjs +20 -13
  83. package/dist/cjs/components/wrap/wrap.cjs +6 -6
  84. package/dist/cjs/hooks/index.cjs +5 -5
  85. package/dist/cjs/hooks/use-overlay.cjs +3 -3
  86. package/dist/cjs/index.cjs +21 -21
  87. package/dist/cjs/merge-props.cjs +0 -2
  88. package/dist/cjs/styled-system/breakpoints.cjs +0 -2
  89. package/dist/cjs/styled-system/calc.cjs +0 -2
  90. package/dist/cjs/styled-system/conditions.cjs +0 -2
  91. package/dist/cjs/styled-system/create-recipe-context.cjs +6 -6
  92. package/dist/cjs/styled-system/create-slot-recipe-context.cjs +12 -12
  93. package/dist/cjs/styled-system/css.cjs +1 -3
  94. package/dist/cjs/styled-system/cva.cjs +0 -2
  95. package/dist/cjs/styled-system/factory.cjs +19 -13
  96. package/dist/cjs/styled-system/merge-config.cjs +1 -3
  97. package/dist/cjs/styled-system/normalize.cjs +0 -2
  98. package/dist/cjs/styled-system/preflight.cjs +0 -2
  99. package/dist/cjs/styled-system/provider.cjs +6 -1
  100. package/dist/cjs/styled-system/recipe-props.cjs +2 -1
  101. package/dist/cjs/styled-system/references.cjs +0 -2
  102. package/dist/cjs/styled-system/serialize.cjs +1 -3
  103. package/dist/cjs/styled-system/sort-at-rules.cjs +0 -2
  104. package/dist/cjs/styled-system/sva.cjs +0 -2
  105. package/dist/cjs/styled-system/system.cjs +1 -3
  106. package/dist/cjs/styled-system/token-dictionary.cjs +2 -4
  107. package/dist/cjs/styled-system/token-middleware.cjs +0 -2
  108. package/dist/cjs/styled-system/use-resolved-props.cjs +0 -1
  109. package/dist/cjs/styled-system/utility.cjs +1 -3
  110. package/dist/cjs/theme/recipes/number-input.cjs +0 -2
  111. package/dist/cjs/theme/recipes/pin-input.cjs +0 -2
  112. package/dist/esm/components/accordion/accordion.js +2 -1
  113. package/dist/esm/components/alert/alert.js +4 -3
  114. package/dist/esm/components/aspect-ratio/aspect-ratio.js +5 -5
  115. package/dist/esm/components/avatar/avatar.js +11 -11
  116. package/dist/esm/components/bleed/bleed.js +3 -2
  117. package/dist/esm/components/breadcrumb/breadcrumb.js +3 -2
  118. package/dist/esm/components/button/button-group.js +2 -1
  119. package/dist/esm/components/button/button.js +13 -13
  120. package/dist/esm/components/button/close-button.js +2 -1
  121. package/dist/esm/components/button/icon-button.js +2 -1
  122. package/dist/esm/components/carousel/carousel.js +10 -5
  123. package/dist/esm/components/checkbox/checkbox.js +11 -10
  124. package/dist/esm/components/checkbox-card/checkbox-card.js +3 -2
  125. package/dist/esm/components/checkmark/checkmark.js +5 -5
  126. package/dist/esm/components/circle/index.js +2 -1
  127. package/dist/esm/components/client-only/client-only.js +2 -1
  128. package/dist/esm/components/clipboard/clipboard.js +4 -3
  129. package/dist/esm/components/code-block/code-block-adapter-provider.js +2 -1
  130. package/dist/esm/components/code-block/code-block.js +29 -31
  131. package/dist/esm/components/color-picker/color-picker.js +19 -8
  132. package/dist/esm/components/color-swatch/index.js +7 -7
  133. package/dist/esm/components/combobox/combobox.js +4 -3
  134. package/dist/esm/components/date-picker/date-picker.js +37 -23
  135. package/dist/esm/components/dialog/dialog.js +2 -1
  136. package/dist/esm/components/drawer/drawer.js +2 -1
  137. package/dist/esm/components/editable/editable.js +2 -1
  138. package/dist/esm/components/field/field.js +5 -5
  139. package/dist/esm/components/file-upload/file-upload.js +17 -9
  140. package/dist/esm/components/flex/flex.js +2 -1
  141. package/dist/esm/components/float/float.js +2 -2
  142. package/dist/esm/components/floating-panel/floating-panel.js +2 -1
  143. package/dist/esm/components/grid/grid-item.js +2 -2
  144. package/dist/esm/components/grid/grid.js +2 -1
  145. package/dist/esm/components/group/group.js +5 -5
  146. package/dist/esm/components/highlight/highlight.js +4 -3
  147. package/dist/esm/components/hover-card/hover-card.js +2 -1
  148. package/dist/esm/components/icon/create-icon.js +5 -4
  149. package/dist/esm/components/icon/icon.js +2 -2
  150. package/dist/esm/components/icons.js +90 -75
  151. package/dist/esm/components/image/image.js +2 -2
  152. package/dist/esm/components/input-addon/input-addon.js +2 -1
  153. package/dist/esm/components/input-group/input-group.js +17 -14
  154. package/dist/esm/components/link/link-box.js +3 -3
  155. package/dist/esm/components/listbox/listbox.js +2 -1
  156. package/dist/esm/components/loader/loader.js +12 -4
  157. package/dist/esm/components/menu/menu.js +3 -2
  158. package/dist/esm/components/native-select/native-select.js +13 -11
  159. package/dist/esm/components/number-input/number-input.js +7 -3
  160. package/dist/esm/components/pagination/pagination.js +9 -8
  161. package/dist/esm/components/popover/popover.js +2 -1
  162. package/dist/esm/components/qr-code/qr-code.js +2 -1
  163. package/dist/esm/components/radio-card/radio-card.js +7 -7
  164. package/dist/esm/components/radio-group/radio-group.js +3 -2
  165. package/dist/esm/components/radiomark/radiomark.js +2 -2
  166. package/dist/esm/components/rating-group/rating-group.js +11 -8
  167. package/dist/esm/components/scroll-area/scroll-area.js +2 -1
  168. package/dist/esm/components/segment-group/segment-group.js +9 -6
  169. package/dist/esm/components/select/select.js +4 -3
  170. package/dist/esm/components/separator/separator.js +2 -2
  171. package/dist/esm/components/show/show.js +2 -1
  172. package/dist/esm/components/simple-grid/simple-grid.js +2 -2
  173. package/dist/esm/components/skeleton/skeleton.js +6 -5
  174. package/dist/esm/components/skip-nav/skip-nav-content.js +2 -1
  175. package/dist/esm/components/skip-nav/skip-nav-link.js +2 -1
  176. package/dist/esm/components/slider/slider.js +8 -4
  177. package/dist/esm/components/splitter/splitter.js +5 -1
  178. package/dist/esm/components/square/index.js +2 -1
  179. package/dist/esm/components/stack/get-separator-style.js +0 -2
  180. package/dist/esm/components/stack/h-stack.js +2 -1
  181. package/dist/esm/components/stack/stack.js +9 -6
  182. package/dist/esm/components/stack/v-stack.js +2 -1
  183. package/dist/esm/components/stat/stat.js +5 -4
  184. package/dist/esm/components/steps/steps.js +8 -7
  185. package/dist/esm/components/switch/switch.js +7 -7
  186. package/dist/esm/components/table/table.js +3 -3
  187. package/dist/esm/components/tag/tag.js +2 -1
  188. package/dist/esm/components/tags-input/tags-input.js +10 -3
  189. package/dist/esm/components/theme.js +2 -2
  190. package/dist/esm/components/toast/toast.js +3 -2
  191. package/dist/esm/components/tooltip/tooltip.js +2 -1
  192. package/dist/esm/components/tree-view/tree-view.js +20 -13
  193. package/dist/esm/components/wrap/wrap.js +3 -3
  194. package/dist/esm/hooks/index.js +1 -1
  195. package/dist/esm/hooks/use-overlay.js +3 -3
  196. package/dist/esm/index.js +1 -1
  197. package/dist/esm/merge-props.js +0 -2
  198. package/dist/esm/styled-system/breakpoints.js +0 -2
  199. package/dist/esm/styled-system/calc.js +0 -2
  200. package/dist/esm/styled-system/conditions.js +0 -2
  201. package/dist/esm/styled-system/create-recipe-context.js +2 -2
  202. package/dist/esm/styled-system/create-slot-recipe-context.js +5 -5
  203. package/dist/esm/styled-system/css.js +1 -3
  204. package/dist/esm/styled-system/cva.js +0 -2
  205. package/dist/esm/styled-system/factory.js +19 -13
  206. package/dist/esm/styled-system/merge-config.js +1 -3
  207. package/dist/esm/styled-system/normalize.js +0 -2
  208. package/dist/esm/styled-system/preflight.js +0 -2
  209. package/dist/esm/styled-system/provider.js +6 -1
  210. package/dist/esm/styled-system/recipe-props.js +2 -1
  211. package/dist/esm/styled-system/references.js +0 -2
  212. package/dist/esm/styled-system/serialize.js +1 -3
  213. package/dist/esm/styled-system/sort-at-rules.js +0 -2
  214. package/dist/esm/styled-system/sva.js +0 -2
  215. package/dist/esm/styled-system/system.js +1 -3
  216. package/dist/esm/styled-system/token-dictionary.js +2 -4
  217. package/dist/esm/styled-system/token-middleware.js +0 -2
  218. package/dist/esm/styled-system/use-resolved-props.js +0 -1
  219. package/dist/esm/styled-system/utility.js +1 -3
  220. package/dist/esm/theme/recipes/number-input.js +0 -2
  221. package/dist/esm/theme/recipes/pin-input.js +0 -2
  222. package/package.json +3 -3
@@ -1,10 +1,11 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var factory = require('../styled-system/factory.cjs');
5
6
 
6
7
  const CheckIcon = (props) => {
7
- return /* @__PURE__ */ React.createElement(
8
+ return /* @__PURE__ */ jsxRuntime.jsx(
8
9
  factory.mainbase.svg,
9
10
  {
10
11
  viewBox: "0 0 24 24",
@@ -13,12 +14,12 @@ const CheckIcon = (props) => {
13
14
  strokeWidth: "2",
14
15
  strokeLinecap: "round",
15
16
  strokeLinejoin: "round",
16
- ...props
17
- },
18
- /* @__PURE__ */ React.createElement("path", { d: "M20 6 9 17l-5-5" })
17
+ ...props,
18
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20 6 9 17l-5-5" })
19
+ }
19
20
  );
20
21
  };
21
- const ChevronLeftIcon = (props) => /* @__PURE__ */ React.createElement(
22
+ const ChevronLeftIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
22
23
  factory.mainbase.svg,
23
24
  {
24
25
  viewBox: "0 0 24 24",
@@ -27,11 +28,11 @@ const ChevronLeftIcon = (props) => /* @__PURE__ */ React.createElement(
27
28
  strokeWidth: "2",
28
29
  strokeLinecap: "round",
29
30
  strokeLinejoin: "round",
30
- ...props
31
- },
32
- /* @__PURE__ */ React.createElement("path", { d: "m15 18-6-6 6-6" })
31
+ ...props,
32
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 18-6-6 6-6" })
33
+ }
33
34
  );
34
- const ChevronUpIcon = (props) => /* @__PURE__ */ React.createElement(
35
+ const ChevronUpIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
35
36
  factory.mainbase.svg,
36
37
  {
37
38
  viewBox: "0 0 24 24",
@@ -40,12 +41,12 @@ const ChevronUpIcon = (props) => /* @__PURE__ */ React.createElement(
40
41
  strokeWidth: "2",
41
42
  strokeLinecap: "round",
42
43
  strokeLinejoin: "round",
43
- ...props
44
- },
45
- /* @__PURE__ */ React.createElement("path", { d: "m18 15-6-6-6 6" })
44
+ ...props,
45
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m18 15-6-6-6 6" })
46
+ }
46
47
  );
47
48
  const ChevronDownIcon = (props) => {
48
- return /* @__PURE__ */ React.createElement(
49
+ return /* @__PURE__ */ jsxRuntime.jsx(
49
50
  factory.mainbase.svg,
50
51
  {
51
52
  viewBox: "0 0 24 24",
@@ -54,12 +55,12 @@ const ChevronDownIcon = (props) => {
54
55
  strokeWidth: "2",
55
56
  strokeLinecap: "round",
56
57
  strokeLinejoin: "round",
57
- ...props
58
- },
59
- /* @__PURE__ */ React.createElement("path", { d: "m6 9 6 6 6-6" })
58
+ ...props,
59
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m6 9 6 6 6-6" })
60
+ }
60
61
  );
61
62
  };
62
- const ChevronRightIcon = (props) => /* @__PURE__ */ React.createElement(
63
+ const ChevronRightIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
63
64
  factory.mainbase.svg,
64
65
  {
65
66
  viewBox: "0 0 24 24",
@@ -68,11 +69,11 @@ const ChevronRightIcon = (props) => /* @__PURE__ */ React.createElement(
68
69
  strokeWidth: "2",
69
70
  strokeLinecap: "round",
70
71
  strokeLinejoin: "round",
71
- ...props
72
- },
73
- /* @__PURE__ */ React.createElement("path", { d: "m9 18 6-6-6-6" })
72
+ ...props,
73
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 18 6-6-6-6" })
74
+ }
74
75
  );
75
- const EllpsisIcon = (props) => /* @__PURE__ */ React.createElement(
76
+ const EllpsisIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
76
77
  factory.mainbase.svg,
77
78
  {
78
79
  viewBox: "0 0 24 24",
@@ -81,13 +82,15 @@ const EllpsisIcon = (props) => /* @__PURE__ */ React.createElement(
81
82
  strokeWidth: "2",
82
83
  strokeLinecap: "round",
83
84
  strokeLinejoin: "round",
84
- ...props
85
- },
86
- /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
87
- /* @__PURE__ */ React.createElement("circle", { cx: "19", cy: "12", r: "1" }),
88
- /* @__PURE__ */ React.createElement("circle", { cx: "5", cy: "12", r: "1" })
85
+ ...props,
86
+ children: [
87
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "1" }),
88
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "12", r: "1" }),
89
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "12", r: "1" })
90
+ ]
91
+ }
89
92
  );
90
- const ArrowUpIcon = (props) => /* @__PURE__ */ React.createElement(
93
+ const ArrowUpIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
91
94
  factory.mainbase.svg,
92
95
  {
93
96
  viewBox: "0 0 24 24",
@@ -96,12 +99,14 @@ const ArrowUpIcon = (props) => /* @__PURE__ */ React.createElement(
96
99
  strokeWidth: "3",
97
100
  strokeLinecap: "round",
98
101
  strokeLinejoin: "round",
99
- ...props
100
- },
101
- /* @__PURE__ */ React.createElement("path", { d: "m5 12 7-7 7 7" }),
102
- /* @__PURE__ */ React.createElement("path", { d: "M12 19V5" })
102
+ ...props,
103
+ children: [
104
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5 12 7-7 7 7" }),
105
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 19V5" })
106
+ ]
107
+ }
103
108
  );
104
- const ArrowDownIcon = (props) => /* @__PURE__ */ React.createElement(
109
+ const ArrowDownIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
105
110
  factory.mainbase.svg,
106
111
  {
107
112
  viewBox: "0 0 24 24",
@@ -110,56 +115,58 @@ const ArrowDownIcon = (props) => /* @__PURE__ */ React.createElement(
110
115
  strokeWidth: "3",
111
116
  strokeLinecap: "round",
112
117
  strokeLinejoin: "round",
113
- ...props
114
- },
115
- /* @__PURE__ */ React.createElement("path", { d: "M12 5v14" }),
116
- /* @__PURE__ */ React.createElement("path", { d: "m19 12-7 7-7-7" })
118
+ ...props,
119
+ children: [
120
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 5v14" }),
121
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m19 12-7 7-7-7" })
122
+ ]
123
+ }
117
124
  );
118
- const CheckCircleIcon = (props) => /* @__PURE__ */ React.createElement(
125
+ const CheckCircleIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
119
126
  factory.mainbase.svg,
120
127
  {
121
128
  stroke: "currentColor",
122
129
  fill: "currentColor",
123
130
  strokeWidth: "0",
124
131
  viewBox: "0 0 24 24",
125
- ...props
126
- },
127
- /* @__PURE__ */ React.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z" })
132
+ ...props,
133
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z" })
134
+ }
128
135
  );
129
- const WarningIcon = (props) => /* @__PURE__ */ React.createElement(
136
+ const WarningIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
130
137
  factory.mainbase.svg,
131
138
  {
132
139
  stroke: "currentColor",
133
140
  fill: "currentColor",
134
141
  strokeWidth: "0",
135
142
  viewBox: "0 0 24 24",
136
- ...props
137
- },
138
- /* @__PURE__ */ React.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })
143
+ ...props,
144
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })
145
+ }
139
146
  );
140
- const InfoIcon = (props) => /* @__PURE__ */ React.createElement(
147
+ const InfoIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(
141
148
  factory.mainbase.svg,
142
149
  {
143
150
  viewBox: "0 0 24 24",
144
151
  fill: "currentColor",
145
152
  stroke: "currentColor",
146
153
  strokeWidth: "0",
147
- ...props
148
- },
149
- /* @__PURE__ */ React.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })
154
+ ...props,
155
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })
156
+ }
150
157
  );
151
- const QuoteIcon = (props) => /* @__PURE__ */ React.createElement(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M6.5 10c-.223 0-.437.034-.65.065.069-.232.14-.468.254-.68.114-.308.292-.575.469-.844.148-.291.409-.488.601-.737.201-.242.475-.403.692-.604.213-.21.492-.315.714-.463.232-.133.434-.28.65-.35l.539-.222.474-.197-.485-1.938-.597.144c-.191.048-.424.104-.689.171-.271.05-.56.187-.882.312-.318.142-.686.238-1.028.466-.344.218-.741.4-1.091.692-.339.301-.748.562-1.05.945-.33.358-.656.734-.909 1.162-.293.408-.492.856-.702 1.299-.19.443-.343.896-.468 1.336-.237.882-.343 1.72-.384 2.437-.034.718-.014 1.315.028 1.747.015.204.043.402.063.539l.025.168.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065.069-.232.14-.468.254-.68.114-.308.292-.575.469-.844.148-.291.409-.488.601-.737.201-.242.475-.403.692-.604.213-.21.492-.315.714-.463.232-.133.434-.28.65-.35l.539-.222.474-.197-.485-1.938-.597.144c-.191.048-.424.104-.689.171-.271.05-.56.187-.882.312-.317.143-.686.238-1.028.467-.344.218-.741.4-1.091.692-.339.301-.748.562-1.05.944-.33.358-.656.734-.909 1.162-.293.408-.492.856-.702 1.299-.19.443-.343.896-.468 1.336-.237.882-.343 1.72-.384 2.437-.034.718-.014 1.315.028 1.747.015.204.043.402.063.539l.025.168.026-.006A4.5 4.5 0 1 0 17.5 10z" }));
152
- const StarIcon = (props) => /* @__PURE__ */ React.createElement(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" }));
153
- const ErrorIcon = (props) => /* @__PURE__ */ React.createElement(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z" }));
154
- const CloseIcon = (props) => /* @__PURE__ */ React.createElement(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement(
158
+ const QuoteIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 10c-.223 0-.437.034-.65.065.069-.232.14-.468.254-.68.114-.308.292-.575.469-.844.148-.291.409-.488.601-.737.201-.242.475-.403.692-.604.213-.21.492-.315.714-.463.232-.133.434-.28.65-.35l.539-.222.474-.197-.485-1.938-.597.144c-.191.048-.424.104-.689.171-.271.05-.56.187-.882.312-.318.142-.686.238-1.028.466-.344.218-.741.4-1.091.692-.339.301-.748.562-1.05.945-.33.358-.656.734-.909 1.162-.293.408-.492.856-.702 1.299-.19.443-.343.896-.468 1.336-.237.882-.343 1.72-.384 2.437-.034.718-.014 1.315.028 1.747.015.204.043.402.063.539l.025.168.026-.006A4.5 4.5 0 1 0 6.5 10zm11 0c-.223 0-.437.034-.65.065.069-.232.14-.468.254-.68.114-.308.292-.575.469-.844.148-.291.409-.488.601-.737.201-.242.475-.403.692-.604.213-.21.492-.315.714-.463.232-.133.434-.28.65-.35l.539-.222.474-.197-.485-1.938-.597.144c-.191.048-.424.104-.689.171-.271.05-.56.187-.882.312-.317.143-.686.238-1.028.467-.344.218-.741.4-1.091.692-.339.301-.748.562-1.05.944-.33.358-.656.734-.909 1.162-.293.408-.492.856-.702 1.299-.19.443-.343.896-.468 1.336-.237.882-.343 1.72-.384 2.437-.034.718-.014 1.315.028 1.747.015.204.043.402.063.539l.025.168.026-.006A4.5 4.5 0 1 0 17.5 10z" }) });
159
+ const StarIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" }) });
160
+ const ErrorIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z" }) });
161
+ const CloseIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx(factory.mainbase.svg, { viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
155
162
  "path",
156
163
  {
157
164
  fillRule: "evenodd",
158
165
  clipRule: "evenodd",
159
166
  d: "M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z"
160
167
  }
161
- ));
162
- const FileIcon = (props) => /* @__PURE__ */ React.createElement(
168
+ ) });
169
+ const FileIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
163
170
  factory.mainbase.svg,
164
171
  {
165
172
  stroke: "currentColor",
@@ -168,12 +175,14 @@ const FileIcon = (props) => /* @__PURE__ */ React.createElement(
168
175
  viewBox: "0 0 24 24",
169
176
  strokeLinecap: "round",
170
177
  strokeLinejoin: "round",
171
- ...props
172
- },
173
- /* @__PURE__ */ React.createElement("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
174
- /* @__PURE__ */ React.createElement("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" })
178
+ ...props,
179
+ children: [
180
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }),
181
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2v4a2 2 0 0 0 2 2h4" })
182
+ ]
183
+ }
175
184
  );
176
- const CopyIcon = (props) => /* @__PURE__ */ React.createElement(
185
+ const CopyIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
177
186
  factory.mainbase.svg,
178
187
  {
179
188
  stroke: "currentColor",
@@ -182,12 +191,14 @@ const CopyIcon = (props) => /* @__PURE__ */ React.createElement(
182
191
  viewBox: "0 0 24 24",
183
192
  strokeLinecap: "round",
184
193
  strokeLinejoin: "round",
185
- ...props
186
- },
187
- /* @__PURE__ */ React.createElement("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
188
- /* @__PURE__ */ React.createElement("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
194
+ ...props,
195
+ children: [
196
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
197
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
198
+ ]
199
+ }
189
200
  );
190
- const PipetteIcon = (props) => /* @__PURE__ */ React.createElement(
201
+ const PipetteIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
191
202
  factory.mainbase.svg,
192
203
  {
193
204
  stroke: "currentColor",
@@ -196,13 +207,15 @@ const PipetteIcon = (props) => /* @__PURE__ */ React.createElement(
196
207
  viewBox: "0 0 24 24",
197
208
  strokeLinecap: "round",
198
209
  strokeLinejoin: "round",
199
- ...props
200
- },
201
- /* @__PURE__ */ React.createElement("path", { d: "m2 22 1-1h3l9-9" }),
202
- /* @__PURE__ */ React.createElement("path", { d: "M3 21v-3l9-9" }),
203
- /* @__PURE__ */ React.createElement("path", { d: "m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" })
210
+ ...props,
211
+ children: [
212
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m2 22 1-1h3l9-9" }),
213
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 21v-3l9-9" }),
214
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z" })
215
+ ]
216
+ }
204
217
  );
205
- const EllipsisIcon = (props) => /* @__PURE__ */ React.createElement(
218
+ const EllipsisIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs(
206
219
  factory.mainbase.svg,
207
220
  {
208
221
  stroke: "currentColor",
@@ -211,11 +224,13 @@ const EllipsisIcon = (props) => /* @__PURE__ */ React.createElement(
211
224
  viewBox: "0 0 24 24",
212
225
  strokeLinecap: "round",
213
226
  strokeLinejoin: "round",
214
- ...props
215
- },
216
- /* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "1" }),
217
- /* @__PURE__ */ React.createElement("circle", { cx: "19", cy: "12", r: "1" }),
218
- /* @__PURE__ */ React.createElement("circle", { cx: "5", cy: "12", r: "1" })
227
+ ...props,
228
+ children: [
229
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "1" }),
230
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "19", cy: "12", r: "1" }),
231
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "5", cy: "12", r: "1" })
232
+ ]
233
+ }
219
234
  );
220
235
 
221
236
  exports.ArrowDownIcon = ArrowDownIcon;
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var React$1 = require('react');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var factory = require('../../styled-system/factory.cjs');
6
7
  var cx = require('../../utils/cx.cjs');
7
- require('../../utils/unit.cjs');
8
8
 
9
- const Image = React$1.forwardRef(
9
+ const Image = React.forwardRef(
10
10
  function Image2(props, ref) {
11
11
  const { align, fit = "cover", ...rest } = props;
12
- return /* @__PURE__ */ React.createElement(
12
+ return /* @__PURE__ */ jsxRuntime.jsx(
13
13
  factory.mainbase.img,
14
14
  {
15
15
  ref,
@@ -1,17 +1,18 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var React$1 = require('react');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var empty = require('../../styled-system/empty.cjs');
6
7
  var factory = require('../../styled-system/factory.cjs');
7
8
  var useRecipe = require('../../styled-system/use-recipe.cjs');
8
9
 
9
- const InputAddon = React$1.forwardRef(
10
+ const InputAddon = React.forwardRef(
10
11
  function InputAddon2({ unstyled, ...props }, ref) {
11
12
  const recipe = useRecipe.useRecipe({ key: "inputAddon", recipe: props.recipe });
12
13
  const [variantProps, localProps] = recipe.splitVariantProps(props);
13
14
  const styles = unstyled ? empty.EMPTY_SLOT_STYLES : recipe(variantProps);
14
- return /* @__PURE__ */ React.createElement(factory.mainbase.div, { ref, ...localProps, css: [styles, props.css] });
15
+ return /* @__PURE__ */ jsxRuntime.jsx(factory.mainbase.div, { ref, ...localProps, css: [styles, props.css] });
15
16
  }
16
17
  );
17
18
 
@@ -1,12 +1,13 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var React$1 = require('react');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var group = require('../group/group.cjs');
6
7
  var inputAddon = require('../input-addon/input-addon.cjs');
7
8
  var inputElement = require('../input-element/input-element.cjs');
8
9
 
9
- const InputGroup = React$1.forwardRef(
10
+ const InputGroup = React.forwardRef(
10
11
  function InputGroup2(props, ref) {
11
12
  const {
12
13
  startElement,
@@ -22,28 +23,30 @@ const InputGroup = React$1.forwardRef(
22
23
  endOffset = "0px",
23
24
  ...rest
24
25
  } = props;
25
- const child = React$1.Children.only(children);
26
+ const child = React.Children.only(children);
26
27
  const attached = Boolean(startAddon || endAddon);
27
- return /* @__PURE__ */ React.createElement(
28
+ return /* @__PURE__ */ jsxRuntime.jsxs(
28
29
  group.Group,
29
30
  {
30
31
  width: "full",
31
32
  ref,
32
33
  attached,
33
34
  skip: (el) => el.type === inputElement.InputElement,
34
- ...rest
35
- },
36
- startAddon && /* @__PURE__ */ React.createElement(inputAddon.InputAddon, { ...startAddonProps }, startAddon),
37
- startElement && /* @__PURE__ */ React.createElement(inputElement.InputElement, { pointerEvents: "none", ...startElementProps }, startElement),
38
- React$1.cloneElement(child, {
39
- ...startElement && {
40
- ps: `calc(var(--input-height) - ${startOffset})`
41
- },
42
- ...endElement && { pe: `calc(var(--input-height) - ${endOffset})` },
43
- ...children.props
44
- }),
45
- endElement && /* @__PURE__ */ React.createElement(inputElement.InputElement, { placement: "end", ...endElementProps }, endElement),
46
- endAddon && /* @__PURE__ */ React.createElement(inputAddon.InputAddon, { ...endAddonProps }, endAddon)
35
+ ...rest,
36
+ children: [
37
+ startAddon && /* @__PURE__ */ jsxRuntime.jsx(inputAddon.InputAddon, { ...startAddonProps, children: startAddon }),
38
+ startElement && /* @__PURE__ */ jsxRuntime.jsx(inputElement.InputElement, { pointerEvents: "none", ...startElementProps, children: startElement }),
39
+ React.cloneElement(child, {
40
+ ...startElement && {
41
+ ps: `calc(var(--input-height) - ${startOffset})`
42
+ },
43
+ ...endElement && { pe: `calc(var(--input-height) - ${endOffset})` },
44
+ ...children.props
45
+ }),
46
+ endElement && /* @__PURE__ */ jsxRuntime.jsx(inputElement.InputElement, { placement: "end", ...endElementProps, children: endElement }),
47
+ endAddon && /* @__PURE__ */ jsxRuntime.jsx(inputAddon.InputAddon, { ...endAddonProps, children: endAddon })
48
+ ]
49
+ }
47
50
  );
48
51
  }
49
52
  );
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var React$1 = require('react');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
5
6
  var factory = require('../../styled-system/factory.cjs');
6
7
  var cx = require('../../utils/cx.cjs');
7
- require('../../utils/unit.cjs');
8
8
 
9
- const LinkOverlay = React$1.forwardRef(
9
+ const LinkOverlay = React.forwardRef(
10
10
  function LinkOverlay2(props, ref) {
11
11
  const { className, ...rest } = props;
12
- return /* @__PURE__ */ React.createElement(
12
+ return /* @__PURE__ */ jsxRuntime.jsx(
13
13
  factory.mainbase.a,
14
14
  {
15
15
  ...rest,
@@ -36,10 +36,10 @@ const LinkOverlay = React$1.forwardRef(
36
36
  );
37
37
  }
38
38
  );
39
- const LinkBox = React$1.forwardRef(
39
+ const LinkBox = React.forwardRef(
40
40
  function LinkBox2(props, ref) {
41
41
  const { className, ...rest } = props;
42
- return /* @__PURE__ */ React.createElement(
42
+ return /* @__PURE__ */ jsxRuntime.jsx(
43
43
  factory.mainbase.div,
44
44
  {
45
45
  ref,
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var listbox = require('@ark-ui/react/listbox');
5
6
  var createSlotRecipeContext = require('../../styled-system/create-slot-recipe-context.cjs');
6
7
  var icons = require('../icons.cjs');
@@ -44,7 +45,7 @@ const ListboxItemText = withContext(listbox.Listbox.ItemText, "itemText", { forw
44
45
  const ListboxItemIndicator = withContext(listbox.Listbox.ItemIndicator, "itemIndicator", {
45
46
  forwardAsChild: true,
46
47
  defaultProps: {
47
- children: /* @__PURE__ */ React.createElement(icons.CheckIcon, null)
48
+ children: /* @__PURE__ */ jsxRuntime.jsx(icons.CheckIcon, {})
48
49
  }
49
50
  });
50
51
  const ListboxLabel = withContext(
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var jsxRuntime = require('react/jsx-runtime');
3
4
  var React = require('react');
4
5
  var absoluteCenter = require('../absolute-center/absolute-center.cjs');
5
6
  var index = require('../span/index.cjs');
@@ -27,7 +28,7 @@ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
27
28
  const Loader = React__namespace.forwardRef(
28
29
  function Loader2(props, ref) {
29
30
  const {
30
- spinner: spinner$1 = /* @__PURE__ */ React__namespace.createElement(spinner.Spinner, { size: "inherit", borderWidth: "0.125em", color: "inherit" }),
31
+ spinner: spinner$1 = /* @__PURE__ */ jsxRuntime.jsx(spinner.Spinner, { size: "inherit", borderWidth: "0.125em", color: "inherit" }),
31
32
  spinnerPlacement = "start",
32
33
  children,
33
34
  text,
@@ -36,12 +37,19 @@ const Loader = React__namespace.forwardRef(
36
37
  } = props;
37
38
  if (!visible) return children;
38
39
  if (text) {
39
- return /* @__PURE__ */ React__namespace.createElement(index.Span, { ref, display: "contents", ...rest }, spinnerPlacement === "start" && spinner$1, text, spinnerPlacement === "end" && spinner$1);
40
+ return /* @__PURE__ */ jsxRuntime.jsxs(index.Span, { ref, display: "contents", ...rest, children: [
41
+ spinnerPlacement === "start" && spinner$1,
42
+ text,
43
+ spinnerPlacement === "end" && spinner$1
44
+ ] });
40
45
  }
41
46
  if (spinner$1) {
42
- return /* @__PURE__ */ React__namespace.createElement(index.Span, { ref, display: "contents", ...rest }, /* @__PURE__ */ React__namespace.createElement(absoluteCenter.AbsoluteCenter, { display: "inline-flex" }, spinner$1), /* @__PURE__ */ React__namespace.createElement(index.Span, { visibility: "hidden", display: "contents" }, children));
47
+ return /* @__PURE__ */ jsxRuntime.jsxs(index.Span, { ref, display: "contents", ...rest, children: [
48
+ /* @__PURE__ */ jsxRuntime.jsx(absoluteCenter.AbsoluteCenter, { display: "inline-flex", children: spinner$1 }),
49
+ /* @__PURE__ */ jsxRuntime.jsx(index.Span, { visibility: "hidden", display: "contents", children })
50
+ ] });
43
51
  }
44
- return /* @__PURE__ */ React__namespace.createElement(index.Span, { ref, display: "contents", ...rest }, children);
52
+ return /* @__PURE__ */ jsxRuntime.jsx(index.Span, { ref, display: "contents", ...rest, children });
45
53
  }
46
54
  );
47
55
  Loader.displayName = "Loader";
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var menu = require('@ark-ui/react/menu');
5
6
  var createSlotRecipeContext = require('../../styled-system/create-slot-recipe-context.cjs');
6
7
  var icons = require('../icons.cjs');
@@ -47,7 +48,7 @@ const MenuArrowTip = withContext(
47
48
  const MenuArrow = withContext(
48
49
  menu.Menu.Arrow,
49
50
  "arrow",
50
- { forwardAsChild: true, defaultProps: { children: /* @__PURE__ */ React.createElement(MenuArrowTip, null) } }
51
+ { forwardAsChild: true, defaultProps: { children: /* @__PURE__ */ jsxRuntime.jsx(MenuArrowTip, {}) } }
51
52
  );
52
53
  const MenuIndicator = withContext(
53
54
  menu.Menu.Indicator,
@@ -77,7 +78,7 @@ const MenuItemCommand = withContext(
77
78
  );
78
79
  const MenuItemIndicator = withContext(menu.Menu.ItemIndicator, "itemIndicator", {
79
80
  forwardAsChild: true,
80
- defaultProps: { children: /* @__PURE__ */ React.createElement(icons.CheckIcon, { boxSize: "4" }) }
81
+ defaultProps: { children: /* @__PURE__ */ jsxRuntime.jsx(icons.CheckIcon, { boxSize: "4" }) }
81
82
  });
82
83
  const MenuCheckboxItem = withContext(menu.Menu.CheckboxItem, "item", { forwardAsChild: true });
83
84
  const MenuRadioItemGroup = withContext(menu.Menu.RadioItemGroup, "itemGroup", { forwardAsChild: true });
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var field = require('@ark-ui/react/field');
5
- var React$1 = require('react');
6
+ var React = require('react');
6
7
  var createContext = require('../../create-context.cjs');
7
8
  var createSlotRecipeContext = require('../../styled-system/create-slot-recipe-context.cjs');
8
9
  var factory = require('../../styled-system/factory.cjs');
9
10
  var attr = require('../../utils/attr.cjs');
10
11
  var cx = require('../../utils/cx.cjs');
11
- require('../../utils/unit.cjs');
12
12
  var icons = require('../icons.cjs');
13
13
 
14
14
  const [NativeSelectBasePropsProvider, useNativeSelectBaseProps] = createContext.createContext({
@@ -28,17 +28,17 @@ const NativeSelectRoot = withProvider("div", "root", {
28
28
  const field$1 = field.useFieldContext();
29
29
  const disabled = Boolean(field$1?.disabled ?? props.disabled);
30
30
  const invalid = Boolean(field$1?.invalid ?? props.invalid);
31
- return /* @__PURE__ */ React.createElement(NativeSelectBasePropsProvider, { value: { disabled, invalid } }, element);
31
+ return /* @__PURE__ */ jsxRuntime.jsx(NativeSelectBasePropsProvider, { value: { disabled, invalid }, children: element });
32
32
  }
33
33
  });
34
34
  const NativeSelectPropsProvider = PropsProvider;
35
35
  const StyledSelect = factory.mainbase(field.Field.Select, {}, { forwardAsChild: true });
36
- const NativeSelectField = React$1.forwardRef(function NativeSelectField2(props, ref) {
36
+ const NativeSelectField = React.forwardRef(function NativeSelectField2(props, ref) {
37
37
  const { children, placeholder, unstyled, ...restProps } = props;
38
38
  const { disabled, invalid } = useNativeSelectBaseProps();
39
39
  const styles = useNativeSelectStyles();
40
40
  const classNames = useClassNames();
41
- return /* @__PURE__ */ React.createElement(
41
+ return /* @__PURE__ */ jsxRuntime.jsxs(
42
42
  StyledSelect,
43
43
  {
44
44
  disabled,
@@ -46,10 +46,12 @@ const NativeSelectField = React$1.forwardRef(function NativeSelectField2(props,
46
46
  ...restProps,
47
47
  ref,
48
48
  className: cx.cx(classNames.field, props.className),
49
- css: [!unstyled ? styles.field : void 0, props.css]
50
- },
51
- placeholder && /* @__PURE__ */ React.createElement("option", { value: "" }, placeholder),
52
- children
49
+ css: [!unstyled ? styles.field : void 0, props.css],
50
+ children: [
51
+ placeholder && /* @__PURE__ */ jsxRuntime.jsx("option", { value: "", children: placeholder }),
52
+ children
53
+ ]
54
+ }
53
55
  );
54
56
  });
55
57
  function NativeSelectIndicator(props) {
@@ -57,16 +59,16 @@ function NativeSelectIndicator(props) {
57
59
  const styles = useNativeSelectStyles();
58
60
  const { disabled, invalid } = useNativeSelectBaseProps();
59
61
  const classNames = useClassNames();
60
- return /* @__PURE__ */ React.createElement(
62
+ return /* @__PURE__ */ jsxRuntime.jsx(
61
63
  factory.mainbase.div,
62
64
  {
63
65
  ...restProps,
64
66
  "data-disabled": attr.dataAttr(disabled),
65
67
  "data-invalid": attr.dataAttr(invalid),
66
68
  className: cx.cx(classNames.indicator, props.className),
67
- css: [!unstyled ? styles.indicator : void 0, props.css]
68
- },
69
- props.children ?? /* @__PURE__ */ React.createElement(icons.ChevronDownIcon, null)
69
+ css: [!unstyled ? styles.indicator : void 0, props.css],
70
+ children: props.children ?? /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronDownIcon, {})
71
+ }
70
72
  );
71
73
  }
72
74
 
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
+ var jsxRuntime = require('react/jsx-runtime');
4
5
  var numberInput = require('@ark-ui/react/number-input');
5
6
  var createSlotRecipeContext = require('../../styled-system/create-slot-recipe-context.cjs');
6
7
  var icons = require('../icons.cjs');
@@ -18,16 +19,19 @@ const NumberInputLabel = withContext(numberInput.NumberInput.Label, "label", { f
18
19
  const NumberInputInput = withContext(numberInput.NumberInput.Input, "input", { forwardAsChild: true });
19
20
  const NumberInputIncrementTrigger = withContext(numberInput.NumberInput.IncrementTrigger, "incrementTrigger", {
20
21
  forwardAsChild: true,
21
- defaultProps: { children: /* @__PURE__ */ React.createElement(icons.ChevronUpIcon, null) }
22
+ defaultProps: { children: /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronUpIcon, {}) }
22
23
  });
23
24
  const NumberInputDecrementTrigger = withContext(numberInput.NumberInput.DecrementTrigger, "decrementTrigger", {
24
25
  forwardAsChild: true,
25
- defaultProps: { children: /* @__PURE__ */ React.createElement(icons.ChevronDownIcon, null) }
26
+ defaultProps: { children: /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronDownIcon, {}) }
26
27
  });
27
28
  const NumberInputControl = withContext(numberInput.NumberInput.Control, "control", {
28
29
  forwardAsChild: true,
29
30
  defaultProps: {
30
- children: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(NumberInputIncrementTrigger, null), /* @__PURE__ */ React.createElement(NumberInputDecrementTrigger, null))
31
+ children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
32
+ /* @__PURE__ */ jsxRuntime.jsx(NumberInputIncrementTrigger, {}),
33
+ /* @__PURE__ */ jsxRuntime.jsx(NumberInputDecrementTrigger, {})
34
+ ] })
31
35
  }
32
36
  });
33
37
  const NumberInputScrubber = withContext(numberInput.NumberInput.Scrubber, "scrubber", { forwardAsChild: true });