@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,109 @@
|
|
|
1
|
+
import { t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "../Dialog-CLWfxiie.js";
|
|
2
|
+
import { Suspense, lazy, useEffect, useState } from "react";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/overlays/BottomSheet/BottomSheet.lazy.tsx
|
|
6
|
+
const BottomSheetRenderer = lazy(() => import("../BottomSheet-ByyAU_dJ.js").then(({ BottomSheet }) => ({ default: BottomSheet })));
|
|
7
|
+
const BottomSheet = (t0) => {
|
|
8
|
+
const $ = c(26);
|
|
9
|
+
let isOpen;
|
|
10
|
+
let onOpenChange;
|
|
11
|
+
let props;
|
|
12
|
+
let trigger;
|
|
13
|
+
if ($[0] !== t0) {
|
|
14
|
+
({isOpen, onOpenChange, trigger, ...props} = t0);
|
|
15
|
+
$[0] = t0;
|
|
16
|
+
$[1] = isOpen;
|
|
17
|
+
$[2] = onOpenChange;
|
|
18
|
+
$[3] = props;
|
|
19
|
+
$[4] = trigger;
|
|
20
|
+
} else {
|
|
21
|
+
isOpen = $[1];
|
|
22
|
+
onOpenChange = $[2];
|
|
23
|
+
props = $[3];
|
|
24
|
+
trigger = $[4];
|
|
25
|
+
}
|
|
26
|
+
const [isSheetOpen, setIsSheetOpen] = useState(Boolean(isOpen));
|
|
27
|
+
const hasTrigger = Boolean(trigger);
|
|
28
|
+
let t1;
|
|
29
|
+
let t2;
|
|
30
|
+
if ($[5] !== hasTrigger || $[6] !== isOpen) {
|
|
31
|
+
t1 = () => {
|
|
32
|
+
if (hasTrigger) setIsSheetOpen(Boolean(isOpen));
|
|
33
|
+
};
|
|
34
|
+
t2 = [hasTrigger, isOpen];
|
|
35
|
+
$[5] = hasTrigger;
|
|
36
|
+
$[6] = isOpen;
|
|
37
|
+
$[7] = t1;
|
|
38
|
+
$[8] = t2;
|
|
39
|
+
} else {
|
|
40
|
+
t1 = $[7];
|
|
41
|
+
t2 = $[8];
|
|
42
|
+
}
|
|
43
|
+
useEffect(t1, t2);
|
|
44
|
+
let t3;
|
|
45
|
+
if ($[9] !== onOpenChange) {
|
|
46
|
+
t3 = (open) => {
|
|
47
|
+
setIsSheetOpen(open);
|
|
48
|
+
onOpenChange?.(open);
|
|
49
|
+
};
|
|
50
|
+
$[9] = onOpenChange;
|
|
51
|
+
$[10] = t3;
|
|
52
|
+
} else t3 = $[10];
|
|
53
|
+
const handleOpenChange = t3;
|
|
54
|
+
if (trigger) {
|
|
55
|
+
let t4;
|
|
56
|
+
if ($[11] !== handleOpenChange || $[12] !== isSheetOpen || $[13] !== props) {
|
|
57
|
+
t4 = isSheetOpen ? /* @__PURE__ */ jsx(Suspense, {
|
|
58
|
+
fallback: null,
|
|
59
|
+
children: /* @__PURE__ */ jsx(BottomSheetRenderer, {
|
|
60
|
+
...props,
|
|
61
|
+
isOpen: true,
|
|
62
|
+
onOpenChange: handleOpenChange
|
|
63
|
+
})
|
|
64
|
+
}) : null;
|
|
65
|
+
$[11] = handleOpenChange;
|
|
66
|
+
$[12] = isSheetOpen;
|
|
67
|
+
$[13] = props;
|
|
68
|
+
$[14] = t4;
|
|
69
|
+
} else t4 = $[14];
|
|
70
|
+
let t5;
|
|
71
|
+
if ($[15] !== handleOpenChange || $[16] !== isSheetOpen || $[17] !== t4 || $[18] !== trigger) {
|
|
72
|
+
t5 = /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
73
|
+
isOpen: isSheetOpen,
|
|
74
|
+
onOpenChange: handleOpenChange,
|
|
75
|
+
children: [trigger, t4]
|
|
76
|
+
});
|
|
77
|
+
$[15] = handleOpenChange;
|
|
78
|
+
$[16] = isSheetOpen;
|
|
79
|
+
$[17] = t4;
|
|
80
|
+
$[18] = trigger;
|
|
81
|
+
$[19] = t5;
|
|
82
|
+
} else t5 = $[19];
|
|
83
|
+
return t5;
|
|
84
|
+
}
|
|
85
|
+
let t4;
|
|
86
|
+
if ($[20] !== isOpen || $[21] !== onOpenChange || $[22] !== props) {
|
|
87
|
+
t4 = isOpen ? /* @__PURE__ */ jsx(BottomSheetRenderer, {
|
|
88
|
+
...props,
|
|
89
|
+
isOpen: true,
|
|
90
|
+
onOpenChange
|
|
91
|
+
}) : null;
|
|
92
|
+
$[20] = isOpen;
|
|
93
|
+
$[21] = onOpenChange;
|
|
94
|
+
$[22] = props;
|
|
95
|
+
$[23] = t4;
|
|
96
|
+
} else t4 = $[23];
|
|
97
|
+
let t5;
|
|
98
|
+
if ($[24] !== t4) {
|
|
99
|
+
t5 = /* @__PURE__ */ jsx(Suspense, {
|
|
100
|
+
fallback: null,
|
|
101
|
+
children: t4
|
|
102
|
+
});
|
|
103
|
+
$[24] = t4;
|
|
104
|
+
$[25] = t5;
|
|
105
|
+
} else t5 = $[25];
|
|
106
|
+
return t5;
|
|
107
|
+
};
|
|
108
|
+
//#endregion
|
|
109
|
+
export { BottomSheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/mergeProps";import{mergeRefs as e}from"react-aria/mergeRefs";import t,{createContext as n,forwardRef as r,useContext as i,useMemo as a,useRef as o}from"react";import{useLayoutEffect as s}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";import{createLeafComponent as c}from"react-aria/CollectionBuilder";import"react-aria/useLink";import{filterDOMProps as l}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/useBreadcrumbs";import"react-aria/Collection";import{CollectionNode as u}from"react-aria/private/collections/BaseCollection";const d=Symbol(`default`);function f(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:o,defaultStyle:s,values:c,render:l}=e;return a(()=>{let e,a,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,a=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:o}):r??o,{className:e??i,style:a||s?{...s,...a}:void 0,children:u??o,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,o,s,c,l])}function p(e,t){let n=i(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||d;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function m(n,r,i){let{render:c,...l}=r,u=o(null),d=a(()=>e(i,u),[i,u]);s(()=>{},[n,c]);let f={...l,ref:d};return c?c(f,void 0):t.createElement(n,f)}const h={},g=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=h[t];return n||(n=r(m.bind(null,t)),h[t]=n),n}}),_=n(null),v=n(null);var y=class extends u{static{this.type=`item`}};const b=c(y,function(e,n,r){let i=r.nextKey==null,{isDisabled:a,onAction:o}=p(v),s={"aria-current":i?`page`:null,isDisabled:a||i,onPress:()=>o?.(r.key)},c=f({...r.props,children:r.rendered,values:{isDisabled:a||i,isCurrent:i},defaultClassName:`react-aria-Breadcrumb`}),u=l(e,{global:!0,labelable:!0});return delete u.id,t.createElement(g.li,{...u,...c,ref:n,"data-disabled":a||i||void 0,"data-current":i||void 0},t.createElement(_.Provider,{value:s},c.children))});export{b as Breadcrumb};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Breadcrumbs, type BreadcrumbsProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useContext as s,useMemo as c,useRef as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{CollectionBuilder as f}from"react-aria/CollectionBuilder";import{useCachedChildren as p}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as m}from"react-aria/filterDOMProps";import{useBreadcrumbs as h}from"react-aria/useBreadcrumbs";import{Collection as g}from"react-aria/Collection";import{CollectionNode as _}from"react-aria/private/collections/BaseCollection";const v=Symbol(`default`);function y(e,t){let n=s(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||v;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function b(n,r,i){let{ref:a,...o}=y(i,n.slot)||{},s=d(c(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,s]}function x(e,r,i){let{render:a,...o}=r,s=l(null),d=c(()=>t(i,s),[i,s]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const S={},C=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=S[t];return n||(n=a(x.bind(null,t)),S[t]=n),n}}),w={CollectionRoot({collection:e,renderDropIndicator:t}){return T(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return T(e,t,n)}};function T(e,t,r){return p({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,E(e,t,r))}})}function E(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 D=i(w),O=i(null),k=a(function(t,r){[t,r]=b(t,r,O);let{CollectionRoot:i}=s(D),{navProps:a}=h(t),o=m(t,{global:!0,labelable:!0});return n.createElement(f,{content:n.createElement(g,t)},s=>n.createElement(C.ol,{render:t.render,ref:r,...e(o,a),slot:t.slot||void 0,style:t.style,className:t.className??`react-aria-Breadcrumbs`},n.createElement(O.Provider,{value:t},n.createElement(i,{collection:s}))))});(class extends _{static{this.type=`item`}});export{k as Breadcrumbs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Button, type ButtonProps, type ButtonRenderProps } 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,useEffect as o,useMemo as s,useRef as c}from"react";import{useLayoutEffect as l}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as u}from"react-aria/useObjectRef";import{filterDOMProps as d}from"react-aria/filterDOMProps";import{useFocusRing as f}from"react-aria/useFocusRing";import{useHover as p}from"react-aria/useHover";import{createHideableComponent as m}from"react-aria/private/collections/Hidden";import"react-aria/useProgressBar";import"react-stately/private/utils/number";import{announce as h}from"react-aria/private/live-announcer/LiveAnnouncer";import{useButton as g}from"react-aria/useButton";import{useId as _}from"react-aria/useId";const v=Symbol(`default`);function y(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 b(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||v;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 x(n,r,i){let{ref:a,...o}=b(i,n.slot)||{},c=u(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 S(e,r,i){let{render:a,...o}=r,u=c(null),d=s(()=>t(i,u),[i,u]);l(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const C={},w=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=C[t];return n||(n=i(S.bind(null,t)),C[t]=n),n}}),T=r(null),E=r({}),D=m(function(t,r){[t,r]=x(t,r,E);let i=t,{isPending:a}=i,{buttonProps:s,isPressed:l}=g(t,r);s=k(s,a);let{focusProps:u,isFocused:m,isFocusVisible:v}=f(t),{hoverProps:b,isHovered:S}=p({...t,isDisabled:t.isDisabled||a}),C={isHovered:S,isPressed:(i.isPressed||l)&&!a,isFocused:m,isFocusVisible:v,isDisabled:t.isDisabled||!1,isPending:a??!1},D=y({...t,values:C,defaultClassName:`react-aria-Button`}),O=_(s.id),A=_(),j=s[`aria-labelledby`];a&&(j?j=`${j} ${A}`:s[`aria-label`]&&(j=`${O} ${A}`));let M=c(a);o(()=>{let e={"aria-labelledby":j||O};(!M.current&&m&&a||M.current&&m&&!a)&&h(e,`assertive`),M.current=a},[a,m,j,O]);let N=d(t,{global:!0});return delete N.onClick,n.createElement(w.button,{...e(N,D,s,u,b),type:s.type===`submit`&&a?`button`:s.type,id:O,ref:r,"aria-labelledby":j,slot:t.slot||void 0,"aria-disabled":a?`true`:s[`aria-disabled`],"data-disabled":t.isDisabled||void 0,"data-pressed":C.isPressed||void 0,"data-hovered":S||void 0,"data-focused":m||void 0,"data-pending":a||void 0,"data-focus-visible":v||void 0},n.createElement(T.Provider,{value:{id:A}},D.children))}),O=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function k(e,t){if(t){for(let t in e)t.startsWith(`on`)&&!O.test(t)&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}export{D as Button};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Calendar, type CalendarProps, type CalendarRenderProps } 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{useCalendar as d}from"react-aria/useCalendar";import"react-aria/useRangeCalendar";import{createCalendar as f}from"@internationalized/date";import"react-stately/useRangeCalendarState";import{useCalendarState as p}from"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),y=v({...t,values:{state:a,isDisabled:t.isDisabled||!1,isInvalid:a.isValueInvalid},defaultClassName:`react-aria-Calendar`}),x=u(t,{global:!0});return n.createElement(C.div,{...e(x,y,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 Calendar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarCell, type CalendarCellProps, type CalendarCellRenderProps } 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"react-aria/useObjectRef";import{filterDOMProps as l}from"react-aria/filterDOMProps";import{useFocusRing as u}from"react-aria/useFocusRing";import{useHover as d}from"react-aria/useHover";import{useCalendarCell as f}from"react-aria/useCalendar";import"react-aria/useRangeCalendar";import{isSameDay as p,isSameMonth as m,isToday as h}from"@internationalized/date";import"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";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,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 v={},y=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=v[t];return n||(n=i(_.bind(null,t)),v[t]=n),n}}),b=r(null),x=r(null),S=r(null),C=i(function({date:t,...r},i){let o=a(b),c=a(x),_=o??c,{startDate:v}=a(S)??{startDate:_.visibleRange.start},C=_.visibleDuration.days||_.visibleDuration.weeks?!1:!m(v,t),w=h(t,_.timeZone),T=s(null),{cellProps:E,buttonProps:D,...O}=f({date:t,isOutsideMonth:C},_,T),{hoverProps:k,isHovered:A}=d({...r,isDisabled:O.isDisabled||O.isUnavailable}),{focusProps:j,isFocusVisible:M}=u();M&&=O.isFocused;let N=!1,P=!1;`highlightedRange`in _&&_.highlightedRange&&(N=p(t,_.highlightedRange.start),P=p(t,_.highlightedRange.end));let F=g({...r,defaultChildren:O.formattedDate,defaultClassName:`react-aria-CalendarCell`,values:{date:t,isHovered:A,isOutsideMonth:C,isFocusVisible:M,isSelectionStart:N,isSelectionEnd:P,isToday:w,...O}}),I={"data-focused":O.isFocused||void 0,"data-hovered":A||void 0,"data-pressed":O.isPressed||void 0,"data-unavailable":O.isUnavailable||void 0,"data-disabled":O.isDisabled||void 0,"data-focus-visible":M||void 0,"data-outside-visible-range":O.isOutsideVisibleRange||void 0,"data-outside-month":C||void 0,"data-selected":O.isSelected||void 0,"data-selection-start":N||void 0,"data-selection-end":P||void 0,"data-invalid":O.isInvalid||void 0,"data-today":w||void 0},L=l(r,{global:!0});return n.createElement(`td`,{...E,ref:i},n.createElement(y.div,{...e(L,D,j,k,I,F),ref:T}))});export{C as CalendarCell};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarGrid, type CalendarGridProps } 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"react-aria/useObjectRef";import{filterDOMProps as l}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import{useCalendarGrid as u}from"react-aria/useCalendar";import"react-aria/useRangeCalendar";import{endOfMonth as d}from"@internationalized/date";import"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";const f=Symbol(`default`);function p(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||f;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function m(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 h={},g=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=h[t];return n||(n=i(m.bind(null,t)),h[t]=n),n}}),_=r(null),v=r(null),y=r(null),b=r(null),x=r(null),S=i(function(t,r){let i=a(y),o=a(b),s=p(_),c=p(v),f=i??o,m=f.visibleRange.start;t.offset&&(m=m.add(t.offset));let h=s?.firstDayOfWeek??c?.firstDayOfWeek,{gridProps:S,headerProps:C,weekDays:T,weeksInMonth:D}=u({startDate:m,endDate:d(m),weekdayStyle:t.weekdayStyle,firstDayOfWeek:h},f),k=l(t,{global:!0});return n.createElement(x.Provider,{value:{headerProps:C,weekDays:T,startDate:m,weeksInMonth:D}},n.createElement(g.table,{render:t.render,...e(k,S),ref:r,style:t.style,cellPadding:0,className:t.className??`react-aria-CalendarGrid`},typeof t.children==`function`?n.createElement(n.Fragment,null,n.createElement(w,null,e=>n.createElement(E,null,e)),n.createElement(O,null,t.children)):t.children))});function C(t,r){let{children:i,style:o,className:s}=t,{headerProps:c,weekDays:u}=a(x),d=l(t,{global:!0});return n.createElement(g.thead,{render:t.render,...e(d,c),ref:r,style:o,className:s??`react-aria-CalendarGridHeader`},n.createElement(`tr`,null,u.map((e,t)=>n.cloneElement(i(e),{key:t}))))}const w=i(C);function T(e,t){let{children:r,style:i,className:a}=e,o=l(e,{global:!0});return n.createElement(g.th,{render:e.render,...o,ref:t,style:i,className:a||`react-aria-CalendarHeaderCell`},r)}const E=i(T);function D(e,t){let{children:r,style:i,className:o}=e,s=a(y),c=a(b),u=s??c,{startDate:d,weeksInMonth:f}=a(x),p=l(e,{global:!0});return n.createElement(g.tbody,{render:e.render,...p,ref:t,style:i,className:o??`react-aria-CalendarGridBody`},[...Array(f).keys()].map(e=>n.createElement(`tr`,{key:e},u.getDatesInWeek(e,d).map((e,t)=>e?n.cloneElement(r(e),{key:t}):n.createElement(`td`,{key:t})))))}const O=i(D);export{S as CalendarGrid};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarGridBody, type CalendarGridBodyProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/mergeProps";import{mergeRefs as e}from"react-aria/mergeRefs";import t,{createContext as n,forwardRef as r,useContext as i,useMemo as a,useRef as o}from"react";import{useLayoutEffect as s}from"react-aria/private/utils/useLayoutEffect";import"react-aria/useObjectRef";import{filterDOMProps as c}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/useCalendar";import"react-aria/useRangeCalendar";import"@internationalized/date";import"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";function l(n,r,i){let{render:c,...l}=r,u=o(null),d=a(()=>e(i,u),[i,u]);s(()=>{},[n,c]);let f={...l,ref:d};return c?c(f,void 0):t.createElement(n,f)}const u={},d=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=u[t];return n||(n=r(l.bind(null,t)),u[t]=n),n}}),f=n(null),p=n(null),m=n(null);function h(e,n){let{children:r,style:a,className:o}=e,s=i(f),l=i(p),u=s??l,{startDate:h,weeksInMonth:g}=i(m),_=c(e,{global:!0});return t.createElement(d.tbody,{render:e.render,..._,ref:n,style:a,className:o??`react-aria-CalendarGridBody`},[...Array(g).keys()].map(e=>t.createElement(`tr`,{key:e},u.getDatesInWeek(e,h).map((e,n)=>e?t.cloneElement(r(e),{key:n}):t.createElement(`td`,{key:n})))))}const g=r(h);export{g as CalendarGridBody};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarGridHeader, type CalendarGridHeaderProps } 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"react-aria/useObjectRef";import{filterDOMProps as l}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/useCalendar";import"react-aria/useRangeCalendar";import"@internationalized/date";import"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";function u(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 d={},f=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=d[t];return n||(n=i(u.bind(null,t)),d[t]=n),n}}),p=r(null);function m(t,r){let{children:i,style:o,className:s}=t,{headerProps:c,weekDays:u}=a(p),d=l(t,{global:!0});return n.createElement(f.thead,{render:t.render,...e(d,c),ref:r,style:o,className:s??`react-aria-CalendarGridHeader`},n.createElement(`tr`,null,u.map((e,t)=>n.cloneElement(i(e),{key:t}))))}const h=i(m);export{h as CalendarGridHeader};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarHeaderCell, type CalendarHeaderCellProps } 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";import{filterDOMProps as o}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import"react-aria/useHover";import"react-aria/useCalendar";import"react-aria/useRangeCalendar";import"@internationalized/date";import"react-stately/useRangeCalendarState";import"react-stately/useCalendarState";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";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={},l=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}});function u(e,n){let{children:r,style:i,className:a}=e,s=o(e,{global:!0});return t.createElement(l.th,{render:e.render,...s,ref:n,style:i,className:a||`react-aria-CalendarHeaderCell`},r)}const d=n(u);export{d as CalendarHeaderCell};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Cell, type CellProps, type CellRenderProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useContext as s,useMemo as c,useRef as l}from"react";import{useLayoutEffect as u}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as d}from"react-aria/useObjectRef";import{createLeafComponent as f}from"react-aria/CollectionBuilder";import{useCachedChildren as p}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as m}from"react-aria/filterDOMProps";import{useFocusRing as h}from"react-aria/useFocusRing";import{useHover as g}from"react-aria/useHover";import"react-aria/Collection";import{CollectionNode as _,FilterableNode as v,LoaderNode as y}from"react-aria/private/collections/BaseCollection";import"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-dom";import"react-aria/FocusScope";import{inertValue as b}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import{useLoadMoreSentinel as x}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{useTableCell as S}from"react-aria/useTable";function C(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 w(e,r,i){let{render:a,...o}=r,s=l(null),d=c(()=>t(i,s),[i,s]);u(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=a(w.bind(null,t)),T[t]=n),n}}),D={CollectionRoot({collection:e,renderDropIndicator:t}){return O(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return O(e,t,n)}};function O(e,t,r){return p({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){if(t.type===`content`)return n.createElement(n.Fragment,null);let i=t.render(t);return!r||t.type!==`item`?i:n.createElement(n.Fragment,null,r({type:`item`,key:t.key,dropPosition:`before`}),i,k(e,t,r))}})}function k(e,t,n){let i=t.key,a=e.getKeyAfter(i),s=a==null?null:e.getItem(a);for(;s!=null&&s.type!==`item`;)a=e.getKeyAfter(s.key),s=a==null?null:e.getItem(a);let c=t.nextKey==null?null:e.getItem(t.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let i=t;for(;i?.type===`item`&&(!s||i.parentKey!==s.parentKey&&s.level<i.level);){let t=n({type:`item`,key:i.key,dropPosition:`after`});o(t)&&l.push(r(t,{key:`${i.key}-after`})),i=i.parentKey==null?null:e.getItem(i.parentKey)}}return l}const A=i(D),j=i({}),M=i(null);(class extends _{static{this.type=`tableheader`}}),class extends _{static{this.type=`column`}},class extends v{static{this.type=`tablebody`}},class extends v{static{this.type=`tablefooter`}};const N=i({isFocusVisibleWithinRow:!1});(class extends _{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 P=a(function(e,t){let{isVirtualized:r}=s(A);return r?n.createElement(E.div,{...e,ref:t}):n.createElement(E.tr,{...e,ref:t})});var F=class extends _{static{this.type=`cell`}};let I=a(function(e,t){let{isVirtualized:r}=s(A);return r?n.createElement(E.div,{...e,ref:t}):n.createElement(E.td,{...e,ref:t})});const L=f(F,(t,r,i)=>{let a=d(r),o=s(M),{dragState:c}=s(j),{isVirtualized:l}=s(A);i.column=o.collection.columns[i.index];let{gridCellProps:u,isPressed:f}=S({node:i,shouldSelectOnPressUp:!!c,isVirtualized:l,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},o,a),{isFocused:p,isFocusVisible:_,focusProps:v}=h(),{hoverProps:y,isHovered:b}=g({}),{isFocusVisibleWithinRow:x}=s(N),w=i.parentKey!=null&&o.selectionManager.isSelected(i.parentKey),T=i.colIndex||i.index,E=o.collection.getItem(i.parentKey),O=E.props.hasChildItems||o.collection.getItem(E.lastChildKey)?.type!==`cell`,k=O&&o.expandedKeys.has(i.parentKey),P=o.selectionManager.isDisabled(i.parentKey),F=C({...t,id:void 0,defaultClassName:`react-aria-Cell`,values:{isFocused:p,isFocusVisible:_,isFocusVisibleWithinRow:x,isPressed:f,isHovered:b,isSelected:w,id:i.key,columnIndex:T,hasChildItems:O,isExpanded:k,isDisabled:P,level:E.level+1,isTreeColumn:i.column.key===o.treeColumn}}),L=m(t,{global:!0});return delete L.id,n.createElement(I,{...e(L,F,u,v,y),ref:a,"data-focused":p||void 0,"data-focus-visible":_||void 0,"data-focus-visible-within-row":x||void 0,"data-pressed":f||void 0,"data-selected":w||void 0,"data-column-index":T,"data-expanded":k||void 0,"data-has-child-items":O||void 0,"data-level":E.level+1,"data-tree-column":i.column.key===o.treeColumn||void 0,"data-disabled":P||void 0},n.createElement(A.Provider,{value:D},F.children))});f(y,function(t,r,i){let a=s(M),{isVirtualized:o}=s(A),{isLoading:u,onLoadMore:d,scrollOffset:f,...p}=t,h=a.collection.columns.length,g=l(null),_=c(()=>({onLoadMore:d,collection:a?.collection,sentinelRef:g,scrollOffset:f}),[d,f,a?.collection]);x(_,g);let v=C({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-TableLoadingIndicator`,defaultStyle:{"--table-row-level":i.level+1},values:void 0}),y={},S={},w={};return o?(S[`aria-colspan`]=h,w={display:`contents`}):S.colSpan=h,n.createElement(n.Fragment,null,n.createElement(P,{style:{height:0},inert:b(!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(P,{...e(m(t,{global:!0}),y),...v,role:`row`,ref:r,"aria-level":i.level+1,"data-level":i.level+1},n.createElement(I,{role:`rowheader`,...S,style:w},v.children)))});export{L as Cell};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Checkbox, type CheckboxProps, type CheckboxRenderProps } 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"react-stately/private/form/useFormValidationState";import{useCheckboxGroupItem as m}from"react-aria/useCheckboxGroup";import{useCheckbox as h}from"react-aria/useCheckbox";import"react-stately/useCheckboxGroupState";import{useToggleState as g}from"react-stately/useToggleState";const _=Symbol(`default`);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||_;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){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function S(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 C={},w=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=C[t];return n||(n=i(S.bind(null,t)),C[t]=n),n}}),T=r(null),E=r(null),D=r(null),O=r(null);function k(e,n){let{validationBehavior:r}=y(T)||{},i=e.validationBehavior??r??`native`,s=a(D),c=l(o(()=>t(n,e.inputRef===void 0?null:e.inputRef),[n,e.inputRef])),u={...x(e),children:typeof e.children==`function`||e.children,value:e.value,validationBehavior:i};return[s?m(u,s,c):h(u,g(e),c),c]}const A=i(function(e,t){let{inputRef:r=null,...i}=e;[e,t]=b(i,t,E);let[a,o]=k(e,r);return n.createElement(O.Provider,{value:{...a,inputRef:o,defaultClassName:`react-aria-Checkbox`,isIndeterminate:e.isIndeterminate,isRequired:e.isRequired}},n.createElement(j,{...e,ref:t}))}),j=i(function(t,r){let{labelProps:i,inputProps:o,isSelected:s,isDisabled:c,isReadOnly:l,isPressed:m,isInvalid:h,inputRef:g,defaultClassName:_,isIndeterminate:y,isRequired:b}=a(O),{isFocused:x,isFocusVisible:S,focusProps:C}=d(),T=c||l,{hoverProps:E,isHovered:D}=f({...t,isDisabled:T}),k=v({...t,defaultClassName:_,values:{isSelected:s,isIndeterminate:y||!1,isPressed:m,isHovered:D,isFocused:x,isFocusVisible:S,isDisabled:c,isReadOnly:l,isInvalid:h,isRequired:b||!1}}),A=u(t,{global:!0});return delete A.id,delete A.onClick,n.createElement(w.label,{...e(A,i,E,k),ref:r,slot:t.slot||void 0,"data-selected":s||void 0,"data-indeterminate":y||void 0,"data-pressed":m||void 0,"data-hovered":D||void 0,"data-focused":x||void 0,"data-focus-visible":S||void 0,"data-disabled":c||void 0,"data-readonly":l||void 0,"data-invalid":h||void 0,"data-required":b||void 0},n.createElement(p,{elementType:`span`},n.createElement(`input`,{...e(o,C),ref:g})),k.children)});export{A as Checkbox};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CheckboxGroup, type CheckboxGroupProps, type CheckboxGroupRenderProps } 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{useCheckboxGroup as p}from"react-aria/useCheckboxGroup";import"react-aria/useCheckbox";import{useCheckboxGroupState as m}from"react-stately/useCheckboxGroupState";import"react-stately/useToggleState";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),k=r(null),A=i(function(t,r){[t,r]=y(t,r,O);let{validationBehavior:i}=v(D)||{},a=t.validationBehavior??i??`native`,o=m({...t,validationBehavior:a}),[s,c]=b(!t[`aria-label`]&&!t[`aria-labelledby`]),{groupProps:l,labelProps:u,descriptionProps:d,errorMessageProps:h,...x}=p({...t,label:c,validationBehavior:a},o),S=_({...t,values:{isDisabled:o.isDisabled,isReadOnly:o.isReadOnly,isRequired:t.isRequired||!1,isInvalid:o.isInvalid,state:o},defaultClassName:`react-aria-CheckboxGroup`}),A=f(t,{global:!0});return n.createElement(C.div,{...e(A,S,l),ref:r,slot:t.slot||void 0,"data-readonly":o.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":o.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},n.createElement(g,{values:[[k,o],[w,{...u,ref:s,elementType:`span`}],[T,{slots:{description:d,errorMessage:h}}],[E,x]]},S.children))});export{A as CheckboxGroup};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BvBsrMFI.js";
|
|
2
|
+
import { i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition } from "../CheckboxCheckmark-C1X9yBT6.js";
|
|
3
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
+
import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } from "../Checkbox-BJ7flpwA.js";
|
|
5
|
+
import { t as UIOverrides } from "../uiOverrides.context-Bfm2n-n8.js";
|
|
6
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-DDGNxVX8.js";
|
|
7
|
+
import { t as FieldController } from "../form.binding-DLM7NA2s.js";
|
|
8
|
+
import { r as FormFieldLabel, t as FormField } from "../FormField-BHPdCLEV.js";
|
|
9
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "../input.cva-KYGD4Bdz.js";
|
|
10
|
+
import { memo } from "react";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { useLabel } from "@react-aria/label";
|
|
13
|
+
//#region src/components/inputs/Checkbox/CheckboxGroup.tsx
|
|
14
|
+
const CheckboxGroupBase = (props) => {
|
|
15
|
+
const ui = UIConfig.useConfig();
|
|
16
|
+
const checkboxContentWrapperCva = UIOverrides.useCva("checkbox.contentWrapperCva", checkboxContentWrapperDefinition);
|
|
17
|
+
const checkboxContentRowCva = UIOverrides.useCva("checkbox.contentRowCva", checkboxContentRowDefinition);
|
|
18
|
+
const checkboxGroupLabelCva = UIOverrides.useCva("checkbox.groupLabelCva", checkboxGroupLabelDefinition);
|
|
19
|
+
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
20
|
+
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
21
|
+
const { ref, label, tooltipText, helperText, isDirty, isRequired, rightContent, isDisabled, headerClassName, errorClassName, labelClassName, inputClassName, isHeaderHidden, error, className, options, allValue, value, defaultValue, onChange, onBlur, as: asProp, size: sizeProp, variant: variantProp, hideLabel: hideLabelProp, ...rest } = props;
|
|
22
|
+
const as = asProp ?? ui.input.as;
|
|
23
|
+
const size = sizeProp ?? ui.input.size;
|
|
24
|
+
const variant = variantProp ?? ui.checkbox.variant;
|
|
25
|
+
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
26
|
+
const optionValues = options.map((option) => option.value);
|
|
27
|
+
const expandAllValue = (currentValue) => {
|
|
28
|
+
if (allValue === null && currentValue === null) return optionValues;
|
|
29
|
+
if (allValue !== void 0 && allValue !== null && currentValue) {
|
|
30
|
+
if (currentValue.length === allValue.length && currentValue.every((item, index) => item === allValue[index])) return optionValues;
|
|
31
|
+
}
|
|
32
|
+
return currentValue ?? void 0;
|
|
33
|
+
};
|
|
34
|
+
const resolvedValue = expandAllValue(value);
|
|
35
|
+
const resolvedDefaultValue = expandAllValue(defaultValue);
|
|
36
|
+
const selectedValue = resolvedValue ?? resolvedDefaultValue;
|
|
37
|
+
const shouldRenderInputFrame = as !== "default";
|
|
38
|
+
const { labelProps, fieldProps } = useLabel({ label });
|
|
39
|
+
const formFieldProps = {
|
|
40
|
+
className,
|
|
41
|
+
error,
|
|
42
|
+
errorClassName,
|
|
43
|
+
headerClassName,
|
|
44
|
+
helperText,
|
|
45
|
+
hideLabel,
|
|
46
|
+
isDisabled,
|
|
47
|
+
isHeaderHidden: isHeaderHidden || as === "inline" || as === "filter" || as === "floating",
|
|
48
|
+
isRequired,
|
|
49
|
+
label,
|
|
50
|
+
rightContent,
|
|
51
|
+
tooltipText
|
|
52
|
+
};
|
|
53
|
+
const headerProps = {
|
|
54
|
+
className: headerClassName,
|
|
55
|
+
helperText,
|
|
56
|
+
isDisabled,
|
|
57
|
+
isHeaderHidden: hideLabel || isHeaderHidden,
|
|
58
|
+
isRequired,
|
|
59
|
+
label,
|
|
60
|
+
labelProps,
|
|
61
|
+
rightContent,
|
|
62
|
+
tooltipText
|
|
63
|
+
};
|
|
64
|
+
const handleChange = (nextValue) => {
|
|
65
|
+
const hasAllOptions = allValue !== void 0 && optionValues.length > 0 && optionValues.every((optionValue) => nextValue.includes(optionValue));
|
|
66
|
+
onChange?.(hasAllOptions ? allValue : nextValue);
|
|
67
|
+
};
|
|
68
|
+
return /* @__PURE__ */ jsx($ed8ccb2e23e76301$export$4aa08d5625cb8ead, {
|
|
69
|
+
...rest,
|
|
70
|
+
...fieldProps,
|
|
71
|
+
ref,
|
|
72
|
+
value: resolvedValue,
|
|
73
|
+
defaultValue: resolvedDefaultValue,
|
|
74
|
+
onChange: handleChange,
|
|
75
|
+
onBlur,
|
|
76
|
+
isDisabled,
|
|
77
|
+
isInvalid: !!error,
|
|
78
|
+
isRequired,
|
|
79
|
+
"data-is-dirty": isDirty || void 0,
|
|
80
|
+
"data-is-required": isRequired || void 0,
|
|
81
|
+
className: "group",
|
|
82
|
+
children: /* @__PURE__ */ jsx(FormField, {
|
|
83
|
+
...formFieldProps,
|
|
84
|
+
as,
|
|
85
|
+
labelProps,
|
|
86
|
+
className: clsx("w-full", as === "inline" && "h-full", className),
|
|
87
|
+
tabIndex: as === "inline" ? -1 : void 0,
|
|
88
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
89
|
+
className: clsx("group/checkbox-group-content relative", shouldRenderInputFrame && inputBaseCva({
|
|
90
|
+
variant: ui.input.variant,
|
|
91
|
+
as
|
|
92
|
+
}), inputClassName),
|
|
93
|
+
"data-rac": "",
|
|
94
|
+
"data-disabled": isDisabled || void 0,
|
|
95
|
+
"data-is-disabled": isDisabled || void 0,
|
|
96
|
+
"data-invalid": !!error || void 0,
|
|
97
|
+
"data-has-selection": selectedValue?.length ? true : void 0,
|
|
98
|
+
"data-checkbox-group-content": "",
|
|
99
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
100
|
+
className: clsx(checkboxContentWrapperCva({
|
|
101
|
+
variant,
|
|
102
|
+
as,
|
|
103
|
+
size,
|
|
104
|
+
hasInputFrame: shouldRenderInputFrame,
|
|
105
|
+
...rest
|
|
106
|
+
}), shouldRenderInputFrame && as !== "floating" && inputSizeCva({
|
|
107
|
+
as,
|
|
108
|
+
size
|
|
109
|
+
})),
|
|
110
|
+
"data-is-dirty": isDirty || void 0,
|
|
111
|
+
"data-is-required": isRequired || void 0,
|
|
112
|
+
children: [as && ["filter", "floating"].includes(as) && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
113
|
+
...headerProps,
|
|
114
|
+
as: as === "floating" ? "filter" : as,
|
|
115
|
+
size,
|
|
116
|
+
className: clsx(headerClassName, checkboxGroupLabelCva({ as }))
|
|
117
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
118
|
+
className: checkboxContentRowCva({
|
|
119
|
+
variant,
|
|
120
|
+
as,
|
|
121
|
+
hasInputFrame: shouldRenderInputFrame,
|
|
122
|
+
...rest
|
|
123
|
+
}),
|
|
124
|
+
children: options.map((option) => /* @__PURE__ */ jsx(CheckboxBase, {
|
|
125
|
+
value: option.value,
|
|
126
|
+
variant,
|
|
127
|
+
hideLabel,
|
|
128
|
+
hideError: true,
|
|
129
|
+
labelClassName,
|
|
130
|
+
children: option.label
|
|
131
|
+
}, option.value))
|
|
132
|
+
})]
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
})
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
const CheckboxGroupComponent = (props) => {
|
|
139
|
+
if ("field" in props && props.field) {
|
|
140
|
+
const { field, ref, ...innerProps } = props;
|
|
141
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
142
|
+
control: field.form,
|
|
143
|
+
name: field.name,
|
|
144
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(CheckboxGroupBase, {
|
|
145
|
+
...innerProps,
|
|
146
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
147
|
+
value: field.value,
|
|
148
|
+
onChange: (value) => {
|
|
149
|
+
field.onChange(value);
|
|
150
|
+
field.onBlur();
|
|
151
|
+
},
|
|
152
|
+
onBlur: field.onBlur,
|
|
153
|
+
name: field.name,
|
|
154
|
+
isDirty,
|
|
155
|
+
isDisabled: field.disabled || props.isDisabled,
|
|
156
|
+
error: props.error ?? error?.message
|
|
157
|
+
})
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
return /* @__PURE__ */ jsx(CheckboxGroupBase, { ...props });
|
|
161
|
+
};
|
|
162
|
+
const CheckboxGroup = memo(CheckboxGroupComponent);
|
|
163
|
+
//#endregion
|
|
164
|
+
export { CheckboxGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Collection, type CollectionProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react-aria/CollectionBuilder";import{Collection as e}from"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"react-aria/Pressable";import"react-aria/Focusable";import"react-stately/useListData";import"react-stately/useTreeData";import"react-stately/useAsyncList";export{e as Collection};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColorArea, type ColorAreaProps, type ColorAreaRenderProps } 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{useColorArea as d}from"react-aria/useColorArea";import{useColorAreaState as f}from"react-stately/useColorAreaState";const p=Symbol(`default`);function m({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function h(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 g(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||p;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 _(n,r,i){let{ref:a,...s}=g(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 v(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 y={},b=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=y[t];return n||(n=i(v.bind(null,t)),y[t]=n),n}}),x=r(null),S=r(null),C=r(null),w=i(function(t,r){[t,r]=_(t,r,S);let i=s(null),a=s(null),o=f(t),{colorAreaProps:c,xInputProps:l,yInputProps:p,thumbProps:g}=d({...t,inputXRef:i,inputYRef:a,containerRef:r},o),v=h({...t,defaultClassName:`react-aria-ColorArea`,defaultStyle:c.style,values:{state:o,isDisabled:t.isDisabled||!1}}),y=u(t,{global:!0});return delete y.id,n.createElement(b.div,{ref:r,...e(y,c,v),slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0},n.createElement(m,{values:[[C,o],[x,{state:o,thumbProps:g,inputXRef:i,xInputProps:l,inputYRef:a,yInputProps:p,isDisabled:t.isDisabled}]]},v.children))});export{w as ColorArea};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColorField, type ColorFieldProps, type ColorFieldRenderProps } 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{useLocale as p}from"react-aria/I18nProvider";import{useColorChannelField as m,useColorField as h}from"react-aria/useColorField";import{useColorChannelFieldState as g,useColorFieldState as _}from"react-stately/useColorFieldState";const v=Symbol(`default`);function y({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function b(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 x(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||v;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 S(n,r,i){let{ref:a,...o}=x(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 C(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 w(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function T(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 E={},D=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=E[t];return n||(n=i(T.bind(null,t)),E[t]=n),n}}),O=r({}),k=r({}),A=r(null),j=r({}),M=r({}),N=r(null),P=r(null),F=i(function(e,t){return[e,t]=S(e,t,N),e.channel?n.createElement(I,{...e,channel:e.channel,forwardedRef:t}):n.createElement(L,{...e,forwardedRef:t})});function I(e){let{locale:t}=p(),r=g({...e,locale:t}),i=c(null),[a,o]=C(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:s,inputProps:l,descriptionProps:u,errorMessageProps:d,...f}=m({...w(e),label:o,validationBehavior:e.validationBehavior??`native`},r,i);return n.createElement(n.Fragment,null,R(e,r,e.forwardedRef,l,i,s,a,u,d,f),e.name&&n.createElement(`input`,{type:`hidden`,name:e.name,form:e.form,value:isNaN(r.numberValue)?``:r.numberValue}))}function L(e){let t=_({...e,validationBehavior:e.validationBehavior??`native`}),n=c(null),[r,i]=C(!e[`aria-label`]&&!e[`aria-labelledby`]),{labelProps:a,inputProps:o,descriptionProps:s,errorMessageProps:l,...u}=h({...w(e),label:i,validationBehavior:e.validationBehavior??`native`},t,n);return R(e,t,e.forwardedRef,o,n,a,r,s,l,u)}function R(e,t,r,i,a,o,s,c,l,u){let d=b({...e,values:{state:t,channel:e.channel||`hex`,isDisabled:e.isDisabled||!1,isInvalid:u.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:`react-aria-ColorField`}),p=f(e,{global:!0});return delete p.id,n.createElement(y,{values:[[P,t],[M,{...i,ref:a}],[O,{...o,ref:s}],[j,{role:`presentation`,isInvalid:u.isInvalid,isDisabled:e.isDisabled||!1}],[k,{slots:{description:c,errorMessage:l}}],[A,u]]},n.createElement(D.div,{...p,...d,ref:r,slot:e.slot||void 0,"data-channel":e.channel||`hex`,"data-disabled":e.isDisabled||void 0,"data-invalid":u.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0}))}export{F as ColorField};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColorPicker, type ColorPickerProps, type ColorPickerRenderProps } 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"react-aria/useObjectRef";import"react-aria/filterDOMProps";import"react-aria/I18nProvider";import"react-aria/useColorArea";import"react-stately/useColorAreaState";import"react-aria/useColorField";import"react-stately/useColorFieldState";import"react-aria/useColorSlider";import"react-stately/useColorSliderState";import"react-aria/useColorSwatch";import"react-stately/Color";import{useColorPickerState as l}from"react-stately/useColorPickerState";import"react-aria/useLocalizedStringFormatter";import"react-aria/useColorWheel";import"react-stately/useColorWheelState";const u=Symbol(`default`);function d({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function f(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function p(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||u;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function m(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 h={};new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=h[t];return n||(n=i(m.bind(null,t)),h[t]=n),n}});const g=r(null),_=r(null),v=r(null),y=r(null),b=r(null),x=r(null),S=r(null),C=r(null);function w(t){let r=p(S,t.slot);t=e(r,t);let i=l(t),a=f({...t,values:{color:i.color}});return n.createElement(d,{values:[[C,i],[v,{value:i.color,onChange:i.setColor}],[g,{value:i.color,onChange:i.setColor}],[x,{value:i.color,onChange:i.setColor}],[_,{value:i.color,onChange:i.setColor}],[y,{color:i.color}],[b,{value:i.color,onChange:i.setColor}]]},a.children)}export{w as ColorPicker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColorSlider, type ColorSliderProps, type ColorSliderRenderProps } 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-stately/private/utils/number";import{useLocale as p}from"react-aria/I18nProvider";import"react-aria/VisuallyHidden";import"react-aria/useSlider";import"react-stately/useSliderState";import"react-aria/useNumberFormatter";import{useColorSlider as m}from"react-aria/useColorSlider";import{useColorSliderState as h}from"react-stately/useColorSliderState";const g=Symbol(`default`);function _({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function v(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function y(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||g;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function b(n,r,i){let{ref:a,...o}=y(i,n.slot)||{},c=d(s(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,c]}function x(e=!0){let[t,n]=l(e),r=c(!1),i=a(e=>{r.current=!0,n(!!e)},[]);return u(()=>{r.current||n(!1)},[]),[i,t]}function S(e,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 C={},w=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=C[t];return n||(n=i(S.bind(null,t)),C[t]=n),n}}),T=r({}),E=r(null),D=r(null),O=r(null),k=r(null),A=r(null),j=r(null),M=i(function(e,t){[e,t]=b(e,t,A);let{locale:r}=p(),i=h({...e,locale:r}),a=n.useRef(null),o=n.useRef(null),[s,c]=x(!e[`aria-label`]&&!e[`aria-labelledby`]),{trackProps:l,thumbProps:u,inputProps:d,labelProps:g,outputProps:y}=m({...e,label:c,trackRef:a,inputRef:o},i),S=v({...e,values:{orientation:i.orientation,isDisabled:i.isDisabled,state:i},defaultClassName:`react-aria-ColorSlider`}),C=f(e,{global:!0});return delete C.id,n.createElement(_,{values:[[j,i],[D,i],[O,{...l,ref:a}],[k,y],[T,{...g,ref:s,children:i.value.getChannelName(e.channel,r)}],[E,{state:i,thumbProps:u,inputXRef:o,xInputProps:d,isDisabled:e.isDisabled}]]},n.createElement(w.div,{...C,...S,ref:t,slot:e.slot||void 0,"data-orientation":i.orientation,"data-disabled":i.isDisabled||void 0}))});export{M as ColorSlider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ColorSwatch, type ColorSwatchProps, type ColorSwatchRenderProps } 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{useColorSwatch as d}from"react-aria/useColorSwatch";const f=Symbol(`default`);function p(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 m(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||f;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 h(n,r,i){let{ref:a,...s}=m(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 g(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 _={},v=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=_[t];return n||(n=i(g.bind(null,t)),_[t]=n),n}}),y=r(null),b=i(function(t,r){[t,r]=h(t,r,y);let{colorSwatchProps:i,color:a}=d(t),o=p({...t,defaultClassName:`react-aria-ColorSwatch`,defaultStyle:i.style,values:{color:a}}),s=u(t,{global:!0});return n.createElement(v.div,{...e(s,i,o),slot:t.slot||void 0,ref:r})});export{b as ColorSwatch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{cloneElement as r,createContext as i,forwardRef as a,isValidElement as o,useCallback as s,useContext as c,useEffect as l,useMemo as u,useRef as d,useState as f}from"react";import{useLayoutEffect as p}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as m}from"react-aria/useObjectRef";import"react-aria/useAutocomplete";import"react-stately/private/autocomplete/useAutocompleteState";import{CollectionBuilder as h,createLeafComponent as g}from"react-aria/CollectionBuilder";import{useCachedChildren as _}from"react-aria/private/collections/useCachedChildren";import{filterDOMProps as v}from"react-aria/filterDOMProps";import{useFocusRing as ee}from"react-aria/useFocusRing";import"react-aria/useHover";import{Collection as y}from"react-aria/Collection";import{CollectionNode as b,LoaderNode as x}from"react-aria/private/collections/BaseCollection";import{useLocale as te}from"react-aria/I18nProvider";import"react-dom";import"react-aria/useSeparator";import{useListBox as ne,useListBoxSection as S}from"react-aria/useListBox";import{FocusScope as re}from"react-aria/FocusScope";import{inertValue as C}from"react-aria/private/utils/inertValue";import{ListKeyboardDelegate as ie}from"react-aria/ListKeyboardDelegate";import{UNSTABLE_useFilteredListState as ae,useListState as w}from"react-stately/useListState";import{useLoadMoreSentinel as T}from"react-aria/private/utils/useLoadMoreSentinel";import{useCollator as oe}from"react-aria/useCollator";import"react-aria/useFocus";import"react-aria/useKeyboard";import"react-stately/Color";import{useColorPickerState as E}from"react-stately/useColorPickerState";import{useLocalizedStringFormatter as D}from"react-aria/useLocalizedStringFormatter";const O=Symbol(`default`);function se({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 u(()=>{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,t){let n=c(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||O;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 j(n,r,i){let{ref:a,...o}=A(i,n.slot)||{},s=m(u(()=>t(r,a),[r,a])),c=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(c.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[c,s]}function M(e=!0){let[t,n]=f(e),r=d(!1),i=s(e=>{r.current=!0,n(!!e)},[]);return p(()=>{r.current||n(!1)},[]),[i,t]}function N(e,r,i){let{render:a,...o}=r,s=d(null),c=u(()=>t(i,s),[i,s]);p(()=>{},[e,a]);let l={...o,ref:c};return a?a(l,void 0):n.createElement(e,l)}const P={},F=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=P[t];return n||(n=a(N.bind(null,t)),P[t]=n),n}}),ce=i(null),le=i(null),I={CollectionRoot({collection:e,renderDropIndicator:t}){return L(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return L(e,t,n)}};function L(e,t,r){return _({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,R(e,t,r))}})}function R(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 z=i(I);var B={};B={colorSwatchPicker:`تغييرات الألوان`,dropzoneLabel:`DropZone`,selectPlaceholder:`حدد عنصرًا`,tableResizer:`أداة تغيير الحجم`};var V={};V={colorSwatchPicker:`Цветови мостри`,dropzoneLabel:`DropZone`,selectPlaceholder:`Изберете предмет`,tableResizer:`Преоразмерител`};var H={};H={colorSwatchPicker:`Vzorky barev`,dropzoneLabel:`Místo pro přetažení`,selectPlaceholder:`Vyberte položku`,tableResizer:`Změna velikosti`};var U={};U={colorSwatchPicker:`Farveprøver`,dropzoneLabel:`DropZone`,selectPlaceholder:`Vælg et element`,tableResizer:`Størrelsesændring`};var W={};W={colorSwatchPicker:`Farbfelder`,dropzoneLabel:`Ablegebereich`,selectPlaceholder:`Element wählen`,tableResizer:`Größenanpassung`};var G={};G={colorSwatchPicker:`Χρωματικά δείγματα`,dropzoneLabel:`DropZone`,selectPlaceholder:`Επιλέξτε ένα αντικείμενο`,tableResizer:`Αλλαγή μεγέθους`};var K={};K={selectPlaceholder:`Select an item`,tableResizer:`Resizer`,dropzoneLabel:`DropZone`,colorSwatchPicker:`Color swatches`};var q={};q={colorSwatchPicker:`Muestras de colores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Seleccionar un artículo`,tableResizer:`Cambiador de tamaño`};var J={};J={colorSwatchPicker:`Värvinäidised`,dropzoneLabel:`DropZone`,selectPlaceholder:`Valige üksus`,tableResizer:`Suuruse muutja`};var Y={};Y={colorSwatchPicker:`Värimallit`,dropzoneLabel:`DropZone`,selectPlaceholder:`Valitse kohde`,tableResizer:`Koon muuttaja`};var X={};X={colorSwatchPicker:`Échantillons de couleurs`,dropzoneLabel:`DropZone`,selectPlaceholder:`Sélectionner un élément`,tableResizer:`Redimensionneur`};var ue={};ue={colorSwatchPicker:`דוגמיות צבע`,dropzoneLabel:`DropZone`,selectPlaceholder:`בחר פריט`,tableResizer:`שינוי גודל`};var de={};de={colorSwatchPicker:`Uzorci boja`,dropzoneLabel:`Zona spuštanja`,selectPlaceholder:`Odaberite stavku`,tableResizer:`Promjena veličine`};var fe={};fe={colorSwatchPicker:`Színtárak`,dropzoneLabel:`DropZone`,selectPlaceholder:`Válasszon ki egy elemet`,tableResizer:`Átméretező`};var pe={};pe={colorSwatchPicker:`Campioni di colore`,dropzoneLabel:`Zona di rilascio`,selectPlaceholder:`Seleziona un elemento`,tableResizer:`Ridimensionamento`};var me={};me={colorSwatchPicker:`カラースウォッチ`,dropzoneLabel:`ドロップゾーン`,selectPlaceholder:`項目を選択`,tableResizer:`サイズ変更ツール`};var he={};he={colorSwatchPicker:`색상 견본`,dropzoneLabel:`드롭 영역`,selectPlaceholder:`항목 선택`,tableResizer:`크기 조정기`};var ge={};ge={colorSwatchPicker:`Spalvų pavyzdžiai`,dropzoneLabel:`„DropZone“`,selectPlaceholder:`Pasirinkite elementą`,tableResizer:`Dydžio keitiklis`};var _e={};_e={colorSwatchPicker:`Krāsu paraugi`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izvēlēties vienumu`,tableResizer:`Izmēra mainītājs`};var ve={};ve={colorSwatchPicker:`Fargekart`,dropzoneLabel:`Droppsone`,selectPlaceholder:`Velg et element`,tableResizer:`Størrelsesendrer`};var ye={};ye={colorSwatchPicker:`kleurstalen`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecteer een item`,tableResizer:`Resizer`};var be={};be={colorSwatchPicker:`Próbki kolorów`,dropzoneLabel:`Strefa upuszczania`,selectPlaceholder:`Wybierz element`,tableResizer:`Zmiana rozmiaru`};var xe={};xe={colorSwatchPicker:`Amostras de cores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecione um item`,tableResizer:`Redimensionador`};var Se={};Se={colorSwatchPicker:`Amostras de cores`,dropzoneLabel:`DropZone`,selectPlaceholder:`Selecione um item`,tableResizer:`Redimensionador`};var Ce={};Ce={colorSwatchPicker:`Specimene de culoare`,dropzoneLabel:`Zonă de plasare`,selectPlaceholder:`Selectați un element`,tableResizer:`Instrument de redimensionare`};var we={};we={colorSwatchPicker:`Цветовые образцы`,dropzoneLabel:`DropZone`,selectPlaceholder:`Выберите элемент`,tableResizer:`Средство изменения размера`};var Te={};Te={colorSwatchPicker:`Vzorkovníky farieb`,dropzoneLabel:`DropZone`,selectPlaceholder:`Vyberte položku`,tableResizer:`Nástroj na zmenu veľkosti`};var Ee={};Ee={colorSwatchPicker:`Barvne palete`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izberite element`,tableResizer:`Spreminjanje velikosti`};var De={};De={colorSwatchPicker:`Uzorci boje`,dropzoneLabel:`DropZone`,selectPlaceholder:`Izaberite stavku`,tableResizer:`Promena veličine`};var Oe={};Oe={colorSwatchPicker:`Färgrutor`,dropzoneLabel:`DropZone`,selectPlaceholder:`Välj en artikel`,tableResizer:`Storleksändrare`};var ke={};ke={colorSwatchPicker:`Renk örnekleri`,dropzoneLabel:`Bırakma Bölgesi`,selectPlaceholder:`Bir öğe seçin`,tableResizer:`Yeniden boyutlandırıcı`};var Ae={};Ae={colorSwatchPicker:`Зразки кольорів`,dropzoneLabel:`DropZone`,selectPlaceholder:`Виберіть елемент`,tableResizer:`Засіб змінення розміру`};var je={};je={colorSwatchPicker:`颜色色板`,dropzoneLabel:`放置区域`,selectPlaceholder:`选择一个项目`,tableResizer:`尺寸调整器`};var Me={};Me={colorSwatchPicker:`色票`,dropzoneLabel:`放置區`,selectPlaceholder:`選取項目`,tableResizer:`大小調整器`};var Ne={};Ne={"ar-AE":B,"bg-BG":V,"cs-CZ":H,"da-DK":U,"de-DE":W,"el-GR":G,"en-US":K,"es-ES":q,"et-EE":J,"fi-FI":Y,"fr-FR":X,"he-IL":ue,"hr-HR":de,"hu-HU":fe,"it-IT":pe,"ja-JP":me,"ko-KR":he,"lt-LT":ge,"lv-LV":_e,"nb-NO":ve,"nl-NL":ye,"pl-PL":be,"pt-BR":xe,"pt-PT":Se,"ro-RO":Ce,"ru-RU":we,"sk-SK":Te,"sl-SI":Ee,"sr-SP":De,"sv-SE":Oe,"tr-TR":ke,"uk-UA":Ae,"zh-CN":je,"zh-TW":Me};const Z=i({}),Pe=i(null),Fe=a(function(e,t){let{render:r}=c(Pe);return n.createElement(n.Fragment,null,r(e,t))});function Ie(e,t){let r=e?.renderDropIndicator,i=e?.isVirtualDragging?.(),a=s(e=>{if(i||t?.isDropTarget(e))return r?r(e):n.createElement(Fe,{target:e})},[t?.target,i,r]);return e?.useDropIndicator?a:void 0}function Le(e,t,n){let r=e.focusedKey,i=null;if(t?.isVirtualDragging?.()&&n?.target?.type===`item`&&(i=n.target.key,n.target.dropPosition===`after`)){let e=n.collection.getKeyAfter(i),t=null;if(e!=null){let r=n.collection.getItem(i)?.level??0;for(;e!=null;){let i=n.collection.getItem(e);if(!i)break;if(i.type!==`item`){e=n.collection.getKeyAfter(e);continue}if((i.level??0)<=r)break;t=e,e=n.collection.getKeyAfter(e)}}i=e??t??i}return u(()=>new Set([r,i].filter(e=>e!=null)),[r,i])}const Re=i({}),ze=i(null);function Be(e){let t=d({});return n.createElement(ze.Provider,{value:t},e.children)}const Ve=i({});(class extends b{static{this.type=`separator`}filter(e,t){let n=t.getItem(this.prevKey);if(n&&n.type!==`separator`){let n=this.clone();return t.addDescendants(n,e),n}return null}});const He=i(null),Q=i(null),Ue=a(function(e,t){[e,t]=j(e,t,He);let r=c(Q);return r?n.createElement($,{state:r,props:e,listBoxRef:t}):n.createElement(h,{content:n.createElement(y,e)},r=>n.createElement(We,{props:e,listBoxRef:t,collection:r}))});function We({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:i}=c(z),a=w({...e,layoutDelegate:i});return n.createElement($,{state:a,props:e,listBoxRef:t})}function $({state:t,props:r,listBoxRef:i}){[r,i]=j(r,i,ce);let{dragAndDropHooks:a,layout:o=`stack`,orientation:s=`vertical`,filter:f}=r,p=ae(t,f),{collection:m,selectionManager:h}=p,g=!!a?.useDraggableCollectionState,_=!!a?.useDroppableCollectionState,{direction:y}=te(),{disabledBehavior:b,disabledKeys:x}=h,S=oe({usage:`search`,sensitivity:`base`}),{isVirtualized:C,layoutDelegate:w,dropTargetDelegate:T,CollectionRoot:E}=c(z),D=u(()=>r.keyboardDelegate||new ie({collection:m,collator:S,ref:i,disabledKeys:x,disabledBehavior:b,layout:o,orientation:s,direction:y,layoutDelegate:w}),[m,S,i,b,x,s,y,r.keyboardDelegate,o,w]),{listBoxProps:O}=ne({...r,shouldSelectOnPressUp:g||r.shouldSelectOnPressUp,keyboardDelegate:D,isVirtualized:C},p,i);d(g),d(_),l(()=>{},[g,_]);let A,M,N,P=!1,I=null,L=d(null);if(g&&a){A=a.useDraggableCollectionState({collection:m,selectionManager:h,preview:a.renderDragPreview?L:void 0}),a.useDraggableCollection({},A,i);let e=a.DragPreview;I=a.renderDragPreview?n.createElement(e,{ref:L},a.renderDragPreview):null}if(_&&a){M=a.useDroppableCollectionState({collection:m,selectionManager:h});let e=a.dropTargetDelegate||T||new a.ListDropTargetDelegate(m,i,{orientation:s,layout:o,direction:y});N=a.useDroppableCollection({keyboardDelegate:D,dropTargetDelegate:e},M,i),P=M.isDropTarget({type:`root`})}let{focusProps:R,isFocused:B,isFocusVisible:V}=ee(),H=p.collection.size===0,U={isDropTarget:P,isEmpty:H,isFocused:B,isFocusVisible:V,layout:r.layout||`stack`,orientation:s,state:p},W=k({...r,children:void 0,defaultClassName:`react-aria-ListBox`,values:U}),G=null;H&&r.renderEmptyState&&(G=n.createElement(`div`,{role:`option`,style:{display:`contents`}},r.renderEmptyState(U)));let K=v(r,{global:!0});return n.createElement(re,null,n.createElement(F.div,{...e(K,W,O,R,N?.collectionProps),ref:i,slot:r.slot||void 0,onScroll:r.onScroll,"data-drop-target":P||void 0,"data-empty":H||void 0,"data-focused":B||void 0,"data-focus-visible":V||void 0,"data-layout":r.layout||`stack`,"data-orientation":s},n.createElement(se,{values:[[He,r],[Q,p],[Z,{dragAndDropHooks:a,dragState:A,dropState:M}],[Ve,{elementType:`div`}],[Pe,{render:Ke}],[le,{name:`ListBoxSection`,render:Ge}]]},n.createElement(Be,null,n.createElement(E,{collection:m,scrollRef:i,persistedKeys:Le(h,a,M),renderDropIndicator:Ie(a,M)}))),G,I))}function Ge(t,r,i,a=`react-aria-ListBoxSection`){let o=c(Q),{dragAndDropHooks:s,dropState:l}=c(Z),{CollectionBranch:u}=c(z),[d,f]=M(),{headingProps:p,groupProps:m}=S({heading:f,"aria-label":t[`aria-label`]??void 0}),h=k({...t,id:void 0,children:void 0,defaultClassName:a,values:void 0}),g=v(t,{global:!0});return delete g.id,n.createElement(F.section,{...e(g,h,m),ref:r},n.createElement(Re.Provider,{value:{...p,ref:d}},n.createElement(u,{collection:o.collection,parent:i,renderDropIndicator:Ie(s,l)})))}function Ke(e,t){t=m(t);let{dragAndDropHooks:r,dropState:i}=c(Z),{dropIndicatorProps:a,isHidden:o,isDropTarget:s}=r.useDropIndicator(e,i,t);return o?null:n.createElement(Je,{...e,dropIndicatorProps:a,isDropTarget:s,ref:t})}function qe(e,t){let{dropIndicatorProps:r,isDropTarget:i,...a}=e,o=k({...a,defaultClassName:`react-aria-DropIndicator`,values:{isDropTarget:i}});return n.createElement(n.Fragment,null,n.createElement(F.div,{...r,...o,role:`option`,ref:t,"data-drop-target":i||void 0}))}const Je=a(qe);g(x,function(t,r,i){let a=c(Q),{isLoading:o,onLoadMore:s,scrollOffset:l,...f}=t,p=d(null),m=u(()=>({onLoadMore:s,collection:a?.collection,sentinelRef:p,scrollOffset:l}),[s,l,a?.collection]);T(m,p);let h=k({...f,id:void 0,children:i.rendered,defaultClassName:`react-aria-ListBoxLoadingIndicator`,values:void 0});return n.createElement(n.Fragment,null,n.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:C(!0)},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:p,style:{position:`absolute`,height:1,width:1}})),o&&h.children&&n.createElement(n.Fragment,null,n.createElement(F.div,{...e(v(t,{global:!0}),{tabIndex:-1}),...h,role:`option`,ref:r},h.children)))});function Ye(e){return e&&e.__esModule?e.default:e}const Xe=i(null),Ze=i(null),Qe=a(function(e,t){[e,t]=j(e,t,Xe);let r=E(e),i=u(()=>new Map,[]),a=D(Ye(Ne),`react-aria-components`);return n.createElement(Ue,{...v(e,{labelable:!0}),ref:t,className:e.className||`react-aria-ColorSwatchPicker`,style:e.style,"aria-label":e[`aria-label`]||(e[`aria-labelledby`]?void 0:a.format(`colorSwatchPicker`)),layout:e.layout||`grid`,selectionMode:`single`,selectedKeys:[r.color.toString(`hexa`)],onSelectionChange:e=>{e!==`all`&&r.setColor(i.get([...e][0]))},disallowEmptySelection:!0},n.createElement(Ze.Provider,{value:i},e.children))});export{Qe as ColorSwatchPicker};
|
|
@@ -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,useEffect as o,useMemo as s,useRef as c}from"react";import{useLayoutEffect as l}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as u}from"react-aria/useObjectRef";import{createLeafComponent as d}from"react-aria/CollectionBuilder";import{filterDOMProps as f}from"react-aria/filterDOMProps";import"react-aria/useFocusRing";import{useHover as p}from"react-aria/useHover";import"react-aria/Collection";import{ItemNode as m,LoaderNode as h}from"react-aria/private/collections/BaseCollection";import{useLocale as g}from"react-aria/I18nProvider";import"react-aria/useColorSwatch";import{useOption as _}from"react-aria/useListBox";import"react-aria/FocusScope";import{inertValue as v}from"react-aria/private/utils/inertValue";import"react-aria/ListKeyboardDelegate";import"react-stately/useListState";import{useLoadMoreSentinel as y}from"react-aria/private/utils/useLoadMoreSentinel";import"react-aria/useCollator";import{useFocus as b}from"react-aria/useFocus";import{useKeyboard as x}from"react-aria/useKeyboard";import{parseColor as S}from"react-stately/Color";import"react-stately/useColorPickerState";import"react-aria/useLocalizedStringFormatter";const C=Symbol(`default`);function w({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function T(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(e,t){return n=>t(typeof e==`function`?e(n):e,n)}function D(e,r,i){let{render:a,...o}=r,u=c(null),d=s(()=>t(i,u),[i,u]);l(()=>{},[e,a]);let f={...o,ref:d};return a?a(f,void 0):n.createElement(e,f)}const O={},k=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=O[t];return n||(n=i(D.bind(null,t)),O[t]=n),n}}),A=r({}),j=r(null),M=r({}),N=r({isSelected:!1}),P=r(null),F=d(m,function(t,r,i){let s=u(r),c=a(P),{dragAndDropHooks:l,dragState:d,dropState:m}=a(M),h=d&&!(d.isDisabled||d.selectionManager.isDisabled(i.key)),{optionProps:g,labelProps:v,descriptionProps:y,...S}=_({key:i.key,"aria-label":t?.[`aria-label`]},c,s),{hoverProps:E,isHovered:D}=p({isDisabled:!S.allowsSelection&&!S.hasAction&&!h,onHoverStart:i.props.onHoverStart,onHoverChange:i.props.onHoverChange,onHoverEnd:i.props.onHoverEnd}),{keyboardProps:O}=x(t),{focusProps:j}=b(t),F=null;d&&l&&(F=l.useDraggableItem({key:i.key,hasAction:S.hasAction},d));let I=null;m&&l&&(I=l.useDroppableItem({target:{type:`item`,key:i.key,dropPosition:`on`}},m,s));let L=d&&d.isDragging(i.key),R=T({...t,id:void 0,children:t.children,defaultClassName:`react-aria-ListBoxItem`,values:{...S,isHovered:D,selectionMode:c.selectionManager.selectionMode,selectionBehavior:c.selectionManager.selectionBehavior,allowsDragging:!!d,isDragging:L,isDropTarget:I?.isDropTarget}});o(()=>{i.textValue},[i.textValue]);let z=t.href?k.a:k.div,B=f(t,{global:!0});return delete B.id,delete B.onClick,t.href&&g.tabIndex==null&&(g.tabIndex=-1),n.createElement(z,{...e(B,R,g,E,O,j,F?.dragProps,I?.dropProps),ref:s,"data-allows-dragging":!!d||void 0,"data-selected":S.isSelected||void 0,"data-disabled":S.isDisabled||void 0,"data-hovered":D||void 0,"data-focused":S.isFocused||void 0,"data-focus-visible":S.isFocusVisible||void 0,"data-pressed":S.isPressed||void 0,"data-dragging":L||void 0,"data-drop-target":I?.isDropTarget||void 0,"data-selection-mode":c.selectionManager.selectionMode===`none`?void 0:c.selectionManager.selectionMode},n.createElement(w,{values:[[A,{slots:{[C]:v,label:v,description:y}}],[N,{isSelected:S.isSelected}]]},R.children))});d(h,function(t,r,i){let o=a(P),{isLoading:l,onLoadMore:u,scrollOffset:d,...p}=t,m=c(null),h=s(()=>({onLoadMore:u,collection:o?.collection,sentinelRef:m,scrollOffset:d}),[u,d,o?.collection]);y(h,m);let g=T({...p,id:void 0,children:i.rendered,defaultClassName:`react-aria-ListBoxLoadingIndicator`,values:void 0});return n.createElement(n.Fragment,null,n.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:v(!0)},n.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:m,style:{position:`absolute`,height:1,width:1}})),l&&g.children&&n.createElement(n.Fragment,null,n.createElement(k.div,{...e(f(t,{global:!0}),{tabIndex:-1}),...g,role:`option`,ref:r},g.children)))});const I=r(null),L=i(function(e,t){let r=e.color||`#0000`,i=s(()=>typeof r==`string`?S(r):r,[r]),{locale:c}=g(),l=a(I);o(()=>{let e=i.toString(`hexa`);return l.set(e,i),()=>{l.delete(e)}},[i,l]);let u=e=>typeof e==`function`?t=>e({...t,color:i}):e;return n.createElement(F,{...e,render:e.render,ref:t,id:i.toString(`hexa`),textValue:i.getColorName(c),className:u(e.className||`react-aria-ColorSwatchPickerItem`),style:u(e.style)},E(u(e.children),e=>n.createElement(j.Provider,{value:{color:i}},e)))});export{L as ColorSwatchPickerItem};
|