@easypost/easy-ui 1.0.0-alpha.48 → 1.0.0-alpha.49
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/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +12 -0
- package/Calendar/index.js +44 -39
- package/Calendar/index.mjs +44 -39
- 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 +140 -121
- package/CodeBlock/index.mjs +139 -120
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +239 -157
- package/DataGrid/index.mjs +239 -157
- package/Drawer/Drawer.d.ts +53 -0
- package/Drawer/Drawer.d.ts.map +1 -0
- package/Drawer/Drawer.stories.d.ts +14 -0
- package/Drawer/Drawer.stories.d.ts.map +1 -0
- package/Drawer/Drawer.test.d.ts +2 -0
- package/Drawer/Drawer.test.d.ts.map +1 -0
- package/Drawer/DrawerBanner.d.ts +9 -0
- package/Drawer/DrawerBanner.d.ts.map +1 -0
- package/Drawer/DrawerBody.d.ts +10 -0
- package/Drawer/DrawerBody.d.ts.map +1 -0
- package/Drawer/DrawerCloseButton.d.ts +3 -0
- package/Drawer/DrawerCloseButton.d.ts.map +1 -0
- package/Drawer/DrawerContainer.d.ts +18 -0
- package/Drawer/DrawerContainer.d.ts.map +1 -0
- package/Drawer/DrawerContentArea.d.ts +17 -0
- package/Drawer/DrawerContentArea.d.ts.map +1 -0
- package/Drawer/DrawerHeader.d.ts +12 -0
- package/Drawer/DrawerHeader.d.ts.map +1 -0
- package/Drawer/DrawerTrigger.d.ts +26 -0
- package/Drawer/DrawerTrigger.d.ts.map +1 -0
- package/Drawer/DrawerUnderlay.d.ts +23 -0
- package/Drawer/DrawerUnderlay.d.ts.map +1 -0
- package/Drawer/context.d.ts +21 -0
- package/Drawer/context.d.ts.map +1 -0
- package/Drawer/index.d.ts +2 -0
- package/Drawer/index.d.ts.map +1 -0
- package/Drawer/index.js +2070 -0
- package/Drawer/index.mjs +2054 -0
- package/Drawer/useIntersectionDetection.d.ts +10 -0
- package/Drawer/useIntersectionDetection.d.ts.map +1 -0
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/EmptyStateCard.d.ts +2 -1
- package/EmptyStateCard/EmptyStateCard.d.ts.map +1 -1
- package/EmptyStateCard/index.js +12 -11
- package/EmptyStateCard/index.mjs +12 -11
- 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/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +22 -22
- package/Modal/index.mjs +22 -22
- package/NexusLayout/index.js +32 -32
- 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 +54 -54
- package/PillGroup/index.mjs +51 -51
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +3 -3
- package/Provider/index.mjs +3 -3
- package/RadioGroup/index.js +25 -25
- package/RadioGroup/index.mjs +25 -25
- package/SearchNav/index.js +30 -30
- package/SearchNav/index.mjs +30 -30
- package/SectionCard/index.js +5059 -5053
- package/SectionCard/index.mjs +5059 -5053
- 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 +8 -8
- package/TabPanels/index.mjs +8 -8
- 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/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 +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 +26 -26
- package/VerticalNav/index.mjs +26 -26
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-BCZXatDw.js → Button-BzRbPQ0p.js} +18 -18
- package/__chunks__/{Button-BjZ5_WWp.mjs → Button-rXHMYQcZ.mjs} +18 -18
- package/__chunks__/{Card-DNieZbm_.mjs → Card-Di-59GNl.mjs} +125 -74
- package/__chunks__/{Card-Dga398UM.js → Card-hRRKiLC0.js} +125 -74
- package/__chunks__/{Checkbox-CPm1tQsc.js → Checkbox-BSr3UmAv.js} +33 -24
- package/__chunks__/{Checkbox-CXpH5uIy.mjs → Checkbox-Bz8uJp8v.mjs} +33 -24
- package/__chunks__/CodeSnippet-BtOZ2ZFA.js +5703 -0
- package/__chunks__/CodeSnippet-CR-uH2xr.mjs +5704 -0
- package/__chunks__/{FocusScope-DKubuM0o.js → FocusScope-CoZUVDQG.js} +9 -10
- package/__chunks__/{FocusScope-DjMsGso5.mjs → FocusScope-DvD_pBFD.mjs} +9 -10
- package/__chunks__/{HelpMenu-DNMxxMFy.mjs → HelpMenu-DHOnJoOy.mjs} +7 -7
- package/__chunks__/{HelpMenu-KnxjBKlU.js → HelpMenu-fGZ_yXuh.js} +7 -7
- package/__chunks__/{HorizontalGrid-DRlxmG5k.mjs → HorizontalGrid-Chp3I1dk.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BGqvCxsK.js → HorizontalGrid-CsBo9TC_.js} +1 -1
- package/__chunks__/{HorizontalStack-BHf70TDI.js → HorizontalStack-BrTcQfkh.js} +1 -1
- package/__chunks__/{HorizontalStack-D-_en4fH.mjs → HorizontalStack-CssUB3r5.mjs} +1 -1
- package/__chunks__/{Icon-DkwHboiX.js → Icon-BB-YYZ82.js} +2 -2
- package/__chunks__/{Icon-ka-6Ein9.mjs → Icon-DRRa9Shg.mjs} +2 -2
- package/__chunks__/{InputField-BKEwTh0M.js → InputField-B6WMe4s1.js} +10 -10
- package/__chunks__/{InputField-6tx63CuS.mjs → InputField-Bdl1Op7N.mjs} +10 -10
- package/__chunks__/{InputIcon-DfzmdH-t.mjs → InputIcon-DCzD8zA-.mjs} +25 -25
- package/__chunks__/{InputIcon-oIgLKNq-.js → InputIcon-DEYo3kQh.js} +25 -25
- package/__chunks__/{Menu-DzN4z_ls.js → Menu-BnKlmwPp.js} +40 -36
- package/__chunks__/{Menu-KdIAg-85.mjs → Menu-gKSj1QRV.mjs} +39 -35
- package/__chunks__/{Notification-4UtFEA06.js → Notification-B5qEfhh_.js} +255 -79
- package/__chunks__/{Notification-DBsTzEk5.mjs → Notification-CBowor70.mjs} +254 -78
- package/__chunks__/{Overlay-CY8bNurd.js → Overlay-DBi2SVGv.js} +9 -10
- package/__chunks__/{Overlay-xd1LfGQZ.mjs → Overlay-NSOiekJL.mjs} +6 -7
- package/__chunks__/{SelectOverlay-BEStvIxJ.mjs → SelectOverlay-Bk8fD1Oh.mjs} +48 -47
- package/__chunks__/{SelectOverlay-D1tmd7Mm.js → SelectOverlay-DFqlbgAp.js} +48 -47
- package/__chunks__/{SelectorErrorTooltip-jwQN5kKp.js → SelectorErrorTooltip-B_fnxS6Q.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-BkkBUJEo.mjs → SelectorErrorTooltip-MxhjGeav.mjs} +4 -4
- package/__chunks__/{Spinner-DWdhaVRt.js → Spinner-DqJiAxKF.js} +8 -8
- package/__chunks__/{Spinner-D2AHYOM5.mjs → Spinner-mICyE334.mjs} +8 -8
- package/__chunks__/{Stepper-BvpygxGr.js → Stepper-BSycb_K5.js} +28 -28
- package/__chunks__/{Stepper-B_9ijRGb.mjs → Stepper-DFdVA43m.mjs} +28 -28
- package/__chunks__/{TabNav-BygHYWUb.mjs → TabNav-Dbs5-0Dd.mjs} +1 -1
- package/__chunks__/{TabNav-CQVNmawC.js → TabNav-p011kpcz.js} +1 -1
- package/__chunks__/{Tabs-D50ndYlw.mjs → Tabs-Caiio7ea.mjs} +19 -19
- package/__chunks__/{Tabs-BEUeJDxG.js → Tabs-Cv96sjo_.js} +19 -19
- package/__chunks__/{Text-CVBjpjnO.mjs → Text-CE6HPLUH.mjs} +34 -34
- package/__chunks__/{Text-DOxOVxav.js → Text-DlAoPDKO.js} +34 -34
- package/__chunks__/{Theme-CA-nhnm0.js → Theme-BTOgcCP2.js} +1 -1
- package/__chunks__/{Theme-CpafJFxC.mjs → Theme-CKTfAcvs.mjs} +1 -1
- package/__chunks__/{Toggle-ClDPJ1r6.js → Toggle-Clzr5kHZ.js} +14 -14
- package/__chunks__/{Toggle-D7toWK7E.mjs → Toggle-D--iELul.mjs} +14 -14
- package/__chunks__/{Tooltip-9dijBY3d.js → Tooltip-CDixUwve.js} +14 -14
- package/__chunks__/{Tooltip-CFcPRZRu.mjs → Tooltip-WRHrinio.mjs} +14 -14
- package/__chunks__/{UnstyledButton-DwB-70Zg.js → UnstyledButton-Bl1UoMqJ.js} +3 -3
- package/__chunks__/{UnstyledButton-B85APDZk.mjs → UnstyledButton-NAjBMn23.mjs} +3 -3
- package/__chunks__/{VerticalStack-DxtkNh2O.mjs → VerticalStack-0OckrT1B.mjs} +3 -3
- package/__chunks__/{VerticalStack-BjX9dXUK.js → VerticalStack-BK6Yy1J3.js} +3 -3
- package/__chunks__/{VisuallyHidden-BttjYmWH.mjs → VisuallyHidden-BUfWRoE5.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-CC7DzLD_.js → VisuallyHidden-zJSJlhfQ.js} +2 -2
- package/__chunks__/_commonjsHelpers-Bc2YnDe1.js +7 -0
- package/__chunks__/_commonjsHelpers-DWwsNxpa.mjs +8 -0
- package/__chunks__/{ariaHideOutside-Bw6UZ1NT.mjs → ariaHideOutside-enBbyPlv.mjs} +16 -14
- package/__chunks__/{ariaHideOutside-BPVroNb4.js → ariaHideOutside-qn3-pnlW.js} +16 -14
- package/__chunks__/context-B-c1HPQa.js +8 -0
- package/__chunks__/context-BzShm_W7.mjs +9 -0
- package/__chunks__/{context-Ble3Bj-P.js → context-D3NeXov7.js} +2 -2
- package/__chunks__/{context-AH8T5rPg.mjs → context-vBsWZ3Ni.mjs} +2 -2
- package/__chunks__/{focusSafely-sijAOUK7.js → focusSafely-BpCL6rxl.js} +1 -13
- package/__chunks__/{focusSafely-DyKmKF3H.mjs → focusSafely-Cg665ed0.mjs} +3 -15
- package/__chunks__/{index-DPLYGXdw.js → index-CTw89HMx.js} +11 -5
- package/__chunks__/{index-DNdIt8Ju.js → index-CUcRN4NO.js} +11 -5
- package/__chunks__/{index-V3oT63-o.mjs → index-DCSYt1ke.mjs} +11 -5
- package/__chunks__/{index-CRCwzqmF.mjs → index-Izk6uvQC.mjs} +11 -5
- package/__chunks__/{mergeProps-LaTXuy7S.mjs → mergeProps-CTaIJjOz.mjs} +65 -7
- package/__chunks__/{mergeProps-UQqzLbUj.js → mergeProps-DniMwM6P.js} +60 -2
- package/__chunks__/objectWithoutPropertiesLoose-3GpnIKeG.js +29 -0
- package/__chunks__/objectWithoutPropertiesLoose-ij10PUAf.mjs +30 -0
- package/__chunks__/omit-B_jU3Uog.mjs +2248 -0
- package/__chunks__/omit-jjOwwbdQ.js +2247 -0
- package/__chunks__/{scrollIntoView-DLM226tQ.js → scrollIntoView-DkcUbB3D.js} +1 -1
- package/__chunks__/{scrollIntoView-DcAnRZ5c.mjs → scrollIntoView-kxx1IN_-.mjs} +1 -1
- package/__chunks__/{tokens-NV05Lets.js → tokens-BmCk-Bk0.js} +1 -0
- package/__chunks__/{tokens-DpvGMFjb.mjs → tokens-BolVbjJp.mjs} +1 -0
- package/__chunks__/{useButton-BdYk9xnR.mjs → useButton-DXm5VgDJ.mjs} +4 -4
- package/__chunks__/{useButton-Xzg4psmA.js → useButton-DbLIL_Ws.js} +4 -4
- package/__chunks__/{useDialog-D6WiYfoA.js → useDialog-DNGXm940.js} +5 -5
- package/__chunks__/{useDialog-Dam-ycmo.mjs → useDialog-uuzOXBNO.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-DOBL-6Wc.mjs → useEdgeInterceptors-CdmZiPDv.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-DDxWICjp.js → useEdgeInterceptors-l-xO0clp.js} +5 -5
- package/__chunks__/{useField-CKvvgbTo.js → useField-BJW_bXVD.js} +2 -2
- package/__chunks__/{useField-CNOBbwmX.mjs → useField-V_J-oAim.mjs} +2 -2
- package/__chunks__/useFocus-DSrpUdfo.mjs +37 -0
- package/__chunks__/useFocus-Dk6g6k91.js +36 -0
- package/__chunks__/{useFocusRing-Npp_x4d2.js → useFocusRing-CKgGPgoX.js} +4 -3
- package/__chunks__/{useFocusRing-ncxyH8xX.mjs → useFocusRing-DEnOkFNv.mjs} +3 -2
- package/__chunks__/{useFocusVisible-tOFdeHRg.mjs → useFocusVisible-3GO81-mK.mjs} +16 -50
- package/__chunks__/{useFocusVisible-D8TIwziQ.js → useFocusVisible-DAg8LS6j.js} +2 -36
- package/__chunks__/{useFocusWithin-BvknKO0e.js → useFocusWithin-CxvNMoRn.js} +1 -1
- package/__chunks__/{useFocusWithin-nLKCteQd.mjs → useFocusWithin-Dowl-zQ8.mjs} +1 -1
- package/__chunks__/{useFocusable-Ds_ERjDI.mjs → useFocusable-D7496iqi.mjs} +4 -3
- package/__chunks__/{useFocusable-DUdSTo4I.js → useFocusable-DKo4wWkA.js} +6 -5
- package/__chunks__/{useFormReset-BgHfiDIu.js → useFormReset-Bgj93eR3.js} +1 -1
- package/__chunks__/{useFormReset-CBK-gr1i.mjs → useFormReset-Z8kPFt1Y.mjs} +1 -1
- package/__chunks__/{useFormValidation-DcC1NRuZ.js → useFormValidation-DOUyT2Mb.js} +3 -2
- package/__chunks__/{useFormValidation-BYxDdVMf.mjs → useFormValidation-IDftdxEG.mjs} +4 -3
- package/__chunks__/{useHasTabbableChild-C4YK1050.js → useHasTabbableChild-BCSKoUR_.js} +2 -2
- package/__chunks__/{useHasTabbableChild-DGDM5prr.mjs → useHasTabbableChild-BiqyiyYV.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-B63-XAFq.mjs → useHighlightSelectionDescription-Bhj3NHov.mjs} +4 -4
- package/__chunks__/{useHighlightSelectionDescription-iYtwEoD3.js → useHighlightSelectionDescription-P7rP7hnM.js} +4 -4
- package/__chunks__/{useLabel-DgoVzEBo.mjs → useLabel-D5AQm8lF.mjs} +2 -2
- package/__chunks__/{useLabel-C0XvuXLQ.js → useLabel-t-N6anB8.js} +2 -2
- package/__chunks__/{useLabels-VHHFpIxv.mjs → useLabels-GVN_BrWS.mjs} +1 -1
- package/__chunks__/{useLabels-DI_wRC8f.js → useLabels-KmwewLTv.js} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-DFq_-x5p.js → useLocalizedStringFormatter-D74_5d4h.js} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-Cu2YeWbi.mjs → useLocalizedStringFormatter-D8BlhW_5.mjs} +1 -1
- package/__chunks__/{useModal-DAxn8HNF.js → useModal-D548rAs-.js} +5 -5
- package/__chunks__/{useModal-DHcgMfrN.mjs → useModal-kt-e-joU.mjs} +5 -5
- package/__chunks__/{useOverlayPosition-DhJXDPQ1.mjs → useOverlayPosition-C15BXmuc.mjs} +51 -42
- package/__chunks__/{useOverlayPosition-xwtasJHE.js → useOverlayPosition-DOUNnvBc.js} +51 -42
- package/__chunks__/{usePress-ClFvFaQh.mjs → usePress-DPi5mXfq.mjs} +11 -15
- package/__chunks__/{usePress-CVaDRJAC.js → usePress-DjyN_yP2.js} +9 -13
- package/__chunks__/{useSelectableItem-CrJO5bIy.js → useSelectableItem-Bgjo4Ulj.js} +60 -46
- package/__chunks__/{useSelectableItem-DBsiAD7k.mjs → useSelectableItem-CHyfwMdA.mjs} +58 -44
- package/__chunks__/{useSelectableList-BHutm2pp.js → useSelectableList-CjopKGbS.js} +49 -38
- package/__chunks__/{useSelectableList-m_gemi-V.mjs → useSelectableList-UrsfEn_q.mjs} +49 -38
- package/__chunks__/useSyncRef-BiS62sNy.mjs +14 -0
- package/__chunks__/useSyncRef-CPg4onT-.js +13 -0
- package/__chunks__/{useToggle-BKXAeft5.js → useToggle-U50aBv7S.js} +4 -4
- package/__chunks__/{useToggle-gnVKDYYz.mjs → useToggle-aIu1nW8S.mjs} +4 -4
- package/__chunks__/{useTriggerWidth-Bz_6FJDa.mjs → useTriggerWidth-BMatkUuB.mjs} +12 -9
- package/__chunks__/{useTriggerWidth-Dt_lk9OC.js → useTriggerWidth-E4NybnOT.js} +12 -9
- package/{style.css → easy-ui.css} +1153 -997
- package/package.json +7 -6
- package/styles/_scrollbars.scss +11 -2
- package/utilities/react.js +1 -1
- package/utilities/react.mjs +1 -1
- package/utilities/test.d.ts +2 -0
- package/utilities/test.d.ts.map +1 -1
- package/__chunks__/CodeSnippet-B49672sn.mjs +0 -5409
- package/__chunks__/CodeSnippet-iuQyT2K6.js +0 -5408
- package/__chunks__/omit-EtvKaL2A.mjs +0 -1306
- package/__chunks__/omit-Z0uTP2Xd.js +0 -1305
package/Badge/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const Icon = require("../__chunks__/Icon-
|
|
5
|
-
const Text = require("../__chunks__/Text-
|
|
4
|
+
const Icon = require("../__chunks__/Icon-BB-YYZ82.js");
|
|
5
|
+
const Text = require("../__chunks__/Text-DlAoPDKO.js");
|
|
6
6
|
const utilities_css = require("../utilities/css.js");
|
|
7
|
-
const root = "
|
|
8
|
-
const primary = "
|
|
9
|
-
const secondary = "
|
|
10
|
-
const text = "
|
|
11
|
-
const variantPrimary = "
|
|
12
|
-
const variantSecondary = "
|
|
13
|
-
const variantBlack = "
|
|
14
|
-
const variantInverse = "
|
|
15
|
-
const variantGray = "
|
|
16
|
-
const variantSuccess = "
|
|
17
|
-
const variantWarning = "
|
|
18
|
-
const variantDanger = "
|
|
7
|
+
const root = "_root_1u2l7_5";
|
|
8
|
+
const primary = "_primary_1u2l7_16";
|
|
9
|
+
const secondary = "_secondary_1u2l7_17";
|
|
10
|
+
const text = "_text_1u2l7_32";
|
|
11
|
+
const variantPrimary = "_variantPrimary_1u2l7_37";
|
|
12
|
+
const variantSecondary = "_variantSecondary_1u2l7_44";
|
|
13
|
+
const variantBlack = "_variantBlack_1u2l7_51";
|
|
14
|
+
const variantInverse = "_variantInverse_1u2l7_58";
|
|
15
|
+
const variantGray = "_variantGray_1u2l7_65";
|
|
16
|
+
const variantSuccess = "_variantSuccess_1u2l7_72";
|
|
17
|
+
const variantWarning = "_variantWarning_1u2l7_79";
|
|
18
|
+
const variantDanger = "_variantDanger_1u2l7_86";
|
|
19
19
|
const styles = {
|
|
20
20
|
root,
|
|
21
21
|
primary,
|
package/Badge/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
3
|
-
import { T as Text } from "../__chunks__/Text-
|
|
2
|
+
import { I as Icon } from "../__chunks__/Icon-DRRa9Shg.mjs";
|
|
3
|
+
import { T as Text } from "../__chunks__/Text-CE6HPLUH.mjs";
|
|
4
4
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
5
|
-
const root = "
|
|
6
|
-
const primary = "
|
|
7
|
-
const secondary = "
|
|
8
|
-
const text = "
|
|
9
|
-
const variantPrimary = "
|
|
10
|
-
const variantSecondary = "
|
|
11
|
-
const variantBlack = "
|
|
12
|
-
const variantInverse = "
|
|
13
|
-
const variantGray = "
|
|
14
|
-
const variantSuccess = "
|
|
15
|
-
const variantWarning = "
|
|
16
|
-
const variantDanger = "
|
|
5
|
+
const root = "_root_1u2l7_5";
|
|
6
|
+
const primary = "_primary_1u2l7_16";
|
|
7
|
+
const secondary = "_secondary_1u2l7_17";
|
|
8
|
+
const text = "_text_1u2l7_32";
|
|
9
|
+
const variantPrimary = "_variantPrimary_1u2l7_37";
|
|
10
|
+
const variantSecondary = "_variantSecondary_1u2l7_44";
|
|
11
|
+
const variantBlack = "_variantBlack_1u2l7_51";
|
|
12
|
+
const variantInverse = "_variantInverse_1u2l7_58";
|
|
13
|
+
const variantGray = "_variantGray_1u2l7_65";
|
|
14
|
+
const variantSuccess = "_variantSuccess_1u2l7_72";
|
|
15
|
+
const variantWarning = "_variantWarning_1u2l7_79";
|
|
16
|
+
const variantDanger = "_variantDanger_1u2l7_86";
|
|
17
17
|
const styles = {
|
|
18
18
|
root,
|
|
19
19
|
primary,
|
package/Banner/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const Text = require("../__chunks__/Text-
|
|
4
|
+
const Text = require("../__chunks__/Text-DlAoPDKO.js");
|
|
5
5
|
const utilities_css = require("../utilities/css.js");
|
|
6
|
-
const colorSuccess = "
|
|
7
|
-
const colorPrimary = "
|
|
8
|
-
const colorNeutral = "
|
|
9
|
-
const Banner$1 = "
|
|
6
|
+
const colorSuccess = "_colorSuccess_1rvbc_5";
|
|
7
|
+
const colorPrimary = "_colorPrimary_1rvbc_10";
|
|
8
|
+
const colorNeutral = "_colorNeutral_1rvbc_11";
|
|
9
|
+
const Banner$1 = "_Banner_1rvbc_23";
|
|
10
10
|
const styles = {
|
|
11
11
|
colorSuccess,
|
|
12
12
|
colorPrimary,
|
package/Banner/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { T as Text } from "../__chunks__/Text-
|
|
2
|
+
import { T as Text } from "../__chunks__/Text-CE6HPLUH.mjs";
|
|
3
3
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
4
|
-
const colorSuccess = "
|
|
5
|
-
const colorPrimary = "
|
|
6
|
-
const colorNeutral = "
|
|
7
|
-
const Banner$1 = "
|
|
4
|
+
const colorSuccess = "_colorSuccess_1rvbc_5";
|
|
5
|
+
const colorPrimary = "_colorPrimary_1rvbc_10";
|
|
6
|
+
const colorNeutral = "_colorNeutral_1rvbc_11";
|
|
7
|
+
const Banner$1 = "_Banner_1rvbc_23";
|
|
8
8
|
const styles = {
|
|
9
9
|
colorSuccess,
|
|
10
10
|
colorPrimary,
|
package/Button/index.js
CHANGED
package/Button/index.mjs
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @easypost/easy-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.49
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 73fde3e: feat: Drawer component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 9316554: fix: EmptyStateCard use solid variant
|
|
12
|
+
- Updated dependencies [73fde3e]
|
|
13
|
+
- @easypost/easy-ui-tokens@1.0.0-alpha.14
|
|
14
|
+
|
|
3
15
|
## 1.0.0-alpha.48
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/Calendar/index.js
CHANGED
|
@@ -32,23 +32,23 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
|
-
const Text = require("../__chunks__/Text-
|
|
36
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
37
|
-
const usePress = require("../__chunks__/usePress-
|
|
35
|
+
const Text = require("../__chunks__/Text-DlAoPDKO.js");
|
|
36
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BK6Yy1J3.js");
|
|
37
|
+
const usePress = require("../__chunks__/usePress-DjyN_yP2.js");
|
|
38
38
|
const utilities_css = require("../utilities/css.js");
|
|
39
|
-
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-
|
|
40
|
-
const context = require("../__chunks__/context-
|
|
41
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
42
|
-
const focusSafely = require("../__chunks__/focusSafely-
|
|
39
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-D74_5d4h.js");
|
|
40
|
+
const context = require("../__chunks__/context-D3NeXov7.js");
|
|
41
|
+
const mergeProps = require("../__chunks__/mergeProps-DniMwM6P.js");
|
|
42
|
+
const focusSafely = require("../__chunks__/focusSafely-BpCL6rxl.js");
|
|
43
43
|
const getScrollParent = require("../__chunks__/getScrollParent-DNz2ReWu.js");
|
|
44
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
45
|
-
const useFocusVisible = require("../__chunks__/useFocusVisible-
|
|
46
|
-
const useLabels = require("../__chunks__/useLabels-
|
|
47
|
-
const Icon = require("../__chunks__/Icon-
|
|
48
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
44
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-DkcUbB3D.js");
|
|
45
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-DAg8LS6j.js");
|
|
46
|
+
const useLabels = require("../__chunks__/useLabels-KmwewLTv.js");
|
|
47
|
+
const Icon = require("../__chunks__/Icon-BB-YYZ82.js");
|
|
48
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-BrTcQfkh.js");
|
|
49
49
|
const KeyboardDoubleArrowLeft = require("../__chunks__/KeyboardDoubleArrowLeft-BHR8vGMo.js");
|
|
50
|
-
const VisuallyHidden = require("../__chunks__/VisuallyHidden-
|
|
51
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
50
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-zJSJlhfQ.js");
|
|
51
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-Bl1UoMqJ.js");
|
|
52
52
|
const useControlledState = require("../__chunks__/useControlledState-mnKBd6Uc.js");
|
|
53
53
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CWnuIRMW.js");
|
|
54
54
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
@@ -441,6 +441,7 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
|
|
|
441
441
|
let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
|
|
442
442
|
if (valid.length === 1) return valid[0];
|
|
443
443
|
if (valid.length > 1) switch (disambiguation) {
|
|
444
|
+
// 'compatible' means 'earlier' for "fall back" transitions
|
|
444
445
|
case "compatible":
|
|
445
446
|
case "earlier":
|
|
446
447
|
return valid[0];
|
|
@@ -452,6 +453,7 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
|
|
|
452
453
|
switch (disambiguation) {
|
|
453
454
|
case "earlier":
|
|
454
455
|
return Math.min(ms - offsetBefore, ms - offsetAfter);
|
|
456
|
+
// 'compatible' means 'later' for "spring forward" transitions
|
|
455
457
|
case "compatible":
|
|
456
458
|
case "later":
|
|
457
459
|
return Math.max(ms - offsetBefore, ms - offsetAfter);
|
|
@@ -1543,8 +1545,10 @@ function $7c5f6fbf42389787$var$getYearType(year) {
|
|
|
1543
1545
|
switch (yearLength) {
|
|
1544
1546
|
case 353:
|
|
1545
1547
|
return 0;
|
|
1548
|
+
// deficient
|
|
1546
1549
|
case 354:
|
|
1547
1550
|
return 1;
|
|
1551
|
+
// normal
|
|
1548
1552
|
case 355:
|
|
1549
1553
|
return 2;
|
|
1550
1554
|
}
|
|
@@ -2770,8 +2774,9 @@ function $a074e1e2d0f0a665$export$134cbb7fb09a9522(date) {
|
|
|
2770
2774
|
function $a074e1e2d0f0a665$export$b6df97c887c38e1a(state) {
|
|
2771
2775
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$2($3904726b442bd9b2$exports), "@react-aria/calendar");
|
|
2772
2776
|
let start, end;
|
|
2777
|
+
var _state_value;
|
|
2773
2778
|
if ("highlightedRange" in state) ({ start, end } = state.highlightedRange || {});
|
|
2774
|
-
else start = end = state.value;
|
|
2779
|
+
else start = end = (_state_value = state.value) !== null && _state_value !== void 0 ? _state_value : void 0;
|
|
2775
2780
|
let dateFormatter = $896ba0a80a8f4d36$export$85fd5fdf27bacc79({
|
|
2776
2781
|
weekday: "long",
|
|
2777
2782
|
month: "long",
|
|
@@ -3027,8 +3032,8 @@ function $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state) {
|
|
|
3027
3032
|
return {
|
|
3028
3033
|
gridProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(labelProps, {
|
|
3029
3034
|
role: "grid",
|
|
3030
|
-
"aria-readonly": state.isReadOnly ||
|
|
3031
|
-
"aria-disabled": state.isDisabled ||
|
|
3035
|
+
"aria-readonly": state.isReadOnly || void 0,
|
|
3036
|
+
"aria-disabled": state.isDisabled || void 0,
|
|
3032
3037
|
"aria-multiselectable": "highlightedRange" in state || void 0,
|
|
3033
3038
|
onKeyDown,
|
|
3034
3039
|
onFocus: () => state.setFocused(true),
|
|
@@ -3062,7 +3067,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3062
3067
|
isDisabled2 = isDisabled2 || state.isCellDisabled(date);
|
|
3063
3068
|
let isUnavailable2 = state.isCellUnavailable(date);
|
|
3064
3069
|
let isSelectable = !isDisabled2 && !isUnavailable2;
|
|
3065
|
-
let isInvalid = state.isValueInvalid && ("highlightedRange" in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && $14e0f24ef4ac5c92$export$ea39ec197993aef0(state.value, date));
|
|
3070
|
+
let isInvalid = state.isValueInvalid && Boolean("highlightedRange" in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && $14e0f24ef4ac5c92$export$ea39ec197993aef0(state.value, date));
|
|
3066
3071
|
if (isInvalid) isSelected2 = true;
|
|
3067
3072
|
date = $5a387cc49350e6db$export$722debc0e56fea39(date, $14e0f24ef4ac5c92$export$91b62ebf2ba703ee);
|
|
3068
3073
|
let nativeDate = React.useMemo(() => date.toDate(state.timeZone), [
|
|
@@ -3103,7 +3108,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3103
3108
|
let descriptionProps = scrollIntoView.$ef06256079686ba0$export$f8aeda7b10753fa1(rangeSelectionPrompt);
|
|
3104
3109
|
let isAnchorPressed = React.useRef(false);
|
|
3105
3110
|
let isRangeBoundaryPressed = React.useRef(false);
|
|
3106
|
-
let touchDragTimerRef = React.useRef(
|
|
3111
|
+
let touchDragTimerRef = React.useRef(void 0);
|
|
3107
3112
|
let { pressProps, isPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
3108
3113
|
// When dragging to select a range, we don't want dragging over the original anchor
|
|
3109
3114
|
// again to trigger onPressStart. Cancel presses immediately when the pointer exits.
|
|
@@ -3133,7 +3138,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3133
3138
|
}
|
|
3134
3139
|
let startDragging = () => {
|
|
3135
3140
|
state.setDragging(true);
|
|
3136
|
-
touchDragTimerRef.current =
|
|
3141
|
+
touchDragTimerRef.current = void 0;
|
|
3137
3142
|
state.selectDate(date);
|
|
3138
3143
|
state.setFocusedDate(date);
|
|
3139
3144
|
isAnchorPressed.current = true;
|
|
@@ -3146,7 +3151,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3146
3151
|
isRangeBoundaryPressed.current = false;
|
|
3147
3152
|
isAnchorPressed.current = false;
|
|
3148
3153
|
clearTimeout(touchDragTimerRef.current);
|
|
3149
|
-
touchDragTimerRef.current =
|
|
3154
|
+
touchDragTimerRef.current = void 0;
|
|
3150
3155
|
},
|
|
3151
3156
|
onPress() {
|
|
3152
3157
|
if (!("anchorDate" in state) && !state.isReadOnly) {
|
|
@@ -3182,7 +3187,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3182
3187
|
}
|
|
3183
3188
|
}
|
|
3184
3189
|
});
|
|
3185
|
-
let tabIndex =
|
|
3190
|
+
let tabIndex = void 0;
|
|
3186
3191
|
if (!isDisabled2) tabIndex = $14e0f24ef4ac5c92$export$ea39ec197993aef0(date, state.focusedDate) ? 0 : -1;
|
|
3187
3192
|
React.useEffect(() => {
|
|
3188
3193
|
if (isFocused && ref.current) {
|
|
@@ -3207,9 +3212,9 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3207
3212
|
return {
|
|
3208
3213
|
cellProps: {
|
|
3209
3214
|
role: "gridcell",
|
|
3210
|
-
"aria-disabled": !isSelectable ||
|
|
3211
|
-
"aria-selected": isSelected2 ||
|
|
3212
|
-
"aria-invalid": isInvalid ||
|
|
3215
|
+
"aria-disabled": !isSelectable || void 0,
|
|
3216
|
+
"aria-selected": isSelected2 || void 0,
|
|
3217
|
+
"aria-invalid": isInvalid || void 0
|
|
3213
3218
|
},
|
|
3214
3219
|
buttonProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, {
|
|
3215
3220
|
onFocus() {
|
|
@@ -3217,11 +3222,11 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3217
3222
|
},
|
|
3218
3223
|
tabIndex,
|
|
3219
3224
|
role: "button",
|
|
3220
|
-
"aria-disabled": !isSelectable ||
|
|
3225
|
+
"aria-disabled": !isSelectable || void 0,
|
|
3221
3226
|
"aria-label": label,
|
|
3222
|
-
"aria-invalid": isInvalid ||
|
|
3227
|
+
"aria-invalid": isInvalid || void 0,
|
|
3223
3228
|
"aria-describedby": [
|
|
3224
|
-
isInvalid ? errorMessageId :
|
|
3229
|
+
isInvalid ? errorMessageId : void 0,
|
|
3225
3230
|
descriptionProps["aria-describedby"]
|
|
3226
3231
|
].filter(Boolean).join(" ") || void 0,
|
|
3227
3232
|
onPointerEnter(e) {
|
|
@@ -3244,13 +3249,13 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3244
3249
|
formattedDate
|
|
3245
3250
|
};
|
|
3246
3251
|
}
|
|
3247
|
-
const CellContainer = "
|
|
3248
|
-
const CalendarCell$1 = "
|
|
3249
|
-
const isUnavailable = "
|
|
3250
|
-
const isSelected = "
|
|
3251
|
-
const isDisabled = "
|
|
3252
|
-
const isReadOnly = "
|
|
3253
|
-
const isOutsideCurrentMonth = "
|
|
3252
|
+
const CellContainer = "_CellContainer_bnd61_5";
|
|
3253
|
+
const CalendarCell$1 = "_CalendarCell_bnd61_9";
|
|
3254
|
+
const isUnavailable = "_isUnavailable_bnd61_33";
|
|
3255
|
+
const isSelected = "_isSelected_bnd61_33";
|
|
3256
|
+
const isDisabled = "_isDisabled_bnd61_33";
|
|
3257
|
+
const isReadOnly = "_isReadOnly_bnd61_33";
|
|
3258
|
+
const isOutsideCurrentMonth = "_isOutsideCurrentMonth_bnd61_36";
|
|
3254
3259
|
const styles$3 = {
|
|
3255
3260
|
CellContainer,
|
|
3256
3261
|
CalendarCell: CalendarCell$1,
|
|
@@ -3289,8 +3294,8 @@ function CalendarCell({ state, date }) {
|
|
|
3289
3294
|
variant: "body1"
|
|
3290
3295
|
}, formattedDate)));
|
|
3291
3296
|
}
|
|
3292
|
-
const CalendarGrid$1 = "
|
|
3293
|
-
const CalendarGridHeader = "
|
|
3297
|
+
const CalendarGrid$1 = "_CalendarGrid_1byxi_5";
|
|
3298
|
+
const CalendarGridHeader = "_CalendarGridHeader_1byxi_9";
|
|
3294
3299
|
const styles$2 = {
|
|
3295
3300
|
CalendarGrid: CalendarGrid$1,
|
|
3296
3301
|
CalendarGridHeader
|
|
@@ -3321,7 +3326,7 @@ function CalendarGrid(_a) {
|
|
|
3321
3326
|
key: i
|
|
3322
3327
|
}))))));
|
|
3323
3328
|
}
|
|
3324
|
-
const CalendarHeader$1 = "
|
|
3329
|
+
const CalendarHeader$1 = "_CalendarHeader_159os_5";
|
|
3325
3330
|
const styles$1 = {
|
|
3326
3331
|
CalendarHeader: CalendarHeader$1
|
|
3327
3332
|
};
|
|
@@ -3343,7 +3348,7 @@ function CalendarHeader(_c) {
|
|
|
3343
3348
|
color: "neutral.000"
|
|
3344
3349
|
}))));
|
|
3345
3350
|
}
|
|
3346
|
-
const Calendar$1 = "
|
|
3351
|
+
const Calendar$1 = "_Calendar_gn0vq_5";
|
|
3347
3352
|
const styles = {
|
|
3348
3353
|
Calendar: Calendar$1
|
|
3349
3354
|
};
|
package/Calendar/index.mjs
CHANGED
|
@@ -30,23 +30,23 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useMemo, useState, useRef, useEffect } from "react";
|
|
33
|
-
import { T as Text } from "../__chunks__/Text-
|
|
34
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
35
|
-
import { _ as _class_private_field_init, $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-
|
|
33
|
+
import { T as Text } from "../__chunks__/Text-CE6HPLUH.mjs";
|
|
34
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-0OckrT1B.mjs";
|
|
35
|
+
import { _ as _class_private_field_init, $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-DPi5mXfq.mjs";
|
|
36
36
|
import { classNames } from "../utilities/css.mjs";
|
|
37
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-
|
|
38
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-
|
|
39
|
-
import { $ as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
40
|
-
import {
|
|
37
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-D8BlhW_5.mjs";
|
|
38
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-vBsWZ3Ni.mjs";
|
|
39
|
+
import { $ as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-CTaIJjOz.mjs";
|
|
40
|
+
import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "../__chunks__/focusSafely-Cg665ed0.mjs";
|
|
41
41
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "../__chunks__/getScrollParent-B5CCP-yO.mjs";
|
|
42
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "../__chunks__/scrollIntoView-
|
|
43
|
-
import {
|
|
44
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../__chunks__/useLabels-
|
|
45
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
46
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
42
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "../__chunks__/scrollIntoView-kxx1IN_-.mjs";
|
|
43
|
+
import { g as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "../__chunks__/useFocusVisible-3GO81-mK.mjs";
|
|
44
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../__chunks__/useLabels-GVN_BrWS.mjs";
|
|
45
|
+
import { I as Icon } from "../__chunks__/Icon-DRRa9Shg.mjs";
|
|
46
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CssUB3r5.mjs";
|
|
47
47
|
import { K as KeyboardDoubleArrowLeft, a as KeyboardDoubleArrowRight } from "../__chunks__/KeyboardDoubleArrowLeft-GpUjmD9o.mjs";
|
|
48
|
-
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-
|
|
49
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
48
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-BUfWRoE5.mjs";
|
|
49
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-NAjBMn23.mjs";
|
|
50
50
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/useControlledState-CFWhSD5C.mjs";
|
|
51
51
|
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602, a as $319e236875307eab$export$a9b970dcc4ae71a9 } from "../__chunks__/LiveAnnouncer-UhhG0KqR.mjs";
|
|
52
52
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
@@ -439,6 +439,7 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
|
|
|
439
439
|
let valid = $11d87f3f76e88657$var$getValidWallTimes(dateTime, timeZone, ms - offsetBefore, ms - offsetAfter);
|
|
440
440
|
if (valid.length === 1) return valid[0];
|
|
441
441
|
if (valid.length > 1) switch (disambiguation) {
|
|
442
|
+
// 'compatible' means 'earlier' for "fall back" transitions
|
|
442
443
|
case "compatible":
|
|
443
444
|
case "earlier":
|
|
444
445
|
return valid[0];
|
|
@@ -450,6 +451,7 @@ function $11d87f3f76e88657$export$5107c82f94518f5c(date, timeZone, disambiguatio
|
|
|
450
451
|
switch (disambiguation) {
|
|
451
452
|
case "earlier":
|
|
452
453
|
return Math.min(ms - offsetBefore, ms - offsetAfter);
|
|
454
|
+
// 'compatible' means 'later' for "spring forward" transitions
|
|
453
455
|
case "compatible":
|
|
454
456
|
case "later":
|
|
455
457
|
return Math.max(ms - offsetBefore, ms - offsetAfter);
|
|
@@ -1541,8 +1543,10 @@ function $7c5f6fbf42389787$var$getYearType(year) {
|
|
|
1541
1543
|
switch (yearLength) {
|
|
1542
1544
|
case 353:
|
|
1543
1545
|
return 0;
|
|
1546
|
+
// deficient
|
|
1544
1547
|
case 354:
|
|
1545
1548
|
return 1;
|
|
1549
|
+
// normal
|
|
1546
1550
|
case 355:
|
|
1547
1551
|
return 2;
|
|
1548
1552
|
}
|
|
@@ -2768,8 +2772,9 @@ function $a074e1e2d0f0a665$export$134cbb7fb09a9522(date) {
|
|
|
2768
2772
|
function $a074e1e2d0f0a665$export$b6df97c887c38e1a(state) {
|
|
2769
2773
|
let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$2($3904726b442bd9b2$exports), "@react-aria/calendar");
|
|
2770
2774
|
let start, end;
|
|
2775
|
+
var _state_value;
|
|
2771
2776
|
if ("highlightedRange" in state) ({ start, end } = state.highlightedRange || {});
|
|
2772
|
-
else start = end = state.value;
|
|
2777
|
+
else start = end = (_state_value = state.value) !== null && _state_value !== void 0 ? _state_value : void 0;
|
|
2773
2778
|
let dateFormatter = $896ba0a80a8f4d36$export$85fd5fdf27bacc79({
|
|
2774
2779
|
weekday: "long",
|
|
2775
2780
|
month: "long",
|
|
@@ -3025,8 +3030,8 @@ function $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state) {
|
|
|
3025
3030
|
return {
|
|
3026
3031
|
gridProps: $3ef42575df84b30b$export$9d1611c77c2fe928(labelProps, {
|
|
3027
3032
|
role: "grid",
|
|
3028
|
-
"aria-readonly": state.isReadOnly ||
|
|
3029
|
-
"aria-disabled": state.isDisabled ||
|
|
3033
|
+
"aria-readonly": state.isReadOnly || void 0,
|
|
3034
|
+
"aria-disabled": state.isDisabled || void 0,
|
|
3030
3035
|
"aria-multiselectable": "highlightedRange" in state || void 0,
|
|
3031
3036
|
onKeyDown,
|
|
3032
3037
|
onFocus: () => state.setFocused(true),
|
|
@@ -3060,7 +3065,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3060
3065
|
isDisabled2 = isDisabled2 || state.isCellDisabled(date);
|
|
3061
3066
|
let isUnavailable2 = state.isCellUnavailable(date);
|
|
3062
3067
|
let isSelectable = !isDisabled2 && !isUnavailable2;
|
|
3063
|
-
let isInvalid = state.isValueInvalid && ("highlightedRange" in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && $14e0f24ef4ac5c92$export$ea39ec197993aef0(state.value, date));
|
|
3068
|
+
let isInvalid = state.isValueInvalid && Boolean("highlightedRange" in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && $14e0f24ef4ac5c92$export$ea39ec197993aef0(state.value, date));
|
|
3064
3069
|
if (isInvalid) isSelected2 = true;
|
|
3065
3070
|
date = $5a387cc49350e6db$export$722debc0e56fea39(date, $14e0f24ef4ac5c92$export$91b62ebf2ba703ee);
|
|
3066
3071
|
let nativeDate = useMemo(() => date.toDate(state.timeZone), [
|
|
@@ -3101,7 +3106,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3101
3106
|
let descriptionProps = $ef06256079686ba0$export$f8aeda7b10753fa1(rangeSelectionPrompt);
|
|
3102
3107
|
let isAnchorPressed = useRef(false);
|
|
3103
3108
|
let isRangeBoundaryPressed = useRef(false);
|
|
3104
|
-
let touchDragTimerRef = useRef(
|
|
3109
|
+
let touchDragTimerRef = useRef(void 0);
|
|
3105
3110
|
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
3106
3111
|
// When dragging to select a range, we don't want dragging over the original anchor
|
|
3107
3112
|
// again to trigger onPressStart. Cancel presses immediately when the pointer exits.
|
|
@@ -3131,7 +3136,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3131
3136
|
}
|
|
3132
3137
|
let startDragging = () => {
|
|
3133
3138
|
state.setDragging(true);
|
|
3134
|
-
touchDragTimerRef.current =
|
|
3139
|
+
touchDragTimerRef.current = void 0;
|
|
3135
3140
|
state.selectDate(date);
|
|
3136
3141
|
state.setFocusedDate(date);
|
|
3137
3142
|
isAnchorPressed.current = true;
|
|
@@ -3144,7 +3149,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3144
3149
|
isRangeBoundaryPressed.current = false;
|
|
3145
3150
|
isAnchorPressed.current = false;
|
|
3146
3151
|
clearTimeout(touchDragTimerRef.current);
|
|
3147
|
-
touchDragTimerRef.current =
|
|
3152
|
+
touchDragTimerRef.current = void 0;
|
|
3148
3153
|
},
|
|
3149
3154
|
onPress() {
|
|
3150
3155
|
if (!("anchorDate" in state) && !state.isReadOnly) {
|
|
@@ -3180,7 +3185,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3180
3185
|
}
|
|
3181
3186
|
}
|
|
3182
3187
|
});
|
|
3183
|
-
let tabIndex =
|
|
3188
|
+
let tabIndex = void 0;
|
|
3184
3189
|
if (!isDisabled2) tabIndex = $14e0f24ef4ac5c92$export$ea39ec197993aef0(date, state.focusedDate) ? 0 : -1;
|
|
3185
3190
|
useEffect(() => {
|
|
3186
3191
|
if (isFocused && ref.current) {
|
|
@@ -3205,9 +3210,9 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3205
3210
|
return {
|
|
3206
3211
|
cellProps: {
|
|
3207
3212
|
role: "gridcell",
|
|
3208
|
-
"aria-disabled": !isSelectable ||
|
|
3209
|
-
"aria-selected": isSelected2 ||
|
|
3210
|
-
"aria-invalid": isInvalid ||
|
|
3213
|
+
"aria-disabled": !isSelectable || void 0,
|
|
3214
|
+
"aria-selected": isSelected2 || void 0,
|
|
3215
|
+
"aria-invalid": isInvalid || void 0
|
|
3211
3216
|
},
|
|
3212
3217
|
buttonProps: $3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, {
|
|
3213
3218
|
onFocus() {
|
|
@@ -3215,11 +3220,11 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3215
3220
|
},
|
|
3216
3221
|
tabIndex,
|
|
3217
3222
|
role: "button",
|
|
3218
|
-
"aria-disabled": !isSelectable ||
|
|
3223
|
+
"aria-disabled": !isSelectable || void 0,
|
|
3219
3224
|
"aria-label": label,
|
|
3220
|
-
"aria-invalid": isInvalid ||
|
|
3225
|
+
"aria-invalid": isInvalid || void 0,
|
|
3221
3226
|
"aria-describedby": [
|
|
3222
|
-
isInvalid ? errorMessageId :
|
|
3227
|
+
isInvalid ? errorMessageId : void 0,
|
|
3223
3228
|
descriptionProps["aria-describedby"]
|
|
3224
3229
|
].filter(Boolean).join(" ") || void 0,
|
|
3225
3230
|
onPointerEnter(e) {
|
|
@@ -3242,13 +3247,13 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3242
3247
|
formattedDate
|
|
3243
3248
|
};
|
|
3244
3249
|
}
|
|
3245
|
-
const CellContainer = "
|
|
3246
|
-
const CalendarCell$1 = "
|
|
3247
|
-
const isUnavailable = "
|
|
3248
|
-
const isSelected = "
|
|
3249
|
-
const isDisabled = "
|
|
3250
|
-
const isReadOnly = "
|
|
3251
|
-
const isOutsideCurrentMonth = "
|
|
3250
|
+
const CellContainer = "_CellContainer_bnd61_5";
|
|
3251
|
+
const CalendarCell$1 = "_CalendarCell_bnd61_9";
|
|
3252
|
+
const isUnavailable = "_isUnavailable_bnd61_33";
|
|
3253
|
+
const isSelected = "_isSelected_bnd61_33";
|
|
3254
|
+
const isDisabled = "_isDisabled_bnd61_33";
|
|
3255
|
+
const isReadOnly = "_isReadOnly_bnd61_33";
|
|
3256
|
+
const isOutsideCurrentMonth = "_isOutsideCurrentMonth_bnd61_36";
|
|
3252
3257
|
const styles$3 = {
|
|
3253
3258
|
CellContainer,
|
|
3254
3259
|
CalendarCell: CalendarCell$1,
|
|
@@ -3287,8 +3292,8 @@ function CalendarCell({ state, date }) {
|
|
|
3287
3292
|
variant: "body1"
|
|
3288
3293
|
}, formattedDate)));
|
|
3289
3294
|
}
|
|
3290
|
-
const CalendarGrid$1 = "
|
|
3291
|
-
const CalendarGridHeader = "
|
|
3295
|
+
const CalendarGrid$1 = "_CalendarGrid_1byxi_5";
|
|
3296
|
+
const CalendarGridHeader = "_CalendarGridHeader_1byxi_9";
|
|
3292
3297
|
const styles$2 = {
|
|
3293
3298
|
CalendarGrid: CalendarGrid$1,
|
|
3294
3299
|
CalendarGridHeader
|
|
@@ -3319,7 +3324,7 @@ function CalendarGrid(_a) {
|
|
|
3319
3324
|
key: i
|
|
3320
3325
|
}))))));
|
|
3321
3326
|
}
|
|
3322
|
-
const CalendarHeader$1 = "
|
|
3327
|
+
const CalendarHeader$1 = "_CalendarHeader_159os_5";
|
|
3323
3328
|
const styles$1 = {
|
|
3324
3329
|
CalendarHeader: CalendarHeader$1
|
|
3325
3330
|
};
|
|
@@ -3341,7 +3346,7 @@ function CalendarHeader(_c) {
|
|
|
3341
3346
|
color: "neutral.000"
|
|
3342
3347
|
}))));
|
|
3343
3348
|
}
|
|
3344
|
-
const Calendar$1 = "
|
|
3349
|
+
const Calendar$1 = "_Calendar_gn0vq_5";
|
|
3345
3350
|
const styles = {
|
|
3346
3351
|
Calendar: Calendar$1
|
|
3347
3352
|
};
|
package/Card/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Card = require("../__chunks__/Card-
|
|
3
|
+
const Card = require("../__chunks__/Card-hRRKiLC0.js");
|
|
4
4
|
exports.Card = Card.Card;
|
|
5
5
|
exports.pickCardAreaProps = Card.pickCardAreaProps;
|
package/Card/index.mjs
CHANGED
package/Checkbox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
3
|
+
const Checkbox = require("../__chunks__/Checkbox-BSr3UmAv.js");
|
|
4
4
|
exports.Checkbox = Checkbox.Checkbox;
|
|
5
5
|
exports.DEFAULT_SIZE = Checkbox.DEFAULT_SIZE;
|
package/Checkbox/index.mjs
CHANGED