@easypost/easy-ui 1.0.0-alpha.50 → 1.0.0-alpha.52
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 +3 -1
- package/Button/Button.d.ts.map +1 -1
- package/Button/Button.stories.d.ts +10 -9
- 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 +3 -0
- package/Button/utilities.d.ts.map +1 -1
- package/CHANGELOG.md +14 -0
- package/Calendar/index.js +16 -16
- package/Calendar/index.mjs +25 -25
- 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 +16 -16
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +59 -59
- package/DataGrid/index.mjs +73 -73
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +21 -21
- package/DropdownButton/DropdownButton.stories.d.ts +5 -5
- package/DropdownButton/DropdownButton.stories.d.ts.map +1 -1
- 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/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/IconButton.stories.d.ts +5 -5
- package/IconButton/IconButton.stories.d.ts.map +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/InputField/useInputField.d.ts +1 -1
- package/Menu/Menu.stories.d.ts +3 -0
- package/Menu/Menu.stories.d.ts.map +1 -1
- package/Menu/MenuItem.d.ts.map +1 -1
- package/Menu/MenuOverlay.d.ts +17 -1
- package/Menu/MenuOverlay.d.ts.map +1 -1
- package/Menu/MenuSection.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Menu/utilities.d.ts +14 -0
- package/Menu/utilities.d.ts.map +1 -1
- package/Modal/index.js +19 -19
- package/Modal/index.mjs +22 -22
- package/NexusLayout/index.js +29 -29
- package/NexusLayout/index.mjs +32 -32
- 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 +6 -6
- package/PillGroup/index.mjs +21 -21
- package/ProductLayout/index.js +22 -22
- package/ProductLayout/index.mjs +25 -25
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +2 -2
- package/RadioGroup/index.js +16 -16
- package/RadioGroup/index.mjs +25 -25
- package/SearchNav/index.js +30 -30
- package/SearchNav/index.mjs +30 -30
- 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 +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 +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 +26 -26
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Cozw9-m0.mjs → Button-B-PwoC5y.mjs} +18 -18
- package/__chunks__/{Button-C-mB1EYo.js → Button-C8CAs9Ya.js} +18 -18
- package/__chunks__/{Card-D5esBfKs.mjs → Card-BWhI0hJm.mjs} +12 -12
- package/__chunks__/{Card-CdZZPjdi.js → Card-UU3JcpMA.js} +12 -12
- package/__chunks__/{Checkbox-fgdDL8Px.mjs → Checkbox-BZqZjAnI.mjs} +24 -24
- package/__chunks__/{Checkbox-DwWYoXAb.js → Checkbox-CqRLbwPQ.js} +20 -20
- package/__chunks__/{CodeSnippet-58AO7aHj.js → CodeSnippet-B1oVvl-o.js} +2 -2
- package/__chunks__/{CodeSnippet-CvGyrwuz.mjs → CodeSnippet-pRcbJYFv.mjs} +2 -2
- package/__chunks__/{FocusScope-DvD_pBFD.mjs → FocusScope-CjqREKhC.mjs} +3 -3
- package/__chunks__/{HelpMenu-DVYCUwcR.mjs → HelpMenu-BqXmt7b0.mjs} +7 -7
- package/__chunks__/{HelpMenu-DSWVDWlE.js → HelpMenu-c9NnR9pL.js} +7 -7
- package/__chunks__/{HorizontalGrid-DHOuWfNd.mjs → HorizontalGrid-DdZMHCh6.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-C7kgKRft.js → HorizontalGrid-LK3oV1Xf.js} +1 -1
- package/__chunks__/{HorizontalStack-BfGot1sk.mjs → HorizontalStack-Cj64cYl-.mjs} +1 -1
- package/__chunks__/{HorizontalStack-B55fQ7wl.js → HorizontalStack-CyOBQGUF.js} +1 -1
- package/__chunks__/{Icon-B9N6In4d.mjs → Icon-BmhO04p4.mjs} +2 -2
- package/__chunks__/{Icon-0Aepk36j.js → Icon-vgTkejl_.js} +2 -2
- package/__chunks__/{InputField-CFm0QRF2.js → InputField-nGv1FZJR.js} +5 -5
- package/__chunks__/{InputField-DpZDDBRI.mjs → InputField-w-orC_z_.mjs} +10 -10
- package/__chunks__/{InputIcon-C0O8aQLE.mjs → InputIcon-D5WHF9JB.mjs} +25 -25
- package/__chunks__/{InputIcon-BDeDh51H.js → InputIcon-eg1DDtXb.js} +25 -25
- package/__chunks__/{Menu-DFIPOTVY.mjs → Menu-Bo7BjljK.mjs} +78 -31
- package/__chunks__/{Menu-y3ibNiZf.js → Menu-ComLF8Lu.js} +72 -25
- package/__chunks__/{Notification-C2f4ZUOA.mjs → Notification-B344rGS6.mjs} +20 -20
- package/__chunks__/{Notification-DKf4hi-k.js → Notification-BZ3ybUEX.js} +15 -15
- package/__chunks__/{Overlay-NSOiekJL.mjs → Overlay-Dz_4R38U.mjs} +2 -2
- package/__chunks__/{SelectOverlay-C06AcPFT.js → SelectOverlay-DQgtS85D.js} +21 -21
- package/__chunks__/{SelectOverlay-D9bddTht.mjs → SelectOverlay-Dlh7kgJP.mjs} +32 -32
- package/__chunks__/{SelectorErrorTooltip-houttOE4.mjs → SelectorErrorTooltip-BkPBRxMN.mjs} +4 -4
- package/__chunks__/{SelectorErrorTooltip-B4c63TSV.js → SelectorErrorTooltip-PmNc0Njc.js} +4 -4
- package/__chunks__/{Spinner-uRV-Py_H.mjs → Spinner-7zBK2Xm-.mjs} +8 -8
- package/__chunks__/{Spinner-CrvpgZz3.js → Spinner-DzWjiJW-.js} +5 -5
- package/__chunks__/{Stepper-8pmHgGMW.mjs → Stepper-CSyqKD6E.mjs} +28 -28
- package/__chunks__/{Stepper-CzOhqh9s.js → Stepper-D_Eb3lcZ.js} +26 -26
- package/__chunks__/{TabNav-VfVP0i2f.js → TabNav-bXzfdbir.js} +1 -1
- package/__chunks__/{TabNav-BLHhKoF3.mjs → TabNav-ihtxj9yI.mjs} +1 -1
- package/__chunks__/{Tabs-BF2fjh5_.mjs → Tabs-CJ0TRL3H.mjs} +19 -19
- package/__chunks__/{Tabs-hmc36j2A.js → Tabs-CmmF0WMQ.js} +17 -17
- package/__chunks__/{Text-Co1k1a0Q.mjs → Text-CLXCmUFd.mjs} +34 -34
- package/__chunks__/{Text-CLNl4ktK.js → Text-DN9QVNH4.js} +34 -34
- package/__chunks__/{Toggle-B56Z2_Wn.js → Toggle-D4oyHZCf.js} +12 -12
- package/__chunks__/{Toggle-sHxf5_Z1.mjs → Toggle-DytN4mU6.mjs} +14 -14
- package/__chunks__/{Tooltip-BFYMYM8t.js → Tooltip-BFf05Sd7.js} +11 -12
- package/__chunks__/{Tooltip-H--IFdjD.mjs → Tooltip-BHGCJiVl.mjs} +12 -13
- package/__chunks__/{UnstyledButton-Bl1UoMqJ.js → UnstyledButton-DVpiY5Qh.js} +7 -4
- package/__chunks__/{UnstyledButton-NAjBMn23.mjs → UnstyledButton-DcvMv4SL.mjs} +8 -5
- package/__chunks__/{VerticalStack-DVQ47Sgy.js → VerticalStack-CbamvYP6.js} +3 -3
- package/__chunks__/{VerticalStack-CIBy26G5.mjs → VerticalStack-DOMDyLlK.mjs} +3 -3
- package/__chunks__/{VisuallyHidden-BUfWRoE5.mjs → VisuallyHidden-CBNzWIG8.mjs} +2 -2
- package/__chunks__/{ariaHideOutside-enBbyPlv.mjs → ariaHideOutside-CGNrOhSc.mjs} +4 -4
- package/__chunks__/{context-vBsWZ3Ni.mjs → context-D3I6RuRU.mjs} +1 -1
- package/__chunks__/{focusSafely-Cg665ed0.mjs → focusSafely-MxnwWbsu.mjs} +1 -1
- package/__chunks__/{mergeProps-CTaIJjOz.mjs → mergeProps-SJQ-f8LF.mjs} +3 -3
- package/__chunks__/{scrollIntoView-kxx1IN_-.mjs → scrollIntoView-C4vMSOYx.mjs} +1 -1
- package/__chunks__/{useButton-DXm5VgDJ.mjs → useButton-COCB0O4M.mjs} +3 -3
- package/__chunks__/{useButton-DbLIL_Ws.js → useButton-hrdBTa5u.js} +1 -1
- package/__chunks__/{useDialog-uuzOXBNO.mjs → useDialog-47nl4w_8.mjs} +4 -4
- package/__chunks__/{useEdgeInterceptors-CHGcWJgn.js → useEdgeInterceptors-CrrZ-iAb.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-DuFYe9N2.mjs → useEdgeInterceptors-D0TMU4bR.mjs} +5 -5
- package/__chunks__/{useField-V_J-oAim.mjs → useField-DPD-La1H.mjs} +2 -2
- package/__chunks__/{useFocus-DSrpUdfo.mjs → useFocus-DOcjAFnP.mjs} +1 -1
- package/__chunks__/{useFocusRing-DEnOkFNv.mjs → useFocusRing-Cj5zef_6.mjs} +3 -3
- package/__chunks__/{useFocusVisible-3GO81-mK.mjs → useFocusVisible-DXAxI2Xj.mjs} +5 -5
- package/__chunks__/{useFocusWithin-Dowl-zQ8.mjs → useFocusWithin-Bg5BTlgA.mjs} +1 -1
- package/__chunks__/{useFocusable-DKo4wWkA.js → useFocusable-By9yXfUQ.js} +32 -2
- package/__chunks__/{useFocusable-D7496iqi.mjs → useFocusable-Uo_zjP6s.mjs} +36 -6
- package/__chunks__/{useFormReset-Z8kPFt1Y.mjs → useFormReset-CFhWic3i.mjs} +1 -1
- package/__chunks__/{useFormValidation-IDftdxEG.mjs → useFormValidation-C_CD-7QE.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-BiqyiyYV.mjs → useHasTabbableChild-DhoFI49t.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-Bhj3NHov.mjs → useHighlightSelectionDescription-BGSwVQtc.mjs} +3 -3
- package/__chunks__/{useLabel-D5AQm8lF.mjs → useLabel-BlM5Qwvq.mjs} +2 -2
- package/__chunks__/{useLabels-GVN_BrWS.mjs → useLabels-DdXkBiwn.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-D8BlhW_5.mjs → useLocalizedStringFormatter-DJWWtB78.mjs} +1 -1
- package/__chunks__/{useOverlayPosition-DOUNnvBc.js → useModal-BV6_Azqp.js} +67 -0
- package/__chunks__/{useOverlayPosition-C15BXmuc.mjs → useModal-sVKQd6HX.mjs} +72 -5
- package/__chunks__/{usePress-DPi5mXfq.mjs → usePress-CA-sH9oY.mjs} +4 -4
- package/__chunks__/{useSelectableItem-CHyfwMdA.mjs → useSelectableItem-Dn-hODEw.mjs} +7 -7
- package/__chunks__/{useSelectableList-UrsfEn_q.mjs → useSelectableList-DjrCndUM.mjs} +2 -2
- package/__chunks__/{useSyncRef-BiS62sNy.mjs → useSyncRef-Cp332icp.mjs} +1 -1
- package/__chunks__/{useToggle-aIu1nW8S.mjs → useToggle-V7BhKpNo.mjs} +4 -4
- package/__chunks__/{useToggle-U50aBv7S.js → useToggle-qLiVQ6Y2.js} +1 -1
- package/__chunks__/{useTriggerWidth-E4NybnOT.js → useTriggerWidth-Bj1hzfIg.js} +67 -2
- package/__chunks__/{useTriggerWidth-BMatkUuB.mjs → useTriggerWidth-CI9YrWOP.mjs} +81 -16
- package/package.json +2 -2
- package/style.css +1053 -1056
- package/utilities/storybook.d.ts +25 -1
- package/utilities/storybook.d.ts.map +1 -1
- package/__chunks__/useKeyboard-C9jAeK81.mjs +0 -52
- package/__chunks__/useKeyboard-cV-AdZ-T.js +0 -51
- package/__chunks__/useModal-D548rAs-.js +0 -86
- package/__chunks__/useModal-kt-e-joU.mjs +0 -87
|
@@ -3,10 +3,10 @@ import { IconButton } from "./IconButton";
|
|
|
3
3
|
type Story = StoryObj<typeof IconButton>;
|
|
4
4
|
declare const meta: Meta<typeof IconButton>;
|
|
5
5
|
export default meta;
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const DisabledButtons: Story;
|
|
6
|
+
export declare const Filled: Story;
|
|
7
|
+
export declare const Outlined: Story;
|
|
8
|
+
export declare const Inverse: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
11
10
|
export declare const ClickEvent: Story;
|
|
11
|
+
export declare const Controls: Story;
|
|
12
12
|
//# sourceMappingURL=IconButton.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButton.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButton.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AASlD,OAAO,EAAE,UAAU,EAAmB,MAAM,cAAc,CAAC;AAE3D,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AASzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CASjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAMF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAMF,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC"}
|
package/IconButton/index.js
CHANGED
|
@@ -29,20 +29,20 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
31
|
const React = require("react");
|
|
32
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
33
|
-
const Icon = require("../__chunks__/Icon-
|
|
34
|
-
const Text = require("../__chunks__/Text-
|
|
32
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DVpiY5Qh.js");
|
|
33
|
+
const Icon = require("../__chunks__/Icon-vgTkejl_.js");
|
|
34
|
+
const Text = require("../__chunks__/Text-DN9QVNH4.js");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const IconButton$1 = "
|
|
37
|
-
const colorPrimary = "
|
|
38
|
-
const colorSecondary = "
|
|
39
|
-
const colorSuccess = "
|
|
40
|
-
const colorWarning = "
|
|
41
|
-
const colorNeutral = "
|
|
42
|
-
const colorSupport = "
|
|
43
|
-
const colorInverse = "
|
|
44
|
-
const variantOutlined = "
|
|
45
|
-
const variantFilled = "
|
|
36
|
+
const IconButton$1 = "_IconButton_1jhk6_5";
|
|
37
|
+
const colorPrimary = "_colorPrimary_1jhk6_20";
|
|
38
|
+
const colorSecondary = "_colorSecondary_1jhk6_28";
|
|
39
|
+
const colorSuccess = "_colorSuccess_1jhk6_36";
|
|
40
|
+
const colorWarning = "_colorWarning_1jhk6_44";
|
|
41
|
+
const colorNeutral = "_colorNeutral_1jhk6_52";
|
|
42
|
+
const colorSupport = "_colorSupport_1jhk6_60";
|
|
43
|
+
const colorInverse = "_colorInverse_1jhk6_66";
|
|
44
|
+
const variantOutlined = "_variantOutlined_1jhk6_72";
|
|
45
|
+
const variantFilled = "_variantFilled_1jhk6_101";
|
|
46
46
|
const styles = {
|
|
47
47
|
IconButton: IconButton$1,
|
|
48
48
|
colorPrimary,
|
package/IconButton/index.mjs
CHANGED
|
@@ -27,20 +27,20 @@ var __objRest = (source, exclude) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
import React__default, { forwardRef } from "react";
|
|
30
|
-
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
31
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
32
|
-
import { T as Text } from "../__chunks__/Text-
|
|
30
|
+
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-DcvMv4SL.mjs";
|
|
31
|
+
import { I as Icon } from "../__chunks__/Icon-BmhO04p4.mjs";
|
|
32
|
+
import { T as Text } from "../__chunks__/Text-CLXCmUFd.mjs";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
const IconButton$1 = "
|
|
35
|
-
const colorPrimary = "
|
|
36
|
-
const colorSecondary = "
|
|
37
|
-
const colorSuccess = "
|
|
38
|
-
const colorWarning = "
|
|
39
|
-
const colorNeutral = "
|
|
40
|
-
const colorSupport = "
|
|
41
|
-
const colorInverse = "
|
|
42
|
-
const variantOutlined = "
|
|
43
|
-
const variantFilled = "
|
|
34
|
+
const IconButton$1 = "_IconButton_1jhk6_5";
|
|
35
|
+
const colorPrimary = "_colorPrimary_1jhk6_20";
|
|
36
|
+
const colorSecondary = "_colorSecondary_1jhk6_28";
|
|
37
|
+
const colorSuccess = "_colorSuccess_1jhk6_36";
|
|
38
|
+
const colorWarning = "_colorWarning_1jhk6_44";
|
|
39
|
+
const colorNeutral = "_colorNeutral_1jhk6_52";
|
|
40
|
+
const colorSupport = "_colorSupport_1jhk6_60";
|
|
41
|
+
const colorInverse = "_colorInverse_1jhk6_66";
|
|
42
|
+
const variantOutlined = "_variantOutlined_1jhk6_72";
|
|
43
|
+
const variantFilled = "_variantFilled_1jhk6_101";
|
|
44
44
|
const styles = {
|
|
45
45
|
IconButton: IconButton$1,
|
|
46
46
|
colorPrimary,
|
package/InputField/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const InputField = require("../__chunks__/InputField-
|
|
3
|
+
const InputField = require("../__chunks__/InputField-nGv1FZJR.js");
|
|
4
4
|
exports.InputField = InputField.InputField;
|
package/InputField/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MutableRefObject } from "react";
|
|
2
2
|
import { InputFieldProps } from "./InputField";
|
|
3
3
|
export declare function useInputField(props: InputFieldProps, ref: MutableRefObject<null>): {
|
|
4
|
-
labelProps: import("react").
|
|
4
|
+
labelProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement> | import("react").LabelHTMLAttributes<HTMLLabelElement>;
|
|
5
5
|
elementProps: {};
|
|
6
6
|
helperTextProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
|
7
7
|
errorTextProps: import("@react-types/shared").DOMAttributes<import("@react-types/shared").FocusableElement>;
|
package/Menu/Menu.stories.d.ts
CHANGED
|
@@ -14,4 +14,7 @@ export declare const DefinedWidth: Story;
|
|
|
14
14
|
export declare const DefinedResponsiveWidth: Story;
|
|
15
15
|
export declare const MixedItemTypes: Story;
|
|
16
16
|
export declare const CustomPlacement: StoryObj<MenuOverlayProps<unknown>>;
|
|
17
|
+
export declare const MultipleSelection: Story;
|
|
18
|
+
export declare const MultipleSelectionWithSelectAll: Story;
|
|
19
|
+
export declare const UncontrolledMultipleSelectionWithSelectAll: Story;
|
|
17
20
|
//# sourceMappingURL=Menu.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.stories.d.ts","sourceRoot":"","sources":["../../src/Menu/Menu.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.stories.d.ts","sourceRoot":"","sources":["../../src/Menu/Menu.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAQlD,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAcnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAQ3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAmBvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,OAAO,CAAC,CA6BjE,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAe/B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAepC,CAAC;AAUF,eAAO,MAAM,cAAc,EAAE,KA0B5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAiC/D,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KA0B/B,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,KA+B5C,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,KA+BxD,CAAC"}
|
package/Menu/MenuItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAEZ,WAAW,EAEX,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAQ,IAAI,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAEZ,WAAW,EAEX,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAQ,IAAI,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AASnC,MAAM,MAAM,aAAa,GAAG;IAC1B,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAE5B,6KAA6K;IAC7K,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAExB,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,QAGnC;AAGD,KAAK,oBAAoB,CAAC,CAAC,IAAI;IAC7B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAEF,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,oBAAoB,CAAC,CAAC,CAAC,qBA6D1E"}
|
package/Menu/MenuOverlay.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionChildren, Key } from "@react-types/shared";
|
|
1
|
+
import { CollectionChildren, Key, Selection, SelectionMode } from "@react-types/shared";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Placement } from "react-aria";
|
|
4
4
|
import { ResponsiveProp } from "../utilities/css";
|
|
@@ -6,6 +6,10 @@ export type MenuOverlayWidth = "auto" | "fit-content" | ResponsiveProp<string |
|
|
|
6
6
|
export type MenuOverlayProps<T> = {
|
|
7
7
|
/** The contents of the menu. */
|
|
8
8
|
children: CollectionChildren<T>;
|
|
9
|
+
/**
|
|
10
|
+
* The initial selected keys in the collection (uncontrolled).
|
|
11
|
+
*/
|
|
12
|
+
defaultSelectedKeys?: "all" | Iterable<Key>;
|
|
9
13
|
/** The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. */
|
|
10
14
|
disabledKeys?: Iterable<Key>;
|
|
11
15
|
/** Number of menu items to show before menu scrolls. */
|
|
@@ -24,6 +28,18 @@ export type MenuOverlayProps<T> = {
|
|
|
24
28
|
* @default auto
|
|
25
29
|
*/
|
|
26
30
|
width?: MenuOverlayWidth;
|
|
31
|
+
/**
|
|
32
|
+
* The type of selection that is allowed in the collection.
|
|
33
|
+
*/
|
|
34
|
+
selectionMode?: SelectionMode;
|
|
35
|
+
/**
|
|
36
|
+
* The currently selected keys in the collection (controlled).
|
|
37
|
+
*/
|
|
38
|
+
selectedKeys?: "all" | Iterable<Key>;
|
|
39
|
+
/**
|
|
40
|
+
* Handler that is called when the selection changes.
|
|
41
|
+
*/
|
|
42
|
+
onSelectionChange?: (keys: Selection) => void;
|
|
27
43
|
};
|
|
28
44
|
export declare function MenuOverlay<T extends object>(props: MenuOverlayProps<T>): React.JSX.Element | null;
|
|
29
45
|
//# sourceMappingURL=MenuOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOverlay.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuOverlay.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,GAAG,EACH,SAAS,EACT,aAAa,EACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAGL,SAAS,EAIV,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAsBlD,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,aAAa,GACb,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;AAEpC,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAChC,gCAAgC;IAChC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAEhC;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE5C,8GAA8G;IAC9G,YAAY,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;IAE7B,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAE9B,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAErC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,4BAMvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSection.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAW,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuSection.d.ts","sourceRoot":"","sources":["../../src/Menu/MenuSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAW,SAAS,EAAE,MAAM,eAAe,CAAC;AAMzD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;IAEpB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,WAAW,CAEzB,MAAM,EAAE,gBAAgB,QAGzB;AAGD,KAAK,uBAAuB,CAAC,CAAC,IAAI;IAChC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,EACpC,OAAO,EACP,KAAK,GACN,EAAE,uBAAuB,CAAC,CAAC,CAAC,qBAyC5B"}
|
package/Menu/index.js
CHANGED
package/Menu/index.mjs
CHANGED
package/Menu/utilities.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { Key } from "@react-types/shared";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { TreeState } from "react-stately";
|
|
1
4
|
import { MenuOverlayWidth } from "./MenuOverlay";
|
|
2
5
|
export declare const DEFAULT_MAX_ITEMS_UNTIL_SCROLL = 5;
|
|
3
6
|
export declare const DEFAULT_PLACEMENT = "bottom";
|
|
@@ -6,5 +9,16 @@ export declare const ITEM_HEIGHT = 32;
|
|
|
6
9
|
export declare const Y_PADDING_INSIDE_OVERLAY = 8;
|
|
7
10
|
export declare const OVERLAY_OFFSET = 8;
|
|
8
11
|
export declare const OVERLAY_PADDING_FROM_CONTAINER = 12;
|
|
12
|
+
export declare const SELECT_ALL_KEY = "all";
|
|
9
13
|
export declare function getUnmergedPopoverStyles(width: MenuOverlayWidth, triggerWidth: number | null): React.CSSProperties;
|
|
14
|
+
export declare function getAllSelectableItems<T>(state: TreeState<T>): Set<Key>;
|
|
15
|
+
export declare function filterSelectedKeys(keys: Set<Key>): Set<Key>;
|
|
16
|
+
export declare function getFilteredSelectedKeys<T>(state: TreeState<T>): Set<Key>;
|
|
17
|
+
export declare function isSelectAllSelected<T>(state: TreeState<T>): boolean;
|
|
18
|
+
export declare function isSelectAllIndeterminate<T>(state: TreeState<T>): boolean;
|
|
19
|
+
export declare function useSelectionCapture(): {
|
|
20
|
+
isSelectionPending: () => boolean;
|
|
21
|
+
markSelectionPending: () => void;
|
|
22
|
+
markSelectionStale: () => void;
|
|
23
|
+
};
|
|
10
24
|
//# sourceMappingURL=utilities.d.ts.map
|
package/Menu/utilities.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/Menu/utilities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/Menu/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC1C,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAChD,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAC1C,eAAO,MAAM,aAAa,SAAS,CAAC;AACpC,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAC1C,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,cAAc,QAAQ,CAAC;AAEpC,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,gBAAgB,EACvB,YAAY,EAAE,MAAM,GAAG,IAAI,GAC1B,KAAK,CAAC,aAAa,CAmBrB;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAkBtE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,YAEhD;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,YAE7D;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,WAKzD;AAED,wBAAgB,wBAAwB,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,WAE9D;AAED,wBAAgB,mBAAmB;;;;EAiClC"}
|
package/Modal/index.js
CHANGED
|
@@ -34,12 +34,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
36
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
37
|
-
const Button = require("../__chunks__/Button-
|
|
37
|
+
const Button = require("../__chunks__/Button-C8CAs9Ya.js");
|
|
38
38
|
const Close = require("../__chunks__/Close-BQ2IlPyf.js");
|
|
39
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
40
|
-
const Icon = require("../__chunks__/Icon-
|
|
41
|
-
const Text = require("../__chunks__/Text-
|
|
42
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
39
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CyOBQGUF.js");
|
|
40
|
+
const Icon = require("../__chunks__/Icon-vgTkejl_.js");
|
|
41
|
+
const Text = require("../__chunks__/Text-DN9QVNH4.js");
|
|
42
|
+
const VerticalStack = require("../__chunks__/VerticalStack-CbamvYP6.js");
|
|
43
43
|
const useDialog = require("../__chunks__/useDialog-DNGXm940.js");
|
|
44
44
|
const Overlay = require("../__chunks__/Overlay-DBi2SVGv.js");
|
|
45
45
|
const useCloseOnScroll = require("../__chunks__/useCloseOnScroll-CLFhBFoo.js");
|
|
@@ -65,20 +65,20 @@ const useModalTrigger = () => {
|
|
|
65
65
|
const modalTriggerContext = useModalTriggerContext();
|
|
66
66
|
return modalTriggerContext.state;
|
|
67
67
|
};
|
|
68
|
-
const underlayBg = "
|
|
69
|
-
const underlayBox = "
|
|
70
|
-
const underlayEdge = "
|
|
71
|
-
const Modal$1 = "
|
|
72
|
-
const header = "
|
|
73
|
-
const stuck = "
|
|
74
|
-
const body = "
|
|
75
|
-
const content = "
|
|
76
|
-
const footer = "
|
|
77
|
-
const closeBtn = "
|
|
78
|
-
const iconAtEnd = "
|
|
79
|
-
const sizeSm = "
|
|
80
|
-
const sizeMd = "
|
|
81
|
-
const sizeLg = "
|
|
68
|
+
const underlayBg = "_underlayBg_1hqvs_5";
|
|
69
|
+
const underlayBox = "_underlayBox_1hqvs_28";
|
|
70
|
+
const underlayEdge = "_underlayEdge_1hqvs_36";
|
|
71
|
+
const Modal$1 = "_Modal_1hqvs_42";
|
|
72
|
+
const header = "_header_1hqvs_60";
|
|
73
|
+
const stuck = "_stuck_1hqvs_66";
|
|
74
|
+
const body = "_body_1hqvs_70";
|
|
75
|
+
const content = "_content_1hqvs_77";
|
|
76
|
+
const footer = "_footer_1hqvs_94";
|
|
77
|
+
const closeBtn = "_closeBtn_1hqvs_111";
|
|
78
|
+
const iconAtEnd = "_iconAtEnd_1hqvs_125";
|
|
79
|
+
const sizeSm = "_sizeSm_1hqvs_131";
|
|
80
|
+
const sizeMd = "_sizeMd_1hqvs_135";
|
|
81
|
+
const sizeLg = "_sizeLg_1hqvs_139";
|
|
82
82
|
const styles = {
|
|
83
83
|
underlayBg,
|
|
84
84
|
underlayBox,
|
package/Modal/index.mjs
CHANGED
|
@@ -32,16 +32,16 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import React__default, { createContext, useContext, useMemo, cloneElement, useState, useRef } from "react";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
34
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
35
|
-
import { B as Button } from "../__chunks__/Button-
|
|
35
|
+
import { B as Button } from "../__chunks__/Button-B-PwoC5y.mjs";
|
|
36
36
|
import { C as Close } from "../__chunks__/Close-Cq6Q6MN6.mjs";
|
|
37
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
38
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
39
|
-
import { T as Text } from "../__chunks__/Text-
|
|
40
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
41
|
-
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb, a as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-
|
|
42
|
-
import { a as $337b884510726a0d$export$c6fdb837b070b4ff } from "../__chunks__/Overlay-
|
|
37
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-Cj64cYl-.mjs";
|
|
38
|
+
import { I as Icon } from "../__chunks__/Icon-BmhO04p4.mjs";
|
|
39
|
+
import { T as Text } from "../__chunks__/Text-CLXCmUFd.mjs";
|
|
40
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DOMDyLlK.mjs";
|
|
41
|
+
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb, a as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-47nl4w_8.mjs";
|
|
42
|
+
import { a as $337b884510726a0d$export$c6fdb837b070b4ff } from "../__chunks__/Overlay-Dz_4R38U.mjs";
|
|
43
43
|
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/useCloseOnScroll-DxZ3orlK.mjs";
|
|
44
|
-
import { c as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/ariaHideOutside-
|
|
44
|
+
import { c as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/ariaHideOutside-CGNrOhSc.mjs";
|
|
45
45
|
import { u as useIntersectionDetection } from "../__chunks__/useIntersectionDetection-BvUmtDgl.mjs";
|
|
46
46
|
const ModalContext = createContext(null);
|
|
47
47
|
const useModalContext = () => {
|
|
@@ -63,20 +63,20 @@ const useModalTrigger = () => {
|
|
|
63
63
|
const modalTriggerContext = useModalTriggerContext();
|
|
64
64
|
return modalTriggerContext.state;
|
|
65
65
|
};
|
|
66
|
-
const underlayBg = "
|
|
67
|
-
const underlayBox = "
|
|
68
|
-
const underlayEdge = "
|
|
69
|
-
const Modal$1 = "
|
|
70
|
-
const header = "
|
|
71
|
-
const stuck = "
|
|
72
|
-
const body = "
|
|
73
|
-
const content = "
|
|
74
|
-
const footer = "
|
|
75
|
-
const closeBtn = "
|
|
76
|
-
const iconAtEnd = "
|
|
77
|
-
const sizeSm = "
|
|
78
|
-
const sizeMd = "
|
|
79
|
-
const sizeLg = "
|
|
66
|
+
const underlayBg = "_underlayBg_1hqvs_5";
|
|
67
|
+
const underlayBox = "_underlayBox_1hqvs_28";
|
|
68
|
+
const underlayEdge = "_underlayEdge_1hqvs_36";
|
|
69
|
+
const Modal$1 = "_Modal_1hqvs_42";
|
|
70
|
+
const header = "_header_1hqvs_60";
|
|
71
|
+
const stuck = "_stuck_1hqvs_66";
|
|
72
|
+
const body = "_body_1hqvs_70";
|
|
73
|
+
const content = "_content_1hqvs_77";
|
|
74
|
+
const footer = "_footer_1hqvs_94";
|
|
75
|
+
const closeBtn = "_closeBtn_1hqvs_111";
|
|
76
|
+
const iconAtEnd = "_iconAtEnd_1hqvs_125";
|
|
77
|
+
const sizeSm = "_sizeSm_1hqvs_131";
|
|
78
|
+
const sizeMd = "_sizeMd_1hqvs_135";
|
|
79
|
+
const sizeLg = "_sizeLg_1hqvs_139";
|
|
80
80
|
const styles = {
|
|
81
81
|
underlayBg,
|
|
82
82
|
underlayBox,
|
package/NexusLayout/index.js
CHANGED
|
@@ -33,17 +33,17 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
37
|
-
const Icon = require("../__chunks__/Icon-
|
|
38
|
-
const Menu = require("../__chunks__/Menu-
|
|
39
|
-
const Text = require("../__chunks__/Text-
|
|
36
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CyOBQGUF.js");
|
|
37
|
+
const Icon = require("../__chunks__/Icon-vgTkejl_.js");
|
|
38
|
+
const Menu = require("../__chunks__/Menu-ComLF8Lu.js");
|
|
39
|
+
const Text = require("../__chunks__/Text-DN9QVNH4.js");
|
|
40
40
|
const useFocusRing = require("../__chunks__/useFocusRing-CKgGPgoX.js");
|
|
41
41
|
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
42
42
|
const usePress = require("../__chunks__/usePress-DjyN_yP2.js");
|
|
43
43
|
const mergeProps = require("../__chunks__/mergeProps-DniMwM6P.js");
|
|
44
44
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
45
|
-
const useFocusable = require("../__chunks__/useFocusable-
|
|
46
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
45
|
+
const useFocusable = require("../__chunks__/useFocusable-By9yXfUQ.js");
|
|
46
|
+
const VerticalStack = require("../__chunks__/VerticalStack-CbamvYP6.js");
|
|
47
47
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
48
48
|
let _a = props, {
|
|
49
49
|
elementType = "a",
|
|
@@ -119,13 +119,13 @@ function EasyPostLogo() {
|
|
|
119
119
|
fill: "#164DFF"
|
|
120
120
|
}));
|
|
121
121
|
}
|
|
122
|
-
const button = "
|
|
123
|
-
const focused$2 = "
|
|
124
|
-
const hovered$2 = "
|
|
125
|
-
const selected$2 = "
|
|
126
|
-
const open = "
|
|
127
|
-
const badgeContainer = "
|
|
128
|
-
const badge = "
|
|
122
|
+
const button = "_button_sjk5e_5";
|
|
123
|
+
const focused$2 = "_focused_sjk5e_26";
|
|
124
|
+
const hovered$2 = "_hovered_sjk5e_38";
|
|
125
|
+
const selected$2 = "_selected_sjk5e_42";
|
|
126
|
+
const open = "_open_sjk5e_43";
|
|
127
|
+
const badgeContainer = "_badgeContainer_sjk5e_48";
|
|
128
|
+
const badge = "_badge_sjk5e_48";
|
|
129
129
|
const styles$4 = {
|
|
130
130
|
button,
|
|
131
131
|
focused: focused$2,
|
|
@@ -199,9 +199,9 @@ const PressableButton = React.forwardRef((props, ref) => {
|
|
|
199
199
|
}));
|
|
200
200
|
});
|
|
201
201
|
PressableButton.displayName = "PressableButton";
|
|
202
|
-
const container = "
|
|
203
|
-
const sidebar = "
|
|
204
|
-
const content$1 = "
|
|
202
|
+
const container = "_container_9g7hg_5";
|
|
203
|
+
const sidebar = "_sidebar_9g7hg_12";
|
|
204
|
+
const content$1 = "_content_9g7hg_19";
|
|
205
205
|
const styles$3 = {
|
|
206
206
|
container,
|
|
207
207
|
sidebar,
|
|
@@ -243,10 +243,10 @@ function NexusLayoutMultipageTitle(props) {
|
|
|
243
243
|
variant: "heading5"
|
|
244
244
|
}, children);
|
|
245
245
|
}
|
|
246
|
-
const link$1 = "
|
|
247
|
-
const focused$1 = "
|
|
248
|
-
const hovered$1 = "
|
|
249
|
-
const selected$1 = "
|
|
246
|
+
const link$1 = "_link_1rw2j_5";
|
|
247
|
+
const focused$1 = "_focused_1rw2j_14";
|
|
248
|
+
const hovered$1 = "_hovered_1rw2j_26";
|
|
249
|
+
const selected$1 = "_selected_1rw2j_30";
|
|
250
250
|
const styles$2 = {
|
|
251
251
|
link: link$1,
|
|
252
252
|
focused: focused$1,
|
|
@@ -311,10 +311,10 @@ function NexusLayoutMultipageSidebarNavLink(props) {
|
|
|
311
311
|
weight: isSelected ? "semibold" : void 0
|
|
312
312
|
}, children));
|
|
313
313
|
}
|
|
314
|
-
const link = "
|
|
315
|
-
const focused = "
|
|
316
|
-
const hovered = "
|
|
317
|
-
const selected = "
|
|
314
|
+
const link = "_link_1xmi7_5";
|
|
315
|
+
const focused = "_focused_1xmi7_24";
|
|
316
|
+
const hovered = "_hovered_1xmi7_36";
|
|
317
|
+
const selected = "_selected_1xmi7_40";
|
|
318
318
|
const styles$1 = {
|
|
319
319
|
link,
|
|
320
320
|
focused,
|
|
@@ -364,11 +364,11 @@ function NexusLayoutNavLink(props) {
|
|
|
364
364
|
weight: "semibold"
|
|
365
365
|
}, children));
|
|
366
366
|
}
|
|
367
|
-
const NexusLayout$1 = "
|
|
368
|
-
const backgroundDecoration01 = "
|
|
369
|
-
const header = "
|
|
370
|
-
const logo = "
|
|
371
|
-
const content = "
|
|
367
|
+
const NexusLayout$1 = "_NexusLayout_3fnv2_5";
|
|
368
|
+
const backgroundDecoration01 = "_backgroundDecoration01_3fnv2_14";
|
|
369
|
+
const header = "_header_3fnv2_20";
|
|
370
|
+
const logo = "_logo_3fnv2_40";
|
|
371
|
+
const content = "_content_3fnv2_44";
|
|
372
372
|
const styles = {
|
|
373
373
|
NexusLayout: NexusLayout$1,
|
|
374
374
|
backgroundDecoration01,
|
package/NexusLayout/index.mjs
CHANGED
|
@@ -31,17 +31,17 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useCallback, useRef, forwardRef, useContext, useId, useMemo } from "react";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
35
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
36
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
37
|
-
import { T as Text } from "../__chunks__/Text-
|
|
38
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-
|
|
34
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-Cj64cYl-.mjs";
|
|
35
|
+
import { I as Icon } from "../__chunks__/Icon-BmhO04p4.mjs";
|
|
36
|
+
import { M as Menu } from "../__chunks__/Menu-Bo7BjljK.mjs";
|
|
37
|
+
import { T as Text } from "../__chunks__/Text-CLXCmUFd.mjs";
|
|
38
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-Cj5zef_6.mjs";
|
|
39
39
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-BOYR4wqI.mjs";
|
|
40
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, c as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, f as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "../__chunks__/usePress-
|
|
41
|
-
import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
40
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, c as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, f as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "../__chunks__/usePress-CA-sH9oY.mjs";
|
|
41
|
+
import { a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-SJQ-f8LF.mjs";
|
|
42
42
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
43
|
-
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-
|
|
44
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
43
|
+
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-Uo_zjP6s.mjs";
|
|
44
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DOMDyLlK.mjs";
|
|
45
45
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
46
46
|
let _a = props, {
|
|
47
47
|
elementType = "a",
|
|
@@ -117,13 +117,13 @@ function EasyPostLogo() {
|
|
|
117
117
|
fill: "#164DFF"
|
|
118
118
|
}));
|
|
119
119
|
}
|
|
120
|
-
const button = "
|
|
121
|
-
const focused$2 = "
|
|
122
|
-
const hovered$2 = "
|
|
123
|
-
const selected$2 = "
|
|
124
|
-
const open = "
|
|
125
|
-
const badgeContainer = "
|
|
126
|
-
const badge = "
|
|
120
|
+
const button = "_button_sjk5e_5";
|
|
121
|
+
const focused$2 = "_focused_sjk5e_26";
|
|
122
|
+
const hovered$2 = "_hovered_sjk5e_38";
|
|
123
|
+
const selected$2 = "_selected_sjk5e_42";
|
|
124
|
+
const open = "_open_sjk5e_43";
|
|
125
|
+
const badgeContainer = "_badgeContainer_sjk5e_48";
|
|
126
|
+
const badge = "_badge_sjk5e_48";
|
|
127
127
|
const styles$4 = {
|
|
128
128
|
button,
|
|
129
129
|
focused: focused$2,
|
|
@@ -197,9 +197,9 @@ const PressableButton = forwardRef((props, ref) => {
|
|
|
197
197
|
}));
|
|
198
198
|
});
|
|
199
199
|
PressableButton.displayName = "PressableButton";
|
|
200
|
-
const container = "
|
|
201
|
-
const sidebar = "
|
|
202
|
-
const content$1 = "
|
|
200
|
+
const container = "_container_9g7hg_5";
|
|
201
|
+
const sidebar = "_sidebar_9g7hg_12";
|
|
202
|
+
const content$1 = "_content_9g7hg_19";
|
|
203
203
|
const styles$3 = {
|
|
204
204
|
container,
|
|
205
205
|
sidebar,
|
|
@@ -241,10 +241,10 @@ function NexusLayoutMultipageTitle(props) {
|
|
|
241
241
|
variant: "heading5"
|
|
242
242
|
}, children);
|
|
243
243
|
}
|
|
244
|
-
const link$1 = "
|
|
245
|
-
const focused$1 = "
|
|
246
|
-
const hovered$1 = "
|
|
247
|
-
const selected$1 = "
|
|
244
|
+
const link$1 = "_link_1rw2j_5";
|
|
245
|
+
const focused$1 = "_focused_1rw2j_14";
|
|
246
|
+
const hovered$1 = "_hovered_1rw2j_26";
|
|
247
|
+
const selected$1 = "_selected_1rw2j_30";
|
|
248
248
|
const styles$2 = {
|
|
249
249
|
link: link$1,
|
|
250
250
|
focused: focused$1,
|
|
@@ -309,10 +309,10 @@ function NexusLayoutMultipageSidebarNavLink(props) {
|
|
|
309
309
|
weight: isSelected ? "semibold" : void 0
|
|
310
310
|
}, children));
|
|
311
311
|
}
|
|
312
|
-
const link = "
|
|
313
|
-
const focused = "
|
|
314
|
-
const hovered = "
|
|
315
|
-
const selected = "
|
|
312
|
+
const link = "_link_1xmi7_5";
|
|
313
|
+
const focused = "_focused_1xmi7_24";
|
|
314
|
+
const hovered = "_hovered_1xmi7_36";
|
|
315
|
+
const selected = "_selected_1xmi7_40";
|
|
316
316
|
const styles$1 = {
|
|
317
317
|
link,
|
|
318
318
|
focused,
|
|
@@ -362,11 +362,11 @@ function NexusLayoutNavLink(props) {
|
|
|
362
362
|
weight: "semibold"
|
|
363
363
|
}, children));
|
|
364
364
|
}
|
|
365
|
-
const NexusLayout$1 = "
|
|
366
|
-
const backgroundDecoration01 = "
|
|
367
|
-
const header = "
|
|
368
|
-
const logo = "
|
|
369
|
-
const content = "
|
|
365
|
+
const NexusLayout$1 = "_NexusLayout_3fnv2_5";
|
|
366
|
+
const backgroundDecoration01 = "_backgroundDecoration01_3fnv2_14";
|
|
367
|
+
const header = "_header_3fnv2_20";
|
|
368
|
+
const logo = "_logo_3fnv2_40";
|
|
369
|
+
const content = "_content_3fnv2_44";
|
|
370
370
|
const styles = {
|
|
371
371
|
NexusLayout: NexusLayout$1,
|
|
372
372
|
backgroundDecoration01,
|
package/Notification/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Notification = require("../__chunks__/Notification-
|
|
3
|
+
const Notification = require("../__chunks__/Notification-BZ3ybUEX.js");
|
|
4
4
|
exports.Notification = Notification.Notification;
|
|
5
5
|
exports.NotificationContext = Notification.NotificationContext;
|
|
6
6
|
exports.NotificationProvider = Notification.NotificationProvider;
|
package/Notification/index.mjs
CHANGED
package/Pagination/index.js
CHANGED
|
@@ -33,17 +33,17 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const KeyboardDoubleArrowLeft = require("../__chunks__/KeyboardDoubleArrowLeft-BHR8vGMo.js");
|
|
36
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
37
|
-
const Icon = require("../__chunks__/Icon-
|
|
38
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
36
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CyOBQGUF.js");
|
|
37
|
+
const Icon = require("../__chunks__/Icon-vgTkejl_.js");
|
|
38
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DVpiY5Qh.js");
|
|
39
39
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
40
|
-
const Text = require("../__chunks__/Text-
|
|
41
|
-
const Menu = require("../__chunks__/Menu-
|
|
40
|
+
const Text = require("../__chunks__/Text-DN9QVNH4.js");
|
|
41
|
+
const Menu = require("../__chunks__/Menu-ComLF8Lu.js");
|
|
42
42
|
const utilities_react = require("../utilities/react.js");
|
|
43
43
|
const utilities_css = require("../utilities/css.js");
|
|
44
|
-
const menuButton = "
|
|
45
|
-
const arrowButton = "
|
|
46
|
-
const pagination = "
|
|
44
|
+
const menuButton = "_menuButton_smv5s_5";
|
|
45
|
+
const arrowButton = "_arrowButton_smv5s_9";
|
|
46
|
+
const pagination = "_pagination_smv5s_37";
|
|
47
47
|
const styles = {
|
|
48
48
|
menuButton,
|
|
49
49
|
arrowButton,
|