@povio/ui 6.0.0-rc.12 → 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 +469 -42
- 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-yaQubCWK.js → Calendar-DN-i_b-_.js} +19 -17
- package/dist/{Calendar.lazy-DcVss9Bk.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-bme8zGBo.js → DatePicker-DQewd1By.js} +80 -41
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-DRZ1hLlR.js} +86 -158
- package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
- package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-DWtKPaE6.js} +70 -35
- package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
- package/dist/{Dialog-DN5703sy.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-BUwtAF2-.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-CG5LQ0zs.js → Input-CeRJeAoR.js} +94 -59
- package/dist/Input-onUj0DKg.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.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-DxuikBcr.js → NumberField-6Q9LHGSo.js} +91 -62
- package/dist/NumberField-Sb30Qao3.d.ts +41 -0
- package/dist/{NumberRangeInput-8bOjNEnS.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-Dfq5c3JQ.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-DT63UD8K.js → RangeCalendar-DqCTlIuy.js} +12 -10
- package/dist/Select-CSyfDyxG.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-D3fuXwVt.js} +435 -184
- package/dist/{SelectListBox-BFSZxDSi.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-DybNturW.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-Blsip3ZC.js → TextArea-P8F0oD_A.js} +59 -32
- package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-l4Ysk2AX.js} +99 -50
- package/dist/{TimePickerForm-DD9VA_td.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-BSY31JMc.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-DM-PUcxQ.d.ts → i18n-B3PeqBM7.d.ts} +100 -4
- package/dist/{i18n-D8vXIoiq.js → i18n-DQs7jPjv.js} +99 -9
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-C73fI3WD.js} +2 -2
- package/dist/index.d.ts +64 -83
- package/dist/index.js +55 -90
- 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-CVuAhDDl.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 +1 -1
- package/dist/tanstack-ABeiJISz.js +10 -0
- package/dist/tanstack-bLXoUPDY.d.ts +165 -0
- package/dist/tanstack.d.ts +64 -83
- package/dist/tanstack.js +55 -90
- 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-CXYgj5xi.js → useTableColumnConfig-B9cYBKo3.js} +956 -535
- 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 -121
- package/MIGRATION.md +0 -655
- 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-Bn13u0zu.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-Dwh__y-Z.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-M2cjR37s.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
- 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-C12mOKpg.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-D7FMYm-k.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-DmkuulOi.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-B9a62ylL.d.ts +0 -9
- package/dist/Input.bound-DYoXyRGy.js +0 -31
- 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-ChJnNyJS.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- 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-DHhuBeT6.d.ts +0 -28
- package/dist/RichTextEditor-DfwVdm45.js +0 -651
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound--Az1Xwgm.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-DeaskY6r.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-BFSXJvE_.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/confirmation.context-Bc2yEVp_.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-wNbE6b-h.d.ts +0 -566
- 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-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-
|
|
3
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-BJJkLVNj.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
|
-
import
|
|
5
|
+
import "./i18n-DQs7jPjv.js";
|
|
6
|
+
import { t as UIConfig } from "./uiConfig.context-CjnLnQOo.js";
|
|
6
7
|
import { IconButton } from "./components/icon-button.js";
|
|
8
|
+
import { n as FieldController } from "./form.binding-Brdjq2yr.js";
|
|
7
9
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
8
10
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
9
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
10
|
-
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-
|
|
11
|
-
import {
|
|
11
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-TI8Vx5aC.js";
|
|
12
|
+
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-mm1dnfKP.js";
|
|
13
|
+
import { n as resolveInputLayout, t as isFieldHeaderHiddenByLayout } from "./inputLayout-CIVpuUBq.js";
|
|
12
14
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
13
|
-
import { a as getStaticTimeSegments, c as
|
|
15
|
+
import { a as getStaticTimeSegments, c as parseIsoDate, d as DateSegmentItem, i as getStaticDateTimeFocusTarget, l as parsePickerValue, o as DateTimeDialogFooter, p as $8e7461aabf74661f$export$60e84778edff6d26, s as DateTimeDialog, u as useFirefoxDateSegmentSelectionGuard } from "./staticDateTimeSegments-BYk1tcxs.js";
|
|
14
16
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
|
-
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-
|
|
16
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
17
|
+
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
18
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-ubbBHHVD.js";
|
|
19
|
+
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
17
20
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
18
|
-
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-
|
|
21
|
+
import { n as shouldRenderInputOnMount, r as useStaticInputHandoff } from "./useStaticInputHandoff-DrNFrvD7.js";
|
|
19
22
|
import { InputFrame } from "./components/input-frame.js";
|
|
20
|
-
import { t as TimePickerForm } from "./TimePickerForm-
|
|
23
|
+
import { t as TimePickerForm } from "./TimePickerForm-BMqNpDPT.js";
|
|
21
24
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
22
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
|
-
import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
26
|
+
import { GregorianCalendar, Time, getLocalTimeZone, now, parseTime, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
27
|
+
import { useTranslation } from "react-i18next";
|
|
24
28
|
import { useLocale, useTimeField } from "react-aria";
|
|
25
29
|
import { useFocusVisible, useFocusWithin, useHover } from "@react-aria/interactions";
|
|
26
30
|
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.mjs
|
|
@@ -86,8 +90,9 @@ const TimeField = ({ ref, fieldProps, state, isDisabled, hidePlaceholder }) => {
|
|
|
86
90
|
};
|
|
87
91
|
//#endregion
|
|
88
92
|
//#region src/components/inputs/DateTime/shared/TimePickerInput.tsx
|
|
89
|
-
const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRequired, isInvalid, disableDropdown, variant, size, isClearable, isClearableIfDisabled, headerProps, disableManualEntry, placeholder, className, onPress, onClear, ...props }) => {
|
|
93
|
+
const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isReadOnly, isDirty, isRequired, isInvalid, disableDropdown, variant, size, isClearable, isClearableIfDisabled, headerProps, disableManualEntry, placeholder, className, onPress, onClear, ...props }) => {
|
|
90
94
|
const uiConfig = UIConfig.useConfig();
|
|
95
|
+
const { t } = useTranslation("ui");
|
|
91
96
|
const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
|
|
92
97
|
const inputSizeCva = UIOverrides.useCva("input.sizeCva", inputSizeDefinition);
|
|
93
98
|
const { hoverProps, isHovered } = useHover({ isDisabled });
|
|
@@ -102,7 +107,7 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
102
107
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, containerRef),
|
|
103
108
|
className: clsx(inputBaseCva({
|
|
104
109
|
variant,
|
|
105
|
-
as,
|
|
110
|
+
layout: as,
|
|
106
111
|
...props
|
|
107
112
|
}), "group/date-picker-content relative min-w-51", "flex items-center justify-between gap-2", className),
|
|
108
113
|
"data-rac": "",
|
|
@@ -123,15 +128,15 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
123
128
|
...focusWithinProps,
|
|
124
129
|
...hoverProps,
|
|
125
130
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
126
|
-
className: clsx(inputSizeCva({
|
|
131
|
+
className: clsx(inputContentRowClass, "pr-0!", inputSizeCva({
|
|
127
132
|
size,
|
|
128
|
-
as
|
|
129
|
-
})
|
|
133
|
+
layout: as
|
|
134
|
+
})),
|
|
130
135
|
children: [
|
|
131
136
|
disableManualEntry && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
132
137
|
onPress,
|
|
133
138
|
"aria-label": headerProps?.label,
|
|
134
|
-
isDisabled,
|
|
139
|
+
isDisabled: isDisabled || isReadOnly,
|
|
135
140
|
className: "absolute inset-0 z-base"
|
|
136
141
|
}),
|
|
137
142
|
as && ["filter", "floating"].includes(as) && headerProps && /* @__PURE__ */ jsx(FormFieldLabel, {
|
|
@@ -153,22 +158,23 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
153
158
|
}) })
|
|
154
159
|
]
|
|
155
160
|
}), /* @__PURE__ */ jsxs("div", {
|
|
156
|
-
className: clsx(inputSizeCva({
|
|
161
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
157
162
|
size,
|
|
158
|
-
as
|
|
159
|
-
}),
|
|
160
|
-
children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
163
|
+
layout: as
|
|
164
|
+
}), inputTrailingRowInsetClass),
|
|
165
|
+
children: [isClearable && !isReadOnly && /* @__PURE__ */ jsx(InputClear, {
|
|
161
166
|
onClear: () => {
|
|
162
167
|
if (onClear) onClear();
|
|
163
168
|
else state.setValue(null);
|
|
164
169
|
},
|
|
170
|
+
as,
|
|
165
171
|
show: canClear && (!isDisabled || isClearableIfDisabled === true)
|
|
166
172
|
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(IconButton, {
|
|
167
|
-
label: headerProps?.label ??
|
|
173
|
+
label: headerProps?.label ?? t(($) => $.ui.datePicker.openTimePicker),
|
|
168
174
|
color: "secondary",
|
|
169
175
|
onPress,
|
|
170
176
|
icon: uiConfig.dateInput.timeIcon,
|
|
171
|
-
isDisabled,
|
|
177
|
+
isDisabled: isDisabled || isReadOnly,
|
|
172
178
|
className: "border-0!",
|
|
173
179
|
"data-static-press-action": "",
|
|
174
180
|
variant: "text",
|
|
@@ -183,14 +189,15 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
183
189
|
//#region src/components/inputs/DateTime/TimePicker/TimePicker.tsx
|
|
184
190
|
const TimePickerBase = (props) => {
|
|
185
191
|
const ui = UIConfig.useConfig();
|
|
186
|
-
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName,
|
|
192
|
+
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, error, onChange, onBlur, onValueCommit, value, disableDropdown, placeholder, className, inputClassName, variant: variantProp, layout: layoutProp, size: sizeProp, hideLabel: hideLabelProp, isClearable: isClearableProp, isClearableIfDisabled, disableManualEntry: disableManualEntryProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, ...rest } = props;
|
|
187
193
|
const variant = variantProp ?? ui.input.variant;
|
|
188
|
-
const as = resolveInputLayout(layoutProp,
|
|
194
|
+
const as = resolveInputLayout(layoutProp, ui.input.layout);
|
|
189
195
|
const size = sizeProp ?? ui.input.size;
|
|
190
196
|
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
191
197
|
const isClearable = isClearableProp ?? ui.input.isClearable;
|
|
192
198
|
const disableManualEntry = disableManualEntryProp ?? ui.dateInput.disableManualEntry;
|
|
193
199
|
const shouldForceLeadingZeros = shouldForceLeadingZerosProp ?? ui.dateInput.shouldForceLeadingZeros;
|
|
200
|
+
const isInvalid = !!rest.isInvalid || !!error;
|
|
194
201
|
const accessibility = useFieldAccessibility({
|
|
195
202
|
error,
|
|
196
203
|
helperText,
|
|
@@ -205,8 +212,7 @@ const TimePickerBase = (props) => {
|
|
|
205
212
|
helperText,
|
|
206
213
|
isRequired,
|
|
207
214
|
rightContent,
|
|
208
|
-
|
|
209
|
-
hideLabel,
|
|
215
|
+
hideLabel: hideLabel || isFieldHeaderHiddenByLayout(as),
|
|
210
216
|
isDisabled,
|
|
211
217
|
headerClassName,
|
|
212
218
|
errorClassName
|
|
@@ -222,7 +228,10 @@ const TimePickerBase = (props) => {
|
|
|
222
228
|
shouldForceLeadingZeros
|
|
223
229
|
});
|
|
224
230
|
const handleBlur = (val) => {
|
|
225
|
-
onBlur?.({
|
|
231
|
+
onBlur?.({
|
|
232
|
+
type: "blur",
|
|
233
|
+
target: { value: val }
|
|
234
|
+
});
|
|
226
235
|
};
|
|
227
236
|
const state = $b822555cf9fe955c$export$fd53cef0cc796101({
|
|
228
237
|
...rest,
|
|
@@ -246,7 +255,7 @@ const TimePickerBase = (props) => {
|
|
|
246
255
|
...rest,
|
|
247
256
|
label: rest["aria-label"] || rest["aria-labelledby"] ? void 0 : label,
|
|
248
257
|
"aria-label": rest["aria-labelledby"] ? void 0 : rest["aria-label"],
|
|
249
|
-
isReadOnly: disableManualEntry,
|
|
258
|
+
isReadOnly: disableManualEntry || rest.isReadOnly,
|
|
250
259
|
shouldForceLeadingZeros
|
|
251
260
|
}, state, timeFieldRef);
|
|
252
261
|
const headerProps = {
|
|
@@ -255,7 +264,7 @@ const TimePickerBase = (props) => {
|
|
|
255
264
|
helperText,
|
|
256
265
|
isRequired,
|
|
257
266
|
rightContent,
|
|
258
|
-
isHeaderHidden: hideLabel
|
|
267
|
+
isHeaderHidden: hideLabel,
|
|
259
268
|
isDisabled,
|
|
260
269
|
className: headerClassName,
|
|
261
270
|
labelProps
|
|
@@ -284,7 +293,7 @@ const TimePickerBase = (props) => {
|
|
|
284
293
|
triggerTabIndex: as === "inline" ? -1 : void 0,
|
|
285
294
|
children: /* @__PURE__ */ jsxs(FormField, {
|
|
286
295
|
...formFieldProps,
|
|
287
|
-
as,
|
|
296
|
+
layout: as,
|
|
288
297
|
labelProps,
|
|
289
298
|
className: clsx("group relative flex w-full flex-col text-left", className),
|
|
290
299
|
tabIndex: as === "inline" ? -1 : void 0,
|
|
@@ -295,7 +304,7 @@ const TimePickerBase = (props) => {
|
|
|
295
304
|
...fieldProps,
|
|
296
305
|
"aria-describedby": accessibility.describedBy,
|
|
297
306
|
"aria-errormessage": accessibility.errorMessageId,
|
|
298
|
-
"aria-invalid":
|
|
307
|
+
"aria-invalid": isInvalid,
|
|
299
308
|
onBlur: (event) => {
|
|
300
309
|
fieldProps.onBlur?.(event);
|
|
301
310
|
handleBlur(state.value);
|
|
@@ -304,9 +313,10 @@ const TimePickerBase = (props) => {
|
|
|
304
313
|
state,
|
|
305
314
|
onPress: onOpen,
|
|
306
315
|
isDisabled,
|
|
316
|
+
isReadOnly: rest.isReadOnly,
|
|
307
317
|
isDirty,
|
|
308
318
|
isRequired,
|
|
309
|
-
isInvalid
|
|
319
|
+
isInvalid,
|
|
310
320
|
disableDropdown,
|
|
311
321
|
variant,
|
|
312
322
|
size,
|
|
@@ -325,21 +335,33 @@ const TimePickerBase = (props) => {
|
|
|
325
335
|
}),
|
|
326
336
|
label,
|
|
327
337
|
triggerRef: timeFieldRef,
|
|
328
|
-
isOpen,
|
|
338
|
+
isOpen: isOpen && !rest.isReadOnly,
|
|
329
339
|
onOpenChange,
|
|
330
340
|
children: /* @__PURE__ */ jsx(TimePickerForm, { state: dialogState })
|
|
331
341
|
})]
|
|
332
342
|
})
|
|
333
343
|
});
|
|
334
344
|
};
|
|
335
|
-
const
|
|
345
|
+
const TIME_PICKER_VALUE_FORMAT = {
|
|
346
|
+
component: "TimePicker",
|
|
347
|
+
expected: "an ISO timestamp with Z or an offset, e.g. 2025-03-04T14:30:00.000Z"
|
|
348
|
+
};
|
|
349
|
+
const TIME_PICKER_LIMIT_FORMAT = {
|
|
350
|
+
component: "TimePicker `minValue`/`maxValue`",
|
|
351
|
+
expected: "a valid HH:mm or HH:mm:ss time"
|
|
352
|
+
};
|
|
353
|
+
const TIME_PICKER_DATE_FORMAT = {
|
|
354
|
+
component: "TimePicker `date`",
|
|
355
|
+
expected: "an ISO date or timestamp, e.g. 2025-03-04T00:00:00.000Z"
|
|
356
|
+
};
|
|
357
|
+
const TimePickerInner = ({ defaultValue: _defaultValue, minValue, maxValue, renderStaticInput, isFormControlDisabled, name: _name, ...props }) => {
|
|
336
358
|
const ui = UIConfig.useConfig();
|
|
337
359
|
const datePickerInputContentRowCva = UIOverrides.useCva("datePickerInput.contentRowCva", datePickerInputContentRowDefinition);
|
|
338
360
|
const timeZone = props.timeZone ?? ui.dateInput.timeZone;
|
|
339
361
|
let effectiveTimeZone = getLocalTimeZone();
|
|
340
362
|
if (timeZone !== "clientLocal") effectiveTimeZone = timeZone;
|
|
341
363
|
const { locale } = useLocale();
|
|
342
|
-
const [renderInput, setRenderInput] = useState(
|
|
364
|
+
const [renderInput, setRenderInput] = useState(() => shouldRenderInputOnMount(renderStaticInput, ui.renderStaticInput, props.autoFocus));
|
|
343
365
|
const inputRef = useRef(null);
|
|
344
366
|
const { renderRealInput, replayStaticInputPress } = useStaticInputHandoff({
|
|
345
367
|
inputRef,
|
|
@@ -351,21 +373,20 @@ const TimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, isFor
|
|
|
351
373
|
const normalizedValue = props.value ?? null;
|
|
352
374
|
const formatTimeValue = (timeValue) => {
|
|
353
375
|
if (timeValue === null) return null;
|
|
354
|
-
|
|
355
|
-
if (props.date) parsedDate = new Date(props.date);
|
|
376
|
+
const parsedDate = parsePickerValue(props.date, TIME_PICKER_DATE_FORMAT, (date) => parseIsoDate(date, { dateOnly: false }));
|
|
356
377
|
let dateValue = now(effectiveTimeZone);
|
|
357
378
|
if (parsedDate) dateValue = DateTimeUtils.fromLocalToZonedDateTime(parsedDate, effectiveTimeZone);
|
|
358
379
|
const dateTimeValue = dateValue.set(timeValue);
|
|
359
380
|
return DateTimeUtils.fromDateValueToISO(dateTimeValue, effectiveTimeZone);
|
|
360
381
|
};
|
|
361
|
-
const parseTimeValue = (isoString) =>
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
return
|
|
382
|
+
const parseTimeValue = (isoString) => parsePickerValue(isoString, TIME_PICKER_VALUE_FORMAT, (value) => toTime(DateTimeUtils.fromISOtoZonedDateTime(value, effectiveTimeZone)));
|
|
383
|
+
const parseTimeLimit = (limit) => {
|
|
384
|
+
if (typeof limit !== "string") return limit;
|
|
385
|
+
return (/^\d{2}:\d{2}(:\d{2})?$/u.test(limit) ? parsePickerValue(limit, TIME_PICKER_LIMIT_FORMAT, parseTime) : parseTimeValue(limit)) ?? void 0;
|
|
365
386
|
};
|
|
366
387
|
if (!renderInput) {
|
|
367
|
-
const timeValue =
|
|
368
|
-
const as = resolveInputLayout(props.layout,
|
|
388
|
+
const timeValue = parseTimeValue(normalizedValue);
|
|
389
|
+
const as = resolveInputLayout(props.layout, ui.input.layout);
|
|
369
390
|
const isDisabled = isFormControlDisabled || !!props.isDisabled;
|
|
370
391
|
const disableManualEntry = props.disableManualEntry ?? ui.dateInput.disableManualEntry;
|
|
371
392
|
const shouldForceLeadingZeros = props.shouldForceLeadingZeros ?? ui.dateInput.shouldForceLeadingZeros;
|
|
@@ -399,31 +420,35 @@ const TimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, isFor
|
|
|
399
420
|
dataIsRequired: props.isRequired,
|
|
400
421
|
dataIsDisabled: isDisabled,
|
|
401
422
|
dataDisabled: isDisabled,
|
|
402
|
-
dataInvalid: !!props.error,
|
|
423
|
+
dataInvalid: !!props.isInvalid || !!props.error,
|
|
403
424
|
dataHasSelection: timeValue != null
|
|
404
425
|
},
|
|
405
426
|
onStaticInteract: renderRealInput,
|
|
406
427
|
onStaticPress: replayStaticInputPress,
|
|
407
428
|
staticPressTarget: "action",
|
|
429
|
+
isClearable: props.isReadOnly ? false : props.isClearable,
|
|
408
430
|
showClear: timeValue != null,
|
|
409
431
|
wrapContentAndTrailing: true,
|
|
410
|
-
trailingClassName:
|
|
432
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
411
433
|
action: showDropdown ? {
|
|
412
434
|
icon: ui.dateInput.timeIcon,
|
|
413
|
-
|
|
414
|
-
|
|
435
|
+
onPress: () => {},
|
|
436
|
+
label: "",
|
|
437
|
+
isDisabled: props.isReadOnly
|
|
415
438
|
} : void 0,
|
|
416
439
|
children: staticSegments
|
|
417
440
|
});
|
|
418
441
|
}
|
|
419
442
|
return /* @__PURE__ */ jsx(TimePickerBase, {
|
|
420
443
|
...props,
|
|
444
|
+
minValue: parseTimeLimit(minValue),
|
|
445
|
+
maxValue: parseTimeLimit(maxValue),
|
|
421
446
|
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, inputRef),
|
|
422
447
|
value: parseTimeValue(normalizedValue),
|
|
423
448
|
onChange: (value) => props.onChange?.(formatTimeValue(value))
|
|
424
449
|
});
|
|
425
450
|
};
|
|
426
|
-
const
|
|
451
|
+
const StandaloneTimePicker = ({ defaultValue, value, onChange, ...props }) => {
|
|
427
452
|
const [internalValue, setInternalValue] = useState(defaultValue ?? null);
|
|
428
453
|
return /* @__PURE__ */ jsx(TimePickerInner, {
|
|
429
454
|
...props,
|
|
@@ -434,6 +459,30 @@ const TimePickerComponent = ({ defaultValue, value, onChange, ...props }) => {
|
|
|
434
459
|
}
|
|
435
460
|
});
|
|
436
461
|
};
|
|
462
|
+
const ControlledTimePicker = ({ renderStaticInput, ...props }) => {
|
|
463
|
+
const { field, ref, ...innerProps } = props;
|
|
464
|
+
const controlWithOptions = field.form;
|
|
465
|
+
return /* @__PURE__ */ jsx(FieldController, {
|
|
466
|
+
control: field.form,
|
|
467
|
+
name: field.name,
|
|
468
|
+
onValueChange: field.onValueChange,
|
|
469
|
+
onBlur: field.onBlur,
|
|
470
|
+
render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(TimePickerInner, {
|
|
471
|
+
...innerProps,
|
|
472
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
|
|
473
|
+
value: field.value ?? null,
|
|
474
|
+
onChange: (value) => field.onChange(value ?? null),
|
|
475
|
+
onValueCommit: field.onValueCommit,
|
|
476
|
+
onBlur: field.onBlur,
|
|
477
|
+
isDirty,
|
|
478
|
+
isDisabled: field.disabled || props.isDisabled,
|
|
479
|
+
isFormControlDisabled: !!controlWithOptions._options?.disabled,
|
|
480
|
+
error: props.error ?? error?.message,
|
|
481
|
+
renderStaticInput
|
|
482
|
+
})
|
|
483
|
+
});
|
|
484
|
+
};
|
|
485
|
+
const TimePickerComponent = (props) => props.field ? /* @__PURE__ */ jsx(ControlledTimePicker, { ...props }) : /* @__PURE__ */ jsx(StandaloneTimePicker, { ...props });
|
|
437
486
|
const TimePicker = memo(TimePickerComponent);
|
|
438
487
|
//#endregion
|
|
439
|
-
export {
|
|
488
|
+
export { TimePicker as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
3
|
+
import "./i18n-DQs7jPjv.js";
|
|
3
4
|
import { IconButton } from "./components/icon-button.js";
|
|
4
|
-
import { t as useBreakpoint } from "./useBreakpoint-
|
|
5
|
-
import {
|
|
6
|
-
import "./i18n-D8vXIoiq.js";
|
|
7
|
-
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
5
|
+
import { t as useBreakpoint } from "./useBreakpoint-BrJrvp9_.js";
|
|
6
|
+
import { f as getPlaceholder } from "./staticDateTimeSegments-BYk1tcxs.js";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
9
8
|
import { useEffect, useRef } from "react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
11
11
|
import { Time } from "@internationalized/date";
|
|
12
|
-
import { useDateSegment, useLocale, useTimeField } from "react-aria";
|
|
13
12
|
import { useTranslation } from "react-i18next";
|
|
13
|
+
import { useDateSegment, useLocale, useTimeField } from "react-aria";
|
|
14
14
|
import { useTimeFieldState } from "@react-stately/datepicker";
|
|
15
15
|
//#region src/hooks/useLongPressRepeat.ts
|
|
16
16
|
const useLongPressRepeat = (t0) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
|
-
import { t as UIConfig } from "./uiConfig.context-
|
|
3
|
-
import { i as toastContainerDefinition, o as toastWrapper } from "./toast.cva-
|
|
4
|
-
import { t as xo } from "./dist-
|
|
5
|
-
import { i as subscribeToToastActivation, n as isToastRendererActive, r as isToastRendererInactive } from "./
|
|
2
|
+
import { t as UIConfig } from "./uiConfig.context-CjnLnQOo.js";
|
|
3
|
+
import { i as toastContainerDefinition, o as toastWrapper } from "./toast.cva-C3oA7He3.js";
|
|
4
|
+
import { t as xo } from "./dist-DZOoWaZz.js";
|
|
5
|
+
import { i as subscribeToToastActivation, n as isToastRendererActive, r as isToastRendererInactive } from "./useToast-DSoOiSw0.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { useSyncExternalStore } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ToggleButtonProps$1, t as
|
|
1
|
+
import { n as ButtonSharedProps, r as ToggleButtonProps$1, t as AriaButtonPropsWithoutRestated } from "./ButtonBase-Cp1w00t2.js";
|
|
2
2
|
import { Ref } from "react";
|
|
3
3
|
//#region src/components/buttons/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
/** A persistent selected/unselected action. Selection belongs here rather than on Button. */
|
|
5
|
-
type ToggleButtonProps = Omit<ButtonSharedProps, "ref" | "link"> & ToggleButtonProps$1 & {
|
|
5
|
+
type ToggleButtonProps = Omit<ButtonSharedProps, "ref" | "link"> & AriaButtonPropsWithoutRestated<ToggleButtonProps$1> & {
|
|
6
6
|
ref?: Ref<HTMLButtonElement>;
|
|
7
7
|
link?: never;
|
|
8
8
|
toggle?: never;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { O as ToggleGroupItemVariantProps, k as ToggleGroupVariantProps } from "./link.cva-D6L1c2wq.js";
|
|
2
|
+
import { n as Removed, t as Hint } from "./hints-B09_WDhL.js";
|
|
3
|
+
import { r as FormFieldProps } from "./FormField-XQbjfGSv.js";
|
|
4
|
+
import { i as FieldValues } from "./form.binding-DSXB2AOD.js";
|
|
5
|
+
import { t as FormControlProps } from "./form.types-a2WVJDQX.js";
|
|
6
|
+
import { FC, FocusEventHandler, ReactElement, Ref, SVGProps } from "react";
|
|
7
|
+
import { Key, ToggleButtonGroupProps, ToggleButtonProps } from "react-aria-components";
|
|
8
|
+
//#region src/components/ToggleGroup/toggleGroup.types.d.ts
|
|
9
|
+
/** One segment of a `ToggleGroup`. Give an icon-only segment an `aria-label`. */
|
|
10
|
+
interface ToggleGroupItem<TKey extends Key = Key> extends ToggleButtonProps, ToggleGroupItemVariantProps {
|
|
11
|
+
/** The stored value. */
|
|
12
|
+
id: TKey;
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Icon before the label, or the whole segment when there is no `label`. */
|
|
15
|
+
icon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
16
|
+
}
|
|
17
|
+
interface SingleToggleGroupProps<TKey extends Key = Key> {
|
|
18
|
+
/** Omitted or `"single"`: `value` is one item ID, or null once the selected item is pressed again. */
|
|
19
|
+
selectionMode?: "single";
|
|
20
|
+
/** Set to keep the selection from being cleared; `onChange` then always receives an item ID. */
|
|
21
|
+
disallowEmptySelection?: false;
|
|
22
|
+
value?: TKey | undefined | null;
|
|
23
|
+
onChange?: (value: TKey | null) => void;
|
|
24
|
+
defaultValue?: TKey | null;
|
|
25
|
+
}
|
|
26
|
+
/** A single-selection group whose selection cannot be cleared, such as tabs kept in state. */
|
|
27
|
+
interface RequiredSingleToggleGroupProps<TKey extends Key = Key> {
|
|
28
|
+
selectionMode?: "single";
|
|
29
|
+
/** Pressing the selected item does not clear it, so `onChange` always receives an item ID. */
|
|
30
|
+
disallowEmptySelection: true;
|
|
31
|
+
/** The selected item ID; null only until the first selection. */
|
|
32
|
+
value?: TKey | undefined | null;
|
|
33
|
+
onChange?: (value: TKey) => void;
|
|
34
|
+
defaultValue?: TKey | null;
|
|
35
|
+
}
|
|
36
|
+
interface MultiToggleGroupProps<TKey extends Key = Key> {
|
|
37
|
+
/** `value` is an array of item IDs. */
|
|
38
|
+
selectionMode: "multiple";
|
|
39
|
+
/** Keeps at least one item selected. */
|
|
40
|
+
disallowEmptySelection?: boolean;
|
|
41
|
+
value?: TKey[];
|
|
42
|
+
onChange?: (value: TKey[]) => void;
|
|
43
|
+
defaultValue?: TKey[] | null;
|
|
44
|
+
}
|
|
45
|
+
type GroupedToggleGroupProps<TKey extends Key = Key> = MultiToggleGroupProps<TKey> | SingleToggleGroupProps<TKey> | RequiredSingleToggleGroupProps<TKey>;
|
|
46
|
+
/** Props for a `ToggleGroup` that owns its selection through `value`/`defaultValue`/`onChange`. */
|
|
47
|
+
type StandaloneToggleGroupProps<TKey extends Key = Key> = Omit<ToggleButtonGroupProps & ToggleGroupVariantProps, "children" | "onSelectionChange" | "selectedKeys" | "defaultSelectedKeys" | "disallowEmptySelection"> & Pick<FormFieldProps, "helperText" | "tooltipText" | "isRequired" | "rightContent" | "hideLabel" | "headerClassName" | "errorClassName"> & {
|
|
48
|
+
ref?: Ref<HTMLElement>;
|
|
49
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
50
|
+
/** The segments. `value` and `onChange` use their `id`s. */
|
|
51
|
+
items: readonly ToggleGroupItem<TKey>[];
|
|
52
|
+
/** Visible label above the group and its accessible name. A group without one needs `aria-label`. */
|
|
53
|
+
label?: string;
|
|
54
|
+
className?: string;
|
|
55
|
+
toggleGroupItemClassName?: string;
|
|
56
|
+
/** Item height. Falls back to `UIConfig.toggleGroup.size`, then `UIConfig.input.size`. */
|
|
57
|
+
size?: ToggleGroupItemVariantProps["size"];
|
|
58
|
+
/** Error text shown under the group; also marks it invalid. */
|
|
59
|
+
error?: string;
|
|
60
|
+
/** Marks the group invalid without an error message. `error` also marks it invalid. */
|
|
61
|
+
isInvalid?: boolean;
|
|
62
|
+
/** @deprecated Use `selectionMode="multiple"`. */
|
|
63
|
+
multiple?: Removed<'Use selectionMode="multiple"'>;
|
|
64
|
+
/** @deprecated Use `selectionMode="multiple"`. */
|
|
65
|
+
isMulti?: Removed<'Use selectionMode="multiple"'>;
|
|
66
|
+
/** @deprecated Use `items`. */
|
|
67
|
+
options?: Removed<"Use `items`: { id, label }[]">;
|
|
68
|
+
/** @deprecated Use `onChange`. Intersected with React Aria's handler type so the props still spread into its hooks. */
|
|
69
|
+
onSelectionChange?: ((keys: Set<Key>) => void) & Removed<"Use `onChange`; it receives the selected item id(s)">;
|
|
70
|
+
/** @deprecated Use `value`. */
|
|
71
|
+
selectedKeys?: Removed<'Use `value`: an item id, or an array of ids with selectionMode="multiple"'>;
|
|
72
|
+
/** @deprecated Use `defaultValue`. */
|
|
73
|
+
defaultSelectedKeys?: Removed<'Use `defaultValue`: an item id, or an array of ids with selectionMode="multiple"'>;
|
|
74
|
+
/** `ToggleGroup` has no read-only mode. */
|
|
75
|
+
isReadOnly?: Hint<"`ToggleGroup` has no read-only mode: show the value as text, or use `isDisabled`">;
|
|
76
|
+
} & GroupedToggleGroupProps<TKey> & {
|
|
77
|
+
field?: never;
|
|
78
|
+
};
|
|
79
|
+
/** Props for a `ToggleGroup` bound to a form field; the form owns the value, change, and blur handling. */
|
|
80
|
+
type ControlledToggleGroupProps<TKey extends Key = Key, TFieldValues extends FieldValues = FieldValues> = FormControlProps<StandaloneToggleGroupProps<TKey> & SingleToggleGroupProps<TKey>, TFieldValues, "value", "an item id"> | FormControlProps<StandaloneToggleGroupProps<TKey> & RequiredSingleToggleGroupProps<TKey>, TFieldValues, "value", "an item id"> | FormControlProps<StandaloneToggleGroupProps<TKey> & MultiToggleGroupProps<TKey>, TFieldValues, "value", "an array of item ids">;
|
|
81
|
+
/** Props for `ToggleGroup`: either its own value props, or `field={{ form, name }}` to bind a form field. */
|
|
82
|
+
type ToggleGroupProps<TKey extends Key = Key, TFieldValues extends FieldValues = FieldValues> = StandaloneToggleGroupProps<TKey> | ControlledToggleGroupProps<TKey, TFieldValues>;
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
85
|
+
/**
|
|
86
|
+
* Segmented control for one or more selected values. Use `ButtonGroup` for independent actions.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* <ToggleGroup label="View" items={[{ id: "list", label: "List" }, { id: "grid", label: "Grid" }]} value={view} onChange={setView} />
|
|
90
|
+
* @example
|
|
91
|
+
* <ToggleGroup label="Days" selectionMode="multiple" items={items} field={{ form, name: "days" }} />
|
|
92
|
+
*/
|
|
93
|
+
declare function ToggleGroup<TKey extends Key = Key, TFieldValues extends FieldValues = FieldValues>(props: ToggleGroupProps<TKey, TFieldValues>): ReactElement;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { ToggleGroupProps as a, ToggleGroupItem as i, ControlledToggleGroupProps as n, StandaloneToggleGroupProps as r, ToggleGroup as t };
|