@midas-ds/components 10.2.0 → 10.3.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-Z_c9MpAM.cjs → AccordionItem-BGWiWjxA.cjs} +1 -1
- package/{AccordionItem-DZT76sWu.js → AccordionItem-ChHpW8EW.js} +11 -11
- package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
- package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
- package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-CwDUNIqF.js} +34 -34
- package/{Breadcrumbs-Cx09jwZZ.cjs → Breadcrumbs-DtjJ1UmU.cjs} +1 -1
- package/{Button-iSiWjocA.cjs → Button-BoJl6JGM.cjs} +1 -1
- package/{Button-CbFRzRrF.js → Button-Csih3v23.js} +2 -2
- package/Button-DjBChs7s.js +340 -0
- package/Button-htW9qIsS.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/CHANGELOG.md +20 -0
- package/Card-0G0mj9q5.cjs +1 -0
- package/{Card-CaKKKv9k.js → Card-yrtGzt70.js} +5 -5
- package/CharacterCounter-BL_nZHya.js +22 -0
- package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-CHcTDHO-.cjs} +1 -1
- package/Checkbox-5HINZdGu.js +263 -0
- package/Checkbox-DqcPg5hz.cjs +1 -0
- package/CheckboxGroup-BBrSMuDY.cjs +1 -0
- package/CheckboxGroup-CLgixk2p.js +243 -0
- package/{Collection-Csx3L9gh.cjs → Collection-BIDsXNhi.cjs} +1 -1
- package/{Collection-C5ONNBqd.js → Collection-Brgjpkne.js} +4 -4
- package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-BpzQ7g0b.js} +9 -9
- package/{ColorSchemeSwitch-JRrCyYVv.cjs → ColorSchemeSwitch-C-qWuqkU.cjs} +2 -2
- package/{ComboBox-BCaqPEIH.js → ComboBox-CVDyp2a-.js} +331 -327
- package/ComboBox-CWJUg9Xx.cjs +1 -0
- package/DateField-DeDhiYnW.cjs +1 -0
- package/DateField-DhU3q-rG.js +47 -0
- package/DateInputDivider-ADvOavHw.cjs +1 -0
- package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-CF4xWsMT.js} +71 -75
- package/DateRangePicker-BsAHhy99.cjs +6 -0
- package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-ziD1_k1W.js} +194 -194
- package/Dialog-B8GTYbvu.cjs +1 -0
- package/{Dialog-CwTEAujZ.cjs → Dialog-BOrYdX50.cjs} +1 -1
- package/{Dialog-Bxx8cBEq.js → Dialog-CXNu48AC.js} +25 -25
- package/{Dialog-CYxThuMl.js → Dialog-D14MbJ7o.js} +564 -540
- package/{DragAndDrop-HvycSrKY.cjs → DragAndDrop-DNth776R.cjs} +1 -1
- package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-o3ruz_SR.js} +8 -8
- package/{Dropdown-CaGon9OR.cjs → Dropdown-CJ6My6EI.cjs} +1 -1
- package/{Dropdown-nkjzsVYX.js → Dropdown-Df58j43I.js} +2 -2
- package/FieldError-CAcjosk_.js +46 -0
- package/FieldError-CKBb2-mp.cjs +1 -0
- package/{FileUpload-DYRZ0M9F.cjs → FileUpload-CxCOtyB9.cjs} +2 -2
- package/{FileUpload-ULwcYDxs.js → FileUpload-D6qoEAjn.js} +149 -148
- package/FocusScope-5c9SVBcR.cjs +1 -0
- package/{FocusScope-DwIqdYpQ.js → FocusScope-CxkURfoc.js} +16 -16
- package/{Group-CeSsSQVC.js → Group-B6EslsHZ.js} +5 -5
- package/{Heading-BY5-QN4S.js → Heading-BFtiin0g.js} +7 -7
- package/{Heading-DoJAtYZf.cjs → Heading-mHhCbGjY.cjs} +1 -1
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/{InfoBanner-CVIBFSWx.js → InfoBanner-BLM-TJJ6.js} +15 -14
- package/InfoBanner-C2kTIsrB.cjs +1 -0
- package/{Input-D8Ku_FQz.js → Input-BTzwcf72.js} +10 -10
- package/Label-7Ybb99CE.cjs +1 -0
- package/Label-BwJrdqEE.js +70 -0
- package/{Layout-BWeHHnqU.cjs → Layout-1g6bMH62.cjs} +2 -2
- package/{Layout-CCt_2L1k.js → Layout-Ey8flY7E.js} +9 -9
- package/{Link-DsnCtNeI.cjs → Link-B88l_oaE.cjs} +1 -1
- package/{Link-SHMbeyIP.cjs → Link-BQhauBuw.cjs} +1 -1
- package/{Link-uFowN4qv.js → Link-DX5BbBnn.js} +1 -1
- package/{Link-B-nus-FT.js → Link-yNO2-sqx.js} +17 -17
- package/LinkButton-CBpGLETx.cjs +6 -0
- package/LinkButton-o6uS1XsR.js +69 -0
- package/ListBox-DP9M4H6R.cjs +1 -0
- package/{ListBox-DOi_y_Lt.js → ListBox-GnVK_Pdq.js} +72 -73
- package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DPBrtXyv.cjs} +1 -1
- package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-D_J3jlP0.js} +1 -1
- package/{ListBoxSection-DGCP6xpf.cjs → ListBoxSection-BGaigBnG.cjs} +1 -1
- package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-C0BGnpB4.js} +9 -9
- package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-DNI8GQtX.js} +24 -15
- package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
- package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CDLXPTew.js} +44 -44
- package/Popover-BGGXeD54.js +38 -0
- package/Popover-CqNWzPf-.cjs +1 -0
- package/{ProgressBar-gmAzSsrz.js → ProgressBar-DMSg-Prr.js} +2 -2
- package/ProgressBar-Jbg28j2a.cjs +1 -0
- package/Radio-BwqrdhQE.cjs +1 -0
- package/{Radio-_ukSkxPT.js → Radio-Cz29wPXd.js} +71 -71
- package/RangeCalendar-BehUaydF.cjs +11 -0
- package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-RAlAHlNL.js} +25 -27
- package/{SearchField-6yBGiojX.cjs → SearchField-CxMwDeUM.cjs} +2 -2
- package/{SearchField-DYl2uo7o.js → SearchField-IlvZ3Kh6.js} +11 -11
- package/Select-2q1iSzAX.cjs +1 -0
- package/{Select-PvCqY7Lp.js → Select-BVQZtoi9.js} +232 -232
- package/{SelectionManager-6H88Cv6B.js → SelectionManager-B4ORduja.js} +26 -27
- package/SelectionManager-CwYux2h3.cjs +1 -0
- package/{Separator-LYnFqh4L.js → Separator-Cu9fYKUM.js} +19 -20
- package/Separator-DECIYLtZ.cjs +1 -0
- package/{Spinner-DAJtfxqJ.cjs → Spinner-P35rvvsl.cjs} +1 -1
- package/Table-B40CGLT-.cjs +16 -0
- package/{Table-B_N7wUmA.js → Table-F4oYBtUM.js} +69 -73
- package/{Tabs-Ct6D83aR.js → Tabs-B4oZJkZG.js} +39 -39
- package/{Tabs-Dtcl2oK2.cjs → Tabs-DA2qXhzb.cjs} +1 -1
- package/Tag-DPAGmcMK.cjs +1 -0
- package/{Tag-g6HN-YCv.js → Tag-Du7GvSv2.js} +151 -154
- package/Text-BoXuUVVH.js +15 -0
- package/{Text-BN-g1iWi.js → Text-jWWg0B20.js} +1 -1
- package/TextArea-C7JZ_pQd.cjs +1 -0
- package/TextArea-XeBCSyzl.js +191 -0
- package/TextField-BgNdhZi_.cjs +1 -0
- package/{TextField-DBaRuNj7.js → TextField-C-hTPukq.js} +16 -16
- package/Toast-AbDA1BOs.cjs +1 -0
- package/{Toast-CjpldAI8.js → Toast-Btg21Xge.js} +32 -31
- package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-B5yz1tm2.js} +7 -7
- package/{ToggleButtonGroup-BuU_6dYe.cjs → ToggleButtonGroup-BFDoj0P6.cjs} +1 -1
- package/{Tooltip-BAIjaYax.js → Tooltip-CMLs7WMw.js} +33 -33
- package/{Tooltip-CiWg4zIC.cjs → Tooltip-DeBuBKhS.cjs} +1 -1
- package/{VisuallyHidden-CtXvK_Tw.cjs → VisuallyHidden-CLWHbz2n.cjs} +1 -1
- package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-ZCYf65q4.js} +8 -8
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
- package/assets/Button.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -0
- 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 +1 -1
- 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/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
- package/checkbox/Checkbox.d.ts +2 -2
- package/checkbox/CheckboxGroup.d.ts +8 -8
- package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
- package/checkbox/CheckboxGroupItem.d.ts +3 -0
- package/checkbox/CheckboxInner.d.ts +2 -0
- package/checkbox/SingleCheckbox.d.ts +3 -0
- package/checkbox/context.d.ts +3 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +35 -0
- package/checkbox/types.d.ts +14 -0
- package/checkbox/useSelectAll.d.ts +7 -0
- package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
- package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
- package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/{context-B8cn10po.js → context-C81gPYvC.js} +11 -11
- package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
- package/date-field/DateField.d.ts +3 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/DatePicker.d.ts +3 -0
- package/date-picker/DateRangePicker.d.ts +3 -0
- 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/FileUpload.d.ts +3 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-BhFcYrwL.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DDJu9WHU.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
- package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.js +80 -78
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-BZwphdye.js +15 -0
- package/info-CIEIENo6.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/InfoPopover.d.ts +9 -0
- package/label/LabelWrapper.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.d.ts +1 -0
- 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/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +1 -1
- package/popover/Popover.d.ts +7 -0
- package/popover/index.cjs +1 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.js +4 -0
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +3 -0
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-C8doLzDd.cjs +1 -0
- package/scrollIntoView-Hwb_aaNf.js +87 -0
- 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/spinner/index.cjs +1 -1
- package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +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.js +1 -1
- package/textfield/TextFieldBase.d.ts +2 -0
- 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/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
- package/{useButton-C-Lq7CNY.js → useButton-B8dB9sot.js} +6 -6
- package/{useButton-B1Fa-6qE.cjs → useButton-cpNi-fY4.cjs} +1 -1
- package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-CnxoJ4jF.cjs} +1 -1
- package/{useDateFormatter-C53Uxdli.js → useDateFormatter-EHm4auIg.js} +2 -2
- package/{useEvent-CjkbBniY.cjs → useEvent-DxBxMX2V.cjs} +1 -1
- package/{useEvent-Cyd2ZL0c.js → useEvent-IsD2Awnh.js} +1 -1
- package/useField-CXKYU74k.cjs +1 -0
- package/{useField-BPMAlIbU.js → useField-DvpGZkw_.js} +7 -7
- package/useFilter-BTgDWHVx.cjs +1 -0
- package/{useFilter-ChIbnALW.js → useFilter-CUq74PQ2.js} +1 -1
- package/{useFocusRing-BDGH3lpn.js → useFocusRing-XnR3cZjO.js} +1 -1
- package/useFocusable-C8uh8K4g.js +125 -0
- package/useFocusable-NUVSFcRC.cjs +1 -0
- package/{useFormValidation-R8hQIjWP.js → useFormValidation-BIGzfO9h.js} +5 -5
- package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-C-1mZUQe.js} +2 -2
- package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
- package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-CnBDT86u.js} +14 -14
- package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
- package/{useHover-qRAon4nS.js → useHover-DjIHtjGN.js} +17 -17
- package/{useLabels-BZjoZA1Z.js → useLabels-BDwkBYbE.js} +1 -1
- package/{useListState-Ca2-uZMO.cjs → useListState-Bx8u4IFG.cjs} +1 -1
- package/{useListState-DFQ9d-uE.js → useListState-CrZFZffI.js} +7 -7
- package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
- package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
- package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-0AjDbW9R.cjs +7 -0
- package/{usePress-CUJ3pMOw.js → usePress-CNjmDzap.js} +48 -48
- package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-0AGHxvy3.js} +1 -1
- package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-Cl3KV5E1.cjs} +1 -1
- package/{useTextField-CtUDWsUl.cjs → useTextField--czJtyNd.cjs} +1 -1
- package/{useTextField-5OZQPyOW.js → useTextField-Cw-33OP_.js} +11 -11
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/{utils-HNTsIwux.js → utils-DIMfEPAt.js} +10 -10
- package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
- package/Button-DnhqHU01.cjs +0 -1
- package/Button-ZOQy9Ivu.js +0 -78
- package/Button.module-CMMhIrkn.js +0 -14
- package/Button.module-DO5s9hOk.cjs +0 -1
- package/Card-C0BFW3wJ.cjs +0 -1
- package/CharacterCounter-CPGdboVJ.js +0 -22
- package/Checkbox-CvFsn_FL.js +0 -380
- package/Checkbox-DSxGAJX2.cjs +0 -1
- package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
- package/CheckboxGroup-Dij9zKlF.js +0 -54
- package/ComboBox-gveQKHU3.cjs +0 -1
- package/DateField-CAQlzuDD.js +0 -46
- package/DateField-deVVFwKA.cjs +0 -1
- package/DateInputDivider-DnUxETEC.cjs +0 -1
- package/DateRangePicker-BzfitoK0.cjs +0 -6
- package/Dialog-Bd5hK360.cjs +0 -1
- package/FieldError-BZw8UzBk.cjs +0 -1
- package/FieldError-CZikNDxX.js +0 -28
- package/FieldError-DqdfJ3fs.cjs +0 -1
- package/FieldError-Dv3bBEjh.js +0 -23
- package/FocusScope-NaPbvuuS.cjs +0 -1
- package/InfoBanner-BS-dAfzO.cjs +0 -1
- package/Label-C9ivwkAd.js +0 -21
- package/Label-CUV21CAv.cjs +0 -1
- package/Label-DkDOsmUF.js +0 -16
- package/Label-IMWAyoKb.cjs +0 -1
- package/LinkButton-CuBilDML.js +0 -69
- package/LinkButton-CymMrcGL.cjs +0 -6
- package/ListBox-CDOsQChA.cjs +0 -1
- package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
- package/LiveAnnouncer-B6177m92.js +0 -51
- package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
- package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
- package/LocalizedStringFormatter-D-4Qyql0.js +0 -77
- package/NumberFormatter-DewVDY5w.cjs +0 -1
- package/NumberFormatter-DgOUVrge.js +0 -119
- package/PressResponder-C06O3Z5P.cjs +0 -1
- package/PressResponder-CVEg5kND.js +0 -33
- package/ProgressBar-Bkw9zavs.cjs +0 -1
- package/ProgressBar-CEX2WNoW.js +0 -77
- package/ProgressBar-Dqh3ftSP.cjs +0 -1
- package/Radio-CDKrvQe4.cjs +0 -1
- package/RangeCalendar-cbCKBPZv.cjs +0 -11
- package/Select-CpHjd1tp.cjs +0 -1
- package/SelectionManager-C5NGBzvz.cjs +0 -1
- package/Separator-nPra6kD-.cjs +0 -1
- package/Table-D9vNc_y-.cjs +0 -16
- package/Tag-CVFkzg3s.cjs +0 -1
- package/Text-B_H68Tvq.js +0 -15
- package/TextArea-DSiQ578a.js +0 -206
- package/TextArea-cVyGBRbL.cjs +0 -1
- package/TextField-B70CL2qz.cjs +0 -1
- package/Toast-DrkOGy4d.cjs +0 -1
- package/focusSafely-Bqfo_DH7.cjs +0 -1
- package/focusSafely-C48ucRUz.js +0 -56
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/useCollator-C_ozeWLo.cjs +0 -1
- package/useCollator-CgZcHC8N.js +0 -11
- package/useDescription-CVKhFa3c.js +0 -32
- package/useDescription-DmQYSEES.cjs +0 -1
- package/useField-B1RU0GKs.cjs +0 -1
- package/useFilter-CtIwF2qW.cjs +0 -1
- package/useFocusable-CaedRTpB.js +0 -74
- package/useFocusable-CuPQ7Cm5.cjs +0 -1
- package/useHasTabbableChild-DgphNvnk.cjs +0 -1
- package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
- package/useLabel-DDdAJ1JO.js +0 -23
- package/useLabel-m_S5xkHy.cjs +0 -1
- package/useLocalizedStringFormatter-D07YB2e1.js +0 -22
- package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BFa6cT9o.cjs +0 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as F, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { c as N } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { $ as ee,
|
|
3
|
+
import { d as W, a as j, b as U, e as K, c as V, f as z, $ as Y } from "./OverlayArrow-CDLXPTew.js";
|
|
4
|
+
import { k as q, c as y, e as G, a as J, j as Q, $ as X, b as Z } from "./utils-DIMfEPAt.js";
|
|
5
|
+
import { $ as ee, c as te } from "./useFocusable-C8uh8K4g.js";
|
|
6
6
|
import c, { useContext as E, useState as _, useMemo as L, useRef as m, useEffect as O, forwardRef as re, createContext as M } from "react";
|
|
7
7
|
import oe from "react-dom";
|
|
8
|
-
import { $ as H, r as le, j as ne } from "./useHover-
|
|
8
|
+
import { $ as H, r as le, j as ne } from "./useHover-DjIHtjGN.js";
|
|
9
9
|
import { $ as ae } from "./filterDOMProps-D6KHYVBX.js";
|
|
10
10
|
import './assets/Tooltip.css';const w = /* @__PURE__ */ c.createContext(null);
|
|
11
11
|
function ie(t) {
|
|
@@ -34,7 +34,7 @@ function ce() {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function fe(t) {
|
|
38
38
|
let { modalProviderProps: r } = ce();
|
|
39
39
|
return /* @__PURE__ */ c.createElement("div", {
|
|
40
40
|
"data-overlay-container": !0,
|
|
@@ -42,8 +42,8 @@ function de(t) {
|
|
|
42
42
|
...r
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
return /* @__PURE__ */ c.createElement(ie, null, /* @__PURE__ */ c.createElement(
|
|
45
|
+
function de(t) {
|
|
46
|
+
return /* @__PURE__ */ c.createElement(ie, null, /* @__PURE__ */ c.createElement(fe, t));
|
|
47
47
|
}
|
|
48
48
|
function ue(t) {
|
|
49
49
|
let r = q(), { portalContainer: e = r ? null : document.body, ...n } = t, { getContainer: a } = W();
|
|
@@ -52,7 +52,7 @@ function ue(t) {
|
|
|
52
52
|
}, [
|
|
53
53
|
e
|
|
54
54
|
]), !e) return null;
|
|
55
|
-
let i = /* @__PURE__ */ c.createElement(
|
|
55
|
+
let i = /* @__PURE__ */ c.createElement(de, n);
|
|
56
56
|
return /* @__PURE__ */ oe.createPortal(i, e);
|
|
57
57
|
}
|
|
58
58
|
function se(t, r) {
|
|
@@ -71,7 +71,7 @@ function se(t, r) {
|
|
|
71
71
|
function $e(t, r, e) {
|
|
72
72
|
let { isDisabled: n, trigger: a } = t, i = G(), l = m(!1), o = m(!1), u = () => {
|
|
73
73
|
(l.current || o.current) && r.open(o.current);
|
|
74
|
-
},
|
|
74
|
+
}, f = (g) => {
|
|
75
75
|
!l.current && !o.current && r.close(g);
|
|
76
76
|
};
|
|
77
77
|
O(() => {
|
|
@@ -89,13 +89,13 @@ function $e(t, r, e) {
|
|
|
89
89
|
let b = () => {
|
|
90
90
|
a !== "focus" && (le() === "pointer" ? l.current = !0 : l.current = !1, u());
|
|
91
91
|
}, v = () => {
|
|
92
|
-
a !== "focus" && (o.current = !1, l.current = !1,
|
|
92
|
+
a !== "focus" && (o.current = !1, l.current = !1, f());
|
|
93
93
|
}, x = () => {
|
|
94
|
-
o.current = !1, l.current = !1,
|
|
94
|
+
o.current = !1, l.current = !1, f(!0);
|
|
95
95
|
}, T = () => {
|
|
96
96
|
ne() && (o.current = !0, u());
|
|
97
|
-
},
|
|
98
|
-
o.current = !1, l.current = !1,
|
|
97
|
+
}, d = () => {
|
|
98
|
+
o.current = !1, l.current = !1, f(!0);
|
|
99
99
|
}, { hoverProps: k } = H({
|
|
100
100
|
isDisabled: n,
|
|
101
101
|
onHoverStart: b,
|
|
@@ -103,7 +103,7 @@ function $e(t, r, e) {
|
|
|
103
103
|
}), { focusableProps: A } = ee({
|
|
104
104
|
isDisabled: n,
|
|
105
105
|
onFocus: T,
|
|
106
|
-
onBlur:
|
|
106
|
+
onBlur: d
|
|
107
107
|
}, e);
|
|
108
108
|
return {
|
|
109
109
|
triggerProps: {
|
|
@@ -119,23 +119,23 @@ function $e(t, r, e) {
|
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
|
-
const pe = 1500,
|
|
122
|
+
const pe = 1500, D = 500;
|
|
123
123
|
let $ = {}, be = 0, P = !1, s = null, p = null;
|
|
124
124
|
function B(t = {}) {
|
|
125
|
-
let { delay: r = pe, closeDelay: e =
|
|
125
|
+
let { delay: r = pe, closeDelay: e = D } = t, { isOpen: n, open: a, close: i } = j(t), l = L(() => `${++be}`, []), o = m(null), u = m(i), f = () => {
|
|
126
126
|
$[l] = x;
|
|
127
127
|
}, b = () => {
|
|
128
|
-
for (let
|
|
128
|
+
for (let d in $) d !== l && ($[d](!0), delete $[d]);
|
|
129
129
|
}, v = () => {
|
|
130
|
-
o.current && clearTimeout(o.current), o.current = null, b(),
|
|
131
|
-
}, x = (
|
|
132
|
-
|
|
130
|
+
o.current && clearTimeout(o.current), o.current = null, b(), f(), P = !0, a(), s && (clearTimeout(s), s = null), p && (clearTimeout(p), p = null);
|
|
131
|
+
}, x = (d) => {
|
|
132
|
+
d || e <= 0 ? (o.current && clearTimeout(o.current), o.current = null, u.current()) : o.current || (o.current = setTimeout(() => {
|
|
133
133
|
o.current = null, u.current();
|
|
134
134
|
}, e)), s && (clearTimeout(s), s = null), P && (p && clearTimeout(p), p = setTimeout(() => {
|
|
135
135
|
delete $[l], p = null, P = !1;
|
|
136
|
-
}, Math.max(
|
|
136
|
+
}, Math.max(D, e)));
|
|
137
137
|
}, T = () => {
|
|
138
|
-
b(),
|
|
138
|
+
b(), f(), !n && !s && !P ? s = setTimeout(() => {
|
|
139
139
|
s = null, P = !0, v();
|
|
140
140
|
}, r) : n || v();
|
|
141
141
|
};
|
|
@@ -149,8 +149,8 @@ function B(t = {}) {
|
|
|
149
149
|
l
|
|
150
150
|
]), {
|
|
151
151
|
isOpen: n,
|
|
152
|
-
open: (
|
|
153
|
-
!
|
|
152
|
+
open: (d) => {
|
|
153
|
+
!d && r > 0 && !o.current ? T() : v();
|
|
154
154
|
},
|
|
155
155
|
close: x
|
|
156
156
|
};
|
|
@@ -207,7 +207,7 @@ function xe(t) {
|
|
|
207
207
|
arrowBoundaryOffset: t.arrowBoundaryOffset,
|
|
208
208
|
shouldFlip: t.shouldFlip,
|
|
209
209
|
onClose: () => r.close(!0)
|
|
210
|
-
}), u = V(t.tooltipRef, !!o) || t.isEntering || !1,
|
|
210
|
+
}), u = V(t.tooltipRef, !!o) || t.isEntering || !1, f = Z({
|
|
211
211
|
...t,
|
|
212
212
|
defaultClassName: "react-aria-Tooltip",
|
|
213
213
|
values: {
|
|
@@ -222,10 +222,10 @@ function xe(t) {
|
|
|
222
222
|
return /* @__PURE__ */ c.createElement("div", {
|
|
223
223
|
...b,
|
|
224
224
|
ref: t.tooltipRef,
|
|
225
|
-
...
|
|
225
|
+
...f,
|
|
226
226
|
style: {
|
|
227
227
|
...i.style,
|
|
228
|
-
...
|
|
228
|
+
...f.style
|
|
229
229
|
},
|
|
230
230
|
"data-placement": o ?? void 0,
|
|
231
231
|
"data-entering": u || void 0,
|
|
@@ -236,20 +236,20 @@ function xe(t) {
|
|
|
236
236
|
placement: o,
|
|
237
237
|
ref: e
|
|
238
238
|
}
|
|
239
|
-
},
|
|
239
|
+
}, f.children));
|
|
240
240
|
}
|
|
241
|
-
const ge = "_tooltip_1l8u8_4", Pe = "_arrow_1l8u8_17",
|
|
241
|
+
const ge = "_tooltip_1l8u8_4", Pe = "_arrow_1l8u8_17", S = {
|
|
242
242
|
tooltip: ge,
|
|
243
243
|
arrow: Pe
|
|
244
244
|
};
|
|
245
|
-
function
|
|
245
|
+
function Se({ children: t, className: r, ...e }) {
|
|
246
246
|
return /* @__PURE__ */ F(
|
|
247
247
|
ve,
|
|
248
248
|
{
|
|
249
|
-
className: N(
|
|
249
|
+
className: N(S.tooltip, r),
|
|
250
250
|
...e,
|
|
251
251
|
children: [
|
|
252
|
-
/* @__PURE__ */ h(Y, { className:
|
|
252
|
+
/* @__PURE__ */ h(Y, { className: S.arrow, children: /* @__PURE__ */ h(
|
|
253
253
|
"svg",
|
|
254
254
|
{
|
|
255
255
|
width: 8,
|
|
@@ -278,6 +278,6 @@ function _e({
|
|
|
278
278
|
);
|
|
279
279
|
}
|
|
280
280
|
export {
|
|
281
|
-
|
|
281
|
+
Se as T,
|
|
282
282
|
_e as a
|
|
283
283
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Tooltip.css');const T=require("react/jsx-runtime"),_=require("./clsx-C11secjj.cjs"),x=require("./OverlayArrow-D75k-EMl.cjs"),$=require("./utils-BNtZbAib.cjs"),
|
|
1
|
+
"use strict";require('./assets/Tooltip.css');const T=require("react/jsx-runtime"),_=require("./clsx-C11secjj.cjs"),x=require("./OverlayArrow-D75k-EMl.cjs"),$=require("./utils-BNtZbAib.cjs"),S=require("./useFocusable-NUVSFcRC.cjs"),o=require("react"),B=require("react-dom"),h=require("./useHover-_mv5J4_q.cjs"),I=require("./filterDOMProps-BS2lrgFA.cjs"),w=o.createContext(null);function j(t){let{children:r}=t,e=o.useContext(w),[a,i]=o.useState(0),c=o.useMemo(()=>({parent:e,modalCount:a,addModal(){i(l=>l+1),e&&e.addModal()},removeModal(){i(l=>l-1),e&&e.removeModal()}}),[e,a]);return o.createElement(w.Provider,{value:c},r)}function A(){let t=o.useContext(w);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:void 0}}}function F(t){let{modalProviderProps:r}=A();return o.createElement("div",{"data-overlay-container":!0,...t,...r})}function N(t){return o.createElement(j,null,o.createElement(F,t))}function W(t){let r=$.$b5e257d569688ac6$export$535bd6ca7f90a273(),{portalContainer:e=r?null:document.body,...a}=t,{getContainer:i}=x.$96b38030c423d352$export$9fc1347d4195ccb3();if(!t.portalContainer&&i&&(e=i()),o.useEffect(()=>{if(e!=null&&e.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[e]),!e)return null;let c=o.createElement(N,a);return B.createPortal(c,e)}function k(t,r){let e=I.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),{hoverProps:a}=h.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:()=>r==null?void 0:r.open(!0),onHoverEnd:()=>r==null?void 0:r.close()});return{tooltipProps:$.$3ef42575df84b30b$export$9d1611c77c2fe928(e,a,{role:"tooltip"})}}function U(t,r,e){let{isDisabled:a,trigger:i}=t,c=$.$bdb11010cef70236$export$f680877a34711e37(),l=o.useRef(!1),n=o.useRef(!1),d=()=>{(l.current||n.current)&&r.open(n.current)},u=P=>{!l.current&&!n.current&&r.close(P)};o.useEffect(()=>{let P=y=>{e&&e.current&&y.key==="Escape"&&(y.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",P,!0),()=>{document.removeEventListener("keydown",P,!0)}},[e,r]);let m=()=>{i!=="focus"&&(h.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"?l.current=!0:l.current=!1,d())},v=()=>{i!=="focus"&&(n.current=!1,l.current=!1,u())},g=()=>{n.current=!1,l.current=!1,u(!0)},O=()=>{h.$507fabe10e71c6fb$export$b9b3dfddab17db27()&&(n.current=!0,d())},f=()=>{n.current=!1,l.current=!1,u(!0)},{hoverProps:H}=h.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:a,onHoverStart:m,onHoverEnd:v}),{focusableProps:L}=S.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:a,onFocus:O,onBlur:f},e);return{triggerProps:{"aria-describedby":r.isOpen?c:void 0,...$.$3ef42575df84b30b$export$9d1611c77c2fe928(L,H,{onPointerDown:g,onKeyDown:g,tabIndex:void 0})},tooltipProps:{id:c}}}const K=1500,R=500;let p={},V=0,E=!1,s=null,b=null;function M(t={}){let{delay:r=K,closeDelay:e=R}=t,{isOpen:a,open:i,close:c}=x.$fc909762b330b746$export$61c6a8c84e605fb6(t),l=o.useMemo(()=>`${++V}`,[]),n=o.useRef(null),d=o.useRef(c),u=()=>{p[l]=g},m=()=>{for(let f in p)f!==l&&(p[f](!0),delete p[f])},v=()=>{n.current&&clearTimeout(n.current),n.current=null,m(),u(),E=!0,i(),s&&(clearTimeout(s),s=null),b&&(clearTimeout(b),b=null)},g=f=>{f||e<=0?(n.current&&clearTimeout(n.current),n.current=null,d.current()):n.current||(n.current=setTimeout(()=>{n.current=null,d.current()},e)),s&&(clearTimeout(s),s=null),E&&(b&&clearTimeout(b),b=setTimeout(()=>{delete p[l],b=null,E=!1},Math.max(R,e)))},O=()=>{m(),u(),!a&&!s&&!E?s=setTimeout(()=>{s=null,E=!0,v()},r):a||v()};return o.useEffect(()=>{d.current=c},[c]),o.useEffect(()=>()=>{n.current&&clearTimeout(n.current),p[l]&&delete p[l]},[l]),{isOpen:a,open:f=>{!f&&r>0&&!n.current?O():v()},close:g}}const C=o.createContext(null),q=o.createContext(null);function z(t){let r=M(t),e=o.useRef(null),{triggerProps:a,tooltipProps:i}=U(t,r,e);return o.createElement($.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[C,r],[q,{...i,triggerRef:e}]]},o.createElement(S.$f645667febf57a63$export$13f3202a3e5ddd5,{...a,ref:e},t.children))}const Y=o.forwardRef(function({UNSTABLE_portalContainer:r,...e},a){[e,a]=$.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,q);let i=o.useContext(C),c=M(e),l=e.isOpen!=null||e.defaultOpen!=null||!i?c:i,n=x.$d3f049242431219c$export$45fda7c47f93fd48(a,l.isOpen)||e.isExiting||!1;return!l.isOpen&&!n?null:o.createElement(W,{portalContainer:r},o.createElement(G,{...e,tooltipRef:a,isExiting:n}))});function G(t){let r=o.useContext(C),e=o.useRef(null),[a,i]=o.useState(0);$.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{e.current&&r.isOpen&&i(e.current.getBoundingClientRect().width)},[r.isOpen,e]);let{overlayProps:c,arrowProps:l,placement:n}=x.$2a41e45df1593e64$export$d39e1813b3bdd0e1({placement:t.placement||"top",targetRef:t.triggerRef,overlayRef:t.tooltipRef,offset:t.offset,crossOffset:t.crossOffset,isOpen:r.isOpen,arrowSize:a,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip,onClose:()=>r.close(!0)}),d=x.$d3f049242431219c$export$6d3443f2c48bfc20(t.tooltipRef,!!n)||t.isEntering||!1,u=$.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Tooltip",values:{placement:n,isEntering:d,isExiting:t.isExiting,state:r}});t=$.$3ef42575df84b30b$export$9d1611c77c2fe928(t,c);let{tooltipProps:m}=k(t,r);return o.createElement("div",{...m,ref:t.tooltipRef,...u,style:{...c.style,...u.style},"data-placement":n??void 0,"data-entering":d||void 0,"data-exiting":t.isExiting||void 0},o.createElement(x.$44f671af83e7d9e0$export$2de4954e8ae13b9f.Provider,{value:{...l,placement:n,ref:e}},u.children))}const J="_tooltip_1l8u8_4",Q="_arrow_1l8u8_17",D={tooltip:J,arrow:Q};function X({children:t,className:r,...e}){return T.jsxs(Y,{className:_.clsx(D.tooltip,r),...e,children:[T.jsx(x.$44f671af83e7d9e0$export$746d02f47f4d381,{className:D.arrow,children:T.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:T.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),t]})}function Z({children:t,delay:r=0,...e}){return T.jsx(z,{delay:r,...e,children:t})}exports.Tooltip=X;exports.TooltipTrigger=Z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./utils-BNtZbAib.cjs"),o=require("react")
|
|
1
|
+
"use strict";const u=require("./utils-BNtZbAib.cjs"),o=require("react"),f=require("./useFocusRing-CbImDrwF.cjs"),n={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function a(t={}){let{style:e,isFocusable:s}=t,[i,l]=o.useState(!1),{focusWithinProps:c}=f.$9ab94262bd0047c7$export$420e68273165f4ec({isDisabled:!s,onFocusWithinChange:d=>l(d)}),r=o.useMemo(()=>i?e:e?{...n,...e}:n,[i]);return{visuallyHiddenProps:{...c,style:r}}}function $(t){let{children:e,elementType:s="div",isFocusable:i,style:l,...c}=t,{visuallyHiddenProps:r}=a(t);return o.createElement(s,u.$3ef42575df84b30b$export$9d1611c77c2fe928(c,r),e)}exports.$5c3e21d68f1c4674$export$439d29a4e110a164=$;exports.$5c3e21d68f1c4674$export$a966af930f325cab=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as n } from "./utils-DIMfEPAt.js";
|
|
2
2
|
import d, { useState as u, useMemo as p } from "react";
|
|
3
|
-
import { a as f } from "./useFocusRing-
|
|
3
|
+
import { a as f } from "./useFocusRing-XnR3cZjO.js";
|
|
4
4
|
const a = {
|
|
5
5
|
border: 0,
|
|
6
6
|
clip: "rect(0 0 0 0)",
|
|
@@ -14,10 +14,10 @@ const a = {
|
|
|
14
14
|
whiteSpace: "nowrap"
|
|
15
15
|
};
|
|
16
16
|
function $(t = {}) {
|
|
17
|
-
let { style: e, isFocusable: s } = t, [i,
|
|
17
|
+
let { style: e, isFocusable: s } = t, [i, r] = u(!1), { focusWithinProps: o } = f({
|
|
18
18
|
isDisabled: !s,
|
|
19
|
-
onFocusWithinChange: (c) =>
|
|
20
|
-
}),
|
|
19
|
+
onFocusWithinChange: (c) => r(c)
|
|
20
|
+
}), l = p(() => i ? e : e ? {
|
|
21
21
|
...a,
|
|
22
22
|
...e
|
|
23
23
|
} : a, [
|
|
@@ -26,13 +26,13 @@ function $(t = {}) {
|
|
|
26
26
|
return {
|
|
27
27
|
visuallyHiddenProps: {
|
|
28
28
|
...o,
|
|
29
|
-
style:
|
|
29
|
+
style: l
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
function y(t) {
|
|
34
|
-
let { children: e, elementType: s = "div", isFocusable: i, style:
|
|
35
|
-
return /* @__PURE__ */ d.createElement(s, n(o,
|
|
34
|
+
let { children: e, elementType: s = "div", isFocusable: i, style: r, ...o } = t, { visuallyHiddenProps: l } = $(t);
|
|
35
|
+
return /* @__PURE__ */ d.createElement(s, n(o, l), e);
|
|
36
36
|
}
|
|
37
37
|
export {
|
|
38
38
|
y as $,
|
package/accordion/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../AccordionItem-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../AccordionItem-BGWiWjxA.cjs");exports.Accordion=o.Accordion;exports.AccordionItem=o.AccordionItem;
|
package/accordion/index.js
CHANGED
package/assets/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_cz5bk_4{--border-width: 1px;font-family:Inter,sans-serif;font-size:1rem;font-weight:500;padding:calc(.875rem - var(--border-width)) calc(2rem - var(--border-width));line-height:1.25rem;background-color:light-dark(#143c50,#2e7ca5);border:solid var(--border-width) transparent;color:light-dark(#ffffff,#ffffff);cursor:pointer;opacity:1;outline:none;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:.5rem}._button_cz5bk_4[data-focus-visible],._button_cz5bk_4:focus-visible{box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (forced-colors: active){._button_cz5bk_4[data-focus-visible],._button_cz5bk_4:focus-visible{outline:3px solid highlight;outline-offset:2px}}._button_cz5bk_4[data-hovered]{background-color:light-dark(#25607f,#25607f)}._button_cz5bk_4[data-pressed]{background-color:light-dark(#2e7ca5,#143c50);outline:none}._button_cz5bk_4[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed;background-color:light-dark(#f2f2f2,#262626)}._secondary_cz5bk_51{color:light-dark(#143c50,#f2f2f2);background-color:light-dark(#ffffff,#171717);border-color:light-dark(light-dark(#143c50,#2e7ca5),#f2f2f2);opacity:1}._secondary_cz5bk_51[data-hovered]{background-color:light-dark(#e6e6e6,#212121)}._secondary_cz5bk_51[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed;background-color:light-dark(#f2f2f2,#262626);border-color:light-dark(#bfbfbf,#525252)}._secondary_cz5bk_51[data-pressed]{background-color:light-dark(#d9d9d9,#262626);border-color:light-dark(#143c50,#f2f2f2)}._tertiary_cz5bk_74{color:light-dark(#143c50,#f2f2f2);background-color:transparent;opacity:1}._tertiary_cz5bk_74[data-hovered]{background-color:light-dark(#e6e6e6,#212121)}._tertiary_cz5bk_74[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed;background-color:#fff}._tertiary_cz5bk_74[data-pressed]{background-color:light-dark(#d9d9d9,#262626)}._iconBtn_cz5bk_94{background-color:transparent;padding:calc(.875rem - var(--border-width));color:light-dark(#171717,#f2f2f2);display:flex;align-items:center}._iconBtn_cz5bk_94[data-hovered]{background-color:light-dark(rgba(0 0 0 / 10%),rgba(255 255 255 / 10%))}._iconBtn_cz5bk_94[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed}._iconBtn_cz5bk_94[data-pressed]{background-color:light-dark(rgba(0 0 0 / 20%),rgba(255 255 255 / 20%))}._iconBtn_cz5bk_94._medium_cz5bk_114{padding:calc(.625rem - var(--border-width))}._danger_cz5bk_119{color:#fff;background-color:light-dark(#e62323,#e62323);opacity:1}._danger_cz5bk_119[data-hovered]{color:#fff;background-color:light-dark(#bc1d1d,#bc1d1d)}._danger_cz5bk_119[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed;background-color:light-dark(#f2f2f2,#262626)}._danger_cz5bk_119[data-pressed]{background-color:light-dark(#7d1313,#7d1313);outline:none}._iconRight_cz5bk_141{flex-direction:row-reverse}._fullwidth_cz5bk_145{width:100%}._medium_cz5bk_114{padding:calc(.625rem - var(--border-width)) calc(1rem - var(--border-width))}@media (forced-colors: active){._primary_cz5bk_155{border-width:2px}}
|
package/assets/Label.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._labelBase_khdpe_4{color:light-dark(#171717,#f2f2f2);font-family:Inter,sans-serif;margin-bottom:.25rem;font-size:1rem;line-height:1.25rem;font-weight:500}._labelBase_khdpe_4:has(~[data-disabled]){color:light-dark(#bfbfbf,#525252)}[data-disabled]>._labelBase_khdpe_4{color:light-dark(#bfbfbf,#525252)}[data-disabled]{color:light-dark(#bfbfbf,#525252)}._labelPopover_1ici8_4{display:flex;align-items:center;gap:.25rem}._labelPopoverTrigger_1ici8_10{padding:0!important;margin-bottom:.125rem}._labelPopoverTrigger_1ici8_10 svg{stroke:light-dark(#0066cc,#0066cc)}
|
package/assets/LinkButton.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._linkButton_qz9cn_4{--border-width: 1px;font-family:Inter,sans-serif;font-size:1rem;font-weight:500;padding:calc(.875rem - var(--border-width)) calc(1rem - var(--border-width));background-color:light-dark(#143c50,#2e7ca5);border:solid var(--border-width) transparent;color:light-dark(#ffffff,#ffffff);cursor:pointer;outline:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;text-decoration:none;line-height:1}._linkButton_qz9cn_4[data-hovered]:not(:disabled,[data-disabled]),._linkButton_qz9cn_4:hover:not(:disabled,[data-disabled]){text-decoration:none;background-color:light-dark(#25607f,#25607f);color:light-dark(#ffffff,#ffffff)}._linkButton_qz9cn_4[data-pressed],._linkButton_qz9cn_4:active{background-color:light-dark(#2e7ca5,#143c50);outline:none}._linkButton_qz9cn_4[data-focus-visible],._linkButton_qz9cn_4:focus-visible{box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (forced-colors: active){._linkButton_qz9cn_4[data-focus-visible],._linkButton_qz9cn_4:focus-visible{outline:3px solid highlight;outline-offset:2px}}._linkButton_qz9cn_4[data-disabled],._linkButton_qz9cn_4:disabled{color:light-dark(#bfbfbf,#525252);cursor:not-allowed;background-color:light-dark(#f2f2f2,#262626)}._secondary_qz9cn_55{color:light-dark(#143c50,#f2f2f2);background-color:light-dark(#ffffff,#171717);border-color:light-dark(light-dark(#143c50,#2e7ca5),#f2f2f2)}._secondary_qz9cn_55 ._icon_qz9cn_60{color:light-dark(#143c50,#f2f2f2)}._secondary_qz9cn_55[data-hovered]:not(:disabled,[data-disabled]),._secondary_qz9cn_55:hover:not(:disabled,[data-disabled]){color:light-dark(#143c50,#f2f2f2);background-color:light-dark(#e6e6e6,#212121)}._secondary_qz9cn_55[data-disabled],._secondary_qz9cn_55:disabled{border-color:light-dark(#bfbfbf,#525252)}._secondary_qz9cn_55[data-disabled] ._icon_qz9cn_60,._secondary_qz9cn_55:disabled ._icon_qz9cn_60{color:light-dark(#bfbfbf,#525252)}._secondary_qz9cn_55[data-pressed],._secondary_qz9cn_55:active{background-color:light-dark(#d9d9d9,#262626)}._tertiary_qz9cn_85{color:light-dark(#143c50,#f2f2f2);background-color:transparent;opacity:1}._tertiary_qz9cn_85[data-hovered]:not(:disabled,[data-disabled]),._tertiary_qz9cn_85:hover:not(:disabled,[data-disabled]){color:light-dark(#143c50,#f2f2f2);background-color:light-dark(#e6e6e6,#212121)}._tertiary_qz9cn_85[data-pressed],._tertiary_qz9cn_85:active{background-color:light-dark(#d9d9d9,#262626)}._danger_qz9cn_102{color:#fff;background-color:light-dark(#e62323,#e62323);opacity:1}._danger_qz9cn_102[data-hovered]:not(:disabled,[data-disabled]),._danger_qz9cn_102:hover:not(:disabled,[data-disabled]){background-color:light-dark(#bc1d1d,#bc1d1d)}._danger_qz9cn_102[data-pressed],._danger_qz9cn_102:active{background-color:light-dark(#7d1313,#7d1313);outline:none}._iconBtn_qz9cn_119{background-color:transparent;padding:calc(.875rem - var(--border-width));color:light-dark(#143c50,#f2f2f2);display:flex;align-items:center}._iconBtn_qz9cn_119[data-hovered]:not(:disabled,[data-disabled]),._iconBtn_qz9cn_119:hover:not(:disabled,[data-disabled]){background-color:light-dark(rgba(0 0 0 / 10%),rgba(255 255 255 / 10%))}._iconBtn_qz9cn_119[data-disabled],._iconBtn_qz9cn_119:disabled{color:light-dark(#bfbfbf,#525252)}._iconBtn_qz9cn_119[data-pressed],._iconBtn_qz9cn_119:active{background-color:light-dark(#d9d9d9,#262626)}._iconBtn_qz9cn_119._medium_qz9cn_141{padding:calc(.625rem - var(--border-width))}._iconLeft_qz9cn_146{flex-direction:row-reverse}._fullwidth_qz9cn_150{width:100%}._medium_qz9cn_141{padding:calc(.625rem - var(--border-width)) calc(1rem - var(--border-width))}@media (max-width: 479px){._button_qz9cn_160{width:100%}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._popover_8b5s3_4{font-family:Inter,sans-serif;font-size:.875rem;padding:1rem;color:light-dark(#171717,#f2f2f2);background-color:light-dark(#f2f2f2,#262626);outline:none;transform:translateZ(0);box-shadow:0 4px 5px #0003;max-width:260px;transition:transform .2s,opacity .2s}._popover_8b5s3_4 ._arrow_8b5s3_18 svg{display:block;fill:light-dark(#f2f2f2,#262626)}._popover_8b5s3_4[data-entering],._popover_8b5s3_4[data-exiting]{transform:var(--origin);opacity:0}._popover_8b5s3_4[data-placement=top]{margin-bottom:8px;--origin: translateY(4px)}._popover_8b5s3_4[data-placement=bottom]{margin-top:8px;--origin: translateY(-4px)}._popover_8b5s3_4[data-placement=bottom] ._arrow_8b5s3_18 svg{transform:rotate(180deg)}._popover_8b5s3_4[data-placement=right]{margin-left:8px;--origin: translateX(-4px)}._popover_8b5s3_4[data-placement=right] ._arrow_8b5s3_18 svg{transform:rotate(90deg)}._popover_8b5s3_4[data-placement=left]{margin-right:8px;--origin: translateX(4px)}._popover_8b5s3_4[data-placement=left] ._arrow_8b5s3_18 svg{transform:rotate(-90deg)}
|
package/badge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../BadgeContainer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../BadgeContainer-I1XA3OCl.cjs");exports.Badge=e.Badge;exports.BadgeContainer=e.BadgeContainer;
|
package/badge/index.js
CHANGED
package/breadcrumbs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-DtjJ1UmU.cjs");exports.Breadcrumbs=e.Breadcrumbs;
|
package/breadcrumbs/index.js
CHANGED
package/button/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-BoJl6JGM.cjs"),o=require("../ButtonGroup-DUqW5dzM.cjs");exports.Button=t.Button;exports.ButtonGroup=o.ButtonGroup;
|
package/button/index.js
CHANGED
package/calendar/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-BehUaydF.cjs");exports.Calendar=e.Calendar;exports.RangeCalendar=e.RangeCalendar;
|
package/calendar/index.js
CHANGED
package/card/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-0G0mj9q5.cjs");exports.Card=r.Card;exports.CardActionArea=r.CardActionArea;exports.CardActions=r.CardActions;exports.CardContent=r.CardContent;exports.CardImage=r.CardImage;exports.CardLink=r.CardLink;exports.CardTitle=r.CardTitle;
|
package/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CharacterCounter-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CharacterCounter-CHcTDHO-.cjs");exports.CharacterCounter=e.CharacterCounter;
|
package/checkbox/Checkbox.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Checkbox: (
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<import('react-aria').AriaCheckboxProps & import('react-aria-components').SlotProps & React.RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
description?: string;
|
|
1
|
+
import { AriaCheckboxGroupProps } from 'react-aria';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface CheckboxGroupProps extends AriaCheckboxGroupProps {
|
|
5
|
+
children: React.ReactNode;
|
|
7
6
|
showSelectAll?: boolean;
|
|
8
|
-
|
|
7
|
+
selectAllLabel?: string;
|
|
9
8
|
errorPosition?: 'top' | 'bottom';
|
|
9
|
+
popover?: InfoPopoverProps;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare function CheckboxGroup(props: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
2
|
+
import { CheckboxGroupProps } from './CheckboxGroup';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface CheckboxGroupFieldErrorProps extends CheckboxGroupProps {
|
|
5
|
+
state: CheckboxGroupState;
|
|
6
|
+
}
|
|
7
|
+
export declare const CheckboxGroupFieldError: React.FC<CheckboxGroupFieldErrorProps>;
|
|
8
|
+
export {};
|
package/checkbox/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox-DqcPg5hz.cjs"),o=require("../CheckboxGroup-BBrSMuDY.cjs");exports.Checkbox=e.Checkbox;exports.CheckboxGroup=o.CheckboxGroup;
|
package/checkbox/index.d.ts
CHANGED
package/checkbox/index.js
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en-US": { "selectAll": "Select all" },
|
|
3
|
+
"en-GB": { "selectAll": "Select all" },
|
|
4
|
+
"es-ES": { "selectAll": "Seleccionar todos" },
|
|
5
|
+
"es-MX": { "selectAll": "Seleccionar todos" },
|
|
6
|
+
"fr-FR": { "selectAll": "Tout sélectionner" },
|
|
7
|
+
"fr-CA": { "selectAll": "Tout sélectionner" },
|
|
8
|
+
"de-DE": { "selectAll": "Alle auswählen" },
|
|
9
|
+
"it-IT": { "selectAll": "Seleziona tutti" },
|
|
10
|
+
"pt-PT": { "selectAll": "Selecionar todos" },
|
|
11
|
+
"pt-BR": { "selectAll": "Selecionar todos" },
|
|
12
|
+
"ru-RU": { "selectAll": "Выбрать все" },
|
|
13
|
+
"zh-CN": { "selectAll": "全选" },
|
|
14
|
+
"zh-TW": { "selectAll": "全選" },
|
|
15
|
+
"ja-JP": { "selectAll": "すべて選択" },
|
|
16
|
+
"ko-KR": { "selectAll": "전체 선택" },
|
|
17
|
+
"ar-SA": { "selectAll": "تحديد الكل" },
|
|
18
|
+
"hi-IN": { "selectAll": "सभी चुनें" },
|
|
19
|
+
"tr-TR": { "selectAll": "Tümünü seç" },
|
|
20
|
+
"nl-NL": { "selectAll": "Alles selecteren" },
|
|
21
|
+
"sv-SE": { "selectAll": "Välj alla" },
|
|
22
|
+
"fi-FI": { "selectAll": "Valitse kaikki" },
|
|
23
|
+
"no-NO": { "selectAll": "Velg alle" },
|
|
24
|
+
"da-DK": { "selectAll": "Vælg alle" },
|
|
25
|
+
"pl-PL": { "selectAll": "Zaznacz wszystkie" },
|
|
26
|
+
"cs-CZ": { "selectAll": "Vybrat vše" },
|
|
27
|
+
"he-IL": { "selectAll": "בחר הכול" },
|
|
28
|
+
"th-TH": { "selectAll": "เลือกทั้งหมด" },
|
|
29
|
+
"vi-VN": { "selectAll": "Chọn tất cả" },
|
|
30
|
+
"id-ID": { "selectAll": "Pilih semua" },
|
|
31
|
+
"uk-UA": { "selectAll": "Вибрати все" }
|
|
32
|
+
}
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AriaCheckboxProps, CheckboxAria, FocusRingAria, HoverResult, PressResult } from 'react-aria';
|
|
2
|
+
import { SlotProps } from 'react-aria-components';
|
|
3
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
4
|
+
export type CheckboxProps = AriaCheckboxProps & SlotProps;
|
|
5
|
+
export interface CheckboxComponentProps extends CheckboxProps {
|
|
6
|
+
focusRingAria: FocusRingAria;
|
|
7
|
+
pressResult: PressResult;
|
|
8
|
+
hoverResult: HoverResult;
|
|
9
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
10
|
+
}
|
|
11
|
+
export interface CheckboxGroupItemProps extends CheckboxComponentProps {
|
|
12
|
+
state: CheckboxGroupState;
|
|
13
|
+
}
|
|
14
|
+
export type CheckboxInnerProps = CheckboxComponentProps & CheckboxAria;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const useSelectAll: (children: React.ReactNode, { value: selectedItems }: CheckboxGroupState) => {
|
|
4
|
+
allSelected: boolean;
|
|
5
|
+
someSelected: boolean;
|
|
6
|
+
checkboxValues: string[];
|
|
7
|
+
};
|
|
@@ -5,7 +5,7 @@ import { c as e } from "./createLucideIcon-DeWljiyi.js";
|
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const r = e("CircleAlert", [
|
|
9
9
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
10
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
11
11
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
@@ -16,23 +16,11 @@ const y = e("CircleAlert", [
|
|
|
16
16
|
* This source code is licensed under the ISC license.
|
|
17
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const y = e("CircleCheck", [
|
|
20
20
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
21
21
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
22
22
|
]);
|
|
23
|
-
/**
|
|
24
|
-
* @license lucide-react v0.453.0 - ISC
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the ISC license.
|
|
27
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
const l = e("Info", [
|
|
30
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
31
|
-
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
32
|
-
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
33
|
-
]);
|
|
34
23
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
r as a
|
|
24
|
+
r as C,
|
|
25
|
+
y as a
|
|
38
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-
|
|
1
|
+
"use strict";const e=require("./createLucideIcon-Cg_wkoIA.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8,9 +8,4 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const r=e.createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])
|
|
12
|
-
* @license lucide-react v0.453.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const i=e.createLucideIcon("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);exports.CircleAlert=c;exports.CircleCheck=r;exports.Info=i;
|
|
11
|
+
*/const r=e.createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);exports.CircleAlert=c;exports.CircleCheck=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ColorSchemeSwitch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ColorSchemeSwitch-C-qWuqkU.cjs");exports.ColorSchemeSwitch=e.ColorSchemeSwitch;
|