@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
|
@@ -30,12 +30,12 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const jsxRuntime = require("
|
|
33
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
34
34
|
const mergeProps = require("./mergeProps-DLPcevok.js");
|
|
35
35
|
const mergeRefs = require("./mergeRefs-qNwPManW.js");
|
|
36
36
|
const useObjectRef = require("./useObjectRef-Bma_uNHw.js");
|
|
37
37
|
const React = require("react");
|
|
38
|
-
const Text = require("./Text-
|
|
38
|
+
const Text = require("./Text-DkzMEqky.js");
|
|
39
39
|
const utilities_css = require("../utilities/css.js");
|
|
40
40
|
const useToggleState = require("./useToggleState-BYfp0R5h.js");
|
|
41
41
|
const useToggle = require("./useToggle-m_Bxvur2.js");
|
|
@@ -80,20 +80,20 @@ const styles$1 = {
|
|
|
80
80
|
function Switch(props) {
|
|
81
81
|
const { isDisabled, isFocusVisible, isHovered, isSelected, variant } = props;
|
|
82
82
|
const className = utilities_css.classNames(styles$1.Switch, isDisabled && styles$1.disabled, styles$1[utilities_css.variationName("variant", variant)], isFocusVisible && styles$1.focusVisible, isHovered && styles$1.hovered, isSelected && styles$1.selected);
|
|
83
|
-
return jsxRuntime.
|
|
83
|
+
return jsxRuntime.jsx("span", {
|
|
84
84
|
className,
|
|
85
|
-
children: jsxRuntime.
|
|
85
|
+
children: jsxRuntime.jsxs("svg", {
|
|
86
86
|
width: 32,
|
|
87
87
|
height: 16,
|
|
88
88
|
"aria-hidden": "true",
|
|
89
|
-
children: [jsxRuntime.
|
|
89
|
+
children: [jsxRuntime.jsx("rect", {
|
|
90
90
|
className: styles$1.track,
|
|
91
91
|
x: 0,
|
|
92
92
|
y: 0,
|
|
93
93
|
width: 32,
|
|
94
94
|
height: 16,
|
|
95
95
|
rx: 8
|
|
96
|
-
}), jsxRuntime.
|
|
96
|
+
}), jsxRuntime.jsx("circle", {
|
|
97
97
|
className: styles$1.thumb,
|
|
98
98
|
cx: isSelected ? 32 - 8 : 8,
|
|
99
99
|
cy: 8,
|
|
@@ -143,20 +143,20 @@ const Toggle = React.forwardRef((props, externalRef) => {
|
|
|
143
143
|
const RootComponent = children ? "label" : "span";
|
|
144
144
|
const rootProps = children ? hoverProps : {};
|
|
145
145
|
const inputProps = children ? mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(restProps, inputPropsFromSwitch, focusProps) : mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(restProps, inputPropsFromSwitch, focusProps, hoverProps);
|
|
146
|
-
return jsxRuntime.
|
|
146
|
+
return jsxRuntime.jsxs(RootComponent, __spreadProps(__spreadValues({}, rootProps), {
|
|
147
147
|
className,
|
|
148
|
-
children: [jsxRuntime.
|
|
148
|
+
children: [jsxRuntime.jsx("input", __spreadProps(__spreadValues({}, inputProps), {
|
|
149
149
|
className: styles.input,
|
|
150
150
|
ref: mergedRef
|
|
151
|
-
})), jsxRuntime.
|
|
151
|
+
})), jsxRuntime.jsx(Switch, {
|
|
152
152
|
isDisabled,
|
|
153
153
|
isFocusVisible,
|
|
154
154
|
isHovered,
|
|
155
155
|
isSelected,
|
|
156
156
|
variant
|
|
157
|
-
}), children && jsxRuntime.
|
|
157
|
+
}), children && jsxRuntime.jsx("span", {
|
|
158
158
|
className: styles.text,
|
|
159
|
-
children: jsxRuntime.
|
|
159
|
+
children: jsxRuntime.jsx(Text.Text, {
|
|
160
160
|
variant: "body1",
|
|
161
161
|
color: textColor,
|
|
162
162
|
children
|
|
@@ -29,12 +29,12 @@ 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 { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-COnPag8r.mjs";
|
|
34
34
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-ClQjEiLh.mjs";
|
|
35
35
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-77h4G8qk.mjs";
|
|
36
36
|
import React__default, { forwardRef } from "react";
|
|
37
|
-
import { T as Text } from "./Text-
|
|
37
|
+
import { T as Text } from "./Text-D6oT5WJQ.mjs";
|
|
38
38
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
39
39
|
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggleState-BLVhvfl9.mjs";
|
|
40
40
|
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "./useToggle-THIfY8rz.mjs";
|
|
@@ -79,20 +79,20 @@ const styles$1 = {
|
|
|
79
79
|
function Switch(props) {
|
|
80
80
|
const { isDisabled, isFocusVisible, isHovered, isSelected, variant } = props;
|
|
81
81
|
const className = classNames(styles$1.Switch, isDisabled && styles$1.disabled, styles$1[variationName("variant", variant)], isFocusVisible && styles$1.focusVisible, isHovered && styles$1.hovered, isSelected && styles$1.selected);
|
|
82
|
-
return
|
|
82
|
+
return jsx("span", {
|
|
83
83
|
className,
|
|
84
|
-
children:
|
|
84
|
+
children: jsxs("svg", {
|
|
85
85
|
width: 32,
|
|
86
86
|
height: 16,
|
|
87
87
|
"aria-hidden": "true",
|
|
88
|
-
children: [
|
|
88
|
+
children: [jsx("rect", {
|
|
89
89
|
className: styles$1.track,
|
|
90
90
|
x: 0,
|
|
91
91
|
y: 0,
|
|
92
92
|
width: 32,
|
|
93
93
|
height: 16,
|
|
94
94
|
rx: 8
|
|
95
|
-
}),
|
|
95
|
+
}), jsx("circle", {
|
|
96
96
|
className: styles$1.thumb,
|
|
97
97
|
cx: isSelected ? 32 - 8 : 8,
|
|
98
98
|
cy: 8,
|
|
@@ -142,20 +142,20 @@ const Toggle = forwardRef((props, externalRef) => {
|
|
|
142
142
|
const RootComponent = children ? "label" : "span";
|
|
143
143
|
const rootProps = children ? hoverProps : {};
|
|
144
144
|
const inputProps = children ? $3ef42575df84b30b$export$9d1611c77c2fe928(restProps, inputPropsFromSwitch, focusProps) : $3ef42575df84b30b$export$9d1611c77c2fe928(restProps, inputPropsFromSwitch, focusProps, hoverProps);
|
|
145
|
-
return
|
|
145
|
+
return jsxs(RootComponent, __spreadProps(__spreadValues({}, rootProps), {
|
|
146
146
|
className,
|
|
147
|
-
children: [
|
|
147
|
+
children: [jsx("input", __spreadProps(__spreadValues({}, inputProps), {
|
|
148
148
|
className: styles.input,
|
|
149
149
|
ref: mergedRef
|
|
150
|
-
})),
|
|
150
|
+
})), jsx(Switch, {
|
|
151
151
|
isDisabled,
|
|
152
152
|
isFocusVisible,
|
|
153
153
|
isHovered,
|
|
154
154
|
isSelected,
|
|
155
155
|
variant
|
|
156
|
-
}), children &&
|
|
156
|
+
}), children && jsx("span", {
|
|
157
157
|
className: styles.text,
|
|
158
|
-
children:
|
|
158
|
+
children: jsx(Text, {
|
|
159
159
|
variant: "body1",
|
|
160
160
|
color: textColor,
|
|
161
161
|
children
|
|
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const jsxRuntime = require("
|
|
21
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
22
22
|
const React = require("react");
|
|
23
|
-
const Text = require("./Text-
|
|
23
|
+
const Text = require("./Text-DkzMEqky.js");
|
|
24
24
|
const utilities_css = require("../utilities/css.js");
|
|
25
25
|
const Overlay = require("./Overlay-BNP_t3v4.js");
|
|
26
26
|
const useFocusVisible = require("./useFocusVisible-BNcpO5Sv.js");
|
|
@@ -251,11 +251,11 @@ function Tooltip(props) {
|
|
|
251
251
|
});
|
|
252
252
|
const tooltipTriggerState = $8796f90736e175cb$export$4d40659c25ecb50b(triggerInputProps);
|
|
253
253
|
const { triggerProps, tooltipProps: tooltipPropsFromTrigger } = $4e1b34546679e357$export$a6da6c504e4bba8b(triggerInputProps, tooltipTriggerState, triggerRef);
|
|
254
|
-
return jsxRuntime.
|
|
254
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
255
255
|
children: [React.cloneElement(children, __spreadProps(__spreadValues({}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(triggerProps, children.props)), {
|
|
256
256
|
ref: triggerRef
|
|
257
|
-
})), tooltipTriggerState.isOpen && jsxRuntime.
|
|
258
|
-
children: jsxRuntime.
|
|
257
|
+
})), tooltipTriggerState.isOpen && jsxRuntime.jsx(Overlay.$337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
258
|
+
children: jsxRuntime.jsx(TooltipInner, __spreadProps(__spreadValues({}, props), {
|
|
259
259
|
triggerRef,
|
|
260
260
|
tooltipPropsFromTrigger,
|
|
261
261
|
tooltipTriggerState
|
|
@@ -281,19 +281,19 @@ function TooltipInner(props) {
|
|
|
281
281
|
React.useLayoutEffect(() => {
|
|
282
282
|
updatePosition();
|
|
283
283
|
}, [content, updatePosition]);
|
|
284
|
-
return jsxRuntime.
|
|
284
|
+
return jsxRuntime.jsxs("span", __spreadProps(__spreadValues({
|
|
285
285
|
ref: tooltipRef
|
|
286
286
|
}, tooltipProps), {
|
|
287
287
|
className: utilities_css.classNames(styles.Tooltip, placement && styles[placement]),
|
|
288
288
|
"data-placement": placement,
|
|
289
289
|
style,
|
|
290
|
-
children: [jsxRuntime.
|
|
290
|
+
children: [jsxRuntime.jsx("span", {
|
|
291
291
|
className: styles.text,
|
|
292
|
-
children: jsxRuntime.
|
|
292
|
+
children: jsxRuntime.jsx(Text.Text, {
|
|
293
293
|
variant: "subtitle2",
|
|
294
294
|
children: content
|
|
295
295
|
})
|
|
296
|
-
}), jsxRuntime.
|
|
296
|
+
}), jsxRuntime.jsx("span", __spreadValues({
|
|
297
297
|
className: styles.arrow
|
|
298
298
|
}, arrowProps))]
|
|
299
299
|
}));
|
|
@@ -17,9 +17,9 @@ 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, Fragment, jsx } from "react/jsx-runtime";
|
|
21
21
|
import React__default, { useMemo, useRef, useEffect, useLayoutEffect } from "react";
|
|
22
|
-
import { T as Text } from "./Text-
|
|
22
|
+
import { T as Text } from "./Text-D6oT5WJQ.mjs";
|
|
23
23
|
import { getComponentToken, pxToRem, classNames } from "../utilities/css.mjs";
|
|
24
24
|
import { a as $fc909762b330b746$export$61c6a8c84e605fb6, d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-Dkjxuk6V.mjs";
|
|
25
25
|
import { v as $507fabe10e71c6fb$export$630ff653c5ada6a9, g as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-DDvp2PwR.mjs";
|
|
@@ -250,11 +250,11 @@ function Tooltip(props) {
|
|
|
250
250
|
});
|
|
251
251
|
const tooltipTriggerState = $8796f90736e175cb$export$4d40659c25ecb50b(triggerInputProps);
|
|
252
252
|
const { triggerProps, tooltipProps: tooltipPropsFromTrigger } = $4e1b34546679e357$export$a6da6c504e4bba8b(triggerInputProps, tooltipTriggerState, triggerRef);
|
|
253
|
-
return
|
|
253
|
+
return jsxs(Fragment, {
|
|
254
254
|
children: [React__default.cloneElement(children, __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(triggerProps, children.props)), {
|
|
255
255
|
ref: triggerRef
|
|
256
|
-
})), tooltipTriggerState.isOpen &&
|
|
257
|
-
children:
|
|
256
|
+
})), tooltipTriggerState.isOpen && jsx($337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
257
|
+
children: jsx(TooltipInner, __spreadProps(__spreadValues({}, props), {
|
|
258
258
|
triggerRef,
|
|
259
259
|
tooltipPropsFromTrigger,
|
|
260
260
|
tooltipTriggerState
|
|
@@ -280,19 +280,19 @@ function TooltipInner(props) {
|
|
|
280
280
|
useLayoutEffect(() => {
|
|
281
281
|
updatePosition();
|
|
282
282
|
}, [content, updatePosition]);
|
|
283
|
-
return
|
|
283
|
+
return jsxs("span", __spreadProps(__spreadValues({
|
|
284
284
|
ref: tooltipRef
|
|
285
285
|
}, tooltipProps), {
|
|
286
286
|
className: classNames(styles.Tooltip, placement && styles[placement]),
|
|
287
287
|
"data-placement": placement,
|
|
288
288
|
style,
|
|
289
|
-
children: [
|
|
289
|
+
children: [jsx("span", {
|
|
290
290
|
className: styles.text,
|
|
291
|
-
children:
|
|
291
|
+
children: jsx(Text, {
|
|
292
292
|
variant: "subtitle2",
|
|
293
293
|
children: content
|
|
294
294
|
})
|
|
295
|
-
}),
|
|
295
|
+
}), jsx("span", __spreadValues({
|
|
296
296
|
className: styles.arrow
|
|
297
297
|
}, arrowProps))]
|
|
298
298
|
}));
|
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const jsxRuntime = require("
|
|
33
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
34
34
|
const mergeProps = require("./mergeProps-DLPcevok.js");
|
|
35
35
|
const mergeRefs = require("./mergeRefs-qNwPManW.js");
|
|
36
36
|
const useObjectRef = require("./useObjectRef-Bma_uNHw.js");
|
|
@@ -69,7 +69,7 @@ const UnstyledButton = React.forwardRef((props, inRef) => {
|
|
|
69
69
|
const { buttonProps: elementProps } = useButton.$701a24aa0da5b062$export$ea18c227d4417cc3(__spreadProps(__spreadValues({}, props), {
|
|
70
70
|
elementType: As
|
|
71
71
|
}), ref);
|
|
72
|
-
return jsxRuntime.
|
|
72
|
+
return jsxRuntime.jsx(As, __spreadProps(__spreadValues({}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(omitReactAriaSpecificProps(restProps), elementProps)), {
|
|
73
73
|
disabled: isDisabled,
|
|
74
74
|
ref: mergedRef,
|
|
75
75
|
className: utilities_css.classNames(styles.UnstyledButton, className),
|
|
@@ -29,7 +29,7 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
32
|
+
import { jsx } from "react/jsx-runtime";
|
|
33
33
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-COnPag8r.mjs";
|
|
34
34
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-ClQjEiLh.mjs";
|
|
35
35
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-77h4G8qk.mjs";
|
|
@@ -68,7 +68,7 @@ const UnstyledButton = forwardRef((props, inRef) => {
|
|
|
68
68
|
const { buttonProps: elementProps } = $701a24aa0da5b062$export$ea18c227d4417cc3(__spreadProps(__spreadValues({}, props), {
|
|
69
69
|
elementType: As
|
|
70
70
|
}), ref);
|
|
71
|
-
return
|
|
71
|
+
return jsx(As, __spreadProps(__spreadValues({}, $3ef42575df84b30b$export$9d1611c77c2fe928(omitReactAriaSpecificProps(restProps), elementProps)), {
|
|
72
72
|
disabled: isDisabled,
|
|
73
73
|
ref: mergedRef,
|
|
74
74
|
className: classNames(styles.UnstyledButton, className),
|
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const jsxRuntime = require("
|
|
33
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
36
|
const VerticalStack$1 = "_VerticalStack_ele7k_4";
|
|
@@ -45,7 +45,7 @@ const VerticalStack = React.forwardRef((props, ref) => {
|
|
|
45
45
|
const _a = props, { as: As = "div", align, children, gap, inline, inlineAlign, reverseOrder = false } = _a, restProps = __objRest(_a, ["as", "align", "children", "gap", "inline", "inlineAlign", "reverseOrder"]);
|
|
46
46
|
const className = utilities_css.classNames(styles.VerticalStack, (As === "ul" || As === "ol") && styles.listReset, As === "fieldset" && styles.fieldsetReset);
|
|
47
47
|
const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, utilities_css.getResponsiveDesignToken("vertical-stack", "gap", "space", gap)), utilities_css.getComponentToken("vertical-stack", "align", align)), utilities_css.getComponentToken("vertical-stack", "inline-align", inlineAlign)), utilities_css.getComponentToken("vertical-stack", "order", reverseOrder ? "column-reverse" : "column")), utilities_css.getComponentToken("vertical-stack", "display", inline ? "inline-flex" : "flex"));
|
|
48
|
-
return jsxRuntime.
|
|
48
|
+
return jsxRuntime.jsx(As, __spreadProps(__spreadValues({}, restProps), {
|
|
49
49
|
className,
|
|
50
50
|
style: utilities_css.sanitizeCustomProperties(style),
|
|
51
51
|
ref,
|
|
@@ -29,7 +29,7 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import {
|
|
32
|
+
import { jsx } from "react/jsx-runtime";
|
|
33
33
|
import { forwardRef } from "react";
|
|
34
34
|
import { classNames, getComponentToken, getResponsiveDesignToken, sanitizeCustomProperties } from "../utilities/css.mjs";
|
|
35
35
|
const VerticalStack$1 = "_VerticalStack_ele7k_4";
|
|
@@ -44,7 +44,7 @@ const VerticalStack = forwardRef((props, ref) => {
|
|
|
44
44
|
const _a = props, { as: As = "div", align, children, gap, inline, inlineAlign, reverseOrder = false } = _a, restProps = __objRest(_a, ["as", "align", "children", "gap", "inline", "inlineAlign", "reverseOrder"]);
|
|
45
45
|
const className = classNames(styles.VerticalStack, (As === "ul" || As === "ol") && styles.listReset, As === "fieldset" && styles.fieldsetReset);
|
|
46
46
|
const style = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, getResponsiveDesignToken("vertical-stack", "gap", "space", gap)), getComponentToken("vertical-stack", "align", align)), getComponentToken("vertical-stack", "inline-align", inlineAlign)), getComponentToken("vertical-stack", "order", reverseOrder ? "column-reverse" : "column")), getComponentToken("vertical-stack", "display", inline ? "inline-flex" : "flex"));
|
|
47
|
-
return
|
|
47
|
+
return jsx(As, __spreadProps(__spreadValues({}, restProps), {
|
|
48
48
|
className,
|
|
49
49
|
style: sanitizeCustomProperties(style),
|
|
50
50
|
ref,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useCallback } from "react";
|
|
3
3
|
import { u as useIntersectionDetection } from "./useIntersectionDetection-BvUmtDgl.mjs";
|
|
4
4
|
import { classNames } from "../utilities/css.mjs";
|
|
@@ -24,17 +24,17 @@ function useEdgeInterceptors(containerRef) {
|
|
|
24
24
|
const isLeftEdgeUnderScroll = useIntersectionDetection(leftInterceptorRef, containerRef);
|
|
25
25
|
const isRightEdgeUnderScroll = useIntersectionDetection(rightInterceptorRef, containerRef);
|
|
26
26
|
const renderInterceptors = useCallback(() => {
|
|
27
|
-
return
|
|
28
|
-
children: [
|
|
27
|
+
return jsxs(Fragment, {
|
|
28
|
+
children: [jsx("div", {
|
|
29
29
|
ref: topInterceptorRef,
|
|
30
30
|
className: classNames(styles.interceptor, styles.top)
|
|
31
|
-
}),
|
|
31
|
+
}), jsx("div", {
|
|
32
32
|
ref: bottomInterceptorRef,
|
|
33
33
|
className: classNames(styles.interceptor, styles.bottom)
|
|
34
|
-
}),
|
|
34
|
+
}), jsx("div", {
|
|
35
35
|
ref: leftInterceptorRef,
|
|
36
36
|
className: classNames(styles.interceptor, styles.left)
|
|
37
|
-
}),
|
|
37
|
+
}), jsx("div", {
|
|
38
38
|
ref: rightInterceptorRef,
|
|
39
39
|
className: classNames(styles.interceptor, styles.right)
|
|
40
40
|
})]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const jsxRuntime = require("
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const useIntersectionDetection = require("./useIntersectionDetection-DI5n4zwA.js");
|
|
5
5
|
const utilities_css = require("../utilities/css.js");
|
|
@@ -25,17 +25,17 @@ function useEdgeInterceptors(containerRef) {
|
|
|
25
25
|
const isLeftEdgeUnderScroll = useIntersectionDetection.useIntersectionDetection(leftInterceptorRef, containerRef);
|
|
26
26
|
const isRightEdgeUnderScroll = useIntersectionDetection.useIntersectionDetection(rightInterceptorRef, containerRef);
|
|
27
27
|
const renderInterceptors = React.useCallback(() => {
|
|
28
|
-
return jsxRuntime.
|
|
29
|
-
children: [jsxRuntime.
|
|
28
|
+
return jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
29
|
+
children: [jsxRuntime.jsx("div", {
|
|
30
30
|
ref: topInterceptorRef,
|
|
31
31
|
className: utilities_css.classNames(styles.interceptor, styles.top)
|
|
32
|
-
}), jsxRuntime.
|
|
32
|
+
}), jsxRuntime.jsx("div", {
|
|
33
33
|
ref: bottomInterceptorRef,
|
|
34
34
|
className: utilities_css.classNames(styles.interceptor, styles.bottom)
|
|
35
|
-
}), jsxRuntime.
|
|
35
|
+
}), jsxRuntime.jsx("div", {
|
|
36
36
|
ref: leftInterceptorRef,
|
|
37
37
|
className: utilities_css.classNames(styles.interceptor, styles.left)
|
|
38
|
-
}), jsxRuntime.
|
|
38
|
+
}), jsxRuntime.jsx("div", {
|
|
39
39
|
ref: rightInterceptorRef,
|
|
40
40
|
className: utilities_css.classNames(styles.interceptor, styles.right)
|
|
41
41
|
})]
|