@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.mjs
CHANGED
|
@@ -29,27 +29,27 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
33
|
-
import React__default, { useState, useCallback, forwardRef, useRef, useMemo, useContext, createContext, Fragment } from "react";
|
|
32
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
33
|
+
import React__default, { useState, useCallback, forwardRef, useRef, useMemo, useContext, createContext, Fragment as Fragment$1 } from "react";
|
|
34
34
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
35
35
|
import { a as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../__chunks__/Button-B4DxcTvZ.mjs";
|
|
36
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
37
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
38
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
39
|
-
import { T as Text } from "../__chunks__/Text-
|
|
36
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
|
|
37
|
+
import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
|
|
38
|
+
import { M as Menu } from "../__chunks__/Menu-Ci1FGh8B.mjs";
|
|
39
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
40
40
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BWKhJSvH.mjs";
|
|
41
41
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-COnPag8r.mjs";
|
|
42
42
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-FWU5y5-k.mjs";
|
|
43
43
|
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-Cw67P1FM.mjs";
|
|
44
44
|
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-y6WGv96n.mjs";
|
|
45
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
45
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DoMqBfYD.mjs";
|
|
46
46
|
import { $ as $de32f1b87079253c$export$2e1e1122cf0cba88, a as $07b14b47974efb58$export$5b6b19405a83ff9d, b as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../__chunks__/Dialog-DIhV589X.mjs";
|
|
47
47
|
import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
48
48
|
import { S as Search } from "../__chunks__/Search-Cyblmqo5.mjs";
|
|
49
49
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
50
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
51
|
-
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-
|
|
52
|
-
import { T as TextField } from "../__chunks__/TextField-
|
|
50
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-DxJLvL-G.mjs";
|
|
51
|
+
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-BfKaJnSo.mjs";
|
|
52
|
+
import { T as TextField } from "../__chunks__/TextField-818kTElu.mjs";
|
|
53
53
|
import { flattenChildren } from "../utilities/react.mjs";
|
|
54
54
|
const button = "_button_1sch8_4";
|
|
55
55
|
const focused$1 = "_focused_1sch8_25";
|
|
@@ -69,7 +69,7 @@ const styles$4 = {
|
|
|
69
69
|
};
|
|
70
70
|
function ForgeLayoutActions(props) {
|
|
71
71
|
const { children } = props;
|
|
72
|
-
return
|
|
72
|
+
return jsx(HorizontalStack, {
|
|
73
73
|
wrap: false,
|
|
74
74
|
gap: "1",
|
|
75
75
|
align: "end",
|
|
@@ -85,19 +85,19 @@ function ForgeLayoutMenuAction(props) {
|
|
|
85
85
|
const { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f({});
|
|
86
86
|
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({});
|
|
87
87
|
const className = classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isOpen && styles$4.open);
|
|
88
|
-
return
|
|
88
|
+
return jsxs(Menu, {
|
|
89
89
|
isOpen,
|
|
90
90
|
onOpenChange: handleOpenChange,
|
|
91
|
-
children: [
|
|
92
|
-
children:
|
|
91
|
+
children: [jsx(Menu.Trigger, {
|
|
92
|
+
children: jsxs(PressableButton, __spreadProps(__spreadValues({
|
|
93
93
|
className
|
|
94
94
|
}, $3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), {
|
|
95
|
-
children: [
|
|
95
|
+
children: [jsx(Text, {
|
|
96
96
|
visuallyHidden: true,
|
|
97
97
|
children: accessibilityLabel
|
|
98
|
-
}),
|
|
98
|
+
}), jsx(Icon, {
|
|
99
99
|
symbol: iconSymbol
|
|
100
|
-
}), renderBadge &&
|
|
100
|
+
}), renderBadge && jsx("div", {
|
|
101
101
|
className: styles$4.badgeContainer,
|
|
102
102
|
children: renderBadge()
|
|
103
103
|
})]
|
|
@@ -112,17 +112,17 @@ function ForgeLayoutLinkAction(props) {
|
|
|
112
112
|
const { focusProps, isFocusVisible } = $f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
113
113
|
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
114
114
|
const className = classNames(styles$4.button, isFocusVisible && styles$4.focused, isHovered && styles$4.hovered, isSelected && styles$4.selected);
|
|
115
|
-
return
|
|
115
|
+
return jsxs("a", __spreadProps(__spreadValues({
|
|
116
116
|
ref,
|
|
117
117
|
className
|
|
118
118
|
}, $3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
119
119
|
"aria-current": isSelected ? "true" : void 0,
|
|
120
|
-
children: [
|
|
120
|
+
children: [jsx(Text, {
|
|
121
121
|
visuallyHidden: true,
|
|
122
122
|
children: accessibilityLabel
|
|
123
|
-
}),
|
|
123
|
+
}), jsx(Icon, {
|
|
124
124
|
symbol: iconSymbol
|
|
125
|
-
}), renderBadge &&
|
|
125
|
+
}), renderBadge && jsx("div", {
|
|
126
126
|
className: styles$4.badgeContainer,
|
|
127
127
|
children: renderBadge()
|
|
128
128
|
})]
|
|
@@ -132,17 +132,17 @@ function ForgeLayoutButtonAction(props) {
|
|
|
132
132
|
const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
|
|
133
133
|
const ref = useRef(null);
|
|
134
134
|
const className = classNames(styles$4.button, isSelected && styles$4.selected);
|
|
135
|
-
return
|
|
135
|
+
return jsxs($d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadProps(__spreadValues({
|
|
136
136
|
ref,
|
|
137
137
|
className,
|
|
138
138
|
"aria-current": isSelected ? "true" : void 0
|
|
139
139
|
}, buttonProps), {
|
|
140
|
-
children: [
|
|
140
|
+
children: [jsx(Text, {
|
|
141
141
|
visuallyHidden: true,
|
|
142
142
|
children: accessibilityLabel
|
|
143
|
-
}),
|
|
143
|
+
}), jsx(Icon, {
|
|
144
144
|
symbol: iconSymbol
|
|
145
|
-
}), renderBadge &&
|
|
145
|
+
}), renderBadge && jsx("div", {
|
|
146
146
|
className: styles$4.badgeContainer,
|
|
147
147
|
children: renderBadge()
|
|
148
148
|
})]
|
|
@@ -150,14 +150,14 @@ function ForgeLayoutButtonAction(props) {
|
|
|
150
150
|
}
|
|
151
151
|
function ForgeLayoutActionBadge(props) {
|
|
152
152
|
const { children } = props;
|
|
153
|
-
return
|
|
153
|
+
return jsx("div", {
|
|
154
154
|
className: styles$4.badge,
|
|
155
155
|
children
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
const PressableButton = forwardRef((props, ref) => {
|
|
159
159
|
const { pressProps } = $f6c31cce2adf654f$export$45712eceda6fad21(props);
|
|
160
|
-
return
|
|
160
|
+
return jsx("button", __spreadProps(__spreadValues({}, pressProps), {
|
|
161
161
|
ref,
|
|
162
162
|
className: classNames(pressProps.className)
|
|
163
163
|
}));
|
|
@@ -194,26 +194,26 @@ function ForgeLayoutNav(props) {
|
|
|
194
194
|
if (navState === "collapsed") {
|
|
195
195
|
return null;
|
|
196
196
|
}
|
|
197
|
-
return
|
|
197
|
+
return jsx(ForgeLayoutNavContext.Provider, {
|
|
198
198
|
value: context,
|
|
199
|
-
children:
|
|
199
|
+
children: jsx("div", {
|
|
200
200
|
className: styles$3.nav,
|
|
201
|
-
children:
|
|
201
|
+
children: jsxs(VerticalStack, {
|
|
202
202
|
as: "nav",
|
|
203
203
|
"aria-label": title,
|
|
204
204
|
gap: "1",
|
|
205
205
|
inlineAlign: "start",
|
|
206
|
-
children: [
|
|
206
|
+
children: [jsx(Logo, {}), children]
|
|
207
207
|
})
|
|
208
208
|
})
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
function ForgeLayoutNavSection(props) {
|
|
212
212
|
const { title, children } = props;
|
|
213
|
-
return
|
|
213
|
+
return jsxs(VerticalStack, {
|
|
214
214
|
gap: "1",
|
|
215
215
|
inlineAlign: "start",
|
|
216
|
-
children: [
|
|
216
|
+
children: [jsx(Text, {
|
|
217
217
|
variant: "overline",
|
|
218
218
|
color: "primary.600",
|
|
219
219
|
children: title
|
|
@@ -229,69 +229,69 @@ function ForgeLayoutNavLink(props) {
|
|
|
229
229
|
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
230
230
|
const isSelected = href === selectedHref;
|
|
231
231
|
const className = classNames(styles$3.link, isFocusVisible && styles$3.focused, isHovered && styles$3.hovered, isSelected && styles$3.selected);
|
|
232
|
-
return
|
|
232
|
+
return jsxs("a", __spreadProps(__spreadValues({
|
|
233
233
|
ref,
|
|
234
234
|
className
|
|
235
235
|
}, $3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
236
236
|
"aria-current": isSelected ? "page" : void 0,
|
|
237
|
-
children: [
|
|
237
|
+
children: [jsx(Icon, {
|
|
238
238
|
symbol: iconSymbol
|
|
239
|
-
}),
|
|
239
|
+
}), jsx(Text, {
|
|
240
240
|
variant: "subtitle2",
|
|
241
241
|
children
|
|
242
242
|
})]
|
|
243
243
|
}));
|
|
244
244
|
}
|
|
245
245
|
function Logo() {
|
|
246
|
-
return
|
|
246
|
+
return jsxs("svg", {
|
|
247
247
|
width: "95",
|
|
248
248
|
height: "24",
|
|
249
249
|
fill: "none",
|
|
250
250
|
xmlns: "http://www.w3.org/2000/svg",
|
|
251
|
-
children: [
|
|
251
|
+
children: [jsxs("g", {
|
|
252
252
|
clipPath: "url(#clip0_1141_3360)",
|
|
253
|
-
children: [
|
|
253
|
+
children: [jsx("path", {
|
|
254
254
|
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",
|
|
255
255
|
fill: "url(#paint0_linear_1141_3360)"
|
|
256
|
-
}),
|
|
256
|
+
}), jsx("path", {
|
|
257
257
|
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",
|
|
258
258
|
fill: "#061340"
|
|
259
259
|
})]
|
|
260
|
-
}),
|
|
261
|
-
children: [
|
|
260
|
+
}), jsxs("defs", {
|
|
261
|
+
children: [jsxs("linearGradient", {
|
|
262
262
|
id: "paint0_linear_1141_3360",
|
|
263
263
|
x1: "2.381",
|
|
264
264
|
y1: "20.234",
|
|
265
265
|
x2: "18.847",
|
|
266
266
|
y2: "3.923",
|
|
267
267
|
gradientUnits: "userSpaceOnUse",
|
|
268
|
-
children: [
|
|
268
|
+
children: [jsx("stop", {
|
|
269
269
|
stopColor: "#BC4543"
|
|
270
|
-
}),
|
|
270
|
+
}), jsx("stop", {
|
|
271
271
|
offset: ".5",
|
|
272
272
|
stopColor: "#F95C59"
|
|
273
|
-
}),
|
|
273
|
+
}), jsx("stop", {
|
|
274
274
|
offset: ".59",
|
|
275
275
|
stopColor: "#F86059"
|
|
276
|
-
}),
|
|
276
|
+
}), jsx("stop", {
|
|
277
277
|
offset: ".68",
|
|
278
278
|
stopColor: "#F86C59"
|
|
279
|
-
}),
|
|
279
|
+
}), jsx("stop", {
|
|
280
280
|
offset: ".78",
|
|
281
281
|
stopColor: "#F7815A"
|
|
282
|
-
}),
|
|
282
|
+
}), jsx("stop", {
|
|
283
283
|
offset: ".87",
|
|
284
284
|
stopColor: "#F69E5B"
|
|
285
|
-
}),
|
|
285
|
+
}), jsx("stop", {
|
|
286
286
|
offset: ".97",
|
|
287
287
|
stopColor: "#F4C35D"
|
|
288
|
-
}),
|
|
288
|
+
}), jsx("stop", {
|
|
289
289
|
offset: "1",
|
|
290
290
|
stopColor: "#F4D35E"
|
|
291
291
|
})]
|
|
292
|
-
}),
|
|
292
|
+
}), jsx("clipPath", {
|
|
293
293
|
id: "clip0_1141_3360",
|
|
294
|
-
children:
|
|
294
|
+
children: jsx("path", {
|
|
295
295
|
fill: "#fff",
|
|
296
296
|
d: "M0 0H95V24H0z"
|
|
297
297
|
})
|
|
@@ -315,13 +315,13 @@ const useForgeLayoutHeader = () => {
|
|
|
315
315
|
};
|
|
316
316
|
function ForgeLayoutHeader(props) {
|
|
317
317
|
const { areControlsGrouped = true, children } = props;
|
|
318
|
-
return
|
|
318
|
+
return jsx(ForgeLayoutHeaderContext.Provider, {
|
|
319
319
|
value: {
|
|
320
320
|
areControlsGrouped
|
|
321
321
|
},
|
|
322
|
-
children:
|
|
322
|
+
children: jsxs("header", {
|
|
323
323
|
className: styles$2.header,
|
|
324
|
-
children: [
|
|
324
|
+
children: [jsx("div", {
|
|
325
325
|
className: styles$2.headerBg
|
|
326
326
|
}), children]
|
|
327
327
|
})
|
|
@@ -358,11 +358,11 @@ function ForgeLayoutControls(props) {
|
|
|
358
358
|
if (navState !== visibleWhenNavStateIs) {
|
|
359
359
|
return null;
|
|
360
360
|
}
|
|
361
|
-
return
|
|
362
|
-
children: areControlsGrouped ?
|
|
361
|
+
return jsx(Fragment, {
|
|
362
|
+
children: areControlsGrouped ? jsx("div", {
|
|
363
363
|
className: styles$1.controls,
|
|
364
364
|
children
|
|
365
|
-
}) :
|
|
365
|
+
}) : jsx(Fragment, {
|
|
366
366
|
children
|
|
367
367
|
})
|
|
368
368
|
});
|
|
@@ -381,12 +381,12 @@ function ForgeLayoutBreadcrumbsNavigation(props) {
|
|
|
381
381
|
breadcrumbs: breadcrumbs2
|
|
382
382
|
};
|
|
383
383
|
}, [children]);
|
|
384
|
-
return
|
|
384
|
+
return jsxs("div", {
|
|
385
385
|
className: styles$1.breadcrumbNavigationContainer,
|
|
386
|
-
children: [
|
|
386
|
+
children: [jsx("div", {
|
|
387
387
|
className: styles$1.backButtonContainer,
|
|
388
388
|
children: backButton2
|
|
389
|
-
}),
|
|
389
|
+
}), jsx("div", {
|
|
390
390
|
className: styles$1.breadcrumbsContainer,
|
|
391
391
|
children: breadcrumbs
|
|
392
392
|
})]
|
|
@@ -394,12 +394,12 @@ function ForgeLayoutBreadcrumbsNavigation(props) {
|
|
|
394
394
|
}
|
|
395
395
|
function ForgeLayoutBackButton(props) {
|
|
396
396
|
const _a = props, { children } = _a, restButtonProps = __objRest(_a, ["children"]);
|
|
397
|
-
return
|
|
397
|
+
return jsxs(UnstyledButton, __spreadProps(__spreadValues({}, restButtonProps), {
|
|
398
398
|
className: styles$1.backButton,
|
|
399
|
-
children: [
|
|
399
|
+
children: [jsx(Icon, {
|
|
400
400
|
symbol: ArrowBack,
|
|
401
401
|
size: "sm"
|
|
402
|
-
}),
|
|
402
|
+
}), jsx(Text, {
|
|
403
403
|
variant: "subtitle1",
|
|
404
404
|
children
|
|
405
405
|
})]
|
|
@@ -408,17 +408,17 @@ function ForgeLayoutBackButton(props) {
|
|
|
408
408
|
function ForgeLayoutBreadcrumbs(props) {
|
|
409
409
|
const { children } = props;
|
|
410
410
|
const breadcrumbs = useMemo(() => flattenChildren(children), [children]);
|
|
411
|
-
return
|
|
411
|
+
return jsx(HorizontalStack, {
|
|
412
412
|
blockAlign: "center",
|
|
413
413
|
gap: "0.5",
|
|
414
414
|
children: breadcrumbs.map((breadcrumb, idx) => {
|
|
415
415
|
if (idx === 0) {
|
|
416
|
-
return
|
|
416
|
+
return jsx(Fragment$1, {
|
|
417
417
|
children: breadcrumb
|
|
418
418
|
}, idx);
|
|
419
419
|
} else {
|
|
420
|
-
return
|
|
421
|
-
children: [
|
|
420
|
+
return jsxs(Fragment$1, {
|
|
421
|
+
children: [jsx(ForgeLayoutBreadcrumb, {
|
|
422
422
|
children: ">"
|
|
423
423
|
}, idx), breadcrumb]
|
|
424
424
|
}, idx);
|
|
@@ -428,7 +428,7 @@ function ForgeLayoutBreadcrumbs(props) {
|
|
|
428
428
|
}
|
|
429
429
|
function ForgeLayoutBreadcrumb(props) {
|
|
430
430
|
const { children } = props;
|
|
431
|
-
return
|
|
431
|
+
return jsx(Text, {
|
|
432
432
|
variant: "body1",
|
|
433
433
|
color: "neutral.700",
|
|
434
434
|
children
|
|
@@ -438,40 +438,40 @@ function ForgeLayoutModeSwitcher(props) {
|
|
|
438
438
|
const { onModeChange } = props;
|
|
439
439
|
const { mode } = useForgeLayout();
|
|
440
440
|
const [isOpen, setIsOpen] = useState(false);
|
|
441
|
-
return
|
|
442
|
-
children: [
|
|
441
|
+
return jsxs($de32f1b87079253c$export$2e1e1122cf0cba88, {
|
|
442
|
+
children: [jsxs($d2b4bc8c273e7be6$export$353f5b6fc5456de1, {
|
|
443
443
|
className: classNames(styles$1.trigger, isOpen && styles$1.triggerPopoverOpen),
|
|
444
444
|
onPress: () => setIsOpen(true),
|
|
445
|
-
children: [
|
|
445
|
+
children: [jsx(Text, {
|
|
446
446
|
variant: "subtitle1",
|
|
447
447
|
color: mode === "test" ? "warning.600" : "positive.600",
|
|
448
448
|
truncate: true,
|
|
449
449
|
children: mode === "test" ? TEST_MODE : PRODUCTION_MODE
|
|
450
|
-
}),
|
|
450
|
+
}), jsx(Icon, {
|
|
451
451
|
symbol: ExpandMore400,
|
|
452
452
|
size: "md",
|
|
453
453
|
color: "neutral.500"
|
|
454
454
|
})]
|
|
455
|
-
}),
|
|
455
|
+
}), jsx($07b14b47974efb58$export$5b6b19405a83ff9d, {
|
|
456
456
|
className: styles$1.popover,
|
|
457
457
|
offset: POPOVER_OFFSET,
|
|
458
458
|
crossOffset: POPOVER_CROSS_OFFSET,
|
|
459
459
|
isOpen,
|
|
460
460
|
onOpenChange: setIsOpen,
|
|
461
|
-
children:
|
|
462
|
-
children:
|
|
461
|
+
children: jsx($de32f1b87079253c$export$3ddf2d174ce01153, {
|
|
462
|
+
children: jsxs(VerticalStack, {
|
|
463
463
|
gap: "1",
|
|
464
|
-
children: [
|
|
464
|
+
children: [jsx(Text, {
|
|
465
465
|
variant: "subtitle1",
|
|
466
466
|
color: "neutral.800",
|
|
467
467
|
children: "Instance Switcher"
|
|
468
|
-
}),
|
|
468
|
+
}), jsxs(RadioGroup, {
|
|
469
469
|
"aria-label": "Select a mode",
|
|
470
470
|
onChange: onModeChange,
|
|
471
471
|
value: mode,
|
|
472
|
-
children: [
|
|
472
|
+
children: [jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
473
473
|
value: "test"
|
|
474
|
-
}),
|
|
474
|
+
}), jsx(ForgeLayoutModeSwitcherRadioGroupItem, {
|
|
475
475
|
value: "production"
|
|
476
476
|
})]
|
|
477
477
|
})]
|
|
@@ -484,17 +484,17 @@ function ForgeLayoutModeSwitcherRadioGroupItem(props) {
|
|
|
484
484
|
const _a = props, { value } = _a, restProps = __objRest(_a, ["value"]);
|
|
485
485
|
const state = useRadioGroupContext();
|
|
486
486
|
const isSelected = value === state.selectedValue;
|
|
487
|
-
return
|
|
487
|
+
return jsx(RadioGroup.Item, __spreadProps(__spreadValues({
|
|
488
488
|
value
|
|
489
489
|
}, restProps), {
|
|
490
|
-
children:
|
|
491
|
-
children: [
|
|
490
|
+
children: jsxs(VerticalStack, {
|
|
491
|
+
children: [jsx(Text, {
|
|
492
492
|
variant: "subtitle2",
|
|
493
493
|
color: isSelected ? "primary.800" : "primary.700",
|
|
494
494
|
children: value === "test" ? TEST_MODE : PRODUCTION_MODE
|
|
495
|
-
}),
|
|
495
|
+
}), jsxs(Text, {
|
|
496
496
|
variant: "overline",
|
|
497
|
-
children: ["View data using the", " ",
|
|
497
|
+
children: ["View data using the", " ", jsxs(Text, {
|
|
498
498
|
color: value === "test" ? "warning.600" : "positive.600",
|
|
499
499
|
children: [value === "test" ? TEST_MODE.toUpperCase() : PRODUCTION_MODE.toUpperCase(), " ", "API", " "]
|
|
500
500
|
}), "keys"]
|
|
@@ -504,9 +504,9 @@ function ForgeLayoutModeSwitcherRadioGroupItem(props) {
|
|
|
504
504
|
}
|
|
505
505
|
function ForgeLayoutSearch(props) {
|
|
506
506
|
const _a = props, { "aria-label": ariaLabel = "Search for content" } = _a, textFieldProps = __objRest(_a, ["aria-label"]);
|
|
507
|
-
return
|
|
507
|
+
return jsx("div", {
|
|
508
508
|
className: styles$1.searchContainer,
|
|
509
|
-
children:
|
|
509
|
+
children: jsx(TextField, __spreadValues({
|
|
510
510
|
size: "sm",
|
|
511
511
|
type: "search",
|
|
512
512
|
"aria-label": ariaLabel,
|
|
@@ -547,11 +547,11 @@ function ForgeLayout(props) {
|
|
|
547
547
|
navState
|
|
548
548
|
};
|
|
549
549
|
}, [mode, navState]);
|
|
550
|
-
return
|
|
550
|
+
return jsxs(ForgeLayoutContext.Provider, {
|
|
551
551
|
value: context,
|
|
552
|
-
children: [
|
|
552
|
+
children: [jsx("div", {
|
|
553
553
|
className: bgClassName
|
|
554
|
-
}),
|
|
554
|
+
}), jsx("div", {
|
|
555
555
|
className,
|
|
556
556
|
children
|
|
557
557
|
})]
|
|
@@ -559,14 +559,14 @@ function ForgeLayout(props) {
|
|
|
559
559
|
}
|
|
560
560
|
function ForgeLayoutBody(props) {
|
|
561
561
|
const { children } = props;
|
|
562
|
-
return
|
|
562
|
+
return jsx("div", {
|
|
563
563
|
className: styles.body,
|
|
564
564
|
children
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
function ForgeLayoutContent(props) {
|
|
568
568
|
const { children } = props;
|
|
569
|
-
return
|
|
569
|
+
return jsx("main", {
|
|
570
570
|
className: styles.content,
|
|
571
571
|
children
|
|
572
572
|
});
|
package/FormLayout/index.js
CHANGED
|
@@ -31,15 +31,15 @@ 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 utilities_css = require("../utilities/css.js");
|
|
36
|
-
const HorizontalGrid = require("../__chunks__/HorizontalGrid-
|
|
37
|
-
const Text = require("../__chunks__/Text-
|
|
36
|
+
const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
|
|
37
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
38
38
|
const React = require("react");
|
|
39
39
|
const utilities_react = require("../utilities/react.js");
|
|
40
40
|
function Grid(props) {
|
|
41
41
|
const { children, columns } = props;
|
|
42
|
-
return jsxRuntime.
|
|
42
|
+
return jsxRuntime.jsx(HorizontalGrid.HorizontalGrid, {
|
|
43
43
|
columns,
|
|
44
44
|
gap: "2",
|
|
45
45
|
children
|
|
@@ -51,14 +51,14 @@ const styles$2 = {
|
|
|
51
51
|
};
|
|
52
52
|
function Header(props) {
|
|
53
53
|
const { children } = props;
|
|
54
|
-
return jsxRuntime.
|
|
54
|
+
return jsxRuntime.jsx("div", {
|
|
55
55
|
className: styles$2.Header,
|
|
56
56
|
children
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
function HelperText(props) {
|
|
60
60
|
const { id, children } = props;
|
|
61
|
-
return jsxRuntime.
|
|
61
|
+
return jsxRuntime.jsx(Text.Text, {
|
|
62
62
|
id,
|
|
63
63
|
variant: "body1",
|
|
64
64
|
children
|
|
@@ -75,11 +75,11 @@ function Section(props) {
|
|
|
75
75
|
const sectionTitle = React.useMemo(() => {
|
|
76
76
|
return findSectionTitleInChildren(children);
|
|
77
77
|
}, [children]);
|
|
78
|
-
return jsxRuntime.
|
|
78
|
+
return jsxRuntime.jsx(WithinSectionContext.Provider, {
|
|
79
79
|
value: true,
|
|
80
|
-
children: jsxRuntime.
|
|
80
|
+
children: jsxRuntime.jsxs("fieldset", {
|
|
81
81
|
className,
|
|
82
|
-
children: [sectionTitle && jsxRuntime.
|
|
82
|
+
children: [sectionTitle && jsxRuntime.jsx(Text.Text, {
|
|
83
83
|
as: "legend",
|
|
84
84
|
visuallyHidden: true,
|
|
85
85
|
children: sectionTitle
|
|
@@ -112,7 +112,7 @@ function Title(props) {
|
|
|
112
112
|
} : {
|
|
113
113
|
variant: "heading3"
|
|
114
114
|
};
|
|
115
|
-
return jsxRuntime.
|
|
115
|
+
return jsxRuntime.jsx(Text.Text, __spreadProps(__spreadValues(__spreadValues({
|
|
116
116
|
as
|
|
117
117
|
}, restProps), textProps), {
|
|
118
118
|
children
|
|
@@ -126,7 +126,7 @@ const styles = {
|
|
|
126
126
|
function FormLayout(props) {
|
|
127
127
|
const _a = props, { as: As = "div", children } = _a, restProps = __objRest(_a, ["as", "children"]);
|
|
128
128
|
const className = utilities_css.classNames(styles.FormLayout);
|
|
129
|
-
return jsxRuntime.
|
|
129
|
+
return jsxRuntime.jsx(As, __spreadProps(__spreadValues({
|
|
130
130
|
className
|
|
131
131
|
}, restProps), {
|
|
132
132
|
children
|
package/FormLayout/index.mjs
CHANGED
|
@@ -29,15 +29,15 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
32
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
33
33
|
import { classNames } from "../utilities/css.mjs";
|
|
34
|
-
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-
|
|
35
|
-
import { T as Text } from "../__chunks__/Text-
|
|
34
|
+
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-DbLeJBt8.mjs";
|
|
35
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
36
36
|
import { createContext, useMemo, isValidElement, useContext } from "react";
|
|
37
37
|
import { deepFind } from "../utilities/react.mjs";
|
|
38
38
|
function Grid(props) {
|
|
39
39
|
const { children, columns } = props;
|
|
40
|
-
return
|
|
40
|
+
return jsx(HorizontalGrid, {
|
|
41
41
|
columns,
|
|
42
42
|
gap: "2",
|
|
43
43
|
children
|
|
@@ -49,14 +49,14 @@ const styles$2 = {
|
|
|
49
49
|
};
|
|
50
50
|
function Header(props) {
|
|
51
51
|
const { children } = props;
|
|
52
|
-
return
|
|
52
|
+
return jsx("div", {
|
|
53
53
|
className: styles$2.Header,
|
|
54
54
|
children
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
function HelperText(props) {
|
|
58
58
|
const { id, children } = props;
|
|
59
|
-
return
|
|
59
|
+
return jsx(Text, {
|
|
60
60
|
id,
|
|
61
61
|
variant: "body1",
|
|
62
62
|
children
|
|
@@ -73,11 +73,11 @@ function Section(props) {
|
|
|
73
73
|
const sectionTitle = useMemo(() => {
|
|
74
74
|
return findSectionTitleInChildren(children);
|
|
75
75
|
}, [children]);
|
|
76
|
-
return
|
|
76
|
+
return jsx(WithinSectionContext.Provider, {
|
|
77
77
|
value: true,
|
|
78
|
-
children:
|
|
78
|
+
children: jsxs("fieldset", {
|
|
79
79
|
className,
|
|
80
|
-
children: [sectionTitle &&
|
|
80
|
+
children: [sectionTitle && jsx(Text, {
|
|
81
81
|
as: "legend",
|
|
82
82
|
visuallyHidden: true,
|
|
83
83
|
children: sectionTitle
|
|
@@ -110,7 +110,7 @@ function Title(props) {
|
|
|
110
110
|
} : {
|
|
111
111
|
variant: "heading3"
|
|
112
112
|
};
|
|
113
|
-
return
|
|
113
|
+
return jsx(Text, __spreadProps(__spreadValues(__spreadValues({
|
|
114
114
|
as
|
|
115
115
|
}, restProps), textProps), {
|
|
116
116
|
children
|
|
@@ -124,7 +124,7 @@ const styles = {
|
|
|
124
124
|
function FormLayout(props) {
|
|
125
125
|
const _a = props, { as: As = "div", children } = _a, restProps = __objRest(_a, ["as", "children"]);
|
|
126
126
|
const className = classNames(styles.FormLayout);
|
|
127
|
-
return
|
|
127
|
+
return jsx(As, __spreadProps(__spreadValues({
|
|
128
128
|
className
|
|
129
129
|
}, restProps), {
|
|
130
130
|
children
|
package/HorizontalGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const HorizontalGrid = require("../__chunks__/HorizontalGrid-
|
|
3
|
+
const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
|
|
4
4
|
exports.HorizontalGrid = HorizontalGrid.HorizontalGrid;
|
package/HorizontalGrid/index.mjs
CHANGED
package/HorizontalStack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
3
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
4
4
|
exports.HorizontalStack = HorizontalStack.HorizontalStack;
|
package/Icon/index.js
CHANGED
package/Icon/index.mjs
CHANGED