@moduix/react 2.6.0 → 2.7.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 (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 +48 -48
  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 +1 -1
@@ -8,43 +8,43 @@ import PinInput_module from "./PinInput.module.js";
8
8
  const PinInput_PinInputRoot = /*#__PURE__*/ forwardRef(function({ className, count, placeholder = '', ...props }, ref) {
9
9
  return /*#__PURE__*/ jsx(PinInput.Root, {
10
10
  ref: ref,
11
- "data-slot": "pin-input-root",
12
11
  className: clsx(PinInput_module.root, className),
13
12
  count: count,
14
13
  placeholder: placeholder,
15
- ...props
14
+ ...props,
15
+ "data-slot": "pin-input-root"
16
16
  });
17
17
  });
18
18
  const PinInput_PinInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
19
19
  return /*#__PURE__*/ jsx(PinInput.RootProvider, {
20
20
  ref: ref,
21
- "data-slot": "pin-input-root-provider",
22
21
  className: clsx(PinInput_module.root, className),
23
- ...props
22
+ ...props,
23
+ "data-slot": "pin-input-root-provider"
24
24
  });
25
25
  });
26
26
  const PinInput_PinInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
27
27
  return /*#__PURE__*/ jsx(PinInput.Label, {
28
28
  ref: ref,
29
- "data-slot": "pin-input-label",
30
29
  className: clsx(PinInput_module.label, className),
31
- ...props
30
+ ...props,
31
+ "data-slot": "pin-input-label"
32
32
  });
33
33
  });
34
34
  const PinInput_PinInputControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
35
35
  return /*#__PURE__*/ jsx(PinInput.Control, {
36
36
  ref: ref,
37
- "data-slot": "pin-input-control",
38
37
  className: clsx(PinInput_module.control, className),
39
- ...props
38
+ ...props,
39
+ "data-slot": "pin-input-control"
40
40
  });
41
41
  });
42
42
  const PinInput_PinInputInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
43
43
  return /*#__PURE__*/ jsx(PinInput.Input, {
44
44
  ref: ref,
45
- "data-slot": "pin-input-input",
46
45
  className: clsx(PinInput_module.input, className),
47
- ...props
46
+ ...props,
47
+ "data-slot": "pin-input-input"
48
48
  });
49
49
  });
50
50
  function PinInputInputs({ className }) {
@@ -56,11 +56,11 @@ function PinInputInputs({ className }) {
56
56
  }
57
57
  function PinInputSeparator({ className, 'aria-hidden': ariaHidden = true, role = 'presentation', children, ...props }) {
58
58
  return /*#__PURE__*/ jsx("span", {
59
- "data-slot": "pin-input-separator",
60
59
  "aria-hidden": ariaHidden,
61
60
  role: role,
62
61
  className: clsx(PinInput_module.separator, className),
63
62
  ...props,
63
+ "data-slot": "pin-input-separator",
64
64
  children: children ?? /*#__PURE__*/ jsx(SeparatorMarkIcon, {})
65
65
  });
66
66
  }
@@ -37,86 +37,86 @@ function PopoverRootProvider({ lazyMount = true, portalRef, unmountOnExit = true
37
37
  const Popover_PopoverAnchor = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
38
38
  return /*#__PURE__*/ jsx(Popover.Anchor, {
39
39
  ref: ref,
40
- "data-slot": "popover-anchor",
41
40
  className: className,
42
- ...props
41
+ ...props,
42
+ "data-slot": "popover-anchor"
43
43
  });
44
44
  });
45
45
  const Popover_PopoverTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, ...props }, ref) {
46
46
  return /*#__PURE__*/ jsx(Popover.Trigger, {
47
47
  ref: ref,
48
- "data-slot": "popover-trigger",
49
48
  asChild: asChild,
50
49
  className: clsx(!asChild && Popover_module.trigger, className),
51
- ...props
50
+ ...props,
51
+ "data-slot": "popover-trigger"
52
52
  });
53
53
  });
54
54
  const Popover_PopoverIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(Popover.Indicator, {
56
56
  ref: ref,
57
- "data-slot": "popover-indicator",
58
57
  className: className,
59
- ...props
58
+ ...props,
59
+ "data-slot": "popover-indicator"
60
60
  });
61
61
  });
62
62
  const Popover_PopoverPositioner = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
63
63
  return /*#__PURE__*/ jsx(OverlayPortal, {
64
64
  children: /*#__PURE__*/ jsx(Popover.Positioner, {
65
65
  ref: ref,
66
- "data-slot": "popover-positioner",
67
66
  className: clsx(Popover_module.positioner, className),
68
- ...props
67
+ ...props,
68
+ "data-slot": "popover-positioner"
69
69
  })
70
70
  });
71
71
  });
72
72
  const Popover_PopoverContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
73
73
  return /*#__PURE__*/ jsx(Popover.Content, {
74
74
  ref: ref,
75
- "data-slot": "popover-content",
76
75
  className: clsx(Popover_module.content, className),
77
- ...props
76
+ ...props,
77
+ "data-slot": "popover-content"
78
78
  });
79
79
  });
80
80
  const Popover_PopoverArrow = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
81
81
  return /*#__PURE__*/ jsx(Popover.Arrow, {
82
82
  ref: ref,
83
- "data-slot": "popover-arrow",
84
83
  className: clsx(Popover_module.arrow, className),
85
84
  ...props,
85
+ "data-slot": "popover-arrow",
86
86
  children: children ?? /*#__PURE__*/ jsx(Popover_PopoverArrowTip, {})
87
87
  });
88
88
  });
89
89
  const Popover_PopoverArrowTip = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
90
90
  return /*#__PURE__*/ jsx(Popover.ArrowTip, {
91
91
  ref: ref,
92
- "data-slot": "popover-arrow-tip",
93
92
  className: clsx(Popover_module.arrowTip, className),
94
- ...props
93
+ ...props,
94
+ "data-slot": "popover-arrow-tip"
95
95
  });
96
96
  });
97
97
  const Popover_PopoverTitle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
98
98
  return /*#__PURE__*/ jsx(Popover.Title, {
99
99
  ref: ref,
100
- "data-slot": "popover-title",
101
100
  className: clsx(Popover_module.title, className),
102
- ...props
101
+ ...props,
102
+ "data-slot": "popover-title"
103
103
  });
104
104
  });
105
105
  const Popover_PopoverDescription = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
106
106
  return /*#__PURE__*/ jsx(Popover.Description, {
107
107
  ref: ref,
108
- "data-slot": "popover-description",
109
108
  className: clsx(Popover_module.description, className),
110
- ...props
109
+ ...props,
110
+ "data-slot": "popover-description"
111
111
  });
112
112
  });
113
113
  const Popover_PopoverCloseTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, ...props }, ref) {
114
114
  return /*#__PURE__*/ jsx(Popover.CloseTrigger, {
115
115
  ref: ref,
116
- "data-slot": "popover-close-trigger",
117
116
  asChild: asChild,
118
117
  className: clsx(!asChild && Popover_module.closeTrigger, className),
119
- ...props
118
+ ...props,
119
+ "data-slot": "popover-close-trigger"
120
120
  });
121
121
  });
122
122
  const Popover_PopoverCloseIcon = /*#__PURE__*/ forwardRef(function({ className, children, 'aria-label': ariaLabel = DEFAULT_CLOSE_BUTTON_LABEL, ...props }, ref) {
@@ -135,25 +135,25 @@ const Popover_PopoverCloseIcon = /*#__PURE__*/ forwardRef(function({ className,
135
135
  const Popover_PopoverHeader = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
136
136
  return /*#__PURE__*/ jsx(ark.div, {
137
137
  ref: ref,
138
- "data-slot": "popover-header",
139
138
  className: clsx(Popover_module.header, className),
140
- ...props
139
+ ...props,
140
+ "data-slot": "popover-header"
141
141
  });
142
142
  });
143
143
  const Popover_PopoverBody = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
144
144
  return /*#__PURE__*/ jsx(ark.div, {
145
145
  ref: ref,
146
- "data-slot": "popover-body",
147
146
  className: clsx(Popover_module.body, className),
148
- ...props
147
+ ...props,
148
+ "data-slot": "popover-body"
149
149
  });
150
150
  });
151
151
  const Popover_PopoverFooter = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
152
152
  return /*#__PURE__*/ jsx(ark.div, {
153
153
  ref: ref,
154
- "data-slot": "popover-footer",
155
154
  className: clsx(Popover_module.footer, className),
156
- ...props
155
+ ...props,
156
+ "data-slot": "popover-footer"
157
157
  });
158
158
  });
159
159
  const Popover_Popover = Object.assign(PopoverRoot, {
@@ -6,57 +6,57 @@ import ProgressCircular_module from "./ProgressCircular.module.js";
6
6
  const ProgressCircular_ProgressCircularRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
7
7
  return /*#__PURE__*/ jsx(Progress.Root, {
8
8
  ref: ref,
9
- "data-slot": "progress-circular-root",
10
9
  className: clsx(ProgressCircular_module.root, className),
11
- ...props
10
+ ...props,
11
+ "data-slot": "progress-circular-root"
12
12
  });
13
13
  });
14
14
  const ProgressCircular_ProgressCircularRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
15
15
  return /*#__PURE__*/ jsx(Progress.RootProvider, {
16
16
  ref: ref,
17
- "data-slot": "progress-circular-root-provider",
18
17
  className: clsx(ProgressCircular_module.root, className),
19
- ...props
18
+ ...props,
19
+ "data-slot": "progress-circular-root-provider"
20
20
  });
21
21
  });
22
22
  const ProgressCircular_ProgressCircularLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
23
23
  return /*#__PURE__*/ jsx(Progress.Label, {
24
24
  ref: ref,
25
- "data-slot": "progress-circular-label",
26
25
  className: clsx(ProgressCircular_module.label, className),
27
- ...props
26
+ ...props,
27
+ "data-slot": "progress-circular-label"
28
28
  });
29
29
  });
30
30
  const ProgressCircular_ProgressCircularValueText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
31
  return /*#__PURE__*/ jsx(Progress.ValueText, {
32
32
  ref: ref,
33
- "data-slot": "progress-circular-value-text",
34
33
  className: clsx(ProgressCircular_module.valueText, className),
35
- ...props
34
+ ...props,
35
+ "data-slot": "progress-circular-value-text"
36
36
  });
37
37
  });
38
38
  const ProgressCircular_ProgressCircularCircle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
39
39
  return /*#__PURE__*/ jsx(Progress.Circle, {
40
40
  ref: ref,
41
- "data-slot": "progress-circular-circle",
42
41
  className: clsx(ProgressCircular_module.circle, className),
43
- ...props
42
+ ...props,
43
+ "data-slot": "progress-circular-circle"
44
44
  });
45
45
  });
46
46
  const ProgressCircular_ProgressCircularCircleTrack = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
47
47
  return /*#__PURE__*/ jsx(Progress.CircleTrack, {
48
48
  ref: ref,
49
- "data-slot": "progress-circular-circle-track",
50
49
  className: clsx(ProgressCircular_module.circleTrack, className),
51
- ...props
50
+ ...props,
51
+ "data-slot": "progress-circular-circle-track"
52
52
  });
53
53
  });
54
54
  const ProgressCircular_ProgressCircularCircleRange = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(Progress.CircleRange, {
56
56
  ref: ref,
57
- "data-slot": "progress-circular-circle-range",
58
57
  className: clsx(ProgressCircular_module.circleRange, className),
59
- ...props
58
+ ...props,
59
+ "data-slot": "progress-circular-circle-range"
60
60
  });
61
61
  });
62
62
  const ProgressCircular_ProgressCircularRing = /*#__PURE__*/ forwardRef(function(props, ref) {
@@ -72,9 +72,9 @@ const ProgressCircular_ProgressCircularRing = /*#__PURE__*/ forwardRef(function(
72
72
  const ProgressCircular_ProgressCircularView = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
73
73
  return /*#__PURE__*/ jsx(Progress.View, {
74
74
  ref: ref,
75
- "data-slot": "progress-circular-view",
76
75
  className: clsx(ProgressCircular_module.view, className),
77
- ...props
76
+ ...props,
77
+ "data-slot": "progress-circular-view"
78
78
  });
79
79
  });
80
80
  const ProgressCircular = Object.assign(ProgressCircular_ProgressCircularRoot, {
@@ -6,57 +6,57 @@ import ProgressLinear_module from "./ProgressLinear.module.js";
6
6
  const ProgressLinear_ProgressLinearRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
7
7
  return /*#__PURE__*/ jsx(Progress.Root, {
8
8
  ref: ref,
9
- "data-slot": "progress-linear-root",
10
9
  className: clsx(ProgressLinear_module.root, className),
11
- ...props
10
+ ...props,
11
+ "data-slot": "progress-linear-root"
12
12
  });
13
13
  });
14
14
  const ProgressLinear_ProgressLinearRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
15
15
  return /*#__PURE__*/ jsx(Progress.RootProvider, {
16
16
  ref: ref,
17
- "data-slot": "progress-linear-root-provider",
18
17
  className: clsx(ProgressLinear_module.root, className),
19
- ...props
18
+ ...props,
19
+ "data-slot": "progress-linear-root-provider"
20
20
  });
21
21
  });
22
22
  const ProgressLinear_ProgressLinearLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
23
23
  return /*#__PURE__*/ jsx(Progress.Label, {
24
24
  ref: ref,
25
- "data-slot": "progress-linear-label",
26
25
  className: clsx(ProgressLinear_module.label, className),
27
- ...props
26
+ ...props,
27
+ "data-slot": "progress-linear-label"
28
28
  });
29
29
  });
30
30
  const ProgressLinear_ProgressLinearValueText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
31
  return /*#__PURE__*/ jsx(Progress.ValueText, {
32
32
  ref: ref,
33
- "data-slot": "progress-linear-value-text",
34
33
  className: clsx(ProgressLinear_module.valueText, className),
35
- ...props
34
+ ...props,
35
+ "data-slot": "progress-linear-value-text"
36
36
  });
37
37
  });
38
38
  const ProgressLinear_ProgressLinearTrack = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
39
39
  return /*#__PURE__*/ jsx(Progress.Track, {
40
40
  ref: ref,
41
- "data-slot": "progress-linear-track",
42
41
  className: clsx(ProgressLinear_module.track, className),
43
- ...props
42
+ ...props,
43
+ "data-slot": "progress-linear-track"
44
44
  });
45
45
  });
46
46
  const ProgressLinear_ProgressLinearRange = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
47
47
  return /*#__PURE__*/ jsx(Progress.Range, {
48
48
  ref: ref,
49
- "data-slot": "progress-linear-range",
50
49
  className: clsx(ProgressLinear_module.range, className),
51
- ...props
50
+ ...props,
51
+ "data-slot": "progress-linear-range"
52
52
  });
53
53
  });
54
54
  const ProgressLinear_ProgressLinearView = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(Progress.View, {
56
56
  ref: ref,
57
- "data-slot": "progress-linear-view",
58
57
  className: clsx(ProgressLinear_module.view, className),
59
- ...props
58
+ ...props,
59
+ "data-slot": "progress-linear-view"
60
60
  });
61
61
  });
62
62
  const ProgressLinear = Object.assign(ProgressLinear_ProgressLinearRoot, {
@@ -7,49 +7,49 @@ import QrCode_module from "./QrCode.module.js";
7
7
  const QrCode_QrCodeRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(QrCode.Root, {
9
9
  ref: ref,
10
- "data-slot": "qr-code-root",
11
10
  className: clsx(QrCode_module.root, className),
12
- ...props
11
+ ...props,
12
+ "data-slot": "qr-code-root"
13
13
  });
14
14
  });
15
15
  const QrCode_QrCodeRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
16
16
  return /*#__PURE__*/ jsx(QrCode.RootProvider, {
17
17
  ref: ref,
18
- "data-slot": "qr-code-root-provider",
19
18
  className: clsx(QrCode_module.root, className),
20
- ...props
19
+ ...props,
20
+ "data-slot": "qr-code-root-provider"
21
21
  });
22
22
  });
23
23
  const QrCode_QrCodeFrame = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
24
24
  return /*#__PURE__*/ jsx(QrCode.Frame, {
25
25
  ref: ref,
26
- "data-slot": "qr-code-frame",
27
26
  className: clsx(QrCode_module.frame, className),
28
- ...props
27
+ ...props,
28
+ "data-slot": "qr-code-frame"
29
29
  });
30
30
  });
31
31
  const QrCode_QrCodePattern = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
32
32
  return /*#__PURE__*/ jsx(QrCode.Pattern, {
33
33
  ref: ref,
34
- "data-slot": "qr-code-pattern",
35
34
  className: clsx(QrCode_module.pattern, className),
36
- ...props
35
+ ...props,
36
+ "data-slot": "qr-code-pattern"
37
37
  });
38
38
  });
39
39
  const QrCode_QrCodeOverlay = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
40
  return /*#__PURE__*/ jsx(QrCode.Overlay, {
41
41
  ref: ref,
42
- "data-slot": "qr-code-overlay",
43
42
  className: clsx(QrCode_module.overlay, className),
44
- ...props
43
+ ...props,
44
+ "data-slot": "qr-code-overlay"
45
45
  });
46
46
  });
47
47
  const QrCode_QrCodeDownloadTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
48
  return /*#__PURE__*/ jsx(QrCode.DownloadTrigger, {
49
49
  ref: ref,
50
- "data-slot": "qr-code-download-trigger",
51
50
  className: clsx(QrCode_module.downloadTrigger, className),
52
- ...props
51
+ ...props,
52
+ "data-slot": "qr-code-download-trigger"
53
53
  });
54
54
  });
55
55
  const QrCode_QrCode = Object.assign(QrCode_QrCodeRoot, {
@@ -7,33 +7,33 @@ import RadioGroup_module from "./RadioGroup.module.js";
7
7
  const RadioGroup_RadioGroupRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(RadioGroup.Root, {
9
9
  ref: ref,
10
- "data-slot": "radio-group-root",
11
10
  className: clsx(RadioGroup_module.root, className),
12
- ...props
11
+ ...props,
12
+ "data-slot": "radio-group-root"
13
13
  });
14
14
  });
15
15
  const RadioGroup_RadioGroupRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
16
16
  return /*#__PURE__*/ jsx(RadioGroup.RootProvider, {
17
17
  ref: ref,
18
- "data-slot": "radio-group-root-provider",
19
18
  className: clsx(RadioGroup_module.root, className),
20
- ...props
19
+ ...props,
20
+ "data-slot": "radio-group-root-provider"
21
21
  });
22
22
  });
23
23
  const RadioGroup_RadioGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
24
24
  return /*#__PURE__*/ jsx(RadioGroup.Label, {
25
25
  ref: ref,
26
- "data-slot": "radio-group-label",
27
26
  className: clsx(RadioGroup_module.label, className),
28
- ...props
27
+ ...props,
28
+ "data-slot": "radio-group-label"
29
29
  });
30
30
  });
31
31
  const RadioGroup_RadioGroupItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
32
32
  return /*#__PURE__*/ jsx(RadioGroup.Item, {
33
33
  ref: ref,
34
- "data-slot": "radio-group-item",
35
34
  className: clsx(RadioGroup_module.item, className),
36
- ...props
35
+ ...props,
36
+ "data-slot": "radio-group-item"
37
37
  });
38
38
  });
39
39
  const RadioGroup_RadioGroupOption = /*#__PURE__*/ forwardRef(function({ children, size, ...props }, ref) {
@@ -54,26 +54,26 @@ const RadioGroup_RadioGroupOption = /*#__PURE__*/ forwardRef(function({ children
54
54
  const RadioGroup_RadioGroupItemControl = /*#__PURE__*/ forwardRef(function({ className, size = 'md', ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(RadioGroup.ItemControl, {
56
56
  ref: ref,
57
- "data-slot": "radio-group-item-control",
58
57
  "data-size": size,
59
58
  className: clsx(RadioGroup_module.itemControl, className),
60
- ...props
59
+ ...props,
60
+ "data-slot": "radio-group-item-control"
61
61
  });
62
62
  });
63
63
  const RadioGroup_RadioGroupItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
64
64
  return /*#__PURE__*/ jsx(RadioGroup.ItemText, {
65
65
  ref: ref,
66
- "data-slot": "radio-group-item-text",
67
66
  className: clsx(RadioGroup_module.itemText, className),
68
- ...props
67
+ ...props,
68
+ "data-slot": "radio-group-item-text"
69
69
  });
70
70
  });
71
71
  const RadioGroup_RadioGroupIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
72
72
  return /*#__PURE__*/ jsx(RadioGroup.Indicator, {
73
73
  ref: ref,
74
- "data-slot": "radio-group-indicator",
75
74
  className: clsx(RadioGroup_module.indicator, className),
76
- ...props
75
+ ...props,
76
+ "data-slot": "radio-group-indicator"
77
77
  });
78
78
  });
79
79
  const RadioGroup_RadioGroup = Object.assign(RadioGroup_RadioGroupRoot, {
@@ -8,54 +8,54 @@ import RatingGroup_module from "./RatingGroup.module.js";
8
8
  const RatingGroup_RatingGroupRoot = /*#__PURE__*/ forwardRef(function({ className, size = 'md', ...props }, ref) {
9
9
  return /*#__PURE__*/ jsx(RatingGroup.Root, {
10
10
  ref: ref,
11
- "data-slot": "rating-group-root",
12
11
  "data-size": size,
13
12
  className: clsx(RatingGroup_module.root, className),
14
- ...props
13
+ ...props,
14
+ "data-slot": "rating-group-root"
15
15
  });
16
16
  });
17
17
  const RatingGroup_RatingGroupRootProvider = /*#__PURE__*/ forwardRef(function({ className, size = 'md', ...props }, ref) {
18
18
  return /*#__PURE__*/ jsx(RatingGroup.RootProvider, {
19
19
  ref: ref,
20
- "data-slot": "rating-group-root-provider",
21
20
  "data-size": size,
22
21
  className: clsx(RatingGroup_module.root, className),
23
- ...props
22
+ ...props,
23
+ "data-slot": "rating-group-root-provider"
24
24
  });
25
25
  });
26
26
  const RatingGroup_RatingGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
27
27
  return /*#__PURE__*/ jsx(RatingGroup.Label, {
28
28
  ref: ref,
29
- "data-slot": "rating-group-label",
30
29
  className: clsx(RatingGroup_module.label, className),
31
- ...props
30
+ ...props,
31
+ "data-slot": "rating-group-label"
32
32
  });
33
33
  });
34
34
  const RatingGroup_RatingGroupControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
35
35
  return /*#__PURE__*/ jsx(RatingGroup.Control, {
36
36
  ref: ref,
37
- "data-slot": "rating-group-control",
38
37
  className: clsx(RatingGroup_module.control, className),
39
- ...props
38
+ ...props,
39
+ "data-slot": "rating-group-control"
40
40
  });
41
41
  });
42
42
  const RatingGroup_RatingGroupItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
43
43
  return /*#__PURE__*/ jsx(RatingGroup.Item, {
44
44
  ref: ref,
45
- "data-slot": "rating-group-item",
46
45
  className: clsx(RatingGroup_module.item, className),
47
- ...props
46
+ ...props,
47
+ "data-slot": "rating-group-item"
48
48
  });
49
49
  });
50
50
  const RatingGroup_RatingGroupItemIndicator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
51
51
  const { half, highlighted } = useRatingGroupItemContext();
52
52
  return /*#__PURE__*/ jsx("span", {
53
53
  ref: ref,
54
- "data-slot": "rating-group-item-indicator",
55
54
  "data-half": half ? '' : void 0,
56
55
  "data-highlighted": highlighted ? '' : void 0,
57
56
  className: clsx(RatingGroup_module.itemIndicator, className),
58
57
  ...props,
58
+ "data-slot": "rating-group-item-indicator",
59
59
  children: children ?? /*#__PURE__*/ jsxs(Fragment, {
60
60
  children: [
61
61
  /*#__PURE__*/ jsx(RatingStarIcon, {
@@ -38,57 +38,57 @@ const SegmentGroup_SegmentGroupRoot = /*#__PURE__*/ forwardRef(function({ classN
38
38
  return /*#__PURE__*/ jsx(SegmentGroup.RootProvider, {
39
39
  ref: ref,
40
40
  value: segmentGroup,
41
- "data-slot": "segment-group-root",
42
41
  className: clsx(SegmentGroup_module.root, className),
43
- ...props
42
+ ...props,
43
+ "data-slot": "segment-group-root"
44
44
  });
45
45
  });
46
46
  const SegmentGroup_SegmentGroupRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
47
47
  return /*#__PURE__*/ jsx(SegmentGroup.RootProvider, {
48
48
  ref: ref,
49
- "data-slot": "segment-group-root-provider",
50
49
  className: clsx(SegmentGroup_module.root, className),
51
- ...props
50
+ ...props,
51
+ "data-slot": "segment-group-root-provider"
52
52
  });
53
53
  });
54
54
  const SegmentGroup_SegmentGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
55
55
  return /*#__PURE__*/ jsx(SegmentGroup.Label, {
56
56
  ref: ref,
57
- "data-slot": "segment-group-label",
58
57
  className: clsx(SegmentGroup_module.label, className),
59
- ...props
58
+ ...props,
59
+ "data-slot": "segment-group-label"
60
60
  });
61
61
  });
62
62
  const SegmentGroup_SegmentGroupItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
63
63
  return /*#__PURE__*/ jsx(SegmentGroup.Item, {
64
64
  ref: ref,
65
- "data-slot": "segment-group-item",
66
65
  className: clsx(SegmentGroup_module.item, className),
67
- ...props
66
+ ...props,
67
+ "data-slot": "segment-group-item"
68
68
  });
69
69
  });
70
70
  const SegmentGroup_SegmentGroupItemControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
71
71
  return /*#__PURE__*/ jsx(SegmentGroup.ItemControl, {
72
72
  ref: ref,
73
- "data-slot": "segment-group-item-control",
74
73
  className: clsx(SegmentGroup_module.itemControl, className),
75
- ...props
74
+ ...props,
75
+ "data-slot": "segment-group-item-control"
76
76
  });
77
77
  });
78
78
  const SegmentGroup_SegmentGroupItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
79
79
  return /*#__PURE__*/ jsx(SegmentGroup.ItemText, {
80
80
  ref: ref,
81
- "data-slot": "segment-group-item-text",
82
81
  className: clsx(SegmentGroup_module.itemText, className),
83
- ...props
82
+ ...props,
83
+ "data-slot": "segment-group-item-text"
84
84
  });
85
85
  });
86
86
  const SegmentGroup_SegmentGroupIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
87
87
  return /*#__PURE__*/ jsx(SegmentGroup.Indicator, {
88
88
  ref: ref,
89
- "data-slot": "segment-group-indicator",
90
89
  className: clsx(SegmentGroup_module.indicator, className),
91
- ...props
90
+ ...props,
91
+ "data-slot": "segment-group-indicator"
92
92
  });
93
93
  });
94
94
  function SegmentGroupItems({ items }) {