@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.
Files changed (133) hide show
  1. package/Badge/index.js +32 -26
  2. package/Badge/index.mjs +32 -26
  3. package/Banner/index.js +15 -16
  4. package/Banner/index.mjs +15 -16
  5. package/Button/Button.d.ts +61 -0
  6. package/Button/Button.d.ts.map +1 -1
  7. package/Button/index.js +34 -69
  8. package/Button/index.mjs +33 -68
  9. package/CHANGELOG.md +21 -0
  10. package/Card/index.js +84 -5
  11. package/Card/index.mjs +84 -5
  12. package/Checkbox/index.js +84 -72
  13. package/Checkbox/index.mjs +84 -72
  14. package/CodeBlock/index.js +43 -49
  15. package/CodeBlock/index.mjs +43 -49
  16. package/DropdownButton/DropdownButton.d.ts +48 -0
  17. package/DropdownButton/DropdownButton.d.ts.map +1 -1
  18. package/DropdownButton/index.js +29 -101
  19. package/DropdownButton/index.mjs +29 -85
  20. package/HorizontalGrid/index.js +11 -31
  21. package/HorizontalGrid/index.mjs +11 -31
  22. package/HorizontalStack/index.js +48 -4
  23. package/HorizontalStack/index.mjs +48 -4
  24. package/Icon/Icon.d.ts +51 -0
  25. package/Icon/Icon.d.ts.map +1 -1
  26. package/Icon/index.js +38 -4
  27. package/Icon/index.mjs +38 -4
  28. package/IconButton/IconButton.d.ts +62 -0
  29. package/IconButton/IconButton.d.ts.map +1 -1
  30. package/IconButton/index.js +26 -43
  31. package/IconButton/index.mjs +25 -42
  32. package/InputField/Label.d.ts +2 -2
  33. package/InputField/index.js +282 -10
  34. package/InputField/index.mjs +266 -10
  35. package/InputField/utilities.d.ts +1 -1
  36. package/InputField/utilities.d.ts.map +1 -1
  37. package/Menu/MenuOverlay.d.ts.map +1 -1
  38. package/Menu/index.js +178 -1958
  39. package/Menu/index.mjs +168 -1948
  40. package/Menu/utilities.d.ts +11 -0
  41. package/Menu/utilities.d.ts.map +1 -0
  42. package/Notification/index.js +1534 -14
  43. package/Notification/index.mjs +1518 -14
  44. package/Provider/index.js +15 -15
  45. package/Provider/index.mjs +15 -15
  46. package/RadioGroup/index.js +63 -63
  47. package/RadioGroup/index.mjs +63 -63
  48. package/Select/Select.d.ts +88 -0
  49. package/Select/Select.d.ts.map +1 -0
  50. package/Select/Select.stories.d.ts +17 -0
  51. package/Select/Select.stories.d.ts.map +1 -0
  52. package/Select/Select.test.d.ts +2 -0
  53. package/Select/Select.test.d.ts.map +1 -0
  54. package/Select/SelectContext.d.ts +14 -0
  55. package/Select/SelectContext.d.ts.map +1 -0
  56. package/Select/SelectField.d.ts +62 -0
  57. package/Select/SelectField.d.ts.map +1 -0
  58. package/Select/SelectOption.d.ts +23 -0
  59. package/Select/SelectOption.d.ts.map +1 -0
  60. package/Select/SelectOverlay.d.ts +3 -0
  61. package/Select/SelectOverlay.d.ts.map +1 -0
  62. package/Select/SelectSection.d.ts +22 -0
  63. package/Select/SelectSection.d.ts.map +1 -0
  64. package/Select/SelectTrigger.d.ts +30 -0
  65. package/Select/SelectTrigger.d.ts.map +1 -0
  66. package/Select/index.d.ts +2 -0
  67. package/Select/index.d.ts.map +1 -0
  68. package/Select/index.js +816 -0
  69. package/Select/index.mjs +816 -0
  70. package/SelectorErrorTooltip/index.js +102 -11
  71. package/SelectorErrorTooltip/index.mjs +86 -11
  72. package/Text/index.js +85 -4
  73. package/Text/index.mjs +85 -4
  74. package/TextField/index.js +19 -38
  75. package/TextField/index.mjs +19 -38
  76. package/Textarea/index.js +20 -37
  77. package/Textarea/index.mjs +20 -37
  78. package/Theme/index.js +145 -9
  79. package/Theme/index.mjs +145 -9
  80. package/Toggle/index.js +51 -50
  81. package/Toggle/index.mjs +51 -50
  82. package/Tooltip/index.js +299 -10
  83. package/Tooltip/index.mjs +299 -10
  84. package/UnstyledButton/index.js +4 -4
  85. package/UnstyledButton/index.mjs +3 -3
  86. package/VerticalStack/index.js +13 -47
  87. package/VerticalStack/index.mjs +13 -47
  88. package/__chunks__/ExpandMore400-7c5263a4.mjs +49 -0
  89. package/__chunks__/ExpandMore400-92646971.js +65 -0
  90. package/__chunks__/InputIcon-2317befd.mjs +148 -0
  91. package/__chunks__/InputIcon-d3963cf8.js +147 -0
  92. package/__chunks__/{import-e7f45c7e.mjs → import-0561e1ba.mjs} +3 -3
  93. package/__chunks__/{import-b7971a11.mjs → import-19bc38ac.mjs} +72 -34
  94. package/__chunks__/{import-01299af6.js → import-24a482e1.js} +3 -2
  95. package/__chunks__/{import-baa3cd0c.mjs → import-29af6941.mjs} +4 -3
  96. package/__chunks__/{import-0d1b4d93.js → import-2b302763.js} +193 -141
  97. package/__chunks__/{import-ab878fb6.mjs → import-3d962a94.mjs} +205 -153
  98. package/__chunks__/{import-86330a7c.mjs → import-6a831ca1.mjs} +16 -15
  99. package/__chunks__/{import-7545401a.js → import-8b6c0bc7.js} +3 -3
  100. package/__chunks__/{import-63bf0645.js → import-a1e0f814.js} +47 -9
  101. package/__chunks__/{import-3ab42f86.js → import-a2023d8f.js} +35 -22
  102. package/__chunks__/{import-76076ca6.js → import-dea5a24d.js} +15 -14
  103. package/__chunks__/{import-856e0385.mjs → import-f1f4792a.mjs} +36 -23
  104. package/__chunks__/{UnstyledButton-883f0c6c.mjs → index-29d7bca9.mjs} +17 -42
  105. package/__chunks__/{UnstyledButton-96172ec0.js → index-3985350a.js} +17 -42
  106. package/__chunks__/{overlayscrollbars-react.es-c8369a03.mjs → overlayscrollbars-react.es-7f332a3b.mjs} +4 -4
  107. package/__chunks__/{overlayscrollbars-react.es-20563393.js → overlayscrollbars-react.es-f2a0bcff.js} +4 -4
  108. package/__chunks__/{real-module-e4cd2301.mjs → real-module-515df21d.mjs} +1 -1
  109. package/__chunks__/{real-module-ae2a4342.js → real-module-e36b1436.js} +1 -1
  110. package/__chunks__/useTriggerWidth-156b038a.js +2030 -0
  111. package/__chunks__/useTriggerWidth-addcd1d6.mjs +2031 -0
  112. package/package.json +11 -11
  113. package/style.css +1423 -1196
  114. package/utilities/css.js +14 -58
  115. package/utilities/css.mjs +14 -58
  116. package/__chunks__/Card-7bbd41e0.mjs +0 -110
  117. package/__chunks__/Card-dac53c75.js +0 -109
  118. package/__chunks__/HorizontalStack-a441c63f.mjs +0 -80
  119. package/__chunks__/HorizontalStack-a862839b.js +0 -79
  120. package/__chunks__/Icon-3d00481a.js +0 -44
  121. package/__chunks__/Icon-a75b5201.mjs +0 -45
  122. package/__chunks__/InputField-4fbaae06.js +0 -487
  123. package/__chunks__/InputField-a272f602.mjs +0 -472
  124. package/__chunks__/Notification-b8eafec6.mjs +0 -1456
  125. package/__chunks__/Notification-c5b34eb3.js +0 -1471
  126. package/__chunks__/SelectorErrorTooltip-43c5e29e.js +0 -84
  127. package/__chunks__/SelectorErrorTooltip-b6204987.mjs +0 -69
  128. package/__chunks__/Text-1ae70c19.js +0 -102
  129. package/__chunks__/Text-4ae50d5c.mjs +0 -103
  130. package/__chunks__/Theme-4e498252.mjs +0 -132
  131. package/__chunks__/Theme-751e5575.js +0 -131
  132. package/__chunks__/Tooltip-bd55165e.js +0 -317
  133. 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 Theme = require("../__chunks__/Theme-751e5575.js");
5
- const Notification = require("../__chunks__/Notification-c5b34eb3.js");
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-63bf0645.js");
10
- require("../__chunks__/import-0d1b4d93.js");
11
- require("../__chunks__/real-module-ae2a4342.js");
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("../__chunks__/Icon-3d00481a.js");
14
- require("../__chunks__/Text-1ae70c19.js");
15
- require("../__chunks__/UnstyledButton-96172ec0.js");
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
- children,
20
- theme,
21
- colorScheme,
22
- notificationPlacement
23
- }) {
24
- return /* @__PURE__ */ React.createElement(Theme.ThemeProvider, { theme, colorScheme }, /* @__PURE__ */ React.createElement(Notification.NotificationProvider, { notificationPlacement }, children));
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;
@@ -1,25 +1,25 @@
1
1
  import React__default from "react";
2
- import { T as ThemeProvider } from "../__chunks__/Theme-4e498252.mjs";
3
- import { N as NotificationProvider } from "../__chunks__/Notification-b8eafec6.mjs";
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-b7971a11.mjs";
8
- import "../__chunks__/import-ab878fb6.mjs";
9
- import "../__chunks__/real-module-e4cd2301.mjs";
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 "../__chunks__/Icon-a75b5201.mjs";
12
- import "../__chunks__/Text-4ae50d5c.mjs";
13
- import "../__chunks__/UnstyledButton-883f0c6c.mjs";
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
- children,
18
- theme,
19
- colorScheme,
20
- notificationPlacement
21
- }) {
22
- return /* @__PURE__ */ React__default.createElement(ThemeProvider, { theme, colorScheme }, /* @__PURE__ */ React__default.createElement(NotificationProvider, { notificationPlacement }, children));
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
@@ -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 Text = require("../__chunks__/Text-1ae70c19.js");
36
- const HorizontalStack = require("../__chunks__/HorizontalStack-a862839b.js");
37
- const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-43c5e29e.js");
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-63bf0645.js");
40
- const _import = require("../__chunks__/import-0d1b4d93.js");
41
- const _import$2 = require("../__chunks__/import-01299af6.js");
42
- const realModule = require("../__chunks__/real-module-ae2a4342.js");
43
- const _import$3 = require("../__chunks__/import-76076ca6.js");
44
- require("../__chunks__/Icon-3d00481a.js");
45
- require("../__chunks__/Tooltip-bd55165e.js");
46
- require("../__chunks__/import-3ab42f86.js");
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 = "_RadioGroupItem_7eiih_5";
215
- const label = "_label_7eiih_11";
216
- const radioOuter = "_radioOuter_7eiih_28";
217
- const radioInner = "_radioInner_7eiih_29";
218
- const focusVisible = "_focusVisible_7eiih_43";
219
- const selected = "_selected_7eiih_62";
220
- const invalid = "_invalid_7eiih_66";
221
- const disabled = "_disabled_7eiih_70";
222
- const hovered = "_hovered_7eiih_82";
223
- const readOnly = "_readOnly_7eiih_82";
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 /* @__PURE__ */ React.createElement("div", { className, "data-testid": "root" }, /* @__PURE__ */ React.createElement(HorizontalStack.HorizontalStack, { gap: "1", blockAlign: "center" }, /* @__PURE__ */ React.createElement("label", { className: styles$1.label }, /* @__PURE__ */ React.createElement(
253
- HorizontalStack.HorizontalStack,
254
- __spreadValues({
255
- blockAlign: "start",
256
- gap: "1",
257
- wrap: false
258
- }, hoverProps),
259
- /* @__PURE__ */ React.createElement(
260
- "input",
261
- __spreadProps(__spreadValues(__spreadValues({
262
- "aria-invalid": validationState === "invalid"
263
- }, inputProps), focusProps), {
264
- className: styles$1.input,
265
- ref
266
- })
267
- ),
268
- /* @__PURE__ */ React.createElement("span", { className: styles$1.radioOuter }, /* @__PURE__ */ React.createElement("span", { className: styles$1.radioInner })),
269
- /* @__PURE__ */ React.createElement(Text.Text, { variant: "body1", color: textColor }, children)
270
- )), validationState === "invalid" && errorText && /* @__PURE__ */ React.createElement(SelectorErrorTooltip.SelectorErrorTooltip, { content: errorText })));
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 = "_RadioGroup_1712u_5";
273
- const list = "_list_1712u_14";
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 /* @__PURE__ */ React.createElement("fieldset", __spreadValues({ className: styles.RadioGroup }, radioGroupProps), label2 && /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(
283
- Text.Text,
284
- __spreadValues({
285
- as: "legend",
286
- variant: "subtitle1",
287
- color: "gray.bold"
288
- }, labelProps),
289
- label2
290
- )), /* @__PURE__ */ React.createElement(RadioGroupContext.Provider, { value: state }, children));
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 /* @__PURE__ */ React.createElement(RadioGroupContainer, __spreadValues({}, containerProps), /* @__PURE__ */ React.createElement("div", { className: styles.list }, children));
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;
@@ -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 { T as Text } from "../__chunks__/Text-4ae50d5c.mjs";
34
- import { H as HorizontalStack } from "../__chunks__/HorizontalStack-a441c63f.mjs";
35
- import { S as SelectorErrorTooltip } from "../__chunks__/SelectorErrorTooltip-b6204987.mjs";
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 { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, b as $bdb11010cef70236$export$f680877a34711e37 } from "../__chunks__/import-b7971a11.mjs";
38
- import { b as $f6c31cce2adf654f$export$45712eceda6fad21, c as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c, d as $9ab94262bd0047c7$export$420e68273165f4ec, e as $9bf71ea28793e738$export$2d6ec8fc375ceafa, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, a as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/import-ab878fb6.mjs";
39
- import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-baa3cd0c.mjs";
40
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/real-module-e4cd2301.mjs";
41
- import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/import-86330a7c.mjs";
42
- import "../__chunks__/Icon-a75b5201.mjs";
43
- import "../__chunks__/Tooltip-f7e67b21.mjs";
44
- import "../__chunks__/import-856e0385.mjs";
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 = "_RadioGroupItem_7eiih_5";
213
- const label = "_label_7eiih_11";
214
- const radioOuter = "_radioOuter_7eiih_28";
215
- const radioInner = "_radioInner_7eiih_29";
216
- const focusVisible = "_focusVisible_7eiih_43";
217
- const selected = "_selected_7eiih_62";
218
- const invalid = "_invalid_7eiih_66";
219
- const disabled = "_disabled_7eiih_70";
220
- const hovered = "_hovered_7eiih_82";
221
- const readOnly = "_readOnly_7eiih_82";
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 /* @__PURE__ */ React__default.createElement("div", { className, "data-testid": "root" }, /* @__PURE__ */ React__default.createElement(HorizontalStack, { gap: "1", blockAlign: "center" }, /* @__PURE__ */ React__default.createElement("label", { className: styles$1.label }, /* @__PURE__ */ React__default.createElement(
251
- HorizontalStack,
252
- __spreadValues({
253
- blockAlign: "start",
254
- gap: "1",
255
- wrap: false
256
- }, hoverProps),
257
- /* @__PURE__ */ React__default.createElement(
258
- "input",
259
- __spreadProps(__spreadValues(__spreadValues({
260
- "aria-invalid": validationState === "invalid"
261
- }, inputProps), focusProps), {
262
- className: styles$1.input,
263
- ref
264
- })
265
- ),
266
- /* @__PURE__ */ React__default.createElement("span", { className: styles$1.radioOuter }, /* @__PURE__ */ React__default.createElement("span", { className: styles$1.radioInner })),
267
- /* @__PURE__ */ React__default.createElement(Text, { variant: "body1", color: textColor }, children)
268
- )), validationState === "invalid" && errorText && /* @__PURE__ */ React__default.createElement(SelectorErrorTooltip, { content: errorText })));
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 = "_RadioGroup_1712u_5";
271
- const list = "_list_1712u_14";
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 /* @__PURE__ */ React__default.createElement("fieldset", __spreadValues({ className: styles.RadioGroup }, radioGroupProps), label2 && /* @__PURE__ */ React__default.createElement("div", null, /* @__PURE__ */ React__default.createElement(
281
- Text,
282
- __spreadValues({
283
- as: "legend",
284
- variant: "subtitle1",
285
- color: "gray.bold"
286
- }, labelProps),
287
- label2
288
- )), /* @__PURE__ */ React__default.createElement(RadioGroupContext.Provider, { value: state }, children));
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 /* @__PURE__ */ React__default.createElement(RadioGroupContainer, __spreadValues({}, containerProps), /* @__PURE__ */ React__default.createElement("div", { className: styles.list }, children));
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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Select.test.d.ts.map
@@ -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"}