@easypost/easy-ui 1.0.0-alpha.62 → 1.0.0-alpha.63
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/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/Button.d.ts +1 -1
- package/Button/Button.d.ts.map +1 -1
- package/Button/Button.stories.d.ts +1 -0
- package/Button/Button.stories.d.ts.map +1 -1
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/Button/utilities.d.ts +1 -0
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +10 -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/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +14 -14
- package/CodeBlock/index.mjs +14 -14
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +56 -56
- package/DataGrid/index.mjs +56 -56
- package/DatePicker/index.js +3 -3
- package/DatePicker/index.mjs +3 -3
- package/DateRangePicker/index.js +3 -3
- package/DateRangePicker/index.mjs +3 -3
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +18 -18
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +37 -37
- package/ForgeLayout/index.mjs +37 -37
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- 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 +13 -13
- package/IconButton/index.mjs +13 -13
- 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 +19 -19
- package/Modal/index.mjs +19 -19
- package/NexusLayout/index.js +28 -28
- package/NexusLayout/index.mjs +28 -28
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +5 -5
- package/PillGroup/index.mjs +5 -5
- package/ProductLayout/index.js +22 -22
- package/ProductLayout/index.mjs +22 -22
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +1 -1
- package/RadioButtonGroup/index.js +2 -2
- package/RadioButtonGroup/index.mjs +2 -2
- 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 +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- 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 +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- 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 +1 -1
- package/TabPanels/index.mjs +1 -1
- 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 +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- 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 +25 -25
- package/VerticalNav/index.mjs +25 -25
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-D7ivIUf4.mjs → Button-DnBd1tE4.mjs} +20 -18
- package/__chunks__/{Button-Dcxti-xS.js → Button-HZGRa7IL.js} +20 -18
- package/__chunks__/{Calendar-WxiJzkoO.mjs → Calendar-COrthCOR.mjs} +1 -1
- package/__chunks__/{Calendar-D9bC6_UA.js → Calendar-fF8Ifu6-.js} +1 -1
- package/__chunks__/{CalendarBase-B_2qDiO8.mjs → CalendarBase-DfXqYv3I.mjs} +19 -19
- package/__chunks__/{CalendarBase-BYEUj-DL.js → CalendarBase-Vp3Xr9Ha.js} +19 -19
- package/__chunks__/{Card-CwZYA0Rd.mjs → Card-CRKK5X8A.mjs} +12 -12
- package/__chunks__/{Card-B0ACXPm1.js → Card-D88JRTci.js} +12 -12
- package/__chunks__/{Checkbox-CO5WIkp8.js → Checkbox-Bin5UVge.js} +19 -19
- package/__chunks__/{Checkbox-DGX3jXaj.mjs → Checkbox-DLAdFxZB.mjs} +19 -19
- package/__chunks__/{CodeSnippet-CY3KR9Ex.js → CodeSnippet-3x6WIH4w.js} +2 -2
- package/__chunks__/{CodeSnippet-DIWeGxFL.mjs → CodeSnippet-Dv1LkDCe.mjs} +2 -2
- package/__chunks__/{DatePickerBase-C6kR9zvT.js → DatePickerBase-C4wv9REt.js} +16 -16
- package/__chunks__/{DatePickerBase-BP_jPq4G.mjs → DatePickerBase-DjNK3joa.mjs} +16 -16
- package/__chunks__/{HelpMenu-nmkAgUqs.js → HelpMenu-DDg5YzkU.js} +7 -7
- package/__chunks__/{HelpMenu-QryDILTE.mjs → HelpMenu-DwxE4dED.mjs} +7 -7
- package/__chunks__/{HorizontalGrid-cSfGLAIn.js → HorizontalGrid-B5UdZtSD.js} +1 -1
- package/__chunks__/{HorizontalGrid-CX45xj2U.mjs → HorizontalGrid-CQJNpH_g.mjs} +1 -1
- package/__chunks__/{HorizontalStack-D4ecxt6R.js → HorizontalStack-BZVZY2L3.js} +1 -1
- package/__chunks__/{HorizontalStack-CdtNq_TW.mjs → HorizontalStack-F_QqY0Nh.mjs} +1 -1
- package/__chunks__/{Icon-BNi1LKXX.mjs → Icon-BP2sMOEQ.mjs} +2 -2
- package/__chunks__/{Icon-Pxk1cmPj.js → Icon-J_YUTa8G.js} +2 -2
- package/__chunks__/{InputCaption-DaOqqN-Z.mjs → InputCaption-BDIDBzxu.mjs} +2 -2
- package/__chunks__/{InputCaption-BzH_oClR.js → InputCaption-EdW8TyWi.js} +2 -2
- package/__chunks__/{InputField-0omK7H0I.mjs → InputField-BixuNEjG.mjs} +5 -5
- package/__chunks__/{InputField-Blilgkum.js → InputField-CeQG6X1e.js} +5 -5
- package/__chunks__/{InputIcon-CUhKpP7V.mjs → InputIcon-Ba5OzsKo.mjs} +31 -31
- package/__chunks__/{InputIcon-DGOX-4el.js → InputIcon-CusLxe5T.js} +31 -31
- package/__chunks__/{KebabButton-CrkSDYoR.mjs → KebabButton-BNTa7oyV.mjs} +4 -4
- package/__chunks__/{KebabButton-DH5KZwlY.js → KebabButton-BY-1XUv1.js} +4 -4
- package/__chunks__/{Menu-CbEch8RV.mjs → Menu-BTop6cMU.mjs} +11 -11
- package/__chunks__/{Menu-D8tCyOf5.js → Menu-DMRGN00c.js} +11 -11
- package/__chunks__/{Notification-BS8B_D0s.mjs → Notification-BUGy3_I5.mjs} +15 -15
- package/__chunks__/{Notification-COhKVqOV.js → Notification-DH9kYI2j.js} +15 -15
- package/__chunks__/{RadioGroup-CCObCqda.js → RadioGroup-AnutNNEP.js} +15 -15
- package/__chunks__/{RadioGroup-DZxaIqD6.mjs → RadioGroup-BGkcZ05k.mjs} +15 -15
- package/__chunks__/{RangeCalendar-CPEW2_Ij.mjs → RangeCalendar-DBT1OAVs.mjs} +1 -1
- package/__chunks__/{RangeCalendar-V_YZXfhI.js → RangeCalendar-vZBVH6tC.js} +1 -1
- package/__chunks__/{SelectOverlay-DdC6a9yW.mjs → SelectOverlay-B5f293nC.mjs} +19 -19
- package/__chunks__/{SelectOverlay-CvCbJFfX.js → SelectOverlay-LJQe-vam.js} +19 -19
- package/__chunks__/{SelectorErrorTooltip-Cja4A8Yq.mjs → SelectorErrorTooltip-CEUMKEsA.mjs} +4 -4
- package/__chunks__/{SelectorErrorTooltip-BK76kp1j.js → SelectorErrorTooltip-Dy2Mpy2O.js} +4 -4
- package/__chunks__/{Spinner-BOumHc9g.js → Spinner-BZdapiOh.js} +5 -5
- package/__chunks__/{Spinner-D5Cnx9wv.mjs → Spinner-fvqf25Op.mjs} +5 -5
- package/__chunks__/{Stepper-CZsNTl_A.js → Stepper-B9_lzdDm.js} +26 -26
- package/__chunks__/{Stepper-B4VoJaxe.mjs → Stepper-DcLt3_ji.mjs} +26 -26
- package/__chunks__/{TabNav-C0dTC1c_.mjs → TabNav-BoiZj3RP.mjs} +1 -1
- package/__chunks__/{TabNav-DFFWhGpM.js → TabNav-CwEWCqMi.js} +1 -1
- package/__chunks__/{Tabs-DbfPjHiY.js → Tabs-BFPgkckQ.js} +17 -17
- package/__chunks__/{Tabs-MBY9JDS4.mjs → Tabs-CrheURAq.mjs} +17 -17
- package/__chunks__/{Text-Bbhl1fdd.js → Text-D2pJpElk.js} +34 -34
- package/__chunks__/{Text-tpkE6IlH.mjs → Text-D_RgAqQT.mjs} +34 -34
- package/__chunks__/{TextField-Mi3s9lvx.js → TextField-CN_1Oumr.js} +1 -1
- package/__chunks__/{TextField-B57OAIEI.mjs → TextField-CTG1CCY2.mjs} +1 -1
- package/__chunks__/{Toggle-CHcQwbtX.mjs → Toggle-3m7Kw6Df.mjs} +11 -11
- package/__chunks__/{Toggle-Ctc8EPUL.js → Toggle-g6ZteN5I.js} +11 -11
- package/__chunks__/{Tooltip-DdaxfuX_.mjs → Tooltip-C6VFxZnS.mjs} +8 -8
- package/__chunks__/{Tooltip-Cf1iqjg9.js → Tooltip-CCaMosZz.js} +8 -8
- package/__chunks__/{UnstyledButton-CrSLb-W8.mjs → UnstyledButton-Ctqv-3bt.mjs} +3 -1
- package/__chunks__/{UnstyledButton-DfjYrePV.js → UnstyledButton-Dmq9K7Jv.js} +3 -1
- package/__chunks__/{VerticalStack-BkqSVZuy.js → VerticalStack-DSkRse5s.js} +3 -3
- package/__chunks__/{VerticalStack-CeDKl8Ee.mjs → VerticalStack-jXfiEwjb.mjs} +3 -3
- package/__chunks__/{useEdgeInterceptors-CnwnUfBU.js → useEdgeInterceptors-C-eRb7cQ.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-ax9tmtdh.mjs → useEdgeInterceptors-C_U6I4V4.mjs} +5 -5
- package/package.json +1 -1
- package/style.css +1048 -1029
- package/utilities/storybook.d.ts +8 -0
- package/utilities/storybook.d.ts.map +1 -1
|
@@ -27,7 +27,7 @@ var __objRest = (source, exclude) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
import React__default from "react";
|
|
30
|
-
import { I as InputField } from "./InputField-
|
|
30
|
+
import { I as InputField } from "./InputField-BixuNEjG.mjs";
|
|
31
31
|
function TextField(props) {
|
|
32
32
|
const _a = props, { type = "text", size = "md", isDisabled = false, isRequired = false, validationState = "valid", isLabelEmphasized = false, autoFocus = false } = _a, restProps = __objRest(_a, ["type", "size", "isDisabled", "isRequired", "validationState", "isLabelEmphasized", "autoFocus"]);
|
|
33
33
|
return React__default.createElement(InputField, __spreadValues({
|
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
33
33
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
34
34
|
import React__default, { forwardRef } from "react";
|
|
35
|
-
import { T as Text } from "./Text-
|
|
35
|
+
import { T as Text } from "./Text-D_RgAqQT.mjs";
|
|
36
36
|
import { classNames } from "../utilities/css.mjs";
|
|
37
37
|
import { $ as $3017fa7ffdddec74$export$8042c6c013fd5226 } from "./useToggleState-kFojjzgV.mjs";
|
|
38
38
|
import { $ as $d2c8e2b0480f3f34$export$cbe85ee05b554577 } from "./useToggle-BDx-p-Zv.mjs";
|
|
@@ -52,13 +52,13 @@ function $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {
|
|
|
52
52
|
isReadOnly
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
const Switch$1 = "
|
|
56
|
-
const focusVisible = "
|
|
57
|
-
const track = "
|
|
58
|
-
const thumb = "
|
|
59
|
-
const hovered = "
|
|
60
|
-
const disabled = "
|
|
61
|
-
const selected = "
|
|
55
|
+
const Switch$1 = "_Switch_1nbs7_5";
|
|
56
|
+
const focusVisible = "_focusVisible_1nbs7_13";
|
|
57
|
+
const track = "_track_1nbs7_25";
|
|
58
|
+
const thumb = "_thumb_1nbs7_29";
|
|
59
|
+
const hovered = "_hovered_1nbs7_33";
|
|
60
|
+
const disabled = "_disabled_1nbs7_33";
|
|
61
|
+
const selected = "_selected_1nbs7_37";
|
|
62
62
|
const styles$1 = {
|
|
63
63
|
Switch: Switch$1,
|
|
64
64
|
focusVisible,
|
|
@@ -91,9 +91,9 @@ function Switch(props) {
|
|
|
91
91
|
r: 6
|
|
92
92
|
})));
|
|
93
93
|
}
|
|
94
|
-
const Toggle$1 = "
|
|
95
|
-
const text = "
|
|
96
|
-
const input = "
|
|
94
|
+
const Toggle$1 = "_Toggle_1v9i0_5";
|
|
95
|
+
const text = "_text_1v9i0_25";
|
|
96
|
+
const input = "_input_1v9i0_26";
|
|
97
97
|
const styles = {
|
|
98
98
|
Toggle: Toggle$1,
|
|
99
99
|
text,
|
|
@@ -33,7 +33,7 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
34
34
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
35
35
|
const React = require("react");
|
|
36
|
-
const Text = require("./Text-
|
|
36
|
+
const Text = require("./Text-D2pJpElk.js");
|
|
37
37
|
const utilities_css = require("../utilities/css.js");
|
|
38
38
|
const useToggleState = require("./useToggleState-CdbEMLRz.js");
|
|
39
39
|
const useToggle = require("./useToggle-BfpHeO2F.js");
|
|
@@ -53,13 +53,13 @@ function $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {
|
|
|
53
53
|
isReadOnly
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
const Switch$1 = "
|
|
57
|
-
const focusVisible = "
|
|
58
|
-
const track = "
|
|
59
|
-
const thumb = "
|
|
60
|
-
const hovered = "
|
|
61
|
-
const disabled = "
|
|
62
|
-
const selected = "
|
|
56
|
+
const Switch$1 = "_Switch_1nbs7_5";
|
|
57
|
+
const focusVisible = "_focusVisible_1nbs7_13";
|
|
58
|
+
const track = "_track_1nbs7_25";
|
|
59
|
+
const thumb = "_thumb_1nbs7_29";
|
|
60
|
+
const hovered = "_hovered_1nbs7_33";
|
|
61
|
+
const disabled = "_disabled_1nbs7_33";
|
|
62
|
+
const selected = "_selected_1nbs7_37";
|
|
63
63
|
const styles$1 = {
|
|
64
64
|
Switch: Switch$1,
|
|
65
65
|
focusVisible,
|
|
@@ -92,9 +92,9 @@ function Switch(props) {
|
|
|
92
92
|
r: 6
|
|
93
93
|
})));
|
|
94
94
|
}
|
|
95
|
-
const Toggle$1 = "
|
|
96
|
-
const text = "
|
|
97
|
-
const input = "
|
|
95
|
+
const Toggle$1 = "_Toggle_1v9i0_5";
|
|
96
|
+
const text = "_text_1v9i0_25";
|
|
97
|
+
const input = "_input_1v9i0_26";
|
|
98
98
|
const styles = {
|
|
99
99
|
Toggle: Toggle$1,
|
|
100
100
|
text,
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import React__default, { useMemo, useRef, useEffect, useLayoutEffect } from "react";
|
|
21
|
-
import { T as Text } from "./Text-
|
|
21
|
+
import { T as Text } from "./Text-D_RgAqQT.mjs";
|
|
22
22
|
import { getComponentToken, pxToRem, classNames } from "../utilities/css.mjs";
|
|
23
23
|
import { c as $fc909762b330b746$export$61c6a8c84e605fb6, d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-DyfvFsGi.mjs";
|
|
24
24
|
import { $ as $507fabe10e71c6fb$export$630ff653c5ada6a9, b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-ng1Hn25t.mjs";
|
|
@@ -215,13 +215,13 @@ function $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {
|
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
const Tooltip$1 = "
|
|
219
|
-
const text = "
|
|
220
|
-
const arrow = "
|
|
221
|
-
const top = "
|
|
222
|
-
const bottom = "
|
|
223
|
-
const left = "
|
|
224
|
-
const right = "
|
|
218
|
+
const Tooltip$1 = "_Tooltip_1kffe_5";
|
|
219
|
+
const text = "_text_1kffe_25";
|
|
220
|
+
const arrow = "_arrow_1kffe_31";
|
|
221
|
+
const top = "_top_1kffe_40";
|
|
222
|
+
const bottom = "_bottom_1kffe_41";
|
|
223
|
+
const left = "_left_1kffe_45";
|
|
224
|
+
const right = "_right_1kffe_46";
|
|
225
225
|
const styles = {
|
|
226
226
|
Tooltip: Tooltip$1,
|
|
227
227
|
text,
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
|
-
const Text = require("./Text-
|
|
22
|
+
const Text = require("./Text-D2pJpElk.js");
|
|
23
23
|
const utilities_css = require("../utilities/css.js");
|
|
24
24
|
const Overlay = require("./Overlay-Dmwy9VjC.js");
|
|
25
25
|
const useFocusVisible = require("./useFocusVisible-PBQuklI8.js");
|
|
@@ -216,13 +216,13 @@ function $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {
|
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
-
const Tooltip$1 = "
|
|
220
|
-
const text = "
|
|
221
|
-
const arrow = "
|
|
222
|
-
const top = "
|
|
223
|
-
const bottom = "
|
|
224
|
-
const left = "
|
|
225
|
-
const right = "
|
|
219
|
+
const Tooltip$1 = "_Tooltip_1kffe_5";
|
|
220
|
+
const text = "_text_1kffe_25";
|
|
221
|
+
const arrow = "_arrow_1kffe_31";
|
|
222
|
+
const top = "_top_1kffe_40";
|
|
223
|
+
const bottom = "_bottom_1kffe_41";
|
|
224
|
+
const left = "_left_1kffe_45";
|
|
225
|
+
const right = "_right_1kffe_46";
|
|
226
226
|
const styles = {
|
|
227
227
|
Tooltip: Tooltip$1,
|
|
228
228
|
text,
|
|
@@ -38,12 +38,14 @@ import { $ as $701a24aa0da5b062$export$ea18c227d4417cc3 } from "./useButton-BK6h
|
|
|
38
38
|
const FILLED_BUTTON_COLORS = ["primary", "secondary", "success", "warning", "neutral"];
|
|
39
39
|
const OUTLINED_BUTTON_COLORS = ["primary", "secondary", "support", "warning", "inverse"];
|
|
40
40
|
const LINK_BUTTON_COLORS = ["primary", "secondary"];
|
|
41
|
+
const TEXT_BUTTON_COLORS = ["primary", "secondary"];
|
|
41
42
|
function logWarningIfInvalidColorVariantCombination(color, variant) {
|
|
42
43
|
var _a;
|
|
43
44
|
const validColorVariantCombinations = {
|
|
44
45
|
filled: FILLED_BUTTON_COLORS,
|
|
45
46
|
outlined: OUTLINED_BUTTON_COLORS,
|
|
46
|
-
link: LINK_BUTTON_COLORS
|
|
47
|
+
link: LINK_BUTTON_COLORS,
|
|
48
|
+
text: TEXT_BUTTON_COLORS
|
|
47
49
|
};
|
|
48
50
|
if (!((_a = validColorVariantCombinations[variant]) == null ? void 0 : _a.includes(color))) {
|
|
49
51
|
console.warn(`The color '${color}' is not supported with the '${variant}' variant`);
|
|
@@ -39,12 +39,14 @@ const useButton = require("./useButton-DZ0C3d-K.js");
|
|
|
39
39
|
const FILLED_BUTTON_COLORS = ["primary", "secondary", "success", "warning", "neutral"];
|
|
40
40
|
const OUTLINED_BUTTON_COLORS = ["primary", "secondary", "support", "warning", "inverse"];
|
|
41
41
|
const LINK_BUTTON_COLORS = ["primary", "secondary"];
|
|
42
|
+
const TEXT_BUTTON_COLORS = ["primary", "secondary"];
|
|
42
43
|
function logWarningIfInvalidColorVariantCombination(color, variant) {
|
|
43
44
|
var _a;
|
|
44
45
|
const validColorVariantCombinations = {
|
|
45
46
|
filled: FILLED_BUTTON_COLORS,
|
|
46
47
|
outlined: OUTLINED_BUTTON_COLORS,
|
|
47
|
-
link: LINK_BUTTON_COLORS
|
|
48
|
+
link: LINK_BUTTON_COLORS,
|
|
49
|
+
text: TEXT_BUTTON_COLORS
|
|
48
50
|
};
|
|
49
51
|
if (!((_a = validColorVariantCombinations[variant]) == null ? void 0 : _a.includes(color))) {
|
|
50
52
|
console.warn(`The color '${color}' is not supported with the '${variant}' variant`);
|
|
@@ -32,9 +32,9 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const utilities_css = require("../utilities/css.js");
|
|
35
|
-
const VerticalStack$1 = "
|
|
36
|
-
const listReset = "
|
|
37
|
-
const fieldsetReset = "
|
|
35
|
+
const VerticalStack$1 = "_VerticalStack_1iuj9_5";
|
|
36
|
+
const listReset = "_listReset_1iuj9_58";
|
|
37
|
+
const fieldsetReset = "_fieldsetReset_1iuj9_65";
|
|
38
38
|
const styles = {
|
|
39
39
|
VerticalStack: VerticalStack$1,
|
|
40
40
|
listReset,
|
|
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { forwardRef } from "react";
|
|
33
33
|
import { classNames, getResponsiveDesignToken, getComponentToken, sanitizeCustomProperties } from "../utilities/css.mjs";
|
|
34
|
-
const VerticalStack$1 = "
|
|
35
|
-
const listReset = "
|
|
36
|
-
const fieldsetReset = "
|
|
34
|
+
const VerticalStack$1 = "_VerticalStack_1iuj9_5";
|
|
35
|
+
const listReset = "_listReset_1iuj9_58";
|
|
36
|
+
const fieldsetReset = "_fieldsetReset_1iuj9_65";
|
|
37
37
|
const styles = {
|
|
38
38
|
VerticalStack: VerticalStack$1,
|
|
39
39
|
listReset,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
const React = require("react");
|
|
3
3
|
const useIntersectionDetection = require("./useIntersectionDetection-DI5n4zwA.js");
|
|
4
4
|
const utilities_css = require("../utilities/css.js");
|
|
5
|
-
const interceptor = "
|
|
6
|
-
const top = "
|
|
7
|
-
const bottom = "
|
|
8
|
-
const left = "
|
|
9
|
-
const right = "
|
|
5
|
+
const interceptor = "_interceptor_f1aem_5";
|
|
6
|
+
const top = "_top_f1aem_13";
|
|
7
|
+
const bottom = "_bottom_f1aem_14";
|
|
8
|
+
const left = "_left_f1aem_18";
|
|
9
|
+
const right = "_right_f1aem_19";
|
|
10
10
|
const styles = {
|
|
11
11
|
interceptor,
|
|
12
12
|
top,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useRef, useCallback } from "react";
|
|
2
2
|
import { u as useIntersectionDetection } from "./useIntersectionDetection-BvUmtDgl.mjs";
|
|
3
3
|
import { classNames } from "../utilities/css.mjs";
|
|
4
|
-
const interceptor = "
|
|
5
|
-
const top = "
|
|
6
|
-
const bottom = "
|
|
7
|
-
const left = "
|
|
8
|
-
const right = "
|
|
4
|
+
const interceptor = "_interceptor_f1aem_5";
|
|
5
|
+
const top = "_top_f1aem_13";
|
|
6
|
+
const bottom = "_bottom_f1aem_14";
|
|
7
|
+
const left = "_left_f1aem_18";
|
|
8
|
+
const right = "_right_f1aem_19";
|
|
9
9
|
const styles = {
|
|
10
10
|
interceptor,
|
|
11
11
|
top,
|