@easypost/easy-ui 1.0.0-alpha.4 → 1.0.0-alpha.6
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/Badge/index.js +32 -26
- package/Badge/index.mjs +32 -26
- package/Banner/index.js +15 -16
- package/Banner/index.mjs +15 -16
- package/Button/Button.d.ts +61 -0
- package/Button/Button.d.ts.map +1 -1
- package/Button/index.js +34 -69
- package/Button/index.mjs +33 -68
- package/CHANGELOG.md +21 -0
- package/Card/index.js +84 -5
- package/Card/index.mjs +84 -5
- package/Checkbox/index.js +84 -72
- package/Checkbox/index.mjs +84 -72
- package/CodeBlock/index.js +43 -49
- package/CodeBlock/index.mjs +43 -49
- package/DropdownButton/DropdownButton.d.ts +48 -0
- package/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/DropdownButton/index.js +29 -101
- package/DropdownButton/index.mjs +29 -85
- package/HorizontalGrid/index.js +11 -31
- package/HorizontalGrid/index.mjs +11 -31
- package/HorizontalStack/index.js +48 -4
- package/HorizontalStack/index.mjs +48 -4
- package/Icon/Icon.d.ts +51 -0
- package/Icon/Icon.d.ts.map +1 -1
- package/Icon/index.js +38 -4
- package/Icon/index.mjs +38 -4
- package/IconButton/IconButton.d.ts +62 -0
- package/IconButton/IconButton.d.ts.map +1 -1
- package/IconButton/index.js +26 -43
- package/IconButton/index.mjs +25 -42
- package/InputField/Label.d.ts +2 -2
- package/InputField/index.js +282 -10
- package/InputField/index.mjs +266 -10
- package/InputField/utilities.d.ts +1 -1
- package/InputField/utilities.d.ts.map +1 -1
- package/Menu/MenuOverlay.d.ts.map +1 -1
- package/Menu/index.js +178 -1958
- package/Menu/index.mjs +168 -1948
- package/Menu/utilities.d.ts +11 -0
- package/Menu/utilities.d.ts.map +1 -0
- package/Notification/index.js +1534 -14
- package/Notification/index.mjs +1518 -14
- package/Provider/index.js +15 -15
- package/Provider/index.mjs +15 -15
- package/RadioGroup/index.js +63 -63
- package/RadioGroup/index.mjs +63 -63
- package/Select/Select.d.ts +88 -0
- package/Select/Select.d.ts.map +1 -0
- package/Select/Select.stories.d.ts +17 -0
- package/Select/Select.stories.d.ts.map +1 -0
- package/Select/Select.test.d.ts +2 -0
- package/Select/Select.test.d.ts.map +1 -0
- package/Select/SelectContext.d.ts +14 -0
- package/Select/SelectContext.d.ts.map +1 -0
- package/Select/SelectField.d.ts +62 -0
- package/Select/SelectField.d.ts.map +1 -0
- package/Select/SelectOption.d.ts +23 -0
- package/Select/SelectOption.d.ts.map +1 -0
- package/Select/SelectOverlay.d.ts +3 -0
- package/Select/SelectOverlay.d.ts.map +1 -0
- package/Select/SelectSection.d.ts +22 -0
- package/Select/SelectSection.d.ts.map +1 -0
- package/Select/SelectTrigger.d.ts +30 -0
- package/Select/SelectTrigger.d.ts.map +1 -0
- package/Select/index.d.ts +2 -0
- package/Select/index.d.ts.map +1 -0
- package/Select/index.js +816 -0
- package/Select/index.mjs +816 -0
- package/SelectorErrorTooltip/index.js +102 -11
- package/SelectorErrorTooltip/index.mjs +86 -11
- package/Text/index.js +85 -4
- package/Text/index.mjs +85 -4
- package/TextField/index.js +19 -38
- package/TextField/index.mjs +19 -38
- package/Textarea/index.js +20 -37
- package/Textarea/index.mjs +20 -37
- package/Theme/index.js +145 -9
- package/Theme/index.mjs +145 -9
- package/Toggle/index.js +51 -50
- package/Toggle/index.mjs +51 -50
- package/Tooltip/index.js +299 -10
- package/Tooltip/index.mjs +299 -10
- package/UnstyledButton/index.js +4 -4
- package/UnstyledButton/index.mjs +3 -3
- package/VerticalStack/index.js +13 -47
- package/VerticalStack/index.mjs +13 -47
- package/__chunks__/ExpandMore400-7c5263a4.mjs +49 -0
- package/__chunks__/ExpandMore400-92646971.js +65 -0
- package/__chunks__/InputIcon-2317befd.mjs +148 -0
- package/__chunks__/InputIcon-d3963cf8.js +147 -0
- package/__chunks__/{import-e7f45c7e.mjs → import-0561e1ba.mjs} +3 -3
- package/__chunks__/{import-b7971a11.mjs → import-19bc38ac.mjs} +72 -34
- package/__chunks__/{import-01299af6.js → import-24a482e1.js} +3 -2
- package/__chunks__/{import-baa3cd0c.mjs → import-29af6941.mjs} +4 -3
- package/__chunks__/{import-0d1b4d93.js → import-2b302763.js} +193 -141
- package/__chunks__/{import-ab878fb6.mjs → import-3d962a94.mjs} +205 -153
- package/__chunks__/{import-86330a7c.mjs → import-6a831ca1.mjs} +16 -15
- package/__chunks__/{import-7545401a.js → import-8b6c0bc7.js} +3 -3
- package/__chunks__/{import-63bf0645.js → import-a1e0f814.js} +47 -9
- package/__chunks__/{import-3ab42f86.js → import-a2023d8f.js} +35 -22
- package/__chunks__/{import-76076ca6.js → import-dea5a24d.js} +15 -14
- package/__chunks__/{import-856e0385.mjs → import-f1f4792a.mjs} +36 -23
- package/__chunks__/{UnstyledButton-883f0c6c.mjs → index-29d7bca9.mjs} +17 -42
- package/__chunks__/{UnstyledButton-96172ec0.js → index-3985350a.js} +17 -42
- package/__chunks__/{overlayscrollbars-react.es-c8369a03.mjs → overlayscrollbars-react.es-7f332a3b.mjs} +4 -4
- package/__chunks__/{overlayscrollbars-react.es-20563393.js → overlayscrollbars-react.es-f2a0bcff.js} +4 -4
- package/__chunks__/{real-module-e4cd2301.mjs → real-module-515df21d.mjs} +1 -1
- package/__chunks__/{real-module-ae2a4342.js → real-module-e36b1436.js} +1 -1
- package/__chunks__/useTriggerWidth-156b038a.js +2030 -0
- package/__chunks__/useTriggerWidth-addcd1d6.mjs +2031 -0
- package/package.json +11 -11
- package/style.css +1423 -1196
- package/utilities/css.js +14 -58
- package/utilities/css.mjs +14 -58
- package/__chunks__/Card-7bbd41e0.mjs +0 -110
- package/__chunks__/Card-dac53c75.js +0 -109
- package/__chunks__/HorizontalStack-a441c63f.mjs +0 -80
- package/__chunks__/HorizontalStack-a862839b.js +0 -79
- package/__chunks__/Icon-3d00481a.js +0 -44
- package/__chunks__/Icon-a75b5201.mjs +0 -45
- package/__chunks__/InputField-4fbaae06.js +0 -487
- package/__chunks__/InputField-a272f602.mjs +0 -472
- package/__chunks__/Notification-b8eafec6.mjs +0 -1456
- package/__chunks__/Notification-c5b34eb3.js +0 -1471
- package/__chunks__/SelectorErrorTooltip-43c5e29e.js +0 -84
- package/__chunks__/SelectorErrorTooltip-b6204987.mjs +0 -69
- package/__chunks__/Text-1ae70c19.js +0 -102
- package/__chunks__/Text-4ae50d5c.mjs +0 -103
- package/__chunks__/Theme-4e498252.mjs +0 -132
- package/__chunks__/Theme-751e5575.js +0 -131
- package/__chunks__/Tooltip-bd55165e.js +0 -317
- package/__chunks__/Tooltip-f7e67b21.mjs +0 -318
package/Provider/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const Theme_index = require("../Theme/index.js");
|
|
5
|
+
const Notification_index = require("../Notification/index.js");
|
|
6
6
|
require("../__chunks__/tokens-e696ca96.js");
|
|
7
7
|
require("../utilities/tokens.js");
|
|
8
8
|
require("../utilities/css.js");
|
|
9
|
-
require("../__chunks__/import-
|
|
10
|
-
require("../__chunks__/import-
|
|
11
|
-
require("../__chunks__/real-module-
|
|
9
|
+
require("../__chunks__/import-a1e0f814.js");
|
|
10
|
+
require("../__chunks__/import-2b302763.js");
|
|
11
|
+
require("../__chunks__/real-module-e36b1436.js");
|
|
12
12
|
require("react-dom");
|
|
13
|
-
require("../
|
|
14
|
-
require("../
|
|
15
|
-
require("../__chunks__/
|
|
13
|
+
require("../Icon/index.js");
|
|
14
|
+
require("../Text/index.js");
|
|
15
|
+
require("../__chunks__/index-3985350a.js");
|
|
16
16
|
require("../__chunks__/omit-fca26542.js");
|
|
17
17
|
const global = "";
|
|
18
|
-
function Provider({
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
function Provider({ children, theme, colorScheme, notificationPlacement }) {
|
|
19
|
+
return React.createElement(Theme_index.ThemeProvider, {
|
|
20
|
+
theme,
|
|
21
|
+
colorScheme
|
|
22
|
+
}, React.createElement(Notification_index.NotificationProvider, {
|
|
23
|
+
notificationPlacement
|
|
24
|
+
}, children));
|
|
25
25
|
}
|
|
26
26
|
exports.Provider = Provider;
|
package/Provider/index.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ThemeProvider } from "../Theme/index.mjs";
|
|
3
|
+
import { NotificationProvider } from "../Notification/index.mjs";
|
|
4
4
|
import "../__chunks__/tokens-6be8e137.mjs";
|
|
5
5
|
import "../utilities/tokens.mjs";
|
|
6
6
|
import "../utilities/css.mjs";
|
|
7
|
-
import "../__chunks__/import-
|
|
8
|
-
import "../__chunks__/import-
|
|
9
|
-
import "../__chunks__/real-module-
|
|
7
|
+
import "../__chunks__/import-19bc38ac.mjs";
|
|
8
|
+
import "../__chunks__/import-3d962a94.mjs";
|
|
9
|
+
import "../__chunks__/real-module-515df21d.mjs";
|
|
10
10
|
import "react-dom";
|
|
11
|
-
import "../
|
|
12
|
-
import "../
|
|
13
|
-
import "../__chunks__/
|
|
11
|
+
import "../Icon/index.mjs";
|
|
12
|
+
import "../Text/index.mjs";
|
|
13
|
+
import "../__chunks__/index-29d7bca9.mjs";
|
|
14
14
|
import "../__chunks__/omit-f17deb8f.mjs";
|
|
15
15
|
const global = "";
|
|
16
|
-
function Provider({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
function Provider({ children, theme, colorScheme, notificationPlacement }) {
|
|
17
|
+
return React__default.createElement(ThemeProvider, {
|
|
18
|
+
theme,
|
|
19
|
+
colorScheme
|
|
20
|
+
}, React__default.createElement(NotificationProvider, {
|
|
21
|
+
notificationPlacement
|
|
22
|
+
}, children));
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
25
|
Provider
|
package/RadioGroup/index.js
CHANGED
|
@@ -32,18 +32,18 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
35
|
+
const Text_index = require("../Text/index.js");
|
|
36
|
+
const HorizontalStack_index = require("../HorizontalStack/index.js");
|
|
37
|
+
const SelectorErrorTooltip_index = require("../SelectorErrorTooltip/index.js");
|
|
38
38
|
const utilities_css = require("../utilities/css.js");
|
|
39
|
-
const _import$1 = require("../__chunks__/import-
|
|
40
|
-
const _import = require("../__chunks__/import-
|
|
41
|
-
const _import$2 = require("../__chunks__/import-
|
|
42
|
-
const realModule = require("../__chunks__/real-module-
|
|
43
|
-
const _import$3 = require("../__chunks__/import-
|
|
44
|
-
require("../
|
|
45
|
-
require("../
|
|
46
|
-
require("../__chunks__/import-
|
|
39
|
+
const _import$1 = require("../__chunks__/import-a1e0f814.js");
|
|
40
|
+
const _import = require("../__chunks__/import-2b302763.js");
|
|
41
|
+
const _import$2 = require("../__chunks__/import-24a482e1.js");
|
|
42
|
+
const realModule = require("../__chunks__/real-module-e36b1436.js");
|
|
43
|
+
const _import$3 = require("../__chunks__/import-dea5a24d.js");
|
|
44
|
+
require("../Icon/index.js");
|
|
45
|
+
require("../Tooltip/index.js");
|
|
46
|
+
require("../__chunks__/import-a2023d8f.js");
|
|
47
47
|
require("react-dom");
|
|
48
48
|
const $884aeceb3d67f00f$export$3b7b268d09480394 = /* @__PURE__ */ new WeakMap();
|
|
49
49
|
const $884aeceb3d67f00f$export$8e8b214e06dd397d = /* @__PURE__ */ new WeakMap();
|
|
@@ -201,9 +201,7 @@ function $a54cdc5c1942b639$export$bca9d026f8e704eb(props) {
|
|
|
201
201
|
validationState: props.validationState || null
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
const RadioGroupContext = React.createContext(
|
|
205
|
-
null
|
|
206
|
-
);
|
|
204
|
+
const RadioGroupContext = React.createContext(null);
|
|
207
205
|
const useRadioGroupContext = () => {
|
|
208
206
|
const radioGroupContext = React.useContext(RadioGroupContext);
|
|
209
207
|
if (!radioGroupContext) {
|
|
@@ -211,16 +209,16 @@ const useRadioGroupContext = () => {
|
|
|
211
209
|
}
|
|
212
210
|
return radioGroupContext;
|
|
213
211
|
};
|
|
214
|
-
const RadioGroupItem$1 = "
|
|
215
|
-
const label = "
|
|
216
|
-
const radioOuter = "
|
|
217
|
-
const radioInner = "
|
|
218
|
-
const focusVisible = "
|
|
219
|
-
const selected = "
|
|
220
|
-
const invalid = "
|
|
221
|
-
const disabled = "
|
|
222
|
-
const hovered = "
|
|
223
|
-
const readOnly = "
|
|
212
|
+
const RadioGroupItem$1 = "_RadioGroupItem_1yery_5";
|
|
213
|
+
const label = "_label_1yery_11";
|
|
214
|
+
const radioOuter = "_radioOuter_1yery_28";
|
|
215
|
+
const radioInner = "_radioInner_1yery_29";
|
|
216
|
+
const focusVisible = "_focusVisible_1yery_43";
|
|
217
|
+
const selected = "_selected_1yery_62";
|
|
218
|
+
const invalid = "_invalid_1yery_66";
|
|
219
|
+
const disabled = "_disabled_1yery_70";
|
|
220
|
+
const hovered = "_hovered_1yery_82";
|
|
221
|
+
const readOnly = "_readOnly_1yery_82";
|
|
224
222
|
const styles$1 = {
|
|
225
223
|
RadioGroupItem: RadioGroupItem$1,
|
|
226
224
|
label,
|
|
@@ -240,37 +238,37 @@ function RadioGroupItem(props) {
|
|
|
240
238
|
const { inputProps, isSelected, isDisabled } = $0d5c49892c1215da$export$37b0961d2f4751e2(props, state, ref);
|
|
241
239
|
const { isFocusVisible, focusProps } = _import.$f7dceffc5ad7768b$export$4e328f61c538687f();
|
|
242
240
|
const { isHovered, hoverProps } = _import.$6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
243
|
-
const className = utilities_css.classNames(
|
|
244
|
-
styles$1.RadioGroupItem,
|
|
245
|
-
isSelected && styles$1.selected,
|
|
246
|
-
isDisabled && styles$1.disabled,
|
|
247
|
-
isFocusVisible && styles$1.focusVisible,
|
|
248
|
-
isHovered && styles$1.hovered,
|
|
249
|
-
validationState === "invalid" && styles$1.invalid
|
|
250
|
-
);
|
|
241
|
+
const className = utilities_css.classNames(styles$1.RadioGroupItem, isSelected && styles$1.selected, isDisabled && styles$1.disabled, isFocusVisible && styles$1.focusVisible, isHovered && styles$1.hovered, validationState === "invalid" && styles$1.invalid);
|
|
251
242
|
const textColor = isDisabled ? "disabled" : validationState === "invalid" ? "danger" : "primary";
|
|
252
|
-
return
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
243
|
+
return React.createElement("div", {
|
|
244
|
+
className
|
|
245
|
+
}, React.createElement(HorizontalStack_index.HorizontalStack, {
|
|
246
|
+
gap: "1",
|
|
247
|
+
blockAlign: "center"
|
|
248
|
+
}, React.createElement("label", {
|
|
249
|
+
className: styles$1.label
|
|
250
|
+
}, React.createElement(HorizontalStack_index.HorizontalStack, __spreadValues({
|
|
251
|
+
blockAlign: "start",
|
|
252
|
+
gap: "1",
|
|
253
|
+
wrap: false
|
|
254
|
+
}, hoverProps), React.createElement("input", __spreadProps(__spreadValues(__spreadValues({
|
|
255
|
+
"aria-invalid": validationState === "invalid"
|
|
256
|
+
}, inputProps), focusProps), {
|
|
257
|
+
className: styles$1.input,
|
|
258
|
+
ref
|
|
259
|
+
})), React.createElement("span", {
|
|
260
|
+
className: styles$1.radioOuter
|
|
261
|
+
}, React.createElement("span", {
|
|
262
|
+
className: styles$1.radioInner
|
|
263
|
+
})), React.createElement(Text_index.Text, {
|
|
264
|
+
variant: "body1",
|
|
265
|
+
color: textColor
|
|
266
|
+
}, children))), validationState === "invalid" && errorText && React.createElement(SelectorErrorTooltip_index.SelectorErrorTooltip, {
|
|
267
|
+
content: errorText
|
|
268
|
+
})));
|
|
271
269
|
}
|
|
272
|
-
const RadioGroup$1 = "
|
|
273
|
-
const list = "
|
|
270
|
+
const RadioGroup$1 = "_RadioGroup_57hp1_5";
|
|
271
|
+
const list = "_list_57hp1_14";
|
|
274
272
|
const styles = {
|
|
275
273
|
RadioGroup: RadioGroup$1,
|
|
276
274
|
list
|
|
@@ -279,19 +277,21 @@ function RadioGroupContainer(props) {
|
|
|
279
277
|
const { children, label: label2 } = props;
|
|
280
278
|
const state = $a54cdc5c1942b639$export$bca9d026f8e704eb(props);
|
|
281
279
|
const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(props, state);
|
|
282
|
-
return
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
280
|
+
return React.createElement("fieldset", __spreadValues({
|
|
281
|
+
className: styles.RadioGroup
|
|
282
|
+
}, radioGroupProps), label2 && React.createElement("div", null, React.createElement(Text_index.Text, __spreadValues({
|
|
283
|
+
as: "legend",
|
|
284
|
+
variant: "subtitle1",
|
|
285
|
+
color: "gray.bold"
|
|
286
|
+
}, labelProps), label2)), React.createElement(RadioGroupContext.Provider, {
|
|
287
|
+
value: state
|
|
288
|
+
}, children));
|
|
291
289
|
}
|
|
292
290
|
function RadioGroup(props) {
|
|
293
291
|
const _a = props, { children } = _a, containerProps = __objRest(_a, ["children"]);
|
|
294
|
-
return
|
|
292
|
+
return React.createElement(RadioGroupContainer, __spreadValues({}, containerProps), React.createElement("div", {
|
|
293
|
+
className: styles.list
|
|
294
|
+
}, children));
|
|
295
295
|
}
|
|
296
296
|
RadioGroup.Container = RadioGroupContainer;
|
|
297
297
|
RadioGroup.Item = RadioGroupItem;
|
package/RadioGroup/index.mjs
CHANGED
|
@@ -30,18 +30,18 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useMemo, useState, useContext } from "react";
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
33
|
+
import { Text } from "../Text/index.mjs";
|
|
34
|
+
import { HorizontalStack } from "../HorizontalStack/index.mjs";
|
|
35
|
+
import { SelectorErrorTooltip } from "../SelectorErrorTooltip/index.mjs";
|
|
36
36
|
import { classNames } from "../utilities/css.mjs";
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-
|
|
40
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/real-module-
|
|
41
|
-
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/import-
|
|
42
|
-
import "../
|
|
43
|
-
import "../
|
|
44
|
-
import "../__chunks__/import-
|
|
37
|
+
import { a as $3ef42575df84b30b$export$9d1611c77c2fe928, d as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, b as $bdb11010cef70236$export$f680877a34711e37 } from "../__chunks__/import-19bc38ac.mjs";
|
|
38
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c, b as $9ab94262bd0047c7$export$420e68273165f4ec, g as $9bf71ea28793e738$export$2d6ec8fc375ceafa, e as $f7dceffc5ad7768b$export$4e328f61c538687f, f as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/import-3d962a94.mjs";
|
|
39
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-29af6941.mjs";
|
|
40
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/real-module-515df21d.mjs";
|
|
41
|
+
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/import-6a831ca1.mjs";
|
|
42
|
+
import "../Icon/index.mjs";
|
|
43
|
+
import "../Tooltip/index.mjs";
|
|
44
|
+
import "../__chunks__/import-f1f4792a.mjs";
|
|
45
45
|
import "react-dom";
|
|
46
46
|
const $884aeceb3d67f00f$export$3b7b268d09480394 = /* @__PURE__ */ new WeakMap();
|
|
47
47
|
const $884aeceb3d67f00f$export$8e8b214e06dd397d = /* @__PURE__ */ new WeakMap();
|
|
@@ -199,9 +199,7 @@ function $a54cdc5c1942b639$export$bca9d026f8e704eb(props) {
|
|
|
199
199
|
validationState: props.validationState || null
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
const RadioGroupContext = React__default.createContext(
|
|
203
|
-
null
|
|
204
|
-
);
|
|
202
|
+
const RadioGroupContext = React__default.createContext(null);
|
|
205
203
|
const useRadioGroupContext = () => {
|
|
206
204
|
const radioGroupContext = useContext(RadioGroupContext);
|
|
207
205
|
if (!radioGroupContext) {
|
|
@@ -209,16 +207,16 @@ const useRadioGroupContext = () => {
|
|
|
209
207
|
}
|
|
210
208
|
return radioGroupContext;
|
|
211
209
|
};
|
|
212
|
-
const RadioGroupItem$1 = "
|
|
213
|
-
const label = "
|
|
214
|
-
const radioOuter = "
|
|
215
|
-
const radioInner = "
|
|
216
|
-
const focusVisible = "
|
|
217
|
-
const selected = "
|
|
218
|
-
const invalid = "
|
|
219
|
-
const disabled = "
|
|
220
|
-
const hovered = "
|
|
221
|
-
const readOnly = "
|
|
210
|
+
const RadioGroupItem$1 = "_RadioGroupItem_1yery_5";
|
|
211
|
+
const label = "_label_1yery_11";
|
|
212
|
+
const radioOuter = "_radioOuter_1yery_28";
|
|
213
|
+
const radioInner = "_radioInner_1yery_29";
|
|
214
|
+
const focusVisible = "_focusVisible_1yery_43";
|
|
215
|
+
const selected = "_selected_1yery_62";
|
|
216
|
+
const invalid = "_invalid_1yery_66";
|
|
217
|
+
const disabled = "_disabled_1yery_70";
|
|
218
|
+
const hovered = "_hovered_1yery_82";
|
|
219
|
+
const readOnly = "_readOnly_1yery_82";
|
|
222
220
|
const styles$1 = {
|
|
223
221
|
RadioGroupItem: RadioGroupItem$1,
|
|
224
222
|
label,
|
|
@@ -238,37 +236,37 @@ function RadioGroupItem(props) {
|
|
|
238
236
|
const { inputProps, isSelected, isDisabled } = $0d5c49892c1215da$export$37b0961d2f4751e2(props, state, ref);
|
|
239
237
|
const { isFocusVisible, focusProps } = $f7dceffc5ad7768b$export$4e328f61c538687f();
|
|
240
238
|
const { isHovered, hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
241
|
-
const className = classNames(
|
|
242
|
-
styles$1.RadioGroupItem,
|
|
243
|
-
isSelected && styles$1.selected,
|
|
244
|
-
isDisabled && styles$1.disabled,
|
|
245
|
-
isFocusVisible && styles$1.focusVisible,
|
|
246
|
-
isHovered && styles$1.hovered,
|
|
247
|
-
validationState === "invalid" && styles$1.invalid
|
|
248
|
-
);
|
|
239
|
+
const className = classNames(styles$1.RadioGroupItem, isSelected && styles$1.selected, isDisabled && styles$1.disabled, isFocusVisible && styles$1.focusVisible, isHovered && styles$1.hovered, validationState === "invalid" && styles$1.invalid);
|
|
249
240
|
const textColor = isDisabled ? "disabled" : validationState === "invalid" ? "danger" : "primary";
|
|
250
|
-
return
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
241
|
+
return React__default.createElement("div", {
|
|
242
|
+
className
|
|
243
|
+
}, React__default.createElement(HorizontalStack, {
|
|
244
|
+
gap: "1",
|
|
245
|
+
blockAlign: "center"
|
|
246
|
+
}, React__default.createElement("label", {
|
|
247
|
+
className: styles$1.label
|
|
248
|
+
}, React__default.createElement(HorizontalStack, __spreadValues({
|
|
249
|
+
blockAlign: "start",
|
|
250
|
+
gap: "1",
|
|
251
|
+
wrap: false
|
|
252
|
+
}, hoverProps), React__default.createElement("input", __spreadProps(__spreadValues(__spreadValues({
|
|
253
|
+
"aria-invalid": validationState === "invalid"
|
|
254
|
+
}, inputProps), focusProps), {
|
|
255
|
+
className: styles$1.input,
|
|
256
|
+
ref
|
|
257
|
+
})), React__default.createElement("span", {
|
|
258
|
+
className: styles$1.radioOuter
|
|
259
|
+
}, React__default.createElement("span", {
|
|
260
|
+
className: styles$1.radioInner
|
|
261
|
+
})), React__default.createElement(Text, {
|
|
262
|
+
variant: "body1",
|
|
263
|
+
color: textColor
|
|
264
|
+
}, children))), validationState === "invalid" && errorText && React__default.createElement(SelectorErrorTooltip, {
|
|
265
|
+
content: errorText
|
|
266
|
+
})));
|
|
269
267
|
}
|
|
270
|
-
const RadioGroup$1 = "
|
|
271
|
-
const list = "
|
|
268
|
+
const RadioGroup$1 = "_RadioGroup_57hp1_5";
|
|
269
|
+
const list = "_list_57hp1_14";
|
|
272
270
|
const styles = {
|
|
273
271
|
RadioGroup: RadioGroup$1,
|
|
274
272
|
list
|
|
@@ -277,19 +275,21 @@ function RadioGroupContainer(props) {
|
|
|
277
275
|
const { children, label: label2 } = props;
|
|
278
276
|
const state = $a54cdc5c1942b639$export$bca9d026f8e704eb(props);
|
|
279
277
|
const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(props, state);
|
|
280
|
-
return
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
278
|
+
return React__default.createElement("fieldset", __spreadValues({
|
|
279
|
+
className: styles.RadioGroup
|
|
280
|
+
}, radioGroupProps), label2 && React__default.createElement("div", null, React__default.createElement(Text, __spreadValues({
|
|
281
|
+
as: "legend",
|
|
282
|
+
variant: "subtitle1",
|
|
283
|
+
color: "gray.bold"
|
|
284
|
+
}, labelProps), label2)), React__default.createElement(RadioGroupContext.Provider, {
|
|
285
|
+
value: state
|
|
286
|
+
}, children));
|
|
289
287
|
}
|
|
290
288
|
function RadioGroup(props) {
|
|
291
289
|
const _a = props, { children } = _a, containerProps = __objRest(_a, ["children"]);
|
|
292
|
-
return
|
|
290
|
+
return React__default.createElement(RadioGroupContainer, __spreadValues({}, containerProps), React__default.createElement("div", {
|
|
291
|
+
className: styles.list
|
|
292
|
+
}, children));
|
|
293
293
|
}
|
|
294
294
|
RadioGroup.Container = RadioGroupContainer;
|
|
295
295
|
RadioGroup.Item = RadioGroupItem;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import React, { Key } from "react";
|
|
2
|
+
import { CollectionChildren } from "@react-types/shared";
|
|
3
|
+
import { AriaSelectProps } from "react-aria";
|
|
4
|
+
import { BaseSelectFieldProps } from "./SelectField";
|
|
5
|
+
import { SelectOption } from "./SelectOption";
|
|
6
|
+
import { SelectSection } from "./SelectSection";
|
|
7
|
+
export type SelectProps<T> = AriaSelectProps<T> & BaseSelectFieldProps & {
|
|
8
|
+
/** Method that is called when the open state of the select field changes. */
|
|
9
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
10
|
+
/** Sets the open state of the select field. */
|
|
11
|
+
isOpen?: boolean;
|
|
12
|
+
/** The currently selected key in the collection (controlled). */
|
|
13
|
+
selectedKey?: Key | null;
|
|
14
|
+
/** The initial selected key in the collection (uncontrolled). */
|
|
15
|
+
defaultSelectedKey?: Key;
|
|
16
|
+
/** Handler that is called when the selection changes. */
|
|
17
|
+
onSelectionChange?: (key: Key) => void;
|
|
18
|
+
/** The contents of the collection. */
|
|
19
|
+
children: CollectionChildren<T>;
|
|
20
|
+
/** The option keys that are disabled. These options cannot be selected, focused, or otherwise interacted with. */
|
|
21
|
+
disabledKeys?: Iterable<Key>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The `<Select />` component allows users to select a value from a set of options.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* A common use-case for this component is to be used on forms as a traditional
|
|
28
|
+
* select.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* _Simple controlled selection:_
|
|
32
|
+
*```tsx
|
|
33
|
+
* import { Select } from "@easypost/easy-ui/Select";
|
|
34
|
+
*
|
|
35
|
+
* export function Component() {
|
|
36
|
+
* const [selectedOption, setSelectedOption] = React.useState("Option 1");
|
|
37
|
+
*
|
|
38
|
+
* return (
|
|
39
|
+
* <Select
|
|
40
|
+
* label="Label"
|
|
41
|
+
* selectedKey={selectedOption}
|
|
42
|
+
* onSelectionChange={(selected) => setSelectedOption(selected)}
|
|
43
|
+
* helperText="Helper text"
|
|
44
|
+
* >
|
|
45
|
+
* <Select.Option key="Option 1">Option 1</Select.Option>
|
|
46
|
+
* <Select.Option key="Option 2">Option 2</Select.Option>
|
|
47
|
+
* <Select.Option key="Option 3">Option 3</Select.Option>
|
|
48
|
+
* </Select>
|
|
49
|
+
* );
|
|
50
|
+
* }
|
|
51
|
+
```
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* _Simple controlled selection with separator:_
|
|
55
|
+
*```tsx
|
|
56
|
+
* import { Select } from "@easypost/easy-ui/Select";
|
|
57
|
+
*
|
|
58
|
+
* export function Component() {
|
|
59
|
+
* const [selectedOption, setSelectedOption] = React.useState("Option 1");
|
|
60
|
+
*
|
|
61
|
+
* return (
|
|
62
|
+
* <Select
|
|
63
|
+
* label="Label"
|
|
64
|
+
* selectedKey={selectedOption}
|
|
65
|
+
* onSelectionChange={(selected) => setSelectedOption(selected)}
|
|
66
|
+
* helperText="Helper text"
|
|
67
|
+
* >
|
|
68
|
+
* <Select.Section aria-label="Primary options">
|
|
69
|
+
* <Select.Option key="Option 1">Option 1</Select.Option>
|
|
70
|
+
* <Select.Option key="Option 2">Option 2</Select.Option>
|
|
71
|
+
* <Select.Option key="Option 3">Option 3</Select.Option>
|
|
72
|
+
* </Select.Section>
|
|
73
|
+
* <Select.Section aria-label="Secondary options">
|
|
74
|
+
* <Select.Option key="Option 4">Option 4</Select.Option>
|
|
75
|
+
* <Select.Option key="Option 5">Option 5</Select.Option>
|
|
76
|
+
* <Select.Option key="Option 6">Option 6</Select.Option>
|
|
77
|
+
* </Select.Section>
|
|
78
|
+
* </Select>
|
|
79
|
+
* );
|
|
80
|
+
* }
|
|
81
|
+
```
|
|
82
|
+
*/
|
|
83
|
+
export declare function Select<T extends object>(props: SelectProps<T>): React.JSX.Element;
|
|
84
|
+
export declare namespace Select {
|
|
85
|
+
var Section: typeof SelectSection;
|
|
86
|
+
var Option: typeof SelectOption;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAW,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AAExD,OAAO,EAAe,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,GAC7C,oBAAoB,GAAG;IACrB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,WAAW,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACzB,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,sCAAsC;IACtC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChC,kHAAkH;IAClH,YAAY,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;CAC9B,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,qBA2D7D;yBA3De,MAAM"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Select } from "./Select";
|
|
3
|
+
type Story = StoryObj<typeof Select>;
|
|
4
|
+
declare const meta: Meta<typeof Select>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Standard: Story;
|
|
7
|
+
export declare const Icon: Story;
|
|
8
|
+
export declare const SmallSelect: Story;
|
|
9
|
+
export declare const LargeSelect: Story;
|
|
10
|
+
export declare const LabelWithEmphasis: Story;
|
|
11
|
+
export declare const Error: Story;
|
|
12
|
+
export declare const VisuallyHiddenLabel: Story;
|
|
13
|
+
export declare const WithSeparator: Story;
|
|
14
|
+
export declare const ControlledSelection: Story;
|
|
15
|
+
export declare const DisabledOptions: Story;
|
|
16
|
+
export declare const DisabledSelect: Story;
|
|
17
|
+
//# sourceMappingURL=Select.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../src/Select/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,EAAE,MAAM,EAAe,MAAM,UAAU,CAAC;AAE/C,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAYrC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAS7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAKjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAqBjC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.test.d.ts","sourceRoot":"","sources":["../../src/Select/Select.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MutableRefObject } from "react";
|
|
2
|
+
import { SelectState } from "react-stately";
|
|
3
|
+
import { AriaButtonProps, AriaListBoxOptions } from "react-aria";
|
|
4
|
+
type InternalSelectContextType = {
|
|
5
|
+
triggerProps: AriaButtonProps;
|
|
6
|
+
listBoxPropsFromSelect: AriaListBoxOptions<unknown>;
|
|
7
|
+
triggerRef: MutableRefObject<null>;
|
|
8
|
+
selectState: SelectState<unknown>;
|
|
9
|
+
triggerWidth: number | null;
|
|
10
|
+
};
|
|
11
|
+
export declare const InternalSelectContext: import("react").Context<InternalSelectContextType | null>;
|
|
12
|
+
export declare function useInternalSelectContext(): InternalSelectContextType;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=SelectContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectContext.d.ts","sourceRoot":"","sources":["../../src/Select/SelectContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA6B,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEjE,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE,eAAe,CAAC;IAC9B,sBAAsB,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpD,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,2DACqB,CAAC;AAExD,wBAAgB,wBAAwB,8BAMvC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React, { ReactNode, DOMAttributes } from "react";
|
|
2
|
+
import { FocusableElement } from "@react-types/shared";
|
|
3
|
+
import { IconSymbol } from "../types";
|
|
4
|
+
export type SelectFieldSize = "sm" | "md" | "lg";
|
|
5
|
+
export type ValidationState = "valid" | "invalid";
|
|
6
|
+
export type BaseSelectFieldProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Visually hides the label, but keeps it accessible.
|
|
9
|
+
* @default false
|
|
10
|
+
*/
|
|
11
|
+
isLabelVisuallyHidden?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the select field is disabled.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
isDisabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether user input is required on the select field before form submission.
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
isRequired?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the input should display its "valid" or "invalid" visual styling.
|
|
24
|
+
* @default valid
|
|
25
|
+
*/
|
|
26
|
+
validationState?: ValidationState;
|
|
27
|
+
/**
|
|
28
|
+
* Label text displays with emphasis.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
isLabelEmphasized?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Size affects the overall size of the select field, but it also influences
|
|
34
|
+
* the size of iconAtStart.
|
|
35
|
+
* @default md
|
|
36
|
+
*/
|
|
37
|
+
size?: SelectFieldSize;
|
|
38
|
+
/** The content to display as the label. */
|
|
39
|
+
label: ReactNode;
|
|
40
|
+
/** Error text that appears below select field. */
|
|
41
|
+
errorText?: ReactNode;
|
|
42
|
+
/** Helper text that appears below select field. */
|
|
43
|
+
helperText?: ReactNode;
|
|
44
|
+
/** Temporary text that occupies select field when it is empty. */
|
|
45
|
+
placeholder?: string;
|
|
46
|
+
/** Left aligned icon on the select field. */
|
|
47
|
+
iconAtStart?: IconSymbol;
|
|
48
|
+
};
|
|
49
|
+
type SelectFieldAttributeProps = {
|
|
50
|
+
/** Label props associated with field. */
|
|
51
|
+
labelProps?: DOMAttributes<FocusableElement>;
|
|
52
|
+
/** Helper text props associated with field. */
|
|
53
|
+
helperTextProps?: DOMAttributes<FocusableElement>;
|
|
54
|
+
/** Error text props associated with field. */
|
|
55
|
+
errorTextProps?: DOMAttributes<FocusableElement>;
|
|
56
|
+
/** Field value props. */
|
|
57
|
+
valueProps?: DOMAttributes<FocusableElement>;
|
|
58
|
+
};
|
|
59
|
+
type SelectFieldProps = BaseSelectFieldProps & SelectFieldAttributeProps;
|
|
60
|
+
export declare function SelectField(props: SelectFieldProps): React.JSX.Element;
|
|
61
|
+
export {};
|
|
62
|
+
//# sourceMappingURL=SelectField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../src/Select/SelectField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAOtC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2CAA2C;IAC3C,KAAK,EAAE,SAAS,CAAC;IACjB,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,mDAAmD;IACnD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,yCAAyC;IACzC,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,+CAA+C;IAC/C,eAAe,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAClD,8CAA8C;IAC9C,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACjD,yBAAyB;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;CAC9C,CAAC;AAEF,KAAK,gBAAgB,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;AAEzE,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAiElD"}
|