@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/SectionCard/index.js
CHANGED
|
@@ -31,12 +31,12 @@ 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 lodash = require("../__chunks__/lodash-CS8bkZ7S.js");
|
|
36
|
-
const Card = require("../__chunks__/Card-
|
|
37
|
-
const Text = require("../__chunks__/Text-
|
|
38
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
39
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
36
|
+
const Card = require("../__chunks__/Card-LPIW5drP.js");
|
|
37
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
38
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BHkiocKU.js");
|
|
39
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
40
40
|
const header = "_header_1wo2q_4";
|
|
41
41
|
const controls = "_controls_1wo2q_17";
|
|
42
42
|
const tabs = "_tabs_1wo2q_21";
|
|
@@ -49,64 +49,64 @@ function SectionCard(props) {
|
|
|
49
49
|
const _a = props, { children } = _a, cardProps = __objRest(_a, ["children"]);
|
|
50
50
|
const cardAreaProps = Card.pickCardAreaProps(props);
|
|
51
51
|
const cardContainerProps = lodash.lodashExports.omit(cardProps, Object.keys(cardAreaProps));
|
|
52
|
-
return jsxRuntime.
|
|
53
|
-
children: jsxRuntime.
|
|
52
|
+
return jsxRuntime.jsx(SectionCardContainer, __spreadProps(__spreadValues({}, cardContainerProps), {
|
|
53
|
+
children: jsxRuntime.jsx(SectionCardArea, __spreadProps(__spreadValues({}, cardAreaProps), {
|
|
54
54
|
children
|
|
55
55
|
}))
|
|
56
56
|
}));
|
|
57
57
|
}
|
|
58
58
|
function SectionCardContainer(props) {
|
|
59
59
|
const _a = props, { children } = _a, cardContainerProps = __objRest(_a, ["children"]);
|
|
60
|
-
return jsxRuntime.
|
|
60
|
+
return jsxRuntime.jsx(Card.Card.Container, __spreadProps(__spreadValues({
|
|
61
61
|
as: "section",
|
|
62
62
|
variant: "solid",
|
|
63
63
|
boxShadow: "2",
|
|
64
64
|
borderRadius: "lg"
|
|
65
65
|
}, cardContainerProps), {
|
|
66
|
-
children: jsxRuntime.
|
|
66
|
+
children: jsxRuntime.jsx(VerticalStack.VerticalStack, {
|
|
67
67
|
children
|
|
68
68
|
})
|
|
69
69
|
}));
|
|
70
70
|
}
|
|
71
71
|
function SectionCardArea(props) {
|
|
72
72
|
const _a = props, { children } = _a, cardAreaProps = __objRest(_a, ["children"]);
|
|
73
|
-
return jsxRuntime.
|
|
73
|
+
return jsxRuntime.jsx(Card.Card.Area, __spreadProps(__spreadValues({
|
|
74
74
|
padding: "3"
|
|
75
75
|
}, cardAreaProps), {
|
|
76
|
-
children: jsxRuntime.
|
|
76
|
+
children: jsxRuntime.jsx(VerticalStack.VerticalStack, {
|
|
77
77
|
gap: "2",
|
|
78
78
|
children
|
|
79
79
|
})
|
|
80
80
|
}));
|
|
81
81
|
}
|
|
82
82
|
function SectionCardHeader(props) {
|
|
83
|
-
return jsxRuntime.
|
|
83
|
+
return jsxRuntime.jsx("div", {
|
|
84
84
|
className: styles.header,
|
|
85
85
|
children: props.children
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
function SectionCardControls(props) {
|
|
89
|
-
return jsxRuntime.
|
|
89
|
+
return jsxRuntime.jsx("div", {
|
|
90
90
|
className: styles.controls,
|
|
91
91
|
children: props.children
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
function SectionCardActions(props) {
|
|
95
|
-
return jsxRuntime.
|
|
95
|
+
return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
96
96
|
align: "end",
|
|
97
97
|
gap: "1",
|
|
98
98
|
children: props.children
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
function SectionCardTitle(props) {
|
|
102
|
-
return jsxRuntime.
|
|
102
|
+
return jsxRuntime.jsx(Text.Text, __spreadValues({
|
|
103
103
|
variant: "heading5",
|
|
104
104
|
as: "h2"
|
|
105
105
|
}, props));
|
|
106
106
|
}
|
|
107
107
|
function SectionCardTabs(props) {
|
|
108
108
|
const { children } = props;
|
|
109
|
-
return jsxRuntime.
|
|
109
|
+
return jsxRuntime.jsx("div", {
|
|
110
110
|
className: styles.tabs,
|
|
111
111
|
children
|
|
112
112
|
});
|
package/SectionCard/index.mjs
CHANGED
|
@@ -29,12 +29,12 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
32
|
+
import { jsx } from "react/jsx-runtime";
|
|
33
33
|
import { l as lodashExports } from "../__chunks__/lodash-B19QVK6q.mjs";
|
|
34
|
-
import { p as pickCardAreaProps, C as Card } from "../__chunks__/Card-
|
|
35
|
-
import { T as Text } from "../__chunks__/Text-
|
|
36
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
37
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
34
|
+
import { p as pickCardAreaProps, C as Card } from "../__chunks__/Card-BgjWYPVY.mjs";
|
|
35
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
36
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DoMqBfYD.mjs";
|
|
37
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
|
|
38
38
|
const header = "_header_1wo2q_4";
|
|
39
39
|
const controls = "_controls_1wo2q_17";
|
|
40
40
|
const tabs = "_tabs_1wo2q_21";
|
|
@@ -47,64 +47,64 @@ function SectionCard(props) {
|
|
|
47
47
|
const _a = props, { children } = _a, cardProps = __objRest(_a, ["children"]);
|
|
48
48
|
const cardAreaProps = pickCardAreaProps(props);
|
|
49
49
|
const cardContainerProps = lodashExports.omit(cardProps, Object.keys(cardAreaProps));
|
|
50
|
-
return
|
|
51
|
-
children:
|
|
50
|
+
return jsx(SectionCardContainer, __spreadProps(__spreadValues({}, cardContainerProps), {
|
|
51
|
+
children: jsx(SectionCardArea, __spreadProps(__spreadValues({}, cardAreaProps), {
|
|
52
52
|
children
|
|
53
53
|
}))
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
56
|
function SectionCardContainer(props) {
|
|
57
57
|
const _a = props, { children } = _a, cardContainerProps = __objRest(_a, ["children"]);
|
|
58
|
-
return
|
|
58
|
+
return jsx(Card.Container, __spreadProps(__spreadValues({
|
|
59
59
|
as: "section",
|
|
60
60
|
variant: "solid",
|
|
61
61
|
boxShadow: "2",
|
|
62
62
|
borderRadius: "lg"
|
|
63
63
|
}, cardContainerProps), {
|
|
64
|
-
children:
|
|
64
|
+
children: jsx(VerticalStack, {
|
|
65
65
|
children
|
|
66
66
|
})
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
69
69
|
function SectionCardArea(props) {
|
|
70
70
|
const _a = props, { children } = _a, cardAreaProps = __objRest(_a, ["children"]);
|
|
71
|
-
return
|
|
71
|
+
return jsx(Card.Area, __spreadProps(__spreadValues({
|
|
72
72
|
padding: "3"
|
|
73
73
|
}, cardAreaProps), {
|
|
74
|
-
children:
|
|
74
|
+
children: jsx(VerticalStack, {
|
|
75
75
|
gap: "2",
|
|
76
76
|
children
|
|
77
77
|
})
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
80
80
|
function SectionCardHeader(props) {
|
|
81
|
-
return
|
|
81
|
+
return jsx("div", {
|
|
82
82
|
className: styles.header,
|
|
83
83
|
children: props.children
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
function SectionCardControls(props) {
|
|
87
|
-
return
|
|
87
|
+
return jsx("div", {
|
|
88
88
|
className: styles.controls,
|
|
89
89
|
children: props.children
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
function SectionCardActions(props) {
|
|
93
|
-
return
|
|
93
|
+
return jsx(HorizontalStack, {
|
|
94
94
|
align: "end",
|
|
95
95
|
gap: "1",
|
|
96
96
|
children: props.children
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function SectionCardTitle(props) {
|
|
100
|
-
return
|
|
100
|
+
return jsx(Text, __spreadValues({
|
|
101
101
|
variant: "heading5",
|
|
102
102
|
as: "h2"
|
|
103
103
|
}, props));
|
|
104
104
|
}
|
|
105
105
|
function SectionCardTabs(props) {
|
|
106
106
|
const { children } = props;
|
|
107
|
-
return
|
|
107
|
+
return jsx("div", {
|
|
108
108
|
className: styles.tabs,
|
|
109
109
|
children
|
|
110
110
|
});
|
package/Select/index.js
CHANGED
|
@@ -19,36 +19,36 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
22
|
-
const jsxRuntime = require("
|
|
22
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
23
23
|
const React = require("react");
|
|
24
|
-
const SelectOverlay = require("../__chunks__/SelectOverlay-
|
|
24
|
+
const SelectOverlay = require("../__chunks__/SelectOverlay-Bva0SG8D.js");
|
|
25
25
|
const utilities_css = require("../utilities/css.js");
|
|
26
|
-
const InputCaption = require("../__chunks__/InputCaption-
|
|
27
|
-
const Text = require("../__chunks__/Text-
|
|
26
|
+
const InputCaption = require("../__chunks__/InputCaption-CccF4ynE.js");
|
|
27
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
28
28
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
29
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
30
|
-
const InputIcon = require("../__chunks__/InputIcon-
|
|
29
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
|
|
30
|
+
const InputIcon = require("../__chunks__/InputIcon-DDKBJ_Tk.js");
|
|
31
31
|
const useTriggerWidth = require("../__chunks__/useTriggerWidth-NhYqZmlX.js");
|
|
32
32
|
function SelectTrigger(props) {
|
|
33
33
|
const { size = "md", valueProps, iconAtStart, hasError, isDisabled, children } = props;
|
|
34
34
|
const { triggerProps, triggerRef, selectState } = SelectOverlay.useInternalSelectContext();
|
|
35
35
|
const hasStartIcon = !!iconAtStart;
|
|
36
36
|
const className = utilities_css.classNames(SelectOverlay.styles.selectField, SelectOverlay.styles.selectFieldIconEnd, selectState.isOpen && SelectOverlay.styles.listboxOpen, hasError && SelectOverlay.styles.selectFieldError, hasStartIcon && SelectOverlay.styles.selectFieldIconStart, SelectOverlay.styles[utilities_css.variationName("selectSize", size)]);
|
|
37
|
-
return jsxRuntime.
|
|
37
|
+
return jsxRuntime.jsxs("div", {
|
|
38
38
|
className: SelectOverlay.styles.selectFieldIconContainer,
|
|
39
|
-
children: [hasStartIcon && jsxRuntime.
|
|
39
|
+
children: [hasStartIcon && jsxRuntime.jsx(InputIcon.InputIcon, {
|
|
40
40
|
alignment: "start",
|
|
41
41
|
icon: iconAtStart,
|
|
42
42
|
size,
|
|
43
43
|
isDisabled
|
|
44
|
-
}), jsxRuntime.
|
|
44
|
+
}), jsxRuntime.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
|
|
45
45
|
ref: triggerRef,
|
|
46
46
|
className,
|
|
47
|
-
children: jsxRuntime.
|
|
47
|
+
children: jsxRuntime.jsx("span", __spreadProps(__spreadValues({}, valueProps), {
|
|
48
48
|
className: SelectOverlay.styles.selectFieldText,
|
|
49
49
|
children
|
|
50
50
|
}))
|
|
51
|
-
})), jsxRuntime.
|
|
51
|
+
})), jsxRuntime.jsx(InputIcon.InputIcon, {
|
|
52
52
|
alignment: "end",
|
|
53
53
|
icon: ExpandMore400.ExpandMore400,
|
|
54
54
|
size,
|
|
@@ -64,30 +64,30 @@ function SelectField(props) {
|
|
|
64
64
|
const showHelperText = !showErrorText && helperText;
|
|
65
65
|
const captionProps = showHelperText ? helperTextProps : errorTextProps;
|
|
66
66
|
const captionText = showHelperText ? helperText : errorText;
|
|
67
|
-
return jsxRuntime.
|
|
67
|
+
return jsxRuntime.jsxs("div", {
|
|
68
68
|
className: utilities_css.classNames(SelectOverlay.styles.fieldRoot),
|
|
69
|
-
children: [label && jsxRuntime.
|
|
69
|
+
children: [label && jsxRuntime.jsx(InputCaption.Label, __spreadProps(__spreadValues({
|
|
70
70
|
fieldSize: size,
|
|
71
71
|
hasError,
|
|
72
72
|
isLabelEmphasized
|
|
73
73
|
}, labelProps), {
|
|
74
74
|
children: label
|
|
75
|
-
})), jsxRuntime.
|
|
75
|
+
})), jsxRuntime.jsx(SelectOverlay.$bdd25dc72710631f$export$cbd84cdb2e668835, {
|
|
76
76
|
isDisabled,
|
|
77
77
|
state: selectState,
|
|
78
78
|
triggerRef,
|
|
79
79
|
label
|
|
80
|
-
}), jsxRuntime.
|
|
80
|
+
}), jsxRuntime.jsx(SelectTrigger, {
|
|
81
81
|
valueProps,
|
|
82
82
|
iconAtStart,
|
|
83
83
|
hasError,
|
|
84
84
|
isDisabled,
|
|
85
85
|
size,
|
|
86
|
-
children: selectState.selectedItem ? selectState.selectedItem.rendered : jsxRuntime.
|
|
86
|
+
children: selectState.selectedItem ? selectState.selectedItem.rendered : jsxRuntime.jsx(Text.Text, {
|
|
87
87
|
color: "neutral.600",
|
|
88
88
|
children: placeholder
|
|
89
89
|
})
|
|
90
|
-
}), (showErrorText || showHelperText) && jsxRuntime.
|
|
90
|
+
}), (showErrorText || showHelperText) && jsxRuntime.jsx(InputCaption.InputCaption, __spreadProps(__spreadValues({
|
|
91
91
|
variant: showHelperText ? "helper" : "error"
|
|
92
92
|
}, captionProps), {
|
|
93
93
|
children: captionText
|
|
@@ -111,9 +111,9 @@ function Select(props) {
|
|
|
111
111
|
triggerWidth
|
|
112
112
|
};
|
|
113
113
|
}, [triggerProps, listBoxPropsFromSelect, selectState, triggerWidth]);
|
|
114
|
-
return jsxRuntime.
|
|
114
|
+
return jsxRuntime.jsxs(SelectOverlay.InternalSelectContext.Provider, {
|
|
115
115
|
value: context,
|
|
116
|
-
children: [jsxRuntime.
|
|
116
|
+
children: [jsxRuntime.jsx(SelectField, {
|
|
117
117
|
isDisabled,
|
|
118
118
|
validationState,
|
|
119
119
|
isLabelEmphasized,
|
|
@@ -127,7 +127,7 @@ function Select(props) {
|
|
|
127
127
|
valueProps,
|
|
128
128
|
helperTextProps,
|
|
129
129
|
errorTextProps
|
|
130
|
-
}), jsxRuntime.
|
|
130
|
+
}), jsxRuntime.jsx(SelectOverlay.SelectOverlay, {})]
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
Select.Section = SelectOverlay.SelectSection;
|
package/Select/index.mjs
CHANGED
|
@@ -17,36 +17,36 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
20
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
21
21
|
import React__default, { useMemo } from "react";
|
|
22
|
-
import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-
|
|
22
|
+
import { u as useInternalSelectContext, s as styles, $ as $bdd25dc72710631f$export$cbd84cdb2e668835, a as $2bc3a590c5373a4e$export$5159ec8b34d4ec12, b as $58aed456727eb0f3$export$e64b2f635402ca43, I as InternalSelectContext, S as SelectOverlay, c as SelectSection, d as SelectOption } from "../__chunks__/SelectOverlay-q23ZLLi4.mjs";
|
|
23
23
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
24
|
-
import { L as Label, I as InputCaption } from "../__chunks__/InputCaption-
|
|
25
|
-
import { T as Text } from "../__chunks__/Text-
|
|
24
|
+
import { L as Label, I as InputCaption } from "../__chunks__/InputCaption-DoyGkWQe.mjs";
|
|
25
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
26
26
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
27
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
28
|
-
import { I as InputIcon, l as logWarningForMissingAriaLabel } from "../__chunks__/InputIcon-
|
|
27
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-DxJLvL-G.mjs";
|
|
28
|
+
import { I as InputIcon, l as logWarningForMissingAriaLabel } from "../__chunks__/InputIcon-CEATdJ1j.mjs";
|
|
29
29
|
import { u as useTriggerWidth } from "../__chunks__/useTriggerWidth-CBghrvjy.mjs";
|
|
30
30
|
function SelectTrigger(props) {
|
|
31
31
|
const { size = "md", valueProps, iconAtStart, hasError, isDisabled, children } = props;
|
|
32
32
|
const { triggerProps, triggerRef, selectState } = useInternalSelectContext();
|
|
33
33
|
const hasStartIcon = !!iconAtStart;
|
|
34
34
|
const className = classNames(styles.selectField, styles.selectFieldIconEnd, selectState.isOpen && styles.listboxOpen, hasError && styles.selectFieldError, hasStartIcon && styles.selectFieldIconStart, styles[variationName("selectSize", size)]);
|
|
35
|
-
return
|
|
35
|
+
return jsxs("div", {
|
|
36
36
|
className: styles.selectFieldIconContainer,
|
|
37
|
-
children: [hasStartIcon &&
|
|
37
|
+
children: [hasStartIcon && jsx(InputIcon, {
|
|
38
38
|
alignment: "start",
|
|
39
39
|
icon: iconAtStart,
|
|
40
40
|
size,
|
|
41
41
|
isDisabled
|
|
42
|
-
}),
|
|
42
|
+
}), jsx(UnstyledButton, __spreadProps(__spreadValues({}, triggerProps), {
|
|
43
43
|
ref: triggerRef,
|
|
44
44
|
className,
|
|
45
|
-
children:
|
|
45
|
+
children: jsx("span", __spreadProps(__spreadValues({}, valueProps), {
|
|
46
46
|
className: styles.selectFieldText,
|
|
47
47
|
children
|
|
48
48
|
}))
|
|
49
|
-
})),
|
|
49
|
+
})), jsx(InputIcon, {
|
|
50
50
|
alignment: "end",
|
|
51
51
|
icon: ExpandMore400,
|
|
52
52
|
size,
|
|
@@ -62,30 +62,30 @@ function SelectField(props) {
|
|
|
62
62
|
const showHelperText = !showErrorText && helperText;
|
|
63
63
|
const captionProps = showHelperText ? helperTextProps : errorTextProps;
|
|
64
64
|
const captionText = showHelperText ? helperText : errorText;
|
|
65
|
-
return
|
|
65
|
+
return jsxs("div", {
|
|
66
66
|
className: classNames(styles.fieldRoot),
|
|
67
|
-
children: [label &&
|
|
67
|
+
children: [label && jsx(Label, __spreadProps(__spreadValues({
|
|
68
68
|
fieldSize: size,
|
|
69
69
|
hasError,
|
|
70
70
|
isLabelEmphasized
|
|
71
71
|
}, labelProps), {
|
|
72
72
|
children: label
|
|
73
|
-
})),
|
|
73
|
+
})), jsx($bdd25dc72710631f$export$cbd84cdb2e668835, {
|
|
74
74
|
isDisabled,
|
|
75
75
|
state: selectState,
|
|
76
76
|
triggerRef,
|
|
77
77
|
label
|
|
78
|
-
}),
|
|
78
|
+
}), jsx(SelectTrigger, {
|
|
79
79
|
valueProps,
|
|
80
80
|
iconAtStart,
|
|
81
81
|
hasError,
|
|
82
82
|
isDisabled,
|
|
83
83
|
size,
|
|
84
|
-
children: selectState.selectedItem ? selectState.selectedItem.rendered :
|
|
84
|
+
children: selectState.selectedItem ? selectState.selectedItem.rendered : jsx(Text, {
|
|
85
85
|
color: "neutral.600",
|
|
86
86
|
children: placeholder
|
|
87
87
|
})
|
|
88
|
-
}), (showErrorText || showHelperText) &&
|
|
88
|
+
}), (showErrorText || showHelperText) && jsx(InputCaption, __spreadProps(__spreadValues({
|
|
89
89
|
variant: showHelperText ? "helper" : "error"
|
|
90
90
|
}, captionProps), {
|
|
91
91
|
children: captionText
|
|
@@ -109,9 +109,9 @@ function Select(props) {
|
|
|
109
109
|
triggerWidth
|
|
110
110
|
};
|
|
111
111
|
}, [triggerProps, listBoxPropsFromSelect, selectState, triggerWidth]);
|
|
112
|
-
return
|
|
112
|
+
return jsxs(InternalSelectContext.Provider, {
|
|
113
113
|
value: context,
|
|
114
|
-
children: [
|
|
114
|
+
children: [jsx(SelectField, {
|
|
115
115
|
isDisabled,
|
|
116
116
|
validationState,
|
|
117
117
|
isLabelEmphasized,
|
|
@@ -125,7 +125,7 @@ function Select(props) {
|
|
|
125
125
|
valueProps,
|
|
126
126
|
helperTextProps,
|
|
127
127
|
errorTextProps
|
|
128
|
-
}),
|
|
128
|
+
}), jsx(SelectOverlay, {})]
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
Select.Section = SelectSection;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-
|
|
3
|
+
const SelectorErrorTooltip = require("../__chunks__/SelectorErrorTooltip-BNLrFRLN.js");
|
|
4
4
|
exports.SelectorErrorTooltip = SelectorErrorTooltip.SelectorErrorTooltip;
|
package/Spinner/index.js
CHANGED
package/Spinner/index.mjs
CHANGED
package/SplitToggleCard/index.js
CHANGED
|
@@ -28,24 +28,24 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
return target;
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
|
-
const jsxRuntime = require("
|
|
32
|
-
const Card = require("../__chunks__/Card-
|
|
33
|
-
const HorizontalGrid = require("../__chunks__/HorizontalGrid-
|
|
34
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
35
|
-
const Toggle = require("../__chunks__/Toggle-
|
|
31
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
32
|
+
const Card = require("../__chunks__/Card-LPIW5drP.js");
|
|
33
|
+
const HorizontalGrid = require("../__chunks__/HorizontalGrid-CAoDcmPW.js");
|
|
34
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
35
|
+
const Toggle = require("../__chunks__/Toggle-BmJjrdVn.js");
|
|
36
36
|
const SplitToggleCard = (props) => {
|
|
37
37
|
const _a = props, { children } = _a, toggleProps = __objRest(_a, ["children"]);
|
|
38
|
-
return jsxRuntime.
|
|
39
|
-
children: jsxRuntime.
|
|
38
|
+
return jsxRuntime.jsx(Card.Card.Container, {
|
|
39
|
+
children: jsxRuntime.jsxs(HorizontalGrid.HorizontalGrid, {
|
|
40
40
|
columns: ["80px", "1fr"],
|
|
41
|
-
children: [jsxRuntime.
|
|
41
|
+
children: [jsxRuntime.jsx(Card.Card.Area, {
|
|
42
42
|
background: "secondary",
|
|
43
43
|
padding: "3",
|
|
44
|
-
children: jsxRuntime.
|
|
44
|
+
children: jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
45
45
|
align: "center",
|
|
46
|
-
children: jsxRuntime.
|
|
46
|
+
children: jsxRuntime.jsx(Toggle.Toggle, __spreadValues({}, toggleProps))
|
|
47
47
|
})
|
|
48
|
-
}), jsxRuntime.
|
|
48
|
+
}), jsxRuntime.jsx(Card.Card.Area, {
|
|
49
49
|
background: "primary",
|
|
50
50
|
padding: "2",
|
|
51
51
|
children
|
|
@@ -26,24 +26,24 @@ var __objRest = (source, exclude) => {
|
|
|
26
26
|
}
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
|
-
import {
|
|
30
|
-
import { C as Card } from "../__chunks__/Card-
|
|
31
|
-
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-
|
|
32
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
33
|
-
import { T as Toggle } from "../__chunks__/Toggle-
|
|
29
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
30
|
+
import { C as Card } from "../__chunks__/Card-BgjWYPVY.mjs";
|
|
31
|
+
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid-DbLeJBt8.mjs";
|
|
32
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
|
|
33
|
+
import { T as Toggle } from "../__chunks__/Toggle-DlDQ7rr2.mjs";
|
|
34
34
|
const SplitToggleCard = (props) => {
|
|
35
35
|
const _a = props, { children } = _a, toggleProps = __objRest(_a, ["children"]);
|
|
36
|
-
return
|
|
37
|
-
children:
|
|
36
|
+
return jsx(Card.Container, {
|
|
37
|
+
children: jsxs(HorizontalGrid, {
|
|
38
38
|
columns: ["80px", "1fr"],
|
|
39
|
-
children: [
|
|
39
|
+
children: [jsx(Card.Area, {
|
|
40
40
|
background: "secondary",
|
|
41
41
|
padding: "3",
|
|
42
|
-
children:
|
|
42
|
+
children: jsx(HorizontalStack, {
|
|
43
43
|
align: "center",
|
|
44
|
-
children:
|
|
44
|
+
children: jsx(Toggle, __spreadValues({}, toggleProps))
|
|
45
45
|
})
|
|
46
|
-
}),
|
|
46
|
+
}), jsx(Card.Area, {
|
|
47
47
|
background: "primary",
|
|
48
48
|
padding: "2",
|
|
49
49
|
children
|
package/Stepper/index.js
CHANGED
package/Stepper/index.mjs
CHANGED
package/TabNav/index.js
CHANGED
package/TabNav/index.mjs
CHANGED
package/TabPanels/index.js
CHANGED
|
@@ -31,7 +31,7 @@ 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 Item = require("../__chunks__/Item-h_oPjYVR.js");
|
|
37
37
|
const useListState = require("../__chunks__/useListState-DDaaA7mG.js");
|
|
@@ -40,7 +40,7 @@ const SelectionManager = require("../__chunks__/SelectionManager-CFPcxpAj.js");
|
|
|
40
40
|
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
41
41
|
const useLabels = require("../__chunks__/useLabels-BiHauKNF.js");
|
|
42
42
|
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-9MZ8LK0l.js");
|
|
43
|
-
const Tabs = require("../__chunks__/Tabs-
|
|
43
|
+
const Tabs = require("../__chunks__/Tabs-DSngzN9A.js");
|
|
44
44
|
const useSingleSelectListState = require("../__chunks__/useSingleSelectListState-BX2vNU2f.js");
|
|
45
45
|
const context = require("../__chunks__/context-DJdNiOsb.js");
|
|
46
46
|
const useSelectableItem = require("../__chunks__/useSelectableItem-Dtmy73y6.js");
|
|
@@ -270,7 +270,7 @@ function TabPanelsPanel(_a) {
|
|
|
270
270
|
const { tabPanelProps } = $34bce698202e07cb$export$fae0121b5afe572d(props, state, ref);
|
|
271
271
|
return children && React.isValidElement(children) && !index.reactIsExports.isFragment(children) ? React.cloneElement(children, __spreadValues(__spreadValues({
|
|
272
272
|
ref
|
|
273
|
-
}, tabPanelProps), children.props)) : jsxRuntime.
|
|
273
|
+
}, tabPanelProps), children.props)) : jsxRuntime.jsx("div", __spreadProps(__spreadValues({
|
|
274
274
|
ref
|
|
275
275
|
}, tabPanelProps), {
|
|
276
276
|
children
|
|
@@ -285,13 +285,13 @@ function TabPanelsTabs(props) {
|
|
|
285
285
|
React.useEffect(() => {
|
|
286
286
|
setTabListState(state);
|
|
287
287
|
}, [state.disabledKeys, state.selectedItem, state.selectedKey, props.children]);
|
|
288
|
-
return jsxRuntime.
|
|
288
|
+
return jsxRuntime.jsx(Tabs.Tabs, {
|
|
289
289
|
containerComponent: "div",
|
|
290
290
|
containerProps: {},
|
|
291
291
|
listComponent: "div",
|
|
292
292
|
listProps: tabListProps,
|
|
293
293
|
listRef: ref,
|
|
294
|
-
children: [...state.collection].map((item) => jsxRuntime.
|
|
294
|
+
children: [...state.collection].map((item) => jsxRuntime.jsx(TabPanelsTab, {
|
|
295
295
|
item,
|
|
296
296
|
state
|
|
297
297
|
}, item.key))
|
|
@@ -304,7 +304,7 @@ function TabPanelsTab({ item, state }) {
|
|
|
304
304
|
}, state, ref);
|
|
305
305
|
const isSelected = state.selectedItem === item;
|
|
306
306
|
const isDisabled = state.disabledKeys.has(item.key) || state.isDisabled;
|
|
307
|
-
return jsxRuntime.
|
|
307
|
+
return jsxRuntime.jsx(Tabs.Tabs.Item, __spreadProps(__spreadValues({
|
|
308
308
|
tabComponent: "div",
|
|
309
309
|
tabRef: ref,
|
|
310
310
|
isSelected,
|
|
@@ -322,7 +322,7 @@ function TabPanels(props) {
|
|
|
322
322
|
setTabListState
|
|
323
323
|
};
|
|
324
324
|
}, [tabListState, props]);
|
|
325
|
-
return jsxRuntime.
|
|
325
|
+
return jsxRuntime.jsx(TabPanelsContext.Provider, {
|
|
326
326
|
value: context2,
|
|
327
327
|
children: props.children
|
|
328
328
|
});
|