@keboola/design 11.3.0 → 11.4.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 +17 -0
- package/CHANGELOG.md +170 -0
- package/COMPONENT-API.md +32 -31
- package/dist/{AIKit-DaFT7p92.js → AIKit-DDg5DBCG.js} +142 -63
- package/dist/AIKit-DDg5DBCG.js.map +1 -0
- package/dist/{Alert-CseY3yAj.js → Alert-DHJFrWnS.js} +3 -3
- package/dist/{Alert-CseY3yAj.js.map → Alert-DHJFrWnS.js.map} +1 -1
- package/dist/{AlertModal-DQAGpsEy.js → AlertModal-BGJdaRRj.js} +3 -3
- package/dist/{AlertModal-DQAGpsEy.js.map → AlertModal-BGJdaRRj.js.map} +1 -1
- package/dist/{AppShell-BUoxM3fv.js → AppShell-DRgJxpXW.js} +2 -2
- package/dist/{AppShell-BUoxM3fv.js.map → AppShell-DRgJxpXW.js.map} +1 -1
- package/dist/{BrandEditor-BnTLMRMp.js → BrandEditor-Go7w8Zj2.js} +7 -7
- package/dist/{BrandEditor-BnTLMRMp.js.map → BrandEditor-Go7w8Zj2.js.map} +1 -1
- package/dist/{BrandLogo-V2pRUAeO.js → BrandLogo-Dmi7jo21.js} +2 -2
- package/dist/{BrandLogo-V2pRUAeO.js.map → BrandLogo-Dmi7jo21.js.map} +1 -1
- package/dist/{Breadcrumb-CQTPn_KB.js → Breadcrumb-uEkM6adI.js} +3 -3
- package/dist/{Breadcrumb-CQTPn_KB.js.map → Breadcrumb-uEkM6adI.js.map} +1 -1
- package/dist/{Button-CPsEQuTN.js → Button-DsRrU5F1.js} +6 -5
- package/dist/Button-DsRrU5F1.js.map +1 -0
- package/dist/{Card-Cd5HSBmv.js → Card-Dyo7055Q.js} +2 -2
- package/dist/{Card-Cd5HSBmv.js.map → Card-Dyo7055Q.js.map} +1 -1
- package/dist/{Checkbox-5VNCcV7E.js → Checkbox-fC0BuO2B.js} +3 -3
- package/dist/{Checkbox-5VNCcV7E.js.map → Checkbox-fC0BuO2B.js.map} +1 -1
- package/dist/{Clipboard-B7rckqV_.js → Clipboard-ChPdiUy3.js} +2 -2
- package/dist/{Clipboard-B7rckqV_.js.map → Clipboard-ChPdiUy3.js.map} +1 -1
- package/dist/{ClipboardButton-CQ6Aewpg.js → ClipboardButton-D9pDjgkB.js} +3 -3
- package/dist/{ClipboardButton-CQ6Aewpg.js.map → ClipboardButton-D9pDjgkB.js.map} +1 -1
- package/dist/{CodeEditor-CUse8znx.js → CodeEditor-Cxy3HnKH.js} +15 -26
- package/dist/CodeEditor-Cxy3HnKH.js.map +1 -0
- package/dist/{ColorInput-Q1D9Vcc_.js → ColorInput-Bxj-1eLT.js} +3 -3
- package/dist/{ColorInput-Q1D9Vcc_.js.map → ColorInput-Bxj-1eLT.js.map} +1 -1
- package/dist/{ColorModeSwitch-B5PXCVqB.js → ColorModeSwitch-CsWLiTBX.js} +3 -3
- package/dist/{ColorModeSwitch-B5PXCVqB.js.map → ColorModeSwitch-CsWLiTBX.js.map} +1 -1
- package/dist/{Combobox-CyoRA7oY.js → Combobox-Cs_1pj2q.js} +29 -22
- package/dist/Combobox-Cs_1pj2q.js.map +1 -0
- package/dist/{Command-Ds68v2rX.js → Command-B7ML9YMv.js} +6 -6
- package/dist/{Command-Ds68v2rX.js.map → Command-B7ML9YMv.js.map} +1 -1
- package/dist/{CopyField-DI66uY_g.js → CopyField-BO_sh-HO.js} +2 -2
- package/dist/{CopyField-DI66uY_g.js.map → CopyField-BO_sh-HO.js.map} +1 -1
- package/dist/{DateInput-BPj2pzsn.js → DateInput-ZdaMQo5i.js} +4 -4
- package/dist/{DateInput-BPj2pzsn.js.map → DateInput-ZdaMQo5i.js.map} +1 -1
- package/dist/{DatePicker-DyEGuW9m.js → DatePicker-nA8YdE84.js} +2 -2
- package/dist/{DatePicker-DyEGuW9m.js.map → DatePicker-nA8YdE84.js.map} +1 -1
- package/dist/{DateRangeInput-u9DxNbHW.js → DateRangeInput-DkvNh_sT.js} +4 -4
- package/dist/{DateRangeInput-u9DxNbHW.js.map → DateRangeInput-DkvNh_sT.js.map} +1 -1
- package/dist/{DateRangePicker-CYYhX6S7.js → DateRangePicker-DjSUFjh4.js} +5 -5
- package/dist/{DateRangePicker-CYYhX6S7.js.map → DateRangePicker-DjSUFjh4.js.map} +1 -1
- package/dist/{DropdownMenu-DpMEcyCq.js → DropdownMenu-CASr-jgl.js} +2 -2
- package/dist/{DropdownMenu-DpMEcyCq.js.map → DropdownMenu-CASr-jgl.js.map} +1 -1
- package/dist/{FieldItem-qQKGU9lF.js → FieldItem-CCd9-xnp.js} +3 -3
- package/dist/{FieldItem-qQKGU9lF.js.map → FieldItem-CCd9-xnp.js.map} +1 -1
- package/dist/{FileUpload-C336MVnU.js → FileUpload-ABThVZyg.js} +2 -2
- package/dist/{FileUpload-C336MVnU.js.map → FileUpload-ABThVZyg.js.map} +1 -1
- package/dist/{Form-CTygENDc.js → Form-k6PH-em3.js} +8 -8
- package/dist/{Form-CTygENDc.js.map → Form-k6PH-em3.js.map} +1 -1
- package/dist/{FormGroup-BnwP0jNu.js → FormGroup-DbcDtrgU.js} +3 -3
- package/dist/{FormGroup-BnwP0jNu.js.map → FormGroup-DbcDtrgU.js.map} +1 -1
- package/dist/{FullScreenModal-j-M4aPFd.js → FullScreenModal-BvPuYibe.js} +3 -3
- package/dist/{FullScreenModal-j-M4aPFd.js.map → FullScreenModal-BvPuYibe.js.map} +1 -1
- package/dist/{HoverCard-yQq-O49c.js → HoverCard-B9ZMJxjn.js} +2 -2
- package/dist/{HoverCard-yQq-O49c.js.map → HoverCard-B9ZMJxjn.js.map} +1 -1
- package/dist/{InputGroup-D7zlmqPB.js → InputGroup-BnLHY0eq.js} +3 -3
- package/dist/{InputGroup-D7zlmqPB.js.map → InputGroup-BnLHY0eq.js.map} +1 -1
- package/dist/{Kbd-D6LpR7G2.js → Kbd-CvSM3D3-.js} +2 -2
- package/dist/{Kbd-D6LpR7G2.js.map → Kbd-CvSM3D3-.js.map} +1 -1
- package/dist/MarkedText-DNGEUVWc.js +67 -0
- package/dist/MarkedText-DNGEUVWc.js.map +1 -0
- package/dist/{MermaidDiagram-JlvuGcY-.js → MermaidDiagram-WkonYErO.js} +3 -3
- package/dist/{MermaidDiagram-JlvuGcY-.js.map → MermaidDiagram-WkonYErO.js.map} +1 -1
- package/dist/{Modal-o4ATIexE.js → Modal-Coj-H02o.js} +16 -4
- package/dist/Modal-Coj-H02o.js.map +1 -0
- package/dist/{MultiActionButtonGroup-GTeFk-L8.js → MultiActionButtonGroup-CxWH7yWK.js} +3 -3
- package/dist/{MultiActionButtonGroup-GTeFk-L8.js.map → MultiActionButtonGroup-CxWH7yWK.js.map} +1 -1
- package/dist/{Navbar-CAQs4BZz.js → Navbar-B2UsolVU.js} +3 -3
- package/dist/{Navbar-CAQs4BZz.js.map → Navbar-B2UsolVU.js.map} +1 -1
- package/dist/{PageToolbar-bG2YtSa3.js → PageToolbar-DnbFt14Q.js} +3 -3
- package/dist/{PageToolbar-bG2YtSa3.js.map → PageToolbar-DnbFt14Q.js.map} +1 -1
- package/dist/{Pagination-BB3X7ooY.js → Pagination-C_b7Xhey.js} +2 -2
- package/dist/{Pagination-BB3X7ooY.js.map → Pagination-C_b7Xhey.js.map} +1 -1
- package/dist/{Popconfirm-C2Ky5hJO.js → Popconfirm-CILjmzKI.js} +3 -3
- package/dist/{Popconfirm-C2Ky5hJO.js.map → Popconfirm-CILjmzKI.js.map} +1 -1
- package/dist/{Popover-DsbI2HKu.js → Popover-BEbQrC_P.js} +22 -19
- package/dist/Popover-BEbQrC_P.js.map +1 -0
- package/dist/{RadioGroup-BMxuZEbT.js → RadioGroup-XFzFd1ti.js} +3 -3
- package/dist/{RadioGroup-BMxuZEbT.js.map → RadioGroup-XFzFd1ti.js.map} +1 -1
- package/dist/{Search-DFeECt5D.js → Search-4Bxtt8hS.js} +2 -2
- package/dist/{Search-DFeECt5D.js.map → Search-4Bxtt8hS.js.map} +1 -1
- package/dist/{SearchInput-CCpdUego.js → SearchInput-f_oY9T4Z.js} +3 -3
- package/dist/{SearchInput-CCpdUego.js.map → SearchInput-f_oY9T4Z.js.map} +1 -1
- package/dist/{SectionNav-Bw_MVL0_.js → SectionNav-BpJlisbT.js} +4 -4
- package/dist/{SectionNav-Bw_MVL0_.js.map → SectionNav-BpJlisbT.js.map} +1 -1
- package/dist/{Select-D6IZVvwL.js → Select-DpcgKqKB.js} +31 -20
- package/dist/Select-DpcgKqKB.js.map +1 -0
- package/dist/{Sheet-BIzs2K2H.js → Sheet-Chf0kX1E.js} +3 -3
- package/dist/{Sheet-BIzs2K2H.js.map → Sheet-Chf0kX1E.js.map} +1 -1
- package/dist/{Sidebar-r1TW4g_b.js → Sidebar-Cm6I4dE1.js} +9 -7
- package/dist/{Sidebar-r1TW4g_b.js.map → Sidebar-Cm6I4dE1.js.map} +1 -1
- package/dist/{Slider-CjxyfEty.js → Slider-pPC_3gz9.js} +3 -3
- package/dist/{Slider-CjxyfEty.js.map → Slider-pPC_3gz9.js.map} +1 -1
- package/dist/{Switch-BueTV03C.js → Switch-ChfPKcTE.js} +2 -2
- package/dist/{Switch-BueTV03C.js.map → Switch-ChfPKcTE.js.map} +1 -1
- package/dist/{Tabs-l72-WuhK.js → Tabs-eB974xJf.js} +2 -2
- package/dist/{Tabs-l72-WuhK.js.map → Tabs-eB974xJf.js.map} +1 -1
- package/dist/{TextInput-DhdRk8qm.js → TextInput-DHM6dHmn.js} +3 -3
- package/dist/{TextInput-DhdRk8qm.js.map → TextInput-DHM6dHmn.js.map} +1 -1
- package/dist/{ThemeProvider-DZfGdf1v.js → ThemeProvider-DrQJtzpd.js} +90 -15
- package/dist/ThemeProvider-DrQJtzpd.js.map +1 -0
- package/dist/{TimePicker-B6d2rAbX.js → TimePicker-BGeqc-Ed.js} +2 -2
- package/dist/{TimePicker-B6d2rAbX.js.map → TimePicker-BGeqc-Ed.js.map} +1 -1
- package/dist/{Toast-CxXUulYN.js → Toast-Dr6Uw7ao.js} +2 -2
- package/dist/{Toast-CxXUulYN.js.map → Toast-Dr6Uw7ao.js.map} +1 -1
- package/dist/{ZoomableSvg-CNIzRHKH.js → ZoomableSvg-BWnDkR61.js} +4 -4
- package/dist/{ZoomableSvg-CNIzRHKH.js.map → ZoomableSvg-BWnDkR61.js.map} +1 -1
- package/dist/{context-BrNtMc1H.js → context-D7X470dy.js} +4 -3
- package/dist/context-D7X470dy.js.map +1 -0
- package/dist/{defaults-CTfvj2KB.js → defaults-i_xG2F_1.js} +2 -4
- package/dist/defaults-i_xG2F_1.js.map +1 -0
- package/dist/editors.js +4 -4
- package/dist/findLiteralMatches-BGBw8Vbl.js +62 -0
- package/dist/findLiteralMatches-BGBw8Vbl.js.map +1 -0
- package/dist/flint.js +3 -3
- package/dist/index.d.ts +677 -527
- package/dist/index.js +59 -58
- package/dist/internal/blocks/AIKit.js +2 -2
- package/dist/internal/blocks/AppShell.js +1 -1
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/ChartPanel.js +1 -1
- package/dist/internal/blocks/ClipboardButton.js +1 -1
- package/dist/internal/blocks/ColorInput.js +1 -1
- package/dist/internal/blocks/ColorModeSwitch.js +1 -1
- package/dist/internal/blocks/Command.js +1 -1
- package/dist/internal/blocks/CopyField.js +1 -1
- package/dist/internal/blocks/DateInput.js +1 -1
- package/dist/internal/blocks/DateRangeInput.js +1 -1
- package/dist/internal/blocks/EmptyConfigurationActionCard.js +1 -1
- package/dist/internal/blocks/ErrorState.js +1 -1
- package/dist/internal/blocks/ExportMenu.js +5 -5
- package/dist/internal/blocks/ExportMenu.js.map +1 -1
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js +1 -1
- package/dist/internal/blocks/Form.js +1 -1
- package/dist/internal/blocks/FormGroup.js +1 -1
- package/dist/internal/blocks/MultiActionButtonGroup.js +1 -1
- package/dist/internal/blocks/MultiCombobox.js +14 -11
- package/dist/internal/blocks/MultiCombobox.js.map +1 -1
- package/dist/internal/blocks/NumberInput.js +1 -1
- package/dist/internal/blocks/PageToolbar.js +1 -1
- package/dist/internal/blocks/PasswordInput.js +2 -2
- package/dist/internal/blocks/SearchInput.js +1 -1
- package/dist/internal/blocks/SearchInputWithNavigation.js +3 -3
- package/dist/internal/blocks/SectionNav.js +1 -1
- package/dist/internal/blocks/SplitButton.js +2 -2
- package/dist/internal/blocks/StatCard.js +1 -1
- package/dist/internal/blocks/TextInput.js +1 -1
- package/dist/internal/blocks/Textarea.js +1 -1
- package/dist/internal/blocks/TimeInput.js +3 -3
- package/dist/internal/components/Alert.js +1 -1
- package/dist/internal/components/AlertModal.js +1 -1
- package/dist/internal/components/Avatar.js +1 -1
- package/dist/internal/components/BrandLogo.js +1 -1
- package/dist/internal/components/Breadcrumb.js +1 -1
- package/dist/internal/components/Button.js +1 -1
- package/dist/internal/components/Card.js +1 -1
- package/dist/internal/components/Checkbox.js +1 -1
- package/dist/internal/components/Clipboard.js +1 -1
- package/dist/internal/components/CollapsiblePanel.js +1 -1
- package/dist/internal/components/Combobox.js +1 -1
- package/dist/internal/components/DatePicker.js +1 -1
- package/dist/internal/components/DateRangePicker.js +1 -1
- package/dist/internal/components/DropdownMenu.js +1 -1
- package/dist/internal/components/FileUpload.js +1 -1
- package/dist/internal/components/FullScreenModal.js +1 -1
- package/dist/internal/components/HoverCard.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Kbd.js +1 -1
- package/dist/internal/components/MarkedText.js +1 -1
- package/dist/internal/components/Modal.js +1 -1
- package/dist/internal/components/Navbar.js +1 -1
- package/dist/internal/components/Pagination.js +1 -1
- package/dist/internal/components/Popconfirm.js +1 -1
- package/dist/internal/components/Popover.js +1 -1
- package/dist/internal/components/RadioGroup.js +1 -1
- package/dist/internal/components/Search.js +1 -1
- package/dist/internal/components/Select.js +1 -1
- package/dist/internal/components/Sheet.js +1 -1
- package/dist/internal/components/Sidebar.js +1 -1
- package/dist/internal/components/Slider.js +1 -1
- package/dist/internal/components/Switch.js +1 -1
- package/dist/internal/components/Tabs.js +1 -1
- package/dist/internal/components/ThemeProvider.js +4 -4
- package/dist/internal/components/TimePicker.js +1 -1
- package/dist/internal/components/Toast.js +2 -2
- package/dist/internal/components/Toggle.js +3 -3
- package/dist/internal/components/Toggle.js.map +1 -1
- package/dist/internal/components/Tooltip.js +1 -1
- package/dist/internal/components/Truncated.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/internal/utils.js +3 -3
- package/dist/markdown-editor.js +7 -7
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.js +11 -11
- package/dist/styles.css +1 -1
- package/dist/testing.js +4 -4
- package/dist/testing.js.map +1 -1
- package/dist/{themeTokens-7T1AFLhq.js → themeTokens-D70HeNVF.js} +3 -3
- package/dist/{themeTokens-7T1AFLhq.js.map → themeTokens-D70HeNVF.js.map} +1 -1
- package/dist/{toast-BweSoKn3.js → toast-DIC0iNRf.js} +2 -2
- package/dist/{toast-BweSoKn3.js.map → toast-DIC0iNRf.js.map} +1 -1
- package/dist/{useColorSchemeState-BJEk6esG.js → useColorSchemeState-klihG9-i.js} +2 -2
- package/dist/{useColorSchemeState-BJEk6esG.js.map → useColorSchemeState-klihG9-i.js.map} +1 -1
- package/dist/{utils-B-g7d_Jb.js → utils-B5Z52hYs.js} +2 -2
- package/dist/{utils-B-g7d_Jb.js.map → utils-B5Z52hYs.js.map} +1 -1
- package/dist/vega.js +2 -2
- package/dist/{vegaTheme-FBXgAdHK.js → vegaTheme-DfoEQhOy.js} +2 -2
- package/dist/{vegaTheme-FBXgAdHK.js.map → vegaTheme-DfoEQhOy.js.map} +1 -1
- package/package.json +5 -5
- package/dist/AIKit-DaFT7p92.js.map +0 -1
- package/dist/Button-CPsEQuTN.js.map +0 -1
- package/dist/CodeEditor-CUse8znx.js.map +0 -1
- package/dist/Combobox-CyoRA7oY.js.map +0 -1
- package/dist/MarkedText-Ckbft5mw.js +0 -44
- package/dist/MarkedText-Ckbft5mw.js.map +0 -1
- package/dist/Modal-o4ATIexE.js.map +0 -1
- package/dist/Popover-DsbI2HKu.js.map +0 -1
- package/dist/Select-D6IZVvwL.js.map +0 -1
- package/dist/ThemeProvider-DZfGdf1v.js.map +0 -1
- package/dist/context-BrNtMc1H.js.map +0 -1
- package/dist/defaults-CTfvj2KB.js.map +0 -1
- package/dist/escapeStringRegexp-8MxP2knR.js +0 -6
- package/dist/escapeStringRegexp-8MxP2knR.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import React$1, { ButtonHTMLAttributes, CSSProperties, ChangeEvent, ComponentPro
|
|
|
7
7
|
import { ClassValue } from "clsx";
|
|
8
8
|
import { Content, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-tooltip";
|
|
9
9
|
import { VariantProps } from "class-variance-authority";
|
|
10
|
-
import { Brand, Brand as Brand$1, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from "@keboola/brand-registry";
|
|
11
10
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
12
11
|
import { Group, Root as Root$2, Trigger as Trigger$2 } from "@radix-ui/react-dropdown-menu";
|
|
13
12
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
@@ -17,7 +16,7 @@ import { LabelProps } from "@radix-ui/react-label";
|
|
|
17
16
|
import { Content as Content$1, Portal as Portal$1, Root as Root$4, Trigger as Trigger$3 } from "@radix-ui/react-alert-dialog";
|
|
18
17
|
import { Close, Content as Content$2, Overlay as Overlay$1, Portal as Portal$2, Root as Root$5, Title as Title$1, Trigger as Trigger$4 } from "@radix-ui/react-dialog";
|
|
19
18
|
import * as RSeparator from "@radix-ui/react-separator";
|
|
20
|
-
import { Close as Close$1, Content as Content$3, PopoverContentProps, PopoverProps, Root as Root$6, Trigger as Trigger$5 } from "@radix-ui/react-popover";
|
|
19
|
+
import { Close as Close$1, Content as Content$3, PopoverContentProps, PopoverProps, Portal as Portal$3, Root as Root$6, Trigger as Trigger$5 } from "@radix-ui/react-popover";
|
|
21
20
|
import { Content as Content$4, Root as Root$7, Trigger as Trigger$6 } from "@radix-ui/react-hover-card";
|
|
22
21
|
import { Command as Command$1, defaultFilter, useCommandState } from "cmdk";
|
|
23
22
|
import TextareaAutosize from "react-textarea-autosize";
|
|
@@ -30,9 +29,11 @@ import { CheckedState, Root as Root$11 } from "@radix-ui/react-checkbox";
|
|
|
30
29
|
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
31
30
|
import { AnyFormApi } from "@tanstack/react-form";
|
|
32
31
|
import { OTPInput, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, SlotProps as OtpInputRenderSlotProps } from "input-otp";
|
|
32
|
+
import { Components, Options } from "react-markdown";
|
|
33
33
|
import { Root as Root$12 } from "@radix-ui/react-progress";
|
|
34
34
|
import { CollapsibleTrigger, Content as Content$5, Root as Root$13 } from "@radix-ui/react-collapsible";
|
|
35
35
|
import { Action as Action$1, ExternalToast, Toaster as Toaster$1 } from "sonner";
|
|
36
|
+
import { Brand, Brand as Brand$1, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from "@keboola/brand-registry";
|
|
36
37
|
import { Group as Group$1, Panel as ResizablePanel, PanelImperativeHandle, Separator as Separator$1, useDefaultLayout } from "react-resizable-panels";
|
|
37
38
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
38
39
|
//#region src/components/Button/styles.d.ts
|
|
@@ -55,7 +56,7 @@ declare const argoVariants: (props?: ({
|
|
|
55
56
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
56
57
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
57
58
|
*/
|
|
58
|
-
type Props$
|
|
59
|
+
type Props$262 = {
|
|
59
60
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
60
61
|
isLoading?: boolean;
|
|
61
62
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -74,31 +75,31 @@ type Props$260 = {
|
|
|
74
75
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
75
76
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
76
77
|
*/
|
|
77
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
78
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$262) => import("react/jsx-runtime").JSX.Element;
|
|
78
79
|
//#endregion
|
|
79
80
|
//#region src/components/Button/ButtonInline.d.ts
|
|
80
81
|
declare const buttonInlineVariants: (props?: ({
|
|
81
82
|
color?: "custom" | "danger" | "dark" | "link" | "muted" | null | undefined;
|
|
82
83
|
variant?: "custom" | "link" | "link-reverse" | null | undefined;
|
|
83
84
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
84
|
-
type Props$
|
|
85
|
+
type Props$261 = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
85
86
|
asChild?: boolean;
|
|
86
87
|
};
|
|
87
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
88
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$261) => import("react/jsx-runtime").JSX.Element;
|
|
88
89
|
//#endregion
|
|
89
90
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
90
91
|
declare const buttonGroupVariant: (props?: ({
|
|
91
92
|
variant?: "block" | "inline" | null | undefined;
|
|
92
93
|
space?: "compact" | "extra-small" | "large" | "little-small" | "medium" | "small" | null | undefined;
|
|
93
94
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
94
|
-
type Props$
|
|
95
|
+
type Props$260 = {
|
|
95
96
|
children: ReactNode;
|
|
96
97
|
className?: string;
|
|
97
98
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
98
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
99
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$260) => import("react/jsx-runtime").JSX.Element;
|
|
99
100
|
//#endregion
|
|
100
101
|
//#region src/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
101
|
-
type Props$
|
|
102
|
+
type Props$259 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
102
103
|
/**
|
|
103
104
|
* Fix for `autoFocus` on inputs not working correctly in modals.
|
|
104
105
|
* While the DropdownMenuItem was animating out and the modal was animating in, the dying DropdownMenuItem was constantly trying to steal focus while the Dialog was trying to correctly set the new focus.
|
|
@@ -110,22 +111,22 @@ type Props$257 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
|
110
111
|
isLoading?: boolean;
|
|
111
112
|
iconClassName?: string;
|
|
112
113
|
};
|
|
113
|
-
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$
|
|
114
|
+
declare const DropdownMenuItem: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: Props$259) => import("react/jsx-runtime").JSX.Element;
|
|
114
115
|
//#endregion
|
|
115
116
|
//#region src/blocks/SplitButton/SplitButton.d.ts
|
|
116
|
-
type Variant$
|
|
117
|
+
type Variant$9 = ComponentProps<typeof Button>['variant'];
|
|
117
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
118
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
119
|
-
type Props$
|
|
120
|
+
type Props$258 = {
|
|
120
121
|
actions?: ReactNode;
|
|
121
122
|
isActionsOpen?: boolean;
|
|
122
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
123
124
|
/** Optional leading-icon slot — pass a Lucide icon node. */
|
|
124
125
|
icon?: ReactNode;
|
|
125
|
-
variant?: Exclude<Variant$
|
|
126
|
+
variant?: Exclude<Variant$9, 'inline' | 'invisible'>;
|
|
126
127
|
size?: SpitButtonSize;
|
|
127
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
128
|
-
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
129
|
+
declare const SplitButtonBase: ({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$258) => import("react/jsx-runtime").JSX.Element;
|
|
129
130
|
declare const SplitButton: typeof SplitButtonBase & {
|
|
130
131
|
Action: typeof DropdownMenuItem;
|
|
131
132
|
Actions: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -135,21 +136,21 @@ declare const SplitButton: typeof SplitButtonBase & {
|
|
|
135
136
|
declare const tooltipVariants: (props?: ({
|
|
136
137
|
variant?: "action" | "explanatory" | null | undefined;
|
|
137
138
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
138
|
-
type Props$
|
|
139
|
+
type Props$257 = {
|
|
139
140
|
keepOpenOnPointerDownOutside?: boolean;
|
|
140
141
|
placement?: ComponentProps<typeof Content>['side'];
|
|
141
142
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
142
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
143
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$257) => import("react/jsx-runtime").JSX.Element;
|
|
143
144
|
//#endregion
|
|
144
145
|
//#region src/components/Tooltip/TooltipRoot.d.ts
|
|
145
|
-
type Props$
|
|
146
|
-
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$
|
|
146
|
+
type Props$256 = ComponentProps<typeof Root$1>;
|
|
147
|
+
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$256) => import("react/jsx-runtime").JSX.Element;
|
|
147
148
|
//#endregion
|
|
148
149
|
//#region src/components/Tooltip/TooltipTrigger.d.ts
|
|
149
|
-
type Props$
|
|
150
|
+
type Props$255 = {
|
|
150
151
|
keepOpenOnClick?: boolean;
|
|
151
152
|
} & ComponentProps<typeof Trigger$1>;
|
|
152
|
-
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$
|
|
153
|
+
declare const TooltipTrigger: ({ ref, children, className, keepOpenOnClick, onClick, onPointerDown, asChild, ...rest }: Props$255) => import("react/jsx-runtime").JSX.Element;
|
|
153
154
|
//#endregion
|
|
154
155
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
155
156
|
type TriggerProps$1 = {
|
|
@@ -159,7 +160,7 @@ type TriggerProps$1 = {
|
|
|
159
160
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
160
161
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
161
162
|
*/
|
|
162
|
-
type Props$
|
|
163
|
+
type Props$8 = {
|
|
163
164
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
164
165
|
keepOpenOnTriggerClick?: boolean;
|
|
165
166
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -176,7 +177,7 @@ type Props$7 = {
|
|
|
176
177
|
} & TriggerProps$1 & Pick<ComponentProps<typeof TooltipContent>, 'variant' | 'className'>;
|
|
177
178
|
/** Re-export of Radix `Tooltip.Provider`. Mount once at the app root so tooltips share delay state. */
|
|
178
179
|
declare const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
179
|
-
declare function Tooltip({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild }: Props$
|
|
180
|
+
declare function Tooltip({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild }: Props$8): import("react/jsx-runtime").JSX.Element;
|
|
180
181
|
declare namespace Tooltip {
|
|
181
182
|
export { TooltipRoot as Root };
|
|
182
183
|
export { TooltipContent as Content };
|
|
@@ -184,7 +185,7 @@ declare namespace Tooltip {
|
|
|
184
185
|
}
|
|
185
186
|
//#endregion
|
|
186
187
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButton.d.ts
|
|
187
|
-
type Props$
|
|
188
|
+
type Props$254 = {
|
|
188
189
|
disabled?: boolean;
|
|
189
190
|
icon: ReactNode;
|
|
190
191
|
isLoading?: boolean;
|
|
@@ -194,13 +195,13 @@ type Props$252 = {
|
|
|
194
195
|
tooltipVariant?: ComponentProps<typeof Tooltip>['variant'];
|
|
195
196
|
'data-testid'?: string;
|
|
196
197
|
};
|
|
197
|
-
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$
|
|
198
|
+
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$254) => import("react/jsx-runtime").JSX.Element;
|
|
198
199
|
//#endregion
|
|
199
200
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.d.ts
|
|
200
|
-
type Props$
|
|
201
|
+
type Props$253 = {
|
|
201
202
|
className?: string;
|
|
202
203
|
} & PropsWithChildren;
|
|
203
|
-
declare function MultiActionButtonGroup({ children, className }: Props$
|
|
204
|
+
declare function MultiActionButtonGroup({ children, className }: Props$253): import("react/jsx-runtime").JSX.Element;
|
|
204
205
|
declare namespace MultiActionButtonGroup {
|
|
205
206
|
export { MultiActionButton as Button };
|
|
206
207
|
}
|
|
@@ -212,12 +213,12 @@ declare const toggleVariants: (props?: ({
|
|
|
212
213
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
213
214
|
iconOnly?: boolean | null | undefined;
|
|
214
215
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
215
|
-
type Props$
|
|
216
|
+
type Props$252 = {
|
|
216
217
|
icon?: ReactNode;
|
|
217
218
|
badge?: ReactNode;
|
|
218
219
|
orientation?: 'horizontal' | 'vertical';
|
|
219
220
|
} & ComponentProps<typeof Root$3> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
220
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
221
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$252) => import("react/jsx-runtime").JSX.Element;
|
|
221
222
|
//#endregion
|
|
222
223
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
223
224
|
declare const rootVariants: (props?: ({
|
|
@@ -237,30 +238,30 @@ declare const ToggleGroup: typeof Root$19 & {
|
|
|
237
238
|
};
|
|
238
239
|
//#endregion
|
|
239
240
|
//#region src/components/Clipboard/Clipboard.d.ts
|
|
240
|
-
type Props$
|
|
241
|
-
tooltip?: Props$
|
|
242
|
-
tooltipPlacement?: Props$
|
|
243
|
-
tooltipVariant?: Props$
|
|
244
|
-
asChild?: Props$
|
|
241
|
+
type Props$251 = {
|
|
242
|
+
tooltip?: Props$8['tooltip'];
|
|
243
|
+
tooltipPlacement?: Props$8['placement'];
|
|
244
|
+
tooltipVariant?: Props$8['variant'];
|
|
245
|
+
asChild?: Props$8['triggerAsChild'];
|
|
245
246
|
text?: string | (() => string);
|
|
246
247
|
} & ComponentProps<'button'>;
|
|
247
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
248
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$251) => import("react/jsx-runtime").JSX.Element;
|
|
248
249
|
//#endregion
|
|
249
250
|
//#region src/blocks/ClipboardButton/ClipboardButton.d.ts
|
|
250
251
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
251
252
|
type ButtonProps$4 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
252
|
-
type Props$
|
|
253
|
+
type Props$250 = ClipboardProps$1 & ButtonProps$4 & {
|
|
253
254
|
icon?: ReactNode;
|
|
254
255
|
};
|
|
255
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
256
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$250) => import("react/jsx-runtime").JSX.Element;
|
|
256
257
|
//#endregion
|
|
257
258
|
//#region src/blocks/ClipboardButton/ClipboardInline.d.ts
|
|
258
259
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
259
260
|
type ButtonProps$3 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
260
|
-
type Props$
|
|
261
|
+
type Props$249 = {
|
|
261
262
|
hideIcon?: boolean;
|
|
262
263
|
} & ClipboardProps & ButtonProps$3;
|
|
263
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
264
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$249) => import("react/jsx-runtime").JSX.Element;
|
|
264
265
|
//#endregion
|
|
265
266
|
//#region src/blocks/ExportMenu/ExportMenu.d.ts
|
|
266
267
|
type ExportMenuItem = {
|
|
@@ -268,11 +269,17 @@ type ExportMenuItem = {
|
|
|
268
269
|
label: string;
|
|
269
270
|
onSelect: () => void;
|
|
270
271
|
};
|
|
271
|
-
type Props$
|
|
272
|
+
type Props$248 = {
|
|
272
273
|
items: ExportMenuItem[];
|
|
273
274
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
274
275
|
label: string;
|
|
275
276
|
size?: 'icon-xs' | 'icon-sm';
|
|
277
|
+
/**
|
|
278
|
+
* Trigger weight. `outline` (default) for a standalone control; `invisible`
|
|
279
|
+
* where the trigger sits in a row of ghost actions and a border would make
|
|
280
|
+
* the one menu louder than the buttons beside it.
|
|
281
|
+
*/
|
|
282
|
+
variant?: 'outline' | 'invisible';
|
|
276
283
|
};
|
|
277
284
|
/**
|
|
278
285
|
* Download-icon trigger with a menu of export formats.
|
|
@@ -284,7 +291,7 @@ type Props$246 = {
|
|
|
284
291
|
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
285
292
|
* boundary. Callers already paying for the barrel inject this instead.
|
|
286
293
|
*/
|
|
287
|
-
declare const ExportMenu: ({ items, label, size }: Props$
|
|
294
|
+
declare const ExportMenu: ({ items, label, size, variant }: Props$248) => import("react/jsx-runtime").JSX.Element;
|
|
288
295
|
//#endregion
|
|
289
296
|
//#region src/blocks/CopyField/CopyBox.d.ts
|
|
290
297
|
type CopyBoxProps = {
|
|
@@ -481,11 +488,11 @@ declare const LABELS$1: {
|
|
|
481
488
|
readonly signup: 'Sign up with Microsoft';
|
|
482
489
|
readonly continue: 'Continue with Microsoft';
|
|
483
490
|
};
|
|
484
|
-
type Props$
|
|
491
|
+
type Props$247 = ComponentPropsWithRef<'button'> & {
|
|
485
492
|
label?: keyof typeof LABELS$1;
|
|
486
493
|
isLoading?: boolean;
|
|
487
494
|
};
|
|
488
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
495
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$247) => import("react/jsx-runtime").JSX.Element;
|
|
489
496
|
//#endregion
|
|
490
497
|
//#region src/blocks/GoogleButton/GoogleButton.d.ts
|
|
491
498
|
declare const LABELS: {
|
|
@@ -499,15 +506,15 @@ declare const variants$6: (props?: ({
|
|
|
499
506
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
500
507
|
size?: "default" | "icon" | null | undefined;
|
|
501
508
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
502
|
-
type Props$
|
|
509
|
+
type Props$246 = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$6> & {
|
|
503
510
|
label?: keyof typeof LABELS;
|
|
504
511
|
isLoading?: boolean;
|
|
505
512
|
};
|
|
506
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
513
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$246) => import("react/jsx-runtime").JSX.Element;
|
|
507
514
|
//#endregion
|
|
508
515
|
//#region src/components/Link.d.ts
|
|
509
|
-
type Props$
|
|
510
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
516
|
+
type Props$245 = ComponentProps<'a'>;
|
|
517
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$245) => import("react/jsx-runtime").JSX.Element;
|
|
511
518
|
//#endregion
|
|
512
519
|
//#region src/components/AlertModal/variant.d.ts
|
|
513
520
|
/**
|
|
@@ -517,7 +524,7 @@ declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }
|
|
|
517
524
|
type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
518
525
|
//#endregion
|
|
519
526
|
//#region src/components/AlertModal/AlertModalContent.d.ts
|
|
520
|
-
type Props$
|
|
527
|
+
type Props$244 = {
|
|
521
528
|
variant?: AlertModalVariant;
|
|
522
529
|
icon?: ReactNode;
|
|
523
530
|
title?: ReactNode;
|
|
@@ -527,23 +534,23 @@ type Props$242 = {
|
|
|
527
534
|
confirmDisabled?: boolean;
|
|
528
535
|
container?: ComponentProps<typeof Portal$1>['container'];
|
|
529
536
|
} & Omit<ComponentProps<typeof Content$1>, 'title'>;
|
|
530
|
-
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$
|
|
537
|
+
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$244) => import("react/jsx-runtime").JSX.Element;
|
|
531
538
|
//#endregion
|
|
532
539
|
//#region src/components/AlertModal/AlertModalTrigger.d.ts
|
|
533
|
-
type Props$
|
|
534
|
-
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$
|
|
540
|
+
type Props$243 = ComponentPropsWithRef<typeof Trigger$3>;
|
|
541
|
+
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$243) => import("react/jsx-runtime").JSX.Element;
|
|
535
542
|
//#endregion
|
|
536
543
|
//#region src/components/AlertModal/AlertModal.d.ts
|
|
537
544
|
type ConfirmHandler = (event: MouseEvent<HTMLButtonElement>) => void | Promise<unknown>;
|
|
538
545
|
type CancelHandler = (event: MouseEvent<HTMLButtonElement>) => void;
|
|
539
|
-
type Props$
|
|
546
|
+
type Props$242 = {
|
|
540
547
|
onConfirm?: ConfirmHandler;
|
|
541
548
|
onCancel?: CancelHandler;
|
|
542
549
|
skipAsyncWait?: boolean;
|
|
543
550
|
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
544
551
|
isLoading?: boolean;
|
|
545
552
|
} & ComponentProps<typeof Root$4>;
|
|
546
|
-
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
553
|
+
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$242): import("react/jsx-runtime").JSX.Element;
|
|
547
554
|
declare namespace AlertModal {
|
|
548
555
|
export { AlertModalTrigger as Trigger };
|
|
549
556
|
export { AlertModalContent as Content };
|
|
@@ -551,27 +558,39 @@ declare namespace AlertModal {
|
|
|
551
558
|
//#endregion
|
|
552
559
|
//#region src/components/Modal/ModalBody.d.ts
|
|
553
560
|
/** Props for `Modal.Body`. Accepts all `<div>` attributes; `as="form"` is reserved for future use. */
|
|
554
|
-
type Props$
|
|
561
|
+
type Props$241 = ComponentProps<'div'> & {
|
|
555
562
|
as?: 'form';
|
|
556
563
|
};
|
|
557
564
|
/**
|
|
558
565
|
* Scrollable body slot for `Modal`. Place form fields, content blocks, or detail panels here.
|
|
559
566
|
* Takes available height inside `Modal.Content` and scrolls when content overflows.
|
|
560
567
|
*/
|
|
561
|
-
declare const ModalBody: ({ className, ...props }: Props$
|
|
568
|
+
declare const ModalBody: ({ className, ...props }: Props$241) => import("react/jsx-runtime").JSX.Element;
|
|
562
569
|
//#endregion
|
|
563
570
|
//#region src/components/Modal/ModalContent.d.ts
|
|
564
|
-
type Props$
|
|
571
|
+
type Props$240 = ComponentProps<typeof Content$2> & {
|
|
565
572
|
size?: 'small' | 'medium' | 'large';
|
|
566
573
|
};
|
|
567
|
-
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$
|
|
574
|
+
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$240) => import("react/jsx-runtime").JSX.Element;
|
|
568
575
|
//#endregion
|
|
569
576
|
//#region src/components/Modal/ModalFooter.d.ts
|
|
570
|
-
type Props$
|
|
571
|
-
|
|
577
|
+
type Props$239 = ComponentPropsWithRef<'div'>;
|
|
578
|
+
/**
|
|
579
|
+
* The modal's action row.
|
|
580
|
+
*
|
|
581
|
+
* - Right-aligns its children in a row, 8px apart, at their natural height.
|
|
582
|
+
* - Imposes no width on its children: one that should fill the row carries `tw:w-full` itself
|
|
583
|
+
* (`Button block`, `ButtonGroup variant="block"`). Passing `tw:w-full` to the footer does
|
|
584
|
+
* nothing — it already stretches to the modal's width as a `ModalContent` flex item.
|
|
585
|
+
* - Owns the horizontal padding; `ModalContent` owns the vertical edge padding.
|
|
586
|
+
* - Overriding the arrangement means passing the conflicting class: `cn` runs tailwind-merge, which
|
|
587
|
+
* displaces only within a group. `tw:justify-between` replaces `justify-end`; `tw:flex-col`
|
|
588
|
+
* leaves `items-center` and the gap in place, so a stacked footer wants `tw:items-stretch` too.
|
|
589
|
+
*/
|
|
590
|
+
declare const ModalFooter: ({ className, ...props }: Props$239) => import("react/jsx-runtime").JSX.Element;
|
|
572
591
|
//#endregion
|
|
573
592
|
//#region src/components/Modal/ModalHeader.d.ts
|
|
574
|
-
type Props$
|
|
593
|
+
type Props$238 = {
|
|
575
594
|
/** Status icon slot — `<Modal.Icon />` or `<Modal.Image />`. */
|
|
576
595
|
icon?: ReactNode;
|
|
577
596
|
/** Visible subtitle below the title (also fills `aria-describedby`). */
|
|
@@ -584,11 +603,11 @@ type Props$236 = {
|
|
|
584
603
|
hideCloseIcon?: boolean;
|
|
585
604
|
} & ComponentProps<'div'>;
|
|
586
605
|
/** Modal header: `[icon] | title (children) | actions + close` on row 1, `description` on row 2. */
|
|
587
|
-
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$
|
|
606
|
+
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$238) => import("react/jsx-runtime").JSX.Element;
|
|
588
607
|
//#endregion
|
|
589
608
|
//#region src/components/Modal/ModalIcon.d.ts
|
|
590
609
|
type NamedColor = 'orange' | 'blue' | 'red' | 'green' | 'gray' | 'violet';
|
|
591
|
-
type Props$
|
|
610
|
+
type Props$237 = {
|
|
592
611
|
color: NamedColor | (string & {});
|
|
593
612
|
icon: ReactNode;
|
|
594
613
|
};
|
|
@@ -606,25 +625,25 @@ type Props$235 = {
|
|
|
606
625
|
* `blue` info, `gray` neutral, `violet` agent) to encode meaning; the palette stays fixed across
|
|
607
626
|
* brand themes.
|
|
608
627
|
*/
|
|
609
|
-
declare const ModalIcon: ({ color, icon }: Props$
|
|
628
|
+
declare const ModalIcon: ({ color, icon }: Props$237) => import("react/jsx-runtime").JSX.Element;
|
|
610
629
|
//#endregion
|
|
611
630
|
//#region src/components/Modal/ModalImage.d.ts
|
|
612
|
-
type Props$
|
|
631
|
+
type Props$236 = {
|
|
613
632
|
src: string;
|
|
614
633
|
/** Accessible alt text. Defaults to `""` (decorative) — provide it when the image carries meaning. */
|
|
615
634
|
alt?: string;
|
|
616
635
|
};
|
|
617
|
-
declare const ModalImage: ({ src, alt }: Props$
|
|
636
|
+
declare const ModalImage: ({ src, alt }: Props$236) => import("react/jsx-runtime").JSX.Element | null;
|
|
618
637
|
//#endregion
|
|
619
638
|
//#region src/components/Modal/ModalOverlay.d.ts
|
|
620
|
-
type Props$
|
|
639
|
+
type Props$235 = ComponentProps<typeof Overlay$1> & {
|
|
621
640
|
disableTransition?: boolean;
|
|
622
641
|
};
|
|
623
|
-
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$
|
|
642
|
+
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$235) => import("react/jsx-runtime").JSX.Element;
|
|
624
643
|
//#endregion
|
|
625
644
|
//#region src/components/Modal/Modal.d.ts
|
|
626
|
-
type Props$
|
|
627
|
-
declare function Modal(props: Props$
|
|
645
|
+
type Props$234 = ComponentProps<typeof Root$5>;
|
|
646
|
+
declare function Modal(props: Props$234): import("react/jsx-runtime").JSX.Element;
|
|
628
647
|
declare namespace Modal {
|
|
629
648
|
export { Close };
|
|
630
649
|
export { Trigger$4 as Trigger };
|
|
@@ -638,13 +657,13 @@ declare namespace Modal {
|
|
|
638
657
|
}
|
|
639
658
|
//#endregion
|
|
640
659
|
//#region src/components/FullScreenModal/FullScreenModalBody.d.ts
|
|
641
|
-
type Props$
|
|
642
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
660
|
+
type Props$233 = HTMLAttributes<HTMLDivElement>;
|
|
661
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$233 & {
|
|
643
662
|
ref?: Ref<HTMLDivElement>;
|
|
644
663
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
645
664
|
//#endregion
|
|
646
665
|
//#region src/components/FullScreenModal/FullScreenModalHeader.d.ts
|
|
647
|
-
type Props$
|
|
666
|
+
type Props$232 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
648
667
|
title: ReactNode;
|
|
649
668
|
titleClassName?: string;
|
|
650
669
|
titleWrapperClassName?: string;
|
|
@@ -653,17 +672,17 @@ type Props$230 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
653
672
|
onClose?: () => void;
|
|
654
673
|
showPreviousTitle?: boolean;
|
|
655
674
|
}>;
|
|
656
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
675
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$232) => import("react/jsx-runtime").JSX.Element;
|
|
657
676
|
//#endregion
|
|
658
677
|
//#region src/components/FullScreenModal/FullScreenModalRoot.d.ts
|
|
659
|
-
type Props$
|
|
678
|
+
type Props$231 = HTMLAttributes<HTMLDivElement> & {
|
|
660
679
|
children: ReactNode;
|
|
661
680
|
/** Lock body scroll when modal is open. Default: true */
|
|
662
681
|
lockBodyScroll?: boolean;
|
|
663
682
|
/** Callback when ESC key is pressed */
|
|
664
683
|
onEscapeKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
665
684
|
};
|
|
666
|
-
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$
|
|
685
|
+
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$231) => import("react").ReactPortal;
|
|
667
686
|
//#endregion
|
|
668
687
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
669
688
|
declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
@@ -672,42 +691,42 @@ declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
|
672
691
|
};
|
|
673
692
|
//#endregion
|
|
674
693
|
//#region src/components/Sheet/SheetBody.d.ts
|
|
675
|
-
type Props$
|
|
676
|
-
declare const SheetBody: ({ className, ...rest }: Props$
|
|
694
|
+
type Props$230 = ComponentProps<'div'>;
|
|
695
|
+
declare const SheetBody: ({ className, ...rest }: Props$230) => import("react/jsx-runtime").JSX.Element;
|
|
677
696
|
//#endregion
|
|
678
697
|
//#region src/components/Sheet/SheetContent.d.ts
|
|
679
698
|
declare const sheetContentVariants: (props?: ({
|
|
680
699
|
disableTransition?: boolean | null | undefined;
|
|
681
700
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
682
701
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
683
|
-
type Props$
|
|
702
|
+
type Props$229 = ComponentProps<typeof Content$2> & {
|
|
684
703
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
685
704
|
hideOverlay?: boolean;
|
|
686
705
|
keepOpenOnPointerDownOutside?: boolean;
|
|
687
706
|
} & VariantProps<typeof sheetContentVariants> & Pick<ComponentProps<typeof Portal$2>, 'container'>;
|
|
688
|
-
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$
|
|
707
|
+
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$229) => import("react/jsx-runtime").JSX.Element;
|
|
689
708
|
//#endregion
|
|
690
709
|
//#region src/components/Sheet/SheetFooter.d.ts
|
|
691
|
-
type Props$
|
|
692
|
-
declare const SheetFooter: ({ className, ...props }: Props$
|
|
710
|
+
type Props$228 = ComponentProps<'div'>;
|
|
711
|
+
declare const SheetFooter: ({ className, ...props }: Props$228) => import("react/jsx-runtime").JSX.Element;
|
|
693
712
|
//#endregion
|
|
694
713
|
//#region src/components/Sheet/SheetHeader.d.ts
|
|
695
|
-
type Props$
|
|
714
|
+
type Props$227 = {
|
|
696
715
|
title?: ReactNode;
|
|
697
716
|
description?: ReactNode;
|
|
698
717
|
hideCloseIcon?: boolean;
|
|
699
718
|
} & ComponentProps<'div'>;
|
|
700
|
-
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$
|
|
719
|
+
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$227) => import("react/jsx-runtime").JSX.Element;
|
|
701
720
|
//#endregion
|
|
702
721
|
//#region src/components/Sheet/SheetTitle.d.ts
|
|
703
|
-
type Props$
|
|
722
|
+
type Props$226 = ComponentProps<typeof Title$1> & {
|
|
704
723
|
visuallyHidden?: boolean;
|
|
705
724
|
};
|
|
706
|
-
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$
|
|
725
|
+
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$226) => import("react/jsx-runtime").JSX.Element;
|
|
707
726
|
//#endregion
|
|
708
727
|
//#region src/components/Sheet/Sheet.d.ts
|
|
709
|
-
type Props$
|
|
710
|
-
declare function Sheet(props: Props$
|
|
728
|
+
type Props$225 = ComponentProps<typeof Root$5>;
|
|
729
|
+
declare function Sheet(props: Props$225): import("react/jsx-runtime").JSX.Element;
|
|
711
730
|
declare namespace Sheet {
|
|
712
731
|
export { Close };
|
|
713
732
|
export { Trigger$4 as Trigger };
|
|
@@ -723,12 +742,19 @@ declare const variants$5: (props?: ({
|
|
|
723
742
|
variant?: "argo" | "default" | null | undefined;
|
|
724
743
|
matchTriggerWidth?: boolean | null | undefined;
|
|
725
744
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
726
|
-
type Props$
|
|
727
|
-
|
|
745
|
+
type Props$224 = ComponentProps<typeof Content$3> & Omit<VariantProps<typeof variants$5>, 'variant'> & {
|
|
746
|
+
/**
|
|
747
|
+
* Where the popover portals to. Defaults to `document.body`; a host that
|
|
748
|
+
* scopes its own theme passes the element that carries it, so the panel is
|
|
749
|
+
* styled by the scope it belongs to rather than the page behind it.
|
|
750
|
+
*/
|
|
751
|
+
container?: ComponentProps<typeof Portal$3>['container'];
|
|
752
|
+
};
|
|
753
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$224) => import("react/jsx-runtime").JSX.Element;
|
|
728
754
|
//#endregion
|
|
729
755
|
//#region src/components/Popover/Popover.d.ts
|
|
730
|
-
type Props$
|
|
731
|
-
declare function Popover(props: Props$
|
|
756
|
+
type Props$223 = ComponentProps<typeof Root$6>;
|
|
757
|
+
declare function Popover(props: Props$223): import("react/jsx-runtime").JSX.Element;
|
|
732
758
|
declare namespace Popover {
|
|
733
759
|
export { PopoverContent as Content };
|
|
734
760
|
export { Trigger$5 as Trigger };
|
|
@@ -745,8 +771,8 @@ type PopconfirmContextType = {
|
|
|
745
771
|
};
|
|
746
772
|
//#endregion
|
|
747
773
|
//#region src/components/Popconfirm/PopconfirmBody.d.ts
|
|
748
|
-
type Props$
|
|
749
|
-
declare const PopconfirmBody: (props: Props$
|
|
774
|
+
type Props$222 = ComponentProps<'div'>;
|
|
775
|
+
declare const PopconfirmBody: (props: Props$222) => import("react/jsx-runtime").JSX.Element;
|
|
750
776
|
//#endregion
|
|
751
777
|
//#region src/components/Popconfirm/PopconfirmCancel.d.ts
|
|
752
778
|
type SlotProps$5 = {
|
|
@@ -756,8 +782,8 @@ type ButtonProps$2 = {
|
|
|
756
782
|
asChild?: false;
|
|
757
783
|
children?: ReactNode;
|
|
758
784
|
} & Omit<ComponentProps<typeof Button>, 'children'>;
|
|
759
|
-
type Props$
|
|
760
|
-
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
785
|
+
type Props$221 = SlotProps$5 | ButtonProps$2;
|
|
786
|
+
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$221) => import("react/jsx-runtime").JSX.Element;
|
|
761
787
|
//#endregion
|
|
762
788
|
//#region src/components/Popconfirm/PopconfirmConfirm.d.ts
|
|
763
789
|
type SlotProps$4 = {
|
|
@@ -767,27 +793,27 @@ type ButtonProps$1 = {
|
|
|
767
793
|
asChild?: false;
|
|
768
794
|
children?: ReactNode;
|
|
769
795
|
} & Omit<ComponentProps<typeof Button>, 'children' | 'isLoading'>;
|
|
770
|
-
type Props$
|
|
771
|
-
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
796
|
+
type Props$220 = SlotProps$4 | ButtonProps$1;
|
|
797
|
+
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$220) => import("react/jsx-runtime").JSX.Element;
|
|
772
798
|
//#endregion
|
|
773
799
|
//#region src/components/Popconfirm/PopconfirmContent.d.ts
|
|
774
|
-
type Props$
|
|
775
|
-
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$
|
|
800
|
+
type Props$219 = Omit<ComponentProps<typeof Popover.Content>, 'showArrow'>;
|
|
801
|
+
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$219) => import("react/jsx-runtime").JSX.Element;
|
|
776
802
|
//#endregion
|
|
777
803
|
//#region src/components/Popconfirm/PopconfirmFooter.d.ts
|
|
778
|
-
type Props$
|
|
779
|
-
declare const PopconfirmFooter: ({ className, ...props }: Props$
|
|
804
|
+
type Props$218 = ComponentProps<'div'>;
|
|
805
|
+
declare const PopconfirmFooter: ({ className, ...props }: Props$218) => import("react/jsx-runtime").JSX.Element;
|
|
780
806
|
//#endregion
|
|
781
807
|
//#region src/components/Popconfirm/PopconfirmTrigger.d.ts
|
|
782
|
-
type Props$
|
|
783
|
-
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$
|
|
808
|
+
type Props$217 = ComponentProps<typeof Popover.Trigger>;
|
|
809
|
+
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$217) => import("react/jsx-runtime").JSX.Element;
|
|
784
810
|
//#endregion
|
|
785
811
|
//#region src/components/Popconfirm/Popconfirm.d.ts
|
|
786
|
-
type Props$
|
|
812
|
+
type Props$216 = {
|
|
787
813
|
children: ReactNode;
|
|
788
814
|
skipAsyncWait?: boolean;
|
|
789
815
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
790
|
-
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
816
|
+
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$216): import("react/jsx-runtime").JSX.Element;
|
|
791
817
|
declare namespace Popconfirm {
|
|
792
818
|
export { PopconfirmConfirm as Confirm };
|
|
793
819
|
export { PopconfirmCancel as Cancel };
|
|
@@ -798,54 +824,54 @@ declare namespace Popconfirm {
|
|
|
798
824
|
}
|
|
799
825
|
//#endregion
|
|
800
826
|
//#region src/components/HoverCard/HoverCardContent.d.ts
|
|
801
|
-
type Props$
|
|
802
|
-
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$
|
|
827
|
+
type Props$215 = ComponentProps<typeof Content$4>;
|
|
828
|
+
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$215) => import("react/jsx-runtime").JSX.Element;
|
|
803
829
|
//#endregion
|
|
804
830
|
//#region src/components/HoverCard/HoverCard.d.ts
|
|
805
|
-
type Props$
|
|
806
|
-
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$
|
|
831
|
+
type Props$214 = ComponentProps<typeof Root$7>;
|
|
832
|
+
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$214): import("react/jsx-runtime").JSX.Element;
|
|
807
833
|
declare namespace HoverCard {
|
|
808
834
|
export { HoverCardContent as Content };
|
|
809
835
|
export { Trigger$6 as Trigger };
|
|
810
836
|
}
|
|
811
837
|
//#endregion
|
|
812
838
|
//#region src/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts
|
|
813
|
-
type Props$
|
|
839
|
+
type Props$213 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
814
840
|
closeOnSelect?: boolean;
|
|
815
841
|
indicator?: 'switch' | 'checkbox' | 'check';
|
|
816
842
|
indicatorAlign?: 'start' | 'end';
|
|
817
843
|
isLoading?: boolean;
|
|
818
844
|
};
|
|
819
|
-
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: Props$
|
|
845
|
+
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: Props$213) => import("react/jsx-runtime").JSX.Element;
|
|
820
846
|
//#endregion
|
|
821
847
|
//#region src/components/DropdownMenu/DropdownMenuContent.d.ts
|
|
822
|
-
type Props$
|
|
848
|
+
type Props$212 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
823
849
|
forceMount?: boolean;
|
|
824
850
|
viewPortClassName?: string;
|
|
825
851
|
container?: HTMLElement | null;
|
|
826
852
|
};
|
|
827
|
-
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$
|
|
853
|
+
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$212) => import("react/jsx-runtime").JSX.Element;
|
|
828
854
|
//#endregion
|
|
829
855
|
//#region src/components/DropdownMenu/DropdownMenuItemDescription.d.ts
|
|
830
|
-
type Props$
|
|
856
|
+
type Props$211 = ComponentProps<'span'> & {
|
|
831
857
|
hideOnHover?: boolean;
|
|
832
858
|
};
|
|
833
|
-
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$
|
|
859
|
+
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$211) => import("react/jsx-runtime").JSX.Element;
|
|
834
860
|
//#endregion
|
|
835
861
|
//#region src/components/DropdownMenu/DropdownMenuLabel.d.ts
|
|
836
|
-
type Props$
|
|
837
|
-
declare const DropdownMenuLabel: ({ className, ...props }: Props$
|
|
862
|
+
type Props$210 = ComponentProps<typeof DropdownMenuPrimitive.Label>;
|
|
863
|
+
declare const DropdownMenuLabel: ({ className, ...props }: Props$210) => import("react/jsx-runtime").JSX.Element;
|
|
838
864
|
//#endregion
|
|
839
865
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.d.ts
|
|
840
|
-
type Props$
|
|
866
|
+
type Props$209<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
841
867
|
value?: Value;
|
|
842
868
|
defaultValue?: Value;
|
|
843
869
|
onValueChange?: (value: Value) => void;
|
|
844
870
|
};
|
|
845
|
-
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$
|
|
871
|
+
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$209<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
846
872
|
//#endregion
|
|
847
873
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.d.ts
|
|
848
|
-
type Props$
|
|
874
|
+
type Props$208 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
849
875
|
closeOnSelect?: boolean;
|
|
850
876
|
indicatorAlign?: 'start' | 'end';
|
|
851
877
|
indicator?: 'radio' | 'check' | 'none';
|
|
@@ -853,30 +879,30 @@ type Props$206 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
|
853
879
|
iconClassName?: string;
|
|
854
880
|
isLoading?: boolean;
|
|
855
881
|
};
|
|
856
|
-
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$
|
|
882
|
+
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$208) => import("react/jsx-runtime").JSX.Element;
|
|
857
883
|
//#endregion
|
|
858
884
|
//#region src/components/DropdownMenu/DropdownMenuSeparator.d.ts
|
|
859
|
-
type Props$
|
|
860
|
-
declare const DropdownMenuSeparator: ({ className, ...props }: Props$
|
|
885
|
+
type Props$207 = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
|
|
886
|
+
declare const DropdownMenuSeparator: ({ className, ...props }: Props$207) => import("react/jsx-runtime").JSX.Element;
|
|
861
887
|
//#endregion
|
|
862
888
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.d.ts
|
|
863
889
|
declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
864
890
|
//#endregion
|
|
865
891
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubContent.d.ts
|
|
866
|
-
type Props$
|
|
867
|
-
declare const DropdownMenuSubContent: ({ className, ...props }: Props$
|
|
892
|
+
type Props$206 = ComponentProps<typeof DropdownMenuPrimitive.SubContent>;
|
|
893
|
+
declare const DropdownMenuSubContent: ({ className, ...props }: Props$206) => import("react/jsx-runtime").JSX.Element;
|
|
868
894
|
//#endregion
|
|
869
895
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.d.ts
|
|
870
|
-
type Props$
|
|
871
|
-
declare const DropdownMenuSubTrigger: ({ className, children, ...props }: Props$
|
|
896
|
+
type Props$205 = ComponentProps<typeof DropdownMenuPrimitive.SubTrigger>;
|
|
897
|
+
declare const DropdownMenuSubTrigger: ({ className, children, ...props }: Props$205) => import("react/jsx-runtime").JSX.Element;
|
|
872
898
|
//#endregion
|
|
873
899
|
//#region src/components/DropdownMenu/DropdownMenuTrigger.d.ts
|
|
874
|
-
type Props$
|
|
875
|
-
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$
|
|
900
|
+
type Props$204 = ComponentProps<typeof Trigger$2>;
|
|
901
|
+
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$204) => import("react/jsx-runtime").JSX.Element;
|
|
876
902
|
//#endregion
|
|
877
903
|
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
878
|
-
type Props$
|
|
879
|
-
declare function DropdownMenu({ modal, ...props }: Props$
|
|
904
|
+
type Props$203 = ComponentProps<typeof Root$2>;
|
|
905
|
+
declare function DropdownMenu({ modal, ...props }: Props$203): import("react/jsx-runtime").JSX.Element;
|
|
880
906
|
declare namespace DropdownMenu {
|
|
881
907
|
export { DropdownMenuTrigger as Trigger };
|
|
882
908
|
export { DropdownMenuContent as Content };
|
|
@@ -894,40 +920,40 @@ declare namespace DropdownMenu {
|
|
|
894
920
|
}
|
|
895
921
|
//#endregion
|
|
896
922
|
//#region src/blocks/Command/CommandContent.d.ts
|
|
897
|
-
type Props$
|
|
898
|
-
declare const CommandContent: ({ className, ...rest }: Props$
|
|
923
|
+
type Props$202 = ComponentProps<'div'>;
|
|
924
|
+
declare const CommandContent: ({ className, ...rest }: Props$202) => import("react/jsx-runtime").JSX.Element;
|
|
899
925
|
//#endregion
|
|
900
926
|
//#region src/blocks/Command/CommandEmpty.d.ts
|
|
901
|
-
type Props$
|
|
902
|
-
declare const CommandEmpty: ({ ...props }: Props$
|
|
927
|
+
type Props$201 = ComponentProps<typeof Command$1.Empty>;
|
|
928
|
+
declare const CommandEmpty: ({ ...props }: Props$201) => import("react/jsx-runtime").JSX.Element;
|
|
903
929
|
//#endregion
|
|
904
930
|
//#region src/blocks/Command/CommandGroup.d.ts
|
|
905
|
-
type Props$
|
|
906
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
931
|
+
type Props$200 = ComponentProps<typeof Command$1.Group>;
|
|
932
|
+
declare const CommandGroup: ({ className, ...props }: Props$200) => import("react/jsx-runtime").JSX.Element;
|
|
907
933
|
//#endregion
|
|
908
934
|
//#region src/components/InputGroup/InputGroupAddon.d.ts
|
|
909
935
|
declare const addonVariants$1: (props?: ({
|
|
910
936
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
911
937
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
912
|
-
type Props$
|
|
913
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
938
|
+
type Props$199 = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
939
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$199) => import("react/jsx-runtime").JSX.Element;
|
|
914
940
|
//#endregion
|
|
915
941
|
//#region src/components/InputGroup/InputGroupButton.d.ts
|
|
916
942
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
917
|
-
type Props$
|
|
918
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
943
|
+
type Props$198 = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
944
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$198) => import("react/jsx-runtime").JSX.Element;
|
|
919
945
|
//#endregion
|
|
920
946
|
//#region src/components/InputGroup/InputGroupInput.d.ts
|
|
921
|
-
type Props$
|
|
922
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
947
|
+
type Props$197 = ComponentProps<'input'>;
|
|
948
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$197) => import("react/jsx-runtime").JSX.Element;
|
|
923
949
|
//#endregion
|
|
924
950
|
//#region src/components/InputGroup/InputGroupText.d.ts
|
|
925
|
-
type Props$
|
|
926
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
951
|
+
type Props$196 = ComponentProps<'span'>;
|
|
952
|
+
declare const InputGroupText: ({ className, ...props }: Props$196) => import("react/jsx-runtime").JSX.Element;
|
|
927
953
|
//#endregion
|
|
928
954
|
//#region src/components/InputGroup/InputGroupTextArea.d.ts
|
|
929
955
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof TextareaAutosize>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
930
|
-
type Props$
|
|
956
|
+
type Props$195 = TextareaNativeProps$1 & {
|
|
931
957
|
value?: string | null;
|
|
932
958
|
defaultValue?: string | null;
|
|
933
959
|
onValueChange?: (value: string) => void;
|
|
@@ -935,7 +961,7 @@ type Props$193 = TextareaNativeProps$1 & {
|
|
|
935
961
|
maxRows?: number | 'unlimited';
|
|
936
962
|
disableResize?: boolean;
|
|
937
963
|
};
|
|
938
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
964
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$195) => import("react/jsx-runtime").JSX.Element;
|
|
939
965
|
//#endregion
|
|
940
966
|
//#region src/components/InputGroup/InputGroup.d.ts
|
|
941
967
|
declare const inputGroupVariants: (props?: ({
|
|
@@ -944,10 +970,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
944
970
|
sizing?: "default" | "medium" | "small" | null | undefined;
|
|
945
971
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
946
972
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
947
|
-
type Props$
|
|
973
|
+
type Props$194 = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
948
974
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
949
975
|
};
|
|
950
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
976
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$194) => import("react/jsx-runtime").JSX.Element;
|
|
951
977
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
952
978
|
Input: typeof InputGroupInput;
|
|
953
979
|
Addon: typeof InputGroupAddon;
|
|
@@ -996,47 +1022,59 @@ type Props$3 = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pre
|
|
|
996
1022
|
declare const TextInput: ({ ref: forwardedRef, state, sizing, className, prefix, rightSuffix, rightSuffixVariant, leftSuffix, allowClear, onClear, disabled, testId: prefixTestId, autoFocus, id, name, variant, readOnly, type, focusVariant, onChange, onBlur, onValueChange, onValueBlur, value: valueProp, defaultValue, ...inputProps }: Props$3) => import("react/jsx-runtime").JSX.Element;
|
|
997
1023
|
//#endregion
|
|
998
1024
|
//#region src/blocks/Command/CommandInput.d.ts
|
|
999
|
-
type Props$
|
|
1000
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1025
|
+
type Props$193 = ComponentProps<typeof TextInput>;
|
|
1026
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$193) => import("react/jsx-runtime").JSX.Element;
|
|
1001
1027
|
//#endregion
|
|
1002
1028
|
//#region src/blocks/Command/CommandItem/CheckIndicator.d.ts
|
|
1003
|
-
type Props$
|
|
1029
|
+
type Props$192 = {
|
|
1004
1030
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
1005
1031
|
};
|
|
1006
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
1032
|
+
declare const CheckIndicator: ({ variant }: Props$192) => import("react/jsx-runtime").JSX.Element | null;
|
|
1007
1033
|
//#endregion
|
|
1008
1034
|
//#region src/blocks/Command/CommandItem/CommandItem.d.ts
|
|
1009
|
-
type Props$
|
|
1035
|
+
type Props$191 = ComponentProps<typeof Command$1.Item> & {
|
|
1010
1036
|
icon?: ReactNode;
|
|
1011
1037
|
checked?: boolean;
|
|
1012
1038
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1013
1039
|
actions?: ReactNode;
|
|
1014
1040
|
};
|
|
1015
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1041
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$191) => import("react/jsx-runtime").JSX.Element;
|
|
1016
1042
|
//#endregion
|
|
1017
1043
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
1018
|
-
type Props$
|
|
1044
|
+
type Props$190 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1019
1045
|
viewPortClassName?: string;
|
|
1020
1046
|
scrollBarClassName?: string;
|
|
1021
1047
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1022
1048
|
};
|
|
1023
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1049
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$190) => import("react/jsx-runtime").JSX.Element;
|
|
1024
1050
|
//#endregion
|
|
1025
1051
|
//#region src/components/ScrollArea/ScrollBar.d.ts
|
|
1026
|
-
type Props$
|
|
1027
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1052
|
+
type Props$189 = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1053
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$189) => import("react/jsx-runtime").JSX.Element;
|
|
1028
1054
|
//#endregion
|
|
1029
1055
|
//#region src/blocks/Command/CommandList.d.ts
|
|
1030
|
-
type Props$
|
|
1031
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1056
|
+
type Props$188 = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1057
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$188) => import("react/jsx-runtime").JSX.Element;
|
|
1032
1058
|
//#endregion
|
|
1033
1059
|
//#region src/blocks/Command/CommandSeparator.d.ts
|
|
1034
|
-
type Props$
|
|
1035
|
-
declare const CommandSeparator: ({ className, ...props }: Props$
|
|
1060
|
+
type Props$187 = ComponentProps<typeof Command$1.Separator>;
|
|
1061
|
+
declare const CommandSeparator: ({ className, ...props }: Props$187) => import("react/jsx-runtime").JSX.Element;
|
|
1036
1062
|
//#endregion
|
|
1037
1063
|
//#region src/blocks/Command/Command.d.ts
|
|
1038
|
-
type
|
|
1039
|
-
|
|
1064
|
+
type Variant$8 = 'default' | 'argo';
|
|
1065
|
+
type Props$186 = ComponentProps<typeof Command$1> & {
|
|
1066
|
+
/**
|
|
1067
|
+
* Which styling the parts take, when the theme's own answer is wrong for the
|
|
1068
|
+
* surface.
|
|
1069
|
+
*
|
|
1070
|
+
* - Unset, it follows the theme — `argo` under the new design system.
|
|
1071
|
+
* - `argo` is sized for the full-screen palette: a full-bleed 48px input with
|
|
1072
|
+
* no border or radius, and a list inset to match. Passing `default` is how a
|
|
1073
|
+
* command in a small surface — a popover, a menu — opts out of that.
|
|
1074
|
+
*/
|
|
1075
|
+
variant?: Variant$8;
|
|
1076
|
+
};
|
|
1077
|
+
declare function Command({ className, variant, ...rest }: Props$186): import("react/jsx-runtime").JSX.Element;
|
|
1040
1078
|
declare namespace Command {
|
|
1041
1079
|
export { CommandContent as Content };
|
|
1042
1080
|
export { CommandSeparator as Separator };
|
|
@@ -1067,7 +1105,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1067
1105
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1068
1106
|
//#endregion
|
|
1069
1107
|
//#region src/components/SpotlightBackdrop/SpotlightBackdrop.d.ts
|
|
1070
|
-
type Props$
|
|
1108
|
+
type Props$185 = {
|
|
1071
1109
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1072
1110
|
rect: TargetRect | null;
|
|
1073
1111
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1089,7 +1127,7 @@ type Props$183 = {
|
|
|
1089
1127
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1090
1128
|
* "Guided tour (recipe)" story for the composition.
|
|
1091
1129
|
*/
|
|
1092
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1130
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$185) => import("react/jsx-runtime").JSX.Element;
|
|
1093
1131
|
//#endregion
|
|
1094
1132
|
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/types.d.ts
|
|
1095
1133
|
/**
|
|
@@ -3486,16 +3524,16 @@ declare namespace DateRangePicker {
|
|
|
3486
3524
|
}
|
|
3487
3525
|
//#endregion
|
|
3488
3526
|
//#region src/components/TimePicker/TimePicker.d.ts
|
|
3489
|
-
type Props$
|
|
3527
|
+
type Props$184 = {
|
|
3490
3528
|
children?: ReactNode;
|
|
3491
3529
|
defaultSelected?: string | null;
|
|
3492
3530
|
selected?: string | null;
|
|
3493
3531
|
onSelect?: (time: string) => void;
|
|
3494
3532
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3495
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$
|
|
3533
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$184) => import("react/jsx-runtime").JSX.Element;
|
|
3496
3534
|
//#endregion
|
|
3497
3535
|
//#region src/components/Label/Label.d.ts
|
|
3498
|
-
type Props$
|
|
3536
|
+
type Props$183 = {
|
|
3499
3537
|
id?: string | number;
|
|
3500
3538
|
htmlFor?: string | number;
|
|
3501
3539
|
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
@@ -3511,7 +3549,7 @@ declare const Optional: ({ className, ...props }: ComponentPropsWithRef<'span'>)
|
|
|
3511
3549
|
* `aria-required` (or `required`) on the associated control.
|
|
3512
3550
|
*/
|
|
3513
3551
|
declare const Required: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react/jsx-runtime").JSX.Element;
|
|
3514
|
-
declare function Label({ className, children, id, htmlFor, ...rest }: Props$
|
|
3552
|
+
declare function Label({ className, children, id, htmlFor, ...rest }: Props$183): import("react/jsx-runtime").JSX.Element;
|
|
3515
3553
|
declare namespace Label {
|
|
3516
3554
|
export { Optional };
|
|
3517
3555
|
export { Required };
|
|
@@ -3529,14 +3567,14 @@ declare const switchVariants: (props?: ({
|
|
|
3529
3567
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3530
3568
|
//#endregion
|
|
3531
3569
|
//#region src/components/Switch/Switch.d.ts
|
|
3532
|
-
type Props$
|
|
3570
|
+
type Props$182 = {
|
|
3533
3571
|
id?: string | number;
|
|
3534
3572
|
children?: ReactNode;
|
|
3535
3573
|
description?: ReactNode;
|
|
3536
3574
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3537
3575
|
position?: 'start' | 'end';
|
|
3538
3576
|
} & Omit<ComponentProps<typeof Root$8>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
3539
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
3577
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$182) => import("react/jsx-runtime").JSX.Element;
|
|
3540
3578
|
//#endregion
|
|
3541
3579
|
//#region src/components/RadioGroup/context.d.ts
|
|
3542
3580
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
@@ -3544,52 +3582,52 @@ type Orientation = 'vertical' | 'horizontal';
|
|
|
3544
3582
|
//#endregion
|
|
3545
3583
|
//#region src/components/RadioGroup/RadioGroupItem.d.ts
|
|
3546
3584
|
type ItemProps = Omit<ComponentProps<typeof Item>, 'asChild' | 'value'>;
|
|
3547
|
-
type Props$
|
|
3585
|
+
type Props$181<T extends string = string> = ItemProps & {
|
|
3548
3586
|
value: T;
|
|
3549
3587
|
tooltip?: ReactNode;
|
|
3550
|
-
tooltipVariant?: Props$
|
|
3551
|
-
tooltipPlacement?: Props$
|
|
3588
|
+
tooltipVariant?: Props$8['variant'];
|
|
3589
|
+
tooltipPlacement?: Props$8['placement'];
|
|
3552
3590
|
description?: ReactNode;
|
|
3553
3591
|
};
|
|
3554
|
-
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$
|
|
3592
|
+
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$181<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3555
3593
|
//#endregion
|
|
3556
3594
|
//#region src/components/RadioGroup/RadioGroupSeparator.d.ts
|
|
3557
3595
|
declare const RadioGroupSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
3558
3596
|
//#endregion
|
|
3559
3597
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3560
|
-
type Props$
|
|
3598
|
+
type Props$180<Value> = {
|
|
3561
3599
|
variant?: Variant$7;
|
|
3562
3600
|
orientation?: Orientation;
|
|
3563
3601
|
onValueChange?: (value: Value) => void;
|
|
3564
3602
|
value?: Value | null;
|
|
3565
3603
|
defaultValue?: Value | null;
|
|
3566
3604
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
3567
|
-
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
3605
|
+
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$180<Value>): import("react/jsx-runtime").JSX.Element;
|
|
3568
3606
|
declare namespace RadioGroup {
|
|
3569
3607
|
export { RadioGroupItem as Item };
|
|
3570
3608
|
export { RadioGroupSeparator as Separator };
|
|
3571
3609
|
}
|
|
3572
3610
|
//#endregion
|
|
3573
3611
|
//#region src/components/Slider/SliderThumb.d.ts
|
|
3574
|
-
type Props$
|
|
3612
|
+
type Props$179 = ComponentProps<typeof Thumb$1> & {
|
|
3575
3613
|
tooltip?: ReactNode;
|
|
3576
3614
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
3577
3615
|
};
|
|
3578
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
3616
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$179) => import("react/jsx-runtime").JSX.Element;
|
|
3579
3617
|
//#endregion
|
|
3580
3618
|
//#region src/components/Slider/Slider.d.ts
|
|
3581
3619
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
3582
|
-
type Props$
|
|
3620
|
+
type Props$178 = ComponentProps<typeof Root$9> & {
|
|
3583
3621
|
thumbTooltip?: ThumbTooltipFn;
|
|
3584
3622
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
3585
3623
|
rangeClassName?: string;
|
|
3586
3624
|
};
|
|
3587
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
3625
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$178) => import("react/jsx-runtime").JSX.Element;
|
|
3588
3626
|
//#endregion
|
|
3589
3627
|
//#region src/components/Search/Search.d.ts
|
|
3590
3628
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent<HTMLButtonElement>) => void;
|
|
3591
3629
|
type SearchBlurEventHandler = (value: string, event: FocusEvent<HTMLInputElement, Element>) => void;
|
|
3592
|
-
type Props$
|
|
3630
|
+
type Props$177 = {
|
|
3593
3631
|
suffix?: ReactNode;
|
|
3594
3632
|
disableDebounce?: boolean;
|
|
3595
3633
|
debounceDelay?: number;
|
|
@@ -3604,19 +3642,19 @@ type Props$175 = {
|
|
|
3604
3642
|
/**
|
|
3605
3643
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
3606
3644
|
*/
|
|
3607
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
3645
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$177) => import("react/jsx-runtime").JSX.Element;
|
|
3608
3646
|
//#endregion
|
|
3609
3647
|
//#region src/components/Search/SearchForm.d.ts
|
|
3610
|
-
type Props$
|
|
3648
|
+
type Props$176 = {
|
|
3611
3649
|
onSubmit: (value: string) => void;
|
|
3612
3650
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
3613
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
3651
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$176) => import("react/jsx-runtime").JSX.Element;
|
|
3614
3652
|
//#endregion
|
|
3615
3653
|
//#region src/components/Select/SelectContent.d.ts
|
|
3616
3654
|
/**
|
|
3617
3655
|
* Props for `Select.Content`. `container` portals the listbox into a custom element (useful inside modals).
|
|
3618
3656
|
*/
|
|
3619
|
-
type Props$
|
|
3657
|
+
type Props$175 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
3620
3658
|
container?: HTMLElement | null;
|
|
3621
3659
|
};
|
|
3622
3660
|
/**
|
|
@@ -3624,21 +3662,22 @@ type Props$173 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
|
3624
3662
|
* Normally rendered implicitly by `Select`; use directly only when composing custom item layouts via
|
|
3625
3663
|
* the `Select.Root` / `Select.Trigger` / `Select.Content` compound parts.
|
|
3626
3664
|
*/
|
|
3627
|
-
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$
|
|
3665
|
+
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$175) => import("react/jsx-runtime").JSX.Element;
|
|
3628
3666
|
//#endregion
|
|
3629
3667
|
//#region src/components/Select/SelectGroup.d.ts
|
|
3630
|
-
type Props$
|
|
3631
|
-
declare const SelectGroup: ({ className, ...props }: Props$
|
|
3668
|
+
type Props$174 = ComponentProps<typeof SelectPrimitive.Group>;
|
|
3669
|
+
declare const SelectGroup: ({ className, ...props }: Props$174) => import("react/jsx-runtime").JSX.Element;
|
|
3632
3670
|
//#endregion
|
|
3633
3671
|
//#region src/components/Select/SelectItem.d.ts
|
|
3634
|
-
type Props$
|
|
3672
|
+
type Props$173 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3635
3673
|
icon?: ReactNode;
|
|
3674
|
+
hint?: ReactNode;
|
|
3636
3675
|
};
|
|
3637
|
-
declare const SelectItem$1: ({ ref, className, children, icon, ...props }: Props$
|
|
3676
|
+
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$173) => import("react/jsx-runtime").JSX.Element;
|
|
3638
3677
|
//#endregion
|
|
3639
3678
|
//#region src/components/Select/SelectLabel.d.ts
|
|
3640
|
-
type Props$
|
|
3641
|
-
declare const SelectLabel: ({ className, ...props }: Props$
|
|
3679
|
+
type Props$172 = ComponentProps<typeof SelectPrimitive.Label>;
|
|
3680
|
+
declare const SelectLabel: ({ className, ...props }: Props$172) => import("react/jsx-runtime").JSX.Element;
|
|
3642
3681
|
//#endregion
|
|
3643
3682
|
//#region src/components/Select/SelectRoot.d.ts
|
|
3644
3683
|
type SelectRootProps = {
|
|
@@ -3659,20 +3698,22 @@ type SelectRootProps = {
|
|
|
3659
3698
|
declare const SelectRoot: (props: SelectRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
3660
3699
|
//#endregion
|
|
3661
3700
|
//#region src/components/Select/SelectSeparator.d.ts
|
|
3662
|
-
type Props$
|
|
3663
|
-
declare const SelectSeparator: ({ className, ...props }: Props$
|
|
3701
|
+
type Props$171 = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
3702
|
+
declare const SelectSeparator: ({ className, ...props }: Props$171) => import("react/jsx-runtime").JSX.Element;
|
|
3664
3703
|
//#endregion
|
|
3665
3704
|
//#region src/components/Select/SelectTrigger.d.ts
|
|
3666
|
-
type Props$
|
|
3705
|
+
type Props$170 = ComponentProps<typeof SelectPrimitive.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
3667
3706
|
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'> | 'inline';
|
|
3668
3707
|
} & Pick<ComponentProps<typeof SelectPrimitive.Value>, 'placeholder'>;
|
|
3669
|
-
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$
|
|
3708
|
+
declare const SelectTrigger: ({ ref, className, variant, state, sizing, placeholder, ...props }: Props$170) => import("react/jsx-runtime").JSX.Element;
|
|
3670
3709
|
//#endregion
|
|
3671
3710
|
//#region src/components/Select/Select.d.ts
|
|
3672
3711
|
type SelectItem = {
|
|
3673
3712
|
value: string;
|
|
3674
3713
|
label: ReactNode;
|
|
3675
3714
|
icon?: ReactNode;
|
|
3715
|
+
/** Trailing muted note shown in the listbox only — never in the trigger. */
|
|
3716
|
+
hint?: ReactNode;
|
|
3676
3717
|
disabled?: boolean;
|
|
3677
3718
|
};
|
|
3678
3719
|
type SelectItemGroup = {
|
|
@@ -3680,10 +3721,10 @@ type SelectItemGroup = {
|
|
|
3680
3721
|
items: readonly SelectItem[];
|
|
3681
3722
|
};
|
|
3682
3723
|
type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
3683
|
-
type Props$
|
|
3724
|
+
type Props$169 = Pick<SelectRootProps, 'value' | 'defaultValue' | 'onValueChange' | 'disabled' | 'name' | 'required' | 'open' | 'defaultOpen' | 'onOpenChange' | 'dir' | 'autoComplete' | 'form'> & Pick<TriggerProps, 'variant' | 'state' | 'sizing' | 'placeholder' | 'id' | 'className' | 'onBlur' | 'aria-label' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & {
|
|
3684
3725
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
3685
3726
|
};
|
|
3686
|
-
declare function Select({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, items }: Props$
|
|
3727
|
+
declare function Select({ value, defaultValue, onValueChange, disabled, name, required, open, defaultOpen, onOpenChange, dir, autoComplete, form, variant, state, sizing, placeholder, id, className, onBlur, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, items }: Props$169): import("react/jsx-runtime").JSX.Element;
|
|
3687
3728
|
declare namespace Select {
|
|
3688
3729
|
export { SelectRoot as Root };
|
|
3689
3730
|
export { SelectTrigger as Trigger };
|
|
@@ -3695,19 +3736,19 @@ declare namespace Select {
|
|
|
3695
3736
|
}
|
|
3696
3737
|
//#endregion
|
|
3697
3738
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
3698
|
-
type Props$
|
|
3739
|
+
type Props$168 = {
|
|
3699
3740
|
id?: string | number;
|
|
3700
3741
|
description?: ReactNode;
|
|
3701
3742
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3702
3743
|
position?: 'start' | 'end';
|
|
3703
|
-
tooltip?: Props$
|
|
3704
|
-
tooltipPlacement?: Props$
|
|
3744
|
+
tooltip?: Props$8['tooltip'];
|
|
3745
|
+
tooltipPlacement?: Props$8['placement'];
|
|
3705
3746
|
} & Omit<ComponentProps<typeof Root$11>, 'id'>;
|
|
3706
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3747
|
+
declare function Checkbox(prop: Omit<Props$168, 'checked' | 'onCheckedChange'> & {
|
|
3707
3748
|
checked?: boolean;
|
|
3708
3749
|
onCheckedChange?: (checked: boolean) => void;
|
|
3709
3750
|
}): ReactNode;
|
|
3710
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3751
|
+
declare function Checkbox(prop: Omit<Props$168, 'checked' | 'onCheckedChange'> & {
|
|
3711
3752
|
checked?: CheckedState;
|
|
3712
3753
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
3713
3754
|
}): ReactNode;
|
|
@@ -3717,18 +3758,18 @@ declare const addonVariants: (props?: ({
|
|
|
3717
3758
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
3718
3759
|
variant?: "floating" | "inline" | null | undefined;
|
|
3719
3760
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3720
|
-
type Props$
|
|
3721
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
3761
|
+
type Props$167 = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
3762
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$167) => import("react/jsx-runtime").JSX.Element;
|
|
3722
3763
|
//#endregion
|
|
3723
3764
|
//#region src/components/Badge/BadgeButton.d.ts
|
|
3724
|
-
type Props$
|
|
3725
|
-
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$
|
|
3765
|
+
type Props$166 = ComponentProps<'button'>;
|
|
3766
|
+
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$166) => import("react/jsx-runtime").JSX.Element;
|
|
3726
3767
|
//#endregion
|
|
3727
3768
|
//#region src/components/Badge/BadgeLabel.d.ts
|
|
3728
|
-
type Props$
|
|
3769
|
+
type Props$165 = ComponentProps<'span'> & {
|
|
3729
3770
|
asChild?: boolean;
|
|
3730
3771
|
};
|
|
3731
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
3772
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$165) => import("react/jsx-runtime").JSX.Element;
|
|
3732
3773
|
//#endregion
|
|
3733
3774
|
//#region src/components/Badge/styles.d.ts
|
|
3734
3775
|
declare const badgeRootVariants: (props?: ({
|
|
@@ -3737,8 +3778,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
3737
3778
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3738
3779
|
//#endregion
|
|
3739
3780
|
//#region src/components/Badge/BadgeRoot.d.ts
|
|
3740
|
-
type Props$
|
|
3741
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
3781
|
+
type Props$164 = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
3782
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$164) => import("react/jsx-runtime").JSX.Element;
|
|
3742
3783
|
//#endregion
|
|
3743
3784
|
//#region src/components/Badge/Badge.d.ts
|
|
3744
3785
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
@@ -3749,7 +3790,7 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
3749
3790
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
3750
3791
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
3751
3792
|
*/
|
|
3752
|
-
type Props$
|
|
3793
|
+
type Props$163 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
3753
3794
|
prefix?: ReactNode;
|
|
3754
3795
|
prefixVariant?: AddonVariant;
|
|
3755
3796
|
suffix?: ReactNode;
|
|
@@ -3767,7 +3808,7 @@ type Props$161 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProp
|
|
|
3767
3808
|
* **Composition:** drop into `PageHeader.Detail` `badges` slot, `Table.Cell`, or alongside titles in cards.
|
|
3768
3809
|
* Use `Badge.Button` for an interactive (clickable) badge variant.
|
|
3769
3810
|
*/
|
|
3770
|
-
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
3811
|
+
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$163) => import("react/jsx-runtime").JSX.Element;
|
|
3771
3812
|
declare const Badge: typeof BadgeInner & {
|
|
3772
3813
|
Root: typeof BadgeRoot;
|
|
3773
3814
|
Button: typeof BadgeButton;
|
|
@@ -3778,13 +3819,20 @@ declare const Badge: typeof BadgeInner & {
|
|
|
3778
3819
|
//#region src/components/Combobox/ComboboxChips.d.ts
|
|
3779
3820
|
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
3780
3821
|
type BadgeVariant = ComponentProps<typeof Badge>['variant'];
|
|
3781
|
-
type Props$
|
|
3822
|
+
type Props$162<Value> = {
|
|
3782
3823
|
maxVisible?: number;
|
|
3783
3824
|
itemToChipLabel?: (item: Value) => ReactNode;
|
|
3784
3825
|
itemToChipColor?: (item: Value) => BadgeColor;
|
|
3826
|
+
/**
|
|
3827
|
+
* Labels for chips the control shows but the user does not own — a pinned set the caller keeps.
|
|
3828
|
+
*
|
|
3829
|
+
* - Each label gets a chip of its own, ahead of the values and outside the `maxVisible` slice.
|
|
3830
|
+
* - No remove button, and no entry in `value` — there is nothing for a removal to report.
|
|
3831
|
+
*/
|
|
3832
|
+
pinnedChipLabels?: ReactNode[];
|
|
3785
3833
|
variant?: BadgeVariant;
|
|
3786
3834
|
};
|
|
3787
|
-
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant }: Props$
|
|
3835
|
+
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant }: Props$162<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
3788
3836
|
//#endregion
|
|
3789
3837
|
//#region src/components/Combobox/ComboboxContent.d.ts
|
|
3790
3838
|
type PortalProps = ComponentProps<typeof Combobox$1.Portal>;
|
|
@@ -3792,72 +3840,72 @@ type PositionerProps = ComponentProps<typeof Combobox$1.Positioner>;
|
|
|
3792
3840
|
type PopupProps = Omit<ComponentProps<typeof Combobox$1.Popup>, 'className'> & {
|
|
3793
3841
|
className?: string;
|
|
3794
3842
|
};
|
|
3795
|
-
type Props$
|
|
3796
|
-
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$
|
|
3843
|
+
type Props$161 = PopupProps & Pick<PositionerProps, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & Pick<PortalProps, 'container'>;
|
|
3844
|
+
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$161) => import("react/jsx-runtime").JSX.Element;
|
|
3797
3845
|
//#endregion
|
|
3798
3846
|
//#region src/components/Combobox/ComboboxEmpty.d.ts
|
|
3799
|
-
type Props$
|
|
3847
|
+
type Props$160 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3800
3848
|
className?: string;
|
|
3801
3849
|
};
|
|
3802
|
-
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$
|
|
3850
|
+
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$160) => import("react/jsx-runtime").JSX.Element;
|
|
3803
3851
|
//#endregion
|
|
3804
3852
|
//#region src/components/Combobox/ComboboxInput.d.ts
|
|
3805
|
-
type Props$
|
|
3806
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
3853
|
+
type Props$159 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
3854
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$159) => import("react/jsx-runtime").JSX.Element;
|
|
3807
3855
|
//#endregion
|
|
3808
3856
|
//#region src/components/Combobox/ComboboxInputGroup.d.ts
|
|
3809
3857
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
3810
|
-
type Props$
|
|
3858
|
+
type Props$158 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
3811
3859
|
className?: string;
|
|
3812
3860
|
};
|
|
3813
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
3861
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$158) => import("react/jsx-runtime").JSX.Element;
|
|
3814
3862
|
//#endregion
|
|
3815
3863
|
//#region src/components/Combobox/ComboboxItemIndicator.d.ts
|
|
3816
3864
|
type Variant$6 = 'check' | 'checkbox';
|
|
3817
|
-
type Props$
|
|
3865
|
+
type Props$157 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
3818
3866
|
className?: string;
|
|
3819
3867
|
variant?: Variant$6;
|
|
3820
3868
|
};
|
|
3821
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
3869
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$157) => import("react/jsx-runtime").JSX.Element;
|
|
3822
3870
|
//#endregion
|
|
3823
3871
|
//#region src/components/Combobox/ComboboxItem.d.ts
|
|
3824
|
-
type Props$
|
|
3872
|
+
type Props$156 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3825
3873
|
className?: string;
|
|
3826
3874
|
icon?: ReactNode;
|
|
3827
3875
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
3828
3876
|
};
|
|
3829
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
3877
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$156) => import("react/jsx-runtime").JSX.Element;
|
|
3830
3878
|
//#endregion
|
|
3831
3879
|
//#region src/components/Combobox/ComboboxList.d.ts
|
|
3832
|
-
type Props$
|
|
3880
|
+
type Props$155 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3833
3881
|
className?: string;
|
|
3834
3882
|
};
|
|
3835
|
-
declare const ComboboxList: ({ ref, className, ...props }: Props$
|
|
3883
|
+
declare const ComboboxList: ({ ref, className, ...props }: Props$155) => import("react/jsx-runtime").JSX.Element;
|
|
3836
3884
|
//#endregion
|
|
3837
3885
|
//#region src/components/Combobox/ComboboxRoot.d.ts
|
|
3838
3886
|
declare const ComboboxRoot: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => import("react/jsx-runtime").JSX.Element;
|
|
3839
3887
|
//#endregion
|
|
3840
3888
|
//#region src/components/Combobox/ComboboxSeparator.d.ts
|
|
3841
|
-
type Props$
|
|
3889
|
+
type Props$154 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3842
3890
|
className?: string;
|
|
3843
3891
|
};
|
|
3844
|
-
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$
|
|
3892
|
+
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$154) => import("react/jsx-runtime").JSX.Element;
|
|
3845
3893
|
//#endregion
|
|
3846
3894
|
//#region src/components/Combobox/Group/ComboboxGroup.d.ts
|
|
3847
|
-
type Props$
|
|
3895
|
+
type Props$153 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3848
3896
|
className?: string;
|
|
3849
3897
|
};
|
|
3850
|
-
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$
|
|
3898
|
+
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$153) => import("react/jsx-runtime").JSX.Element;
|
|
3851
3899
|
//#endregion
|
|
3852
3900
|
//#region src/components/Combobox/Group/ComboboxGroupLabel.d.ts
|
|
3853
|
-
type Props$
|
|
3901
|
+
type Props$152 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3854
3902
|
className?: string;
|
|
3855
3903
|
};
|
|
3856
|
-
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$
|
|
3904
|
+
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$152) => import("react/jsx-runtime").JSX.Element;
|
|
3857
3905
|
//#endregion
|
|
3858
3906
|
//#region src/components/Combobox/Group/ComboboxCollection.d.ts
|
|
3859
|
-
type Props$
|
|
3860
|
-
declare const ComboboxCollection: ({ ...props }: Props$
|
|
3907
|
+
type Props$151 = Combobox$1.Collection.Props;
|
|
3908
|
+
declare const ComboboxCollection: ({ ...props }: Props$151) => import("react/jsx-runtime").JSX.Element;
|
|
3861
3909
|
//#endregion
|
|
3862
3910
|
//#region src/components/Combobox/types.d.ts
|
|
3863
3911
|
type Group$2<Item = unknown> = {
|
|
@@ -3885,7 +3933,7 @@ type CreatableProps$1<Value> = {
|
|
|
3885
3933
|
*/
|
|
3886
3934
|
canCreate?: (query: string) => boolean;
|
|
3887
3935
|
};
|
|
3888
|
-
type Props$
|
|
3936
|
+
type Props$150<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
3889
3937
|
items?: readonly (Value | GroupShape)[];
|
|
3890
3938
|
allowClear?: boolean;
|
|
3891
3939
|
empty?: ReactNode;
|
|
@@ -3904,7 +3952,7 @@ type Props$148<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Publ
|
|
|
3904
3952
|
itemToDisabled?: (item: Value) => boolean;
|
|
3905
3953
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
3906
3954
|
};
|
|
3907
|
-
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, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, groupToLabel }: Props$
|
|
3955
|
+
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, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, groupToLabel }: Props$150<Value, GroupShape>): import("react/jsx-runtime").JSX.Element;
|
|
3908
3956
|
declare namespace Combobox {
|
|
3909
3957
|
export { ComboboxRoot as Root };
|
|
3910
3958
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -3926,7 +3974,7 @@ type ComboboxProps<Value> = Combobox$1.Root.Props<Value, true>;
|
|
|
3926
3974
|
type ComboboxInputProps = ComponentProps<typeof Combobox.Input>;
|
|
3927
3975
|
type ComboboxInputGroupProps = ComponentProps<typeof Combobox.InputGroup>;
|
|
3928
3976
|
type ComboboxItemProps = ComponentProps<typeof Combobox.Item>;
|
|
3929
|
-
type ComboboxChipsProps = ComponentProps<typeof Combobox.Chips
|
|
3977
|
+
type ComboboxChipsProps<Value> = ComponentProps<typeof Combobox.Chips<Value>>;
|
|
3930
3978
|
type Indicator$3 = NonNullable<ComboboxItemProps['indicator']>;
|
|
3931
3979
|
type CreatableProps<Value> = {
|
|
3932
3980
|
allowCreate?: boolean;
|
|
@@ -3938,7 +3986,7 @@ type CreatableProps<Value> = {
|
|
|
3938
3986
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
3939
3987
|
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
3940
3988
|
*/
|
|
3941
|
-
type Props$
|
|
3989
|
+
type Props$149<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id' | 'name' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps<Value>, 'itemToChipLabel' | 'itemToChipColor' | 'pinnedChipLabels' | 'maxVisible'> & CreatableProps<Value> & {
|
|
3942
3990
|
items?: readonly (Value | GroupShape)[];
|
|
3943
3991
|
allowClear?: boolean;
|
|
3944
3992
|
allowSelectAll?: boolean;
|
|
@@ -3962,10 +4010,10 @@ type Props$147<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
3962
4010
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
3963
4011
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
3964
4012
|
*/
|
|
3965
|
-
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible }: Props$
|
|
4013
|
+
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, pinnedChipLabels, maxVisible }: Props$149<Value, GroupShape>) => import("react/jsx-runtime").JSX.Element;
|
|
3966
4014
|
//#endregion
|
|
3967
4015
|
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
3968
|
-
type Props$
|
|
4016
|
+
type Props$148 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
3969
4017
|
inputClassName?: string;
|
|
3970
4018
|
};
|
|
3971
4019
|
/**
|
|
@@ -3993,7 +4041,7 @@ type Props$146 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<strin
|
|
|
3993
4041
|
* Pass `allowCreate` for an enum the user may extend — an open list of synchronous action names, say.
|
|
3994
4042
|
* The created values land in the field value like any other.
|
|
3995
4043
|
*/
|
|
3996
|
-
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$
|
|
4044
|
+
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$148) => import("react/jsx-runtime").JSX.Element;
|
|
3997
4045
|
//#endregion
|
|
3998
4046
|
//#region src/blocks/Textarea/Textarea.d.ts
|
|
3999
4047
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
@@ -4007,12 +4055,12 @@ type TextareaOwnProps = {
|
|
|
4007
4055
|
disableResize?: boolean;
|
|
4008
4056
|
containerClassName?: string;
|
|
4009
4057
|
};
|
|
4010
|
-
type Props$
|
|
4058
|
+
type Props$147 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
4011
4059
|
/**
|
|
4012
4060
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
4013
4061
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
4014
4062
|
*/
|
|
4015
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$
|
|
4063
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$147) => import("react/jsx-runtime").JSX.Element;
|
|
4016
4064
|
//#endregion
|
|
4017
4065
|
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
4018
4066
|
type AutoSaveTextareaProps = {
|
|
@@ -4027,14 +4075,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
4027
4075
|
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
4028
4076
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4029
4077
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4030
|
-
type Props$
|
|
4078
|
+
type Props$146 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
4031
4079
|
value?: string | null;
|
|
4032
4080
|
defaultValue?: string | null;
|
|
4033
4081
|
onValueChange?: (value: string) => void;
|
|
4034
4082
|
onValueBlur?: (value: string) => void;
|
|
4035
4083
|
allowClear?: boolean;
|
|
4036
4084
|
};
|
|
4037
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
4085
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$146) => import("react/jsx-runtime").JSX.Element;
|
|
4038
4086
|
//#endregion
|
|
4039
4087
|
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
4040
4088
|
type UseBrandOptions = {
|
|
@@ -4066,17 +4114,52 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4066
4114
|
};
|
|
4067
4115
|
//#endregion
|
|
4068
4116
|
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4069
|
-
type Props$
|
|
4117
|
+
type Props$145 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4070
4118
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4071
4119
|
brands?: readonly Brand$1[];
|
|
4072
4120
|
children: ReactNode;
|
|
4073
4121
|
};
|
|
4074
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$
|
|
4122
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$145) => import("react/jsx-runtime").JSX.Element;
|
|
4123
|
+
//#endregion
|
|
4124
|
+
//#region src/components/ThemeProvider/ThemeScope.d.ts
|
|
4125
|
+
/** The scope's themed portal container, or `null` outside a `ThemeScope`. */
|
|
4126
|
+
declare const useThemeScopeContainer: () => HTMLElement | null;
|
|
4127
|
+
type Props$144 = {
|
|
4128
|
+
/** Colour scheme for this subtree. `system` follows the OS preference. */
|
|
4129
|
+
scheme: ColorScheme;
|
|
4130
|
+
/** Merged onto the child element. */
|
|
4131
|
+
className?: string;
|
|
4132
|
+
/** A single element to theme. Its props are merged — no wrapper is rendered. */
|
|
4133
|
+
children: ReactNode;
|
|
4134
|
+
};
|
|
4135
|
+
/**
|
|
4136
|
+
* Runs one subtree in its own colour scheme while the rest of the app keeps the
|
|
4137
|
+
* provider's.
|
|
4138
|
+
*
|
|
4139
|
+
* Two things have to happen for that to look right, and doing only the first is
|
|
4140
|
+
* why a bare `data-theme` attribute produces a half-themed panel: the
|
|
4141
|
+
* stylesheet's `[data-theme='dark']` block re-points the *raw* tokens
|
|
4142
|
+
* (`--foreground`), but a brand injects the resolved aliases as inline vars on
|
|
4143
|
+
* `<html>`, which the subtree inherits. So the scope also re-injects the active
|
|
4144
|
+
* brand's tokens **for its own scheme**, where they beat the inherited ones.
|
|
4145
|
+
*
|
|
4146
|
+
* It renders **no element of its own** — the attribute, vars and className are
|
|
4147
|
+
* merged onto the child. An extra wrapper (even `display: contents`, which
|
|
4148
|
+
* layout ignores but selectors do not) silently breaks direct-child selectors
|
|
4149
|
+
* like `[data-fill=true] > &` in the element it wraps.
|
|
4150
|
+
*/
|
|
4151
|
+
declare const ThemeScope: ({ scheme, className, children }: Props$144) => import("react/jsx-runtime").JSX.Element;
|
|
4075
4152
|
//#endregion
|
|
4076
4153
|
//#region src/components/ThemeProvider/context.d.ts
|
|
4077
4154
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
4078
4155
|
themes: Theme[];
|
|
4079
4156
|
currentTheme: Theme;
|
|
4157
|
+
/**
|
|
4158
|
+
* The active brand's raw token payload. Exposed so a nested `ThemeScope`
|
|
4159
|
+
* can re-derive tokens for a different colour scheme; `currentTheme` only
|
|
4160
|
+
* carries the switcher metadata (id/name/shell/logo), not the tokens.
|
|
4161
|
+
*/
|
|
4162
|
+
brandTheme: Brand$1['theme'];
|
|
4080
4163
|
};
|
|
4081
4164
|
declare const useTheme: () => ThemeContextValue;
|
|
4082
4165
|
/**
|
|
@@ -4098,7 +4181,7 @@ declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
|
4098
4181
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4099
4182
|
//#endregion
|
|
4100
4183
|
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4101
|
-
type Props$
|
|
4184
|
+
type Props$143 = {
|
|
4102
4185
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
4103
4186
|
value: ColorScheme;
|
|
4104
4187
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -4123,12 +4206,12 @@ type Props$142 = {
|
|
|
4123
4206
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
4124
4207
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
4125
4208
|
*/
|
|
4126
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4209
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$143) => import("react/jsx-runtime").JSX.Element;
|
|
4127
4210
|
//#endregion
|
|
4128
4211
|
//#region src/blocks/DateInput/DateInput.d.ts
|
|
4129
4212
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4130
4213
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4131
|
-
type Props$
|
|
4214
|
+
type Props$142 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4132
4215
|
value?: Date | null;
|
|
4133
4216
|
defaultValue?: Date | null;
|
|
4134
4217
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4138,12 +4221,12 @@ type Props$141 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4138
4221
|
endMonth?: Date;
|
|
4139
4222
|
startMonth?: Date;
|
|
4140
4223
|
};
|
|
4141
|
-
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4224
|
+
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$142) => import("react/jsx-runtime").JSX.Element;
|
|
4142
4225
|
//#endregion
|
|
4143
4226
|
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
4144
4227
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4145
4228
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4146
|
-
type Props$
|
|
4229
|
+
type Props$141 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4147
4230
|
value?: number | null;
|
|
4148
4231
|
defaultValue?: number | null;
|
|
4149
4232
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4151,12 +4234,12 @@ type Props$140 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4151
4234
|
prefix?: ReactNode;
|
|
4152
4235
|
suffix?: ReactNode;
|
|
4153
4236
|
};
|
|
4154
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
4237
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$141) => import("react/jsx-runtime").JSX.Element;
|
|
4155
4238
|
//#endregion
|
|
4156
4239
|
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
4157
4240
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4158
4241
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4159
|
-
type Props$
|
|
4242
|
+
type Props$140 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4160
4243
|
value?: string | null;
|
|
4161
4244
|
defaultValue?: string | null;
|
|
4162
4245
|
onValueChange?: (value: string) => void;
|
|
@@ -4173,24 +4256,24 @@ type Props$139 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4173
4256
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4174
4257
|
defaultPasswordVisibility?: boolean;
|
|
4175
4258
|
};
|
|
4176
|
-
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$
|
|
4259
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$140) => import("react/jsx-runtime").JSX.Element;
|
|
4177
4260
|
//#endregion
|
|
4178
4261
|
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
4179
4262
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4180
4263
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4181
|
-
type Props$
|
|
4264
|
+
type Props$139 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4182
4265
|
value?: string | null;
|
|
4183
4266
|
defaultValue?: string | null;
|
|
4184
4267
|
onValueChange?: (value: string | null) => void;
|
|
4185
4268
|
onValueBlur?: (value: string | null) => void;
|
|
4186
4269
|
allowClear?: boolean;
|
|
4187
4270
|
};
|
|
4188
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4271
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$139) => import("react/jsx-runtime").JSX.Element;
|
|
4189
4272
|
//#endregion
|
|
4190
4273
|
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
4191
4274
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4192
4275
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4193
|
-
type Props$
|
|
4276
|
+
type Props$138 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4194
4277
|
value?: DateRange$1 | null;
|
|
4195
4278
|
defaultValue?: DateRange$1 | null;
|
|
4196
4279
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4199,7 +4282,7 @@ type Props$137 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4199
4282
|
startMonth?: Date;
|
|
4200
4283
|
endMonth?: Date;
|
|
4201
4284
|
};
|
|
4202
|
-
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4285
|
+
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$138) => import("react/jsx-runtime").JSX.Element;
|
|
4203
4286
|
//#endregion
|
|
4204
4287
|
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
4205
4288
|
type GroupProps = ComponentProps<'div'>;
|
|
@@ -4250,7 +4333,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4250
4333
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
4251
4334
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
4252
4335
|
*/
|
|
4253
|
-
type Props$
|
|
4336
|
+
type Props$137 = InputGroupProps & InputGroupInputProps & {
|
|
4254
4337
|
value?: string | null;
|
|
4255
4338
|
defaultValue?: string | null;
|
|
4256
4339
|
/** Called with the latest string value after the debounce window (default 300ms). Fires synchronously on clear and when `disableDebounce` is set. For sync echo of every keystroke use `onChange`. */
|
|
@@ -4279,7 +4362,7 @@ type Props$136 = InputGroupProps & InputGroupInputProps & {
|
|
|
4279
4362
|
*
|
|
4280
4363
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
4281
4364
|
*/
|
|
4282
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
4365
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$137) => import("react/jsx-runtime").JSX.Element;
|
|
4283
4366
|
//#endregion
|
|
4284
4367
|
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4285
4368
|
type SearchInputWithNavigationProps = {
|
|
@@ -4399,7 +4482,7 @@ declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disable
|
|
|
4399
4482
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4400
4483
|
//#endregion
|
|
4401
4484
|
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4402
|
-
type Props$
|
|
4485
|
+
type Props$136 = {
|
|
4403
4486
|
/** Override the default copy / icon block. */
|
|
4404
4487
|
children?: ReactNode;
|
|
4405
4488
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4409,10 +4492,10 @@ type Props$135 = {
|
|
|
4409
4492
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4410
4493
|
* Pass `children` to fully replace the inner block.
|
|
4411
4494
|
*/
|
|
4412
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4495
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$136) => import("react/jsx-runtime").JSX.Element;
|
|
4413
4496
|
//#endregion
|
|
4414
4497
|
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4415
|
-
type Props$
|
|
4498
|
+
type Props$135 = {
|
|
4416
4499
|
files: File[];
|
|
4417
4500
|
onRemove?: (file: File, index: number) => void;
|
|
4418
4501
|
/**
|
|
@@ -4425,7 +4508,7 @@ type Props$134 = {
|
|
|
4425
4508
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4426
4509
|
* removal via `onRemove`.
|
|
4427
4510
|
*/
|
|
4428
|
-
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$
|
|
4511
|
+
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$135) => import("react/jsx-runtime").JSX.Element | null;
|
|
4429
4512
|
//#endregion
|
|
4430
4513
|
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4431
4514
|
/**
|
|
@@ -4433,7 +4516,7 @@ declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...res
|
|
|
4433
4516
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
4434
4517
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
4435
4518
|
*/
|
|
4436
|
-
type Props$
|
|
4519
|
+
type Props$134 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4437
4520
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4438
4521
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4439
4522
|
children: ReactNode;
|
|
@@ -4452,18 +4535,18 @@ type Props$133 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4452
4535
|
* for the selected-files list. The caller stores the `File[]` and renders it back into `FileList`.
|
|
4453
4536
|
* Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4454
4537
|
*/
|
|
4455
|
-
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
4538
|
+
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$134) => import("react/jsx-runtime").JSX.Element;
|
|
4456
4539
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4457
4540
|
DropZone: typeof FileUploadDropZone;
|
|
4458
4541
|
FileList: typeof FileUploadFileList;
|
|
4459
4542
|
};
|
|
4460
4543
|
//#endregion
|
|
4461
4544
|
//#region src/blocks/FormGroup/FormGroupColorInput.d.ts
|
|
4462
|
-
type Props$
|
|
4463
|
-
declare const FormGroupColorInput: ({ ref, ...props }: Props$
|
|
4545
|
+
type Props$133 = Omit<ComponentProps<typeof ColorInput>, 'state'>;
|
|
4546
|
+
declare const FormGroupColorInput: ({ ref, ...props }: Props$133) => import("react/jsx-runtime").JSX.Element;
|
|
4464
4547
|
//#endregion
|
|
4465
4548
|
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4466
|
-
type Props$
|
|
4549
|
+
type Props$132 = ComponentPropsWithRef<'div'> & {
|
|
4467
4550
|
/**
|
|
4468
4551
|
* Field validation errors. TanStack Form errors are strings (function validators) or
|
|
4469
4552
|
* `{ message }` objects (Standard Schema / zod). A single message renders inline; several
|
|
@@ -4479,30 +4562,30 @@ type Props$131 = ComponentPropsWithRef<'div'> & {
|
|
|
4479
4562
|
* field (e.g. surfaced on submit). Renders a `<div>` (not `<p>`) so multiple errors can render
|
|
4480
4563
|
* as a `<ul>`.
|
|
4481
4564
|
*/
|
|
4482
|
-
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$
|
|
4565
|
+
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$132) => import("react/jsx-runtime").JSX.Element | null;
|
|
4483
4566
|
//#endregion
|
|
4484
4567
|
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4485
4568
|
declare const helpVariants: (props?: ({
|
|
4486
4569
|
state?: "default" | "warning" | null | undefined;
|
|
4487
4570
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4488
|
-
type Props$
|
|
4489
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4571
|
+
type Props$131 = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4572
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$131) => import("react/jsx-runtime").JSX.Element | null;
|
|
4490
4573
|
//#endregion
|
|
4491
4574
|
//#region src/blocks/FormGroup/FormGroupHelp.d.ts
|
|
4492
|
-
type Props$
|
|
4493
|
-
declare const FormGroupHelp: ({ children, ...rest }: Props$
|
|
4575
|
+
type Props$130 = Omit<ComponentProps<typeof HelpBlock>, 'state'>;
|
|
4576
|
+
declare const FormGroupHelp: ({ children, ...rest }: Props$130) => import("react/jsx-runtime").JSX.Element;
|
|
4494
4577
|
//#endregion
|
|
4495
4578
|
//#region src/blocks/FormGroup/FormGroupNumberInput.d.ts
|
|
4496
|
-
type Props$
|
|
4497
|
-
declare const FormGroupNumberInput: ({ ref, ...props }: Props$
|
|
4579
|
+
type Props$129 = Omit<ComponentProps<typeof NumberInput>, 'state'>;
|
|
4580
|
+
declare const FormGroupNumberInput: ({ ref, ...props }: Props$129) => import("react/jsx-runtime").JSX.Element;
|
|
4498
4581
|
//#endregion
|
|
4499
4582
|
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4500
|
-
type Props$
|
|
4501
|
-
declare const FormGroupTextarea: (props: Props$
|
|
4583
|
+
type Props$128 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4584
|
+
declare const FormGroupTextarea: (props: Props$128) => import("react/jsx-runtime").JSX.Element;
|
|
4502
4585
|
//#endregion
|
|
4503
4586
|
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4504
|
-
type Props$
|
|
4505
|
-
declare const FormGroupTextInput: ({ ref, ...props }: Props$
|
|
4587
|
+
type Props$127 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4588
|
+
declare const FormGroupTextInput: ({ ref, ...props }: Props$127) => import("react/jsx-runtime").JSX.Element;
|
|
4506
4589
|
//#endregion
|
|
4507
4590
|
//#region src/blocks/FormGroup/types.d.ts
|
|
4508
4591
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
@@ -4542,13 +4625,13 @@ declare const AnswerSummary: ({ items, variant, noAnswerLabel }: Props) => impor
|
|
|
4542
4625
|
//#endregion
|
|
4543
4626
|
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4544
4627
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4545
|
-
type Props$
|
|
4628
|
+
type Props$126 = {
|
|
4546
4629
|
isExpanded: boolean;
|
|
4547
4630
|
onToggle: () => void;
|
|
4548
4631
|
label: ReactNode;
|
|
4549
4632
|
variant?: Variant$5;
|
|
4550
4633
|
};
|
|
4551
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4634
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$126) => import("react/jsx-runtime").JSX.Element;
|
|
4552
4635
|
//#endregion
|
|
4553
4636
|
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4554
4637
|
type Props$1 = {
|
|
@@ -4565,23 +4648,43 @@ type Props$2 = {
|
|
|
4565
4648
|
declare const InlineStepLabel: ({ variant, children }: Props$2) => import("react/jsx-runtime").JSX.Element;
|
|
4566
4649
|
//#endregion
|
|
4567
4650
|
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4568
|
-
type Props$
|
|
4651
|
+
type Props$125 = {
|
|
4569
4652
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4570
4653
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4571
4654
|
* `MermaidDiagram`; other fenced blocks — including ```flint, deliberately,
|
|
4572
4655
|
* as this is the reduced-capability renderer — get a hover copy button. */
|
|
4573
4656
|
children: string;
|
|
4574
4657
|
className?: string;
|
|
4658
|
+
/**
|
|
4659
|
+
* Remark plugins run after the built-in GFM one.
|
|
4660
|
+
*
|
|
4661
|
+
* - Appended to the built-ins, so GFM keeps working whatever a caller adds.
|
|
4662
|
+
* - The seam for an app's own inline syntax — an annotation the agent emits alongside a
|
|
4663
|
+
* link, say — which is app product knowledge and does not belong in this package.
|
|
4664
|
+
* - Hold it in a module constant. react-markdown re-parses on every render, so this
|
|
4665
|
+
* component is meant to be memoised by its caller, and a literal built during render
|
|
4666
|
+
* defeats that.
|
|
4667
|
+
*/
|
|
4668
|
+
remarkPlugins?: NonNullable<Options['remarkPlugins']>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Element renderers layered over the built-in ones.
|
|
4671
|
+
*
|
|
4672
|
+
* - Merged by key, and an override **replaces** that element's renderer rather than
|
|
4673
|
+
* wrapping it: a `table` override loses the design `Table`, an `a` override loses the
|
|
4674
|
+
* new-tab treatment for absolute links. Restate what you still want.
|
|
4675
|
+
* - Hold it in a module constant, for the same reason as `remarkPlugins`.
|
|
4676
|
+
*/
|
|
4677
|
+
components?: Components;
|
|
4575
4678
|
};
|
|
4576
4679
|
/**
|
|
4577
4680
|
* Read-only GFM Markdown renderer with design-token typography. Pair with
|
|
4578
4681
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4579
4682
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4580
4683
|
*/
|
|
4581
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4684
|
+
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$125) => import("react/jsx-runtime").JSX.Element;
|
|
4582
4685
|
//#endregion
|
|
4583
4686
|
//#region src/components/Avatar.d.ts
|
|
4584
|
-
type Props$
|
|
4687
|
+
type Props$124 = {
|
|
4585
4688
|
user?: {
|
|
4586
4689
|
name: string | undefined;
|
|
4587
4690
|
email: string | undefined;
|
|
@@ -4591,16 +4694,17 @@ type Props$123 = {
|
|
|
4591
4694
|
size?: number;
|
|
4592
4695
|
variant?: 'circle' | 'rounded';
|
|
4593
4696
|
} & ComponentProps<'span'>;
|
|
4594
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4697
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$124) => import("react/jsx-runtime").JSX.Element;
|
|
4595
4698
|
//#endregion
|
|
4596
4699
|
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
4597
|
-
type Props$
|
|
4700
|
+
type Props$123 = {
|
|
4598
4701
|
variant: 'user' | 'assistant';
|
|
4599
|
-
user?: ComponentProps<typeof Avatar>['user'];
|
|
4600
4702
|
actions?: ReactNode;
|
|
4601
4703
|
createdAt?: string;
|
|
4704
|
+
/** @deprecated No avatar is rendered; accepted so existing call sites keep compiling. */
|
|
4705
|
+
user?: ComponentProps<typeof Avatar>['user'];
|
|
4602
4706
|
} & PropsWithChildren;
|
|
4603
|
-
declare const MessageBubble: ({ variant, children,
|
|
4707
|
+
declare const MessageBubble: ({ variant, children, actions, createdAt }: Props$123) => import("react/jsx-runtime").JSX.Element;
|
|
4604
4708
|
//#endregion
|
|
4605
4709
|
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
4606
4710
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
@@ -4644,8 +4748,8 @@ type PlanRewritingIndicatorProps = {
|
|
|
4644
4748
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
4645
4749
|
//#endregion
|
|
4646
4750
|
//#region src/blocks/AIKit/PromptInputAction.d.ts
|
|
4647
|
-
type Props$
|
|
4648
|
-
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$
|
|
4751
|
+
type Props$122 = ComponentProps<'button'>;
|
|
4752
|
+
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$122) => import("react/jsx-runtime").JSX.Element;
|
|
4649
4753
|
//#endregion
|
|
4650
4754
|
//#region src/blocks/AIKit/PromptInputCommands.d.ts
|
|
4651
4755
|
type PromptCommand = {
|
|
@@ -4658,16 +4762,16 @@ type PromptCommand = {
|
|
|
4658
4762
|
//#endregion
|
|
4659
4763
|
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
4660
4764
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4661
|
-
type Props$
|
|
4765
|
+
type Props$121 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4662
4766
|
status?: SubmitStatus;
|
|
4663
4767
|
};
|
|
4664
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
4768
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$121) => import("react/jsx-runtime").JSX.Element;
|
|
4665
4769
|
//#endregion
|
|
4666
4770
|
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
4667
4771
|
declare const promptInputVariants: (props?: ({
|
|
4668
4772
|
variant?: "default" | "inline" | null | undefined;
|
|
4669
4773
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4670
|
-
type Props$
|
|
4774
|
+
type Props$120 = {
|
|
4671
4775
|
onSend?: (value: string) => void;
|
|
4672
4776
|
onAbort?: () => void;
|
|
4673
4777
|
onContinue?: () => void;
|
|
@@ -4680,7 +4784,7 @@ type Props$119 = {
|
|
|
4680
4784
|
disableSubmit?: boolean;
|
|
4681
4785
|
commands?: PromptCommand[];
|
|
4682
4786
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4683
|
-
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4787
|
+
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, autoFocus, ...textareaProps }: Props$120): import("react/jsx-runtime").JSX.Element;
|
|
4684
4788
|
declare namespace PromptInput {
|
|
4685
4789
|
export { PromptInputAction as Action };
|
|
4686
4790
|
}
|
|
@@ -4741,14 +4845,14 @@ type Props$4 = {
|
|
|
4741
4845
|
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$4) => import("react/jsx-runtime").JSX.Element;
|
|
4742
4846
|
//#endregion
|
|
4743
4847
|
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
4744
|
-
type Props$
|
|
4848
|
+
type Props$119 = {
|
|
4745
4849
|
label: string;
|
|
4746
4850
|
disabled?: boolean;
|
|
4747
4851
|
onClick: () => void;
|
|
4748
4852
|
icon?: ReactNode;
|
|
4749
4853
|
className?: string;
|
|
4750
4854
|
};
|
|
4751
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4855
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$119) => import("react/jsx-runtime").JSX.Element;
|
|
4752
4856
|
//#endregion
|
|
4753
4857
|
//#region src/blocks/AIKit/ThinkingIndicator.d.ts
|
|
4754
4858
|
type ThinkingIndicatorProps = {
|
|
@@ -4810,10 +4914,28 @@ type ToolCallChipProps = {
|
|
|
4810
4914
|
*/
|
|
4811
4915
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className }: ToolCallChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
4812
4916
|
//#endregion
|
|
4917
|
+
//#region src/blocks/AIKit/ToolCallStatusHeader.d.ts
|
|
4918
|
+
type ToolCallStatus = 'processing' | 'warning' | 'success' | 'error';
|
|
4919
|
+
type Props$7 = {
|
|
4920
|
+
icon: LucideIcon;
|
|
4921
|
+
iconSpin?: boolean;
|
|
4922
|
+
status: ToolCallStatus;
|
|
4923
|
+
text: ReactNode;
|
|
4924
|
+
needsConfirmation?: boolean;
|
|
4925
|
+
isCollapsible?: boolean;
|
|
4926
|
+
isCollapsed?: boolean;
|
|
4927
|
+
onToggleCollapse?: () => void;
|
|
4928
|
+
};
|
|
4929
|
+
declare const ToolCallStatusHeader: ({ icon: IconComponent, iconSpin, status, text, needsConfirmation, isCollapsible, isCollapsed, onToggleCollapse }: Props$7) => import("react/jsx-runtime").JSX.Element;
|
|
4930
|
+
//#endregion
|
|
4813
4931
|
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
4814
|
-
type Props$
|
|
4932
|
+
type Props$118 = {
|
|
4815
4933
|
value: number;
|
|
4816
|
-
|
|
4934
|
+
/**
|
|
4935
|
+
* `true` (or `'error'`) renders the red corner badge; `'warning'` renders
|
|
4936
|
+
* it amber for an approaching-limit state that isn't at-limit yet.
|
|
4937
|
+
*/
|
|
4938
|
+
alert?: boolean | 'warning' | 'error';
|
|
4817
4939
|
children: ReactNode;
|
|
4818
4940
|
className?: string;
|
|
4819
4941
|
/**
|
|
@@ -4825,23 +4947,23 @@ type Props$117 = {
|
|
|
4825
4947
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4826
4948
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4827
4949
|
};
|
|
4828
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset }: Props$
|
|
4950
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset }: Props$118) => import("react/jsx-runtime").JSX.Element;
|
|
4829
4951
|
//#endregion
|
|
4830
4952
|
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
4831
|
-
type Props$
|
|
4953
|
+
type Props$117 = {
|
|
4832
4954
|
value: number;
|
|
4833
4955
|
size?: number;
|
|
4834
4956
|
strokeWidth?: number;
|
|
4835
4957
|
className?: string;
|
|
4836
4958
|
};
|
|
4837
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4959
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$117) => import("react/jsx-runtime").JSX.Element;
|
|
4838
4960
|
//#endregion
|
|
4839
4961
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
4840
|
-
type Props$
|
|
4841
|
-
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$
|
|
4962
|
+
type Props$116 = ComponentProps<typeof Content$5>;
|
|
4963
|
+
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$116) => import("react/jsx-runtime").JSX.Element;
|
|
4842
4964
|
//#endregion
|
|
4843
4965
|
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
4844
|
-
type Props$
|
|
4966
|
+
type Props$115 = ComponentProps<typeof CollapsibleTrigger>;
|
|
4845
4967
|
/**
|
|
4846
4968
|
* A `Collapsible` toggle.
|
|
4847
4969
|
*
|
|
@@ -4849,11 +4971,11 @@ type Props$114 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
4849
4971
|
* reset is opt-in, so without it a host app without a global reset gets UA button chrome.
|
|
4850
4972
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
4851
4973
|
*/
|
|
4852
|
-
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$
|
|
4974
|
+
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$115) => import("react/jsx-runtime").JSX.Element;
|
|
4853
4975
|
//#endregion
|
|
4854
4976
|
//#region src/components/Collapsible/Collapsible.d.ts
|
|
4855
|
-
type Props$
|
|
4856
|
-
declare function Collapsible(props: Props$
|
|
4977
|
+
type Props$114 = ComponentProps<typeof Root$13>;
|
|
4978
|
+
declare function Collapsible(props: Props$114): import("react/jsx-runtime").JSX.Element;
|
|
4857
4979
|
declare namespace Collapsible {
|
|
4858
4980
|
export { CollapsibleTrigger$1 as Trigger };
|
|
4859
4981
|
export { CollapsibleContent as Content };
|
|
@@ -4861,10 +4983,10 @@ declare namespace Collapsible {
|
|
|
4861
4983
|
//#endregion
|
|
4862
4984
|
//#region src/components/Alert/AlertRoot.d.ts
|
|
4863
4985
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
4864
|
-
type Props$
|
|
4986
|
+
type Props$113 = {
|
|
4865
4987
|
variant?: Variant$4;
|
|
4866
4988
|
} & ComponentProps<'div'>;
|
|
4867
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4989
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$113) => import("react/jsx-runtime").JSX.Element;
|
|
4868
4990
|
//#endregion
|
|
4869
4991
|
//#region src/components/Alert/Alert.d.ts
|
|
4870
4992
|
type CommonProps = {
|
|
@@ -4888,7 +5010,7 @@ type DefaultProps = {
|
|
|
4888
5010
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4889
5011
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4890
5012
|
*/
|
|
4891
|
-
type Props$
|
|
5013
|
+
type Props$112 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4892
5014
|
/**
|
|
4893
5015
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4894
5016
|
*
|
|
@@ -4902,14 +5024,14 @@ type Props$111 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4902
5024
|
*
|
|
4903
5025
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4904
5026
|
*/
|
|
4905
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
5027
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$112) => import("react/jsx-runtime").JSX.Element;
|
|
4906
5028
|
//#endregion
|
|
4907
5029
|
//#region src/components/Toast/ToastRoot.d.ts
|
|
4908
5030
|
declare const variants$4: (props?: ({
|
|
4909
5031
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
4910
5032
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4911
5033
|
type Variants = VariantProps<typeof variants$4>;
|
|
4912
|
-
type Props$
|
|
5034
|
+
type Props$111 = {
|
|
4913
5035
|
id: string | number;
|
|
4914
5036
|
title: ReactNode;
|
|
4915
5037
|
icon?: ReactNode;
|
|
@@ -4918,7 +5040,7 @@ type Props$110 = {
|
|
|
4918
5040
|
loading?: boolean;
|
|
4919
5041
|
duration?: number;
|
|
4920
5042
|
} & Variants;
|
|
4921
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$
|
|
5043
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$111) => import("react/jsx-runtime").JSX.Element;
|
|
4922
5044
|
//#endregion
|
|
4923
5045
|
//#region src/components/Toast/toast.d.ts
|
|
4924
5046
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
@@ -4941,7 +5063,7 @@ declare namespace toast {
|
|
|
4941
5063
|
}
|
|
4942
5064
|
//#endregion
|
|
4943
5065
|
//#region src/components/Toast/useNotification.d.ts
|
|
4944
|
-
type Props$
|
|
5066
|
+
type Props$110 = {
|
|
4945
5067
|
enabled?: boolean;
|
|
4946
5068
|
} & Parameters<typeof toast>[0];
|
|
4947
5069
|
/**
|
|
@@ -4954,25 +5076,25 @@ type Props$109 = {
|
|
|
4954
5076
|
* Use `toast()` for transient feedback after a user action
|
|
4955
5077
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4956
5078
|
*/
|
|
4957
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
5079
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$110) => void;
|
|
4958
5080
|
//#endregion
|
|
4959
5081
|
//#region src/components/Toast/Toaster.d.ts
|
|
4960
5082
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4961
5083
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4962
5084
|
//#endregion
|
|
4963
5085
|
//#region src/components/EmptySearchContent.d.ts
|
|
4964
|
-
type Props$
|
|
5086
|
+
type Props$109 = {
|
|
4965
5087
|
children?: ReactNode;
|
|
4966
5088
|
};
|
|
4967
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
5089
|
+
declare const EmptySearchContent: ({ children }: Props$109) => import("react/jsx-runtime").JSX.Element;
|
|
4968
5090
|
//#endregion
|
|
4969
5091
|
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
4970
|
-
type Props$
|
|
5092
|
+
type Props$108 = {
|
|
4971
5093
|
title: string;
|
|
4972
5094
|
children: ReactNode;
|
|
4973
5095
|
className?: string;
|
|
4974
5096
|
};
|
|
4975
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
5097
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$108) => import("react/jsx-runtime").JSX.Element;
|
|
4976
5098
|
//#endregion
|
|
4977
5099
|
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
4978
5100
|
declare const emptyStateClassnames: (props?: ({
|
|
@@ -5125,11 +5247,11 @@ declare const variants$3: (props?: ({
|
|
|
5125
5247
|
variant?: "default" | "success" | null | undefined;
|
|
5126
5248
|
size?: "lg" | "sm" | null | undefined;
|
|
5127
5249
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5128
|
-
type Props$
|
|
5129
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5250
|
+
type Props$107 = ComponentProps<typeof Root$12> & VariantProps<typeof variants$3>;
|
|
5251
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$107) => import("react/jsx-runtime").JSX.Element;
|
|
5130
5252
|
//#endregion
|
|
5131
5253
|
//#region src/components/CollapsiblePanel.d.ts
|
|
5132
|
-
type Props$
|
|
5254
|
+
type Props$106 = {
|
|
5133
5255
|
header: ReactNode;
|
|
5134
5256
|
isDisabled?: boolean;
|
|
5135
5257
|
defaultExpanded?: boolean;
|
|
@@ -5141,17 +5263,17 @@ type Props$105 = {
|
|
|
5141
5263
|
variant?: 'default' | 'white';
|
|
5142
5264
|
children: ReactNode;
|
|
5143
5265
|
};
|
|
5144
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$
|
|
5266
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$106) => import("react/jsx-runtime").JSX.Element;
|
|
5145
5267
|
//#endregion
|
|
5146
5268
|
//#region src/components/PanelWithDetails.d.ts
|
|
5147
|
-
type Props$
|
|
5269
|
+
type Props$105 = PropsWithChildren<{
|
|
5148
5270
|
defaultExpanded?: boolean;
|
|
5149
5271
|
labelCollapse?: ReactNode;
|
|
5150
5272
|
labelOpen?: ReactNode;
|
|
5151
5273
|
placement?: 'top' | 'bottom';
|
|
5152
5274
|
className?: string;
|
|
5153
5275
|
}>;
|
|
5154
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$
|
|
5276
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$105) => import("react/jsx-runtime").JSX.Element;
|
|
5155
5277
|
//#endregion
|
|
5156
5278
|
//#region src/blocks/AppShell/types.d.ts
|
|
5157
5279
|
/**
|
|
@@ -5585,7 +5707,7 @@ type SectionNavItemRenderProps = {
|
|
|
5585
5707
|
};
|
|
5586
5708
|
//#endregion
|
|
5587
5709
|
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
5588
|
-
type Props$
|
|
5710
|
+
type Props$104 = {
|
|
5589
5711
|
/**
|
|
5590
5712
|
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
5591
5713
|
* app — this block renders exactly what it is handed, in order.
|
|
@@ -5637,10 +5759,10 @@ type Props$103 = {
|
|
|
5637
5759
|
*
|
|
5638
5760
|
* @see RECIPES.md#section-nav
|
|
5639
5761
|
*/
|
|
5640
|
-
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$
|
|
5762
|
+
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$104) => import("react/jsx-runtime").JSX.Element;
|
|
5641
5763
|
//#endregion
|
|
5642
5764
|
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
5643
|
-
type Props$
|
|
5765
|
+
type Props$103 = {
|
|
5644
5766
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5645
5767
|
variant?: 'mark' | 'wordmark';
|
|
5646
5768
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -5650,7 +5772,7 @@ type Props$102 = {
|
|
|
5650
5772
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5651
5773
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5652
5774
|
*/
|
|
5653
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5775
|
+
declare const BrandLogo: ({ variant, className }: Props$103) => import("react/jsx-runtime").JSX.Element | null;
|
|
5654
5776
|
//#endregion
|
|
5655
5777
|
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
5656
5778
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5659,13 +5781,13 @@ declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof S
|
|
|
5659
5781
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react/jsx-runtime").JSX.Element;
|
|
5660
5782
|
//#endregion
|
|
5661
5783
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
5662
|
-
type Props$
|
|
5784
|
+
type Props$102 = {
|
|
5663
5785
|
className?: string;
|
|
5664
5786
|
children?: ReactNode;
|
|
5665
5787
|
contentRef?: ComponentProps<'div'>['ref'];
|
|
5666
5788
|
ref?: ComponentProps<'div'>['ref'];
|
|
5667
5789
|
};
|
|
5668
|
-
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$
|
|
5790
|
+
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$102) => import("react/jsx-runtime").JSX.Element;
|
|
5669
5791
|
//#endregion
|
|
5670
5792
|
//#region src/components/Sidebar/types.d.ts
|
|
5671
5793
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
@@ -5675,102 +5797,102 @@ type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
|
5675
5797
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5676
5798
|
//#endregion
|
|
5677
5799
|
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
5678
|
-
type Props$
|
|
5800
|
+
type Props$101 = ComponentProps<typeof Slot$1> & {
|
|
5679
5801
|
side?: SidebarSide;
|
|
5680
5802
|
};
|
|
5681
|
-
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$
|
|
5803
|
+
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$101) => import("react/jsx-runtime").JSX.Element;
|
|
5682
5804
|
//#endregion
|
|
5683
5805
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
5684
|
-
type Props$
|
|
5685
|
-
declare const SidebarFooter: ({ className, ...props }: Props$
|
|
5806
|
+
type Props$100 = ComponentProps<'div'>;
|
|
5807
|
+
declare const SidebarFooter: ({ className, ...props }: Props$100) => import("react/jsx-runtime").JSX.Element;
|
|
5686
5808
|
//#endregion
|
|
5687
5809
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
5688
|
-
type Props$
|
|
5689
|
-
declare const SidebarGroup: ({ className, ...props }: Props$
|
|
5810
|
+
type Props$99 = ComponentProps<'div'>;
|
|
5811
|
+
declare const SidebarGroup: ({ className, ...props }: Props$99) => import("react/jsx-runtime").JSX.Element;
|
|
5690
5812
|
//#endregion
|
|
5691
5813
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
5692
|
-
type Props$
|
|
5693
|
-
declare const SidebarGroupContent: ({ className, ...props }: Props$
|
|
5814
|
+
type Props$98 = ComponentProps<'div'>;
|
|
5815
|
+
declare const SidebarGroupContent: ({ className, ...props }: Props$98) => import("react/jsx-runtime").JSX.Element;
|
|
5694
5816
|
//#endregion
|
|
5695
5817
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
5696
|
-
type Props$
|
|
5697
|
-
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$
|
|
5818
|
+
type Props$97 = ComponentProps<'button'>;
|
|
5819
|
+
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$97) => import("react/jsx-runtime").JSX.Element;
|
|
5698
5820
|
//#endregion
|
|
5699
5821
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
5700
|
-
type Props$
|
|
5701
|
-
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$
|
|
5822
|
+
type Props$96 = ComponentProps<'div'>;
|
|
5823
|
+
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$96 & {
|
|
5702
5824
|
ref?: Ref<HTMLDivElement>;
|
|
5703
5825
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5704
5826
|
//#endregion
|
|
5705
5827
|
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
5706
|
-
type Props$
|
|
5707
|
-
declare const SidebarHeader: ({ className, children, ...props }: Props$
|
|
5828
|
+
type Props$95 = ComponentProps<'div'>;
|
|
5829
|
+
declare const SidebarHeader: ({ className, children, ...props }: Props$95) => import("react/jsx-runtime").JSX.Element;
|
|
5708
5830
|
//#endregion
|
|
5709
5831
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
5710
|
-
type Props$
|
|
5711
|
-
declare const SidebarMenu: ({ className, ...props }: Props$
|
|
5832
|
+
type Props$94 = ComponentProps<'ul'>;
|
|
5833
|
+
declare const SidebarMenu: ({ className, ...props }: Props$94) => import("react/jsx-runtime").JSX.Element;
|
|
5712
5834
|
//#endregion
|
|
5713
5835
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
5714
|
-
type Props$
|
|
5836
|
+
type Props$93 = ComponentProps<'button'> & {
|
|
5715
5837
|
asChild?: boolean;
|
|
5716
5838
|
tooltip?: ReactNode;
|
|
5717
5839
|
icon?: ReactNode;
|
|
5718
5840
|
};
|
|
5719
|
-
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, ...props }: Props$
|
|
5841
|
+
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, ...props }: Props$93 & {
|
|
5720
5842
|
ref?: Ref<HTMLButtonElement>;
|
|
5721
5843
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5722
5844
|
//#endregion
|
|
5723
5845
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
5724
|
-
type Props$
|
|
5725
|
-
declare const SidebarMenuItem: ({ className, ...props }: Props$
|
|
5846
|
+
type Props$92 = ComponentProps<'li'>;
|
|
5847
|
+
declare const SidebarMenuItem: ({ className, ...props }: Props$92) => import("react/jsx-runtime").JSX.Element;
|
|
5726
5848
|
//#endregion
|
|
5727
5849
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
5728
|
-
type Props$
|
|
5729
|
-
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$
|
|
5850
|
+
type Props$91 = ComponentProps<'span'>;
|
|
5851
|
+
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$91) => import("react/jsx-runtime").JSX.Element;
|
|
5730
5852
|
//#endregion
|
|
5731
5853
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
5732
|
-
type Props$
|
|
5854
|
+
type Props$90 = ComponentProps<'button'> & {
|
|
5733
5855
|
asChild?: boolean;
|
|
5734
5856
|
showOnHover?: boolean;
|
|
5735
5857
|
};
|
|
5736
|
-
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$
|
|
5858
|
+
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$90) => import("react/jsx-runtime").JSX.Element;
|
|
5737
5859
|
//#endregion
|
|
5738
5860
|
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
5739
|
-
type Props$
|
|
5740
|
-
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$
|
|
5861
|
+
type Props$89 = Omit<ComponentProps<'input'>, 'prefix'>;
|
|
5862
|
+
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$89) => import("react/jsx-runtime").JSX.Element;
|
|
5741
5863
|
//#endregion
|
|
5742
5864
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
5743
|
-
type Props$
|
|
5865
|
+
type Props$88 = HTMLAttributes<HTMLDivElement> & {
|
|
5744
5866
|
icon: ReactNode;
|
|
5745
5867
|
title: ReactNode;
|
|
5746
5868
|
};
|
|
5747
|
-
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$
|
|
5869
|
+
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$88) => import("react/jsx-runtime").JSX.Element;
|
|
5748
5870
|
//#endregion
|
|
5749
5871
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
5750
|
-
type Props$
|
|
5751
|
-
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$
|
|
5872
|
+
type Props$87 = ComponentProps<'div'>;
|
|
5873
|
+
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$87) => import("react/jsx-runtime").JSX.Element;
|
|
5752
5874
|
//#endregion
|
|
5753
5875
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
5754
|
-
type Props$
|
|
5876
|
+
type Props$86 = {
|
|
5755
5877
|
children: ReactNode;
|
|
5756
5878
|
icon: ReactNode;
|
|
5757
5879
|
isActive?: boolean;
|
|
5758
5880
|
label: string;
|
|
5759
5881
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
5760
|
-
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$
|
|
5882
|
+
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$86) => import("react/jsx-runtime").JSX.Element;
|
|
5761
5883
|
//#endregion
|
|
5762
5884
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
5763
|
-
type Props$
|
|
5885
|
+
type Props$85 = ComponentProps<'button'> & {
|
|
5764
5886
|
asChild?: boolean;
|
|
5765
5887
|
};
|
|
5766
|
-
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, 'aria-current': ariaCurrent, ...props }: Props$
|
|
5888
|
+
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, 'aria-current': ariaCurrent, ...props }: Props$85) => import("react/jsx-runtime").JSX.Element;
|
|
5767
5889
|
//#endregion
|
|
5768
5890
|
//#region src/components/Separator/Separator.d.ts
|
|
5769
5891
|
declare const separatorVariants: (props?: ({
|
|
5770
5892
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
5771
5893
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5772
5894
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5773
|
-
type Props$
|
|
5895
|
+
type Props$84 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5774
5896
|
/**
|
|
5775
5897
|
* Optional label rendered centered between two line segments
|
|
5776
5898
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5778,21 +5900,26 @@ type Props$83 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
5778
5900
|
*/
|
|
5779
5901
|
label?: ReactNode;
|
|
5780
5902
|
};
|
|
5781
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
5903
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$84) => import("react/jsx-runtime").JSX.Element;
|
|
5782
5904
|
//#endregion
|
|
5783
5905
|
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
5784
|
-
type Props$
|
|
5785
|
-
declare const SidebarSeparator: ({ className, ...props }: Props$
|
|
5906
|
+
type Props$83 = Omit<ComponentProps<typeof Separator>, 'orientation' | 'size'>;
|
|
5907
|
+
declare const SidebarSeparator: ({ className, ...props }: Props$83) => import("react/jsx-runtime").JSX.Element;
|
|
5786
5908
|
//#endregion
|
|
5787
5909
|
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
5788
|
-
type Props$
|
|
5910
|
+
type Props$82 = ComponentProps<typeof Slot$1> & {
|
|
5789
5911
|
side?: SidebarSide;
|
|
5790
5912
|
hideWhenCollapsed?: boolean;
|
|
5791
5913
|
};
|
|
5792
|
-
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$
|
|
5914
|
+
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$82) => import("react/jsx-runtime").JSX.Element;
|
|
5793
5915
|
//#endregion
|
|
5794
5916
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
5795
|
-
|
|
5917
|
+
/**
|
|
5918
|
+
* `className` and `style` land on the inner wrapper (the rail's own box); everything else
|
|
5919
|
+
* (`data-*`, `aria-*`, handlers) lands on the outer element, so a `ThemeScope` around the
|
|
5920
|
+
* sidebar reaches it.
|
|
5921
|
+
*/
|
|
5922
|
+
type Props$81 = Omit<ComponentProps<'div'>, 'children' | 'className' | 'style' | 'id'> & {
|
|
5796
5923
|
children: ReactNode;
|
|
5797
5924
|
className?: string;
|
|
5798
5925
|
id?: string;
|
|
@@ -5802,7 +5929,7 @@ type Props$80 = {
|
|
|
5802
5929
|
keepMounted?: boolean;
|
|
5803
5930
|
resizable?: boolean;
|
|
5804
5931
|
};
|
|
5805
|
-
declare function Sidebar({ children, className, id, side, style, container, keepMounted, resizable }: Props$
|
|
5932
|
+
declare function Sidebar({ children, className, id, side, style, container, keepMounted, resizable, ...rest }: Props$81): import("react/jsx-runtime").JSX.Element | null;
|
|
5806
5933
|
declare namespace Sidebar {
|
|
5807
5934
|
export { SidebarHeader as Header };
|
|
5808
5935
|
export { SidebarContent as Content };
|
|
@@ -5827,7 +5954,7 @@ declare namespace Sidebar {
|
|
|
5827
5954
|
}
|
|
5828
5955
|
//#endregion
|
|
5829
5956
|
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
5830
|
-
type Props$
|
|
5957
|
+
type Props$80 = {
|
|
5831
5958
|
children?: ReactNode;
|
|
5832
5959
|
defaultLeftMode?: SidebarMode;
|
|
5833
5960
|
leftMode?: SidebarMode;
|
|
@@ -5845,7 +5972,7 @@ type Props$79 = {
|
|
|
5845
5972
|
onRightWidthChange?: (width: number) => void;
|
|
5846
5973
|
defaultFilledSide?: SidebarSide | null;
|
|
5847
5974
|
};
|
|
5848
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$
|
|
5975
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$80) => import("react/jsx-runtime").JSX.Element;
|
|
5849
5976
|
//#endregion
|
|
5850
5977
|
//#region src/components/Sidebar/utils.d.ts
|
|
5851
5978
|
type Input = {
|
|
@@ -5863,12 +5990,12 @@ type EffectiveWidths = {
|
|
|
5863
5990
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode }: Input) => EffectiveWidths;
|
|
5864
5991
|
//#endregion
|
|
5865
5992
|
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
5866
|
-
type Props$
|
|
5993
|
+
type Props$79 = {
|
|
5867
5994
|
defaultMode?: SidebarMode;
|
|
5868
5995
|
mode?: SidebarMode;
|
|
5869
5996
|
onModeChange?: (state: SidebarMode) => void;
|
|
5870
5997
|
};
|
|
5871
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
5998
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$79) => {
|
|
5872
5999
|
isHovered: boolean;
|
|
5873
6000
|
toggle: () => void;
|
|
5874
6001
|
setMode: (dispatch: Parameters<import("react").Dispatch<import("react").SetStateAction<"collapsed" | "expand-on-hover" | "expanded">>>[0]) => void;
|
|
@@ -5902,66 +6029,66 @@ declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | nul
|
|
|
5902
6029
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
5903
6030
|
//#endregion
|
|
5904
6031
|
//#region src/components/Navbar/NavbarContent.d.ts
|
|
5905
|
-
type Props$
|
|
6032
|
+
type Props$78 = {
|
|
5906
6033
|
className?: string;
|
|
5907
6034
|
children?: ReactNode;
|
|
5908
6035
|
};
|
|
5909
|
-
declare const NavbarContent: ({ children, className }: Props$
|
|
6036
|
+
declare const NavbarContent: ({ children, className }: Props$78) => import("react/jsx-runtime").JSX.Element;
|
|
5910
6037
|
//#endregion
|
|
5911
6038
|
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
5912
|
-
type Props$
|
|
5913
|
-
declare const NavbarFooter: ({ children, className, ...rest }: Props$
|
|
6039
|
+
type Props$77 = ComponentProps<'div'>;
|
|
6040
|
+
declare const NavbarFooter: ({ children, className, ...rest }: Props$77) => import("react/jsx-runtime").JSX.Element;
|
|
5914
6041
|
//#endregion
|
|
5915
6042
|
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
5916
|
-
type Props$
|
|
5917
|
-
declare const NavbarHeader: ({ children, className, ...rest }: Props$
|
|
6043
|
+
type Props$76 = ComponentProps<'div'>;
|
|
6044
|
+
declare const NavbarHeader: ({ children, className, ...rest }: Props$76) => import("react/jsx-runtime").JSX.Element;
|
|
5918
6045
|
//#endregion
|
|
5919
6046
|
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
5920
6047
|
declare const variants$2: (props?: ({
|
|
5921
6048
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
5922
6049
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5923
|
-
type Props$
|
|
5924
|
-
declare const NavbarMenu: ({ className, marker, ...rest }: Props$
|
|
6050
|
+
type Props$75 = ComponentProps<'ul'> & VariantProps<typeof variants$2>;
|
|
6051
|
+
declare const NavbarMenu: ({ className, marker, ...rest }: Props$75) => import("react/jsx-runtime").JSX.Element;
|
|
5925
6052
|
//#endregion
|
|
5926
6053
|
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
5927
|
-
type Props$
|
|
6054
|
+
type Props$74 = ComponentProps<'button'> & {
|
|
5928
6055
|
src?: string;
|
|
5929
6056
|
alt?: string;
|
|
5930
6057
|
};
|
|
5931
|
-
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$
|
|
6058
|
+
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$74) => import("react/jsx-runtime").JSX.Element;
|
|
5932
6059
|
//#endregion
|
|
5933
6060
|
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
5934
6061
|
declare const variants$1: (props?: ({
|
|
5935
6062
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
5936
6063
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5937
|
-
type Props$
|
|
6064
|
+
type Props$73 = ComponentProps<'button'> & {
|
|
5938
6065
|
/** Optional leading-icon slot. Pass a Lucide icon node to render an adornment before children. */
|
|
5939
6066
|
icon?: ReactNode;
|
|
5940
6067
|
asChild?: boolean;
|
|
5941
6068
|
} & VariantProps<typeof variants$1>;
|
|
5942
|
-
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$
|
|
6069
|
+
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$73) => import("react/jsx-runtime").JSX.Element;
|
|
5943
6070
|
//#endregion
|
|
5944
6071
|
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
5945
|
-
type Props$
|
|
5946
|
-
declare const NavbarMenuItem: ({ className, ...rest }: Props$
|
|
6072
|
+
type Props$72 = ComponentProps<'li'>;
|
|
6073
|
+
declare const NavbarMenuItem: ({ className, ...rest }: Props$72) => import("react/jsx-runtime").JSX.Element;
|
|
5947
6074
|
//#endregion
|
|
5948
6075
|
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
5949
6076
|
declare const variants: (props?: ({
|
|
5950
6077
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
5951
6078
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5952
|
-
type Props$
|
|
6079
|
+
type Props$71 = {
|
|
5953
6080
|
asChild?: boolean;
|
|
5954
6081
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
5955
|
-
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$
|
|
6082
|
+
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$71) => import("react/jsx-runtime").JSX.Element;
|
|
5956
6083
|
//#endregion
|
|
5957
6084
|
//#region src/components/Navbar/Navbar.d.ts
|
|
5958
6085
|
declare const navbarClassnames: (props?: ({
|
|
5959
6086
|
bordered?: boolean | null | undefined;
|
|
5960
6087
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5961
|
-
type Props$
|
|
6088
|
+
type Props$70 = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5962
6089
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5963
6090
|
};
|
|
5964
|
-
declare function Navbar({ className, accent, bordered, ...rest }: Props$
|
|
6091
|
+
declare function Navbar({ className, accent, bordered, ...rest }: Props$70): import("react/jsx-runtime").JSX.Element;
|
|
5965
6092
|
declare namespace Navbar {
|
|
5966
6093
|
export { NavbarHeader as Header };
|
|
5967
6094
|
export { NavbarFooter as Footer };
|
|
@@ -6007,20 +6134,20 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
6007
6134
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6008
6135
|
//#endregion
|
|
6009
6136
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
6010
|
-
type Props$
|
|
6011
|
-
declare const WorkbenchBarEnd: ({ className, ...props }: Props$
|
|
6137
|
+
type Props$69 = ComponentProps<'div'>;
|
|
6138
|
+
declare const WorkbenchBarEnd: ({ className, ...props }: Props$69) => import("react/jsx-runtime").JSX.Element;
|
|
6012
6139
|
//#endregion
|
|
6013
6140
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
6014
|
-
type Props$
|
|
6015
|
-
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$
|
|
6141
|
+
type Props$68 = ComponentProps<'div'>;
|
|
6142
|
+
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$68) => import("react/jsx-runtime").JSX.Element;
|
|
6016
6143
|
//#endregion
|
|
6017
6144
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
6018
|
-
type Props$
|
|
6019
|
-
declare const WorkbenchBarStart: ({ className, ...props }: Props$
|
|
6145
|
+
type Props$67 = ComponentProps<'div'>;
|
|
6146
|
+
declare const WorkbenchBarStart: ({ className, ...props }: Props$67) => import("react/jsx-runtime").JSX.Element;
|
|
6020
6147
|
//#endregion
|
|
6021
6148
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
6022
|
-
type Props$
|
|
6023
|
-
declare function WorkbenchBar({ className, children, ...props }: Props$
|
|
6149
|
+
type Props$66 = ComponentProps<'div'>;
|
|
6150
|
+
declare function WorkbenchBar({ className, children, ...props }: Props$66): import("react/jsx-runtime").JSX.Element;
|
|
6024
6151
|
declare namespace WorkbenchBar {
|
|
6025
6152
|
export { WorkbenchBarStart as Start };
|
|
6026
6153
|
export { WorkbenchBarMiddle as Middle };
|
|
@@ -6028,35 +6155,35 @@ declare namespace WorkbenchBar {
|
|
|
6028
6155
|
}
|
|
6029
6156
|
//#endregion
|
|
6030
6157
|
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
6031
|
-
type Props$
|
|
6158
|
+
type Props$65 = ComponentProps<'button'> & {
|
|
6032
6159
|
asChild?: boolean;
|
|
6033
6160
|
};
|
|
6034
|
-
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$
|
|
6161
|
+
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$65) => import("react/jsx-runtime").JSX.Element;
|
|
6035
6162
|
//#endregion
|
|
6036
6163
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
6037
|
-
type Props$
|
|
6038
|
-
declare const WorkbenchPanel: ({ className, children, ...props }: Props$
|
|
6164
|
+
type Props$64 = ComponentProps<'div'>;
|
|
6165
|
+
declare const WorkbenchPanel: ({ className, children, ...props }: Props$64) => import("react/jsx-runtime").JSX.Element;
|
|
6039
6166
|
//#endregion
|
|
6040
6167
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
6041
|
-
type Props$
|
|
6168
|
+
type Props$63 = ComponentProps<'div'> & {
|
|
6042
6169
|
asChild?: boolean;
|
|
6043
6170
|
};
|
|
6044
|
-
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$
|
|
6171
|
+
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$63) => import("react/jsx-runtime").JSX.Element;
|
|
6045
6172
|
//#endregion
|
|
6046
6173
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
6047
|
-
type Props$
|
|
6048
|
-
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$
|
|
6174
|
+
type Props$62 = ComponentProps<'div'>;
|
|
6175
|
+
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$62) => import("react/jsx-runtime").JSX.Element;
|
|
6049
6176
|
//#endregion
|
|
6050
6177
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
6051
|
-
type Props$
|
|
6052
|
-
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$
|
|
6178
|
+
type Props$61 = ComponentProps<'div'>;
|
|
6179
|
+
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$61) => import("react/jsx-runtime").JSX.Element;
|
|
6053
6180
|
//#endregion
|
|
6054
6181
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
6055
|
-
type Props$
|
|
6056
|
-
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$
|
|
6182
|
+
type Props$60 = ComponentProps<'div'>;
|
|
6183
|
+
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$60) => import("react/jsx-runtime").JSX.Element;
|
|
6057
6184
|
//#endregion
|
|
6058
6185
|
//#region src/components/Workbench/Workbench.d.ts
|
|
6059
|
-
type Props$
|
|
6186
|
+
type Props$59 = {
|
|
6060
6187
|
className?: string;
|
|
6061
6188
|
children: ReactNode;
|
|
6062
6189
|
state?: WorkbenchState;
|
|
@@ -6067,7 +6194,7 @@ type Props$58 = {
|
|
|
6067
6194
|
defaultPanelHeight?: number;
|
|
6068
6195
|
onPanelHeightChange?: (panelHeight: number) => void;
|
|
6069
6196
|
};
|
|
6070
|
-
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$
|
|
6197
|
+
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$59): import("react/jsx-runtime").JSX.Element;
|
|
6071
6198
|
declare namespace Workbench {
|
|
6072
6199
|
export { WorkbenchBar as Bar };
|
|
6073
6200
|
export { WorkbenchBarStart as BarStart };
|
|
@@ -6192,34 +6319,34 @@ declare namespace BreadcrumbDropdown {
|
|
|
6192
6319
|
}
|
|
6193
6320
|
//#endregion
|
|
6194
6321
|
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6195
|
-
type Props$
|
|
6196
|
-
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$
|
|
6322
|
+
type Props$58 = ComponentProps<'button'>;
|
|
6323
|
+
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$58) => import("react/jsx-runtime").JSX.Element;
|
|
6197
6324
|
//#endregion
|
|
6198
6325
|
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6199
|
-
type Props$
|
|
6200
|
-
declare const BreadcrumbItem: ({ className, ...props }: Props$
|
|
6326
|
+
type Props$57 = ComponentProps<'li'>;
|
|
6327
|
+
declare const BreadcrumbItem: ({ className, ...props }: Props$57) => import("react/jsx-runtime").JSX.Element;
|
|
6201
6328
|
//#endregion
|
|
6202
6329
|
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6203
|
-
type Props$
|
|
6330
|
+
type Props$56 = ComponentProps<'a'> & {
|
|
6204
6331
|
asChild?: boolean;
|
|
6205
6332
|
};
|
|
6206
|
-
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$
|
|
6333
|
+
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$56) => import("react/jsx-runtime").JSX.Element;
|
|
6207
6334
|
//#endregion
|
|
6208
6335
|
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6209
|
-
type Props$
|
|
6210
|
-
declare const BreadcrumbList: ({ className, ...props }: Props$
|
|
6336
|
+
type Props$55 = ComponentProps<'ol'>;
|
|
6337
|
+
declare const BreadcrumbList: ({ className, ...props }: Props$55) => import("react/jsx-runtime").JSX.Element;
|
|
6211
6338
|
//#endregion
|
|
6212
6339
|
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6213
|
-
type Props$
|
|
6214
|
-
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$
|
|
6340
|
+
type Props$54 = ComponentProps<'span'>;
|
|
6341
|
+
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$54) => import("react/jsx-runtime").JSX.Element;
|
|
6215
6342
|
//#endregion
|
|
6216
6343
|
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6217
|
-
type Props$
|
|
6218
|
-
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$
|
|
6344
|
+
type Props$53 = ComponentProps<'li'>;
|
|
6345
|
+
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$53) => import("react/jsx-runtime").JSX.Element;
|
|
6219
6346
|
//#endregion
|
|
6220
6347
|
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6221
|
-
type Props$
|
|
6222
|
-
declare function Breadcrumb({ className, ...props }: Props$
|
|
6348
|
+
type Props$52 = ComponentProps<'nav'>;
|
|
6349
|
+
declare function Breadcrumb({ className, ...props }: Props$52): import("react/jsx-runtime").JSX.Element;
|
|
6223
6350
|
declare namespace Breadcrumb {
|
|
6224
6351
|
export { BreadcrumbList as List };
|
|
6225
6352
|
export { BreadcrumbItem as Item };
|
|
@@ -6236,7 +6363,7 @@ type Trigger<T extends string> = {
|
|
|
6236
6363
|
title: ReactNode;
|
|
6237
6364
|
onClose?: (value: T) => void;
|
|
6238
6365
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
6239
|
-
type Props$
|
|
6366
|
+
type Props$51<T extends string> = {
|
|
6240
6367
|
triggers: readonly Trigger<T>[];
|
|
6241
6368
|
compact?: boolean;
|
|
6242
6369
|
children: ReactNode;
|
|
@@ -6247,7 +6374,7 @@ type Props$50<T extends string> = {
|
|
|
6247
6374
|
triggerClassName?: string;
|
|
6248
6375
|
triggerGroupClassName?: string;
|
|
6249
6376
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6250
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
6377
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$51<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6251
6378
|
//#endregion
|
|
6252
6379
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
6253
6380
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6263,7 +6390,7 @@ declare const STEP_STATUS: {
|
|
|
6263
6390
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
6264
6391
|
//#endregion
|
|
6265
6392
|
//#region src/components/Stepper/StepperStep.d.ts
|
|
6266
|
-
type Props$
|
|
6393
|
+
type Props$50 = {
|
|
6267
6394
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
6268
6395
|
status?: StepStatus;
|
|
6269
6396
|
children: ReactNode;
|
|
@@ -6275,23 +6402,23 @@ type Props$49 = {
|
|
|
6275
6402
|
*
|
|
6276
6403
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
6277
6404
|
*/
|
|
6278
|
-
declare const StepperStep: ({ status, children, className, ...props }: Props$
|
|
6405
|
+
declare const StepperStep: ({ status, children, className, ...props }: Props$50) => import("react/jsx-runtime").JSX.Element;
|
|
6279
6406
|
//#endregion
|
|
6280
6407
|
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
6281
|
-
type Props$
|
|
6408
|
+
type Props$49 = ComponentProps<'span'>;
|
|
6282
6409
|
/**
|
|
6283
6410
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
6284
6411
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
6285
6412
|
*/
|
|
6286
|
-
declare const StepperStepConnector: ({ className, ...props }: Props$
|
|
6413
|
+
declare const StepperStepConnector: ({ className, ...props }: Props$49) => import("react/jsx-runtime").JSX.Element;
|
|
6287
6414
|
//#endregion
|
|
6288
6415
|
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
6289
|
-
type Props$
|
|
6416
|
+
type Props$48 = ComponentProps<'span'>;
|
|
6290
6417
|
/** Optional secondary text below the step label. */
|
|
6291
|
-
declare const StepperStepDescription: ({ className, ...props }: Props$
|
|
6418
|
+
declare const StepperStepDescription: ({ className, ...props }: Props$48) => import("react/jsx-runtime").JSX.Element;
|
|
6292
6419
|
//#endregion
|
|
6293
6420
|
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
6294
|
-
type Props$
|
|
6421
|
+
type Props$47 = {
|
|
6295
6422
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
6296
6423
|
children?: ReactNode;
|
|
6297
6424
|
} & ComponentProps<'span'>;
|
|
@@ -6299,12 +6426,12 @@ type Props$46 = {
|
|
|
6299
6426
|
* Circular indicator slot. Renders the status icon (Check / X) or the step number automatically based on
|
|
6300
6427
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
6301
6428
|
*/
|
|
6302
|
-
declare const StepperStepIndicator: ({ children, className, ...props }: Props$
|
|
6429
|
+
declare const StepperStepIndicator: ({ children, className, ...props }: Props$47) => import("react/jsx-runtime").JSX.Element;
|
|
6303
6430
|
//#endregion
|
|
6304
6431
|
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
6305
|
-
type Props$
|
|
6432
|
+
type Props$46 = ComponentProps<'span'>;
|
|
6306
6433
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
6307
|
-
declare const StepperStepLabel: ({ className, ...props }: Props$
|
|
6434
|
+
declare const StepperStepLabel: ({ className, ...props }: Props$46) => import("react/jsx-runtime").JSX.Element;
|
|
6308
6435
|
//#endregion
|
|
6309
6436
|
//#region src/components/Stepper/styles.d.ts
|
|
6310
6437
|
declare const stepperVariants: (props?: ({
|
|
@@ -6312,7 +6439,7 @@ declare const stepperVariants: (props?: ({
|
|
|
6312
6439
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6313
6440
|
//#endregion
|
|
6314
6441
|
//#region src/components/Stepper/Stepper.d.ts
|
|
6315
|
-
type Props$
|
|
6442
|
+
type Props$45 = {
|
|
6316
6443
|
/** Layout direction. Defaults to `horizontal`. */
|
|
6317
6444
|
orientation?: StepperOrientation;
|
|
6318
6445
|
/**
|
|
@@ -6322,7 +6449,7 @@ type Props$44 = {
|
|
|
6322
6449
|
onStepClick?: (index: number) => void;
|
|
6323
6450
|
children: ReactNode;
|
|
6324
6451
|
} & Omit<ComponentProps<'ol'>, 'children'> & VariantProps<typeof stepperVariants>;
|
|
6325
|
-
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$
|
|
6452
|
+
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$45): import("react/jsx-runtime").JSX.Element;
|
|
6326
6453
|
declare namespace Stepper {
|
|
6327
6454
|
export { StepperStep as Step };
|
|
6328
6455
|
export { StepperStepIndicator as StepIndicator };
|
|
@@ -6332,15 +6459,15 @@ declare namespace Stepper {
|
|
|
6332
6459
|
}
|
|
6333
6460
|
//#endregion
|
|
6334
6461
|
//#region src/components/Card/CardContent.d.ts
|
|
6335
|
-
type Props$
|
|
6462
|
+
type Props$44 = HTMLAttributes<HTMLDivElement> & {
|
|
6336
6463
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
6337
6464
|
* root adds none — otherwise the padding is doubled. */
|
|
6338
6465
|
padded?: boolean;
|
|
6339
6466
|
};
|
|
6340
|
-
declare const CardContent: ({ children, className, padded, ...rest }: Props$
|
|
6467
|
+
declare const CardContent: ({ children, className, padded, ...rest }: Props$44) => import("react/jsx-runtime").JSX.Element;
|
|
6341
6468
|
//#endregion
|
|
6342
6469
|
//#region src/components/Card/CardHeader.d.ts
|
|
6343
|
-
type Props$
|
|
6470
|
+
type Props$43 = HTMLAttributes<HTMLDivElement> & {
|
|
6344
6471
|
/** Adds a bottom rule, the header's own padding, and a 64px height floor so the
|
|
6345
6472
|
* band stays the same height with or without an action button. The rule spans the
|
|
6346
6473
|
* full card width — pair with `Card padding="none"`; on a padded root it is inset. */
|
|
@@ -6351,16 +6478,16 @@ type Props$42 = HTMLAttributes<HTMLDivElement> & {
|
|
|
6351
6478
|
* under the title. */
|
|
6352
6479
|
layout?: 'row' | 'inline' | 'stack';
|
|
6353
6480
|
};
|
|
6354
|
-
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$
|
|
6481
|
+
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$43) => import("react/jsx-runtime").JSX.Element;
|
|
6355
6482
|
//#endregion
|
|
6356
6483
|
//#region src/components/Card/CardTitle.d.ts
|
|
6357
6484
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6358
|
-
type Props$
|
|
6485
|
+
type Props$42 = HTMLAttributes<HTMLHeadingElement> & {
|
|
6359
6486
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
6360
6487
|
* (e.g. `as="h2"` when the Card sits directly under a page's `h1`). */
|
|
6361
6488
|
as?: HeadingLevel;
|
|
6362
6489
|
};
|
|
6363
|
-
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$
|
|
6490
|
+
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$42) => import("react/jsx-runtime").JSX.Element;
|
|
6364
6491
|
//#endregion
|
|
6365
6492
|
//#region src/components/Card/styles.d.ts
|
|
6366
6493
|
declare const cardClassnames: (props?: ({
|
|
@@ -6369,8 +6496,8 @@ declare const cardClassnames: (props?: ({
|
|
|
6369
6496
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6370
6497
|
//#endregion
|
|
6371
6498
|
//#region src/components/Card/Card.d.ts
|
|
6372
|
-
type Props$
|
|
6373
|
-
declare function Card({ children, className, bordered, padding, ...rest }: Props$
|
|
6499
|
+
type Props$41 = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
6500
|
+
declare function Card({ children, className, bordered, padding, ...rest }: Props$41): import("react/jsx-runtime").JSX.Element;
|
|
6374
6501
|
declare namespace Card {
|
|
6375
6502
|
export { CardHeader as Header };
|
|
6376
6503
|
export { CardContent as Content };
|
|
@@ -6403,7 +6530,7 @@ declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) =>
|
|
|
6403
6530
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
6404
6531
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
6405
6532
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
6406
|
-
type Props$
|
|
6533
|
+
type Props$40 = {
|
|
6407
6534
|
/** Current sort state for this column: `'asc'`, `'desc'`, or `false` when unsorted. */
|
|
6408
6535
|
sorted: TableSortDirection;
|
|
6409
6536
|
children: ReactNode;
|
|
@@ -6415,19 +6542,19 @@ type Props$39 = {
|
|
|
6415
6542
|
* key/direction pair, or `@tanstack/react-table`'s `getToggleSortingHandler()` / `getIsSorted()`)
|
|
6416
6543
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
6417
6544
|
*/
|
|
6418
|
-
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$
|
|
6545
|
+
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$40) => import("react/jsx-runtime").JSX.Element;
|
|
6419
6546
|
//#endregion
|
|
6420
6547
|
//#region src/components/Table/Table.d.ts
|
|
6421
6548
|
/**
|
|
6422
6549
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6423
6550
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6424
6551
|
*/
|
|
6425
|
-
type Props$
|
|
6552
|
+
type Props$39 = {
|
|
6426
6553
|
borderCollapsed?: boolean;
|
|
6427
6554
|
bordered?: boolean;
|
|
6428
6555
|
containerClassName?: string;
|
|
6429
6556
|
} & ComponentProps<'table'>;
|
|
6430
|
-
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
6557
|
+
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$39): import("react/jsx-runtime").JSX.Element;
|
|
6431
6558
|
declare namespace Table {
|
|
6432
6559
|
export { TableHeader as Header };
|
|
6433
6560
|
export { TableHead as Head };
|
|
@@ -6445,25 +6572,25 @@ declare const connectorWrapper: (props?: ({
|
|
|
6445
6572
|
declare const connector: (props?: ({
|
|
6446
6573
|
variant?: "icon" | "label" | "line" | "none" | null | undefined;
|
|
6447
6574
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6448
|
-
type Props$
|
|
6575
|
+
type Props$38 = {
|
|
6449
6576
|
asChild?: boolean;
|
|
6450
6577
|
offset?: number;
|
|
6451
6578
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
6452
|
-
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$
|
|
6579
|
+
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$38) => import("react/jsx-runtime").JSX.Element;
|
|
6453
6580
|
//#endregion
|
|
6454
6581
|
//#region src/components/Timeline/TimelineContent.d.ts
|
|
6455
|
-
type Props$
|
|
6456
|
-
declare const TimelineContent: ({ className, ...rest }: Props$
|
|
6582
|
+
type Props$37 = ComponentProps<'div'>;
|
|
6583
|
+
declare const TimelineContent: ({ className, ...rest }: Props$37) => import("react/jsx-runtime").JSX.Element;
|
|
6457
6584
|
//#endregion
|
|
6458
6585
|
//#region src/components/Timeline/TimelineItem.d.ts
|
|
6459
|
-
type Props$
|
|
6460
|
-
declare const TimelineItem: ({ className, ...rest }: Props$
|
|
6586
|
+
type Props$36 = ComponentProps<'li'>;
|
|
6587
|
+
declare const TimelineItem: ({ className, ...rest }: Props$36) => import("react/jsx-runtime").JSX.Element;
|
|
6461
6588
|
//#endregion
|
|
6462
6589
|
//#region src/components/Timeline/Timeline.d.ts
|
|
6463
|
-
type Props$
|
|
6590
|
+
type Props$35 = ComponentProps<'ul'> & {
|
|
6464
6591
|
variant?: 'solid' | 'dashed';
|
|
6465
6592
|
};
|
|
6466
|
-
declare function Timeline({ className, variant, ...rest }: Props$
|
|
6593
|
+
declare function Timeline({ className, variant, ...rest }: Props$35): import("react/jsx-runtime").JSX.Element;
|
|
6467
6594
|
declare namespace Timeline {
|
|
6468
6595
|
export { TimelineItem as Item };
|
|
6469
6596
|
export { TimelineContent as Content };
|
|
@@ -6471,34 +6598,34 @@ declare namespace Timeline {
|
|
|
6471
6598
|
}
|
|
6472
6599
|
//#endregion
|
|
6473
6600
|
//#region src/components/Truncated.d.ts
|
|
6474
|
-
type Props$
|
|
6601
|
+
type Props$34 = {
|
|
6475
6602
|
text: ReactNode;
|
|
6476
6603
|
tooltip?: ReactNode;
|
|
6477
6604
|
twoLines?: boolean;
|
|
6478
6605
|
noTooltip?: boolean;
|
|
6479
|
-
tooltipVariant?: Props$
|
|
6480
|
-
tooltipPlacement?: Props$
|
|
6606
|
+
tooltipVariant?: Props$8['variant'];
|
|
6607
|
+
tooltipPlacement?: Props$8['placement'];
|
|
6481
6608
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
6482
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
6609
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$34) => import("react/jsx-runtime").JSX.Element;
|
|
6483
6610
|
//#endregion
|
|
6484
6611
|
//#region src/components/MarkedText/MarkedText.d.ts
|
|
6485
|
-
type Props$
|
|
6612
|
+
type Props$33 = {
|
|
6486
6613
|
source: string;
|
|
6487
6614
|
className?: string;
|
|
6488
6615
|
mark?: string;
|
|
6489
6616
|
isCaseSensitive?: boolean;
|
|
6490
6617
|
} & ComponentProps<'span'>;
|
|
6491
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
6618
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$33) => import("react/jsx-runtime").JSX.Element;
|
|
6492
6619
|
//#endregion
|
|
6493
6620
|
//#region src/components/Kbd/KbdGroup.d.ts
|
|
6494
|
-
type Props$
|
|
6621
|
+
type Props$32 = {
|
|
6495
6622
|
separator?: string;
|
|
6496
6623
|
} & ComponentProps<'kbd'>;
|
|
6497
|
-
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$
|
|
6624
|
+
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$32) => import("react/jsx-runtime").JSX.Element;
|
|
6498
6625
|
//#endregion
|
|
6499
6626
|
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
6500
|
-
type Props$
|
|
6501
|
-
declare const KbdSeparator: ({ className, ...props }: Props$
|
|
6627
|
+
type Props$31 = ComponentProps<'span'>;
|
|
6628
|
+
declare const KbdSeparator: ({ className, ...props }: Props$31) => import("react/jsx-runtime").JSX.Element;
|
|
6502
6629
|
//#endregion
|
|
6503
6630
|
//#region src/components/Kbd/styles.d.ts
|
|
6504
6631
|
declare const kbdVariants: (props?: ({
|
|
@@ -6506,8 +6633,8 @@ declare const kbdVariants: (props?: ({
|
|
|
6506
6633
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6507
6634
|
//#endregion
|
|
6508
6635
|
//#region src/components/Kbd/Kbd.d.ts
|
|
6509
|
-
type Props$
|
|
6510
|
-
declare function Kbd({ children, className, variant, ...rest }: Props$
|
|
6636
|
+
type Props$30 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6637
|
+
declare function Kbd({ children, className, variant, ...rest }: Props$30): import("react/jsx-runtime").JSX.Element;
|
|
6511
6638
|
declare namespace Kbd {
|
|
6512
6639
|
export { KbdGroup as Group };
|
|
6513
6640
|
export { KbdSeparator as Separator };
|
|
@@ -6522,34 +6649,34 @@ type KeyRepresentation = {
|
|
|
6522
6649
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6523
6650
|
//#endregion
|
|
6524
6651
|
//#region src/components/Pagination/PaginationButton.d.ts
|
|
6525
|
-
type Props$
|
|
6652
|
+
type Props$29 = {
|
|
6526
6653
|
active?: boolean;
|
|
6527
6654
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
6528
|
-
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$
|
|
6655
|
+
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$29) => import("react/jsx-runtime").JSX.Element;
|
|
6529
6656
|
//#endregion
|
|
6530
6657
|
//#region src/components/Pagination/PaginationContent.d.ts
|
|
6531
|
-
type Props$
|
|
6532
|
-
declare const PaginationContent: ({ className, ...props }: Props$
|
|
6658
|
+
type Props$28 = ComponentProps<'ul'>;
|
|
6659
|
+
declare const PaginationContent: ({ className, ...props }: Props$28) => import("react/jsx-runtime").JSX.Element;
|
|
6533
6660
|
//#endregion
|
|
6534
6661
|
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
6535
|
-
type Props$
|
|
6536
|
-
declare const PaginationEllipsis: ({ className, ...props }: Props$
|
|
6662
|
+
type Props$27 = ComponentProps<'span'>;
|
|
6663
|
+
declare const PaginationEllipsis: ({ className, ...props }: Props$27) => import("react/jsx-runtime").JSX.Element;
|
|
6537
6664
|
//#endregion
|
|
6538
6665
|
//#region src/components/Pagination/PaginationItem.d.ts
|
|
6539
|
-
type Props$
|
|
6540
|
-
declare const PaginationItem: ({ className, ...props }: Props$
|
|
6666
|
+
type Props$26 = ComponentProps<'li'>;
|
|
6667
|
+
declare const PaginationItem: ({ className, ...props }: Props$26) => import("react/jsx-runtime").JSX.Element;
|
|
6541
6668
|
//#endregion
|
|
6542
6669
|
//#region src/components/Pagination/PaginationNext.d.ts
|
|
6543
|
-
type Props$
|
|
6544
|
-
declare const PaginationNext: ({ children, className, ...props }: Props$
|
|
6670
|
+
type Props$25 = ComponentProps<typeof PaginationButton>;
|
|
6671
|
+
declare const PaginationNext: ({ children, className, ...props }: Props$25) => import("react/jsx-runtime").JSX.Element;
|
|
6545
6672
|
//#endregion
|
|
6546
6673
|
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
6547
|
-
type Props$
|
|
6548
|
-
declare const PaginationPrevious: ({ children, ...props }: Props$
|
|
6674
|
+
type Props$24 = ComponentProps<typeof PaginationButton>;
|
|
6675
|
+
declare const PaginationPrevious: ({ children, ...props }: Props$24) => import("react/jsx-runtime").JSX.Element;
|
|
6549
6676
|
//#endregion
|
|
6550
6677
|
//#region src/components/Pagination/Pagination.d.ts
|
|
6551
|
-
type Props$
|
|
6552
|
-
declare function Pagination({ className, ...props }: Props$
|
|
6678
|
+
type Props$23 = ComponentProps<'nav'>;
|
|
6679
|
+
declare function Pagination({ className, ...props }: Props$23): import("react/jsx-runtime").JSX.Element;
|
|
6553
6680
|
declare namespace Pagination {
|
|
6554
6681
|
export { PaginationContent as Content };
|
|
6555
6682
|
export { PaginationItem as Item };
|
|
@@ -6560,7 +6687,7 @@ declare namespace Pagination {
|
|
|
6560
6687
|
}
|
|
6561
6688
|
//#endregion
|
|
6562
6689
|
//#region src/components/DiffView/DiffView.d.ts
|
|
6563
|
-
type Props$
|
|
6690
|
+
type Props$22 = {
|
|
6564
6691
|
oldValue: string;
|
|
6565
6692
|
newValue: string;
|
|
6566
6693
|
ignoreWhitespace?: boolean;
|
|
@@ -6570,7 +6697,7 @@ type Props$21 = {
|
|
|
6570
6697
|
rightTitle: ReactNode;
|
|
6571
6698
|
rightTitleGutter?: ReactNode;
|
|
6572
6699
|
};
|
|
6573
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$
|
|
6700
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$22) => import("react/jsx-runtime").JSX.Element;
|
|
6574
6701
|
//#endregion
|
|
6575
6702
|
//#region src/components/DiffView/util.d.ts
|
|
6576
6703
|
declare const DiffType: {
|
|
@@ -6617,18 +6744,18 @@ declare const computeLineInformation: (oldString: string, newString: string, ign
|
|
|
6617
6744
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6618
6745
|
//#endregion
|
|
6619
6746
|
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
6620
|
-
type Props$
|
|
6747
|
+
type Props$21 = {
|
|
6621
6748
|
label: string;
|
|
6622
6749
|
sublabel?: string;
|
|
6623
6750
|
};
|
|
6624
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6751
|
+
declare const PaneHeader: ({ label, sublabel }: Props$21) => import("react/jsx-runtime").JSX.Element;
|
|
6625
6752
|
//#endregion
|
|
6626
6753
|
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
6627
|
-
type Props$
|
|
6754
|
+
type Props$20 = {
|
|
6628
6755
|
remainingConflicts: number;
|
|
6629
6756
|
remainingSafeChanges: number;
|
|
6630
6757
|
};
|
|
6631
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6758
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$20) => import("react/jsx-runtime").JSX.Element;
|
|
6632
6759
|
//#endregion
|
|
6633
6760
|
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
6634
6761
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
@@ -6765,16 +6892,16 @@ type RootProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
6765
6892
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
6766
6893
|
//#endregion
|
|
6767
6894
|
//#region src/blocks/Form/components/FormBody.d.ts
|
|
6768
|
-
type Props$
|
|
6895
|
+
type Props$19 = {
|
|
6769
6896
|
children: ReactNode;
|
|
6770
6897
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
6771
|
-
declare const FormBody: ({ children, className, ...formProps }: Props$
|
|
6898
|
+
declare const FormBody: ({ children, className, ...formProps }: Props$19) => import("react/jsx-runtime").JSX.Element;
|
|
6772
6899
|
//#endregion
|
|
6773
6900
|
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
6774
|
-
type Props$
|
|
6901
|
+
type Props$18 = {
|
|
6775
6902
|
children?: ReactNode;
|
|
6776
6903
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
6777
|
-
declare const SubmitButton: ({ children, ...buttonProps }: Props$
|
|
6904
|
+
declare const SubmitButton: ({ children, ...buttonProps }: Props$18) => import("react/jsx-runtime").JSX.Element;
|
|
6778
6905
|
//#endregion
|
|
6779
6906
|
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
6780
6907
|
/**
|
|
@@ -6785,39 +6912,39 @@ declare const SubmitButton: ({ children, ...buttonProps }: Props$17) => import("
|
|
|
6785
6912
|
declare const SubmitErrorAlert: () => import("react/jsx-runtime").JSX.Element;
|
|
6786
6913
|
//#endregion
|
|
6787
6914
|
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
6788
|
-
type Props$
|
|
6789
|
-
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$
|
|
6915
|
+
type Props$17 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Checkbox>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
6916
|
+
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$17) => import("react/jsx-runtime").JSX.Element;
|
|
6790
6917
|
//#endregion
|
|
6791
6918
|
//#region src/blocks/Form/connectors/NumberField.d.ts
|
|
6792
|
-
type Props$
|
|
6793
|
-
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
6919
|
+
type Props$16 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.NumberInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
6920
|
+
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$16) => import("react/jsx-runtime").JSX.Element;
|
|
6794
6921
|
//#endregion
|
|
6795
6922
|
//#region src/blocks/Form/connectors/OtpInputField.d.ts
|
|
6796
|
-
type Props$
|
|
6797
|
-
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$
|
|
6923
|
+
type Props$15 = FieldItemProps & Omit<RootProps$4, 'value' | 'onChange' | 'children' | 'id' | 'name' | 'aria-describedby' | 'aria-required' | 'aria-invalid'>;
|
|
6924
|
+
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$15) => import("react/jsx-runtime").JSX.Element;
|
|
6798
6925
|
//#endregion
|
|
6799
6926
|
//#region src/blocks/Form/connectors/PasswordField.d.ts
|
|
6800
|
-
type Props$
|
|
6801
|
-
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
6927
|
+
type Props$14 = FieldItemProps & Omit<ComponentProps<typeof PasswordInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
6928
|
+
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$14) => import("react/jsx-runtime").JSX.Element;
|
|
6802
6929
|
//#endregion
|
|
6803
6930
|
//#region src/blocks/Form/connectors/SelectField.d.ts
|
|
6804
|
-
type Props$
|
|
6931
|
+
type Props$13 = FieldItemProps & Omit<ComponentProps<typeof Select>, 'id' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'items'> & {
|
|
6805
6932
|
items: readonly (SelectItem | SelectItemGroup)[];
|
|
6806
6933
|
triggerClassName?: string;
|
|
6807
6934
|
};
|
|
6808
|
-
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$
|
|
6935
|
+
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$13) => import("react/jsx-runtime").JSX.Element;
|
|
6809
6936
|
//#endregion
|
|
6810
6937
|
//#region src/blocks/Form/connectors/SwitchField.d.ts
|
|
6811
|
-
type Props$
|
|
6812
|
-
declare const SwitchField: ({ className, children, ...switchProps }: Props$
|
|
6938
|
+
type Props$12 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Switch>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
6939
|
+
declare const SwitchField: ({ className, children, ...switchProps }: Props$12) => import("react/jsx-runtime").JSX.Element;
|
|
6813
6940
|
//#endregion
|
|
6814
6941
|
//#region src/blocks/Form/connectors/TextareaField.d.ts
|
|
6815
|
-
type Props$
|
|
6816
|
-
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
6942
|
+
type Props$11 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.Textarea>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
6943
|
+
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$11) => import("react/jsx-runtime").JSX.Element;
|
|
6817
6944
|
//#endregion
|
|
6818
6945
|
//#region src/blocks/Form/connectors/TextField.d.ts
|
|
6819
|
-
type Props$
|
|
6820
|
-
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
6946
|
+
type Props$10 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.TextInput>, 'id' | 'name' | 'value' | 'onChange' | 'onBlur'>;
|
|
6947
|
+
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$10) => import("react/jsx-runtime").JSX.Element;
|
|
6821
6948
|
//#endregion
|
|
6822
6949
|
//#region src/blocks/Form/formHook.d.ts
|
|
6823
6950
|
/**
|
|
@@ -6959,6 +7086,29 @@ declare const cn: (...classes: ClassValue[]) => string;
|
|
|
6959
7086
|
//#region src/utils/copyToClipboard.d.ts
|
|
6960
7087
|
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
6961
7088
|
//#endregion
|
|
7089
|
+
//#region src/utils/findLiteralMatches.d.ts
|
|
7090
|
+
/**
|
|
7091
|
+
* Whether `text` holds `query`, ignoring case.
|
|
7092
|
+
*
|
|
7093
|
+
* - For callers that only need the answer — it stops at the first occurrence and allocates no
|
|
7094
|
+
* offsets.
|
|
7095
|
+
*/
|
|
7096
|
+
declare const hasLiteralMatch: (text: string, query: string) => boolean;
|
|
7097
|
+
/**
|
|
7098
|
+
* Start offsets of every occurrence of `query` in `text`, ignoring case unless `isCaseSensitive`.
|
|
7099
|
+
*
|
|
7100
|
+
* - The scan is literal, so every character of the query stands for itself. A search query is
|
|
7101
|
+
* pasted code as often as it is a word, and tens of kilobytes of it exceed what V8 can compile
|
|
7102
|
+
* as a regular expression.
|
|
7103
|
+
* - Occurrences do not overlap.
|
|
7104
|
+
* - An empty query matches nothing.
|
|
7105
|
+
* - CodeMirror's own `SearchCursor` does this over a `Text`, but it would reach the root barrel
|
|
7106
|
+
* the whole CodeMirror bundle is kept out of, and three of the four callers hold plain strings.
|
|
7107
|
+
*/
|
|
7108
|
+
declare const findLiteralMatches: (text: string, query: string, { isCaseSensitive }?: {
|
|
7109
|
+
isCaseSensitive?: boolean;
|
|
7110
|
+
}) => number[];
|
|
7111
|
+
//#endregion
|
|
6962
7112
|
//#region src/utils/mergeRefs.d.ts
|
|
6963
7113
|
type PossibleRef<T> = MutableRefObject<T> | RefCallback<T> | null;
|
|
6964
7114
|
/**
|
|
@@ -6971,7 +7121,7 @@ declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) => (node: T) => void;
|
|
|
6971
7121
|
declare const isMac: boolean;
|
|
6972
7122
|
//#endregion
|
|
6973
7123
|
//#region src/components/ZoomableSvg/ZoomableSvg.d.ts
|
|
6974
|
-
type Props$
|
|
7124
|
+
type Props$9 = {
|
|
6975
7125
|
/** Raw SVG markup. Sanitized internally with DOMPurify (SVG profile) before rendering, so it is
|
|
6976
7126
|
* safe even when it originates from user/LLM-controlled content. Non-SVG HTML is stripped. */
|
|
6977
7127
|
html: string;
|
|
@@ -6996,7 +7146,7 @@ type Props$8 = {
|
|
|
6996
7146
|
*/
|
|
6997
7147
|
renderActions?: (safeSvg: string) => ReactNode;
|
|
6998
7148
|
};
|
|
6999
|
-
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, renderActions }: Props$
|
|
7149
|
+
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, renderActions }: Props$9) => import("react/jsx-runtime").JSX.Element;
|
|
7000
7150
|
//#endregion
|
|
7001
7151
|
//#region src/components/ZoomableSvg/exportSvg.d.ts
|
|
7002
7152
|
declare const toSvgFileContent: (svg: string) => string;
|
|
@@ -7050,5 +7200,5 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
7050
7200
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7051
7201
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7052
7202
|
//#endregion
|
|
7053
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, 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$1 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$2 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$3 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 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, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$5 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThinkingIndicator, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState,
|
|
7203
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, 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$1 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$2 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$3 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 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, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$5 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$7 as ToolCallStatusHeaderProps, Tooltip, type Props$8 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, appShellSlotSelector, argoVariants, brandSchema, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, findLiteralMatches, hasLiteralMatch, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withForm };
|
|
7054
7204
|
//# sourceMappingURL=index.d.ts.map
|