@keboola/design 15.0.0 → 16.0.0
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/AGENTS.md +6 -5
- package/CHANGELOG.md +94 -0
- package/COMPONENT-API.md +62 -61
- package/dist/{AIKit-CaAW4GLx.js → AIKit-Cf5plya2.js} +381 -224
- package/dist/AIKit-Cf5plya2.js.map +1 -0
- package/dist/{Alert-Chz6KZ7e.js → Alert-DziS8n1H.js} +12 -19
- package/dist/{Alert-Chz6KZ7e.js.map → Alert-DziS8n1H.js.map} +1 -1
- package/dist/{AlertModal-D4AtpvLS.js → AlertModal-De04fFoy.js} +16 -26
- package/dist/AlertModal-De04fFoy.js.map +1 -0
- package/dist/{AppShell-C8V1KRr_.js → AppShell-BUa3U7-e.js} +6 -9
- package/dist/{AppShell-C8V1KRr_.js.map → AppShell-BUa3U7-e.js.map} +1 -1
- package/dist/{AutoSaveTextarea-BbMhC5Aq.js → AutoSaveTextarea-CXHOQSun.js} +4 -5
- package/dist/{AutoSaveTextarea-BbMhC5Aq.js.map → AutoSaveTextarea-CXHOQSun.js.map} +1 -1
- package/dist/{Badge-5GHIsgRS.js → Badge-CFRhducL.js} +18 -23
- package/dist/Badge-CFRhducL.js.map +1 -0
- package/dist/{BrandEditor-CTGtQUFZ.js → BrandEditor-hiLBX7az.js} +16 -23
- package/dist/{BrandEditor-CTGtQUFZ.js.map → BrandEditor-hiLBX7az.js.map} +1 -1
- package/dist/{BrandLogo-DkESE19K.js → BrandLogo-Dn7hhp2c.js} +4 -5
- package/dist/{BrandLogo-DkESE19K.js.map → BrandLogo-Dn7hhp2c.js.map} +1 -1
- package/dist/{Breadcrumb-B2YSNON4.js → Breadcrumb-uGFEIjFF.js} +17 -28
- package/dist/{Breadcrumb-B2YSNON4.js.map → Breadcrumb-uGFEIjFF.js.map} +1 -1
- package/dist/{Button-BNkyYU8u.js → Button-DbvGzEDb.js} +24 -20
- package/dist/Button-DbvGzEDb.js.map +1 -0
- package/dist/{Calendar-BnKi1kPu.js → Calendar-lJBTETbk.js} +752 -905
- package/dist/Calendar-lJBTETbk.js.map +1 -0
- package/dist/{Card-DxjGiqH8.js → Card-VIPfOVW5.js} +8 -14
- package/dist/{Card-DxjGiqH8.js.map → Card-VIPfOVW5.js.map} +1 -1
- package/dist/{Checkbox-CHDDJyAA.js → Checkbox-B2jLlyaO.js} +6 -8
- package/dist/{Checkbox-CHDDJyAA.js.map → Checkbox-B2jLlyaO.js.map} +1 -1
- package/dist/{Clipboard-DlwVZS1P.js → Clipboard-fAkDdpEu.js} +4 -5
- package/dist/{Clipboard-DlwVZS1P.js.map → Clipboard-fAkDdpEu.js.map} +1 -1
- package/dist/{ClipboardButton-B1Hr_n_Z.js → ClipboardButton-71Ugbl8c.js} +6 -8
- package/dist/{ClipboardButton-B1Hr_n_Z.js.map → ClipboardButton-71Ugbl8c.js.map} +1 -1
- package/dist/{CodeEditor-DVSPdfdo.js → CodeEditor-D_b-ZCng.js} +19 -31
- package/dist/{CodeEditor-DVSPdfdo.js.map → CodeEditor-D_b-ZCng.js.map} +1 -1
- package/dist/{Collapsible-DD4xTL75.js → Collapsible-zsXk4Vpp.js} +5 -8
- package/dist/{Collapsible-DD4xTL75.js.map → Collapsible-zsXk4Vpp.js.map} +1 -1
- package/dist/{ColorInput-B_eZIu39.js → ColorInput-Cjr1jkvy.js} +9 -12
- package/dist/{ColorInput-B_eZIu39.js.map → ColorInput-Cjr1jkvy.js.map} +1 -1
- package/dist/{ColorModeSwitch-B6UEzG0H.js → ColorModeSwitch-CuPYnJ2V.js} +5 -6
- package/dist/{ColorModeSwitch-B6UEzG0H.js.map → ColorModeSwitch-CuPYnJ2V.js.map} +1 -1
- package/dist/{Combobox-CaKqgstG.js → Combobox-DYjvYgl3.js} +38 -67
- package/dist/Combobox-DYjvYgl3.js.map +1 -0
- package/dist/{Command-DhXmqFLT.js → Command-BcTb6GsR.js} +14 -24
- package/dist/{Command-DhXmqFLT.js.map → Command-BcTb6GsR.js.map} +1 -1
- package/dist/{CopyField-D0Pg4Z0R.js → CopyField-CnwAvQz9.js} +16 -28
- package/dist/{CopyField-D0Pg4Z0R.js.map → CopyField-CnwAvQz9.js.map} +1 -1
- package/dist/{DateInput-BgbMDJkm.js → DateInput-DJNX7Vdx.js} +8 -10
- package/dist/{DateInput-BgbMDJkm.js.map → DateInput-DJNX7Vdx.js.map} +1 -1
- package/dist/{DatePicker-BXpDRo-R.js → DatePicker-CI59gF3S.js} +4 -5
- package/dist/{DatePicker-BXpDRo-R.js.map → DatePicker-CI59gF3S.js.map} +1 -1
- package/dist/{DateRangeInput-BW0-_jV0.js → DateRangeInput-B3g8cyS0.js} +8 -10
- package/dist/{DateRangeInput-BW0-_jV0.js.map → DateRangeInput-B3g8cyS0.js.map} +1 -1
- package/dist/{DateRangePicker-C4-DoWac.js → DateRangePicker-48yOB2qV.js} +9 -10
- package/dist/{DateRangePicker-C4-DoWac.js.map → DateRangePicker-48yOB2qV.js.map} +1 -1
- package/dist/{DiffView-Dy4z-n-1.js → DiffView-DITZdVbh.js} +7 -12
- package/dist/{DiffView-Dy4z-n-1.js.map → DiffView-DITZdVbh.js.map} +1 -1
- package/dist/{DropdownMenu-CcVbZ_5u.js → DropdownMenu-Ba9atqDa.js} +21 -37
- package/dist/DropdownMenu-Ba9atqDa.js.map +1 -0
- package/dist/{FieldBox-BrxLkY9C.js → FieldBox-DdSdJ3ZN.js} +6 -10
- package/dist/{FieldBox-BrxLkY9C.js.map → FieldBox-DdSdJ3ZN.js.map} +1 -1
- package/dist/{FieldItem-BHUqgSO1.js → FieldItem-D7eCMfMB.js} +6 -8
- package/dist/{FieldItem-BHUqgSO1.js.map → FieldItem-D7eCMfMB.js.map} +1 -1
- package/dist/{FieldItem-CPN1xjN5.d.ts → FieldItem-fqm3CNR8.d.ts} +7 -6
- package/dist/{FileUpload-BYFONpEl.js → FileUpload-DskvxhAr.js} +25 -45
- package/dist/{FileUpload-BYFONpEl.js.map → FileUpload-DskvxhAr.js.map} +1 -1
- package/dist/{Form-CAofWyMI.js → Form-BUNW7nlt.js} +24 -38
- package/dist/{Form-CAofWyMI.js.map → Form-BUNW7nlt.js.map} +1 -1
- package/dist/{FormGroup-V5kIgQRN.js → FormGroup-QJB21LKp.js} +12 -20
- package/dist/{FormGroup-V5kIgQRN.js.map → FormGroup-QJB21LKp.js.map} +1 -1
- package/dist/{FullScreenModal-DAvvlGOz.js → FullScreenModal-RzY5XxiG.js} +8 -12
- package/dist/{FullScreenModal-DAvvlGOz.js.map → FullScreenModal-RzY5XxiG.js.map} +1 -1
- package/dist/HoverCard-OGWKRXJ7.js +24 -0
- package/dist/HoverCard-OGWKRXJ7.js.map +1 -0
- package/dist/{InlineEdit-D4P0SvCB.js → InlineEdit-CXL0ZslO.js} +7 -8
- package/dist/{InlineEdit-D4P0SvCB.js.map → InlineEdit-CXL0ZslO.js.map} +1 -1
- package/dist/{InputGroup-CZv_7QlM.js → InputGroup-BWeanEo7.js} +9 -15
- package/dist/{InputGroup-CZv_7QlM.js.map → InputGroup-BWeanEo7.js.map} +1 -1
- package/dist/{Kbd-CflKthfu.js → Kbd-BprYCICe.js} +8 -13
- package/dist/{Kbd-CflKthfu.js.map → Kbd-BprYCICe.js.map} +1 -1
- package/dist/{MarkedText-DlmlJO0u.js → MarkedText-BrganZ_V.js} +4 -6
- package/dist/{MarkedText-DlmlJO0u.js.map → MarkedText-BrganZ_V.js.map} +1 -1
- package/dist/{MermaidDiagram-Te-5gOCU.js → MermaidDiagram-E3azndPk.js} +9 -11
- package/dist/{MermaidDiagram-Te-5gOCU.js.map → MermaidDiagram-E3azndPk.js.map} +1 -1
- package/dist/{Modal-CbUz-5YH.js → Modal-Cf_kPEBW.js} +14 -22
- package/dist/Modal-Cf_kPEBW.js.map +1 -0
- package/dist/{ModalTitle-cy0Ht9VY.js → ModalTitle-7vgpfc6B.js} +6 -9
- package/dist/ModalTitle-7vgpfc6B.js.map +1 -0
- package/dist/{MultiActionButtonGroup-Dzig87s1.js → MultiActionButtonGroup-8WQwL4UQ.js} +6 -8
- package/dist/{MultiActionButtonGroup-Dzig87s1.js.map → MultiActionButtonGroup-8WQwL4UQ.js.map} +1 -1
- package/dist/{Navbar-DHUS7XiU.js → Navbar-CRjxVboE.js} +13 -22
- package/dist/{Navbar-DHUS7XiU.js.map → Navbar-CRjxVboE.js.map} +1 -1
- package/dist/{OtpInput-CY8yCaJk.js → OtpInput-C5plPzGU.js} +7 -11
- package/dist/{OtpInput-CY8yCaJk.js.map → OtpInput-C5plPzGU.js.map} +1 -1
- package/dist/{PageHeader-CL1A6jFM.js → PageHeader-DosMyar2.js} +6 -10
- package/dist/{PageHeader-CL1A6jFM.js.map → PageHeader-DosMyar2.js.map} +1 -1
- package/dist/{PageLayout-C9aXTpqV.js → PageLayout-LcvJccOW.js} +5 -8
- package/dist/{PageLayout-C9aXTpqV.js.map → PageLayout-LcvJccOW.js.map} +1 -1
- package/dist/{PageToolbar-DJ5tdYla.js → PageToolbar-By2HznxO.js} +8 -10
- package/dist/{PageToolbar-DJ5tdYla.js.map → PageToolbar-By2HznxO.js.map} +1 -1
- package/dist/{Pagination-D27x5KmH.js → Pagination-DrXTrvfD.js} +11 -18
- package/dist/{Pagination-D27x5KmH.js.map → Pagination-DrXTrvfD.js.map} +1 -1
- package/dist/{Popconfirm-DwLCYNaF.js → Popconfirm-BJuDOHdv.js} +46 -25
- package/dist/Popconfirm-BJuDOHdv.js.map +1 -0
- package/dist/{Popover-DtUDwUVO.js → Popover-DhOPlWgF.js} +5 -7
- package/dist/Popover-DhOPlWgF.js.map +1 -0
- package/dist/{RadioGroup-B0TwHjBb.js → RadioGroup-B9oC8P15.js} +12 -18
- package/dist/{RadioGroup-B0TwHjBb.js.map → RadioGroup-B9oC8P15.js.map} +1 -1
- package/dist/{Resizable-D8zs0kcq.js → Resizable-Co-L3qg7.js} +4 -6
- package/dist/{Resizable-D8zs0kcq.js.map → Resizable-Co-L3qg7.js.map} +1 -1
- package/dist/{Search-vyZwGKMU.js → Search-OgaNjqQM.js} +26 -21
- package/dist/Search-OgaNjqQM.js.map +1 -0
- package/dist/{SearchInput-DyYXyw3u.js → SearchInput-eLS-uvOn.js} +18 -29
- package/dist/SearchInput-eLS-uvOn.js.map +1 -0
- package/dist/{SectionNav-tLK3iF6c.js → SectionNav-L81iJBo3.js} +11 -14
- package/dist/{SectionNav-tLK3iF6c.js.map → SectionNav-L81iJBo3.js.map} +1 -1
- package/dist/{Select-B22hB_-w.js → Select-DRdkdzBp.js} +29 -26
- package/dist/Select-DRdkdzBp.js.map +1 -0
- package/dist/{Sheet-0TWKTqid.js → Sheet-DVb4XoJ5.js} +13 -20
- package/dist/Sheet-DVb4XoJ5.js.map +1 -0
- package/dist/{Sidebar-C5hdANBU.js → Sidebar-DYvodJWN.js} +43 -75
- package/dist/{Sidebar-C5hdANBU.js.map → Sidebar-DYvodJWN.js.map} +1 -1
- package/dist/{Slider-DrcsM8_G.js → Slider-B9IskDxf.js} +8 -12
- package/dist/{Slider-DrcsM8_G.js.map → Slider-B9IskDxf.js.map} +1 -1
- package/dist/{Stepper-CQrUPVFL.js → Stepper-D7VspVEt.js} +11 -19
- package/dist/{Stepper-CQrUPVFL.js.map → Stepper-D7VspVEt.js.map} +1 -1
- package/dist/{Switch-DccpSpzC.js → Switch-DONWW7ju.js} +4 -6
- package/dist/{Switch-DccpSpzC.js.map → Switch-DONWW7ju.js.map} +1 -1
- package/dist/{Table-CilEvpMq.js → Table-BwgBm3hJ.js} +12 -21
- package/dist/{Table-CilEvpMq.js.map → Table-BwgBm3hJ.js.map} +1 -1
- package/dist/{Tabs-Ck4uWf8U.js → Tabs-DmJB4l_N.js} +9 -14
- package/dist/{Tabs-Ck4uWf8U.js.map → Tabs-DmJB4l_N.js.map} +1 -1
- package/dist/{TextInput-CR0_USaY.js → TextInput--1CfZybC.js} +8 -10
- package/dist/TextInput--1CfZybC.js.map +1 -0
- package/dist/{ThemeProvider-BTK7AL-T.js → ThemeProvider-BCHllN7d.js} +8 -13
- package/dist/{ThemeProvider-BTK7AL-T.js.map → ThemeProvider-BCHllN7d.js.map} +1 -1
- package/dist/{TimePicker-CoRpiEM3.js → TimePicker-CCV3SOw5.js} +4 -6
- package/dist/{TimePicker-CoRpiEM3.js.map → TimePicker-CCV3SOw5.js.map} +1 -1
- package/dist/{Timeline-DUXgByUE.js → Timeline-EMOpTLAT.js} +8 -13
- package/dist/{Timeline-DUXgByUE.js.map → Timeline-EMOpTLAT.js.map} +1 -1
- package/dist/{Toast-937n7n8i.js → Toast-BOTINeTX.js} +4 -6
- package/dist/{Toast-937n7n8i.js.map → Toast-BOTINeTX.js.map} +1 -1
- package/dist/{ToggleAllTooltip-DEjbWFoj.js → ToggleAllTooltip-BFmA6TXf.js} +4 -6
- package/dist/{ToggleAllTooltip-DEjbWFoj.js.map → ToggleAllTooltip-BFmA6TXf.js.map} +1 -1
- package/dist/{ToggleGroup-BOz1yyz6.js → ToggleGroup-DsDS7k70.js} +3 -4
- package/dist/{ToggleGroup-BOz1yyz6.js.map → ToggleGroup-DsDS7k70.js.map} +1 -1
- package/dist/{Workbench-CxgNCs3I.js → Workbench-4s0xP6XU.js} +18 -32
- package/dist/{Workbench-CxgNCs3I.js.map → Workbench-4s0xP6XU.js.map} +1 -1
- package/dist/{ZoomableSvg-DnFXo2L4.js → ZoomableSvg-BRPGgaWJ.js} +9 -11
- package/dist/{ZoomableSvg-DnFXo2L4.js.map → ZoomableSvg-BRPGgaWJ.js.map} +1 -1
- package/dist/charts.d.ts +0 -16
- package/dist/charts.js +10 -19
- package/dist/charts.js.map +1 -1
- package/dist/{classNames-DcGnTh2N.js → classNames-DkX30VJU.js} +2 -3
- package/dist/{classNames-DcGnTh2N.js.map → classNames-DkX30VJU.js.map} +1 -1
- package/dist/editors.d.ts +2 -16
- package/dist/editors.js +16 -26
- package/dist/editors.js.map +1 -1
- package/dist/{findLiteralMatches-DgGLzyG0.js → findLiteralMatches-BaLZTPtx.js} +2 -3
- package/dist/{findLiteralMatches-DgGLzyG0.js.map → findLiteralMatches-BaLZTPtx.js.map} +1 -1
- package/dist/flint.d.ts +0 -2
- package/dist/flint.js +10 -14
- package/dist/flint.js.map +1 -1
- package/dist/{highlightCode-D354tCXO.js → highlightCode-2spZP7ZA.js} +2 -3
- package/dist/{highlightCode-D354tCXO.js.map → highlightCode-2spZP7ZA.js.map} +1 -1
- package/dist/{icons-ZIeZXXS7.js → icons-DDR9dFSr.js} +21 -40
- package/dist/{icons-ZIeZXXS7.js.map → icons-DDR9dFSr.js.map} +1 -1
- package/dist/icons.d.ts +1 -1
- package/dist/icons.js +1 -2
- package/dist/{index-D-itZ3VP.d.ts → index-BljYaTWL.d.ts} +1 -39
- package/dist/index.d.ts +452 -1296
- package/dist/index.js +76 -74
- package/dist/internal/blocks/AIKit.js +1 -2
- package/dist/internal/blocks/AppShell.js +1 -2
- package/dist/internal/blocks/AuthLayout.js +3 -4
- package/dist/internal/blocks/AutoSaveTextarea.js +1 -2
- package/dist/internal/blocks/BrandEditor.js +1 -2
- package/dist/internal/blocks/ChartPanel.js +3 -4
- package/dist/internal/blocks/ChipEditor.js +6 -7
- package/dist/internal/blocks/ClipboardButton.js +1 -2
- package/dist/internal/blocks/ColorInput.js +1 -2
- package/dist/internal/blocks/ColorModeSwitch.js +1 -2
- package/dist/internal/blocks/Command.js +1 -2
- package/dist/internal/blocks/CopyField.js +1 -2
- package/dist/internal/blocks/DashboardHero.js +2 -3
- package/dist/internal/blocks/DateInput.js +1 -2
- package/dist/internal/blocks/DateRangeInput.js +1 -2
- package/dist/internal/blocks/DiagramShared/DiagramSkeleton.js +1 -2
- package/dist/internal/blocks/EmptyConfigurationActionCard.js +2 -3
- package/dist/internal/blocks/EmptyState.js +1 -2
- package/dist/internal/blocks/ErrorState.js +1 -2
- package/dist/internal/blocks/ExportMenu.js +5 -6
- package/dist/internal/blocks/FacebookButton.js +3 -4
- package/dist/internal/blocks/Form/connectors/ComboboxField.js +3 -4
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +2 -3
- package/dist/internal/blocks/Form.js +3 -2
- package/dist/internal/blocks/FormGroup.js +1 -2
- package/dist/internal/blocks/GoogleButton.js +3 -4
- package/dist/internal/blocks/InlineEdit.js +1 -2
- package/dist/internal/blocks/MicrosoftButton.js +3 -4
- package/dist/internal/blocks/MultiActionButtonGroup.js +1 -2
- package/dist/internal/blocks/MultiCombobox.js +7 -8
- package/dist/internal/blocks/NumberInput.js +2 -3
- package/dist/internal/blocks/OtpInput.js +1 -2
- package/dist/internal/blocks/PageHeader.js +1 -2
- package/dist/internal/blocks/PageLayout.js +1 -2
- package/dist/internal/blocks/PageToolbar.js +1 -2
- package/dist/internal/blocks/PasswordInput.js +5 -6
- package/dist/internal/blocks/SearchInput.js +1 -2
- package/dist/internal/blocks/SearchInputWithNavigation.js +6 -7
- package/dist/internal/blocks/SectionNav.js +1 -2
- package/dist/internal/blocks/SplitButton.js +4 -5
- package/dist/internal/blocks/StatCard.js +4 -6
- package/dist/internal/blocks/StatCard.js.map +1 -1
- package/dist/internal/blocks/TextInput.js +1 -2
- package/dist/internal/blocks/Textarea.js +3 -4
- package/dist/internal/blocks/TimeInput.js +6 -7
- package/dist/internal/components/Alert.js +1 -2
- package/dist/internal/components/AlertModal.js +1 -2
- package/dist/internal/components/Avatar.js +3 -4
- package/dist/internal/components/Badge.js +1 -2
- package/dist/internal/components/BrandLogo.js +1 -2
- package/dist/internal/components/Breadcrumb.js +1 -2
- package/dist/internal/components/Button.js +1 -2
- package/dist/internal/components/ButtonGroup.js +2 -3
- package/dist/internal/components/Calendar.js +1 -2
- package/dist/internal/components/Card.js +1 -2
- package/dist/internal/components/Checkbox.js +1 -2
- package/dist/internal/components/Clipboard.js +1 -2
- package/dist/internal/components/Collapsible.js +1 -2
- package/dist/internal/components/CollapsiblePanel.js +5 -6
- package/dist/internal/components/Combobox.js +1 -2
- package/dist/internal/components/DatePicker.js +1 -2
- package/dist/internal/components/DateRangePicker.js +1 -2
- package/dist/internal/components/DiffView.js +1 -2
- package/dist/internal/components/DotsLoader.js +2 -3
- package/dist/internal/components/DropdownMenu.js +1 -2
- package/dist/internal/components/EmptySearchContent.js +1 -2
- package/dist/internal/components/FileUpload.js +1 -2
- package/dist/internal/components/FullScreenModal.js +1 -2
- package/dist/internal/components/HelpBlock.js +1 -2
- package/dist/internal/components/HoverCard.js +1 -2
- package/dist/internal/components/InputGroup.js +1 -2
- package/dist/internal/components/Kbd.js +1 -2
- package/dist/internal/components/Label.js +2 -3
- package/dist/internal/components/Link.js +2 -3
- package/dist/internal/components/MarkedText.js +1 -2
- package/dist/internal/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.js +3 -4
- package/dist/internal/components/MergeEditor/PaneHeader.js +1 -2
- package/dist/internal/components/MergeEditor/constants.js +1 -2
- package/dist/internal/components/MergeEditor/useMergeDiff.js +1 -2
- package/dist/internal/components/Modal.js +1 -2
- package/dist/internal/components/Navbar.js +1 -2
- package/dist/internal/components/Pagination.js +1 -2
- package/dist/internal/components/PanelWithDetails.js +4 -5
- package/dist/internal/components/Popconfirm.js +1 -2
- package/dist/internal/components/Popover.js +1 -2
- package/dist/internal/components/Progress.js +2 -3
- package/dist/internal/components/RadioGroup.js +1 -2
- package/dist/internal/components/Resizable.js +1 -2
- package/dist/internal/components/ScrollArea.js +3 -5
- package/dist/internal/components/ScrollArea.js.map +1 -1
- package/dist/internal/components/Search.js +1 -2
- package/dist/internal/components/Select.js +1 -2
- package/dist/internal/components/Separator.js +2 -3
- package/dist/internal/components/Sheet.js +1 -2
- package/dist/internal/components/Sidebar.js +1 -2
- package/dist/internal/components/Skeleton/Skeleton.js +2 -3
- package/dist/internal/components/Skeleton/SkeletonList.js +2 -3
- package/dist/internal/components/Slider.js +1 -2
- package/dist/internal/components/SpotlightBackdrop.js +3 -5
- package/dist/internal/components/SpotlightBackdrop.js.map +1 -1
- package/dist/internal/components/Stepper.js +1 -2
- package/dist/internal/components/Switch.js +1 -2
- package/dist/internal/components/Table.js +1 -2
- package/dist/internal/components/Tabs.js +1 -2
- package/dist/internal/components/ThemeProvider.js +2 -2
- package/dist/internal/components/TimePicker.js +1 -2
- package/dist/internal/components/Timeline.js +1 -2
- package/dist/internal/components/Toast.js +2 -2
- package/dist/internal/components/Toggle.js +2 -3
- package/dist/internal/components/ToggleGroup.js +1 -2
- package/dist/internal/components/Tooltip.js +1 -2
- package/dist/internal/components/Truncated.js +3 -4
- package/dist/internal/components/Workbench.js +1 -2
- package/dist/internal/components/ZoomableSvg.js +1 -2
- package/dist/internal/hooks/useAltDigitHotkey.js +1 -2
- package/dist/internal/hooks/useAutosizeInput.js +1 -2
- package/dist/internal/hooks/useScrollbarPosition.js +2 -3
- package/dist/internal/hooks/useStableCallback.js +1 -2
- package/dist/internal/hooks/useTimeout.js +18 -0
- package/dist/internal/hooks/useTimeout.js.map +1 -0
- package/dist/internal/utils/accessibleName.js +1 -2
- package/dist/internal/utils/mergeRefs.js +1 -2
- package/dist/internal/utils.js +3 -3
- package/dist/markdown-editor.d.ts +0 -4
- package/dist/markdown-editor.js +30 -49
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.d.ts +0 -2
- package/dist/mermaid.js +1 -2
- package/dist/rjsf.d.ts +0 -8
- package/dist/rjsf.js +47 -78
- package/dist/rjsf.js.map +1 -1
- package/dist/{rolldown-runtime-Bdc48AWt.js → rolldown-runtime-BrwM56v-.js} +2 -3
- package/dist/{styles-T8xwr0sR.js → styles-BXXXosW_.js} +2 -3
- package/dist/{styles-T8xwr0sR.js.map → styles-BXXXosW_.js.map} +1 -1
- package/dist/{styles-DxazJ8Mz.js → styles-nwtCRF7y.js} +2 -3
- package/dist/{styles-DxazJ8Mz.js.map → styles-nwtCRF7y.js.map} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{svgCache-Dhmbe-7i.js → svgCache-BzvN_fgr.js} +2 -3
- package/dist/{svgCache-Dhmbe-7i.js.map → svgCache-BzvN_fgr.js.map} +1 -1
- package/dist/{svgTransforms-Hnvev3Vs.js → svgTransforms-BBxxO9T6.js} +4 -6
- package/dist/{svgTransforms-Hnvev3Vs.js.map → svgTransforms-BBxxO9T6.js.map} +1 -1
- package/dist/testing.d.ts +0 -2
- package/dist/testing.js +2 -3
- package/dist/{themeScopeContext-CEVXbYvZ.js → themeScopeContext-BZGPdyG8.js} +6 -11
- package/dist/{themeScopeContext-CEVXbYvZ.js.map → themeScopeContext-BZGPdyG8.js.map} +1 -1
- package/dist/{themeTokens-DCeb62ap.js → themeTokens-B60cQtAY.js} +4 -6
- package/dist/{themeTokens-DCeb62ap.js.map → themeTokens-B60cQtAY.js.map} +1 -1
- package/dist/{toast-Y3cTMBW8.js → toast-Dzj1EFOb.js} +10 -17
- package/dist/{toast-Y3cTMBW8.js.map → toast-Dzj1EFOb.js.map} +1 -1
- package/dist/{types-BPcAjMG0.d.ts → types-CsZuwfxc.d.ts} +1 -3
- package/dist/{useControllableState-CUYXMsfz.js → useControllableState-BCvUOC6G.js} +2 -3
- package/dist/{useControllableState-CUYXMsfz.js.map → useControllableState-BCvUOC6G.js.map} +1 -1
- package/dist/{useElement-D-RjrGa4.js → useElement-Dcoo9Jlr.js} +2 -3
- package/dist/{useElement-D-RjrGa4.js.map → useElement-Dcoo9Jlr.js.map} +1 -1
- package/dist/{useMergeDiff-CvowEXJ1.js → useMergeDiff-DFIATaTw.js} +3 -5
- package/dist/{useMergeDiff-CvowEXJ1.js.map → useMergeDiff-DFIATaTw.js.map} +1 -1
- package/dist/{utils-DwC9u0tM.js → utils-DjFceY3H.js} +18 -34
- package/dist/utils-DjFceY3H.js.map +1 -0
- package/dist/vega.d.ts +1 -5
- package/dist/vega.js +3 -4
- package/dist/{vegaTheme-ISwGXvof.js → vegaTheme-BcTNRmVS.js} +3 -4
- package/dist/{vegaTheme-ISwGXvof.js.map → vegaTheme-BcTNRmVS.js.map} +1 -1
- package/dist/{vegaTokens-DCkvpIVE.js → vegaTokens-DnCcy7JY.js} +3 -4
- package/dist/{vegaTokens-DCkvpIVE.js.map → vegaTokens-DnCcy7JY.js.map} +1 -1
- package/package.json +40 -40
- package/src/styles.css +70 -4
- package/src/theme.css +117 -11
- package/dist/AIKit-CaAW4GLx.js.map +0 -1
- package/dist/AlertModal-D4AtpvLS.js.map +0 -1
- package/dist/Badge-5GHIsgRS.js.map +0 -1
- package/dist/Button-BNkyYU8u.js.map +0 -1
- package/dist/Calendar-BnKi1kPu.js.map +0 -1
- package/dist/Combobox-CaKqgstG.js.map +0 -1
- package/dist/DropdownMenu-CcVbZ_5u.js.map +0 -1
- package/dist/HoverCard-Cv5rmvJq.js +0 -26
- package/dist/HoverCard-Cv5rmvJq.js.map +0 -1
- package/dist/Modal-CbUz-5YH.js.map +0 -1
- package/dist/ModalTitle-cy0Ht9VY.js.map +0 -1
- package/dist/Popconfirm-DwLCYNaF.js.map +0 -1
- package/dist/Popover-DtUDwUVO.js.map +0 -1
- package/dist/Search-vyZwGKMU.js.map +0 -1
- package/dist/SearchInput-DyYXyw3u.js.map +0 -1
- package/dist/Select-B22hB_-w.js.map +0 -1
- package/dist/Sheet-0TWKTqid.js.map +0 -1
- package/dist/TextInput-CR0_USaY.js.map +0 -1
- package/dist/utils-DwC9u0tM.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BrandId, ColorScheme, ResolvedColorScheme, Theme, Tokens } from "./types-
|
|
2
|
-
import { ChangeClassification, DiffChunk, FieldItemProps, MergeConflict } from "./FieldItem-
|
|
3
|
-
import { LucideIcon } from "./index-
|
|
1
|
+
import { BrandId, ColorScheme, ResolvedColorScheme, Theme, Tokens } from "./types-CsZuwfxc.js";
|
|
2
|
+
import { ChangeClassification, DiffChunk, FieldItem, FieldItemProps, MergeConflict } from "./FieldItem-fqm3CNR8.js";
|
|
3
|
+
import { LucideIcon } from "./index-BljYaTWL.js";
|
|
4
4
|
import * as React$2 from "react";
|
|
5
5
|
import React$1, { ButtonHTMLAttributes, CSSProperties, ChangeEvent, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentRef, Dispatch, FocusEvent, HTMLAttributes, KeyboardEvent, KeyboardEventHandler, MouseEvent, MouseEventHandler, OptionHTMLAttributes, PropsWithChildren, ReactNode, Ref, RefCallback, RefObject, SelectHTMLAttributes, SetStateAction, TableHTMLAttributes, ThHTMLAttributes } from "react";
|
|
6
6
|
import { Slot, Slot as Slot$1 } from "@radix-ui/react-slot";
|
|
@@ -36,55 +36,47 @@ import { Brand, Brand as Brand$1, agnes, brandSchema, exampleCustomer, harbor, k
|
|
|
36
36
|
import { Group as Group$1, Panel as ResizablePanel, PanelImperativeHandle, Separator as Separator$1, useDefaultLayout } from "react-resizable-panels";
|
|
37
37
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
38
38
|
import { AnyFormApi } from "@tanstack/form-core";
|
|
39
|
-
//#region src/components/Button/styles.d.ts
|
|
40
39
|
declare const buttonVariants: (props?: ({
|
|
41
40
|
block?: boolean | null | undefined;
|
|
42
41
|
variant?: "danger" | "inline" | "invisible" | "kai" | "outline" | "primary" | "secondary" | null | undefined;
|
|
43
42
|
size?: "icon" | "icon-2xs" | "icon-3xs" | "icon-lg" | "icon-sm" | "icon-xs" | "large" | "medium" | "small" | null | undefined;
|
|
44
43
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/components/Button/Button.d.ts
|
|
47
44
|
/** Props for `Button`; icons are composed as children. */
|
|
48
|
-
type Props$
|
|
45
|
+
type Props$280 = {
|
|
49
46
|
/** Shows a spinner in place of the leading icon, or before the label when there is none. The caller still controls `disabled`. */
|
|
50
47
|
isLoading?: boolean;
|
|
51
48
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
52
49
|
asChild?: boolean;
|
|
50
|
+
/** Disables the button and shows this on hover and focus; the button stays focusable. */
|
|
51
|
+
disabledReason?: ReactNode;
|
|
53
52
|
} & ComponentProps<'button'> & VariantProps<typeof buttonVariants>;
|
|
54
53
|
/**
|
|
55
54
|
* Any user-initiated action; `size="icon-*"` with no children is the icon-only button.
|
|
56
55
|
*
|
|
57
56
|
* - Not for: inline text links (`ButtonInline`), URL navigation (`Link`), action + dropdown (`SplitButton`).
|
|
58
|
-
* - Wrap in `Tooltip` when icon-only
|
|
57
|
+
* - Wrap in `Tooltip` when icon-only; `disabledReason` when disabled; `Popconfirm` for destructive actions.
|
|
59
58
|
*
|
|
60
|
-
* @see RECIPES.md#disabled-button-tooltip
|
|
61
59
|
* @see RECIPES.md#confirm-dialog
|
|
62
60
|
*/
|
|
63
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region src/components/Button/ButtonInline.d.ts
|
|
61
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, disabledReason, ...buttonProps }: Props$280) => import("react").JSX.Element;
|
|
66
62
|
declare const buttonInlineVariants: (props?: ({
|
|
67
63
|
color?: "custom" | "danger" | "dark" | "link" | "muted" | null | undefined;
|
|
68
64
|
variant?: "custom" | "link" | "link-reverse" | null | undefined;
|
|
69
65
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
70
|
-
type Props$
|
|
66
|
+
type Props$279 = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
71
67
|
asChild?: boolean;
|
|
72
68
|
};
|
|
73
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
74
|
-
//#endregion
|
|
75
|
-
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
69
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$279) => import("react").JSX.Element;
|
|
76
70
|
declare const buttonGroupVariant: (props?: ({
|
|
77
71
|
variant?: "block" | "inline" | null | undefined;
|
|
78
72
|
space?: "compact" | "extra-small" | "large" | "little-small" | "medium" | "small" | null | undefined;
|
|
79
73
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
80
|
-
type Props$
|
|
74
|
+
type Props$278 = {
|
|
81
75
|
children: ReactNode;
|
|
82
76
|
className?: string;
|
|
83
77
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
84
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
85
|
-
|
|
86
|
-
//#region src/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
87
|
-
type Props$276 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
78
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$278) => import("react").JSX.Element;
|
|
79
|
+
type Props$277 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
88
80
|
/**
|
|
89
81
|
* Stops the closing item stealing focus from the modal it opens (breaks `autoFocus`).
|
|
90
82
|
* https://github.com/radix-ui/primitives/issues/2193#issuecomment-2758461323
|
|
@@ -95,10 +87,8 @@ type Props$276 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
|
95
87
|
isLoading?: boolean;
|
|
96
88
|
iconClassName?: string;
|
|
97
89
|
};
|
|
98
|
-
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$
|
|
99
|
-
|
|
100
|
-
//#region src/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts
|
|
101
|
-
type Props$275 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
90
|
+
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$277) => import("react").JSX.Element;
|
|
91
|
+
type Props$276 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
102
92
|
closeOnSelect?: boolean;
|
|
103
93
|
indicator?: 'switch' | 'checkbox' | 'check';
|
|
104
94
|
indicatorAlign?: 'start' | 'end';
|
|
@@ -106,38 +96,28 @@ type Props$275 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
|
106
96
|
/** Leading Lucide icon, drawn like `DropdownMenu.Item`'s so mixed menus line up. */
|
|
107
97
|
icon?: ReactNode;
|
|
108
98
|
};
|
|
109
|
-
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, icon, ...props }: Props$
|
|
110
|
-
|
|
111
|
-
//#region src/components/DropdownMenu/DropdownMenuContent.d.ts
|
|
112
|
-
type Props$274 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
99
|
+
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, icon, ...props }: Props$276) => import("react").JSX.Element;
|
|
100
|
+
type Props$275 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
113
101
|
forceMount?: boolean;
|
|
114
102
|
/** Classes for the inner scroll area, not the popup. Set a width, not a `max-width` (clips rows). */
|
|
115
103
|
className?: string;
|
|
116
104
|
viewPortClassName?: string;
|
|
117
105
|
container?: HTMLElement | null;
|
|
118
106
|
};
|
|
119
|
-
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$
|
|
120
|
-
|
|
121
|
-
//#region src/components/DropdownMenu/DropdownMenuItemDescription.d.ts
|
|
122
|
-
type Props$273 = ComponentProps<'span'> & {
|
|
107
|
+
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$275) => import("react").JSX.Element;
|
|
108
|
+
type Props$274 = ComponentProps<'span'> & {
|
|
123
109
|
hideOnHover?: boolean;
|
|
124
110
|
};
|
|
125
|
-
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
type Props$272 = ComponentProps<typeof DropdownMenuPrimitive.
|
|
129
|
-
declare const DropdownMenuLabel: ({ className, ...props }: Props$272) => import("react").JSX.Element;
|
|
130
|
-
//#endregion
|
|
131
|
-
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.d.ts
|
|
132
|
-
type Props$271<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
111
|
+
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$274) => import("react").JSX.Element;
|
|
112
|
+
type Props$273 = ComponentProps<typeof DropdownMenuPrimitive.Label>;
|
|
113
|
+
declare const DropdownMenuLabel: ({ className, ...props }: Props$273) => import("react").JSX.Element;
|
|
114
|
+
type Props$272<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
133
115
|
value?: Value;
|
|
134
116
|
defaultValue?: Value;
|
|
135
117
|
onValueChange?: (value: Value) => void;
|
|
136
118
|
};
|
|
137
|
-
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$
|
|
138
|
-
|
|
139
|
-
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.d.ts
|
|
140
|
-
type Props$270 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
119
|
+
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$272<Value>) => import("react").JSX.Element;
|
|
120
|
+
type Props$271 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
141
121
|
closeOnSelect?: boolean;
|
|
142
122
|
indicatorAlign?: 'start' | 'end';
|
|
143
123
|
indicator?: 'radio' | 'check' | 'none';
|
|
@@ -145,33 +125,21 @@ type Props$270 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
|
145
125
|
iconClassName?: string;
|
|
146
126
|
isLoading?: boolean;
|
|
147
127
|
};
|
|
148
|
-
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
type Props$269 = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
|
|
152
|
-
declare const DropdownMenuSeparator: ({ className, ...props }: Props$269) => import("react").JSX.Element;
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.d.ts
|
|
128
|
+
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$271) => import("react").JSX.Element;
|
|
129
|
+
type Props$270 = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
|
|
130
|
+
declare const DropdownMenuSeparator: ({ className, ...props }: Props$270) => import("react").JSX.Element;
|
|
155
131
|
declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
type Props$268 = ComponentProps<typeof DropdownMenuPrimitive.
|
|
159
|
-
declare const DropdownMenuSubContent: ({ className, ...props }: Props$268) => import("react").JSX.Element;
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.d.ts
|
|
162
|
-
type Props$267 = ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
132
|
+
type Props$269 = ComponentProps<typeof DropdownMenuPrimitive.SubContent>;
|
|
133
|
+
declare const DropdownMenuSubContent: ({ className, ...props }: Props$269) => import("react").JSX.Element;
|
|
134
|
+
type Props$268 = ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
163
135
|
/** Leading Lucide icon, drawn like `DropdownMenu.Item`'s so the trigger lines up with items. */
|
|
164
136
|
icon?: ReactNode;
|
|
165
137
|
};
|
|
166
|
-
declare const DropdownMenuSubTrigger: ({ className, children, icon, ...props }: Props$
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
type Props$266 = ComponentProps<typeof
|
|
170
|
-
declare
|
|
171
|
-
//#endregion
|
|
172
|
-
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
173
|
-
type Props$265 = ComponentProps<typeof Root$2>;
|
|
174
|
-
declare function DropdownMenu({ modal, ...props }: Props$265): import("react").JSX.Element;
|
|
138
|
+
declare const DropdownMenuSubTrigger: ({ className, children, icon, ...props }: Props$268) => import("react").JSX.Element;
|
|
139
|
+
type Props$267 = ComponentProps<typeof Trigger$2>;
|
|
140
|
+
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$267) => import("react").JSX.Element;
|
|
141
|
+
type Props$266 = ComponentProps<typeof Root$2>;
|
|
142
|
+
declare function DropdownMenu({ modal, ...props }: Props$266): import("react").JSX.Element;
|
|
175
143
|
declare namespace DropdownMenu {
|
|
176
144
|
export { DropdownMenuTrigger as Trigger };
|
|
177
145
|
export { DropdownMenuContent as Content };
|
|
@@ -187,12 +155,10 @@ declare namespace DropdownMenu {
|
|
|
187
155
|
export { DropdownMenuRadioItem as RadioItem };
|
|
188
156
|
export { DropdownMenuItemDescription as ItemDescription };
|
|
189
157
|
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region src/blocks/SplitButton/SplitButton.d.ts
|
|
192
158
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
193
159
|
type Size$1 = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
194
160
|
type SpitButtonSize = Exclude<Size$1, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
195
|
-
type Props$
|
|
161
|
+
type Props$265 = {
|
|
196
162
|
actions?: ReactNode;
|
|
197
163
|
isActionsOpen?: boolean;
|
|
198
164
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -203,39 +169,29 @@ type Props$264 = {
|
|
|
203
169
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
204
170
|
size?: SpitButtonSize;
|
|
205
171
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
206
|
-
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, onActionsCloseAutoFocus, icon, children, ...rest }: Props$
|
|
172
|
+
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, onActionsCloseAutoFocus, icon, children, ...rest }: Props$265) => import("react").JSX.Element;
|
|
207
173
|
declare const SplitButton: typeof SplitButtonBase & {
|
|
208
174
|
Action: typeof DropdownMenuItem;
|
|
209
175
|
Actions: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
210
176
|
};
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region src/components/Tooltip/TooltipContent.d.ts
|
|
213
177
|
declare const tooltipVariants: (props?: ({
|
|
214
178
|
variant?: "action" | "explanatory" | null | undefined;
|
|
215
179
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
216
|
-
type Props$
|
|
180
|
+
type Props$264 = {
|
|
217
181
|
keepOpenOnPointerDownOutside?: boolean;
|
|
218
182
|
placement?: ComponentProps<typeof Content>['side'];
|
|
219
183
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
220
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
type Props$262 = ComponentProps<typeof Root$1>;
|
|
224
|
-
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$262) => import("react").JSX.Element;
|
|
225
|
-
//#endregion
|
|
226
|
-
//#region src/components/Tooltip/TooltipTitle.d.ts
|
|
184
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$264) => import("react").JSX.Element;
|
|
185
|
+
type Props$263 = ComponentProps<typeof Root$1>;
|
|
186
|
+
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$263) => import("react").JSX.Element;
|
|
227
187
|
/**
|
|
228
188
|
* Small uppercase heading above a rich tooltip's body copy, in the tooltip's text colour.
|
|
229
189
|
*/
|
|
230
190
|
declare const TooltipTitle: ({ className, ...rest }: ComponentProps<'div'>) => import("react").JSX.Element;
|
|
231
|
-
|
|
232
|
-
//#region src/components/Tooltip/TooltipTrigger.d.ts
|
|
233
|
-
type Props$261 = {
|
|
191
|
+
type Props$262 = {
|
|
234
192
|
keepOpenOnClick?: boolean;
|
|
235
193
|
} & ComponentProps<typeof Trigger$1>;
|
|
236
|
-
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$
|
|
237
|
-
//#endregion
|
|
238
|
-
//#region src/components/Tooltip/Tooltip.d.ts
|
|
194
|
+
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$262) => import("react").JSX.Element;
|
|
239
195
|
declare const HINT_UNDERLINE_CLASS_NAME = "tw:cursor-help tw:underline tw:decoration-dashed tw:decoration-muted-foreground/50 tw:underline-offset-2";
|
|
240
196
|
type TriggerProps$1 = {
|
|
241
197
|
triggerAsChild?: boolean;
|
|
@@ -266,9 +222,7 @@ declare namespace Tooltip {
|
|
|
266
222
|
export { TooltipTrigger as Trigger };
|
|
267
223
|
export { TooltipTitle as Title };
|
|
268
224
|
}
|
|
269
|
-
|
|
270
|
-
//#region src/blocks/MultiActionButtonGroup/MultiActionButton.d.ts
|
|
271
|
-
type Props$260 = {
|
|
225
|
+
type Props$261 = {
|
|
272
226
|
disabled?: boolean;
|
|
273
227
|
icon: ReactNode;
|
|
274
228
|
isLoading?: boolean;
|
|
@@ -278,81 +232,67 @@ type Props$260 = {
|
|
|
278
232
|
tooltipVariant?: ComponentProps<typeof Tooltip>['variant'];
|
|
279
233
|
'data-testid'?: string;
|
|
280
234
|
};
|
|
281
|
-
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$
|
|
282
|
-
|
|
283
|
-
//#region src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.d.ts
|
|
284
|
-
type Props$259 = {
|
|
235
|
+
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$261) => import("react").JSX.Element;
|
|
236
|
+
type Props$260 = {
|
|
285
237
|
className?: string;
|
|
286
238
|
} & PropsWithChildren;
|
|
287
|
-
declare function MultiActionButtonGroup({ children, className }: Props$
|
|
239
|
+
declare function MultiActionButtonGroup({ children, className }: Props$260): import("react").JSX.Element;
|
|
288
240
|
declare namespace MultiActionButtonGroup {
|
|
289
241
|
export { MultiActionButton as Button };
|
|
290
242
|
}
|
|
291
|
-
//#endregion
|
|
292
|
-
//#region src/components/Toggle/Toggle.d.ts
|
|
293
243
|
declare const toggleVariants: (props?: ({
|
|
294
244
|
variant?: "ai" | "ai-vivid" | "ghost" | null | undefined;
|
|
295
245
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
296
246
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
297
247
|
iconOnly?: boolean | null | undefined;
|
|
298
248
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
299
|
-
type Props$
|
|
249
|
+
type Props$259 = {
|
|
300
250
|
icon?: ReactNode;
|
|
301
251
|
badge?: ReactNode;
|
|
302
252
|
orientation?: 'horizontal' | 'vertical';
|
|
303
253
|
} & ComponentProps<typeof Root$3> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
304
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
305
|
-
//#endregion
|
|
306
|
-
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
254
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$259) => import("react").JSX.Element;
|
|
307
255
|
declare const rootVariants: (props?: ({
|
|
308
256
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
309
257
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
310
|
-
type RootProps$
|
|
258
|
+
type RootProps$10 = ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof rootVariants>;
|
|
311
259
|
/**
|
|
312
260
|
* Segmented row of mutually-exclusive (or multi-select) options. Built on `@radix-ui/react-toggle-group`.
|
|
313
261
|
* For `type="single"`, `onValueChange` receives `""` when the user deselects the active item.
|
|
314
262
|
*/
|
|
315
|
-
declare const Root$20: ({ ref, className, size, ...props }: RootProps$
|
|
263
|
+
declare const Root$20: ({ ref, className, size, ...props }: RootProps$10) => import("react").JSX.Element;
|
|
316
264
|
type ItemProps$1 = ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
317
265
|
declare const Item$1: ({ ref, className, ...props }: ItemProps$1) => import("react").JSX.Element;
|
|
318
266
|
declare const ToggleGroup: typeof Root$20 & {
|
|
319
267
|
/** Individual segment inside a `ToggleGroup`. `value` is required and must be unique within the group. */
|
|
320
268
|
Item: typeof Item$1;
|
|
321
269
|
};
|
|
322
|
-
|
|
323
|
-
//#region src/components/Clipboard/Clipboard.d.ts
|
|
324
|
-
type Props$257 = {
|
|
270
|
+
type Props$258 = {
|
|
325
271
|
tooltip?: Props$10['tooltip'];
|
|
326
272
|
tooltipPlacement?: Props$10['placement'];
|
|
327
273
|
tooltipVariant?: Props$10['variant'];
|
|
328
274
|
asChild?: Props$10['triggerAsChild'];
|
|
329
275
|
text?: string | (() => string);
|
|
330
276
|
} & ComponentProps<'button'>;
|
|
331
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
332
|
-
//#endregion
|
|
333
|
-
//#region src/blocks/ClipboardButton/ClipboardButton.d.ts
|
|
277
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$258) => import("react").JSX.Element;
|
|
334
278
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
335
279
|
type ButtonProps$4 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
336
|
-
type Props$
|
|
280
|
+
type Props$257 = ClipboardProps$1 & ButtonProps$4 & {
|
|
337
281
|
icon?: ReactNode;
|
|
338
282
|
};
|
|
339
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region src/blocks/ClipboardButton/ClipboardInline.d.ts
|
|
283
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$257) => import("react").JSX.Element;
|
|
342
284
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
343
285
|
type ButtonProps$3 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
344
|
-
type Props$
|
|
286
|
+
type Props$256 = {
|
|
345
287
|
hideIcon?: boolean;
|
|
346
288
|
} & ClipboardProps & ButtonProps$3;
|
|
347
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
348
|
-
//#endregion
|
|
349
|
-
//#region src/blocks/ExportMenu/ExportMenu.d.ts
|
|
289
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$256) => import("react").JSX.Element;
|
|
350
290
|
type ExportMenuItem = {
|
|
351
291
|
/** Menu label, e.g. "Download as CSV". */
|
|
352
292
|
label: string;
|
|
353
293
|
onSelect: () => void;
|
|
354
294
|
};
|
|
355
|
-
type Props$
|
|
295
|
+
type Props$255 = {
|
|
356
296
|
items: ExportMenuItem[];
|
|
357
297
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
358
298
|
label: string;
|
|
@@ -366,9 +306,7 @@ type Props$254 = {
|
|
|
366
306
|
* - Callers inject it into `ZoomableSvg`; importing it there would pull ~11 kB of
|
|
367
307
|
* `DropdownMenu` chunk-mates behind the lazy `@keboola/design/mermaid` boundary.
|
|
368
308
|
*/
|
|
369
|
-
declare const ExportMenu: ({ items, label, size, variant }: Props$
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region src/blocks/CopyField/CopyBox.d.ts
|
|
309
|
+
declare const ExportMenu: ({ items, label, size, variant }: Props$255) => import("react").JSX.Element;
|
|
372
310
|
type CopyBoxProps = {
|
|
373
311
|
/** Additional CSS classes on the box. */
|
|
374
312
|
className?: string;
|
|
@@ -382,31 +320,23 @@ type CopyBoxProps = {
|
|
|
382
320
|
* inside a `<button>` is invalid HTML.
|
|
383
321
|
*/
|
|
384
322
|
declare const CopyBox: ({ className, children }: CopyBoxProps) => import("react").JSX.Element;
|
|
385
|
-
//#endregion
|
|
386
|
-
//#region src/blocks/CopyField/CopyButton.d.ts
|
|
387
323
|
type CopyButtonProps = {
|
|
388
324
|
className?: string;
|
|
389
325
|
};
|
|
390
326
|
/** Copy affordance icon — shows Copy/Check with feedback. */
|
|
391
327
|
declare const CopyButton: ({ className }: CopyButtonProps) => import("react").JSX.Element;
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region src/blocks/CopyField/CopyChildren.d.ts
|
|
394
328
|
type CopyChildrenProps = {
|
|
395
329
|
children: ReactNode;
|
|
396
330
|
className?: string;
|
|
397
331
|
};
|
|
398
332
|
/** The displayed value. Truncates on a single line, wraps when multi-line. */
|
|
399
333
|
declare const CopyChildren: ({ children, className }: CopyChildrenProps) => import("react").JSX.Element;
|
|
400
|
-
//#endregion
|
|
401
|
-
//#region src/blocks/CopyField/CopyFooter.d.ts
|
|
402
334
|
type CopyFooterProps = {
|
|
403
335
|
children: ReactNode;
|
|
404
336
|
className?: string;
|
|
405
337
|
};
|
|
406
338
|
/** Small helper text below the box (mirrors `FormGroup.Help` / `HelpBlock` styling). */
|
|
407
339
|
declare const CopyFooter: ({ children, className }: CopyFooterProps) => import("react").JSX.Element | null;
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region src/blocks/CopyField/CopyHidden.d.ts
|
|
410
340
|
type CopyHiddenProps = {
|
|
411
341
|
children: ReactNode;
|
|
412
342
|
/**
|
|
@@ -421,8 +351,6 @@ type CopyHiddenProps = {
|
|
|
421
351
|
* so copy always copies the real value regardless of mask state.
|
|
422
352
|
*/
|
|
423
353
|
declare const CopyHidden: ({ children, revealable, className }: CopyHiddenProps) => import("react").JSX.Element;
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/blocks/CopyField/CopyLabel.d.ts
|
|
426
354
|
type CopyLabelProps = {
|
|
427
355
|
children: ReactNode;
|
|
428
356
|
/** Content rendered right after the label text (e.g. an Info tooltip button). */
|
|
@@ -439,16 +367,12 @@ type CopyLabelProps = {
|
|
|
439
367
|
* edge with the space between them growing.
|
|
440
368
|
*/
|
|
441
369
|
declare const CopyLabel: ({ children, leading, trailing, className }: CopyLabelProps) => import("react").JSX.Element;
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/blocks/CopyField/CopyPrefix.d.ts
|
|
444
370
|
type CopyAddonProps$1 = {
|
|
445
371
|
children: ReactNode;
|
|
446
372
|
className?: string;
|
|
447
373
|
};
|
|
448
374
|
/** Muted, non-selectable prefix addon with a trailing divider (not part of the copied value). */
|
|
449
375
|
declare const CopyPrefix: ({ children, className }: CopyAddonProps$1) => import("react").JSX.Element;
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region src/blocks/CopyField/CopyReveal.d.ts
|
|
452
376
|
type CopyRevealProps = {
|
|
453
377
|
className?: string;
|
|
454
378
|
/** Names what the eye reveals, e.g. `password` → "Show password"; defaults to `value`. */
|
|
@@ -456,8 +380,6 @@ type CopyRevealProps = {
|
|
|
456
380
|
};
|
|
457
381
|
/** Eye toggle that reveals/masks `CopyField.Hidden` content. Renders nothing without revealable content. */
|
|
458
382
|
declare const CopyReveal: ({ className, subject }: CopyRevealProps) => import("react").JSX.Element | null;
|
|
459
|
-
//#endregion
|
|
460
|
-
//#region src/blocks/CopyField/CopyRoot.d.ts
|
|
461
383
|
type CopyRootProps = {
|
|
462
384
|
/** The value copied to the clipboard on click. */
|
|
463
385
|
value: string;
|
|
@@ -482,16 +404,12 @@ type CopyRootProps = {
|
|
|
482
404
|
* shared context consumed by `CopyField.Box`, `CopyField.Reveal`, `CopyField.Button`, etc.
|
|
483
405
|
*/
|
|
484
406
|
declare const CopyRoot: ({ value, mono, onCopy, hiddenByDefault, minLines, maxLines, hoverHint, className, children }: CopyRootProps) => import("react").JSX.Element;
|
|
485
|
-
//#endregion
|
|
486
|
-
//#region src/blocks/CopyField/CopySuffix.d.ts
|
|
487
407
|
type CopyAddonProps = {
|
|
488
408
|
children: ReactNode;
|
|
489
409
|
className?: string;
|
|
490
410
|
};
|
|
491
411
|
/** Muted, non-selectable suffix addon with a leading divider (not part of the copied value). */
|
|
492
412
|
declare const CopySuffix: ({ children, className }: CopyAddonProps) => import("react").JSX.Element;
|
|
493
|
-
//#endregion
|
|
494
|
-
//#region src/blocks/CopyField/CopyField.d.ts
|
|
495
413
|
/**
|
|
496
414
|
* Readonly value/command box that copies `value` on click.
|
|
497
415
|
*
|
|
@@ -521,27 +439,23 @@ declare const CopyField: {
|
|
|
521
439
|
/** Helper text below the box. */
|
|
522
440
|
Footer: typeof CopyFooter;
|
|
523
441
|
};
|
|
524
|
-
//#endregion
|
|
525
|
-
//#region src/blocks/MicrosoftButton/MicrosoftButton.d.ts
|
|
526
442
|
/** The same Microsoft mark supports these call-to-action wordings. */
|
|
527
443
|
declare const LABELS$2: {
|
|
528
444
|
readonly signin: 'Sign in with Microsoft';
|
|
529
445
|
readonly signup: 'Sign up with Microsoft';
|
|
530
446
|
readonly continue: 'Continue with Microsoft';
|
|
531
447
|
};
|
|
532
|
-
type Props$
|
|
448
|
+
type Props$254 = ComponentPropsWithRef<'button'> & {
|
|
533
449
|
label?: keyof typeof LABELS$2;
|
|
534
450
|
isLoading?: boolean;
|
|
535
451
|
};
|
|
536
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
537
|
-
//#endregion
|
|
538
|
-
//#region src/blocks/FacebookButton/FacebookButton.d.ts
|
|
452
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$254) => import("react").JSX.Element;
|
|
539
453
|
/** The call-to-action wordings Meta's Facebook Login guidelines prefer. */
|
|
540
454
|
declare const LABELS$1: {
|
|
541
455
|
readonly login: 'Log in with Facebook';
|
|
542
456
|
readonly continue: 'Continue with Facebook';
|
|
543
457
|
};
|
|
544
|
-
type Props$
|
|
458
|
+
type Props$253 = ComponentPropsWithRef<'button'> & {
|
|
545
459
|
label?: keyof typeof LABELS$1;
|
|
546
460
|
isLoading?: boolean;
|
|
547
461
|
};
|
|
@@ -550,9 +464,7 @@ type Props$252 = ComponentPropsWithRef<'button'> & {
|
|
|
550
464
|
*
|
|
551
465
|
* - The fill is the logo pack's Facebook Blue; the mark is the secondary logo (white disc).
|
|
552
466
|
*/
|
|
553
|
-
declare const FacebookButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
554
|
-
//#endregion
|
|
555
|
-
//#region src/blocks/GoogleButton/GoogleButton.d.ts
|
|
467
|
+
declare const FacebookButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$253) => import("react").JSX.Element;
|
|
556
468
|
declare const LABELS: {
|
|
557
469
|
readonly signin: 'Sign in with Google';
|
|
558
470
|
readonly signup: 'Sign up with Google';
|
|
@@ -564,25 +476,19 @@ declare const variants$6: (props?: ({
|
|
|
564
476
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
565
477
|
size?: "default" | "icon" | null | undefined;
|
|
566
478
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
567
|
-
type Props$
|
|
479
|
+
type Props$252 = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$6> & {
|
|
568
480
|
label?: keyof typeof LABELS;
|
|
569
481
|
isLoading?: boolean;
|
|
570
482
|
};
|
|
571
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
type Props$250 = ComponentProps<'a'>;
|
|
575
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$250) => import("react").JSX.Element;
|
|
576
|
-
//#endregion
|
|
577
|
-
//#region src/components/AlertModal/variant.d.ts
|
|
483
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$252) => import("react").JSX.Element;
|
|
484
|
+
type Props$251 = ComponentProps<'a'>;
|
|
485
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$251) => import("react").JSX.Element;
|
|
578
486
|
/**
|
|
579
487
|
* AlertModal status variants. Mirrors `Alert`'s set but exposes `danger` (not `error`) since an
|
|
580
488
|
* alert dialog frames a destructive action; it still maps to the red `error-*` color scale.
|
|
581
489
|
*/
|
|
582
490
|
type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
583
|
-
|
|
584
|
-
//#region src/components/AlertModal/AlertModalContent.d.ts
|
|
585
|
-
type Props$249 = {
|
|
491
|
+
type Props$250 = {
|
|
586
492
|
variant?: AlertModalVariant;
|
|
587
493
|
/** `false` draws no icon at all, and gives the title and body its column. */
|
|
588
494
|
icon?: ReactNode | false;
|
|
@@ -593,59 +499,47 @@ type Props$249 = {
|
|
|
593
499
|
confirmDisabled?: boolean;
|
|
594
500
|
container?: ComponentProps<typeof Portal$1>['container'];
|
|
595
501
|
} & Omit<ComponentProps<typeof Content$1>, 'title'>;
|
|
596
|
-
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
type Props$248 = ComponentPropsWithRef<typeof Trigger$3>;
|
|
600
|
-
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$248) => import("react").JSX.Element;
|
|
601
|
-
//#endregion
|
|
602
|
-
//#region src/components/AlertModal/AlertModal.d.ts
|
|
502
|
+
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$250) => import("react").JSX.Element;
|
|
503
|
+
type Props$249 = ComponentPropsWithRef<typeof Trigger$3>;
|
|
504
|
+
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$249) => import("react").JSX.Element;
|
|
603
505
|
type ConfirmHandler = (event: MouseEvent<HTMLButtonElement>) => void | Promise<unknown>;
|
|
604
506
|
type CancelHandler = (event: MouseEvent<HTMLButtonElement>) => void;
|
|
605
|
-
type Props$
|
|
507
|
+
type Props$248 = {
|
|
606
508
|
onConfirm?: ConfirmHandler;
|
|
607
509
|
onCancel?: CancelHandler;
|
|
608
510
|
skipAsyncWait?: boolean;
|
|
609
511
|
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
610
512
|
isLoading?: boolean;
|
|
611
513
|
} & ComponentProps<typeof Root$4>;
|
|
612
|
-
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
514
|
+
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$248): import("react").JSX.Element;
|
|
613
515
|
declare namespace AlertModal {
|
|
614
516
|
export { AlertModalTrigger as Trigger };
|
|
615
517
|
export { AlertModalContent as Content };
|
|
616
518
|
}
|
|
617
|
-
//#endregion
|
|
618
|
-
//#region src/components/Modal/ModalBody.d.ts
|
|
619
519
|
/** Props for `Modal.Body`. Accepts all `<div>` attributes; `as="form"` is reserved for future use. */
|
|
620
|
-
type Props$
|
|
520
|
+
type Props$247 = ComponentProps<'div'> & {
|
|
621
521
|
as?: 'form';
|
|
622
522
|
};
|
|
623
523
|
/**
|
|
624
524
|
* Scrollable body slot for `Modal`. Place form fields, content blocks, or detail panels here.
|
|
625
525
|
* Takes available height inside `Modal.Content` and scrolls when content overflows.
|
|
626
526
|
*/
|
|
627
|
-
declare const ModalBody: ({ className, ...props }: Props$
|
|
628
|
-
|
|
629
|
-
//#region src/components/Modal/ModalContent.d.ts
|
|
630
|
-
type Props$245 = ComponentProps<typeof Content$2> & {
|
|
527
|
+
declare const ModalBody: ({ className, ...props }: Props$247) => import("react").JSX.Element;
|
|
528
|
+
type Props$246 = ComponentProps<typeof Content$2> & {
|
|
631
529
|
size?: 'small' | 'medium' | 'large';
|
|
632
530
|
/** `top` keeps a form that changes height in place; ignored by the legacy brand (always top-anchored). */
|
|
633
531
|
align?: 'center' | 'top';
|
|
634
532
|
};
|
|
635
|
-
declare const ModalContent: ({ size, align, className, children, onEscapeKeyDown, ...props }: Props$
|
|
636
|
-
|
|
637
|
-
//#region src/components/Modal/ModalFooter.d.ts
|
|
638
|
-
type Props$244 = ComponentPropsWithRef<'div'>;
|
|
533
|
+
declare const ModalContent: ({ size, align, className, children, onEscapeKeyDown, ...props }: Props$246) => import("react").JSX.Element;
|
|
534
|
+
type Props$245 = ComponentPropsWithRef<'div'>;
|
|
639
535
|
/**
|
|
640
536
|
* The modal's action row.
|
|
641
537
|
*
|
|
642
538
|
* - A child that should fill the row carries `tw:w-full` itself; the footer is already full width.
|
|
643
539
|
* - tailwind-merge replaces only within a group: `tw:flex-col` keeps `items-center`, so add `tw:items-stretch`.
|
|
644
540
|
*/
|
|
645
|
-
declare const ModalFooter: ({ className, ...props }: Props$
|
|
646
|
-
|
|
647
|
-
//#region src/components/Modal/ModalHeader.d.ts
|
|
648
|
-
type Props$243 = {
|
|
541
|
+
declare const ModalFooter: ({ className, ...props }: Props$245) => import("react").JSX.Element;
|
|
542
|
+
type Props$244 = {
|
|
649
543
|
/** Status icon slot — `<Modal.Icon />` or `<Modal.Image />`. */
|
|
650
544
|
icon?: ReactNode;
|
|
651
545
|
/** Visible subtitle below the title (also fills `aria-describedby`). */
|
|
@@ -658,11 +552,9 @@ type Props$243 = {
|
|
|
658
552
|
hideCloseIcon?: boolean;
|
|
659
553
|
} & ComponentProps<'div'>;
|
|
660
554
|
/** Modal header: `[icon] | title (children) | actions + close` on row 1, `description` on row 2. */
|
|
661
|
-
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$
|
|
662
|
-
//#endregion
|
|
663
|
-
//#region src/components/Modal/ModalIcon.d.ts
|
|
555
|
+
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$244) => import("react").JSX.Element;
|
|
664
556
|
type NamedColor = 'orange' | 'blue' | 'red' | 'green' | 'gray' | 'violet';
|
|
665
|
-
type Props$
|
|
557
|
+
type Props$243 = {
|
|
666
558
|
color: NamedColor | (string & {});
|
|
667
559
|
icon: ReactNode;
|
|
668
560
|
};
|
|
@@ -672,25 +564,19 @@ type Props$242 = {
|
|
|
672
564
|
* - Soft-tinted inline badge in the header grid's first column, next to the title.
|
|
673
565
|
* - `color` is categorical (`red` destructive … `violet` agent), fixed across brand themes.
|
|
674
566
|
*/
|
|
675
|
-
declare const ModalIcon: ({ color, icon }: Props$
|
|
676
|
-
|
|
677
|
-
//#region src/components/Modal/ModalImage.d.ts
|
|
678
|
-
type Props$241 = {
|
|
567
|
+
declare const ModalIcon: ({ color, icon }: Props$243) => import("react").JSX.Element;
|
|
568
|
+
type Props$242 = {
|
|
679
569
|
src: string;
|
|
680
570
|
/** Accessible alt text. Defaults to `""` (decorative) — provide it when the image carries meaning. */
|
|
681
571
|
alt?: string;
|
|
682
572
|
};
|
|
683
|
-
declare const ModalImage: ({ src, alt }: Props$
|
|
684
|
-
|
|
685
|
-
//#region src/components/Modal/ModalOverlay.d.ts
|
|
686
|
-
type Props$240 = ComponentProps<typeof Overlay$1> & {
|
|
573
|
+
declare const ModalImage: ({ src, alt }: Props$242) => import("react").JSX.Element | null;
|
|
574
|
+
type Props$241 = ComponentProps<typeof Overlay$1> & {
|
|
687
575
|
disableTransition?: boolean;
|
|
688
576
|
};
|
|
689
|
-
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
type Props$239 = ComponentProps<typeof Root$5>;
|
|
693
|
-
declare function Modal(props: Props$239): import("react").JSX.Element;
|
|
577
|
+
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$241) => import("react").JSX.Element;
|
|
578
|
+
type Props$240 = ComponentProps<typeof Root$5>;
|
|
579
|
+
declare function Modal(props: Props$240): import("react").JSX.Element;
|
|
694
580
|
declare namespace Modal {
|
|
695
581
|
export { Close };
|
|
696
582
|
export { Trigger$4 as Trigger };
|
|
@@ -702,15 +588,11 @@ declare namespace Modal {
|
|
|
702
588
|
export { ModalHeader as Header };
|
|
703
589
|
export { ModalOverlay as Overlay };
|
|
704
590
|
}
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
type Props$238 = HTMLAttributes<HTMLDivElement>;
|
|
708
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$238 & {
|
|
591
|
+
type Props$239 = HTMLAttributes<HTMLDivElement>;
|
|
592
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$239 & {
|
|
709
593
|
ref?: Ref<HTMLDivElement>;
|
|
710
594
|
}) => import("react").JSX.Element;
|
|
711
|
-
|
|
712
|
-
//#region src/components/FullScreenModal/FullScreenModalHeader.d.ts
|
|
713
|
-
type Props$237 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
595
|
+
type Props$238 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
714
596
|
title: ReactNode;
|
|
715
597
|
titleClassName?: string;
|
|
716
598
|
titleWrapperClassName?: string;
|
|
@@ -719,61 +601,45 @@ type Props$237 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
719
601
|
onClose?: () => void;
|
|
720
602
|
showPreviousTitle?: boolean;
|
|
721
603
|
}>;
|
|
722
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
723
|
-
|
|
724
|
-
//#region src/components/FullScreenModal/FullScreenModalRoot.d.ts
|
|
725
|
-
type Props$236 = HTMLAttributes<HTMLDivElement> & {
|
|
604
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$238) => import("react").JSX.Element;
|
|
605
|
+
type Props$237 = HTMLAttributes<HTMLDivElement> & {
|
|
726
606
|
children: ReactNode;
|
|
727
607
|
/** Lock body scroll when modal is open. Default: true */
|
|
728
608
|
lockBodyScroll?: boolean;
|
|
729
609
|
/** Callback when ESC key is pressed */
|
|
730
610
|
onEscapeKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
731
611
|
};
|
|
732
|
-
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$
|
|
733
|
-
//#endregion
|
|
734
|
-
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
612
|
+
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$237) => import("react").ReactPortal;
|
|
735
613
|
declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
736
614
|
Header: typeof FullScreenModalHeader;
|
|
737
615
|
Body: typeof FullScreenModalBody;
|
|
738
616
|
};
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
type Props$235 = ComponentProps<'div'>;
|
|
742
|
-
declare const SheetBody: ({ className, ...rest }: Props$235) => import("react").JSX.Element;
|
|
743
|
-
//#endregion
|
|
744
|
-
//#region src/components/Sheet/SheetContent.d.ts
|
|
617
|
+
type Props$236 = ComponentProps<'div'>;
|
|
618
|
+
declare const SheetBody: ({ className, ...rest }: Props$236) => import("react").JSX.Element;
|
|
745
619
|
declare const sheetContentVariants: (props?: ({
|
|
746
620
|
disableTransition?: boolean | null | undefined;
|
|
747
621
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
748
622
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
749
|
-
type Props$
|
|
623
|
+
type Props$235 = ComponentProps<typeof Content$2> & {
|
|
750
624
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
751
625
|
hideOverlay?: boolean;
|
|
752
626
|
keepOpenOnPointerDownOutside?: boolean;
|
|
753
627
|
} & VariantProps<typeof sheetContentVariants> & Pick<ComponentProps<typeof Portal$2>, 'container'>;
|
|
754
|
-
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
type Props$233 =
|
|
758
|
-
declare const SheetFooter: ({ className, ...props }: Props$233) => import("react").JSX.Element;
|
|
759
|
-
//#endregion
|
|
760
|
-
//#region src/components/Sheet/SheetHeader.d.ts
|
|
761
|
-
type Props$232 = {
|
|
628
|
+
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$235) => import("react").JSX.Element;
|
|
629
|
+
type Props$234 = ComponentProps<'div'>;
|
|
630
|
+
declare const SheetFooter: ({ className, ...props }: Props$234) => import("react").JSX.Element;
|
|
631
|
+
type Props$233 = {
|
|
762
632
|
title?: ReactNode;
|
|
763
633
|
description?: ReactNode;
|
|
764
634
|
hideCloseIcon?: boolean;
|
|
765
635
|
} & ComponentProps<'div'>;
|
|
766
|
-
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$
|
|
767
|
-
|
|
768
|
-
//#region src/components/Sheet/SheetTitle.d.ts
|
|
769
|
-
type Props$231 = ComponentProps<typeof Title$1> & {
|
|
636
|
+
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$233) => import("react").JSX.Element;
|
|
637
|
+
type Props$232 = ComponentProps<typeof Title$1> & {
|
|
770
638
|
visuallyHidden?: boolean;
|
|
771
639
|
};
|
|
772
|
-
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
type Props$230 = ComponentProps<typeof Root$5>;
|
|
776
|
-
declare function Sheet(props: Props$230): import("react").JSX.Element;
|
|
640
|
+
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$232) => import("react").JSX.Element;
|
|
641
|
+
type Props$231 = ComponentProps<typeof Root$5>;
|
|
642
|
+
declare function Sheet(props: Props$231): import("react").JSX.Element;
|
|
777
643
|
declare namespace Sheet {
|
|
778
644
|
export { Close };
|
|
779
645
|
export { Trigger$4 as Trigger };
|
|
@@ -783,30 +649,24 @@ declare namespace Sheet {
|
|
|
783
649
|
export { SheetFooter as Footer };
|
|
784
650
|
export { SheetBody as Body };
|
|
785
651
|
}
|
|
786
|
-
//#endregion
|
|
787
|
-
//#region src/components/Popover/PopoverContent.d.ts
|
|
788
652
|
declare const variants$5: (props?: ({
|
|
789
653
|
matchTriggerWidth?: boolean | null | undefined;
|
|
790
654
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
791
|
-
type Props$
|
|
655
|
+
type Props$230 = ComponentProps<typeof Content$3> & VariantProps<typeof variants$5> & {
|
|
792
656
|
/**
|
|
793
657
|
* Portal target, default `document.body`; pass a theme-scoped host so the panel takes its theme.
|
|
794
658
|
*/
|
|
795
659
|
container?: ComponentProps<typeof Portal$3>['container'];
|
|
796
660
|
};
|
|
797
|
-
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
type Props$228 = ComponentProps<typeof Root$6>;
|
|
801
|
-
declare function Popover(props: Props$228): import("react").JSX.Element;
|
|
661
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$230) => import("react").JSX.Element;
|
|
662
|
+
type Props$229 = ComponentProps<typeof Root$6>;
|
|
663
|
+
declare function Popover(props: Props$229): import("react").JSX.Element;
|
|
802
664
|
declare namespace Popover {
|
|
803
665
|
export { PopoverContent as Content };
|
|
804
666
|
export { Trigger$5 as Trigger };
|
|
805
667
|
export { Anchor };
|
|
806
668
|
export { Close$1 as Close };
|
|
807
669
|
}
|
|
808
|
-
//#endregion
|
|
809
|
-
//#region src/components/Popconfirm/context.d.ts
|
|
810
670
|
type PopconfirmContextType = {
|
|
811
671
|
variant: 'confirm' | 'danger';
|
|
812
672
|
onConfirm: (event: MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
@@ -814,12 +674,14 @@ type PopconfirmContextType = {
|
|
|
814
674
|
enabled: boolean;
|
|
815
675
|
isLoading: boolean;
|
|
816
676
|
};
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
677
|
+
type Props$228 = ComponentProps<'div'>;
|
|
678
|
+
/**
|
|
679
|
+
* The popconfirm's message: plain text, or `Popconfirm.Title` + `Popconfirm.Description`.
|
|
680
|
+
*
|
|
681
|
+
* - Text wraps at 384 px; only the footer's buttons widen the popover past that.
|
|
682
|
+
* - Owns the spacing between its blocks: 12 px, 2 px between a title and its description.
|
|
683
|
+
*/
|
|
684
|
+
declare const PopconfirmBody: ({ className, ...props }: Props$228) => import("react").JSX.Element;
|
|
823
685
|
type SlotProps$5 = {
|
|
824
686
|
asChild: true;
|
|
825
687
|
} & ComponentProps<'button'>;
|
|
@@ -827,10 +689,8 @@ type ButtonProps$2 = {
|
|
|
827
689
|
asChild?: false;
|
|
828
690
|
children?: ReactNode;
|
|
829
691
|
} & Omit<ComponentProps<typeof Button>, 'children'>;
|
|
830
|
-
type Props$
|
|
831
|
-
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
832
|
-
//#endregion
|
|
833
|
-
//#region src/components/Popconfirm/PopconfirmConfirm.d.ts
|
|
692
|
+
type Props$227 = SlotProps$5 | ButtonProps$2;
|
|
693
|
+
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$227) => import("react").JSX.Element;
|
|
834
694
|
type SlotProps$4 = {
|
|
835
695
|
asChild: true;
|
|
836
696
|
} & ComponentProps<'button'>;
|
|
@@ -838,83 +698,70 @@ type ButtonProps$1 = {
|
|
|
838
698
|
asChild?: false;
|
|
839
699
|
children?: ReactNode;
|
|
840
700
|
} & Omit<ComponentProps<typeof Button>, 'children' | 'isLoading'>;
|
|
841
|
-
type Props$
|
|
842
|
-
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
701
|
+
type Props$226 = SlotProps$4 | ButtonProps$1;
|
|
702
|
+
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$226) => import("react").JSX.Element;
|
|
703
|
+
type Props$225 = Omit<ComponentProps<typeof Popover.Content>, 'showArrow'> & {
|
|
704
|
+
/** `centered` centres the title and description; other content keeps its alignment. */
|
|
705
|
+
layout?: 'default' | 'centered';
|
|
706
|
+
};
|
|
707
|
+
declare const PopconfirmContent: ({ className, onInteractOutside, layout, ...props }: Props$225) => import("react").JSX.Element;
|
|
708
|
+
type Props$224 = ComponentProps<'p'>;
|
|
709
|
+
declare const PopconfirmDescription: ({ className, ...props }: Props$224) => import("react").JSX.Element;
|
|
849
710
|
type Props$223 = ComponentProps<'div'>;
|
|
711
|
+
/**
|
|
712
|
+
* The popconfirm's action row.
|
|
713
|
+
*
|
|
714
|
+
* - Every child gets an equal-width column, so Cancel and Confirm split the row evenly.
|
|
715
|
+
* - A lone Confirm spans the whole row.
|
|
716
|
+
*/
|
|
850
717
|
declare const PopconfirmFooter: ({ className, ...props }: Props$223) => import("react").JSX.Element;
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
type Props$
|
|
854
|
-
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$
|
|
855
|
-
|
|
856
|
-
//#region src/components/Popconfirm/Popconfirm.d.ts
|
|
857
|
-
type Props$221 = {
|
|
718
|
+
type Props$222 = ComponentProps<'p'>;
|
|
719
|
+
declare const PopconfirmTitle: ({ className, ...props }: Props$222) => import("react").JSX.Element;
|
|
720
|
+
type Props$221 = ComponentProps<typeof Popover.Trigger>;
|
|
721
|
+
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$221) => import("react").JSX.Element;
|
|
722
|
+
type Props$220 = {
|
|
858
723
|
children: ReactNode;
|
|
859
724
|
skipAsyncWait?: boolean;
|
|
860
725
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
861
|
-
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
726
|
+
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$220): import("react").JSX.Element;
|
|
862
727
|
declare namespace Popconfirm {
|
|
863
728
|
export { PopconfirmConfirm as Confirm };
|
|
864
729
|
export { PopconfirmCancel as Cancel };
|
|
865
730
|
export { PopconfirmFooter as Footer };
|
|
866
731
|
export { PopconfirmContent as Content };
|
|
867
732
|
export { PopconfirmBody as Body };
|
|
733
|
+
export { PopconfirmTitle as Title };
|
|
734
|
+
export { PopconfirmDescription as Description };
|
|
868
735
|
export { PopconfirmTrigger as Trigger };
|
|
869
736
|
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
type Props$
|
|
873
|
-
declare
|
|
874
|
-
//#endregion
|
|
875
|
-
//#region src/components/HoverCard/HoverCard.d.ts
|
|
876
|
-
type Props$219 = ComponentProps<typeof Root$7>;
|
|
877
|
-
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$219): import("react").JSX.Element;
|
|
737
|
+
type Props$219 = ComponentProps<typeof Content$4>;
|
|
738
|
+
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$219) => import("react").JSX.Element;
|
|
739
|
+
type Props$218 = ComponentProps<typeof Root$7>;
|
|
740
|
+
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$218): import("react").JSX.Element;
|
|
878
741
|
declare namespace HoverCard {
|
|
879
742
|
export { HoverCardContent as Content };
|
|
880
743
|
export { Trigger$6 as Trigger };
|
|
881
744
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
type Props$
|
|
885
|
-
declare const
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
type Props$217 = ComponentProps<typeof Command$1.Empty>;
|
|
889
|
-
declare const CommandEmpty: ({ ...props }: Props$217) => import("react").JSX.Element;
|
|
890
|
-
//#endregion
|
|
891
|
-
//#region src/blocks/Command/CommandGroup.d.ts
|
|
892
|
-
type Props$216 = ComponentProps<typeof Command$1.Group>;
|
|
893
|
-
declare const CommandGroup: ({ className, ...props }: Props$216) => import("react").JSX.Element;
|
|
894
|
-
//#endregion
|
|
895
|
-
//#region src/components/InputGroup/InputGroupAddon.d.ts
|
|
745
|
+
type Props$217 = ComponentProps<'div'>;
|
|
746
|
+
declare const CommandContent: ({ className, ...rest }: Props$217) => import("react").JSX.Element;
|
|
747
|
+
type Props$216 = ComponentProps<typeof Command$1.Empty>;
|
|
748
|
+
declare const CommandEmpty: ({ ...props }: Props$216) => import("react").JSX.Element;
|
|
749
|
+
type Props$215 = ComponentProps<typeof Command$1.Group>;
|
|
750
|
+
declare const CommandGroup: ({ className, ...props }: Props$215) => import("react").JSX.Element;
|
|
896
751
|
declare const addonVariants$1: (props?: ({
|
|
897
752
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
898
753
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
899
|
-
type Props$
|
|
900
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
901
|
-
//#endregion
|
|
902
|
-
//#region src/components/InputGroup/InputGroupButton.d.ts
|
|
754
|
+
type Props$214 = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
755
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$214) => import("react").JSX.Element;
|
|
903
756
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
904
|
-
type Props$
|
|
905
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
type Props$
|
|
909
|
-
declare const
|
|
910
|
-
//#endregion
|
|
911
|
-
//#region src/components/InputGroup/InputGroupText.d.ts
|
|
912
|
-
type Props$212 = ComponentProps<'span'>;
|
|
913
|
-
declare const InputGroupText: ({ className, ...props }: Props$212) => import("react").JSX.Element;
|
|
914
|
-
//#endregion
|
|
915
|
-
//#region src/components/InputGroup/InputGroupTextArea.d.ts
|
|
757
|
+
type Props$213 = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
758
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$213) => import("react").JSX.Element;
|
|
759
|
+
type Props$212 = ComponentProps<'input'>;
|
|
760
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$212) => import("react").JSX.Element;
|
|
761
|
+
type Props$211 = ComponentProps<'span'>;
|
|
762
|
+
declare const InputGroupText: ({ className, ...props }: Props$211) => import("react").JSX.Element;
|
|
916
763
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof TextareaAutosize>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
917
|
-
type Props$
|
|
764
|
+
type Props$210 = TextareaNativeProps$1 & {
|
|
918
765
|
value?: string | null;
|
|
919
766
|
defaultValue?: string | null;
|
|
920
767
|
onValueChange?: (value: string) => void;
|
|
@@ -922,15 +769,13 @@ type Props$211 = TextareaNativeProps$1 & {
|
|
|
922
769
|
maxRows?: number | 'unlimited';
|
|
923
770
|
disableResize?: boolean;
|
|
924
771
|
};
|
|
925
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
926
|
-
//#endregion
|
|
927
|
-
//#region src/components/InputGroup/InputGroup.d.ts
|
|
772
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$210) => import("react").JSX.Element;
|
|
928
773
|
declare const inputGroupVariants: (props?: ({
|
|
929
774
|
focusVariant?: "default" | "off" | "on" | null | undefined;
|
|
930
775
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
931
776
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
932
|
-
type Props$
|
|
933
|
-
declare const InputGroupRoot: ({ ref, children, state, focusVariant, className, ...props }: Props$
|
|
777
|
+
type Props$209 = ComponentPropsWithRef<'div'> & VariantProps<typeof inputGroupVariants>;
|
|
778
|
+
declare const InputGroupRoot: ({ ref, children, state, focusVariant, className, ...props }: Props$209) => import("react").JSX.Element;
|
|
934
779
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
935
780
|
Input: typeof InputGroupInput;
|
|
936
781
|
Addon: typeof InputGroupAddon;
|
|
@@ -938,8 +783,6 @@ declare const InputGroup: typeof InputGroupRoot & {
|
|
|
938
783
|
TextArea: typeof InputGroupTextArea;
|
|
939
784
|
Text: typeof InputGroupText;
|
|
940
785
|
};
|
|
941
|
-
//#endregion
|
|
942
|
-
//#region src/blocks/TextInput/TextInput.d.ts
|
|
943
786
|
type InputGroupProps$10 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
944
787
|
type OwnProps$1 = {
|
|
945
788
|
prefix?: ReactNode;
|
|
@@ -956,7 +799,7 @@ type OwnProps$1 = {
|
|
|
956
799
|
onValueChange?: (value: string) => void;
|
|
957
800
|
/** Receives the string value; `onBlur` gets the raw event. */
|
|
958
801
|
onValueBlur?: (value: string) => void;
|
|
959
|
-
type?: 'text' | 'email' | 'password' | 'datetime-local' | 'date';
|
|
802
|
+
type?: 'text' | 'email' | 'url' | 'password' | 'datetime-local' | 'date';
|
|
960
803
|
};
|
|
961
804
|
/** Props for `TextInput`; `null` / `undefined` values are coerced to `''`. */
|
|
962
805
|
type Props$5 = InputGroupProps$10 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
@@ -968,53 +811,37 @@ type Props$5 = InputGroupProps$10 & OwnProps$1 & Omit<ComponentProps<'input'>, '
|
|
|
968
811
|
* form), `SearchInput` (search).
|
|
969
812
|
*/
|
|
970
813
|
declare const TextInput: ({ ref: forwardedRef, state, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$5) => import("react").JSX.Element;
|
|
971
|
-
|
|
972
|
-
//#region src/blocks/Command/CommandInput.d.ts
|
|
973
|
-
type Props$209 = ComponentProps<typeof TextInput>;
|
|
814
|
+
type Props$208 = ComponentProps<typeof TextInput>;
|
|
974
815
|
/** The search field; a bare full-width row unless the `Command` is `compact`. */
|
|
975
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
976
|
-
|
|
977
|
-
//#region src/blocks/Command/CommandItem/CheckIndicator.d.ts
|
|
978
|
-
type Props$208 = {
|
|
816
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$208) => import("react").JSX.Element;
|
|
817
|
+
type Props$207 = {
|
|
979
818
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
980
819
|
};
|
|
981
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
982
|
-
|
|
983
|
-
//#region src/blocks/Command/CommandItem/CommandItem.d.ts
|
|
984
|
-
type Props$207 = ComponentProps<typeof Command$1.Item> & {
|
|
820
|
+
declare const CheckIndicator: ({ variant }: Props$207) => import("react").JSX.Element | null;
|
|
821
|
+
type Props$206 = ComponentProps<typeof Command$1.Item> & {
|
|
985
822
|
icon?: ReactNode;
|
|
986
823
|
checked?: boolean;
|
|
987
824
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
988
825
|
actions?: ReactNode;
|
|
989
826
|
};
|
|
990
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
991
|
-
|
|
992
|
-
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
993
|
-
type Props$206 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
827
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$206) => import("react").JSX.Element;
|
|
828
|
+
type Props$205 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
994
829
|
viewPortClassName?: string;
|
|
995
830
|
scrollBarClassName?: string;
|
|
996
831
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
997
832
|
};
|
|
998
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
type Props$
|
|
1002
|
-
declare const
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
type Props$
|
|
1006
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$204) => import("react").JSX.Element;
|
|
1007
|
-
//#endregion
|
|
1008
|
-
//#region src/blocks/Command/CommandSeparator.d.ts
|
|
1009
|
-
type Props$203 = ComponentProps<typeof Command$1.Separator>;
|
|
1010
|
-
declare const CommandSeparator: ({ className, ...props }: Props$203) => import("react").JSX.Element;
|
|
1011
|
-
//#endregion
|
|
1012
|
-
//#region src/blocks/Command/Command.d.ts
|
|
1013
|
-
type Props$202 = ComponentProps<typeof Command$1> & {
|
|
833
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$205) => import("react").JSX.Element;
|
|
834
|
+
type Props$204 = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
835
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$204) => import("react").JSX.Element;
|
|
836
|
+
type Props$203 = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
837
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$203) => import("react").JSX.Element;
|
|
838
|
+
type Props$202 = ComponentProps<typeof Command$1.Separator>;
|
|
839
|
+
declare const CommandSeparator: ({ className, ...props }: Props$202) => import("react").JSX.Element;
|
|
840
|
+
type Props$201 = ComponentProps<typeof Command$1> & {
|
|
1014
841
|
/** Drops the palette padding and the bare search row; suits small surfaces like popovers. */
|
|
1015
842
|
compact?: boolean;
|
|
1016
843
|
};
|
|
1017
|
-
declare function Command({ className, compact, ...rest }: Props$
|
|
844
|
+
declare function Command({ className, compact, ...rest }: Props$201): import("react").JSX.Element;
|
|
1018
845
|
declare namespace Command {
|
|
1019
846
|
export { CommandContent as Content };
|
|
1020
847
|
export { CommandSeparator as Separator };
|
|
@@ -1024,8 +851,6 @@ declare namespace Command {
|
|
|
1024
851
|
export { CommandInput as Input };
|
|
1025
852
|
export { CommandItem as Item };
|
|
1026
853
|
}
|
|
1027
|
-
//#endregion
|
|
1028
|
-
//#region src/components/SpotlightBackdrop/useTargetRect.d.ts
|
|
1029
854
|
/** Viewport-relative box of the highlighted target. */
|
|
1030
855
|
type TargetRect = {
|
|
1031
856
|
top: number;
|
|
@@ -1043,9 +868,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1043
868
|
* back to a centered/full-dim layout.
|
|
1044
869
|
*/
|
|
1045
870
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1046
|
-
|
|
1047
|
-
//#region src/components/SpotlightBackdrop/SpotlightBackdrop.d.ts
|
|
1048
|
-
type Props$201 = {
|
|
871
|
+
type Props$200 = {
|
|
1049
872
|
/** Box to cut out, or `null` to dim everything. */
|
|
1050
873
|
rect: TargetRect | null;
|
|
1051
874
|
/** In px. */
|
|
@@ -1062,9 +885,7 @@ type Props$201 = {
|
|
|
1062
885
|
* - Presentational: `rect` from `useTargetRect`, callout via `Popover`.
|
|
1063
886
|
* - Tour steps and "seen" persistence are app-owned — see the "Guided tour (recipe)" story.
|
|
1064
887
|
*/
|
|
1065
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1066
|
-
//#endregion
|
|
1067
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/types.d.ts
|
|
888
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$200) => import("react").JSX.Element;
|
|
1068
889
|
/**
|
|
1069
890
|
* The locale object with all functions and data needed to parse and format
|
|
1070
891
|
* dates. This is what each locale implements and exports.
|
|
@@ -1313,8 +1134,6 @@ type LocaleDayPeriod = "am" | "pm" | "midnight" | "noon" | "morning" | "afternoo
|
|
|
1313
1134
|
* The units commonly used in the date formatting or parsing.
|
|
1314
1135
|
*/
|
|
1315
1136
|
type LocaleUnit = "second" | "minute" | "hour" | "day" | "dayOfYear" | "date" | "week" | "month" | "quarter" | "year";
|
|
1316
|
-
//#endregion
|
|
1317
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/types.d.ts
|
|
1318
1137
|
/**
|
|
1319
1138
|
* The argument type.
|
|
1320
1139
|
*/
|
|
@@ -1411,44 +1230,30 @@ interface ContextOptions<DateType extends Date> {
|
|
|
1411
1230
|
* a specific date instance, which is useful for extensions like [`TZDate`](https://github.com/date-fns/tz).
|
|
1412
1231
|
*/
|
|
1413
1232
|
type ContextFn<DateType extends Date> = (value: DateArg<Date> & {}) => DateType;
|
|
1414
|
-
//#endregion
|
|
1415
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/endOfWeek.d.ts
|
|
1416
1233
|
/**
|
|
1417
1234
|
* The {@link endOfWeek} function options.
|
|
1418
1235
|
*/
|
|
1419
1236
|
interface EndOfWeekOptions<DateType extends Date = Date> extends WeekOptions, LocalizedOptions<"options">, ContextOptions<DateType> {}
|
|
1420
|
-
//#endregion
|
|
1421
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.d.ts
|
|
1422
1237
|
/**
|
|
1423
1238
|
* The {@link format} function options.
|
|
1424
1239
|
*/
|
|
1425
1240
|
interface FormatOptions extends LocalizedOptions<"options" | "localize" | "formatLong">, WeekOptions, FirstWeekContainsDateOptions, AdditionalTokensOptions, ContextOptions<Date> {}
|
|
1426
|
-
//#endregion
|
|
1427
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getMonth.d.ts
|
|
1428
1241
|
/**
|
|
1429
1242
|
* The {@link getMonth} function options.
|
|
1430
1243
|
*/
|
|
1431
1244
|
interface GetMonthOptions extends ContextOptions<Date> {}
|
|
1432
|
-
//#endregion
|
|
1433
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.d.ts
|
|
1434
1245
|
/**
|
|
1435
1246
|
* The {@link getWeek} function options.
|
|
1436
1247
|
*/
|
|
1437
1248
|
interface GetWeekOptions extends LocalizedOptions<"options">, WeekOptions, FirstWeekContainsDateOptions, ContextOptions<Date> {}
|
|
1438
|
-
//#endregion
|
|
1439
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getYear.d.ts
|
|
1440
1249
|
/**
|
|
1441
1250
|
* The {@link getYear} function options.
|
|
1442
1251
|
*/
|
|
1443
1252
|
interface GetYearOptions extends ContextOptions<Date> {}
|
|
1444
|
-
//#endregion
|
|
1445
|
-
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.d.ts
|
|
1446
1253
|
/**
|
|
1447
1254
|
* The {@link startOfWeek} function options.
|
|
1448
1255
|
*/
|
|
1449
1256
|
interface StartOfWeekOptions<DateType extends Date = Date> extends LocalizedOptions<"options">, WeekOptions, ContextOptions<DateType> {}
|
|
1450
|
-
//#endregion
|
|
1451
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/CaptionLabel.d.ts
|
|
1452
1257
|
/**
|
|
1453
1258
|
* Render the label in the month caption.
|
|
1454
1259
|
*
|
|
@@ -1456,8 +1261,6 @@ interface StartOfWeekOptions<DateType extends Date = Date> extends LocalizedOpti
|
|
|
1456
1261
|
* @see https://daypicker.dev/guides/custom-components
|
|
1457
1262
|
*/
|
|
1458
1263
|
declare function CaptionLabel(props: HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
1459
|
-
//#endregion
|
|
1460
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Chevron.d.ts
|
|
1461
1264
|
/**
|
|
1462
1265
|
* Render the chevron icon used in the navigation buttons and dropdowns.
|
|
1463
1266
|
*
|
|
@@ -1478,8 +1281,6 @@ declare function Chevron(props: {
|
|
|
1478
1281
|
/** The orientation of the chevron. */
|
|
1479
1282
|
orientation?: "up" | "down" | "left" | "right";
|
|
1480
1283
|
}): React$1.JSX.Element;
|
|
1481
|
-
//#endregion
|
|
1482
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/types/props.d.ts
|
|
1483
1284
|
/**
|
|
1484
1285
|
* Props for customizing the calendar, handling localization, and managing
|
|
1485
1286
|
* events. These exclude the selection mode props.
|
|
@@ -1833,10 +1634,10 @@ interface PropsBase {
|
|
|
1833
1634
|
lang?: HTMLDivElement["lang"];
|
|
1834
1635
|
/**
|
|
1835
1636
|
* The locale object used to localize dates. Pass a locale from
|
|
1836
|
-
* `react-day-picker/locale
|
|
1637
|
+
* `react-day-picker/locale/<code>` to localize the calendar.
|
|
1837
1638
|
*
|
|
1838
1639
|
* @example
|
|
1839
|
-
* import { es } from "react-day-picker/locale";
|
|
1640
|
+
* import { es } from "react-day-picker/locale/es";
|
|
1840
1641
|
* <DayPicker locale={es} />
|
|
1841
1642
|
*
|
|
1842
1643
|
* @defaultValue enUS - The English locale default of `date-fns`.
|
|
@@ -2009,8 +1810,6 @@ interface PropsRange {
|
|
|
2009
1810
|
/** The maximum number of days to include in the range. */
|
|
2010
1811
|
max?: number;
|
|
2011
1812
|
}
|
|
2012
|
-
//#endregion
|
|
2013
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Day.d.ts
|
|
2014
1813
|
/**
|
|
2015
1814
|
* Render a grid cell for a specific day in the calendar.
|
|
2016
1815
|
*
|
|
@@ -2027,8 +1826,6 @@ declare function Day(props: {
|
|
|
2027
1826
|
/** The modifiers to apply to the day. */
|
|
2028
1827
|
modifiers: Modifiers;
|
|
2029
1828
|
} & HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2030
|
-
//#endregion
|
|
2031
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/DayButton.d.ts
|
|
2032
1829
|
/**
|
|
2033
1830
|
* Render a button for a specific day in the calendar.
|
|
2034
1831
|
*
|
|
@@ -2041,8 +1838,6 @@ declare function DayButton(props: {
|
|
|
2041
1838
|
/** The modifiers to apply to the day. */
|
|
2042
1839
|
modifiers: Modifiers;
|
|
2043
1840
|
} & ButtonHTMLAttributes<HTMLButtonElement>): React$1.JSX.Element;
|
|
2044
|
-
//#endregion
|
|
2045
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Dropdown.d.ts
|
|
2046
1841
|
/** An option to use in the dropdown. Maps to the `<option>` HTML element. */
|
|
2047
1842
|
type DropdownOption = {
|
|
2048
1843
|
/** The value of the option. */
|
|
@@ -2064,8 +1859,6 @@ declare function Dropdown(props: {
|
|
|
2064
1859
|
} & Omit<SelectHTMLAttributes<HTMLSelectElement>, "children">): React$1.JSX.Element;
|
|
2065
1860
|
/** Props accepted by the {@link Dropdown} component. */
|
|
2066
1861
|
type DropdownProps = Parameters<typeof Dropdown>[0];
|
|
2067
|
-
//#endregion
|
|
2068
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/DropdownNav.d.ts
|
|
2069
1862
|
/**
|
|
2070
1863
|
* Render the navigation dropdowns for the calendar.
|
|
2071
1864
|
*
|
|
@@ -2073,8 +1866,6 @@ type DropdownProps = Parameters<typeof Dropdown>[0];
|
|
|
2073
1866
|
* @see https://daypicker.dev/guides/custom-components
|
|
2074
1867
|
*/
|
|
2075
1868
|
declare function DropdownNav(props: HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2076
|
-
//#endregion
|
|
2077
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Footer.d.ts
|
|
2078
1869
|
/**
|
|
2079
1870
|
* Render the footer of the calendar.
|
|
2080
1871
|
*
|
|
@@ -2082,8 +1873,6 @@ declare function DropdownNav(props: HTMLAttributes<HTMLDivElement>): React$1.JSX
|
|
|
2082
1873
|
* @see https://daypicker.dev/guides/custom-components
|
|
2083
1874
|
*/
|
|
2084
1875
|
declare function Footer$2(props: HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2085
|
-
//#endregion
|
|
2086
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.d.ts
|
|
2087
1876
|
/**
|
|
2088
1877
|
* Represents a week in a calendar month.
|
|
2089
1878
|
*
|
|
@@ -2096,8 +1885,6 @@ declare class CalendarWeek {
|
|
|
2096
1885
|
/** The days that belong to this week. */
|
|
2097
1886
|
days: CalendarDay[];
|
|
2098
1887
|
}
|
|
2099
|
-
//#endregion
|
|
2100
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.d.ts
|
|
2101
1888
|
/**
|
|
2102
1889
|
* Represents a month in a calendar year.
|
|
2103
1890
|
*
|
|
@@ -2111,8 +1898,6 @@ declare class CalendarMonth {
|
|
|
2111
1898
|
/** The weeks that belong to this month. */
|
|
2112
1899
|
weeks: CalendarWeek[];
|
|
2113
1900
|
}
|
|
2114
|
-
//#endregion
|
|
2115
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Month.d.ts
|
|
2116
1901
|
/**
|
|
2117
1902
|
* Render the grid with the weekday header row and the weeks for a specific
|
|
2118
1903
|
* month.
|
|
@@ -2126,8 +1911,6 @@ declare function Month(props: {
|
|
|
2126
1911
|
/** The index of the month being displayed. */
|
|
2127
1912
|
displayIndex: number;
|
|
2128
1913
|
} & HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2129
|
-
//#endregion
|
|
2130
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/MonthCaption.d.ts
|
|
2131
1914
|
/**
|
|
2132
1915
|
* Render the caption for a month in the calendar.
|
|
2133
1916
|
*
|
|
@@ -2140,8 +1923,6 @@ declare function MonthCaption(props: {
|
|
|
2140
1923
|
/** The index of the month being displayed. */
|
|
2141
1924
|
displayIndex: number;
|
|
2142
1925
|
} & HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2143
|
-
//#endregion
|
|
2144
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/MonthGrid.d.ts
|
|
2145
1926
|
/**
|
|
2146
1927
|
* Render the grid of days for a specific month.
|
|
2147
1928
|
*
|
|
@@ -2149,8 +1930,6 @@ declare function MonthCaption(props: {
|
|
|
2149
1930
|
* @see https://daypicker.dev/guides/custom-components
|
|
2150
1931
|
*/
|
|
2151
1932
|
declare function MonthGrid(props: TableHTMLAttributes<HTMLTableElement>): React$1.JSX.Element;
|
|
2152
|
-
//#endregion
|
|
2153
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Months.d.ts
|
|
2154
1933
|
/**
|
|
2155
1934
|
* Render a container wrapping the month grids.
|
|
2156
1935
|
*
|
|
@@ -2158,8 +1937,6 @@ declare function MonthGrid(props: TableHTMLAttributes<HTMLTableElement>): React$
|
|
|
2158
1937
|
* @see https://daypicker.dev/guides/custom-components
|
|
2159
1938
|
*/
|
|
2160
1939
|
declare function Months(props: HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2161
|
-
//#endregion
|
|
2162
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.d.ts
|
|
2163
1940
|
/**
|
|
2164
1941
|
* Render a dropdown to navigate between months in the calendar.
|
|
2165
1942
|
*
|
|
@@ -2167,8 +1944,6 @@ declare function Months(props: HTMLAttributes<HTMLDivElement>): React$1.JSX.Elem
|
|
|
2167
1944
|
* @see https://daypicker.dev/guides/custom-components
|
|
2168
1945
|
*/
|
|
2169
1946
|
declare function MonthsDropdown(props: DropdownProps): React$1.JSX.Element;
|
|
2170
|
-
//#endregion
|
|
2171
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Nav.d.ts
|
|
2172
1947
|
/**
|
|
2173
1948
|
* Render the navigation toolbar with buttons to navigate between months.
|
|
2174
1949
|
*
|
|
@@ -2185,8 +1960,6 @@ declare function Nav(props: {
|
|
|
2185
1960
|
/** The date of the next month, if available. */
|
|
2186
1961
|
nextMonth?: Date | undefined;
|
|
2187
1962
|
} & HTMLAttributes<HTMLElement>): React$1.JSX.Element;
|
|
2188
|
-
//#endregion
|
|
2189
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/NextMonthButton.d.ts
|
|
2190
1963
|
/**
|
|
2191
1964
|
* Render the button to navigate to the next month in the calendar.
|
|
2192
1965
|
*
|
|
@@ -2194,8 +1967,6 @@ declare function Nav(props: {
|
|
|
2194
1967
|
* @see https://daypicker.dev/guides/custom-components
|
|
2195
1968
|
*/
|
|
2196
1969
|
declare function NextMonthButton(props: ButtonHTMLAttributes<HTMLButtonElement>): React$1.JSX.Element;
|
|
2197
|
-
//#endregion
|
|
2198
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Option.d.ts
|
|
2199
1970
|
/**
|
|
2200
1971
|
* Render an `option` element.
|
|
2201
1972
|
*
|
|
@@ -2203,8 +1974,6 @@ declare function NextMonthButton(props: ButtonHTMLAttributes<HTMLButtonElement>)
|
|
|
2203
1974
|
* @see https://daypicker.dev/guides/custom-components
|
|
2204
1975
|
*/
|
|
2205
1976
|
declare function Option(props: OptionHTMLAttributes<HTMLOptionElement>): React$1.JSX.Element;
|
|
2206
|
-
//#endregion
|
|
2207
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.d.ts
|
|
2208
1977
|
/**
|
|
2209
1978
|
* Render the button to navigate to the previous month in the calendar.
|
|
2210
1979
|
*
|
|
@@ -2212,8 +1981,6 @@ declare function Option(props: OptionHTMLAttributes<HTMLOptionElement>): React$1
|
|
|
2212
1981
|
* @see https://daypicker.dev/guides/custom-components
|
|
2213
1982
|
*/
|
|
2214
1983
|
declare function PreviousMonthButton(props: ButtonHTMLAttributes<HTMLButtonElement>): React$1.JSX.Element;
|
|
2215
|
-
//#endregion
|
|
2216
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Root.d.ts
|
|
2217
1984
|
/**
|
|
2218
1985
|
* Render the root element of the calendar.
|
|
2219
1986
|
*
|
|
@@ -2224,8 +1991,6 @@ declare function Root$19(props: {
|
|
|
2224
1991
|
/** Ref for the root element, used when `animate` is `true`. */
|
|
2225
1992
|
rootRef?: Ref<HTMLDivElement>;
|
|
2226
1993
|
} & HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
2227
|
-
//#endregion
|
|
2228
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Select.d.ts
|
|
2229
1994
|
/**
|
|
2230
1995
|
* Render a `select` element.
|
|
2231
1996
|
*
|
|
@@ -2233,8 +1998,6 @@ declare function Root$19(props: {
|
|
|
2233
1998
|
* @see https://daypicker.dev/guides/custom-components
|
|
2234
1999
|
*/
|
|
2235
2000
|
declare function Select$1(props: SelectHTMLAttributes<HTMLSelectElement>): React$1.JSX.Element;
|
|
2236
|
-
//#endregion
|
|
2237
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Week.d.ts
|
|
2238
2001
|
/**
|
|
2239
2002
|
* Render a table row representing a week in the calendar.
|
|
2240
2003
|
*
|
|
@@ -2245,8 +2008,6 @@ declare function Week(props: {
|
|
|
2245
2008
|
/** The week to render. */
|
|
2246
2009
|
week: CalendarWeek;
|
|
2247
2010
|
} & HTMLAttributes<HTMLTableRowElement>): React$1.JSX.Element;
|
|
2248
|
-
//#endregion
|
|
2249
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Weekday.d.ts
|
|
2250
2011
|
/**
|
|
2251
2012
|
* Render a table header cell with the name of a weekday (e.g., "Mo", "Tu").
|
|
2252
2013
|
*
|
|
@@ -2254,8 +2015,6 @@ declare function Week(props: {
|
|
|
2254
2015
|
* @see https://daypicker.dev/guides/custom-components
|
|
2255
2016
|
*/
|
|
2256
2017
|
declare function Weekday(props: ThHTMLAttributes<HTMLTableCellElement>): React$1.JSX.Element;
|
|
2257
|
-
//#endregion
|
|
2258
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Weekdays.d.ts
|
|
2259
2018
|
/**
|
|
2260
2019
|
* Render the table row containing the weekday names.
|
|
2261
2020
|
*
|
|
@@ -2263,8 +2022,6 @@ declare function Weekday(props: ThHTMLAttributes<HTMLTableCellElement>): React$1
|
|
|
2263
2022
|
* @see https://daypicker.dev/guides/custom-components
|
|
2264
2023
|
*/
|
|
2265
2024
|
declare function Weekdays(props: HTMLAttributes<HTMLTableRowElement>): React$1.JSX.Element;
|
|
2266
|
-
//#endregion
|
|
2267
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/WeekNumber.d.ts
|
|
2268
2025
|
/**
|
|
2269
2026
|
* Render a table cell displaying the number of the week.
|
|
2270
2027
|
*
|
|
@@ -2275,8 +2032,6 @@ declare function WeekNumber(props: {
|
|
|
2275
2032
|
/** The week to display. */
|
|
2276
2033
|
week: CalendarWeek;
|
|
2277
2034
|
} & ThHTMLAttributes<HTMLTableCellElement>): React$1.JSX.Element;
|
|
2278
|
-
//#endregion
|
|
2279
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.d.ts
|
|
2280
2035
|
/**
|
|
2281
2036
|
* Render the header cell for the week numbers column.
|
|
2282
2037
|
*
|
|
@@ -2284,8 +2039,6 @@ declare function WeekNumber(props: {
|
|
|
2284
2039
|
* @see https://daypicker.dev/guides/custom-components
|
|
2285
2040
|
*/
|
|
2286
2041
|
declare function WeekNumberHeader(props: ThHTMLAttributes<HTMLTableCellElement>): React$1.JSX.Element;
|
|
2287
|
-
//#endregion
|
|
2288
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/Weeks.d.ts
|
|
2289
2042
|
/**
|
|
2290
2043
|
* Render the container for the weeks in the month grid.
|
|
2291
2044
|
*
|
|
@@ -2293,8 +2046,6 @@ declare function WeekNumberHeader(props: ThHTMLAttributes<HTMLTableCellElement>)
|
|
|
2293
2046
|
* @see https://daypicker.dev/guides/custom-components
|
|
2294
2047
|
*/
|
|
2295
2048
|
declare function Weeks(props: HTMLAttributes<HTMLTableSectionElement>): React$1.JSX.Element;
|
|
2296
|
-
//#endregion
|
|
2297
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/components/YearsDropdown.d.ts
|
|
2298
2049
|
/**
|
|
2299
2050
|
* Render a dropdown to navigate between years in the calendar.
|
|
2300
2051
|
*
|
|
@@ -2302,8 +2053,6 @@ declare function Weeks(props: HTMLAttributes<HTMLTableSectionElement>): React$1.
|
|
|
2302
2053
|
* @see https://daypicker.dev/guides/custom-components
|
|
2303
2054
|
*/
|
|
2304
2055
|
declare function YearsDropdown(props: DropdownProps): React$1.JSX.Element;
|
|
2305
|
-
//#endregion
|
|
2306
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatCaption.d.ts
|
|
2307
2056
|
/**
|
|
2308
2057
|
* Formats the caption of the month.
|
|
2309
2058
|
*
|
|
@@ -2317,8 +2066,6 @@ declare function YearsDropdown(props: DropdownProps): React$1.JSX.Element;
|
|
|
2317
2066
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2318
2067
|
*/
|
|
2319
2068
|
declare function formatCaption(month: Date, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2320
|
-
//#endregion
|
|
2321
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatDay.d.ts
|
|
2322
2069
|
/**
|
|
2323
2070
|
* Formats the day date shown in the day cell.
|
|
2324
2071
|
*
|
|
@@ -2332,8 +2079,6 @@ declare function formatCaption(month: Date, options?: DateLibOptions, dateLib?:
|
|
|
2332
2079
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2333
2080
|
*/
|
|
2334
2081
|
declare function formatDay(date: Date, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2335
|
-
//#endregion
|
|
2336
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.d.ts
|
|
2337
2082
|
/**
|
|
2338
2083
|
* Formats the month for the dropdown option label.
|
|
2339
2084
|
*
|
|
@@ -2346,8 +2091,6 @@ declare function formatDay(date: Date, options?: DateLibOptions, dateLib?: DateL
|
|
|
2346
2091
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2347
2092
|
*/
|
|
2348
2093
|
declare function formatMonthDropdown(month: Date, dateLib?: DateLib): string;
|
|
2349
|
-
//#endregion
|
|
2350
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.d.ts
|
|
2351
2094
|
/**
|
|
2352
2095
|
* Formats the name of a weekday to be displayed in the weekdays header.
|
|
2353
2096
|
*
|
|
@@ -2361,8 +2104,6 @@ declare function formatMonthDropdown(month: Date, dateLib?: DateLib): string;
|
|
|
2361
2104
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2362
2105
|
*/
|
|
2363
2106
|
declare function formatWeekdayName(weekday: Date, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2364
|
-
//#endregion
|
|
2365
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.d.ts
|
|
2366
2107
|
/**
|
|
2367
2108
|
* Formats the week number.
|
|
2368
2109
|
*
|
|
@@ -2375,8 +2116,6 @@ declare function formatWeekdayName(weekday: Date, options?: DateLibOptions, date
|
|
|
2375
2116
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2376
2117
|
*/
|
|
2377
2118
|
declare function formatWeekNumber(weekNumber: number, dateLib?: DateLib): string;
|
|
2378
|
-
//#endregion
|
|
2379
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.d.ts
|
|
2380
2119
|
/**
|
|
2381
2120
|
* Formats the header for the week number column.
|
|
2382
2121
|
*
|
|
@@ -2386,8 +2125,6 @@ declare function formatWeekNumber(weekNumber: number, dateLib?: DateLib): string
|
|
|
2386
2125
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2387
2126
|
*/
|
|
2388
2127
|
declare function formatWeekNumberHeader(): string;
|
|
2389
|
-
//#endregion
|
|
2390
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.d.ts
|
|
2391
2128
|
/**
|
|
2392
2129
|
* Formats the year for the dropdown option label.
|
|
2393
2130
|
*
|
|
@@ -2399,8 +2136,6 @@ declare function formatWeekNumberHeader(): string;
|
|
|
2399
2136
|
* @see https://daypicker.dev/docs/translation#custom-formatters
|
|
2400
2137
|
*/
|
|
2401
2138
|
declare function formatYearDropdown(year: Date, dateLib?: DateLib): string;
|
|
2402
|
-
//#endregion
|
|
2403
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelDayButton.d.ts
|
|
2404
2139
|
/**
|
|
2405
2140
|
* Generates the ARIA label for a day button.
|
|
2406
2141
|
*
|
|
@@ -2417,8 +2152,6 @@ declare function formatYearDropdown(year: Date, dateLib?: DateLib): string;
|
|
|
2417
2152
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2418
2153
|
*/
|
|
2419
2154
|
declare function labelDayButton(date: Date, modifiers: Modifiers, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2420
|
-
//#endregion
|
|
2421
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelGrid.d.ts
|
|
2422
2155
|
/**
|
|
2423
2156
|
* Generates the ARIA label for the month grid, which is announced when entering
|
|
2424
2157
|
* the grid.
|
|
@@ -2432,8 +2165,6 @@ declare function labelDayButton(date: Date, modifiers: Modifiers, options?: Date
|
|
|
2432
2165
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2433
2166
|
*/
|
|
2434
2167
|
declare function labelGrid(date: Date, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2435
|
-
//#endregion
|
|
2436
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelGridcell.d.ts
|
|
2437
2168
|
/**
|
|
2438
2169
|
* Generates the label for a day grid cell when the calendar is not interactive.
|
|
2439
2170
|
*
|
|
@@ -2446,8 +2177,6 @@ declare function labelGrid(date: Date, options?: DateLibOptions, dateLib?: DateL
|
|
|
2446
2177
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2447
2178
|
*/
|
|
2448
2179
|
declare function labelGridcell(date: Date, modifiers?: Modifiers, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2449
|
-
//#endregion
|
|
2450
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.d.ts
|
|
2451
2180
|
/**
|
|
2452
2181
|
* Generates the ARIA label for the months dropdown.
|
|
2453
2182
|
*
|
|
@@ -2458,8 +2187,6 @@ declare function labelGridcell(date: Date, modifiers?: Modifiers, options?: Date
|
|
|
2458
2187
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2459
2188
|
*/
|
|
2460
2189
|
declare function labelMonthDropdown(_options?: DateLibOptions): string;
|
|
2461
|
-
//#endregion
|
|
2462
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelNav.d.ts
|
|
2463
2190
|
/**
|
|
2464
2191
|
* Generates the ARIA label for the navigation toolbar.
|
|
2465
2192
|
*
|
|
@@ -2469,8 +2196,6 @@ declare function labelMonthDropdown(_options?: DateLibOptions): string;
|
|
|
2469
2196
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2470
2197
|
*/
|
|
2471
2198
|
declare function labelNav(): string;
|
|
2472
|
-
//#endregion
|
|
2473
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelNext.d.ts
|
|
2474
2199
|
/**
|
|
2475
2200
|
* Generates the ARIA label for the "next month" button.
|
|
2476
2201
|
*
|
|
@@ -2482,8 +2207,6 @@ declare function labelNav(): string;
|
|
|
2482
2207
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2483
2208
|
*/
|
|
2484
2209
|
declare function labelNext(_month: Date | undefined, _options?: DateLibOptions): string;
|
|
2485
|
-
//#endregion
|
|
2486
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelPrevious.d.ts
|
|
2487
2210
|
/**
|
|
2488
2211
|
* Generates the ARIA label for the "previous month" button.
|
|
2489
2212
|
*
|
|
@@ -2495,8 +2218,6 @@ declare function labelNext(_month: Date | undefined, _options?: DateLibOptions):
|
|
|
2495
2218
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2496
2219
|
*/
|
|
2497
2220
|
declare function labelPrevious(_month: Date | undefined): string;
|
|
2498
|
-
//#endregion
|
|
2499
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelWeekday.d.ts
|
|
2500
2221
|
/**
|
|
2501
2222
|
* Generates the ARIA label for a weekday column header.
|
|
2502
2223
|
*
|
|
@@ -2509,8 +2230,6 @@ declare function labelPrevious(_month: Date | undefined): string;
|
|
|
2509
2230
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2510
2231
|
*/
|
|
2511
2232
|
declare function labelWeekday(date: Date, options?: DateLibOptions, dateLib?: DateLib): string;
|
|
2512
|
-
//#endregion
|
|
2513
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.d.ts
|
|
2514
2233
|
/**
|
|
2515
2234
|
* Generates the ARIA label for the week number cell (the first cell in a row).
|
|
2516
2235
|
*
|
|
@@ -2522,8 +2241,6 @@ declare function labelWeekday(date: Date, options?: DateLibOptions, dateLib?: Da
|
|
|
2522
2241
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2523
2242
|
*/
|
|
2524
2243
|
declare function labelWeekNumber(weekNumber: number, _options?: DateLibOptions): string;
|
|
2525
|
-
//#endregion
|
|
2526
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.d.ts
|
|
2527
2244
|
/**
|
|
2528
2245
|
* Generates the ARIA label for the week number header element.
|
|
2529
2246
|
*
|
|
@@ -2534,8 +2251,6 @@ declare function labelWeekNumber(weekNumber: number, _options?: DateLibOptions):
|
|
|
2534
2251
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2535
2252
|
*/
|
|
2536
2253
|
declare function labelWeekNumberHeader(_options?: DateLibOptions): string;
|
|
2537
|
-
//#endregion
|
|
2538
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.d.ts
|
|
2539
2254
|
/**
|
|
2540
2255
|
* Generates the ARIA label for the years dropdown.
|
|
2541
2256
|
*
|
|
@@ -2546,8 +2261,6 @@ declare function labelWeekNumberHeader(_options?: DateLibOptions): string;
|
|
|
2546
2261
|
* @see https://daypicker.dev/docs/translation#aria-labels
|
|
2547
2262
|
*/
|
|
2548
2263
|
declare function labelYearDropdown(_options?: DateLibOptions): string;
|
|
2549
|
-
//#endregion
|
|
2550
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/UI.d.ts
|
|
2551
2264
|
/**
|
|
2552
2265
|
* Enum representing the UI elements composing DayPicker. These elements are
|
|
2553
2266
|
* mapped to {@link CustomComponents}, {@link ClassNames}, and {@link Styles}.
|
|
@@ -2664,8 +2377,6 @@ declare enum Animation {
|
|
|
2664
2377
|
/** The exiting caption when it disappears before the entering month. */
|
|
2665
2378
|
caption_before_exit = "caption_before_exit"
|
|
2666
2379
|
}
|
|
2667
|
-
//#endregion
|
|
2668
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/types/shared.d.ts
|
|
2669
2380
|
/**
|
|
2670
2381
|
* Selection modes supported by DayPicker.
|
|
2671
2382
|
*
|
|
@@ -2944,8 +2655,6 @@ type ModifiersClassNames = Record<string, string>;
|
|
|
2944
2655
|
* @see https://daypicker.dev/docs/translation#numeral-systems
|
|
2945
2656
|
*/
|
|
2946
2657
|
type Numerals = "latn" | "arab" | "arabext" | "deva" | "geez" | "beng" | "guru" | "gujr" | "orya" | "tamldec" | "telu" | "knda" | "mlym" | "thai" | "mymr" | "khmr" | "laoo" | "tibt";
|
|
2947
|
-
//#endregion
|
|
2948
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/classes/DateLib.d.ts
|
|
2949
2658
|
/**
|
|
2950
2659
|
* Translations for DayPicker-specific labels.
|
|
2951
2660
|
*
|
|
@@ -3317,8 +3026,6 @@ declare class DateLib {
|
|
|
3317
3026
|
*/
|
|
3318
3027
|
startOfYear: (date: Date) => Date;
|
|
3319
3028
|
}
|
|
3320
|
-
//#endregion
|
|
3321
|
-
//#region ../../node_modules/.pnpm/react-day-picker@10.0.1_@types+react@19.3.0_react@19.3.0/node_modules/react-day-picker/dist/esm/classes/CalendarDay.d.ts
|
|
3322
3029
|
/**
|
|
3323
3030
|
* Represents a day displayed in the calendar.
|
|
3324
3031
|
*
|
|
@@ -3378,23 +3085,17 @@ declare class CalendarDay {
|
|
|
3378
3085
|
*/
|
|
3379
3086
|
isEqualTo(day: CalendarDay): boolean;
|
|
3380
3087
|
}
|
|
3381
|
-
//#endregion
|
|
3382
|
-
//#region src/components/Calendar/Calendar.d.ts
|
|
3383
3088
|
type CalendarProps = Omit<PropsBase, 'required' | 'captionLayout'> & (PropsSingle | PropsRange);
|
|
3384
3089
|
declare function Calendar({ className, classNames, ...props }: CalendarProps): import("react").JSX.Element;
|
|
3385
3090
|
declare namespace Calendar {
|
|
3386
3091
|
var displayName: string;
|
|
3387
3092
|
}
|
|
3388
|
-
//#endregion
|
|
3389
|
-
//#region src/components/DatePicker/DatePicker.d.ts
|
|
3390
3093
|
type OwnPopoverProps = PropsWithChildren & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3391
3094
|
type DatePickerProps = OwnPopoverProps & CalendarProps;
|
|
3392
3095
|
declare function DatePicker({ align, alignOffset, children, defaultOpen, onOpenChange, open, sideOffset, ...calendarProps }: DatePickerProps): import("react").JSX.Element;
|
|
3393
3096
|
declare namespace DatePicker {
|
|
3394
3097
|
var displayName: string;
|
|
3395
3098
|
}
|
|
3396
|
-
//#endregion
|
|
3397
|
-
//#region src/components/DateRangePicker/DateRangePicker.d.ts
|
|
3398
3099
|
type DateRange = {
|
|
3399
3100
|
from: Date;
|
|
3400
3101
|
to?: Date;
|
|
@@ -3430,18 +3131,14 @@ declare function DateRangePicker({ align, alignOffset, className, defaultOpen, d
|
|
|
3430
3131
|
declare namespace DateRangePicker {
|
|
3431
3132
|
var displayName: string;
|
|
3432
3133
|
}
|
|
3433
|
-
|
|
3434
|
-
//#region src/components/TimePicker/TimePicker.d.ts
|
|
3435
|
-
type Props$200 = {
|
|
3134
|
+
type Props$199 = {
|
|
3436
3135
|
children?: ReactNode;
|
|
3437
3136
|
defaultSelected?: string | null;
|
|
3438
3137
|
selected?: string | null;
|
|
3439
3138
|
onSelect?: (time: string) => void;
|
|
3440
3139
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3441
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$
|
|
3442
|
-
|
|
3443
|
-
//#region src/components/Label/Label.d.ts
|
|
3444
|
-
type Props$199 = {
|
|
3140
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$199) => import("react").JSX.Element;
|
|
3141
|
+
type Props$198 = {
|
|
3445
3142
|
id?: string | number;
|
|
3446
3143
|
htmlFor?: string | number;
|
|
3447
3144
|
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
@@ -3457,79 +3154,61 @@ declare const Optional: ({ className, ...props }: ComponentPropsWithRef<'span'>)
|
|
|
3457
3154
|
* `aria-required` (or `required`) on the associated control.
|
|
3458
3155
|
*/
|
|
3459
3156
|
declare const Required$1: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react").JSX.Element;
|
|
3460
|
-
declare function Label({ className, children, id, htmlFor, ...rest }: Props$
|
|
3157
|
+
declare function Label({ className, children, id, htmlFor, ...rest }: Props$198): import("react").JSX.Element;
|
|
3461
3158
|
declare namespace Label {
|
|
3462
3159
|
export { Optional };
|
|
3463
3160
|
export { Required$1 as Required };
|
|
3464
3161
|
}
|
|
3465
|
-
//#endregion
|
|
3466
|
-
//#region src/components/FieldBox/styles.d.ts
|
|
3467
3162
|
declare const fieldBoxVariants: (props?: ({
|
|
3468
3163
|
variant?: "boxed" | "default" | null | undefined;
|
|
3469
3164
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3470
|
-
|
|
3471
|
-
//#region src/components/Switch/Switch.d.ts
|
|
3472
|
-
type Props$198 = {
|
|
3165
|
+
type Props$197 = {
|
|
3473
3166
|
id?: string | number;
|
|
3474
3167
|
children?: ReactNode;
|
|
3475
3168
|
description?: ReactNode;
|
|
3476
3169
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3477
3170
|
position?: 'start' | 'end';
|
|
3478
3171
|
} & Omit<ComponentProps<typeof Root$8>, 'asChild' | 'id'>;
|
|
3479
|
-
declare const Switch: ({ ref, className, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
3480
|
-
//#endregion
|
|
3481
|
-
//#region src/components/RadioGroup/context.d.ts
|
|
3172
|
+
declare const Switch: ({ ref, className, disabled, id: idProp, children, description, variant, position, ...props }: Props$197) => import("react").JSX.Element;
|
|
3482
3173
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
3483
3174
|
type Orientation = 'vertical' | 'horizontal';
|
|
3484
|
-
//#endregion
|
|
3485
|
-
//#region src/components/RadioGroup/RadioGroupItem.d.ts
|
|
3486
3175
|
type ItemProps = Omit<ComponentProps<typeof Item>, 'asChild' | 'value'>;
|
|
3487
|
-
type Props$
|
|
3176
|
+
type Props$196<T extends string = string> = ItemProps & {
|
|
3488
3177
|
value: T;
|
|
3489
3178
|
tooltip?: ReactNode;
|
|
3490
3179
|
tooltipVariant?: Props$10['variant'];
|
|
3491
3180
|
tooltipPlacement?: Props$10['placement'];
|
|
3492
3181
|
description?: ReactNode;
|
|
3493
3182
|
};
|
|
3494
|
-
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$
|
|
3495
|
-
//#endregion
|
|
3496
|
-
//#region src/components/RadioGroup/RadioGroupSeparator.d.ts
|
|
3183
|
+
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$196<T>) => import("react").JSX.Element;
|
|
3497
3184
|
declare const RadioGroupSeparator: () => import("react").JSX.Element;
|
|
3498
|
-
|
|
3499
|
-
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3500
|
-
type Props$196<Value> = {
|
|
3185
|
+
type Props$195<Value> = {
|
|
3501
3186
|
variant?: Variant$7;
|
|
3502
3187
|
orientation?: Orientation;
|
|
3503
3188
|
onValueChange?: (value: Value) => void;
|
|
3504
3189
|
value?: Value | null;
|
|
3505
3190
|
defaultValue?: Value | null;
|
|
3506
3191
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
3507
|
-
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
3192
|
+
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$195<Value>): import("react").JSX.Element;
|
|
3508
3193
|
declare namespace RadioGroup {
|
|
3509
3194
|
export { RadioGroupItem as Item };
|
|
3510
3195
|
export { RadioGroupSeparator as Separator };
|
|
3511
3196
|
}
|
|
3512
|
-
|
|
3513
|
-
//#region src/components/Slider/SliderThumb.d.ts
|
|
3514
|
-
type Props$195 = ComponentProps<typeof Thumb$1> & {
|
|
3197
|
+
type Props$194 = ComponentProps<typeof Thumb$1> & {
|
|
3515
3198
|
tooltip?: ReactNode;
|
|
3516
3199
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
3517
3200
|
};
|
|
3518
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
3519
|
-
//#endregion
|
|
3520
|
-
//#region src/components/Slider/Slider.d.ts
|
|
3201
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$194) => import("react").JSX.Element;
|
|
3521
3202
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
3522
|
-
type Props$
|
|
3203
|
+
type Props$193 = ComponentProps<typeof Root$9> & {
|
|
3523
3204
|
thumbTooltip?: ThumbTooltipFn;
|
|
3524
3205
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
3525
3206
|
rangeClassName?: string;
|
|
3526
3207
|
};
|
|
3527
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
3528
|
-
//#endregion
|
|
3529
|
-
//#region src/components/Search/Search.d.ts
|
|
3208
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$193) => import("react").JSX.Element;
|
|
3530
3209
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent<HTMLButtonElement>) => void;
|
|
3531
3210
|
type SearchBlurEventHandler = (value: string, event: FocusEvent<HTMLInputElement, Element>) => void;
|
|
3532
|
-
type Props$
|
|
3211
|
+
type Props$192 = {
|
|
3533
3212
|
suffix?: ReactNode;
|
|
3534
3213
|
disableDebounce?: boolean;
|
|
3535
3214
|
debounceDelay?: number;
|
|
@@ -3544,15 +3223,11 @@ type Props$193 = {
|
|
|
3544
3223
|
/**
|
|
3545
3224
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
3546
3225
|
*/
|
|
3547
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
3548
|
-
|
|
3549
|
-
//#region src/components/Search/SearchForm.d.ts
|
|
3550
|
-
type Props$192 = {
|
|
3226
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$192) => import("react").JSX.Element;
|
|
3227
|
+
type Props$191 = {
|
|
3551
3228
|
onSubmit: (value: string) => void;
|
|
3552
3229
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
3553
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
3554
|
-
//#endregion
|
|
3555
|
-
//#region src/utils/accessibleName.d.ts
|
|
3230
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$191) => import("react").JSX.Element;
|
|
3556
3231
|
type AccessibleNameProps = {
|
|
3557
3232
|
id?: string;
|
|
3558
3233
|
'aria-label'?: string;
|
|
@@ -3573,12 +3248,10 @@ type AccessibleNameRest<Rest> = keyof Rest extends keyof AccessibleNameProps ? R
|
|
|
3573
3248
|
* - A prop left in the rest, besides the three names, fails type-check.
|
|
3574
3249
|
*/
|
|
3575
3250
|
declare const forwardAccessibleName: <Rest>(rest: Rest & AccessibleNameRest<Rest>) => Rest;
|
|
3576
|
-
//#endregion
|
|
3577
|
-
//#region src/components/Select/SelectContent.d.ts
|
|
3578
3251
|
/**
|
|
3579
3252
|
* Props for `Select.Content`. `container` portals the listbox into a custom element (useful inside modals).
|
|
3580
3253
|
*/
|
|
3581
|
-
type Props$
|
|
3254
|
+
type Props$190 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
3582
3255
|
container?: HTMLElement | null;
|
|
3583
3256
|
};
|
|
3584
3257
|
/**
|
|
@@ -3586,24 +3259,16 @@ type Props$191 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
|
3586
3259
|
* Normally rendered implicitly by `Select`; use directly only when composing custom item layouts via
|
|
3587
3260
|
* the `Select.Root` / `Select.Trigger` / `Select.Content` compound parts.
|
|
3588
3261
|
*/
|
|
3589
|
-
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
type Props$
|
|
3593
|
-
declare const SelectGroup: ({ className, ...props }: Props$190) => import("react").JSX.Element;
|
|
3594
|
-
//#endregion
|
|
3595
|
-
//#region src/components/Select/SelectItem.d.ts
|
|
3596
|
-
type Props$189 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3262
|
+
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$190) => import("react").JSX.Element;
|
|
3263
|
+
type Props$189 = ComponentProps<typeof SelectPrimitive.Group>;
|
|
3264
|
+
declare const SelectGroup: ({ className, ...props }: Props$189) => import("react").JSX.Element;
|
|
3265
|
+
type Props$188 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3597
3266
|
icon?: ReactNode;
|
|
3598
3267
|
hint?: ReactNode;
|
|
3599
3268
|
};
|
|
3600
|
-
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
type Props$188 = ComponentProps<typeof SelectPrimitive.Label>;
|
|
3604
|
-
declare const SelectLabel: ({ className, ...props }: Props$188) => import("react").JSX.Element;
|
|
3605
|
-
//#endregion
|
|
3606
|
-
//#region src/components/Select/SelectRoot.d.ts
|
|
3269
|
+
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$188) => import("react").JSX.Element;
|
|
3270
|
+
type Props$187 = ComponentProps<typeof SelectPrimitive.Label>;
|
|
3271
|
+
declare const SelectLabel: ({ className, ...props }: Props$187) => import("react").JSX.Element;
|
|
3607
3272
|
type SelectRootProps = {
|
|
3608
3273
|
children?: ReactNode;
|
|
3609
3274
|
open?: boolean;
|
|
@@ -3620,12 +3285,8 @@ type SelectRootProps = {
|
|
|
3620
3285
|
onValueChange?(value: string): void;
|
|
3621
3286
|
};
|
|
3622
3287
|
declare const SelectRoot: (props: SelectRootProps) => import("react").JSX.Element;
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
type Props$187 = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
3626
|
-
declare const SelectSeparator: ({ className, ...props }: Props$187) => import("react").JSX.Element;
|
|
3627
|
-
//#endregion
|
|
3628
|
-
//#region src/components/OverlayTrigger/styles.d.ts
|
|
3288
|
+
type Props$186 = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
3289
|
+
declare const SelectSeparator: ({ className, ...props }: Props$186) => import("react").JSX.Element;
|
|
3629
3290
|
/**
|
|
3630
3291
|
* Chrome for a control that looks like an input but opens an overlay on click. Shared by
|
|
3631
3292
|
* `SelectTrigger` and `DateRangePicker`'s trigger so both sit at the same height and colour when
|
|
@@ -3634,8 +3295,6 @@ declare const SelectSeparator: ({ className, ...props }: Props$187) => import("r
|
|
|
3634
3295
|
declare const overlayTriggerVariants: (props?: ({
|
|
3635
3296
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
3636
3297
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3637
|
-
//#endregion
|
|
3638
|
-
//#region src/components/Select/SelectTrigger.d.ts
|
|
3639
3298
|
type BaseProps$3 = ComponentProps<typeof SelectPrimitive.Trigger> & VariantProps<typeof overlayTriggerVariants> & {
|
|
3640
3299
|
/** Text-like trigger with no field chrome, for a select inside a sentence or toolbar; ignores `state`. */
|
|
3641
3300
|
inline?: boolean;
|
|
@@ -3643,8 +3302,6 @@ type BaseProps$3 = ComponentProps<typeof SelectPrimitive.Trigger> & VariantProps
|
|
|
3643
3302
|
/** `role="combobox"` is not named from content: neither the item label nor `placeholder` names it. */
|
|
3644
3303
|
type SelectTriggerProps = WithAccessibleName<BaseProps$3>;
|
|
3645
3304
|
declare const SelectTrigger: ({ ref, className, inline, state, placeholder, ...props }: SelectTriggerProps) => import("react").JSX.Element;
|
|
3646
|
-
//#endregion
|
|
3647
|
-
//#region src/components/Select/Select.d.ts
|
|
3648
3305
|
type SelectItem = {
|
|
3649
3306
|
value: string;
|
|
3650
3307
|
label: ReactNode;
|
|
@@ -3673,9 +3330,7 @@ declare namespace Select {
|
|
|
3673
3330
|
export { SelectLabel as Label };
|
|
3674
3331
|
export { SelectSeparator as Separator };
|
|
3675
3332
|
}
|
|
3676
|
-
|
|
3677
|
-
//#region src/components/Checkbox/Checkbox.d.ts
|
|
3678
|
-
type Props$186 = {
|
|
3333
|
+
type Props$185 = {
|
|
3679
3334
|
id?: string | number;
|
|
3680
3335
|
description?: ReactNode;
|
|
3681
3336
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
@@ -3683,16 +3338,14 @@ type Props$186 = {
|
|
|
3683
3338
|
tooltip?: Props$10['tooltip'];
|
|
3684
3339
|
tooltipPlacement?: Props$10['placement'];
|
|
3685
3340
|
} & Omit<ComponentProps<typeof Root$11>, 'id'>;
|
|
3686
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3341
|
+
declare function Checkbox(prop: Omit<Props$185, 'checked' | 'onCheckedChange'> & {
|
|
3687
3342
|
checked?: boolean;
|
|
3688
3343
|
onCheckedChange?: (checked: boolean) => void;
|
|
3689
3344
|
}): ReactNode;
|
|
3690
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3345
|
+
declare function Checkbox(prop: Omit<Props$185, 'checked' | 'onCheckedChange'> & {
|
|
3691
3346
|
checked?: CheckedState;
|
|
3692
3347
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
3693
3348
|
}): ReactNode;
|
|
3694
|
-
//#endregion
|
|
3695
|
-
//#region src/components/Combobox/blankValues.d.ts
|
|
3696
3349
|
/**
|
|
3697
3350
|
* The two blank strings a Storage filter predicates on, in list order.
|
|
3698
3351
|
*
|
|
@@ -3719,36 +3372,24 @@ declare const namedLabel: (text: string) => string;
|
|
|
3719
3372
|
* - String items only — the seven Storage filters this serves are all string-valued.
|
|
3720
3373
|
*/
|
|
3721
3374
|
declare const withBlankValues: (values: readonly string[]) => string[];
|
|
3722
|
-
//#endregion
|
|
3723
|
-
//#region src/components/Badge/BadgeAddon.d.ts
|
|
3724
3375
|
declare const addonVariants: (props?: ({
|
|
3725
3376
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
3726
3377
|
variant?: "floating" | "inline" | null | undefined;
|
|
3727
3378
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3728
|
-
type Props$
|
|
3729
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
type Props$
|
|
3733
|
-
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$184) => import("react").JSX.Element;
|
|
3734
|
-
//#endregion
|
|
3735
|
-
//#region src/components/Badge/BadgeLabel.d.ts
|
|
3736
|
-
type Props$183 = ComponentProps<'span'> & {
|
|
3379
|
+
type Props$184 = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
3380
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$184) => import("react").JSX.Element;
|
|
3381
|
+
type Props$183 = ComponentProps<'button'>;
|
|
3382
|
+
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$183) => import("react").JSX.Element;
|
|
3383
|
+
type Props$182 = ComponentProps<'span'> & {
|
|
3737
3384
|
asChild?: boolean;
|
|
3738
3385
|
};
|
|
3739
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
3740
|
-
//#endregion
|
|
3741
|
-
//#region src/components/Badge/styles.d.ts
|
|
3386
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$182) => import("react").JSX.Element;
|
|
3742
3387
|
declare const badgeRootVariants: (props?: ({
|
|
3743
3388
|
variant?: "default" | "pill" | "tag" | null | undefined;
|
|
3744
3389
|
color?: "amber" | "amber-inverse" | "blue" | "blue-inverse" | "cyan" | "cyan-inverse" | "destructive" | "destructive-subtle" | "gray" | "gray-darker" | "gray-inverse" | "green" | "green-darker" | "green-inverse" | "info" | "info-subtle" | "neutral" | "neutral-subtle" | "orange" | "orange-inverse" | "purple" | "purple-inverse" | "red" | "red-inverse" | "sidebar-primary" | "success" | "success-subtle" | "teal" | "teal-inverse" | "warning" | "warning-subtle" | "white" | null | undefined;
|
|
3745
3390
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
type Props$182 = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
3749
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$182) => import("react").JSX.Element;
|
|
3750
|
-
//#endregion
|
|
3751
|
-
//#region src/components/Badge/Badge.d.ts
|
|
3391
|
+
type Props$181 = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
3392
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$181) => import("react").JSX.Element;
|
|
3752
3393
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
3753
3394
|
type BadgeRootProps = ComponentProps<typeof BadgeRoot>;
|
|
3754
3395
|
type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
@@ -3756,7 +3397,7 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
3756
3397
|
* - `color` status values (`success`, `warning-subtle`, …) follow the brand; use them for a state.
|
|
3757
3398
|
* - `color` hues (`green`, `purple`, …) stay fixed; use them for categorical labels.
|
|
3758
3399
|
*/
|
|
3759
|
-
type Props$
|
|
3400
|
+
type Props$180 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
3760
3401
|
prefix?: ReactNode;
|
|
3761
3402
|
prefixVariant?: AddonVariant;
|
|
3762
3403
|
suffix?: ReactNode;
|
|
@@ -3769,18 +3410,16 @@ type Props$181 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProp
|
|
|
3769
3410
|
* - Not for actions (`Button` / `ButtonInline`) or banners (`Alert`).
|
|
3770
3411
|
* - `Badge.Button` for a clickable badge.
|
|
3771
3412
|
*/
|
|
3772
|
-
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
3413
|
+
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$180) => import("react").JSX.Element;
|
|
3773
3414
|
declare const Badge: typeof BadgeInner & {
|
|
3774
3415
|
Root: typeof BadgeRoot;
|
|
3775
3416
|
Button: typeof BadgeButton;
|
|
3776
3417
|
Label: typeof BadgeLabel;
|
|
3777
3418
|
Addon: typeof BadgeAddon;
|
|
3778
3419
|
};
|
|
3779
|
-
//#endregion
|
|
3780
|
-
//#region src/components/Combobox/ComboboxChip.d.ts
|
|
3781
3420
|
type BadgeColor$1 = ComponentProps<typeof Badge>['color'];
|
|
3782
3421
|
type BadgeVariant = ComponentProps<typeof Badge>['variant'];
|
|
3783
|
-
type Props$
|
|
3422
|
+
type Props$179 = {
|
|
3784
3423
|
children: ReactNode;
|
|
3785
3424
|
color?: BadgeColor$1;
|
|
3786
3425
|
variant?: BadgeVariant;
|
|
@@ -3792,10 +3431,8 @@ type Props$180 = {
|
|
|
3792
3431
|
* - A non-removable chip is a plain `Badge`: a chip would shift the removal index.
|
|
3793
3432
|
* - A label cut off by the chip's width shows in full in a tooltip on hover.
|
|
3794
3433
|
*/
|
|
3795
|
-
declare const ComboboxChip: ({ children, color, variant }: Props$
|
|
3796
|
-
|
|
3797
|
-
//#region src/components/Combobox/ComboboxChips.d.ts
|
|
3798
|
-
type Props$179<Value> = {
|
|
3434
|
+
declare const ComboboxChip: ({ children, color, variant }: Props$179) => import("react").JSX.Element;
|
|
3435
|
+
type Props$178<Value> = {
|
|
3799
3436
|
maxVisible?: number;
|
|
3800
3437
|
itemToChipLabel?: (item: Value) => ReactNode;
|
|
3801
3438
|
itemToChipColor?: (item: Value) => BadgeColor$1;
|
|
@@ -3809,45 +3446,33 @@ type Props$179<Value> = {
|
|
|
3809
3446
|
*/
|
|
3810
3447
|
children?: (values: Value[]) => ReactNode;
|
|
3811
3448
|
};
|
|
3812
|
-
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$
|
|
3813
|
-
//#endregion
|
|
3814
|
-
//#region src/components/Combobox/ComboboxContent.d.ts
|
|
3449
|
+
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$178<Value>) => import("react").JSX.Element;
|
|
3815
3450
|
type PortalProps = ComponentProps<typeof Combobox$1.Portal>;
|
|
3816
3451
|
type PositionerProps = ComponentProps<typeof Combobox$1.Positioner>;
|
|
3817
3452
|
type PopupProps = Omit<ComponentProps<typeof Combobox$1.Popup>, 'className'> & {
|
|
3818
3453
|
className?: string;
|
|
3819
3454
|
};
|
|
3820
|
-
type Props$
|
|
3821
|
-
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$
|
|
3822
|
-
|
|
3823
|
-
//#region src/components/Combobox/ComboboxEmpty.d.ts
|
|
3824
|
-
type Props$177 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3455
|
+
type Props$177 = PopupProps & Pick<PositionerProps, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & Pick<PortalProps, 'container'>;
|
|
3456
|
+
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$177) => import("react").JSX.Element;
|
|
3457
|
+
type Props$176 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3825
3458
|
className?: string;
|
|
3826
3459
|
};
|
|
3827
|
-
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$
|
|
3828
|
-
//#endregion
|
|
3829
|
-
//#region src/components/Combobox/ComboboxInput.d.ts
|
|
3460
|
+
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$176) => import("react").JSX.Element;
|
|
3830
3461
|
/** The input carries the `combobox` role, so the name is required here, not on the group. */
|
|
3831
|
-
type Props$
|
|
3832
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
3833
|
-
//#endregion
|
|
3834
|
-
//#region src/components/Combobox/ComboboxInputGroup.d.ts
|
|
3462
|
+
type Props$175 = WithAccessibleName<Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>>;
|
|
3463
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$175) => import("react").JSX.Element;
|
|
3835
3464
|
type InputGroupProps$9 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
3836
|
-
type Props$
|
|
3465
|
+
type Props$174 = InputGroupProps$9 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
3837
3466
|
className?: string;
|
|
3838
3467
|
};
|
|
3839
|
-
declare const ComboboxInputGroup: ({ ref, state, focusVariant, className, ...props }: Props$
|
|
3840
|
-
//#endregion
|
|
3841
|
-
//#region src/components/Combobox/ComboboxItemIndicator.d.ts
|
|
3468
|
+
declare const ComboboxInputGroup: ({ ref, state, focusVariant, className, ...props }: Props$174) => import("react").JSX.Element;
|
|
3842
3469
|
type Variant$6 = 'check' | 'checkbox';
|
|
3843
|
-
type Props$
|
|
3470
|
+
type Props$173 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
3844
3471
|
className?: string;
|
|
3845
3472
|
variant?: Variant$6;
|
|
3846
3473
|
};
|
|
3847
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
3848
|
-
|
|
3849
|
-
//#region src/components/Combobox/ComboboxItem.d.ts
|
|
3850
|
-
type Props$173 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3474
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$173) => import("react").JSX.Element;
|
|
3475
|
+
type Props$172 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3851
3476
|
className?: string;
|
|
3852
3477
|
icon?: ReactNode;
|
|
3853
3478
|
/** `'none'` leaves the row without one — a row that draws its own state in `icon`. */
|
|
@@ -3855,51 +3480,33 @@ type Props$173 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
|
3855
3480
|
/** Looks disabled but still takes the highlight; the owning control ignores its presses. */
|
|
3856
3481
|
locked?: boolean;
|
|
3857
3482
|
};
|
|
3858
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, locked, ...props }: Props$
|
|
3859
|
-
|
|
3860
|
-
//#region src/components/Combobox/ComboboxList.d.ts
|
|
3861
|
-
type Props$172 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3483
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, locked, ...props }: Props$172) => import("react").JSX.Element;
|
|
3484
|
+
type Props$171 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3862
3485
|
className?: string;
|
|
3863
3486
|
};
|
|
3864
|
-
declare const ComboboxList: ({ ref, className, ...props }: Props$
|
|
3865
|
-
//#endregion
|
|
3866
|
-
//#region src/components/Combobox/ComboboxRoot.d.ts
|
|
3487
|
+
declare const ComboboxList: ({ ref, className, ...props }: Props$171) => import("react").JSX.Element;
|
|
3867
3488
|
declare const ComboboxRoot: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => import("react").JSX.Element;
|
|
3868
|
-
|
|
3869
|
-
//#region src/components/Combobox/ComboboxSeparator.d.ts
|
|
3870
|
-
type Props$171 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3489
|
+
type Props$170 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3871
3490
|
className?: string;
|
|
3872
3491
|
};
|
|
3873
|
-
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$
|
|
3874
|
-
|
|
3875
|
-
//#region src/components/Combobox/Group/ComboboxGroup.d.ts
|
|
3876
|
-
type Props$170 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3492
|
+
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$170) => import("react").JSX.Element;
|
|
3493
|
+
type Props$169 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3877
3494
|
className?: string;
|
|
3878
3495
|
};
|
|
3879
|
-
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$
|
|
3880
|
-
|
|
3881
|
-
//#region src/components/Combobox/Group/ComboboxGroupLabel.d.ts
|
|
3882
|
-
type Props$169 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3496
|
+
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$169) => import("react").JSX.Element;
|
|
3497
|
+
type Props$168 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3883
3498
|
className?: string;
|
|
3884
3499
|
};
|
|
3885
|
-
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
type Props$168 = Combobox$1.Collection.Props;
|
|
3889
|
-
declare const ComboboxCollection: ({ ...props }: Props$168) => import("react").JSX.Element;
|
|
3890
|
-
//#endregion
|
|
3891
|
-
//#region src/components/Combobox/types.d.ts
|
|
3500
|
+
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$168) => import("react").JSX.Element;
|
|
3501
|
+
type Props$167 = Combobox$1.Collection.Props;
|
|
3502
|
+
declare const ComboboxCollection: ({ ...props }: Props$167) => import("react").JSX.Element;
|
|
3892
3503
|
type Group$2<Item = unknown> = {
|
|
3893
3504
|
items: readonly Item[];
|
|
3894
3505
|
};
|
|
3895
|
-
//#endregion
|
|
3896
|
-
//#region src/components/Combobox/virtualList.d.ts
|
|
3897
3506
|
type VirtualizedProps = {
|
|
3898
3507
|
/** Puts only the rows in view into the DOM: `'auto'` past 30 options, grouped or not; `true` always. */
|
|
3899
3508
|
virtualized?: boolean | 'auto';
|
|
3900
3509
|
};
|
|
3901
|
-
//#endregion
|
|
3902
|
-
//#region src/components/Combobox/Combobox.d.ts
|
|
3903
3510
|
type ComboboxProps$1<Value> = Combobox$1.Root.Props<Value, false>;
|
|
3904
3511
|
type ComboboxInputProps$1 = ComponentProps<typeof ComboboxInput>;
|
|
3905
3512
|
type ComboboxInputGroupProps$1 = ComponentProps<typeof ComboboxInputGroup>;
|
|
@@ -3963,8 +3570,8 @@ type BaseProps$1<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pu
|
|
|
3963
3570
|
*/
|
|
3964
3571
|
groupToValue?: (group: GroupShape) => Value;
|
|
3965
3572
|
};
|
|
3966
|
-
type Props$
|
|
3967
|
-
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, focusVariant, state, placeholder, allowClear, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, empty, isLoading, indicator, prefix, virtualized, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, itemToSelectedLabel, groupToLabel, collapsibleGroups, groupToValue, ...accessibleName }: Props$
|
|
3573
|
+
type Props$166<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = WithAccessibleName<BaseProps$1<Value, GroupShape>>;
|
|
3574
|
+
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, focusVariant, state, placeholder, allowClear, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, empty, isLoading, indicator, prefix, virtualized, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, itemToSelectedLabel, groupToLabel, collapsibleGroups, groupToValue, ...accessibleName }: Props$166<Value, GroupShape>): import("react").JSX.Element;
|
|
3968
3575
|
declare namespace Combobox {
|
|
3969
3576
|
export { ComboboxRoot as Root };
|
|
3970
3577
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -3981,8 +3588,6 @@ declare namespace Combobox {
|
|
|
3981
3588
|
export { ComboboxChips as Chips };
|
|
3982
3589
|
export { ComboboxChip as Chip };
|
|
3983
3590
|
}
|
|
3984
|
-
//#endregion
|
|
3985
|
-
//#region src/components/Combobox/matchByWords.d.ts
|
|
3986
3591
|
/** A single searchable text. `null` / `undefined` / `''` stand for "this item has no such field". */
|
|
3987
3592
|
type Text = string | number | null | undefined;
|
|
3988
3593
|
/**
|
|
@@ -4003,8 +3608,6 @@ declare const matchByWords: (texts: Text | readonly Text[], query: string) => bo
|
|
|
4003
3608
|
* - Close over {@link matchByWords} to search other fields.
|
|
4004
3609
|
*/
|
|
4005
3610
|
declare const filterByWords: <Item>(item: Item, query: string, itemToString?: (item: Item) => string) => boolean;
|
|
4006
|
-
//#endregion
|
|
4007
|
-
//#region src/blocks/MultiCombobox/MultiCombobox.d.ts
|
|
4008
3611
|
type ComboboxProps<Value> = Combobox$1.Root.Props<Value, true>;
|
|
4009
3612
|
type ComboboxInputProps = ComponentProps<typeof Combobox.Input>;
|
|
4010
3613
|
type ComboboxInputGroupProps = ComponentProps<typeof Combobox.InputGroup>;
|
|
@@ -4090,17 +3693,15 @@ type BaseProps<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
4090
3693
|
*
|
|
4091
3694
|
* - Pass `isItemEqualToValue` when a store recreates item objects — Base UI matches by reference.
|
|
4092
3695
|
*/
|
|
4093
|
-
type Props$
|
|
3696
|
+
type Props$165<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = WithAccessibleName<BaseProps<Value, GroupShape>>;
|
|
4094
3697
|
/**
|
|
4095
3698
|
* Searchable multi-select with chips, built on Base UI Combobox.
|
|
4096
3699
|
*
|
|
4097
3700
|
* @see RECIPES.md#creatable-multi-combobox
|
|
4098
3701
|
* @see RECIPES.md#filter-toolbar
|
|
4099
3702
|
*/
|
|
4100
|
-
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, focusVariant, state, placeholder, allowClear, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, isLoading, indicator, virtualized, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLocked, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, collapsibleGroups, selectableGroups, collapseSelectedGroups, groupAppearance, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, renderAside, asideOpen: asideOpenProp, onAsideOpenChange, defaultOpen, onOpenChange, anchor, query: queryProp, maxVisible, ...accessibleName }: Props$
|
|
4101
|
-
|
|
4102
|
-
//#region src/blocks/Form/connectors/ComboboxField.d.ts
|
|
4103
|
-
type Props$165 = FieldItemProps & Omit<ComponentProps<typeof Combobox<string>>, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
3703
|
+
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, focusVariant, state, placeholder, allowClear, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, isLoading, indicator, virtualized, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLocked, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, collapsibleGroups, selectableGroups, collapseSelectedGroups, groupAppearance, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, renderAside, asideOpen: asideOpenProp, onAsideOpenChange, defaultOpen, onOpenChange, anchor, query: queryProp, maxVisible, ...accessibleName }: Props$165<Value, GroupShape>) => import("react").JSX.Element;
|
|
3704
|
+
type Props$164 = FieldItemProps & Omit<ComponentProps<typeof Combobox<string>>, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
4104
3705
|
inputClassName?: string;
|
|
4105
3706
|
};
|
|
4106
3707
|
/**
|
|
@@ -4111,10 +3712,8 @@ type Props$165 = FieldItemProps & Omit<ComponentProps<typeof Combobox<string>>,
|
|
|
4111
3712
|
* - `allowClear` defaults to `!required`: a required value is not one click from empty.
|
|
4112
3713
|
* - `string` items only — objects would put presentation into the payload; use `itemToStringLabel`.
|
|
4113
3714
|
*/
|
|
4114
|
-
declare const ComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, allowClear, ...comboboxProps }: Props$
|
|
4115
|
-
|
|
4116
|
-
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
4117
|
-
type Props$164 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
3715
|
+
declare const ComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, allowClear, ...comboboxProps }: Props$164) => import("react").JSX.Element;
|
|
3716
|
+
type Props$163 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
4118
3717
|
inputClassName?: string;
|
|
4119
3718
|
};
|
|
4120
3719
|
/**
|
|
@@ -4125,9 +3724,7 @@ type Props$164 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<strin
|
|
|
4125
3724
|
* - Reads the field from context; render it inside `form.AppField`.
|
|
4126
3725
|
* - `string` items only — objects would put presentation into the payload; use `itemToLabel`.
|
|
4127
3726
|
*/
|
|
4128
|
-
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$
|
|
4129
|
-
//#endregion
|
|
4130
|
-
//#region src/blocks/ChipEditor/ChipEditor.d.ts
|
|
3727
|
+
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$163) => import("react").JSX.Element;
|
|
4131
3728
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4132
3729
|
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
4133
3730
|
type OwnProps = {
|
|
@@ -4158,8 +3755,6 @@ type Props$1 = InputGroupProps$8 & OwnProps & Omit<ComponentProps<'input'>, 'val
|
|
|
4158
3755
|
* - Values are compared case-insensitively.
|
|
4159
3756
|
*/
|
|
4160
3757
|
declare const ChipEditor: ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator, canAdd, chipColor, removeLabel, testId, state, focusVariant, className, disabled, readOnly, onChange, onBlur, onKeyDown, ...inputProps }: Props$1) => import("react").JSX.Element;
|
|
4161
|
-
//#endregion
|
|
4162
|
-
//#region src/blocks/Textarea/Textarea.d.ts
|
|
4163
3758
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4164
3759
|
type TextareaNativeProps = Omit<ComponentProps<typeof InputGroup.TextArea>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
4165
3760
|
type TextareaOwnProps = {
|
|
@@ -4171,11 +3766,9 @@ type TextareaOwnProps = {
|
|
|
4171
3766
|
disableResize?: boolean;
|
|
4172
3767
|
containerClassName?: string;
|
|
4173
3768
|
};
|
|
4174
|
-
type Props$
|
|
3769
|
+
type Props$162 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
4175
3770
|
/** Multi-line text input in `InputGroup` chrome. */
|
|
4176
|
-
declare const Textarea: ({ ref, containerClassName, state, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$
|
|
4177
|
-
//#endregion
|
|
4178
|
-
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
3771
|
+
declare const Textarea: ({ ref, containerClassName, state, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$162) => import("react").JSX.Element;
|
|
4179
3772
|
type AutoSaveTextareaProps = {
|
|
4180
3773
|
savedValue?: string;
|
|
4181
3774
|
onSave: (value: string) => Promise<void>;
|
|
@@ -4184,10 +3777,8 @@ type AutoSaveTextareaProps = {
|
|
|
4184
3777
|
grow?: boolean;
|
|
4185
3778
|
} & Pick<ComponentProps<typeof Textarea>, 'minRows' | 'maxRows' | 'className' | 'containerClassName' | 'maxLength'>;
|
|
4186
3779
|
declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, grow, ...textareaProps }: AutoSaveTextareaProps) => import("react").JSX.Element;
|
|
4187
|
-
//#endregion
|
|
4188
|
-
//#region src/blocks/InlineEdit/InlineEdit.d.ts
|
|
4189
3780
|
type Size = 'auto' | 'sm' | 'md' | 'lg' | 'title';
|
|
4190
|
-
type Props$
|
|
3781
|
+
type Props$161 = {
|
|
4191
3782
|
/** The text shown, and the draft while editing. */
|
|
4192
3783
|
value: string;
|
|
4193
3784
|
onChange: (value: string) => void;
|
|
@@ -4230,21 +3821,17 @@ type Props$162 = {
|
|
|
4230
3821
|
* - Enter saves a change and closes an unchanged edit; Escape cancels.
|
|
4231
3822
|
* - Not for multi-paragraph or markdown text: use `MarkdownEditor`.
|
|
4232
3823
|
*/
|
|
4233
|
-
declare const InlineEdit: ({ value, onChange, onSubmit, onCancel, isEditing, onEditStart, isChanged, isSaving, invalidReason, readOnly, fill, multiline, size, truncate, placeholder, editTooltip, tooltipPlacement, maxLength, 'aria-label': ariaLabel, className }: Props$
|
|
4234
|
-
//#endregion
|
|
4235
|
-
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
3824
|
+
declare const InlineEdit: ({ value, onChange, onSubmit, onCancel, isEditing, onEditStart, isChanged, isSaving, invalidReason, readOnly, fill, multiline, size, truncate, placeholder, editTooltip, tooltipPlacement, maxLength, 'aria-label': ariaLabel, className }: Props$161) => import("react").JSX.Element;
|
|
4236
3825
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4237
3826
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4238
|
-
type Props$
|
|
3827
|
+
type Props$160 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
4239
3828
|
value?: string | null;
|
|
4240
3829
|
defaultValue?: string | null;
|
|
4241
3830
|
onValueChange?: (value: string) => void;
|
|
4242
3831
|
onValueBlur?: (value: string) => void;
|
|
4243
3832
|
allowClear?: boolean;
|
|
4244
3833
|
};
|
|
4245
|
-
declare const ColorInput: ({ ref, state, focusVariant, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
4246
|
-
//#endregion
|
|
4247
|
-
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
3834
|
+
declare const ColorInput: ({ ref, state, focusVariant, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$160) => import("react").JSX.Element;
|
|
4248
3835
|
type UseBrandOptions = {
|
|
4249
3836
|
/** Initial active brand id for uncontrolled use. Defaults to the design-system sentinel (`DEFAULT_BRAND_ID`) — no brand tokens injected, so the stylesheet defaults apply. */
|
|
4250
3837
|
defaultBrandId?: BrandId;
|
|
@@ -4257,8 +3844,6 @@ declare const useBrandState: ({ defaultBrandId: defaultBrand, brandId: controlle
|
|
|
4257
3844
|
brandId: string;
|
|
4258
3845
|
setBrand: (next: BrandId) => void;
|
|
4259
3846
|
};
|
|
4260
|
-
//#endregion
|
|
4261
|
-
//#region src/components/ThemeProvider/useColorSchemeState.d.ts
|
|
4262
3847
|
type UseColorSchemeOptions = {
|
|
4263
3848
|
/** Initial scheme when uncontrolled; defaults to `light`. */
|
|
4264
3849
|
defaultScheme?: ColorScheme;
|
|
@@ -4275,19 +3860,15 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4275
3860
|
resolvedScheme: ResolvedColorScheme;
|
|
4276
3861
|
setScheme: (next: ColorScheme) => void;
|
|
4277
3862
|
};
|
|
4278
|
-
|
|
4279
|
-
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4280
|
-
type Props$160 = UseColorSchemeOptions & UseBrandOptions & {
|
|
3863
|
+
type Props$159 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4281
3864
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4282
3865
|
brands?: readonly Brand$1[];
|
|
4283
3866
|
children: ReactNode;
|
|
4284
3867
|
};
|
|
4285
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$
|
|
4286
|
-
//#endregion
|
|
4287
|
-
//#region src/components/ThemeProvider/ThemeScope.d.ts
|
|
3868
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$159) => import("react").JSX.Element;
|
|
4288
3869
|
/** The scope's themed portal container, or `null` outside a `ThemeScope`. */
|
|
4289
3870
|
declare const useThemeScopeContainer: () => HTMLElement | null;
|
|
4290
|
-
type Props$
|
|
3871
|
+
type Props$158 = {
|
|
4291
3872
|
/** Colour scheme for this subtree. `system` follows the OS preference. */
|
|
4292
3873
|
scheme: ColorScheme;
|
|
4293
3874
|
/** Merged onto the child element. */
|
|
@@ -4302,9 +3883,7 @@ type Props$159 = {
|
|
|
4302
3883
|
* tokens, not the brand's inline vars inherited from `<html>`.
|
|
4303
3884
|
* - Renders no wrapper: one would break direct-child selectors like `[data-fill=true] > &`.
|
|
4304
3885
|
*/
|
|
4305
|
-
declare const ThemeScope: ({ scheme, className, children }: Props$
|
|
4306
|
-
//#endregion
|
|
4307
|
-
//#region src/components/ThemeProvider/context.d.ts
|
|
3886
|
+
declare const ThemeScope: ({ scheme, className, children }: Props$158) => import("react").JSX.Element;
|
|
4308
3887
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
4309
3888
|
themes: Theme[];
|
|
4310
3889
|
currentTheme: Theme;
|
|
@@ -4312,13 +3891,9 @@ type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typ
|
|
|
4312
3891
|
brandTheme: Brand$1['theme'];
|
|
4313
3892
|
};
|
|
4314
3893
|
declare const useTheme: () => ThemeContextValue;
|
|
4315
|
-
//#endregion
|
|
4316
|
-
//#region src/components/ThemeProvider/defaults.d.ts
|
|
4317
3894
|
declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
4318
3895
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4319
|
-
|
|
4320
|
-
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4321
|
-
type Props$158 = {
|
|
3896
|
+
type Props$157 = {
|
|
4322
3897
|
/** Controlled — pair with `onValueChange`. */
|
|
4323
3898
|
value: ColorScheme;
|
|
4324
3899
|
onValueChange: (value: ColorScheme) => void;
|
|
@@ -4331,12 +3906,10 @@ type Props$158 = {
|
|
|
4331
3906
|
* - Controlled: owns no state; wire it to the same state as `ThemeProvider.colorScheme`.
|
|
4332
3907
|
* - The trigger's `aria-label` names the current scheme.
|
|
4333
3908
|
*/
|
|
4334
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4335
|
-
//#endregion
|
|
4336
|
-
//#region src/blocks/DateInput/DateInput.d.ts
|
|
3909
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$157) => import("react").JSX.Element;
|
|
4337
3910
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4338
3911
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4339
|
-
type Props$
|
|
3912
|
+
type Props$156 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4340
3913
|
value?: Date | null;
|
|
4341
3914
|
defaultValue?: Date | null;
|
|
4342
3915
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4346,12 +3919,10 @@ type Props$157 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4346
3919
|
endMonth?: Date;
|
|
4347
3920
|
startMonth?: Date;
|
|
4348
3921
|
};
|
|
4349
|
-
declare const DateInput: ({ ref, state, focusVariant, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4350
|
-
//#endregion
|
|
4351
|
-
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
3922
|
+
declare const DateInput: ({ ref, state, focusVariant, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$156) => import("react").JSX.Element;
|
|
4352
3923
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4353
3924
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4354
|
-
type Props$
|
|
3925
|
+
type Props$155 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4355
3926
|
value?: number | null;
|
|
4356
3927
|
defaultValue?: number | null;
|
|
4357
3928
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4359,12 +3930,10 @@ type Props$156 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4359
3930
|
prefix?: ReactNode;
|
|
4360
3931
|
suffix?: ReactNode;
|
|
4361
3932
|
};
|
|
4362
|
-
declare const NumberInput: ({ ref, state, focusVariant, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
4363
|
-
//#endregion
|
|
4364
|
-
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
3933
|
+
declare const NumberInput: ({ ref, state, focusVariant, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$155) => import("react").JSX.Element;
|
|
4365
3934
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4366
3935
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4367
|
-
type Props$
|
|
3936
|
+
type Props$154 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4368
3937
|
value?: string | null;
|
|
4369
3938
|
defaultValue?: string | null;
|
|
4370
3939
|
onValueChange?: (value: string) => void;
|
|
@@ -4376,24 +3945,20 @@ type Props$155 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4376
3945
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4377
3946
|
defaultPasswordVisibility?: boolean;
|
|
4378
3947
|
};
|
|
4379
|
-
declare const PasswordInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
4380
|
-
//#endregion
|
|
4381
|
-
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
3948
|
+
declare const PasswordInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$154) => import("react").JSX.Element;
|
|
4382
3949
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4383
3950
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4384
|
-
type Props$
|
|
3951
|
+
type Props$153 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4385
3952
|
value?: string | null;
|
|
4386
3953
|
defaultValue?: string | null;
|
|
4387
3954
|
onValueChange?: (value: string | null) => void;
|
|
4388
3955
|
onValueBlur?: (value: string | null) => void;
|
|
4389
3956
|
allowClear?: boolean;
|
|
4390
3957
|
};
|
|
4391
|
-
declare const TimeInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4392
|
-
//#endregion
|
|
4393
|
-
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
3958
|
+
declare const TimeInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$153) => import("react").JSX.Element;
|
|
4394
3959
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4395
3960
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4396
|
-
type Props$
|
|
3961
|
+
type Props$152 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4397
3962
|
value?: DateRange$1 | null;
|
|
4398
3963
|
defaultValue?: DateRange$1 | null;
|
|
4399
3964
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4402,29 +3967,21 @@ type Props$153 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4402
3967
|
startMonth?: Date;
|
|
4403
3968
|
endMonth?: Date;
|
|
4404
3969
|
};
|
|
4405
|
-
declare const DateRangeInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4406
|
-
//#endregion
|
|
4407
|
-
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
3970
|
+
declare const DateRangeInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$152) => import("react").JSX.Element;
|
|
4408
3971
|
type GroupProps = ComponentProps<'div'>;
|
|
4409
3972
|
declare const OtpInputGroup: ({ ref, className, ...props }: GroupProps & {
|
|
4410
3973
|
ref?: Ref<HTMLDivElement>;
|
|
4411
3974
|
}) => import("react").JSX.Element;
|
|
4412
|
-
//#endregion
|
|
4413
|
-
//#region src/blocks/OtpInput/OtpInputSeparator.d.ts
|
|
4414
3975
|
type SeparatorProps = ComponentProps<'div'>;
|
|
4415
3976
|
declare const OtpInputSeparator: ({ ref, children, className, ...props }: SeparatorProps & {
|
|
4416
3977
|
ref?: Ref<HTMLDivElement>;
|
|
4417
3978
|
}) => import("react").JSX.Element;
|
|
4418
|
-
//#endregion
|
|
4419
|
-
//#region src/blocks/OtpInput/OtpInputSlot.d.ts
|
|
4420
3979
|
type SlotProps$3 = Omit<ComponentProps<'div'>, 'children'> & {
|
|
4421
3980
|
index: number;
|
|
4422
3981
|
};
|
|
4423
3982
|
declare const OtpInputSlot: ({ ref, index, className, ...props }: SlotProps$3 & {
|
|
4424
3983
|
ref?: Ref<HTMLDivElement>;
|
|
4425
3984
|
}) => import("react").JSX.Element;
|
|
4426
|
-
//#endregion
|
|
4427
|
-
//#region src/blocks/OtpInput/OtpInput.d.ts
|
|
4428
3985
|
type OtpInputSizing = 'sm' | 'md' | 'lg';
|
|
4429
3986
|
type OtpElementProps = ComponentProps<typeof OTPInput>;
|
|
4430
3987
|
type OtpElementChildrenProps = Omit<Extract<OtpElementProps, {
|
|
@@ -4443,8 +4000,6 @@ declare const OtpInput: typeof Root$18 & {
|
|
|
4443
4000
|
Slot: typeof OtpInputSlot;
|
|
4444
4001
|
Separator: typeof OtpInputSeparator;
|
|
4445
4002
|
};
|
|
4446
|
-
//#endregion
|
|
4447
|
-
//#region src/blocks/SearchInput/SearchInput.d.ts
|
|
4448
4003
|
type InputGroupProps = Pick<ComponentProps<typeof InputGroup>, 'focusVariant' | 'state'>;
|
|
4449
4004
|
type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4450
4005
|
/**
|
|
@@ -4452,10 +4007,10 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4452
4007
|
* - `value={null}` / `undefined` is uncontrolled (falls back to `defaultValue`, else empty).
|
|
4453
4008
|
* - `value={""}` is controlled-empty.
|
|
4454
4009
|
*/
|
|
4455
|
-
type Props$
|
|
4010
|
+
type Props$151 = InputGroupProps & InputGroupInputProps & {
|
|
4456
4011
|
value?: string | null;
|
|
4457
4012
|
defaultValue?: string | null;
|
|
4458
|
-
/** Debounced; fires
|
|
4013
|
+
/** Debounced; fires at once on clear and with `disableDebounce`. Use `onChange` per keystroke. */
|
|
4459
4014
|
onValueChange?: (value: string) => void;
|
|
4460
4015
|
/** Called with the value on blur. */
|
|
4461
4016
|
onValueBlur?: (value: string) => void;
|
|
@@ -4475,9 +4030,7 @@ type Props$152 = InputGroupProps & InputGroupInputProps & {
|
|
|
4475
4030
|
*
|
|
4476
4031
|
* @see RECIPES.md#filter-toolbar
|
|
4477
4032
|
*/
|
|
4478
|
-
declare const SearchInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
4479
|
-
//#endregion
|
|
4480
|
-
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4033
|
+
declare const SearchInput: ({ ref, state, focusVariant, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$151) => import("react").JSX.Element;
|
|
4481
4034
|
type SearchInputWithNavigationProps = {
|
|
4482
4035
|
currentIndex: number | null;
|
|
4483
4036
|
totalResults: number;
|
|
@@ -4493,8 +4046,6 @@ type SearchInputWithNavigationProps = {
|
|
|
4493
4046
|
declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placeholder, onClear, focusVariant, currentIndex, totalResults, onNavigateNext, onNavigatePrevious, className }: SearchInputWithNavigationProps & {
|
|
4494
4047
|
ref?: Ref<HTMLInputElement>;
|
|
4495
4048
|
}) => import("react").JSX.Element;
|
|
4496
|
-
//#endregion
|
|
4497
|
-
//#region ../../node_modules/.pnpm/react-dropzone@14.2.3_@types+react@19.3.0_react@19.3.0/node_modules/react-dropzone/typings/react-dropzone.d.ts
|
|
4498
4049
|
declare enum ErrorCode {
|
|
4499
4050
|
FileInvalidType = "file-invalid-type",
|
|
4500
4051
|
FileTooLarge = "file-too-large",
|
|
@@ -4532,8 +4083,6 @@ interface DropzoneRootProps extends React$2.HTMLAttributes<HTMLElement> {
|
|
|
4532
4083
|
interface DropzoneInputProps extends React$2.InputHTMLAttributes<HTMLInputElement> {
|
|
4533
4084
|
refKey?: string;
|
|
4534
4085
|
}
|
|
4535
|
-
//#endregion
|
|
4536
|
-
//#region src/components/FileUpload/useFileDropTarget.d.ts
|
|
4537
4086
|
/** MIME type → extensions map, e.g. `{ 'text/csv': ['.csv'] }`. */
|
|
4538
4087
|
type FileUploadAccept = Record<string, string[]>;
|
|
4539
4088
|
/**
|
|
@@ -4584,17 +4133,13 @@ type FileDropTarget = Pick<DropzoneState, 'getRootProps' | 'getInputProps' | 'is
|
|
|
4584
4133
|
* which own the dashed-border chrome and the drag / error visual states.
|
|
4585
4134
|
*/
|
|
4586
4135
|
declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disabled, noClick, noKeyboard, onFilesChange, onFilesRejected }?: FileDropTargetOptions) => FileDropTarget;
|
|
4587
|
-
//#endregion
|
|
4588
|
-
//#region src/components/FileUpload/context.d.ts
|
|
4589
4136
|
/**
|
|
4590
4137
|
* Rejections from the most recent drop, read from the enclosing `FileUpload`. Use it to render
|
|
4591
4138
|
* your own "why was this refused" copy next to the drop zone — `FileUpload` ships none, because
|
|
4592
4139
|
* the wording is product copy. Replaced on every drop, so it never goes stale.
|
|
4593
4140
|
*/
|
|
4594
4141
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4595
|
-
|
|
4596
|
-
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4597
|
-
type Props$151 = {
|
|
4142
|
+
type Props$150 = {
|
|
4598
4143
|
/** Override the default copy / icon block. */
|
|
4599
4144
|
children?: ReactNode;
|
|
4600
4145
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4604,10 +4149,8 @@ type Props$151 = {
|
|
|
4604
4149
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4605
4150
|
* Pass `children` to fully replace the inner block.
|
|
4606
4151
|
*/
|
|
4607
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4608
|
-
|
|
4609
|
-
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4610
|
-
type Props$150 = {
|
|
4152
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$150) => import("react").JSX.Element;
|
|
4153
|
+
type Props$149 = {
|
|
4611
4154
|
files: File[];
|
|
4612
4155
|
onRemove?: (file: File, index: number) => void;
|
|
4613
4156
|
/**
|
|
@@ -4620,10 +4163,8 @@ type Props$150 = {
|
|
|
4620
4163
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4621
4164
|
* removal via `onRemove`.
|
|
4622
4165
|
*/
|
|
4623
|
-
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$
|
|
4624
|
-
|
|
4625
|
-
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4626
|
-
type Props$149 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4166
|
+
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$149) => import("react").JSX.Element | null;
|
|
4167
|
+
type Props$148 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4627
4168
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4628
4169
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4629
4170
|
children: ReactNode;
|
|
@@ -4637,18 +4178,14 @@ type Props$149 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4637
4178
|
* - For a drop target you style yourself, use `useFileDropTarget`.
|
|
4638
4179
|
* - Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4639
4180
|
*/
|
|
4640
|
-
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
4181
|
+
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$148) => import("react").JSX.Element;
|
|
4641
4182
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4642
4183
|
DropZone: typeof FileUploadDropZone;
|
|
4643
4184
|
FileList: typeof FileUploadFileList;
|
|
4644
4185
|
};
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
type Props$
|
|
4648
|
-
declare const FormGroupColorInput: ({ ref, ...props }: Props$148) => import("react").JSX.Element;
|
|
4649
|
-
//#endregion
|
|
4650
|
-
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4651
|
-
type Props$147 = ComponentPropsWithRef<'div'> & {
|
|
4186
|
+
type Props$147 = Omit<ComponentProps<typeof ColorInput>, 'state'>;
|
|
4187
|
+
declare const FormGroupColorInput: ({ ref, ...props }: Props$147) => import("react").JSX.Element;
|
|
4188
|
+
type Props$146 = ComponentPropsWithRef<'div'> & {
|
|
4652
4189
|
/**
|
|
4653
4190
|
* TanStack Form errors: strings or `{ message }` objects; several render as a list.
|
|
4654
4191
|
* Ignored when `children` is provided.
|
|
@@ -4663,38 +4200,24 @@ type Props$147 = ComponentPropsWithRef<'div'> & {
|
|
|
4663
4200
|
* - `role="alert"` announces it even when focus is elsewhere (e.g. on submit).
|
|
4664
4201
|
* - A `<div>`, not `<p>`, so several errors can render as a `<ul>`.
|
|
4665
4202
|
*/
|
|
4666
|
-
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$
|
|
4667
|
-
//#endregion
|
|
4668
|
-
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4203
|
+
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$146) => import("react").JSX.Element | null;
|
|
4669
4204
|
declare const helpVariants: (props?: ({
|
|
4670
4205
|
state?: "default" | "warning" | null | undefined;
|
|
4671
4206
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4672
|
-
type Props$
|
|
4673
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
type Props$
|
|
4677
|
-
declare const
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
type Props$
|
|
4681
|
-
declare const
|
|
4682
|
-
//#endregion
|
|
4683
|
-
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4684
|
-
type Props$143 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4685
|
-
declare const FormGroupTextarea: (props: Props$143) => import("react").JSX.Element;
|
|
4686
|
-
//#endregion
|
|
4687
|
-
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4688
|
-
type Props$142 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4689
|
-
declare const FormGroupTextInput: ({ ref, ...props }: Props$142) => import("react").JSX.Element;
|
|
4690
|
-
//#endregion
|
|
4691
|
-
//#region src/blocks/FormGroup/types.d.ts
|
|
4207
|
+
type Props$145 = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4208
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$145) => import("react").JSX.Element | null;
|
|
4209
|
+
type Props$144 = Omit<ComponentProps<typeof HelpBlock>, 'state'>;
|
|
4210
|
+
declare const FormGroupHelp: ({ children, ...rest }: Props$144) => import("react").JSX.Element;
|
|
4211
|
+
type Props$143 = Omit<ComponentProps<typeof NumberInput>, 'state'>;
|
|
4212
|
+
declare const FormGroupNumberInput: ({ ref, ...props }: Props$143) => import("react").JSX.Element;
|
|
4213
|
+
type Props$142 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4214
|
+
declare const FormGroupTextarea: (props: Props$142) => import("react").JSX.Element;
|
|
4215
|
+
type Props$141 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4216
|
+
declare const FormGroupTextInput: ({ ref, ...props }: Props$141) => import("react").JSX.Element;
|
|
4692
4217
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
4693
4218
|
type FormGroupContext = {
|
|
4694
4219
|
state?: ValidityState;
|
|
4695
4220
|
};
|
|
4696
|
-
//#endregion
|
|
4697
|
-
//#region src/blocks/FormGroup/FormGroup.d.ts
|
|
4698
4221
|
/**
|
|
4699
4222
|
* - `state` propagates via context to nested inputs.
|
|
4700
4223
|
* - `FormGroup.Help` reacts only to "warning"; errors render through `FormGroup.Error`.
|
|
@@ -4709,10 +4232,10 @@ declare namespace FormGroup {
|
|
|
4709
4232
|
export { FormGroupColorInput as ColorInput };
|
|
4710
4233
|
export { FormGroupTextarea as Textarea };
|
|
4711
4234
|
}
|
|
4712
|
-
//#endregion
|
|
4713
|
-
//#region src/blocks/AIKit/AnswerActions.d.ts
|
|
4714
4235
|
/** Which way a reader rated an answer. */
|
|
4715
4236
|
type AnswerVote = 'up' | 'down';
|
|
4237
|
+
/** How a recorded vote reads: `tinted` fills it green or red, `quiet` takes the accent ink only. */
|
|
4238
|
+
type AnswerVoteStyle = 'tinted' | 'quiet';
|
|
4716
4239
|
/** Roomier for a panel; compact for a dense transcript. */
|
|
4717
4240
|
declare const SIZES: {
|
|
4718
4241
|
readonly small: {
|
|
@@ -4724,7 +4247,15 @@ declare const SIZES: {
|
|
|
4724
4247
|
readonly gap: 'little-small';
|
|
4725
4248
|
};
|
|
4726
4249
|
};
|
|
4727
|
-
|
|
4250
|
+
/** A control a host adds beside copy and thumbs, drawn in their style. */
|
|
4251
|
+
type AnswerExtraAction = {
|
|
4252
|
+
id: string;
|
|
4253
|
+
label: string;
|
|
4254
|
+
icon: ReactNode;
|
|
4255
|
+
onSelect: () => void;
|
|
4256
|
+
disabled?: boolean;
|
|
4257
|
+
};
|
|
4258
|
+
type Props$140 = {
|
|
4728
4259
|
/** The answer as text, for the clipboard; empty or absent draws no copy button. */
|
|
4729
4260
|
copyText?: string;
|
|
4730
4261
|
/** The vote already recorded against this answer, or `null` for none. */
|
|
@@ -4732,6 +4263,8 @@ type Props$141 = {
|
|
|
4732
4263
|
onVote: (vote: AnswerVote) => void;
|
|
4733
4264
|
/** Extra controls, e.g. a report button; drawn ahead of copy. */
|
|
4734
4265
|
actions?: ReactNode;
|
|
4266
|
+
/** Extra controls drawn like copy and thumbs, right after Copy in either layout; each is named and tooltipped by `label`. */
|
|
4267
|
+
extraActions?: AnswerExtraAction[];
|
|
4735
4268
|
/** What the thumbs call the thing rated: "response" or "answer". */
|
|
4736
4269
|
labels?: {
|
|
4737
4270
|
up: string;
|
|
@@ -4753,6 +4286,12 @@ type Props$141 = {
|
|
|
4753
4286
|
/** Opt-in. Draws a button that asks the question again. */
|
|
4754
4287
|
onRegenerate?: () => void;
|
|
4755
4288
|
regenerateLabel?: string;
|
|
4289
|
+
/** Opt-in. A vertical rule between Copy and the votes on one side and the other controls on the other; `inline` only. */
|
|
4290
|
+
groupDivider?: boolean;
|
|
4291
|
+
/** Opt-in. The answer's time, as the tooltip of a clock at the end of the row rather than inline text. */
|
|
4292
|
+
timestamp?: string;
|
|
4293
|
+
/** Opt-in `quiet`: the recorded vote takes the accent ink with no fill, green or red alike. */
|
|
4294
|
+
voteStyle?: AnswerVoteStyle;
|
|
4756
4295
|
};
|
|
4757
4296
|
/**
|
|
4758
4297
|
* Copy and thumbs up/down for a finished answer.
|
|
@@ -4761,14 +4300,16 @@ type Props$141 = {
|
|
|
4761
4300
|
* - A vote can be changed but not withdrawn; pressing the pressed one re-sends it.
|
|
4762
4301
|
* - The caller owns the recorded vote and the write.
|
|
4763
4302
|
*/
|
|
4764
|
-
declare const AnswerActions: ({ copyText, vote, onVote, onCopy, actions, labels, confirmation, size, layout, onDownComment, commentPlaceholder, onRegenerate, regenerateLabel }: Props$
|
|
4765
|
-
//#endregion
|
|
4766
|
-
//#region src/blocks/AIKit/SourceChip.d.ts
|
|
4303
|
+
declare const AnswerActions: ({ copyText, vote, onVote, onCopy, actions, extraActions, labels, confirmation, size, layout, onDownComment, commentPlaceholder, onRegenerate, regenerateLabel, groupDivider, timestamp, voteStyle }: Props$140) => import("react").JSX.Element;
|
|
4767
4304
|
type SourceState = 'verified' | 'unverified' | 'neutral';
|
|
4305
|
+
/** How a `verified` chip reads: `tinted` is green, `quiet` wears the plain `neutral` chip. */
|
|
4306
|
+
type SourceVerifiedStyle = 'tinted' | 'quiet';
|
|
4768
4307
|
type SourceChipProps = {
|
|
4769
4308
|
label: string;
|
|
4770
4309
|
/** `verified`: a tool call supports it. `unverified`: named but never touched. `neutral`: nothing to check against. */
|
|
4771
4310
|
state?: SourceState;
|
|
4311
|
+
/** Opt-in `quiet`: a verified chip looks like a neutral one; the verdict stays in the accessible name. */
|
|
4312
|
+
verifiedStyle?: SourceVerifiedStyle;
|
|
4772
4313
|
/** What kind of thing it is (e.g. "table"); part of the accessible name, not the face. */
|
|
4773
4314
|
kind?: string;
|
|
4774
4315
|
icon?: ReactNode;
|
|
@@ -4788,13 +4329,11 @@ type SourceChipProps = {
|
|
|
4788
4329
|
* - A plain left click goes to `onClick`; modified clicks keep the link's own behaviour.
|
|
4789
4330
|
*/
|
|
4790
4331
|
declare const SourceChip: (props: SourceChipProps) => import("react").JSX.Element;
|
|
4791
|
-
//#endregion
|
|
4792
|
-
//#region src/blocks/AIKit/AnswerSources.d.ts
|
|
4793
4332
|
declare const ANSWER_SOURCES_VISIBLE = 6;
|
|
4794
4333
|
type AnswerSource = SourceChipProps & {
|
|
4795
4334
|
id: string;
|
|
4796
4335
|
};
|
|
4797
|
-
type Props$
|
|
4336
|
+
type Props$139 = {
|
|
4798
4337
|
sources: AnswerSource[];
|
|
4799
4338
|
/** Row heading. */
|
|
4800
4339
|
label?: string;
|
|
@@ -4804,6 +4343,10 @@ type Props$140 = {
|
|
|
4804
4343
|
visibleCount?: number;
|
|
4805
4344
|
/** Extra line under the row, e.g. the assumptions the answer made. */
|
|
4806
4345
|
footnote?: ReactNode;
|
|
4346
|
+
/** Opt-in. Drawn at the end of the chip row, after "N unverified", kept together on one line. */
|
|
4347
|
+
trailing?: ReactNode;
|
|
4348
|
+
/** Opt-in `quiet`: verified chips look neutral, so only the unverified ones stand out. A chip's own value wins. */
|
|
4349
|
+
verifiedStyle?: SourceVerifiedStyle;
|
|
4807
4350
|
className?: string;
|
|
4808
4351
|
};
|
|
4809
4352
|
/**
|
|
@@ -4813,9 +4356,7 @@ type Props$140 = {
|
|
|
4813
4356
|
* - Collapses past `visibleCount` behind a "+N more" toggle.
|
|
4814
4357
|
* - Empty `sources` states that none were declared, which is itself information.
|
|
4815
4358
|
*/
|
|
4816
|
-
declare const AnswerSources: ({ sources, label, emptyLabel, visibleCount, footnote, className }: Props$
|
|
4817
|
-
//#endregion
|
|
4818
|
-
//#region src/blocks/AIKit/AnswerSummary.d.ts
|
|
4359
|
+
declare const AnswerSources: ({ sources, label, emptyLabel, visibleCount, footnote, trailing, verifiedStyle, className }: Props$139) => import("react").JSX.Element;
|
|
4819
4360
|
type AnswerItem = {
|
|
4820
4361
|
question: string;
|
|
4821
4362
|
answer?: string;
|
|
@@ -4832,13 +4373,15 @@ type Props = {
|
|
|
4832
4373
|
onExpandToggle?: (next: boolean) => void;
|
|
4833
4374
|
};
|
|
4834
4375
|
declare const AnswerSummary: ({ items, variant, statusLabel, statusMessage, noAnswerLabel, onExpandToggle }: Props) => import("react").JSX.Element;
|
|
4835
|
-
//#endregion
|
|
4836
|
-
//#region src/blocks/AIKit/AttachmentChip.d.ts
|
|
4837
4376
|
type AttachmentStatus = 'uploading' | 'ready' | 'error';
|
|
4838
|
-
type Props$
|
|
4377
|
+
type Props$138 = {
|
|
4839
4378
|
name: string;
|
|
4840
4379
|
/** Replaces the file glyph while the upload is not failing. */
|
|
4841
4380
|
thumbnailUrl?: string;
|
|
4381
|
+
/** Replaces the glyph or thumbnail while the upload is not failing, e.g. a table icon. */
|
|
4382
|
+
lead?: ReactNode;
|
|
4383
|
+
/** Replaces the plain name text, e.g. a link; `name` still names the remove control. */
|
|
4384
|
+
label?: ReactNode;
|
|
4842
4385
|
status: AttachmentStatus;
|
|
4843
4386
|
/** Shown as a tooltip on an `error` chip. */
|
|
4844
4387
|
error?: string;
|
|
@@ -4853,9 +4396,7 @@ type Props$139 = {
|
|
|
4853
4396
|
* - Capped width with a truncating name, so a long filename cannot push the text away.
|
|
4854
4397
|
* - `error` explains itself in a tooltip; the remove control stays available in every status.
|
|
4855
4398
|
*/
|
|
4856
|
-
declare const AttachmentChip: ({ name, thumbnailUrl, status, error, onRemove, trailing, className }: Props$
|
|
4857
|
-
//#endregion
|
|
4858
|
-
//#region src/blocks/AIKit/ChatInlineIcon.d.ts
|
|
4399
|
+
declare const AttachmentChip: ({ name, thumbnailUrl, lead, label, status, error, onRemove, trailing, className }: Props$138) => import("react").JSX.Element;
|
|
4859
4400
|
/**
|
|
4860
4401
|
* The icon name in a code node's text, if the text is a token — drawn, or still arriving.
|
|
4861
4402
|
*
|
|
@@ -4864,7 +4405,7 @@ declare const AttachmentChip: ({ name, thumbnailUrl, status, error, onRemove, tr
|
|
|
4864
4405
|
* - A name that is both (`save`, of `save-changes`) is drawn now.
|
|
4865
4406
|
*/
|
|
4866
4407
|
declare const getChatInlineIconName: (text: string) => string | undefined;
|
|
4867
|
-
type Props$
|
|
4408
|
+
type Props$137 = {
|
|
4868
4409
|
/** The name from the token, without the `icon:` prefix. */
|
|
4869
4410
|
name: string;
|
|
4870
4411
|
};
|
|
@@ -4876,11 +4417,9 @@ type Props$138 = {
|
|
|
4876
4417
|
* - The heavier stroke holds its own beside a bold heading.
|
|
4877
4418
|
* - `aria-hidden`: the token's text is removed, so the glyph has no label to announce.
|
|
4878
4419
|
*/
|
|
4879
|
-
declare const ChatInlineIcon: ({ name }: Props$
|
|
4880
|
-
//#endregion
|
|
4881
|
-
//#region src/blocks/AIKit/ChatNotice.d.ts
|
|
4420
|
+
declare const ChatInlineIcon: ({ name }: Props$137) => import("react").JSX.Element | null;
|
|
4882
4421
|
type ChatNoticeTone = 'error' | 'warn' | 'info';
|
|
4883
|
-
type Props$
|
|
4422
|
+
type Props$136 = {
|
|
4884
4423
|
tone: ChatNoticeTone;
|
|
4885
4424
|
children: ReactNode;
|
|
4886
4425
|
/** A control for the reader to act on, e.g. a retry button. */
|
|
@@ -4889,6 +4428,8 @@ type Props$137 = {
|
|
|
4889
4428
|
details?: string;
|
|
4890
4429
|
/** Seconds until the action is worth trying again; counts down beside the message. */
|
|
4891
4430
|
retryAfter?: number;
|
|
4431
|
+
/** `false` drops the border, for a notice that sits on a tinted surface. */
|
|
4432
|
+
bordered?: boolean;
|
|
4892
4433
|
className?: string;
|
|
4893
4434
|
};
|
|
4894
4435
|
/**
|
|
@@ -4898,30 +4439,32 @@ type Props$137 = {
|
|
|
4898
4439
|
* - `details` stays collapsed so a stack trace never crowds the message.
|
|
4899
4440
|
* - `retryAfter` appends a live countdown; `action` is always rendered, so the host decides whether to gate it.
|
|
4900
4441
|
*/
|
|
4901
|
-
declare const ChatNotice: ({ tone, children, action, details, retryAfter, className }: Props$
|
|
4902
|
-
//#endregion
|
|
4903
|
-
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4442
|
+
declare const ChatNotice: ({ tone, children, action, details, retryAfter, bordered, className }: Props$136) => import("react").JSX.Element;
|
|
4904
4443
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4905
|
-
type Props$
|
|
4444
|
+
type Props$135 = {
|
|
4906
4445
|
isExpanded: boolean;
|
|
4907
4446
|
onToggle: () => void;
|
|
4908
4447
|
label: ReactNode;
|
|
4909
4448
|
variant?: Variant$5;
|
|
4449
|
+
/** `false` drops the status mark; the status stays in the accessible name. */
|
|
4450
|
+
statusMark?: boolean;
|
|
4910
4451
|
};
|
|
4911
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4912
|
-
//#endregion
|
|
4913
|
-
//#region src/blocks/AIKit/ContextChip.d.ts
|
|
4452
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, statusMark }: Props$135) => import("react").JSX.Element;
|
|
4914
4453
|
declare const CONTEXT_CHIP_EXPANDABLE_LENGTH = 120;
|
|
4915
4454
|
type ContextImage = {
|
|
4916
4455
|
src: string;
|
|
4917
4456
|
alt: string;
|
|
4918
4457
|
};
|
|
4919
|
-
type Props$
|
|
4458
|
+
type Props$134 = {
|
|
4920
4459
|
/** Where the quote came from, e.g. a message or a page title. */
|
|
4921
4460
|
label: string;
|
|
4922
|
-
|
|
4461
|
+
/** Absent or empty draws the label alone. */
|
|
4462
|
+
excerpt?: string;
|
|
4923
4463
|
images?: ContextImage[];
|
|
4924
|
-
|
|
4464
|
+
/** A position drawn as a numbered disc in place of the quote glyph, so a message can cite it. */
|
|
4465
|
+
number?: number;
|
|
4466
|
+
/** Absent draws the chip read-only, e.g. on a sent message. */
|
|
4467
|
+
onRemove?: () => void;
|
|
4925
4468
|
className?: string;
|
|
4926
4469
|
};
|
|
4927
4470
|
/**
|
|
@@ -4930,10 +4473,8 @@ type Props$135 = {
|
|
|
4930
4473
|
* - The excerpt is clamped to two lines; "Show all" appears once it is long enough to be cut.
|
|
4931
4474
|
* - Images sit under the excerpt as small thumbnails.
|
|
4932
4475
|
*/
|
|
4933
|
-
declare const ContextChip: ({ label, excerpt, images, onRemove, className }: Props$
|
|
4934
|
-
|
|
4935
|
-
//#region src/blocks/AIKit/FileDownloadChip.d.ts
|
|
4936
|
-
type Props$134 = {
|
|
4476
|
+
declare const ContextChip: ({ label, excerpt, images, number, onRemove, className }: Props$134) => import("react").JSX.Element;
|
|
4477
|
+
type Props$133 = {
|
|
4937
4478
|
/** The file's own name, as the reader will see it saved. */
|
|
4938
4479
|
fileName: string;
|
|
4939
4480
|
/** Where it sits in the workspace, shown on hover — what tells two `report.pdf`s apart. */
|
|
@@ -4957,9 +4498,7 @@ type Props$134 = {
|
|
|
4957
4498
|
* `onPreview`), the download sits beside it, and `actions` follow.
|
|
4958
4499
|
* - Presentation only — the host fetches and saves, through its own auth.
|
|
4959
4500
|
*/
|
|
4960
|
-
declare const FileDownloadChip: ({ fileName, filePath, size, isPending, onDownload, onPreview, actions, className }: Props$
|
|
4961
|
-
//#endregion
|
|
4962
|
-
//#region src/blocks/AIKit/FileGalleryTile.d.ts
|
|
4501
|
+
declare const FileDownloadChip: ({ fileName, filePath, size, isPending, onDownload, onPreview, actions, className }: Props$133) => import("react").JSX.Element;
|
|
4963
4502
|
type FileGalleryImage = {
|
|
4964
4503
|
id: string;
|
|
4965
4504
|
name: string;
|
|
@@ -4968,9 +4507,7 @@ type FileGalleryImage = {
|
|
|
4968
4507
|
/** The host could not produce a thumbnail. */
|
|
4969
4508
|
isFailed?: boolean;
|
|
4970
4509
|
};
|
|
4971
|
-
|
|
4972
|
-
//#region src/blocks/AIKit/FileGallery.d.ts
|
|
4973
|
-
type Props$133 = {
|
|
4510
|
+
type Props$132 = {
|
|
4974
4511
|
images: readonly FileGalleryImage[];
|
|
4975
4512
|
onOpen: (image: FileGalleryImage) => void;
|
|
4976
4513
|
onRetry?: (image: FileGalleryImage) => void;
|
|
@@ -4987,15 +4524,11 @@ type Props$133 = {
|
|
|
4987
4524
|
* - Tiles ask for their thumbnail as they near the viewport, so a long gallery loads on scroll.
|
|
4988
4525
|
* - Draws `maxTiles`, then a "+N more" button that reveals the rest.
|
|
4989
4526
|
*/
|
|
4990
|
-
declare const FileGallery: ({ images, onOpen, onRetry, onImageVisible, maxTiles, className }: Props$
|
|
4991
|
-
//#endregion
|
|
4992
|
-
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4527
|
+
declare const FileGallery: ({ images, onOpen, onRetry, onImageVisible, maxTiles, className }: Props$132) => import("react").JSX.Element | null;
|
|
4993
4528
|
type Props$2 = {
|
|
4994
4529
|
children: ReactNode;
|
|
4995
4530
|
};
|
|
4996
4531
|
declare const InlineStepDetail: ({ children }: Props$2) => import("react").JSX.Element;
|
|
4997
|
-
//#endregion
|
|
4998
|
-
//#region src/blocks/AIKit/InlineStepLabel.d.ts
|
|
4999
4532
|
/**
|
|
5000
4533
|
* How a step reads in one mark.
|
|
5001
4534
|
*
|
|
@@ -5011,14 +4544,16 @@ type Props$4 = {
|
|
|
5011
4544
|
/** Opt-in. What the step did or returned, behind a Details toggle on the row. */
|
|
5012
4545
|
detail?: ReactNode;
|
|
5013
4546
|
defaultExpanded?: boolean;
|
|
4547
|
+
/** Opt-in. The step's kind (a table, a document) in place of the status mark; the status moves to the accessible name and a failed step reads muted. */
|
|
4548
|
+
icon?: ReactNode;
|
|
5014
4549
|
};
|
|
5015
|
-
declare const InlineStepLabel: ({ variant, children, meta, detail, defaultExpanded }: Props$4) => import("react").JSX.Element;
|
|
5016
|
-
//#endregion
|
|
5017
|
-
//#region src/blocks/AIKit/InlineStepGroup.d.ts
|
|
4550
|
+
declare const InlineStepLabel: ({ variant, children, meta, detail, defaultExpanded, icon }: Props$4) => import("react").JSX.Element;
|
|
5018
4551
|
type Props$3 = {
|
|
5019
4552
|
label: ReactNode;
|
|
5020
4553
|
/** How the whole run reads in one mark; a retried-then-recovered run is `success`, a stopped one `dismissed`. */
|
|
5021
4554
|
variant?: Variant$3;
|
|
4555
|
+
/** Opt-in `false`: no status mark on the header, e.g. on a finished trail; the status stays in its accessible name. */
|
|
4556
|
+
statusMark?: boolean;
|
|
5022
4557
|
isExpanded: boolean;
|
|
5023
4558
|
onToggle: () => void;
|
|
5024
4559
|
/** The CSS colour behind the group; step icons mask the connector with it. Must match the
|
|
@@ -5041,16 +4576,16 @@ type Props$3 = {
|
|
|
5041
4576
|
* - Animates `grid-template-rows`; children stay mounted while closed.
|
|
5042
4577
|
* - `role="group"`, not a `region` landmark: dozens per transcript would drown real landmarks.
|
|
5043
4578
|
*/
|
|
5044
|
-
declare const InlineStepGroup: ({ label, variant, isExpanded, onToggle, surface, 'aria-label': ariaLabel, 'data-testid': testId, className, footer, children }: Props$3) => import("react").JSX.Element;
|
|
5045
|
-
|
|
5046
|
-
//#region src/blocks/AIKit/JumpToLatest.d.ts
|
|
5047
|
-
type Props$132 = {
|
|
4579
|
+
declare const InlineStepGroup: ({ label, variant, statusMark, isExpanded, onToggle, surface, 'aria-label': ariaLabel, 'data-testid': testId, className, footer, children }: Props$3) => import("react").JSX.Element;
|
|
4580
|
+
type Props$131 = {
|
|
5048
4581
|
visible: boolean;
|
|
5049
4582
|
/** The agent is still writing below the fold: the button pulses. */
|
|
5050
4583
|
working?: boolean;
|
|
5051
4584
|
onClick: () => void;
|
|
5052
4585
|
/** Text beside the arrow; absent draws an icon-only button named "Scroll to bottom". */
|
|
5053
4586
|
label?: string;
|
|
4587
|
+
/** Shown beside the button on hover, to its left, where the button sits against the right edge. */
|
|
4588
|
+
tooltip?: string;
|
|
5054
4589
|
className?: string;
|
|
5055
4590
|
};
|
|
5056
4591
|
/**
|
|
@@ -5059,25 +4594,31 @@ type Props$132 = {
|
|
|
5059
4594
|
* - Renders nothing while `visible` is false.
|
|
5060
4595
|
* - Positioning is the host's: pass `className` to pin it over the list.
|
|
5061
4596
|
*/
|
|
5062
|
-
declare const JumpToLatest: ({ visible, working, onClick, label, className }: Props$
|
|
5063
|
-
//#endregion
|
|
5064
|
-
//#region src/blocks/AIKit/markdownOptions.d.ts
|
|
4597
|
+
declare const JumpToLatest: ({ visible, working, onClick, label, tooltip, className }: Props$131) => import("react").JSX.Element | null;
|
|
5065
4598
|
type RenderDiagramActions = (safeSvg: string) => ReactNode;
|
|
5066
|
-
//#endregion
|
|
5067
|
-
//#region src/blocks/AIKit/diagramLanguages.d.ts
|
|
5068
4599
|
/**
|
|
5069
|
-
*
|
|
4600
|
+
* What a streamed answer is doing at its end.
|
|
5070
4601
|
*
|
|
5071
|
-
* -
|
|
5072
|
-
* -
|
|
4602
|
+
* - `writing`: words are still arriving; the caret blinks.
|
|
4603
|
+
* - `finishing`: the text is done but the turn is not; a still caret and a label.
|
|
5073
4604
|
*/
|
|
5074
|
-
|
|
5075
|
-
//#endregion
|
|
5076
|
-
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4605
|
+
type StreamingCaretMoment = 'writing' | 'finishing';
|
|
5077
4606
|
declare const PROSE_CLASS: {
|
|
5078
4607
|
readonly answer: 'tw:prose tw:prose-answer tw:prose-code-chip tw:break-words';
|
|
5079
4608
|
readonly chrome: 'tw:prose tw:prose-sm tw:prose-code-chip tw:break-words';
|
|
5080
4609
|
};
|
|
4610
|
+
/**
|
|
4611
|
+
* How large an answer's headings run.
|
|
4612
|
+
*
|
|
4613
|
+
* - `default`: the prose scale.
|
|
4614
|
+
* - `compact`: answer-sized, so a heading in a chat bubble does not outweigh the reply around it.
|
|
4615
|
+
* - Utilities carry `!`: `tw:prose-answer` rules sit above any plain utility.
|
|
4616
|
+
*/
|
|
4617
|
+
declare const HEADING_CLASS: {
|
|
4618
|
+
readonly default: undefined;
|
|
4619
|
+
readonly compact: string;
|
|
4620
|
+
};
|
|
4621
|
+
type HeadingScale = keyof typeof HEADING_CLASS;
|
|
5081
4622
|
/**
|
|
5082
4623
|
* Which reading rhythm the surface wears.
|
|
5083
4624
|
*
|
|
@@ -5106,11 +4647,22 @@ type BlockProps = {
|
|
|
5106
4647
|
* Sanitized: no scripts, handlers, `foreignObject`, SMIL or external references.
|
|
5107
4648
|
*/
|
|
5108
4649
|
allowSvgFences?: boolean;
|
|
4650
|
+
/**
|
|
4651
|
+
* Draws a `[n]` in running text as whatever this returns for `n`; absent leaves it as text.
|
|
4652
|
+
* Code and links are skipped. Keep in a module constant.
|
|
4653
|
+
*/
|
|
4654
|
+
renderCitation?: (id: string) => ReactNode;
|
|
4655
|
+
/** Opt-in. A caret at the end of the text while it streams; `finishing` stills it and adds the label.
|
|
4656
|
+
* Set it on the last block only. */
|
|
4657
|
+
caret?: StreamingCaretMoment;
|
|
4658
|
+
finishingLabel?: string;
|
|
5109
4659
|
};
|
|
5110
|
-
type
|
|
4660
|
+
type RootProps$9 = {
|
|
5111
4661
|
className?: string;
|
|
5112
4662
|
rhythm?: Rhythm;
|
|
4663
|
+
headingScale?: HeadingScale;
|
|
5113
4664
|
};
|
|
4665
|
+
type Props$130 = BlockProps & RootProps$9;
|
|
5114
4666
|
/**
|
|
5115
4667
|
* The prose surface an answer is drawn on.
|
|
5116
4668
|
*
|
|
@@ -5118,19 +4670,14 @@ type Props$131 = BlockProps & {
|
|
|
5118
4670
|
* - `data-prose` is `MessageBubble`'s colour hook; Tailwind can't target `tw:prose` directly.
|
|
5119
4671
|
* - Spacing overrides need `!`: `tw:prose-answer` rules are `(0,2,1)`, above `[&_p]:mb-1`.
|
|
5120
4672
|
*/
|
|
5121
|
-
declare const MarkdownRoot: ({ children, className, rhythm }: PropsWithChildren<
|
|
5122
|
-
className?: string;
|
|
5123
|
-
rhythm?: Rhythm;
|
|
5124
|
-
}>) => import("react").JSX.Element;
|
|
4673
|
+
declare const MarkdownRoot: ({ children, className, rhythm, headingScale }: PropsWithChildren<RootProps$9>) => import("react").JSX.Element;
|
|
5125
4674
|
/** One parsed piece of an answer, with no surface of its own; memoise at the call site. */
|
|
5126
|
-
declare const MarkdownBlock: ({ children, remarkPlugins, components: componentOverrides, highlight, sortable, diagramActions, diagramDownload, allowSvgFences }: BlockProps) => import("react").JSX.Element;
|
|
5127
|
-
declare function Markdown({ className, rhythm, ...blockProps }: Props$
|
|
4675
|
+
declare const MarkdownBlock: ({ children, remarkPlugins, components: componentOverrides, highlight, sortable, diagramActions, diagramDownload, allowSvgFences, renderCitation, caret, finishingLabel }: BlockProps) => import("react").JSX.Element;
|
|
4676
|
+
declare function Markdown({ className, rhythm, headingScale, ...blockProps }: Props$130): import("react").JSX.Element;
|
|
5128
4677
|
declare namespace Markdown {
|
|
5129
4678
|
export { MarkdownRoot as Root };
|
|
5130
4679
|
export { MarkdownBlock as Block };
|
|
5131
4680
|
}
|
|
5132
|
-
//#endregion
|
|
5133
|
-
//#region src/blocks/AIKit/MarkdownTable.d.ts
|
|
5134
4681
|
/**
|
|
5135
4682
|
* The fade's end colour — must match the host's surface, or it draws a strip over the data.
|
|
5136
4683
|
*
|
|
@@ -5141,7 +4688,7 @@ declare const FADE_SURFACE: {
|
|
|
5141
4688
|
readonly background: 'tw:from-background';
|
|
5142
4689
|
};
|
|
5143
4690
|
type Surface = keyof typeof FADE_SURFACE;
|
|
5144
|
-
type Props$
|
|
4691
|
+
type Props$129 = {
|
|
5145
4692
|
/** A `Table bordered` at intrinsic width (`tw:min-w-max`) — otherwise it wraps and never overflows. */
|
|
5146
4693
|
children: ReactNode;
|
|
5147
4694
|
/** What the host paints behind the table; paint `Table`'s header band this colour too. */
|
|
@@ -5163,10 +4710,8 @@ type Props$130 = {
|
|
|
5163
4710
|
* `baseline-widely-available` build floor lacks, and must sit on `Table`'s own container.
|
|
5164
4711
|
* - Past `EXPAND_RATIO` the expand action shows without hover.
|
|
5165
4712
|
*/
|
|
5166
|
-
declare const MarkdownTable: ({ children, actions, onExpand, surface, sortable, className }: Props$
|
|
5167
|
-
|
|
5168
|
-
//#region src/components/Avatar.d.ts
|
|
5169
|
-
type Props$129 = {
|
|
4713
|
+
declare const MarkdownTable: ({ children, actions, onExpand, surface, sortable, className }: Props$129) => import("react").JSX.Element;
|
|
4714
|
+
type Props$128 = {
|
|
5170
4715
|
user?: {
|
|
5171
4716
|
name: string | undefined;
|
|
5172
4717
|
email: string | undefined;
|
|
@@ -5176,13 +4721,9 @@ type Props$129 = {
|
|
|
5176
4721
|
size?: number;
|
|
5177
4722
|
variant?: 'circle' | 'rounded';
|
|
5178
4723
|
} & ComponentProps<'span'>;
|
|
5179
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
5180
|
-
//#endregion
|
|
5181
|
-
//#region src/blocks/AIKit/MessageDeliveryStatus.d.ts
|
|
4724
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$128) => import("react").JSX.Element;
|
|
5182
4725
|
type MessageStatus = 'sending' | 'failed';
|
|
5183
|
-
|
|
5184
|
-
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
5185
|
-
type Props$128 = {
|
|
4726
|
+
type Props$127 = {
|
|
5186
4727
|
variant: 'user' | 'assistant';
|
|
5187
4728
|
actions?: ReactNode;
|
|
5188
4729
|
createdAt?: string;
|
|
@@ -5195,17 +4736,18 @@ type Props$128 = {
|
|
|
5195
4736
|
onRetry?: () => void;
|
|
5196
4737
|
/** Who wrote it, where several people share a chat. */
|
|
5197
4738
|
author?: ReactNode;
|
|
5198
|
-
/** Clip the message at this height behind Show more / Show less.
|
|
4739
|
+
/** Clip the message at this height behind Show more / Show less. `Number.POSITIVE_INFINITY`
|
|
4740
|
+
* while streaming, not `undefined`, keeps the body mounted when the limit arrives. */
|
|
5199
4741
|
collapseAfterPx?: number;
|
|
4742
|
+
/** Opt-in. Drawn after the fold and above the time-and-actions row, e.g. the sources an answer rested on. */
|
|
4743
|
+
footer?: ReactNode;
|
|
5200
4744
|
/** Opt-in per-message avatar, beside the bubble; none by default so a narrow panel keeps its width. */
|
|
5201
4745
|
avatar?: ReactNode;
|
|
5202
4746
|
/** @deprecated No avatar is rendered; accepted so existing call sites keep compiling. */
|
|
5203
4747
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
5204
4748
|
} & PropsWithChildren;
|
|
5205
|
-
declare const MessageBubble: ({ variant, children, actions, createdAt, timestamp, quote, status, onRetry, author, collapseAfterPx, avatar }: Props$
|
|
5206
|
-
|
|
5207
|
-
//#region src/blocks/AIKit/ModeChip.d.ts
|
|
5208
|
-
type Props$127 = {
|
|
4749
|
+
declare const MessageBubble: ({ variant, children, actions, createdAt, timestamp, quote, status, onRetry, author, collapseAfterPx, footer, avatar }: Props$127) => import("react").JSX.Element;
|
|
4750
|
+
type Props$126 = {
|
|
5209
4751
|
children: ReactNode;
|
|
5210
4752
|
/** Mounted either way; `false` collapses and fades it out so neighbours slide instead of jump. */
|
|
5211
4753
|
visible?: boolean;
|
|
@@ -5222,9 +4764,7 @@ type Props$127 = {
|
|
|
5222
4764
|
* - The whole chip turns the mode off, not just the ×.
|
|
5223
4765
|
* - Collapsed via a `0fr` / `1fr` grid column and taken out of the tab order while hidden.
|
|
5224
4766
|
*/
|
|
5225
|
-
declare const ModeChip: ({ children, visible, tooltip, removeLabel, color, onRemove, className }: Props$
|
|
5226
|
-
//#endregion
|
|
5227
|
-
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
4767
|
+
declare const ModeChip: ({ children, visible, tooltip, removeLabel, color, onRemove, className }: Props$126) => import("react").JSX.Element;
|
|
5228
4768
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested' | 'expired';
|
|
5229
4769
|
type PlanApprovalProps = {
|
|
5230
4770
|
status: PlanApprovalStatus;
|
|
@@ -5262,14 +4802,10 @@ type PlanApprovalProps = {
|
|
|
5262
4802
|
className?: string;
|
|
5263
4803
|
};
|
|
5264
4804
|
declare const PlanApproval: ({ status, statusLabel, statusMessage, title, summary, stepCount, planBody, defaultExpanded, isExpanded: isExpandedProp, onExpandToggle, onApprove, onRequestChanges, onClose, isSubmitting, approveTooltip, pendingPillLabel, approvedPillLabel, dismissedPillLabel, changesRequestedPillLabel, approveLabel, requestChangesLabel, cancelLabel, showMoreLabel, showLessLabel, closeLabel, fullScreenLabel, exitFullScreenLabel, changeRequestPlaceholder, changeRequestSubmitLabel, stepCountLabel, className }: PlanApprovalProps) => import("react").JSX.Element;
|
|
5265
|
-
//#endregion
|
|
5266
|
-
//#region src/blocks/AIKit/PlanRewritingIndicator.d.ts
|
|
5267
4805
|
type PlanRewritingIndicatorProps = {
|
|
5268
4806
|
label?: string;
|
|
5269
4807
|
};
|
|
5270
4808
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react").JSX.Element;
|
|
5271
|
-
//#endregion
|
|
5272
|
-
//#region src/blocks/AIKit/constants.d.ts
|
|
5273
4809
|
/**
|
|
5274
4810
|
* Names the container query `PromptInput`'s `inline` row reads to fold into the stacked layout.
|
|
5275
4811
|
*
|
|
@@ -5278,12 +4814,8 @@ declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) =
|
|
|
5278
4814
|
* never names it keeps the one-line row at every width.
|
|
5279
4815
|
*/
|
|
5280
4816
|
declare const PROMPT_INPUT_CONTAINER = "tw:@container/composer";
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
type Props$126 = ComponentProps<'button'>;
|
|
5284
|
-
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$126) => import("react").JSX.Element;
|
|
5285
|
-
//#endregion
|
|
5286
|
-
//#region src/blocks/AIKit/PromptInputCommands.d.ts
|
|
4817
|
+
type Props$125 = ComponentProps<'button'>;
|
|
4818
|
+
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$125) => import("react").JSX.Element;
|
|
5287
4819
|
type PromptCommand = {
|
|
5288
4820
|
label: string;
|
|
5289
4821
|
value: string;
|
|
@@ -5296,9 +4828,7 @@ type PromptCommand = {
|
|
|
5296
4828
|
/** An action row: picking it runs this instead of inserting `value` into the message. */
|
|
5297
4829
|
onSelect?: () => void;
|
|
5298
4830
|
};
|
|
5299
|
-
|
|
5300
|
-
//#region src/blocks/AIKit/PromptInputMenuTrigger.d.ts
|
|
5301
|
-
type Props$125 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'variant'> & {
|
|
4831
|
+
type Props$124 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'variant'> & {
|
|
5302
4832
|
/** Whether the menu this opens is showing; the glyph turns into an × while it is. */
|
|
5303
4833
|
open?: boolean;
|
|
5304
4834
|
/** Sized up to match a large composer's send button. */
|
|
@@ -5311,16 +4841,15 @@ type Props$125 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'vari
|
|
|
5311
4841
|
* - `aria-expanded` mirrors `open`; the accessible name changes with it.
|
|
5312
4842
|
* - Wrapped in `PromptInputAction` so a click does not hand focus to the textarea.
|
|
5313
4843
|
*/
|
|
5314
|
-
declare const PromptInputMenuTrigger: ({ open, large, className, ref, ...props }: Props$
|
|
5315
|
-
//#endregion
|
|
5316
|
-
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
4844
|
+
declare const PromptInputMenuTrigger: ({ open, large, className, ref, ...props }: Props$124) => import("react").JSX.Element;
|
|
5317
4845
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
5318
|
-
type
|
|
4846
|
+
type SendIcon = 'plane' | 'arrow-up';
|
|
4847
|
+
type Props$123 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
5319
4848
|
status?: SubmitStatus;
|
|
4849
|
+
/** The glyph on the ready button: the paper plane (default) or an upward arrow. */
|
|
4850
|
+
sendIcon?: SendIcon;
|
|
5320
4851
|
};
|
|
5321
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
5322
|
-
//#endregion
|
|
5323
|
-
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
4852
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, sendIcon }: Props$123) => import("react").JSX.Element;
|
|
5324
4853
|
/**
|
|
5325
4854
|
* The `@token` the caret sits at the end of, if any.
|
|
5326
4855
|
*
|
|
@@ -5347,7 +4876,7 @@ declare const findSlashToken: (value: string, caret: number) => {
|
|
|
5347
4876
|
declare const promptInputVariants: (props?: ({
|
|
5348
4877
|
variant?: "default" | "inline" | null | undefined;
|
|
5349
4878
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5350
|
-
type Props$
|
|
4879
|
+
type Props$122 = {
|
|
5351
4880
|
/** The textarea, for a host that has to put the caret back. Not `ref`: that name is the textarea's own. */
|
|
5352
4881
|
textareaRef?: RefObject<ComponentRef<'textarea'> | null>;
|
|
5353
4882
|
onSend?: (value: string) => void;
|
|
@@ -5361,6 +4890,10 @@ type Props$123 = {
|
|
|
5361
4890
|
/** Images and chips already attached, in rows of their own above the text. */
|
|
5362
4891
|
attachments?: ReactNode;
|
|
5363
4892
|
className?: string;
|
|
4893
|
+
/** On the element around the frame, for an outer pattern that themes the shell itself. */
|
|
4894
|
+
shellClassName?: string;
|
|
4895
|
+
/** Fires as focus enters or leaves the composer; the outer element also carries `data-focused`. */
|
|
4896
|
+
onFocusChange?: (focused: boolean) => void;
|
|
5364
4897
|
variant?: 'default' | 'inline';
|
|
5365
4898
|
disableSubmit?: boolean;
|
|
5366
4899
|
/** Holds the composer read-only while the host reconnects: focus stays, Enter and send do nothing. */
|
|
@@ -5398,6 +4931,8 @@ type Props$123 = {
|
|
|
5398
4931
|
mentions?: PromptCommand[];
|
|
5399
4932
|
/** Fires after the `@` token is replaced; the host attaches or opens whatever the item stands for. */
|
|
5400
4933
|
onMentionSelect?: (item: PromptCommand) => void;
|
|
4934
|
+
/** Text a picked mention leaves at the caret, in the same update that removes its `@token`; ignored with `mentionsMultiple`. */
|
|
4935
|
+
mentionInsert?: (item: PromptCommand) => string;
|
|
5401
4936
|
/** What the `@` list says when it has nothing to list — the host owns that wording. */
|
|
5402
4937
|
mentionsEmptyText?: ReactNode;
|
|
5403
4938
|
/** An `@` group's heading — the group key names a bucket, the host says how a bucket looks. */
|
|
@@ -5407,13 +4942,11 @@ type Props$123 = {
|
|
|
5407
4942
|
/** Prompts already sent, oldest first: ↑ at the start of the text recalls them, ↓ steps back. */
|
|
5408
4943
|
history?: string[];
|
|
5409
4944
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
5410
|
-
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, attachments, className, disabled, disableSubmit, busy, blurOnEscape, onKeyDown, onPasteFiles, canSubmitEmpty, allowSendWhileBusy, canAbort, value, onValueChange, status, maxRows, minRows, commands, commandsEmptyText, commandsLoading, slashTrigger, commandsGroupAction, panel, mentions, onMentionSelect, mentionsEmptyText, mentionsGroupHeading, mentionsMultiple, history, autoFocus, textareaRef: publishedRef, ...textareaProps }: Props$
|
|
4945
|
+
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, attachments, className, shellClassName, onFocusChange, disabled, disableSubmit, busy, blurOnEscape, onKeyDown, onPasteFiles, canSubmitEmpty, allowSendWhileBusy, canAbort, value, onValueChange, status, sendIcon, maxRows, minRows, commands, commandsEmptyText, commandsLoading, slashTrigger, commandsGroupAction, panel, mentions, onMentionSelect, mentionInsert, mentionsEmptyText, mentionsGroupHeading, mentionsMultiple, history, autoFocus, textareaRef: publishedRef, ...textareaProps }: Props$122): import("react").JSX.Element;
|
|
5411
4946
|
declare namespace PromptInput {
|
|
5412
4947
|
export { PromptInputAction as Action };
|
|
5413
4948
|
export { PromptInputMenuTrigger as MenuTrigger };
|
|
5414
4949
|
}
|
|
5415
|
-
//#endregion
|
|
5416
|
-
//#region src/blocks/AIKit/Question.d.ts
|
|
5417
4950
|
type QuestionOption = {
|
|
5418
4951
|
id: string;
|
|
5419
4952
|
label: string;
|
|
@@ -5459,8 +4992,6 @@ type Props$7 = {
|
|
|
5459
4992
|
className?: string;
|
|
5460
4993
|
};
|
|
5461
4994
|
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, customAnswerMaxLength, showSkip, onSkip, skipTooltip, onClose, onNext, submitTooltip, isSubmitDisabled, isSubmitting, error, onPrevious, currentStep, totalSteps, renderPreview, autoFocus, enableShortcuts, className }: Props$7) => import("react").JSX.Element;
|
|
5462
|
-
//#endregion
|
|
5463
|
-
//#region src/blocks/AIKit/QuestionBlock.d.ts
|
|
5464
4995
|
type QuestionStep = {
|
|
5465
4996
|
question: string;
|
|
5466
4997
|
header?: string;
|
|
@@ -5482,8 +5013,6 @@ type Props$6 = {
|
|
|
5482
5013
|
className?: string;
|
|
5483
5014
|
};
|
|
5484
5015
|
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$6) => import("react").JSX.Element;
|
|
5485
|
-
//#endregion
|
|
5486
|
-
//#region src/blocks/AIKit/streamingMarkdown.d.ts
|
|
5487
5016
|
/**
|
|
5488
5017
|
* A streaming answer split into blocks that can no longer change and the tail that still can.
|
|
5489
5018
|
*
|
|
@@ -5509,9 +5038,7 @@ type WithholdOptions = {
|
|
|
5509
5038
|
* - Any other open fence streams as a growing code block.
|
|
5510
5039
|
*/
|
|
5511
5040
|
declare const withholdOpenTail: (text: string, { diagram, tableHead }?: WithholdOptions) => string;
|
|
5512
|
-
|
|
5513
|
-
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
5514
|
-
type Props$122 = {
|
|
5041
|
+
type Props$121 = {
|
|
5515
5042
|
label: string;
|
|
5516
5043
|
disabled?: boolean;
|
|
5517
5044
|
onClick: () => void;
|
|
@@ -5525,9 +5052,7 @@ type Props$122 = {
|
|
|
5525
5052
|
variant?: 'row' | 'bubble';
|
|
5526
5053
|
className?: string;
|
|
5527
5054
|
};
|
|
5528
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, description, trailing, 'aria-label': ariaLabel, variant, className }: Props$
|
|
5529
|
-
//#endregion
|
|
5530
|
-
//#region src/blocks/AIKit/ThinkingIndicator.d.ts
|
|
5055
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, description, trailing, 'aria-label': ariaLabel, variant, className }: Props$121) => import("react").JSX.Element;
|
|
5531
5056
|
type ThinkingIndicatorProps = {
|
|
5532
5057
|
label?: string;
|
|
5533
5058
|
};
|
|
@@ -5541,29 +5066,19 @@ type ThinkingIndicatorProps = {
|
|
|
5541
5066
|
* - The icon is hidden from the tree: it says the same thing as the label beside it.
|
|
5542
5067
|
*/
|
|
5543
5068
|
declare const ThinkingIndicator: ({ label }: ThinkingIndicatorProps) => import("react").JSX.Element;
|
|
5544
|
-
//#endregion
|
|
5545
|
-
//#region src/blocks/AIKit/ToolCall/toolCallApprovalStatus.d.ts
|
|
5546
5069
|
type ToolCallApprovalStatus = 'pending' | 'approved' | 'rejected' | 'expired' | 'timed-out' | 'cancelled' | 'unattended';
|
|
5547
5070
|
type ToolCallApprovalAction = 'approve' | 'reject' | 'extra';
|
|
5548
|
-
//#endregion
|
|
5549
|
-
//#region src/blocks/AIKit/ToolCall/useApprovalShortcut.d.ts
|
|
5550
5071
|
type ShortcutKey = 'enter' | 'mod-enter' | 'none';
|
|
5551
|
-
//#endregion
|
|
5552
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApprovalActions.d.ts
|
|
5553
5072
|
type ToolCallApprovalExtraAction = {
|
|
5554
5073
|
label: string;
|
|
5555
5074
|
onClick: () => void;
|
|
5556
5075
|
};
|
|
5557
|
-
//#endregion
|
|
5558
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApprovalNotice.d.ts
|
|
5559
5076
|
type NoticeTone = 'warning' | 'destructive' | 'info';
|
|
5560
5077
|
type ToolCallApprovalNoticeItem = {
|
|
5561
5078
|
tone: NoticeTone;
|
|
5562
5079
|
content: ReactNode;
|
|
5563
5080
|
icon?: LucideIcon;
|
|
5564
5081
|
};
|
|
5565
|
-
//#endregion
|
|
5566
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApproval.d.ts
|
|
5567
5082
|
type ToolCallApprovalProps = {
|
|
5568
5083
|
status: ToolCallApprovalStatus;
|
|
5569
5084
|
/** Replaces the status badge's text, e.g. `Cancelled by Kai`. */
|
|
@@ -5609,8 +5124,6 @@ type ToolCallApprovalProps = {
|
|
|
5609
5124
|
* - Actions render only while `pending`.
|
|
5610
5125
|
*/
|
|
5611
5126
|
declare const ToolCallApproval: ({ status, statusLabel, statusMessage, density, resolvedBy, resolvedAt, toolName, eyebrow, title, children, notices, aside, error, onApprove, onReject, extraAction, approveLabel, rejectLabel, approveVariant, pendingAction, isDisabled, shortcutKey, isShortcutHintOnly, className }: ToolCallApprovalProps) => import("react").JSX.Element;
|
|
5612
|
-
//#endregion
|
|
5613
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallChip.d.ts
|
|
5614
5127
|
type ToolCallState = 'processing' | 'done' | 'error';
|
|
5615
5128
|
type ToolCallChipProps = {
|
|
5616
5129
|
label: ReactNode;
|
|
@@ -5629,8 +5142,6 @@ type ToolCallChipProps = {
|
|
|
5629
5142
|
* or pass `onClick` for navigation; the app owns deep-linking.
|
|
5630
5143
|
*/
|
|
5631
5144
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className }: ToolCallChipProps) => import("react").JSX.Element;
|
|
5632
|
-
//#endregion
|
|
5633
|
-
//#region src/blocks/AIKit/ToolCallStatusHeader.d.ts
|
|
5634
5145
|
type ToolCallStatus = 'processing' | 'warning' | 'success' | 'error';
|
|
5635
5146
|
type Props$9 = {
|
|
5636
5147
|
icon: LucideIcon;
|
|
@@ -5643,17 +5154,13 @@ type Props$9 = {
|
|
|
5643
5154
|
onToggleCollapse?: () => void;
|
|
5644
5155
|
};
|
|
5645
5156
|
declare const ToolCallStatusHeader: ({ icon: IconComponent, iconSpin, status, text, needsConfirmation, isCollapsible, isCollapsed, onToggleCollapse }: Props$9) => import("react").JSX.Element;
|
|
5646
|
-
//#endregion
|
|
5647
|
-
//#region src/components/Progress/Progress.d.ts
|
|
5648
5157
|
declare const variants$4: (props?: ({
|
|
5649
5158
|
variant?: "default" | "error" | "success" | "warning" | null | undefined;
|
|
5650
5159
|
size?: "lg" | "sm" | null | undefined;
|
|
5651
5160
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5652
|
-
type Props$
|
|
5653
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5654
|
-
|
|
5655
|
-
//#region src/blocks/AIKit/UsageBar.d.ts
|
|
5656
|
-
type Props$120 = Omit<ComponentProps<'span'>, 'children'> & {
|
|
5161
|
+
type Props$120 = ComponentProps<typeof Root$13> & VariantProps<typeof variants$4>;
|
|
5162
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$120) => import("react").JSX.Element;
|
|
5163
|
+
type Props$119 = Omit<ComponentProps<'span'>, 'children'> & {
|
|
5657
5164
|
/** Share of the budget SPENT, 0–100; the bar fills with it, the figure shows what is LEFT. */
|
|
5658
5165
|
value: number;
|
|
5659
5166
|
label: ReactNode;
|
|
@@ -5665,10 +5172,8 @@ type Props$120 = Omit<ComponentProps<'span'>, 'children'> & {
|
|
|
5665
5172
|
*
|
|
5666
5173
|
* - `value` is clamped by `clampPercentage` — `Progress`'s indicator is unclamped.
|
|
5667
5174
|
*/
|
|
5668
|
-
declare const UsageBar: ({ value, label, variant, className, ...props }: Props$
|
|
5669
|
-
|
|
5670
|
-
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
5671
|
-
type Props$119 = {
|
|
5175
|
+
declare const UsageBar: ({ value, label, variant, className, ...props }: Props$119) => import("react").JSX.Element;
|
|
5176
|
+
type Props$118 = {
|
|
5672
5177
|
value: number;
|
|
5673
5178
|
/** `true`/`'error'` renders a red corner badge, `'warning'` an amber one. */
|
|
5674
5179
|
alert?: boolean | 'warning' | 'error';
|
|
@@ -5683,18 +5188,7 @@ type Props$119 = {
|
|
|
5683
5188
|
open?: ComponentProps<typeof HoverCard>['open'];
|
|
5684
5189
|
onOpenChange?: ComponentProps<typeof HoverCard>['onOpenChange'];
|
|
5685
5190
|
};
|
|
5686
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, open, onOpenChange }: Props$
|
|
5687
|
-
//#endregion
|
|
5688
|
-
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
5689
|
-
type Props$118 = {
|
|
5690
|
-
value: number;
|
|
5691
|
-
size?: number;
|
|
5692
|
-
strokeWidth?: number;
|
|
5693
|
-
className?: string;
|
|
5694
|
-
};
|
|
5695
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$118) => import("react").JSX.Element;
|
|
5696
|
-
//#endregion
|
|
5697
|
-
//#region src/blocks/AIKit/usageStatsHelpers.d.ts
|
|
5191
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, open, onOpenChange }: Props$118) => import("react").JSX.Element;
|
|
5698
5192
|
/**
|
|
5699
5193
|
* Clamp a percentage to 0–100 and normalize non-finite input to 0.
|
|
5700
5194
|
*
|
|
@@ -5711,12 +5205,8 @@ declare const clampPercentage: (value: number) => number;
|
|
|
5711
5205
|
* from the raw value, exactly at the boundary everything else turns on.
|
|
5712
5206
|
*/
|
|
5713
5207
|
declare const formatPercentage: (value: number) => string;
|
|
5714
|
-
//#endregion
|
|
5715
|
-
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
5716
5208
|
type Props$117 = ComponentProps<typeof Content$5>;
|
|
5717
5209
|
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$117) => import("react").JSX.Element;
|
|
5718
|
-
//#endregion
|
|
5719
|
-
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
5720
5210
|
type Props$116 = ComponentProps<typeof CollapsibleTrigger>;
|
|
5721
5211
|
/**
|
|
5722
5212
|
* A `Collapsible` toggle.
|
|
@@ -5726,23 +5216,17 @@ type Props$116 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
5726
5216
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
5727
5217
|
*/
|
|
5728
5218
|
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$116) => import("react").JSX.Element;
|
|
5729
|
-
//#endregion
|
|
5730
|
-
//#region src/components/Collapsible/Collapsible.d.ts
|
|
5731
5219
|
type Props$115 = ComponentProps<typeof Root$12>;
|
|
5732
5220
|
declare function Collapsible(props: Props$115): import("react").JSX.Element;
|
|
5733
5221
|
declare namespace Collapsible {
|
|
5734
5222
|
export { CollapsibleTrigger$1 as Trigger };
|
|
5735
5223
|
export { CollapsibleContent as Content };
|
|
5736
5224
|
}
|
|
5737
|
-
//#endregion
|
|
5738
|
-
//#region src/components/Alert/AlertRoot.d.ts
|
|
5739
5225
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
5740
5226
|
type Props$114 = {
|
|
5741
5227
|
variant?: Variant$4;
|
|
5742
5228
|
} & ComponentProps<'div'>;
|
|
5743
5229
|
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$114) => import("react").JSX.Element;
|
|
5744
|
-
//#endregion
|
|
5745
|
-
//#region src/components/Alert/Alert.d.ts
|
|
5746
5230
|
type CommonProps = {
|
|
5747
5231
|
hideIcon?: boolean;
|
|
5748
5232
|
icon?: ReactNode;
|
|
@@ -5771,8 +5255,6 @@ type Props$113 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
5771
5255
|
* @see RECIPES.md#alert-with-action
|
|
5772
5256
|
*/
|
|
5773
5257
|
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$113) => import("react").JSX.Element;
|
|
5774
|
-
//#endregion
|
|
5775
|
-
//#region src/components/Toast/ToastRoot.d.ts
|
|
5776
5258
|
declare const variants$3: (props?: ({
|
|
5777
5259
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
5778
5260
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5787,8 +5269,6 @@ type Props$112 = {
|
|
|
5787
5269
|
duration?: number;
|
|
5788
5270
|
} & Variants;
|
|
5789
5271
|
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$112) => import("react").JSX.Element;
|
|
5790
|
-
//#endregion
|
|
5791
|
-
//#region src/components/Toast/toast.d.ts
|
|
5792
5272
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
5793
5273
|
type Title$2 = ToastProps['title'] | ((opts: {
|
|
5794
5274
|
dismiss: () => void;
|
|
@@ -5807,8 +5287,6 @@ declare namespace toast {
|
|
|
5807
5287
|
var dismiss: (toastId?: ToastOptions['id']) => string | number;
|
|
5808
5288
|
var dismissAll: () => string | number;
|
|
5809
5289
|
}
|
|
5810
|
-
//#endregion
|
|
5811
|
-
//#region src/components/Toast/useNotification.d.ts
|
|
5812
5290
|
type Props$111 = {
|
|
5813
5291
|
enabled?: boolean;
|
|
5814
5292
|
/** Shows the notification again this many ms after the user dismisses it, while still enabled. */
|
|
@@ -5823,26 +5301,18 @@ type Props$111 = {
|
|
|
5823
5301
|
* options apply the next time it shows.
|
|
5824
5302
|
*/
|
|
5825
5303
|
declare const useNotification: ({ enabled, remindAfter, ...toastOptions }: Props$111) => void;
|
|
5826
|
-
//#endregion
|
|
5827
|
-
//#region src/components/Toast/Toaster.d.ts
|
|
5828
5304
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5829
5305
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react").JSX.Element;
|
|
5830
|
-
//#endregion
|
|
5831
|
-
//#region src/components/EmptySearchContent.d.ts
|
|
5832
5306
|
type Props$110 = {
|
|
5833
5307
|
children?: ReactNode;
|
|
5834
5308
|
};
|
|
5835
5309
|
declare const EmptySearchContent: ({ children }: Props$110) => import("react").JSX.Element;
|
|
5836
|
-
//#endregion
|
|
5837
|
-
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
5838
5310
|
type Props$109 = {
|
|
5839
5311
|
title: string;
|
|
5840
5312
|
children: ReactNode;
|
|
5841
5313
|
className?: string;
|
|
5842
5314
|
};
|
|
5843
5315
|
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$109) => import("react").JSX.Element;
|
|
5844
|
-
//#endregion
|
|
5845
|
-
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
5846
5316
|
declare const emptyStateClassnames: (props?: ({
|
|
5847
5317
|
variant?: "compact" | "default" | null | undefined;
|
|
5848
5318
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5882,8 +5352,6 @@ declare const EmptyState: typeof EmptyStateRoot & {
|
|
|
5882
5352
|
Description: typeof EmptyStateDescription;
|
|
5883
5353
|
Actions: typeof EmptyStateActions;
|
|
5884
5354
|
};
|
|
5885
|
-
//#endregion
|
|
5886
|
-
//#region src/blocks/ErrorState/ErrorState.d.ts
|
|
5887
5355
|
declare const errorStateClassnames: (props?: ({
|
|
5888
5356
|
variant?: "compact" | "default" | "destructive" | null | undefined;
|
|
5889
5357
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5928,8 +5396,6 @@ declare const ErrorState: typeof ErrorStateRoot & {
|
|
|
5928
5396
|
Description: typeof ErrorStateDescription;
|
|
5929
5397
|
Actions: typeof ErrorStateActions;
|
|
5930
5398
|
};
|
|
5931
|
-
//#endregion
|
|
5932
|
-
//#region src/components/Skeleton/Skeleton.d.ts
|
|
5933
5399
|
type Height = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5934
5400
|
type SkeletonProps = {
|
|
5935
5401
|
/** `xxs` (12px) through `2xl` (48px). */
|
|
@@ -5948,8 +5414,6 @@ type SkeletonProps = {
|
|
|
5948
5414
|
* @see RECIPES.md#data-card-with-skeleton
|
|
5949
5415
|
*/
|
|
5950
5416
|
declare const Skeleton: ({ height, className, count }: SkeletonProps) => import("react").JSX.Element;
|
|
5951
|
-
//#endregion
|
|
5952
|
-
//#region src/components/Skeleton/SkeletonList.d.ts
|
|
5953
5417
|
declare const SkeletonList: ({ hasHeading, groups, className, iconHeight, rowHeight, iconClassName }: {
|
|
5954
5418
|
hasHeading?: boolean;
|
|
5955
5419
|
groups?: number;
|
|
@@ -5958,17 +5422,11 @@ declare const SkeletonList: ({ hasHeading, groups, className, iconHeight, rowHei
|
|
|
5958
5422
|
rowHeight?: Height;
|
|
5959
5423
|
iconClassName?: string;
|
|
5960
5424
|
}) => import("react").JSX.Element;
|
|
5961
|
-
//#endregion
|
|
5962
|
-
//#region src/components/DotsLoader.d.ts
|
|
5963
5425
|
type DotsLoaderProps = {
|
|
5964
5426
|
className?: string;
|
|
5965
5427
|
};
|
|
5966
5428
|
declare const DotsLoader: ({ className }: DotsLoaderProps) => import("react").JSX.Element;
|
|
5967
|
-
//#endregion
|
|
5968
|
-
//#region src/blocks/DiagramShared/DiagramSkeleton.d.ts
|
|
5969
5429
|
declare const DiagramSkeleton: () => import("react").JSX.Element;
|
|
5970
|
-
//#endregion
|
|
5971
|
-
//#region src/components/CollapsiblePanel.d.ts
|
|
5972
5430
|
type Props$108 = {
|
|
5973
5431
|
header: ReactNode;
|
|
5974
5432
|
isDisabled?: boolean;
|
|
@@ -5982,8 +5440,6 @@ type Props$108 = {
|
|
|
5982
5440
|
children: ReactNode;
|
|
5983
5441
|
};
|
|
5984
5442
|
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$108) => import("react").JSX.Element;
|
|
5985
|
-
//#endregion
|
|
5986
|
-
//#region src/components/PanelWithDetails.d.ts
|
|
5987
5443
|
type Props$107 = PropsWithChildren<{
|
|
5988
5444
|
defaultExpanded?: boolean;
|
|
5989
5445
|
labelCollapse?: ReactNode;
|
|
@@ -5992,8 +5448,6 @@ type Props$107 = PropsWithChildren<{
|
|
|
5992
5448
|
className?: string;
|
|
5993
5449
|
}>;
|
|
5994
5450
|
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$107) => import("react").JSX.Element;
|
|
5995
|
-
//#endregion
|
|
5996
|
-
//#region src/blocks/AppShell/types.d.ts
|
|
5997
5451
|
/**
|
|
5998
5452
|
* How far the header row stretches across the sidebar geometry.
|
|
5999
5453
|
*
|
|
@@ -6007,8 +5461,6 @@ type AppShellHeaderSpan = 'content' | 'full';
|
|
|
6007
5461
|
* - Pair it with `appShellSlotSelector` to target a slot from outside the shell.
|
|
6008
5462
|
*/
|
|
6009
5463
|
type AppShellSlot = 'header' | 'sidebar' | 'main' | 'aside';
|
|
6010
|
-
//#endregion
|
|
6011
|
-
//#region src/blocks/AppShell/AppShell.d.ts
|
|
6012
5464
|
/**
|
|
6013
5465
|
* Targets a shell slot from outside the shell.
|
|
6014
5466
|
*
|
|
@@ -6079,8 +5531,6 @@ declare const AppShell: typeof Root$17 & {
|
|
|
6079
5531
|
/** Optional right rail. Present in both shells. */
|
|
6080
5532
|
Aside: typeof Aside;
|
|
6081
5533
|
};
|
|
6082
|
-
//#endregion
|
|
6083
|
-
//#region src/blocks/AuthLayout/AuthLayout.d.ts
|
|
6084
5534
|
/**
|
|
6085
5535
|
* Content-column width.
|
|
6086
5536
|
*
|
|
@@ -6128,8 +5578,6 @@ declare const AuthLayout: typeof Root$16 & {
|
|
|
6128
5578
|
Content: typeof Content$7;
|
|
6129
5579
|
Footer: typeof Footer$1;
|
|
6130
5580
|
};
|
|
6131
|
-
//#endregion
|
|
6132
|
-
//#region src/blocks/PageLayout/PageLayout.d.ts
|
|
6133
5581
|
/** `maxWidth`: `narrow` for forms, `default` for most pages, `wide` for dense detail views, `full` edge-to-edge. */
|
|
6134
5582
|
type RootProps$7 = ComponentProps<'div'> & {
|
|
6135
5583
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
@@ -6171,8 +5619,6 @@ declare const PageLayout: typeof Root$15 & {
|
|
|
6171
5619
|
/** Form submit bar; `sticky` pins it to the viewport. */
|
|
6172
5620
|
Footer: typeof Footer;
|
|
6173
5621
|
};
|
|
6174
|
-
//#endregion
|
|
6175
|
-
//#region src/blocks/PageHeader/PageHeaderDetail.d.ts
|
|
6176
5622
|
type PageHeaderDetailProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
6177
5623
|
/** Chain to the entity's parent. Don't end with the entity's own name — that's the `title`. */
|
|
6178
5624
|
breadcrumbs: ReactNode;
|
|
@@ -6204,8 +5650,6 @@ type PageHeaderDetailProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
|
6204
5650
|
* @see RECIPES.md#list-detail
|
|
6205
5651
|
*/
|
|
6206
5652
|
declare const PageHeaderDetail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }: PageHeaderDetailProps) => import("react").JSX.Element;
|
|
6207
|
-
//#endregion
|
|
6208
|
-
//#region src/blocks/PageHeader/PageHeaderIndex.d.ts
|
|
6209
5653
|
type PageHeaderIndexProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
6210
5654
|
title: ReactNode;
|
|
6211
5655
|
/** Prose below the title; `metadata` wins when both are set. */
|
|
@@ -6228,8 +5672,6 @@ type PageHeaderIndexProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
|
6228
5672
|
* - Search and filters belong in `PageToolbar`, not here.
|
|
6229
5673
|
*/
|
|
6230
5674
|
declare const PageHeaderIndex: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }: PageHeaderIndexProps) => import("react").JSX.Element;
|
|
6231
|
-
//#endregion
|
|
6232
|
-
//#region src/blocks/PageHeader/PageHeader.d.ts
|
|
6233
5675
|
/**
|
|
6234
5676
|
* Page header whose variant types enforce the page-header patterns.
|
|
6235
5677
|
*
|
|
@@ -6244,8 +5686,6 @@ declare const PageHeader: {
|
|
|
6244
5686
|
/** Single-entity pages: required breadcrumbs, overflow menu, max 2 visible actions. */
|
|
6245
5687
|
Detail: typeof PageHeaderDetail;
|
|
6246
5688
|
};
|
|
6247
|
-
//#endregion
|
|
6248
|
-
//#region src/blocks/PageToolbar/PageToolbarToken.d.ts
|
|
6249
5689
|
type PageToolbarTokenProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'variant' | 'color' | 'suffix' | 'children' | 'asChild' | 'popover'> & {
|
|
6250
5690
|
children: ReactNode;
|
|
6251
5691
|
/** Popover content rendered when the chevron-down trigger is clicked — typically a value editor. */
|
|
@@ -6259,8 +5699,6 @@ type PageToolbarTokenProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'varia
|
|
|
6259
5699
|
* is supplied by the caller via the `popover` slot (typically a `Combobox` or option list).
|
|
6260
5700
|
*/
|
|
6261
5701
|
declare const PageToolbarToken: ({ children, popover, onRemove, removeAriaLabel, ...props }: PageToolbarTokenProps) => import("react").JSX.Element;
|
|
6262
|
-
//#endregion
|
|
6263
|
-
//#region src/blocks/PageToolbar/PageToolbar.d.ts
|
|
6264
5702
|
type DivProps = ComponentProps<'div'>;
|
|
6265
5703
|
declare const Root$14: ({ ref, className, children, ...props }: DivProps) => import("react").JSX.Element;
|
|
6266
5704
|
declare const Search$1: ({ ref, className, children, ...props }: DivProps) => import("react").JSX.Element;
|
|
@@ -6301,8 +5739,6 @@ declare const PageToolbar: typeof Root$14 & {
|
|
|
6301
5739
|
AddFilter: typeof AddFilter;
|
|
6302
5740
|
Clear: typeof Clear;
|
|
6303
5741
|
};
|
|
6304
|
-
//#endregion
|
|
6305
|
-
//#region src/blocks/SectionNav/types.d.ts
|
|
6306
5742
|
type SectionNavItem = {
|
|
6307
5743
|
/** Identity and navigation target (`targetId`, matched by `activeId`); unique across `groups`. */
|
|
6308
5744
|
id: string;
|
|
@@ -6334,8 +5770,6 @@ type SectionNavItemRenderProps = {
|
|
|
6334
5770
|
onClick: (event: MouseEvent<HTMLElement>) => void;
|
|
6335
5771
|
};
|
|
6336
5772
|
};
|
|
6337
|
-
//#endregion
|
|
6338
|
-
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
6339
5773
|
type Props$106 = {
|
|
6340
5774
|
/** Already filtered: visibility, permissions and flags stay in the app; rendered as given. */
|
|
6341
5775
|
groups: SectionNavGroup[];
|
|
@@ -6359,8 +5793,6 @@ type Props$106 = {
|
|
|
6359
5793
|
* @see RECIPES.md#section-nav
|
|
6360
5794
|
*/
|
|
6361
5795
|
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$106) => import("react").JSX.Element;
|
|
6362
|
-
//#endregion
|
|
6363
|
-
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
6364
5796
|
type Props$105 = {
|
|
6365
5797
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
6366
5798
|
variant?: 'mark' | 'wordmark';
|
|
@@ -6377,14 +5809,8 @@ type Props$105 = {
|
|
|
6377
5809
|
* Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
6378
5810
|
*/
|
|
6379
5811
|
declare const BrandLogo: ({ variant, className, label }: Props$105) => import("react").JSX.Element | null;
|
|
6380
|
-
//#endregion
|
|
6381
|
-
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
6382
5812
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react").JSX.Element;
|
|
6383
|
-
//#endregion
|
|
6384
|
-
//#region src/components/Resizable/ResizablePanelGroup.d.ts
|
|
6385
5813
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react").JSX.Element;
|
|
6386
|
-
//#endregion
|
|
6387
|
-
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
6388
5814
|
type Props$104 = {
|
|
6389
5815
|
className?: string;
|
|
6390
5816
|
children?: ReactNode;
|
|
@@ -6392,51 +5818,31 @@ type Props$104 = {
|
|
|
6392
5818
|
ref?: ComponentProps<'div'>['ref'];
|
|
6393
5819
|
};
|
|
6394
5820
|
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$104) => import("react").JSX.Element;
|
|
6395
|
-
//#endregion
|
|
6396
|
-
//#region src/components/Sidebar/types.d.ts
|
|
6397
5821
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
6398
5822
|
type SidebarSide = 'left' | 'right';
|
|
6399
5823
|
type SidebarState$1 = 'expanded' | 'collapsed';
|
|
6400
5824
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
6401
5825
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
6402
|
-
//#endregion
|
|
6403
|
-
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
6404
5826
|
type Props$103 = ComponentProps<typeof Slot$1> & {
|
|
6405
5827
|
side?: SidebarSide;
|
|
6406
5828
|
};
|
|
6407
5829
|
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$103) => import("react").JSX.Element;
|
|
6408
|
-
//#endregion
|
|
6409
|
-
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
6410
5830
|
type Props$102 = ComponentProps<'div'>;
|
|
6411
5831
|
declare const SidebarFooter: ({ className, ...props }: Props$102) => import("react").JSX.Element;
|
|
6412
|
-
//#endregion
|
|
6413
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
6414
5832
|
type Props$101 = ComponentProps<'div'>;
|
|
6415
5833
|
declare const SidebarGroup: ({ className, ...props }: Props$101) => import("react").JSX.Element;
|
|
6416
|
-
//#endregion
|
|
6417
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
6418
5834
|
type Props$100 = ComponentProps<'div'>;
|
|
6419
5835
|
declare const SidebarGroupContent: ({ className, ...props }: Props$100) => import("react").JSX.Element;
|
|
6420
|
-
//#endregion
|
|
6421
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
6422
5836
|
type Props$99 = ComponentProps<'button'>;
|
|
6423
5837
|
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$99) => import("react").JSX.Element;
|
|
6424
|
-
//#endregion
|
|
6425
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
6426
5838
|
type Props$98 = ComponentProps<'div'>;
|
|
6427
5839
|
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$98 & {
|
|
6428
5840
|
ref?: Ref<HTMLDivElement>;
|
|
6429
5841
|
}) => import("react").JSX.Element;
|
|
6430
|
-
//#endregion
|
|
6431
|
-
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
6432
5842
|
type Props$97 = ComponentProps<'div'>;
|
|
6433
5843
|
declare const SidebarHeader: ({ className, children, ...props }: Props$97) => import("react").JSX.Element;
|
|
6434
|
-
//#endregion
|
|
6435
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
6436
5844
|
type Props$96 = ComponentProps<'ul'>;
|
|
6437
5845
|
declare const SidebarMenu: ({ className, ...props }: Props$96) => import("react").JSX.Element;
|
|
6438
|
-
//#endregion
|
|
6439
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
6440
5846
|
type Props$95 = ComponentProps<'button'> & {
|
|
6441
5847
|
asChild?: boolean;
|
|
6442
5848
|
tooltip?: ReactNode;
|
|
@@ -6447,38 +5853,24 @@ type Props$95 = ComponentProps<'button'> & {
|
|
|
6447
5853
|
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, onClick, ...props }: Props$95 & {
|
|
6448
5854
|
ref?: Ref<HTMLButtonElement>;
|
|
6449
5855
|
}) => import("react").JSX.Element;
|
|
6450
|
-
//#endregion
|
|
6451
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
6452
5856
|
type Props$94 = ComponentProps<'li'>;
|
|
6453
5857
|
declare const SidebarMenuItem: ({ className, ...props }: Props$94) => import("react").JSX.Element;
|
|
6454
|
-
//#endregion
|
|
6455
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
6456
5858
|
type Props$93 = ComponentProps<'span'>;
|
|
6457
5859
|
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$93) => import("react").JSX.Element;
|
|
6458
|
-
//#endregion
|
|
6459
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
6460
5860
|
type Props$92 = ComponentProps<'button'> & {
|
|
6461
5861
|
asChild?: boolean;
|
|
6462
5862
|
showOnHover?: boolean;
|
|
6463
5863
|
};
|
|
6464
5864
|
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$92) => import("react").JSX.Element;
|
|
6465
|
-
//#endregion
|
|
6466
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
6467
5865
|
type Props$91 = Omit<ComponentProps<'input'>, 'prefix'>;
|
|
6468
5866
|
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$91) => import("react").JSX.Element;
|
|
6469
|
-
//#endregion
|
|
6470
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
6471
5867
|
type Props$90 = HTMLAttributes<HTMLDivElement> & {
|
|
6472
5868
|
icon: ReactNode;
|
|
6473
5869
|
title: ReactNode;
|
|
6474
5870
|
};
|
|
6475
5871
|
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$90) => import("react").JSX.Element;
|
|
6476
|
-
//#endregion
|
|
6477
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
6478
5872
|
type Props$89 = ComponentProps<'div'>;
|
|
6479
5873
|
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$89) => import("react").JSX.Element;
|
|
6480
|
-
//#endregion
|
|
6481
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
6482
5874
|
type Props$88 = {
|
|
6483
5875
|
children: ReactNode;
|
|
6484
5876
|
icon: ReactNode;
|
|
@@ -6486,16 +5878,12 @@ type Props$88 = {
|
|
|
6486
5878
|
label: string;
|
|
6487
5879
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
6488
5880
|
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$88) => import("react").JSX.Element;
|
|
6489
|
-
//#endregion
|
|
6490
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
6491
5881
|
type Props$87 = ComponentProps<'button'> & {
|
|
6492
5882
|
asChild?: boolean;
|
|
6493
5883
|
/** Set by `Sidebar.Trigger` on the child it wraps — not part of a call site's API. */
|
|
6494
5884
|
'data-sidebar-trigger'?: string;
|
|
6495
5885
|
};
|
|
6496
5886
|
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, onClick, 'aria-current': ariaCurrent, ...props }: Props$87) => import("react").JSX.Element;
|
|
6497
|
-
//#endregion
|
|
6498
|
-
//#region src/components/Separator/Separator.d.ts
|
|
6499
5887
|
declare const separatorVariants: (props?: ({
|
|
6500
5888
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
6501
5889
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -6505,19 +5893,13 @@ type Props$86 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
6505
5893
|
label?: ReactNode;
|
|
6506
5894
|
};
|
|
6507
5895
|
declare const Separator: ({ className, orientation, size, label, ...props }: Props$86) => import("react").JSX.Element;
|
|
6508
|
-
//#endregion
|
|
6509
|
-
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
6510
5896
|
type Props$85 = Omit<ComponentProps<typeof Separator>, 'orientation' | 'size'>;
|
|
6511
5897
|
declare const SidebarSeparator: ({ className, ...props }: Props$85) => import("react").JSX.Element;
|
|
6512
|
-
//#endregion
|
|
6513
|
-
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
6514
5898
|
type Props$84 = ComponentProps<typeof Slot$1> & {
|
|
6515
5899
|
side?: SidebarSide;
|
|
6516
5900
|
hideWhenCollapsed?: boolean;
|
|
6517
5901
|
};
|
|
6518
5902
|
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$84) => import("react").JSX.Element;
|
|
6519
|
-
//#endregion
|
|
6520
|
-
//#region src/components/Sidebar/Sidebar.d.ts
|
|
6521
5903
|
/**
|
|
6522
5904
|
* `className` and `style` land on the rail's inner box; other props on the outer element, so a
|
|
6523
5905
|
* `ThemeScope` reaches it.
|
|
@@ -6559,8 +5941,6 @@ declare namespace Sidebar {
|
|
|
6559
5941
|
export { SidebarMenuSub as SubMenu };
|
|
6560
5942
|
export { SidebarMenuSubItem as SubItem };
|
|
6561
5943
|
}
|
|
6562
|
-
//#endregion
|
|
6563
|
-
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
6564
5944
|
type Props$82 = {
|
|
6565
5945
|
children?: ReactNode;
|
|
6566
5946
|
defaultLeftMode?: SidebarMode;
|
|
@@ -6587,8 +5967,6 @@ type Props$82 = {
|
|
|
6587
5967
|
defaultFilledSide?: SidebarSide | null;
|
|
6588
5968
|
};
|
|
6589
5969
|
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftMobileSheet, rightMobileSheet, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$82) => import("react").JSX.Element;
|
|
6590
|
-
//#endregion
|
|
6591
|
-
//#region src/components/Sidebar/utils.d.ts
|
|
6592
5970
|
type Input = {
|
|
6593
5971
|
variant: SidebarVariant;
|
|
6594
5972
|
width?: number;
|
|
@@ -6604,8 +5982,6 @@ type EffectiveWidths = {
|
|
|
6604
5982
|
fill: number;
|
|
6605
5983
|
};
|
|
6606
5984
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, isMobile }: Input) => EffectiveWidths;
|
|
6607
|
-
//#endregion
|
|
6608
|
-
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
6609
5985
|
type Props$81 = {
|
|
6610
5986
|
defaultMode?: SidebarMode;
|
|
6611
5987
|
mode?: SidebarMode;
|
|
@@ -6620,8 +5996,6 @@ declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: P
|
|
|
6620
5996
|
sidebarElement: HTMLElement | null;
|
|
6621
5997
|
setSidebarElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
6622
5998
|
};
|
|
6623
|
-
//#endregion
|
|
6624
|
-
//#region src/components/Sidebar/SidebarProvider/context.d.ts
|
|
6625
5999
|
type SidebarWidths = ReturnType<typeof calcEffectiveWidths>;
|
|
6626
6000
|
type SidebarState = ReturnType<typeof useSidebarState>;
|
|
6627
6001
|
type SidebarSideValue = SidebarState & {
|
|
@@ -6650,37 +6024,25 @@ type SidebarSideValue = SidebarState & {
|
|
|
6650
6024
|
/** `useSidebar` that returns `null` outside a `SidebarProvider` instead of throwing. */
|
|
6651
6025
|
declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | null;
|
|
6652
6026
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
6653
|
-
//#endregion
|
|
6654
|
-
//#region src/components/Navbar/NavbarContent.d.ts
|
|
6655
6027
|
type Props$80 = {
|
|
6656
6028
|
className?: string;
|
|
6657
6029
|
children?: ReactNode;
|
|
6658
6030
|
};
|
|
6659
6031
|
declare const NavbarContent: ({ children, className }: Props$80) => import("react").JSX.Element;
|
|
6660
|
-
//#endregion
|
|
6661
|
-
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
6662
6032
|
type Props$79 = ComponentProps<'div'>;
|
|
6663
6033
|
declare const NavbarFooter: ({ children, className, ...rest }: Props$79) => import("react").JSX.Element;
|
|
6664
|
-
//#endregion
|
|
6665
|
-
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
6666
6034
|
type Props$78 = ComponentProps<'div'>;
|
|
6667
6035
|
declare const NavbarHeader: ({ children, className, ...rest }: Props$78) => import("react").JSX.Element;
|
|
6668
|
-
//#endregion
|
|
6669
|
-
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
6670
6036
|
declare const variants$2: (props?: ({
|
|
6671
6037
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
6672
6038
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6673
6039
|
type Props$77 = ComponentProps<'ul'> & VariantProps<typeof variants$2>;
|
|
6674
6040
|
declare const NavbarMenu: ({ className, marker, ...rest }: Props$77) => import("react").JSX.Element;
|
|
6675
|
-
//#endregion
|
|
6676
|
-
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
6677
6041
|
type Props$76 = ComponentProps<'button'> & {
|
|
6678
6042
|
src?: string;
|
|
6679
6043
|
alt?: string;
|
|
6680
6044
|
};
|
|
6681
6045
|
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$76) => import("react").JSX.Element;
|
|
6682
|
-
//#endregion
|
|
6683
|
-
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
6684
6046
|
declare const variants$1: (props?: ({
|
|
6685
6047
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
6686
6048
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6690,12 +6052,8 @@ type Props$75 = ComponentProps<'button'> & {
|
|
|
6690
6052
|
asChild?: boolean;
|
|
6691
6053
|
} & VariantProps<typeof variants$1>;
|
|
6692
6054
|
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$75) => import("react").JSX.Element;
|
|
6693
|
-
//#endregion
|
|
6694
|
-
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
6695
6055
|
type Props$74 = ComponentProps<'li'>;
|
|
6696
6056
|
declare const NavbarMenuItem: ({ className, ...rest }: Props$74) => import("react").JSX.Element;
|
|
6697
|
-
//#endregion
|
|
6698
|
-
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
6699
6057
|
declare const variants: (props?: ({
|
|
6700
6058
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
6701
6059
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6703,8 +6061,6 @@ type Props$73 = {
|
|
|
6703
6061
|
asChild?: boolean;
|
|
6704
6062
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
6705
6063
|
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$73) => import("react").JSX.Element;
|
|
6706
|
-
//#endregion
|
|
6707
|
-
//#region src/components/Navbar/Navbar.d.ts
|
|
6708
6064
|
declare const navbarClassnames: (props?: ({
|
|
6709
6065
|
bordered?: boolean | null | undefined;
|
|
6710
6066
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6722,13 +6078,9 @@ declare namespace Navbar {
|
|
|
6722
6078
|
export { NavbarMenuItemAdornment as MenuItemAdornment };
|
|
6723
6079
|
export { NavbarMenuAvatar as MenuAvatar };
|
|
6724
6080
|
}
|
|
6725
|
-
//#endregion
|
|
6726
|
-
//#region src/components/Workbench/constants.d.ts
|
|
6727
6081
|
declare const DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM = 2.75;
|
|
6728
6082
|
declare const DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX = 320;
|
|
6729
6083
|
declare const MIN_WORKBENCH_PANEL_HEIGHT_IN_PX = 120;
|
|
6730
|
-
//#endregion
|
|
6731
|
-
//#region src/components/Workbench/context.d.ts
|
|
6732
6084
|
/**
|
|
6733
6085
|
* Full screen is a mode of the open panel, not a flag beside it — as two booleans the fourth
|
|
6734
6086
|
* combination (collapsed *and* full screen) is expressible but meaningless.
|
|
@@ -6755,20 +6107,12 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
6755
6107
|
* three levels down — so the state travels by context rather than props.
|
|
6756
6108
|
*/
|
|
6757
6109
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6758
|
-
//#endregion
|
|
6759
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
6760
6110
|
type Props$71 = ComponentProps<'div'>;
|
|
6761
6111
|
declare const WorkbenchBarEnd: ({ className, ...props }: Props$71) => import("react").JSX.Element;
|
|
6762
|
-
//#endregion
|
|
6763
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
6764
6112
|
type Props$70 = ComponentProps<'div'>;
|
|
6765
6113
|
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$70) => import("react").JSX.Element;
|
|
6766
|
-
//#endregion
|
|
6767
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
6768
6114
|
type Props$69 = ComponentProps<'div'>;
|
|
6769
6115
|
declare const WorkbenchBarStart: ({ className, ...props }: Props$69) => import("react").JSX.Element;
|
|
6770
|
-
//#endregion
|
|
6771
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
6772
6116
|
type Props$68 = ComponentProps<'div'>;
|
|
6773
6117
|
declare function WorkbenchBar({ className, children, ...props }: Props$68): import("react").JSX.Element;
|
|
6774
6118
|
declare namespace WorkbenchBar {
|
|
@@ -6776,36 +6120,22 @@ declare namespace WorkbenchBar {
|
|
|
6776
6120
|
export { WorkbenchBarMiddle as Middle };
|
|
6777
6121
|
export { WorkbenchBarEnd as End };
|
|
6778
6122
|
}
|
|
6779
|
-
//#endregion
|
|
6780
|
-
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
6781
6123
|
type Props$67 = ComponentProps<'button'> & {
|
|
6782
6124
|
asChild?: boolean;
|
|
6783
6125
|
};
|
|
6784
6126
|
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$67) => import("react").JSX.Element;
|
|
6785
|
-
//#endregion
|
|
6786
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
6787
6127
|
type Props$66 = ComponentProps<'div'>;
|
|
6788
6128
|
declare const WorkbenchPanel: ({ className, children, ...props }: Props$66) => import("react").JSX.Element;
|
|
6789
|
-
//#endregion
|
|
6790
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
6791
6129
|
type Props$65 = ComponentProps<'div'> & {
|
|
6792
6130
|
asChild?: boolean;
|
|
6793
6131
|
};
|
|
6794
6132
|
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$65) => import("react").JSX.Element;
|
|
6795
|
-
//#endregion
|
|
6796
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
6797
6133
|
type Props$64 = ComponentProps<'div'>;
|
|
6798
6134
|
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$64) => import("react").JSX.Element;
|
|
6799
|
-
//#endregion
|
|
6800
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
6801
6135
|
type Props$63 = ComponentProps<'div'>;
|
|
6802
6136
|
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$63) => import("react").JSX.Element;
|
|
6803
|
-
//#endregion
|
|
6804
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
6805
6137
|
type Props$62 = ComponentProps<'div'>;
|
|
6806
6138
|
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$62) => import("react").JSX.Element;
|
|
6807
|
-
//#endregion
|
|
6808
|
-
//#region src/components/Workbench/Workbench.d.ts
|
|
6809
6139
|
type Props$61 = {
|
|
6810
6140
|
className?: string;
|
|
6811
6141
|
children: ReactNode;
|
|
@@ -6831,8 +6161,6 @@ declare namespace Workbench {
|
|
|
6831
6161
|
export var Trigger: typeof CollapsibleTrigger$1;
|
|
6832
6162
|
export { WorkbenchFullScreenTrigger as FullScreenTrigger };
|
|
6833
6163
|
}
|
|
6834
|
-
//#endregion
|
|
6835
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdownGroup.d.ts
|
|
6836
6164
|
type BreadcrumbDropdownGroupProps = {
|
|
6837
6165
|
/** Group header (e.g. bucket name + stage badge). */
|
|
6838
6166
|
label: ReactNode;
|
|
@@ -6856,8 +6184,6 @@ type BreadcrumbDropdownGroupProps = {
|
|
|
6856
6184
|
* non-interactive, greyed header that can't toggle.
|
|
6857
6185
|
*/
|
|
6858
6186
|
declare const BreadcrumbDropdownGroup: ({ label, textValue, collapsible, defaultExpanded, className, children }: BreadcrumbDropdownGroupProps) => import("react").JSX.Element;
|
|
6859
|
-
//#endregion
|
|
6860
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdownItem.d.ts
|
|
6861
6187
|
type BreadcrumbDropdownItemProps = ComponentProps<'button'> & {
|
|
6862
6188
|
/** Render the consumer's element (typically a router link) instead of a `button`. */
|
|
6863
6189
|
asChild?: boolean;
|
|
@@ -6876,8 +6202,6 @@ type BreadcrumbDropdownItemProps = ComponentProps<'button'> & {
|
|
|
6876
6202
|
* panel's filter query and closes the panel on select. Use `asChild` to render a router link.
|
|
6877
6203
|
*/
|
|
6878
6204
|
declare const BreadcrumbDropdownItem: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }: BreadcrumbDropdownItemProps) => import("react").JSX.Element | null;
|
|
6879
|
-
//#endregion
|
|
6880
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdown.d.ts
|
|
6881
6205
|
declare const PANEL_WIDTH: {
|
|
6882
6206
|
readonly small: 'tw:w-[min(360px,var(--radix-popover-content-available-width))]';
|
|
6883
6207
|
readonly medium: 'tw:w-[min(440px,var(--radix-popover-content-available-width))]';
|
|
@@ -6919,34 +6243,20 @@ declare namespace BreadcrumbDropdown {
|
|
|
6919
6243
|
export { BreadcrumbDropdownItem as Item };
|
|
6920
6244
|
export { BreadcrumbDropdownGroup as Group };
|
|
6921
6245
|
}
|
|
6922
|
-
//#endregion
|
|
6923
|
-
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6924
6246
|
type Props$60 = ComponentProps<'button'>;
|
|
6925
6247
|
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$60) => import("react").JSX.Element;
|
|
6926
|
-
//#endregion
|
|
6927
|
-
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6928
6248
|
type Props$59 = ComponentProps<'li'>;
|
|
6929
6249
|
declare const BreadcrumbItem: ({ className, ...props }: Props$59) => import("react").JSX.Element;
|
|
6930
|
-
//#endregion
|
|
6931
|
-
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6932
6250
|
type Props$58 = ComponentProps<'a'> & {
|
|
6933
6251
|
asChild?: boolean;
|
|
6934
6252
|
};
|
|
6935
6253
|
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$58) => import("react").JSX.Element;
|
|
6936
|
-
//#endregion
|
|
6937
|
-
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6938
6254
|
type Props$57 = ComponentProps<'ol'>;
|
|
6939
6255
|
declare const BreadcrumbList: ({ className, ...props }: Props$57) => import("react").JSX.Element;
|
|
6940
|
-
//#endregion
|
|
6941
|
-
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6942
6256
|
type Props$56 = ComponentProps<'span'>;
|
|
6943
6257
|
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$56) => import("react").JSX.Element;
|
|
6944
|
-
//#endregion
|
|
6945
|
-
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6946
6258
|
type Props$55 = ComponentProps<'li'>;
|
|
6947
6259
|
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$55) => import("react").JSX.Element;
|
|
6948
|
-
//#endregion
|
|
6949
|
-
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6950
6260
|
type Props$54 = ComponentProps<'nav'>;
|
|
6951
6261
|
declare function Breadcrumb({ className, ...props }: Props$54): import("react").JSX.Element;
|
|
6952
6262
|
declare namespace Breadcrumb {
|
|
@@ -6958,8 +6268,6 @@ declare namespace Breadcrumb {
|
|
|
6958
6268
|
export { BreadcrumbEllipsis as Ellipsis };
|
|
6959
6269
|
export { BreadcrumbDropdown as Dropdown };
|
|
6960
6270
|
}
|
|
6961
|
-
//#endregion
|
|
6962
|
-
//#region src/components/Tabs/Tabs.d.ts
|
|
6963
6271
|
type Trigger<T extends string> = {
|
|
6964
6272
|
value: T;
|
|
6965
6273
|
title: ReactNode;
|
|
@@ -6977,11 +6285,7 @@ type Props$53<T extends string> = {
|
|
|
6977
6285
|
triggerGroupClassName?: string;
|
|
6978
6286
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6979
6287
|
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$53<T>) => import("react").JSX.Element;
|
|
6980
|
-
//#endregion
|
|
6981
|
-
//#region src/components/Tabs/TabsContent.d.ts
|
|
6982
6288
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react").JSX.Element;
|
|
6983
|
-
//#endregion
|
|
6984
|
-
//#region src/components/Stepper/StepperContext.d.ts
|
|
6985
6289
|
type StepperOrientation = 'horizontal' | 'vertical';
|
|
6986
6290
|
declare const STEP_STATUS: {
|
|
6987
6291
|
readonly complete: 'complete';
|
|
@@ -6990,8 +6294,6 @@ declare const STEP_STATUS: {
|
|
|
6990
6294
|
readonly error: 'error';
|
|
6991
6295
|
};
|
|
6992
6296
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
6993
|
-
//#endregion
|
|
6994
|
-
//#region src/components/Stepper/StepperStep.d.ts
|
|
6995
6297
|
type Props$52 = {
|
|
6996
6298
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
6997
6299
|
status?: StepStatus;
|
|
@@ -7005,21 +6307,15 @@ type Props$52 = {
|
|
|
7005
6307
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
7006
6308
|
*/
|
|
7007
6309
|
declare const StepperStep: ({ status, children, className, ...props }: Props$52) => import("react").JSX.Element;
|
|
7008
|
-
//#endregion
|
|
7009
|
-
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
7010
6310
|
type Props$51 = ComponentProps<'span'>;
|
|
7011
6311
|
/**
|
|
7012
6312
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
7013
6313
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
7014
6314
|
*/
|
|
7015
6315
|
declare const StepperStepConnector: ({ className, ...props }: Props$51) => import("react").JSX.Element;
|
|
7016
|
-
//#endregion
|
|
7017
|
-
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
7018
6316
|
type Props$50 = ComponentProps<'span'>;
|
|
7019
6317
|
/** Optional secondary text below the step label. */
|
|
7020
6318
|
declare const StepperStepDescription: ({ className, ...props }: Props$50) => import("react").JSX.Element;
|
|
7021
|
-
//#endregion
|
|
7022
|
-
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
7023
6319
|
type Props$49 = {
|
|
7024
6320
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
7025
6321
|
children?: ReactNode;
|
|
@@ -7029,18 +6325,12 @@ type Props$49 = {
|
|
|
7029
6325
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
7030
6326
|
*/
|
|
7031
6327
|
declare const StepperStepIndicator: ({ children, className, ...props }: Props$49) => import("react").JSX.Element;
|
|
7032
|
-
//#endregion
|
|
7033
|
-
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
7034
6328
|
type Props$48 = ComponentProps<'span'>;
|
|
7035
6329
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
7036
6330
|
declare const StepperStepLabel: ({ className, ...props }: Props$48) => import("react").JSX.Element;
|
|
7037
|
-
//#endregion
|
|
7038
|
-
//#region src/components/Stepper/styles.d.ts
|
|
7039
6331
|
declare const stepperVariants: (props?: ({
|
|
7040
6332
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
7041
6333
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7042
|
-
//#endregion
|
|
7043
|
-
//#region src/components/Stepper/Stepper.d.ts
|
|
7044
6334
|
type Props$47 = {
|
|
7045
6335
|
orientation?: StepperOrientation;
|
|
7046
6336
|
/** Given, steps render as `<button>`s; omitted, as visual-only `<div>`s. */
|
|
@@ -7055,20 +6345,14 @@ declare namespace Stepper {
|
|
|
7055
6345
|
export { StepperStepDescription as StepDescription };
|
|
7056
6346
|
export { StepperStepConnector as StepConnector };
|
|
7057
6347
|
}
|
|
7058
|
-
//#endregion
|
|
7059
|
-
//#region src/components/Card/CardContent.d.ts
|
|
7060
6348
|
type Props$46 = HTMLAttributes<HTMLDivElement> & {
|
|
7061
6349
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
7062
6350
|
* root adds none — otherwise the padding is doubled. */
|
|
7063
6351
|
padded?: boolean;
|
|
7064
6352
|
};
|
|
7065
6353
|
declare const CardContent: ({ children, className, padded, ...rest }: Props$46) => import("react").JSX.Element;
|
|
7066
|
-
//#endregion
|
|
7067
|
-
//#region src/components/Card/CardDescription.d.ts
|
|
7068
6354
|
/** Muted secondary line under `Card.Title`; pair with `Card.Header layout="stack"`. */
|
|
7069
6355
|
declare const CardDescription: ({ children, className, ...rest }: HTMLAttributes<HTMLParagraphElement>) => import("react").JSX.Element;
|
|
7070
|
-
//#endregion
|
|
7071
|
-
//#region src/components/Card/CardHeader.d.ts
|
|
7072
6356
|
type Props$45 = HTMLAttributes<HTMLDivElement> & {
|
|
7073
6357
|
/** Bottom rule plus own padding and a 64px min height. Full-bleed only with `Card padding="none"`. */
|
|
7074
6358
|
divider?: boolean;
|
|
@@ -7077,8 +6361,6 @@ type Props$45 = HTMLAttributes<HTMLDivElement> & {
|
|
|
7077
6361
|
layout?: 'row' | 'inline' | 'stack';
|
|
7078
6362
|
};
|
|
7079
6363
|
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$45) => import("react").JSX.Element;
|
|
7080
|
-
//#endregion
|
|
7081
|
-
//#region src/components/Card/CardTitle.d.ts
|
|
7082
6364
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
7083
6365
|
type Props$44 = HTMLAttributes<HTMLHeadingElement> & {
|
|
7084
6366
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
@@ -7086,14 +6368,10 @@ type Props$44 = HTMLAttributes<HTMLHeadingElement> & {
|
|
|
7086
6368
|
as?: HeadingLevel;
|
|
7087
6369
|
};
|
|
7088
6370
|
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$44) => import("react").JSX.Element;
|
|
7089
|
-
//#endregion
|
|
7090
|
-
//#region src/components/Card/styles.d.ts
|
|
7091
6371
|
declare const cardClassnames: (props?: ({
|
|
7092
6372
|
bordered?: boolean | null | undefined;
|
|
7093
6373
|
padding?: "large" | "medium" | "none" | "small" | null | undefined;
|
|
7094
6374
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7095
|
-
//#endregion
|
|
7096
|
-
//#region src/components/Card/Card.d.ts
|
|
7097
6375
|
type Props$43 = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames> & {
|
|
7098
6376
|
/** Render as a Radix `Slot`: the child (`<a href>`, a router `<Link>`) becomes the card.
|
|
7099
6377
|
* The card is then one link — nest no buttons or links inside it. */
|
|
@@ -7109,30 +6387,16 @@ declare namespace Card {
|
|
|
7109
6387
|
export { CardTitle as Title };
|
|
7110
6388
|
export { CardDescription as Description };
|
|
7111
6389
|
}
|
|
7112
|
-
//#endregion
|
|
7113
|
-
//#region src/components/Table/TableBody.d.ts
|
|
7114
6390
|
declare const TableBody: ({ withBorderSeparator, className, ...props }: {
|
|
7115
6391
|
withBorderSeparator?: boolean;
|
|
7116
6392
|
} & ComponentProps<'tbody'>) => import("react").JSX.Element;
|
|
7117
|
-
//#endregion
|
|
7118
|
-
//#region src/components/Table/TableCell.d.ts
|
|
7119
6393
|
declare const TableCell: ({ className, ...props }: ComponentProps<'td'>) => import("react").JSX.Element;
|
|
7120
|
-
//#endregion
|
|
7121
|
-
//#region src/components/Table/TableFooter.d.ts
|
|
7122
6394
|
declare const TableFooter: ({ className, ...props }: ComponentProps<'tfoot'>) => import("react").JSX.Element;
|
|
7123
|
-
//#endregion
|
|
7124
|
-
//#region src/components/Table/TableHead.d.ts
|
|
7125
6395
|
declare const TableHead: ({ className, ...props }: ComponentProps<'th'>) => import("react").JSX.Element;
|
|
7126
|
-
//#endregion
|
|
7127
|
-
//#region src/components/Table/TableHeader.d.ts
|
|
7128
6396
|
declare const TableHeader: ({ withShadow, className, ...props }: {
|
|
7129
6397
|
withShadow?: boolean;
|
|
7130
6398
|
} & ComponentProps<'thead'>) => import("react").JSX.Element;
|
|
7131
|
-
//#endregion
|
|
7132
|
-
//#region src/components/Table/TableRow.d.ts
|
|
7133
6399
|
declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) => import("react").JSX.Element;
|
|
7134
|
-
//#endregion
|
|
7135
|
-
//#region src/components/Table/TableSkeletonRows.d.ts
|
|
7136
6400
|
/** A width class, or one per row so the placeholders don't line up into a block. */
|
|
7137
6401
|
type Width = string | string[];
|
|
7138
6402
|
/**
|
|
@@ -7171,8 +6435,6 @@ declare const TableSkeletonRows: ({ columns, noun, rows }: {
|
|
|
7171
6435
|
noun: string;
|
|
7172
6436
|
rows?: number;
|
|
7173
6437
|
}) => import("react").JSX.Element[];
|
|
7174
|
-
//#endregion
|
|
7175
|
-
//#region src/components/Table/TableSortHeader.d.ts
|
|
7176
6438
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
7177
6439
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
7178
6440
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
@@ -7189,8 +6451,6 @@ type Props$42 = {
|
|
|
7189
6451
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
7190
6452
|
*/
|
|
7191
6453
|
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$42) => import("react").JSX.Element;
|
|
7192
|
-
//#endregion
|
|
7193
|
-
//#region src/components/Table/Table.d.ts
|
|
7194
6454
|
/**
|
|
7195
6455
|
* - `borderCollapsed`: collapsed borders vs separate row spacing.
|
|
7196
6456
|
* - `bordered`: rounded bordered container with overflow scrolling.
|
|
@@ -7211,8 +6471,6 @@ declare namespace Table {
|
|
|
7211
6471
|
export { TableSortHeader as SortHeader };
|
|
7212
6472
|
export { TableSkeletonRows as SkeletonRows };
|
|
7213
6473
|
}
|
|
7214
|
-
//#endregion
|
|
7215
|
-
//#region src/components/Timeline/TimelineConnector.d.ts
|
|
7216
6474
|
declare const connectorWrapper: (props?: ({
|
|
7217
6475
|
align?: "baseline" | "center" | "end" | "start" | null | undefined;
|
|
7218
6476
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7224,16 +6482,10 @@ type Props$40 = {
|
|
|
7224
6482
|
offset?: number;
|
|
7225
6483
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
7226
6484
|
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$40) => import("react").JSX.Element;
|
|
7227
|
-
//#endregion
|
|
7228
|
-
//#region src/components/Timeline/TimelineContent.d.ts
|
|
7229
6485
|
type Props$39 = ComponentProps<'div'>;
|
|
7230
6486
|
declare const TimelineContent: ({ className, ...rest }: Props$39) => import("react").JSX.Element;
|
|
7231
|
-
//#endregion
|
|
7232
|
-
//#region src/components/Timeline/TimelineItem.d.ts
|
|
7233
6487
|
type Props$38 = ComponentProps<'li'>;
|
|
7234
6488
|
declare const TimelineItem: ({ className, ...rest }: Props$38) => import("react").JSX.Element;
|
|
7235
|
-
//#endregion
|
|
7236
|
-
//#region src/components/Timeline/Timeline.d.ts
|
|
7237
6489
|
type Props$37 = ComponentProps<'ul'> & {
|
|
7238
6490
|
variant?: 'solid' | 'dashed';
|
|
7239
6491
|
};
|
|
@@ -7243,8 +6495,6 @@ declare namespace Timeline {
|
|
|
7243
6495
|
export { TimelineContent as Content };
|
|
7244
6496
|
export { TimelineConnector as Connector };
|
|
7245
6497
|
}
|
|
7246
|
-
//#endregion
|
|
7247
|
-
//#region src/components/Truncated.d.ts
|
|
7248
6498
|
type Props$36 = {
|
|
7249
6499
|
text: ReactNode;
|
|
7250
6500
|
tooltip?: ReactNode;
|
|
@@ -7254,8 +6504,6 @@ type Props$36 = {
|
|
|
7254
6504
|
tooltipPlacement?: Props$10['placement'];
|
|
7255
6505
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
7256
6506
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$36) => import("react").JSX.Element;
|
|
7257
|
-
//#endregion
|
|
7258
|
-
//#region src/components/MarkedText/MarkedText.d.ts
|
|
7259
6507
|
type Props$35 = {
|
|
7260
6508
|
source: string;
|
|
7261
6509
|
className?: string;
|
|
@@ -7263,67 +6511,43 @@ type Props$35 = {
|
|
|
7263
6511
|
isCaseSensitive?: boolean;
|
|
7264
6512
|
} & ComponentProps<'span'>;
|
|
7265
6513
|
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$35) => import("react").JSX.Element;
|
|
7266
|
-
//#endregion
|
|
7267
|
-
//#region src/components/Kbd/KbdGroup.d.ts
|
|
7268
6514
|
type Props$34 = {
|
|
7269
6515
|
separator?: string;
|
|
7270
6516
|
} & ComponentProps<'kbd'>;
|
|
7271
6517
|
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$34) => import("react").JSX.Element;
|
|
7272
|
-
//#endregion
|
|
7273
|
-
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
7274
6518
|
type Props$33 = ComponentProps<'span'>;
|
|
7275
6519
|
/** The `+` / `then` glue between two `Kbd` keys, in the muted chrome token. */
|
|
7276
6520
|
declare const KbdSeparator: ({ className, ...props }: Props$33) => import("react").JSX.Element;
|
|
7277
|
-
//#endregion
|
|
7278
|
-
//#region src/components/Kbd/styles.d.ts
|
|
7279
6521
|
declare const kbdVariants: (props?: ({
|
|
7280
6522
|
casing?: "as-written" | "upper" | null | undefined;
|
|
7281
6523
|
variant?: "default" | "primary" | null | undefined;
|
|
7282
6524
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7283
|
-
//#endregion
|
|
7284
|
-
//#region src/components/Kbd/Kbd.d.ts
|
|
7285
6525
|
type Props$32 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
7286
6526
|
declare function Kbd({ children, className, variant, casing, ...rest }: Props$32): import("react").JSX.Element;
|
|
7287
6527
|
declare namespace Kbd {
|
|
7288
6528
|
export { KbdGroup as Group };
|
|
7289
6529
|
export { KbdSeparator as Separator };
|
|
7290
6530
|
}
|
|
7291
|
-
//#endregion
|
|
7292
|
-
//#region src/components/Kbd/keyboardKeys.d.ts
|
|
7293
6531
|
type KeyName = 'mod' | 'option' | 'shift' | 'enter';
|
|
7294
6532
|
type KeyRepresentation = {
|
|
7295
6533
|
symbol: string;
|
|
7296
6534
|
text: string;
|
|
7297
6535
|
};
|
|
7298
6536
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
7299
|
-
//#endregion
|
|
7300
|
-
//#region src/components/Pagination/PaginationButton.d.ts
|
|
7301
6537
|
type Props$31 = {
|
|
7302
6538
|
active?: boolean;
|
|
7303
6539
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
7304
6540
|
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$31) => import("react").JSX.Element;
|
|
7305
|
-
//#endregion
|
|
7306
|
-
//#region src/components/Pagination/PaginationContent.d.ts
|
|
7307
6541
|
type Props$30 = ComponentProps<'ul'>;
|
|
7308
6542
|
declare const PaginationContent: ({ className, ...props }: Props$30) => import("react").JSX.Element;
|
|
7309
|
-
//#endregion
|
|
7310
|
-
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
7311
6543
|
type Props$29 = ComponentProps<'span'>;
|
|
7312
6544
|
declare const PaginationEllipsis: ({ className, ...props }: Props$29) => import("react").JSX.Element;
|
|
7313
|
-
//#endregion
|
|
7314
|
-
//#region src/components/Pagination/PaginationItem.d.ts
|
|
7315
6545
|
type Props$28 = ComponentProps<'li'>;
|
|
7316
6546
|
declare const PaginationItem: ({ className, ...props }: Props$28) => import("react").JSX.Element;
|
|
7317
|
-
//#endregion
|
|
7318
|
-
//#region src/components/Pagination/PaginationNext.d.ts
|
|
7319
6547
|
type Props$27 = ComponentProps<typeof PaginationButton>;
|
|
7320
6548
|
declare const PaginationNext: ({ children, className, ...props }: Props$27) => import("react").JSX.Element;
|
|
7321
|
-
//#endregion
|
|
7322
|
-
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
7323
6549
|
type Props$26 = ComponentProps<typeof PaginationButton>;
|
|
7324
6550
|
declare const PaginationPrevious: ({ children, ...props }: Props$26) => import("react").JSX.Element;
|
|
7325
|
-
//#endregion
|
|
7326
|
-
//#region src/components/Pagination/Pagination.d.ts
|
|
7327
6551
|
type Props$25 = ComponentProps<'nav'>;
|
|
7328
6552
|
declare function Pagination({ className, ...props }: Props$25): import("react").JSX.Element;
|
|
7329
6553
|
declare namespace Pagination {
|
|
@@ -7334,8 +6558,6 @@ declare namespace Pagination {
|
|
|
7334
6558
|
export { PaginationNext as Next };
|
|
7335
6559
|
export { PaginationEllipsis as Ellipsis };
|
|
7336
6560
|
}
|
|
7337
|
-
//#endregion
|
|
7338
|
-
//#region src/components/DiffView/DiffView.d.ts
|
|
7339
6561
|
type Props$24 = {
|
|
7340
6562
|
oldValue: string;
|
|
7341
6563
|
newValue: string;
|
|
@@ -7347,8 +6569,6 @@ type Props$24 = {
|
|
|
7347
6569
|
rightTitleGutter?: ReactNode;
|
|
7348
6570
|
};
|
|
7349
6571
|
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$24) => import("react").JSX.Element;
|
|
7350
|
-
//#endregion
|
|
7351
|
-
//#region src/components/DiffView/util.d.ts
|
|
7352
6572
|
declare const DiffType: {
|
|
7353
6573
|
readonly DEFAULT: 'default';
|
|
7354
6574
|
readonly ADDED: 'added';
|
|
@@ -7391,22 +6611,16 @@ type DiffRow = {
|
|
|
7391
6611
|
};
|
|
7392
6612
|
declare const computeLineInformation: (oldString: string, newString: string, ignoreWhitespace?: boolean) => ComputedLineInformation;
|
|
7393
6613
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
7394
|
-
//#endregion
|
|
7395
|
-
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
7396
6614
|
type Props$23 = {
|
|
7397
6615
|
label: string;
|
|
7398
6616
|
sublabel?: string;
|
|
7399
6617
|
};
|
|
7400
6618
|
declare const PaneHeader: ({ label, sublabel }: Props$23) => import("react").JSX.Element;
|
|
7401
|
-
//#endregion
|
|
7402
|
-
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
7403
6619
|
type Props$22 = {
|
|
7404
6620
|
remainingConflicts: number;
|
|
7405
6621
|
remainingSafeChanges: number;
|
|
7406
6622
|
};
|
|
7407
6623
|
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$22) => import("react").JSX.Element;
|
|
7408
|
-
//#endregion
|
|
7409
|
-
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
7410
6624
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
7411
6625
|
mergeValue: string;
|
|
7412
6626
|
handleMergeChange: (value: string) => void;
|
|
@@ -7428,8 +6642,6 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
7428
6642
|
isDirty: boolean;
|
|
7429
6643
|
reset: () => void;
|
|
7430
6644
|
};
|
|
7431
|
-
//#endregion
|
|
7432
|
-
//#region src/blocks/DashboardHero/DashboardHero.d.ts
|
|
7433
6645
|
type RootProps$2 = ComponentProps<'section'>;
|
|
7434
6646
|
/**
|
|
7435
6647
|
* Top-of-dashboard welcome/summary banner: eyebrow, title, lead paragraph, actions.
|
|
@@ -7459,8 +6671,6 @@ declare const DashboardHero: typeof DashboardHeroRoot & {
|
|
|
7459
6671
|
Actions: typeof DashboardHeroActions;
|
|
7460
6672
|
Aside: typeof DashboardHeroAside;
|
|
7461
6673
|
};
|
|
7462
|
-
//#endregion
|
|
7463
|
-
//#region src/blocks/StatCard/StatCard.d.ts
|
|
7464
6674
|
declare const trendClassnames: (props?: ({
|
|
7465
6675
|
direction?: "down" | "flat" | "up" | null | undefined;
|
|
7466
6676
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7494,8 +6704,6 @@ declare const StatCard: typeof StatCardRoot & {
|
|
|
7494
6704
|
Trend: typeof StatCardTrend;
|
|
7495
6705
|
Footnote: typeof StatCardFootnote;
|
|
7496
6706
|
};
|
|
7497
|
-
//#endregion
|
|
7498
|
-
//#region src/blocks/StatCard/StatCardGrid.d.ts
|
|
7499
6707
|
declare const gridClassnames: (props?: ({
|
|
7500
6708
|
columns?: 2 | 3 | 4 | null | undefined;
|
|
7501
6709
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7506,8 +6714,6 @@ type Props$8 = ComponentProps<'div'> & VariantProps<typeof gridClassnames>;
|
|
|
7506
6714
|
* mobile and two on small screens.
|
|
7507
6715
|
*/
|
|
7508
6716
|
declare const StatCardGrid: ({ className, columns, children, ...rest }: Props$8) => import("react").JSX.Element;
|
|
7509
|
-
//#endregion
|
|
7510
|
-
//#region src/blocks/ChartPanel/ChartPanel.d.ts
|
|
7511
6717
|
type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
7512
6718
|
title: ReactNode;
|
|
7513
6719
|
description?: ReactNode;
|
|
@@ -7524,63 +6730,39 @@ type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
7524
6730
|
* - For a KPI number use `StatCard`; for an unframed chart use the chart directly.
|
|
7525
6731
|
*/
|
|
7526
6732
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps$1) => import("react").JSX.Element;
|
|
7527
|
-
//#endregion
|
|
7528
|
-
//#region src/blocks/Form/components/FormBody.d.ts
|
|
7529
6733
|
type Props$21 = {
|
|
7530
6734
|
children: ReactNode;
|
|
7531
6735
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
7532
6736
|
declare const FormBody: ({ children, className, ...formProps }: Props$21) => import("react").JSX.Element;
|
|
7533
|
-
//#endregion
|
|
7534
|
-
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
7535
6737
|
type Props$20 = {
|
|
7536
6738
|
children?: ReactNode;
|
|
7537
6739
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
7538
6740
|
declare const SubmitButton: ({ children, ...buttonProps }: Props$20) => import("react").JSX.Element;
|
|
7539
|
-
//#endregion
|
|
7540
|
-
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
7541
6741
|
/**
|
|
7542
6742
|
* Renders the form-level submit error (set via `setSubmitError` → `errorMap.onSubmit`) as an error
|
|
7543
6743
|
* `Alert`. Place inside `form.FormBody`, typically just above the submit button. Renders nothing when
|
|
7544
6744
|
* there is no submit error.
|
|
7545
6745
|
*/
|
|
7546
6746
|
declare const SubmitErrorAlert: () => import("react").JSX.Element;
|
|
7547
|
-
//#endregion
|
|
7548
|
-
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
7549
6747
|
type Props$19 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Checkbox>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7550
6748
|
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$19) => import("react").JSX.Element;
|
|
7551
|
-
//#endregion
|
|
7552
|
-
//#region src/blocks/Form/connectors/NumberField.d.ts
|
|
7553
6749
|
type Props$18 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.NumberInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7554
6750
|
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$18) => import("react").JSX.Element;
|
|
7555
|
-
//#endregion
|
|
7556
|
-
//#region src/blocks/Form/connectors/OtpInputField.d.ts
|
|
7557
6751
|
type Props$17 = FieldItemProps & Omit<RootProps$5, 'value' | 'onChange' | 'children' | 'id' | 'name' | 'aria-describedby' | 'aria-required' | 'aria-invalid'>;
|
|
7558
6752
|
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$17) => import("react").JSX.Element;
|
|
7559
|
-
//#endregion
|
|
7560
|
-
//#region src/blocks/Form/connectors/PasswordField.d.ts
|
|
7561
6753
|
type Props$16 = FieldItemProps & Omit<ComponentProps<typeof PasswordInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7562
6754
|
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$16) => import("react").JSX.Element;
|
|
7563
|
-
//#endregion
|
|
7564
|
-
//#region src/blocks/Form/connectors/SelectField.d.ts
|
|
7565
6755
|
type Props$15 = FieldItemProps & Omit<SelectProps, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'items'> & {
|
|
7566
6756
|
items: readonly (SelectItem | SelectItemGroup)[];
|
|
7567
6757
|
triggerClassName?: string;
|
|
7568
6758
|
};
|
|
7569
6759
|
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$15) => import("react").JSX.Element;
|
|
7570
|
-
//#endregion
|
|
7571
|
-
//#region src/blocks/Form/connectors/SwitchField.d.ts
|
|
7572
6760
|
type Props$14 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Switch>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7573
6761
|
declare const SwitchField: ({ className, children, ...switchProps }: Props$14) => import("react").JSX.Element;
|
|
7574
|
-
//#endregion
|
|
7575
|
-
//#region src/blocks/Form/connectors/TextareaField.d.ts
|
|
7576
6762
|
type Props$13 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.Textarea>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7577
6763
|
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$13) => import("react").JSX.Element;
|
|
7578
|
-
//#endregion
|
|
7579
|
-
//#region src/blocks/Form/connectors/TextField.d.ts
|
|
7580
6764
|
type Props$12 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.TextInput>, 'id' | 'name' | 'value' | 'onChange' | 'onBlur'>;
|
|
7581
6765
|
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$12) => import("react").JSX.Element;
|
|
7582
|
-
//#endregion
|
|
7583
|
-
//#region src/blocks/Form/formHook.d.ts
|
|
7584
6766
|
/**
|
|
7585
6767
|
* Typed form hook + `withForm` binding for forms with validation, server errors or a submit state.
|
|
7586
6768
|
*
|
|
@@ -7633,8 +6815,7 @@ declare const useAppForm: <TFormData, TOnMount extends undefined | import("@tans
|
|
|
7633
6815
|
readonly SubmitErrorAlert: typeof SubmitErrorAlert;
|
|
7634
6816
|
}>;
|
|
7635
6817
|
}>>;
|
|
7636
|
-
|
|
7637
|
-
//#region src/blocks/Form/setServerFieldErrors.d.ts
|
|
6818
|
+
declare const fieldContext: import("react").Context<import("@tanstack/form-core").AnyFieldApi>, useFieldContext: <TData>() => import("@tanstack/form-core").FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, formContext: import("react").Context<import("@tanstack/form-core").AnyFormApi>, useFormContext: () => import("@tanstack/react-form").ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
7638
6819
|
type ServerFieldError = {
|
|
7639
6820
|
field: string;
|
|
7640
6821
|
message: string;
|
|
@@ -7648,8 +6829,6 @@ type ServerFieldError = {
|
|
|
7648
6829
|
* without `isBlurred` the message would sit in `errorMap` and render nowhere.
|
|
7649
6830
|
*/
|
|
7650
6831
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
7651
|
-
//#endregion
|
|
7652
|
-
//#region src/blocks/Form/setSubmitError.d.ts
|
|
7653
6832
|
/**
|
|
7654
6833
|
* Set a **form-level** submit error on a TanStack form instance — a failed submission that isn't tied
|
|
7655
6834
|
* to a single field (bad credentials, 5xx, network). Stored on `errorMap.onSubmit` and rendered by
|
|
@@ -7659,8 +6838,6 @@ declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFi
|
|
|
7659
6838
|
* the form to keep the submit button retryable (a resubmit re-runs the validators and clears it).
|
|
7660
6839
|
*/
|
|
7661
6840
|
declare const setSubmitError: (form: AnyFormApi, message: string) => void;
|
|
7662
|
-
//#endregion
|
|
7663
|
-
//#region src/hooks/useAltDigitHotkey.d.ts
|
|
7664
6841
|
/** The highest digit a numbered option can be picked with. */
|
|
7665
6842
|
declare const MAX_DIGIT_HOTKEY = 9;
|
|
7666
6843
|
/**
|
|
@@ -7687,8 +6864,6 @@ type Options$1 = {
|
|
|
7687
6864
|
* - Leaves numpad digits alone: on Windows ⌥ plus numpad digits types an Alt code.
|
|
7688
6865
|
*/
|
|
7689
6866
|
declare const useAltDigitHotkey: ({ count, onDigit, enabled, ref }: Options$1) => void;
|
|
7690
|
-
//#endregion
|
|
7691
|
-
//#region src/hooks/useAutosizeInput.d.ts
|
|
7692
6867
|
type UseAutosizeInputOptions = {
|
|
7693
6868
|
value?: string;
|
|
7694
6869
|
placeholder?: string;
|
|
@@ -7705,8 +6880,6 @@ type UseAutosizeInputReturn = {
|
|
|
7705
6880
|
* don't anchor to the viewport.
|
|
7706
6881
|
*/
|
|
7707
6882
|
declare function useAutosizeInput({ value, placeholder, minWidth }: UseAutosizeInputOptions): UseAutosizeInputReturn;
|
|
7708
|
-
//#endregion
|
|
7709
|
-
//#region src/hooks/useScrollbarPosition.d.ts
|
|
7710
6883
|
declare const useScrollbarPosition: () => {
|
|
7711
6884
|
setElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
7712
6885
|
isTop: boolean;
|
|
@@ -7714,8 +6887,6 @@ declare const useScrollbarPosition: () => {
|
|
|
7714
6887
|
isMiddle: boolean;
|
|
7715
6888
|
isNone: boolean;
|
|
7716
6889
|
};
|
|
7717
|
-
//#endregion
|
|
7718
|
-
//#region src/hooks/useStableCallback.d.ts
|
|
7719
6890
|
/**
|
|
7720
6891
|
* A callback with a stable identity that always sees the latest render's values.
|
|
7721
6892
|
*
|
|
@@ -7724,14 +6895,14 @@ declare const useScrollbarPosition: () => {
|
|
|
7724
6895
|
* - A child's layout effect calling it still sees the previous render's closure.
|
|
7725
6896
|
*/
|
|
7726
6897
|
declare const useStableCallback: <Args extends unknown[], Result>(callback: (...args: Args) => Result) => ((...args: Args) => Result);
|
|
7727
|
-
|
|
7728
|
-
|
|
6898
|
+
/**
|
|
6899
|
+
* Runs `callback` once, `delayMs` after mount; cleared on unmount.
|
|
6900
|
+
*
|
|
6901
|
+
* - A new `callback` identity does not restart the timer; a new `delayMs` does.
|
|
6902
|
+
*/
|
|
6903
|
+
declare const useTimeout: (callback: () => unknown, delayMs: number) => void;
|
|
7729
6904
|
declare const cn: (...classes: ClassValue[]) => string;
|
|
7730
|
-
//#endregion
|
|
7731
|
-
//#region src/utils/copyToClipboard.d.ts
|
|
7732
6905
|
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
7733
|
-
//#endregion
|
|
7734
|
-
//#region src/utils/findLiteralMatches.d.ts
|
|
7735
6906
|
/** Whether `text` holds `query`, ignoring case; stops at the first occurrence. */
|
|
7736
6907
|
declare const hasLiteralMatch: (text: string, query: string) => boolean;
|
|
7737
6908
|
/**
|
|
@@ -7744,8 +6915,6 @@ declare const hasLiteralMatch: (text: string, query: string) => boolean;
|
|
|
7744
6915
|
declare const findLiteralMatches: (text: string, query: string, { isCaseSensitive }?: {
|
|
7745
6916
|
isCaseSensitive?: boolean;
|
|
7746
6917
|
}) => number[];
|
|
7747
|
-
//#endregion
|
|
7748
|
-
//#region src/utils/mergeRefs.d.ts
|
|
7749
6918
|
type PossibleRef<T> = Ref<T> | undefined;
|
|
7750
6919
|
/**
|
|
7751
6920
|
* Compose several refs into the one a component can hand to an element.
|
|
@@ -7756,11 +6925,7 @@ type PossibleRef<T> = Ref<T> | undefined;
|
|
|
7756
6925
|
* that is no longer in the document.
|
|
7757
6926
|
*/
|
|
7758
6927
|
declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) => RefCallback<T>;
|
|
7759
|
-
//#endregion
|
|
7760
|
-
//#region src/utils/isMac.d.ts
|
|
7761
6928
|
declare const isMac: boolean;
|
|
7762
|
-
//#endregion
|
|
7763
|
-
//#region src/components/ZoomableSvg/ZoomableSvg.d.ts
|
|
7764
6929
|
type Props$11 = {
|
|
7765
6930
|
/** Raw SVG markup; DOMPurify-sanitized (SVG profile), so user/LLM content is safe. */
|
|
7766
6931
|
html: string;
|
|
@@ -7776,8 +6941,6 @@ type Props$11 = {
|
|
|
7776
6941
|
renderActions?: (safeSvg: string) => ReactNode;
|
|
7777
6942
|
};
|
|
7778
6943
|
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, allowUse, renderActions }: Props$11) => import("react").JSX.Element;
|
|
7779
|
-
//#endregion
|
|
7780
|
-
//#region src/components/ZoomableSvg/exportSvg.d.ts
|
|
7781
6944
|
declare const toSvgFileContent: (svg: string) => string;
|
|
7782
6945
|
/**
|
|
7783
6946
|
* Rasterize SVG markup to a PNG blob at 2x for legible text.
|
|
@@ -7788,8 +6951,6 @@ declare const toSvgFileContent: (svg: string) => string;
|
|
|
7788
6951
|
* transparent PNG reads as unusable when pasted into a slide deck.
|
|
7789
6952
|
*/
|
|
7790
6953
|
declare const svgToPngBlob: (svg: string, background?: string) => Promise<Blob>;
|
|
7791
|
-
//#endregion
|
|
7792
|
-
//#region src/blocks/BrandEditor/BrandEditor.d.ts
|
|
7793
6954
|
type Colors = NonNullable<Brand$1['theme']['colors']>;
|
|
7794
6955
|
/** Colour tokens written as full CSS values rather than `R G B` channels. */
|
|
7795
6956
|
type StateColorSlot = keyof Pick<Colors, 'hover' | 'hoverForeground' | 'pressed' | 'selected' | 'selectedForeground' | 'scrim'>;
|
|
@@ -7824,16 +6985,11 @@ type BrandEditorProps = {
|
|
|
7824
6985
|
* active color scheme live (Kai build-mode preview, theme-generator, …).
|
|
7825
6986
|
*/
|
|
7826
6987
|
declare const BrandEditor: ({ value, onChange, colorScheme, onColorSchemeChange, fontOptions }: BrandEditorProps) => import("react").JSX.Element;
|
|
7827
|
-
//#endregion
|
|
7828
|
-
//#region src/blocks/BrandEditor/color.d.ts
|
|
7829
6988
|
declare const hexToChannels: (hex: string) => string;
|
|
7830
6989
|
declare const channelsToHex: (channels: string) => string;
|
|
7831
|
-
//#endregion
|
|
7832
|
-
//#region src/blocks/BrandEditor/contrast.d.ts
|
|
7833
6990
|
/** WCAG contrast ratio (1–21) between two `"R G B"` colours. */
|
|
7834
6991
|
declare const contrastRatio: (fg: string, bg: string) => number;
|
|
7835
6992
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7836
6993
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7837
|
-
|
|
7838
|
-
export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerSource, AnswerSources, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AppShell, type AppShellHeaderSpan, type AppShellSlot, AttachmentChip, AttachmentStatus, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, BLANK_VALUES, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, CONTEXT_CHIP_EXPANDABLE_LENGTH, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 as ChartPanelProps, ChatInlineIcon, ChatNotice, ChatNoticeTone, Checkbox, ChipEditor, type Props$1 as ChipEditorProps, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, ComboboxField, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, ContextChip, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DIAGRAM_LANGUAGES, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FacebookButton, FileDownloadChip, FileGallery, type FileGalleryImage, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineEdit, InlineStepDetail, type Props$2 as InlineStepDetailProps, InlineStepGroup, type Props$3 as InlineStepGroupProps, InlineStepLabel, type Props$4 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, JumpToLatest, Kbd, Label, type LineInformation, Link, MAX_DIGIT_HOTKEY, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, ModeChip, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, MultiComboboxHighlighted, Navbar, NumberInput, OtpInput, type RootProps$5 as OtpInputProps, type OtpInputRenderSlotProps, PROMPT_INPUT_CONTAINER, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$5 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$6 as QuestionBlockProps, type QuestionOption, type Props$7 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, SelectProps, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SourceChip, SourceChipProps, SourceState, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$8 as StatCardGridProps, type RootProps$6 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSkeletonColumn, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, type ThinkingIndicatorProps, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalAction, type ToolCallApprovalExtraAction, type ToolCallApprovalNoticeItem, type NoticeTone as ToolCallApprovalNoticeTone, type ToolCallApprovalProps, type ShortcutKey as ToolCallApprovalShortcutKey, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$9 as ToolCallStatusHeaderProps, Tooltip, type Props$10 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageBar, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WithAccessibleName, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, agnes, appShellSlotSelector, brandSchema, buttonVariants, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, digitFromKeyCode, exampleCustomer, filterByWords, findLiteralMatches, findMentionToken, findSlashToken, formatPercentage, forwardAccessibleName, getChatInlineIconName, harbor, hasLiteralMatch, hexToChannels, isMac, kbcUi, kbdVariants, keboola, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, splitSealedBlocks, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAltDigitHotkey, useAppForm, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withBlankValues, withForm, withholdOpenTail };
|
|
6994
|
+
export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerExtraAction, AnswerSource, AnswerSources, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AnswerVoteStyle, AppShell, type AppShellHeaderSpan, type AppShellSlot, AttachmentChip, AttachmentStatus, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, BLANK_VALUES, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, CONTEXT_CHIP_EXPANDABLE_LENGTH, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 as ChartPanelProps, ChatInlineIcon, ChatNotice, ChatNoticeTone, Checkbox, ChipEditor, type Props$1 as ChipEditorProps, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, ComboboxField, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, ContextChip, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FacebookButton, FieldItem, type FieldItemProps, FileDownloadChip, FileGallery, type FileGalleryImage, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineEdit, InlineStepDetail, type Props$2 as InlineStepDetailProps, InlineStepGroup, type Props$3 as InlineStepGroupProps, InlineStepLabel, type Props$4 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, JumpToLatest, Kbd, Label, type LineInformation, Link, MAX_DIGIT_HOTKEY, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, ModeChip, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, MultiComboboxHighlighted, Navbar, NumberInput, OtpInput, type RootProps$5 as OtpInputProps, type OtpInputRenderSlotProps, PROMPT_INPUT_CONTAINER, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$5 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$6 as QuestionBlockProps, type QuestionOption, type Props$7 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, SelectProps, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SourceChip, SourceChipProps, SourceState, SourceVerifiedStyle, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$8 as StatCardGridProps, type RootProps$6 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, type StreamingCaretMoment, SuggestedPrompt, Switch, Table, type TableSkeletonColumn, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, type ThinkingIndicatorProps, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalAction, type ToolCallApprovalExtraAction, type ToolCallApprovalNoticeItem, type NoticeTone as ToolCallApprovalNoticeTone, type ToolCallApprovalProps, type ShortcutKey as ToolCallApprovalShortcutKey, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$9 as ToolCallStatusHeaderProps, Tooltip, type Props$10 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageBar, UsageStats, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WithAccessibleName, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, agnes, appShellSlotSelector, brandSchema, buttonVariants, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, digitFromKeyCode, exampleCustomer, filterByWords, findLiteralMatches, findMentionToken, findSlashToken, formatPercentage, forwardAccessibleName, getChatInlineIconName, harbor, hasLiteralMatch, hexToChannels, isMac, kbcUi, kbdVariants, keboola, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, splitSealedBlocks, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAltDigitHotkey, useAppForm, useAutosizeInput, useCommandState, useDefaultLayout, useFieldContext, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useTimeout, useWorkbench, wcagLevel, withBlankValues, withForm, withholdOpenTail };
|
|
7839
6995
|
//# sourceMappingURL=index.d.ts.map
|