@povio/ui 3.4.0-rc.9 → 4.0.0-rc.2
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 +56 -2
- package/dist/Accordion-Cup5eRZz.d.ts +58 -0
- package/dist/Accordion-rZ9P9dZy.js +416 -0
- package/dist/Alert-BALBsBrP.js +240 -0
- package/dist/Alert-CbEhRaU5.d.ts +33 -0
- package/dist/AlertDialog-PjYM6lDo.d.ts +26 -0
- package/dist/Autocomplete-DE2lQi5o.d.ts +15 -0
- package/dist/Badge-CjPpYa50.d.ts +28 -0
- package/dist/BottomSheet-ByyAU_dJ.js +404 -0
- package/dist/BottomSheet-CT0zuola.d.ts +33 -0
- package/dist/BottomSheet.lazy-7AwnB4vS.d.ts +5 -0
- package/dist/Breadcrumbs-D-3YEuem.d.ts +19 -0
- package/dist/Breadcrumbs-UfRbfiqU.js +351 -0
- package/dist/Button-CRlZqaJq.js +89 -0
- package/dist/Button-CbwNjdRz.js +761 -0
- package/dist/Button-DTNjsGx5.d.ts +42 -0
- package/dist/ButtonContent-CohuJJzG.js +136 -0
- package/dist/Calendar-Ci0ysyfZ.js +753 -0
- package/dist/CheckContent-DzWpxKGq.js +19 -0
- package/dist/Checkbox-BJ7flpwA.js +227 -0
- package/dist/Checkbox-CBybJbLm.d.ts +26 -0
- package/dist/CheckboxCheckmark-C1X9yBT6.js +195 -0
- package/dist/CheckboxGroup-4xoWgmxr.d.ts +28 -0
- package/dist/DatePicker-CgCr_Z8r.js +434 -0
- package/dist/DatePicker-DyjAwAh6.d.ts +44 -0
- package/dist/DatePickerInput-B9Z_AUkC.js +945 -0
- package/dist/DatePickerInput-CdCtVE9z.d.ts +18 -0
- package/dist/DateRangePicker-CS69o2pD.js +1858 -0
- package/dist/DateRangePicker-Cdu1Sx37.d.ts +76 -0
- package/dist/DateTimePicker-ClSa8hFs.d.ts +44 -0
- package/dist/DateTimePicker-Xzc1ve3a.js +387 -0
- package/dist/Dialog-CLWfxiie.js +595 -0
- package/dist/Dialog-DEbI_9S-.d.ts +55 -0
- package/dist/Dialog-DLfOkNe9.js +60 -0
- package/dist/Drawer-D1cHiBFO.d.ts +18 -0
- package/dist/DropdownMenu-CZQRzOBb.d.ts +61 -0
- package/dist/DropdownMenu-hkpycd0j.js +178 -0
- package/dist/DropdownMenuDesktop-B0MKN0op.js +248 -0
- package/dist/FileInput-BQS6TAH7.js +236 -0
- package/dist/FileInput-CI8D_wf_.d.ts +70 -0
- package/dist/FileTrigger-C5r_5hvS.js +145 -0
- package/dist/FileUpload-BrnJdN3M.d.ts +7 -0
- package/dist/FileUpload-cS3NOaES.js +791 -0
- package/dist/FileUploadContainer-CkBENy6n.d.ts +5 -0
- package/dist/FocusScope-CNjWJz3s.js +343 -0
- package/dist/Form-Bam3kea-.js +10 -0
- package/dist/Form-NZGvsbuM.d.ts +49 -0
- package/dist/FormField-BHPdCLEV.js +211 -0
- package/dist/FormField-DTDj3F0A.d.ts +37 -0
- package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
- package/dist/FormFieldError-CFg0Wn3i.js +26 -0
- package/dist/FormFieldHeaderTooltip-b-kY0DgB.js +38 -0
- package/dist/Heading-D0cYUzVa.js +16 -0
- package/dist/IconButton-CYazzM7I.d.ts +16 -0
- package/dist/InlineIconButton-Rp5bXWcQ.d.ts +15 -0
- package/dist/InlineTooltipWrapper-BqLlgdD7.js +24 -0
- package/dist/Input-BmIahisJ.js +47 -0
- package/dist/Input-DSHFNEVl.d.ts +30 -0
- package/dist/InputContent-CvWm6GAv.d.ts +27 -0
- package/dist/InputItem-AU6mq7o-.js +63 -0
- package/dist/Inputs-AqKRElPz.js +17 -0
- package/dist/Inputs-DiFAIBZS.d.ts +13 -0
- package/dist/Label-C6BonuOp.js +17 -0
- package/dist/Link-D7QEPw-L.js +47 -0
- package/dist/Link-DS9-0Ijl.d.ts +27 -0
- package/dist/Link-e4ZWZNrO.js +42 -0
- package/dist/ListBox-Dx42Gif4.js +418 -0
- package/dist/MenuItem-CROWrE2A.d.ts +6 -0
- package/dist/Modal-C5Oi8GZF.js +152 -0
- package/dist/NumberField-BICDQ2gN.d.ts +30 -0
- package/dist/NumberRangeInput-BlGXChNR.d.ts +45 -0
- package/dist/NumberRangeInput-xjkniTH0.js +428 -0
- package/dist/OverlayArrow-BRnQo6-8.js +33 -0
- package/dist/Pagination-CumQED8X.d.ts +12 -0
- package/dist/PaginationList-D79ApWLm.d.ts +18 -0
- package/dist/PaginationList-Du7qn_AS.js +228 -0
- package/dist/PasswordInput-BdrYD1D3.d.ts +10 -0
- package/dist/PasswordInput-DTScGauT.js +63 -0
- package/dist/PillButton-CihEPQye.d.ts +15 -0
- package/dist/Popover-C0_-TLl_.d.ts +20 -0
- package/dist/Progress-CYfDXJKs.d.ts +44 -0
- package/dist/Progress-_jkt2pQw.js +145 -0
- package/dist/QuerySelect-V9C2b67x.d.ts +23 -0
- package/dist/RadioGroup-B9g4uT4E.js +380 -0
- package/dist/RadioGroup-WHWosz7K.d.ts +24 -0
- package/dist/RichTextEditor-CbgjRfiU.d.ts +26 -0
- package/dist/RichTextEditor-DWgaZLRW.js +925 -0
- package/dist/Select-O9dprkTa.js +159 -0
- package/dist/Select-wzB2aQ_X.d.ts +15 -0
- package/dist/SelectBase-DefgAEzh.d.ts +96 -0
- package/dist/SelectionIndicator-C9TY9dkk.js +5 -0
- package/dist/SharedElementTransition-lGqrCNlI.js +12 -0
- package/dist/Slider-CZMNmk6P.d.ts +22 -0
- package/dist/Slider-IDDtzb2P.js +246 -0
- package/dist/Spinner-BOgO9bS6.d.ts +29 -0
- package/dist/Spinner-owSXOEzg.js +113 -0
- package/dist/SplitButton-BPZbQeYC.d.ts +15 -0
- package/dist/Stepper-Coe3PAl_.js +336 -0
- package/dist/Stepper-PcHlxDD5.d.ts +113 -0
- package/dist/Switch-BaNEe9Nx.js +192 -0
- package/dist/Switch-C0S5Juhf.d.ts +22 -0
- package/dist/TableDnd-CuHxANWh.js +133 -0
- package/dist/Tag-1N-2yYCH.js +148 -0
- package/dist/Tag-CgPeLVXM.d.ts +44 -0
- package/dist/Text-D_lEB52w.js +5 -0
- package/dist/TextArea-BcIy_nZ2.js +181 -0
- package/dist/TextArea-CBWJ7w-p.d.ts +24 -0
- package/dist/TextButton-D7e_YBLe.d.ts +15 -0
- package/dist/TimePicker-BZ4WrI5Z.d.ts +33 -0
- package/dist/TimePicker-vbrwgBc5.js +428 -0
- package/dist/Toast-DIlYlUQk.d.ts +16 -0
- package/dist/ToastContainer-1H_IxvyH.d.ts +5 -0
- package/dist/ToastContainer-gdpK8d8m.js +55 -0
- package/dist/ToggleButton-C966bfpT.js +92 -0
- package/dist/ToggleButton-D4y2fLmN.d.ts +11 -0
- package/dist/ToggleGroup-BMZsbHY9.js +435 -0
- package/dist/ToggleGroup-D9CFdM5-.d.ts +7 -0
- package/dist/Tooltip-B-2AxyjP.d.ts +56 -0
- package/dist/Tooltip-BNAubrgG.js +299 -0
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
- package/dist/TooltipWrapper-DYfZF2Ly.js +58 -0
- package/dist/Typography-AcUd9df8.js +31 -0
- package/dist/Typography-BWmZd20e.d.ts +12 -0
- package/dist/autocomplete-CaQSVRrw.d.ts +16 -0
- package/dist/button.cva-ChabF4Am.d.ts +106 -0
- package/dist/buttonContent.cva-CP857foM.d.ts +6 -0
- package/dist/chain-BKPAL-J_.js +10 -0
- package/dist/check-DefmU9oJ.js +13 -0
- package/dist/checkbox-D8CPWRlM.d.ts +9 -0
- package/dist/checkbox-group-BuPUA_Qj.d.ts +9 -0
- package/dist/checkbox.cva-DwnPS5df.d.ts +77 -0
- package/dist/chevron-down-RksSwG1O.js +13 -0
- package/dist/chevron-left-Dem1_TuL.js +13 -0
- package/dist/chevron-right-DXbvvsay.js +13 -0
- package/dist/chevron-up-CgEFpORu.js +13 -0
- package/dist/chevrons-right--HrJEes-.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/alert-dialog.d.ts +2 -0
- package/dist/components/alert-dialog.js +188 -0
- package/dist/components/alert.d.ts +2 -0
- package/dist/components/alert.js +2 -0
- package/dist/components/autocomplete/react-aria.d.ts +1 -0
- package/dist/components/autocomplete/react-aria.js +1 -0
- package/dist/components/autocomplete.d.ts +2 -0
- package/dist/components/autocomplete.js +134 -0
- package/dist/components/badge.d.ts +2 -0
- package/dist/components/badge.js +98 -0
- package/dist/components/bottom-sheet.d.ts +3 -0
- package/dist/components/bottom-sheet.js +109 -0
- package/dist/components/breadcrumb/react-aria.d.ts +1 -0
- package/dist/components/breadcrumb/react-aria.js +1 -0
- package/dist/components/breadcrumbs/react-aria.d.ts +1 -0
- package/dist/components/breadcrumbs/react-aria.js +1 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +2 -0
- package/dist/components/button/react-aria.d.ts +1 -0
- package/dist/components/button/react-aria.js +1 -0
- package/dist/components/button.d.ts +3 -0
- package/dist/components/button.js +2 -0
- package/dist/components/calendar/react-aria.d.ts +1 -0
- package/dist/components/calendar/react-aria.js +1 -0
- package/dist/components/calendar-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-cell/react-aria.js +1 -0
- package/dist/components/calendar-grid/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid/react-aria.js +1 -0
- package/dist/components/calendar-grid-body/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-body/react-aria.js +1 -0
- package/dist/components/calendar-grid-header/react-aria.d.ts +1 -0
- package/dist/components/calendar-grid-header/react-aria.js +1 -0
- package/dist/components/calendar-header-cell/react-aria.d.ts +1 -0
- package/dist/components/calendar-header-cell/react-aria.js +1 -0
- package/dist/components/cell/react-aria.d.ts +1 -0
- package/dist/components/cell/react-aria.js +1 -0
- package/dist/components/checkbox/react-aria.d.ts +1 -0
- package/dist/components/checkbox/react-aria.js +1 -0
- package/dist/components/checkbox-group/react-aria.d.ts +1 -0
- package/dist/components/checkbox-group/react-aria.js +1 -0
- package/dist/components/checkbox-group.d.ts +2 -0
- package/dist/components/checkbox-group.js +164 -0
- package/dist/components/checkbox.d.ts +2 -0
- package/dist/components/checkbox.js +2 -0
- package/dist/components/collection/react-aria.d.ts +1 -0
- package/dist/components/collection/react-aria.js +1 -0
- package/dist/components/color-area/react-aria.d.ts +1 -0
- package/dist/components/color-area/react-aria.js +1 -0
- package/dist/components/color-field/react-aria.d.ts +1 -0
- package/dist/components/color-field/react-aria.js +1 -0
- package/dist/components/color-picker/react-aria.d.ts +1 -0
- package/dist/components/color-picker/react-aria.js +1 -0
- package/dist/components/color-slider/react-aria.d.ts +1 -0
- package/dist/components/color-slider/react-aria.js +1 -0
- package/dist/components/color-swatch/react-aria.d.ts +1 -0
- package/dist/components/color-swatch/react-aria.js +1 -0
- package/dist/components/color-swatch-picker/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker/react-aria.js +1 -0
- package/dist/components/color-swatch-picker-item/react-aria.d.ts +5 -0
- package/dist/components/color-swatch-picker-item/react-aria.js +1 -0
- package/dist/components/color-thumb/react-aria.d.ts +1 -0
- package/dist/components/color-thumb/react-aria.js +1 -0
- package/dist/components/color-wheel/react-aria.d.ts +1 -0
- package/dist/components/color-wheel/react-aria.js +1 -0
- package/dist/components/color-wheel-track/react-aria.d.ts +1 -0
- package/dist/components/color-wheel-track/react-aria.js +1 -0
- package/dist/components/column/react-aria.d.ts +1 -0
- package/dist/components/column/react-aria.js +1 -0
- package/dist/components/column-resizer/react-aria.d.ts +1 -0
- package/dist/components/column-resizer/react-aria.js +1 -0
- package/dist/components/combo-box/react-aria.d.ts +1 -0
- package/dist/components/combo-box/react-aria.js +1 -0
- package/dist/components/date-field/react-aria.d.ts +1 -0
- package/dist/components/date-field/react-aria.js +1 -0
- package/dist/components/date-input/react-aria.d.ts +1 -0
- package/dist/components/date-input/react-aria.js +1 -0
- package/dist/components/date-picker/react-aria.d.ts +1 -0
- package/dist/components/date-picker/react-aria.js +1 -0
- package/dist/components/date-picker.d.ts +2 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/date-range-picker/react-aria.d.ts +1 -0
- package/dist/components/date-range-picker/react-aria.js +1 -0
- package/dist/components/date-range-picker.d.ts +27 -0
- package/dist/components/date-range-picker.js +2 -0
- package/dist/components/date-segment/react-aria.d.ts +1 -0
- package/dist/components/date-segment/react-aria.js +1 -0
- package/dist/components/date-time-picker.d.ts +2 -0
- package/dist/components/date-time-picker.js +2 -0
- package/dist/components/default-collection-renderer/react-aria.d.ts +1 -0
- package/dist/components/default-collection-renderer/react-aria.js +1 -0
- package/dist/components/dialog/react-aria.d.ts +1 -0
- package/dist/components/dialog/react-aria.js +1 -0
- package/dist/components/dialog-trigger/react-aria.d.ts +1 -0
- package/dist/components/dialog-trigger/react-aria.js +1 -0
- package/dist/components/dialog.d.ts +2 -0
- package/dist/components/dialog.js +2 -0
- package/dist/components/disclosure/react-aria.d.ts +1 -0
- package/dist/components/disclosure/react-aria.js +1 -0
- package/dist/components/disclosure-group/react-aria.d.ts +1 -0
- package/dist/components/disclosure-group/react-aria.js +1 -0
- package/dist/components/disclosure-panel/react-aria.d.ts +1 -0
- package/dist/components/disclosure-panel/react-aria.js +1 -0
- package/dist/components/dom-attributes/react-aria.d.ts +1 -0
- package/dist/components/dom-attributes/react-aria.js +0 -0
- package/dist/components/drawer.d.ts +2 -0
- package/dist/components/drawer.js +96 -0
- package/dist/components/drop-indicator/react-aria.d.ts +1 -0
- package/dist/components/drop-indicator/react-aria.js +1 -0
- package/dist/components/drop-zone/react-aria.d.ts +1 -0
- package/dist/components/drop-zone/react-aria.js +1 -0
- package/dist/components/dropdown-menu.d.ts +3 -0
- package/dist/components/dropdown-menu.js +3 -0
- package/dist/components/field-error/react-aria.d.ts +1 -0
- package/dist/components/field-error/react-aria.js +1 -0
- package/dist/components/file-input.d.ts +2 -0
- package/dist/components/file-input.js +2 -0
- package/dist/components/file-trigger/react-aria.d.ts +1 -0
- package/dist/components/file-trigger/react-aria.js +1 -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/focusable/react-aria.d.ts +1 -0
- package/dist/components/focusable/react-aria.js +1 -0
- package/dist/components/form/react-aria.d.ts +1 -0
- package/dist/components/form/react-aria.js +1 -0
- package/dist/components/form-field.d.ts +2 -0
- package/dist/components/form-field.js +2 -0
- package/dist/components/grid-list/react-aria.d.ts +1 -0
- package/dist/components/grid-list/react-aria.js +1 -0
- package/dist/components/grid-list-header/react-aria.d.ts +1 -0
- package/dist/components/grid-list-header/react-aria.js +1 -0
- package/dist/components/grid-list-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-item/react-aria.js +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/grid-list-load-more-item/react-aria.js +1 -0
- package/dist/components/grid-list-section/react-aria.d.ts +1 -0
- package/dist/components/grid-list-section/react-aria.js +1 -0
- package/dist/components/group/react-aria.d.ts +1 -0
- package/dist/components/group/react-aria.js +1 -0
- package/dist/components/header/react-aria.d.ts +1 -0
- package/dist/components/header/react-aria.js +1 -0
- package/dist/components/heading/react-aria.d.ts +1 -0
- package/dist/components/heading/react-aria.js +1 -0
- package/dist/components/i18n-provider/react-aria.d.ts +1 -0
- package/dist/components/i18n-provider/react-aria.js +1 -0
- package/dist/components/icon-button.d.ts +2 -0
- package/dist/components/icon-button.js +55 -0
- package/dist/components/inline-icon-button.d.ts +2 -0
- package/dist/components/inline-icon-button.js +40 -0
- package/dist/components/input/react-aria.d.ts +1 -0
- package/dist/components/input/react-aria.js +1 -0
- package/dist/components/input.d.ts +2 -0
- package/dist/components/input.js +242 -0
- package/dist/components/key/react-aria.d.ts +1 -0
- package/dist/components/key/react-aria.js +0 -0
- package/dist/components/keyboard/react-aria.d.ts +1 -0
- package/dist/components/keyboard/react-aria.js +1 -0
- package/dist/components/label/react-aria.d.ts +1 -0
- package/dist/components/label/react-aria.js +1 -0
- package/dist/components/link/react-aria.d.ts +1 -0
- package/dist/components/link/react-aria.js +1 -0
- package/dist/components/link.d.ts +2 -0
- package/dist/components/link.js +2 -0
- package/dist/components/list-box/react-aria.d.ts +1 -0
- package/dist/components/list-box/react-aria.js +1 -0
- package/dist/components/list-box-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-item/react-aria.js +1 -0
- package/dist/components/list-box-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/list-box-load-more-item/react-aria.js +1 -0
- package/dist/components/list-box-section/react-aria.d.ts +1 -0
- package/dist/components/list-box-section/react-aria.js +1 -0
- package/dist/components/menu/react-aria.d.ts +1 -0
- package/dist/components/menu/react-aria.js +1 -0
- package/dist/components/menu-item/react-aria.d.ts +1 -0
- package/dist/components/menu-item/react-aria.js +1 -0
- package/dist/components/menu-section/react-aria.d.ts +1 -0
- package/dist/components/menu-section/react-aria.js +1 -0
- package/dist/components/menu-trigger/react-aria.d.ts +1 -0
- package/dist/components/menu-trigger/react-aria.js +1 -0
- package/dist/components/meter/react-aria.d.ts +1 -0
- package/dist/components/meter/react-aria.js +1 -0
- package/dist/components/modal/react-aria.d.ts +1 -0
- package/dist/components/modal/react-aria.js +1 -0
- package/dist/components/modal-overlay/react-aria.d.ts +1 -0
- package/dist/components/modal-overlay/react-aria.js +1 -0
- package/dist/components/number-field/react-aria.d.ts +1 -0
- package/dist/components/number-field/react-aria.js +1 -0
- package/dist/components/number-field.d.ts +2 -0
- package/dist/components/number-field.js +245 -0
- package/dist/components/number-range-input.d.ts +2 -0
- package/dist/components/number-range-input.js +2 -0
- package/dist/components/overlay-arrow/react-aria.d.ts +1 -0
- package/dist/components/overlay-arrow/react-aria.js +1 -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/popover/react-aria.d.ts +1 -0
- package/dist/components/popover/react-aria.js +1 -0
- package/dist/components/popover.d.ts +2 -0
- package/dist/components/popover.js +126 -0
- package/dist/components/pressable/react-aria.d.ts +1 -0
- package/dist/components/pressable/react-aria.js +1 -0
- package/dist/components/progress-bar/react-aria.d.ts +1 -0
- package/dist/components/progress-bar/react-aria.js +1 -0
- package/dist/components/progress.d.ts +2 -0
- package/dist/components/progress.js +2 -0
- package/dist/components/provider/react-aria.d.ts +1 -0
- package/dist/components/provider/react-aria.js +1 -0
- package/dist/components/query-autocomplete.d.ts +8 -0
- package/dist/components/query-autocomplete.js +126 -0
- package/dist/components/query-select.d.ts +2 -0
- package/dist/components/query-select.js +138 -0
- package/dist/components/radio/react-aria.d.ts +1 -0
- package/dist/components/radio/react-aria.js +1 -0
- package/dist/components/radio-group/react-aria.d.ts +1 -0
- package/dist/components/radio-group/react-aria.js +1 -0
- package/dist/components/radio-group.d.ts +2 -0
- package/dist/components/radio-group.js +2 -0
- package/dist/components/range-calendar/react-aria.d.ts +1 -0
- package/dist/components/range-calendar/react-aria.js +1 -0
- package/dist/components/resizable-table-container/react-aria.d.ts +1 -0
- package/dist/components/resizable-table-container/react-aria.js +1 -0
- package/dist/components/router-provider/react-aria.d.ts +1 -0
- package/dist/components/router-provider/react-aria.js +1 -0
- package/dist/components/row/react-aria.d.ts +1 -0
- package/dist/components/row/react-aria.js +1 -0
- package/dist/components/search-field/react-aria.d.ts +1 -0
- package/dist/components/search-field/react-aria.js +1 -0
- package/dist/components/section/react-aria.d.ts +1 -0
- package/dist/components/section/react-aria.js +1 -0
- package/dist/components/select/react-aria.d.ts +1 -0
- package/dist/components/select/react-aria.js +1 -0
- package/dist/components/select-value/react-aria.d.ts +1 -0
- package/dist/components/select-value/react-aria.js +1 -0
- package/dist/components/select.d.ts +3 -0
- package/dist/components/select.js +2 -0
- package/dist/components/selection/react-aria.d.ts +1 -0
- package/dist/components/selection/react-aria.js +0 -0
- package/dist/components/selection-indicator/react-aria.d.ts +1 -0
- package/dist/components/selection-indicator/react-aria.js +1 -0
- package/dist/components/separator/react-aria.d.ts +1 -0
- package/dist/components/separator/react-aria.js +1 -0
- package/dist/components/shared-element/react-aria.d.ts +1 -0
- package/dist/components/shared-element/react-aria.js +1 -0
- package/dist/components/shared-element-transition/react-aria.d.ts +1 -0
- package/dist/components/shared-element-transition/react-aria.js +1 -0
- package/dist/components/slider/react-aria.d.ts +1 -0
- package/dist/components/slider/react-aria.js +1 -0
- package/dist/components/slider-output/react-aria.d.ts +1 -0
- package/dist/components/slider-output/react-aria.js +1 -0
- package/dist/components/slider-thumb/react-aria.d.ts +1 -0
- package/dist/components/slider-thumb/react-aria.js +1 -0
- package/dist/components/slider-track/react-aria.d.ts +1 -0
- package/dist/components/slider-track/react-aria.js +1 -0
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/spinner.d.ts +2 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/split-button.d.ts +2 -0
- package/dist/components/split-button.js +123 -0
- package/dist/components/ssr-provider/react-aria.d.ts +1 -0
- package/dist/components/ssr-provider/react-aria.js +1 -0
- package/dist/components/stepper.d.ts +2 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/submenu-trigger/react-aria.d.ts +1 -0
- package/dist/components/submenu-trigger/react-aria.js +1 -0
- package/dist/components/switch/react-aria.d.ts +1 -0
- package/dist/components/switch/react-aria.js +1 -0
- package/dist/components/switch.d.ts +2 -0
- package/dist/components/switch.js +2 -0
- package/dist/components/tab/react-aria.d.ts +1 -0
- package/dist/components/tab/react-aria.js +1 -0
- package/dist/components/tab-list/react-aria.d.ts +1 -0
- package/dist/components/tab-list/react-aria.js +1 -0
- package/dist/components/tab-panel/react-aria.d.ts +1 -0
- package/dist/components/tab-panel/react-aria.js +1 -0
- package/dist/components/tab-panels/react-aria.d.ts +1 -0
- package/dist/components/tab-panels/react-aria.js +1 -0
- package/dist/components/table/react-aria.d.ts +1 -0
- package/dist/components/table/react-aria.js +1 -0
- package/dist/components/table-body/react-aria.d.ts +1 -0
- package/dist/components/table-body/react-aria.js +1 -0
- package/dist/components/table-header/react-aria.d.ts +1 -0
- package/dist/components/table-header/react-aria.js +1 -0
- package/dist/components/table-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/table-load-more-item/react-aria.js +1 -0
- package/dist/components/tabs/react-aria.d.ts +1 -0
- package/dist/components/tabs/react-aria.js +1 -0
- package/dist/components/tag/react-aria.d.ts +1 -0
- package/dist/components/tag/react-aria.js +1 -0
- package/dist/components/tag-group/react-aria.d.ts +1 -0
- package/dist/components/tag-group/react-aria.js +1 -0
- package/dist/components/tag-list/react-aria.d.ts +1 -0
- package/dist/components/tag-list/react-aria.js +1 -0
- package/dist/components/tag.d.ts +2 -0
- package/dist/components/tag.js +2 -0
- package/dist/components/text/react-aria.d.ts +1 -0
- package/dist/components/text/react-aria.js +1 -0
- package/dist/components/text-area/react-aria.d.ts +1 -0
- package/dist/components/text-area/react-aria.js +1 -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-field/react-aria.d.ts +1 -0
- package/dist/components/text-field/react-aria.js +1 -0
- package/dist/components/time-field/react-aria.d.ts +1 -0
- package/dist/components/time-field/react-aria.js +1 -0
- package/dist/components/time-picker.d.ts +2 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/toast/react-aria.d.ts +1 -0
- package/dist/components/toast/react-aria.js +1 -0
- package/dist/components/toast-content/react-aria.d.ts +1 -0
- package/dist/components/toast-content/react-aria.js +1 -0
- package/dist/components/toast-list/react-aria.d.ts +1 -0
- package/dist/components/toast-list/react-aria.js +1 -0
- package/dist/components/toast-region/react-aria.d.ts +1 -0
- package/dist/components/toast-region/react-aria.js +1 -0
- package/dist/components/toast.d.ts +4 -0
- package/dist/components/toast.js +3 -0
- package/dist/components/toggle-button/react-aria.d.ts +1 -0
- package/dist/components/toggle-button/react-aria.js +1 -0
- package/dist/components/toggle-button-group/react-aria.d.ts +5 -0
- package/dist/components/toggle-button-group/react-aria.js +1 -0
- package/dist/components/toggle-button.d.ts +2 -0
- package/dist/components/toggle-button.js +38 -0
- package/dist/components/toggle-group.d.ts +3 -0
- package/dist/components/toggle-group.js +2 -0
- package/dist/components/toolbar/react-aria.d.ts +1 -0
- package/dist/components/toolbar/react-aria.js +1 -0
- package/dist/components/tooltip/react-aria.d.ts +1 -0
- package/dist/components/tooltip/react-aria.js +1 -0
- package/dist/components/tooltip-ellipsis.d.ts +2 -0
- package/dist/components/tooltip-ellipsis.js +46 -0
- package/dist/components/tooltip-trigger/react-aria.d.ts +1 -0
- package/dist/components/tooltip-trigger/react-aria.js +1 -0
- package/dist/components/tooltip.d.ts +2 -0
- package/dist/components/tooltip.js +2 -0
- package/dist/components/tree/react-aria.d.ts +1 -0
- package/dist/components/tree/react-aria.js +1 -0
- package/dist/components/tree-item/react-aria.d.ts +1 -0
- package/dist/components/tree-item/react-aria.js +1 -0
- package/dist/components/tree-item-content/react-aria.d.ts +1 -0
- package/dist/components/tree-item-content/react-aria.js +1 -0
- package/dist/components/tree-load-more-item/react-aria.d.ts +1 -0
- package/dist/components/tree-load-more-item/react-aria.js +1 -0
- package/dist/components/typography.d.ts +3 -0
- package/dist/components/typography.js +2 -0
- package/dist/components/use-focus-visible/react-aria.d.ts +1 -0
- package/dist/components/use-focus-visible/react-aria.js +1 -0
- package/dist/components/use-focus-within/react-aria.d.ts +1 -0
- package/dist/components/use-focus-within/react-aria.js +1 -0
- package/dist/components/use-hover/react-aria.d.ts +1 -0
- package/dist/components/use-hover/react-aria.js +1 -0
- package/dist/components/use-label/react-aria.d.ts +1 -0
- package/dist/components/use-label/react-aria.js +1 -0
- package/dist/components/use-text-field/react-aria.d.ts +1 -0
- package/dist/components/use-text-field/react-aria.js +1 -0
- package/dist/components/use-toast.d.ts +2 -0
- package/dist/components/use-toast.js +42 -0
- package/dist/components/virtualizer/react-aria.d.ts +1 -0
- package/dist/components/virtualizer/react-aria.js +1 -0
- package/dist/components/visually-hidden/react-aria.d.ts +1 -0
- package/dist/components/visually-hidden/react-aria.js +1 -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 +3 -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-BcX0qVEy.js +114 -0
- package/dist/confirmation.context-fKfUTsLF.d.ts +23 -0
- package/dist/createLucideIcon-LS26Bb1M.js +125 -0
- package/dist/date-picker-DiMaoYoA.d.ts +9 -0
- package/dist/date-range-picker-DSkNEa35.d.ts +9 -0
- package/dist/date-time-picker-B5s2PMFw.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-BxOJpTbb.js +223 -0
- package/dist/dialog.cva-5qNq9YfM.js +43 -0
- package/dist/dist-BAT04RMQ.js +1740 -0
- package/dist/dom.utils-D08rHcQ2.js +49 -0
- package/dist/dynamicInputs-CRMWIpHA.js +194 -0
- package/dist/dynamicInputs-m_DQu5q0.js +214 -0
- package/dist/dynamicInputs-uIhp1Ly-.d.ts +771 -0
- package/dist/exports-DUKqxyno.js +20 -0
- package/dist/fieldAdapter-BaQgRGA9.js +61 -0
- package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
- package/dist/file-input-D-46wS5j.d.ts +9 -0
- package/dist/file-upload-BG20Bhrn.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-xFzuCT_m.d.ts +110 -0
- package/dist/focusSafely-BDIcvqPb.js +437 -0
- package/dist/form.binding-DLM7NA2s.js +179 -0
- package/dist/form.binding-DVJ5F0JE.d.ts +51 -0
- package/dist/form.types-CecYaerF.d.ts +13 -0
- package/dist/form.types-ZNGbcqJS.d.ts +13 -0
- package/dist/getScrollParent-WT3K8H_b.js +36 -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-BDjNuy4Z.js +302 -0
- package/dist/i18n-D0Pz0p2u.d.ts +318 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +2 -0
- package/dist/import-DDGNxVX8.js +45 -0
- package/dist/index.d.ts +105 -1
- package/dist/index.js +113 -120
- package/dist/input-CKGPYwfB.d.ts +8 -0
- package/dist/input.cva-ByFuAEIS.d.ts +83 -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-A7XlNdi7.js +346 -0
- package/dist/link.context-C5ZgwVM5.d.ts +12 -0
- package/dist/link.context-J7aQtMOr.js +35 -0
- package/dist/logger-CqZjM-sn.js +333 -0
- package/dist/logger-N35Xhi14.d.ts +10 -0
- package/dist/number-field-CyP6XgJh.d.ts +8 -0
- package/dist/number-range-input-DMmlk7Bl.d.ts +8 -0
- package/dist/numberStatic.utils-DAI7Bef3.js +902 -0
- package/dist/openLink-BrfLaWo4.js +121 -0
- package/dist/outline.clsx-50W_vNDl.js +6 -0
- package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
- package/dist/password-input-BWpfQe0G.d.ts +8 -0
- package/dist/pillButton.cva-6tjADUQ6.js +265 -0
- package/dist/pillButton.cva-BVsxGnqF.d.ts +36 -0
- package/dist/platform-3R53zj-n.js +42 -0
- package/dist/popover.cva-CXha_UMQ.js +5 -0
- package/dist/queries.utils-CmbhAoHU.js +18 -0
- package/dist/query-autocomplete-BeNfRDM_.d.ts +14 -0
- package/dist/query-select-Ded04eju.d.ts +15 -0
- package/dist/queryAutocomplete.types-BlpCYzfA.d.ts +26 -0
- package/dist/radio-group-CmUtsjqP.d.ts +9 -0
- package/dist/radio.cva-DAq2M13H.d.ts +51 -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-input.d.ts +3 -0
- package/dist/rhf/file-input.js +6 -0
- package/dist/rhf/file-upload.d.ts +3 -0
- package/dist/rhf/file-upload.js +6 -0
- package/dist/rhf/input.d.ts +3 -0
- package/dist/rhf/input.js +6 -0
- package/dist/rhf/inputs.d.ts +4 -0
- package/dist/rhf/inputs.js +2 -0
- package/dist/rhf/number-field.d.ts +3 -0
- package/dist/rhf/number-field.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/rich-text-editor.d.ts +3 -0
- package/dist/rhf/rich-text-editor.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/switch.d.ts +3 -0
- package/dist/rhf/switch.js +8 -0
- package/dist/rhf/text-area.d.ts +3 -0
- package/dist/rhf/text-area.js +6 -0
- package/dist/rhf/time-picker.d.ts +3 -0
- package/dist/rhf/time-picker.js +9 -0
- package/dist/rhf/toggle-group.d.ts +3 -0
- package/dist/rhf/toggle-group.js +6 -0
- package/dist/rhf-C52xZuFt.js +256 -0
- package/dist/rhf.d.ts +105 -225
- package/dist/rhf.js +101 -0
- package/dist/rich-text-editor-Db3XWWFo.d.ts +8 -0
- package/dist/rich-text-editor.d.ts +2 -0
- package/dist/rich-text-editor.js +2 -0
- package/dist/router.context-Bft1psqn.js +63 -0
- package/dist/router.context-CtafjXV7.d.ts +16 -0
- package/dist/routing.utils-UTQonIhB.js +25 -0
- package/dist/select-DXGbGkZM.d.ts +16 -0
- package/dist/slider-JQh0ypfU.d.ts +8 -0
- package/dist/staticDateTimeSegments-B9kkwiDz.js +3601 -0
- package/dist/staticSelect.utils-CBmV4sam.js +1834 -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/switch-Lm3xl1rQ.d.ts +9 -0
- package/dist/switch.cva-BIioyegR.d.ts +15 -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-input.d.ts +2 -0
- package/dist/tanstack/file-input.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 +3 -0
- package/dist/tanstack/input.d.ts +2 -0
- package/dist/tanstack/input.js +2 -0
- package/dist/tanstack/inputs.d.ts +5 -0
- package/dist/tanstack/inputs.js +3 -0
- package/dist/tanstack/number-field.d.ts +2 -0
- package/dist/tanstack/number-field.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/rich-text-editor.d.ts +2 -0
- package/dist/tanstack/rich-text-editor.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/switch.d.ts +2 -0
- package/dist/tanstack/switch.js +2 -0
- package/dist/tanstack/table.d.ts +2 -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/time-picker.d.ts +2 -0
- package/dist/tanstack/time-picker.js +2 -0
- package/dist/tanstack/toggle-group.d.ts +3 -0
- package/dist/tanstack/toggle-group.js +2 -0
- package/dist/tanstack.d.ts +92 -224
- package/dist/tanstack.js +97 -141
- package/dist/text-area-I5MNcGp_.d.ts +8 -0
- package/dist/theme.context-B3wQDJ-i.js +120 -0
- package/dist/theme.context-DfBt5Pz6.d.ts +20 -0
- package/dist/time-picker-DdhW8GmD.d.ts +9 -0
- package/dist/toast.cva-LU7TGprV.d.ts +60 -0
- package/dist/toast.runtime-BZQH-7Ba.js +17 -0
- package/dist/toastActivation.store-BELtcr76.js +16 -0
- package/dist/toggle-group-CPkKHm1t.d.ts +9 -0
- package/dist/toggleGroup.types-DD6uRI5G.d.ts +58 -0
- package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -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/typography.cva-BI0FyIqm.js +129 -0
- package/dist/typography.cva-YaO6JLqU.d.ts +51 -0
- package/dist/uiConfig.context-BB7_zyOU.d.ts +126 -0
- package/dist/uiConfig.context-BvBsrMFI.js +366 -0
- package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
- package/dist/uiOverrides.context-C3xb4Ttq.d.ts +243 -0
- package/dist/useBreakpoint-CDKDB0E2.js +70 -0
- package/dist/useControlledState-BMVd3AOQ.js +189 -0
- package/dist/useFieldAccessibility-Bq-m3qhs.js +96 -0
- package/dist/useFilters-BxRScJdn.d.ts +11 -0
- package/dist/useFilters-KS2CQs_j.js +190 -0
- package/dist/useFocusable-BIU1drrg.js +63 -0
- package/dist/useFormAutosave-Bcbvu28I.js +198 -0
- package/dist/useFormValidationState-Dl-Nh0G1.js +1345 -0
- package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
- package/dist/useLayoutEffect-DN7Dbrb9.js +58 -0
- package/dist/useLocalStorage-DGsBUCT6.d.ts +13 -0
- package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
- package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
- package/dist/useStaticInputHandoff-Denoy4V_.js +332 -0
- package/dist/useSyncRef-Dsn4Ybiw.js +338 -0
- package/dist/useTableColumnConfig-DSJeSKeA.js +1620 -0
- package/dist/useTableNav-Tu8UZxHA.d.ts +291 -0
- package/dist/useToast-NBGlVeFP.d.ts +16 -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/utils-D3gCeElo.js +145 -0
- package/dist/x-BD2AijMA.js +16 -0
- package/dist/zod.utils-DrrPDT9v.js +24 -0
- package/package.json +1376 -25
- package/dist/assets/locales/en/translation.json.d.ts +0 -158
- package/dist/assets/locales/en/translation.json.js +0 -147
- package/dist/assets/locales/sl/translation.json.d.ts +0 -154
- 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 -25
- 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 -41
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -423
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -46
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -884
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -41
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -383
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -29
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -649
- 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 -118
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -173
- 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 -46
- 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 -328
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -25
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -244
- 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 -77
- 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 -112
- package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -117
- package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -79
- 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 -494
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -46
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -582
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -36
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -338
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -61
- 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 -19
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -346
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -470
- package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -29
- package/dist/components/inputs/Input/shared/InputContent.js +0 -213
- 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 -38
- 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 -421
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -470
- 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 -128
- 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 -84
- 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 -103
- 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 -59
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -103
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -138
- 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 -117
- 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 -138
- 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 -170
- 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 -207
- 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 -265
- 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 -77
- package/dist/config/uiConfig.context.js +0 -132
- 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/rhf/Inputs.d.ts +0 -60
- package/dist/rhf/Inputs.js +0 -148
- package/dist/rhf/components.d.ts +0 -80
- package/dist/rhf/components.js +0 -101
- package/dist/rhf/dynamicInputs.d.ts +0 -18
- package/dist/rhf/dynamicInputs.js +0 -5
- package/dist/rhf/entrypoints.type-test.d.ts +0 -1
- package/dist/rhf/fieldAdapter.d.ts +0 -7
- package/dist/rhf/fieldAdapter.js +0 -40
- package/dist/rhf/form.types.d.ts +0 -12
- package/dist/rhf/useAutosave.d.ts +0 -10
- package/dist/rhf/useAutosave.js +0 -71
- package/dist/rhf/useForm.d.ts +0 -18
- package/dist/rhf/useForm.js +0 -48
- package/dist/rhf/useFormAutosave.d.ts +0 -15
- package/dist/rhf/useFormAutosave.js +0 -59
- package/dist/text-editor.d.ts +0 -2
- package/dist/text-editor.js +0 -2
- 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
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
import { i as $23f2114a1b82827e$export$e58f029f0fbfdb29, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-DN7Dbrb9.js";
|
|
2
|
+
import { a as $2add3ce32c6007eb$export$a11b0059900ceec8, s as $2add3ce32c6007eb$export$fedb369cb70207f1, t as $2add3ce32c6007eb$export$186c6964ca17d99 } from "./platform-3R53zj-n.js";
|
|
3
|
+
import { a as $390e54f620492c70$export$f680877a34711e37, n as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, r as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./useSyncRef-Dsn4Ybiw.js";
|
|
4
|
+
import { n as $1e74c67db218ce67$export$f8168d8dd8fd66e6, t as $d1116acdf220c2da$export$4c014de7c8940b4c } from "./useFocusable-BIU1drrg.js";
|
|
5
|
+
import { a as $eb76cf4feb040f77$export$cd11ab140839f11d, c as $191c9b6d48a0a4e2$export$294aa081a6c6f55d, d as $a46cf152bb926da5$export$a9b970dcc4ae71a9, i as $757ec6630f26125c$export$e908e06f4b8e3402, l as $860f7da480e22816$export$b8473d3665f3a75a, m as $cf2482eff2eeeec2$export$f12b703ca79dfbb1, o as $1dfb119a85e764e5$export$cc77c4ff7e8673c5, r as $fd2148440a13ec26$export$fc1a364ae1f3ff10, s as $2c9edc598a03d523$export$420e68273165f4ec, u as $3274bf1495747a7b$export$5add1d006293d136, v as $600b3cf69ae46262$export$90fc3a17d93f704c, y as $fe16bffc7a557bf0$export$7f54fc3180508a52 } from "./useFormValidationState-Dl-Nh0G1.js";
|
|
6
|
+
import { n as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f, r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-BMVd3AOQ.js";
|
|
7
|
+
import $ahdqC$react, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
8
|
+
import { privateValidationStateProp, useFormValidationState } from "react-stately/private/form/useFormValidationState";
|
|
9
|
+
import { flushSync } from "react-dom";
|
|
10
|
+
import { useControlledState } from "react-stately/useControlledState";
|
|
11
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/ar-AE.mjs
|
|
12
|
+
var $50f1093a6d23d116$exports = {};
|
|
13
|
+
$50f1093a6d23d116$exports = {
|
|
14
|
+
"decrease": (args) => `\u{62E}\u{641}\u{636} ${args.fieldLabel}`,
|
|
15
|
+
"increase": (args) => `\u{632}\u{64A}\u{627}\u{62F}\u{629} ${args.fieldLabel}`,
|
|
16
|
+
"numberField": `\u{62D}\u{642}\u{644} \u{631}\u{642}\u{645}\u{64A}`
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/bg-BG.mjs
|
|
20
|
+
var $8f4fd2367d49b0f4$exports = {};
|
|
21
|
+
$8f4fd2367d49b0f4$exports = {
|
|
22
|
+
"decrease": (args) => `\u{41D}\u{430}\u{43C}\u{430}\u{43B}\u{44F}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
|
|
23
|
+
"increase": (args) => `\u{423}\u{441}\u{438}\u{43B}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
|
|
24
|
+
"numberField": `\u{41D}\u{43E}\u{43C}\u{435}\u{440} \u{43D}\u{430} \u{43F}\u{43E}\u{43B}\u{435}\u{442}\u{43E}`
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/cs-CZ.mjs
|
|
28
|
+
var $060018a1c3ec2fce$exports = {};
|
|
29
|
+
$060018a1c3ec2fce$exports = {
|
|
30
|
+
"decrease": (args) => `Sn\xed\u{17E}it ${args.fieldLabel}`,
|
|
31
|
+
"increase": (args) => `Zv\xfd\u{161}it ${args.fieldLabel}`,
|
|
32
|
+
"numberField": `\u{10C}\xedseln\xe9 pole`
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/da-DK.mjs
|
|
36
|
+
var $34605f3e0266a8f3$exports = {};
|
|
37
|
+
$34605f3e0266a8f3$exports = {
|
|
38
|
+
"decrease": (args) => `Reducer ${args.fieldLabel}`,
|
|
39
|
+
"increase": (args) => `\xd8g ${args.fieldLabel}`,
|
|
40
|
+
"numberField": `Talfelt`
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/de-DE.mjs
|
|
44
|
+
var $64f20e1112866bbd$exports = {};
|
|
45
|
+
$64f20e1112866bbd$exports = {
|
|
46
|
+
"decrease": (args) => `${args.fieldLabel} verringern`,
|
|
47
|
+
"increase": (args) => `${args.fieldLabel} erh\xf6hen`,
|
|
48
|
+
"numberField": `Nummernfeld`
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/el-GR.mjs
|
|
52
|
+
var $bfa0aaf1a402f382$exports = {};
|
|
53
|
+
$bfa0aaf1a402f382$exports = {
|
|
54
|
+
"decrease": (args) => `\u{39C}\u{3B5}\u{3AF}\u{3C9}\u{3C3}\u{3B7} ${args.fieldLabel}`,
|
|
55
|
+
"increase": (args) => `\u{391}\u{3CD}\u{3BE}\u{3B7}\u{3C3}\u{3B7} ${args.fieldLabel}`,
|
|
56
|
+
"numberField": `\u{3A0}\u{3B5}\u{3B4}\u{3AF}\u{3BF} \u{3B1}\u{3C1}\u{3B9}\u{3B8}\u{3BC}\u{3BF}\u{3CD}`
|
|
57
|
+
};
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/en-US.mjs
|
|
60
|
+
var $2656ce930519213b$exports = {};
|
|
61
|
+
$2656ce930519213b$exports = {
|
|
62
|
+
"decrease": (args) => `Decrease ${args.fieldLabel}`,
|
|
63
|
+
"increase": (args) => `Increase ${args.fieldLabel}`,
|
|
64
|
+
"numberField": `Number field`
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/es-ES.mjs
|
|
68
|
+
var $260cc0fc04d161dd$exports = {};
|
|
69
|
+
$260cc0fc04d161dd$exports = {
|
|
70
|
+
"decrease": (args) => `Reducir ${args.fieldLabel}`,
|
|
71
|
+
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
72
|
+
"numberField": `Campo de n\xfamero`
|
|
73
|
+
};
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/et-EE.mjs
|
|
76
|
+
var $5929126f62332a39$exports = {};
|
|
77
|
+
$5929126f62332a39$exports = {
|
|
78
|
+
"decrease": (args) => `V\xe4henda ${args.fieldLabel}`,
|
|
79
|
+
"increase": (args) => `Suurenda ${args.fieldLabel}`,
|
|
80
|
+
"numberField": `Numbri v\xe4li`
|
|
81
|
+
};
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/fi-FI.mjs
|
|
84
|
+
var $fc98374bce6a8f49$exports = {};
|
|
85
|
+
$fc98374bce6a8f49$exports = {
|
|
86
|
+
"decrease": (args) => `V\xe4henn\xe4 ${args.fieldLabel}`,
|
|
87
|
+
"increase": (args) => `Lis\xe4\xe4 ${args.fieldLabel}`,
|
|
88
|
+
"numberField": `Numerokentt\xe4`
|
|
89
|
+
};
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/fr-FR.mjs
|
|
92
|
+
var $574239e9a0c4ce9f$exports = {};
|
|
93
|
+
$574239e9a0c4ce9f$exports = {
|
|
94
|
+
"decrease": (args) => `Diminuer ${args.fieldLabel}`,
|
|
95
|
+
"increase": (args) => `Augmenter ${args.fieldLabel}`,
|
|
96
|
+
"numberField": `Champ de nombre`
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/he-IL.mjs
|
|
100
|
+
var $a80db10c45105af6$exports = {};
|
|
101
|
+
$a80db10c45105af6$exports = {
|
|
102
|
+
"decrease": (args) => `\u{5D4}\u{5E7}\u{5D8}\u{5DF} ${args.fieldLabel}`,
|
|
103
|
+
"increase": (args) => `\u{5D4}\u{5D2}\u{5D3}\u{5DC} ${args.fieldLabel}`,
|
|
104
|
+
"numberField": `\u{5E9}\u{5D3}\u{5D4} \u{5DE}\u{5E1}\u{5E4}\u{5E8}`
|
|
105
|
+
};
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/hr-HR.mjs
|
|
108
|
+
var $1df8c58f234da60a$exports = {};
|
|
109
|
+
$1df8c58f234da60a$exports = {
|
|
110
|
+
"decrease": (args) => `Smanji ${args.fieldLabel}`,
|
|
111
|
+
"increase": (args) => `Pove\u{107}aj ${args.fieldLabel}`,
|
|
112
|
+
"numberField": `Polje broja`
|
|
113
|
+
};
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/hu-HU.mjs
|
|
116
|
+
var $c990249689bb58d0$exports = {};
|
|
117
|
+
$c990249689bb58d0$exports = {
|
|
118
|
+
"decrease": (args) => `${args.fieldLabel} cs\xf6kkent\xe9se`,
|
|
119
|
+
"increase": (args) => `${args.fieldLabel} n\xf6vel\xe9se`,
|
|
120
|
+
"numberField": `Sz\xe1mmez\u{151}`
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/it-IT.mjs
|
|
124
|
+
var $03e73e050e75c075$exports = {};
|
|
125
|
+
$03e73e050e75c075$exports = {
|
|
126
|
+
"decrease": (args) => `Riduci ${args.fieldLabel}`,
|
|
127
|
+
"increase": (args) => `Aumenta ${args.fieldLabel}`,
|
|
128
|
+
"numberField": `Campo numero`
|
|
129
|
+
};
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/ja-JP.mjs
|
|
132
|
+
var $1486a16b22508ab9$exports = {};
|
|
133
|
+
$1486a16b22508ab9$exports = {
|
|
134
|
+
"decrease": (args) => `${args.fieldLabel}\u{3092}\u{7E2E}\u{5C0F}`,
|
|
135
|
+
"increase": (args) => `${args.fieldLabel}\u{3092}\u{62E1}\u{5927}`,
|
|
136
|
+
"numberField": `\u{6570}\u{5024}\u{30D5}\u{30A3}\u{30FC}\u{30EB}\u{30C9}`
|
|
137
|
+
};
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/ko-KR.mjs
|
|
140
|
+
var $da3ce82ad291e297$exports = {};
|
|
141
|
+
$da3ce82ad291e297$exports = {
|
|
142
|
+
"decrease": (args) => `${args.fieldLabel} \u{AC10}\u{C18C}`,
|
|
143
|
+
"increase": (args) => `${args.fieldLabel} \u{C99D}\u{AC00}`,
|
|
144
|
+
"numberField": `\u{BC88}\u{D638} \u{D544}\u{B4DC}`
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/lt-LT.mjs
|
|
148
|
+
var $f06e9c465fb83243$exports = {};
|
|
149
|
+
$f06e9c465fb83243$exports = {
|
|
150
|
+
"decrease": (args) => `Suma\u{17E}inti ${args.fieldLabel}`,
|
|
151
|
+
"increase": (args) => `Padidinti ${args.fieldLabel}`,
|
|
152
|
+
"numberField": `Numerio laukas`
|
|
153
|
+
};
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/lv-LV.mjs
|
|
156
|
+
var $02ed0f44dca8e510$exports = {};
|
|
157
|
+
$02ed0f44dca8e510$exports = {
|
|
158
|
+
"decrease": (args) => `Samazin\u{101}\u{161}ana ${args.fieldLabel}`,
|
|
159
|
+
"increase": (args) => `Palielin\u{101}\u{161}ana ${args.fieldLabel}`,
|
|
160
|
+
"numberField": `Skait\u{13C}u lauks`
|
|
161
|
+
};
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/nb-NO.mjs
|
|
164
|
+
var $7d2396d9fde5f3f5$exports = {};
|
|
165
|
+
$7d2396d9fde5f3f5$exports = {
|
|
166
|
+
"decrease": (args) => `Reduser ${args.fieldLabel}`,
|
|
167
|
+
"increase": (args) => `\xd8k ${args.fieldLabel}`,
|
|
168
|
+
"numberField": `Tallfelt`
|
|
169
|
+
};
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/nl-NL.mjs
|
|
172
|
+
var $294f579ef11ab713$exports = {};
|
|
173
|
+
$294f579ef11ab713$exports = {
|
|
174
|
+
"decrease": (args) => `${args.fieldLabel} verlagen`,
|
|
175
|
+
"increase": (args) => `${args.fieldLabel} verhogen`,
|
|
176
|
+
"numberField": `Getalveld`
|
|
177
|
+
};
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/pl-PL.mjs
|
|
180
|
+
var $46b77281e4caa836$exports = {};
|
|
181
|
+
$46b77281e4caa836$exports = {
|
|
182
|
+
"decrease": (args) => `Zmniejsz ${args.fieldLabel}`,
|
|
183
|
+
"increase": (args) => `Zwi\u{119}ksz ${args.fieldLabel}`,
|
|
184
|
+
"numberField": `Pole numeru`
|
|
185
|
+
};
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/pt-BR.mjs
|
|
188
|
+
var $f12d8c9bdaa0bcb1$exports = {};
|
|
189
|
+
$f12d8c9bdaa0bcb1$exports = {
|
|
190
|
+
"decrease": (args) => `Diminuir ${args.fieldLabel}`,
|
|
191
|
+
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
192
|
+
"numberField": `Campo de n\xfamero`
|
|
193
|
+
};
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/pt-PT.mjs
|
|
196
|
+
var $8b1446e7064e2ed7$exports = {};
|
|
197
|
+
$8b1446e7064e2ed7$exports = {
|
|
198
|
+
"decrease": (args) => `Diminuir ${args.fieldLabel}`,
|
|
199
|
+
"increase": (args) => `Aumentar ${args.fieldLabel}`,
|
|
200
|
+
"numberField": `Campo num\xe9rico`
|
|
201
|
+
};
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/ro-RO.mjs
|
|
204
|
+
var $c709bb06dc2a8e23$exports = {};
|
|
205
|
+
$c709bb06dc2a8e23$exports = {
|
|
206
|
+
"decrease": (args) => `Sc\u{103}dere ${args.fieldLabel}`,
|
|
207
|
+
"increase": (args) => `Cre\u{219}tere ${args.fieldLabel}`,
|
|
208
|
+
"numberField": `C\xe2mp numeric`
|
|
209
|
+
};
|
|
210
|
+
//#endregion
|
|
211
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/ru-RU.mjs
|
|
212
|
+
var $915fe8001bee7d0a$exports = {};
|
|
213
|
+
$915fe8001bee7d0a$exports = {
|
|
214
|
+
"decrease": (args) => `\u{423}\u{43C}\u{435}\u{43D}\u{44C}\u{448}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
|
|
215
|
+
"increase": (args) => `\u{423}\u{432}\u{435}\u{43B}\u{438}\u{447}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
|
|
216
|
+
"numberField": `\u{427}\u{438}\u{441}\u{43B}\u{43E}\u{432}\u{43E}\u{435} \u{43F}\u{43E}\u{43B}\u{435}`
|
|
217
|
+
};
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/sk-SK.mjs
|
|
220
|
+
var $79e778f6a71e6e7d$exports = {};
|
|
221
|
+
$79e778f6a71e6e7d$exports = {
|
|
222
|
+
"decrease": (args) => `Zn\xed\u{17E}i\u{165} ${args.fieldLabel}`,
|
|
223
|
+
"increase": (args) => `Zv\xfd\u{161}i\u{165} ${args.fieldLabel}`,
|
|
224
|
+
"numberField": `\u{10C}\xedseln\xe9 pole`
|
|
225
|
+
};
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/sl-SI.mjs
|
|
228
|
+
var $6799bde136a492e8$exports = {};
|
|
229
|
+
$6799bde136a492e8$exports = {
|
|
230
|
+
"decrease": (args) => `Upadati ${args.fieldLabel}`,
|
|
231
|
+
"increase": (args) => `Pove\u{10D}ajte ${args.fieldLabel}`,
|
|
232
|
+
"numberField": `\u{160}tevil\u{10D}no polje`
|
|
233
|
+
};
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/sr-SP.mjs
|
|
236
|
+
var $ca2ffb0adac8e2d5$exports = {};
|
|
237
|
+
$ca2ffb0adac8e2d5$exports = {
|
|
238
|
+
"decrease": (args) => `Smanji ${args.fieldLabel}`,
|
|
239
|
+
"increase": (args) => `Pove\u{107}aj ${args.fieldLabel}`,
|
|
240
|
+
"numberField": `Polje broja`
|
|
241
|
+
};
|
|
242
|
+
//#endregion
|
|
243
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/sv-SE.mjs
|
|
244
|
+
var $23a41be500b56b00$exports = {};
|
|
245
|
+
$23a41be500b56b00$exports = {
|
|
246
|
+
"decrease": (args) => `Minska ${args.fieldLabel}`,
|
|
247
|
+
"increase": (args) => `\xd6ka ${args.fieldLabel}`,
|
|
248
|
+
"numberField": `Nummerf\xe4lt`
|
|
249
|
+
};
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/tr-TR.mjs
|
|
252
|
+
var $5847a002bd1a8278$exports = {};
|
|
253
|
+
$5847a002bd1a8278$exports = {
|
|
254
|
+
"decrease": (args) => `${args.fieldLabel} azalt`,
|
|
255
|
+
"increase": (args) => `${args.fieldLabel} artt\u{131}r`,
|
|
256
|
+
"numberField": `Say\u{131} alan\u{131}`
|
|
257
|
+
};
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/uk-UA.mjs
|
|
260
|
+
var $e802b0c478fad83f$exports = {};
|
|
261
|
+
$e802b0c478fad83f$exports = {
|
|
262
|
+
"decrease": (args) => `\u{417}\u{43C}\u{435}\u{43D}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
|
|
263
|
+
"increase": (args) => `\u{417}\u{431}\u{456}\u{43B}\u{44C}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
|
|
264
|
+
"numberField": `\u{41F}\u{43E}\u{43B}\u{435} \u{43D}\u{43E}\u{43C}\u{435}\u{440}\u{430}`
|
|
265
|
+
};
|
|
266
|
+
//#endregion
|
|
267
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/zh-CN.mjs
|
|
268
|
+
var $9bee35dcd8ee2f43$exports = {};
|
|
269
|
+
$9bee35dcd8ee2f43$exports = {
|
|
270
|
+
"decrease": (args) => `\u{964D}\u{4F4E} ${args.fieldLabel}`,
|
|
271
|
+
"increase": (args) => `\u{63D0}\u{9AD8} ${args.fieldLabel}`,
|
|
272
|
+
"numberField": `\u{6570}\u{5B57}\u{5B57}\u{6BB5}`
|
|
273
|
+
};
|
|
274
|
+
//#endregion
|
|
275
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/intl/numberfield/zh-TW.mjs
|
|
276
|
+
var $7f5044f0e0d68e7e$exports = {};
|
|
277
|
+
$7f5044f0e0d68e7e$exports = {
|
|
278
|
+
"decrease": (args) => `\u{7E2E}\u{5C0F} ${args.fieldLabel}`,
|
|
279
|
+
"increase": (args) => `\u{653E}\u{5927} ${args.fieldLabel}`,
|
|
280
|
+
"numberField": `\u{6578}\u{5B57}\u{6B04}\u{4F4D}`
|
|
281
|
+
};
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/numberfield/intlStrings.mjs
|
|
284
|
+
var $fda7dc186b468fdb$exports = {};
|
|
285
|
+
$fda7dc186b468fdb$exports = {
|
|
286
|
+
"ar-AE": $50f1093a6d23d116$exports,
|
|
287
|
+
"bg-BG": $8f4fd2367d49b0f4$exports,
|
|
288
|
+
"cs-CZ": $060018a1c3ec2fce$exports,
|
|
289
|
+
"da-DK": $34605f3e0266a8f3$exports,
|
|
290
|
+
"de-DE": $64f20e1112866bbd$exports,
|
|
291
|
+
"el-GR": $bfa0aaf1a402f382$exports,
|
|
292
|
+
"en-US": $2656ce930519213b$exports,
|
|
293
|
+
"es-ES": $260cc0fc04d161dd$exports,
|
|
294
|
+
"et-EE": $5929126f62332a39$exports,
|
|
295
|
+
"fi-FI": $fc98374bce6a8f49$exports,
|
|
296
|
+
"fr-FR": $574239e9a0c4ce9f$exports,
|
|
297
|
+
"he-IL": $a80db10c45105af6$exports,
|
|
298
|
+
"hr-HR": $1df8c58f234da60a$exports,
|
|
299
|
+
"hu-HU": $c990249689bb58d0$exports,
|
|
300
|
+
"it-IT": $03e73e050e75c075$exports,
|
|
301
|
+
"ja-JP": $1486a16b22508ab9$exports,
|
|
302
|
+
"ko-KR": $da3ce82ad291e297$exports,
|
|
303
|
+
"lt-LT": $f06e9c465fb83243$exports,
|
|
304
|
+
"lv-LV": $02ed0f44dca8e510$exports,
|
|
305
|
+
"nb-NO": $7d2396d9fde5f3f5$exports,
|
|
306
|
+
"nl-NL": $294f579ef11ab713$exports,
|
|
307
|
+
"pl-PL": $46b77281e4caa836$exports,
|
|
308
|
+
"pt-BR": $f12d8c9bdaa0bcb1$exports,
|
|
309
|
+
"pt-PT": $8b1446e7064e2ed7$exports,
|
|
310
|
+
"ro-RO": $c709bb06dc2a8e23$exports,
|
|
311
|
+
"ru-RU": $915fe8001bee7d0a$exports,
|
|
312
|
+
"sk-SK": $79e778f6a71e6e7d$exports,
|
|
313
|
+
"sl-SI": $6799bde136a492e8$exports,
|
|
314
|
+
"sr-SP": $ca2ffb0adac8e2d5$exports,
|
|
315
|
+
"sv-SE": $23a41be500b56b00$exports,
|
|
316
|
+
"tr-TR": $5847a002bd1a8278$exports,
|
|
317
|
+
"uk-UA": $e802b0c478fad83f$exports,
|
|
318
|
+
"zh-CN": $9bee35dcd8ee2f43$exports,
|
|
319
|
+
"zh-TW": $7f5044f0e0d68e7e$exports
|
|
320
|
+
};
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/textfield/useTextField.mjs
|
|
323
|
+
function $054f71d2330da2e3$export$712718f7aec83d5(props, ref) {
|
|
324
|
+
let { inputElementType = "input", isDisabled = false, isRequired = false, isReadOnly = false, type = "text", validationBehavior = "aria" } = props;
|
|
325
|
+
let [value, setValue] = useControlledState(props.value, props.defaultValue || "", props.onChange);
|
|
326
|
+
let { focusableProps } = $d1116acdf220c2da$export$4c014de7c8940b4c(props, ref);
|
|
327
|
+
let validationState = useFormValidationState({
|
|
328
|
+
...props,
|
|
329
|
+
value
|
|
330
|
+
});
|
|
331
|
+
let { isInvalid, validationErrors, validationDetails } = validationState.displayValidation;
|
|
332
|
+
let { labelProps, fieldProps, descriptionProps, errorMessageProps } = $191c9b6d48a0a4e2$export$294aa081a6c6f55d({
|
|
333
|
+
...props,
|
|
334
|
+
isInvalid,
|
|
335
|
+
errorMessage: props.errorMessage || validationErrors
|
|
336
|
+
});
|
|
337
|
+
let domProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
338
|
+
const inputOnlyProps = {
|
|
339
|
+
type,
|
|
340
|
+
pattern: props.pattern
|
|
341
|
+
};
|
|
342
|
+
let [initialValue] = useState(value);
|
|
343
|
+
$3274bf1495747a7b$export$5add1d006293d136(ref, props.defaultValue ?? initialValue, setValue);
|
|
344
|
+
$860f7da480e22816$export$b8473d3665f3a75a(props, validationState, ref);
|
|
345
|
+
return {
|
|
346
|
+
labelProps,
|
|
347
|
+
inputProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(domProps, inputElementType === "input" ? inputOnlyProps : void 0, {
|
|
348
|
+
disabled: isDisabled,
|
|
349
|
+
readOnly: isReadOnly,
|
|
350
|
+
required: isRequired && validationBehavior === "native",
|
|
351
|
+
"aria-required": isRequired && validationBehavior === "aria" || void 0,
|
|
352
|
+
"aria-invalid": isInvalid || void 0,
|
|
353
|
+
"aria-errormessage": props["aria-errormessage"],
|
|
354
|
+
"aria-activedescendant": props["aria-activedescendant"],
|
|
355
|
+
"aria-autocomplete": props["aria-autocomplete"],
|
|
356
|
+
"aria-haspopup": props["aria-haspopup"],
|
|
357
|
+
"aria-controls": props["aria-controls"],
|
|
358
|
+
value,
|
|
359
|
+
onChange: (e) => setValue($23f2114a1b82827e$export$e58f029f0fbfdb29(e).value),
|
|
360
|
+
autoComplete: props.autoComplete,
|
|
361
|
+
autoCapitalize: props.autoCapitalize,
|
|
362
|
+
maxLength: props.maxLength,
|
|
363
|
+
minLength: props.minLength,
|
|
364
|
+
name: props.name,
|
|
365
|
+
form: props.form,
|
|
366
|
+
placeholder: props.placeholder,
|
|
367
|
+
inputMode: props.inputMode,
|
|
368
|
+
autoCorrect: props.autoCorrect,
|
|
369
|
+
spellCheck: props.spellCheck,
|
|
370
|
+
[parseInt($ahdqC$react.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: props.enterKeyHint,
|
|
371
|
+
onCopy: props.onCopy,
|
|
372
|
+
onCut: props.onCut,
|
|
373
|
+
onPaste: props.onPaste,
|
|
374
|
+
onCompositionEnd: props.onCompositionEnd,
|
|
375
|
+
onCompositionStart: props.onCompositionStart,
|
|
376
|
+
onCompositionUpdate: props.onCompositionUpdate,
|
|
377
|
+
onSelect: props.onSelect,
|
|
378
|
+
onBeforeInput: props.onBeforeInput,
|
|
379
|
+
onInput: props.onInput,
|
|
380
|
+
...focusableProps,
|
|
381
|
+
...fieldProps
|
|
382
|
+
}),
|
|
383
|
+
descriptionProps,
|
|
384
|
+
errorMessageProps,
|
|
385
|
+
isInvalid,
|
|
386
|
+
validationErrors,
|
|
387
|
+
validationDetails
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/textfield/useFormattedTextField.mjs
|
|
392
|
+
function $62888b2ec35be488$var$supportsNativeBeforeInputEvent() {
|
|
393
|
+
return typeof window !== "undefined" && window.InputEvent && typeof InputEvent.prototype.getTargetRanges === "function";
|
|
394
|
+
}
|
|
395
|
+
function $62888b2ec35be488$export$4f384c9210e583c3(props, state, inputRef) {
|
|
396
|
+
let onBeforeInputFallback = $fe16bffc7a557bf0$export$7f54fc3180508a52((e) => {
|
|
397
|
+
let input = inputRef.current;
|
|
398
|
+
if (!input) return;
|
|
399
|
+
let nextValue = null;
|
|
400
|
+
switch (e.inputType) {
|
|
401
|
+
case "historyUndo":
|
|
402
|
+
case "historyRedo": return;
|
|
403
|
+
case "insertLineBreak": return;
|
|
404
|
+
case "deleteContent":
|
|
405
|
+
case "deleteByCut":
|
|
406
|
+
case "deleteByDrag":
|
|
407
|
+
nextValue = input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
408
|
+
break;
|
|
409
|
+
case "deleteContentForward":
|
|
410
|
+
nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd + 1) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
411
|
+
break;
|
|
412
|
+
case "deleteContentBackward":
|
|
413
|
+
nextValue = input.selectionEnd === input.selectionStart ? input.value.slice(0, input.selectionStart - 1) + input.value.slice(input.selectionStart) : input.value.slice(0, input.selectionStart) + input.value.slice(input.selectionEnd);
|
|
414
|
+
break;
|
|
415
|
+
case "deleteSoftLineBackward":
|
|
416
|
+
case "deleteHardLineBackward":
|
|
417
|
+
nextValue = input.value.slice(input.selectionStart);
|
|
418
|
+
break;
|
|
419
|
+
default: if (e.data != null) nextValue = input.value.slice(0, input.selectionStart) + e.data + input.value.slice(input.selectionEnd);
|
|
420
|
+
}
|
|
421
|
+
if (nextValue == null || !state.validate(nextValue)) e.preventDefault();
|
|
422
|
+
});
|
|
423
|
+
useEffect(() => {
|
|
424
|
+
if (!$62888b2ec35be488$var$supportsNativeBeforeInputEvent() || !inputRef.current) return;
|
|
425
|
+
let input = inputRef.current;
|
|
426
|
+
input.addEventListener("beforeinput", onBeforeInputFallback, false);
|
|
427
|
+
return () => {
|
|
428
|
+
input.removeEventListener("beforeinput", onBeforeInputFallback, false);
|
|
429
|
+
};
|
|
430
|
+
}, [inputRef]);
|
|
431
|
+
let onBeforeInput = !$62888b2ec35be488$var$supportsNativeBeforeInputEvent() ? (e) => {
|
|
432
|
+
let nextValue = $23f2114a1b82827e$export$e58f029f0fbfdb29(e).value.slice(0, $23f2114a1b82827e$export$e58f029f0fbfdb29(e).selectionStart) + e.data + $23f2114a1b82827e$export$e58f029f0fbfdb29(e).value.slice($23f2114a1b82827e$export$e58f029f0fbfdb29(e).selectionEnd);
|
|
433
|
+
if (!state.validate(nextValue)) e.preventDefault();
|
|
434
|
+
} : null;
|
|
435
|
+
let { labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps, ...validation } = $054f71d2330da2e3$export$712718f7aec83d5(props, inputRef);
|
|
436
|
+
let compositionStartState = useRef(null);
|
|
437
|
+
return {
|
|
438
|
+
inputProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(textFieldProps, {
|
|
439
|
+
onBeforeInput,
|
|
440
|
+
onCompositionStart() {
|
|
441
|
+
let { value, selectionStart, selectionEnd } = inputRef.current;
|
|
442
|
+
compositionStartState.current = {
|
|
443
|
+
value,
|
|
444
|
+
selectionStart,
|
|
445
|
+
selectionEnd
|
|
446
|
+
};
|
|
447
|
+
},
|
|
448
|
+
onCompositionEnd() {
|
|
449
|
+
if (inputRef.current && !state.validate(inputRef.current.value)) {
|
|
450
|
+
let { value, selectionStart, selectionEnd } = compositionStartState.current;
|
|
451
|
+
inputRef.current.value = value;
|
|
452
|
+
inputRef.current.setSelectionRange(selectionStart, selectionEnd);
|
|
453
|
+
state.setInputValue(value);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}),
|
|
457
|
+
labelProps,
|
|
458
|
+
descriptionProps,
|
|
459
|
+
errorMessageProps,
|
|
460
|
+
...validation
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
//#endregion
|
|
464
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
|
|
465
|
+
function $bd90acf18e792be6$export$b7a616150fdb9f44(options = {}) {
|
|
466
|
+
let { locale } = $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7();
|
|
467
|
+
return useMemo(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, options), [locale, options]);
|
|
468
|
+
}
|
|
469
|
+
//#endregion
|
|
470
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/useScrollWheel.mjs
|
|
471
|
+
function $14554ba6a2007b17$export$2123ff2b87c81ca(props, ref) {
|
|
472
|
+
let { onScroll, isDisabled } = props;
|
|
473
|
+
let onScrollHandler = useCallback((e) => {
|
|
474
|
+
if (e.ctrlKey) return;
|
|
475
|
+
e.preventDefault();
|
|
476
|
+
e.stopPropagation();
|
|
477
|
+
if (onScroll) onScroll({
|
|
478
|
+
deltaX: e.deltaX,
|
|
479
|
+
deltaY: e.deltaY
|
|
480
|
+
});
|
|
481
|
+
}, [onScroll]);
|
|
482
|
+
$600b3cf69ae46262$export$90fc3a17d93f704c(ref, "wheel", isDisabled ? void 0 : onScrollHandler);
|
|
483
|
+
}
|
|
484
|
+
//#endregion
|
|
485
|
+
//#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/numberfield/useNumberField.mjs
|
|
486
|
+
function $parcel$interopDefault(a) {
|
|
487
|
+
return a && a.__esModule ? a.default : a;
|
|
488
|
+
}
|
|
489
|
+
function $cd2fa56213693c5e$export$23f548e970bdf099(props, state, inputRef) {
|
|
490
|
+
let { id, decrementAriaLabel, incrementAriaLabel, isDisabled, isReadOnly, isRequired, minValue, maxValue, autoFocus, label, formatOptions, onBlur = () => {}, onFocus, onFocusChange, onKeyDown, onKeyUp, description, errorMessage, isWheelDisabled, ...otherProps } = props;
|
|
491
|
+
let { increment, incrementToMax, decrement, decrementToMin, numberValue, inputValue, commit, commitValidation } = state;
|
|
492
|
+
const stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($fda7dc186b468fdb$exports), "@react-aria/numberfield");
|
|
493
|
+
let commitAndAnnounce = useCallback(() => {
|
|
494
|
+
let oldValue = inputRef.current?.value ?? "";
|
|
495
|
+
flushSync(() => {
|
|
496
|
+
commit();
|
|
497
|
+
});
|
|
498
|
+
if (inputRef.current?.value !== oldValue) $a46cf152bb926da5$export$a9b970dcc4ae71a9(inputRef.current?.value ?? "", "assertive");
|
|
499
|
+
}, [commit, inputRef]);
|
|
500
|
+
let inputId = $390e54f620492c70$export$f680877a34711e37(id);
|
|
501
|
+
let { focusProps } = $1e74c67db218ce67$export$f8168d8dd8fd66e6({ onBlur() {
|
|
502
|
+
commitAndAnnounce();
|
|
503
|
+
} });
|
|
504
|
+
let numberFormatter = $bd90acf18e792be6$export$b7a616150fdb9f44(formatOptions);
|
|
505
|
+
let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);
|
|
506
|
+
let textValueFormatter = $bd90acf18e792be6$export$b7a616150fdb9f44({
|
|
507
|
+
...formatOptions,
|
|
508
|
+
currencySign: void 0
|
|
509
|
+
});
|
|
510
|
+
let textValue = useMemo(() => isNaN(numberValue) ? "" : textValueFormatter.format(numberValue), [textValueFormatter, numberValue]);
|
|
511
|
+
let { spinButtonProps, incrementButtonProps: incButtonProps, decrementButtonProps: decButtonProps } = $757ec6630f26125c$export$e908e06f4b8e3402({
|
|
512
|
+
isDisabled,
|
|
513
|
+
isReadOnly,
|
|
514
|
+
isRequired,
|
|
515
|
+
maxValue,
|
|
516
|
+
minValue,
|
|
517
|
+
onIncrement: increment,
|
|
518
|
+
onIncrementToMax: incrementToMax,
|
|
519
|
+
onDecrement: decrement,
|
|
520
|
+
onDecrementToMin: decrementToMin,
|
|
521
|
+
value: numberValue,
|
|
522
|
+
textValue
|
|
523
|
+
});
|
|
524
|
+
let [focusWithin, setFocusWithin] = useState(false);
|
|
525
|
+
let { focusWithinProps } = $2c9edc598a03d523$export$420e68273165f4ec({
|
|
526
|
+
isDisabled,
|
|
527
|
+
onFocusWithinChange: setFocusWithin
|
|
528
|
+
});
|
|
529
|
+
$14554ba6a2007b17$export$2123ff2b87c81ca({
|
|
530
|
+
onScroll: useCallback((e) => {
|
|
531
|
+
if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) return;
|
|
532
|
+
if (e.deltaY > 0) increment();
|
|
533
|
+
else if (e.deltaY < 0) decrement();
|
|
534
|
+
}, [decrement, increment]),
|
|
535
|
+
isDisabled: isWheelDisabled || isDisabled || isReadOnly || !focusWithin
|
|
536
|
+
}, inputRef);
|
|
537
|
+
let hasDecimals = (intlOptions.maximumFractionDigits ?? 0) > 0;
|
|
538
|
+
let hasNegative = state.minValue === void 0 || isNaN(state.minValue) || state.minValue < 0;
|
|
539
|
+
let inputMode = "numeric";
|
|
540
|
+
if ($2add3ce32c6007eb$export$186c6964ca17d99()) {
|
|
541
|
+
if (hasNegative) inputMode = "text";
|
|
542
|
+
else if (hasDecimals) inputMode = "decimal";
|
|
543
|
+
} else if ($2add3ce32c6007eb$export$a11b0059900ceec8()) {
|
|
544
|
+
if (hasNegative) inputMode = "numeric";
|
|
545
|
+
else if (hasDecimals) inputMode = "decimal";
|
|
546
|
+
}
|
|
547
|
+
let onChange = (value) => {
|
|
548
|
+
if (state.validate(value)) state.setInputValue(value);
|
|
549
|
+
};
|
|
550
|
+
let onPaste = (e) => {
|
|
551
|
+
props.onPaste?.(e);
|
|
552
|
+
let inputElement = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
|
|
553
|
+
if (inputElement && (inputElement.selectionEnd ?? -1) - (inputElement.selectionStart ?? 0) === inputElement.value.length) {
|
|
554
|
+
e.preventDefault();
|
|
555
|
+
commit(e.clipboardData?.getData?.("text/plain")?.trim() ?? "");
|
|
556
|
+
}
|
|
557
|
+
};
|
|
558
|
+
let domProps = $8e9d2fae0ecb9001$export$457c3d6518dd4c6f(props);
|
|
559
|
+
let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
|
|
560
|
+
isDisabled: isDisabled || isReadOnly,
|
|
561
|
+
shortcuts: { Enter: () => {
|
|
562
|
+
flushSync(() => {
|
|
563
|
+
commit();
|
|
564
|
+
});
|
|
565
|
+
commitValidation();
|
|
566
|
+
return { shouldPreventDefault: false };
|
|
567
|
+
} },
|
|
568
|
+
onKeyDown,
|
|
569
|
+
onKeyUp
|
|
570
|
+
});
|
|
571
|
+
let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
|
|
572
|
+
let { labelProps, inputProps: textFieldPropsFromHook, descriptionProps, errorMessageProps } = $62888b2ec35be488$export$4f384c9210e583c3({
|
|
573
|
+
...otherProps,
|
|
574
|
+
...domProps,
|
|
575
|
+
name: void 0,
|
|
576
|
+
form: void 0,
|
|
577
|
+
label,
|
|
578
|
+
autoFocus,
|
|
579
|
+
isDisabled,
|
|
580
|
+
isReadOnly,
|
|
581
|
+
isRequired,
|
|
582
|
+
validate: void 0,
|
|
583
|
+
[privateValidationStateProp]: state,
|
|
584
|
+
value: inputValue,
|
|
585
|
+
defaultValue: "!",
|
|
586
|
+
autoComplete: "off",
|
|
587
|
+
"aria-label": props["aria-label"] || void 0,
|
|
588
|
+
"aria-labelledby": props["aria-labelledby"] || void 0,
|
|
589
|
+
id: inputId,
|
|
590
|
+
type: "text",
|
|
591
|
+
inputMode,
|
|
592
|
+
onChange,
|
|
593
|
+
onBlur,
|
|
594
|
+
onFocus,
|
|
595
|
+
onFocusChange,
|
|
596
|
+
onPaste,
|
|
597
|
+
description,
|
|
598
|
+
errorMessage
|
|
599
|
+
}, state, inputRef);
|
|
600
|
+
let textFieldProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(keyboardProps, textFieldPropsFromHook);
|
|
601
|
+
$3274bf1495747a7b$export$5add1d006293d136(inputRef, state.defaultNumberValue, state.setNumberValue);
|
|
602
|
+
$cd2fa56213693c5e$var$useNativeValidation(state, props.validationBehavior, props.commitBehavior, inputRef, state.minValue, state.maxValue, props.step, state.numberValue);
|
|
603
|
+
let inputProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(spinButtonProps, focusProps, textFieldProps, {
|
|
604
|
+
role: null,
|
|
605
|
+
"aria-roledescription": !$2add3ce32c6007eb$export$fedb369cb70207f1() ? stringFormatter.format("numberField") : null,
|
|
606
|
+
"aria-valuemax": null,
|
|
607
|
+
"aria-valuemin": null,
|
|
608
|
+
"aria-valuenow": null,
|
|
609
|
+
"aria-valuetext": null,
|
|
610
|
+
autoCorrect: "off",
|
|
611
|
+
spellCheck: "false"
|
|
612
|
+
});
|
|
613
|
+
if (props.validationBehavior === "native") inputProps["aria-required"] = void 0;
|
|
614
|
+
let onButtonPressStart = (e) => {
|
|
615
|
+
if ($23f2114a1b82827e$export$cd4e5573fbe2b576() === inputRef.current) return;
|
|
616
|
+
if (e.pointerType === "mouse") inputRef.current?.focus();
|
|
617
|
+
else e.target.focus();
|
|
618
|
+
};
|
|
619
|
+
let fieldLabel = props["aria-label"] || (typeof props.label === "string" ? props.label : "");
|
|
620
|
+
let ariaLabelledby;
|
|
621
|
+
if (!fieldLabel) ariaLabelledby = props.label != null ? labelProps.id : props["aria-labelledby"];
|
|
622
|
+
let incrementId = $390e54f620492c70$export$f680877a34711e37();
|
|
623
|
+
let decrementId = $390e54f620492c70$export$f680877a34711e37();
|
|
624
|
+
let incrementButtonProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(incButtonProps, {
|
|
625
|
+
"aria-label": incrementAriaLabel || stringFormatter.format("increase", { fieldLabel }).trim(),
|
|
626
|
+
id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,
|
|
627
|
+
"aria-labelledby": ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,
|
|
628
|
+
"aria-controls": inputId,
|
|
629
|
+
excludeFromTabOrder: true,
|
|
630
|
+
preventFocusOnPress: true,
|
|
631
|
+
allowFocusWhenDisabled: true,
|
|
632
|
+
isDisabled: !state.canIncrement,
|
|
633
|
+
onPressStart: onButtonPressStart
|
|
634
|
+
});
|
|
635
|
+
let decrementButtonProps = $bbaa08b3cd72f041$export$9d1611c77c2fe928(decButtonProps, {
|
|
636
|
+
"aria-label": decrementAriaLabel || stringFormatter.format("decrease", { fieldLabel }).trim(),
|
|
637
|
+
id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,
|
|
638
|
+
"aria-labelledby": ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,
|
|
639
|
+
"aria-controls": inputId,
|
|
640
|
+
excludeFromTabOrder: true,
|
|
641
|
+
preventFocusOnPress: true,
|
|
642
|
+
allowFocusWhenDisabled: true,
|
|
643
|
+
isDisabled: !state.canDecrement,
|
|
644
|
+
onPressStart: onButtonPressStart
|
|
645
|
+
});
|
|
646
|
+
return {
|
|
647
|
+
groupProps: {
|
|
648
|
+
...focusWithinProps,
|
|
649
|
+
role: "group",
|
|
650
|
+
"aria-disabled": isDisabled,
|
|
651
|
+
"aria-invalid": isInvalid ? "true" : void 0
|
|
652
|
+
},
|
|
653
|
+
labelProps,
|
|
654
|
+
inputProps,
|
|
655
|
+
incrementButtonProps,
|
|
656
|
+
decrementButtonProps,
|
|
657
|
+
errorMessageProps,
|
|
658
|
+
descriptionProps,
|
|
659
|
+
isInvalid,
|
|
660
|
+
validationErrors,
|
|
661
|
+
validationDetails
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
let $cd2fa56213693c5e$var$numberInput = null;
|
|
665
|
+
function $cd2fa56213693c5e$var$useNativeValidation(state, validationBehavior, commitBehavior, inputRef, min, max, step, value) {
|
|
666
|
+
$c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
|
|
667
|
+
let input = inputRef.current;
|
|
668
|
+
if (commitBehavior !== "validate" || state.realtimeValidation.isInvalid || !input || input.disabled) return;
|
|
669
|
+
if (!$cd2fa56213693c5e$var$numberInput && typeof document !== "undefined") {
|
|
670
|
+
$cd2fa56213693c5e$var$numberInput = document.createElement("input");
|
|
671
|
+
$cd2fa56213693c5e$var$numberInput.type = "number";
|
|
672
|
+
}
|
|
673
|
+
if (!$cd2fa56213693c5e$var$numberInput) return;
|
|
674
|
+
$cd2fa56213693c5e$var$numberInput.min = min != null && !isNaN(min) ? String(min) : "";
|
|
675
|
+
$cd2fa56213693c5e$var$numberInput.max = max != null && !isNaN(max) ? String(max) : "";
|
|
676
|
+
$cd2fa56213693c5e$var$numberInput.step = step != null && !isNaN(step) ? String(step) : "";
|
|
677
|
+
$cd2fa56213693c5e$var$numberInput.value = value != null && !isNaN(value) ? String(value) : "";
|
|
678
|
+
let valid = input.validity.valid && $cd2fa56213693c5e$var$numberInput.validity.valid;
|
|
679
|
+
let validationMessage = input.validationMessage || $cd2fa56213693c5e$var$numberInput.validationMessage;
|
|
680
|
+
let validity = {
|
|
681
|
+
isInvalid: !valid,
|
|
682
|
+
validationErrors: validationMessage ? [validationMessage] : [],
|
|
683
|
+
validationDetails: {
|
|
684
|
+
badInput: input.validity.badInput,
|
|
685
|
+
customError: input.validity.customError,
|
|
686
|
+
patternMismatch: input.validity.patternMismatch,
|
|
687
|
+
rangeOverflow: $cd2fa56213693c5e$var$numberInput.validity.rangeOverflow,
|
|
688
|
+
rangeUnderflow: $cd2fa56213693c5e$var$numberInput.validity.rangeUnderflow,
|
|
689
|
+
stepMismatch: $cd2fa56213693c5e$var$numberInput.validity.stepMismatch,
|
|
690
|
+
tooLong: input.validity.tooLong,
|
|
691
|
+
tooShort: input.validity.tooShort,
|
|
692
|
+
typeMismatch: input.validity.typeMismatch,
|
|
693
|
+
valueMissing: input.validity.valueMissing,
|
|
694
|
+
valid
|
|
695
|
+
}
|
|
696
|
+
};
|
|
697
|
+
state.updateValidation(validity);
|
|
698
|
+
if (validationBehavior === "native" && !$cd2fa56213693c5e$var$numberInput.validity.valid) input.setCustomValidity($cd2fa56213693c5e$var$numberInput.validationMessage);
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
//#endregion
|
|
702
|
+
//#region ../../node_modules/.bun/react-stately@3.49.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/utils/number.mjs
|
|
703
|
+
/**
|
|
704
|
+
* Takes a value and forces it to the closest min/max if it's outside. Also forces it to the closest
|
|
705
|
+
* valid step.
|
|
706
|
+
*/ function $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {
|
|
707
|
+
return Math.min(Math.max(value, min), max);
|
|
708
|
+
}
|
|
709
|
+
function $240e9101ba2842f5$export$e1a7b8e69ef6c52f(value, step) {
|
|
710
|
+
let roundedValue = value;
|
|
711
|
+
let precision = 0;
|
|
712
|
+
let stepString = step.toString();
|
|
713
|
+
let eIndex = stepString.toLowerCase().indexOf("e-");
|
|
714
|
+
if (eIndex > 0) precision = Math.abs(Math.floor(Math.log10(Math.abs(step)))) + eIndex;
|
|
715
|
+
else {
|
|
716
|
+
let pointIndex = stepString.indexOf(".");
|
|
717
|
+
if (pointIndex >= 0) precision = stepString.length - pointIndex;
|
|
718
|
+
}
|
|
719
|
+
if (precision > 0) {
|
|
720
|
+
let pow = Math.pow(10, precision);
|
|
721
|
+
roundedValue = Math.round(roundedValue * pow) / pow;
|
|
722
|
+
}
|
|
723
|
+
return roundedValue;
|
|
724
|
+
}
|
|
725
|
+
function $240e9101ba2842f5$export$cb6e0bb50bc19463(value, min, max, step) {
|
|
726
|
+
min = Number(min);
|
|
727
|
+
max = Number(max);
|
|
728
|
+
let remainder = (value - (isNaN(min) ? 0 : min)) % step;
|
|
729
|
+
let snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);
|
|
730
|
+
if (!isNaN(min)) {
|
|
731
|
+
if (snappedValue < min) snappedValue = min;
|
|
732
|
+
else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;
|
|
733
|
+
} else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f(max / step, step)) * step;
|
|
734
|
+
snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(snappedValue, step);
|
|
735
|
+
return snappedValue;
|
|
736
|
+
}
|
|
737
|
+
//#endregion
|
|
738
|
+
//#region ../../node_modules/.bun/react-stately@3.49.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/numberfield/useNumberFieldState.mjs
|
|
739
|
+
function $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(props) {
|
|
740
|
+
let { minValue, maxValue, step, formatOptions, value, defaultValue = NaN, onChange, locale, isDisabled, isReadOnly, commitBehavior = "snap" } = props;
|
|
741
|
+
if (value === null) value = NaN;
|
|
742
|
+
let snapValue = useCallback((value) => {
|
|
743
|
+
return step === void 0 || isNaN(step) ? $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, minValue, maxValue) : $240e9101ba2842f5$export$cb6e0bb50bc19463(value, minValue, maxValue, step);
|
|
744
|
+
}, [
|
|
745
|
+
step,
|
|
746
|
+
minValue,
|
|
747
|
+
maxValue
|
|
748
|
+
]);
|
|
749
|
+
if (value !== void 0 && !isNaN(value) && commitBehavior === "snap") value = snapValue(value);
|
|
750
|
+
if (!isNaN(defaultValue) && commitBehavior === "snap") defaultValue = snapValue(defaultValue);
|
|
751
|
+
let [numberValue, setNumberValue] = $3e6197669829fe11$export$40bfa8c7b0832715(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);
|
|
752
|
+
let [initialValue] = useState(numberValue);
|
|
753
|
+
let [inputValue, setInputValue] = useState(() => isNaN(numberValue) ? "" : new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, formatOptions).format(numberValue));
|
|
754
|
+
let numberParser = useMemo(() => new $eb76cf4feb040f77$export$cd11ab140839f11d(locale, formatOptions), [locale, formatOptions]);
|
|
755
|
+
let numberingSystem = useMemo(() => numberParser.getNumberingSystem(inputValue), [numberParser, inputValue]);
|
|
756
|
+
let formatter = useMemo(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, {
|
|
757
|
+
...formatOptions,
|
|
758
|
+
numberingSystem
|
|
759
|
+
}), [
|
|
760
|
+
locale,
|
|
761
|
+
formatOptions,
|
|
762
|
+
numberingSystem
|
|
763
|
+
]);
|
|
764
|
+
let intlOptions = useMemo(() => formatter.resolvedOptions(), [formatter]);
|
|
765
|
+
let format = useCallback((value) => isNaN(value) || value === null ? "" : formatter.format(value), [formatter]);
|
|
766
|
+
let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
|
|
767
|
+
...props,
|
|
768
|
+
value: numberValue
|
|
769
|
+
});
|
|
770
|
+
let clampStep = step !== void 0 && !isNaN(step) ? step : 1;
|
|
771
|
+
if (intlOptions.style === "percent" && (step === void 0 || isNaN(step))) clampStep = .01;
|
|
772
|
+
let [prevValue, setPrevValue] = useState(numberValue);
|
|
773
|
+
let [prevLocale, setPrevLocale] = useState(locale);
|
|
774
|
+
let [prevFormatOptions, setPrevFormatOptions] = useState(formatOptions);
|
|
775
|
+
if (!Object.is(numberValue, prevValue) || locale !== prevLocale || !$3d0ee518c6f3d04f$var$isEqualFormatOptions(formatOptions, prevFormatOptions)) {
|
|
776
|
+
setInputValue(format(numberValue));
|
|
777
|
+
setPrevValue(numberValue);
|
|
778
|
+
setPrevLocale(locale);
|
|
779
|
+
setPrevFormatOptions(formatOptions);
|
|
780
|
+
}
|
|
781
|
+
let parsedValue = useMemo(() => numberParser.parse(inputValue), [numberParser, inputValue]);
|
|
782
|
+
let commit = (overrideValue) => {
|
|
783
|
+
let newInputValue = overrideValue === void 0 ? inputValue : overrideValue;
|
|
784
|
+
let newParsedValue = parsedValue;
|
|
785
|
+
if (overrideValue !== void 0) newParsedValue = numberParser.parse(newInputValue);
|
|
786
|
+
if (!newInputValue.length) {
|
|
787
|
+
setNumberValue(NaN);
|
|
788
|
+
setInputValue(value === void 0 ? "" : format(numberValue));
|
|
789
|
+
return;
|
|
790
|
+
}
|
|
791
|
+
if (isNaN(newParsedValue)) {
|
|
792
|
+
setInputValue(format(numberValue));
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
795
|
+
let clampedValue = commitBehavior === "snap" ? snapValue(newParsedValue) : newParsedValue;
|
|
796
|
+
clampedValue = numberParser.parse(format(clampedValue));
|
|
797
|
+
let shouldValidate = clampedValue !== numberValue;
|
|
798
|
+
setNumberValue(clampedValue);
|
|
799
|
+
setInputValue(format(value === void 0 ? clampedValue : numberValue));
|
|
800
|
+
if (shouldValidate) validation.commitValidation();
|
|
801
|
+
};
|
|
802
|
+
let safeNextStep = (operation, minMax = 0) => {
|
|
803
|
+
let prev = parsedValue;
|
|
804
|
+
if (isNaN(prev)) return $240e9101ba2842f5$export$cb6e0bb50bc19463(isNaN(minMax) ? 0 : minMax, minValue, maxValue, clampStep);
|
|
805
|
+
else {
|
|
806
|
+
let newValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(prev, minValue, maxValue, clampStep);
|
|
807
|
+
if (operation === "+" && newValue > prev || operation === "-" && newValue < prev) return newValue;
|
|
808
|
+
return $240e9101ba2842f5$export$cb6e0bb50bc19463($3d0ee518c6f3d04f$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);
|
|
809
|
+
}
|
|
810
|
+
};
|
|
811
|
+
let increment = () => {
|
|
812
|
+
let newValue = safeNextStep("+", minValue);
|
|
813
|
+
if (newValue === numberValue) setInputValue(format(newValue));
|
|
814
|
+
setNumberValue(newValue);
|
|
815
|
+
validation.commitValidation();
|
|
816
|
+
};
|
|
817
|
+
let decrement = () => {
|
|
818
|
+
let newValue = safeNextStep("-", maxValue);
|
|
819
|
+
if (newValue === numberValue) setInputValue(format(newValue));
|
|
820
|
+
setNumberValue(newValue);
|
|
821
|
+
validation.commitValidation();
|
|
822
|
+
};
|
|
823
|
+
let incrementToMax = () => {
|
|
824
|
+
if (maxValue != null) {
|
|
825
|
+
setNumberValue($240e9101ba2842f5$export$cb6e0bb50bc19463(maxValue, minValue, maxValue, clampStep));
|
|
826
|
+
validation.commitValidation();
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
let decrementToMin = () => {
|
|
830
|
+
if (minValue != null) {
|
|
831
|
+
setNumberValue(minValue);
|
|
832
|
+
validation.commitValidation();
|
|
833
|
+
}
|
|
834
|
+
};
|
|
835
|
+
let canIncrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === void 0 || isNaN(maxValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) > parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("+", parsedValue, clampStep) <= maxValue), [
|
|
836
|
+
isDisabled,
|
|
837
|
+
isReadOnly,
|
|
838
|
+
minValue,
|
|
839
|
+
maxValue,
|
|
840
|
+
clampStep,
|
|
841
|
+
parsedValue
|
|
842
|
+
]);
|
|
843
|
+
let canDecrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === void 0 || isNaN(minValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) < parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("-", parsedValue, clampStep) >= minValue), [
|
|
844
|
+
isDisabled,
|
|
845
|
+
isReadOnly,
|
|
846
|
+
minValue,
|
|
847
|
+
maxValue,
|
|
848
|
+
clampStep,
|
|
849
|
+
parsedValue
|
|
850
|
+
]);
|
|
851
|
+
let validate = (value) => numberParser.isValidPartialNumber(value, minValue, maxValue);
|
|
852
|
+
return {
|
|
853
|
+
...validation,
|
|
854
|
+
validate,
|
|
855
|
+
increment,
|
|
856
|
+
incrementToMax,
|
|
857
|
+
decrement,
|
|
858
|
+
decrementToMin,
|
|
859
|
+
canIncrement,
|
|
860
|
+
canDecrement,
|
|
861
|
+
minValue,
|
|
862
|
+
maxValue,
|
|
863
|
+
numberValue: parsedValue,
|
|
864
|
+
defaultNumberValue: isNaN(defaultValue) ? initialValue : defaultValue,
|
|
865
|
+
setNumberValue,
|
|
866
|
+
setInputValue,
|
|
867
|
+
inputValue,
|
|
868
|
+
commit
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
function $3d0ee518c6f3d04f$var$isEqualFormatOptions(a, b) {
|
|
872
|
+
if (a === b) return true;
|
|
873
|
+
if (!a || !b) return false;
|
|
874
|
+
let aKeys = Object.keys(a);
|
|
875
|
+
let bKeys = Object.keys(b);
|
|
876
|
+
if (aKeys.length !== bKeys.length) return false;
|
|
877
|
+
for (let key of aKeys) if (b[key] !== a[key]) return false;
|
|
878
|
+
return true;
|
|
879
|
+
}
|
|
880
|
+
function $3d0ee518c6f3d04f$var$handleDecimalOperation(operator, value1, value2) {
|
|
881
|
+
let result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
882
|
+
if (value1 % 1 !== 0 || value2 % 1 !== 0) {
|
|
883
|
+
const value1Decimal = value1.toString().split(".");
|
|
884
|
+
const value2Decimal = value2.toString().split(".");
|
|
885
|
+
const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;
|
|
886
|
+
const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;
|
|
887
|
+
const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
|
|
888
|
+
value1 = Math.round(value1 * multiplier);
|
|
889
|
+
value2 = Math.round(value2 * multiplier);
|
|
890
|
+
result = operator === "+" ? value1 + value2 : value1 - value2;
|
|
891
|
+
result /= multiplier;
|
|
892
|
+
}
|
|
893
|
+
return result;
|
|
894
|
+
}
|
|
895
|
+
//#endregion
|
|
896
|
+
//#region src/components/inputs/Input/shared/numberStatic.utils.ts
|
|
897
|
+
const getStaticNumberDisplayValue = (value, formatter) => {
|
|
898
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return null;
|
|
899
|
+
return formatter.format(value);
|
|
900
|
+
};
|
|
901
|
+
//#endregion
|
|
902
|
+
export { $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c as n, $cd2fa56213693c5e$export$23f548e970bdf099 as r, getStaticNumberDisplayValue as t };
|