@keboola/design 15.1.0 → 16.1.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 +85 -0
- package/COMPONENT-API.md +62 -61
- package/dist/{AIKit-BR6jfsdI.js → AIKit-Cf5plya2.js} +328 -210
- 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-DMsn62JJ.js → AlertModal-De04fFoy.js} +14 -24
- package/dist/{AlertModal-DMsn62JJ.js.map → AlertModal-De04fFoy.js.map} +1 -1
- 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-CqlOE5A2.js → Badge-CFRhducL.js} +9 -14
- package/dist/{Badge-CqlOE5A2.js.map → Badge-CFRhducL.js.map} +1 -1
- package/dist/{BrandEditor-D61pzWRq.js → BrandEditor-hiLBX7az.js} +16 -23
- package/dist/{BrandEditor-D61pzWRq.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-DbqvDnYl.js → Breadcrumb-uGFEIjFF.js} +17 -28
- package/dist/{Breadcrumb-DbqvDnYl.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-BlrH8jAi.js → ColorModeSwitch-CuPYnJ2V.js} +5 -6
- package/dist/{ColorModeSwitch-BlrH8jAi.js.map → ColorModeSwitch-CuPYnJ2V.js.map} +1 -1
- package/dist/{Combobox-BLqX-Tdh.js → Combobox-DYjvYgl3.js} +37 -66
- package/dist/{Combobox-BLqX-Tdh.js.map → Combobox-DYjvYgl3.js.map} +1 -1
- 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-duinbI9_.js → DateInput-DJNX7Vdx.js} +8 -10
- package/dist/{DateInput-duinbI9_.js.map → DateInput-DJNX7Vdx.js.map} +1 -1
- package/dist/{DatePicker-Cg_aG_N4.js → DatePicker-CI59gF3S.js} +4 -5
- package/dist/{DatePicker-Cg_aG_N4.js.map → DatePicker-CI59gF3S.js.map} +1 -1
- package/dist/{DateRangeInput-BYVHf9zo.js → DateRangeInput-B3g8cyS0.js} +8 -10
- package/dist/{DateRangeInput-BYVHf9zo.js.map → DateRangeInput-B3g8cyS0.js.map} +1 -1
- package/dist/{DateRangePicker-m47cSV1r.js → DateRangePicker-48yOB2qV.js} +9 -10
- package/dist/{DateRangePicker-m47cSV1r.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-Bum99mVf.js → DropdownMenu-Ba9atqDa.js} +20 -36
- package/dist/{DropdownMenu-Bum99mVf.js.map → DropdownMenu-Ba9atqDa.js.map} +1 -1
- 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-Dqbt_tIs.js → Form-BUNW7nlt.js} +24 -38
- package/dist/{Form-Dqbt_tIs.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-Cf9iYyaW.js → HoverCard-OGWKRXJ7.js} +4 -6
- package/dist/{HoverCard-Cf9iYyaW.js.map → HoverCard-OGWKRXJ7.js.map} +1 -1
- 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-2-EuNu1i.js → MermaidDiagram-E3azndPk.js} +9 -11
- package/dist/{MermaidDiagram-2-EuNu1i.js.map → MermaidDiagram-E3azndPk.js.map} +1 -1
- package/dist/{Modal-DwuvuiUx.js → Modal-Cf_kPEBW.js} +13 -21
- package/dist/{Modal-DwuvuiUx.js.map → Modal-Cf_kPEBW.js.map} +1 -1
- package/dist/{ModalTitle-RGWwIMU6.js → ModalTitle-7vgpfc6B.js} +5 -8
- package/dist/{ModalTitle-RGWwIMU6.js.map → ModalTitle-7vgpfc6B.js.map} +1 -1
- 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-LKP6PiP_.js → PageToolbar-By2HznxO.js} +8 -10
- package/dist/{PageToolbar-LKP6PiP_.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-p72DiagN.js → Popconfirm-BJuDOHdv.js} +46 -25
- package/dist/Popconfirm-BJuDOHdv.js.map +1 -0
- package/dist/{Popover-DnBw5Uay.js → Popover-DhOPlWgF.js} +4 -6
- package/dist/{Popover-DnBw5Uay.js.map → Popover-DhOPlWgF.js.map} +1 -1
- 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-6hcIpZLO.js → SectionNav-L81iJBo3.js} +11 -14
- package/dist/{SectionNav-6hcIpZLO.js.map → SectionNav-L81iJBo3.js.map} +1 -1
- package/dist/{Select-C6zKeip5.js → Select-DRdkdzBp.js} +28 -25
- package/dist/{Select-C6zKeip5.js.map → Select-DRdkdzBp.js.map} +1 -1
- package/dist/{Sheet-DKG20J7W.js → Sheet-DVb4XoJ5.js} +12 -19
- package/dist/{Sheet-DKG20J7W.js.map → Sheet-DVb4XoJ5.js.map} +1 -1
- package/dist/{Sidebar-BlYqasnX.js → Sidebar-DYvodJWN.js} +43 -75
- package/dist/{Sidebar-BlYqasnX.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-lk3NGqeK.js → TimePicker-CCV3SOw5.js} +4 -6
- package/dist/{TimePicker-lk3NGqeK.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-CxXKanUR.js → ZoomableSvg-BRPGgaWJ.js} +8 -10
- package/dist/{ZoomableSvg-CxXKanUR.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 +418 -1296
- package/dist/index.js +75 -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 +1 -2
- 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-DwC9u0tM.js.map → utils-DjFceY3H.js.map} +1 -1
- 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 +113 -11
- package/dist/AIKit-BR6jfsdI.js.map +0 -1
- package/dist/Button-BNkyYU8u.js.map +0 -1
- package/dist/Calendar-BnKi1kPu.js.map +0 -1
- package/dist/Popconfirm-p72DiagN.js.map +0 -1
- package/dist/Search-vyZwGKMU.js.map +0 -1
- package/dist/SearchInput-DyYXyw3u.js.map +0 -1
- package/dist/TextInput-CR0_USaY.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: {
|
|
@@ -4732,7 +4255,7 @@ type AnswerExtraAction = {
|
|
|
4732
4255
|
onSelect: () => void;
|
|
4733
4256
|
disabled?: boolean;
|
|
4734
4257
|
};
|
|
4735
|
-
type Props$
|
|
4258
|
+
type Props$140 = {
|
|
4736
4259
|
/** The answer as text, for the clipboard; empty or absent draws no copy button. */
|
|
4737
4260
|
copyText?: string;
|
|
4738
4261
|
/** The vote already recorded against this answer, or `null` for none. */
|
|
@@ -4763,6 +4286,12 @@ type Props$141 = {
|
|
|
4763
4286
|
/** Opt-in. Draws a button that asks the question again. */
|
|
4764
4287
|
onRegenerate?: () => void;
|
|
4765
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;
|
|
4766
4295
|
};
|
|
4767
4296
|
/**
|
|
4768
4297
|
* Copy and thumbs up/down for a finished answer.
|
|
@@ -4771,14 +4300,16 @@ type Props$141 = {
|
|
|
4771
4300
|
* - A vote can be changed but not withdrawn; pressing the pressed one re-sends it.
|
|
4772
4301
|
* - The caller owns the recorded vote and the write.
|
|
4773
4302
|
*/
|
|
4774
|
-
declare const AnswerActions: ({ copyText, vote, onVote, onCopy, actions, extraActions, labels, confirmation, size, layout, onDownComment, commentPlaceholder, onRegenerate, regenerateLabel }: Props$
|
|
4775
|
-
//#endregion
|
|
4776
|
-
//#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;
|
|
4777
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';
|
|
4778
4307
|
type SourceChipProps = {
|
|
4779
4308
|
label: string;
|
|
4780
4309
|
/** `verified`: a tool call supports it. `unverified`: named but never touched. `neutral`: nothing to check against. */
|
|
4781
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;
|
|
4782
4313
|
/** What kind of thing it is (e.g. "table"); part of the accessible name, not the face. */
|
|
4783
4314
|
kind?: string;
|
|
4784
4315
|
icon?: ReactNode;
|
|
@@ -4798,13 +4329,11 @@ type SourceChipProps = {
|
|
|
4798
4329
|
* - A plain left click goes to `onClick`; modified clicks keep the link's own behaviour.
|
|
4799
4330
|
*/
|
|
4800
4331
|
declare const SourceChip: (props: SourceChipProps) => import("react").JSX.Element;
|
|
4801
|
-
//#endregion
|
|
4802
|
-
//#region src/blocks/AIKit/AnswerSources.d.ts
|
|
4803
4332
|
declare const ANSWER_SOURCES_VISIBLE = 6;
|
|
4804
4333
|
type AnswerSource = SourceChipProps & {
|
|
4805
4334
|
id: string;
|
|
4806
4335
|
};
|
|
4807
|
-
type Props$
|
|
4336
|
+
type Props$139 = {
|
|
4808
4337
|
sources: AnswerSource[];
|
|
4809
4338
|
/** Row heading. */
|
|
4810
4339
|
label?: string;
|
|
@@ -4814,6 +4343,10 @@ type Props$140 = {
|
|
|
4814
4343
|
visibleCount?: number;
|
|
4815
4344
|
/** Extra line under the row, e.g. the assumptions the answer made. */
|
|
4816
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;
|
|
4817
4350
|
className?: string;
|
|
4818
4351
|
};
|
|
4819
4352
|
/**
|
|
@@ -4823,9 +4356,7 @@ type Props$140 = {
|
|
|
4823
4356
|
* - Collapses past `visibleCount` behind a "+N more" toggle.
|
|
4824
4357
|
* - Empty `sources` states that none were declared, which is itself information.
|
|
4825
4358
|
*/
|
|
4826
|
-
declare const AnswerSources: ({ sources, label, emptyLabel, visibleCount, footnote, className }: Props$
|
|
4827
|
-
//#endregion
|
|
4828
|
-
//#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;
|
|
4829
4360
|
type AnswerItem = {
|
|
4830
4361
|
question: string;
|
|
4831
4362
|
answer?: string;
|
|
@@ -4842,10 +4373,8 @@ type Props = {
|
|
|
4842
4373
|
onExpandToggle?: (next: boolean) => void;
|
|
4843
4374
|
};
|
|
4844
4375
|
declare const AnswerSummary: ({ items, variant, statusLabel, statusMessage, noAnswerLabel, onExpandToggle }: Props) => import("react").JSX.Element;
|
|
4845
|
-
//#endregion
|
|
4846
|
-
//#region src/blocks/AIKit/AttachmentChip.d.ts
|
|
4847
4376
|
type AttachmentStatus = 'uploading' | 'ready' | 'error';
|
|
4848
|
-
type Props$
|
|
4377
|
+
type Props$138 = {
|
|
4849
4378
|
name: string;
|
|
4850
4379
|
/** Replaces the file glyph while the upload is not failing. */
|
|
4851
4380
|
thumbnailUrl?: string;
|
|
@@ -4867,9 +4396,7 @@ type Props$139 = {
|
|
|
4867
4396
|
* - Capped width with a truncating name, so a long filename cannot push the text away.
|
|
4868
4397
|
* - `error` explains itself in a tooltip; the remove control stays available in every status.
|
|
4869
4398
|
*/
|
|
4870
|
-
declare const AttachmentChip: ({ name, thumbnailUrl, lead, label, status, error, onRemove, trailing, className }: Props$
|
|
4871
|
-
//#endregion
|
|
4872
|
-
//#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;
|
|
4873
4400
|
/**
|
|
4874
4401
|
* The icon name in a code node's text, if the text is a token — drawn, or still arriving.
|
|
4875
4402
|
*
|
|
@@ -4878,7 +4405,7 @@ declare const AttachmentChip: ({ name, thumbnailUrl, lead, label, status, error,
|
|
|
4878
4405
|
* - A name that is both (`save`, of `save-changes`) is drawn now.
|
|
4879
4406
|
*/
|
|
4880
4407
|
declare const getChatInlineIconName: (text: string) => string | undefined;
|
|
4881
|
-
type Props$
|
|
4408
|
+
type Props$137 = {
|
|
4882
4409
|
/** The name from the token, without the `icon:` prefix. */
|
|
4883
4410
|
name: string;
|
|
4884
4411
|
};
|
|
@@ -4890,11 +4417,9 @@ type Props$138 = {
|
|
|
4890
4417
|
* - The heavier stroke holds its own beside a bold heading.
|
|
4891
4418
|
* - `aria-hidden`: the token's text is removed, so the glyph has no label to announce.
|
|
4892
4419
|
*/
|
|
4893
|
-
declare const ChatInlineIcon: ({ name }: Props$
|
|
4894
|
-
//#endregion
|
|
4895
|
-
//#region src/blocks/AIKit/ChatNotice.d.ts
|
|
4420
|
+
declare const ChatInlineIcon: ({ name }: Props$137) => import("react").JSX.Element | null;
|
|
4896
4421
|
type ChatNoticeTone = 'error' | 'warn' | 'info';
|
|
4897
|
-
type Props$
|
|
4422
|
+
type Props$136 = {
|
|
4898
4423
|
tone: ChatNoticeTone;
|
|
4899
4424
|
children: ReactNode;
|
|
4900
4425
|
/** A control for the reader to act on, e.g. a retry button. */
|
|
@@ -4903,6 +4428,8 @@ type Props$137 = {
|
|
|
4903
4428
|
details?: string;
|
|
4904
4429
|
/** Seconds until the action is worth trying again; counts down beside the message. */
|
|
4905
4430
|
retryAfter?: number;
|
|
4431
|
+
/** `false` drops the border, for a notice that sits on a tinted surface. */
|
|
4432
|
+
bordered?: boolean;
|
|
4906
4433
|
className?: string;
|
|
4907
4434
|
};
|
|
4908
4435
|
/**
|
|
@@ -4912,25 +4439,23 @@ type Props$137 = {
|
|
|
4912
4439
|
* - `details` stays collapsed so a stack trace never crowds the message.
|
|
4913
4440
|
* - `retryAfter` appends a live countdown; `action` is always rendered, so the host decides whether to gate it.
|
|
4914
4441
|
*/
|
|
4915
|
-
declare const ChatNotice: ({ tone, children, action, details, retryAfter, className }: Props$
|
|
4916
|
-
//#endregion
|
|
4917
|
-
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4442
|
+
declare const ChatNotice: ({ tone, children, action, details, retryAfter, bordered, className }: Props$136) => import("react").JSX.Element;
|
|
4918
4443
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4919
|
-
type Props$
|
|
4444
|
+
type Props$135 = {
|
|
4920
4445
|
isExpanded: boolean;
|
|
4921
4446
|
onToggle: () => void;
|
|
4922
4447
|
label: ReactNode;
|
|
4923
4448
|
variant?: Variant$5;
|
|
4449
|
+
/** `false` drops the status mark; the status stays in the accessible name. */
|
|
4450
|
+
statusMark?: boolean;
|
|
4924
4451
|
};
|
|
4925
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4926
|
-
//#endregion
|
|
4927
|
-
//#region src/blocks/AIKit/ContextChip.d.ts
|
|
4452
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant, statusMark }: Props$135) => import("react").JSX.Element;
|
|
4928
4453
|
declare const CONTEXT_CHIP_EXPANDABLE_LENGTH = 120;
|
|
4929
4454
|
type ContextImage = {
|
|
4930
4455
|
src: string;
|
|
4931
4456
|
alt: string;
|
|
4932
4457
|
};
|
|
4933
|
-
type Props$
|
|
4458
|
+
type Props$134 = {
|
|
4934
4459
|
/** Where the quote came from, e.g. a message or a page title. */
|
|
4935
4460
|
label: string;
|
|
4936
4461
|
/** Absent or empty draws the label alone. */
|
|
@@ -4948,10 +4473,8 @@ type Props$135 = {
|
|
|
4948
4473
|
* - The excerpt is clamped to two lines; "Show all" appears once it is long enough to be cut.
|
|
4949
4474
|
* - Images sit under the excerpt as small thumbnails.
|
|
4950
4475
|
*/
|
|
4951
|
-
declare const ContextChip: ({ label, excerpt, images, number, onRemove, className }: Props$
|
|
4952
|
-
|
|
4953
|
-
//#region src/blocks/AIKit/FileDownloadChip.d.ts
|
|
4954
|
-
type Props$134 = {
|
|
4476
|
+
declare const ContextChip: ({ label, excerpt, images, number, onRemove, className }: Props$134) => import("react").JSX.Element;
|
|
4477
|
+
type Props$133 = {
|
|
4955
4478
|
/** The file's own name, as the reader will see it saved. */
|
|
4956
4479
|
fileName: string;
|
|
4957
4480
|
/** Where it sits in the workspace, shown on hover — what tells two `report.pdf`s apart. */
|
|
@@ -4975,9 +4498,7 @@ type Props$134 = {
|
|
|
4975
4498
|
* `onPreview`), the download sits beside it, and `actions` follow.
|
|
4976
4499
|
* - Presentation only — the host fetches and saves, through its own auth.
|
|
4977
4500
|
*/
|
|
4978
|
-
declare const FileDownloadChip: ({ fileName, filePath, size, isPending, onDownload, onPreview, actions, className }: Props$
|
|
4979
|
-
//#endregion
|
|
4980
|
-
//#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;
|
|
4981
4502
|
type FileGalleryImage = {
|
|
4982
4503
|
id: string;
|
|
4983
4504
|
name: string;
|
|
@@ -4986,9 +4507,7 @@ type FileGalleryImage = {
|
|
|
4986
4507
|
/** The host could not produce a thumbnail. */
|
|
4987
4508
|
isFailed?: boolean;
|
|
4988
4509
|
};
|
|
4989
|
-
|
|
4990
|
-
//#region src/blocks/AIKit/FileGallery.d.ts
|
|
4991
|
-
type Props$133 = {
|
|
4510
|
+
type Props$132 = {
|
|
4992
4511
|
images: readonly FileGalleryImage[];
|
|
4993
4512
|
onOpen: (image: FileGalleryImage) => void;
|
|
4994
4513
|
onRetry?: (image: FileGalleryImage) => void;
|
|
@@ -5005,15 +4524,11 @@ type Props$133 = {
|
|
|
5005
4524
|
* - Tiles ask for their thumbnail as they near the viewport, so a long gallery loads on scroll.
|
|
5006
4525
|
* - Draws `maxTiles`, then a "+N more" button that reveals the rest.
|
|
5007
4526
|
*/
|
|
5008
|
-
declare const FileGallery: ({ images, onOpen, onRetry, onImageVisible, maxTiles, className }: Props$
|
|
5009
|
-
//#endregion
|
|
5010
|
-
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4527
|
+
declare const FileGallery: ({ images, onOpen, onRetry, onImageVisible, maxTiles, className }: Props$132) => import("react").JSX.Element | null;
|
|
5011
4528
|
type Props$2 = {
|
|
5012
4529
|
children: ReactNode;
|
|
5013
4530
|
};
|
|
5014
4531
|
declare const InlineStepDetail: ({ children }: Props$2) => import("react").JSX.Element;
|
|
5015
|
-
//#endregion
|
|
5016
|
-
//#region src/blocks/AIKit/InlineStepLabel.d.ts
|
|
5017
4532
|
/**
|
|
5018
4533
|
* How a step reads in one mark.
|
|
5019
4534
|
*
|
|
@@ -5029,14 +4544,16 @@ type Props$4 = {
|
|
|
5029
4544
|
/** Opt-in. What the step did or returned, behind a Details toggle on the row. */
|
|
5030
4545
|
detail?: ReactNode;
|
|
5031
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;
|
|
5032
4549
|
};
|
|
5033
|
-
declare const InlineStepLabel: ({ variant, children, meta, detail, defaultExpanded }: Props$4) => import("react").JSX.Element;
|
|
5034
|
-
//#endregion
|
|
5035
|
-
//#region src/blocks/AIKit/InlineStepGroup.d.ts
|
|
4550
|
+
declare const InlineStepLabel: ({ variant, children, meta, detail, defaultExpanded, icon }: Props$4) => import("react").JSX.Element;
|
|
5036
4551
|
type Props$3 = {
|
|
5037
4552
|
label: ReactNode;
|
|
5038
4553
|
/** How the whole run reads in one mark; a retried-then-recovered run is `success`, a stopped one `dismissed`. */
|
|
5039
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;
|
|
5040
4557
|
isExpanded: boolean;
|
|
5041
4558
|
onToggle: () => void;
|
|
5042
4559
|
/** The CSS colour behind the group; step icons mask the connector with it. Must match the
|
|
@@ -5059,10 +4576,8 @@ type Props$3 = {
|
|
|
5059
4576
|
* - Animates `grid-template-rows`; children stay mounted while closed.
|
|
5060
4577
|
* - `role="group"`, not a `region` landmark: dozens per transcript would drown real landmarks.
|
|
5061
4578
|
*/
|
|
5062
|
-
declare const InlineStepGroup: ({ label, variant, isExpanded, onToggle, surface, 'aria-label': ariaLabel, 'data-testid': testId, className, footer, children }: Props$3) => import("react").JSX.Element;
|
|
5063
|
-
|
|
5064
|
-
//#region src/blocks/AIKit/JumpToLatest.d.ts
|
|
5065
|
-
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 = {
|
|
5066
4581
|
visible: boolean;
|
|
5067
4582
|
/** The agent is still writing below the fold: the button pulses. */
|
|
5068
4583
|
working?: boolean;
|
|
@@ -5079,25 +4594,31 @@ type Props$132 = {
|
|
|
5079
4594
|
* - Renders nothing while `visible` is false.
|
|
5080
4595
|
* - Positioning is the host's: pass `className` to pin it over the list.
|
|
5081
4596
|
*/
|
|
5082
|
-
declare const JumpToLatest: ({ visible, working, onClick, label, tooltip, className }: Props$
|
|
5083
|
-
//#endregion
|
|
5084
|
-
//#region src/blocks/AIKit/markdownOptions.d.ts
|
|
4597
|
+
declare const JumpToLatest: ({ visible, working, onClick, label, tooltip, className }: Props$131) => import("react").JSX.Element | null;
|
|
5085
4598
|
type RenderDiagramActions = (safeSvg: string) => ReactNode;
|
|
5086
|
-
//#endregion
|
|
5087
|
-
//#region src/blocks/AIKit/diagramLanguages.d.ts
|
|
5088
4599
|
/**
|
|
5089
|
-
*
|
|
4600
|
+
* What a streamed answer is doing at its end.
|
|
5090
4601
|
*
|
|
5091
|
-
* -
|
|
5092
|
-
* -
|
|
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.
|
|
5093
4604
|
*/
|
|
5094
|
-
|
|
5095
|
-
//#endregion
|
|
5096
|
-
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4605
|
+
type StreamingCaretMoment = 'writing' | 'finishing';
|
|
5097
4606
|
declare const PROSE_CLASS: {
|
|
5098
4607
|
readonly answer: 'tw:prose tw:prose-answer tw:prose-code-chip tw:break-words';
|
|
5099
4608
|
readonly chrome: 'tw:prose tw:prose-sm tw:prose-code-chip tw:break-words';
|
|
5100
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;
|
|
5101
4622
|
/**
|
|
5102
4623
|
* Which reading rhythm the surface wears.
|
|
5103
4624
|
*
|
|
@@ -5126,11 +4647,22 @@ type BlockProps = {
|
|
|
5126
4647
|
* Sanitized: no scripts, handlers, `foreignObject`, SMIL or external references.
|
|
5127
4648
|
*/
|
|
5128
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;
|
|
5129
4659
|
};
|
|
5130
|
-
type
|
|
4660
|
+
type RootProps$9 = {
|
|
5131
4661
|
className?: string;
|
|
5132
4662
|
rhythm?: Rhythm;
|
|
4663
|
+
headingScale?: HeadingScale;
|
|
5133
4664
|
};
|
|
4665
|
+
type Props$130 = BlockProps & RootProps$9;
|
|
5134
4666
|
/**
|
|
5135
4667
|
* The prose surface an answer is drawn on.
|
|
5136
4668
|
*
|
|
@@ -5138,19 +4670,14 @@ type Props$131 = BlockProps & {
|
|
|
5138
4670
|
* - `data-prose` is `MessageBubble`'s colour hook; Tailwind can't target `tw:prose` directly.
|
|
5139
4671
|
* - Spacing overrides need `!`: `tw:prose-answer` rules are `(0,2,1)`, above `[&_p]:mb-1`.
|
|
5140
4672
|
*/
|
|
5141
|
-
declare const MarkdownRoot: ({ children, className, rhythm }: PropsWithChildren<
|
|
5142
|
-
className?: string;
|
|
5143
|
-
rhythm?: Rhythm;
|
|
5144
|
-
}>) => import("react").JSX.Element;
|
|
4673
|
+
declare const MarkdownRoot: ({ children, className, rhythm, headingScale }: PropsWithChildren<RootProps$9>) => import("react").JSX.Element;
|
|
5145
4674
|
/** One parsed piece of an answer, with no surface of its own; memoise at the call site. */
|
|
5146
|
-
declare const MarkdownBlock: ({ children, remarkPlugins, components: componentOverrides, highlight, sortable, diagramActions, diagramDownload, allowSvgFences }: BlockProps) => import("react").JSX.Element;
|
|
5147
|
-
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;
|
|
5148
4677
|
declare namespace Markdown {
|
|
5149
4678
|
export { MarkdownRoot as Root };
|
|
5150
4679
|
export { MarkdownBlock as Block };
|
|
5151
4680
|
}
|
|
5152
|
-
//#endregion
|
|
5153
|
-
//#region src/blocks/AIKit/MarkdownTable.d.ts
|
|
5154
4681
|
/**
|
|
5155
4682
|
* The fade's end colour — must match the host's surface, or it draws a strip over the data.
|
|
5156
4683
|
*
|
|
@@ -5161,7 +4688,7 @@ declare const FADE_SURFACE: {
|
|
|
5161
4688
|
readonly background: 'tw:from-background';
|
|
5162
4689
|
};
|
|
5163
4690
|
type Surface = keyof typeof FADE_SURFACE;
|
|
5164
|
-
type Props$
|
|
4691
|
+
type Props$129 = {
|
|
5165
4692
|
/** A `Table bordered` at intrinsic width (`tw:min-w-max`) — otherwise it wraps and never overflows. */
|
|
5166
4693
|
children: ReactNode;
|
|
5167
4694
|
/** What the host paints behind the table; paint `Table`'s header band this colour too. */
|
|
@@ -5183,10 +4710,8 @@ type Props$130 = {
|
|
|
5183
4710
|
* `baseline-widely-available` build floor lacks, and must sit on `Table`'s own container.
|
|
5184
4711
|
* - Past `EXPAND_RATIO` the expand action shows without hover.
|
|
5185
4712
|
*/
|
|
5186
|
-
declare const MarkdownTable: ({ children, actions, onExpand, surface, sortable, className }: Props$
|
|
5187
|
-
|
|
5188
|
-
//#region src/components/Avatar.d.ts
|
|
5189
|
-
type Props$129 = {
|
|
4713
|
+
declare const MarkdownTable: ({ children, actions, onExpand, surface, sortable, className }: Props$129) => import("react").JSX.Element;
|
|
4714
|
+
type Props$128 = {
|
|
5190
4715
|
user?: {
|
|
5191
4716
|
name: string | undefined;
|
|
5192
4717
|
email: string | undefined;
|
|
@@ -5196,13 +4721,9 @@ type Props$129 = {
|
|
|
5196
4721
|
size?: number;
|
|
5197
4722
|
variant?: 'circle' | 'rounded';
|
|
5198
4723
|
} & ComponentProps<'span'>;
|
|
5199
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
5200
|
-
//#endregion
|
|
5201
|
-
//#region src/blocks/AIKit/MessageDeliveryStatus.d.ts
|
|
4724
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$128) => import("react").JSX.Element;
|
|
5202
4725
|
type MessageStatus = 'sending' | 'failed';
|
|
5203
|
-
|
|
5204
|
-
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
5205
|
-
type Props$128 = {
|
|
4726
|
+
type Props$127 = {
|
|
5206
4727
|
variant: 'user' | 'assistant';
|
|
5207
4728
|
actions?: ReactNode;
|
|
5208
4729
|
createdAt?: string;
|
|
@@ -5215,17 +4736,18 @@ type Props$128 = {
|
|
|
5215
4736
|
onRetry?: () => void;
|
|
5216
4737
|
/** Who wrote it, where several people share a chat. */
|
|
5217
4738
|
author?: ReactNode;
|
|
5218
|
-
/** 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. */
|
|
5219
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;
|
|
5220
4744
|
/** Opt-in per-message avatar, beside the bubble; none by default so a narrow panel keeps its width. */
|
|
5221
4745
|
avatar?: ReactNode;
|
|
5222
4746
|
/** @deprecated No avatar is rendered; accepted so existing call sites keep compiling. */
|
|
5223
4747
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
5224
4748
|
} & PropsWithChildren;
|
|
5225
|
-
declare const MessageBubble: ({ variant, children, actions, createdAt, timestamp, quote, status, onRetry, author, collapseAfterPx, avatar }: Props$
|
|
5226
|
-
|
|
5227
|
-
//#region src/blocks/AIKit/ModeChip.d.ts
|
|
5228
|
-
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 = {
|
|
5229
4751
|
children: ReactNode;
|
|
5230
4752
|
/** Mounted either way; `false` collapses and fades it out so neighbours slide instead of jump. */
|
|
5231
4753
|
visible?: boolean;
|
|
@@ -5242,9 +4764,7 @@ type Props$127 = {
|
|
|
5242
4764
|
* - The whole chip turns the mode off, not just the ×.
|
|
5243
4765
|
* - Collapsed via a `0fr` / `1fr` grid column and taken out of the tab order while hidden.
|
|
5244
4766
|
*/
|
|
5245
|
-
declare const ModeChip: ({ children, visible, tooltip, removeLabel, color, onRemove, className }: Props$
|
|
5246
|
-
//#endregion
|
|
5247
|
-
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
4767
|
+
declare const ModeChip: ({ children, visible, tooltip, removeLabel, color, onRemove, className }: Props$126) => import("react").JSX.Element;
|
|
5248
4768
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested' | 'expired';
|
|
5249
4769
|
type PlanApprovalProps = {
|
|
5250
4770
|
status: PlanApprovalStatus;
|
|
@@ -5282,14 +4802,10 @@ type PlanApprovalProps = {
|
|
|
5282
4802
|
className?: string;
|
|
5283
4803
|
};
|
|
5284
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;
|
|
5285
|
-
//#endregion
|
|
5286
|
-
//#region src/blocks/AIKit/PlanRewritingIndicator.d.ts
|
|
5287
4805
|
type PlanRewritingIndicatorProps = {
|
|
5288
4806
|
label?: string;
|
|
5289
4807
|
};
|
|
5290
4808
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react").JSX.Element;
|
|
5291
|
-
//#endregion
|
|
5292
|
-
//#region src/blocks/AIKit/constants.d.ts
|
|
5293
4809
|
/**
|
|
5294
4810
|
* Names the container query `PromptInput`'s `inline` row reads to fold into the stacked layout.
|
|
5295
4811
|
*
|
|
@@ -5298,12 +4814,8 @@ declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) =
|
|
|
5298
4814
|
* never names it keeps the one-line row at every width.
|
|
5299
4815
|
*/
|
|
5300
4816
|
declare const PROMPT_INPUT_CONTAINER = "tw:@container/composer";
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
type Props$126 = ComponentProps<'button'>;
|
|
5304
|
-
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$126) => import("react").JSX.Element;
|
|
5305
|
-
//#endregion
|
|
5306
|
-
//#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;
|
|
5307
4819
|
type PromptCommand = {
|
|
5308
4820
|
label: string;
|
|
5309
4821
|
value: string;
|
|
@@ -5316,9 +4828,7 @@ type PromptCommand = {
|
|
|
5316
4828
|
/** An action row: picking it runs this instead of inserting `value` into the message. */
|
|
5317
4829
|
onSelect?: () => void;
|
|
5318
4830
|
};
|
|
5319
|
-
|
|
5320
|
-
//#region src/blocks/AIKit/PromptInputMenuTrigger.d.ts
|
|
5321
|
-
type Props$125 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'variant'> & {
|
|
4831
|
+
type Props$124 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'variant'> & {
|
|
5322
4832
|
/** Whether the menu this opens is showing; the glyph turns into an × while it is. */
|
|
5323
4833
|
open?: boolean;
|
|
5324
4834
|
/** Sized up to match a large composer's send button. */
|
|
@@ -5331,16 +4841,15 @@ type Props$125 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'vari
|
|
|
5331
4841
|
* - `aria-expanded` mirrors `open`; the accessible name changes with it.
|
|
5332
4842
|
* - Wrapped in `PromptInputAction` so a click does not hand focus to the textarea.
|
|
5333
4843
|
*/
|
|
5334
|
-
declare const PromptInputMenuTrigger: ({ open, large, className, ref, ...props }: Props$
|
|
5335
|
-
//#endregion
|
|
5336
|
-
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
4844
|
+
declare const PromptInputMenuTrigger: ({ open, large, className, ref, ...props }: Props$124) => import("react").JSX.Element;
|
|
5337
4845
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
5338
|
-
type
|
|
4846
|
+
type SendIcon = 'plane' | 'arrow-up';
|
|
4847
|
+
type Props$123 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
5339
4848
|
status?: SubmitStatus;
|
|
4849
|
+
/** The glyph on the ready button: the paper plane (default) or an upward arrow. */
|
|
4850
|
+
sendIcon?: SendIcon;
|
|
5340
4851
|
};
|
|
5341
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
5342
|
-
//#endregion
|
|
5343
|
-
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
4852
|
+
declare const PromptInputSubmit: ({ ref, disabled, status, sendIcon }: Props$123) => import("react").JSX.Element;
|
|
5344
4853
|
/**
|
|
5345
4854
|
* The `@token` the caret sits at the end of, if any.
|
|
5346
4855
|
*
|
|
@@ -5367,7 +4876,7 @@ declare const findSlashToken: (value: string, caret: number) => {
|
|
|
5367
4876
|
declare const promptInputVariants: (props?: ({
|
|
5368
4877
|
variant?: "default" | "inline" | null | undefined;
|
|
5369
4878
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5370
|
-
type Props$
|
|
4879
|
+
type Props$122 = {
|
|
5371
4880
|
/** The textarea, for a host that has to put the caret back. Not `ref`: that name is the textarea's own. */
|
|
5372
4881
|
textareaRef?: RefObject<ComponentRef<'textarea'> | null>;
|
|
5373
4882
|
onSend?: (value: string) => void;
|
|
@@ -5433,13 +4942,11 @@ type Props$123 = {
|
|
|
5433
4942
|
/** Prompts already sent, oldest first: ↑ at the start of the text recalls them, ↓ steps back. */
|
|
5434
4943
|
history?: string[];
|
|
5435
4944
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
5436
|
-
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, maxRows, minRows, commands, commandsEmptyText, commandsLoading, slashTrigger, commandsGroupAction, panel, mentions, onMentionSelect, mentionInsert, 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;
|
|
5437
4946
|
declare namespace PromptInput {
|
|
5438
4947
|
export { PromptInputAction as Action };
|
|
5439
4948
|
export { PromptInputMenuTrigger as MenuTrigger };
|
|
5440
4949
|
}
|
|
5441
|
-
//#endregion
|
|
5442
|
-
//#region src/blocks/AIKit/Question.d.ts
|
|
5443
4950
|
type QuestionOption = {
|
|
5444
4951
|
id: string;
|
|
5445
4952
|
label: string;
|
|
@@ -5485,8 +4992,6 @@ type Props$7 = {
|
|
|
5485
4992
|
className?: string;
|
|
5486
4993
|
};
|
|
5487
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;
|
|
5488
|
-
//#endregion
|
|
5489
|
-
//#region src/blocks/AIKit/QuestionBlock.d.ts
|
|
5490
4995
|
type QuestionStep = {
|
|
5491
4996
|
question: string;
|
|
5492
4997
|
header?: string;
|
|
@@ -5508,8 +5013,6 @@ type Props$6 = {
|
|
|
5508
5013
|
className?: string;
|
|
5509
5014
|
};
|
|
5510
5015
|
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$6) => import("react").JSX.Element;
|
|
5511
|
-
//#endregion
|
|
5512
|
-
//#region src/blocks/AIKit/streamingMarkdown.d.ts
|
|
5513
5016
|
/**
|
|
5514
5017
|
* A streaming answer split into blocks that can no longer change and the tail that still can.
|
|
5515
5018
|
*
|
|
@@ -5535,9 +5038,7 @@ type WithholdOptions = {
|
|
|
5535
5038
|
* - Any other open fence streams as a growing code block.
|
|
5536
5039
|
*/
|
|
5537
5040
|
declare const withholdOpenTail: (text: string, { diagram, tableHead }?: WithholdOptions) => string;
|
|
5538
|
-
|
|
5539
|
-
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
5540
|
-
type Props$122 = {
|
|
5041
|
+
type Props$121 = {
|
|
5541
5042
|
label: string;
|
|
5542
5043
|
disabled?: boolean;
|
|
5543
5044
|
onClick: () => void;
|
|
@@ -5551,9 +5052,7 @@ type Props$122 = {
|
|
|
5551
5052
|
variant?: 'row' | 'bubble';
|
|
5552
5053
|
className?: string;
|
|
5553
5054
|
};
|
|
5554
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, description, trailing, 'aria-label': ariaLabel, variant, className }: Props$
|
|
5555
|
-
//#endregion
|
|
5556
|
-
//#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;
|
|
5557
5056
|
type ThinkingIndicatorProps = {
|
|
5558
5057
|
label?: string;
|
|
5559
5058
|
};
|
|
@@ -5567,29 +5066,19 @@ type ThinkingIndicatorProps = {
|
|
|
5567
5066
|
* - The icon is hidden from the tree: it says the same thing as the label beside it.
|
|
5568
5067
|
*/
|
|
5569
5068
|
declare const ThinkingIndicator: ({ label }: ThinkingIndicatorProps) => import("react").JSX.Element;
|
|
5570
|
-
//#endregion
|
|
5571
|
-
//#region src/blocks/AIKit/ToolCall/toolCallApprovalStatus.d.ts
|
|
5572
5069
|
type ToolCallApprovalStatus = 'pending' | 'approved' | 'rejected' | 'expired' | 'timed-out' | 'cancelled' | 'unattended';
|
|
5573
5070
|
type ToolCallApprovalAction = 'approve' | 'reject' | 'extra';
|
|
5574
|
-
//#endregion
|
|
5575
|
-
//#region src/blocks/AIKit/ToolCall/useApprovalShortcut.d.ts
|
|
5576
5071
|
type ShortcutKey = 'enter' | 'mod-enter' | 'none';
|
|
5577
|
-
//#endregion
|
|
5578
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApprovalActions.d.ts
|
|
5579
5072
|
type ToolCallApprovalExtraAction = {
|
|
5580
5073
|
label: string;
|
|
5581
5074
|
onClick: () => void;
|
|
5582
5075
|
};
|
|
5583
|
-
//#endregion
|
|
5584
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApprovalNotice.d.ts
|
|
5585
5076
|
type NoticeTone = 'warning' | 'destructive' | 'info';
|
|
5586
5077
|
type ToolCallApprovalNoticeItem = {
|
|
5587
5078
|
tone: NoticeTone;
|
|
5588
5079
|
content: ReactNode;
|
|
5589
5080
|
icon?: LucideIcon;
|
|
5590
5081
|
};
|
|
5591
|
-
//#endregion
|
|
5592
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallApproval.d.ts
|
|
5593
5082
|
type ToolCallApprovalProps = {
|
|
5594
5083
|
status: ToolCallApprovalStatus;
|
|
5595
5084
|
/** Replaces the status badge's text, e.g. `Cancelled by Kai`. */
|
|
@@ -5635,8 +5124,6 @@ type ToolCallApprovalProps = {
|
|
|
5635
5124
|
* - Actions render only while `pending`.
|
|
5636
5125
|
*/
|
|
5637
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;
|
|
5638
|
-
//#endregion
|
|
5639
|
-
//#region src/blocks/AIKit/ToolCall/ToolCallChip.d.ts
|
|
5640
5127
|
type ToolCallState = 'processing' | 'done' | 'error';
|
|
5641
5128
|
type ToolCallChipProps = {
|
|
5642
5129
|
label: ReactNode;
|
|
@@ -5655,8 +5142,6 @@ type ToolCallChipProps = {
|
|
|
5655
5142
|
* or pass `onClick` for navigation; the app owns deep-linking.
|
|
5656
5143
|
*/
|
|
5657
5144
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className }: ToolCallChipProps) => import("react").JSX.Element;
|
|
5658
|
-
//#endregion
|
|
5659
|
-
//#region src/blocks/AIKit/ToolCallStatusHeader.d.ts
|
|
5660
5145
|
type ToolCallStatus = 'processing' | 'warning' | 'success' | 'error';
|
|
5661
5146
|
type Props$9 = {
|
|
5662
5147
|
icon: LucideIcon;
|
|
@@ -5669,17 +5154,13 @@ type Props$9 = {
|
|
|
5669
5154
|
onToggleCollapse?: () => void;
|
|
5670
5155
|
};
|
|
5671
5156
|
declare const ToolCallStatusHeader: ({ icon: IconComponent, iconSpin, status, text, needsConfirmation, isCollapsible, isCollapsed, onToggleCollapse }: Props$9) => import("react").JSX.Element;
|
|
5672
|
-
//#endregion
|
|
5673
|
-
//#region src/components/Progress/Progress.d.ts
|
|
5674
5157
|
declare const variants$4: (props?: ({
|
|
5675
5158
|
variant?: "default" | "error" | "success" | "warning" | null | undefined;
|
|
5676
5159
|
size?: "lg" | "sm" | null | undefined;
|
|
5677
5160
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5678
|
-
type Props$
|
|
5679
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5680
|
-
|
|
5681
|
-
//#region src/blocks/AIKit/UsageBar.d.ts
|
|
5682
|
-
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'> & {
|
|
5683
5164
|
/** Share of the budget SPENT, 0–100; the bar fills with it, the figure shows what is LEFT. */
|
|
5684
5165
|
value: number;
|
|
5685
5166
|
label: ReactNode;
|
|
@@ -5691,10 +5172,8 @@ type Props$120 = Omit<ComponentProps<'span'>, 'children'> & {
|
|
|
5691
5172
|
*
|
|
5692
5173
|
* - `value` is clamped by `clampPercentage` — `Progress`'s indicator is unclamped.
|
|
5693
5174
|
*/
|
|
5694
|
-
declare const UsageBar: ({ value, label, variant, className, ...props }: Props$
|
|
5695
|
-
|
|
5696
|
-
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
5697
|
-
type Props$119 = {
|
|
5175
|
+
declare const UsageBar: ({ value, label, variant, className, ...props }: Props$119) => import("react").JSX.Element;
|
|
5176
|
+
type Props$118 = {
|
|
5698
5177
|
value: number;
|
|
5699
5178
|
/** `true`/`'error'` renders a red corner badge, `'warning'` an amber one. */
|
|
5700
5179
|
alert?: boolean | 'warning' | 'error';
|
|
@@ -5709,18 +5188,7 @@ type Props$119 = {
|
|
|
5709
5188
|
open?: ComponentProps<typeof HoverCard>['open'];
|
|
5710
5189
|
onOpenChange?: ComponentProps<typeof HoverCard>['onOpenChange'];
|
|
5711
5190
|
};
|
|
5712
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, open, onOpenChange }: Props$
|
|
5713
|
-
//#endregion
|
|
5714
|
-
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
5715
|
-
type Props$118 = {
|
|
5716
|
-
value: number;
|
|
5717
|
-
size?: number;
|
|
5718
|
-
strokeWidth?: number;
|
|
5719
|
-
className?: string;
|
|
5720
|
-
};
|
|
5721
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$118) => import("react").JSX.Element;
|
|
5722
|
-
//#endregion
|
|
5723
|
-
//#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;
|
|
5724
5192
|
/**
|
|
5725
5193
|
* Clamp a percentage to 0–100 and normalize non-finite input to 0.
|
|
5726
5194
|
*
|
|
@@ -5737,12 +5205,8 @@ declare const clampPercentage: (value: number) => number;
|
|
|
5737
5205
|
* from the raw value, exactly at the boundary everything else turns on.
|
|
5738
5206
|
*/
|
|
5739
5207
|
declare const formatPercentage: (value: number) => string;
|
|
5740
|
-
//#endregion
|
|
5741
|
-
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
5742
5208
|
type Props$117 = ComponentProps<typeof Content$5>;
|
|
5743
5209
|
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$117) => import("react").JSX.Element;
|
|
5744
|
-
//#endregion
|
|
5745
|
-
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
5746
5210
|
type Props$116 = ComponentProps<typeof CollapsibleTrigger>;
|
|
5747
5211
|
/**
|
|
5748
5212
|
* A `Collapsible` toggle.
|
|
@@ -5752,23 +5216,17 @@ type Props$116 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
5752
5216
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
5753
5217
|
*/
|
|
5754
5218
|
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$116) => import("react").JSX.Element;
|
|
5755
|
-
//#endregion
|
|
5756
|
-
//#region src/components/Collapsible/Collapsible.d.ts
|
|
5757
5219
|
type Props$115 = ComponentProps<typeof Root$12>;
|
|
5758
5220
|
declare function Collapsible(props: Props$115): import("react").JSX.Element;
|
|
5759
5221
|
declare namespace Collapsible {
|
|
5760
5222
|
export { CollapsibleTrigger$1 as Trigger };
|
|
5761
5223
|
export { CollapsibleContent as Content };
|
|
5762
5224
|
}
|
|
5763
|
-
//#endregion
|
|
5764
|
-
//#region src/components/Alert/AlertRoot.d.ts
|
|
5765
5225
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
5766
5226
|
type Props$114 = {
|
|
5767
5227
|
variant?: Variant$4;
|
|
5768
5228
|
} & ComponentProps<'div'>;
|
|
5769
5229
|
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$114) => import("react").JSX.Element;
|
|
5770
|
-
//#endregion
|
|
5771
|
-
//#region src/components/Alert/Alert.d.ts
|
|
5772
5230
|
type CommonProps = {
|
|
5773
5231
|
hideIcon?: boolean;
|
|
5774
5232
|
icon?: ReactNode;
|
|
@@ -5797,8 +5255,6 @@ type Props$113 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
5797
5255
|
* @see RECIPES.md#alert-with-action
|
|
5798
5256
|
*/
|
|
5799
5257
|
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$113) => import("react").JSX.Element;
|
|
5800
|
-
//#endregion
|
|
5801
|
-
//#region src/components/Toast/ToastRoot.d.ts
|
|
5802
5258
|
declare const variants$3: (props?: ({
|
|
5803
5259
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
5804
5260
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5813,8 +5269,6 @@ type Props$112 = {
|
|
|
5813
5269
|
duration?: number;
|
|
5814
5270
|
} & Variants;
|
|
5815
5271
|
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$112) => import("react").JSX.Element;
|
|
5816
|
-
//#endregion
|
|
5817
|
-
//#region src/components/Toast/toast.d.ts
|
|
5818
5272
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
5819
5273
|
type Title$2 = ToastProps['title'] | ((opts: {
|
|
5820
5274
|
dismiss: () => void;
|
|
@@ -5833,8 +5287,6 @@ declare namespace toast {
|
|
|
5833
5287
|
var dismiss: (toastId?: ToastOptions['id']) => string | number;
|
|
5834
5288
|
var dismissAll: () => string | number;
|
|
5835
5289
|
}
|
|
5836
|
-
//#endregion
|
|
5837
|
-
//#region src/components/Toast/useNotification.d.ts
|
|
5838
5290
|
type Props$111 = {
|
|
5839
5291
|
enabled?: boolean;
|
|
5840
5292
|
/** Shows the notification again this many ms after the user dismisses it, while still enabled. */
|
|
@@ -5849,26 +5301,18 @@ type Props$111 = {
|
|
|
5849
5301
|
* options apply the next time it shows.
|
|
5850
5302
|
*/
|
|
5851
5303
|
declare const useNotification: ({ enabled, remindAfter, ...toastOptions }: Props$111) => void;
|
|
5852
|
-
//#endregion
|
|
5853
|
-
//#region src/components/Toast/Toaster.d.ts
|
|
5854
5304
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5855
5305
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react").JSX.Element;
|
|
5856
|
-
//#endregion
|
|
5857
|
-
//#region src/components/EmptySearchContent.d.ts
|
|
5858
5306
|
type Props$110 = {
|
|
5859
5307
|
children?: ReactNode;
|
|
5860
5308
|
};
|
|
5861
5309
|
declare const EmptySearchContent: ({ children }: Props$110) => import("react").JSX.Element;
|
|
5862
|
-
//#endregion
|
|
5863
|
-
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
5864
5310
|
type Props$109 = {
|
|
5865
5311
|
title: string;
|
|
5866
5312
|
children: ReactNode;
|
|
5867
5313
|
className?: string;
|
|
5868
5314
|
};
|
|
5869
5315
|
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$109) => import("react").JSX.Element;
|
|
5870
|
-
//#endregion
|
|
5871
|
-
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
5872
5316
|
declare const emptyStateClassnames: (props?: ({
|
|
5873
5317
|
variant?: "compact" | "default" | null | undefined;
|
|
5874
5318
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5908,8 +5352,6 @@ declare const EmptyState: typeof EmptyStateRoot & {
|
|
|
5908
5352
|
Description: typeof EmptyStateDescription;
|
|
5909
5353
|
Actions: typeof EmptyStateActions;
|
|
5910
5354
|
};
|
|
5911
|
-
//#endregion
|
|
5912
|
-
//#region src/blocks/ErrorState/ErrorState.d.ts
|
|
5913
5355
|
declare const errorStateClassnames: (props?: ({
|
|
5914
5356
|
variant?: "compact" | "default" | "destructive" | null | undefined;
|
|
5915
5357
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -5954,8 +5396,6 @@ declare const ErrorState: typeof ErrorStateRoot & {
|
|
|
5954
5396
|
Description: typeof ErrorStateDescription;
|
|
5955
5397
|
Actions: typeof ErrorStateActions;
|
|
5956
5398
|
};
|
|
5957
|
-
//#endregion
|
|
5958
|
-
//#region src/components/Skeleton/Skeleton.d.ts
|
|
5959
5399
|
type Height = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
5960
5400
|
type SkeletonProps = {
|
|
5961
5401
|
/** `xxs` (12px) through `2xl` (48px). */
|
|
@@ -5974,8 +5414,6 @@ type SkeletonProps = {
|
|
|
5974
5414
|
* @see RECIPES.md#data-card-with-skeleton
|
|
5975
5415
|
*/
|
|
5976
5416
|
declare const Skeleton: ({ height, className, count }: SkeletonProps) => import("react").JSX.Element;
|
|
5977
|
-
//#endregion
|
|
5978
|
-
//#region src/components/Skeleton/SkeletonList.d.ts
|
|
5979
5417
|
declare const SkeletonList: ({ hasHeading, groups, className, iconHeight, rowHeight, iconClassName }: {
|
|
5980
5418
|
hasHeading?: boolean;
|
|
5981
5419
|
groups?: number;
|
|
@@ -5984,17 +5422,11 @@ declare const SkeletonList: ({ hasHeading, groups, className, iconHeight, rowHei
|
|
|
5984
5422
|
rowHeight?: Height;
|
|
5985
5423
|
iconClassName?: string;
|
|
5986
5424
|
}) => import("react").JSX.Element;
|
|
5987
|
-
//#endregion
|
|
5988
|
-
//#region src/components/DotsLoader.d.ts
|
|
5989
5425
|
type DotsLoaderProps = {
|
|
5990
5426
|
className?: string;
|
|
5991
5427
|
};
|
|
5992
5428
|
declare const DotsLoader: ({ className }: DotsLoaderProps) => import("react").JSX.Element;
|
|
5993
|
-
//#endregion
|
|
5994
|
-
//#region src/blocks/DiagramShared/DiagramSkeleton.d.ts
|
|
5995
5429
|
declare const DiagramSkeleton: () => import("react").JSX.Element;
|
|
5996
|
-
//#endregion
|
|
5997
|
-
//#region src/components/CollapsiblePanel.d.ts
|
|
5998
5430
|
type Props$108 = {
|
|
5999
5431
|
header: ReactNode;
|
|
6000
5432
|
isDisabled?: boolean;
|
|
@@ -6008,8 +5440,6 @@ type Props$108 = {
|
|
|
6008
5440
|
children: ReactNode;
|
|
6009
5441
|
};
|
|
6010
5442
|
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$108) => import("react").JSX.Element;
|
|
6011
|
-
//#endregion
|
|
6012
|
-
//#region src/components/PanelWithDetails.d.ts
|
|
6013
5443
|
type Props$107 = PropsWithChildren<{
|
|
6014
5444
|
defaultExpanded?: boolean;
|
|
6015
5445
|
labelCollapse?: ReactNode;
|
|
@@ -6018,8 +5448,6 @@ type Props$107 = PropsWithChildren<{
|
|
|
6018
5448
|
className?: string;
|
|
6019
5449
|
}>;
|
|
6020
5450
|
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$107) => import("react").JSX.Element;
|
|
6021
|
-
//#endregion
|
|
6022
|
-
//#region src/blocks/AppShell/types.d.ts
|
|
6023
5451
|
/**
|
|
6024
5452
|
* How far the header row stretches across the sidebar geometry.
|
|
6025
5453
|
*
|
|
@@ -6033,8 +5461,6 @@ type AppShellHeaderSpan = 'content' | 'full';
|
|
|
6033
5461
|
* - Pair it with `appShellSlotSelector` to target a slot from outside the shell.
|
|
6034
5462
|
*/
|
|
6035
5463
|
type AppShellSlot = 'header' | 'sidebar' | 'main' | 'aside';
|
|
6036
|
-
//#endregion
|
|
6037
|
-
//#region src/blocks/AppShell/AppShell.d.ts
|
|
6038
5464
|
/**
|
|
6039
5465
|
* Targets a shell slot from outside the shell.
|
|
6040
5466
|
*
|
|
@@ -6105,8 +5531,6 @@ declare const AppShell: typeof Root$17 & {
|
|
|
6105
5531
|
/** Optional right rail. Present in both shells. */
|
|
6106
5532
|
Aside: typeof Aside;
|
|
6107
5533
|
};
|
|
6108
|
-
//#endregion
|
|
6109
|
-
//#region src/blocks/AuthLayout/AuthLayout.d.ts
|
|
6110
5534
|
/**
|
|
6111
5535
|
* Content-column width.
|
|
6112
5536
|
*
|
|
@@ -6154,8 +5578,6 @@ declare const AuthLayout: typeof Root$16 & {
|
|
|
6154
5578
|
Content: typeof Content$7;
|
|
6155
5579
|
Footer: typeof Footer$1;
|
|
6156
5580
|
};
|
|
6157
|
-
//#endregion
|
|
6158
|
-
//#region src/blocks/PageLayout/PageLayout.d.ts
|
|
6159
5581
|
/** `maxWidth`: `narrow` for forms, `default` for most pages, `wide` for dense detail views, `full` edge-to-edge. */
|
|
6160
5582
|
type RootProps$7 = ComponentProps<'div'> & {
|
|
6161
5583
|
maxWidth?: 'default' | 'narrow' | 'wide' | 'full';
|
|
@@ -6197,8 +5619,6 @@ declare const PageLayout: typeof Root$15 & {
|
|
|
6197
5619
|
/** Form submit bar; `sticky` pins it to the viewport. */
|
|
6198
5620
|
Footer: typeof Footer;
|
|
6199
5621
|
};
|
|
6200
|
-
//#endregion
|
|
6201
|
-
//#region src/blocks/PageHeader/PageHeaderDetail.d.ts
|
|
6202
5622
|
type PageHeaderDetailProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
6203
5623
|
/** Chain to the entity's parent. Don't end with the entity's own name — that's the `title`. */
|
|
6204
5624
|
breadcrumbs: ReactNode;
|
|
@@ -6230,8 +5650,6 @@ type PageHeaderDetailProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
|
6230
5650
|
* @see RECIPES.md#list-detail
|
|
6231
5651
|
*/
|
|
6232
5652
|
declare const PageHeaderDetail: ({ ref, className, breadcrumbs, overflowActions, title, titleIcon, badges, description, compact, primaryAction, secondaryAction, headerNav, fullWidthDescription, ...props }: PageHeaderDetailProps) => import("react").JSX.Element;
|
|
6233
|
-
//#endregion
|
|
6234
|
-
//#region src/blocks/PageHeader/PageHeaderIndex.d.ts
|
|
6235
5653
|
type PageHeaderIndexProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
6236
5654
|
title: ReactNode;
|
|
6237
5655
|
/** Prose below the title; `metadata` wins when both are set. */
|
|
@@ -6254,8 +5672,6 @@ type PageHeaderIndexProps = Omit<ComponentProps<'header'>, 'title'> & {
|
|
|
6254
5672
|
* - Search and filters belong in `PageToolbar`, not here.
|
|
6255
5673
|
*/
|
|
6256
5674
|
declare const PageHeaderIndex: ({ ref, className, title, description, metadata, documentation, action, headerNav, fullWidthDescription, ...props }: PageHeaderIndexProps) => import("react").JSX.Element;
|
|
6257
|
-
//#endregion
|
|
6258
|
-
//#region src/blocks/PageHeader/PageHeader.d.ts
|
|
6259
5675
|
/**
|
|
6260
5676
|
* Page header whose variant types enforce the page-header patterns.
|
|
6261
5677
|
*
|
|
@@ -6270,8 +5686,6 @@ declare const PageHeader: {
|
|
|
6270
5686
|
/** Single-entity pages: required breadcrumbs, overflow menu, max 2 visible actions. */
|
|
6271
5687
|
Detail: typeof PageHeaderDetail;
|
|
6272
5688
|
};
|
|
6273
|
-
//#endregion
|
|
6274
|
-
//#region src/blocks/PageToolbar/PageToolbarToken.d.ts
|
|
6275
5689
|
type PageToolbarTokenProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'variant' | 'color' | 'suffix' | 'children' | 'asChild' | 'popover'> & {
|
|
6276
5690
|
children: ReactNode;
|
|
6277
5691
|
/** Popover content rendered when the chevron-down trigger is clicked — typically a value editor. */
|
|
@@ -6285,8 +5699,6 @@ type PageToolbarTokenProps = Omit<ComponentPropsWithoutRef<typeof Badge>, 'varia
|
|
|
6285
5699
|
* is supplied by the caller via the `popover` slot (typically a `Combobox` or option list).
|
|
6286
5700
|
*/
|
|
6287
5701
|
declare const PageToolbarToken: ({ children, popover, onRemove, removeAriaLabel, ...props }: PageToolbarTokenProps) => import("react").JSX.Element;
|
|
6288
|
-
//#endregion
|
|
6289
|
-
//#region src/blocks/PageToolbar/PageToolbar.d.ts
|
|
6290
5702
|
type DivProps = ComponentProps<'div'>;
|
|
6291
5703
|
declare const Root$14: ({ ref, className, children, ...props }: DivProps) => import("react").JSX.Element;
|
|
6292
5704
|
declare const Search$1: ({ ref, className, children, ...props }: DivProps) => import("react").JSX.Element;
|
|
@@ -6327,8 +5739,6 @@ declare const PageToolbar: typeof Root$14 & {
|
|
|
6327
5739
|
AddFilter: typeof AddFilter;
|
|
6328
5740
|
Clear: typeof Clear;
|
|
6329
5741
|
};
|
|
6330
|
-
//#endregion
|
|
6331
|
-
//#region src/blocks/SectionNav/types.d.ts
|
|
6332
5742
|
type SectionNavItem = {
|
|
6333
5743
|
/** Identity and navigation target (`targetId`, matched by `activeId`); unique across `groups`. */
|
|
6334
5744
|
id: string;
|
|
@@ -6360,8 +5770,6 @@ type SectionNavItemRenderProps = {
|
|
|
6360
5770
|
onClick: (event: MouseEvent<HTMLElement>) => void;
|
|
6361
5771
|
};
|
|
6362
5772
|
};
|
|
6363
|
-
//#endregion
|
|
6364
|
-
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
6365
5773
|
type Props$106 = {
|
|
6366
5774
|
/** Already filtered: visibility, permissions and flags stay in the app; rendered as given. */
|
|
6367
5775
|
groups: SectionNavGroup[];
|
|
@@ -6385,8 +5793,6 @@ type Props$106 = {
|
|
|
6385
5793
|
* @see RECIPES.md#section-nav
|
|
6386
5794
|
*/
|
|
6387
5795
|
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$106) => import("react").JSX.Element;
|
|
6388
|
-
//#endregion
|
|
6389
|
-
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
6390
5796
|
type Props$105 = {
|
|
6391
5797
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
6392
5798
|
variant?: 'mark' | 'wordmark';
|
|
@@ -6403,14 +5809,8 @@ type Props$105 = {
|
|
|
6403
5809
|
* Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
6404
5810
|
*/
|
|
6405
5811
|
declare const BrandLogo: ({ variant, className, label }: Props$105) => import("react").JSX.Element | null;
|
|
6406
|
-
//#endregion
|
|
6407
|
-
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
6408
5812
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react").JSX.Element;
|
|
6409
|
-
//#endregion
|
|
6410
|
-
//#region src/components/Resizable/ResizablePanelGroup.d.ts
|
|
6411
5813
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react").JSX.Element;
|
|
6412
|
-
//#endregion
|
|
6413
|
-
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
6414
5814
|
type Props$104 = {
|
|
6415
5815
|
className?: string;
|
|
6416
5816
|
children?: ReactNode;
|
|
@@ -6418,51 +5818,31 @@ type Props$104 = {
|
|
|
6418
5818
|
ref?: ComponentProps<'div'>['ref'];
|
|
6419
5819
|
};
|
|
6420
5820
|
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$104) => import("react").JSX.Element;
|
|
6421
|
-
//#endregion
|
|
6422
|
-
//#region src/components/Sidebar/types.d.ts
|
|
6423
5821
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
6424
5822
|
type SidebarSide = 'left' | 'right';
|
|
6425
5823
|
type SidebarState$1 = 'expanded' | 'collapsed';
|
|
6426
5824
|
type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
6427
5825
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
6428
|
-
//#endregion
|
|
6429
|
-
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
6430
5826
|
type Props$103 = ComponentProps<typeof Slot$1> & {
|
|
6431
5827
|
side?: SidebarSide;
|
|
6432
5828
|
};
|
|
6433
5829
|
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$103) => import("react").JSX.Element;
|
|
6434
|
-
//#endregion
|
|
6435
|
-
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
6436
5830
|
type Props$102 = ComponentProps<'div'>;
|
|
6437
5831
|
declare const SidebarFooter: ({ className, ...props }: Props$102) => import("react").JSX.Element;
|
|
6438
|
-
//#endregion
|
|
6439
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
6440
5832
|
type Props$101 = ComponentProps<'div'>;
|
|
6441
5833
|
declare const SidebarGroup: ({ className, ...props }: Props$101) => import("react").JSX.Element;
|
|
6442
|
-
//#endregion
|
|
6443
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
6444
5834
|
type Props$100 = ComponentProps<'div'>;
|
|
6445
5835
|
declare const SidebarGroupContent: ({ className, ...props }: Props$100) => import("react").JSX.Element;
|
|
6446
|
-
//#endregion
|
|
6447
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
6448
5836
|
type Props$99 = ComponentProps<'button'>;
|
|
6449
5837
|
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$99) => import("react").JSX.Element;
|
|
6450
|
-
//#endregion
|
|
6451
|
-
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
6452
5838
|
type Props$98 = ComponentProps<'div'>;
|
|
6453
5839
|
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$98 & {
|
|
6454
5840
|
ref?: Ref<HTMLDivElement>;
|
|
6455
5841
|
}) => import("react").JSX.Element;
|
|
6456
|
-
//#endregion
|
|
6457
|
-
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
6458
5842
|
type Props$97 = ComponentProps<'div'>;
|
|
6459
5843
|
declare const SidebarHeader: ({ className, children, ...props }: Props$97) => import("react").JSX.Element;
|
|
6460
|
-
//#endregion
|
|
6461
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
6462
5844
|
type Props$96 = ComponentProps<'ul'>;
|
|
6463
5845
|
declare const SidebarMenu: ({ className, ...props }: Props$96) => import("react").JSX.Element;
|
|
6464
|
-
//#endregion
|
|
6465
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
6466
5846
|
type Props$95 = ComponentProps<'button'> & {
|
|
6467
5847
|
asChild?: boolean;
|
|
6468
5848
|
tooltip?: ReactNode;
|
|
@@ -6473,38 +5853,24 @@ type Props$95 = ComponentProps<'button'> & {
|
|
|
6473
5853
|
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, onClick, ...props }: Props$95 & {
|
|
6474
5854
|
ref?: Ref<HTMLButtonElement>;
|
|
6475
5855
|
}) => import("react").JSX.Element;
|
|
6476
|
-
//#endregion
|
|
6477
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
6478
5856
|
type Props$94 = ComponentProps<'li'>;
|
|
6479
5857
|
declare const SidebarMenuItem: ({ className, ...props }: Props$94) => import("react").JSX.Element;
|
|
6480
|
-
//#endregion
|
|
6481
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
6482
5858
|
type Props$93 = ComponentProps<'span'>;
|
|
6483
5859
|
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$93) => import("react").JSX.Element;
|
|
6484
|
-
//#endregion
|
|
6485
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
6486
5860
|
type Props$92 = ComponentProps<'button'> & {
|
|
6487
5861
|
asChild?: boolean;
|
|
6488
5862
|
showOnHover?: boolean;
|
|
6489
5863
|
};
|
|
6490
5864
|
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$92) => import("react").JSX.Element;
|
|
6491
|
-
//#endregion
|
|
6492
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
6493
5865
|
type Props$91 = Omit<ComponentProps<'input'>, 'prefix'>;
|
|
6494
5866
|
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$91) => import("react").JSX.Element;
|
|
6495
|
-
//#endregion
|
|
6496
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
6497
5867
|
type Props$90 = HTMLAttributes<HTMLDivElement> & {
|
|
6498
5868
|
icon: ReactNode;
|
|
6499
5869
|
title: ReactNode;
|
|
6500
5870
|
};
|
|
6501
5871
|
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$90) => import("react").JSX.Element;
|
|
6502
|
-
//#endregion
|
|
6503
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
6504
5872
|
type Props$89 = ComponentProps<'div'>;
|
|
6505
5873
|
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$89) => import("react").JSX.Element;
|
|
6506
|
-
//#endregion
|
|
6507
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
6508
5874
|
type Props$88 = {
|
|
6509
5875
|
children: ReactNode;
|
|
6510
5876
|
icon: ReactNode;
|
|
@@ -6512,16 +5878,12 @@ type Props$88 = {
|
|
|
6512
5878
|
label: string;
|
|
6513
5879
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
6514
5880
|
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$88) => import("react").JSX.Element;
|
|
6515
|
-
//#endregion
|
|
6516
|
-
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
6517
5881
|
type Props$87 = ComponentProps<'button'> & {
|
|
6518
5882
|
asChild?: boolean;
|
|
6519
5883
|
/** Set by `Sidebar.Trigger` on the child it wraps — not part of a call site's API. */
|
|
6520
5884
|
'data-sidebar-trigger'?: string;
|
|
6521
5885
|
};
|
|
6522
5886
|
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, onClick, 'aria-current': ariaCurrent, ...props }: Props$87) => import("react").JSX.Element;
|
|
6523
|
-
//#endregion
|
|
6524
|
-
//#region src/components/Separator/Separator.d.ts
|
|
6525
5887
|
declare const separatorVariants: (props?: ({
|
|
6526
5888
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
6527
5889
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -6531,19 +5893,13 @@ type Props$86 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
6531
5893
|
label?: ReactNode;
|
|
6532
5894
|
};
|
|
6533
5895
|
declare const Separator: ({ className, orientation, size, label, ...props }: Props$86) => import("react").JSX.Element;
|
|
6534
|
-
//#endregion
|
|
6535
|
-
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
6536
5896
|
type Props$85 = Omit<ComponentProps<typeof Separator>, 'orientation' | 'size'>;
|
|
6537
5897
|
declare const SidebarSeparator: ({ className, ...props }: Props$85) => import("react").JSX.Element;
|
|
6538
|
-
//#endregion
|
|
6539
|
-
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
6540
5898
|
type Props$84 = ComponentProps<typeof Slot$1> & {
|
|
6541
5899
|
side?: SidebarSide;
|
|
6542
5900
|
hideWhenCollapsed?: boolean;
|
|
6543
5901
|
};
|
|
6544
5902
|
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$84) => import("react").JSX.Element;
|
|
6545
|
-
//#endregion
|
|
6546
|
-
//#region src/components/Sidebar/Sidebar.d.ts
|
|
6547
5903
|
/**
|
|
6548
5904
|
* `className` and `style` land on the rail's inner box; other props on the outer element, so a
|
|
6549
5905
|
* `ThemeScope` reaches it.
|
|
@@ -6585,8 +5941,6 @@ declare namespace Sidebar {
|
|
|
6585
5941
|
export { SidebarMenuSub as SubMenu };
|
|
6586
5942
|
export { SidebarMenuSubItem as SubItem };
|
|
6587
5943
|
}
|
|
6588
|
-
//#endregion
|
|
6589
|
-
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
6590
5944
|
type Props$82 = {
|
|
6591
5945
|
children?: ReactNode;
|
|
6592
5946
|
defaultLeftMode?: SidebarMode;
|
|
@@ -6613,8 +5967,6 @@ type Props$82 = {
|
|
|
6613
5967
|
defaultFilledSide?: SidebarSide | null;
|
|
6614
5968
|
};
|
|
6615
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;
|
|
6616
|
-
//#endregion
|
|
6617
|
-
//#region src/components/Sidebar/utils.d.ts
|
|
6618
5970
|
type Input = {
|
|
6619
5971
|
variant: SidebarVariant;
|
|
6620
5972
|
width?: number;
|
|
@@ -6630,8 +5982,6 @@ type EffectiveWidths = {
|
|
|
6630
5982
|
fill: number;
|
|
6631
5983
|
};
|
|
6632
5984
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, isMobile }: Input) => EffectiveWidths;
|
|
6633
|
-
//#endregion
|
|
6634
|
-
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
6635
5985
|
type Props$81 = {
|
|
6636
5986
|
defaultMode?: SidebarMode;
|
|
6637
5987
|
mode?: SidebarMode;
|
|
@@ -6646,8 +5996,6 @@ declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: P
|
|
|
6646
5996
|
sidebarElement: HTMLElement | null;
|
|
6647
5997
|
setSidebarElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
6648
5998
|
};
|
|
6649
|
-
//#endregion
|
|
6650
|
-
//#region src/components/Sidebar/SidebarProvider/context.d.ts
|
|
6651
5999
|
type SidebarWidths = ReturnType<typeof calcEffectiveWidths>;
|
|
6652
6000
|
type SidebarState = ReturnType<typeof useSidebarState>;
|
|
6653
6001
|
type SidebarSideValue = SidebarState & {
|
|
@@ -6676,37 +6024,25 @@ type SidebarSideValue = SidebarState & {
|
|
|
6676
6024
|
/** `useSidebar` that returns `null` outside a `SidebarProvider` instead of throwing. */
|
|
6677
6025
|
declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | null;
|
|
6678
6026
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
6679
|
-
//#endregion
|
|
6680
|
-
//#region src/components/Navbar/NavbarContent.d.ts
|
|
6681
6027
|
type Props$80 = {
|
|
6682
6028
|
className?: string;
|
|
6683
6029
|
children?: ReactNode;
|
|
6684
6030
|
};
|
|
6685
6031
|
declare const NavbarContent: ({ children, className }: Props$80) => import("react").JSX.Element;
|
|
6686
|
-
//#endregion
|
|
6687
|
-
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
6688
6032
|
type Props$79 = ComponentProps<'div'>;
|
|
6689
6033
|
declare const NavbarFooter: ({ children, className, ...rest }: Props$79) => import("react").JSX.Element;
|
|
6690
|
-
//#endregion
|
|
6691
|
-
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
6692
6034
|
type Props$78 = ComponentProps<'div'>;
|
|
6693
6035
|
declare const NavbarHeader: ({ children, className, ...rest }: Props$78) => import("react").JSX.Element;
|
|
6694
|
-
//#endregion
|
|
6695
|
-
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
6696
6036
|
declare const variants$2: (props?: ({
|
|
6697
6037
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
6698
6038
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6699
6039
|
type Props$77 = ComponentProps<'ul'> & VariantProps<typeof variants$2>;
|
|
6700
6040
|
declare const NavbarMenu: ({ className, marker, ...rest }: Props$77) => import("react").JSX.Element;
|
|
6701
|
-
//#endregion
|
|
6702
|
-
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
6703
6041
|
type Props$76 = ComponentProps<'button'> & {
|
|
6704
6042
|
src?: string;
|
|
6705
6043
|
alt?: string;
|
|
6706
6044
|
};
|
|
6707
6045
|
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$76) => import("react").JSX.Element;
|
|
6708
|
-
//#endregion
|
|
6709
|
-
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
6710
6046
|
declare const variants$1: (props?: ({
|
|
6711
6047
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
6712
6048
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6716,12 +6052,8 @@ type Props$75 = ComponentProps<'button'> & {
|
|
|
6716
6052
|
asChild?: boolean;
|
|
6717
6053
|
} & VariantProps<typeof variants$1>;
|
|
6718
6054
|
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$75) => import("react").JSX.Element;
|
|
6719
|
-
//#endregion
|
|
6720
|
-
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
6721
6055
|
type Props$74 = ComponentProps<'li'>;
|
|
6722
6056
|
declare const NavbarMenuItem: ({ className, ...rest }: Props$74) => import("react").JSX.Element;
|
|
6723
|
-
//#endregion
|
|
6724
|
-
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
6725
6057
|
declare const variants: (props?: ({
|
|
6726
6058
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
6727
6059
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6729,8 +6061,6 @@ type Props$73 = {
|
|
|
6729
6061
|
asChild?: boolean;
|
|
6730
6062
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
6731
6063
|
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$73) => import("react").JSX.Element;
|
|
6732
|
-
//#endregion
|
|
6733
|
-
//#region src/components/Navbar/Navbar.d.ts
|
|
6734
6064
|
declare const navbarClassnames: (props?: ({
|
|
6735
6065
|
bordered?: boolean | null | undefined;
|
|
6736
6066
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -6748,13 +6078,9 @@ declare namespace Navbar {
|
|
|
6748
6078
|
export { NavbarMenuItemAdornment as MenuItemAdornment };
|
|
6749
6079
|
export { NavbarMenuAvatar as MenuAvatar };
|
|
6750
6080
|
}
|
|
6751
|
-
//#endregion
|
|
6752
|
-
//#region src/components/Workbench/constants.d.ts
|
|
6753
6081
|
declare const DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM = 2.75;
|
|
6754
6082
|
declare const DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX = 320;
|
|
6755
6083
|
declare const MIN_WORKBENCH_PANEL_HEIGHT_IN_PX = 120;
|
|
6756
|
-
//#endregion
|
|
6757
|
-
//#region src/components/Workbench/context.d.ts
|
|
6758
6084
|
/**
|
|
6759
6085
|
* Full screen is a mode of the open panel, not a flag beside it — as two booleans the fourth
|
|
6760
6086
|
* combination (collapsed *and* full screen) is expressible but meaningless.
|
|
@@ -6781,20 +6107,12 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
6781
6107
|
* three levels down — so the state travels by context rather than props.
|
|
6782
6108
|
*/
|
|
6783
6109
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6784
|
-
//#endregion
|
|
6785
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
6786
6110
|
type Props$71 = ComponentProps<'div'>;
|
|
6787
6111
|
declare const WorkbenchBarEnd: ({ className, ...props }: Props$71) => import("react").JSX.Element;
|
|
6788
|
-
//#endregion
|
|
6789
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
6790
6112
|
type Props$70 = ComponentProps<'div'>;
|
|
6791
6113
|
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$70) => import("react").JSX.Element;
|
|
6792
|
-
//#endregion
|
|
6793
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
6794
6114
|
type Props$69 = ComponentProps<'div'>;
|
|
6795
6115
|
declare const WorkbenchBarStart: ({ className, ...props }: Props$69) => import("react").JSX.Element;
|
|
6796
|
-
//#endregion
|
|
6797
|
-
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
6798
6116
|
type Props$68 = ComponentProps<'div'>;
|
|
6799
6117
|
declare function WorkbenchBar({ className, children, ...props }: Props$68): import("react").JSX.Element;
|
|
6800
6118
|
declare namespace WorkbenchBar {
|
|
@@ -6802,36 +6120,22 @@ declare namespace WorkbenchBar {
|
|
|
6802
6120
|
export { WorkbenchBarMiddle as Middle };
|
|
6803
6121
|
export { WorkbenchBarEnd as End };
|
|
6804
6122
|
}
|
|
6805
|
-
//#endregion
|
|
6806
|
-
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
6807
6123
|
type Props$67 = ComponentProps<'button'> & {
|
|
6808
6124
|
asChild?: boolean;
|
|
6809
6125
|
};
|
|
6810
6126
|
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$67) => import("react").JSX.Element;
|
|
6811
|
-
//#endregion
|
|
6812
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
6813
6127
|
type Props$66 = ComponentProps<'div'>;
|
|
6814
6128
|
declare const WorkbenchPanel: ({ className, children, ...props }: Props$66) => import("react").JSX.Element;
|
|
6815
|
-
//#endregion
|
|
6816
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
6817
6129
|
type Props$65 = ComponentProps<'div'> & {
|
|
6818
6130
|
asChild?: boolean;
|
|
6819
6131
|
};
|
|
6820
6132
|
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$65) => import("react").JSX.Element;
|
|
6821
|
-
//#endregion
|
|
6822
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
6823
6133
|
type Props$64 = ComponentProps<'div'>;
|
|
6824
6134
|
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$64) => import("react").JSX.Element;
|
|
6825
|
-
//#endregion
|
|
6826
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
6827
6135
|
type Props$63 = ComponentProps<'div'>;
|
|
6828
6136
|
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$63) => import("react").JSX.Element;
|
|
6829
|
-
//#endregion
|
|
6830
|
-
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
6831
6137
|
type Props$62 = ComponentProps<'div'>;
|
|
6832
6138
|
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$62) => import("react").JSX.Element;
|
|
6833
|
-
//#endregion
|
|
6834
|
-
//#region src/components/Workbench/Workbench.d.ts
|
|
6835
6139
|
type Props$61 = {
|
|
6836
6140
|
className?: string;
|
|
6837
6141
|
children: ReactNode;
|
|
@@ -6857,8 +6161,6 @@ declare namespace Workbench {
|
|
|
6857
6161
|
export var Trigger: typeof CollapsibleTrigger$1;
|
|
6858
6162
|
export { WorkbenchFullScreenTrigger as FullScreenTrigger };
|
|
6859
6163
|
}
|
|
6860
|
-
//#endregion
|
|
6861
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdownGroup.d.ts
|
|
6862
6164
|
type BreadcrumbDropdownGroupProps = {
|
|
6863
6165
|
/** Group header (e.g. bucket name + stage badge). */
|
|
6864
6166
|
label: ReactNode;
|
|
@@ -6882,8 +6184,6 @@ type BreadcrumbDropdownGroupProps = {
|
|
|
6882
6184
|
* non-interactive, greyed header that can't toggle.
|
|
6883
6185
|
*/
|
|
6884
6186
|
declare const BreadcrumbDropdownGroup: ({ label, textValue, collapsible, defaultExpanded, className, children }: BreadcrumbDropdownGroupProps) => import("react").JSX.Element;
|
|
6885
|
-
//#endregion
|
|
6886
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdownItem.d.ts
|
|
6887
6187
|
type BreadcrumbDropdownItemProps = ComponentProps<'button'> & {
|
|
6888
6188
|
/** Render the consumer's element (typically a router link) instead of a `button`. */
|
|
6889
6189
|
asChild?: boolean;
|
|
@@ -6902,8 +6202,6 @@ type BreadcrumbDropdownItemProps = ComponentProps<'button'> & {
|
|
|
6902
6202
|
* panel's filter query and closes the panel on select. Use `asChild` to render a router link.
|
|
6903
6203
|
*/
|
|
6904
6204
|
declare const BreadcrumbDropdownItem: ({ ref, asChild, textValue, active, closeOnSelect, className, children, onClick, ...props }: BreadcrumbDropdownItemProps) => import("react").JSX.Element | null;
|
|
6905
|
-
//#endregion
|
|
6906
|
-
//#region src/components/Breadcrumb/BreadcrumbDropdown.d.ts
|
|
6907
6205
|
declare const PANEL_WIDTH: {
|
|
6908
6206
|
readonly small: 'tw:w-[min(360px,var(--radix-popover-content-available-width))]';
|
|
6909
6207
|
readonly medium: 'tw:w-[min(440px,var(--radix-popover-content-available-width))]';
|
|
@@ -6945,34 +6243,20 @@ declare namespace BreadcrumbDropdown {
|
|
|
6945
6243
|
export { BreadcrumbDropdownItem as Item };
|
|
6946
6244
|
export { BreadcrumbDropdownGroup as Group };
|
|
6947
6245
|
}
|
|
6948
|
-
//#endregion
|
|
6949
|
-
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6950
6246
|
type Props$60 = ComponentProps<'button'>;
|
|
6951
6247
|
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$60) => import("react").JSX.Element;
|
|
6952
|
-
//#endregion
|
|
6953
|
-
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6954
6248
|
type Props$59 = ComponentProps<'li'>;
|
|
6955
6249
|
declare const BreadcrumbItem: ({ className, ...props }: Props$59) => import("react").JSX.Element;
|
|
6956
|
-
//#endregion
|
|
6957
|
-
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6958
6250
|
type Props$58 = ComponentProps<'a'> & {
|
|
6959
6251
|
asChild?: boolean;
|
|
6960
6252
|
};
|
|
6961
6253
|
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$58) => import("react").JSX.Element;
|
|
6962
|
-
//#endregion
|
|
6963
|
-
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6964
6254
|
type Props$57 = ComponentProps<'ol'>;
|
|
6965
6255
|
declare const BreadcrumbList: ({ className, ...props }: Props$57) => import("react").JSX.Element;
|
|
6966
|
-
//#endregion
|
|
6967
|
-
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6968
6256
|
type Props$56 = ComponentProps<'span'>;
|
|
6969
6257
|
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$56) => import("react").JSX.Element;
|
|
6970
|
-
//#endregion
|
|
6971
|
-
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6972
6258
|
type Props$55 = ComponentProps<'li'>;
|
|
6973
6259
|
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$55) => import("react").JSX.Element;
|
|
6974
|
-
//#endregion
|
|
6975
|
-
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6976
6260
|
type Props$54 = ComponentProps<'nav'>;
|
|
6977
6261
|
declare function Breadcrumb({ className, ...props }: Props$54): import("react").JSX.Element;
|
|
6978
6262
|
declare namespace Breadcrumb {
|
|
@@ -6984,8 +6268,6 @@ declare namespace Breadcrumb {
|
|
|
6984
6268
|
export { BreadcrumbEllipsis as Ellipsis };
|
|
6985
6269
|
export { BreadcrumbDropdown as Dropdown };
|
|
6986
6270
|
}
|
|
6987
|
-
//#endregion
|
|
6988
|
-
//#region src/components/Tabs/Tabs.d.ts
|
|
6989
6271
|
type Trigger<T extends string> = {
|
|
6990
6272
|
value: T;
|
|
6991
6273
|
title: ReactNode;
|
|
@@ -7003,11 +6285,7 @@ type Props$53<T extends string> = {
|
|
|
7003
6285
|
triggerGroupClassName?: string;
|
|
7004
6286
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
7005
6287
|
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$53<T>) => import("react").JSX.Element;
|
|
7006
|
-
//#endregion
|
|
7007
|
-
//#region src/components/Tabs/TabsContent.d.ts
|
|
7008
6288
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react").JSX.Element;
|
|
7009
|
-
//#endregion
|
|
7010
|
-
//#region src/components/Stepper/StepperContext.d.ts
|
|
7011
6289
|
type StepperOrientation = 'horizontal' | 'vertical';
|
|
7012
6290
|
declare const STEP_STATUS: {
|
|
7013
6291
|
readonly complete: 'complete';
|
|
@@ -7016,8 +6294,6 @@ declare const STEP_STATUS: {
|
|
|
7016
6294
|
readonly error: 'error';
|
|
7017
6295
|
};
|
|
7018
6296
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
7019
|
-
//#endregion
|
|
7020
|
-
//#region src/components/Stepper/StepperStep.d.ts
|
|
7021
6297
|
type Props$52 = {
|
|
7022
6298
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
7023
6299
|
status?: StepStatus;
|
|
@@ -7031,21 +6307,15 @@ type Props$52 = {
|
|
|
7031
6307
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
7032
6308
|
*/
|
|
7033
6309
|
declare const StepperStep: ({ status, children, className, ...props }: Props$52) => import("react").JSX.Element;
|
|
7034
|
-
//#endregion
|
|
7035
|
-
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
7036
6310
|
type Props$51 = ComponentProps<'span'>;
|
|
7037
6311
|
/**
|
|
7038
6312
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
7039
6313
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
7040
6314
|
*/
|
|
7041
6315
|
declare const StepperStepConnector: ({ className, ...props }: Props$51) => import("react").JSX.Element;
|
|
7042
|
-
//#endregion
|
|
7043
|
-
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
7044
6316
|
type Props$50 = ComponentProps<'span'>;
|
|
7045
6317
|
/** Optional secondary text below the step label. */
|
|
7046
6318
|
declare const StepperStepDescription: ({ className, ...props }: Props$50) => import("react").JSX.Element;
|
|
7047
|
-
//#endregion
|
|
7048
|
-
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
7049
6319
|
type Props$49 = {
|
|
7050
6320
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
7051
6321
|
children?: ReactNode;
|
|
@@ -7055,18 +6325,12 @@ type Props$49 = {
|
|
|
7055
6325
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
7056
6326
|
*/
|
|
7057
6327
|
declare const StepperStepIndicator: ({ children, className, ...props }: Props$49) => import("react").JSX.Element;
|
|
7058
|
-
//#endregion
|
|
7059
|
-
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
7060
6328
|
type Props$48 = ComponentProps<'span'>;
|
|
7061
6329
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
7062
6330
|
declare const StepperStepLabel: ({ className, ...props }: Props$48) => import("react").JSX.Element;
|
|
7063
|
-
//#endregion
|
|
7064
|
-
//#region src/components/Stepper/styles.d.ts
|
|
7065
6331
|
declare const stepperVariants: (props?: ({
|
|
7066
6332
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
7067
6333
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7068
|
-
//#endregion
|
|
7069
|
-
//#region src/components/Stepper/Stepper.d.ts
|
|
7070
6334
|
type Props$47 = {
|
|
7071
6335
|
orientation?: StepperOrientation;
|
|
7072
6336
|
/** Given, steps render as `<button>`s; omitted, as visual-only `<div>`s. */
|
|
@@ -7081,20 +6345,14 @@ declare namespace Stepper {
|
|
|
7081
6345
|
export { StepperStepDescription as StepDescription };
|
|
7082
6346
|
export { StepperStepConnector as StepConnector };
|
|
7083
6347
|
}
|
|
7084
|
-
//#endregion
|
|
7085
|
-
//#region src/components/Card/CardContent.d.ts
|
|
7086
6348
|
type Props$46 = HTMLAttributes<HTMLDivElement> & {
|
|
7087
6349
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
7088
6350
|
* root adds none — otherwise the padding is doubled. */
|
|
7089
6351
|
padded?: boolean;
|
|
7090
6352
|
};
|
|
7091
6353
|
declare const CardContent: ({ children, className, padded, ...rest }: Props$46) => import("react").JSX.Element;
|
|
7092
|
-
//#endregion
|
|
7093
|
-
//#region src/components/Card/CardDescription.d.ts
|
|
7094
6354
|
/** Muted secondary line under `Card.Title`; pair with `Card.Header layout="stack"`. */
|
|
7095
6355
|
declare const CardDescription: ({ children, className, ...rest }: HTMLAttributes<HTMLParagraphElement>) => import("react").JSX.Element;
|
|
7096
|
-
//#endregion
|
|
7097
|
-
//#region src/components/Card/CardHeader.d.ts
|
|
7098
6356
|
type Props$45 = HTMLAttributes<HTMLDivElement> & {
|
|
7099
6357
|
/** Bottom rule plus own padding and a 64px min height. Full-bleed only with `Card padding="none"`. */
|
|
7100
6358
|
divider?: boolean;
|
|
@@ -7103,8 +6361,6 @@ type Props$45 = HTMLAttributes<HTMLDivElement> & {
|
|
|
7103
6361
|
layout?: 'row' | 'inline' | 'stack';
|
|
7104
6362
|
};
|
|
7105
6363
|
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$45) => import("react").JSX.Element;
|
|
7106
|
-
//#endregion
|
|
7107
|
-
//#region src/components/Card/CardTitle.d.ts
|
|
7108
6364
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
7109
6365
|
type Props$44 = HTMLAttributes<HTMLHeadingElement> & {
|
|
7110
6366
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
@@ -7112,14 +6368,10 @@ type Props$44 = HTMLAttributes<HTMLHeadingElement> & {
|
|
|
7112
6368
|
as?: HeadingLevel;
|
|
7113
6369
|
};
|
|
7114
6370
|
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$44) => import("react").JSX.Element;
|
|
7115
|
-
//#endregion
|
|
7116
|
-
//#region src/components/Card/styles.d.ts
|
|
7117
6371
|
declare const cardClassnames: (props?: ({
|
|
7118
6372
|
bordered?: boolean | null | undefined;
|
|
7119
6373
|
padding?: "large" | "medium" | "none" | "small" | null | undefined;
|
|
7120
6374
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7121
|
-
//#endregion
|
|
7122
|
-
//#region src/components/Card/Card.d.ts
|
|
7123
6375
|
type Props$43 = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames> & {
|
|
7124
6376
|
/** Render as a Radix `Slot`: the child (`<a href>`, a router `<Link>`) becomes the card.
|
|
7125
6377
|
* The card is then one link — nest no buttons or links inside it. */
|
|
@@ -7135,30 +6387,16 @@ declare namespace Card {
|
|
|
7135
6387
|
export { CardTitle as Title };
|
|
7136
6388
|
export { CardDescription as Description };
|
|
7137
6389
|
}
|
|
7138
|
-
//#endregion
|
|
7139
|
-
//#region src/components/Table/TableBody.d.ts
|
|
7140
6390
|
declare const TableBody: ({ withBorderSeparator, className, ...props }: {
|
|
7141
6391
|
withBorderSeparator?: boolean;
|
|
7142
6392
|
} & ComponentProps<'tbody'>) => import("react").JSX.Element;
|
|
7143
|
-
//#endregion
|
|
7144
|
-
//#region src/components/Table/TableCell.d.ts
|
|
7145
6393
|
declare const TableCell: ({ className, ...props }: ComponentProps<'td'>) => import("react").JSX.Element;
|
|
7146
|
-
//#endregion
|
|
7147
|
-
//#region src/components/Table/TableFooter.d.ts
|
|
7148
6394
|
declare const TableFooter: ({ className, ...props }: ComponentProps<'tfoot'>) => import("react").JSX.Element;
|
|
7149
|
-
//#endregion
|
|
7150
|
-
//#region src/components/Table/TableHead.d.ts
|
|
7151
6395
|
declare const TableHead: ({ className, ...props }: ComponentProps<'th'>) => import("react").JSX.Element;
|
|
7152
|
-
//#endregion
|
|
7153
|
-
//#region src/components/Table/TableHeader.d.ts
|
|
7154
6396
|
declare const TableHeader: ({ withShadow, className, ...props }: {
|
|
7155
6397
|
withShadow?: boolean;
|
|
7156
6398
|
} & ComponentProps<'thead'>) => import("react").JSX.Element;
|
|
7157
|
-
//#endregion
|
|
7158
|
-
//#region src/components/Table/TableRow.d.ts
|
|
7159
6399
|
declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) => import("react").JSX.Element;
|
|
7160
|
-
//#endregion
|
|
7161
|
-
//#region src/components/Table/TableSkeletonRows.d.ts
|
|
7162
6400
|
/** A width class, or one per row so the placeholders don't line up into a block. */
|
|
7163
6401
|
type Width = string | string[];
|
|
7164
6402
|
/**
|
|
@@ -7197,8 +6435,6 @@ declare const TableSkeletonRows: ({ columns, noun, rows }: {
|
|
|
7197
6435
|
noun: string;
|
|
7198
6436
|
rows?: number;
|
|
7199
6437
|
}) => import("react").JSX.Element[];
|
|
7200
|
-
//#endregion
|
|
7201
|
-
//#region src/components/Table/TableSortHeader.d.ts
|
|
7202
6438
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
7203
6439
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
7204
6440
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
@@ -7215,8 +6451,6 @@ type Props$42 = {
|
|
|
7215
6451
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
7216
6452
|
*/
|
|
7217
6453
|
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$42) => import("react").JSX.Element;
|
|
7218
|
-
//#endregion
|
|
7219
|
-
//#region src/components/Table/Table.d.ts
|
|
7220
6454
|
/**
|
|
7221
6455
|
* - `borderCollapsed`: collapsed borders vs separate row spacing.
|
|
7222
6456
|
* - `bordered`: rounded bordered container with overflow scrolling.
|
|
@@ -7237,8 +6471,6 @@ declare namespace Table {
|
|
|
7237
6471
|
export { TableSortHeader as SortHeader };
|
|
7238
6472
|
export { TableSkeletonRows as SkeletonRows };
|
|
7239
6473
|
}
|
|
7240
|
-
//#endregion
|
|
7241
|
-
//#region src/components/Timeline/TimelineConnector.d.ts
|
|
7242
6474
|
declare const connectorWrapper: (props?: ({
|
|
7243
6475
|
align?: "baseline" | "center" | "end" | "start" | null | undefined;
|
|
7244
6476
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7250,16 +6482,10 @@ type Props$40 = {
|
|
|
7250
6482
|
offset?: number;
|
|
7251
6483
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
7252
6484
|
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$40) => import("react").JSX.Element;
|
|
7253
|
-
//#endregion
|
|
7254
|
-
//#region src/components/Timeline/TimelineContent.d.ts
|
|
7255
6485
|
type Props$39 = ComponentProps<'div'>;
|
|
7256
6486
|
declare const TimelineContent: ({ className, ...rest }: Props$39) => import("react").JSX.Element;
|
|
7257
|
-
//#endregion
|
|
7258
|
-
//#region src/components/Timeline/TimelineItem.d.ts
|
|
7259
6487
|
type Props$38 = ComponentProps<'li'>;
|
|
7260
6488
|
declare const TimelineItem: ({ className, ...rest }: Props$38) => import("react").JSX.Element;
|
|
7261
|
-
//#endregion
|
|
7262
|
-
//#region src/components/Timeline/Timeline.d.ts
|
|
7263
6489
|
type Props$37 = ComponentProps<'ul'> & {
|
|
7264
6490
|
variant?: 'solid' | 'dashed';
|
|
7265
6491
|
};
|
|
@@ -7269,8 +6495,6 @@ declare namespace Timeline {
|
|
|
7269
6495
|
export { TimelineContent as Content };
|
|
7270
6496
|
export { TimelineConnector as Connector };
|
|
7271
6497
|
}
|
|
7272
|
-
//#endregion
|
|
7273
|
-
//#region src/components/Truncated.d.ts
|
|
7274
6498
|
type Props$36 = {
|
|
7275
6499
|
text: ReactNode;
|
|
7276
6500
|
tooltip?: ReactNode;
|
|
@@ -7280,8 +6504,6 @@ type Props$36 = {
|
|
|
7280
6504
|
tooltipPlacement?: Props$10['placement'];
|
|
7281
6505
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
7282
6506
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$36) => import("react").JSX.Element;
|
|
7283
|
-
//#endregion
|
|
7284
|
-
//#region src/components/MarkedText/MarkedText.d.ts
|
|
7285
6507
|
type Props$35 = {
|
|
7286
6508
|
source: string;
|
|
7287
6509
|
className?: string;
|
|
@@ -7289,67 +6511,43 @@ type Props$35 = {
|
|
|
7289
6511
|
isCaseSensitive?: boolean;
|
|
7290
6512
|
} & ComponentProps<'span'>;
|
|
7291
6513
|
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$35) => import("react").JSX.Element;
|
|
7292
|
-
//#endregion
|
|
7293
|
-
//#region src/components/Kbd/KbdGroup.d.ts
|
|
7294
6514
|
type Props$34 = {
|
|
7295
6515
|
separator?: string;
|
|
7296
6516
|
} & ComponentProps<'kbd'>;
|
|
7297
6517
|
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$34) => import("react").JSX.Element;
|
|
7298
|
-
//#endregion
|
|
7299
|
-
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
7300
6518
|
type Props$33 = ComponentProps<'span'>;
|
|
7301
6519
|
/** The `+` / `then` glue between two `Kbd` keys, in the muted chrome token. */
|
|
7302
6520
|
declare const KbdSeparator: ({ className, ...props }: Props$33) => import("react").JSX.Element;
|
|
7303
|
-
//#endregion
|
|
7304
|
-
//#region src/components/Kbd/styles.d.ts
|
|
7305
6521
|
declare const kbdVariants: (props?: ({
|
|
7306
6522
|
casing?: "as-written" | "upper" | null | undefined;
|
|
7307
6523
|
variant?: "default" | "primary" | null | undefined;
|
|
7308
6524
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7309
|
-
//#endregion
|
|
7310
|
-
//#region src/components/Kbd/Kbd.d.ts
|
|
7311
6525
|
type Props$32 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
7312
6526
|
declare function Kbd({ children, className, variant, casing, ...rest }: Props$32): import("react").JSX.Element;
|
|
7313
6527
|
declare namespace Kbd {
|
|
7314
6528
|
export { KbdGroup as Group };
|
|
7315
6529
|
export { KbdSeparator as Separator };
|
|
7316
6530
|
}
|
|
7317
|
-
//#endregion
|
|
7318
|
-
//#region src/components/Kbd/keyboardKeys.d.ts
|
|
7319
6531
|
type KeyName = 'mod' | 'option' | 'shift' | 'enter';
|
|
7320
6532
|
type KeyRepresentation = {
|
|
7321
6533
|
symbol: string;
|
|
7322
6534
|
text: string;
|
|
7323
6535
|
};
|
|
7324
6536
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
7325
|
-
//#endregion
|
|
7326
|
-
//#region src/components/Pagination/PaginationButton.d.ts
|
|
7327
6537
|
type Props$31 = {
|
|
7328
6538
|
active?: boolean;
|
|
7329
6539
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
7330
6540
|
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$31) => import("react").JSX.Element;
|
|
7331
|
-
//#endregion
|
|
7332
|
-
//#region src/components/Pagination/PaginationContent.d.ts
|
|
7333
6541
|
type Props$30 = ComponentProps<'ul'>;
|
|
7334
6542
|
declare const PaginationContent: ({ className, ...props }: Props$30) => import("react").JSX.Element;
|
|
7335
|
-
//#endregion
|
|
7336
|
-
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
7337
6543
|
type Props$29 = ComponentProps<'span'>;
|
|
7338
6544
|
declare const PaginationEllipsis: ({ className, ...props }: Props$29) => import("react").JSX.Element;
|
|
7339
|
-
//#endregion
|
|
7340
|
-
//#region src/components/Pagination/PaginationItem.d.ts
|
|
7341
6545
|
type Props$28 = ComponentProps<'li'>;
|
|
7342
6546
|
declare const PaginationItem: ({ className, ...props }: Props$28) => import("react").JSX.Element;
|
|
7343
|
-
//#endregion
|
|
7344
|
-
//#region src/components/Pagination/PaginationNext.d.ts
|
|
7345
6547
|
type Props$27 = ComponentProps<typeof PaginationButton>;
|
|
7346
6548
|
declare const PaginationNext: ({ children, className, ...props }: Props$27) => import("react").JSX.Element;
|
|
7347
|
-
//#endregion
|
|
7348
|
-
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
7349
6549
|
type Props$26 = ComponentProps<typeof PaginationButton>;
|
|
7350
6550
|
declare const PaginationPrevious: ({ children, ...props }: Props$26) => import("react").JSX.Element;
|
|
7351
|
-
//#endregion
|
|
7352
|
-
//#region src/components/Pagination/Pagination.d.ts
|
|
7353
6551
|
type Props$25 = ComponentProps<'nav'>;
|
|
7354
6552
|
declare function Pagination({ className, ...props }: Props$25): import("react").JSX.Element;
|
|
7355
6553
|
declare namespace Pagination {
|
|
@@ -7360,8 +6558,6 @@ declare namespace Pagination {
|
|
|
7360
6558
|
export { PaginationNext as Next };
|
|
7361
6559
|
export { PaginationEllipsis as Ellipsis };
|
|
7362
6560
|
}
|
|
7363
|
-
//#endregion
|
|
7364
|
-
//#region src/components/DiffView/DiffView.d.ts
|
|
7365
6561
|
type Props$24 = {
|
|
7366
6562
|
oldValue: string;
|
|
7367
6563
|
newValue: string;
|
|
@@ -7373,8 +6569,6 @@ type Props$24 = {
|
|
|
7373
6569
|
rightTitleGutter?: ReactNode;
|
|
7374
6570
|
};
|
|
7375
6571
|
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$24) => import("react").JSX.Element;
|
|
7376
|
-
//#endregion
|
|
7377
|
-
//#region src/components/DiffView/util.d.ts
|
|
7378
6572
|
declare const DiffType: {
|
|
7379
6573
|
readonly DEFAULT: 'default';
|
|
7380
6574
|
readonly ADDED: 'added';
|
|
@@ -7417,22 +6611,16 @@ type DiffRow = {
|
|
|
7417
6611
|
};
|
|
7418
6612
|
declare const computeLineInformation: (oldString: string, newString: string, ignoreWhitespace?: boolean) => ComputedLineInformation;
|
|
7419
6613
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
7420
|
-
//#endregion
|
|
7421
|
-
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
7422
6614
|
type Props$23 = {
|
|
7423
6615
|
label: string;
|
|
7424
6616
|
sublabel?: string;
|
|
7425
6617
|
};
|
|
7426
6618
|
declare const PaneHeader: ({ label, sublabel }: Props$23) => import("react").JSX.Element;
|
|
7427
|
-
//#endregion
|
|
7428
|
-
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
7429
6619
|
type Props$22 = {
|
|
7430
6620
|
remainingConflicts: number;
|
|
7431
6621
|
remainingSafeChanges: number;
|
|
7432
6622
|
};
|
|
7433
6623
|
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$22) => import("react").JSX.Element;
|
|
7434
|
-
//#endregion
|
|
7435
|
-
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
7436
6624
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
7437
6625
|
mergeValue: string;
|
|
7438
6626
|
handleMergeChange: (value: string) => void;
|
|
@@ -7454,8 +6642,6 @@ declare const useMergeDiff: (baseText: string, leftText: string, rightText: stri
|
|
|
7454
6642
|
isDirty: boolean;
|
|
7455
6643
|
reset: () => void;
|
|
7456
6644
|
};
|
|
7457
|
-
//#endregion
|
|
7458
|
-
//#region src/blocks/DashboardHero/DashboardHero.d.ts
|
|
7459
6645
|
type RootProps$2 = ComponentProps<'section'>;
|
|
7460
6646
|
/**
|
|
7461
6647
|
* Top-of-dashboard welcome/summary banner: eyebrow, title, lead paragraph, actions.
|
|
@@ -7485,8 +6671,6 @@ declare const DashboardHero: typeof DashboardHeroRoot & {
|
|
|
7485
6671
|
Actions: typeof DashboardHeroActions;
|
|
7486
6672
|
Aside: typeof DashboardHeroAside;
|
|
7487
6673
|
};
|
|
7488
|
-
//#endregion
|
|
7489
|
-
//#region src/blocks/StatCard/StatCard.d.ts
|
|
7490
6674
|
declare const trendClassnames: (props?: ({
|
|
7491
6675
|
direction?: "down" | "flat" | "up" | null | undefined;
|
|
7492
6676
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7520,8 +6704,6 @@ declare const StatCard: typeof StatCardRoot & {
|
|
|
7520
6704
|
Trend: typeof StatCardTrend;
|
|
7521
6705
|
Footnote: typeof StatCardFootnote;
|
|
7522
6706
|
};
|
|
7523
|
-
//#endregion
|
|
7524
|
-
//#region src/blocks/StatCard/StatCardGrid.d.ts
|
|
7525
6707
|
declare const gridClassnames: (props?: ({
|
|
7526
6708
|
columns?: 2 | 3 | 4 | null | undefined;
|
|
7527
6709
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -7532,8 +6714,6 @@ type Props$8 = ComponentProps<'div'> & VariantProps<typeof gridClassnames>;
|
|
|
7532
6714
|
* mobile and two on small screens.
|
|
7533
6715
|
*/
|
|
7534
6716
|
declare const StatCardGrid: ({ className, columns, children, ...rest }: Props$8) => import("react").JSX.Element;
|
|
7535
|
-
//#endregion
|
|
7536
|
-
//#region src/blocks/ChartPanel/ChartPanel.d.ts
|
|
7537
6717
|
type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
7538
6718
|
title: ReactNode;
|
|
7539
6719
|
description?: ReactNode;
|
|
@@ -7550,63 +6730,39 @@ type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
7550
6730
|
* - For a KPI number use `StatCard`; for an unframed chart use the chart directly.
|
|
7551
6731
|
*/
|
|
7552
6732
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps$1) => import("react").JSX.Element;
|
|
7553
|
-
//#endregion
|
|
7554
|
-
//#region src/blocks/Form/components/FormBody.d.ts
|
|
7555
6733
|
type Props$21 = {
|
|
7556
6734
|
children: ReactNode;
|
|
7557
6735
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
7558
6736
|
declare const FormBody: ({ children, className, ...formProps }: Props$21) => import("react").JSX.Element;
|
|
7559
|
-
//#endregion
|
|
7560
|
-
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
7561
6737
|
type Props$20 = {
|
|
7562
6738
|
children?: ReactNode;
|
|
7563
6739
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
7564
6740
|
declare const SubmitButton: ({ children, ...buttonProps }: Props$20) => import("react").JSX.Element;
|
|
7565
|
-
//#endregion
|
|
7566
|
-
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
7567
6741
|
/**
|
|
7568
6742
|
* Renders the form-level submit error (set via `setSubmitError` → `errorMap.onSubmit`) as an error
|
|
7569
6743
|
* `Alert`. Place inside `form.FormBody`, typically just above the submit button. Renders nothing when
|
|
7570
6744
|
* there is no submit error.
|
|
7571
6745
|
*/
|
|
7572
6746
|
declare const SubmitErrorAlert: () => import("react").JSX.Element;
|
|
7573
|
-
//#endregion
|
|
7574
|
-
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
7575
6747
|
type Props$19 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Checkbox>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7576
6748
|
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$19) => import("react").JSX.Element;
|
|
7577
|
-
//#endregion
|
|
7578
|
-
//#region src/blocks/Form/connectors/NumberField.d.ts
|
|
7579
6749
|
type Props$18 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.NumberInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7580
6750
|
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$18) => import("react").JSX.Element;
|
|
7581
|
-
//#endregion
|
|
7582
|
-
//#region src/blocks/Form/connectors/OtpInputField.d.ts
|
|
7583
6751
|
type Props$17 = FieldItemProps & Omit<RootProps$5, 'value' | 'onChange' | 'children' | 'id' | 'name' | 'aria-describedby' | 'aria-required' | 'aria-invalid'>;
|
|
7584
6752
|
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$17) => import("react").JSX.Element;
|
|
7585
|
-
//#endregion
|
|
7586
|
-
//#region src/blocks/Form/connectors/PasswordField.d.ts
|
|
7587
6753
|
type Props$16 = FieldItemProps & Omit<ComponentProps<typeof PasswordInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7588
6754
|
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$16) => import("react").JSX.Element;
|
|
7589
|
-
//#endregion
|
|
7590
|
-
//#region src/blocks/Form/connectors/SelectField.d.ts
|
|
7591
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'> & {
|
|
7592
6756
|
items: readonly (SelectItem | SelectItemGroup)[];
|
|
7593
6757
|
triggerClassName?: string;
|
|
7594
6758
|
};
|
|
7595
6759
|
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$15) => import("react").JSX.Element;
|
|
7596
|
-
//#endregion
|
|
7597
|
-
//#region src/blocks/Form/connectors/SwitchField.d.ts
|
|
7598
6760
|
type Props$14 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Switch>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7599
6761
|
declare const SwitchField: ({ className, children, ...switchProps }: Props$14) => import("react").JSX.Element;
|
|
7600
|
-
//#endregion
|
|
7601
|
-
//#region src/blocks/Form/connectors/TextareaField.d.ts
|
|
7602
6762
|
type Props$13 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.Textarea>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7603
6763
|
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$13) => import("react").JSX.Element;
|
|
7604
|
-
//#endregion
|
|
7605
|
-
//#region src/blocks/Form/connectors/TextField.d.ts
|
|
7606
6764
|
type Props$12 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.TextInput>, 'id' | 'name' | 'value' | 'onChange' | 'onBlur'>;
|
|
7607
6765
|
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$12) => import("react").JSX.Element;
|
|
7608
|
-
//#endregion
|
|
7609
|
-
//#region src/blocks/Form/formHook.d.ts
|
|
7610
6766
|
/**
|
|
7611
6767
|
* Typed form hook + `withForm` binding for forms with validation, server errors or a submit state.
|
|
7612
6768
|
*
|
|
@@ -7659,8 +6815,7 @@ declare const useAppForm: <TFormData, TOnMount extends undefined | import("@tans
|
|
|
7659
6815
|
readonly SubmitErrorAlert: typeof SubmitErrorAlert;
|
|
7660
6816
|
}>;
|
|
7661
6817
|
}>>;
|
|
7662
|
-
|
|
7663
|
-
//#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>;
|
|
7664
6819
|
type ServerFieldError = {
|
|
7665
6820
|
field: string;
|
|
7666
6821
|
message: string;
|
|
@@ -7674,8 +6829,6 @@ type ServerFieldError = {
|
|
|
7674
6829
|
* without `isBlurred` the message would sit in `errorMap` and render nowhere.
|
|
7675
6830
|
*/
|
|
7676
6831
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
7677
|
-
//#endregion
|
|
7678
|
-
//#region src/blocks/Form/setSubmitError.d.ts
|
|
7679
6832
|
/**
|
|
7680
6833
|
* Set a **form-level** submit error on a TanStack form instance — a failed submission that isn't tied
|
|
7681
6834
|
* to a single field (bad credentials, 5xx, network). Stored on `errorMap.onSubmit` and rendered by
|
|
@@ -7685,8 +6838,6 @@ declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFi
|
|
|
7685
6838
|
* the form to keep the submit button retryable (a resubmit re-runs the validators and clears it).
|
|
7686
6839
|
*/
|
|
7687
6840
|
declare const setSubmitError: (form: AnyFormApi, message: string) => void;
|
|
7688
|
-
//#endregion
|
|
7689
|
-
//#region src/hooks/useAltDigitHotkey.d.ts
|
|
7690
6841
|
/** The highest digit a numbered option can be picked with. */
|
|
7691
6842
|
declare const MAX_DIGIT_HOTKEY = 9;
|
|
7692
6843
|
/**
|
|
@@ -7713,8 +6864,6 @@ type Options$1 = {
|
|
|
7713
6864
|
* - Leaves numpad digits alone: on Windows ⌥ plus numpad digits types an Alt code.
|
|
7714
6865
|
*/
|
|
7715
6866
|
declare const useAltDigitHotkey: ({ count, onDigit, enabled, ref }: Options$1) => void;
|
|
7716
|
-
//#endregion
|
|
7717
|
-
//#region src/hooks/useAutosizeInput.d.ts
|
|
7718
6867
|
type UseAutosizeInputOptions = {
|
|
7719
6868
|
value?: string;
|
|
7720
6869
|
placeholder?: string;
|
|
@@ -7731,8 +6880,6 @@ type UseAutosizeInputReturn = {
|
|
|
7731
6880
|
* don't anchor to the viewport.
|
|
7732
6881
|
*/
|
|
7733
6882
|
declare function useAutosizeInput({ value, placeholder, minWidth }: UseAutosizeInputOptions): UseAutosizeInputReturn;
|
|
7734
|
-
//#endregion
|
|
7735
|
-
//#region src/hooks/useScrollbarPosition.d.ts
|
|
7736
6883
|
declare const useScrollbarPosition: () => {
|
|
7737
6884
|
setElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
7738
6885
|
isTop: boolean;
|
|
@@ -7740,8 +6887,6 @@ declare const useScrollbarPosition: () => {
|
|
|
7740
6887
|
isMiddle: boolean;
|
|
7741
6888
|
isNone: boolean;
|
|
7742
6889
|
};
|
|
7743
|
-
//#endregion
|
|
7744
|
-
//#region src/hooks/useStableCallback.d.ts
|
|
7745
6890
|
/**
|
|
7746
6891
|
* A callback with a stable identity that always sees the latest render's values.
|
|
7747
6892
|
*
|
|
@@ -7750,22 +6895,14 @@ declare const useScrollbarPosition: () => {
|
|
|
7750
6895
|
* - A child's layout effect calling it still sees the previous render's closure.
|
|
7751
6896
|
*/
|
|
7752
6897
|
declare const useStableCallback: <Args extends unknown[], Result>(callback: (...args: Args) => Result) => ((...args: Args) => Result);
|
|
7753
|
-
//#endregion
|
|
7754
|
-
//#region src/hooks/useTimeout.d.ts
|
|
7755
6898
|
/**
|
|
7756
6899
|
* Runs `callback` once, `delayMs` after mount; cleared on unmount.
|
|
7757
6900
|
*
|
|
7758
6901
|
* - A new `callback` identity does not restart the timer; a new `delayMs` does.
|
|
7759
6902
|
*/
|
|
7760
6903
|
declare const useTimeout: (callback: () => unknown, delayMs: number) => void;
|
|
7761
|
-
//#endregion
|
|
7762
|
-
//#region src/utils/classNames.d.ts
|
|
7763
6904
|
declare const cn: (...classes: ClassValue[]) => string;
|
|
7764
|
-
//#endregion
|
|
7765
|
-
//#region src/utils/copyToClipboard.d.ts
|
|
7766
6905
|
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
7767
|
-
//#endregion
|
|
7768
|
-
//#region src/utils/findLiteralMatches.d.ts
|
|
7769
6906
|
/** Whether `text` holds `query`, ignoring case; stops at the first occurrence. */
|
|
7770
6907
|
declare const hasLiteralMatch: (text: string, query: string) => boolean;
|
|
7771
6908
|
/**
|
|
@@ -7778,8 +6915,6 @@ declare const hasLiteralMatch: (text: string, query: string) => boolean;
|
|
|
7778
6915
|
declare const findLiteralMatches: (text: string, query: string, { isCaseSensitive }?: {
|
|
7779
6916
|
isCaseSensitive?: boolean;
|
|
7780
6917
|
}) => number[];
|
|
7781
|
-
//#endregion
|
|
7782
|
-
//#region src/utils/mergeRefs.d.ts
|
|
7783
6918
|
type PossibleRef<T> = Ref<T> | undefined;
|
|
7784
6919
|
/**
|
|
7785
6920
|
* Compose several refs into the one a component can hand to an element.
|
|
@@ -7790,11 +6925,7 @@ type PossibleRef<T> = Ref<T> | undefined;
|
|
|
7790
6925
|
* that is no longer in the document.
|
|
7791
6926
|
*/
|
|
7792
6927
|
declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) => RefCallback<T>;
|
|
7793
|
-
//#endregion
|
|
7794
|
-
//#region src/utils/isMac.d.ts
|
|
7795
6928
|
declare const isMac: boolean;
|
|
7796
|
-
//#endregion
|
|
7797
|
-
//#region src/components/ZoomableSvg/ZoomableSvg.d.ts
|
|
7798
6929
|
type Props$11 = {
|
|
7799
6930
|
/** Raw SVG markup; DOMPurify-sanitized (SVG profile), so user/LLM content is safe. */
|
|
7800
6931
|
html: string;
|
|
@@ -7810,8 +6941,6 @@ type Props$11 = {
|
|
|
7810
6941
|
renderActions?: (safeSvg: string) => ReactNode;
|
|
7811
6942
|
};
|
|
7812
6943
|
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, allowUse, renderActions }: Props$11) => import("react").JSX.Element;
|
|
7813
|
-
//#endregion
|
|
7814
|
-
//#region src/components/ZoomableSvg/exportSvg.d.ts
|
|
7815
6944
|
declare const toSvgFileContent: (svg: string) => string;
|
|
7816
6945
|
/**
|
|
7817
6946
|
* Rasterize SVG markup to a PNG blob at 2x for legible text.
|
|
@@ -7822,8 +6951,6 @@ declare const toSvgFileContent: (svg: string) => string;
|
|
|
7822
6951
|
* transparent PNG reads as unusable when pasted into a slide deck.
|
|
7823
6952
|
*/
|
|
7824
6953
|
declare const svgToPngBlob: (svg: string, background?: string) => Promise<Blob>;
|
|
7825
|
-
//#endregion
|
|
7826
|
-
//#region src/blocks/BrandEditor/BrandEditor.d.ts
|
|
7827
6954
|
type Colors = NonNullable<Brand$1['theme']['colors']>;
|
|
7828
6955
|
/** Colour tokens written as full CSS values rather than `R G B` channels. */
|
|
7829
6956
|
type StateColorSlot = keyof Pick<Colors, 'hover' | 'hoverForeground' | 'pressed' | 'selected' | 'selectedForeground' | 'scrim'>;
|
|
@@ -7858,16 +6985,11 @@ type BrandEditorProps = {
|
|
|
7858
6985
|
* active color scheme live (Kai build-mode preview, theme-generator, …).
|
|
7859
6986
|
*/
|
|
7860
6987
|
declare const BrandEditor: ({ value, onChange, colorScheme, onColorSchemeChange, fontOptions }: BrandEditorProps) => import("react").JSX.Element;
|
|
7861
|
-
//#endregion
|
|
7862
|
-
//#region src/blocks/BrandEditor/color.d.ts
|
|
7863
6988
|
declare const hexToChannels: (hex: string) => string;
|
|
7864
6989
|
declare const channelsToHex: (channels: string) => string;
|
|
7865
|
-
//#endregion
|
|
7866
|
-
//#region src/blocks/BrandEditor/contrast.d.ts
|
|
7867
6990
|
/** WCAG contrast ratio (1–21) between two `"R G B"` colours. */
|
|
7868
6991
|
declare const contrastRatio: (fg: string, bg: string) => number;
|
|
7869
6992
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7870
6993
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7871
|
-
|
|
7872
|
-
export { ANSWER_SOURCES_VISIBLE, Alert, AlertModal, AnswerActions, AnswerExtraAction, 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, useTimeout, 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 };
|
|
7873
6995
|
//# sourceMappingURL=index.d.ts.map
|