@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
@@ -31,26 +31,27 @@ var __objRest = (source, exclude) => {
31
31
  return target;
32
32
  };
33
33
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
34
+ const jsxRuntime = require("react/jsx-runtime");
34
35
  const React = require("react");
35
36
  const utilities_css = require("../utilities/css.js");
36
37
  const Button = require("../__chunks__/Button-BpQFyL49.js");
37
- const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
38
- const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
39
- const Menu = require("../__chunks__/Menu-Kfc6nxFP.js");
40
- const Text = require("../__chunks__/Text-CSESKR_s.js");
38
+ const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
39
+ const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
40
+ const Menu = require("../__chunks__/Menu-MGDv1tob.js");
41
+ const Text = require("../__chunks__/Text-DkzMEqky.js");
41
42
  const useFocusRing = require("../__chunks__/useFocusRing-DbC9E5wC.js");
42
43
  const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
43
44
  const useHover = require("../__chunks__/useHover-Ck1otl-j.js");
44
45
  const usePress = require("../__chunks__/usePress-B5G5CgVn.js");
45
46
  const useLink = require("../__chunks__/useLink-CChqhQkC.js");
46
- const VerticalStack = require("../__chunks__/VerticalStack-Dzpv3O67.js");
47
+ const VerticalStack = require("../__chunks__/VerticalStack-BHkiocKU.js");
47
48
  const Dialog = require("../__chunks__/Dialog-iU9BJB0o.js");
48
49
  const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
49
50
  const Search = require("../__chunks__/Search-BY7IgEyX.js");
50
51
  const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
51
- const UnstyledButton = require("../__chunks__/UnstyledButton-BFpQ2Irc.js");
52
- const RadioGroup = require("../__chunks__/RadioGroup-CGQKZwDU.js");
53
- const TextField = require("../__chunks__/TextField-94cCP805.js");
52
+ const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
53
+ const RadioGroup = require("../__chunks__/RadioGroup-BiCqtR0F.js");
54
+ const TextField = require("../__chunks__/TextField-DKQVJPP_.js");
54
55
  const utilities_react = require("../utilities/react.js");
55
56
  const button = "_button_1sch8_4";
56
57
  const focused$1 = "_focused_1sch8_25";
@@ -70,11 +71,12 @@ const styles$4 = {
70
71
  };
71
72
  function ForgeLayoutActions(props) {
72
73
  const { children } = props;
73
- return React.createElement(HorizontalStack.HorizontalStack, {
74
+ return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
74
75
  wrap: false,
75
76
  gap: "1",
76
- align: "end"
77
- }, children);
77
+ align: "end",
78
+ children
79
+ });
78
80
  }
79
81
  function ForgeLayoutMenuAction(props) {
80
82
  const { accessibilityLabel = "Actions", iconSymbol, children, renderBadge } = props;
@@ -85,18 +87,25 @@ function ForgeLayoutMenuAction(props) {
85
87
  const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f({});
86
88
  const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({});
87
89
  const className = utilities_css.classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isOpen && styles$4.open);
88
- return React.createElement(Menu.Menu, {
90
+ return jsxRuntime.jsxs(Menu.Menu, {
89
91
  isOpen,
90
- onOpenChange: handleOpenChange
91
- }, React.createElement(Menu.Menu.Trigger, null, React.createElement(PressableButton, __spreadValues({
92
- className
93
- }, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), React.createElement(Text.Text, {
94
- visuallyHidden: true
95
- }, accessibilityLabel), React.createElement(Icon.Icon, {
96
- symbol: iconSymbol
97
- }), renderBadge && React.createElement("div", {
98
- className: styles$4.badgeContainer
99
- }, renderBadge()))), children);
92
+ onOpenChange: handleOpenChange,
93
+ children: [jsxRuntime.jsx(Menu.Menu.Trigger, {
94
+ children: jsxRuntime.jsxs(PressableButton, __spreadProps(__spreadValues({
95
+ className
96
+ }, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), {
97
+ children: [jsxRuntime.jsx(Text.Text, {
98
+ visuallyHidden: true,
99
+ children: accessibilityLabel
100
+ }), jsxRuntime.jsx(Icon.Icon, {
101
+ symbol: iconSymbol
102
+ }), renderBadge && jsxRuntime.jsx("div", {
103
+ className: styles$4.badgeContainer,
104
+ children: renderBadge()
105
+ })]
106
+ }))
107
+ }), children]
108
+ });
100
109
  }
101
110
  function ForgeLayoutLinkAction(props) {
102
111
  const { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = props;
@@ -105,44 +114,52 @@ function ForgeLayoutLinkAction(props) {
105
114
  const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f(props);
106
115
  const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
107
116
  const className = utilities_css.classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isSelected && styles$4.selected);
108
- return React.createElement("a", __spreadProps(__spreadValues({
117
+ return jsxRuntime.jsxs("a", __spreadProps(__spreadValues({
109
118
  ref,
110
119
  className
111
120
  }, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
112
- "aria-current": isSelected ? "true" : void 0
113
- }), React.createElement(Text.Text, {
114
- visuallyHidden: true
115
- }, accessibilityLabel), React.createElement(Icon.Icon, {
116
- symbol: iconSymbol
117
- }), renderBadge && React.createElement("div", {
118
- className: styles$4.badgeContainer
119
- }, renderBadge()));
121
+ "aria-current": isSelected ? "true" : void 0,
122
+ children: [jsxRuntime.jsx(Text.Text, {
123
+ visuallyHidden: true,
124
+ children: accessibilityLabel
125
+ }), jsxRuntime.jsx(Icon.Icon, {
126
+ symbol: iconSymbol
127
+ }), renderBadge && jsxRuntime.jsx("div", {
128
+ className: styles$4.badgeContainer,
129
+ children: renderBadge()
130
+ })]
131
+ }));
120
132
  }
121
133
  function ForgeLayoutButtonAction(props) {
122
134
  const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
123
135
  const ref = React.useRef(null);
124
136
  const className = utilities_css.classNames(styles$4.button, isSelected && styles$4.selected);
125
- return React.createElement(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadValues({
137
+ return jsxRuntime.jsxs(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadProps(__spreadValues({
126
138
  ref,
127
139
  className,
128
140
  "aria-current": isSelected ? "true" : void 0
129
- }, buttonProps), React.createElement(Text.Text, {
130
- visuallyHidden: true
131
- }, accessibilityLabel), React.createElement(Icon.Icon, {
132
- symbol: iconSymbol
133
- }), renderBadge && React.createElement("div", {
134
- className: styles$4.badgeContainer
135
- }, renderBadge()));
141
+ }, buttonProps), {
142
+ children: [jsxRuntime.jsx(Text.Text, {
143
+ visuallyHidden: true,
144
+ children: accessibilityLabel
145
+ }), jsxRuntime.jsx(Icon.Icon, {
146
+ symbol: iconSymbol
147
+ }), renderBadge && jsxRuntime.jsx("div", {
148
+ className: styles$4.badgeContainer,
149
+ children: renderBadge()
150
+ })]
151
+ }));
136
152
  }
137
153
  function ForgeLayoutActionBadge(props) {
138
154
  const { children } = props;
139
- return React.createElement("div", {
140
- className: styles$4.badge
141
- }, children);
155
+ return jsxRuntime.jsx("div", {
156
+ className: styles$4.badge,
157
+ children
158
+ });
142
159
  }
143
160
  const PressableButton = React.forwardRef((props, ref) => {
144
161
  const { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21(props);
145
- return React.createElement("button", __spreadProps(__spreadValues({}, pressProps), {
162
+ return jsxRuntime.jsx("button", __spreadProps(__spreadValues({}, pressProps), {
146
163
  ref,
147
164
  className: utilities_css.classNames(pressProps.className)
148
165
  }));
@@ -179,26 +196,31 @@ function ForgeLayoutNav(props) {
179
196
  if (navState === "collapsed") {
180
197
  return null;
181
198
  }
182
- return React.createElement(ForgeLayoutNavContext.Provider, {
183
- value: context
184
- }, React.createElement("div", {
185
- className: styles$3.nav
186
- }, React.createElement(VerticalStack.VerticalStack, {
187
- as: "nav",
188
- "aria-label": title,
189
- gap: "1",
190
- inlineAlign: "start"
191
- }, React.createElement(Logo, null), children)));
199
+ return jsxRuntime.jsx(ForgeLayoutNavContext.Provider, {
200
+ value: context,
201
+ children: jsxRuntime.jsx("div", {
202
+ className: styles$3.nav,
203
+ children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
204
+ as: "nav",
205
+ "aria-label": title,
206
+ gap: "1",
207
+ inlineAlign: "start",
208
+ children: [jsxRuntime.jsx(Logo, {}), children]
209
+ })
210
+ })
211
+ });
192
212
  }
193
213
  function ForgeLayoutNavSection(props) {
194
214
  const { title, children } = props;
195
- return React.createElement(VerticalStack.VerticalStack, {
215
+ return jsxRuntime.jsxs(VerticalStack.VerticalStack, {
196
216
  gap: "1",
197
- inlineAlign: "start"
198
- }, React.createElement(Text.Text, {
199
- variant: "overline",
200
- color: "primary.600"
201
- }, title), children);
217
+ inlineAlign: "start",
218
+ children: [jsxRuntime.jsx(Text.Text, {
219
+ variant: "overline",
220
+ color: "primary.600",
221
+ children: title
222
+ }), children]
223
+ });
202
224
  }
203
225
  function ForgeLayoutNavLink(props) {
204
226
  const { href, iconSymbol, children } = props;
@@ -209,67 +231,75 @@ function ForgeLayoutNavLink(props) {
209
231
  const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
210
232
  const isSelected = href === selectedHref;
211
233
  const className = utilities_css.classNames(styles$3.link, isFocusVisible && styles$3.focused, isHovered && styles$3.hovered, isSelected && styles$3.selected);
212
- return React.createElement("a", __spreadProps(__spreadValues({
234
+ return jsxRuntime.jsxs("a", __spreadProps(__spreadValues({
213
235
  ref,
214
236
  className
215
237
  }, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
216
- "aria-current": isSelected ? "page" : void 0
217
- }), React.createElement(Icon.Icon, {
218
- symbol: iconSymbol
219
- }), React.createElement(Text.Text, {
220
- variant: "subtitle2"
221
- }, children));
238
+ "aria-current": isSelected ? "page" : void 0,
239
+ children: [jsxRuntime.jsx(Icon.Icon, {
240
+ symbol: iconSymbol
241
+ }), jsxRuntime.jsx(Text.Text, {
242
+ variant: "subtitle2",
243
+ children
244
+ })]
245
+ }));
222
246
  }
223
247
  function Logo() {
224
- return React.createElement("svg", {
248
+ return jsxRuntime.jsxs("svg", {
225
249
  width: "95",
226
250
  height: "24",
227
251
  fill: "none",
228
- xmlns: "http://www.w3.org/2000/svg"
229
- }, React.createElement("g", {
230
- clipPath: "url(#clip0_1141_3360)"
231
- }, React.createElement("path", {
232
- d: "M21.036 17.22v-1.548l-10.037 5.851a.919.919 0 0 1-.927 0l-4.786-2.79v-2.448l4.786 2.79c.287.167.64.167.927 0l10.037-5.85v-2.448l-10.037 5.85a.919.919 0 0 1-.927 0l-4.786-2.79V11.39l4.786 2.79c.287.167.64.167.927 0l10.037-5.851V6.78a1.56 1.56 0 0 0-.772-1.35L11.308.209a1.528 1.528 0 0 0-1.543 0L.808 5.43a1.56 1.56 0 0 0-.772 1.35v10.44c0 .557.294 1.072.772 1.35l8.956 5.22a1.528 1.528 0 0 0 1.543 0l8.956-5.22a1.56 1.56 0 0 0 .772-1.35h.001z",
233
- fill: "url(#paint0_linear_1141_3360)"
234
- }), React.createElement("path", {
235
- d: "M33.126 8.058v2.762h3.907v1.788h-3.907v4.725H31V6.16h6.868v1.9h-4.742zm20.575 3.689c0 3.384-2.678 5.746-5.703 5.746-3.024 0-5.702-2.362-5.702-5.746C42.296 8.363 44.974 6 47.998 6c3.025 0 5.703 2.363 5.703 5.747zm-2.158 0c0-2.203-1.622-3.784-3.545-3.784-1.922 0-3.56 1.58-3.56 3.784 0 2.204 1.622 3.784 3.56 3.784 1.939 0 3.545-1.58 3.545-3.784zm13.642 5.586l-2.457-3.8h-1.827v3.8h-2.064V6.16h3.797c2.473 0 4.033 1.532 4.033 3.752 0 1.548-.757 2.698-2.048 3.257l2.757 4.167h-2.19l-.001-.002zm-4.286-5.604h1.622c1.245 0 2.08-.543 2.08-1.82 0-1.276-.835-1.82-2.08-1.82H60.9v3.64zm16.134 5.764c-3.089 0-5.702-2.362-5.702-5.746C71.33 8.363 74.008 6 77.033 6c1.434 0 2.725.48 3.685 1.324l-1.244 1.437c-.63-.48-1.465-.798-2.316-.798-2.064 0-3.687 1.58-3.687 3.784 0 2.204 1.544 3.784 3.592 3.784 1.528 0 2.71-.67 3.008-2.427h-2.756v-1.74h4.648c.457 3.816-1.986 6.13-4.932 6.13h.002zM94 15.402v1.932h-6.868V6.16h6.727v1.931h-4.664v2.682h3.545v1.883h-3.545v2.746H94z",
236
- fill: "#061340"
237
- })), React.createElement("defs", null, React.createElement("linearGradient", {
238
- id: "paint0_linear_1141_3360",
239
- x1: "2.381",
240
- y1: "20.234",
241
- x2: "18.847",
242
- y2: "3.923",
243
- gradientUnits: "userSpaceOnUse"
244
- }, React.createElement("stop", {
245
- stopColor: "#BC4543"
246
- }), React.createElement("stop", {
247
- offset: ".5",
248
- stopColor: "#F95C59"
249
- }), React.createElement("stop", {
250
- offset: ".59",
251
- stopColor: "#F86059"
252
- }), React.createElement("stop", {
253
- offset: ".68",
254
- stopColor: "#F86C59"
255
- }), React.createElement("stop", {
256
- offset: ".78",
257
- stopColor: "#F7815A"
258
- }), React.createElement("stop", {
259
- offset: ".87",
260
- stopColor: "#F69E5B"
261
- }), React.createElement("stop", {
262
- offset: ".97",
263
- stopColor: "#F4C35D"
264
- }), React.createElement("stop", {
265
- offset: "1",
266
- stopColor: "#F4D35E"
267
- })), React.createElement("clipPath", {
268
- id: "clip0_1141_3360"
269
- }, React.createElement("path", {
270
- fill: "#fff",
271
- d: "M0 0H95V24H0z"
272
- }))));
252
+ xmlns: "http://www.w3.org/2000/svg",
253
+ children: [jsxRuntime.jsxs("g", {
254
+ clipPath: "url(#clip0_1141_3360)",
255
+ children: [jsxRuntime.jsx("path", {
256
+ d: "M21.036 17.22v-1.548l-10.037 5.851a.919.919 0 0 1-.927 0l-4.786-2.79v-2.448l4.786 2.79c.287.167.64.167.927 0l10.037-5.85v-2.448l-10.037 5.85a.919.919 0 0 1-.927 0l-4.786-2.79V11.39l4.786 2.79c.287.167.64.167.927 0l10.037-5.851V6.78a1.56 1.56 0 0 0-.772-1.35L11.308.209a1.528 1.528 0 0 0-1.543 0L.808 5.43a1.56 1.56 0 0 0-.772 1.35v10.44c0 .557.294 1.072.772 1.35l8.956 5.22a1.528 1.528 0 0 0 1.543 0l8.956-5.22a1.56 1.56 0 0 0 .772-1.35h.001z",
257
+ fill: "url(#paint0_linear_1141_3360)"
258
+ }), jsxRuntime.jsx("path", {
259
+ d: "M33.126 8.058v2.762h3.907v1.788h-3.907v4.725H31V6.16h6.868v1.9h-4.742zm20.575 3.689c0 3.384-2.678 5.746-5.703 5.746-3.024 0-5.702-2.362-5.702-5.746C42.296 8.363 44.974 6 47.998 6c3.025 0 5.703 2.363 5.703 5.747zm-2.158 0c0-2.203-1.622-3.784-3.545-3.784-1.922 0-3.56 1.58-3.56 3.784 0 2.204 1.622 3.784 3.56 3.784 1.939 0 3.545-1.58 3.545-3.784zm13.642 5.586l-2.457-3.8h-1.827v3.8h-2.064V6.16h3.797c2.473 0 4.033 1.532 4.033 3.752 0 1.548-.757 2.698-2.048 3.257l2.757 4.167h-2.19l-.001-.002zm-4.286-5.604h1.622c1.245 0 2.08-.543 2.08-1.82 0-1.276-.835-1.82-2.08-1.82H60.9v3.64zm16.134 5.764c-3.089 0-5.702-2.362-5.702-5.746C71.33 8.363 74.008 6 77.033 6c1.434 0 2.725.48 3.685 1.324l-1.244 1.437c-.63-.48-1.465-.798-2.316-.798-2.064 0-3.687 1.58-3.687 3.784 0 2.204 1.544 3.784 3.592 3.784 1.528 0 2.71-.67 3.008-2.427h-2.756v-1.74h4.648c.457 3.816-1.986 6.13-4.932 6.13h.002zM94 15.402v1.932h-6.868V6.16h6.727v1.931h-4.664v2.682h3.545v1.883h-3.545v2.746H94z",
260
+ fill: "#061340"
261
+ })]
262
+ }), jsxRuntime.jsxs("defs", {
263
+ children: [jsxRuntime.jsxs("linearGradient", {
264
+ id: "paint0_linear_1141_3360",
265
+ x1: "2.381",
266
+ y1: "20.234",
267
+ x2: "18.847",
268
+ y2: "3.923",
269
+ gradientUnits: "userSpaceOnUse",
270
+ children: [jsxRuntime.jsx("stop", {
271
+ stopColor: "#BC4543"
272
+ }), jsxRuntime.jsx("stop", {
273
+ offset: ".5",
274
+ stopColor: "#F95C59"
275
+ }), jsxRuntime.jsx("stop", {
276
+ offset: ".59",
277
+ stopColor: "#F86059"
278
+ }), jsxRuntime.jsx("stop", {
279
+ offset: ".68",
280
+ stopColor: "#F86C59"
281
+ }), jsxRuntime.jsx("stop", {
282
+ offset: ".78",
283
+ stopColor: "#F7815A"
284
+ }), jsxRuntime.jsx("stop", {
285
+ offset: ".87",
286
+ stopColor: "#F69E5B"
287
+ }), jsxRuntime.jsx("stop", {
288
+ offset: ".97",
289
+ stopColor: "#F4C35D"
290
+ }), jsxRuntime.jsx("stop", {
291
+ offset: "1",
292
+ stopColor: "#F4D35E"
293
+ })]
294
+ }), jsxRuntime.jsx("clipPath", {
295
+ id: "clip0_1141_3360",
296
+ children: jsxRuntime.jsx("path", {
297
+ fill: "#fff",
298
+ d: "M0 0H95V24H0z"
299
+ })
300
+ })]
301
+ })]
302
+ });
273
303
  }
274
304
  const header = "_header_otc59_4";
275
305
  const headerBg = "_headerBg_otc59_18";
@@ -287,15 +317,17 @@ const useForgeLayoutHeader = () => {
287
317
  };
288
318
  function ForgeLayoutHeader(props) {
289
319
  const { areControlsGrouped = true, children } = props;
290
- return React.createElement(ForgeLayoutHeaderContext.Provider, {
320
+ return jsxRuntime.jsx(ForgeLayoutHeaderContext.Provider, {
291
321
  value: {
292
322
  areControlsGrouped
293
- }
294
- }, React.createElement("header", {
295
- className: styles$2.header
296
- }, React.createElement("div", {
297
- className: styles$2.headerBg
298
- }), children));
323
+ },
324
+ children: jsxRuntime.jsxs("header", {
325
+ className: styles$2.header,
326
+ children: [jsxRuntime.jsx("div", {
327
+ className: styles$2.headerBg
328
+ }), children]
329
+ })
330
+ });
299
331
  }
300
332
  const controls = "_controls_1moaa_4";
301
333
  const breadcrumbNavigationContainer = "_breadcrumbNavigationContainer_1moaa_11";
@@ -328,9 +360,14 @@ function ForgeLayoutControls(props) {
328
360
  if (navState !== visibleWhenNavStateIs) {
329
361
  return null;
330
362
  }
331
- return React.createElement(React.Fragment, null, areControlsGrouped ? React.createElement("div", {
332
- className: styles$1.controls
333
- }, children) : React.createElement(React.Fragment, null, children));
363
+ return jsxRuntime.jsx(jsxRuntime.Fragment, {
364
+ children: areControlsGrouped ? jsxRuntime.jsx("div", {
365
+ className: styles$1.controls,
366
+ children
367
+ }) : jsxRuntime.jsx(jsxRuntime.Fragment, {
368
+ children
369
+ })
370
+ });
334
371
  }
335
372
  function ForgeLayoutBreadcrumbsNavigation(props) {
336
373
  const { children } = props;
@@ -346,114 +383,139 @@ function ForgeLayoutBreadcrumbsNavigation(props) {
346
383
  breadcrumbs: breadcrumbs2
347
384
  };
348
385
  }, [children]);
349
- return React.createElement("div", {
350
- className: styles$1.breadcrumbNavigationContainer
351
- }, React.createElement("div", {
352
- className: styles$1.backButtonContainer
353
- }, backButton2), React.createElement("div", {
354
- className: styles$1.breadcrumbsContainer
355
- }, breadcrumbs));
386
+ return jsxRuntime.jsxs("div", {
387
+ className: styles$1.breadcrumbNavigationContainer,
388
+ children: [jsxRuntime.jsx("div", {
389
+ className: styles$1.backButtonContainer,
390
+ children: backButton2
391
+ }), jsxRuntime.jsx("div", {
392
+ className: styles$1.breadcrumbsContainer,
393
+ children: breadcrumbs
394
+ })]
395
+ });
356
396
  }
357
397
  function ForgeLayoutBackButton(props) {
358
398
  const _a = props, { children } = _a, restButtonProps = __objRest(_a, ["children"]);
359
- return React.createElement(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, restButtonProps), {
360
- className: styles$1.backButton
361
- }), React.createElement(Icon.Icon, {
362
- symbol: ArrowBack.ArrowBack,
363
- size: "sm"
364
- }), React.createElement(Text.Text, {
365
- variant: "subtitle1"
366
- }, children));
399
+ return jsxRuntime.jsxs(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, restButtonProps), {
400
+ className: styles$1.backButton,
401
+ children: [jsxRuntime.jsx(Icon.Icon, {
402
+ symbol: ArrowBack.ArrowBack,
403
+ size: "sm"
404
+ }), jsxRuntime.jsx(Text.Text, {
405
+ variant: "subtitle1",
406
+ children
407
+ })]
408
+ }));
367
409
  }
368
410
  function ForgeLayoutBreadcrumbs(props) {
369
411
  const { children } = props;
370
412
  const breadcrumbs = React.useMemo(() => utilities_react.flattenChildren(children), [children]);
371
- return React.createElement(HorizontalStack.HorizontalStack, {
413
+ return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
372
414
  blockAlign: "center",
373
- gap: "0.5"
374
- }, breadcrumbs.map((breadcrumb, idx) => {
375
- if (idx === 0) {
376
- return React.createElement(React.Fragment, {
377
- key: idx
378
- }, breadcrumb);
379
- } else {
380
- return React.createElement(React.Fragment, {
381
- key: idx
382
- }, React.createElement(ForgeLayoutBreadcrumb, {
383
- key: idx
384
- }, ">"), breadcrumb);
385
- }
386
- }));
415
+ gap: "0.5",
416
+ children: breadcrumbs.map((breadcrumb, idx) => {
417
+ if (idx === 0) {
418
+ return jsxRuntime.jsx(React.Fragment, {
419
+ children: breadcrumb
420
+ }, idx);
421
+ } else {
422
+ return jsxRuntime.jsxs(React.Fragment, {
423
+ children: [jsxRuntime.jsx(ForgeLayoutBreadcrumb, {
424
+ children: ">"
425
+ }, idx), breadcrumb]
426
+ }, idx);
427
+ }
428
+ })
429
+ });
387
430
  }
388
431
  function ForgeLayoutBreadcrumb(props) {
389
432
  const { children } = props;
390
- return React.createElement(Text.Text, {
433
+ return jsxRuntime.jsx(Text.Text, {
391
434
  variant: "body1",
392
- color: "neutral.700"
393
- }, children);
435
+ color: "neutral.700",
436
+ children
437
+ });
394
438
  }
395
439
  function ForgeLayoutModeSwitcher(props) {
396
440
  const { onModeChange } = props;
397
441
  const { mode } = useForgeLayout();
398
442
  const [isOpen, setIsOpen] = React.useState(false);
399
- return React.createElement(Dialog.$de32f1b87079253c$export$2e1e1122cf0cba88, null, React.createElement(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
400
- className: utilities_css.classNames(styles$1.trigger, isOpen && styles$1.triggerPopoverOpen),
401
- onPress: () => setIsOpen(true)
402
- }, React.createElement(Text.Text, {
403
- variant: "subtitle1",
404
- color: mode === "test" ? "warning.600" : "positive.600",
405
- truncate: true
406
- }, mode === "test" ? TEST_MODE : PRODUCTION_MODE), React.createElement(Icon.Icon, {
407
- symbol: ExpandMore400.ExpandMore400,
408
- size: "md",
409
- color: "neutral.500"
410
- })), React.createElement(Dialog.$07b14b47974efb58$export$5b6b19405a83ff9d, {
411
- className: styles$1.popover,
412
- offset: POPOVER_OFFSET,
413
- crossOffset: POPOVER_CROSS_OFFSET,
414
- isOpen,
415
- onOpenChange: setIsOpen
416
- }, React.createElement(Dialog.$de32f1b87079253c$export$3ddf2d174ce01153, null, React.createElement(VerticalStack.VerticalStack, {
417
- gap: "1"
418
- }, React.createElement(Text.Text, {
419
- variant: "subtitle1",
420
- color: "neutral.800"
421
- }, "Instance Switcher"), React.createElement(RadioGroup.RadioGroup, {
422
- "aria-label": "Select a mode",
423
- onChange: onModeChange,
424
- value: mode
425
- }, React.createElement(ForgeLayoutModeSwitcherRadioGroupItem, {
426
- value: "test"
427
- }), React.createElement(ForgeLayoutModeSwitcherRadioGroupItem, {
428
- value: "production"
429
- }))))));
443
+ return jsxRuntime.jsxs(Dialog.$de32f1b87079253c$export$2e1e1122cf0cba88, {
444
+ children: [jsxRuntime.jsxs(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
445
+ className: utilities_css.classNames(styles$1.trigger, isOpen && styles$1.triggerPopoverOpen),
446
+ onPress: () => setIsOpen(true),
447
+ children: [jsxRuntime.jsx(Text.Text, {
448
+ variant: "subtitle1",
449
+ color: mode === "test" ? "warning.600" : "positive.600",
450
+ truncate: true,
451
+ children: mode === "test" ? TEST_MODE : PRODUCTION_MODE
452
+ }), jsxRuntime.jsx(Icon.Icon, {
453
+ symbol: ExpandMore400.ExpandMore400,
454
+ size: "md",
455
+ color: "neutral.500"
456
+ })]
457
+ }), jsxRuntime.jsx(Dialog.$07b14b47974efb58$export$5b6b19405a83ff9d, {
458
+ className: styles$1.popover,
459
+ offset: POPOVER_OFFSET,
460
+ crossOffset: POPOVER_CROSS_OFFSET,
461
+ isOpen,
462
+ onOpenChange: setIsOpen,
463
+ children: jsxRuntime.jsx(Dialog.$de32f1b87079253c$export$3ddf2d174ce01153, {
464
+ children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
465
+ gap: "1",
466
+ children: [jsxRuntime.jsx(Text.Text, {
467
+ variant: "subtitle1",
468
+ color: "neutral.800",
469
+ children: "Instance Switcher"
470
+ }), jsxRuntime.jsxs(RadioGroup.RadioGroup, {
471
+ "aria-label": "Select a mode",
472
+ onChange: onModeChange,
473
+ value: mode,
474
+ children: [jsxRuntime.jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
475
+ value: "test"
476
+ }), jsxRuntime.jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
477
+ value: "production"
478
+ })]
479
+ })]
480
+ })
481
+ })
482
+ })]
483
+ });
430
484
  }
431
485
  function ForgeLayoutModeSwitcherRadioGroupItem(props) {
432
486
  const _a = props, { value } = _a, restProps = __objRest(_a, ["value"]);
433
487
  const state = RadioGroup.useRadioGroupContext();
434
488
  const isSelected = value === state.selectedValue;
435
- return React.createElement(RadioGroup.RadioGroup.Item, __spreadValues({
489
+ return jsxRuntime.jsx(RadioGroup.RadioGroup.Item, __spreadProps(__spreadValues({
436
490
  value
437
- }, restProps), React.createElement(VerticalStack.VerticalStack, null, React.createElement(Text.Text, {
438
- variant: "subtitle2",
439
- color: isSelected ? "primary.800" : "primary.700"
440
- }, value === "test" ? TEST_MODE : PRODUCTION_MODE), React.createElement(Text.Text, {
441
- variant: "overline"
442
- }, "View data using the", " ", React.createElement(Text.Text, {
443
- color: value === "test" ? "warning.600" : "positive.600"
444
- }, value === "test" ? TEST_MODE.toUpperCase() : PRODUCTION_MODE.toUpperCase(), " ", "API", " "), "keys")));
491
+ }, restProps), {
492
+ children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
493
+ children: [jsxRuntime.jsx(Text.Text, {
494
+ variant: "subtitle2",
495
+ color: isSelected ? "primary.800" : "primary.700",
496
+ children: value === "test" ? TEST_MODE : PRODUCTION_MODE
497
+ }), jsxRuntime.jsxs(Text.Text, {
498
+ variant: "overline",
499
+ children: ["View data using the", " ", jsxRuntime.jsxs(Text.Text, {
500
+ color: value === "test" ? "warning.600" : "positive.600",
501
+ children: [value === "test" ? TEST_MODE.toUpperCase() : PRODUCTION_MODE.toUpperCase(), " ", "API", " "]
502
+ }), "keys"]
503
+ })]
504
+ })
505
+ }));
445
506
  }
446
507
  function ForgeLayoutSearch(props) {
447
508
  const _a = props, { "aria-label": ariaLabel = "Search for content" } = _a, textFieldProps = __objRest(_a, ["aria-label"]);
448
- return React.createElement("div", {
449
- className: styles$1.searchContainer
450
- }, React.createElement(TextField.TextField, __spreadValues({
451
- size: "sm",
452
- type: "search",
453
- "aria-label": ariaLabel,
454
- placeholder: "/ search",
455
- iconAtStart: Search.Search
456
- }, textFieldProps)));
509
+ return jsxRuntime.jsx("div", {
510
+ className: styles$1.searchContainer,
511
+ children: jsxRuntime.jsx(TextField.TextField, __spreadValues({
512
+ size: "sm",
513
+ type: "search",
514
+ "aria-label": ariaLabel,
515
+ placeholder: "/ search",
516
+ iconAtStart: Search.Search
517
+ }, textFieldProps))
518
+ });
457
519
  }
458
520
  const ForgeLayout$1 = "_ForgeLayout_irfr5_4";
459
521
  const modeTest = "_modeTest_irfr5_21";
@@ -487,25 +549,29 @@ function ForgeLayout(props) {
487
549
  navState
488
550
  };
489
551
  }, [mode, navState]);
490
- return React.createElement(ForgeLayoutContext.Provider, {
491
- value: context
492
- }, React.createElement("div", {
493
- className: bgClassName
494
- }), React.createElement("div", {
495
- className
496
- }, children));
552
+ return jsxRuntime.jsxs(ForgeLayoutContext.Provider, {
553
+ value: context,
554
+ children: [jsxRuntime.jsx("div", {
555
+ className: bgClassName
556
+ }), jsxRuntime.jsx("div", {
557
+ className,
558
+ children
559
+ })]
560
+ });
497
561
  }
498
562
  function ForgeLayoutBody(props) {
499
563
  const { children } = props;
500
- return React.createElement("div", {
501
- className: styles.body
502
- }, children);
564
+ return jsxRuntime.jsx("div", {
565
+ className: styles.body,
566
+ children
567
+ });
503
568
  }
504
569
  function ForgeLayoutContent(props) {
505
570
  const { children } = props;
506
- return React.createElement("main", {
507
- className: styles.content
508
- }, children);
571
+ return jsxRuntime.jsx("main", {
572
+ className: styles.content,
573
+ children
574
+ });
509
575
  }
510
576
  ForgeLayout.Nav = ForgeLayoutNav;
511
577
  ForgeLayout.NavSection = ForgeLayoutNavSection;