@midas-ds/components 11.2.0 → 12.1.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-C9dBt-tQ.js +335 -0
- package/AccordionItem-SOfjXh3V.cjs +1 -0
- package/BadgeContainer-iNNgJKD9.js +37 -0
- package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
- package/Breadcrumbs-BAHJMPsu.js +271 -0
- package/Breadcrumbs-DUcHHI_2.cjs +1 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
- package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
- package/{Button-Dq6ugqxT.cjs → Button-DrL5Jv-s.cjs} +1 -1
- package/Button.module-BNLcvARn.cjs +1 -0
- package/Button.module-Bax2YU6N.js +14 -0
- package/ButtonGroup-ClYTgaRc.cjs +1 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
- package/CHANGELOG.md +114 -0
- package/Card-BDDyGAMA.js +131 -0
- package/Card-mj5lCIR4.cjs +1 -0
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
- package/Checkbox-BtM2rFh9.js +278 -0
- package/Checkbox-CvdIG43J.cjs +1 -0
- package/CheckboxGroup-C94as9Xt.cjs +1 -0
- package/CheckboxGroup-CjcDYBRk.js +157 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
- package/ComboBox-B2EmfOyr.cjs +1 -0
- package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
- package/DateField-CcQJYDLD.js +47 -0
- package/DateField-IpCiF81R.cjs +1 -0
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CXkUdlzc.js} +936 -839
- package/DateInputDivider-Cf5GZHlM.cjs +1 -0
- package/DateRangePicker-B2BJO1KC.js +889 -0
- package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-DgJobm71.cjs +1 -0
- package/Dialog-P3frHOdq.js +240 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
- package/Dropdown-DJ2vWAqk.cjs +6 -0
- package/FieldError-Cornph2A.cjs +1 -0
- package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
- package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/Grid-WbEkSCGh.cjs +1 -0
- package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
- package/GridItem-CIVF1fRW.cjs +1 -0
- package/GridItem-D3FZyyO-.js +243 -0
- package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/InfoBanner-CqjnTYaa.cjs +1 -0
- package/InfoBanner-CrA8MS3v.js +83 -0
- package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
- package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
- package/Label-C00qz3kQ.cjs +1 -0
- package/Layout-Bta_Cpq_.cjs +16 -0
- package/Layout-CG-Qxr_1.js +482 -0
- package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
- package/Link-Bx6avHVl.cjs +6 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-BvXu6vAH.cjs +6 -0
- package/LinkButton-D3EnZ65v.js +69 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
- package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
- package/ListBoxSection-BCPv9H50.js +1085 -0
- package/ListBoxSection-Dx75ZinL.cjs +1 -0
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
- package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
- package/ProgressBar-CdXHEJh6.js +53 -0
- package/ProgressBar-CjuHokVZ.cjs +1 -0
- package/Radio-Bll-7H8O.cjs +1 -0
- package/Radio-DoWx2AE1.js +333 -0
- package/RangeCalendar-A4WQIG7P.cjs +6 -0
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
- package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
- package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
- package/Select-BnbDXwgD.cjs +1 -0
- package/Select-Dpi3LhbI.js +654 -0
- package/{SelectionManager-BKrZ_mMO.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-BpYj25p8.js +37 -0
- package/Skeleton-DMOxEwnd.cjs +1 -0
- package/Spinner-D1UBuLy4.cjs +6 -0
- package/Spinner-DTKb_LAA.js +47 -0
- package/TabList-D4WwgQY3.cjs +1 -0
- package/TabList-D9tl2s85.js +397 -0
- package/Table-C6k3PiiC.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
- package/Tag-7dHEMQum.cjs +1 -0
- package/Tag-BUJ20HHw.js +765 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
- package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-BCikUXaD.cjs +1 -0
- package/TextArea-h5_oBQH1.js +125 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-C9Zm9unF.js +13 -0
- package/TextField.module-GTQtNO0r.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
- package/Toast-DclaxvZM.cjs +1 -0
- package/ToggleButtonGroup-BGG64PK1.js +214 -0
- package/ToggleButtonGroup-Da330GRT.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- 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 -0
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- 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/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/intl/translations.json.d.ts +4 -2
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- 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 +25 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
- package/index-DSFSh2sC.cjs +17 -0
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +133 -121
- package/info-banner/InfoBanner.d.ts +18 -10
- 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-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +9 -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.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- 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/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -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 +384 -0
- package/theme/generated-tokens.d.ts +334 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +39 -12
- package/theme/index.js +4037 -13
- package/theme/tokens.d.ts +65 -18
- package/toast/Toast.d.ts +2 -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-B3FfJ-rY.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
- 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-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
- package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/utils/types.d.ts +4 -0
- package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/Breadcrumbs-BBzSV4SK.js +0 -262
- package/Breadcrumbs-CFUryOhf.cjs +0 -1
- package/Button-DExMoP5f.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-BRs1FKX5.js +0 -131
- package/Card-cdL5669N.cjs +0 -1
- package/Checkbox-Co3h0hur.cjs +0 -1
- package/Checkbox-EB_SCBEo.js +0 -264
- package/CheckboxGroup-CT_eqERw.cjs +0 -1
- package/CheckboxGroup-DvrN1oyw.js +0 -159
- package/Collection-BtBX5IMY.cjs +0 -1
- package/Collection-D2jVTmDW.js +0 -577
- package/ComboBox-D_jh7TKo.cjs +0 -1
- package/DateField-BURrxhil.cjs +0 -1
- package/DateField-DKCbEonm.js +0 -47
- package/DateInputDivider-ToFY-yjB.cjs +0 -1
- package/DateRangePicker-B5vx9onl.js +0 -870
- package/DateRangePicker-DkIAEIIj.cjs +0 -6
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-D5c_dUnB.js +0 -1611
- package/Dialog-DtHk3eXI.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/DragAndDrop-CSg60YQE.cjs +0 -1
- package/DragAndDrop-DOXLfJaA.js +0 -60
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-Bv3Q6ZP-.cjs +0 -1
- package/FocusScope-vcXLOQiu.cjs +0 -1
- package/Grid-DVQtOcu9.cjs +0 -1
- package/GridItem-DlbSdRmB.js +0 -246
- package/GridItem-XgHmZWXY.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/Heading-D2y_kiC0.js +0 -46
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/Layout-D0E1fOgZ.cjs +0 -16
- package/Layout-DtyhUz-G.js +0 -498
- package/Link-CibH8uRY.js +0 -72
- package/Link-CidjjqHb.cjs +0 -1
- package/Link-ESjrl63P.cjs +0 -6
- package/LinkButton-B6AWNiRn.cjs +0 -6
- package/LinkButton-BkZULm2a.js +0 -69
- package/ListBox-B0E1hdEt.cjs +0 -1
- package/ListBox-Djy7244v.js +0 -531
- package/ListBoxButton-CIqNRR3y.cjs +0 -1
- package/ListBoxButton-sqirI6I4.js +0 -15
- package/ListBoxSection-BYJccE4T.cjs +0 -1
- package/ListBoxSection-Cicbu8pS.js +0 -1058
- package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
- package/OverlayArrow-DB_aVTVM.js +0 -507
- package/OverlayArrow-DpZ1FqOd.cjs +0 -1
- package/ProgressBar-ClysdvqU.cjs +0 -1
- package/ProgressBar-DTn23Zkr.js +0 -53
- package/Radio-CCN3o3s-.js +0 -313
- package/Radio-Cz0vLIBw.cjs +0 -1
- package/RangeCalendar-BY82hPRu.cjs +0 -11
- package/Select-MwvnbChP.js +0 -664
- package/Select-lhIwwJL7.cjs +0 -1
- package/SelectionManager-BJjqIWtf.cjs +0 -1
- package/Separator-DPLEx950.cjs +0 -1
- package/Separator-DvvVAypT.js +0 -59
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-VSyPhiJ9.js +0 -51
- package/Spinner-vof0Y9Hh.cjs +0 -6
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/Tag-bYq-wf5D.cjs +0 -1
- package/Tag-rI-NhuT0.js +0 -748
- package/Text-BPcfhYQ9.js +0 -32
- package/Text-DBHWi5gA.cjs +0 -1
- package/TextArea-CrEALC58.js +0 -119
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/TextField-BAX93sq7.cjs +0 -1
- package/TextField-Dma22dnD.js +0 -120
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/ToggleButtonGroup-98z8Dw8-.js +0 -211
- package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
- package/Tooltip-DjNc93tV.js +0 -285
- package/Tooltip-pN5W3IK6.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/index-Dsz3aiWt.cjs +0 -17
- package/mergeProps-B5KXZAI3.cjs +0 -1
- package/tokens-5PzK5zK7.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useButton-BoIV3kDJ.js +0 -47
- package/useButton-D60q0SQw.cjs +0 -1
- package/useDateFormatter-BJBt0jk_.cjs +0 -1
- package/useFormValidation-BlFGdPZB.cjs +0 -1
- package/useFormValidation-BzzruZKm.js +0 -215
- package/useHover-BE_XKZKe.cjs +0 -1
- package/useListState-wLau6fXo.cjs +0 -1
- package/usePress-BooY_CAy.cjs +0 -7
- package/useTextField-DnRrCg5o.cjs +0 -1
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-CoCR_Fce.js +0 -234
- package/utils-Dvdohqm9.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Text.css');const y=require("react/jsx-runtime"),p=require("./clsx-C11secjj.cjs"),x=require("./Text-BtPiT2P1.cjs"),_="_description_130b8_21",e={"body-01":"_body-01_130b8_1","body-02":"_body-02_130b8_2",description:_},t="span",a=({children:o,className:c,variant:n="body-02",isExpressive:d=!1,elementType:r=t,...s})=>{const i={"body-01":e["body-01"],"body-02":e["body-02"]},b={className:p.clsx(s.slot==="description"?e.description:i[n],c),elementType:r||t,...d&&{"data-expressive":!0},...s};return y.jsx(x.$514c0188e459b4c0$export$5f1af8db9871e1d6,{...b,children:o})};exports.Text=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const b=require("./utils-
|
|
1
|
+
"use strict";const b=require("./utils-CMHKYKlz.cjs"),c=require("react"),a=c.createContext({}),n=c.forwardRef(function(e,t){[e,t]=b.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,a);let{elementType:r="span",...$}=e;return c.createElement(r,{className:"react-aria-Text",...$,ref:t})});exports.$514c0188e459b4c0$export$5f1af8db9871e1d6=n;exports.$514c0188e459b4c0$export$9afb8bc826b033ea=a;
|
package/Text-CmlsaWMA.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
import { a as y } from "./Text-Be7WIOwv.js";
|
|
4
|
+
import './assets/Text.css';const _ = "_description_130b8_21", o = {
|
|
5
|
+
"body-01": "_body-01_130b8_1",
|
|
6
|
+
"body-02": "_body-02_130b8_2",
|
|
7
|
+
description: _
|
|
8
|
+
}, t = "span", f = ({
|
|
9
|
+
children: e,
|
|
10
|
+
className: c,
|
|
11
|
+
variant: d = "body-02",
|
|
12
|
+
isExpressive: r = !1,
|
|
13
|
+
elementType: b = t,
|
|
14
|
+
...s
|
|
15
|
+
}) => {
|
|
16
|
+
const i = {
|
|
17
|
+
"body-01": o["body-01"],
|
|
18
|
+
"body-02": o["body-02"]
|
|
19
|
+
}, n = {
|
|
20
|
+
className: a(
|
|
21
|
+
s.slot === "description" ? o.description : i[d],
|
|
22
|
+
c
|
|
23
|
+
),
|
|
24
|
+
elementType: b || t,
|
|
25
|
+
...r && { "data-expressive": !0 },
|
|
26
|
+
...s
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ p(y, { ...n, children: e });
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
f as T
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),F=require("react"),u=require("./utils-CMHKYKlz.cjs"),f=require("./Input-CzMx2mfl.cjs"),l=require("./clsx-C11secjj.cjs"),i=require("./TextField.module-GTQtNO0r.cjs"),h=require("./Text-BAFsaON-.cjs"),q=require("./Button-DrL5Jv-s.cjs"),T=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),x=require("./TextField-Bm5916AD.cjs"),b=require("./FieldError-Cornph2A.cjs"),g=require("./CharacterCounter-CnRv-iUP.cjs"),m=require("./Label-C00qz3kQ.cjs");function N(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,o.get?o:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const d=N(F),$=d.forwardRef((e,r)=>{[e]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,x.$bcdf0525bf22703d$export$2129e27b3ef0d483);const{label:s,description:o,errorMessage:c,showCounter:a,errorPosition:n="top",size:j="large",popover:w,children:y}=e;return t.jsxs(x.$bcdf0525bf22703d$export$2c73285ae9390cec,{...e,className:l.clsx(i.styles.textField,{[i.styles.medium]:j==="medium"}),children:[t.jsx(m.LabelWrapper,{popover:w,children:s&&t.jsx(m.Label,{children:s})}),o&&t.jsx(h.Text,{slot:"description",children:o}),a&&t.jsx(g.CharacterCounter,{isLonely:!o}),n==="top"&&t.jsx(b.FieldError,{"data-testid":"fieldError",children:c}),y,n==="bottom"&&t.jsx(b.FieldError,{"data-testid":"fieldError",className:i.styles.bottomError,children:c})]})}),P={hide:"Hide",show:"Show"},R={hide:"Dölj",show:"Visa"},S={en:P,sv:R},v=d.forwardRef((e,r)=>{[e,r]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,f.$3985021b0ad6602f$export$37fb8590cf2c088c);const[s,o]=d.useState(!1),c=()=>o(n=>!n),a=T.useLocalizedStringFormatter(S);return t.jsxs(t.Fragment,{children:[s&&t.jsx(h.Text,{slot:"description",className:i.styles.passwordText,children:e.value}),t.jsx(q.Button,{variant:"tertiary",onPress:c,className:i.styles.passwordButton,children:s?a.format("hide"):a.format("show")})]})}),p=d.forwardRef(({skipContext:e=!1,...r},s)=>{const[o,c]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(r,s,f.$3985021b0ad6602f$export$37fb8590cf2c088c),a=e?s:c,n=e?r:o;return t.jsxs("div",{className:i.styles.wrap,children:[t.jsx(f.$3985021b0ad6602f$export$f5b8910cec6cf069,{...n,ref:a,className:l.clsx(i.styles.input,n.className)}),n.type==="password"&&t.jsx(v,{...n})]})}),E=d.forwardRef(({className:e,form:r,list:s,type:o,...c},a)=>t.jsx($,{...c,children:t.jsx(p,{className:l.clsx(e),form:r,list:s,ref:a,type:o,skipContext:!0})})),L=d.forwardRef(({className:e,form:r,rows:s,wrap:o,...c},a)=>t.jsx($,{...c,children:t.jsx(x.$216918bed6669f72$export$f5c9f3c2c4054eec,{className:l.clsx(i.styles.textArea,e),form:r,ref:a,rows:s,wrap:o})}));exports.Input=p;exports.TextArea=L;exports.TextField=E;exports.TextFieldBase=$;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { jsxs as m, jsx as r, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import { $ as l } from "./utils-Cpcjg55U.js";
|
|
4
|
+
import { $ as h, a as F } from "./Input-BLVRv0FK.js";
|
|
5
|
+
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
import { s as d } from "./TextField.module-C9Zm9unF.js";
|
|
7
|
+
import { T as $ } from "./Text-CmlsaWMA.js";
|
|
8
|
+
import { B as T } from "./Button-DYcmg49Z.js";
|
|
9
|
+
import { u as g } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
10
|
+
import { $ as P, a as R, b as v } from "./TextField-_UY8CXtW.js";
|
|
11
|
+
import { F as p } from "./FieldError-DdvFyIf4.js";
|
|
12
|
+
import { C as L } from "./CharacterCounter-DT7A0wWP.js";
|
|
13
|
+
import { a as y, L as B } from "./Label-BG7G0iyG.js";
|
|
14
|
+
const w = n.forwardRef((e, t) => {
|
|
15
|
+
[e] = l(e, t, R);
|
|
16
|
+
const {
|
|
17
|
+
label: s,
|
|
18
|
+
description: o,
|
|
19
|
+
errorMessage: a,
|
|
20
|
+
showCounter: c,
|
|
21
|
+
errorPosition: i = "top",
|
|
22
|
+
size: x = "large",
|
|
23
|
+
popover: b,
|
|
24
|
+
children: u
|
|
25
|
+
} = e;
|
|
26
|
+
return /* @__PURE__ */ m(
|
|
27
|
+
P,
|
|
28
|
+
{
|
|
29
|
+
...e,
|
|
30
|
+
className: f(d.textField, {
|
|
31
|
+
[d.medium]: x === "medium"
|
|
32
|
+
}),
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ r(y, { popover: b, children: s && /* @__PURE__ */ r(B, { children: s }) }),
|
|
35
|
+
o && /* @__PURE__ */ r($, { slot: "description", children: o }),
|
|
36
|
+
c && /* @__PURE__ */ r(L, { isLonely: !o }),
|
|
37
|
+
i === "top" && /* @__PURE__ */ r(p, { "data-testid": "fieldError", children: a }),
|
|
38
|
+
u,
|
|
39
|
+
i === "bottom" && /* @__PURE__ */ r(
|
|
40
|
+
p,
|
|
41
|
+
{
|
|
42
|
+
"data-testid": "fieldError",
|
|
43
|
+
className: d.bottomError,
|
|
44
|
+
children: a
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
}), C = { hide: "Hide", show: "Show" }, E = { hide: "Dölj", show: "Visa" }, S = {
|
|
51
|
+
en: C,
|
|
52
|
+
sv: E
|
|
53
|
+
}, j = n.forwardRef(
|
|
54
|
+
(e, t) => {
|
|
55
|
+
[e, t] = l(e, t, h);
|
|
56
|
+
const [s, o] = n.useState(!1), a = () => o((i) => !i), c = g(S);
|
|
57
|
+
return /* @__PURE__ */ m(N, { children: [
|
|
58
|
+
s && /* @__PURE__ */ r(
|
|
59
|
+
$,
|
|
60
|
+
{
|
|
61
|
+
slot: "description",
|
|
62
|
+
className: d.passwordText,
|
|
63
|
+
children: e.value
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ r(
|
|
67
|
+
T,
|
|
68
|
+
{
|
|
69
|
+
variant: "tertiary",
|
|
70
|
+
onPress: a,
|
|
71
|
+
className: d.passwordButton,
|
|
72
|
+
children: s ? c.format("hide") : c.format("show")
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
] });
|
|
76
|
+
}
|
|
77
|
+
), z = n.forwardRef(
|
|
78
|
+
({ skipContext: e = !1, ...t }, s) => {
|
|
79
|
+
const [o, a] = l(
|
|
80
|
+
t,
|
|
81
|
+
s,
|
|
82
|
+
h
|
|
83
|
+
), c = e ? s : a, i = e ? t : o;
|
|
84
|
+
return /* @__PURE__ */ m("div", { className: d.wrap, children: [
|
|
85
|
+
/* @__PURE__ */ r(
|
|
86
|
+
F,
|
|
87
|
+
{
|
|
88
|
+
...i,
|
|
89
|
+
ref: c,
|
|
90
|
+
className: f(d.input, i.className)
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
i.type === "password" && /* @__PURE__ */ r(j, { ...i })
|
|
94
|
+
] });
|
|
95
|
+
}
|
|
96
|
+
), O = n.forwardRef(
|
|
97
|
+
({ className: e, form: t, list: s, type: o, ...a }, c) => /* @__PURE__ */ r(w, { ...a, children: /* @__PURE__ */ r(
|
|
98
|
+
z,
|
|
99
|
+
{
|
|
100
|
+
className: f(e),
|
|
101
|
+
form: t,
|
|
102
|
+
list: s,
|
|
103
|
+
ref: c,
|
|
104
|
+
type: o,
|
|
105
|
+
skipContext: !0
|
|
106
|
+
}
|
|
107
|
+
) })
|
|
108
|
+
), Q = n.forwardRef(
|
|
109
|
+
({ className: e, form: t, rows: s, wrap: o, ...a }, c) => /* @__PURE__ */ r(w, { ...a, children: /* @__PURE__ */ r(
|
|
110
|
+
v,
|
|
111
|
+
{
|
|
112
|
+
className: f(d.textArea, e),
|
|
113
|
+
form: t,
|
|
114
|
+
ref: c,
|
|
115
|
+
rows: s,
|
|
116
|
+
wrap: o
|
|
117
|
+
}
|
|
118
|
+
) })
|
|
119
|
+
);
|
|
120
|
+
export {
|
|
121
|
+
z as I,
|
|
122
|
+
w as T,
|
|
123
|
+
O as a,
|
|
124
|
+
Q as b
|
|
125
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("./utils-CMHKYKlz.cjs"),m=require("./FieldError-Cornph2A.cjs"),E=require("./ListKeyboardDelegate-C_X1wLkh.cjs"),I=require("./Form-BuOomA4T.cjs"),g=require("./Group-BKYGeOBr.cjs"),y=require("./Input-CzMx2mfl.cjs"),D=require("./Button-CMIbSc4-.cjs"),t=require("react"),B=require("./useHover-DGAmG7jt.cjs"),C=require("./useFocusRing-BcbYske2.cjs"),M=require("./mergeProps-JhcJ7uJL.cjs"),O=require("./Text-BtPiT2P1.cjs"),A=require("./Hidden-BxRZGdEW.cjs"),V=require("./filterDOMProps-RRlKPKX0.cjs"),S=require("./useTextField-Cxpfu0U3.cjs"),P=t.createContext({});let _=f=>{let{onHoverStart:e,onHoverChange:d,onHoverEnd:n,...i}=f;return i};const L=t.forwardRef(function(e,d){[e,d]=a.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,P);let{hoverProps:n,isHovered:i}=B.$6179b936705e76d3$export$ae780daf29e6d456(e),{isFocused:o,isFocusVisible:l,focusProps:r}=C.$f7dceffc5ad7768b$export$4e328f61c538687f({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",$=a.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isHovered:i,isFocused:o,isFocusVisible:l,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return t.createElement("textarea",{...M.$3ef42575df84b30b$export$9d1611c77c2fe928(_(e),r,n),...$,ref:d,"data-focused":o||void 0,"data-disabled":e.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":l||void 0,"data-invalid":s||void 0})}),p=t.createContext(null),N=A.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,d){[e,d]=a.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,p);let{validationBehavior:n}=a.$64fa3d84918910a7$export$fabf2dc03a41866e(I.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var i,o;let l=(o=(i=e.validationBehavior)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:"native",r=t.useRef(null);[e,r]=a.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,E.$8e6cc465cc68f603$export$698f465ec27e93df);let[s,$]=a.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),[F,h]=t.useState("input"),{labelProps:H,inputProps:b,descriptionProps:R,errorMessageProps:T,...c}=S.$2d73ec29415bd339$export$712718f7aec83d5({...a.$64fa3d84918910a7$export$ef03459518577ad4(e),inputElementType:F,label:$,validationBehavior:l},r),v=t.useCallback(u=>{r.current=u,u&&h(u instanceof HTMLTextAreaElement?"textarea":"input")},[r]),x=a.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:c.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:"react-aria-TextField"}),q=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete q.id,t.createElement("div",{...q,...x,ref:d,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":c.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},t.createElement(a.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D.$01b77f81d0f07f68$export$75b6ee27786ba447,{...H,ref:s}],[y.$3985021b0ad6602f$export$37fb8590cf2c088c,{...b,ref:v}],[P,{...b,ref:v}],[g.$a049562f99e7db0e$export$f9c6924e160136d1,{role:"presentation",isInvalid:c.isInvalid,isDisabled:e.isDisabled||!1}],[O.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:R,errorMessage:T}}],[m.$ee014567cb39d3f0$export$ff05c3ac10437e03,c]]},x.children))});exports.$216918bed6669f72$export$f5c9f3c2c4054eec=L;exports.$bcdf0525bf22703d$export$2129e27b3ef0d483=p;exports.$bcdf0525bf22703d$export$2c73285ae9390cec=N;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { $ as c, a as p, c as I, d as y, e as D, f as g } from "./utils-Cpcjg55U.js";
|
|
2
|
+
import { $ as B } from "./FieldError-DdvFyIf4.js";
|
|
3
|
+
import { a as C } from "./ListKeyboardDelegate-CVxkAn5D.js";
|
|
4
|
+
import { $ as M } from "./Form-CXcEMuBf.js";
|
|
5
|
+
import { $ as O } from "./Group-C73mD_-i.js";
|
|
6
|
+
import { $ as _ } from "./Input-BLVRv0FK.js";
|
|
7
|
+
import { b as q } from "./Button-DD5_S-tD.js";
|
|
8
|
+
import b, { forwardRef as A, createContext as P, useRef as V, useState as S, useCallback as N } from "react";
|
|
9
|
+
import { $ as k } from "./useHover-D6bNIkU0.js";
|
|
10
|
+
import { $ as w } from "./useFocusRing-DMo8ctYV.js";
|
|
11
|
+
import { a as L } from "./mergeProps-BSsN7Bgk.js";
|
|
12
|
+
import { $ as j } from "./Text-Be7WIOwv.js";
|
|
13
|
+
import { $ as z } from "./Hidden-C9KWUR7b.js";
|
|
14
|
+
import { $ as G } from "./filterDOMProps-wsa9OcNI.js";
|
|
15
|
+
import { $ as J } from "./useTextField-BC5X_AO_.js";
|
|
16
|
+
const h = /* @__PURE__ */ P({});
|
|
17
|
+
let K = (s) => {
|
|
18
|
+
let { onHoverStart: e, onHoverChange: a, onHoverEnd: r, ...i } = s;
|
|
19
|
+
return i;
|
|
20
|
+
};
|
|
21
|
+
const ne = /* @__PURE__ */ A(function(e, a) {
|
|
22
|
+
[e, a] = c(e, a, h);
|
|
23
|
+
let { hoverProps: r, isHovered: i } = k(e), { isFocused: t, isFocusVisible: o, focusProps: d } = w({
|
|
24
|
+
isTextInput: !0,
|
|
25
|
+
autoFocus: e.autoFocus
|
|
26
|
+
}), f = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n = p({
|
|
27
|
+
...e,
|
|
28
|
+
values: {
|
|
29
|
+
isHovered: i,
|
|
30
|
+
isFocused: t,
|
|
31
|
+
isFocusVisible: o,
|
|
32
|
+
isDisabled: e.disabled || !1,
|
|
33
|
+
isInvalid: f
|
|
34
|
+
},
|
|
35
|
+
defaultClassName: "react-aria-TextArea"
|
|
36
|
+
});
|
|
37
|
+
return /* @__PURE__ */ b.createElement("textarea", {
|
|
38
|
+
...L(K(e), d, r),
|
|
39
|
+
...n,
|
|
40
|
+
ref: a,
|
|
41
|
+
"data-focused": t || void 0,
|
|
42
|
+
"data-disabled": e.disabled || void 0,
|
|
43
|
+
"data-hovered": i || void 0,
|
|
44
|
+
"data-focus-visible": o || void 0,
|
|
45
|
+
"data-invalid": f || void 0
|
|
46
|
+
});
|
|
47
|
+
}), Q = /* @__PURE__ */ P(null), $e = /* @__PURE__ */ z(function(e, a) {
|
|
48
|
+
[e, a] = c(e, a, Q);
|
|
49
|
+
let { validationBehavior: r } = I(M) || {};
|
|
50
|
+
var i, t;
|
|
51
|
+
let o = (t = (i = e.validationBehavior) !== null && i !== void 0 ? i : r) !== null && t !== void 0 ? t : "native", d = V(null);
|
|
52
|
+
[e, d] = c(e, d, C);
|
|
53
|
+
let [f, n] = y(!e["aria-label"] && !e["aria-labelledby"]), [R, H] = S("input"), { labelProps: T, inputProps: u, descriptionProps: F, errorMessageProps: E, ...l } = J({
|
|
54
|
+
...D(e),
|
|
55
|
+
inputElementType: R,
|
|
56
|
+
label: n,
|
|
57
|
+
validationBehavior: o
|
|
58
|
+
}, d), v = N(($) => {
|
|
59
|
+
d.current = $, $ && H($ instanceof HTMLTextAreaElement ? "textarea" : "input");
|
|
60
|
+
}, [
|
|
61
|
+
d
|
|
62
|
+
]), m = p({
|
|
63
|
+
...e,
|
|
64
|
+
values: {
|
|
65
|
+
isDisabled: e.isDisabled || !1,
|
|
66
|
+
isInvalid: l.isInvalid,
|
|
67
|
+
isReadOnly: e.isReadOnly || !1,
|
|
68
|
+
isRequired: e.isRequired || !1
|
|
69
|
+
},
|
|
70
|
+
defaultClassName: "react-aria-TextField"
|
|
71
|
+
}), x = G(e, {
|
|
72
|
+
global: !0
|
|
73
|
+
});
|
|
74
|
+
return delete x.id, /* @__PURE__ */ b.createElement("div", {
|
|
75
|
+
...x,
|
|
76
|
+
...m,
|
|
77
|
+
ref: a,
|
|
78
|
+
slot: e.slot || void 0,
|
|
79
|
+
"data-disabled": e.isDisabled || void 0,
|
|
80
|
+
"data-invalid": l.isInvalid || void 0,
|
|
81
|
+
"data-readonly": e.isReadOnly || void 0,
|
|
82
|
+
"data-required": e.isRequired || void 0
|
|
83
|
+
}, /* @__PURE__ */ b.createElement(g, {
|
|
84
|
+
values: [
|
|
85
|
+
[
|
|
86
|
+
q,
|
|
87
|
+
{
|
|
88
|
+
...T,
|
|
89
|
+
ref: f
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
_,
|
|
94
|
+
{
|
|
95
|
+
...u,
|
|
96
|
+
ref: v
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
h,
|
|
101
|
+
{
|
|
102
|
+
...u,
|
|
103
|
+
ref: v
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
O,
|
|
108
|
+
{
|
|
109
|
+
role: "presentation",
|
|
110
|
+
isInvalid: l.isInvalid,
|
|
111
|
+
isDisabled: e.isDisabled || !1
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
j,
|
|
116
|
+
{
|
|
117
|
+
slots: {
|
|
118
|
+
description: F,
|
|
119
|
+
errorMessage: E
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
B,
|
|
125
|
+
l
|
|
126
|
+
]
|
|
127
|
+
]
|
|
128
|
+
}, m.children));
|
|
129
|
+
});
|
|
130
|
+
export {
|
|
131
|
+
$e as $,
|
|
132
|
+
Q as a,
|
|
133
|
+
ne as b
|
|
134
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './assets/TextField.css';const t = "_textField_i0k2g_4", o = "_bottomError_i0k2g_23", s = "_textArea_i0k2g_32", _ = "_wrap_i0k2g_81", r = "_medium_i0k2g_86", e = "_input_i0k2g_87", i = "_passwordText_i0k2g_110", n = "_passwordButton_i0k2g_149", a = {
|
|
2
|
+
textField: t,
|
|
3
|
+
bottomError: o,
|
|
4
|
+
textArea: s,
|
|
5
|
+
wrap: _,
|
|
6
|
+
medium: r,
|
|
7
|
+
input: e,
|
|
8
|
+
passwordText: i,
|
|
9
|
+
passwordButton: n
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
a as s
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/TextField.css');const t="_textField_i0k2g_4",o="_bottomError_i0k2g_23",s="_textArea_i0k2g_32",_="_wrap_i0k2g_81",r="_medium_i0k2g_86",e="_input_i0k2g_87",i="_passwordText_i0k2g_110",n="_passwordButton_i0k2g_149",a={textField:t,bottomError:o,textArea:s,wrap:_,medium:r,input:e,passwordText:i,passwordButton:n};exports.styles=a;
|