@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.
- package/dist/components/accordion/Accordion.js +13 -13
- package/dist/components/alert/Alert.js +12 -12
- package/dist/components/angle-slider/AngleSlider.js +16 -16
- package/dist/components/avatar/Avatar.js +7 -7
- package/dist/components/button/Button_module.css +0 -1
- package/dist/components/card/Card.js +30 -30
- package/dist/components/card/Card_module.css +1 -1
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/Carousel.js +22 -22
- package/dist/components/chart/Chart.js +19 -19
- package/dist/components/checkbox/Checkbox.js +12 -12
- package/dist/components/clipboard/Clipboard.js +19 -18
- package/dist/components/collapsible/Collapsible.js +11 -11
- package/dist/components/color-picker/ColorPicker.js +47 -47
- package/dist/components/combobox/Combobox.js +31 -31
- package/dist/components/command-palette/CommandPalette.js +48 -48
- package/dist/components/container/Container_module.css +1 -1
- package/dist/components/date-input/DateInput.js +14 -14
- package/dist/components/date-picker/DatePicker.js +51 -51
- package/dist/components/dialog/Dialog.js +20 -20
- package/dist/components/drawer/Drawer.js +30 -30
- package/dist/components/editable/Editable.js +17 -17
- package/dist/components/empty/Empty.js +12 -12
- package/dist/components/field/Field.js +19 -19
- package/dist/components/fieldset/Fieldset.js +10 -10
- package/dist/components/file-upload/FileUpload.js +28 -28
- package/dist/components/floating-panel/FloatingPanel.d.ts +1 -1
- package/dist/components/floating-panel/FloatingPanel.js +22 -22
- package/dist/components/floating-panel/index.d.ts +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +1 -1
- package/dist/components/hover-card/HoverCard.js +11 -11
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/image-cropper/ImageCropper.js +14 -14
- package/dist/components/kbd/Kbd.js +4 -4
- package/dist/components/lightbox/Lightbox.js +25 -25
- package/dist/components/listbox/Listbox.js +31 -31
- package/dist/components/marquee/Marquee.js +12 -12
- package/dist/components/menu/Menu.js +41 -41
- package/dist/components/navigation-menu/NavigationMenu.js +24 -24
- package/dist/components/number-input/NumberInput.js +16 -16
- package/dist/components/pagination/Pagination.js +11 -11
- package/dist/components/password-input/PasswordInput.js +13 -13
- package/dist/components/pin-input/PinInput.js +11 -11
- package/dist/components/popover/Popover.js +25 -25
- package/dist/components/progress-circular/ProgressCircular.js +16 -16
- package/dist/components/progress-linear/ProgressLinear.js +14 -14
- package/dist/components/qr-code/QrCode.js +12 -12
- package/dist/components/radio-group/RadioGroup.js +14 -14
- package/dist/components/rating-group/RatingGroup.js +11 -11
- package/dist/components/segment-group/SegmentGroup.js +14 -14
- package/dist/components/select/Select.js +33 -33
- package/dist/components/sidebar/Sidebar.js +52 -44
- package/dist/components/signature-pad/SignaturePad.js +11 -11
- package/dist/components/slider/Slider.js +22 -22
- package/dist/components/split-button/SplitButton.d.ts +6 -6
- package/dist/components/split-button/SplitButton.js +18 -13
- package/dist/components/splitter/Splitter.js +9 -9
- package/dist/components/steps/Steps.js +23 -23
- package/dist/components/swap/Swap.js +6 -6
- package/dist/components/switch/Switch.js +9 -9
- package/dist/components/table/Table.js +23 -23
- package/dist/components/tabs/Tabs.js +12 -12
- package/dist/components/tags-input/TagsInput.js +20 -20
- package/dist/components/timer/Timer.js +14 -14
- package/dist/components/toast/Toast.js +8 -8
- package/dist/components/toc/Toc.js +19 -19
- package/dist/components/toggle/Toggle.js +4 -4
- package/dist/components/tooltip/Tooltip.js +11 -11
- package/dist/components/tour/Tour.js +25 -25
- package/dist/components/tree-view/TreeView.js +30 -30
- package/dist/styles/animations.css +8 -8
- package/package.json +1 -1
|
@@ -7,57 +7,57 @@ import ImageCropper_module from "./ImageCropper.module.js";
|
|
|
7
7
|
const ImageCropper_ImageCropperRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
8
8
|
return /*#__PURE__*/ jsx(ImageCropper.Root, {
|
|
9
9
|
ref: ref,
|
|
10
|
-
"data-slot": "image-cropper-root",
|
|
11
10
|
className: clsx(ImageCropper_module.root, className),
|
|
12
|
-
...props
|
|
11
|
+
...props,
|
|
12
|
+
"data-slot": "image-cropper-root"
|
|
13
13
|
});
|
|
14
14
|
});
|
|
15
15
|
const ImageCropper_ImageCropperRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
16
16
|
return /*#__PURE__*/ jsx(ImageCropper.RootProvider, {
|
|
17
17
|
ref: ref,
|
|
18
|
-
"data-slot": "image-cropper-root-provider",
|
|
19
18
|
className: clsx(ImageCropper_module.root, className),
|
|
20
|
-
...props
|
|
19
|
+
...props,
|
|
20
|
+
"data-slot": "image-cropper-root-provider"
|
|
21
21
|
});
|
|
22
22
|
});
|
|
23
23
|
const ImageCropper_ImageCropperViewport = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
24
24
|
return /*#__PURE__*/ jsx(ImageCropper.Viewport, {
|
|
25
25
|
ref: ref,
|
|
26
|
-
"data-slot": "image-cropper-viewport",
|
|
27
26
|
className: clsx(ImageCropper_module.viewport, className),
|
|
28
|
-
...props
|
|
27
|
+
...props,
|
|
28
|
+
"data-slot": "image-cropper-viewport"
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const ImageCropper_ImageCropperImage = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
32
32
|
return /*#__PURE__*/ jsx(ImageCropper.Image, {
|
|
33
33
|
ref: ref,
|
|
34
|
-
"data-slot": "image-cropper-image",
|
|
35
34
|
className: clsx(ImageCropper_module.image, className),
|
|
36
|
-
...props
|
|
35
|
+
...props,
|
|
36
|
+
"data-slot": "image-cropper-image"
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
const ImageCropper_ImageCropperSelection = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
40
40
|
return /*#__PURE__*/ jsx(ImageCropper.Selection, {
|
|
41
41
|
ref: ref,
|
|
42
|
-
"data-slot": "image-cropper-selection",
|
|
43
42
|
className: clsx(ImageCropper_module.selection, className),
|
|
44
|
-
...props
|
|
43
|
+
...props,
|
|
44
|
+
"data-slot": "image-cropper-selection"
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
const ImageCropper_ImageCropperGrid = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
48
48
|
return /*#__PURE__*/ jsx(ImageCropper.Grid, {
|
|
49
49
|
ref: ref,
|
|
50
|
-
"data-slot": "image-cropper-grid",
|
|
51
50
|
className: clsx(ImageCropper_module.grid, className),
|
|
52
|
-
...props
|
|
51
|
+
...props,
|
|
52
|
+
"data-slot": "image-cropper-grid"
|
|
53
53
|
});
|
|
54
54
|
});
|
|
55
55
|
const ImageCropper_ImageCropperHandle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
56
56
|
return /*#__PURE__*/ jsx(ImageCropper.Handle, {
|
|
57
57
|
ref: ref,
|
|
58
|
-
"data-slot": "image-cropper-handle",
|
|
59
58
|
className: clsx(ImageCropper_module.handle, className),
|
|
60
|
-
...props
|
|
59
|
+
...props,
|
|
60
|
+
"data-slot": "image-cropper-handle"
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
63
|
const ImageCropper_ImageCropperCropArea = /*#__PURE__*/ forwardRef(function({ gridClassName, handleClassName, ...props }, ref) {
|
|
@@ -6,22 +6,22 @@ import Kbd_module from "./Kbd.module.js";
|
|
|
6
6
|
const Kbd_KbdRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
7
7
|
return /*#__PURE__*/ jsx(ark.kbd, {
|
|
8
8
|
ref: ref,
|
|
9
|
+
...props,
|
|
9
10
|
"data-scope": "kbd",
|
|
10
11
|
"data-part": "root",
|
|
11
|
-
"data-slot": "kbd-root",
|
|
12
12
|
className: clsx(Kbd_module.root, className),
|
|
13
|
-
|
|
13
|
+
"data-slot": "kbd-root"
|
|
14
14
|
});
|
|
15
15
|
});
|
|
16
16
|
const Kbd_KbdGroupPart = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
17
17
|
return /*#__PURE__*/ jsx(ark.span, {
|
|
18
18
|
ref: ref,
|
|
19
|
+
...props,
|
|
19
20
|
role: "group",
|
|
20
21
|
"data-scope": "kbd",
|
|
21
22
|
"data-part": "group",
|
|
22
|
-
"data-slot": "kbd-group",
|
|
23
23
|
className: clsx(Kbd_module.group, className),
|
|
24
|
-
|
|
24
|
+
"data-slot": "kbd-group"
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
27
|
const Kbd = Object.assign(Kbd_KbdRoot, {
|
|
@@ -52,18 +52,18 @@ function LightboxRootProvider({ lazyMount = true, portalled, portalRef, unmountO
|
|
|
52
52
|
const Lightbox_LightboxTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
53
53
|
return /*#__PURE__*/ jsx(Dialog.Trigger, {
|
|
54
54
|
ref: ref,
|
|
55
|
-
"data-slot": "lightbox-trigger",
|
|
56
55
|
className: clsx(Lightbox_module.trigger, className),
|
|
57
|
-
...props
|
|
56
|
+
...props,
|
|
57
|
+
"data-slot": "lightbox-trigger"
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
const Lightbox_LightboxBackdrop = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
61
61
|
return /*#__PURE__*/ jsx(OverlayPortal, {
|
|
62
62
|
children: /*#__PURE__*/ jsx(Dialog.Backdrop, {
|
|
63
63
|
ref: ref,
|
|
64
|
-
"data-slot": "lightbox-backdrop",
|
|
65
64
|
className: clsx(Lightbox_module.backdrop, className),
|
|
66
|
-
...props
|
|
65
|
+
...props,
|
|
66
|
+
"data-slot": "lightbox-backdrop"
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -71,42 +71,42 @@ const Lightbox_LightboxPositioner = /*#__PURE__*/ forwardRef(function({ classNam
|
|
|
71
71
|
return /*#__PURE__*/ jsx(OverlayPortal, {
|
|
72
72
|
children: /*#__PURE__*/ jsx(Dialog.Positioner, {
|
|
73
73
|
ref: ref,
|
|
74
|
-
"data-slot": "lightbox-positioner",
|
|
75
74
|
className: clsx(Lightbox_module.positioner, className),
|
|
76
|
-
...props
|
|
75
|
+
...props,
|
|
76
|
+
"data-slot": "lightbox-positioner"
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
const Lightbox_LightboxContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
81
81
|
return /*#__PURE__*/ jsx(Dialog.Content, {
|
|
82
82
|
ref: ref,
|
|
83
|
-
"data-slot": "lightbox-content",
|
|
84
83
|
className: clsx(Lightbox_module.content, className),
|
|
85
|
-
...props
|
|
84
|
+
...props,
|
|
85
|
+
"data-slot": "lightbox-content"
|
|
86
86
|
});
|
|
87
87
|
});
|
|
88
88
|
const Lightbox_LightboxTitle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
89
89
|
return /*#__PURE__*/ jsx(Dialog.Title, {
|
|
90
90
|
ref: ref,
|
|
91
|
-
"data-slot": "lightbox-title",
|
|
92
91
|
className: clsx(Lightbox_module.title, className),
|
|
93
|
-
...props
|
|
92
|
+
...props,
|
|
93
|
+
"data-slot": "lightbox-title"
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
const Lightbox_LightboxDescription = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
97
97
|
return /*#__PURE__*/ jsx(Dialog.Description, {
|
|
98
98
|
ref: ref,
|
|
99
|
-
"data-slot": "lightbox-description",
|
|
100
99
|
className: clsx(Lightbox_module.description, className),
|
|
101
|
-
...props
|
|
100
|
+
...props,
|
|
101
|
+
"data-slot": "lightbox-description"
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
104
|
const Lightbox_LightboxCloseTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
105
105
|
return /*#__PURE__*/ jsx(Dialog.CloseTrigger, {
|
|
106
106
|
ref: ref,
|
|
107
|
-
"data-slot": "lightbox-close-trigger",
|
|
108
107
|
className: className,
|
|
109
|
-
...props
|
|
108
|
+
...props,
|
|
109
|
+
"data-slot": "lightbox-close-trigger"
|
|
110
110
|
});
|
|
111
111
|
});
|
|
112
112
|
const Lightbox_LightboxCloseIcon = /*#__PURE__*/ forwardRef(function({ className, children, 'aria-label': ariaLabel = DEFAULT_CLOSE_LABEL, ...props }, ref) {
|
|
@@ -132,43 +132,43 @@ const Lightbox_LightboxImage = /*#__PURE__*/ forwardRef(function({ className, cl
|
|
|
132
132
|
};
|
|
133
133
|
return /*#__PURE__*/ jsx("img", {
|
|
134
134
|
ref: ref,
|
|
135
|
-
"data-slot": "lightbox-image",
|
|
136
|
-
"data-close-on-click": closeOnClick ? '' : void 0,
|
|
137
135
|
className: clsx(Lightbox_module.image, className),
|
|
138
136
|
onClick: handleClick,
|
|
139
|
-
...props
|
|
137
|
+
...props,
|
|
138
|
+
"data-close-on-click": closeOnClick ? '' : void 0,
|
|
139
|
+
"data-slot": "lightbox-image"
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
142
|
const Lightbox_LightboxGallery = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
143
143
|
return /*#__PURE__*/ jsx(ark.div, {
|
|
144
144
|
ref: ref,
|
|
145
|
-
"data-slot": "lightbox-gallery",
|
|
146
145
|
className: clsx(Lightbox_module.gallery, className),
|
|
147
|
-
...props
|
|
146
|
+
...props,
|
|
147
|
+
"data-slot": "lightbox-gallery"
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
150
|
const Lightbox_LightboxHeader = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
151
151
|
return /*#__PURE__*/ jsx(ark.div, {
|
|
152
152
|
ref: ref,
|
|
153
|
-
"data-slot": "lightbox-header",
|
|
154
153
|
className: clsx(Lightbox_module.header, className),
|
|
155
|
-
...props
|
|
154
|
+
...props,
|
|
155
|
+
"data-slot": "lightbox-header"
|
|
156
156
|
});
|
|
157
157
|
});
|
|
158
158
|
const Lightbox_LightboxBody = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
159
159
|
return /*#__PURE__*/ jsx(ark.div, {
|
|
160
160
|
ref: ref,
|
|
161
|
-
"data-slot": "lightbox-body",
|
|
162
161
|
className: clsx(Lightbox_module.body, className),
|
|
163
|
-
...props
|
|
162
|
+
...props,
|
|
163
|
+
"data-slot": "lightbox-body"
|
|
164
164
|
});
|
|
165
165
|
});
|
|
166
166
|
const Lightbox_LightboxFooter = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
167
167
|
return /*#__PURE__*/ jsx(ark.div, {
|
|
168
168
|
ref: ref,
|
|
169
|
-
"data-slot": "lightbox-footer",
|
|
170
169
|
className: clsx(Lightbox_module.footer, className),
|
|
171
|
-
...props
|
|
170
|
+
...props,
|
|
171
|
+
"data-slot": "lightbox-footer"
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
174
|
function LightboxBind({ onImageSelect, selector, rootRef, rootSelector }) {
|
|
@@ -10,40 +10,40 @@ import Listbox_module from "./Listbox.module.js";
|
|
|
10
10
|
const Listbox_ListboxRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
11
11
|
return /*#__PURE__*/ jsx(Listbox.Root, {
|
|
12
12
|
ref: ref,
|
|
13
|
-
"data-slot": "listbox-root",
|
|
14
13
|
className: clsx(Listbox_module.root, className),
|
|
15
|
-
...props
|
|
14
|
+
...props,
|
|
15
|
+
"data-slot": "listbox-root"
|
|
16
16
|
});
|
|
17
17
|
});
|
|
18
18
|
const Listbox_ListboxRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
19
19
|
return /*#__PURE__*/ jsx(Listbox.RootProvider, {
|
|
20
20
|
ref: ref,
|
|
21
|
-
"data-slot": "listbox-root-provider",
|
|
22
21
|
className: clsx(Listbox_module.root, className),
|
|
23
|
-
...props
|
|
22
|
+
...props,
|
|
23
|
+
"data-slot": "listbox-root-provider"
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
26
|
const Listbox_ListboxLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
27
27
|
return /*#__PURE__*/ jsx(Listbox.Label, {
|
|
28
28
|
ref: ref,
|
|
29
|
-
"data-slot": "listbox-label",
|
|
30
29
|
className: clsx(Listbox_module.label, className),
|
|
31
|
-
...props
|
|
30
|
+
...props,
|
|
31
|
+
"data-slot": "listbox-label"
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
34
|
const Listbox_ListboxInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
35
35
|
return /*#__PURE__*/ jsx(Listbox.Input, {
|
|
36
36
|
ref: ref,
|
|
37
|
-
"data-slot": "listbox-input",
|
|
38
37
|
className: clsx(Listbox_module.input, className),
|
|
39
|
-
...props
|
|
38
|
+
...props,
|
|
39
|
+
"data-slot": "listbox-input"
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
function ListboxFilter({ className, children, ...props }) {
|
|
43
43
|
return /*#__PURE__*/ jsxs("div", {
|
|
44
|
-
"data-slot": "listbox-filter",
|
|
45
44
|
className: clsx(Listbox_module.filter, className),
|
|
46
45
|
...props,
|
|
46
|
+
"data-slot": "listbox-filter",
|
|
47
47
|
children: [
|
|
48
48
|
/*#__PURE__*/ jsx(SearchIcon, {
|
|
49
49
|
"data-slot": "listbox-filter-icon",
|
|
@@ -56,101 +56,101 @@ function ListboxFilter({ className, children, ...props }) {
|
|
|
56
56
|
const Listbox_ListboxClearTrigger = /*#__PURE__*/ forwardRef(function({ 'aria-label': ariaLabel = 'Clear search', className, children, type = 'button', ...props }, ref) {
|
|
57
57
|
return /*#__PURE__*/ jsx(CloseButton.Root, {
|
|
58
58
|
ref: ref,
|
|
59
|
-
"data-slot": "listbox-clear-trigger",
|
|
60
59
|
type: type,
|
|
61
60
|
"aria-label": ariaLabel,
|
|
62
61
|
className: clsx(Listbox_module.clearTrigger, className),
|
|
63
62
|
...props,
|
|
63
|
+
"data-slot": "listbox-clear-trigger",
|
|
64
64
|
children: children
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
const Listbox_ListboxContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
68
68
|
return /*#__PURE__*/ jsx(Listbox.Content, {
|
|
69
69
|
ref: ref,
|
|
70
|
-
"data-slot": "listbox-content",
|
|
71
70
|
className: clsx(Listbox_module.content, className),
|
|
72
|
-
...props
|
|
71
|
+
...props,
|
|
72
|
+
"data-slot": "listbox-content"
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
75
|
const Listbox_ListboxEmpty = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
76
76
|
return /*#__PURE__*/ jsx(Listbox.Empty, {
|
|
77
77
|
ref: ref,
|
|
78
|
-
"data-slot": "listbox-empty",
|
|
79
78
|
className: clsx(Listbox_module.empty, className),
|
|
80
|
-
...props
|
|
79
|
+
...props,
|
|
80
|
+
"data-slot": "listbox-empty"
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
const Listbox_ListboxItemGroup = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
84
84
|
return /*#__PURE__*/ jsx(Listbox.ItemGroup, {
|
|
85
85
|
ref: ref,
|
|
86
|
-
"data-slot": "listbox-item-group",
|
|
87
86
|
className: clsx(Listbox_module.itemGroup, className),
|
|
88
|
-
...props
|
|
87
|
+
...props,
|
|
88
|
+
"data-slot": "listbox-item-group"
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
const Listbox_ListboxItemGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
92
92
|
return /*#__PURE__*/ jsx(Listbox.ItemGroupLabel, {
|
|
93
93
|
ref: ref,
|
|
94
|
-
"data-slot": "listbox-item-group-label",
|
|
95
94
|
className: clsx(Listbox_module.itemGroupLabel, className),
|
|
96
|
-
...props
|
|
95
|
+
...props,
|
|
96
|
+
"data-slot": "listbox-item-group-label"
|
|
97
97
|
});
|
|
98
98
|
});
|
|
99
99
|
const Listbox_ListboxItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
100
100
|
return /*#__PURE__*/ jsx(Listbox.Item, {
|
|
101
101
|
ref: ref,
|
|
102
|
-
"data-slot": "listbox-item",
|
|
103
102
|
className: clsx(Listbox_module.item, className),
|
|
104
|
-
...props
|
|
103
|
+
...props,
|
|
104
|
+
"data-slot": "listbox-item"
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
107
|
const Listbox_ListboxItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
108
108
|
return /*#__PURE__*/ jsx(Listbox.ItemText, {
|
|
109
109
|
ref: ref,
|
|
110
|
-
"data-slot": "listbox-item-text",
|
|
111
110
|
className: clsx(Listbox_module.itemText, className),
|
|
112
|
-
...props
|
|
111
|
+
...props,
|
|
112
|
+
"data-slot": "listbox-item-text"
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
const Listbox_ListboxItemIndicator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
|
|
116
116
|
return /*#__PURE__*/ jsx(Listbox.ItemIndicator, {
|
|
117
117
|
ref: ref,
|
|
118
|
-
"data-slot": "listbox-item-indicator",
|
|
119
118
|
className: clsx(Listbox_module.itemIndicator, className),
|
|
120
119
|
...props,
|
|
120
|
+
"data-slot": "listbox-item-indicator",
|
|
121
121
|
children: children ?? /*#__PURE__*/ jsx(CheckIcon, {})
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
124
|
const Listbox_ListboxValueText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
125
125
|
return /*#__PURE__*/ jsx(Listbox.ValueText, {
|
|
126
126
|
ref: ref,
|
|
127
|
-
"data-slot": "listbox-value-text",
|
|
128
127
|
className: clsx(Listbox_module.valueText, className),
|
|
129
|
-
...props
|
|
128
|
+
...props,
|
|
129
|
+
"data-slot": "listbox-value-text"
|
|
130
130
|
});
|
|
131
131
|
});
|
|
132
132
|
const Listbox_ListboxItemTextContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
133
133
|
return /*#__PURE__*/ jsx(ark.span, {
|
|
134
134
|
ref: ref,
|
|
135
|
-
"data-slot": "listbox-item-text-content",
|
|
136
135
|
className: clsx(Listbox_module.itemTextContent, className),
|
|
137
|
-
...props
|
|
136
|
+
...props,
|
|
137
|
+
"data-slot": "listbox-item-text-content"
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
140
|
const Listbox_ListboxItemTextIcon = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
141
141
|
return /*#__PURE__*/ jsx(ark.span, {
|
|
142
142
|
ref: ref,
|
|
143
|
-
"data-slot": "listbox-item-text-icon",
|
|
144
143
|
className: clsx(Listbox_module.itemTextIcon, className),
|
|
145
|
-
...props
|
|
144
|
+
...props,
|
|
145
|
+
"data-slot": "listbox-item-text-icon"
|
|
146
146
|
});
|
|
147
147
|
});
|
|
148
148
|
const Listbox_ListboxItemTextLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
149
149
|
return /*#__PURE__*/ jsx(ark.span, {
|
|
150
150
|
ref: ref,
|
|
151
|
-
"data-slot": "listbox-item-text-label",
|
|
152
151
|
className: clsx(Listbox_module.itemTextLabel, className),
|
|
153
|
-
...props
|
|
152
|
+
...props,
|
|
153
|
+
"data-slot": "listbox-item-text-label"
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
156
|
const Listbox_Listbox = Object.assign(Listbox_ListboxRoot, {
|
|
@@ -6,49 +6,49 @@ import Marquee_module from "./Marquee.module.js";
|
|
|
6
6
|
const Marquee_MarqueeRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
7
7
|
return /*#__PURE__*/ jsx(Marquee.Root, {
|
|
8
8
|
ref: ref,
|
|
9
|
-
"data-slot": "marquee-root",
|
|
10
9
|
className: clsx(Marquee_module.root, className),
|
|
11
|
-
...props
|
|
10
|
+
...props,
|
|
11
|
+
"data-slot": "marquee-root"
|
|
12
12
|
});
|
|
13
13
|
});
|
|
14
14
|
const Marquee_MarqueeRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
15
15
|
return /*#__PURE__*/ jsx(Marquee.RootProvider, {
|
|
16
16
|
ref: ref,
|
|
17
|
-
"data-slot": "marquee-root-provider",
|
|
18
17
|
className: clsx(Marquee_module.root, className),
|
|
19
|
-
...props
|
|
18
|
+
...props,
|
|
19
|
+
"data-slot": "marquee-root-provider"
|
|
20
20
|
});
|
|
21
21
|
});
|
|
22
22
|
const Marquee_MarqueeViewport = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
23
23
|
return /*#__PURE__*/ jsx(Marquee.Viewport, {
|
|
24
24
|
ref: ref,
|
|
25
|
-
"data-slot": "marquee-viewport",
|
|
26
25
|
className: clsx(Marquee_module.viewport, className),
|
|
27
|
-
...props
|
|
26
|
+
...props,
|
|
27
|
+
"data-slot": "marquee-viewport"
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
const Marquee_MarqueeContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
31
31
|
return /*#__PURE__*/ jsx(Marquee.Content, {
|
|
32
32
|
ref: ref,
|
|
33
|
-
"data-slot": "marquee-content",
|
|
34
33
|
className: clsx(Marquee_module.content, className),
|
|
35
|
-
...props
|
|
34
|
+
...props,
|
|
35
|
+
"data-slot": "marquee-content"
|
|
36
36
|
});
|
|
37
37
|
});
|
|
38
38
|
const Marquee_MarqueeItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
39
39
|
return /*#__PURE__*/ jsx(Marquee.Item, {
|
|
40
40
|
ref: ref,
|
|
41
|
-
"data-slot": "marquee-item",
|
|
42
41
|
className: clsx(Marquee_module.item, className),
|
|
43
|
-
...props
|
|
42
|
+
...props,
|
|
43
|
+
"data-slot": "marquee-item"
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
const Marquee_MarqueeEdge = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
47
47
|
return /*#__PURE__*/ jsx(Marquee.Edge, {
|
|
48
48
|
ref: ref,
|
|
49
|
-
"data-slot": "marquee-edge",
|
|
50
49
|
className: clsx(Marquee_module.edge, className),
|
|
51
|
-
...props
|
|
50
|
+
...props,
|
|
51
|
+
"data-slot": "marquee-edge"
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
const Marquee_Marquee = Object.assign(Marquee_MarqueeRoot, {
|