@easypost/easy-ui 1.0.0-alpha.113 → 1.0.0-alpha.115
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.
- package/AlertBadge/AlertBadge.d.ts +1 -1
- package/AlertBadge/AlertBadge.d.ts.map +1 -1
- package/AlertBadge/index.js +11 -9
- package/AlertBadge/index.mjs +11 -9
- package/Badge/index.js +12 -12
- package/Badge/index.mjs +12 -12
- package/Banner/index.js +7 -7
- package/Banner/index.mjs +7 -7
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +12 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +14 -14
- package/CheckableCard/index.mjs +14 -14
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +30 -30
- package/CodeBlock/index.mjs +30 -30
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/ColorPicker/index.js +24 -24
- package/ColorPicker/index.mjs +24 -24
- package/CustomerPortalLayout/index.js +36 -36
- package/CustomerPortalLayout/index.mjs +36 -36
- package/DataGrid/index.js +78 -78
- package/DataGrid/index.mjs +78 -78
- package/DatePicker/index.js +6 -6
- package/DatePicker/index.mjs +6 -6
- package/DateRangePicker/index.js +6 -6
- package/DateRangePicker/index.mjs +6 -6
- package/Drawer/index.js +24 -24
- package/Drawer/index.mjs +24 -24
- package/DropdownButton/index.js +7 -7
- package/DropdownButton/index.mjs +7 -7
- package/EmptyStateCard/index.js +18 -18
- package/EmptyStateCard/index.mjs +18 -18
- package/FocusedProductLayout/index.js +38 -38
- package/FocusedProductLayout/index.mjs +38 -38
- package/ForgeLayout/index.js +91 -91
- package/ForgeLayout/index.mjs +92 -92
- package/FormLayout/index.js +11 -11
- package/FormLayout/index.mjs +11 -11
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +7 -7
- package/IconButton/index.mjs +7 -7
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +39 -39
- package/Modal/index.mjs +39 -39
- package/MultiSelect/index.js +30 -30
- package/MultiSelect/index.mjs +31 -31
- package/MultipageSection/index.js +28 -28
- package/MultipageSection/index.mjs +28 -28
- package/NexusLayout/index.js +44 -44
- package/NexusLayout/index.mjs +44 -44
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +21 -21
- package/Pagination/index.mjs +21 -21
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/illustrations/Building01/index.js +88 -88
- package/PlanCard/illustrations/Building01/index.mjs +88 -88
- package/PlanCard/illustrations/Building02/index.js +33 -33
- package/PlanCard/illustrations/Building02/index.mjs +33 -33
- package/PlanCard/illustrations/Building03/index.js +120 -120
- package/PlanCard/illustrations/Building03/index.mjs +120 -120
- package/PlanCard/illustrations/Building04/index.js +236 -236
- package/PlanCard/illustrations/Building04/index.mjs +236 -236
- package/PlanCard/index.js +17 -17
- package/PlanCard/index.mjs +17 -17
- package/ProductLayout/index.js +48 -48
- package/ProductLayout/index.mjs +48 -48
- package/Provider/index.js +7 -7
- package/Provider/index.mjs +7 -7
- package/RadioButtonGroup/index.js +5 -5
- package/RadioButtonGroup/index.mjs +5 -5
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +70 -70
- package/SearchNav/index.mjs +71 -71
- package/SectionCard/index.js +16 -16
- package/SectionCard/index.mjs +16 -16
- package/Select/index.js +20 -20
- package/Select/index.mjs +20 -20
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +11 -11
- package/SplitToggleCard/index.mjs +11 -11
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +7 -7
- package/TabPanels/index.mjs +7 -7
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +3 -3
- package/Textarea/index.mjs +3 -3
- package/Theme/index.js +1 -1
- package/Theme/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +7 -7
- package/ToggleCard/index.mjs +7 -7
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +39 -39
- package/VerticalNav/index.mjs +39 -39
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-C3vDXJsJ.js → Button-CQdi4TMV.js} +7 -7
- package/__chunks__/{Button-Dexauftx.mjs → Button-JL1YQxJ5.mjs} +7 -7
- package/__chunks__/{Calendar-BEbdigVB.js → Calendar-C9zdRov0.js} +3 -3
- package/__chunks__/{Calendar-BOxw8lwX.mjs → Calendar-DLzAtdfg.mjs} +3 -3
- package/__chunks__/{CalendarBase-3a9i7QNo.mjs → CalendarBase-DJ38_qK6.mjs} +32 -32
- package/__chunks__/{CalendarBase-Bx8bdXeT.js → CalendarBase-M-f289w8.js} +32 -32
- package/__chunks__/{Card-8778avMv.mjs → Card-BgjWYPVY.mjs} +5 -5
- package/__chunks__/{Card-DIZFYg6E.js → Card-LPIW5drP.js} +5 -5
- package/__chunks__/{Checkbox-DFWhjlaO.js → Checkbox-B_-6lfKk.js} +14 -14
- package/__chunks__/{Checkbox-C-NlI-Ym.mjs → Checkbox-DcaO0fC3.mjs} +14 -14
- package/__chunks__/{CodeSnippet-BCOMwE07.js → CodeSnippet-25l4r2Gh.js} +5 -5
- package/__chunks__/{CodeSnippet-CWnMHdVu.mjs → CodeSnippet-B3nsMpvq.mjs} +5 -5
- package/__chunks__/{DatePickerBase-C4PwUr9x.mjs → DatePickerBase-BQc8LKWg.mjs} +30 -30
- package/__chunks__/{DatePickerBase-XoRply_u.js → DatePickerBase-BYYfRTEY.js} +30 -30
- package/__chunks__/{EasyPostLogo-D3WNdZ29.js → EasyPostLogo-C9-Q0lSn.js} +5 -5
- package/__chunks__/{EasyPostLogo-tf6CCEAq.mjs → EasyPostLogo-DgIgAGa3.mjs} +5 -5
- package/__chunks__/{HelpMenu-8r0cjx5z.mjs → HelpMenu-BZRV42ab.mjs} +14 -14
- package/__chunks__/{HelpMenu-DBo_fklD.js → HelpMenu-C2t8KQuU.js} +14 -14
- package/__chunks__/{HorizontalGrid-BAvSeg39.js → HorizontalGrid-CAoDcmPW.js} +2 -2
- package/__chunks__/{HorizontalGrid-C4MBFEH-.mjs → HorizontalGrid-DbLeJBt8.mjs} +2 -2
- package/__chunks__/{HorizontalStack-BkE82C73.mjs → HorizontalStack-CJavrBHm.mjs} +2 -2
- package/__chunks__/{HorizontalStack-DidoI4Ks.js → HorizontalStack-CWdKKY8L.js} +2 -2
- package/__chunks__/{Icon-DzTns8u5.mjs → Icon-BIpaQJ_I.mjs} +3 -3
- package/__chunks__/{Icon-BVa5ddiD.js → Icon-BRlbo3RF.js} +3 -3
- package/__chunks__/{InputCaption-Dkyn1sg6.js → InputCaption-CccF4ynE.js} +6 -6
- package/__chunks__/{InputCaption-B8bZH6sX.mjs → InputCaption-DoyGkWQe.mjs} +6 -6
- package/__chunks__/{InputField-BTrYBVAD.mjs → InputField-CAY9O90X.mjs} +21 -21
- package/__chunks__/{InputField-Dvkk5R1K.js → InputField-DGb4ZDoR.js} +21 -21
- package/__chunks__/{InputIcon-BLJ6dx_5.mjs → InputIcon-CEATdJ1j.mjs} +4 -4
- package/__chunks__/{InputIcon-BSIAXX9k.js → InputIcon-DDKBJ_Tk.js} +4 -4
- package/__chunks__/{KebabButton-DSK0ISAn.mjs → KebabButton-D-5Mjaj0.mjs} +7 -7
- package/__chunks__/{KebabButton-3FnxY-Fz.js → KebabButton-TbapERgy.js} +7 -7
- package/__chunks__/{Menu-C2F4fvhd.mjs → Menu-Ci1FGh8B.mjs} +29 -29
- package/__chunks__/{Menu-Du8SsMeJ.js → Menu-MGDv1tob.js} +29 -29
- package/__chunks__/{Notification-CeJn5Qq1.js → Notification-DDQHWloB.js} +21 -21
- package/__chunks__/{Notification-CgUT2gv6.mjs → Notification-DnNx0rb6.mjs} +21 -21
- package/__chunks__/{PillGroup-rTS853Rr.js → PillGroup-BK8VCf3B.js} +14 -14
- package/__chunks__/{PillGroup-EJ8t8SrT.mjs → PillGroup-DN72MPhg.mjs} +14 -14
- package/__chunks__/{RadioGroup-DBgIqOkZ.mjs → RadioGroup-BfKaJnSo.mjs} +19 -19
- package/__chunks__/{RadioGroup-BFqH1Csi.js → RadioGroup-BiCqtR0F.js} +19 -19
- package/__chunks__/{RangeCalendar-BSsmX9l4.mjs → RangeCalendar-BdTjX8NT.mjs} +3 -3
- package/__chunks__/{RangeCalendar-Do2nei5A.js → RangeCalendar-Dz6LyRYS.js} +3 -3
- package/__chunks__/{SelectOverlay-DjiJHthj.js → SelectOverlay-Bva0SG8D.js} +20 -20
- package/__chunks__/{SelectOverlay-DUIIhF4t.mjs → SelectOverlay-q23ZLLi4.mjs} +20 -20
- package/__chunks__/{SelectorErrorTooltip-BMxbuFiM.js → SelectorErrorTooltip-BNLrFRLN.js} +8 -8
- package/__chunks__/{SelectorErrorTooltip-BC-1JoX3.mjs → SelectorErrorTooltip-rO2-k3Gl.mjs} +8 -8
- package/__chunks__/{Spinner-2PFCOK3I.mjs → Spinner-COsekFr1.mjs} +7 -7
- package/__chunks__/{Spinner-Dd68v9QX.js → Spinner-vRnrcEz0.js} +7 -7
- package/__chunks__/{Stepper-q3YNLglj.mjs → Stepper-DlI-16t-.mjs} +17 -17
- package/__chunks__/{Stepper-BZ90AIx0.js → Stepper-lhcjfVFY.js} +17 -17
- package/__chunks__/{TabNav-BnpNl7tj.mjs → TabNav-BNhQF0b0.mjs} +4 -4
- package/__chunks__/{TabNav-CLVG0bL2.js → TabNav-bVgyfEV7.js} +4 -4
- package/__chunks__/{Tabs-CtyYEye0.mjs → Tabs-BaROnbKg.mjs} +14 -14
- package/__chunks__/{Tabs-5_61DIBw.js → Tabs-DSngzN9A.js} +14 -14
- package/__chunks__/{Text-u9mYLeWj.mjs → Text-D6oT5WJQ.mjs} +2 -2
- package/__chunks__/{Text-C4CEsglh.js → Text-DkzMEqky.js} +2 -2
- package/__chunks__/{TextField-D1JGaTQv.mjs → TextField-818kTElu.mjs} +3 -3
- package/__chunks__/{TextField-DE1vPtQm.js → TextField-DKQVJPP_.js} +3 -3
- package/__chunks__/{Theme-unLHjjnm.js → Theme-C2nSZUpG.js} +10 -10
- package/__chunks__/{Theme-CyUCrGdN.mjs → Theme-M__gFMM3.mjs} +10 -10
- package/__chunks__/{Toggle-BHzAGPDh.js → Toggle-BmJjrdVn.js} +11 -11
- package/__chunks__/{Toggle-DioYP2KQ.mjs → Toggle-DlDQ7rr2.mjs} +11 -11
- package/__chunks__/{Tooltip-COjtKErw.js → Tooltip-BSMvNula.js} +9 -9
- package/__chunks__/{Tooltip-BKGkKnOx.mjs → Tooltip-BXRi0h4E.mjs} +9 -9
- package/__chunks__/{UnstyledButton-_YQekhlm.js → UnstyledButton-DW8CjaXN.js} +2 -2
- package/__chunks__/{UnstyledButton-BCg7eEyP.mjs → UnstyledButton-DxJLvL-G.mjs} +2 -2
- package/__chunks__/{VerticalStack-CunLpHRv.js → VerticalStack-BHkiocKU.js} +2 -2
- package/__chunks__/{VerticalStack-Cbdpucbh.mjs → VerticalStack-DoMqBfYD.mjs} +2 -2
- package/__chunks__/{useEdgeInterceptors-BBmo6MI4.mjs → useEdgeInterceptors-OZmGXvtF.mjs} +6 -6
- package/__chunks__/{useEdgeInterceptors-BLxn3eUi.js → useEdgeInterceptors-Rb2Hf0v8.js} +6 -6
- package/package.json +1 -1
- package/__chunks__/jsx-runtime-CH1d66I3.js +0 -320
- package/__chunks__/jsx-runtime-DTpFD6nx.mjs +0 -321
package/ForgeLayout/index.js
CHANGED
|
@@ -31,27 +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("
|
|
34
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
35
35
|
const React = require("react");
|
|
36
36
|
const utilities_css = require("../utilities/css.js");
|
|
37
37
|
const Button = require("../__chunks__/Button-BpQFyL49.js");
|
|
38
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
39
|
-
const Icon = require("../__chunks__/Icon-
|
|
40
|
-
const Menu = require("../__chunks__/Menu-
|
|
41
|
-
const Text = require("../__chunks__/Text-
|
|
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");
|
|
42
42
|
const useFocusRing = require("../__chunks__/useFocusRing-DbC9E5wC.js");
|
|
43
43
|
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
44
44
|
const useHover = require("../__chunks__/useHover-Ck1otl-j.js");
|
|
45
45
|
const usePress = require("../__chunks__/usePress-B5G5CgVn.js");
|
|
46
46
|
const useLink = require("../__chunks__/useLink-CChqhQkC.js");
|
|
47
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
47
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BHkiocKU.js");
|
|
48
48
|
const Dialog = require("../__chunks__/Dialog-iU9BJB0o.js");
|
|
49
49
|
const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
|
|
50
50
|
const Search = require("../__chunks__/Search-BY7IgEyX.js");
|
|
51
51
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
52
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
53
|
-
const RadioGroup = require("../__chunks__/RadioGroup-
|
|
54
|
-
const TextField = require("../__chunks__/TextField-
|
|
52
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
|
|
53
|
+
const RadioGroup = require("../__chunks__/RadioGroup-BiCqtR0F.js");
|
|
54
|
+
const TextField = require("../__chunks__/TextField-DKQVJPP_.js");
|
|
55
55
|
const utilities_react = require("../utilities/react.js");
|
|
56
56
|
const button = "_button_1sch8_4";
|
|
57
57
|
const focused$1 = "_focused_1sch8_25";
|
|
@@ -71,7 +71,7 @@ const styles$4 = {
|
|
|
71
71
|
};
|
|
72
72
|
function ForgeLayoutActions(props) {
|
|
73
73
|
const { children } = props;
|
|
74
|
-
return jsxRuntime.
|
|
74
|
+
return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
75
75
|
wrap: false,
|
|
76
76
|
gap: "1",
|
|
77
77
|
align: "end",
|
|
@@ -87,19 +87,19 @@ function ForgeLayoutMenuAction(props) {
|
|
|
87
87
|
const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f({});
|
|
88
88
|
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({});
|
|
89
89
|
const className = utilities_css.classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isOpen && styles$4.open);
|
|
90
|
-
return jsxRuntime.
|
|
90
|
+
return jsxRuntime.jsxs(Menu.Menu, {
|
|
91
91
|
isOpen,
|
|
92
92
|
onOpenChange: handleOpenChange,
|
|
93
|
-
children: [jsxRuntime.
|
|
94
|
-
children: jsxRuntime.
|
|
93
|
+
children: [jsxRuntime.jsx(Menu.Menu.Trigger, {
|
|
94
|
+
children: jsxRuntime.jsxs(PressableButton, __spreadProps(__spreadValues({
|
|
95
95
|
className
|
|
96
96
|
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), {
|
|
97
|
-
children: [jsxRuntime.
|
|
97
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
98
98
|
visuallyHidden: true,
|
|
99
99
|
children: accessibilityLabel
|
|
100
|
-
}), jsxRuntime.
|
|
100
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
101
101
|
symbol: iconSymbol
|
|
102
|
-
}), renderBadge && jsxRuntime.
|
|
102
|
+
}), renderBadge && jsxRuntime.jsx("div", {
|
|
103
103
|
className: styles$4.badgeContainer,
|
|
104
104
|
children: renderBadge()
|
|
105
105
|
})]
|
|
@@ -114,17 +114,17 @@ function ForgeLayoutLinkAction(props) {
|
|
|
114
114
|
const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
115
115
|
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
116
116
|
const className = utilities_css.classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isSelected && styles$4.selected);
|
|
117
|
-
return jsxRuntime.
|
|
117
|
+
return jsxRuntime.jsxs("a", __spreadProps(__spreadValues({
|
|
118
118
|
ref,
|
|
119
119
|
className
|
|
120
120
|
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
121
121
|
"aria-current": isSelected ? "true" : void 0,
|
|
122
|
-
children: [jsxRuntime.
|
|
122
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
123
123
|
visuallyHidden: true,
|
|
124
124
|
children: accessibilityLabel
|
|
125
|
-
}), jsxRuntime.
|
|
125
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
126
126
|
symbol: iconSymbol
|
|
127
|
-
}), renderBadge && jsxRuntime.
|
|
127
|
+
}), renderBadge && jsxRuntime.jsx("div", {
|
|
128
128
|
className: styles$4.badgeContainer,
|
|
129
129
|
children: renderBadge()
|
|
130
130
|
})]
|
|
@@ -134,17 +134,17 @@ function ForgeLayoutButtonAction(props) {
|
|
|
134
134
|
const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
|
|
135
135
|
const ref = React.useRef(null);
|
|
136
136
|
const className = utilities_css.classNames(styles$4.button, isSelected && styles$4.selected);
|
|
137
|
-
return jsxRuntime.
|
|
137
|
+
return jsxRuntime.jsxs(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadProps(__spreadValues({
|
|
138
138
|
ref,
|
|
139
139
|
className,
|
|
140
140
|
"aria-current": isSelected ? "true" : void 0
|
|
141
141
|
}, buttonProps), {
|
|
142
|
-
children: [jsxRuntime.
|
|
142
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
143
143
|
visuallyHidden: true,
|
|
144
144
|
children: accessibilityLabel
|
|
145
|
-
}), jsxRuntime.
|
|
145
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
146
146
|
symbol: iconSymbol
|
|
147
|
-
}), renderBadge && jsxRuntime.
|
|
147
|
+
}), renderBadge && jsxRuntime.jsx("div", {
|
|
148
148
|
className: styles$4.badgeContainer,
|
|
149
149
|
children: renderBadge()
|
|
150
150
|
})]
|
|
@@ -152,14 +152,14 @@ function ForgeLayoutButtonAction(props) {
|
|
|
152
152
|
}
|
|
153
153
|
function ForgeLayoutActionBadge(props) {
|
|
154
154
|
const { children } = props;
|
|
155
|
-
return jsxRuntime.
|
|
155
|
+
return jsxRuntime.jsx("div", {
|
|
156
156
|
className: styles$4.badge,
|
|
157
157
|
children
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
const PressableButton = React.forwardRef((props, ref) => {
|
|
161
161
|
const { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21(props);
|
|
162
|
-
return jsxRuntime.
|
|
162
|
+
return jsxRuntime.jsx("button", __spreadProps(__spreadValues({}, pressProps), {
|
|
163
163
|
ref,
|
|
164
164
|
className: utilities_css.classNames(pressProps.className)
|
|
165
165
|
}));
|
|
@@ -196,26 +196,26 @@ function ForgeLayoutNav(props) {
|
|
|
196
196
|
if (navState === "collapsed") {
|
|
197
197
|
return null;
|
|
198
198
|
}
|
|
199
|
-
return jsxRuntime.
|
|
199
|
+
return jsxRuntime.jsx(ForgeLayoutNavContext.Provider, {
|
|
200
200
|
value: context,
|
|
201
|
-
children: jsxRuntime.
|
|
201
|
+
children: jsxRuntime.jsx("div", {
|
|
202
202
|
className: styles$3.nav,
|
|
203
|
-
children: jsxRuntime.
|
|
203
|
+
children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
204
204
|
as: "nav",
|
|
205
205
|
"aria-label": title,
|
|
206
206
|
gap: "1",
|
|
207
207
|
inlineAlign: "start",
|
|
208
|
-
children: [jsxRuntime.
|
|
208
|
+
children: [jsxRuntime.jsx(Logo, {}), children]
|
|
209
209
|
})
|
|
210
210
|
})
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
213
|
function ForgeLayoutNavSection(props) {
|
|
214
214
|
const { title, children } = props;
|
|
215
|
-
return jsxRuntime.
|
|
215
|
+
return jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
216
216
|
gap: "1",
|
|
217
217
|
inlineAlign: "start",
|
|
218
|
-
children: [jsxRuntime.
|
|
218
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
219
219
|
variant: "overline",
|
|
220
220
|
color: "primary.600",
|
|
221
221
|
children: title
|
|
@@ -231,69 +231,69 @@ function ForgeLayoutNavLink(props) {
|
|
|
231
231
|
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
232
232
|
const isSelected = href === selectedHref;
|
|
233
233
|
const className = utilities_css.classNames(styles$3.link, isFocusVisible && styles$3.focused, isHovered && styles$3.hovered, isSelected && styles$3.selected);
|
|
234
|
-
return jsxRuntime.
|
|
234
|
+
return jsxRuntime.jsxs("a", __spreadProps(__spreadValues({
|
|
235
235
|
ref,
|
|
236
236
|
className
|
|
237
237
|
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
238
238
|
"aria-current": isSelected ? "page" : void 0,
|
|
239
|
-
children: [jsxRuntime.
|
|
239
|
+
children: [jsxRuntime.jsx(Icon.Icon, {
|
|
240
240
|
symbol: iconSymbol
|
|
241
|
-
}), jsxRuntime.
|
|
241
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
242
242
|
variant: "subtitle2",
|
|
243
243
|
children
|
|
244
244
|
})]
|
|
245
245
|
}));
|
|
246
246
|
}
|
|
247
247
|
function Logo() {
|
|
248
|
-
return jsxRuntime.
|
|
248
|
+
return jsxRuntime.jsxs("svg", {
|
|
249
249
|
width: "95",
|
|
250
250
|
height: "24",
|
|
251
251
|
fill: "none",
|
|
252
252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
253
|
-
children: [jsxRuntime.
|
|
253
|
+
children: [jsxRuntime.jsxs("g", {
|
|
254
254
|
clipPath: "url(#clip0_1141_3360)",
|
|
255
|
-
children: [jsxRuntime.
|
|
255
|
+
children: [jsxRuntime.jsx("path", {
|
|
256
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
257
|
fill: "url(#paint0_linear_1141_3360)"
|
|
258
|
-
}), jsxRuntime.
|
|
258
|
+
}), jsxRuntime.jsx("path", {
|
|
259
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
260
|
fill: "#061340"
|
|
261
261
|
})]
|
|
262
|
-
}), jsxRuntime.
|
|
263
|
-
children: [jsxRuntime.
|
|
262
|
+
}), jsxRuntime.jsxs("defs", {
|
|
263
|
+
children: [jsxRuntime.jsxs("linearGradient", {
|
|
264
264
|
id: "paint0_linear_1141_3360",
|
|
265
265
|
x1: "2.381",
|
|
266
266
|
y1: "20.234",
|
|
267
267
|
x2: "18.847",
|
|
268
268
|
y2: "3.923",
|
|
269
269
|
gradientUnits: "userSpaceOnUse",
|
|
270
|
-
children: [jsxRuntime.
|
|
270
|
+
children: [jsxRuntime.jsx("stop", {
|
|
271
271
|
stopColor: "#BC4543"
|
|
272
|
-
}), jsxRuntime.
|
|
272
|
+
}), jsxRuntime.jsx("stop", {
|
|
273
273
|
offset: ".5",
|
|
274
274
|
stopColor: "#F95C59"
|
|
275
|
-
}), jsxRuntime.
|
|
275
|
+
}), jsxRuntime.jsx("stop", {
|
|
276
276
|
offset: ".59",
|
|
277
277
|
stopColor: "#F86059"
|
|
278
|
-
}), jsxRuntime.
|
|
278
|
+
}), jsxRuntime.jsx("stop", {
|
|
279
279
|
offset: ".68",
|
|
280
280
|
stopColor: "#F86C59"
|
|
281
|
-
}), jsxRuntime.
|
|
281
|
+
}), jsxRuntime.jsx("stop", {
|
|
282
282
|
offset: ".78",
|
|
283
283
|
stopColor: "#F7815A"
|
|
284
|
-
}), jsxRuntime.
|
|
284
|
+
}), jsxRuntime.jsx("stop", {
|
|
285
285
|
offset: ".87",
|
|
286
286
|
stopColor: "#F69E5B"
|
|
287
|
-
}), jsxRuntime.
|
|
287
|
+
}), jsxRuntime.jsx("stop", {
|
|
288
288
|
offset: ".97",
|
|
289
289
|
stopColor: "#F4C35D"
|
|
290
|
-
}), jsxRuntime.
|
|
290
|
+
}), jsxRuntime.jsx("stop", {
|
|
291
291
|
offset: "1",
|
|
292
292
|
stopColor: "#F4D35E"
|
|
293
293
|
})]
|
|
294
|
-
}), jsxRuntime.
|
|
294
|
+
}), jsxRuntime.jsx("clipPath", {
|
|
295
295
|
id: "clip0_1141_3360",
|
|
296
|
-
children: jsxRuntime.
|
|
296
|
+
children: jsxRuntime.jsx("path", {
|
|
297
297
|
fill: "#fff",
|
|
298
298
|
d: "M0 0H95V24H0z"
|
|
299
299
|
})
|
|
@@ -317,13 +317,13 @@ const useForgeLayoutHeader = () => {
|
|
|
317
317
|
};
|
|
318
318
|
function ForgeLayoutHeader(props) {
|
|
319
319
|
const { areControlsGrouped = true, children } = props;
|
|
320
|
-
return jsxRuntime.
|
|
320
|
+
return jsxRuntime.jsx(ForgeLayoutHeaderContext.Provider, {
|
|
321
321
|
value: {
|
|
322
322
|
areControlsGrouped
|
|
323
323
|
},
|
|
324
|
-
children: jsxRuntime.
|
|
324
|
+
children: jsxRuntime.jsxs("header", {
|
|
325
325
|
className: styles$2.header,
|
|
326
|
-
children: [jsxRuntime.
|
|
326
|
+
children: [jsxRuntime.jsx("div", {
|
|
327
327
|
className: styles$2.headerBg
|
|
328
328
|
}), children]
|
|
329
329
|
})
|
|
@@ -360,11 +360,11 @@ function ForgeLayoutControls(props) {
|
|
|
360
360
|
if (navState !== visibleWhenNavStateIs) {
|
|
361
361
|
return null;
|
|
362
362
|
}
|
|
363
|
-
return jsxRuntime.
|
|
364
|
-
children: areControlsGrouped ? jsxRuntime.
|
|
363
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
364
|
+
children: areControlsGrouped ? jsxRuntime.jsx("div", {
|
|
365
365
|
className: styles$1.controls,
|
|
366
366
|
children
|
|
367
|
-
}) : jsxRuntime.
|
|
367
|
+
}) : jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
368
368
|
children
|
|
369
369
|
})
|
|
370
370
|
});
|
|
@@ -383,12 +383,12 @@ function ForgeLayoutBreadcrumbsNavigation(props) {
|
|
|
383
383
|
breadcrumbs: breadcrumbs2
|
|
384
384
|
};
|
|
385
385
|
}, [children]);
|
|
386
|
-
return jsxRuntime.
|
|
386
|
+
return jsxRuntime.jsxs("div", {
|
|
387
387
|
className: styles$1.breadcrumbNavigationContainer,
|
|
388
|
-
children: [jsxRuntime.
|
|
388
|
+
children: [jsxRuntime.jsx("div", {
|
|
389
389
|
className: styles$1.backButtonContainer,
|
|
390
390
|
children: backButton2
|
|
391
|
-
}), jsxRuntime.
|
|
391
|
+
}), jsxRuntime.jsx("div", {
|
|
392
392
|
className: styles$1.breadcrumbsContainer,
|
|
393
393
|
children: breadcrumbs
|
|
394
394
|
})]
|
|
@@ -396,12 +396,12 @@ function ForgeLayoutBreadcrumbsNavigation(props) {
|
|
|
396
396
|
}
|
|
397
397
|
function ForgeLayoutBackButton(props) {
|
|
398
398
|
const _a = props, { children } = _a, restButtonProps = __objRest(_a, ["children"]);
|
|
399
|
-
return jsxRuntime.
|
|
399
|
+
return jsxRuntime.jsxs(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, restButtonProps), {
|
|
400
400
|
className: styles$1.backButton,
|
|
401
|
-
children: [jsxRuntime.
|
|
401
|
+
children: [jsxRuntime.jsx(Icon.Icon, {
|
|
402
402
|
symbol: ArrowBack.ArrowBack,
|
|
403
403
|
size: "sm"
|
|
404
|
-
}), jsxRuntime.
|
|
404
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
405
405
|
variant: "subtitle1",
|
|
406
406
|
children
|
|
407
407
|
})]
|
|
@@ -410,17 +410,17 @@ function ForgeLayoutBackButton(props) {
|
|
|
410
410
|
function ForgeLayoutBreadcrumbs(props) {
|
|
411
411
|
const { children } = props;
|
|
412
412
|
const breadcrumbs = React.useMemo(() => utilities_react.flattenChildren(children), [children]);
|
|
413
|
-
return jsxRuntime.
|
|
413
|
+
return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
414
414
|
blockAlign: "center",
|
|
415
415
|
gap: "0.5",
|
|
416
416
|
children: breadcrumbs.map((breadcrumb, idx) => {
|
|
417
417
|
if (idx === 0) {
|
|
418
|
-
return jsxRuntime.
|
|
418
|
+
return jsxRuntime.jsx(React.Fragment, {
|
|
419
419
|
children: breadcrumb
|
|
420
420
|
}, idx);
|
|
421
421
|
} else {
|
|
422
|
-
return jsxRuntime.
|
|
423
|
-
children: [jsxRuntime.
|
|
422
|
+
return jsxRuntime.jsxs(React.Fragment, {
|
|
423
|
+
children: [jsxRuntime.jsx(ForgeLayoutBreadcrumb, {
|
|
424
424
|
children: ">"
|
|
425
425
|
}, idx), breadcrumb]
|
|
426
426
|
}, idx);
|
|
@@ -430,7 +430,7 @@ function ForgeLayoutBreadcrumbs(props) {
|
|
|
430
430
|
}
|
|
431
431
|
function ForgeLayoutBreadcrumb(props) {
|
|
432
432
|
const { children } = props;
|
|
433
|
-
return jsxRuntime.
|
|
433
|
+
return jsxRuntime.jsx(Text.Text, {
|
|
434
434
|
variant: "body1",
|
|
435
435
|
color: "neutral.700",
|
|
436
436
|
children
|
|
@@ -440,40 +440,40 @@ function ForgeLayoutModeSwitcher(props) {
|
|
|
440
440
|
const { onModeChange } = props;
|
|
441
441
|
const { mode } = useForgeLayout();
|
|
442
442
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
443
|
-
return jsxRuntime.
|
|
444
|
-
children: [jsxRuntime.
|
|
443
|
+
return jsxRuntime.jsxs(Dialog.$de32f1b87079253c$export$2e1e1122cf0cba88, {
|
|
444
|
+
children: [jsxRuntime.jsxs(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
|
|
445
445
|
className: utilities_css.classNames(styles$1.trigger, isOpen && styles$1.triggerPopoverOpen),
|
|
446
446
|
onPress: () => setIsOpen(true),
|
|
447
|
-
children: [jsxRuntime.
|
|
447
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
448
448
|
variant: "subtitle1",
|
|
449
449
|
color: mode === "test" ? "warning.600" : "positive.600",
|
|
450
450
|
truncate: true,
|
|
451
451
|
children: mode === "test" ? TEST_MODE : PRODUCTION_MODE
|
|
452
|
-
}), jsxRuntime.
|
|
452
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
453
453
|
symbol: ExpandMore400.ExpandMore400,
|
|
454
454
|
size: "md",
|
|
455
455
|
color: "neutral.500"
|
|
456
456
|
})]
|
|
457
|
-
}), jsxRuntime.
|
|
457
|
+
}), jsxRuntime.jsx(Dialog.$07b14b47974efb58$export$5b6b19405a83ff9d, {
|
|
458
458
|
className: styles$1.popover,
|
|
459
459
|
offset: POPOVER_OFFSET,
|
|
460
460
|
crossOffset: POPOVER_CROSS_OFFSET,
|
|
461
461
|
isOpen,
|
|
462
462
|
onOpenChange: setIsOpen,
|
|
463
|
-
children: jsxRuntime.
|
|
464
|
-
children: jsxRuntime.
|
|
463
|
+
children: jsxRuntime.jsx(Dialog.$de32f1b87079253c$export$3ddf2d174ce01153, {
|
|
464
|
+
children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
465
465
|
gap: "1",
|
|
466
|
-
children: [jsxRuntime.
|
|
466
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
467
467
|
variant: "subtitle1",
|
|
468
468
|
color: "neutral.800",
|
|
469
469
|
children: "Instance Switcher"
|
|
470
|
-
}), jsxRuntime.
|
|
470
|
+
}), jsxRuntime.jsxs(RadioGroup.RadioGroup, {
|
|
471
471
|
"aria-label": "Select a mode",
|
|
472
472
|
onChange: onModeChange,
|
|
473
473
|
value: mode,
|
|
474
|
-
children: [jsxRuntime.
|
|
474
|
+
children: [jsxRuntime.jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
475
475
|
value: "test"
|
|
476
|
-
}), jsxRuntime.
|
|
476
|
+
}), jsxRuntime.jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
477
477
|
value: "production"
|
|
478
478
|
})]
|
|
479
479
|
})]
|
|
@@ -486,17 +486,17 @@ function ForgeLayoutModeSwitcherRadioGroupItem(props) {
|
|
|
486
486
|
const _a = props, { value } = _a, restProps = __objRest(_a, ["value"]);
|
|
487
487
|
const state = RadioGroup.useRadioGroupContext();
|
|
488
488
|
const isSelected = value === state.selectedValue;
|
|
489
|
-
return jsxRuntime.
|
|
489
|
+
return jsxRuntime.jsx(RadioGroup.RadioGroup.Item, __spreadProps(__spreadValues({
|
|
490
490
|
value
|
|
491
491
|
}, restProps), {
|
|
492
|
-
children: jsxRuntime.
|
|
493
|
-
children: [jsxRuntime.
|
|
492
|
+
children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
493
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
494
494
|
variant: "subtitle2",
|
|
495
495
|
color: isSelected ? "primary.800" : "primary.700",
|
|
496
496
|
children: value === "test" ? TEST_MODE : PRODUCTION_MODE
|
|
497
|
-
}), jsxRuntime.
|
|
497
|
+
}), jsxRuntime.jsxs(Text.Text, {
|
|
498
498
|
variant: "overline",
|
|
499
|
-
children: ["View data using the", " ", jsxRuntime.
|
|
499
|
+
children: ["View data using the", " ", jsxRuntime.jsxs(Text.Text, {
|
|
500
500
|
color: value === "test" ? "warning.600" : "positive.600",
|
|
501
501
|
children: [value === "test" ? TEST_MODE.toUpperCase() : PRODUCTION_MODE.toUpperCase(), " ", "API", " "]
|
|
502
502
|
}), "keys"]
|
|
@@ -506,9 +506,9 @@ function ForgeLayoutModeSwitcherRadioGroupItem(props) {
|
|
|
506
506
|
}
|
|
507
507
|
function ForgeLayoutSearch(props) {
|
|
508
508
|
const _a = props, { "aria-label": ariaLabel = "Search for content" } = _a, textFieldProps = __objRest(_a, ["aria-label"]);
|
|
509
|
-
return jsxRuntime.
|
|
509
|
+
return jsxRuntime.jsx("div", {
|
|
510
510
|
className: styles$1.searchContainer,
|
|
511
|
-
children: jsxRuntime.
|
|
511
|
+
children: jsxRuntime.jsx(TextField.TextField, __spreadValues({
|
|
512
512
|
size: "sm",
|
|
513
513
|
type: "search",
|
|
514
514
|
"aria-label": ariaLabel,
|
|
@@ -549,11 +549,11 @@ function ForgeLayout(props) {
|
|
|
549
549
|
navState
|
|
550
550
|
};
|
|
551
551
|
}, [mode, navState]);
|
|
552
|
-
return jsxRuntime.
|
|
552
|
+
return jsxRuntime.jsxs(ForgeLayoutContext.Provider, {
|
|
553
553
|
value: context,
|
|
554
|
-
children: [jsxRuntime.
|
|
554
|
+
children: [jsxRuntime.jsx("div", {
|
|
555
555
|
className: bgClassName
|
|
556
|
-
}), jsxRuntime.
|
|
556
|
+
}), jsxRuntime.jsx("div", {
|
|
557
557
|
className,
|
|
558
558
|
children
|
|
559
559
|
})]
|
|
@@ -561,14 +561,14 @@ function ForgeLayout(props) {
|
|
|
561
561
|
}
|
|
562
562
|
function ForgeLayoutBody(props) {
|
|
563
563
|
const { children } = props;
|
|
564
|
-
return jsxRuntime.
|
|
564
|
+
return jsxRuntime.jsx("div", {
|
|
565
565
|
className: styles.body,
|
|
566
566
|
children
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
569
|
function ForgeLayoutContent(props) {
|
|
570
570
|
const { children } = props;
|
|
571
|
-
return jsxRuntime.
|
|
571
|
+
return jsxRuntime.jsx("main", {
|
|
572
572
|
className: styles.content,
|
|
573
573
|
children
|
|
574
574
|
});
|