@keboola/design 11.2.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 +42 -14
- package/CHANGELOG.md +424 -0
- package/COMPONENT-API.md +33 -32
- package/dist/{AIKit-DiS0CVOW.js → AIKit-DDg5DBCG.js} +156 -76
- package/dist/AIKit-DDg5DBCG.js.map +1 -0
- package/dist/{Alert-DfZq9kGe.js → Alert-DHJFrWnS.js} +3 -3
- package/dist/{Alert-DfZq9kGe.js.map → Alert-DHJFrWnS.js.map} +1 -1
- package/dist/{AlertModal-Dp_XuJBW.js → AlertModal-BGJdaRRj.js} +3 -3
- package/dist/{AlertModal-Dp_XuJBW.js.map → AlertModal-BGJdaRRj.js.map} +1 -1
- package/dist/{AppShell-B5GQN6Zs.js → AppShell-DRgJxpXW.js} +29 -10
- package/dist/AppShell-DRgJxpXW.js.map +1 -0
- package/dist/{BrandEditor-DyzgfVkl.js → BrandEditor-Go7w8Zj2.js} +7 -7
- package/dist/{BrandEditor-DyzgfVkl.js.map → BrandEditor-Go7w8Zj2.js.map} +1 -1
- package/dist/{BrandLogo-CJkRd0F8.js → BrandLogo-Dmi7jo21.js} +2 -2
- package/dist/{BrandLogo-CJkRd0F8.js.map → BrandLogo-Dmi7jo21.js.map} +1 -1
- package/dist/{Breadcrumb-Frst8MTA.js → Breadcrumb-uEkM6adI.js} +3 -3
- package/dist/{Breadcrumb-Frst8MTA.js.map → Breadcrumb-uEkM6adI.js.map} +1 -1
- package/dist/{Button-6xBX0nNl.js → Button-DsRrU5F1.js} +6 -5
- package/dist/Button-DsRrU5F1.js.map +1 -0
- package/dist/{Card-BAoZ35CV.js → Card-Dyo7055Q.js} +2 -2
- package/dist/{Card-BAoZ35CV.js.map → Card-Dyo7055Q.js.map} +1 -1
- package/dist/{Checkbox-GJ8-srt4.js → Checkbox-fC0BuO2B.js} +3 -3
- package/dist/{Checkbox-GJ8-srt4.js.map → Checkbox-fC0BuO2B.js.map} +1 -1
- package/dist/{Clipboard-CBJZiviP.js → Clipboard-ChPdiUy3.js} +2 -2
- package/dist/{Clipboard-CBJZiviP.js.map → Clipboard-ChPdiUy3.js.map} +1 -1
- package/dist/{ClipboardButton-ClcluT0C.js → ClipboardButton-D9pDjgkB.js} +3 -3
- package/dist/{ClipboardButton-ClcluT0C.js.map → ClipboardButton-D9pDjgkB.js.map} +1 -1
- package/dist/{CodeEditor-DyaN-Ij2.js → CodeEditor-Cxy3HnKH.js} +244 -113
- package/dist/CodeEditor-Cxy3HnKH.js.map +1 -0
- package/dist/{ColorInput-B8z4j4Y_.js → ColorInput-Bxj-1eLT.js} +3 -3
- package/dist/{ColorInput-B8z4j4Y_.js.map → ColorInput-Bxj-1eLT.js.map} +1 -1
- package/dist/{ColorModeSwitch-dZFZyqy1.js → ColorModeSwitch-CsWLiTBX.js} +3 -3
- package/dist/{ColorModeSwitch-dZFZyqy1.js.map → ColorModeSwitch-CsWLiTBX.js.map} +1 -1
- package/dist/{Combobox-Dgm6Z4ib.js → Combobox-Cs_1pj2q.js} +31 -24
- package/dist/Combobox-Cs_1pj2q.js.map +1 -0
- package/dist/{Command-C0aZfVTq.js → Command-B7ML9YMv.js} +6 -6
- package/dist/{Command-C0aZfVTq.js.map → Command-B7ML9YMv.js.map} +1 -1
- package/dist/{CopyField-BJ96zvXs.js → CopyField-BO_sh-HO.js} +2 -2
- package/dist/{CopyField-BJ96zvXs.js.map → CopyField-BO_sh-HO.js.map} +1 -1
- package/dist/{DateInput-B3UdzRfW.js → DateInput-ZdaMQo5i.js} +4 -4
- package/dist/{DateInput-B3UdzRfW.js.map → DateInput-ZdaMQo5i.js.map} +1 -1
- package/dist/{DatePicker-Dw3DpbUh.js → DatePicker-nA8YdE84.js} +2 -2
- package/dist/{DatePicker-Dw3DpbUh.js.map → DatePicker-nA8YdE84.js.map} +1 -1
- package/dist/{DateRangeInput-DTuySEiq.js → DateRangeInput-DkvNh_sT.js} +4 -4
- package/dist/{DateRangeInput-DTuySEiq.js.map → DateRangeInput-DkvNh_sT.js.map} +1 -1
- package/dist/{DateRangePicker-DCmMHg4s.js → DateRangePicker-DjSUFjh4.js} +6 -6
- package/dist/{DateRangePicker-DCmMHg4s.js.map → DateRangePicker-DjSUFjh4.js.map} +1 -1
- package/dist/{DropdownMenu-t90tVw6l.js → DropdownMenu-CASr-jgl.js} +2 -2
- package/dist/{DropdownMenu-t90tVw6l.js.map → DropdownMenu-CASr-jgl.js.map} +1 -1
- package/dist/{FieldItem-D-h1NeBo.js → FieldItem-CCd9-xnp.js} +3 -3
- package/dist/{FieldItem-D-h1NeBo.js.map → FieldItem-CCd9-xnp.js.map} +1 -1
- package/dist/{FieldItem-CAPj9lj3.d.ts → FieldItem-vhIJW4pj.d.ts} +2 -10
- package/dist/{FileUpload-BRv0TaZk.js → FileUpload-ABThVZyg.js} +2 -2
- package/dist/{FileUpload-BRv0TaZk.js.map → FileUpload-ABThVZyg.js.map} +1 -1
- package/dist/{Form-DHvcFoEi.js → Form-k6PH-em3.js} +8 -8
- package/dist/{Form-DHvcFoEi.js.map → Form-k6PH-em3.js.map} +1 -1
- package/dist/{FormGroup-C41n65cE.js → FormGroup-DbcDtrgU.js} +3 -3
- package/dist/{FormGroup-C41n65cE.js.map → FormGroup-DbcDtrgU.js.map} +1 -1
- package/dist/{FullScreenModal-Cb3PGgh4.js → FullScreenModal-BvPuYibe.js} +3 -3
- package/dist/{FullScreenModal-Cb3PGgh4.js.map → FullScreenModal-BvPuYibe.js.map} +1 -1
- package/dist/{HoverCard-WfDkLK1s.js → HoverCard-B9ZMJxjn.js} +2 -2
- package/dist/{HoverCard-WfDkLK1s.js.map → HoverCard-B9ZMJxjn.js.map} +1 -1
- package/dist/{InputGroup-CdTq8H7c.js → InputGroup-BnLHY0eq.js} +3 -3
- package/dist/{InputGroup-CdTq8H7c.js.map → InputGroup-BnLHY0eq.js.map} +1 -1
- package/dist/{Kbd-CxHAo1oo.js → Kbd-CvSM3D3-.js} +2 -2
- package/dist/{Kbd-CxHAo1oo.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-ChL3WIQT.js → MermaidDiagram-WkonYErO.js} +6 -87
- package/dist/MermaidDiagram-WkonYErO.js.map +1 -0
- package/dist/{Modal-wqG8nJiK.js → Modal-Coj-H02o.js} +16 -4
- package/dist/Modal-Coj-H02o.js.map +1 -0
- package/dist/{MultiActionButtonGroup-BiIIubiL.js → MultiActionButtonGroup-CxWH7yWK.js} +3 -3
- package/dist/{MultiActionButtonGroup-BiIIubiL.js.map → MultiActionButtonGroup-CxWH7yWK.js.map} +1 -1
- package/dist/{Navbar-BfaPeLUL.js → Navbar-B2UsolVU.js} +3 -3
- package/dist/{Navbar-BfaPeLUL.js.map → Navbar-B2UsolVU.js.map} +1 -1
- package/dist/{PageToolbar-OQg3mPF-.js → PageToolbar-DnbFt14Q.js} +3 -3
- package/dist/{PageToolbar-OQg3mPF-.js.map → PageToolbar-DnbFt14Q.js.map} +1 -1
- package/dist/{Pagination-Cjfda8KG.js → Pagination-C_b7Xhey.js} +2 -2
- package/dist/{Pagination-Cjfda8KG.js.map → Pagination-C_b7Xhey.js.map} +1 -1
- package/dist/{Popconfirm-D7_vfxFd.js → Popconfirm-CILjmzKI.js} +3 -3
- package/dist/{Popconfirm-D7_vfxFd.js.map → Popconfirm-CILjmzKI.js.map} +1 -1
- package/dist/{Popover-CzeHjvrB.js → Popover-BEbQrC_P.js} +22 -19
- package/dist/Popover-BEbQrC_P.js.map +1 -0
- package/dist/{RadioGroup-sIveSsNa.js → RadioGroup-XFzFd1ti.js} +3 -3
- package/dist/{RadioGroup-sIveSsNa.js.map → RadioGroup-XFzFd1ti.js.map} +1 -1
- package/dist/{Search-3UiqNZRj.js → Search-4Bxtt8hS.js} +2 -2
- package/dist/{Search-3UiqNZRj.js.map → Search-4Bxtt8hS.js.map} +1 -1
- package/dist/{SearchInput-C7dF_Ir-.js → SearchInput-f_oY9T4Z.js} +3 -3
- package/dist/{SearchInput-C7dF_Ir-.js.map → SearchInput-f_oY9T4Z.js.map} +1 -1
- package/dist/{SectionNav-8NoTOKO8.js → SectionNav-BpJlisbT.js} +4 -4
- package/dist/{SectionNav-8NoTOKO8.js.map → SectionNav-BpJlisbT.js.map} +1 -1
- package/dist/{Select-Is0VkePH.js → Select-DpcgKqKB.js} +32 -21
- package/dist/Select-DpcgKqKB.js.map +1 -0
- package/dist/{Sheet-Dw9BDvjI.js → Sheet-Chf0kX1E.js} +3 -3
- package/dist/{Sheet-Dw9BDvjI.js.map → Sheet-Chf0kX1E.js.map} +1 -1
- package/dist/{Sidebar-Dcb4rinA.js → Sidebar-Cm6I4dE1.js} +9 -7
- package/dist/{Sidebar-Dcb4rinA.js.map → Sidebar-Cm6I4dE1.js.map} +1 -1
- package/dist/{Slider-BOPfMOMm.js → Slider-pPC_3gz9.js} +3 -3
- package/dist/{Slider-BOPfMOMm.js.map → Slider-pPC_3gz9.js.map} +1 -1
- package/dist/{Switch-CX2A0v50.js → Switch-ChfPKcTE.js} +2 -2
- package/dist/{Switch-CX2A0v50.js.map → Switch-ChfPKcTE.js.map} +1 -1
- package/dist/{Tabs-UMQuDoW8.js → Tabs-eB974xJf.js} +2 -2
- package/dist/{Tabs-UMQuDoW8.js.map → Tabs-eB974xJf.js.map} +1 -1
- package/dist/{TextInput-CMuN1WfY.js → TextInput-DHM6dHmn.js} +3 -3
- package/dist/{TextInput-CMuN1WfY.js.map → TextInput-DHM6dHmn.js.map} +1 -1
- package/dist/{ThemeProvider-QncUrfJn.js → ThemeProvider-DrQJtzpd.js} +90 -14
- package/dist/ThemeProvider-DrQJtzpd.js.map +1 -0
- package/dist/{TimePicker-D9zktB8A.js → TimePicker-BGeqc-Ed.js} +2 -2
- package/dist/{TimePicker-D9zktB8A.js.map → TimePicker-BGeqc-Ed.js.map} +1 -1
- package/dist/{Toast-DQSbs3oA.js → Toast-Dr6Uw7ao.js} +2 -2
- package/dist/{Toast-DQSbs3oA.js.map → Toast-Dr6Uw7ao.js.map} +1 -1
- package/dist/{ZoomableSvg-CZEu6sAq.js → ZoomableSvg-BWnDkR61.js} +4 -4
- package/dist/{ZoomableSvg-CZEu6sAq.js.map → ZoomableSvg-BWnDkR61.js.map} +1 -1
- package/dist/{context-KxxeMHbR.js → context-D7X470dy.js} +5 -34
- package/dist/context-D7X470dy.js.map +1 -0
- package/dist/defaults-i_xG2F_1.js +32 -0
- package/dist/defaults-i_xG2F_1.js.map +1 -0
- package/dist/editors.d.ts +12 -2
- package/dist/editors.js +20 -12
- package/dist/editors.js.map +1 -1
- package/dist/findLiteralMatches-BGBw8Vbl.js +62 -0
- package/dist/findLiteralMatches-BGBw8Vbl.js.map +1 -0
- package/dist/flint.d.ts +15 -0
- package/dist/flint.js +212 -0
- package/dist/flint.js.map +1 -0
- package/dist/index.d.ts +725 -533
- package/dist/index.js +60 -57
- package/dist/internal/blocks/AIKit.js +2 -2
- package/dist/internal/blocks/AppShell.js +2 -2
- 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/{DiagramSkeleton-lwBS2YBa.js → internal/blocks/DiagramShared/DiagramSkeleton.js} +3 -3
- package/dist/internal/blocks/DiagramShared/DiagramSkeleton.js.map +1 -0
- 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 +15 -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 -3
- 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 +16 -8
- package/dist/internal/components/Truncated.js.map +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-DSUP_-9Z.js → styles-BAFscjSV.js} +4 -3
- package/dist/styles-BAFscjSV.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/svgTransforms-C9njt92h.js +89 -0
- package/dist/svgTransforms-C9njt92h.js.map +1 -0
- package/dist/testing.js +4 -3
- package/dist/testing.js.map +1 -1
- package/dist/{themeTokens-BNg98Mu9.js → themeTokens-D70HeNVF.js} +13 -6
- package/dist/{themeTokens-BNg98Mu9.js.map → themeTokens-D70HeNVF.js.map} +1 -1
- package/dist/{toast-CjkURw0M.js → toast-DIC0iNRf.js} +3 -3
- package/dist/toast-DIC0iNRf.js.map +1 -0
- package/dist/types-BPcAjMG0.d.ts +10 -0
- package/dist/{useColorSchemeState-CYqcUfSH.js → useColorSchemeState-klihG9-i.js} +2 -2
- package/dist/{useColorSchemeState-CYqcUfSH.js.map → useColorSchemeState-klihG9-i.js.map} +1 -1
- package/dist/{utils-D0c5VAyF.js → utils-B5Z52hYs.js} +2 -2
- package/dist/{utils-D0c5VAyF.js.map → utils-B5Z52hYs.js.map} +1 -1
- package/dist/vega.d.ts +46 -0
- package/dist/vega.js +26 -0
- package/dist/vega.js.map +1 -0
- package/dist/vegaTheme-DfoEQhOy.js +146 -0
- package/dist/vegaTheme-DfoEQhOy.js.map +1 -0
- package/package.json +28 -9
- package/src/styles.css +27 -4
- package/dist/AIKit-DiS0CVOW.js.map +0 -1
- package/dist/AppShell-B5GQN6Zs.js.map +0 -1
- package/dist/Button-6xBX0nNl.js.map +0 -1
- package/dist/CodeEditor-DyaN-Ij2.js.map +0 -1
- package/dist/Combobox-Dgm6Z4ib.js.map +0 -1
- package/dist/DiagramSkeleton-lwBS2YBa.js.map +0 -1
- package/dist/MarkedText-Ckbft5mw.js +0 -44
- package/dist/MarkedText-Ckbft5mw.js.map +0 -1
- package/dist/MermaidDiagram-ChL3WIQT.js.map +0 -1
- package/dist/Modal-wqG8nJiK.js.map +0 -1
- package/dist/Popover-CzeHjvrB.js.map +0 -1
- package/dist/Select-Is0VkePH.js.map +0 -1
- package/dist/ThemeProvider-QncUrfJn.js.map +0 -1
- package/dist/context-KxxeMHbR.js.map +0 -1
- package/dist/escapeStringRegexp-8MxP2knR.js +0 -6
- package/dist/escapeStringRegexp-8MxP2knR.js.map +0 -1
- package/dist/styles-DSUP_-9Z.js.map +0 -1
- package/dist/toast-CjkURw0M.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { BrandId,
|
|
1
|
+
import { BrandId, ColorScheme, ResolvedColorScheme, Theme, Tokens } from "./types-BPcAjMG0.js";
|
|
2
|
+
import { ChangeClassification, DiffChunk, FieldItemProps, MergeConflict } from "./FieldItem-vhIJW4pj.js";
|
|
2
3
|
import { LucideIcon } from "./index-m-kQEWiY.js";
|
|
3
4
|
import { Slot, Slot as Slot$1 } from "@radix-ui/react-slot";
|
|
4
5
|
import * as React$2 from "react";
|
|
@@ -6,7 +7,6 @@ import React$1, { ButtonHTMLAttributes, CSSProperties, ChangeEvent, ComponentPro
|
|
|
6
7
|
import { ClassValue } from "clsx";
|
|
7
8
|
import { Content, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-tooltip";
|
|
8
9
|
import { VariantProps } from "class-variance-authority";
|
|
9
|
-
import { Brand, Brand as Brand$1, brandSchema, exampleCustomer, keboola, keboolaLegacySidebar, keboolaLegacyTopnav } from "@keboola/brand-registry";
|
|
10
10
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
11
11
|
import { Group, Root as Root$2, Trigger as Trigger$2 } from "@radix-ui/react-dropdown-menu";
|
|
12
12
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
@@ -16,7 +16,7 @@ import { LabelProps } from "@radix-ui/react-label";
|
|
|
16
16
|
import { Content as Content$1, Portal as Portal$1, Root as Root$4, Trigger as Trigger$3 } from "@radix-ui/react-alert-dialog";
|
|
17
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";
|
|
18
18
|
import * as RSeparator from "@radix-ui/react-separator";
|
|
19
|
-
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";
|
|
20
20
|
import { Content as Content$4, Root as Root$7, Trigger as Trigger$6 } from "@radix-ui/react-hover-card";
|
|
21
21
|
import { Command as Command$1, defaultFilter, useCommandState } from "cmdk";
|
|
22
22
|
import TextareaAutosize from "react-textarea-autosize";
|
|
@@ -29,9 +29,11 @@ import { CheckedState, Root as Root$11 } from "@radix-ui/react-checkbox";
|
|
|
29
29
|
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
30
30
|
import { AnyFormApi } from "@tanstack/react-form";
|
|
31
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";
|
|
32
33
|
import { Root as Root$12 } from "@radix-ui/react-progress";
|
|
33
34
|
import { CollapsibleTrigger, Content as Content$5, Root as Root$13 } from "@radix-ui/react-collapsible";
|
|
34
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";
|
|
35
37
|
import { Group as Group$1, Panel as ResizablePanel, PanelImperativeHandle, Separator as Separator$1, useDefaultLayout } from "react-resizable-panels";
|
|
36
38
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
37
39
|
//#region src/components/Button/styles.d.ts
|
|
@@ -54,7 +56,7 @@ declare const argoVariants: (props?: ({
|
|
|
54
56
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
55
57
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
56
58
|
*/
|
|
57
|
-
type Props$
|
|
59
|
+
type Props$262 = {
|
|
58
60
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
59
61
|
isLoading?: boolean;
|
|
60
62
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -73,31 +75,31 @@ type Props$260 = {
|
|
|
73
75
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
74
76
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
75
77
|
*/
|
|
76
|
-
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;
|
|
77
79
|
//#endregion
|
|
78
80
|
//#region src/components/Button/ButtonInline.d.ts
|
|
79
81
|
declare const buttonInlineVariants: (props?: ({
|
|
80
82
|
color?: "custom" | "danger" | "dark" | "link" | "muted" | null | undefined;
|
|
81
83
|
variant?: "custom" | "link" | "link-reverse" | null | undefined;
|
|
82
84
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
83
|
-
type Props$
|
|
85
|
+
type Props$261 = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
84
86
|
asChild?: boolean;
|
|
85
87
|
};
|
|
86
|
-
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;
|
|
87
89
|
//#endregion
|
|
88
90
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
89
91
|
declare const buttonGroupVariant: (props?: ({
|
|
90
92
|
variant?: "block" | "inline" | null | undefined;
|
|
91
93
|
space?: "compact" | "extra-small" | "large" | "little-small" | "medium" | "small" | null | undefined;
|
|
92
94
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
93
|
-
type Props$
|
|
95
|
+
type Props$260 = {
|
|
94
96
|
children: ReactNode;
|
|
95
97
|
className?: string;
|
|
96
98
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
97
|
-
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;
|
|
98
100
|
//#endregion
|
|
99
101
|
//#region src/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
100
|
-
type Props$
|
|
102
|
+
type Props$259 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
101
103
|
/**
|
|
102
104
|
* Fix for `autoFocus` on inputs not working correctly in modals.
|
|
103
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.
|
|
@@ -109,22 +111,22 @@ type Props$257 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
|
109
111
|
isLoading?: boolean;
|
|
110
112
|
iconClassName?: string;
|
|
111
113
|
};
|
|
112
|
-
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;
|
|
113
115
|
//#endregion
|
|
114
116
|
//#region src/blocks/SplitButton/SplitButton.d.ts
|
|
115
|
-
type Variant$
|
|
117
|
+
type Variant$9 = ComponentProps<typeof Button>['variant'];
|
|
116
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
117
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
118
|
-
type Props$
|
|
120
|
+
type Props$258 = {
|
|
119
121
|
actions?: ReactNode;
|
|
120
122
|
isActionsOpen?: boolean;
|
|
121
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
122
124
|
/** Optional leading-icon slot — pass a Lucide icon node. */
|
|
123
125
|
icon?: ReactNode;
|
|
124
|
-
variant?: Exclude<Variant$
|
|
126
|
+
variant?: Exclude<Variant$9, 'inline' | 'invisible'>;
|
|
125
127
|
size?: SpitButtonSize;
|
|
126
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
127
|
-
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;
|
|
128
130
|
declare const SplitButton: typeof SplitButtonBase & {
|
|
129
131
|
Action: typeof DropdownMenuItem;
|
|
130
132
|
Actions: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -134,21 +136,21 @@ declare const SplitButton: typeof SplitButtonBase & {
|
|
|
134
136
|
declare const tooltipVariants: (props?: ({
|
|
135
137
|
variant?: "action" | "explanatory" | null | undefined;
|
|
136
138
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
137
|
-
type Props$
|
|
139
|
+
type Props$257 = {
|
|
138
140
|
keepOpenOnPointerDownOutside?: boolean;
|
|
139
141
|
placement?: ComponentProps<typeof Content>['side'];
|
|
140
142
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
141
|
-
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;
|
|
142
144
|
//#endregion
|
|
143
145
|
//#region src/components/Tooltip/TooltipRoot.d.ts
|
|
144
|
-
type Props$
|
|
145
|
-
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;
|
|
146
148
|
//#endregion
|
|
147
149
|
//#region src/components/Tooltip/TooltipTrigger.d.ts
|
|
148
|
-
type Props$
|
|
150
|
+
type Props$255 = {
|
|
149
151
|
keepOpenOnClick?: boolean;
|
|
150
152
|
} & ComponentProps<typeof Trigger$1>;
|
|
151
|
-
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;
|
|
152
154
|
//#endregion
|
|
153
155
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
154
156
|
type TriggerProps$1 = {
|
|
@@ -158,7 +160,7 @@ type TriggerProps$1 = {
|
|
|
158
160
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
159
161
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
160
162
|
*/
|
|
161
|
-
type Props$
|
|
163
|
+
type Props$8 = {
|
|
162
164
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
163
165
|
keepOpenOnTriggerClick?: boolean;
|
|
164
166
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -175,7 +177,7 @@ type Props$7 = {
|
|
|
175
177
|
} & TriggerProps$1 & Pick<ComponentProps<typeof TooltipContent>, 'variant' | 'className'>;
|
|
176
178
|
/** Re-export of Radix `Tooltip.Provider`. Mount once at the app root so tooltips share delay state. */
|
|
177
179
|
declare const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
178
|
-
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;
|
|
179
181
|
declare namespace Tooltip {
|
|
180
182
|
export { TooltipRoot as Root };
|
|
181
183
|
export { TooltipContent as Content };
|
|
@@ -183,7 +185,7 @@ declare namespace Tooltip {
|
|
|
183
185
|
}
|
|
184
186
|
//#endregion
|
|
185
187
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButton.d.ts
|
|
186
|
-
type Props$
|
|
188
|
+
type Props$254 = {
|
|
187
189
|
disabled?: boolean;
|
|
188
190
|
icon: ReactNode;
|
|
189
191
|
isLoading?: boolean;
|
|
@@ -193,13 +195,13 @@ type Props$252 = {
|
|
|
193
195
|
tooltipVariant?: ComponentProps<typeof Tooltip>['variant'];
|
|
194
196
|
'data-testid'?: string;
|
|
195
197
|
};
|
|
196
|
-
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;
|
|
197
199
|
//#endregion
|
|
198
200
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.d.ts
|
|
199
|
-
type Props$
|
|
201
|
+
type Props$253 = {
|
|
200
202
|
className?: string;
|
|
201
203
|
} & PropsWithChildren;
|
|
202
|
-
declare function MultiActionButtonGroup({ children, className }: Props$
|
|
204
|
+
declare function MultiActionButtonGroup({ children, className }: Props$253): import("react/jsx-runtime").JSX.Element;
|
|
203
205
|
declare namespace MultiActionButtonGroup {
|
|
204
206
|
export { MultiActionButton as Button };
|
|
205
207
|
}
|
|
@@ -211,12 +213,12 @@ declare const toggleVariants: (props?: ({
|
|
|
211
213
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
212
214
|
iconOnly?: boolean | null | undefined;
|
|
213
215
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
214
|
-
type Props$
|
|
216
|
+
type Props$252 = {
|
|
215
217
|
icon?: ReactNode;
|
|
216
218
|
badge?: ReactNode;
|
|
217
219
|
orientation?: 'horizontal' | 'vertical';
|
|
218
220
|
} & ComponentProps<typeof Root$3> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
219
|
-
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;
|
|
220
222
|
//#endregion
|
|
221
223
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
222
224
|
declare const rootVariants: (props?: ({
|
|
@@ -236,30 +238,30 @@ declare const ToggleGroup: typeof Root$19 & {
|
|
|
236
238
|
};
|
|
237
239
|
//#endregion
|
|
238
240
|
//#region src/components/Clipboard/Clipboard.d.ts
|
|
239
|
-
type Props$
|
|
240
|
-
tooltip?: Props$
|
|
241
|
-
tooltipPlacement?: Props$
|
|
242
|
-
tooltipVariant?: Props$
|
|
243
|
-
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'];
|
|
244
246
|
text?: string | (() => string);
|
|
245
247
|
} & ComponentProps<'button'>;
|
|
246
|
-
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;
|
|
247
249
|
//#endregion
|
|
248
250
|
//#region src/blocks/ClipboardButton/ClipboardButton.d.ts
|
|
249
251
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
250
252
|
type ButtonProps$4 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
251
|
-
type Props$
|
|
253
|
+
type Props$250 = ClipboardProps$1 & ButtonProps$4 & {
|
|
252
254
|
icon?: ReactNode;
|
|
253
255
|
};
|
|
254
|
-
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;
|
|
255
257
|
//#endregion
|
|
256
258
|
//#region src/blocks/ClipboardButton/ClipboardInline.d.ts
|
|
257
259
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
258
260
|
type ButtonProps$3 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
259
|
-
type Props$
|
|
261
|
+
type Props$249 = {
|
|
260
262
|
hideIcon?: boolean;
|
|
261
263
|
} & ClipboardProps & ButtonProps$3;
|
|
262
|
-
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;
|
|
263
265
|
//#endregion
|
|
264
266
|
//#region src/blocks/ExportMenu/ExportMenu.d.ts
|
|
265
267
|
type ExportMenuItem = {
|
|
@@ -267,11 +269,17 @@ type ExportMenuItem = {
|
|
|
267
269
|
label: string;
|
|
268
270
|
onSelect: () => void;
|
|
269
271
|
};
|
|
270
|
-
type Props$
|
|
272
|
+
type Props$248 = {
|
|
271
273
|
items: ExportMenuItem[];
|
|
272
274
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
273
275
|
label: string;
|
|
274
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';
|
|
275
283
|
};
|
|
276
284
|
/**
|
|
277
285
|
* Download-icon trigger with a menu of export formats.
|
|
@@ -283,7 +291,7 @@ type Props$246 = {
|
|
|
283
291
|
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
284
292
|
* boundary. Callers already paying for the barrel inject this instead.
|
|
285
293
|
*/
|
|
286
|
-
declare const ExportMenu: ({ items, label, size }: Props$
|
|
294
|
+
declare const ExportMenu: ({ items, label, size, variant }: Props$248) => import("react/jsx-runtime").JSX.Element;
|
|
287
295
|
//#endregion
|
|
288
296
|
//#region src/blocks/CopyField/CopyBox.d.ts
|
|
289
297
|
type CopyBoxProps = {
|
|
@@ -480,11 +488,11 @@ declare const LABELS$1: {
|
|
|
480
488
|
readonly signup: 'Sign up with Microsoft';
|
|
481
489
|
readonly continue: 'Continue with Microsoft';
|
|
482
490
|
};
|
|
483
|
-
type Props$
|
|
491
|
+
type Props$247 = ComponentPropsWithRef<'button'> & {
|
|
484
492
|
label?: keyof typeof LABELS$1;
|
|
485
493
|
isLoading?: boolean;
|
|
486
494
|
};
|
|
487
|
-
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;
|
|
488
496
|
//#endregion
|
|
489
497
|
//#region src/blocks/GoogleButton/GoogleButton.d.ts
|
|
490
498
|
declare const LABELS: {
|
|
@@ -498,15 +506,15 @@ declare const variants$6: (props?: ({
|
|
|
498
506
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
499
507
|
size?: "default" | "icon" | null | undefined;
|
|
500
508
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
501
|
-
type Props$
|
|
509
|
+
type Props$246 = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$6> & {
|
|
502
510
|
label?: keyof typeof LABELS;
|
|
503
511
|
isLoading?: boolean;
|
|
504
512
|
};
|
|
505
|
-
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;
|
|
506
514
|
//#endregion
|
|
507
515
|
//#region src/components/Link.d.ts
|
|
508
|
-
type Props$
|
|
509
|
-
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;
|
|
510
518
|
//#endregion
|
|
511
519
|
//#region src/components/AlertModal/variant.d.ts
|
|
512
520
|
/**
|
|
@@ -516,7 +524,7 @@ declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }
|
|
|
516
524
|
type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
517
525
|
//#endregion
|
|
518
526
|
//#region src/components/AlertModal/AlertModalContent.d.ts
|
|
519
|
-
type Props$
|
|
527
|
+
type Props$244 = {
|
|
520
528
|
variant?: AlertModalVariant;
|
|
521
529
|
icon?: ReactNode;
|
|
522
530
|
title?: ReactNode;
|
|
@@ -526,23 +534,23 @@ type Props$242 = {
|
|
|
526
534
|
confirmDisabled?: boolean;
|
|
527
535
|
container?: ComponentProps<typeof Portal$1>['container'];
|
|
528
536
|
} & Omit<ComponentProps<typeof Content$1>, 'title'>;
|
|
529
|
-
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;
|
|
530
538
|
//#endregion
|
|
531
539
|
//#region src/components/AlertModal/AlertModalTrigger.d.ts
|
|
532
|
-
type Props$
|
|
533
|
-
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;
|
|
534
542
|
//#endregion
|
|
535
543
|
//#region src/components/AlertModal/AlertModal.d.ts
|
|
536
544
|
type ConfirmHandler = (event: MouseEvent<HTMLButtonElement>) => void | Promise<unknown>;
|
|
537
545
|
type CancelHandler = (event: MouseEvent<HTMLButtonElement>) => void;
|
|
538
|
-
type Props$
|
|
546
|
+
type Props$242 = {
|
|
539
547
|
onConfirm?: ConfirmHandler;
|
|
540
548
|
onCancel?: CancelHandler;
|
|
541
549
|
skipAsyncWait?: boolean;
|
|
542
550
|
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
543
551
|
isLoading?: boolean;
|
|
544
552
|
} & ComponentProps<typeof Root$4>;
|
|
545
|
-
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;
|
|
546
554
|
declare namespace AlertModal {
|
|
547
555
|
export { AlertModalTrigger as Trigger };
|
|
548
556
|
export { AlertModalContent as Content };
|
|
@@ -550,27 +558,39 @@ declare namespace AlertModal {
|
|
|
550
558
|
//#endregion
|
|
551
559
|
//#region src/components/Modal/ModalBody.d.ts
|
|
552
560
|
/** Props for `Modal.Body`. Accepts all `<div>` attributes; `as="form"` is reserved for future use. */
|
|
553
|
-
type Props$
|
|
561
|
+
type Props$241 = ComponentProps<'div'> & {
|
|
554
562
|
as?: 'form';
|
|
555
563
|
};
|
|
556
564
|
/**
|
|
557
565
|
* Scrollable body slot for `Modal`. Place form fields, content blocks, or detail panels here.
|
|
558
566
|
* Takes available height inside `Modal.Content` and scrolls when content overflows.
|
|
559
567
|
*/
|
|
560
|
-
declare const ModalBody: ({ className, ...props }: Props$
|
|
568
|
+
declare const ModalBody: ({ className, ...props }: Props$241) => import("react/jsx-runtime").JSX.Element;
|
|
561
569
|
//#endregion
|
|
562
570
|
//#region src/components/Modal/ModalContent.d.ts
|
|
563
|
-
type Props$
|
|
571
|
+
type Props$240 = ComponentProps<typeof Content$2> & {
|
|
564
572
|
size?: 'small' | 'medium' | 'large';
|
|
565
573
|
};
|
|
566
|
-
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;
|
|
567
575
|
//#endregion
|
|
568
576
|
//#region src/components/Modal/ModalFooter.d.ts
|
|
569
|
-
type Props$
|
|
570
|
-
|
|
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;
|
|
571
591
|
//#endregion
|
|
572
592
|
//#region src/components/Modal/ModalHeader.d.ts
|
|
573
|
-
type Props$
|
|
593
|
+
type Props$238 = {
|
|
574
594
|
/** Status icon slot — `<Modal.Icon />` or `<Modal.Image />`. */
|
|
575
595
|
icon?: ReactNode;
|
|
576
596
|
/** Visible subtitle below the title (also fills `aria-describedby`). */
|
|
@@ -583,11 +603,11 @@ type Props$236 = {
|
|
|
583
603
|
hideCloseIcon?: boolean;
|
|
584
604
|
} & ComponentProps<'div'>;
|
|
585
605
|
/** Modal header: `[icon] | title (children) | actions + close` on row 1, `description` on row 2. */
|
|
586
|
-
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;
|
|
587
607
|
//#endregion
|
|
588
608
|
//#region src/components/Modal/ModalIcon.d.ts
|
|
589
609
|
type NamedColor = 'orange' | 'blue' | 'red' | 'green' | 'gray' | 'violet';
|
|
590
|
-
type Props$
|
|
610
|
+
type Props$237 = {
|
|
591
611
|
color: NamedColor | (string & {});
|
|
592
612
|
icon: ReactNode;
|
|
593
613
|
};
|
|
@@ -605,25 +625,25 @@ type Props$235 = {
|
|
|
605
625
|
* `blue` info, `gray` neutral, `violet` agent) to encode meaning; the palette stays fixed across
|
|
606
626
|
* brand themes.
|
|
607
627
|
*/
|
|
608
|
-
declare const ModalIcon: ({ color, icon }: Props$
|
|
628
|
+
declare const ModalIcon: ({ color, icon }: Props$237) => import("react/jsx-runtime").JSX.Element;
|
|
609
629
|
//#endregion
|
|
610
630
|
//#region src/components/Modal/ModalImage.d.ts
|
|
611
|
-
type Props$
|
|
631
|
+
type Props$236 = {
|
|
612
632
|
src: string;
|
|
613
633
|
/** Accessible alt text. Defaults to `""` (decorative) — provide it when the image carries meaning. */
|
|
614
634
|
alt?: string;
|
|
615
635
|
};
|
|
616
|
-
declare const ModalImage: ({ src, alt }: Props$
|
|
636
|
+
declare const ModalImage: ({ src, alt }: Props$236) => import("react/jsx-runtime").JSX.Element | null;
|
|
617
637
|
//#endregion
|
|
618
638
|
//#region src/components/Modal/ModalOverlay.d.ts
|
|
619
|
-
type Props$
|
|
639
|
+
type Props$235 = ComponentProps<typeof Overlay$1> & {
|
|
620
640
|
disableTransition?: boolean;
|
|
621
641
|
};
|
|
622
|
-
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$
|
|
642
|
+
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$235) => import("react/jsx-runtime").JSX.Element;
|
|
623
643
|
//#endregion
|
|
624
644
|
//#region src/components/Modal/Modal.d.ts
|
|
625
|
-
type Props$
|
|
626
|
-
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;
|
|
627
647
|
declare namespace Modal {
|
|
628
648
|
export { Close };
|
|
629
649
|
export { Trigger$4 as Trigger };
|
|
@@ -637,13 +657,13 @@ declare namespace Modal {
|
|
|
637
657
|
}
|
|
638
658
|
//#endregion
|
|
639
659
|
//#region src/components/FullScreenModal/FullScreenModalBody.d.ts
|
|
640
|
-
type Props$
|
|
641
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
660
|
+
type Props$233 = HTMLAttributes<HTMLDivElement>;
|
|
661
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$233 & {
|
|
642
662
|
ref?: Ref<HTMLDivElement>;
|
|
643
663
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
644
664
|
//#endregion
|
|
645
665
|
//#region src/components/FullScreenModal/FullScreenModalHeader.d.ts
|
|
646
|
-
type Props$
|
|
666
|
+
type Props$232 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
647
667
|
title: ReactNode;
|
|
648
668
|
titleClassName?: string;
|
|
649
669
|
titleWrapperClassName?: string;
|
|
@@ -652,17 +672,17 @@ type Props$230 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
652
672
|
onClose?: () => void;
|
|
653
673
|
showPreviousTitle?: boolean;
|
|
654
674
|
}>;
|
|
655
|
-
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;
|
|
656
676
|
//#endregion
|
|
657
677
|
//#region src/components/FullScreenModal/FullScreenModalRoot.d.ts
|
|
658
|
-
type Props$
|
|
678
|
+
type Props$231 = HTMLAttributes<HTMLDivElement> & {
|
|
659
679
|
children: ReactNode;
|
|
660
680
|
/** Lock body scroll when modal is open. Default: true */
|
|
661
681
|
lockBodyScroll?: boolean;
|
|
662
682
|
/** Callback when ESC key is pressed */
|
|
663
683
|
onEscapeKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
664
684
|
};
|
|
665
|
-
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;
|
|
666
686
|
//#endregion
|
|
667
687
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
668
688
|
declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
@@ -671,42 +691,42 @@ declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
|
671
691
|
};
|
|
672
692
|
//#endregion
|
|
673
693
|
//#region src/components/Sheet/SheetBody.d.ts
|
|
674
|
-
type Props$
|
|
675
|
-
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;
|
|
676
696
|
//#endregion
|
|
677
697
|
//#region src/components/Sheet/SheetContent.d.ts
|
|
678
698
|
declare const sheetContentVariants: (props?: ({
|
|
679
699
|
disableTransition?: boolean | null | undefined;
|
|
680
700
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
681
701
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
682
|
-
type Props$
|
|
702
|
+
type Props$229 = ComponentProps<typeof Content$2> & {
|
|
683
703
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
684
704
|
hideOverlay?: boolean;
|
|
685
705
|
keepOpenOnPointerDownOutside?: boolean;
|
|
686
706
|
} & VariantProps<typeof sheetContentVariants> & Pick<ComponentProps<typeof Portal$2>, 'container'>;
|
|
687
|
-
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;
|
|
688
708
|
//#endregion
|
|
689
709
|
//#region src/components/Sheet/SheetFooter.d.ts
|
|
690
|
-
type Props$
|
|
691
|
-
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;
|
|
692
712
|
//#endregion
|
|
693
713
|
//#region src/components/Sheet/SheetHeader.d.ts
|
|
694
|
-
type Props$
|
|
714
|
+
type Props$227 = {
|
|
695
715
|
title?: ReactNode;
|
|
696
716
|
description?: ReactNode;
|
|
697
717
|
hideCloseIcon?: boolean;
|
|
698
718
|
} & ComponentProps<'div'>;
|
|
699
|
-
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;
|
|
700
720
|
//#endregion
|
|
701
721
|
//#region src/components/Sheet/SheetTitle.d.ts
|
|
702
|
-
type Props$
|
|
722
|
+
type Props$226 = ComponentProps<typeof Title$1> & {
|
|
703
723
|
visuallyHidden?: boolean;
|
|
704
724
|
};
|
|
705
|
-
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$
|
|
725
|
+
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$226) => import("react/jsx-runtime").JSX.Element;
|
|
706
726
|
//#endregion
|
|
707
727
|
//#region src/components/Sheet/Sheet.d.ts
|
|
708
|
-
type Props$
|
|
709
|
-
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;
|
|
710
730
|
declare namespace Sheet {
|
|
711
731
|
export { Close };
|
|
712
732
|
export { Trigger$4 as Trigger };
|
|
@@ -722,12 +742,19 @@ declare const variants$5: (props?: ({
|
|
|
722
742
|
variant?: "argo" | "default" | null | undefined;
|
|
723
743
|
matchTriggerWidth?: boolean | null | undefined;
|
|
724
744
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
725
|
-
type Props$
|
|
726
|
-
|
|
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;
|
|
727
754
|
//#endregion
|
|
728
755
|
//#region src/components/Popover/Popover.d.ts
|
|
729
|
-
type Props$
|
|
730
|
-
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;
|
|
731
758
|
declare namespace Popover {
|
|
732
759
|
export { PopoverContent as Content };
|
|
733
760
|
export { Trigger$5 as Trigger };
|
|
@@ -744,8 +771,8 @@ type PopconfirmContextType = {
|
|
|
744
771
|
};
|
|
745
772
|
//#endregion
|
|
746
773
|
//#region src/components/Popconfirm/PopconfirmBody.d.ts
|
|
747
|
-
type Props$
|
|
748
|
-
declare const PopconfirmBody: (props: Props$
|
|
774
|
+
type Props$222 = ComponentProps<'div'>;
|
|
775
|
+
declare const PopconfirmBody: (props: Props$222) => import("react/jsx-runtime").JSX.Element;
|
|
749
776
|
//#endregion
|
|
750
777
|
//#region src/components/Popconfirm/PopconfirmCancel.d.ts
|
|
751
778
|
type SlotProps$5 = {
|
|
@@ -755,8 +782,8 @@ type ButtonProps$2 = {
|
|
|
755
782
|
asChild?: false;
|
|
756
783
|
children?: ReactNode;
|
|
757
784
|
} & Omit<ComponentProps<typeof Button>, 'children'>;
|
|
758
|
-
type Props$
|
|
759
|
-
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;
|
|
760
787
|
//#endregion
|
|
761
788
|
//#region src/components/Popconfirm/PopconfirmConfirm.d.ts
|
|
762
789
|
type SlotProps$4 = {
|
|
@@ -766,27 +793,27 @@ type ButtonProps$1 = {
|
|
|
766
793
|
asChild?: false;
|
|
767
794
|
children?: ReactNode;
|
|
768
795
|
} & Omit<ComponentProps<typeof Button>, 'children' | 'isLoading'>;
|
|
769
|
-
type Props$
|
|
770
|
-
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;
|
|
771
798
|
//#endregion
|
|
772
799
|
//#region src/components/Popconfirm/PopconfirmContent.d.ts
|
|
773
|
-
type Props$
|
|
774
|
-
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;
|
|
775
802
|
//#endregion
|
|
776
803
|
//#region src/components/Popconfirm/PopconfirmFooter.d.ts
|
|
777
|
-
type Props$
|
|
778
|
-
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;
|
|
779
806
|
//#endregion
|
|
780
807
|
//#region src/components/Popconfirm/PopconfirmTrigger.d.ts
|
|
781
|
-
type Props$
|
|
782
|
-
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;
|
|
783
810
|
//#endregion
|
|
784
811
|
//#region src/components/Popconfirm/Popconfirm.d.ts
|
|
785
|
-
type Props$
|
|
812
|
+
type Props$216 = {
|
|
786
813
|
children: ReactNode;
|
|
787
814
|
skipAsyncWait?: boolean;
|
|
788
815
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
789
|
-
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;
|
|
790
817
|
declare namespace Popconfirm {
|
|
791
818
|
export { PopconfirmConfirm as Confirm };
|
|
792
819
|
export { PopconfirmCancel as Cancel };
|
|
@@ -797,54 +824,54 @@ declare namespace Popconfirm {
|
|
|
797
824
|
}
|
|
798
825
|
//#endregion
|
|
799
826
|
//#region src/components/HoverCard/HoverCardContent.d.ts
|
|
800
|
-
type Props$
|
|
801
|
-
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;
|
|
802
829
|
//#endregion
|
|
803
830
|
//#region src/components/HoverCard/HoverCard.d.ts
|
|
804
|
-
type Props$
|
|
805
|
-
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;
|
|
806
833
|
declare namespace HoverCard {
|
|
807
834
|
export { HoverCardContent as Content };
|
|
808
835
|
export { Trigger$6 as Trigger };
|
|
809
836
|
}
|
|
810
837
|
//#endregion
|
|
811
838
|
//#region src/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts
|
|
812
|
-
type Props$
|
|
839
|
+
type Props$213 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
813
840
|
closeOnSelect?: boolean;
|
|
814
841
|
indicator?: 'switch' | 'checkbox' | 'check';
|
|
815
842
|
indicatorAlign?: 'start' | 'end';
|
|
816
843
|
isLoading?: boolean;
|
|
817
844
|
};
|
|
818
|
-
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;
|
|
819
846
|
//#endregion
|
|
820
847
|
//#region src/components/DropdownMenu/DropdownMenuContent.d.ts
|
|
821
|
-
type Props$
|
|
848
|
+
type Props$212 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
822
849
|
forceMount?: boolean;
|
|
823
850
|
viewPortClassName?: string;
|
|
824
851
|
container?: HTMLElement | null;
|
|
825
852
|
};
|
|
826
|
-
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;
|
|
827
854
|
//#endregion
|
|
828
855
|
//#region src/components/DropdownMenu/DropdownMenuItemDescription.d.ts
|
|
829
|
-
type Props$
|
|
856
|
+
type Props$211 = ComponentProps<'span'> & {
|
|
830
857
|
hideOnHover?: boolean;
|
|
831
858
|
};
|
|
832
|
-
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$
|
|
859
|
+
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$211) => import("react/jsx-runtime").JSX.Element;
|
|
833
860
|
//#endregion
|
|
834
861
|
//#region src/components/DropdownMenu/DropdownMenuLabel.d.ts
|
|
835
|
-
type Props$
|
|
836
|
-
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;
|
|
837
864
|
//#endregion
|
|
838
865
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.d.ts
|
|
839
|
-
type Props$
|
|
866
|
+
type Props$209<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
840
867
|
value?: Value;
|
|
841
868
|
defaultValue?: Value;
|
|
842
869
|
onValueChange?: (value: Value) => void;
|
|
843
870
|
};
|
|
844
|
-
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;
|
|
845
872
|
//#endregion
|
|
846
873
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.d.ts
|
|
847
|
-
type Props$
|
|
874
|
+
type Props$208 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
848
875
|
closeOnSelect?: boolean;
|
|
849
876
|
indicatorAlign?: 'start' | 'end';
|
|
850
877
|
indicator?: 'radio' | 'check' | 'none';
|
|
@@ -852,30 +879,30 @@ type Props$206 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
|
852
879
|
iconClassName?: string;
|
|
853
880
|
isLoading?: boolean;
|
|
854
881
|
};
|
|
855
|
-
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;
|
|
856
883
|
//#endregion
|
|
857
884
|
//#region src/components/DropdownMenu/DropdownMenuSeparator.d.ts
|
|
858
|
-
type Props$
|
|
859
|
-
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;
|
|
860
887
|
//#endregion
|
|
861
888
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.d.ts
|
|
862
889
|
declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
863
890
|
//#endregion
|
|
864
891
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubContent.d.ts
|
|
865
|
-
type Props$
|
|
866
|
-
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;
|
|
867
894
|
//#endregion
|
|
868
895
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.d.ts
|
|
869
|
-
type Props$
|
|
870
|
-
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;
|
|
871
898
|
//#endregion
|
|
872
899
|
//#region src/components/DropdownMenu/DropdownMenuTrigger.d.ts
|
|
873
|
-
type Props$
|
|
874
|
-
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;
|
|
875
902
|
//#endregion
|
|
876
903
|
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
877
|
-
type Props$
|
|
878
|
-
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;
|
|
879
906
|
declare namespace DropdownMenu {
|
|
880
907
|
export { DropdownMenuTrigger as Trigger };
|
|
881
908
|
export { DropdownMenuContent as Content };
|
|
@@ -893,40 +920,40 @@ declare namespace DropdownMenu {
|
|
|
893
920
|
}
|
|
894
921
|
//#endregion
|
|
895
922
|
//#region src/blocks/Command/CommandContent.d.ts
|
|
896
|
-
type Props$
|
|
897
|
-
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;
|
|
898
925
|
//#endregion
|
|
899
926
|
//#region src/blocks/Command/CommandEmpty.d.ts
|
|
900
|
-
type Props$
|
|
901
|
-
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;
|
|
902
929
|
//#endregion
|
|
903
930
|
//#region src/blocks/Command/CommandGroup.d.ts
|
|
904
|
-
type Props$
|
|
905
|
-
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;
|
|
906
933
|
//#endregion
|
|
907
934
|
//#region src/components/InputGroup/InputGroupAddon.d.ts
|
|
908
935
|
declare const addonVariants$1: (props?: ({
|
|
909
936
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
910
937
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
911
|
-
type Props$
|
|
912
|
-
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;
|
|
913
940
|
//#endregion
|
|
914
941
|
//#region src/components/InputGroup/InputGroupButton.d.ts
|
|
915
942
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
916
|
-
type Props$
|
|
917
|
-
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;
|
|
918
945
|
//#endregion
|
|
919
946
|
//#region src/components/InputGroup/InputGroupInput.d.ts
|
|
920
|
-
type Props$
|
|
921
|
-
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;
|
|
922
949
|
//#endregion
|
|
923
950
|
//#region src/components/InputGroup/InputGroupText.d.ts
|
|
924
|
-
type Props$
|
|
925
|
-
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;
|
|
926
953
|
//#endregion
|
|
927
954
|
//#region src/components/InputGroup/InputGroupTextArea.d.ts
|
|
928
955
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof TextareaAutosize>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
929
|
-
type Props$
|
|
956
|
+
type Props$195 = TextareaNativeProps$1 & {
|
|
930
957
|
value?: string | null;
|
|
931
958
|
defaultValue?: string | null;
|
|
932
959
|
onValueChange?: (value: string) => void;
|
|
@@ -934,7 +961,7 @@ type Props$193 = TextareaNativeProps$1 & {
|
|
|
934
961
|
maxRows?: number | 'unlimited';
|
|
935
962
|
disableResize?: boolean;
|
|
936
963
|
};
|
|
937
|
-
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;
|
|
938
965
|
//#endregion
|
|
939
966
|
//#region src/components/InputGroup/InputGroup.d.ts
|
|
940
967
|
declare const inputGroupVariants: (props?: ({
|
|
@@ -943,10 +970,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
943
970
|
sizing?: "default" | "medium" | "small" | null | undefined;
|
|
944
971
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
945
972
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
946
|
-
type Props$
|
|
973
|
+
type Props$194 = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
947
974
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
948
975
|
};
|
|
949
|
-
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;
|
|
950
977
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
951
978
|
Input: typeof InputGroupInput;
|
|
952
979
|
Addon: typeof InputGroupAddon;
|
|
@@ -995,47 +1022,59 @@ type Props$3 = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pre
|
|
|
995
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;
|
|
996
1023
|
//#endregion
|
|
997
1024
|
//#region src/blocks/Command/CommandInput.d.ts
|
|
998
|
-
type Props$
|
|
999
|
-
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;
|
|
1000
1027
|
//#endregion
|
|
1001
1028
|
//#region src/blocks/Command/CommandItem/CheckIndicator.d.ts
|
|
1002
|
-
type Props$
|
|
1029
|
+
type Props$192 = {
|
|
1003
1030
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
1004
1031
|
};
|
|
1005
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
1032
|
+
declare const CheckIndicator: ({ variant }: Props$192) => import("react/jsx-runtime").JSX.Element | null;
|
|
1006
1033
|
//#endregion
|
|
1007
1034
|
//#region src/blocks/Command/CommandItem/CommandItem.d.ts
|
|
1008
|
-
type Props$
|
|
1035
|
+
type Props$191 = ComponentProps<typeof Command$1.Item> & {
|
|
1009
1036
|
icon?: ReactNode;
|
|
1010
1037
|
checked?: boolean;
|
|
1011
1038
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1012
1039
|
actions?: ReactNode;
|
|
1013
1040
|
};
|
|
1014
|
-
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;
|
|
1015
1042
|
//#endregion
|
|
1016
1043
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
1017
|
-
type Props$
|
|
1044
|
+
type Props$190 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1018
1045
|
viewPortClassName?: string;
|
|
1019
1046
|
scrollBarClassName?: string;
|
|
1020
1047
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1021
1048
|
};
|
|
1022
|
-
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;
|
|
1023
1050
|
//#endregion
|
|
1024
1051
|
//#region src/components/ScrollArea/ScrollBar.d.ts
|
|
1025
|
-
type Props$
|
|
1026
|
-
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;
|
|
1027
1054
|
//#endregion
|
|
1028
1055
|
//#region src/blocks/Command/CommandList.d.ts
|
|
1029
|
-
type Props$
|
|
1030
|
-
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;
|
|
1031
1058
|
//#endregion
|
|
1032
1059
|
//#region src/blocks/Command/CommandSeparator.d.ts
|
|
1033
|
-
type Props$
|
|
1034
|
-
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;
|
|
1035
1062
|
//#endregion
|
|
1036
1063
|
//#region src/blocks/Command/Command.d.ts
|
|
1037
|
-
type
|
|
1038
|
-
|
|
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;
|
|
1039
1078
|
declare namespace Command {
|
|
1040
1079
|
export { CommandContent as Content };
|
|
1041
1080
|
export { CommandSeparator as Separator };
|
|
@@ -1066,7 +1105,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1066
1105
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1067
1106
|
//#endregion
|
|
1068
1107
|
//#region src/components/SpotlightBackdrop/SpotlightBackdrop.d.ts
|
|
1069
|
-
type Props$
|
|
1108
|
+
type Props$185 = {
|
|
1070
1109
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1071
1110
|
rect: TargetRect | null;
|
|
1072
1111
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1088,7 +1127,7 @@ type Props$183 = {
|
|
|
1088
1127
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1089
1128
|
* "Guided tour (recipe)" story for the composition.
|
|
1090
1129
|
*/
|
|
1091
|
-
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;
|
|
1092
1131
|
//#endregion
|
|
1093
1132
|
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/types.d.ts
|
|
1094
1133
|
/**
|
|
@@ -3485,16 +3524,16 @@ declare namespace DateRangePicker {
|
|
|
3485
3524
|
}
|
|
3486
3525
|
//#endregion
|
|
3487
3526
|
//#region src/components/TimePicker/TimePicker.d.ts
|
|
3488
|
-
type Props$
|
|
3527
|
+
type Props$184 = {
|
|
3489
3528
|
children?: ReactNode;
|
|
3490
3529
|
defaultSelected?: string | null;
|
|
3491
3530
|
selected?: string | null;
|
|
3492
3531
|
onSelect?: (time: string) => void;
|
|
3493
3532
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3494
|
-
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;
|
|
3495
3534
|
//#endregion
|
|
3496
3535
|
//#region src/components/Label/Label.d.ts
|
|
3497
|
-
type Props$
|
|
3536
|
+
type Props$183 = {
|
|
3498
3537
|
id?: string | number;
|
|
3499
3538
|
htmlFor?: string | number;
|
|
3500
3539
|
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
@@ -3510,7 +3549,7 @@ declare const Optional: ({ className, ...props }: ComponentPropsWithRef<'span'>)
|
|
|
3510
3549
|
* `aria-required` (or `required`) on the associated control.
|
|
3511
3550
|
*/
|
|
3512
3551
|
declare const Required: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react/jsx-runtime").JSX.Element;
|
|
3513
|
-
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;
|
|
3514
3553
|
declare namespace Label {
|
|
3515
3554
|
export { Optional };
|
|
3516
3555
|
export { Required };
|
|
@@ -3528,14 +3567,14 @@ declare const switchVariants: (props?: ({
|
|
|
3528
3567
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3529
3568
|
//#endregion
|
|
3530
3569
|
//#region src/components/Switch/Switch.d.ts
|
|
3531
|
-
type Props$
|
|
3570
|
+
type Props$182 = {
|
|
3532
3571
|
id?: string | number;
|
|
3533
3572
|
children?: ReactNode;
|
|
3534
3573
|
description?: ReactNode;
|
|
3535
3574
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3536
3575
|
position?: 'start' | 'end';
|
|
3537
3576
|
} & Omit<ComponentProps<typeof Root$8>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
3538
|
-
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;
|
|
3539
3578
|
//#endregion
|
|
3540
3579
|
//#region src/components/RadioGroup/context.d.ts
|
|
3541
3580
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
@@ -3543,52 +3582,52 @@ type Orientation = 'vertical' | 'horizontal';
|
|
|
3543
3582
|
//#endregion
|
|
3544
3583
|
//#region src/components/RadioGroup/RadioGroupItem.d.ts
|
|
3545
3584
|
type ItemProps = Omit<ComponentProps<typeof Item>, 'asChild' | 'value'>;
|
|
3546
|
-
type Props$
|
|
3585
|
+
type Props$181<T extends string = string> = ItemProps & {
|
|
3547
3586
|
value: T;
|
|
3548
3587
|
tooltip?: ReactNode;
|
|
3549
|
-
tooltipVariant?: Props$
|
|
3550
|
-
tooltipPlacement?: Props$
|
|
3588
|
+
tooltipVariant?: Props$8['variant'];
|
|
3589
|
+
tooltipPlacement?: Props$8['placement'];
|
|
3551
3590
|
description?: ReactNode;
|
|
3552
3591
|
};
|
|
3553
|
-
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;
|
|
3554
3593
|
//#endregion
|
|
3555
3594
|
//#region src/components/RadioGroup/RadioGroupSeparator.d.ts
|
|
3556
3595
|
declare const RadioGroupSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
3557
3596
|
//#endregion
|
|
3558
3597
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3559
|
-
type Props$
|
|
3598
|
+
type Props$180<Value> = {
|
|
3560
3599
|
variant?: Variant$7;
|
|
3561
3600
|
orientation?: Orientation;
|
|
3562
3601
|
onValueChange?: (value: Value) => void;
|
|
3563
3602
|
value?: Value | null;
|
|
3564
3603
|
defaultValue?: Value | null;
|
|
3565
3604
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
3566
|
-
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;
|
|
3567
3606
|
declare namespace RadioGroup {
|
|
3568
3607
|
export { RadioGroupItem as Item };
|
|
3569
3608
|
export { RadioGroupSeparator as Separator };
|
|
3570
3609
|
}
|
|
3571
3610
|
//#endregion
|
|
3572
3611
|
//#region src/components/Slider/SliderThumb.d.ts
|
|
3573
|
-
type Props$
|
|
3612
|
+
type Props$179 = ComponentProps<typeof Thumb$1> & {
|
|
3574
3613
|
tooltip?: ReactNode;
|
|
3575
3614
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
3576
3615
|
};
|
|
3577
|
-
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;
|
|
3578
3617
|
//#endregion
|
|
3579
3618
|
//#region src/components/Slider/Slider.d.ts
|
|
3580
3619
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
3581
|
-
type Props$
|
|
3620
|
+
type Props$178 = ComponentProps<typeof Root$9> & {
|
|
3582
3621
|
thumbTooltip?: ThumbTooltipFn;
|
|
3583
3622
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
3584
3623
|
rangeClassName?: string;
|
|
3585
3624
|
};
|
|
3586
|
-
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;
|
|
3587
3626
|
//#endregion
|
|
3588
3627
|
//#region src/components/Search/Search.d.ts
|
|
3589
3628
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent<HTMLButtonElement>) => void;
|
|
3590
3629
|
type SearchBlurEventHandler = (value: string, event: FocusEvent<HTMLInputElement, Element>) => void;
|
|
3591
|
-
type Props$
|
|
3630
|
+
type Props$177 = {
|
|
3592
3631
|
suffix?: ReactNode;
|
|
3593
3632
|
disableDebounce?: boolean;
|
|
3594
3633
|
debounceDelay?: number;
|
|
@@ -3603,19 +3642,19 @@ type Props$175 = {
|
|
|
3603
3642
|
/**
|
|
3604
3643
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
3605
3644
|
*/
|
|
3606
|
-
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;
|
|
3607
3646
|
//#endregion
|
|
3608
3647
|
//#region src/components/Search/SearchForm.d.ts
|
|
3609
|
-
type Props$
|
|
3648
|
+
type Props$176 = {
|
|
3610
3649
|
onSubmit: (value: string) => void;
|
|
3611
3650
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
3612
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
3651
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$176) => import("react/jsx-runtime").JSX.Element;
|
|
3613
3652
|
//#endregion
|
|
3614
3653
|
//#region src/components/Select/SelectContent.d.ts
|
|
3615
3654
|
/**
|
|
3616
3655
|
* Props for `Select.Content`. `container` portals the listbox into a custom element (useful inside modals).
|
|
3617
3656
|
*/
|
|
3618
|
-
type Props$
|
|
3657
|
+
type Props$175 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
3619
3658
|
container?: HTMLElement | null;
|
|
3620
3659
|
};
|
|
3621
3660
|
/**
|
|
@@ -3623,21 +3662,22 @@ type Props$173 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
|
3623
3662
|
* Normally rendered implicitly by `Select`; use directly only when composing custom item layouts via
|
|
3624
3663
|
* the `Select.Root` / `Select.Trigger` / `Select.Content` compound parts.
|
|
3625
3664
|
*/
|
|
3626
|
-
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;
|
|
3627
3666
|
//#endregion
|
|
3628
3667
|
//#region src/components/Select/SelectGroup.d.ts
|
|
3629
|
-
type Props$
|
|
3630
|
-
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;
|
|
3631
3670
|
//#endregion
|
|
3632
3671
|
//#region src/components/Select/SelectItem.d.ts
|
|
3633
|
-
type Props$
|
|
3672
|
+
type Props$173 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3634
3673
|
icon?: ReactNode;
|
|
3674
|
+
hint?: ReactNode;
|
|
3635
3675
|
};
|
|
3636
|
-
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;
|
|
3637
3677
|
//#endregion
|
|
3638
3678
|
//#region src/components/Select/SelectLabel.d.ts
|
|
3639
|
-
type Props$
|
|
3640
|
-
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;
|
|
3641
3681
|
//#endregion
|
|
3642
3682
|
//#region src/components/Select/SelectRoot.d.ts
|
|
3643
3683
|
type SelectRootProps = {
|
|
@@ -3658,20 +3698,22 @@ type SelectRootProps = {
|
|
|
3658
3698
|
declare const SelectRoot: (props: SelectRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
3659
3699
|
//#endregion
|
|
3660
3700
|
//#region src/components/Select/SelectSeparator.d.ts
|
|
3661
|
-
type Props$
|
|
3662
|
-
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;
|
|
3663
3703
|
//#endregion
|
|
3664
3704
|
//#region src/components/Select/SelectTrigger.d.ts
|
|
3665
|
-
type Props$
|
|
3705
|
+
type Props$170 = ComponentProps<typeof SelectPrimitive.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
3666
3706
|
variant?: Exclude<VariantProps<typeof overlayTriggerVariants>['variant'], 'argo'> | 'inline';
|
|
3667
3707
|
} & Pick<ComponentProps<typeof SelectPrimitive.Value>, 'placeholder'>;
|
|
3668
|
-
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;
|
|
3669
3709
|
//#endregion
|
|
3670
3710
|
//#region src/components/Select/Select.d.ts
|
|
3671
3711
|
type SelectItem = {
|
|
3672
3712
|
value: string;
|
|
3673
3713
|
label: ReactNode;
|
|
3674
3714
|
icon?: ReactNode;
|
|
3715
|
+
/** Trailing muted note shown in the listbox only — never in the trigger. */
|
|
3716
|
+
hint?: ReactNode;
|
|
3675
3717
|
disabled?: boolean;
|
|
3676
3718
|
};
|
|
3677
3719
|
type SelectItemGroup = {
|
|
@@ -3679,10 +3721,10 @@ type SelectItemGroup = {
|
|
|
3679
3721
|
items: readonly SelectItem[];
|
|
3680
3722
|
};
|
|
3681
3723
|
type TriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
3682
|
-
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'> & {
|
|
3683
3725
|
items?: readonly (SelectItem | SelectItemGroup)[];
|
|
3684
3726
|
};
|
|
3685
|
-
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;
|
|
3686
3728
|
declare namespace Select {
|
|
3687
3729
|
export { SelectRoot as Root };
|
|
3688
3730
|
export { SelectTrigger as Trigger };
|
|
@@ -3694,19 +3736,19 @@ declare namespace Select {
|
|
|
3694
3736
|
}
|
|
3695
3737
|
//#endregion
|
|
3696
3738
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
3697
|
-
type Props$
|
|
3739
|
+
type Props$168 = {
|
|
3698
3740
|
id?: string | number;
|
|
3699
3741
|
description?: ReactNode;
|
|
3700
3742
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3701
3743
|
position?: 'start' | 'end';
|
|
3702
|
-
tooltip?: Props$
|
|
3703
|
-
tooltipPlacement?: Props$
|
|
3744
|
+
tooltip?: Props$8['tooltip'];
|
|
3745
|
+
tooltipPlacement?: Props$8['placement'];
|
|
3704
3746
|
} & Omit<ComponentProps<typeof Root$11>, 'id'>;
|
|
3705
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3747
|
+
declare function Checkbox(prop: Omit<Props$168, 'checked' | 'onCheckedChange'> & {
|
|
3706
3748
|
checked?: boolean;
|
|
3707
3749
|
onCheckedChange?: (checked: boolean) => void;
|
|
3708
3750
|
}): ReactNode;
|
|
3709
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3751
|
+
declare function Checkbox(prop: Omit<Props$168, 'checked' | 'onCheckedChange'> & {
|
|
3710
3752
|
checked?: CheckedState;
|
|
3711
3753
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
3712
3754
|
}): ReactNode;
|
|
@@ -3716,18 +3758,18 @@ declare const addonVariants: (props?: ({
|
|
|
3716
3758
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
3717
3759
|
variant?: "floating" | "inline" | null | undefined;
|
|
3718
3760
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3719
|
-
type Props$
|
|
3720
|
-
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;
|
|
3721
3763
|
//#endregion
|
|
3722
3764
|
//#region src/components/Badge/BadgeButton.d.ts
|
|
3723
|
-
type Props$
|
|
3724
|
-
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;
|
|
3725
3767
|
//#endregion
|
|
3726
3768
|
//#region src/components/Badge/BadgeLabel.d.ts
|
|
3727
|
-
type Props$
|
|
3769
|
+
type Props$165 = ComponentProps<'span'> & {
|
|
3728
3770
|
asChild?: boolean;
|
|
3729
3771
|
};
|
|
3730
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
3772
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$165) => import("react/jsx-runtime").JSX.Element;
|
|
3731
3773
|
//#endregion
|
|
3732
3774
|
//#region src/components/Badge/styles.d.ts
|
|
3733
3775
|
declare const badgeRootVariants: (props?: ({
|
|
@@ -3736,8 +3778,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
3736
3778
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3737
3779
|
//#endregion
|
|
3738
3780
|
//#region src/components/Badge/BadgeRoot.d.ts
|
|
3739
|
-
type Props$
|
|
3740
|
-
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;
|
|
3741
3783
|
//#endregion
|
|
3742
3784
|
//#region src/components/Badge/Badge.d.ts
|
|
3743
3785
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
@@ -3748,7 +3790,7 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
3748
3790
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
3749
3791
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
3750
3792
|
*/
|
|
3751
|
-
type Props$
|
|
3793
|
+
type Props$163 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
3752
3794
|
prefix?: ReactNode;
|
|
3753
3795
|
prefixVariant?: AddonVariant;
|
|
3754
3796
|
suffix?: ReactNode;
|
|
@@ -3766,7 +3808,7 @@ type Props$161 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProp
|
|
|
3766
3808
|
* **Composition:** drop into `PageHeader.Detail` `badges` slot, `Table.Cell`, or alongside titles in cards.
|
|
3767
3809
|
* Use `Badge.Button` for an interactive (clickable) badge variant.
|
|
3768
3810
|
*/
|
|
3769
|
-
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;
|
|
3770
3812
|
declare const Badge: typeof BadgeInner & {
|
|
3771
3813
|
Root: typeof BadgeRoot;
|
|
3772
3814
|
Button: typeof BadgeButton;
|
|
@@ -3777,13 +3819,20 @@ declare const Badge: typeof BadgeInner & {
|
|
|
3777
3819
|
//#region src/components/Combobox/ComboboxChips.d.ts
|
|
3778
3820
|
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
3779
3821
|
type BadgeVariant = ComponentProps<typeof Badge>['variant'];
|
|
3780
|
-
type Props$
|
|
3822
|
+
type Props$162<Value> = {
|
|
3781
3823
|
maxVisible?: number;
|
|
3782
3824
|
itemToChipLabel?: (item: Value) => ReactNode;
|
|
3783
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[];
|
|
3784
3833
|
variant?: BadgeVariant;
|
|
3785
3834
|
};
|
|
3786
|
-
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;
|
|
3787
3836
|
//#endregion
|
|
3788
3837
|
//#region src/components/Combobox/ComboboxContent.d.ts
|
|
3789
3838
|
type PortalProps = ComponentProps<typeof Combobox$1.Portal>;
|
|
@@ -3791,72 +3840,72 @@ type PositionerProps = ComponentProps<typeof Combobox$1.Positioner>;
|
|
|
3791
3840
|
type PopupProps = Omit<ComponentProps<typeof Combobox$1.Popup>, 'className'> & {
|
|
3792
3841
|
className?: string;
|
|
3793
3842
|
};
|
|
3794
|
-
type Props$
|
|
3795
|
-
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;
|
|
3796
3845
|
//#endregion
|
|
3797
3846
|
//#region src/components/Combobox/ComboboxEmpty.d.ts
|
|
3798
|
-
type Props$
|
|
3847
|
+
type Props$160 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3799
3848
|
className?: string;
|
|
3800
3849
|
};
|
|
3801
|
-
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$
|
|
3850
|
+
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$160) => import("react/jsx-runtime").JSX.Element;
|
|
3802
3851
|
//#endregion
|
|
3803
3852
|
//#region src/components/Combobox/ComboboxInput.d.ts
|
|
3804
|
-
type Props$
|
|
3805
|
-
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;
|
|
3806
3855
|
//#endregion
|
|
3807
3856
|
//#region src/components/Combobox/ComboboxInputGroup.d.ts
|
|
3808
3857
|
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
3809
|
-
type Props$
|
|
3858
|
+
type Props$158 = InputGroupProps$8 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
3810
3859
|
className?: string;
|
|
3811
3860
|
};
|
|
3812
|
-
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;
|
|
3813
3862
|
//#endregion
|
|
3814
3863
|
//#region src/components/Combobox/ComboboxItemIndicator.d.ts
|
|
3815
3864
|
type Variant$6 = 'check' | 'checkbox';
|
|
3816
|
-
type Props$
|
|
3865
|
+
type Props$157 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
3817
3866
|
className?: string;
|
|
3818
3867
|
variant?: Variant$6;
|
|
3819
3868
|
};
|
|
3820
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
3869
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$157) => import("react/jsx-runtime").JSX.Element;
|
|
3821
3870
|
//#endregion
|
|
3822
3871
|
//#region src/components/Combobox/ComboboxItem.d.ts
|
|
3823
|
-
type Props$
|
|
3872
|
+
type Props$156 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3824
3873
|
className?: string;
|
|
3825
3874
|
icon?: ReactNode;
|
|
3826
3875
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
3827
3876
|
};
|
|
3828
|
-
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;
|
|
3829
3878
|
//#endregion
|
|
3830
3879
|
//#region src/components/Combobox/ComboboxList.d.ts
|
|
3831
|
-
type Props$
|
|
3880
|
+
type Props$155 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3832
3881
|
className?: string;
|
|
3833
3882
|
};
|
|
3834
|
-
declare const ComboboxList: ({ ref, className, ...props }: Props$
|
|
3883
|
+
declare const ComboboxList: ({ ref, className, ...props }: Props$155) => import("react/jsx-runtime").JSX.Element;
|
|
3835
3884
|
//#endregion
|
|
3836
3885
|
//#region src/components/Combobox/ComboboxRoot.d.ts
|
|
3837
3886
|
declare const ComboboxRoot: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => import("react/jsx-runtime").JSX.Element;
|
|
3838
3887
|
//#endregion
|
|
3839
3888
|
//#region src/components/Combobox/ComboboxSeparator.d.ts
|
|
3840
|
-
type Props$
|
|
3889
|
+
type Props$154 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3841
3890
|
className?: string;
|
|
3842
3891
|
};
|
|
3843
|
-
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$
|
|
3892
|
+
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$154) => import("react/jsx-runtime").JSX.Element;
|
|
3844
3893
|
//#endregion
|
|
3845
3894
|
//#region src/components/Combobox/Group/ComboboxGroup.d.ts
|
|
3846
|
-
type Props$
|
|
3895
|
+
type Props$153 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3847
3896
|
className?: string;
|
|
3848
3897
|
};
|
|
3849
|
-
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$
|
|
3898
|
+
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$153) => import("react/jsx-runtime").JSX.Element;
|
|
3850
3899
|
//#endregion
|
|
3851
3900
|
//#region src/components/Combobox/Group/ComboboxGroupLabel.d.ts
|
|
3852
|
-
type Props$
|
|
3901
|
+
type Props$152 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3853
3902
|
className?: string;
|
|
3854
3903
|
};
|
|
3855
|
-
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$
|
|
3904
|
+
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$152) => import("react/jsx-runtime").JSX.Element;
|
|
3856
3905
|
//#endregion
|
|
3857
3906
|
//#region src/components/Combobox/Group/ComboboxCollection.d.ts
|
|
3858
|
-
type Props$
|
|
3859
|
-
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;
|
|
3860
3909
|
//#endregion
|
|
3861
3910
|
//#region src/components/Combobox/types.d.ts
|
|
3862
3911
|
type Group$2<Item = unknown> = {
|
|
@@ -3884,7 +3933,7 @@ type CreatableProps$1<Value> = {
|
|
|
3884
3933
|
*/
|
|
3885
3934
|
canCreate?: (query: string) => boolean;
|
|
3886
3935
|
};
|
|
3887
|
-
type Props$
|
|
3936
|
+
type Props$150<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
3888
3937
|
items?: readonly (Value | GroupShape)[];
|
|
3889
3938
|
allowClear?: boolean;
|
|
3890
3939
|
empty?: ReactNode;
|
|
@@ -3903,7 +3952,7 @@ type Props$148<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Publ
|
|
|
3903
3952
|
itemToDisabled?: (item: Value) => boolean;
|
|
3904
3953
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
3905
3954
|
};
|
|
3906
|
-
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;
|
|
3907
3956
|
declare namespace Combobox {
|
|
3908
3957
|
export { ComboboxRoot as Root };
|
|
3909
3958
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -3925,7 +3974,7 @@ type ComboboxProps<Value> = Combobox$1.Root.Props<Value, true>;
|
|
|
3925
3974
|
type ComboboxInputProps = ComponentProps<typeof Combobox.Input>;
|
|
3926
3975
|
type ComboboxInputGroupProps = ComponentProps<typeof Combobox.InputGroup>;
|
|
3927
3976
|
type ComboboxItemProps = ComponentProps<typeof Combobox.Item>;
|
|
3928
|
-
type ComboboxChipsProps = ComponentProps<typeof Combobox.Chips
|
|
3977
|
+
type ComboboxChipsProps<Value> = ComponentProps<typeof Combobox.Chips<Value>>;
|
|
3929
3978
|
type Indicator$3 = NonNullable<ComboboxItemProps['indicator']>;
|
|
3930
3979
|
type CreatableProps<Value> = {
|
|
3931
3980
|
allowCreate?: boolean;
|
|
@@ -3937,7 +3986,7 @@ type CreatableProps<Value> = {
|
|
|
3937
3986
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
3938
3987
|
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
3939
3988
|
*/
|
|
3940
|
-
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> & {
|
|
3941
3990
|
items?: readonly (Value | GroupShape)[];
|
|
3942
3991
|
allowClear?: boolean;
|
|
3943
3992
|
allowSelectAll?: boolean;
|
|
@@ -3961,10 +4010,10 @@ type Props$147<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
3961
4010
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
3962
4011
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
3963
4012
|
*/
|
|
3964
|
-
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;
|
|
3965
4014
|
//#endregion
|
|
3966
4015
|
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
3967
|
-
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'> & {
|
|
3968
4017
|
inputClassName?: string;
|
|
3969
4018
|
};
|
|
3970
4019
|
/**
|
|
@@ -3992,7 +4041,7 @@ type Props$146 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<strin
|
|
|
3992
4041
|
* Pass `allowCreate` for an enum the user may extend — an open list of synchronous action names, say.
|
|
3993
4042
|
* The created values land in the field value like any other.
|
|
3994
4043
|
*/
|
|
3995
|
-
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;
|
|
3996
4045
|
//#endregion
|
|
3997
4046
|
//#region src/blocks/Textarea/Textarea.d.ts
|
|
3998
4047
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
@@ -4006,12 +4055,12 @@ type TextareaOwnProps = {
|
|
|
4006
4055
|
disableResize?: boolean;
|
|
4007
4056
|
containerClassName?: string;
|
|
4008
4057
|
};
|
|
4009
|
-
type Props$
|
|
4058
|
+
type Props$147 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
4010
4059
|
/**
|
|
4011
4060
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
4012
4061
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
4013
4062
|
*/
|
|
4014
|
-
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;
|
|
4015
4064
|
//#endregion
|
|
4016
4065
|
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
4017
4066
|
type AutoSaveTextareaProps = {
|
|
@@ -4026,14 +4075,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
4026
4075
|
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
4027
4076
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4028
4077
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4029
|
-
type Props$
|
|
4078
|
+
type Props$146 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
4030
4079
|
value?: string | null;
|
|
4031
4080
|
defaultValue?: string | null;
|
|
4032
4081
|
onValueChange?: (value: string) => void;
|
|
4033
4082
|
onValueBlur?: (value: string) => void;
|
|
4034
4083
|
allowClear?: boolean;
|
|
4035
4084
|
};
|
|
4036
|
-
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;
|
|
4037
4086
|
//#endregion
|
|
4038
4087
|
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
4039
4088
|
type UseBrandOptions = {
|
|
@@ -4065,17 +4114,52 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4065
4114
|
};
|
|
4066
4115
|
//#endregion
|
|
4067
4116
|
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4068
|
-
type Props$
|
|
4117
|
+
type Props$145 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4069
4118
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4070
4119
|
brands?: readonly Brand$1[];
|
|
4071
4120
|
children: ReactNode;
|
|
4072
4121
|
};
|
|
4073
|
-
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;
|
|
4074
4152
|
//#endregion
|
|
4075
4153
|
//#region src/components/ThemeProvider/context.d.ts
|
|
4076
4154
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
4077
4155
|
themes: Theme[];
|
|
4078
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'];
|
|
4079
4163
|
};
|
|
4080
4164
|
declare const useTheme: () => ThemeContextValue;
|
|
4081
4165
|
/**
|
|
@@ -4097,7 +4181,7 @@ declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
|
4097
4181
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4098
4182
|
//#endregion
|
|
4099
4183
|
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4100
|
-
type Props$
|
|
4184
|
+
type Props$143 = {
|
|
4101
4185
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
4102
4186
|
value: ColorScheme;
|
|
4103
4187
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -4122,12 +4206,12 @@ type Props$142 = {
|
|
|
4122
4206
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
4123
4207
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
4124
4208
|
*/
|
|
4125
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4209
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$143) => import("react/jsx-runtime").JSX.Element;
|
|
4126
4210
|
//#endregion
|
|
4127
4211
|
//#region src/blocks/DateInput/DateInput.d.ts
|
|
4128
4212
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4129
4213
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4130
|
-
type Props$
|
|
4214
|
+
type Props$142 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4131
4215
|
value?: Date | null;
|
|
4132
4216
|
defaultValue?: Date | null;
|
|
4133
4217
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4137,12 +4221,12 @@ type Props$141 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4137
4221
|
endMonth?: Date;
|
|
4138
4222
|
startMonth?: Date;
|
|
4139
4223
|
};
|
|
4140
|
-
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;
|
|
4141
4225
|
//#endregion
|
|
4142
4226
|
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
4143
4227
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4144
4228
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4145
|
-
type Props$
|
|
4229
|
+
type Props$141 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4146
4230
|
value?: number | null;
|
|
4147
4231
|
defaultValue?: number | null;
|
|
4148
4232
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4150,12 +4234,12 @@ type Props$140 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4150
4234
|
prefix?: ReactNode;
|
|
4151
4235
|
suffix?: ReactNode;
|
|
4152
4236
|
};
|
|
4153
|
-
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;
|
|
4154
4238
|
//#endregion
|
|
4155
4239
|
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
4156
4240
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4157
4241
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4158
|
-
type Props$
|
|
4242
|
+
type Props$140 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4159
4243
|
value?: string | null;
|
|
4160
4244
|
defaultValue?: string | null;
|
|
4161
4245
|
onValueChange?: (value: string) => void;
|
|
@@ -4172,24 +4256,24 @@ type Props$139 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4172
4256
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4173
4257
|
defaultPasswordVisibility?: boolean;
|
|
4174
4258
|
};
|
|
4175
|
-
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;
|
|
4176
4260
|
//#endregion
|
|
4177
4261
|
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
4178
4262
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4179
4263
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4180
|
-
type Props$
|
|
4264
|
+
type Props$139 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4181
4265
|
value?: string | null;
|
|
4182
4266
|
defaultValue?: string | null;
|
|
4183
4267
|
onValueChange?: (value: string | null) => void;
|
|
4184
4268
|
onValueBlur?: (value: string | null) => void;
|
|
4185
4269
|
allowClear?: boolean;
|
|
4186
4270
|
};
|
|
4187
|
-
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;
|
|
4188
4272
|
//#endregion
|
|
4189
4273
|
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
4190
4274
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4191
4275
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4192
|
-
type Props$
|
|
4276
|
+
type Props$138 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4193
4277
|
value?: DateRange$1 | null;
|
|
4194
4278
|
defaultValue?: DateRange$1 | null;
|
|
4195
4279
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4198,7 +4282,7 @@ type Props$137 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4198
4282
|
startMonth?: Date;
|
|
4199
4283
|
endMonth?: Date;
|
|
4200
4284
|
};
|
|
4201
|
-
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;
|
|
4202
4286
|
//#endregion
|
|
4203
4287
|
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
4204
4288
|
type GroupProps = ComponentProps<'div'>;
|
|
@@ -4249,7 +4333,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4249
4333
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
4250
4334
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
4251
4335
|
*/
|
|
4252
|
-
type Props$
|
|
4336
|
+
type Props$137 = InputGroupProps & InputGroupInputProps & {
|
|
4253
4337
|
value?: string | null;
|
|
4254
4338
|
defaultValue?: string | null;
|
|
4255
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`. */
|
|
@@ -4278,7 +4362,7 @@ type Props$136 = InputGroupProps & InputGroupInputProps & {
|
|
|
4278
4362
|
*
|
|
4279
4363
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
4280
4364
|
*/
|
|
4281
|
-
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;
|
|
4282
4366
|
//#endregion
|
|
4283
4367
|
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4284
4368
|
type SearchInputWithNavigationProps = {
|
|
@@ -4398,7 +4482,7 @@ declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disable
|
|
|
4398
4482
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4399
4483
|
//#endregion
|
|
4400
4484
|
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4401
|
-
type Props$
|
|
4485
|
+
type Props$136 = {
|
|
4402
4486
|
/** Override the default copy / icon block. */
|
|
4403
4487
|
children?: ReactNode;
|
|
4404
4488
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4408,10 +4492,10 @@ type Props$135 = {
|
|
|
4408
4492
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4409
4493
|
* Pass `children` to fully replace the inner block.
|
|
4410
4494
|
*/
|
|
4411
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4495
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$136) => import("react/jsx-runtime").JSX.Element;
|
|
4412
4496
|
//#endregion
|
|
4413
4497
|
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4414
|
-
type Props$
|
|
4498
|
+
type Props$135 = {
|
|
4415
4499
|
files: File[];
|
|
4416
4500
|
onRemove?: (file: File, index: number) => void;
|
|
4417
4501
|
/**
|
|
@@ -4424,7 +4508,7 @@ type Props$134 = {
|
|
|
4424
4508
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4425
4509
|
* removal via `onRemove`.
|
|
4426
4510
|
*/
|
|
4427
|
-
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;
|
|
4428
4512
|
//#endregion
|
|
4429
4513
|
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4430
4514
|
/**
|
|
@@ -4432,7 +4516,7 @@ declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...res
|
|
|
4432
4516
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
4433
4517
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
4434
4518
|
*/
|
|
4435
|
-
type Props$
|
|
4519
|
+
type Props$134 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4436
4520
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4437
4521
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4438
4522
|
children: ReactNode;
|
|
@@ -4451,18 +4535,18 @@ type Props$133 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4451
4535
|
* for the selected-files list. The caller stores the `File[]` and renders it back into `FileList`.
|
|
4452
4536
|
* Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4453
4537
|
*/
|
|
4454
|
-
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;
|
|
4455
4539
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4456
4540
|
DropZone: typeof FileUploadDropZone;
|
|
4457
4541
|
FileList: typeof FileUploadFileList;
|
|
4458
4542
|
};
|
|
4459
4543
|
//#endregion
|
|
4460
4544
|
//#region src/blocks/FormGroup/FormGroupColorInput.d.ts
|
|
4461
|
-
type Props$
|
|
4462
|
-
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;
|
|
4463
4547
|
//#endregion
|
|
4464
4548
|
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4465
|
-
type Props$
|
|
4549
|
+
type Props$132 = ComponentPropsWithRef<'div'> & {
|
|
4466
4550
|
/**
|
|
4467
4551
|
* Field validation errors. TanStack Form errors are strings (function validators) or
|
|
4468
4552
|
* `{ message }` objects (Standard Schema / zod). A single message renders inline; several
|
|
@@ -4478,30 +4562,30 @@ type Props$131 = ComponentPropsWithRef<'div'> & {
|
|
|
4478
4562
|
* field (e.g. surfaced on submit). Renders a `<div>` (not `<p>`) so multiple errors can render
|
|
4479
4563
|
* as a `<ul>`.
|
|
4480
4564
|
*/
|
|
4481
|
-
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;
|
|
4482
4566
|
//#endregion
|
|
4483
4567
|
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4484
4568
|
declare const helpVariants: (props?: ({
|
|
4485
4569
|
state?: "default" | "warning" | null | undefined;
|
|
4486
4570
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4487
|
-
type Props$
|
|
4488
|
-
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;
|
|
4489
4573
|
//#endregion
|
|
4490
4574
|
//#region src/blocks/FormGroup/FormGroupHelp.d.ts
|
|
4491
|
-
type Props$
|
|
4492
|
-
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;
|
|
4493
4577
|
//#endregion
|
|
4494
4578
|
//#region src/blocks/FormGroup/FormGroupNumberInput.d.ts
|
|
4495
|
-
type Props$
|
|
4496
|
-
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;
|
|
4497
4581
|
//#endregion
|
|
4498
4582
|
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4499
|
-
type Props$
|
|
4500
|
-
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;
|
|
4501
4585
|
//#endregion
|
|
4502
4586
|
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4503
|
-
type Props$
|
|
4504
|
-
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;
|
|
4505
4589
|
//#endregion
|
|
4506
4590
|
//#region src/blocks/FormGroup/types.d.ts
|
|
4507
4591
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
@@ -4541,13 +4625,13 @@ declare const AnswerSummary: ({ items, variant, noAnswerLabel }: Props) => impor
|
|
|
4541
4625
|
//#endregion
|
|
4542
4626
|
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4543
4627
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4544
|
-
type Props$
|
|
4628
|
+
type Props$126 = {
|
|
4545
4629
|
isExpanded: boolean;
|
|
4546
4630
|
onToggle: () => void;
|
|
4547
4631
|
label: ReactNode;
|
|
4548
4632
|
variant?: Variant$5;
|
|
4549
4633
|
};
|
|
4550
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4634
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$126) => import("react/jsx-runtime").JSX.Element;
|
|
4551
4635
|
//#endregion
|
|
4552
4636
|
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4553
4637
|
type Props$1 = {
|
|
@@ -4564,22 +4648,43 @@ type Props$2 = {
|
|
|
4564
4648
|
declare const InlineStepLabel: ({ variant, children }: Props$2) => import("react/jsx-runtime").JSX.Element;
|
|
4565
4649
|
//#endregion
|
|
4566
4650
|
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4567
|
-
type Props$
|
|
4651
|
+
type Props$125 = {
|
|
4568
4652
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4569
4653
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4570
|
-
* `MermaidDiagram`; other fenced blocks
|
|
4654
|
+
* `MermaidDiagram`; other fenced blocks — including ```flint, deliberately,
|
|
4655
|
+
* as this is the reduced-capability renderer — get a hover copy button. */
|
|
4571
4656
|
children: string;
|
|
4572
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;
|
|
4573
4678
|
};
|
|
4574
4679
|
/**
|
|
4575
4680
|
* Read-only GFM Markdown renderer with design-token typography. Pair with
|
|
4576
4681
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4577
4682
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4578
4683
|
*/
|
|
4579
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4684
|
+
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$125) => import("react/jsx-runtime").JSX.Element;
|
|
4580
4685
|
//#endregion
|
|
4581
4686
|
//#region src/components/Avatar.d.ts
|
|
4582
|
-
type Props$
|
|
4687
|
+
type Props$124 = {
|
|
4583
4688
|
user?: {
|
|
4584
4689
|
name: string | undefined;
|
|
4585
4690
|
email: string | undefined;
|
|
@@ -4589,16 +4694,17 @@ type Props$123 = {
|
|
|
4589
4694
|
size?: number;
|
|
4590
4695
|
variant?: 'circle' | 'rounded';
|
|
4591
4696
|
} & ComponentProps<'span'>;
|
|
4592
|
-
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;
|
|
4593
4698
|
//#endregion
|
|
4594
4699
|
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
4595
|
-
type Props$
|
|
4700
|
+
type Props$123 = {
|
|
4596
4701
|
variant: 'user' | 'assistant';
|
|
4597
|
-
user?: ComponentProps<typeof Avatar>['user'];
|
|
4598
4702
|
actions?: ReactNode;
|
|
4599
4703
|
createdAt?: string;
|
|
4704
|
+
/** @deprecated No avatar is rendered; accepted so existing call sites keep compiling. */
|
|
4705
|
+
user?: ComponentProps<typeof Avatar>['user'];
|
|
4600
4706
|
} & PropsWithChildren;
|
|
4601
|
-
declare const MessageBubble: ({ variant, children,
|
|
4707
|
+
declare const MessageBubble: ({ variant, children, actions, createdAt }: Props$123) => import("react/jsx-runtime").JSX.Element;
|
|
4602
4708
|
//#endregion
|
|
4603
4709
|
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
4604
4710
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
@@ -4642,8 +4748,8 @@ type PlanRewritingIndicatorProps = {
|
|
|
4642
4748
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
4643
4749
|
//#endregion
|
|
4644
4750
|
//#region src/blocks/AIKit/PromptInputAction.d.ts
|
|
4645
|
-
type Props$
|
|
4646
|
-
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;
|
|
4647
4753
|
//#endregion
|
|
4648
4754
|
//#region src/blocks/AIKit/PromptInputCommands.d.ts
|
|
4649
4755
|
type PromptCommand = {
|
|
@@ -4656,16 +4762,16 @@ type PromptCommand = {
|
|
|
4656
4762
|
//#endregion
|
|
4657
4763
|
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
4658
4764
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4659
|
-
type Props$
|
|
4765
|
+
type Props$121 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4660
4766
|
status?: SubmitStatus;
|
|
4661
4767
|
};
|
|
4662
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
4768
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$121) => import("react/jsx-runtime").JSX.Element;
|
|
4663
4769
|
//#endregion
|
|
4664
4770
|
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
4665
4771
|
declare const promptInputVariants: (props?: ({
|
|
4666
4772
|
variant?: "default" | "inline" | null | undefined;
|
|
4667
4773
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4668
|
-
type Props$
|
|
4774
|
+
type Props$120 = {
|
|
4669
4775
|
onSend?: (value: string) => void;
|
|
4670
4776
|
onAbort?: () => void;
|
|
4671
4777
|
onContinue?: () => void;
|
|
@@ -4678,7 +4784,7 @@ type Props$119 = {
|
|
|
4678
4784
|
disableSubmit?: boolean;
|
|
4679
4785
|
commands?: PromptCommand[];
|
|
4680
4786
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4681
|
-
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;
|
|
4682
4788
|
declare namespace PromptInput {
|
|
4683
4789
|
export { PromptInputAction as Action };
|
|
4684
4790
|
}
|
|
@@ -4739,14 +4845,14 @@ type Props$4 = {
|
|
|
4739
4845
|
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$4) => import("react/jsx-runtime").JSX.Element;
|
|
4740
4846
|
//#endregion
|
|
4741
4847
|
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
4742
|
-
type Props$
|
|
4848
|
+
type Props$119 = {
|
|
4743
4849
|
label: string;
|
|
4744
4850
|
disabled?: boolean;
|
|
4745
4851
|
onClick: () => void;
|
|
4746
4852
|
icon?: ReactNode;
|
|
4747
4853
|
className?: string;
|
|
4748
4854
|
};
|
|
4749
|
-
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;
|
|
4750
4856
|
//#endregion
|
|
4751
4857
|
//#region src/blocks/AIKit/ThinkingIndicator.d.ts
|
|
4752
4858
|
type ThinkingIndicatorProps = {
|
|
@@ -4808,10 +4914,28 @@ type ToolCallChipProps = {
|
|
|
4808
4914
|
*/
|
|
4809
4915
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className }: ToolCallChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
4810
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
|
|
4811
4931
|
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
4812
|
-
type Props$
|
|
4932
|
+
type Props$118 = {
|
|
4813
4933
|
value: number;
|
|
4814
|
-
|
|
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';
|
|
4815
4939
|
children: ReactNode;
|
|
4816
4940
|
className?: string;
|
|
4817
4941
|
/**
|
|
@@ -4823,23 +4947,23 @@ type Props$117 = {
|
|
|
4823
4947
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4824
4948
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4825
4949
|
};
|
|
4826
|
-
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;
|
|
4827
4951
|
//#endregion
|
|
4828
4952
|
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
4829
|
-
type Props$
|
|
4953
|
+
type Props$117 = {
|
|
4830
4954
|
value: number;
|
|
4831
4955
|
size?: number;
|
|
4832
4956
|
strokeWidth?: number;
|
|
4833
4957
|
className?: string;
|
|
4834
4958
|
};
|
|
4835
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4959
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$117) => import("react/jsx-runtime").JSX.Element;
|
|
4836
4960
|
//#endregion
|
|
4837
4961
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
4838
|
-
type Props$
|
|
4839
|
-
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;
|
|
4840
4964
|
//#endregion
|
|
4841
4965
|
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
4842
|
-
type Props$
|
|
4966
|
+
type Props$115 = ComponentProps<typeof CollapsibleTrigger>;
|
|
4843
4967
|
/**
|
|
4844
4968
|
* A `Collapsible` toggle.
|
|
4845
4969
|
*
|
|
@@ -4847,11 +4971,11 @@ type Props$114 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
4847
4971
|
* reset is opt-in, so without it a host app without a global reset gets UA button chrome.
|
|
4848
4972
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
4849
4973
|
*/
|
|
4850
|
-
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;
|
|
4851
4975
|
//#endregion
|
|
4852
4976
|
//#region src/components/Collapsible/Collapsible.d.ts
|
|
4853
|
-
type Props$
|
|
4854
|
-
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;
|
|
4855
4979
|
declare namespace Collapsible {
|
|
4856
4980
|
export { CollapsibleTrigger$1 as Trigger };
|
|
4857
4981
|
export { CollapsibleContent as Content };
|
|
@@ -4859,10 +4983,10 @@ declare namespace Collapsible {
|
|
|
4859
4983
|
//#endregion
|
|
4860
4984
|
//#region src/components/Alert/AlertRoot.d.ts
|
|
4861
4985
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
4862
|
-
type Props$
|
|
4986
|
+
type Props$113 = {
|
|
4863
4987
|
variant?: Variant$4;
|
|
4864
4988
|
} & ComponentProps<'div'>;
|
|
4865
|
-
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;
|
|
4866
4990
|
//#endregion
|
|
4867
4991
|
//#region src/components/Alert/Alert.d.ts
|
|
4868
4992
|
type CommonProps = {
|
|
@@ -4886,7 +5010,7 @@ type DefaultProps = {
|
|
|
4886
5010
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4887
5011
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4888
5012
|
*/
|
|
4889
|
-
type Props$
|
|
5013
|
+
type Props$112 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4890
5014
|
/**
|
|
4891
5015
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4892
5016
|
*
|
|
@@ -4900,14 +5024,14 @@ type Props$111 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4900
5024
|
*
|
|
4901
5025
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4902
5026
|
*/
|
|
4903
|
-
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;
|
|
4904
5028
|
//#endregion
|
|
4905
5029
|
//#region src/components/Toast/ToastRoot.d.ts
|
|
4906
5030
|
declare const variants$4: (props?: ({
|
|
4907
5031
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
4908
5032
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4909
5033
|
type Variants = VariantProps<typeof variants$4>;
|
|
4910
|
-
type Props$
|
|
5034
|
+
type Props$111 = {
|
|
4911
5035
|
id: string | number;
|
|
4912
5036
|
title: ReactNode;
|
|
4913
5037
|
icon?: ReactNode;
|
|
@@ -4916,7 +5040,7 @@ type Props$110 = {
|
|
|
4916
5040
|
loading?: boolean;
|
|
4917
5041
|
duration?: number;
|
|
4918
5042
|
} & Variants;
|
|
4919
|
-
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;
|
|
4920
5044
|
//#endregion
|
|
4921
5045
|
//#region src/components/Toast/toast.d.ts
|
|
4922
5046
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
@@ -4939,7 +5063,7 @@ declare namespace toast {
|
|
|
4939
5063
|
}
|
|
4940
5064
|
//#endregion
|
|
4941
5065
|
//#region src/components/Toast/useNotification.d.ts
|
|
4942
|
-
type Props$
|
|
5066
|
+
type Props$110 = {
|
|
4943
5067
|
enabled?: boolean;
|
|
4944
5068
|
} & Parameters<typeof toast>[0];
|
|
4945
5069
|
/**
|
|
@@ -4952,25 +5076,25 @@ type Props$109 = {
|
|
|
4952
5076
|
* Use `toast()` for transient feedback after a user action
|
|
4953
5077
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4954
5078
|
*/
|
|
4955
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
5079
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$110) => void;
|
|
4956
5080
|
//#endregion
|
|
4957
5081
|
//#region src/components/Toast/Toaster.d.ts
|
|
4958
5082
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4959
5083
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4960
5084
|
//#endregion
|
|
4961
5085
|
//#region src/components/EmptySearchContent.d.ts
|
|
4962
|
-
type Props$
|
|
5086
|
+
type Props$109 = {
|
|
4963
5087
|
children?: ReactNode;
|
|
4964
5088
|
};
|
|
4965
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
5089
|
+
declare const EmptySearchContent: ({ children }: Props$109) => import("react/jsx-runtime").JSX.Element;
|
|
4966
5090
|
//#endregion
|
|
4967
5091
|
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
4968
|
-
type Props$
|
|
5092
|
+
type Props$108 = {
|
|
4969
5093
|
title: string;
|
|
4970
5094
|
children: ReactNode;
|
|
4971
5095
|
className?: string;
|
|
4972
5096
|
};
|
|
4973
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
5097
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$108) => import("react/jsx-runtime").JSX.Element;
|
|
4974
5098
|
//#endregion
|
|
4975
5099
|
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
4976
5100
|
declare const emptyStateClassnames: (props?: ({
|
|
@@ -5115,16 +5239,19 @@ type DotsLoaderProps = {
|
|
|
5115
5239
|
};
|
|
5116
5240
|
declare const DotsLoader: ({ className }: DotsLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5117
5241
|
//#endregion
|
|
5242
|
+
//#region src/blocks/DiagramShared/DiagramSkeleton.d.ts
|
|
5243
|
+
declare const DiagramSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
5244
|
+
//#endregion
|
|
5118
5245
|
//#region src/components/Progress/Progress.d.ts
|
|
5119
5246
|
declare const variants$3: (props?: ({
|
|
5120
5247
|
variant?: "default" | "success" | null | undefined;
|
|
5121
5248
|
size?: "lg" | "sm" | null | undefined;
|
|
5122
5249
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5123
|
-
type Props$
|
|
5124
|
-
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;
|
|
5125
5252
|
//#endregion
|
|
5126
5253
|
//#region src/components/CollapsiblePanel.d.ts
|
|
5127
|
-
type Props$
|
|
5254
|
+
type Props$106 = {
|
|
5128
5255
|
header: ReactNode;
|
|
5129
5256
|
isDisabled?: boolean;
|
|
5130
5257
|
defaultExpanded?: boolean;
|
|
@@ -5136,17 +5263,17 @@ type Props$105 = {
|
|
|
5136
5263
|
variant?: 'default' | 'white';
|
|
5137
5264
|
children: ReactNode;
|
|
5138
5265
|
};
|
|
5139
|
-
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;
|
|
5140
5267
|
//#endregion
|
|
5141
5268
|
//#region src/components/PanelWithDetails.d.ts
|
|
5142
|
-
type Props$
|
|
5269
|
+
type Props$105 = PropsWithChildren<{
|
|
5143
5270
|
defaultExpanded?: boolean;
|
|
5144
5271
|
labelCollapse?: ReactNode;
|
|
5145
5272
|
labelOpen?: ReactNode;
|
|
5146
5273
|
placement?: 'top' | 'bottom';
|
|
5147
5274
|
className?: string;
|
|
5148
5275
|
}>;
|
|
5149
|
-
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;
|
|
5150
5277
|
//#endregion
|
|
5151
5278
|
//#region src/blocks/AppShell/types.d.ts
|
|
5152
5279
|
/**
|
|
@@ -5161,8 +5288,22 @@ declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, pl
|
|
|
5161
5288
|
* already full width.
|
|
5162
5289
|
*/
|
|
5163
5290
|
type AppShellHeaderSpan = 'content' | 'full';
|
|
5291
|
+
/**
|
|
5292
|
+
* The shell's grid areas, as stamped on each slot's `data-app-shell-slot`.
|
|
5293
|
+
*
|
|
5294
|
+
* - Pair it with `appShellSlotSelector` to target a slot from outside the shell.
|
|
5295
|
+
*/
|
|
5296
|
+
type AppShellSlot = 'header' | 'sidebar' | 'main' | 'aside';
|
|
5164
5297
|
//#endregion
|
|
5165
5298
|
//#region src/blocks/AppShell/AppShell.d.ts
|
|
5299
|
+
/**
|
|
5300
|
+
* Targets a shell slot from outside the shell.
|
|
5301
|
+
*
|
|
5302
|
+
* - Each slot component stamps `data-app-shell-slot` with its own name.
|
|
5303
|
+
* - Exported so a consumer never hand-types the attribute: renaming it then breaks the
|
|
5304
|
+
* build instead of silently matching nothing.
|
|
5305
|
+
*/
|
|
5306
|
+
declare const appShellSlotSelector: (slot: AppShellSlot) => string;
|
|
5166
5307
|
type RootProps$7 = ComponentPropsWithoutRef<'div'> & {
|
|
5167
5308
|
/**
|
|
5168
5309
|
* How far the header row stretches. `content` (default) gives it the middle
|
|
@@ -5182,6 +5323,24 @@ type SlotProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
5182
5323
|
/** Render as the child element (Radix-Slot pattern), forwarding props onto it. */
|
|
5183
5324
|
asChild?: boolean;
|
|
5184
5325
|
};
|
|
5326
|
+
type MainProps = SlotProps & {
|
|
5327
|
+
/**
|
|
5328
|
+
* Classes for the padded content wrapper inside `Main`, where the page gutter lives.
|
|
5329
|
+
*
|
|
5330
|
+
* This is the one to reach for when overriding the gutter — `className` lands on the scroll
|
|
5331
|
+
* container, and a `p-*` there is what breaks every sticky header below it.
|
|
5332
|
+
*/
|
|
5333
|
+
contentClassName?: string;
|
|
5334
|
+
/**
|
|
5335
|
+
* Bounds the content wrapper to `Main`'s height instead of letting it grow with the content.
|
|
5336
|
+
*
|
|
5337
|
+
* - For a page that owns its `overflow-auto` scroller: a bounded wrapper is what gives a
|
|
5338
|
+
* `flex-1` descendant a definite height, so that descendant is what scrolls.
|
|
5339
|
+
* - Gives up the bottom-gutter guarantee below, so pair it with a gutter-free
|
|
5340
|
+
* `contentClassName`.
|
|
5341
|
+
*/
|
|
5342
|
+
clampContent?: boolean;
|
|
5343
|
+
};
|
|
5185
5344
|
type ChromeSlotProps = SlotProps & {
|
|
5186
5345
|
/**
|
|
5187
5346
|
* Drop the slot's own padding, background and border so a hosted chrome component
|
|
@@ -5201,7 +5360,7 @@ declare const Header$1: ({ ref, className, asChild, flush, children, ...props }:
|
|
|
5201
5360
|
declare const SidebarSlot$1: ({ ref, className, asChild, children, ...props }: SlotProps & {
|
|
5202
5361
|
ref?: Ref<ComponentRef<'div'>>;
|
|
5203
5362
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5204
|
-
declare const Main: ({ ref, className, asChild, children, ...props }:
|
|
5363
|
+
declare const Main: ({ ref, className, contentClassName, clampContent, asChild, children, ...props }: MainProps & {
|
|
5205
5364
|
ref?: Ref<ComponentRef<'main'>>;
|
|
5206
5365
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5207
5366
|
declare const Aside: ({ ref, className, asChild, flush, children, ...props }: ChromeSlotProps & {
|
|
@@ -5240,9 +5399,14 @@ declare const AppShell: typeof Root$16 & {
|
|
|
5240
5399
|
*/
|
|
5241
5400
|
Sidebar: typeof SidebarSlot$1;
|
|
5242
5401
|
/**
|
|
5243
|
-
* Main content outlet.
|
|
5244
|
-
*
|
|
5245
|
-
*
|
|
5402
|
+
* Main content outlet. Scrolls its own content, and applies an opinionated
|
|
5403
|
+
* default page gutter (`tw:p-6`) on a wrapper inside the scroll container.
|
|
5404
|
+
*
|
|
5405
|
+
* - Override the gutter through `contentClassName` (e.g. `tw:p-0`) when the
|
|
5406
|
+
* app owns its own.
|
|
5407
|
+
* - `className` lands on the scroll container itself — a `p-*` there parks
|
|
5408
|
+
* every `position: sticky` descendant one gutter below the scrollport's
|
|
5409
|
+
* visible top edge.
|
|
5246
5410
|
*/
|
|
5247
5411
|
Main: typeof Main;
|
|
5248
5412
|
/** Optional right rail. Present in both shells. */
|
|
@@ -5543,7 +5707,7 @@ type SectionNavItemRenderProps = {
|
|
|
5543
5707
|
};
|
|
5544
5708
|
//#endregion
|
|
5545
5709
|
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
5546
|
-
type Props$
|
|
5710
|
+
type Props$104 = {
|
|
5547
5711
|
/**
|
|
5548
5712
|
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
5549
5713
|
* app — this block renders exactly what it is handed, in order.
|
|
@@ -5595,10 +5759,10 @@ type Props$103 = {
|
|
|
5595
5759
|
*
|
|
5596
5760
|
* @see RECIPES.md#section-nav
|
|
5597
5761
|
*/
|
|
5598
|
-
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;
|
|
5599
5763
|
//#endregion
|
|
5600
5764
|
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
5601
|
-
type Props$
|
|
5765
|
+
type Props$103 = {
|
|
5602
5766
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5603
5767
|
variant?: 'mark' | 'wordmark';
|
|
5604
5768
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -5608,7 +5772,7 @@ type Props$102 = {
|
|
|
5608
5772
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5609
5773
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5610
5774
|
*/
|
|
5611
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5775
|
+
declare const BrandLogo: ({ variant, className }: Props$103) => import("react/jsx-runtime").JSX.Element | null;
|
|
5612
5776
|
//#endregion
|
|
5613
5777
|
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
5614
5778
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5617,13 +5781,13 @@ declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof S
|
|
|
5617
5781
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react/jsx-runtime").JSX.Element;
|
|
5618
5782
|
//#endregion
|
|
5619
5783
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
5620
|
-
type Props$
|
|
5784
|
+
type Props$102 = {
|
|
5621
5785
|
className?: string;
|
|
5622
5786
|
children?: ReactNode;
|
|
5623
5787
|
contentRef?: ComponentProps<'div'>['ref'];
|
|
5624
5788
|
ref?: ComponentProps<'div'>['ref'];
|
|
5625
5789
|
};
|
|
5626
|
-
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$
|
|
5790
|
+
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$102) => import("react/jsx-runtime").JSX.Element;
|
|
5627
5791
|
//#endregion
|
|
5628
5792
|
//#region src/components/Sidebar/types.d.ts
|
|
5629
5793
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
@@ -5633,102 +5797,102 @@ type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
|
5633
5797
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5634
5798
|
//#endregion
|
|
5635
5799
|
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
5636
|
-
type Props$
|
|
5800
|
+
type Props$101 = ComponentProps<typeof Slot$1> & {
|
|
5637
5801
|
side?: SidebarSide;
|
|
5638
5802
|
};
|
|
5639
|
-
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$
|
|
5803
|
+
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$101) => import("react/jsx-runtime").JSX.Element;
|
|
5640
5804
|
//#endregion
|
|
5641
5805
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
5642
|
-
type Props$
|
|
5643
|
-
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;
|
|
5644
5808
|
//#endregion
|
|
5645
5809
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
5646
|
-
type Props$
|
|
5647
|
-
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;
|
|
5648
5812
|
//#endregion
|
|
5649
5813
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
5650
|
-
type Props$
|
|
5651
|
-
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;
|
|
5652
5816
|
//#endregion
|
|
5653
5817
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
5654
|
-
type Props$
|
|
5655
|
-
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;
|
|
5656
5820
|
//#endregion
|
|
5657
5821
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
5658
|
-
type Props$
|
|
5659
|
-
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$
|
|
5822
|
+
type Props$96 = ComponentProps<'div'>;
|
|
5823
|
+
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$96 & {
|
|
5660
5824
|
ref?: Ref<HTMLDivElement>;
|
|
5661
5825
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5662
5826
|
//#endregion
|
|
5663
5827
|
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
5664
|
-
type Props$
|
|
5665
|
-
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;
|
|
5666
5830
|
//#endregion
|
|
5667
5831
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
5668
|
-
type Props$
|
|
5669
|
-
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;
|
|
5670
5834
|
//#endregion
|
|
5671
5835
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
5672
|
-
type Props$
|
|
5836
|
+
type Props$93 = ComponentProps<'button'> & {
|
|
5673
5837
|
asChild?: boolean;
|
|
5674
5838
|
tooltip?: ReactNode;
|
|
5675
5839
|
icon?: ReactNode;
|
|
5676
5840
|
};
|
|
5677
|
-
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 & {
|
|
5678
5842
|
ref?: Ref<HTMLButtonElement>;
|
|
5679
5843
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5680
5844
|
//#endregion
|
|
5681
5845
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
5682
|
-
type Props$
|
|
5683
|
-
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;
|
|
5684
5848
|
//#endregion
|
|
5685
5849
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
5686
|
-
type Props$
|
|
5687
|
-
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;
|
|
5688
5852
|
//#endregion
|
|
5689
5853
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
5690
|
-
type Props$
|
|
5854
|
+
type Props$90 = ComponentProps<'button'> & {
|
|
5691
5855
|
asChild?: boolean;
|
|
5692
5856
|
showOnHover?: boolean;
|
|
5693
5857
|
};
|
|
5694
|
-
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;
|
|
5695
5859
|
//#endregion
|
|
5696
5860
|
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
5697
|
-
type Props$
|
|
5698
|
-
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;
|
|
5699
5863
|
//#endregion
|
|
5700
5864
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
5701
|
-
type Props$
|
|
5865
|
+
type Props$88 = HTMLAttributes<HTMLDivElement> & {
|
|
5702
5866
|
icon: ReactNode;
|
|
5703
5867
|
title: ReactNode;
|
|
5704
5868
|
};
|
|
5705
|
-
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;
|
|
5706
5870
|
//#endregion
|
|
5707
5871
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
5708
|
-
type Props$
|
|
5709
|
-
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;
|
|
5710
5874
|
//#endregion
|
|
5711
5875
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
5712
|
-
type Props$
|
|
5876
|
+
type Props$86 = {
|
|
5713
5877
|
children: ReactNode;
|
|
5714
5878
|
icon: ReactNode;
|
|
5715
5879
|
isActive?: boolean;
|
|
5716
5880
|
label: string;
|
|
5717
5881
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
5718
|
-
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;
|
|
5719
5883
|
//#endregion
|
|
5720
5884
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
5721
|
-
type Props$
|
|
5885
|
+
type Props$85 = ComponentProps<'button'> & {
|
|
5722
5886
|
asChild?: boolean;
|
|
5723
5887
|
};
|
|
5724
|
-
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;
|
|
5725
5889
|
//#endregion
|
|
5726
5890
|
//#region src/components/Separator/Separator.d.ts
|
|
5727
5891
|
declare const separatorVariants: (props?: ({
|
|
5728
5892
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
5729
5893
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5730
5894
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5731
|
-
type Props$
|
|
5895
|
+
type Props$84 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5732
5896
|
/**
|
|
5733
5897
|
* Optional label rendered centered between two line segments
|
|
5734
5898
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5736,21 +5900,26 @@ type Props$83 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
5736
5900
|
*/
|
|
5737
5901
|
label?: ReactNode;
|
|
5738
5902
|
};
|
|
5739
|
-
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;
|
|
5740
5904
|
//#endregion
|
|
5741
5905
|
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
5742
|
-
type Props$
|
|
5743
|
-
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;
|
|
5744
5908
|
//#endregion
|
|
5745
5909
|
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
5746
|
-
type Props$
|
|
5910
|
+
type Props$82 = ComponentProps<typeof Slot$1> & {
|
|
5747
5911
|
side?: SidebarSide;
|
|
5748
5912
|
hideWhenCollapsed?: boolean;
|
|
5749
5913
|
};
|
|
5750
|
-
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;
|
|
5751
5915
|
//#endregion
|
|
5752
5916
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
5753
|
-
|
|
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'> & {
|
|
5754
5923
|
children: ReactNode;
|
|
5755
5924
|
className?: string;
|
|
5756
5925
|
id?: string;
|
|
@@ -5760,7 +5929,7 @@ type Props$80 = {
|
|
|
5760
5929
|
keepMounted?: boolean;
|
|
5761
5930
|
resizable?: boolean;
|
|
5762
5931
|
};
|
|
5763
|
-
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;
|
|
5764
5933
|
declare namespace Sidebar {
|
|
5765
5934
|
export { SidebarHeader as Header };
|
|
5766
5935
|
export { SidebarContent as Content };
|
|
@@ -5785,7 +5954,7 @@ declare namespace Sidebar {
|
|
|
5785
5954
|
}
|
|
5786
5955
|
//#endregion
|
|
5787
5956
|
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
5788
|
-
type Props$
|
|
5957
|
+
type Props$80 = {
|
|
5789
5958
|
children?: ReactNode;
|
|
5790
5959
|
defaultLeftMode?: SidebarMode;
|
|
5791
5960
|
leftMode?: SidebarMode;
|
|
@@ -5803,7 +5972,7 @@ type Props$79 = {
|
|
|
5803
5972
|
onRightWidthChange?: (width: number) => void;
|
|
5804
5973
|
defaultFilledSide?: SidebarSide | null;
|
|
5805
5974
|
};
|
|
5806
|
-
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;
|
|
5807
5976
|
//#endregion
|
|
5808
5977
|
//#region src/components/Sidebar/utils.d.ts
|
|
5809
5978
|
type Input = {
|
|
@@ -5821,12 +5990,12 @@ type EffectiveWidths = {
|
|
|
5821
5990
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode }: Input) => EffectiveWidths;
|
|
5822
5991
|
//#endregion
|
|
5823
5992
|
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
5824
|
-
type Props$
|
|
5993
|
+
type Props$79 = {
|
|
5825
5994
|
defaultMode?: SidebarMode;
|
|
5826
5995
|
mode?: SidebarMode;
|
|
5827
5996
|
onModeChange?: (state: SidebarMode) => void;
|
|
5828
5997
|
};
|
|
5829
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
5998
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$79) => {
|
|
5830
5999
|
isHovered: boolean;
|
|
5831
6000
|
toggle: () => void;
|
|
5832
6001
|
setMode: (dispatch: Parameters<import("react").Dispatch<import("react").SetStateAction<"collapsed" | "expand-on-hover" | "expanded">>>[0]) => void;
|
|
@@ -5860,66 +6029,66 @@ declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | nul
|
|
|
5860
6029
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
5861
6030
|
//#endregion
|
|
5862
6031
|
//#region src/components/Navbar/NavbarContent.d.ts
|
|
5863
|
-
type Props$
|
|
6032
|
+
type Props$78 = {
|
|
5864
6033
|
className?: string;
|
|
5865
6034
|
children?: ReactNode;
|
|
5866
6035
|
};
|
|
5867
|
-
declare const NavbarContent: ({ children, className }: Props$
|
|
6036
|
+
declare const NavbarContent: ({ children, className }: Props$78) => import("react/jsx-runtime").JSX.Element;
|
|
5868
6037
|
//#endregion
|
|
5869
6038
|
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
5870
|
-
type Props$
|
|
5871
|
-
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;
|
|
5872
6041
|
//#endregion
|
|
5873
6042
|
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
5874
|
-
type Props$
|
|
5875
|
-
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;
|
|
5876
6045
|
//#endregion
|
|
5877
6046
|
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
5878
6047
|
declare const variants$2: (props?: ({
|
|
5879
6048
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
5880
6049
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5881
|
-
type Props$
|
|
5882
|
-
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;
|
|
5883
6052
|
//#endregion
|
|
5884
6053
|
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
5885
|
-
type Props$
|
|
6054
|
+
type Props$74 = ComponentProps<'button'> & {
|
|
5886
6055
|
src?: string;
|
|
5887
6056
|
alt?: string;
|
|
5888
6057
|
};
|
|
5889
|
-
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;
|
|
5890
6059
|
//#endregion
|
|
5891
6060
|
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
5892
6061
|
declare const variants$1: (props?: ({
|
|
5893
6062
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
5894
6063
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5895
|
-
type Props$
|
|
6064
|
+
type Props$73 = ComponentProps<'button'> & {
|
|
5896
6065
|
/** Optional leading-icon slot. Pass a Lucide icon node to render an adornment before children. */
|
|
5897
6066
|
icon?: ReactNode;
|
|
5898
6067
|
asChild?: boolean;
|
|
5899
6068
|
} & VariantProps<typeof variants$1>;
|
|
5900
|
-
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;
|
|
5901
6070
|
//#endregion
|
|
5902
6071
|
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
5903
|
-
type Props$
|
|
5904
|
-
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;
|
|
5905
6074
|
//#endregion
|
|
5906
6075
|
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
5907
6076
|
declare const variants: (props?: ({
|
|
5908
6077
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
5909
6078
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5910
|
-
type Props$
|
|
6079
|
+
type Props$71 = {
|
|
5911
6080
|
asChild?: boolean;
|
|
5912
6081
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
5913
|
-
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;
|
|
5914
6083
|
//#endregion
|
|
5915
6084
|
//#region src/components/Navbar/Navbar.d.ts
|
|
5916
6085
|
declare const navbarClassnames: (props?: ({
|
|
5917
6086
|
bordered?: boolean | null | undefined;
|
|
5918
6087
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5919
|
-
type Props$
|
|
6088
|
+
type Props$70 = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5920
6089
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5921
6090
|
};
|
|
5922
|
-
declare function Navbar({ className, accent, bordered, ...rest }: Props$
|
|
6091
|
+
declare function Navbar({ className, accent, bordered, ...rest }: Props$70): import("react/jsx-runtime").JSX.Element;
|
|
5923
6092
|
declare namespace Navbar {
|
|
5924
6093
|
export { NavbarHeader as Header };
|
|
5925
6094
|
export { NavbarFooter as Footer };
|
|
@@ -5965,20 +6134,20 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
5965
6134
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
5966
6135
|
//#endregion
|
|
5967
6136
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
5968
|
-
type Props$
|
|
5969
|
-
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;
|
|
5970
6139
|
//#endregion
|
|
5971
6140
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
5972
|
-
type Props$
|
|
5973
|
-
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;
|
|
5974
6143
|
//#endregion
|
|
5975
6144
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
5976
|
-
type Props$
|
|
5977
|
-
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;
|
|
5978
6147
|
//#endregion
|
|
5979
6148
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
5980
|
-
type Props$
|
|
5981
|
-
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;
|
|
5982
6151
|
declare namespace WorkbenchBar {
|
|
5983
6152
|
export { WorkbenchBarStart as Start };
|
|
5984
6153
|
export { WorkbenchBarMiddle as Middle };
|
|
@@ -5986,35 +6155,35 @@ declare namespace WorkbenchBar {
|
|
|
5986
6155
|
}
|
|
5987
6156
|
//#endregion
|
|
5988
6157
|
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
5989
|
-
type Props$
|
|
6158
|
+
type Props$65 = ComponentProps<'button'> & {
|
|
5990
6159
|
asChild?: boolean;
|
|
5991
6160
|
};
|
|
5992
|
-
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$
|
|
6161
|
+
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$65) => import("react/jsx-runtime").JSX.Element;
|
|
5993
6162
|
//#endregion
|
|
5994
6163
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
5995
|
-
type Props$
|
|
5996
|
-
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;
|
|
5997
6166
|
//#endregion
|
|
5998
6167
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
5999
|
-
type Props$
|
|
6168
|
+
type Props$63 = ComponentProps<'div'> & {
|
|
6000
6169
|
asChild?: boolean;
|
|
6001
6170
|
};
|
|
6002
|
-
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$
|
|
6171
|
+
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$63) => import("react/jsx-runtime").JSX.Element;
|
|
6003
6172
|
//#endregion
|
|
6004
6173
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
6005
|
-
type Props$
|
|
6006
|
-
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;
|
|
6007
6176
|
//#endregion
|
|
6008
6177
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
6009
|
-
type Props$
|
|
6010
|
-
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;
|
|
6011
6180
|
//#endregion
|
|
6012
6181
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
6013
|
-
type Props$
|
|
6014
|
-
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;
|
|
6015
6184
|
//#endregion
|
|
6016
6185
|
//#region src/components/Workbench/Workbench.d.ts
|
|
6017
|
-
type Props$
|
|
6186
|
+
type Props$59 = {
|
|
6018
6187
|
className?: string;
|
|
6019
6188
|
children: ReactNode;
|
|
6020
6189
|
state?: WorkbenchState;
|
|
@@ -6025,7 +6194,7 @@ type Props$58 = {
|
|
|
6025
6194
|
defaultPanelHeight?: number;
|
|
6026
6195
|
onPanelHeightChange?: (panelHeight: number) => void;
|
|
6027
6196
|
};
|
|
6028
|
-
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;
|
|
6029
6198
|
declare namespace Workbench {
|
|
6030
6199
|
export { WorkbenchBar as Bar };
|
|
6031
6200
|
export { WorkbenchBarStart as BarStart };
|
|
@@ -6150,34 +6319,34 @@ declare namespace BreadcrumbDropdown {
|
|
|
6150
6319
|
}
|
|
6151
6320
|
//#endregion
|
|
6152
6321
|
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6153
|
-
type Props$
|
|
6154
|
-
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;
|
|
6155
6324
|
//#endregion
|
|
6156
6325
|
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6157
|
-
type Props$
|
|
6158
|
-
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;
|
|
6159
6328
|
//#endregion
|
|
6160
6329
|
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6161
|
-
type Props$
|
|
6330
|
+
type Props$56 = ComponentProps<'a'> & {
|
|
6162
6331
|
asChild?: boolean;
|
|
6163
6332
|
};
|
|
6164
|
-
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$
|
|
6333
|
+
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$56) => import("react/jsx-runtime").JSX.Element;
|
|
6165
6334
|
//#endregion
|
|
6166
6335
|
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6167
|
-
type Props$
|
|
6168
|
-
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;
|
|
6169
6338
|
//#endregion
|
|
6170
6339
|
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6171
|
-
type Props$
|
|
6172
|
-
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;
|
|
6173
6342
|
//#endregion
|
|
6174
6343
|
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6175
|
-
type Props$
|
|
6176
|
-
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;
|
|
6177
6346
|
//#endregion
|
|
6178
6347
|
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6179
|
-
type Props$
|
|
6180
|
-
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;
|
|
6181
6350
|
declare namespace Breadcrumb {
|
|
6182
6351
|
export { BreadcrumbList as List };
|
|
6183
6352
|
export { BreadcrumbItem as Item };
|
|
@@ -6194,7 +6363,7 @@ type Trigger<T extends string> = {
|
|
|
6194
6363
|
title: ReactNode;
|
|
6195
6364
|
onClose?: (value: T) => void;
|
|
6196
6365
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
6197
|
-
type Props$
|
|
6366
|
+
type Props$51<T extends string> = {
|
|
6198
6367
|
triggers: readonly Trigger<T>[];
|
|
6199
6368
|
compact?: boolean;
|
|
6200
6369
|
children: ReactNode;
|
|
@@ -6205,7 +6374,7 @@ type Props$50<T extends string> = {
|
|
|
6205
6374
|
triggerClassName?: string;
|
|
6206
6375
|
triggerGroupClassName?: string;
|
|
6207
6376
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6208
|
-
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;
|
|
6209
6378
|
//#endregion
|
|
6210
6379
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
6211
6380
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6221,7 +6390,7 @@ declare const STEP_STATUS: {
|
|
|
6221
6390
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
6222
6391
|
//#endregion
|
|
6223
6392
|
//#region src/components/Stepper/StepperStep.d.ts
|
|
6224
|
-
type Props$
|
|
6393
|
+
type Props$50 = {
|
|
6225
6394
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
6226
6395
|
status?: StepStatus;
|
|
6227
6396
|
children: ReactNode;
|
|
@@ -6233,23 +6402,23 @@ type Props$49 = {
|
|
|
6233
6402
|
*
|
|
6234
6403
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
6235
6404
|
*/
|
|
6236
|
-
declare const StepperStep: ({ status, children, className, ...props }: Props$
|
|
6405
|
+
declare const StepperStep: ({ status, children, className, ...props }: Props$50) => import("react/jsx-runtime").JSX.Element;
|
|
6237
6406
|
//#endregion
|
|
6238
6407
|
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
6239
|
-
type Props$
|
|
6408
|
+
type Props$49 = ComponentProps<'span'>;
|
|
6240
6409
|
/**
|
|
6241
6410
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
6242
6411
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
6243
6412
|
*/
|
|
6244
|
-
declare const StepperStepConnector: ({ className, ...props }: Props$
|
|
6413
|
+
declare const StepperStepConnector: ({ className, ...props }: Props$49) => import("react/jsx-runtime").JSX.Element;
|
|
6245
6414
|
//#endregion
|
|
6246
6415
|
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
6247
|
-
type Props$
|
|
6416
|
+
type Props$48 = ComponentProps<'span'>;
|
|
6248
6417
|
/** Optional secondary text below the step label. */
|
|
6249
|
-
declare const StepperStepDescription: ({ className, ...props }: Props$
|
|
6418
|
+
declare const StepperStepDescription: ({ className, ...props }: Props$48) => import("react/jsx-runtime").JSX.Element;
|
|
6250
6419
|
//#endregion
|
|
6251
6420
|
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
6252
|
-
type Props$
|
|
6421
|
+
type Props$47 = {
|
|
6253
6422
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
6254
6423
|
children?: ReactNode;
|
|
6255
6424
|
} & ComponentProps<'span'>;
|
|
@@ -6257,12 +6426,12 @@ type Props$46 = {
|
|
|
6257
6426
|
* Circular indicator slot. Renders the status icon (Check / X) or the step number automatically based on
|
|
6258
6427
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
6259
6428
|
*/
|
|
6260
|
-
declare const StepperStepIndicator: ({ children, className, ...props }: Props$
|
|
6429
|
+
declare const StepperStepIndicator: ({ children, className, ...props }: Props$47) => import("react/jsx-runtime").JSX.Element;
|
|
6261
6430
|
//#endregion
|
|
6262
6431
|
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
6263
|
-
type Props$
|
|
6432
|
+
type Props$46 = ComponentProps<'span'>;
|
|
6264
6433
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
6265
|
-
declare const StepperStepLabel: ({ className, ...props }: Props$
|
|
6434
|
+
declare const StepperStepLabel: ({ className, ...props }: Props$46) => import("react/jsx-runtime").JSX.Element;
|
|
6266
6435
|
//#endregion
|
|
6267
6436
|
//#region src/components/Stepper/styles.d.ts
|
|
6268
6437
|
declare const stepperVariants: (props?: ({
|
|
@@ -6270,7 +6439,7 @@ declare const stepperVariants: (props?: ({
|
|
|
6270
6439
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6271
6440
|
//#endregion
|
|
6272
6441
|
//#region src/components/Stepper/Stepper.d.ts
|
|
6273
|
-
type Props$
|
|
6442
|
+
type Props$45 = {
|
|
6274
6443
|
/** Layout direction. Defaults to `horizontal`. */
|
|
6275
6444
|
orientation?: StepperOrientation;
|
|
6276
6445
|
/**
|
|
@@ -6280,7 +6449,7 @@ type Props$44 = {
|
|
|
6280
6449
|
onStepClick?: (index: number) => void;
|
|
6281
6450
|
children: ReactNode;
|
|
6282
6451
|
} & Omit<ComponentProps<'ol'>, 'children'> & VariantProps<typeof stepperVariants>;
|
|
6283
|
-
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;
|
|
6284
6453
|
declare namespace Stepper {
|
|
6285
6454
|
export { StepperStep as Step };
|
|
6286
6455
|
export { StepperStepIndicator as StepIndicator };
|
|
@@ -6290,15 +6459,15 @@ declare namespace Stepper {
|
|
|
6290
6459
|
}
|
|
6291
6460
|
//#endregion
|
|
6292
6461
|
//#region src/components/Card/CardContent.d.ts
|
|
6293
|
-
type Props$
|
|
6462
|
+
type Props$44 = HTMLAttributes<HTMLDivElement> & {
|
|
6294
6463
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
6295
6464
|
* root adds none — otherwise the padding is doubled. */
|
|
6296
6465
|
padded?: boolean;
|
|
6297
6466
|
};
|
|
6298
|
-
declare const CardContent: ({ children, className, padded, ...rest }: Props$
|
|
6467
|
+
declare const CardContent: ({ children, className, padded, ...rest }: Props$44) => import("react/jsx-runtime").JSX.Element;
|
|
6299
6468
|
//#endregion
|
|
6300
6469
|
//#region src/components/Card/CardHeader.d.ts
|
|
6301
|
-
type Props$
|
|
6470
|
+
type Props$43 = HTMLAttributes<HTMLDivElement> & {
|
|
6302
6471
|
/** Adds a bottom rule, the header's own padding, and a 64px height floor so the
|
|
6303
6472
|
* band stays the same height with or without an action button. The rule spans the
|
|
6304
6473
|
* full card width — pair with `Card padding="none"`; on a padded root it is inset. */
|
|
@@ -6309,16 +6478,16 @@ type Props$42 = HTMLAttributes<HTMLDivElement> & {
|
|
|
6309
6478
|
* under the title. */
|
|
6310
6479
|
layout?: 'row' | 'inline' | 'stack';
|
|
6311
6480
|
};
|
|
6312
|
-
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;
|
|
6313
6482
|
//#endregion
|
|
6314
6483
|
//#region src/components/Card/CardTitle.d.ts
|
|
6315
6484
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6316
|
-
type Props$
|
|
6485
|
+
type Props$42 = HTMLAttributes<HTMLHeadingElement> & {
|
|
6317
6486
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
6318
6487
|
* (e.g. `as="h2"` when the Card sits directly under a page's `h1`). */
|
|
6319
6488
|
as?: HeadingLevel;
|
|
6320
6489
|
};
|
|
6321
|
-
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;
|
|
6322
6491
|
//#endregion
|
|
6323
6492
|
//#region src/components/Card/styles.d.ts
|
|
6324
6493
|
declare const cardClassnames: (props?: ({
|
|
@@ -6327,8 +6496,8 @@ declare const cardClassnames: (props?: ({
|
|
|
6327
6496
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6328
6497
|
//#endregion
|
|
6329
6498
|
//#region src/components/Card/Card.d.ts
|
|
6330
|
-
type Props$
|
|
6331
|
-
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;
|
|
6332
6501
|
declare namespace Card {
|
|
6333
6502
|
export { CardHeader as Header };
|
|
6334
6503
|
export { CardContent as Content };
|
|
@@ -6361,7 +6530,7 @@ declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) =>
|
|
|
6361
6530
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
6362
6531
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
6363
6532
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
6364
|
-
type Props$
|
|
6533
|
+
type Props$40 = {
|
|
6365
6534
|
/** Current sort state for this column: `'asc'`, `'desc'`, or `false` when unsorted. */
|
|
6366
6535
|
sorted: TableSortDirection;
|
|
6367
6536
|
children: ReactNode;
|
|
@@ -6373,19 +6542,19 @@ type Props$39 = {
|
|
|
6373
6542
|
* key/direction pair, or `@tanstack/react-table`'s `getToggleSortingHandler()` / `getIsSorted()`)
|
|
6374
6543
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
6375
6544
|
*/
|
|
6376
|
-
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$
|
|
6545
|
+
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$40) => import("react/jsx-runtime").JSX.Element;
|
|
6377
6546
|
//#endregion
|
|
6378
6547
|
//#region src/components/Table/Table.d.ts
|
|
6379
6548
|
/**
|
|
6380
6549
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6381
6550
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6382
6551
|
*/
|
|
6383
|
-
type Props$
|
|
6552
|
+
type Props$39 = {
|
|
6384
6553
|
borderCollapsed?: boolean;
|
|
6385
6554
|
bordered?: boolean;
|
|
6386
6555
|
containerClassName?: string;
|
|
6387
6556
|
} & ComponentProps<'table'>;
|
|
6388
|
-
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;
|
|
6389
6558
|
declare namespace Table {
|
|
6390
6559
|
export { TableHeader as Header };
|
|
6391
6560
|
export { TableHead as Head };
|
|
@@ -6403,25 +6572,25 @@ declare const connectorWrapper: (props?: ({
|
|
|
6403
6572
|
declare const connector: (props?: ({
|
|
6404
6573
|
variant?: "icon" | "label" | "line" | "none" | null | undefined;
|
|
6405
6574
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6406
|
-
type Props$
|
|
6575
|
+
type Props$38 = {
|
|
6407
6576
|
asChild?: boolean;
|
|
6408
6577
|
offset?: number;
|
|
6409
6578
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
6410
|
-
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;
|
|
6411
6580
|
//#endregion
|
|
6412
6581
|
//#region src/components/Timeline/TimelineContent.d.ts
|
|
6413
|
-
type Props$
|
|
6414
|
-
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;
|
|
6415
6584
|
//#endregion
|
|
6416
6585
|
//#region src/components/Timeline/TimelineItem.d.ts
|
|
6417
|
-
type Props$
|
|
6418
|
-
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;
|
|
6419
6588
|
//#endregion
|
|
6420
6589
|
//#region src/components/Timeline/Timeline.d.ts
|
|
6421
|
-
type Props$
|
|
6590
|
+
type Props$35 = ComponentProps<'ul'> & {
|
|
6422
6591
|
variant?: 'solid' | 'dashed';
|
|
6423
6592
|
};
|
|
6424
|
-
declare function Timeline({ className, variant, ...rest }: Props$
|
|
6593
|
+
declare function Timeline({ className, variant, ...rest }: Props$35): import("react/jsx-runtime").JSX.Element;
|
|
6425
6594
|
declare namespace Timeline {
|
|
6426
6595
|
export { TimelineItem as Item };
|
|
6427
6596
|
export { TimelineContent as Content };
|
|
@@ -6429,34 +6598,34 @@ declare namespace Timeline {
|
|
|
6429
6598
|
}
|
|
6430
6599
|
//#endregion
|
|
6431
6600
|
//#region src/components/Truncated.d.ts
|
|
6432
|
-
type Props$
|
|
6601
|
+
type Props$34 = {
|
|
6433
6602
|
text: ReactNode;
|
|
6434
6603
|
tooltip?: ReactNode;
|
|
6435
6604
|
twoLines?: boolean;
|
|
6436
6605
|
noTooltip?: boolean;
|
|
6437
|
-
tooltipVariant?: Props$
|
|
6438
|
-
tooltipPlacement?: Props$
|
|
6606
|
+
tooltipVariant?: Props$8['variant'];
|
|
6607
|
+
tooltipPlacement?: Props$8['placement'];
|
|
6439
6608
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
6440
|
-
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;
|
|
6441
6610
|
//#endregion
|
|
6442
6611
|
//#region src/components/MarkedText/MarkedText.d.ts
|
|
6443
|
-
type Props$
|
|
6612
|
+
type Props$33 = {
|
|
6444
6613
|
source: string;
|
|
6445
6614
|
className?: string;
|
|
6446
6615
|
mark?: string;
|
|
6447
6616
|
isCaseSensitive?: boolean;
|
|
6448
6617
|
} & ComponentProps<'span'>;
|
|
6449
|
-
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;
|
|
6450
6619
|
//#endregion
|
|
6451
6620
|
//#region src/components/Kbd/KbdGroup.d.ts
|
|
6452
|
-
type Props$
|
|
6621
|
+
type Props$32 = {
|
|
6453
6622
|
separator?: string;
|
|
6454
6623
|
} & ComponentProps<'kbd'>;
|
|
6455
|
-
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;
|
|
6456
6625
|
//#endregion
|
|
6457
6626
|
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
6458
|
-
type Props$
|
|
6459
|
-
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;
|
|
6460
6629
|
//#endregion
|
|
6461
6630
|
//#region src/components/Kbd/styles.d.ts
|
|
6462
6631
|
declare const kbdVariants: (props?: ({
|
|
@@ -6464,8 +6633,8 @@ declare const kbdVariants: (props?: ({
|
|
|
6464
6633
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6465
6634
|
//#endregion
|
|
6466
6635
|
//#region src/components/Kbd/Kbd.d.ts
|
|
6467
|
-
type Props$
|
|
6468
|
-
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;
|
|
6469
6638
|
declare namespace Kbd {
|
|
6470
6639
|
export { KbdGroup as Group };
|
|
6471
6640
|
export { KbdSeparator as Separator };
|
|
@@ -6480,34 +6649,34 @@ type KeyRepresentation = {
|
|
|
6480
6649
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6481
6650
|
//#endregion
|
|
6482
6651
|
//#region src/components/Pagination/PaginationButton.d.ts
|
|
6483
|
-
type Props$
|
|
6652
|
+
type Props$29 = {
|
|
6484
6653
|
active?: boolean;
|
|
6485
6654
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
6486
|
-
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;
|
|
6487
6656
|
//#endregion
|
|
6488
6657
|
//#region src/components/Pagination/PaginationContent.d.ts
|
|
6489
|
-
type Props$
|
|
6490
|
-
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;
|
|
6491
6660
|
//#endregion
|
|
6492
6661
|
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
6493
|
-
type Props$
|
|
6494
|
-
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;
|
|
6495
6664
|
//#endregion
|
|
6496
6665
|
//#region src/components/Pagination/PaginationItem.d.ts
|
|
6497
|
-
type Props$
|
|
6498
|
-
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;
|
|
6499
6668
|
//#endregion
|
|
6500
6669
|
//#region src/components/Pagination/PaginationNext.d.ts
|
|
6501
|
-
type Props$
|
|
6502
|
-
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;
|
|
6503
6672
|
//#endregion
|
|
6504
6673
|
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
6505
|
-
type Props$
|
|
6506
|
-
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;
|
|
6507
6676
|
//#endregion
|
|
6508
6677
|
//#region src/components/Pagination/Pagination.d.ts
|
|
6509
|
-
type Props$
|
|
6510
|
-
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;
|
|
6511
6680
|
declare namespace Pagination {
|
|
6512
6681
|
export { PaginationContent as Content };
|
|
6513
6682
|
export { PaginationItem as Item };
|
|
@@ -6518,7 +6687,7 @@ declare namespace Pagination {
|
|
|
6518
6687
|
}
|
|
6519
6688
|
//#endregion
|
|
6520
6689
|
//#region src/components/DiffView/DiffView.d.ts
|
|
6521
|
-
type Props$
|
|
6690
|
+
type Props$22 = {
|
|
6522
6691
|
oldValue: string;
|
|
6523
6692
|
newValue: string;
|
|
6524
6693
|
ignoreWhitespace?: boolean;
|
|
@@ -6528,7 +6697,7 @@ type Props$21 = {
|
|
|
6528
6697
|
rightTitle: ReactNode;
|
|
6529
6698
|
rightTitleGutter?: ReactNode;
|
|
6530
6699
|
};
|
|
6531
|
-
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;
|
|
6532
6701
|
//#endregion
|
|
6533
6702
|
//#region src/components/DiffView/util.d.ts
|
|
6534
6703
|
declare const DiffType: {
|
|
@@ -6575,18 +6744,18 @@ declare const computeLineInformation: (oldString: string, newString: string, ign
|
|
|
6575
6744
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6576
6745
|
//#endregion
|
|
6577
6746
|
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
6578
|
-
type Props$
|
|
6747
|
+
type Props$21 = {
|
|
6579
6748
|
label: string;
|
|
6580
6749
|
sublabel?: string;
|
|
6581
6750
|
};
|
|
6582
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6751
|
+
declare const PaneHeader: ({ label, sublabel }: Props$21) => import("react/jsx-runtime").JSX.Element;
|
|
6583
6752
|
//#endregion
|
|
6584
6753
|
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
6585
|
-
type Props$
|
|
6754
|
+
type Props$20 = {
|
|
6586
6755
|
remainingConflicts: number;
|
|
6587
6756
|
remainingSafeChanges: number;
|
|
6588
6757
|
};
|
|
6589
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6758
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$20) => import("react/jsx-runtime").JSX.Element;
|
|
6590
6759
|
//#endregion
|
|
6591
6760
|
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
6592
6761
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
@@ -6723,16 +6892,16 @@ type RootProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
6723
6892
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
6724
6893
|
//#endregion
|
|
6725
6894
|
//#region src/blocks/Form/components/FormBody.d.ts
|
|
6726
|
-
type Props$
|
|
6895
|
+
type Props$19 = {
|
|
6727
6896
|
children: ReactNode;
|
|
6728
6897
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
6729
|
-
declare const FormBody: ({ children, className, ...formProps }: Props$
|
|
6898
|
+
declare const FormBody: ({ children, className, ...formProps }: Props$19) => import("react/jsx-runtime").JSX.Element;
|
|
6730
6899
|
//#endregion
|
|
6731
6900
|
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
6732
|
-
type Props$
|
|
6901
|
+
type Props$18 = {
|
|
6733
6902
|
children?: ReactNode;
|
|
6734
6903
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
6735
|
-
declare const SubmitButton: ({ children, ...buttonProps }: Props$
|
|
6904
|
+
declare const SubmitButton: ({ children, ...buttonProps }: Props$18) => import("react/jsx-runtime").JSX.Element;
|
|
6736
6905
|
//#endregion
|
|
6737
6906
|
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
6738
6907
|
/**
|
|
@@ -6743,39 +6912,39 @@ declare const SubmitButton: ({ children, ...buttonProps }: Props$17) => import("
|
|
|
6743
6912
|
declare const SubmitErrorAlert: () => import("react/jsx-runtime").JSX.Element;
|
|
6744
6913
|
//#endregion
|
|
6745
6914
|
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
6746
|
-
type Props$
|
|
6747
|
-
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;
|
|
6748
6917
|
//#endregion
|
|
6749
6918
|
//#region src/blocks/Form/connectors/NumberField.d.ts
|
|
6750
|
-
type Props$
|
|
6751
|
-
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;
|
|
6752
6921
|
//#endregion
|
|
6753
6922
|
//#region src/blocks/Form/connectors/OtpInputField.d.ts
|
|
6754
|
-
type Props$
|
|
6755
|
-
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;
|
|
6756
6925
|
//#endregion
|
|
6757
6926
|
//#region src/blocks/Form/connectors/PasswordField.d.ts
|
|
6758
|
-
type Props$
|
|
6759
|
-
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;
|
|
6760
6929
|
//#endregion
|
|
6761
6930
|
//#region src/blocks/Form/connectors/SelectField.d.ts
|
|
6762
|
-
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'> & {
|
|
6763
6932
|
items: readonly (SelectItem | SelectItemGroup)[];
|
|
6764
6933
|
triggerClassName?: string;
|
|
6765
6934
|
};
|
|
6766
|
-
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;
|
|
6767
6936
|
//#endregion
|
|
6768
6937
|
//#region src/blocks/Form/connectors/SwitchField.d.ts
|
|
6769
|
-
type Props$
|
|
6770
|
-
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;
|
|
6771
6940
|
//#endregion
|
|
6772
6941
|
//#region src/blocks/Form/connectors/TextareaField.d.ts
|
|
6773
|
-
type Props$
|
|
6774
|
-
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;
|
|
6775
6944
|
//#endregion
|
|
6776
6945
|
//#region src/blocks/Form/connectors/TextField.d.ts
|
|
6777
|
-
type Props$
|
|
6778
|
-
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;
|
|
6779
6948
|
//#endregion
|
|
6780
6949
|
//#region src/blocks/Form/formHook.d.ts
|
|
6781
6950
|
/**
|
|
@@ -6917,6 +7086,29 @@ declare const cn: (...classes: ClassValue[]) => string;
|
|
|
6917
7086
|
//#region src/utils/copyToClipboard.d.ts
|
|
6918
7087
|
declare const copyToClipboard: (text: string) => Promise<void>;
|
|
6919
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
|
|
6920
7112
|
//#region src/utils/mergeRefs.d.ts
|
|
6921
7113
|
type PossibleRef<T> = MutableRefObject<T> | RefCallback<T> | null;
|
|
6922
7114
|
/**
|
|
@@ -6929,7 +7121,7 @@ declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) => (node: T) => void;
|
|
|
6929
7121
|
declare const isMac: boolean;
|
|
6930
7122
|
//#endregion
|
|
6931
7123
|
//#region src/components/ZoomableSvg/ZoomableSvg.d.ts
|
|
6932
|
-
type Props$
|
|
7124
|
+
type Props$9 = {
|
|
6933
7125
|
/** Raw SVG markup. Sanitized internally with DOMPurify (SVG profile) before rendering, so it is
|
|
6934
7126
|
* safe even when it originates from user/LLM-controlled content. Non-SVG HTML is stripped. */
|
|
6935
7127
|
html: string;
|
|
@@ -6954,7 +7146,7 @@ type Props$8 = {
|
|
|
6954
7146
|
*/
|
|
6955
7147
|
renderActions?: (safeSvg: string) => ReactNode;
|
|
6956
7148
|
};
|
|
6957
|
-
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;
|
|
6958
7150
|
//#endregion
|
|
6959
7151
|
//#region src/components/ZoomableSvg/exportSvg.d.ts
|
|
6960
7152
|
declare const toSvgFileContent: (svg: string) => string;
|
|
@@ -7008,5 +7200,5 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
7008
7200
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7009
7201
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7010
7202
|
//#endregion
|
|
7011
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, 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, 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 };
|
|
7012
7204
|
//# sourceMappingURL=index.d.ts.map
|