@povio/ui 6.0.0-rc.11 → 6.0.0-rc.13
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 +470 -43
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/{Accordion-ORBin0EZ.js → Accordion-gUW7u1Zn.js} +41 -41
- package/dist/Alert-DwnALnFY.d.ts +36 -0
- package/dist/AlertDialog-BcRiqY_n.d.ts +70 -0
- package/dist/Autocomplete-CV4Aa1Ok.js +319 -0
- package/dist/Autocomplete-DRwQxx0U.d.ts +123 -0
- package/dist/Badge-CO-ZsmbR.d.ts +67 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-APVu5TUd.js} +8 -8
- package/dist/BottomSheet-Be0HtQzP.d.ts +65 -0
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-NNB7ivkW.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-Bn3fqVYx.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-Cd75RPbS.js} +33 -17
- package/dist/{Button-C1YB5dOw.js → Button-BJJkLVNj.js} +1 -5
- package/dist/{Button-BaODzvZd.js → Button-CzEs3tcV.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-Hk8zm9q_.d.ts} +2 -2
- package/dist/ButtonBase-Cp1w00t2.d.ts +47 -0
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-aGz6DYum.js} +10 -18
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-DX0dVo6z.js → Calendar-DN-i_b-_.js} +19 -17
- package/dist/{Calendar.lazy-W51M56GQ.js → Calendar.lazy-CqmyDSND.js} +4 -4
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-CzKXZw_w.js} +35 -9
- package/dist/Checkbox-D32MOIhF.d.ts +49 -0
- package/dist/CheckboxCheckmark-DDU_Ie7-.js +42 -0
- package/dist/CheckboxGroup-B5Mn1G3u.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-BqWt09kZ.js} +75 -35
- package/dist/DatePicker-CmoVbapu.d.ts +80 -0
- package/dist/{DatePicker-CqNS7lgR.js → DatePicker-DQewd1By.js} +80 -41
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
- package/dist/{DatePickerInput-B2Pc_aJr.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
- package/dist/{DateRangePicker-C3ClfSfj.js → DateRangePicker-DRZ1hLlR.js} +93 -169
- package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
- package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
- package/dist/{DateTimePicker-CYa2J-1r.js → DateTimePicker-DWtKPaE6.js} +70 -35
- package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
- package/dist/{Dialog-96c4Pzfm.js → Dialog-BzQYDPJ9.js} +23 -19
- package/dist/Dialog-D0SeePPz.d.ts +66 -0
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-Bjm5IOpg.js} +1 -1
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-DTr7b-XO.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-DrshB60h.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-DxGA0yvx.js} +14 -8
- package/dist/FileInput-Bokcp9nH.d.ts +61 -0
- package/dist/{FileInput-IRM0C9W6.js → FileInput-LMhFxlqB.js} +75 -80
- package/dist/FileUpload-BqXd4_nz.d.ts +181 -0
- package/dist/FileUpload-CJZrkr_U.js +679 -0
- package/dist/{FormField-dduTMkNH.js → FormField-TI8Vx5aC.js} +10 -10
- package/dist/FormField-XQbjfGSv.d.ts +70 -0
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DB7KrrcD.js +22 -0
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-CQLHX8-Y.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CjDUsi2I.js} +1 -1
- package/dist/{Input-UbFhc_J2.js → Input-CeRJeAoR.js} +94 -59
- package/dist/Input-onUj0DKg.d.ts +56 -0
- package/dist/{InputContent-D7lnNLWk.js → InputContent-B8OCdbVP.js} +15 -13
- package/dist/InputContent-D5ZkB9hO.d.ts +39 -0
- package/dist/Link-BdnWVYL9.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-gR4iSV7N.js} +3 -3
- package/dist/{Modal-DcLWF9cB.js → Modal-DAMsCwzb.js} +1 -1
- package/dist/{NumberField-twW8zuJ9.js → NumberField-6Q9LHGSo.js} +91 -62
- package/dist/NumberField-Sb30Qao3.d.ts +41 -0
- package/dist/{NumberRangeInput-gT6gEJIz.js → NumberRangeInput-BDSkcHVJ.js} +152 -101
- package/dist/NumberRangeInput-Dvq8mOUY.d.ts +89 -0
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-eJk6GNK6.d.ts} +6 -5
- package/dist/{PasswordInput.bound-CXtbMCD6.js → PasswordInput-BcHpV0Ie.js} +6 -6
- package/dist/PasswordInput-VHzP4VPU.d.ts +16 -0
- package/dist/Popover-qplPGDnR.d.ts +51 -0
- package/dist/Progress-DH-w99MU.d.ts +26 -0
- package/dist/Progress-WzWvbvtp.js +180 -0
- package/dist/ProgressBar-BsSimmJF.js +46 -0
- package/dist/RadioGroup-CC8bKtBN.d.ts +52 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-PKqFHoKP.js} +66 -26
- package/dist/{RangeCalendar-0W1YFZqn.js → RangeCalendar-DqCTlIuy.js} +42 -13
- package/dist/Select-CSyfDyxG.d.ts +248 -0
- package/dist/{Select-B-TuE_Fh.js → Select-D3fuXwVt.js} +435 -184
- package/dist/{SelectListBox-Dlonoc5z.js → SelectListBox-DqAxkT1f.js} +46 -37
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BGl_PIsH.js} +280 -363
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-CdtK2M-C.d.ts} +31 -17
- package/dist/{Slider-DCsCCPFx.js → Slider-BCUiALjE.js} +69 -12
- package/dist/Slider-DxalZD3o.d.ts +57 -0
- package/dist/Spinner-BTrEbNFy.d.ts +13 -0
- package/dist/SplitButton-Dv5l8p5t.d.ts +25 -0
- package/dist/Stepper-B1IOUcSI.d.ts +49 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-DA2G546I.js} +116 -88
- package/dist/{Switch-BfpSMMpv.js → Switch-Ce-bJOVw.js} +54 -12
- package/dist/Switch-urNrop0P.d.ts +42 -0
- package/dist/{TabsFilters-CWUNeqYa.js → TabsFilters-Cweij8He.js} +44 -33
- package/dist/TabsFilters-M5Ld7eb8.d.ts +59 -0
- package/dist/Tag-BKR1AZFa.d.ts +26 -0
- package/dist/TextArea-D7YVclaz.d.ts +33 -0
- package/dist/{TextArea-DakA3nzZ.js → TextArea-P8F0oD_A.js} +59 -32
- package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
- package/dist/{TimePicker-RFzfDezn.js → TimePicker-l4Ysk2AX.js} +99 -50
- package/dist/{TimePickerForm-DohOZViU.js → TimePickerForm-BMqNpDPT.js} +5 -5
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-BeklfvlK.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-DWw53pTt.d.ts} +2 -2
- package/dist/ToggleGroup-BQk3k0at.d.ts +95 -0
- package/dist/ToggleGroup-BdIgqoqA.js +500 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-BkXPEBqw.js} +2 -2
- package/dist/Tooltip-H8OB7CqY.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-DLBksJsF.js → TooltipWrapper-ubbBHHVD.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-Cx1oRGxd.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-BpoxNggB.js} +20 -22
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-Dyy_RUZU.d.ts} +1 -1
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +159 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +4 -4
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +29 -26
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +33 -18
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +1 -1
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-BflM4Vxg.js +93 -0
- package/dist/confirmation.context-C_js9qNv.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-DZOoWaZz.js} +63 -38
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-MH5ziWUe.js} +2 -2
- package/dist/form-field-Bw7U_ZPI.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-EDC8xyfH.d.ts → i18n-B3PeqBM7.d.ts} +100 -20
- package/dist/{i18n-BE9Wvs9L.js → i18n-DQs7jPjv.js} +99 -25
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-Dkfk7PHt.js → import-C73fI3WD.js} +2 -2
- package/dist/index.d.ts +64 -85
- package/dist/index.js +55 -92
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BcBuP9ZT.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-D6L1c2wq.d.ts +2157 -0
- package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-4tIzPL8l.js → staticDateTimeSegments-BYk1tcxs.js} +43 -13
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +2 -2
- package/dist/tanstack-ABeiJISz.js +10 -0
- package/dist/tanstack-bLXoUPDY.d.ts +165 -0
- package/dist/tanstack.d.ts +64 -85
- package/dist/tanstack.js +55 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-C3oA7He3.js} +8 -8
- package/dist/toast.runtime-BHXdSTXV.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/uiConfig.context-CN_QgxGO.d.ts +19 -0
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CjnLnQOo.js} +5 -7
- package/dist/{uiConfig.context-BnCORTNm.d.ts → uiConfig.types-B0sPL7nN.d.ts} +34 -34
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-CQgkDfjW.js} +140 -35
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-BrJrvp9_.js} +5 -1
- package/dist/useBreakpoint-D-SVcBeQ.d.ts +9 -0
- package/dist/useDebounceCallback-BjePw6y4.js +90 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BN-zueci.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-B7qGzySj.js} +103 -2
- package/dist/useRemoveButton-B6-IGvpY.js +98 -0
- package/dist/useResolveDateRangePreset-C_L-doA6.js +26 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-C8chM7c-.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/{useTableColumnConfig-D3KH4Rpo.js → useTableColumnConfig-B9cYBKo3.js} +956 -689
- package/dist/useTableNav-rP1wDkhV.d.ts +372 -0
- package/dist/useToast-D2C9pROU.d.ts +78 -0
- package/dist/useToast-DSoOiSw0.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/llms.txt +3116 -0
- package/package.json +13 -131
- package/MIGRATION.md +0 -673
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-BxRjxjtp.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-DweyHUI5.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-Dxg2LM89.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-PR9rBoXc.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-CQxnRveH.js +0 -32
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-CctyulN9.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-Dfs3FvJ7.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-vik_sTkm.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-0iJO2-ia.js +0 -31
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-DHDsBNvI.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-5Yv3Og73.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/Pagination-BCGUVYOF.d.ts +0 -12
- package/dist/PaginationList-CvlSkJGn.d.ts +0 -18
- package/dist/PaginationList-D7SRwySe.js +0 -220
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-BuqZth3X.js +0 -651
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound-CNCChZww.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-CDVPP_qb.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-DPia51Qs.js +0 -32
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/components/pagination-list.d.ts +0 -2
- package/dist/components/pagination-list.js +0 -2
- package/dist/components/pagination.d.ts +0 -2
- package/dist/components/pagination.js +0 -138
- package/dist/confirmation.context-BwlIEVeF.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-CtuKX9Ss.d.ts +0 -568
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableNav-H5DrogZU.d.ts +0 -215
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { createContext, use, useLayoutEffect, useRef } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { RouterProvider } from "react-aria";
|
|
5
|
+
//#region src/utils/routing.utils.ts
|
|
6
|
+
let RoutingUtils;
|
|
7
|
+
(function(_RoutingUtils) {
|
|
8
|
+
const isNumericString = (value) => {
|
|
9
|
+
return /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?$/.test(value);
|
|
10
|
+
};
|
|
11
|
+
const coerceQueryValue = (value) => {
|
|
12
|
+
if (value.startsWith("\"") || value.startsWith("[") || value.startsWith("{")) try {
|
|
13
|
+
const decoded = JSON.parse(value);
|
|
14
|
+
if (typeof decoded === "string" || Array.isArray(decoded)) return decoded;
|
|
15
|
+
if (decoded !== null && typeof decoded === "object") return decoded;
|
|
16
|
+
} catch {}
|
|
17
|
+
if (value === "true") return true;
|
|
18
|
+
if (value === "false") return false;
|
|
19
|
+
if (isNumericString(value) && Number.isFinite(Number(value))) return Number(value);
|
|
20
|
+
return value;
|
|
21
|
+
};
|
|
22
|
+
_RoutingUtils.toRouterSearch = (params) => {
|
|
23
|
+
const search = {};
|
|
24
|
+
for (const [key, value] of params.entries()) search[key] = coerceQueryValue(value);
|
|
25
|
+
return search;
|
|
26
|
+
};
|
|
27
|
+
_RoutingUtils.addQueryParams = (path, params) => {
|
|
28
|
+
const sParams = new URLSearchParams();
|
|
29
|
+
for (const [key, value] of Object.entries(params)) if (value) sParams.append(key, value.toString());
|
|
30
|
+
return `${path}?${sParams.toString()}`;
|
|
31
|
+
};
|
|
32
|
+
})(RoutingUtils || (RoutingUtils = {}));
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/config/router.context.tsx
|
|
35
|
+
const missingProviderMessage = "useSorting and useFilters keep their state in the URL and need `UIRouter.UIRouterProvider` from `@povio/ui/ui-router` above them. Wrap the app in it, passing `push`, `replace` and `searchString` from your router.";
|
|
36
|
+
let UIRouter;
|
|
37
|
+
(function(_UIRouter) {
|
|
38
|
+
const UIRouterContext = createContext(null);
|
|
39
|
+
_UIRouter.UIRouterProvider = (t0) => {
|
|
40
|
+
const $ = c(22);
|
|
41
|
+
const { children, push, replace, searchString } = t0;
|
|
42
|
+
let t1;
|
|
43
|
+
if ($[0] !== searchString) {
|
|
44
|
+
t1 = new URLSearchParams(searchString);
|
|
45
|
+
$[0] = searchString;
|
|
46
|
+
$[1] = t1;
|
|
47
|
+
} else t1 = $[1];
|
|
48
|
+
const searchParams = t1;
|
|
49
|
+
let t2;
|
|
50
|
+
if ($[2] !== searchParams) {
|
|
51
|
+
t2 = {
|
|
52
|
+
searchParams,
|
|
53
|
+
written: null
|
|
54
|
+
};
|
|
55
|
+
$[2] = searchParams;
|
|
56
|
+
$[3] = t2;
|
|
57
|
+
} else t2 = $[3];
|
|
58
|
+
const latestRef = useRef(t2);
|
|
59
|
+
const replaceRef = useRef(replace);
|
|
60
|
+
let t3;
|
|
61
|
+
let t4;
|
|
62
|
+
if ($[4] !== searchParams) {
|
|
63
|
+
t3 = () => {
|
|
64
|
+
latestRef.current = {
|
|
65
|
+
searchParams,
|
|
66
|
+
written: null
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
t4 = [searchParams];
|
|
70
|
+
$[4] = searchParams;
|
|
71
|
+
$[5] = t3;
|
|
72
|
+
$[6] = t4;
|
|
73
|
+
} else {
|
|
74
|
+
t3 = $[5];
|
|
75
|
+
t4 = $[6];
|
|
76
|
+
}
|
|
77
|
+
useLayoutEffect(t3, t4);
|
|
78
|
+
let t5;
|
|
79
|
+
let t6;
|
|
80
|
+
if ($[7] !== replace) {
|
|
81
|
+
t5 = () => {
|
|
82
|
+
replaceRef.current = replace;
|
|
83
|
+
};
|
|
84
|
+
t6 = [replace];
|
|
85
|
+
$[7] = replace;
|
|
86
|
+
$[8] = t5;
|
|
87
|
+
$[9] = t6;
|
|
88
|
+
} else {
|
|
89
|
+
t5 = $[8];
|
|
90
|
+
t6 = $[9];
|
|
91
|
+
}
|
|
92
|
+
useLayoutEffect(t5, t6);
|
|
93
|
+
let t7;
|
|
94
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
95
|
+
t7 = (update) => {
|
|
96
|
+
const latest = latestRef.current;
|
|
97
|
+
const search = latest.written ?? RoutingUtils.toRouterSearch(latest.searchParams);
|
|
98
|
+
const next = update(search);
|
|
99
|
+
if (next === search) return;
|
|
100
|
+
latest.written = next;
|
|
101
|
+
replaceRef.current(".", next);
|
|
102
|
+
};
|
|
103
|
+
$[10] = t7;
|
|
104
|
+
} else t7 = $[10];
|
|
105
|
+
const updateSearch = t7;
|
|
106
|
+
let t8;
|
|
107
|
+
if ($[11] !== push || $[12] !== replace || $[13] !== searchParams || $[14] !== searchString) {
|
|
108
|
+
t8 = {
|
|
109
|
+
searchParams,
|
|
110
|
+
push,
|
|
111
|
+
searchString,
|
|
112
|
+
replace,
|
|
113
|
+
updateSearch
|
|
114
|
+
};
|
|
115
|
+
$[11] = push;
|
|
116
|
+
$[12] = replace;
|
|
117
|
+
$[13] = searchParams;
|
|
118
|
+
$[14] = searchString;
|
|
119
|
+
$[15] = t8;
|
|
120
|
+
} else t8 = $[15];
|
|
121
|
+
const value = t8;
|
|
122
|
+
let t9;
|
|
123
|
+
if ($[16] !== children || $[17] !== push) {
|
|
124
|
+
t9 = /* @__PURE__ */ jsx(RouterProvider, {
|
|
125
|
+
navigate: push,
|
|
126
|
+
children
|
|
127
|
+
});
|
|
128
|
+
$[16] = children;
|
|
129
|
+
$[17] = push;
|
|
130
|
+
$[18] = t9;
|
|
131
|
+
} else t9 = $[18];
|
|
132
|
+
let t10;
|
|
133
|
+
if ($[19] !== t9 || $[20] !== value) {
|
|
134
|
+
t10 = /* @__PURE__ */ jsx(UIRouterContext, {
|
|
135
|
+
value,
|
|
136
|
+
children: t9
|
|
137
|
+
});
|
|
138
|
+
$[19] = t9;
|
|
139
|
+
$[20] = value;
|
|
140
|
+
$[21] = t10;
|
|
141
|
+
} else t10 = $[21];
|
|
142
|
+
return t10;
|
|
143
|
+
};
|
|
144
|
+
_UIRouter.useUIRouter = () => {
|
|
145
|
+
const context = use(UIRouterContext);
|
|
146
|
+
if (!context) throw new Error(missingProviderMessage);
|
|
147
|
+
return context;
|
|
148
|
+
};
|
|
149
|
+
})(UIRouter || (UIRouter = {}));
|
|
150
|
+
//#endregion
|
|
151
|
+
export { RoutingUtils as n, UIRouter as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
//#region src/config/router.context.d.ts
|
|
3
|
+
type SearchObject = Record<string, unknown>;
|
|
4
|
+
interface UIRouterProviderProps {
|
|
5
|
+
/**
|
|
6
|
+
* Navigates to `path` (`"."` is the current route) with `search` as the whole search object, which must reach the
|
|
7
|
+
* router's `search` (TanStack Router: `navigate({ to: path, search })`). Links use it too.
|
|
8
|
+
*/
|
|
9
|
+
push: (path: string, search?: SearchObject) => void | Promise<unknown>;
|
|
10
|
+
/**
|
|
11
|
+
* Like `push`, but replaces the current history entry (TanStack Router: `navigate({ to: path, search, replace: true
|
|
12
|
+
* })`). `useFilters` and `useSorting` write the URL through it.
|
|
13
|
+
*/
|
|
14
|
+
replace: (path: string, search?: SearchObject) => void | Promise<unknown>;
|
|
15
|
+
/** The current URL search string, for example TanStack Router's `location.searchStr`. */
|
|
16
|
+
searchString: string;
|
|
17
|
+
}
|
|
18
|
+
interface UIRouterContextValue extends UIRouterProviderProps {
|
|
19
|
+
searchParams: URLSearchParams;
|
|
20
|
+
/**
|
|
21
|
+
* Replaces the current search with `update(search)`. `search` already holds the writes made since the last
|
|
22
|
+
* `searchString`, so several updates in one render or handler compose. Returning `search` itself writes nothing.
|
|
23
|
+
*/
|
|
24
|
+
updateSearch: (update: (search: SearchObject) => SearchObject) => void;
|
|
25
|
+
}
|
|
26
|
+
declare namespace UIRouter {
|
|
27
|
+
/** Connects the app router to the URL state of `useFilters` and `useSorting`, and to React Aria links. */
|
|
28
|
+
const UIRouterProvider: ({ children, push, replace, searchString }: PropsWithChildren<UIRouterProviderProps>) => import("react").JSX.Element;
|
|
29
|
+
/** The router connection from the nearest `UIRouterProvider`; throws when there is none. */
|
|
30
|
+
const useUIRouter: () => UIRouterContextValue;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { UIRouter as t };
|
|
@@ -9,6 +9,6 @@ const selectInputTagsContentWrapperDefinition = UIOverrides.defineConfig({
|
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/components/inputs/Selection/shared/selectDesktop.cva.ts
|
|
12
|
-
const selectPopoverDefinition = UIOverrides.defineConfig({ base: ["my-1 outline-none"] });
|
|
12
|
+
const selectPopoverDefinition = UIOverrides.defineConfig({ base: ["my-1 w-max max-w-[min(20rem,calc(100vw-2rem))] outline-none"] });
|
|
13
13
|
//#endregion
|
|
14
14
|
export { selectInputTagsContentWrapperDefinition as n, selectPopoverDefinition as t };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
//#region src/components/navigation/Sidebar/sidebar.cva.ts
|
|
3
|
+
const sidebarDefinition = UIOverrides.defineConfig({
|
|
4
|
+
base: ["flex h-full w-70 flex-col overflow-hidden", "border-r border-border bg-card"],
|
|
5
|
+
config: {
|
|
6
|
+
variants: { isMobile: {
|
|
7
|
+
true: "min-w-0 shrink",
|
|
8
|
+
false: "shrink-0"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { isMobile: false }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const sidebarHeaderDefinition = UIOverrides.defineConfig({
|
|
14
|
+
base: ["flex shrink-0 items-center gap-2 px-2 pt-6 pb-2"],
|
|
15
|
+
config: {
|
|
16
|
+
variants: {},
|
|
17
|
+
defaultVariants: {}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const sidebarContentDefinition = UIOverrides.defineConfig({
|
|
21
|
+
base: ["flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-2 py-2"],
|
|
22
|
+
config: {
|
|
23
|
+
variants: {},
|
|
24
|
+
defaultVariants: {}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
const sidebarFooterDefinition = UIOverrides.defineConfig({
|
|
28
|
+
base: ["flex shrink-0 items-center gap-2 border-t border-border", "px-2 py-3"],
|
|
29
|
+
config: {
|
|
30
|
+
variants: {},
|
|
31
|
+
defaultVariants: {}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
const sidebarGroupDefinition = UIOverrides.defineConfig({
|
|
35
|
+
base: ["flex flex-col"],
|
|
36
|
+
config: {
|
|
37
|
+
variants: {},
|
|
38
|
+
defaultVariants: {}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
const sidebarGroupHeadingDefinition = UIOverrides.defineConfig({
|
|
42
|
+
base: ["flex min-w-0 flex-1 items-center gap-4 rounded-md", "px-3 py-2 text-left text-foreground outline-none"],
|
|
43
|
+
config: {
|
|
44
|
+
variants: { isCollapsible: {
|
|
45
|
+
true: ["cursor-pointer pointer-coarse:min-h-11 hover:bg-accent", "focus-visible:ring-2 focus-visible:ring-ring"],
|
|
46
|
+
false: ""
|
|
47
|
+
} },
|
|
48
|
+
defaultVariants: { isCollapsible: true }
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
const sidebarGroupChevronDefinition = UIOverrides.defineConfig({
|
|
52
|
+
base: ["size-icons-size shrink-0 transition-transform duration-200 motion-reduce:transition-none"],
|
|
53
|
+
config: {
|
|
54
|
+
variants: { isExpanded: {
|
|
55
|
+
true: "rotate-0",
|
|
56
|
+
false: "-rotate-90"
|
|
57
|
+
} },
|
|
58
|
+
defaultVariants: { isExpanded: true }
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
const sidebarItemDefinition = UIOverrides.defineConfig({
|
|
62
|
+
base: [
|
|
63
|
+
"flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md",
|
|
64
|
+
"px-3 py-2 text-left no-underline! outline-none",
|
|
65
|
+
"transition-colors duration-150 motion-reduce:transition-none",
|
|
66
|
+
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
|
|
67
|
+
"disabled:cursor-default disabled:opacity-50 data-disabled:cursor-default data-disabled:opacity-50",
|
|
68
|
+
"pointer-coarse:min-h-11"
|
|
69
|
+
],
|
|
70
|
+
config: {
|
|
71
|
+
variants: {
|
|
72
|
+
variant: {
|
|
73
|
+
default: "",
|
|
74
|
+
search: "bg-muted ring-1 ring-border ring-inset"
|
|
75
|
+
},
|
|
76
|
+
isActive: {
|
|
77
|
+
true: ["relative bg-muted font-medium text-card-foreground", "before:absolute before:inset-y-2 before:left-0 before:w-0.5 before:rounded-full before:bg-foreground"],
|
|
78
|
+
false: "text-foreground"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
defaultVariants: {
|
|
82
|
+
variant: "default",
|
|
83
|
+
isActive: false
|
|
84
|
+
},
|
|
85
|
+
compoundVariants: [{
|
|
86
|
+
isActive: false,
|
|
87
|
+
className: "hover:bg-accent hover:text-card-foreground"
|
|
88
|
+
}]
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const sidebarAvatarDefinition = UIOverrides.defineConfig({
|
|
92
|
+
base: ["relative flex size-7 shrink-0 items-center justify-center font-sans font-semibold text-xs"],
|
|
93
|
+
config: {
|
|
94
|
+
variants: { shape: {
|
|
95
|
+
square: "rounded-sm bg-foreground text-background",
|
|
96
|
+
circle: "rounded-full bg-foreground text-background"
|
|
97
|
+
} },
|
|
98
|
+
defaultVariants: { shape: "circle" }
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
const sidebarWorkspacesDefinition = UIOverrides.defineConfig({
|
|
102
|
+
base: ["flex h-full shrink-0 flex-col overflow-hidden border-r border-border bg-card", "px-3 py-3 transition-[width] duration-200 ease-out motion-reduce:transition-none"],
|
|
103
|
+
config: {
|
|
104
|
+
variants: { isExpanded: {
|
|
105
|
+
true: "w-56",
|
|
106
|
+
false: "w-[calc(--spacing(9)+2*calc(var(--spacing)*3)+1px)]"
|
|
107
|
+
} },
|
|
108
|
+
defaultVariants: { isExpanded: false }
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
const sidebarWorkspaceRowDefinition = UIOverrides.defineConfig({
|
|
112
|
+
base: [
|
|
113
|
+
"group/workspace flex w-full min-w-0 cursor-pointer items-center gap-4 rounded-md text-left outline-none",
|
|
114
|
+
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card",
|
|
115
|
+
"pointer-coarse:min-h-11"
|
|
116
|
+
],
|
|
117
|
+
config: {
|
|
118
|
+
variants: { isSelected: {
|
|
119
|
+
true: "text-card-foreground",
|
|
120
|
+
false: "text-foreground hover:text-card-foreground"
|
|
121
|
+
} },
|
|
122
|
+
defaultVariants: { isSelected: false }
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
const sidebarWorkspaceTileDefinition = UIOverrides.defineConfig({
|
|
126
|
+
base: ["flex size-9 shrink-0 items-center justify-center rounded-md font-sans font-semibold text-sm", "transition-colors duration-150 motion-reduce:transition-none"],
|
|
127
|
+
config: {
|
|
128
|
+
variants: {
|
|
129
|
+
variant: {
|
|
130
|
+
workspace: "",
|
|
131
|
+
add: "border border-dashed border-foreground text-foreground group-hover/workspace:bg-accent"
|
|
132
|
+
},
|
|
133
|
+
isSelected: {
|
|
134
|
+
true: "bg-foreground text-background",
|
|
135
|
+
false: ""
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
defaultVariants: {
|
|
139
|
+
variant: "workspace",
|
|
140
|
+
isSelected: false
|
|
141
|
+
},
|
|
142
|
+
compoundVariants: [{
|
|
143
|
+
variant: "workspace",
|
|
144
|
+
isSelected: false,
|
|
145
|
+
className: "bg-card text-card-foreground group-hover/workspace:bg-accent"
|
|
146
|
+
}]
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
//#endregion
|
|
150
|
+
export { sidebarGroupChevronDefinition as a, sidebarHeaderDefinition as c, sidebarWorkspaceTileDefinition as d, sidebarWorkspacesDefinition as f, sidebarFooterDefinition as i, sidebarItemDefinition as l, sidebarContentDefinition as n, sidebarGroupDefinition as o, sidebarDefinition as r, sidebarGroupHeadingDefinition as s, sidebarAvatarDefinition as t, sidebarWorkspaceRowDefinition as u };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as cva, t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
+
//#region src/components/status/Spinner/spinner.cva.ts
|
|
3
|
+
const spinnerWrapperDefinition = UIOverrides.defineConfig({
|
|
4
|
+
base: ["flex items-center justify-center"],
|
|
5
|
+
config: {
|
|
6
|
+
variants: { size: {
|
|
7
|
+
default: "size-4",
|
|
8
|
+
lg: "size-8"
|
|
9
|
+
} },
|
|
10
|
+
defaultVariants: { size: "default" }
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const spinnerWrapper = cva(spinnerWrapperDefinition.base, spinnerWrapperDefinition.config);
|
|
14
|
+
const spinnerDefinition = UIOverrides.defineConfig({ base: ["size-full animate-spin"] });
|
|
15
|
+
const spinner = cva(spinnerDefinition.base);
|
|
16
|
+
//#endregion
|
|
17
|
+
export { spinnerWrapperDefinition as i, spinnerDefinition as n, spinnerWrapper as r, spinner as t };
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
+
import { t as logger } from "./logger-CW24po62.js";
|
|
1
2
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
3
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-
|
|
4
|
+
import { l as $542a13ca2fa5b484$export$5b6b19405a83ff9d, n as $f2ff30fde7b014be$export$3ddf2d174ce01153 } from "./Dialog-BJ13KRQo.js";
|
|
4
5
|
import { t as popoverAnimationClassName } from "./popoverAnimation-DEZSvKP8.js";
|
|
5
6
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
6
|
-
import
|
|
7
|
+
import "./i18n-DQs7jPjv.js";
|
|
8
|
+
import { t as Button } from "./Button-CzEs3tcV.js";
|
|
7
9
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
8
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
10
|
+
import { t as useBreakpoint } from "./useBreakpoint-BrJrvp9_.js";
|
|
9
11
|
import { t as $a8ea2faf2ebe4d2f$re_export$isFirefox } from "./import-D_3dPATF.js";
|
|
10
12
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
11
13
|
import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, n as $fd2148440a13ec26$export$75ee7c75d68f5b0e, r as $fd2148440a13ec26$export$aca958c65c314e6c, t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-DYarfm5F.js";
|
|
12
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
13
|
-
import "./i18n-BE9Wvs9L.js";
|
|
14
15
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
15
|
-
import { t as getStaticInputFocusTarget } from "./useStaticInputHandoff-
|
|
16
|
+
import { t as getStaticInputFocusTarget } from "./useStaticInputHandoff-DrNFrvD7.js";
|
|
16
17
|
import { useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
17
18
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
18
19
|
import { CalendarDate, DateFormatter, GregorianCalendar, Time, getLocalTimeZone, isEqualCalendar, now, toCalendar, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
|
|
19
|
-
import { useDateSegment } from "react-aria";
|
|
20
20
|
import { useTranslation } from "react-i18next";
|
|
21
|
+
import { useDateSegment } from "react-aria";
|
|
21
22
|
//#region ../../node_modules/.bun/@internationalized+string@3.2.10/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
|
|
22
23
|
const $a747a10fe70a57da$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
23
24
|
const $a747a10fe70a57da$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -1575,10 +1576,9 @@ const DateSegmentItem = ({ segment, state, segmentGroup, isDisabled, timePickerO
|
|
|
1575
1576
|
hidePlaceholder
|
|
1576
1577
|
});
|
|
1577
1578
|
};
|
|
1578
|
-
const DateSegmentItemView = ({ ref, segmentProps,
|
|
1579
|
+
const DateSegmentItemView = ({ ref, segmentProps, type, text, placeholder, isPlaceholder, isInputEmpty, segmentGroup, timePickerOnly, hidePlaceholder }) => {
|
|
1579
1580
|
return /* @__PURE__ */ jsx("div", {
|
|
1580
1581
|
...segmentProps,
|
|
1581
|
-
role: role ?? segmentProps?.role,
|
|
1582
1582
|
ref,
|
|
1583
1583
|
"data-static-segment-type": type === "literal" ? void 0 : type,
|
|
1584
1584
|
"data-static-segment-group": type === "literal" ? void 0 : segmentGroup,
|
|
@@ -1607,6 +1607,38 @@ const useFirefoxDateSegmentSelectionGuard = (containerRef) => {
|
|
|
1607
1607
|
}, [containerRef]);
|
|
1608
1608
|
};
|
|
1609
1609
|
//#endregion
|
|
1610
|
+
//#region src/components/inputs/DateTime/shared/pickerValue.utils.ts
|
|
1611
|
+
const ISO_DATE_PATTERN = /^\d{4}-\d{2}-\d{2}$/u;
|
|
1612
|
+
const ISO_DATE_TIME_PATTERN = /^\d{4}-\d{2}-\d{2}(T|$)/u;
|
|
1613
|
+
const reportedMessages = /* @__PURE__ */ new Set();
|
|
1614
|
+
/**
|
|
1615
|
+
* Reads a string value of a date or time picker. `""` and strings in a format the picker does not read become empty
|
|
1616
|
+
* (`null`) instead of throwing during render, with a warning that names the component and the expected format.
|
|
1617
|
+
*/
|
|
1618
|
+
const parsePickerValue = (value, format, parse) => {
|
|
1619
|
+
if (value == null || value === "") return null;
|
|
1620
|
+
try {
|
|
1621
|
+
return parse(value);
|
|
1622
|
+
} catch {
|
|
1623
|
+
const message = `${format.component}: "${value}" is not ${format.expected}; it is shown as empty. Use null for an empty value.`;
|
|
1624
|
+
if (!reportedMessages.has(message)) {
|
|
1625
|
+
reportedMessages.add(message);
|
|
1626
|
+
logger.warn(message);
|
|
1627
|
+
}
|
|
1628
|
+
return null;
|
|
1629
|
+
}
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
* Parses an ISO date (`YYYY-MM-DD`, or with `dateOnly: false` also an ISO timestamp) into a valid `Date`.
|
|
1633
|
+
* Throws for any other string, such as `05/01/2024`, which `new Date` would read in the browser's zone.
|
|
1634
|
+
*/
|
|
1635
|
+
const parseIsoDate = (value, { dateOnly }) => {
|
|
1636
|
+
if (!(dateOnly ? ISO_DATE_PATTERN : ISO_DATE_TIME_PATTERN).test(value)) throw new RangeError(`Not an ISO date: ${value}`);
|
|
1637
|
+
const date = new Date(dateOnly ? `${value}T00:00:00.000Z` : value);
|
|
1638
|
+
if (Number.isNaN(date.getTime())) throw new RangeError(`Invalid date: ${value}`);
|
|
1639
|
+
return date;
|
|
1640
|
+
};
|
|
1641
|
+
//#endregion
|
|
1610
1642
|
//#region src/components/inputs/DateTime/shared/DateTimeDialog.tsx
|
|
1611
1643
|
const DateTimeDialog = ({ hideSidebar, children, footer, sidebar, label, isOpen, triggerRef, dialogProps, bottomSheetProps, onOpenChange }) => {
|
|
1612
1644
|
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
@@ -1684,8 +1716,7 @@ const getStaticCalendarDateTimeSegments = ({ value, locale, shouldForceLeadingZe
|
|
|
1684
1716
|
if (disableManualEntry && placeholder && !hasValue) return getStaticDateTimePlaceholder(placeholder);
|
|
1685
1717
|
return renderStaticDateTimeParts(DateTimeUtils.formatCalendarDateTimePartsLocalized(hasValue ? value : null, locale, { shouldForceLeadingZeros }), {
|
|
1686
1718
|
isDisabled,
|
|
1687
|
-
hidePlaceholder
|
|
1688
|
-
segmentRole: "spinbutton"
|
|
1719
|
+
hidePlaceholder
|
|
1689
1720
|
});
|
|
1690
1721
|
};
|
|
1691
1722
|
const getStaticDateRangeSegments = ({ start, end, locale, shouldForceLeadingZeros, isDisabled, hidePlaceholder, disableManualEntry, placeholder }) => {
|
|
@@ -1745,8 +1776,7 @@ const renderStaticDateTimeParts = (parts, options) => {
|
|
|
1745
1776
|
isInputEmpty: parts.some((item) => item.type !== "literal" && item.isPlaceholder),
|
|
1746
1777
|
isDisabled: options.isDisabled,
|
|
1747
1778
|
timePickerOnly: options.timePickerOnly,
|
|
1748
|
-
hidePlaceholder: options.hidePlaceholder
|
|
1749
|
-
role: part.type === "literal" ? void 0 : options.segmentRole
|
|
1779
|
+
hidePlaceholder: options.hidePlaceholder
|
|
1750
1780
|
}, index))
|
|
1751
1781
|
});
|
|
1752
1782
|
};
|
|
@@ -1765,4 +1795,4 @@ const isStaticDatePartVisible = (type, dateGranularity) => {
|
|
|
1765
1795
|
return true;
|
|
1766
1796
|
};
|
|
1767
1797
|
//#endregion
|
|
1768
|
-
export { getStaticTimeSegments as a,
|
|
1798
|
+
export { $8b141f2f71e88f85$export$c5221a78ef73c5e9 as _, getStaticTimeSegments as a, parseIsoDate as c, DateSegmentItem as d, getPlaceholder as f, $8b141f2f71e88f85$export$80ff8fc0ae339c13 as g, $8b141f2f71e88f85$export$7e319ea407e63bc0 as h, getStaticDateTimeFocusTarget as i, parsePickerValue as l, $8b141f2f71e88f85$export$2440da353cedad43 as m, getStaticCalendarDateTimeSegments as n, DateTimeDialogFooter as o, $8e7461aabf74661f$export$60e84778edff6d26 as p, getStaticDateRangeSegments as r, DateTimeDialog as s, getStaticCalendarDateSegments as t, useFirefoxDateSegmentSelectionGuard as u, $8b141f2f71e88f85$export$f18627323ab57ac0 as v };
|
|
@@ -9,7 +9,7 @@ const alertDefinition = UIOverrides.defineConfig({
|
|
|
9
9
|
contained: ""
|
|
10
10
|
},
|
|
11
11
|
color: {
|
|
12
|
-
|
|
12
|
+
secondary: "",
|
|
13
13
|
success: "",
|
|
14
14
|
warning: "",
|
|
15
15
|
error: ""
|
|
@@ -18,7 +18,7 @@ const alertDefinition = UIOverrides.defineConfig({
|
|
|
18
18
|
compoundVariants: [
|
|
19
19
|
{
|
|
20
20
|
variant: "outlined",
|
|
21
|
-
color: "
|
|
21
|
+
color: "secondary",
|
|
22
22
|
className: "border-border bg-card text-card-foreground"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
@@ -38,7 +38,7 @@ const alertDefinition = UIOverrides.defineConfig({
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
variant: "contained",
|
|
41
|
-
color: "
|
|
41
|
+
color: "secondary",
|
|
42
42
|
className: "border-transparent bg-muted text-foreground"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -59,7 +59,7 @@ const alertDefinition = UIOverrides.defineConfig({
|
|
|
59
59
|
],
|
|
60
60
|
defaultVariants: {
|
|
61
61
|
variant: "outlined",
|
|
62
|
-
color: "
|
|
62
|
+
color: "secondary"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
});
|
|
@@ -74,7 +74,7 @@ const statusIconDefinition = UIOverrides.defineConfig({
|
|
|
74
74
|
contained: "text-current"
|
|
75
75
|
},
|
|
76
76
|
color: {
|
|
77
|
-
|
|
77
|
+
secondary: "",
|
|
78
78
|
success: "",
|
|
79
79
|
warning: "",
|
|
80
80
|
error: ""
|
|
@@ -83,7 +83,7 @@ const statusIconDefinition = UIOverrides.defineConfig({
|
|
|
83
83
|
compoundVariants: [
|
|
84
84
|
{
|
|
85
85
|
variant: "outlined",
|
|
86
|
-
color: "
|
|
86
|
+
color: "secondary",
|
|
87
87
|
class: "text-current"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
@@ -104,7 +104,7 @@ const statusIconDefinition = UIOverrides.defineConfig({
|
|
|
104
104
|
],
|
|
105
105
|
defaultVariants: {
|
|
106
106
|
variant: "outlined",
|
|
107
|
-
color: "
|
|
107
|
+
color: "secondary"
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
});
|
|
@@ -117,13 +117,13 @@ const statusSeparatorDefinition = UIOverrides.defineConfig({
|
|
|
117
117
|
contained: "hidden"
|
|
118
118
|
},
|
|
119
119
|
color: {
|
|
120
|
-
|
|
120
|
+
secondary: "bg-border",
|
|
121
121
|
success: "bg-success/30",
|
|
122
122
|
warning: "bg-warning/30",
|
|
123
123
|
error: "bg-destructive/30"
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
-
defaultVariants: { color: "
|
|
126
|
+
defaultVariants: { color: "secondary" }
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
//#endregion
|
package/dist/styles/input.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { an as InputVariantProps } from "../link.cva-D6L1c2wq.js";
|
|
2
2
|
export type { InputVariantProps };
|
package/dist/tanstack/form.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { a as UseAutosaveProps, i as AutosavePatch, n as useFormAutosave, o as useAutosave, r as AutosaveHandler, t as UseFormAutosaveProps } from "../useFormAutosave-
|
|
3
|
-
export { type AutosaveHandler, type AutosavePatch, type DeepKeys, type DeepValue, type FormSubmitErrorHandler, type FormSubmitHandler, type UIForm, type UseAutosaveProps, type UseFormAutosaveProps, type UseFormProps, useAutosave, useForm, useFormAutosave, useFormState, useFormValue };
|
|
1
|
+
import { a as DeepKeys, c as FormSubmitErrorHandler, d as UseFormProps, f as useForm, l as FormSubmitHandler, m as useFormValue, n as BoundFieldControl, o as DeepValue, p as useFormState, r as BoundFieldProps, s as FormFieldErrors, t as BoundField, u as UIForm } from "../form.binding-DSXB2AOD.js";
|
|
2
|
+
import { a as UseAutosaveProps, i as AutosavePatch, n as useFormAutosave, o as useAutosave, r as AutosaveHandler, t as UseFormAutosaveProps } from "../useFormAutosave-ClMnzVE7.js";
|
|
3
|
+
export { type AutosaveHandler, type AutosavePatch, BoundField, type BoundFieldControl, type BoundFieldProps, type DeepKeys, type DeepValue, type FormFieldErrors, type FormSubmitErrorHandler, type FormSubmitHandler, type UIForm, type UseAutosaveProps, type UseFormAutosaveProps, type UseFormProps, useAutosave, useForm, useFormAutosave, useFormState, useFormValue };
|
package/dist/tanstack/form.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export { useAutosave, useForm, useFormAutosave, useFormState, useFormValue };
|
|
1
|
+
import { t as BoundField } from "../form.binding-Brdjq2yr.js";
|
|
2
|
+
import { a as useAutosave, i as useFormValue, n as useForm, r as useFormState, t as useFormAutosave } from "../useFormAutosave-BN-zueci.js";
|
|
3
|
+
export { BoundField, useAutosave, useForm, useFormAutosave, useFormState, useFormValue };
|
package/dist/tanstack/table.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { c as TableRowVariantProps, l as TableVariant } from "../link.cva-D6L1c2wq.js";
|
|
2
|
+
import { a as TableRowDetailsMode } from "../uiConfig.types-B0sPL7nN.js";
|
|
3
|
+
import { _ as HeaderTextProps, a as useSorting, b as CellText, c as InfiniteTableWrapperProps, d as Row, f as Table, g as HeaderText, h as TableRowDetails, i as UseSortingOptions, l as BulkSelectionActionsComponent, m as TableWrapperProps, n as UseTableColumnConfigOptions, o as InfiniteTable, p as TableProps, r as useTableColumnConfig, s as InfiniteTableProps, t as useTableNav, u as ColumnDef, v as ColumnConfigModal, x as CellTextProps, y as ColumnConfigModalProps } from "../useTableNav-rP1wDkhV.js";
|
|
4
|
+
import { ColumnOrderState, ColumnPinningState, ColumnSizingState, ColumnVisibilityState, ExpandedState, OnChangeFn, RowSelectionState, SortingState, StockFeatures } from "@tanstack/react-table";
|
|
5
|
+
export { type BulkSelectionActionsComponent, CellText, type CellTextProps, ColumnConfigModal, type ColumnConfigModalProps, type ColumnDef, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type ExpandedState, HeaderText, type HeaderTextProps, InfiniteTable, type InfiniteTableProps, type InfiniteTableWrapperProps, type OnChangeFn, type Row, type RowSelectionState, type SortingState, type StockFeatures, Table, type TableProps, type TableRowDetails, type TableRowDetailsMode, type TableRowVariantProps, type TableVariant, type TableWrapperProps, type UseSortingOptions, type UseTableColumnConfigOptions, useSorting, useTableColumnConfig, useTableNav };
|
package/dist/tanstack/table.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { CellText, ColumnConfigModal, HeaderText, InfiniteTable,
|
|
1
|
+
import { a as useTableNav, c as CellText, i as Table, n as useSorting, o as HeaderText, r as InfiniteTable, s as ColumnConfigModal, t as useTableColumnConfig } from "../useTableColumnConfig-B9cYBKo3.js";
|
|
2
|
+
export { CellText, ColumnConfigModal, HeaderText, InfiniteTable, Table, useSorting, useTableColumnConfig, useTableNav };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/utils/array.utils.ts
|
|
2
|
+
let ArrayUtils;
|
|
3
|
+
(function(_ArrayUtils) {
|
|
4
|
+
_ArrayUtils.fromCommaSeparatedStr = (str) => {
|
|
5
|
+
if (!str) return [];
|
|
6
|
+
return str.split(",").map((item) => item.trim());
|
|
7
|
+
};
|
|
8
|
+
})(ArrayUtils || (ArrayUtils = {}));
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ArrayUtils as t };
|