@easypost/easy-ui 1.0.0-alpha.113 → 1.0.0-alpha.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AlertBadge/index.js +8 -8
- package/AlertBadge/index.mjs +8 -8
- 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 +6 -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/AlertBadge/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("
|
|
4
|
-
const Icon = require("../__chunks__/Icon-
|
|
5
|
-
const Text = require("../__chunks__/Text-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
|
|
5
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
6
6
|
const utilities_css = require("../utilities/css.js");
|
|
7
7
|
const container = "_container_7b7g9_4";
|
|
8
8
|
const root = "_root_7b7g9_9";
|
|
@@ -34,17 +34,17 @@ function AlertBadge(props) {
|
|
|
34
34
|
if (!show) {
|
|
35
35
|
return children;
|
|
36
36
|
}
|
|
37
|
-
return jsxRuntime.
|
|
37
|
+
return jsxRuntime.jsxs("span", {
|
|
38
38
|
className: styles.container,
|
|
39
|
-
children: [children, jsxRuntime.
|
|
39
|
+
children: [children, jsxRuntime.jsxs("span", {
|
|
40
40
|
className,
|
|
41
|
-
children: [jsxRuntime.
|
|
41
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
42
42
|
visuallyHidden: true,
|
|
43
43
|
children: accessibilityLabel
|
|
44
|
-
}), jsxRuntime.
|
|
44
|
+
}), jsxRuntime.jsx("span", {
|
|
45
45
|
className: styles.badge,
|
|
46
46
|
role: "status",
|
|
47
|
-
children: icon && jsxRuntime.
|
|
47
|
+
children: icon && jsxRuntime.jsx(Icon.Icon, {
|
|
48
48
|
symbol: icon,
|
|
49
49
|
size: "2xs"
|
|
50
50
|
})
|
package/AlertBadge/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
3
|
-
import { T as Text } from "../__chunks__/Text-
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
|
|
3
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
4
4
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
5
5
|
const container = "_container_7b7g9_4";
|
|
6
6
|
const root = "_root_7b7g9_9";
|
|
@@ -32,17 +32,17 @@ function AlertBadge(props) {
|
|
|
32
32
|
if (!show) {
|
|
33
33
|
return children;
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return jsxs("span", {
|
|
36
36
|
className: styles.container,
|
|
37
|
-
children: [children,
|
|
37
|
+
children: [children, jsxs("span", {
|
|
38
38
|
className,
|
|
39
|
-
children: [
|
|
39
|
+
children: [jsx(Text, {
|
|
40
40
|
visuallyHidden: true,
|
|
41
41
|
children: accessibilityLabel
|
|
42
|
-
}),
|
|
42
|
+
}), jsx("span", {
|
|
43
43
|
className: styles.badge,
|
|
44
44
|
role: "status",
|
|
45
|
-
children: icon &&
|
|
45
|
+
children: icon && jsx(Icon, {
|
|
46
46
|
symbol: icon,
|
|
47
47
|
size: "2xs"
|
|
48
48
|
})
|
package/Badge/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("
|
|
4
|
-
const Icon = require("../__chunks__/Icon-
|
|
5
|
-
const Text = require("../__chunks__/Text-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
|
|
5
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
6
6
|
const utilities_css = require("../utilities/css.js");
|
|
7
7
|
const root = "_root_fwo7a_4";
|
|
8
8
|
const block = "_block_fwo7a_14";
|
|
@@ -47,27 +47,27 @@ function Badge(props) {
|
|
|
47
47
|
if (icon && !children && !accessibilityLabel) {
|
|
48
48
|
console.warn("Badge with only icon must have accessibilityLabel");
|
|
49
49
|
}
|
|
50
|
-
return jsxRuntime.
|
|
50
|
+
return jsxRuntime.jsxs("span", {
|
|
51
51
|
className,
|
|
52
|
-
children: [accessibilityLabel && jsxRuntime.
|
|
52
|
+
children: [accessibilityLabel && jsxRuntime.jsx(Text.Text, {
|
|
53
53
|
visuallyHidden: true,
|
|
54
54
|
children: accessibilityLabel
|
|
55
|
-
}), jsxRuntime.
|
|
55
|
+
}), jsxRuntime.jsx("span", {
|
|
56
56
|
className: styles.primary,
|
|
57
|
-
children: icon ? jsxRuntime.
|
|
57
|
+
children: icon ? jsxRuntime.jsx(Icon.Icon, {
|
|
58
58
|
symbol: icon,
|
|
59
59
|
size: "sm"
|
|
60
|
-
}) : jsxRuntime.
|
|
60
|
+
}) : jsxRuntime.jsx("span", {
|
|
61
61
|
className: styles.text,
|
|
62
62
|
children
|
|
63
63
|
})
|
|
64
|
-
}), children && (icon || secondaryLabel) && jsxRuntime.
|
|
64
|
+
}), children && (icon || secondaryLabel) && jsxRuntime.jsx("span", {
|
|
65
65
|
className: styles.secondary,
|
|
66
|
-
children: jsxRuntime.
|
|
66
|
+
children: jsxRuntime.jsx("span", {
|
|
67
67
|
className: styles.text,
|
|
68
|
-
children: icon ? jsxRuntime.
|
|
68
|
+
children: icon ? jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
69
69
|
children
|
|
70
|
-
}) : jsxRuntime.
|
|
70
|
+
}) : jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
71
71
|
children: secondaryLabel
|
|
72
72
|
})
|
|
73
73
|
})
|
package/Badge/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
3
|
-
import { T as Text } from "../__chunks__/Text-
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
|
|
3
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
4
4
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
5
5
|
const root = "_root_fwo7a_4";
|
|
6
6
|
const block = "_block_fwo7a_14";
|
|
@@ -45,27 +45,27 @@ function Badge(props) {
|
|
|
45
45
|
if (icon && !children && !accessibilityLabel) {
|
|
46
46
|
console.warn("Badge with only icon must have accessibilityLabel");
|
|
47
47
|
}
|
|
48
|
-
return
|
|
48
|
+
return jsxs("span", {
|
|
49
49
|
className,
|
|
50
|
-
children: [accessibilityLabel &&
|
|
50
|
+
children: [accessibilityLabel && jsx(Text, {
|
|
51
51
|
visuallyHidden: true,
|
|
52
52
|
children: accessibilityLabel
|
|
53
|
-
}),
|
|
53
|
+
}), jsx("span", {
|
|
54
54
|
className: styles.primary,
|
|
55
|
-
children: icon ?
|
|
55
|
+
children: icon ? jsx(Icon, {
|
|
56
56
|
symbol: icon,
|
|
57
57
|
size: "sm"
|
|
58
|
-
}) :
|
|
58
|
+
}) : jsx("span", {
|
|
59
59
|
className: styles.text,
|
|
60
60
|
children
|
|
61
61
|
})
|
|
62
|
-
}), children && (icon || secondaryLabel) &&
|
|
62
|
+
}), children && (icon || secondaryLabel) && jsx("span", {
|
|
63
63
|
className: styles.secondary,
|
|
64
|
-
children:
|
|
64
|
+
children: jsx("span", {
|
|
65
65
|
className: styles.text,
|
|
66
|
-
children: icon ?
|
|
66
|
+
children: icon ? jsx(Fragment, {
|
|
67
67
|
children
|
|
68
|
-
}) :
|
|
68
|
+
}) : jsx(Fragment, {
|
|
69
69
|
children: secondaryLabel
|
|
70
70
|
})
|
|
71
71
|
})
|
package/Banner/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const jsxRuntime = require("
|
|
4
|
-
const Text = require("../__chunks__/Text-
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
5
5
|
const utilities_css = require("../utilities/css.js");
|
|
6
6
|
const colorSuccess = "_colorSuccess_1w4t9_4";
|
|
7
7
|
const colorPrimary = "_colorPrimary_1w4t9_9";
|
|
@@ -15,18 +15,18 @@ const styles = {
|
|
|
15
15
|
};
|
|
16
16
|
function Banner(props) {
|
|
17
17
|
const { color = "success", emphasisText, children } = props;
|
|
18
|
-
return jsxRuntime.
|
|
18
|
+
return jsxRuntime.jsxs("div", {
|
|
19
19
|
className: utilities_css.classNames(styles.Banner, styles[utilities_css.variationName("color", color)]),
|
|
20
|
-
children: [emphasisText && jsxRuntime.
|
|
20
|
+
children: [emphasisText && jsxRuntime.jsx(Text.Text, {
|
|
21
21
|
as: "strong",
|
|
22
22
|
variant: "subtitle1",
|
|
23
23
|
alignment: "center",
|
|
24
|
-
children: !children ? jsxRuntime.
|
|
24
|
+
children: !children ? jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
25
25
|
children: emphasisText
|
|
26
|
-
}) : jsxRuntime.
|
|
26
|
+
}) : jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
27
27
|
children: [emphasisText, ": "]
|
|
28
28
|
})
|
|
29
|
-
}), children && jsxRuntime.
|
|
29
|
+
}), children && jsxRuntime.jsx(Text.Text, {
|
|
30
30
|
variant: "body1",
|
|
31
31
|
alignment: "center",
|
|
32
32
|
children
|
package/Banner/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as Text } from "../__chunks__/Text-
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
3
3
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
4
4
|
const colorSuccess = "_colorSuccess_1w4t9_4";
|
|
5
5
|
const colorPrimary = "_colorPrimary_1w4t9_9";
|
|
@@ -13,18 +13,18 @@ const styles = {
|
|
|
13
13
|
};
|
|
14
14
|
function Banner(props) {
|
|
15
15
|
const { color = "success", emphasisText, children } = props;
|
|
16
|
-
return
|
|
16
|
+
return jsxs("div", {
|
|
17
17
|
className: classNames(styles.Banner, styles[variationName("color", color)]),
|
|
18
|
-
children: [emphasisText &&
|
|
18
|
+
children: [emphasisText && jsx(Text, {
|
|
19
19
|
as: "strong",
|
|
20
20
|
variant: "subtitle1",
|
|
21
21
|
alignment: "center",
|
|
22
|
-
children: !children ?
|
|
22
|
+
children: !children ? jsx(Fragment, {
|
|
23
23
|
children: emphasisText
|
|
24
|
-
}) :
|
|
24
|
+
}) : jsxs(Fragment, {
|
|
25
25
|
children: [emphasisText, ": "]
|
|
26
26
|
})
|
|
27
|
-
}), children &&
|
|
27
|
+
}), children && jsx(Text, {
|
|
28
28
|
variant: "body1",
|
|
29
29
|
alignment: "center",
|
|
30
30
|
children
|
package/Button/index.js
CHANGED
package/Button/index.mjs
CHANGED
package/CHANGELOG.md
CHANGED
package/Calendar/index.js
CHANGED
package/Calendar/index.mjs
CHANGED
package/Card/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Card = require("../__chunks__/Card-
|
|
3
|
+
const Card = require("../__chunks__/Card-LPIW5drP.js");
|
|
4
4
|
exports.Card = Card.Card;
|
|
5
5
|
exports.pickCardAreaProps = Card.pickCardAreaProps;
|
package/Card/index.mjs
CHANGED
package/CheckableCard/index.js
CHANGED
|
@@ -31,36 +31,36 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
|
-
const jsxRuntime = require("
|
|
35
|
-
const Card = require("../__chunks__/Card-
|
|
36
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
37
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
38
|
-
const Text = require("../__chunks__/Text-
|
|
39
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
34
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
35
|
+
const Card = require("../__chunks__/Card-LPIW5drP.js");
|
|
36
|
+
const Checkbox = require("../__chunks__/Checkbox-B_-6lfKk.js");
|
|
37
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
38
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
39
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BHkiocKU.js");
|
|
40
40
|
const textContainer = "_textContainer_e4oa4_4";
|
|
41
41
|
const styles = {
|
|
42
42
|
textContainer
|
|
43
43
|
};
|
|
44
44
|
function CheckableCard(props) {
|
|
45
45
|
const _a = props, { header, children } = _a, checkboxProps = __objRest(_a, ["header", "children"]);
|
|
46
|
-
return jsxRuntime.
|
|
47
|
-
children: jsxRuntime.
|
|
46
|
+
return jsxRuntime.jsx(Card.Card, {
|
|
47
|
+
children: jsxRuntime.jsx(VerticalStack.VerticalStack, {
|
|
48
48
|
gap: "2",
|
|
49
|
-
children: jsxRuntime.
|
|
49
|
+
children: jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
50
50
|
gap: "1.5",
|
|
51
51
|
blockAlign: "center",
|
|
52
|
-
children: jsxRuntime.
|
|
52
|
+
children: jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
53
53
|
gap: "1",
|
|
54
|
-
children: [jsxRuntime.
|
|
54
|
+
children: [jsxRuntime.jsx(Checkbox.Checkbox, __spreadProps(__spreadValues({}, checkboxProps), {
|
|
55
55
|
size: "lg",
|
|
56
|
-
children: jsxRuntime.
|
|
56
|
+
children: jsxRuntime.jsx(Text.Text, {
|
|
57
57
|
weight: "semibold",
|
|
58
58
|
as: "h3",
|
|
59
59
|
children: header
|
|
60
60
|
})
|
|
61
|
-
})), jsxRuntime.
|
|
61
|
+
})), jsxRuntime.jsx("div", {
|
|
62
62
|
className: styles.textContainer,
|
|
63
|
-
children: jsxRuntime.
|
|
63
|
+
children: jsxRuntime.jsx(Text.Text, {
|
|
64
64
|
weight: "medium",
|
|
65
65
|
color: "neutral.500",
|
|
66
66
|
children
|
package/CheckableCard/index.mjs
CHANGED
|
@@ -29,36 +29,36 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
33
|
-
import { C as Card } from "../__chunks__/Card-
|
|
34
|
-
import { C as Checkbox } from "../__chunks__/Checkbox-
|
|
35
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
36
|
-
import { T as Text } from "../__chunks__/Text-
|
|
37
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
32
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
33
|
+
import { C as Card } from "../__chunks__/Card-BgjWYPVY.mjs";
|
|
34
|
+
import { C as Checkbox } from "../__chunks__/Checkbox-DcaO0fC3.mjs";
|
|
35
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
|
|
36
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
37
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DoMqBfYD.mjs";
|
|
38
38
|
const textContainer = "_textContainer_e4oa4_4";
|
|
39
39
|
const styles = {
|
|
40
40
|
textContainer
|
|
41
41
|
};
|
|
42
42
|
function CheckableCard(props) {
|
|
43
43
|
const _a = props, { header, children } = _a, checkboxProps = __objRest(_a, ["header", "children"]);
|
|
44
|
-
return
|
|
45
|
-
children:
|
|
44
|
+
return jsx(Card, {
|
|
45
|
+
children: jsx(VerticalStack, {
|
|
46
46
|
gap: "2",
|
|
47
|
-
children:
|
|
47
|
+
children: jsx(HorizontalStack, {
|
|
48
48
|
gap: "1.5",
|
|
49
49
|
blockAlign: "center",
|
|
50
|
-
children:
|
|
50
|
+
children: jsxs(VerticalStack, {
|
|
51
51
|
gap: "1",
|
|
52
|
-
children: [
|
|
52
|
+
children: [jsx(Checkbox, __spreadProps(__spreadValues({}, checkboxProps), {
|
|
53
53
|
size: "lg",
|
|
54
|
-
children:
|
|
54
|
+
children: jsx(Text, {
|
|
55
55
|
weight: "semibold",
|
|
56
56
|
as: "h3",
|
|
57
57
|
children: header
|
|
58
58
|
})
|
|
59
|
-
})),
|
|
59
|
+
})), jsx("div", {
|
|
60
60
|
className: styles.textContainer,
|
|
61
|
-
children:
|
|
61
|
+
children: jsx(Text, {
|
|
62
62
|
weight: "medium",
|
|
63
63
|
color: "neutral.500",
|
|
64
64
|
children
|
package/Checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
3
|
+
const Checkbox = require("../__chunks__/Checkbox-B_-6lfKk.js");
|
|
4
4
|
exports.Checkbox = Checkbox.Checkbox;
|
|
5
5
|
exports.DEFAULT_SIZE = Checkbox.DEFAULT_SIZE;
|
package/Checkbox/index.mjs
CHANGED
package/CodeBlock/index.js
CHANGED
|
@@ -19,21 +19,21 @@ 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 CodeSnippet = require("../__chunks__/CodeSnippet-
|
|
25
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
24
|
+
const CodeSnippet = require("../__chunks__/CodeSnippet-25l4r2Gh.js");
|
|
25
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
26
26
|
const utilities_css = require("../utilities/css.js");
|
|
27
27
|
const utilities_react = require("../utilities/react.js");
|
|
28
|
-
const Icon = require("../__chunks__/Icon-
|
|
29
|
-
const Text = require("../__chunks__/Text-
|
|
30
|
-
const Tooltip = require("../__chunks__/Tooltip-
|
|
28
|
+
const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
|
|
29
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
30
|
+
const Tooltip = require("../__chunks__/Tooltip-BSMvNula.js");
|
|
31
31
|
const useHover = require("../__chunks__/useHover-Ck1otl-j.js");
|
|
32
32
|
const useFocus = require("../__chunks__/useFocus-D_NKNXdi.js");
|
|
33
33
|
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
34
34
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
35
|
-
const Menu = require("../__chunks__/Menu-
|
|
36
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
35
|
+
const Menu = require("../__chunks__/Menu-MGDv1tob.js");
|
|
36
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DW8CjaXN.js");
|
|
37
37
|
function _interopNamespaceDefault(e) {
|
|
38
38
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
39
39
|
if (e) {
|
|
@@ -236,17 +236,17 @@ function CopyButton({ text }) {
|
|
|
236
236
|
tooltipState.close();
|
|
237
237
|
}, [clipboard, text, tooltipState]);
|
|
238
238
|
const content = clipboard.copied ? "Copied!" : "Copy code block";
|
|
239
|
-
return jsxRuntime.
|
|
239
|
+
return jsxRuntime.jsx(Tooltip.Tooltip, {
|
|
240
240
|
isOpen: tooltipState.isOpen || clipboard.copied,
|
|
241
241
|
content,
|
|
242
|
-
children: jsxRuntime.
|
|
242
|
+
children: jsxRuntime.jsxs("button", __spreadProps(__spreadValues({
|
|
243
243
|
className: styles$1.CopyButton,
|
|
244
244
|
onClick: handlePress
|
|
245
245
|
}, triggerProps), {
|
|
246
|
-
children: [jsxRuntime.
|
|
246
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
247
247
|
visuallyHidden: true,
|
|
248
248
|
children: "Copy code"
|
|
249
|
-
}), jsxRuntime.
|
|
249
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
250
250
|
symbol: ContentCopy
|
|
251
251
|
})]
|
|
252
252
|
}))
|
|
@@ -276,25 +276,25 @@ function LanguageMenu(props) {
|
|
|
276
276
|
const language2 = key;
|
|
277
277
|
onChange(language2);
|
|
278
278
|
}, [onChange]);
|
|
279
|
-
return jsxRuntime.
|
|
280
|
-
children: [jsxRuntime.
|
|
281
|
-
children: jsxRuntime.
|
|
282
|
-
children: jsxRuntime.
|
|
279
|
+
return jsxRuntime.jsxs(Menu.Menu, {
|
|
280
|
+
children: [jsxRuntime.jsx(Menu.Menu.Trigger, {
|
|
281
|
+
children: jsxRuntime.jsx(UnstyledButton.UnstyledButton, {
|
|
282
|
+
children: jsxRuntime.jsxs(HorizontalStack.HorizontalStack, {
|
|
283
283
|
blockAlign: "center",
|
|
284
284
|
gap: "1",
|
|
285
285
|
wrap: false,
|
|
286
|
-
children: [jsxRuntime.
|
|
286
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
287
287
|
variant: "body1",
|
|
288
288
|
children: CodeSnippet.friendlySnippetLanguageNames[language]
|
|
289
|
-
}), jsxRuntime.
|
|
289
|
+
}), jsxRuntime.jsx(Icon.Icon, {
|
|
290
290
|
symbol: ExpandMore400.ExpandMore400
|
|
291
291
|
})]
|
|
292
292
|
})
|
|
293
293
|
})
|
|
294
|
-
}), jsxRuntime.
|
|
294
|
+
}), jsxRuntime.jsx(Menu.Menu.Overlay, {
|
|
295
295
|
maxItemsUntilScroll: Infinity,
|
|
296
296
|
onAction: handleMenuAction,
|
|
297
|
-
children: languages.map((language2) => jsxRuntime.
|
|
297
|
+
children: languages.map((language2) => jsxRuntime.jsx(Menu.Menu.Item, {
|
|
298
298
|
children: CodeSnippet.friendlySnippetLanguageNames[language2]
|
|
299
299
|
}, language2))
|
|
300
300
|
})]
|
|
@@ -318,26 +318,26 @@ function CodeBlockHeader(props) {
|
|
|
318
318
|
const { children, color = "neutral", hideCopy = false } = props;
|
|
319
319
|
const { snippet, languages, language, onLanguageChange } = CodeSnippet.useCodeBlock();
|
|
320
320
|
const className = utilities_css.classNames(styles.header, styles[utilities_css.variationName("color", color)]);
|
|
321
|
-
return jsxRuntime.
|
|
321
|
+
return jsxRuntime.jsx("div", {
|
|
322
322
|
className,
|
|
323
|
-
children: jsxRuntime.
|
|
323
|
+
children: jsxRuntime.jsxs(HorizontalStack.HorizontalStack, {
|
|
324
324
|
align: "space-between",
|
|
325
325
|
gap: "2",
|
|
326
326
|
wrap: false,
|
|
327
327
|
blockAlign: "start",
|
|
328
|
-
children: [jsxRuntime.
|
|
328
|
+
children: [jsxRuntime.jsx("span", {
|
|
329
329
|
className: styles.headerTitle,
|
|
330
330
|
children
|
|
331
|
-
}), jsxRuntime.
|
|
331
|
+
}), jsxRuntime.jsxs(HorizontalStack.HorizontalStack, {
|
|
332
332
|
gap: "2",
|
|
333
333
|
wrap: false,
|
|
334
|
-
children: [languages.length > 1 && jsxRuntime.
|
|
334
|
+
children: [languages.length > 1 && jsxRuntime.jsx(LanguageMenu, {
|
|
335
335
|
languages,
|
|
336
336
|
language,
|
|
337
337
|
onChange: onLanguageChange
|
|
338
|
-
}), languages.length > 1 && !hideCopy && jsxRuntime.
|
|
338
|
+
}), languages.length > 1 && !hideCopy && jsxRuntime.jsx("span", {
|
|
339
339
|
className: styles.divider
|
|
340
|
-
}), !hideCopy && jsxRuntime.
|
|
340
|
+
}), !hideCopy && jsxRuntime.jsx(CopyButton, {
|
|
341
341
|
text: snippet.props.code
|
|
342
342
|
})]
|
|
343
343
|
})]
|
|
@@ -346,7 +346,7 @@ function CodeBlockHeader(props) {
|
|
|
346
346
|
}
|
|
347
347
|
CodeBlockHeader.displayName = "CodeBlock.Header";
|
|
348
348
|
function CodeBlockSnippet(props) {
|
|
349
|
-
return jsxRuntime.
|
|
349
|
+
return jsxRuntime.jsx(CodeSnippet.CodeSnippet, __spreadValues({}, props));
|
|
350
350
|
}
|
|
351
351
|
CodeBlockSnippet.displayName = "CodeBlock.Snippet";
|
|
352
352
|
function CodeBlock(props) {
|
|
@@ -379,9 +379,9 @@ function CodeBlock(props) {
|
|
|
379
379
|
onLanguageChange
|
|
380
380
|
};
|
|
381
381
|
}, [languages, snippet, language, onLanguageChange]);
|
|
382
|
-
return jsxRuntime.
|
|
382
|
+
return jsxRuntime.jsx(CodeSnippet.CodeBlockContext.Provider, {
|
|
383
383
|
value: context,
|
|
384
|
-
children: jsxRuntime.
|
|
384
|
+
children: jsxRuntime.jsxs("div", {
|
|
385
385
|
className: styles.CodeBlock,
|
|
386
386
|
children: [header2, snippet]
|
|
387
387
|
})
|