@moduix/react 2.6.0 → 2.7.1

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 (72) hide show
  1. package/dist/components/accordion/Accordion.js +13 -13
  2. package/dist/components/alert/Alert.js +12 -12
  3. package/dist/components/angle-slider/AngleSlider.js +16 -16
  4. package/dist/components/avatar/Avatar.js +7 -7
  5. package/dist/components/button/Button_module.css +0 -1
  6. package/dist/components/card/Card.js +30 -30
  7. package/dist/components/card/Card_module.css +1 -1
  8. package/dist/components/carousel/Carousel.d.ts +1 -1
  9. package/dist/components/carousel/Carousel.js +22 -22
  10. package/dist/components/chart/Chart.js +19 -19
  11. package/dist/components/checkbox/Checkbox.js +12 -12
  12. package/dist/components/clipboard/Clipboard.js +19 -18
  13. package/dist/components/collapsible/Collapsible.js +11 -11
  14. package/dist/components/color-picker/ColorPicker.js +47 -47
  15. package/dist/components/combobox/Combobox.js +31 -31
  16. package/dist/components/command-palette/CommandPalette.js +49 -49
  17. package/dist/components/container/Container_module.css +1 -1
  18. package/dist/components/date-input/DateInput.js +14 -14
  19. package/dist/components/date-picker/DatePicker.js +51 -51
  20. package/dist/components/dialog/Dialog.js +20 -20
  21. package/dist/components/drawer/Drawer.js +30 -30
  22. package/dist/components/editable/Editable.js +17 -17
  23. package/dist/components/empty/Empty.js +12 -12
  24. package/dist/components/field/Field.js +19 -19
  25. package/dist/components/fieldset/Fieldset.js +10 -10
  26. package/dist/components/file-upload/FileUpload.js +28 -28
  27. package/dist/components/floating-panel/FloatingPanel.d.ts +1 -1
  28. package/dist/components/floating-panel/FloatingPanel.js +22 -22
  29. package/dist/components/floating-panel/index.d.ts +1 -0
  30. package/dist/components/hover-card/HoverCard.d.ts +1 -1
  31. package/dist/components/hover-card/HoverCard.js +11 -11
  32. package/dist/components/hover-card/index.d.ts +1 -0
  33. package/dist/components/image-cropper/ImageCropper.js +14 -14
  34. package/dist/components/kbd/Kbd.js +4 -4
  35. package/dist/components/lightbox/Lightbox.js +25 -25
  36. package/dist/components/listbox/Listbox.js +31 -31
  37. package/dist/components/marquee/Marquee.js +12 -12
  38. package/dist/components/menu/Menu.js +41 -41
  39. package/dist/components/navigation-menu/NavigationMenu.js +24 -24
  40. package/dist/components/number-input/NumberInput.js +16 -16
  41. package/dist/components/pagination/Pagination.js +11 -11
  42. package/dist/components/password-input/PasswordInput.js +13 -13
  43. package/dist/components/pin-input/PinInput.js +11 -11
  44. package/dist/components/popover/Popover.js +25 -25
  45. package/dist/components/progress-circular/ProgressCircular.js +16 -16
  46. package/dist/components/progress-linear/ProgressLinear.js +14 -14
  47. package/dist/components/qr-code/QrCode.js +12 -12
  48. package/dist/components/radio-group/RadioGroup.js +14 -14
  49. package/dist/components/rating-group/RatingGroup.js +11 -11
  50. package/dist/components/segment-group/SegmentGroup.js +14 -14
  51. package/dist/components/select/Select.js +33 -33
  52. package/dist/components/sidebar/Sidebar.js +52 -44
  53. package/dist/components/signature-pad/SignaturePad.js +11 -11
  54. package/dist/components/slider/Slider.js +22 -22
  55. package/dist/components/split-button/SplitButton.d.ts +6 -6
  56. package/dist/components/split-button/SplitButton.js +18 -13
  57. package/dist/components/splitter/Splitter.js +9 -9
  58. package/dist/components/steps/Steps.js +23 -23
  59. package/dist/components/swap/Swap.js +6 -6
  60. package/dist/components/switch/Switch.js +9 -9
  61. package/dist/components/table/Table.js +23 -23
  62. package/dist/components/tabs/Tabs.js +12 -12
  63. package/dist/components/tags-input/TagsInput.js +20 -20
  64. package/dist/components/timer/Timer.js +14 -14
  65. package/dist/components/toast/Toast.js +8 -8
  66. package/dist/components/toc/Toc.js +19 -19
  67. package/dist/components/toggle/Toggle.js +4 -4
  68. package/dist/components/tooltip/Tooltip.js +11 -11
  69. package/dist/components/tour/Tour.js +25 -25
  70. package/dist/components/tree-view/TreeView.js +30 -30
  71. package/dist/styles/animations.css +8 -8
  72. package/package.json +14 -15
@@ -8,11 +8,11 @@ const Tabs_TabsRoot = /*#__PURE__*/ forwardRef(function({ className, orientation
8
8
  const resolvedVariant = 'vertical' === orientation ? 'default' : variant;
9
9
  return /*#__PURE__*/ jsx(Tabs.Root, {
10
10
  ref: ref,
11
- "data-slot": "tabs-root",
12
11
  "data-variant": resolvedVariant,
13
12
  className: clsx(Tabs_module.root, className),
14
13
  orientation: orientation,
15
- ...props
14
+ ...props,
15
+ "data-slot": "tabs-root"
16
16
  });
17
17
  });
18
18
  const Tabs_TabsRootProvider = /*#__PURE__*/ forwardRef(function({ className, value, variant = 'default', ...props }, ref) {
@@ -20,43 +20,43 @@ const Tabs_TabsRootProvider = /*#__PURE__*/ forwardRef(function({ className, val
20
20
  const resolvedVariant = 'vertical' === orientation ? 'default' : variant;
21
21
  return /*#__PURE__*/ jsx(Tabs.RootProvider, {
22
22
  ref: ref,
23
- "data-slot": "tabs-root-provider",
24
23
  "data-variant": resolvedVariant,
25
24
  className: clsx(Tabs_module.root, className),
26
25
  value: value,
27
- ...props
26
+ ...props,
27
+ "data-slot": "tabs-root-provider"
28
28
  });
29
29
  });
30
30
  const Tabs_TabsList = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
31
  return /*#__PURE__*/ jsx(Tabs.List, {
32
32
  ref: ref,
33
- "data-slot": "tabs-list",
34
33
  className: clsx(Tabs_module.list, className),
35
- ...props
34
+ ...props,
35
+ "data-slot": "tabs-list"
36
36
  });
37
37
  });
38
38
  const Tabs_TabsTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
39
39
  return /*#__PURE__*/ jsx(Tabs.Trigger, {
40
40
  ref: ref,
41
- "data-slot": "tabs-trigger",
42
41
  className: clsx(Tabs_module.trigger, className),
43
- ...props
42
+ ...props,
43
+ "data-slot": "tabs-trigger"
44
44
  });
45
45
  });
46
46
  const Tabs_TabsIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
47
47
  return /*#__PURE__*/ jsx(Tabs.Indicator, {
48
48
  ref: ref,
49
- "data-slot": "tabs-indicator",
50
49
  className: clsx(Tabs_module.indicator, className),
51
- ...props
50
+ ...props,
51
+ "data-slot": "tabs-indicator"
52
52
  });
53
53
  });
54
54
  const Tabs_TabsContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(Tabs.Content, {
56
56
  ref: ref,
57
- "data-slot": "tabs-content",
58
57
  className: clsx(Tabs_module.content, className),
59
- ...props
58
+ ...props,
59
+ "data-slot": "tabs-content"
60
60
  });
61
61
  });
62
62
  const Tabs_Tabs = Object.assign(Tabs_TabsRoot, {
@@ -8,82 +8,82 @@ import TagsInput_module from "./TagsInput.module.js";
8
8
  const TagsInput_TagsInputRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
9
9
  return /*#__PURE__*/ jsx(TagsInput.Root, {
10
10
  ref: ref,
11
- "data-slot": "tags-input-root",
12
11
  className: clsx(TagsInput_module.root, className),
13
- ...props
12
+ ...props,
13
+ "data-slot": "tags-input-root"
14
14
  });
15
15
  });
16
16
  const TagsInput_TagsInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
17
17
  return /*#__PURE__*/ jsx(TagsInput.RootProvider, {
18
18
  ref: ref,
19
- "data-slot": "tags-input-root-provider",
20
19
  className: clsx(TagsInput_module.root, className),
21
- ...props
20
+ ...props,
21
+ "data-slot": "tags-input-root-provider"
22
22
  });
23
23
  });
24
24
  const TagsInput_TagsInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
25
25
  return /*#__PURE__*/ jsx(TagsInput.Label, {
26
26
  ref: ref,
27
- "data-slot": "tags-input-label",
28
27
  className: clsx(TagsInput_module.label, className),
29
- ...props
28
+ ...props,
29
+ "data-slot": "tags-input-label"
30
30
  });
31
31
  });
32
32
  const TagsInput_TagsInputControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
33
33
  return /*#__PURE__*/ jsx(TagsInput.Control, {
34
34
  ref: ref,
35
- "data-slot": "tags-input-control",
36
35
  className: clsx(TagsInput_module.control, className),
37
- ...props
36
+ ...props,
37
+ "data-slot": "tags-input-control"
38
38
  });
39
39
  });
40
40
  const TagsInput_TagsInputItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
41
41
  return /*#__PURE__*/ jsx(TagsInput.Item, {
42
42
  ref: ref,
43
- "data-slot": "tags-input-item",
44
43
  className: clsx(TagsInput_module.item, className),
45
- ...props
44
+ ...props,
45
+ "data-slot": "tags-input-item"
46
46
  });
47
47
  });
48
48
  const TagsInput_TagsInputItemPreview = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
49
49
  return /*#__PURE__*/ jsx(TagsInput.ItemPreview, {
50
50
  ref: ref,
51
- "data-slot": "tags-input-item-preview",
52
51
  className: clsx(TagsInput_module.itemPreview, className),
53
- ...props
52
+ ...props,
53
+ "data-slot": "tags-input-item-preview"
54
54
  });
55
55
  });
56
56
  const TagsInput_TagsInputItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
57
57
  return /*#__PURE__*/ jsx(TagsInput.ItemText, {
58
58
  ref: ref,
59
- "data-slot": "tags-input-item-text",
60
59
  className: clsx(TagsInput_module.itemText, className),
61
- ...props
60
+ ...props,
61
+ "data-slot": "tags-input-item-text"
62
62
  });
63
63
  });
64
64
  const TagsInput_TagsInputItemDeleteTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
65
65
  return /*#__PURE__*/ jsx(TagsInput.ItemDeleteTrigger, {
66
66
  ref: ref,
67
- "data-slot": "tags-input-item-delete-trigger",
68
67
  className: clsx(TagsInput_module.itemDeleteTrigger, className),
69
68
  ...props,
69
+ "data-slot": "tags-input-item-delete-trigger",
70
70
  children: children ?? /*#__PURE__*/ jsx(CloseIcon, {})
71
71
  });
72
72
  });
73
73
  const TagsInput_TagsInputItemInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
74
74
  return /*#__PURE__*/ jsx(TagsInput.ItemInput, {
75
75
  ref: ref,
76
- "data-slot": "tags-input-item-input",
77
76
  className: clsx(TagsInput_module.itemInput, className),
78
- ...props
77
+ ...props,
78
+ "data-slot": "tags-input-item-input"
79
79
  });
80
80
  });
81
81
  const TagsInput_TagsInputInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
82
82
  return /*#__PURE__*/ jsx(TagsInput.Input, {
83
83
  ref: ref,
84
- "data-slot": "tags-input-input",
85
84
  className: clsx(TagsInput_module.input, className),
86
- ...props
85
+ ...props,
86
+ "data-slot": "tags-input-input"
87
87
  });
88
88
  });
89
89
  const TagsInput_TagsInputClearTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }, ref) {
@@ -92,11 +92,11 @@ const TagsInput_TagsInputClearTrigger = /*#__PURE__*/ forwardRef(function({ asCh
92
92
  return /*#__PURE__*/ jsx(TagsInput.ClearTrigger, {
93
93
  ref: ref,
94
94
  asChild: true,
95
- "data-slot": "tags-input-clear-trigger",
96
95
  className: triggerClassName,
97
96
  "aria-label": asChild ? ariaLabel : void 0,
98
97
  "aria-labelledby": asChild ? ariaLabelledBy : void 0,
99
98
  ...props,
99
+ "data-slot": "tags-input-clear-trigger",
100
100
  children: asChild ? children : /*#__PURE__*/ jsx(CloseButton.Root, {
101
101
  "aria-label": ariaLabel ?? clearTriggerLabel,
102
102
  "aria-labelledby": ariaLabelledBy,
@@ -7,57 +7,57 @@ import Timer_module from "./Timer.module.js";
7
7
  const Timer_TimerRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Timer.Root, {
9
9
  ref: ref,
10
- "data-slot": "timer-root",
11
10
  className: clsx(Timer_module.root, className),
12
- ...props
11
+ ...props,
12
+ "data-slot": "timer-root"
13
13
  });
14
14
  });
15
15
  const Timer_TimerRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
16
16
  return /*#__PURE__*/ jsx(Timer.RootProvider, {
17
17
  ref: ref,
18
- "data-slot": "timer-root-provider",
19
18
  className: clsx(Timer_module.root, className),
20
- ...props
19
+ ...props,
20
+ "data-slot": "timer-root-provider"
21
21
  });
22
22
  });
23
23
  const Timer_TimerArea = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
24
24
  return /*#__PURE__*/ jsx(Timer.Area, {
25
25
  ref: ref,
26
- "data-slot": "timer-area",
27
26
  className: clsx(Timer_module.area, className),
28
- ...props
27
+ ...props,
28
+ "data-slot": "timer-area"
29
29
  });
30
30
  });
31
31
  const Timer_TimerItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
32
32
  return /*#__PURE__*/ jsx(Timer.Item, {
33
33
  ref: ref,
34
- "data-slot": "timer-item",
35
34
  className: clsx(Timer_module.item, className),
36
- ...props
35
+ ...props,
36
+ "data-slot": "timer-item"
37
37
  });
38
38
  });
39
39
  const Timer_TimerSeparator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
40
  return /*#__PURE__*/ jsx(Timer.Separator, {
41
41
  ref: ref,
42
- "data-slot": "timer-separator",
43
42
  className: clsx(Timer_module.separator, className),
44
- ...props
43
+ ...props,
44
+ "data-slot": "timer-separator"
45
45
  });
46
46
  });
47
47
  const Timer_TimerControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
48
  return /*#__PURE__*/ jsx(Timer.Control, {
49
49
  ref: ref,
50
- "data-slot": "timer-control",
51
50
  className: clsx(Timer_module.control, className),
52
- ...props
51
+ ...props,
52
+ "data-slot": "timer-control"
53
53
  });
54
54
  });
55
55
  const Timer_TimerActionTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
56
56
  return /*#__PURE__*/ jsx(Timer.ActionTrigger, {
57
57
  ref: ref,
58
- "data-slot": "timer-action-trigger",
59
58
  className: clsx(Timer_module.actionTrigger, className),
60
- ...props
59
+ ...props,
60
+ "data-slot": "timer-action-trigger"
61
61
  });
62
62
  });
63
63
  const defaultTimerSegmentTypes = [
@@ -13,9 +13,9 @@ const Toast_Toaster = /*#__PURE__*/ forwardRef(function({ className, portalled =
13
13
  container: portalRef,
14
14
  children: /*#__PURE__*/ jsx(toast_Toaster, {
15
15
  ref: ref,
16
- "data-slot": "toast-toaster",
17
16
  className: clsx(Toast_module.toaster, className),
18
17
  ...props,
18
+ "data-slot": "toast-toaster",
19
19
  children: props.children ?? ((toast)=>/*#__PURE__*/ jsx(DefaultToast, {
20
20
  toast: toast
21
21
  }))
@@ -37,18 +37,18 @@ function DefaultToast({ toast }) {
37
37
  const Toast_ToastRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
38
38
  return /*#__PURE__*/ jsx(Toast.Root, {
39
39
  ref: ref,
40
- "data-slot": "toast-root",
41
40
  className: clsx(Toast_module.root, className),
42
- ...props
41
+ ...props,
42
+ "data-slot": "toast-root"
43
43
  });
44
44
  });
45
45
  const Toast_ToastTitle = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
46
46
  const toast = useToastContext();
47
47
  return /*#__PURE__*/ jsx(Toast.Title, {
48
48
  ref: ref,
49
- "data-slot": "toast-title",
50
49
  className: clsx(Toast_module.title, className),
51
50
  ...props,
51
+ "data-slot": "toast-title",
52
52
  children: void 0 === children ? toast.title : children
53
53
  });
54
54
  });
@@ -56,9 +56,9 @@ const Toast_ToastDescription = /*#__PURE__*/ forwardRef(function({ className, ch
56
56
  const toast = useToastContext();
57
57
  return /*#__PURE__*/ jsx(Toast.Description, {
58
58
  ref: ref,
59
- "data-slot": "toast-description",
60
59
  className: clsx(Toast_module.description, className),
61
60
  ...props,
61
+ "data-slot": "toast-description",
62
62
  children: void 0 === children ? toast.description : children
63
63
  });
64
64
  });
@@ -66,9 +66,9 @@ const Toast_ToastActionTrigger = /*#__PURE__*/ forwardRef(function({ asChild, cl
66
66
  return /*#__PURE__*/ jsx(Toast.ActionTrigger, {
67
67
  ref: ref,
68
68
  asChild: asChild,
69
- "data-slot": "toast-action-trigger",
70
69
  className: clsx(!asChild && Toast_module.actionTrigger, className),
71
70
  ...props,
71
+ "data-slot": "toast-action-trigger",
72
72
  children: children
73
73
  });
74
74
  });
@@ -76,20 +76,20 @@ const Toast_ToastCloseTrigger = /*#__PURE__*/ forwardRef(function({ asChild, cla
76
76
  if (asChild) return /*#__PURE__*/ jsx(Toast.CloseTrigger, {
77
77
  ref: ref,
78
78
  asChild: true,
79
- "data-slot": "toast-close-trigger",
80
79
  "aria-label": ariaLabel,
81
80
  className: className,
82
81
  ...props,
82
+ "data-slot": "toast-close-trigger",
83
83
  children: children
84
84
  });
85
85
  return /*#__PURE__*/ jsx(Toast.CloseTrigger, {
86
86
  asChild: true,
87
87
  children: /*#__PURE__*/ jsx(CloseButton.Root, {
88
88
  ref: ref,
89
- "data-slot": "toast-close-trigger",
90
89
  "aria-label": ariaLabel,
91
90
  className: clsx(Toast_module.closeTrigger, className),
92
91
  ...props,
92
+ "data-slot": "toast-close-trigger",
93
93
  children: children
94
94
  })
95
95
  });
@@ -18,78 +18,78 @@ const Toc_TocRoot = /*#__PURE__*/ forwardRef(function({ autoScroll = false, clas
18
18
  return /*#__PURE__*/ jsx(Toc.Root, {
19
19
  ref: ref,
20
20
  autoScroll: autoScroll,
21
- "data-slot": "toc-root",
22
21
  className: clsx(Toc_module.root, className),
23
- ...props
22
+ ...props,
23
+ "data-slot": "toc-root"
24
24
  });
25
25
  });
26
26
  const Toc_TocRootProvider = /*#__PURE__*/ forwardRef(function({ className, style, value, ...props }, ref) {
27
27
  return /*#__PURE__*/ jsx(Toc.RootProvider, {
28
28
  ref: ref,
29
29
  value: value,
30
- "data-slot": "toc-root-provider",
31
30
  className: clsx(Toc_module.root, className),
32
31
  style: {
33
32
  ...value.getRootProps().style,
34
33
  ...style
35
34
  },
36
- ...props
35
+ ...props,
36
+ "data-slot": "toc-root-provider"
37
37
  });
38
38
  });
39
39
  const Toc_TocContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
40
  return /*#__PURE__*/ jsx(Toc.Content, {
41
41
  ref: ref,
42
- "data-slot": "toc-content",
43
42
  className: clsx(Toc_module.content, className),
44
- ...props
43
+ ...props,
44
+ "data-slot": "toc-content"
45
45
  });
46
46
  });
47
47
  const Toc_TocNav = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
48
  return /*#__PURE__*/ jsx(Toc.Nav, {
49
49
  ref: ref,
50
- "data-slot": "toc-nav",
51
50
  className: clsx(Toc_module.nav, className),
52
- ...props
51
+ ...props,
52
+ "data-slot": "toc-nav"
53
53
  });
54
54
  });
55
55
  const Toc_TocTitle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
56
56
  return /*#__PURE__*/ jsx(Toc.Title, {
57
57
  ref: ref,
58
- "data-slot": "toc-title",
59
58
  className: clsx(Toc_module.title, className),
60
- ...props
59
+ ...props,
60
+ "data-slot": "toc-title"
61
61
  });
62
62
  });
63
63
  const Toc_TocList = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
64
64
  return /*#__PURE__*/ jsx(Toc.List, {
65
65
  ref: ref,
66
- "data-slot": "toc-list",
67
66
  className: clsx(Toc_module.list, className),
68
- ...props
67
+ ...props,
68
+ "data-slot": "toc-list"
69
69
  });
70
70
  });
71
71
  const Toc_TocItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
72
72
  return /*#__PURE__*/ jsx(Toc.Item, {
73
73
  ref: ref,
74
- "data-slot": "toc-item",
75
74
  className: clsx(Toc_module.item, className),
76
- ...props
75
+ ...props,
76
+ "data-slot": "toc-item"
77
77
  });
78
78
  });
79
79
  const Toc_TocLink = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
80
80
  return /*#__PURE__*/ jsx(Toc.Link, {
81
81
  ref: ref,
82
- "data-slot": "toc-link",
83
82
  className: clsx(Toc_module.link, className),
84
- ...props
83
+ ...props,
84
+ "data-slot": "toc-link"
85
85
  });
86
86
  });
87
87
  const Toc_TocIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
88
88
  return /*#__PURE__*/ jsx(Toc.Indicator, {
89
89
  ref: ref,
90
- "data-slot": "toc-indicator",
91
90
  className: clsx(Toc_module.indicator, className),
92
- ...props
91
+ ...props,
92
+ "data-slot": "toc-indicator"
93
93
  });
94
94
  });
95
95
  const Toc_TocRail = /*#__PURE__*/ forwardRef(function({ className, depth, nextDepth = depth, previousDepth = depth, style, ...props }, ref) {
@@ -101,7 +101,6 @@ const Toc_TocRail = /*#__PURE__*/ forwardRef(function({ className, depth, nextDe
101
101
  return /*#__PURE__*/ jsxs("svg", {
102
102
  ref: ref,
103
103
  "aria-hidden": "true",
104
- "data-slot": "toc-rail",
105
104
  className: clsx(Toc_module.rail, className),
106
105
  style: {
107
106
  width,
@@ -109,6 +108,7 @@ const Toc_TocRail = /*#__PURE__*/ forwardRef(function({ className, depth, nextDe
109
108
  ...style
110
109
  },
111
110
  ...props,
111
+ "data-slot": "toc-rail",
112
112
  children: [
113
113
  hasTurn && /*#__PURE__*/ jsx("path", {
114
114
  d: `M ${previousLineOffset + 0.5} 0 C ${previousLineOffset + 0.5} 8 ${lineOffset + 0.5} 4 ${lineOffset + 0.5} ${2 * railBridge}`,
@@ -7,19 +7,19 @@ import Toggle_module from "./Toggle.module.js";
7
7
  const Toggle_ToggleRoot = /*#__PURE__*/ forwardRef(function({ className, variant = 'default', size = 'md', ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(Toggle.Root, {
9
9
  ref: ref,
10
- "data-slot": "toggle-root",
11
10
  "data-variant": variant,
12
11
  "data-size": size,
13
12
  className: clsx(Toggle_module.root, className),
14
- ...props
13
+ ...props,
14
+ "data-slot": "toggle-root"
15
15
  });
16
16
  });
17
17
  const Toggle_ToggleIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
18
18
  return /*#__PURE__*/ jsx(Toggle.Indicator, {
19
19
  ref: ref,
20
- "data-slot": "toggle-indicator",
21
20
  className: clsx(Toggle_module.indicator, className),
22
- ...props
21
+ ...props,
22
+ "data-slot": "toggle-indicator"
23
23
  });
24
24
  });
25
25
  const Toggle_Toggle = Object.assign(Toggle_ToggleRoot, {
@@ -30,10 +30,10 @@ function TooltipRootProvider({ lazyMount = true, portalled, portalRef, unmountOn
30
30
  const Tooltip_TooltipTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, ...props }, ref) {
31
31
  return /*#__PURE__*/ jsx(Tooltip.Trigger, {
32
32
  ref: ref,
33
- "data-slot": "tooltip-trigger",
34
33
  asChild: asChild,
35
34
  className: clsx(!asChild && Tooltip_module.trigger, className),
36
- ...props
35
+ ...props,
36
+ "data-slot": "tooltip-trigger"
37
37
  });
38
38
  });
39
39
  const Tooltip_TooltipDisabledTrigger = /*#__PURE__*/ forwardRef(function({ className, tabIndex = 0, ...props }, ref) {
@@ -41,10 +41,10 @@ const Tooltip_TooltipDisabledTrigger = /*#__PURE__*/ forwardRef(function({ class
41
41
  asChild: true,
42
42
  children: /*#__PURE__*/ jsx("span", {
43
43
  ref: ref,
44
- "data-slot": "tooltip-disabled-trigger",
45
44
  tabIndex: tabIndex,
46
45
  className: clsx(Tooltip_module.disabledTrigger, className),
47
- ...props
46
+ ...props,
47
+ "data-slot": "tooltip-disabled-trigger"
48
48
  })
49
49
  });
50
50
  });
@@ -52,18 +52,18 @@ const Tooltip_TooltipPositioner = /*#__PURE__*/ forwardRef(function({ className,
52
52
  return /*#__PURE__*/ jsx(OverlayPortal, {
53
53
  children: /*#__PURE__*/ jsx(Tooltip.Positioner, {
54
54
  ref: ref,
55
- "data-slot": "tooltip-positioner",
56
55
  className: clsx(Tooltip_module.positioner, className),
57
- ...props
56
+ ...props,
57
+ "data-slot": "tooltip-positioner"
58
58
  })
59
59
  });
60
60
  });
61
61
  const Tooltip_TooltipContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
62
62
  return /*#__PURE__*/ jsx(Tooltip.Content, {
63
63
  ref: ref,
64
- "data-slot": "tooltip-content",
65
64
  className: clsx(Tooltip_module.content, className),
66
- ...props
65
+ ...props,
66
+ "data-slot": "tooltip-content"
67
67
  });
68
68
  });
69
69
  const Tooltip_TooltipBody = /*#__PURE__*/ forwardRef(function(props, ref) {
@@ -77,18 +77,18 @@ const Tooltip_TooltipBody = /*#__PURE__*/ forwardRef(function(props, ref) {
77
77
  const Tooltip_TooltipArrow = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
78
78
  return /*#__PURE__*/ jsx(Tooltip.Arrow, {
79
79
  ref: ref,
80
- "data-slot": "tooltip-arrow",
81
80
  className: clsx(Tooltip_module.arrow, className),
82
81
  ...props,
82
+ "data-slot": "tooltip-arrow",
83
83
  children: children ?? /*#__PURE__*/ jsx(Tooltip_TooltipArrowTip, {})
84
84
  });
85
85
  });
86
86
  const Tooltip_TooltipArrowTip = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
87
87
  return /*#__PURE__*/ jsx(Tooltip.ArrowTip, {
88
88
  ref: ref,
89
- "data-slot": "tooltip-arrow-tip",
90
89
  className: clsx(Tooltip_module.arrowTip, className),
91
- ...props
90
+ ...props,
91
+ "data-slot": "tooltip-arrow-tip"
92
92
  });
93
93
  });
94
94
  const Tooltip_Tooltip = Object.assign(TooltipRoot, {