@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,925 @@
|
|
|
1
|
+
import { t as createLucideIcon } from "./createLucideIcon-LS26Bb1M.js";
|
|
2
|
+
import { a as isEqual } from "./uiConfig.context-BvBsrMFI.js";
|
|
3
|
+
import { t as ChevronDown } from "./chevron-down-RksSwG1O.js";
|
|
4
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
5
|
+
import { a as $7230ffa83bc0c2cf$export$c245e6201fed2f75, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-D3gCeElo.js";
|
|
6
|
+
import { c as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153, t as $f2ff30fde7b014be$export$2e1e1122cf0cba88 } from "./Dialog-CLWfxiie.js";
|
|
7
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-CRlZqaJq.js";
|
|
8
|
+
import { t as $aa5f63badbfee5df$exports } from "./intlStrings-A7XlNdi7.js";
|
|
9
|
+
import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-Dx42Gif4.js";
|
|
10
|
+
import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
|
|
11
|
+
import { t as Typography } from "./Typography-AcUd9df8.js";
|
|
12
|
+
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
13
|
+
import { t as Button } from "./Button-CbwNjdRz.js";
|
|
14
|
+
import { InlineIconButton } from "./components/inline-icon-button.js";
|
|
15
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-DDGNxVX8.js";
|
|
16
|
+
import { t as FieldController } from "./form.binding-DLM7NA2s.js";
|
|
17
|
+
import { r as FormFieldLabel, t as FormField } from "./FormField-BHPdCLEV.js";
|
|
18
|
+
import "./i18n-BDjNuy4Z.js";
|
|
19
|
+
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-KYGD4Bdz.js";
|
|
20
|
+
import { t as popoverDefinition } from "./popover.cva-CXha_UMQ.js";
|
|
21
|
+
import { Input } from "./components/input.js";
|
|
22
|
+
import { t as Select } from "./Select-O9dprkTa.js";
|
|
23
|
+
import { Popover } from "./components/popover.js";
|
|
24
|
+
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
25
|
+
import { mergeProps } from "react-aria/mergeProps";
|
|
26
|
+
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
27
|
+
import { useLocale } from "react-aria/I18nProvider";
|
|
28
|
+
import { useColorSwatch } from "react-aria/useColorSwatch";
|
|
29
|
+
import { parseColor } from "react-stately/Color";
|
|
30
|
+
import { useColorPickerState } from "react-stately/useColorPickerState";
|
|
31
|
+
import { useLocalizedStringFormatter } from "react-aria/useLocalizedStringFormatter";
|
|
32
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
33
|
+
import { useLabel } from "@react-aria/label";
|
|
34
|
+
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
35
|
+
import { useTranslation } from "react-i18next";
|
|
36
|
+
import { Color } from "@tiptap/extension-color";
|
|
37
|
+
import { Highlight } from "@tiptap/extension-highlight";
|
|
38
|
+
import { Link } from "@tiptap/extension-link";
|
|
39
|
+
import { Placeholder } from "@tiptap/extension-placeholder";
|
|
40
|
+
import { TextAlign } from "@tiptap/extension-text-align";
|
|
41
|
+
import { TextStyle } from "@tiptap/extension-text-style";
|
|
42
|
+
import { Underline } from "@tiptap/extension-underline";
|
|
43
|
+
import { EditorContent, useEditor } from "@tiptap/react";
|
|
44
|
+
import { StarterKit } from "@tiptap/starter-kit";
|
|
45
|
+
/**
|
|
46
|
+
* @license lucide-react v1.37.0 - ISC
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the ISC license.
|
|
49
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/
|
|
51
|
+
const Baseline = createLucideIcon("baseline", [
|
|
52
|
+
["path", {
|
|
53
|
+
d: "M4 20h16",
|
|
54
|
+
key: "14thso"
|
|
55
|
+
}],
|
|
56
|
+
["path", {
|
|
57
|
+
d: "m6 16 6-12 6 12",
|
|
58
|
+
key: "1b4byz"
|
|
59
|
+
}],
|
|
60
|
+
["path", {
|
|
61
|
+
d: "M8 12h8",
|
|
62
|
+
key: "1wcyev"
|
|
63
|
+
}]
|
|
64
|
+
]);
|
|
65
|
+
/**
|
|
66
|
+
* @license lucide-react v1.37.0 - ISC
|
|
67
|
+
*
|
|
68
|
+
* This source code is licensed under the ISC license.
|
|
69
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
+
*/
|
|
71
|
+
const Bold = createLucideIcon("bold", [["path", {
|
|
72
|
+
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
73
|
+
key: "mg9rjx"
|
|
74
|
+
}]]);
|
|
75
|
+
/**
|
|
76
|
+
* @license lucide-react v1.37.0 - ISC
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the ISC license.
|
|
79
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/
|
|
81
|
+
const Highlighter = createLucideIcon("highlighter", [["path", {
|
|
82
|
+
d: "m9 11-6 6v3h9l3-3",
|
|
83
|
+
key: "1a3l36"
|
|
84
|
+
}], ["path", {
|
|
85
|
+
d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",
|
|
86
|
+
key: "14a9rk"
|
|
87
|
+
}]]);
|
|
88
|
+
/**
|
|
89
|
+
* @license lucide-react v1.37.0 - ISC
|
|
90
|
+
*
|
|
91
|
+
* This source code is licensed under the ISC license.
|
|
92
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
+
*/
|
|
94
|
+
const Italic = createLucideIcon("italic", [
|
|
95
|
+
["line", {
|
|
96
|
+
x1: "19",
|
|
97
|
+
x2: "10",
|
|
98
|
+
y1: "4",
|
|
99
|
+
y2: "4",
|
|
100
|
+
key: "15jd3p"
|
|
101
|
+
}],
|
|
102
|
+
["line", {
|
|
103
|
+
x1: "14",
|
|
104
|
+
x2: "5",
|
|
105
|
+
y1: "20",
|
|
106
|
+
y2: "20",
|
|
107
|
+
key: "bu0au3"
|
|
108
|
+
}],
|
|
109
|
+
["line", {
|
|
110
|
+
x1: "15",
|
|
111
|
+
x2: "9",
|
|
112
|
+
y1: "4",
|
|
113
|
+
y2: "20",
|
|
114
|
+
key: "uljnxc"
|
|
115
|
+
}]
|
|
116
|
+
]);
|
|
117
|
+
/**
|
|
118
|
+
* @license lucide-react v1.37.0 - ISC
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the ISC license.
|
|
121
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/
|
|
123
|
+
const Link$1 = createLucideIcon("link", [["path", {
|
|
124
|
+
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
125
|
+
key: "1cjeqo"
|
|
126
|
+
}], ["path", {
|
|
127
|
+
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
128
|
+
key: "19qd67"
|
|
129
|
+
}]]);
|
|
130
|
+
/**
|
|
131
|
+
* @license lucide-react v1.37.0 - ISC
|
|
132
|
+
*
|
|
133
|
+
* This source code is licensed under the ISC license.
|
|
134
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
135
|
+
*/
|
|
136
|
+
const ListOrdered = createLucideIcon("list-ordered", [
|
|
137
|
+
["path", {
|
|
138
|
+
d: "M11 5h10",
|
|
139
|
+
key: "1cz7ny"
|
|
140
|
+
}],
|
|
141
|
+
["path", {
|
|
142
|
+
d: "M11 12h10",
|
|
143
|
+
key: "1438ji"
|
|
144
|
+
}],
|
|
145
|
+
["path", {
|
|
146
|
+
d: "M11 19h10",
|
|
147
|
+
key: "11t30w"
|
|
148
|
+
}],
|
|
149
|
+
["path", {
|
|
150
|
+
d: "M4 4h1v5",
|
|
151
|
+
key: "10yrso"
|
|
152
|
+
}],
|
|
153
|
+
["path", {
|
|
154
|
+
d: "M4 9h2",
|
|
155
|
+
key: "r1h2o0"
|
|
156
|
+
}],
|
|
157
|
+
["path", {
|
|
158
|
+
d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",
|
|
159
|
+
key: "xtkcd5"
|
|
160
|
+
}]
|
|
161
|
+
]);
|
|
162
|
+
/**
|
|
163
|
+
* @license lucide-react v1.37.0 - ISC
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the ISC license.
|
|
166
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/
|
|
168
|
+
const List = createLucideIcon("list", [
|
|
169
|
+
["path", {
|
|
170
|
+
d: "M3 5h.01",
|
|
171
|
+
key: "18ugdj"
|
|
172
|
+
}],
|
|
173
|
+
["path", {
|
|
174
|
+
d: "M3 12h.01",
|
|
175
|
+
key: "nlz23k"
|
|
176
|
+
}],
|
|
177
|
+
["path", {
|
|
178
|
+
d: "M3 19h.01",
|
|
179
|
+
key: "noohij"
|
|
180
|
+
}],
|
|
181
|
+
["path", {
|
|
182
|
+
d: "M8 5h13",
|
|
183
|
+
key: "1pao27"
|
|
184
|
+
}],
|
|
185
|
+
["path", {
|
|
186
|
+
d: "M8 12h13",
|
|
187
|
+
key: "1za7za"
|
|
188
|
+
}],
|
|
189
|
+
["path", {
|
|
190
|
+
d: "M8 19h13",
|
|
191
|
+
key: "m83p4d"
|
|
192
|
+
}]
|
|
193
|
+
]);
|
|
194
|
+
/**
|
|
195
|
+
* @license lucide-react v1.37.0 - ISC
|
|
196
|
+
*
|
|
197
|
+
* This source code is licensed under the ISC license.
|
|
198
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
+
*/
|
|
200
|
+
const Strikethrough = createLucideIcon("strikethrough", [
|
|
201
|
+
["path", {
|
|
202
|
+
d: "M16 4H9a3 3 0 0 0-2.83 4",
|
|
203
|
+
key: "43sutm"
|
|
204
|
+
}],
|
|
205
|
+
["path", {
|
|
206
|
+
d: "M14 12a4 4 0 0 1 0 8H6",
|
|
207
|
+
key: "nlfj13"
|
|
208
|
+
}],
|
|
209
|
+
["line", {
|
|
210
|
+
x1: "4",
|
|
211
|
+
x2: "20",
|
|
212
|
+
y1: "12",
|
|
213
|
+
y2: "12",
|
|
214
|
+
key: "1e0a9i"
|
|
215
|
+
}]
|
|
216
|
+
]);
|
|
217
|
+
/**
|
|
218
|
+
* @license lucide-react v1.37.0 - ISC
|
|
219
|
+
*
|
|
220
|
+
* This source code is licensed under the ISC license.
|
|
221
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
222
|
+
*/
|
|
223
|
+
const TextAlignEnd = createLucideIcon("text-align-end", [
|
|
224
|
+
["path", {
|
|
225
|
+
d: "M21 5H3",
|
|
226
|
+
key: "1fi0y6"
|
|
227
|
+
}],
|
|
228
|
+
["path", {
|
|
229
|
+
d: "M21 12H9",
|
|
230
|
+
key: "dn1m92"
|
|
231
|
+
}],
|
|
232
|
+
["path", {
|
|
233
|
+
d: "M21 19H7",
|
|
234
|
+
key: "4cu937"
|
|
235
|
+
}]
|
|
236
|
+
]);
|
|
237
|
+
/**
|
|
238
|
+
* @license lucide-react v1.37.0 - ISC
|
|
239
|
+
*
|
|
240
|
+
* This source code is licensed under the ISC license.
|
|
241
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
242
|
+
*/
|
|
243
|
+
const TextAlignCenter = createLucideIcon("text-align-center", [
|
|
244
|
+
["path", {
|
|
245
|
+
d: "M21 5H3",
|
|
246
|
+
key: "1fi0y6"
|
|
247
|
+
}],
|
|
248
|
+
["path", {
|
|
249
|
+
d: "M17 12H7",
|
|
250
|
+
key: "16if0g"
|
|
251
|
+
}],
|
|
252
|
+
["path", {
|
|
253
|
+
d: "M19 19H5",
|
|
254
|
+
key: "vjpgq2"
|
|
255
|
+
}]
|
|
256
|
+
]);
|
|
257
|
+
/**
|
|
258
|
+
* @license lucide-react v1.37.0 - ISC
|
|
259
|
+
*
|
|
260
|
+
* This source code is licensed under the ISC license.
|
|
261
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
262
|
+
*/
|
|
263
|
+
const TextAlignJustify = createLucideIcon("text-align-justify", [
|
|
264
|
+
["path", {
|
|
265
|
+
d: "M3 5h18",
|
|
266
|
+
key: "1u36vt"
|
|
267
|
+
}],
|
|
268
|
+
["path", {
|
|
269
|
+
d: "M3 12h18",
|
|
270
|
+
key: "1i2n21"
|
|
271
|
+
}],
|
|
272
|
+
["path", {
|
|
273
|
+
d: "M3 19h18",
|
|
274
|
+
key: "awlh7x"
|
|
275
|
+
}]
|
|
276
|
+
]);
|
|
277
|
+
/**
|
|
278
|
+
* @license lucide-react v1.37.0 - ISC
|
|
279
|
+
*
|
|
280
|
+
* This source code is licensed under the ISC license.
|
|
281
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
282
|
+
*/
|
|
283
|
+
const TextAlignStart = createLucideIcon("text-align-start", [
|
|
284
|
+
["path", {
|
|
285
|
+
d: "M21 5H3",
|
|
286
|
+
key: "1fi0y6"
|
|
287
|
+
}],
|
|
288
|
+
["path", {
|
|
289
|
+
d: "M15 12H3",
|
|
290
|
+
key: "6jk70r"
|
|
291
|
+
}],
|
|
292
|
+
["path", {
|
|
293
|
+
d: "M17 19H3",
|
|
294
|
+
key: "z6ezky"
|
|
295
|
+
}]
|
|
296
|
+
]);
|
|
297
|
+
/**
|
|
298
|
+
* @license lucide-react v1.37.0 - ISC
|
|
299
|
+
*
|
|
300
|
+
* This source code is licensed under the ISC license.
|
|
301
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
302
|
+
*/
|
|
303
|
+
const Underline$1 = createLucideIcon("underline", [["path", {
|
|
304
|
+
d: "M6 4v6a6 6 0 0 0 12 0V4",
|
|
305
|
+
key: "9kb039"
|
|
306
|
+
}], ["line", {
|
|
307
|
+
x1: "4",
|
|
308
|
+
x2: "20",
|
|
309
|
+
y1: "20",
|
|
310
|
+
y2: "20",
|
|
311
|
+
key: "nun2al"
|
|
312
|
+
}]]);
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region ../../node_modules/.bun/react-aria-components@1.20.0+67f6792bdf102c28/node_modules/react-aria-components/dist/private/ColorSwatch.mjs
|
|
315
|
+
const $eeaff5a2d2421ecc$export$83cc445538396800 = /*#__PURE__*/ createContext(null);
|
|
316
|
+
const $eeaff5a2d2421ecc$export$cae13e90592f246a = /*#__PURE__*/ forwardRef(function ColorSwatch(props, ref) {
|
|
317
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $eeaff5a2d2421ecc$export$83cc445538396800);
|
|
318
|
+
let { colorSwatchProps, color } = useColorSwatch(props);
|
|
319
|
+
let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
|
|
320
|
+
...props,
|
|
321
|
+
defaultClassName: "react-aria-ColorSwatch",
|
|
322
|
+
defaultStyle: colorSwatchProps.style,
|
|
323
|
+
values: { color }
|
|
324
|
+
});
|
|
325
|
+
let DOMProps = filterDOMProps(props, { global: true });
|
|
326
|
+
return /*#__PURE__*/ $ahdqC$react.createElement($7230ffa83bc0c2cf$export$df3a06d6289f983e.div, {
|
|
327
|
+
...mergeProps(DOMProps, colorSwatchProps, renderProps),
|
|
328
|
+
slot: props.slot || void 0,
|
|
329
|
+
ref
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
//#endregion
|
|
333
|
+
//#region ../../node_modules/.bun/react-aria-components@1.20.0+67f6792bdf102c28/node_modules/react-aria-components/dist/private/ColorSwatchPicker.mjs
|
|
334
|
+
function $parcel$interopDefault(a) {
|
|
335
|
+
return a && a.__esModule ? a.default : a;
|
|
336
|
+
}
|
|
337
|
+
const $a36727cf8b43b57f$export$7214f50881fc1eaf = /*#__PURE__*/ createContext(null);
|
|
338
|
+
const $a36727cf8b43b57f$var$ColorMapContext = /*#__PURE__*/ createContext(null);
|
|
339
|
+
const $a36727cf8b43b57f$export$b46792416e3d8515 = /*#__PURE__*/ forwardRef(function ColorSwatchPicker(props, ref) {
|
|
340
|
+
[props, ref] = $7230ffa83bc0c2cf$export$29f1550f4b0d4415(props, ref, $a36727cf8b43b57f$export$7214f50881fc1eaf);
|
|
341
|
+
let state = useColorPickerState(props);
|
|
342
|
+
let colorMap = useMemo(() => /* @__PURE__ */ new Map(), []);
|
|
343
|
+
let formatter = useLocalizedStringFormatter($parcel$interopDefault($aa5f63badbfee5df$exports), "react-aria-components");
|
|
344
|
+
return /*#__PURE__*/ $ahdqC$react.createElement($928221da08ecbc62$export$41f133550aa26f48, {
|
|
345
|
+
...filterDOMProps(props, { labelable: true }),
|
|
346
|
+
ref,
|
|
347
|
+
className: props.className || "react-aria-ColorSwatchPicker",
|
|
348
|
+
style: props.style,
|
|
349
|
+
"aria-label": props["aria-label"] || (!props["aria-labelledby"] ? formatter.format("colorSwatchPicker") : void 0),
|
|
350
|
+
layout: props.layout || "grid",
|
|
351
|
+
selectionMode: "single",
|
|
352
|
+
selectedKeys: [state.color.toString("hexa")],
|
|
353
|
+
onSelectionChange: (keys) => {
|
|
354
|
+
if (keys !== "all") state.setColor(colorMap.get([...keys][0]));
|
|
355
|
+
},
|
|
356
|
+
disallowEmptySelection: true
|
|
357
|
+
}, /*#__PURE__*/ $ahdqC$react.createElement($a36727cf8b43b57f$var$ColorMapContext.Provider, { value: colorMap }, props.children));
|
|
358
|
+
});
|
|
359
|
+
const $a36727cf8b43b57f$export$abcd89c27081c2ef = /*#__PURE__*/ forwardRef(function ColorSwatchPickerItem(props, ref) {
|
|
360
|
+
let propColor = props.color || "#0000";
|
|
361
|
+
let color = useMemo(() => typeof propColor === "string" ? parseColor(propColor) : propColor, [propColor]);
|
|
362
|
+
let { locale } = useLocale();
|
|
363
|
+
let map = useContext($a36727cf8b43b57f$var$ColorMapContext);
|
|
364
|
+
useEffect(() => {
|
|
365
|
+
let key = color.toString("hexa");
|
|
366
|
+
map.set(key, color);
|
|
367
|
+
return () => {
|
|
368
|
+
map.delete(key);
|
|
369
|
+
};
|
|
370
|
+
}, [color, map]);
|
|
371
|
+
let wrap = (v) => {
|
|
372
|
+
if (typeof v === "function") return (renderProps) => v({
|
|
373
|
+
...renderProps,
|
|
374
|
+
color
|
|
375
|
+
});
|
|
376
|
+
return v;
|
|
377
|
+
};
|
|
378
|
+
return /*#__PURE__*/ $ahdqC$react.createElement($928221da08ecbc62$export$a11e76429ed99b4, {
|
|
379
|
+
...props,
|
|
380
|
+
render: props.render,
|
|
381
|
+
ref,
|
|
382
|
+
id: color.toString("hexa"),
|
|
383
|
+
textValue: color.getColorName(locale),
|
|
384
|
+
className: wrap(props.className || "react-aria-ColorSwatchPickerItem"),
|
|
385
|
+
style: wrap(props.style)
|
|
386
|
+
}, $7230ffa83bc0c2cf$export$c245e6201fed2f75(wrap(props.children), (children) => /*#__PURE__*/ $ahdqC$react.createElement($eeaff5a2d2421ecc$export$83cc445538396800.Provider, { value: { color } }, children)));
|
|
387
|
+
});
|
|
388
|
+
//#endregion
|
|
389
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/HyperlinkAction.tsx
|
|
390
|
+
const HyperlinkAction = ({ editor }) => {
|
|
391
|
+
const { t } = useTranslation("ui");
|
|
392
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
393
|
+
const [url, setUrl] = useState("");
|
|
394
|
+
const isLinkEnabled = !!editor.extensionManager.extensions.find((extension) => extension.name === "link");
|
|
395
|
+
const linkHref = editor.getAttributes("link")?.href;
|
|
396
|
+
useEffect(() => {
|
|
397
|
+
setUrl(linkHref || "");
|
|
398
|
+
}, [linkHref]);
|
|
399
|
+
if (!isLinkEnabled) return null;
|
|
400
|
+
const onRemove = () => {
|
|
401
|
+
editor.chain().focus().extendMarkRange("link").unsetLink().run();
|
|
402
|
+
setIsOpen(false);
|
|
403
|
+
};
|
|
404
|
+
const onApply = () => {
|
|
405
|
+
editor.chain().focus().extendMarkRange("link").setLink({ href: url }).run();
|
|
406
|
+
setIsOpen(false);
|
|
407
|
+
};
|
|
408
|
+
return /* @__PURE__ */ jsxs(Popover, {
|
|
409
|
+
isOpen,
|
|
410
|
+
onOpenChange: setIsOpen,
|
|
411
|
+
sheetLabel: t(($) => $.ui.textEditor.link.label),
|
|
412
|
+
trigger: /* @__PURE__ */ jsx(InlineIconButton, {
|
|
413
|
+
color: "secondary",
|
|
414
|
+
label: t(($) => $.ui.textEditor.link.label),
|
|
415
|
+
icon: Link$1,
|
|
416
|
+
className: clsx(editor.isActive("link") && "!text-interactive-text-primary-idle"),
|
|
417
|
+
isDisabled: !editor.isEditable
|
|
418
|
+
}),
|
|
419
|
+
children: [/* @__PURE__ */ jsx(Input, {
|
|
420
|
+
variant: "outlined",
|
|
421
|
+
hideLabel: true,
|
|
422
|
+
label: t(($) => $.ui.textEditor.link.urlLabel),
|
|
423
|
+
placeholder: t(($) => $.ui.textEditor.link.urlPlaceholder),
|
|
424
|
+
value: url,
|
|
425
|
+
onChange: setUrl,
|
|
426
|
+
className: "mb-4"
|
|
427
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
428
|
+
className: "flex justify-between",
|
|
429
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
430
|
+
variant: "contained",
|
|
431
|
+
color: "secondary",
|
|
432
|
+
size: "xs",
|
|
433
|
+
width: "hug",
|
|
434
|
+
onPress: onApply,
|
|
435
|
+
isDisabled: !url,
|
|
436
|
+
children: t(($) => $.ui.textEditor.link.apply)
|
|
437
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
438
|
+
variant: "outlined",
|
|
439
|
+
color: "secondary",
|
|
440
|
+
size: "xs",
|
|
441
|
+
width: "hug",
|
|
442
|
+
onPress: onRemove,
|
|
443
|
+
isDisabled: !editor.isActive("link"),
|
|
444
|
+
children: t(($) => $.ui.textEditor.link.remove)
|
|
445
|
+
})]
|
|
446
|
+
})]
|
|
447
|
+
});
|
|
448
|
+
};
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextAlignSelect.tsx
|
|
451
|
+
const TextAlignSelect = ({ editor }) => {
|
|
452
|
+
const { t } = useTranslation("ui");
|
|
453
|
+
if (!!!editor.extensionManager.extensions.find((extension) => extension.name === "textAlign")) return null;
|
|
454
|
+
const onChange = (val) => {
|
|
455
|
+
if (val) editor.chain().focus().setTextAlign(val).run();
|
|
456
|
+
else editor.chain().focus().unsetTextAlign().run();
|
|
457
|
+
};
|
|
458
|
+
const getItem = (id, Icon) => {
|
|
459
|
+
return {
|
|
460
|
+
id,
|
|
461
|
+
label: t(($) => $.ui.textEditor.textAlign[id]),
|
|
462
|
+
content: /* @__PURE__ */ jsx(Icon, { className: "size-6" }),
|
|
463
|
+
isActive: editor.isActive({ textAlign: id }),
|
|
464
|
+
can: editor.can().setTextAlign(id)
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
const enabledItems = [
|
|
468
|
+
getItem("left", TextAlignStart),
|
|
469
|
+
getItem("center", TextAlignCenter),
|
|
470
|
+
getItem("right", TextAlignEnd),
|
|
471
|
+
getItem("justify", TextAlignJustify)
|
|
472
|
+
].filter((item) => item.can);
|
|
473
|
+
return /* @__PURE__ */ jsx(Select, {
|
|
474
|
+
as: "inline",
|
|
475
|
+
label: t(($) => $.ui.textEditor.textAlign.label),
|
|
476
|
+
placeholder: t(($) => $.ui.textEditor.textAlign.label),
|
|
477
|
+
hideLabel: true,
|
|
478
|
+
ignoreTriggerWidth: true,
|
|
479
|
+
showSelectionContent: true,
|
|
480
|
+
onChange,
|
|
481
|
+
items: enabledItems,
|
|
482
|
+
value: enabledItems.find((item) => item.isActive)?.id || "left",
|
|
483
|
+
isDisabled: !editor.isEditable
|
|
484
|
+
});
|
|
485
|
+
};
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/ColorPicker.tsx
|
|
488
|
+
const ColorPicker = ({ colors, value, onChange }) => {
|
|
489
|
+
return /* @__PURE__ */ jsx($a36727cf8b43b57f$export$b46792416e3d8515, {
|
|
490
|
+
value,
|
|
491
|
+
onChange: (color) => onChange(color.toString("hex")),
|
|
492
|
+
className: "grid w-full grid-cols-[repeat(auto-fit,minmax(1rem,1fr))] gap-1",
|
|
493
|
+
children: colors.map((color) => /* @__PURE__ */ jsx($a36727cf8b43b57f$export$abcd89c27081c2ef, {
|
|
494
|
+
color,
|
|
495
|
+
className: "group",
|
|
496
|
+
children: /* @__PURE__ */ jsx($eeaff5a2d2421ecc$export$cae13e90592f246a, { className: clsx("size-4 rounded-xs border border-interactive-outlined-secondary-outline-idle border-solid", "group-selected:border-interactive-outlined-primary-outline-pressed group-selected:shadow-2", "cursor-pointer") })
|
|
497
|
+
}, color))
|
|
498
|
+
});
|
|
499
|
+
};
|
|
500
|
+
//#endregion
|
|
501
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/ColorPickerDropdown.tsx
|
|
502
|
+
const ColorPickerDropdown = ({ colors, value, onChange, isDisabled, children }) => {
|
|
503
|
+
const inputCva = useInputCva();
|
|
504
|
+
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
505
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
506
|
+
const handleChange = (color) => {
|
|
507
|
+
onChange(color);
|
|
508
|
+
setIsOpen(false);
|
|
509
|
+
};
|
|
510
|
+
return /* @__PURE__ */ jsxs($f2ff30fde7b014be$export$2e1e1122cf0cba88, {
|
|
511
|
+
isOpen,
|
|
512
|
+
onOpenChange: setIsOpen,
|
|
513
|
+
children: [/* @__PURE__ */ jsxs($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
514
|
+
className: inputCva({
|
|
515
|
+
as: "inline",
|
|
516
|
+
className: clsx("flex items-center justify-between gap-2")
|
|
517
|
+
}),
|
|
518
|
+
isDisabled,
|
|
519
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
520
|
+
size: "label-1",
|
|
521
|
+
className: "truncate",
|
|
522
|
+
children
|
|
523
|
+
}), /* @__PURE__ */ jsx(ChevronDown, {
|
|
524
|
+
className: clsx("size-6 shrink-0", isOpen && "rotate-180"),
|
|
525
|
+
"aria-hidden": "true"
|
|
526
|
+
})]
|
|
527
|
+
}), /* @__PURE__ */ jsx($542a13ca2fa5b484$export$5b6b19405a83ff9d, {
|
|
528
|
+
className: "my-4 w-40 outline-none",
|
|
529
|
+
offset: 0,
|
|
530
|
+
placement: "bottom start",
|
|
531
|
+
children: /* @__PURE__ */ jsx($f2ff30fde7b014be$export$3ddf2d174ce01153, {
|
|
532
|
+
className: "outline-none",
|
|
533
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
534
|
+
className: clsx(popoverCva({}), "flex justify-center overflow-hidden p-2"),
|
|
535
|
+
children: /* @__PURE__ */ jsx(ColorPicker, {
|
|
536
|
+
colors,
|
|
537
|
+
value,
|
|
538
|
+
onChange: handleChange
|
|
539
|
+
})
|
|
540
|
+
})
|
|
541
|
+
})
|
|
542
|
+
})]
|
|
543
|
+
});
|
|
544
|
+
};
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/components/inputs/RichTextEditor/richTextEditor.types.ts
|
|
547
|
+
const defaultColors = [
|
|
548
|
+
"#000000",
|
|
549
|
+
"#e60000",
|
|
550
|
+
"#ff9900",
|
|
551
|
+
"#ffff00",
|
|
552
|
+
"#008a00",
|
|
553
|
+
"#0066cc",
|
|
554
|
+
"#9933ff",
|
|
555
|
+
"#ffffff",
|
|
556
|
+
"#facccc",
|
|
557
|
+
"#ffebcc",
|
|
558
|
+
"#ffffcc",
|
|
559
|
+
"#cce8cc",
|
|
560
|
+
"#cce0f5",
|
|
561
|
+
"#ebd6ff",
|
|
562
|
+
"#bbbbbb",
|
|
563
|
+
"#f06666",
|
|
564
|
+
"#ffc266",
|
|
565
|
+
"#ffff66",
|
|
566
|
+
"#66b966",
|
|
567
|
+
"#66a3e0",
|
|
568
|
+
"#c285ff",
|
|
569
|
+
"#888888",
|
|
570
|
+
"#a10000",
|
|
571
|
+
"#b26b00",
|
|
572
|
+
"#b2b200",
|
|
573
|
+
"#006100",
|
|
574
|
+
"#0047b2",
|
|
575
|
+
"#6b24b2",
|
|
576
|
+
"#444444",
|
|
577
|
+
"#5c0000",
|
|
578
|
+
"#663d00",
|
|
579
|
+
"#666600",
|
|
580
|
+
"#003700",
|
|
581
|
+
"#002966",
|
|
582
|
+
"#3d1466"
|
|
583
|
+
];
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextColorSelect.tsx
|
|
586
|
+
const TextColorSelect = ({ editor }) => {
|
|
587
|
+
if (!editor.extensionManager.extensions.some((extension) => extension.name === "color")) return null;
|
|
588
|
+
const onChange = (color) => {
|
|
589
|
+
editor.chain().focus().setColor(color).run();
|
|
590
|
+
};
|
|
591
|
+
const textColor = editor.getAttributes("textStyle").color || "#000000";
|
|
592
|
+
return /* @__PURE__ */ jsx(ColorPickerDropdown, {
|
|
593
|
+
value: textColor,
|
|
594
|
+
onChange,
|
|
595
|
+
colors: defaultColors,
|
|
596
|
+
isDisabled: !editor.isEditable,
|
|
597
|
+
children: /* @__PURE__ */ jsx(Baseline, {
|
|
598
|
+
className: "size-6",
|
|
599
|
+
style: { color: textColor }
|
|
600
|
+
})
|
|
601
|
+
});
|
|
602
|
+
};
|
|
603
|
+
//#endregion
|
|
604
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextHighlightSelect.tsx
|
|
605
|
+
const TextHighlightSelect = ({ editor }) => {
|
|
606
|
+
if (!editor.extensionManager.extensions.some((extension) => extension.name === "highlight")) return null;
|
|
607
|
+
const onChange = (color) => {
|
|
608
|
+
if (color === "#FFFFFF") editor.chain().focus().unsetHighlight().run();
|
|
609
|
+
else editor.chain().focus().setHighlight({ color }).run();
|
|
610
|
+
};
|
|
611
|
+
const highlightColor = editor.getAttributes("highlight").color || "#FFFFFF";
|
|
612
|
+
return /* @__PURE__ */ jsx(ColorPickerDropdown, {
|
|
613
|
+
value: highlightColor,
|
|
614
|
+
onChange,
|
|
615
|
+
colors: defaultColors,
|
|
616
|
+
isDisabled: !editor.isEditable,
|
|
617
|
+
children: highlightColor ? /* @__PURE__ */ jsx(Highlighter, {
|
|
618
|
+
className: "size-6",
|
|
619
|
+
style: { color: highlightColor }
|
|
620
|
+
}) : /* @__PURE__ */ jsx(Highlighter, { className: "size-6" })
|
|
621
|
+
});
|
|
622
|
+
};
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextListActions.tsx
|
|
625
|
+
const TextListActions = ({ editor }) => {
|
|
626
|
+
const { t } = useTranslation("ui");
|
|
627
|
+
const enabledActions = [{
|
|
628
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "bulletList"),
|
|
629
|
+
isEnabled: () => editor.isEditable && editor.can().toggleBulletList(),
|
|
630
|
+
label: t(($) => $.ui.textEditor.marks.bold),
|
|
631
|
+
icon: List,
|
|
632
|
+
onPress: () => {
|
|
633
|
+
editor.chain().focus().toggleBulletList().run();
|
|
634
|
+
},
|
|
635
|
+
isActive: () => editor.isActive("bulletList")
|
|
636
|
+
}, {
|
|
637
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "orderedList"),
|
|
638
|
+
isEnabled: () => editor.isEditable && editor.can().toggleOrderedList(),
|
|
639
|
+
label: t(($) => $.ui.textEditor.marks.italic),
|
|
640
|
+
icon: ListOrdered,
|
|
641
|
+
onPress: () => {
|
|
642
|
+
editor.chain().focus().toggleOrderedList().run();
|
|
643
|
+
},
|
|
644
|
+
isActive: () => editor.isActive("orderedList")
|
|
645
|
+
}].filter((action) => action.can);
|
|
646
|
+
if (enabledActions.length === 0) return null;
|
|
647
|
+
return /* @__PURE__ */ jsx("div", {
|
|
648
|
+
className: "flex h-full items-center gap-3",
|
|
649
|
+
children: enabledActions.map((action) => /* @__PURE__ */ jsx(InlineIconButton, {
|
|
650
|
+
color: "secondary",
|
|
651
|
+
label: action.label,
|
|
652
|
+
onPress: action.onPress,
|
|
653
|
+
icon: action.icon,
|
|
654
|
+
isDisabled: !action.isEnabled(),
|
|
655
|
+
className: clsx(action.isActive() && "!text-interactive-text-primary-idle")
|
|
656
|
+
}, action.label))
|
|
657
|
+
});
|
|
658
|
+
};
|
|
659
|
+
//#endregion
|
|
660
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextMarksActions.tsx
|
|
661
|
+
const TextMarksActions = ({ editor }) => {
|
|
662
|
+
const { t } = useTranslation("ui");
|
|
663
|
+
const enabledActions = [
|
|
664
|
+
{
|
|
665
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "bold"),
|
|
666
|
+
isEnabled: () => editor.isEditable && editor.can().toggleBold(),
|
|
667
|
+
label: t(($) => $.ui.textEditor.marks.bold),
|
|
668
|
+
icon: Bold,
|
|
669
|
+
onPress: () => {
|
|
670
|
+
editor.chain().focus().toggleBold().run();
|
|
671
|
+
},
|
|
672
|
+
isActive: () => editor.isActive("bold")
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "italic"),
|
|
676
|
+
isEnabled: () => editor.isEditable && editor.can().toggleItalic(),
|
|
677
|
+
label: t(($) => $.ui.textEditor.marks.italic),
|
|
678
|
+
icon: Italic,
|
|
679
|
+
onPress: () => {
|
|
680
|
+
editor.chain().focus().toggleItalic().run();
|
|
681
|
+
},
|
|
682
|
+
isActive: () => editor.isActive("italic")
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "strike"),
|
|
686
|
+
isEnabled: () => editor.isEditable && editor.can().toggleStrike(),
|
|
687
|
+
label: t(($) => $.ui.textEditor.marks.strikethrough),
|
|
688
|
+
icon: Strikethrough,
|
|
689
|
+
onPress: () => {
|
|
690
|
+
editor.chain().focus().toggleStrike().run();
|
|
691
|
+
},
|
|
692
|
+
isActive: () => editor.isActive("strike")
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
can: !!editor.extensionManager.extensions.find((extension) => extension.name === "underline"),
|
|
696
|
+
isEnabled: () => editor.isEditable && editor.can().toggleUnderline(),
|
|
697
|
+
label: t(($) => $.ui.textEditor.marks.underline),
|
|
698
|
+
icon: Underline$1,
|
|
699
|
+
onPress: () => {
|
|
700
|
+
editor.chain().focus().toggleUnderline().run();
|
|
701
|
+
},
|
|
702
|
+
isActive: () => editor.isActive("underline")
|
|
703
|
+
}
|
|
704
|
+
].filter((action) => action.can);
|
|
705
|
+
if (enabledActions.length === 0) return null;
|
|
706
|
+
return /* @__PURE__ */ jsx("div", {
|
|
707
|
+
className: "flex h-full items-center gap-3",
|
|
708
|
+
children: enabledActions.map((action) => /* @__PURE__ */ jsx(InlineIconButton, {
|
|
709
|
+
color: "secondary",
|
|
710
|
+
label: action.label,
|
|
711
|
+
onPress: action.onPress,
|
|
712
|
+
icon: action.icon,
|
|
713
|
+
isDisabled: !action.isEnabled(),
|
|
714
|
+
className: clsx(action.isActive() && "!text-interactive-text-primary-idle")
|
|
715
|
+
}, action.label))
|
|
716
|
+
});
|
|
717
|
+
};
|
|
718
|
+
//#endregion
|
|
719
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/TextStyleSelect.tsx
|
|
720
|
+
const TextStyleSelect = ({ editor }) => {
|
|
721
|
+
const { t } = useTranslation("ui");
|
|
722
|
+
if (!!!editor.extensionManager.extensions.find((extension) => extension.name === "heading")) return null;
|
|
723
|
+
const getItem = (level) => {
|
|
724
|
+
return {
|
|
725
|
+
id: level,
|
|
726
|
+
label: t(($) => $.ui.textEditor.textStyle[`heading${level}`]),
|
|
727
|
+
content: /* @__PURE__ */ jsx(Typography, {
|
|
728
|
+
size: `title-${level}`,
|
|
729
|
+
children: t(($) => $.ui.textEditor.textStyle[`heading${level}`])
|
|
730
|
+
})
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
const onChange = (val) => {
|
|
734
|
+
if (!val) {
|
|
735
|
+
const currentLevel = editor.getAttributes("heading")?.level;
|
|
736
|
+
if (!currentLevel) return;
|
|
737
|
+
editor.chain().focus().toggleHeading({ level: currentLevel }).run();
|
|
738
|
+
return;
|
|
739
|
+
}
|
|
740
|
+
if (!editor.can().setHeading({ level: val })) return;
|
|
741
|
+
editor.chain().focus().setHeading({ level: val }).run();
|
|
742
|
+
};
|
|
743
|
+
return /* @__PURE__ */ jsx(Select, {
|
|
744
|
+
as: "inline",
|
|
745
|
+
placeholder: t(($) => $.ui.textEditor.textStyle.label),
|
|
746
|
+
label: t(($) => $.ui.textEditor.textStyle.label),
|
|
747
|
+
hideLabel: true,
|
|
748
|
+
ignoreTriggerWidth: true,
|
|
749
|
+
onChange,
|
|
750
|
+
items: [
|
|
751
|
+
{
|
|
752
|
+
id: 0,
|
|
753
|
+
label: t(($) => $.ui.textEditor.textStyle.normal)
|
|
754
|
+
},
|
|
755
|
+
...editor.can().toggleHeading({ level: 1 }) ? [getItem(1)] : [],
|
|
756
|
+
...editor.can().toggleHeading({ level: 2 }) ? [getItem(2)] : [],
|
|
757
|
+
...editor.can().toggleHeading({ level: 3 }) ? [getItem(3)] : [],
|
|
758
|
+
...editor.can().toggleHeading({ level: 4 }) ? [getItem(4)] : [],
|
|
759
|
+
...editor.can().toggleHeading({ level: 5 }) ? [getItem(5)] : [],
|
|
760
|
+
...editor.can().toggleHeading({ level: 6 }) ? [getItem(6)] : []
|
|
761
|
+
],
|
|
762
|
+
value: editor.getAttributes("heading")?.level || 0,
|
|
763
|
+
isDisabled: !editor.isEditable
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
//#endregion
|
|
767
|
+
//#region src/components/inputs/RichTextEditor/Toolbar/RichTextEditorToolbar.tsx
|
|
768
|
+
const RichTextEditorToolbar = ({ editor }) => {
|
|
769
|
+
if (!editor) return null;
|
|
770
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
771
|
+
className: "flex w-full flex-wrap items-center gap-x-7 gap-y-1 border-elevation-outline-default-2 border-b border-solid p-2",
|
|
772
|
+
children: [
|
|
773
|
+
/* @__PURE__ */ jsxs("div", {
|
|
774
|
+
className: "flex flex-wrap gap-1",
|
|
775
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
776
|
+
className: "flex items-center gap-1",
|
|
777
|
+
children: [/* @__PURE__ */ jsx(TextStyleSelect, { editor }), /* @__PURE__ */ jsx(TextAlignSelect, { editor })]
|
|
778
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
779
|
+
className: "flex items-center gap-1",
|
|
780
|
+
children: [/* @__PURE__ */ jsx(TextColorSelect, { editor }), /* @__PURE__ */ jsx(TextHighlightSelect, { editor })]
|
|
781
|
+
})]
|
|
782
|
+
}),
|
|
783
|
+
/* @__PURE__ */ jsx(TextMarksActions, { editor }),
|
|
784
|
+
/* @__PURE__ */ jsx(TextListActions, { editor }),
|
|
785
|
+
/* @__PURE__ */ jsx(HyperlinkAction, { editor })
|
|
786
|
+
]
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
//#endregion
|
|
790
|
+
//#region src/components/inputs/RichTextEditor/RichTextEditor.tsx
|
|
791
|
+
const extensions = [
|
|
792
|
+
StarterKit.configure({ heading: { levels: [
|
|
793
|
+
1,
|
|
794
|
+
2,
|
|
795
|
+
3
|
|
796
|
+
] } }),
|
|
797
|
+
TextAlign.configure({ types: ["heading", "paragraph"] }),
|
|
798
|
+
Underline,
|
|
799
|
+
TextStyle,
|
|
800
|
+
Color,
|
|
801
|
+
Highlight.configure({ multicolor: true }),
|
|
802
|
+
Link.configure({
|
|
803
|
+
openOnClick: false,
|
|
804
|
+
defaultProtocol: "https"
|
|
805
|
+
})
|
|
806
|
+
];
|
|
807
|
+
const TextEditorBase = ({ ref, as = "default", placeholder, label, hideLabel, tooltipText, helperText, isRequired, rightContent, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, value, className, editorClassName, isDirty, onChange, onBlur }) => {
|
|
808
|
+
const contentRef = useRef(null);
|
|
809
|
+
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
810
|
+
const [isFocused, setIsFocused] = useState(false);
|
|
811
|
+
const { focusWithinProps } = useFocusWithin({ onFocusWithinChange: setIsFocused });
|
|
812
|
+
const { isFocusVisible } = useFocusVisible();
|
|
813
|
+
const inputSideCva = UIOverrides.useCva("input.sideCva", inputSideDefinition);
|
|
814
|
+
const formFieldProps = {
|
|
815
|
+
error,
|
|
816
|
+
label,
|
|
817
|
+
tooltipText,
|
|
818
|
+
helperText,
|
|
819
|
+
isRequired,
|
|
820
|
+
rightContent,
|
|
821
|
+
isHeaderHidden: isHeaderHidden || as === "filter" || as === "floating",
|
|
822
|
+
hideLabel,
|
|
823
|
+
isDisabled,
|
|
824
|
+
headerClassName,
|
|
825
|
+
errorClassName
|
|
826
|
+
};
|
|
827
|
+
const { labelProps, fieldProps } = useLabel({ label });
|
|
828
|
+
const editor = useEditor({
|
|
829
|
+
extensions: [...extensions, Placeholder.configure({ placeholder: as === "floating" ? "" : placeholder })],
|
|
830
|
+
editorProps: { attributes: { class: clsx("min-h-40 rounded-b-sm p-2 outline-none", editorClassName) } },
|
|
831
|
+
onUpdate: (event) => {
|
|
832
|
+
onChange?.({
|
|
833
|
+
json: event.editor.getJSON(),
|
|
834
|
+
html: event.editor.getHTML()
|
|
835
|
+
});
|
|
836
|
+
},
|
|
837
|
+
immediatelyRender: false,
|
|
838
|
+
editable: !isDisabled,
|
|
839
|
+
onBlur
|
|
840
|
+
}, [isDisabled, editorClassName]);
|
|
841
|
+
useEffect(() => {
|
|
842
|
+
const content = value?.json ?? null;
|
|
843
|
+
if (editor) {
|
|
844
|
+
if (!isEqual(content, editor.getJSON())) editor.commands.setContent(content);
|
|
845
|
+
} else if (!isEqual(content, contentRef.current)) contentRef.current = content ?? null;
|
|
846
|
+
}, [value]);
|
|
847
|
+
useEffect(() => {
|
|
848
|
+
if (editor && contentRef.current) {
|
|
849
|
+
editor.commands.setContent(contentRef.current);
|
|
850
|
+
contentRef.current = null;
|
|
851
|
+
}
|
|
852
|
+
}, [editor]);
|
|
853
|
+
const headerProps = {
|
|
854
|
+
label,
|
|
855
|
+
tooltipText,
|
|
856
|
+
helperText,
|
|
857
|
+
isRequired,
|
|
858
|
+
rightContent,
|
|
859
|
+
isHeaderHidden: hideLabel || isHeaderHidden,
|
|
860
|
+
isDisabled,
|
|
861
|
+
className: headerClassName,
|
|
862
|
+
labelProps
|
|
863
|
+
};
|
|
864
|
+
return /* @__PURE__ */ jsx(FormField, {
|
|
865
|
+
...formFieldProps,
|
|
866
|
+
ref,
|
|
867
|
+
as,
|
|
868
|
+
labelProps,
|
|
869
|
+
className: clsx("group w-full", className),
|
|
870
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
871
|
+
className: clsx("group/text-editor relative", "h-full w-full rounded-sm border border-elevation-outline-default-2 border-solid bg-elevation-fill-default-1", uiOutlineClass, "focus-within:border focus-within:border-input-outlined-outline-active", "focus-visible:outline-interactive-contained-primary-focus", "hover:border hover:border-input-outlined-outline-hover"),
|
|
872
|
+
"data-text-editor": true,
|
|
873
|
+
"data-rac": "",
|
|
874
|
+
"data-hovered": isHovered || void 0,
|
|
875
|
+
"data-disabled": isDisabled || void 0,
|
|
876
|
+
"data-is-disabled": isDisabled || void 0,
|
|
877
|
+
"data-focus-within": isFocused || void 0,
|
|
878
|
+
"data-focus-visible": isFocused && isFocusVisible || void 0,
|
|
879
|
+
"data-is-filled": !editor?.isEmpty,
|
|
880
|
+
"data-is-required": isRequired || void 0,
|
|
881
|
+
"data-is-dirty": isDirty || void 0,
|
|
882
|
+
...hoverProps,
|
|
883
|
+
...focusWithinProps,
|
|
884
|
+
...fieldProps,
|
|
885
|
+
children: [/* @__PURE__ */ jsx(RichTextEditorToolbar, { editor }), /* @__PURE__ */ jsxs("div", {
|
|
886
|
+
className: clsx("relative overflow-auto", as === "floating" && "pt-3"),
|
|
887
|
+
children: [as === "floating" && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
888
|
+
as,
|
|
889
|
+
...headerProps,
|
|
890
|
+
className: clsx(headerProps.className, inputSideCva({
|
|
891
|
+
size: "default",
|
|
892
|
+
type: "left"
|
|
893
|
+
}))
|
|
894
|
+
}), /* @__PURE__ */ jsx(EditorContent, {
|
|
895
|
+
editor,
|
|
896
|
+
placeholder: as === "floating" ? "" : placeholder,
|
|
897
|
+
className: clsx(as === "floating" && editor?.isEmpty && "[&_p:before]:opacity-0")
|
|
898
|
+
})]
|
|
899
|
+
})]
|
|
900
|
+
})
|
|
901
|
+
});
|
|
902
|
+
};
|
|
903
|
+
const TextEditorComponent = (props) => {
|
|
904
|
+
if ("field" in props && props.field) {
|
|
905
|
+
const { field, ref, ...innerProps } = props;
|
|
906
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
907
|
+
control: field.form,
|
|
908
|
+
name: field.name,
|
|
909
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(TextEditorBase, {
|
|
910
|
+
...innerProps,
|
|
911
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
912
|
+
value: field.value,
|
|
913
|
+
onChange: field.onChange,
|
|
914
|
+
onBlur: field.onBlur,
|
|
915
|
+
isDirty,
|
|
916
|
+
isDisabled: field.disabled || props.isDisabled,
|
|
917
|
+
error: props.error ?? error?.message
|
|
918
|
+
})
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
return /* @__PURE__ */ jsx(TextEditorBase, { ...props });
|
|
922
|
+
};
|
|
923
|
+
const RichTextEditor = memo(TextEditorComponent);
|
|
924
|
+
//#endregion
|
|
925
|
+
export { RichTextEditor as t };
|