@easypost/easy-ui 1.0.0-alpha.112 → 1.0.0-alpha.114

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 (242) hide show
  1. package/AlertBadge/AlertBadge.d.ts +1 -1
  2. package/AlertBadge/AlertBadge.d.ts.map +1 -1
  3. package/AlertBadge/index.js +20 -16
  4. package/AlertBadge/index.mjs +20 -16
  5. package/Badge/index.js +29 -19
  6. package/Badge/index.mjs +29 -19
  7. package/Banner/index.js +19 -12
  8. package/Banner/index.mjs +19 -12
  9. package/Button/index.js +1 -1
  10. package/Button/index.mjs +1 -1
  11. package/CHANGELOG.md +12 -0
  12. package/Calendar/index.js +1 -1
  13. package/Calendar/index.mjs +1 -1
  14. package/Card/index.js +1 -1
  15. package/Card/index.mjs +1 -1
  16. package/CheckableCard/index.js +33 -24
  17. package/CheckableCard/index.mjs +33 -24
  18. package/Checkbox/index.js +1 -1
  19. package/Checkbox/index.mjs +1 -1
  20. package/CodeBlock/CodeBlock.d.ts.map +1 -1
  21. package/CodeBlock/context.d.ts +2 -1
  22. package/CodeBlock/context.d.ts.map +1 -1
  23. package/CodeBlock/index.js +81 -59
  24. package/CodeBlock/index.mjs +81 -59
  25. package/CodeSnippet/index.js +1 -1
  26. package/CodeSnippet/index.mjs +1 -1
  27. package/ColorPicker/index.js +71 -54
  28. package/ColorPicker/index.mjs +71 -54
  29. package/CustomerPortalLayout/index.js +101 -72
  30. package/CustomerPortalLayout/index.mjs +101 -72
  31. package/DataGrid/index.js +229 -173
  32. package/DataGrid/index.mjs +229 -173
  33. package/DatePicker/index.js +10 -8
  34. package/DatePicker/index.mjs +10 -8
  35. package/DateRangePicker/index.js +10 -8
  36. package/DateRangePicker/index.mjs +10 -8
  37. package/Drawer/context.d.ts +2 -2
  38. package/Drawer/context.d.ts.map +1 -1
  39. package/Drawer/index.js +99 -78
  40. package/Drawer/index.mjs +99 -78
  41. package/Drawer/useIntersectionDetection.d.ts +1 -1
  42. package/Drawer/useIntersectionDetection.d.ts.map +1 -1
  43. package/DropdownButton/index.js +15 -7
  44. package/DropdownButton/index.mjs +16 -8
  45. package/EmptyStateCard/index.js +53 -33
  46. package/EmptyStateCard/index.mjs +53 -33
  47. package/FocusedProductLayout/index.js +104 -76
  48. package/FocusedProductLayout/index.mjs +104 -76
  49. package/ForgeLayout/index.js +283 -217
  50. package/ForgeLayout/index.mjs +284 -218
  51. package/FormLayout/index.js +38 -24
  52. package/FormLayout/index.mjs +38 -24
  53. package/HorizontalGrid/index.js +1 -1
  54. package/HorizontalGrid/index.mjs +1 -1
  55. package/HorizontalStack/index.js +1 -1
  56. package/HorizontalStack/index.mjs +1 -1
  57. package/Icon/index.js +1 -1
  58. package/Icon/index.mjs +1 -1
  59. package/IconButton/index.js +16 -9
  60. package/IconButton/index.mjs +17 -10
  61. package/InputField/index.js +1 -1
  62. package/InputField/index.mjs +1 -1
  63. package/KebabButton/index.js +1 -1
  64. package/KebabButton/index.mjs +1 -1
  65. package/Menu/MenuTrigger.d.ts +1 -1
  66. package/Menu/MenuTrigger.d.ts.map +1 -1
  67. package/Menu/index.js +1 -1
  68. package/Menu/index.mjs +1 -1
  69. package/Modal/context.d.ts +3 -3
  70. package/Modal/context.d.ts.map +1 -1
  71. package/Modal/index.js +124 -93
  72. package/Modal/index.mjs +124 -93
  73. package/Modal/useIntersectionDetection.d.ts +1 -1
  74. package/Modal/useIntersectionDetection.d.ts.map +1 -1
  75. package/MultiSelect/MultiSelectDropdown.d.ts +2 -2
  76. package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -1
  77. package/MultiSelect/index.js +106 -83
  78. package/MultiSelect/index.mjs +107 -84
  79. package/MultiSelect/utilities.d.ts +1 -1
  80. package/MultiSelect/utilities.d.ts.map +1 -1
  81. package/MultipageSection/index.js +94 -71
  82. package/MultipageSection/index.mjs +94 -71
  83. package/NexusLayout/index.js +136 -102
  84. package/NexusLayout/index.mjs +136 -102
  85. package/Notification/NotificationTransition.d.ts +1 -1
  86. package/Notification/NotificationTransition.d.ts.map +1 -1
  87. package/Notification/index.js +1 -1
  88. package/Notification/index.mjs +1 -1
  89. package/Pagination/index.js +62 -50
  90. package/Pagination/index.mjs +63 -51
  91. package/PillGroup/index.js +1 -1
  92. package/PillGroup/index.mjs +1 -1
  93. package/PlanCard/illustrations/Building01/index.js +532 -531
  94. package/PlanCard/illustrations/Building01/index.mjs +532 -531
  95. package/PlanCard/illustrations/Building02/index.js +206 -205
  96. package/PlanCard/illustrations/Building02/index.mjs +206 -205
  97. package/PlanCard/illustrations/Building03/index.js +773 -772
  98. package/PlanCard/illustrations/Building03/index.mjs +773 -772
  99. package/PlanCard/illustrations/Building04/index.js +1528 -1527
  100. package/PlanCard/illustrations/Building04/index.mjs +1528 -1527
  101. package/PlanCard/index.js +59 -36
  102. package/PlanCard/index.mjs +60 -37
  103. package/ProductLayout/index.js +132 -91
  104. package/ProductLayout/index.mjs +132 -91
  105. package/Provider/index.js +18 -14
  106. package/Provider/index.mjs +18 -14
  107. package/RadioButtonGroup/index.js +14 -10
  108. package/RadioButtonGroup/index.mjs +14 -10
  109. package/RadioGroup/index.js +1 -1
  110. package/RadioGroup/index.mjs +1 -1
  111. package/RangeCalendar/index.js +1 -1
  112. package/RangeCalendar/index.mjs +1 -1
  113. package/SearchNav/CondensedSearchNav.d.ts.map +1 -1
  114. package/SearchNav/index.js +197 -141
  115. package/SearchNav/index.mjs +198 -142
  116. package/SearchNav/utilities.d.ts +3 -3
  117. package/SearchNav/utilities.d.ts.map +1 -1
  118. package/SectionCard/index.js +43 -25
  119. package/SectionCard/index.mjs +43 -25
  120. package/Select/index.js +74 -62
  121. package/Select/index.mjs +74 -62
  122. package/SelectorErrorTooltip/index.js +1 -1
  123. package/SelectorErrorTooltip/index.mjs +1 -1
  124. package/Spinner/index.js +1 -1
  125. package/Spinner/index.mjs +1 -1
  126. package/SplitToggleCard/index.js +22 -16
  127. package/SplitToggleCard/index.mjs +22 -16
  128. package/Stepper/index.js +1 -1
  129. package/Stepper/index.mjs +1 -1
  130. package/TabNav/index.js +1 -1
  131. package/TabNav/index.mjs +1 -1
  132. package/TabPanels/index.js +22 -16
  133. package/TabPanels/index.mjs +24 -18
  134. package/Tabs/index.js +1 -1
  135. package/Tabs/index.mjs +1 -1
  136. package/Text/index.js +1 -1
  137. package/Text/index.mjs +1 -1
  138. package/TextField/index.js +1 -1
  139. package/TextField/index.mjs +1 -1
  140. package/Textarea/index.js +3 -3
  141. package/Textarea/index.mjs +3 -3
  142. package/Theme/index.js +1 -1
  143. package/Theme/index.mjs +1 -1
  144. package/Toggle/index.js +1 -1
  145. package/Toggle/index.mjs +1 -1
  146. package/ToggleCard/index.js +20 -15
  147. package/ToggleCard/index.mjs +21 -16
  148. package/Tooltip/index.js +1 -1
  149. package/Tooltip/index.mjs +1 -1
  150. package/UnstyledButton/index.js +1 -1
  151. package/UnstyledButton/index.mjs +1 -1
  152. package/VerticalNav/index.js +115 -88
  153. package/VerticalNav/index.mjs +115 -88
  154. package/VerticalStack/index.js +1 -1
  155. package/VerticalStack/index.mjs +1 -1
  156. package/__chunks__/{Button-5AuHgwU3.js → Button-CQdi4TMV.js} +15 -12
  157. package/__chunks__/{Button-BsGH6vGC.mjs → Button-JL1YQxJ5.mjs} +16 -13
  158. package/__chunks__/{Calendar-D09mdpmC.js → Calendar-C9zdRov0.js} +3 -2
  159. package/__chunks__/{Calendar-BGZysoV0.mjs → Calendar-DLzAtdfg.mjs} +3 -2
  160. package/__chunks__/{CalendarBase-Bn9o8BdD.mjs → CalendarBase-DJ38_qK6.mjs} +86 -64
  161. package/__chunks__/{CalendarBase-DHxad3N9.js → CalendarBase-M-f289w8.js} +86 -64
  162. package/__chunks__/{Card-CJug4GMX.mjs → Card-BgjWYPVY.mjs} +21 -12
  163. package/__chunks__/{Card-BM2DKiVA.js → Card-LPIW5drP.js} +21 -12
  164. package/__chunks__/{Checkbox-D2-8vvdr.js → Checkbox-B_-6lfKk.js} +36 -28
  165. package/__chunks__/{Checkbox-BWfY9XqH.mjs → Checkbox-DcaO0fC3.mjs} +36 -28
  166. package/__chunks__/{CodeSnippet-CIijbclb.js → CodeSnippet-25l4r2Gh.js} +16 -12
  167. package/__chunks__/{CodeSnippet-QpCpkoXv.mjs → CodeSnippet-B3nsMpvq.mjs} +16 -12
  168. package/__chunks__/{DatePickerBase-CFB0JDQA.mjs → DatePickerBase-BQc8LKWg.mjs} +80 -62
  169. package/__chunks__/{DatePickerBase-DSPIErms.js → DatePickerBase-BYYfRTEY.js} +80 -62
  170. package/__chunks__/EasyPostLogo-C9-Q0lSn.js +22 -0
  171. package/__chunks__/EasyPostLogo-DgIgAGa3.mjs +23 -0
  172. package/__chunks__/{HelpMenu-CO6kYktc.mjs → HelpMenu-BZRV42ab.mjs} +30 -21
  173. package/__chunks__/{HelpMenu-nihaGEVy.js → HelpMenu-C2t8KQuU.js} +30 -20
  174. package/__chunks__/{HorizontalGrid-CAwv7zKY.js → HorizontalGrid-CAoDcmPW.js} +5 -3
  175. package/__chunks__/{HorizontalGrid-Dz8EFgmu.mjs → HorizontalGrid-DbLeJBt8.mjs} +6 -4
  176. package/__chunks__/{HorizontalStack-CxE8tPx_.mjs → HorizontalStack-CJavrBHm.mjs} +6 -4
  177. package/__chunks__/{HorizontalStack-CXpjASZi.js → HorizontalStack-CWdKKY8L.js} +5 -3
  178. package/__chunks__/{Icon-0SN9dbwU.mjs → Icon-BIpaQJ_I.mjs} +11 -10
  179. package/__chunks__/{Icon-W8F9w-jS.js → Icon-BRlbo3RF.js} +11 -10
  180. package/__chunks__/{InputCaption-C3Hf9Hvt.js → InputCaption-CccF4ynE.js} +19 -15
  181. package/__chunks__/{InputCaption-BJO9_Tby.mjs → InputCaption-DoyGkWQe.mjs} +19 -15
  182. package/__chunks__/{InputField-dq5XIhr1.mjs → InputField-CAY9O90X.mjs} +77 -66
  183. package/__chunks__/{InputField-CDHznUZd.js → InputField-DGb4ZDoR.js} +77 -66
  184. package/__chunks__/{InputIcon-Bpg4lyQx.mjs → InputIcon-CEATdJ1j.mjs} +9 -8
  185. package/__chunks__/{InputIcon-DdcvN3A4.js → InputIcon-DDKBJ_Tk.js} +9 -8
  186. package/__chunks__/{KebabButton-Bf1OdC5_.mjs → KebabButton-D-5Mjaj0.mjs} +15 -8
  187. package/__chunks__/{KebabButton-DdzHU7is.js → KebabButton-TbapERgy.js} +15 -8
  188. package/__chunks__/{Menu-DHwqwFlg.mjs → Menu-Ci1FGh8B.mjs} +88 -70
  189. package/__chunks__/{Menu-Kfc6nxFP.js → Menu-MGDv1tob.js} +88 -70
  190. package/__chunks__/{Notification-vF_YGVIP.js → Notification-DDQHWloB.js} +62 -48
  191. package/__chunks__/{Notification-BoT3Hm0B.mjs → Notification-DnNx0rb6.mjs} +64 -50
  192. package/__chunks__/{PillGroup-CAHVIlU0.js → PillGroup-BK8VCf3B.js} +41 -27
  193. package/__chunks__/{PillGroup-DjLJ4wVb.mjs → PillGroup-DN72MPhg.mjs} +41 -27
  194. package/__chunks__/{RadioGroup-DUu5GEpn.mjs → RadioGroup-BfKaJnSo.mjs} +58 -40
  195. package/__chunks__/{RadioGroup-CGQKZwDU.js → RadioGroup-BiCqtR0F.js} +58 -40
  196. package/__chunks__/{RangeCalendar-LPcJB19o.mjs → RangeCalendar-BdTjX8NT.mjs} +3 -2
  197. package/__chunks__/{RangeCalendar-Ckqj2J9L.js → RangeCalendar-Dz6LyRYS.js} +3 -2
  198. package/__chunks__/{SelectOverlay-CmbC4zrD.js → SelectOverlay-Bva0SG8D.js} +62 -51
  199. package/__chunks__/{SelectOverlay-DptO7xtn.mjs → SelectOverlay-q23ZLLi4.mjs} +62 -51
  200. package/__chunks__/{SelectorErrorTooltip-_D8DSBKs.js → SelectorErrorTooltip-BNLrFRLN.js} +19 -11
  201. package/__chunks__/{SelectorErrorTooltip-Dw1Fvd_q.mjs → SelectorErrorTooltip-rO2-k3Gl.mjs} +19 -12
  202. package/__chunks__/{Spinner-DOmPV59I.mjs → Spinner-COsekFr1.mjs} +17 -13
  203. package/__chunks__/{Spinner-D0ifPtVV.js → Spinner-vRnrcEz0.js} +16 -12
  204. package/__chunks__/{Stepper-BEyDIPNJ.mjs → Stepper-DlI-16t-.mjs} +48 -37
  205. package/__chunks__/{Stepper-CX0Mu37p.js → Stepper-lhcjfVFY.js} +47 -36
  206. package/__chunks__/{TabNav-vCt_zTvE.mjs → TabNav-BNhQF0b0.mjs} +10 -8
  207. package/__chunks__/{TabNav-B8aEzVyr.js → TabNav-bVgyfEV7.js} +10 -8
  208. package/__chunks__/{Tabs-DJ4aKu11.mjs → Tabs-BaROnbKg.mjs} +47 -38
  209. package/__chunks__/{Tabs-BL8odO0p.js → Tabs-DSngzN9A.js} +46 -37
  210. package/__chunks__/{Text-YOL3isF4.mjs → Text-D6oT5WJQ.mjs} +5 -4
  211. package/__chunks__/{Text-CSESKR_s.js → Text-DkzMEqky.js} +5 -4
  212. package/__chunks__/{TextField-D2QhDAdD.mjs → TextField-818kTElu.mjs} +3 -3
  213. package/__chunks__/{TextField-94cCP805.js → TextField-DKQVJPP_.js} +3 -3
  214. package/__chunks__/{Theme-DqbmY4wy.js → Theme-C2nSZUpG.js} +27 -17
  215. package/__chunks__/{Theme-BAFk7BvV.mjs → Theme-M__gFMM3.mjs} +28 -18
  216. package/__chunks__/{Toggle-D2ucsFxO.js → Toggle-BmJjrdVn.js} +43 -37
  217. package/__chunks__/{Toggle-CxjLdmzW.mjs → Toggle-DlDQ7rr2.mjs} +43 -37
  218. package/__chunks__/{Tooltip-DqpxBjpa.js → Tooltip-BSMvNula.js} +25 -17
  219. package/__chunks__/{Tooltip-DAyUY3na.mjs → Tooltip-BXRi0h4E.mjs} +25 -17
  220. package/__chunks__/{UnstyledButton-BFpQ2Irc.js → UnstyledButton-DW8CjaXN.js} +5 -3
  221. package/__chunks__/{UnstyledButton-DpQ5Ic9D.mjs → UnstyledButton-DxJLvL-G.mjs} +6 -4
  222. package/__chunks__/{VerticalStack-Dzpv3O67.js → VerticalStack-BHkiocKU.js} +5 -3
  223. package/__chunks__/{VerticalStack-C2yDQVHD.mjs → VerticalStack-DoMqBfYD.mjs} +6 -4
  224. package/__chunks__/index-CqNUlUoB.js +217 -0
  225. package/__chunks__/index-ee-P7jQr.mjs +218 -0
  226. package/__chunks__/{useEdgeInterceptors-D_DARZZd.mjs → useEdgeInterceptors-OZmGXvtF.mjs} +17 -14
  227. package/__chunks__/{useEdgeInterceptors-Ihk8NfjJ.js → useEdgeInterceptors-Rb2Hf0v8.js} +16 -13
  228. package/package.json +4 -6
  229. package/types.d.ts +1 -1
  230. package/types.d.ts.map +1 -1
  231. package/utilities/Noop.d.ts +1 -1
  232. package/utilities/Noop.d.ts.map +1 -1
  233. package/utilities/react.d.ts +1 -1
  234. package/utilities/react.d.ts.map +1 -1
  235. package/utilities/react.js +1 -1
  236. package/utilities/react.mjs +1 -1
  237. package/utilities/test.d.ts +1 -0
  238. package/utilities/test.d.ts.map +1 -1
  239. package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +0 -22
  240. package/__chunks__/EasyPostLogo-DQt5KlFX.js +0 -21
  241. package/__chunks__/index-CUcRN4NO.js +0 -311
  242. package/__chunks__/index-Izk6uvQC.mjs +0 -312
@@ -1,4 +1,6 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
4
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -14,6 +16,7 @@ var __spreadValues = (a, b) => {
14
16
  }
15
17
  return a;
16
18
  };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
17
20
  var __objRest = (source, exclude) => {
18
21
  var target = {};
19
22
  for (var prop in source)
@@ -26,12 +29,12 @@ var __objRest = (source, exclude) => {
26
29
  }
27
30
  return target;
28
31
  };
29
- import React__default from "react";
32
+ import { jsx } from "react/jsx-runtime";
30
33
  import { l as lodashExports } from "../__chunks__/lodash-B19QVK6q.mjs";
31
- import { p as pickCardAreaProps, C as Card } from "../__chunks__/Card-CJug4GMX.mjs";
32
- import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
33
- import { V as VerticalStack } from "../__chunks__/VerticalStack-C2yDQVHD.mjs";
34
- import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
34
+ import { p as pickCardAreaProps, C as Card } from "../__chunks__/Card-BgjWYPVY.mjs";
35
+ import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
36
+ import { V as VerticalStack } from "../__chunks__/VerticalStack-DoMqBfYD.mjs";
37
+ import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
35
38
  const header = "_header_1wo2q_4";
36
39
  const controls = "_controls_1wo2q_17";
37
40
  const tabs = "_tabs_1wo2q_21";
@@ -44,52 +47,67 @@ function SectionCard(props) {
44
47
  const _a = props, { children } = _a, cardProps = __objRest(_a, ["children"]);
45
48
  const cardAreaProps = pickCardAreaProps(props);
46
49
  const cardContainerProps = lodashExports.omit(cardProps, Object.keys(cardAreaProps));
47
- return React__default.createElement(SectionCardContainer, __spreadValues({}, cardContainerProps), React__default.createElement(SectionCardArea, __spreadValues({}, cardAreaProps), children));
50
+ return jsx(SectionCardContainer, __spreadProps(__spreadValues({}, cardContainerProps), {
51
+ children: jsx(SectionCardArea, __spreadProps(__spreadValues({}, cardAreaProps), {
52
+ children
53
+ }))
54
+ }));
48
55
  }
49
56
  function SectionCardContainer(props) {
50
57
  const _a = props, { children } = _a, cardContainerProps = __objRest(_a, ["children"]);
51
- return React__default.createElement(Card.Container, __spreadValues({
58
+ return jsx(Card.Container, __spreadProps(__spreadValues({
52
59
  as: "section",
53
60
  variant: "solid",
54
61
  boxShadow: "2",
55
62
  borderRadius: "lg"
56
- }, cardContainerProps), React__default.createElement(VerticalStack, null, children));
63
+ }, cardContainerProps), {
64
+ children: jsx(VerticalStack, {
65
+ children
66
+ })
67
+ }));
57
68
  }
58
69
  function SectionCardArea(props) {
59
70
  const _a = props, { children } = _a, cardAreaProps = __objRest(_a, ["children"]);
60
- return React__default.createElement(Card.Area, __spreadValues({
71
+ return jsx(Card.Area, __spreadProps(__spreadValues({
61
72
  padding: "3"
62
- }, cardAreaProps), React__default.createElement(VerticalStack, {
63
- gap: "2"
64
- }, children));
73
+ }, cardAreaProps), {
74
+ children: jsx(VerticalStack, {
75
+ gap: "2",
76
+ children
77
+ })
78
+ }));
65
79
  }
66
80
  function SectionCardHeader(props) {
67
- return React__default.createElement("div", {
68
- className: styles.header
69
- }, props.children);
81
+ return jsx("div", {
82
+ className: styles.header,
83
+ children: props.children
84
+ });
70
85
  }
71
86
  function SectionCardControls(props) {
72
- return React__default.createElement("div", {
73
- className: styles.controls
74
- }, props.children);
87
+ return jsx("div", {
88
+ className: styles.controls,
89
+ children: props.children
90
+ });
75
91
  }
76
92
  function SectionCardActions(props) {
77
- return React__default.createElement(HorizontalStack, {
93
+ return jsx(HorizontalStack, {
78
94
  align: "end",
79
- gap: "1"
80
- }, props.children);
95
+ gap: "1",
96
+ children: props.children
97
+ });
81
98
  }
82
99
  function SectionCardTitle(props) {
83
- return React__default.createElement(Text, __spreadValues({
100
+ return jsx(Text, __spreadValues({
84
101
  variant: "heading5",
85
102
  as: "h2"
86
103
  }, props));
87
104
  }
88
105
  function SectionCardTabs(props) {
89
106
  const { children } = props;
90
- return React__default.createElement("div", {
91
- className: styles.tabs
92
- }, children);
107
+ return jsx("div", {
108
+ className: styles.tabs,
109
+ children
110
+ });
93
111
  }
94
112
  SectionCard.Container = SectionCardContainer;
95
113
  SectionCard.Area = SectionCardArea;
package/Select/index.js CHANGED
@@ -19,38 +19,42 @@ var __spreadValues = (a, b) => {
19
19
  };
20
20
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
21
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
22
+ const jsxRuntime = require("react/jsx-runtime");
22
23
  const React = require("react");
23
- const SelectOverlay = require("../__chunks__/SelectOverlay-CmbC4zrD.js");
24
+ const SelectOverlay = require("../__chunks__/SelectOverlay-Bva0SG8D.js");
24
25
  const utilities_css = require("../utilities/css.js");
25
- const InputCaption = require("../__chunks__/InputCaption-C3Hf9Hvt.js");
26
- const Text = require("../__chunks__/Text-CSESKR_s.js");
26
+ const InputCaption = require("../__chunks__/InputCaption-CccF4ynE.js");
27
+ const Text = require("../__chunks__/Text-DkzMEqky.js");
27
28
  const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
28
- const UnstyledButton = require("../__chunks__/UnstyledButton-BFpQ2Irc.js");
29
- const InputIcon = require("../__chunks__/InputIcon-DdcvN3A4.js");
29
+ const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
30
+ const InputIcon = require("../__chunks__/InputIcon-DDKBJ_Tk.js");
30
31
  const useTriggerWidth = require("../__chunks__/useTriggerWidth-NhYqZmlX.js");
31
32
  function SelectTrigger(props) {
32
33
  const { size = "md", valueProps, iconAtStart, hasError, isDisabled, children } = props;
33
34
  const { triggerProps, triggerRef, selectState } = SelectOverlay.useInternalSelectContext();
34
35
  const hasStartIcon = !!iconAtStart;
35
36
  const className = utilities_css.classNames(SelectOverlay.styles.selectField, SelectOverlay.styles.selectFieldIconEnd, selectState.isOpen && SelectOverlay.styles.listboxOpen, hasError && SelectOverlay.styles.selectFieldError, hasStartIcon && SelectOverlay.styles.selectFieldIconStart, SelectOverlay.styles[utilities_css.variationName("selectSize", size)]);
36
- return React.createElement("div", {
37
- className: SelectOverlay.styles.selectFieldIconContainer
38
- }, hasStartIcon && React.createElement(InputIcon.InputIcon, {
39
- alignment: "start",
40
- icon: iconAtStart,
41
- size,
42
- isDisabled
43
- }), React.createElement(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
44
- ref: triggerRef,
45
- className
46
- }), React.createElement("span", __spreadProps(__spreadValues({}, valueProps), {
47
- className: SelectOverlay.styles.selectFieldText
48
- }), children)), React.createElement(InputIcon.InputIcon, {
49
- alignment: "end",
50
- icon: ExpandMore400.ExpandMore400,
51
- size,
52
- isDisabled
53
- }));
37
+ return jsxRuntime.jsxs("div", {
38
+ className: SelectOverlay.styles.selectFieldIconContainer,
39
+ children: [hasStartIcon && jsxRuntime.jsx(InputIcon.InputIcon, {
40
+ alignment: "start",
41
+ icon: iconAtStart,
42
+ size,
43
+ isDisabled
44
+ }), jsxRuntime.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
45
+ ref: triggerRef,
46
+ className,
47
+ children: jsxRuntime.jsx("span", __spreadProps(__spreadValues({}, valueProps), {
48
+ className: SelectOverlay.styles.selectFieldText,
49
+ children
50
+ }))
51
+ })), jsxRuntime.jsx(InputIcon.InputIcon, {
52
+ alignment: "end",
53
+ icon: ExpandMore400.ExpandMore400,
54
+ size,
55
+ isDisabled
56
+ })]
57
+ });
54
58
  }
55
59
  function SelectField(props) {
56
60
  const { isDisabled = false, validationState = "valid", isLabelEmphasized = false, size = "md", label, errorText, helperText, placeholder, iconAtStart, labelProps, valueProps, errorTextProps, helperTextProps } = props;
@@ -60,28 +64,35 @@ function SelectField(props) {
60
64
  const showHelperText = !showErrorText && helperText;
61
65
  const captionProps = showHelperText ? helperTextProps : errorTextProps;
62
66
  const captionText = showHelperText ? helperText : errorText;
63
- return React.createElement("div", {
64
- className: utilities_css.classNames(SelectOverlay.styles.fieldRoot)
65
- }, label && React.createElement(InputCaption.Label, __spreadValues({
66
- fieldSize: size,
67
- hasError,
68
- isLabelEmphasized
69
- }, labelProps), label), React.createElement(SelectOverlay.$bdd25dc72710631f$export$cbd84cdb2e668835, {
70
- isDisabled,
71
- state: selectState,
72
- triggerRef,
73
- label
74
- }), React.createElement(SelectTrigger, {
75
- valueProps,
76
- iconAtStart,
77
- hasError,
78
- isDisabled,
79
- size
80
- }, selectState.selectedItem ? selectState.selectedItem.rendered : React.createElement(Text.Text, {
81
- color: "neutral.600"
82
- }, placeholder)), (showErrorText || showHelperText) && React.createElement(InputCaption.InputCaption, __spreadValues({
83
- variant: showHelperText ? "helper" : "error"
84
- }, captionProps), captionText));
67
+ return jsxRuntime.jsxs("div", {
68
+ className: utilities_css.classNames(SelectOverlay.styles.fieldRoot),
69
+ children: [label && jsxRuntime.jsx(InputCaption.Label, __spreadProps(__spreadValues({
70
+ fieldSize: size,
71
+ hasError,
72
+ isLabelEmphasized
73
+ }, labelProps), {
74
+ children: label
75
+ })), jsxRuntime.jsx(SelectOverlay.$bdd25dc72710631f$export$cbd84cdb2e668835, {
76
+ isDisabled,
77
+ state: selectState,
78
+ triggerRef,
79
+ label
80
+ }), jsxRuntime.jsx(SelectTrigger, {
81
+ valueProps,
82
+ iconAtStart,
83
+ hasError,
84
+ isDisabled,
85
+ size,
86
+ children: selectState.selectedItem ? selectState.selectedItem.rendered : jsxRuntime.jsx(Text.Text, {
87
+ color: "neutral.600",
88
+ children: placeholder
89
+ })
90
+ }), (showErrorText || showHelperText) && jsxRuntime.jsx(InputCaption.InputCaption, __spreadProps(__spreadValues({
91
+ variant: showHelperText ? "helper" : "error"
92
+ }, captionProps), {
93
+ children: captionText
94
+ }))]
95
+ });
85
96
  }
86
97
  function Select(props) {
87
98
  const { isDisabled, validationState, isLabelEmphasized, size = "md", "aria-label": ariaLabel, label, errorText, helperText, placeholder, iconAtStart } = props;
@@ -100,23 +111,24 @@ function Select(props) {
100
111
  triggerWidth
101
112
  };
102
113
  }, [triggerProps, listBoxPropsFromSelect, selectState, triggerWidth]);
103
- return React.createElement(SelectOverlay.InternalSelectContext.Provider, {
104
- value: context
105
- }, React.createElement(SelectField, {
106
- isDisabled,
107
- validationState,
108
- isLabelEmphasized,
109
- size,
110
- label,
111
- errorText,
112
- helperText,
113
- placeholder,
114
- iconAtStart,
115
- labelProps,
116
- valueProps,
117
- helperTextProps,
118
- errorTextProps
119
- }), React.createElement(SelectOverlay.SelectOverlay, null));
114
+ return jsxRuntime.jsxs(SelectOverlay.InternalSelectContext.Provider, {
115
+ value: context,
116
+ children: [jsxRuntime.jsx(SelectField, {
117
+ isDisabled,
118
+ validationState,
119
+ isLabelEmphasized,
120
+ size,
121
+ label,
122
+ errorText,
123
+ helperText,
124
+ placeholder,
125
+ iconAtStart,
126
+ labelProps,
127
+ valueProps,
128
+ helperTextProps,
129
+ errorTextProps
130
+ }), jsxRuntime.jsx(SelectOverlay.SelectOverlay, {})]
131
+ });
120
132
  }
121
133
  Select.Section = SelectOverlay.SelectSection;
122
134
  Select.Option = SelectOverlay.SelectOption;
package/Select/index.mjs CHANGED
@@ -17,38 +17,42 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ import { jsxs, jsx } from "react/jsx-runtime";
20
21
  import React__default, { useMemo } from "react";
21
- import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-DptO7xtn.mjs";
22
+ import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-q23ZLLi4.mjs";
22
23
  import { classNames, variationName } from "../utilities/css.mjs";
23
- import { L as Label, I as InputCaption } from "../__chunks__/InputCaption-BJO9_Tby.mjs";
24
- import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
24
+ import { L as Label, I as InputCaption } from "../__chunks__/InputCaption-DoyGkWQe.mjs";
25
+ import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
25
26
  import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
26
- import { U as UnstyledButton } from "../__chunks__/UnstyledButton-DpQ5Ic9D.mjs";
27
- import { I as InputIcon, l as logWarningForMissingAriaLabel } from "../__chunks__/InputIcon-Bpg4lyQx.mjs";
27
+ import { U as UnstyledButton } from "../__chunks__/UnstyledButton-DxJLvL-G.mjs";
28
+ import { I as InputIcon, l as logWarningForMissingAriaLabel } from "../__chunks__/InputIcon-CEATdJ1j.mjs";
28
29
  import { u as useTriggerWidth } from "../__chunks__/useTriggerWidth-CBghrvjy.mjs";
29
30
  function SelectTrigger(props) {
30
31
  const { size = "md", valueProps, iconAtStart, hasError, isDisabled, children } = props;
31
32
  const { triggerProps, triggerRef, selectState } = useInternalSelectContext();
32
33
  const hasStartIcon = !!iconAtStart;
33
34
  const className = classNames(styles.selectField, styles.selectFieldIconEnd, selectState.isOpen && styles.listboxOpen, hasError && styles.selectFieldError, hasStartIcon && styles.selectFieldIconStart, styles[variationName("selectSize", size)]);
34
- return React__default.createElement("div", {
35
- className: styles.selectFieldIconContainer
36
- }, hasStartIcon && React__default.createElement(InputIcon, {
37
- alignment: "start",
38
- icon: iconAtStart,
39
- size,
40
- isDisabled
41
- }), React__default.createElement(UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
42
- ref: triggerRef,
43
- className
44
- }), React__default.createElement("span", __spreadProps(__spreadValues({}, valueProps), {
45
- className: styles.selectFieldText
46
- }), children)), React__default.createElement(InputIcon, {
47
- alignment: "end",
48
- icon: ExpandMore400,
49
- size,
50
- isDisabled
51
- }));
35
+ return jsxs("div", {
36
+ className: styles.selectFieldIconContainer,
37
+ children: [hasStartIcon && jsx(InputIcon, {
38
+ alignment: "start",
39
+ icon: iconAtStart,
40
+ size,
41
+ isDisabled
42
+ }), jsx(UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
43
+ ref: triggerRef,
44
+ className,
45
+ children: jsx("span", __spreadProps(__spreadValues({}, valueProps), {
46
+ className: styles.selectFieldText,
47
+ children
48
+ }))
49
+ })), jsx(InputIcon, {
50
+ alignment: "end",
51
+ icon: ExpandMore400,
52
+ size,
53
+ isDisabled
54
+ })]
55
+ });
52
56
  }
53
57
  function SelectField(props) {
54
58
  const { isDisabled = false, validationState = "valid", isLabelEmphasized = false, size = "md", label, errorText, helperText, placeholder, iconAtStart, labelProps, valueProps, errorTextProps, helperTextProps } = props;
@@ -58,28 +62,35 @@ function SelectField(props) {
58
62
  const showHelperText = !showErrorText && helperText;
59
63
  const captionProps = showHelperText ? helperTextProps : errorTextProps;
60
64
  const captionText = showHelperText ? helperText : errorText;
61
- return React__default.createElement("div", {
62
- className: classNames(styles.fieldRoot)
63
- }, label && React__default.createElement(Label, __spreadValues({
64
- fieldSize: size,
65
- hasError,
66
- isLabelEmphasized
67
- }, labelProps), label), React__default.createElement($bdd25dc72710631f$export$cbd84cdb2e668835, {
68
- isDisabled,
69
- state: selectState,
70
- triggerRef,
71
- label
72
- }), React__default.createElement(SelectTrigger, {
73
- valueProps,
74
- iconAtStart,
75
- hasError,
76
- isDisabled,
77
- size
78
- }, selectState.selectedItem ? selectState.selectedItem.rendered : React__default.createElement(Text, {
79
- color: "neutral.600"
80
- }, placeholder)), (showErrorText || showHelperText) && React__default.createElement(InputCaption, __spreadValues({
81
- variant: showHelperText ? "helper" : "error"
82
- }, captionProps), captionText));
65
+ return jsxs("div", {
66
+ className: classNames(styles.fieldRoot),
67
+ children: [label && jsx(Label, __spreadProps(__spreadValues({
68
+ fieldSize: size,
69
+ hasError,
70
+ isLabelEmphasized
71
+ }, labelProps), {
72
+ children: label
73
+ })), jsx($bdd25dc72710631f$export$cbd84cdb2e668835, {
74
+ isDisabled,
75
+ state: selectState,
76
+ triggerRef,
77
+ label
78
+ }), jsx(SelectTrigger, {
79
+ valueProps,
80
+ iconAtStart,
81
+ hasError,
82
+ isDisabled,
83
+ size,
84
+ children: selectState.selectedItem ? selectState.selectedItem.rendered : jsx(Text, {
85
+ color: "neutral.600",
86
+ children: placeholder
87
+ })
88
+ }), (showErrorText || showHelperText) && jsx(InputCaption, __spreadProps(__spreadValues({
89
+ variant: showHelperText ? "helper" : "error"
90
+ }, captionProps), {
91
+ children: captionText
92
+ }))]
93
+ });
83
94
  }
84
95
  function Select(props) {
85
96
  const { isDisabled, validationState, isLabelEmphasized, size = "md", "aria-label": ariaLabel, label, errorText, helperText, placeholder, iconAtStart } = props;
@@ -98,23 +109,24 @@ function Select(props) {
98
109
  triggerWidth
99
110
  };
100
111
  }, [triggerProps, listBoxPropsFromSelect, selectState, triggerWidth]);
101
- return React__default.createElement(InternalSelectContext.Provider, {
102
- value: context
103
- }, React__default.createElement(SelectField, {
104
- isDisabled,
105
- validationState,
106
- isLabelEmphasized,
107
- size,
108
- label,
109
- errorText,
110
- helperText,
111
- placeholder,
112
- iconAtStart,
113
- labelProps,
114
- valueProps,
115
- helperTextProps,
116
- errorTextProps
117
- }), React__default.createElement(SelectOverlay, null));
112
+ return jsxs(InternalSelectContext.Provider, {
113
+ value: context,
114
+ children: [jsx(SelectField, {
115
+ isDisabled,
116
+ validationState,
117
+ isLabelEmphasized,
118
+ size,
119
+ label,
120
+ errorText,
121
+ helperText,
122
+ placeholder,
123
+ iconAtStart,
124
+ labelProps,
125
+ valueProps,
126
+ helperTextProps,
127
+ errorTextProps
128
+ }), jsx(SelectOverlay, {})]
129
+ });
118
130
  }
119
131
  Select.Section = SelectSection;
120
132
  Select.Option = SelectOption;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-_D8DSBKs.js");
3
+ const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-BNLrFRLN.js");
4
4
  exports.SelectorErrorTooltip = SelectorErrorTooltip.SelectorErrorTooltip;
@@ -1,4 +1,4 @@
1
- import { S } from "../__chunks__/SelectorErrorTooltip-Dw1Fvd_q.mjs";
1
+ import { S } from "../__chunks__/SelectorErrorTooltip-rO2-k3Gl.mjs";
2
2
  export {
3
3
  S as SelectorErrorTooltip
4
4
  };
package/Spinner/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Spinner = require("../__chunks__/Spinner-D0ifPtVV.js");
3
+ const Spinner = require("../__chunks__/Spinner-vRnrcEz0.js");
4
4
  exports.Spinner = Spinner.Spinner;
package/Spinner/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { S } from "../__chunks__/Spinner-DOmPV59I.mjs";
1
+ import { S } from "../__chunks__/Spinner-COsekFr1.mjs";
2
2
  export {
3
3
  S as Spinner
4
4
  };
@@ -28,23 +28,29 @@ var __objRest = (source, exclude) => {
28
28
  return target;
29
29
  };
30
30
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
31
- const React = require("react");
32
- const Card = require("../__chunks__/Card-BM2DKiVA.js");
33
- const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAwv7zKY.js");
34
- const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
35
- const Toggle = require("../__chunks__/Toggle-D2ucsFxO.js");
31
+ const jsxRuntime = require("react/jsx-runtime");
32
+ const Card = require("../__chunks__/Card-LPIW5drP.js");
33
+ const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
34
+ const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
35
+ const Toggle = require("../__chunks__/Toggle-BmJjrdVn.js");
36
36
  const SplitToggleCard = (props) => {
37
37
  const _a = props, { children } = _a, toggleProps = __objRest(_a, ["children"]);
38
- return React.createElement(Card.Card.Container, null, React.createElement(HorizontalGrid.HorizontalGrid, {
39
- columns: ["80px", "1fr"]
40
- }, React.createElement(Card.Card.Area, {
41
- background: "secondary",
42
- padding: "3"
43
- }, React.createElement(HorizontalStack.HorizontalStack, {
44
- align: "center"
45
- }, React.createElement(Toggle.Toggle, __spreadValues({}, toggleProps)))), React.createElement(Card.Card.Area, {
46
- background: "primary",
47
- padding: "2"
48
- }, children)));
38
+ return jsxRuntime.jsx(Card.Card.Container, {
39
+ children: jsxRuntime.jsxs(HorizontalGrid.HorizontalGrid, {
40
+ columns: ["80px", "1fr"],
41
+ children: [jsxRuntime.jsx(Card.Card.Area, {
42
+ background: "secondary",
43
+ padding: "3",
44
+ children: jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
45
+ align: "center",
46
+ children: jsxRuntime.jsx(Toggle.Toggle, __spreadValues({}, toggleProps))
47
+ })
48
+ }), jsxRuntime.jsx(Card.Card.Area, {
49
+ background: "primary",
50
+ padding: "2",
51
+ children
52
+ })]
53
+ })
54
+ });
49
55
  };
50
56
  exports.SplitToggleCard = SplitToggleCard;
@@ -26,24 +26,30 @@ var __objRest = (source, exclude) => {
26
26
  }
27
27
  return target;
28
28
  };
29
- import React__default from "react";
30
- import { C as Card } from "../__chunks__/Card-CJug4GMX.mjs";
31
- import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-Dz8EFgmu.mjs";
32
- import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
33
- import { T as Toggle } from "../__chunks__/Toggle-CxjLdmzW.mjs";
29
+ import { jsx, jsxs } from "react/jsx-runtime";
30
+ import { C as Card } from "../__chunks__/Card-BgjWYPVY.mjs";
31
+ import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-DbLeJBt8.mjs";
32
+ import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
33
+ import { T as Toggle } from "../__chunks__/Toggle-DlDQ7rr2.mjs";
34
34
  const SplitToggleCard = (props) => {
35
35
  const _a = props, { children } = _a, toggleProps = __objRest(_a, ["children"]);
36
- return React__default.createElement(Card.Container, null, React__default.createElement(HorizontalGrid, {
37
- columns: ["80px", "1fr"]
38
- }, React__default.createElement(Card.Area, {
39
- background: "secondary",
40
- padding: "3"
41
- }, React__default.createElement(HorizontalStack, {
42
- align: "center"
43
- }, React__default.createElement(Toggle, __spreadValues({}, toggleProps)))), React__default.createElement(Card.Area, {
44
- background: "primary",
45
- padding: "2"
46
- }, children)));
36
+ return jsx(Card.Container, {
37
+ children: jsxs(HorizontalGrid, {
38
+ columns: ["80px", "1fr"],
39
+ children: [jsx(Card.Area, {
40
+ background: "secondary",
41
+ padding: "3",
42
+ children: jsx(HorizontalStack, {
43
+ align: "center",
44
+ children: jsx(Toggle, __spreadValues({}, toggleProps))
45
+ })
46
+ }), jsx(Card.Area, {
47
+ background: "primary",
48
+ padding: "2",
49
+ children
50
+ })]
51
+ })
52
+ });
47
53
  };
48
54
  export {
49
55
  SplitToggleCard
package/Stepper/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Stepper = require("../__chunks__/Stepper-CX0Mu37p.js");
3
+ const Stepper = require("../__chunks__/Stepper-lhcjfVFY.js");
4
4
  exports.Stepper = Stepper.Stepper;
package/Stepper/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { S } from "../__chunks__/Stepper-BEyDIPNJ.mjs";
1
+ import { S } from "../__chunks__/Stepper-DlI-16t-.mjs";
2
2
  export {
3
3
  S as Stepper
4
4
  };
package/TabNav/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const TabNav = require("../__chunks__/TabNav-B8aEzVyr.js");
3
+ const TabNav = require("../__chunks__/TabNav-bVgyfEV7.js");
4
4
  exports.TabNav = TabNav.TabNav;
package/TabNav/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { T } from "../__chunks__/TabNav-vCt_zTvE.mjs";
1
+ import { T } from "../__chunks__/TabNav-BNhQF0b0.mjs";
2
2
  export {
3
3
  T as TabNav
4
4
  };