@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/DateRangePicker/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 RangeCalendar = require("../__chunks__/RangeCalendar-
|
|
24
|
-
const DatePickerBase = require("../__chunks__/DatePickerBase-
|
|
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 RangeCalendar = require("../__chunks__/RangeCalendar-BgB6xU9q.js");
|
|
24
|
+
const DatePickerBase = require("../__chunks__/DatePickerBase-DRR0aOm4.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 $93c38a5e28be6249$export$e50a61c1de9f574(props) {
|
|
38
38
|
var _value_start, _value_end;
|
|
39
39
|
let overlayState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -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 { R as RangeCalendar } from "../__chunks__/RangeCalendar-
|
|
22
|
-
import { $ as $35a22f14a1f04b11$export$2440da353cedad43, a as $35a22f14a1f04b11$export$80ff8fc0ae339c13, b as $35a22f14a1f04b11$export$7e319ea407e63bc0, c as $35a22f14a1f04b11$export$c5221a78ef73c5e9, d as $3dfb0f96be0d6a08$export$4a931266a3838b86, e as $dfb4eba373ed9493$exports, f as $16f0b7bb276bc17e$export$300019f83c56d282, g as $16f0b7bb276bc17e$export$7b3062cd49e80452, D as DatePickerBase } from "../__chunks__/DatePickerBase-
|
|
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, b as $e5be200c675c3b3a$export$dad6ae84456c676a, c as $e5be200c675c3b3a$export$a763b9476acd3eb, d as $e5be200c675c3b3a$export$75ee7c75d68f5b0e } 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 { R as RangeCalendar } from "../__chunks__/RangeCalendar-CNLF6YQu.mjs";
|
|
22
|
+
import { $ as $35a22f14a1f04b11$export$2440da353cedad43, a as $35a22f14a1f04b11$export$80ff8fc0ae339c13, b as $35a22f14a1f04b11$export$7e319ea407e63bc0, c as $35a22f14a1f04b11$export$c5221a78ef73c5e9, d as $3dfb0f96be0d6a08$export$4a931266a3838b86, e as $dfb4eba373ed9493$exports, f as $16f0b7bb276bc17e$export$300019f83c56d282, g as $16f0b7bb276bc17e$export$7b3062cd49e80452, D as DatePickerBase } from "../__chunks__/DatePickerBase-Bg4YQMAj.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, b as $e5be200c675c3b3a$export$dad6ae84456c676a, c as $e5be200c675c3b3a$export$a763b9476acd3eb, d as $e5be200c675c3b3a$export$75ee7c75d68f5b0e } 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 $93c38a5e28be6249$export$e50a61c1de9f574(props) {
|
|
36
36
|
var _value_start, _value_end;
|
|
37
37
|
let overlayState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
package/Drawer/index.js
CHANGED
|
@@ -36,11 +36,11 @@ const utilities_css = require("../utilities/css.js");
|
|
|
36
36
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
37
37
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
38
38
|
const Text = require("../__chunks__/Text-B1xglKFU.js");
|
|
39
|
-
const useModalOverlay = require("../__chunks__/useModalOverlay-
|
|
40
|
-
const Overlay = require("../__chunks__/Overlay-
|
|
39
|
+
const useModalOverlay = require("../__chunks__/useModalOverlay-E3JkPreO.js");
|
|
40
|
+
const Overlay = require("../__chunks__/Overlay-88Ee_QUh.js");
|
|
41
41
|
const CSSTransition = require("../__chunks__/CSSTransition-BXyX0mUc.js");
|
|
42
|
-
const useOverlayTrigger = require("../__chunks__/useOverlayTrigger-
|
|
43
|
-
const useDialog = require("../__chunks__/useDialog-
|
|
42
|
+
const useOverlayTrigger = require("../__chunks__/useOverlayTrigger-DSYyww_1.js");
|
|
43
|
+
const useDialog = require("../__chunks__/useDialog-D_2QCyti.js");
|
|
44
44
|
function _interopNamespaceDefault(e) {
|
|
45
45
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
46
46
|
if (e) {
|
package/Drawer/index.mjs
CHANGED
|
@@ -35,11 +35,11 @@ import { classNames } from "../utilities/css.mjs";
|
|
|
35
35
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
36
36
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
37
37
|
import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
|
|
38
|
-
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb } from "../__chunks__/useModalOverlay-
|
|
39
|
-
import { d as $337b884510726a0d$export$c6fdb837b070b4ff, a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-
|
|
38
|
+
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb } from "../__chunks__/useModalOverlay-1zoyqSAR.mjs";
|
|
39
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff, a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-Cj4W5w8m.mjs";
|
|
40
40
|
import { C as CSSTransition } from "../__chunks__/CSSTransition-C4FQrt4m.mjs";
|
|
41
|
-
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/useOverlayTrigger-
|
|
42
|
-
import { $ as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-
|
|
41
|
+
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/useOverlayTrigger-DTO7VB3r.mjs";
|
|
42
|
+
import { $ as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-BhvpnpTk.mjs";
|
|
43
43
|
const underlayBg = "_underlayBg_pn8iw_4";
|
|
44
44
|
const underlayBgEnter = "_underlayBgEnter_pn8iw_32";
|
|
45
45
|
const underlayBgEnterDone = "_underlayBgEnterDone_pn8iw_36";
|
package/DropdownButton/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
31
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
32
32
|
const React = require("react");
|
|
33
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
33
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-CnIn7VBo.js");
|
|
34
34
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
36
|
const DropdownButton$1 = "_DropdownButton_hi2tk_4";
|
package/DropdownButton/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
};
|
|
29
29
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
30
30
|
import React__default, { forwardRef } from "react";
|
|
31
|
-
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
31
|
+
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-CfhKDftV.mjs";
|
|
32
32
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
34
|
const DropdownButton$1 = "_DropdownButton_hi2tk_4";
|
|
@@ -33,12 +33,12 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const HelpMenu = require("../__chunks__/HelpMenu-
|
|
36
|
+
const HelpMenu = require("../__chunks__/HelpMenu-LZ_ky28u.js");
|
|
37
37
|
const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
|
|
38
38
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
39
39
|
const Text = require("../__chunks__/Text-B1xglKFU.js");
|
|
40
|
-
const Button = require("../__chunks__/Button-
|
|
41
|
-
const Stepper = require("../__chunks__/Stepper
|
|
40
|
+
const Button = require("../__chunks__/Button-DUZZ9HoT.js");
|
|
41
|
+
const Stepper = require("../__chunks__/Stepper--KsoKMdM.js");
|
|
42
42
|
function Content({ children }) {
|
|
43
43
|
return React.createElement("main", null, children);
|
|
44
44
|
}
|
|
@@ -31,12 +31,12 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default from "react";
|
|
33
33
|
import { getComponentToken, classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
import { H as HelpMenu } from "../__chunks__/HelpMenu-
|
|
34
|
+
import { H as HelpMenu } from "../__chunks__/HelpMenu-DHNd3X_S.mjs";
|
|
35
35
|
import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
36
36
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
37
37
|
import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
|
|
38
|
-
import { B as Button } from "../__chunks__/Button-
|
|
39
|
-
import { S as Stepper } from "../__chunks__/Stepper-
|
|
38
|
+
import { B as Button } from "../__chunks__/Button-BE3zVhME.mjs";
|
|
39
|
+
import { S as Stepper } from "../__chunks__/Stepper-CACO2jLG.mjs";
|
|
40
40
|
function Content({ children }) {
|
|
41
41
|
return React__default.createElement("main", null, children);
|
|
42
42
|
}
|
package/ForgeLayout/index.js
CHANGED
|
@@ -33,24 +33,24 @@ var __objRest = (source, exclude) => {
|
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const Button = require("../__chunks__/Button-
|
|
36
|
+
const Button = require("../__chunks__/Button-2GplvjoR.js");
|
|
37
37
|
const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
|
|
38
38
|
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
39
|
-
const Menu = require("../__chunks__/Menu-
|
|
39
|
+
const Menu = require("../__chunks__/Menu-CivAepFq.js");
|
|
40
40
|
const Text = require("../__chunks__/Text-B1xglKFU.js");
|
|
41
|
-
const useFocusRing = require("../__chunks__/useFocusRing-
|
|
42
|
-
const mergeProps = require("../__chunks__/mergeProps-
|
|
43
|
-
const useHover = require("../__chunks__/useHover-
|
|
44
|
-
const usePress = require("../__chunks__/usePress-
|
|
45
|
-
const useLink = require("../__chunks__/useLink-
|
|
41
|
+
const useFocusRing = require("../__chunks__/useFocusRing-ygRrwBu3.js");
|
|
42
|
+
const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.js");
|
|
43
|
+
const useHover = require("../__chunks__/useHover-BMIowV0x.js");
|
|
44
|
+
const usePress = require("../__chunks__/usePress-Btah4Wrd.js");
|
|
45
|
+
const useLink = require("../__chunks__/useLink-CcRvXaFq.js");
|
|
46
46
|
const VerticalStack = require("../__chunks__/VerticalStack-Dzpv3O67.js");
|
|
47
|
-
const Dialog = require("../__chunks__/Dialog-
|
|
47
|
+
const Dialog = require("../__chunks__/Dialog-D1oLQPjX.js");
|
|
48
48
|
const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
|
|
49
49
|
const Search = require("../__chunks__/Search-BY7IgEyX.js");
|
|
50
50
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
51
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
52
|
-
const RadioGroup = require("../__chunks__/RadioGroup-
|
|
53
|
-
const TextField = require("../__chunks__/TextField-
|
|
51
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-CnIn7VBo.js");
|
|
52
|
+
const RadioGroup = require("../__chunks__/RadioGroup-yg8Gtbol.js");
|
|
53
|
+
const TextField = require("../__chunks__/TextField-C6qMiNmy.js");
|
|
54
54
|
const utilities_react = require("../utilities/react.js");
|
|
55
55
|
const button = "_button_1j18l_4";
|
|
56
56
|
const focused$1 = "_focused_1j18l_25";
|
package/ForgeLayout/index.mjs
CHANGED
|
@@ -31,24 +31,24 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useCallback, forwardRef, useRef, useMemo, useContext, createContext, Fragment } from "react";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
import {
|
|
34
|
+
import { $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "../__chunks__/Button-BpGjkRZu.mjs";
|
|
35
35
|
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
|
|
36
36
|
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
37
|
-
import { M as Menu } from "../__chunks__/Menu-
|
|
37
|
+
import { M as Menu } from "../__chunks__/Menu-CfHK_0Sr.mjs";
|
|
38
38
|
import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
|
|
39
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-
|
|
40
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-
|
|
41
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-
|
|
42
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-
|
|
43
|
-
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-
|
|
39
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-DAMeUI3t.mjs";
|
|
40
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-CORsYhTp.mjs";
|
|
41
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CwJuylzq.mjs";
|
|
42
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "../__chunks__/usePress-BGHDb_ce.mjs";
|
|
43
|
+
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-CxFvWxcs.mjs";
|
|
44
44
|
import { V as VerticalStack } from "../__chunks__/VerticalStack-C2yDQVHD.mjs";
|
|
45
|
-
import { $ as $de32f1b87079253c$export$2e1e1122cf0cba88, a as $07b14b47974efb58$export$5b6b19405a83ff9d, b as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../__chunks__/Dialog-
|
|
45
|
+
import { $ as $de32f1b87079253c$export$2e1e1122cf0cba88, a as $07b14b47974efb58$export$5b6b19405a83ff9d, b as $de32f1b87079253c$export$3ddf2d174ce01153 } from "../__chunks__/Dialog-71SzSgdZ.mjs";
|
|
46
46
|
import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
47
47
|
import { S as Search } from "../__chunks__/Search-Cyblmqo5.mjs";
|
|
48
48
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
49
|
-
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
50
|
-
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-
|
|
51
|
-
import { T as TextField } from "../__chunks__/TextField-
|
|
49
|
+
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-CfhKDftV.mjs";
|
|
50
|
+
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-B5o5aPT-.mjs";
|
|
51
|
+
import { T as TextField } from "../__chunks__/TextField-CUOz6ZUe.mjs";
|
|
52
52
|
import { flattenChildren } from "../utilities/react.mjs";
|
|
53
53
|
const button = "_button_1j18l_4";
|
|
54
54
|
const focused$1 = "_focused_1j18l_25";
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { HostedUILayoutActionBadge, HostedUILayoutActions, HostedUILayoutButtonAction, HostedUILayoutLinkAction, HostedUILayoutMenuAction } from "./HostedUILayoutActions";
|
|
3
|
+
export type HostedUILayoutProps = {
|
|
4
|
+
/** Layout children. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export type HostedUILayoutHeaderProps = {
|
|
8
|
+
/** Header children. */
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type HostedUILayoutLogoContainerProps = {
|
|
12
|
+
/** Logo container children */
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
export type HostedUILayoutLogoProps = {
|
|
16
|
+
/** Logo children. */
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
};
|
|
19
|
+
export type HostedUILayoutContentProps = {
|
|
20
|
+
/** Content children. */
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* `HostedUILayout` defines a header and main content area for a HostedUI product page.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <HostedUILayout>
|
|
29
|
+
* <HostedUILayout.Header>
|
|
30
|
+
* <HostedUILayout.LogoContainer>
|
|
31
|
+
* <HostedUILayout.Logo>
|
|
32
|
+
* <SomeLogo />
|
|
33
|
+
* </HostedUILayout.Logo>
|
|
34
|
+
* </HostedUILayout.LogoContainer>
|
|
35
|
+
* <HostedUILayout.Actions>
|
|
36
|
+
* <HostedUILayout.MenuAction
|
|
37
|
+
* accessibilityLabel="Menu Action"
|
|
38
|
+
* iconSymbol={Icon}
|
|
39
|
+
* renderBadge={() => <HostedUILayout.ActionBadge />}
|
|
40
|
+
* >
|
|
41
|
+
* <Menu.Overlay onAction={() => {}}>
|
|
42
|
+
* <Menu.Item>Action 1</Menu.Item>
|
|
43
|
+
* <Menu.Item>Action 2</Menu.Item>
|
|
44
|
+
* </Menu.Overlay>
|
|
45
|
+
* </HostedUILayout.MenuAction>
|
|
46
|
+
* <HostedUILayout.ButtonAction
|
|
47
|
+
* accessibilityLabel="Button Action"
|
|
48
|
+
* iconSymbol={Icon}
|
|
49
|
+
* onPress={() => {}}
|
|
50
|
+
* />
|
|
51
|
+
* </HostedUILayout.Actions>
|
|
52
|
+
* </HostedUILayout.Header>
|
|
53
|
+
* <HostedUILayout.Content>
|
|
54
|
+
* HostedUI Content
|
|
55
|
+
* </HostedUILayout.Content>
|
|
56
|
+
* </HostedUILayout>
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function HostedUILayout(props: HostedUILayoutProps): React.JSX.Element;
|
|
60
|
+
export declare namespace HostedUILayout {
|
|
61
|
+
var Header: typeof HostedUILayoutHeader;
|
|
62
|
+
var Logo: typeof HostedUILayoutLogo;
|
|
63
|
+
var LogoContainer: typeof HostedUILayoutLogoContainer;
|
|
64
|
+
var Actions: typeof HostedUILayoutActions;
|
|
65
|
+
var ActionBadge: typeof HostedUILayoutActionBadge;
|
|
66
|
+
var MenuAction: typeof HostedUILayoutMenuAction;
|
|
67
|
+
var LinkAction: typeof HostedUILayoutLinkAction;
|
|
68
|
+
var ButtonAction: typeof HostedUILayoutButtonAction;
|
|
69
|
+
var Content: typeof HostedUILayoutContent;
|
|
70
|
+
}
|
|
71
|
+
declare function HostedUILayoutHeader(props: HostedUILayoutHeaderProps): React.JSX.Element;
|
|
72
|
+
declare function HostedUILayoutLogo(props: HostedUILayoutLogoProps): React.JSX.Element;
|
|
73
|
+
declare function HostedUILayoutLogoContainer(props: HostedUILayoutLogoContainerProps): React.JSX.Element;
|
|
74
|
+
declare function HostedUILayoutContent(props: HostedUILayoutContentProps): React.JSX.Element;
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=HostedUILayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostedUILayout.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAIjC,MAAM,MAAM,mBAAmB,GAAG;IAChC,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,8BAA8B;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBAGxD;yBAHe,cAAc;;;;;;;;;;;AAK9B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,qBAG7D;AAED,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBAIzD;AAED,iBAAS,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,qBAU3E;AAED,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAG/D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { HostedUILayout } from "./HostedUILayout";
|
|
3
|
+
type Story = StoryObj<typeof HostedUILayout>;
|
|
4
|
+
declare const meta: Meta<typeof HostedUILayout>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const StandardContent: Story;
|
|
7
|
+
export declare const WithMultipageSection: Story;
|
|
8
|
+
//# sourceMappingURL=HostedUILayout.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostedUILayout.stories.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAUrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,eAAe,EAAE,KA4B7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAoFlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostedUILayout.test.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { AriaLinkOptions, PressHookProps } from "react-aria";
|
|
3
|
+
import { ButtonProps } from "../Button";
|
|
4
|
+
import { IconSymbol } from "../types";
|
|
5
|
+
export type HostedUILayoutActionsProps = {
|
|
6
|
+
/** Actions children. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
export type HostedUILayoutActionBadgeProps = {
|
|
10
|
+
/** Badge children. */
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
};
|
|
13
|
+
export type HostedUILayoutMenuActionProps = {
|
|
14
|
+
/** Optional custom accessibility label describing the menu action. */
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
/** Icon symbol for the action. */
|
|
17
|
+
iconSymbol: IconSymbol;
|
|
18
|
+
/** Badge for the action. */
|
|
19
|
+
renderBadge?: () => ReactNode;
|
|
20
|
+
/** Render the menu overlay. */
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
};
|
|
23
|
+
export type HostedUILayoutLinkActionProps = {
|
|
24
|
+
/** Optional custom accessibility label describing the menu action. */
|
|
25
|
+
accessibilityLabel?: string;
|
|
26
|
+
/** Action link icon symbol. */
|
|
27
|
+
iconSymbol: IconSymbol;
|
|
28
|
+
/** Whether or not action link is selected. */
|
|
29
|
+
isSelected?: boolean;
|
|
30
|
+
/** Badge for the action. */
|
|
31
|
+
renderBadge?: () => ReactNode;
|
|
32
|
+
} & AriaLinkOptions;
|
|
33
|
+
export type HostedUILayoutButtonActionProps = {
|
|
34
|
+
/** Optional custom accessibility label describing the menu action. */
|
|
35
|
+
accessibilityLabel?: string;
|
|
36
|
+
/** Action button icon symbol. */
|
|
37
|
+
iconSymbol: IconSymbol;
|
|
38
|
+
/** Whether or not action button is selected. */
|
|
39
|
+
isSelected?: boolean;
|
|
40
|
+
/** Badge for the action. */
|
|
41
|
+
renderBadge?: () => ReactNode;
|
|
42
|
+
} & ButtonProps & React.RefAttributes<HTMLButtonElement>;
|
|
43
|
+
export declare function HostedUILayoutActions(props: HostedUILayoutActionsProps): React.JSX.Element;
|
|
44
|
+
export declare function HostedUILayoutMenuAction(props: HostedUILayoutMenuActionProps): React.JSX.Element;
|
|
45
|
+
export declare function HostedUILayoutLinkAction(props: HostedUILayoutLinkActionProps): React.JSX.Element;
|
|
46
|
+
export declare function HostedUILayoutButtonAction(props: HostedUILayoutButtonActionProps): React.JSX.Element;
|
|
47
|
+
export declare function HostedUILayoutActionBadge(props: HostedUILayoutActionBadgeProps): React.JSX.Element;
|
|
48
|
+
/** TODO: Figure out how to work with UnstyledButton instead */
|
|
49
|
+
export declare const PressableButton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & PressHookProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
+
//# sourceMappingURL=HostedUILayoutActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostedUILayoutActions.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayoutActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAIV,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EAEf,cAAc,EAKf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAKxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAKtC,MAAM,MAAM,0BAA0B,GAAG;IACvC,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,sBAAsB;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kCAAkC;IAClC,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;IAC9B,+BAA+B;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+BAA+B;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;CAC/B,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iCAAiC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;CAC/B,GAAG,WAAW,GACb,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAOtE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBAoC5E;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBA+B5E;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,+BAA+B,qBAyBvC;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,8BAA8B,qBAItC;AAED,+DAA+D;AAC/D,eAAO,MAAM,eAAe,kMAY1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
4
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __spreadValues = (a, b) => {
|
|
10
|
+
for (var prop in b || (b = {}))
|
|
11
|
+
if (__hasOwnProp.call(b, prop))
|
|
12
|
+
__defNormalProp(a, prop, b[prop]);
|
|
13
|
+
if (__getOwnPropSymbols)
|
|
14
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
15
|
+
if (__propIsEnum.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
}
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
var __objRest = (source, exclude) => {
|
|
22
|
+
var target = {};
|
|
23
|
+
for (var prop in source)
|
|
24
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
25
|
+
target[prop] = source[prop];
|
|
26
|
+
if (source != null && __getOwnPropSymbols)
|
|
27
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
28
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
}
|
|
31
|
+
return target;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
|
+
const React = require("react");
|
|
35
|
+
const EasyPostLogo = require("../__chunks__/EasyPostLogo-DQt5KlFX.js");
|
|
36
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
|
|
37
|
+
const Button = require("../__chunks__/Button-2GplvjoR.js");
|
|
38
|
+
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
39
|
+
const Menu = require("../__chunks__/Menu-CivAepFq.js");
|
|
40
|
+
const Text = require("../__chunks__/Text-B1xglKFU.js");
|
|
41
|
+
const utilities_css = require("../utilities/css.js");
|
|
42
|
+
const useFocusRing = require("../__chunks__/useFocusRing-ygRrwBu3.js");
|
|
43
|
+
const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.js");
|
|
44
|
+
const useHover = require("../__chunks__/useHover-BMIowV0x.js");
|
|
45
|
+
const usePress = require("../__chunks__/usePress-Btah4Wrd.js");
|
|
46
|
+
const useLink = require("../__chunks__/useLink-CcRvXaFq.js");
|
|
47
|
+
const button = "_button_zvh9c_4";
|
|
48
|
+
const focused = "_focused_zvh9c_26";
|
|
49
|
+
const hovered = "_hovered_zvh9c_40";
|
|
50
|
+
const selected = "_selected_zvh9c_45";
|
|
51
|
+
const open = "_open_zvh9c_46";
|
|
52
|
+
const badgeContainer = "_badgeContainer_zvh9c_51";
|
|
53
|
+
const badge = "_badge_zvh9c_51";
|
|
54
|
+
const styles$1 = {
|
|
55
|
+
button,
|
|
56
|
+
focused,
|
|
57
|
+
hovered,
|
|
58
|
+
selected,
|
|
59
|
+
open,
|
|
60
|
+
badgeContainer,
|
|
61
|
+
badge
|
|
62
|
+
};
|
|
63
|
+
function HostedUILayoutActions(props) {
|
|
64
|
+
const { children } = props;
|
|
65
|
+
return React.createElement(HorizontalStack.HorizontalStack, {
|
|
66
|
+
wrap: false,
|
|
67
|
+
gap: "1",
|
|
68
|
+
align: "end"
|
|
69
|
+
}, children);
|
|
70
|
+
}
|
|
71
|
+
function HostedUILayoutMenuAction(props) {
|
|
72
|
+
const { accessibilityLabel = "Actions", iconSymbol, children, renderBadge } = props;
|
|
73
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
74
|
+
const handleOpenChange = React.useCallback((isOpen2) => {
|
|
75
|
+
setIsOpen(isOpen2);
|
|
76
|
+
}, []);
|
|
77
|
+
const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f({});
|
|
78
|
+
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({});
|
|
79
|
+
const className = utilities_css.classNames(styles$1.button, isFocusVisible && styles$1.focused, isHovered && styles$1.hovered, isOpen && styles$1.open);
|
|
80
|
+
return React.createElement(Menu.Menu, {
|
|
81
|
+
isOpen,
|
|
82
|
+
onOpenChange: handleOpenChange
|
|
83
|
+
}, React.createElement(Menu.Menu.Trigger, null, React.createElement(PressableButton, __spreadValues({
|
|
84
|
+
className
|
|
85
|
+
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, hoverProps)), React.createElement(Text.Text, {
|
|
86
|
+
visuallyHidden: true
|
|
87
|
+
}, accessibilityLabel), React.createElement(Icon.Icon, {
|
|
88
|
+
symbol: iconSymbol
|
|
89
|
+
}), renderBadge && React.createElement("div", {
|
|
90
|
+
className: styles$1.badgeContainer
|
|
91
|
+
}, renderBadge()))), children);
|
|
92
|
+
}
|
|
93
|
+
function HostedUILayoutLinkAction(props) {
|
|
94
|
+
const { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = props;
|
|
95
|
+
const ref = React.useRef(null);
|
|
96
|
+
const { linkProps } = useLink.$298d61e98472621b$export$dcf14c9974fe2767(props, ref);
|
|
97
|
+
const { focusProps, isFocusVisible } = useFocusRing.$f7dceffc5ad7768b$export$4e328f61c538687f(props);
|
|
98
|
+
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
99
|
+
const className = utilities_css.classNames(styles$1.button, isFocusVisible && styles$1.focused, isHovered && styles$1.hovered, isSelected && styles$1.selected);
|
|
100
|
+
return React.createElement("a", __spreadProps(__spreadValues({
|
|
101
|
+
ref,
|
|
102
|
+
className
|
|
103
|
+
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
104
|
+
"aria-current": isSelected ? "true" : void 0
|
|
105
|
+
}), React.createElement(Text.Text, {
|
|
106
|
+
visuallyHidden: true
|
|
107
|
+
}, accessibilityLabel), React.createElement(Icon.Icon, {
|
|
108
|
+
symbol: iconSymbol
|
|
109
|
+
}), renderBadge && React.createElement("div", {
|
|
110
|
+
className: styles$1.badgeContainer
|
|
111
|
+
}, renderBadge()));
|
|
112
|
+
}
|
|
113
|
+
function HostedUILayoutButtonAction(props) {
|
|
114
|
+
const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
|
|
115
|
+
const ref = React.useRef(null);
|
|
116
|
+
const className = utilities_css.classNames(styles$1.button, isSelected && styles$1.selected);
|
|
117
|
+
return React.createElement(Button.$d2b4bc8c273e7be6$export$353f5b6fc5456de1, __spreadValues({
|
|
118
|
+
ref,
|
|
119
|
+
className,
|
|
120
|
+
"aria-current": isSelected ? "true" : void 0
|
|
121
|
+
}, buttonProps), React.createElement(Text.Text, {
|
|
122
|
+
visuallyHidden: true
|
|
123
|
+
}, accessibilityLabel), React.createElement(Icon.Icon, {
|
|
124
|
+
symbol: iconSymbol
|
|
125
|
+
}), renderBadge && React.createElement("div", {
|
|
126
|
+
className: styles$1.badgeContainer
|
|
127
|
+
}, renderBadge()));
|
|
128
|
+
}
|
|
129
|
+
function HostedUILayoutActionBadge(props) {
|
|
130
|
+
const { children } = props;
|
|
131
|
+
return React.createElement("div", {
|
|
132
|
+
className: styles$1.badge
|
|
133
|
+
}, children);
|
|
134
|
+
}
|
|
135
|
+
const PressableButton = React.forwardRef((props, ref) => {
|
|
136
|
+
const { pressProps } = usePress.$f6c31cce2adf654f$export$45712eceda6fad21(props);
|
|
137
|
+
return React.createElement("button", __spreadProps(__spreadValues({}, pressProps), {
|
|
138
|
+
ref,
|
|
139
|
+
className: utilities_css.classNames(pressProps.className)
|
|
140
|
+
}));
|
|
141
|
+
});
|
|
142
|
+
PressableButton.displayName = "PressableButton";
|
|
143
|
+
const HostedUILayout$1 = "_HostedUILayout_1ls9o_4";
|
|
144
|
+
const logo = "_logo_1ls9o_15";
|
|
145
|
+
const header = "_header_1ls9o_19";
|
|
146
|
+
const content = "_content_1ls9o_34";
|
|
147
|
+
const styles = {
|
|
148
|
+
HostedUILayout: HostedUILayout$1,
|
|
149
|
+
logo,
|
|
150
|
+
header,
|
|
151
|
+
content
|
|
152
|
+
};
|
|
153
|
+
function HostedUILayout(props) {
|
|
154
|
+
const { children } = props;
|
|
155
|
+
return React.createElement("div", {
|
|
156
|
+
className: styles.HostedUILayout
|
|
157
|
+
}, children);
|
|
158
|
+
}
|
|
159
|
+
function HostedUILayoutHeader(props) {
|
|
160
|
+
const { children } = props;
|
|
161
|
+
return React.createElement("header", {
|
|
162
|
+
className: styles.header
|
|
163
|
+
}, children);
|
|
164
|
+
}
|
|
165
|
+
function HostedUILayoutLogo(props) {
|
|
166
|
+
const { children } = props;
|
|
167
|
+
return React.createElement("div", {
|
|
168
|
+
className: styles.logo
|
|
169
|
+
}, children);
|
|
170
|
+
}
|
|
171
|
+
function HostedUILayoutLogoContainer(props) {
|
|
172
|
+
const { children } = props;
|
|
173
|
+
return React.createElement(HorizontalStack.HorizontalStack, {
|
|
174
|
+
gap: "1",
|
|
175
|
+
blockAlign: "center",
|
|
176
|
+
align: "start",
|
|
177
|
+
wrap: false
|
|
178
|
+
}, React.createElement(HostedUILayoutLogo, null, React.createElement(EasyPostLogo.EasyPostLogo, null)), children);
|
|
179
|
+
}
|
|
180
|
+
function HostedUILayoutContent(props) {
|
|
181
|
+
const { children } = props;
|
|
182
|
+
return React.createElement("main", {
|
|
183
|
+
className: styles.content
|
|
184
|
+
}, children);
|
|
185
|
+
}
|
|
186
|
+
HostedUILayout.Header = HostedUILayoutHeader;
|
|
187
|
+
HostedUILayout.Logo = HostedUILayoutLogo;
|
|
188
|
+
HostedUILayout.LogoContainer = HostedUILayoutLogoContainer;
|
|
189
|
+
HostedUILayout.Actions = HostedUILayoutActions;
|
|
190
|
+
HostedUILayout.ActionBadge = HostedUILayoutActionBadge;
|
|
191
|
+
HostedUILayout.MenuAction = HostedUILayoutMenuAction;
|
|
192
|
+
HostedUILayout.LinkAction = HostedUILayoutLinkAction;
|
|
193
|
+
HostedUILayout.ButtonAction = HostedUILayoutButtonAction;
|
|
194
|
+
HostedUILayout.Content = HostedUILayoutContent;
|
|
195
|
+
exports.HostedUILayout = HostedUILayout;
|