@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,5 +1,7 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
3
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
7
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -15,6 +17,7 @@ var __spreadValues = (a, b) => {
15
17
  }
16
18
  return a;
17
19
  };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
18
21
  var __objRest = (source, exclude) => {
19
22
  var target = {};
20
23
  for (var prop in source)
@@ -28,17 +31,19 @@ var __objRest = (source, exclude) => {
28
31
  return target;
29
32
  };
30
33
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
31
- const React = require("react");
34
+ const jsxRuntime = require("react/jsx-runtime");
32
35
  const utilities_css = require("../utilities/css.js");
33
- const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAwv7zKY.js");
34
- const Text = require("../__chunks__/Text-CSESKR_s.js");
36
+ const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
37
+ const Text = require("../__chunks__/Text-DkzMEqky.js");
38
+ const React = require("react");
35
39
  const utilities_react = require("../utilities/react.js");
36
40
  function Grid(props) {
37
41
  const { children, columns } = props;
38
- return React.createElement(HorizontalGrid.HorizontalGrid, {
42
+ return jsxRuntime.jsx(HorizontalGrid.HorizontalGrid, {
39
43
  columns,
40
- gap: "2"
41
- }, children);
44
+ gap: "2",
45
+ children
46
+ });
42
47
  }
43
48
  const Header$1 = "_Header_an43s_4";
44
49
  const styles$2 = {
@@ -46,16 +51,18 @@ const styles$2 = {
46
51
  };
47
52
  function Header(props) {
48
53
  const { children } = props;
49
- return React.createElement("div", {
50
- className: styles$2.Header
51
- }, children);
54
+ return jsxRuntime.jsx("div", {
55
+ className: styles$2.Header,
56
+ children
57
+ });
52
58
  }
53
59
  function HelperText(props) {
54
60
  const { id, children } = props;
55
- return React.createElement(Text.Text, {
61
+ return jsxRuntime.jsx(Text.Text, {
56
62
  id,
57
- variant: "body1"
58
- }, children);
63
+ variant: "body1",
64
+ children
65
+ });
59
66
  }
60
67
  const WithinSectionContext = React.createContext(false);
61
68
  const Section$1 = "_Section_wc73y_4";
@@ -68,14 +75,17 @@ function Section(props) {
68
75
  const sectionTitle = React.useMemo(() => {
69
76
  return findSectionTitleInChildren(children);
70
77
  }, [children]);
71
- return React.createElement(WithinSectionContext.Provider, {
72
- value: true
73
- }, React.createElement("fieldset", {
74
- className
75
- }, sectionTitle && React.createElement(Text.Text, {
76
- as: "legend",
77
- visuallyHidden: true
78
- }, sectionTitle), children));
78
+ return jsxRuntime.jsx(WithinSectionContext.Provider, {
79
+ value: true,
80
+ children: jsxRuntime.jsxs("fieldset", {
81
+ className,
82
+ children: [sectionTitle && jsxRuntime.jsx(Text.Text, {
83
+ as: "legend",
84
+ visuallyHidden: true,
85
+ children: sectionTitle
86
+ }), children]
87
+ })
88
+ });
79
89
  }
80
90
  Section.displayName = "FormLayout.Section";
81
91
  function findSectionTitleInChildren(children) {
@@ -102,9 +112,11 @@ function Title(props) {
102
112
  } : {
103
113
  variant: "heading3"
104
114
  };
105
- return React.createElement(Text.Text, __spreadValues(__spreadValues({
115
+ return jsxRuntime.jsx(Text.Text, __spreadProps(__spreadValues(__spreadValues({
106
116
  as
107
- }, restProps), textProps), children);
117
+ }, restProps), textProps), {
118
+ children
119
+ }));
108
120
  }
109
121
  Title.displayName = "FormLayout.Title";
110
122
  const FormLayout$1 = "_FormLayout_10qz6_4";
@@ -114,9 +126,11 @@ const styles = {
114
126
  function FormLayout(props) {
115
127
  const _a = props, { as: As = "div", children } = _a, restProps = __objRest(_a, ["as", "children"]);
116
128
  const className = utilities_css.classNames(styles.FormLayout);
117
- return React.createElement(As, __spreadValues({
129
+ return jsxRuntime.jsx(As, __spreadProps(__spreadValues({
118
130
  className
119
- }, restProps), children);
131
+ }, restProps), {
132
+ children
133
+ }));
120
134
  }
121
135
  FormLayout.Header = Header;
122
136
  FormLayout.Section = Section;
@@ -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,17 +29,19 @@ var __objRest = (source, exclude) => {
26
29
  }
27
30
  return target;
28
31
  };
29
- import React__default, { createContext, useMemo, isValidElement, useContext } from "react";
32
+ import { jsx, jsxs } from "react/jsx-runtime";
30
33
  import { classNames } from "../utilities/css.mjs";
31
- import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-Dz8EFgmu.mjs";
32
- import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
34
+ import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-DbLeJBt8.mjs";
35
+ import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
36
+ import { createContext, useMemo, isValidElement, useContext } from "react";
33
37
  import { deepFind } from "../utilities/react.mjs";
34
38
  function Grid(props) {
35
39
  const { children, columns } = props;
36
- return React__default.createElement(HorizontalGrid, {
40
+ return jsx(HorizontalGrid, {
37
41
  columns,
38
- gap: "2"
39
- }, children);
42
+ gap: "2",
43
+ children
44
+ });
40
45
  }
41
46
  const Header$1 = "_Header_an43s_4";
42
47
  const styles$2 = {
@@ -44,16 +49,18 @@ const styles$2 = {
44
49
  };
45
50
  function Header(props) {
46
51
  const { children } = props;
47
- return React__default.createElement("div", {
48
- className: styles$2.Header
49
- }, children);
52
+ return jsx("div", {
53
+ className: styles$2.Header,
54
+ children
55
+ });
50
56
  }
51
57
  function HelperText(props) {
52
58
  const { id, children } = props;
53
- return React__default.createElement(Text, {
59
+ return jsx(Text, {
54
60
  id,
55
- variant: "body1"
56
- }, children);
61
+ variant: "body1",
62
+ children
63
+ });
57
64
  }
58
65
  const WithinSectionContext = createContext(false);
59
66
  const Section$1 = "_Section_wc73y_4";
@@ -66,14 +73,17 @@ function Section(props) {
66
73
  const sectionTitle = useMemo(() => {
67
74
  return findSectionTitleInChildren(children);
68
75
  }, [children]);
69
- return React__default.createElement(WithinSectionContext.Provider, {
70
- value: true
71
- }, React__default.createElement("fieldset", {
72
- className
73
- }, sectionTitle && React__default.createElement(Text, {
74
- as: "legend",
75
- visuallyHidden: true
76
- }, sectionTitle), children));
76
+ return jsx(WithinSectionContext.Provider, {
77
+ value: true,
78
+ children: jsxs("fieldset", {
79
+ className,
80
+ children: [sectionTitle && jsx(Text, {
81
+ as: "legend",
82
+ visuallyHidden: true,
83
+ children: sectionTitle
84
+ }), children]
85
+ })
86
+ });
77
87
  }
78
88
  Section.displayName = "FormLayout.Section";
79
89
  function findSectionTitleInChildren(children) {
@@ -100,9 +110,11 @@ function Title(props) {
100
110
  } : {
101
111
  variant: "heading3"
102
112
  };
103
- return React__default.createElement(Text, __spreadValues(__spreadValues({
113
+ return jsx(Text, __spreadProps(__spreadValues(__spreadValues({
104
114
  as
105
- }, restProps), textProps), children);
115
+ }, restProps), textProps), {
116
+ children
117
+ }));
106
118
  }
107
119
  Title.displayName = "FormLayout.Title";
108
120
  const FormLayout$1 = "_FormLayout_10qz6_4";
@@ -112,9 +124,11 @@ const styles = {
112
124
  function FormLayout(props) {
113
125
  const _a = props, { as: As = "div", children } = _a, restProps = __objRest(_a, ["as", "children"]);
114
126
  const className = classNames(styles.FormLayout);
115
- return React__default.createElement(As, __spreadValues({
127
+ return jsx(As, __spreadProps(__spreadValues({
116
128
  className
117
- }, restProps), children);
129
+ }, restProps), {
130
+ children
131
+ }));
118
132
  }
119
133
  FormLayout.Header = Header;
120
134
  FormLayout.Section = Section;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAwv7zKY.js");
3
+ const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
4
4
  exports.HorizontalGrid = HorizontalGrid.HorizontalGrid;
@@ -1,4 +1,4 @@
1
- import { H } from "../__chunks__/HorizontalGrid-Dz8EFgmu.mjs";
1
+ import { H } from "../__chunks__/HorizontalGrid-DbLeJBt8.mjs";
2
2
  export {
3
3
  H as HorizontalGrid
4
4
  };
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
3
+ const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
4
4
  exports.HorizontalStack = HorizontalStack.HorizontalStack;
@@ -1,4 +1,4 @@
1
- import { H } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
1
+ import { H } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
2
2
  export {
3
3
  H as HorizontalStack
4
4
  };
package/Icon/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
3
+ const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
4
4
  exports.Icon = Icon.Icon;
package/Icon/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { I } from "../__chunks__/Icon-0SN9dbwU.mjs";
1
+ import { I } from "../__chunks__/Icon-BIpaQJ_I.mjs";
2
2
  export {
3
3
  I as Icon
4
4
  };
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
3
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
4
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
7
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -15,6 +17,7 @@ var __spreadValues = (a, b) => {
15
17
  }
16
18
  return a;
17
19
  };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
18
21
  var __objRest = (source, exclude) => {
19
22
  var target = {};
20
23
  for (var prop in source)
@@ -28,10 +31,11 @@ var __objRest = (source, exclude) => {
28
31
  return target;
29
32
  };
30
33
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
34
+ const jsxRuntime = require("react/jsx-runtime");
31
35
  const React = require("react");
32
- const UnstyledButton = require("../__chunks__/UnstyledButton-BFpQ2Irc.js");
33
- const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
34
- const Text = require("../__chunks__/Text-CSESKR_s.js");
36
+ const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
37
+ const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
38
+ const Text = require("../__chunks__/Text-DkzMEqky.js");
35
39
  const utilities_css = require("../utilities/css.js");
36
40
  const IconButton$1 = "_IconButton_11xhv_4";
37
41
  const colorPrimary = "_colorPrimary_11xhv_19";
@@ -63,15 +67,18 @@ const IconButton = React.forwardRef((props, inRef) => {
63
67
  const _a = props, { color = "primary", variant = "filled", icon, size = "md", accessibilityLabel, isDisabled = false } = _a, restProps = __objRest(_a, ["color", "variant", "icon", "size", "accessibilityLabel", "isDisabled"]);
64
68
  UnstyledButton.logWarningIfInvalidColorVariantCombination(color, variant);
65
69
  const iconSize = size === "sm" ? "xs" : "md";
66
- return React.createElement(UnstyledButton.UnstyledButton, __spreadValues({
70
+ return jsxRuntime.jsxs(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({
67
71
  isDisabled,
68
72
  ref: inRef,
69
73
  className: utilities_css.classNames(styles.IconButton, styles[utilities_css.variationName("variant", variant)], styles[utilities_css.variationName("color", color)], styles[utilities_css.variationName("size", size)])
70
- }, restProps), React.createElement(Text.Text, {
71
- visuallyHidden: true
72
- }, accessibilityLabel), React.createElement(Icon.Icon, {
73
- symbol: icon,
74
- size: iconSize
74
+ }, restProps), {
75
+ children: [jsxRuntime.jsx(Text.Text, {
76
+ visuallyHidden: true,
77
+ children: accessibilityLabel
78
+ }), jsxRuntime.jsx(Icon.Icon, {
79
+ symbol: icon,
80
+ size: iconSize
81
+ })]
75
82
  }));
76
83
  });
77
84
  IconButton.displayName = "IconButton";
@@ -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,10 +29,11 @@ var __objRest = (source, exclude) => {
26
29
  }
27
30
  return target;
28
31
  };
29
- import React__default, { forwardRef } from "react";
30
- import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-DpQ5Ic9D.mjs";
31
- import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
32
- import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
32
+ import { jsxs, jsx } from "react/jsx-runtime";
33
+ import { forwardRef } from "react";
34
+ import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-DxJLvL-G.mjs";
35
+ import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
36
+ import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
33
37
  import { classNames, variationName } from "../utilities/css.mjs";
34
38
  const IconButton$1 = "_IconButton_11xhv_4";
35
39
  const colorPrimary = "_colorPrimary_11xhv_19";
@@ -61,15 +65,18 @@ const IconButton = forwardRef((props, inRef) => {
61
65
  const _a = props, { color = "primary", variant = "filled", icon, size = "md", accessibilityLabel, isDisabled = false } = _a, restProps = __objRest(_a, ["color", "variant", "icon", "size", "accessibilityLabel", "isDisabled"]);
62
66
  logWarningIfInvalidColorVariantCombination(color, variant);
63
67
  const iconSize = size === "sm" ? "xs" : "md";
64
- return React__default.createElement(UnstyledButton, __spreadValues({
68
+ return jsxs(UnstyledButton, __spreadProps(__spreadValues({
65
69
  isDisabled,
66
70
  ref: inRef,
67
71
  className: classNames(styles.IconButton, styles[variationName("variant", variant)], styles[variationName("color", color)], styles[variationName("size", size)])
68
- }, restProps), React__default.createElement(Text, {
69
- visuallyHidden: true
70
- }, accessibilityLabel), React__default.createElement(Icon, {
71
- symbol: icon,
72
- size: iconSize
72
+ }, restProps), {
73
+ children: [jsx(Text, {
74
+ visuallyHidden: true,
75
+ children: accessibilityLabel
76
+ }), jsx(Icon, {
77
+ symbol: icon,
78
+ size: iconSize
79
+ })]
73
80
  }));
74
81
  });
75
82
  IconButton.displayName = "IconButton";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const InputField = require("../__chunks__/InputField-CDHznUZd.js");
3
+ const InputField = require("../__chunks__/InputField-DGb4ZDoR.js");
4
4
  exports.InputField = InputField.InputField;
@@ -1,4 +1,4 @@
1
- import { I } from "../__chunks__/InputField-dq5XIhr1.mjs";
1
+ import { I } from "../__chunks__/InputField-CAY9O90X.mjs";
2
2
  export {
3
3
  I as InputField
4
4
  };
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const KebabButton = require("../__chunks__/KebabButton-DdzHU7is.js");
3
+ const KebabButton = require("../__chunks__/KebabButton-TbapERgy.js");
4
4
  exports.KebabButton = KebabButton.KebabButton;
@@ -1,4 +1,4 @@
1
- import { K } from "../__chunks__/KebabButton-Bf1OdC5_.mjs";
1
+ import { K } from "../__chunks__/KebabButton-D-5Mjaj0.mjs";
2
2
  export {
3
3
  K as KebabButton
4
4
  };
@@ -3,5 +3,5 @@ export type MenuTriggerProps = {
3
3
  /** The element that will activate the menu. */
4
4
  children: ReactElement;
5
5
  };
6
- export declare function MenuTrigger(props: MenuTriggerProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6
+ export declare function MenuTrigger(props: MenuTriggerProps): React.ReactElement<Record<string, unknown>, string | React.JSXElementConstructor<any>>;
7
7
  //# sourceMappingURL=MenuTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuTrigger.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+CAA+C;IAC/C,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,sEAKlD"}
1
+ {"version":3,"file":"MenuTrigger.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+CAA+C;IAC/C,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,0FAWlD"}
package/Menu/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Menu = require("../__chunks__/Menu-Kfc6nxFP.js");
3
+ const Menu = require("../__chunks__/Menu-MGDv1tob.js");
4
4
  exports.Menu = Menu.Menu;
package/Menu/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { M } from "../__chunks__/Menu-DHwqwFlg.mjs";
1
+ import { M } from "../__chunks__/Menu-Ci1FGh8B.mjs";
2
2
  export {
3
3
  M as Menu
4
4
  };
@@ -7,9 +7,9 @@ export type ModalContextType = {
7
7
  titleProps: DOMAttributes<FocusableElement>;
8
8
  isHeaderStuck: boolean;
9
9
  isFooterStuck: boolean;
10
- bodyRef: RefObject<HTMLDivElement>;
11
- headerInterceptorRef: RefObject<HTMLDivElement>;
12
- footerInterceptorRef: RefObject<HTMLDivElement>;
10
+ bodyRef: RefObject<HTMLDivElement | null>;
11
+ headerInterceptorRef: RefObject<HTMLDivElement | null>;
12
+ footerInterceptorRef: RefObject<HTMLDivElement | null>;
13
13
  };
14
14
  type ModalTriggerContextType = {
15
15
  isDismissable: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/Modal/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,aAAa,EACb,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,UAAU,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC5C,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACnC,oBAAoB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAChD,oBAAoB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CACjD,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,uBAAuB,EACvB,OAAO,GAAG,eAAe,CAC1B,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,wCAA+C,CAAC;AAEzE,eAAO,MAAM,eAAe,wBAM3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,+CACqB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,+BAMlC,CAAC;AAEF,eAAO,MAAM,eAAe,2BAG3B,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,aAAa,EACb,QAAQ,GACT,EAAE,yBAAyB,qBAU3B"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/Modal/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,aAAa,EACb,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC7C,UAAU,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC5C,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,oBAAoB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACvD,oBAAoB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxD,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,CAAC,kBAAkB,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,uBAAuB,EACvB,OAAO,GAAG,eAAe,CAC1B,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,wCAA+C,CAAC;AAEzE,eAAO,MAAM,eAAe,wBAM3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,+CACqB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,+BAMlC,CAAC;AAEF,eAAO,MAAM,eAAe,2BAG3B,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,aAAa,EACb,QAAQ,GACT,EAAE,yBAAyB,qBAU3B"}