@moduix/react 2.5.0 → 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 +65 -86
  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 +10 -3
  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 +14 -4
  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 -3
  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 +24 -22
  137. package/dist/components/sidebar/Sidebar.js +88 -75
  138. package/dist/components/sidebar/Sidebar.module.js +2 -3
  139. package/dist/components/sidebar/Sidebar_module.css +112 -178
  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 +25 -25
  199. package/dist/internal/normalizeClassName.d.ts +0 -1
  200. package/dist/internal/normalizeClassName.js +0 -2
@@ -1,37 +1,31 @@
1
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
- import { useFieldContext } from "@ark-ui/react/field";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
3
2
  import { TagsInput, useTagsInput, useTagsInputContext, useTagsInputItemContext } from "@ark-ui/react/tags-input";
4
3
  import { clsx } from "clsx";
5
- import { Children, cloneElement, forwardRef, useEffect, useRef } from "react";
4
+ import { forwardRef } from "react";
6
5
  import { CloseIcon } from "../../internal/icons/ui/index.js";
7
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
8
6
  import { CloseButton } from "../close-button/index.js";
9
7
  import TagsInput_module from "./TagsInput.module.js";
10
- const TagsInput_TagsInputRoot = /*#__PURE__*/ forwardRef(function({ asChild, children, className, ...props }, ref) {
8
+ const TagsInput_TagsInputRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
11
9
  return /*#__PURE__*/ jsx(TagsInput.Root, {
12
10
  ref: ref,
13
- asChild: asChild,
14
11
  "data-slot": "tags-input-root",
15
- className: clsx(TagsInput_module.root, normalizeClassName(className)),
16
- ...props,
17
- children: withHiddenInput(children, asChild)
12
+ className: clsx(TagsInput_module.root, className),
13
+ ...props
18
14
  });
19
15
  });
20
- const TagsInput_TagsInputRootProvider = /*#__PURE__*/ forwardRef(function({ asChild, children, className, ...props }, ref) {
16
+ const TagsInput_TagsInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
21
17
  return /*#__PURE__*/ jsx(TagsInput.RootProvider, {
22
18
  ref: ref,
23
- asChild: asChild,
24
19
  "data-slot": "tags-input-root-provider",
25
- className: clsx(TagsInput_module.root, normalizeClassName(className)),
26
- ...props,
27
- children: withHiddenInput(children, asChild)
20
+ className: clsx(TagsInput_module.root, className),
21
+ ...props
28
22
  });
29
23
  });
30
24
  const TagsInput_TagsInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
25
  return /*#__PURE__*/ jsx(TagsInput.Label, {
32
26
  ref: ref,
33
27
  "data-slot": "tags-input-label",
34
- className: clsx(TagsInput_module.label, normalizeClassName(className)),
28
+ className: clsx(TagsInput_module.label, className),
35
29
  ...props
36
30
  });
37
31
  });
@@ -39,7 +33,7 @@ const TagsInput_TagsInputControl = /*#__PURE__*/ forwardRef(function({ className
39
33
  return /*#__PURE__*/ jsx(TagsInput.Control, {
40
34
  ref: ref,
41
35
  "data-slot": "tags-input-control",
42
- className: clsx(TagsInput_module.control, normalizeClassName(className)),
36
+ className: clsx(TagsInput_module.control, className),
43
37
  ...props
44
38
  });
45
39
  });
@@ -47,7 +41,7 @@ const TagsInput_TagsInputItem = /*#__PURE__*/ forwardRef(function({ className, .
47
41
  return /*#__PURE__*/ jsx(TagsInput.Item, {
48
42
  ref: ref,
49
43
  "data-slot": "tags-input-item",
50
- className: clsx(TagsInput_module.item, normalizeClassName(className)),
44
+ className: clsx(TagsInput_module.item, className),
51
45
  ...props
52
46
  });
53
47
  });
@@ -55,7 +49,7 @@ const TagsInput_TagsInputItemPreview = /*#__PURE__*/ forwardRef(function({ class
55
49
  return /*#__PURE__*/ jsx(TagsInput.ItemPreview, {
56
50
  ref: ref,
57
51
  "data-slot": "tags-input-item-preview",
58
- className: clsx(TagsInput_module.itemPreview, normalizeClassName(className)),
52
+ className: clsx(TagsInput_module.itemPreview, className),
59
53
  ...props
60
54
  });
61
55
  });
@@ -63,7 +57,7 @@ const TagsInput_TagsInputItemText = /*#__PURE__*/ forwardRef(function({ classNam
63
57
  return /*#__PURE__*/ jsx(TagsInput.ItemText, {
64
58
  ref: ref,
65
59
  "data-slot": "tags-input-item-text",
66
- className: clsx(TagsInput_module.itemText, normalizeClassName(className)),
60
+ className: clsx(TagsInput_module.itemText, className),
67
61
  ...props
68
62
  });
69
63
  });
@@ -71,7 +65,7 @@ const TagsInput_TagsInputItemDeleteTrigger = /*#__PURE__*/ forwardRef(function({
71
65
  return /*#__PURE__*/ jsx(TagsInput.ItemDeleteTrigger, {
72
66
  ref: ref,
73
67
  "data-slot": "tags-input-item-delete-trigger",
74
- className: clsx(TagsInput_module.itemDeleteTrigger, normalizeClassName(className)),
68
+ className: clsx(TagsInput_module.itemDeleteTrigger, className),
75
69
  ...props,
76
70
  children: children ?? /*#__PURE__*/ jsx(CloseIcon, {})
77
71
  });
@@ -80,7 +74,7 @@ const TagsInput_TagsInputItemInput = /*#__PURE__*/ forwardRef(function({ classNa
80
74
  return /*#__PURE__*/ jsx(TagsInput.ItemInput, {
81
75
  ref: ref,
82
76
  "data-slot": "tags-input-item-input",
83
- className: clsx(TagsInput_module.itemInput, normalizeClassName(className)),
77
+ className: clsx(TagsInput_module.itemInput, className),
84
78
  ...props
85
79
  });
86
80
  });
@@ -88,30 +82,22 @@ const TagsInput_TagsInputInput = /*#__PURE__*/ forwardRef(function({ className,
88
82
  return /*#__PURE__*/ jsx(TagsInput.Input, {
89
83
  ref: ref,
90
84
  "data-slot": "tags-input-input",
91
- className: clsx(TagsInput_module.input, normalizeClassName(className)),
85
+ className: clsx(TagsInput_module.input, className),
92
86
  ...props
93
87
  });
94
88
  });
95
89
  const TagsInput_TagsInputClearTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }, ref) {
96
- const triggerClassName = clsx(TagsInput_module.clearTrigger, normalizeClassName(className));
90
+ const triggerClassName = clsx(TagsInput_module.clearTrigger, className);
97
91
  const clearTriggerLabel = useTagsInputContext().getClearTriggerProps()['aria-label'];
98
- if (asChild) return /*#__PURE__*/ jsx(TagsInput.ClearTrigger, {
99
- ref: ref,
100
- asChild: true,
101
- "data-slot": "tags-input-clear-trigger",
102
- className: triggerClassName,
103
- "aria-label": ariaLabel,
104
- "aria-labelledby": ariaLabelledBy,
105
- ...props,
106
- children: children
107
- });
108
92
  return /*#__PURE__*/ jsx(TagsInput.ClearTrigger, {
109
93
  ref: ref,
110
94
  asChild: true,
111
95
  "data-slot": "tags-input-clear-trigger",
112
96
  className: triggerClassName,
97
+ "aria-label": asChild ? ariaLabel : void 0,
98
+ "aria-labelledby": asChild ? ariaLabelledBy : void 0,
113
99
  ...props,
114
- children: /*#__PURE__*/ jsx(CloseButton.Root, {
100
+ children: asChild ? children : /*#__PURE__*/ jsx(CloseButton.Root, {
115
101
  "aria-label": ariaLabel ?? clearTriggerLabel,
116
102
  "aria-labelledby": ariaLabelledBy,
117
103
  "data-part": "clear-trigger",
@@ -121,48 +107,7 @@ const TagsInput_TagsInputClearTrigger = /*#__PURE__*/ forwardRef(function({ asCh
121
107
  })
122
108
  });
123
109
  });
124
- function withHiddenInput(children, asChild) {
125
- const hiddenInput = /*#__PURE__*/ jsx(TagsInputHiddenInput, {});
126
- if (!asChild) return /*#__PURE__*/ jsxs(Fragment, {
127
- children: [
128
- children,
129
- hiddenInput
130
- ]
131
- });
132
- const child = Children.only(children);
133
- return /*#__PURE__*/ cloneElement(child, {}, child.props.children, hiddenInput);
134
- }
135
110
  const TagsInputContext = TagsInput.Context;
136
- function TagsInputHiddenInput() {
137
- const field = useFieldContext();
138
- const tagsInput = useTagsInputContext();
139
- const inputRef = useRef(null);
140
- const initialValue = useRef(tagsInput.value);
141
- const initialInputValue = useRef(tagsInput.inputValue);
142
- const { defaultValue: _, ...hiddenInputProps } = tagsInput.getHiddenInputProps();
143
- useEffect(()=>{
144
- const form = inputRef.current?.form;
145
- if (!form) return;
146
- const handleReset = ()=>{
147
- queueMicrotask(()=>{
148
- tagsInput.setValue(initialValue.current);
149
- tagsInput.setInputValue(initialInputValue.current);
150
- });
151
- };
152
- form.addEventListener('reset', handleReset);
153
- return ()=>form.removeEventListener('reset', handleReset);
154
- }, [
155
- tagsInput
156
- ]);
157
- return /*#__PURE__*/ jsx("input", {
158
- ...hiddenInputProps,
159
- ref: inputRef,
160
- value: tagsInput.valueAsString,
161
- readOnly: true,
162
- "aria-describedby": field?.ariaDescribedby,
163
- "data-slot": "tags-input-hidden-input"
164
- });
165
- }
166
111
  function TagsInputItems() {
167
112
  return /*#__PURE__*/ jsx(TagsInputContext, {
168
113
  children: (tagsInput)=>tagsInput.value.map((value, index)=>/*#__PURE__*/ jsxs(TagsInput_TagsInputItem, {
@@ -185,6 +130,7 @@ function TagsInputItems() {
185
130
  const TagsInput_TagsInput = Object.assign(TagsInput_TagsInputRoot, {
186
131
  Root: TagsInput_TagsInputRoot,
187
132
  RootProvider: TagsInput_TagsInputRootProvider,
133
+ HiddenInput: TagsInput.HiddenInput,
188
134
  Label: TagsInput_TagsInputLabel,
189
135
  Control: TagsInput_TagsInputControl,
190
136
  Item: TagsInput_TagsInputItem,
@@ -209,7 +209,6 @@
209
209
  --moduix-close-button-focus-ring-color: var(--moduix-tags-input-trigger-focus-ring-color, var(--moduix-color-ring));
210
210
  --moduix-close-button-focus-ring-width: var(--moduix-tags-input-trigger-focus-ring-width, var(--moduix-border-width-sm));
211
211
  --moduix-close-button-focus-ring-offset: var(--moduix-tags-input-trigger-focus-ring-offset, var(--moduix-focus-ring-offset));
212
- --moduix-close-button-transition: var(--moduix-tags-input-transition, var(--moduix-transition-default));
213
212
  --moduix-close-button-disabled-opacity: var(--moduix-tags-input-disabled-opacity, var(--moduix-opacity-disabled));
214
213
  flex: none;
215
214
  align-self: center;
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { ark } from "@ark-ui/react/factory";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Text_module from "./Text.module.js";
7
6
  const Text_elements = {
8
7
  div: ark.div,
@@ -34,7 +33,7 @@ const Text_TextRoot = /*#__PURE__*/ forwardRef(function({ as, asChild, size, wei
34
33
  "data-align": align,
35
34
  "data-truncate": truncate ? '' : void 0,
36
35
  "data-line-clamp": void 0 === resolvedLineClamp ? void 0 : '',
37
- className: clsx(Text_module.root, normalizeClassName(className)),
36
+ className: clsx(Text_module.root, className),
38
37
  style: lineClampStyle
39
38
  });
40
39
  });
@@ -2,7 +2,6 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { Field } from "@ark-ui/react/field";
3
3
  import { clsx } from "clsx";
4
4
  import { forwardRef } from "react";
5
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
5
  import Textarea_module from "./Textarea.module.js";
7
6
  const Textarea_Textarea = /*#__PURE__*/ forwardRef(function({ autoresize, className, ...props }, ref) {
8
7
  return /*#__PURE__*/ jsx(Field.Textarea, {
@@ -12,7 +11,7 @@ const Textarea_Textarea = /*#__PURE__*/ forwardRef(function({ autoresize, classN
12
11
  "data-part": "textarea",
13
12
  "data-slot": "textarea-root",
14
13
  "data-autoresize": autoresize ? '' : void 0,
15
- className: clsx(Textarea_module.root, normalizeClassName(className)),
14
+ className: clsx(Textarea_module.root, className),
16
15
  autoresize: autoresize
17
16
  });
18
17
  });
@@ -3,13 +3,12 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Timer, useTimer, useTimerContext } from "@ark-ui/react/timer";
4
4
  import { clsx } from "clsx";
5
5
  import { Fragment, forwardRef } from "react";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import Timer_module from "./Timer.module.js";
8
7
  const Timer_TimerRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
9
8
  return /*#__PURE__*/ jsx(Timer.Root, {
10
9
  ref: ref,
11
10
  "data-slot": "timer-root",
12
- className: clsx(Timer_module.root, normalizeClassName(className)),
11
+ className: clsx(Timer_module.root, className),
13
12
  ...props
14
13
  });
15
14
  });
@@ -17,7 +16,7 @@ const Timer_TimerRootProvider = /*#__PURE__*/ forwardRef(function({ className, .
17
16
  return /*#__PURE__*/ jsx(Timer.RootProvider, {
18
17
  ref: ref,
19
18
  "data-slot": "timer-root-provider",
20
- className: clsx(Timer_module.root, normalizeClassName(className)),
19
+ className: clsx(Timer_module.root, className),
21
20
  ...props
22
21
  });
23
22
  });
@@ -25,7 +24,7 @@ const Timer_TimerArea = /*#__PURE__*/ forwardRef(function({ className, ...props
25
24
  return /*#__PURE__*/ jsx(Timer.Area, {
26
25
  ref: ref,
27
26
  "data-slot": "timer-area",
28
- className: clsx(Timer_module.area, normalizeClassName(className)),
27
+ className: clsx(Timer_module.area, className),
29
28
  ...props
30
29
  });
31
30
  });
@@ -33,7 +32,7 @@ const Timer_TimerItem = /*#__PURE__*/ forwardRef(function({ className, ...props
33
32
  return /*#__PURE__*/ jsx(Timer.Item, {
34
33
  ref: ref,
35
34
  "data-slot": "timer-item",
36
- className: clsx(Timer_module.item, normalizeClassName(className)),
35
+ className: clsx(Timer_module.item, className),
37
36
  ...props
38
37
  });
39
38
  });
@@ -41,7 +40,7 @@ const Timer_TimerSeparator = /*#__PURE__*/ forwardRef(function({ className, ...p
41
40
  return /*#__PURE__*/ jsx(Timer.Separator, {
42
41
  ref: ref,
43
42
  "data-slot": "timer-separator",
44
- className: clsx(Timer_module.separator, normalizeClassName(className)),
43
+ className: clsx(Timer_module.separator, className),
45
44
  ...props
46
45
  });
47
46
  });
@@ -49,7 +48,7 @@ const Timer_TimerControl = /*#__PURE__*/ forwardRef(function({ className, ...pro
49
48
  return /*#__PURE__*/ jsx(Timer.Control, {
50
49
  ref: ref,
51
50
  "data-slot": "timer-control",
52
- className: clsx(Timer_module.control, normalizeClassName(className)),
51
+ className: clsx(Timer_module.control, className),
53
52
  ...props
54
53
  });
55
54
  });
@@ -57,7 +56,7 @@ const Timer_TimerActionTrigger = /*#__PURE__*/ forwardRef(function({ className,
57
56
  return /*#__PURE__*/ jsx(Timer.ActionTrigger, {
58
57
  ref: ref,
59
58
  "data-slot": "timer-action-trigger",
60
- className: clsx(Timer_module.actionTrigger, normalizeClassName(className)),
59
+ className: clsx(Timer_module.actionTrigger, className),
61
60
  ...props
62
61
  });
63
62
  });
@@ -1,6 +1,6 @@
1
1
  import { Toast as ToastPrimitive, Toaster as ToasterPrimitive, createToaster, useToastContext } from '@ark-ui/react/toast';
2
2
  import type { ComponentProps } from 'react';
3
- import type { OverlayPortalProps } from '../../internal/overlayPortal';
3
+ import type { OverlayPortalProps } from '../../internal/overlayPortal.js';
4
4
  type ToasterProps = Omit<ComponentProps<typeof ToasterPrimitive>, 'children'> & OverlayPortalProps & {
5
5
  children?: ComponentProps<typeof ToasterPrimitive>['children'];
6
6
  };
@@ -4,7 +4,6 @@ import { Portal } from "@ark-ui/react/portal";
4
4
  import { Toast, Toaster as toast_Toaster, createToaster, useToastContext } from "@ark-ui/react/toast";
5
5
  import { clsx } from "clsx";
6
6
  import { forwardRef } from "react";
7
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
8
7
  import { CloseButton } from "../close-button/index.js";
9
8
  import Toast_module from "./Toast.module.js";
10
9
  const DEFAULT_CLOSE_TRIGGER_LABEL = 'Close toast';
@@ -15,7 +14,7 @@ const Toast_Toaster = /*#__PURE__*/ forwardRef(function({ className, portalled =
15
14
  children: /*#__PURE__*/ jsx(toast_Toaster, {
16
15
  ref: ref,
17
16
  "data-slot": "toast-toaster",
18
- className: clsx(Toast_module.toaster, normalizeClassName(className)),
17
+ className: clsx(Toast_module.toaster, className),
19
18
  ...props,
20
19
  children: props.children ?? ((toast)=>/*#__PURE__*/ jsx(DefaultToast, {
21
20
  toast: toast
@@ -39,7 +38,7 @@ const Toast_ToastRoot = /*#__PURE__*/ forwardRef(function({ className, ...props
39
38
  return /*#__PURE__*/ jsx(Toast.Root, {
40
39
  ref: ref,
41
40
  "data-slot": "toast-root",
42
- className: clsx(Toast_module.root, normalizeClassName(className)),
41
+ className: clsx(Toast_module.root, className),
43
42
  ...props
44
43
  });
45
44
  });
@@ -48,7 +47,7 @@ const Toast_ToastTitle = /*#__PURE__*/ forwardRef(function({ className, children
48
47
  return /*#__PURE__*/ jsx(Toast.Title, {
49
48
  ref: ref,
50
49
  "data-slot": "toast-title",
51
- className: clsx(Toast_module.title, normalizeClassName(className)),
50
+ className: clsx(Toast_module.title, className),
52
51
  ...props,
53
52
  children: void 0 === children ? toast.title : children
54
53
  });
@@ -58,7 +57,7 @@ const Toast_ToastDescription = /*#__PURE__*/ forwardRef(function({ className, ch
58
57
  return /*#__PURE__*/ jsx(Toast.Description, {
59
58
  ref: ref,
60
59
  "data-slot": "toast-description",
61
- className: clsx(Toast_module.description, normalizeClassName(className)),
60
+ className: clsx(Toast_module.description, className),
62
61
  ...props,
63
62
  children: void 0 === children ? toast.description : children
64
63
  });
@@ -68,7 +67,7 @@ const Toast_ToastActionTrigger = /*#__PURE__*/ forwardRef(function({ asChild, cl
68
67
  ref: ref,
69
68
  asChild: asChild,
70
69
  "data-slot": "toast-action-trigger",
71
- className: clsx(!asChild && Toast_module.actionTrigger, normalizeClassName(className)),
70
+ className: clsx(!asChild && Toast_module.actionTrigger, className),
72
71
  ...props,
73
72
  children: children
74
73
  });
@@ -79,7 +78,7 @@ const Toast_ToastCloseTrigger = /*#__PURE__*/ forwardRef(function({ asChild, cla
79
78
  asChild: true,
80
79
  "data-slot": "toast-close-trigger",
81
80
  "aria-label": ariaLabel,
82
- className: normalizeClassName(className),
81
+ className: className,
83
82
  ...props,
84
83
  children: children
85
84
  });
@@ -89,7 +88,7 @@ const Toast_ToastCloseTrigger = /*#__PURE__*/ forwardRef(function({ asChild, cla
89
88
  ref: ref,
90
89
  "data-slot": "toast-close-trigger",
91
90
  "aria-label": ariaLabel,
92
- className: clsx(Toast_module.closeTrigger, normalizeClassName(className)),
91
+ className: clsx(Toast_module.closeTrigger, className),
93
92
  ...props,
94
93
  children: children
95
94
  })
@@ -144,13 +144,12 @@
144
144
  --moduix-close-button-focus-ring-color: var(--moduix-toast-focus-ring-color, var(--moduix-color-ring));
145
145
  --moduix-close-button-focus-ring-offset: var(--moduix-toast-close-focus-ring-offset, var(--moduix-focus-ring-offset));
146
146
  --moduix-close-button-focus-ring-width: var(--moduix-toast-close-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)));
147
- --moduix-close-button-transition: var(--moduix-toast-close-transition, var(--moduix-transition-default));
148
147
  position: absolute;
149
148
  inset-block-start: var(--moduix-toast-close-offset-top, var(--moduix-spacing-2));
150
149
  inset-inline-end: var(--moduix-toast-close-offset-right, var(--moduix-spacing-2));
151
150
  }
152
151
 
153
- @media (max-width: 40rem) {
152
+ @media (width <= 40rem) {
154
153
  .toaster-m5bxJd {
155
154
  width: 100%;
156
155
  }
@@ -3,7 +3,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Toc, useToc, useTocContext } from "@ark-ui/react/toc";
4
4
  import { clsx } from "clsx";
5
5
  import { forwardRef } from "react";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import Toc_module from "./Toc.module.js";
8
7
  const railBaseOffset = 0;
9
8
  const railStep = 12;
@@ -20,7 +19,7 @@ const Toc_TocRoot = /*#__PURE__*/ forwardRef(function({ autoScroll = false, clas
20
19
  ref: ref,
21
20
  autoScroll: autoScroll,
22
21
  "data-slot": "toc-root",
23
- className: clsx(Toc_module.root, normalizeClassName(className)),
22
+ className: clsx(Toc_module.root, className),
24
23
  ...props
25
24
  });
26
25
  });
@@ -29,7 +28,7 @@ const Toc_TocRootProvider = /*#__PURE__*/ forwardRef(function({ className, style
29
28
  ref: ref,
30
29
  value: value,
31
30
  "data-slot": "toc-root-provider",
32
- className: clsx(Toc_module.root, normalizeClassName(className)),
31
+ className: clsx(Toc_module.root, className),
33
32
  style: {
34
33
  ...value.getRootProps().style,
35
34
  ...style
@@ -41,7 +40,7 @@ const Toc_TocContent = /*#__PURE__*/ forwardRef(function({ className, ...props }
41
40
  return /*#__PURE__*/ jsx(Toc.Content, {
42
41
  ref: ref,
43
42
  "data-slot": "toc-content",
44
- className: clsx(Toc_module.content, normalizeClassName(className)),
43
+ className: clsx(Toc_module.content, className),
45
44
  ...props
46
45
  });
47
46
  });
@@ -49,7 +48,7 @@ const Toc_TocNav = /*#__PURE__*/ forwardRef(function({ className, ...props }, re
49
48
  return /*#__PURE__*/ jsx(Toc.Nav, {
50
49
  ref: ref,
51
50
  "data-slot": "toc-nav",
52
- className: clsx(Toc_module.nav, normalizeClassName(className)),
51
+ className: clsx(Toc_module.nav, className),
53
52
  ...props
54
53
  });
55
54
  });
@@ -57,7 +56,7 @@ const Toc_TocTitle = /*#__PURE__*/ forwardRef(function({ className, ...props },
57
56
  return /*#__PURE__*/ jsx(Toc.Title, {
58
57
  ref: ref,
59
58
  "data-slot": "toc-title",
60
- className: clsx(Toc_module.title, normalizeClassName(className)),
59
+ className: clsx(Toc_module.title, className),
61
60
  ...props
62
61
  });
63
62
  });
@@ -65,7 +64,7 @@ const Toc_TocList = /*#__PURE__*/ forwardRef(function({ className, ...props }, r
65
64
  return /*#__PURE__*/ jsx(Toc.List, {
66
65
  ref: ref,
67
66
  "data-slot": "toc-list",
68
- className: clsx(Toc_module.list, normalizeClassName(className)),
67
+ className: clsx(Toc_module.list, className),
69
68
  ...props
70
69
  });
71
70
  });
@@ -73,7 +72,7 @@ const Toc_TocItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, r
73
72
  return /*#__PURE__*/ jsx(Toc.Item, {
74
73
  ref: ref,
75
74
  "data-slot": "toc-item",
76
- className: clsx(Toc_module.item, normalizeClassName(className)),
75
+ className: clsx(Toc_module.item, className),
77
76
  ...props
78
77
  });
79
78
  });
@@ -81,7 +80,7 @@ const Toc_TocLink = /*#__PURE__*/ forwardRef(function({ className, ...props }, r
81
80
  return /*#__PURE__*/ jsx(Toc.Link, {
82
81
  ref: ref,
83
82
  "data-slot": "toc-link",
84
- className: clsx(Toc_module.link, normalizeClassName(className)),
83
+ className: clsx(Toc_module.link, className),
85
84
  ...props
86
85
  });
87
86
  });
@@ -89,7 +88,7 @@ const Toc_TocIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props
89
88
  return /*#__PURE__*/ jsx(Toc.Indicator, {
90
89
  ref: ref,
91
90
  "data-slot": "toc-indicator",
92
- className: clsx(Toc_module.indicator, normalizeClassName(className)),
91
+ className: clsx(Toc_module.indicator, className),
93
92
  ...props
94
93
  });
95
94
  });
@@ -103,7 +102,7 @@ const Toc_TocRail = /*#__PURE__*/ forwardRef(function({ className, depth, nextDe
103
102
  ref: ref,
104
103
  "aria-hidden": "true",
105
104
  "data-slot": "toc-rail",
106
- className: clsx(Toc_module.rail, normalizeClassName(className)),
105
+ className: clsx(Toc_module.rail, className),
107
106
  style: {
108
107
  width,
109
108
  height: lineOffset === nextLineOffset ? `calc(100% + ${railBridge}px + var(--moduix-table-of-contents-list-gap, var(--moduix-spacing-0-5)))` : '100%',
@@ -12,7 +12,7 @@
12
12
  display: grid;
13
13
  }
14
14
 
15
- @media (max-width: 48rem) {
15
+ @media (width <= 48rem) {
16
16
  .root-VBggED {
17
17
  grid-template-columns: minmax(0, 1fr);
18
18
  }
@@ -49,7 +49,7 @@
49
49
  var(--moduix-table-of-contents-nav-width, 16rem)) minmax(0, 1fr);
50
50
  }
51
51
 
52
- @media (max-width: 48rem) {
52
+ @media (width <= 48rem) {
53
53
  .root-VBggED:has(.nav-q0EDqs[data-placement="left"]) .nav-q0EDqs[data-placement="left"] {
54
54
  grid-area: auto;
55
55
  }
@@ -3,7 +3,6 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Toggle, ToggleContext, useToggleContext } from "@ark-ui/react/toggle";
4
4
  import { clsx } from "clsx";
5
5
  import { forwardRef } from "react";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import Toggle_module from "./Toggle.module.js";
8
7
  const Toggle_ToggleRoot = /*#__PURE__*/ forwardRef(function({ className, variant = 'default', size = 'md', ...props }, ref) {
9
8
  return /*#__PURE__*/ jsx(Toggle.Root, {
@@ -11,7 +10,7 @@ const Toggle_ToggleRoot = /*#__PURE__*/ forwardRef(function({ className, variant
11
10
  "data-slot": "toggle-root",
12
11
  "data-variant": variant,
13
12
  "data-size": size,
14
- className: clsx(Toggle_module.root, normalizeClassName(className)),
13
+ className: clsx(Toggle_module.root, className),
15
14
  ...props
16
15
  });
17
16
  });
@@ -19,7 +18,7 @@ const Toggle_ToggleIndicator = /*#__PURE__*/ forwardRef(function({ className, ..
19
18
  return /*#__PURE__*/ jsx(Toggle.Indicator, {
20
19
  ref: ref,
21
20
  "data-slot": "toggle-indicator",
22
- className: clsx(Toggle_module.indicator, normalizeClassName(className)),
21
+ className: clsx(Toggle_module.indicator, className),
23
22
  ...props
24
23
  });
25
24
  });
@@ -1,6 +1,6 @@
1
1
  import { ToggleGroup as ToggleGroupPrimitive, useToggleGroup, useToggleGroupContext } from '@ark-ui/react/toggle-group';
2
2
  import type { ComponentProps } from 'react';
3
- import type { ToggleSize, ToggleVariant } from '../toggle/Toggle';
3
+ import type { ToggleSize, ToggleVariant } from '../toggle/Toggle.js';
4
4
  type ToggleGroupRootProps = ComponentProps<typeof ToggleGroupPrimitive.Root> & {
5
5
  variant?: ToggleVariant;
6
6
  size?: ToggleSize;
@@ -3,7 +3,6 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { ToggleGroup, useToggleGroup, useToggleGroupContext } from "@ark-ui/react/toggle-group";
4
4
  import { clsx } from "clsx";
5
5
  import { createContext, forwardRef, useContext } from "react";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import Toggle_module from "../toggle/Toggle.module.js";
8
7
  import ToggleGroup_module from "./ToggleGroup.module.js";
9
8
  const defaultToggleGroupStyles = {
@@ -23,7 +22,7 @@ const ToggleGroup_ToggleGroupRoot = /*#__PURE__*/ forwardRef(function({ classNam
23
22
  "data-slot": "toggle-group-root",
24
23
  "data-variant": variant,
25
24
  "data-size": size,
26
- className: clsx(ToggleGroup_module.root, normalizeClassName(className))
25
+ className: clsx(ToggleGroup_module.root, className)
27
26
  })
28
27
  });
29
28
  });
@@ -39,7 +38,7 @@ const ToggleGroup_ToggleGroupRootProvider = /*#__PURE__*/ forwardRef(function({
39
38
  "data-slot": "toggle-group-root-provider",
40
39
  "data-variant": variant,
41
40
  "data-size": size,
42
- className: clsx(ToggleGroup_module.root, normalizeClassName(className))
41
+ className: clsx(ToggleGroup_module.root, className)
43
42
  })
44
43
  });
45
44
  });
@@ -51,7 +50,7 @@ const ToggleGroup_ToggleGroupItem = /*#__PURE__*/ forwardRef(function({ classNam
51
50
  "data-slot": "toggle-group-item",
52
51
  "data-variant": variant ?? inherited.variant,
53
52
  "data-size": size ?? inherited.size,
54
- className: clsx(Toggle_module.root, ToggleGroup_module.item, normalizeClassName(className))
53
+ className: clsx(Toggle_module.root, ToggleGroup_module.item, className)
55
54
  });
56
55
  });
57
56
  const ToggleGroup_ToggleGroup = Object.assign(ToggleGroup_ToggleGroupRoot, {
@@ -1,6 +1,6 @@
1
1
  import { Tooltip as TooltipPrimitive, useTooltip, useTooltipContext } from '@ark-ui/react/tooltip';
2
2
  import type { ComponentProps } from 'react';
3
- import { type OverlayPortalProps } from '../../internal/overlayPortal';
3
+ import { type OverlayPortalProps } from '../../internal/overlayPortal.js';
4
4
  type TooltipRootProps = ComponentProps<typeof TooltipPrimitive.Root> & OverlayPortalProps;
5
5
  type TooltipRootProviderProps = ComponentProps<typeof TooltipPrimitive.RootProvider> & OverlayPortalProps;
6
6
  declare function TooltipRoot({ lazyMount, portalled, portalRef, unmountOnExit, ...props }: TooltipRootProps): import("react").JSX.Element;
@@ -3,7 +3,6 @@ import { jsx } from "react/jsx-runtime";
3
3
  import { Tooltip, useTooltip, useTooltipContext } from "@ark-ui/react/tooltip";
4
4
  import { clsx } from "clsx";
5
5
  import { forwardRef } from "react";
6
- import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
6
  import { OverlayPortal, OverlayPortalProvider } from "../../internal/overlayPortal.js";
8
7
  import Tooltip_module from "./Tooltip.module.js";
9
8
  function TooltipRoot({ lazyMount = true, portalled, portalRef, unmountOnExit = true, ...props }) {
@@ -33,7 +32,7 @@ const Tooltip_TooltipTrigger = /*#__PURE__*/ forwardRef(function({ asChild, clas
33
32
  ref: ref,
34
33
  "data-slot": "tooltip-trigger",
35
34
  asChild: asChild,
36
- className: clsx(!asChild && Tooltip_module.trigger, normalizeClassName(className)),
35
+ className: clsx(!asChild && Tooltip_module.trigger, className),
37
36
  ...props
38
37
  });
39
38
  });
@@ -44,7 +43,7 @@ const Tooltip_TooltipDisabledTrigger = /*#__PURE__*/ forwardRef(function({ class
44
43
  ref: ref,
45
44
  "data-slot": "tooltip-disabled-trigger",
46
45
  tabIndex: tabIndex,
47
- className: clsx(Tooltip_module.disabledTrigger, normalizeClassName(className)),
46
+ className: clsx(Tooltip_module.disabledTrigger, className),
48
47
  ...props
49
48
  })
50
49
  });
@@ -54,7 +53,7 @@ const Tooltip_TooltipPositioner = /*#__PURE__*/ forwardRef(function({ className,
54
53
  children: /*#__PURE__*/ jsx(Tooltip.Positioner, {
55
54
  ref: ref,
56
55
  "data-slot": "tooltip-positioner",
57
- className: clsx(Tooltip_module.positioner, normalizeClassName(className)),
56
+ className: clsx(Tooltip_module.positioner, className),
58
57
  ...props
59
58
  })
60
59
  });
@@ -63,7 +62,7 @@ const Tooltip_TooltipContent = /*#__PURE__*/ forwardRef(function({ className, ..
63
62
  return /*#__PURE__*/ jsx(Tooltip.Content, {
64
63
  ref: ref,
65
64
  "data-slot": "tooltip-content",
66
- className: clsx(Tooltip_module.content, normalizeClassName(className)),
65
+ className: clsx(Tooltip_module.content, className),
67
66
  ...props
68
67
  });
69
68
  });
@@ -79,7 +78,7 @@ const Tooltip_TooltipArrow = /*#__PURE__*/ forwardRef(function({ className, chil
79
78
  return /*#__PURE__*/ jsx(Tooltip.Arrow, {
80
79
  ref: ref,
81
80
  "data-slot": "tooltip-arrow",
82
- className: clsx(Tooltip_module.arrow, normalizeClassName(className)),
81
+ className: clsx(Tooltip_module.arrow, className),
83
82
  ...props,
84
83
  children: children ?? /*#__PURE__*/ jsx(Tooltip_TooltipArrowTip, {})
85
84
  });
@@ -88,7 +87,7 @@ const Tooltip_TooltipArrowTip = /*#__PURE__*/ forwardRef(function({ className, .
88
87
  return /*#__PURE__*/ jsx(Tooltip.ArrowTip, {
89
88
  ref: ref,
90
89
  "data-slot": "tooltip-arrow-tip",
91
- className: clsx(Tooltip_module.arrowTip, normalizeClassName(className)),
90
+ className: clsx(Tooltip_module.arrowTip, className),
92
91
  ...props
93
92
  });
94
93
  });