@easypost/easy-ui 1.0.0-alpha.45 → 1.0.0-alpha.47
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 +27 -0
- package/Calendar/index.js +29 -27
- package/Calendar/index.mjs +24 -22
- package/Card/Card.d.ts +50 -3
- package/Card/Card.d.ts.map +1 -1
- package/Card/Card.stories.d.ts +3 -0
- package/Card/Card.stories.d.ts.map +1 -1
- package/Card/index.js +2 -1
- package/Card/index.mjs +3 -2
- package/Checkbox/Checkbox.test.d.ts +1 -2
- package/Checkbox/Checkbox.test.d.ts.map +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +18 -17
- package/CodeBlock/index.mjs +17 -16
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/Cell.d.ts +6 -1
- package/DataGrid/Cell.d.ts.map +1 -1
- package/DataGrid/DataGrid.stories.d.ts +2 -0
- package/DataGrid/DataGrid.stories.d.ts.map +1 -1
- package/DataGrid/Row.d.ts +4 -0
- package/DataGrid/Row.d.ts.map +1 -1
- package/DataGrid/Table.d.ts.map +1 -1
- package/DataGrid/index.js +121 -651
- package/DataGrid/index.mjs +102 -632
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/EmptyStateCard.d.ts +143 -0
- package/EmptyStateCard/EmptyStateCard.d.ts.map +1 -0
- package/EmptyStateCard/EmptyStateCard.stories.d.ts +8 -0
- package/EmptyStateCard/EmptyStateCard.stories.d.ts.map +1 -0
- package/EmptyStateCard/EmptyStateCard.test.d.ts +2 -0
- package/EmptyStateCard/EmptyStateCard.test.d.ts.map +1 -0
- package/EmptyStateCard/index.d.ts +2 -0
- package/EmptyStateCard/index.d.ts.map +1 -0
- package/EmptyStateCard/index.js +103 -0
- package/EmptyStateCard/index.mjs +103 -0
- 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/Icon.stories.d.ts.map +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/NexusLayout.stories.d.ts.map +1 -1
- package/NexusLayout/index.js +40 -40
- package/NexusLayout/index.mjs +33 -33
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/PillGroup/PillGroup.d.ts +80 -0
- package/PillGroup/PillGroup.d.ts.map +1 -0
- package/PillGroup/PillGroup.stories.d.ts +11 -0
- package/PillGroup/PillGroup.stories.d.ts.map +1 -0
- package/PillGroup/PillGroup.test.d.ts +2 -0
- package/PillGroup/PillGroup.test.d.ts.map +1 -0
- package/PillGroup/index.d.ts +2 -0
- package/PillGroup/index.d.ts.map +1 -0
- package/PillGroup/index.js +1920 -0
- package/PillGroup/index.mjs +1920 -0
- 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 +33 -33
- package/RadioGroup/index.mjs +25 -25
- package/SearchNav/index.js +30 -30
- package/SearchNav/index.mjs +30 -30
- package/SectionCard/SectionCard.d.ts +53 -0
- package/SectionCard/SectionCard.d.ts.map +1 -0
- package/SectionCard/SectionCard.stories.d.ts +11 -0
- package/SectionCard/SectionCard.stories.d.ts.map +1 -0
- package/SectionCard/SectionCard.test.d.ts +2 -0
- package/SectionCard/SectionCard.test.d.ts.map +1 -0
- package/SectionCard/index.d.ts +2 -0
- package/SectionCard/index.d.ts.map +1 -0
- package/SectionCard/index.js +5585 -0
- package/SectionCard/index.mjs +5585 -0
- 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/Spinner.d.ts +73 -0
- package/Spinner/Spinner.d.ts.map +1 -0
- package/Spinner/Spinner.stories.d.ts +11 -0
- package/Spinner/Spinner.stories.d.ts.map +1 -0
- package/Spinner/Spinner.test.d.ts +2 -0
- package/Spinner/Spinner.test.d.ts.map +1 -0
- package/Spinner/index.d.ts +2 -0
- package/Spinner/index.d.ts.map +1 -0
- package/Spinner/index.js +4 -0
- package/Spinner/index.mjs +4 -0
- package/SplitToggleCard/SplitToggleCard.d.ts +57 -0
- package/SplitToggleCard/SplitToggleCard.d.ts.map +1 -0
- package/SplitToggleCard/SplitToggleCard.stories.d.ts +11 -0
- package/SplitToggleCard/SplitToggleCard.stories.d.ts.map +1 -0
- package/SplitToggleCard/SplitToggleCard.test.d.ts +2 -0
- package/SplitToggleCard/SplitToggleCard.test.d.ts.map +1 -0
- package/SplitToggleCard/index.d.ts +2 -0
- package/SplitToggleCard/index.d.ts.map +1 -0
- package/SplitToggleCard/index.js +50 -0
- package/SplitToggleCard/index.mjs +50 -0
- 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 +18 -17
- package/TabPanels/index.mjs +11 -10
- 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 +2 -132
- package/Toggle/index.mjs +2 -132
- package/ToggleCard/ToggleCard.d.ts +88 -0
- package/ToggleCard/ToggleCard.d.ts.map +1 -0
- package/ToggleCard/ToggleCard.stories.d.ts +12 -0
- package/ToggleCard/ToggleCard.stories.d.ts.map +1 -0
- package/ToggleCard/ToggleCard.test.d.ts +2 -0
- package/ToggleCard/ToggleCard.test.d.ts.map +1 -0
- package/ToggleCard/index.d.ts +2 -0
- package/ToggleCard/index.d.ts.map +1 -0
- package/ToggleCard/index.js +47 -0
- package/ToggleCard/index.mjs +47 -0
- 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 +33 -33
- package/VerticalNav/index.mjs +29 -29
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-q1Fn25T4.mjs → Button-B5Y5m6F7.mjs} +18 -18
- package/__chunks__/{Button-gX6YZjGy.js → Button-eE4jYST7.js} +18 -18
- package/__chunks__/Card-BHXE4xkl.js +209 -0
- package/__chunks__/Card-DkkGa1Tq.mjs +210 -0
- package/__chunks__/{Checkbox-Ag6okSMI.mjs → Checkbox-BWFilQso.mjs} +23 -23
- package/__chunks__/{Checkbox-DEl6pHno.js → Checkbox-ChUVjHwA.js} +24 -24
- package/__chunks__/{CodeSnippet-MW7akGWe.mjs → CodeSnippet-DdAz4aO2.mjs} +4 -4
- package/__chunks__/{CodeSnippet-CN1cTy14.js → CodeSnippet-tfOUcCdU.js} +4 -4
- package/__chunks__/{FocusScope-BpYzaT--.js → FocusScope-DKubuM0o.js} +13 -12
- package/__chunks__/{FocusScope-ClKzYO5z.mjs → FocusScope-DjMsGso5.mjs} +3 -2
- package/__chunks__/{HelpMenu-C7IRJHxO.mjs → HelpMenu-C_POzwhQ.mjs} +7 -7
- package/__chunks__/{HelpMenu-DFKHmSyB.js → HelpMenu-DIONK_tj.js} +7 -7
- package/__chunks__/{HorizontalGrid-DeGiVx01.mjs → HorizontalGrid-0vKbO48V.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BhzZYRpM.js → HorizontalGrid-BCdfdk4b.js} +1 -1
- package/__chunks__/{HorizontalStack-BXWiVrLQ.js → HorizontalStack-B2JZOgff.js} +1 -1
- package/__chunks__/{HorizontalStack-DGgYHShn.mjs → HorizontalStack-C-G7fjsz.mjs} +1 -1
- package/__chunks__/{Icon-C8Pv0WxJ.js → Icon-B5AFLpxS.js} +2 -2
- package/__chunks__/{Icon-2Jqy__IK.mjs → Icon-BLzAgcg_.mjs} +2 -2
- package/__chunks__/{InputField-2qIcJnSW.js → InputField-BGLNsL2_.js} +13 -12
- package/__chunks__/{InputField-Cj5ahjC3.mjs → InputField-Bj2F7T3Q.mjs} +11 -10
- package/__chunks__/{InputIcon-DryydRR4.js → InputIcon-BincfGwe.js} +25 -25
- package/__chunks__/{InputIcon-ByZM5Md9.mjs → InputIcon-duu04a1z.mjs} +25 -25
- package/__chunks__/Item-BhrTPNN2.mjs +80 -0
- package/__chunks__/Item-CfWjPrxx.js +79 -0
- package/__chunks__/{Menu-DSXfR7ad.js → Menu-CeeJaGmt.js} +34 -32
- package/__chunks__/{Menu-Bre_jmew.mjs → Menu-Du-8-j3R.mjs} +20 -18
- package/__chunks__/{Notification-9b6YgU58.mjs → Notification-CV2E61wK.mjs} +20 -207
- package/__chunks__/{Notification-8Mhkaymx.js → Notification-aHY58Qq7.js} +36 -223
- package/__chunks__/{Overlay-CqTOWbtQ.js → Overlay-CY8bNurd.js} +4 -4
- package/__chunks__/{Overlay-BmLVKZla.mjs → Overlay-xd1LfGQZ.mjs} +3 -3
- package/__chunks__/{SelectOverlay-KITCRHsL.js → SelectOverlay-Byv1F2ji.js} +55 -52
- package/__chunks__/{SelectOverlay-tJDBxYOU.mjs → SelectOverlay-DpygMhYn.mjs} +34 -31
- package/__chunks__/{SelectionManager-CB_T6NC6.mjs → SelectionManager-ChMpWjWa.mjs} +3 -44
- package/__chunks__/{SelectionManager-AaN-3NUZ.js → SelectionManager-CpyTdFX6.js} +0 -41
- package/__chunks__/{SelectorErrorTooltip-BJfwnUUa.js → SelectorErrorTooltip-LyUQv-23.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-CSbKmswG.mjs → SelectorErrorTooltip-_vwby_Vc.mjs} +4 -4
- package/__chunks__/Spinner-3CpbL13F.mjs +234 -0
- package/__chunks__/Spinner-CKtX2NGd.js +233 -0
- package/__chunks__/{Stepper-BsrUIMSJ.mjs → Stepper-CkAXUGn6.mjs} +28 -28
- package/__chunks__/{Stepper-DoHF67_7.js → Stepper-Dn799Tnn.js} +29 -29
- package/__chunks__/{TabNav-C8z1cvlF.mjs → TabNav-C8_eB27i.mjs} +1 -1
- package/__chunks__/{TabNav-Derd7YbG.js → TabNav-t-CMZEqJ.js} +1 -1
- package/__chunks__/{Tabs-Hy4M60pm.mjs → Tabs-C0Hr98ie.mjs} +19 -19
- package/__chunks__/{Tabs-ForPHajC.js → Tabs-CZg3AJRb.js} +20 -20
- package/__chunks__/{Text-Bxnq33Lq.mjs → Text-Be2tsyQD.mjs} +34 -34
- package/__chunks__/{Text-BIEBtikW.js → Text-D68nUAQK.js} +34 -34
- package/__chunks__/{Theme-CqW06Zqh.js → Theme-Bo01TAUG.js} +1 -1
- package/__chunks__/{Theme-Cri17wzY.mjs → Theme-M0zyy2Dq.mjs} +1 -1
- package/__chunks__/Toggle-CZwNkO8E.mjs +134 -0
- package/__chunks__/Toggle-DNOVRi-X.js +133 -0
- package/__chunks__/{Tooltip-B3hdiIPX.js → Tooltip-DyIVNFqW.js} +20 -19
- package/__chunks__/{Tooltip-ypljYq0T.mjs → Tooltip-SazkNBrg.mjs} +13 -12
- package/__chunks__/{UnstyledButton-CTQBhhq3.mjs → UnstyledButton-B85APDZk.mjs} +3 -69
- package/__chunks__/{UnstyledButton-DMmFUqkd.js → UnstyledButton-DwB-70Zg.js} +5 -71
- package/__chunks__/{VerticalStack-BjQNx2AR.mjs → VerticalStack-Dscos9dB.mjs} +3 -3
- package/__chunks__/{VerticalStack-DM3U_50O.js → VerticalStack-u0_XuJW_.js} +3 -3
- package/__chunks__/{VisuallyHidden-kvhydz5c.mjs → VisuallyHidden-BttjYmWH.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-BjR6rJ8D.js → VisuallyHidden-CC7DzLD_.js} +3 -3
- package/__chunks__/{ariaHideOutside-Dw3e22ml.js → ariaHideOutside-CjOu8XSm.js} +11 -10
- package/__chunks__/{ariaHideOutside-CD7pYiLE.mjs → ariaHideOutside-RM9c5bTH.mjs} +4 -3
- package/__chunks__/filterDOMProps-D3iOHP0H.js +27 -0
- package/__chunks__/filterDOMProps-EDDcM64A.mjs +28 -0
- package/__chunks__/{focusSafely-Cu6jhez1.mjs → focusSafely-DyKmKF3H.mjs} +4 -29
- package/__chunks__/{focusSafely-DJl8qN5z.js → focusSafely-sijAOUK7.js} +3 -28
- package/__chunks__/index-DPLYGXdw.js +192 -0
- package/__chunks__/index-V3oT63-o.mjs +193 -0
- package/__chunks__/mergeProps-LaTXuy7S.mjs +169 -0
- package/__chunks__/mergeProps-UQqzLbUj.js +168 -0
- package/__chunks__/number-C4N6pKyl.js +6 -0
- package/__chunks__/number-CLRm_tTs.mjs +7 -0
- package/__chunks__/{omit-OQfV3qz5.mjs → omit-EtvKaL2A.mjs} +11 -1
- package/__chunks__/{omit-0LBTZvV9.js → omit-Z0uTP2Xd.js} +10 -0
- package/__chunks__/{scrollIntoView-DKi6e0cR.mjs → scrollIntoView-B2o3iHso.mjs} +1 -1
- package/__chunks__/{scrollIntoView-DhYqseLR.js → scrollIntoView-BHdu5D09.js} +2 -2
- package/__chunks__/{tokens-D6A5fVSz.mjs → tokens-CDOugTSw.mjs} +2 -2
- package/__chunks__/{tokens-C6vt_Hlh.js → tokens-IUYXB6Tn.js} +2 -2
- package/__chunks__/useButton-BdYk9xnR.mjs +71 -0
- package/__chunks__/useButton-Xzg4psmA.js +70 -0
- package/__chunks__/{useDialog-uBMe6LgS.js → useDialog-BqW6jo7l.js} +8 -7
- package/__chunks__/{useDialog-_rBj9AlR.mjs → useDialog-CoYv879m.mjs} +5 -4
- package/__chunks__/{useEdgeInterceptors-BMyKxHKC.mjs → useEdgeInterceptors-BPebdmzP.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-Cw_9JpnH.js → useEdgeInterceptors-alIops4J.js} +5 -5
- package/__chunks__/useField-CKvvgbTo.js +38 -0
- package/__chunks__/useField-CNOBbwmX.mjs +39 -0
- package/__chunks__/{useFocusRing-CGhNSNFG.js → useFocusRing-Npp_x4d2.js} +2 -2
- package/__chunks__/{useFocusRing-Bxr2vM4K.mjs → useFocusRing-ncxyH8xX.mjs} +2 -2
- package/__chunks__/{useFocusVisible-Ck9pGy9i.js → useFocusVisible-D8TIwziQ.js} +3 -167
- package/__chunks__/{useFocusVisible-J4EYjfvG.mjs → useFocusVisible-tOFdeHRg.mjs} +21 -185
- package/__chunks__/{useFocusWithin-C6k-zquT.js → useFocusWithin-BvknKO0e.js} +1 -1
- package/__chunks__/{useFocusWithin-DYsWIiUp.mjs → useFocusWithin-nLKCteQd.mjs} +1 -1
- package/__chunks__/{useFocusable-iDzrecvZ.js → useFocusable-DUdSTo4I.js} +5 -4
- package/__chunks__/{useFocusable-BgnaSxZa.mjs → useFocusable-Ds_ERjDI.mjs} +3 -2
- package/__chunks__/{useFormReset-CL0FF6YZ.js → useFormReset-BgHfiDIu.js} +2 -2
- package/__chunks__/{useFormReset-D83L-dyH.mjs → useFormReset-CBK-gr1i.mjs} +1 -1
- package/__chunks__/{useFormValidation-Bo0J_qZV.js → useFormValidation-BxZ4c-bB.js} +6 -5
- package/__chunks__/{useFormValidation-Bw6KpsUa.mjs → useFormValidation-DsAvH0dz.mjs} +2 -1
- package/__chunks__/{useHasTabbableChild-Br41GqQv.js → useHasTabbableChild-C4YK1050.js} +3 -3
- package/__chunks__/{useHasTabbableChild-Cw6T2X9g.mjs → useHasTabbableChild-DGDM5prr.mjs} +2 -2
- package/__chunks__/useHighlightSelectionDescription-BGl2iF2Z.js +569 -0
- package/__chunks__/useHighlightSelectionDescription-rkL1wp2V.mjs +571 -0
- package/__chunks__/useLabel-C0XvuXLQ.js +26 -0
- package/__chunks__/useLabel-DgoVzEBo.mjs +27 -0
- package/__chunks__/{useLabels-Cl57IhjL.js → useLabels-DI_wRC8f.js} +2 -2
- package/__chunks__/{useLabels-DORKiZxT.mjs → useLabels-VHHFpIxv.mjs} +1 -1
- package/__chunks__/{useListState-B6G5qzJd.mjs → useListState-C5vJzmAb.mjs} +1 -1
- package/__chunks__/{useListState-Ck5H4MAA.js → useListState-O4I-s6LP.js} +1 -1
- package/__chunks__/{useOverlayPosition-D8DJSKN8.mjs → useOverlayPosition--uH_jdBh.mjs} +3 -5
- package/__chunks__/{useOverlayPosition-Cco3OpDM.js → useOverlayPosition-D6-7FWMP.js} +9 -11
- package/__chunks__/{usePress-CJFCsGrc.js → usePress-CVaDRJAC.js} +11 -10
- package/__chunks__/{usePress-ju3DTlr9.mjs → usePress-ClFvFaQh.mjs} +5 -4
- package/__chunks__/{useSelectableItem-C5QRAzSi.mjs → useSelectableItem-DTTeu25M.mjs} +8 -7
- package/__chunks__/{useSelectableItem-Bc4g90EF.js → useSelectableItem-RUJ3ebRo.js} +10 -9
- package/__chunks__/useSelectableList-CeWJQ6Xu.mjs +264 -0
- package/__chunks__/useSelectableList-Sj8VNgE2.js +263 -0
- package/__chunks__/{useSingleSelectListState-B986PY_-.mjs → useSingleSelectListState-CJaq7K6f.mjs} +1 -1
- package/__chunks__/{useSingleSelectListState-D9GAVqg-.js → useSingleSelectListState-f_lY7S5Y.js} +1 -1
- package/__chunks__/{useToggle-BCE6u1Lj.js → useToggle-BKXAeft5.js} +9 -9
- package/__chunks__/{useToggle-DXKCnim2.mjs → useToggle-gnVKDYYz.mjs} +5 -5
- package/__chunks__/{useTreeState-B17XJzbd.js → useTreeState-BoolbRKe.js} +1 -1
- package/__chunks__/{useTreeState-BLk_kKec.mjs → useTreeState-ToD3iLa5.mjs} +1 -1
- package/__chunks__/{useTriggerWidth-dS0oZQ8m.mjs → useTriggerWidth-BWXuG_CY.mjs} +18 -259
- package/__chunks__/{useTriggerWidth-DuXoMggu.js → useTriggerWidth-CGNrTdFa.js} +12 -253
- package/package.json +4 -3
- package/style.css +1214 -896
- package/types.d.ts +3 -0
- package/types.d.ts.map +1 -1
- package/utilities/storybook.d.ts +9 -0
- package/utilities/storybook.d.ts.map +1 -1
- package/utilities/test.d.ts +1 -0
- package/utilities/test.d.ts.map +1 -1
- package/__chunks__/Card-CBNT8prJ.mjs +0 -100
- package/__chunks__/Card-D_PL5WWN.js +0 -99
- package/__chunks__/useField-BHyg_miy.mjs +0 -62
- package/__chunks__/useField-Dkj8XBiU.js +0 -61
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-B5AFLpxS.js");
|
|
5
|
+
const Text = require("../__chunks__/Text-D68nUAQK.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_1gbn2_5";
|
|
8
|
+
const primary = "_primary_1gbn2_16";
|
|
9
|
+
const secondary = "_secondary_1gbn2_17";
|
|
10
|
+
const text = "_text_1gbn2_32";
|
|
11
|
+
const variantPrimary = "_variantPrimary_1gbn2_37";
|
|
12
|
+
const variantSecondary = "_variantSecondary_1gbn2_44";
|
|
13
|
+
const variantBlack = "_variantBlack_1gbn2_51";
|
|
14
|
+
const variantInverse = "_variantInverse_1gbn2_58";
|
|
15
|
+
const variantGray = "_variantGray_1gbn2_65";
|
|
16
|
+
const variantSuccess = "_variantSuccess_1gbn2_72";
|
|
17
|
+
const variantWarning = "_variantWarning_1gbn2_79";
|
|
18
|
+
const variantDanger = "_variantDanger_1gbn2_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-BLzAgcg_.mjs";
|
|
3
|
+
import { T as Text } from "../__chunks__/Text-Be2tsyQD.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_1gbn2_5";
|
|
6
|
+
const primary = "_primary_1gbn2_16";
|
|
7
|
+
const secondary = "_secondary_1gbn2_17";
|
|
8
|
+
const text = "_text_1gbn2_32";
|
|
9
|
+
const variantPrimary = "_variantPrimary_1gbn2_37";
|
|
10
|
+
const variantSecondary = "_variantSecondary_1gbn2_44";
|
|
11
|
+
const variantBlack = "_variantBlack_1gbn2_51";
|
|
12
|
+
const variantInverse = "_variantInverse_1gbn2_58";
|
|
13
|
+
const variantGray = "_variantGray_1gbn2_65";
|
|
14
|
+
const variantSuccess = "_variantSuccess_1gbn2_72";
|
|
15
|
+
const variantWarning = "_variantWarning_1gbn2_79";
|
|
16
|
+
const variantDanger = "_variantDanger_1gbn2_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-D68nUAQK.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_1ryi6_5";
|
|
7
|
+
const colorPrimary = "_colorPrimary_1ryi6_10";
|
|
8
|
+
const colorNeutral = "_colorNeutral_1ryi6_11";
|
|
9
|
+
const Banner$1 = "_Banner_1ryi6_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-Be2tsyQD.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_1ryi6_5";
|
|
5
|
+
const colorPrimary = "_colorPrimary_1ryi6_10";
|
|
6
|
+
const colorNeutral = "_colorNeutral_1ryi6_11";
|
|
7
|
+
const Banner$1 = "_Banner_1ryi6_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,32 @@
|
|
|
1
1
|
# @easypost/easy-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.47
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2ac540f: Create `<Spinner />` component
|
|
8
|
+
- 712edb9: feat: create EmptyStateCard component
|
|
9
|
+
- 6c92ae5: Create `<ToggleCard />` component
|
|
10
|
+
- b2bfda7: DataGrid support empty state
|
|
11
|
+
- 4be0201: feat: support border radius, paddingX, and paddingY for `Card` and update `ToggleCard` to use new `Card` props
|
|
12
|
+
- 1fd8015: Supports DataGrid loading state
|
|
13
|
+
- 15309ec: fix: overflow for NexusLayoutMultipageContent component
|
|
14
|
+
- 11ca1e9: feat: add SectionCard component
|
|
15
|
+
|
|
16
|
+
## 1.0.0-alpha.46
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 2eb11dc: Create `<PillGroup />` component
|
|
21
|
+
- 51e5b35: feat: create SplitToggleCard component
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [8c1c613]
|
|
26
|
+
- Updated dependencies [2eb11dc]
|
|
27
|
+
- @easypost/easy-ui-icons@1.0.0-alpha.28
|
|
28
|
+
- @easypost/easy-ui-tokens@1.0.0-alpha.12
|
|
29
|
+
|
|
3
30
|
## 1.0.0-alpha.45
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
package/Calendar/index.js
CHANGED
|
@@ -32,23 +32,25 @@ 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-D68nUAQK.js");
|
|
36
|
+
const VerticalStack = require("../__chunks__/VerticalStack-u0_XuJW_.js");
|
|
37
|
+
const usePress = require("../__chunks__/usePress-CVaDRJAC.js");
|
|
38
38
|
const utilities_css = require("../utilities/css.js");
|
|
39
39
|
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-BLVK8-7o.js");
|
|
40
40
|
const context = require("../__chunks__/context-CVdyTo4T.js");
|
|
41
|
-
const
|
|
42
|
-
const focusSafely = require("../__chunks__/focusSafely-
|
|
41
|
+
const mergeProps = require("../__chunks__/mergeProps-UQqzLbUj.js");
|
|
42
|
+
const focusSafely = require("../__chunks__/focusSafely-sijAOUK7.js");
|
|
43
43
|
const getScrollParent = require("../__chunks__/getScrollParent-DbYnnXj7.js");
|
|
44
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
44
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-BHdu5D09.js");
|
|
45
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-D8TIwziQ.js");
|
|
46
|
+
const useLabels = require("../__chunks__/useLabels-DI_wRC8f.js");
|
|
47
|
+
const Icon = require("../__chunks__/Icon-B5AFLpxS.js");
|
|
48
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-B2JZOgff.js");
|
|
49
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-CC7DzLD_.js");
|
|
50
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DwB-70Zg.js");
|
|
50
51
|
const useControlledState = require("../__chunks__/useControlledState-mnKBd6Uc.js");
|
|
51
52
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CWnuIRMW.js");
|
|
53
|
+
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
52
54
|
function _interopNamespaceDefault(e) {
|
|
53
55
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
54
56
|
if (e) {
|
|
@@ -2882,7 +2884,7 @@ function $parcel$interopDefault$1(a) {
|
|
|
2882
2884
|
}
|
|
2883
2885
|
function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
|
|
2884
2886
|
let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($3904726b442bd9b2$exports), "@react-aria/calendar");
|
|
2885
|
-
let domProps =
|
|
2887
|
+
let domProps = filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props);
|
|
2886
2888
|
let title = $a074e1e2d0f0a665$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);
|
|
2887
2889
|
let visibleRangeDescription = $a074e1e2d0f0a665$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);
|
|
2888
2890
|
LiveAnnouncer.$4f58c5f72bcf79f7$export$496315a1608d9602(() => {
|
|
@@ -2896,7 +2898,7 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
|
|
|
2896
2898
|
}, [
|
|
2897
2899
|
selectedDateDescription
|
|
2898
2900
|
]);
|
|
2899
|
-
let errorMessageId =
|
|
2901
|
+
let errorMessageId = mergeProps.$bdb11010cef70236$export$b4cc09c592e8fdb8([
|
|
2900
2902
|
Boolean(props.errorMessage),
|
|
2901
2903
|
props.isInvalid,
|
|
2902
2904
|
props.validationState
|
|
@@ -2928,7 +2930,7 @@ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
|
|
|
2928
2930
|
"aria-labelledby": props["aria-labelledby"]
|
|
2929
2931
|
});
|
|
2930
2932
|
return {
|
|
2931
|
-
calendarProps:
|
|
2933
|
+
calendarProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, labelProps, {
|
|
2932
2934
|
role: "application",
|
|
2933
2935
|
"aria-describedby": props["aria-describedby"] || void 0
|
|
2934
2936
|
}),
|
|
@@ -3044,7 +3046,7 @@ function $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state) {
|
|
|
3044
3046
|
dayFormatter
|
|
3045
3047
|
]);
|
|
3046
3048
|
return {
|
|
3047
|
-
gridProps:
|
|
3049
|
+
gridProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(labelProps, {
|
|
3048
3050
|
role: "grid",
|
|
3049
3051
|
"aria-readonly": state.isReadOnly || null,
|
|
3050
3052
|
"aria-disabled": state.isDisabled || null,
|
|
@@ -3230,7 +3232,7 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3230
3232
|
"aria-selected": isSelected2 || null,
|
|
3231
3233
|
"aria-invalid": isInvalid || null
|
|
3232
3234
|
},
|
|
3233
|
-
buttonProps:
|
|
3235
|
+
buttonProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(pressProps, {
|
|
3234
3236
|
onFocus() {
|
|
3235
3237
|
if (!isDisabled2) state.setFocusedDate(date);
|
|
3236
3238
|
},
|
|
@@ -3263,13 +3265,13 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3263
3265
|
formattedDate
|
|
3264
3266
|
};
|
|
3265
3267
|
}
|
|
3266
|
-
const CellContainer = "
|
|
3267
|
-
const CalendarCell$1 = "
|
|
3268
|
-
const isUnavailable = "
|
|
3269
|
-
const isSelected = "
|
|
3270
|
-
const isDisabled = "
|
|
3271
|
-
const isReadOnly = "
|
|
3272
|
-
const isOutsideCurrentMonth = "
|
|
3268
|
+
const CellContainer = "_CellContainer_1q959_5";
|
|
3269
|
+
const CalendarCell$1 = "_CalendarCell_1q959_9";
|
|
3270
|
+
const isUnavailable = "_isUnavailable_1q959_33";
|
|
3271
|
+
const isSelected = "_isSelected_1q959_33";
|
|
3272
|
+
const isDisabled = "_isDisabled_1q959_33";
|
|
3273
|
+
const isReadOnly = "_isReadOnly_1q959_33";
|
|
3274
|
+
const isOutsideCurrentMonth = "_isOutsideCurrentMonth_1q959_36";
|
|
3273
3275
|
const styles$3 = {
|
|
3274
3276
|
CellContainer,
|
|
3275
3277
|
CalendarCell: CalendarCell$1,
|
|
@@ -3308,8 +3310,8 @@ function CalendarCell({ state, date }) {
|
|
|
3308
3310
|
variant: "body1"
|
|
3309
3311
|
}, formattedDate)));
|
|
3310
3312
|
}
|
|
3311
|
-
const CalendarGrid$1 = "
|
|
3312
|
-
const CalendarGridHeader = "
|
|
3313
|
+
const CalendarGrid$1 = "_CalendarGrid_et0mv_5";
|
|
3314
|
+
const CalendarGridHeader = "_CalendarGridHeader_et0mv_9";
|
|
3313
3315
|
const styles$2 = {
|
|
3314
3316
|
CalendarGrid: CalendarGrid$1,
|
|
3315
3317
|
CalendarGridHeader
|
|
@@ -3414,7 +3416,7 @@ const KeyboardDoubleArrowRight = (_a) => {
|
|
|
3414
3416
|
d: "M422.54-480.62 228.39-675.15l32-31.62 226.15 226.15-226.15 226.16-32-32 194.15-194.16Zm246.08 0L474.46-675.15l31.62-31.62 226.15 226.15-226.15 226.16-31.62-32 194.16-194.16Z"
|
|
3415
3417
|
}));
|
|
3416
3418
|
};
|
|
3417
|
-
const CalendarHeader$1 = "
|
|
3419
|
+
const CalendarHeader$1 = "_CalendarHeader_1pqh5_5";
|
|
3418
3420
|
const styles$1 = {
|
|
3419
3421
|
CalendarHeader: CalendarHeader$1
|
|
3420
3422
|
};
|
|
@@ -3436,7 +3438,7 @@ function CalendarHeader(_c) {
|
|
|
3436
3438
|
color: "neutral.000"
|
|
3437
3439
|
}))));
|
|
3438
3440
|
}
|
|
3439
|
-
const Calendar$1 = "
|
|
3441
|
+
const Calendar$1 = "_Calendar_ezt39_5";
|
|
3440
3442
|
const styles = {
|
|
3441
3443
|
Calendar: Calendar$1
|
|
3442
3444
|
};
|
package/Calendar/index.mjs
CHANGED
|
@@ -31,23 +31,25 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import * as React from "react";
|
|
33
33
|
import React__default, { useMemo, useState, useRef, useEffect } from "react";
|
|
34
|
-
import { T as Text } from "../__chunks__/Text-
|
|
35
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
36
|
-
import { _ as _class_private_field_init,
|
|
34
|
+
import { T as Text } from "../__chunks__/Text-Be2tsyQD.mjs";
|
|
35
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-Dscos9dB.mjs";
|
|
36
|
+
import { _ as _class_private_field_init, $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-ClFvFaQh.mjs";
|
|
37
37
|
import { classNames } from "../utilities/css.mjs";
|
|
38
38
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-BeeOHqNm.mjs";
|
|
39
39
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-D_DOjzPV.mjs";
|
|
40
|
-
import {
|
|
41
|
-
import { b as $
|
|
40
|
+
import { $ as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-LaTXuy7S.mjs";
|
|
41
|
+
import { b as $7215afc6de606d6b$export$de79e2c695e052f3 } from "../__chunks__/focusSafely-DyKmKF3H.mjs";
|
|
42
42
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "../__chunks__/getScrollParent-DZikXhNz.mjs";
|
|
43
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "../__chunks__/scrollIntoView-
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
43
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "../__chunks__/scrollIntoView-B2o3iHso.mjs";
|
|
44
|
+
import { h as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "../__chunks__/useFocusVisible-tOFdeHRg.mjs";
|
|
45
|
+
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../__chunks__/useLabels-VHHFpIxv.mjs";
|
|
46
|
+
import { I as Icon } from "../__chunks__/Icon-BLzAgcg_.mjs";
|
|
47
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-C-G7fjsz.mjs";
|
|
48
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-BttjYmWH.mjs";
|
|
49
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-B85APDZk.mjs";
|
|
49
50
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/useControlledState-CFWhSD5C.mjs";
|
|
50
51
|
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602, a as $319e236875307eab$export$a9b970dcc4ae71a9 } from "../__chunks__/LiveAnnouncer-UhhG0KqR.mjs";
|
|
52
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
51
53
|
function $2b4dce13dd5a17fa$export$842a2cf37af977e1(amount, numerator) {
|
|
52
54
|
return amount - numerator * Math.floor(amount / numerator);
|
|
53
55
|
}
|
|
@@ -3245,13 +3247,13 @@ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
|
|
|
3245
3247
|
formattedDate
|
|
3246
3248
|
};
|
|
3247
3249
|
}
|
|
3248
|
-
const CellContainer = "
|
|
3249
|
-
const CalendarCell$1 = "
|
|
3250
|
-
const isUnavailable = "
|
|
3251
|
-
const isSelected = "
|
|
3252
|
-
const isDisabled = "
|
|
3253
|
-
const isReadOnly = "
|
|
3254
|
-
const isOutsideCurrentMonth = "
|
|
3250
|
+
const CellContainer = "_CellContainer_1q959_5";
|
|
3251
|
+
const CalendarCell$1 = "_CalendarCell_1q959_9";
|
|
3252
|
+
const isUnavailable = "_isUnavailable_1q959_33";
|
|
3253
|
+
const isSelected = "_isSelected_1q959_33";
|
|
3254
|
+
const isDisabled = "_isDisabled_1q959_33";
|
|
3255
|
+
const isReadOnly = "_isReadOnly_1q959_33";
|
|
3256
|
+
const isOutsideCurrentMonth = "_isOutsideCurrentMonth_1q959_36";
|
|
3255
3257
|
const styles$3 = {
|
|
3256
3258
|
CellContainer,
|
|
3257
3259
|
CalendarCell: CalendarCell$1,
|
|
@@ -3290,8 +3292,8 @@ function CalendarCell({ state, date }) {
|
|
|
3290
3292
|
variant: "body1"
|
|
3291
3293
|
}, formattedDate)));
|
|
3292
3294
|
}
|
|
3293
|
-
const CalendarGrid$1 = "
|
|
3294
|
-
const CalendarGridHeader = "
|
|
3295
|
+
const CalendarGrid$1 = "_CalendarGrid_et0mv_5";
|
|
3296
|
+
const CalendarGridHeader = "_CalendarGridHeader_et0mv_9";
|
|
3295
3297
|
const styles$2 = {
|
|
3296
3298
|
CalendarGrid: CalendarGrid$1,
|
|
3297
3299
|
CalendarGridHeader
|
|
@@ -3396,7 +3398,7 @@ const KeyboardDoubleArrowRight = (_a) => {
|
|
|
3396
3398
|
d: "M422.54-480.62 228.39-675.15l32-31.62 226.15 226.15-226.15 226.16-32-32 194.15-194.16Zm246.08 0L474.46-675.15l31.62-31.62 226.15 226.15-226.15 226.16-31.62-32 194.16-194.16Z"
|
|
3397
3399
|
}));
|
|
3398
3400
|
};
|
|
3399
|
-
const CalendarHeader$1 = "
|
|
3401
|
+
const CalendarHeader$1 = "_CalendarHeader_1pqh5_5";
|
|
3400
3402
|
const styles$1 = {
|
|
3401
3403
|
CalendarHeader: CalendarHeader$1
|
|
3402
3404
|
};
|
|
@@ -3418,7 +3420,7 @@ function CalendarHeader(_c) {
|
|
|
3418
3420
|
color: "neutral.000"
|
|
3419
3421
|
}))));
|
|
3420
3422
|
}
|
|
3421
|
-
const Calendar$1 = "
|
|
3423
|
+
const Calendar$1 = "_Calendar_ezt39_5";
|
|
3422
3424
|
const styles = {
|
|
3423
3425
|
Calendar: Calendar$1
|
|
3424
3426
|
};
|
package/Card/Card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { AllHTMLAttributes, ElementType, ReactNode } from "react";
|
|
2
|
-
import { DesignTokenNamespace, ShadowLevel, ThemeTokenNamespace } from "../types";
|
|
2
|
+
import { BorderRadius, DesignTokenNamespace, ShadowLevel, ThemeTokenNamespace } from "../types";
|
|
3
3
|
import { ResponsiveProp } from "../utilities/css";
|
|
4
4
|
type SpaceScale = DesignTokenNamespace<"space">;
|
|
5
5
|
export type CardBackground = "primary" | "secondary" | ThemeTokenNamespace<"color">;
|
|
@@ -28,6 +28,10 @@ export type CardContainerProps = {
|
|
|
28
28
|
* Card shadow.
|
|
29
29
|
*/
|
|
30
30
|
boxShadow?: ShadowLevel;
|
|
31
|
+
/**
|
|
32
|
+
* Card border radius.
|
|
33
|
+
*/
|
|
34
|
+
borderRadius?: BorderRadius;
|
|
31
35
|
} & AllHTMLAttributes<ElementType>;
|
|
32
36
|
export type CardAreaProps = {
|
|
33
37
|
/** Background of the card area. By default, card backgrounds are transparent. */
|
|
@@ -37,16 +41,35 @@ export type CardAreaProps = {
|
|
|
37
41
|
/**
|
|
38
42
|
* The spacing around the content area. Accepts a spacing token or an object of spacing tokens for different screen sizes.
|
|
39
43
|
*
|
|
40
|
-
* @default '2'
|
|
41
44
|
* @example
|
|
42
45
|
* padding='2'
|
|
43
46
|
* padding={{ xs: '2', sm: '3', md: '4', lg: '5', xl: '6' }}
|
|
44
47
|
*/
|
|
45
48
|
padding?: CardPadding;
|
|
49
|
+
/**
|
|
50
|
+
* The horizontal spacing around the content area. Accepts a spacing token or an object of spacing tokens for different screen sizes.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* paddingX='2'
|
|
54
|
+
* paddingX={{ xs: '2', sm: '3', md: '4', lg: '5', xl: '6' }}
|
|
55
|
+
*/
|
|
56
|
+
paddingX?: CardPadding;
|
|
57
|
+
/**
|
|
58
|
+
* The vertical spacing around the content area. Accepts a spacing token or an object of spacing tokens for different screen sizes.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* paddingY='2'
|
|
62
|
+
* paddingY={{ xs: '2', sm: '3', md: '4', lg: '5', xl: '6' }}
|
|
63
|
+
*/
|
|
64
|
+
paddingY?: CardPadding;
|
|
46
65
|
};
|
|
47
66
|
export type CardProps = CardContainerProps & CardAreaProps;
|
|
67
|
+
/**
|
|
68
|
+
* Helper for picking card area props from a superset of component props.
|
|
69
|
+
*/
|
|
70
|
+
export declare function pickCardAreaProps(props: Partial<CardAreaProps>): Partial<Partial<CardAreaProps>>;
|
|
48
71
|
declare function CardContainer(props: CardContainerProps): React.JSX.Element;
|
|
49
|
-
declare function CardArea({ background, children, padding }: CardAreaProps): React.JSX.Element;
|
|
72
|
+
declare function CardArea({ background, children, padding, paddingX, paddingY, }: CardAreaProps): React.JSX.Element;
|
|
50
73
|
/**
|
|
51
74
|
* A styled container that groups related content.
|
|
52
75
|
*
|
|
@@ -80,6 +103,30 @@ declare function CardArea({ background, children, padding }: CardAreaProps): Rea
|
|
|
80
103
|
* ```
|
|
81
104
|
*
|
|
82
105
|
* @example
|
|
106
|
+
* _Border radius:_
|
|
107
|
+
* ```tsx
|
|
108
|
+
* <Card borderRadius="sm">Content</Card>
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* _Padding:_
|
|
113
|
+
* ```tsx
|
|
114
|
+
* <Card padding={{ xs: '2', sm: '3', md: '4', lg: '5', xl: '6' }}>Content</Card>
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* _PaddingX:_
|
|
119
|
+
* ```tsx
|
|
120
|
+
* <Card paddingX="3">Content</Card>
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* _PaddingY:_
|
|
125
|
+
* ```tsx
|
|
126
|
+
* <Card paddingY={{ xs: '1', sm: '2', md: '3'}}>Content</Card>
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
83
130
|
* _Composition of parts:_
|
|
84
131
|
* ```tsx
|
|
85
132
|
* <Card.Container variant="outlined">
|
package/Card/Card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/Card/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,cAAc,EAKf,MAAM,kBAAkB,CAAC;AAS1B,KAAK,UAAU,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAEhD,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,WAAW,GACX,mBAAmB,CAAC,OAAO,CAAC,CAAC;AACjC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AACtE,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6CAA6C;IAC7C,EAAE,CAAC,EAAE,WAAW,CAAC;IAEjB,2BAA2B;IAC3B,QAAQ,EAAE,SAAS,CAAC;IAEpB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,sEAAsE;IACtE,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,MAAM,MAAM,aAAa,GAAG;IAC1B,iFAAiF;IACjF,UAAU,CAAC,EAAE,cAAc,CAAC;IAE5B,gCAAgC;IAChC,QAAQ,EAAE,SAAS,CAAC;IAEpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,kBAAkB,GAAG,aAAa,CAAC;AAE3D;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC,mCAS9D;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAkD/C;AAED,iBAAS,QAAQ,CAAC,EAChB,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,GACT,EAAE,aAAa,qBA0Cf;AAsDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,qBAqBpC;yBArBe,IAAI"}
|
package/Card/Card.stories.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export declare const Outlined: Story;
|
|
|
7
7
|
export declare const Solid: Story;
|
|
8
8
|
export declare const Flagged: Story;
|
|
9
9
|
export declare const Shadow: Story;
|
|
10
|
+
export declare const BorderRadius: Story;
|
|
11
|
+
export declare const Padding: Story;
|
|
12
|
+
export declare const PaddingXAndPaddingY: Story;
|
|
10
13
|
export declare const Composition: Story;
|
|
11
14
|
export declare const ExampleCheckbox: Story;
|
|
12
15
|
export declare const ExampleRadio: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../src/Card/Card.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../src/Card/Card.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAclD,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAQnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAc3B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAW1B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAYjC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAgC7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KA6C1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAgB1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAsB1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAiB1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAW5B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAoB5B,CAAC"}
|
package/Card/index.js
CHANGED
|
@@ -1,4 +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-BHXE4xkl.js");
|
|
4
4
|
exports.Card = Card.Card;
|
|
5
|
+
exports.pickCardAreaProps = Card.pickCardAreaProps;
|
package/Card/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.test.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Checkbox.test.d.ts","sourceRoot":"","sources":["../../src/Checkbox/Checkbox.test.tsx"],"names":[],"mappings":""}
|
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-ChUVjHwA.js");
|
|
4
4
|
exports.Checkbox = Checkbox.Checkbox;
|
|
5
5
|
exports.DEFAULT_SIZE = Checkbox.DEFAULT_SIZE;
|
package/Checkbox/index.mjs
CHANGED
package/CodeBlock/index.js
CHANGED
|
@@ -17,19 +17,20 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
19
19
|
const React = require("react");
|
|
20
|
-
const CodeSnippet = require("../__chunks__/CodeSnippet-
|
|
21
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
20
|
+
const CodeSnippet = require("../__chunks__/CodeSnippet-tfOUcCdU.js");
|
|
21
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-B2JZOgff.js");
|
|
22
22
|
const utilities_css = require("../utilities/css.js");
|
|
23
23
|
const utilities_react = require("../utilities/react.js");
|
|
24
|
-
const omit = require("../__chunks__/omit-
|
|
25
|
-
const Icon = require("../__chunks__/Icon-
|
|
26
|
-
const Text = require("../__chunks__/Text-
|
|
27
|
-
const Tooltip = require("../__chunks__/Tooltip-
|
|
24
|
+
const omit = require("../__chunks__/omit-Z0uTP2Xd.js");
|
|
25
|
+
const Icon = require("../__chunks__/Icon-B5AFLpxS.js");
|
|
26
|
+
const Text = require("../__chunks__/Text-D68nUAQK.js");
|
|
27
|
+
const Tooltip = require("../__chunks__/Tooltip-DyIVNFqW.js");
|
|
28
28
|
const useHover = require("../__chunks__/useHover-BIKwjrCT.js");
|
|
29
|
-
const useFocusVisible = require("../__chunks__/useFocusVisible-
|
|
29
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-D8TIwziQ.js");
|
|
30
|
+
const mergeProps = require("../__chunks__/mergeProps-UQqzLbUj.js");
|
|
30
31
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
31
|
-
const Menu = require("../__chunks__/Menu-
|
|
32
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
32
|
+
const Menu = require("../__chunks__/Menu-CeeJaGmt.js");
|
|
33
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-DwB-70Zg.js");
|
|
33
34
|
function _interopNamespaceDefault(e) {
|
|
34
35
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
35
36
|
if (e) {
|
|
@@ -198,7 +199,7 @@ function useClipboard(options) {
|
|
|
198
199
|
};
|
|
199
200
|
}
|
|
200
201
|
useClipboard_1 = dist.useClipboard = useClipboard;
|
|
201
|
-
const CopyButton$1 = "
|
|
202
|
+
const CopyButton$1 = "_CopyButton_1bjen_5";
|
|
202
203
|
const styles$1 = {
|
|
203
204
|
CopyButton: CopyButton$1
|
|
204
205
|
};
|
|
@@ -239,7 +240,7 @@ function useCopyButtonTooltipState() {
|
|
|
239
240
|
}
|
|
240
241
|
});
|
|
241
242
|
return {
|
|
242
|
-
triggerProps:
|
|
243
|
+
triggerProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps),
|
|
243
244
|
tooltipState
|
|
244
245
|
};
|
|
245
246
|
}
|
|
@@ -264,12 +265,12 @@ function LanguageMenu(props) {
|
|
|
264
265
|
key: language2
|
|
265
266
|
}, CodeSnippet.friendlySnippetLanguageNames[language2]))));
|
|
266
267
|
}
|
|
267
|
-
const CodeBlock$1 = "
|
|
268
|
-
const header = "
|
|
269
|
-
const headerTitle = "
|
|
270
|
-
const divider = "
|
|
271
|
-
const colorPrimary = "
|
|
272
|
-
const colorSecondary = "
|
|
268
|
+
const CodeBlock$1 = "_CodeBlock_x7arz_5";
|
|
269
|
+
const header = "_header_x7arz_13";
|
|
270
|
+
const headerTitle = "_headerTitle_x7arz_20";
|
|
271
|
+
const divider = "_divider_x7arz_29";
|
|
272
|
+
const colorPrimary = "_colorPrimary_x7arz_36";
|
|
273
|
+
const colorSecondary = "_colorSecondary_x7arz_41";
|
|
273
274
|
const styles = {
|
|
274
275
|
CodeBlock: CodeBlock$1,
|
|
275
276
|
header,
|