@povio/ui 6.0.0-rc.12 → 6.0.0-rc.14
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 +523 -42
- package/dist/{Accordion-ORBin0EZ.js → Accordion-BNHpv7Zj.js} +42 -42
- package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
- package/dist/Alert-xHGPLUpt.d.ts +36 -0
- package/dist/AlertDialog-CKcUZ6l9.d.ts +70 -0
- package/dist/Autocomplete-CkWTSFoj.d.ts +123 -0
- package/dist/Autocomplete-CrNDRxvg.js +319 -0
- package/dist/Badge-B25YEMEw.d.ts +67 -0
- package/dist/BottomSheet-CtcPZG82.d.ts +65 -0
- package/dist/{BottomSheet-CGipksM_.js → BottomSheet-tUXH3NjS.js} +9 -9
- package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
- package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +6 -3
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-D8WXqOLN.js} +36 -20
- package/dist/{Button-BaODzvZd.js → Button-C1Jv1Plk.js} +1 -1
- package/dist/{Button-0SswSdDg.d.ts → Button-DDuk3hJ3.d.ts} +2 -2
- package/dist/{Button-C1YB5dOw.js → Button-DF6sbTuF.js} +3 -7
- package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-BYJz1JkH.js} +12 -20
- package/dist/ButtonBase-Bn_FT89h.d.ts +47 -0
- package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
- package/dist/{Calendar-yaQubCWK.js → Calendar-DdneUEhM.js} +71 -35
- package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-BY0kLoYH.js} +7 -7
- package/dist/Checkbox-Bwl6MA-V.d.ts +49 -0
- package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-E2bns_n0.js} +40 -14
- package/dist/CheckboxCheckmark-Beu8T1g9.js +42 -0
- package/dist/CheckboxGroup-0rzsn-bA.d.ts +52 -0
- package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-C7epIEpW.js} +75 -35
- package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
- package/dist/ColumnListContent-Dzze5R7T.js +133 -0
- package/dist/DatePicker-B70SCKfT.d.ts +80 -0
- package/dist/{DatePicker-bme8zGBo.js → DatePicker-BU-34fCk.js} +117 -46
- package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
- package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-CMEJmZSQ.js} +41 -30
- package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-D0RtqeBM.js} +90 -162
- package/dist/DateRangePicker-jovxcWGk.d.ts +102 -0
- package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-Cbdt76CL.js} +94 -40
- package/dist/DateTimePicker-Cfi3ruFy.d.ts +83 -0
- package/dist/Dialog-BWNQjIgo.d.ts +66 -0
- package/dist/{Dialog-C9H9_BmK.js → Dialog-Bpwr1nuy.js} +15 -15
- package/dist/{Dialog-DN5703sy.js → Dialog-ebjPH22i.js} +23 -19
- package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-D_aym2zh.js} +3 -3
- package/dist/Drawer-o018RqIt.d.ts +42 -0
- package/dist/DropdownMenu-3V-G7fZ7.d.ts +51 -0
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-C4WitobV.js} +33 -21
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BM7659Sk.js} +14 -8
- package/dist/{FileInput-BUwtAF2-.js → FileInput-Bc_E1M1X.js} +76 -81
- package/dist/FileInput-CWRW7OzZ.d.ts +61 -0
- package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
- package/dist/FileUpload-DVnp9xxv.d.ts +181 -0
- package/dist/FileUpload-Dk6ZmgWF.js +1105 -0
- package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
- package/dist/FormField-BgiWLGjf.d.ts +70 -0
- package/dist/{FormField-dduTMkNH.js → FormField-DOZ7eXjA.js} +11 -11
- package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
- package/dist/FormFieldHeaderTooltip-DW9sqJWl.js +22 -0
- package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
- package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
- package/dist/IconButton-Bjjf5cQL.d.ts +24 -0
- package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
- package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
- package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
- package/dist/{Input-CG5LQ0zs.js → Input-CvYyjMWx.js} +95 -60
- package/dist/Input-lppNS8wM.d.ts +56 -0
- package/dist/{InputContent-Fx2E4UXl.js → InputContent-B5YjsLDE.js} +15 -13
- package/dist/InputContent-Bgalf6R1.d.ts +39 -0
- package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
- package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
- package/dist/Link-HJ4y-xiW.d.ts +15 -0
- package/dist/{ListBox-DhR5kojP.js → ListBox-Ck-B1Jae.js} +9 -9
- package/dist/{Modal-DcLWF9cB.js → Modal-xT-Wz5GH.js} +3 -3
- package/dist/{NumberField-DxuikBcr.js → NumberField-BXLzNb2T.js} +92 -63
- package/dist/NumberField-Q-4y3jpb.d.ts +41 -0
- package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
- package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BBzZCC54.js} +153 -102
- package/dist/NumberRangeInput-DuWOdSdU.d.ts +89 -0
- package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
- package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-jVaC3Z9L.d.ts} +6 -5
- package/dist/PasswordInput-DtTnGHRD.d.ts +16 -0
- package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-U0QhNsMp.js} +6 -6
- package/dist/Popover-ClCEOP3e.d.ts +51 -0
- package/dist/Progress-DlXY0dv_.js +180 -0
- package/dist/Progress-VkkXbIh7.d.ts +26 -0
- package/dist/ProgressBar-mpNpV7ow.js +46 -0
- package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-BPPJyA1s.js} +72 -32
- package/dist/RadioGroup-BbcrP56w.d.ts +52 -0
- package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DIVjIl0T.js} +12 -10
- package/dist/Select-D1qIWZCv.d.ts +248 -0
- package/dist/{Select-BM8PNrjC.js → Select-DlbVDCz8.js} +452 -191
- package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-CCr5YY86.js} +55 -43
- package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
- package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
- package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-CIpFJGOa.js} +283 -366
- package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +31 -17
- package/dist/Slider-CLViwkE1.d.ts +57 -0
- package/dist/{Slider-DCsCCPFx.js → Slider-_RsgBJcg.js} +72 -15
- package/dist/Spinner-GMEauCHv.d.ts +13 -0
- package/dist/SplitButton-BdP4xjFQ.d.ts +25 -0
- package/dist/{Stepper-Dyhxp0Tl.js → Stepper-D4z7JNsD.js} +116 -88
- package/dist/Stepper-DBb0qfla.d.ts +49 -0
- package/dist/{Switch-BfpSMMpv.js → Switch-Bi3_bUw1.js} +56 -14
- package/dist/Switch-DCxONL2Q.d.ts +42 -0
- package/dist/TableDnd-CG1yOlxh.js +238 -0
- package/dist/TableDragHandle-CXApnuUm.js +51 -0
- package/dist/{TabsFilters-DybNturW.js → TabsFilters-BPogry73.js} +46 -35
- package/dist/TabsFilters-CPfGBODw.d.ts +59 -0
- package/dist/Tag-xhcJOv_X.d.ts +26 -0
- package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
- package/dist/TextArea-BYX9Kk_v.d.ts +33 -0
- package/dist/{TextArea-Blsip3ZC.js → TextArea-CuJS3-Nv.js} +62 -35
- package/dist/{TimePicker-4hV5zbgd.js → TimePicker-ByfjqkLp.js} +120 -56
- package/dist/TimePicker-UTo9C6gz.d.ts +64 -0
- package/dist/TimePickerForm-CaIHR0PV.js +532 -0
- package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-tr7Zxahc.js} +4 -4
- package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-BX8o7ECO.d.ts} +2 -2
- package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
- package/dist/ToggleGroup-18c-FZ_r.js +500 -0
- package/dist/ToggleGroup-UazUtgU1.d.ts +95 -0
- package/dist/{Tooltip-DRB6lo0U.js → Tooltip-Dl3sf8fq.js} +5 -5
- package/dist/Tooltip-FcJ29dhq.d.ts +33 -0
- package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
- package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-bvNpM6ku.js} +6 -6
- package/dist/{Typography-DJojwiXV.d.ts → Typography-auHWN282.d.ts} +5 -1
- package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-C9mE8CMf.js} +23 -24
- package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
- package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
- package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
- package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
- package/dist/columnConfig.cva-CERwSZRN.js +29 -0
- 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 +166 -81
- package/dist/components/bottom-sheet-header.d.ts +1 -1
- package/dist/components/bottom-sheet-header.js +25 -21
- 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 +31 -28
- 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 +2 -2
- 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 +3 -3
- package/dist/components/style-definitions.js +62 -20
- 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 +2 -2
- 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-overrides.d.ts +1 -1
- package/dist/config/ui-router.d.ts +1 -1
- package/dist/config/ui-router.js +1 -1
- package/dist/confirmation.context-C_-uADGJ.js +93 -0
- package/dist/confirmation.context-DkWyR2aT.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-CP6vV22I.js} +68 -39
- package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
- 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-SrF6v406.js} +3 -3
- package/dist/form-field-C735uXsi.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-D8vXIoiq.js → i18n-DaIHnR2n.js} +123 -9
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-xXkHgzet.d.ts} +124 -4
- package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
- package/dist/{import-C7W0Wv2r.js → import-Cz8NlFqm.js} +40 -16
- package/dist/index.d.ts +66 -84
- package/dist/index.js +57 -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/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
- package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
- package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
- package/dist/link.context-BxVK2yQ5.d.ts +20 -0
- package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
- package/dist/link.cva-ZhpQz3P0.d.ts +2277 -0
- 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/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
- package/dist/sidebar.cva-BgxTCejU.js +150 -0
- package/dist/spinner.cva-j4kGmIWC.js +17 -0
- package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BgUrcqXD.js} +379 -94
- package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
- package/dist/styles/input.d.ts +1 -1
- package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
- package/dist/tableCells.cva-Br0_kgRM.js +18 -0
- package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
- package/dist/tableVirtualStore-whSmFzTV.js +67 -0
- package/dist/tanstack/form.d.ts +3 -3
- package/dist/tanstack/form.js +3 -3
- package/dist/tanstack/table-context.d.ts +2 -0
- package/dist/tanstack/table-context.js +2 -0
- package/dist/tanstack/table-types.d.ts +55 -0
- package/dist/tanstack/table.d.ts +5 -3
- package/dist/tanstack/table.js +3 -2
- package/dist/tanstack-JB8VmS9j.js +73 -0
- package/dist/tanstack-cQOW9-Q2.d.ts +165 -0
- package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
- package/dist/tanstack-table-M1M26UQJ.js +5299 -0
- package/dist/tanstack.d.ts +66 -84
- package/dist/tanstack.js +57 -92
- package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-DusQwZw-.js} +13 -9
- package/dist/toast.runtime-ZN5q4T9X.js +25 -0
- package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
- package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-NWmBJ2Hc.js} +72 -10
- package/dist/uiConfig.context-ykH4E2js.d.ts +19 -0
- package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
- package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-DkIjhlce.js} +142 -37
- package/dist/useAsyncList-F-328rtE.d.ts +25 -0
- package/dist/useAutoFocus-K-bfNxa2.js +16 -0
- package/dist/useBreakpoint-BPrZNuNl.d.ts +9 -0
- package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-DtYSRweq.js} +6 -2
- package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
- package/dist/useDebounceCallback-C7YKfjXW.js +96 -0
- package/dist/useFilters-CybBXUAA.js +217 -0
- package/dist/useFilters-DrfBFNLw.d.ts +57 -0
- package/dist/useFormAutosave-BzCGqFqi.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-npiqOvyB.js} +107 -6
- package/dist/useRemoveButton-zhlA1Pbc.js +98 -0
- package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
- package/dist/useResolveDateRangePreset-k_h_XJBG.js +26 -0
- package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-4pieApqz.js} +1 -1
- package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
- package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
- package/dist/useToast-BHqkSByv.d.ts +78 -0
- package/dist/useToast-DgqC6Ta_.js +63 -0
- package/dist/utils/file.d.ts +1 -1
- package/dist/utils/file.js +1 -1
- package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
- package/llms.txt +3201 -0
- package/package.json +22 -118
- 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/TimePickerForm-DD9VA_td.js +0 -225
- 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/uiConfig.context-BnCORTNm.d.ts +0 -132
- 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/useTableColumnConfig-CXYgj5xi.js +0 -1906
- package/dist/useTableNav-BusSFEVC.d.ts +0 -197
- package/dist/useToast-DsA8CVoY.d.ts +0 -16
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ObjectUtils, t as isEqual } from "./isEqual-
|
|
2
|
-
import { Calendar, CalendarClock, Clock } from "lucide-react";
|
|
1
|
+
import { n as ObjectUtils, t as isEqual } from "./isEqual-BdJdNr5O.js";
|
|
3
2
|
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { createContext, use, useEffect, useLayoutEffect, useMemo, useRef } from "react";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { ArrowDown, ArrowUp, ArrowUpDown, Calendar, CalendarClock, Clock, Columns3 } from "lucide-react";
|
|
6
6
|
//#region src/hooks/useDeepCompare.ts
|
|
7
7
|
const useDeepCompareEffect = (callback, dependencies) => {
|
|
8
8
|
return useEffect(callback, useDeepCompareDeps(dependencies));
|
|
@@ -37,7 +37,7 @@ let UIConfig;
|
|
|
37
37
|
} },
|
|
38
38
|
input: {
|
|
39
39
|
variant: "outlined",
|
|
40
|
-
|
|
40
|
+
layout: "default",
|
|
41
41
|
size: "default",
|
|
42
42
|
isClearable: false,
|
|
43
43
|
hideLabel: false,
|
|
@@ -61,7 +61,6 @@ let UIConfig;
|
|
|
61
61
|
fireBlurOnChange: false
|
|
62
62
|
},
|
|
63
63
|
select: {
|
|
64
|
-
selectionMode: "single",
|
|
65
64
|
isSearchable: false,
|
|
66
65
|
isScrollPreventDisabled: false,
|
|
67
66
|
selectedTagsType: "list",
|
|
@@ -69,8 +68,7 @@ let UIConfig;
|
|
|
69
68
|
hideSearchIcon: false,
|
|
70
69
|
multiSelectAutoConfirm: false,
|
|
71
70
|
searchDebounceDelay: 500,
|
|
72
|
-
fireBlurOnChange: false
|
|
73
|
-
renderStaticInput: true
|
|
71
|
+
fireBlurOnChange: false
|
|
74
72
|
},
|
|
75
73
|
switch: {
|
|
76
74
|
variant: "default",
|
|
@@ -81,6 +79,8 @@ let UIConfig;
|
|
|
81
79
|
maxValue: 100
|
|
82
80
|
},
|
|
83
81
|
dateInput: {
|
|
82
|
+
hourWheelSensitivity: 1,
|
|
83
|
+
minuteWheelSensitivity: 1,
|
|
84
84
|
showWeekNumbers: false,
|
|
85
85
|
todayIcon: false,
|
|
86
86
|
todayIconButtonSize: "sm",
|
|
@@ -98,10 +98,11 @@ let UIConfig;
|
|
|
98
98
|
shouldUpdateDateOnMonthYearChange: false,
|
|
99
99
|
allowPartialRange: false,
|
|
100
100
|
fireBlurOnChange: false,
|
|
101
|
-
dateRangeOptions: []
|
|
101
|
+
dateRangeOptions: [],
|
|
102
|
+
keepOutOfRangeEntry: false
|
|
102
103
|
},
|
|
103
104
|
alertDialog: {
|
|
104
|
-
|
|
105
|
+
headingTypography: {
|
|
105
106
|
size: "h3",
|
|
106
107
|
className: "font-semibold leading-none"
|
|
107
108
|
},
|
|
@@ -118,14 +119,75 @@ let UIConfig;
|
|
|
118
119
|
},
|
|
119
120
|
table: {
|
|
120
121
|
variant: "inner",
|
|
121
|
-
rowDetailsMode: "drawer"
|
|
122
|
+
rowDetailsMode: "drawer",
|
|
123
|
+
scroll: "table",
|
|
124
|
+
pageScrollContainer: true,
|
|
125
|
+
columnLayout: "natural",
|
|
126
|
+
unresizableDefaultColumnSize: null,
|
|
127
|
+
enableColumnResizing: false,
|
|
128
|
+
defaultColumnSize: 150,
|
|
129
|
+
minColumnWidth: 60,
|
|
130
|
+
enableRowSelection: false,
|
|
131
|
+
enableMultiRowSelection: true,
|
|
132
|
+
showSelectionColumn: true,
|
|
133
|
+
selectRowOnClick: true,
|
|
134
|
+
rowKeyboardActivation: false,
|
|
135
|
+
enableCellNavigation: true,
|
|
136
|
+
enableArrowKeyRowNavigation: false,
|
|
137
|
+
highlightSelectedRows: true,
|
|
138
|
+
highlightFocusedRows: true,
|
|
139
|
+
enableSortingRemoval: true,
|
|
140
|
+
resetPageIndexOnSorting: false,
|
|
141
|
+
memoizeRows: false,
|
|
142
|
+
cellValueFromColumnId: false,
|
|
143
|
+
wrapCellText: true,
|
|
144
|
+
resizeHandleFocusable: true,
|
|
145
|
+
plainUnsortableHeaders: true,
|
|
146
|
+
sortButtonLabel: "",
|
|
147
|
+
rightClickStopsPropagation: false,
|
|
148
|
+
wrapHeaderText: true,
|
|
149
|
+
resizeHandleLabel: "Resize {name}",
|
|
150
|
+
limitPinnedWidth: true,
|
|
151
|
+
followDefaultRowSelection: false,
|
|
152
|
+
loadingState: "spinner",
|
|
153
|
+
emptyState: void 0,
|
|
154
|
+
statusRowGroup: "tbody",
|
|
155
|
+
dragHandleIcon: void 0,
|
|
156
|
+
dragHandleSize: "sm",
|
|
157
|
+
columnConfigIcon: Columns3,
|
|
158
|
+
columnConfigLayout: "list",
|
|
159
|
+
sortIcons: {
|
|
160
|
+
asc: ArrowUp,
|
|
161
|
+
desc: ArrowDown,
|
|
162
|
+
unsorted: ArrowUpDown
|
|
163
|
+
},
|
|
164
|
+
virtualization: {
|
|
165
|
+
rows: false,
|
|
166
|
+
columns: false,
|
|
167
|
+
estimateRowSize: 40,
|
|
168
|
+
overscan: 12,
|
|
169
|
+
rowThreshold: 40,
|
|
170
|
+
columnThreshold: 20,
|
|
171
|
+
columnOverscan: 600,
|
|
172
|
+
initialRowCount: 20
|
|
173
|
+
},
|
|
174
|
+
infiniteLoadingIndicator: "footer",
|
|
175
|
+
infiniteDeferMount: false,
|
|
176
|
+
infiniteEmptyState: void 0,
|
|
177
|
+
infiniteErrorContent: null,
|
|
178
|
+
loadingSkeleton: {
|
|
179
|
+
rowCount: 60,
|
|
180
|
+
delay: 150
|
|
181
|
+
}
|
|
122
182
|
},
|
|
123
183
|
tableHeaderText: { size: "body" },
|
|
184
|
+
tableCellNumber: {},
|
|
185
|
+
tableCellLink: { tooltipDelay: 0 },
|
|
124
186
|
tableCellText: { size: "body" },
|
|
125
187
|
tag: { textSize: "small" },
|
|
126
188
|
toast: {
|
|
127
189
|
variant: "outlined",
|
|
128
|
-
position: "
|
|
190
|
+
position: "bottom-right"
|
|
129
191
|
},
|
|
130
192
|
toggleGroup: {}
|
|
131
193
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { i as DeepRequired, o as UIConfigOptions } from "./uiConfig.types-BsyPKepP.js";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
//#region src/config/uiConfig.context.d.ts
|
|
4
|
+
declare namespace UIConfig {
|
|
5
|
+
type Options = UIConfigOptions;
|
|
6
|
+
/**
|
|
7
|
+
* What `UIConfig.Provider` takes: any sections, each listing only the keys it changes. Type a module-scope config
|
|
8
|
+
* object with it: `const config: UIConfig.Config = { table: { rowDetailsMode: "split" } };`.
|
|
9
|
+
*/
|
|
10
|
+
type Config = { [K in keyof Options]?: Partial<Options[K]>; };
|
|
11
|
+
interface ProviderProps {
|
|
12
|
+
/** Merged over the parent config section by section, so a section may list only the keys it changes. */
|
|
13
|
+
config?: Config;
|
|
14
|
+
}
|
|
15
|
+
const Provider: ({ config, children }: PropsWithChildren<ProviderProps>) => import("react").JSX.Element;
|
|
16
|
+
const useConfig: () => DeepRequired<UIConfigOptions>;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { UIConfig as t };
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { n as IconSlotIcon } from "./IconSlot-DcEDPaNb.js";
|
|
2
|
+
import { Dt as SwitchVariantProps, En as TypographyVariantProps, Mt as RadioVariantProps, O as ToggleGroupItemVariantProps, an as InputVariantProps, dn as CheckboxVariantProps, g as ToastVariantProps, l as TableVariant, xn as ButtonVariantProps } from "./link.cva-ZhpQz3P0.js";
|
|
3
|
+
import { r as TypographyPropsCva } from "./Typography-auHWN282.js";
|
|
4
|
+
import { FC, ReactElement, ReactNode, SVGProps } from "react";
|
|
5
|
+
import { ToastPosition } from "react-toastify";
|
|
6
|
+
//#region src/config/uiConfig.types.d.ts
|
|
7
|
+
type Breakpoint = "sm" | "md" | "lg" | "xl";
|
|
8
|
+
/**
|
|
9
|
+
* How a table row's details open. Declared here, not next to the table, so the config types do not reach the optional
|
|
10
|
+
* `@tanstack/react-table` peer.
|
|
11
|
+
* - `drawer`: a drawer slides in from the side, over the page.
|
|
12
|
+
* - `split`: a panel opens beside the table, which gets narrower. On small screens it opens as a drawer.
|
|
13
|
+
* - `expand`: a panel opens under the row, with a chevron column to open it from the keyboard.
|
|
14
|
+
*/
|
|
15
|
+
type TableRowDetailsMode = "drawer" | "split" | "expand";
|
|
16
|
+
interface DateRangeResolvedValue {
|
|
17
|
+
start: string;
|
|
18
|
+
end: string;
|
|
19
|
+
}
|
|
20
|
+
interface DateRangeRelativeOption {
|
|
21
|
+
/** Stable value emitted by DateRangePicker when mode is `relative`. */
|
|
22
|
+
value: string;
|
|
23
|
+
/** Human-readable value shown in the input and options list. */
|
|
24
|
+
label: string;
|
|
25
|
+
/** Resolves this relative option to its current concrete range. */
|
|
26
|
+
getValue: () => DateRangeResolvedValue;
|
|
27
|
+
isDisabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
type DatePickerIcon = boolean | FC<SVGProps<SVGSVGElement>> | ReactElement;
|
|
30
|
+
interface UIConfigOptions {
|
|
31
|
+
/**
|
|
32
|
+
* Defer input activation until interaction (default true). An input with `autoFocus` mounts its interactive control
|
|
33
|
+
* immediately; disable this when code needs the input's ref right after mount.
|
|
34
|
+
*/
|
|
35
|
+
renderStaticInput: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* How long the pointer has to rest over a static input before the real control mounts, in ms.
|
|
38
|
+
* `0` mounts on the next frame, so sweeping the pointer across a form mounts every field it crosses.
|
|
39
|
+
*/
|
|
40
|
+
staticInputHoverHandoffDelay: number;
|
|
41
|
+
responsive: {
|
|
42
|
+
ssrMatches: Partial<Record<Breakpoint, boolean>>;
|
|
43
|
+
};
|
|
44
|
+
/** Defaults for every input; `layout` is the default of the inputs' `layout` prop. */
|
|
45
|
+
input: Pick<InputVariantProps, "variant" | "layout" | "size"> & {
|
|
46
|
+
isClearable?: boolean;
|
|
47
|
+
hideLabel?: boolean;
|
|
48
|
+
alwaysShowClear?: boolean;
|
|
49
|
+
};
|
|
50
|
+
button: Pick<ButtonVariantProps, "variant" | "size">;
|
|
51
|
+
numberField: {
|
|
52
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
53
|
+
};
|
|
54
|
+
radioGroup: Pick<RadioVariantProps, "variant"> & {
|
|
55
|
+
hideLabel?: boolean;
|
|
56
|
+
fireBlurOnChange?: boolean;
|
|
57
|
+
};
|
|
58
|
+
checkbox: Pick<CheckboxVariantProps, "variant"> & {
|
|
59
|
+
fireBlurOnChange?: boolean;
|
|
60
|
+
};
|
|
61
|
+
select: {
|
|
62
|
+
isSearchable?: boolean;
|
|
63
|
+
isScrollPreventDisabled?: boolean;
|
|
64
|
+
collapseAfter?: number;
|
|
65
|
+
selectedTagsType?: "tags" | "list";
|
|
66
|
+
hideSearchIcon?: boolean;
|
|
67
|
+
multiSelectAutoConfirm?: boolean;
|
|
68
|
+
searchDebounceDelay?: number;
|
|
69
|
+
fireBlurOnChange?: boolean;
|
|
70
|
+
};
|
|
71
|
+
switch: Pick<SwitchVariantProps, "variant"> & {
|
|
72
|
+
fireBlurOnChange?: boolean;
|
|
73
|
+
};
|
|
74
|
+
slider: {
|
|
75
|
+
minValue?: number;
|
|
76
|
+
maxValue?: number;
|
|
77
|
+
};
|
|
78
|
+
dateInput: {
|
|
79
|
+
/** Hour wheel drag/flick distance multiplier. Positive finite number; defaults to 1. */
|
|
80
|
+
hourWheelSensitivity?: number;
|
|
81
|
+
/** Minute wheel drag/flick distance multiplier. Positive finite number; defaults to 1. */
|
|
82
|
+
minuteWheelSensitivity?: number;
|
|
83
|
+
/** Show ISO week numbers in a leading column and start calendar weeks on Monday. */
|
|
84
|
+
showWeekNumbers?: boolean;
|
|
85
|
+
todayIcon?: DatePickerIcon;
|
|
86
|
+
todayIconButtonSize?: ButtonVariantProps["size"];
|
|
87
|
+
todayIconButtonComponent?: "iconButton" | "inlineIconButton";
|
|
88
|
+
todayIconPlacement?: "content" | "fieldLabel";
|
|
89
|
+
shouldForceLeadingZeros?: boolean;
|
|
90
|
+
disableManualEntry?: boolean;
|
|
91
|
+
shouldUpdateDateOnMonthYearChange?: boolean;
|
|
92
|
+
granularity?: "day" | "month" | "year";
|
|
93
|
+
autoFixYear?: boolean;
|
|
94
|
+
/** Picker button icon of `DatePicker` and `DateRangePicker`: a component such as a lucide icon, or an element. */
|
|
95
|
+
calendarIcon?: IconSlotIcon;
|
|
96
|
+
/** Picker button icon of `DateTimePicker`: a component such as a lucide icon, or an element. */
|
|
97
|
+
dateTimeIcon?: IconSlotIcon;
|
|
98
|
+
/** Picker button icon of `TimePicker`: a component such as a lucide icon, or an element. */
|
|
99
|
+
timeIcon?: IconSlotIcon;
|
|
100
|
+
setDateValueOnDateSelection?: boolean;
|
|
101
|
+
timeZone?: string;
|
|
102
|
+
allowPartialRange?: boolean;
|
|
103
|
+
fireBlurOnChange?: boolean;
|
|
104
|
+
dateRangeOptions?: DateRangeRelativeOption[];
|
|
105
|
+
/**
|
|
106
|
+
* A typed date outside `minValue` / `maxValue` stays in the field, marked invalid once the field loses focus,
|
|
107
|
+
* instead of reverting to the last valid value. It is never published to `onChange`. Defaults to off.
|
|
108
|
+
*/
|
|
109
|
+
keepOutOfRangeEntry?: boolean;
|
|
110
|
+
};
|
|
111
|
+
alertDialog: {
|
|
112
|
+
headingTypography?: TypographyPropsCva;
|
|
113
|
+
descriptionTypography?: TypographyPropsCva;
|
|
114
|
+
};
|
|
115
|
+
bottomSheet: {
|
|
116
|
+
closeDragThreshold?: number;
|
|
117
|
+
closeVelocityThreshold?: number;
|
|
118
|
+
hideThumb?: boolean;
|
|
119
|
+
headerTypography?: TypographyVariantProps;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Defaults for every `Table`; a table's own prop wins.
|
|
123
|
+
* `rowDetailsMode`: how row details open when a table's `rowDetails` sets no `mode`.
|
|
124
|
+
*/
|
|
125
|
+
table: {
|
|
126
|
+
variant: TableVariant;
|
|
127
|
+
rowDetailsMode: TableRowDetailsMode;
|
|
128
|
+
/** What scrolls when the table is larger than its space. Defaults to `table`. */
|
|
129
|
+
scroll?: "table" | "page";
|
|
130
|
+
/** With `scroll: "page"`, the table sits in its container box; off places it directly in its parent. Defaults to on. */
|
|
131
|
+
pageScrollContainer?: boolean;
|
|
132
|
+
/** How column widths are decided. Defaults to `natural`; see the `columnLayout` table prop. */
|
|
133
|
+
columnLayout?: "natural" | "sized";
|
|
134
|
+
/**
|
|
135
|
+
* `size` of columns without one in tables without resizing (raised to their minimum width). In `sized` layout it is
|
|
136
|
+
* the cells' minimum width. Defaults to none: such columns keep the default column size.
|
|
137
|
+
*/
|
|
138
|
+
unresizableDefaultColumnSize?: number | null;
|
|
139
|
+
/** Resize handles on every table. Defaults to off. */
|
|
140
|
+
enableColumnResizing?: boolean;
|
|
141
|
+
/** Width of columns without a `size`, in `sized` layout. Defaults to 150. */
|
|
142
|
+
defaultColumnSize?: number;
|
|
143
|
+
/** Narrowest a column can be resized or auto-sized to, unless its `minSize` says otherwise. Defaults to 60. */
|
|
144
|
+
minColumnWidth?: number;
|
|
145
|
+
/**
|
|
146
|
+
* Rows can be selected in tables that don't set `enableRowSelection` (TanStack's default). Such tables also get the
|
|
147
|
+
* selection column unless `showSelectionColumn` is off. Defaults to off: selection is opt-in per table.
|
|
148
|
+
*/
|
|
149
|
+
enableRowSelection?: boolean;
|
|
150
|
+
/** Several rows can be selected at once, with select-all, unless a table sets `enableMultiRowSelection`. Defaults to on. */
|
|
151
|
+
enableMultiRowSelection?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* `enableRowSelection` tables get a leading checkbox column with select-all, unless a table sets
|
|
154
|
+
* `showSelectionColumn`. Turn it off for apps that place their own checkbox column (`meta.selectionModel`).
|
|
155
|
+
* Defaults to on.
|
|
156
|
+
*/
|
|
157
|
+
showSelectionColumn?: boolean;
|
|
158
|
+
/** Clicking a selectable row (without `onRowAction`, row details or expandable rows) toggles its selection. Defaults to on. */
|
|
159
|
+
selectRowOnClick?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Enter and Space on a row or cell select it and run `onRowAction` (or `onRowDoubleClick`); the rows are the Tab
|
|
162
|
+
* stops. Off (the default), one body cell is the Tab stop (a roving tabindex) and Enter on a cell runs `onRowAction`.
|
|
163
|
+
*/
|
|
164
|
+
rowKeyboardActivation?: boolean;
|
|
165
|
+
/** Arrow keys, Home/End and Page Up/Down move focus between cells. Defaults to on. */
|
|
166
|
+
enableCellNavigation?: boolean;
|
|
167
|
+
enableArrowKeyRowNavigation?: boolean;
|
|
168
|
+
highlightSelectedRows?: boolean;
|
|
169
|
+
highlightFocusedRows?: boolean;
|
|
170
|
+
enableSortingRemoval?: boolean;
|
|
171
|
+
resetPageIndexOnSorting?: boolean;
|
|
172
|
+
/** Skips re-rendering rows whose data, selection and layout are unchanged. Defaults to off. */
|
|
173
|
+
memoizeRows?: boolean;
|
|
174
|
+
/** Cells of columns without an accessor read their value from the row by column id (`"a.b"` reads `row.a.b`). Defaults to off. */
|
|
175
|
+
cellValueFromColumnId?: boolean;
|
|
176
|
+
/** Plain text and number cell results are wrapped in `CellText`; off renders them as they are. Defaults to on. */
|
|
177
|
+
wrapCellText?: boolean;
|
|
178
|
+
/** Resize handles are Tab stops resized with the arrow keys; off leaves them to the pointer. Defaults to on. */
|
|
179
|
+
resizeHandleFocusable?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Headers of columns that can't sort (no `onSortingChange`, or `enableSorting: false`) show their label as plain
|
|
182
|
+
* text. Off keeps a sort button that does nothing, for layout. Defaults to on.
|
|
183
|
+
*/
|
|
184
|
+
plainUnsortableHeaders?: boolean;
|
|
185
|
+
/** Accessible name of column resize handles: `{name}` is the column's label, `{id}` its id. Defaults to `Resize {name}`. */
|
|
186
|
+
resizeHandleLabel?: string;
|
|
187
|
+
/** String column headers are wrapped in `HeaderText`; off renders the string as it is. Defaults to on. */
|
|
188
|
+
wrapHeaderText?: boolean;
|
|
189
|
+
/** A row's `onRightClick` keeps the context menu event from reaching the table's ancestors. Defaults to off. */
|
|
190
|
+
rightClickStopsPropagation?: boolean;
|
|
191
|
+
/** Accessible name of every header sort button, instead of the column's label. Defaults to none. */
|
|
192
|
+
sortButtonLabel?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Pinned columns stop sticking once they would leave less than a quarter of the view for the scrolling columns.
|
|
195
|
+
* Off keeps every pinned column sticky. Defaults to on.
|
|
196
|
+
*/
|
|
197
|
+
limitPinnedWidth?: boolean;
|
|
198
|
+
/** `defaultRowSelection` resets the selection whenever its selected ids change. Defaults to off. */
|
|
199
|
+
followDefaultRowSelection?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* What `isLoading` shows. Defaults to `spinner`.
|
|
202
|
+
* - `spinner`: a spinner row in place of the rows.
|
|
203
|
+
* - `skeleton`: skeleton rows (see `loadingSkeleton`) while there are no rows yet; loaded rows stay.
|
|
204
|
+
*/
|
|
205
|
+
loadingState?: "spinner" | "skeleton";
|
|
206
|
+
/**
|
|
207
|
+
* Shown when a table has no rows and nothing is loading, unless it sets `emptyState`. Defaults to a translated
|
|
208
|
+
* "No results"; `false` shows no empty row.
|
|
209
|
+
*/
|
|
210
|
+
emptyState?: ReactNode;
|
|
211
|
+
/** Row group of the empty state and the loading state: `tbody` under the header, or `tfoot`. Defaults to `tbody`. */
|
|
212
|
+
statusRowGroup?: "tbody" | "tfoot";
|
|
213
|
+
/** Icon of row drag handles. Defaults to `GripVertical`. */
|
|
214
|
+
dragHandleIcon?: IconSlotIcon;
|
|
215
|
+
/** Button size of row drag handles. Defaults to `sm`. */
|
|
216
|
+
dragHandleSize?: "sm" | "default";
|
|
217
|
+
/** Icon of the column configuration popover's trigger. Defaults to `Columns3`. */
|
|
218
|
+
columnConfigIcon?: IconSlotIcon;
|
|
219
|
+
/**
|
|
220
|
+
* Layout of `ColumnConfigModal` and `ColumnConfigPopover` that set no `layout`. Defaults to `list`, a sortable
|
|
221
|
+
* checkbox list; `pinning` drags columns between pinned-left, scrollable and pinned-right zones when the dialog gets
|
|
222
|
+
* `onPinningChange`.
|
|
223
|
+
*/
|
|
224
|
+
columnConfigLayout?: "list" | "pinning";
|
|
225
|
+
/** Header sort icons. `unsorted` shows on sortable columns of tables with `onSortingChange`; `false` hides it. */
|
|
226
|
+
sortIcons?: {
|
|
227
|
+
asc?: IconSlotIcon;
|
|
228
|
+
desc?: IconSlotIcon;
|
|
229
|
+
unsorted?: IconSlotIcon | false;
|
|
230
|
+
};
|
|
231
|
+
virtualization?: {
|
|
232
|
+
/** Render only the rows in view (see the `enableRowVirtualization` prop). Defaults to off. */
|
|
233
|
+
rows?: boolean;
|
|
234
|
+
/** Render only the cells of columns in view (see the `enableColumnVirtualization` prop). Defaults to off. */
|
|
235
|
+
columns?: boolean;
|
|
236
|
+
/** Row height used before rows are measured, in px. Defaults to 40. */
|
|
237
|
+
estimateRowSize?: number;
|
|
238
|
+
/** Rows rendered beyond each edge of the view. Defaults to 12. */
|
|
239
|
+
overscan?: number;
|
|
240
|
+
/** Rows are virtualized only above this count. Defaults to 40. */
|
|
241
|
+
rowThreshold?: number;
|
|
242
|
+
/** Columns are virtualized only above this count. Defaults to 20. */
|
|
243
|
+
columnThreshold?: number;
|
|
244
|
+
/** Width rendered beyond each edge of the view when columns are virtualized, in px. Defaults to 600. */
|
|
245
|
+
columnOverscan?: number;
|
|
246
|
+
/** Rows rendered before the scroller is known. Defaults to 20. */
|
|
247
|
+
initialRowCount?: number;
|
|
248
|
+
};
|
|
249
|
+
/** Where `InfiniteTable` shows that a page is loading. Defaults to `footer`. */
|
|
250
|
+
infiniteLoadingIndicator?: "footer" | "overlay";
|
|
251
|
+
/**
|
|
252
|
+
* `InfiniteTable` mounts right after the page's first commit (see `TableMountBoundary`), so the page paints before
|
|
253
|
+
* a heavy table mounts. Defaults to off.
|
|
254
|
+
*/
|
|
255
|
+
infiniteDeferMount?: boolean;
|
|
256
|
+
/** Shown when an `InfiniteTable` has no rows and nothing is loading, unless it sets `emptyState`. Defaults to `emptyState`. */
|
|
257
|
+
infiniteEmptyState?: ReactNode;
|
|
258
|
+
/** Shown by an `InfiniteTable` with `isError`, unless it sets `errorContent`. Defaults to a generic message. */
|
|
259
|
+
infiniteErrorContent?: ReactNode;
|
|
260
|
+
/** Skeleton rows of `loadingState: "skeleton"`. */
|
|
261
|
+
loadingSkeleton?: {
|
|
262
|
+
/** Most skeleton rows shown while the first page loads. Defaults to 60. */
|
|
263
|
+
rowCount?: number;
|
|
264
|
+
/** Wait before skeleton rows appear, so quick loads never show them, in ms. Defaults to 150. */
|
|
265
|
+
delay?: number;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
tableHeaderText: Pick<TypographyPropsCva, "size">;
|
|
269
|
+
tableCellText: Pick<TypographyPropsCva, "size">;
|
|
270
|
+
/** `formatOptions`: `Intl.NumberFormat` options every `CellNumber` starts from; its `numberOptions` prop wins. */
|
|
271
|
+
tableCellNumber: {
|
|
272
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
273
|
+
};
|
|
274
|
+
/** `tooltipDelay`: hover delay in ms of the tooltip on `CellLink`s that open in place. Defaults to 0. */
|
|
275
|
+
tableCellLink: {
|
|
276
|
+
tooltipDelay?: number;
|
|
277
|
+
};
|
|
278
|
+
tag: {
|
|
279
|
+
textSize?: TypographyVariantProps["size"];
|
|
280
|
+
};
|
|
281
|
+
toast: Pick<ToastVariantProps, "variant"> & {
|
|
282
|
+
position: ToastPosition;
|
|
283
|
+
};
|
|
284
|
+
/** Leave `size` unset to follow `input.size`. */
|
|
285
|
+
toggleGroup: {
|
|
286
|
+
size?: ToggleGroupItemVariantProps["size"];
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
type DeepRequired<T> = { [P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : Exclude<T[P], null | undefined>; };
|
|
290
|
+
//#endregion
|
|
291
|
+
export { TableRowDetailsMode as a, DeepRequired as i, DateRangeRelativeOption as n, UIConfigOptions as o, DateRangeResolvedValue as r, Breakpoint as t };
|
|
@@ -71,6 +71,8 @@ declare namespace UIOverrides {
|
|
|
71
71
|
};
|
|
72
72
|
badgeButton: {
|
|
73
73
|
cva?: GenericCvaOption;
|
|
74
|
+
contentCva?: GenericCvaOption;
|
|
75
|
+
iconCva?: GenericCvaOption;
|
|
74
76
|
typography?: Mapper;
|
|
75
77
|
};
|
|
76
78
|
checkbox: {
|
|
@@ -96,6 +98,10 @@ declare namespace UIOverrides {
|
|
|
96
98
|
toast: {
|
|
97
99
|
cva?: GenericCvaOption;
|
|
98
100
|
containerCva?: GenericCvaOption;
|
|
101
|
+
contentCva?: GenericCvaOption;
|
|
102
|
+
spinnerCva?: GenericCvaOption;
|
|
103
|
+
textCva?: GenericCvaOption;
|
|
104
|
+
actionsCva?: GenericCvaOption;
|
|
99
105
|
buttonColor?: Mapper;
|
|
100
106
|
};
|
|
101
107
|
alert: {
|
|
@@ -116,6 +122,53 @@ declare namespace UIOverrides {
|
|
|
116
122
|
};
|
|
117
123
|
datePickerInput: {
|
|
118
124
|
contentRowCva?: GenericCvaOption;
|
|
125
|
+
/** A date or time segment (`isMuted`, `isSpaced`, `isHidden`). */
|
|
126
|
+
segmentCva?: GenericCvaOption;
|
|
127
|
+
/** The dash between a range's dates (`isEmpty`). */
|
|
128
|
+
rangeSeparatorCva?: GenericCvaOption;
|
|
129
|
+
/** The placeholder of an input that isn't activated yet. */
|
|
130
|
+
placeholderCva?: GenericCvaOption;
|
|
131
|
+
};
|
|
132
|
+
calendar: {
|
|
133
|
+
headerCva?: GenericCvaOption;
|
|
134
|
+
headerSideCva?: GenericCvaOption;
|
|
135
|
+
navButtonCva?: GenericCvaOption;
|
|
136
|
+
navIconCva?: GenericCvaOption;
|
|
137
|
+
navigationCva?: GenericCvaOption;
|
|
138
|
+
/** The box around the day grid (`showWeekNumbers`). */
|
|
139
|
+
gridCva?: GenericCvaOption;
|
|
140
|
+
/** A weekday heading's label. */
|
|
141
|
+
weekdayCva?: GenericCvaOption;
|
|
142
|
+
/** The week-number column's cells. */
|
|
143
|
+
weekNumberCellCva?: GenericCvaOption;
|
|
144
|
+
/** A week's number. */
|
|
145
|
+
weekNumberCva?: GenericCvaOption;
|
|
146
|
+
/** The table cell around a day. */
|
|
147
|
+
cellWrapperCva?: GenericCvaOption;
|
|
148
|
+
/** A day; see `calendarCellDefinition` for its state variants. */
|
|
149
|
+
cellCva?: GenericCvaOption;
|
|
150
|
+
/** A day's number. */
|
|
151
|
+
cellTypography?: Mapper;
|
|
152
|
+
/** A month in the month list (`isDisabled`). */
|
|
153
|
+
monthCva?: GenericCvaOption;
|
|
154
|
+
/** A year in the year list (`isDisabled`). */
|
|
155
|
+
yearCva?: GenericCvaOption;
|
|
156
|
+
/** The label of a month or year in the lists. */
|
|
157
|
+
optionTypography?: Mapper;
|
|
158
|
+
};
|
|
159
|
+
timePicker: {
|
|
160
|
+
/** A wheel for hours, minutes, or the day period. */
|
|
161
|
+
segmentCva?: GenericCvaOption;
|
|
162
|
+
/** The label above a time picker wheel. */
|
|
163
|
+
segmentTypography?: Mapper;
|
|
164
|
+
};
|
|
165
|
+
dateTimeDialog: {
|
|
166
|
+
/** The footer with the Today and Save buttons (`hasToday`). */
|
|
167
|
+
footerCva?: GenericCvaOption;
|
|
168
|
+
};
|
|
169
|
+
bottomSheet: {
|
|
170
|
+
/** The header's close button. */
|
|
171
|
+
closeButtonCva?: GenericCvaOption;
|
|
119
172
|
};
|
|
120
173
|
label: {
|
|
121
174
|
cva?: GenericCvaOption;
|
|
@@ -149,6 +202,42 @@ declare namespace UIOverrides {
|
|
|
149
202
|
sidePanelCva?: GenericCvaOption;
|
|
150
203
|
sidePanelHeaderCva?: GenericCvaOption;
|
|
151
204
|
sidePanelBodyCva?: GenericCvaOption;
|
|
205
|
+
tableCva?: GenericCvaOption;
|
|
206
|
+
sortButtonCva?: GenericCvaOption;
|
|
207
|
+
/** The row of a header's content (label, filter, pin and resize controls). */
|
|
208
|
+
headContentCva?: GenericCvaOption;
|
|
209
|
+
/** The box around a header's label or sort button. */
|
|
210
|
+
headLabelCva?: GenericCvaOption;
|
|
211
|
+
resizeHandleCva?: GenericCvaOption;
|
|
212
|
+
footCva?: GenericCvaOption;
|
|
213
|
+
skeletonCva?: GenericCvaOption;
|
|
214
|
+
/** `emptyState`, inside its cell. */
|
|
215
|
+
emptyCva?: GenericCvaOption;
|
|
216
|
+
/** The cell that holds `emptyState`. */
|
|
217
|
+
emptyCellCva?: GenericCvaOption;
|
|
218
|
+
/** The loading spinner or `loadingContent`, centred in the visible part of the table. */
|
|
219
|
+
loadingCva?: GenericCvaOption;
|
|
220
|
+
/** The alert above an `InfiniteTable` that kept its rows after a failed load. */
|
|
221
|
+
errorNoticeCva?: GenericCvaOption;
|
|
222
|
+
/** Drag handle buttons of rows and of the column list; its `size` variant follows `table.dragHandleSize`. */
|
|
223
|
+
dragHandleCva?: GenericCvaOption;
|
|
224
|
+
};
|
|
225
|
+
tableCell: {
|
|
226
|
+
linkCva?: GenericCvaOption;
|
|
227
|
+
linkTextCva?: GenericCvaOption;
|
|
228
|
+
linkActionCva?: GenericCvaOption;
|
|
229
|
+
numberUnitCva?: GenericCvaOption;
|
|
230
|
+
rowCheckboxCva?: GenericCvaOption;
|
|
231
|
+
selectionCheckboxCva?: GenericCvaOption;
|
|
232
|
+
};
|
|
233
|
+
columnConfig: {
|
|
234
|
+
contentCva?: GenericCvaOption;
|
|
235
|
+
toolbarCva?: GenericCvaOption;
|
|
236
|
+
zoneCva?: GenericCvaOption;
|
|
237
|
+
zoneHeaderCva?: GenericCvaOption;
|
|
238
|
+
zoneEmptyCva?: GenericCvaOption;
|
|
239
|
+
rowCva?: GenericCvaOption;
|
|
240
|
+
rowLabelCva?: GenericCvaOption;
|
|
152
241
|
};
|
|
153
242
|
tooltip: {
|
|
154
243
|
cva?: GenericCvaOption;
|
|
@@ -226,6 +315,7 @@ declare namespace UIOverrides {
|
|
|
226
315
|
helperLabelCva?: GenericCvaOption;
|
|
227
316
|
};
|
|
228
317
|
select: {
|
|
318
|
+
listBoxCva?: GenericCvaOption;
|
|
229
319
|
listBoxItemCva?: GenericCvaOption;
|
|
230
320
|
popoverCva?: GenericCvaOption;
|
|
231
321
|
tagsContentWrapperCva?: GenericCvaOption;
|
|
@@ -239,6 +329,22 @@ declare namespace UIOverrides {
|
|
|
239
329
|
};
|
|
240
330
|
fileUpload: {
|
|
241
331
|
dropZoneCva?: GenericCvaOption;
|
|
332
|
+
/** The group around the drop zone. */
|
|
333
|
+
groupCva?: GenericCvaOption;
|
|
334
|
+
/** Content parts; each takes `content` (`empty` / `filled` / `error` / `loading`) and the upload's variants. */
|
|
335
|
+
contentCva?: GenericCvaOption;
|
|
336
|
+
contentBodyCva?: GenericCvaOption;
|
|
337
|
+
contentLeadCva?: GenericCvaOption;
|
|
338
|
+
contentIconCva?: GenericCvaOption;
|
|
339
|
+
contentTextCva?: GenericCvaOption;
|
|
340
|
+
contentTitleCva?: GenericCvaOption;
|
|
341
|
+
contentDescriptionCva?: GenericCvaOption;
|
|
342
|
+
contentActionsCva?: GenericCvaOption;
|
|
343
|
+
contentLinkCva?: GenericCvaOption;
|
|
344
|
+
contentSeparatorCva?: GenericCvaOption;
|
|
345
|
+
contentButtonsCva?: GenericCvaOption;
|
|
346
|
+
cardCva?: GenericCvaOption;
|
|
347
|
+
cardListCva?: GenericCvaOption;
|
|
242
348
|
};
|
|
243
349
|
}
|
|
244
350
|
export type Config = Partial<Options>;
|