@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
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
|
+
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
+
import { t as IconSlot } from "./IconSlot-TAWTJ6iK.js";
|
|
4
|
+
import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-P1z1pxzT.js";
|
|
5
|
+
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
6
|
+
import { t as UIConfig } from "./uiConfig.context-CjnLnQOo.js";
|
|
7
|
+
import { n as FieldController } from "./form.binding-Brdjq2yr.js";
|
|
8
|
+
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
9
|
+
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
10
|
+
import { t as FormField } from "./FormField-TI8Vx5aC.js";
|
|
11
|
+
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
12
|
+
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-CvNS5QO1.js";
|
|
13
|
+
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { Fragment, useLayoutEffect, useMemo, useRef } from "react";
|
|
15
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
import { useToggleButtonGroup } from "react-aria";
|
|
17
|
+
import { useLabel } from "@react-aria/label";
|
|
18
|
+
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/toggle/useToggleGroupState.mjs
|
|
19
|
+
function $3d8ad31c4c1725e9$export$8deac67f4addf270(props) {
|
|
20
|
+
let { selectionMode = "single", disallowEmptySelection, isDisabled = false } = props;
|
|
21
|
+
let [selectedKeys, setSelectedKeys] = $3e6197669829fe11$export$40bfa8c7b0832715(useMemo(() => props.selectedKeys ? new Set(props.selectedKeys) : void 0, [props.selectedKeys]), useMemo(() => props.defaultSelectedKeys ? new Set(props.defaultSelectedKeys) : /* @__PURE__ */ new Set(), [props.defaultSelectedKeys]), props.onSelectionChange);
|
|
22
|
+
return {
|
|
23
|
+
selectionMode,
|
|
24
|
+
isDisabled,
|
|
25
|
+
selectedKeys,
|
|
26
|
+
setSelectedKeys,
|
|
27
|
+
toggleKey(key) {
|
|
28
|
+
let keys;
|
|
29
|
+
if (selectionMode === "multiple") {
|
|
30
|
+
keys = new Set(selectedKeys);
|
|
31
|
+
if (keys.has(key) && (!disallowEmptySelection || keys.size > 1)) keys.delete(key);
|
|
32
|
+
else keys.add(key);
|
|
33
|
+
} else keys = new Set(selectedKeys.has(key) && !disallowEmptySelection ? [] : [key]);
|
|
34
|
+
setSelectedKeys(keys);
|
|
35
|
+
},
|
|
36
|
+
setSelected(key, isSelected) {
|
|
37
|
+
if (isSelected !== selectedKeys.has(key)) this.toggleKey(key);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/components/ToggleGroup/ToggleGroupItem.tsx
|
|
43
|
+
const ToggleGroupItem = (t0) => {
|
|
44
|
+
const $ = c(24);
|
|
45
|
+
let className;
|
|
46
|
+
let icon;
|
|
47
|
+
let id;
|
|
48
|
+
let isDisabled;
|
|
49
|
+
let label;
|
|
50
|
+
let props;
|
|
51
|
+
let size;
|
|
52
|
+
if ($[0] !== t0) {
|
|
53
|
+
({label, icon, id, isDisabled, className, size, ...props} = t0);
|
|
54
|
+
$[0] = t0;
|
|
55
|
+
$[1] = className;
|
|
56
|
+
$[2] = icon;
|
|
57
|
+
$[3] = id;
|
|
58
|
+
$[4] = isDisabled;
|
|
59
|
+
$[5] = label;
|
|
60
|
+
$[6] = props;
|
|
61
|
+
$[7] = size;
|
|
62
|
+
} else {
|
|
63
|
+
className = $[1];
|
|
64
|
+
icon = $[2];
|
|
65
|
+
id = $[3];
|
|
66
|
+
isDisabled = $[4];
|
|
67
|
+
label = $[5];
|
|
68
|
+
props = $[6];
|
|
69
|
+
size = $[7];
|
|
70
|
+
}
|
|
71
|
+
const iconOnly = !!(icon && !label);
|
|
72
|
+
const toggleGroupItemCva = UIOverrides.useCva("toggleGroup.itemCva", toggleGroupItemDefinition);
|
|
73
|
+
let t1;
|
|
74
|
+
if ($[8] !== className || $[9] !== iconOnly || $[10] !== size || $[11] !== toggleGroupItemCva) {
|
|
75
|
+
t1 = toggleGroupItemCva({
|
|
76
|
+
iconOnly,
|
|
77
|
+
size,
|
|
78
|
+
className
|
|
79
|
+
});
|
|
80
|
+
$[8] = className;
|
|
81
|
+
$[9] = iconOnly;
|
|
82
|
+
$[10] = size;
|
|
83
|
+
$[11] = toggleGroupItemCva;
|
|
84
|
+
$[12] = t1;
|
|
85
|
+
} else t1 = $[12];
|
|
86
|
+
let t2;
|
|
87
|
+
if ($[13] !== icon) {
|
|
88
|
+
t2 = icon && /* @__PURE__ */ jsx(IconSlot, { icon });
|
|
89
|
+
$[13] = icon;
|
|
90
|
+
$[14] = t2;
|
|
91
|
+
} else t2 = $[14];
|
|
92
|
+
let t3;
|
|
93
|
+
if ($[15] !== label) {
|
|
94
|
+
t3 = label && /* @__PURE__ */ jsx(Typography, {
|
|
95
|
+
size: "body",
|
|
96
|
+
as: "span",
|
|
97
|
+
className: "overflow-hidden text-ellipsis text-center",
|
|
98
|
+
children: label
|
|
99
|
+
});
|
|
100
|
+
$[15] = label;
|
|
101
|
+
$[16] = t3;
|
|
102
|
+
} else t3 = $[16];
|
|
103
|
+
let t4;
|
|
104
|
+
if ($[17] !== id || $[18] !== isDisabled || $[19] !== props || $[20] !== t1 || $[21] !== t2 || $[22] !== t3) {
|
|
105
|
+
t4 = /* @__PURE__ */ jsxs($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
106
|
+
...props,
|
|
107
|
+
id,
|
|
108
|
+
className: t1,
|
|
109
|
+
isDisabled,
|
|
110
|
+
children: [t2, t3]
|
|
111
|
+
});
|
|
112
|
+
$[17] = id;
|
|
113
|
+
$[18] = isDisabled;
|
|
114
|
+
$[19] = props;
|
|
115
|
+
$[20] = t1;
|
|
116
|
+
$[21] = t2;
|
|
117
|
+
$[22] = t3;
|
|
118
|
+
$[23] = t4;
|
|
119
|
+
} else t4 = $[23];
|
|
120
|
+
return t4;
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/components/ToggleGroup/ToggleGroup.tsx
|
|
124
|
+
const ToggleGroupBase = (t0) => {
|
|
125
|
+
const $ = c(94);
|
|
126
|
+
let className;
|
|
127
|
+
let defaultValue;
|
|
128
|
+
let error;
|
|
129
|
+
let errorClassName;
|
|
130
|
+
let headerClassName;
|
|
131
|
+
let helperText;
|
|
132
|
+
let hideLabel;
|
|
133
|
+
let isInvalidProp;
|
|
134
|
+
let isRequired;
|
|
135
|
+
let items;
|
|
136
|
+
let label;
|
|
137
|
+
let onBlur;
|
|
138
|
+
let onChange;
|
|
139
|
+
let ref;
|
|
140
|
+
let rest;
|
|
141
|
+
let rightContent;
|
|
142
|
+
let sizeProp;
|
|
143
|
+
let toggleGroupItemClassName;
|
|
144
|
+
let tooltipText;
|
|
145
|
+
let value;
|
|
146
|
+
if ($[0] !== t0) {
|
|
147
|
+
({className, ref, onBlur, items, label, hideLabel, helperText, tooltipText, isRequired, rightContent, headerClassName, errorClassName, error, isInvalid: isInvalidProp, onChange, value, defaultValue, toggleGroupItemClassName, size: sizeProp, ...rest} = t0);
|
|
148
|
+
$[0] = t0;
|
|
149
|
+
$[1] = className;
|
|
150
|
+
$[2] = defaultValue;
|
|
151
|
+
$[3] = error;
|
|
152
|
+
$[4] = errorClassName;
|
|
153
|
+
$[5] = headerClassName;
|
|
154
|
+
$[6] = helperText;
|
|
155
|
+
$[7] = hideLabel;
|
|
156
|
+
$[8] = isInvalidProp;
|
|
157
|
+
$[9] = isRequired;
|
|
158
|
+
$[10] = items;
|
|
159
|
+
$[11] = label;
|
|
160
|
+
$[12] = onBlur;
|
|
161
|
+
$[13] = onChange;
|
|
162
|
+
$[14] = ref;
|
|
163
|
+
$[15] = rest;
|
|
164
|
+
$[16] = rightContent;
|
|
165
|
+
$[17] = sizeProp;
|
|
166
|
+
$[18] = toggleGroupItemClassName;
|
|
167
|
+
$[19] = tooltipText;
|
|
168
|
+
$[20] = value;
|
|
169
|
+
} else {
|
|
170
|
+
className = $[1];
|
|
171
|
+
defaultValue = $[2];
|
|
172
|
+
error = $[3];
|
|
173
|
+
errorClassName = $[4];
|
|
174
|
+
headerClassName = $[5];
|
|
175
|
+
helperText = $[6];
|
|
176
|
+
hideLabel = $[7];
|
|
177
|
+
isInvalidProp = $[8];
|
|
178
|
+
isRequired = $[9];
|
|
179
|
+
items = $[10];
|
|
180
|
+
label = $[11];
|
|
181
|
+
onBlur = $[12];
|
|
182
|
+
onChange = $[13];
|
|
183
|
+
ref = $[14];
|
|
184
|
+
rest = $[15];
|
|
185
|
+
rightContent = $[16];
|
|
186
|
+
sizeProp = $[17];
|
|
187
|
+
toggleGroupItemClassName = $[18];
|
|
188
|
+
tooltipText = $[19];
|
|
189
|
+
value = $[20];
|
|
190
|
+
}
|
|
191
|
+
const ui = UIConfig.useConfig();
|
|
192
|
+
const size = sizeProp ?? ui.toggleGroup.size ?? ui.input.size;
|
|
193
|
+
const isInvalid = isInvalidProp || !!error;
|
|
194
|
+
let t1;
|
|
195
|
+
if ($[21] !== defaultValue) {
|
|
196
|
+
t1 = defaultValue === void 0 ? void 0 : defaultValue === null ? [] : Array.isArray(defaultValue) ? defaultValue : [defaultValue];
|
|
197
|
+
$[21] = defaultValue;
|
|
198
|
+
$[22] = t1;
|
|
199
|
+
} else t1 = $[22];
|
|
200
|
+
let t2;
|
|
201
|
+
if ($[23] !== value) {
|
|
202
|
+
t2 = value === void 0 ? void 0 : value === null ? [] : Array.isArray(value) ? value : [value];
|
|
203
|
+
$[23] = value;
|
|
204
|
+
$[24] = t2;
|
|
205
|
+
} else t2 = $[24];
|
|
206
|
+
let t3;
|
|
207
|
+
if ($[25] !== rest || $[26] !== t1 || $[27] !== t2) {
|
|
208
|
+
t3 = {
|
|
209
|
+
...rest,
|
|
210
|
+
defaultSelectedKeys: t1,
|
|
211
|
+
selectedKeys: t2
|
|
212
|
+
};
|
|
213
|
+
$[25] = rest;
|
|
214
|
+
$[26] = t1;
|
|
215
|
+
$[27] = t2;
|
|
216
|
+
$[28] = t3;
|
|
217
|
+
} else t3 = $[28];
|
|
218
|
+
const props = t3;
|
|
219
|
+
const buttonGroupRef = useRef(null);
|
|
220
|
+
const state = $3d8ad31c4c1725e9$export$8deac67f4addf270(props);
|
|
221
|
+
const { groupProps } = useToggleButtonGroup(props, state, buttonGroupRef);
|
|
222
|
+
const isRadioGroup = props.selectionMode !== "multiple";
|
|
223
|
+
let t4;
|
|
224
|
+
let t5;
|
|
225
|
+
if ($[29] !== isInvalid || $[30] !== isRadioGroup) {
|
|
226
|
+
t4 = () => {
|
|
227
|
+
const group = buttonGroupRef.current;
|
|
228
|
+
if (isInvalid && isRadioGroup) group?.setAttribute("aria-invalid", "true");
|
|
229
|
+
else group?.removeAttribute("aria-invalid");
|
|
230
|
+
};
|
|
231
|
+
t5 = [isInvalid, isRadioGroup];
|
|
232
|
+
$[29] = isInvalid;
|
|
233
|
+
$[30] = isRadioGroup;
|
|
234
|
+
$[31] = t4;
|
|
235
|
+
$[32] = t5;
|
|
236
|
+
} else {
|
|
237
|
+
t4 = $[31];
|
|
238
|
+
t5 = $[32];
|
|
239
|
+
}
|
|
240
|
+
useLayoutEffect(t4, t5);
|
|
241
|
+
const toggleGroupCva = UIOverrides.useCva("toggleGroup.cva", toggleGroupDefinition);
|
|
242
|
+
const t6 = rest["aria-label"];
|
|
243
|
+
const t7 = rest["aria-labelledby"];
|
|
244
|
+
let t8;
|
|
245
|
+
if ($[33] !== label || $[34] !== t6 || $[35] !== t7) {
|
|
246
|
+
t8 = {
|
|
247
|
+
label,
|
|
248
|
+
"aria-label": t6,
|
|
249
|
+
"aria-labelledby": t7
|
|
250
|
+
};
|
|
251
|
+
$[33] = label;
|
|
252
|
+
$[34] = t6;
|
|
253
|
+
$[35] = t7;
|
|
254
|
+
$[36] = t8;
|
|
255
|
+
} else t8 = $[36];
|
|
256
|
+
const { labelProps, fieldProps } = useLabel(t8);
|
|
257
|
+
const t9 = rest["aria-describedby"];
|
|
258
|
+
let t10;
|
|
259
|
+
if ($[37] !== error || $[38] !== helperText || $[39] !== t9) {
|
|
260
|
+
t10 = {
|
|
261
|
+
describedBy: t9,
|
|
262
|
+
error,
|
|
263
|
+
helperText
|
|
264
|
+
};
|
|
265
|
+
$[37] = error;
|
|
266
|
+
$[38] = helperText;
|
|
267
|
+
$[39] = t9;
|
|
268
|
+
$[40] = t10;
|
|
269
|
+
} else t10 = $[40];
|
|
270
|
+
const { describedBy, errorMessageId, helperTextId } = useFieldAccessibility(t10);
|
|
271
|
+
const t11 = label ?? "";
|
|
272
|
+
const t12 = !label || (hideLabel ?? ui.input.hideLabel);
|
|
273
|
+
let t13;
|
|
274
|
+
if ($[41] !== error || $[42] !== errorClassName || $[43] !== errorMessageId || $[44] !== headerClassName || $[45] !== helperText || $[46] !== helperTextId || $[47] !== isRequired || $[48] !== props.isDisabled || $[49] !== rightContent || $[50] !== t11 || $[51] !== t12 || $[52] !== tooltipText) {
|
|
275
|
+
t13 = {
|
|
276
|
+
error,
|
|
277
|
+
errorMessageId,
|
|
278
|
+
label: t11,
|
|
279
|
+
hideLabel: t12,
|
|
280
|
+
helperText,
|
|
281
|
+
helperTextId,
|
|
282
|
+
tooltipText,
|
|
283
|
+
isRequired,
|
|
284
|
+
rightContent,
|
|
285
|
+
headerClassName,
|
|
286
|
+
errorClassName,
|
|
287
|
+
isDisabled: props.isDisabled
|
|
288
|
+
};
|
|
289
|
+
$[41] = error;
|
|
290
|
+
$[42] = errorClassName;
|
|
291
|
+
$[43] = errorMessageId;
|
|
292
|
+
$[44] = headerClassName;
|
|
293
|
+
$[45] = helperText;
|
|
294
|
+
$[46] = helperTextId;
|
|
295
|
+
$[47] = isRequired;
|
|
296
|
+
$[48] = props.isDisabled;
|
|
297
|
+
$[49] = rightContent;
|
|
298
|
+
$[50] = t11;
|
|
299
|
+
$[51] = t12;
|
|
300
|
+
$[52] = tooltipText;
|
|
301
|
+
$[53] = t13;
|
|
302
|
+
} else t13 = $[53];
|
|
303
|
+
const formFieldProps = t13;
|
|
304
|
+
let t14;
|
|
305
|
+
if ($[54] !== onChange || $[55] !== props.selectionMode) {
|
|
306
|
+
t14 = (keys) => {
|
|
307
|
+
if (props.selectionMode === "multiple") onChange?.(Array.from(keys.values()));
|
|
308
|
+
else onChange?.(Array.from(keys.values())[0] ?? null);
|
|
309
|
+
};
|
|
310
|
+
$[54] = onChange;
|
|
311
|
+
$[55] = props.selectionMode;
|
|
312
|
+
$[56] = t14;
|
|
313
|
+
} else t14 = $[56];
|
|
314
|
+
const onSelectionChange = t14;
|
|
315
|
+
let t15;
|
|
316
|
+
if ($[57] !== items.length) {
|
|
317
|
+
t15 = items.length > 2 ? Array.from({ length: items.length * 2 - 1 }, _temp).join(" ") : `repeat(${items.length}, 1fr)`;
|
|
318
|
+
$[57] = items.length;
|
|
319
|
+
$[58] = t15;
|
|
320
|
+
} else t15 = $[58];
|
|
321
|
+
const gridTemplateColumns = t15;
|
|
322
|
+
let t16;
|
|
323
|
+
if ($[59] !== onBlur) {
|
|
324
|
+
t16 = (event) => {
|
|
325
|
+
if (!event.currentTarget.contains(event.relatedTarget)) onBlur?.(event);
|
|
326
|
+
};
|
|
327
|
+
$[59] = onBlur;
|
|
328
|
+
$[60] = t16;
|
|
329
|
+
} else t16 = $[60];
|
|
330
|
+
let t17;
|
|
331
|
+
if ($[61] !== className) {
|
|
332
|
+
t17 = clsx("relative w-full", className);
|
|
333
|
+
$[61] = className;
|
|
334
|
+
$[62] = t17;
|
|
335
|
+
} else t17 = $[62];
|
|
336
|
+
const t18 = isInvalid || void 0;
|
|
337
|
+
const t19 = ref;
|
|
338
|
+
let t20;
|
|
339
|
+
if ($[63] !== t19) {
|
|
340
|
+
t20 = $a8ea2faf2ebe4d2f$re_export$mergeRefs(t19, buttonGroupRef);
|
|
341
|
+
$[63] = t19;
|
|
342
|
+
$[64] = t20;
|
|
343
|
+
} else t20 = $[64];
|
|
344
|
+
let t21;
|
|
345
|
+
if ($[65] !== className || $[66] !== props || $[67] !== toggleGroupCva) {
|
|
346
|
+
t21 = toggleGroupCva({
|
|
347
|
+
...props,
|
|
348
|
+
className
|
|
349
|
+
});
|
|
350
|
+
$[65] = className;
|
|
351
|
+
$[66] = props;
|
|
352
|
+
$[67] = toggleGroupCva;
|
|
353
|
+
$[68] = t21;
|
|
354
|
+
} else t21 = $[68];
|
|
355
|
+
let t22;
|
|
356
|
+
if ($[69] !== gridTemplateColumns) {
|
|
357
|
+
t22 = { gridTemplateColumns };
|
|
358
|
+
$[69] = gridTemplateColumns;
|
|
359
|
+
$[70] = t22;
|
|
360
|
+
} else t22 = $[70];
|
|
361
|
+
let t23;
|
|
362
|
+
if ($[71] !== items || $[72] !== props.isDisabled || $[73] !== size || $[74] !== state || $[75] !== toggleGroupItemClassName) {
|
|
363
|
+
t23 = items.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ToggleGroupItem, {
|
|
364
|
+
...item,
|
|
365
|
+
size,
|
|
366
|
+
className: clsx(item.className, toggleGroupItemClassName),
|
|
367
|
+
isDisabled: item.isDisabled || props.isDisabled,
|
|
368
|
+
isSelected: state.selectedKeys.has(item.id),
|
|
369
|
+
onPress: () => {
|
|
370
|
+
state.toggleKey(item.id);
|
|
371
|
+
}
|
|
372
|
+
}), index !== items.length - 1 && items.length > 2 && /* @__PURE__ */ jsx("div", {
|
|
373
|
+
className: clsx("h-5 w-px rounded-2xl", !state.selectedKeys.has(item.id) && !state.selectedKeys.has(items[index + 1].id) && "bg-border"),
|
|
374
|
+
children: /* @__PURE__ */ jsx("span", { className: "flex h-full w-px" })
|
|
375
|
+
})] }, item.id));
|
|
376
|
+
$[71] = items;
|
|
377
|
+
$[72] = props.isDisabled;
|
|
378
|
+
$[73] = size;
|
|
379
|
+
$[74] = state;
|
|
380
|
+
$[75] = toggleGroupItemClassName;
|
|
381
|
+
$[76] = t23;
|
|
382
|
+
} else t23 = $[76];
|
|
383
|
+
let t24;
|
|
384
|
+
if ($[77] !== describedBy || $[78] !== fieldProps || $[79] !== groupProps || $[80] !== onSelectionChange || $[81] !== props || $[82] !== t18 || $[83] !== t20 || $[84] !== t21 || $[85] !== t22 || $[86] !== t23) {
|
|
385
|
+
t24 = /* @__PURE__ */ jsx($bc25b811ec97a172$export$40258cc1d95ff477, {
|
|
386
|
+
...props,
|
|
387
|
+
...groupProps,
|
|
388
|
+
...fieldProps,
|
|
389
|
+
"aria-describedby": describedBy,
|
|
390
|
+
"data-invalid": t18,
|
|
391
|
+
ref: t20,
|
|
392
|
+
onSelectionChange,
|
|
393
|
+
className: t21,
|
|
394
|
+
style: t22,
|
|
395
|
+
children: t23
|
|
396
|
+
});
|
|
397
|
+
$[77] = describedBy;
|
|
398
|
+
$[78] = fieldProps;
|
|
399
|
+
$[79] = groupProps;
|
|
400
|
+
$[80] = onSelectionChange;
|
|
401
|
+
$[81] = props;
|
|
402
|
+
$[82] = t18;
|
|
403
|
+
$[83] = t20;
|
|
404
|
+
$[84] = t21;
|
|
405
|
+
$[85] = t22;
|
|
406
|
+
$[86] = t23;
|
|
407
|
+
$[87] = t24;
|
|
408
|
+
} else t24 = $[87];
|
|
409
|
+
let t25;
|
|
410
|
+
if ($[88] !== formFieldProps || $[89] !== labelProps || $[90] !== t16 || $[91] !== t17 || $[92] !== t24) {
|
|
411
|
+
t25 = /* @__PURE__ */ jsx(FormField, {
|
|
412
|
+
onBlurCapture: t16,
|
|
413
|
+
...formFieldProps,
|
|
414
|
+
labelProps,
|
|
415
|
+
className: t17,
|
|
416
|
+
children: t24
|
|
417
|
+
});
|
|
418
|
+
$[88] = formFieldProps;
|
|
419
|
+
$[89] = labelProps;
|
|
420
|
+
$[90] = t16;
|
|
421
|
+
$[91] = t17;
|
|
422
|
+
$[92] = t24;
|
|
423
|
+
$[93] = t25;
|
|
424
|
+
} else t25 = $[93];
|
|
425
|
+
return t25;
|
|
426
|
+
};
|
|
427
|
+
const ControlledToggleGroup = (props) => {
|
|
428
|
+
const $ = c(16);
|
|
429
|
+
let field;
|
|
430
|
+
let innerProps;
|
|
431
|
+
let ref;
|
|
432
|
+
if ($[0] !== props) {
|
|
433
|
+
({field, ref, ...innerProps} = props);
|
|
434
|
+
$[0] = props;
|
|
435
|
+
$[1] = field;
|
|
436
|
+
$[2] = innerProps;
|
|
437
|
+
$[3] = ref;
|
|
438
|
+
} else {
|
|
439
|
+
field = $[1];
|
|
440
|
+
innerProps = $[2];
|
|
441
|
+
ref = $[3];
|
|
442
|
+
}
|
|
443
|
+
let t0;
|
|
444
|
+
if ($[4] !== innerProps || $[5] !== props.error || $[6] !== props.isDisabled || $[7] !== props.selectionMode || $[8] !== ref) {
|
|
445
|
+
t0 = (t1) => {
|
|
446
|
+
const { field: field_0, fieldState: t2 } = t1;
|
|
447
|
+
const { error } = t2;
|
|
448
|
+
return /* @__PURE__ */ jsx(ToggleGroupBase, {
|
|
449
|
+
...innerProps,
|
|
450
|
+
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field_0.ref),
|
|
451
|
+
value: field_0.value ?? (props.selectionMode === "multiple" ? [] : null),
|
|
452
|
+
onChange: (value) => {
|
|
453
|
+
field_0.onChange(value);
|
|
454
|
+
field_0.onValueCommit();
|
|
455
|
+
},
|
|
456
|
+
onBlur: field_0.onBlur,
|
|
457
|
+
isDisabled: field_0.disabled || props.isDisabled,
|
|
458
|
+
error: props.error ?? error?.message
|
|
459
|
+
});
|
|
460
|
+
};
|
|
461
|
+
$[4] = innerProps;
|
|
462
|
+
$[5] = props.error;
|
|
463
|
+
$[6] = props.isDisabled;
|
|
464
|
+
$[7] = props.selectionMode;
|
|
465
|
+
$[8] = ref;
|
|
466
|
+
$[9] = t0;
|
|
467
|
+
} else t0 = $[9];
|
|
468
|
+
let t1;
|
|
469
|
+
if ($[10] !== field.form || $[11] !== field.name || $[12] !== field.onBlur || $[13] !== field.onValueChange || $[14] !== t0) {
|
|
470
|
+
t1 = /* @__PURE__ */ jsx(FieldController, {
|
|
471
|
+
control: field.form,
|
|
472
|
+
name: field.name,
|
|
473
|
+
onValueChange: field.onValueChange,
|
|
474
|
+
onBlur: field.onBlur,
|
|
475
|
+
render: t0
|
|
476
|
+
});
|
|
477
|
+
$[10] = field.form;
|
|
478
|
+
$[11] = field.name;
|
|
479
|
+
$[12] = field.onBlur;
|
|
480
|
+
$[13] = field.onValueChange;
|
|
481
|
+
$[14] = t0;
|
|
482
|
+
$[15] = t1;
|
|
483
|
+
} else t1 = $[15];
|
|
484
|
+
return t1;
|
|
485
|
+
};
|
|
486
|
+
function ToggleGroup(props) {
|
|
487
|
+
const $ = c(2);
|
|
488
|
+
let t0;
|
|
489
|
+
if ($[0] !== props) {
|
|
490
|
+
t0 = props.field ? /* @__PURE__ */ jsx(ControlledToggleGroup, { ...props }) : /* @__PURE__ */ jsx(ToggleGroupBase, { ...props });
|
|
491
|
+
$[0] = props;
|
|
492
|
+
$[1] = t0;
|
|
493
|
+
} else t0 = $[1];
|
|
494
|
+
return t0;
|
|
495
|
+
}
|
|
496
|
+
function _temp(_, i) {
|
|
497
|
+
return i % 2 === 0 ? "1fr" : "auto";
|
|
498
|
+
}
|
|
499
|
+
//#endregion
|
|
500
|
+
export { ToggleGroup as t };
|
|
@@ -4,10 +4,10 @@ import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$
|
|
|
4
4
|
import { n as $4fcfe18fac72dabd$export$746d02f47f4d381, t as $4fcfe18fac72dabd$export$2de4954e8ae13b9f } from "./OverlayArrow-DF0jMwul.js";
|
|
5
5
|
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "./tooltip.cva-BEyxvcG2.js";
|
|
6
6
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
7
|
-
import { ChevronLeft, ChevronUp } from "lucide-react";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
9
8
|
import $ahdqC$react, { Fragment, createContext, forwardRef, useContext, useRef } from "react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { ChevronLeft, ChevronUp } from "lucide-react";
|
|
11
11
|
import { mergeProps } from "react-aria/mergeProps";
|
|
12
12
|
import { filterDOMProps } from "react-aria/filterDOMProps";
|
|
13
13
|
import { useEnterAnimation, useExitAnimation } from "react-aria/private/utils/animation";
|
|
@@ -109,7 +109,7 @@ const CustomTrigger = (t0) => {
|
|
|
109
109
|
const t2 = tabIndex ?? 0;
|
|
110
110
|
let t3;
|
|
111
111
|
if ($[1] !== className) {
|
|
112
|
-
t3 = clsx("inline-flex", className);
|
|
112
|
+
t3 = clsx("inline-flex max-w-full", className);
|
|
113
113
|
$[1] = className;
|
|
114
114
|
$[2] = t3;
|
|
115
115
|
} else t3 = $[2];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { M as TooltipVariantProps } from "./link.cva-D6L1c2wq.js";
|
|
2
|
+
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
3
|
+
import { PropsWithChildren, ReactNode } from "react";
|
|
4
|
+
import { TooltipProps } from "react-aria-components";
|
|
5
|
+
//#region src/components/overlays/Tooltip/Tooltip.d.ts
|
|
6
|
+
interface TooltipProps$1 extends PropsWithChildren<TooltipProps>, TooltipVariantProps {
|
|
7
|
+
/** The tooltip content. The trigger is `children`. */
|
|
8
|
+
text: ReactNode;
|
|
9
|
+
/** Keeps the tooltip from opening. */
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
/** Time in milliseconds the pointer must hover the trigger before the tooltip opens. Defaults to 0. */
|
|
12
|
+
delay?: number;
|
|
13
|
+
/** Time in milliseconds the tooltip stays open after the pointer leaves. Defaults to 0. */
|
|
14
|
+
closeDelay?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Set when `children` is not focusable (an icon, plain text, a disabled button): wraps it in a focusable
|
|
17
|
+
* inline element so hover and keyboard focus can open the tooltip. Leave unset for buttons and links.
|
|
18
|
+
*/
|
|
19
|
+
isNonInteractiveTrigger?: boolean;
|
|
20
|
+
/** Classes for the wrapper added by `isNonInteractiveTrigger`. */
|
|
21
|
+
triggerClassName?: string;
|
|
22
|
+
/** `tabIndex` of the wrapper added by `isNonInteractiveTrigger`. Defaults to 0. */
|
|
23
|
+
triggerTabIndex?: number;
|
|
24
|
+
/** @deprecated Use `text`. */
|
|
25
|
+
content?: Removed<"Use `text`">;
|
|
26
|
+
/** @deprecated Use `text`. */
|
|
27
|
+
title?: Removed<"Use `text`">;
|
|
28
|
+
/** @deprecated Use `text`. */
|
|
29
|
+
label?: Removed<"Use `text`">;
|
|
30
|
+
}
|
|
31
|
+
declare const Tooltip: ({ children, text, isDisabled, delay, closeDelay, color, isNonInteractiveTrigger, triggerClassName, triggerTabIndex, ...tooltipProps }: TooltipProps$1) => import("react").JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { TooltipProps$1 as n, Tooltip as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
2
|
+
import { JSX, ReactNode, Ref } from "react";
|
|
3
|
+
//#region src/components/overlays/Tooltip/TooltipEllipsis.d.ts
|
|
4
|
+
interface TooltipEllipsisProps {
|
|
5
|
+
/** The tooltip content, normally the full untruncated text. */
|
|
6
|
+
text: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Render function: attach `ref` to the element that truncates; the tooltip shows only while it overflows.
|
|
9
|
+
* That element needs a width limit, its own (`max-w-40`) or its container's (`block truncate` in a table cell).
|
|
10
|
+
*/
|
|
11
|
+
children: (ref: Ref<HTMLElement> | undefined) => JSX.Element;
|
|
12
|
+
/** Never shows the tooltip. */
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/** Set when the rendered element is not focusable (plain text, a tag): wraps it in a focusable inline element. */
|
|
15
|
+
isNonInteractiveTrigger?: boolean;
|
|
16
|
+
/** @deprecated Use `text`. */
|
|
17
|
+
content?: Removed<"Use `text`">;
|
|
18
|
+
}
|
|
19
|
+
declare const TooltipEllipsis: ({ text, children, isDisabled, isNonInteractiveTrigger }: TooltipEllipsisProps) => JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TooltipEllipsisProps as n, TooltipEllipsis as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
3
|
+
import "./i18n-DQs7jPjv.js";
|
|
4
|
+
import { t as UIConfig } from "./uiConfig.context-CjnLnQOo.js";
|
|
5
|
+
import { n as inputClearClassDefinition } from "./input.cva-mm1dnfKP.js";
|
|
6
6
|
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-t4NQ9zz9.js";
|
|
7
|
-
import { X } from "lucide-react";
|
|
8
7
|
import { Suspense, lazy } from "react";
|
|
9
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { X } from "lucide-react";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/shared/InputClear.tsx
|
|
12
12
|
const InputClear = ({ onClear, as, className, style, show, renderStatic }) => {
|
|
@@ -14,7 +14,7 @@ const InputClear = ({ onClear, as, className, style, show, renderStatic }) => {
|
|
|
14
14
|
const inputClearClassCva = UIOverrides.useCva("input.clearClassCva", inputClearClassDefinition);
|
|
15
15
|
const { t } = useTranslation("ui");
|
|
16
16
|
const alwaysShowClear = ui.input.alwaysShowClear;
|
|
17
|
-
const clearClassName = clsx("relative z-raised flex cursor-pointer items-center rounded-sm border-0 bg-transparent p-0 text-muted-foreground transition-colors hover:text-foreground", !alwaysShowClear && "md:invisible group-focus-within:visible group-hover/date-picker-content:visible group-hover/select-content:visible group-hover/text-area:visible group-hover:visible", !show && "invisible!", inputClearClassCva({ as }), className);
|
|
17
|
+
const clearClassName = clsx("relative z-raised flex cursor-pointer items-center rounded-sm border-0 bg-transparent p-0 text-muted-foreground transition-colors hover:text-foreground", !alwaysShowClear && "md:invisible group-focus-within:visible group-hover/date-picker-content:visible group-hover/select-content:visible group-hover/text-area:visible group-hover:visible", !show && "invisible!", inputClearClassCva({ layout: as }), className);
|
|
18
18
|
if (renderStatic) return /* @__PURE__ */ jsx("button", {
|
|
19
19
|
type: "button",
|
|
20
20
|
"aria-hidden": !show,
|
|
@@ -47,7 +47,7 @@ const InputClearButton = ({ onClear, className, style }) => {
|
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
50
|
-
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-
|
|
50
|
+
const InlineTooltipWrapper = lazy(() => import("./InlineTooltipWrapper-CjDUsi2I.js"));
|
|
51
51
|
const InlineTooltipFallback = ({ children, triggerClassName }) => {
|
|
52
52
|
const triggerCva = UIOverrides.useCva("tooltipWrapper.triggerCva", tooltipWrapperTriggerDefinition);
|
|
53
53
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { En as TypographyVariantProps } from "./link.cva-D6L1c2wq.js";
|
|
2
|
+
import { n as Removed } from "./hints-B09_WDhL.js";
|
|
2
3
|
import { HTMLAttributes, Ref } from "react";
|
|
3
4
|
//#region src/components/text/Typography/Typography.d.ts
|
|
4
5
|
type TypographyTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "div" | "dt" | "dd";
|
|
5
6
|
interface TypographyPropsCva extends Omit<TypographyVariantProps, "size">, Required<Pick<TypographyVariantProps, "size">> {}
|
|
6
7
|
interface TypographyProps extends TypographyPropsCva, HTMLAttributes<HTMLElement> {
|
|
7
8
|
ref?: Ref<HTMLHeadingElement>;
|
|
9
|
+
/** The element to render. Defaults to `p`. */
|
|
8
10
|
as?: TypographyTag;
|
|
11
|
+
/** @deprecated Use `size`. */
|
|
12
|
+
variant?: Removed<"Use `size` instead of `variant`">;
|
|
9
13
|
}
|
|
10
14
|
declare const Typography: ({ as, className, ...props }: TypographyProps) => import("react").JSX.Element;
|
|
11
15
|
//#endregion
|