@povio/ui 6.0.0-rc.11 → 6.0.0-rc.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +470 -43
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/{Accordion-ORBin0EZ.js → Accordion-gUW7u1Zn.js} +41 -41
- package/dist/Alert-DwnALnFY.d.ts +36 -0
- package/dist/AlertDialog-BcRiqY_n.d.ts +70 -0
- package/dist/Autocomplete-CV4Aa1Ok.js +319 -0
- package/dist/Autocomplete-DRwQxx0U.d.ts +123 -0
- package/dist/Badge-CO-ZsmbR.d.ts +67 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-APVu5TUd.js} +8 -8
- package/dist/BottomSheet-Be0HtQzP.d.ts +65 -0
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-NNB7ivkW.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-Bn3fqVYx.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-Cd75RPbS.js} +33 -17
- package/dist/{Button-C1YB5dOw.js → Button-BJJkLVNj.js} +1 -5
- package/dist/{Button-BaODzvZd.js → Button-CzEs3tcV.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-Hk8zm9q_.d.ts} +2 -2
- package/dist/ButtonBase-Cp1w00t2.d.ts +47 -0
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-aGz6DYum.js} +10 -18
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-DX0dVo6z.js → Calendar-DN-i_b-_.js} +19 -17
- package/dist/{Calendar.lazy-W51M56GQ.js → Calendar.lazy-CqmyDSND.js} +4 -4
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-CzKXZw_w.js} +35 -9
- package/dist/Checkbox-D32MOIhF.d.ts +49 -0
- package/dist/CheckboxCheckmark-DDU_Ie7-.js +42 -0
- package/dist/CheckboxGroup-B5Mn1G3u.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-BqWt09kZ.js} +75 -35
- package/dist/DatePicker-CmoVbapu.d.ts +80 -0
- package/dist/{DatePicker-CqNS7lgR.js → DatePicker-DQewd1By.js} +80 -41
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
- package/dist/{DatePickerInput-B2Pc_aJr.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
- package/dist/{DateRangePicker-C3ClfSfj.js → DateRangePicker-DRZ1hLlR.js} +93 -169
- package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
- package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
- package/dist/{DateTimePicker-CYa2J-1r.js → DateTimePicker-DWtKPaE6.js} +70 -35
- package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
- package/dist/{Dialog-96c4Pzfm.js → Dialog-BzQYDPJ9.js} +23 -19
- package/dist/Dialog-D0SeePPz.d.ts +66 -0
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-Bjm5IOpg.js} +1 -1
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-DTr7b-XO.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-DrshB60h.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-DxGA0yvx.js} +14 -8
- package/dist/FileInput-Bokcp9nH.d.ts +61 -0
- package/dist/{FileInput-IRM0C9W6.js → FileInput-LMhFxlqB.js} +75 -80
- package/dist/FileUpload-BqXd4_nz.d.ts +181 -0
- package/dist/FileUpload-CJZrkr_U.js +679 -0
- package/dist/{FormField-dduTMkNH.js → FormField-TI8Vx5aC.js} +10 -10
- package/dist/FormField-XQbjfGSv.d.ts +70 -0
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DB7KrrcD.js +22 -0
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-CQLHX8-Y.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CjDUsi2I.js} +1 -1
- package/dist/{Input-UbFhc_J2.js → Input-CeRJeAoR.js} +94 -59
- package/dist/Input-onUj0DKg.d.ts +56 -0
- package/dist/{InputContent-D7lnNLWk.js → InputContent-B8OCdbVP.js} +15 -13
- package/dist/InputContent-D5ZkB9hO.d.ts +39 -0
- package/dist/Link-BdnWVYL9.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-gR4iSV7N.js} +3 -3
- package/dist/{Modal-DcLWF9cB.js → Modal-DAMsCwzb.js} +1 -1
- package/dist/{NumberField-twW8zuJ9.js → NumberField-6Q9LHGSo.js} +91 -62
- package/dist/NumberField-Sb30Qao3.d.ts +41 -0
- package/dist/{NumberRangeInput-gT6gEJIz.js → NumberRangeInput-BDSkcHVJ.js} +152 -101
- package/dist/NumberRangeInput-Dvq8mOUY.d.ts +89 -0
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-eJk6GNK6.d.ts} +6 -5
- package/dist/{PasswordInput.bound-CXtbMCD6.js → PasswordInput-BcHpV0Ie.js} +6 -6
- package/dist/PasswordInput-VHzP4VPU.d.ts +16 -0
- package/dist/Popover-qplPGDnR.d.ts +51 -0
- package/dist/Progress-DH-w99MU.d.ts +26 -0
- package/dist/Progress-WzWvbvtp.js +180 -0
- package/dist/ProgressBar-BsSimmJF.js +46 -0
- package/dist/RadioGroup-CC8bKtBN.d.ts +52 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-PKqFHoKP.js} +66 -26
- package/dist/{RangeCalendar-0W1YFZqn.js → RangeCalendar-DqCTlIuy.js} +42 -13
- package/dist/Select-CSyfDyxG.d.ts +248 -0
- package/dist/{Select-B-TuE_Fh.js → Select-D3fuXwVt.js} +435 -184
- package/dist/{SelectListBox-Dlonoc5z.js → SelectListBox-DqAxkT1f.js} +46 -37
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BGl_PIsH.js} +280 -363
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-CdtK2M-C.d.ts} +31 -17
- package/dist/{Slider-DCsCCPFx.js → Slider-BCUiALjE.js} +69 -12
- package/dist/Slider-DxalZD3o.d.ts +57 -0
- package/dist/Spinner-BTrEbNFy.d.ts +13 -0
- package/dist/SplitButton-Dv5l8p5t.d.ts +25 -0
- package/dist/Stepper-B1IOUcSI.d.ts +49 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-DA2G546I.js} +116 -88
- package/dist/{Switch-BfpSMMpv.js → Switch-Ce-bJOVw.js} +54 -12
- package/dist/Switch-urNrop0P.d.ts +42 -0
- package/dist/{TabsFilters-CWUNeqYa.js → TabsFilters-Cweij8He.js} +44 -33
- package/dist/TabsFilters-M5Ld7eb8.d.ts +59 -0
- package/dist/Tag-BKR1AZFa.d.ts +26 -0
- package/dist/TextArea-D7YVclaz.d.ts +33 -0
- package/dist/{TextArea-DakA3nzZ.js → TextArea-P8F0oD_A.js} +59 -32
- package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
- package/dist/{TimePicker-RFzfDezn.js → TimePicker-l4Ysk2AX.js} +99 -50
- package/dist/{TimePickerForm-DohOZViU.js → TimePickerForm-BMqNpDPT.js} +5 -5
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-BeklfvlK.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-DWw53pTt.d.ts} +2 -2
- package/dist/ToggleGroup-BQk3k0at.d.ts +95 -0
- package/dist/ToggleGroup-BdIgqoqA.js +500 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-BkXPEBqw.js} +2 -2
- package/dist/Tooltip-H8OB7CqY.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-DLBksJsF.js → TooltipWrapper-ubbBHHVD.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-Cx1oRGxd.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-BpoxNggB.js} +20 -22
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-Dyy_RUZU.d.ts} +1 -1
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +2 -2
- package/dist/components/alert-dialog.js +174 -128
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +17 -15
- package/dist/components/autocomplete.d.ts +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +2 -2
- package/dist/components/badge.js +159 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +4 -4
- package/dist/components/bottom-sheet.d.ts +2 -2
- package/dist/components/bottom-sheet.js +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.d.ts +2 -2
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.d.ts +4 -41
- package/dist/components/date-range-picker.js +4 -2
- package/dist/components/date-range-presets.d.ts +2 -0
- package/dist/components/date-range-presets.js +3 -0
- package/dist/components/date-time-picker.d.ts +2 -2
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +16 -80
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +2 -3
- package/dist/components/file-input.d.ts +2 -2
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload.d.ts +2 -3
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.d.ts +3 -2
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.d.ts +1 -1
- package/dist/components/icon-button.js +22 -25
- package/dist/components/icon-slot.d.ts +1 -2
- package/dist/components/icon-slot.js +2 -2
- package/dist/components/input-frame.d.ts +6 -10
- package/dist/components/input-frame.js +29 -26
- package/dist/components/input.d.ts +2 -2
- package/dist/components/input.js +2 -2
- package/dist/components/link.d.ts +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/number-field.d.ts +2 -2
- package/dist/components/number-field.js +2 -2
- package/dist/components/number-range-input.d.ts +2 -2
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.d.ts +1 -1
- package/dist/components/page-header.js +5 -5
- package/dist/components/password-input.d.ts +2 -2
- package/dist/components/password-input.js +1 -22
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +105 -87
- package/dist/components/progress.d.ts +2 -2
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.d.ts +2 -2
- package/dist/components/select.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.js +71 -1
- package/dist/components/split-button.d.ts +1 -1
- package/dist/components/split-button.js +15 -4
- package/dist/components/stepper.d.ts +1 -1
- package/dist/components/stepper.js +1 -1
- package/dist/components/style-definitions.d.ts +2 -2
- package/dist/components/style-definitions.js +33 -18
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/tabs-filters.d.ts +1 -1
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.d.ts +1 -1
- package/dist/components/tag.js +50 -64
- package/dist/components/text-area.d.ts +2 -2
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.d.ts +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.d.ts +3 -3
- package/dist/components/toast.js +4 -3
- package/dist/components/toggle-button.d.ts +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/tooltip-ellipsis.d.ts +1 -1
- package/dist/components/tooltip-ellipsis.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/typography.d.ts +2 -2
- package/dist/components/use-toast.d.ts +2 -2
- package/dist/components/use-toast.js +1 -41
- package/dist/config/component-configuration.d.ts +1 -1
- package/dist/config/component-configuration.js +53 -2
- package/dist/config/confirmation.d.ts +1 -1
- package/dist/config/confirmation.js +1 -1
- package/dist/config/link-context.d.ts +3 -3
- package/dist/config/link-context.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/config/ui-config.d.ts +2 -2
- package/dist/config/ui-config.js +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-BflM4Vxg.js +93 -0
- package/dist/confirmation.context-C_js9qNv.d.ts +32 -0
- package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
- package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
- package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
- package/dist/{dist-DEZzXa0W.js → dist-DZOoWaZz.js} +63 -38
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
- package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
- package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
- package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
- package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
- package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-MH5ziWUe.js} +2 -2
- package/dist/form-field-Bw7U_ZPI.d.ts +1 -0
- package/dist/form.binding-Brdjq2yr.js +161 -0
- package/dist/form.binding-DSXB2AOD.d.ts +127 -0
- package/dist/form.types-a2WVJDQX.d.ts +43 -0
- package/dist/formReset-CnZl_yze.js +35 -0
- package/dist/hints-B09_WDhL.d.ts +17 -0
- package/dist/hooks/use-async-list.d.ts +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-breakpoint.d.ts +3 -0
- package/dist/hooks/use-breakpoint.js +2 -0
- package/dist/hooks/use-filters.d.ts +2 -2
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-EDC8xyfH.d.ts → i18n-B3PeqBM7.d.ts} +100 -20
- package/dist/{i18n-BE9Wvs9L.js → i18n-DQs7jPjv.js} +99 -25
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-Dkfk7PHt.js → import-C73fI3WD.js} +2 -2
- package/dist/index.d.ts +64 -85
- package/dist/index.js +55 -92
- package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
- package/dist/inputLayout-CIVpuUBq.js +7 -0
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BcBuP9ZT.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-D6L1c2wq.d.ts +2157 -0
- package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
- package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
- package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
- package/dist/rich-text-editor.d.ts +44 -2
- package/dist/rich-text-editor.js +733 -1
- package/dist/router.context-B6j_M4cN.js +151 -0
- package/dist/router.context-CSd9JYQ4.d.ts +33 -0
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-4tIzPL8l.js → staticDateTimeSegments-BYk1tcxs.js} +43 -13
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +2 -2
- package/dist/tanstack-ABeiJISz.js +10 -0
- package/dist/tanstack-bLXoUPDY.d.ts +165 -0
- package/dist/tanstack.d.ts +64 -85
- package/dist/tanstack.js +55 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-C3oA7He3.js} +8 -8
- package/dist/toast.runtime-BHXdSTXV.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/uiConfig.context-CN_QgxGO.d.ts +19 -0
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CjnLnQOo.js} +5 -7
- package/dist/{uiConfig.context-BnCORTNm.d.ts → uiConfig.types-B0sPL7nN.d.ts} +34 -34
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-CQgkDfjW.js} +140 -35
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-BrJrvp9_.js} +5 -1
- package/dist/useBreakpoint-D-SVcBeQ.d.ts +9 -0
- package/dist/useDebounceCallback-BjePw6y4.js +90 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BN-zueci.js +419 -0
- package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
- package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
- package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-B7qGzySj.js} +103 -2
- package/dist/useRemoveButton-B6-IGvpY.js +98 -0
- package/dist/useResolveDateRangePreset-C_L-doA6.js +26 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-C8chM7c-.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/{useTableColumnConfig-D3KH4Rpo.js → useTableColumnConfig-B9cYBKo3.js} +956 -689
- package/dist/useTableNav-rP1wDkhV.d.ts +372 -0
- package/dist/useToast-D2C9pROU.d.ts +78 -0
- package/dist/useToast-DSoOiSw0.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/llms.txt +3116 -0
- package/package.json +13 -131
- package/MIGRATION.md +0 -673
- package/dist/Alert-D4X7OWiv.d.ts +0 -34
- package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
- package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
- package/dist/Autocomplete-BxRjxjtp.js +0 -145
- package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
- package/dist/Autocomplete.bound-DweyHUI5.js +0 -28
- package/dist/Badge-Db1ndK67.d.ts +0 -30
- package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
- package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
- package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
- package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
- package/dist/Checkbox.bound-D2nBglJz.js +0 -33
- package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
- package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
- package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
- package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
- package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
- package/dist/ComboBox-ChsdI0lt.js +0 -212
- package/dist/DatePicker-QzfQf21b.d.ts +0 -56
- package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
- package/dist/DatePicker.bound-Dxg2LM89.js +0 -36
- package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
- package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
- package/dist/DateRangePicker.bound-PR9rBoXc.js +0 -35
- package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
- package/dist/DateTimePicker.bound-CQxnRveH.js +0 -32
- package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
- package/dist/Dialog-CO9xljD3.d.ts +0 -21
- package/dist/Drawer-D1cHiBFO.d.ts +0 -18
- package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
- package/dist/FileInput-BEaECoBS.d.ts +0 -75
- package/dist/FileInput.bound-CctyulN9.js +0 -30
- package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
- package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
- package/dist/FileUpload-Dfs3FvJ7.js +0 -749
- package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
- package/dist/FileUpload.bound-vik_sTkm.js +0 -30
- package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
- package/dist/FormField-DGyCDxOp.d.ts +0 -42
- package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
- package/dist/IconButton-shH_9wcl.d.ts +0 -25
- package/dist/Input-CTp_9mS9.d.ts +0 -34
- package/dist/Input.bound-0iJO2-ia.js +0 -31
- package/dist/Input.bound-B9a62ylL.d.ts +0 -9
- package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
- package/dist/Link-PvYB_M-j.d.ts +0 -30
- package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
- package/dist/NumberField-WXebfxjK.d.ts +0 -34
- package/dist/NumberField.bound-DHDsBNvI.js +0 -32
- package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
- package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
- package/dist/NumberRangeInput.bound-5Yv3Og73.js +0 -32
- package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
- package/dist/Pagination-BCGUVYOF.d.ts +0 -12
- package/dist/PaginationList-CvlSkJGn.d.ts +0 -18
- package/dist/PaginationList-D7SRwySe.js +0 -220
- package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
- package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
- package/dist/Popover-D_t1XDPA.d.ts +0 -20
- package/dist/Progress-Ckfpi_-M.d.ts +0 -45
- package/dist/Progress-RiEGGxNG.js +0 -119
- package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
- package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
- package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
- package/dist/RichTextEditor-BuqZth3X.js +0 -651
- package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
- package/dist/Select-C34ENdjq.d.ts +0 -119
- package/dist/Select.bound-CNCChZww.js +0 -34
- package/dist/Select.bound-qOihchei.d.ts +0 -17
- package/dist/Slider-DRg8zKRM.d.ts +0 -23
- package/dist/Slider.bound-CByTXPTr.js +0 -31
- package/dist/Slider.bound-CaEF19um.d.ts +0 -9
- package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
- package/dist/Spinner-DqjP06T1.js +0 -101
- package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
- package/dist/Stepper-k91x_m-E.d.ts +0 -114
- package/dist/Switch-ELVPkPx0.d.ts +0 -24
- package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
- package/dist/Switch.bound-Dv0cHsMM.js +0 -33
- package/dist/TableDnd-CuHxANWh.js +0 -133
- package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
- package/dist/TabsFilters-DePddjCk.d.ts +0 -30
- package/dist/Tag-B2_ZiSE-.d.ts +0 -44
- package/dist/TextArea-iqUeB2QY.d.ts +0 -26
- package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
- package/dist/TextArea.bound-CDVPP_qb.js +0 -28
- package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
- package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
- package/dist/TimePicker.bound-DPia51Qs.js +0 -32
- package/dist/Toast-D9pdadZ4.d.ts +0 -16
- package/dist/ToggleGroup-CrDoeLN0.js +0 -333
- package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
- package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
- package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
- package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
- package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
- package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
- package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
- package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
- package/dist/components/badge-button.d.ts +0 -2
- package/dist/components/badge-button.js +0 -74
- package/dist/components/file-upload-container.d.ts +0 -3
- package/dist/components/file-upload-container.js +0 -15
- package/dist/components/pagination-list.d.ts +0 -2
- package/dist/components/pagination-list.js +0 -2
- package/dist/components/pagination.d.ts +0 -2
- package/dist/components/pagination.js +0 -138
- package/dist/confirmation.context-BwlIEVeF.js +0 -114
- package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
- package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
- package/dist/form.binding-DOR5gIQf.js +0 -49
- package/dist/form.types-C8P4sznq.d.ts +0 -22
- package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
- package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
- package/dist/icons.d.ts +0 -4
- package/dist/icons.js +0 -3
- package/dist/input.cva-BjuHsDGy.d.ts +0 -80
- package/dist/inputLayout-KdAtunGk.js +0 -5
- package/dist/link.context-BCHn7NSy.d.ts +0 -12
- package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
- package/dist/router.context-CtafjXV7.d.ts +0 -16
- package/dist/router.context-MckTbHw9.js +0 -63
- package/dist/routing.utils-DfxEt0_Y.js +0 -30
- package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
- package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
- package/dist/tanstack/autocomplete.d.ts +0 -3
- package/dist/tanstack/autocomplete.js +0 -2
- package/dist/tanstack/checkbox-group.d.ts +0 -3
- package/dist/tanstack/checkbox-group.js +0 -2
- package/dist/tanstack/checkbox.d.ts +0 -3
- package/dist/tanstack/checkbox.js +0 -2
- package/dist/tanstack/date-picker.d.ts +0 -3
- package/dist/tanstack/date-picker.js +0 -2
- package/dist/tanstack/date-range-picker.d.ts +0 -3
- package/dist/tanstack/date-range-picker.js +0 -2
- package/dist/tanstack/date-time-picker.d.ts +0 -3
- package/dist/tanstack/date-time-picker.js +0 -2
- package/dist/tanstack/file-input.d.ts +0 -3
- package/dist/tanstack/file-input.js +0 -2
- package/dist/tanstack/file-upload.d.ts +0 -4
- package/dist/tanstack/file-upload.js +0 -2
- package/dist/tanstack/input.d.ts +0 -3
- package/dist/tanstack/input.js +0 -2
- package/dist/tanstack/number-field.d.ts +0 -3
- package/dist/tanstack/number-field.js +0 -2
- package/dist/tanstack/number-range-input.d.ts +0 -3
- package/dist/tanstack/number-range-input.js +0 -2
- package/dist/tanstack/password-input.d.ts +0 -2
- package/dist/tanstack/password-input.js +0 -2
- package/dist/tanstack/radio-group.d.ts +0 -3
- package/dist/tanstack/radio-group.js +0 -2
- package/dist/tanstack/rich-text-editor.d.ts +0 -9
- package/dist/tanstack/rich-text-editor.js +0 -28
- package/dist/tanstack/select.d.ts +0 -3
- package/dist/tanstack/select.js +0 -2
- package/dist/tanstack/slider.d.ts +0 -3
- package/dist/tanstack/slider.js +0 -2
- package/dist/tanstack/switch.d.ts +0 -3
- package/dist/tanstack/switch.js +0 -2
- package/dist/tanstack/text-area.d.ts +0 -3
- package/dist/tanstack/text-area.js +0 -2
- package/dist/tanstack/time-picker.d.ts +0 -3
- package/dist/tanstack/time-picker.js +0 -2
- package/dist/tanstack/toggle-group.d.ts +0 -3
- package/dist/tanstack/toggle-group.js +0 -2
- package/dist/tanstack-Bgdv0qU1.js +0 -19
- package/dist/tanstack-CtuKX9Ss.d.ts +0 -568
- package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
- package/dist/toast.runtime-Drd2IJ_j.js +0 -17
- package/dist/toastActivation.store-BELtcr76.js +0 -16
- package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
- package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
- package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
- package/dist/useFilters-BxRScJdn.d.ts +0 -11
- package/dist/useFilters-DMi94RZK.js +0 -190
- package/dist/useForm-Cb7KWLds.js +0 -217
- package/dist/useForm-I6z23FXf.d.ts +0 -51
- package/dist/useFormAutosave-BPGlChiY.js +0 -216
- package/dist/useTableNav-H5DrogZU.d.ts +0 -215
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -1,333 +0,0 @@
|
|
|
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-CqNuZl0E.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-3DN9w6oU.js";
|
|
7
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
8
|
-
import { t as FormField } from "./FormField-dduTMkNH.js";
|
|
9
|
-
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
10
|
-
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-CJ-3Ps7j.js";
|
|
11
|
-
import { c } from "react/compiler-runtime";
|
|
12
|
-
import { Fragment, useMemo, useRef } from "react";
|
|
13
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
import { useToggleButtonGroup } from "react-aria";
|
|
15
|
-
//#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/toggle/useToggleGroupState.mjs
|
|
16
|
-
function $3d8ad31c4c1725e9$export$8deac67f4addf270(props) {
|
|
17
|
-
let { selectionMode = "single", disallowEmptySelection, isDisabled = false } = props;
|
|
18
|
-
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);
|
|
19
|
-
return {
|
|
20
|
-
selectionMode,
|
|
21
|
-
isDisabled,
|
|
22
|
-
selectedKeys,
|
|
23
|
-
setSelectedKeys,
|
|
24
|
-
toggleKey(key) {
|
|
25
|
-
let keys;
|
|
26
|
-
if (selectionMode === "multiple") {
|
|
27
|
-
keys = new Set(selectedKeys);
|
|
28
|
-
if (keys.has(key) && (!disallowEmptySelection || keys.size > 1)) keys.delete(key);
|
|
29
|
-
else keys.add(key);
|
|
30
|
-
} else keys = new Set(selectedKeys.has(key) && !disallowEmptySelection ? [] : [key]);
|
|
31
|
-
setSelectedKeys(keys);
|
|
32
|
-
},
|
|
33
|
-
setSelected(key, isSelected) {
|
|
34
|
-
if (isSelected !== selectedKeys.has(key)) this.toggleKey(key);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/components/ToggleGroup/ToggleGroupItem.tsx
|
|
40
|
-
const ToggleGroupItem = (t0) => {
|
|
41
|
-
const $ = c(24);
|
|
42
|
-
let className;
|
|
43
|
-
let icon;
|
|
44
|
-
let id;
|
|
45
|
-
let isDisabled;
|
|
46
|
-
let label;
|
|
47
|
-
let props;
|
|
48
|
-
let size;
|
|
49
|
-
if ($[0] !== t0) {
|
|
50
|
-
({label, icon, id, isDisabled, className, size, ...props} = t0);
|
|
51
|
-
$[0] = t0;
|
|
52
|
-
$[1] = className;
|
|
53
|
-
$[2] = icon;
|
|
54
|
-
$[3] = id;
|
|
55
|
-
$[4] = isDisabled;
|
|
56
|
-
$[5] = label;
|
|
57
|
-
$[6] = props;
|
|
58
|
-
$[7] = size;
|
|
59
|
-
} else {
|
|
60
|
-
className = $[1];
|
|
61
|
-
icon = $[2];
|
|
62
|
-
id = $[3];
|
|
63
|
-
isDisabled = $[4];
|
|
64
|
-
label = $[5];
|
|
65
|
-
props = $[6];
|
|
66
|
-
size = $[7];
|
|
67
|
-
}
|
|
68
|
-
const iconOnly = !!(icon && !label);
|
|
69
|
-
const toggleGroupItemCva = UIOverrides.useCva("toggleGroup.itemCva", toggleGroupItemDefinition);
|
|
70
|
-
let t1;
|
|
71
|
-
if ($[8] !== className || $[9] !== iconOnly || $[10] !== size || $[11] !== toggleGroupItemCva) {
|
|
72
|
-
t1 = toggleGroupItemCva({
|
|
73
|
-
iconOnly,
|
|
74
|
-
size,
|
|
75
|
-
className
|
|
76
|
-
});
|
|
77
|
-
$[8] = className;
|
|
78
|
-
$[9] = iconOnly;
|
|
79
|
-
$[10] = size;
|
|
80
|
-
$[11] = toggleGroupItemCva;
|
|
81
|
-
$[12] = t1;
|
|
82
|
-
} else t1 = $[12];
|
|
83
|
-
let t2;
|
|
84
|
-
if ($[13] !== icon) {
|
|
85
|
-
t2 = icon && /* @__PURE__ */ jsx(IconSlot, { icon });
|
|
86
|
-
$[13] = icon;
|
|
87
|
-
$[14] = t2;
|
|
88
|
-
} else t2 = $[14];
|
|
89
|
-
let t3;
|
|
90
|
-
if ($[15] !== label) {
|
|
91
|
-
t3 = label && /* @__PURE__ */ jsx(Typography, {
|
|
92
|
-
size: "body",
|
|
93
|
-
as: "span",
|
|
94
|
-
className: "overflow-hidden text-ellipsis text-center",
|
|
95
|
-
children: label
|
|
96
|
-
});
|
|
97
|
-
$[15] = label;
|
|
98
|
-
$[16] = t3;
|
|
99
|
-
} else t3 = $[16];
|
|
100
|
-
let t4;
|
|
101
|
-
if ($[17] !== id || $[18] !== isDisabled || $[19] !== props || $[20] !== t1 || $[21] !== t2 || $[22] !== t3) {
|
|
102
|
-
t4 = /* @__PURE__ */ jsxs($75afe627ae0cc0fa$export$d2b052e7b4be1756, {
|
|
103
|
-
...props,
|
|
104
|
-
id,
|
|
105
|
-
className: t1,
|
|
106
|
-
isDisabled,
|
|
107
|
-
children: [t2, t3]
|
|
108
|
-
});
|
|
109
|
-
$[17] = id;
|
|
110
|
-
$[18] = isDisabled;
|
|
111
|
-
$[19] = props;
|
|
112
|
-
$[20] = t1;
|
|
113
|
-
$[21] = t2;
|
|
114
|
-
$[22] = t3;
|
|
115
|
-
$[23] = t4;
|
|
116
|
-
} else t4 = $[23];
|
|
117
|
-
return t4;
|
|
118
|
-
};
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region src/components/ToggleGroup/ToggleGroup.tsx
|
|
121
|
-
const ToggleGroupBase = (t0) => {
|
|
122
|
-
const $ = c(59);
|
|
123
|
-
let className;
|
|
124
|
-
let defaultValue;
|
|
125
|
-
let error;
|
|
126
|
-
let items;
|
|
127
|
-
let onBlur;
|
|
128
|
-
let onChange;
|
|
129
|
-
let ref;
|
|
130
|
-
let rest;
|
|
131
|
-
let sizeProp;
|
|
132
|
-
let toggleGroupItemClassName;
|
|
133
|
-
let value;
|
|
134
|
-
if ($[0] !== t0) {
|
|
135
|
-
({className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, size: sizeProp, ...rest} = t0);
|
|
136
|
-
$[0] = t0;
|
|
137
|
-
$[1] = className;
|
|
138
|
-
$[2] = defaultValue;
|
|
139
|
-
$[3] = error;
|
|
140
|
-
$[4] = items;
|
|
141
|
-
$[5] = onBlur;
|
|
142
|
-
$[6] = onChange;
|
|
143
|
-
$[7] = ref;
|
|
144
|
-
$[8] = rest;
|
|
145
|
-
$[9] = sizeProp;
|
|
146
|
-
$[10] = toggleGroupItemClassName;
|
|
147
|
-
$[11] = value;
|
|
148
|
-
} else {
|
|
149
|
-
className = $[1];
|
|
150
|
-
defaultValue = $[2];
|
|
151
|
-
error = $[3];
|
|
152
|
-
items = $[4];
|
|
153
|
-
onBlur = $[5];
|
|
154
|
-
onChange = $[6];
|
|
155
|
-
ref = $[7];
|
|
156
|
-
rest = $[8];
|
|
157
|
-
sizeProp = $[9];
|
|
158
|
-
toggleGroupItemClassName = $[10];
|
|
159
|
-
value = $[11];
|
|
160
|
-
}
|
|
161
|
-
const ui = UIConfig.useConfig();
|
|
162
|
-
const size = sizeProp ?? ui.toggleGroup.size ?? ui.input.size;
|
|
163
|
-
let t1;
|
|
164
|
-
if ($[12] !== defaultValue) {
|
|
165
|
-
t1 = defaultValue === void 0 ? void 0 : defaultValue === null ? [] : Array.isArray(defaultValue) ? defaultValue : [defaultValue];
|
|
166
|
-
$[12] = defaultValue;
|
|
167
|
-
$[13] = t1;
|
|
168
|
-
} else t1 = $[13];
|
|
169
|
-
let t2;
|
|
170
|
-
if ($[14] !== value) {
|
|
171
|
-
t2 = value === void 0 ? void 0 : value === null ? [] : Array.isArray(value) ? value : [value];
|
|
172
|
-
$[14] = value;
|
|
173
|
-
$[15] = t2;
|
|
174
|
-
} else t2 = $[15];
|
|
175
|
-
let t3;
|
|
176
|
-
if ($[16] !== rest || $[17] !== t1 || $[18] !== t2) {
|
|
177
|
-
t3 = {
|
|
178
|
-
...rest,
|
|
179
|
-
defaultSelectedKeys: t1,
|
|
180
|
-
selectedKeys: t2
|
|
181
|
-
};
|
|
182
|
-
$[16] = rest;
|
|
183
|
-
$[17] = t1;
|
|
184
|
-
$[18] = t2;
|
|
185
|
-
$[19] = t3;
|
|
186
|
-
} else t3 = $[19];
|
|
187
|
-
const props = t3;
|
|
188
|
-
const buttonGroupRef = useRef(null);
|
|
189
|
-
const state = $3d8ad31c4c1725e9$export$8deac67f4addf270(props);
|
|
190
|
-
const { groupProps } = useToggleButtonGroup(props, state, buttonGroupRef);
|
|
191
|
-
const toggleGroupCva = UIOverrides.useCva("toggleGroup.cva", toggleGroupDefinition);
|
|
192
|
-
let t4;
|
|
193
|
-
if ($[20] !== error || $[21] !== props.isDisabled) {
|
|
194
|
-
t4 = {
|
|
195
|
-
error,
|
|
196
|
-
label: "",
|
|
197
|
-
hideLabel: true,
|
|
198
|
-
isDisabled: props.isDisabled
|
|
199
|
-
};
|
|
200
|
-
$[20] = error;
|
|
201
|
-
$[21] = props.isDisabled;
|
|
202
|
-
$[22] = t4;
|
|
203
|
-
} else t4 = $[22];
|
|
204
|
-
const formFieldProps = t4;
|
|
205
|
-
let t5;
|
|
206
|
-
if ($[23] !== onChange || $[24] !== props.selectionMode) {
|
|
207
|
-
t5 = (keys) => {
|
|
208
|
-
if (props.selectionMode === "multiple") onChange?.(Array.from(keys.values()));
|
|
209
|
-
else onChange?.(Array.from(keys.values())[0] ?? null);
|
|
210
|
-
};
|
|
211
|
-
$[23] = onChange;
|
|
212
|
-
$[24] = props.selectionMode;
|
|
213
|
-
$[25] = t5;
|
|
214
|
-
} else t5 = $[25];
|
|
215
|
-
const onSelectionChange = t5;
|
|
216
|
-
let t6;
|
|
217
|
-
if ($[26] !== items.length) {
|
|
218
|
-
t6 = items.length > 2 ? Array.from({ length: items.length * 2 - 1 }, _temp).join(" ") : `repeat(${items.length}, 1fr)`;
|
|
219
|
-
$[26] = items.length;
|
|
220
|
-
$[27] = t6;
|
|
221
|
-
} else t6 = $[27];
|
|
222
|
-
const gridTemplateColumns = t6;
|
|
223
|
-
let t7;
|
|
224
|
-
if ($[28] !== onBlur) {
|
|
225
|
-
t7 = (event) => {
|
|
226
|
-
if (!event.currentTarget.contains(event.relatedTarget)) onBlur?.(event);
|
|
227
|
-
};
|
|
228
|
-
$[28] = onBlur;
|
|
229
|
-
$[29] = t7;
|
|
230
|
-
} else t7 = $[29];
|
|
231
|
-
let t8;
|
|
232
|
-
if ($[30] !== className) {
|
|
233
|
-
t8 = clsx("relative w-full", className);
|
|
234
|
-
$[30] = className;
|
|
235
|
-
$[31] = t8;
|
|
236
|
-
} else t8 = $[31];
|
|
237
|
-
const t9 = ref;
|
|
238
|
-
let t10;
|
|
239
|
-
if ($[32] !== t9) {
|
|
240
|
-
t10 = $a8ea2faf2ebe4d2f$re_export$mergeRefs(t9, buttonGroupRef);
|
|
241
|
-
$[32] = t9;
|
|
242
|
-
$[33] = t10;
|
|
243
|
-
} else t10 = $[33];
|
|
244
|
-
let t11;
|
|
245
|
-
if ($[34] !== className || $[35] !== props || $[36] !== toggleGroupCva) {
|
|
246
|
-
t11 = toggleGroupCva({
|
|
247
|
-
...props,
|
|
248
|
-
className
|
|
249
|
-
});
|
|
250
|
-
$[34] = className;
|
|
251
|
-
$[35] = props;
|
|
252
|
-
$[36] = toggleGroupCva;
|
|
253
|
-
$[37] = t11;
|
|
254
|
-
} else t11 = $[37];
|
|
255
|
-
let t12;
|
|
256
|
-
if ($[38] !== gridTemplateColumns) {
|
|
257
|
-
t12 = { gridTemplateColumns };
|
|
258
|
-
$[38] = gridTemplateColumns;
|
|
259
|
-
$[39] = t12;
|
|
260
|
-
} else t12 = $[39];
|
|
261
|
-
let t13;
|
|
262
|
-
if ($[40] !== items || $[41] !== props.isDisabled || $[42] !== size || $[43] !== state || $[44] !== toggleGroupItemClassName) {
|
|
263
|
-
t13 = items.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(ToggleGroupItem, {
|
|
264
|
-
...item,
|
|
265
|
-
size,
|
|
266
|
-
className: clsx(item.className, toggleGroupItemClassName),
|
|
267
|
-
isDisabled: item.isDisabled || props.isDisabled,
|
|
268
|
-
isSelected: state.selectedKeys.has(item.id),
|
|
269
|
-
onPress: () => {
|
|
270
|
-
state.toggleKey(item.id);
|
|
271
|
-
}
|
|
272
|
-
}), index !== items.length - 1 && items.length > 2 && /* @__PURE__ */ jsx("div", {
|
|
273
|
-
className: clsx("h-5 w-px rounded-2xl", !state.selectedKeys.has(item.id) && !state.selectedKeys.has(items[index + 1].id) && "bg-border"),
|
|
274
|
-
children: /* @__PURE__ */ jsx("span", { className: "flex h-full w-px" })
|
|
275
|
-
})] }, item.id));
|
|
276
|
-
$[40] = items;
|
|
277
|
-
$[41] = props.isDisabled;
|
|
278
|
-
$[42] = size;
|
|
279
|
-
$[43] = state;
|
|
280
|
-
$[44] = toggleGroupItemClassName;
|
|
281
|
-
$[45] = t13;
|
|
282
|
-
} else t13 = $[45];
|
|
283
|
-
let t14;
|
|
284
|
-
if ($[46] !== groupProps || $[47] !== onSelectionChange || $[48] !== props || $[49] !== t10 || $[50] !== t11 || $[51] !== t12 || $[52] !== t13) {
|
|
285
|
-
t14 = /* @__PURE__ */ jsx($bc25b811ec97a172$export$40258cc1d95ff477, {
|
|
286
|
-
...props,
|
|
287
|
-
...groupProps,
|
|
288
|
-
ref: t10,
|
|
289
|
-
onSelectionChange,
|
|
290
|
-
className: t11,
|
|
291
|
-
style: t12,
|
|
292
|
-
children: t13
|
|
293
|
-
});
|
|
294
|
-
$[46] = groupProps;
|
|
295
|
-
$[47] = onSelectionChange;
|
|
296
|
-
$[48] = props;
|
|
297
|
-
$[49] = t10;
|
|
298
|
-
$[50] = t11;
|
|
299
|
-
$[51] = t12;
|
|
300
|
-
$[52] = t13;
|
|
301
|
-
$[53] = t14;
|
|
302
|
-
} else t14 = $[53];
|
|
303
|
-
let t15;
|
|
304
|
-
if ($[54] !== formFieldProps || $[55] !== t14 || $[56] !== t7 || $[57] !== t8) {
|
|
305
|
-
t15 = /* @__PURE__ */ jsx(FormField, {
|
|
306
|
-
onBlurCapture: t7,
|
|
307
|
-
...formFieldProps,
|
|
308
|
-
className: t8,
|
|
309
|
-
children: t14
|
|
310
|
-
});
|
|
311
|
-
$[54] = formFieldProps;
|
|
312
|
-
$[55] = t14;
|
|
313
|
-
$[56] = t7;
|
|
314
|
-
$[57] = t8;
|
|
315
|
-
$[58] = t15;
|
|
316
|
-
} else t15 = $[58];
|
|
317
|
-
return t15;
|
|
318
|
-
};
|
|
319
|
-
function ToggleGroup(props) {
|
|
320
|
-
const $ = c(2);
|
|
321
|
-
let t0;
|
|
322
|
-
if ($[0] !== props) {
|
|
323
|
-
t0 = /* @__PURE__ */ jsx(ToggleGroupBase, { ...props });
|
|
324
|
-
$[0] = props;
|
|
325
|
-
$[1] = t0;
|
|
326
|
-
} else t0 = $[1];
|
|
327
|
-
return t0;
|
|
328
|
-
}
|
|
329
|
-
function _temp(_, i) {
|
|
330
|
-
return i % 2 === 0 ? "1fr" : "auto";
|
|
331
|
-
}
|
|
332
|
-
//#endregion
|
|
333
|
-
export { ToggleGroupBase as n, ToggleGroup as t };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { n as ToggleGroupVariantProps, t as ToggleGroupItemVariantProps } from "./toggleGroup.cva-DA4U21gn.js";
|
|
2
|
-
import { FC, FocusEventHandler, ReactElement, Ref, SVGProps } from "react";
|
|
3
|
-
import { Key, ToggleButtonGroupProps, ToggleButtonProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/ToggleGroup/toggleGroup.types.d.ts
|
|
5
|
-
interface ToggleGroupItem<TKey extends Key = Key> extends ToggleButtonProps, ToggleGroupItemVariantProps {
|
|
6
|
-
id: TKey;
|
|
7
|
-
label?: string;
|
|
8
|
-
icon?: FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
9
|
-
}
|
|
10
|
-
interface SingleToggleGroupProps<TKey extends Key = Key> {
|
|
11
|
-
selectionMode?: "single";
|
|
12
|
-
value?: TKey | undefined | null;
|
|
13
|
-
onChange?: (value: TKey | null) => void;
|
|
14
|
-
defaultValue?: TKey | null;
|
|
15
|
-
}
|
|
16
|
-
interface MultiToggleGroupProps<TKey extends Key = Key> {
|
|
17
|
-
selectionMode: "multiple";
|
|
18
|
-
value?: TKey[];
|
|
19
|
-
onChange?: (value: TKey[]) => void;
|
|
20
|
-
defaultValue?: TKey[] | null;
|
|
21
|
-
}
|
|
22
|
-
type GroupedToggleGroupProps<TKey extends Key = Key> = MultiToggleGroupProps<TKey> | SingleToggleGroupProps<TKey>;
|
|
23
|
-
type ToggleGroupProps<TKey extends Key = Key> = Omit<ToggleButtonGroupProps & ToggleGroupVariantProps, "children" | "onSelectionChange" | "selectedKeys" | "defaultSelectedKeys"> & {
|
|
24
|
-
ref?: Ref<HTMLElement>;
|
|
25
|
-
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
26
|
-
items: ToggleGroupItem<TKey>[];
|
|
27
|
-
className?: string;
|
|
28
|
-
toggleGroupItemClassName?: string;
|
|
29
|
-
/** Item height. Falls back to `UIConfig.toggleGroup.size`, then `UIConfig.input.size`. */
|
|
30
|
-
size?: ToggleGroupItemVariantProps["size"];
|
|
31
|
-
error?: string;
|
|
32
|
-
} & GroupedToggleGroupProps<TKey> & {
|
|
33
|
-
field?: never;
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
37
|
-
declare const ToggleGroupBase: <TKey extends Key = Key>({ className, ref, onBlur, items, error, onChange, value, defaultValue, toggleGroupItemClassName, size: sizeProp, ...rest }: ToggleGroupProps<TKey>) => import("react").JSX.Element;
|
|
38
|
-
declare function ToggleGroup<TKey extends Key = Key>(props: ToggleGroupProps<TKey> & {
|
|
39
|
-
field?: never;
|
|
40
|
-
}): import("react").JSX.Element;
|
|
41
|
-
//#endregion
|
|
42
|
-
export { ToggleGroupProps as a, SingleToggleGroupProps as i, ToggleGroupBase as n, MultiToggleGroupProps as r, ToggleGroup as t };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
|
|
2
|
-
import { a as ToggleGroupProps$1, i as SingleToggleGroupProps, r as MultiToggleGroupProps } from "./ToggleGroup-DvjnSinl.js";
|
|
3
|
-
import { Key } from "react-aria-components";
|
|
4
|
-
//#region src/components/ToggleGroup/ToggleGroup.bound.d.ts
|
|
5
|
-
type ControlledToggleGroupProps<TFieldValues extends FieldValues, TKey extends Key = Key> = FormControlProps<ToggleGroupProps$1<TKey> & SingleToggleGroupProps<TKey>, TFieldValues> | FormControlProps<ToggleGroupProps$1<TKey> & MultiToggleGroupProps<TKey>, TFieldValues>;
|
|
6
|
-
declare const ToggleGroup: <TFieldValues extends FieldValues, TKey extends Key = Key>(props: ControlledToggleGroupProps<TFieldValues, TKey>) => import("react").JSX.Element;
|
|
7
|
-
type ToggleGroupProps<TFieldValues extends FieldValues = FieldValues, TKey extends Key = Key> = ControlledToggleGroupProps<TFieldValues, TKey>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { ToggleGroup as n, ToggleGroupProps as r, ControlledToggleGroupProps as t };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-DOR5gIQf.js";
|
|
3
|
-
import { n as ToggleGroupBase } from "./ToggleGroup-CrDoeLN0.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
//#region src/components/ToggleGroup/ToggleGroup.bound.tsx
|
|
7
|
-
const ToggleGroup = (props) => {
|
|
8
|
-
const $ = c(16);
|
|
9
|
-
let field;
|
|
10
|
-
let innerProps;
|
|
11
|
-
let ref;
|
|
12
|
-
if ($[0] !== props) {
|
|
13
|
-
({field, ref, ...innerProps} = props);
|
|
14
|
-
$[0] = props;
|
|
15
|
-
$[1] = field;
|
|
16
|
-
$[2] = innerProps;
|
|
17
|
-
$[3] = ref;
|
|
18
|
-
} else {
|
|
19
|
-
field = $[1];
|
|
20
|
-
innerProps = $[2];
|
|
21
|
-
ref = $[3];
|
|
22
|
-
}
|
|
23
|
-
let t0;
|
|
24
|
-
if ($[4] !== innerProps || $[5] !== props.error || $[6] !== props.isDisabled || $[7] !== props.selectionMode || $[8] !== ref) {
|
|
25
|
-
t0 = (t1) => {
|
|
26
|
-
const { field: field_0, fieldState: t2 } = t1;
|
|
27
|
-
const { error } = t2;
|
|
28
|
-
return /* @__PURE__ */ jsx(ToggleGroupBase, {
|
|
29
|
-
...innerProps,
|
|
30
|
-
ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field_0.ref),
|
|
31
|
-
value: field_0.value ?? (props.selectionMode === "multiple" ? [] : null),
|
|
32
|
-
onChange: (value) => {
|
|
33
|
-
field_0.onChange(value);
|
|
34
|
-
field_0.onValueCommit();
|
|
35
|
-
},
|
|
36
|
-
onBlur: field_0.onBlur,
|
|
37
|
-
isDisabled: field_0.disabled || props.isDisabled,
|
|
38
|
-
error: props.error ?? error?.message
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
$[4] = innerProps;
|
|
42
|
-
$[5] = props.error;
|
|
43
|
-
$[6] = props.isDisabled;
|
|
44
|
-
$[7] = props.selectionMode;
|
|
45
|
-
$[8] = ref;
|
|
46
|
-
$[9] = t0;
|
|
47
|
-
} else t0 = $[9];
|
|
48
|
-
let t1;
|
|
49
|
-
if ($[10] !== field.form || $[11] !== field.name || $[12] !== field.onBlur || $[13] !== field.onValueChange || $[14] !== t0) {
|
|
50
|
-
t1 = /* @__PURE__ */ jsx(FieldController, {
|
|
51
|
-
control: field.form,
|
|
52
|
-
name: field.name,
|
|
53
|
-
onValueChange: field.onValueChange,
|
|
54
|
-
onBlur: field.onBlur,
|
|
55
|
-
render: t0
|
|
56
|
-
});
|
|
57
|
-
$[10] = field.form;
|
|
58
|
-
$[11] = field.name;
|
|
59
|
-
$[12] = field.onBlur;
|
|
60
|
-
$[13] = field.onValueChange;
|
|
61
|
-
$[14] = t0;
|
|
62
|
-
$[15] = t1;
|
|
63
|
-
} else t1 = $[15];
|
|
64
|
-
return t1;
|
|
65
|
-
};
|
|
66
|
-
//#endregion
|
|
67
|
-
export { ToggleGroup as t };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { i as TooltipVariantProps } from "./style-definitions-Dx6aFDiR.js";
|
|
2
|
-
import { PropsWithChildren, ReactNode } from "react";
|
|
3
|
-
import { TooltipProps } from "react-aria-components";
|
|
4
|
-
//#region src/components/overlays/Tooltip/Tooltip.d.ts
|
|
5
|
-
interface TooltipProps$1 extends PropsWithChildren<TooltipProps>, TooltipVariantProps {
|
|
6
|
-
text: ReactNode;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
delay?: number;
|
|
9
|
-
closeDelay?: number;
|
|
10
|
-
isNonInteractiveTrigger?: boolean;
|
|
11
|
-
triggerClassName?: string;
|
|
12
|
-
triggerTabIndex?: number;
|
|
13
|
-
}
|
|
14
|
-
declare const Tooltip: ({ children, text, isDisabled, delay, closeDelay, color, isNonInteractiveTrigger, triggerClassName, triggerTabIndex, ...tooltipProps }: TooltipProps$1) => import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { TooltipProps$1 as n, Tooltip as t };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { JSX, ReactNode, Ref } from "react";
|
|
2
|
-
//#region src/components/overlays/Tooltip/TooltipEllipsis.d.ts
|
|
3
|
-
interface TooltipEllipsisProps {
|
|
4
|
-
text: ReactNode;
|
|
5
|
-
children: (ref: Ref<HTMLElement> | undefined) => JSX.Element;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
isNonInteractiveTrigger?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const TooltipEllipsis: ({ text, children, isDisabled, isNonInteractiveTrigger }: TooltipEllipsisProps) => JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { TooltipEllipsisProps as n, TooltipEllipsis as t };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
|
|
2
|
-
import "./style-definitions-Dx6aFDiR.js";
|
|
3
|
-
import "./typography.cva-BCHlTHdM.js";
|
|
4
|
-
//#region src/components/buttons/BadgeButton/badgeButton.cva.d.ts
|
|
5
|
-
declare const badgeButtonDefinition: {
|
|
6
|
-
base: string[];
|
|
7
|
-
config: StyleMergeUtils.Config<{
|
|
8
|
-
readonly color: {
|
|
9
|
-
readonly primary: "";
|
|
10
|
-
readonly secondary: "";
|
|
11
|
-
readonly success: "";
|
|
12
|
-
readonly warning: "";
|
|
13
|
-
readonly error: "";
|
|
14
|
-
};
|
|
15
|
-
readonly hasIcon: {
|
|
16
|
-
readonly true: "px-2";
|
|
17
|
-
readonly false: "px-2";
|
|
18
|
-
};
|
|
19
|
-
readonly variant: {
|
|
20
|
-
readonly contained: "";
|
|
21
|
-
readonly solid: "";
|
|
22
|
-
readonly outlined: "";
|
|
23
|
-
readonly outline: "";
|
|
24
|
-
readonly subtle: "";
|
|
25
|
-
};
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
type BadgeButtonConfig = NonNullable<typeof badgeButtonDefinition.config>;
|
|
29
|
-
interface BadgeButtonVariants extends Omit<UIOverrides.VariantProps<BadgeButtonConfig>, "hasIcon"> {}
|
|
30
|
-
declare const badgeButtonContentDefinition: {
|
|
31
|
-
base: string[];
|
|
32
|
-
config: StyleMergeUtils.Config<{
|
|
33
|
-
readonly iconPosition: {
|
|
34
|
-
readonly left: "";
|
|
35
|
-
readonly right: "";
|
|
36
|
-
readonly none: "";
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
export { badgeButtonContentDefinition as n, badgeButtonDefinition as r, BadgeButtonVariants as t };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
|
|
2
|
-
import "./style-definitions-Dx6aFDiR.js";
|
|
3
|
-
import "./typography.cva-BCHlTHdM.js";
|
|
4
|
-
//#region src/components/buttons/Button/button.cva.d.ts
|
|
5
|
-
declare const buttonDefinition: {
|
|
6
|
-
base: string[];
|
|
7
|
-
config: StyleMergeUtils.Config<{
|
|
8
|
-
readonly width: {
|
|
9
|
-
readonly fill: "w-full";
|
|
10
|
-
readonly hug: "";
|
|
11
|
-
};
|
|
12
|
-
readonly size: {
|
|
13
|
-
readonly s: "";
|
|
14
|
-
readonly sm: "";
|
|
15
|
-
readonly default: "";
|
|
16
|
-
readonly none: "";
|
|
17
|
-
};
|
|
18
|
-
readonly color: {
|
|
19
|
-
readonly primary: "";
|
|
20
|
-
readonly secondary: "";
|
|
21
|
-
readonly error: "";
|
|
22
|
-
readonly dual: "";
|
|
23
|
-
};
|
|
24
|
-
readonly variant: {
|
|
25
|
-
readonly contained: "";
|
|
26
|
-
readonly solid: "";
|
|
27
|
-
readonly outlined: "";
|
|
28
|
-
readonly outline: "";
|
|
29
|
-
readonly subtle: "";
|
|
30
|
-
readonly text: "group-data-[split]/split:data-[separator]:after:hidden";
|
|
31
|
-
readonly ghost: "group-data-[split]/split:data-[separator]:after:hidden";
|
|
32
|
-
};
|
|
33
|
-
readonly inverted: {
|
|
34
|
-
readonly true: "";
|
|
35
|
-
readonly false: "";
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
};
|
|
39
|
-
type ButtonConfig = NonNullable<typeof buttonDefinition.config>;
|
|
40
|
-
interface ButtonVariantProps extends UIOverrides.VariantProps<ButtonConfig> {}
|
|
41
|
-
declare const buttonSizeDefinition: {
|
|
42
|
-
base: string[];
|
|
43
|
-
config: StyleMergeUtils.Config<{
|
|
44
|
-
readonly size: {
|
|
45
|
-
readonly s: "rounded-md";
|
|
46
|
-
readonly sm: "rounded-md";
|
|
47
|
-
readonly default: "rounded-md";
|
|
48
|
-
readonly none: "p-0";
|
|
49
|
-
};
|
|
50
|
-
readonly iconOnly: {
|
|
51
|
-
readonly true: "";
|
|
52
|
-
readonly false: "";
|
|
53
|
-
};
|
|
54
|
-
readonly iconPosition: {
|
|
55
|
-
readonly left: "";
|
|
56
|
-
readonly right: "";
|
|
57
|
-
readonly none: "";
|
|
58
|
-
};
|
|
59
|
-
}>;
|
|
60
|
-
};
|
|
61
|
-
declare const buttonContentDefinition: {
|
|
62
|
-
base: string[];
|
|
63
|
-
config: StyleMergeUtils.Config<{
|
|
64
|
-
readonly size: {
|
|
65
|
-
readonly s: "gap-1.5";
|
|
66
|
-
readonly sm: "gap-1.5";
|
|
67
|
-
readonly default: "gap-2";
|
|
68
|
-
readonly none: "gap-1.5";
|
|
69
|
-
};
|
|
70
|
-
readonly iconPosition: {
|
|
71
|
-
readonly left: "";
|
|
72
|
-
readonly right: "";
|
|
73
|
-
readonly none: "";
|
|
74
|
-
};
|
|
75
|
-
readonly iconOnly: {
|
|
76
|
-
readonly true: "";
|
|
77
|
-
readonly false: "";
|
|
78
|
-
};
|
|
79
|
-
}>;
|
|
80
|
-
};
|
|
81
|
-
type ButtonContentConfig = NonNullable<typeof buttonContentDefinition.config>;
|
|
82
|
-
declare const buttonIconSizeDefinition: {
|
|
83
|
-
base: string[];
|
|
84
|
-
config: StyleMergeUtils.Config<{
|
|
85
|
-
readonly size: {
|
|
86
|
-
readonly s: "size-4";
|
|
87
|
-
readonly sm: "size-4";
|
|
88
|
-
readonly default: "size-4";
|
|
89
|
-
readonly none: "size-4";
|
|
90
|
-
};
|
|
91
|
-
}>;
|
|
92
|
-
};
|
|
93
|
-
//#endregion
|
|
94
|
-
export { buttonIconSizeDefinition as a, buttonDefinition as i, ButtonVariantProps as n, buttonSizeDefinition as o, buttonContentDefinition as r, ButtonContentConfig as t };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { n as StyleMergeUtils, t as UIOverrides } from "./uiOverrides.context-DHHzLSnq.js";
|
|
2
|
-
import "./style-definitions-Dx6aFDiR.js";
|
|
3
|
-
import "./typography.cva-BCHlTHdM.js";
|
|
4
|
-
//#region src/components/inputs/Checkbox/checkbox.cva.d.ts
|
|
5
|
-
declare const checkboxDefinition: {
|
|
6
|
-
base: string[];
|
|
7
|
-
config: StyleMergeUtils.Config<{
|
|
8
|
-
readonly variant: {
|
|
9
|
-
default: ["border-input text-primary-foreground dark:bg-input/30", "group-selected:border-primary group-selected:bg-primary dark:group-selected:bg-primary", "group-indeterminate:border-primary group-indeterminate:bg-primary dark:group-indeterminate:bg-primary", "group-not-selected:group-not-indeterminate:group-not-invalid:group-focus-visible:border-ring", "group-not-selected:group-not-indeterminate:group-invalid:border-destructive"];
|
|
10
|
-
};
|
|
11
|
-
}>;
|
|
12
|
-
};
|
|
13
|
-
type CheckboxConfig = NonNullable<typeof checkboxDefinition.config>;
|
|
14
|
-
interface CheckboxVariantProps extends UIOverrides.VariantProps<CheckboxConfig> {}
|
|
15
|
-
declare const checkboxContentWrapperDefinition: {
|
|
16
|
-
base: string[];
|
|
17
|
-
config: StyleMergeUtils.Config<{
|
|
18
|
-
readonly variant: {
|
|
19
|
-
readonly default: "";
|
|
20
|
-
};
|
|
21
|
-
readonly size: {
|
|
22
|
-
readonly small: "";
|
|
23
|
-
readonly default: "";
|
|
24
|
-
};
|
|
25
|
-
readonly as: {
|
|
26
|
-
readonly default: "flex-col";
|
|
27
|
-
readonly floating: "flex-col";
|
|
28
|
-
readonly filter: "flex-row flex-wrap items-center gap-2";
|
|
29
|
-
readonly inline: "flex-row flex-wrap items-center gap-2";
|
|
30
|
-
};
|
|
31
|
-
readonly hasInputFrame: {
|
|
32
|
-
readonly true: "gap-2";
|
|
33
|
-
readonly false: "";
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
};
|
|
37
|
-
declare const checkboxGroupLabelDefinition: {
|
|
38
|
-
base: string[];
|
|
39
|
-
config: StyleMergeUtils.Config<{
|
|
40
|
-
readonly as: {
|
|
41
|
-
readonly default: "";
|
|
42
|
-
readonly floating: ["pointer-events-none absolute", "top-[0.5625rem]", "text-foreground", "font-medium!", "text-xs!"];
|
|
43
|
-
readonly filter: "";
|
|
44
|
-
readonly inline: "";
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
};
|
|
48
|
-
declare const checkboxContentRowDefinition: {
|
|
49
|
-
base: string[];
|
|
50
|
-
config: StyleMergeUtils.Config<{
|
|
51
|
-
readonly variant: {
|
|
52
|
-
readonly default: "";
|
|
53
|
-
};
|
|
54
|
-
readonly as: {
|
|
55
|
-
readonly default: "flex-col";
|
|
56
|
-
readonly floating: "flex-col";
|
|
57
|
-
readonly filter: "flex-row flex-wrap items-center gap-2";
|
|
58
|
-
readonly inline: "flex-row flex-wrap items-center gap-2";
|
|
59
|
-
};
|
|
60
|
-
readonly hasInputFrame: {
|
|
61
|
-
readonly true: "gap-2";
|
|
62
|
-
readonly false: "";
|
|
63
|
-
};
|
|
64
|
-
}>;
|
|
65
|
-
};
|
|
66
|
-
declare const checkboxIconDefinition: {
|
|
67
|
-
base: string[];
|
|
68
|
-
config: StyleMergeUtils.Config<{
|
|
69
|
-
readonly iconVariant: {
|
|
70
|
-
selected: ["group-selected:group-not-indeterminate:block"];
|
|
71
|
-
indeterminate: ["group-indeterminate:block"];
|
|
72
|
-
};
|
|
73
|
-
}>;
|
|
74
|
-
};
|
|
75
|
-
//#endregion
|
|
76
|
-
export { checkboxGroupLabelDefinition as a, checkboxDefinition as i, checkboxContentRowDefinition as n, checkboxIconDefinition as o, checkboxContentWrapperDefinition as r, CheckboxVariantProps as t };
|