@moduix/react 2.5.1 → 2.6.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 (200) hide show
  1. package/README.md +24 -3
  2. package/THIRD_PARTY_NOTICES.md +49 -0
  3. package/dist/components/accordion/Accordion.js +7 -8
  4. package/dist/components/alert/Alert.js +6 -7
  5. package/dist/components/alert/Alert_module.css +3 -16
  6. package/dist/components/angle-slider/AngleSlider.d.ts +5 -11
  7. package/dist/components/angle-slider/AngleSlider.js +17 -59
  8. package/dist/components/aspect-ratio/AspectRatio.js +1 -2
  9. package/dist/components/aspect-ratio/AspectRatio_module.css +0 -13
  10. package/dist/components/avatar/Avatar.d.ts +3 -6
  11. package/dist/components/avatar/Avatar.js +7 -50
  12. package/dist/components/avatar/Avatar.module.js +1 -2
  13. package/dist/components/avatar/Avatar_module.css +0 -6
  14. package/dist/components/badge/Badge.d.ts +2 -2
  15. package/dist/components/badge/Badge.js +5 -10
  16. package/dist/components/badge/Badge_module.css +7 -14
  17. package/dist/components/bleed/Bleed.js +1 -2
  18. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
  19. package/dist/components/breadcrumbs/Breadcrumbs.js +16 -32
  20. package/dist/components/breadcrumbs/Breadcrumbs_module.css +12 -14
  21. package/dist/components/button/Button.d.ts +4 -4
  22. package/dist/components/button/Button.js +1 -2
  23. package/dist/components/button/Button_module.css +2 -7
  24. package/dist/components/card/Card.d.ts +15 -15
  25. package/dist/components/card/Card.js +10 -11
  26. package/dist/components/card/Card_module.css +1 -17
  27. package/dist/components/carousel/Carousel.js +12 -13
  28. package/dist/components/carousel/Carousel_module.css +7 -0
  29. package/dist/components/chart/Chart.d.ts +9 -8
  30. package/dist/components/chart/Chart.js +7 -8
  31. package/dist/components/chart/Chart_module.css +0 -2
  32. package/dist/components/checkbox/Checkbox.d.ts +3 -2
  33. package/dist/components/checkbox/Checkbox.js +12 -35
  34. package/dist/components/clipboard/Clipboard.js +8 -9
  35. package/dist/components/close-button/CloseButton.js +1 -2
  36. package/dist/components/close-button/CloseButton_module.css +1 -10
  37. package/dist/components/collapsible/Collapsible.js +6 -9
  38. package/dist/components/collapsible/Collapsible_module.css +2 -4
  39. package/dist/components/color-picker/ColorPicker.d.ts +4 -3
  40. package/dist/components/color-picker/ColorPicker.js +32 -45
  41. package/dist/components/color-picker/ColorPicker_module.css +0 -1
  42. package/dist/components/combobox/Combobox.d.ts +5 -5
  43. package/dist/components/combobox/Combobox.js +20 -29
  44. package/dist/components/combobox/Combobox_module.css +0 -1
  45. package/dist/components/command-palette/CommandPalette.d.ts +7 -18
  46. package/dist/components/command-palette/CommandPalette.js +51 -78
  47. package/dist/components/command-palette/CommandPalette_module.css +11 -18
  48. package/dist/components/container/Container.js +1 -2
  49. package/dist/components/date-input/DateInput.d.ts +7 -9
  50. package/dist/components/date-input/DateInput.js +14 -44
  51. package/dist/components/date-input/DateInput_module.css +0 -1
  52. package/dist/components/date-picker/DatePicker.d.ts +1 -1
  53. package/dist/components/date-picker/DatePicker.js +34 -43
  54. package/dist/components/date-picker/DatePicker.module.js +1 -1
  55. package/dist/components/date-picker/DatePicker_module.css +5 -2
  56. package/dist/components/dialog/Dialog.d.ts +1 -1
  57. package/dist/components/dialog/Dialog.js +11 -12
  58. package/dist/components/drawer/Drawer.d.ts +6 -3
  59. package/dist/components/drawer/Drawer.js +33 -24
  60. package/dist/components/editable/Editable.d.ts +1 -1
  61. package/dist/components/editable/Editable.js +10 -11
  62. package/dist/components/empty/Empty.js +6 -7
  63. package/dist/components/field/Field.js +10 -11
  64. package/dist/components/fieldset/Fieldset.js +5 -6
  65. package/dist/components/file-upload/FileUpload.d.ts +3 -2
  66. package/dist/components/file-upload/FileUpload.js +28 -55
  67. package/dist/components/file-upload/FileUpload_module.css +4 -13
  68. package/dist/components/floating-panel/FloatingPanel.d.ts +2 -2
  69. package/dist/components/floating-panel/FloatingPanel.js +14 -15
  70. package/dist/components/floating-panel/FloatingPanel_module.css +4 -17
  71. package/dist/components/heading/Heading.js +1 -2
  72. package/dist/components/highlight/Highlight.js +1 -2
  73. package/dist/components/hover-card/HoverCard.d.ts +2 -1
  74. package/dist/components/hover-card/HoverCard.js +15 -6
  75. package/dist/components/hover-card/HoverCard.module.js +1 -0
  76. package/dist/components/hover-card/HoverCard_module.css +18 -3
  77. package/dist/components/image/Image.js +1 -2
  78. package/dist/components/image-cropper/ImageCropper.d.ts +1 -1
  79. package/dist/components/image-cropper/ImageCropper.js +7 -8
  80. package/dist/components/input/Input.d.ts +4 -4
  81. package/dist/components/input/Input.js +1 -2
  82. package/dist/components/input-group/InputGroup.d.ts +5 -5
  83. package/dist/components/input-group/InputGroup.js +5 -6
  84. package/dist/components/json-tree-view/JsonTreeView.js +3 -4
  85. package/dist/components/json-tree-view/JsonTreeView_module.css +26 -10
  86. package/dist/components/kbd/Kbd.js +2 -3
  87. package/dist/components/lightbox/Lightbox.d.ts +1 -1
  88. package/dist/components/lightbox/Lightbox.js +13 -14
  89. package/dist/components/lightbox/Lightbox_module.css +0 -2
  90. package/dist/components/list/List.js +2 -3
  91. package/dist/components/listbox/Listbox.d.ts +5 -5
  92. package/dist/components/listbox/Listbox.js +19 -25
  93. package/dist/components/listbox/Listbox.module.js +2 -2
  94. package/dist/components/listbox/Listbox_module.css +3 -13
  95. package/dist/components/marquee/Marquee.js +6 -7
  96. package/dist/components/menu/Menu.d.ts +2 -1
  97. package/dist/components/menu/Menu.js +34 -41
  98. package/dist/components/menu/Menu.module.js +1 -1
  99. package/dist/components/menu/Menu_module.css +8 -8
  100. package/dist/components/native-select/NativeSelect.js +2 -3
  101. package/dist/components/native-select/NativeSelect_module.css +0 -1
  102. package/dist/components/navigation-menu/NavigationMenu.js +17 -36
  103. package/dist/components/navigation-menu/NavigationMenu.module.js +2 -3
  104. package/dist/components/navigation-menu/NavigationMenu_module.css +15 -32
  105. package/dist/components/number-input/NumberInput.js +9 -10
  106. package/dist/components/pagination/Pagination.js +17 -20
  107. package/dist/components/pagination/Pagination_module.css +1 -5
  108. package/dist/components/password-input/PasswordInput.js +7 -8
  109. package/dist/components/pin-input/PinInput.d.ts +3 -2
  110. package/dist/components/pin-input/PinInput.js +13 -54
  111. package/dist/components/popover/Popover.d.ts +5 -3
  112. package/dist/components/popover/Popover.js +16 -17
  113. package/dist/components/progress-circular/ProgressCircular.js +8 -9
  114. package/dist/components/progress-circular/ProgressCircular.module.js +1 -3
  115. package/dist/components/progress-circular/ProgressCircular_module.css +0 -10
  116. package/dist/components/progress-linear/ProgressLinear.js +7 -8
  117. package/dist/components/progress-linear/ProgressLinear.module.js +1 -5
  118. package/dist/components/progress-linear/ProgressLinear_module.css +0 -20
  119. package/dist/components/qr-code/QrCode.js +6 -7
  120. package/dist/components/radio-group/RadioGroup.d.ts +1 -0
  121. package/dist/components/radio-group/RadioGroup.js +13 -27
  122. package/dist/components/radio-group/RadioGroup_module.css +0 -1
  123. package/dist/components/rating-group/RatingGroup.d.ts +1 -0
  124. package/dist/components/rating-group/RatingGroup.js +12 -29
  125. package/dist/components/rating-group/RatingGroup_module.css +1 -1
  126. package/dist/components/scroll-area/ScrollArea.js +7 -8
  127. package/dist/components/segment-group/SegmentGroup.d.ts +1 -0
  128. package/dist/components/segment-group/SegmentGroup.js +16 -30
  129. package/dist/components/segment-group/SegmentGroup_module.css +4 -0
  130. package/dist/components/select/Select.d.ts +4 -7
  131. package/dist/components/select/Select.js +36 -86
  132. package/dist/components/select/Select.module.js +1 -1
  133. package/dist/components/select/Select_module.css +4 -31
  134. package/dist/components/separator/Separator.d.ts +6 -6
  135. package/dist/components/separator/Separator.js +1 -2
  136. package/dist/components/sidebar/Sidebar.d.ts +16 -16
  137. package/dist/components/sidebar/Sidebar.js +35 -48
  138. package/dist/components/sidebar/Sidebar.module.js +2 -3
  139. package/dist/components/sidebar/Sidebar_module.css +62 -158
  140. package/dist/components/signature-pad/SignaturePad.d.ts +5 -8
  141. package/dist/components/signature-pad/SignaturePad.js +17 -46
  142. package/dist/components/signature-pad/SignaturePad_module.css +0 -1
  143. package/dist/components/simple-grid/SimpleGrid.js +13 -8
  144. package/dist/components/skeleton/Skeleton.d.ts +2 -2
  145. package/dist/components/skeleton/Skeleton.js +1 -2
  146. package/dist/components/slider/Slider.d.ts +2 -2
  147. package/dist/components/slider/Slider.js +18 -32
  148. package/dist/components/spinner/Spinner.d.ts +2 -2
  149. package/dist/components/spinner/Spinner.js +1 -2
  150. package/dist/components/split-button/SplitButton.d.ts +4 -4
  151. package/dist/components/split-button/SplitButton.js +11 -8
  152. package/dist/components/splitter/Splitter.js +5 -6
  153. package/dist/components/splitter/Splitter_module.css +2 -10
  154. package/dist/components/stack/Stack.d.ts +6 -6
  155. package/dist/components/stack/Stack.js +4 -5
  156. package/dist/components/stack/Stack_module.css +1 -1
  157. package/dist/components/steps/Steps.js +12 -13
  158. package/dist/components/steps/Steps_module.css +2 -3
  159. package/dist/components/swap/Swap.js +3 -4
  160. package/dist/components/switch/Switch.d.ts +3 -2
  161. package/dist/components/switch/Switch.js +12 -35
  162. package/dist/components/switch/Switch_module.css +0 -1
  163. package/dist/components/table/Table.d.ts +5 -5
  164. package/dist/components/table/Table.js +12 -13
  165. package/dist/components/tabs/Tabs.js +6 -7
  166. package/dist/components/tabs/Tabs_module.css +5 -10
  167. package/dist/components/tag/Tag.js +5 -6
  168. package/dist/components/tag/Tag_module.css +2 -4
  169. package/dist/components/tags-input/TagsInput.d.ts +3 -3
  170. package/dist/components/tags-input/TagsInput.js +21 -75
  171. package/dist/components/tags-input/TagsInput_module.css +0 -1
  172. package/dist/components/text/Text.js +1 -2
  173. package/dist/components/textarea/Textarea.js +1 -2
  174. package/dist/components/timer/Timer.js +7 -8
  175. package/dist/components/toast/Toast.d.ts +1 -1
  176. package/dist/components/toast/Toast.js +7 -8
  177. package/dist/components/toast/Toast_module.css +1 -2
  178. package/dist/components/toc/Toc.js +10 -11
  179. package/dist/components/toc/Toc_module.css +2 -2
  180. package/dist/components/toggle/Toggle.js +2 -3
  181. package/dist/components/toggle-group/ToggleGroup.d.ts +1 -1
  182. package/dist/components/toggle-group/ToggleGroup.js +3 -4
  183. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  184. package/dist/components/tooltip/Tooltip.js +6 -7
  185. package/dist/components/tooltip/Tooltip_module.css +1 -1
  186. package/dist/components/tour/Tour.d.ts +1 -1
  187. package/dist/components/tour/Tour.js +14 -15
  188. package/dist/components/tree-view/TreeView.d.ts +4 -4
  189. package/dist/components/tree-view/TreeView.js +17 -18
  190. package/dist/components/tree-view/TreeView_module.css +39 -12
  191. package/dist/components/typeset/Typeset.js +2 -3
  192. package/dist/components/typeset/Typeset_module.css +300 -159
  193. package/dist/internal/icons/ui/Icons.d.ts +9 -30
  194. package/dist/internal/icons/ui/Icons.js +67 -807
  195. package/dist/internal/icons/ui/index.d.ts +1 -1
  196. package/dist/styles/animations.css +310 -0
  197. package/dist/styles/style.css +168 -2
  198. package/package.json +23 -23
  199. package/dist/internal/normalizeClassName.d.ts +0 -1
  200. package/dist/internal/normalizeClassName.js +0 -2
@@ -4,7 +4,6 @@ import { ark } from "@ark-ui/react/factory";
4
4
  import { clsx } from "clsx";
5
5
  import { createContext, forwardRef, useContext } from "react";
6
6
  import { ChevronLeftIcon } from "../../internal/icons/ui/index.js";
7
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
8
7
  import { Input } from "../input/index.js";
9
8
  import { Separator } from "../separator/index.js";
10
9
  import { Splitter, useSplitterContext } from "../splitter/index.js";
@@ -67,7 +66,7 @@ const Sidebar_SidebarRoot = /*#__PURE__*/ forwardRef(function({ className, defau
67
66
  orientation: "horizontal",
68
67
  "data-side": side,
69
68
  "data-slot": "sidebar-root",
70
- className: clsx(Sidebar_module.root, normalizeClassName(className))
69
+ className: clsx(Sidebar_module.root, className)
71
70
  })
72
71
  });
73
72
  });
@@ -93,7 +92,7 @@ const Sidebar_SidebarPanel = /*#__PURE__*/ forwardRef(function({ className, ...p
93
92
  "data-side": config.side,
94
93
  "data-slot": "sidebar-panel",
95
94
  "data-state": collapsed ? 'collapsed' : 'expanded',
96
- className: clsx(Sidebar_module.panel, normalizeClassName(className))
95
+ className: clsx(Sidebar_module.panel, className)
97
96
  });
98
97
  });
99
98
  const Sidebar_SidebarInset = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
@@ -104,7 +103,7 @@ const Sidebar_SidebarInset = /*#__PURE__*/ forwardRef(function({ className, ...p
104
103
  id: "content",
105
104
  "data-side": side,
106
105
  "data-slot": "sidebar-inset",
107
- className: clsx(Sidebar_module.inset, normalizeClassName(className))
106
+ className: clsx(Sidebar_module.inset, className)
108
107
  });
109
108
  });
110
109
  const Sidebar_SidebarResizeTrigger = /*#__PURE__*/ forwardRef(function({ children, className, 'aria-label': ariaLabel = 'Resize sidebar', ...props }, ref) {
@@ -117,7 +116,7 @@ const Sidebar_SidebarResizeTrigger = /*#__PURE__*/ forwardRef(function({ childre
117
116
  "aria-label": ariaLabel,
118
117
  "data-side": side,
119
118
  "data-slot": "sidebar-resize-trigger",
120
- className: clsx(Sidebar_module.resizeTrigger, normalizeClassName(className)),
119
+ className: clsx(Sidebar_module.resizeTrigger, className),
121
120
  children: children
122
121
  });
123
122
  });
@@ -140,7 +139,7 @@ const Sidebar_SidebarTrigger = /*#__PURE__*/ forwardRef(function({ className, ch
140
139
  "data-side": config.side,
141
140
  "data-slot": "sidebar-trigger",
142
141
  "data-state": collapsed ? 'collapsed' : 'expanded',
143
- className: clsx(Sidebar_module.trigger, normalizeClassName(className)),
142
+ className: clsx(Sidebar_module.trigger, className),
144
143
  onClick: handleClick,
145
144
  ...props,
146
145
  children: children ?? /*#__PURE__*/ jsx(ChevronLeftIcon, {})
@@ -152,7 +151,7 @@ const Sidebar_SidebarLabel = /*#__PURE__*/ forwardRef(function({ className, ...p
152
151
  "data-scope": "sidebar",
153
152
  "data-part": "label",
154
153
  "data-slot": "sidebar-label",
155
- className: clsx(Sidebar_module.label, normalizeClassName(className)),
154
+ className: clsx(Sidebar_module.label, className),
156
155
  ...props
157
156
  });
158
157
  });
@@ -162,7 +161,7 @@ const Sidebar_SidebarHeader = /*#__PURE__*/ forwardRef(function({ className, ...
162
161
  "data-scope": "sidebar",
163
162
  "data-part": "header",
164
163
  "data-slot": "sidebar-header",
165
- className: clsx(Sidebar_module.header, normalizeClassName(className)),
164
+ className: clsx(Sidebar_module.header, className),
166
165
  ...props
167
166
  });
168
167
  });
@@ -172,7 +171,7 @@ const Sidebar_SidebarContent = /*#__PURE__*/ forwardRef(function({ className, ..
172
171
  "data-scope": "sidebar",
173
172
  "data-part": "content",
174
173
  "data-slot": "sidebar-content",
175
- className: clsx(Sidebar_module.content, normalizeClassName(className)),
174
+ className: clsx(Sidebar_module.content, className),
176
175
  ...props
177
176
  });
178
177
  });
@@ -183,7 +182,7 @@ const Sidebar_SidebarExpandedContent = /*#__PURE__*/ forwardRef(function({ class
183
182
  "data-scope": "sidebar",
184
183
  "data-part": "expanded-content",
185
184
  "data-slot": "sidebar-expanded-content",
186
- className: normalizeClassName(className),
185
+ className: className,
187
186
  ...props,
188
187
  hidden: collapsed
189
188
  });
@@ -195,7 +194,7 @@ const Sidebar_SidebarCollapsedContent = /*#__PURE__*/ forwardRef(function({ clas
195
194
  "data-scope": "sidebar",
196
195
  "data-part": "collapsed-content",
197
196
  "data-slot": "sidebar-collapsed-content",
198
- className: normalizeClassName(className),
197
+ className: className,
199
198
  ...props,
200
199
  hidden: !collapsed
201
200
  });
@@ -206,7 +205,7 @@ const Sidebar_SidebarFooter = /*#__PURE__*/ forwardRef(function({ className, ...
206
205
  "data-scope": "sidebar",
207
206
  "data-part": "footer",
208
207
  "data-slot": "sidebar-footer",
209
- className: clsx(Sidebar_module.footer, normalizeClassName(className)),
208
+ className: clsx(Sidebar_module.footer, className),
210
209
  ...props
211
210
  });
212
211
  });
@@ -216,7 +215,7 @@ const Sidebar_SidebarGroup = /*#__PURE__*/ forwardRef(function({ className, ...p
216
215
  "data-scope": "sidebar",
217
216
  "data-part": "group",
218
217
  "data-slot": "sidebar-group",
219
- className: clsx(Sidebar_module.group, normalizeClassName(className)),
218
+ className: clsx(Sidebar_module.group, className),
220
219
  ...props
221
220
  });
222
221
  });
@@ -226,28 +225,28 @@ const Sidebar_SidebarGroupLabel = /*#__PURE__*/ forwardRef(function({ className,
226
225
  "data-scope": "sidebar",
227
226
  "data-part": "group-label",
228
227
  "data-slot": "sidebar-group-label",
229
- className: clsx(Sidebar_module.groupLabel, normalizeClassName(className)),
228
+ className: clsx(Sidebar_module.groupLabel, className),
230
229
  ...props
231
230
  });
232
231
  });
233
- const Sidebar_SidebarGroupAction = /*#__PURE__*/ forwardRef(function({ className, type = 'button', ...props }, ref) {
234
- return /*#__PURE__*/ jsx(ark.button, {
232
+ const Sidebar_SidebarGroupHeader = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
233
+ return /*#__PURE__*/ jsx(ark.div, {
235
234
  ref: ref,
236
- type: type,
237
235
  "data-scope": "sidebar",
238
- "data-part": "group-action",
239
- "data-slot": "sidebar-group-action",
240
- className: clsx(Sidebar_module.groupAction, normalizeClassName(className)),
236
+ "data-part": "group-header",
237
+ "data-slot": "sidebar-group-header",
238
+ className: clsx(Sidebar_module.groupHeader, className),
241
239
  ...props
242
240
  });
243
241
  });
244
- const Sidebar_SidebarGroupContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
245
- return /*#__PURE__*/ jsx(ark.div, {
242
+ const Sidebar_SidebarGroupAction = /*#__PURE__*/ forwardRef(function({ className, type = 'button', ...props }, ref) {
243
+ return /*#__PURE__*/ jsx(ark.button, {
246
244
  ref: ref,
245
+ type: type,
247
246
  "data-scope": "sidebar",
248
- "data-part": "group-content",
249
- "data-slot": "sidebar-group-content",
250
- className: clsx(Sidebar_module.groupContent, normalizeClassName(className)),
247
+ "data-part": "group-action",
248
+ "data-slot": "sidebar-group-action",
249
+ className: clsx(Sidebar_module.groupAction, className),
251
250
  ...props
252
251
  });
253
252
  });
@@ -257,7 +256,7 @@ const Sidebar_SidebarNavigationList = /*#__PURE__*/ forwardRef(function({ classN
257
256
  "data-scope": "sidebar",
258
257
  "data-part": "navigation-list",
259
258
  "data-slot": "sidebar-navigation-list",
260
- className: clsx(Sidebar_module.menu, normalizeClassName(className)),
259
+ className: clsx(Sidebar_module.menu, className),
261
260
  ...props
262
261
  });
263
262
  });
@@ -267,7 +266,7 @@ const Sidebar_SidebarNavigationItem = /*#__PURE__*/ forwardRef(function({ classN
267
266
  "data-scope": "sidebar",
268
267
  "data-part": "navigation-item",
269
268
  "data-slot": "sidebar-navigation-item",
270
- className: clsx(Sidebar_module.menuItem, normalizeClassName(className)),
269
+ className: clsx(Sidebar_module.menuItem, className),
271
270
  ...props
272
271
  });
273
272
  });
@@ -281,28 +280,17 @@ const Sidebar_SidebarNavigationButton = /*#__PURE__*/ forwardRef(function({ acti
281
280
  "data-slot": "sidebar-navigation-button",
282
281
  "data-active": active ? '' : void 0,
283
282
  "data-size": size,
284
- className: clsx(Sidebar_module.menuButton, normalizeClassName(className)),
285
- ...props
286
- });
287
- });
288
- const Sidebar_SidebarNavigationAction = /*#__PURE__*/ forwardRef(function({ className, type = 'button', ...props }, ref) {
289
- return /*#__PURE__*/ jsx(ark.button, {
290
- ref: ref,
291
- type: type,
292
- "data-scope": "sidebar",
293
- "data-part": "navigation-action",
294
- "data-slot": "sidebar-navigation-action",
295
- className: clsx(Sidebar_module.menuAction, normalizeClassName(className)),
283
+ className: clsx(Sidebar_module.menuButton, className),
296
284
  ...props
297
285
  });
298
286
  });
299
287
  const Sidebar_SidebarNavigationBadge = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
300
- return /*#__PURE__*/ jsx(ark.div, {
288
+ return /*#__PURE__*/ jsx(ark.span, {
301
289
  ref: ref,
302
290
  "data-scope": "sidebar",
303
291
  "data-part": "navigation-badge",
304
292
  "data-slot": "sidebar-navigation-badge",
305
- className: clsx(Sidebar_module.menuBadge, normalizeClassName(className)),
293
+ className: clsx(Sidebar_module.menuBadge, className),
306
294
  ...props
307
295
  });
308
296
  });
@@ -312,7 +300,7 @@ const Sidebar_SidebarNavigationSubList = /*#__PURE__*/ forwardRef(function({ cla
312
300
  "data-scope": "sidebar",
313
301
  "data-part": "navigation-sub-list",
314
302
  "data-slot": "sidebar-navigation-sub-list",
315
- className: clsx(Sidebar_module.menuSub, normalizeClassName(className)),
303
+ className: clsx(Sidebar_module.menuSub, className),
316
304
  ...props
317
305
  });
318
306
  });
@@ -322,7 +310,7 @@ const Sidebar_SidebarNavigationSubItem = /*#__PURE__*/ forwardRef(function({ cla
322
310
  "data-scope": "sidebar",
323
311
  "data-part": "navigation-sub-item",
324
312
  "data-slot": "sidebar-navigation-sub-item",
325
- className: clsx(Sidebar_module.menuSubItem, normalizeClassName(className)),
313
+ className: clsx(Sidebar_module.menuSubItem, className),
326
314
  ...props
327
315
  });
328
316
  });
@@ -334,7 +322,7 @@ const Sidebar_SidebarNavigationSubButton = /*#__PURE__*/ forwardRef(function({ a
334
322
  "data-part": "navigation-sub-button",
335
323
  "data-slot": "sidebar-navigation-sub-button",
336
324
  "data-active": active ? '' : void 0,
337
- className: clsx(Sidebar_module.menuSubButton, normalizeClassName(className)),
325
+ className: clsx(Sidebar_module.menuSubButton, className),
338
326
  ...props,
339
327
  children: 'string' == typeof children ? /*#__PURE__*/ jsx("span", {
340
328
  "data-slot": "sidebar-navigation-sub-label",
@@ -371,7 +359,7 @@ const Sidebar_SidebarInput = /*#__PURE__*/ forwardRef(function({ className, ...p
371
359
  return /*#__PURE__*/ jsx(Input.Root, {
372
360
  ref: ref,
373
361
  "data-slot": "sidebar-input",
374
- className: clsx(Sidebar_module.input, normalizeClassName(className)),
362
+ className: clsx(Sidebar_module.input, className),
375
363
  ...props
376
364
  });
377
365
  });
@@ -379,7 +367,7 @@ const Sidebar_SidebarSeparator = /*#__PURE__*/ forwardRef(function({ className,
379
367
  return /*#__PURE__*/ jsx(Separator.Root, {
380
368
  ref: ref,
381
369
  "data-slot": "sidebar-separator",
382
- className: clsx(Sidebar_module.separator, normalizeClassName(className)),
370
+ className: clsx(Sidebar_module.separator, className),
383
371
  ...props
384
372
  });
385
373
  });
@@ -398,14 +386,13 @@ const Sidebar = Object.assign(Sidebar_SidebarRoot, {
398
386
  Footer: Sidebar_SidebarFooter,
399
387
  Separator: Sidebar_SidebarSeparator,
400
388
  Group: Sidebar_SidebarGroup,
389
+ GroupHeader: Sidebar_SidebarGroupHeader,
401
390
  GroupLabel: Sidebar_SidebarGroupLabel,
402
391
  GroupAction: Sidebar_SidebarGroupAction,
403
- GroupContent: Sidebar_SidebarGroupContent,
404
392
  NavigationList: Sidebar_SidebarNavigationList,
405
393
  NavigationItem: Sidebar_SidebarNavigationItem,
406
394
  Tooltip: Sidebar_SidebarTooltip,
407
395
  NavigationButton: Sidebar_SidebarNavigationButton,
408
- NavigationAction: Sidebar_SidebarNavigationAction,
409
396
  NavigationBadge: Sidebar_SidebarNavigationBadge,
410
397
  NavigationSubList: Sidebar_SidebarNavigationSubList,
411
398
  NavigationSubItem: Sidebar_SidebarNavigationSubItem,
@@ -10,17 +10,16 @@ const Sidebar_module = {
10
10
  groupLabel: "groupLabel-IvBtsR",
11
11
  menuSub: "menuSub-xn2r86",
12
12
  groupAction: "groupAction-aoQPc4",
13
- menuAction: "menuAction-_BDfHY",
14
- menuBadge: "menuBadge-GKf4u4",
15
13
  input: "input-nqDU3w",
16
14
  menuButton: "menuButton-OAl6eQ",
17
15
  inset: "inset-FQP9mn",
18
16
  resizeTrigger: "resizeTrigger-xFDgel",
19
17
  trigger: "trigger-_fUcgc",
20
- groupContent: "groupContent-_s9yul",
18
+ groupHeader: "groupHeader-N4qFFK",
21
19
  menu: "menu-UwagMF",
22
20
  menuItem: "menuItem-ktGhRk",
23
21
  menuSubItem: "menuSubItem-NeKVH5",
22
+ menuBadge: "menuBadge-GKf4u4",
24
23
  menuSubButton: "menuSubButton-MjeEfX",
25
24
  separator: "separator-KuEG4k"
26
25
  };
@@ -57,7 +57,7 @@
57
57
  overflow: hidden;
58
58
  }
59
59
 
60
- .panel-l44YAX[data-state="collapsed"] .menuSub-xn2r86, .panel-l44YAX[data-state="collapsed"] .groupAction-aoQPc4, .panel-l44YAX[data-state="collapsed"] .menuAction-_BDfHY, .panel-l44YAX[data-state="collapsed"] .menuBadge-GKf4u4, .panel-l44YAX[data-state="collapsed"] .input-nqDU3w {
60
+ .panel-l44YAX[data-state="collapsed"] .menuSub-xn2r86, .panel-l44YAX[data-state="collapsed"] .groupAction-aoQPc4, .panel-l44YAX[data-state="collapsed"] .input-nqDU3w {
61
61
  display: none;
62
62
  }
63
63
 
@@ -72,14 +72,6 @@
72
72
  padding-inline: 0;
73
73
  }
74
74
 
75
- .panel-l44YAX[data-state="collapsed"] .menuButton-OAl6eQ > :not(svg):not([data-sidebar-icon]):not([data-slot="sidebar-label"]) {
76
- display: none;
77
- }
78
-
79
- .panel-l44YAX[data-state="collapsed"] .menuButton-OAl6eQ > svg, .panel-l44YAX[data-state="collapsed"] .menuButton-OAl6eQ > [data-sidebar-icon] {
80
- margin-inline: auto;
81
- }
82
-
83
75
  @media (hover: hover) {
84
76
  .panel-l44YAX[data-state="collapsed"] .menuButton-OAl6eQ:hover {
85
77
  background-color: #0000;
@@ -135,12 +127,6 @@
135
127
  transform: rotate(180deg);
136
128
  }
137
129
 
138
- .trigger-_fUcgc:focus-visible {
139
- outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
140
- solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
141
- outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
142
- }
143
-
144
130
  .trigger-_fUcgc:disabled, .trigger-_fUcgc[aria-disabled="true"] {
145
131
  opacity: var(--moduix-sidebar-disabled-opacity, var(--moduix-opacity-disabled));
146
132
  pointer-events: none;
@@ -206,9 +192,17 @@
206
192
  font-weight: var(--moduix-sidebar-group-label-font-weight, var(--moduix-weight-medium));
207
193
  line-height: var(--moduix-sidebar-group-label-line-height, var(--moduix-line-height-text-xs));
208
194
  text-transform: var(--moduix-sidebar-group-label-text-transform, none);
195
+ flex: 1;
209
196
  margin: 0;
210
197
  }
211
198
 
199
+ .groupHeader-N4qFFK {
200
+ align-items: center;
201
+ gap: var(--moduix-sidebar-gap, var(--moduix-spacing-2));
202
+ min-width: 0;
203
+ display: flex;
204
+ }
205
+
212
206
  .groupAction-aoQPc4 {
213
207
  width: var(--moduix-sidebar-group-action-size, var(--moduix-size-xs));
214
208
  height: var(--moduix-sidebar-group-action-size, var(--moduix-size-xs));
@@ -220,8 +214,10 @@
220
214
  color var(--moduix-sidebar-transition, var(--moduix-transition-default));
221
215
  background-color: #0000;
222
216
  border: 0;
217
+ flex: none;
223
218
  justify-content: center;
224
219
  align-items: center;
220
+ margin-inline-end: var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2));
225
221
  padding: 0;
226
222
  display: inline-flex;
227
223
  }
@@ -231,12 +227,6 @@
231
227
  height: var(--moduix-sidebar-icon-size, var(--moduix-spacing-4));
232
228
  }
233
229
 
234
- .groupAction-aoQPc4:focus-visible {
235
- outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
236
- solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
237
- outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
238
- }
239
-
240
230
  @media (hover: hover) {
241
231
  .groupAction-aoQPc4:hover {
242
232
  background-color: var(--moduix-sidebar-accent-bg, var(--moduix-color-accent));
@@ -244,39 +234,6 @@
244
234
  }
245
235
  }
246
236
 
247
- .group-cwd3z7:has(.groupAction-aoQPc4) {
248
- column-gap: var(--moduix-sidebar-gap, var(--moduix-spacing-2));
249
- row-gap: var(--moduix-sidebar-group-gap, var(--moduix-spacing-1));
250
- grid-template-columns: minmax(0, 1fr) auto;
251
- display: grid;
252
- }
253
-
254
- .group-cwd3z7:has(.groupAction-aoQPc4) .groupLabel-IvBtsR {
255
- min-height: var(--moduix-sidebar-group-action-size, var(--moduix-size-xs));
256
- grid-column: 1;
257
- align-items: center;
258
- display: flex;
259
- }
260
-
261
- .group-cwd3z7:has(.groupAction-aoQPc4) .groupAction-aoQPc4 {
262
- grid-column: 2;
263
- align-self: center;
264
- margin-inline-end: var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2));
265
- }
266
-
267
- .groupContent-_s9yul {
268
- width: 100%;
269
- min-width: 0;
270
- }
271
-
272
- .group-cwd3z7:has(.groupAction-aoQPc4) .groupContent-_s9yul {
273
- grid-column: 1 / -1;
274
- }
275
-
276
- .group-cwd3z7:has(.groupAction-aoQPc4) .menu-UwagMF {
277
- grid-column: 1 / -1;
278
- }
279
-
280
237
  .menu-UwagMF, .menuSub-xn2r86 {
281
238
  gap: var(--moduix-sidebar-navigation-gap, var(--moduix-spacing-1));
282
239
  flex-direction: column;
@@ -288,17 +245,35 @@
288
245
  display: flex;
289
246
  }
290
247
 
291
- .menuItem-ktGhRk {
248
+ .menuItem-ktGhRk, .menuSubItem-NeKVH5 {
292
249
  min-width: 0;
293
250
  position: relative;
294
251
  }
295
252
 
296
- .menuSubItem-NeKVH5 {
297
- min-width: 0;
253
+ :is(.menuButton-OAl6eQ:has( + .menuBadge-GKf4u4), .menuSubButton-MjeEfX:has( + .menuBadge-GKf4u4)) {
254
+ padding-inline-end: var(--moduix-spacing-10);
298
255
  }
299
256
 
300
- .menuItem-ktGhRk > [data-scope="select"][data-part="root"] {
301
- --moduix-select-width: 100%;
257
+ .menuBadge-GKf4u4 {
258
+ z-index: 1;
259
+ box-sizing: border-box;
260
+ width: var(--moduix-spacing-5);
261
+ height: var(--moduix-spacing-5);
262
+ border-radius: var(--moduix-radius-full);
263
+ background-color: var(--moduix-color-primary);
264
+ color: var(--moduix-color-primary-foreground);
265
+ font-size: .5625rem;
266
+ font-weight: var(--moduix-weight-medium);
267
+ font-variant-numeric: tabular-nums;
268
+ pointer-events: none;
269
+ place-items: center;
270
+ padding: 0;
271
+ line-height: 1;
272
+ display: inline-grid;
273
+ position: absolute;
274
+ inset-block-start: 50%;
275
+ inset-inline-end: var(--moduix-spacing-2-5);
276
+ transform: translateY(-50%);
302
277
  }
303
278
 
304
279
  .menuButton-OAl6eQ, .menuSubButton-MjeEfX {
@@ -342,12 +317,6 @@
342
317
  overflow: hidden;
343
318
  }
344
319
 
345
- :is(.menuButton-OAl6eQ, .menuSubButton-MjeEfX):focus-visible {
346
- outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
347
- solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
348
- outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
349
- }
350
-
351
320
  :is(.menuButton-OAl6eQ, .menuSubButton-MjeEfX):disabled, :is(.menuButton-OAl6eQ, .menuSubButton-MjeEfX)[aria-disabled="true"] {
352
321
  opacity: var(--moduix-sidebar-disabled-opacity, var(--moduix-opacity-disabled));
353
322
  pointer-events: none;
@@ -384,108 +353,39 @@
384
353
  min-height: var(--moduix-sidebar-navigation-button-height-lg, var(--moduix-size-lg));
385
354
  }
386
355
 
387
- .menuButton-OAl6eQ > [data-slot="collapsible-indicator"], .menuButton-OAl6eQ > [data-slot="menu-indicator"], .menuButton-OAl6eQ > [data-scope="select"][data-part="indicator"] {
356
+ .menuButton-OAl6eQ > [data-slot="collapsible-indicator"], .menuButton-OAl6eQ > [data-slot="menu-indicator"] {
357
+ width: var(--moduix-sidebar-navigation-indicator-size, var(--moduix-size-xs));
358
+ height: var(--moduix-sidebar-navigation-indicator-size, var(--moduix-size-xs));
388
359
  margin-inline-start: auto;
389
360
  }
390
361
 
391
- .menuAction-_BDfHY {
392
- z-index: 1;
393
- width: var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs));
394
- height: var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs));
395
- border-radius: var(--moduix-sidebar-navigation-button-radius, var(--moduix-radius-md));
362
+ .menuButton-OAl6eQ > [data-slot="collapsible-indicator"] > svg {
363
+ width: var(--moduix-spacing-3);
364
+ height: var(--moduix-spacing-3);
365
+ }
366
+
367
+ .menuButton-OAl6eQ > [data-slot="menu-indicator"] {
368
+ box-sizing: border-box;
369
+ width: var(--moduix-sidebar-navigation-indicator-size, var(--moduix-size-xs));
370
+ height: var(--moduix-sidebar-navigation-indicator-size, var(--moduix-size-xs));
396
371
  color: var(--moduix-sidebar-muted-color, var(--moduix-color-muted-foreground));
397
- appearance: none;
398
- cursor: pointer;
399
- transition: background-color var(--moduix-sidebar-transition, var(--moduix-transition-default)),
400
- color var(--moduix-sidebar-transition, var(--moduix-transition-default));
401
- background-color: #0000;
402
- border: 0;
403
- justify-content: center;
404
- align-items: center;
405
- padding: 0;
406
- display: inline-flex;
407
- position: absolute;
408
- inset-block-start: calc((var(--moduix-sidebar-navigation-button-height, var(--moduix-size-md)) -
409
- var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs))) /
410
- 2);
411
- inset-inline-end: var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2));
372
+ line-height: 0;
412
373
  }
413
374
 
414
- .menuAction-_BDfHY > svg {
375
+ .menuButton-OAl6eQ > [data-slot="menu-indicator"] > svg {
415
376
  width: var(--moduix-sidebar-icon-size, var(--moduix-spacing-4));
416
377
  height: var(--moduix-sidebar-icon-size, var(--moduix-spacing-4));
378
+ display: block;
417
379
  }
418
380
 
419
- .menuAction-_BDfHY:focus-visible {
420
- outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
421
- solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
422
- outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
423
- }
424
-
425
- @media (hover: hover) {
426
- .menuAction-_BDfHY:hover {
427
- background-color: var(--moduix-sidebar-accent-bg, var(--moduix-color-accent));
428
- color: var(--moduix-sidebar-accent-color, var(--moduix-color-accent-foreground));
429
- }
430
- }
431
-
432
- .menuBadge-GKf4u4 {
433
- z-index: 1;
434
- min-width: var(--moduix-sidebar-navigation-badge-min-width, 1.125rem);
435
- min-height: var(--moduix-sidebar-navigation-badge-min-width, 1.125rem);
436
- padding-inline: var(--moduix-sidebar-navigation-badge-padding-x, var(--moduix-spacing-0-5));
437
- border-radius: var(--moduix-radius-full);
438
- background-color: var(--moduix-sidebar-accent-bg, var(--moduix-color-accent));
439
- color: var(--moduix-sidebar-accent-color, var(--moduix-color-accent-foreground));
440
- font-size: var(--moduix-sidebar-navigation-badge-font-size, .625rem);
441
- font-weight: var(--moduix-sidebar-navigation-badge-font-weight, var(--moduix-weight-medium));
442
- font-variant-numeric: tabular-nums;
443
- justify-content: center;
444
- align-items: center;
445
- line-height: 1;
446
- display: inline-flex;
447
- position: absolute;
448
- inset-block-start: calc((var(--moduix-sidebar-navigation-button-height, var(--moduix-size-md)) -
449
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem)) /
450
- 2);
451
- inset-inline-end: calc(var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2)) +
452
- (var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) -
453
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem)) /
454
- 2);
455
- }
456
-
457
- .menuItem-ktGhRk:has(.menuAction-_BDfHY) .menuButton-OAl6eQ {
458
- padding-inline-end: calc(var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) +
459
- var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2)) * 2);
460
- }
461
-
462
- .menuItem-ktGhRk:has(.menuBadge-GKf4u4) .menuButton-OAl6eQ {
463
- padding-inline-end: calc(var(--moduix-sidebar-navigation-badge-min-width, 1.125rem) +
464
- var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2)) * 2 +
465
- (var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) -
466
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem)) /
467
- 2);
468
- }
469
-
470
- .menuItem-ktGhRk:has(.menuAction-_BDfHY):has(.menuBadge-GKf4u4) .menuButton-OAl6eQ {
471
- padding-inline-end: calc(var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) +
472
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem) +
473
- var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2)) * 3 +
474
- (var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) -
475
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem)) /
476
- 2);
477
- }
478
-
479
- .menuItem-ktGhRk:has(.menuAction-_BDfHY):has(.menuBadge-GKf4u4) .menuAction-_BDfHY {
480
- inset-inline-end: calc(var(--moduix-sidebar-navigation-badge-min-width, 1.125rem) +
481
- var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2)) * 2 +
482
- (var(--moduix-sidebar-navigation-action-size, var(--moduix-size-xs)) -
483
- var(--moduix-sidebar-navigation-badge-min-width, 1.125rem)) /
484
- 2);
381
+ .menuButton-OAl6eQ > [data-scope="select"][data-part="indicator"] {
382
+ margin-inline-start: auto;
485
383
  }
486
384
 
487
- :is(.panel-l44YAX[data-state="collapsed"] .menuItem-ktGhRk:has(.menuAction-_BDfHY) .menuButton-OAl6eQ, .panel-l44YAX[data-state="collapsed"] .menuItem-ktGhRk:has(.menuBadge-GKf4u4) .menuButton-OAl6eQ) {
488
- padding-inline-end: 0;
385
+ .trigger-_fUcgc:focus-visible, .groupAction-aoQPc4:focus-visible, .menuButton-OAl6eQ:focus-visible {
386
+ outline: var(--moduix-sidebar-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
387
+ solid var(--moduix-sidebar-focus-ring-color, var(--moduix-color-ring));
388
+ outline-offset: var(--moduix-sidebar-focus-ring-offset, var(--moduix-focus-ring-offset));
489
389
  }
490
390
 
491
391
  .menuSub-xn2r86 {
@@ -507,13 +407,17 @@
507
407
  }
508
408
 
509
409
  @container (width <= 7rem) {
510
- .groupAction-aoQPc4, .menuAction-_BDfHY, .menuBadge-GKf4u4, [data-slot="collapsible-indicator"], [data-slot="menu-indicator"], [data-slot="select-indicator"] {
410
+ .groupAction-aoQPc4, .menuBadge-GKf4u4, [data-slot="collapsible-indicator"], [data-slot="menu-indicator"], [data-slot="select-indicator"] {
511
411
  display: none;
512
412
  }
513
413
 
514
- :is(.menuItem-ktGhRk:has(.menuAction-_BDfHY) .menuButton-OAl6eQ, .menuItem-ktGhRk:has(.menuBadge-GKf4u4) .menuButton-OAl6eQ) {
414
+ .menuButton-OAl6eQ:has( + .menuBadge-GKf4u4) {
515
415
  padding-inline-end: var(--moduix-sidebar-navigation-button-padding-x, var(--moduix-spacing-2));
516
416
  }
417
+
418
+ .menuSubButton-MjeEfX:has( + .menuBadge-GKf4u4) {
419
+ padding-inline-end: var(--moduix-sidebar-navigation-sub-button-padding-x, var(--moduix-spacing-2));
420
+ }
517
421
  }
518
422
 
519
423
  .input-nqDU3w {
@@ -525,7 +429,7 @@
525
429
  }
526
430
 
527
431
  @media (prefers-reduced-motion: reduce) {
528
- .panel-l44YAX, .trigger-_fUcgc, .groupAction-aoQPc4, .menuButton-OAl6eQ, .menuAction-_BDfHY, .menuSubButton-MjeEfX {
432
+ .panel-l44YAX, .trigger-_fUcgc, .groupAction-aoQPc4, .menuButton-OAl6eQ, .menuSubButton-MjeEfX {
529
433
  transition: none;
530
434
  }
531
435
  }
@@ -1,13 +1,10 @@
1
1
  import { SignaturePad as SignaturePadPrimitive, useSignaturePad as useSignaturePadPrimitive, useSignaturePadContext } from '@ark-ui/react/signature-pad';
2
- import type { ReactNode } from 'react';
3
- type SignaturePadFormProps = {
4
- getFormValue?: (paths: string[]) => string;
5
- };
6
2
  declare function useSignaturePad(props?: Parameters<typeof useSignaturePadPrimitive>[0]): ReturnType<typeof useSignaturePadPrimitive>;
7
- declare const SignaturePad: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement> & SignaturePadFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
8
- Root: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement> & SignaturePadFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
- RootProvider: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProviderProps & import("react").RefAttributes<HTMLDivElement> & SignaturePadFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- Context: (props: SignaturePadPrimitive.ContextProps) => ReactNode;
3
+ declare const SignaturePad: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
4
+ Root: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ Context: (props: SignaturePadPrimitive.ContextProps) => import("react").ReactNode;
7
+ HiddenInput: import("react").ForwardRefExoticComponent<SignaturePadPrimitive.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
11
8
  Label: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
12
9
  Control: import("react").ForwardRefExoticComponent<Omit<SignaturePadPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
10
  Canvas: import("react").ForwardRefExoticComponent<Omit<Omit<SignaturePadPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "children">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;