@orioncactuscorp/ui 1.13.0 → 1.14.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/CHANGELOG.md +63 -0
- package/README.md +81 -13
- package/dist/components/FloatingWindow/FloatingWindow.css +1 -0
- package/dist/components/FloatingWindow/FloatingWindow.js +692 -0
- package/dist/components/FloatingWindow/FloatingWindow.module.scss.js +17 -0
- package/dist/components/FloatingWindow/FloatingWindowManager.js +36 -0
- package/dist/components/FloatingWindow/contexts.js +25 -0
- package/dist/components/FloatingWindow/geometry.js +222 -0
- package/dist/components/FloatingWindow/stack.js +31 -0
- package/dist/components/FloatingWindow.d.ts +6 -0
- package/dist/components/FloatingWindow.js +18 -0
- package/dist/components/Modal/Modal.css +1 -1
- package/dist/components/Modal/Modal.js +534 -715
- package/dist/components/Modal/Modal.module.scss.js +46 -44
- package/dist/components/Modal/initialFocus.js +11 -0
- package/dist/components/Modal/useModalDrag.js +328 -310
- package/dist/components/internal/ModalPresentation.js +359 -0
- package/dist/index.js +108 -92
- package/dist/styles.css +2 -1
- package/dist/ui/src/components/FloatingWindow/FloatingWindow.d.ts +32 -0
- package/dist/ui/src/components/FloatingWindow/FloatingWindow.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/FloatingWindowManager.d.ts +4 -0
- package/dist/ui/src/components/FloatingWindow/FloatingWindowManager.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/contexts.d.ts +36 -0
- package/dist/ui/src/components/FloatingWindow/contexts.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/geometry.d.ts +31 -0
- package/dist/ui/src/components/FloatingWindow/geometry.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/index.d.ts +4 -0
- package/dist/ui/src/components/FloatingWindow/index.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/stack.d.ts +9 -0
- package/dist/ui/src/components/FloatingWindow/stack.d.ts.map +1 -0
- package/dist/ui/src/components/FloatingWindow/types.d.ts +121 -0
- package/dist/ui/src/components/FloatingWindow/types.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/Modal.d.ts +1 -1
- package/dist/ui/src/components/Modal/Modal.d.ts.map +1 -1
- package/dist/ui/src/components/Modal/contexts.d.ts +3 -0
- package/dist/ui/src/components/Modal/contexts.d.ts.map +1 -1
- package/dist/ui/src/components/Modal/initialFocus.d.ts +18 -0
- package/dist/ui/src/components/Modal/initialFocus.d.ts.map +1 -0
- package/dist/ui/src/components/Modal/types.d.ts +9 -1
- package/dist/ui/src/components/Modal/types.d.ts.map +1 -1
- package/dist/ui/src/components/Modal/useModalDrag.d.ts.map +1 -1
- package/dist/ui/src/components/internal/ModalPresentation.d.ts +61 -0
- package/dist/ui/src/components/internal/ModalPresentation.d.ts.map +1 -0
- package/dist/ui/src/index.d.ts +2 -0
- package/dist/ui/src/index.d.ts.map +1 -1
- package/dist/ui/src/utils/motion.d.ts.map +1 -1
- package/dist/utils/motion.js +194 -135
- package/docs/motion.md +4 -0
- package/docs/selector-contract.md +49 -0
- package/package.json +1 -1
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as n, jsxs as g } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback as I, useEffect as Z, useId as _, useState as aa } from "react";
|
|
4
|
+
import { Dialog as ea } from "@base-ui-components/react/dialog";
|
|
5
|
+
import { MotionExpand as oa } from "../../react/motion.js";
|
|
6
|
+
import { mergeRefs as ta } from "../../utils/mergeRefs.js";
|
|
7
|
+
import na from "../Background/Background.js";
|
|
8
|
+
import ra from "../Interaction/Interaction.js";
|
|
9
|
+
import { ScrollArea as k, ScrollAreaContainer as x } from "../ScrollArea/ScrollArea.js";
|
|
10
|
+
import { DisclosureIndicator as ia } from "./DisclosureIndicator.js";
|
|
11
|
+
import { normalizeSlotIcon as la } from "./slot.js";
|
|
12
|
+
import e from "../Modal/Modal.module.scss.js";
|
|
13
|
+
import { getModalScrollState as ca } from "../Modal/modalScrollArbitration.js";
|
|
14
|
+
import { useControllableState as da } from "../Modal/useControllableState.js";
|
|
15
|
+
import { useMeasuredElement as sa } from "../Modal/useElementSize.js";
|
|
16
|
+
function d(...a) {
|
|
17
|
+
return a.filter(Boolean).join(" ");
|
|
18
|
+
}
|
|
19
|
+
function z(a) {
|
|
20
|
+
return a != null && a !== !1 && a !== "";
|
|
21
|
+
}
|
|
22
|
+
function xa(a, t) {
|
|
23
|
+
return a === !0 || a === "auto" && t.canScroll && !t.scrolledToBottom;
|
|
24
|
+
}
|
|
25
|
+
function za({
|
|
26
|
+
bodyNode: a,
|
|
27
|
+
bodyRef: t,
|
|
28
|
+
setBodyNode: l,
|
|
29
|
+
setScrollState: i
|
|
30
|
+
}) {
|
|
31
|
+
const r = I(
|
|
32
|
+
(o) => {
|
|
33
|
+
i(ca(o));
|
|
34
|
+
},
|
|
35
|
+
[i]
|
|
36
|
+
), s = I(
|
|
37
|
+
(o) => {
|
|
38
|
+
ta(l, t, r)(o);
|
|
39
|
+
},
|
|
40
|
+
[t, l, r]
|
|
41
|
+
);
|
|
42
|
+
return Z(() => {
|
|
43
|
+
const o = a;
|
|
44
|
+
if (!o || (r(o), typeof ResizeObserver > "u")) return;
|
|
45
|
+
const m = new ResizeObserver(() => r(o));
|
|
46
|
+
return m.observe(o), o.firstElementChild && m.observe(o.firstElementChild), () => m.disconnect();
|
|
47
|
+
}, [a, r]), { setBodyRef: s, updateScrollState: r };
|
|
48
|
+
}
|
|
49
|
+
function Fa({
|
|
50
|
+
children: a,
|
|
51
|
+
className: t,
|
|
52
|
+
contentTransition: l,
|
|
53
|
+
placement: i,
|
|
54
|
+
ref: r,
|
|
55
|
+
resize: s,
|
|
56
|
+
scrollable: o,
|
|
57
|
+
size: m,
|
|
58
|
+
style: p,
|
|
59
|
+
variant: u
|
|
60
|
+
}) {
|
|
61
|
+
return /* @__PURE__ */ n(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
ref: r,
|
|
65
|
+
className: d(e.surface, e[s], t),
|
|
66
|
+
"data-oc-part": "surface",
|
|
67
|
+
"data-oc-variant": u,
|
|
68
|
+
"data-oc-size": m,
|
|
69
|
+
"data-oc-resize": s,
|
|
70
|
+
"data-oc-content-transition": l,
|
|
71
|
+
"data-oc-modal-placement": i,
|
|
72
|
+
"data-oc-scrollable": o ? "true" : "false",
|
|
73
|
+
style: p,
|
|
74
|
+
children: a
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
function Pa({
|
|
79
|
+
children: a,
|
|
80
|
+
className: t = "",
|
|
81
|
+
closeContent: l,
|
|
82
|
+
dragEnabled: i,
|
|
83
|
+
handleContent: r,
|
|
84
|
+
leadingContent: s,
|
|
85
|
+
sticky: o,
|
|
86
|
+
titleContent: m,
|
|
87
|
+
trailingContent: p,
|
|
88
|
+
...u
|
|
89
|
+
}) {
|
|
90
|
+
const v = z(s);
|
|
91
|
+
return /* @__PURE__ */ g(
|
|
92
|
+
na,
|
|
93
|
+
{
|
|
94
|
+
...u,
|
|
95
|
+
as: "header",
|
|
96
|
+
backdrop: "compact",
|
|
97
|
+
className: d(e.header, t),
|
|
98
|
+
backColor: "var(--oc-color-theme-background-elevated-normal)",
|
|
99
|
+
frontColor: "transparent",
|
|
100
|
+
"data-oc-part": "header",
|
|
101
|
+
"data-oc-component": "modal-header",
|
|
102
|
+
variant: "strong",
|
|
103
|
+
"data-oc-draggable": i === void 0 ? void 0 : String(i),
|
|
104
|
+
"data-oc-sticky": o ? "true" : "false",
|
|
105
|
+
children: [
|
|
106
|
+
r,
|
|
107
|
+
/* @__PURE__ */ g(
|
|
108
|
+
"div",
|
|
109
|
+
{
|
|
110
|
+
className: e.headerInner,
|
|
111
|
+
"data-oc-has-leading": v ? "true" : "false",
|
|
112
|
+
"data-oc-part": "header-inner",
|
|
113
|
+
children: [
|
|
114
|
+
v ? /* @__PURE__ */ n("div", { className: e.headerLeading, "data-oc-part": "header-leading", children: s }) : null,
|
|
115
|
+
/* @__PURE__ */ n("div", { className: e.headerTitle, "data-oc-part": "header-title", children: m ?? a }),
|
|
116
|
+
/* @__PURE__ */ g("div", { className: e.headerTrailing, "data-oc-part": "header-trailing", children: [
|
|
117
|
+
p,
|
|
118
|
+
l
|
|
119
|
+
] })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
function Ta({
|
|
128
|
+
className: a = "",
|
|
129
|
+
title: t,
|
|
130
|
+
children: l,
|
|
131
|
+
expanded: i,
|
|
132
|
+
defaultExpanded: r = !0,
|
|
133
|
+
onExpandedChange: s,
|
|
134
|
+
disabled: o = !1,
|
|
135
|
+
forceMount: m = !0,
|
|
136
|
+
headingLevel: p = 2,
|
|
137
|
+
indicator: u,
|
|
138
|
+
titleAsDialogTitle: v = !0,
|
|
139
|
+
navigationProps: F,
|
|
140
|
+
panelProps: P,
|
|
141
|
+
panelContentProps: T,
|
|
142
|
+
ref: B,
|
|
143
|
+
style: N,
|
|
144
|
+
canRenderHandle: R,
|
|
145
|
+
handleProps: b,
|
|
146
|
+
onPanelMotionStateChange: E,
|
|
147
|
+
...H
|
|
148
|
+
}) {
|
|
149
|
+
const { height: C, setNode: $ } = sa(), h = _(), [c, j] = da({
|
|
150
|
+
value: i,
|
|
151
|
+
defaultValue: r,
|
|
152
|
+
onChange: s
|
|
153
|
+
}), [D, L] = aa(
|
|
154
|
+
c ? "open" : "closed"
|
|
155
|
+
), O = `h${p >= 2 && p <= 6 ? p : 2}`, {
|
|
156
|
+
className: w = "",
|
|
157
|
+
id: A,
|
|
158
|
+
onClick: V,
|
|
159
|
+
...S
|
|
160
|
+
} = F ?? {}, {
|
|
161
|
+
className: q = "",
|
|
162
|
+
id: G,
|
|
163
|
+
role: J,
|
|
164
|
+
...K
|
|
165
|
+
} = P ?? {}, { className: Q = "", ...U } = T ?? {}, M = A ?? `${h}-navigation`, y = G ?? `${h}-panel`, W = `${h}-dialog-title`, X = z(t), Y = C > 0 ? {
|
|
166
|
+
...N,
|
|
167
|
+
"--oc-modal-navigation-block-size": `${C}px`
|
|
168
|
+
} : N;
|
|
169
|
+
return /* @__PURE__ */ g(
|
|
170
|
+
"section",
|
|
171
|
+
{
|
|
172
|
+
ref: B,
|
|
173
|
+
className: d(e.navigationSection, a),
|
|
174
|
+
style: Y,
|
|
175
|
+
...H,
|
|
176
|
+
"data-oc-component": "modal-navigation-section",
|
|
177
|
+
"data-oc-motion-state": D,
|
|
178
|
+
"data-oc-state": c ? "open" : "closed",
|
|
179
|
+
children: [
|
|
180
|
+
v && X ? /* @__PURE__ */ n(
|
|
181
|
+
ea.Title,
|
|
182
|
+
{
|
|
183
|
+
className: e.navigationDialogTitle,
|
|
184
|
+
id: W,
|
|
185
|
+
children: t
|
|
186
|
+
}
|
|
187
|
+
) : null,
|
|
188
|
+
R ? /* @__PURE__ */ n(
|
|
189
|
+
"div",
|
|
190
|
+
{
|
|
191
|
+
...b,
|
|
192
|
+
"aria-hidden": "true",
|
|
193
|
+
className: d(e.handle, b?.className),
|
|
194
|
+
"data-oc-part": "handle"
|
|
195
|
+
}
|
|
196
|
+
) : null,
|
|
197
|
+
/* @__PURE__ */ n(O, { className: e.navigationHeading, "data-oc-part": "heading", children: /* @__PURE__ */ g(
|
|
198
|
+
"button",
|
|
199
|
+
{
|
|
200
|
+
...S,
|
|
201
|
+
ref: $,
|
|
202
|
+
id: M,
|
|
203
|
+
className: d(
|
|
204
|
+
e.navigation,
|
|
205
|
+
w
|
|
206
|
+
),
|
|
207
|
+
type: "button",
|
|
208
|
+
disabled: o,
|
|
209
|
+
"aria-disabled": o ? "true" : S["aria-disabled"],
|
|
210
|
+
"aria-expanded": c,
|
|
211
|
+
"aria-controls": y,
|
|
212
|
+
onClick: (f) => {
|
|
213
|
+
V?.(f), !(f.defaultPrevented || o) && j(!c);
|
|
214
|
+
},
|
|
215
|
+
"data-oc-component": "modal-navigation",
|
|
216
|
+
"data-oc-part": "navigation",
|
|
217
|
+
"data-oc-state": c ? "open" : "closed",
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ n("span", { className: e.navigationTitle, "data-oc-part": "title", children: t }),
|
|
220
|
+
u === void 0 ? /* @__PURE__ */ n(
|
|
221
|
+
ia,
|
|
222
|
+
{
|
|
223
|
+
className: e.navigationIndicator,
|
|
224
|
+
open: c
|
|
225
|
+
}
|
|
226
|
+
) : u ? /* @__PURE__ */ n(
|
|
227
|
+
"span",
|
|
228
|
+
{
|
|
229
|
+
className: e.navigationIndicator,
|
|
230
|
+
"data-oc-part": "indicator",
|
|
231
|
+
"data-oc-state": c ? "open" : "closed",
|
|
232
|
+
children: /* @__PURE__ */ n("span", { "data-oc-part": "indicator-frame", children: la(u) })
|
|
233
|
+
}
|
|
234
|
+
) : null,
|
|
235
|
+
o ? null : /* @__PURE__ */ n(ra, { variant: "light" })
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
) }),
|
|
239
|
+
/* @__PURE__ */ n(
|
|
240
|
+
oa,
|
|
241
|
+
{
|
|
242
|
+
className: d(e.navigationPanel, q),
|
|
243
|
+
open: c,
|
|
244
|
+
forceMount: m,
|
|
245
|
+
intent: "expand",
|
|
246
|
+
measureBlockSize: "rendered",
|
|
247
|
+
onMotionStateChange: (f) => {
|
|
248
|
+
L(f), E?.(f);
|
|
249
|
+
},
|
|
250
|
+
contentProps: {
|
|
251
|
+
className: e.navigationPanelFrame,
|
|
252
|
+
"data-oc-part": "panel-inner"
|
|
253
|
+
},
|
|
254
|
+
...K,
|
|
255
|
+
"aria-hidden": c ? void 0 : !0,
|
|
256
|
+
"aria-labelledby": M,
|
|
257
|
+
id: y,
|
|
258
|
+
inert: c ? void 0 : !0,
|
|
259
|
+
role: J ?? "region",
|
|
260
|
+
"data-oc-component": "modal-navigation-panel",
|
|
261
|
+
"data-oc-state": c ? "open" : "closed",
|
|
262
|
+
children: /* @__PURE__ */ n(
|
|
263
|
+
k,
|
|
264
|
+
{
|
|
265
|
+
className: e.navigationPanelScroll,
|
|
266
|
+
"data-oc-component": "modal-navigation-panel-scroll-area",
|
|
267
|
+
"data-oc-part": "panel-scroll-area",
|
|
268
|
+
children: /* @__PURE__ */ n(
|
|
269
|
+
x,
|
|
270
|
+
{
|
|
271
|
+
...U,
|
|
272
|
+
className: d(
|
|
273
|
+
e.navigationPanelInner,
|
|
274
|
+
Q
|
|
275
|
+
),
|
|
276
|
+
"data-oc-component": "modal-navigation-panel-content",
|
|
277
|
+
children: l
|
|
278
|
+
}
|
|
279
|
+
)
|
|
280
|
+
}
|
|
281
|
+
)
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
function Ba({
|
|
289
|
+
bodyContainerProps: a,
|
|
290
|
+
bodyContentProps: t,
|
|
291
|
+
children: l,
|
|
292
|
+
layout: i,
|
|
293
|
+
scrollAreaProps: r
|
|
294
|
+
}) {
|
|
295
|
+
return /* @__PURE__ */ n(
|
|
296
|
+
k,
|
|
297
|
+
{
|
|
298
|
+
...r,
|
|
299
|
+
className: d(e.body, r?.className),
|
|
300
|
+
"data-oc-part": "body",
|
|
301
|
+
"data-oc-component": "modal-body",
|
|
302
|
+
children: /* @__PURE__ */ n(
|
|
303
|
+
x,
|
|
304
|
+
{
|
|
305
|
+
...a,
|
|
306
|
+
className: d(
|
|
307
|
+
e.bodyContainer,
|
|
308
|
+
a?.className
|
|
309
|
+
),
|
|
310
|
+
"data-oc-part": "body-container",
|
|
311
|
+
"data-oc-component": "modal-body-container",
|
|
312
|
+
children: /* @__PURE__ */ n(
|
|
313
|
+
"section",
|
|
314
|
+
{
|
|
315
|
+
...t,
|
|
316
|
+
className: d(
|
|
317
|
+
e.bodyContent,
|
|
318
|
+
t?.className
|
|
319
|
+
),
|
|
320
|
+
"data-oc-part": "body-content",
|
|
321
|
+
"data-oc-component": "modal-body-content",
|
|
322
|
+
"data-oc-layout": i,
|
|
323
|
+
children: l
|
|
324
|
+
}
|
|
325
|
+
)
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
}
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
function Ra({
|
|
332
|
+
backgroundActive: a,
|
|
333
|
+
children: t,
|
|
334
|
+
className: l = "",
|
|
335
|
+
...i
|
|
336
|
+
}) {
|
|
337
|
+
return /* @__PURE__ */ n(
|
|
338
|
+
"footer",
|
|
339
|
+
{
|
|
340
|
+
...i,
|
|
341
|
+
className: d(e.footer, l),
|
|
342
|
+
"data-oc-part": "footer",
|
|
343
|
+
"data-oc-component": "modal-footer",
|
|
344
|
+
"data-oc-background": a ? "true" : "false",
|
|
345
|
+
children: t
|
|
346
|
+
}
|
|
347
|
+
);
|
|
348
|
+
}
|
|
349
|
+
export {
|
|
350
|
+
Ba as ModalBodyFrame,
|
|
351
|
+
Ra as ModalFooterFrame,
|
|
352
|
+
Pa as ModalHeaderFrame,
|
|
353
|
+
Ta as ModalNavigationSectionFrame,
|
|
354
|
+
Fa as ModalSurfaceFrame,
|
|
355
|
+
z as hasRenderableModalContent,
|
|
356
|
+
d as mergeModalClassName,
|
|
357
|
+
xa as resolveModalFooterBackground,
|
|
358
|
+
za as useModalBodyScrollState
|
|
359
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,116 +1,132 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as e } from "./components/SectionHeader/SectionHeader.js";
|
|
2
2
|
import { default as a } from "./components/Button/Button.js";
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
3
|
+
import { default as l, ActionAreaButton as i } from "./components/ActionArea/ActionArea.js";
|
|
4
|
+
import { default as f, ActionAreaLayoutActionArea as p, ActionAreaLayoutBody as u, ActionAreaLayoutFooter as s, ActionAreaLayout as x } from "./components/ActionArea/ActionAreaLayout.js";
|
|
5
5
|
import { default as m } from "./components/Badge/Badge.js";
|
|
6
6
|
import { default as g } from "./components/Background/Background.js";
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { Field as
|
|
16
|
-
import { FieldGroup as
|
|
17
|
-
import { default as
|
|
7
|
+
import { default as M } from "./components/Divider/Divider.js";
|
|
8
|
+
import { default as C } from "./components/Loading/Loading.js";
|
|
9
|
+
import { default as W } from "./components/Skeleton/Skeleton.js";
|
|
10
|
+
import { default as S, CellItem as y } from "./components/Cell/Cell.js";
|
|
11
|
+
import { default as I } from "./components/TextButton/TextButton.js";
|
|
12
|
+
import { default as k } from "./components/IconButton/IconButton.js";
|
|
13
|
+
import { default as D } from "./components/BackgroundIconButton/BackgroundIconButton.js";
|
|
14
|
+
import { default as H } from "./components/Interaction/Interaction.js";
|
|
15
|
+
import { Field as N, FieldControl as P, FieldErrorMessage as E, FieldLabel as G, FieldMessage as j } from "./components/Field/Field.js";
|
|
16
|
+
import { FieldGroup as z, FieldLegend as J, Fieldset as K, FieldsetContent as O } from "./components/Fieldset/Fieldset.js";
|
|
17
|
+
import { default as U } from "./components/Checkbox/Checkbox.js";
|
|
18
18
|
import { default as X } from "./components/CheckMark/CheckMark.js";
|
|
19
19
|
import { default as Z } from "./components/Radio/Radio.js";
|
|
20
20
|
import { default as $ } from "./components/Switch/Switch.js";
|
|
21
|
-
import { default as
|
|
21
|
+
import { default as to } from "./components/TextInput/TextInput.js";
|
|
22
22
|
import { default as ro } from "./components/TextInput/TextInputContent.js";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
23
|
+
import { default as no } from "./components/TextArea/TextArea.js";
|
|
24
|
+
import { default as io } from "./components/TextArea/TextAreaContent.js";
|
|
25
|
+
import { default as po } from "./components/Select/Select.js";
|
|
26
26
|
import { default as so } from "./components/Select/SelectContent.js";
|
|
27
|
-
import { MenuContent as co, MenuItem as mo, MenuRoot as Ao, MenuSeparator as go, MenuTrigger as
|
|
28
|
-
import { default as Co,
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { default as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
27
|
+
import { MenuContent as co, MenuItem as mo, MenuRoot as Ao, MenuSeparator as go, MenuTrigger as Fo } from "./components/Menu/Menu.js";
|
|
28
|
+
import { default as To, FloatingWindowBody as Co, FloatingWindowClose as wo, FloatingWindowContent as Wo, FloatingWindowDescription as Bo, FloatingWindowDragHandle as So, FloatingWindowFooter as yo, FloatingWindowHeader as Lo, FloatingWindowNavigationSection as Io, FloatingWindowRoot as Ro, FloatingWindowTitle as ko, FloatingWindowTrigger as bo, ModalWindowRoot as Do } from "./components/FloatingWindow/FloatingWindow.js";
|
|
29
|
+
import { FloatingWindowManager as Ho } from "./components/FloatingWindow/FloatingWindowManager.js";
|
|
30
|
+
import { default as No, AlertAction as Po, AlertActionArea as Eo, AlertContent as Go, AlertDescription as jo, AlertHeading as qo, AlertRoot as zo } from "./components/Alert/Alert.js";
|
|
31
|
+
import { default as Ko, AccordionContent as Oo, AccordionDescription as Qo, AccordionDetails as Uo, AccordionItem as Vo, AccordionSummary as Xo } from "./components/Accordion/Accordion.js";
|
|
32
|
+
import { TabsList as Zo, TabsPanel as _o, TabsRoot as $o, TabsTab as ot } from "./components/Tabs/Tabs.js";
|
|
33
|
+
import { default as et, ModalBody as rt, ModalClose as at, ModalContent as nt, ModalFooter as lt, ModalHeader as it, ModalNavigationSection as dt, ModalRoot as ft, ModalTrigger as pt } from "./components/Modal/Modal.js";
|
|
34
|
+
import { TooltipContent as st, TooltipProvider as xt, TooltipRoot as ct, TooltipTrigger as mt } from "./components/Tooltip/Tooltip.js";
|
|
35
|
+
import { ScrollArea as gt, ScrollAreaContainer as Ft } from "./components/ScrollArea/ScrollArea.js";
|
|
36
|
+
import { getBreakpoint as Tt, getBreakpoints as Ct } from "./utils/breakpoints.js";
|
|
37
|
+
import { SvgIcon as Wt } from "@orioncactuscorp/icons";
|
|
36
38
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
39
|
+
Ko as Accordion,
|
|
40
|
+
Oo as AccordionContent,
|
|
41
|
+
Qo as AccordionDescription,
|
|
42
|
+
Uo as AccordionDetails,
|
|
43
|
+
Vo as AccordionItem,
|
|
44
|
+
Xo as AccordionSummary,
|
|
45
|
+
l as ActionArea,
|
|
46
|
+
i as ActionAreaButton,
|
|
47
|
+
f as ActionAreaLayout,
|
|
48
|
+
p as ActionAreaLayoutActionArea,
|
|
49
|
+
u as ActionAreaLayoutBody,
|
|
48
50
|
s as ActionAreaLayoutFooter,
|
|
49
51
|
x as ActionAreaLayoutRoot,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
No as Alert,
|
|
53
|
+
Po as AlertAction,
|
|
54
|
+
Eo as AlertActionArea,
|
|
55
|
+
Go as AlertContent,
|
|
56
|
+
jo as AlertDescription,
|
|
57
|
+
qo as AlertHeading,
|
|
58
|
+
zo as AlertRoot,
|
|
57
59
|
g as Background,
|
|
58
|
-
|
|
60
|
+
D as BackgroundIconButton,
|
|
59
61
|
m as Badge,
|
|
60
62
|
a as Button,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
S as Cell,
|
|
64
|
+
y as CellItem,
|
|
63
65
|
X as CheckMark,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
66
|
+
U as Checkbox,
|
|
67
|
+
M as Divider,
|
|
68
|
+
N as Field,
|
|
69
|
+
P as FieldControl,
|
|
70
|
+
E as FieldErrorMessage,
|
|
71
|
+
z as FieldGroup,
|
|
72
|
+
G as FieldLabel,
|
|
73
|
+
J as FieldLegend,
|
|
74
|
+
j as FieldMessage,
|
|
75
|
+
K as Fieldset,
|
|
76
|
+
O as FieldsetContent,
|
|
77
|
+
To as FloatingWindow,
|
|
78
|
+
Co as FloatingWindowBody,
|
|
79
|
+
wo as FloatingWindowClose,
|
|
80
|
+
Wo as FloatingWindowContent,
|
|
81
|
+
Bo as FloatingWindowDescription,
|
|
82
|
+
So as FloatingWindowDragHandle,
|
|
83
|
+
yo as FloatingWindowFooter,
|
|
84
|
+
Lo as FloatingWindowHeader,
|
|
85
|
+
Ho as FloatingWindowManager,
|
|
86
|
+
Io as FloatingWindowNavigationSection,
|
|
87
|
+
Ro as FloatingWindowRoot,
|
|
88
|
+
ko as FloatingWindowTitle,
|
|
89
|
+
bo as FloatingWindowTrigger,
|
|
90
|
+
k as IconButton,
|
|
91
|
+
H as Interaction,
|
|
92
|
+
C as Loading,
|
|
78
93
|
co as MenuContent,
|
|
79
94
|
mo as MenuItem,
|
|
80
95
|
Ao as MenuRoot,
|
|
81
96
|
go as MenuSeparator,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
97
|
+
Fo as MenuTrigger,
|
|
98
|
+
et as Modal,
|
|
99
|
+
rt as ModalBody,
|
|
100
|
+
at as ModalClose,
|
|
101
|
+
nt as ModalContent,
|
|
102
|
+
lt as ModalFooter,
|
|
103
|
+
it as ModalHeader,
|
|
104
|
+
dt as ModalNavigationSection,
|
|
105
|
+
ft as ModalRoot,
|
|
106
|
+
pt as ModalTrigger,
|
|
107
|
+
Do as ModalWindowRoot,
|
|
92
108
|
Z as Radio,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
109
|
+
gt as ScrollArea,
|
|
110
|
+
Ft as ScrollAreaContainer,
|
|
111
|
+
e as SectionHeader,
|
|
112
|
+
po as Select,
|
|
97
113
|
so as SelectContent,
|
|
98
|
-
|
|
99
|
-
|
|
114
|
+
W as Skeleton,
|
|
115
|
+
Wt as SvgIcon,
|
|
100
116
|
$ as Switch,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
117
|
+
Zo as TabsList,
|
|
118
|
+
_o as TabsPanel,
|
|
119
|
+
$o as TabsRoot,
|
|
120
|
+
ot as TabsTab,
|
|
121
|
+
no as TextArea,
|
|
122
|
+
io as TextAreaContent,
|
|
123
|
+
I as TextButton,
|
|
124
|
+
to as TextInput,
|
|
109
125
|
ro as TextInputContent,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
126
|
+
st as TooltipContent,
|
|
127
|
+
xt as TooltipProvider,
|
|
128
|
+
ct as TooltipRoot,
|
|
129
|
+
mt as TooltipTrigger,
|
|
130
|
+
Tt as getBreakpoint,
|
|
131
|
+
Ct as getBreakpoints
|
|
116
132
|
};
|