@midas-ds/components 12.0.0 → 12.1.1
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-CV9Hrare.cjs +1 -0
- package/AccordionItem-Dd9VLdsb.js +335 -0
- package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
- package/BadgeContainer-su0iCJKy.cjs +1 -0
- package/Breadcrumbs-BQLxFZVm.cjs +1 -0
- package/Breadcrumbs-C6B4fyk3.js +271 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-akT6Hvug.js → Button-CUMHt7MG.js} +2 -2
- package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
- package/{Button-DQm2iqKU.cjs → Button-D_tRdPW9.cjs} +1 -1
- package/Button.module-BT9wZenr.cjs +1 -0
- package/Button.module-CGIVvzVm.js +14 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-DC8925jD.js} +1 -1
- package/ButtonGroup-zx-9mxbJ.cjs +1 -0
- package/CHANGELOG.md +82 -0
- package/{Card-CwwVnA_a.js → Card-D2UbrhDW.js} +42 -42
- package/Card-UolcSL5O.cjs +1 -0
- package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/CharacterCounter-DT7A0wWP.js +22 -0
- package/Checkbox-DTuryJdM.js +278 -0
- package/Checkbox-dtZfsSfx.cjs +1 -0
- package/CheckboxGroup-BmCK0XG9.js +157 -0
- package/CheckboxGroup-DbmYdQEv.cjs +1 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-CgZfgCG4.js} +20 -28
- package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-D5juAHPc.cjs} +3 -3
- package/{ComboBox-Dn3tQzri.js → ComboBox-Cl6jBB-8.js} +518 -503
- package/ComboBox-CvD0t2T2.cjs +1 -0
- package/DateField-D2IqGDL5.js +47 -0
- package/DateField-DJAQH95Q.cjs +1 -0
- package/DateInputDivider-BnSo_Aox.cjs +1 -0
- package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-LxS0Kw1H.js} +936 -839
- package/DateRangePicker-CNPXbRqx.js +889 -0
- package/DateRangePicker-CljQy8oD.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-COpVrq8B.js +240 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-doGnVsJJ.cjs +1 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-CJ-sujKv.cjs → Dropdown-C_W6Sizy.cjs} +2 -2
- package/{Dropdown-BWbdSQ9U.js → Dropdown-DbeUiGYo.js} +8 -8
- package/FieldError-Cornph2A.cjs +1 -0
- package/FieldError-DdvFyIf4.js +48 -0
- package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/{Grid-B2av0vt8.js → Grid-BmX6arAO.js} +1 -1
- package/{Grid-Db5wZrw6.cjs → Grid-Bn1bCTH8.cjs} +1 -1
- package/GridItem-BtO9kCX9.js +237 -0
- package/GridItem-luVsL9lu.cjs +1 -0
- package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/InfoBanner-CgmPdsH8.js +83 -0
- package/InfoBanner-Y-f3hKVR.cjs +1 -0
- package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
- package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-ByWt6Lfh.js → Label-C5TNJ0Ku.js} +24 -28
- package/Label-Dp85Vue3.cjs +1 -0
- package/Layout-Bxd0-ao3.cjs +16 -0
- package/Layout-CcXu63hP.js +482 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-ePZ3nrAW.cjs +6 -0
- package/Link-lO-Ke97K.js +60 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-CJyZh3BS.js +69 -0
- package/LinkButton-Cw73pOM2.cjs +6 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-3jGpi90m.cjs +1 -0
- package/ListBoxLoadMoreItem-CIFJ3liN.js +41 -0
- package/ListBoxSection-BBY8-t3_.js +1085 -0
- package/ListBoxSection-BeDwnVZx.cjs +1 -0
- package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
- package/PressResponder-DbnYqwGB.cjs +1 -0
- package/ProgressBar-BYb9d2kC.js +53 -0
- package/ProgressBar-CgbE08QT.cjs +1 -0
- package/Radio-BagVPvJX.cjs +1 -0
- package/Radio-C98ly9yx.js +333 -0
- package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-Bi9jc61A.js} +637 -629
- package/RangeCalendar-KcJooXYf.cjs +6 -0
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-Ma3KB8Em.cjs → SearchField-BA-X9dzb.cjs} +2 -2
- package/{SearchField-B0dlPqsW.js → SearchField-BevjTbcW.js} +52 -56
- package/Select-BECa8IyZ.js +654 -0
- package/Select-xBp51JSl.cjs +1 -0
- package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
- package/SelectionManager-BtbHoHpA.cjs +1 -0
- package/Separator-CM0KPvsX.js +105 -0
- package/Separator-Cfv2pbWf.cjs +1 -0
- package/Separator-DH-5wu9X.js +77 -0
- package/Separator-Dgin8BNW.cjs +1 -0
- package/Skeleton-Iovq135_.js +35 -0
- package/Skeleton-MaBUPqhT.cjs +1 -0
- package/Spinner-BZ7i01Kt.js +47 -0
- package/{Spinner-yHx_DX_4.cjs → Spinner-DxWDMW6e.cjs} +2 -2
- package/TabList-BMyKYLlY.cjs +1 -0
- package/TabList-C0mZgIzV.js +397 -0
- package/Table-BHY1uCZ0.cjs +16 -0
- package/{Table-CTS0J_sQ.js → Table-DzbfeVO7.js} +856 -798
- package/Tag-BYUPXbhG.js +765 -0
- package/Tag-BweDKw1v.cjs +1 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
- package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-CDoLq124.js +125 -0
- package/TextArea-DJCtwrqV.cjs +1 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-CH39P8ZE.js +13 -0
- package/TextField.module-gJ-ruFra.cjs +1 -0
- package/{Toast-BEh5yYzO.cjs → Toast-BN3vRCsH.cjs} +1 -1
- package/{Toast-BnzpC_5v.js → Toast-DZnQTLDr.js} +129 -143
- package/ToggleButtonGroup-CwHPu7w5.js +214 -0
- package/ToggleButtonGroup-DY9S3USc.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
- package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Breadcrumbs.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.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/FileUpload.css +1 -1
- package/assets/GridItem.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 -0
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/ToggleButtonGroup.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/theme.css +1 -1
- package/assets/variables.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 +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/chevron-right-0-sUFBiR.cjs +6 -0
- package/chevron-right-BYYHEJjK.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.d.ts +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +4 -2
- package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
- package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.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/Dropdown.d.ts +18 -0
- 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/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
- package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +140 -125
- package/inertValue-B3AFhVG4.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/ListBoxLoadMoreItem.d.ts +4 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +6 -5
- package/list-box/intl/translations.json.d.ts +11 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +13 -0
- package/menu/MenuItem.d.ts +5 -0
- package/menu/MenuPopover.d.ts +3 -0
- package/menu/MenuSection.d.ts +3 -0
- package/menu/Separator.d.ts +3 -0
- package/menu/index.cjs +1 -0
- package/menu/index.d.ts +5 -0
- package/menu/index.js +8 -0
- package/mergeProps-BSsN7Bgk.js +117 -0
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +6 -4
- 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/Select.d.ts +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/Input.d.ts +7 -2
- package/textfield/PasswordField.d.ts +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +381 -0
- package/theme/generated-tokens.d.ts +331 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +4 -1
- package/theme/index.js +3989 -14
- package/theme/tokens.d.ts +30 -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/{tokens-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
- package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/useButton-D6iUB8cN.js +56 -0
- package/useButton-R8-i3HLC.cjs +1 -0
- package/useDateFormatter-2B0vgHc-.cjs +1 -0
- package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/useEvent-3ZO5TPSH.cjs +1 -0
- package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
- package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/useHasTabbableChild-CJcLnolh.cjs +1 -0
- package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
- package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
- package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
- package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/useTextField-BC5X_AO_.js +89 -0
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/types.d.ts +4 -0
- package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-DEiRuizp.js +0 -361
- package/AccordionItem-Dhr7uo8u.cjs +0 -1
- package/BadgeContainer-CxVmqJ7g.cjs +0 -1
- package/Breadcrumbs-CEyKlcGU.js +0 -262
- package/Breadcrumbs-CnGzvtbn.cjs +0 -1
- package/Button-DZzQGk-L.cjs +0 -1
- package/Button.module-D-mPLRxe.js +0 -14
- package/Button.module-goCEz5qs.cjs +0 -1
- package/ButtonGroup-DUqW5dzM.cjs +0 -1
- package/Card-DPfOZC7f.cjs +0 -1
- package/CharacterCounter-DPphWPzA.js +0 -22
- package/Checkbox-BN_3F2Hl.js +0 -264
- package/Checkbox-CZtCj4yR.cjs +0 -1
- package/CheckboxGroup--xgOT1Do.js +0 -159
- package/CheckboxGroup-DGHaqRvb.cjs +0 -1
- package/Collection-B1xL4EdF.cjs +0 -1
- package/Collection-C5vE9MtJ.js +0 -577
- package/ComboBox-UadZMhiR.cjs +0 -1
- package/DateField-CNEoLyf5.cjs +0 -1
- package/DateField-CZmLugT0.js +0 -47
- package/DateInputDivider-CCjiq90K.cjs +0 -1
- package/DateRangePicker-DhgLEa9P.cjs +0 -6
- package/DateRangePicker-WQ97Psz7.js +0 -870
- package/Dialog-BT0tVGQb.cjs +0 -1
- package/Dialog-BuJdAr0D.js +0 -1611
- package/Dialog-DYK8lySl.cjs +0 -1
- package/Dialog-L53DWF0Z.js +0 -220
- package/DragAndDrop-DKxsUpmW.js +0 -60
- package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
- package/FieldError-BlKkw9YL.js +0 -46
- package/FieldError-BvU0sueN.cjs +0 -1
- package/FocusScope-CAgWgk3N.cjs +0 -1
- package/GridItem-BnyULDnc.cjs +0 -1
- package/GridItem-orSzD7H5.js +0 -243
- package/Heading-DDhdwRAW.js +0 -46
- package/Heading-OUPkdoEJ.cjs +0 -1
- package/InfoBanner-DpLcq_1R.cjs +0 -1
- package/InfoBanner-U5hxOipC.js +0 -99
- package/Label-COpr4xVt.cjs +0 -1
- package/Layout-BR3Or1Ga.cjs +0 -16
- package/Layout-Bdqauktv.js +0 -498
- package/Link-CM2N5Jq-.js +0 -72
- package/Link-Dnnv00g9.js +0 -60
- package/Link-Dq8IFDBx.cjs +0 -6
- package/Link-ceVlGaWQ.cjs +0 -1
- package/LinkButton-BJA9_HzL.cjs +0 -6
- package/LinkButton-DH3Nfdis.js +0 -69
- package/ListBox-D0u9svwm.cjs +0 -1
- package/ListBox-y_dw__MI.js +0 -531
- package/ListBoxButton-C2zp-gXD.cjs +0 -1
- package/ListBoxButton-DiseS_LX.js +0 -15
- package/ListBoxSection-Cv-gN76G.js +0 -1058
- package/ListBoxSection-DtsigmC1.cjs +0 -1
- package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
- package/OverlayArrow-8praV_Xy.cjs +0 -1
- package/OverlayArrow-DfkRZlgG.js +0 -507
- package/PressResponder-Bm3_RM9c.cjs +0 -1
- package/ProgressBar-D5mNQTID.cjs +0 -1
- package/ProgressBar-wQirOG1N.js +0 -53
- package/Radio-BIomn_sP.js +0 -313
- package/Radio-CxvJ5Wrl.cjs +0 -1
- package/RangeCalendar-BvvZ2SBj.cjs +0 -11
- package/Select-769RSZ9V.js +0 -664
- package/Select-Go5x0zWl.cjs +0 -1
- package/SelectionManager-BvREZgeu.cjs +0 -1
- package/Separator-CggS0R7Q.js +0 -59
- package/Separator-DBsDhqCr.cjs +0 -1
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-AXFRWuT6.js +0 -51
- package/TabList-0gj27e_e.js +0 -386
- package/TabList-Cqpup53E.cjs +0 -1
- package/Table-BhtlNY9P.cjs +0 -16
- package/Tag-B9M-nBTM.js +0 -748
- package/Tag-DkW6zaIS.cjs +0 -1
- package/Text-BUDAzDjW.js +0 -32
- package/Text-DA_gK6a2.cjs +0 -1
- package/TextArea-CSrrYY05.cjs +0 -1
- package/TextArea-DphcH6wE.js +0 -119
- package/TextField-CsyRTSEG.js +0 -120
- package/TextField-P5yICj5z.cjs +0 -1
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
- package/ToggleButtonGroup-CuxAKB3-.js +0 -211
- package/Tooltip-Bz0xCZSw.cjs +0 -1
- package/Tooltip-EuEQtHZj.js +0 -285
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/mergeProps-BYJQ6N1s.js +0 -115
- package/mergeProps-C7Sx47fA.cjs +0 -1
- package/useButton-CWHoXYnj.js +0 -47
- package/useButton-CwOQUGtY.cjs +0 -1
- package/useDateFormatter-bzjwqA2K.cjs +0 -1
- package/useEvent-CGRyLM2c.cjs +0 -1
- package/useFormValidation-BW2NSTM4.js +0 -215
- package/useFormValidation-DSRwb9US.cjs +0 -1
- package/useHasTabbableChild-CogBR_6o.cjs +0 -1
- package/useHover-CaFzQrR_.cjs +0 -1
- package/useListState-TtWy_rDI.cjs +0 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BOGIOlm8.cjs +0 -7
- package/useTextField-BVIOd8Ld.cjs +0 -1
- package/useTextField-DFkSHoQN.js +0 -86
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-C5-CzvX2.cjs +0 -1
- package/utils-CuqJqFqQ.js +0 -234
package/Breadcrumbs-CEyKlcGU.js
DELETED
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { $ as W, d as Z, b as q, c as Q } from "./Collection-C5vE9MtJ.js";
|
|
3
|
-
import { $ as X, c as Y, a as ee } from "./utils-KYuflGZt.js";
|
|
4
|
-
import { a as re } from "./Link-CM2N5Jq-.js";
|
|
5
|
-
import { $ as f } from "./filterDOMProps-D6KHYVBX.js";
|
|
6
|
-
import b, { forwardRef as ae, createContext as ue, useContext as ce } from "react";
|
|
7
|
-
import { $ as te } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
8
|
-
import { c as de } from "./clsx-OuTLNxxd.js";
|
|
9
|
-
import { L as be } from "./Link-Dnnv00g9.js";
|
|
10
|
-
import './assets/Breadcrumbs.css';var i = {};
|
|
11
|
-
i = {
|
|
12
|
-
breadcrumbs: "عناصر الواجهة"
|
|
13
|
-
};
|
|
14
|
-
var n = {};
|
|
15
|
-
n = {
|
|
16
|
-
breadcrumbs: "Трохи хляб"
|
|
17
|
-
};
|
|
18
|
-
var m = {};
|
|
19
|
-
m = {
|
|
20
|
-
breadcrumbs: "Popis cesty"
|
|
21
|
-
};
|
|
22
|
-
var l = {};
|
|
23
|
-
l = {
|
|
24
|
-
breadcrumbs: "Brødkrummer"
|
|
25
|
-
};
|
|
26
|
-
var p = {};
|
|
27
|
-
p = {
|
|
28
|
-
breadcrumbs: "Breadcrumbs"
|
|
29
|
-
};
|
|
30
|
-
var x = {};
|
|
31
|
-
x = {
|
|
32
|
-
breadcrumbs: "Πλοηγήσεις breadcrumb"
|
|
33
|
-
};
|
|
34
|
-
var v = {};
|
|
35
|
-
v = {
|
|
36
|
-
breadcrumbs: "Breadcrumbs"
|
|
37
|
-
};
|
|
38
|
-
var C = {};
|
|
39
|
-
C = {
|
|
40
|
-
breadcrumbs: "Migas de pan"
|
|
41
|
-
};
|
|
42
|
-
var D = {};
|
|
43
|
-
D = {
|
|
44
|
-
breadcrumbs: "Lingiread"
|
|
45
|
-
};
|
|
46
|
-
var B = {};
|
|
47
|
-
B = {
|
|
48
|
-
breadcrumbs: "Navigointilinkit"
|
|
49
|
-
};
|
|
50
|
-
var E = {};
|
|
51
|
-
E = {
|
|
52
|
-
breadcrumbs: "Chemin de navigation"
|
|
53
|
-
};
|
|
54
|
-
var k = {};
|
|
55
|
-
k = {
|
|
56
|
-
breadcrumbs: "שבילי ניווט"
|
|
57
|
-
};
|
|
58
|
-
var h = {};
|
|
59
|
-
h = {
|
|
60
|
-
breadcrumbs: "Navigacijski putovi"
|
|
61
|
-
};
|
|
62
|
-
var P = {};
|
|
63
|
-
P = {
|
|
64
|
-
breadcrumbs: "Morzsamenü"
|
|
65
|
-
};
|
|
66
|
-
var g = {};
|
|
67
|
-
g = {
|
|
68
|
-
breadcrumbs: "Breadcrumb"
|
|
69
|
-
};
|
|
70
|
-
var N = {};
|
|
71
|
-
N = {
|
|
72
|
-
breadcrumbs: "パンくずリスト"
|
|
73
|
-
};
|
|
74
|
-
var R = {};
|
|
75
|
-
R = {
|
|
76
|
-
breadcrumbs: "탐색 표시"
|
|
77
|
-
};
|
|
78
|
-
var A = {};
|
|
79
|
-
A = {
|
|
80
|
-
breadcrumbs: "Naršymo kelias"
|
|
81
|
-
};
|
|
82
|
-
var L = {};
|
|
83
|
-
L = {
|
|
84
|
-
breadcrumbs: "Atpakaļceļi"
|
|
85
|
-
};
|
|
86
|
-
var y = {};
|
|
87
|
-
y = {
|
|
88
|
-
breadcrumbs: "Navigasjonsstier"
|
|
89
|
-
};
|
|
90
|
-
var F = {};
|
|
91
|
-
F = {
|
|
92
|
-
breadcrumbs: "Broodkruimels"
|
|
93
|
-
};
|
|
94
|
-
var S = {};
|
|
95
|
-
S = {
|
|
96
|
-
breadcrumbs: "Struktura nawigacyjna"
|
|
97
|
-
};
|
|
98
|
-
var _ = {};
|
|
99
|
-
_ = {
|
|
100
|
-
breadcrumbs: "Caminho detalhado"
|
|
101
|
-
};
|
|
102
|
-
var j = {};
|
|
103
|
-
j = {
|
|
104
|
-
breadcrumbs: "Categorias"
|
|
105
|
-
};
|
|
106
|
-
var T = {};
|
|
107
|
-
T = {
|
|
108
|
-
breadcrumbs: "Miez de pâine"
|
|
109
|
-
};
|
|
110
|
-
var z = {};
|
|
111
|
-
z = {
|
|
112
|
-
breadcrumbs: "Навигация"
|
|
113
|
-
};
|
|
114
|
-
var I = {};
|
|
115
|
-
I = {
|
|
116
|
-
breadcrumbs: "Navigačné prvky Breadcrumbs"
|
|
117
|
-
};
|
|
118
|
-
var K = {};
|
|
119
|
-
K = {
|
|
120
|
-
breadcrumbs: "Drobtine"
|
|
121
|
-
};
|
|
122
|
-
var M = {};
|
|
123
|
-
M = {
|
|
124
|
-
breadcrumbs: "Putanje navigacije"
|
|
125
|
-
};
|
|
126
|
-
var U = {};
|
|
127
|
-
U = {
|
|
128
|
-
breadcrumbs: "Sökvägar"
|
|
129
|
-
};
|
|
130
|
-
var w = {};
|
|
131
|
-
w = {
|
|
132
|
-
breadcrumbs: "İçerik haritaları"
|
|
133
|
-
};
|
|
134
|
-
var G = {};
|
|
135
|
-
G = {
|
|
136
|
-
breadcrumbs: "Навігаційна стежка"
|
|
137
|
-
};
|
|
138
|
-
var H = {};
|
|
139
|
-
H = {
|
|
140
|
-
breadcrumbs: "导航栏"
|
|
141
|
-
};
|
|
142
|
-
var O = {};
|
|
143
|
-
O = {
|
|
144
|
-
breadcrumbs: "導覽列"
|
|
145
|
-
};
|
|
146
|
-
var J = {};
|
|
147
|
-
J = {
|
|
148
|
-
"ar-AE": i,
|
|
149
|
-
"bg-BG": n,
|
|
150
|
-
"cs-CZ": m,
|
|
151
|
-
"da-DK": l,
|
|
152
|
-
"de-DE": p,
|
|
153
|
-
"el-GR": x,
|
|
154
|
-
"en-US": v,
|
|
155
|
-
"es-ES": C,
|
|
156
|
-
"et-EE": D,
|
|
157
|
-
"fi-FI": B,
|
|
158
|
-
"fr-FR": E,
|
|
159
|
-
"he-IL": k,
|
|
160
|
-
"hr-HR": h,
|
|
161
|
-
"hu-HU": P,
|
|
162
|
-
"it-IT": g,
|
|
163
|
-
"ja-JP": N,
|
|
164
|
-
"ko-KR": R,
|
|
165
|
-
"lt-LT": A,
|
|
166
|
-
"lv-LV": L,
|
|
167
|
-
"nb-NO": y,
|
|
168
|
-
"nl-NL": F,
|
|
169
|
-
"pl-PL": S,
|
|
170
|
-
"pt-BR": _,
|
|
171
|
-
"pt-PT": j,
|
|
172
|
-
"ro-RO": T,
|
|
173
|
-
"ru-RU": z,
|
|
174
|
-
"sk-SK": I,
|
|
175
|
-
"sl-SI": K,
|
|
176
|
-
"sr-SP": M,
|
|
177
|
-
"sv-SE": U,
|
|
178
|
-
"tr-TR": w,
|
|
179
|
-
"uk-UA": G,
|
|
180
|
-
"zh-CN": H,
|
|
181
|
-
"zh-TW": O
|
|
182
|
-
};
|
|
183
|
-
function se(a) {
|
|
184
|
-
return a && a.__esModule ? a.default : a;
|
|
185
|
-
}
|
|
186
|
-
function oe(a) {
|
|
187
|
-
let { "aria-label": e, ...c } = a, r = te(se(J), "@react-aria/breadcrumbs");
|
|
188
|
-
return {
|
|
189
|
-
navProps: {
|
|
190
|
-
...f(c, {
|
|
191
|
-
labelable: !0
|
|
192
|
-
}),
|
|
193
|
-
"aria-label": e || r.format("breadcrumbs")
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
const o = /* @__PURE__ */ ue(null), $e = /* @__PURE__ */ ae(function(e, c) {
|
|
198
|
-
[e, c] = X(e, c, o);
|
|
199
|
-
let { CollectionRoot: r } = ce(Z), { navProps: u } = oe(e);
|
|
200
|
-
return /* @__PURE__ */ b.createElement(q, {
|
|
201
|
-
content: /* @__PURE__ */ b.createElement(Q, e)
|
|
202
|
-
}, (d) => {
|
|
203
|
-
var t;
|
|
204
|
-
return /* @__PURE__ */ b.createElement("ol", {
|
|
205
|
-
ref: c,
|
|
206
|
-
...u,
|
|
207
|
-
slot: e.slot || void 0,
|
|
208
|
-
style: e.style,
|
|
209
|
-
className: (t = e.className) !== null && t !== void 0 ? t : "react-aria-Breadcrumbs"
|
|
210
|
-
}, /* @__PURE__ */ b.createElement(o.Provider, {
|
|
211
|
-
value: e
|
|
212
|
-
}, /* @__PURE__ */ b.createElement(r, {
|
|
213
|
-
collection: d
|
|
214
|
-
})));
|
|
215
|
-
});
|
|
216
|
-
}), fe = /* @__PURE__ */ W("item", function(e, c, r) {
|
|
217
|
-
let u = r.nextKey == null, { isDisabled: d, onAction: t } = Y(o), V = {
|
|
218
|
-
"aria-current": u ? "page" : null,
|
|
219
|
-
isDisabled: d || u,
|
|
220
|
-
onPress: () => t == null ? void 0 : t(r.key)
|
|
221
|
-
}, $ = ee({
|
|
222
|
-
...r.props,
|
|
223
|
-
children: r.rendered,
|
|
224
|
-
values: {
|
|
225
|
-
isDisabled: d || u,
|
|
226
|
-
isCurrent: u
|
|
227
|
-
},
|
|
228
|
-
defaultClassName: "react-aria-Breadcrumb"
|
|
229
|
-
});
|
|
230
|
-
return /* @__PURE__ */ b.createElement("li", {
|
|
231
|
-
...f(e),
|
|
232
|
-
...$,
|
|
233
|
-
ref: c,
|
|
234
|
-
"data-disabled": d || u || void 0,
|
|
235
|
-
"data-current": u || void 0
|
|
236
|
-
}, /* @__PURE__ */ b.createElement(re.Provider, {
|
|
237
|
-
value: V
|
|
238
|
-
}, $.children));
|
|
239
|
-
}), ie = "_container_1fsfi_4", ne = {
|
|
240
|
-
container: ie
|
|
241
|
-
}, ke = ({
|
|
242
|
-
items: a,
|
|
243
|
-
className: e,
|
|
244
|
-
...c
|
|
245
|
-
}) => /* @__PURE__ */ s(
|
|
246
|
-
$e,
|
|
247
|
-
{
|
|
248
|
-
className: de(ne.container, e),
|
|
249
|
-
...c,
|
|
250
|
-
children: a.map(({ title: r, href: u, isDisabled: d }, t) => /* @__PURE__ */ s(fe, { children: /* @__PURE__ */ s(
|
|
251
|
-
be,
|
|
252
|
-
{
|
|
253
|
-
href: u,
|
|
254
|
-
isDisabled: d,
|
|
255
|
-
children: r
|
|
256
|
-
}
|
|
257
|
-
) }, r.toLocaleLowerCase() + t))
|
|
258
|
-
}
|
|
259
|
-
);
|
|
260
|
-
export {
|
|
261
|
-
ke as B
|
|
262
|
-
};
|
package/Breadcrumbs-CnGzvtbn.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Breadcrumbs.css');const o=require("react/jsx-runtime"),s=require("./Collection-B1xL4EdF.cjs"),$=require("./utils-BM2vxlNA.cjs"),Z=require("./Link-ceVlGaWQ.cjs"),f=require("./filterDOMProps-BS2lrgFA.cjs"),c=require("react"),Q=require("./useLocalizedStringFormatter-CHAo1AyN.cjs"),X=require("./clsx-C11secjj.cjs"),Y=require("./Link-Dq8IFDBx.cjs");var l={};l={breadcrumbs:"عناصر الواجهة"};var m={};m={breadcrumbs:"Трохи хляб"};var x={};x={breadcrumbs:"Popis cesty"};var p={};p={breadcrumbs:"Brødkrummer"};var v={};v={breadcrumbs:"Breadcrumbs"};var C={};C={breadcrumbs:"Πλοηγήσεις breadcrumb"};var D={};D={breadcrumbs:"Breadcrumbs"};var B={};B={breadcrumbs:"Migas de pan"};var E={};E={breadcrumbs:"Lingiread"};var k={};k={breadcrumbs:"Navigointilinkit"};var P={};P={breadcrumbs:"Chemin de navigation"};var g={};g={breadcrumbs:"שבילי ניווט"};var h={};h={breadcrumbs:"Navigacijski putovi"};var L={};L={breadcrumbs:"Morzsamenü"};var N={};N={breadcrumbs:"Breadcrumb"};var R={};R={breadcrumbs:"パンくずリスト"};var A={};A={breadcrumbs:"탐색 표시"};var j={};j={breadcrumbs:"Naršymo kelias"};var F={};F={breadcrumbs:"Atpakaļceļi"};var S={};S={breadcrumbs:"Navigasjonsstier"};var q={};q={breadcrumbs:"Broodkruimels"};var y={};y={breadcrumbs:"Struktura nawigacyjna"};var _={};_={breadcrumbs:"Caminho detalhado"};var z={};z={breadcrumbs:"Categorias"};var M={};M={breadcrumbs:"Miez de pâine"};var T={};T={breadcrumbs:"Навигация"};var I={};I={breadcrumbs:"Navigačné prvky Breadcrumbs"};var K={};K={breadcrumbs:"Drobtine"};var U={};U={breadcrumbs:"Putanje navigacije"};var w={};w={breadcrumbs:"Sökvägar"};var O={};O={breadcrumbs:"İçerik haritaları"};var G={};G={breadcrumbs:"Навігаційна стежка"};var H={};H={breadcrumbs:"导航栏"};var J={};J={breadcrumbs:"導覽列"};var V={};V={"ar-AE":l,"bg-BG":m,"cs-CZ":x,"da-DK":p,"de-DE":v,"el-GR":C,"en-US":D,"es-ES":B,"et-EE":E,"fi-FI":k,"fr-FR":P,"he-IL":g,"hr-HR":h,"hu-HU":L,"it-IT":N,"ja-JP":R,"ko-KR":A,"lt-LT":j,"lv-LV":F,"nb-NO":S,"nl-NL":q,"pl-PL":y,"pt-BR":_,"pt-PT":z,"ro-RO":M,"ru-RU":T,"sk-SK":I,"sl-SI":K,"sr-SP":U,"sv-SE":w,"tr-TR":O,"uk-UA":G,"zh-CN":H,"zh-TW":J};function ee(a){return a&&a.__esModule?a.default:a}function re(a){let{"aria-label":e,...t}=a,r=Q.$fca6afa0e843324b$export$f12b703ca79dfbb1(ee(V),"@react-aria/breadcrumbs");return{navProps:{...f.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),"aria-label":e||r.format("breadcrumbs")}}}const n=c.createContext(null),ae=c.forwardRef(function(e,t){[e,t]=$.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,n);let{CollectionRoot:r}=c.useContext(s.$7135fc7d473fd974$export$4feb769f8ddf26c5),{navProps:u}=re(e);return c.createElement(s.$e1995378a142960e$export$bf788dd355e3a401,{content:c.createElement(s.$e1995378a142960e$export$fb8073518f34e6ec,e)},b=>{var d;return c.createElement("ol",{ref:t,...u,slot:e.slot||void 0,style:e.style,className:(d=e.className)!==null&&d!==void 0?d:"react-aria-Breadcrumbs"},c.createElement(n.Provider,{value:e},c.createElement(r,{collection:b})))})}),ue=s.$e1995378a142960e$export$18af5c7a9e9b3664("item",function(e,t,r){let u=r.nextKey==null,{isDisabled:b,onAction:d}=$.$64fa3d84918910a7$export$fabf2dc03a41866e(n),W={"aria-current":u?"page":null,isDisabled:b||u,onPress:()=>d==null?void 0:d(r.key)},i=$.$64fa3d84918910a7$export$4d86445c2cf5e3({...r.props,children:r.rendered,values:{isDisabled:b||u,isCurrent:u},defaultClassName:"react-aria-Breadcrumb"});return c.createElement("li",{...f.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),...i,ref:t,"data-disabled":b||u||void 0,"data-current":u||void 0},c.createElement(Z.$4f118338184dc1d9$export$e2509388b49734e7.Provider,{value:W},i.children))}),ce="_container_1fsfi_4",te={container:ce},de=({items:a,className:e,...t})=>o.jsx(ae,{className:X.clsx(te.container,e),...t,children:a.map(({title:r,href:u,isDisabled:b},d)=>o.jsx(ue,{children:o.jsx(Y.Link,{href:u,isDisabled:b,children:r})},r.toLocaleLowerCase()+d))});exports.Breadcrumbs=de;
|
package/Button-DZzQGk-L.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const p=require("./utils-BM2vxlNA.cjs"),F=require("./Hidden-BxRZGdEW.cjs"),d=require("react"),C=require("./number-E0x3H9cL.cjs"),m=require("./mergeProps-C7Sx47fA.cjs"),R=require("./filterDOMProps-BS2lrgFA.cjs"),q=require("./useLabels-BtDN_ALM.cjs"),j=require("./context-UOrD6Zxk.cjs"),B=require("./useButton-CwOQUGtY.cjs"),S=require("./useFocusRing-BM-zcH6L.cjs"),H=require("./useHover-CaFzQrR_.cjs");let P=new Map,E=!1;try{E=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let y=!1;try{y=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const A={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class O{format(e){let t="";if(!E&&this.options.signDisplay!=null?t=K(this.numberFormatter,this.options.signDisplay,e):t=this.numberFormatter.format(e),this.options.style==="unit"&&!y){var i;let{unit:r,unitDisplay:n="short",locale:l}=this.resolvedOptions();if(!r)return t;let o=(i=A[r])===null||i===void 0?void 0:i[n];t+=o[l]||o.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.format(e)} – ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...i.map(n=>({...n,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(n=>({...n,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!E&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!y&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=_(e,t),this.options=t}}function _(a,e={}){let{numberingSystem:t}=e;if(t&&a.includes("-nu-")&&(a.includes("-u-")||(a+="-u-"),a+=`-nu-${t}`),e.style==="unit"&&!y){var i;let{unit:l,unitDisplay:o="short"}=e;if(!l)throw new Error('unit option must be provided with style: "unit"');if(!(!((i=A[l])===null||i===void 0)&&i[o]))throw new Error(`Unsupported unit ${l} with unitDisplay = ${o}`);e={...e,style:"decimal"}}let r=a+(e?Object.entries(e).sort((l,o)=>l[0]<o[0]?-1:1).join():"");if(P.has(r))return P.get(r);let n=new Intl.NumberFormat(a,e);return P.set(r,n),n}function K(a,e,t){if(e==="auto")return a.format(t);if(e==="never")return a.format(Math.abs(t));{let i=!1;if(e==="always"?i=t>0||Object.is(t,0):e==="exceptZero"&&(Object.is(t,-0)||Object.is(t,0)?t=Math.abs(t):i=t>0),i){let r=a.format(-t),n=a.format(t),l=r.replace(n,"").replace(/\u200e|\u061C/,"");return[...l].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(n,"!!!").replace(l,"+").replace("!!!",n)}else return a.format(t)}}function U(a={}){let{locale:e}=j.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return d.useMemo(()=>new O(e,a),[e,a])}const I=7e3;let s=null;function L(a,e="assertive",t=I){s?s.announce(a,e,t):(s=new k,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?s.announce(a,e,t):setTimeout(()=>{s!=null&&s.isAttached()&&(s==null||s.announce(a,e,t))},100))}function Z(a){s&&s.clear(a)}class k{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",i=I){var r,n;if(!this.node)return;let l=document.createElement("div");typeof e=="object"?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,t==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(l):(n=this.politeLog)===null||n===void 0||n.appendChild(l),e!==""&&setTimeout(()=>{l.remove()},i)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{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"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function V(a){let{id:e,label:t,"aria-labelledby":i,"aria-label":r,labelElementType:n="label"}=a;e=m.$bdb11010cef70236$export$f680877a34711e37(e);let l=m.$bdb11010cef70236$export$f680877a34711e37(),o={};t?(i=i?`${l} ${i}`:l,o={id:l,htmlFor:n==="label"?e:void 0}):!i&&!r&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let f=q.$313b98861ee5dd6c$export$d6875122194c7b44({id:e,"aria-label":r,"aria-labelledby":i});return{labelProps:o,fieldProps:f}}function z(a){let{value:e=0,minValue:t=0,maxValue:i=100,valueLabel:r,isIndeterminate:n,formatOptions:l={style:"percent"}}=a,o=R.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),{labelProps:f,fieldProps:c}=V({...a,labelElementType:"span"});e=C.$9446cca9a3875146$export$7d15b64cf5a3a4c4(e,t,i);let h=(e-t)/(i-t),$=U(l);if(!n&&!r){let u=l.style==="percent"?h:e;r=$.format(u)}return{progressBarProps:m.$3ef42575df84b30b$export$9d1611c77c2fe928(o,{...c,"aria-valuenow":n?void 0:e,"aria-valuemin":t,"aria-valuemax":i,"aria-valuetext":n?void 0:r,role:"progressbar"}),labelProps:f}}const w=d.createContext({}),G=F.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=p.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,w);let{elementType:i="label",...r}=e;return d.createElement(i,{className:"react-aria-Label",...r,ref:t})}),N=d.createContext(null),J=d.forwardRef(function(e,t){[e,t]=p.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,N);let{value:i=0,minValue:r=0,maxValue:n=100,isIndeterminate:l=!1}=e;i=C.$9446cca9a3875146$export$7d15b64cf5a3a4c4(i,r,n);let[o,f]=p.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{progressBarProps:c,labelProps:h}=z({...e,label:f}),$=l?void 0:(i-r)/(n-r)*100,u=p.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ProgressBar",values:{percentage:$,valueText:c["aria-valuetext"],isIndeterminate:l}});return d.createElement("div",{...c,...u,ref:t,slot:e.slot||void 0},d.createElement(w.Provider,{value:{...h,ref:o,elementType:"span"}},u.children))}),W=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),M=d.createContext({}),Y=F.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=p.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,M),e=Q(e);let i=e,{isPending:r}=i,{buttonProps:n,isPressed:l}=B.$701a24aa0da5b062$export$ea18c227d4417cc3(e,t),{focusProps:o,isFocused:f,isFocusVisible:c}=S.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:h,isHovered:$}=H.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:e.isDisabled||r}),u={isHovered:$,isPressed:(i.isPressed||l)&&!r,isFocused:f,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:r??!1},T=p.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:u,defaultClassName:"react-aria-Button"}),v=m.$bdb11010cef70236$export$f680877a34711e37(n.id),x=m.$bdb11010cef70236$export$f680877a34711e37(),b=n["aria-labelledby"];r&&(b?b=`${b} ${x}`:n["aria-label"]&&(b=`${v} ${x}`));let g=d.useRef(r);return d.useEffect(()=>{let D={"aria-labelledby":b||v};(!g.current&&f&&r||g.current&&f&&!r)&&L(D,"assertive"),g.current=r},[r,f,b,v]),d.createElement("button",{...R.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{propNames:W}),...m.$3ef42575df84b30b$export$9d1611c77c2fe928(n,o,h),...T,type:n.type==="submit"&&r?"button":n.type,id:v,ref:t,"aria-labelledby":b,slot:e.slot||void 0,"aria-disabled":r?"true":n["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":u.isPressed||void 0,"data-hovered":$||void 0,"data-focused":f||void 0,"data-pending":r||void 0,"data-focus-visible":c||void 0},d.createElement(N.Provider,{value:{id:x}},T.children))});function Q(a){return a.isPending&&(a.onPress=void 0,a.onPressStart=void 0,a.onPressEnd=void 0,a.onPressChange=void 0,a.onPressUp=void 0,a.onKeyDown=void 0,a.onKeyUp=void 0,a.onClick=void 0,a.href=void 0),a}exports.$01b77f81d0f07f68$export$75b6ee27786ba447=w;exports.$01b77f81d0f07f68$export$b04be29aa201d4f5=G;exports.$0393f8ab869a0f1a$export$c17561cb55d4db30=J;exports.$319e236875307eab$export$a9b970dcc4ae71a9=L;exports.$319e236875307eab$export$d10ae4f68404609a=Z;exports.$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5=O;exports.$d191a55c9702f145$export$8467354a121f1b9f=V;exports.$d2b4bc8c273e7be6$export$24d547caef80ccd1=M;exports.$d2b4bc8c273e7be6$export$353f5b6fc5456de1=Y;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import './assets/Button.css';const t = "_button_1ggve_4", n = "_secondary_1ggve_51", _ = "_tertiary_1ggve_74", g = "_iconBtn_1ggve_94", o = "_medium_1ggve_114", e = "_danger_1ggve_119", i = "_iconRight_1ggve_141", c = "_fullwidth_1ggve_145", r = "_primary_1ggve_155", s = {
|
|
2
|
-
button: t,
|
|
3
|
-
secondary: n,
|
|
4
|
-
tertiary: _,
|
|
5
|
-
iconBtn: g,
|
|
6
|
-
medium: o,
|
|
7
|
-
danger: e,
|
|
8
|
-
iconRight: i,
|
|
9
|
-
fullwidth: c,
|
|
10
|
-
primary: r
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
s as B
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Button.css');const t="_button_1ggve_4",n="_secondary_1ggve_51",_="_tertiary_1ggve_74",e="_iconBtn_1ggve_94",g="_medium_1ggve_114",o="_danger_1ggve_119",i="_iconRight_1ggve_141",c="_fullwidth_1ggve_145",r="_primary_1ggve_155",s={button:t,secondary:n,tertiary:_,iconBtn:e,medium:g,danger:o,iconRight:i,fullwidth:c,primary:r};exports.ButtonStyles=s;
|
package/ButtonGroup-DUqW5dzM.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/ButtonGroup.css');const s=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),e="_buttonGroup_fh6r8_4",c={buttonGroup:e},l=({children:t,className:o,"aria-label":r,...u})=>s.jsx("div",{role:"group","aria-label":r,className:n.clsx(c.buttonGroup,o),...u,children:t});exports.ButtonGroup=l;
|
package/Card-DPfOZC7f.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Card.css');const a=require("react/jsx-runtime"),o=require("./clsx-C11secjj.cjs"),l=require("react"),u=require("./Heading-OUPkdoEJ.cjs"),C=require("./Button-DZzQGk-L.cjs"),x=require("./Link-ceVlGaWQ.cjs"),_=require("./arrow-right-BGd86zzR.cjs");function h(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(c,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return c.default=e,Object.freeze(c)}const s=h(l),m="_card_1hl11_4",A="_horizontal_1hl11_10",g="_cardLink_1hl11_15",I="_cardContent_1hl11_20",b="_cardActions_1hl11_39",j="_cardActionArea_1hl11_49",f="_cardImage_1hl11_82",k="_cardLinkIcon_1hl11_114",r={card:m,horizontal:A,cardLink:g,cardContent:I,cardActions:b,cardActionArea:j,cardImage:f,cardLinkIcon:k},i=s.createContext({horizontal:void 0,titleId:void 0}),z=({horizontal:e,className:c,children:t,...n})=>{const d=`card-title-${s.useId()}`;return a.jsx(i.Provider,{value:{horizontal:e,titleId:d},children:a.jsx("div",{...n,className:o.clsx(r.card,e&&r.horizontal,c),children:t})})},L=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardContent,t&&r.horizontal),children:e})},$=({elementType:e="h2",children:c})=>{const{horizontal:t,titleId:n}=s.useContext(i);return a.jsx(u.Heading,{level:t?5:3,elementType:e,isExpressive:t,className:o.clsx(r.cardTitle,t&&r.horizontal),id:n,children:c})},p=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardActions,t&&r.horizontal),children:e})},v=({children:e,className:c,...t})=>{const{titleId:n}=s.useContext(i);return a.jsx(C.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{...t,"aria-labelledby":n,className:o.clsx(r.cardActionArea,c),children:e})},N=({as:e="img",className:c,...t})=>a.jsx(e,{...t,className:o.clsx(r.cardImage,c)}),q=({children:e,as:c,...t})=>{const n=c||x.$4f118338184dc1d9$export$a6c7ac8248d6e38a;return a.jsxs(n,{...t,className:o.clsx(r.cardLink,t.className),children:[e,a.jsx(_.ArrowRight,{className:r.cardLinkIcon,size:24})]})};exports.Card=z;exports.CardActionArea=v;exports.CardActions=p;exports.CardContent=L;exports.CardImage=N;exports.CardLink=q;exports.CardTitle=$;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import * as d from "react";
|
|
3
|
-
import { $ as f } from "./utils-KYuflGZt.js";
|
|
4
|
-
import { $ as i } from "./Input-BnpBRnJz.js";
|
|
5
|
-
import './assets/CharacterCounter.css';const $ = "_characterCounter_4224k_4", m = {
|
|
6
|
-
characterCounter: $
|
|
7
|
-
}, l = d.forwardRef((t, c) => {
|
|
8
|
-
[t] = f(t, c, i);
|
|
9
|
-
const { maxLength: r, value: e, isLonely: n } = t, { length: a } = (e == null ? void 0 : e.toString()) ?? "", o = r !== void 0;
|
|
10
|
-
return /* @__PURE__ */ s(
|
|
11
|
-
"span",
|
|
12
|
-
{
|
|
13
|
-
className: m.characterCounter,
|
|
14
|
-
"data-exceeded": o && a > r || void 0,
|
|
15
|
-
"data-lonely": n || void 0,
|
|
16
|
-
children: o ? `${a} / ${r}` : a
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
});
|
|
20
|
-
export {
|
|
21
|
-
l as C
|
|
22
|
-
};
|
package/Checkbox-BN_3F2Hl.js
DELETED
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import { jsxs as E, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import * as x from "react";
|
|
3
|
-
import G, { useEffect as D, useRef as N } from "react";
|
|
4
|
-
import { a as L } from "./RSPContexts-BW2SEIqe.js";
|
|
5
|
-
import { $ as j, c as A } from "./utils-KYuflGZt.js";
|
|
6
|
-
import { $ as M } from "./Form-CXcEMuBf.js";
|
|
7
|
-
import { c as g } from "./clsx-OuTLNxxd.js";
|
|
8
|
-
import { a as R } from "./mergeProps-BYJQ6N1s.js";
|
|
9
|
-
import { $ as F } from "./VisuallyHidden-BKslUoMJ.js";
|
|
10
|
-
import { a as H, $ as S, b as W, d as _, e as z } from "./useFormValidation-BW2NSTM4.js";
|
|
11
|
-
import { b as I } from "./usePress-B_jgTf4k.js";
|
|
12
|
-
import { $ as J } from "./filterDOMProps-D6KHYVBX.js";
|
|
13
|
-
import { a as K } from "./useFocusable-ZjCKo1ed.js";
|
|
14
|
-
import { $ as C } from "./useToggleState-Bz5rAf4C.js";
|
|
15
|
-
import { $ as Q } from "./useHover-D8fja4GW.js";
|
|
16
|
-
import { $ as T } from "./useFocusRing-HoJn20X5.js";
|
|
17
|
-
import './assets/Checkbox.css';function U(e, i, a) {
|
|
18
|
-
let { isDisabled: d = !1, isReadOnly: l = !1, value: o, name: s, children: t, "aria-label": n, "aria-labelledby": c, validationState: $ = "valid", isInvalid: f } = e, m = (v) => {
|
|
19
|
-
v.stopPropagation(), i.setSelected(v.target.checked);
|
|
20
|
-
}, P = t != null, u = n != null || c != null;
|
|
21
|
-
!P && !u && process.env.NODE_ENV !== "production" && console.warn("If you do not provide children, you must specify an aria-label for accessibility");
|
|
22
|
-
let { pressProps: h, isPressed: b } = I({
|
|
23
|
-
isDisabled: d
|
|
24
|
-
}), { pressProps: y, isPressed: V } = I({
|
|
25
|
-
onPress() {
|
|
26
|
-
var v;
|
|
27
|
-
i.toggle(), (v = a.current) === null || v === void 0 || v.focus();
|
|
28
|
-
},
|
|
29
|
-
isDisabled: d || l
|
|
30
|
-
}), { focusableProps: q } = K(e, a), p = R(h, q), w = J(e, {
|
|
31
|
-
labelable: !0
|
|
32
|
-
});
|
|
33
|
-
return H(a, i.isSelected, i.setSelected), {
|
|
34
|
-
labelProps: R(y, {
|
|
35
|
-
onClick: (v) => v.preventDefault()
|
|
36
|
-
}),
|
|
37
|
-
inputProps: R(w, {
|
|
38
|
-
"aria-invalid": f || $ === "invalid" || void 0,
|
|
39
|
-
"aria-errormessage": e["aria-errormessage"],
|
|
40
|
-
"aria-controls": e["aria-controls"],
|
|
41
|
-
"aria-readonly": l || void 0,
|
|
42
|
-
onChange: m,
|
|
43
|
-
disabled: d,
|
|
44
|
-
...o == null ? {} : {
|
|
45
|
-
value: o
|
|
46
|
-
},
|
|
47
|
-
name: s,
|
|
48
|
-
type: "checkbox",
|
|
49
|
-
...p
|
|
50
|
-
}),
|
|
51
|
-
isSelected: i.isSelected,
|
|
52
|
-
isPressed: b || V,
|
|
53
|
-
isDisabled: d,
|
|
54
|
-
isReadOnly: l,
|
|
55
|
-
isInvalid: f || $ === "invalid"
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function B(e, i, a) {
|
|
59
|
-
let d = S({
|
|
60
|
-
...e,
|
|
61
|
-
value: i.isSelected
|
|
62
|
-
}), { isInvalid: l, validationErrors: o, validationDetails: s } = d.displayValidation, { labelProps: t, inputProps: n, isSelected: c, isPressed: $, isDisabled: f, isReadOnly: m } = U({
|
|
63
|
-
...e,
|
|
64
|
-
isInvalid: l
|
|
65
|
-
}, i, a);
|
|
66
|
-
W(e, d, a);
|
|
67
|
-
let { isIndeterminate: P, isRequired: u, validationBehavior: h = "aria" } = e;
|
|
68
|
-
D(() => {
|
|
69
|
-
a.current && (a.current.indeterminate = !!P);
|
|
70
|
-
});
|
|
71
|
-
let { pressProps: b } = I({
|
|
72
|
-
isDisabled: f || m,
|
|
73
|
-
onPress() {
|
|
74
|
-
let { [_]: y } = e, { commitValidation: V } = y || d;
|
|
75
|
-
V();
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
return {
|
|
79
|
-
labelProps: R(t, b),
|
|
80
|
-
inputProps: {
|
|
81
|
-
...n,
|
|
82
|
-
checked: c,
|
|
83
|
-
"aria-required": u && h === "aria" || void 0,
|
|
84
|
-
required: u && h === "native"
|
|
85
|
-
},
|
|
86
|
-
isSelected: c,
|
|
87
|
-
isPressed: $,
|
|
88
|
-
isDisabled: f,
|
|
89
|
-
isReadOnly: m,
|
|
90
|
-
isInvalid: l,
|
|
91
|
-
validationErrors: o,
|
|
92
|
-
validationDetails: s
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
const X = /* @__PURE__ */ new WeakMap();
|
|
96
|
-
function Y(e, i, a) {
|
|
97
|
-
const d = C({
|
|
98
|
-
isReadOnly: e.isReadOnly || i.isReadOnly,
|
|
99
|
-
isSelected: i.isSelected(e.value),
|
|
100
|
-
onChange(b) {
|
|
101
|
-
b ? i.addValue(e.value) : i.removeValue(e.value), e.onChange && e.onChange(b);
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
let { name: l, descriptionId: o, errorMessageId: s, validationBehavior: t } = X.get(i);
|
|
105
|
-
var n;
|
|
106
|
-
t = (n = e.validationBehavior) !== null && n !== void 0 ? n : t;
|
|
107
|
-
let { realtimeValidation: c } = S({
|
|
108
|
-
...e,
|
|
109
|
-
value: d.isSelected,
|
|
110
|
-
// Server validation is handled at the group level.
|
|
111
|
-
name: void 0,
|
|
112
|
-
validationBehavior: "aria"
|
|
113
|
-
}), $ = N(z), f = () => {
|
|
114
|
-
i.setInvalid(e.value, c.isInvalid ? c : $.current);
|
|
115
|
-
};
|
|
116
|
-
D(f);
|
|
117
|
-
let m = i.realtimeValidation.isInvalid ? i.realtimeValidation : c, P = t === "native" ? i.displayValidation : m;
|
|
118
|
-
var u;
|
|
119
|
-
let h = B({
|
|
120
|
-
...e,
|
|
121
|
-
isReadOnly: e.isReadOnly || i.isReadOnly,
|
|
122
|
-
isDisabled: e.isDisabled || i.isDisabled,
|
|
123
|
-
name: e.name || l,
|
|
124
|
-
isRequired: (u = e.isRequired) !== null && u !== void 0 ? u : i.isRequired,
|
|
125
|
-
validationBehavior: t,
|
|
126
|
-
[_]: {
|
|
127
|
-
realtimeValidation: m,
|
|
128
|
-
displayValidation: P,
|
|
129
|
-
resetValidation: i.resetValidation,
|
|
130
|
-
commitValidation: i.commitValidation,
|
|
131
|
-
updateValidation(b) {
|
|
132
|
-
$.current = b, f();
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}, d, a);
|
|
136
|
-
return {
|
|
137
|
-
...h,
|
|
138
|
-
inputProps: {
|
|
139
|
-
...h.inputProps,
|
|
140
|
-
"aria-describedby": [
|
|
141
|
-
e["aria-describedby"],
|
|
142
|
-
i.isInvalid ? s : null,
|
|
143
|
-
o
|
|
144
|
-
].filter(Boolean).join(" ") || void 0
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
const Z = G.createContext(null), ee = "_checkboxInner_5vl7s_4", ie = "_checkbox_5vl7s_4", ae = "_checkboxGroup_5vl7s_124", k = {
|
|
149
|
-
checkboxInner: ee,
|
|
150
|
-
checkbox: ie,
|
|
151
|
-
checkboxGroup: ae
|
|
152
|
-
}, O = x.forwardRef((e, i) => {
|
|
153
|
-
const { hoverProps: a, isHovered: d } = e.hoverResult, { pressProps: l, isPressed: o } = e.pressResult, { isFocused: s, isFocusVisible: t, focusProps: n } = e.focusRingAria;
|
|
154
|
-
return /* @__PURE__ */ E(
|
|
155
|
-
"label",
|
|
156
|
-
{
|
|
157
|
-
ref: i,
|
|
158
|
-
...R(a, l, e.labelProps),
|
|
159
|
-
slot: e.slot || void 0,
|
|
160
|
-
className: g(k.checkbox, e.className),
|
|
161
|
-
"data-hovered": d || void 0,
|
|
162
|
-
"data-selected": e.isSelected || void 0,
|
|
163
|
-
"data-indeterminate": e.isIndeterminate || void 0,
|
|
164
|
-
"data-pressed": o || void 0,
|
|
165
|
-
"data-disabled": e.isDisabled || void 0,
|
|
166
|
-
"data-readonly": e.isReadOnly || void 0,
|
|
167
|
-
"data-invalid": e.isInvalid || void 0,
|
|
168
|
-
"data-focused": s || void 0,
|
|
169
|
-
"data-focus-visible": t || void 0,
|
|
170
|
-
"data-required": e.isRequired || void 0,
|
|
171
|
-
children: [
|
|
172
|
-
/* @__PURE__ */ r("div", { className: g(k.checkboxInner), children: /* @__PURE__ */ r(
|
|
173
|
-
"svg",
|
|
174
|
-
{
|
|
175
|
-
width: 16,
|
|
176
|
-
height: 16,
|
|
177
|
-
viewBox: "0 0 18 18",
|
|
178
|
-
"aria-hidden": "true",
|
|
179
|
-
children: e.isIndeterminate ? /* @__PURE__ */ r(
|
|
180
|
-
"rect",
|
|
181
|
-
{
|
|
182
|
-
x: 4,
|
|
183
|
-
y: 8,
|
|
184
|
-
width: 10,
|
|
185
|
-
height: 2
|
|
186
|
-
}
|
|
187
|
-
) : /* @__PURE__ */ r("polyline", { points: "3,9 7,13 15,4" })
|
|
188
|
-
}
|
|
189
|
-
) }),
|
|
190
|
-
/* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(
|
|
191
|
-
"input",
|
|
192
|
-
{
|
|
193
|
-
...R(e.inputProps, n),
|
|
194
|
-
ref: e.inputRef
|
|
195
|
-
}
|
|
196
|
-
) }),
|
|
197
|
-
e.children
|
|
198
|
-
]
|
|
199
|
-
}
|
|
200
|
-
);
|
|
201
|
-
}), de = x.forwardRef((e, i) => {
|
|
202
|
-
const a = Y(
|
|
203
|
-
{
|
|
204
|
-
...e,
|
|
205
|
-
value: e.value || ""
|
|
206
|
-
},
|
|
207
|
-
e.state,
|
|
208
|
-
e.inputRef
|
|
209
|
-
);
|
|
210
|
-
return /* @__PURE__ */ r(
|
|
211
|
-
O,
|
|
212
|
-
{
|
|
213
|
-
...e,
|
|
214
|
-
...a,
|
|
215
|
-
ref: i
|
|
216
|
-
}
|
|
217
|
-
);
|
|
218
|
-
}), le = x.forwardRef((e, i) => {
|
|
219
|
-
const a = B(e, C(e), e.inputRef);
|
|
220
|
-
return /* @__PURE__ */ r(
|
|
221
|
-
O,
|
|
222
|
-
{
|
|
223
|
-
...e,
|
|
224
|
-
...a,
|
|
225
|
-
ref: i
|
|
226
|
-
}
|
|
227
|
-
);
|
|
228
|
-
}), Pe = x.forwardRef(
|
|
229
|
-
(e, i) => {
|
|
230
|
-
[e, i] = j(e, i, L);
|
|
231
|
-
const a = A(M), d = e.validationBehavior ?? (a == null ? void 0 : a.validationBehavior) ?? "native", l = x.useContext(Z), o = x.useRef(null), s = Q(e), t = I({
|
|
232
|
-
ref: i,
|
|
233
|
-
isDisabled: e.isDisabled
|
|
234
|
-
}), n = T();
|
|
235
|
-
return l ? /* @__PURE__ */ r(
|
|
236
|
-
de,
|
|
237
|
-
{
|
|
238
|
-
...e,
|
|
239
|
-
state: l,
|
|
240
|
-
inputRef: o,
|
|
241
|
-
hoverResult: s,
|
|
242
|
-
pressResult: t,
|
|
243
|
-
focusRingAria: n,
|
|
244
|
-
validationBehavior: d
|
|
245
|
-
}
|
|
246
|
-
) : /* @__PURE__ */ r(
|
|
247
|
-
le,
|
|
248
|
-
{
|
|
249
|
-
...e,
|
|
250
|
-
inputRef: o,
|
|
251
|
-
hoverResult: s,
|
|
252
|
-
pressResult: t,
|
|
253
|
-
focusRingAria: n,
|
|
254
|
-
validationBehavior: d
|
|
255
|
-
}
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
);
|
|
259
|
-
export {
|
|
260
|
-
X as $,
|
|
261
|
-
Pe as C,
|
|
262
|
-
Z as a,
|
|
263
|
-
k as s
|
|
264
|
-
};
|
package/Checkbox-CZtCj4yR.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Checkbox.css');const s=require("react/jsx-runtime"),g=require("react"),G=require("./RSPContexts-D8hmBfGm.cjs"),S=require("./utils-BM2vxlNA.cjs"),F=require("./Form-BuOomA4T.cjs"),D=require("./clsx-C11secjj.cjs"),P=require("./mergeProps-C7Sx47fA.cjs"),N=require("./VisuallyHidden-DxDOcIsh.cjs"),m=require("./useFormValidation-DSRwb9US.cjs"),V=require("./usePress-BOGIOlm8.cjs"),M=require("./filterDOMProps-BS2lrgFA.cjs"),L=require("./useFocusable-DbmryjUH.cjs"),O=require("./useToggleState-DoIkSQdj.cjs"),A=require("./useHover-CaFzQrR_.cjs"),H=require("./useFocusRing-BM-zcH6L.cjs");function T(e){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const d=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,d.get?d:{enumerable:!0,get:()=>e[a]})}}return i.default=e,Object.freeze(i)}const R=T(g);function z(e,i,a){let{isDisabled:d=!1,isReadOnly:t=!1,value:r,name:o,children:n,"aria-label":l,"aria-labelledby":c,validationState:v="valid",isInvalid:u}=e,x=$=>{$.stopPropagation(),i.setSelected($.target.checked)},y=n!=null,f=l!=null||c!=null;!y&&!f&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:h,isPressed:b}=V.$f6c31cce2adf654f$export$45712eceda6fad21({isDisabled:d}),{pressProps:I,isPressed:k}=V.$f6c31cce2adf654f$export$45712eceda6fad21({onPress(){var $;i.toggle(),($=a.current)===null||$===void 0||$.focus()},isDisabled:d||t}),{focusableProps:p}=L.$f645667febf57a63$export$4c014de7c8940b4c(e,a),w=P.$3ef42575df84b30b$export$9d1611c77c2fe928(h,p),E=M.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});return m.$99facab73266f662$export$5add1d006293d136(a,i.isSelected,i.setSelected),{labelProps:P.$3ef42575df84b30b$export$9d1611c77c2fe928(I,{onClick:$=>$.preventDefault()}),inputProps:P.$3ef42575df84b30b$export$9d1611c77c2fe928(E,{"aria-invalid":u||v==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":t||void 0,onChange:x,disabled:d,...r==null?{}:{value:r},name:o,type:"checkbox",...w}),isSelected:i.isSelected,isPressed:b||k,isDisabled:d,isReadOnly:t,isInvalid:u||v==="invalid"}}function C(e,i,a){let d=m.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i.isSelected}),{isInvalid:t,validationErrors:r,validationDetails:o}=d.displayValidation,{labelProps:n,inputProps:l,isSelected:c,isPressed:v,isDisabled:u,isReadOnly:x}=z({...e,isInvalid:t},i,a);m.$e93e671b31057976$export$b8473d3665f3a75a(e,d,a);let{isIndeterminate:y,isRequired:f,validationBehavior:h="aria"}=e;g.useEffect(()=>{a.current&&(a.current.indeterminate=!!y)});let{pressProps:b}=V.$f6c31cce2adf654f$export$45712eceda6fad21({isDisabled:u||x,onPress(){let{[m.$e5be200c675c3b3a$export$a763b9476acd3eb]:I}=e,{commitValidation:k}=I||d;k()}});return{labelProps:P.$3ef42575df84b30b$export$9d1611c77c2fe928(n,b),inputProps:{...l,checked:c,"aria-required":f&&h==="aria"||void 0,required:f&&h==="native"},isSelected:c,isPressed:v,isDisabled:u,isReadOnly:x,isInvalid:t,validationErrors:r,validationDetails:o}}const _=new WeakMap;function W(e,i,a){const d=O.$3017fa7ffdddec74$export$8042c6c013fd5226({isReadOnly:e.isReadOnly||i.isReadOnly,isSelected:i.isSelected(e.value),onChange(b){b?i.addValue(e.value):i.removeValue(e.value),e.onChange&&e.onChange(b)}});let{name:t,descriptionId:r,errorMessageId:o,validationBehavior:n}=_.get(i);var l;n=(l=e.validationBehavior)!==null&&l!==void 0?l:n;let{realtimeValidation:c}=m.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:d.isSelected,name:void 0,validationBehavior:"aria"}),v=g.useRef(m.$e5be200c675c3b3a$export$dad6ae84456c676a),u=()=>{i.setInvalid(e.value,c.isInvalid?c:v.current)};g.useEffect(u);let x=i.realtimeValidation.isInvalid?i.realtimeValidation:c,y=n==="native"?i.displayValidation:x;var f;let h=C({...e,isReadOnly:e.isReadOnly||i.isReadOnly,isDisabled:e.isDisabled||i.isDisabled,name:e.name||t,isRequired:(f=e.isRequired)!==null&&f!==void 0?f:i.isRequired,validationBehavior:n,[m.$e5be200c675c3b3a$export$a763b9476acd3eb]:{realtimeValidation:x,displayValidation:y,resetValidation:i.resetValidation,commitValidation:i.commitValidation,updateValidation(b){v.current=b,u()}}},d,a);return{...h,inputProps:{...h.inputProps,"aria-describedby":[e["aria-describedby"],i.isInvalid?o:null,r].filter(Boolean).join(" ")||void 0}}}const j=g.createContext(null),J="_checkboxInner_5vl7s_4",K="_checkbox_5vl7s_4",Q="_checkboxGroup_5vl7s_124",q={checkboxInner:J,checkbox:K,checkboxGroup:Q},B=R.forwardRef((e,i)=>{const{hoverProps:a,isHovered:d}=e.hoverResult,{pressProps:t,isPressed:r}=e.pressResult,{isFocused:o,isFocusVisible:n,focusProps:l}=e.focusRingAria;return s.jsxs("label",{ref:i,...P.$3ef42575df84b30b$export$9d1611c77c2fe928(a,t,e.labelProps),slot:e.slot||void 0,className:D.clsx(q.checkbox,e.className),"data-hovered":d||void 0,"data-selected":e.isSelected||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":r||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-invalid":e.isInvalid||void 0,"data-focused":o||void 0,"data-focus-visible":n||void 0,"data-required":e.isRequired||void 0,children:[s.jsx("div",{className:D.clsx(q.checkboxInner),children:s.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:e.isIndeterminate?s.jsx("rect",{x:4,y:8,width:10,height:2}):s.jsx("polyline",{points:"3,9 7,13 15,4"})})}),s.jsx(N.$5c3e21d68f1c4674$export$439d29a4e110a164,{children:s.jsx("input",{...P.$3ef42575df84b30b$export$9d1611c77c2fe928(e.inputProps,l),ref:e.inputRef})}),e.children]})}),U=R.forwardRef((e,i)=>{const a=W({...e,value:e.value||""},e.state,e.inputRef);return s.jsx(B,{...e,...a,ref:i})}),X=R.forwardRef((e,i)=>{const a=C(e,O.$3017fa7ffdddec74$export$8042c6c013fd5226(e),e.inputRef);return s.jsx(B,{...e,...a,ref:i})}),Y=R.forwardRef((e,i)=>{[e,i]=S.$64fa3d84918910a7$export$29f1550f4b0d4415(e,i,G.$4e85f108e88277b8$export$b085522c77523c51);const a=S.$64fa3d84918910a7$export$fabf2dc03a41866e(F.$d3e0e05bdfcf66bd$export$c24727297075ec6a),d=e.validationBehavior??(a==null?void 0:a.validationBehavior)??"native",t=R.useContext(j),r=R.useRef(null),o=A.$6179b936705e76d3$export$ae780daf29e6d456(e),n=V.$f6c31cce2adf654f$export$45712eceda6fad21({ref:i,isDisabled:e.isDisabled}),l=H.$f7dceffc5ad7768b$export$4e328f61c538687f();return t?s.jsx(U,{...e,state:t,inputRef:r,hoverResult:o,pressResult:n,focusRingAria:l,validationBehavior:d}):s.jsx(X,{...e,inputRef:r,hoverResult:o,pressResult:n,focusRingAria:l,validationBehavior:d})});exports.$1ae600c947479353$export$ec98120685d4f57d=_;exports.Checkbox=Y;exports.CheckboxGroupContext=j;exports.styles=q;
|