@moduix/react 1.1.1 → 2.0.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 (254) hide show
  1. package/README.md +16 -16
  2. package/dist/components/accordion/Accordion.css +8 -1
  3. package/dist/components/accordion/Accordion.d.ts +3 -2
  4. package/dist/components/accordion/Accordion.js +17 -5
  5. package/dist/components/accordion/Accordion.module.js +1 -0
  6. package/dist/components/accordion/index.d.ts +2 -2
  7. package/dist/components/alert/Alert.css +19 -5
  8. package/dist/components/alert/Alert.d.ts +5 -3
  9. package/dist/components/alert/Alert.js +17 -5
  10. package/dist/components/alert/Alert.module.js +1 -0
  11. package/dist/components/angle-slider/AngleSlider.d.ts +18 -2
  12. package/dist/components/angle-slider/AngleSlider.js +34 -18
  13. package/dist/components/angle-slider/index.d.ts +2 -2
  14. package/dist/components/aspect-ratio/AspectRatio.css +3 -1
  15. package/dist/components/aspect-ratio/AspectRatio.js +2 -2
  16. package/dist/components/avatar/Avatar.d.ts +6 -3
  17. package/dist/components/avatar/Avatar.js +12 -5
  18. package/dist/components/avatar/index.d.ts +2 -2
  19. package/dist/components/badge/Badge.css +44 -1
  20. package/dist/components/badge/Badge.d.ts +2 -2
  21. package/dist/components/badge/Badge.js +1 -1
  22. package/dist/components/bleed/Bleed.d.ts +6 -4
  23. package/dist/components/bleed/Bleed.js +3 -3
  24. package/dist/components/breadcrumbs/Breadcrumbs.css +7 -1
  25. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +18 -0
  26. package/dist/components/breadcrumbs/Breadcrumbs.js +18 -4
  27. package/dist/components/breadcrumbs/Breadcrumbs.module.js +2 -1
  28. package/dist/components/breadcrumbs/index.d.ts +2 -0
  29. package/dist/components/button/Button.css +21 -1
  30. package/dist/components/button/Button.d.ts +6 -0
  31. package/dist/components/button/Button.js +12 -7
  32. package/dist/components/card/Card.css +20 -4
  33. package/dist/components/card/Card.d.ts +1 -0
  34. package/dist/components/card/Card.js +12 -1
  35. package/dist/components/card/Card.module.js +1 -0
  36. package/dist/components/carousel/Carousel.css +2 -0
  37. package/dist/components/carousel/Carousel.d.ts +4 -0
  38. package/dist/components/carousel/Carousel.js +15 -2
  39. package/dist/components/checkbox/Checkbox.d.ts +2 -3
  40. package/dist/components/checkbox/Checkbox.js +25 -22
  41. package/dist/components/checkbox/index.d.ts +2 -2
  42. package/dist/components/clipboard/Clipboard.css +1 -1
  43. package/dist/components/clipboard/Clipboard.d.ts +2 -0
  44. package/dist/components/clipboard/Clipboard.js +15 -4
  45. package/dist/components/close-button/CloseButton.d.ts +12 -2
  46. package/dist/components/close-button/CloseButton.js +9 -9
  47. package/dist/components/collapsible/Collapsible.css +9 -2
  48. package/dist/components/collapsible/Collapsible.d.ts +3 -2
  49. package/dist/components/collapsible/Collapsible.js +18 -6
  50. package/dist/components/collapsible/Collapsible.module.js +1 -0
  51. package/dist/components/collapsible/index.d.ts +2 -2
  52. package/dist/components/color-picker/ColorPicker.css +35 -6
  53. package/dist/components/color-picker/ColorPicker.d.ts +3 -3
  54. package/dist/components/color-picker/ColorPicker.js +78 -27
  55. package/dist/components/color-picker/ColorPicker.module.js +1 -0
  56. package/dist/components/color-picker/index.d.ts +2 -2
  57. package/dist/components/combobox/Combobox.css +37 -8
  58. package/dist/components/combobox/Combobox.d.ts +9 -2
  59. package/dist/components/combobox/Combobox.js +34 -8
  60. package/dist/components/combobox/index.d.ts +2 -2
  61. package/dist/components/command-palette/CommandPalette.css +40 -74
  62. package/dist/components/command-palette/CommandPalette.d.ts +13 -3
  63. package/dist/components/command-palette/CommandPalette.js +54 -43
  64. package/dist/components/command-palette/CommandPalette.module.js +0 -2
  65. package/dist/components/container/Container.js +1 -1
  66. package/dist/components/date-input/DateInput.css +3 -1
  67. package/dist/components/date-input/DateInput.d.ts +12 -7
  68. package/dist/components/date-input/DateInput.js +35 -14
  69. package/dist/components/date-input/index.d.ts +2 -2
  70. package/dist/components/date-picker/DatePicker.css +41 -13
  71. package/dist/components/date-picker/DatePicker.d.ts +30 -2
  72. package/dist/components/date-picker/DatePicker.js +94 -9
  73. package/dist/components/date-picker/index.d.ts +2 -2
  74. package/dist/components/dialog/Dialog.css +14 -10
  75. package/dist/components/dialog/Dialog.d.ts +2 -2
  76. package/dist/components/dialog/Dialog.js +3 -3
  77. package/dist/components/dialog/index.d.ts +2 -2
  78. package/dist/components/drawer/Drawer.d.ts +2 -2
  79. package/dist/components/drawer/Drawer.js +3 -3
  80. package/dist/components/drawer/index.d.ts +2 -2
  81. package/dist/components/editable/Editable.d.ts +9 -2
  82. package/dist/components/editable/Editable.js +14 -5
  83. package/dist/components/editable/index.d.ts +2 -2
  84. package/dist/components/empty/Empty.js +1 -1
  85. package/dist/components/field/Field.css +0 -4
  86. package/dist/components/field/Field.d.ts +3 -2
  87. package/dist/components/field/Field.js +6 -5
  88. package/dist/components/field/Field.module.js +0 -1
  89. package/dist/components/field/index.d.ts +2 -2
  90. package/dist/components/fieldset/Fieldset.d.ts +2 -2
  91. package/dist/components/fieldset/Fieldset.js +3 -3
  92. package/dist/components/fieldset/index.d.ts +2 -2
  93. package/dist/components/file-upload/FileUpload.css +81 -8
  94. package/dist/components/file-upload/FileUpload.d.ts +22 -5
  95. package/dist/components/file-upload/FileUpload.js +79 -21
  96. package/dist/components/file-upload/FileUpload.module.js +3 -0
  97. package/dist/components/file-upload/index.d.ts +2 -2
  98. package/dist/components/floating-panel/FloatingPanel.css +14 -10
  99. package/dist/components/floating-panel/FloatingPanel.d.ts +11 -3
  100. package/dist/components/floating-panel/FloatingPanel.js +15 -9
  101. package/dist/components/heading/Heading.js +1 -1
  102. package/dist/components/highlight/Highlight.js +1 -1
  103. package/dist/components/hover-card/HoverCard.css +14 -10
  104. package/dist/components/hover-card/HoverCard.d.ts +3 -2
  105. package/dist/components/hover-card/HoverCard.js +5 -4
  106. package/dist/components/hover-card/index.d.ts +2 -2
  107. package/dist/components/image/Image.css +7 -0
  108. package/dist/components/image/Image.d.ts +12 -0
  109. package/dist/components/image/Image.js +28 -0
  110. package/dist/components/image/Image.module.js +5 -0
  111. package/dist/components/image/index.d.ts +2 -0
  112. package/dist/components/image-cropper/ImageCropper.d.ts +7 -2
  113. package/dist/components/image-cropper/ImageCropper.js +25 -3
  114. package/dist/components/image-cropper/index.d.ts +2 -2
  115. package/dist/components/input/Input.js +1 -1
  116. package/dist/components/input-group/InputGroup.d.ts +3 -0
  117. package/dist/components/input-group/InputGroup.js +1 -1
  118. package/dist/components/kbd/Kbd.js +1 -1
  119. package/dist/components/lightbox/Lightbox.css +12 -10
  120. package/dist/components/lightbox/Lightbox.d.ts +4 -2
  121. package/dist/components/lightbox/Lightbox.js +9 -7
  122. package/dist/components/lightbox/index.d.ts +2 -2
  123. package/dist/components/list/List.js +1 -1
  124. package/dist/components/listbox/Listbox.css +60 -1
  125. package/dist/components/listbox/Listbox.d.ts +14 -2
  126. package/dist/components/listbox/Listbox.js +41 -5
  127. package/dist/components/listbox/Listbox.module.js +3 -0
  128. package/dist/components/listbox/index.d.ts +2 -2
  129. package/dist/components/marquee/Marquee.d.ts +2 -1
  130. package/dist/components/marquee/Marquee.js +4 -3
  131. package/dist/components/marquee/index.d.ts +2 -2
  132. package/dist/components/menu/Menu.css +14 -8
  133. package/dist/components/menu/Menu.d.ts +3 -2
  134. package/dist/components/menu/Menu.js +6 -5
  135. package/dist/components/menu/index.d.ts +2 -2
  136. package/dist/components/native-select/NativeSelect.d.ts +6 -2
  137. package/dist/components/native-select/NativeSelect.js +5 -4
  138. package/dist/components/number-input/NumberInput.css +0 -6
  139. package/dist/components/number-input/NumberInput.d.ts +7 -2
  140. package/dist/components/number-input/NumberInput.js +17 -4
  141. package/dist/components/number-input/index.d.ts +2 -2
  142. package/dist/components/pagination/Pagination.d.ts +4 -0
  143. package/dist/components/pagination/Pagination.js +13 -4
  144. package/dist/components/password-input/PasswordInput.d.ts +4 -0
  145. package/dist/components/password-input/PasswordInput.js +10 -2
  146. package/dist/components/pin-input/PinInput.d.ts +6 -1
  147. package/dist/components/pin-input/PinInput.js +25 -16
  148. package/dist/components/popover/Popover.css +20 -11
  149. package/dist/components/popover/Popover.js +1 -1
  150. package/dist/components/progress-circular/ProgressCircular.d.ts +6 -0
  151. package/dist/components/progress-circular/ProgressCircular.js +14 -3
  152. package/dist/components/progress-linear/ProgressLinear.d.ts +3 -0
  153. package/dist/components/progress-linear/ProgressLinear.js +6 -3
  154. package/dist/components/qr-code/QrCode.css +3 -2
  155. package/dist/components/qr-code/QrCode.d.ts +2 -2
  156. package/dist/components/qr-code/QrCode.js +3 -3
  157. package/dist/components/qr-code/index.d.ts +2 -2
  158. package/dist/components/radio-group/RadioGroup.d.ts +8 -4
  159. package/dist/components/radio-group/RadioGroup.js +22 -14
  160. package/dist/components/radio-group/index.d.ts +2 -2
  161. package/dist/components/rating-group/RatingGroup.css +3 -3
  162. package/dist/components/rating-group/RatingGroup.d.ts +11 -4
  163. package/dist/components/rating-group/RatingGroup.js +29 -18
  164. package/dist/components/rating-group/index.d.ts +2 -2
  165. package/dist/components/scroll-area/ScrollArea.css +7 -2
  166. package/dist/components/scroll-area/ScrollArea.d.ts +3 -0
  167. package/dist/components/scroll-area/ScrollArea.js +9 -6
  168. package/dist/components/segment-group/SegmentGroup.d.ts +13 -3
  169. package/dist/components/segment-group/SegmentGroup.js +23 -15
  170. package/dist/components/segment-group/index.d.ts +2 -2
  171. package/dist/components/select/Select.css +24 -15
  172. package/dist/components/select/Select.d.ts +18 -4
  173. package/dist/components/select/Select.js +65 -20
  174. package/dist/components/separator/Separator.js +1 -1
  175. package/dist/components/sidebar/Sidebar.css +144 -4
  176. package/dist/components/sidebar/Sidebar.d.ts +26 -0
  177. package/dist/components/sidebar/Sidebar.js +105 -13
  178. package/dist/components/sidebar/Sidebar.module.js +6 -0
  179. package/dist/components/signature-pad/SignaturePad.css +12 -41
  180. package/dist/components/signature-pad/SignaturePad.d.ts +14 -6
  181. package/dist/components/signature-pad/SignaturePad.js +56 -17
  182. package/dist/components/signature-pad/index.d.ts +2 -2
  183. package/dist/components/simple-grid/SimpleGrid.js +3 -3
  184. package/dist/components/skeleton/Skeleton.js +1 -1
  185. package/dist/components/slider/Slider.css +6 -4
  186. package/dist/components/slider/Slider.d.ts +12 -3
  187. package/dist/components/slider/Slider.js +24 -15
  188. package/dist/components/slider/index.d.ts +2 -2
  189. package/dist/components/spinner/Spinner.js +2 -2
  190. package/dist/components/split-button/SplitButton.d.ts +1 -1
  191. package/dist/components/split-button/SplitButton.js +3 -4
  192. package/dist/components/splitter/Splitter.css +13 -12
  193. package/dist/components/splitter/Splitter.d.ts +2 -2
  194. package/dist/components/splitter/Splitter.js +12 -11
  195. package/dist/components/splitter/index.d.ts +2 -2
  196. package/dist/components/stack/Stack.d.ts +1 -3
  197. package/dist/components/stack/Stack.js +4 -6
  198. package/dist/components/steps/Steps.d.ts +2 -1
  199. package/dist/components/steps/Steps.js +5 -4
  200. package/dist/components/swap/Swap.css +45 -0
  201. package/dist/components/swap/Swap.d.ts +11 -0
  202. package/dist/components/swap/Swap.js +39 -0
  203. package/dist/components/swap/Swap.module.js +11 -0
  204. package/dist/components/swap/index.d.ts +2 -0
  205. package/dist/components/switch/Switch.css +2 -2
  206. package/dist/components/switch/Switch.d.ts +4 -4
  207. package/dist/components/switch/Switch.js +19 -16
  208. package/dist/components/switch/index.d.ts +2 -2
  209. package/dist/components/table/Table.css +3 -3
  210. package/dist/components/table/Table.js +3 -2
  211. package/dist/components/table/Table.module.js +0 -1
  212. package/dist/components/tabs/Tabs.css +3 -1
  213. package/dist/components/tabs/Tabs.d.ts +3 -2
  214. package/dist/components/tabs/Tabs.js +5 -4
  215. package/dist/components/tabs/index.d.ts +2 -2
  216. package/dist/components/tag/Tag.css +12 -42
  217. package/dist/components/tag/Tag.js +7 -20
  218. package/dist/components/tags-input/TagsInput.css +3 -40
  219. package/dist/components/tags-input/TagsInput.d.ts +7 -4
  220. package/dist/components/tags-input/TagsInput.js +33 -21
  221. package/dist/components/tags-input/index.d.ts +2 -2
  222. package/dist/components/text/Text.d.ts +2 -2
  223. package/dist/components/text/Text.js +1 -1
  224. package/dist/components/textarea/Textarea.js +1 -1
  225. package/dist/components/timer/Timer.d.ts +14 -2
  226. package/dist/components/timer/Timer.js +13 -5
  227. package/dist/components/timer/index.d.ts +2 -2
  228. package/dist/components/toast/Toast.d.ts +3 -1
  229. package/dist/components/toast/Toast.js +11 -2
  230. package/dist/components/toggle/Toggle.css +3 -3
  231. package/dist/components/toggle/Toggle.d.ts +3 -2
  232. package/dist/components/toggle/Toggle.js +5 -4
  233. package/dist/components/toggle/index.d.ts +2 -2
  234. package/dist/components/toggle-group/ToggleGroup.d.ts +3 -2
  235. package/dist/components/toggle-group/ToggleGroup.js +4 -3
  236. package/dist/components/toggle-group/index.d.ts +2 -2
  237. package/dist/components/tooltip/Tooltip.css +14 -10
  238. package/dist/components/tooltip/Tooltip.d.ts +3 -2
  239. package/dist/components/tooltip/Tooltip.js +10 -3
  240. package/dist/components/tooltip/index.d.ts +2 -2
  241. package/dist/components/tour/Tour.css +23 -18
  242. package/dist/components/tour/Tour.d.ts +6 -0
  243. package/dist/components/tour/Tour.js +8 -1
  244. package/dist/components/tree-view/TreeView.css +1 -1
  245. package/dist/components/tree-view/TreeView.d.ts +2 -2
  246. package/dist/components/tree-view/TreeView.js +4 -4
  247. package/dist/components/tree-view/index.d.ts +2 -2
  248. package/dist/index.d.ts +40 -39
  249. package/dist/index.js +40 -39
  250. package/dist/lib/moduix/icons/ui/Icons.d.ts +1 -45
  251. package/dist/lib/moduix/icons/ui/Icons.js +36 -263
  252. package/dist/lib/moduix/icons/ui/index.d.ts +2 -2
  253. package/dist/lib/moduix/overlayPortal.js +1 -1
  254. package/package.json +4 -3
@@ -79,23 +79,6 @@ function CalendarIcon(props) {
79
79
  ]
80
80
  });
81
81
  }
82
- function ChevronUpIcon(props) {
83
- return /* @__PURE__ */ jsx("svg", {
84
- xmlns: "http://www.w3.org/2000/svg",
85
- width: "24",
86
- height: "24",
87
- viewBox: "0 0 24 24",
88
- fill: "none",
89
- stroke: "currentColor",
90
- strokeWidth: "3",
91
- strokeLinecap: "round",
92
- strokeLinejoin: "round",
93
- "aria-hidden": "true",
94
- focusable: "false",
95
- ...props,
96
- children: /* @__PURE__ */ jsx("path", { d: "m18 15-6-6-6 6" })
97
- });
98
- }
99
82
  function ChevronUpDownIcon(props) {
100
83
  return /* @__PURE__ */ jsxs("svg", {
101
84
  xmlns: "http://www.w3.org/2000/svg",
@@ -147,82 +130,6 @@ function MinusIcon(props) {
147
130
  children: /* @__PURE__ */ jsx("path", { d: "M5 12h14" })
148
131
  });
149
132
  }
150
- function ZoomOutIcon(props) {
151
- return /* @__PURE__ */ jsxs("svg", {
152
- xmlns: "http://www.w3.org/2000/svg",
153
- width: "24",
154
- height: "24",
155
- viewBox: "0 0 24 24",
156
- fill: "none",
157
- stroke: "currentColor",
158
- strokeWidth: "2",
159
- strokeLinecap: "round",
160
- strokeLinejoin: "round",
161
- "aria-hidden": "true",
162
- focusable: "false",
163
- ...props,
164
- children: [
165
- /* @__PURE__ */ jsx("circle", {
166
- cx: "11",
167
- cy: "11",
168
- r: "8"
169
- }),
170
- /* @__PURE__ */ jsx("line", {
171
- x1: "21",
172
- x2: "16.65",
173
- y1: "21",
174
- y2: "16.65"
175
- }),
176
- /* @__PURE__ */ jsx("line", {
177
- x1: "8",
178
- x2: "14",
179
- y1: "11",
180
- y2: "11"
181
- })
182
- ]
183
- });
184
- }
185
- function ZoomInIcon(props) {
186
- return /* @__PURE__ */ jsxs("svg", {
187
- xmlns: "http://www.w3.org/2000/svg",
188
- width: "24",
189
- height: "24",
190
- viewBox: "0 0 24 24",
191
- fill: "none",
192
- stroke: "currentColor",
193
- strokeWidth: "2",
194
- strokeLinecap: "round",
195
- strokeLinejoin: "round",
196
- "aria-hidden": "true",
197
- focusable: "false",
198
- ...props,
199
- children: [
200
- /* @__PURE__ */ jsx("circle", {
201
- cx: "11",
202
- cy: "11",
203
- r: "8"
204
- }),
205
- /* @__PURE__ */ jsx("line", {
206
- x1: "21",
207
- x2: "16.65",
208
- y1: "21",
209
- y2: "16.65"
210
- }),
211
- /* @__PURE__ */ jsx("line", {
212
- x1: "11",
213
- x2: "11",
214
- y1: "8",
215
- y2: "14"
216
- }),
217
- /* @__PURE__ */ jsx("line", {
218
- x1: "8",
219
- x2: "14",
220
- y1: "11",
221
- y2: "11"
222
- })
223
- ]
224
- });
225
- }
226
133
  function RotateCcwIcon(props) {
227
134
  return /* @__PURE__ */ jsxs("svg", {
228
135
  xmlns: "http://www.w3.org/2000/svg",
@@ -240,93 +147,7 @@ function RotateCcwIcon(props) {
240
147
  children: [/* @__PURE__ */ jsx("path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }), /* @__PURE__ */ jsx("path", { d: "M3 3v5h5" })]
241
148
  });
242
149
  }
243
- function RotateCwIcon(props) {
244
- return /* @__PURE__ */ jsxs("svg", {
245
- xmlns: "http://www.w3.org/2000/svg",
246
- width: "24",
247
- height: "24",
248
- viewBox: "0 0 24 24",
249
- fill: "none",
250
- stroke: "currentColor",
251
- strokeWidth: "2",
252
- strokeLinecap: "round",
253
- strokeLinejoin: "round",
254
- "aria-hidden": "true",
255
- focusable: "false",
256
- ...props,
257
- children: [/* @__PURE__ */ jsx("path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8" }), /* @__PURE__ */ jsx("path", { d: "M21 3v5h-5" })]
258
- });
259
- }
260
- function PlayIcon(props) {
261
- return /* @__PURE__ */ jsx("svg", {
262
- xmlns: "http://www.w3.org/2000/svg",
263
- width: "24",
264
- height: "24",
265
- viewBox: "0 0 24 24",
266
- fill: "none",
267
- stroke: "currentColor",
268
- strokeWidth: "2",
269
- strokeLinecap: "round",
270
- strokeLinejoin: "round",
271
- "aria-hidden": "true",
272
- focusable: "false",
273
- ...props,
274
- children: /* @__PURE__ */ jsx("path", { d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z" })
275
- });
276
- }
277
- function PauseIcon(props) {
278
- return /* @__PURE__ */ jsxs("svg", {
279
- xmlns: "http://www.w3.org/2000/svg",
280
- width: "24",
281
- height: "24",
282
- viewBox: "0 0 24 24",
283
- fill: "none",
284
- stroke: "currentColor",
285
- strokeWidth: "2",
286
- strokeLinecap: "round",
287
- strokeLinejoin: "round",
288
- "aria-hidden": "true",
289
- focusable: "false",
290
- ...props,
291
- children: [/* @__PURE__ */ jsx("rect", {
292
- x: "14",
293
- y: "3",
294
- width: "5",
295
- height: "18",
296
- rx: "1"
297
- }), /* @__PURE__ */ jsx("rect", {
298
- x: "5",
299
- y: "3",
300
- width: "5",
301
- height: "18",
302
- rx: "1"
303
- })]
304
- });
305
- }
306
- function RestartIcon(props) {
307
- return /* @__PURE__ */ jsxs("svg", {
308
- xmlns: "http://www.w3.org/2000/svg",
309
- width: "24",
310
- height: "24",
311
- viewBox: "0 0 24 24",
312
- fill: "none",
313
- stroke: "currentColor",
314
- strokeWidth: "2",
315
- strokeLinecap: "round",
316
- strokeLinejoin: "round",
317
- "aria-hidden": "true",
318
- focusable: "false",
319
- ...props,
320
- children: [
321
- /* @__PURE__ */ jsx("path", { d: "M21 5H3" }),
322
- /* @__PURE__ */ jsx("path", { d: "M7 12H3" }),
323
- /* @__PURE__ */ jsx("path", { d: "M7 19H3" }),
324
- /* @__PURE__ */ jsx("path", { d: "M12 18a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L11 14" }),
325
- /* @__PURE__ */ jsx("path", { d: "M11 10v4h4" })
326
- ]
327
- });
328
- }
329
- function FlipHorizontalIcon(props) {
150
+ function MaximizeIcon(props) {
330
151
  return /* @__PURE__ */ jsxs("svg", {
331
152
  xmlns: "http://www.w3.org/2000/svg",
332
153
  width: "24",
@@ -341,16 +162,14 @@ function FlipHorizontalIcon(props) {
341
162
  focusable: "false",
342
163
  ...props,
343
164
  children: [
344
- /* @__PURE__ */ jsx("path", { d: "M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3" }),
345
- /* @__PURE__ */ jsx("path", { d: "M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3" }),
346
- /* @__PURE__ */ jsx("path", { d: "M12 20v2" }),
347
- /* @__PURE__ */ jsx("path", { d: "M12 14v2" }),
348
- /* @__PURE__ */ jsx("path", { d: "M12 8v2" }),
349
- /* @__PURE__ */ jsx("path", { d: "M12 2v2" })
165
+ /* @__PURE__ */ jsx("path", { d: "M15 3h6v6" }),
166
+ /* @__PURE__ */ jsx("path", { d: "m21 3-7 7" }),
167
+ /* @__PURE__ */ jsx("path", { d: "m3 21 7-7" }),
168
+ /* @__PURE__ */ jsx("path", { d: "M9 21H3v-6" })
350
169
  ]
351
170
  });
352
171
  }
353
- function MaximizeIcon(props) {
172
+ function RestoreIcon(props) {
354
173
  return /* @__PURE__ */ jsxs("svg", {
355
174
  xmlns: "http://www.w3.org/2000/svg",
356
175
  width: "24",
@@ -364,12 +183,13 @@ function MaximizeIcon(props) {
364
183
  "aria-hidden": "true",
365
184
  focusable: "false",
366
185
  ...props,
367
- children: [
368
- /* @__PURE__ */ jsx("path", { d: "M15 3h6v6" }),
369
- /* @__PURE__ */ jsx("path", { d: "m21 3-7 7" }),
370
- /* @__PURE__ */ jsx("path", { d: "m3 21 7-7" }),
371
- /* @__PURE__ */ jsx("path", { d: "M9 21H3v-6" })
372
- ]
186
+ children: [/* @__PURE__ */ jsx("rect", {
187
+ width: "14",
188
+ height: "14",
189
+ x: "3",
190
+ y: "3",
191
+ rx: "2"
192
+ }), /* @__PURE__ */ jsx("path", { d: "M7 21h10a2 2 0 0 0 2-2V9" })]
373
193
  });
374
194
  }
375
195
  function GripIcon(props) {
@@ -469,6 +289,27 @@ function CloseIcon(props) {
469
289
  children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })]
470
290
  });
471
291
  }
292
+ function SearchIcon(props) {
293
+ return /* @__PURE__ */ jsxs("svg", {
294
+ xmlns: "http://www.w3.org/2000/svg",
295
+ width: "24",
296
+ height: "24",
297
+ viewBox: "0 0 24 24",
298
+ fill: "none",
299
+ stroke: "currentColor",
300
+ strokeWidth: "2",
301
+ strokeLinecap: "round",
302
+ strokeLinejoin: "round",
303
+ "aria-hidden": "true",
304
+ focusable: "false",
305
+ ...props,
306
+ children: [/* @__PURE__ */ jsx("path", { d: "m21 21-4.34-4.34" }), /* @__PURE__ */ jsx("circle", {
307
+ cx: "11",
308
+ cy: "11",
309
+ r: "8"
310
+ })]
311
+ });
312
+ }
472
313
  function TrashIcon(props) {
473
314
  return /* @__PURE__ */ jsxs("svg", {
474
315
  xmlns: "http://www.w3.org/2000/svg",
@@ -622,7 +463,7 @@ function CopyIcon(props) {
622
463
  viewBox: "0 0 24 24",
623
464
  fill: "none",
624
465
  stroke: "currentColor",
625
- strokeWidth: "3",
466
+ strokeWidth: "2",
626
467
  strokeLinecap: "round",
627
468
  strokeLinejoin: "round",
628
469
  "aria-hidden": "true",
@@ -655,40 +496,6 @@ function FileIcon(props) {
655
496
  children: [/* @__PURE__ */ jsx("path", { d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }), /* @__PURE__ */ jsx("path", { d: "M14 2v5a1 1 0 0 0 1 1h5" })]
656
497
  });
657
498
  }
658
- function FolderIcon(props) {
659
- return /* @__PURE__ */ jsx("svg", {
660
- xmlns: "http://www.w3.org/2000/svg",
661
- width: "24",
662
- height: "24",
663
- viewBox: "0 0 24 24",
664
- fill: "none",
665
- stroke: "currentColor",
666
- strokeWidth: "2",
667
- strokeLinecap: "round",
668
- strokeLinejoin: "round",
669
- "aria-hidden": "true",
670
- focusable: "false",
671
- ...props,
672
- children: /* @__PURE__ */ jsx("path", { d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" })
673
- });
674
- }
675
- function FolderOpenIcon(props) {
676
- return /* @__PURE__ */ jsx("svg", {
677
- xmlns: "http://www.w3.org/2000/svg",
678
- width: "24",
679
- height: "24",
680
- viewBox: "0 0 24 24",
681
- fill: "none",
682
- stroke: "currentColor",
683
- strokeWidth: "2",
684
- strokeLinecap: "round",
685
- strokeLinejoin: "round",
686
- "aria-hidden": "true",
687
- focusable: "false",
688
- ...props,
689
- children: /* @__PURE__ */ jsx("path", { d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2" })
690
- });
691
- }
692
499
  function IndeterminateIcon(props) {
693
500
  return /* @__PURE__ */ jsx("svg", {
694
501
  xmlns: "http://www.w3.org/2000/svg",
@@ -721,39 +528,5 @@ function SeparatorMarkIcon(props) {
721
528
  })
722
529
  });
723
530
  }
724
- function ScrubCursorIcon(props) {
725
- return /* @__PURE__ */ jsx("svg", {
726
- viewBox: "0 0 25 14",
727
- fill: "black",
728
- stroke: "white",
729
- "aria-hidden": "true",
730
- focusable: "false",
731
- ...props,
732
- children: /* @__PURE__ */ jsx("path", { d: "M19.5 5.5H6.5V2L1 7l5.5 5v-3.5h13V12L25 7l-5.5-5z" })
733
- });
734
- }
735
- function PopupArrowIcon({ fillClassName, outerStrokeClassName, innerStrokeClassName, ...props }) {
736
- return /* @__PURE__ */ jsxs("svg", {
737
- viewBox: "0 0 20 10",
738
- fill: "none",
739
- "aria-hidden": "true",
740
- focusable: "false",
741
- ...props,
742
- children: [
743
- /* @__PURE__ */ jsx("path", {
744
- d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
745
- className: fillClassName
746
- }),
747
- /* @__PURE__ */ jsx("path", {
748
- d: "M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z",
749
- className: outerStrokeClassName
750
- }),
751
- /* @__PURE__ */ jsx("path", {
752
- d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
753
- className: innerStrokeClassName
754
- })
755
- ]
756
- });
757
- }
758
531
  //#endregion
759
- export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RestartIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon };
532
+ export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PencilIcon, PipetteIcon, PlusIcon, RatingStarIcon, RestoreIcon, RotateCcwIcon, SearchIcon, SeparatorMarkIcon, TrashIcon, UploadIcon };
@@ -1,2 +1,2 @@
1
- import { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RestartIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon } from "./Icons.js";
2
- export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RestartIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon };
1
+ import { FileIcon } from "./Icons.js";
2
+ export { FileIcon };
@@ -1,6 +1,6 @@
1
- import { jsx } from "react/jsx-runtime";
2
1
  import { Portal } from "@ark-ui/react/portal";
3
2
  import { createContext, useContext } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/lib/moduix/overlayPortal.tsx
5
5
  const OverlayPortalContext = createContext({});
6
6
  function OverlayPortalProvider({ children, ...value }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moduix/react",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "description": "React implementation of the moduix component system, built on Ark UI primitives.",
5
5
  "keywords": [
6
6
  "accessible",
@@ -50,19 +50,20 @@
50
50
  "tsc:check": "tsc -b"
51
51
  },
52
52
  "dependencies": {
53
+ "@unpic/react": "^1.0.2",
53
54
  "clsx": "^2.1.1"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@ark-ui/react": "^5.37.2",
57
58
  "@internationalized/date": "^3.12.2",
58
- "@storybook/react-vite": "^10.4.6",
59
+ "@storybook/react-vite": "10.5.0",
59
60
  "@tsdown/css": "^0.22.3",
60
61
  "@types/node": "^24.13.2",
61
62
  "@types/react": "^19.2.17",
62
63
  "@types/react-dom": "^19.2.3",
63
64
  "react": "^19.2.7",
64
65
  "react-dom": "^19.2.7",
65
- "storybook": "^10.4.6",
66
+ "storybook": "10.5.0",
66
67
  "tsdown": "^0.22.3",
67
68
  "typescript": "~6.0.3",
68
69
  "vite": "^8.1.0",