@povio/ui 3.4.0-rc.4 → 3.4.0-rc.41
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 +36 -2
- package/dist/Accordion-BKBl-2EO.js +553 -0
- package/dist/Accordion-DonRhvvW.d.ts +58 -0
- package/dist/ActionModal-CKS0t-n3.d.ts +26 -0
- package/dist/Alert-1gjUqXaO.js +240 -0
- package/dist/Alert-C0GAvkdO.d.ts +33 -0
- package/dist/Autocomplete-CLcRRdiL.d.ts +15 -0
- package/dist/BottomSheet-BZXBtOHF.d.ts +33 -0
- package/dist/BottomSheet-CUDfDj9h.js +404 -0
- package/dist/BottomSheet.lazy-DT02808T.d.ts +5 -0
- package/dist/Breadcrumbs-BypydWR6.js +535 -0
- package/dist/Breadcrumbs-C46_H95J.d.ts +19 -0
- package/dist/Button-7HZojyTP.js +690 -0
- package/dist/Button-D09S1dNt.js +161 -0
- package/dist/Button-D0M9lMOR.d.ts +31 -0
- package/dist/ButtonContent-17xvQXod.js +122 -0
- package/dist/Calendar-KJOP6Bcq.js +656 -0
- package/dist/CheckContent-DzWpxKGq.js +19 -0
- package/dist/Checkbox-B-0yFzun.js +405 -0
- package/dist/Checkbox-DC_1l0o7.d.ts +24 -0
- package/dist/CheckboxCheckmark-C7Oq15ms.js +195 -0
- package/dist/CheckboxGroup-DnWeRs5l.d.ts +28 -0
- package/dist/DOMFunctions-BrQjsnDh.js +52 -0
- package/dist/DatePicker-DGwt7GCK.js +426 -0
- package/dist/DatePicker-aWuhaUgu.d.ts +43 -0
- package/dist/DatePickerInput-B7yVoI9Y.d.ts +18 -0
- package/dist/DatePickerInput-CvrlkpEN.js +602 -0
- package/dist/DateRangePicker-DpKWDDlC.d.ts +75 -0
- package/dist/DateRangePicker-DtYmxrBu.js +1503 -0
- package/dist/DateTimePicker-B3j96T4e.js +380 -0
- package/dist/DateTimePicker-BoTa_gTC.d.ts +43 -0
- package/dist/Dialog-B5J6LRRw.js +4344 -0
- package/dist/Drawer-DnSLe85M.d.ts +18 -0
- package/dist/FileTrigger-CjvQGNXu.js +2191 -0
- package/dist/FileUpload-Czof_aOb.d.ts +7 -0
- package/dist/FileUpload-DR9qkDTO.js +766 -0
- package/dist/FileUploadContainer--YlhZO19.d.ts +5 -0
- package/dist/Form-BjwyXqkN.d.ts +49 -0
- package/dist/Form-CKUcoaMX.js +8 -0
- package/dist/FormField-Cl-t5Wi1.js +211 -0
- package/dist/FormField-Iy2O8A4g.d.ts +37 -0
- package/dist/FormFieldError-BT4uxbKY.d.ts +10 -0
- package/dist/FormFieldError-CFg0Wn3i.js +26 -0
- package/dist/FormFieldHeaderTooltip-C3nmuFKW.js +38 -0
- package/dist/Hidden-BtagiSrf.js +32 -0
- package/dist/IconButton-CUpL6CsP.d.ts +14 -0
- package/dist/InlineIconButton-AQ8SViM3.d.ts +17 -0
- package/dist/InlineTooltipWrapper-7ePcpH9g.js +24 -0
- package/dist/Input-BefLtZJe.js +46 -0
- package/dist/InputContent-jcMfOzpN.d.ts +27 -0
- package/dist/InputItem-DfNvJtim.js +63 -0
- package/dist/InputUpload-D-C-886F.d.ts +66 -0
- package/dist/InputUpload-DiSrhJaH.js +233 -0
- package/dist/Inputs-CO_mXGA2.js +17 -0
- package/dist/Inputs-CwkP8B9O.d.ts +13 -0
- package/dist/Label-BVczUvgv.js +17 -0
- package/dist/Link-BWbPxs6p.js +83 -0
- package/dist/Link-CKi4C00S.d.ts +25 -0
- package/dist/Link-EHxXHf53.js +42 -0
- package/dist/ListBox-CIgWt1tg.js +743 -0
- package/dist/Loader-C6YkWZOO.js +113 -0
- package/dist/Loader-Sbr1b0iU.d.ts +29 -0
- package/dist/Menu-BHpiqpJ9.d.ts +61 -0
- package/dist/Menu-RXGizKMF.js +178 -0
- package/dist/MenuDesktop-Dv25P83N.js +248 -0
- package/dist/MenuItem-DLKC94Qs.d.ts +6 -0
- package/dist/Modal-BfN_MfR-.d.ts +53 -0
- package/dist/Modal-CEJ2QkF0.js +205 -0
- package/dist/Modal-r0ucQNPK.js +58 -0
- package/dist/NumberFormatter-KUrW7GbE.js +122 -0
- package/dist/NumberInput-BIRmzsPb.d.ts +27 -0
- package/dist/NumberRangeInput-1vdHmE8h.d.ts +44 -0
- package/dist/NumberRangeInput-DVBv04ap.js +403 -0
- package/dist/OverlayArrow-CyFI2DhX.js +622 -0
- package/dist/Pagination-uuqyFAu_.d.ts +12 -0
- package/dist/PaginationList-BNswIyhS.js +218 -0
- package/dist/PaginationList-CmZBILfU.d.ts +18 -0
- package/dist/PasswordInput-CMKZF3YS.js +63 -0
- package/dist/PasswordInput-DNUEWDEM.d.ts +10 -0
- package/dist/Pill-vCBJdOTY.d.ts +18 -0
- package/dist/PillButton-CEF431l4.d.ts +15 -0
- package/dist/ProgressBar-C8dtVA-1.js +58 -0
- package/dist/ProgressBar-DG-ClG9v.d.ts +44 -0
- package/dist/QuerySelect-vWifN5XC.d.ts +23 -0
- package/dist/RSPContexts-DHQi1l7F.js +12 -0
- package/dist/RadioGroup-D5BR8ToV.js +571 -0
- package/dist/RadioGroup-Dd7xBSCW.d.ts +24 -0
- package/dist/ResponsivePopover-BmURECUv.d.ts +20 -0
- package/dist/Segment-BZdZb436.d.ts +7 -0
- package/dist/Segment-DBEeDt5Z.js +348 -0
- package/dist/Select-Bm2C6tHz.d.ts +15 -0
- package/dist/Select-CEAQyS48.js +155 -0
- package/dist/SelectBase-DD8_4B-r.d.ts +96 -0
- package/dist/SelectionIndicator-BvWiZS2N.js +817 -0
- package/dist/Slider-C6UeThGK.d.ts +22 -0
- package/dist/Slider-DeLVCO-2.js +672 -0
- package/dist/SplitButton-CR4psHKW.d.ts +15 -0
- package/dist/Stepper-CSfhZBK1.js +336 -0
- package/dist/Stepper-JUO4MbZx.d.ts +113 -0
- package/dist/TableDnd-CuHxANWh.js +133 -0
- package/dist/Tag-DJZ5qQme.js +95 -0
- package/dist/Tag-DUvBTljf.d.ts +34 -0
- package/dist/Text-BTtw_Syz.js +5 -0
- package/dist/TextArea-B8Yvkkxr.d.ts +21 -0
- package/dist/TextArea-Dj2wKadV.js +176 -0
- package/dist/TextButton-cigitfeH.d.ts +15 -0
- package/dist/TextEditor-CKUiV4cU.js +3440 -0
- package/dist/TextEditor-DILzgUAj.d.ts +26 -0
- package/dist/TextInput-Df0Pkuk-.d.ts +27 -0
- package/dist/TimePicker-BPLc1Uv5.js +375 -0
- package/dist/TimePicker-Bdz_yJ0I.d.ts +32 -0
- package/dist/Toast-DL8_g0WV.d.ts +16 -0
- package/dist/ToastContainer-9OS5SK5K.d.ts +5 -0
- package/dist/ToastContainer-C45QhP2Q.js +55 -0
- package/dist/Toggle-Ca_t66zh.d.ts +19 -0
- package/dist/Toggle-Dr7TQZ93.js +178 -0
- package/dist/ToggleButton-3lINwoaV.d.ts +12 -0
- package/dist/ToggleButton-C01P8reg.js +218 -0
- package/dist/Tooltip-D1oFPqFF.d.ts +56 -0
- package/dist/Tooltip-D8YNkKCl.js +532 -0
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +11 -0
- package/dist/TooltipWrapper-CoRIizbz.js +57 -0
- package/dist/Typography-AcUd9df8.js +31 -0
- package/dist/Typography-BiHrVFpz.d.ts +12 -0
- package/dist/VisuallyHidden-CWgME09A.js +43 -0
- package/dist/autocomplete-CIDaulwN.d.ts +16 -0
- package/dist/button-BQmy1LZS.d.ts +1 -0
- package/dist/button.cva-zMNkoZH8.d.ts +92 -0
- package/dist/buttonContent.cva-CIOaLH0a.d.ts +6 -0
- package/dist/check-M2G7r3oH.js +13 -0
- package/dist/checkbox-4smu5B-h.d.ts +9 -0
- package/dist/checkbox-group-C55R3YH5.d.ts +9 -0
- package/dist/checkbox.cva-Caaf2Ysq.d.ts +77 -0
- package/dist/chevron-down-Ciz9yP9R.js +13 -0
- package/dist/chevron-left-VO8YZrXZ.js +13 -0
- package/dist/chevron-right-C_M98bh3.js +13 -0
- package/dist/chevron-up-CHRnDSA3.js +13 -0
- package/dist/chevrons-right-BXdmZ2TS.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/action-modal.d.ts +2 -0
- package/dist/components/action-modal.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 +131 -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 +161 -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/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/field-error/react-aria.d.ts +1 -0
- package/dist/components/field-error/react-aria.js +1 -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 +51 -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-upload.d.ts +2 -0
- package/dist/components/input-upload.js +2 -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/loader.d.ts +2 -0
- package/dist/components/loader.js +2 -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/menu.d.ts +3 -0
- package/dist/components/menu.js +3 -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/modal.d.ts +2 -0
- package/dist/components/modal.js +2 -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-input.d.ts +2 -0
- package/dist/components/number-input.js +243 -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/pill.d.ts +2 -0
- package/dist/components/pill.js +44 -0
- package/dist/components/popover/react-aria.d.ts +1 -0
- package/dist/components/popover/react-aria.js +1 -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-bar.d.ts +2 -0
- package/dist/components/progress-bar.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 +109 -0
- package/dist/components/query-select.d.ts +2 -0
- package/dist/components/query-select.js +121 -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/responsive-popover.d.ts +2 -0
- package/dist/components/responsive-popover.js +126 -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/segment.d.ts +3 -0
- package/dist/components/segment.js +2 -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/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/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/text-input.d.ts +2 -0
- package/dist/components/text-input.js +240 -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 +34 -0
- package/dist/components/toggle.d.ts +2 -0
- package/dist/components/toggle.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-Cj2aHpa_.js +114 -0
- package/dist/confirmation.context-D_kJeU8m.d.ts +23 -0
- package/dist/context-74MZZLC0.js +93 -0
- package/dist/createLucideIcon-CskCrR9z.js +125 -0
- package/dist/date-picker-g50NliUB.d.ts +9 -0
- package/dist/date-range-picker-4EXSwE8B.d.ts +9 -0
- package/dist/date-time-picker-Bjag5nQ1.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-DtR1CyuD.js +223 -0
- package/dist/dist-gJbayyxp.js +925 -0
- package/dist/dom.utils-BOIN4YDz.js +49 -0
- package/dist/dynamicInputs-0GjoOaz5.js +194 -0
- package/dist/dynamicInputs-bhlywWDy.js +214 -0
- package/dist/dynamicInputs-p4ATehFR.d.ts +756 -0
- package/dist/fieldAdapter-C2YfWBmM.js +61 -0
- package/dist/fieldAdapter-C4sDFC8f.d.ts +9 -0
- package/dist/file-upload-Ba6NwH0N.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-ZUblxJUi.d.ts +106 -0
- package/dist/focusWithoutScrolling-DEPiLwKq.js +49 -0
- package/dist/form.binding-Cu03pQ8Y.d.ts +50 -0
- package/dist/form.binding-DLKteDiq.js +157 -0
- package/dist/form.types-ZNGbcqJS.d.ts +13 -0
- package/dist/form.types-qEwMTXTZ.d.ts +13 -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-BXAtbYEe.js +73 -0
- package/dist/index-B8r_kiw4.d.ts +193 -0
- package/dist/index-DCUSluLL.d.ts +269 -0
- package/dist/index.d.ts +106 -1
- package/dist/index.js +101 -159
- package/dist/input-upload-BxRgcRt4.d.ts +9 -0
- package/dist/input.cva-CfgCOIQW.d.ts +80 -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-DrQB127v.js +346 -0
- package/dist/link.context-C1RcdC0i.d.ts +12 -0
- package/dist/link.context-J7aQtMOr.js +35 -0
- package/dist/logger-DpUn65wp.js +331 -0
- package/dist/logger-N35Xhi14.d.ts +10 -0
- package/dist/lucide-react-BJRvqSeV.d.ts +23 -0
- package/dist/modal.cva-CbziPHSN.js +43 -0
- package/dist/number-DTwXo26a.js +40 -0
- package/dist/number-input-BoUfnoR2.d.ts +8 -0
- package/dist/number-range-input-43A63EzS.d.ts +8 -0
- package/dist/numberStatic.utils-DcnGigJ6.js +636 -0
- package/dist/openLink-CIHtr0U7.js +95 -0
- package/dist/outline.clsx-50W_vNDl.js +6 -0
- package/dist/outline.clsx-B1hjrX9t.d.ts +4 -0
- package/dist/password-input-BPAjcIly.d.ts +8 -0
- package/dist/pillButton.cva-Da0WFN39.d.ts +34 -0
- package/dist/pillButton.cva-DbwzixcK.js +263 -0
- package/dist/platform-df1ZXSJE.js +47 -0
- package/dist/popover.cva-CXha_UMQ.js +5 -0
- package/dist/queries.utils-CmbhAoHU.js +18 -0
- package/dist/query-autocomplete-Dh1Yeu4p.d.ts +14 -0
- package/dist/query-select-7lNZcE_x.d.ts +15 -0
- package/dist/queryAutocomplete.types-D7SmWVq-.d.ts +26 -0
- package/dist/radio-group-DmilCTsI.d.ts +9 -0
- package/dist/radio.cva-9lpsise2.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-upload.d.ts +3 -0
- package/dist/rhf/file-upload.js +6 -0
- package/dist/rhf/input-upload.d.ts +3 -0
- package/dist/rhf/input-upload.js +6 -0
- package/dist/rhf/inputs.d.ts +4 -0
- package/dist/rhf/inputs.js +2 -0
- package/dist/rhf/number-input.d.ts +3 -0
- package/dist/rhf/number-input.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/segment.d.ts +3 -0
- package/dist/rhf/segment.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/text-area.d.ts +3 -0
- package/dist/rhf/text-area.js +6 -0
- package/dist/rhf/text-editor.d.ts +3 -0
- package/dist/rhf/text-editor.js +6 -0
- package/dist/rhf/text-input.d.ts +3 -0
- package/dist/rhf/text-input.js +6 -0
- package/dist/rhf/time-picker.d.ts +3 -0
- package/dist/rhf/time-picker.js +9 -0
- package/dist/rhf/toggle.d.ts +3 -0
- package/dist/rhf/toggle.js +8 -0
- package/dist/rhf-CKTAnaMF.js +256 -0
- package/dist/rhf.d.ts +106 -264
- package/dist/rhf.js +101 -0
- package/dist/router.context-BOYRh2p9.d.ts +16 -0
- package/dist/router.context-VhvhlIvV.js +63 -0
- package/dist/routing.utils-UTQonIhB.js +25 -0
- package/dist/segment-BOELlo1K.d.ts +9 -0
- package/dist/segment.types-BYTmg69p.d.ts +58 -0
- package/dist/select-CD3fNAgK.d.ts +16 -0
- package/dist/slider-tx1tub5d.d.ts +8 -0
- package/dist/staticDateTimeSegments-Cefwvojy.js +1503 -0
- package/dist/staticSelect.utils-C_e1tJ3T.js +4046 -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/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-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-upload.d.ts +2 -0
- package/dist/tanstack/input-upload.js +2 -0
- package/dist/tanstack/inputs.d.ts +5 -0
- package/dist/tanstack/inputs.js +3 -0
- package/dist/tanstack/number-input.d.ts +2 -0
- package/dist/tanstack/number-input.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/segment.d.ts +3 -0
- package/dist/tanstack/segment.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/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/text-editor.d.ts +2 -0
- package/dist/tanstack/text-editor.js +2 -0
- package/dist/tanstack/text-input.d.ts +2 -0
- package/dist/tanstack/text-input.js +2 -0
- package/dist/tanstack/time-picker.d.ts +2 -0
- package/dist/tanstack/time-picker.js +2 -0
- package/dist/tanstack/toggle.d.ts +2 -0
- package/dist/tanstack/toggle.js +2 -0
- package/dist/tanstack.d.ts +92 -263
- package/dist/tanstack.js +97 -180
- package/dist/text-area-kb2PxyJb.d.ts +8 -0
- package/dist/text-editor-CDECpKqj.d.ts +8 -0
- package/dist/text-editor.d.ts +2 -2
- package/dist/text-editor.js +1 -1
- package/dist/text-input-VqRJ0y7Y.d.ts +8 -0
- package/dist/theme.context-B10jqjvZ.d.ts +20 -0
- package/dist/theme.context-B3wQDJ-i.js +120 -0
- package/dist/time-picker-BYfudvVK.d.ts +9 -0
- package/dist/toast.cva-C1ZPw_oP.d.ts +60 -0
- package/dist/toast.runtime-B24OkF4t.js +17 -0
- package/dist/toastActivation.store-BELtcr76.js +16 -0
- package/dist/toggle-DK5CDOtt.d.ts +9 -0
- package/dist/toggle.cva-2CGLc8aa.d.ts +15 -0
- package/dist/tooltipWrapper.cva-CUu8pI-a.js +5 -0
- package/dist/triangle-B5uw3vnc.js +13 -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/types-BT18i837.d.ts +69 -0
- package/dist/types-ZbFfCz06.d.ts +823 -0
- package/dist/typography.cva-7RYwLrA7.d.ts +51 -0
- package/dist/typography.cva-BI0FyIqm.js +129 -0
- package/dist/uiConfig.context-BG4jfp9p.js +364 -0
- package/dist/uiConfig.context-Bjb9TQ6Y.d.ts +126 -0
- package/dist/uiOverrides.context-BdokYcGO.d.ts +243 -0
- package/dist/uiOverrides.context-Bfm2n-n8.js +399 -0
- package/dist/useBreakpoint-DFoeJwp-.js +70 -0
- package/dist/useButton-CTZ6UEfP.js +56 -0
- package/dist/useControlledState-Bk39gTui.js +31 -0
- package/dist/useDescription-4EIEr0rR.js +36 -0
- package/dist/useEffectEvent-BdzIyMdT.js +17 -0
- package/dist/useEvent-CjGFQh-l.js +22 -0
- package/dist/useFieldAccessibility-dF3tgN_A.js +96 -0
- package/dist/useFilter-BsjdRENO.js +44 -0
- package/dist/useFilters-20jpzc29.js +190 -0
- package/dist/useFilters-BxRScJdn.d.ts +11 -0
- package/dist/useFocusRing-Cd0lBvKO.js +41 -0
- package/dist/useFormAutosave-Ckq-Qb34.js +198 -0
- package/dist/useFormReset-BmSQIMid.js +18 -0
- package/dist/useFormValidation-DlNyD6aD.js +87 -0
- package/dist/useFormValidationState-Bpry7Uk5.js +142 -0
- package/dist/useGlobalListeners-DuENtiaD.js +39 -0
- package/dist/useIntersectionObserver-DYfHnGGU.js +98 -0
- package/dist/useLabels-Bt2BXuQ6.js +16 -0
- package/dist/useLocalStorage-DGsBUCT6.d.ts +13 -0
- package/dist/useLocalStorage-PlcaJ1tP.js +70 -0
- package/dist/useLocalizedStringFormatter-tBB7tXBj.js +108 -0
- package/dist/useNumberFormatter-Dgd8W1FX.js +10 -0
- package/dist/useQueryAutocomplete-CraXvRm_.js +152 -0
- package/dist/useSpinButton-Ba23Hqso.js +578 -0
- package/dist/useStaticInputHandoff-9V4kd391.js +321 -0
- package/dist/useTableColumnConfig-C6mWcIwp.js +1620 -0
- package/dist/useTableNav-aDO5L4da.d.ts +291 -0
- package/dist/useToast-q70ayd29.d.ts +16 -0
- package/dist/useToggle-D8aP2d5t.js +63 -0
- package/dist/useToggleState-Dyx-sAjp.js +23 -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-D-KKbY-n.js +375 -0
- package/dist/x-BYOEO0gW.js +16 -0
- package/dist/zod.utils-DrrPDT9v.js +24 -0
- package/package.json +1352 -20
- package/dist/assets/icons/Account.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.js +0 -30
- package/dist/assets/icons/AlignLeft.d.ts +0 -2
- package/dist/assets/icons/AlignLeft.js +0 -30
- package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
- package/dist/assets/icons/AlignLeftRight.js +0 -30
- package/dist/assets/icons/AlignRight.d.ts +0 -2
- package/dist/assets/icons/AlignRight.js +0 -30
- package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
- package/dist/assets/icons/ArrowDropDown.js +0 -30
- package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
- package/dist/assets/icons/ArrowDropUp.js +0 -30
- package/dist/assets/icons/ArrowLeft.d.ts +0 -2
- package/dist/assets/icons/ArrowLeft.js +0 -30
- package/dist/assets/icons/ArrowRight.d.ts +0 -2
- package/dist/assets/icons/ArrowRight.js +0 -30
- package/dist/assets/icons/Board.d.ts +0 -2
- package/dist/assets/icons/Bold.d.ts +0 -2
- package/dist/assets/icons/Bold.js +0 -30
- package/dist/assets/icons/BulletedList.d.ts +0 -2
- package/dist/assets/icons/BulletedList.js +0 -30
- package/dist/assets/icons/Calendar.d.ts +0 -2
- package/dist/assets/icons/Calendar.js +0 -32
- package/dist/assets/icons/Check.d.ts +0 -2
- package/dist/assets/icons/Check.js +0 -32
- package/dist/assets/icons/CheckCircle.d.ts +0 -2
- package/dist/assets/icons/CheckCircle.js +0 -30
- package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
- package/dist/assets/icons/CheckboxCheckmark.js +0 -33
- package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
- package/dist/assets/icons/ChevronDown.d.ts +0 -2
- package/dist/assets/icons/ChevronDown.js +0 -32
- package/dist/assets/icons/ChevronLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronLeft.js +0 -32
- package/dist/assets/icons/ChevronRight.d.ts +0 -2
- package/dist/assets/icons/ChevronRight.js +0 -32
- package/dist/assets/icons/ChevronUp.d.ts +0 -2
- package/dist/assets/icons/ChevronUp.js +0 -32
- package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronsLeft.js +0 -32
- package/dist/assets/icons/ChevronsRight.d.ts +0 -2
- package/dist/assets/icons/ChevronsRight.js +0 -32
- package/dist/assets/icons/Clock.d.ts +0 -2
- package/dist/assets/icons/Clock.js +0 -30
- package/dist/assets/icons/Close.d.ts +0 -2
- package/dist/assets/icons/Close.js +0 -30
- package/dist/assets/icons/DateTime.d.ts +0 -2
- package/dist/assets/icons/DateTime.js +0 -39
- package/dist/assets/icons/DragIndicator.d.ts +0 -2
- package/dist/assets/icons/DragIndicator.js +0 -30
- package/dist/assets/icons/Edit.d.ts +0 -2
- package/dist/assets/icons/Emoji.d.ts +0 -2
- package/dist/assets/icons/File.d.ts +0 -2
- package/dist/assets/icons/File.js +0 -32
- package/dist/assets/icons/Grid.d.ts +0 -2
- package/dist/assets/icons/Highlight.d.ts +0 -2
- package/dist/assets/icons/Highlight.js +0 -30
- package/dist/assets/icons/HighlightOn.d.ts +0 -6
- package/dist/assets/icons/HighlightOn.js +0 -55
- package/dist/assets/icons/Home.d.ts +0 -2
- package/dist/assets/icons/Home.js +0 -30
- package/dist/assets/icons/Image.d.ts +0 -2
- package/dist/assets/icons/ImageError.d.ts +0 -2
- package/dist/assets/icons/Info.d.ts +0 -2
- package/dist/assets/icons/Info.js +0 -41
- package/dist/assets/icons/Italic.d.ts +0 -2
- package/dist/assets/icons/Italic.js +0 -30
- package/dist/assets/icons/Link.d.ts +0 -2
- package/dist/assets/icons/Link.js +0 -30
- package/dist/assets/icons/Loader.d.ts +0 -2
- package/dist/assets/icons/MapPin.d.ts +0 -2
- package/dist/assets/icons/Menu.d.ts +0 -2
- package/dist/assets/icons/Menu.js +0 -30
- package/dist/assets/icons/Minus.d.ts +0 -2
- package/dist/assets/icons/MoreHoriz.d.ts +0 -2
- package/dist/assets/icons/NumberedList.d.ts +0 -2
- package/dist/assets/icons/NumberedList.js +0 -30
- package/dist/assets/icons/Pause.d.ts +0 -2
- package/dist/assets/icons/Plus.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.js +0 -30
- package/dist/assets/icons/PointerVertical.d.ts +0 -2
- package/dist/assets/icons/PointerVertical.js +0 -30
- package/dist/assets/icons/Retry.d.ts +0 -2
- package/dist/assets/icons/Search.d.ts +0 -2
- package/dist/assets/icons/Search.js +0 -30
- package/dist/assets/icons/Send.d.ts +0 -2
- package/dist/assets/icons/Send.js +0 -32
- package/dist/assets/icons/Share.d.ts +0 -2
- package/dist/assets/icons/Slash.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.js +0 -30
- package/dist/assets/icons/TextColor.d.ts +0 -6
- package/dist/assets/icons/TextColor.js +0 -52
- package/dist/assets/icons/Today.d.ts +0 -2
- package/dist/assets/icons/Today.js +0 -30
- package/dist/assets/icons/Trash.d.ts +0 -2
- package/dist/assets/icons/Underlined.d.ts +0 -2
- package/dist/assets/icons/Underlined.js +0 -32
- package/dist/assets/icons/Upload.d.ts +0 -2
- package/dist/assets/icons/Upload.js +0 -39
- package/dist/assets/icons/User.d.ts +0 -2
- package/dist/assets/icons/Visibility.d.ts +0 -2
- package/dist/assets/icons/Visibility.js +0 -30
- package/dist/assets/icons/VisibilityOff.d.ts +0 -2
- package/dist/assets/icons/VisibilityOff.js +0 -30
- package/dist/assets/icons/WarningFilled.d.ts +0 -2
- package/dist/assets/icons/WarningFilled.js +0 -32
- package/dist/assets/icons/WarningOutlined.d.ts +0 -2
- 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 -26
- 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 -40
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +0 -422
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +0 -45
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +0 -883
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +0 -40
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +0 -382
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +0 -28
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +0 -644
- 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 -121
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +0 -177
- 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 -45
- 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 -329
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -24
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +0 -242
- 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 -32
- 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 -113
- package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +0 -118
- package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +0 -80
- 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 -492
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -45
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -571
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -35
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -337
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -62
- 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 -18
- package/dist/components/inputs/Input/TextArea/TextArea.js +0 -345
- package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
- package/dist/components/inputs/Input/TextInput/TextInput.js +0 -468
- package/dist/components/inputs/Input/shared/InputContent.d.ts +0 -28
- package/dist/components/inputs/Input/shared/InputContent.js +0 -211
- 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 -37
- 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 -419
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
- package/dist/components/inputs/Selection/shared/SelectInput.js +0 -469
- 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 -127
- 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 -83
- 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 -106
- 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 -60
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +0 -104
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +0 -141
- 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 -112
- 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 -163
- 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 -210
- 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 -267
- 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 -134
- 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/types/common.d.ts +0 -12
- package/dist/types/error-handling.d.ts +0 -6
- package/dist/types/react-query.d.ts +0 -6
- package/dist/utils/array.utils.d.ts +0 -3
- package/dist/utils/array.utils.js +0 -10
- package/dist/utils/array.utils.spec.d.ts +0 -1
- package/dist/utils/compoundMapper.d.ts +0 -19
- package/dist/utils/compoundMapper.js +0 -13
- package/dist/utils/compoundMapper.spec.d.ts +0 -1
- package/dist/utils/date-time.utils.d.ts +0 -42
- package/dist/utils/date-time.utils.js +0 -192
- package/dist/utils/date-time.utils.spec.d.ts +0 -1
- package/dist/utils/date.utils.d.ts +0 -5
- package/dist/utils/date.utils.js +0 -19
- package/dist/utils/date.utils.spec.d.ts +0 -1
- package/dist/utils/dom.utils.d.ts +0 -5
- package/dist/utils/dom.utils.js +0 -19
- package/dist/utils/file.utils.d.ts +0 -13
- package/dist/utils/file.utils.js +0 -50
- package/dist/utils/intl.utils.d.ts +0 -7
- package/dist/utils/intl.utils.js +0 -38
- package/dist/utils/intl.utils.spec.d.ts +0 -1
- package/dist/utils/isEqual.d.ts +0 -1
- package/dist/utils/isEqual.js +0 -59
- package/dist/utils/object.utils.d.ts +0 -10
- package/dist/utils/object.utils.js +0 -38
- package/dist/utils/queries.utils.d.ts +0 -4
- package/dist/utils/queries.utils.js +0 -9
- package/dist/utils/query.utils.d.ts +0 -4
- package/dist/utils/query.utils.js +0 -8
- package/dist/utils/rest.utils.d.ts +0 -10
- package/dist/utils/rest.utils.js +0 -33
- package/dist/utils/routing.utils.d.ts +0 -4
- package/dist/utils/routing.utils.js +0 -25
- package/dist/utils/string.utils.d.ts +0 -4
- package/dist/utils/string.utils.js +0 -12
- package/dist/utils/style-merge.util.d.ts +0 -43
- package/dist/utils/style-merge.util.js +0 -233
- package/dist/utils/style-merge.util.spec.d.ts +0 -1
- package/dist/utils/zod.utils.d.ts +0 -20
- package/dist/utils/zod.utils.js +0 -24
- /package/dist/styles/{editor.css → styles/editor.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{cloneElement as t,createContext as n,forwardRef as r,isValidElement as i,useCallback as a,useContext as o,useMemo as s,useRef as c}from"react";import{filterDOMProps as l,inertValue as u,mergeRefs as d,useLayoutEffect as f,useLoadMoreSentinel as p,useObjectRef as m}from"@react-aria/utils";import{FocusableContext as h}from"@react-aria/interactions";import"react-dom";import{mergeProps as g,useTreeItem as _}from"react-aria";import"react-stately";function v(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:c,render:l}=e;return s(()=>{let e,s,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,s=typeof n==`function`?n({...c,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:s||o?{...o,...s}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,o,c,l])}function y(t,n,r){let{render:i,...a}=n,o=c(null),l=s(()=>d(r,o),[r,o]);f(()=>{},[t,i]);let u={...a,ref:l};return i?i(u,void 0):e.createElement(t,u)}const b={},x=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=b[t];return n||(n=r(y.bind(null,t)),b[t]=n),n}});String(Math.round(Math.random()*1e10)),typeof window<`u`&&window.document&&window.document.createElement,e.useId;var S=class{get childNodes(){throw Error(`childNodes is not supported`)}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e[`aria-label`]=this[`aria-label`],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue=``,this[`aria-label`]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}},C=class extends S{filter(e,t,n){let[r,i]=O(e,t,this.firstChildKey,n),a=this.clone();return a.firstChildKey=r,a.lastChildKey=i,a}},w=class extends S{};w.type=`header`;var T=class extends S{};T.type=`loader`;var E=class extends C{filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}};E.type=`item`;var D=class extends C{filter(e,t,n){let r=super.filter(e,t,n);if(r&&r.lastChildKey!==null){let t=e.getItem(r.lastChildKey);if(t&&t.type!==`header`)return r}return null}};D.type=`section`;function O(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,o=e.getItem(n);for(;o!=null;){let n=o.filter(e,t,r);n!=null&&(n.nextKey=null,a&&(n.prevKey=a.key,a.nextKey=n.key),i??=n,t.addNode(n),a=n),o=o.nextKey?e.getItem(o.nextKey):null}if(a&&a.type===`separator`){let e=a.prevKey;t.removeNode(a.key),e?(a=t.getItem(e),a.nextKey=null):a=null}return[i?.key??null,a?.key??null]}function k(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}const A=n(!1);typeof e.useSyncExternalStore==`function`&&e.useSyncExternalStore;const j=n(null);function M(e){var t;return t=class extends S{},t.type=e,t}function N(t,n,r,i,s,c){typeof t==`string`&&(t=M(t));let l=a(e=>{e?.setProps(n,r,t,i,c)},[n,r,i,c,t]),u=o(j);if(u){let a=u.ownerDocument.nodesByProps.get(n);return a||(a=u.ownerDocument.createElement(t.type),a.setProps(n,r,t,i,c),u.appendChild(a),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,a)),s?e.createElement(j.Provider,{value:a},s):null}return e.createElement(t.type,{ref:l},s)}function P(t,n){let i=({node:e})=>n(e.props,e.props.ref,e),a=r((r,a)=>{let s=o(h);if(!o(A)){if(n.length>=3)throw Error(n.name+` cannot be rendered outside a collection.`);return n(r,a)}return N(t,r,a,`children`in r?r.children:null,null,t=>e.createElement(h.Provider,{value:s},e.createElement(i,{node:t})))});return a.displayName=n.name,a}const F={CollectionRoot({collection:e,renderDropIndicator:t}){return I(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return I(e,t,n)}};function I(t,n,r){return k({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,L(t,n,r))}})}function L(e,n,r){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=r({type:`item`,key:a.key,dropPosition:`after`});i(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const R=n(F),z=n(null);var B=class extends S{};B.type=`content`;var V=class extends S{};V.type=`item`;const H=P(T,function(t,n,r){let{isVirtualized:i}=o(R),a=o(z),{isLoading:d,onLoadMore:f,scrollOffset:h,...y}=t,b=c(null),S=s(()=>({onLoadMore:f,collection:a?.collection,sentinelRef:b,scrollOffset:h}),[f,h,a?.collection]);p(S,b),n=m(n);let{rowProps:C,gridCellProps:w}=_({node:r},a,n),T=C[`aria-level`]||1,E={role:`row`,"aria-level":C[`aria-level`]},D=v({...y,id:void 0,children:r.rendered,defaultClassName:`react-aria-TreeLoader`,values:{level:T}}),O={};return i&&(O={display:`contents`}),e.createElement(e.Fragment,null,e.createElement(`div`,{style:{position:`relative`,width:0,height:0},inert:u(!0)},e.createElement(`div`,{"data-testid":`loadMoreSentinel`,ref:b,style:{position:`absolute`,height:1,width:1}})),d&&D.children&&e.createElement(x.div,{ref:n,...g(l(t),E),...D,"data-level":T},e.createElement(`div`,{...w,style:O},D.children)))});export{H as TreeLoadMoreItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useFocusVisible } from "@react-aria/interactions";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getOwnerDocument as e,getOwnerWindow as t,isMac as n,isVirtualClick as r,openLink as i}from"@react-aria/utils";import{useEffect as a,useState as o}from"react";let s=null;const c=new Set;let l=new Map,u=!1,d=!1;const f={Tab:!0,Escape:!0};function p(e,t){for(let n of c)n(e,t)}function m(e){return!(e.metaKey||!n()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function h(e){u=!0,!i.isOpening&&m(e)&&(s=`keyboard`,p(`keyboard`,e))}function g(e){s=`pointer`,`pointerType`in e&&e.pointerType,(e.type===`mousedown`||e.type===`pointerdown`)&&(u=!0,p(`pointer`,e))}function _(e){!i.isOpening&&r(e)&&(u=!0,s=`virtual`)}function v(e){e.target===window||e.target===document||!e.isTrusted||(!u&&!d&&(s=`virtual`,p(`virtual`,e)),u=!1,d=!1)}function y(){u=!1,d=!0}function b(n){if(typeof window>`u`||typeof document>`u`||l.get(t(n)))return;let r=t(n),i=e(n),a=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){u=!0,a.apply(this,arguments)},i.addEventListener(`keydown`,h,!0),i.addEventListener(`keyup`,h,!0),i.addEventListener(`click`,_,!0),r.addEventListener(`focus`,v,!0),r.addEventListener(`blur`,y,!1),typeof PointerEvent<`u`&&(i.addEventListener(`pointerdown`,g,!0),i.addEventListener(`pointermove`,g,!0),i.addEventListener(`pointerup`,g,!0)),r.addEventListener(`beforeunload`,()=>{x(n)},{once:!0}),l.set(r,{focus:a})}const x=(n,r)=>{let i=t(n),a=e(n);r&&a.removeEventListener(`DOMContentLoaded`,r),l.has(i)&&(i.HTMLElement.prototype.focus=l.get(i).focus,a.removeEventListener(`keydown`,h,!0),a.removeEventListener(`keyup`,h,!0),a.removeEventListener(`click`,_,!0),i.removeEventListener(`focus`,v,!0),i.removeEventListener(`blur`,y,!1),typeof PointerEvent<`u`&&(a.removeEventListener(`pointerdown`,g,!0),a.removeEventListener(`pointermove`,g,!0),a.removeEventListener(`pointerup`,g,!0)),l.delete(i))};function S(t){let n=e(t),r;return n.readyState===`loading`?(r=()=>{b(t)},n.addEventListener(`DOMContentLoaded`,r)):b(t),()=>x(t,r)}typeof document<`u`&&S();function C(){return s!==`pointer`}const w=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function T(n,r,i){let a=e(i?.target),o=typeof window<`u`?t(i?.target).HTMLInputElement:HTMLInputElement,s=typeof window<`u`?t(i?.target).HTMLTextAreaElement:HTMLTextAreaElement,c=typeof window<`u`?t(i?.target).HTMLElement:HTMLElement,l=typeof window<`u`?t(i?.target).KeyboardEvent:KeyboardEvent;return n=n||a.activeElement instanceof o&&!w.has(a.activeElement.type)||a.activeElement instanceof s||a.activeElement instanceof c&&a.activeElement.isContentEditable,!(n&&r===`keyboard`&&i instanceof l&&!f[i.key])}function E(e={}){let{isTextInput:t,autoFocus:n}=e,[r,i]=o(n||C());return D(e=>{i(e)},[t],{isTextInput:t}),{isFocusVisible:r}}function D(e,t,n){b(),a(()=>{if(n?.enabled===!1)return;let t=(t,r)=>{T(!!n?.isTextInput,t,r)&&e(C())};return c.add(t),()=>{c.delete(t)}},t)}export{E as useFocusVisible};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useFocusWithin } from "@react-aria/interactions";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getActiveElement as e,getEventTarget as t,getOwnerDocument as n,nodeContains as r,useGlobalListeners as i,useLayoutEffect as a}from"@react-aria/utils";import{useCallback as o,useRef as s}from"react";function c(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function l(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function u(e){let t=s({isFocused:!1,observer:null});return a(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),o(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target;r.addEventListener(`focusout`,n=>{if(t.current.isFocused=!1,r.disabled){let t=c(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;(e=t.current.observer)==null||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:n})),r.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}function d(a){let{isDisabled:d,onBlurWithin:f,onFocusWithin:p,onFocusWithinChange:m}=a,h=s({isFocusWithin:!1}),{addGlobalListener:g,removeAllGlobalListeners:_}=i(),v=o(e=>{r(e.currentTarget,e.target)&&h.current.isFocusWithin&&!r(e.currentTarget,e.relatedTarget)&&(h.current.isFocusWithin=!1,_(),f&&f(e),m&&m(!1))},[f,m,h,_]),y=u(v),b=o(i=>{if(!r(i.currentTarget,i.target))return;let a=n(i.target),o=e(a);if(!h.current.isFocusWithin&&o===t(i.nativeEvent)){p&&p(i),m&&m(!0),h.current.isFocusWithin=!0,y(i);let e=i.currentTarget;g(a,`focus`,t=>{if(h.current.isFocusWithin&&!r(e,t.target)){let n=new a.defaultView.FocusEvent(`blur`,{relatedTarget:t.target});l(n,e);let r=c(n);v(r)}},{capture:!0})}},[p,m,y,g,v]);return d?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:b,onBlur:v}}}export{d as useFocusWithin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useHover } from "@react-aria/interactions";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getOwnerDocument as e,nodeContains as t,useGlobalListeners as n}from"@react-aria/utils";import{useEffect as r,useMemo as i,useRef as a,useState as o}from"react";let s=!1,c=0;function l(){s=!0,setTimeout(()=>{s=!1},50)}function u(e){e.pointerType===`touch`&&l()}function d(){if(!(typeof document>`u`))return c===0&&typeof PointerEvent<`u`&&document.addEventListener(`pointerup`,u),c++,()=>{c--,!(c>0)&&typeof PointerEvent<`u`&&document.removeEventListener(`pointerup`,u)}}function f(c){let{onHoverStart:l,onHoverChange:u,onHoverEnd:f,isDisabled:p}=c,[m,h]=o(!1),g=a({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;r(d,[]);let{addGlobalListener:_,removeAllGlobalListeners:v}=n(),{hoverProps:y,triggerHoverEnd:b}=i(()=>{let n=(n,i)=>{if(g.pointerType=i,p||i===`touch`||g.isHovered||!t(n.currentTarget,n.target))return;g.isHovered=!0;let a=n.currentTarget;g.target=a,_(e(n.target),`pointerover`,e=>{g.isHovered&&g.target&&!t(g.target,e.target)&&r(e,e.pointerType)},{capture:!0}),l&&l({type:`hoverstart`,target:a,pointerType:i}),u&&u(!0),h(!0)},r=(e,t)=>{let n=g.target;g.pointerType=``,g.target=null,!(t===`touch`||!g.isHovered||!n)&&(g.isHovered=!1,v(),f&&f({type:`hoverend`,target:n,pointerType:t}),u&&u(!1),h(!1))},i={};return typeof PointerEvent<`u`&&(i.onPointerEnter=e=>{s&&e.pointerType===`mouse`||n(e,e.pointerType)},i.onPointerLeave=e=>{!p&&t(e.currentTarget,e.target)&&r(e,e.pointerType)}),{hoverProps:i,triggerHoverEnd:r}},[l,u,f,p,g,_,v]);return r(()=>{p&&b({currentTarget:g.target},g.pointerType)},[p]),{hoverProps:y,isHovered:m}}export{f as useHover};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useLabel } from "@react-aria/label";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useId as e,useLabels as t}from"@react-aria/utils";function n(n){let{id:r,label:i,"aria-labelledby":a,"aria-label":o,labelElementType:s=`label`}=n;r=e(r);let c=e(),l={};i&&(a=a?`${c} ${a}`:c,l={id:c,htmlFor:s===`label`?r:void 0});let u=t({id:r,"aria-label":o,"aria-labelledby":a});return{labelProps:l,fieldProps:u}}export{n as useLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useTextField } from "@react-aria/textfield";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{filterDOMProps as e,mergeProps as t,useEffectEvent as n,useFormReset as r,useLayoutEffect as i}from"@react-aria/utils";import a,{createContext as o,useCallback as s,useContext as c,useEffect as l,useMemo as u,useReducer as d,useRef as f,useState as p}from"react";import{useField as m}from"@react-aria/label";import{setInteractionModality as h,useFocusable as g}from"@react-aria/interactions";const _=typeof document<`u`?a.useInsertionEffect??a.useLayoutEffect:()=>{};function v(e,t,n){let[r,i]=p(e||t),a=f(r),o=f(e!==void 0),c=e!==void 0;l(()=>{o.current,o.current=c},[c]);let u=c?e:r;_(()=>{a.current=u});let[,m]=d(()=>({}),{});return[u,s((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),m(),n?.(r,...t))},[n])]}function y(e,t,r){let{validationBehavior:a,focus:o}=e;i(()=>{if(a===`native`&&r?.current&&!r.current.disabled){let e=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(` `)||`Invalid value.`:``;r.current.setCustomValidity(e),r.current.hasAttribute(`title`)||(r.current.title=``),t.realtimeValidation.isInvalid||t.updateValidation(x(r.current))}});let s=f(!1),c=n(()=>{s.current||t.resetValidation()}),u=n(e=>{t.displayValidation.isInvalid||t.commitValidation();let n=r?.current?.form;if(!e.defaultPrevented&&r&&n&&S(n)===r.current){var i;o?o():(i=r.current)==null||i.focus(),h(`keyboard`)}e.preventDefault()}),d=n(()=>{t.commitValidation()});l(()=>{let e=r?.current;if(!e)return;let t=e.form,n=t?.reset;return t&&(t.reset=()=>{s.current=!window.event||window.event.type===`message`&&window.event.target instanceof MessagePort,n?.call(t),s.current=!1}),e.addEventListener(`invalid`,u),e.addEventListener(`change`,d),t?.addEventListener(`reset`,c),()=>{e.removeEventListener(`invalid`,u),e.removeEventListener(`change`,d),t?.removeEventListener(`reset`,c),t&&(t.reset=n)}},[r,a])}function b(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function x(e){return{isInvalid:!e.validity.valid,validationDetails:b(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function S(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}const C={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},w={...C,customError:!0,valid:!1},T={isInvalid:!1,validationDetails:C,validationErrors:[]},E=o({}),D=`__formValidationState`+Date.now();function O(e){if(e[D]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[D];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return k(e)}function k(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:o,validationBehavior:s=`aria`}=e;n&&(t||=n===`invalid`);let d=t===void 0?null:{isInvalid:t,validationErrors:[],validationDetails:w},m=u(()=>!o||i==null?null:M(j(o,i)),[o,i]);a?.validationDetails.valid&&(a=void 0);let h=c(E),g=u(()=>r?Array.isArray(r)?r.flatMap(e=>A(h[e])):A(h[r]):[],[h,r]),[_,v]=p(h),[y,b]=p(!1);h!==_&&(v(h),b(!1));let x=u(()=>M(y?[]:g),[y,g]),S=f(T),[C,D]=p(T),O=f(T),k=()=>{if(!P)return;F(!1);let e=m||a||S.current;N(e,O.current)||(O.current=e,D(e))},[P,F]=p(!1);return l(k),{realtimeValidation:d||x||m||a||T,displayValidation:s===`native`?d||x||C:d||x||m||a||C,updateValidation(e){s===`aria`&&!N(C,e)?D(e):S.current=e},resetValidation(){let e=T;N(e,O.current)||(O.current=e,D(e)),s===`native`&&F(!1),b(!0)},commitValidation(){s===`native`&&F(!0),b(!0)}}}function A(e){return e?Array.isArray(e)?e:[e]:[]}function j(e,t){if(typeof e==`function`){let n=e(t);if(n&&typeof n!=`boolean`)return A(n)}return[]}function M(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:w}:null}function N(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}function P(n,i){let{inputElementType:o=`input`,isDisabled:s=!1,isRequired:c=!1,isReadOnly:l=!1,type:u=`text`,validationBehavior:d=`aria`}=n,[f,h]=v(n.value,n.defaultValue||``,n.onChange),{focusableProps:_}=g(n,i),b=O({...n,value:f}),{isInvalid:x,validationErrors:S,validationDetails:C}=b.displayValidation,{labelProps:w,fieldProps:T,descriptionProps:E,errorMessageProps:D}=m({...n,isInvalid:x,errorMessage:n.errorMessage||S}),k=e(n,{labelable:!0}),A={type:u,pattern:n.pattern},[j]=p(f);return r(i,n.defaultValue??j,h),y(n,b,i),{labelProps:w,inputProps:t(k,o===`input`?A:void 0,{disabled:s,readOnly:l,required:c&&d===`native`,"aria-required":c&&d===`aria`||void 0,"aria-invalid":x||void 0,"aria-errormessage":n[`aria-errormessage`],"aria-activedescendant":n[`aria-activedescendant`],"aria-autocomplete":n[`aria-autocomplete`],"aria-haspopup":n[`aria-haspopup`],"aria-controls":n[`aria-controls`],value:f,onChange:e=>h(e.target.value),autoComplete:n.autoComplete,autoCapitalize:n.autoCapitalize,maxLength:n.maxLength,minLength:n.minLength,name:n.name,form:n.form,placeholder:n.placeholder,inputMode:n.inputMode,autoCorrect:n.autoCorrect,spellCheck:n.spellCheck,[parseInt(a.version,10)>=17?`enterKeyHint`:`enterkeyhint`]:n.enterKeyHint,onCopy:n.onCopy,onCut:n.onCut,onPaste:n.onPaste,onCompositionEnd:n.onCompositionEnd,onCompositionStart:n.onCompositionStart,onCompositionUpdate:n.onCompositionUpdate,onSelect:n.onSelect,onBeforeInput:n.onBeforeInput,onInput:n.onInput,..._,...T}),descriptionProps:E,errorMessageProps:D,isInvalid:x,validationErrors:S,validationDetails:C}}export{P as useTextField};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as activateToastRenderer } from "../toastActivation.store-BELtcr76.js";
|
|
2
|
+
import { useCallback, useMemo } from "react";
|
|
3
|
+
//#region src/components/status/Toast/useToast.tsx
|
|
4
|
+
let nextToastId = 0;
|
|
5
|
+
const enqueueToast = (color, params, options) => {
|
|
6
|
+
const id = `povio-toast-${++nextToastId}`;
|
|
7
|
+
activateToastRenderer();
|
|
8
|
+
import("../toast.runtime-B24OkF4t.js").then(({ showToast }) => showToast(id, color, params, options));
|
|
9
|
+
return id;
|
|
10
|
+
};
|
|
11
|
+
const useToast = () => {
|
|
12
|
+
const successToast = useCallback((params, options) => {
|
|
13
|
+
return enqueueToast("success", params, options);
|
|
14
|
+
}, []);
|
|
15
|
+
const errorToast = useCallback((params_0, options_0) => {
|
|
16
|
+
return enqueueToast("error", params_0, options_0);
|
|
17
|
+
}, []);
|
|
18
|
+
const warningToast = useCallback((params_1, options_1) => {
|
|
19
|
+
return enqueueToast("warning", params_1, options_1);
|
|
20
|
+
}, []);
|
|
21
|
+
const neutralToast = useCallback((params_2, options_2) => {
|
|
22
|
+
return enqueueToast("neutral", params_2, options_2);
|
|
23
|
+
}, []);
|
|
24
|
+
const closeToast = useCallback((id) => {
|
|
25
|
+
import("../toast.runtime-B24OkF4t.js").then(({ dismissToast }) => dismissToast(id));
|
|
26
|
+
}, []);
|
|
27
|
+
return useMemo(() => ({
|
|
28
|
+
successToast,
|
|
29
|
+
errorToast,
|
|
30
|
+
warningToast,
|
|
31
|
+
neutralToast,
|
|
32
|
+
closeToast
|
|
33
|
+
}), [
|
|
34
|
+
successToast,
|
|
35
|
+
errorToast,
|
|
36
|
+
warningToast,
|
|
37
|
+
neutralToast,
|
|
38
|
+
closeToast
|
|
39
|
+
]);
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { useToast };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Virtualizer, type VirtualizerProps } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{cloneElement as t,createContext as n,isValidElement as r,useCallback as i,useContext as a,useEffect as o,useMemo as s,useRef as c,useState as l}from"react";import{useEffectEvent as u,useEvent as d,useLayoutEffect as f,useResizeObserver as p}from"@react-aria/utils";import{useLocale as m}from"@react-aria/i18n";import{flushSync as h}from"react-dom";function g(e){let{children:n,items:r,idScope:i,addIdAndValue:a,dependencies:o=[]}=e,c=s(()=>new WeakMap,o);return s(()=>{if(r&&typeof n==`function`){let e=[];for(let o of r){let r=c.get(o);if(!r){r=n(o);let e=r.props.id??o.key??o.id;if(e==null)throw Error(`Could not determine key for item`);i!=null&&(e=i+`:`+e),r=t(r,a?{key:e,id:e,value:o}:{key:e}),c.set(o,r)}e.push(r)}return e}if(typeof n!=`function`)return n},[n,r,c,i,a])}const _={CollectionRoot({collection:e,renderDropIndicator:t}){return v(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return v(e,t,n)}};function v(t,n,r){return g({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){let i=n.render(n);return!r||n.type!==`item`?i:e.createElement(e.Fragment,null,r({type:`item`,key:n.key,dropPosition:`before`}),i,y(t,n,r))}})}function y(e,n,i){let a=n.key,o=e.getKeyAfter(a),s=o==null?null:e.getItem(o);for(;s!=null&&s.type!==`item`;)o=e.getKeyAfter(s.key),s=o==null?null:e.getItem(o);let c=n.nextKey==null?null:e.getItem(n.nextKey);for(;c!=null&&c.type!==`item`;)c=c.nextKey==null?null:e.getItem(c.nextKey);let l=[];if(c==null){let a=n;for(;a?.type===`item`&&(!s||a.parentKey!==s.parentKey&&s.level<a.level);){let n=i({type:`item`,key:a.key,dropPosition:`after`});r(n)&&l.push(t(n,{key:`${a.key}-after`})),a=a.parentKey==null?null:e.getItem(a.parentKey)}}return l}const b=n(_);var x=class e{copy(){return new e(this.x,this.y)}equals(e){return this.x===e.x&&this.y===e.y}isOrigin(){return this.x===0&&this.y===0}constructor(e=0,t=0){this.x=e,this.y=t}},S=class e{get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new x(this.x,this.y)}get topRight(){return new x(this.maxX,this.y)}get bottomLeft(){return new x(this.x,this.maxY)}get bottomRight(){return new x(this.maxX,this.maxY)}intersects(e){return this.area>0&&e.area>0&&this.x<=e.x+e.width&&e.x<=this.x+this.width&&this.y<=e.y+e.height&&e.y<=this.y+this.height}containsRect(e){return this.x<=e.x&&this.y<=e.y&&this.maxX>=e.maxX&&this.maxY>=e.maxY}containsPoint(e){return this.x<=e.x&&this.y<=e.y&&this.maxX>=e.x&&this.maxY>=e.y}getCornerInRect(e){for(let t of[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])if(e.containsPoint(this[t]))return t;return null}equals(e){return e.x===this.x&&e.y===this.y&&e.width===this.width&&e.height===this.height}pointEquals(e){return this.x===e.x&&this.y===e.y}sizeEquals(e){return this.width===e.width&&this.height===e.height}union(t){let n=Math.min(this.x,t.x),r=Math.min(this.y,t.y),i=Math.max(this.maxX,t.maxX)-n,a=Math.max(this.maxY,t.maxY)-r;return new e(n,r,i,a)}intersection(t){if(!this.intersects(t))return new e(0,0,0,0);let n=Math.max(this.x,t.x),r=Math.max(this.y,t.y);return new e(n,r,Math.min(this.maxX,t.maxX)-n,Math.min(this.maxY,t.maxY)-r)}copy(){return new e(this.x,this.y,this.width,this.height)}constructor(e=0,t=0,n=0,r=0){this.x=e,this.y=t,this.width=n,this.height=r}},C=class e{copy(){return new e(this.width,this.height)}equals(e){return this.width===e.width&&this.height===e.height}get area(){return this.width*this.height}constructor(e=0,t=0){this.width=Math.max(e,0),this.height=Math.max(t,0)}};let w=0;var T=class{prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}getReusableView(e){let t=this.reusableViews.get(e);return t&&t.length>0?t.shift():new D(this.virtualizer,this,e)}reuseChild(e){e.prepareForReuse();let t=this.reusableViews.get(e.viewType);t||(t=[],this.reusableViews.set(e.viewType,t)),t.push(e)}constructor(e,t){this.virtualizer=e,this.key=++w,this.viewType=t,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null}},E=class extends T{constructor(e){super(e,`root`)}},D=class extends T{constructor(e,t,n){super(e,n),this.parent=t}};function O(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}var k=class{setVisibleRect(e){let t=performance.now()-this.startTime;t<500&&(e.x!==this.visibleRect.x&&t>0&&(this.velocity.x=(e.x-this.visibleRect.x)/t),e.y!==this.visibleRect.y&&t>0&&(this.velocity.y=(e.y-this.visibleRect.y)/t)),this.startTime=performance.now(),this.visibleRect=e}getOverscannedRect(){let e=this.visibleRect.copy(),t=this.visibleRect.height/3;if(e.height+=t,this.velocity.y<0&&(e.y-=t),this.velocity.x!==0){let t=this.visibleRect.width/3;e.width+=t,this.velocity.x<0&&(e.x-=t)}return e}constructor(){this.startTime=0,this.velocity=new x(0,0),this.visibleRect=new S}},A=class{isPersistedKey(e){if(this.persistedKeys.has(e))return!0;for(let t of this.persistedKeys)for(;t!=null;){let n=this.layout.getLayoutInfo(t);if(!n||n.parentKey==null)break;if(t=n.parentKey,t===e)return!0}return!1}getParentView(e){return e.parentKey==null?this._rootView:this._visibleViews.get(e.parentKey)}getReusableView(e){let t=this.getParentView(e).getReusableView(e.type);return t.layoutInfo=e,this._renderView(t),t}_renderView(e){if(e.layoutInfo){let{type:t,key:n,content:r}=e.layoutInfo;e.content=r||this.collection.getItem(n),e.rendered=this._renderContent(t,e.content)}}_renderContent(e,t){let n=t==null?null:this._renderedContent.get(t);if(n!=null)return n;let r=this.delegate.renderView(e,t);return t&&this._renderedContent.set(t,r),r}keyAtPoint(e){let t=new S(e.x,e.y,1,1),n=t.area===0?[]:this.layout.getVisibleLayoutInfos(t);for(let e of n)if(e.rect.intersects(t))return e.key;return null}relayout(e={}){this.layout.update(e),this.contentSize=this.layout.getContentSize();let t=this.visibleRect,n=e.contentChanged?0:t.x,r=e.contentChanged?0:t.y;if(n=Math.max(0,Math.min(this.contentSize.width-t.width,n)),r=Math.max(0,Math.min(this.contentSize.height-t.height,r)),n!==t.x||r!==t.y){let e=new S(n,r,t.width,t.height);this.delegate.setVisibleRect(e)}else this.updateSubviews()}getVisibleLayoutInfos(){let e;e=this._overscanManager.getOverscannedRect();let t=this.layout.getVisibleLayoutInfos(e),n=new Map;for(let e of t)n.set(e.key,e);return n}updateSubviews(){let e=this.getVisibleLayoutInfos(),t=new Set;for(let[n,r]of this._visibleViews){let i=e.get(n);(!i||r.parent!==this.getParentView(i))&&(this._visibleViews.delete(n),r.parent.reuseChild(r),t.add(r))}for(let[n,r]of e){let e=this._visibleViews.get(n);if(!e)e=this.getReusableView(r),e.parent.children.add(e),this._visibleViews.set(n,e),t.delete(e);else{e.layoutInfo=r;let t=this.collection.getItem(r.key);e.content!==t&&(e.content!=null&&this._renderedContent.delete(e.content),this._renderView(e))}}for(let e of t)e.parent.children.delete(e),e.parent.reusableViews.clear();if(!this._isScrolling)for(let t of e.keys()){let e=this._visibleViews.get(t);e.parent.children.delete(e),e.parent.children.add(e)}}render(e){let t=this,n=!1,r=!1,i=!1,a=!1,o=!1,s=!1;return e.collection!==this.collection&&(t.collection=e.collection,n=!0),(e.layout!==this.layout||this.layout.virtualizer!==this)&&(this.layout&&(this.layout.virtualizer=null),e.layout.virtualizer=this,t.layout=e.layout,n=!0),e.persistedKeys&&!O(e.persistedKeys,this.persistedKeys)&&(t.persistedKeys=e.persistedKeys,s=!0),this.visibleRect.equals(e.visibleRect)||(this._overscanManager.setVisibleRect(e.visibleRect),this.layout.shouldInvalidate(e.visibleRect,this.visibleRect)?(r=!e.visibleRect.pointEquals(this.visibleRect),i=!e.visibleRect.sizeEquals(this.visibleRect),n=!0):s=!0,t.visibleRect=e.visibleRect),e.invalidationContext!==this._invalidationContext&&(e.invalidationContext&&(i||=e.invalidationContext.sizeChanged||!1,r||=e.invalidationContext.offsetChanged||!1,a||=e.invalidationContext.itemSizeChanged||!1,o||=e.invalidationContext.layoutOptions!=null&&this._invalidationContext.layoutOptions!=null&&e.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(e.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions),n||=a||i||r||o),this._invalidationContext=e.invalidationContext),e.isScrolling!==this._isScrolling&&(this._isScrolling=e.isScrolling,e.isScrolling||(s=!0)),n?this.relayout({offsetChanged:r,sizeChanged:i,itemSizeChanged:a,layoutOptionsChanged:o,layoutOptions:this._invalidationContext.layoutOptions}):s&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(e){return this._visibleViews.get(e)}invalidate(e){this.delegate.invalidate(e)}updateItemSize(e,t){this.layout.updateItemSize&&this.layout.updateItemSize(e,t)&&this.invalidate({itemSizeChanged:!0})}constructor(e){this.delegate=e.delegate,this.collection=e.collection,this.layout=e.layout,this.contentSize=new C,this.visibleRect=new S,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new E(this),this._isScrolling=!1,this._invalidationContext={},this._overscanManager=new k}};const j=typeof document<`u`?e.useLayoutEffect:()=>{};function M(e){let[t,n]=l(new S(0,0,0,0)),[r,a]=l(!1),[o,u]=l({}),d=c(!1),[f]=l(()=>new A({collection:e.collection,layout:e.layout,delegate:{setVisibleRect(e){n(e),d.current=!0},renderView:e.renderView,invalidate:u}}));j(()=>{d.current&&(d.current=!1,e.onVisibleRectChange(t))});let p=s(()=>e.layoutOptions==null?o:{...o,layoutOptions:e.layoutOptions},[o,e.layoutOptions]),m=f.render({layout:e.layout,collection:e.collection,persistedKeys:e.persistedKeys,layoutOptions:e.layoutOptions,visibleRect:t,invalidationContext:p,isScrolling:r}),h=f.contentSize,g=i(()=>{a(!0)},[]),_=i(()=>{a(!1)},[]);return s(()=>({virtualizer:f,visibleViews:m,setVisibleRect:n,contentSize:h,isScrolling:r,startScrolling:g,endScrolling:_}),[f,m,n,h,r,g,_])}let N=null;function P(e=!1){if(N===null||e){let e=document.createElement(`div`),t=e.style;t.width=`50px`,t.height=`50px`,t.overflow=`scroll`,t.direction=`rtl`;let n=document.createElement(`div`),r=n.style;return r.width=`100px`,r.height=`100px`,e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?N=`positive-descending`:(e.scrollLeft=1,N=e.scrollLeft===0?`negative`:`positive-ascending`),document.body.removeChild(e),N}return N}function F(e,t){let{scrollLeft:n}=e;if(t===`rtl`){let{scrollWidth:t,clientWidth:r}=e;switch(P()){case`negative`:n=-n;break;case`positive-descending`:n=t-r-n}}return n}function I(e,t){let{contentSize:n,onVisibleRectChange:r,innerStyle:a,onScrollStart:s,onScrollEnd:g,scrollDirection:_=`both`,...v}=e,y=c({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:!1}).current,{direction:b}=m(),[x,C]=l(!1),w=i(t=>{t.target===t.currentTarget&&(e.onScroll&&e.onScroll(t),h(()=>{let e=t.currentTarget.scrollTop,i=F(t.currentTarget,b);y.scrollTop=Math.max(0,Math.min(e,n.height-y.height)),y.scrollLeft=Math.max(0,Math.min(i,n.width-y.width)),r(new S(y.scrollLeft,y.scrollTop,y.width,y.height)),y.isScrolling||(y.isScrolling=!0,C(!0),window.dispatchEvent(new Event(`tk.disconnect-observer`)),s&&s());let a=Date.now();y.scrollEndTime<=a+50&&(y.scrollEndTime=a+300,y.scrollTimeout!=null&&clearTimeout(y.scrollTimeout),y.scrollTimeout=setTimeout(()=>{y.isScrolling=!1,C(!1),y.scrollTimeout=null,window.dispatchEvent(new Event(`tk.connect-observer`)),g&&g()},300))}))},[e,b,y,n,r,s,g]);d(t,`scroll`,w),o(()=>()=>{y.scrollTimeout!=null&&clearTimeout(y.scrollTimeout),y.isScrolling&&window.dispatchEvent(new Event(`tk.connect-observer`))},[]);let T=c(!1),E=i(e=>{let n=t.current;if(!n||T.current)return;T.current=!0,Object.getOwnPropertyNames(window.HTMLElement.prototype).includes(`clientWidth`),Object.getOwnPropertyNames(window.HTMLElement.prototype).includes(`clientHeight`);let i=n.clientWidth,a=n.clientHeight,o=i,s=a;(y.width!==o||y.height!==s)&&(y.width=o,y.height=s,e(()=>{r(new S(y.scrollLeft,y.scrollTop,o,s))}),(i!==n.clientWidth||a!==n.clientHeight)&&(y.width=n.clientWidth,y.height=n.clientHeight,e(()=>{r(new S(y.scrollLeft,y.scrollTop,y.width,y.height))}))),T.current=!1},[t,y,r]),D=u(E),O=c(null),[k,A]=l({});f(()=>{if(!T.current&&(O.current==null||!n.equals(O.current)))if(typeof IS_REACT_ACT_ENVIRONMENT==`boolean`?IS_REACT_ACT_ENVIRONMENT:typeof jest<`u`){A({}),O.current=n;return}else queueMicrotask(()=>D(h));O.current=n}),f(()=>{D(e=>e())},[k]);let j=i(()=>{E(h)},[E]);p({ref:t,box:`border-box`,onResize:j});let M={padding:0,...v.style};return _===`horizontal`?(M.overflowX=`auto`,M.overflowY=`hidden`):_===`vertical`||n.width===y.width?(M.overflowY=`auto`,M.overflowX=`hidden`):M.overflow=`auto`,a={width:Number.isFinite(n.width)?n.width:void 0,height:Number.isFinite(n.height)?n.height:void 0,pointerEvents:x?`none`:`auto`,position:`relative`,...a},{isScrolling:x,scrollViewProps:{...v,style:M},contentProps:{role:`presentation`,style:a}}}function L(e){let{layoutInfo:t,virtualizer:n,ref:r}=e,a=t?.key,o=i(()=>{if(a!=null&&r.current){let e=R(r.current);n.updateItemSize(a,e)}},[n,a,r]);return f(()=>{t?.estimatedSize&&o()}),{updateSize:o}}function R(e){let t=e.style.height;e.style.height=``;let n=new C(e.scrollWidth,e.scrollHeight);return e.style.height=t,n}function z(t){let{style:n,className:r,layoutInfo:i,virtualizer:a,parent:o,children:s}=t,{direction:l}=m(),u=c(null);return L({layoutInfo:i,virtualizer:a,ref:u}),e.createElement(`div`,{role:`presentation`,ref:u,className:r,style:{...V(i,l,o),...n}},s)}let B=new WeakMap;function V(e,t,n){let r=t===`rtl`?`right`:`left`,i=B.get(e);if(i&&i[r]!=null){if(!n)return i;let t=e.rect.y-n.rect.y,a=e.rect.x-n.rect.x;if(i.top===t&&i[r]===a)return i}let a={top:e.rect.y-(n&&!(n.allowOverflow&&e.isSticky)?n.rect.y:0),[r]:e.rect.x-(n&&!(n.allowOverflow&&e.isSticky)?n.rect.x:0),width:e.rect.width,height:e.rect.height};Object.entries(a).forEach(([e,t])=>{Number.isFinite(t)||(a[e]=void 0)});let o={position:e.isSticky?`sticky`:`absolute`,display:e.isSticky?`inline-block`:void 0,overflow:e.allowOverflow?`visible`:`hidden`,opacity:e.opacity,zIndex:e.zIndex,transform:e.transform??void 0,contain:`size layout style`,...a};return B.set(e,o),o}const H=n(null),U=n(null);function W(t){let{children:n,layout:r,layoutOptions:i}=t,a=s(()=>typeof r==`function`?new r:r,[r]),o=s(()=>({isVirtualized:!0,layoutDelegate:a,dropTargetDelegate:a.getDropTargetFromPoint?a:void 0,CollectionRoot:G,CollectionBranch:K}),[a]);return e.createElement(b.Provider,{value:o},e.createElement(U.Provider,{value:{layout:a,layoutOptions:i}},n))}function G({collection:t,persistedKeys:n,scrollRef:r,renderDropIndicator:i}){let{layout:o,layoutOptions:c}=a(U),l=o.useLayoutOptions?.call(o),u=M({layout:o,collection:t,renderView:(e,t)=>t?.render?.call(t,t),onVisibleRectChange(e){let t=r?.current;t&&(t.scrollLeft=e.x,t.scrollTop=e.y)},persistedKeys:n,layoutOptions:s(()=>c&&l?{...c,...l}:c||l,[c,l])}),{contentProps:d}=I({onVisibleRectChange:u.setVisibleRect,contentSize:u.contentSize,onScrollStart:u.startScrolling,onScrollEnd:u.endScrolling},r);return e.createElement(`div`,d,e.createElement(H.Provider,{value:u},q(null,u.visibleViews,i)))}function K({parent:e,renderDropIndicator:t}){let n=a(H).virtualizer.getVisibleView(e.key);return q(n,Array.from(n.children),t)}function q(e,t,n){return t.map(t=>J(e,t,n))}function J(t,n,r){let i=e.createElement(z,{key:n.key,layoutInfo:n.layoutInfo,virtualizer:n.virtualizer,parent:t?.layoutInfo},n.rendered),{collection:a,layout:o}=n.virtualizer,s=n.content;return s?.type===`item`&&r&&o.getDropTargetLayoutInfo&&(i=e.createElement(e.Fragment,{key:n.key},Y(t,n,{type:`item`,key:n.content.key,dropPosition:`before`},r),i,y(a,s,e=>Y(t,n,e,r)))),i}function Y(t,n,r,i){let a=i(r);if(a){let i=n.virtualizer.layout.getDropTargetLayoutInfo(r);a=e.createElement(z,{layoutInfo:i,virtualizer:n.virtualizer,parent:t?.layoutInfo},a)}return a}export{W as Virtualizer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VisuallyHidden } from "react-aria-components";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{VisuallyHidden as e}from"react-aria";import"react-stately";export{e as VisuallyHidden};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/utils/compoundMapper.d.ts
|
|
2
|
+
interface Prop<T> {
|
|
3
|
+
value: T;
|
|
4
|
+
}
|
|
5
|
+
type ConfigSchema = Record<string, any>;
|
|
6
|
+
type ConfigVariants<T extends ConfigSchema> = { [Variant in keyof T]?: T[Variant] | null | undefined; };
|
|
7
|
+
type ConfigVariantsMulti<T extends ConfigSchema> = { [Variant in keyof T]?: T[Variant] | T[Variant][] | undefined; };
|
|
8
|
+
interface Config<T, R> {
|
|
9
|
+
default?: R;
|
|
10
|
+
compoundVariants?: (T extends ConfigSchema ? (ConfigVariants<T> | ConfigVariantsMulti<T>) & Prop<R> : Prop<R>)[];
|
|
11
|
+
defaultVariants?: Partial<T>;
|
|
12
|
+
}
|
|
13
|
+
type Props<T> = T extends ConfigSchema ? ConfigVariants<T> : never;
|
|
14
|
+
type CompoundMapper<ReturnType, Variants extends ConfigSchema> = (props: Props<Variants>) => NonNullable<ReturnType> | undefined;
|
|
15
|
+
declare const compoundMapper: <ReturnType, Variants extends ConfigSchema>(config: Config<Variants, NonNullable<ReturnType>>) => (props: Props<Variants>) => NonNullable<ReturnType> | undefined;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { ConfigSchema as n, compoundMapper as r, CompoundMapper as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/utils/compoundMapper.ts
|
|
2
|
+
const compoundMapper = (config) => {
|
|
3
|
+
return (props) => {
|
|
4
|
+
return (config.compoundVariants?.find((v) => {
|
|
5
|
+
return Object.entries(v).filter(([key]) => key !== "value").every(([key, value]) => {
|
|
6
|
+
const prop = props[key] || config.defaultVariants?.[key];
|
|
7
|
+
return Array.isArray(value) ? value.includes(prop) : prop === value;
|
|
8
|
+
});
|
|
9
|
+
}))?.value ?? config.default;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { compoundMapper as t };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import "./i18n-BDjNuy4Z.js";
|
|
2
|
+
import { ActionModal } from "./components/action-modal.js";
|
|
3
|
+
import { createContext, use, useRef, useState } from "react";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { useTranslation } from "react-i18next";
|
|
7
|
+
//#region src/config/confirmation.context.tsx
|
|
8
|
+
let Confirmation;
|
|
9
|
+
(function(_Confirmation) {
|
|
10
|
+
const Context = createContext(null);
|
|
11
|
+
_Confirmation.Provider = (t0) => {
|
|
12
|
+
const $ = c(14);
|
|
13
|
+
const { children } = t0;
|
|
14
|
+
let t1;
|
|
15
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
16
|
+
t1 = [];
|
|
17
|
+
$[0] = t1;
|
|
18
|
+
} else t1 = $[0];
|
|
19
|
+
const [requests, setRequests] = useState(t1);
|
|
20
|
+
const nextRequestId = useRef(0);
|
|
21
|
+
const { t } = useTranslation("ui");
|
|
22
|
+
let t2;
|
|
23
|
+
if ($[1] !== t) {
|
|
24
|
+
t2 = async (input) => new Promise((resolve) => {
|
|
25
|
+
setRequests((current) => [...current, {
|
|
26
|
+
id: nextRequestId.current = nextRequestId.current + 1,
|
|
27
|
+
input: {
|
|
28
|
+
...input,
|
|
29
|
+
cancelLabel: input.cancelLabel ?? t(_temp),
|
|
30
|
+
confirmLabel: input.confirmLabel ?? t(_temp2)
|
|
31
|
+
},
|
|
32
|
+
resolve
|
|
33
|
+
}]);
|
|
34
|
+
});
|
|
35
|
+
$[1] = t;
|
|
36
|
+
$[2] = t2;
|
|
37
|
+
} else t2 = $[2];
|
|
38
|
+
const confirm = t2;
|
|
39
|
+
const activeRequest = requests[0];
|
|
40
|
+
let t3;
|
|
41
|
+
if ($[3] !== activeRequest) {
|
|
42
|
+
t3 = (result) => {
|
|
43
|
+
if (!activeRequest) return;
|
|
44
|
+
activeRequest.resolve(result);
|
|
45
|
+
setRequests((current_0) => current_0.filter((t4) => {
|
|
46
|
+
const { id } = t4;
|
|
47
|
+
return id !== activeRequest.id;
|
|
48
|
+
}));
|
|
49
|
+
};
|
|
50
|
+
$[3] = activeRequest;
|
|
51
|
+
$[4] = t3;
|
|
52
|
+
} else t3 = $[4];
|
|
53
|
+
const settle = t3;
|
|
54
|
+
let t4;
|
|
55
|
+
if ($[5] !== confirm) {
|
|
56
|
+
t4 = { confirm };
|
|
57
|
+
$[5] = confirm;
|
|
58
|
+
$[6] = t4;
|
|
59
|
+
} else t4 = $[6];
|
|
60
|
+
const value = t4;
|
|
61
|
+
let t5;
|
|
62
|
+
if ($[7] !== activeRequest || $[8] !== settle) {
|
|
63
|
+
t5 = activeRequest ? /* @__PURE__ */ jsx(ActionModal, {
|
|
64
|
+
heading: activeRequest.input.heading,
|
|
65
|
+
description: activeRequest.input.description,
|
|
66
|
+
buttonSize: activeRequest.input.buttonSize,
|
|
67
|
+
textAlign: activeRequest.input.textAlign,
|
|
68
|
+
modalClassName: activeRequest.input.modalClassName,
|
|
69
|
+
isOpen: true,
|
|
70
|
+
onClose: () => settle(false),
|
|
71
|
+
primaryAction: {
|
|
72
|
+
label: activeRequest.input.confirmLabel ?? "",
|
|
73
|
+
variant: activeRequest.input.confirmVariant,
|
|
74
|
+
color: activeRequest.input.confirmColor,
|
|
75
|
+
onPress: () => settle(true)
|
|
76
|
+
},
|
|
77
|
+
secondaryAction: {
|
|
78
|
+
label: activeRequest.input.cancelLabel ?? "",
|
|
79
|
+
variant: activeRequest.input.cancelVariant,
|
|
80
|
+
color: activeRequest.input.cancelColor,
|
|
81
|
+
onPress: () => settle(false)
|
|
82
|
+
}
|
|
83
|
+
}) : null;
|
|
84
|
+
$[7] = activeRequest;
|
|
85
|
+
$[8] = settle;
|
|
86
|
+
$[9] = t5;
|
|
87
|
+
} else t5 = $[9];
|
|
88
|
+
let t6;
|
|
89
|
+
if ($[10] !== children || $[11] !== t5 || $[12] !== value) {
|
|
90
|
+
t6 = /* @__PURE__ */ jsxs(Context.Provider, {
|
|
91
|
+
value,
|
|
92
|
+
children: [t5, children]
|
|
93
|
+
});
|
|
94
|
+
$[10] = children;
|
|
95
|
+
$[11] = t5;
|
|
96
|
+
$[12] = value;
|
|
97
|
+
$[13] = t6;
|
|
98
|
+
} else t6 = $[13];
|
|
99
|
+
return t6;
|
|
100
|
+
};
|
|
101
|
+
_Confirmation.useConfirmation = () => {
|
|
102
|
+
const context = use(Context);
|
|
103
|
+
if (!context) throw new Error("Confirmation.useConfirmation must be used within a Confirmation.Provider");
|
|
104
|
+
return context;
|
|
105
|
+
};
|
|
106
|
+
})(Confirmation || (Confirmation = {}));
|
|
107
|
+
function _temp($) {
|
|
108
|
+
return $.ui.confirmation.cancel;
|
|
109
|
+
}
|
|
110
|
+
function _temp2($_0) {
|
|
111
|
+
return $_0.ui.confirmation.confirm;
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
export { Confirmation as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { n as ActionModalProps } from "./ActionModal-CKS0t-n3.js";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
//#region src/config/confirmation.context.d.ts
|
|
4
|
+
declare namespace Confirmation {
|
|
5
|
+
type ContextState = Pick<ActionModalProps, "heading" | "description" | "buttonSize" | "textAlign" | "primaryAction" | "secondaryAction" | "modalClassName"> & {
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
};
|
|
8
|
+
type ConfirmationInput = Pick<ContextState, "heading" | "description" | "buttonSize" | "textAlign" | "modalClassName"> & {
|
|
9
|
+
cancelLabel?: NonNullable<ContextState["secondaryAction"]>["label"];
|
|
10
|
+
confirmLabel?: NonNullable<ContextState["primaryAction"]>["label"];
|
|
11
|
+
cancelVariant?: NonNullable<ContextState["secondaryAction"]>["variant"];
|
|
12
|
+
cancelColor?: NonNullable<ContextState["secondaryAction"]>["color"];
|
|
13
|
+
confirmVariant?: NonNullable<ContextState["primaryAction"]>["variant"];
|
|
14
|
+
confirmColor?: NonNullable<ContextState["primaryAction"]>["color"];
|
|
15
|
+
};
|
|
16
|
+
interface Options {
|
|
17
|
+
confirm: (input: ConfirmationInput) => Promise<boolean>;
|
|
18
|
+
}
|
|
19
|
+
const Provider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
const useConfirmation: () => Options;
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Confirmation as t };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { g as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./utils-D-KKbY-n.js";
|
|
2
|
+
import $HgANd$react, { useContext, useEffect, useState } from "react";
|
|
3
|
+
//#region ../../node_modules/.bun/@react-aria+i18n@3.12.15+67f6792bdf102c28/node_modules/@react-aria/i18n/dist/utils.mjs
|
|
4
|
+
const $148a7a147e38ea7f$var$RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
5
|
+
"Arab",
|
|
6
|
+
"Syrc",
|
|
7
|
+
"Samr",
|
|
8
|
+
"Mand",
|
|
9
|
+
"Thaa",
|
|
10
|
+
"Mend",
|
|
11
|
+
"Nkoo",
|
|
12
|
+
"Adlm",
|
|
13
|
+
"Rohg",
|
|
14
|
+
"Hebr"
|
|
15
|
+
]);
|
|
16
|
+
const $148a7a147e38ea7f$var$RTL_LANGS = /* @__PURE__ */ new Set([
|
|
17
|
+
"ae",
|
|
18
|
+
"ar",
|
|
19
|
+
"arc",
|
|
20
|
+
"bcc",
|
|
21
|
+
"bqi",
|
|
22
|
+
"ckb",
|
|
23
|
+
"dv",
|
|
24
|
+
"fa",
|
|
25
|
+
"glk",
|
|
26
|
+
"he",
|
|
27
|
+
"ku",
|
|
28
|
+
"mzn",
|
|
29
|
+
"nqo",
|
|
30
|
+
"pnb",
|
|
31
|
+
"ps",
|
|
32
|
+
"sd",
|
|
33
|
+
"ug",
|
|
34
|
+
"ur",
|
|
35
|
+
"yi"
|
|
36
|
+
]);
|
|
37
|
+
function $148a7a147e38ea7f$export$702d680b21cbd764(localeString) {
|
|
38
|
+
if (Intl.Locale) {
|
|
39
|
+
let locale = new Intl.Locale(localeString).maximize();
|
|
40
|
+
let textInfo = typeof locale.getTextInfo === "function" ? locale.getTextInfo() : locale.textInfo;
|
|
41
|
+
if (textInfo) return textInfo.direction === "rtl";
|
|
42
|
+
if (locale.script) return $148a7a147e38ea7f$var$RTL_SCRIPTS.has(locale.script);
|
|
43
|
+
}
|
|
44
|
+
let lang = localeString.split("-")[0];
|
|
45
|
+
return $148a7a147e38ea7f$var$RTL_LANGS.has(lang);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region ../../node_modules/.bun/@react-aria+i18n@3.12.15+67f6792bdf102c28/node_modules/@react-aria/i18n/dist/useDefaultLocale.mjs
|
|
49
|
+
const $1e5a04cdaf7d1af8$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
50
|
+
function $1e5a04cdaf7d1af8$export$f09106e7c6677ec5() {
|
|
51
|
+
let locale = typeof window !== "undefined" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || typeof navigator !== "undefined" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
52
|
+
try {
|
|
53
|
+
Intl.DateTimeFormat.supportedLocalesOf([locale]);
|
|
54
|
+
} catch {
|
|
55
|
+
locale = "en-US";
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
locale,
|
|
59
|
+
direction: $148a7a147e38ea7f$export$702d680b21cbd764(locale) ? "rtl" : "ltr"
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
let $1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
|
|
63
|
+
let $1e5a04cdaf7d1af8$var$listeners = /* @__PURE__ */ new Set();
|
|
64
|
+
function $1e5a04cdaf7d1af8$var$updateLocale() {
|
|
65
|
+
$1e5a04cdaf7d1af8$var$currentLocale = $1e5a04cdaf7d1af8$export$f09106e7c6677ec5();
|
|
66
|
+
for (let listener of $1e5a04cdaf7d1af8$var$listeners) listener($1e5a04cdaf7d1af8$var$currentLocale);
|
|
67
|
+
}
|
|
68
|
+
function $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a() {
|
|
69
|
+
let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
|
|
70
|
+
let [defaultLocale, setDefaultLocale] = useState($1e5a04cdaf7d1af8$var$currentLocale);
|
|
71
|
+
useEffect(() => {
|
|
72
|
+
if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.addEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
|
|
73
|
+
$1e5a04cdaf7d1af8$var$listeners.add(setDefaultLocale);
|
|
74
|
+
return () => {
|
|
75
|
+
$1e5a04cdaf7d1af8$var$listeners.delete(setDefaultLocale);
|
|
76
|
+
if ($1e5a04cdaf7d1af8$var$listeners.size === 0) window.removeEventListener("languagechange", $1e5a04cdaf7d1af8$var$updateLocale);
|
|
77
|
+
};
|
|
78
|
+
}, []);
|
|
79
|
+
if (isSSR) return {
|
|
80
|
+
locale: typeof window !== "undefined" && window[$1e5a04cdaf7d1af8$var$localeSymbol] || "en-US",
|
|
81
|
+
direction: "ltr"
|
|
82
|
+
};
|
|
83
|
+
return defaultLocale;
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ../../node_modules/.bun/@react-aria+i18n@3.12.15+67f6792bdf102c28/node_modules/@react-aria/i18n/dist/context.mjs
|
|
87
|
+
const $18f2051aff69b9bf$var$I18nContext = /*#__PURE__*/ $HgANd$react.createContext(null);
|
|
88
|
+
function $18f2051aff69b9bf$export$43bb16f9c6d9e3f7() {
|
|
89
|
+
let defaultLocale = $1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a();
|
|
90
|
+
return useContext($18f2051aff69b9bf$var$I18nContext) || defaultLocale;
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
export { $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as t };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { createContext, createElement, forwardRef, useContext } from "react";
|
|
2
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
|
|
3
|
+
/**
|
|
4
|
+
* @license lucide-react v1.28.0 - ISC
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the ISC license.
|
|
7
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
const mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
|
10
|
+
return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
|
|
11
|
+
}).join(" ").trim();
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs
|
|
14
|
+
/**
|
|
15
|
+
* @license lucide-react v1.28.0 - ISC
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the ISC license.
|
|
18
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
|
|
23
|
+
/**
|
|
24
|
+
* @license lucide-react v1.28.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
29
|
+
const toCamelCase = (string) => string.replace(/^([A-Z])|[\s-_]+(\w)/g, (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase());
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v1.28.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
const toPascalCase = (string) => {
|
|
39
|
+
const camelCase = toCamelCase(string);
|
|
40
|
+
return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/defaultAttributes.mjs
|
|
44
|
+
/**
|
|
45
|
+
* @license lucide-react v1.28.0 - ISC
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the ISC license.
|
|
48
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/
|
|
50
|
+
var defaultAttributes = {
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
+
width: 24,
|
|
53
|
+
height: 24,
|
|
54
|
+
viewBox: "0 0 24 24",
|
|
55
|
+
fill: "none",
|
|
56
|
+
stroke: "currentColor",
|
|
57
|
+
strokeWidth: 2,
|
|
58
|
+
strokeLinecap: "round",
|
|
59
|
+
strokeLinejoin: "round"
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
63
|
+
/**
|
|
64
|
+
* @license lucide-react v1.28.0 - ISC
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the ISC license.
|
|
67
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/
|
|
69
|
+
const hasA11yProp = (props) => {
|
|
70
|
+
for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
|
|
71
|
+
return false;
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/context.mjs
|
|
75
|
+
/**
|
|
76
|
+
* @license lucide-react v1.28.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 LucideContext = createContext({});
|
|
82
|
+
const useLucideContext = () => useContext(LucideContext);
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/Icon.mjs
|
|
85
|
+
/**
|
|
86
|
+
* @license lucide-react v1.28.0 - ISC
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the ISC license.
|
|
89
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/
|
|
91
|
+
const Icon = forwardRef(({ color, size, strokeWidth, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => {
|
|
92
|
+
const { size: contextSize = 24, strokeWidth: contextStrokeWidth = 2, absoluteStrokeWidth: contextAbsoluteStrokeWidth = false, color: contextColor = "currentColor", className: contextClass = "" } = useLucideContext() ?? {};
|
|
93
|
+
const calculatedStrokeWidth = absoluteStrokeWidth ?? contextAbsoluteStrokeWidth ? Number(strokeWidth ?? contextStrokeWidth) * 24 / Number(size ?? contextSize) : strokeWidth ?? contextStrokeWidth;
|
|
94
|
+
return createElement("svg", {
|
|
95
|
+
ref,
|
|
96
|
+
...defaultAttributes,
|
|
97
|
+
width: size ?? contextSize ?? defaultAttributes.width,
|
|
98
|
+
height: size ?? contextSize ?? defaultAttributes.height,
|
|
99
|
+
stroke: color ?? contextColor,
|
|
100
|
+
strokeWidth: calculatedStrokeWidth,
|
|
101
|
+
className: mergeClasses("lucide", contextClass, className),
|
|
102
|
+
...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
|
|
103
|
+
...rest
|
|
104
|
+
}, [...iconNode.map(([tag, attrs]) => createElement(tag, attrs)), ...Array.isArray(children) ? children : [children]]);
|
|
105
|
+
});
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region ../../node_modules/.bun/lucide-react@1.28.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
|
|
108
|
+
/**
|
|
109
|
+
* @license lucide-react v1.28.0 - ISC
|
|
110
|
+
*
|
|
111
|
+
* This source code is licensed under the ISC license.
|
|
112
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
+
*/
|
|
114
|
+
const createLucideIcon = (iconName, iconNode) => {
|
|
115
|
+
const Component = forwardRef(({ className, ...props }, ref) => createElement(Icon, {
|
|
116
|
+
ref,
|
|
117
|
+
iconNode,
|
|
118
|
+
className: mergeClasses(`lucide-${toKebabCase(toPascalCase(iconName))}`, `lucide-${iconName}`, className),
|
|
119
|
+
...props
|
|
120
|
+
}));
|
|
121
|
+
Component.displayName = toPascalCase(iconName);
|
|
122
|
+
return Component;
|
|
123
|
+
};
|
|
124
|
+
//#endregion
|
|
125
|
+
export { createLucideIcon as t };
|