@easypost/easy-ui 1.0.0-alpha.105 → 1.0.0-alpha.107
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/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +13 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/CheckableCard/index.js +1 -1
- package/CheckableCard/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +6 -6
- package/CodeBlock/index.mjs +6 -6
- package/ColorPicker/ColorArea.d.ts +4 -0
- package/ColorPicker/ColorArea.d.ts.map +1 -0
- package/ColorPicker/ColorPicker.d.ts +36 -0
- package/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/ColorPicker/ColorPicker.stories.d.ts +7 -0
- package/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
- package/ColorPicker/ColorPicker.test.d.ts +2 -0
- package/ColorPicker/ColorPicker.test.d.ts.map +1 -0
- package/ColorPicker/ColorPickerInputField.d.ts +72 -0
- package/ColorPicker/ColorPickerInputField.d.ts.map +1 -0
- package/ColorPicker/ColorPickerInputField.stories.d.ts +16 -0
- package/ColorPicker/ColorPickerInputField.stories.d.ts.map +1 -0
- package/ColorPicker/ColorPickerInputField.test.d.ts +2 -0
- package/ColorPicker/ColorPickerInputField.test.d.ts.map +1 -0
- package/ColorPicker/ColorSlider.d.ts +4 -0
- package/ColorPicker/ColorSlider.d.ts.map +1 -0
- package/ColorPicker/ColorThumb.d.ts +6 -0
- package/ColorPicker/ColorThumb.d.ts.map +1 -0
- package/CustomerPortalLayout/index.js +7 -7
- package/CustomerPortalLayout/index.mjs +7 -7
- package/DataGrid/index.js +31 -29
- package/DataGrid/index.mjs +30 -28
- package/DatePicker/index.js +23 -16
- package/DatePicker/index.mjs +23 -16
- package/DateRangePicker/index.js +30 -20
- package/DateRangePicker/index.mjs +30 -20
- package/Drawer/index.js +4 -4
- package/Drawer/index.mjs +4 -4
- package/DropdownButton/index.js +1 -1
- package/DropdownButton/index.mjs +1 -1
- package/FocusedProductLayout/index.js +3 -3
- package/FocusedProductLayout/index.mjs +3 -3
- package/ForgeLayout/index.js +18 -18
- package/ForgeLayout/index.mjs +18 -18
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +1 -1
- package/InputField/Label.d.ts.map +1 -1
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +5 -5
- package/Modal/index.mjs +5 -5
- package/MultiSelect/index.js +93 -59
- package/MultiSelect/index.mjs +92 -58
- package/MultipageSection/index.js +4 -4
- package/MultipageSection/index.mjs +4 -4
- package/NexusLayout/index.js +6 -6
- package/NexusLayout/index.mjs +6 -6
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +2 -2
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/index.js +4 -4
- package/PlanCard/index.mjs +4 -4
- package/ProductLayout/index.js +8 -8
- package/ProductLayout/index.mjs +8 -8
- package/Provider/index.js +3 -3
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +29 -14
- package/RadioButtonGroup/index.mjs +29 -14
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +5 -5
- package/SearchNav/index.mjs +5 -5
- 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 +1 -1
- package/SplitToggleCard/index.mjs +1 -1
- 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 +14 -13
- package/TabPanels/index.mjs +13 -12
- package/Tabs/index.js +1 -1
- package/Tabs/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/Theme.stories.d.ts +8 -0
- package/Theme/Theme.stories.d.ts.map +1 -0
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- 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 +5 -5
- package/VerticalNav/index.mjs +5 -5
- package/__chunks__/BaseCollection-C0tM7DD9.js +252 -0
- package/__chunks__/BaseCollection-Ch5sZrUn.mjs +253 -0
- package/__chunks__/{Button-CrxnBltN.mjs → Button-3JBVarcb.mjs} +1 -1
- package/__chunks__/{Button-B9eOc3oY.mjs → Button-Bmcr29ff.mjs} +22 -71
- package/__chunks__/{Button-DggsuEVI.js → Button-C5mmkYl5.js} +1 -1
- package/__chunks__/{Button-BpAgRrMP.js → Button-Std0qnXW.js} +20 -69
- package/__chunks__/{Calendar-BxMYTuoo.js → Calendar-Hs6kCvCR.js} +2 -2
- package/__chunks__/{Calendar-nSyM8KQV.mjs → Calendar-xdLl8B9Y.mjs} +2 -2
- package/__chunks__/{CalendarBase-Bv6COXsL.mjs → CalendarBase-B_pJ4AZM.mjs} +64 -17
- package/__chunks__/{CalendarBase-BqXBehhK.js → CalendarBase-CU7Igbv7.js} +64 -17
- package/__chunks__/{Checkbox-p03OfhWu.js → Checkbox-B5xgmEuv.js} +13 -9
- package/__chunks__/{Checkbox-CUbMTdLO.mjs → Checkbox-arV23qqP.mjs} +14 -10
- package/__chunks__/{DatePickerBase-CKyz2GYC.js → DatePickerBase-C1M4Ly6U.js} +132 -42
- package/__chunks__/{DatePickerBase-Du3jbvck.mjs → DatePickerBase-DuAqEgXH.mjs} +132 -42
- package/__chunks__/{Dialog-CrixpxNM.mjs → Dialog-B-qmdE7U.mjs} +70 -37
- package/__chunks__/{Dialog-DHEa0HJb.js → Dialog-BCfUdM8H.js} +71 -38
- package/__chunks__/{FocusScope-Beno1SIx.js → FocusScope-CQUQiI_e.js} +25 -23
- package/__chunks__/{FocusScope-DHbxxtYV.mjs → FocusScope-CWr3uYjx.mjs} +25 -23
- package/__chunks__/{HelpMenu-BQTBSdpa.js → HelpMenu-BSiSmH_N.js} +2 -2
- package/__chunks__/{HelpMenu-Df-iCOHh.mjs → HelpMenu-BqmznZ7V.mjs} +2 -2
- package/__chunks__/Hidden-C0ANs40F.js +40 -0
- package/__chunks__/Hidden-COe48wta.mjs +41 -0
- package/__chunks__/{InputCaption-DpnSOp4B.mjs → InputCaption-CZy5yq-d.mjs} +3 -2
- package/__chunks__/{InputCaption-CYku185P.js → InputCaption-DCxtjO7X.js} +3 -2
- package/__chunks__/{InputField-BrBpIaRF.mjs → InputField-B-pgZqjV.mjs} +5 -5
- package/__chunks__/{InputField-CAWwkDkk.js → InputField-qtU4lxSm.js} +5 -5
- package/__chunks__/{InputIcon-C7awN9uE.js → InputIcon-CM_Uvh1l.js} +30 -30
- package/__chunks__/{InputIcon-CC7TVzbS.mjs → InputIcon-DZMZ6qZ6.mjs} +30 -30
- package/__chunks__/{KebabButton-Bw2ebFxM.js → KebabButton-DHuQU8Vi.js} +1 -1
- package/__chunks__/{KebabButton-B_ynhNCC.mjs → KebabButton-_-3t8qxM.mjs} +1 -1
- package/__chunks__/Label-B6GdFt8f.js +47 -0
- package/__chunks__/Label-LpYJUKnw.mjs +48 -0
- package/__chunks__/{Menu-BFNwZ7A2.js → Menu-BK5o87mL.js} +52 -38
- package/__chunks__/{Menu-B7MOBXwT.mjs → Menu-C_esjNVZ.mjs} +51 -37
- package/__chunks__/{Notification-pR89GfFz.js → Notification-BXRIZTKV.js} +13 -12
- package/__chunks__/{Notification-DkI3hNXs.mjs → Notification-DjovX9Rb.mjs} +13 -12
- package/__chunks__/{Overlay-CTC5iCTq.js → Overlay-DgJ7oRz7.js} +4 -4
- package/__chunks__/{Overlay-aI53DFC4.mjs → Overlay-kOtQrzMN.mjs} +4 -4
- package/__chunks__/{PillGroup-D5qO7uXu.js → PillGroup-DpL0L950.js} +468 -454
- package/__chunks__/{PillGroup-Curyn-XO.mjs → PillGroup-uXKUuq1k.mjs} +467 -453
- package/__chunks__/{RadioGroup-BZaigE8O.mjs → RadioGroup-C5R4vzyh.mjs} +45 -23
- package/__chunks__/{RadioGroup-DP872nZX.js → RadioGroup-DG9Bpr34.js} +45 -23
- package/__chunks__/{RangeCalendar-DMm_n2KT.js → RangeCalendar-BU6h5Ygl.js} +5 -5
- package/__chunks__/{RangeCalendar-7SL-VPHb.mjs → RangeCalendar-DUwnQ5ei.mjs} +5 -5
- package/__chunks__/{SelectOverlay-Dr-8ebKk.mjs → SelectOverlay-BwNaobox.mjs} +176 -48
- package/__chunks__/{SelectOverlay-BqFVauir.js → SelectOverlay-GskGQW_h.js} +175 -47
- package/__chunks__/SelectionIndicator-Co962vpA.mjs +16 -0
- package/__chunks__/SelectionIndicator-DW9MR_Io.js +15 -0
- package/__chunks__/{SelectionManager-BZ_5U5QP.js → SelectionManager-CFPcxpAj.js} +1 -1
- package/__chunks__/{SelectionManager-VOfe5ZyB.mjs → SelectionManager-QKdFux5L.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-Ch86XTO7.js → SelectorErrorTooltip-BUTf_V8E.js} +1 -1
- package/__chunks__/{SelectorErrorTooltip-CTQQqCnY.mjs → SelectorErrorTooltip-PCzIoJgq.mjs} +1 -1
- package/__chunks__/{Spinner-Op1vpeVw.mjs → Spinner--o1eQ07o.mjs} +4 -4
- package/__chunks__/{Spinner-CbeN_XA8.js → Spinner-D3v3tZCb.js} +4 -4
- package/__chunks__/{Stepper-QWtqXHhZ.js → Stepper-DMSX-wJ3.js} +3 -3
- package/__chunks__/{Stepper-CMrUOGxr.mjs → Stepper-DUWRMd7d.mjs} +3 -3
- package/__chunks__/{TabNav-NmR7EtUF.mjs → TabNav-Dzt94Kqk.mjs} +1 -1
- package/__chunks__/{TabNav-CEB6uFfz.js → TabNav-o_p88ZDM.js} +1 -1
- package/__chunks__/{Tabs-hXkNQNzE.js → Tabs-BpFp4yrs.js} +4 -4
- package/__chunks__/{Tabs-B4LDokFt.mjs → Tabs-DdaYAuVx.mjs} +4 -4
- package/__chunks__/{TextField-LzS0ae0I.js → TextField-BlZy8NiR.js} +1 -1
- package/__chunks__/{TextField-CMYjrw05.mjs → TextField-DKnWCogL.mjs} +1 -1
- package/__chunks__/{Toggle-D4oY2Hoe.js → Toggle-D80wUu7a.js} +5 -5
- package/__chunks__/{Toggle-Bfffyi8v.mjs → Toggle-DrzwUPEd.mjs} +5 -5
- package/__chunks__/{Tooltip-TheOW-6l.js → Tooltip-CbK3uQ5T.js} +13 -11
- package/__chunks__/{Tooltip-u1R4gJYA.mjs → Tooltip-Dr-FKOOp.mjs} +13 -11
- package/__chunks__/{UnstyledButton-CbCwVIkK.mjs → UnstyledButton-_yBHsWE6.mjs} +2 -2
- package/__chunks__/{UnstyledButton-DaRYVyfB.js → UnstyledButton-lgUfYl5E.js} +2 -2
- package/__chunks__/{VisuallyHidden-xO9zYcmX.js → VisuallyHidden-CHDtqgdF.js} +2 -2
- package/__chunks__/{VisuallyHidden-CEixEKmF.mjs → VisuallyHidden-I6r_q20_.mjs} +2 -2
- package/__chunks__/{ariaHideOutside-B7gPQCIa.mjs → ariaHideOutside-0uWnm94O.mjs} +97 -80
- package/__chunks__/{ariaHideOutside-HcCjeNMn.js → ariaHideOutside-zTbTQ4YW.js} +99 -82
- package/__chunks__/{context-BEoWr5Bw.mjs → context-5UR8ToA1.mjs} +8 -5
- package/__chunks__/{context-Dxz9OXQY.js → context-DJdNiOsb.js} +8 -5
- package/__chunks__/filterDOMProps-eGTqWSTd.mjs +71 -0
- package/__chunks__/filterDOMProps-p6wKN-SS.js +70 -0
- package/__chunks__/{focusSafely-DGwTMyzw.js → focusSafely-BVnyqGnt.js} +5 -5
- package/__chunks__/{focusSafely-D4cM_C4U.mjs → focusSafely-C-0RjYrV.mjs} +5 -5
- package/__chunks__/keyboard-BbNdbuVx.mjs +23 -0
- package/__chunks__/keyboard-CXtNYgZc.js +22 -0
- package/__chunks__/{mergeProps-CORsYhTp.mjs → mergeProps-COnPag8r.mjs} +15 -24
- package/__chunks__/{mergeProps-d7wJkv71.js → mergeProps-DLPcevok.js} +11 -20
- package/__chunks__/{scrollIntoView-BY1C_8w5.mjs → scrollIntoView-C4mf6apy.mjs} +2 -1
- package/__chunks__/{scrollIntoView-DrxAy81g.js → scrollIntoView-Dc7KrfAg.js} +2 -1
- package/__chunks__/{useButton-RDnDDS-w.js → useButton-DX7z9nll.js} +15 -6
- package/__chunks__/{useButton-Ca3vtrUS.mjs → useButton-mymphZ6E.mjs} +15 -6
- package/__chunks__/{useCollator-D97tqUbx.mjs → useCollator-BR9eXLiM.mjs} +1 -1
- package/__chunks__/{useCollator-Bbw6GMg7.js → useCollator-ClAv0Zlw.js} +1 -1
- package/__chunks__/useControlledState-BPR3PrW4.mjs +40 -0
- package/__chunks__/{useControlledState-B2XIiHlL.js → useControlledState-CcM4H_K0.js} +14 -21
- package/__chunks__/{useDialog-C2wEAsRc.mjs → useDialog-BcY63UkL.mjs} +5 -5
- package/__chunks__/{useDialog-s6kCqmHb.js → useDialog-CRZo-omu.js} +5 -5
- package/__chunks__/{useEvent-Dh4hqdOa.js → useEvent-C-zITDjI.js} +3 -4
- package/__chunks__/{useEvent-B40RDiQ6.mjs → useEvent-i-_c2Ota.mjs} +2 -3
- package/__chunks__/{useField-D1rL_Lz6.mjs → useField-C5BKHYDX.mjs} +2 -2
- package/__chunks__/{useField-C80n1AHI.js → useField-CsvcuQrg.js} +2 -2
- package/__chunks__/{useFilter-DMnYaJdO.js → useFilter-DQ5GzevW.js} +1 -1
- package/__chunks__/{useFilter-CQzUxSTO.mjs → useFilter-Dm0fSoJl.mjs} +1 -1
- package/__chunks__/{useFocus-QhB_LR_6.mjs → useFocus-C5QquI-M.mjs} +1 -1
- package/__chunks__/{useFocus-r5im5eX7.js → useFocus-CQtieKZK.js} +1 -1
- package/__chunks__/{useFocusRing-Do5WdNL_.js → useFocusRing-Bz6Vvea6.js} +3 -3
- package/__chunks__/{useFocusRing-I6O2iIqT.mjs → useFocusRing-DmBw4B3k.mjs} +3 -3
- package/__chunks__/{useFocusVisible-CbSS3hxW.js → useFocusVisible-CeqgwP5X.js} +178 -15
- package/__chunks__/{useFocusVisible-S02S36Aj.mjs → useFocusVisible-DzPQG-93.mjs} +201 -38
- package/__chunks__/{useFocusWithin-eVSXHfLE.mjs → useFocusWithin-B5pd4ng6.mjs} +1 -1
- package/__chunks__/{useFocusWithin-4tCIop4g.js → useFocusWithin-vjAWiwq7.js} +1 -1
- package/__chunks__/{useFocusable-CztLmeBQ.js → useFocusable-DRGc8nSp.js} +3 -3
- package/__chunks__/{useFocusable-YWcLWvwY.mjs → useFocusable-Da-gpiy7.mjs} +3 -3
- package/__chunks__/{useFormReset-XL_MAi9u.mjs → useFormReset-Ci2rGXW4.mjs} +4 -6
- package/__chunks__/{useFormReset-mp5g2mF5.js → useFormReset-PAef799v.js} +4 -6
- package/__chunks__/{useFormValidation-CUeEhwOT.mjs → useFormValidation-B24yQRsf.mjs} +13 -6
- package/__chunks__/{useFormValidation-CzZERvX9.js → useFormValidation-RnPIqdIO.js} +16 -9
- package/__chunks__/{useHasTabbableChild-Bq9mFdfm.js → useHasTabbableChild-DTSUgxUv.js} +2 -2
- package/__chunks__/{useHasTabbableChild-CCkpUWx6.mjs → useHasTabbableChild-UM_JXIEU.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-2e9FDFKT.js → useHighlightSelectionDescription-ByCeRs7B.js} +15 -7
- package/__chunks__/{useHighlightSelectionDescription-Dpnx4leb.mjs → useHighlightSelectionDescription-D4Im4ExL.mjs} +16 -8
- package/__chunks__/{useHover-Djd8mM67.mjs → useHover-CZ9hM3fn.mjs} +5 -3
- package/__chunks__/{useHover-BK8LX0kX.js → useHover-Dr5CnymD.js} +5 -3
- package/__chunks__/{useLabel-D9oYLpKn.js → useLabel-BvPZr3TC.js} +2 -2
- package/__chunks__/{useLabel-DG4LdFPw.mjs → useLabel-cE7myAez.mjs} +2 -2
- package/__chunks__/{useLabels-DWprW4wx.mjs → useLabels-AshNb54x.mjs} +1 -1
- package/__chunks__/{useLabels-DMDlcCM_.js → useLabels-BiHauKNF.js} +1 -1
- package/__chunks__/{useLink-hFVDzAjm.mjs → useLink-Cckz4JUl.mjs} +6 -9
- package/__chunks__/{useLink-rHGI96g9.js → useLink-CkYSKaTt.js} +8 -11
- package/__chunks__/{useListBoxSection-UKCe8noj.js → useListBoxSection-0Y4-pCQB.js} +14 -11
- package/__chunks__/{useListBoxSection-C0KVZkom.mjs → useListBoxSection-nDyXpB9x.mjs} +13 -10
- package/__chunks__/{useListState-Doymm1MR.mjs → useListState-3s3ZON5A.mjs} +8 -5
- package/__chunks__/{useListState-CU712DaQ.js → useListState-DDaaA7mG.js} +8 -5
- package/__chunks__/{useLocalizedStringFormatter-D-qKpkp4.mjs → useLocalizedStringFormatter-DWQ_olZl.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-X4sjSzZt.js → useLocalizedStringFormatter-DxxEMHfO.js} +1 -1
- package/__chunks__/{useMenuTrigger-Caz-rlTr.js → useMenuTrigger-BhnlKsUt.js} +7 -7
- package/__chunks__/{useMenuTrigger-C91gC8Fc.mjs → useMenuTrigger-CFF0tnb-.mjs} +7 -7
- package/__chunks__/{useMenuTriggerState-4geEb8Fl.mjs → useMenuTriggerState-Cjq4vUOV.mjs} +1 -1
- package/__chunks__/{useMenuTriggerState-trGu1Eq_.js → useMenuTriggerState-v2o42Ztg.js} +1 -1
- package/__chunks__/{useModalOverlay-C2Qh_ZjU.mjs → useModalOverlay-BY-KnpMg.mjs} +6 -4
- package/__chunks__/{useModalOverlay-B1oqp24F.js → useModalOverlay-YlpoU7Iz.js} +6 -4
- package/__chunks__/{useOverlayPosition-CgkOWsX7.mjs → useOverlayPosition-Ctlh9iLS.mjs} +101 -73
- package/__chunks__/{useOverlayPosition-BT4OWkj_.js → useOverlayPosition-DATlfHav.js} +101 -73
- package/__chunks__/{useOverlayTrigger-DOqDd2-0.mjs → useOverlayTrigger-Ch_9Q_jl.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-AXvrWojB.js → useOverlayTrigger-_t_tao6N.js} +2 -2
- package/__chunks__/{usePress-tJX1Ngpm.mjs → usePress-BBw2CQ4E.mjs} +168 -205
- package/__chunks__/{usePress-BbU41fvX.js → usePress-BlncZlLY.js} +168 -205
- package/__chunks__/{useResizeObserver-Dyb4wvuA.mjs → useResizeObserver-DKB-lw6M.mjs} +5 -4
- package/__chunks__/{useResizeObserver-BsbT3mjh.js → useResizeObserver-_nCloLKK.js} +5 -4
- package/__chunks__/{useSelectableItem-CHrk6m3n.js → useSelectableItem-BgTDOpZS.js} +58 -50
- package/__chunks__/{useSelectableItem-DeMnuLRU.mjs → useSelectableItem-CgYolFF1.mjs} +49 -41
- package/__chunks__/{useSelectableList-By73z8mx.mjs → useSelectableList-DoHmNul7.mjs} +8 -8
- package/__chunks__/{useSelectableList-CdgAPdCe.js → useSelectableList-k9r5Y6nm.js} +8 -8
- package/__chunks__/{useSingleSelectListState-Br2JooAG.js → useSingleSelectListState-BX2vNU2f.js} +2 -2
- package/__chunks__/{useSingleSelectListState-ByDUc5Ex.mjs → useSingleSelectListState-KDg6mjR3.mjs} +2 -2
- package/__chunks__/{useTextField-CWNBnEVY.mjs → useTextField-CeUZnYes.mjs} +12 -23
- package/__chunks__/{useTextField-DjK7_RjC.js → useTextField-mhGSVQkc.js} +11 -22
- package/__chunks__/{useToggle-DyJeZfUS.js → useToggle-93RnCU82.js} +21 -8
- package/__chunks__/{useToggle-DOBadbRi.mjs → useToggle-DC3IUFs6.mjs} +21 -8
- package/__chunks__/{useToggleState-1Mo_p5l0.mjs → useToggleState-BLVhvfl9.mjs} +5 -1
- package/__chunks__/{useToggleState-8QqTgvTU.js → useToggleState-BYfp0R5h.js} +5 -1
- package/__chunks__/{useTreeState-DdjTMMtR.mjs → useTreeState-B9z3iENl.mjs} +2 -2
- package/__chunks__/{useTreeState-kH1tpPJB.js → useTreeState-Cb1U-iBl.js} +2 -2
- package/__chunks__/{useTriggerWidth-B-IM2wNY.js → useTriggerWidth-D3YSjxWc.js} +2 -2
- package/__chunks__/{useTriggerWidth-74VNM0k9.mjs → useTriggerWidth-USCr4oxv.mjs} +2 -2
- package/__chunks__/{useUpdateEffect-BII0W8Ne.js → useUpdateEffect-BCXmNjFG.js} +4 -2
- package/__chunks__/{useUpdateEffect-C9amKlvd.mjs → useUpdateEffect-C79Zp70R.mjs} +4 -2
- package/__chunks__/{utilities-Bg_lZUNn.js → utilities-CL0j-zRa.js} +13 -10
- package/__chunks__/{utilities-DUnS31dY.mjs → utilities-E9kpl_fN.mjs} +14 -11
- package/__chunks__/{utils-mDT30gHU.mjs → utils-C1be5hOp.mjs} +1 -1
- package/__chunks__/{utils-Bjpgmx8t.js → utils-CRWC8dEm.js} +1 -1
- package/package.json +9 -9
- package/style.css +58 -56
- package/__chunks__/filterDOMProps-D3iOHP0H.js +0 -27
- package/__chunks__/filterDOMProps-EDDcM64A.mjs +0 -28
- package/__chunks__/useControlledState-BDO08zJF.mjs +0 -47
package/Button/index.js
CHANGED
package/Button/index.mjs
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @easypost/easy-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.107
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8890c0b]
|
|
8
|
+
- @easypost/easy-ui-icons@1.0.0-alpha.51
|
|
9
|
+
|
|
10
|
+
## 1.0.0-alpha.106
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- bb59dde: feat: Add ColorPicker
|
|
15
|
+
|
|
3
16
|
## 1.0.0-alpha.105
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/Calendar/index.js
CHANGED
package/Calendar/index.mjs
CHANGED
package/CheckableCard/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const Card = require("../__chunks__/Card-BM2DKiVA.js");
|
|
36
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
36
|
+
const Checkbox = require("../__chunks__/Checkbox-B5xgmEuv.js");
|
|
37
37
|
const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
|
|
38
38
|
const Text = require("../__chunks__/Text-CSESKR_s.js");
|
|
39
39
|
const VerticalStack = require("../__chunks__/VerticalStack-Dzpv3O67.js");
|
package/CheckableCard/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default from "react";
|
|
33
33
|
import { C as Card } from "../__chunks__/Card-CJug4GMX.mjs";
|
|
34
|
-
import { C as Checkbox } from "../__chunks__/Checkbox-
|
|
34
|
+
import { C as Checkbox } from "../__chunks__/Checkbox-arV23qqP.mjs";
|
|
35
35
|
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
|
|
36
36
|
import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
|
|
37
37
|
import { V as VerticalStack } from "../__chunks__/VerticalStack-C2yDQVHD.mjs";
|
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-B5xgmEuv.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
|
@@ -23,13 +23,13 @@ const utilities_css = require("../utilities/css.js");
|
|
|
23
23
|
const utilities_react = require("../utilities/react.js");
|
|
24
24
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
25
25
|
const Text = require("../__chunks__/Text-CSESKR_s.js");
|
|
26
|
-
const Tooltip = require("../__chunks__/Tooltip-
|
|
27
|
-
const useHover = require("../__chunks__/useHover-
|
|
28
|
-
const useFocus = require("../__chunks__/useFocus-
|
|
29
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
26
|
+
const Tooltip = require("../__chunks__/Tooltip-CbK3uQ5T.js");
|
|
27
|
+
const useHover = require("../__chunks__/useHover-Dr5CnymD.js");
|
|
28
|
+
const useFocus = require("../__chunks__/useFocus-CQtieKZK.js");
|
|
29
|
+
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
30
30
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
31
|
-
const Menu = require("../__chunks__/Menu-
|
|
32
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
31
|
+
const Menu = require("../__chunks__/Menu-BK5o87mL.js");
|
|
32
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-lgUfYl5E.js");
|
|
33
33
|
function _interopNamespaceDefault(e) {
|
|
34
34
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
35
35
|
if (e) {
|
package/CodeBlock/index.mjs
CHANGED
|
@@ -22,13 +22,13 @@ import { classNames, variationName } from "../utilities/css.mjs";
|
|
|
22
22
|
import { filterChildrenByDisplayName } from "../utilities/react.mjs";
|
|
23
23
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
24
24
|
import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
|
|
25
|
-
import { T as Tooltip, $ as $8796f90736e175cb$export$4d40659c25ecb50b } from "../__chunks__/Tooltip-
|
|
26
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-
|
|
27
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "../__chunks__/useFocus-
|
|
28
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
25
|
+
import { T as Tooltip, $ as $8796f90736e175cb$export$4d40659c25ecb50b } from "../__chunks__/Tooltip-Dr-FKOOp.mjs";
|
|
26
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CZ9hM3fn.mjs";
|
|
27
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "../__chunks__/useFocus-C5QquI-M.mjs";
|
|
28
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-COnPag8r.mjs";
|
|
29
29
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
30
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
31
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
30
|
+
import { M as Menu } from "../__chunks__/Menu-C_esjNVZ.mjs";
|
|
31
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-_yBHsWE6.mjs";
|
|
32
32
|
var __defProp2 = Object.defineProperty;
|
|
33
33
|
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
34
34
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorArea.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,cAAc,EACf,MAAM,uBAAuB,CAAC;AAK/B,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAM9C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColorPickerProps as AriaColorPickerProps, Color as AriaColor } from "react-aria-components";
|
|
3
|
+
export type Color = AriaColor;
|
|
4
|
+
export type ColorPickerProps = {
|
|
5
|
+
/** The current value (controlled). */
|
|
6
|
+
value?: AriaColorPickerProps["value"];
|
|
7
|
+
/** The default value (uncontrolled). */
|
|
8
|
+
defaultValue?: AriaColorPickerProps["defaultValue"];
|
|
9
|
+
/** Handler that is called when the value changes. */
|
|
10
|
+
onChange?: AriaColorPickerProps["onChange"];
|
|
11
|
+
/** The children of the component. A function may be provided to alter the children based on component state. */
|
|
12
|
+
children: AriaColorPickerProps["children"];
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* A `<ColorPicker />` allows users to select a color with a color picker.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <ColorPicker>
|
|
19
|
+
* <ColorPickerTrigger>
|
|
20
|
+
* <Button>Pick a color</Button>
|
|
21
|
+
* </ColorPickerTrigger>
|
|
22
|
+
* </ColorPicker>
|
|
23
|
+
*/
|
|
24
|
+
export declare function ColorPicker(props: ColorPickerProps): React.JSX.Element;
|
|
25
|
+
export declare namespace ColorPicker {
|
|
26
|
+
var Trigger: typeof ColorPickerTrigger;
|
|
27
|
+
}
|
|
28
|
+
declare function ColorPickerTrigger({ children }: {
|
|
29
|
+
children: React.ReactNode;
|
|
30
|
+
}): React.JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the internal state of the nearest `<ColorPicker />` component.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useColorPickerState(): import("react-aria-components").ColorPickerState;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAEL,gBAAgB,IAAI,oBAAoB,EACxC,KAAK,IAAI,SAAS,EAInB,MAAM,uBAAuB,CAAC;AAM/B,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC;AAE9B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sCAAsC;IACtC,KAAK,CAAC,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtC,wCAAwC;IACxC,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,qDAAqD;IACrD,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAC5C,gHAAgH;IAChH,QAAQ,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;CAC5C,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAElD;yBAFe,WAAW;;;AAI3B,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBActE;AAOD;;GAEG;AACH,wBAAgB,mBAAmB,qDAQlC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ColorPicker } from "./ColorPicker";
|
|
3
|
+
type Story = StoryObj<typeof ColorPicker>;
|
|
4
|
+
declare const meta: Meta<typeof ColorPicker>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
//# sourceMappingURL=ColorPicker.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.stories.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKvD,OAAO,EAAE,WAAW,EAAuB,MAAM,eAAe,CAAC;AAEjE,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CASlC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,KAcrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.test.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPicker.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColorFieldProps } from "react-aria-components";
|
|
3
|
+
import { InputFieldProps, InputSize } from "../InputField";
|
|
4
|
+
import { ColorPickerProps } from "./ColorPicker";
|
|
5
|
+
export type ColorPickerInputFieldProps = Omit<ColorPickerProps, "children"> & {
|
|
6
|
+
/**
|
|
7
|
+
* Size affects the overall size of the input, but it also influences the size of
|
|
8
|
+
* iconAtStart and iconAtEnd.
|
|
9
|
+
* @default md
|
|
10
|
+
*/
|
|
11
|
+
size?: InputSize;
|
|
12
|
+
/** The content to display as the label. */
|
|
13
|
+
label?: InputFieldProps["label"];
|
|
14
|
+
/**
|
|
15
|
+
* Label text displays with emphasis.
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
isLabelEmphasized?: InputFieldProps["isLabelEmphasized"];
|
|
19
|
+
/** Helper text that appears below input. */
|
|
20
|
+
helperText?: InputFieldProps["helperText"];
|
|
21
|
+
/** Error text that appears below input. */
|
|
22
|
+
errorText?: InputFieldProps["errorText"];
|
|
23
|
+
/**
|
|
24
|
+
* Whether the input should display its "valid" or "invalid" visual styling.
|
|
25
|
+
* @default valid
|
|
26
|
+
*/
|
|
27
|
+
validationState?: InputFieldProps["validationState"];
|
|
28
|
+
/**
|
|
29
|
+
* Whether the input is disabled.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
isDisabled?: InputFieldProps["isDisabled"];
|
|
33
|
+
/**
|
|
34
|
+
* Whether the input is readonly.
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
isReadOnly?: InputFieldProps["isReadOnly"];
|
|
38
|
+
/**
|
|
39
|
+
* Whether user input is required on the input before form submission.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
isRequired?: InputFieldProps["isRequired"];
|
|
43
|
+
/**
|
|
44
|
+
* Whether the element should receive focus on render.
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
autoFocus?: boolean;
|
|
48
|
+
/** Temporary text that occupies the text input when it is empty. */
|
|
49
|
+
placeholder?: InputFieldProps["placeholder"];
|
|
50
|
+
/**
|
|
51
|
+
* Accessibility label for input field.
|
|
52
|
+
*/
|
|
53
|
+
"aria-label"?: ColorFieldProps["aria-label"];
|
|
54
|
+
/**
|
|
55
|
+
* Accessibility label identifier for input field.
|
|
56
|
+
*/
|
|
57
|
+
"aria-labelledby"?: ColorFieldProps["aria-labelledby"];
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* A `<ColorPickerInputField />` allows users to select a color with a color
|
|
61
|
+
* picker or text input.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* <ColorPickerInputField
|
|
65
|
+
* defaultValue="#ff0000"
|
|
66
|
+
* helperText="Select a primary color"
|
|
67
|
+
* label={<>Primary color</>}
|
|
68
|
+
* onChange={() => {}}
|
|
69
|
+
* />
|
|
70
|
+
*/
|
|
71
|
+
export declare function ColorPickerInputField(props: ColorPickerInputFieldProps): React.JSX.Element;
|
|
72
|
+
//# sourceMappingURL=ColorPickerInputField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPickerInputField.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPickerInputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAIL,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAI9D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,GAAG;IAC5E;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IACjC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC,mBAAmB,CAAC,CAAC;IACzD,4CAA4C;IAC5C,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C,2CAA2C;IAC3C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;IACrD;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C;;;OAGG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC3C;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oEAAoE;IACpE,WAAW,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAC7C;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;CACxD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAqEtE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ColorPickerInputField } from "./ColorPickerInputField";
|
|
3
|
+
type Story = StoryObj<typeof ColorPickerInputField>;
|
|
4
|
+
declare const meta: Meta<typeof ColorPickerInputField>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Small: Story;
|
|
8
|
+
export declare const Large: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const ReadOnly: Story;
|
|
11
|
+
export declare const Required: Story;
|
|
12
|
+
export declare const AutoFocus: Story;
|
|
13
|
+
export declare const Error: Story;
|
|
14
|
+
export declare const EmphasizedLabel: Story;
|
|
15
|
+
export declare const VisuallyHiddenLabel: Story;
|
|
16
|
+
//# sourceMappingURL=ColorPickerInputField.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPickerInputField.stories.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPickerInputField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EACL,qBAAqB,EAEtB,MAAM,yBAAyB,CAAC;AAEjC,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,qBAAqB,CAS5C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAO7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAMjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPickerInputField.test.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorPickerInputField.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorSlider.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorSlider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAK/B,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAiBlD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorThumb.d.ts","sourceRoot":"","sources":["../../src/ColorPicker/ColorThumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAK/B,wBAAgB,UAAU,CACxB,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,qBAQnE"}
|
|
@@ -36,14 +36,14 @@ const EasyPostLogo = require("../__chunks__/EasyPostLogo-DQt5KlFX.js");
|
|
|
36
36
|
const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
|
|
37
37
|
const Text = require("../__chunks__/Text-CSESKR_s.js");
|
|
38
38
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
39
|
-
const Button = require("../__chunks__/Button-
|
|
40
|
-
const Menu = require("../__chunks__/Menu-
|
|
39
|
+
const Button = require("../__chunks__/Button-Std0qnXW.js");
|
|
40
|
+
const Menu = require("../__chunks__/Menu-BK5o87mL.js");
|
|
41
41
|
const utilities_css = require("../utilities/css.js");
|
|
42
|
-
const useFocusRing = require("../__chunks__/useFocusRing-
|
|
43
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
44
|
-
const useHover = require("../__chunks__/useHover-
|
|
45
|
-
const usePress = require("../__chunks__/usePress-
|
|
46
|
-
const useLink = require("../__chunks__/useLink-
|
|
42
|
+
const useFocusRing = require("../__chunks__/useFocusRing-Bz6Vvea6.js");
|
|
43
|
+
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
44
|
+
const useHover = require("../__chunks__/useHover-Dr5CnymD.js");
|
|
45
|
+
const usePress = require("../__chunks__/usePress-BlncZlLY.js");
|
|
46
|
+
const useLink = require("../__chunks__/useLink-CkYSKaTt.js");
|
|
47
47
|
function _interopNamespaceDefault(e) {
|
|
48
48
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
49
49
|
if (e) {
|
|
@@ -35,14 +35,14 @@ import { E as EasyPostLogo } from "../__chunks__/EasyPostLogo-B3Um5vvS.mjs";
|
|
|
35
35
|
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
|
|
36
36
|
import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
|
|
37
37
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
38
|
-
import {
|
|
39
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
38
|
+
import { a as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../__chunks__/Button-Bmcr29ff.mjs";
|
|
39
|
+
import { M as Menu } from "../__chunks__/Menu-C_esjNVZ.mjs";
|
|
40
40
|
import { classNames } from "../utilities/css.mjs";
|
|
41
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-
|
|
42
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
43
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-
|
|
44
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-
|
|
45
|
-
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-
|
|
41
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-DmBw4B3k.mjs";
|
|
42
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-COnPag8r.mjs";
|
|
43
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CZ9hM3fn.mjs";
|
|
44
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-BBw2CQ4E.mjs";
|
|
45
|
+
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-Cckz4JUl.mjs";
|
|
46
46
|
var __defProp2 = Object.defineProperty;
|
|
47
47
|
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
48
48
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
package/DataGrid/index.js
CHANGED
|
@@ -69,37 +69,37 @@ var __yieldStar = (value) => {
|
|
|
69
69
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
70
70
|
const React = require("react");
|
|
71
71
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
72
|
-
const Menu = require("../__chunks__/Menu-
|
|
72
|
+
const Menu = require("../__chunks__/Menu-BK5o87mL.js");
|
|
73
73
|
const Text = require("../__chunks__/Text-CSESKR_s.js");
|
|
74
|
-
const KebabButton = require("../__chunks__/KebabButton-
|
|
74
|
+
const KebabButton = require("../__chunks__/KebabButton-DHuQU8Vi.js");
|
|
75
75
|
const utilities_css = require("../utilities/css.js");
|
|
76
|
-
const usePress = require("../__chunks__/usePress-
|
|
76
|
+
const usePress = require("../__chunks__/usePress-BlncZlLY.js");
|
|
77
77
|
const ArrowForwardIos = require("../__chunks__/ArrowForwardIos-DpRiDPNZ.js");
|
|
78
|
-
const Checkbox = require("../__chunks__/Checkbox-
|
|
79
|
-
const useFocusVisible = require("../__chunks__/useFocusVisible-
|
|
80
|
-
const focusSafely = require("../__chunks__/focusSafely-
|
|
81
|
-
const FocusScope = require("../__chunks__/FocusScope-
|
|
82
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
78
|
+
const Checkbox = require("../__chunks__/Checkbox-B5xgmEuv.js");
|
|
79
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-CeqgwP5X.js");
|
|
80
|
+
const focusSafely = require("../__chunks__/focusSafely-BVnyqGnt.js");
|
|
81
|
+
const FocusScope = require("../__chunks__/FocusScope-CQUQiI_e.js");
|
|
82
|
+
const mergeProps = require("../__chunks__/mergeProps-DLPcevok.js");
|
|
83
83
|
const getScrollParent = require("../__chunks__/getScrollParent-DNz2ReWu.js");
|
|
84
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
85
|
-
const context = require("../__chunks__/context-
|
|
86
|
-
const useSelectableItem = require("../__chunks__/useSelectableItem-
|
|
87
|
-
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-
|
|
88
|
-
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-
|
|
89
|
-
const useFocusRing = require("../__chunks__/useFocusRing-
|
|
90
|
-
const useFocusable = require("../__chunks__/useFocusable-
|
|
91
|
-
const VisuallyHidden = require("../__chunks__/VisuallyHidden-
|
|
92
|
-
const SelectionManager = require("../__chunks__/SelectionManager-
|
|
93
|
-
const useHover = require("../__chunks__/useHover-
|
|
84
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-Dc7KrfAg.js");
|
|
85
|
+
const context = require("../__chunks__/context-DJdNiOsb.js");
|
|
86
|
+
const useSelectableItem = require("../__chunks__/useSelectableItem-BgTDOpZS.js");
|
|
87
|
+
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-ByCeRs7B.js");
|
|
88
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-DxxEMHfO.js");
|
|
89
|
+
const useFocusRing = require("../__chunks__/useFocusRing-Bz6Vvea6.js");
|
|
90
|
+
const useFocusable = require("../__chunks__/useFocusable-DRGc8nSp.js");
|
|
91
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-CHDtqgdF.js");
|
|
92
|
+
const SelectionManager = require("../__chunks__/SelectionManager-CFPcxpAj.js");
|
|
93
|
+
const useHover = require("../__chunks__/useHover-Dr5CnymD.js");
|
|
94
94
|
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-Ihk8NfjJ.js");
|
|
95
|
-
const useResizeObserver = require("../__chunks__/useResizeObserver-
|
|
96
|
-
const Spinner = require("../__chunks__/Spinner-
|
|
97
|
-
const useSelectableList = require("../__chunks__/useSelectableList-
|
|
95
|
+
const useResizeObserver = require("../__chunks__/useResizeObserver-_nCloLKK.js");
|
|
96
|
+
const Spinner = require("../__chunks__/Spinner-D3v3tZCb.js");
|
|
97
|
+
const useSelectableList = require("../__chunks__/useSelectableList-k9r5Y6nm.js");
|
|
98
98
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CzeNwq2D.js");
|
|
99
|
-
const filterDOMProps = require("../__chunks__/filterDOMProps-
|
|
100
|
-
const useCollator = require("../__chunks__/useCollator-
|
|
101
|
-
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-
|
|
102
|
-
const useUpdateEffect = require("../__chunks__/useUpdateEffect-
|
|
99
|
+
const filterDOMProps = require("../__chunks__/filterDOMProps-p6wKN-SS.js");
|
|
100
|
+
const useCollator = require("../__chunks__/useCollator-ClAv0Zlw.js");
|
|
101
|
+
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-DTSUgxUv.js");
|
|
102
|
+
const useUpdateEffect = require("../__chunks__/useUpdateEffect-BCXmNjFG.js");
|
|
103
103
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
104
104
|
let { collection, focusMode } = props;
|
|
105
105
|
let selectionState = props.UNSAFE_selectionState || SelectionManager.$7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
@@ -1033,7 +1033,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
1033
1033
|
this.collator = options.collator;
|
|
1034
1034
|
if (!options.layout && !options.ref) throw new Error("Either a layout or a ref must be specified.");
|
|
1035
1035
|
this.layoutDelegate = options.layoutDelegate || (options.layout ? new $d1c300d9c497e402$var$DeprecatedLayoutDelegate(options.layout) : new useSelectableList.$657e4dc4a6e88df0$export$8f5ed9ff9f511381(options.ref));
|
|
1036
|
-
|
|
1036
|
+
var _options_focusMode;
|
|
1037
|
+
this.focusMode = (_options_focusMode = options.focusMode) !== null && _options_focusMode !== void 0 ? _options_focusMode : "row";
|
|
1037
1038
|
}
|
|
1038
1039
|
}
|
|
1039
1040
|
class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
@@ -2011,7 +2012,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2011
2012
|
focusMode: "child"
|
|
2012
2013
|
}), state, ref);
|
|
2013
2014
|
let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === "single";
|
|
2014
|
-
let { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
2015
|
+
let { pressProps, isPressed } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21({
|
|
2015
2016
|
isDisabled: !allowsSorting2 || isSelectionCellDisabled,
|
|
2016
2017
|
onPress() {
|
|
2017
2018
|
state.sort(node.key);
|
|
@@ -2053,7 +2054,8 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2053
2054
|
id: $2140fb2337097f2d$export$37cd4213f2ad742e(state, node.key),
|
|
2054
2055
|
"aria-colspan": node.colSpan && node.colSpan > 1 ? node.colSpan : void 0,
|
|
2055
2056
|
"aria-sort": ariaSort
|
|
2056
|
-
})
|
|
2057
|
+
}),
|
|
2058
|
+
isPressed
|
|
2057
2059
|
};
|
|
2058
2060
|
}
|
|
2059
2061
|
const $b2db214c022798eb$var$EXPANSION_KEYS = {
|
|
@@ -2096,7 +2098,7 @@ function $b2db214c022798eb$export$7f2f6ae19e707aa5(props, state, ref) {
|
|
|
2096
2098
|
};
|
|
2097
2099
|
}
|
|
2098
2100
|
}
|
|
2099
|
-
let syntheticLinkProps =
|
|
2101
|
+
let syntheticLinkProps = useFocusVisible.$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(node.props);
|
|
2100
2102
|
let linkProps = states.hasAction ? syntheticLinkProps : {};
|
|
2101
2103
|
return __spreadValues({
|
|
2102
2104
|
rowProps: __spreadProps(__spreadValues({}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(rowProps, treeGridRowProps, linkProps)), {
|
package/DataGrid/index.mjs
CHANGED
|
@@ -67,37 +67,37 @@ var __yieldStar = (value) => {
|
|
|
67
67
|
};
|
|
68
68
|
import React__default, { useMemo, useRef, useEffect, useState, useCallback, forwardRef, createContext, useContext, useLayoutEffect } from "react";
|
|
69
69
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
70
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
70
|
+
import { M as Menu } from "../__chunks__/Menu-C_esjNVZ.mjs";
|
|
71
71
|
import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
|
|
72
|
-
import { K as KebabButton } from "../__chunks__/KebabButton-
|
|
72
|
+
import { K as KebabButton } from "../__chunks__/KebabButton-_-3t8qxM.mjs";
|
|
73
73
|
import { classNames, variationName, getComponentToken } from "../utilities/css.mjs";
|
|
74
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21
|
|
74
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-BBw2CQ4E.mjs";
|
|
75
75
|
import { A as ArrowForwardIos } from "../__chunks__/ArrowForwardIos-DSeLeLhY.mjs";
|
|
76
|
-
import { C as Checkbox } from "../__chunks__/Checkbox-
|
|
77
|
-
import {
|
|
78
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "../__chunks__/focusSafely-
|
|
79
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../__chunks__/FocusScope-
|
|
80
|
-
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928,
|
|
76
|
+
import { C as Checkbox } from "../__chunks__/Checkbox-arV23qqP.mjs";
|
|
77
|
+
import { g as $507fabe10e71c6fb$export$b9b3dfddab17db27, H as $f4e2df6bd15f8569$export$1b00cb14a96194e6, t as $c87311424ea30a05$export$a11b0059900ceec8, G as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "../__chunks__/useFocusVisible-DzPQG-93.mjs";
|
|
78
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "../__chunks__/focusSafely-C-0RjYrV.mjs";
|
|
79
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../__chunks__/FocusScope-CWr3uYjx.mjs";
|
|
80
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/mergeProps-COnPag8r.mjs";
|
|
81
81
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "../__chunks__/getScrollParent-B5CCP-yO.mjs";
|
|
82
|
-
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-
|
|
83
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-
|
|
84
|
-
import { b as $ae20dd8cbca75726$export$d6daf82dcd84e87c, $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "../__chunks__/useSelectableItem-
|
|
85
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10, b as $835c96616a7cb4f9$exports } from "../__chunks__/useHighlightSelectionDescription-
|
|
86
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-
|
|
87
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-
|
|
88
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-
|
|
89
|
-
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-
|
|
90
|
-
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, c as $c5a24bc478652b5f$export$1005530eda016c13, d as $c5a24bc478652b5f$export$7475b2c64539e4cf, e as $c5a24bc478652b5f$export$fbdeaa6a76694f71, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, a as $7613b1592d41b092$export$6cd28814d92fa9c9, f as $c5a24bc478652b5f$export$5f3398f8733f90e2 } from "../__chunks__/SelectionManager-
|
|
91
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-
|
|
82
|
+
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-C4mf6apy.mjs";
|
|
83
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-5UR8ToA1.mjs";
|
|
84
|
+
import { b as $ae20dd8cbca75726$export$d6daf82dcd84e87c, $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "../__chunks__/useSelectableItem-CgYolFF1.mjs";
|
|
85
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10, b as $835c96616a7cb4f9$exports } from "../__chunks__/useHighlightSelectionDescription-D4Im4ExL.mjs";
|
|
86
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-DWQ_olZl.mjs";
|
|
87
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-DmBw4B3k.mjs";
|
|
88
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-Da-gpiy7.mjs";
|
|
89
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-I6r_q20_.mjs";
|
|
90
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, c as $c5a24bc478652b5f$export$1005530eda016c13, d as $c5a24bc478652b5f$export$7475b2c64539e4cf, e as $c5a24bc478652b5f$export$fbdeaa6a76694f71, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, a as $7613b1592d41b092$export$6cd28814d92fa9c9, f as $c5a24bc478652b5f$export$5f3398f8733f90e2 } from "../__chunks__/SelectionManager-QKdFux5L.mjs";
|
|
91
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CZ9hM3fn.mjs";
|
|
92
92
|
import { u as useEdgeInterceptors } from "../__chunks__/useEdgeInterceptors-D_DARZZd.mjs";
|
|
93
|
-
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "../__chunks__/useResizeObserver-
|
|
94
|
-
import { S as Spinner } from "../__chunks__/Spinner
|
|
95
|
-
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-
|
|
93
|
+
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "../__chunks__/useResizeObserver-DKB-lw6M.mjs";
|
|
94
|
+
import { S as Spinner } from "../__chunks__/Spinner--o1eQ07o.mjs";
|
|
95
|
+
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-DoHmNul7.mjs";
|
|
96
96
|
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "../__chunks__/LiveAnnouncer-BSV5-C0m.mjs";
|
|
97
|
-
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-
|
|
98
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-
|
|
99
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-
|
|
100
|
-
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "../__chunks__/useUpdateEffect-
|
|
97
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-eGTqWSTd.mjs";
|
|
98
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-BR9eXLiM.mjs";
|
|
99
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-UM_JXIEU.mjs";
|
|
100
|
+
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "../__chunks__/useUpdateEffect-C79Zp70R.mjs";
|
|
101
101
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
102
102
|
let { collection, focusMode } = props;
|
|
103
103
|
let selectionState = props.UNSAFE_selectionState || $7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
@@ -1031,7 +1031,8 @@ class $d1c300d9c497e402$export$de9feff04fda126e {
|
|
|
1031
1031
|
this.collator = options.collator;
|
|
1032
1032
|
if (!options.layout && !options.ref) throw new Error("Either a layout or a ref must be specified.");
|
|
1033
1033
|
this.layoutDelegate = options.layoutDelegate || (options.layout ? new $d1c300d9c497e402$var$DeprecatedLayoutDelegate(options.layout) : new $657e4dc4a6e88df0$export$8f5ed9ff9f511381(options.ref));
|
|
1034
|
-
|
|
1034
|
+
var _options_focusMode;
|
|
1035
|
+
this.focusMode = (_options_focusMode = options.focusMode) !== null && _options_focusMode !== void 0 ? _options_focusMode : "row";
|
|
1035
1036
|
}
|
|
1036
1037
|
}
|
|
1037
1038
|
class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
@@ -2009,7 +2010,7 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2009
2010
|
focusMode: "child"
|
|
2010
2011
|
}), state, ref);
|
|
2011
2012
|
let isSelectionCellDisabled = node.props.isSelectionCell && state.selectionManager.selectionMode === "single";
|
|
2012
|
-
let { pressProps } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
2013
|
+
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
2013
2014
|
isDisabled: !allowsSorting2 || isSelectionCellDisabled,
|
|
2014
2015
|
onPress() {
|
|
2015
2016
|
state.sort(node.key);
|
|
@@ -2051,7 +2052,8 @@ function $f329116d8ad0aba0$export$9514819a8c81e960(props, state, ref) {
|
|
|
2051
2052
|
id: $2140fb2337097f2d$export$37cd4213f2ad742e(state, node.key),
|
|
2052
2053
|
"aria-colspan": node.colSpan && node.colSpan > 1 ? node.colSpan : void 0,
|
|
2053
2054
|
"aria-sort": ariaSort
|
|
2054
|
-
})
|
|
2055
|
+
}),
|
|
2056
|
+
isPressed
|
|
2055
2057
|
};
|
|
2056
2058
|
}
|
|
2057
2059
|
const $b2db214c022798eb$var$EXPANSION_KEYS = {
|