@easypost/easy-ui 1.0.0-alpha.77 → 1.0.0-alpha.79
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 +12 -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/DataGrid/DataGrid.d.ts +2 -2
- package/DataGrid/DataGrid.d.ts.map +1 -1
- package/DataGrid/Table.d.ts +3 -3
- package/DataGrid/Table.d.ts.map +1 -1
- package/DataGrid/index.js +33 -28
- package/DataGrid/index.mjs +33 -28
- package/DataGrid/types.d.ts +24 -21
- package/DataGrid/types.d.ts.map +1 -1
- package/DatePicker/index.js +13 -13
- package/DatePicker/index.mjs +13 -13
- package/DateRangePicker/index.js +13 -13
- package/DateRangePicker/index.mjs +13 -13
- 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 +11 -11
- package/ForgeLayout/index.mjs +11 -11
- package/HostedUILayout/HostedUILayout.d.ts +76 -0
- package/HostedUILayout/HostedUILayout.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayout.stories.d.ts +8 -0
- package/HostedUILayout/HostedUILayout.stories.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayout.test.d.ts +2 -0
- package/HostedUILayout/HostedUILayout.test.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayoutActions.d.ts +50 -0
- package/HostedUILayout/HostedUILayoutActions.d.ts.map +1 -0
- package/HostedUILayout/index.d.ts +2 -0
- package/HostedUILayout/index.d.ts.map +1 -0
- package/HostedUILayout/index.js +195 -0
- package/HostedUILayout/index.mjs +195 -0
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +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 +27 -27
- package/MultiSelect/index.mjs +28 -28
- package/MultipageSection/MultipageSection.d.ts +118 -0
- package/MultipageSection/MultipageSection.d.ts.map +1 -0
- package/MultipageSection/MultipageSection.stories.d.ts +8 -0
- package/MultipageSection/MultipageSection.stories.d.ts.map +1 -0
- package/MultipageSection/MultipageSection.test.d.ts +2 -0
- package/MultipageSection/MultipageSection.test.d.ts.map +1 -0
- package/MultipageSection/MultipageSectionSidebarNav.d.ts +29 -0
- package/MultipageSection/MultipageSectionSidebarNav.d.ts.map +1 -0
- package/MultipageSection/index.d.ts +2 -0
- package/MultipageSection/index.d.ts.map +1 -0
- package/MultipageSection/index.js +208 -0
- package/MultipageSection/index.mjs +208 -0
- package/NexusLayout/index.js +8 -25
- package/NexusLayout/index.mjs +7 -24
- 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 +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +9 -9
- package/RadioButtonGroup/index.mjs +9 -9
- 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 +4 -4
- package/SearchNav/index.mjs +4 -4
- package/Select/index.js +2 -2
- package/Select/index.mjs +2 -2
- 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 +18 -16
- package/TabPanels/index.mjs +18 -16
- 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/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 +6 -6
- package/VerticalNav/index.mjs +6 -6
- package/__chunks__/{Button-D9a9VZzF.js → Button-2GplvjoR.js} +5 -5
- package/__chunks__/{Button-D-ucl04v.mjs → Button-BE3zVhME.mjs} +1 -1
- package/__chunks__/{Button-UHHZB1DN.mjs → Button-BpGjkRZu.mjs} +8 -8
- package/__chunks__/{Button-DA6XfGLP.js → Button-DUZZ9HoT.js} +1 -1
- package/__chunks__/{Calendar-DjW0E3mk.mjs → Calendar-B8v6TkXp.mjs} +2 -2
- package/__chunks__/{Calendar-2o01guc2.js → Calendar-joo_8vqm.js} +2 -2
- package/__chunks__/{CalendarBase-RcVbhUvM.js → CalendarBase-B1T_Rybe.js} +30 -18
- package/__chunks__/{CalendarBase-D8NmV5mS.mjs → CalendarBase-adL7KcVi.mjs} +34 -22
- package/__chunks__/{Checkbox-C8XZu-1F.mjs → Checkbox-DJAFG_mm.mjs} +8 -8
- package/__chunks__/{Checkbox-sznEdCc0.js → Checkbox-DwkJKuPC.js} +8 -8
- package/__chunks__/{DatePickerBase-BJH3bhGM.mjs → DatePickerBase-Bg4YQMAj.mjs} +26 -23
- package/__chunks__/{DatePickerBase-BWFcyR_m.js → DatePickerBase-DRR0aOm4.js} +26 -23
- package/__chunks__/{Dialog-BBt18JUl.mjs → Dialog-71SzSgdZ.mjs} +10 -10
- package/__chunks__/{Dialog-Dde11Vfw.js → Dialog-D1oLQPjX.js} +10 -10
- package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +22 -0
- package/__chunks__/EasyPostLogo-DQt5KlFX.js +21 -0
- package/__chunks__/{FocusScope-DxiwSl55.js → FocusScope-BYrP0odg.js} +3 -3
- package/__chunks__/{FocusScope-jG-ZgYgr.mjs → FocusScope-DP1VSF7s.mjs} +3 -3
- package/__chunks__/{HelpMenu-DQngktSJ.mjs → HelpMenu-DHNd3X_S.mjs} +2 -2
- package/__chunks__/{HelpMenu-B3gwBqqY.js → HelpMenu-LZ_ky28u.js} +2 -2
- package/__chunks__/{InputField-CPgMRigD.js → InputField-CH28zjUK.js} +3 -3
- package/__chunks__/{InputField-D4feGzmR.mjs → InputField-D4Arfzdz.mjs} +3 -3
- package/__chunks__/{Item-BhrTPNN2.mjs → Item-FD89BR0i.mjs} +1 -1
- package/__chunks__/{Item-CfWjPrxx.js → Item-h_oPjYVR.js} +1 -1
- package/__chunks__/{KebabButton-B97kYKaW.js → KebabButton-BF8hfPrB.js} +1 -1
- package/__chunks__/{KebabButton-tTikhARu.mjs → KebabButton-D5KhH0qQ.mjs} +1 -1
- package/__chunks__/{Menu-L3un-ZpR.mjs → Menu-CfHK_0Sr.mjs} +16 -16
- package/__chunks__/{Menu-BjKQfXId.js → Menu-CivAepFq.js} +16 -16
- package/__chunks__/{Notification-C22_98O5.mjs → Notification-CRi-0D3f.mjs} +27 -19
- package/__chunks__/{Notification-eckCE8Jj.js → Notification-D7ceWiZq.js} +27 -19
- package/__chunks__/{Overlay-BqaNlC3s.js → Overlay-88Ee_QUh.js} +7 -7
- package/__chunks__/{Overlay-huXBYY4a.mjs → Overlay-Cj4W5w8m.mjs} +7 -7
- package/__chunks__/{PillGroup-q2LMLV6q.js → PillGroup-B9WQ2to5.js} +26 -25
- package/__chunks__/{PillGroup-8hng2YcX.mjs → PillGroup-CuPREwvS.mjs} +26 -25
- package/__chunks__/{RadioGroup-CaCZDI4f.mjs → RadioGroup-B5o5aPT-.mjs} +14 -14
- package/__chunks__/{RadioGroup-Cbzsv5jw.js → RadioGroup-yg8Gtbol.js} +14 -14
- package/__chunks__/{RangeCalendar-aUakXSjU.js → RangeCalendar-BgB6xU9q.js} +4 -4
- package/__chunks__/{RangeCalendar-DhFnV8j-.mjs → RangeCalendar-CNLF6YQu.mjs} +4 -4
- package/__chunks__/{SelectOverlay-BFRRqmYL.js → SelectOverlay-BaATkSsw.js} +17 -16
- package/__chunks__/{SelectOverlay-CsxfifYV.mjs → SelectOverlay-DkEL-0O_.mjs} +17 -16
- package/__chunks__/{SelectionManager-px2R7S_e.js → SelectionManager-BZ_5U5QP.js} +1 -1
- package/__chunks__/{SelectionManager-my6312qq.mjs → SelectionManager-VOfe5ZyB.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-C5XJ5swy.mjs → SelectorErrorTooltip-BPLk3N_Q.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-EwN0tf2g.js → SelectorErrorTooltip-b5pE6hY-.js} +1 -1
- package/__chunks__/{Spinner-BsFJZqxe.mjs → Spinner-CNAJknx9.mjs} +3 -3
- package/__chunks__/{Spinner-BsvfYBAO.js → Spinner-CipzStjn.js} +3 -3
- package/__chunks__/{Stepper-lFftpFos.js → Stepper--KsoKMdM.js} +3 -3
- package/__chunks__/{Stepper-F7Czxecp.mjs → Stepper-CACO2jLG.mjs} +3 -3
- package/__chunks__/{TabNav-DbDaDR6R.mjs → TabNav-D2_vfrMU.mjs} +1 -1
- package/__chunks__/{TabNav-D6mXxhua.js → TabNav-DTnHIUFZ.js} +1 -1
- package/__chunks__/{Tabs-DbH5NmIf.mjs → Tabs-BkzVKvWV.mjs} +3 -3
- package/__chunks__/{Tabs-9z2E6ZhV.js → Tabs-J924obQC.js} +3 -3
- package/__chunks__/{TextField-D1YUSD6j.js → TextField-C6qMiNmy.js} +1 -1
- package/__chunks__/{TextField-BwGqzpya.mjs → TextField-CUOz6ZUe.mjs} +1 -1
- package/__chunks__/{Toggle-DqKzs3Y8.mjs → Toggle-BQqjvn6Z.mjs} +5 -5
- package/__chunks__/{Toggle-13H0VeGP.js → Toggle-CTUk7LSy.js} +5 -5
- package/__chunks__/{Tooltip-DP2EYuM4.js → Tooltip-BIfmWjfP.js} +6 -6
- package/__chunks__/{Tooltip-By8WH1wI.mjs → Tooltip-BcHfMDtC.mjs} +6 -6
- package/__chunks__/{UnstyledButton-0yreaZnh.mjs → UnstyledButton-CfhKDftV.mjs} +2 -2
- package/__chunks__/{UnstyledButton-d3ChgECf.js → UnstyledButton-CnIn7VBo.js} +2 -2
- package/__chunks__/{VisuallyHidden-DLuOutNi.mjs → VisuallyHidden-CCdi-Y1w.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-Cl5AQsPA.js → VisuallyHidden-DeSpvYML.js} +2 -2
- package/__chunks__/{ariaHideOutside-7ae_6If3.js → ariaHideOutside-Bq8FQnZq.js} +5 -5
- package/__chunks__/{ariaHideOutside-DRsDXtWO.mjs → ariaHideOutside-CT4hjtef.mjs} +5 -5
- package/__chunks__/{context-C5QKMZmh.mjs → context-BEoWr5Bw.mjs} +1 -1
- package/__chunks__/{context-BQfsEeih.js → context-Dxz9OXQY.js} +1 -1
- package/__chunks__/{focusSafely-CucekFxc.js → focusSafely-BgcYAZN6.js} +2 -2
- package/__chunks__/{focusSafely-BW4_g0fd.mjs → focusSafely-D0XrieaU.mjs} +2 -2
- package/__chunks__/{mergeProps-DRsiQq2k.mjs → mergeProps-CORsYhTp.mjs} +1 -1
- package/__chunks__/{mergeProps-6pKCnMWU.js → mergeProps-d7wJkv71.js} +1 -1
- package/__chunks__/{scrollIntoView-DSPpbfzY.mjs → scrollIntoView-BY1C_8w5.mjs} +1 -1
- package/__chunks__/{scrollIntoView-CzFYIYQT.js → scrollIntoView-DrxAy81g.js} +1 -1
- package/__chunks__/{useButton-SSooC6Sc.js → useButton-BxK3VBiR.js} +6 -27
- package/__chunks__/{useButton-ovH6gI84.mjs → useButton-W0nkeGLb.mjs} +6 -27
- package/__chunks__/{useCollator-DpGidudE.js → useCollator-Bbw6GMg7.js} +1 -1
- package/__chunks__/{useCollator-DiblLehW.mjs → useCollator-D97tqUbx.mjs} +1 -1
- package/__chunks__/{useControlledState-mnKBd6Uc.js → useControlledState-B2XIiHlL.js} +2 -2
- package/__chunks__/{useControlledState-CFWhSD5C.mjs → useControlledState-BDO08zJF.mjs} +2 -2
- package/__chunks__/{useDialog-zKH03v_d.mjs → useDialog-BhvpnpTk.mjs} +3 -3
- package/__chunks__/{useDialog-CmV1awNZ.js → useDialog-D_2QCyti.js} +3 -3
- package/__chunks__/{useEvent-BR4RE1uc.mjs → useEvent-B40RDiQ6.mjs} +1 -1
- package/__chunks__/{useEvent-DiEr5shV.js → useEvent-Dh4hqdOa.js} +1 -1
- package/__chunks__/{useField-MeTEdBhD.js → useField-C80n1AHI.js} +2 -2
- package/__chunks__/{useField-D71RzzwQ.mjs → useField-D1rL_Lz6.mjs} +2 -2
- package/__chunks__/{useFilter-Cd0PVtCe.mjs → useFilter-CQzUxSTO.mjs} +1 -1
- package/__chunks__/{useFilter-DUqh08RA.js → useFilter-DMnYaJdO.js} +1 -1
- package/__chunks__/{useFocus-Da6IfenG.js → useFocus-Df2haWPe.js} +1 -1
- package/__chunks__/{useFocus-BJE6cxrg.mjs → useFocus-DsnhrQiB.mjs} +1 -1
- package/__chunks__/{useFocusRing-Dg_M1jfs.mjs → useFocusRing-DAMeUI3t.mjs} +3 -3
- package/__chunks__/{useFocusRing-CtLKOxxD.js → useFocusRing-ygRrwBu3.js} +3 -3
- package/__chunks__/{useFocusVisible-CLoIPL6T.js → useFocusVisible-7ks2C0sQ.js} +26 -36
- package/__chunks__/{useFocusVisible-DgcLCVnV.mjs → useFocusVisible-DWC9qGtP.mjs} +46 -56
- package/__chunks__/{useFocusWithin-T1vqkUYN.js → useFocusWithin-CxspK-F2.js} +5 -5
- package/__chunks__/{useFocusWithin-BE5KE588.mjs → useFocusWithin-DPnHAdQU.mjs} +5 -5
- package/__chunks__/{useFocusable-B5QcOTFc.mjs → useFocusable-C6giMIa8.mjs} +4 -4
- package/__chunks__/{useFocusable-DRHM1otK.js → useFocusable-HXkH_Kuc.js} +4 -4
- package/__chunks__/{useFormReset-BUBASXJO.mjs → useFormReset-XL_MAi9u.mjs} +1 -1
- package/__chunks__/{useFormReset-Ja1aibwy.js → useFormReset-mp5g2mF5.js} +1 -1
- package/__chunks__/{useFormValidation-DaCYT2Ut.js → useFormValidation-CAsEJ1eu.js} +2 -2
- package/__chunks__/{useFormValidation-gt5I8m2g.mjs → useFormValidation-HasG7QCl.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-BBua_oUS.mjs → useHasTabbableChild-C5KDnOFZ.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-DSm3UrCF.js → useHasTabbableChild-D23JzSLZ.js} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-Dl5YfxVo.mjs → useHighlightSelectionDescription-BODt1AHW.mjs} +4 -4
- package/__chunks__/{useHighlightSelectionDescription-B49pg43a.js → useHighlightSelectionDescription-CT3jLcfS.js} +4 -4
- package/__chunks__/{useHover-BCKoTdS5.js → useHover-BMIowV0x.js} +4 -4
- package/__chunks__/{useHover-mdyQ6kou.mjs → useHover-CwJuylzq.mjs} +4 -4
- package/__chunks__/{useLabel-DVLShpAi.js → useLabel-D9oYLpKn.js} +3 -3
- package/__chunks__/{useLabel-CMWuiLM0.mjs → useLabel-DG4LdFPw.mjs} +3 -3
- package/__chunks__/{useLabels-DrIYrapv.js → useLabels-DMDlcCM_.js} +1 -1
- package/__chunks__/{useLabels-DCSAqT2C.mjs → useLabels-DWprW4wx.mjs} +1 -1
- package/__chunks__/{useLink-DihQM2-s.js → useLink-CcRvXaFq.js} +5 -23
- package/__chunks__/{useLink-Dr9Pjalq.mjs → useLink-CxFvWxcs.mjs} +5 -23
- package/__chunks__/{useListBoxSection-Bw5OEI4S.mjs → useListBoxSection-UWw98S5n.mjs} +8 -8
- package/__chunks__/{useListBoxSection-u2FxpXWK.js → useListBoxSection-yxKStnVF.js} +8 -8
- package/__chunks__/{useListState-CKHwm7j_.js → useListState-CU712DaQ.js} +1 -1
- package/__chunks__/{useListState-DqBHV23A.mjs → useListState-Doymm1MR.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-SC1Py3Uf.mjs → useLocalizedStringFormatter-D-qKpkp4.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-C3ZwxPrF.js → useLocalizedStringFormatter-X4sjSzZt.js} +1 -1
- package/__chunks__/{useMenuTrigger-C9nRdVJk.mjs → useMenuTrigger-Bm2l00Fx.mjs} +9 -6
- package/__chunks__/{useMenuTrigger-Dq7mhK38.js → useMenuTrigger-CYz-sHYa.js} +9 -6
- package/__chunks__/{useMenuTriggerState-DmsfK2RH.js → useMenuTriggerState-Bpow2FQo.js} +1 -1
- package/__chunks__/{useMenuTriggerState-BHenEvUl.mjs → useMenuTriggerState-DzOmQv8m.mjs} +1 -1
- package/__chunks__/{useModalOverlay-BLiaW3WH.mjs → useModalOverlay-1zoyqSAR.mjs} +3 -3
- package/__chunks__/{useModalOverlay-C_b9YfI9.js → useModalOverlay-E3JkPreO.js} +3 -3
- package/__chunks__/{useOverlayPosition-_GnIrSzW.mjs → useOverlayPosition-BJjENFKW.mjs} +4 -4
- package/__chunks__/{useOverlayPosition-BIRVQjJL.js → useOverlayPosition-Ba2II0yy.js} +4 -4
- package/__chunks__/{useOverlayTrigger-BJJgq7LS.js → useOverlayTrigger-DSYyww_1.js} +2 -2
- package/__chunks__/{useOverlayTrigger-BIc8jsUc.mjs → useOverlayTrigger-DTO7VB3r.mjs} +2 -2
- package/__chunks__/{usePress-DQ3FxwWo.mjs → usePress-BGHDb_ce.mjs} +35 -33
- package/__chunks__/{usePress-DchxjERD.js → usePress-Btah4Wrd.js} +35 -33
- package/__chunks__/{useSelectableItem-DcveeRN2.mjs → useSelectableItem-CBqJNF3F.mjs} +13 -11
- package/__chunks__/{useSelectableItem-CxOGkw0W.js → useSelectableItem-iCGDFQiY.js} +13 -11
- package/__chunks__/{useSelectableList-C_zJw1dp.mjs → useSelectableList-C1gLRl6h.mjs} +3 -3
- package/__chunks__/{useSelectableList-F9Rfjy4j.js → useSelectableList-CPHfKit7.js} +3 -3
- package/__chunks__/{useSingleSelectListState-IrBbHxlA.js → useSingleSelectListState-Br2JooAG.js} +2 -2
- package/__chunks__/{useSingleSelectListState-61RqBjo5.mjs → useSingleSelectListState-ByDUc5Ex.mjs} +2 -2
- package/__chunks__/{useTextField-B6vr1ZoD.mjs → useTextField-DUw10Bpa.mjs} +7 -7
- package/__chunks__/{useTextField-USpUKriF.js → useTextField-DYKc0daU.js} +7 -7
- package/__chunks__/{useToggle-C7k9_K6R.mjs → useToggle-Dvy3oMSz.mjs} +5 -5
- package/__chunks__/{useToggle-CRkaTfEP.js → useToggle-nWML_sp8.js} +5 -5
- package/__chunks__/{useToggleState-kFojjzgV.mjs → useToggleState-1Mo_p5l0.mjs} +1 -1
- package/__chunks__/{useToggleState-CdbEMLRz.js → useToggleState-8QqTgvTU.js} +1 -1
- package/__chunks__/{useTreeState-DtfZCGLY.mjs → useTreeState-DdjTMMtR.mjs} +2 -2
- package/__chunks__/{useTreeState-DrWJoIPU.js → useTreeState-kH1tpPJB.js} +2 -2
- package/__chunks__/{utilities-U5Ql_Myz.mjs → utilities-DaMKHxI8.mjs} +6 -6
- package/__chunks__/{utilities-x6Aiy1EG.js → utilities-DgR-vXbf.js} +6 -6
- package/__chunks__/{utils-CY9C69XV.js → utils-B-3LZYje.js} +1 -1
- package/__chunks__/{utils-CwzguevQ.mjs → utils-CZnJZGiu.mjs} +1 -1
- package/package.json +4 -4
- package/style.css +404 -223
package/Button/index.js
CHANGED
package/Button/index.mjs
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @easypost/easy-ui
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.79
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 21cf174: create HostedUILayout and MultiSection components
|
|
8
|
+
|
|
9
|
+
## 1.0.0-alpha.78
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- df594c1: Adds better types for the datagrid component
|
|
14
|
+
|
|
3
15
|
## 1.0.0-alpha.77
|
|
4
16
|
|
|
5
17
|
### Minor 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-DwkJKuPC.js");
|
|
37
37
|
const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
|
|
38
38
|
const Text = require("../__chunks__/Text-B1xglKFU.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-DJAFG_mm.mjs";
|
|
35
35
|
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
|
|
36
36
|
import { T as Text } from "../__chunks__/Text-CX5GoBTS.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-DwkJKuPC.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-B1xglKFU.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-BIfmWjfP.js");
|
|
27
|
+
const useHover = require("../__chunks__/useHover-BMIowV0x.js");
|
|
28
|
+
const useFocus = require("../__chunks__/useFocus-Df2haWPe.js");
|
|
29
|
+
const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.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-CivAepFq.js");
|
|
32
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-CnIn7VBo.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-CX5GoBTS.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-BcHfMDtC.mjs";
|
|
26
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CwJuylzq.mjs";
|
|
27
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "../__chunks__/useFocus-DsnhrQiB.mjs";
|
|
28
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-CORsYhTp.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-CfHK_0Sr.mjs";
|
|
31
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-CfhKDftV.mjs";
|
|
32
32
|
var __defProp2 = Object.defineProperty;
|
|
33
33
|
var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
|
|
34
34
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
package/DataGrid/DataGrid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Column as ColumnType, DataGridProps } from "./types";
|
|
2
|
+
import { Column as ColumnType, Row as RowType, DataGridProps } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* A `DataGrid` is an interactive table used for working with a large
|
|
5
5
|
* collection of data in a scannable way.
|
|
@@ -35,5 +35,5 @@ import { Column as ColumnType, DataGridProps } from "./types";
|
|
|
35
35
|
* )}
|
|
36
36
|
* />
|
|
37
37
|
*/
|
|
38
|
-
export declare function DataGrid<C extends ColumnType = ColumnType>(props: DataGridProps<C>): React.JSX.Element;
|
|
38
|
+
export declare function DataGrid<C extends ColumnType = ColumnType, R extends RowType = RowType>(props: DataGridProps<C, R>): React.JSX.Element;
|
|
39
39
|
//# sourceMappingURL=DataGrid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../src/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,GAAG,IAAI,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,QAAQ,CACtB,CAAC,SAAS,UAAU,GAAG,UAAU,EACjC,CAAC,SAAS,OAAO,GAAG,OAAO,EAC3B,KAAK,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,qBAoH3B"}
|
package/DataGrid/Table.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
|
-
import { Column, DataGridProps } from "./types";
|
|
3
|
-
type TableProps<C extends Column> = Omit<DataGridProps<C>, "children"> & {
|
|
2
|
+
import { Column, DataGridProps, Row as RowType } from "./types";
|
|
3
|
+
type TableProps<C extends Column, R extends RowType> = Omit<DataGridProps<C, R>, "children"> & {
|
|
4
4
|
children?: [ReactElement, ReactElement];
|
|
5
5
|
};
|
|
6
|
-
export declare function Table<C extends Column>(props: TableProps<C>): React.JSX.Element;
|
|
6
|
+
export declare function Table<C extends Column, R extends RowType>(props: TableProps<C, R>): React.JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Table.d.ts.map
|
package/DataGrid/Table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../src/DataGrid/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,YAAY,EAAmB,MAAM,OAAO,CAAC;AAiB5E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../src/DataGrid/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,YAAY,EAAmB,MAAM,OAAO,CAAC;AAiB5E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,SAAS,CAAC;AAOhE,KAAK,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,IAAI,IAAI,CACzD,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,EACnB,UAAU,CACX,GAAG;IACF,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;CACzC,CAAC;AAEF,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EACvD,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,qBA8IxB"}
|
package/DataGrid/index.js
CHANGED
|
@@ -69,36 +69,36 @@ 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-CivAepFq.js");
|
|
73
73
|
const Text = require("../__chunks__/Text-B1xglKFU.js");
|
|
74
|
-
const KebabButton = require("../__chunks__/KebabButton-
|
|
74
|
+
const KebabButton = require("../__chunks__/KebabButton-BF8hfPrB.js");
|
|
75
75
|
const utilities_css = require("../utilities/css.js");
|
|
76
|
-
const usePress = require("../__chunks__/usePress-
|
|
76
|
+
const usePress = require("../__chunks__/usePress-Btah4Wrd.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-DwkJKuPC.js");
|
|
79
|
+
const useFocusVisible = require("../__chunks__/useFocusVisible-7ks2C0sQ.js");
|
|
80
|
+
const focusSafely = require("../__chunks__/focusSafely-BgcYAZN6.js");
|
|
81
|
+
const FocusScope = require("../__chunks__/FocusScope-BYrP0odg.js");
|
|
82
|
+
const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.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-DrxAy81g.js");
|
|
85
|
+
const context = require("../__chunks__/context-Dxz9OXQY.js");
|
|
86
|
+
const useSelectableItem = require("../__chunks__/useSelectableItem-iCGDFQiY.js");
|
|
87
|
+
const useHighlightSelectionDescription = require("../__chunks__/useHighlightSelectionDescription-CT3jLcfS.js");
|
|
88
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-X4sjSzZt.js");
|
|
89
|
+
const useFocusRing = require("../__chunks__/useFocusRing-ygRrwBu3.js");
|
|
90
|
+
const useFocusable = require("../__chunks__/useFocusable-HXkH_Kuc.js");
|
|
91
|
+
const VisuallyHidden = require("../__chunks__/VisuallyHidden-DeSpvYML.js");
|
|
92
|
+
const SelectionManager = require("../__chunks__/SelectionManager-BZ_5U5QP.js");
|
|
93
|
+
const useHover = require("../__chunks__/useHover-BMIowV0x.js");
|
|
94
94
|
const useEdgeInterceptors = require("../__chunks__/useEdgeInterceptors-Ihk8NfjJ.js");
|
|
95
95
|
const useResizeObserver = require("../__chunks__/useResizeObserver-BsbT3mjh.js");
|
|
96
|
-
const Spinner = require("../__chunks__/Spinner-
|
|
97
|
-
const useSelectableList = require("../__chunks__/useSelectableList-
|
|
96
|
+
const Spinner = require("../__chunks__/Spinner-CipzStjn.js");
|
|
97
|
+
const useSelectableList = require("../__chunks__/useSelectableList-CPHfKit7.js");
|
|
98
98
|
const LiveAnnouncer = require("../__chunks__/LiveAnnouncer-CzeNwq2D.js");
|
|
99
99
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
100
|
-
const useCollator = require("../__chunks__/useCollator-
|
|
101
|
-
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-
|
|
100
|
+
const useCollator = require("../__chunks__/useCollator-Bbw6GMg7.js");
|
|
101
|
+
const useHasTabbableChild = require("../__chunks__/useHasTabbableChild-D23JzSLZ.js");
|
|
102
102
|
const useUpdateEffect = require("../__chunks__/useUpdateEffect-BII0W8Ne.js");
|
|
103
103
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
104
104
|
let { collection, focusMode } = props;
|
|
@@ -1053,7 +1053,7 @@ class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
const $1af922eb41e03c8f$export$e6235c0d09b995d0 = /* @__PURE__ */ new WeakMap();
|
|
1055
1055
|
function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
1056
|
-
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1056
|
+
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction, escapeKeyBehavior = "clearSelection" } = props;
|
|
1057
1057
|
let { selectionManager: manager } = state;
|
|
1058
1058
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
1059
1059
|
let collator = useCollator.$325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1086,7 +1086,8 @@ function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
|
1086
1086
|
keyboardDelegate: delegate,
|
|
1087
1087
|
isVirtualized,
|
|
1088
1088
|
scrollRef,
|
|
1089
|
-
disallowTypeAhead
|
|
1089
|
+
disallowTypeAhead,
|
|
1090
|
+
escapeKeyBehavior
|
|
1090
1091
|
});
|
|
1091
1092
|
let id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
1092
1093
|
$1af922eb41e03c8f$export$e6235c0d09b995d0.set(state, {
|
|
@@ -1469,11 +1470,11 @@ $09e6b82e0d6e466a$exports = {
|
|
|
1469
1470
|
};
|
|
1470
1471
|
var $8cc39eb66c2bf220$exports = {};
|
|
1471
1472
|
$8cc39eb66c2bf220$exports = {
|
|
1472
|
-
"ascending": `
|
|
1473
|
-
"ascendingSort": (args) => `ordenado por columna ${args.columnName} en
|
|
1473
|
+
"ascending": `ascendente`,
|
|
1474
|
+
"ascendingSort": (args) => `ordenado por columna ${args.columnName} en sentido ascendente`,
|
|
1474
1475
|
"columnSize": (args) => `${args.value} píxeles`,
|
|
1475
|
-
"descending": `
|
|
1476
|
-
"descendingSort": (args) => `ordenado por columna ${args.columnName} en orden
|
|
1476
|
+
"descending": `descendente`,
|
|
1477
|
+
"descendingSort": (args) => `ordenado por columna ${args.columnName} en orden descendente`,
|
|
1477
1478
|
"resizerDescription": `Pulse Intro para empezar a redimensionar`,
|
|
1478
1479
|
"select": `Seleccionar`,
|
|
1479
1480
|
"selectAll": `Seleccionar todos`,
|
|
@@ -1906,6 +1907,10 @@ class $0ba3c81c7f1caedd$export$da43f8f5cb04028d extends $d1c300d9c497e402$export
|
|
|
1906
1907
|
while (key != null) {
|
|
1907
1908
|
let item = collection.getItem(key);
|
|
1908
1909
|
if (!item) return null;
|
|
1910
|
+
if (item.textValue) {
|
|
1911
|
+
let substring = item.textValue.slice(0, search.length);
|
|
1912
|
+
if (this.collator.compare(substring, search) === 0) return item.key;
|
|
1913
|
+
}
|
|
1909
1914
|
for (let cell of SelectionManager.$c5a24bc478652b5f$export$1005530eda016c13(item, this.collection)) {
|
|
1910
1915
|
let column = collection.columns[cell.index];
|
|
1911
1916
|
if (collection.rowHeaderColumnKeys.has(column.key) && cell.textValue) {
|
package/DataGrid/index.mjs
CHANGED
|
@@ -67,36 +67,36 @@ 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-CfHK_0Sr.mjs";
|
|
71
71
|
import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
|
|
72
|
-
import { K as KebabButton } from "../__chunks__/KebabButton-
|
|
72
|
+
import { K as KebabButton } from "../__chunks__/KebabButton-D5KhH0qQ.mjs";
|
|
73
73
|
import { classNames, variationName, getComponentToken } from "../utilities/css.mjs";
|
|
74
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "../__chunks__/usePress-
|
|
74
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "../__chunks__/usePress-BGHDb_ce.mjs";
|
|
75
75
|
import { A as ArrowForwardIos } from "../__chunks__/ArrowForwardIos-DSeLeLhY.mjs";
|
|
76
|
-
import { C as Checkbox } from "../__chunks__/Checkbox-
|
|
77
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27,
|
|
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, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/mergeProps-
|
|
76
|
+
import { C as Checkbox } from "../__chunks__/Checkbox-DJAFG_mm.mjs";
|
|
77
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, C as $f4e2df6bd15f8569$export$1b00cb14a96194e6, p as $c87311424ea30a05$export$a11b0059900ceec8 } from "../__chunks__/useFocusVisible-DWC9qGtP.mjs";
|
|
78
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "../__chunks__/focusSafely-D0XrieaU.mjs";
|
|
79
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "../__chunks__/FocusScope-DP1VSF7s.mjs";
|
|
80
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "../__chunks__/mergeProps-CORsYhTp.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-BY1C_8w5.mjs";
|
|
83
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-BEoWr5Bw.mjs";
|
|
84
|
+
import { b as $ae20dd8cbca75726$export$d6daf82dcd84e87c, $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "../__chunks__/useSelectableItem-CBqJNF3F.mjs";
|
|
85
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10, b as $835c96616a7cb4f9$exports } from "../__chunks__/useHighlightSelectionDescription-BODt1AHW.mjs";
|
|
86
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
87
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-DAMeUI3t.mjs";
|
|
88
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "../__chunks__/useFocusable-C6giMIa8.mjs";
|
|
89
|
+
import { a as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "../__chunks__/VisuallyHidden-CCdi-Y1w.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-VOfe5ZyB.mjs";
|
|
91
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CwJuylzq.mjs";
|
|
92
92
|
import { u as useEdgeInterceptors } from "../__chunks__/useEdgeInterceptors-D_DARZZd.mjs";
|
|
93
93
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "../__chunks__/useResizeObserver-Dyb4wvuA.mjs";
|
|
94
|
-
import { S as Spinner } from "../__chunks__/Spinner-
|
|
95
|
-
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-
|
|
94
|
+
import { S as Spinner } from "../__chunks__/Spinner-CNAJknx9.mjs";
|
|
95
|
+
import { c as $657e4dc4a6e88df0$export$8f5ed9ff9f511381 } from "../__chunks__/useSelectableList-C1gLRl6h.mjs";
|
|
96
96
|
import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "../__chunks__/LiveAnnouncer-BSV5-C0m.mjs";
|
|
97
97
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
98
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-
|
|
99
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-
|
|
98
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "../__chunks__/useCollator-D97tqUbx.mjs";
|
|
99
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "../__chunks__/useHasTabbableChild-C5KDnOFZ.mjs";
|
|
100
100
|
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "../__chunks__/useUpdateEffect-C9amKlvd.mjs";
|
|
101
101
|
function $62967d126f3aa823$export$4007ac09ff9c68ed(props) {
|
|
102
102
|
let { collection, focusMode } = props;
|
|
@@ -1051,7 +1051,7 @@ class $d1c300d9c497e402$var$DeprecatedLayoutDelegate {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
const $1af922eb41e03c8f$export$e6235c0d09b995d0 = /* @__PURE__ */ new WeakMap();
|
|
1053
1053
|
function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
1054
|
-
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction } = props;
|
|
1054
|
+
let { isVirtualized, disallowTypeAhead, keyboardDelegate, focusMode, scrollRef, getRowText, onRowAction, onCellAction, escapeKeyBehavior = "clearSelection" } = props;
|
|
1055
1055
|
let { selectionManager: manager } = state;
|
|
1056
1056
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
1057
1057
|
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
@@ -1084,7 +1084,8 @@ function $83c6e2eafa584c67$export$f6b86a04e5d66d90(props, state, ref) {
|
|
|
1084
1084
|
keyboardDelegate: delegate,
|
|
1085
1085
|
isVirtualized,
|
|
1086
1086
|
scrollRef,
|
|
1087
|
-
disallowTypeAhead
|
|
1087
|
+
disallowTypeAhead,
|
|
1088
|
+
escapeKeyBehavior
|
|
1088
1089
|
});
|
|
1089
1090
|
let id = $bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
1090
1091
|
$1af922eb41e03c8f$export$e6235c0d09b995d0.set(state, {
|
|
@@ -1467,11 +1468,11 @@ $09e6b82e0d6e466a$exports = {
|
|
|
1467
1468
|
};
|
|
1468
1469
|
var $8cc39eb66c2bf220$exports = {};
|
|
1469
1470
|
$8cc39eb66c2bf220$exports = {
|
|
1470
|
-
"ascending": `
|
|
1471
|
-
"ascendingSort": (args) => `ordenado por columna ${args.columnName} en
|
|
1471
|
+
"ascending": `ascendente`,
|
|
1472
|
+
"ascendingSort": (args) => `ordenado por columna ${args.columnName} en sentido ascendente`,
|
|
1472
1473
|
"columnSize": (args) => `${args.value} píxeles`,
|
|
1473
|
-
"descending": `
|
|
1474
|
-
"descendingSort": (args) => `ordenado por columna ${args.columnName} en orden
|
|
1474
|
+
"descending": `descendente`,
|
|
1475
|
+
"descendingSort": (args) => `ordenado por columna ${args.columnName} en orden descendente`,
|
|
1475
1476
|
"resizerDescription": `Pulse Intro para empezar a redimensionar`,
|
|
1476
1477
|
"select": `Seleccionar`,
|
|
1477
1478
|
"selectAll": `Seleccionar todos`,
|
|
@@ -1904,6 +1905,10 @@ class $0ba3c81c7f1caedd$export$da43f8f5cb04028d extends $d1c300d9c497e402$export
|
|
|
1904
1905
|
while (key != null) {
|
|
1905
1906
|
let item = collection.getItem(key);
|
|
1906
1907
|
if (!item) return null;
|
|
1908
|
+
if (item.textValue) {
|
|
1909
|
+
let substring = item.textValue.slice(0, search.length);
|
|
1910
|
+
if (this.collator.compare(substring, search) === 0) return item.key;
|
|
1911
|
+
}
|
|
1907
1912
|
for (let cell of $c5a24bc478652b5f$export$1005530eda016c13(item, this.collection)) {
|
|
1908
1913
|
let column = collection.columns[cell.index];
|
|
1909
1914
|
if (collection.rowHeaderColumnKeys.has(column.key) && cell.textValue) {
|
package/DataGrid/types.d.ts
CHANGED
|
@@ -2,16 +2,14 @@ import { AriaLabelingProps, Key, Selection, SelectionMode, SortDescriptor } from
|
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { IconSymbol } from "../types";
|
|
4
4
|
/** Denote that an object must contain a key. */
|
|
5
|
-
export type KeyedObject = {
|
|
6
|
-
readonly key:
|
|
5
|
+
export type KeyedObject<K extends Key = Key> = {
|
|
6
|
+
readonly key: K;
|
|
7
7
|
};
|
|
8
8
|
export type Column = KeyedObject & {
|
|
9
9
|
/** Arbitrary data is allowed. */
|
|
10
10
|
[property: string]: unknown;
|
|
11
11
|
};
|
|
12
|
-
export type Row<
|
|
13
|
-
[property in C["key"]]: unknown;
|
|
14
|
-
};
|
|
12
|
+
export type Row<D extends Record<string, unknown> = Record<string, unknown>> = KeyedObject & D;
|
|
15
13
|
export type MenuRowAction = {
|
|
16
14
|
type: "menu";
|
|
17
15
|
/** Optional custom accessibility label describing the menu action. */
|
|
@@ -28,22 +26,27 @@ export type ActionRowAction = {
|
|
|
28
26
|
/** Action to trigger. */
|
|
29
27
|
onAction: () => void;
|
|
30
28
|
};
|
|
29
|
+
export type ColumnKey<C extends Column = Column> = C["key"];
|
|
30
|
+
export type RowKey<R extends Row = Row> = R["key"];
|
|
31
|
+
export type KeyedSortDescriptor<K extends Key = Key> = Omit<SortDescriptor, "column"> & {
|
|
32
|
+
column: K;
|
|
33
|
+
};
|
|
31
34
|
export type RowAction = MenuRowAction | ActionRowAction;
|
|
32
|
-
export type DataGridProps<C extends Column = Column> = AriaLabelingProps & {
|
|
35
|
+
export type DataGridProps<C extends Column = Column, R extends Row = Row> = AriaLabelingProps & {
|
|
33
36
|
/** Use columns and rows to specify data grid content. */
|
|
34
37
|
children?: never;
|
|
35
38
|
/** List of keys for columns to allow sort. */
|
|
36
|
-
columnKeysAllowingSort?:
|
|
39
|
+
columnKeysAllowingSort?: ColumnKey<C>[];
|
|
37
40
|
/** Columns for the table. */
|
|
38
41
|
columns: C[];
|
|
39
42
|
/** The initial expanded key in the collection (uncontrolled). */
|
|
40
|
-
defaultExpandedKey?:
|
|
43
|
+
defaultExpandedKey?: RowKey<R>;
|
|
41
44
|
/** The initial selected keys in the collection (uncontrolled). */
|
|
42
|
-
defaultSelectedKeys?: "all" | Iterable<
|
|
45
|
+
defaultSelectedKeys?: "all" | Iterable<RowKey<R>>;
|
|
43
46
|
/** A list of row keys to disable from selection. */
|
|
44
|
-
disabledKeys?: Iterable<
|
|
47
|
+
disabledKeys?: Iterable<RowKey<R>>;
|
|
45
48
|
/** The currently expanded key in the collection (controlled). */
|
|
46
|
-
expandedKey?:
|
|
49
|
+
expandedKey?: RowKey<R>;
|
|
47
50
|
/**
|
|
48
51
|
* Variant of the data grid header to use.
|
|
49
52
|
* @default primary
|
|
@@ -52,27 +55,27 @@ export type DataGridProps<C extends Column = Column> = AriaLabelingProps & {
|
|
|
52
55
|
/** Constrains the height of the data grid to a set number of rows. */
|
|
53
56
|
maxRows?: number;
|
|
54
57
|
/** Handler that is called when a user performs an action on the cell. */
|
|
55
|
-
onCellAction?: (key:
|
|
58
|
+
onCellAction?: (key: RowKey<R>) => void;
|
|
56
59
|
/** Handler that is called when the expansion changes. */
|
|
57
|
-
onExpandedChange?: (key:
|
|
60
|
+
onExpandedChange?: (key: RowKey<R>) => void;
|
|
58
61
|
/** Handler that is called when a user performs an action on the row. */
|
|
59
|
-
onRowAction?: (key:
|
|
62
|
+
onRowAction?: (key: RowKey<R>) => void;
|
|
60
63
|
/** Handler that is called when the selection changes. */
|
|
61
64
|
onSelectionChange?: (keys: Selection) => void;
|
|
62
65
|
/** Handler that is called when the sorted column or direction changes. */
|
|
63
|
-
onSortChange?: (descriptor:
|
|
66
|
+
onSortChange?: (descriptor: KeyedSortDescriptor<ColumnKey<C>>) => void;
|
|
64
67
|
/** Renders the content of a column cell. */
|
|
65
68
|
renderColumnCell: (cell: C) => ReactNode;
|
|
66
69
|
/** Renders the contents of the expanded row. */
|
|
67
|
-
renderExpandedRow?: (key:
|
|
70
|
+
renderExpandedRow?: (key: RowKey<R>) => ReactNode;
|
|
68
71
|
/** Renders the content of a row cell. */
|
|
69
|
-
renderRowCell: (cell: unknown, columnKey:
|
|
72
|
+
renderRowCell: (cell: unknown, columnKey: ColumnKey<C>, row: R) => ReactNode;
|
|
70
73
|
/** Actions for the row */
|
|
71
|
-
rowActions?: (key:
|
|
74
|
+
rowActions?: (key: RowKey<R>) => RowAction[];
|
|
72
75
|
/** Rows for the table. */
|
|
73
|
-
rows:
|
|
76
|
+
rows: R[];
|
|
74
77
|
/** The currently selected keys in the collection (controlled). */
|
|
75
|
-
selectedKeys?: "all" | Iterable<
|
|
78
|
+
selectedKeys?: "all" | Iterable<RowKey<R>>;
|
|
76
79
|
/** The type of selection that is allowed in the collection. */
|
|
77
80
|
selectionMode?: SelectionMode;
|
|
78
81
|
/**
|
|
@@ -81,7 +84,7 @@ export type DataGridProps<C extends Column = Column> = AriaLabelingProps & {
|
|
|
81
84
|
*/
|
|
82
85
|
size?: "sm" | "md" | "lg";
|
|
83
86
|
/** The current sorted column and direction. */
|
|
84
|
-
sortDescriptor?:
|
|
87
|
+
sortDescriptor?: KeyedSortDescriptor<ColumnKey<C>>;
|
|
85
88
|
/**
|
|
86
89
|
* Renders the content of empty state.
|
|
87
90
|
* @default "No Data"
|
package/DataGrid/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/DataGrid/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,GAAG,EACH,SAAS,EACT,aAAa,EACb,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,gDAAgD;AAChD,MAAM,MAAM,WAAW,GAAG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/DataGrid/types.ts"],"names":[],"mappings":"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"}
|
package/DatePicker/index.js
CHANGED
|
@@ -20,20 +20,20 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
22
22
|
const React = require("react");
|
|
23
|
-
const DatePickerBase = require("../__chunks__/DatePickerBase-
|
|
24
|
-
const Calendar = require("../__chunks__/Calendar-
|
|
25
|
-
const CalendarBase = require("../__chunks__/CalendarBase-
|
|
26
|
-
const useFormValidation = require("../__chunks__/useFormValidation-
|
|
27
|
-
const Overlay = require("../__chunks__/Overlay-
|
|
28
|
-
const useControlledState = require("../__chunks__/useControlledState-
|
|
29
|
-
const FocusScope = require("../__chunks__/FocusScope-
|
|
30
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
23
|
+
const DatePickerBase = require("../__chunks__/DatePickerBase-DRR0aOm4.js");
|
|
24
|
+
const Calendar = require("../__chunks__/Calendar-joo_8vqm.js");
|
|
25
|
+
const CalendarBase = require("../__chunks__/CalendarBase-B1T_Rybe.js");
|
|
26
|
+
const useFormValidation = require("../__chunks__/useFormValidation-CAsEJ1eu.js");
|
|
27
|
+
const Overlay = require("../__chunks__/Overlay-88Ee_QUh.js");
|
|
28
|
+
const useControlledState = require("../__chunks__/useControlledState-B2XIiHlL.js");
|
|
29
|
+
const FocusScope = require("../__chunks__/FocusScope-BYrP0odg.js");
|
|
30
|
+
const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.js");
|
|
31
31
|
const filterDOMProps = require("../__chunks__/filterDOMProps-D3iOHP0H.js");
|
|
32
|
-
const scrollIntoView = require("../__chunks__/scrollIntoView-
|
|
33
|
-
const useFocusWithin = require("../__chunks__/useFocusWithin-
|
|
34
|
-
const useField = require("../__chunks__/useField-
|
|
35
|
-
const context = require("../__chunks__/context-
|
|
36
|
-
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-
|
|
32
|
+
const scrollIntoView = require("../__chunks__/scrollIntoView-DrxAy81g.js");
|
|
33
|
+
const useFocusWithin = require("../__chunks__/useFocusWithin-CxspK-F2.js");
|
|
34
|
+
const useField = require("../__chunks__/useField-C80n1AHI.js");
|
|
35
|
+
const context = require("../__chunks__/context-Dxz9OXQY.js");
|
|
36
|
+
const useLocalizedStringFormatter = require("../__chunks__/useLocalizedStringFormatter-X4sjSzZt.js");
|
|
37
37
|
function $ab5bf3f618090389$export$87194bb378cc3ac2(props) {
|
|
38
38
|
let overlayState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
39
39
|
let [value, setValue] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
|
package/DatePicker/index.mjs
CHANGED
|
@@ -18,20 +18,20 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import React__default, { useState, useMemo, useRef } from "react";
|
|
21
|
-
import { $ as $35a22f14a1f04b11$export$2440da353cedad43, h as $35a22f14a1f04b11$export$f18627323ab57ac0, b as $35a22f14a1f04b11$export$7e319ea407e63bc0, c as $35a22f14a1f04b11$export$c5221a78ef73c5e9, d as $3dfb0f96be0d6a08$export$4a931266a3838b86, f as $16f0b7bb276bc17e$export$300019f83c56d282, e as $dfb4eba373ed9493$exports, D as DatePickerBase } from "../__chunks__/DatePickerBase-
|
|
22
|
-
import { C as Calendar } from "../__chunks__/Calendar-
|
|
23
|
-
import { m as $fb18d541ea1ad717$export$ad991b66133851cf, n as $11d87f3f76e88657$export$b21e0b124e224484, d as $11d87f3f76e88657$export$93522d1a439f3617 } from "../__chunks__/CalendarBase-
|
|
24
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, c as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../__chunks__/useFormValidation-
|
|
25
|
-
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-
|
|
26
|
-
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/useControlledState-
|
|
27
|
-
import { a as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../__chunks__/FocusScope-
|
|
28
|
-
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
21
|
+
import { $ as $35a22f14a1f04b11$export$2440da353cedad43, h as $35a22f14a1f04b11$export$f18627323ab57ac0, b as $35a22f14a1f04b11$export$7e319ea407e63bc0, c as $35a22f14a1f04b11$export$c5221a78ef73c5e9, d as $3dfb0f96be0d6a08$export$4a931266a3838b86, f as $16f0b7bb276bc17e$export$300019f83c56d282, e as $dfb4eba373ed9493$exports, D as DatePickerBase } from "../__chunks__/DatePickerBase-Bg4YQMAj.mjs";
|
|
22
|
+
import { C as Calendar } from "../__chunks__/Calendar-B8v6TkXp.mjs";
|
|
23
|
+
import { m as $fb18d541ea1ad717$export$ad991b66133851cf, n as $11d87f3f76e88657$export$b21e0b124e224484, d as $11d87f3f76e88657$export$93522d1a439f3617 } from "../__chunks__/CalendarBase-adL7KcVi.mjs";
|
|
24
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, c as $e5be200c675c3b3a$export$a763b9476acd3eb } from "../__chunks__/useFormValidation-HasG7QCl.mjs";
|
|
25
|
+
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-Cj4W5w8m.mjs";
|
|
26
|
+
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../__chunks__/useControlledState-BDO08zJF.mjs";
|
|
27
|
+
import { a as $9bf71ea28793e738$export$c5251b9e124bf29 } from "../__chunks__/FocusScope-DP1VSF7s.mjs";
|
|
28
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-CORsYhTp.mjs";
|
|
29
29
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../__chunks__/filterDOMProps-EDDcM64A.mjs";
|
|
30
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-
|
|
31
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "../__chunks__/useFocusWithin-
|
|
32
|
-
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/useField-
|
|
33
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-
|
|
34
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-
|
|
30
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "../__chunks__/scrollIntoView-BY1C_8w5.mjs";
|
|
31
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "../__chunks__/useFocusWithin-DPnHAdQU.mjs";
|
|
32
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "../__chunks__/useField-D1rL_Lz6.mjs";
|
|
33
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "../__chunks__/context-BEoWr5Bw.mjs";
|
|
34
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../__chunks__/useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
35
35
|
function $ab5bf3f618090389$export$87194bb378cc3ac2(props) {
|
|
36
36
|
let overlayState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
37
37
|
let [value, setValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
|