@easypost/easy-ui 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (138) hide show
  1. package/Badge/index.js +16 -16
  2. package/Badge/index.mjs +14 -14
  3. package/Banner/index.js +7 -7
  4. package/Banner/index.mjs +5 -5
  5. package/Button/Button.d.ts +61 -0
  6. package/Button/Button.d.ts.map +1 -1
  7. package/Button/index.js +23 -23
  8. package/Button/index.mjs +20 -20
  9. package/CHANGELOG.md +22 -0
  10. package/Card/index.js +84 -5
  11. package/Card/index.mjs +84 -5
  12. package/Checkbox/index.js +28 -28
  13. package/Checkbox/index.mjs +26 -26
  14. package/CodeBlock/CodeBlock.d.ts +49 -61
  15. package/CodeBlock/CodeBlock.d.ts.map +1 -1
  16. package/CodeBlock/CodeBlock.stories.d.ts +3 -2
  17. package/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
  18. package/CodeBlock/CopyButton.d.ts +9 -0
  19. package/CodeBlock/CopyButton.d.ts.map +1 -0
  20. package/CodeBlock/LanguageMenu.d.ts +18 -0
  21. package/CodeBlock/LanguageMenu.d.ts.map +1 -0
  22. package/CodeBlock/context.d.ts +11 -0
  23. package/CodeBlock/context.d.ts.map +1 -0
  24. package/CodeBlock/index.js +310 -5335
  25. package/CodeBlock/index.mjs +299 -5340
  26. package/CodeSnippet/CodeSnippet.d.ts +82 -0
  27. package/CodeSnippet/CodeSnippet.d.ts.map +1 -0
  28. package/CodeSnippet/CodeSnippet.stories.d.ts +14 -0
  29. package/CodeSnippet/CodeSnippet.stories.d.ts.map +1 -0
  30. package/CodeSnippet/CodeSnippet.test.d.ts +2 -0
  31. package/CodeSnippet/CodeSnippet.test.d.ts.map +1 -0
  32. package/CodeSnippet/SyntaxHighlighter.d.ts +8 -0
  33. package/CodeSnippet/SyntaxHighlighter.d.ts.map +1 -0
  34. package/CodeSnippet/index.d.ts +2 -0
  35. package/CodeSnippet/index.d.ts.map +1 -0
  36. package/CodeSnippet/index.js +11 -0
  37. package/CodeSnippet/index.mjs +11 -0
  38. package/CodeSnippet/theme.d.ts.map +1 -0
  39. package/CodeSnippet/useScrollbar.d.ts.map +1 -0
  40. package/DropdownButton/DropdownButton.d.ts +48 -0
  41. package/DropdownButton/DropdownButton.d.ts.map +1 -1
  42. package/DropdownButton/index.js +17 -17
  43. package/DropdownButton/index.mjs +15 -15
  44. package/HorizontalGrid/index.js +1 -1
  45. package/HorizontalGrid/index.mjs +1 -1
  46. package/HorizontalStack/index.js +48 -4
  47. package/HorizontalStack/index.mjs +48 -4
  48. package/Icon/Icon.d.ts +51 -0
  49. package/Icon/Icon.d.ts.map +1 -1
  50. package/Icon/index.js +38 -4
  51. package/Icon/index.mjs +38 -4
  52. package/IconButton/IconButton.d.ts +62 -0
  53. package/IconButton/IconButton.d.ts.map +1 -1
  54. package/IconButton/index.js +18 -18
  55. package/IconButton/index.mjs +15 -15
  56. package/InputField/index.js +282 -11
  57. package/InputField/index.mjs +266 -11
  58. package/Menu/index.js +57 -15
  59. package/Menu/index.mjs +58 -16
  60. package/Notification/index.js +1534 -14
  61. package/Notification/index.mjs +1518 -14
  62. package/Provider/index.js +9 -9
  63. package/Provider/index.mjs +9 -9
  64. package/RadioGroup/index.js +24 -24
  65. package/RadioGroup/index.mjs +22 -22
  66. package/Select/index.js +71 -29
  67. package/Select/index.mjs +71 -29
  68. package/SelectorErrorTooltip/index.js +99 -8
  69. package/SelectorErrorTooltip/index.mjs +85 -10
  70. package/Text/index.js +85 -4
  71. package/Text/index.mjs +85 -4
  72. package/TextField/index.js +7 -7
  73. package/TextField/index.mjs +8 -8
  74. package/Textarea/index.js +7 -7
  75. package/Textarea/index.mjs +8 -8
  76. package/Theme/index.js +145 -9
  77. package/Theme/index.mjs +145 -9
  78. package/Toggle/index.js +14 -14
  79. package/Toggle/index.mjs +14 -14
  80. package/Tooltip/Tooltip.stories.d.ts +1 -0
  81. package/Tooltip/Tooltip.stories.d.ts.map +1 -1
  82. package/Tooltip/index.js +5 -5
  83. package/Tooltip/index.mjs +6 -6
  84. package/UnstyledButton/index.js +3 -3
  85. package/UnstyledButton/index.mjs +3 -3
  86. package/VerticalStack/index.js +3 -3
  87. package/VerticalStack/index.mjs +3 -3
  88. package/__chunks__/{InputIcon-4a8e5243.mjs → InputIcon-1f2ed127.mjs} +26 -26
  89. package/__chunks__/{InputIcon-70dad3e5.js → InputIcon-f456e366.js} +29 -29
  90. package/__chunks__/{import-87c465c9.js → import-0f8555a4.js} +1 -1
  91. package/__chunks__/{import-fbe7cc7e.mjs → import-19bc38ac.mjs} +26 -26
  92. package/__chunks__/{import-9581a2dc.js → import-26676303.js} +44 -1
  93. package/__chunks__/{import-d2e79ac1.mjs → import-29af6941.mjs} +3 -3
  94. package/__chunks__/{import-a6cadfe8.mjs → import-3faba3a6.mjs} +58 -15
  95. package/__chunks__/{import-d52cd5cf.js → import-890ae60e.js} +1 -1
  96. package/__chunks__/{import-29edaaea.mjs → import-c4caaddf.mjs} +9 -9
  97. package/__chunks__/{import-9c958e32.mjs → import-eb35a9b9.mjs} +2 -2
  98. package/__chunks__/{UnstyledButton-981cd9af.mjs → index-45f05366.mjs} +2 -2
  99. package/__chunks__/{UnstyledButton-5bbb3c5e.js → index-5f429325.js} +1 -1
  100. package/__chunks__/index-72137376.mjs +5421 -0
  101. package/__chunks__/index-a7b6b429.js +5420 -0
  102. package/__chunks__/{Tooltip-c5076ca7.js → index-affe5510.js} +13 -12
  103. package/__chunks__/{Tooltip-b4e23b78.mjs → index-e989a741.mjs} +14 -13
  104. package/__chunks__/{overlayscrollbars-react.es-c8369a03.mjs → overlayscrollbars-react.es-7f332a3b.mjs} +4 -4
  105. package/__chunks__/{overlayscrollbars-react.es-20563393.js → overlayscrollbars-react.es-f2a0bcff.js} +4 -4
  106. package/__chunks__/{real-module-2f165429.mjs → real-module-515df21d.mjs} +4 -4
  107. package/__chunks__/{tokens-6be8e137.mjs → tokens-3c27019b.mjs} +1 -0
  108. package/__chunks__/{tokens-e696ca96.js → tokens-ad06cd2c.js} +1 -0
  109. package/__chunks__/{useTriggerWidth-29becc21.mjs → useTriggerWidth-b554acaf.mjs} +50 -8
  110. package/__chunks__/{useTriggerWidth-9528009c.js → useTriggerWidth-e11bf6d6.js} +48 -6
  111. package/package.json +10 -8
  112. package/style.css +2182 -2110
  113. package/utilities/react.d.ts +15 -0
  114. package/utilities/react.d.ts.map +1 -0
  115. package/utilities/react.js +333 -0
  116. package/utilities/react.mjs +333 -0
  117. package/CodeBlock/SyntaxHighlighter.d.ts +0 -5
  118. package/CodeBlock/SyntaxHighlighter.d.ts.map +0 -1
  119. package/CodeBlock/theme.d.ts.map +0 -1
  120. package/CodeBlock/useScrollbar.d.ts.map +0 -1
  121. package/__chunks__/Card-2bd533c4.js +0 -85
  122. package/__chunks__/Card-4ad318ba.mjs +0 -86
  123. package/__chunks__/HorizontalStack-65adb570.mjs +0 -50
  124. package/__chunks__/HorizontalStack-f331bfc7.js +0 -49
  125. package/__chunks__/Icon-1a25dcae.js +0 -39
  126. package/__chunks__/Icon-6eb724b4.mjs +0 -40
  127. package/__chunks__/InputField-cc829736.mjs +0 -268
  128. package/__chunks__/InputField-f5072e37.js +0 -283
  129. package/__chunks__/Notification-8d749bd1.mjs +0 -1533
  130. package/__chunks__/Notification-b7a2c277.js +0 -1548
  131. package/__chunks__/SelectorErrorTooltip-4d820c45.mjs +0 -83
  132. package/__chunks__/SelectorErrorTooltip-b7bb5b9d.js +0 -98
  133. package/__chunks__/Text-2efbe1fe.js +0 -86
  134. package/__chunks__/Text-ec2b8d8a.mjs +0 -87
  135. package/__chunks__/Theme-123ba2c3.mjs +0 -147
  136. package/__chunks__/Theme-57f8311c.js +0 -146
  137. /package/{CodeBlock → CodeSnippet}/theme.d.ts +0 -0
  138. /package/{CodeBlock → CodeSnippet}/useScrollbar.d.ts +0 -0
package/Provider/index.js CHANGED
@@ -1,25 +1,25 @@
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-57f8311c.js");
5
- const Notification = require("../__chunks__/Notification-b7a2c277.js");
6
- require("../__chunks__/tokens-e696ca96.js");
4
+ const Theme_index = require("../Theme/index.js");
5
+ const Notification_index = require("../Notification/index.js");
6
+ require("../__chunks__/tokens-ad06cd2c.js");
7
7
  require("../utilities/tokens.js");
8
8
  require("../utilities/css.js");
9
9
  require("../__chunks__/import-a1e0f814.js");
10
- require("../__chunks__/import-9581a2dc.js");
10
+ require("../__chunks__/import-26676303.js");
11
11
  require("../__chunks__/real-module-e36b1436.js");
12
12
  require("react-dom");
13
- require("../__chunks__/Icon-1a25dcae.js");
14
- require("../__chunks__/Text-2efbe1fe.js");
15
- require("../__chunks__/UnstyledButton-5bbb3c5e.js");
13
+ require("../Icon/index.js");
14
+ require("../Text/index.js");
15
+ require("../__chunks__/index-5f429325.js");
16
16
  require("../__chunks__/omit-fca26542.js");
17
17
  const global = "";
18
18
  function Provider({ children, theme, colorScheme, notificationPlacement }) {
19
- return React.createElement(Theme.ThemeProvider, {
19
+ return React.createElement(Theme_index.ThemeProvider, {
20
20
  theme,
21
21
  colorScheme
22
- }, React.createElement(Notification.NotificationProvider, {
22
+ }, React.createElement(Notification_index.NotificationProvider, {
23
23
  notificationPlacement
24
24
  }, children));
25
25
  }
@@ -1,16 +1,16 @@
1
1
  import React__default from "react";
2
- import { T as ThemeProvider } from "../__chunks__/Theme-123ba2c3.mjs";
3
- import { N as NotificationProvider } from "../__chunks__/Notification-8d749bd1.mjs";
4
- import "../__chunks__/tokens-6be8e137.mjs";
2
+ import { ThemeProvider } from "../Theme/index.mjs";
3
+ import { NotificationProvider } from "../Notification/index.mjs";
4
+ import "../__chunks__/tokens-3c27019b.mjs";
5
5
  import "../utilities/tokens.mjs";
6
6
  import "../utilities/css.mjs";
7
- import "../__chunks__/import-fbe7cc7e.mjs";
8
- import "../__chunks__/import-a6cadfe8.mjs";
9
- import "../__chunks__/real-module-2f165429.mjs";
7
+ import "../__chunks__/import-19bc38ac.mjs";
8
+ import "../__chunks__/import-3faba3a6.mjs";
9
+ import "../__chunks__/real-module-515df21d.mjs";
10
10
  import "react-dom";
11
- import "../__chunks__/Icon-6eb724b4.mjs";
12
- import "../__chunks__/Text-ec2b8d8a.mjs";
13
- import "../__chunks__/UnstyledButton-981cd9af.mjs";
11
+ import "../Icon/index.mjs";
12
+ import "../Text/index.mjs";
13
+ import "../__chunks__/index-45f05366.mjs";
14
14
  import "../__chunks__/omit-f17deb8f.mjs";
15
15
  const global = "";
16
16
  function Provider({ children, theme, colorScheme, notificationPlacement }) {
@@ -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-2efbe1fe.js");
36
- const HorizontalStack = require("../__chunks__/HorizontalStack-f331bfc7.js");
37
- const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-b7bb5b9d.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
39
  const _import$1 = require("../__chunks__/import-a1e0f814.js");
40
- const _import = require("../__chunks__/import-9581a2dc.js");
40
+ const _import = require("../__chunks__/import-26676303.js");
41
41
  const _import$2 = require("../__chunks__/import-24a482e1.js");
42
42
  const realModule = require("../__chunks__/real-module-e36b1436.js");
43
43
  const _import$3 = require("../__chunks__/import-dea5a24d.js");
44
- require("../__chunks__/Icon-1a25dcae.js");
45
- require("../__chunks__/Tooltip-c5076ca7.js");
46
- require("../__chunks__/import-87c465c9.js");
44
+ require("../Icon/index.js");
45
+ require("../__chunks__/index-affe5510.js");
46
+ require("../__chunks__/import-0f8555a4.js");
47
47
  require("react-dom");
48
48
  const $884aeceb3d67f00f$export$3b7b268d09480394 = /* @__PURE__ */ new WeakMap();
49
49
  const $884aeceb3d67f00f$export$8e8b214e06dd397d = /* @__PURE__ */ new WeakMap();
@@ -209,16 +209,16 @@ const useRadioGroupContext = () => {
209
209
  }
210
210
  return radioGroupContext;
211
211
  };
212
- const RadioGroupItem$1 = "_RadioGroupItem_e4rs0_5";
213
- const label = "_label_e4rs0_11";
214
- const radioOuter = "_radioOuter_e4rs0_28";
215
- const radioInner = "_radioInner_e4rs0_29";
216
- const focusVisible = "_focusVisible_e4rs0_43";
217
- const selected = "_selected_e4rs0_62";
218
- const invalid = "_invalid_e4rs0_66";
219
- const disabled = "_disabled_e4rs0_70";
220
- const hovered = "_hovered_e4rs0_82";
221
- const readOnly = "_readOnly_e4rs0_82";
212
+ const RadioGroupItem$1 = "_RadioGroupItem_100b6_5";
213
+ const label = "_label_100b6_11";
214
+ const radioOuter = "_radioOuter_100b6_29";
215
+ const radioInner = "_radioInner_100b6_30";
216
+ const focusVisible = "_focusVisible_100b6_44";
217
+ const selected = "_selected_100b6_63";
218
+ const invalid = "_invalid_100b6_67";
219
+ const disabled = "_disabled_100b6_71";
220
+ const hovered = "_hovered_100b6_83";
221
+ const readOnly = "_readOnly_100b6_83";
222
222
  const styles$1 = {
223
223
  RadioGroupItem: RadioGroupItem$1,
224
224
  label,
@@ -242,12 +242,12 @@ function RadioGroupItem(props) {
242
242
  const textColor = isDisabled ? "disabled" : validationState === "invalid" ? "danger" : "primary";
243
243
  return React.createElement("div", {
244
244
  className
245
- }, React.createElement(HorizontalStack.HorizontalStack, {
245
+ }, React.createElement(HorizontalStack_index.HorizontalStack, {
246
246
  gap: "1",
247
247
  blockAlign: "center"
248
248
  }, React.createElement("label", {
249
249
  className: styles$1.label
250
- }, React.createElement(HorizontalStack.HorizontalStack, __spreadValues({
250
+ }, React.createElement(HorizontalStack_index.HorizontalStack, __spreadValues({
251
251
  blockAlign: "start",
252
252
  gap: "1",
253
253
  wrap: false
@@ -260,15 +260,15 @@ function RadioGroupItem(props) {
260
260
  className: styles$1.radioOuter
261
261
  }, React.createElement("span", {
262
262
  className: styles$1.radioInner
263
- })), React.createElement(Text.Text, {
263
+ })), React.createElement(Text_index.Text, {
264
264
  variant: "body1",
265
265
  color: textColor
266
- }, children))), validationState === "invalid" && errorText && React.createElement(SelectorErrorTooltip.SelectorErrorTooltip, {
266
+ }, children))), validationState === "invalid" && errorText && React.createElement(SelectorErrorTooltip_index.SelectorErrorTooltip, {
267
267
  content: errorText
268
268
  })));
269
269
  }
270
- const RadioGroup$1 = "_RadioGroup_1rhrm_5";
271
- const list = "_list_1rhrm_14";
270
+ const RadioGroup$1 = "_RadioGroup_qvr3l_5";
271
+ const list = "_list_qvr3l_14";
272
272
  const styles = {
273
273
  RadioGroup: RadioGroup$1,
274
274
  list
@@ -279,7 +279,7 @@ function RadioGroupContainer(props) {
279
279
  const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(props, state);
280
280
  return React.createElement("fieldset", __spreadValues({
281
281
  className: styles.RadioGroup
282
- }, radioGroupProps), label2 && React.createElement("div", null, React.createElement(Text.Text, __spreadValues({
282
+ }, radioGroupProps), label2 && React.createElement("div", null, React.createElement(Text_index.Text, __spreadValues({
283
283
  as: "legend",
284
284
  variant: "subtitle1",
285
285
  color: "gray.bold"
@@ -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-ec2b8d8a.mjs";
34
- import { H as HorizontalStack } from "../__chunks__/HorizontalStack-65adb570.mjs";
35
- import { S as SelectorErrorTooltip } from "../__chunks__/SelectorErrorTooltip-4d820c45.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-fbe7cc7e.mjs";
38
- import { f as $f6c31cce2adf654f$export$45712eceda6fad21, g as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c, b as $9ab94262bd0047c7$export$420e68273165f4ec, h as $9bf71ea28793e738$export$2d6ec8fc375ceafa, $ as $f7dceffc5ad7768b$export$4e328f61c538687f, a as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/import-a6cadfe8.mjs";
39
- import { a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-d2e79ac1.mjs";
40
- import { a as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/real-module-2f165429.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-3faba3a6.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
41
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/import-6a831ca1.mjs";
42
- import "../__chunks__/Icon-6eb724b4.mjs";
43
- import "../__chunks__/Tooltip-b4e23b78.mjs";
44
- import "../__chunks__/import-29edaaea.mjs";
42
+ import "../Icon/index.mjs";
43
+ import "../__chunks__/index-e989a741.mjs";
44
+ import "../__chunks__/import-c4caaddf.mjs";
45
45
  import "react-dom";
46
46
  const $884aeceb3d67f00f$export$3b7b268d09480394 = /* @__PURE__ */ new WeakMap();
47
47
  const $884aeceb3d67f00f$export$8e8b214e06dd397d = /* @__PURE__ */ new WeakMap();
@@ -207,16 +207,16 @@ const useRadioGroupContext = () => {
207
207
  }
208
208
  return radioGroupContext;
209
209
  };
210
- const RadioGroupItem$1 = "_RadioGroupItem_e4rs0_5";
211
- const label = "_label_e4rs0_11";
212
- const radioOuter = "_radioOuter_e4rs0_28";
213
- const radioInner = "_radioInner_e4rs0_29";
214
- const focusVisible = "_focusVisible_e4rs0_43";
215
- const selected = "_selected_e4rs0_62";
216
- const invalid = "_invalid_e4rs0_66";
217
- const disabled = "_disabled_e4rs0_70";
218
- const hovered = "_hovered_e4rs0_82";
219
- const readOnly = "_readOnly_e4rs0_82";
210
+ const RadioGroupItem$1 = "_RadioGroupItem_100b6_5";
211
+ const label = "_label_100b6_11";
212
+ const radioOuter = "_radioOuter_100b6_29";
213
+ const radioInner = "_radioInner_100b6_30";
214
+ const focusVisible = "_focusVisible_100b6_44";
215
+ const selected = "_selected_100b6_63";
216
+ const invalid = "_invalid_100b6_67";
217
+ const disabled = "_disabled_100b6_71";
218
+ const hovered = "_hovered_100b6_83";
219
+ const readOnly = "_readOnly_100b6_83";
220
220
  const styles$1 = {
221
221
  RadioGroupItem: RadioGroupItem$1,
222
222
  label,
@@ -265,8 +265,8 @@ function RadioGroupItem(props) {
265
265
  content: errorText
266
266
  })));
267
267
  }
268
- const RadioGroup$1 = "_RadioGroup_1rhrm_5";
269
- const list = "_list_1rhrm_14";
268
+ const RadioGroup$1 = "_RadioGroup_qvr3l_5";
269
+ const list = "_list_qvr3l_14";
270
270
  const styles = {
271
271
  RadioGroup: RadioGroup$1,
272
272
  list
package/Select/index.js CHANGED
@@ -5,6 +5,11 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __knownSymbol = (name, symbol) => {
9
+ if (symbol = Symbol[name])
10
+ return symbol;
11
+ throw Error("Symbol." + name + " is not defined");
12
+ };
8
13
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
14
  var __spreadValues = (a, b) => {
10
15
  for (var prop in b || (b = {}))
@@ -18,21 +23,58 @@ var __spreadValues = (a, b) => {
18
23
  return a;
19
24
  };
20
25
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
26
+ var __await = function(promise, isYieldStar) {
27
+ this[0] = promise;
28
+ this[1] = isYieldStar;
29
+ };
30
+ var __yieldStar = (value) => {
31
+ var obj = value[__knownSymbol("asyncIterator")];
32
+ var isAwait = false;
33
+ var method;
34
+ var it = {};
35
+ if (obj == null) {
36
+ obj = value[__knownSymbol("iterator")]();
37
+ method = (k) => it[k] = (x) => obj[k](x);
38
+ } else {
39
+ obj = obj.call(value);
40
+ method = (k) => it[k] = (v) => {
41
+ if (isAwait) {
42
+ isAwait = false;
43
+ if (k === "throw")
44
+ throw v;
45
+ return v;
46
+ }
47
+ isAwait = true;
48
+ return {
49
+ done: false,
50
+ value: new __await(new Promise((resolve) => {
51
+ var x = obj[k](v);
52
+ if (!(x instanceof Object))
53
+ throw TypeError("Object expected");
54
+ resolve(x);
55
+ }), 1)
56
+ };
57
+ };
58
+ }
59
+ return it[__knownSymbol("iterator")] = () => it, method("next"), "throw" in obj ? method("throw") : it.throw = (x) => {
60
+ throw x;
61
+ }, "return" in obj && method("return"), it;
62
+ };
21
63
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
22
64
  const React = require("react");
23
65
  const utilities_css = require("../utilities/css.js");
24
- const InputIcon = require("../__chunks__/InputIcon-70dad3e5.js");
25
- const Text = require("../__chunks__/Text-2efbe1fe.js");
66
+ const InputIcon = require("../__chunks__/InputIcon-f456e366.js");
67
+ const Text_index = require("../Text/index.js");
26
68
  const ExpandMore400 = require("../__chunks__/ExpandMore400-92646971.js");
27
- const UnstyledButton = require("../__chunks__/UnstyledButton-5bbb3c5e.js");
69
+ const UnstyledButton_index = require("../__chunks__/index-5f429325.js");
28
70
  const _import = require("../__chunks__/import-a1e0f814.js");
29
- const useTriggerWidth = require("../__chunks__/useTriggerWidth-9528009c.js");
30
- const _import$1 = require("../__chunks__/import-9581a2dc.js");
71
+ const useTriggerWidth = require("../__chunks__/useTriggerWidth-e11bf6d6.js");
72
+ const _import$1 = require("../__chunks__/import-26676303.js");
31
73
  const _import$2 = require("../__chunks__/import-24a482e1.js");
32
- const _import$3 = require("../__chunks__/import-87c465c9.js");
74
+ const _import$3 = require("../__chunks__/import-0f8555a4.js");
33
75
  const realModule = require("../__chunks__/real-module-e36b1436.js");
34
76
  const _import$4 = require("../__chunks__/import-dea5a24d.js");
35
- require("../__chunks__/Icon-1a25dcae.js");
77
+ require("../Icon/index.js");
36
78
  require("../__chunks__/omit-fca26542.js");
37
79
  require("react-dom");
38
80
  const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
@@ -352,7 +394,7 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
352
394
  }
353
395
  class $a02d57049d202695$export$d085fb9e920b5ca7 {
354
396
  *[Symbol.iterator]() {
355
- yield* this.iterable;
397
+ yield* __yieldStar(this.iterable);
356
398
  }
357
399
  get size() {
358
400
  return this.keyMap.size;
@@ -543,24 +585,24 @@ function useInternalSelectContext() {
543
585
  }
544
586
  return selectContext;
545
587
  }
546
- const underlay = "_underlay_1r0m7_5";
547
- const listboxRoot = "_listboxRoot_1r0m7_10";
548
- const listbox = "_listbox_1r0m7_10";
549
- const listboxList = "_listboxList_1r0m7_65";
550
- const sectionList = "_sectionList_1r0m7_66";
551
- const optionContent = "_optionContent_1r0m7_72";
552
- const separator = "_separator_1r0m7_73";
553
- const option = "_option_1r0m7_72";
554
- const fieldRoot = "_fieldRoot_1r0m7_116";
555
- const selectField = "_selectField_1r0m7_137";
556
- const selectSizeSm = "_selectSizeSm_1r0m7_176";
557
- const selectSizeLg = "_selectSizeLg_1r0m7_190";
558
- const selectFieldError = "_selectFieldError_1r0m7_198";
559
- const selectFieldIconStart = "_selectFieldIconStart_1r0m7_206";
560
- const selectFieldIconEnd = "_selectFieldIconEnd_1r0m7_210";
561
- const selectFieldIconContainer = "_selectFieldIconContainer_1r0m7_214";
562
- const selectFieldText = "_selectFieldText_1r0m7_220";
563
- const listboxOpen = "_listboxOpen_1r0m7_224";
588
+ const underlay = "_underlay_1ogt4_5";
589
+ const listboxRoot = "_listboxRoot_1ogt4_10";
590
+ const listbox = "_listbox_1ogt4_10";
591
+ const listboxList = "_listboxList_1ogt4_65";
592
+ const sectionList = "_sectionList_1ogt4_66";
593
+ const optionContent = "_optionContent_1ogt4_72";
594
+ const separator = "_separator_1ogt4_73";
595
+ const option = "_option_1ogt4_72";
596
+ const fieldRoot = "_fieldRoot_1ogt4_116";
597
+ const selectField = "_selectField_1ogt4_137";
598
+ const selectSizeSm = "_selectSizeSm_1ogt4_176";
599
+ const selectSizeLg = "_selectSizeLg_1ogt4_190";
600
+ const selectFieldError = "_selectFieldError_1ogt4_198";
601
+ const selectFieldIconStart = "_selectFieldIconStart_1ogt4_206";
602
+ const selectFieldIconEnd = "_selectFieldIconEnd_1ogt4_210";
603
+ const selectFieldIconContainer = "_selectFieldIconContainer_1ogt4_214";
604
+ const selectFieldText = "_selectFieldText_1ogt4_220";
605
+ const listboxOpen = "_listboxOpen_1ogt4_224";
564
606
  const styles = {
565
607
  underlay,
566
608
  listboxRoot,
@@ -593,7 +635,7 @@ function SelectTrigger(props) {
593
635
  icon: iconAtStart,
594
636
  size,
595
637
  isDisabled
596
- }), React.createElement(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
638
+ }), React.createElement(UnstyledButton_index.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
597
639
  ref: triggerRef,
598
640
  className
599
641
  }), React.createElement("span", __spreadProps(__spreadValues({}, valueProps), {
@@ -631,7 +673,7 @@ function SelectField(props) {
631
673
  hasError,
632
674
  isDisabled,
633
675
  size
634
- }, selectState.selectedItem ? selectState.selectedItem.rendered : React.createElement(Text.Text, {
676
+ }, selectState.selectedItem ? selectState.selectedItem.rendered : React.createElement(Text_index.Text, {
635
677
  color: "subdued"
636
678
  }, placeholder)), (showErrorText || showHelperText) && React.createElement(InputIcon.InputCaption, __spreadValues({
637
679
  variant: showHelperText ? "helper" : "error"
@@ -654,7 +696,7 @@ function SelectOptionContent({ item, state }) {
654
696
  "data-is-selected": isSelected
655
697
  }), React.createElement("div", {
656
698
  className: styles.optionContent
657
- }, React.createElement(Text.Text, {
699
+ }, React.createElement(Text_index.Text, {
658
700
  variant: "body1",
659
701
  truncate: true
660
702
  }, item.rendered)));
package/Select/index.mjs CHANGED
@@ -4,6 +4,11 @@ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __knownSymbol = (name, symbol) => {
8
+ if (symbol = Symbol[name])
9
+ return symbol;
10
+ throw Error("Symbol." + name + " is not defined");
11
+ };
7
12
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
13
  var __spreadValues = (a, b) => {
9
14
  for (var prop in b || (b = {}))
@@ -17,20 +22,57 @@ var __spreadValues = (a, b) => {
17
22
  return a;
18
23
  };
19
24
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __await = function(promise, isYieldStar) {
26
+ this[0] = promise;
27
+ this[1] = isYieldStar;
28
+ };
29
+ var __yieldStar = (value) => {
30
+ var obj = value[__knownSymbol("asyncIterator")];
31
+ var isAwait = false;
32
+ var method;
33
+ var it = {};
34
+ if (obj == null) {
35
+ obj = value[__knownSymbol("iterator")]();
36
+ method = (k) => it[k] = (x) => obj[k](x);
37
+ } else {
38
+ obj = obj.call(value);
39
+ method = (k) => it[k] = (v) => {
40
+ if (isAwait) {
41
+ isAwait = false;
42
+ if (k === "throw")
43
+ throw v;
44
+ return v;
45
+ }
46
+ isAwait = true;
47
+ return {
48
+ done: false,
49
+ value: new __await(new Promise((resolve) => {
50
+ var x = obj[k](v);
51
+ if (!(x instanceof Object))
52
+ throw TypeError("Object expected");
53
+ resolve(x);
54
+ }), 1)
55
+ };
56
+ };
57
+ }
58
+ return it[__knownSymbol("iterator")] = () => it, method("next"), "throw" in obj ? method("throw") : it.throw = (x) => {
59
+ throw x;
60
+ }, "return" in obj && method("return"), it;
61
+ };
20
62
  import React__default, { useMemo, useCallback, useRef, useEffect, useState, createContext, useContext } from "react";
21
63
  import { classNames, variationName } from "../utilities/css.mjs";
22
- import { I as InputIcon, L as Label, a as InputCaption } from "../__chunks__/InputIcon-4a8e5243.mjs";
23
- import { T as Text } from "../__chunks__/Text-ec2b8d8a.mjs";
64
+ import { I as InputIcon, L as Label, a as InputCaption } from "../__chunks__/InputIcon-1f2ed127.mjs";
65
+ import { Text } from "../Text/index.mjs";
24
66
  import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-7c5263a4.mjs";
25
- import { U as UnstyledButton } from "../__chunks__/UnstyledButton-981cd9af.mjs";
26
- import { a as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, b as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$b4cc09c592e8fdb8, d as $c87311424ea30a05$export$9ac100e40613ea10, e as $c87311424ea30a05$export$78551043582a6a98, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/import-fbe7cc7e.mjs";
27
- import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2, b as $880e95eb8b93ba9a$export$ecf600387e221c37, c as $2a25aae57d74318e$export$a05409b8bb224a5a, d as $168583247155ddda$export$dc9c12ed27dd1b49, e as $fb3050f43d946246$export$e32c88dfddc6e1d8, f as $7af3f5b51489e0b5$export$253fe78d46329472, g as $7613b1592d41b092$export$6cd28814d92fa9c9, h as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, i as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3, j as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2, k as $9fc4852771d079eb$export$6e2c8f0811a474ce, l as $f4b273590fab9f93$export$52210f68a14655d0, m as getUnmergedPopoverStyles, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY, n as OVERLAY_OFFSET, o as DEFAULT_PLACEMENT, u as useTriggerWidth } from "../__chunks__/useTriggerWidth-29becc21.mjs";
28
- import { b as $9ab94262bd0047c7$export$420e68273165f4ec, a as $6179b936705e76d3$export$ae780daf29e6d456, c as $507fabe10e71c6fb$export$b9b3dfddab17db27, d as $507fabe10e71c6fb$export$8397ddfc504fdb9a, e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "../__chunks__/import-a6cadfe8.mjs";
29
- import { $ as $d191a55c9702f145$export$8467354a121f1b9f, a as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-d2e79ac1.mjs";
30
- import { $ as $5c3e21d68f1c4674$export$a966af930f325cab, a as $f2f8a6077418541e$export$542a6fd13ac93354, b as $f57aed4a881a3485$export$b47c3594eab58386, c as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "../__chunks__/import-29edaaea.mjs";
31
- import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/real-module-2f165429.mjs";
67
+ import { U as UnstyledButton } from "../__chunks__/index-45f05366.mjs";
68
+ import { d as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, b as $bdb11010cef70236$export$f680877a34711e37, a as $3ef42575df84b30b$export$9d1611c77c2fe928, $ as $bdb11010cef70236$export$b4cc09c592e8fdb8, p as $c87311424ea30a05$export$9ac100e40613ea10, y as $c87311424ea30a05$export$78551043582a6a98, r as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/import-19bc38ac.mjs";
69
+ import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2, b as $880e95eb8b93ba9a$export$ecf600387e221c37, c as $2a25aae57d74318e$export$a05409b8bb224a5a, d as $168583247155ddda$export$dc9c12ed27dd1b49, e as $fb3050f43d946246$export$e32c88dfddc6e1d8, f as $7af3f5b51489e0b5$export$253fe78d46329472, g as $7613b1592d41b092$export$6cd28814d92fa9c9, h as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, i as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3, j as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2, k as $9fc4852771d079eb$export$6e2c8f0811a474ce, l as $f4b273590fab9f93$export$52210f68a14655d0, m as getUnmergedPopoverStyles, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, I as ITEM_HEIGHT, Y as Y_PADDING_INSIDE_OVERLAY, n as OVERLAY_OFFSET, o as DEFAULT_PLACEMENT, u as useTriggerWidth } from "../__chunks__/useTriggerWidth-b554acaf.mjs";
70
+ import { b as $9ab94262bd0047c7$export$420e68273165f4ec, f as $6179b936705e76d3$export$ae780daf29e6d456, k as $507fabe10e71c6fb$export$b9b3dfddab17db27, m as $507fabe10e71c6fb$export$8397ddfc504fdb9a, n as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "../__chunks__/import-3faba3a6.mjs";
71
+ import { a as $d191a55c9702f145$export$8467354a121f1b9f, $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/import-29af6941.mjs";
72
+ import { b as $5c3e21d68f1c4674$export$a966af930f325cab, c as $f2f8a6077418541e$export$542a6fd13ac93354, d as $f57aed4a881a3485$export$b47c3594eab58386, e as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "../__chunks__/import-c4caaddf.mjs";
73
+ import { b as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/real-module-515df21d.mjs";
32
74
  import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/import-6a831ca1.mjs";
33
- import "../__chunks__/Icon-6eb724b4.mjs";
75
+ import "../Icon/index.mjs";
34
76
  import "../__chunks__/omit-f17deb8f.mjs";
35
77
  import "react-dom";
36
78
  const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
@@ -350,7 +392,7 @@ function $bdd25dc72710631f$export$cbd84cdb2e668835(props) {
350
392
  }
351
393
  class $a02d57049d202695$export$d085fb9e920b5ca7 {
352
394
  *[Symbol.iterator]() {
353
- yield* this.iterable;
395
+ yield* __yieldStar(this.iterable);
354
396
  }
355
397
  get size() {
356
398
  return this.keyMap.size;
@@ -541,24 +583,24 @@ function useInternalSelectContext() {
541
583
  }
542
584
  return selectContext;
543
585
  }
544
- const underlay = "_underlay_1r0m7_5";
545
- const listboxRoot = "_listboxRoot_1r0m7_10";
546
- const listbox = "_listbox_1r0m7_10";
547
- const listboxList = "_listboxList_1r0m7_65";
548
- const sectionList = "_sectionList_1r0m7_66";
549
- const optionContent = "_optionContent_1r0m7_72";
550
- const separator = "_separator_1r0m7_73";
551
- const option = "_option_1r0m7_72";
552
- const fieldRoot = "_fieldRoot_1r0m7_116";
553
- const selectField = "_selectField_1r0m7_137";
554
- const selectSizeSm = "_selectSizeSm_1r0m7_176";
555
- const selectSizeLg = "_selectSizeLg_1r0m7_190";
556
- const selectFieldError = "_selectFieldError_1r0m7_198";
557
- const selectFieldIconStart = "_selectFieldIconStart_1r0m7_206";
558
- const selectFieldIconEnd = "_selectFieldIconEnd_1r0m7_210";
559
- const selectFieldIconContainer = "_selectFieldIconContainer_1r0m7_214";
560
- const selectFieldText = "_selectFieldText_1r0m7_220";
561
- const listboxOpen = "_listboxOpen_1r0m7_224";
586
+ const underlay = "_underlay_1ogt4_5";
587
+ const listboxRoot = "_listboxRoot_1ogt4_10";
588
+ const listbox = "_listbox_1ogt4_10";
589
+ const listboxList = "_listboxList_1ogt4_65";
590
+ const sectionList = "_sectionList_1ogt4_66";
591
+ const optionContent = "_optionContent_1ogt4_72";
592
+ const separator = "_separator_1ogt4_73";
593
+ const option = "_option_1ogt4_72";
594
+ const fieldRoot = "_fieldRoot_1ogt4_116";
595
+ const selectField = "_selectField_1ogt4_137";
596
+ const selectSizeSm = "_selectSizeSm_1ogt4_176";
597
+ const selectSizeLg = "_selectSizeLg_1ogt4_190";
598
+ const selectFieldError = "_selectFieldError_1ogt4_198";
599
+ const selectFieldIconStart = "_selectFieldIconStart_1ogt4_206";
600
+ const selectFieldIconEnd = "_selectFieldIconEnd_1ogt4_210";
601
+ const selectFieldIconContainer = "_selectFieldIconContainer_1ogt4_214";
602
+ const selectFieldText = "_selectFieldText_1ogt4_220";
603
+ const listboxOpen = "_listboxOpen_1ogt4_224";
562
604
  const styles = {
563
605
  underlay,
564
606
  listboxRoot,
@@ -1,15 +1,106 @@
1
1
  "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
6
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
+ var __spreadValues = (a, b) => {
8
+ for (var prop in b || (b = {}))
9
+ if (__hasOwnProp.call(b, prop))
10
+ __defNormalProp(a, prop, b[prop]);
11
+ if (__getOwnPropSymbols)
12
+ for (var prop of __getOwnPropSymbols(b)) {
13
+ if (__propIsEnum.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ }
16
+ return a;
17
+ };
2
18
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-b7bb5b9d.js");
4
- require("react");
5
- require("../__chunks__/Icon-1a25dcae.js");
19
+ const React = require("react");
20
+ const Icon_index = require("../Icon/index.js");
21
+ const Text_index = require("../Text/index.js");
22
+ const Tooltip_index = require("../__chunks__/index-affe5510.js");
6
23
  require("../utilities/css.js");
7
- require("../__chunks__/Text-2efbe1fe.js");
8
- require("../__chunks__/Tooltip-c5076ca7.js");
9
- require("../__chunks__/import-87c465c9.js");
24
+ require("../__chunks__/import-0f8555a4.js");
10
25
  require("../__chunks__/import-a1e0f814.js");
11
- require("../__chunks__/import-9581a2dc.js");
26
+ require("../__chunks__/import-26676303.js");
12
27
  require("react-dom");
13
28
  require("../__chunks__/import-dea5a24d.js");
14
29
  require("../__chunks__/real-module-e36b1436.js");
15
- exports.SelectorErrorTooltip = SelectorErrorTooltip.SelectorErrorTooltip;
30
+ function _interopNamespaceDefault(e) {
31
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
32
+ if (e) {
33
+ for (const k in e) {
34
+ if (k !== "default") {
35
+ const d = Object.getOwnPropertyDescriptor(e, k);
36
+ Object.defineProperty(n, k, d.get ? d : {
37
+ enumerable: true,
38
+ get: () => e[k]
39
+ });
40
+ }
41
+ }
42
+ }
43
+ n.default = e;
44
+ return Object.freeze(n);
45
+ }
46
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
47
+ var __defProp2 = Object.defineProperty;
48
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
49
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
50
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
51
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
52
+ enumerable: true,
53
+ configurable: true,
54
+ writable: true,
55
+ value
56
+ }) : obj[key] = value;
57
+ var __spreadValues2 = (a, b) => {
58
+ for (var prop in b || (b = {}))
59
+ if (__hasOwnProp2.call(b, prop))
60
+ __defNormalProp2(a, prop, b[prop]);
61
+ if (__getOwnPropSymbols2)
62
+ for (var prop of __getOwnPropSymbols2(b)) {
63
+ if (__propIsEnum2.call(b, prop))
64
+ __defNormalProp2(a, prop, b[prop]);
65
+ }
66
+ return a;
67
+ };
68
+ var __objRest = (source, exclude) => {
69
+ var target = {};
70
+ for (var prop in source)
71
+ if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0)
72
+ target[prop] = source[prop];
73
+ if (source != null && __getOwnPropSymbols2)
74
+ for (var prop of __getOwnPropSymbols2(source)) {
75
+ if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop))
76
+ target[prop] = source[prop];
77
+ }
78
+ return target;
79
+ };
80
+ const ErrorFill = (_a) => {
81
+ var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
82
+ return React__namespace.createElement("svg", __spreadValues2({
83
+ xmlns: "http://www.w3.org/2000/svg",
84
+ viewBox: "0 -960 960 960",
85
+ "aria-labelledby": titleId
86
+ }, props), title ? React__namespace.createElement("title", {
87
+ id: titleId
88
+ }, title) : null, React__namespace.createElement("path", {
89
+ d: "M479.982-290.77q11.902 0 19.575-7.655 7.673-7.656 7.673-19.558 0-11.902-7.655-19.575t-19.557-7.673q-11.902 0-19.575 7.656-7.673 7.655-7.673 19.557 0 11.902 7.655 19.575t19.557 7.673Zm-20.443-141.076h45.383v-249.538h-45.383v249.538Zm20.794 331.845q-78.955 0-147.897-29.92t-120.755-81.71q-51.814-51.791-81.747-120.777t-29.933-148.025q0-78.655 29.92-147.864t81.71-120.522q51.791-51.314 120.777-81.247t148.025-29.933q78.655 0 147.864 29.92t120.522 81.21q51.314 51.291 81.247 120.629 29.933 69.337 29.933 147.907 0 78.955-29.92 147.897t-81.21 120.571q-51.291 51.629-120.629 81.746-69.337 30.118-147.907 30.118Z"
90
+ }));
91
+ };
92
+ const SelectorErrorTooltip$1 = "_SelectorErrorTooltip_1umds_5";
93
+ const styles = {
94
+ SelectorErrorTooltip: SelectorErrorTooltip$1
95
+ };
96
+ function SelectorErrorTooltip(props) {
97
+ return React.createElement(Tooltip_index.Tooltip, __spreadValues({}, props), React.createElement("span", {
98
+ tabIndex: 0,
99
+ className: styles.SelectorErrorTooltip
100
+ }, React.createElement(Text_index.Text, {
101
+ visuallyHidden: true
102
+ }, "Error"), React.createElement(Icon_index.Icon, {
103
+ symbol: ErrorFill
104
+ })));
105
+ }
106
+ exports.SelectorErrorTooltip = SelectorErrorTooltip;