@midas-ds/components 13.0.1 → 14.0.0
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/{AccordionItem-D2Y0gJZB.js → AccordionItem-BJw5IKe0.js} +103 -104
- package/AccordionItem-DhMimhYo.cjs +1 -0
- package/BadgeContainer-BZl6mSeb.cjs +1 -0
- package/{BadgeContainer-iNNgJKD9.js → BadgeContainer-DilMiV6u.js} +9 -9
- package/{Breadcrumbs-C6B4fyk3.js → Breadcrumbs-CV3rVTjR.js} +15 -15
- package/{Breadcrumbs-BQLxFZVm.cjs → Breadcrumbs-DpUPChG9.cjs} +1 -1
- package/{Button-DD5_S-tD.js → Button-B6lxIKPk.js} +11 -11
- package/{Button-CMIbSc4-.cjs → Button-BTX5G3le.cjs} +1 -1
- package/{Button-CUMHt7MG.js → Button-CRIYvCRM.js} +10 -4
- package/{Button-D_tRdPW9.cjs → Button-xc8A29pm.cjs} +1 -1
- package/Button.module-COONZqNU.cjs +1 -0
- package/Button.module-Cm0H98vy.js +14 -0
- package/{ButtonGroup-zx-9mxbJ.cjs → ButtonGroup-BpvDDECt.cjs} +1 -1
- package/{ButtonGroup-DC8925jD.js → ButtonGroup-Swh2E6Es.js} +1 -1
- package/CHANGELOG.md +33 -0
- package/Card-CfosvMF5.js +131 -0
- package/Card-D2E3gviQ.cjs +1 -0
- package/{CharacterCounter-CnRv-iUP.cjs → CharacterCounter-C-PFKoGg.cjs} +1 -1
- package/{CharacterCounter-DT7A0wWP.js → CharacterCounter-DpFONstE.js} +8 -8
- package/{Checkbox-DTuryJdM.js → Checkbox-Cr3MmHPE.js} +35 -35
- package/Checkbox-D-CFY6QF.cjs +1 -0
- package/{CheckboxGroup-BmFdy-K6.js → CheckboxGroup-DEY3JDEL.js} +12 -12
- package/{CheckboxGroup-LrqCwPET.cjs → CheckboxGroup-f9Oa1MhQ.cjs} +1 -1
- package/{Collection-BvWp2xBd.cjs → Collection-DaZzboRu.cjs} +1 -1
- package/{Collection-B0_WAieZ.js → Collection-j_iWeuZo.js} +5 -5
- package/{ColorSchemeSwitch-CgZfgCG4.js → ColorSchemeSwitch-ChFSNntp.js} +10 -10
- package/{ColorSchemeSwitch-D5juAHPc.cjs → ColorSchemeSwitch-Cur7zN5_.cjs} +3 -3
- package/{ComboBox-uMsVrOYu.cjs → ComboBox-C4NybZ32.cjs} +1 -1
- package/{ComboBox-B2btGwWe.js → ComboBox-D7eKe-M5.js} +147 -147
- package/DateField-BszKZodr.cjs +1 -0
- package/DateField-xyhyDy7u.js +47 -0
- package/{DateInputDivider-LxS0Kw1H.js → DateInputDivider-2Wf2hlXA.js} +25 -25
- package/{DateInputDivider-BnSo_Aox.cjs → DateInputDivider-BgXKFwB0.cjs} +1 -1
- package/{DateRangePicker-It4M98bT.cjs → DateRangePicker-DTPkr3hX.cjs} +2 -2
- package/{DateRangePicker-BmPPDZIF.js → DateRangePicker-YwKi0ukr.js} +22 -22
- package/Dialog-DLnopN3Z.js +237 -0
- package/{Dialog-DR6nEqMT.cjs → Dialog-DNu42oLH.cjs} +1 -1
- package/{Dialog-COeUapMW.js → Dialog-DOyFzvUa.js} +58 -58
- package/Dialog-w6EBWT__.cjs +1 -0
- package/{DragAndDrop-PrUJv--B.js → DragAndDrop-DPRU3Y0Y.js} +1 -1
- package/{DragAndDrop-Dw8JZmrn.cjs → DragAndDrop-DQ_6tl6K.cjs} +1 -1
- package/{Dropdown-C_W6Sizy.cjs → Dropdown-5rmvcHD_.cjs} +2 -2
- package/{Dropdown-CGQbf7OT.js → Dropdown-uC9wc8vd.js} +8 -8
- package/FieldError-C4WBoCRc.cjs +1 -0
- package/FieldError-C4kD4yJZ.js +48 -0
- package/{FileUpload-D2gnQKdn.js → FileUpload-01wGpykv.js} +14 -14
- package/{FileUpload-D3RaARDV.cjs → FileUpload-CTbh7Gic.cjs} +1 -1
- package/{FocusScope-Bj40Ir-g.js → FocusScope-8ILtcq9W.js} +4 -4
- package/{FocusScope-Uy3DiY0-.cjs → FocusScope-Dv0F-mG2.cjs} +1 -1
- package/{Grid-BmX6arAO.js → Grid-0XOQPryP.js} +2 -2
- package/{Grid-Bn1bCTH8.cjs → Grid-B6G4PWn5.cjs} +1 -1
- package/{GridItem-luVsL9lu.cjs → GridItem-BZ8eOXMB.cjs} +1 -1
- package/{GridItem-BtO9kCX9.js → GridItem-YtIpL5V2.js} +1 -1
- package/{Group-C73mD_-i.js → Group-C2hEIsGV.js} +11 -11
- package/{Group-BKYGeOBr.cjs → Group-cuyk9Hsy.cjs} +1 -1
- package/Heading-CEx2LJyM.js +48 -0
- package/Heading-CUShN98j.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-CRSz8DK2.js +72 -0
- package/InfoBanner-D_pNj1J2.cjs +1 -0
- package/{Input-CzMx2mfl.cjs → Input-CCuE9Sc5.cjs} +1 -1
- package/{Input-BLVRv0FK.js → Input-CkTOajNJ.js} +9 -9
- package/{Label-1N6ddn5w.js → Label-CV9p0K2n.js} +15 -15
- package/Label-CkIRTC0_.cjs +1 -0
- package/Layout-CVnlO10z.cjs +16 -0
- package/{Layout-B-A-s7B0.js → Layout-IeVrHpT0.js} +126 -126
- package/{Link-CbFSuEI1.js → Link-B9CQXWzE.js} +10 -10
- package/{Link-lO-Ke97K.js → Link-BFvUN5Sq.js} +22 -22
- package/Link-D2K7bDd3.cjs +6 -0
- package/{Link-wM7cVPlS.cjs → Link-a3Ymcnoa.cjs} +1 -1
- package/LinkButton-BCn5gR10.cjs +6 -0
- package/LinkButton-DN3J1Agu.js +69 -0
- package/{ListBox-LncMQt6I.js → ListBox-2eEa1l0M.js} +34 -34
- package/{ListBox-ICZKGluC.cjs → ListBox-Bx9M5vqb.cjs} +1 -1
- package/{ListBoxLoadMoreItem-3jGpi90m.cjs → ListBoxLoadMoreItem-BBE3OF4J.cjs} +1 -1
- package/{ListBoxLoadMoreItem-C4jnDcYH.js → ListBoxLoadMoreItem-IcGb_XwN.js} +5 -5
- package/{ListBoxSection-D7BcbjUt.js → ListBoxSection-dksiACMZ.js} +21 -21
- package/{ListBoxSection-BeDwnVZx.cjs → ListBoxSection-kujY2gUl.cjs} +1 -1
- package/{ListKeyboardDelegate-C_X1wLkh.cjs → ListKeyboardDelegate-DJDPir-w.cjs} +1 -1
- package/{ListKeyboardDelegate-CVxkAn5D.js → ListKeyboardDelegate-Dyu4eFtP.js} +2 -2
- package/{Logo-CFjZc5u2.cjs → Logo-4tRnV4Su.cjs} +1 -1
- package/{Logo-DkagDdKQ.js → Logo-DLlt576_.js} +17 -17
- package/{OverlayArrow-CvNuu3e3.js → OverlayArrow-Bh_G2tJ3.js} +4 -4
- package/{OverlayArrow-ByH6lM-H.cjs → OverlayArrow-DJ4nNscD.cjs} +1 -1
- package/Popover-BI2Koco0.cjs +1 -0
- package/{Popover-Bf5YH53o.js → Popover-D7_IfJ3o.js} +13 -13
- package/PressResponder-AXK2I_yx.cjs +1 -0
- package/{PressResponder-CxVtArtP.js → PressResponder-DUhG97jJ.js} +9 -9
- package/ProgressBar-B-TOuoAC.cjs +1 -0
- package/ProgressBar-B0WEQkyq.js +53 -0
- package/{Radio-D4wUZfW9.js → Radio-D6KNkSA2.js} +47 -47
- package/{Radio-BpQoJB8e.cjs → Radio-DsVsutMH.cjs} +1 -1
- package/RangeCalendar-B6zKSDju.cjs +6 -0
- package/{RangeCalendar-Bi9jc61A.js → RangeCalendar-D5TMu8GI.js} +115 -114
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/SearchField-DnBBlPT7.cjs +6 -0
- package/{SearchField-BevjTbcW.js → SearchField-wojUSY2S.js} +44 -44
- package/Select-D9h_RQ2k.cjs +1 -0
- package/{Select-CEwJo1BT.js → Select-Dc6y8gPR.js} +168 -168
- package/{SelectionManager-Bq-Gw1UT.js → SelectionManager-D-4ThfPZ.js} +9 -9
- package/{SelectionManager-BtbHoHpA.cjs → SelectionManager-FYrDfe5v.cjs} +1 -1
- package/{Separator-Bj24aGrT.js → Separator--4b7vckr.js} +28 -28
- package/{Separator-Dgin8BNW.cjs → Separator-BQkxEZC9.cjs} +1 -1
- package/{Separator-CM0KPvsX.js → Separator-COlhRmJF.js} +5 -5
- package/Separator-DcbM84B8.cjs +1 -0
- package/Skeleton-8onymGEG.cjs +1 -0
- package/Skeleton-BjTEGRpe.js +35 -0
- package/Spinner-CTha503N.js +47 -0
- package/{Spinner-DxWDMW6e.cjs → Spinner-DKQ9_SQB.cjs} +2 -2
- package/{TabList-3fErCDyP.cjs → TabList-BhC96APe.cjs} +1 -1
- package/{TabList-CXaxruLg.js → TabList-P5HnizZt.js} +106 -110
- package/{Table-Dyqa6_rE.cjs → Table-BB8Ag5_3.cjs} +1 -1
- package/{Table-BzJktg2G.js → Table-cCSOrPkK.js} +21 -21
- package/{Tag-BYUPXbhG.js → Tag-D2vh0KRD.js} +24 -24
- package/{Tag-BweDKw1v.cjs → Tag-D32MGLjS.cjs} +1 -1
- package/Text-BQe1I4-r.js +32 -0
- package/{Text-Be7WIOwv.js → Text-BpERRete.js} +3 -3
- package/{Text-BtPiT2P1.cjs → Text-CkhG15SU.cjs} +1 -1
- package/{Text-BAFsaON-.cjs → Text-CkhZTTV5.cjs} +1 -1
- package/TextArea-B5TsyJxa.cjs +1 -0
- package/TextArea-Cado2arG.js +125 -0
- package/{TextField-Bm5916AD.cjs → TextField-4xfAzdBI.cjs} +1 -1
- package/{TextField-_UY8CXtW.js → TextField-5AI6T1ol.js} +26 -26
- package/TextField.module-C03d0VY9.js +13 -0
- package/TextField.module-DmRrFHra.cjs +1 -0
- package/{Toast-B74PMVL9.js → Toast-CgXRE33Y.js} +97 -97
- package/{Toast-Cs0CEbRr.cjs → Toast-Cs-Uvf1p.cjs} +1 -1
- package/{ToggleButtonGroup-DY9S3USc.cjs → ToggleButtonGroup-CiX2eXB8.cjs} +1 -1
- package/{ToggleButtonGroup-CwHPu7w5.js → ToggleButtonGroup-SKGgfFs4.js} +9 -9
- package/{Tooltip-CZa9n5sT.cjs → Tooltip-BrupFzaI.cjs} +1 -1
- package/{Tooltip-BHAtsp9k.js → Tooltip-txk48Qof.js} +13 -13
- package/{VisuallyHidden-EjrqodVh.cjs → VisuallyHidden-Awup6QxT.cjs} +1 -1
- package/{VisuallyHidden-CGEtjAP7.js → VisuallyHidden-D2ZXHTJs.js} +8 -8
- package/accordion/Accordion.d.ts +0 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +2 -3
- package/assets/AccordionItem.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/Heading.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Separator.css +1 -1
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/default.css +1 -1
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/clsx-DKOfLqne.cjs +1 -0
- package/clsx-jbLnTBqA.js +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/Heading.d.ts +6 -0
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BLPblar-.js → index-DEx4upZl.js} +19 -19
- package/{index-DSFSh2sC.cjs → index-hURPlN0u.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +126 -127
- package/inertValue-BWmZ1afe.cjs +1 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/{mergeProps-BSsN7Bgk.js → mergeProps-Ct8m5-xW.js} +1 -1
- package/{mergeProps-JhcJ7uJL.cjs → mergeProps-Du5A8xi8.cjs} +1 -1
- package/modal/Dialog.d.ts +16 -3
- package/modal/index.cjs +1 -1
- package/modal/index.d.ts +1 -1
- package/modal/index.js +2 -2
- package/package.json +2 -2
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/TextField.d.ts +2 -2
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-D6iUB8cN.js → useButton-A-VOfwuT.js} +3 -3
- package/{useButton-R8-i3HLC.cjs → useButton-Bh3duhYL.cjs} +1 -1
- package/{useDateFormatter-BJ1ZyaH1.js → useDateFormatter-CxlJTAki.js} +2 -2
- package/{useDateFormatter-2B0vgHc-.cjs → useDateFormatter-D0bVjgIb.cjs} +1 -1
- package/{useDescription-BMuiAqI5.cjs → useDescription-6BYtQxe6.cjs} +1 -1
- package/{useDescription-BLmIkYCq.js → useDescription-BFwQx7Rp.js} +1 -1
- package/useEvent-C125NAue.cjs +1 -0
- package/{useEvent-DpBHTuHJ.js → useEvent-smuTnX4G.js} +1 -1
- package/{useField-DyeD7MLj.cjs → useField-CY4OYE5a.cjs} +1 -1
- package/{useField-BMegM8fA.js → useField-sSWPm-He.js} +2 -2
- package/{useFilter-BFnSe_Eq.js → useFilter-DHcouDzv.js} +1 -1
- package/{useFilter-aoggM85n.cjs → useFilter-DlZLqsJD.cjs} +1 -1
- package/{useFocusRing-BcbYske2.cjs → useFocusRing-Cig5Y0l-.cjs} +1 -1
- package/{useFocusRing-DMo8ctYV.js → useFocusRing-Copf_tx8.js} +2 -2
- package/{useFocusWithin-ClMkhYcq.js → useFocusWithin-BKopz9sr.js} +1 -1
- package/{useFocusWithin-DTnk0e8a.cjs → useFocusWithin-TryC2Kkw.cjs} +1 -1
- package/{useFocusable-DXlMChFC.js → useFocusable-CCh54GIw.js} +14 -14
- package/{useFocusable-CsG-IPuC.cjs → useFocusable-DhdAtEw8.cjs} +1 -1
- package/{useFormValidation-BQIRxgbU.cjs → useFormValidation-BJNizNDf.cjs} +1 -1
- package/{useFormValidation-L0UHvOsP.js → useFormValidation-DdIIVZ5j.js} +2 -2
- package/{useHasTabbableChild-BDaxMsGu.js → useHasTabbableChild-BbgOpdGQ.js} +2 -2
- package/useHasTabbableChild-wH3RCjTd.cjs +1 -0
- package/{useHighlightSelectionDescription-BkEv9Jye.js → useHighlightSelectionDescription-BL_02EKv.js} +5 -5
- package/{useHighlightSelectionDescription-CQaG611l.cjs → useHighlightSelectionDescription-D6F-YO6b.cjs} +1 -1
- package/{useHover-DGAmG7jt.cjs → useHover-eU40luVI.cjs} +1 -1
- package/{useHover-D6bNIkU0.js → useHover-zCCNtF6g.js} +2 -2
- package/{useLabels-CvUk-yS3.cjs → useLabels-B5pmat1S.cjs} +1 -1
- package/{useLabels-Kmq5JCp_.js → useLabels-D24on06F.js} +1 -1
- package/{useListState-D2IEg6_e.cjs → useListState-BdC308Sq.cjs} +1 -1
- package/{useListState-pixYqSLl.js → useListState-D2yPZrFZ.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/{usePress-DMUpU0GU.js → usePress-4yZ5a87p.js} +15 -15
- package/{usePress-CicXV7UO.cjs → usePress-Dj3t18Pf.cjs} +2 -2
- package/{useSingleSelectListState-CwWK_Dx2.cjs → useSingleSelectListState-b_SPhYG4.cjs} +1 -1
- package/{useSingleSelectListState-BlvpP8y-.js → useSingleSelectListState-lyai-bC_.js} +1 -1
- package/{useTextField-Cxpfu0U3.cjs → useTextField-DUEQl6sr.cjs} +1 -1
- package/{useTextField-BC5X_AO_.js → useTextField-DjxrmW7d.js} +7 -7
- package/useToggleState-DaxmInOW.cjs +1 -0
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/utils/clsx.d.ts +8 -0
- package/{utils-Cpcjg55U.js → utils-BMBoiyL7.js} +10 -10
- package/{utils-DFIwp4PB.js → utils-CrT5PVBA.js} +1 -1
- package/{utils-__vrf9VZ.cjs → utils-I-LGXGYH.cjs} +1 -1
- package/{utils-CMHKYKlz.cjs → utils-cBvgilDa.cjs} +1 -1
- package/AccordionItem-Bq8nUKg4.cjs +0 -1
- package/BadgeContainer-su0iCJKy.cjs +0 -1
- package/Button.module-BT9wZenr.cjs +0 -1
- package/Button.module-CGIVvzVm.js +0 -14
- package/Card-D2UbrhDW.js +0 -131
- package/Card-UolcSL5O.cjs +0 -1
- package/Checkbox-dtZfsSfx.cjs +0 -1
- package/DateField-B5dlDwdH.cjs +0 -1
- package/DateField-CEpRn4wR.js +0 -47
- package/Dialog-B1HuzqOX.js +0 -240
- package/Dialog-doGnVsJJ.cjs +0 -1
- package/FieldError-Cornph2A.cjs +0 -1
- package/FieldError-DdvFyIf4.js +0 -48
- package/Heading-BQlmb5Tm.js +0 -46
- package/Heading-D3FR_KXb.cjs +0 -1
- package/InfoBanner-C82hcpzj.cjs +0 -1
- package/InfoBanner-Dz_0wVSa.js +0 -83
- package/Label-06gf6yKQ.cjs +0 -1
- package/Layout-DlE30BHE.cjs +0 -16
- package/Link-ePZ3nrAW.cjs +0 -6
- package/LinkButton-CJyZh3BS.js +0 -69
- package/LinkButton-Cw73pOM2.cjs +0 -6
- package/Popover-DIq3kp6B.cjs +0 -1
- package/PressResponder-DbnYqwGB.cjs +0 -1
- package/ProgressBar-DRhXkSE6.js +0 -53
- package/ProgressBar-i7almbvK.cjs +0 -1
- package/RangeCalendar-KcJooXYf.cjs +0 -6
- package/SearchField-BA-X9dzb.cjs +0 -6
- package/Select-1QuVY4f5.cjs +0 -1
- package/Separator-Cfv2pbWf.cjs +0 -1
- package/Skeleton-Iovq135_.js +0 -35
- package/Skeleton-MaBUPqhT.cjs +0 -1
- package/Spinner-BZ7i01Kt.js +0 -47
- package/Text-CmlsaWMA.js +0 -32
- package/TextArea-B4BZUoJp.cjs +0 -1
- package/TextArea-Df1fR5R4.js +0 -124
- package/TextField.module-CH39P8ZE.js +0 -13
- package/TextField.module-gJ-ruFra.cjs +0 -1
- package/inertValue-B3AFhVG4.cjs +0 -1
- package/useEvent-3ZO5TPSH.cjs +0 -1
- package/useHasTabbableChild-CJcLnolh.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-MhzEsCkX.cjs +0 -1
- package/useToggleState-SqDyNfRi.cjs +0 -1
- package/utils/storybook.d.ts +0 -5
- package/utils/test.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("react"),u=require("./context-
|
|
1
|
+
"use strict";const c=require("react"),u=require("./context-UOrD6Zxk.cjs"),f=require("./SelectionManager-FYrDfe5v.cjs"),h=require("./scrollIntoView-DRSoJp89.cjs"),g=c.createContext(null),d=c.createContext(null);let s=new Map;function y(n){let{locale:e}=u.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),t=e+(n?Object.entries(n).sort((l,o)=>l[0]<o[0]?-1:1).join():"");if(s.has(t))return s.get(t);let i=new Intl.Collator(e,n);return s.set(t,i),i}class a{getItemRect(e){let t=this.ref.current;if(!t)return null;let i=e!=null?f.$feb5ffebff200149$export$c3d8340acf92597f(this.ref,e):null;if(!i)return null;let l=t.getBoundingClientRect(),o=i.getBoundingClientRect();return{x:o.left-l.left+t.scrollLeft,y:o.top-l.top+t.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;var t,i;return{width:(t=e==null?void 0:e.scrollWidth)!==null&&t!==void 0?t:0,height:(i=e==null?void 0:e.scrollHeight)!==null&&i!==void 0?i:0}}getVisibleRect(){let e=this.ref.current;var t,i,l,o;return{x:(t=e==null?void 0:e.scrollLeft)!==null&&t!==void 0?t:0,y:(i=e==null?void 0:e.scrollTop)!==null&&i!==void 0?i:0,width:(l=e==null?void 0:e.offsetWidth)!==null&&l!==void 0?l:0,height:(o=e==null?void 0:e.offsetHeight)!==null&&o!==void 0?o:0}}constructor(e){this.ref=e}}class K{isDisabled(e){var t;return this.disabledBehavior==="all"&&(((t=e.props)===null||t===void 0?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let i=e;for(;i!=null;){let l=this.collection.getItem(i);if((l==null?void 0:l.type)==="item"&&!this.isDisabled(l))return i;i=t(i)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,i=>this.collection.getKeyAfter(i))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,i=>this.collection.getKeyBefore(i))}findKey(e,t,i){let l=e,o=this.layoutDelegate.getItemRect(l);if(!o||l==null)return null;let r=o;do{if(l=t(l),l==null)break;o=this.layoutDelegate.getItemRect(l)}while(o&&i(r,o)&&l!=null);return l}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,t=>this.getNextKey(t),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,t=>this.getPreviousKey(t),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[t](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,i=>this.getNextColumn(i,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let t=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[t](i))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,i=>this.getNextColumn(i,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,t=>this.collection.getKeyAfter(t))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,t=>this.collection.getKeyBefore(t))}getKeyPageAbove(e){let t=this.ref.current,i=this.layoutDelegate.getItemRect(e);if(!i)return null;if(t&&!h.$cc38e7bd3fc7b213$export$2bb74740c4e19def(t))return this.getFirstKey();let l=e;if(this.orientation==="horizontal"){let o=Math.max(0,i.x+i.width-this.layoutDelegate.getVisibleRect().width);for(;i&&i.x>o&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let o=Math.max(0,i.y+i.height-this.layoutDelegate.getVisibleRect().height);for(;i&&i.y>o&&l!=null;)l=this.getKeyAbove(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,i=this.layoutDelegate.getItemRect(e);if(!i)return null;if(t&&!h.$cc38e7bd3fc7b213$export$2bb74740c4e19def(t))return this.getLastKey();let l=e;if(this.orientation==="horizontal"){let o=Math.min(this.layoutDelegate.getContentSize().width,i.y-i.width+this.layoutDelegate.getVisibleRect().width);for(;i&&i.x<o&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}else{let o=Math.min(this.layoutDelegate.getContentSize().height,i.y-i.height+this.layoutDelegate.getVisibleRect().height);for(;i&&i.y<o&&l!=null;)l=this.getKeyBelow(l),i=l==null?null:this.layoutDelegate.getItemRect(l)}return l??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let i=this.collection,l=t||this.getFirstKey();for(;l!=null;){let o=i.getItem(l);if(!o)return null;let r=o.textValue.slice(0,e.length);if(o.textValue&&this.collator.compare(r,e)===0)return l;l=this.getNextKey(l)}return null}constructor(...e){if(e.length===1){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new a(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new a(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}exports.$2a25aae57d74318e$export$a05409b8bb224a5a=K;exports.$325a3faab7a68acd$export$a16aca283550c30d=y;exports.$657e4dc4a6e88df0$export$8f5ed9ff9f511381=a;exports.$8e6cc465cc68f603$export$698f465ec27e93df=d;exports.$8e6cc465cc68f603$export$b0d3ecf7112093a7=g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext as u } from "react";
|
|
2
|
-
import { $ as c } from "./context-
|
|
3
|
-
import { c as g } from "./SelectionManager-
|
|
2
|
+
import { $ as c } from "./context-Dl_saGB6.js";
|
|
3
|
+
import { c as g } from "./SelectionManager-D-4ThfPZ.js";
|
|
4
4
|
import { $ as a } from "./scrollIntoView-ClEACHUk.js";
|
|
5
5
|
const m = /* @__PURE__ */ u(null), b = /* @__PURE__ */ u(null);
|
|
6
6
|
let s = /* @__PURE__ */ new Map();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Logo.css');const c=require("react/jsx-runtime"),h=require("./clsx-
|
|
1
|
+
"use strict";require('./assets/Logo.css');const c=require("react/jsx-runtime"),h=require("./clsx-DKOfLqne.cjs"),v=require("./useLocalizedStringFormatter-BSac43NO.cjs"),i="_container_191fy_1",x="_noPadding_191fy_6",g="_logo_191fy_10",m="_primary_191fy_15",p="_dark_191fy_23",M="_xSmall_191fy_31",f="_small_191fy_35",Z="_large_191fy_39",l={container:i,noPadding:x,logo:g,primary:m,dark:p,xSmall:M,small:f,large:Z},u={logotype:"Logotype of the Swedish Migration Agency"},j={logotype:"Migrationsverkets logotyp"},_={en:u,sv:j},y=({primary:o=!0,size:s="medium",padding:t=!0,className:d,...n})=>{const e=h.clsx(l.logo,o?l.primary:l.dark,s==="x-small"&&l.xSmall,s==="medium"&&l.medium,s==="large"&&l.large,s==="small"&&l.small),a=v.useLocalizedStringFormatter(_),r=()=>s==="x-small"?c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:e,role:"img","aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:c.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):c.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:e,"aria-hidden":"false",focusable:"false","aria-label":a.format("logotype"),children:[c.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),c.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),c.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),c.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),c.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),c.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),c.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),c.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),c.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),c.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),c.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return c.jsx("div",{className:h.clsx(l.container,t===!1&&l.noPadding,d),...n,children:c.jsx(r,{})})};exports.Logo=y;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as c, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import { c as o } from "./clsx-
|
|
3
|
-
import { u as i } from "./useLocalizedStringFormatter-
|
|
4
|
-
import './assets/Logo.css';const m = "
|
|
2
|
+
import { c as o } from "./clsx-jbLnTBqA.js";
|
|
3
|
+
import { u as i } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
4
|
+
import './assets/Logo.css';const m = "_container_191fy_1", p = "_noPadding_191fy_6", g = "_logo_191fy_10", f = "_primary_191fy_15", M = "_dark_191fy_23", Z = "_xSmall_191fy_31", _ = "_small_191fy_35", u = "_large_191fy_39", l = {
|
|
5
5
|
container: m,
|
|
6
6
|
noPadding: p,
|
|
7
7
|
logo: g,
|
|
8
|
-
primary:
|
|
9
|
-
dark:
|
|
10
|
-
xSmall:
|
|
11
|
-
small:
|
|
12
|
-
large:
|
|
13
|
-
},
|
|
14
|
-
en:
|
|
15
|
-
sv:
|
|
8
|
+
primary: f,
|
|
9
|
+
dark: M,
|
|
10
|
+
xSmall: Z,
|
|
11
|
+
small: _,
|
|
12
|
+
large: u
|
|
13
|
+
}, y = { logotype: "Logotype of the Swedish Migration Agency" }, x = { logotype: "Migrationsverkets logotyp" }, w = {
|
|
14
|
+
en: y,
|
|
15
|
+
sv: x
|
|
16
16
|
}, L = ({
|
|
17
17
|
primary: t = !0,
|
|
18
18
|
size: a = "medium",
|
|
@@ -20,23 +20,23 @@ import './assets/Logo.css';const m = "_container_1eax7_1", p = "_noPadding_1eax7
|
|
|
20
20
|
className: d,
|
|
21
21
|
...n
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
23
|
+
const h = o(
|
|
24
24
|
l.logo,
|
|
25
25
|
t ? l.primary : l.dark,
|
|
26
26
|
a === "x-small" && l.xSmall,
|
|
27
27
|
a === "medium" && l.medium,
|
|
28
28
|
a === "large" && l.large,
|
|
29
29
|
a === "small" && l.small
|
|
30
|
-
),
|
|
30
|
+
), e = i(w), r = () => a === "x-small" ? /* @__PURE__ */ c(
|
|
31
31
|
"svg",
|
|
32
32
|
{
|
|
33
33
|
xmlns: "http://www.w3.org/2000/svg",
|
|
34
34
|
viewBox: "0 0 100 92",
|
|
35
|
-
className:
|
|
35
|
+
className: h,
|
|
36
36
|
role: "img",
|
|
37
37
|
"aria-hidden": "false",
|
|
38
38
|
focusable: "false",
|
|
39
|
-
"aria-label":
|
|
39
|
+
"aria-label": e.format("logotype"),
|
|
40
40
|
children: /* @__PURE__ */ c("path", { d: "M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z" })
|
|
41
41
|
}
|
|
42
42
|
) : /* @__PURE__ */ v(
|
|
@@ -45,10 +45,10 @@ import './assets/Logo.css';const m = "_container_1eax7_1", p = "_noPadding_1eax7
|
|
|
45
45
|
role: "img",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
viewBox: "0 0 112 40",
|
|
48
|
-
className:
|
|
48
|
+
className: h,
|
|
49
49
|
"aria-hidden": "false",
|
|
50
50
|
focusable: "false",
|
|
51
|
-
"aria-label":
|
|
51
|
+
"aria-label": e.format("logotype"),
|
|
52
52
|
children: [
|
|
53
53
|
/* @__PURE__ */ c("path", { d: "M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z" }),
|
|
54
54
|
/* @__PURE__ */ c("path", { d: "M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z" }),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as Z } from "./mergeProps-
|
|
1
|
+
import { $ as Z } from "./mergeProps-Ct8m5-xW.js";
|
|
2
2
|
import { flushSync as ge } from "react-dom";
|
|
3
3
|
import $e, { useEffect as Q, useState as D, useCallback as Y, useRef as te, useContext as he, createContext as se, forwardRef as be } from "react";
|
|
4
|
-
import { i as xe } from "./useHover-
|
|
4
|
+
import { i as xe } from "./useHover-zCCNtF6g.js";
|
|
5
5
|
import { $ as J } from "./number-BE8InLgI.js";
|
|
6
|
-
import { $ as we } from "./context-
|
|
6
|
+
import { $ as we } from "./context-Dl_saGB6.js";
|
|
7
7
|
import { $ as Ee } from "./useControlledState-u436Wbp1.js";
|
|
8
|
-
import { $ as Pe, a as Ce } from "./utils-
|
|
8
|
+
import { $ as Pe, a as Ce } from "./utils-BMBoiyL7.js";
|
|
9
9
|
import { $ as Le } from "./filterDOMProps-wsa9OcNI.js";
|
|
10
10
|
function Re() {
|
|
11
11
|
return typeof window.ResizeObserver < "u";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const X=require("./mergeProps-JhcJ7uJL.cjs"),me=require("react-dom"),w=require("react"),ve=require("./useHover-DGAmG7jt.cjs"),J=require("./number-E0x3H9cL.cjs"),ge=require("./context-Df3XbgBG.cjs"),be=require("./useControlledState-D0L6S_5r.cjs"),ee=require("./utils-CMHKYKlz.cjs"),he=require("./filterDOMProps-RRlKPKX0.cjs");function xe(){return typeof window.ResizeObserver<"u"}function K(t){const{ref:e,box:l,onResize:r}=t;w.useEffect(()=>{let o=e==null?void 0:e.current;if(o)if(xe()){const n=new window.ResizeObserver(c=>{c.length&&r()});return n.observe(o,{box:l}),()=>{o&&n.unobserve(o)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,e,l])}function we(t,e=!0){let[l,r]=w.useState(!0),o=l&&e;return X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(o&&t.current&&"getAnimations"in t.current)for(let n of t.current.getAnimations())n instanceof CSSTransition&&n.cancel()},[t,o]),ae(t,o,w.useCallback(()=>r(!1),[])),o}function Ee(t,e){let[l,r]=w.useState(e?"open":"closed");switch(l){case"open":e||r("exiting");break;case"closed":case"exiting":e&&r("open");break}let o=l==="exiting";return ae(t,o,w.useCallback(()=>{r(n=>n==="exiting"?"closed":n)},[])),o}function ae(t,e,l){X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){l();return}let r=t.current.getAnimations();if(r.length===0){l();return}let o=!1;return Promise.all(r.map(n=>n.finished)).then(()=>{o||me.flushSync(()=>{l()})}).catch(()=>{}),()=>{o=!0}}},[t,e,l])}const M={top:"top",bottom:"top",left:"left",right:"left"},j={top:"bottom",bottom:"top",left:"right",right:"left"},Pe={top:"left",left:"top"},Q={top:"height",left:"width"},ce={width:"totalWidth",height:"totalHeight"},Z={};let C=typeof document<"u"?window.visualViewport:null;function te(t){let e=0,l=0,r=0,o=0,n=0,c=0,i={};var b;let d=((b=C==null?void 0:C.scale)!==null&&b!==void 0?b:1)>1;if(t.tagName==="BODY"){let u=document.documentElement;r=u.clientWidth,o=u.clientHeight;var p;e=(p=C==null?void 0:C.width)!==null&&p!==void 0?p:r;var m;l=(m=C==null?void 0:C.height)!==null&&m!==void 0?m:o,i.top=u.scrollTop||t.scrollTop,i.left=u.scrollLeft||t.scrollLeft,C&&(n=C.offsetTop,c=C.offsetLeft)}else({width:e,height:l,top:n,left:c}=Y(t,!1)),i.top=t.scrollTop,i.left=t.scrollLeft,r=e,o=l;if(ve.$c87311424ea30a05$export$78551043582a6a98()&&(t.tagName==="BODY"||t.tagName==="HTML")&&d){i.top=0,i.left=0;var $;n=($=C==null?void 0:C.pageTop)!==null&&$!==void 0?$:0;var s;c=(s=C==null?void 0:C.pageLeft)!==null&&s!==void 0?s:0}return{width:e,height:l,totalWidth:r,totalHeight:o,scroll:i,top:n,left:c}}function Ce(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function oe(t,e,l,r,o,n,c){var i;let b=(i=o.scroll[t])!==null&&i!==void 0?i:0,d=r[Q[t]],p=r.scroll[M[t]]+n,m=d+r.scroll[M[t]]-n,$=e-b+c[t]-r[M[t]],s=e-b+l+c[t]-r[M[t]];return $<p?p-$:s>m?Math.max(m-s,p-$):0}function Le(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function le(t){if(Z[t])return Z[t];let[e,l]=t.split(" "),r=M[e]||"right",o=Pe[r];M[l]||(l="center");let n=Q[r],c=Q[o];return Z[t]={placement:e,crossPlacement:l,axis:r,crossAxis:o,size:n,crossSize:c},Z[t]}function W(t,e,l,r,o,n,c,i,b,d){let{placement:p,crossPlacement:m,axis:$,crossAxis:s,size:u,crossSize:v}=r,f={};var R;f[s]=(R=t[s])!==null&&R!==void 0?R:0;var a,E,x,T;m==="center"?f[s]+=(((a=t[v])!==null&&a!==void 0?a:0)-((E=l[v])!==null&&E!==void 0?E:0))/2:m!==s&&(f[s]+=((x=t[v])!==null&&x!==void 0?x:0)-((T=l[v])!==null&&T!==void 0?T:0)),f[s]+=n;const g=t[s]-l[v]+b+d,S=t[s]+t[v]-b-d;if(f[s]=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(f[s],g,S),p===$){const k=i?c[u]:e[ce[u]];f[j[$]]=Math.floor(k-t[$]+o)}else f[$]=Math.floor(t[$]+t[u]+o);return f}function Re(t,e,l,r,o,n,c,i){const b=r?l.height:e[ce.height];var d;let p=t.top!=null?l.top+t.top:l.top+(b-((d=t.bottom)!==null&&d!==void 0?d:0)-c);var m,$,s,u,v,f;let R=i!=="top"?Math.max(0,e.height+e.top+((m=e.scroll.top)!==null&&m!==void 0?m:0)-p-((($=o.top)!==null&&$!==void 0?$:0)+((s=o.bottom)!==null&&s!==void 0?s:0)+n)):Math.max(0,p+c-(e.top+((u=e.scroll.top)!==null&&u!==void 0?u:0))-(((v=o.top)!==null&&v!==void 0?v:0)+((f=o.bottom)!==null&&f!==void 0?f:0)+n));return Math.min(e.height-n*2,R)}function re(t,e,l,r,o,n){let{placement:c,axis:i,size:b}=n;var d,p;if(c===i)return Math.max(0,l[i]-t[i]-((d=t.scroll[i])!==null&&d!==void 0?d:0)+e[i]-((p=r[i])!==null&&p!==void 0?p:0)-r[j[i]]-o);var m;return Math.max(0,t[b]+t[i]+t.scroll[i]-e[i]-l[i]-l[b]-((m=r[i])!==null&&m!==void 0?m:0)-r[j[i]]-o)}function Te(t,e,l,r,o,n,c,i,b,d,p,m,$,s,u,v){let f=le(t),{size:R,crossAxis:a,crossSize:E,placement:x,crossPlacement:T}=f,g=W(e,i,l,f,p,m,d,$,u,v),S=p,k=re(i,d,e,o,n+p,f);if(c&&r[R]>k){let G=le(`${j[x]} ${T}`),$e=W(e,i,l,G,p,m,d,$,u,v);re(i,d,e,o,n+p,G)>k&&(f=G,g=$e,S=p)}let _="bottom";f.axis==="top"?f.placement==="top"?_="top":f.placement==="bottom"&&(_="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?_="bottom":f.crossPlacement==="bottom"&&(_="top"));let y=oe(a,g[a],l[E],i,b,n,d);g[a]+=y;let z=Re(g,i,d,$,o,n,l.height,_);s&&s<z&&(z=s),l.height=Math.min(l.height,z),g=W(e,i,l,f,S,m,d,$,u,v),y=oe(a,g[a],l[E],i,b,n,d),g[a]+=y;let P={},L=e[a]-g[a]-o[M[a]],O=L+.5*e[E];const B=u/2+v;var A,N,F,I;const H=M[a]==="left"?((A=o.left)!==null&&A!==void 0?A:0)+((N=o.right)!==null&&N!==void 0?N:0):((F=o.top)!==null&&F!==void 0?F:0)+((I=o.bottom)!==null&&I!==void 0?I:0),q=l[E]-H-u/2-v,U=e[a]+u/2-(g[a]+o[M[a]]),de=e[a]+e[E]-u/2-(g[a]+o[M[a]]),ue=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(O,U,de);P[a]=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(ue,B,q),{placement:x,crossPlacement:T}=f,u?L=P[a]:T==="right"?L+=e[E]:T==="center"&&(L+=e[E]/2);let V=x==="left"||x==="top"?l[R]:0,pe={x:x==="top"||x==="bottom"?L:V,y:x==="left"||x==="right"?L:V};return{position:g,maxHeight:z,arrowOffsetLeft:P.left,arrowOffsetTop:P.top,placement:x,triggerAnchorPoint:pe}}function Se(t){let{placement:e,targetNode:l,overlayNode:r,scrollNode:o,padding:n,shouldFlip:c,boundaryElement:i,offset:b,crossOffset:d,maxHeight:p,arrowSize:m=0,arrowBoundaryOffset:$=0}=t,s=r instanceof HTMLElement?Ae(r):document.documentElement,u=s===document.documentElement;const v=window.getComputedStyle(s).position;let f=!!v&&v!=="static",R=u?Y(l,!1):ne(l,s,!1);if(!u){let{marginTop:P,marginLeft:L}=window.getComputedStyle(l);R.top+=parseInt(P,10)||0,R.left+=parseInt(L,10)||0}let a=Y(r,!0),E=Le(r);var x,T;a.width+=((x=E.left)!==null&&x!==void 0?x:0)+((T=E.right)!==null&&T!==void 0?T:0);var g,S;a.height+=((g=E.top)!==null&&g!==void 0?g:0)+((S=E.bottom)!==null&&S!==void 0?S:0);let k=Ce(o),_=te(i),y=te(s),z=i.tagName==="BODY"?Y(s,!1):ne(s,i,!1);return s.tagName==="HTML"&&i.tagName==="BODY"&&(y.scroll.top=0,y.scroll.left=0),Te(e,R,a,k,E,n,c,_,y,z,b,d,f,p,m,$)}function D(t,e){let{top:l,left:r,width:o,height:n}=t.getBoundingClientRect();return e&&t instanceof t.ownerDocument.defaultView.HTMLElement&&(o=t.offsetWidth,n=t.offsetHeight),{top:l,left:r,width:o,height:n}}function Y(t,e){let{top:l,left:r,width:o,height:n}=D(t,e),{scrollTop:c,scrollLeft:i,clientTop:b,clientLeft:d}=document.documentElement;return{top:l+c-b,left:r+i-d,width:o,height:n}}function ne(t,e,l){let r=window.getComputedStyle(t),o;if(r.position==="fixed")o=D(t,l);else{o=Y(t,l);let n=Y(e,l),c=window.getComputedStyle(e);n.top+=(parseInt(c.borderTopWidth,10)||0)-e.scrollTop,n.left+=(parseInt(c.borderLeftWidth,10)||0)-e.scrollLeft,o.top-=n.top,o.left-=n.left}return o.top-=parseInt(r.marginTop,10)||0,o.left-=parseInt(r.marginLeft,10)||0,o}function Ae(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!ie(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!ie(e);)e=e.parentElement;return e||document.documentElement}function ie(t){let e=window.getComputedStyle(t);return e.transform!=="none"||/transform|perspective/.test(e.willChange)||e.filter!=="none"||e.contain==="paint"||"backdropFilter"in e&&e.backdropFilter!=="none"||"WebkitBackdropFilter"in e&&e.WebkitBackdropFilter!=="none"}const se=new WeakMap;function He(t){let{triggerRef:e,isOpen:l,onClose:r}=t;w.useEffect(()=>{if(!l||r===null)return;let o=n=>{let c=n.target;if(!e.current||c instanceof Node&&!c.contains(e.current)||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement)return;let i=r||se.get(e.current);i&&i()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[l,r,e])}let h=typeof document<"u"?window.visualViewport:null;function _e(t){let{direction:e}=ge.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{arrowSize:l,targetRef:r,overlayRef:o,arrowRef:n,scrollRef:c=o,placement:i="bottom",containerPadding:b=12,shouldFlip:d=!0,boundaryElement:p=typeof document<"u"?document.body:null,offset:m=0,crossOffset:$=0,shouldUpdatePosition:s=!0,isOpen:u=!0,onClose:v,maxHeight:f,arrowBoundaryOffset:R=0}=t,[a,E]=w.useState(null),x=[s,i,o.current,r.current,n==null?void 0:n.current,c.current,b,d,p,m,$,u,e,f,R,l],T=w.useRef(h==null?void 0:h.scale);w.useEffect(()=>{u&&(T.current=h==null?void 0:h.scale)},[u]);let g=w.useCallback(()=>{if(s===!1||!u||!o.current||!r.current||!p||(h==null?void 0:h.scale)!==T.current)return;let P=null;if(c.current&&c.current.contains(document.activeElement)){var L;let H=(L=document.activeElement)===null||L===void 0?void 0:L.getBoundingClientRect(),q=c.current.getBoundingClientRect();var O;if(P={type:"top",offset:((O=H==null?void 0:H.top)!==null&&O!==void 0?O:0)-q.top},P.offset>q.height/2){P.type="bottom";var B;P.offset=((B=H==null?void 0:H.bottom)!==null&&B!==void 0?B:0)-q.bottom}}let A=o.current;if(!f&&o.current){var N;A.style.top="0px",A.style.bottom="";var F;A.style.maxHeight=((F=(N=window.visualViewport)===null||N===void 0?void 0:N.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let I=Se({placement:ze(i,e),overlayNode:o.current,targetNode:r.current,scrollNode:c.current||o.current,padding:b,shouldFlip:d,boundaryElement:p,offset:m,crossOffset:$,maxHeight:f,arrowSize:l??(n!=null&&n.current?D(n.current,!0).width:0),arrowBoundaryOffset:R});if(I.position){if(A.style.top="",A.style.bottom="",A.style.left="",A.style.right="",Object.keys(I.position).forEach(H=>A.style[H]=I.position[H]+"px"),A.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",P&&document.activeElement&&c.current){let H=document.activeElement.getBoundingClientRect(),q=c.current.getBoundingClientRect(),U=H[P.type]-q[P.type];c.current.scrollTop+=U-P.offset}E(I)}},x);X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(g,x),ye(g),K({ref:o,onResize:g}),K({ref:r,onResize:g});let S=w.useRef(!1);X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let P,L=()=>{S.current=!0,clearTimeout(P),P=setTimeout(()=>{S.current=!1},500),g()},O=()=>{S.current&&L()};return h==null||h.addEventListener("resize",L),h==null||h.addEventListener("scroll",O),()=>{h==null||h.removeEventListener("resize",L),h==null||h.removeEventListener("scroll",O)}},[g]);let k=w.useCallback(()=>{S.current||v==null||v()},[v,S]);He({triggerRef:r,isOpen:u,onClose:v&&k});var _,y,z;return{overlayProps:{style:{position:a?"absolute":"fixed",top:a?void 0:0,left:a?void 0:0,zIndex:1e5,...a==null?void 0:a.position,maxHeight:(_=a==null?void 0:a.maxHeight)!==null&&_!==void 0?_:"100vh"}},placement:(y=a==null?void 0:a.placement)!==null&&y!==void 0?y:null,triggerAnchorPoint:(z=a==null?void 0:a.triggerAnchorPoint)!==null&&z!==void 0?z:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:a==null?void 0:a.arrowOffsetLeft,top:a==null?void 0:a.arrowOffsetTop}},updatePosition:g}}function ye(t){X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function ze(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const Ie=w.createContext({});function Me(){var t;return(t=w.useContext(Ie))!==null&&t!==void 0?t:{}}function ke(t){let[e,l]=be.$458b0a5536c1a7cf$export$40bfa8c7b0832715(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const r=w.useCallback(()=>{l(!0)},[l]),o=w.useCallback(()=>{l(!1)},[l]),n=w.useCallback(()=>{l(!e)},[l,e]);return{isOpen:e,setOpen:l,open:r,close:o,toggle:n}}const fe=w.createContext({placement:"bottom"}),Oe=w.forwardRef(function(e,l){[e,l]=ee.$64fa3d84918910a7$export$29f1550f4b0d4415(e,l,fe);let r=e.placement,o={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(o[r]="100%");let n=ee.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});n.style&&Object.keys(n.style).forEach(i=>n.style[i]===void 0&&delete n.style[i]);let c=he.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return w.createElement("div",{...c,...n,style:{...o,...n.style},ref:l,"data-placement":r})});exports.$2a41e45df1593e64$export$d39e1813b3bdd0e1=_e;exports.$44f671af83e7d9e0$export$2de4954e8ae13b9f=fe;exports.$44f671af83e7d9e0$export$746d02f47f4d381=Oe;exports.$96b38030c423d352$export$9fc1347d4195ccb3=Me;exports.$9daab02d461809db$export$683480f191c0e3ea=K;exports.$d3f049242431219c$export$45fda7c47f93fd48=Ee;exports.$d3f049242431219c$export$6d3443f2c48bfc20=we;exports.$dd149f63282afbbf$export$f6211563215e3b37=se;exports.$fc909762b330b746$export$61c6a8c84e605fb6=ke;
|
|
1
|
+
"use strict";const X=require("./mergeProps-Du5A8xi8.cjs"),me=require("react-dom"),w=require("react"),ve=require("./useHover-eU40luVI.cjs"),J=require("./number-E0x3H9cL.cjs"),ge=require("./context-UOrD6Zxk.cjs"),be=require("./useControlledState-D0L6S_5r.cjs"),ee=require("./utils-cBvgilDa.cjs"),he=require("./filterDOMProps-RRlKPKX0.cjs");function xe(){return typeof window.ResizeObserver<"u"}function K(t){const{ref:e,box:l,onResize:r}=t;w.useEffect(()=>{let o=e==null?void 0:e.current;if(o)if(xe()){const n=new window.ResizeObserver(c=>{c.length&&r()});return n.observe(o,{box:l}),()=>{o&&n.unobserve(o)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,e,l])}function we(t,e=!0){let[l,r]=w.useState(!0),o=l&&e;return X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(o&&t.current&&"getAnimations"in t.current)for(let n of t.current.getAnimations())n instanceof CSSTransition&&n.cancel()},[t,o]),ae(t,o,w.useCallback(()=>r(!1),[])),o}function Ee(t,e){let[l,r]=w.useState(e?"open":"closed");switch(l){case"open":e||r("exiting");break;case"closed":case"exiting":e&&r("open");break}let o=l==="exiting";return ae(t,o,w.useCallback(()=>{r(n=>n==="exiting"?"closed":n)},[])),o}function ae(t,e,l){X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){l();return}let r=t.current.getAnimations();if(r.length===0){l();return}let o=!1;return Promise.all(r.map(n=>n.finished)).then(()=>{o||me.flushSync(()=>{l()})}).catch(()=>{}),()=>{o=!0}}},[t,e,l])}const M={top:"top",bottom:"top",left:"left",right:"left"},j={top:"bottom",bottom:"top",left:"right",right:"left"},Pe={top:"left",left:"top"},Q={top:"height",left:"width"},ce={width:"totalWidth",height:"totalHeight"},Z={};let C=typeof document<"u"?window.visualViewport:null;function te(t){let e=0,l=0,r=0,o=0,n=0,c=0,i={};var b;let d=((b=C==null?void 0:C.scale)!==null&&b!==void 0?b:1)>1;if(t.tagName==="BODY"){let u=document.documentElement;r=u.clientWidth,o=u.clientHeight;var p;e=(p=C==null?void 0:C.width)!==null&&p!==void 0?p:r;var m;l=(m=C==null?void 0:C.height)!==null&&m!==void 0?m:o,i.top=u.scrollTop||t.scrollTop,i.left=u.scrollLeft||t.scrollLeft,C&&(n=C.offsetTop,c=C.offsetLeft)}else({width:e,height:l,top:n,left:c}=Y(t,!1)),i.top=t.scrollTop,i.left=t.scrollLeft,r=e,o=l;if(ve.$c87311424ea30a05$export$78551043582a6a98()&&(t.tagName==="BODY"||t.tagName==="HTML")&&d){i.top=0,i.left=0;var $;n=($=C==null?void 0:C.pageTop)!==null&&$!==void 0?$:0;var s;c=(s=C==null?void 0:C.pageLeft)!==null&&s!==void 0?s:0}return{width:e,height:l,totalWidth:r,totalHeight:o,scroll:i,top:n,left:c}}function Ce(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function oe(t,e,l,r,o,n,c){var i;let b=(i=o.scroll[t])!==null&&i!==void 0?i:0,d=r[Q[t]],p=r.scroll[M[t]]+n,m=d+r.scroll[M[t]]-n,$=e-b+c[t]-r[M[t]],s=e-b+l+c[t]-r[M[t]];return $<p?p-$:s>m?Math.max(m-s,p-$):0}function Le(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function le(t){if(Z[t])return Z[t];let[e,l]=t.split(" "),r=M[e]||"right",o=Pe[r];M[l]||(l="center");let n=Q[r],c=Q[o];return Z[t]={placement:e,crossPlacement:l,axis:r,crossAxis:o,size:n,crossSize:c},Z[t]}function W(t,e,l,r,o,n,c,i,b,d){let{placement:p,crossPlacement:m,axis:$,crossAxis:s,size:u,crossSize:v}=r,f={};var R;f[s]=(R=t[s])!==null&&R!==void 0?R:0;var a,E,x,S;m==="center"?f[s]+=(((a=t[v])!==null&&a!==void 0?a:0)-((E=l[v])!==null&&E!==void 0?E:0))/2:m!==s&&(f[s]+=((x=t[v])!==null&&x!==void 0?x:0)-((S=l[v])!==null&&S!==void 0?S:0)),f[s]+=n;const g=t[s]-l[v]+b+d,T=t[s]+t[v]-b-d;if(f[s]=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(f[s],g,T),p===$){const k=i?c[u]:e[ce[u]];f[j[$]]=Math.floor(k-t[$]+o)}else f[$]=Math.floor(t[$]+t[u]+o);return f}function Re(t,e,l,r,o,n,c,i){const b=r?l.height:e[ce.height];var d;let p=t.top!=null?l.top+t.top:l.top+(b-((d=t.bottom)!==null&&d!==void 0?d:0)-c);var m,$,s,u,v,f;let R=i!=="top"?Math.max(0,e.height+e.top+((m=e.scroll.top)!==null&&m!==void 0?m:0)-p-((($=o.top)!==null&&$!==void 0?$:0)+((s=o.bottom)!==null&&s!==void 0?s:0)+n)):Math.max(0,p+c-(e.top+((u=e.scroll.top)!==null&&u!==void 0?u:0))-(((v=o.top)!==null&&v!==void 0?v:0)+((f=o.bottom)!==null&&f!==void 0?f:0)+n));return Math.min(e.height-n*2,R)}function re(t,e,l,r,o,n){let{placement:c,axis:i,size:b}=n;var d,p;if(c===i)return Math.max(0,l[i]-t[i]-((d=t.scroll[i])!==null&&d!==void 0?d:0)+e[i]-((p=r[i])!==null&&p!==void 0?p:0)-r[j[i]]-o);var m;return Math.max(0,t[b]+t[i]+t.scroll[i]-e[i]-l[i]-l[b]-((m=r[i])!==null&&m!==void 0?m:0)-r[j[i]]-o)}function Se(t,e,l,r,o,n,c,i,b,d,p,m,$,s,u,v){let f=le(t),{size:R,crossAxis:a,crossSize:E,placement:x,crossPlacement:S}=f,g=W(e,i,l,f,p,m,d,$,u,v),T=p,k=re(i,d,e,o,n+p,f);if(c&&r[R]>k){let G=le(`${j[x]} ${S}`),$e=W(e,i,l,G,p,m,d,$,u,v);re(i,d,e,o,n+p,G)>k&&(f=G,g=$e,T=p)}let _="bottom";f.axis==="top"?f.placement==="top"?_="top":f.placement==="bottom"&&(_="bottom"):f.crossAxis==="top"&&(f.crossPlacement==="top"?_="bottom":f.crossPlacement==="bottom"&&(_="top"));let y=oe(a,g[a],l[E],i,b,n,d);g[a]+=y;let z=Re(g,i,d,$,o,n,l.height,_);s&&s<z&&(z=s),l.height=Math.min(l.height,z),g=W(e,i,l,f,T,m,d,$,u,v),y=oe(a,g[a],l[E],i,b,n,d),g[a]+=y;let P={},L=e[a]-g[a]-o[M[a]],O=L+.5*e[E];const B=u/2+v;var A,N,F,I;const H=M[a]==="left"?((A=o.left)!==null&&A!==void 0?A:0)+((N=o.right)!==null&&N!==void 0?N:0):((F=o.top)!==null&&F!==void 0?F:0)+((I=o.bottom)!==null&&I!==void 0?I:0),q=l[E]-H-u/2-v,U=e[a]+u/2-(g[a]+o[M[a]]),de=e[a]+e[E]-u/2-(g[a]+o[M[a]]),ue=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(O,U,de);P[a]=J.$9446cca9a3875146$export$7d15b64cf5a3a4c4(ue,B,q),{placement:x,crossPlacement:S}=f,u?L=P[a]:S==="right"?L+=e[E]:S==="center"&&(L+=e[E]/2);let V=x==="left"||x==="top"?l[R]:0,pe={x:x==="top"||x==="bottom"?L:V,y:x==="left"||x==="right"?L:V};return{position:g,maxHeight:z,arrowOffsetLeft:P.left,arrowOffsetTop:P.top,placement:x,triggerAnchorPoint:pe}}function Te(t){let{placement:e,targetNode:l,overlayNode:r,scrollNode:o,padding:n,shouldFlip:c,boundaryElement:i,offset:b,crossOffset:d,maxHeight:p,arrowSize:m=0,arrowBoundaryOffset:$=0}=t,s=r instanceof HTMLElement?Ae(r):document.documentElement,u=s===document.documentElement;const v=window.getComputedStyle(s).position;let f=!!v&&v!=="static",R=u?Y(l,!1):ne(l,s,!1);if(!u){let{marginTop:P,marginLeft:L}=window.getComputedStyle(l);R.top+=parseInt(P,10)||0,R.left+=parseInt(L,10)||0}let a=Y(r,!0),E=Le(r);var x,S;a.width+=((x=E.left)!==null&&x!==void 0?x:0)+((S=E.right)!==null&&S!==void 0?S:0);var g,T;a.height+=((g=E.top)!==null&&g!==void 0?g:0)+((T=E.bottom)!==null&&T!==void 0?T:0);let k=Ce(o),_=te(i),y=te(s),z=i.tagName==="BODY"?Y(s,!1):ne(s,i,!1);return s.tagName==="HTML"&&i.tagName==="BODY"&&(y.scroll.top=0,y.scroll.left=0),Se(e,R,a,k,E,n,c,_,y,z,b,d,f,p,m,$)}function D(t,e){let{top:l,left:r,width:o,height:n}=t.getBoundingClientRect();return e&&t instanceof t.ownerDocument.defaultView.HTMLElement&&(o=t.offsetWidth,n=t.offsetHeight),{top:l,left:r,width:o,height:n}}function Y(t,e){let{top:l,left:r,width:o,height:n}=D(t,e),{scrollTop:c,scrollLeft:i,clientTop:b,clientLeft:d}=document.documentElement;return{top:l+c-b,left:r+i-d,width:o,height:n}}function ne(t,e,l){let r=window.getComputedStyle(t),o;if(r.position==="fixed")o=D(t,l);else{o=Y(t,l);let n=Y(e,l),c=window.getComputedStyle(e);n.top+=(parseInt(c.borderTopWidth,10)||0)-e.scrollTop,n.left+=(parseInt(c.borderLeftWidth,10)||0)-e.scrollLeft,o.top-=n.top,o.left-=n.left}return o.top-=parseInt(r.marginTop,10)||0,o.left-=parseInt(r.marginLeft,10)||0,o}function Ae(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!ie(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!ie(e);)e=e.parentElement;return e||document.documentElement}function ie(t){let e=window.getComputedStyle(t);return e.transform!=="none"||/transform|perspective/.test(e.willChange)||e.filter!=="none"||e.contain==="paint"||"backdropFilter"in e&&e.backdropFilter!=="none"||"WebkitBackdropFilter"in e&&e.WebkitBackdropFilter!=="none"}const se=new WeakMap;function He(t){let{triggerRef:e,isOpen:l,onClose:r}=t;w.useEffect(()=>{if(!l||r===null)return;let o=n=>{let c=n.target;if(!e.current||c instanceof Node&&!c.contains(e.current)||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement)return;let i=r||se.get(e.current);i&&i()};return window.addEventListener("scroll",o,!0),()=>{window.removeEventListener("scroll",o,!0)}},[l,r,e])}let h=typeof document<"u"?window.visualViewport:null;function _e(t){let{direction:e}=ge.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{arrowSize:l,targetRef:r,overlayRef:o,arrowRef:n,scrollRef:c=o,placement:i="bottom",containerPadding:b=12,shouldFlip:d=!0,boundaryElement:p=typeof document<"u"?document.body:null,offset:m=0,crossOffset:$=0,shouldUpdatePosition:s=!0,isOpen:u=!0,onClose:v,maxHeight:f,arrowBoundaryOffset:R=0}=t,[a,E]=w.useState(null),x=[s,i,o.current,r.current,n==null?void 0:n.current,c.current,b,d,p,m,$,u,e,f,R,l],S=w.useRef(h==null?void 0:h.scale);w.useEffect(()=>{u&&(S.current=h==null?void 0:h.scale)},[u]);let g=w.useCallback(()=>{if(s===!1||!u||!o.current||!r.current||!p||(h==null?void 0:h.scale)!==S.current)return;let P=null;if(c.current&&c.current.contains(document.activeElement)){var L;let H=(L=document.activeElement)===null||L===void 0?void 0:L.getBoundingClientRect(),q=c.current.getBoundingClientRect();var O;if(P={type:"top",offset:((O=H==null?void 0:H.top)!==null&&O!==void 0?O:0)-q.top},P.offset>q.height/2){P.type="bottom";var B;P.offset=((B=H==null?void 0:H.bottom)!==null&&B!==void 0?B:0)-q.bottom}}let A=o.current;if(!f&&o.current){var N;A.style.top="0px",A.style.bottom="";var F;A.style.maxHeight=((F=(N=window.visualViewport)===null||N===void 0?void 0:N.height)!==null&&F!==void 0?F:window.innerHeight)+"px"}let I=Te({placement:ze(i,e),overlayNode:o.current,targetNode:r.current,scrollNode:c.current||o.current,padding:b,shouldFlip:d,boundaryElement:p,offset:m,crossOffset:$,maxHeight:f,arrowSize:l??(n!=null&&n.current?D(n.current,!0).width:0),arrowBoundaryOffset:R});if(I.position){if(A.style.top="",A.style.bottom="",A.style.left="",A.style.right="",Object.keys(I.position).forEach(H=>A.style[H]=I.position[H]+"px"),A.style.maxHeight=I.maxHeight!=null?I.maxHeight+"px":"",P&&document.activeElement&&c.current){let H=document.activeElement.getBoundingClientRect(),q=c.current.getBoundingClientRect(),U=H[P.type]-q[P.type];c.current.scrollTop+=U-P.offset}E(I)}},x);X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(g,x),ye(g),K({ref:o,onResize:g}),K({ref:r,onResize:g});let T=w.useRef(!1);X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let P,L=()=>{T.current=!0,clearTimeout(P),P=setTimeout(()=>{T.current=!1},500),g()},O=()=>{T.current&&L()};return h==null||h.addEventListener("resize",L),h==null||h.addEventListener("scroll",O),()=>{h==null||h.removeEventListener("resize",L),h==null||h.removeEventListener("scroll",O)}},[g]);let k=w.useCallback(()=>{T.current||v==null||v()},[v,T]);He({triggerRef:r,isOpen:u,onClose:v&&k});var _,y,z;return{overlayProps:{style:{position:a?"absolute":"fixed",top:a?void 0:0,left:a?void 0:0,zIndex:1e5,...a==null?void 0:a.position,maxHeight:(_=a==null?void 0:a.maxHeight)!==null&&_!==void 0?_:"100vh"}},placement:(y=a==null?void 0:a.placement)!==null&&y!==void 0?y:null,triggerAnchorPoint:(z=a==null?void 0:a.triggerAnchorPoint)!==null&&z!==void 0?z:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:a==null?void 0:a.arrowOffsetLeft,top:a==null?void 0:a.arrowOffsetTop}},updatePosition:g}}function ye(t){X.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function ze(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const Ie=w.createContext({});function Me(){var t;return(t=w.useContext(Ie))!==null&&t!==void 0?t:{}}function ke(t){let[e,l]=be.$458b0a5536c1a7cf$export$40bfa8c7b0832715(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const r=w.useCallback(()=>{l(!0)},[l]),o=w.useCallback(()=>{l(!1)},[l]),n=w.useCallback(()=>{l(!e)},[l,e]);return{isOpen:e,setOpen:l,open:r,close:o,toggle:n}}const fe=w.createContext({placement:"bottom"}),Oe=w.forwardRef(function(e,l){[e,l]=ee.$64fa3d84918910a7$export$29f1550f4b0d4415(e,l,fe);let r=e.placement,o={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(o[r]="100%");let n=ee.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});n.style&&Object.keys(n.style).forEach(i=>n.style[i]===void 0&&delete n.style[i]);let c=he.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return w.createElement("div",{...c,...n,style:{...o,...n.style},ref:l,"data-placement":r})});exports.$2a41e45df1593e64$export$d39e1813b3bdd0e1=_e;exports.$44f671af83e7d9e0$export$2de4954e8ae13b9f=fe;exports.$44f671af83e7d9e0$export$746d02f47f4d381=Oe;exports.$96b38030c423d352$export$9fc1347d4195ccb3=Me;exports.$9daab02d461809db$export$683480f191c0e3ea=K;exports.$d3f049242431219c$export$45fda7c47f93fd48=Ee;exports.$d3f049242431219c$export$6d3443f2c48bfc20=we;exports.$dd149f63282afbbf$export$f6211563215e3b37=se;exports.$fc909762b330b746$export$61c6a8c84e605fb6=ke;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Popover.css');const r=require("react/jsx-runtime"),n=require("./clsx-DKOfLqne.cjs"),p=require("./OverlayArrow-DJ4nNscD.cjs"),i=require("./Dialog-DNu42oLH.cjs"),a="_popover_ndspt_1",d="_arrow_ndspt_23",e={popover:a,arrow:d};function l({children:o,className:s,offset:t=4,...c}){return r.jsxs(i.$07b14b47974efb58$export$5b6b19405a83ff9d,{...c,offset:t,className:n.clsx(e.popover,s),children:[r.jsx(p.$44f671af83e7d9e0$export$746d02f47f4d381,{className:e.arrow,children:r.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:r.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),o]})}exports.Popover=l;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "./clsx-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { b as
|
|
5
|
-
import './assets/Popover.css';const
|
|
6
|
-
popover:
|
|
7
|
-
arrow:
|
|
2
|
+
import { c as f } from "./clsx-jbLnTBqA.js";
|
|
3
|
+
import { $ as c } from "./OverlayArrow-Bh_G2tJ3.js";
|
|
4
|
+
import { b as d } from "./Dialog-DOyFzvUa.js";
|
|
5
|
+
import './assets/Popover.css';const i = "_popover_ndspt_1", n = "_arrow_ndspt_23", r = {
|
|
6
|
+
popover: i,
|
|
7
|
+
arrow: n
|
|
8
8
|
};
|
|
9
9
|
function x({
|
|
10
10
|
children: e,
|
|
11
11
|
className: s,
|
|
12
|
-
offset:
|
|
13
|
-
...
|
|
12
|
+
offset: p = 4,
|
|
13
|
+
...t
|
|
14
14
|
}) {
|
|
15
15
|
return /* @__PURE__ */ a(
|
|
16
|
-
|
|
16
|
+
d,
|
|
17
17
|
{
|
|
18
|
-
...
|
|
19
|
-
offset:
|
|
20
|
-
className:
|
|
18
|
+
...t,
|
|
19
|
+
offset: p,
|
|
20
|
+
className: f(r.popover, s),
|
|
21
21
|
children: [
|
|
22
|
-
/* @__PURE__ */ o(
|
|
22
|
+
/* @__PURE__ */ o(c, { className: r.arrow, children: /* @__PURE__ */ o(
|
|
23
23
|
"svg",
|
|
24
24
|
{
|
|
25
25
|
width: 8,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./usePress-Dj3t18Pf.cjs"),$=require("./mergeProps-Du5A8xi8.cjs"),f=require("./utils-cBvgilDa.cjs"),n=require("./useFocusable-DhdAtEw8.cjs"),r=require("react"),d=r.forwardRef(({children:a,...c},t)=>{let o=r.useRef(!1),e=r.useContext(s.$ae1eeba8b9eafd08$export$5165eccb35aaadb5);t=f.$df56164dff5785e2$export$4338b53315abf666(t||(e==null?void 0:e.ref));let b=$.$3ef42575df84b30b$export$9d1611c77c2fe928(e||{},{...c,ref:t,register(){o.current=!0,e&&e.register()}});return n.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(e,t),r.useEffect(()=>{o.current||(process.env.NODE_ENV!=="production"&&console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."),o.current=!0)},[]),r.createElement(s.$ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider,{value:b},a)});function u({children:a}){let c=r.useMemo(()=>({register:()=>{}}),[]);return r.createElement(s.$ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider,{value:c},a)}exports.$f1ab8c75478c6f73$export$3351871ee4b288b8=d;exports.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea=u;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as s } from "./usePress-
|
|
2
|
-
import { a as n } from "./mergeProps-
|
|
3
|
-
import { b as
|
|
4
|
-
import { $ as
|
|
5
|
-
import f, { useRef as b, useContext as
|
|
1
|
+
import { a as s } from "./usePress-4yZ5a87p.js";
|
|
2
|
+
import { a as n } from "./mergeProps-Ct8m5-xW.js";
|
|
3
|
+
import { b as d } from "./utils-BMBoiyL7.js";
|
|
4
|
+
import { $ as i } from "./useFocusable-CCh54GIw.js";
|
|
5
|
+
import f, { useRef as b, useContext as $, useEffect as l, useMemo as u } from "react";
|
|
6
6
|
const w = /* @__PURE__ */ f.forwardRef(({ children: t, ...o }, r) => {
|
|
7
|
-
let a = b(!1), e =
|
|
8
|
-
r =
|
|
7
|
+
let a = b(!1), e = $(s);
|
|
8
|
+
r = d(r || (e == null ? void 0 : e.ref));
|
|
9
9
|
let c = n(e || {}, {
|
|
10
10
|
...o,
|
|
11
11
|
ref: r,
|
|
@@ -13,14 +13,14 @@ const w = /* @__PURE__ */ f.forwardRef(({ children: t, ...o }, r) => {
|
|
|
13
13
|
a.current = !0, e && e.register();
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
return
|
|
16
|
+
return i(e, r), l(() => {
|
|
17
17
|
a.current || (process.env.NODE_ENV !== "production" && console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."), a.current = !0);
|
|
18
18
|
}, []), /* @__PURE__ */ f.createElement(s.Provider, {
|
|
19
19
|
value: c
|
|
20
20
|
}, t);
|
|
21
21
|
});
|
|
22
22
|
function E({ children: t }) {
|
|
23
|
-
let o =
|
|
23
|
+
let o = u(() => ({
|
|
24
24
|
register: () => {
|
|
25
25
|
}
|
|
26
26
|
}), []);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/ProgressBar.css');const e=require("react/jsx-runtime"),u=require("./Button-BTX5G3le.cjs"),i=require("./Label-CkIRTC0_.cjs"),t=require("./clsx-DKOfLqne.cjs"),x="_progressBar_ojm9j_1",d="_label_ojm9j_9",l="_value_ojm9j_14",N="_bar_ojm9j_19",f="_fill_ojm9j_29",c={progressBar:x,label:d,value:l,bar:N,fill:f},v=({label:a,labelProps:s,showValueLabel:r=!1,...n})=>e.jsx(u.$0393f8ab869a0f1a$export$c17561cb55d4db30,{...n,className:t.clsx(c.progressBar,n.className),children:({percentage:j,valueText:m,isIndeterminate:_})=>e.jsxs(e.Fragment,{children:[a&&e.jsx(i.Label,{elementType:"span",...s,className:t.clsx(s==null?void 0:s.className,c.label),children:a}),r&&e.jsx(i.Label,{elementType:"span",...s,id:a?"":s==null?void 0:s.id,className:t.clsx(s==null?void 0:s.className,c.value),children:m}),e.jsx("div",{className:c.bar,children:e.jsx("div",{className:c.fill,style:{width:`${_?50:j}%`}})})]})});exports.ProgressBar=v;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx as a, jsxs as j, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "./Button-B6lxIKPk.js";
|
|
3
|
+
import { L as i } from "./Label-CV9p0K2n.js";
|
|
4
|
+
import { c as m } from "./clsx-jbLnTBqA.js";
|
|
5
|
+
import './assets/ProgressBar.css';const N = "_progressBar_ojm9j_1", v = "_label_ojm9j_9", h = "_value_ojm9j_14", u = "_bar_ojm9j_19", x = "_fill_ojm9j_29", c = {
|
|
6
|
+
progressBar: N,
|
|
7
|
+
label: v,
|
|
8
|
+
value: h,
|
|
9
|
+
bar: u,
|
|
10
|
+
fill: x
|
|
11
|
+
}, $ = ({
|
|
12
|
+
label: e,
|
|
13
|
+
labelProps: s,
|
|
14
|
+
showValueLabel: n = !1,
|
|
15
|
+
...t
|
|
16
|
+
}) => /* @__PURE__ */ a(
|
|
17
|
+
o,
|
|
18
|
+
{
|
|
19
|
+
...t,
|
|
20
|
+
className: m(c.progressBar, t.className),
|
|
21
|
+
children: ({ percentage: r, valueText: _, isIndeterminate: d }) => /* @__PURE__ */ j(f, { children: [
|
|
22
|
+
e && /* @__PURE__ */ a(
|
|
23
|
+
i,
|
|
24
|
+
{
|
|
25
|
+
elementType: "span",
|
|
26
|
+
...s,
|
|
27
|
+
className: m(s == null ? void 0 : s.className, c.label),
|
|
28
|
+
children: e
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
n && /* @__PURE__ */ a(
|
|
32
|
+
i,
|
|
33
|
+
{
|
|
34
|
+
elementType: "span",
|
|
35
|
+
...s,
|
|
36
|
+
id: e ? "" : s == null ? void 0 : s.id,
|
|
37
|
+
className: m(s == null ? void 0 : s.className, c.value),
|
|
38
|
+
children: _
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ a("div", { className: c.bar, children: /* @__PURE__ */ a(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
className: c.fill,
|
|
45
|
+
style: { width: `${d ? 50 : r}%` }
|
|
46
|
+
}
|
|
47
|
+
) })
|
|
48
|
+
] })
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
export {
|
|
52
|
+
$ as P
|
|
53
|
+
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as g, jsxs as J } from "react/jsx-runtime";
|
|
2
|
-
import { a as Q } from "./Group-
|
|
3
|
-
import { $ as L, b as X, h as Y, e as Z, a as N, c as ee, d as ae, f as ie } from "./utils-
|
|
4
|
-
import { $ as re, F as k } from "./FieldError-
|
|
2
|
+
import { a as Q } from "./Group-C2hEIsGV.js";
|
|
3
|
+
import { $ as L, b as X, h as Y, e as Z, a as N, c as ee, d as ae, f as ie } from "./utils-BMBoiyL7.js";
|
|
4
|
+
import { $ as re, F as k } from "./FieldError-C4kD4yJZ.js";
|
|
5
5
|
import { $ as de } from "./Form-CXcEMuBf.js";
|
|
6
|
-
import { b as le } from "./Button-
|
|
7
|
-
import { $ as oe } from "./Text-
|
|
8
|
-
import { a as R, c as se } from "./mergeProps-
|
|
6
|
+
import { b as le } from "./Button-B6lxIKPk.js";
|
|
7
|
+
import { $ as oe } from "./Text-BpERRete.js";
|
|
8
|
+
import { a as R, c as se } from "./mergeProps-Ct8m5-xW.js";
|
|
9
9
|
import { $ as F } from "./filterDOMProps-wsa9OcNI.js";
|
|
10
|
-
import _, { useMemo as G, useState as q, forwardRef as T, createContext as
|
|
11
|
-
import { a as te, b as ne, $ as ce } from "./useFormValidation-
|
|
12
|
-
import { b as O } from "./usePress-
|
|
13
|
-
import { a as fe } from "./useFocusable-
|
|
14
|
-
import { h as ue } from "./utils-
|
|
15
|
-
import { $ as be } from "./FocusScope-
|
|
16
|
-
import { $ as $e } from "./useFocusWithin-
|
|
17
|
-
import { $ as ve } from "./useField-
|
|
18
|
-
import { $ as pe } from "./context-
|
|
19
|
-
import { $ as me } from "./useFocusRing-
|
|
20
|
-
import { $ as Pe } from "./useHover-
|
|
21
|
-
import { $ as he } from "./VisuallyHidden-
|
|
10
|
+
import _, { useMemo as G, useState as q, forwardRef as T, createContext as M } from "react";
|
|
11
|
+
import { a as te, b as ne, $ as ce } from "./useFormValidation-DdIIVZ5j.js";
|
|
12
|
+
import { b as O } from "./usePress-4yZ5a87p.js";
|
|
13
|
+
import { a as fe } from "./useFocusable-CCh54GIw.js";
|
|
14
|
+
import { h as ue } from "./utils-CrT5PVBA.js";
|
|
15
|
+
import { $ as be } from "./FocusScope-8ILtcq9W.js";
|
|
16
|
+
import { $ as $e } from "./useFocusWithin-BKopz9sr.js";
|
|
17
|
+
import { $ as ve } from "./useField-sSWPm-He.js";
|
|
18
|
+
import { $ as pe } from "./context-Dl_saGB6.js";
|
|
19
|
+
import { $ as me } from "./useFocusRing-Copf_tx8.js";
|
|
20
|
+
import { $ as Pe } from "./useHover-zCCNtF6g.js";
|
|
21
|
+
import { $ as he } from "./VisuallyHidden-D2ZXHTJs.js";
|
|
22
22
|
import { $ as xe } from "./useControlledState-u436Wbp1.js";
|
|
23
|
-
import { c as W } from "./clsx-
|
|
24
|
-
import { a as Re, L as ye } from "./Label-
|
|
25
|
-
import { T as Ve } from "./Text-
|
|
26
|
-
import './assets/Radio.css';const
|
|
23
|
+
import { c as W } from "./clsx-jbLnTBqA.js";
|
|
24
|
+
import { a as Re, L as ye } from "./Label-CV9p0K2n.js";
|
|
25
|
+
import { T as Ve } from "./Text-BQe1I4-r.js";
|
|
26
|
+
import './assets/Radio.css';const j = /* @__PURE__ */ new WeakMap();
|
|
27
27
|
function ge(a, e, r) {
|
|
28
28
|
let { value: l, children: t, "aria-label": d, "aria-labelledby": n, onPressStart: i, onPressEnd: f, onPressChange: u, onPress: o, onPressUp: s, onClick: $ } = a;
|
|
29
29
|
const b = a.isDisabled || e.isDisabled;
|
|
@@ -39,7 +39,7 @@ function ge(a, e, r) {
|
|
|
39
39
|
onPressUp: s,
|
|
40
40
|
onClick: $,
|
|
41
41
|
isDisabled: b
|
|
42
|
-
}), { pressProps:
|
|
42
|
+
}), { pressProps: S, isPressed: p } = O({
|
|
43
43
|
onPressStart: i,
|
|
44
44
|
onPressEnd: f,
|
|
45
45
|
onPressChange: u,
|
|
@@ -47,8 +47,8 @@ function ge(a, e, r) {
|
|
|
47
47
|
onClick: $,
|
|
48
48
|
isDisabled: b,
|
|
49
49
|
onPress(C) {
|
|
50
|
-
var
|
|
51
|
-
o == null || o(C), e.setSelectedValue(l), (
|
|
50
|
+
var E;
|
|
51
|
+
o == null || o(C), e.setSelectedValue(l), (E = r.current) === null || E === void 0 || E.focus();
|
|
52
52
|
}
|
|
53
53
|
}), { focusableProps: c } = fe(R(a, {
|
|
54
54
|
onFocus: () => e.setLastFocusedValue(l)
|
|
@@ -56,21 +56,21 @@ function ge(a, e, r) {
|
|
|
56
56
|
labelable: !0
|
|
57
57
|
}), x = -1;
|
|
58
58
|
e.selectedValue != null ? e.selectedValue === l && (x = 0) : (e.lastFocusedValue === l || e.lastFocusedValue == null) && (x = 0), b && (x = void 0);
|
|
59
|
-
let { name:
|
|
59
|
+
let { name: U, form: H, descriptionId: K, errorMessageId: z, validationBehavior: w } = j.get(e);
|
|
60
60
|
return te(r, e.defaultSelectedValue, e.setSelectedValue), ne({
|
|
61
|
-
validationBehavior:
|
|
61
|
+
validationBehavior: w
|
|
62
62
|
}, e, r), {
|
|
63
|
-
labelProps: R(
|
|
63
|
+
labelProps: R(S, {
|
|
64
64
|
onClick: (C) => C.preventDefault()
|
|
65
65
|
}),
|
|
66
66
|
inputProps: R(v, {
|
|
67
67
|
...h,
|
|
68
68
|
type: "radio",
|
|
69
|
-
name:
|
|
70
|
-
form:
|
|
69
|
+
name: U,
|
|
70
|
+
form: H,
|
|
71
71
|
tabIndex: x,
|
|
72
72
|
disabled: b,
|
|
73
|
-
required: e.isRequired &&
|
|
73
|
+
required: e.isRequired && w === "native",
|
|
74
74
|
checked: P,
|
|
75
75
|
value: l,
|
|
76
76
|
onChange: D,
|
|
@@ -126,9 +126,9 @@ function De(a, e) {
|
|
|
126
126
|
accept: (x) => x instanceof ue(x).HTMLInputElement && x.type === "radio"
|
|
127
127
|
}), v;
|
|
128
128
|
c === "next" ? (v = h.nextNode(), v || (h.currentNode = p.currentTarget, v = h.firstChild())) : (v = h.previousNode(), v || (h.currentNode = p.currentTarget, v = h.lastChild())), v && (v.focus(), e.setSelectedValue(v.value));
|
|
129
|
-
},
|
|
130
|
-
return
|
|
131
|
-
name:
|
|
129
|
+
}, S = se(r);
|
|
130
|
+
return j.set(e, {
|
|
131
|
+
name: S,
|
|
132
132
|
form: l,
|
|
133
133
|
descriptionId: m.id,
|
|
134
134
|
errorMessageId: P.id,
|
|
@@ -183,7 +183,7 @@ function Ce(a) {
|
|
|
183
183
|
isInvalid: o
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
const Fe = /* @__PURE__ */
|
|
186
|
+
const Fe = /* @__PURE__ */ M(null), Se = /* @__PURE__ */ M(null), A = /* @__PURE__ */ M(null), Ee = /* @__PURE__ */ T(function(e, r) {
|
|
187
187
|
[e, r] = L(e, r, Fe);
|
|
188
188
|
let { validationBehavior: l } = ee(de) || {};
|
|
189
189
|
var t, d;
|
|
@@ -220,7 +220,7 @@ const Fe = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B(null), U = /* @__PURE
|
|
|
220
220
|
}, /* @__PURE__ */ _.createElement(ie, {
|
|
221
221
|
values: [
|
|
222
222
|
[
|
|
223
|
-
|
|
223
|
+
A,
|
|
224
224
|
i
|
|
225
225
|
],
|
|
226
226
|
[
|
|
@@ -246,10 +246,10 @@ const Fe = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B(null), U = /* @__PURE
|
|
|
246
246
|
]
|
|
247
247
|
]
|
|
248
248
|
}, m.children));
|
|
249
|
-
}),
|
|
249
|
+
}), Be = /* @__PURE__ */ T(function(e, r) {
|
|
250
250
|
let { inputRef: l = null, ...t } = e;
|
|
251
|
-
[e, r] = L(t, r,
|
|
252
|
-
let d = _.useContext(
|
|
251
|
+
[e, r] = L(t, r, Se);
|
|
252
|
+
let d = _.useContext(A), n = X(G(() => Y(l, e.inputRef !== void 0 ? e.inputRef : null), [
|
|
253
253
|
l,
|
|
254
254
|
e.inputRef
|
|
255
255
|
])), { labelProps: i, inputProps: f, isSelected: u, isDisabled: o, isPressed: s } = ge({
|
|
@@ -294,9 +294,9 @@ const Fe = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B(null), U = /* @__PURE
|
|
|
294
294
|
...R(f, y),
|
|
295
295
|
ref: n
|
|
296
296
|
})), I.children);
|
|
297
|
-
}),
|
|
298
|
-
radioGroup:
|
|
299
|
-
wrap:
|
|
297
|
+
}), Me = "_radioGroup_1m1j7_1", we = "_wrap_1m1j7_12", ke = "_radio_1m1j7_1", B = {
|
|
298
|
+
radioGroup: Me,
|
|
299
|
+
wrap: we,
|
|
300
300
|
radio: ke
|
|
301
301
|
}, sa = ({
|
|
302
302
|
label: a,
|
|
@@ -308,22 +308,22 @@ const Fe = /* @__PURE__ */ B(null), Ee = /* @__PURE__ */ B(null), U = /* @__PURE
|
|
|
308
308
|
popover: n,
|
|
309
309
|
...i
|
|
310
310
|
}) => /* @__PURE__ */ J(
|
|
311
|
-
|
|
311
|
+
Ee,
|
|
312
312
|
{
|
|
313
313
|
...i,
|
|
314
|
-
className: W(
|
|
314
|
+
className: W(B.radioGroup, t),
|
|
315
315
|
children: [
|
|
316
316
|
/* @__PURE__ */ g(Re, { popover: n, children: a && /* @__PURE__ */ g(ye, { children: a }) }),
|
|
317
317
|
e && /* @__PURE__ */ g(Ve, { slot: "description", children: e }),
|
|
318
318
|
d === "top" && /* @__PURE__ */ g(k, { "data-testid": "fieldError", children: r }),
|
|
319
|
-
/* @__PURE__ */ g(Q, { className:
|
|
319
|
+
/* @__PURE__ */ g(Q, { className: B.wrap, children: l }),
|
|
320
320
|
d === "bottom" && /* @__PURE__ */ g(k, { "data-testid": "fieldError", children: r })
|
|
321
321
|
]
|
|
322
322
|
}
|
|
323
323
|
), ta = ({ className: a, ...e }) => /* @__PURE__ */ g(
|
|
324
|
-
|
|
324
|
+
Be,
|
|
325
325
|
{
|
|
326
|
-
className: W(
|
|
326
|
+
className: W(B.radio, a),
|
|
327
327
|
...e
|
|
328
328
|
}
|
|
329
329
|
);
|