@wix/site-ui 1.188.0 → 1.190.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/AlertDialog/index.js +7 -17
- package/dist/Autocomplete/index.js +16 -35
- package/dist/Avatar/index.js +3 -9
- package/dist/Collapsible/index.js +3 -9
- package/dist/Combobox/index.js +21 -41
- package/dist/ContextMenu/index.js +16 -33
- package/dist/Drawer/index.js +11 -23
- package/dist/Fieldset/index.js +2 -7
- package/dist/Form/index.js +1 -5
- package/dist/Menu/index.js +17 -35
- package/dist/Menubar/index.js +1 -5
- package/dist/Meter/index.js +5 -13
- package/dist/Popover/index.js +9 -20
- package/dist/PreviewCard/index.js +6 -8
- package/dist/Progress/index.js +5 -13
- package/dist/ScrollArea/index.js +6 -14
- package/dist/Slider/index.js +7 -17
- package/dist/Switch/index.js +2 -7
- package/dist/Toast/index.js +11 -1
- package/dist/Toolbar/index.js +6 -15
- package/dist/Tooltip/index.js +5 -12
- package/package.json +2 -2
- package/dist/AlertDialog/index.css +0 -60
- package/dist/Autocomplete/index.css +0 -222
- package/dist/Avatar/index.css +0 -32
- package/dist/Collapsible/index.css +0 -45
- package/dist/Combobox/index.css +0 -253
- package/dist/ContextMenu/index.css +0 -213
- package/dist/Drawer/index.css +0 -101
- package/dist/Fieldset/index.css +0 -24
- package/dist/Form/index.css +0 -7
- package/dist/Menu/index.css +0 -213
- package/dist/Menubar/index.css +0 -12
- package/dist/Meter/index.css +0 -38
- package/dist/Popover/index.css +0 -83
- package/dist/PreviewCard/index.css +0 -2
- package/dist/Progress/index.css +0 -36
- package/dist/ScrollArea/index.css +0 -47
- package/dist/Slider/index.css +0 -81
- package/dist/Switch/index.css +0 -60
- package/dist/Toolbar/index.css +0 -106
- package/dist/Tooltip/index.css +0 -84
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { DialogClose_DialogClose, DialogTrigger_DialogTrigger, DialogTitle_DialogTitle, DialogDescription_DialogDescription, useRenderDialogRoot, DialogStore, DialogHandle, DialogViewport_DialogViewport, DialogPortal_DialogPortal } from "../6270.js";
|
|
4
3
|
import { DialogPopup_DialogPopup, DialogBackdrop_DialogBackdrop } from "../9352.js";
|
|
5
4
|
import * as __rspack_external_react from "react";
|
|
@@ -22,49 +21,40 @@ class AlertDialogHandle extends DialogHandle {
|
|
|
22
21
|
function createAlertDialogHandle() {
|
|
23
22
|
return new AlertDialogHandle();
|
|
24
23
|
}
|
|
25
|
-
const AlertDialog_module = {
|
|
26
|
-
trigger: "trigger-OrOoKa",
|
|
27
|
-
backdrop: "backdrop-uiBfeV",
|
|
28
|
-
viewport: "viewport-rOzJs7",
|
|
29
|
-
popup: "popup-L9x90S",
|
|
30
|
-
close: "close-ws9ziC",
|
|
31
|
-
title: "title-IeDaIJ",
|
|
32
|
-
description: "description-imwSAm"
|
|
33
|
-
};
|
|
34
24
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogBackdrop_DialogBackdrop, {
|
|
35
25
|
ref: ref,
|
|
36
|
-
className:
|
|
26
|
+
className: className,
|
|
37
27
|
...props
|
|
38
28
|
}));
|
|
39
29
|
const Close = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogClose_DialogClose, {
|
|
40
30
|
ref: ref,
|
|
41
|
-
className:
|
|
31
|
+
className: className,
|
|
42
32
|
...props
|
|
43
33
|
}));
|
|
44
34
|
const Description = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogDescription_DialogDescription, {
|
|
45
35
|
ref: ref,
|
|
46
|
-
className:
|
|
36
|
+
className: className,
|
|
47
37
|
...props
|
|
48
38
|
}));
|
|
49
39
|
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogPopup_DialogPopup, {
|
|
50
40
|
ref: ref,
|
|
51
|
-
className:
|
|
41
|
+
className: className,
|
|
52
42
|
...props
|
|
53
43
|
}));
|
|
54
44
|
const Title = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogTitle_DialogTitle, {
|
|
55
45
|
ref: ref,
|
|
56
|
-
className:
|
|
46
|
+
className: className,
|
|
57
47
|
...props
|
|
58
48
|
}));
|
|
59
49
|
const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DialogViewport_DialogViewport, {
|
|
60
50
|
ref: ref,
|
|
61
|
-
className:
|
|
51
|
+
className: className,
|
|
62
52
|
...props
|
|
63
53
|
}));
|
|
64
54
|
function Trigger({ className, ...props }) {
|
|
65
55
|
return /*#__PURE__*/ jsx(AlertDialogTrigger, {
|
|
66
56
|
...props,
|
|
67
|
-
className:
|
|
57
|
+
className: className
|
|
68
58
|
});
|
|
69
59
|
}
|
|
70
60
|
const AlertDialog = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { ComboboxArrow_ComboboxArrow, ComboboxPositioner_ComboboxPositioner, ComboboxRow_ComboboxRow, ComboboxInputGroup_ComboboxInputGroup, AriaCombobox, ComboboxCollection, ComboboxBackdrop_ComboboxBackdrop, ComboboxClear_ComboboxClear, ComboboxIcon_ComboboxIcon, ComboboxTrigger_ComboboxTrigger, ComboboxGroup_ComboboxGroup, ComboboxGroupLabel_ComboboxGroupLabel, ComboboxPopup_ComboboxPopup, useCoreFilter, ComboboxStatus_ComboboxStatus, ComboboxInput_ComboboxInput, ComboboxEmpty_ComboboxEmpty, ComboboxPortal_ComboboxPortal, useComboboxInputValueContext, ComboboxItem_ComboboxItem, ComboboxList_ComboboxList } from "../6089.js";
|
|
4
3
|
import { pointer } from "../2418.js";
|
|
5
4
|
import { stringifyAsLabel } from "../7366.js";
|
|
@@ -76,103 +75,85 @@ function AutocompleteValue(props) {
|
|
|
76
75
|
children: returnValue
|
|
77
76
|
});
|
|
78
77
|
}
|
|
79
|
-
const Autocomplete_module = {
|
|
80
|
-
trigger: "trigger-nY0jd8",
|
|
81
|
-
inputGroup: "inputGroup-II6FAN",
|
|
82
|
-
input: "input-k82Te5",
|
|
83
|
-
icon: "icon-xxqTKh",
|
|
84
|
-
clear: "clear-xRE3Jo",
|
|
85
|
-
list: "list-D5iucO",
|
|
86
|
-
status: "status-xcX72u",
|
|
87
|
-
backdrop: "backdrop-sjLHGs",
|
|
88
|
-
positioner: "positioner-VKb66C",
|
|
89
|
-
popup: "popup-w30icg",
|
|
90
|
-
arrow: "arrow-_1k6Kj",
|
|
91
|
-
group: "group-RG2nP6",
|
|
92
|
-
groupLabel: "groupLabel-mgGSHG",
|
|
93
|
-
row: "row-ay0VrR",
|
|
94
|
-
item: "item-MXqW1H",
|
|
95
|
-
empty: "empty-P2WjlU"
|
|
96
|
-
};
|
|
97
78
|
const InputGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AutocompleteInputGroup, {
|
|
98
79
|
ref: ref,
|
|
99
|
-
className:
|
|
80
|
+
className: className,
|
|
100
81
|
...props
|
|
101
82
|
}));
|
|
102
83
|
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AutocompleteItem, {
|
|
103
84
|
ref: ref,
|
|
104
|
-
className:
|
|
85
|
+
className: className,
|
|
105
86
|
...props
|
|
106
87
|
}));
|
|
107
88
|
const Input = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxInput_ComboboxInput, {
|
|
108
89
|
ref: ref,
|
|
109
|
-
className:
|
|
90
|
+
className: className,
|
|
110
91
|
...props
|
|
111
92
|
}));
|
|
112
93
|
const Icon = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxIcon_ComboboxIcon, {
|
|
113
94
|
ref: ref,
|
|
114
|
-
className:
|
|
95
|
+
className: className,
|
|
115
96
|
...props
|
|
116
97
|
}));
|
|
117
98
|
const Clear = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxClear_ComboboxClear, {
|
|
118
99
|
ref: ref,
|
|
119
|
-
className:
|
|
100
|
+
className: className,
|
|
120
101
|
...props
|
|
121
102
|
}));
|
|
122
103
|
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxList_ComboboxList, {
|
|
123
104
|
ref: ref,
|
|
124
|
-
className:
|
|
105
|
+
className: className,
|
|
125
106
|
...props
|
|
126
107
|
}));
|
|
127
108
|
const Status = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxStatus_ComboboxStatus, {
|
|
128
109
|
ref: ref,
|
|
129
|
-
className:
|
|
110
|
+
className: className,
|
|
130
111
|
...props
|
|
131
112
|
}));
|
|
132
113
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxBackdrop_ComboboxBackdrop, {
|
|
133
114
|
ref: ref,
|
|
134
|
-
className:
|
|
115
|
+
className: className,
|
|
135
116
|
...props
|
|
136
117
|
}));
|
|
137
118
|
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxPositioner_ComboboxPositioner, {
|
|
138
119
|
ref: ref,
|
|
139
|
-
className:
|
|
120
|
+
className: className,
|
|
140
121
|
...props
|
|
141
122
|
}));
|
|
142
123
|
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxPopup_ComboboxPopup, {
|
|
143
124
|
ref: ref,
|
|
144
|
-
className:
|
|
125
|
+
className: className,
|
|
145
126
|
...props
|
|
146
127
|
}));
|
|
147
128
|
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxArrow_ComboboxArrow, {
|
|
148
129
|
ref: ref,
|
|
149
|
-
className:
|
|
130
|
+
className: className,
|
|
150
131
|
...props
|
|
151
132
|
}));
|
|
152
133
|
const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxGroup_ComboboxGroup, {
|
|
153
134
|
ref: ref,
|
|
154
|
-
className:
|
|
135
|
+
className: className,
|
|
155
136
|
...props
|
|
156
137
|
}));
|
|
157
138
|
const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxGroupLabel_ComboboxGroupLabel, {
|
|
158
139
|
ref: ref,
|
|
159
|
-
className:
|
|
140
|
+
className: className,
|
|
160
141
|
...props
|
|
161
142
|
}));
|
|
162
143
|
const Row = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxRow_ComboboxRow, {
|
|
163
144
|
ref: ref,
|
|
164
|
-
className:
|
|
145
|
+
className: className,
|
|
165
146
|
...props
|
|
166
147
|
}));
|
|
167
148
|
const Empty = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxEmpty_ComboboxEmpty, {
|
|
168
149
|
ref: ref,
|
|
169
|
-
className:
|
|
150
|
+
className: className,
|
|
170
151
|
...props
|
|
171
152
|
}));
|
|
172
153
|
function Trigger({ className, ...props }) {
|
|
173
154
|
return /*#__PURE__*/ jsx(AutocompleteTrigger, {
|
|
174
155
|
...props,
|
|
175
|
-
className:
|
|
156
|
+
className: className
|
|
176
157
|
});
|
|
177
158
|
}
|
|
178
159
|
const Autocomplete = {
|
package/dist/Avatar/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { NOOP, useRenderElement, esm_formatErrorMessage } from "../8272.js";
|
|
4
3
|
import { useIsoLayoutEffect } from "../6499.js";
|
|
5
4
|
import { transitionStatusMapping, useOpenChangeComplete } from "../9369.js";
|
|
@@ -146,14 +145,9 @@ const AvatarFallback_AvatarFallback = /*#__PURE__*/ __rspack_external_react.forw
|
|
|
146
145
|
return element;
|
|
147
146
|
});
|
|
148
147
|
if ("production" !== process.env.NODE_ENV) AvatarFallback_AvatarFallback.displayName = "AvatarFallback";
|
|
149
|
-
const Avatar_module = {
|
|
150
|
-
root: "root-uFk_6F",
|
|
151
|
-
image: "image-i3BrFP",
|
|
152
|
-
fallback: "fallback-r0pagw"
|
|
153
|
-
};
|
|
154
148
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, size, style, ...props }, ref)=>/*#__PURE__*/ jsx(AvatarRoot_AvatarRoot, {
|
|
155
149
|
ref: ref,
|
|
156
|
-
className:
|
|
150
|
+
className: className,
|
|
157
151
|
style: {
|
|
158
152
|
'--avatar-size': 'number' == typeof size ? `${size}px` : size,
|
|
159
153
|
...style
|
|
@@ -162,12 +156,12 @@ const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, size
|
|
|
162
156
|
}));
|
|
163
157
|
const Image = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AvatarImage_AvatarImage, {
|
|
164
158
|
ref: ref,
|
|
165
|
-
className:
|
|
159
|
+
className: className,
|
|
166
160
|
...props
|
|
167
161
|
}));
|
|
168
162
|
const Fallback = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(AvatarFallback_AvatarFallback, {
|
|
169
163
|
ref: ref,
|
|
170
|
-
className:
|
|
164
|
+
className: className,
|
|
171
165
|
...props
|
|
172
166
|
}));
|
|
173
167
|
const AvatarSize = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { CollapsibleRootContext, useCollapsibleRootContext, collapsibleOpenStateMapping, triggerOpenStateMapping, useCollapsiblePanel, useCollapsibleRoot } from "../8052.js";
|
|
4
3
|
import { transitionStatusMapping } from "../9369.js";
|
|
5
4
|
import { useStableCallback } from "../7541.js";
|
|
@@ -156,24 +155,19 @@ const CollapsiblePanel_CollapsiblePanel = /*#__PURE__*/ __rspack_external_react.
|
|
|
156
155
|
return element;
|
|
157
156
|
});
|
|
158
157
|
if ("production" !== process.env.NODE_ENV) CollapsiblePanel_CollapsiblePanel.displayName = "CollapsiblePanel";
|
|
159
|
-
const Collapsible_module = {
|
|
160
|
-
root: "root-D02Wtj",
|
|
161
|
-
trigger: "trigger-jzj48r",
|
|
162
|
-
panel: "panel-TIli5f"
|
|
163
|
-
};
|
|
164
158
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(CollapsibleRoot_CollapsibleRoot, {
|
|
165
159
|
ref: ref,
|
|
166
|
-
className:
|
|
160
|
+
className: className,
|
|
167
161
|
...props
|
|
168
162
|
}));
|
|
169
163
|
const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(CollapsibleTrigger_CollapsibleTrigger, {
|
|
170
164
|
ref: ref,
|
|
171
|
-
className:
|
|
165
|
+
className: className,
|
|
172
166
|
...props
|
|
173
167
|
}));
|
|
174
168
|
const Panel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(CollapsiblePanel_CollapsiblePanel, {
|
|
175
169
|
ref: ref,
|
|
176
|
-
className:
|
|
170
|
+
className: className,
|
|
177
171
|
...props
|
|
178
172
|
}));
|
|
179
173
|
const Collapsible = {
|
package/dist/Combobox/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { useFieldRootContext, fieldValidityMapping } from "../1477.js";
|
|
4
3
|
import { selectors, ComboboxArrow_ComboboxArrow, handleInputPress, useComboboxItemContext, AriaCombobox, ComboboxInputGroup_ComboboxInputGroup, ComboboxPositioner_ComboboxPositioner, useComboboxRootContext, useComboboxChipsContext, ComboboxBackdrop_ComboboxBackdrop, ComboboxRow_ComboboxRow, ComboboxIcon_ComboboxIcon, ComboboxClear_ComboboxClear, ComboboxCollection, ComboboxTrigger_ComboboxTrigger, ComboboxGroup_ComboboxGroup, ComboboxGroupLabel_ComboboxGroupLabel, ComboboxStatus_ComboboxStatus, ComboboxPopup_ComboboxPopup, ComboboxInput_ComboboxInput, ComboboxEmpty_ComboboxEmpty, ComboboxPortal_ComboboxPortal, ComboboxChipsContext, ComboboxList_ComboboxList, ComboboxItem_ComboboxItem } from "../6089.js";
|
|
5
4
|
import { useStore } from "../2445.js";
|
|
@@ -326,128 +325,109 @@ function ComboboxValue(props) {
|
|
|
326
325
|
children: children
|
|
327
326
|
});
|
|
328
327
|
}
|
|
329
|
-
const Combobox_module = {
|
|
330
|
-
label: "label-AxhKN1",
|
|
331
|
-
inputGroup: "inputGroup-j4QBzY",
|
|
332
|
-
input: "input-V1lew7",
|
|
333
|
-
trigger: "trigger-d9xFPE",
|
|
334
|
-
icon: "icon-sFiTxy",
|
|
335
|
-
positioner: "positioner-Va3ay5",
|
|
336
|
-
popup: "popup-u5vEt9",
|
|
337
|
-
list: "list-du0h4z",
|
|
338
|
-
groupLabel: "groupLabel-fj4SAo",
|
|
339
|
-
item: "item-cRAzQU",
|
|
340
|
-
itemIndicator: "itemIndicator-vKAwkz",
|
|
341
|
-
chips: "chips-XV1Ctk",
|
|
342
|
-
chip: "chip-YCMHpQ",
|
|
343
|
-
chipRemove: "chipRemove-VYdSNc",
|
|
344
|
-
row: "row-tXxIj8",
|
|
345
|
-
empty: "empty-ypPHaj",
|
|
346
|
-
clear: "clear-UgLOma"
|
|
347
|
-
};
|
|
348
328
|
const Label = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxLabel_ComboboxLabel, {
|
|
349
329
|
ref: ref,
|
|
350
|
-
className:
|
|
330
|
+
className: className,
|
|
351
331
|
...props
|
|
352
332
|
}));
|
|
353
333
|
const Input = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxInput_ComboboxInput, {
|
|
354
334
|
ref: ref,
|
|
355
|
-
className:
|
|
335
|
+
className: className,
|
|
356
336
|
...props
|
|
357
337
|
}));
|
|
358
338
|
const InputGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxInputGroup_ComboboxInputGroup, {
|
|
359
339
|
ref: ref,
|
|
360
|
-
className:
|
|
340
|
+
className: className,
|
|
361
341
|
...props
|
|
362
342
|
}));
|
|
363
343
|
const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxTrigger_ComboboxTrigger, {
|
|
364
344
|
ref: ref,
|
|
365
|
-
className:
|
|
345
|
+
className: className,
|
|
366
346
|
...props
|
|
367
347
|
}));
|
|
368
348
|
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxList_ComboboxList, {
|
|
369
349
|
ref: ref,
|
|
370
|
-
className:
|
|
350
|
+
className: className,
|
|
371
351
|
...props
|
|
372
352
|
}));
|
|
373
353
|
const Status = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxStatus_ComboboxStatus, {
|
|
374
354
|
ref: ref,
|
|
375
|
-
className:
|
|
355
|
+
className: className,
|
|
376
356
|
...props
|
|
377
357
|
}));
|
|
378
358
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxBackdrop_ComboboxBackdrop, {
|
|
379
359
|
ref: ref,
|
|
380
|
-
className:
|
|
360
|
+
className: className,
|
|
381
361
|
...props
|
|
382
362
|
}));
|
|
383
363
|
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxPositioner_ComboboxPositioner, {
|
|
384
364
|
ref: ref,
|
|
385
|
-
className:
|
|
365
|
+
className: className,
|
|
386
366
|
...props
|
|
387
367
|
}));
|
|
388
368
|
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxPopup_ComboboxPopup, {
|
|
389
369
|
ref: ref,
|
|
390
|
-
className:
|
|
370
|
+
className: className,
|
|
391
371
|
...props
|
|
392
372
|
}));
|
|
393
373
|
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxArrow_ComboboxArrow, {
|
|
394
374
|
ref: ref,
|
|
395
|
-
className:
|
|
375
|
+
className: className,
|
|
396
376
|
...props
|
|
397
377
|
}));
|
|
398
378
|
const Icon = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxIcon_ComboboxIcon, {
|
|
399
379
|
ref: ref,
|
|
400
|
-
className:
|
|
380
|
+
className: className,
|
|
401
381
|
...props
|
|
402
382
|
}));
|
|
403
383
|
const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxGroup_ComboboxGroup, {
|
|
404
384
|
ref: ref,
|
|
405
|
-
className:
|
|
385
|
+
className: className,
|
|
406
386
|
...props
|
|
407
387
|
}));
|
|
408
388
|
const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxGroupLabel_ComboboxGroupLabel, {
|
|
409
389
|
ref: ref,
|
|
410
|
-
className:
|
|
390
|
+
className: className,
|
|
411
391
|
...props
|
|
412
392
|
}));
|
|
413
393
|
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxItem_ComboboxItem, {
|
|
414
394
|
ref: ref,
|
|
415
|
-
className:
|
|
395
|
+
className: className,
|
|
416
396
|
...props
|
|
417
397
|
}));
|
|
418
398
|
const ItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxItemIndicator_ComboboxItemIndicator, {
|
|
419
399
|
ref: ref,
|
|
420
|
-
className:
|
|
400
|
+
className: className,
|
|
421
401
|
...props
|
|
422
402
|
}));
|
|
423
403
|
const Chips = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxChips_ComboboxChips, {
|
|
424
404
|
ref: ref,
|
|
425
|
-
className:
|
|
405
|
+
className: className,
|
|
426
406
|
...props
|
|
427
407
|
}));
|
|
428
408
|
const Chip = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxChip_ComboboxChip, {
|
|
429
409
|
ref: ref,
|
|
430
|
-
className:
|
|
410
|
+
className: className,
|
|
431
411
|
...props
|
|
432
412
|
}));
|
|
433
413
|
const ChipRemove = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxChipRemove_ComboboxChipRemove, {
|
|
434
414
|
ref: ref,
|
|
435
|
-
className:
|
|
415
|
+
className: className,
|
|
436
416
|
...props
|
|
437
417
|
}));
|
|
438
418
|
const Row = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxRow_ComboboxRow, {
|
|
439
419
|
ref: ref,
|
|
440
|
-
className:
|
|
420
|
+
className: className,
|
|
441
421
|
...props
|
|
442
422
|
}));
|
|
443
423
|
const Empty = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxEmpty_ComboboxEmpty, {
|
|
444
424
|
ref: ref,
|
|
445
|
-
className:
|
|
425
|
+
className: className,
|
|
446
426
|
...props
|
|
447
427
|
}));
|
|
448
428
|
const Clear = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ComboboxClear_ComboboxClear, {
|
|
449
429
|
ref: ref,
|
|
450
|
-
className:
|
|
430
|
+
className: className,
|
|
451
431
|
...props
|
|
452
432
|
}));
|
|
453
433
|
const Combobox = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { MenuBackdrop_MenuBackdrop, MenuPositioner_MenuPositioner, MenuGroupLabel_MenuGroupLabel, MenuPopup_MenuPopup, MenuArrow_MenuArrow, MenuRootContext, MenuItem_MenuItem, MenuLinkItem_MenuLinkItem, MenuRadioItem_MenuRadioItem, ContextMenuRootContext, MenuSubmenuTrigger_MenuSubmenuTrigger, MenuGroup_MenuGroup, findRootOwnerId, useMenuRootContext, MenuSubmenuRoot, MenuPortal_MenuPortal, useContextMenuRootContext, MenuCheckboxItemIndicator_MenuCheckboxItemIndicator, MenuCheckboxItem_MenuCheckboxItem, MenuRadioItemIndicator_MenuRadioItemIndicator, MenuRadioGroup_MenuRadioGroup, MenuRoot_MenuRoot } from "../6882.js";
|
|
4
3
|
import { useTimeout } from "../42.js";
|
|
5
4
|
import { createChangeEventDetails } from "../4768.js";
|
|
@@ -177,100 +176,84 @@ function ContextMenuRoot(props) {
|
|
|
177
176
|
})
|
|
178
177
|
});
|
|
179
178
|
}
|
|
180
|
-
const ContextMenu_module = {
|
|
181
|
-
trigger: "trigger-D0oBie",
|
|
182
|
-
backdrop: "backdrop-SPwmGh",
|
|
183
|
-
positioner: "positioner-ZCJXBK",
|
|
184
|
-
popup: "popup-exWvLg",
|
|
185
|
-
separator: "separator-FAmS6X",
|
|
186
|
-
arrow: "arrow-_xxSbP",
|
|
187
|
-
groupLabel: "groupLabel-nJbnHC",
|
|
188
|
-
item: "item-u6sdTm",
|
|
189
|
-
checkboxItem: "checkboxItem-lQUwTw",
|
|
190
|
-
checkboxItemIndicator: "checkboxItemIndicator-kWKt4r",
|
|
191
|
-
linkItem: "linkItem-w7Buqf",
|
|
192
|
-
radioItem: "radioItem-GkHQXK",
|
|
193
|
-
radioItemIndicator: "radioItemIndicator-gKBhmr",
|
|
194
|
-
submenuTrigger: "submenuTrigger-vAkD3A"
|
|
195
|
-
};
|
|
196
179
|
const Trigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ContextMenuTrigger_ContextMenuTrigger, {
|
|
197
180
|
ref: ref,
|
|
198
|
-
className:
|
|
181
|
+
className: className,
|
|
199
182
|
...props
|
|
200
183
|
}));
|
|
201
184
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuBackdrop_MenuBackdrop, {
|
|
202
185
|
ref: ref,
|
|
203
|
-
className:
|
|
186
|
+
className: className,
|
|
204
187
|
...props
|
|
205
188
|
}));
|
|
206
189
|
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuPositioner_MenuPositioner, {
|
|
207
190
|
ref: ref,
|
|
208
|
-
className:
|
|
191
|
+
className: className,
|
|
209
192
|
...props
|
|
210
193
|
}));
|
|
211
194
|
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuPopup_MenuPopup, {
|
|
212
195
|
ref: ref,
|
|
213
|
-
className:
|
|
196
|
+
className: className,
|
|
214
197
|
...props
|
|
215
198
|
}));
|
|
216
199
|
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuArrow_MenuArrow, {
|
|
217
200
|
ref: ref,
|
|
218
|
-
className:
|
|
201
|
+
className: className,
|
|
219
202
|
...props
|
|
220
203
|
}));
|
|
221
204
|
const Group = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuGroup_MenuGroup, {
|
|
222
205
|
ref: ref,
|
|
223
|
-
className:
|
|
206
|
+
className: className,
|
|
224
207
|
...props
|
|
225
208
|
}));
|
|
226
209
|
const GroupLabel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuGroupLabel_MenuGroupLabel, {
|
|
227
210
|
ref: ref,
|
|
228
|
-
className:
|
|
211
|
+
className: className,
|
|
229
212
|
...props
|
|
230
213
|
}));
|
|
231
214
|
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuItem_MenuItem, {
|
|
232
215
|
ref: ref,
|
|
233
|
-
className:
|
|
216
|
+
className: className,
|
|
234
217
|
...props
|
|
235
218
|
}));
|
|
236
219
|
const CheckboxItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuCheckboxItem_MenuCheckboxItem, {
|
|
237
220
|
ref: ref,
|
|
238
|
-
className:
|
|
221
|
+
className: className,
|
|
239
222
|
...props
|
|
240
223
|
}));
|
|
241
224
|
const CheckboxItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuCheckboxItemIndicator_MenuCheckboxItemIndicator, {
|
|
242
225
|
ref: ref,
|
|
243
|
-
className:
|
|
226
|
+
className: className,
|
|
244
227
|
...props
|
|
245
228
|
}));
|
|
246
229
|
const LinkItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuLinkItem_MenuLinkItem, {
|
|
247
230
|
ref: ref,
|
|
248
|
-
className:
|
|
231
|
+
className: className,
|
|
249
232
|
...props
|
|
250
233
|
}));
|
|
251
234
|
const RadioGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuRadioGroup_MenuRadioGroup, {
|
|
252
235
|
ref: ref,
|
|
253
|
-
className:
|
|
236
|
+
className: className,
|
|
254
237
|
...props
|
|
255
238
|
}));
|
|
256
239
|
const RadioItem = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuRadioItem_MenuRadioItem, {
|
|
257
240
|
ref: ref,
|
|
258
|
-
className:
|
|
241
|
+
className: className,
|
|
259
242
|
...props
|
|
260
243
|
}));
|
|
261
244
|
const RadioItemIndicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuRadioItemIndicator_MenuRadioItemIndicator, {
|
|
262
245
|
ref: ref,
|
|
263
|
-
className:
|
|
246
|
+
className: className,
|
|
264
247
|
...props
|
|
265
248
|
}));
|
|
266
249
|
const SubmenuTrigger = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuSubmenuTrigger_MenuSubmenuTrigger, {
|
|
267
250
|
ref: ref,
|
|
268
|
-
className:
|
|
251
|
+
className: className,
|
|
269
252
|
...props
|
|
270
253
|
}));
|
|
271
254
|
const Separator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Separator_Separator, {
|
|
272
255
|
ref: ref,
|
|
273
|
-
className:
|
|
256
|
+
className: className,
|
|
274
257
|
...props
|
|
275
258
|
}));
|
|
276
259
|
const ContextMenu = {
|
package/dist/Drawer/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
2
|
import { popupStateMapping, popupStateMapping_CommonPopupDataAttributes } from "../6917.js";
|
|
4
3
|
import { transitionStatusMapping, stateAttributesMapping_TransitionStatusDataAttributes, useOpenChangeComplete } from "../9369.js";
|
|
5
4
|
import { IsDrawerContext, DialogClose_DialogClose, useDialogPortalContext, useDialogRootContext, DialogTitle_DialogTitle, DialogTrigger_DialogTrigger, DialogDescription_DialogDescription, DialogHandle, createDialogHandle, DialogViewport_DialogViewport, DialogPortal_DialogPortal } from "../6270.js";
|
|
@@ -1953,74 +1952,63 @@ function createVisualStateStore() {
|
|
|
1953
1952
|
}
|
|
1954
1953
|
};
|
|
1955
1954
|
}
|
|
1956
|
-
const Drawer_module = {
|
|
1957
|
-
description: "description-hsuUfX",
|
|
1958
|
-
title: "title-A0LbRg",
|
|
1959
|
-
close: "close-Dq55Tj",
|
|
1960
|
-
backdrop: "backdrop-ZQf73g",
|
|
1961
|
-
content: "content-ouQWaR",
|
|
1962
|
-
indentBackground: "indentBackground-JX6m1u",
|
|
1963
|
-
popup: "popup-FjIEpg",
|
|
1964
|
-
swipeArea: "swipeArea-Nt_PFS",
|
|
1965
|
-
viewport: "viewport-XO9NfW"
|
|
1966
|
-
};
|
|
1967
1955
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerBackdrop_DrawerBackdrop, {
|
|
1968
1956
|
ref: ref,
|
|
1969
|
-
className:
|
|
1957
|
+
className: className,
|
|
1970
1958
|
...props
|
|
1971
1959
|
}));
|
|
1972
1960
|
const Content = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerContent_DrawerContent, {
|
|
1973
1961
|
ref: ref,
|
|
1974
|
-
className:
|
|
1962
|
+
className: className,
|
|
1975
1963
|
...props
|
|
1976
1964
|
}));
|
|
1977
1965
|
const Indent = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerIndent_DrawerIndent, {
|
|
1978
1966
|
ref: ref,
|
|
1979
|
-
className:
|
|
1967
|
+
className: className,
|
|
1980
1968
|
...props
|
|
1981
1969
|
}));
|
|
1982
1970
|
const IndentBackground = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerIndentBackground_DrawerIndentBackground, {
|
|
1983
1971
|
ref: ref,
|
|
1984
|
-
className:
|
|
1972
|
+
className: className,
|
|
1985
1973
|
...props
|
|
1986
1974
|
}));
|
|
1987
1975
|
const Popup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerPopup_DrawerPopup, {
|
|
1988
1976
|
ref: ref,
|
|
1989
|
-
className:
|
|
1977
|
+
className: className,
|
|
1990
1978
|
...props
|
|
1991
1979
|
}));
|
|
1992
1980
|
const SwipeArea = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerSwipeArea_DrawerSwipeArea, {
|
|
1993
1981
|
ref: ref,
|
|
1994
|
-
className:
|
|
1982
|
+
className: className,
|
|
1995
1983
|
...props
|
|
1996
1984
|
}));
|
|
1997
1985
|
const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(DrawerViewport_DrawerViewport, {
|
|
1998
1986
|
ref: ref,
|
|
1999
|
-
className:
|
|
1987
|
+
className: className,
|
|
2000
1988
|
...props
|
|
2001
1989
|
}));
|
|
2002
1990
|
function Trigger({ className, ...props }) {
|
|
2003
1991
|
return /*#__PURE__*/ jsx(DrawerTrigger, {
|
|
2004
1992
|
...props,
|
|
2005
|
-
className:
|
|
1993
|
+
className: className
|
|
2006
1994
|
});
|
|
2007
1995
|
}
|
|
2008
1996
|
function Close({ className, ...props }) {
|
|
2009
1997
|
return /*#__PURE__*/ jsx(DrawerClose, {
|
|
2010
1998
|
...props,
|
|
2011
|
-
className:
|
|
1999
|
+
className: className
|
|
2012
2000
|
});
|
|
2013
2001
|
}
|
|
2014
2002
|
function Title({ className, ...props }) {
|
|
2015
2003
|
return /*#__PURE__*/ jsx(DrawerTitle, {
|
|
2016
2004
|
...props,
|
|
2017
|
-
className:
|
|
2005
|
+
className: className
|
|
2018
2006
|
});
|
|
2019
2007
|
}
|
|
2020
2008
|
function Description({ className, ...props }) {
|
|
2021
2009
|
return /*#__PURE__*/ jsx(DrawerDescription, {
|
|
2022
2010
|
...props,
|
|
2023
|
-
className:
|
|
2011
|
+
className: className
|
|
2024
2012
|
});
|
|
2025
2013
|
}
|
|
2026
2014
|
const Drawer = {
|