@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,38 +1,38 @@
|
|
|
1
|
-
import { e as Cr } from "./Button-
|
|
2
|
-
import { $ as j, a as G, f as H, c as Mr, b as kr, g as de, d as Ar } from "./utils-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { h as
|
|
5
|
-
import { $ as Ir, a as Rr, b as Lr, c as Nr, d as _r, e as Hr, g as Le, h as zr, l as Ur, j as Vr } from "./Collection-
|
|
6
|
-
import { b as Ae, a as Wr } from "./ListKeyboardDelegate-
|
|
7
|
-
import { $ as jr, a as Gr, b as qr, c as Zr } from "./Separator-
|
|
8
|
-
import b, { useRef as
|
|
9
|
-
import { $ as Jr } from "./Text-
|
|
10
|
-
import { d as
|
|
1
|
+
import { e as Cr } from "./Button-B6lxIKPk.js";
|
|
2
|
+
import { $ as j, a as G, f as H, c as Mr, b as kr, g as de, d as Ar } from "./utils-BMBoiyL7.js";
|
|
3
|
+
import { $ as Sr } from "./RSPContexts-BW2SEIqe.js";
|
|
4
|
+
import { h as wr, e as Br, d as Fr, a as Ie, b as Kr, c as Tr, f as Or, g as Re } from "./OverlayArrow-Bh_G2tJ3.js";
|
|
5
|
+
import { $ as Ir, a as Rr, b as Lr, c as Nr, d as _r, e as Hr, g as Le, h as zr, l as Ur, j as Vr } from "./Collection-j_iWeuZo.js";
|
|
6
|
+
import { b as Ae, a as Wr } from "./ListKeyboardDelegate-Dyu4eFtP.js";
|
|
7
|
+
import { $ as jr, a as Gr, b as qr, c as Zr } from "./Separator-COlhRmJF.js";
|
|
8
|
+
import b, { useRef as S, useEffect as I, useState as _, useMemo as ee, useContext as M, useCallback as be, forwardRef as pe, createContext as k } from "react";
|
|
9
|
+
import { $ as Jr } from "./Text-BpERRete.js";
|
|
10
|
+
import { d as Se, c as te, $ as ge, e as ce, a as w, b as Y } from "./mergeProps-Ct8m5-xW.js";
|
|
11
11
|
import { $ as B } from "./filterDOMProps-wsa9OcNI.js";
|
|
12
|
-
import { l as Yr, d as Xr, $ as Ne, a as Qr, b as _e } from "./SelectionManager-
|
|
13
|
-
import { a as eo, $ as He } from "./PressResponder-
|
|
14
|
-
import { l as to, $ as ze, a as
|
|
15
|
-
import { b as oo, h as no, m as Be } from "./utils-
|
|
16
|
-
import { $ as Ue } from "./useLocalizedStringFormatter-
|
|
17
|
-
import { c as ao, b as so, d as lo, e as io } from "./usePress-
|
|
18
|
-
import { f as uo, b as fe } from "./useFocusable-
|
|
12
|
+
import { l as Yr, d as Xr, $ as Ne, a as Qr, b as _e } from "./SelectionManager-D-4ThfPZ.js";
|
|
13
|
+
import { a as eo, $ as He } from "./PressResponder-DUhG97jJ.js";
|
|
14
|
+
import { l as to, $ as ze, a as we, c as ro } from "./useHover-zCCNtF6g.js";
|
|
15
|
+
import { b as oo, h as no, m as Be } from "./utils-CrT5PVBA.js";
|
|
16
|
+
import { $ as Ue } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
17
|
+
import { c as ao, b as so, d as lo, e as io } from "./usePress-4yZ5a87p.js";
|
|
18
|
+
import { f as uo, b as fe } from "./useFocusable-CCh54GIw.js";
|
|
19
19
|
import { $ as co } from "./useControlledState-u436Wbp1.js";
|
|
20
|
-
import { c as fo, a as Ve } from "./FocusScope-
|
|
20
|
+
import { c as fo, a as Ve } from "./FocusScope-8ILtcq9W.js";
|
|
21
21
|
import $o from "react-dom";
|
|
22
|
-
import { $ as bo } from "./SSRProvider-
|
|
23
|
-
import { b as po } from "./Hidden-
|
|
24
|
-
import { $ as go } from "./context-
|
|
25
|
-
import { $ as mo } from "./useFocusWithin-
|
|
22
|
+
import { $ as bo } from "./SSRProvider-D8lZ0o6A.js";
|
|
23
|
+
import { b as po } from "./Hidden-B5ir3Lei.js";
|
|
24
|
+
import { $ as go } from "./context-Dl_saGB6.js";
|
|
25
|
+
import { $ as mo } from "./useFocusWithin-BKopz9sr.js";
|
|
26
26
|
import { $ as We } from "./getScrollParent-Ru2U2LlM.js";
|
|
27
|
-
import { $ as vo } from "./useLabels-
|
|
28
|
-
import { $ as xo } from "./VisuallyHidden-
|
|
27
|
+
import { $ as vo } from "./useLabels-D24on06F.js";
|
|
28
|
+
import { $ as xo } from "./VisuallyHidden-D2ZXHTJs.js";
|
|
29
29
|
function yo(t) {
|
|
30
|
-
let { ref: e, onInteractOutside: r, isDisabled: n, onInteractOutsideStart: o } = t, a =
|
|
30
|
+
let { ref: e, onInteractOutside: r, isDisabled: n, onInteractOutsideStart: o } = t, a = S({
|
|
31
31
|
isPointerDown: !1,
|
|
32
32
|
ignoreEmulatedMouseEvents: !1
|
|
33
|
-
}), i =
|
|
33
|
+
}), i = Se((s) => {
|
|
34
34
|
r && Z(s, e) && (o && o(s), a.current.isPointerDown = !0);
|
|
35
|
-
}), l =
|
|
35
|
+
}), l = Se((s) => {
|
|
36
36
|
r && r(s);
|
|
37
37
|
});
|
|
38
38
|
I(() => {
|
|
@@ -119,7 +119,7 @@ function ho(t, e) {
|
|
|
119
119
|
function je(t, e, r) {
|
|
120
120
|
let { type: n } = t, { isOpen: o } = e;
|
|
121
121
|
I(() => {
|
|
122
|
-
r && r.current &&
|
|
122
|
+
r && r.current && wr.set(r.current, e.close);
|
|
123
123
|
});
|
|
124
124
|
let a;
|
|
125
125
|
n === "menu" ? a = !0 : n === "listbox" && (a = "listbox");
|
|
@@ -423,7 +423,7 @@ function Ke(t) {
|
|
|
423
423
|
}
|
|
424
424
|
const Ao = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
|
|
425
425
|
let W = /* @__PURE__ */ new WeakMap(), E = [];
|
|
426
|
-
function
|
|
426
|
+
function So(t, e) {
|
|
427
427
|
let r = no(t == null ? void 0 : t[0]), n = e instanceof r.Element ? {
|
|
428
428
|
root: e
|
|
429
429
|
} : e;
|
|
@@ -486,7 +486,7 @@ function wo(t, e) {
|
|
|
486
486
|
$ === E[E.length - 1] ? (E.pop(), E.length && E[E.length - 1].observe()) : E.splice(E.indexOf($), 1);
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function wo(t) {
|
|
490
490
|
let e = E[E.length - 1];
|
|
491
491
|
if (e && !e.visibleNodes.has(t))
|
|
492
492
|
return e.visibleNodes.add(t), () => {
|
|
@@ -513,7 +513,7 @@ function Bo(t, e) {
|
|
|
513
513
|
}), I(() => {
|
|
514
514
|
if (e.isOpen && n.current) {
|
|
515
515
|
var m, g;
|
|
516
|
-
return a ?
|
|
516
|
+
return a ? wo((m = o == null ? void 0 : o.current) !== null && m !== void 0 ? m : n.current) : So([
|
|
517
517
|
(g = o == null ? void 0 : o.current) !== null && g !== void 0 ? g : n.current
|
|
518
518
|
], {
|
|
519
519
|
shouldUseInert: !0
|
|
@@ -525,7 +525,7 @@ function Bo(t, e) {
|
|
|
525
525
|
n,
|
|
526
526
|
o
|
|
527
527
|
]), {
|
|
528
|
-
popoverProps:
|
|
528
|
+
popoverProps: w(d, x),
|
|
529
529
|
arrowProps: u,
|
|
530
530
|
underlayProps: p,
|
|
531
531
|
placement: $,
|
|
@@ -558,12 +558,12 @@ function Fo() {
|
|
|
558
558
|
e
|
|
559
559
|
]);
|
|
560
560
|
}
|
|
561
|
-
var wt = {};
|
|
562
|
-
wt = {
|
|
563
|
-
longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"
|
|
564
|
-
};
|
|
565
561
|
var St = {};
|
|
566
562
|
St = {
|
|
563
|
+
longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"
|
|
564
|
+
};
|
|
565
|
+
var wt = {};
|
|
566
|
+
wt = {
|
|
567
567
|
longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"
|
|
568
568
|
};
|
|
569
569
|
var Bt = {};
|
|
@@ -696,8 +696,8 @@ ir = {
|
|
|
696
696
|
};
|
|
697
697
|
var ur = {};
|
|
698
698
|
ur = {
|
|
699
|
-
"ar-AE":
|
|
700
|
-
"bg-BG":
|
|
699
|
+
"ar-AE": St,
|
|
700
|
+
"bg-BG": wt,
|
|
701
701
|
"cs-CZ": Bt,
|
|
702
702
|
"da-DK": Ft,
|
|
703
703
|
"de-DE": Kt,
|
|
@@ -807,7 +807,7 @@ function Oo(t, e, r) {
|
|
|
807
807
|
onAction: t.onAction,
|
|
808
808
|
shouldUseVirtualFocus: t.shouldUseVirtualFocus
|
|
809
809
|
}), {
|
|
810
|
-
menuProps:
|
|
810
|
+
menuProps: w(l, {
|
|
811
811
|
onKeyDown: o,
|
|
812
812
|
onKeyUp: a
|
|
813
813
|
}, {
|
|
@@ -848,9 +848,9 @@ function Io(t, e, r) {
|
|
|
848
848
|
"aria-expanded": t["aria-expanded"]
|
|
849
849
|
};
|
|
850
850
|
P.selectionMode !== "none" && !C && (q["aria-checked"] = ye), i && (q["aria-posinset"] = h == null ? void 0 : h.index, q["aria-setsize"] = Gr(e.collection));
|
|
851
|
-
let Ce =
|
|
851
|
+
let Ce = S(!1), gr = (v) => {
|
|
852
852
|
p == null || p(v), Ce.current = v;
|
|
853
|
-
}, L =
|
|
853
|
+
}, L = S(null), mr = (v) => {
|
|
854
854
|
v.pointerType !== "keyboard" && (L.current = {
|
|
855
855
|
pointerType: v.pointerType
|
|
856
856
|
}), v.pointerType === "mouse" && (Ce.current || v.target.click()), c == null || c(v);
|
|
@@ -882,7 +882,7 @@ function Io(t, e, r) {
|
|
|
882
882
|
}), { hoverProps: hr } = ze({
|
|
883
883
|
isDisabled: T,
|
|
884
884
|
onHoverStart(v) {
|
|
885
|
-
!
|
|
885
|
+
!we() && !(F && l) && (P.setFocused(!0), P.setFocusedKey(o)), $ == null || $(v);
|
|
886
886
|
},
|
|
887
887
|
onHoverChange: f,
|
|
888
888
|
onHoverEnd: m
|
|
@@ -921,7 +921,7 @@ function Io(t, e, r) {
|
|
|
921
921
|
return {
|
|
922
922
|
menuItemProps: {
|
|
923
923
|
...q,
|
|
924
|
-
...
|
|
924
|
+
...w(
|
|
925
925
|
ke,
|
|
926
926
|
Dr,
|
|
927
927
|
C ? {
|
|
@@ -954,7 +954,7 @@ function Io(t, e, r) {
|
|
|
954
954
|
id: De
|
|
955
955
|
},
|
|
956
956
|
isFocused: Me,
|
|
957
|
-
isFocusVisible: Me && P.isFocused &&
|
|
957
|
+
isFocusVisible: Me && P.isFocused && we() && !F,
|
|
958
958
|
isSelected: ye,
|
|
959
959
|
isPressed: yr,
|
|
960
960
|
isDisabled: T
|
|
@@ -983,7 +983,7 @@ function Ro(t) {
|
|
|
983
983
|
function Lo(t, e) {
|
|
984
984
|
let { role: r = "dialog" } = t, n = Y();
|
|
985
985
|
n = t["aria-label"] ? void 0 : n;
|
|
986
|
-
let o =
|
|
986
|
+
let o = S(!1);
|
|
987
987
|
return I(() => {
|
|
988
988
|
if (e.current && !e.current.contains(document.activeElement)) {
|
|
989
989
|
fe(e.current);
|
|
@@ -1144,7 +1144,7 @@ const ve = /* @__PURE__ */ k(null), Oe = /* @__PURE__ */ k(null), En = /* @__PUR
|
|
|
1144
1144
|
});
|
|
1145
1145
|
});
|
|
1146
1146
|
function zo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: n, ...o }) {
|
|
1147
|
-
let a =
|
|
1147
|
+
let a = S(null), i = S(null), l = M(Oe), s = l && o.trigger === "SubmenuTrigger";
|
|
1148
1148
|
var c;
|
|
1149
1149
|
let { popoverProps: d, underlayProps: p, arrowProps: x, placement: u, triggerAnchorPoint: $ } = Bo({
|
|
1150
1150
|
...o,
|
|
@@ -1189,7 +1189,7 @@ function zo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
|
|
|
1189
1189
|
"--trigger-anchor-point": $ ? `${$.x}px ${$.y}px` : void 0,
|
|
1190
1190
|
...g.style
|
|
1191
1191
|
}, C = /* @__PURE__ */ b.createElement("div", {
|
|
1192
|
-
...
|
|
1192
|
+
...w(B(o, {
|
|
1193
1193
|
global: !0
|
|
1194
1194
|
}), d),
|
|
1195
1195
|
...g,
|
|
@@ -1246,7 +1246,7 @@ function zo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
|
|
|
1246
1246
|
}
|
|
1247
1247
|
const Uo = /* @__PURE__ */ k({}), cr = /* @__PURE__ */ k(null), xe = /* @__PURE__ */ k(null), X = /* @__PURE__ */ k(null), Q = /* @__PURE__ */ k(null);
|
|
1248
1248
|
function Dn(t) {
|
|
1249
|
-
let e = me(t), r =
|
|
1249
|
+
let e = me(t), r = S(null), { menuTriggerProps: n, menuProps: o } = To({
|
|
1250
1250
|
...t,
|
|
1251
1251
|
type: "menu"
|
|
1252
1252
|
}, e, r), [a, i] = _(null), l = be(() => {
|
|
@@ -1258,7 +1258,7 @@ function Dn(t) {
|
|
|
1258
1258
|
ref: r,
|
|
1259
1259
|
onResize: l
|
|
1260
1260
|
});
|
|
1261
|
-
let s =
|
|
1261
|
+
let s = S(null);
|
|
1262
1262
|
return /* @__PURE__ */ b.createElement(H, {
|
|
1263
1263
|
values: [
|
|
1264
1264
|
[
|
|
@@ -1348,7 +1348,7 @@ function jo({ props: t, collection: e, menuRef: r }) {
|
|
|
1348
1348
|
global: !0
|
|
1349
1349
|
});
|
|
1350
1350
|
return /* @__PURE__ */ b.createElement(Ve, null, /* @__PURE__ */ b.createElement("div", {
|
|
1351
|
-
...
|
|
1351
|
+
...w(u, p, d),
|
|
1352
1352
|
ref: r,
|
|
1353
1353
|
slot: t.slot || void 0,
|
|
1354
1354
|
"data-empty": i.collection.size === 0 || void 0,
|
|
@@ -1445,7 +1445,7 @@ function fr(t, e, r, n = "react-aria-MenuSection") {
|
|
|
1445
1445
|
global: !0
|
|
1446
1446
|
});
|
|
1447
1447
|
return delete g.id, /* @__PURE__ */ b.createElement("section", {
|
|
1448
|
-
...
|
|
1448
|
+
...w(g, u, x),
|
|
1449
1449
|
ref: e
|
|
1450
1450
|
}, /* @__PURE__ */ b.createElement(H, {
|
|
1451
1451
|
values: [
|
|
@@ -1494,7 +1494,7 @@ const Mn = /* @__PURE__ */ Rr(Hr, fr), $e = /* @__PURE__ */ k(null), kn = /* @__
|
|
|
1494
1494
|
global: !0
|
|
1495
1495
|
});
|
|
1496
1496
|
return delete D.id, delete D.onClick, /* @__PURE__ */ b.createElement(g, {
|
|
1497
|
-
...
|
|
1497
|
+
...w(D, m, c, $),
|
|
1498
1498
|
ref: l,
|
|
1499
1499
|
"data-disabled": u.isDisabled || void 0,
|
|
1500
1500
|
"data-hovered": f || void 0,
|
|
@@ -1525,7 +1525,7 @@ const Mn = /* @__PURE__ */ Rr(Hr, fr), $e = /* @__PURE__ */ k(null), kn = /* @__
|
|
|
1525
1525
|
}, m.children));
|
|
1526
1526
|
}), $r = /* @__PURE__ */ k(null), re = /* @__PURE__ */ k(null);
|
|
1527
1527
|
function An(t) {
|
|
1528
|
-
let e = me(t), r =
|
|
1528
|
+
let e = me(t), r = S(null), { triggerProps: n, overlayProps: o } = je({
|
|
1529
1529
|
type: "dialog"
|
|
1530
1530
|
}, e, r), [a, i] = _(null), l = be(() => {
|
|
1531
1531
|
r.current && i(r.current.offsetWidth + "px");
|
|
@@ -1567,7 +1567,7 @@ function An(t) {
|
|
|
1567
1567
|
isPressed: e.isOpen
|
|
1568
1568
|
}, t.children));
|
|
1569
1569
|
}
|
|
1570
|
-
const
|
|
1570
|
+
const Sn = /* @__PURE__ */ pe(function(e, r) {
|
|
1571
1571
|
let n = e["aria-labelledby"];
|
|
1572
1572
|
[e, r] = j(e, r, $r);
|
|
1573
1573
|
let { dialogProps: o, titleProps: a } = Lo({
|
|
@@ -1590,13 +1590,13 @@ const wn = /* @__PURE__ */ pe(function(e, r) {
|
|
|
1590
1590
|
global: !0
|
|
1591
1591
|
});
|
|
1592
1592
|
return /* @__PURE__ */ b.createElement("section", {
|
|
1593
|
-
...
|
|
1593
|
+
...w(s, l, o),
|
|
1594
1594
|
ref: r,
|
|
1595
1595
|
slot: e.slot || void 0
|
|
1596
1596
|
}, /* @__PURE__ */ b.createElement(H, {
|
|
1597
1597
|
values: [
|
|
1598
1598
|
[
|
|
1599
|
-
|
|
1599
|
+
Sr,
|
|
1600
1600
|
{
|
|
1601
1601
|
slots: {
|
|
1602
1602
|
[de]: {},
|
|
@@ -1630,11 +1630,11 @@ export {
|
|
|
1630
1630
|
ho as e,
|
|
1631
1631
|
Eo as f,
|
|
1632
1632
|
Fo as g,
|
|
1633
|
-
|
|
1633
|
+
So as h,
|
|
1634
1634
|
re as i,
|
|
1635
1635
|
Ke as j,
|
|
1636
1636
|
Te as k,
|
|
1637
|
-
|
|
1637
|
+
Sn as l,
|
|
1638
1638
|
Mn as m,
|
|
1639
1639
|
ve as n,
|
|
1640
1640
|
$r as o,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Dialog.css');const u=require("react/jsx-runtime"),o=require("./Dialog-DNu42oLH.cjs"),b=require("./utils-cBvgilDa.cjs"),h=require("./mergeProps-Du5A8xi8.cjs"),p=require("./filterDOMProps-RRlKPKX0.cjs"),i=require("react"),y=require("./SSRProvider-DZRLwxPS.cjs"),m=require("./OverlayArrow-DJ4nNscD.cjs"),M=require("./Button-xc8A29pm.cjs"),q=require("./Heading-CUShN98j.cjs"),j=require("./clsx-DKOfLqne.cjs"),T=require("./useLocalizedStringFormatter-BSac43NO.cjs"),B=require("./x-rV-nu490.cjs");let s=typeof document<"u"&&window.visualViewport;function L(){let t=y.$b5e257d569688ac6$export$535bd6ca7f90a273(),[e,n]=i.useState(()=>t?{width:0,height:0}:E());return i.useEffect(()=>{let d=()=>{n(a=>{let l=E();return l.width===a.width&&l.height===a.height?a:l})};return s?s.addEventListener("resize",d):window.addEventListener("resize",d),()=>{s?s.removeEventListener("resize",d):window.removeEventListener("resize",d)}},[]),e}function E(){return{width:s&&(s==null?void 0:s.width)||window.innerWidth,height:s&&(s==null?void 0:s.height)||window.innerHeight}}function z(t,e,n){let{overlayProps:d,underlayProps:a}=o.$a11501f3d1d39e6c$export$ea8f71083e90600f({...t,isOpen:e.isOpen,onClose:e.close},n);return o.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!e.isOpen}),o.$337b884510726a0d$export$14c98a7594375490(),i.useEffect(()=>{if(e.isOpen&&n.current)return o.$5e3802645cc19319$export$1c3ebcada18427bf([n.current],{shouldUseInert:!0})},[e.isOpen,n]),{modalProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(d),underlayProps:a}}const I=i.createContext(null),v=i.createContext(null),H=i.forwardRef(function(e,n){if(i.useContext(v)){if(process.env.NODE_ENV!=="production"&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){const _=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),P=Object.keys(e).filter(N=>_.has(N));console.warn(`This modal is already wrapped in a ModalOverlay, props [${P.join(", ")}] should be placed on the ModalOverlay instead.`)}return i.createElement(O,{...e,modalRef:n},e.children)}let{isDismissable:a,isKeyboardDismissDisabled:l,isOpen:c,defaultOpen:r,onOpenChange:$,children:f,isEntering:g,isExiting:C,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:S,...D}=e;return i.createElement(w,{isDismissable:a,isKeyboardDismissDisabled:l,isOpen:c,defaultOpen:r,onOpenChange:$,isEntering:g,isExiting:C,UNSTABLE_portalContainer:R,shouldCloseOnInteractOutside:S},i.createElement(O,{...D,modalRef:n},f))});function k(t,e){[t,e]=b.$64fa3d84918910a7$export$29f1550f4b0d4415(t,e,I);let n=i.useContext(o.$de32f1b87079253c$export$d2f961adcb0afbe),d=m.$fc909762b330b746$export$61c6a8c84e605fb6(t),a=t.isOpen!=null||t.defaultOpen!=null||!n?d:n;a===n&&process.env.NODE_ENV!=="production"&&(t.onOpenChange||t.defaultOpen!==void 0||t.isOpen!==void 0)&&console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");let l=b.$df56164dff5785e2$export$4338b53315abf666(e),c=i.useRef(null),r=m.$d3f049242431219c$export$45fda7c47f93fd48(l,a.isOpen),$=m.$d3f049242431219c$export$45fda7c47f93fd48(c,a.isOpen),f=r||$||t.isExiting||!1,g=y.$b5e257d569688ac6$export$535bd6ca7f90a273();return!a.isOpen&&!f||g?null:i.createElement(A,{...t,state:a,isExiting:f,overlayRef:l,modalRef:c})}const w=i.forwardRef(k);function A({UNSTABLE_portalContainer:t,...e}){let n=e.modalRef,{state:d}=e,{modalProps:a,underlayProps:l}=z(e,d,n),c=m.$d3f049242431219c$export$6d3443f2c48bfc20(e.overlayRef)||e.isEntering||!1,r=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:c,isExiting:e.isExiting,state:d}}),$=L(),f={...r.style,"--visual-viewport-height":$.height+"px"};return i.createElement(o.$337b884510726a0d$export$c6fdb837b070b4ff,{isExiting:e.isExiting,portalContainer:t},i.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),l),...r,style:f,ref:e.overlayRef,"data-entering":c||void 0,"data-exiting":e.isExiting||void 0},i.createElement(b.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[v,{modalProps:a,modalRef:n,isExiting:e.isExiting,isDismissable:e.isDismissable}],[o.$de32f1b87079253c$export$d2f961adcb0afbe,d]]},r.children)))}function O(t){let{modalProps:e,modalRef:n,isExiting:d,isDismissable:a}=i.useContext(v),l=i.useContext(o.$de32f1b87079253c$export$d2f961adcb0afbe),c=i.useMemo(()=>b.$5dc95899b306f630$export$c9058316764c140e(t.modalRef,n),[t.modalRef,n]),r=b.$df56164dff5785e2$export$4338b53315abf666(c),$=m.$d3f049242431219c$export$6d3443f2c48bfc20(r),f=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Modal",values:{isEntering:$,isExiting:d,state:l}});return i.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0}),e),...f,ref:r,"data-entering":$||void 0,"data-exiting":d||void 0},a&&i.createElement(o.$86ea4cb521eb2e37$export$2317d149ed6f78c4,{onDismiss:l.close}),f.children)}const U="_modal_skl37_1",V="_overlay_skl37_24",K="_modalHeader_skl37_48",F="_modalTitle_skl37_59",W="_modalBody_skl37_65",x={modal:U,overlay:V,modalHeader:K,modalTitle:F,modalBody:W},X={close:"Close"},G={close:"Stäng"},J={en:X,sv:G},Q=({children:t,title:e,hideCloseButton:n=!1,className:d,...a})=>{const l=T.useLocalizedStringFormatter(J);return u.jsx(w,{...a,className:j.clsx(x.overlay,d),children:u.jsx(H,{className:x.modal,children:u.jsxs(o.$de32f1b87079253c$export$3ddf2d174ce01153,{children:[u.jsxs("div",{className:x.modalHeader,children:[u.jsx("div",{className:x.modalTitle,children:e&&u.jsx(q.Heading,{level:3,elementType:"h2",slot:"title",children:e})}),!n&&u.jsx(M.Button,{slot:"close",variant:"tertiary",icon:B.X,iconPlacement:"right",children:l.format("close")})]}),u.jsx("div",{className:x.modalBody,tabIndex:-1,children:t})]})})})};exports.Modal=Q;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as x } from "./getScrollParent-Ru2U2LlM.js";
|
|
2
|
-
import { d as y, $ as m } from "./mergeProps-
|
|
2
|
+
import { d as y, $ as m } from "./mergeProps-Ct8m5-xW.js";
|
|
3
3
|
import d, { useRef as K, createContext as s, useCallback as M, forwardRef as V, useMemo as w, useContext as I } from "react";
|
|
4
4
|
function T(i, e) {
|
|
5
5
|
let { collection: l, onLoadMore: r, scrollOffset: c = 1 } = i, u = K(null), n = y((o) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./getScrollParent-DuKmPmUa.cjs"),s=require("./mergeProps-
|
|
1
|
+
"use strict";const y=require("./getScrollParent-DuKmPmUa.cjs"),s=require("./mergeProps-Du5A8xi8.cjs"),u=require("react");function K(n,e){let{collection:l,onLoadMore:r,scrollOffset:c=1}=n,o=u.useRef(null),t=s.$8ae05eaa5c114e9c$export$7f54fc3180508a52(a=>{for(let $ of a)$.isIntersecting&&r&&r()});s.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(o.current=new IntersectionObserver(t,{root:y.$62d8ded9296f3872$export$cfa2225e87938781(e==null?void 0:e.current),rootMargin:`0px ${100*c}% ${100*c}% ${100*c}%`}),o.current.observe(e.current)),()=>{o.current&&o.current.disconnect()}),[l,t,e,c])}const m=u.createContext({}),g=u.createContext(null),M=u.forwardRef(function(e,l){let{render:r}=u.useContext(g);return u.createElement(u.Fragment,null,r(e,l))});function V(n,e){var l;let r=n==null?void 0:n.renderDropIndicator,c=n==null||(l=n.isVirtualDragging)===null||l===void 0?void 0:l.call(n),o=u.useCallback(t=>{if(c||e!=null&&e.isDropTarget(t))return r?r(t):u.createElement(M,{target:t})},[e==null?void 0:e.target,c,r]);return n!=null&&n.useDropIndicator?o:void 0}function w(n,e,l){var r,c;let o=n.focusedKey,t=null;if(!(e==null||(r=e.isVirtualDragging)===null||r===void 0)&&r.call(e)&&(l==null||(c=l.target)===null||c===void 0?void 0:c.type)==="item"&&(t=l.target.key,l.target.dropPosition==="after")){let i=l.collection.getKeyAfter(t),v=null;if(i!=null){var a,$;let x=($=(a=l.collection.getItem(t))===null||a===void 0?void 0:a.level)!==null&&$!==void 0?$:0;for(;i;){let d=l.collection.getItem(i);if(!d)break;if(d.type!=="item"){i=l.collection.getKeyAfter(i);continue}var b;if(((b=d.level)!==null&&b!==void 0?b:0)<=x)break;v=i,i=l.collection.getKeyAfter(i)}}var f;t=(f=i??v)!==null&&f!==void 0?f:t}return u.useMemo(()=>new Set([o,t].filter(i=>i!=null)),[o,t])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=V;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=m;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=w;exports.$612b8eb6cb90e02d$export$f55761759794cf55=g;exports.$a5fa973c1850dd36$export$ccaea96c28e8b9e7=K;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-
|
|
1
|
+
"use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-DNu42oLH.cjs"),l=require("./Button-xc8A29pm.cjs"),d=require("./clsx-DKOfLqne.cjs"),a=require("./createLucideIcon-CTVXwe6i.cjs");/**
|
|
2
2
|
* @license lucide-react v0.525.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const u=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],x=a.createLucideIcon("ellipsis-vertical",u),m="
|
|
6
|
+
*/const u=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],x=a.createLucideIcon("ellipsis-vertical",u),m="_dropDownMenu_1493w_1",b="_menuItem_1493w_17",s={dropDownMenu:m,menuItem:b};function h({label:c,title:t,children:n,icon:i=x,...o}){return e.jsxs(r.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...o,children:[e.jsxs(l.Button,{"aria-label":c||o["aria-label"],variant:"icon",children:[t,e.jsx(i,{size:20,"aria-hidden":!0})]}),e.jsx(r.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:e.jsx(r.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{...o,className:s.dropDownMenu,children:n})})]})}function $(c){const t=c.textValue||(typeof c.children=="string"?c.children:void 0);return e.jsx(r.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{...c,textValue:t,className:({isFocused:n,isOpen:i})=>d.clsx(s.menuItem,c.className,n&&"focused",i&&"open"),children:({hasSubmenu:n})=>e.jsxs(e.Fragment,{children:[c.children,n&&e.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:e.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}exports.Dropdown=h;exports.DropdownItem=$;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as c, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { a as s, b as d, c as m, d as u } from "./Dialog-
|
|
3
|
-
import { B as
|
|
4
|
-
import { c as
|
|
2
|
+
import { a as s, b as d, c as m, d as u } from "./Dialog-DOyFzvUa.js";
|
|
3
|
+
import { B as b } from "./Button-CRIYvCRM.js";
|
|
4
|
+
import { c as x } from "./clsx-jbLnTBqA.js";
|
|
5
5
|
import { c as f } from "./createLucideIcon-XRdN60yz.js";
|
|
6
6
|
import './assets/Dropdown.css';/**
|
|
7
7
|
* @license lucide-react v0.525.0 - ISC
|
|
@@ -13,9 +13,9 @@ const h = [
|
|
|
13
13
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
14
14
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
15
15
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
16
|
-
], $ = f("ellipsis-vertical", h),
|
|
17
|
-
dropDownMenu:
|
|
18
|
-
menuItem:
|
|
16
|
+
], $ = f("ellipsis-vertical", h), w = "_dropDownMenu_1493w_1", y = "_menuItem_1493w_17", a = {
|
|
17
|
+
dropDownMenu: w,
|
|
18
|
+
menuItem: y
|
|
19
19
|
};
|
|
20
20
|
function N({
|
|
21
21
|
label: e,
|
|
@@ -26,7 +26,7 @@ function N({
|
|
|
26
26
|
}) {
|
|
27
27
|
return /* @__PURE__ */ i(s, { ...t, children: [
|
|
28
28
|
/* @__PURE__ */ i(
|
|
29
|
-
|
|
29
|
+
b,
|
|
30
30
|
{
|
|
31
31
|
"aria-label": e || t["aria-label"],
|
|
32
32
|
variant: "icon",
|
|
@@ -59,7 +59,7 @@ function g(e) {
|
|
|
59
59
|
{
|
|
60
60
|
...e,
|
|
61
61
|
textValue: r,
|
|
62
|
-
className: ({ isFocused: n, isOpen: o }) =>
|
|
62
|
+
className: ({ isFocused: n, isOpen: o }) => x(
|
|
63
63
|
a.menuItem,
|
|
64
64
|
e.className,
|
|
65
65
|
n && "focused",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/FieldError.css');const a=require("react/jsx-runtime"),o=require("react"),d=require("./utils-cBvgilDa.cjs"),f=require("./Text-CkhG15SU.cjs"),u=require("./filterDOMProps-RRlKPKX0.cjs"),$=require("./clsx-DKOfLqne.cjs"),b=require("./Text-CkhZTTV5.cjs");function x(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const s=x(o),i=o.createContext(null),E=o.forwardRef(function(n,r){let t=o.useContext(i);return t!=null&&t.isInvalid?o.createElement(v,{...n,ref:r}):null}),v=o.forwardRef((e,n)=>{let r=o.useContext(i),t=u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),l=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return l.children==null?null:o.createElement(f.$514c0188e459b4c0$export$5f1af8db9871e1d6,{slot:"errorMessage",...t,...l,ref:n})}),m="_fieldError_1potw_1",p={fieldError:m},g=s.forwardRef((e,n)=>{const{children:r,isInvalid:t}=e,l=$.clsx(p.fieldError,e.className),c=s.useContext(i);return!c&&t&&typeof r!="function"?a.jsx(b.Text,{className:l,children:r}):c!=null&&c.isInvalid?a.jsx(E,{...e,ref:n,className:l}):null});exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=i;exports.FieldError=g;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import f, { createContext as $, forwardRef as s, useContext as c } from "react";
|
|
4
|
+
import { a as u } from "./utils-BMBoiyL7.js";
|
|
5
|
+
import { a as m } from "./Text-BpERRete.js";
|
|
6
|
+
import { $ as p } from "./filterDOMProps-wsa9OcNI.js";
|
|
7
|
+
import { c as E } from "./clsx-jbLnTBqA.js";
|
|
8
|
+
import { T as v } from "./Text-BQe1I4-r.js";
|
|
9
|
+
import './assets/FieldError.css';const n = /* @__PURE__ */ $(null), x = /* @__PURE__ */ s(function(o, r) {
|
|
10
|
+
let t = c(n);
|
|
11
|
+
return t != null && t.isInvalid ? /* @__PURE__ */ f.createElement(b, {
|
|
12
|
+
...o,
|
|
13
|
+
ref: r
|
|
14
|
+
}) : null;
|
|
15
|
+
}), b = /* @__PURE__ */ s((e, o) => {
|
|
16
|
+
let r = c(n), t = p(e, {
|
|
17
|
+
global: !0
|
|
18
|
+
}), a = u({
|
|
19
|
+
...e,
|
|
20
|
+
defaultClassName: "react-aria-FieldError",
|
|
21
|
+
defaultChildren: r.validationErrors.length === 0 ? void 0 : r.validationErrors.join(" "),
|
|
22
|
+
values: r
|
|
23
|
+
});
|
|
24
|
+
return a.children == null ? null : /* @__PURE__ */ f.createElement(m, {
|
|
25
|
+
slot: "errorMessage",
|
|
26
|
+
...t,
|
|
27
|
+
...a,
|
|
28
|
+
ref: o
|
|
29
|
+
});
|
|
30
|
+
}), C = "_fieldError_1potw_1", F = {
|
|
31
|
+
fieldError: C
|
|
32
|
+
}, j = d.forwardRef(
|
|
33
|
+
(e, o) => {
|
|
34
|
+
const { children: r, isInvalid: t } = e, a = E(F.fieldError, e.className), l = d.useContext(n);
|
|
35
|
+
return !l && t && typeof r != "function" ? /* @__PURE__ */ i(v, { className: a, children: r }) : l != null && l.isInvalid ? /* @__PURE__ */ i(
|
|
36
|
+
x,
|
|
37
|
+
{
|
|
38
|
+
...e,
|
|
39
|
+
ref: o,
|
|
40
|
+
className: a
|
|
41
|
+
}
|
|
42
|
+
) : null;
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
export {
|
|
46
|
+
n as $,
|
|
47
|
+
j as F
|
|
48
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as Y } from "react/jsx-runtime";
|
|
2
|
-
import { $ as Ae, b as X, a as fe, f as he } from "./utils-
|
|
3
|
-
import { $ as Fe } from "./Text-
|
|
4
|
-
import { d as b, $ as ve, e as ye, b as Te, a as N } from "./mergeProps-
|
|
2
|
+
import { $ as Ae, b as X, a as fe, f as he } from "./utils-BMBoiyL7.js";
|
|
3
|
+
import { $ as Fe } from "./Text-BpERRete.js";
|
|
4
|
+
import { d as b, $ as ve, e as ye, b as Te, a as N } from "./mergeProps-Ct8m5-xW.js";
|
|
5
5
|
import { $ as W } from "./filterDOMProps-wsa9OcNI.js";
|
|
6
|
-
import { $ as ze } from "./useLabels-
|
|
7
|
-
import { k as Se } from "./utils-
|
|
6
|
+
import { $ as ze } from "./useLabels-D24on06F.js";
|
|
7
|
+
import { k as Se } from "./utils-CrT5PVBA.js";
|
|
8
8
|
import k, { useState as J, useEffect as Q, useRef as O, forwardRef as _, createContext as Pe } from "react";
|
|
9
|
-
import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-
|
|
10
|
-
import { $ as Le } from "./useDescription-
|
|
11
|
-
import { $ as uu } from "./useLocalizedStringFormatter-
|
|
12
|
-
import { $ as Re } from "./useButton-
|
|
13
|
-
import { $ as Oe } from "./useFocusRing-
|
|
14
|
-
import { $ as Ne } from "./VisuallyHidden-
|
|
15
|
-
import { a as Ze } from "./Input-
|
|
16
|
-
import { $ as Ue } from "./PressResponder-
|
|
17
|
-
import { c as qe } from "./clsx-
|
|
9
|
+
import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-zCCNtF6g.js";
|
|
10
|
+
import { $ as Le } from "./useDescription-BFwQx7Rp.js";
|
|
11
|
+
import { $ as uu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
12
|
+
import { $ as Re } from "./useButton-A-VOfwuT.js";
|
|
13
|
+
import { $ as Oe } from "./useFocusRing-Copf_tx8.js";
|
|
14
|
+
import { $ as Ne } from "./VisuallyHidden-D2ZXHTJs.js";
|
|
15
|
+
import { a as Ze } from "./Input-CkTOajNJ.js";
|
|
16
|
+
import { $ as Ue } from "./PressResponder-DUhG97jJ.js";
|
|
17
|
+
import { c as qe } from "./clsx-jbLnTBqA.js";
|
|
18
18
|
import './assets/FileUpload.css';var B = /* @__PURE__ */ function(u) {
|
|
19
19
|
return u[u.none = 0] = "none", u[u.cancel = 0] = "cancel", u[u.move = 1] = "move", u[u.copy = 2] = "copy", u[u.link = 4] = "link", u[u.all = 7] = "all", u;
|
|
20
20
|
}({});
|