@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,73 @@
|
|
|
1
|
+
import { t as X } from "../x-BD2AijMA.js";
|
|
2
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-CRlZqaJq.js";
|
|
4
|
+
import { t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "../ToggleButton-C966bfpT.js";
|
|
5
|
+
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
|
+
import { t as ButtonContent } from "../ButtonContent-CohuJJzG.js";
|
|
7
|
+
import { a as pillButtonTypography, i as pillButtonIconSize, r as pillButtonDefinition, t as pillButtonContent } from "../pillButton.cva-6tjADUQ6.js";
|
|
8
|
+
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
//#region src/components/buttons/PillButton/PillButton.tsx
|
|
11
|
+
const PillButton = (t0) => {
|
|
12
|
+
const $ = c(17);
|
|
13
|
+
const { children, dismissable, toggle, icon, iconPosition, contentRef, ...props } = t0;
|
|
14
|
+
const pillButtonCva = UIOverrides.useCva("pillButton.cva", pillButtonDefinition);
|
|
15
|
+
const pillButtonTypographyMap = UIOverrides.useMapper("pillButton.typography", pillButtonTypography);
|
|
16
|
+
const Component = toggle ? $75afe627ae0cc0fa$export$d2b052e7b4be1756 : $7705c033048f6da7$export$353f5b6fc5456de1;
|
|
17
|
+
let t1;
|
|
18
|
+
if ($[0] !== dismissable || $[1] !== icon || $[2] !== iconPosition) {
|
|
19
|
+
t1 = () => {
|
|
20
|
+
if (dismissable) return "right";
|
|
21
|
+
return icon ? iconPosition : "none";
|
|
22
|
+
};
|
|
23
|
+
$[0] = dismissable;
|
|
24
|
+
$[1] = icon;
|
|
25
|
+
$[2] = iconPosition;
|
|
26
|
+
$[3] = t1;
|
|
27
|
+
} else t1 = $[3];
|
|
28
|
+
const getIconPosition = t1;
|
|
29
|
+
const t2 = clsx(pillButtonCva({
|
|
30
|
+
...props,
|
|
31
|
+
className: props.className
|
|
32
|
+
}), pillButtonContent({ iconPosition: getIconPosition() }));
|
|
33
|
+
const T0 = ButtonContent;
|
|
34
|
+
const t3 = dismissable ? X : icon;
|
|
35
|
+
const t4 = dismissable ? "right" : iconPosition;
|
|
36
|
+
const t5 = pillButtonIconSize;
|
|
37
|
+
const t6 = pillButtonTypographyMap({ ...props });
|
|
38
|
+
let t7;
|
|
39
|
+
if ($[4] !== T0 || $[5] !== children || $[6] !== contentRef || $[7] !== t3 || $[8] !== t4 || $[9] !== t5 || $[10] !== t6) {
|
|
40
|
+
t7 = /* @__PURE__ */ jsx(T0, {
|
|
41
|
+
ref: contentRef,
|
|
42
|
+
content: children,
|
|
43
|
+
icon: t3,
|
|
44
|
+
iconPosition: t4,
|
|
45
|
+
iconClassName: t5,
|
|
46
|
+
typography: t6
|
|
47
|
+
});
|
|
48
|
+
$[4] = T0;
|
|
49
|
+
$[5] = children;
|
|
50
|
+
$[6] = contentRef;
|
|
51
|
+
$[7] = t3;
|
|
52
|
+
$[8] = t4;
|
|
53
|
+
$[9] = t5;
|
|
54
|
+
$[10] = t6;
|
|
55
|
+
$[11] = t7;
|
|
56
|
+
} else t7 = $[11];
|
|
57
|
+
let t8;
|
|
58
|
+
if ($[12] !== Component || $[13] !== props || $[14] !== t2 || $[15] !== t7) {
|
|
59
|
+
t8 = /* @__PURE__ */ jsx(Component, {
|
|
60
|
+
...props,
|
|
61
|
+
className: t2,
|
|
62
|
+
children: t7
|
|
63
|
+
});
|
|
64
|
+
$[12] = Component;
|
|
65
|
+
$[13] = props;
|
|
66
|
+
$[14] = t2;
|
|
67
|
+
$[15] = t7;
|
|
68
|
+
$[16] = t8;
|
|
69
|
+
} else t8 = $[16];
|
|
70
|
+
return t8;
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
73
|
+
export { PillButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Popover, type PopoverProps, type PopoverRenderProps } 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,useEffect as s,useMemo as c,useRef as l,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{filterDOMProps as p}from"react-aria/filterDOMProps";import{useIsHidden as m}from"react-aria/private/collections/Hidden";import"react-aria/useId";import{useLocale as h}from"react-aria/I18nProvider";import{usePopover as g}from"react-aria/usePopover";import{DismissButton as _,Overlay as v}from"react-aria/Overlay";import{focusSafely as y}from"react-aria/private/interactions/focusSafely";import{getInteractionModality as b}from"react-aria/private/interactions/useFocusVisible";import{isFocusWithin as x}from"react-aria/private/utils/shadowdom/DOMFunctions";import{useOverlayTriggerState as S}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as C,useExitAnimation as w}from"react-aria/private/utils/animation";import{useResizeObserver as T}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";const E=Symbol(`default`);function D(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 O(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||E;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=f(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 A(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};return a?a(f,void 0):n.createElement(e,f)}const j={},M=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=j[t];return n||(n=i(A.bind(null,t)),j[t]=n),n}}),N=r({placement:`bottom`}),P=r(null),F=r(null),I=i(function(e,t){[e,t]=k(e,t,P);let r=o(R),i=S(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,s=w(t,a.isOpen),c=e.isExiting||!e.shouldSkipAnimation&&s||!1,l=m(),{direction:u}=h();if(l){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),n.createElement(n.Fragment,null,t)}return a&&!a.isOpen&&!c?null:n.createElement(L,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:c,dir:u})});function L({state:t,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:f,...m}){let h=l(null),S=l(null),w=o(F),E=w&&m.trigger===`SubmenuTrigger`,{popoverProps:O,underlayProps:k,arrowProps:A,placement:j,triggerAnchorPoint:P}=g({...m,offset:m.offset??8,arrowRef:h,groupRef:E?w:S},t),I=m.popoverRef,L=C(I,!!j),R=m.isEntering||!m.shouldSkipAnimation&&L||!1,z=D({...m,defaultClassName:`react-aria-Popover`,values:{trigger:m.trigger||null,placement:j,isEntering:R,isExiting:r}}),B=!m.isNonModal||m.trigger===`SubmenuTrigger`||m.trigger===`PreviewTrigger`,[V,H]=u(m.trigger===`PreviewTrigger`);d(()=>{I.current&&H(B&&!I.current.querySelector(`[role=dialog]`))},[I,B]),s(()=>{V&&m.trigger!==`PreviewTrigger`&&(m.trigger!==`SubmenuTrigger`||b()!==`pointer`)&&I.current&&!x(I.current)&&y(I.current)},[V,I,m.trigger]);let U=c(()=>{let e=z.children;if(f)for(let t of f)e=n.createElement(t.Provider,{value:null},e);return e},[z.children,f]),[W,G]=u(null),K=a(()=>{m.triggerRef.current&&G(m.triggerRef.current.getBoundingClientRect().width+`px`)},[m.triggerRef]);d(K,[K]),T({ref:z.style?.[`--trigger-width`]?void 0:m.triggerRef,onResize:K});let q={...O.style,"--trigger-anchor-point":P?`${P.x}px ${P.y}px`:void 0,...z.style,"--trigger-width":z.style?.[`--trigger-width`]||W},J=n.createElement(M.div,{...e(p(m,{global:!0}),O),...z,id:V?m.id:void 0,role:V?`dialog`:void 0,tabIndex:V?-1:void 0,"aria-label":m[`aria-label`],"aria-labelledby":m[`aria-labelledby`],ref:I,slot:m.slot||void 0,style:q,dir:m.dir,"data-trigger":m.trigger,"data-placement":j,"data-entering":R||void 0,"data-exiting":r||void 0},!m.isNonModal&&n.createElement(_,{onDismiss:t.close}),n.createElement(N.Provider,{value:{...A,placement:j,ref:h}},U),n.createElement(_,{onDismiss:t.close}));return E?n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i??w?.current??void 0},J):n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i},!m.isNonModal&&t.isOpen&&n.createElement(`div`,{"data-testid":`underlay`,...k,style:{position:`fixed`,inset:0}}),n.createElement(`div`,{ref:S,style:{display:`contents`}},n.createElement(F.Provider,{value:S},J)))}const R=r(null);export{I as Popover};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
+
import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-CLWfxiie.js";
|
|
3
|
+
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
4
|
+
import { BottomSheet } from "./bottom-sheet.js";
|
|
5
|
+
import { t as useBreakpoint } from "../useBreakpoint-CDKDB0E2.js";
|
|
6
|
+
import { t as popoverDefinition } from "../popover.cva-CXha_UMQ.js";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
//#region src/components/overlays/Popover/Popover.tsx
|
|
10
|
+
const Popover = (t0) => {
|
|
11
|
+
const $ = c(33);
|
|
12
|
+
const { trigger, isOpen, onOpenChange, children, popoverClassName, sheetLabel, bottomSheetProps, popoverProps } = t0;
|
|
13
|
+
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
14
|
+
const isDesktop = useBreakpoint("md");
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[0] !== popoverProps) {
|
|
17
|
+
t1 = popoverProps ?? {};
|
|
18
|
+
$[0] = popoverProps;
|
|
19
|
+
$[1] = t1;
|
|
20
|
+
} else t1 = $[1];
|
|
21
|
+
let restPopoverProps;
|
|
22
|
+
let t2;
|
|
23
|
+
let t3;
|
|
24
|
+
if ($[2] !== t1) {
|
|
25
|
+
({offset: t2, placement: t3, ...restPopoverProps} = t1);
|
|
26
|
+
$[2] = t1;
|
|
27
|
+
$[3] = restPopoverProps;
|
|
28
|
+
$[4] = t2;
|
|
29
|
+
$[5] = t3;
|
|
30
|
+
} else {
|
|
31
|
+
restPopoverProps = $[3];
|
|
32
|
+
t2 = $[4];
|
|
33
|
+
t3 = $[5];
|
|
34
|
+
}
|
|
35
|
+
const offset = t2 === void 0 ? 0 : t2;
|
|
36
|
+
const placement = t3 === void 0 ? "bottom start" : t3;
|
|
37
|
+
if (!isDesktop) {
|
|
38
|
+
let t4;
|
|
39
|
+
if ($[6] !== children) {
|
|
40
|
+
t4 = /* @__PURE__ */ jsx("div", {
|
|
41
|
+
className: "p-4",
|
|
42
|
+
children
|
|
43
|
+
});
|
|
44
|
+
$[6] = children;
|
|
45
|
+
$[7] = t4;
|
|
46
|
+
} else t4 = $[7];
|
|
47
|
+
let t5;
|
|
48
|
+
if ($[8] !== bottomSheetProps || $[9] !== isOpen || $[10] !== onOpenChange || $[11] !== sheetLabel || $[12] !== t4 || $[13] !== trigger) {
|
|
49
|
+
t5 = /* @__PURE__ */ jsx(BottomSheet, {
|
|
50
|
+
height: "auto",
|
|
51
|
+
isDismissable: true,
|
|
52
|
+
label: sheetLabel,
|
|
53
|
+
...bottomSheetProps,
|
|
54
|
+
isOpen,
|
|
55
|
+
onOpenChange,
|
|
56
|
+
trigger,
|
|
57
|
+
children: t4
|
|
58
|
+
});
|
|
59
|
+
$[8] = bottomSheetProps;
|
|
60
|
+
$[9] = isOpen;
|
|
61
|
+
$[10] = onOpenChange;
|
|
62
|
+
$[11] = sheetLabel;
|
|
63
|
+
$[12] = t4;
|
|
64
|
+
$[13] = trigger;
|
|
65
|
+
$[14] = t5;
|
|
66
|
+
} else t5 = $[14];
|
|
67
|
+
return t5;
|
|
68
|
+
}
|
|
69
|
+
let t4;
|
|
70
|
+
if ($[15] !== popoverClassName) {
|
|
71
|
+
t4 = clsx("my-4 outline-none", popoverClassName);
|
|
72
|
+
$[15] = popoverClassName;
|
|
73
|
+
$[16] = t4;
|
|
74
|
+
} else t4 = $[16];
|
|
75
|
+
let t5;
|
|
76
|
+
if ($[17] !== popoverCva) {
|
|
77
|
+
t5 = clsx(popoverCva({}), "overflow-hidden p-2");
|
|
78
|
+
$[17] = popoverCva;
|
|
79
|
+
$[18] = t5;
|
|
80
|
+
} else t5 = $[18];
|
|
81
|
+
let t6;
|
|
82
|
+
if ($[19] !== children || $[20] !== t5) {
|
|
83
|
+
t6 = /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
84
|
+
className: "outline-none",
|
|
85
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
86
|
+
className: t5,
|
|
87
|
+
children
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
$[19] = children;
|
|
91
|
+
$[20] = t5;
|
|
92
|
+
$[21] = t6;
|
|
93
|
+
} else t6 = $[21];
|
|
94
|
+
let t7;
|
|
95
|
+
if ($[22] !== offset || $[23] !== placement || $[24] !== restPopoverProps || $[25] !== t4 || $[26] !== t6) {
|
|
96
|
+
t7 = /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
|
|
97
|
+
...restPopoverProps,
|
|
98
|
+
className: t4,
|
|
99
|
+
offset,
|
|
100
|
+
placement,
|
|
101
|
+
children: t6
|
|
102
|
+
});
|
|
103
|
+
$[22] = offset;
|
|
104
|
+
$[23] = placement;
|
|
105
|
+
$[24] = restPopoverProps;
|
|
106
|
+
$[25] = t4;
|
|
107
|
+
$[26] = t6;
|
|
108
|
+
$[27] = t7;
|
|
109
|
+
} else t7 = $[27];
|
|
110
|
+
let t8;
|
|
111
|
+
if ($[28] !== isOpen || $[29] !== onOpenChange || $[30] !== t7 || $[31] !== trigger) {
|
|
112
|
+
t8 = /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
113
|
+
isOpen,
|
|
114
|
+
onOpenChange,
|
|
115
|
+
children: [trigger, t7]
|
|
116
|
+
});
|
|
117
|
+
$[28] = isOpen;
|
|
118
|
+
$[29] = onOpenChange;
|
|
119
|
+
$[30] = t7;
|
|
120
|
+
$[31] = trigger;
|
|
121
|
+
$[32] = t8;
|
|
122
|
+
} else t8 = $[32];
|
|
123
|
+
return t8;
|
|
124
|
+
};
|
|
125
|
+
//#endregion
|
|
126
|
+
export { Popover };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Pressable } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/CollectionBuilder";import"react-aria/Collection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-stately/Color";import"react-aria/useFilter";import"react-aria/useDrop";import"react-aria/SSRProvider";import"react-stately/useVirtualizerState";import"react-stately/useTokenFieldState";import"react-stately/useToastState";import"react-aria/useDrag";import"react-aria/private/utils/openLink";import{Pressable as e}from"react-aria/Pressable";import"react-aria/Focusable";import"react-stately/useListData";import"react-stately/useTreeData";import"react-stately/useAsyncList";export{e as Pressable};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressBar, type ProgressBarProps, type ProgressBarRenderProps } 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{useProgressBar as p}from"react-aria/useProgressBar";import{clamp as m}from"react-stately/private/utils/number";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,isIndeterminate:s=!1}=t;i=m(i,a,o);let[c,l]=y(!t[`aria-label`]&&!t[`aria-labelledby`]),{progressBarProps:u,labelProps:d}=p({...t,label:l}),h=o-a,_;s||(_=h===0?0:(i-a)/h*100);let b=g({...t,defaultClassName:`react-aria-ProgressBar`,values:{percentage:_,valueText:u[`aria-valuetext`],isIndeterminate:s}}),x=f(t,{global:!0});return n.createElement(S.div,{...e(x,b,u),ref:r,slot:t.slot||void 0},n.createElement(C.Provider,{value:{...d,ref:c,elementType:`span`}},b.children))});export{T as ProgressBar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Provider } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/mergeProps";import{mergeRefs as e}from"react-aria/mergeRefs";import t,{forwardRef as n,useMemo as r,useRef as i}from"react";import{useLayoutEffect as a}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";function o({values:e,children:n}){for(let[r,i]of e)n=t.createElement(r.Provider,{value:i},n);return n}function s(n,o,s){let{render:c,...l}=o,u=i(null),d=r(()=>e(s,u),[s,u]);a(()=>{},[n,c]);let f={...l,ref:d};return c?c(f,void 0):t.createElement(n,f)}const c={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let r=c[t];return r||(r=n(s.bind(null,t)),c[t]=r),r}});export{o as Provider};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { n as FieldValues } from "../form.binding-DVJ5F0JE.js";
|
|
2
|
+
import { s as SelectItem } from "../SelectBase-DefgAEzh.js";
|
|
3
|
+
import { n as QueryFn, t as QueryAutocompleteProps } from "../queryAutocomplete.types-BlpCYzfA.js";
|
|
4
|
+
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts
|
|
5
|
+
declare const QueryAutocompleteComponent: <TFieldValues extends FieldValues, TSelectItem extends SelectItem<any>, TQueryFn extends QueryFn>(props: QueryAutocompleteProps<TFieldValues, TSelectItem, TQueryFn>) => import("react").JSX.Element;
|
|
6
|
+
declare const QueryAutocomplete: typeof QueryAutocompleteComponent;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { QueryAutocomplete };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
3
|
+
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
|
|
5
|
+
import { Autocomplete } from "./autocomplete.js";
|
|
6
|
+
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
7
|
+
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.tsx
|
|
10
|
+
const LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, leadingContent, ...props }) => {
|
|
11
|
+
"use no memo";
|
|
12
|
+
const ui = UIConfig.useConfig();
|
|
13
|
+
const [search, setSearch] = useState("");
|
|
14
|
+
const focusRootRef = useRef(null);
|
|
15
|
+
const didRestoreFocusRef = useRef(false);
|
|
16
|
+
useLayoutEffect(() => {
|
|
17
|
+
if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
|
|
18
|
+
didRestoreFocusRef.current = true;
|
|
19
|
+
getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
|
|
20
|
+
}, [initialFocusFromEnd]);
|
|
21
|
+
const { onBlur, onChange } = props;
|
|
22
|
+
const value = "value" in props ? props.value : void 0;
|
|
23
|
+
const selectedIdsToResolve = getSelectionIdsToResolve({
|
|
24
|
+
initialSelection: props.initialSelection,
|
|
25
|
+
value,
|
|
26
|
+
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
27
|
+
});
|
|
28
|
+
const shouldEnableInitialQuery = selectedIdsToResolve.count > 0;
|
|
29
|
+
const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.queryAutocomplete?.isInitialQueryDisabled;
|
|
30
|
+
const shouldDisableInitialQuery = !isQueryEnabledInitially && !shouldEnableInitialQuery && (selectedIdsToResolve.isResolvedByInitialSelection || isInitialQueryDisabled);
|
|
31
|
+
const { items, totalItems, isLoading, handleEnableQuery, hasNextPage, fetchNextPage } = useQueryAutocomplete({
|
|
32
|
+
query,
|
|
33
|
+
queryParams,
|
|
34
|
+
queryOptions,
|
|
35
|
+
mapItems: useCallback((data) => getQueryItems(data, queryMap), [queryMap]),
|
|
36
|
+
resolveSelectedItemsWithIds: resolveSelectedItemsWithIds ?? ui.queryAutocomplete?.resolveSelectedItemsWithIds,
|
|
37
|
+
search,
|
|
38
|
+
initialQueryState: shouldDisableInitialQuery,
|
|
39
|
+
selectedIdsToResolve: selectedIdsToResolve.items
|
|
40
|
+
});
|
|
41
|
+
const handleChange = useCallback((value) => {
|
|
42
|
+
onChange?.(value);
|
|
43
|
+
onBlur?.({ target: { value: null } });
|
|
44
|
+
}, [onBlur, onChange]);
|
|
45
|
+
const autocompleteProps = useMemo(() => {
|
|
46
|
+
const { isInitialQueryDisabled: _, onChange: __, ...rest } = props;
|
|
47
|
+
return rest;
|
|
48
|
+
}, [props]);
|
|
49
|
+
const onSearchChange = useCallback((value) => {
|
|
50
|
+
setSearch(value);
|
|
51
|
+
handleEnableQuery();
|
|
52
|
+
}, [handleEnableQuery]);
|
|
53
|
+
return /* @__PURE__ */ jsx(Autocomplete, {
|
|
54
|
+
...autocompleteProps,
|
|
55
|
+
items,
|
|
56
|
+
totalItems,
|
|
57
|
+
onSearchChange,
|
|
58
|
+
isClientSearchDisabled: true,
|
|
59
|
+
isLoading,
|
|
60
|
+
onChange: handleChange,
|
|
61
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
|
|
62
|
+
renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput),
|
|
63
|
+
searchDebounceDelay: props.searchDebounceDelay ?? ui.queryAutocomplete?.searchDebounceDelay,
|
|
64
|
+
onMouseEnter: handleEnableQuery,
|
|
65
|
+
onFocusCapture: handleEnableQuery,
|
|
66
|
+
leadingContent,
|
|
67
|
+
hasLoadMore: hasNextPage,
|
|
68
|
+
onLoadMore: fetchNextPage
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
const QueryAutocompleteContent = (props) => {
|
|
72
|
+
const ui = UIConfig.useConfig();
|
|
73
|
+
const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.queryAutocomplete?.isInitialQueryDisabled;
|
|
74
|
+
const value = "value" in props ? props.value : void 0;
|
|
75
|
+
const selection = getSelectionIdsToResolve({
|
|
76
|
+
initialSelection: props.initialSelection,
|
|
77
|
+
value,
|
|
78
|
+
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
79
|
+
});
|
|
80
|
+
const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
|
|
81
|
+
const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
|
|
82
|
+
if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQueryAutocompleteContent, {
|
|
83
|
+
...props,
|
|
84
|
+
isQueryEnabledInitially: isQueryMounted,
|
|
85
|
+
initialFocusFromEnd
|
|
86
|
+
});
|
|
87
|
+
const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...autocompleteProps } = props;
|
|
88
|
+
const mountQuery = () => setIsQueryMounted(true);
|
|
89
|
+
return /* @__PURE__ */ jsx(Autocomplete, {
|
|
90
|
+
...autocompleteProps,
|
|
91
|
+
items: [],
|
|
92
|
+
renderStaticInput: props.renderStaticInput ?? ui.queryAutocomplete?.renderStaticInput,
|
|
93
|
+
onMouseEnter: mountQuery,
|
|
94
|
+
onFocusCapture: (event) => {
|
|
95
|
+
setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
96
|
+
mountQuery();
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
const QueryAutocompleteComponent = (props) => {
|
|
101
|
+
if ("field" in props && props.field) {
|
|
102
|
+
const { field, ref, ...innerProps } = props;
|
|
103
|
+
const controlWithOptions = field.form;
|
|
104
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
105
|
+
control: field.form,
|
|
106
|
+
name: field.name,
|
|
107
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(QueryAutocompleteContent, {
|
|
108
|
+
...innerProps,
|
|
109
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
110
|
+
value: field.value,
|
|
111
|
+
onChange: (value) => {
|
|
112
|
+
field.onChange(value);
|
|
113
|
+
field.onBlur();
|
|
114
|
+
},
|
|
115
|
+
onBlur: field.onBlur,
|
|
116
|
+
isDirty,
|
|
117
|
+
isDisabled: field.disabled || props.isDisabled || !!controlWithOptions._options?.disabled,
|
|
118
|
+
error: props.error ?? error?.message
|
|
119
|
+
})
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
return /* @__PURE__ */ jsx(QueryAutocompleteContent, { ...props });
|
|
123
|
+
};
|
|
124
|
+
const QueryAutocomplete = memo(QueryAutocompleteComponent);
|
|
125
|
+
//#endregion
|
|
126
|
+
export { QueryAutocomplete };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
3
|
+
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-Denoy4V_.js";
|
|
5
|
+
import { t as Select } from "../Select-O9dprkTa.js";
|
|
6
|
+
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
7
|
+
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
//#region src/components/inputs/Selection/Select/QuerySelect.tsx
|
|
10
|
+
const LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, initialFocusFromEnd, ...props }) => {
|
|
11
|
+
const ui = UIConfig.useConfig();
|
|
12
|
+
const [search, setSearch] = useState("");
|
|
13
|
+
const focusRootRef = useRef(null);
|
|
14
|
+
const didRestoreFocusRef = useRef(false);
|
|
15
|
+
useLayoutEffect(() => {
|
|
16
|
+
if (initialFocusFromEnd === void 0 || didRestoreFocusRef.current || !focusRootRef.current) return;
|
|
17
|
+
didRestoreFocusRef.current = true;
|
|
18
|
+
getStaticInputFocusTarget(focusRootRef.current, initialFocusFromEnd).focus();
|
|
19
|
+
}, [initialFocusFromEnd]);
|
|
20
|
+
const isSearchable = props.isSearchable ?? ui.select.isSearchable;
|
|
21
|
+
const value = "value" in props ? props.value : void 0;
|
|
22
|
+
const selectedIdsToResolve = getSelectionIdsToResolve({
|
|
23
|
+
initialSelection: props.initialSelection,
|
|
24
|
+
value,
|
|
25
|
+
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
26
|
+
});
|
|
27
|
+
const shouldEnableInitialQuery = selectedIdsToResolve.count > 0;
|
|
28
|
+
const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.querySelect?.isInitialQueryDisabled;
|
|
29
|
+
const shouldDisableInitialQuery = !isQueryEnabledInitially && !shouldEnableInitialQuery && (selectedIdsToResolve.isResolvedByInitialSelection || isInitialQueryDisabled);
|
|
30
|
+
const { items, totalItems, isLoading, handleEnableQuery, hasNextPage, fetchNextPage } = useQueryAutocomplete({
|
|
31
|
+
query,
|
|
32
|
+
queryParams,
|
|
33
|
+
queryOptions,
|
|
34
|
+
mapItems: useCallback((data) => getQueryItems(data, queryMap), [queryMap]),
|
|
35
|
+
resolveSelectedItemsWithIds: resolveSelectedItemsWithIds ?? ui.querySelect?.resolveSelectedItemsWithIds,
|
|
36
|
+
search: isSearchable ? search : void 0,
|
|
37
|
+
initialQueryState: shouldDisableInitialQuery,
|
|
38
|
+
selectedIdsToResolve: selectedIdsToResolve.items
|
|
39
|
+
});
|
|
40
|
+
const { onSearchChange } = props;
|
|
41
|
+
const selectProps = useMemo(() => {
|
|
42
|
+
const { isInitialQueryDisabled: _, onSearchChange: __, ...rest } = props;
|
|
43
|
+
return rest;
|
|
44
|
+
}, [props]);
|
|
45
|
+
const handleSearchChange = useCallback((value) => {
|
|
46
|
+
setSearch(value);
|
|
47
|
+
handleEnableQuery();
|
|
48
|
+
onSearchChange?.(value);
|
|
49
|
+
}, [handleEnableQuery, onSearchChange]);
|
|
50
|
+
const asyncSelectProps = useMemo(() => ({
|
|
51
|
+
...selectProps,
|
|
52
|
+
items,
|
|
53
|
+
isLoading,
|
|
54
|
+
totalItems,
|
|
55
|
+
hasLoadMore: hasNextPage,
|
|
56
|
+
onLoadMore: fetchNextPage,
|
|
57
|
+
searchDebounceDelay: props.searchDebounceDelay ?? ui.querySelect?.searchDebounceDelay,
|
|
58
|
+
onMouseEnter: handleEnableQuery,
|
|
59
|
+
onFocusCapture: handleEnableQuery,
|
|
60
|
+
...isSearchable && {
|
|
61
|
+
isClientSearchDisabled: true,
|
|
62
|
+
onSearchChange: handleSearchChange
|
|
63
|
+
}
|
|
64
|
+
}), [
|
|
65
|
+
selectProps,
|
|
66
|
+
items,
|
|
67
|
+
isLoading,
|
|
68
|
+
totalItems,
|
|
69
|
+
hasNextPage,
|
|
70
|
+
fetchNextPage,
|
|
71
|
+
props.searchDebounceDelay,
|
|
72
|
+
ui.querySelect?.searchDebounceDelay,
|
|
73
|
+
handleEnableQuery,
|
|
74
|
+
isSearchable,
|
|
75
|
+
handleSearchChange
|
|
76
|
+
]);
|
|
77
|
+
return /* @__PURE__ */ jsx(Select, {
|
|
78
|
+
...asyncSelectProps,
|
|
79
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, focusRootRef),
|
|
80
|
+
renderStaticInput: initialFocusFromEnd === void 0 && (props.renderStaticInput ?? ui.querySelect?.renderStaticInput)
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
const QuerySelectContent = (props) => {
|
|
84
|
+
const ui = UIConfig.useConfig();
|
|
85
|
+
const isInitialQueryDisabled = props.isInitialQueryDisabled ?? ui.querySelect?.isInitialQueryDisabled;
|
|
86
|
+
const value = "value" in props ? props.value : void 0;
|
|
87
|
+
const selection = getSelectionIdsToResolve({
|
|
88
|
+
initialSelection: props.initialSelection,
|
|
89
|
+
value,
|
|
90
|
+
mapInitialToSelectItem: props.mapInitialToSelectItem
|
|
91
|
+
});
|
|
92
|
+
const [initialFocusFromEnd, setInitialFocusFromEnd] = useState();
|
|
93
|
+
const [isQueryMounted, setIsQueryMounted] = useState(() => !isInitialQueryDisabled && !selection.isResolvedByInitialSelection);
|
|
94
|
+
if (!selection.isResolvedByInitialSelection || isQueryMounted) return /* @__PURE__ */ jsx(LoadedQuerySelectContent, {
|
|
95
|
+
...props,
|
|
96
|
+
isQueryEnabledInitially: isQueryMounted,
|
|
97
|
+
initialFocusFromEnd
|
|
98
|
+
});
|
|
99
|
+
const { query: _, queryParams: _queryParams, queryOptions: _queryOptions, queryMap: _queryMap, resolveSelectedItemsWithIds: _resolveSelectedItemsWithIds, isInitialQueryDisabled: _isInitialQueryDisabled, ...selectProps } = props;
|
|
100
|
+
const mountQuery = () => setIsQueryMounted(true);
|
|
101
|
+
return /* @__PURE__ */ jsx(Select, {
|
|
102
|
+
...selectProps,
|
|
103
|
+
items: [],
|
|
104
|
+
renderStaticInput: props.renderStaticInput ?? ui.querySelect?.renderStaticInput,
|
|
105
|
+
onMouseEnter: mountQuery,
|
|
106
|
+
onFocusCapture: (event) => {
|
|
107
|
+
setInitialFocusFromEnd(event.relatedTarget instanceof Node && !!(event.target.compareDocumentPosition(event.relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING));
|
|
108
|
+
mountQuery();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
const QuerySelectComponent = (props) => {
|
|
113
|
+
if ("field" in props && props.field) {
|
|
114
|
+
const { field, ref, ...innerProps } = props;
|
|
115
|
+
const controlWithOptions = field.form;
|
|
116
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
117
|
+
control: field.form,
|
|
118
|
+
name: field.name,
|
|
119
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(QuerySelectContent, {
|
|
120
|
+
...innerProps,
|
|
121
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
122
|
+
value: field.value,
|
|
123
|
+
onChange: (value) => {
|
|
124
|
+
field.onChange(value);
|
|
125
|
+
field.onBlur();
|
|
126
|
+
},
|
|
127
|
+
onBlur: field.onBlur,
|
|
128
|
+
isDirty,
|
|
129
|
+
isDisabled: field.disabled || props.isDisabled || !!controlWithOptions._options?.disabled,
|
|
130
|
+
error: props.error ?? error?.message
|
|
131
|
+
})
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
return /* @__PURE__ */ jsx(QuerySelectContent, { ...props });
|
|
135
|
+
};
|
|
136
|
+
const QuerySelect = memo(QuerySelectComponent);
|
|
137
|
+
//#endregion
|
|
138
|
+
export { QuerySelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Radio, type RadioProps, type RadioRenderProps } 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{useFocusRing as d}from"react-aria/useFocusRing";import{useHover as f}from"react-aria/useHover";import{VisuallyHidden as p}from"react-aria/VisuallyHidden";import{useRadio as m}from"react-aria/useRadioGroup";import"react-stately/useRadioGroupState";const h=Symbol(`default`);function g(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 _(e,t){let n=a(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,...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 y(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function b(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 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(null),w=r(null),T=i(function(e,r){let{inputRef:i=null,...a}=e;[e,r]=v(a,r,C);let s=n.useContext(w),c=l(o(()=>t(i,e.inputRef===void 0?null:e.inputRef),[i,e.inputRef])),u=m({...y(e),children:typeof e.children==`function`||e.children},s,c);return n.createElement(E.Provider,{value:{...u,inputRef:c,defaultClassName:`react-aria-Radio`}},n.createElement(D,{...e,ref:r}))}),E=r(null),D=i(function(t,r){let{labelProps:i,inputProps:o,isSelected:s,isDisabled:c,isPressed:l,defaultClassName:m,inputRef:h}=a(E),_=n.useContext(w),{isFocused:v,isFocusVisible:y,focusProps:b}=d(),x=c||_.isReadOnly,{hoverProps:C,isHovered:T}=f({...t,isDisabled:x}),D=g({...t,defaultClassName:m,values:{isSelected:s,isPressed:l,isHovered:T,isFocused:v,isFocusVisible:y,isDisabled:c,isReadOnly:_.isReadOnly,isInvalid:_.isInvalid,isRequired:_.isRequired}}),O=u(t,{global:!0});return delete O.id,delete O.onClick,n.createElement(S.label,{...e(O,i,C,D),ref:r,"data-selected":s||void 0,"data-pressed":l||void 0,"data-hovered":T||void 0,"data-focused":v||void 0,"data-focus-visible":y||void 0,"data-disabled":c||void 0,"data-readonly":_.isReadOnly||void 0,"data-invalid":_.isInvalid||void 0,"data-required":_.isRequired||void 0},n.createElement(p,{elementType:`span`},n.createElement(`input`,{...e(o,b),ref:h})),D.children)});export{T as Radio};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioGroup, type RadioGroupProps, type RadioGroupRenderProps } 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/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-dom";import{useRadioGroup as p}from"react-aria/useRadioGroup";import{useRadioGroupState as m}from"react-stately/useRadioGroupState";const h=Symbol(`default`);function g({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function _(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 v(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 y(n,r,i){let{ref:a,...o}=v(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 b(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 x(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 S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=i(x.bind(null,t)),S[t]=n),n}}),w=r({}),T=r({}),E=r(null),D=r(null),O=r(null);function k(e){let t=c({});return n.createElement(O.Provider,{value:t},e.children)}const A=r(null),j=r(null),M=i(function(t,r){[t,r]=y(t,r,A);let{validationBehavior:i}=v(D)||{},a=t.validationBehavior??i??`native`,o=m({...t,validationBehavior:a}),[s,c]=b(!t[`aria-label`]&&!t[`aria-labelledby`]),{radioGroupProps:l,labelProps:u,descriptionProps:d,errorMessageProps:h,...x}=p({...t,label:c,validationBehavior:a},o),S=_({...t,values:{orientation:t.orientation||`vertical`,isDisabled:o.isDisabled,isReadOnly:o.isReadOnly,isRequired:o.isRequired,isInvalid:o.isInvalid,state:o},defaultClassName:`react-aria-RadioGroup`}),O=f(t,{global:!0});return n.createElement(C.div,{...e(O,S,l),ref:r,slot:t.slot||void 0,"data-orientation":t.orientation||`vertical`,"data-invalid":o.isInvalid||void 0,"data-disabled":o.isDisabled||void 0,"data-readonly":o.isReadOnly||void 0,"data-required":o.isRequired||void 0},n.createElement(g,{values:[[j,o],[w,{...u,ref:s,elementType:`span`}],[T,{slots:{description:d,errorMessage:h}}],[E,x]]},n.createElement(k,null,S.children)))});export{M as RadioGroup};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RangeCalendar, type RangeCalendarProps, type RangeCalendarRenderProps } 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/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"react-aria/useCalendar";import{useRangeCalendar as d}from"react-aria/useRangeCalendar";import{createCalendar as f}from"@internationalized/date";import{useRangeCalendarState as p}from"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import{useLocale as m}from"react-aria/I18nProvider";import{VisuallyHidden as h}from"react-aria/VisuallyHidden";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: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 y(e,t){let n=a(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,...s}=y(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 x(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 S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=i(x.bind(null,t)),S[t]=n),n}}),w=r({}),T=r({}),E=r({}),D=r(null),O=r(null),k=i(function(t,r){[t,r]=b(t,r,D);let{locale:i}=m(),a=p({...t,locale:i,createCalendar:t.createCalendar||f}),{calendarProps:o,prevButtonProps:s,nextButtonProps:c,errorMessageProps:l,title:g}=d(t,a,r),y=v({...t,values:{state:a,isDisabled:t.isDisabled||!1,isInvalid:a.isValueInvalid},defaultClassName:`react-aria-RangeCalendar`}),x=u(t,{global:!0});return n.createElement(C.div,{...e(y,x,o),ref:r,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":a.isValueInvalid||void 0},n.createElement(_,{values:[[w,{slots:{previous:s,next:c}}],[T,{"aria-hidden":!0,level:2,children:g}],[O,a],[D,t],[E,{slots:{errorMessage:l}}]]},n.createElement(h,null,n.createElement(`h2`,null,o[`aria-label`])),y.children,n.createElement(h,null,n.createElement(`button`,{"aria-label":c[`aria-label`],disabled:c.isDisabled,onClick:()=>a.focusNextPage(),tabIndex:-1}))))});export{k as RangeCalendar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResizableTableContainer, type ResizableTableContainerProps } 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,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{createLeafComponent 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/useFocusRing";import"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as g,FilterableNode as _,LoaderNode as v}from"react-aria/private/collections/BaseCollection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-dom";import"react-aria/FocusScope";import{inertValue as y}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import{useLoadMoreSentinel as b}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useLocalizedStringFormatter";import{useResizeObserver as x}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMultipleSelectionState";import{isScrollable as S}from"react-aria/private/utils/isScrollable";import"react-stately/private/table/TableCollection";import{useTableColumnResizeState as C}from"react-stately/useTableState";import"react-stately/useControlledState";import"react-aria/useTable";function w(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 T(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};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=a(T.bind(null,t)),E[t]=n),n}}),O={CollectionRoot({collection:e,renderDropIndicator:t}){return k(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return k(e,t,n)}};function k(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,A(e,t,r))}})}function A(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 j=i(O),M=i(null),N=a(function(e,t){let r=f(t),i=l(null),a=l(null),[o,s]=u(0);d(()=>{let e=i.current;for(;e&&e!==r.current&&!S(e);)e=e.parentElement;a.current=e},[r]),x({ref:a,box:`border-box`,onResize(){s(a.current?.clientWidth??0)}}),d(()=>{s(a.current?.clientWidth??0)},[]);let p=c(()=>({tableRef:i,scrollRef:a,tableWidth:o,useTableColumnResizeState:C,onResizeStart:e.onResizeStart,onResize:e.onResize,onResizeEnd:e.onResizeEnd}),[i,o,e.onResizeStart,e.onResize,e.onResizeEnd]);return n.createElement(D.div,{render:e.render,...h(e,{global:!0}),ref:r,className:e.className||`react-aria-ResizableTableContainer`,style:e.style,onScroll:e.onScroll},n.createElement(M.Provider,{value:p},e.children))}),P=i(null);(class extends g{static{this.type=`tableheader`}}),class extends g{static{this.type=`column`}},class extends _{static{this.type=`tablebody`}},class extends _{static{this.type=`tablefooter`}},class extends g{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};let F=a(function(e,t){let{isVirtualized:r}=s(j);return r?n.createElement(D.div,{...e,ref:t}):n.createElement(D.tr,{...e,ref:t})});(class extends g{static{this.type=`cell`}});let I=a(function(e,t){let{isVirtualized:r}=s(j);return r?n.createElement(D.div,{...e,ref:t}):n.createElement(D.td,{...e,ref:t})});p(v,function(t,r,i){let a=s(P),{isVirtualized:o}=s(j),{isLoading:u,onLoadMore:d,scrollOffset:f,...p}=t,m=a.collection.columns.length,g=l(null),_=c(()=>({onLoadMore:d,collection:a?.collection,sentinelRef:g,scrollOffset:f}),[d,f,a?.collection]);b(_,g);let v=w({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":i.level+1},values:void 0}),x={},S={},C={};return o?(S[`aria-colspan`]=m,C={display:`contents`}):S.colSpan=m,n.createElement(n.Fragment,null,n.createElement(F,{style:{height:0},inert:y(!0)},n.createElement(I,{style:{padding:0,border:0}},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:g,style:{position:`relative`,height:1,width:1}}))),u&&v.children&&n.createElement(F,{...e(h(t,{global:!0}),x),...v,role:`row`,ref:r,"aria-level":i.level+1,"data-level":i.level+1},n.createElement(I,{role:`rowheader`,...S,style:C},v.children)))});export{N as ResizableTableContainer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RouterProvider } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/CollectionBuilder";import"react-aria/Collection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-stately/private/form/useFormValidationState";import"react-stately/Color";import"react-aria/useFilter";import"react-aria/useDrop";import"react-aria/SSRProvider";import"react-stately/useVirtualizerState";import"react-stately/useTokenFieldState";import"react-stately/useToastState";import"react-aria/useDrag";import{RouterProvider as e}from"react-aria/private/utils/openLink";import"react-aria/Pressable";import"react-aria/Focusable";import"react-stately/useListData";import"react-stately/useTreeData";import"react-stately/useAsyncList";export{e as RouterProvider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Row, type RowProps, type RowRenderProps } 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,useEffect as c,useMemo as l,useRef as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"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{useFocusRing as _}from"react-aria/useFocusRing";import{useHover as v}from"react-aria/useHover";import{Collection as y}from"react-aria/Collection";import{CollectionNode as b,FilterableNode as x,LoaderNode as S}from"react-aria/private/collections/BaseCollection";import"react-aria/private/collections/Hidden";import"react-aria/private/live-announcer/LiveAnnouncer";import"react-aria/useButton";import"react-aria/useId";import"react-aria/I18nProvider";import{useVisuallyHidden as C}from"react-aria/VisuallyHidden";import"react-aria/useCheckboxGroup";import"react-aria/useCheckbox";import"react-stately/useCheckboxGroupState";import"react-stately/useToggleState";import"react-dom";import"react-aria/FocusScope";import{inertValue as w}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import{useLoadMoreSentinel as T}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useLocalizedStringFormatter";import"react-aria/private/utils/useResizeObserver";import"react-stately/useMultipleSelectionState";import"react-aria/private/utils/isScrollable";import"react-stately/private/table/TableCollection";import"react-stately/useTableState";import"react-stately/useControlledState";import{useTableRow as E,useTableSelectionCheckbox as ee}from"react-aria/useTable";const D=Symbol(`default`);function O({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function k(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 A(e,r,i){let{render:a,...o}=r,s=u(null),c=l(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:c};return a?a(f,void 0):n.createElement(e,f)}const j={},M=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=j[t];return n||(n=a(A.bind(null,t)),j[t]=n),n}}),N={CollectionRoot({collection:e,renderDropIndicator:t}){return P(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return P(e,t,n)}};function P(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,F(e,t,r))}})}function F(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 I=i(N),L=i({}),R=i(null),z=i(null),B=i({}),V=i({isSelected:!1}),H=i(null);(class extends b{static{this.type=`tableheader`}}),class extends b{static{this.type=`column`}},class extends x{static{this.type=`tablebody`}},class extends x{static{this.type=`tablefooter`}};const U=i({isFocusVisibleWithinRow:!1});var W=class extends b{static{this.type=`item`}filter(e,t,n){let r=e.getChildren(this.key);for(let i of r)if(n(i.textValue,i)){let n=this.clone();return t.addDescendants(n,e),n}return null}};let G=a(function(e,t){let{isVirtualized:r}=s(I);return r?n.createElement(M.div,{...e,ref:t}):n.createElement(M.tr,{...e,ref:t})});const K=p(W,(t,r,i)=>{let a=f(r),o=s(H),{dragAndDropHooks:l,dragState:d,dropState:p}=s(B),{isVirtualized:m,CollectionBranch:h}=s(I),y=d&&!(d.isDisabled||d.selectionManager.isDisabled(i.key)),{rowProps:b,expandButtonProps:x,...S}=E({node:i,shouldSelectOnPressUp:!!d,isVirtualized:m},o,a),{isFocused:w,isFocusVisible:T,focusProps:A}=_(),{isFocusVisible:j,focusProps:M}=_({within:!0}),{hoverProps:N,isHovered:P}=v({isDisabled:!S.allowsSelection&&!S.hasAction&&!y,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{checkboxProps:F}=ee({key:i.key},o),W;d&&l&&(W=l.useDraggableItem({key:i.key,hasDragButton:!0},d));let K,J=u(null),{visuallyHiddenProps:te}=C();p&&l&&(K=l.useDropIndicator({target:{type:`item`,key:i.key,dropPosition:`on`}},p,J));let Y=u(null);c(()=>{d&&Y.current},[]);let X=d&&d.isDragging(i.key),{children:ne,...re}=t,Z=t.hasChildItems||o.collection.getItem(i.lastChildKey)?.type!==`cell`,Q=Z&&o.expandedKeys.has(i.key),ie=k({...re,id:void 0,defaultClassName:`react-aria-Row`,defaultStyle:{"--table-row-level":i.level+1},values:{...S,state:o,isHovered:P,isFocused:w,isFocusVisible:T,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,isDragging:X,isDropTarget:K?.isDropTarget,isFocusVisibleWithin:j,id:i.key,hasChildItems:Z,isExpanded:Q,level:i.level+1}}),$=g(t,{global:!0});return delete $.id,delete $.onClick,n.createElement(n.Fragment,null,K&&!K.isHidden&&n.createElement(G,{role:`row`,style:{height:0}},n.createElement(q,{role:`gridcell`,colSpan:o.collection.columnCount,style:{padding:0}},n.createElement(`div`,{role:`button`,...te,...K.dropIndicatorProps,ref:J}))),n.createElement(G,{...e($,ie,b,A,N,W?.dragProps,M),ref:a,"data-disabled":S.isDisabled||void 0,"data-selected":S.isSelected||void 0,"data-hovered":P||void 0,"data-focused":S.isFocused||void 0,"data-focus-visible":T||void 0,"data-pressed":S.isPressed||void 0,"data-dragging":X||void 0,"data-drop-target":K?.isDropTarget||void 0,"data-selection-mode":o.selectionManager.selectionMode===`none`?void 0:o.selectionManager.selectionMode,"data-focus-visible-within":j||void 0,"data-expanded":Q||void 0,"data-has-child-items":Z||void 0,"data-level":i.level+1},n.createElement(O,{values:[[R,{slots:{[D]:{},selection:F}}],[z,{slots:{[D]:{},selection:F}}],[L,{slots:{[D]:{},chevron:x,drag:{...W?.dragButtonProps,ref:Y,style:{pointerEvents:`none`}}}}],[V,{isSelected:S.isSelected}],[U,{isFocusVisibleWithinRow:j}]]},n.createElement(h,{collection:o.collection,parent:i}))))},e=>{if(e.id==null&&typeof e.children==`function`)throw Error(`No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.`);let t=[e.value].concat(e.dependencies);return n.createElement(y,{dependencies:t,items:e.columns,idScope:e.id},e.children)});(class extends b{static{this.type=`cell`}});let q=a(function(e,t){let{isVirtualized:r}=s(I);return r?n.createElement(M.div,{...e,ref:t}):n.createElement(M.td,{...e,ref:t})});m(S,function(t,r,i){let a=s(H),{isVirtualized:o}=s(I),{isLoading:c,onLoadMore:d,scrollOffset:f,...p}=t,m=a.collection.columns.length,h=u(null),_=l(()=>({onLoadMore:d,collection:a?.collection,sentinelRef:h,scrollOffset:f}),[d,f,a?.collection]);T(_,h);let v=k({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":i.level+1},values:void 0}),y={},b={},x={};return o?(b[`aria-colspan`]=m,x={display:`contents`}):b.colSpan=m,n.createElement(n.Fragment,null,n.createElement(G,{style:{height:0},inert:w(!0)},n.createElement(q,{style:{padding:0,border:0}},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:h,style:{position:`relative`,height:1,width:1}}))),c&&v.children&&n.createElement(G,{...e(g(t,{global:!0}),y),...v,role:`row`,ref:r,"aria-level":i.level+1,"data-level":i.level+1},n.createElement(q,{role:`rowheader`,...b,style:x},v.children)))});export{K as Row};
|