@povio/ui 3.4.0-rc.2 → 3.4.0-rc.20
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/README.md +32 -2
- package/dist/Accordion-CgNQw-pZ.d.ts +58 -0
- package/dist/Accordion-DT1wcBFP.js +552 -0
- package/dist/ActionModal-DLeVinly.d.ts +26 -0
- package/dist/Alert-1gjUqXaO.js +240 -0
- package/dist/Alert-C0GAvkdO.d.ts +33 -0
- package/dist/Autocomplete-CYT1Vk1F.d.ts +15 -0
- package/dist/BottomSheet-BWKej2PR.d.ts +34 -0
- package/dist/BottomSheet-Cwci3M8j.js +448 -0
- package/dist/Breadcrumbs-DrmLNtmQ.js +534 -0
- package/dist/Breadcrumbs-pSLRyeOe.d.ts +19 -0
- package/dist/Button-C_FOjIn-.d.ts +30 -0
- package/dist/Button-Cq7t4Xxl.js +160 -0
- package/dist/Button-Dlm1NyTJ.js +690 -0
- package/dist/ButtonContent-17xvQXod.js +122 -0
- package/dist/Calendar-C9Dbdkkl.js +654 -0
- package/dist/CheckContent-DzWpxKGq.js +19 -0
- package/dist/Checkbox-DyEipBjR.js +403 -0
- package/dist/Checkbox-Ee9K3u2J.d.ts +24 -0
- package/dist/CheckboxCheckmark-C7Oq15ms.js +195 -0
- package/dist/CheckboxGroup-D-sNgUMN.d.ts +28 -0
- package/dist/DatePicker-DM_tCN-6.js +426 -0
- package/dist/DatePicker-DclmenVd.d.ts +43 -0
- package/dist/DatePickerInput-BC-q8HcY.d.ts +18 -0
- package/dist/DatePickerInput-C2z1kgaC.js +598 -0
- package/dist/DateRangePicker-BmScgvEH.js +1322 -0
- package/dist/DateRangePicker-DjkIlnMl.d.ts +47 -0
- package/dist/DateTimePicker-CAFB33ih.js +380 -0
- package/dist/DateTimePicker-aDvcYnVk.d.ts +42 -0
- package/dist/Dialog-BQN4Z3bO.js +4505 -0
- package/dist/Drawer-DnSLe85M.d.ts +18 -0
- package/dist/FileTrigger-eHfAkdXd.js +2186 -0
- package/dist/FileUpload-CHgnF4Nm.d.ts +7 -0
- package/dist/FileUpload-Cb--_Mbk.js +766 -0
- package/dist/FileUploadContainer-Co33mh7x.d.ts +5 -0
- package/dist/Form-B4Sbjn__.d.ts +49 -0
- package/dist/Form-CKUcoaMX.js +8 -0
- package/dist/FormField-DoGaUqFm.js +235 -0
- package/dist/FormField-FvutosEE.d.ts +80 -0
- package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
- package/dist/FormFieldError-CFg0Wn3i.js +26 -0
- package/dist/HeaderText-BrZaEuIn.d.ts +19 -0
- package/dist/Hidden-BtagiSrf.js +32 -0
- package/dist/IconButton-uO0Mjcqw.d.ts +14 -0
- package/dist/InlineIconButton-CLiZzTVJ.d.ts +16 -0
- package/dist/Input-TO1R-KsB.js +45 -0
- package/dist/InputItem-DYNprOmw.js +63 -0
- package/dist/InputUpload-BqKQcew0.d.ts +66 -0
- package/dist/InputUpload-k_RRfoeF.js +233 -0
- package/dist/Inputs-BapBcBa7.js +17 -0
- package/dist/Inputs-DncFwdP2.d.ts +13 -0
- package/dist/Label-C0MdchIz.js +17 -0
- package/dist/Link-BBMgG7TX.js +82 -0
- package/dist/Link-BvAKCJcB.js +42 -0
- package/dist/Link-DwUGkr9s.d.ts +23 -0
- package/dist/ListBox-HE5uFtiS.js +739 -0
- package/dist/Loader-C6YkWZOO.js +113 -0
- package/dist/Loader-Sbr1b0iU.d.ts +29 -0
- package/dist/Menu-CLA3gTYc.d.ts +58 -0
- package/dist/Menu-Db_stvqw.js +178 -0
- package/dist/MenuDesktop-BjK3K8gs.js +248 -0
- package/dist/MenuItem-ChgmtbQw.d.ts +6 -0
- package/dist/Modal-BVL1P0ls.d.ts +53 -0
- package/dist/Modal-CYvIKx5Z.js +204 -0
- package/dist/Modal-CkSO1C1n.js +58 -0
- package/dist/NumberFormatter-KUrW7GbE.js +122 -0
- package/dist/NumberInput-mTYSZkqH.d.ts +26 -0
- package/dist/NumberRangeInput-BsATw2M1.js +403 -0
- package/dist/NumberRangeInput-DS6_DIEc.d.ts +44 -0
- package/dist/OverlayArrow-BrSp26z2.js +654 -0
- package/dist/Pagination-YrWwwM_f.d.ts +12 -0
- package/dist/PaginationList-71pjqcQ0.d.ts +18 -0
- package/dist/PaginationList-DJfUpGY9.js +218 -0
- package/dist/PasswordInput-BUZPRoOL.js +63 -0
- package/dist/PasswordInput-XI0n5I1s.d.ts +10 -0
- package/dist/Pill-DSt6f4Eq.d.ts +18 -0
- package/dist/PillButton-NdrR6uVR.d.ts +15 -0
- package/dist/PressResponder-q8UTUsf0.js +63 -0
- package/dist/ProgressBar-C8dtVA-1.js +58 -0
- package/dist/ProgressBar-DG-ClG9v.d.ts +44 -0
- package/dist/QuerySelect-W0euIrkL.d.ts +23 -0
- package/dist/RSPContexts-DHQi1l7F.js +12 -0
- package/dist/RadioGroup-CNSTNHYN.js +569 -0
- package/dist/RadioGroup-D6-jU_Hb.d.ts +73 -0
- package/dist/ResponsivePopover-CokwzUr4.d.ts +19 -0
- package/dist/Segment-Cndlojxv.js +348 -0
- package/dist/Segment-IpdajE4h.d.ts +7 -0
- package/dist/Select-CCNQ4Bso.js +155 -0
- package/dist/Select-CNTaUjfL.d.ts +15 -0
- package/dist/SelectBase-C4lPY7Hc.d.ts +97 -0
- package/dist/SelectionIndicator-qJF4qfyY.js +758 -0
- package/dist/Slider-C2VnHdQq.js +818 -0
- package/dist/Slider-HF31GF1t.d.ts +22 -0
- package/dist/SplitButton-CnyLnCrQ.d.ts +15 -0
- package/dist/Stepper-JUO4MbZx.d.ts +113 -0
- package/dist/Stepper-yN3fNyGt.js +336 -0
- package/dist/Tag-CXfTBg6q.d.ts +34 -0
- package/dist/Tag-DCo_fVLl.js +95 -0
- package/dist/Text-BTtw_Syz.js +5 -0
- package/dist/TextArea-8_TYSixS.d.ts +20 -0
- package/dist/TextArea-CS-2txl7.js +175 -0
- package/dist/TextButton-BdefN7SL.d.ts +15 -0
- package/dist/TextEditor-CXDFpX_q.d.ts +26 -0
- package/dist/TextEditor-p0CqH_71.js +3439 -0
- package/dist/TimePicker-Bspfhoo_.d.ts +32 -0
- package/dist/TimePicker-DLzbOPrC.js +375 -0
- package/dist/Toast-4Q3O7cKx.js +957 -0
- package/dist/Toast-DDkev3SZ.d.ts +75 -0
- package/dist/Toggle-CgD4ykP4.js +177 -0
- package/dist/Toggle-TDp5YtaQ.d.ts +32 -0
- package/dist/ToggleButton-BuEhb8eu.d.ts +12 -0
- package/dist/ToggleButton-D94yRla8.js +216 -0
- package/dist/Tooltip-KfGHmXdx.js +539 -0
- package/dist/Tooltip-zaZ0d1jz.d.ts +56 -0
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
- package/dist/TooltipWrapper-CLMp_zj4.js +71 -0
- package/dist/Typography-AcUd9df8.js +31 -0
- package/dist/Typography-BiHrVFpz.d.ts +12 -0
- package/dist/VisuallyHidden-DjaDVPQT.js +43 -0
- package/dist/autocomplete-B2Ol8qjV.d.ts +16 -0
- package/dist/button.cva-zMNkoZH8.d.ts +92 -0
- package/dist/buttonContent.cva-CIOaLH0a.d.ts +6 -0
- package/dist/check-M2G7r3oH.js +13 -0
- package/dist/checkbox-CGea408G.d.ts +9 -0
- package/dist/checkbox-group-BdjjQ24I.d.ts +9 -0
- package/dist/checkbox.cva-Caaf2Ysq.d.ts +77 -0
- package/dist/chevron-down-Ciz9yP9R.js +13 -0
- package/dist/chevron-left-VO8YZrXZ.js +13 -0
- package/dist/chevron-right-C_M98bh3.js +13 -0
- package/dist/chevron-up-CHRnDSA3.js +13 -0
- package/dist/chevrons-right-BXdmZ2TS.js +29 -0
- package/dist/clsx-CnD0nOiA.js +16 -0
- package/dist/common-UBFya8WY.d.ts +11 -0
- package/dist/components/accordion.d.ts +2 -0
- package/dist/components/accordion.js +2 -0
- package/dist/components/action-modal.d.ts +2 -0
- package/dist/components/action-modal.js +188 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/autocomplete.d.ts +2 -0
- package/dist/components/autocomplete.js +131 -0
- package/dist/components/bottom-sheet.d.ts +2 -0
- package/dist/components/bottom-sheet.js +2 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +2 -0
- package/dist/components/button.d.ts +3 -0
- package/dist/components/button.js +2 -0
- package/dist/components/checkbox-group.d.ts +2 -0
- package/dist/components/checkbox-group.js +161 -0
- package/dist/components/checkbox.d.ts +2 -0
- package/dist/components/checkbox.js +2 -0
- package/dist/components/date-picker.d.ts +2 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/date-range-picker.d.ts +2 -0
- package/dist/components/date-range-picker.js +2 -0
- package/dist/components/date-time-picker.d.ts +2 -0
- package/dist/components/date-time-picker.js +2 -0
- package/dist/components/drawer.d.ts +2 -0
- package/dist/components/drawer.js +96 -0
- package/dist/components/file-upload-container.d.ts +3 -0
- package/dist/components/file-upload-container.js +15 -0
- package/dist/components/file-upload.d.ts +3 -0
- package/dist/components/file-upload.js +2 -0
- package/dist/components/form-field.d.ts +2 -0
- package/dist/components/form-field.js +2 -0
- package/dist/components/icon-button.d.ts +2 -0
- package/dist/components/icon-button.js +51 -0
- package/dist/components/inline-icon-button.d.ts +2 -0
- package/dist/components/inline-icon-button.js +40 -0
- package/dist/components/input-upload.d.ts +2 -0
- package/dist/components/input-upload.js +2 -0
- package/dist/components/link.d.ts +2 -0
- package/dist/components/link.js +2 -0
- package/dist/components/loader.d.ts +2 -0
- package/dist/components/loader.js +2 -0
- package/dist/components/menu.d.ts +3 -0
- package/dist/components/menu.js +3 -0
- package/dist/components/modal.d.ts +2 -0
- package/dist/components/modal.js +2 -0
- package/dist/components/number-input.d.ts +2 -0
- package/dist/components/number-input.js +242 -0
- package/dist/components/number-range-input.d.ts +2 -0
- package/dist/components/number-range-input.js +2 -0
- package/dist/components/pagination-list.d.ts +2 -0
- package/dist/components/pagination-list.js +2 -0
- package/dist/components/pagination.d.ts +2 -0
- package/dist/components/pagination.js +131 -0
- package/dist/components/password-input.d.ts +2 -0
- package/dist/components/password-input.js +2 -0
- package/dist/components/pill-button.d.ts +2 -0
- package/dist/components/pill-button.js +73 -0
- package/dist/components/pill.d.ts +2 -0
- package/dist/components/pill.js +44 -0
- package/dist/components/progress-bar.d.ts +2 -0
- package/dist/components/progress-bar.js +2 -0
- package/dist/components/query-autocomplete.d.ts +8 -0
- package/dist/components/query-autocomplete.js +104 -0
- package/dist/components/query-select.d.ts +2 -0
- package/dist/components/query-select.js +114 -0
- package/dist/components/radio-group.d.ts +2 -0
- package/dist/components/radio-group.js +2 -0
- package/dist/components/responsive-popover.d.ts +2 -0
- package/dist/components/responsive-popover.js +126 -0
- package/dist/components/segment.d.ts +3 -0
- package/dist/components/segment.js +2 -0
- package/dist/components/select.d.ts +3 -0
- package/dist/components/select.js +2 -0
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/split-button.d.ts +2 -0
- package/dist/components/split-button.js +123 -0
- package/dist/components/stepper.d.ts +2 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/tag.d.ts +2 -0
- package/dist/components/tag.js +2 -0
- package/dist/components/text-area.d.ts +2 -0
- package/dist/components/text-area.js +2 -0
- package/dist/components/text-button.d.ts +2 -0
- package/dist/components/text-button.js +36 -0
- package/dist/components/text-input.d.ts +2 -0
- package/dist/components/text-input.js +239 -0
- package/dist/components/time-picker.d.ts +2 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/toast.d.ts +2 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/toggle-button.d.ts +2 -0
- package/dist/components/toggle-button.js +34 -0
- package/dist/components/toggle.d.ts +2 -0
- package/dist/components/toggle.js +2 -0
- package/dist/components/tooltip-ellipsis.d.ts +2 -0
- package/dist/components/tooltip-ellipsis.js +46 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/components/typography.d.ts +3 -0
- package/dist/components/typography.js +2 -0
- package/dist/components/use-toast.d.ts +2 -0
- package/dist/components/use-toast.js +69 -0
- package/dist/compoundMapper-CMoX98D2.d.ts +17 -0
- package/dist/compoundMapper-Di3SKZnS.js +13 -0
- package/dist/config/confirmation.d.ts +2 -0
- package/dist/config/confirmation.js +2 -0
- package/dist/config/link-context.d.ts +3 -0
- package/dist/config/link-context.js +2 -0
- package/dist/config/resources.d.ts +2 -0
- package/dist/config/resources.js +2 -0
- package/dist/config/theme-context.d.ts +2 -0
- package/dist/config/theme-context.js +2 -0
- package/dist/config/ui-config.d.ts +2 -0
- package/dist/config/ui-config.js +2 -0
- package/dist/config/ui-overrides.d.ts +2 -0
- package/dist/config/ui-overrides.js +2 -0
- package/dist/config/ui-router.d.ts +2 -0
- package/dist/config/ui-router.js +2 -0
- package/dist/confirmation.context-BJ8gTx7U.d.ts +23 -0
- package/dist/confirmation.context-C1-ZF9CW.js +80 -0
- package/dist/context-CLFkoJMP.js +93 -0
- package/dist/createLucideIcon-CskCrR9z.js +125 -0
- package/dist/date-picker-BpSowet-.d.ts +9 -0
- package/dist/date-range-picker-aO65H4wV.d.ts +9 -0
- package/dist/date-time-picker-DWo2GFg7.d.ts +9 -0
- package/dist/date-time.utils-0F9qduim.js +190 -0
- package/dist/date-time.utils-Cu9TVj46.d.ts +45 -0
- package/dist/date.transforms-DLg-eFcE.js +15 -0
- package/dist/date.utils-B8_QF9y6.js +42 -0
- package/dist/date.utils-BoQnMRlF.d.ts +7 -0
- package/dist/datePickerValue.utils-Dh-nA1Yv.js +223 -0
- package/dist/dynamicInputs-4JB41qRW.js +214 -0
- package/dist/dynamicInputs-BekIlDGf.d.ts +753 -0
- package/dist/dynamicInputs-D8j0ko24.js +194 -0
- package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
- package/dist/fieldAdapter-C_3uizcT.js +61 -0
- package/dist/file-upload-DDIJKLW8.d.ts +10 -0
- package/dist/file.utils-Crb-mIHs.d.ts +21 -0
- package/dist/file.utils-DqQxnuAm.js +61 -0
- package/dist/fileUpload.types-CQkPqELk.d.ts +106 -0
- package/dist/form.binding-DWlFTecs.d.ts +47 -0
- package/dist/form.binding-DyZ4fH8l.js +34 -0
- package/dist/form.types-B9Vp8q2g.d.ts +13 -0
- package/dist/form.types-ZNGbcqJS.d.ts +13 -0
- package/dist/hooks/use-filters.d.ts +2 -0
- package/dist/hooks/use-filters.js +2 -0
- package/dist/hooks/use-local-storage.d.ts +2 -0
- package/dist/hooks/use-local-storage.js +2 -0
- package/dist/hooks/use-translation-memo.d.ts +2 -0
- package/dist/hooks/use-translation-memo.js +2 -0
- package/dist/i18n-C2TBJvnh.js +300 -0
- package/dist/i18n-DjqhCCJq.d.ts +316 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +2 -0
- package/dist/index-B8r_kiw4.d.ts +193 -0
- package/dist/index.d.ts +101 -263
- package/dist/index.js +99 -180
- package/dist/input-upload-Apyx1Mvy.d.ts +9 -0
- package/dist/input.cva-CfgCOIQW.d.ts +80 -0
- package/dist/input.cva-KYGD4Bdz.js +324 -0
- package/dist/intl.utils-NaOZUD2G.d.ts +9 -0
- package/dist/intl.utils-zwAFoZ0U.js +38 -0
- package/dist/intlStrings-DrQB127v.js +346 -0
- package/dist/link.context-BFXwgVLP.d.ts +12 -0
- package/dist/link.context-J7aQtMOr.js +35 -0
- package/dist/logger-BPhG2izn.js +309 -0
- package/dist/logger-N35Xhi14.d.ts +10 -0
- package/dist/lucide-react-BJRvqSeV.d.ts +23 -0
- package/dist/modal.cva-CbziPHSN.js +43 -0
- package/dist/number-input-D0YwMCGh.d.ts +8 -0
- package/dist/number-range-input-BtPXUX0k.d.ts +8 -0
- package/dist/numberStatic.utils-C9_kWMXJ.js +723 -0
- package/dist/openLink-BFEMFlhB.js +187 -0
- package/dist/outline.clsx-50W_vNDl.js +6 -0
- package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
- package/dist/password-input-euv4tHdl.d.ts +8 -0
- package/dist/pillButton.cva-Da0WFN39.d.ts +34 -0
- package/dist/pillButton.cva-DbwzixcK.js +263 -0
- package/dist/popover.cva-CXha_UMQ.js +5 -0
- package/dist/queries.utils-CmbhAoHU.js +18 -0
- package/dist/query-autocomplete-BwU-94pi.d.ts +14 -0
- package/dist/query-select-CBgR2Tua.d.ts +15 -0
- package/dist/queryAutocomplete.types-3ezR8y7k.d.ts +26 -0
- package/dist/radio-group-DVGKZRnt.d.ts +9 -0
- package/dist/react-aria/components.d.ts +1 -0
- package/dist/react-aria/components.js +1 -0
- package/dist/react-aria/hooks.d.ts +1 -0
- package/dist/react-aria/hooks.js +1 -0
- package/dist/react-aria/index.d.ts +1 -0
- package/dist/react-aria/index.js +1 -0
- package/dist/react-aria/state.d.ts +1 -0
- package/dist/react-aria/state.js +1 -0
- package/dist/react-aria/types.d.ts +1 -0
- package/dist/react-aria/types.js +0 -0
- package/dist/rhf/autocomplete.d.ts +3 -0
- package/dist/rhf/autocomplete.js +8 -0
- package/dist/rhf/checkbox-group.d.ts +3 -0
- package/dist/rhf/checkbox-group.js +8 -0
- package/dist/rhf/checkbox.d.ts +3 -0
- package/dist/rhf/checkbox.js +8 -0
- package/dist/rhf/date-picker.d.ts +3 -0
- package/dist/rhf/date-picker.js +9 -0
- package/dist/rhf/date-range-picker.d.ts +3 -0
- package/dist/rhf/date-range-picker.js +9 -0
- package/dist/rhf/date-time-picker.d.ts +3 -0
- package/dist/rhf/date-time-picker.js +9 -0
- package/dist/rhf/file-upload.d.ts +3 -0
- package/dist/rhf/file-upload.js +6 -0
- package/dist/rhf/input-upload.d.ts +3 -0
- package/dist/rhf/input-upload.js +6 -0
- package/dist/rhf/inputs.d.ts +4 -0
- package/dist/rhf/inputs.js +2 -0
- package/dist/rhf/number-input.d.ts +3 -0
- package/dist/rhf/number-input.js +6 -0
- package/dist/rhf/number-range-input.d.ts +3 -0
- package/dist/rhf/number-range-input.js +6 -0
- package/dist/rhf/password-input.d.ts +3 -0
- package/dist/rhf/password-input.js +6 -0
- package/dist/rhf/query-autocomplete.d.ts +2 -0
- package/dist/rhf/query-autocomplete.js +8 -0
- package/dist/rhf/query-select.d.ts +2 -0
- package/dist/rhf/query-select.js +8 -0
- package/dist/rhf/radio-group.d.ts +3 -0
- package/dist/rhf/radio-group.js +8 -0
- package/dist/rhf/segment.d.ts +3 -0
- package/dist/rhf/segment.js +6 -0
- package/dist/rhf/select.d.ts +3 -0
- package/dist/rhf/select.js +8 -0
- package/dist/rhf/slider.d.ts +3 -0
- package/dist/rhf/slider.js +6 -0
- package/dist/rhf/text-area.d.ts +3 -0
- package/dist/rhf/text-area.js +6 -0
- package/dist/rhf/text-editor.d.ts +3 -0
- package/dist/rhf/text-editor.js +6 -0
- package/dist/rhf/text-input.d.ts +3 -0
- package/dist/rhf/text-input.js +6 -0
- package/dist/rhf/time-picker.d.ts +3 -0
- package/dist/rhf/time-picker.js +9 -0
- package/dist/rhf/toggle.d.ts +3 -0
- package/dist/rhf/toggle.js +8 -0
- package/dist/rhf-Ca72CryM.js +256 -0
- package/dist/rhf.d.ts +101 -0
- package/dist/rhf.js +99 -0
- package/dist/rolldown-runtime-DUp30N8C.js +28 -0
- package/dist/router.context-BOYRh2p9.d.ts +16 -0
- package/dist/router.context-DSE1y7gW.js +63 -0
- package/dist/routing.utils-UTQonIhB.js +25 -0
- package/dist/schemas-BkfyFvBp.js +4004 -0
- package/dist/schemas-CAtYiHoz.d.ts +2127 -0
- package/dist/segment-CSZWTNMz.d.ts +9 -0
- package/dist/segment.types-POFeFf4n.d.ts +58 -0
- package/dist/select-ZL6iOiG0.d.ts +16 -0
- package/dist/slider--ZPodYa6.d.ts +8 -0
- package/dist/staticDateTimeSegments-CKL9PuGV.js +1501 -0
- package/dist/staticSelect.utils-DkiDwfGr.js +4041 -0
- package/dist/string.utils-BPgv6QwA.js +12 -0
- package/dist/string.utils-Cj6AB7uZ.d.ts +7 -0
- package/dist/styles/input.d.ts +2 -0
- package/dist/styles/input.js +0 -0
- package/dist/styles/outline.d.ts +2 -0
- package/dist/styles/outline.js +2 -0
- package/dist/tanstack/autocomplete.d.ts +2 -0
- package/dist/tanstack/autocomplete.js +2 -0
- package/dist/tanstack/checkbox-group.d.ts +2 -0
- package/dist/tanstack/checkbox-group.js +2 -0
- package/dist/tanstack/checkbox.d.ts +2 -0
- package/dist/tanstack/checkbox.js +2 -0
- package/dist/tanstack/date-picker.d.ts +2 -0
- package/dist/tanstack/date-picker.js +2 -0
- package/dist/tanstack/date-range-picker.d.ts +2 -0
- package/dist/tanstack/date-range-picker.js +2 -0
- package/dist/tanstack/date-time-picker.d.ts +2 -0
- package/dist/tanstack/date-time-picker.js +2 -0
- package/dist/tanstack/file-upload.d.ts +3 -0
- package/dist/tanstack/file-upload.js +2 -0
- package/dist/tanstack/form.d.ts +3 -0
- package/dist/tanstack/form.js +2 -0
- package/dist/tanstack/input-upload.d.ts +2 -0
- package/dist/tanstack/input-upload.js +2 -0
- package/dist/tanstack/inputs.d.ts +5 -0
- package/dist/tanstack/inputs.js +3 -0
- package/dist/tanstack/number-input.d.ts +2 -0
- package/dist/tanstack/number-input.js +2 -0
- package/dist/tanstack/number-range-input.d.ts +2 -0
- package/dist/tanstack/number-range-input.js +2 -0
- package/dist/tanstack/password-input.d.ts +2 -0
- package/dist/tanstack/password-input.js +2 -0
- package/dist/tanstack/query-autocomplete.d.ts +2 -0
- package/dist/tanstack/query-autocomplete.js +2 -0
- package/dist/tanstack/query-select.d.ts +2 -0
- package/dist/tanstack/query-select.js +2 -0
- package/dist/tanstack/radio-group.d.ts +2 -0
- package/dist/tanstack/radio-group.js +2 -0
- package/dist/tanstack/segment.d.ts +3 -0
- package/dist/tanstack/segment.js +2 -0
- package/dist/tanstack/select.d.ts +2 -0
- package/dist/tanstack/select.js +2 -0
- package/dist/tanstack/slider.d.ts +2 -0
- package/dist/tanstack/slider.js +2 -0
- package/dist/tanstack/table.d.ts +3 -0
- package/dist/tanstack/table.js +2 -0
- package/dist/tanstack/text-area.d.ts +2 -0
- package/dist/tanstack/text-area.js +2 -0
- package/dist/tanstack/text-editor.d.ts +2 -0
- package/dist/tanstack/text-editor.js +2 -0
- package/dist/tanstack/text-input.d.ts +2 -0
- package/dist/tanstack/text-input.js +2 -0
- package/dist/tanstack/time-picker.d.ts +2 -0
- package/dist/tanstack/time-picker.js +2 -0
- package/dist/tanstack/toggle.d.ts +2 -0
- package/dist/tanstack/toggle.js +2 -0
- package/dist/tanstack.d.ts +87 -0
- package/dist/tanstack.js +94 -0
- package/dist/text-area-BhZAEqfI.d.ts +8 -0
- package/dist/text-editor-Dq-YYIuF.d.ts +8 -0
- package/dist/text-editor.d.ts +2 -2
- package/dist/text-editor.js +1 -1
- package/dist/text-input-F-mBSHby.d.ts +8 -0
- package/dist/theme.context-CCXz56lV.js +120 -0
- package/dist/theme.context-rPpAYJZo.d.ts +20 -0
- package/dist/time-picker-5w_eDDNn.d.ts +9 -0
- package/dist/toggle-D-Dg5YGf.d.ts +9 -0
- package/dist/tw-ui-plugin.d.ts +4 -2
- package/dist/tw-ui-plugin.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +0 -0
- package/dist/types-BV15_DBT.d.ts +1150 -0
- package/dist/typography.cva-7RYwLrA7.d.ts +51 -0
- package/dist/typography.cva-BI0FyIqm.js +129 -0
- package/dist/uiConfig.context-SBtRegKv.js +359 -0
- package/dist/uiConfig.context-pJj1iUnQ.d.ts +84 -0
- package/dist/uiOverrides.context-BdokYcGO.d.ts +243 -0
- package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
- package/dist/useBreakpoint-D0s71F97.js +70 -0
- package/dist/useButton-iUReggbG.js +55 -0
- package/dist/useControlledState-Bk39gTui.js +31 -0
- package/dist/useEvent-BROAXUSg.js +22 -0
- package/dist/useFieldAccessibility-CmbhtqBy.js +96 -0
- package/dist/useFilter-BOG2VldJ.js +44 -0
- package/dist/useFilters-6IOuvBTm.d.ts +11 -0
- package/dist/useFilters-AA70NuXo.js +190 -0
- package/dist/useFocusRing-DuXtCnJj.js +141 -0
- package/dist/useFormAutosave-BXqu0xAQ.js +296 -0
- package/dist/useFormReset-BhJH8XnS.js +18 -0
- package/dist/useFormValidation-DLZqyNVp.js +115 -0
- package/dist/useFormValidationState-Bpry7Uk5.js +142 -0
- package/dist/useHover-DwfnacVy.js +1210 -0
- package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
- package/dist/useLabel-BFvzYK5u.js +27 -0
- package/dist/useLabels-B3G1H2cw.js +16 -0
- package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
- package/dist/useLocalStorage-kcEdRxqC.d.ts +13 -0
- package/dist/useLocalizedStringFormatter-C2M9mXF2.js +108 -0
- package/dist/useNumberFormatter-CTdFIKV_.js +10 -0
- package/dist/usePress-CANxCO5-.js +491 -0
- package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
- package/dist/useSpinButton-C3wyKHU7.js +577 -0
- package/dist/useStaticInputHandoff-COJdSrME.js +321 -0
- package/dist/useTableColumnConfig-_XJr8Cor.js +1638 -0
- package/dist/useTableNav-BoQOVqZF.d.ts +274 -0
- package/dist/useTextField-De01RThI.js +77 -0
- package/dist/useToast-gQ9gzrbt.d.ts +16 -0
- package/dist/useToggle-DDay--cY.js +62 -0
- package/dist/useToggleState-Dyx-sAjp.js +23 -0
- package/dist/useTranslationMemo-CrZbeyBv.js +32 -0
- package/dist/useTranslationMemo-Dy3p6m1g.d.ts +6 -0
- package/dist/utils/compound-mapper.d.ts +2 -0
- package/dist/utils/compound-mapper.js +2 -0
- package/dist/utils/date-time.d.ts +2 -0
- package/dist/utils/date-time.js +2 -0
- package/dist/utils/date.d.ts +2 -0
- package/dist/utils/date.js +2 -0
- package/dist/utils/file.d.ts +2 -0
- package/dist/utils/file.js +2 -0
- package/dist/utils/intl.d.ts +2 -0
- package/dist/utils/intl.js +2 -0
- package/dist/utils/logger.d.ts +2 -7
- package/dist/utils/logger.js +1 -18
- package/dist/utils/string.d.ts +2 -0
- package/dist/utils/string.js +2 -0
- package/dist/x-BYOEO0gW.js +16 -0
- package/dist/zod.utils-Nz_Tbo_v.js +24 -0
- package/package.json +709 -17
- package/dist/assets/icons/Account.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.js +0 -30
- package/dist/assets/icons/AlignLeft.d.ts +0 -2
- package/dist/assets/icons/AlignLeft.js +0 -30
- package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
- package/dist/assets/icons/AlignLeftRight.js +0 -30
- package/dist/assets/icons/AlignRight.d.ts +0 -2
- package/dist/assets/icons/AlignRight.js +0 -30
- package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
- package/dist/assets/icons/ArrowDropDown.js +0 -30
- package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
- package/dist/assets/icons/ArrowDropUp.js +0 -30
- package/dist/assets/icons/ArrowLeft.d.ts +0 -2
- package/dist/assets/icons/ArrowLeft.js +0 -30
- package/dist/assets/icons/ArrowRight.d.ts +0 -2
- package/dist/assets/icons/ArrowRight.js +0 -30
- package/dist/assets/icons/Board.d.ts +0 -2
- package/dist/assets/icons/Bold.d.ts +0 -2
- package/dist/assets/icons/Bold.js +0 -30
- package/dist/assets/icons/BulletedList.d.ts +0 -2
- package/dist/assets/icons/BulletedList.js +0 -30
- package/dist/assets/icons/Calendar.d.ts +0 -2
- package/dist/assets/icons/Calendar.js +0 -32
- package/dist/assets/icons/Check.d.ts +0 -2
- package/dist/assets/icons/Check.js +0 -32
- package/dist/assets/icons/CheckCircle.d.ts +0 -2
- package/dist/assets/icons/CheckCircle.js +0 -30
- package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
- package/dist/assets/icons/CheckboxCheckmark.js +0 -33
- package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
- package/dist/assets/icons/ChevronDown.d.ts +0 -2
- package/dist/assets/icons/ChevronDown.js +0 -32
- package/dist/assets/icons/ChevronLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronLeft.js +0 -32
- package/dist/assets/icons/ChevronRight.d.ts +0 -2
- package/dist/assets/icons/ChevronRight.js +0 -32
- package/dist/assets/icons/ChevronUp.d.ts +0 -2
- package/dist/assets/icons/ChevronUp.js +0 -32
- package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronsLeft.js +0 -32
- package/dist/assets/icons/ChevronsRight.d.ts +0 -2
- package/dist/assets/icons/ChevronsRight.js +0 -32
- package/dist/assets/icons/Clock.d.ts +0 -2
- package/dist/assets/icons/Clock.js +0 -30
- package/dist/assets/icons/Close.d.ts +0 -2
- package/dist/assets/icons/Close.js +0 -30
- package/dist/assets/icons/DateTime.d.ts +0 -2
- package/dist/assets/icons/DateTime.js +0 -39
- package/dist/assets/icons/DragIndicator.d.ts +0 -2
- package/dist/assets/icons/DragIndicator.js +0 -30
- package/dist/assets/icons/Edit.d.ts +0 -2
- package/dist/assets/icons/Emoji.d.ts +0 -2
- package/dist/assets/icons/File.d.ts +0 -2
- package/dist/assets/icons/File.js +0 -32
- package/dist/assets/icons/Grid.d.ts +0 -2
- package/dist/assets/icons/Highlight.d.ts +0 -2
- package/dist/assets/icons/Highlight.js +0 -30
- package/dist/assets/icons/HighlightOn.d.ts +0 -6
- package/dist/assets/icons/HighlightOn.js +0 -55
- package/dist/assets/icons/Home.d.ts +0 -2
- package/dist/assets/icons/Home.js +0 -30
- package/dist/assets/icons/Image.d.ts +0 -2
- package/dist/assets/icons/ImageError.d.ts +0 -2
- package/dist/assets/icons/Info.d.ts +0 -2
- package/dist/assets/icons/Info.js +0 -41
- package/dist/assets/icons/Italic.d.ts +0 -2
- package/dist/assets/icons/Italic.js +0 -30
- package/dist/assets/icons/Link.d.ts +0 -2
- package/dist/assets/icons/Link.js +0 -30
- package/dist/assets/icons/Loader.d.ts +0 -2
- package/dist/assets/icons/MapPin.d.ts +0 -2
- package/dist/assets/icons/Menu.d.ts +0 -2
- package/dist/assets/icons/Menu.js +0 -30
- package/dist/assets/icons/Minus.d.ts +0 -2
- package/dist/assets/icons/MoreHoriz.d.ts +0 -2
- package/dist/assets/icons/NumberedList.d.ts +0 -2
- package/dist/assets/icons/NumberedList.js +0 -30
- package/dist/assets/icons/Pause.d.ts +0 -2
- package/dist/assets/icons/Plus.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.js +0 -30
- package/dist/assets/icons/PointerVertical.d.ts +0 -2
- package/dist/assets/icons/PointerVertical.js +0 -30
- package/dist/assets/icons/Retry.d.ts +0 -2
- package/dist/assets/icons/Search.d.ts +0 -2
- package/dist/assets/icons/Search.js +0 -30
- package/dist/assets/icons/Send.d.ts +0 -2
- package/dist/assets/icons/Send.js +0 -32
- package/dist/assets/icons/Share.d.ts +0 -2
- package/dist/assets/icons/Slash.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.js +0 -30
- package/dist/assets/icons/TextColor.d.ts +0 -6
- package/dist/assets/icons/TextColor.js +0 -52
- package/dist/assets/icons/Today.d.ts +0 -2
- package/dist/assets/icons/Today.js +0 -30
- package/dist/assets/icons/Trash.d.ts +0 -2
- package/dist/assets/icons/Underlined.d.ts +0 -2
- package/dist/assets/icons/Underlined.js +0 -32
- package/dist/assets/icons/Upload.d.ts +0 -2
- package/dist/assets/icons/Upload.js +0 -39
- package/dist/assets/icons/User.d.ts +0 -2
- package/dist/assets/icons/Visibility.d.ts +0 -2
- package/dist/assets/icons/Visibility.js +0 -30
- package/dist/assets/icons/VisibilityOff.d.ts +0 -2
- package/dist/assets/icons/VisibilityOff.js +0 -30
- package/dist/assets/icons/WarningFilled.d.ts +0 -2
- package/dist/assets/icons/WarningFilled.js +0 -32
- package/dist/assets/icons/WarningOutlined.d.ts +0 -2
- package/dist/assets/locales/en/translation.json.js +0 -147
- package/dist/assets/locales/sl/translation.json.js +0 -145
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -16
- package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -112
- package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +0 -45
- package/dist/components/Breadcrumbs/breadcrumbs.cva.js +0 -27
- package/dist/components/Menu/Menu.d.ts +0 -21
- package/dist/components/Menu/Menu.js +0 -27
- package/dist/components/Menu/MenuDesktop.d.ts +0 -2
- package/dist/components/Menu/MenuDesktop.js +0 -48
- package/dist/components/Menu/MenuItem.d.ts +0 -3
- package/dist/components/Menu/MenuItem.js +0 -46
- package/dist/components/Menu/MenuMobile.d.ts +0 -2
- package/dist/components/Menu/MenuMobile.js +0 -142
- package/dist/components/Menu/MenuPopover.d.ts +0 -5
- package/dist/components/Menu/MenuPopover.js +0 -121
- package/dist/components/Menu/menu.cva.d.ts +0 -39
- package/dist/components/Menu/menu.cva.js +0 -34
- package/dist/components/buttons/Button/Button.d.ts +0 -28
- package/dist/components/buttons/Button/Button.js +0 -66
- package/dist/components/buttons/Button/button.cva.d.ts +0 -99
- package/dist/components/buttons/Button/button.cva.js +0 -661
- package/dist/components/buttons/IconButton/IconButton.d.ts +0 -11
- package/dist/components/buttons/IconButton/IconButton.js +0 -51
- package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +0 -13
- package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -15
- package/dist/components/buttons/PillButton/PillButton.d.ts +0 -12
- package/dist/components/buttons/PillButton/PillButton.js +0 -72
- package/dist/components/buttons/PillButton/pillButton.cva.d.ts +0 -40
- package/dist/components/buttons/PillButton/pillButton.cva.js +0 -264
- package/dist/components/buttons/SplitButton/SplitButton.d.ts +0 -12
- package/dist/components/buttons/SplitButton/SplitButton.js +0 -123
- package/dist/components/buttons/TextButton/TextButton.d.ts +0 -12
- package/dist/components/buttons/TextButton/TextButton.js +0 -36
- package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -9
- package/dist/components/buttons/ToggleButton/ToggleButton.js +0 -34
- package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
- package/dist/components/buttons/shared/ButtonContent.js +0 -37
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +0 -8
- package/dist/components/buttons/shared/buttonContent.cva.js +0 -30
- package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -20
- package/dist/components/inputs/Checkbox/Checkbox.js +0 -236
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +0 -26
- package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +0 -26
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +0 -392
- package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -94
- package/dist/components/inputs/Checkbox/checkbox.cva.js +0 -161
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +0 -40
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -422
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -45
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -883
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -40
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -382
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -28
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -644
- package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
- package/dist/components/inputs/DateTime/shared/Calendar.js +0 -177
- package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +0 -145
- package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +0 -54
- package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +0 -121
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -177
- package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
- package/dist/components/inputs/DateTime/shared/DateField.js +0 -156
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +0 -45
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +0 -197
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +0 -124
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +0 -101
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +0 -27
- package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +0 -135
- package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +0 -209
- package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/TimeField.js +0 -38
- package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +0 -329
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -24
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -242
- package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
- package/dist/components/inputs/DateTime/shared/YearPicker.js +0 -151
- package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -16
- package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -16
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -32
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
- package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -99
- package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +0 -33
- package/dist/components/inputs/File/FileUpload.d.ts +0 -4
- package/dist/components/inputs/File/FileUpload.js +0 -253
- package/dist/components/inputs/File/FileUploadContainer.d.ts +0 -3
- package/dist/components/inputs/File/FileUploadContainer.js +0 -22
- package/dist/components/inputs/File/InputUpload.d.ts +0 -4
- package/dist/components/inputs/File/InputUpload.js +0 -157
- package/dist/components/inputs/File/fileUpload.types.d.ts +0 -96
- package/dist/components/inputs/File/index.d.ts +0 -9
- package/dist/components/inputs/File/inputUpload.types.d.ts +0 -37
- package/dist/components/inputs/File/inputUpload.types.js +0 -9
- package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCard.js +0 -121
- package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileCardList.js +0 -60
- package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
- package/dist/components/inputs/File/shared/FileUploadContent.js +0 -208
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +0 -58
- package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentError.js +0 -113
- package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -118
- package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -80
- package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
- package/dist/components/inputs/File/shared/InputUploadContent.js +0 -169
- package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
- package/dist/components/inputs/File/shared/InputUploadFilled.js +0 -69
- package/dist/components/inputs/File/shared/ProgressBar.d.ts +0 -6
- package/dist/components/inputs/File/shared/ProgressBar.js +0 -33
- package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +0 -17
- package/dist/components/inputs/File/shared/fileUpload.cva.js +0 -42
- package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +0 -27
- package/dist/components/inputs/File/shared/inputUploadButton.cva.js +0 -39
- package/dist/components/inputs/File/shared/progressBar.cva.d.ts +0 -38
- package/dist/components/inputs/File/shared/progressBar.cva.js +0 -28
- package/dist/components/inputs/FormField/FormField.d.ts +0 -20
- package/dist/components/inputs/FormField/FormField.js +0 -127
- package/dist/components/inputs/FormField/FormFieldError.d.ts +0 -7
- package/dist/components/inputs/FormField/FormFieldError.js +0 -33
- package/dist/components/inputs/FormField/FormFieldHeader.d.ts +0 -14
- package/dist/components/inputs/FormField/FormFieldHeader.js +0 -97
- package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +0 -41
- package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
- package/dist/components/inputs/FormField/FormFieldHelper.js +0 -34
- package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
- package/dist/components/inputs/FormField/FormFieldLabel.js +0 -59
- package/dist/components/inputs/FormField/formFieldError.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldError.cva.js +0 -14
- package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -14
- package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +0 -13
- package/dist/components/inputs/FormField/formFieldHelper.cva.js +0 -14
- package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +0 -23
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -492
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -45
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -571
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -35
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -337
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -62
- package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -8
- package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -18
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -345
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -468
- package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -28
- package/dist/components/inputs/Input/shared/InputContent.js +0 -211
- package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
- package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
- package/dist/components/inputs/Inputs/Form.d.ts +0 -26
- package/dist/components/inputs/Inputs/Form.js +0 -73
- package/dist/components/inputs/Inputs/InputItem.d.ts +0 -67
- package/dist/components/inputs/Inputs/InputItem.js +0 -112
- package/dist/components/inputs/Inputs/Inputs.d.ts +0 -10
- package/dist/components/inputs/Inputs/Inputs.js +0 -43
- package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -22
- package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -371
- package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -62
- package/dist/components/inputs/RadioGroup/radio.cva.js +0 -85
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +0 -12
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +0 -165
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +0 -4
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -176
- package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -39
- package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -15
- package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -172
- package/dist/components/inputs/Selection/Select/Select.d.ts +0 -12
- package/dist/components/inputs/Selection/Select/Select.js +0 -235
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +0 -37
- package/dist/components/inputs/Selection/shared/SelectBase.js +0 -82
- package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +0 -419
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -469
- package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +0 -105
- package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/SelectListBox.js +0 -75
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +0 -104
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +0 -88
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +0 -89
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +0 -76
- package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
- package/dist/components/inputs/Selection/shared/SelectMobile.js +0 -127
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
- package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -44
- package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
- package/dist/components/inputs/Selection/shared/select.context.js +0 -231
- package/dist/components/inputs/Selection/shared/select.types.d.ts +0 -64
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -6
- package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
- package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -12
- package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -8
- package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +0 -16
- package/dist/components/inputs/Selection/shared/selectItem.cva.js +0 -24
- package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
- package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -54
- package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
- package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
- package/dist/components/inputs/Selection/shared/useSelectItems.js +0 -84
- package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -83
- package/dist/components/inputs/Skeleton/InputFrame.js +0 -242
- package/dist/components/inputs/Slider/Slider.d.ts +0 -19
- package/dist/components/inputs/Slider/Slider.js +0 -285
- package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -22
- package/dist/components/inputs/TextEditor/TextEditor.js +0 -199
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +0 -44
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +0 -128
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +0 -221
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +0 -106
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +0 -58
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +0 -79
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +0 -60
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -104
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -141
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +0 -157
- package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
- package/dist/components/inputs/TextEditor/textEditor.types.js +0 -40
- package/dist/components/inputs/Toggle/Toggle.d.ts +0 -16
- package/dist/components/inputs/Toggle/Toggle.js +0 -234
- package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -19
- package/dist/components/inputs/Toggle/toggle.cva.js +0 -35
- package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
- package/dist/components/inputs/shared/CheckContent.js +0 -29
- package/dist/components/inputs/shared/InputClear.d.ts +0 -10
- package/dist/components/inputs/shared/InputClear.js +0 -115
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
- package/dist/components/inputs/shared/TooltipWrapper.js +0 -60
- package/dist/components/inputs/shared/form.binding.d.ts +0 -27
- package/dist/components/inputs/shared/form.binding.js +0 -57
- package/dist/components/inputs/shared/form.types.d.ts +0 -13
- package/dist/components/inputs/shared/form.types.js +0 -8
- package/dist/components/inputs/shared/input.cva.d.ts +0 -90
- package/dist/components/inputs/shared/input.cva.js +0 -334
- package/dist/components/inputs/shared/label.cva.d.ts +0 -19
- package/dist/components/inputs/shared/label.cva.js +0 -74
- package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -8
- package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
- package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
- package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -112
- package/dist/components/navigation/Accordion/Accordion.d.ts +0 -3
- package/dist/components/navigation/Accordion/Accordion.js +0 -34
- package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
- package/dist/components/navigation/Accordion/AccordionItem.js +0 -63
- package/dist/components/navigation/Accordion/accordion.cva.d.ts +0 -110
- package/dist/components/navigation/Accordion/accordion.cva.js +0 -129
- package/dist/components/navigation/Accordion/accordion.types.d.ts +0 -52
- package/dist/components/navigation/Stepper/Stepper.d.ts +0 -2
- package/dist/components/navigation/Stepper/Stepper.js +0 -34
- package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
- package/dist/components/navigation/Stepper/StepperItem.js +0 -126
- package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
- package/dist/components/navigation/Stepper/StepperSeparator.js +0 -30
- package/dist/components/navigation/Stepper/stepper.cva.d.ts +0 -93
- package/dist/components/navigation/Stepper/stepper.cva.js +0 -116
- package/dist/components/navigation/Stepper/stepper.types.d.ts +0 -41
- package/dist/components/outline.clsx.d.ts +0 -2
- package/dist/components/outline.clsx.js +0 -6
- package/dist/components/overlays/ActionModal/ActionModal.d.ts +0 -24
- package/dist/components/overlays/ActionModal/ActionModal.js +0 -54
- package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +0 -32
- package/dist/components/overlays/BottomSheet/BottomSheet.js +0 -328
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +0 -78
- package/dist/components/overlays/Drawer/Drawer.d.ts +0 -15
- package/dist/components/overlays/Drawer/Drawer.js +0 -95
- package/dist/components/overlays/Modal/Modal.d.ts +0 -15
- package/dist/components/overlays/Modal/Modal.js +0 -55
- package/dist/components/overlays/Modal/modal.cva.d.ts +0 -37
- package/dist/components/overlays/Modal/modal.cva.js +0 -44
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -17
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -45
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -13
- package/dist/components/overlays/Tooltip/Tooltip.js +0 -163
- package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -8
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +0 -46
- package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +0 -49
- package/dist/components/overlays/Tooltip/tooltip.cva.js +0 -44
- package/dist/components/segment/Segment.d.ts +0 -4
- package/dist/components/segment/Segment.js +0 -245
- package/dist/components/segment/SegmentItem.d.ts +0 -2
- package/dist/components/segment/SegmentItem.js +0 -85
- package/dist/components/segment/segment.cva.d.ts +0 -20
- package/dist/components/segment/segment.cva.js +0 -30
- package/dist/components/segment/segment.types.d.ts +0 -36
- package/dist/components/shared/pagination/Pagination.d.ts +0 -9
- package/dist/components/shared/pagination/Pagination.js +0 -45
- package/dist/components/shared/pagination/PaginationList.d.ts +0 -15
- package/dist/components/shared/pagination/PaginationList.js +0 -210
- package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
- package/dist/components/shared/pagination/minWidth.cva.js +0 -11
- package/dist/components/shared/popover.cva.d.ts +0 -8
- package/dist/components/shared/popover.cva.js +0 -5
- package/dist/components/status/Alert/Alert.d.ts +0 -11
- package/dist/components/status/Alert/Alert.js +0 -47
- package/dist/components/status/Alert/alert.cva.d.ts +0 -19
- package/dist/components/status/Alert/alert.cva.js +0 -67
- package/dist/components/status/Loader/Loader.d.ts +0 -5
- package/dist/components/status/Loader/Loader.js +0 -89
- package/dist/components/status/Loader/loader.cva.d.ts +0 -28
- package/dist/components/status/Loader/loader.cva.js +0 -27
- package/dist/components/status/Toast/Toast.d.ts +0 -14
- package/dist/components/status/Toast/Toast.js +0 -82
- package/dist/components/status/Toast/toast.cva.d.ts +0 -80
- package/dist/components/status/Toast/toast.cva.js +0 -211
- package/dist/components/status/Toast/useToast.d.ts +0 -13
- package/dist/components/status/Toast/useToast.js +0 -70
- package/dist/components/status/shared/status.cva.d.ts +0 -30
- package/dist/components/status/shared/status.cva.js +0 -65
- package/dist/components/table/CellText.d.ts +0 -8
- package/dist/components/table/CellText.js +0 -21
- package/dist/components/table/ColumnConfig.d.ts +0 -10
- package/dist/components/table/ColumnConfig.js +0 -187
- package/dist/components/table/HeaderText.d.ts +0 -8
- package/dist/components/table/HeaderText.js +0 -20
- package/dist/components/table/InfiniteTable.d.ts +0 -9
- package/dist/components/table/InfiniteTable.js +0 -28
- package/dist/components/table/PaginatedTable.d.ts +0 -11
- package/dist/components/table/PaginatedTable.js +0 -94
- package/dist/components/table/Table.d.ts +0 -37
- package/dist/components/table/Table.js +0 -267
- package/dist/components/table/table.cva.d.ts +0 -65
- package/dist/components/table/table.cva.js +0 -49
- package/dist/components/text/Link/Link.d.ts +0 -9
- package/dist/components/text/Link/Link.js +0 -33
- package/dist/components/text/Link/link.cva.d.ts +0 -12
- package/dist/components/text/Link/link.cva.js +0 -12
- package/dist/components/text/Pill/Pill.d.ts +0 -15
- package/dist/components/text/Pill/Pill.js +0 -44
- package/dist/components/text/Tag/Tag.d.ts +0 -15
- package/dist/components/text/Tag/Tag.js +0 -43
- package/dist/components/text/Tag/tag.cva.d.ts +0 -16
- package/dist/components/text/Tag/tag.cva.js +0 -55
- package/dist/components/text/Typography/Typography.d.ts +0 -11
- package/dist/components/text/Typography/Typography.js +0 -16
- package/dist/components/text/Typography/typography.cva.d.ts +0 -49
- package/dist/components/text/Typography/typography.cva.js +0 -129
- package/dist/config/confirmation.context.d.ts +0 -20
- package/dist/config/confirmation.context.js +0 -80
- package/dist/config/i18n.d.ts +0 -313
- package/dist/config/i18n.js +0 -10
- package/dist/config/link.context.d.ts +0 -10
- package/dist/config/link.context.js +0 -35
- package/dist/config/router.context.d.ts +0 -14
- package/dist/config/router.context.js +0 -63
- package/dist/config/theme.context.d.ts +0 -17
- package/dist/config/theme.context.js +0 -67
- package/dist/config/uiConfig.context.d.ts +0 -68
- package/dist/config/uiConfig.context.js +0 -125
- package/dist/config/uiOverrides.context.d.ts +0 -205
- package/dist/config/uiOverrides.context.js +0 -113
- package/dist/helpers/dynamicColumns.d.ts +0 -44
- package/dist/helpers/dynamicColumns.js +0 -275
- package/dist/helpers/dynamicInputs.d.ts +0 -86
- package/dist/helpers/dynamicInputs.js +0 -193
- package/dist/hooks/useAutosave.d.ts +0 -10
- package/dist/hooks/useAutosave.js +0 -87
- package/dist/hooks/useBreakpoint.d.ts +0 -3
- package/dist/hooks/useBreakpoint.js +0 -43
- package/dist/hooks/useDebounceCallback.d.ts +0 -6
- package/dist/hooks/useDebounceCallback.js +0 -25
- package/dist/hooks/useDeepCompare.d.ts +0 -4
- package/dist/hooks/useDeepCompare.js +0 -23
- package/dist/hooks/useFilters.d.ts +0 -8
- package/dist/hooks/useFilters.js +0 -188
- package/dist/hooks/useForm.d.ts +0 -42
- package/dist/hooks/useForm.js +0 -101
- package/dist/hooks/useFormAutosave.d.ts +0 -14
- package/dist/hooks/useFormAutosave.js +0 -73
- package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
- package/dist/hooks/useIntersectionObserver.d.ts +0 -8
- package/dist/hooks/useIntersectionObserver.js +0 -98
- package/dist/hooks/useKeyInteractions.d.ts +0 -20
- package/dist/hooks/useKeyInteractions.js +0 -54
- package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
- package/dist/hooks/useLocalStorage.d.ts +0 -11
- package/dist/hooks/useLocalStorage.js +0 -70
- package/dist/hooks/useLongPressRepeat.d.ts +0 -9
- package/dist/hooks/useLongPressRepeat.js +0 -29
- package/dist/hooks/usePagination.d.ts +0 -7
- package/dist/hooks/usePagination.js +0 -62
- package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
- package/dist/hooks/useQueryAutocomplete.js +0 -103
- package/dist/hooks/useScrollableListBox.d.ts +0 -3
- package/dist/hooks/useScrollableListBox.js +0 -47
- package/dist/hooks/useSorting.d.ts +0 -6
- package/dist/hooks/useSorting.js +0 -80
- package/dist/hooks/useStateAndRef.d.ts +0 -4
- package/dist/hooks/useStateAndRef.js +0 -31
- package/dist/hooks/useTableColumnConfig.d.ts +0 -16
- package/dist/hooks/useTableColumnConfig.js +0 -133
- package/dist/hooks/useTableNav.d.ts +0 -84
- package/dist/hooks/useTableNav.js +0 -383
- package/dist/hooks/useTranslationMemo.d.ts +0 -4
- package/dist/hooks/useTranslationMemo.js +0 -32
- package/dist/types/common.d.ts +0 -12
- package/dist/types/error-handling.d.ts +0 -6
- package/dist/types/react-query.d.ts +0 -6
- package/dist/utils/array.utils.d.ts +0 -3
- package/dist/utils/array.utils.js +0 -10
- package/dist/utils/array.utils.spec.d.ts +0 -1
- package/dist/utils/compoundMapper.d.ts +0 -19
- package/dist/utils/compoundMapper.js +0 -13
- package/dist/utils/compoundMapper.spec.d.ts +0 -1
- package/dist/utils/date-time.utils.d.ts +0 -42
- package/dist/utils/date-time.utils.js +0 -192
- package/dist/utils/date-time.utils.spec.d.ts +0 -1
- package/dist/utils/date.utils.d.ts +0 -5
- package/dist/utils/date.utils.js +0 -19
- package/dist/utils/date.utils.spec.d.ts +0 -1
- package/dist/utils/dom.utils.d.ts +0 -5
- package/dist/utils/dom.utils.js +0 -19
- package/dist/utils/file.utils.d.ts +0 -13
- package/dist/utils/file.utils.js +0 -50
- package/dist/utils/intl.utils.d.ts +0 -7
- package/dist/utils/intl.utils.js +0 -38
- package/dist/utils/intl.utils.spec.d.ts +0 -1
- package/dist/utils/isEqual.d.ts +0 -1
- package/dist/utils/isEqual.js +0 -59
- package/dist/utils/object.utils.d.ts +0 -10
- package/dist/utils/object.utils.js +0 -38
- package/dist/utils/queries.utils.d.ts +0 -4
- package/dist/utils/queries.utils.js +0 -9
- package/dist/utils/query.utils.d.ts +0 -4
- package/dist/utils/query.utils.js +0 -8
- package/dist/utils/rest.utils.d.ts +0 -10
- package/dist/utils/rest.utils.js +0 -33
- package/dist/utils/routing.utils.d.ts +0 -4
- package/dist/utils/routing.utils.js +0 -25
- package/dist/utils/string.utils.d.ts +0 -4
- package/dist/utils/string.utils.js +0 -12
- package/dist/utils/style-merge.util.d.ts +0 -43
- package/dist/utils/style-merge.util.js +0 -233
- package/dist/utils/style-merge.util.spec.d.ts +0 -1
- package/dist/utils/zod.utils.d.ts +0 -20
- package/dist/utils/zod.utils.js +0 -24
- /package/dist/styles/{editor.css → styles/editor.css} +0 -0
|
@@ -1,468 +0,0 @@
|
|
|
1
|
-
import { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
2
|
-
import { UIConfig } from "../../../../config/uiConfig.context.js";
|
|
3
|
-
import { FieldController } from "../../shared/form.binding.js";
|
|
4
|
-
import { FormField } from "../../FormField/FormField.js";
|
|
5
|
-
import { inputBaseDefinition } from "../../shared/input.cva.js";
|
|
6
|
-
import { TooltipWrapper } from "../../shared/TooltipWrapper.js";
|
|
7
|
-
import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
8
|
-
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
9
|
-
import { InputContent } from "../shared/InputContent.js";
|
|
10
|
-
import { c } from "react/compiler-runtime";
|
|
11
|
-
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
import { clsx } from "clsx";
|
|
13
|
-
import { useEffect, useRef, useState } from "react";
|
|
14
|
-
import { Input } from "react-aria-components";
|
|
15
|
-
import { useFocusVisible, useTextField } from "react-aria";
|
|
16
|
-
import { mergeRefs } from "@react-aria/utils";
|
|
17
|
-
//#region src/components/inputs/Input/TextInput/TextInput.tsx
|
|
18
|
-
var TextInputBase = (props) => {
|
|
19
|
-
const $ = c(84);
|
|
20
|
-
const ui = UIConfig.useConfig();
|
|
21
|
-
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
22
|
-
const inputRef = useRef(null);
|
|
23
|
-
const { ref, inputClassName, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, as: asProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, autoFocusOnMount, ...rest } = props;
|
|
24
|
-
const as = asProp ?? ui.input.as;
|
|
25
|
-
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
26
|
-
const variant = variantProp ?? ui.input.variant;
|
|
27
|
-
const size = sizeProp ?? ui.input.size;
|
|
28
|
-
const isClearable = isClearableProp ?? ui.input.isClearable;
|
|
29
|
-
const textFieldRef = useRef(null);
|
|
30
|
-
const { isFocusVisible } = useFocusVisible();
|
|
31
|
-
const inputValue = value ?? "";
|
|
32
|
-
const { labelProps, inputProps } = useTextField({
|
|
33
|
-
...rest,
|
|
34
|
-
label,
|
|
35
|
-
isDisabled,
|
|
36
|
-
isInvalid: !!error,
|
|
37
|
-
isRequired,
|
|
38
|
-
value: inputValue,
|
|
39
|
-
onChange,
|
|
40
|
-
onBlur
|
|
41
|
-
}, textFieldRef);
|
|
42
|
-
let t0;
|
|
43
|
-
let t1;
|
|
44
|
-
if ($[0] !== autoFocusOnMount || $[1] !== isDisabled) {
|
|
45
|
-
t0 = () => {
|
|
46
|
-
if (!autoFocusOnMount || isDisabled) return;
|
|
47
|
-
requestAnimationFrame(() => inputRef.current?.focus());
|
|
48
|
-
};
|
|
49
|
-
t1 = [autoFocusOnMount, isDisabled];
|
|
50
|
-
$[0] = autoFocusOnMount;
|
|
51
|
-
$[1] = isDisabled;
|
|
52
|
-
$[2] = t0;
|
|
53
|
-
$[3] = t1;
|
|
54
|
-
} else {
|
|
55
|
-
t0 = $[2];
|
|
56
|
-
t1 = $[3];
|
|
57
|
-
}
|
|
58
|
-
useEffect(t0, t1);
|
|
59
|
-
const t2 = isHeaderHidden || as === "inline" || as === "filter" || as === "floating";
|
|
60
|
-
let t3;
|
|
61
|
-
if ($[4] !== error || $[5] !== errorClassName || $[6] !== headerClassName || $[7] !== helperText || $[8] !== hideLabel || $[9] !== isDisabled || $[10] !== isRequired || $[11] !== label || $[12] !== rightContent || $[13] !== t2 || $[14] !== tooltipText) {
|
|
62
|
-
t3 = {
|
|
63
|
-
error,
|
|
64
|
-
label,
|
|
65
|
-
tooltipText,
|
|
66
|
-
helperText,
|
|
67
|
-
isRequired,
|
|
68
|
-
rightContent,
|
|
69
|
-
isHeaderHidden: t2,
|
|
70
|
-
hideLabel,
|
|
71
|
-
isDisabled,
|
|
72
|
-
headerClassName,
|
|
73
|
-
errorClassName
|
|
74
|
-
};
|
|
75
|
-
$[4] = error;
|
|
76
|
-
$[5] = errorClassName;
|
|
77
|
-
$[6] = headerClassName;
|
|
78
|
-
$[7] = helperText;
|
|
79
|
-
$[8] = hideLabel;
|
|
80
|
-
$[9] = isDisabled;
|
|
81
|
-
$[10] = isRequired;
|
|
82
|
-
$[11] = label;
|
|
83
|
-
$[12] = rightContent;
|
|
84
|
-
$[13] = t2;
|
|
85
|
-
$[14] = tooltipText;
|
|
86
|
-
$[15] = t3;
|
|
87
|
-
} else t3 = $[15];
|
|
88
|
-
const formFieldProps = t3;
|
|
89
|
-
let t4;
|
|
90
|
-
if ($[16] !== action || $[17] !== inputValue || $[18] !== isClearable || $[19] !== isDisabled || $[20] !== isLoading || $[21] !== leadingIcon || $[22] !== onBlur || $[23] !== onChange || $[24] !== trailingIcon || $[25] !== unit) {
|
|
91
|
-
t4 = {
|
|
92
|
-
unit,
|
|
93
|
-
isLoading,
|
|
94
|
-
isDisabled,
|
|
95
|
-
action,
|
|
96
|
-
leadingIcon,
|
|
97
|
-
trailingIcon,
|
|
98
|
-
isClearable,
|
|
99
|
-
value: inputValue,
|
|
100
|
-
onChange,
|
|
101
|
-
onBlur
|
|
102
|
-
};
|
|
103
|
-
$[16] = action;
|
|
104
|
-
$[17] = inputValue;
|
|
105
|
-
$[18] = isClearable;
|
|
106
|
-
$[19] = isDisabled;
|
|
107
|
-
$[20] = isLoading;
|
|
108
|
-
$[21] = leadingIcon;
|
|
109
|
-
$[22] = onBlur;
|
|
110
|
-
$[23] = onChange;
|
|
111
|
-
$[24] = trailingIcon;
|
|
112
|
-
$[25] = unit;
|
|
113
|
-
$[26] = t4;
|
|
114
|
-
} else t4 = $[26];
|
|
115
|
-
const inputContentProps = t4;
|
|
116
|
-
const t5 = hideLabel || isHeaderHidden;
|
|
117
|
-
let t6;
|
|
118
|
-
if ($[27] !== headerClassName || $[28] !== helperText || $[29] !== isDisabled || $[30] !== isRequired || $[31] !== label || $[32] !== labelProps || $[33] !== rightContent || $[34] !== t5 || $[35] !== tooltipText) {
|
|
119
|
-
t6 = {
|
|
120
|
-
label,
|
|
121
|
-
tooltipText,
|
|
122
|
-
helperText,
|
|
123
|
-
isRequired,
|
|
124
|
-
rightContent,
|
|
125
|
-
isHeaderHidden: t5,
|
|
126
|
-
isDisabled,
|
|
127
|
-
className: headerClassName,
|
|
128
|
-
labelProps
|
|
129
|
-
};
|
|
130
|
-
$[27] = headerClassName;
|
|
131
|
-
$[28] = helperText;
|
|
132
|
-
$[29] = isDisabled;
|
|
133
|
-
$[30] = isRequired;
|
|
134
|
-
$[31] = label;
|
|
135
|
-
$[32] = labelProps;
|
|
136
|
-
$[33] = rightContent;
|
|
137
|
-
$[34] = t5;
|
|
138
|
-
$[35] = tooltipText;
|
|
139
|
-
$[36] = t6;
|
|
140
|
-
} else t6 = $[36];
|
|
141
|
-
const headerProps = t6;
|
|
142
|
-
const dataIsDisabled = isDisabled || void 0;
|
|
143
|
-
const T0 = TooltipWrapper;
|
|
144
|
-
const t7 = as === "inline" ? -1 : void 0;
|
|
145
|
-
const T1 = FormField;
|
|
146
|
-
const t8 = as === "inline" && "h-full";
|
|
147
|
-
let t9;
|
|
148
|
-
if ($[37] !== className || $[38] !== t8) {
|
|
149
|
-
t9 = clsx("group w-full", t8, className);
|
|
150
|
-
$[37] = className;
|
|
151
|
-
$[38] = t8;
|
|
152
|
-
$[39] = t9;
|
|
153
|
-
} else t9 = $[39];
|
|
154
|
-
const t10 = as === "inline" ? -1 : void 0;
|
|
155
|
-
const t11 = value === "" || value === null || value === void 0 || void 0;
|
|
156
|
-
const t12 = isRequired || void 0;
|
|
157
|
-
const t13 = clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
|
|
158
|
-
variant,
|
|
159
|
-
as,
|
|
160
|
-
...rest
|
|
161
|
-
}), inputClassName);
|
|
162
|
-
let t14;
|
|
163
|
-
if ($[40] === Symbol.for("react.memo_cache_sentinel")) {
|
|
164
|
-
t14 = () => inputRef.current?.focus();
|
|
165
|
-
$[40] = t14;
|
|
166
|
-
} else t14 = $[40];
|
|
167
|
-
const t15 = value === "" || value === null || value === void 0 || void 0;
|
|
168
|
-
const t16 = isRequired || void 0;
|
|
169
|
-
let t17;
|
|
170
|
-
if ($[41] !== ref) {
|
|
171
|
-
t17 = mergeRefs(ref, inputRef);
|
|
172
|
-
$[41] = ref;
|
|
173
|
-
$[42] = t17;
|
|
174
|
-
} else t17 = $[42];
|
|
175
|
-
const t18 = value === "" || value === null || value === void 0 || void 0;
|
|
176
|
-
const t19 = !(value === "" || value === null || value === void 0) || void 0;
|
|
177
|
-
const t20 = isDirty || void 0;
|
|
178
|
-
const t21 = isRequired || void 0;
|
|
179
|
-
const t22 = as === "floating" ? "\xA0" : inputProps.placeholder;
|
|
180
|
-
let t23;
|
|
181
|
-
if ($[43] !== inputProps || $[44] !== isFocusVisible) {
|
|
182
|
-
t23 = (e) => {
|
|
183
|
-
inputProps.onFocus?.(e);
|
|
184
|
-
if (isFocusVisible) e.target.select();
|
|
185
|
-
};
|
|
186
|
-
$[43] = inputProps;
|
|
187
|
-
$[44] = isFocusVisible;
|
|
188
|
-
$[45] = t23;
|
|
189
|
-
} else t23 = $[45];
|
|
190
|
-
let t24;
|
|
191
|
-
if ($[46] !== dataIsDisabled || $[47] !== inputProps || $[48] !== t17 || $[49] !== t18 || $[50] !== t19 || $[51] !== t20 || $[52] !== t21 || $[53] !== t22 || $[54] !== t23) {
|
|
192
|
-
t24 = /* @__PURE__ */ jsx(Input, {
|
|
193
|
-
...inputProps,
|
|
194
|
-
ref: t17,
|
|
195
|
-
"data-is-empty": t18,
|
|
196
|
-
"data-is-filled": t19,
|
|
197
|
-
"data-is-dirty": t20,
|
|
198
|
-
"data-is-required": t21,
|
|
199
|
-
"data-is-disabled": dataIsDisabled,
|
|
200
|
-
placeholder: t22,
|
|
201
|
-
className: "w-full bg-transparent outline-none",
|
|
202
|
-
onFocus: t23
|
|
203
|
-
});
|
|
204
|
-
$[46] = dataIsDisabled;
|
|
205
|
-
$[47] = inputProps;
|
|
206
|
-
$[48] = t17;
|
|
207
|
-
$[49] = t18;
|
|
208
|
-
$[50] = t19;
|
|
209
|
-
$[51] = t20;
|
|
210
|
-
$[52] = t21;
|
|
211
|
-
$[53] = t22;
|
|
212
|
-
$[54] = t23;
|
|
213
|
-
$[55] = t24;
|
|
214
|
-
} else t24 = $[55];
|
|
215
|
-
let t25;
|
|
216
|
-
if ($[56] !== as || $[57] !== headerProps || $[58] !== inputContentProps || $[59] !== size || $[60] !== t24) {
|
|
217
|
-
t25 = /* @__PURE__ */ jsx(InputContent, {
|
|
218
|
-
...inputContentProps,
|
|
219
|
-
headerProps,
|
|
220
|
-
as,
|
|
221
|
-
size,
|
|
222
|
-
children: t24
|
|
223
|
-
});
|
|
224
|
-
$[56] = as;
|
|
225
|
-
$[57] = headerProps;
|
|
226
|
-
$[58] = inputContentProps;
|
|
227
|
-
$[59] = size;
|
|
228
|
-
$[60] = t24;
|
|
229
|
-
$[61] = t25;
|
|
230
|
-
} else t25 = $[61];
|
|
231
|
-
let t26;
|
|
232
|
-
if ($[62] !== dataIsDisabled || $[63] !== t13 || $[64] !== t15 || $[65] !== t16 || $[66] !== t25) {
|
|
233
|
-
t26 = /* @__PURE__ */ jsx("div", {
|
|
234
|
-
className: t13,
|
|
235
|
-
onClick: t14,
|
|
236
|
-
"data-is-empty": t15,
|
|
237
|
-
"data-is-required": t16,
|
|
238
|
-
"data-is-disabled": dataIsDisabled,
|
|
239
|
-
children: t25
|
|
240
|
-
});
|
|
241
|
-
$[62] = dataIsDisabled;
|
|
242
|
-
$[63] = t13;
|
|
243
|
-
$[64] = t15;
|
|
244
|
-
$[65] = t16;
|
|
245
|
-
$[66] = t25;
|
|
246
|
-
$[67] = t26;
|
|
247
|
-
} else t26 = $[67];
|
|
248
|
-
let t27;
|
|
249
|
-
if ($[68] !== T1 || $[69] !== as || $[70] !== formFieldProps || $[71] !== labelProps || $[72] !== t10 || $[73] !== t11 || $[74] !== t12 || $[75] !== t26 || $[76] !== t9) {
|
|
250
|
-
t27 = /* @__PURE__ */ jsx(T1, {
|
|
251
|
-
...formFieldProps,
|
|
252
|
-
as,
|
|
253
|
-
labelProps,
|
|
254
|
-
className: t9,
|
|
255
|
-
tabIndex: t10,
|
|
256
|
-
"data-is-empty": t11,
|
|
257
|
-
"data-is-required": t12,
|
|
258
|
-
children: t26
|
|
259
|
-
});
|
|
260
|
-
$[68] = T1;
|
|
261
|
-
$[69] = as;
|
|
262
|
-
$[70] = formFieldProps;
|
|
263
|
-
$[71] = labelProps;
|
|
264
|
-
$[72] = t10;
|
|
265
|
-
$[73] = t11;
|
|
266
|
-
$[74] = t12;
|
|
267
|
-
$[75] = t26;
|
|
268
|
-
$[76] = t9;
|
|
269
|
-
$[77] = t27;
|
|
270
|
-
} else t27 = $[77];
|
|
271
|
-
let t28;
|
|
272
|
-
if ($[78] !== T0 || $[79] !== as || $[80] !== error || $[81] !== t27 || $[82] !== t7) {
|
|
273
|
-
t28 = /* @__PURE__ */ jsx(T0, {
|
|
274
|
-
as,
|
|
275
|
-
error,
|
|
276
|
-
triggerTabIndex: t7,
|
|
277
|
-
children: t27
|
|
278
|
-
});
|
|
279
|
-
$[78] = T0;
|
|
280
|
-
$[79] = as;
|
|
281
|
-
$[80] = error;
|
|
282
|
-
$[81] = t27;
|
|
283
|
-
$[82] = t7;
|
|
284
|
-
$[83] = t28;
|
|
285
|
-
} else t28 = $[83];
|
|
286
|
-
return t28;
|
|
287
|
-
};
|
|
288
|
-
var TextInputInner = (t0) => {
|
|
289
|
-
const $ = c(9);
|
|
290
|
-
const { renderStaticInput, isFormControlDisabled, ...props } = t0;
|
|
291
|
-
const ui = UIConfig.useConfig();
|
|
292
|
-
const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
|
|
293
|
-
const inputRef = useRef(null);
|
|
294
|
-
let t1;
|
|
295
|
-
if ($[0] !== renderInput) {
|
|
296
|
-
t1 = {
|
|
297
|
-
inputRef,
|
|
298
|
-
renderInput,
|
|
299
|
-
setRenderInput,
|
|
300
|
-
getPressTarget: _temp
|
|
301
|
-
};
|
|
302
|
-
$[0] = renderInput;
|
|
303
|
-
$[1] = t1;
|
|
304
|
-
} else t1 = $[1];
|
|
305
|
-
const { shouldFocus, renderRealInput, replayStaticInputChange, replayStaticInputPress } = useStaticInputHandoff(t1);
|
|
306
|
-
if (!renderInput) {
|
|
307
|
-
const staticValue = props.value ?? props.defaultValue ?? "";
|
|
308
|
-
const inputType = props.type;
|
|
309
|
-
const as = props.as ?? ui.input.as;
|
|
310
|
-
let isDisabled = !!props.isDisabled;
|
|
311
|
-
if (isFormControlDisabled) isDisabled = true;
|
|
312
|
-
const maskedPasswordValue = inputType === "password" && `${staticValue}`.length > 0 ? "•".repeat(`${staticValue}`.length) : staticValue;
|
|
313
|
-
const displayValue = maskedPasswordValue == null ? "" : `${maskedPasswordValue}`;
|
|
314
|
-
const hasValue = displayValue !== "";
|
|
315
|
-
const dataAttributes = {
|
|
316
|
-
dataIsEmpty: !hasValue,
|
|
317
|
-
dataIsFilled: hasValue,
|
|
318
|
-
dataIsDirty: props.isDirty,
|
|
319
|
-
dataIsRequired: props.isRequired,
|
|
320
|
-
dataIsDisabled: isDisabled,
|
|
321
|
-
dataDisabled: isDisabled,
|
|
322
|
-
dataInvalid: !!props.error,
|
|
323
|
-
dataHasSelection: hasValue
|
|
324
|
-
};
|
|
325
|
-
const t2 = isDisabled;
|
|
326
|
-
const t3 = clsx("group w-full", as === "inline" && "h-full", props.className);
|
|
327
|
-
const t4 = props.inputClassName;
|
|
328
|
-
const t5 = as === "inline" && "h-full";
|
|
329
|
-
let t6;
|
|
330
|
-
if ($[2] !== t5) {
|
|
331
|
-
t6 = clsx(t5, "pr-0!");
|
|
332
|
-
$[2] = t5;
|
|
333
|
-
$[3] = t6;
|
|
334
|
-
} else t6 = $[3];
|
|
335
|
-
return /* @__PURE__ */ jsx(InputFrame, {
|
|
336
|
-
...props,
|
|
337
|
-
isDisabled: t2,
|
|
338
|
-
className: t3,
|
|
339
|
-
dataAttributes,
|
|
340
|
-
onStaticInteract: renderRealInput,
|
|
341
|
-
onStaticPress: props.action ? replayStaticInputPress : void 0,
|
|
342
|
-
staticPressTarget: "action",
|
|
343
|
-
inputClassName: t4,
|
|
344
|
-
contentClassName: t6,
|
|
345
|
-
trailingClassName: "py-0! pl-0!",
|
|
346
|
-
wrapContentAndTrailing: true,
|
|
347
|
-
reserveTrailingContent: true,
|
|
348
|
-
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
349
|
-
ref: inputRef,
|
|
350
|
-
type: inputType === "hidden" ? "password" : inputType,
|
|
351
|
-
disabled: isDisabled,
|
|
352
|
-
tabIndex: -1,
|
|
353
|
-
value: displayValue,
|
|
354
|
-
placeholder: as === "floating" ? "" : props.placeholder,
|
|
355
|
-
className: "w-full bg-transparent outline-none",
|
|
356
|
-
onChange: (event) => replayStaticInputChange(event.target.value),
|
|
357
|
-
...dataAttributeProps,
|
|
358
|
-
"data-rac": true
|
|
359
|
-
})
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
const T0 = TextInputBase;
|
|
363
|
-
const t2 = mergeRefs(props.ref, inputRef);
|
|
364
|
-
let t3;
|
|
365
|
-
if ($[4] !== T0 || $[5] !== props || $[6] !== shouldFocus || $[7] !== t2) {
|
|
366
|
-
t3 = /* @__PURE__ */ jsx(T0, {
|
|
367
|
-
...props,
|
|
368
|
-
ref: t2,
|
|
369
|
-
autoFocusOnMount: shouldFocus
|
|
370
|
-
});
|
|
371
|
-
$[4] = T0;
|
|
372
|
-
$[5] = props;
|
|
373
|
-
$[6] = shouldFocus;
|
|
374
|
-
$[7] = t2;
|
|
375
|
-
$[8] = t3;
|
|
376
|
-
} else t3 = $[8];
|
|
377
|
-
return t3;
|
|
378
|
-
};
|
|
379
|
-
var TextInput = (t0) => {
|
|
380
|
-
const $ = c(20);
|
|
381
|
-
let props;
|
|
382
|
-
let renderStaticInput;
|
|
383
|
-
if ($[0] !== t0) {
|
|
384
|
-
({renderStaticInput, ...props} = t0);
|
|
385
|
-
$[0] = t0;
|
|
386
|
-
$[1] = props;
|
|
387
|
-
$[2] = renderStaticInput;
|
|
388
|
-
} else {
|
|
389
|
-
props = $[1];
|
|
390
|
-
renderStaticInput = $[2];
|
|
391
|
-
}
|
|
392
|
-
if ("field" in props && props.field) {
|
|
393
|
-
let field;
|
|
394
|
-
let innerProps;
|
|
395
|
-
let ref;
|
|
396
|
-
if ($[3] !== props) {
|
|
397
|
-
({field, ref, ...innerProps} = props);
|
|
398
|
-
$[3] = props;
|
|
399
|
-
$[4] = field;
|
|
400
|
-
$[5] = innerProps;
|
|
401
|
-
$[6] = ref;
|
|
402
|
-
} else {
|
|
403
|
-
field = $[4];
|
|
404
|
-
innerProps = $[5];
|
|
405
|
-
ref = $[6];
|
|
406
|
-
}
|
|
407
|
-
let t1;
|
|
408
|
-
if ($[7] !== innerProps || $[8] !== props.error || $[9] !== props.isDisabled || $[10] !== ref || $[11] !== renderStaticInput) {
|
|
409
|
-
t1 = (t2) => {
|
|
410
|
-
const { field: field_0, fieldState: t3 } = t2;
|
|
411
|
-
const { error, isDirty } = t3;
|
|
412
|
-
return /* @__PURE__ */ jsx(TextInputInner, {
|
|
413
|
-
...innerProps,
|
|
414
|
-
ref: mergeRefs(ref, field_0.ref),
|
|
415
|
-
value: field_0.value,
|
|
416
|
-
onChange: field_0.onChange,
|
|
417
|
-
onBlur: field_0.onBlur,
|
|
418
|
-
isDirty,
|
|
419
|
-
isDisabled: field_0.disabled || props.isDisabled,
|
|
420
|
-
isFormControlDisabled: field_0.disabled,
|
|
421
|
-
error: props.error ?? error?.message,
|
|
422
|
-
renderStaticInput
|
|
423
|
-
});
|
|
424
|
-
};
|
|
425
|
-
$[7] = innerProps;
|
|
426
|
-
$[8] = props.error;
|
|
427
|
-
$[9] = props.isDisabled;
|
|
428
|
-
$[10] = ref;
|
|
429
|
-
$[11] = renderStaticInput;
|
|
430
|
-
$[12] = t1;
|
|
431
|
-
} else t1 = $[12];
|
|
432
|
-
let t2;
|
|
433
|
-
if ($[13] !== field.form || $[14] !== field.name || $[15] !== t1) {
|
|
434
|
-
t2 = /* @__PURE__ */ jsx(FieldController, {
|
|
435
|
-
control: field.form,
|
|
436
|
-
name: field.name,
|
|
437
|
-
render: t1
|
|
438
|
-
});
|
|
439
|
-
$[13] = field.form;
|
|
440
|
-
$[14] = field.name;
|
|
441
|
-
$[15] = t1;
|
|
442
|
-
$[16] = t2;
|
|
443
|
-
} else t2 = $[16];
|
|
444
|
-
return t2;
|
|
445
|
-
}
|
|
446
|
-
let t1;
|
|
447
|
-
if ($[17] !== props || $[18] !== renderStaticInput) {
|
|
448
|
-
t1 = /* @__PURE__ */ jsx(TextInputInner, {
|
|
449
|
-
...props,
|
|
450
|
-
renderStaticInput
|
|
451
|
-
});
|
|
452
|
-
$[17] = props;
|
|
453
|
-
$[18] = renderStaticInput;
|
|
454
|
-
$[19] = t1;
|
|
455
|
-
} else t1 = $[19];
|
|
456
|
-
return t1;
|
|
457
|
-
};
|
|
458
|
-
function _temp(input) {
|
|
459
|
-
let element = input;
|
|
460
|
-
for (let depth = 0; element && depth < 6; depth = depth + 1) {
|
|
461
|
-
const action = element.querySelector("[data-static-press-action]");
|
|
462
|
-
if (action) return action;
|
|
463
|
-
element = element.parentElement;
|
|
464
|
-
}
|
|
465
|
-
return null;
|
|
466
|
-
}
|
|
467
|
-
//#endregion
|
|
468
|
-
export { TextInput };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FC, FocusEvent, ReactElement, ReactNode, SVGProps } from 'react';
|
|
2
|
-
import { InlineIconButtonProps } from '../../../buttons/InlineIconButton/InlineIconButton';
|
|
3
|
-
import { FormFieldHeaderProps } from '../../FormField/FormFieldHeader';
|
|
4
|
-
import { InputVariantProps } from '../../shared/input.cva';
|
|
5
|
-
export interface InputContentProps {
|
|
6
|
-
className?: string;
|
|
7
|
-
unit?: string;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
action?: {
|
|
11
|
-
icon: InlineIconButtonProps["icon"];
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
altText: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
};
|
|
16
|
-
leadingIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
17
|
-
trailingIcon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
18
|
-
isClearable?: boolean;
|
|
19
|
-
value?: string | number | null;
|
|
20
|
-
onChange?: (value: string) => void;
|
|
21
|
-
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
22
|
-
headerProps?: FormFieldHeaderProps;
|
|
23
|
-
}
|
|
24
|
-
interface InputContentComponentProps extends InputContentProps, InputVariantProps {
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
}
|
|
27
|
-
export declare const InputContent: ({ leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, unit, isLoading, isDisabled, action, isClearable, value, onChange, onBlur, children, headerProps, as, size, }: InputContentComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
2
|
-
import { typographyDefinition } from "../../../text/Typography/typography.cva.js";
|
|
3
|
-
import { Loader } from "../../../status/Loader/Loader.js";
|
|
4
|
-
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
5
|
-
import { FormFieldLabel } from "../../FormField/FormFieldLabel.js";
|
|
6
|
-
import { inputContentWrapperDefinition, inputSizeDefinition } from "../../shared/input.cva.js";
|
|
7
|
-
import { InputClear } from "../../shared/InputClear.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { clsx } from "clsx";
|
|
11
|
-
import { isValidElement } from "react";
|
|
12
|
-
//#region src/components/inputs/Input/shared/InputContent.tsx
|
|
13
|
-
var InputContent = (t0) => {
|
|
14
|
-
const $ = c(64);
|
|
15
|
-
const { leadingIcon: LeadingIcon, trailingIcon: TrailingIcon, unit, isLoading, isDisabled, action, isClearable, value, onChange, onBlur, children, headerProps, as, size } = t0;
|
|
16
|
-
const typographyCva = UIOverrides.useCva("typography.cva", typographyDefinition);
|
|
17
|
-
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
18
|
-
const inputContentWrapperCva = UIOverrides.useCva("input.contentWrapperCva", inputContentWrapperDefinition);
|
|
19
|
-
let t1;
|
|
20
|
-
if ($[0] !== LeadingIcon) {
|
|
21
|
-
t1 = LeadingIcon && isValidElement(LeadingIcon);
|
|
22
|
-
$[0] = LeadingIcon;
|
|
23
|
-
$[1] = t1;
|
|
24
|
-
} else t1 = $[1];
|
|
25
|
-
const isLeadingIconElement = t1;
|
|
26
|
-
let t2;
|
|
27
|
-
if ($[2] !== TrailingIcon) {
|
|
28
|
-
t2 = TrailingIcon && isValidElement(TrailingIcon);
|
|
29
|
-
$[2] = TrailingIcon;
|
|
30
|
-
$[3] = t2;
|
|
31
|
-
} else t2 = $[3];
|
|
32
|
-
const isTrailingIconElement = t2;
|
|
33
|
-
const showClear = value != null && value !== "" && !isDisabled;
|
|
34
|
-
const t3 = as === "inline" && "h-full";
|
|
35
|
-
let t4;
|
|
36
|
-
if ($[4] !== as || $[5] !== inputSizeCva || $[6] !== size || $[7] !== t3) {
|
|
37
|
-
t4 = clsx("group/input-content flex w-full items-center gap-input-gap-input-text-to-elements pr-0!", t3, inputSizeCva({
|
|
38
|
-
size,
|
|
39
|
-
as
|
|
40
|
-
}));
|
|
41
|
-
$[4] = as;
|
|
42
|
-
$[5] = inputSizeCva;
|
|
43
|
-
$[6] = size;
|
|
44
|
-
$[7] = t3;
|
|
45
|
-
$[8] = t4;
|
|
46
|
-
} else t4 = $[8];
|
|
47
|
-
let t5;
|
|
48
|
-
if ($[9] !== LeadingIcon || $[10] !== isLeadingIconElement) {
|
|
49
|
-
t5 = LeadingIcon && /* @__PURE__ */ jsx("div", {
|
|
50
|
-
className: clsx(!isLeadingIconElement && "pointer-events-none"),
|
|
51
|
-
children: isLeadingIconElement ? LeadingIcon : /* @__PURE__ */ jsx(LeadingIcon, { className: "size-6 text-interactive-text-secondary-idle" })
|
|
52
|
-
});
|
|
53
|
-
$[9] = LeadingIcon;
|
|
54
|
-
$[10] = isLeadingIconElement;
|
|
55
|
-
$[11] = t5;
|
|
56
|
-
} else t5 = $[11];
|
|
57
|
-
let t6;
|
|
58
|
-
if ($[12] !== as || $[13] !== inputContentWrapperCva) {
|
|
59
|
-
t6 = inputContentWrapperCva({ as });
|
|
60
|
-
$[12] = as;
|
|
61
|
-
$[13] = inputContentWrapperCva;
|
|
62
|
-
$[14] = t6;
|
|
63
|
-
} else t6 = $[14];
|
|
64
|
-
let t7;
|
|
65
|
-
if ($[15] !== as || $[16] !== headerProps || $[17] !== size) {
|
|
66
|
-
t7 = as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
67
|
-
as,
|
|
68
|
-
size,
|
|
69
|
-
...headerProps
|
|
70
|
-
});
|
|
71
|
-
$[15] = as;
|
|
72
|
-
$[16] = headerProps;
|
|
73
|
-
$[17] = size;
|
|
74
|
-
$[18] = t7;
|
|
75
|
-
} else t7 = $[18];
|
|
76
|
-
let t8;
|
|
77
|
-
if ($[19] !== children || $[20] !== t6 || $[21] !== t7) {
|
|
78
|
-
t8 = /* @__PURE__ */ jsxs("div", {
|
|
79
|
-
className: t6,
|
|
80
|
-
children: [t7, children]
|
|
81
|
-
});
|
|
82
|
-
$[19] = children;
|
|
83
|
-
$[20] = t6;
|
|
84
|
-
$[21] = t7;
|
|
85
|
-
$[22] = t8;
|
|
86
|
-
} else t8 = $[22];
|
|
87
|
-
let t9;
|
|
88
|
-
if ($[23] !== t4 || $[24] !== t5 || $[25] !== t8) {
|
|
89
|
-
t9 = /* @__PURE__ */ jsxs("div", {
|
|
90
|
-
className: t4,
|
|
91
|
-
children: [t5, t8]
|
|
92
|
-
});
|
|
93
|
-
$[23] = t4;
|
|
94
|
-
$[24] = t5;
|
|
95
|
-
$[25] = t8;
|
|
96
|
-
$[26] = t9;
|
|
97
|
-
} else t9 = $[26];
|
|
98
|
-
let t10;
|
|
99
|
-
if ($[27] !== action || $[28] !== as || $[29] !== inputSizeCva || $[30] !== isClearable || $[31] !== isTrailingIconElement || $[32] !== showClear || $[33] !== size) {
|
|
100
|
-
t10 = clsx("flex items-center gap-input-gap-trailing-elements py-0! pl-0!", inputSizeCva({
|
|
101
|
-
size,
|
|
102
|
-
as
|
|
103
|
-
}), !isTrailingIconElement && !action && !(isClearable && showClear) && "pointer-events-none");
|
|
104
|
-
$[27] = action;
|
|
105
|
-
$[28] = as;
|
|
106
|
-
$[29] = inputSizeCva;
|
|
107
|
-
$[30] = isClearable;
|
|
108
|
-
$[31] = isTrailingIconElement;
|
|
109
|
-
$[32] = showClear;
|
|
110
|
-
$[33] = size;
|
|
111
|
-
$[34] = t10;
|
|
112
|
-
} else t10 = $[34];
|
|
113
|
-
let t11;
|
|
114
|
-
if ($[35] !== isClearable || $[36] !== onBlur || $[37] !== onChange || $[38] !== showClear) {
|
|
115
|
-
t11 = isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
116
|
-
onClear: () => {
|
|
117
|
-
onChange?.("");
|
|
118
|
-
onBlur?.({ target: { value: "" } });
|
|
119
|
-
},
|
|
120
|
-
show: showClear
|
|
121
|
-
});
|
|
122
|
-
$[35] = isClearable;
|
|
123
|
-
$[36] = onBlur;
|
|
124
|
-
$[37] = onChange;
|
|
125
|
-
$[38] = showClear;
|
|
126
|
-
$[39] = t11;
|
|
127
|
-
} else t11 = $[39];
|
|
128
|
-
let t12;
|
|
129
|
-
if ($[40] !== typographyCva || $[41] !== unit) {
|
|
130
|
-
t12 = unit && /* @__PURE__ */ jsx("span", {
|
|
131
|
-
className: typographyCva({
|
|
132
|
-
size: "label-2",
|
|
133
|
-
sizeMobile: "label-2",
|
|
134
|
-
variant: "prominent-1",
|
|
135
|
-
className: "text-text-default-3"
|
|
136
|
-
}),
|
|
137
|
-
children: unit
|
|
138
|
-
});
|
|
139
|
-
$[40] = typographyCva;
|
|
140
|
-
$[41] = unit;
|
|
141
|
-
$[42] = t12;
|
|
142
|
-
} else t12 = $[42];
|
|
143
|
-
let t13;
|
|
144
|
-
if ($[43] !== isLoading) {
|
|
145
|
-
t13 = isLoading && /* @__PURE__ */ jsx("div", {
|
|
146
|
-
className: "inline-flex",
|
|
147
|
-
children: /* @__PURE__ */ jsx(Loader, {})
|
|
148
|
-
});
|
|
149
|
-
$[43] = isLoading;
|
|
150
|
-
$[44] = t13;
|
|
151
|
-
} else t13 = $[44];
|
|
152
|
-
let t14;
|
|
153
|
-
if ($[45] !== action || $[46] !== isDisabled || $[47] !== isLoading) {
|
|
154
|
-
t14 = !isLoading && action && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
155
|
-
color: "secondary",
|
|
156
|
-
icon: action.icon,
|
|
157
|
-
isDisabled,
|
|
158
|
-
onPress: action.onClick,
|
|
159
|
-
excludeFromTabOrder: true,
|
|
160
|
-
label: action.altText,
|
|
161
|
-
className: clsx("border-0!", action.className),
|
|
162
|
-
"data-static-press-action": ""
|
|
163
|
-
});
|
|
164
|
-
$[45] = action;
|
|
165
|
-
$[46] = isDisabled;
|
|
166
|
-
$[47] = isLoading;
|
|
167
|
-
$[48] = t14;
|
|
168
|
-
} else t14 = $[48];
|
|
169
|
-
let t15;
|
|
170
|
-
if ($[49] !== TrailingIcon || $[50] !== action || $[51] !== isLoading || $[52] !== isTrailingIconElement) {
|
|
171
|
-
t15 = !isLoading && !action && TrailingIcon && (isTrailingIconElement ? TrailingIcon : /* @__PURE__ */ jsx(TrailingIcon, { className: "size-6 text-interactive-text-secondary-idle" }));
|
|
172
|
-
$[49] = TrailingIcon;
|
|
173
|
-
$[50] = action;
|
|
174
|
-
$[51] = isLoading;
|
|
175
|
-
$[52] = isTrailingIconElement;
|
|
176
|
-
$[53] = t15;
|
|
177
|
-
} else t15 = $[53];
|
|
178
|
-
let t16;
|
|
179
|
-
if ($[54] !== t10 || $[55] !== t11 || $[56] !== t12 || $[57] !== t13 || $[58] !== t14 || $[59] !== t15) {
|
|
180
|
-
t16 = /* @__PURE__ */ jsxs("div", {
|
|
181
|
-
className: t10,
|
|
182
|
-
children: [
|
|
183
|
-
t11,
|
|
184
|
-
t12,
|
|
185
|
-
t13,
|
|
186
|
-
t14,
|
|
187
|
-
t15
|
|
188
|
-
]
|
|
189
|
-
});
|
|
190
|
-
$[54] = t10;
|
|
191
|
-
$[55] = t11;
|
|
192
|
-
$[56] = t12;
|
|
193
|
-
$[57] = t13;
|
|
194
|
-
$[58] = t14;
|
|
195
|
-
$[59] = t15;
|
|
196
|
-
$[60] = t16;
|
|
197
|
-
} else t16 = $[60];
|
|
198
|
-
let t17;
|
|
199
|
-
if ($[61] !== t16 || $[62] !== t9) {
|
|
200
|
-
t17 = /* @__PURE__ */ jsxs("div", {
|
|
201
|
-
className: "flex w-full items-center gap-input-gap-input-text-to-elements",
|
|
202
|
-
children: [t9, t16]
|
|
203
|
-
});
|
|
204
|
-
$[61] = t16;
|
|
205
|
-
$[62] = t9;
|
|
206
|
-
$[63] = t17;
|
|
207
|
-
} else t17 = $[63];
|
|
208
|
-
return t17;
|
|
209
|
-
};
|
|
210
|
-
//#endregion
|
|
211
|
-
export { InputContent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getStaticNumberDisplayValue: (value: unknown, formatter: Intl.NumberFormat) => string | null;
|