@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 @@
|
|
|
1
|
+
export { ListBoxSection, type ListBoxSectionProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useCallback as s,useContext as c,useMemo as l,useRef as u,useState as d}from"react";import{useLayoutEffect as f}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";import{createBranchComponent as p,createLeafComponent as m}from"react-aria/CollectionBuilder";import{useCachedChildren as h}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as g}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/Collection";import{LoaderNode as _,SectionNode as v}from"react-aria/private/collections/BaseCollection";import"react-aria/I18nProvider";import{useListBoxSection as y}from"react-aria/useListBox";import"react-aria/FocusScope";import{inertValue as b}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import"react-stately/useListState";import{useLoadMoreSentinel as x}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useCollator";import"react-aria/useFocus";import"react-aria/useKeyboard";function S(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return l(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function C(e=!0){let[t,n]=d(e),r=u(!1),i=s(e=>{r.current=!0,n(!!e)},[]);return f(()=>{r.current||n(!1)},[]),[i,t]}function w(e,r,i){let{render:a,...o}=r,s=u(null),c=l(()=>t(i,s),[i,s]);f(()=>{},[e,a]);let d={...o,ref:c};return a?a(d,void 0):n.createElement(e,d)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=a(w.bind(null,t)),T[t]=n),n}}),D={CollectionRoot({collection:e,renderDropIndicator:t}){return O(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return O(e,t,n)}};function O(e,t,r){return h({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,k(e,t,r))}})}function k(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const A=i(D),j=i({}),M=i(null),N=a(function(e,t){let{render:r}=c(M);return n.createElement(n.Fragment,null,r(e,t))});function P(e,t){let r=e?.renderDropIndicator,i=e?.isVirtualDragging?.(),a=s(e=>{if(i||t?.isDropTarget(e))return r?r(e):n.createElement(N,{target:e})},[t?.target,i,r]);return e?.useDropIndicator?a:void 0}const F=i({}),I=i(null);function L(t,r,i,a=`react-aria-ListBoxSection`){let o=c(I),{dragAndDropHooks:s,dropState:l}=c(j),{CollectionBranch:u}=c(A),[d,f]=C(),{headingProps:p,groupProps:m}=y({heading:f,"aria-label":t[`aria-label`]??void 0}),h=S({...t,id:void 0,children:void 0,defaultClassName:a,values:void 0}),_=g(t,{global:!0});return delete _.id,n.createElement(E.section,{...e(_,h,m),ref:r},n.createElement(F.Provider,{value:{...p,ref:d}},n.createElement(u,{collection:o.collection,parent:i,renderDropIndicator:P(s,l)})))}const R=p(v,L);m(_,function(t,r,i){let a=c(I),{isLoading:o,onLoadMore:s,scrollOffset:d,...f}=t,p=u(null),m=l(()=>({onLoadMore:s,collection:a?.collection,sentinelRef:p,scrollOffset:d}),[s,d,a?.collection]);x(m,p);let h=S({...f,id:void 0,children:i.rendered,defaultClassName:`react-aria-ListBoxLoadingIndicator`,values:void 0});return n.createElement(n.Fragment,null,n.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:b(!0)},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:p,style:{position:`absolute`,height:1,width:1}})),o&&h.children&&n.createElement(n.Fragment,null,n.createElement(E.div,{...e(g(t,{global:!0}),{tabIndex:-1}),...h,role:`option`,ref:r},h.children)))});export{R as ListBoxSection};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Menu, type MenuProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useCallback as s,useContext as c,useMemo as l,useRef as u,useState as d}from"react";import{useLayoutEffect as f}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as p}from"react-aria/useObjectRef";import"react-aria/useAutocomplete";import"react-stately/private/autocomplete/useAutocompleteState";import{CollectionBuilder as m}from"react-aria/CollectionBuilder";import{useCachedChildren as h}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as g}from"react-aria/filterDOMProps";import"react-aria/useHover";import{Collection as _}from"react-aria/Collection";import{CollectionNode as v}from"react-aria/private/collections/BaseCollection";import"react-aria/private/collections/Hidden";import"react-dom";import"react-aria/useSeparator";import{FocusScope as y}from"react-aria/FocusScope";import{useMenu as b,useMenuSection as ee}from"react-aria/useMenu";import{useMenuTriggerState as x}from"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import{SelectionManager as S}from"react-stately/private/selection/SelectionManager";import{useTreeState as C}from"react-stately/useTreeState";import{useMultipleSelectionState as w}from"react-stately/useMultipleSelectionState";const T=Symbol(`default`);function E({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function D(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return l(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function O(e,t){let n=c(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||T;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function k(n,r,i){let{ref:a,...o}=O(i,n.slot)||{},s=p(l(()=>t(r,a),[r,a])),c=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(c.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[c,s]}function A(e=!0){let[t,n]=d(e),r=u(!1),i=s(e=>{r.current=!0,n(!!e)},[]);return f(()=>{r.current||n(!1)},[]),[i,t]}function j(e,r,i){let{render:a,...o}=r,s=u(null),c=l(()=>t(i,s),[i,s]);f(()=>{},[e,a]);let d={...o,ref:c};return a?a(d,void 0):n.createElement(e,d)}const M={},N=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=M[t];return n||(n=a(j.bind(null,t)),M[t]=n),n}}),P=i(null),F=i(null),I=i(null),L={CollectionRoot({collection:e,renderDropIndicator:t}){return R(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return R(e,t,n)}};function R(e,t,r){return h({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,z(e,t,r))}})}function z(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const B=i(L);function V(e){return l(()=>e==null?null:new Set([e]),[e])}const H=i({}),U=i(null);function W(e){let t=u({});return n.createElement(U.Provider,{value:t},e.children)}const G=i({});(class extends v{static{this.type=`separator`}filter(e,t){let n=t.getItem(this.prevKey);if(n&&n.type!==`separator`){let n=this.clone();return t.addDescendants(n,e),n}return null}});const K=i(null),q=i(null),J=i(null),Y=i(null),X=i(null);(class extends v{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}});const Z=a(function(e,t){return[e,t]=k(e,t,K),n.createElement(m,{content:n.createElement(_,e)},r=>n.createElement(Q,{props:e,collection:r,menuRef:t}))});function Q({props:t,collection:r,menuRef:i}){[t,i]=k(t,i,P);let{filter:a,...o}=t,s=l(()=>a?r.filter(a):r,[r,a]),u=C({...t,collection:s,children:void 0}),d=c(J),{isVirtualized:f,CollectionRoot:p}=c(B),{menuProps:m}=b({...t,isVirtualized:f,onClose:t.onClose||d?.close},u,i),h=D({...t,children:void 0,defaultClassName:`react-aria-Menu`,values:{isEmpty:u.collection.size===0}}),_=null;u.collection.size===0&&t.renderEmptyState&&(_=n.createElement(`div`,{role:`menuitem`,style:{display:`contents`}},t.renderEmptyState()));let v=g(t,{global:!0});return n.createElement(y,null,n.createElement(N.div,{...e(v,h,m),ref:i,slot:t.slot||void 0,"data-empty":u.collection.size===0||void 0,onScroll:t.onScroll},n.createElement(E,{values:[[q,u],[G,{elementType:`div`}],[I,{name:`MenuSection`,render:ne}],[X,{parentMenuRef:i,shouldUseVirtualFocus:o?.shouldUseVirtualFocus}],[$,{shouldCloseOnSelect:t.shouldCloseOnSelect}],[P,null],[F,null],[Y,u.selectionManager],[J,d??x({})]]},n.createElement(W,null,n.createElement(p,{collection:u.collection,persistedKeys:V(u.selectionManager.focusedKey),scrollRef:i}))),_))}var te=class extends S{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function ne(t,r,i,a=`react-aria-MenuSection`){let o=c(q),{CollectionBranch:s}=c(B),[l,u]=A(),{headingProps:d,groupProps:f}=ee({heading:u,"aria-label":i.props[`aria-label`]??void 0}),p=D({...t,id:void 0,children:void 0,defaultClassName:a,className:i.props?.className,style:i.props?.style,values:void 0}),m=c(Y),h=w(t),_=t.selectionMode==null?m:new te(m,h),v=O($)?.shouldCloseOnSelect,y=g(t,{global:!0});return delete y.id,n.createElement(N.section,{...e(y,p,f),ref:r},n.createElement(E,{values:[[H,{...d,ref:l}],[Y,_],[$,{shouldCloseOnSelect:t.shouldCloseOnSelect??v}]]},n.createElement(s,{collection:o.collection,parent:i})))}const $=i(null);export{Z as Menu};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MenuItem, type MenuItemProps, type MenuItemRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useContext as s,useMemo as c,useRef as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{createLeafComponent as f}from"react-aria/CollectionBuilder";import{useCachedChildren as p}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as m}from"react-aria/filterDOMProps";import{useHover as h}from"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as g,ItemNode as _}from"react-aria/private/collections/BaseCollection";import"react-aria/private/collections/Hidden";import"react-aria/FocusScope";import{useMenuItem as v}from"react-aria/useMenu";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-stately/private/selection/SelectionManager";import"react-stately/useTreeState";import"react-stately/useMultipleSelectionState";const y=Symbol(`default`);function b({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function x(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function S(e,t){let n=s(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||y;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function C(n,r,i){let{ref:a,...o}=S(i,n.slot)||{},s=d(c(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,s]}function w(e,r,i){let{render:a,...o}=r,s=l(null),d=c(()=>t(i,s),[i,s]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=a(w.bind(null,t)),T[t]=n),n}}),D={CollectionRoot({collection:e,renderDropIndicator:t}){return O(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return O(e,t,n)}};function O(e,t,r){return p({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,k(e,t,r))}})}function k(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const A=i(D),j=i({}),M=i({isSelected:!1}),N=i({}),P=i(null),F=i(null);(class extends g{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}});const I=i(null),L=f(_,function(t,r,i){[t,r]=C(t,r,I);let a=S(I)?.id,o=s(P),c=d(r),l=s(F),{isVirtualized:u}=s(A),{menuItemProps:f,labelProps:p,descriptionProps:g,keyboardShortcutProps:_,...w}=v({...t,id:a,key:i.key,selectionManager:l,isVirtualized:u},o,c),{hoverProps:T,isHovered:D}=h({isDisabled:w.isDisabled}),O=x({...t,id:void 0,children:i.rendered,defaultClassName:`react-aria-MenuItem`,values:{...w,isHovered:D,isFocusVisible:w.isFocusVisible,selectionMode:l.selectionMode,selectionBehavior:l.selectionBehavior,hasSubmenu:!!t[`aria-haspopup`],isOpen:t[`aria-expanded`]===`true`}}),k=t.href?E.a:E.div,L=m(t,{global:!0});return delete L.id,delete L.onClick,n.createElement(k,{...e(L,O,f,T),ref:c,"data-disabled":w.isDisabled||void 0,"data-hovered":D||void 0,"data-focused":w.isFocused||void 0,"data-focus-visible":w.isFocusVisible||void 0,"data-pressed":w.isPressed||void 0,"data-selected":w.isSelected||void 0,"data-selection-mode":l.selectionMode===`none`?void 0:l.selectionMode,"data-has-submenu":!!t[`aria-haspopup`]||void 0,"data-open":t[`aria-expanded`]===`true`||void 0},n.createElement(b,{values:[[j,{slots:{[y]:p,label:p,description:g}}],[N,_],[M,{isSelected:w.isSelected}]]},O.children))});export{L as MenuItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MenuSection, type MenuSectionProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useCallback as s,useContext as c,useMemo as l,useRef as u,useState as d}from"react";import{useLayoutEffect as f}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";import{createBranchComponent as p}from"react-aria/CollectionBuilder";import{useCachedChildren as m}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as h}from"react-aria/filterDOMProps";import"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as g,SectionNode as _}from"react-aria/private/collections/BaseCollection";import"react-aria/private/collections/Hidden";import"react-aria/FocusScope";import{useMenuSection as v}from"react-aria/useMenu";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import{SelectionManager as y}from"react-stately/private/selection/SelectionManager";import"react-stately/useTreeState";import{useMultipleSelectionState as b}from"react-stately/useMultipleSelectionState";const x=Symbol(`default`);function S({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function C(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return l(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function w(e,t){let n=c(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||x;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function T(e=!0){let[t,n]=d(e),r=u(!1),i=s(e=>{r.current=!0,n(!!e)},[]);return f(()=>{r.current||n(!1)},[]),[i,t]}function E(e,r,i){let{render:a,...o}=r,s=u(null),c=l(()=>t(i,s),[i,s]);f(()=>{},[e,a]);let d={...o,ref:c};return a?a(d,void 0):n.createElement(e,d)}const D={},O=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=D[t];return n||(n=a(E.bind(null,t)),D[t]=n),n}}),k={CollectionRoot({collection:e,renderDropIndicator:t}){return A(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return A(e,t,n)}};function A(e,t,r){return m({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,j(e,t,r))}})}function j(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const M=i(k),N=i({}),P=i(null),F=i(null);(class extends g{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}});var I=class extends y{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}};function L(t,r,i,a=`react-aria-MenuSection`){let o=c(P),{CollectionBranch:s}=c(M),[l,u]=T(),{headingProps:d,groupProps:f}=v({heading:u,"aria-label":i.props[`aria-label`]??void 0}),p=C({...t,id:void 0,children:void 0,defaultClassName:a,className:i.props?.className,style:i.props?.style,values:void 0}),m=c(F),g=b(t),_=t.selectionMode==null?m:new I(m,g),y=w(z)?.shouldCloseOnSelect,x=h(t,{global:!0});return delete x.id,n.createElement(O.section,{...e(x,p,f),ref:r},n.createElement(S,{values:[[N,{...d,ref:l}],[F,_],[z,{shouldCloseOnSelect:t.shouldCloseOnSelect??y}]]},n.createElement(s,{collection:o.collection,parent:i})))}const R=p(_,L),z=i(null);export{R as MenuSection};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MenuTrigger, type MenuTriggerProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/mergeProps";import{mergeRefs as e}from"react-aria/mergeRefs";import t,{createContext as n,forwardRef as r,useMemo as i,useRef as a}from"react";import{useLayoutEffect as o}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";import"react-aria/CollectionBuilder";import"react-aria/filterDOMProps";import"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as s}from"react-aria/private/collections/BaseCollection";import{useIsHidden as c}from"react-aria/private/collections/Hidden";import"react-aria/useId";import"react-aria/I18nProvider";import"react-aria/FocusScope";import"react-aria/usePopover";import"react-aria/Overlay";import"react-aria/private/interactions/focusSafely";import"react-aria/private/interactions/useFocusVisible";import"react-aria/private/utils/shadowdom/DOMFunctions";import"react-stately/useOverlayTriggerState";import"react-aria/private/utils/animation";import"react-aria/private/utils/useResizeObserver";import{useMenuTrigger as l}from"react-aria/useMenu";import{useMenuTriggerState as u}from"react-stately/useMenuTriggerState";import{PressResponder as d}from"react-aria/private/interactions/PressResponder";import"react-stately/private/selection/SelectionManager";import"react-stately/useTreeState";import"react-stately/useMultipleSelectionState";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";function f({values:e,children:n}){for(let[r,i]of e)n=t.createElement(r.Provider,{value:i},n);return n}function p(n,r,s){let{render:c,...l}=r,u=a(null),d=i(()=>e(s,u),[s,u]);o(()=>{},[n,c]);let f={...l,ref:d};return c?c(f,void 0):t.createElement(n,f)}const m={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=m[t];return n||(n=r(p.bind(null,t)),m[t]=n),n}});const h=n(null),g=n(null),_=n(null);function v(e){let n=u(e),r=a(null),{menuTriggerProps:i,menuProps:o}=l({...e,type:`menu`},n,r),s=a(null);return c()?null:t.createElement(f,{values:[[g,{...o,ref:s}],[y,n],[_,n],[h,{trigger:`MenuTrigger`,triggerRef:r,scrollRef:s,placement:`bottom start`,"aria-labelledby":o[`aria-labelledby`],offset:e.trigger===`contextMenu`?0:void 0}]]},t.createElement(d,{...i,ref:r,isPressed:n.isOpen},e.children))}(class extends s{static{this.type=`submenutrigger`}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}});const y=n(null);export{v as MenuTrigger};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Meter, type MeterProps, type MeterRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{filterDOMProps as f}from"react-aria/filterDOMProps";import"react-aria/private/collections/Hidden";import{clamp as p}from"react-stately/private/utils/number";import{useMeter as m}from"react-aria/useMeter";const h=Symbol(`default`);function g(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function _(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||h;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function v(n,r,i){let{ref:a,...o}=_(i,n.slot)||{},c=d(s(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,c]}function y(e=!0){let[t,n]=l(e),r=c(!1),i=a(e=>{r.current=!0,n(!!e)},[]);return u(()=>{r.current||n(!1)},[]),[i,t]}function b(e,r,i){let{render:a,...o}=r,l=c(null),d=s(()=>t(i,l),[i,l]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const x={},S=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=x[t];return n||(n=i(b.bind(null,t)),x[t]=n),n}}),C=r({}),w=r(null),T=i(function(t,r){[t,r]=v(t,r,w);let{value:i=0,minValue:a=0,maxValue:o=100}=t;i=p(i,a,o);let s=o-a,[c,l]=y(!t[`aria-label`]&&!t[`aria-labelledby`]),{meterProps:u,labelProps:d}=m({...t,label:l}),h=s===0?0:(i-a)/s*100,_=g({...t,defaultClassName:`react-aria-Meter`,values:{percentage:h,valueText:u[`aria-valuetext`]}}),b=f(t,{global:!0});return n.createElement(S.div,{...e(b,_,u),ref:r,slot:t.slot||void 0},n.createElement(C.Provider,{value:{...d,ref:c,elementType:`span`}},_.children))});export{T as Meter};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Modal, type ModalOverlayProps, type ModalRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";import"react-aria/useId";import{DismissButton as d,Overlay as f}from"react-aria/Overlay";import{useOverlayTriggerState as p}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as m,useExitAnimation as h}from"react-aria/private/utils/animation";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";import{useModalOverlay as g}from"react-aria/useModalOverlay";import{isScrollable as _}from"react-aria/private/utils/isScrollable";import{useIsSSR as v}from"react-aria/SSRProvider";import{useViewportSize as y}from"react-aria/private/utils/useViewportSize";const b=Symbol(`default`);function x({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function S(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function C(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||b;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function w(n,r,i){let{ref:a,...s}=C(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function T(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const E={},D=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=E[t];return n||(n=i(T.bind(null,t)),E[t]=n),n}}),O=r(null),k=r(null),A=r(null),j=i(function(e,t){if(a(A))return n.createElement(F,{...e,modalRef:t},e.children);let{isDismissable:r,isKeyboardDismissDisabled:i,isOpen:o,defaultOpen:s,onOpenChange:c,children:l,isEntering:u,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...m}=e;return n.createElement(N,{isDismissable:r,isKeyboardDismissDisabled:i,isOpen:o,defaultOpen:s,onOpenChange:c,isEntering:u,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},n.createElement(F,{...m,modalRef:t},l))});function M(e,t){[e,t]=w(e,t,k);let r=a(O),i=p(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,c=l(t),u=s(null),d=h(c,o.isOpen),f=h(u,o.isOpen),m=d||f||e.isExiting||!1,g=v();return!o.isOpen&&!m||g?null:n.createElement(P,{...e,state:o,isExiting:m,overlayRef:c,modalRef:u})}const N=i(M);function P({UNSTABLE_portalContainer:t,...r}){let i=r.modalRef,{state:a}=r,{modalProps:o,underlayProps:s}=g(r,a,i),c=m(r.overlayRef)||r.isEntering||!1,l=S({...r,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:c,isExiting:r.isExiting,state:a}}),d=y(),p,h;if(typeof document<`u`){let e=_(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;p=e.scrollWidth-t,h=e.scrollHeight-n}let v={...l.style,"--visual-viewport-width":d.width+`px`,"--visual-viewport-height":d.height+`px`,"--page-width":p===void 0?void 0:p+`px`,"--page-height":h===void 0?void 0:h+`px`};return n.createElement(f,{isExiting:r.isExiting,portalContainer:t},n.createElement(D.div,{...e(u(r,{global:!0}),s),...l,style:v,ref:r.overlayRef,"data-entering":c||void 0,"data-exiting":r.isExiting||void 0},n.createElement(x,{values:[[A,{modalProps:o,modalRef:i,isExiting:r.isExiting,isDismissable:r.isDismissable}],[O,a]]},l.children)))}function F(r){let{modalProps:i,modalRef:s,isExiting:c,isDismissable:f}=a(A),p=a(O),h=o(()=>t(r.modalRef,s),[r.modalRef,s]),g=l(h),_=m(g),v=S({...r,defaultClassName:`react-aria-Modal`,values:{isEntering:_,isExiting:c,state:p}});return n.createElement(D.div,{...e(u(r,{global:!0}),i),...v,ref:g,"data-entering":_||void 0,"data-exiting":c||void 0},f&&n.createElement(d,{onDismiss:p.close}),v.children)}export{j as Modal};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ModalOverlay, type ModalOverlayProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";import"react-aria/useId";import{Overlay as d}from"react-aria/Overlay";import{useOverlayTriggerState as f}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as p,useExitAnimation as m}from"react-aria/private/utils/animation";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";import{useModalOverlay as h}from"react-aria/useModalOverlay";import{isScrollable as g}from"react-aria/private/utils/isScrollable";import{useIsSSR as _}from"react-aria/SSRProvider";import{useViewportSize as v}from"react-aria/private/utils/useViewportSize";const y=Symbol(`default`);function b({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function x(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function S(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||y;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function C(n,r,i){let{ref:a,...s}=S(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function w(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=i(w.bind(null,t)),T[t]=n),n}}),D=r(null),O=r(null),k=r(null);function A(e,t){[e,t]=C(e,t,O);let r=a(D),i=f(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,c=l(t),u=s(null),d=m(c,o.isOpen),p=m(u,o.isOpen),h=d||p||e.isExiting||!1,g=_();return!o.isOpen&&!h||g?null:n.createElement(M,{...e,state:o,isExiting:h,overlayRef:c,modalRef:u})}const j=i(A);function M({UNSTABLE_portalContainer:t,...r}){let i=r.modalRef,{state:a}=r,{modalProps:o,underlayProps:s}=h(r,a,i),c=p(r.overlayRef)||r.isEntering||!1,l=x({...r,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:c,isExiting:r.isExiting,state:a}}),f=v(),m,_;if(typeof document<`u`){let e=g(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;m=e.scrollWidth-t,_=e.scrollHeight-n}let y={...l.style,"--visual-viewport-width":f.width+`px`,"--visual-viewport-height":f.height+`px`,"--page-width":m===void 0?void 0:m+`px`,"--page-height":_===void 0?void 0:_+`px`};return n.createElement(d,{isExiting:r.isExiting,portalContainer:t},n.createElement(E.div,{...e(u(r,{global:!0}),s),...l,style:y,ref:r.overlayRef,"data-entering":c||void 0,"data-exiting":r.isExiting||void 0},n.createElement(b,{values:[[k,{modalProps:o,modalRef:i,isExiting:r.isExiting,isDismissable:r.isDismissable}],[D,a]]},l.children)))}export{j as ModalOverlay};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NumberField, type NumberFieldProps, type NumberFieldRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useMemo as s,useRef as c,useState as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{filterDOMProps as f}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/private/collections/Hidden";import"react-aria/private/live-announcer/LiveAnnouncer";import"react-aria/useButton";import"react-aria/useId";import{useLocale as p}from"react-aria/I18nProvider";import"react-stately/private/form/useFormValidationState";import{useNumberField as m}from"react-aria/useNumberField";import{useNumberFieldState as h}from"react-stately/useNumberFieldState";const g=Symbol(`default`);function _({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function v(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function y(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||g;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function b(n,r,i){let{ref:a,...o}=y(i,n.slot)||{},c=d(s(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,c]}function x(e=!0){let[t,n]=l(e),r=c(!1),i=a(e=>{r.current=!0,n(!!e)},[]);return u(()=>{r.current||n(!1)},[]),[i,t]}function S(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function C(e,r,i){let{render:a,...o}=r,l=c(null),d=s(()=>t(i,l),[i,l]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const w={},T=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=w[t];return n||(n=i(C.bind(null,t)),w[t]=n),n}}),E=r({}),D=r({}),O=r({}),k=r(null),A=r(null),j=r({}),M=r({}),N=r(null),P=r(null),F=i(function(e,t){[e,t]=b(e,t,N);let{validationBehavior:r}=y(A)||{},i=e.validationBehavior??r??`native`,{locale:a}=p(),o=h({...e,locale:a,validationBehavior:i}),s=c(null),[l,u]=x(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:d,groupProps:g,inputProps:C,incrementButtonProps:w,decrementButtonProps:F,descriptionProps:I,errorMessageProps:L,...R}=m({...S(e),label:u,validationBehavior:i},o,s),z=v({...e,values:{state:o,isDisabled:e.isDisabled||!1,isInvalid:R.isInvalid||!1,isRequired:e.isRequired||!1,isReadOnly:e.isReadOnly||!1},defaultClassName:`react-aria-NumberField`}),B=f(e,{global:!0});return delete B.id,n.createElement(_,{values:[[P,o],[j,g],[M,{...C,ref:s}],[E,{...d,ref:l}],[D,{slots:{increment:w,decrement:F}}],[O,{slots:{description:I,errorMessage:L}}],[k,R]]},n.createElement(T.div,{...B,...z,ref:t,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0,"data-invalid":R.isInvalid||void 0}),e.name&&n.createElement(`input`,{type:`hidden`,name:e.name,form:e.form,value:isNaN(o.numberValue)?``:o.numberValue,disabled:e.isDisabled||void 0}))});export{F as NumberField};
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
|
+
import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../Input-BmIahisJ.js";
|
|
4
|
+
import { a as $a3be900807531178$re_export$useLocale } from "../exports-DUKqxyno.js";
|
|
5
|
+
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
|
+
import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, r as $cd2fa56213693c5e$export$23f548e970bdf099, t as getStaticNumberDisplayValue } from "../numberStatic.utils-DAI7Bef3.js";
|
|
7
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
8
|
+
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
9
|
+
import { t as FormField } from "../FormField-BHPdCLEV.js";
|
|
10
|
+
import { t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
|
|
11
|
+
import { t as TooltipWrapper } from "../TooltipWrapper-DYfZF2Ly.js";
|
|
12
|
+
import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-Bq-m3qhs.js";
|
|
13
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-Denoy4V_.js";
|
|
14
|
+
import { t as IntlUtils } from "../intl.utils-zwAFoZ0U.js";
|
|
15
|
+
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
17
|
+
import { useFocusVisible } from "@react-aria/interactions";
|
|
18
|
+
//#region src/components/inputs/Input/NumberField/NumberField.tsx
|
|
19
|
+
const NumberFieldBase = (props) => {
|
|
20
|
+
"use no memo";
|
|
21
|
+
const ui = UIConfig.useConfig();
|
|
22
|
+
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
23
|
+
const hasControlledValue = "value" in props;
|
|
24
|
+
const inputRef = useRef(null);
|
|
25
|
+
const { ref, inputClassName, label, tooltipText, helperText, isRequired, required, rightContent, isDisabled, disabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, errorMessage, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, formatOptions: formatOptionsProp, variant: variantProp, as: asProp, layout: layoutProp, size: sizeProp, hideLabel: hideLabelProp, isClearable: isClearableProp, isClearableIfDisabled, autoFocusOnMount, ...rest } = props;
|
|
26
|
+
const formatOptions = formatOptionsProp ?? ui.numberField.formatOptions;
|
|
27
|
+
const variant = variantProp ?? ui.input.variant;
|
|
28
|
+
const as = layoutProp ?? asProp ?? ui.input.as;
|
|
29
|
+
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
30
|
+
const resolvedIsRequired = isRequired ?? required;
|
|
31
|
+
const resolvedError = errorMessage ?? error;
|
|
32
|
+
const size = sizeProp ?? ui.input.size;
|
|
33
|
+
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
34
|
+
const isClearable = isClearableProp ?? ui.input.isClearable;
|
|
35
|
+
const numberFieldRef = useRef(null);
|
|
36
|
+
const { isFocusVisible } = useFocusVisible();
|
|
37
|
+
const { locale } = $a3be900807531178$re_export$useLocale();
|
|
38
|
+
const numberProps = {
|
|
39
|
+
...rest,
|
|
40
|
+
value: hasControlledValue ? value ?? NaN : void 0,
|
|
41
|
+
label,
|
|
42
|
+
isDisabled: resolvedIsDisabled,
|
|
43
|
+
isInvalid: !!resolvedError,
|
|
44
|
+
isRequired: resolvedIsRequired,
|
|
45
|
+
onChange: (nextValue) => onChange?.(Number.isNaN(nextValue) ? null : nextValue),
|
|
46
|
+
onBlur: (e) => onBlur?.({ target: e.target }),
|
|
47
|
+
locale,
|
|
48
|
+
formatOptions
|
|
49
|
+
};
|
|
50
|
+
const state = $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(numberProps);
|
|
51
|
+
const { labelProps, inputProps } = $cd2fa56213693c5e$export$23f548e970bdf099(numberProps, state, numberFieldRef);
|
|
52
|
+
const { describedBy, errorMessageId, helperTextId } = useFieldAccessibility({
|
|
53
|
+
describedBy: inputProps["aria-describedby"],
|
|
54
|
+
error,
|
|
55
|
+
helperText
|
|
56
|
+
});
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (!autoFocusOnMount || resolvedIsDisabled) return;
|
|
59
|
+
requestAnimationFrame(() => inputRef.current?.focus());
|
|
60
|
+
}, [autoFocusOnMount, resolvedIsDisabled]);
|
|
61
|
+
const formFieldProps = {
|
|
62
|
+
errorMessageId,
|
|
63
|
+
error: resolvedError,
|
|
64
|
+
label,
|
|
65
|
+
tooltipText,
|
|
66
|
+
helperText,
|
|
67
|
+
helperTextId,
|
|
68
|
+
isRequired: resolvedIsRequired,
|
|
69
|
+
rightContent,
|
|
70
|
+
isHeaderHidden: isHeaderHidden || as === "inline" || as === "filter" || as === "floating",
|
|
71
|
+
hideLabel,
|
|
72
|
+
isDisabled: resolvedIsDisabled,
|
|
73
|
+
headerClassName,
|
|
74
|
+
errorClassName
|
|
75
|
+
};
|
|
76
|
+
const handleInputBlur = useCallback((e) => {
|
|
77
|
+
const target = numberFieldRef.current ?? e?.target;
|
|
78
|
+
onBlur?.({ target });
|
|
79
|
+
}, [onBlur]);
|
|
80
|
+
const inputContentProps = {
|
|
81
|
+
unit,
|
|
82
|
+
isLoading,
|
|
83
|
+
isDisabled: resolvedIsDisabled,
|
|
84
|
+
action,
|
|
85
|
+
leadingIcon,
|
|
86
|
+
trailingIcon,
|
|
87
|
+
isClearable,
|
|
88
|
+
isClearableIfDisabled,
|
|
89
|
+
onChange: (nextValue) => {
|
|
90
|
+
if (nextValue === "") state.setInputValue("");
|
|
91
|
+
onChange?.(nextValue === "" ? null : Number(nextValue));
|
|
92
|
+
},
|
|
93
|
+
value: state.inputValue,
|
|
94
|
+
onBlur: handleInputBlur
|
|
95
|
+
};
|
|
96
|
+
const headerProps = {
|
|
97
|
+
label,
|
|
98
|
+
tooltipText,
|
|
99
|
+
helperText,
|
|
100
|
+
isRequired: resolvedIsRequired,
|
|
101
|
+
rightContent,
|
|
102
|
+
isHeaderHidden: hideLabel || isHeaderHidden,
|
|
103
|
+
isDisabled: resolvedIsDisabled,
|
|
104
|
+
className: headerClassName,
|
|
105
|
+
labelProps
|
|
106
|
+
};
|
|
107
|
+
const dataIsDisabled = resolvedIsDisabled || void 0;
|
|
108
|
+
return /* @__PURE__ */ jsx(TooltipWrapper, {
|
|
109
|
+
as,
|
|
110
|
+
error: resolvedError,
|
|
111
|
+
triggerTabIndex: as === "inline" ? -1 : void 0,
|
|
112
|
+
children: /* @__PURE__ */ jsx(FormField, {
|
|
113
|
+
...formFieldProps,
|
|
114
|
+
as,
|
|
115
|
+
labelProps,
|
|
116
|
+
className: clsx("group w-full", className),
|
|
117
|
+
tabIndex: as === "inline" ? -1 : void 0,
|
|
118
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
119
|
+
className: clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
|
|
120
|
+
variant,
|
|
121
|
+
as,
|
|
122
|
+
...rest
|
|
123
|
+
}), inputClassName),
|
|
124
|
+
onClick: () => inputRef.current?.focus(),
|
|
125
|
+
"data-is-empty": value === null || value === void 0 || void 0,
|
|
126
|
+
"data-is-required": resolvedIsRequired || void 0,
|
|
127
|
+
"data-is-disabled": dataIsDisabled,
|
|
128
|
+
children: /* @__PURE__ */ jsx(InputContent, {
|
|
129
|
+
...inputContentProps,
|
|
130
|
+
headerProps,
|
|
131
|
+
as,
|
|
132
|
+
size,
|
|
133
|
+
children: /* @__PURE__ */ jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
|
|
134
|
+
...inputProps,
|
|
135
|
+
"aria-describedby": describedBy,
|
|
136
|
+
"aria-errormessage": errorMessageId,
|
|
137
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, inputRef, numberFieldRef),
|
|
138
|
+
"data-is-dirty": isDirty || void 0,
|
|
139
|
+
"data-is-required": resolvedIsRequired || void 0,
|
|
140
|
+
"data-is-empty": state.inputValue === "" || state.inputValue === void 0 || state.inputValue === null || void 0,
|
|
141
|
+
"data-is-filled": !("" + value === "" || value === null || value === void 0) || void 0,
|
|
142
|
+
"data-is-disabled": dataIsDisabled,
|
|
143
|
+
placeholder: as === "floating" ? "\xA0" : inputProps.placeholder,
|
|
144
|
+
className: "w-full bg-transparent outline-none",
|
|
145
|
+
onFocus: (e) => {
|
|
146
|
+
inputProps.onFocus?.(e);
|
|
147
|
+
if (isFocusVisible) e.target.select();
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
})
|
|
151
|
+
})
|
|
152
|
+
})
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
const NumberFieldInner = ({ renderStaticInput, isFormControlDisabled, ...props }) => {
|
|
156
|
+
"use no memo";
|
|
157
|
+
const ui = UIConfig.useConfig();
|
|
158
|
+
const { locale } = $a3be900807531178$re_export$useLocale();
|
|
159
|
+
const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
|
|
160
|
+
const inputRef = useRef(null);
|
|
161
|
+
const { renderRealInput, replayStaticInputChange } = useStaticInputHandoff({
|
|
162
|
+
inputRef,
|
|
163
|
+
renderInput,
|
|
164
|
+
setRenderInput
|
|
165
|
+
});
|
|
166
|
+
if (!renderInput) {
|
|
167
|
+
const staticValue = props.value ?? props.defaultValue;
|
|
168
|
+
const formatOptions = props.formatOptions ?? ui.numberField.formatOptions;
|
|
169
|
+
const displayValue = getStaticNumberDisplayValue(staticValue, IntlUtils.getNumberFormatter(locale, formatOptions)) ?? "";
|
|
170
|
+
const hasValue = displayValue !== "";
|
|
171
|
+
const as = props.as ?? ui.input.as;
|
|
172
|
+
let isDisabled = !!props.isDisabled;
|
|
173
|
+
if (isFormControlDisabled) isDisabled = true;
|
|
174
|
+
const dataAttributes = {
|
|
175
|
+
dataIsEmpty: !hasValue,
|
|
176
|
+
dataIsFilled: hasValue,
|
|
177
|
+
dataIsDirty: props.isDirty,
|
|
178
|
+
dataIsRequired: props.isRequired,
|
|
179
|
+
dataIsDisabled: isDisabled,
|
|
180
|
+
dataDisabled: isDisabled,
|
|
181
|
+
dataInvalid: !!props.error,
|
|
182
|
+
dataHasSelection: hasValue
|
|
183
|
+
};
|
|
184
|
+
return /* @__PURE__ */ jsx(InputFrame, {
|
|
185
|
+
...props,
|
|
186
|
+
isDisabled,
|
|
187
|
+
className: clsx("group w-full", as === "inline" && "h-full", props.className),
|
|
188
|
+
dataAttributes,
|
|
189
|
+
onStaticInteract: renderRealInput,
|
|
190
|
+
inputClassName: props.inputClassName,
|
|
191
|
+
contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
|
|
192
|
+
trailingClassName: "py-0! pl-0!",
|
|
193
|
+
wrapContentAndTrailing: true,
|
|
194
|
+
reserveTrailingContent: true,
|
|
195
|
+
children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
|
|
196
|
+
type: "text",
|
|
197
|
+
ref: inputRef,
|
|
198
|
+
disabled: isDisabled,
|
|
199
|
+
inputMode: "numeric",
|
|
200
|
+
tabIndex: -1,
|
|
201
|
+
value: displayValue,
|
|
202
|
+
placeholder: as === "floating" ? "" : props.placeholder,
|
|
203
|
+
className: "w-full bg-transparent outline-none",
|
|
204
|
+
onChange: (event) => replayStaticInputChange(event.target.value),
|
|
205
|
+
...dataAttributeProps,
|
|
206
|
+
"data-rac": true
|
|
207
|
+
})
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
return /* @__PURE__ */ jsx(NumberFieldBase, {
|
|
211
|
+
...props,
|
|
212
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, inputRef)
|
|
213
|
+
});
|
|
214
|
+
};
|
|
215
|
+
/** @internal Exported for production render benchmarks. */
|
|
216
|
+
const NumberFieldComponent = ({ renderStaticInput, ...props }) => {
|
|
217
|
+
"use no memo";
|
|
218
|
+
if ("field" in props && props.field) {
|
|
219
|
+
const { field, ref, ...innerProps } = props;
|
|
220
|
+
const controlWithOptions = field.form;
|
|
221
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
222
|
+
control: field.form,
|
|
223
|
+
name: field.name,
|
|
224
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(NumberFieldInner, {
|
|
225
|
+
...innerProps,
|
|
226
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
227
|
+
value: field.value,
|
|
228
|
+
onChange: field.onChange,
|
|
229
|
+
onBlur: field.onBlur,
|
|
230
|
+
isDirty,
|
|
231
|
+
isDisabled: field.disabled || props.isDisabled,
|
|
232
|
+
isFormControlDisabled: !!controlWithOptions._options?.disabled,
|
|
233
|
+
error: props.error ?? error?.message,
|
|
234
|
+
renderStaticInput
|
|
235
|
+
})
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
return /* @__PURE__ */ jsx(NumberFieldInner, {
|
|
239
|
+
...props,
|
|
240
|
+
renderStaticInput
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
const NumberField = memo(NumberFieldComponent);
|
|
244
|
+
//#endregion
|
|
245
|
+
export { NumberField, NumberFieldComponent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OverlayArrow, type OverlayArrowProps, type OverlayArrowRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";const d=Symbol(`default`);function f(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function p(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||d;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function m(n,r,i){let{ref:a,...s}=p(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function h(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const g={},_=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=g[t];return n||(n=i(h.bind(null,t)),g[t]=n),n}}),v=r({placement:`bottom`}),y=i(function(e,t){[e,t]=m(e,t,v);let r=e.placement,i={position:`absolute`,transform:r===`top`||r===`bottom`?`translateX(-50%)`:`translateY(-50%)`};r!=null&&(i[r]=`100%`);let a=f({...e,defaultClassName:`react-aria-OverlayArrow`,values:{placement:r}});a.style&&Object.keys(a.style).forEach(e=>a.style[e]===void 0&&delete a.style[e]);let o=u(e);return n.createElement(_.div,{...o,...a,style:{...i,...a.style},ref:t,"data-placement":r})});export{y as OverlayArrow};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
+
import { t as Typography } from "../Typography-AcUd9df8.js";
|
|
3
|
+
import "../i18n-BDjNuy4Z.js";
|
|
4
|
+
import { NumberField } from "./number-field.js";
|
|
5
|
+
import { t as PaginationList } from "../PaginationList-Du7qn_AS.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { useTranslation } from "react-i18next";
|
|
9
|
+
//#region src/components/shared/pagination/Pagination.tsx
|
|
10
|
+
const Pagination = (t0) => {
|
|
11
|
+
const $ = c(34);
|
|
12
|
+
const { size: t1, variant: t2, color: t3, page, totalItems, totalPages, pageSize, hideText: t4, hideFirstLast: t5, hidePrevNext: t6, hideNumbers: t7, className, onPageChange, onPageSizeChange } = t0;
|
|
13
|
+
const size = t1 === void 0 ? "s" : t1;
|
|
14
|
+
const variant = t2 === void 0 ? "subtle" : t2;
|
|
15
|
+
const color = t3 === void 0 ? "secondary" : t3;
|
|
16
|
+
const hideText = t4 === void 0 ? true : t4;
|
|
17
|
+
const hideFirstLast = t5 === void 0 ? true : t5;
|
|
18
|
+
const hidePrevNext = t6 === void 0 ? false : t6;
|
|
19
|
+
const hideNumbers = t7 === void 0 ? false : t7;
|
|
20
|
+
const { t } = useTranslation("ui");
|
|
21
|
+
let t8;
|
|
22
|
+
if ($[0] !== className) {
|
|
23
|
+
t8 = clsx("flex items-center gap-2", className);
|
|
24
|
+
$[0] = className;
|
|
25
|
+
$[1] = t8;
|
|
26
|
+
} else t8 = $[1];
|
|
27
|
+
let t9;
|
|
28
|
+
if ($[2] !== color || $[3] !== hideFirstLast || $[4] !== hideNumbers || $[5] !== hidePrevNext || $[6] !== hideText || $[7] !== onPageChange || $[8] !== page || $[9] !== pageSize || $[10] !== size || $[11] !== totalItems || $[12] !== totalPages || $[13] !== variant) {
|
|
29
|
+
t9 = totalItems > pageSize && /* @__PURE__ */ jsx(PaginationList, {
|
|
30
|
+
page,
|
|
31
|
+
size,
|
|
32
|
+
color,
|
|
33
|
+
variant,
|
|
34
|
+
hideText,
|
|
35
|
+
hideFirstLast,
|
|
36
|
+
hidePrevNext,
|
|
37
|
+
hideNumbers,
|
|
38
|
+
totalPages: totalPages ?? Math.ceil(totalItems / pageSize),
|
|
39
|
+
onPageChange
|
|
40
|
+
});
|
|
41
|
+
$[2] = color;
|
|
42
|
+
$[3] = hideFirstLast;
|
|
43
|
+
$[4] = hideNumbers;
|
|
44
|
+
$[5] = hidePrevNext;
|
|
45
|
+
$[6] = hideText;
|
|
46
|
+
$[7] = onPageChange;
|
|
47
|
+
$[8] = page;
|
|
48
|
+
$[9] = pageSize;
|
|
49
|
+
$[10] = size;
|
|
50
|
+
$[11] = totalItems;
|
|
51
|
+
$[12] = totalPages;
|
|
52
|
+
$[13] = variant;
|
|
53
|
+
$[14] = t9;
|
|
54
|
+
} else t9 = $[14];
|
|
55
|
+
let t10;
|
|
56
|
+
if ($[15] !== t) {
|
|
57
|
+
t10 = t(_temp);
|
|
58
|
+
$[15] = t;
|
|
59
|
+
$[16] = t10;
|
|
60
|
+
} else t10 = $[16];
|
|
61
|
+
let t11;
|
|
62
|
+
if ($[17] !== t10) {
|
|
63
|
+
t11 = /* @__PURE__ */ jsx(Typography, {
|
|
64
|
+
variant: "default",
|
|
65
|
+
size: "label-2",
|
|
66
|
+
as: "span",
|
|
67
|
+
className: "whitespace-nowrap text-text-default-1",
|
|
68
|
+
children: t10
|
|
69
|
+
});
|
|
70
|
+
$[17] = t10;
|
|
71
|
+
$[18] = t11;
|
|
72
|
+
} else t11 = $[18];
|
|
73
|
+
let t12;
|
|
74
|
+
if ($[19] !== onPageSizeChange) {
|
|
75
|
+
t12 = (value) => onPageSizeChange?.(Number(value));
|
|
76
|
+
$[19] = onPageSizeChange;
|
|
77
|
+
$[20] = t12;
|
|
78
|
+
} else t12 = $[20];
|
|
79
|
+
let t13;
|
|
80
|
+
if ($[21] !== t) {
|
|
81
|
+
t13 = t(_temp2);
|
|
82
|
+
$[21] = t;
|
|
83
|
+
$[22] = t13;
|
|
84
|
+
} else t13 = $[22];
|
|
85
|
+
let t14;
|
|
86
|
+
if ($[23] !== pageSize || $[24] !== t12 || $[25] !== t13) {
|
|
87
|
+
t14 = /* @__PURE__ */ jsx(NumberField, {
|
|
88
|
+
value: pageSize,
|
|
89
|
+
onChange: t12,
|
|
90
|
+
label: t13,
|
|
91
|
+
hideLabel: true,
|
|
92
|
+
className: "w-min",
|
|
93
|
+
inputClassName: "min-w-12 !px-3 !py-0-5"
|
|
94
|
+
});
|
|
95
|
+
$[23] = pageSize;
|
|
96
|
+
$[24] = t12;
|
|
97
|
+
$[25] = t13;
|
|
98
|
+
$[26] = t14;
|
|
99
|
+
} else t14 = $[26];
|
|
100
|
+
let t15;
|
|
101
|
+
if ($[27] !== t11 || $[28] !== t14) {
|
|
102
|
+
t15 = /* @__PURE__ */ jsxs("div", {
|
|
103
|
+
className: "flex items-center gap-2",
|
|
104
|
+
children: [t11, t14]
|
|
105
|
+
});
|
|
106
|
+
$[27] = t11;
|
|
107
|
+
$[28] = t14;
|
|
108
|
+
$[29] = t15;
|
|
109
|
+
} else t15 = $[29];
|
|
110
|
+
let t16;
|
|
111
|
+
if ($[30] !== t15 || $[31] !== t8 || $[32] !== t9) {
|
|
112
|
+
t16 = /* @__PURE__ */ jsxs("nav", {
|
|
113
|
+
id: "pagination",
|
|
114
|
+
className: t8,
|
|
115
|
+
children: [t9, t15]
|
|
116
|
+
});
|
|
117
|
+
$[30] = t15;
|
|
118
|
+
$[31] = t8;
|
|
119
|
+
$[32] = t9;
|
|
120
|
+
$[33] = t16;
|
|
121
|
+
} else t16 = $[33];
|
|
122
|
+
return t16;
|
|
123
|
+
};
|
|
124
|
+
function _temp($) {
|
|
125
|
+
return $.ui.pagination.resultsPerPage;
|
|
126
|
+
}
|
|
127
|
+
function _temp2($_0) {
|
|
128
|
+
return $_0.ui.pagination.resultsPerPage;
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
export { Pagination };
|