@keboola/design 11.6.1 → 11.9.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 +16 -1
- package/CHANGELOG.md +86 -0
- package/COMPONENT-API.md +47 -46
- package/README.md +1 -1
- package/dist/{AIKit-CQxVwyAk.js → AIKit-ELIsegJz.js} +550 -103
- package/dist/AIKit-ELIsegJz.js.map +1 -0
- package/dist/{Alert-C4Y9IwMI.js → Alert-BsIM_oFK.js} +2 -2
- package/dist/{Alert-C4Y9IwMI.js.map → Alert-BsIM_oFK.js.map} +1 -1
- package/dist/{BrandEditor-CS9P4r2p.js → BrandEditor-BsTBM3s6.js} +4 -4
- package/dist/{BrandEditor-CS9P4r2p.js.map → BrandEditor-BsTBM3s6.js.map} +1 -1
- package/dist/{Breadcrumb-D1id7YXd.js → Breadcrumb-xqEUxfwn.js} +2 -2
- package/dist/{Breadcrumb-D1id7YXd.js.map → Breadcrumb-xqEUxfwn.js.map} +1 -1
- package/dist/{Checkbox-Bqr6zXcW.js → Checkbox-Dq5fPNrO.js} +2 -2
- package/dist/{Checkbox-Bqr6zXcW.js.map → Checkbox-Dq5fPNrO.js.map} +1 -1
- package/dist/{Clipboard-C2YBRfD8.js → Clipboard-BZitKiSA.js} +2 -2
- package/dist/{Clipboard-C2YBRfD8.js.map → Clipboard-BZitKiSA.js.map} +1 -1
- package/dist/{ClipboardButton-CrljClL1.js → ClipboardButton-KHQnPEh_.js} +2 -2
- package/dist/{ClipboardButton-CrljClL1.js.map → ClipboardButton-KHQnPEh_.js.map} +1 -1
- package/dist/{CodeEditor-C9AS8Ch0.js → CodeEditor-BJKJXA0c.js} +4 -4
- package/dist/{CodeEditor-C9AS8Ch0.js.map → CodeEditor-BJKJXA0c.js.map} +1 -1
- package/dist/{ColorInput-Dg87lKcR.js → ColorInput-Bj3dfPFA.js} +3 -3
- package/dist/{ColorInput-Dg87lKcR.js.map → ColorInput-Bj3dfPFA.js.map} +1 -1
- package/dist/{ColorModeSwitch-CsWLiTBX.js → ColorModeSwitch-CWt-DZGC.js} +2 -2
- package/dist/{ColorModeSwitch-CsWLiTBX.js.map → ColorModeSwitch-CWt-DZGC.js.map} +1 -1
- package/dist/{Combobox-BfanUAqY.js → Combobox-D8PrEqTG.js} +3 -3
- package/dist/{Combobox-BfanUAqY.js.map → Combobox-D8PrEqTG.js.map} +1 -1
- package/dist/{Command-CqxoI_De.js → Command-BDU3C1gg.js} +2 -2
- package/dist/{Command-CqxoI_De.js.map → Command-BDU3C1gg.js.map} +1 -1
- package/dist/{CopyField-Rx9HPTbJ.js → CopyField-BHRQUyuF.js} +2 -2
- package/dist/{CopyField-Rx9HPTbJ.js.map → CopyField-BHRQUyuF.js.map} +1 -1
- package/dist/{DateInput-DpifECUQ.js → DateInput-B6N8g0ra.js} +3 -3
- package/dist/{DateInput-DpifECUQ.js.map → DateInput-B6N8g0ra.js.map} +1 -1
- package/dist/{DateRangeInput-9MIw7P6L.js → DateRangeInput-7M9Z4cVO.js} +3 -3
- package/dist/{DateRangeInput-9MIw7P6L.js.map → DateRangeInput-7M9Z4cVO.js.map} +1 -1
- package/dist/{DropdownMenu-CASr-jgl.js → DropdownMenu-CgVwhDvl.js} +9 -4
- package/dist/DropdownMenu-CgVwhDvl.js.map +1 -0
- package/dist/{FieldItem-DtPTzNef.js → FieldItem-DZGIdiXE.js} +3 -3
- package/dist/{FieldItem-DtPTzNef.js.map → FieldItem-DZGIdiXE.js.map} +1 -1
- package/dist/{Form-DAaatlBk.js → Form-CcK7dRrC.js} +5 -5
- package/dist/{Form-DAaatlBk.js.map → Form-CcK7dRrC.js.map} +1 -1
- package/dist/{FormGroup-Bl8JmnzJ.js → FormGroup-DR_gZ25-.js} +3 -3
- package/dist/{FormGroup-Bl8JmnzJ.js.map → FormGroup-DR_gZ25-.js.map} +1 -1
- package/dist/{InputGroup-DcZRlVnN.js → InputGroup-Do8K2hvD.js} +2 -1
- package/dist/InputGroup-Do8K2hvD.js.map +1 -0
- package/dist/{Kbd-D1Azcc4g.js → Kbd-LCFMumoq.js} +2 -2
- package/dist/{Kbd-D1Azcc4g.js.map → Kbd-LCFMumoq.js.map} +1 -1
- package/dist/{MermaidDiagram-CujFxVzk.js → MermaidDiagram-ZG0iiDV_.js} +2 -2
- package/dist/{MermaidDiagram-CujFxVzk.js.map → MermaidDiagram-ZG0iiDV_.js.map} +1 -1
- package/dist/{Modal-Coj-H02o.js → Modal-I3VWk2oo.js} +2 -2
- package/dist/{Modal-Coj-H02o.js.map → Modal-I3VWk2oo.js.map} +1 -1
- package/dist/{ModalTitle-C76ke2eo.js → ModalTitle-CeLM_mX9.js} +2 -2
- package/dist/ModalTitle-CeLM_mX9.js.map +1 -0
- package/dist/{MultiActionButtonGroup-CNNoBQbv.js → MultiActionButtonGroup-CYZ8IgSf.js} +2 -2
- package/dist/{MultiActionButtonGroup-CNNoBQbv.js.map → MultiActionButtonGroup-CYZ8IgSf.js.map} +1 -1
- package/dist/{RadioGroup-CUBsuP7r.js → RadioGroup-Byc2mym4.js} +2 -2
- package/dist/{RadioGroup-CUBsuP7r.js.map → RadioGroup-Byc2mym4.js.map} +1 -1
- package/dist/{Search-DVpJuzr9.js → Search-Dhig_hPD.js} +2 -2
- package/dist/{Search-DVpJuzr9.js.map → Search-Dhig_hPD.js.map} +1 -1
- package/dist/{SearchInput-Q85p8Ews.js → SearchInput-92r2bkA7.js} +3 -3
- package/dist/{SearchInput-Q85p8Ews.js.map → SearchInput-92r2bkA7.js.map} +1 -1
- package/dist/{SectionNav-mpmSM3OC.js → SectionNav-CNLJsiVG.js} +3 -3
- package/dist/{SectionNav-mpmSM3OC.js.map → SectionNav-CNLJsiVG.js.map} +1 -1
- package/dist/{Sheet-Chf0kX1E.js → Sheet-OparjIi-.js} +2 -2
- package/dist/{Sheet-Chf0kX1E.js.map → Sheet-OparjIi-.js.map} +1 -1
- package/dist/{Sidebar-CTWsHZhF.js → Sidebar-CLEbBtNY.js} +190 -25
- package/dist/Sidebar-CLEbBtNY.js.map +1 -0
- package/dist/{Slider-Bv0B6lI0.js → Slider-DLclvRws.js} +2 -2
- package/dist/{Slider-Bv0B6lI0.js.map → Slider-DLclvRws.js.map} +1 -1
- package/dist/{TextInput-DiEMxVF6.js → TextInput-CFTf4Cz1.js} +5 -4
- package/dist/TextInput-CFTf4Cz1.js.map +1 -0
- package/dist/{ThemeProvider-BI6JWBdJ.js → ThemeProvider-DAmNn9Sd.js} +2 -2
- package/dist/{ThemeProvider-BI6JWBdJ.js.map → ThemeProvider-DAmNn9Sd.js.map} +1 -1
- package/dist/{Timeline-BG5Xogxh.js → Timeline-C8-wnRRr.js} +2 -2
- package/dist/{Timeline-BG5Xogxh.js.map → Timeline-C8-wnRRr.js.map} +1 -1
- package/dist/{ZoomableSvg-U_VH3QRO.js → ZoomableSvg-BZlk3PFJ.js} +3 -3
- package/dist/{ZoomableSvg-U_VH3QRO.js.map → ZoomableSvg-BZlk3PFJ.js.map} +1 -1
- package/dist/editors.js +2 -2
- package/dist/flint.js +1 -1
- package/dist/index.d.ts +900 -561
- package/dist/index.js +36 -34
- package/dist/internal/blocks/AIKit.js +2 -2
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/ChipEditor.js +137 -0
- package/dist/internal/blocks/ChipEditor.js.map +1 -0
- package/dist/internal/blocks/ClipboardButton.js +1 -1
- package/dist/internal/blocks/ColorInput.js +1 -1
- package/dist/internal/blocks/ColorModeSwitch.js +1 -1
- package/dist/internal/blocks/Command.js +1 -1
- package/dist/internal/blocks/CopyField.js +1 -1
- package/dist/internal/blocks/DateInput.js +1 -1
- package/dist/internal/blocks/DateRangeInput.js +1 -1
- package/dist/internal/blocks/ExportMenu.js +2 -2
- 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 +18 -28
- package/dist/internal/blocks/MultiCombobox.js.map +1 -1
- package/dist/internal/blocks/NumberInput.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 +2 -2
- package/dist/internal/blocks/SectionNav.js +1 -1
- package/dist/internal/blocks/SplitButton.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 +2 -2
- package/dist/internal/components/Alert.js +1 -1
- package/dist/internal/components/Avatar.js +1 -1
- package/dist/internal/components/Breadcrumb.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/DropdownMenu.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Kbd.js +1 -1
- package/dist/internal/components/Modal.js +1 -1
- package/dist/internal/components/RadioGroup.js +1 -1
- package/dist/internal/components/Search.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/StatusDot.js +67 -0
- package/dist/internal/components/StatusDot.js.map +1 -0
- package/dist/internal/components/ThemeProvider.js +1 -1
- package/dist/internal/components/Timeline.js +1 -1
- package/dist/internal/components/Tooltip.js +2 -2
- package/dist/internal/components/Truncated.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/internal/hooks/useScrollbarPosition.js +1 -1
- package/dist/internal/utils/mergeRefs.js +27 -9
- package/dist/internal/utils/mergeRefs.js.map +1 -1
- package/dist/internal/utils.js +2 -2
- package/dist/markdown-editor.js +5 -5
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.js +9 -9
- package/dist/styles.css +1 -1
- package/dist/testing.js +1 -1
- package/dist/useElement-BK3AAiIf.js +24 -0
- package/dist/useElement-BK3AAiIf.js.map +1 -0
- package/dist/{utils-DnkrFYqY.js → utils-BW4AE8VP.js} +31 -3
- package/dist/utils-BW4AE8VP.js.map +1 -0
- package/package.json +2 -1
- package/dist/AIKit-CQxVwyAk.js.map +0 -1
- package/dist/DropdownMenu-CASr-jgl.js.map +0 -1
- package/dist/InputGroup-DcZRlVnN.js.map +0 -1
- package/dist/ModalTitle-C76ke2eo.js.map +0 -1
- package/dist/Sidebar-CTWsHZhF.js.map +0 -1
- package/dist/TextInput-DiEMxVF6.js.map +0 -1
- package/dist/useElement-DkF6esWL.js +0 -15
- package/dist/useElement-DkF6esWL.js.map +0 -1
- package/dist/utils-DnkrFYqY.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ChangeClassification, DiffChunk, FieldItemProps, MergeConflict } from "
|
|
|
3
3
|
import { LucideIcon } from "./index-m-kQEWiY.js";
|
|
4
4
|
import { Slot, Slot as Slot$1 } from "@radix-ui/react-slot";
|
|
5
5
|
import * as React$2 from "react";
|
|
6
|
-
import React$1, { ButtonHTMLAttributes, CSSProperties, ChangeEvent, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentRef, Dispatch, FocusEvent, HTMLAttributes, KeyboardEvent, MouseEvent, MouseEventHandler,
|
|
6
|
+
import React$1, { ButtonHTMLAttributes, CSSProperties, ChangeEvent, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ComponentRef, Dispatch, FocusEvent, HTMLAttributes, KeyboardEvent, MouseEvent, MouseEventHandler, OptionHTMLAttributes, PropsWithChildren, ReactNode, Ref, RefCallback, RefObject, SelectHTMLAttributes, SetStateAction, TableHTMLAttributes, ThHTMLAttributes } from "react";
|
|
7
7
|
import { ClassValue } from "clsx";
|
|
8
8
|
import { Content, Root as Root$1, Trigger as Trigger$1 } from "@radix-ui/react-tooltip";
|
|
9
9
|
import { VariantProps } from "class-variance-authority";
|
|
@@ -56,7 +56,7 @@ declare const argoVariants: (props?: ({
|
|
|
56
56
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
57
57
|
* composed as children — `<Button><Trash2 className="tw:size-4" /> Delete</Button>`.
|
|
58
58
|
*/
|
|
59
|
-
type Props$
|
|
59
|
+
type Props$269 = {
|
|
60
60
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
61
61
|
isLoading?: boolean;
|
|
62
62
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
@@ -75,31 +75,31 @@ type Props$263 = {
|
|
|
75
75
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
76
76
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
77
77
|
*/
|
|
78
|
-
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$269) => import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region src/components/Button/ButtonInline.d.ts
|
|
81
81
|
declare const buttonInlineVariants: (props?: ({
|
|
82
82
|
color?: "custom" | "danger" | "dark" | "link" | "muted" | null | undefined;
|
|
83
83
|
variant?: "custom" | "link" | "link-reverse" | null | undefined;
|
|
84
84
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
85
|
-
type Props$
|
|
85
|
+
type Props$268 = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
86
86
|
asChild?: boolean;
|
|
87
87
|
};
|
|
88
|
-
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$268) => import("react/jsx-runtime").JSX.Element;
|
|
89
89
|
//#endregion
|
|
90
90
|
//#region src/components/ButtonGroup/ButtonGroup.d.ts
|
|
91
91
|
declare const buttonGroupVariant: (props?: ({
|
|
92
92
|
variant?: "block" | "inline" | null | undefined;
|
|
93
93
|
space?: "compact" | "extra-small" | "large" | "little-small" | "medium" | "small" | null | undefined;
|
|
94
94
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
95
|
-
type Props$
|
|
95
|
+
type Props$267 = {
|
|
96
96
|
children: ReactNode;
|
|
97
97
|
className?: string;
|
|
98
98
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
99
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
99
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$267) => import("react/jsx-runtime").JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
102
|
-
type Props$
|
|
102
|
+
type Props$266 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
103
103
|
/**
|
|
104
104
|
* Fix for `autoFocus` on inputs not working correctly in modals.
|
|
105
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.
|
|
@@ -111,13 +111,13 @@ type Props$260 = ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
|
111
111
|
isLoading?: boolean;
|
|
112
112
|
iconClassName?: string;
|
|
113
113
|
};
|
|
114
|
-
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$266) => import("react/jsx-runtime").JSX.Element;
|
|
115
115
|
//#endregion
|
|
116
116
|
//#region src/blocks/SplitButton/SplitButton.d.ts
|
|
117
117
|
type Variant$9 = ComponentProps<typeof Button>['variant'];
|
|
118
118
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
119
119
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
120
|
-
type Props$
|
|
120
|
+
type Props$265 = {
|
|
121
121
|
actions?: ReactNode;
|
|
122
122
|
isActionsOpen?: boolean;
|
|
123
123
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -126,7 +126,7 @@ type Props$259 = {
|
|
|
126
126
|
variant?: Exclude<Variant$9, 'inline' | 'invisible'>;
|
|
127
127
|
size?: SpitButtonSize;
|
|
128
128
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
129
|
-
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$265) => import("react/jsx-runtime").JSX.Element;
|
|
130
130
|
declare const SplitButton: typeof SplitButtonBase & {
|
|
131
131
|
Action: typeof DropdownMenuItem;
|
|
132
132
|
Actions: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -136,23 +136,24 @@ declare const SplitButton: typeof SplitButtonBase & {
|
|
|
136
136
|
declare const tooltipVariants: (props?: ({
|
|
137
137
|
variant?: "action" | "explanatory" | null | undefined;
|
|
138
138
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
139
|
-
type Props$
|
|
139
|
+
type Props$264 = {
|
|
140
140
|
keepOpenOnPointerDownOutside?: boolean;
|
|
141
141
|
placement?: ComponentProps<typeof Content>['side'];
|
|
142
142
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
143
|
-
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$264) => import("react/jsx-runtime").JSX.Element;
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/components/Tooltip/TooltipRoot.d.ts
|
|
146
|
-
type Props$
|
|
147
|
-
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$
|
|
146
|
+
type Props$263 = ComponentProps<typeof Root$1>;
|
|
147
|
+
declare const TooltipRoot: ({ children, delayDuration, ...rest }: Props$263) => import("react/jsx-runtime").JSX.Element;
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region src/components/Tooltip/TooltipTrigger.d.ts
|
|
150
|
-
type Props$
|
|
150
|
+
type Props$262 = {
|
|
151
151
|
keepOpenOnClick?: boolean;
|
|
152
152
|
} & ComponentProps<typeof Trigger$1>;
|
|
153
|
-
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$262) => import("react/jsx-runtime").JSX.Element;
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
156
|
+
declare const HINT_UNDERLINE_CLASS_NAME = "tw:cursor-help tw:underline tw:decoration-dashed tw:decoration-neutral-300 tw:underline-offset-2";
|
|
156
157
|
type TriggerProps$1 = {
|
|
157
158
|
triggerAsChild?: boolean;
|
|
158
159
|
};
|
|
@@ -160,7 +161,7 @@ type TriggerProps$1 = {
|
|
|
160
161
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
161
162
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
162
163
|
*/
|
|
163
|
-
type Props$
|
|
164
|
+
type Props$10 = {
|
|
164
165
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
165
166
|
keepOpenOnTriggerClick?: boolean;
|
|
166
167
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -173,11 +174,13 @@ type Props$8 = {
|
|
|
173
174
|
forceShow?: boolean;
|
|
174
175
|
/** Hover delay before the tooltip opens, in ms. Defaults to the shared 300ms. */
|
|
175
176
|
delayDuration?: number;
|
|
177
|
+
/** Mark the trigger with the shared dashed-underline hover affordance. Works with `triggerAsChild`. */
|
|
178
|
+
hintUnderline?: boolean;
|
|
176
179
|
className?: string;
|
|
177
180
|
} & TriggerProps$1 & Pick<ComponentProps<typeof TooltipContent>, 'variant' | 'className'>;
|
|
178
181
|
/** Re-export of Radix `Tooltip.Provider`. Mount once at the app root so tooltips share delay state. */
|
|
179
182
|
declare const TooltipProvider: import("react").FC<import("@radix-ui/react-tooltip").TooltipProviderProps>;
|
|
180
|
-
declare function Tooltip({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild }: Props$
|
|
183
|
+
declare function Tooltip({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, delayDuration, triggerAsChild, hintUnderline }: Props$10): import("react/jsx-runtime").JSX.Element;
|
|
181
184
|
declare namespace Tooltip {
|
|
182
185
|
export { TooltipRoot as Root };
|
|
183
186
|
export { TooltipContent as Content };
|
|
@@ -185,7 +188,7 @@ declare namespace Tooltip {
|
|
|
185
188
|
}
|
|
186
189
|
//#endregion
|
|
187
190
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButton.d.ts
|
|
188
|
-
type Props$
|
|
191
|
+
type Props$261 = {
|
|
189
192
|
disabled?: boolean;
|
|
190
193
|
icon: ReactNode;
|
|
191
194
|
isLoading?: boolean;
|
|
@@ -195,13 +198,13 @@ type Props$255 = {
|
|
|
195
198
|
tooltipVariant?: ComponentProps<typeof Tooltip>['variant'];
|
|
196
199
|
'data-testid'?: string;
|
|
197
200
|
};
|
|
198
|
-
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$
|
|
201
|
+
declare const MultiActionButton: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, 'data-testid': dataTestId }: Props$261) => import("react/jsx-runtime").JSX.Element;
|
|
199
202
|
//#endregion
|
|
200
203
|
//#region src/blocks/MultiActionButtonGroup/MultiActionButtonGroup.d.ts
|
|
201
|
-
type Props$
|
|
204
|
+
type Props$260 = {
|
|
202
205
|
className?: string;
|
|
203
206
|
} & PropsWithChildren;
|
|
204
|
-
declare function MultiActionButtonGroup({ children, className }: Props$
|
|
207
|
+
declare function MultiActionButtonGroup({ children, className }: Props$260): import("react/jsx-runtime").JSX.Element;
|
|
205
208
|
declare namespace MultiActionButtonGroup {
|
|
206
209
|
export { MultiActionButton as Button };
|
|
207
210
|
}
|
|
@@ -213,12 +216,12 @@ declare const toggleVariants: (props?: ({
|
|
|
213
216
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
214
217
|
iconOnly?: boolean | null | undefined;
|
|
215
218
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
216
|
-
type Props$
|
|
219
|
+
type Props$259 = {
|
|
217
220
|
icon?: ReactNode;
|
|
218
221
|
badge?: ReactNode;
|
|
219
222
|
orientation?: 'horizontal' | 'vertical';
|
|
220
223
|
} & ComponentProps<typeof Root$3> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly' | 'orientation'>;
|
|
221
|
-
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$
|
|
224
|
+
declare const Toggle: ({ ref, className, variant, size, orientation, children, icon, badge, disabled, ...props }: Props$259) => import("react/jsx-runtime").JSX.Element;
|
|
222
225
|
//#endregion
|
|
223
226
|
//#region src/components/ToggleGroup/ToggleGroup.d.ts
|
|
224
227
|
declare const rootVariants: (props?: ({
|
|
@@ -238,30 +241,30 @@ declare const ToggleGroup: typeof Root$20 & {
|
|
|
238
241
|
};
|
|
239
242
|
//#endregion
|
|
240
243
|
//#region src/components/Clipboard/Clipboard.d.ts
|
|
241
|
-
type Props$
|
|
242
|
-
tooltip?: Props$
|
|
243
|
-
tooltipPlacement?: Props$
|
|
244
|
-
tooltipVariant?: Props$
|
|
245
|
-
asChild?: Props$
|
|
244
|
+
type Props$258 = {
|
|
245
|
+
tooltip?: Props$10['tooltip'];
|
|
246
|
+
tooltipPlacement?: Props$10['placement'];
|
|
247
|
+
tooltipVariant?: Props$10['variant'];
|
|
248
|
+
asChild?: Props$10['triggerAsChild'];
|
|
246
249
|
text?: string | (() => string);
|
|
247
250
|
} & ComponentProps<'button'>;
|
|
248
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
251
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$258) => import("react/jsx-runtime").JSX.Element;
|
|
249
252
|
//#endregion
|
|
250
253
|
//#region src/blocks/ClipboardButton/ClipboardButton.d.ts
|
|
251
254
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
252
255
|
type ButtonProps$4 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
253
|
-
type Props$
|
|
256
|
+
type Props$257 = ClipboardProps$1 & ButtonProps$4 & {
|
|
254
257
|
icon?: ReactNode;
|
|
255
258
|
};
|
|
256
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
259
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$257) => import("react/jsx-runtime").JSX.Element;
|
|
257
260
|
//#endregion
|
|
258
261
|
//#region src/blocks/ClipboardButton/ClipboardInline.d.ts
|
|
259
262
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
260
263
|
type ButtonProps$3 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
261
|
-
type Props$
|
|
264
|
+
type Props$256 = {
|
|
262
265
|
hideIcon?: boolean;
|
|
263
266
|
} & ClipboardProps & ButtonProps$3;
|
|
264
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
267
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$256) => import("react/jsx-runtime").JSX.Element;
|
|
265
268
|
//#endregion
|
|
266
269
|
//#region src/blocks/ExportMenu/ExportMenu.d.ts
|
|
267
270
|
type ExportMenuItem = {
|
|
@@ -269,7 +272,7 @@ type ExportMenuItem = {
|
|
|
269
272
|
label: string;
|
|
270
273
|
onSelect: () => void;
|
|
271
274
|
};
|
|
272
|
-
type Props$
|
|
275
|
+
type Props$255 = {
|
|
273
276
|
items: ExportMenuItem[];
|
|
274
277
|
/** Accessible name + tooltip for the trigger, e.g. "Export table". */
|
|
275
278
|
label: string;
|
|
@@ -291,7 +294,7 @@ type Props$249 = {
|
|
|
291
294
|
* which in turn pulls `ScrollArea`) plus two more external deps behind the lazy
|
|
292
295
|
* boundary. Callers already paying for the barrel inject this instead.
|
|
293
296
|
*/
|
|
294
|
-
declare const ExportMenu: ({ items, label, size, variant }: Props$
|
|
297
|
+
declare const ExportMenu: ({ items, label, size, variant }: Props$255) => import("react/jsx-runtime").JSX.Element;
|
|
295
298
|
//#endregion
|
|
296
299
|
//#region src/blocks/CopyField/CopyBox.d.ts
|
|
297
300
|
type CopyBoxProps = {
|
|
@@ -488,11 +491,11 @@ declare const LABELS$1: {
|
|
|
488
491
|
readonly signup: 'Sign up with Microsoft';
|
|
489
492
|
readonly continue: 'Continue with Microsoft';
|
|
490
493
|
};
|
|
491
|
-
type Props$
|
|
494
|
+
type Props$254 = ComponentPropsWithRef<'button'> & {
|
|
492
495
|
label?: keyof typeof LABELS$1;
|
|
493
496
|
isLoading?: boolean;
|
|
494
497
|
};
|
|
495
|
-
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
498
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$254) => import("react/jsx-runtime").JSX.Element;
|
|
496
499
|
//#endregion
|
|
497
500
|
//#region src/blocks/GoogleButton/GoogleButton.d.ts
|
|
498
501
|
declare const LABELS: {
|
|
@@ -506,15 +509,15 @@ declare const variants$6: (props?: ({
|
|
|
506
509
|
shape?: "circle" | "rectangular" | null | undefined;
|
|
507
510
|
size?: "default" | "icon" | null | undefined;
|
|
508
511
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
509
|
-
type Props$
|
|
512
|
+
type Props$253 = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$6> & {
|
|
510
513
|
label?: keyof typeof LABELS;
|
|
511
514
|
isLoading?: boolean;
|
|
512
515
|
};
|
|
513
|
-
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$
|
|
516
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$253) => import("react/jsx-runtime").JSX.Element;
|
|
514
517
|
//#endregion
|
|
515
518
|
//#region src/components/Link.d.ts
|
|
516
|
-
type Props$
|
|
517
|
-
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$
|
|
519
|
+
type Props$252 = ComponentProps<'a'>;
|
|
520
|
+
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$252) => import("react/jsx-runtime").JSX.Element;
|
|
518
521
|
//#endregion
|
|
519
522
|
//#region src/components/AlertModal/variant.d.ts
|
|
520
523
|
/**
|
|
@@ -524,7 +527,7 @@ declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }
|
|
|
524
527
|
type AlertModalVariant = 'info' | 'warning' | 'danger' | 'success';
|
|
525
528
|
//#endregion
|
|
526
529
|
//#region src/components/AlertModal/AlertModalContent.d.ts
|
|
527
|
-
type Props$
|
|
530
|
+
type Props$251 = {
|
|
528
531
|
variant?: AlertModalVariant;
|
|
529
532
|
icon?: ReactNode;
|
|
530
533
|
title?: ReactNode;
|
|
@@ -534,23 +537,23 @@ type Props$245 = {
|
|
|
534
537
|
confirmDisabled?: boolean;
|
|
535
538
|
container?: ComponentProps<typeof Portal$1>['container'];
|
|
536
539
|
} & Omit<ComponentProps<typeof Content$1>, 'title'>;
|
|
537
|
-
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$
|
|
540
|
+
declare const AlertModalContent: ({ variant, icon, title, cancelLabel, confirmLabel: actionLabel, confirmDisabled, container, className, children, onEscapeKeyDown, ...props }: Props$251) => import("react/jsx-runtime").JSX.Element;
|
|
538
541
|
//#endregion
|
|
539
542
|
//#region src/components/AlertModal/AlertModalTrigger.d.ts
|
|
540
|
-
type Props$
|
|
541
|
-
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$
|
|
543
|
+
type Props$250 = ComponentPropsWithRef<typeof Trigger$3>;
|
|
544
|
+
declare const AlertModalTrigger: ({ ref, onClick, onKeyDown, ...props }: Props$250) => import("react/jsx-runtime").JSX.Element;
|
|
542
545
|
//#endregion
|
|
543
546
|
//#region src/components/AlertModal/AlertModal.d.ts
|
|
544
547
|
type ConfirmHandler = (event: MouseEvent<HTMLButtonElement>) => void | Promise<unknown>;
|
|
545
548
|
type CancelHandler = (event: MouseEvent<HTMLButtonElement>) => void;
|
|
546
|
-
type Props$
|
|
549
|
+
type Props$249 = {
|
|
547
550
|
onConfirm?: ConfirmHandler;
|
|
548
551
|
onCancel?: CancelHandler;
|
|
549
552
|
skipAsyncWait?: boolean;
|
|
550
553
|
/** Marks the confirm action busy from the outside, on top of the state inferred from a thenable `onConfirm`. */
|
|
551
554
|
isLoading?: boolean;
|
|
552
555
|
} & ComponentProps<typeof Root$4>;
|
|
553
|
-
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$
|
|
556
|
+
declare function AlertModal({ children, onConfirm, onCancel, skipAsyncWait, isLoading, open, defaultOpen, onOpenChange, ...rest }: Props$249): import("react/jsx-runtime").JSX.Element;
|
|
554
557
|
declare namespace AlertModal {
|
|
555
558
|
export { AlertModalTrigger as Trigger };
|
|
556
559
|
export { AlertModalContent as Content };
|
|
@@ -558,23 +561,23 @@ declare namespace AlertModal {
|
|
|
558
561
|
//#endregion
|
|
559
562
|
//#region src/components/Modal/ModalBody.d.ts
|
|
560
563
|
/** Props for `Modal.Body`. Accepts all `<div>` attributes; `as="form"` is reserved for future use. */
|
|
561
|
-
type Props$
|
|
564
|
+
type Props$248 = ComponentProps<'div'> & {
|
|
562
565
|
as?: 'form';
|
|
563
566
|
};
|
|
564
567
|
/**
|
|
565
568
|
* Scrollable body slot for `Modal`. Place form fields, content blocks, or detail panels here.
|
|
566
569
|
* Takes available height inside `Modal.Content` and scrolls when content overflows.
|
|
567
570
|
*/
|
|
568
|
-
declare const ModalBody: ({ className, ...props }: Props$
|
|
571
|
+
declare const ModalBody: ({ className, ...props }: Props$248) => import("react/jsx-runtime").JSX.Element;
|
|
569
572
|
//#endregion
|
|
570
573
|
//#region src/components/Modal/ModalContent.d.ts
|
|
571
|
-
type Props$
|
|
574
|
+
type Props$247 = ComponentProps<typeof Content$2> & {
|
|
572
575
|
size?: 'small' | 'medium' | 'large';
|
|
573
576
|
};
|
|
574
|
-
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$
|
|
577
|
+
declare const ModalContent: ({ size, className, children, onEscapeKeyDown, ...props }: Props$247) => import("react/jsx-runtime").JSX.Element;
|
|
575
578
|
//#endregion
|
|
576
579
|
//#region src/components/Modal/ModalFooter.d.ts
|
|
577
|
-
type Props$
|
|
580
|
+
type Props$246 = ComponentPropsWithRef<'div'>;
|
|
578
581
|
/**
|
|
579
582
|
* The modal's action row.
|
|
580
583
|
*
|
|
@@ -587,10 +590,10 @@ type Props$240 = ComponentPropsWithRef<'div'>;
|
|
|
587
590
|
* displaces only within a group. `tw:justify-between` replaces `justify-end`; `tw:flex-col`
|
|
588
591
|
* leaves `items-center` and the gap in place, so a stacked footer wants `tw:items-stretch` too.
|
|
589
592
|
*/
|
|
590
|
-
declare const ModalFooter: ({ className, ...props }: Props$
|
|
593
|
+
declare const ModalFooter: ({ className, ...props }: Props$246) => import("react/jsx-runtime").JSX.Element;
|
|
591
594
|
//#endregion
|
|
592
595
|
//#region src/components/Modal/ModalHeader.d.ts
|
|
593
|
-
type Props$
|
|
596
|
+
type Props$245 = {
|
|
594
597
|
/** Status icon slot — `<Modal.Icon />` or `<Modal.Image />`. */
|
|
595
598
|
icon?: ReactNode;
|
|
596
599
|
/** Visible subtitle below the title (also fills `aria-describedby`). */
|
|
@@ -603,11 +606,11 @@ type Props$239 = {
|
|
|
603
606
|
hideCloseIcon?: boolean;
|
|
604
607
|
} & ComponentProps<'div'>;
|
|
605
608
|
/** Modal header: `[icon] | title (children) | actions + close` on row 1, `description` on row 2. */
|
|
606
|
-
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$
|
|
609
|
+
declare const ModalHeader: ({ className, icon, description, 'aria-description': ariaDescription, actions, hideCloseIcon, children, ...props }: Props$245) => import("react/jsx-runtime").JSX.Element;
|
|
607
610
|
//#endregion
|
|
608
611
|
//#region src/components/Modal/ModalIcon.d.ts
|
|
609
612
|
type NamedColor = 'orange' | 'blue' | 'red' | 'green' | 'gray' | 'violet';
|
|
610
|
-
type Props$
|
|
613
|
+
type Props$244 = {
|
|
611
614
|
color: NamedColor | (string & {});
|
|
612
615
|
icon: ReactNode;
|
|
613
616
|
};
|
|
@@ -625,25 +628,25 @@ type Props$238 = {
|
|
|
625
628
|
* `blue` info, `gray` neutral, `violet` agent) to encode meaning; the palette stays fixed across
|
|
626
629
|
* brand themes.
|
|
627
630
|
*/
|
|
628
|
-
declare const ModalIcon: ({ color, icon }: Props$
|
|
631
|
+
declare const ModalIcon: ({ color, icon }: Props$244) => import("react/jsx-runtime").JSX.Element;
|
|
629
632
|
//#endregion
|
|
630
633
|
//#region src/components/Modal/ModalImage.d.ts
|
|
631
|
-
type Props$
|
|
634
|
+
type Props$243 = {
|
|
632
635
|
src: string;
|
|
633
636
|
/** Accessible alt text. Defaults to `""` (decorative) — provide it when the image carries meaning. */
|
|
634
637
|
alt?: string;
|
|
635
638
|
};
|
|
636
|
-
declare const ModalImage: ({ src, alt }: Props$
|
|
639
|
+
declare const ModalImage: ({ src, alt }: Props$243) => import("react/jsx-runtime").JSX.Element | null;
|
|
637
640
|
//#endregion
|
|
638
641
|
//#region src/components/Modal/ModalOverlay.d.ts
|
|
639
|
-
type Props$
|
|
642
|
+
type Props$242 = ComponentProps<typeof Overlay$1> & {
|
|
640
643
|
disableTransition?: boolean;
|
|
641
644
|
};
|
|
642
|
-
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$
|
|
645
|
+
declare const ModalOverlay: ({ ref, className, disableTransition, ...props }: Props$242) => import("react/jsx-runtime").JSX.Element;
|
|
643
646
|
//#endregion
|
|
644
647
|
//#region src/components/Modal/Modal.d.ts
|
|
645
|
-
type Props$
|
|
646
|
-
declare function Modal(props: Props$
|
|
648
|
+
type Props$241 = ComponentProps<typeof Root$5>;
|
|
649
|
+
declare function Modal(props: Props$241): import("react/jsx-runtime").JSX.Element;
|
|
647
650
|
declare namespace Modal {
|
|
648
651
|
export { Close };
|
|
649
652
|
export { Trigger$4 as Trigger };
|
|
@@ -657,13 +660,13 @@ declare namespace Modal {
|
|
|
657
660
|
}
|
|
658
661
|
//#endregion
|
|
659
662
|
//#region src/components/FullScreenModal/FullScreenModalBody.d.ts
|
|
660
|
-
type Props$
|
|
661
|
-
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$
|
|
663
|
+
type Props$240 = HTMLAttributes<HTMLDivElement>;
|
|
664
|
+
declare const FullScreenModalBody: ({ ref, className, children, ...props }: Props$240 & {
|
|
662
665
|
ref?: Ref<HTMLDivElement>;
|
|
663
666
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
664
667
|
//#endregion
|
|
665
668
|
//#region src/components/FullScreenModal/FullScreenModalHeader.d.ts
|
|
666
|
-
type Props$
|
|
669
|
+
type Props$239 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
667
670
|
title: ReactNode;
|
|
668
671
|
titleClassName?: string;
|
|
669
672
|
titleWrapperClassName?: string;
|
|
@@ -672,17 +675,17 @@ type Props$233 = PropsWithChildren<Omit<HTMLAttributes<HTMLDivElement>, 'title'>
|
|
|
672
675
|
onClose?: () => void;
|
|
673
676
|
showPreviousTitle?: boolean;
|
|
674
677
|
}>;
|
|
675
|
-
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$
|
|
678
|
+
declare const FullScreenModalHeader: ({ title, titleClassName, titleWrapperClassName, defaultTitleStyles, isTitleWithIcon, children, onClose, className, showPreviousTitle, ...props }: Props$239) => import("react/jsx-runtime").JSX.Element;
|
|
676
679
|
//#endregion
|
|
677
680
|
//#region src/components/FullScreenModal/FullScreenModalRoot.d.ts
|
|
678
|
-
type Props$
|
|
681
|
+
type Props$238 = HTMLAttributes<HTMLDivElement> & {
|
|
679
682
|
children: ReactNode;
|
|
680
683
|
/** Lock body scroll when modal is open. Default: true */
|
|
681
684
|
lockBodyScroll?: boolean;
|
|
682
685
|
/** Callback when ESC key is pressed */
|
|
683
686
|
onEscapeKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
684
687
|
};
|
|
685
|
-
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$
|
|
688
|
+
declare const FullScreenModalRoot: ({ children, className, lockBodyScroll, onEscapeKeyDown, onKeyDown, ...props }: Props$238) => import("react").ReactPortal;
|
|
686
689
|
//#endregion
|
|
687
690
|
//#region src/components/FullScreenModal/FullScreenModal.d.ts
|
|
688
691
|
declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
@@ -691,42 +694,42 @@ declare const FullScreenModal: typeof FullScreenModalRoot & {
|
|
|
691
694
|
};
|
|
692
695
|
//#endregion
|
|
693
696
|
//#region src/components/Sheet/SheetBody.d.ts
|
|
694
|
-
type Props$
|
|
695
|
-
declare const SheetBody: ({ className, ...rest }: Props$
|
|
697
|
+
type Props$237 = ComponentProps<'div'>;
|
|
698
|
+
declare const SheetBody: ({ className, ...rest }: Props$237) => import("react/jsx-runtime").JSX.Element;
|
|
696
699
|
//#endregion
|
|
697
700
|
//#region src/components/Sheet/SheetContent.d.ts
|
|
698
701
|
declare const sheetContentVariants: (props?: ({
|
|
699
702
|
disableTransition?: boolean | null | undefined;
|
|
700
703
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
701
704
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
702
|
-
type Props$
|
|
705
|
+
type Props$236 = ComponentProps<typeof Content$2> & {
|
|
703
706
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
704
707
|
hideOverlay?: boolean;
|
|
705
708
|
keepOpenOnPointerDownOutside?: boolean;
|
|
706
709
|
} & VariantProps<typeof sheetContentVariants> & Pick<ComponentProps<typeof Portal$2>, 'container'>;
|
|
707
|
-
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$
|
|
710
|
+
declare const SheetContent: ({ className, children, side, disableTransition, hideOverlay, keepOpenOnPointerDownOutside, onPointerDownOutside, onInteractOutside, container, ...props }: Props$236) => import("react/jsx-runtime").JSX.Element;
|
|
708
711
|
//#endregion
|
|
709
712
|
//#region src/components/Sheet/SheetFooter.d.ts
|
|
710
|
-
type Props$
|
|
711
|
-
declare const SheetFooter: ({ className, ...props }: Props$
|
|
713
|
+
type Props$235 = ComponentProps<'div'>;
|
|
714
|
+
declare const SheetFooter: ({ className, ...props }: Props$235) => import("react/jsx-runtime").JSX.Element;
|
|
712
715
|
//#endregion
|
|
713
716
|
//#region src/components/Sheet/SheetHeader.d.ts
|
|
714
|
-
type Props$
|
|
717
|
+
type Props$234 = {
|
|
715
718
|
title?: ReactNode;
|
|
716
719
|
description?: ReactNode;
|
|
717
720
|
hideCloseIcon?: boolean;
|
|
718
721
|
} & ComponentProps<'div'>;
|
|
719
|
-
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$
|
|
722
|
+
declare const SheetHeader: ({ className, children, hideCloseIcon, title, description, ...props }: Props$234) => import("react/jsx-runtime").JSX.Element;
|
|
720
723
|
//#endregion
|
|
721
724
|
//#region src/components/Sheet/SheetTitle.d.ts
|
|
722
|
-
type Props$
|
|
725
|
+
type Props$233 = ComponentProps<typeof Title$1> & {
|
|
723
726
|
visuallyHidden?: boolean;
|
|
724
727
|
};
|
|
725
|
-
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$
|
|
728
|
+
declare const SheetTitle: ({ className, visuallyHidden, ...props }: Props$233) => import("react/jsx-runtime").JSX.Element;
|
|
726
729
|
//#endregion
|
|
727
730
|
//#region src/components/Sheet/Sheet.d.ts
|
|
728
|
-
type Props$
|
|
729
|
-
declare function Sheet(props: Props$
|
|
731
|
+
type Props$232 = ComponentProps<typeof Root$5>;
|
|
732
|
+
declare function Sheet(props: Props$232): import("react/jsx-runtime").JSX.Element;
|
|
730
733
|
declare namespace Sheet {
|
|
731
734
|
export { Close };
|
|
732
735
|
export { Trigger$4 as Trigger };
|
|
@@ -742,7 +745,7 @@ declare const variants$5: (props?: ({
|
|
|
742
745
|
variant?: "argo" | "default" | null | undefined;
|
|
743
746
|
matchTriggerWidth?: boolean | null | undefined;
|
|
744
747
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
745
|
-
type Props$
|
|
748
|
+
type Props$231 = ComponentProps<typeof Content$3> & Omit<VariantProps<typeof variants$5>, 'variant'> & {
|
|
746
749
|
/**
|
|
747
750
|
* Where the popover portals to. Defaults to `document.body`; a host that
|
|
748
751
|
* scopes its own theme passes the element that carries it, so the panel is
|
|
@@ -750,11 +753,11 @@ type Props$225 = ComponentProps<typeof Content$3> & Omit<VariantProps<typeof var
|
|
|
750
753
|
*/
|
|
751
754
|
container?: ComponentProps<typeof Portal$3>['container'];
|
|
752
755
|
};
|
|
753
|
-
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$
|
|
756
|
+
declare const PopoverContent: ({ ref, className, align, sideOffset, matchTriggerWidth, children, onEscapeKeyDown, container, ...props }: Props$231) => import("react/jsx-runtime").JSX.Element;
|
|
754
757
|
//#endregion
|
|
755
758
|
//#region src/components/Popover/Popover.d.ts
|
|
756
|
-
type Props$
|
|
757
|
-
declare function Popover(props: Props$
|
|
759
|
+
type Props$230 = ComponentProps<typeof Root$6>;
|
|
760
|
+
declare function Popover(props: Props$230): import("react/jsx-runtime").JSX.Element;
|
|
758
761
|
declare namespace Popover {
|
|
759
762
|
export { PopoverContent as Content };
|
|
760
763
|
export { Trigger$5 as Trigger };
|
|
@@ -771,8 +774,8 @@ type PopconfirmContextType = {
|
|
|
771
774
|
};
|
|
772
775
|
//#endregion
|
|
773
776
|
//#region src/components/Popconfirm/PopconfirmBody.d.ts
|
|
774
|
-
type Props$
|
|
775
|
-
declare const PopconfirmBody: (props: Props$
|
|
777
|
+
type Props$229 = ComponentProps<'div'>;
|
|
778
|
+
declare const PopconfirmBody: (props: Props$229) => import("react/jsx-runtime").JSX.Element;
|
|
776
779
|
//#endregion
|
|
777
780
|
//#region src/components/Popconfirm/PopconfirmCancel.d.ts
|
|
778
781
|
type SlotProps$5 = {
|
|
@@ -782,8 +785,8 @@ type ButtonProps$2 = {
|
|
|
782
785
|
asChild?: false;
|
|
783
786
|
children?: ReactNode;
|
|
784
787
|
} & Omit<ComponentProps<typeof Button>, 'children'>;
|
|
785
|
-
type Props$
|
|
786
|
-
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
788
|
+
type Props$228 = SlotProps$5 | ButtonProps$2;
|
|
789
|
+
declare const PopconfirmCancel: ({ ref, onClick, children, asChild, className, ...props }: Props$228) => import("react/jsx-runtime").JSX.Element;
|
|
787
790
|
//#endregion
|
|
788
791
|
//#region src/components/Popconfirm/PopconfirmConfirm.d.ts
|
|
789
792
|
type SlotProps$4 = {
|
|
@@ -793,27 +796,27 @@ type ButtonProps$1 = {
|
|
|
793
796
|
asChild?: false;
|
|
794
797
|
children?: ReactNode;
|
|
795
798
|
} & Omit<ComponentProps<typeof Button>, 'children' | 'isLoading'>;
|
|
796
|
-
type Props$
|
|
797
|
-
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$
|
|
799
|
+
type Props$227 = SlotProps$4 | ButtonProps$1;
|
|
800
|
+
declare const PopconfirmConfirm: ({ ref, onClick, children, asChild, className, ...props }: Props$227) => import("react/jsx-runtime").JSX.Element;
|
|
798
801
|
//#endregion
|
|
799
802
|
//#region src/components/Popconfirm/PopconfirmContent.d.ts
|
|
800
|
-
type Props$
|
|
801
|
-
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$
|
|
803
|
+
type Props$226 = Omit<ComponentProps<typeof Popover.Content>, 'showArrow'>;
|
|
804
|
+
declare const PopconfirmContent: ({ className, onInteractOutside, ...props }: Props$226) => import("react/jsx-runtime").JSX.Element;
|
|
802
805
|
//#endregion
|
|
803
806
|
//#region src/components/Popconfirm/PopconfirmFooter.d.ts
|
|
804
|
-
type Props$
|
|
805
|
-
declare const PopconfirmFooter: ({ className, ...props }: Props$
|
|
807
|
+
type Props$225 = ComponentProps<'div'>;
|
|
808
|
+
declare const PopconfirmFooter: ({ className, ...props }: Props$225) => import("react/jsx-runtime").JSX.Element;
|
|
806
809
|
//#endregion
|
|
807
810
|
//#region src/components/Popconfirm/PopconfirmTrigger.d.ts
|
|
808
|
-
type Props$
|
|
809
|
-
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$
|
|
811
|
+
type Props$224 = ComponentProps<typeof Popover.Trigger>;
|
|
812
|
+
declare const PopconfirmTrigger: ({ onClick, ...props }: Props$224) => import("react/jsx-runtime").JSX.Element;
|
|
810
813
|
//#endregion
|
|
811
814
|
//#region src/components/Popconfirm/Popconfirm.d.ts
|
|
812
|
-
type Props$
|
|
815
|
+
type Props$223 = {
|
|
813
816
|
children: ReactNode;
|
|
814
817
|
skipAsyncWait?: boolean;
|
|
815
818
|
} & ComponentProps<typeof Popover> & Omit<Partial<PopconfirmContextType>, 'isLoading'>;
|
|
816
|
-
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$
|
|
819
|
+
declare function Popconfirm({ children, onConfirm, onCancel, variant, enabled, onOpenChange, open, skipAsyncWait, ...rest }: Props$223): import("react/jsx-runtime").JSX.Element;
|
|
817
820
|
declare namespace Popconfirm {
|
|
818
821
|
export { PopconfirmConfirm as Confirm };
|
|
819
822
|
export { PopconfirmCancel as Cancel };
|
|
@@ -824,54 +827,64 @@ declare namespace Popconfirm {
|
|
|
824
827
|
}
|
|
825
828
|
//#endregion
|
|
826
829
|
//#region src/components/HoverCard/HoverCardContent.d.ts
|
|
827
|
-
type Props$
|
|
828
|
-
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$
|
|
830
|
+
type Props$222 = ComponentProps<typeof Content$4>;
|
|
831
|
+
declare const HoverCardContent: ({ ref, className, align, sideOffset, children, ...props }: Props$222) => import("react/jsx-runtime").JSX.Element;
|
|
829
832
|
//#endregion
|
|
830
833
|
//#region src/components/HoverCard/HoverCard.d.ts
|
|
831
|
-
type Props$
|
|
832
|
-
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$
|
|
834
|
+
type Props$221 = ComponentProps<typeof Root$7>;
|
|
835
|
+
declare function HoverCard({ openDelay, closeDelay, ...rest }: Props$221): import("react/jsx-runtime").JSX.Element;
|
|
833
836
|
declare namespace HoverCard {
|
|
834
837
|
export { HoverCardContent as Content };
|
|
835
838
|
export { Trigger$6 as Trigger };
|
|
836
839
|
}
|
|
837
840
|
//#endregion
|
|
838
841
|
//#region src/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts
|
|
839
|
-
type Props$
|
|
842
|
+
type Props$220 = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
840
843
|
closeOnSelect?: boolean;
|
|
841
844
|
indicator?: 'switch' | 'checkbox' | 'check';
|
|
842
845
|
indicatorAlign?: 'start' | 'end';
|
|
843
846
|
isLoading?: boolean;
|
|
847
|
+
/** Leading Lucide icon, drawn like `DropdownMenu.Item`'s so mixed menus line up. */
|
|
848
|
+
icon?: ReactNode;
|
|
844
849
|
};
|
|
845
|
-
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, ...props }: Props$
|
|
850
|
+
declare const DropdownMenuCheckboxItem: ({ className, children, checked, closeOnSelect, onSelect, indicatorAlign, indicator, isLoading, icon, ...props }: Props$220) => import("react/jsx-runtime").JSX.Element;
|
|
846
851
|
//#endregion
|
|
847
852
|
//#region src/components/DropdownMenu/DropdownMenuContent.d.ts
|
|
848
|
-
type Props$
|
|
853
|
+
type Props$219 = Omit<ComponentProps<typeof DropdownMenuPrimitive.Content>, 'forceMount' | 'asChild'> & {
|
|
849
854
|
forceMount?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* Classes for the scroll area inside the popup, not the popup itself.
|
|
857
|
+
*
|
|
858
|
+
* - A width lands on both: the popup shrink-wraps the scroll area.
|
|
859
|
+
* - A `max-width` lands on one: the popup still grows to its widest item and the scroll area
|
|
860
|
+
* clips the rows. Give a width instead.
|
|
861
|
+
*/
|
|
862
|
+
className?: string;
|
|
850
863
|
viewPortClassName?: string;
|
|
851
864
|
container?: HTMLElement | null;
|
|
852
865
|
};
|
|
853
|
-
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$
|
|
866
|
+
declare const DropdownMenuContent: ({ className, sideOffset, forceMount, children, viewPortClassName, container, ...props }: Props$219) => import("react/jsx-runtime").JSX.Element;
|
|
854
867
|
//#endregion
|
|
855
868
|
//#region src/components/DropdownMenu/DropdownMenuItemDescription.d.ts
|
|
856
|
-
type Props$
|
|
869
|
+
type Props$218 = ComponentProps<'span'> & {
|
|
857
870
|
hideOnHover?: boolean;
|
|
858
871
|
};
|
|
859
|
-
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$
|
|
872
|
+
declare const DropdownMenuItemDescription: ({ className, children, hideOnHover, ...props }: Props$218) => import("react/jsx-runtime").JSX.Element;
|
|
860
873
|
//#endregion
|
|
861
874
|
//#region src/components/DropdownMenu/DropdownMenuLabel.d.ts
|
|
862
|
-
type Props$
|
|
863
|
-
declare const DropdownMenuLabel: ({ className, ...props }: Props$
|
|
875
|
+
type Props$217 = ComponentProps<typeof DropdownMenuPrimitive.Label>;
|
|
876
|
+
declare const DropdownMenuLabel: ({ className, ...props }: Props$217) => import("react/jsx-runtime").JSX.Element;
|
|
864
877
|
//#endregion
|
|
865
878
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioGroup.d.ts
|
|
866
|
-
type Props$
|
|
879
|
+
type Props$216<Value> = Omit<ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>, 'value' | 'onValueChange' | 'defaultValue'> & {
|
|
867
880
|
value?: Value;
|
|
868
881
|
defaultValue?: Value;
|
|
869
882
|
onValueChange?: (value: Value) => void;
|
|
870
883
|
};
|
|
871
|
-
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$
|
|
884
|
+
declare const DropdownMenuRadioGroup: <Value extends string = string>({ value, defaultValue, onValueChange, ...props }: Props$216<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
872
885
|
//#endregion
|
|
873
886
|
//#region src/components/DropdownMenu/DropdownMenuRadioGroup/DropdownMenuRadioItem.d.ts
|
|
874
|
-
type Props$
|
|
887
|
+
type Props$215 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
875
888
|
closeOnSelect?: boolean;
|
|
876
889
|
indicatorAlign?: 'start' | 'end';
|
|
877
890
|
indicator?: 'radio' | 'check' | 'none';
|
|
@@ -879,30 +892,33 @@ type Props$209 = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
|
879
892
|
iconClassName?: string;
|
|
880
893
|
isLoading?: boolean;
|
|
881
894
|
};
|
|
882
|
-
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$
|
|
895
|
+
declare const DropdownMenuRadioItem: ({ className, children, closeOnSelect, onSelect, indicatorAlign, indicator, icon, iconClassName, isLoading, ...props }: Props$215) => import("react/jsx-runtime").JSX.Element;
|
|
883
896
|
//#endregion
|
|
884
897
|
//#region src/components/DropdownMenu/DropdownMenuSeparator.d.ts
|
|
885
|
-
type Props$
|
|
886
|
-
declare const DropdownMenuSeparator: ({ className, ...props }: Props$
|
|
898
|
+
type Props$214 = ComponentProps<typeof DropdownMenuPrimitive.Separator>;
|
|
899
|
+
declare const DropdownMenuSeparator: ({ className, ...props }: Props$214) => import("react/jsx-runtime").JSX.Element;
|
|
887
900
|
//#endregion
|
|
888
901
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSub.d.ts
|
|
889
902
|
declare const DropdownMenuSub: import("react").FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
890
903
|
//#endregion
|
|
891
904
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubContent.d.ts
|
|
892
|
-
type Props$
|
|
893
|
-
declare const DropdownMenuSubContent: ({ className, ...props }: Props$
|
|
905
|
+
type Props$213 = ComponentProps<typeof DropdownMenuPrimitive.SubContent>;
|
|
906
|
+
declare const DropdownMenuSubContent: ({ className, ...props }: Props$213) => import("react/jsx-runtime").JSX.Element;
|
|
894
907
|
//#endregion
|
|
895
908
|
//#region src/components/DropdownMenu/DropdownMenuSub/DropdownMenuSubTrigger.d.ts
|
|
896
|
-
type Props$
|
|
897
|
-
|
|
909
|
+
type Props$212 = ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
910
|
+
/** Leading Lucide icon, drawn like `DropdownMenu.Item`'s so the trigger lines up with items. */
|
|
911
|
+
icon?: ReactNode;
|
|
912
|
+
};
|
|
913
|
+
declare const DropdownMenuSubTrigger: ({ className, children, icon, ...props }: Props$212) => import("react/jsx-runtime").JSX.Element;
|
|
898
914
|
//#endregion
|
|
899
915
|
//#region src/components/DropdownMenu/DropdownMenuTrigger.d.ts
|
|
900
|
-
type Props$
|
|
901
|
-
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$
|
|
916
|
+
type Props$211 = ComponentProps<typeof Trigger$2>;
|
|
917
|
+
declare const DropdownMenuTrigger: ({ ref, className, ...props }: Props$211) => import("react/jsx-runtime").JSX.Element;
|
|
902
918
|
//#endregion
|
|
903
919
|
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
904
|
-
type Props$
|
|
905
|
-
declare function DropdownMenu({ modal, ...props }: Props$
|
|
920
|
+
type Props$210 = ComponentProps<typeof Root$2>;
|
|
921
|
+
declare function DropdownMenu({ modal, ...props }: Props$210): import("react/jsx-runtime").JSX.Element;
|
|
906
922
|
declare namespace DropdownMenu {
|
|
907
923
|
export { DropdownMenuTrigger as Trigger };
|
|
908
924
|
export { DropdownMenuContent as Content };
|
|
@@ -920,40 +936,40 @@ declare namespace DropdownMenu {
|
|
|
920
936
|
}
|
|
921
937
|
//#endregion
|
|
922
938
|
//#region src/blocks/Command/CommandContent.d.ts
|
|
923
|
-
type Props$
|
|
924
|
-
declare const CommandContent: ({ className, ...rest }: Props$
|
|
939
|
+
type Props$209 = ComponentProps<'div'>;
|
|
940
|
+
declare const CommandContent: ({ className, ...rest }: Props$209) => import("react/jsx-runtime").JSX.Element;
|
|
925
941
|
//#endregion
|
|
926
942
|
//#region src/blocks/Command/CommandEmpty.d.ts
|
|
927
|
-
type Props$
|
|
928
|
-
declare const CommandEmpty: ({ ...props }: Props$
|
|
943
|
+
type Props$208 = ComponentProps<typeof Command$1.Empty>;
|
|
944
|
+
declare const CommandEmpty: ({ ...props }: Props$208) => import("react/jsx-runtime").JSX.Element;
|
|
929
945
|
//#endregion
|
|
930
946
|
//#region src/blocks/Command/CommandGroup.d.ts
|
|
931
|
-
type Props$
|
|
932
|
-
declare const CommandGroup: ({ className, ...props }: Props$
|
|
947
|
+
type Props$207 = ComponentProps<typeof Command$1.Group>;
|
|
948
|
+
declare const CommandGroup: ({ className, ...props }: Props$207) => import("react/jsx-runtime").JSX.Element;
|
|
933
949
|
//#endregion
|
|
934
950
|
//#region src/components/InputGroup/InputGroupAddon.d.ts
|
|
935
951
|
declare const addonVariants$1: (props?: ({
|
|
936
952
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
937
953
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
938
|
-
type Props$
|
|
939
|
-
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$
|
|
954
|
+
type Props$206 = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
955
|
+
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$206) => import("react/jsx-runtime").JSX.Element;
|
|
940
956
|
//#endregion
|
|
941
957
|
//#region src/components/InputGroup/InputGroupButton.d.ts
|
|
942
958
|
type ButtonProps = ComponentProps<typeof Button>;
|
|
943
|
-
type Props$
|
|
944
|
-
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$
|
|
959
|
+
type Props$205 = Omit<ButtonProps, 'size' | 'block' | 'variant'>;
|
|
960
|
+
declare const InputGroupButton: ({ ref, className, tabIndex, ...props }: Props$205) => import("react/jsx-runtime").JSX.Element;
|
|
945
961
|
//#endregion
|
|
946
962
|
//#region src/components/InputGroup/InputGroupInput.d.ts
|
|
947
|
-
type Props$
|
|
948
|
-
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$
|
|
963
|
+
type Props$204 = ComponentProps<'input'>;
|
|
964
|
+
declare const InputGroupInput: ({ ref, className, ...inputProps }: Props$204) => import("react/jsx-runtime").JSX.Element;
|
|
949
965
|
//#endregion
|
|
950
966
|
//#region src/components/InputGroup/InputGroupText.d.ts
|
|
951
|
-
type Props$
|
|
952
|
-
declare const InputGroupText: ({ className, ...props }: Props$
|
|
967
|
+
type Props$203 = ComponentProps<'span'>;
|
|
968
|
+
declare const InputGroupText: ({ className, ...props }: Props$203) => import("react/jsx-runtime").JSX.Element;
|
|
953
969
|
//#endregion
|
|
954
970
|
//#region src/components/InputGroup/InputGroupTextArea.d.ts
|
|
955
971
|
type TextareaNativeProps$1 = Omit<ComponentProps<typeof TextareaAutosize>, 'value' | 'defaultValue' | 'rows' | 'maxRows'>;
|
|
956
|
-
type Props$
|
|
972
|
+
type Props$202 = TextareaNativeProps$1 & {
|
|
957
973
|
value?: string | null;
|
|
958
974
|
defaultValue?: string | null;
|
|
959
975
|
onValueChange?: (value: string) => void;
|
|
@@ -961,7 +977,7 @@ type Props$196 = TextareaNativeProps$1 & {
|
|
|
961
977
|
maxRows?: number | 'unlimited';
|
|
962
978
|
disableResize?: boolean;
|
|
963
979
|
};
|
|
964
|
-
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$
|
|
980
|
+
declare const InputGroupTextArea: ({ ref, className, onChange, onValueChange, value, defaultValue, onBlur, onValueBlur, disableResize, minRows, maxRows, ...props }: Props$202) => import("react/jsx-runtime").JSX.Element;
|
|
965
981
|
//#endregion
|
|
966
982
|
//#region src/components/InputGroup/InputGroup.d.ts
|
|
967
983
|
declare const inputGroupVariants: (props?: ({
|
|
@@ -970,10 +986,10 @@ declare const inputGroupVariants: (props?: ({
|
|
|
970
986
|
sizing?: "default" | "medium" | "small" | null | undefined;
|
|
971
987
|
state?: "default" | "error" | "warning" | null | undefined;
|
|
972
988
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
973
|
-
type Props$
|
|
989
|
+
type Props$201 = ComponentPropsWithRef<'div'> & Omit<VariantProps<typeof inputGroupVariants>, 'variant'> & {
|
|
974
990
|
variant?: Exclude<VariantProps<typeof inputGroupVariants>['variant'], 'argo'>;
|
|
975
991
|
};
|
|
976
|
-
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
992
|
+
declare const InputGroupRoot: ({ ref, children, state, variant, sizing, focusVariant, className, ...props }: Props$201) => import("react/jsx-runtime").JSX.Element;
|
|
977
993
|
declare const InputGroup: typeof InputGroupRoot & {
|
|
978
994
|
Input: typeof InputGroupInput;
|
|
979
995
|
Addon: typeof InputGroupAddon;
|
|
@@ -983,9 +999,15 @@ declare const InputGroup: typeof InputGroupRoot & {
|
|
|
983
999
|
};
|
|
984
1000
|
//#endregion
|
|
985
1001
|
//#region src/blocks/TextInput/TextInput.d.ts
|
|
986
|
-
type InputGroupProps$
|
|
987
|
-
type OwnProps = {
|
|
1002
|
+
type InputGroupProps$10 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
1003
|
+
type OwnProps$1 = {
|
|
988
1004
|
prefix?: ReactNode;
|
|
1005
|
+
/**
|
|
1006
|
+
* Content after the input.
|
|
1007
|
+
*
|
|
1008
|
+
* - `rightSuffixVariant="addon"` truncates it with an ellipsis when the group is narrower than its content.
|
|
1009
|
+
* - The ellipsis only renders for inline content — pass text or a `<span>`, not a block element.
|
|
1010
|
+
*/
|
|
989
1011
|
rightSuffix?: ReactNode;
|
|
990
1012
|
rightSuffixVariant?: 'addon' | 'default';
|
|
991
1013
|
leftSuffix?: ReactNode;
|
|
@@ -1006,7 +1028,7 @@ type OwnProps = {
|
|
|
1006
1028
|
* `value` / `defaultValue` plus convenience `onValueChange` / `onValueBlur` callbacks. `null` /
|
|
1007
1029
|
* `undefined` are coerced to empty strings.
|
|
1008
1030
|
*/
|
|
1009
|
-
type Props$
|
|
1031
|
+
type Props$5 = InputGroupProps$10 & OwnProps$1 & Omit<ComponentProps<'input'>, 'prefix' | 'value' | 'defaultValue' | 'type' | 'accept' | 'step'>;
|
|
1010
1032
|
/**
|
|
1011
1033
|
* Standard text input with a string-only API, built on `InputGroup` chrome — addons, clear button,
|
|
1012
1034
|
* sizing, focus variants. The default choice for a bare text input.
|
|
@@ -1019,50 +1041,50 @@ type Props$3 = InputGroupProps$9 & OwnProps & Omit<ComponentProps<'input'>, 'pre
|
|
|
1019
1041
|
* page layouts. Chrome resolves from the active brand automatically: a modern brand always renders argo
|
|
1020
1042
|
* (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
1021
1043
|
*/
|
|
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$
|
|
1044
|
+
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$5) => import("react/jsx-runtime").JSX.Element;
|
|
1023
1045
|
//#endregion
|
|
1024
1046
|
//#region src/blocks/Command/CommandInput.d.ts
|
|
1025
|
-
type Props$
|
|
1026
|
-
declare const CommandInput: ({ ref, className, ...props }: Props$
|
|
1047
|
+
type Props$200 = ComponentProps<typeof TextInput>;
|
|
1048
|
+
declare const CommandInput: ({ ref, className, ...props }: Props$200) => import("react/jsx-runtime").JSX.Element;
|
|
1027
1049
|
//#endregion
|
|
1028
1050
|
//#region src/blocks/Command/CommandItem/CheckIndicator.d.ts
|
|
1029
|
-
type Props$
|
|
1051
|
+
type Props$199 = {
|
|
1030
1052
|
variant?: 'checkbox' | 'radio' | 'default';
|
|
1031
1053
|
};
|
|
1032
|
-
declare const CheckIndicator: ({ variant }: Props$
|
|
1054
|
+
declare const CheckIndicator: ({ variant }: Props$199) => import("react/jsx-runtime").JSX.Element | null;
|
|
1033
1055
|
//#endregion
|
|
1034
1056
|
//#region src/blocks/Command/CommandItem/CommandItem.d.ts
|
|
1035
|
-
type Props$
|
|
1057
|
+
type Props$198 = ComponentProps<typeof Command$1.Item> & {
|
|
1036
1058
|
icon?: ReactNode;
|
|
1037
1059
|
checked?: boolean;
|
|
1038
1060
|
variant?: ComponentProps<typeof CheckIndicator>['variant'];
|
|
1039
1061
|
actions?: ReactNode;
|
|
1040
1062
|
};
|
|
1041
|
-
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$
|
|
1063
|
+
declare const CommandItem: ({ className, icon, children, checked, variant, actions, ...props }: Props$198) => import("react/jsx-runtime").JSX.Element;
|
|
1042
1064
|
//#endregion
|
|
1043
1065
|
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
1044
|
-
type Props$
|
|
1066
|
+
type Props$197 = ComponentProps<typeof ScrollAreaPrimitive.Root> & {
|
|
1045
1067
|
viewPortClassName?: string;
|
|
1046
1068
|
scrollBarClassName?: string;
|
|
1047
1069
|
orientation?: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>['orientation'];
|
|
1048
1070
|
};
|
|
1049
|
-
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$
|
|
1071
|
+
declare const ScrollArea: ({ ref, className, children, viewPortClassName, orientation, scrollBarClassName, ...props }: Props$197) => import("react/jsx-runtime").JSX.Element;
|
|
1050
1072
|
//#endregion
|
|
1051
1073
|
//#region src/components/ScrollArea/ScrollBar.d.ts
|
|
1052
|
-
type Props$
|
|
1053
|
-
declare const ScrollBar: ({ className, orientation, ...props }: Props$
|
|
1074
|
+
type Props$196 = ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1075
|
+
declare const ScrollBar: ({ className, orientation, ...props }: Props$196) => import("react/jsx-runtime").JSX.Element;
|
|
1054
1076
|
//#endregion
|
|
1055
1077
|
//#region src/blocks/Command/CommandList.d.ts
|
|
1056
|
-
type Props$
|
|
1057
|
-
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$
|
|
1078
|
+
type Props$195 = ComponentProps<typeof Command$1.List> & Pick<ComponentProps<typeof ScrollArea>, 'viewPortClassName'>;
|
|
1079
|
+
declare const CommandList: ({ ref, className, children, viewPortClassName, ...props }: Props$195) => import("react/jsx-runtime").JSX.Element;
|
|
1058
1080
|
//#endregion
|
|
1059
1081
|
//#region src/blocks/Command/CommandSeparator.d.ts
|
|
1060
|
-
type Props$
|
|
1061
|
-
declare const CommandSeparator: ({ className, ...props }: Props$
|
|
1082
|
+
type Props$194 = ComponentProps<typeof Command$1.Separator>;
|
|
1083
|
+
declare const CommandSeparator: ({ className, ...props }: Props$194) => import("react/jsx-runtime").JSX.Element;
|
|
1062
1084
|
//#endregion
|
|
1063
1085
|
//#region src/blocks/Command/Command.d.ts
|
|
1064
1086
|
type Variant$8 = 'default' | 'argo';
|
|
1065
|
-
type Props$
|
|
1087
|
+
type Props$193 = ComponentProps<typeof Command$1> & {
|
|
1066
1088
|
/**
|
|
1067
1089
|
* Which styling the parts take, when the theme's own answer is wrong for the
|
|
1068
1090
|
* surface.
|
|
@@ -1074,7 +1096,7 @@ type Props$187 = ComponentProps<typeof Command$1> & {
|
|
|
1074
1096
|
*/
|
|
1075
1097
|
variant?: Variant$8;
|
|
1076
1098
|
};
|
|
1077
|
-
declare function Command({ className, variant, ...rest }: Props$
|
|
1099
|
+
declare function Command({ className, variant, ...rest }: Props$193): import("react/jsx-runtime").JSX.Element;
|
|
1078
1100
|
declare namespace Command {
|
|
1079
1101
|
export { CommandContent as Content };
|
|
1080
1102
|
export { CommandSeparator as Separator };
|
|
@@ -1105,7 +1127,7 @@ type SpotlightTarget = string | RefObject<Element | null> | undefined;
|
|
|
1105
1127
|
declare const useTargetRect: (target: SpotlightTarget, enabled: boolean) => TargetRect | null;
|
|
1106
1128
|
//#endregion
|
|
1107
1129
|
//#region src/components/SpotlightBackdrop/SpotlightBackdrop.d.ts
|
|
1108
|
-
type Props$
|
|
1130
|
+
type Props$192 = {
|
|
1109
1131
|
/** Target box to cut out of the dim layer, or `null` for a full dim (no highlight). */
|
|
1110
1132
|
rect: TargetRect | null;
|
|
1111
1133
|
/** Padding around the target inside the cut-out, in px. */
|
|
@@ -1127,7 +1149,7 @@ type Props$186 = {
|
|
|
1127
1149
|
* (steps, next/prev, "seen" persistence) is intentionally app-owned; see the
|
|
1128
1150
|
* "Guided tour (recipe)" story for the composition.
|
|
1129
1151
|
*/
|
|
1130
|
-
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$
|
|
1152
|
+
declare const SpotlightBackdrop: ({ rect, padding, radius, className, onClick }: Props$192) => import("react/jsx-runtime").JSX.Element;
|
|
1131
1153
|
//#endregion
|
|
1132
1154
|
//#region ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/types.d.ts
|
|
1133
1155
|
/**
|
|
@@ -3524,16 +3546,16 @@ declare namespace DateRangePicker {
|
|
|
3524
3546
|
}
|
|
3525
3547
|
//#endregion
|
|
3526
3548
|
//#region src/components/TimePicker/TimePicker.d.ts
|
|
3527
|
-
type Props$
|
|
3549
|
+
type Props$191 = {
|
|
3528
3550
|
children?: ReactNode;
|
|
3529
3551
|
defaultSelected?: string | null;
|
|
3530
3552
|
selected?: string | null;
|
|
3531
3553
|
onSelect?: (time: string) => void;
|
|
3532
3554
|
} & Pick<PopoverProps, 'open' | 'onOpenChange' | 'defaultOpen'> & Pick<PopoverContentProps, 'align' | 'alignOffset' | 'sideOffset'>;
|
|
3533
|
-
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$
|
|
3555
|
+
declare const TimePicker: ({ align, alignOffset, children, defaultOpen, defaultSelected, onOpenChange, onSelect, open, selected, sideOffset }: Props$191) => import("react/jsx-runtime").JSX.Element;
|
|
3534
3556
|
//#endregion
|
|
3535
3557
|
//#region src/components/Label/Label.d.ts
|
|
3536
|
-
type Props$
|
|
3558
|
+
type Props$190 = {
|
|
3537
3559
|
id?: string | number;
|
|
3538
3560
|
htmlFor?: string | number;
|
|
3539
3561
|
} & Omit<LabelProps, 'id' | 'htmlFor'>;
|
|
@@ -3549,7 +3571,7 @@ declare const Optional: ({ className, ...props }: ComponentPropsWithRef<'span'>)
|
|
|
3549
3571
|
* `aria-required` (or `required`) on the associated control.
|
|
3550
3572
|
*/
|
|
3551
3573
|
declare const Required$1: ({ className, ...props }: ComponentPropsWithRef<'span'>) => import("react/jsx-runtime").JSX.Element;
|
|
3552
|
-
declare function Label({ className, children, id, htmlFor, ...rest }: Props$
|
|
3574
|
+
declare function Label({ className, children, id, htmlFor, ...rest }: Props$190): import("react/jsx-runtime").JSX.Element;
|
|
3553
3575
|
declare namespace Label {
|
|
3554
3576
|
export { Optional };
|
|
3555
3577
|
export { Required$1 as Required };
|
|
@@ -3567,14 +3589,14 @@ declare const switchVariants: (props?: ({
|
|
|
3567
3589
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3568
3590
|
//#endregion
|
|
3569
3591
|
//#region src/components/Switch/Switch.d.ts
|
|
3570
|
-
type Props$
|
|
3592
|
+
type Props$189 = {
|
|
3571
3593
|
id?: string | number;
|
|
3572
3594
|
children?: ReactNode;
|
|
3573
3595
|
description?: ReactNode;
|
|
3574
3596
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3575
3597
|
position?: 'start' | 'end';
|
|
3576
3598
|
} & Omit<ComponentProps<typeof Root$8>, 'asChild' | 'id'> & Omit<VariantProps<typeof switchVariants>, 'variant'>;
|
|
3577
|
-
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$
|
|
3599
|
+
declare const Switch: ({ ref, className, size, disabled, id: idProp, children, description, variant, position, ...props }: Props$189) => import("react/jsx-runtime").JSX.Element;
|
|
3578
3600
|
//#endregion
|
|
3579
3601
|
//#region src/components/RadioGroup/context.d.ts
|
|
3580
3602
|
type Variant$7 = 'radio' | 'button' | 'radio-block';
|
|
@@ -3582,52 +3604,52 @@ type Orientation = 'vertical' | 'horizontal';
|
|
|
3582
3604
|
//#endregion
|
|
3583
3605
|
//#region src/components/RadioGroup/RadioGroupItem.d.ts
|
|
3584
3606
|
type ItemProps = Omit<ComponentProps<typeof Item>, 'asChild' | 'value'>;
|
|
3585
|
-
type Props$
|
|
3607
|
+
type Props$188<T extends string = string> = ItemProps & {
|
|
3586
3608
|
value: T;
|
|
3587
3609
|
tooltip?: ReactNode;
|
|
3588
|
-
tooltipVariant?: Props$
|
|
3589
|
-
tooltipPlacement?: Props$
|
|
3610
|
+
tooltipVariant?: Props$10['variant'];
|
|
3611
|
+
tooltipPlacement?: Props$10['placement'];
|
|
3590
3612
|
description?: ReactNode;
|
|
3591
3613
|
};
|
|
3592
|
-
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$
|
|
3614
|
+
declare const RadioGroupItem: <T extends string = string>({ children, className, tooltip, tooltipVariant, tooltipPlacement, description, ...props }: Props$188<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3593
3615
|
//#endregion
|
|
3594
3616
|
//#region src/components/RadioGroup/RadioGroupSeparator.d.ts
|
|
3595
3617
|
declare const RadioGroupSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
3596
3618
|
//#endregion
|
|
3597
3619
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3598
|
-
type Props$
|
|
3620
|
+
type Props$187<Value> = {
|
|
3599
3621
|
variant?: Variant$7;
|
|
3600
3622
|
orientation?: Orientation;
|
|
3601
3623
|
onValueChange?: (value: Value) => void;
|
|
3602
3624
|
value?: Value | null;
|
|
3603
3625
|
defaultValue?: Value | null;
|
|
3604
3626
|
} & Omit<ComponentProps<typeof RRadioGroup.Root>, 'asChild' | 'orientation' | 'onValueChange' | 'onChange' | 'value' | 'defaultValue'>;
|
|
3605
|
-
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$
|
|
3627
|
+
declare function RadioGroup<Value extends string = string>({ variant, className, disabled, orientation, onValueChange, children, value, defaultValue, ...props }: Props$187<Value>): import("react/jsx-runtime").JSX.Element;
|
|
3606
3628
|
declare namespace RadioGroup {
|
|
3607
3629
|
export { RadioGroupItem as Item };
|
|
3608
3630
|
export { RadioGroupSeparator as Separator };
|
|
3609
3631
|
}
|
|
3610
3632
|
//#endregion
|
|
3611
3633
|
//#region src/components/Slider/SliderThumb.d.ts
|
|
3612
|
-
type Props$
|
|
3634
|
+
type Props$186 = ComponentProps<typeof Thumb$1> & {
|
|
3613
3635
|
tooltip?: ReactNode;
|
|
3614
3636
|
tooltipSide?: ComponentProps<typeof Tooltip.Content>['placement'];
|
|
3615
3637
|
};
|
|
3616
|
-
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$
|
|
3638
|
+
declare const SliderThumb: ({ ref: forwardedRef, className, tooltip, tooltipSide, ...props }: Props$186) => import("react/jsx-runtime").JSX.Element;
|
|
3617
3639
|
//#endregion
|
|
3618
3640
|
//#region src/components/Slider/Slider.d.ts
|
|
3619
3641
|
type ThumbTooltipFn = (value: number, index: number) => ReactNode;
|
|
3620
|
-
type Props$
|
|
3642
|
+
type Props$185 = ComponentProps<typeof Root$9> & {
|
|
3621
3643
|
thumbTooltip?: ThumbTooltipFn;
|
|
3622
3644
|
thumbTooltipSide?: ComponentProps<typeof SliderThumb>['tooltipSide'];
|
|
3623
3645
|
rangeClassName?: string;
|
|
3624
3646
|
};
|
|
3625
|
-
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$
|
|
3647
|
+
declare const Slider: ({ ref, className, value, defaultValue, min, max, onValueChange, thumbTooltip, thumbTooltipSide, rangeClassName, ...rest }: Props$185) => import("react/jsx-runtime").JSX.Element;
|
|
3626
3648
|
//#endregion
|
|
3627
3649
|
//#region src/components/Search/Search.d.ts
|
|
3628
3650
|
type SearchChangeEventHandler = (value: string, event: ChangeEvent<HTMLInputElement> | MouseEvent<HTMLButtonElement>) => void;
|
|
3629
3651
|
type SearchBlurEventHandler = (value: string, event: FocusEvent<HTMLInputElement, Element>) => void;
|
|
3630
|
-
type Props$
|
|
3652
|
+
type Props$184 = {
|
|
3631
3653
|
suffix?: ReactNode;
|
|
3632
3654
|
disableDebounce?: boolean;
|
|
3633
3655
|
debounceDelay?: number;
|
|
@@ -3642,19 +3664,19 @@ type Props$178 = {
|
|
|
3642
3664
|
/**
|
|
3643
3665
|
* @deprecated Use `SearchInput` instead. `Search` is kept only for the legacy (non-sidebar) layout.
|
|
3644
3666
|
*/
|
|
3645
|
-
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$
|
|
3667
|
+
declare const Search: ({ ref, suffix, className, onBlur, onChange, disabled, readOnly, disableDebounce, debounceDelay, value: externalValue, defaultValue, testId: prefixTestId, placeholder, onClear, variant, ...rest }: Props$184) => import("react/jsx-runtime").JSX.Element;
|
|
3646
3668
|
//#endregion
|
|
3647
3669
|
//#region src/components/Search/SearchForm.d.ts
|
|
3648
|
-
type Props$
|
|
3670
|
+
type Props$183 = {
|
|
3649
3671
|
onSubmit: (value: string) => void;
|
|
3650
3672
|
} & Omit<ComponentProps<typeof Search>, 'onClear' | 'onBlur' | 'onSubmit'>;
|
|
3651
|
-
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$
|
|
3673
|
+
declare const SearchForm: ({ ref, onSubmit, name, ...props }: Props$183) => import("react/jsx-runtime").JSX.Element;
|
|
3652
3674
|
//#endregion
|
|
3653
3675
|
//#region src/components/Select/SelectContent.d.ts
|
|
3654
3676
|
/**
|
|
3655
3677
|
* Props for `Select.Content`. `container` portals the listbox into a custom element (useful inside modals).
|
|
3656
3678
|
*/
|
|
3657
|
-
type Props$
|
|
3679
|
+
type Props$182 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
3658
3680
|
container?: HTMLElement | null;
|
|
3659
3681
|
};
|
|
3660
3682
|
/**
|
|
@@ -3662,22 +3684,22 @@ type Props$176 = ComponentProps<typeof SelectPrimitive.Content> & {
|
|
|
3662
3684
|
* Normally rendered implicitly by `Select`; use directly only when composing custom item layouts via
|
|
3663
3685
|
* the `Select.Root` / `Select.Trigger` / `Select.Content` compound parts.
|
|
3664
3686
|
*/
|
|
3665
|
-
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$
|
|
3687
|
+
declare const SelectContent: ({ ref, className, children, container, position, sideOffset, ...props }: Props$182) => import("react/jsx-runtime").JSX.Element;
|
|
3666
3688
|
//#endregion
|
|
3667
3689
|
//#region src/components/Select/SelectGroup.d.ts
|
|
3668
|
-
type Props$
|
|
3669
|
-
declare const SelectGroup: ({ className, ...props }: Props$
|
|
3690
|
+
type Props$181 = ComponentProps<typeof SelectPrimitive.Group>;
|
|
3691
|
+
declare const SelectGroup: ({ className, ...props }: Props$181) => import("react/jsx-runtime").JSX.Element;
|
|
3670
3692
|
//#endregion
|
|
3671
3693
|
//#region src/components/Select/SelectItem.d.ts
|
|
3672
|
-
type Props$
|
|
3694
|
+
type Props$180 = ComponentProps<typeof SelectPrimitive.Item> & {
|
|
3673
3695
|
icon?: ReactNode;
|
|
3674
3696
|
hint?: ReactNode;
|
|
3675
3697
|
};
|
|
3676
|
-
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$
|
|
3698
|
+
declare const SelectItem$1: ({ ref, className, children, icon, hint, 'aria-describedby': ariaDescribedBy, ...props }: Props$180) => import("react/jsx-runtime").JSX.Element;
|
|
3677
3699
|
//#endregion
|
|
3678
3700
|
//#region src/components/Select/SelectLabel.d.ts
|
|
3679
|
-
type Props$
|
|
3680
|
-
declare const SelectLabel: ({ className, ...props }: Props$
|
|
3701
|
+
type Props$179 = ComponentProps<typeof SelectPrimitive.Label>;
|
|
3702
|
+
declare const SelectLabel: ({ className, ...props }: Props$179) => import("react/jsx-runtime").JSX.Element;
|
|
3681
3703
|
//#endregion
|
|
3682
3704
|
//#region src/components/Select/SelectRoot.d.ts
|
|
3683
3705
|
type SelectRootProps = {
|
|
@@ -3698,8 +3720,8 @@ type SelectRootProps = {
|
|
|
3698
3720
|
declare const SelectRoot: (props: SelectRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
3699
3721
|
//#endregion
|
|
3700
3722
|
//#region src/components/Select/SelectSeparator.d.ts
|
|
3701
|
-
type Props$
|
|
3702
|
-
declare const SelectSeparator: ({ className, ...props }: Props$
|
|
3723
|
+
type Props$178 = ComponentProps<typeof SelectPrimitive.Separator>;
|
|
3724
|
+
declare const SelectSeparator: ({ className, ...props }: Props$178) => import("react/jsx-runtime").JSX.Element;
|
|
3703
3725
|
//#endregion
|
|
3704
3726
|
//#region src/components/Select/SelectTrigger.d.ts
|
|
3705
3727
|
type BaseProps$1 = ComponentProps<typeof SelectPrimitive.Trigger> & Omit<VariantProps<typeof overlayTriggerVariants>, 'variant'> & {
|
|
@@ -3754,19 +3776,19 @@ declare namespace Select {
|
|
|
3754
3776
|
}
|
|
3755
3777
|
//#endregion
|
|
3756
3778
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
3757
|
-
type Props$
|
|
3779
|
+
type Props$177 = {
|
|
3758
3780
|
id?: string | number;
|
|
3759
3781
|
description?: ReactNode;
|
|
3760
3782
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
3761
3783
|
position?: 'start' | 'end';
|
|
3762
|
-
tooltip?: Props$
|
|
3763
|
-
tooltipPlacement?: Props$
|
|
3784
|
+
tooltip?: Props$10['tooltip'];
|
|
3785
|
+
tooltipPlacement?: Props$10['placement'];
|
|
3764
3786
|
} & Omit<ComponentProps<typeof Root$11>, 'id'>;
|
|
3765
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3787
|
+
declare function Checkbox(prop: Omit<Props$177, 'checked' | 'onCheckedChange'> & {
|
|
3766
3788
|
checked?: boolean;
|
|
3767
3789
|
onCheckedChange?: (checked: boolean) => void;
|
|
3768
3790
|
}): ReactNode;
|
|
3769
|
-
declare function Checkbox(prop: Omit<Props$
|
|
3791
|
+
declare function Checkbox(prop: Omit<Props$177, 'checked' | 'onCheckedChange'> & {
|
|
3770
3792
|
checked?: CheckedState;
|
|
3771
3793
|
onCheckedChange?: (checked: CheckedState) => void;
|
|
3772
3794
|
}): ReactNode;
|
|
@@ -3797,18 +3819,18 @@ declare const addonVariants: (props?: ({
|
|
|
3797
3819
|
align?: "inline-end" | "inline-start" | null | undefined;
|
|
3798
3820
|
variant?: "floating" | "inline" | null | undefined;
|
|
3799
3821
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3800
|
-
type Props$
|
|
3801
|
-
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$
|
|
3822
|
+
type Props$176 = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
3823
|
+
declare const BadgeAddon: ({ ref, align, variant, className, ...rest }: Props$176) => import("react/jsx-runtime").JSX.Element;
|
|
3802
3824
|
//#endregion
|
|
3803
3825
|
//#region src/components/Badge/BadgeButton.d.ts
|
|
3804
|
-
type Props$
|
|
3805
|
-
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$
|
|
3826
|
+
type Props$175 = ComponentProps<'button'>;
|
|
3827
|
+
declare const BadgeButton: ({ ref, className, type, children, ...rest }: Props$175) => import("react/jsx-runtime").JSX.Element;
|
|
3806
3828
|
//#endregion
|
|
3807
3829
|
//#region src/components/Badge/BadgeLabel.d.ts
|
|
3808
|
-
type Props$
|
|
3830
|
+
type Props$174 = ComponentProps<'span'> & {
|
|
3809
3831
|
asChild?: boolean;
|
|
3810
3832
|
};
|
|
3811
|
-
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$
|
|
3833
|
+
declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$174) => import("react/jsx-runtime").JSX.Element;
|
|
3812
3834
|
//#endregion
|
|
3813
3835
|
//#region src/components/Badge/styles.d.ts
|
|
3814
3836
|
declare const badgeRootVariants: (props?: ({
|
|
@@ -3817,8 +3839,8 @@ declare const badgeRootVariants: (props?: ({
|
|
|
3817
3839
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3818
3840
|
//#endregion
|
|
3819
3841
|
//#region src/components/Badge/BadgeRoot.d.ts
|
|
3820
|
-
type Props$
|
|
3821
|
-
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$
|
|
3842
|
+
type Props$173 = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
3843
|
+
declare const BadgeRoot: ({ ref, variant, color, className, children, ...rest }: Props$173) => import("react/jsx-runtime").JSX.Element;
|
|
3822
3844
|
//#endregion
|
|
3823
3845
|
//#region src/components/Badge/Badge.d.ts
|
|
3824
3846
|
type AddonVariant = ComponentProps<typeof BadgeAddon>['variant'];
|
|
@@ -3829,7 +3851,7 @@ type BadgeLabelProps = ComponentProps<typeof BadgeLabel>;
|
|
|
3829
3851
|
* `amber` = caution, `purple/cyan/teal/blue/gray` for decorative tags) — colours stay fixed across brand themes.
|
|
3830
3852
|
* Pass `prefix` / `suffix` for icon-style addons.
|
|
3831
3853
|
*/
|
|
3832
|
-
type Props$
|
|
3854
|
+
type Props$172 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProps, 'prefix'> & {
|
|
3833
3855
|
prefix?: ReactNode;
|
|
3834
3856
|
prefixVariant?: AddonVariant;
|
|
3835
3857
|
suffix?: ReactNode;
|
|
@@ -3847,7 +3869,7 @@ type Props$166 = Pick<BadgeRootProps, 'variant' | 'color'> & Omit<BadgeLabelProp
|
|
|
3847
3869
|
* **Composition:** drop into `PageHeader.Detail` `badges` slot, `Table.Cell`, or alongside titles in cards.
|
|
3848
3870
|
* Use `Badge.Button` for an interactive (clickable) badge variant.
|
|
3849
3871
|
*/
|
|
3850
|
-
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$
|
|
3872
|
+
declare const BadgeInner: ({ ref, variant, color, prefix, prefixVariant, suffix, suffixVariant, className, labelClassName, ...labelProps }: Props$172) => import("react/jsx-runtime").JSX.Element;
|
|
3851
3873
|
declare const Badge: typeof BadgeInner & {
|
|
3852
3874
|
Root: typeof BadgeRoot;
|
|
3853
3875
|
Button: typeof BadgeButton;
|
|
@@ -3856,11 +3878,11 @@ declare const Badge: typeof BadgeInner & {
|
|
|
3856
3878
|
};
|
|
3857
3879
|
//#endregion
|
|
3858
3880
|
//#region src/components/Combobox/ComboboxChip.d.ts
|
|
3859
|
-
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
3881
|
+
type BadgeColor$1 = ComponentProps<typeof Badge>['color'];
|
|
3860
3882
|
type BadgeVariant = ComponentProps<typeof Badge>['variant'];
|
|
3861
|
-
type Props$
|
|
3883
|
+
type Props$171 = {
|
|
3862
3884
|
children: ReactNode;
|
|
3863
|
-
color?: BadgeColor;
|
|
3885
|
+
color?: BadgeColor$1;
|
|
3864
3886
|
variant?: BadgeVariant;
|
|
3865
3887
|
};
|
|
3866
3888
|
/**
|
|
@@ -3873,13 +3895,13 @@ type Props$165 = {
|
|
|
3873
3895
|
* - A chip the user cannot remove is a plain `Badge`, not a chip — a chip would take a position
|
|
3874
3896
|
* that a removal counts against.
|
|
3875
3897
|
*/
|
|
3876
|
-
declare const ComboboxChip: ({ children, color, variant }: Props$
|
|
3898
|
+
declare const ComboboxChip: ({ children, color, variant }: Props$171) => import("react/jsx-runtime").JSX.Element;
|
|
3877
3899
|
//#endregion
|
|
3878
3900
|
//#region src/components/Combobox/ComboboxChips.d.ts
|
|
3879
|
-
type Props$
|
|
3901
|
+
type Props$170<Value> = {
|
|
3880
3902
|
maxVisible?: number;
|
|
3881
3903
|
itemToChipLabel?: (item: Value) => ReactNode;
|
|
3882
|
-
itemToChipColor?: (item: Value) => BadgeColor;
|
|
3904
|
+
itemToChipColor?: (item: Value) => BadgeColor$1;
|
|
3883
3905
|
/**
|
|
3884
3906
|
* Labels for chips the control shows but the user does not own — a pinned set the caller keeps.
|
|
3885
3907
|
*
|
|
@@ -3897,7 +3919,7 @@ type Props$164<Value> = {
|
|
|
3897
3919
|
*/
|
|
3898
3920
|
children?: (values: Value[]) => ReactNode;
|
|
3899
3921
|
};
|
|
3900
|
-
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$
|
|
3922
|
+
declare const ComboboxChips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, pinnedChipLabels, variant, children }: Props$170<Value>) => import("react/jsx-runtime").JSX.Element;
|
|
3901
3923
|
//#endregion
|
|
3902
3924
|
//#region src/components/Combobox/ComboboxContent.d.ts
|
|
3903
3925
|
type PortalProps = ComponentProps<typeof Combobox$1.Portal>;
|
|
@@ -3905,72 +3927,72 @@ type PositionerProps = ComponentProps<typeof Combobox$1.Positioner>;
|
|
|
3905
3927
|
type PopupProps = Omit<ComponentProps<typeof Combobox$1.Popup>, 'className'> & {
|
|
3906
3928
|
className?: string;
|
|
3907
3929
|
};
|
|
3908
|
-
type Props$
|
|
3909
|
-
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$
|
|
3930
|
+
type Props$169 = PopupProps & Pick<PositionerProps, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & Pick<PortalProps, 'container'>;
|
|
3931
|
+
declare const ComboboxContent: ({ ref, align, side, sideOffset, alignOffset, anchor, container, className, children, ...popupProps }: Props$169) => import("react/jsx-runtime").JSX.Element;
|
|
3910
3932
|
//#endregion
|
|
3911
3933
|
//#region src/components/Combobox/ComboboxEmpty.d.ts
|
|
3912
|
-
type Props$
|
|
3934
|
+
type Props$168 = Omit<ComponentProps<typeof Combobox$1.Empty>, 'className'> & {
|
|
3913
3935
|
className?: string;
|
|
3914
3936
|
};
|
|
3915
|
-
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$
|
|
3937
|
+
declare const ComboboxEmpty: ({ ref, className, ...props }: Props$168) => import("react/jsx-runtime").JSX.Element;
|
|
3916
3938
|
//#endregion
|
|
3917
3939
|
//#region src/components/Combobox/ComboboxInput.d.ts
|
|
3918
|
-
type Props$
|
|
3919
|
-
declare const ComboboxInput: ({ ref, ...props }: Props$
|
|
3940
|
+
type Props$167 = Omit<ComponentProps<typeof Combobox$1.Input>, 'render'>;
|
|
3941
|
+
declare const ComboboxInput: ({ ref, ...props }: Props$167) => import("react/jsx-runtime").JSX.Element;
|
|
3920
3942
|
//#endregion
|
|
3921
3943
|
//#region src/components/Combobox/ComboboxInputGroup.d.ts
|
|
3922
|
-
type InputGroupProps$
|
|
3923
|
-
type Props$
|
|
3944
|
+
type InputGroupProps$9 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
3945
|
+
type Props$166 = InputGroupProps$9 & Omit<ComponentProps<typeof Combobox$1.InputGroup>, 'render' | 'className'> & {
|
|
3924
3946
|
className?: string;
|
|
3925
3947
|
};
|
|
3926
|
-
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$
|
|
3948
|
+
declare const ComboboxInputGroup: ({ ref, state, variant, sizing, focusVariant, className, ...props }: Props$166) => import("react/jsx-runtime").JSX.Element;
|
|
3927
3949
|
//#endregion
|
|
3928
3950
|
//#region src/components/Combobox/ComboboxItemIndicator.d.ts
|
|
3929
3951
|
type Variant$6 = 'check' | 'checkbox';
|
|
3930
|
-
type Props$
|
|
3952
|
+
type Props$165 = Omit<ComponentProps<typeof Combobox$1.ItemIndicator>, 'className' | 'children'> & {
|
|
3931
3953
|
className?: string;
|
|
3932
3954
|
variant?: Variant$6;
|
|
3933
3955
|
};
|
|
3934
|
-
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$
|
|
3956
|
+
declare const ComboboxItemIndicator: ({ ref, className, variant, ...props }: Props$165) => import("react/jsx-runtime").JSX.Element;
|
|
3935
3957
|
//#endregion
|
|
3936
3958
|
//#region src/components/Combobox/ComboboxItem.d.ts
|
|
3937
|
-
type Props$
|
|
3959
|
+
type Props$164 = Omit<ComponentProps<typeof Combobox$1.Item>, 'className'> & {
|
|
3938
3960
|
className?: string;
|
|
3939
3961
|
icon?: ReactNode;
|
|
3940
3962
|
indicator?: ComponentProps<typeof ComboboxItemIndicator>['variant'];
|
|
3941
3963
|
};
|
|
3942
|
-
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$
|
|
3964
|
+
declare const ComboboxItem: ({ ref, className, children, icon, indicator: variant, ...props }: Props$164) => import("react/jsx-runtime").JSX.Element;
|
|
3943
3965
|
//#endregion
|
|
3944
3966
|
//#region src/components/Combobox/ComboboxList.d.ts
|
|
3945
|
-
type Props$
|
|
3967
|
+
type Props$163 = Omit<ComponentProps<typeof Combobox$1.List>, 'className'> & {
|
|
3946
3968
|
className?: string;
|
|
3947
3969
|
};
|
|
3948
|
-
declare const ComboboxList: ({ ref, className, ...props }: Props$
|
|
3970
|
+
declare const ComboboxList: ({ ref, className, ...props }: Props$163) => import("react/jsx-runtime").JSX.Element;
|
|
3949
3971
|
//#endregion
|
|
3950
3972
|
//#region src/components/Combobox/ComboboxRoot.d.ts
|
|
3951
3973
|
declare const ComboboxRoot: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => import("react/jsx-runtime").JSX.Element;
|
|
3952
3974
|
//#endregion
|
|
3953
3975
|
//#region src/components/Combobox/ComboboxSeparator.d.ts
|
|
3954
|
-
type Props$
|
|
3976
|
+
type Props$162 = Omit<ComponentProps<typeof Combobox$1.Separator>, 'className'> & {
|
|
3955
3977
|
className?: string;
|
|
3956
3978
|
};
|
|
3957
|
-
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$
|
|
3979
|
+
declare const ComboboxSeparator: ({ ref, className, ...props }: Props$162) => import("react/jsx-runtime").JSX.Element;
|
|
3958
3980
|
//#endregion
|
|
3959
3981
|
//#region src/components/Combobox/Group/ComboboxGroup.d.ts
|
|
3960
|
-
type Props$
|
|
3982
|
+
type Props$161 = Omit<ComponentProps<typeof Combobox$1.Group>, 'className'> & {
|
|
3961
3983
|
className?: string;
|
|
3962
3984
|
};
|
|
3963
|
-
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$
|
|
3985
|
+
declare const ComboboxGroup: ({ ref, className, children, ...props }: Props$161) => import("react/jsx-runtime").JSX.Element;
|
|
3964
3986
|
//#endregion
|
|
3965
3987
|
//#region src/components/Combobox/Group/ComboboxGroupLabel.d.ts
|
|
3966
|
-
type Props$
|
|
3988
|
+
type Props$160 = Omit<Combobox$1.GroupLabel.Props, 'className'> & {
|
|
3967
3989
|
className?: string;
|
|
3968
3990
|
};
|
|
3969
|
-
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$
|
|
3991
|
+
declare const ComboboxGroupLabel: ({ ref, className, ...props }: Props$160) => import("react/jsx-runtime").JSX.Element;
|
|
3970
3992
|
//#endregion
|
|
3971
3993
|
//#region src/components/Combobox/Group/ComboboxCollection.d.ts
|
|
3972
|
-
type Props$
|
|
3973
|
-
declare const ComboboxCollection: ({ ...props }: Props$
|
|
3994
|
+
type Props$159 = Combobox$1.Collection.Props;
|
|
3995
|
+
declare const ComboboxCollection: ({ ...props }: Props$159) => import("react/jsx-runtime").JSX.Element;
|
|
3974
3996
|
//#endregion
|
|
3975
3997
|
//#region src/components/Combobox/types.d.ts
|
|
3976
3998
|
type Group$2<Item = unknown> = {
|
|
@@ -3998,7 +4020,7 @@ type CreatableProps$1<Value> = {
|
|
|
3998
4020
|
*/
|
|
3999
4021
|
canCreate?: (query: string) => boolean;
|
|
4000
4022
|
};
|
|
4001
|
-
type Props$
|
|
4023
|
+
type Props$158<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
4002
4024
|
items?: readonly (Value | GroupShape)[];
|
|
4003
4025
|
/**
|
|
4004
4026
|
* Offer a clear button once a value is selected. Defaults to **`true`**.
|
|
@@ -4066,7 +4088,7 @@ type Props$152<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Publ
|
|
|
4066
4088
|
itemToSelectedLabel?: (item: Value) => ReactNode;
|
|
4067
4089
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
4068
4090
|
};
|
|
4069
|
-
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, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, itemToSelectedLabel, groupToLabel }: Props$
|
|
4091
|
+
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, inputValueSanitizer, onQueryChange, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, itemToSelectedLabel, groupToLabel }: Props$158<Value, GroupShape>): import("react/jsx-runtime").JSX.Element;
|
|
4070
4092
|
declare namespace Combobox {
|
|
4071
4093
|
export { ComboboxRoot as Root };
|
|
4072
4094
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -4173,7 +4195,7 @@ type CreatableProps<Value> = {
|
|
|
4173
4195
|
* without it Base UI matches `value` against `items` by reference. Pass `allowCreate` to let the user add
|
|
4174
4196
|
* free-form values not in `items`.
|
|
4175
4197
|
*/
|
|
4176
|
-
type Props$
|
|
4198
|
+
type Props$157<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' | 'isItemEqualToValue'> & Pick<ComboboxChipsProps<Value>, 'itemToChipLabel' | 'itemToChipColor' | 'pinnedChipLabels' | 'maxVisible'> & CreatableProps<Value> & {
|
|
4177
4199
|
items?: readonly (Value | GroupShape)[];
|
|
4178
4200
|
/**
|
|
4179
4201
|
* Offer a clear-all button once something is selected. Defaults to **`true`**.
|
|
@@ -4251,10 +4273,10 @@ type Props$151<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
4251
4273
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
4252
4274
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
4253
4275
|
*/
|
|
4254
|
-
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, maxVisible }: Props$
|
|
4276
|
+
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, isItemEqualToValue: isItemEqualToValueProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, inputValueSanitizer, onQueryChange, allowCreate, canCreate, queryToCreateValue, queryToCreateLabel, createSeparator, itemToDisabled, itemToLabel: itemToLabelProp, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, pinnedChipLabels, renderChips, maxVisible }: Props$157<Value, GroupShape>) => import("react/jsx-runtime").JSX.Element;
|
|
4255
4277
|
//#endregion
|
|
4256
4278
|
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
4257
|
-
type Props$
|
|
4279
|
+
type Props$156 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
4258
4280
|
inputClassName?: string;
|
|
4259
4281
|
};
|
|
4260
4282
|
/**
|
|
@@ -4282,7 +4304,52 @@ type Props$150 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<strin
|
|
|
4282
4304
|
* Pass `allowCreate` for an enum the user may extend — an open list of synchronous action names, say.
|
|
4283
4305
|
* The created values land in the field value like any other.
|
|
4284
4306
|
*/
|
|
4285
|
-
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$
|
|
4307
|
+
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$156) => import("react/jsx-runtime").JSX.Element;
|
|
4308
|
+
//#endregion
|
|
4309
|
+
//#region src/blocks/ChipEditor/ChipEditor.d.ts
|
|
4310
|
+
type InputGroupProps$8 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'sizing' | 'state'>;
|
|
4311
|
+
type BadgeColor = ComponentProps<typeof Badge>['color'];
|
|
4312
|
+
type OwnProps = {
|
|
4313
|
+
value?: string[];
|
|
4314
|
+
defaultValue?: string[];
|
|
4315
|
+
/** Called with the whole next list whenever a value is added or removed. */
|
|
4316
|
+
onValueChange?: (value: string[]) => void;
|
|
4317
|
+
/**
|
|
4318
|
+
* Splits one committed entry into several values — the same split as `MultiCombobox`'s
|
|
4319
|
+
* `createSeparator`, so a pasted list becomes one chip per value rather than a chip literally
|
|
4320
|
+
* named `id1, id2, id3`. `null` for a value that can itself contain the separator.
|
|
4321
|
+
*/
|
|
4322
|
+
separator?: string | RegExp | null;
|
|
4323
|
+
/**
|
|
4324
|
+
* Gates each value, after the split and before it becomes a chip.
|
|
4325
|
+
*
|
|
4326
|
+
* - Reach for it when the value has a **format** the user must get right — an identifier, an
|
|
4327
|
+
* email, a domain.
|
|
4328
|
+
* - A pasted list keeps the values that pass and drops the rest, so one bad value never costs
|
|
4329
|
+
* the good ones.
|
|
4330
|
+
*/
|
|
4331
|
+
canAdd?: (value: string) => boolean;
|
|
4332
|
+
/** The chip colour. Decorative — it categorises values, it does not encode their state. */
|
|
4333
|
+
chipColor?: BadgeColor;
|
|
4334
|
+
/** Names each remove button for a screen reader. */
|
|
4335
|
+
removeLabel?: (value: string) => string;
|
|
4336
|
+
testId?: string;
|
|
4337
|
+
};
|
|
4338
|
+
type Props$1 = InputGroupProps$8 & OwnProps & Omit<ComponentProps<'input'>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4339
|
+
/**
|
|
4340
|
+
* Free-text token editor — type a value, press Enter, it becomes a removable chip.
|
|
4341
|
+
*
|
|
4342
|
+
* **When to use:** a list of strings the user writes rather than picks — tags, feature flags,
|
|
4343
|
+
* column names, permitted email domains. It is the one chip editor on the platform, so an app
|
|
4344
|
+
* never rebuilds the input-plus-chips row itself.
|
|
4345
|
+
* **When NOT to use:** when the values come from a known list use `MultiCombobox` (with
|
|
4346
|
+
* `allowCreate` when the list is open-ended) — a searchable popup beats blind typing. A list the
|
|
4347
|
+
* user cannot edit is a row of plain `Badge`s.
|
|
4348
|
+
* **Composition:** wrap in a `FormGroup` for a label and error state, or pass `state="error"` /
|
|
4349
|
+
* `aria-invalid` directly. Values are compared case-insensitively, so one already held is never
|
|
4350
|
+
* added twice.
|
|
4351
|
+
*/
|
|
4352
|
+
declare const ChipEditor: ({ ref: forwardedRef, value: valueProp, defaultValue, onValueChange, separator, canAdd, chipColor, removeLabel, testId, state, sizing, variant, focusVariant, className, disabled, readOnly, onChange, onBlur, onKeyDown, ...inputProps }: Props$1) => import("react/jsx-runtime").JSX.Element;
|
|
4286
4353
|
//#endregion
|
|
4287
4354
|
//#region src/blocks/Textarea/Textarea.d.ts
|
|
4288
4355
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
@@ -4296,12 +4363,12 @@ type TextareaOwnProps = {
|
|
|
4296
4363
|
disableResize?: boolean;
|
|
4297
4364
|
containerClassName?: string;
|
|
4298
4365
|
};
|
|
4299
|
-
type Props$
|
|
4366
|
+
type Props$155 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
4300
4367
|
/**
|
|
4301
4368
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
4302
4369
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
4303
4370
|
*/
|
|
4304
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$
|
|
4371
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$155) => import("react/jsx-runtime").JSX.Element;
|
|
4305
4372
|
//#endregion
|
|
4306
4373
|
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
4307
4374
|
type AutoSaveTextareaProps = {
|
|
@@ -4316,14 +4383,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
4316
4383
|
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
4317
4384
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4318
4385
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
4319
|
-
type Props$
|
|
4386
|
+
type Props$154 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
4320
4387
|
value?: string | null;
|
|
4321
4388
|
defaultValue?: string | null;
|
|
4322
4389
|
onValueChange?: (value: string) => void;
|
|
4323
4390
|
onValueBlur?: (value: string) => void;
|
|
4324
4391
|
allowClear?: boolean;
|
|
4325
4392
|
};
|
|
4326
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
4393
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$154) => import("react/jsx-runtime").JSX.Element;
|
|
4327
4394
|
//#endregion
|
|
4328
4395
|
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
4329
4396
|
type UseBrandOptions = {
|
|
@@ -4355,17 +4422,17 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4355
4422
|
};
|
|
4356
4423
|
//#endregion
|
|
4357
4424
|
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4358
|
-
type Props$
|
|
4425
|
+
type Props$153 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4359
4426
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4360
4427
|
brands?: readonly Brand$1[];
|
|
4361
4428
|
children: ReactNode;
|
|
4362
4429
|
};
|
|
4363
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$
|
|
4430
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$153) => import("react/jsx-runtime").JSX.Element;
|
|
4364
4431
|
//#endregion
|
|
4365
4432
|
//#region src/components/ThemeProvider/ThemeScope.d.ts
|
|
4366
4433
|
/** The scope's themed portal container, or `null` outside a `ThemeScope`. */
|
|
4367
4434
|
declare const useThemeScopeContainer: () => HTMLElement | null;
|
|
4368
|
-
type Props$
|
|
4435
|
+
type Props$152 = {
|
|
4369
4436
|
/** Colour scheme for this subtree. `system` follows the OS preference. */
|
|
4370
4437
|
scheme: ColorScheme;
|
|
4371
4438
|
/** Merged onto the child element. */
|
|
@@ -4389,7 +4456,7 @@ type Props$146 = {
|
|
|
4389
4456
|
* layout ignores but selectors do not) silently breaks direct-child selectors
|
|
4390
4457
|
* like `[data-fill=true] > &` in the element it wraps.
|
|
4391
4458
|
*/
|
|
4392
|
-
declare const ThemeScope: ({ scheme, className, children }: Props$
|
|
4459
|
+
declare const ThemeScope: ({ scheme, className, children }: Props$152) => import("react/jsx-runtime").JSX.Element;
|
|
4393
4460
|
//#endregion
|
|
4394
4461
|
//#region src/components/ThemeProvider/context.d.ts
|
|
4395
4462
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
@@ -4422,7 +4489,7 @@ declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
|
4422
4489
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4423
4490
|
//#endregion
|
|
4424
4491
|
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4425
|
-
type Props$
|
|
4492
|
+
type Props$151 = {
|
|
4426
4493
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
4427
4494
|
value: ColorScheme;
|
|
4428
4495
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -4447,12 +4514,12 @@ type Props$145 = {
|
|
|
4447
4514
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
4448
4515
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
4449
4516
|
*/
|
|
4450
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4517
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$151) => import("react/jsx-runtime").JSX.Element;
|
|
4451
4518
|
//#endregion
|
|
4452
4519
|
//#region src/blocks/DateInput/DateInput.d.ts
|
|
4453
4520
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4454
4521
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4455
|
-
type Props$
|
|
4522
|
+
type Props$150 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4456
4523
|
value?: Date | null;
|
|
4457
4524
|
defaultValue?: Date | null;
|
|
4458
4525
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4462,12 +4529,12 @@ type Props$144 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4462
4529
|
endMonth?: Date;
|
|
4463
4530
|
startMonth?: Date;
|
|
4464
4531
|
};
|
|
4465
|
-
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$
|
|
4532
|
+
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$150) => import("react/jsx-runtime").JSX.Element;
|
|
4466
4533
|
//#endregion
|
|
4467
4534
|
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
4468
4535
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4469
4536
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4470
|
-
type Props$
|
|
4537
|
+
type Props$149 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4471
4538
|
value?: number | null;
|
|
4472
4539
|
defaultValue?: number | null;
|
|
4473
4540
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4475,12 +4542,12 @@ type Props$143 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4475
4542
|
prefix?: ReactNode;
|
|
4476
4543
|
suffix?: ReactNode;
|
|
4477
4544
|
};
|
|
4478
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
4545
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$149) => import("react/jsx-runtime").JSX.Element;
|
|
4479
4546
|
//#endregion
|
|
4480
4547
|
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
4481
4548
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4482
4549
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4483
|
-
type Props$
|
|
4550
|
+
type Props$148 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4484
4551
|
value?: string | null;
|
|
4485
4552
|
defaultValue?: string | null;
|
|
4486
4553
|
onValueChange?: (value: string) => void;
|
|
@@ -4497,24 +4564,24 @@ type Props$142 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4497
4564
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4498
4565
|
defaultPasswordVisibility?: boolean;
|
|
4499
4566
|
};
|
|
4500
|
-
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$
|
|
4567
|
+
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$148) => import("react/jsx-runtime").JSX.Element;
|
|
4501
4568
|
//#endregion
|
|
4502
4569
|
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
4503
4570
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4504
4571
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4505
|
-
type Props$
|
|
4572
|
+
type Props$147 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4506
4573
|
value?: string | null;
|
|
4507
4574
|
defaultValue?: string | null;
|
|
4508
4575
|
onValueChange?: (value: string | null) => void;
|
|
4509
4576
|
onValueBlur?: (value: string | null) => void;
|
|
4510
4577
|
allowClear?: boolean;
|
|
4511
4578
|
};
|
|
4512
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4579
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$147) => import("react/jsx-runtime").JSX.Element;
|
|
4513
4580
|
//#endregion
|
|
4514
4581
|
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
4515
4582
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4516
4583
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4517
|
-
type Props$
|
|
4584
|
+
type Props$146 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4518
4585
|
value?: DateRange$1 | null;
|
|
4519
4586
|
defaultValue?: DateRange$1 | null;
|
|
4520
4587
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4523,7 +4590,7 @@ type Props$140 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4523
4590
|
startMonth?: Date;
|
|
4524
4591
|
endMonth?: Date;
|
|
4525
4592
|
};
|
|
4526
|
-
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$
|
|
4593
|
+
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$146) => import("react/jsx-runtime").JSX.Element;
|
|
4527
4594
|
//#endregion
|
|
4528
4595
|
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
4529
4596
|
type GroupProps = ComponentProps<'div'>;
|
|
@@ -4574,7 +4641,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4574
4641
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
4575
4642
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
4576
4643
|
*/
|
|
4577
|
-
type Props$
|
|
4644
|
+
type Props$145 = InputGroupProps & InputGroupInputProps & {
|
|
4578
4645
|
value?: string | null;
|
|
4579
4646
|
defaultValue?: string | null;
|
|
4580
4647
|
/** 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`. */
|
|
@@ -4603,7 +4670,7 @@ type Props$139 = InputGroupProps & InputGroupInputProps & {
|
|
|
4603
4670
|
*
|
|
4604
4671
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
4605
4672
|
*/
|
|
4606
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
4673
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$145) => import("react/jsx-runtime").JSX.Element;
|
|
4607
4674
|
//#endregion
|
|
4608
4675
|
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4609
4676
|
type SearchInputWithNavigationProps = {
|
|
@@ -4723,7 +4790,7 @@ declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disable
|
|
|
4723
4790
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4724
4791
|
//#endregion
|
|
4725
4792
|
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4726
|
-
type Props$
|
|
4793
|
+
type Props$144 = {
|
|
4727
4794
|
/** Override the default copy / icon block. */
|
|
4728
4795
|
children?: ReactNode;
|
|
4729
4796
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4733,10 +4800,10 @@ type Props$138 = {
|
|
|
4733
4800
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4734
4801
|
* Pass `children` to fully replace the inner block.
|
|
4735
4802
|
*/
|
|
4736
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4803
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$144) => import("react/jsx-runtime").JSX.Element;
|
|
4737
4804
|
//#endregion
|
|
4738
4805
|
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4739
|
-
type Props$
|
|
4806
|
+
type Props$143 = {
|
|
4740
4807
|
files: File[];
|
|
4741
4808
|
onRemove?: (file: File, index: number) => void;
|
|
4742
4809
|
/**
|
|
@@ -4749,7 +4816,7 @@ type Props$137 = {
|
|
|
4749
4816
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4750
4817
|
* removal via `onRemove`.
|
|
4751
4818
|
*/
|
|
4752
|
-
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$
|
|
4819
|
+
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$143) => import("react/jsx-runtime").JSX.Element | null;
|
|
4753
4820
|
//#endregion
|
|
4754
4821
|
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4755
4822
|
/**
|
|
@@ -4757,7 +4824,7 @@ declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...res
|
|
|
4757
4824
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
4758
4825
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
4759
4826
|
*/
|
|
4760
|
-
type Props$
|
|
4827
|
+
type Props$142 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4761
4828
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4762
4829
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4763
4830
|
children: ReactNode;
|
|
@@ -4776,18 +4843,18 @@ type Props$136 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4776
4843
|
* for the selected-files list. The caller stores the `File[]` and renders it back into `FileList`.
|
|
4777
4844
|
* Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4778
4845
|
*/
|
|
4779
|
-
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
4846
|
+
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$142) => import("react/jsx-runtime").JSX.Element;
|
|
4780
4847
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4781
4848
|
DropZone: typeof FileUploadDropZone;
|
|
4782
4849
|
FileList: typeof FileUploadFileList;
|
|
4783
4850
|
};
|
|
4784
4851
|
//#endregion
|
|
4785
4852
|
//#region src/blocks/FormGroup/FormGroupColorInput.d.ts
|
|
4786
|
-
type Props$
|
|
4787
|
-
declare const FormGroupColorInput: ({ ref, ...props }: Props$
|
|
4853
|
+
type Props$141 = Omit<ComponentProps<typeof ColorInput>, 'state'>;
|
|
4854
|
+
declare const FormGroupColorInput: ({ ref, ...props }: Props$141) => import("react/jsx-runtime").JSX.Element;
|
|
4788
4855
|
//#endregion
|
|
4789
4856
|
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4790
|
-
type Props$
|
|
4857
|
+
type Props$140 = ComponentPropsWithRef<'div'> & {
|
|
4791
4858
|
/**
|
|
4792
4859
|
* Field validation errors. TanStack Form errors are strings (function validators) or
|
|
4793
4860
|
* `{ message }` objects (Standard Schema / zod). A single message renders inline; several
|
|
@@ -4803,30 +4870,30 @@ type Props$134 = ComponentPropsWithRef<'div'> & {
|
|
|
4803
4870
|
* field (e.g. surfaced on submit). Renders a `<div>` (not `<p>`) so multiple errors can render
|
|
4804
4871
|
* as a `<ul>`.
|
|
4805
4872
|
*/
|
|
4806
|
-
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$
|
|
4873
|
+
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$140) => import("react/jsx-runtime").JSX.Element | null;
|
|
4807
4874
|
//#endregion
|
|
4808
4875
|
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4809
4876
|
declare const helpVariants: (props?: ({
|
|
4810
4877
|
state?: "default" | "warning" | null | undefined;
|
|
4811
4878
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4812
|
-
type Props$
|
|
4813
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4879
|
+
type Props$139 = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4880
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$139) => import("react/jsx-runtime").JSX.Element | null;
|
|
4814
4881
|
//#endregion
|
|
4815
4882
|
//#region src/blocks/FormGroup/FormGroupHelp.d.ts
|
|
4816
|
-
type Props$
|
|
4817
|
-
declare const FormGroupHelp: ({ children, ...rest }: Props$
|
|
4883
|
+
type Props$138 = Omit<ComponentProps<typeof HelpBlock>, 'state'>;
|
|
4884
|
+
declare const FormGroupHelp: ({ children, ...rest }: Props$138) => import("react/jsx-runtime").JSX.Element;
|
|
4818
4885
|
//#endregion
|
|
4819
4886
|
//#region src/blocks/FormGroup/FormGroupNumberInput.d.ts
|
|
4820
|
-
type Props$
|
|
4821
|
-
declare const FormGroupNumberInput: ({ ref, ...props }: Props$
|
|
4887
|
+
type Props$137 = Omit<ComponentProps<typeof NumberInput>, 'state'>;
|
|
4888
|
+
declare const FormGroupNumberInput: ({ ref, ...props }: Props$137) => import("react/jsx-runtime").JSX.Element;
|
|
4822
4889
|
//#endregion
|
|
4823
4890
|
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4824
|
-
type Props$
|
|
4825
|
-
declare const FormGroupTextarea: (props: Props$
|
|
4891
|
+
type Props$136 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4892
|
+
declare const FormGroupTextarea: (props: Props$136) => import("react/jsx-runtime").JSX.Element;
|
|
4826
4893
|
//#endregion
|
|
4827
4894
|
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4828
|
-
type Props$
|
|
4829
|
-
declare const FormGroupTextInput: ({ ref, ...props }: Props$
|
|
4895
|
+
type Props$135 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4896
|
+
declare const FormGroupTextInput: ({ ref, ...props }: Props$135) => import("react/jsx-runtime").JSX.Element;
|
|
4830
4897
|
//#endregion
|
|
4831
4898
|
//#region src/blocks/FormGroup/types.d.ts
|
|
4832
4899
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
@@ -4854,7 +4921,18 @@ declare namespace FormGroup {
|
|
|
4854
4921
|
//#region src/blocks/AIKit/AnswerActions.d.ts
|
|
4855
4922
|
/** Which way a reader rated an answer. */
|
|
4856
4923
|
type AnswerVote = 'up' | 'down';
|
|
4857
|
-
|
|
4924
|
+
/** Roomier for a panel a reader sits in; the compact one suits a row inside a dense transcript. */
|
|
4925
|
+
declare const SIZES: {
|
|
4926
|
+
readonly small: {
|
|
4927
|
+
readonly button: 'icon-xs';
|
|
4928
|
+
readonly gap: 'extra-small';
|
|
4929
|
+
};
|
|
4930
|
+
readonly medium: {
|
|
4931
|
+
readonly button: 'icon-sm';
|
|
4932
|
+
readonly gap: 'little-small';
|
|
4933
|
+
};
|
|
4934
|
+
};
|
|
4935
|
+
type Props$134 = {
|
|
4858
4936
|
/**
|
|
4859
4937
|
* The answer as the reader would read it, for the clipboard.
|
|
4860
4938
|
*
|
|
@@ -4865,6 +4943,33 @@ type Props$128 = {
|
|
|
4865
4943
|
/** The vote already recorded against this answer, or `null` for none. */
|
|
4866
4944
|
vote: AnswerVote | null;
|
|
4867
4945
|
onVote: (vote: AnswerVote) => void;
|
|
4946
|
+
/** Extra controls for the answer — a report button, say. Drawn beside copy, ahead of it. */
|
|
4947
|
+
actions?: ReactNode;
|
|
4948
|
+
/** What the thumbs are called. Some surfaces rate a "response", others an "answer". */
|
|
4949
|
+
labels?: {
|
|
4950
|
+
up: string;
|
|
4951
|
+
down: string;
|
|
4952
|
+
};
|
|
4953
|
+
/**
|
|
4954
|
+
* What to say back once a vote lands, if anything.
|
|
4955
|
+
*
|
|
4956
|
+
* - Announced politely, so a reader who cannot see it still hears the vote registered.
|
|
4957
|
+
*/
|
|
4958
|
+
confirmation?: {
|
|
4959
|
+
up: string;
|
|
4960
|
+
down: string;
|
|
4961
|
+
};
|
|
4962
|
+
size?: keyof typeof SIZES;
|
|
4963
|
+
/**
|
|
4964
|
+
* How the row sits under the answer.
|
|
4965
|
+
*
|
|
4966
|
+
* - `inline` (default) — one group, reading left to right.
|
|
4967
|
+
* - `split` — the verdict on the left, what to do with the answer on the right, pushed to the
|
|
4968
|
+
* edges of the bubble.
|
|
4969
|
+
*/
|
|
4970
|
+
layout?: 'inline' | 'split';
|
|
4971
|
+
/** Fires when the reader takes the answer away; the copy itself is the button's own. */
|
|
4972
|
+
onCopy?: () => void;
|
|
4868
4973
|
};
|
|
4869
4974
|
/**
|
|
4870
4975
|
* What a reader can do with a finished answer: take it away, and say whether it was any good.
|
|
@@ -4878,7 +4983,7 @@ type Props$128 = {
|
|
|
4878
4983
|
* - The recorded vote and the write are the caller's: the two chats vote against different
|
|
4879
4984
|
* endpoints, and only the caller knows whether a turn is finished enough to rate.
|
|
4880
4985
|
*/
|
|
4881
|
-
declare const AnswerActions: ({ copyText, vote, onVote }: Props$
|
|
4986
|
+
declare const AnswerActions: ({ copyText, vote, onVote, onCopy, actions, labels, confirmation, size, layout }: Props$134) => import("react/jsx-runtime").JSX.Element;
|
|
4882
4987
|
//#endregion
|
|
4883
4988
|
//#region src/blocks/AIKit/AnswerSummary.d.ts
|
|
4884
4989
|
type AnswerItem = {
|
|
@@ -4894,29 +4999,124 @@ type Props = {
|
|
|
4894
4999
|
};
|
|
4895
5000
|
declare const AnswerSummary: ({ items, variant, noAnswerLabel, onExpandToggle }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
4896
5001
|
//#endregion
|
|
5002
|
+
//#region src/blocks/AIKit/ChatInlineIcon.d.ts
|
|
5003
|
+
/**
|
|
5004
|
+
* The icon name in a code node's text, if the text is a token — drawn, or still arriving.
|
|
5005
|
+
*
|
|
5006
|
+
* - `icon:table` → `table`; anything else, including `icon: table`, `icon:Table` and
|
|
5007
|
+
* `icon:unicorn` → `undefined`.
|
|
5008
|
+
* - A name the registry lacks answers `undefined` on purpose, so every call site's own `<code>`
|
|
5009
|
+
* fall-through keeps the text its author typed. `icon:` is an ordinary way to name a property,
|
|
5010
|
+
* and this renderer draws vendor descriptions and dashboard text as well as agent answers.
|
|
5011
|
+
* - A name that only starts one it draws is a token still arriving, answered with so that
|
|
5012
|
+
* `<ChatInlineIcon />` draws nothing: an answer streams `icon:t`, `icon:ta`, `icon:tab` before
|
|
5013
|
+
* the name lands, and each of those as code is a chip that reflows the line for a frame.
|
|
5014
|
+
* - A name that is both — `save`, the start of `save-changes` — is drawn now; waiting would leave
|
|
5015
|
+
* a finished token blank for the rest of the answer.
|
|
5016
|
+
* - The token reaches a renderer as inline code either because the model wrote it in backticks
|
|
5017
|
+
* or because a remark plugin turned the bare text into an `inlineCode` node. Parsing the
|
|
5018
|
+
* token is the vocabulary's; producing it is the app's, since the plugin is workspace-internal.
|
|
5019
|
+
*/
|
|
5020
|
+
declare const getChatInlineIconName: (text: string) => string | undefined;
|
|
5021
|
+
type Props$133 = {
|
|
5022
|
+
/** The name from the token, without the `icon:` prefix. */
|
|
5023
|
+
name: string;
|
|
5024
|
+
};
|
|
5025
|
+
/**
|
|
5026
|
+
* One inline `icon:<name>` token, drawn at the size of the text it leads.
|
|
5027
|
+
*
|
|
5028
|
+
* - An unknown name renders nothing, which is how a token still arriving (`icon:tabl`) stays
|
|
5029
|
+
* blank instead of flashing as a code chip. A name `getChatInlineIconName` withholds keeps its
|
|
5030
|
+
* text at the call site's own `<code>` fall-through and never reaches here.
|
|
5031
|
+
* - `size-[1em]` tracks the font size, so the icon matches a heading instead of sitting small
|
|
5032
|
+
* beside it, and `align-[-0.125em]` on an inline-block optically centres it against the
|
|
5033
|
+
* baseline.
|
|
5034
|
+
* - `mr` tops up the single source space, which is a word gap and reads as cramped between a
|
|
5035
|
+
* glyph and the phrase it labels.
|
|
5036
|
+
* - A heavier stroke so an outline icon holds its own next to the bold weight a heading carries.
|
|
5037
|
+
* - `spinner` also spins; the mapping owns that, not the caller. See `ICON_CLASSES`.
|
|
5038
|
+
* - `aria-hidden`, because the glyph is decorative: the token's text is removed from the answer and
|
|
5039
|
+
* nothing replaces it as a label, so a reader that announces unnamed inline SVGs would read an
|
|
5040
|
+
* unlabelled graphic before every phrase the agent decorates.
|
|
5041
|
+
*/
|
|
5042
|
+
declare const ChatInlineIcon: ({ name }: Props$133) => import("react/jsx-runtime").JSX.Element | null;
|
|
5043
|
+
//#endregion
|
|
4897
5044
|
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4898
5045
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4899
|
-
type Props$
|
|
5046
|
+
type Props$132 = {
|
|
4900
5047
|
isExpanded: boolean;
|
|
4901
5048
|
onToggle: () => void;
|
|
4902
5049
|
label: ReactNode;
|
|
4903
5050
|
variant?: Variant$5;
|
|
4904
5051
|
};
|
|
4905
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
5052
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$132) => import("react/jsx-runtime").JSX.Element;
|
|
4906
5053
|
//#endregion
|
|
4907
5054
|
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4908
|
-
type Props$
|
|
5055
|
+
type Props$2 = {
|
|
4909
5056
|
children: ReactNode;
|
|
4910
5057
|
};
|
|
4911
|
-
declare const InlineStepDetail: ({ children }: Props$
|
|
5058
|
+
declare const InlineStepDetail: ({ children }: Props$2) => import("react/jsx-runtime").JSX.Element;
|
|
4912
5059
|
//#endregion
|
|
4913
5060
|
//#region src/blocks/AIKit/InlineStepLabel.d.ts
|
|
4914
5061
|
type Variant$3 = 'processing' | 'success' | 'error' | 'dismissed';
|
|
4915
|
-
type Props$
|
|
5062
|
+
type Props$4 = {
|
|
4916
5063
|
variant: Variant$3;
|
|
4917
5064
|
children: ReactNode;
|
|
4918
5065
|
};
|
|
4919
|
-
declare const InlineStepLabel: ({ variant, children }: Props$
|
|
5066
|
+
declare const InlineStepLabel: ({ variant, children }: Props$4) => import("react/jsx-runtime").JSX.Element;
|
|
5067
|
+
//#endregion
|
|
5068
|
+
//#region src/blocks/AIKit/InlineStepGroup.d.ts
|
|
5069
|
+
type Props$3 = {
|
|
5070
|
+
/** The one line the run collapses to. */
|
|
5071
|
+
label: ReactNode;
|
|
5072
|
+
/** How the whole run reads in one mark. */
|
|
5073
|
+
variant?: Variant$3;
|
|
5074
|
+
isExpanded: boolean;
|
|
5075
|
+
onToggle: () => void;
|
|
5076
|
+
/**
|
|
5077
|
+
* What paints behind the group, as a CSS colour.
|
|
5078
|
+
*
|
|
5079
|
+
* - The step icons mask the connector against it, so each mark reads as a break in the rule
|
|
5080
|
+
* rather than a chip laid over it.
|
|
5081
|
+
* - Wrong value, wrong-coloured notches. A transcript on a panel surface passes that surface,
|
|
5082
|
+
* not the page background.
|
|
5083
|
+
*/
|
|
5084
|
+
surface?: string;
|
|
5085
|
+
/** Names the group for a screen reader. Without one the run is an unnamed grouping. */
|
|
5086
|
+
'aria-label'?: string;
|
|
5087
|
+
/**
|
|
5088
|
+
* The hook an E2E suite anchors the group on.
|
|
5089
|
+
*
|
|
5090
|
+
* - Named by the host, because the name is the host's contract with its own tests.
|
|
5091
|
+
* - A selector held in `packages/e2e-testing` breaks silently when this attribute moves.
|
|
5092
|
+
*/
|
|
5093
|
+
'data-testid'?: string;
|
|
5094
|
+
className?: string;
|
|
5095
|
+
/** The rows: `InlineStepLabel`, `InlineStepDetail`, and whatever a host draws between them. */
|
|
5096
|
+
children: ReactNode;
|
|
5097
|
+
};
|
|
5098
|
+
/**
|
|
5099
|
+
* A run of steps an agent took, behind one line that says how far along it is.
|
|
5100
|
+
*
|
|
5101
|
+
* - The frame only. What a step *says* is the host's — one product names buckets and tables,
|
|
5102
|
+
* another must never put those words on screen — so the rows arrive as children and this
|
|
5103
|
+
* supplies the header, the collapse, the connector and the rhythm they share.
|
|
5104
|
+
* - One rule behind the whole run at the icon centre line: the list's `pl-5` plus half a
|
|
5105
|
+
* `size-5` icon box. Drawn once rather than per row, so it does not vanish beside a row that
|
|
5106
|
+
* happens to have no icon.
|
|
5107
|
+
* - `grid-template-rows` rather than height, because the rows are text of unknown length and a
|
|
5108
|
+
* transition needs a number at both ends. The children stay mounted while closed: a group the
|
|
5109
|
+
* reader reopens must not re-run whatever mounting a row costs. A closed group is `inert` and
|
|
5110
|
+
* `aria-hidden`, so staying mounted does not mean staying reachable.
|
|
5111
|
+
* - Expansion is the caller's state. Whether a group opens itself while work is happening, and
|
|
5112
|
+
* whether a reader's own toggle outranks that, is a transcript-level decision.
|
|
5113
|
+
* - `role="group"` rather than the `<section>`'s own landmark semantics: a transcript draws one
|
|
5114
|
+
* of these per run of steps, so a long conversation would hand a screen reader a landmark
|
|
5115
|
+
* list of dozens of identically named `region`s and drown the page's real landmarks in it.
|
|
5116
|
+
* The name still reads — a named `group` is announced by it — and it is the role the
|
|
5117
|
+
* grounding panel already gives its repeated named answer sections.
|
|
5118
|
+
*/
|
|
5119
|
+
declare const InlineStepGroup: ({ label, variant, isExpanded, onToggle, surface, 'aria-label': ariaLabel, 'data-testid': testId, className, children }: Props$3) => import("react/jsx-runtime").JSX.Element;
|
|
4920
5120
|
//#endregion
|
|
4921
5121
|
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4922
5122
|
/**
|
|
@@ -4930,7 +5130,7 @@ declare const InlineStepLabel: ({ variant, children }: Props$2) => import("react
|
|
|
4930
5130
|
* every other app in the same bundle holds a fence back.
|
|
4931
5131
|
*/
|
|
4932
5132
|
declare const DIAGRAM_LANGUAGES: readonly string[];
|
|
4933
|
-
type Props$
|
|
5133
|
+
type Props$131 = {
|
|
4934
5134
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4935
5135
|
* render through the design `Table`; fenced ```mermaid and ```flint blocks render
|
|
4936
5136
|
* as diagrams; every other fenced block gets a hover copy button. */
|
|
@@ -4962,7 +5162,7 @@ type Props$126 = {
|
|
|
4962
5162
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4963
5163
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4964
5164
|
*/
|
|
4965
|
-
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$
|
|
5165
|
+
declare const Markdown: ({ children, className, remarkPlugins, components: componentOverrides }: Props$131) => import("react/jsx-runtime").JSX.Element;
|
|
4966
5166
|
//#endregion
|
|
4967
5167
|
//#region src/blocks/AIKit/MarkdownTable.d.ts
|
|
4968
5168
|
/**
|
|
@@ -4977,7 +5177,7 @@ declare const FADE_SURFACE: {
|
|
|
4977
5177
|
readonly background: 'tw:from-background';
|
|
4978
5178
|
};
|
|
4979
5179
|
type Surface = keyof typeof FADE_SURFACE;
|
|
4980
|
-
type Props$
|
|
5180
|
+
type Props$130 = {
|
|
4981
5181
|
/**
|
|
4982
5182
|
* The table itself — a `Table bordered`, whose own container is the scrolling element.
|
|
4983
5183
|
*
|
|
@@ -5028,10 +5228,10 @@ type Props$125 = {
|
|
|
5028
5228
|
* - Past `EXPAND_RATIO` the fade is joined by `onExpand`'s action, drawn without waiting for a
|
|
5029
5229
|
* hover: it reports that content is cut off, which the reader needs before going looking.
|
|
5030
5230
|
*/
|
|
5031
|
-
declare const MarkdownTable: ({ children, actions, onExpand, surface, className }: Props$
|
|
5231
|
+
declare const MarkdownTable: ({ children, actions, onExpand, surface, className }: Props$130) => import("react/jsx-runtime").JSX.Element;
|
|
5032
5232
|
//#endregion
|
|
5033
5233
|
//#region src/components/Avatar.d.ts
|
|
5034
|
-
type Props$
|
|
5234
|
+
type Props$129 = {
|
|
5035
5235
|
user?: {
|
|
5036
5236
|
name: string | undefined;
|
|
5037
5237
|
email: string | undefined;
|
|
@@ -5041,17 +5241,17 @@ type Props$124 = {
|
|
|
5041
5241
|
size?: number;
|
|
5042
5242
|
variant?: 'circle' | 'rounded';
|
|
5043
5243
|
} & ComponentProps<'span'>;
|
|
5044
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
5244
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$129) => import("react/jsx-runtime").JSX.Element;
|
|
5045
5245
|
//#endregion
|
|
5046
5246
|
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
5047
|
-
type Props$
|
|
5247
|
+
type Props$128 = {
|
|
5048
5248
|
variant: 'user' | 'assistant';
|
|
5049
5249
|
actions?: ReactNode;
|
|
5050
5250
|
createdAt?: string;
|
|
5051
5251
|
/** @deprecated No avatar is rendered; accepted so existing call sites keep compiling. */
|
|
5052
5252
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
5053
5253
|
} & PropsWithChildren;
|
|
5054
|
-
declare const MessageBubble: ({ variant, children, actions, createdAt }: Props$
|
|
5254
|
+
declare const MessageBubble: ({ variant, children, actions, createdAt }: Props$128) => import("react/jsx-runtime").JSX.Element;
|
|
5055
5255
|
//#endregion
|
|
5056
5256
|
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
5057
5257
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
@@ -5095,30 +5295,45 @@ type PlanRewritingIndicatorProps = {
|
|
|
5095
5295
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
5096
5296
|
//#endregion
|
|
5097
5297
|
//#region src/blocks/AIKit/PromptInputAction.d.ts
|
|
5098
|
-
type Props$
|
|
5099
|
-
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$
|
|
5298
|
+
type Props$127 = ComponentProps<'button'>;
|
|
5299
|
+
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$127) => import("react/jsx-runtime").JSX.Element;
|
|
5100
5300
|
//#endregion
|
|
5101
5301
|
//#region src/blocks/AIKit/PromptInputCommands.d.ts
|
|
5102
5302
|
type PromptCommand = {
|
|
5103
5303
|
label: string;
|
|
5104
5304
|
value: string;
|
|
5105
5305
|
description?: string;
|
|
5106
|
-
icon?: ReactNode;
|
|
5107
5306
|
group: string;
|
|
5108
5307
|
};
|
|
5109
5308
|
//#endregion
|
|
5309
|
+
//#region src/blocks/AIKit/PromptInputMenuTrigger.d.ts
|
|
5310
|
+
type Props$126 = Omit<ComponentProps<typeof Button>, 'children' | 'size' | 'variant'> & {
|
|
5311
|
+
/** Whether the menu this opens is showing; the glyph turns into an × while it is. */
|
|
5312
|
+
open?: boolean;
|
|
5313
|
+
/** Sized up to match a large composer's send button. */
|
|
5314
|
+
large?: boolean;
|
|
5315
|
+
};
|
|
5316
|
+
/**
|
|
5317
|
+
* The composer's "add to message" button.
|
|
5318
|
+
*
|
|
5319
|
+
* - One glyph for both states: a plus rotated 45° reads as a close cross, so nothing swaps.
|
|
5320
|
+
* - `aria-expanded` mirrors `open`; the accessible name changes with it.
|
|
5321
|
+
* - Wrapped in `PromptInputAction` so a click does not hand focus to the textarea.
|
|
5322
|
+
*/
|
|
5323
|
+
declare const PromptInputMenuTrigger: ({ open, large, className, ref, ...props }: Props$126) => import("react/jsx-runtime").JSX.Element;
|
|
5324
|
+
//#endregion
|
|
5110
5325
|
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
5111
5326
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
5112
|
-
type Props$
|
|
5327
|
+
type Props$125 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
5113
5328
|
status?: SubmitStatus;
|
|
5114
5329
|
};
|
|
5115
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
5330
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$125) => import("react/jsx-runtime").JSX.Element;
|
|
5116
5331
|
//#endregion
|
|
5117
5332
|
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
5118
5333
|
declare const promptInputVariants: (props?: ({
|
|
5119
5334
|
variant?: "default" | "inline" | null | undefined;
|
|
5120
5335
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5121
|
-
type Props$
|
|
5336
|
+
type Props$124 = {
|
|
5122
5337
|
/** The textarea, for a host that has to put the caret back. Not `ref`: that name is the textarea's own. */
|
|
5123
5338
|
textareaRef?: RefObject<ComponentRef<'textarea'> | null>;
|
|
5124
5339
|
onSend?: (value: string) => void;
|
|
@@ -5129,13 +5344,19 @@ type Props$120 = {
|
|
|
5129
5344
|
defaultValue?: string;
|
|
5130
5345
|
prefix?: ReactNode;
|
|
5131
5346
|
suffix?: ReactNode;
|
|
5347
|
+
/** Images and chips already attached, in rows of their own above the text. */
|
|
5348
|
+
attachments?: ReactNode;
|
|
5349
|
+
/** Extra classes on the field, e.g. taller padding for a hero placement. */
|
|
5350
|
+
className?: string;
|
|
5132
5351
|
variant?: 'default' | 'inline';
|
|
5133
5352
|
disableSubmit?: boolean;
|
|
5353
|
+
/** `/` menu: pick one and it becomes the start of the message. */
|
|
5134
5354
|
commands?: PromptCommand[];
|
|
5135
5355
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
5136
|
-
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, autoFocus, textareaRef: publishedRef, ...textareaProps }: Props$
|
|
5356
|
+
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, attachments, className, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, autoFocus, textareaRef: publishedRef, ...textareaProps }: Props$124): import("react/jsx-runtime").JSX.Element;
|
|
5137
5357
|
declare namespace PromptInput {
|
|
5138
5358
|
export { PromptInputAction as Action };
|
|
5359
|
+
export { PromptInputMenuTrigger as MenuTrigger };
|
|
5139
5360
|
}
|
|
5140
5361
|
//#endregion
|
|
5141
5362
|
//#region src/blocks/AIKit/Question.d.ts
|
|
@@ -5145,7 +5366,7 @@ type QuestionOption = {
|
|
|
5145
5366
|
description?: string;
|
|
5146
5367
|
preview?: string;
|
|
5147
5368
|
};
|
|
5148
|
-
type Props$
|
|
5369
|
+
type Props$7 = {
|
|
5149
5370
|
question: string;
|
|
5150
5371
|
header?: string;
|
|
5151
5372
|
options: readonly QuestionOption[];
|
|
@@ -5168,7 +5389,7 @@ type Props$5 = {
|
|
|
5168
5389
|
renderPreview?: (content: string) => ReactNode;
|
|
5169
5390
|
className?: string;
|
|
5170
5391
|
};
|
|
5171
|
-
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className }: Props$
|
|
5392
|
+
declare const Question: ({ question, header, options, multiSelect, selectedOptionIds, onSelectionChange, customAnswer, onCustomAnswerChange, onCustomAnswerConfirm, showCustomAnswer, customAnswerPlaceholder, showSkip, onSkip, onClose, onNext, submitTooltip, onPrevious, currentStep, totalSteps, renderPreview, className }: Props$7) => import("react/jsx-runtime").JSX.Element;
|
|
5172
5393
|
//#endregion
|
|
5173
5394
|
//#region src/blocks/AIKit/QuestionBlock.d.ts
|
|
5174
5395
|
type QuestionStep = {
|
|
@@ -5183,7 +5404,7 @@ type QuestionAnswers = {
|
|
|
5183
5404
|
selections: Record<number, readonly string[]>;
|
|
5184
5405
|
customAnswers: Record<number, string>;
|
|
5185
5406
|
};
|
|
5186
|
-
type Props$
|
|
5407
|
+
type Props$6 = {
|
|
5187
5408
|
steps: readonly [QuestionStep, ...QuestionStep[]];
|
|
5188
5409
|
showSkip?: boolean;
|
|
5189
5410
|
onSubmit?: (answers: QuestionAnswers) => void;
|
|
@@ -5191,17 +5412,17 @@ type Props$4 = {
|
|
|
5191
5412
|
renderPreview?: (content: string) => ReactNode;
|
|
5192
5413
|
className?: string;
|
|
5193
5414
|
};
|
|
5194
|
-
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$
|
|
5415
|
+
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$6) => import("react/jsx-runtime").JSX.Element;
|
|
5195
5416
|
//#endregion
|
|
5196
5417
|
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
5197
|
-
type Props$
|
|
5418
|
+
type Props$123 = {
|
|
5198
5419
|
label: string;
|
|
5199
5420
|
disabled?: boolean;
|
|
5200
5421
|
onClick: () => void;
|
|
5201
5422
|
icon?: ReactNode;
|
|
5202
5423
|
className?: string;
|
|
5203
5424
|
};
|
|
5204
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
5425
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$123) => import("react/jsx-runtime").JSX.Element;
|
|
5205
5426
|
//#endregion
|
|
5206
5427
|
//#region src/blocks/AIKit/ThinkingIndicator.d.ts
|
|
5207
5428
|
type ThinkingIndicatorProps = {
|
|
@@ -5274,7 +5495,7 @@ declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className
|
|
|
5274
5495
|
//#endregion
|
|
5275
5496
|
//#region src/blocks/AIKit/ToolCallStatusHeader.d.ts
|
|
5276
5497
|
type ToolCallStatus = 'processing' | 'warning' | 'success' | 'error';
|
|
5277
|
-
type Props$
|
|
5498
|
+
type Props$9 = {
|
|
5278
5499
|
icon: LucideIcon;
|
|
5279
5500
|
iconSpin?: boolean;
|
|
5280
5501
|
status: ToolCallStatus;
|
|
@@ -5284,10 +5505,48 @@ type Props$7 = {
|
|
|
5284
5505
|
isCollapsed?: boolean;
|
|
5285
5506
|
onToggleCollapse?: () => void;
|
|
5286
5507
|
};
|
|
5287
|
-
declare const ToolCallStatusHeader: ({ icon: IconComponent, iconSpin, status, text, needsConfirmation, isCollapsible, isCollapsed, onToggleCollapse }: Props$
|
|
5508
|
+
declare const ToolCallStatusHeader: ({ icon: IconComponent, iconSpin, status, text, needsConfirmation, isCollapsible, isCollapsed, onToggleCollapse }: Props$9) => import("react/jsx-runtime").JSX.Element;
|
|
5509
|
+
//#endregion
|
|
5510
|
+
//#region src/components/Progress/Progress.d.ts
|
|
5511
|
+
declare const variants$4: (props?: ({
|
|
5512
|
+
variant?: "default" | "error" | "success" | "warning" | null | undefined;
|
|
5513
|
+
size?: "lg" | "sm" | null | undefined;
|
|
5514
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5515
|
+
type Props$122 = ComponentProps<typeof Root$12> & VariantProps<typeof variants$4>;
|
|
5516
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$122) => import("react/jsx-runtime").JSX.Element;
|
|
5517
|
+
//#endregion
|
|
5518
|
+
//#region src/blocks/AIKit/UsageBar.d.ts
|
|
5519
|
+
type Props$121 = Omit<ComponentProps<'span'>, 'children'> & {
|
|
5520
|
+
/**
|
|
5521
|
+
* The share of the budget already SPENT, 0–100.
|
|
5522
|
+
*
|
|
5523
|
+
* - The bar fills as the budget is used, so it reads the same way as an admin's spend table.
|
|
5524
|
+
* - The figure beside the label says what is LEFT, because the reader's question at a ceiling
|
|
5525
|
+
* is how much room remains. One value drives both; they cannot disagree.
|
|
5526
|
+
*/
|
|
5527
|
+
value: number;
|
|
5528
|
+
/** The budget being measured — "Project usage", "This month's budget for your questions". */
|
|
5529
|
+
label: ReactNode;
|
|
5530
|
+
/**
|
|
5531
|
+
* The bar's tone, at the host's discretion.
|
|
5532
|
+
*
|
|
5533
|
+
* - Untoned by default. Which percentage counts as close to a ceiling is a product rule, and
|
|
5534
|
+
* the surfaces drawing this do not share one: a meter that escalates beside a banner that
|
|
5535
|
+
* also escalates puts a single event on the screen twice.
|
|
5536
|
+
*/
|
|
5537
|
+
variant?: ComponentProps<typeof Progress>['variant'];
|
|
5538
|
+
};
|
|
5539
|
+
/**
|
|
5540
|
+
* One budget, as a labelled row over a bar.
|
|
5541
|
+
*
|
|
5542
|
+
* - The label and the figure sit on one baseline at either end of the row; the bar spans both.
|
|
5543
|
+
* - `value` over 100 or `NaN` is clamped by `clampPercentage` — `Progress`'s indicator is
|
|
5544
|
+
* unclamped and would otherwise slide off the row.
|
|
5545
|
+
*/
|
|
5546
|
+
declare const UsageBar: ({ value, label, variant, className, ...props }: Props$121) => import("react/jsx-runtime").JSX.Element;
|
|
5288
5547
|
//#endregion
|
|
5289
5548
|
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
5290
|
-
type Props$
|
|
5549
|
+
type Props$120 = {
|
|
5291
5550
|
value: number;
|
|
5292
5551
|
/**
|
|
5293
5552
|
* `true` (or `'error'`) renders the red corner badge; `'warning'` renders
|
|
@@ -5308,16 +5567,16 @@ type Props$118 = {
|
|
|
5308
5567
|
open?: ComponentProps<typeof HoverCard>['open'];
|
|
5309
5568
|
onOpenChange?: ComponentProps<typeof HoverCard>['onOpenChange'];
|
|
5310
5569
|
};
|
|
5311
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, open, onOpenChange }: Props$
|
|
5570
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset, open, onOpenChange }: Props$120) => import("react/jsx-runtime").JSX.Element;
|
|
5312
5571
|
//#endregion
|
|
5313
5572
|
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
5314
|
-
type Props$
|
|
5573
|
+
type Props$119 = {
|
|
5315
5574
|
value: number;
|
|
5316
5575
|
size?: number;
|
|
5317
5576
|
strokeWidth?: number;
|
|
5318
5577
|
className?: string;
|
|
5319
5578
|
};
|
|
5320
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
5579
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$119) => import("react/jsx-runtime").JSX.Element;
|
|
5321
5580
|
//#endregion
|
|
5322
5581
|
//#region src/blocks/AIKit/usageStatsHelpers.d.ts
|
|
5323
5582
|
/**
|
|
@@ -5338,11 +5597,11 @@ declare const clampPercentage: (value: number) => number;
|
|
|
5338
5597
|
declare const formatPercentage: (value: number) => string;
|
|
5339
5598
|
//#endregion
|
|
5340
5599
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
5341
|
-
type Props$
|
|
5342
|
-
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$
|
|
5600
|
+
type Props$118 = ComponentProps<typeof Content$5>;
|
|
5601
|
+
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$118) => import("react/jsx-runtime").JSX.Element;
|
|
5343
5602
|
//#endregion
|
|
5344
5603
|
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
5345
|
-
type Props$
|
|
5604
|
+
type Props$117 = ComponentProps<typeof CollapsibleTrigger>;
|
|
5346
5605
|
/**
|
|
5347
5606
|
* A `Collapsible` toggle.
|
|
5348
5607
|
*
|
|
@@ -5350,11 +5609,11 @@ type Props$115 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
5350
5609
|
* reset is opt-in, so without it a host app without a global reset gets UA button chrome.
|
|
5351
5610
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
5352
5611
|
*/
|
|
5353
|
-
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$
|
|
5612
|
+
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$117) => import("react/jsx-runtime").JSX.Element;
|
|
5354
5613
|
//#endregion
|
|
5355
5614
|
//#region src/components/Collapsible/Collapsible.d.ts
|
|
5356
|
-
type Props$
|
|
5357
|
-
declare function Collapsible(props: Props$
|
|
5615
|
+
type Props$116 = ComponentProps<typeof Root$13>;
|
|
5616
|
+
declare function Collapsible(props: Props$116): import("react/jsx-runtime").JSX.Element;
|
|
5358
5617
|
declare namespace Collapsible {
|
|
5359
5618
|
export { CollapsibleTrigger$1 as Trigger };
|
|
5360
5619
|
export { CollapsibleContent as Content };
|
|
@@ -5362,10 +5621,10 @@ declare namespace Collapsible {
|
|
|
5362
5621
|
//#endregion
|
|
5363
5622
|
//#region src/components/Alert/AlertRoot.d.ts
|
|
5364
5623
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
5365
|
-
type Props$
|
|
5624
|
+
type Props$115 = {
|
|
5366
5625
|
variant?: Variant$4;
|
|
5367
5626
|
} & ComponentProps<'div'>;
|
|
5368
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
5627
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$115) => import("react/jsx-runtime").JSX.Element;
|
|
5369
5628
|
//#endregion
|
|
5370
5629
|
//#region src/components/Alert/Alert.d.ts
|
|
5371
5630
|
type CommonProps = {
|
|
@@ -5389,7 +5648,7 @@ type DefaultProps = {
|
|
|
5389
5648
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
5390
5649
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
5391
5650
|
*/
|
|
5392
|
-
type Props$
|
|
5651
|
+
type Props$114 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
5393
5652
|
/**
|
|
5394
5653
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
5395
5654
|
*
|
|
@@ -5403,14 +5662,55 @@ type Props$112 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
5403
5662
|
*
|
|
5404
5663
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
5405
5664
|
*/
|
|
5406
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
5665
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$114) => import("react/jsx-runtime").JSX.Element;
|
|
5666
|
+
//#endregion
|
|
5667
|
+
//#region src/components/StatusDot/StatusDot.d.ts
|
|
5668
|
+
/**
|
|
5669
|
+
* The dot's fill.
|
|
5670
|
+
*
|
|
5671
|
+
* - One class per state, each a brand-overridable status token — never a primitive hue.
|
|
5672
|
+
* - `neutral` is chrome, not a status: an entity that has no state yet, or one the caller cannot
|
|
5673
|
+
* resolve.
|
|
5674
|
+
* - A solid fill is the whole mark, so the "tint + legible foreground" rule for status _surfaces_
|
|
5675
|
+
* does not apply — there is no foreground on top of it.
|
|
5676
|
+
*/
|
|
5677
|
+
declare const statusDotVariants: (props?: ({
|
|
5678
|
+
status?: "destructive" | "info" | "neutral" | "success" | "warning" | null | undefined;
|
|
5679
|
+
size?: "default" | "large" | null | undefined;
|
|
5680
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5681
|
+
type Props$113 = Omit<ComponentProps<'span'>, 'children'> & VariantProps<typeof statusDotVariants> & {
|
|
5682
|
+
/** Animates the dot. Reserve it for work that is still running. */
|
|
5683
|
+
pulse?: boolean;
|
|
5684
|
+
/**
|
|
5685
|
+
* What the dot says on its own.
|
|
5686
|
+
*
|
|
5687
|
+
* - Omitted, the dot is decorative (`aria-hidden`) — the right choice whenever a visible label
|
|
5688
|
+
* sits beside it, which would otherwise be announced twice.
|
|
5689
|
+
* - Given, the dot becomes an image with that name: the only state a screen reader gets.
|
|
5690
|
+
*/
|
|
5691
|
+
label?: string;
|
|
5692
|
+
};
|
|
5693
|
+
/**
|
|
5694
|
+
* A small round state mark — the one way the platform paints status as a colour.
|
|
5695
|
+
*
|
|
5696
|
+
* **When to use:** an entity's state beside its name in a row, a header or a chip — running,
|
|
5697
|
+
* failed, stale, idle. `status` is the whole colour API, so a customer brand recolours every dot
|
|
5698
|
+
* on the platform at once.
|
|
5699
|
+
* **When NOT to use:** as the only carrier of meaning where colour is the sole difference between
|
|
5700
|
+
* two rows — pair it with text, or use `Badge` (a labelled pill) / `Alert` (a contextual message).
|
|
5701
|
+
* For an in-flight *step* use `Stepper`, and for indeterminate background work `DotsLoader`.
|
|
5702
|
+
* **Composition:** `tw:flex tw:items-center tw:gap-2` with the label next to it. An overlay dot on
|
|
5703
|
+
* top of an icon needs a ring in the surface's own colour (`tw:ring-2 tw:ring-card`) — pass it in
|
|
5704
|
+
* `className` at the call site, since only the call site knows what it overlaps.
|
|
5705
|
+
*/
|
|
5706
|
+
declare const StatusDot: ({ ref, status, size, pulse, label, className, ...rest }: Props$113) => import("react/jsx-runtime").JSX.Element;
|
|
5407
5707
|
//#endregion
|
|
5408
5708
|
//#region src/components/Toast/ToastRoot.d.ts
|
|
5409
|
-
declare const variants$
|
|
5709
|
+
declare const variants$3: (props?: ({
|
|
5410
5710
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
5411
5711
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5412
|
-
type Variants = VariantProps<typeof variants$
|
|
5413
|
-
type Props$
|
|
5712
|
+
type Variants = VariantProps<typeof variants$3>;
|
|
5713
|
+
type Props$112 = {
|
|
5414
5714
|
id: string | number;
|
|
5415
5715
|
title: ReactNode;
|
|
5416
5716
|
icon?: ReactNode;
|
|
@@ -5419,7 +5719,7 @@ type Props$111 = {
|
|
|
5419
5719
|
loading?: boolean;
|
|
5420
5720
|
duration?: number;
|
|
5421
5721
|
} & Variants;
|
|
5422
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$
|
|
5722
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$112) => import("react/jsx-runtime").JSX.Element;
|
|
5423
5723
|
//#endregion
|
|
5424
5724
|
//#region src/components/Toast/toast.d.ts
|
|
5425
5725
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
@@ -5442,7 +5742,7 @@ declare namespace toast {
|
|
|
5442
5742
|
}
|
|
5443
5743
|
//#endregion
|
|
5444
5744
|
//#region src/components/Toast/useNotification.d.ts
|
|
5445
|
-
type Props$
|
|
5745
|
+
type Props$111 = {
|
|
5446
5746
|
enabled?: boolean;
|
|
5447
5747
|
} & Parameters<typeof toast>[0];
|
|
5448
5748
|
/**
|
|
@@ -5455,25 +5755,25 @@ type Props$110 = {
|
|
|
5455
5755
|
* Use `toast()` for transient feedback after a user action
|
|
5456
5756
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
5457
5757
|
*/
|
|
5458
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
5758
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$111) => void;
|
|
5459
5759
|
//#endregion
|
|
5460
5760
|
//#region src/components/Toast/Toaster.d.ts
|
|
5461
5761
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
5462
5762
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
5463
5763
|
//#endregion
|
|
5464
5764
|
//#region src/components/EmptySearchContent.d.ts
|
|
5465
|
-
type Props$
|
|
5765
|
+
type Props$110 = {
|
|
5466
5766
|
children?: ReactNode;
|
|
5467
5767
|
};
|
|
5468
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
5768
|
+
declare const EmptySearchContent: ({ children }: Props$110) => import("react/jsx-runtime").JSX.Element;
|
|
5469
5769
|
//#endregion
|
|
5470
5770
|
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
5471
|
-
type Props$
|
|
5771
|
+
type Props$109 = {
|
|
5472
5772
|
title: string;
|
|
5473
5773
|
children: ReactNode;
|
|
5474
5774
|
className?: string;
|
|
5475
5775
|
};
|
|
5476
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
5776
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$109) => import("react/jsx-runtime").JSX.Element;
|
|
5477
5777
|
//#endregion
|
|
5478
5778
|
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
5479
5779
|
declare const emptyStateClassnames: (props?: ({
|
|
@@ -5621,16 +5921,8 @@ declare const DotsLoader: ({ className }: DotsLoaderProps) => import("react/jsx-
|
|
|
5621
5921
|
//#region src/blocks/DiagramShared/DiagramSkeleton.d.ts
|
|
5622
5922
|
declare const DiagramSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
5623
5923
|
//#endregion
|
|
5624
|
-
//#region src/components/Progress/Progress.d.ts
|
|
5625
|
-
declare const variants$3: (props?: ({
|
|
5626
|
-
variant?: "default" | "error" | "success" | "warning" | null | undefined;
|
|
5627
|
-
size?: "lg" | "sm" | null | undefined;
|
|
5628
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5629
|
-
type Props$107 = ComponentProps<typeof Root$12> & VariantProps<typeof variants$3>;
|
|
5630
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$107) => import("react/jsx-runtime").JSX.Element;
|
|
5631
|
-
//#endregion
|
|
5632
5924
|
//#region src/components/CollapsiblePanel.d.ts
|
|
5633
|
-
type Props$
|
|
5925
|
+
type Props$108 = {
|
|
5634
5926
|
header: ReactNode;
|
|
5635
5927
|
isDisabled?: boolean;
|
|
5636
5928
|
defaultExpanded?: boolean;
|
|
@@ -5642,17 +5934,17 @@ type Props$106 = {
|
|
|
5642
5934
|
variant?: 'default' | 'white';
|
|
5643
5935
|
children: ReactNode;
|
|
5644
5936
|
};
|
|
5645
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$
|
|
5937
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$108) => import("react/jsx-runtime").JSX.Element;
|
|
5646
5938
|
//#endregion
|
|
5647
5939
|
//#region src/components/PanelWithDetails.d.ts
|
|
5648
|
-
type Props$
|
|
5940
|
+
type Props$107 = PropsWithChildren<{
|
|
5649
5941
|
defaultExpanded?: boolean;
|
|
5650
5942
|
labelCollapse?: ReactNode;
|
|
5651
5943
|
labelOpen?: ReactNode;
|
|
5652
5944
|
placement?: 'top' | 'bottom';
|
|
5653
5945
|
className?: string;
|
|
5654
5946
|
}>;
|
|
5655
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$
|
|
5947
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$107) => import("react/jsx-runtime").JSX.Element;
|
|
5656
5948
|
//#endregion
|
|
5657
5949
|
//#region src/blocks/AppShell/types.d.ts
|
|
5658
5950
|
/**
|
|
@@ -6165,7 +6457,7 @@ type SectionNavItemRenderProps = {
|
|
|
6165
6457
|
};
|
|
6166
6458
|
//#endregion
|
|
6167
6459
|
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
6168
|
-
type Props$
|
|
6460
|
+
type Props$106 = {
|
|
6169
6461
|
/**
|
|
6170
6462
|
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
6171
6463
|
* app — this block renders exactly what it is handed, in order.
|
|
@@ -6217,10 +6509,10 @@ type Props$104 = {
|
|
|
6217
6509
|
*
|
|
6218
6510
|
* @see RECIPES.md#section-nav
|
|
6219
6511
|
*/
|
|
6220
|
-
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$
|
|
6512
|
+
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$106) => import("react/jsx-runtime").JSX.Element;
|
|
6221
6513
|
//#endregion
|
|
6222
6514
|
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
6223
|
-
type Props$
|
|
6515
|
+
type Props$105 = {
|
|
6224
6516
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
6225
6517
|
variant?: 'mark' | 'wordmark';
|
|
6226
6518
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -6239,7 +6531,7 @@ type Props$103 = {
|
|
|
6239
6531
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
6240
6532
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
6241
6533
|
*/
|
|
6242
|
-
declare const BrandLogo: ({ variant, className, label }: Props$
|
|
6534
|
+
declare const BrandLogo: ({ variant, className, label }: Props$105) => import("react/jsx-runtime").JSX.Element | null;
|
|
6243
6535
|
//#endregion
|
|
6244
6536
|
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
6245
6537
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6248,13 +6540,13 @@ declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof S
|
|
|
6248
6540
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react/jsx-runtime").JSX.Element;
|
|
6249
6541
|
//#endregion
|
|
6250
6542
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
6251
|
-
type Props$
|
|
6543
|
+
type Props$104 = {
|
|
6252
6544
|
className?: string;
|
|
6253
6545
|
children?: ReactNode;
|
|
6254
6546
|
contentRef?: ComponentProps<'div'>['ref'];
|
|
6255
6547
|
ref?: ComponentProps<'div'>['ref'];
|
|
6256
6548
|
};
|
|
6257
|
-
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$
|
|
6549
|
+
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$104) => import("react/jsx-runtime").JSX.Element;
|
|
6258
6550
|
//#endregion
|
|
6259
6551
|
//#region src/components/Sidebar/types.d.ts
|
|
6260
6552
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
@@ -6264,102 +6556,106 @@ type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
|
6264
6556
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
6265
6557
|
//#endregion
|
|
6266
6558
|
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
6267
|
-
type Props$
|
|
6559
|
+
type Props$103 = ComponentProps<typeof Slot$1> & {
|
|
6268
6560
|
side?: SidebarSide;
|
|
6269
6561
|
};
|
|
6270
|
-
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$
|
|
6562
|
+
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$103) => import("react/jsx-runtime").JSX.Element;
|
|
6271
6563
|
//#endregion
|
|
6272
6564
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
6273
|
-
type Props$
|
|
6274
|
-
declare const SidebarFooter: ({ className, ...props }: Props$
|
|
6565
|
+
type Props$102 = ComponentProps<'div'>;
|
|
6566
|
+
declare const SidebarFooter: ({ className, ...props }: Props$102) => import("react/jsx-runtime").JSX.Element;
|
|
6275
6567
|
//#endregion
|
|
6276
6568
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
6277
|
-
type Props$
|
|
6278
|
-
declare const SidebarGroup: ({ className, ...props }: Props$
|
|
6569
|
+
type Props$101 = ComponentProps<'div'>;
|
|
6570
|
+
declare const SidebarGroup: ({ className, ...props }: Props$101) => import("react/jsx-runtime").JSX.Element;
|
|
6279
6571
|
//#endregion
|
|
6280
6572
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
6281
|
-
type Props$
|
|
6282
|
-
declare const SidebarGroupContent: ({ className, ...props }: Props$
|
|
6573
|
+
type Props$100 = ComponentProps<'div'>;
|
|
6574
|
+
declare const SidebarGroupContent: ({ className, ...props }: Props$100) => import("react/jsx-runtime").JSX.Element;
|
|
6283
6575
|
//#endregion
|
|
6284
6576
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
6285
|
-
type Props$
|
|
6286
|
-
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$
|
|
6577
|
+
type Props$99 = ComponentProps<'button'>;
|
|
6578
|
+
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$99) => import("react/jsx-runtime").JSX.Element;
|
|
6287
6579
|
//#endregion
|
|
6288
6580
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
6289
|
-
type Props$
|
|
6290
|
-
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$
|
|
6581
|
+
type Props$98 = ComponentProps<'div'>;
|
|
6582
|
+
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$98 & {
|
|
6291
6583
|
ref?: Ref<HTMLDivElement>;
|
|
6292
6584
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
6293
6585
|
//#endregion
|
|
6294
6586
|
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
6295
|
-
type Props$
|
|
6296
|
-
declare const SidebarHeader: ({ className, children, ...props }: Props$
|
|
6587
|
+
type Props$97 = ComponentProps<'div'>;
|
|
6588
|
+
declare const SidebarHeader: ({ className, children, ...props }: Props$97) => import("react/jsx-runtime").JSX.Element;
|
|
6297
6589
|
//#endregion
|
|
6298
6590
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
6299
|
-
type Props$
|
|
6300
|
-
declare const SidebarMenu: ({ className, ...props }: Props$
|
|
6591
|
+
type Props$96 = ComponentProps<'ul'>;
|
|
6592
|
+
declare const SidebarMenu: ({ className, ...props }: Props$96) => import("react/jsx-runtime").JSX.Element;
|
|
6301
6593
|
//#endregion
|
|
6302
6594
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
6303
|
-
type Props$
|
|
6595
|
+
type Props$95 = ComponentProps<'button'> & {
|
|
6304
6596
|
asChild?: boolean;
|
|
6305
6597
|
tooltip?: ReactNode;
|
|
6306
6598
|
icon?: ReactNode;
|
|
6599
|
+
/** Set by `Sidebar.Trigger` on the child it wraps — not part of a call site's API. */
|
|
6600
|
+
'data-sidebar-trigger'?: string;
|
|
6307
6601
|
};
|
|
6308
|
-
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, ...props }: Props$
|
|
6602
|
+
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, onClick, ...props }: Props$95 & {
|
|
6309
6603
|
ref?: Ref<HTMLButtonElement>;
|
|
6310
6604
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
6311
6605
|
//#endregion
|
|
6312
6606
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
6313
|
-
type Props$
|
|
6314
|
-
declare const SidebarMenuItem: ({ className, ...props }: Props$
|
|
6607
|
+
type Props$94 = ComponentProps<'li'>;
|
|
6608
|
+
declare const SidebarMenuItem: ({ className, ...props }: Props$94) => import("react/jsx-runtime").JSX.Element;
|
|
6315
6609
|
//#endregion
|
|
6316
6610
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
6317
|
-
type Props$
|
|
6318
|
-
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$
|
|
6611
|
+
type Props$93 = ComponentProps<'span'>;
|
|
6612
|
+
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$93) => import("react/jsx-runtime").JSX.Element;
|
|
6319
6613
|
//#endregion
|
|
6320
6614
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
6321
|
-
type Props$
|
|
6615
|
+
type Props$92 = ComponentProps<'button'> & {
|
|
6322
6616
|
asChild?: boolean;
|
|
6323
6617
|
showOnHover?: boolean;
|
|
6324
6618
|
};
|
|
6325
|
-
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$
|
|
6619
|
+
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$92) => import("react/jsx-runtime").JSX.Element;
|
|
6326
6620
|
//#endregion
|
|
6327
6621
|
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
6328
|
-
type Props$
|
|
6329
|
-
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$
|
|
6622
|
+
type Props$91 = Omit<ComponentProps<'input'>, 'prefix'>;
|
|
6623
|
+
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$91) => import("react/jsx-runtime").JSX.Element;
|
|
6330
6624
|
//#endregion
|
|
6331
6625
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
6332
|
-
type Props$
|
|
6626
|
+
type Props$90 = HTMLAttributes<HTMLDivElement> & {
|
|
6333
6627
|
icon: ReactNode;
|
|
6334
6628
|
title: ReactNode;
|
|
6335
6629
|
};
|
|
6336
|
-
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$
|
|
6630
|
+
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$90) => import("react/jsx-runtime").JSX.Element;
|
|
6337
6631
|
//#endregion
|
|
6338
6632
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
6339
|
-
type Props$
|
|
6340
|
-
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$
|
|
6633
|
+
type Props$89 = ComponentProps<'div'>;
|
|
6634
|
+
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$89) => import("react/jsx-runtime").JSX.Element;
|
|
6341
6635
|
//#endregion
|
|
6342
6636
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
6343
|
-
type Props$
|
|
6637
|
+
type Props$88 = {
|
|
6344
6638
|
children: ReactNode;
|
|
6345
6639
|
icon: ReactNode;
|
|
6346
6640
|
isActive?: boolean;
|
|
6347
6641
|
label: string;
|
|
6348
6642
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
6349
|
-
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$
|
|
6643
|
+
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$88) => import("react/jsx-runtime").JSX.Element;
|
|
6350
6644
|
//#endregion
|
|
6351
6645
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
6352
|
-
type Props$
|
|
6646
|
+
type Props$87 = ComponentProps<'button'> & {
|
|
6353
6647
|
asChild?: boolean;
|
|
6648
|
+
/** Set by `Sidebar.Trigger` on the child it wraps — not part of a call site's API. */
|
|
6649
|
+
'data-sidebar-trigger'?: string;
|
|
6354
6650
|
};
|
|
6355
|
-
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, 'aria-current': ariaCurrent, ...props }: Props$
|
|
6651
|
+
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, onClick, 'aria-current': ariaCurrent, ...props }: Props$87) => import("react/jsx-runtime").JSX.Element;
|
|
6356
6652
|
//#endregion
|
|
6357
6653
|
//#region src/components/Separator/Separator.d.ts
|
|
6358
6654
|
declare const separatorVariants: (props?: ({
|
|
6359
6655
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
6360
6656
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6361
6657
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6362
|
-
type Props$
|
|
6658
|
+
type Props$86 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
6363
6659
|
/**
|
|
6364
6660
|
* Optional label rendered centered between two line segments
|
|
6365
6661
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -6367,18 +6663,18 @@ type Props$84 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
6367
6663
|
*/
|
|
6368
6664
|
label?: ReactNode;
|
|
6369
6665
|
};
|
|
6370
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
6666
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$86) => import("react/jsx-runtime").JSX.Element;
|
|
6371
6667
|
//#endregion
|
|
6372
6668
|
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
6373
|
-
type Props$
|
|
6374
|
-
declare const SidebarSeparator: ({ className, ...props }: Props$
|
|
6669
|
+
type Props$85 = Omit<ComponentProps<typeof Separator>, 'orientation' | 'size'>;
|
|
6670
|
+
declare const SidebarSeparator: ({ className, ...props }: Props$85) => import("react/jsx-runtime").JSX.Element;
|
|
6375
6671
|
//#endregion
|
|
6376
6672
|
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
6377
|
-
type Props$
|
|
6673
|
+
type Props$84 = ComponentProps<typeof Slot$1> & {
|
|
6378
6674
|
side?: SidebarSide;
|
|
6379
6675
|
hideWhenCollapsed?: boolean;
|
|
6380
6676
|
};
|
|
6381
|
-
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$
|
|
6677
|
+
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$84) => import("react/jsx-runtime").JSX.Element;
|
|
6382
6678
|
//#endregion
|
|
6383
6679
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
6384
6680
|
/**
|
|
@@ -6386,7 +6682,7 @@ declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ..
|
|
|
6386
6682
|
* (`data-*`, `aria-*`, handlers) lands on the outer element, so a `ThemeScope` around the
|
|
6387
6683
|
* sidebar reaches it.
|
|
6388
6684
|
*/
|
|
6389
|
-
type Props$
|
|
6685
|
+
type Props$83 = Omit<ComponentProps<'div'>, 'children' | 'className' | 'style' | 'id'> & {
|
|
6390
6686
|
children: ReactNode;
|
|
6391
6687
|
className?: string;
|
|
6392
6688
|
id?: string;
|
|
@@ -6397,8 +6693,16 @@ type Props$81 = Omit<ComponentProps<'div'>, 'children' | 'className' | 'style' |
|
|
|
6397
6693
|
/** Hold the panel's content back until it has finished sliding in. */
|
|
6398
6694
|
mountAfterEnter?: boolean;
|
|
6399
6695
|
resizable?: boolean;
|
|
6696
|
+
/**
|
|
6697
|
+
* Accessible name for the sheet the rail becomes under the mobile breakpoint.
|
|
6698
|
+
*
|
|
6699
|
+
* - Defaults to `Navigation` on the left and `Side panel` on the right.
|
|
6700
|
+
* - Rendered visually hidden — the sheet is a dialog and needs a name, but the rail's
|
|
6701
|
+
* own header is already the visible one.
|
|
6702
|
+
*/
|
|
6703
|
+
mobileTitle?: string;
|
|
6400
6704
|
};
|
|
6401
|
-
declare function Sidebar({ children, className, id, side, style, container, keepMounted, mountAfterEnter, resizable, ...rest }: Props$
|
|
6705
|
+
declare function Sidebar({ children, className, id, side, style, container, keepMounted, mountAfterEnter, resizable, mobileTitle, ...rest }: Props$83): import("react/jsx-runtime").JSX.Element | null;
|
|
6402
6706
|
declare namespace Sidebar {
|
|
6403
6707
|
export { SidebarHeader as Header };
|
|
6404
6708
|
export { SidebarContent as Content };
|
|
@@ -6423,7 +6727,7 @@ declare namespace Sidebar {
|
|
|
6423
6727
|
}
|
|
6424
6728
|
//#endregion
|
|
6425
6729
|
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
6426
|
-
type Props$
|
|
6730
|
+
type Props$82 = {
|
|
6427
6731
|
children?: ReactNode;
|
|
6428
6732
|
defaultLeftMode?: SidebarMode;
|
|
6429
6733
|
leftMode?: SidebarMode;
|
|
@@ -6431,6 +6735,22 @@ type Props$80 = {
|
|
|
6431
6735
|
defaultRightMode?: SidebarMode;
|
|
6432
6736
|
rightMode?: SidebarMode;
|
|
6433
6737
|
onRightModeChange?: (mode: SidebarMode) => void;
|
|
6738
|
+
/**
|
|
6739
|
+
* The left rail becomes a `Sheet` under a breakpoint instead of a grid column.
|
|
6740
|
+
*
|
|
6741
|
+
* - Opt-in, and per side: a `Sidebar` is also the shape of a container rail nested in a
|
|
6742
|
+
* modal or a builder canvas, where a full-screen phone sheet means nothing.
|
|
6743
|
+
* - `true` uses the default breakpoint (768px, Tailwind's `md`); a number is the width in
|
|
6744
|
+
* px under which this side is a sheet, for a rail that runs out of room at its own width.
|
|
6745
|
+
* - An app that opts in owes the sheet a way in — a `Sidebar.Trigger` in its header, which
|
|
6746
|
+
* routes to whichever of the two the rail currently is.
|
|
6747
|
+
* - `keepMounted` and `mountAfterEnter` do not apply while this side is a sheet: the sheet
|
|
6748
|
+
* mounts its content on open and unmounts it on close. A side whose panel holds state
|
|
6749
|
+
* worth surviving a close should keep that state above the panel.
|
|
6750
|
+
*/
|
|
6751
|
+
leftMobileSheet?: boolean | number;
|
|
6752
|
+
/** The right-side twin of `leftMobileSheet`. */
|
|
6753
|
+
rightMobileSheet?: boolean | number;
|
|
6434
6754
|
leftVariant?: SidebarVariant;
|
|
6435
6755
|
leftWidth?: number;
|
|
6436
6756
|
leftCollapsible?: SidebarCollapsible;
|
|
@@ -6441,7 +6761,7 @@ type Props$80 = {
|
|
|
6441
6761
|
onRightWidthChange?: (width: number) => void;
|
|
6442
6762
|
defaultFilledSide?: SidebarSide | null;
|
|
6443
6763
|
};
|
|
6444
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$
|
|
6764
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftMobileSheet, rightMobileSheet, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$82) => import("react/jsx-runtime").JSX.Element;
|
|
6445
6765
|
//#endregion
|
|
6446
6766
|
//#region src/components/Sidebar/utils.d.ts
|
|
6447
6767
|
type Input = {
|
|
@@ -6450,34 +6770,49 @@ type Input = {
|
|
|
6450
6770
|
collapsible: SidebarCollapsible;
|
|
6451
6771
|
mode: SidebarMode;
|
|
6452
6772
|
state: SidebarState$1;
|
|
6773
|
+
/** Below the breakpoint the rail is a sheet, so it occupies no column. */
|
|
6774
|
+
isMobile?: boolean;
|
|
6453
6775
|
};
|
|
6454
6776
|
type EffectiveWidths = {
|
|
6455
6777
|
sidebar: number;
|
|
6456
6778
|
gap: number;
|
|
6457
6779
|
fill: number;
|
|
6458
6780
|
};
|
|
6459
|
-
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode }: Input) => EffectiveWidths;
|
|
6781
|
+
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode, isMobile }: Input) => EffectiveWidths;
|
|
6460
6782
|
//#endregion
|
|
6461
6783
|
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
6462
|
-
type Props$
|
|
6784
|
+
type Props$81 = {
|
|
6463
6785
|
defaultMode?: SidebarMode;
|
|
6464
6786
|
mode?: SidebarMode;
|
|
6465
6787
|
onModeChange?: (state: SidebarMode) => void;
|
|
6466
6788
|
};
|
|
6467
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
6789
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$81) => {
|
|
6468
6790
|
isHovered: boolean;
|
|
6469
6791
|
toggle: () => void;
|
|
6470
6792
|
setMode: (dispatch: Parameters<import("react").Dispatch<import("react").SetStateAction<"collapsed" | "expand-on-hover" | "expanded">>>[0]) => void;
|
|
6471
6793
|
mode: SidebarMode;
|
|
6472
6794
|
state: SidebarState$1;
|
|
6473
6795
|
sidebarElement: HTMLElement | null;
|
|
6474
|
-
setSidebarElement: (node: HTMLElement | null) => void;
|
|
6796
|
+
setSidebarElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
6475
6797
|
};
|
|
6476
6798
|
//#endregion
|
|
6477
6799
|
//#region src/components/Sidebar/SidebarProvider/context.d.ts
|
|
6478
6800
|
type SidebarWidths = ReturnType<typeof calcEffectiveWidths>;
|
|
6479
6801
|
type SidebarState = ReturnType<typeof useSidebarState>;
|
|
6480
6802
|
type SidebarSideValue = SidebarState & {
|
|
6803
|
+
/**
|
|
6804
|
+
* The viewport is under the mobile breakpoint, so this rail renders as a sheet rather
|
|
6805
|
+
* than a grid column.
|
|
6806
|
+
*
|
|
6807
|
+
* - `mode` and `state` both report `expanded` here — the collapse axis has nothing to
|
|
6808
|
+
* act on, and the call site's own `mode` prop is left untouched.
|
|
6809
|
+
* - `toggle` opens and closes the sheet instead of writing that prop.
|
|
6810
|
+
*/
|
|
6811
|
+
isMobile: boolean;
|
|
6812
|
+
/** Whether this side's mobile sheet is open. Always `false` above the breakpoint. */
|
|
6813
|
+
isMobileOpen: boolean;
|
|
6814
|
+
/** Opens or closes this side's mobile sheet; opening one closes the other. */
|
|
6815
|
+
setMobileOpen: (open: boolean) => void;
|
|
6481
6816
|
isFill: boolean;
|
|
6482
6817
|
toggleFill: () => void;
|
|
6483
6818
|
/** Idempotent counterpart to `toggleFill` — safe to call twice, or when already in that state. */
|
|
@@ -6500,66 +6835,66 @@ declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | nul
|
|
|
6500
6835
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
6501
6836
|
//#endregion
|
|
6502
6837
|
//#region src/components/Navbar/NavbarContent.d.ts
|
|
6503
|
-
type Props$
|
|
6838
|
+
type Props$80 = {
|
|
6504
6839
|
className?: string;
|
|
6505
6840
|
children?: ReactNode;
|
|
6506
6841
|
};
|
|
6507
|
-
declare const NavbarContent: ({ children, className }: Props$
|
|
6842
|
+
declare const NavbarContent: ({ children, className }: Props$80) => import("react/jsx-runtime").JSX.Element;
|
|
6508
6843
|
//#endregion
|
|
6509
6844
|
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
6510
|
-
type Props$
|
|
6511
|
-
declare const NavbarFooter: ({ children, className, ...rest }: Props$
|
|
6845
|
+
type Props$79 = ComponentProps<'div'>;
|
|
6846
|
+
declare const NavbarFooter: ({ children, className, ...rest }: Props$79) => import("react/jsx-runtime").JSX.Element;
|
|
6512
6847
|
//#endregion
|
|
6513
6848
|
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
6514
|
-
type Props$
|
|
6515
|
-
declare const NavbarHeader: ({ children, className, ...rest }: Props$
|
|
6849
|
+
type Props$78 = ComponentProps<'div'>;
|
|
6850
|
+
declare const NavbarHeader: ({ children, className, ...rest }: Props$78) => import("react/jsx-runtime").JSX.Element;
|
|
6516
6851
|
//#endregion
|
|
6517
6852
|
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
6518
6853
|
declare const variants$2: (props?: ({
|
|
6519
6854
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
6520
6855
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6521
|
-
type Props$
|
|
6522
|
-
declare const NavbarMenu: ({ className, marker, ...rest }: Props$
|
|
6856
|
+
type Props$77 = ComponentProps<'ul'> & VariantProps<typeof variants$2>;
|
|
6857
|
+
declare const NavbarMenu: ({ className, marker, ...rest }: Props$77) => import("react/jsx-runtime").JSX.Element;
|
|
6523
6858
|
//#endregion
|
|
6524
6859
|
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
6525
|
-
type Props$
|
|
6860
|
+
type Props$76 = ComponentProps<'button'> & {
|
|
6526
6861
|
src?: string;
|
|
6527
6862
|
alt?: string;
|
|
6528
6863
|
};
|
|
6529
|
-
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$
|
|
6864
|
+
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$76) => import("react/jsx-runtime").JSX.Element;
|
|
6530
6865
|
//#endregion
|
|
6531
6866
|
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
6532
6867
|
declare const variants$1: (props?: ({
|
|
6533
6868
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
6534
6869
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6535
|
-
type Props$
|
|
6870
|
+
type Props$75 = ComponentProps<'button'> & {
|
|
6536
6871
|
/** Optional leading-icon slot. Pass a Lucide icon node to render an adornment before children. */
|
|
6537
6872
|
icon?: ReactNode;
|
|
6538
6873
|
asChild?: boolean;
|
|
6539
6874
|
} & VariantProps<typeof variants$1>;
|
|
6540
|
-
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$
|
|
6875
|
+
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$75) => import("react/jsx-runtime").JSX.Element;
|
|
6541
6876
|
//#endregion
|
|
6542
6877
|
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
6543
|
-
type Props$
|
|
6544
|
-
declare const NavbarMenuItem: ({ className, ...rest }: Props$
|
|
6878
|
+
type Props$74 = ComponentProps<'li'>;
|
|
6879
|
+
declare const NavbarMenuItem: ({ className, ...rest }: Props$74) => import("react/jsx-runtime").JSX.Element;
|
|
6545
6880
|
//#endregion
|
|
6546
6881
|
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
6547
6882
|
declare const variants: (props?: ({
|
|
6548
6883
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
6549
6884
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6550
|
-
type Props$
|
|
6885
|
+
type Props$73 = {
|
|
6551
6886
|
asChild?: boolean;
|
|
6552
6887
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
6553
|
-
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$
|
|
6888
|
+
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$73) => import("react/jsx-runtime").JSX.Element;
|
|
6554
6889
|
//#endregion
|
|
6555
6890
|
//#region src/components/Navbar/Navbar.d.ts
|
|
6556
6891
|
declare const navbarClassnames: (props?: ({
|
|
6557
6892
|
bordered?: boolean | null | undefined;
|
|
6558
6893
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6559
|
-
type Props$
|
|
6894
|
+
type Props$72 = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
6560
6895
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
6561
6896
|
};
|
|
6562
|
-
declare function Navbar({ className, accent, bordered, ...rest }: Props$
|
|
6897
|
+
declare function Navbar({ className, accent, bordered, ...rest }: Props$72): import("react/jsx-runtime").JSX.Element;
|
|
6563
6898
|
declare namespace Navbar {
|
|
6564
6899
|
export { NavbarHeader as Header };
|
|
6565
6900
|
export { NavbarFooter as Footer };
|
|
@@ -6605,20 +6940,20 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
6605
6940
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
6606
6941
|
//#endregion
|
|
6607
6942
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
6608
|
-
type Props$
|
|
6609
|
-
declare const WorkbenchBarEnd: ({ className, ...props }: Props$
|
|
6943
|
+
type Props$71 = ComponentProps<'div'>;
|
|
6944
|
+
declare const WorkbenchBarEnd: ({ className, ...props }: Props$71) => import("react/jsx-runtime").JSX.Element;
|
|
6610
6945
|
//#endregion
|
|
6611
6946
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
6612
|
-
type Props$
|
|
6613
|
-
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$
|
|
6947
|
+
type Props$70 = ComponentProps<'div'>;
|
|
6948
|
+
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$70) => import("react/jsx-runtime").JSX.Element;
|
|
6614
6949
|
//#endregion
|
|
6615
6950
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
6616
|
-
type Props$
|
|
6617
|
-
declare const WorkbenchBarStart: ({ className, ...props }: Props$
|
|
6951
|
+
type Props$69 = ComponentProps<'div'>;
|
|
6952
|
+
declare const WorkbenchBarStart: ({ className, ...props }: Props$69) => import("react/jsx-runtime").JSX.Element;
|
|
6618
6953
|
//#endregion
|
|
6619
6954
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
6620
|
-
type Props$
|
|
6621
|
-
declare function WorkbenchBar({ className, children, ...props }: Props$
|
|
6955
|
+
type Props$68 = ComponentProps<'div'>;
|
|
6956
|
+
declare function WorkbenchBar({ className, children, ...props }: Props$68): import("react/jsx-runtime").JSX.Element;
|
|
6622
6957
|
declare namespace WorkbenchBar {
|
|
6623
6958
|
export { WorkbenchBarStart as Start };
|
|
6624
6959
|
export { WorkbenchBarMiddle as Middle };
|
|
@@ -6626,35 +6961,35 @@ declare namespace WorkbenchBar {
|
|
|
6626
6961
|
}
|
|
6627
6962
|
//#endregion
|
|
6628
6963
|
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
6629
|
-
type Props$
|
|
6964
|
+
type Props$67 = ComponentProps<'button'> & {
|
|
6630
6965
|
asChild?: boolean;
|
|
6631
6966
|
};
|
|
6632
|
-
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$
|
|
6967
|
+
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$67) => import("react/jsx-runtime").JSX.Element;
|
|
6633
6968
|
//#endregion
|
|
6634
6969
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
6635
|
-
type Props$
|
|
6636
|
-
declare const WorkbenchPanel: ({ className, children, ...props }: Props$
|
|
6970
|
+
type Props$66 = ComponentProps<'div'>;
|
|
6971
|
+
declare const WorkbenchPanel: ({ className, children, ...props }: Props$66) => import("react/jsx-runtime").JSX.Element;
|
|
6637
6972
|
//#endregion
|
|
6638
6973
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
6639
|
-
type Props$
|
|
6974
|
+
type Props$65 = ComponentProps<'div'> & {
|
|
6640
6975
|
asChild?: boolean;
|
|
6641
6976
|
};
|
|
6642
|
-
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$
|
|
6977
|
+
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$65) => import("react/jsx-runtime").JSX.Element;
|
|
6643
6978
|
//#endregion
|
|
6644
6979
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
6645
|
-
type Props$
|
|
6646
|
-
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$
|
|
6980
|
+
type Props$64 = ComponentProps<'div'>;
|
|
6981
|
+
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$64) => import("react/jsx-runtime").JSX.Element;
|
|
6647
6982
|
//#endregion
|
|
6648
6983
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
6649
|
-
type Props$
|
|
6650
|
-
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$
|
|
6984
|
+
type Props$63 = ComponentProps<'div'>;
|
|
6985
|
+
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$63) => import("react/jsx-runtime").JSX.Element;
|
|
6651
6986
|
//#endregion
|
|
6652
6987
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
6653
|
-
type Props$
|
|
6654
|
-
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$
|
|
6988
|
+
type Props$62 = ComponentProps<'div'>;
|
|
6989
|
+
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$62) => import("react/jsx-runtime").JSX.Element;
|
|
6655
6990
|
//#endregion
|
|
6656
6991
|
//#region src/components/Workbench/Workbench.d.ts
|
|
6657
|
-
type Props$
|
|
6992
|
+
type Props$61 = {
|
|
6658
6993
|
className?: string;
|
|
6659
6994
|
children: ReactNode;
|
|
6660
6995
|
state?: WorkbenchState;
|
|
@@ -6665,7 +7000,7 @@ type Props$59 = {
|
|
|
6665
7000
|
defaultPanelHeight?: number;
|
|
6666
7001
|
onPanelHeightChange?: (panelHeight: number) => void;
|
|
6667
7002
|
};
|
|
6668
|
-
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$
|
|
7003
|
+
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$61): import("react/jsx-runtime").JSX.Element;
|
|
6669
7004
|
declare namespace Workbench {
|
|
6670
7005
|
export { WorkbenchBar as Bar };
|
|
6671
7006
|
export { WorkbenchBarStart as BarStart };
|
|
@@ -6790,34 +7125,34 @@ declare namespace BreadcrumbDropdown {
|
|
|
6790
7125
|
}
|
|
6791
7126
|
//#endregion
|
|
6792
7127
|
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6793
|
-
type Props$
|
|
6794
|
-
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$
|
|
7128
|
+
type Props$60 = ComponentProps<'button'>;
|
|
7129
|
+
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$60) => import("react/jsx-runtime").JSX.Element;
|
|
6795
7130
|
//#endregion
|
|
6796
7131
|
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6797
|
-
type Props$
|
|
6798
|
-
declare const BreadcrumbItem: ({ className, ...props }: Props$
|
|
7132
|
+
type Props$59 = ComponentProps<'li'>;
|
|
7133
|
+
declare const BreadcrumbItem: ({ className, ...props }: Props$59) => import("react/jsx-runtime").JSX.Element;
|
|
6799
7134
|
//#endregion
|
|
6800
7135
|
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6801
|
-
type Props$
|
|
7136
|
+
type Props$58 = ComponentProps<'a'> & {
|
|
6802
7137
|
asChild?: boolean;
|
|
6803
7138
|
};
|
|
6804
|
-
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$
|
|
7139
|
+
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$58) => import("react/jsx-runtime").JSX.Element;
|
|
6805
7140
|
//#endregion
|
|
6806
7141
|
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6807
|
-
type Props$
|
|
6808
|
-
declare const BreadcrumbList: ({ className, ...props }: Props$
|
|
7142
|
+
type Props$57 = ComponentProps<'ol'>;
|
|
7143
|
+
declare const BreadcrumbList: ({ className, ...props }: Props$57) => import("react/jsx-runtime").JSX.Element;
|
|
6809
7144
|
//#endregion
|
|
6810
7145
|
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6811
|
-
type Props$
|
|
6812
|
-
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$
|
|
7146
|
+
type Props$56 = ComponentProps<'span'>;
|
|
7147
|
+
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$56) => import("react/jsx-runtime").JSX.Element;
|
|
6813
7148
|
//#endregion
|
|
6814
7149
|
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6815
|
-
type Props$
|
|
6816
|
-
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$
|
|
7150
|
+
type Props$55 = ComponentProps<'li'>;
|
|
7151
|
+
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$55) => import("react/jsx-runtime").JSX.Element;
|
|
6817
7152
|
//#endregion
|
|
6818
7153
|
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6819
|
-
type Props$
|
|
6820
|
-
declare function Breadcrumb({ className, ...props }: Props$
|
|
7154
|
+
type Props$54 = ComponentProps<'nav'>;
|
|
7155
|
+
declare function Breadcrumb({ className, ...props }: Props$54): import("react/jsx-runtime").JSX.Element;
|
|
6821
7156
|
declare namespace Breadcrumb {
|
|
6822
7157
|
export { BreadcrumbList as List };
|
|
6823
7158
|
export { BreadcrumbItem as Item };
|
|
@@ -6834,7 +7169,7 @@ type Trigger<T extends string> = {
|
|
|
6834
7169
|
title: ReactNode;
|
|
6835
7170
|
onClose?: (value: T) => void;
|
|
6836
7171
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
6837
|
-
type Props$
|
|
7172
|
+
type Props$53<T extends string> = {
|
|
6838
7173
|
triggers: readonly Trigger<T>[];
|
|
6839
7174
|
compact?: boolean;
|
|
6840
7175
|
children: ReactNode;
|
|
@@ -6845,7 +7180,7 @@ type Props$51<T extends string> = {
|
|
|
6845
7180
|
triggerClassName?: string;
|
|
6846
7181
|
triggerGroupClassName?: string;
|
|
6847
7182
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6848
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
7183
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$53<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6849
7184
|
//#endregion
|
|
6850
7185
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
6851
7186
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6861,7 +7196,7 @@ declare const STEP_STATUS: {
|
|
|
6861
7196
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
6862
7197
|
//#endregion
|
|
6863
7198
|
//#region src/components/Stepper/StepperStep.d.ts
|
|
6864
|
-
type Props$
|
|
7199
|
+
type Props$52 = {
|
|
6865
7200
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
6866
7201
|
status?: StepStatus;
|
|
6867
7202
|
children: ReactNode;
|
|
@@ -6873,23 +7208,23 @@ type Props$50 = {
|
|
|
6873
7208
|
*
|
|
6874
7209
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
6875
7210
|
*/
|
|
6876
|
-
declare const StepperStep: ({ status, children, className, ...props }: Props$
|
|
7211
|
+
declare const StepperStep: ({ status, children, className, ...props }: Props$52) => import("react/jsx-runtime").JSX.Element;
|
|
6877
7212
|
//#endregion
|
|
6878
7213
|
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
6879
|
-
type Props$
|
|
7214
|
+
type Props$51 = ComponentProps<'span'>;
|
|
6880
7215
|
/**
|
|
6881
7216
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
6882
7217
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
6883
7218
|
*/
|
|
6884
|
-
declare const StepperStepConnector: ({ className, ...props }: Props$
|
|
7219
|
+
declare const StepperStepConnector: ({ className, ...props }: Props$51) => import("react/jsx-runtime").JSX.Element;
|
|
6885
7220
|
//#endregion
|
|
6886
7221
|
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
6887
|
-
type Props$
|
|
7222
|
+
type Props$50 = ComponentProps<'span'>;
|
|
6888
7223
|
/** Optional secondary text below the step label. */
|
|
6889
|
-
declare const StepperStepDescription: ({ className, ...props }: Props$
|
|
7224
|
+
declare const StepperStepDescription: ({ className, ...props }: Props$50) => import("react/jsx-runtime").JSX.Element;
|
|
6890
7225
|
//#endregion
|
|
6891
7226
|
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
6892
|
-
type Props$
|
|
7227
|
+
type Props$49 = {
|
|
6893
7228
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
6894
7229
|
children?: ReactNode;
|
|
6895
7230
|
} & ComponentProps<'span'>;
|
|
@@ -6897,12 +7232,12 @@ type Props$47 = {
|
|
|
6897
7232
|
* Circular indicator slot. Renders the status icon (Check / X) or the step number automatically based on
|
|
6898
7233
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
6899
7234
|
*/
|
|
6900
|
-
declare const StepperStepIndicator: ({ children, className, ...props }: Props$
|
|
7235
|
+
declare const StepperStepIndicator: ({ children, className, ...props }: Props$49) => import("react/jsx-runtime").JSX.Element;
|
|
6901
7236
|
//#endregion
|
|
6902
7237
|
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
6903
|
-
type Props$
|
|
7238
|
+
type Props$48 = ComponentProps<'span'>;
|
|
6904
7239
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
6905
|
-
declare const StepperStepLabel: ({ className, ...props }: Props$
|
|
7240
|
+
declare const StepperStepLabel: ({ className, ...props }: Props$48) => import("react/jsx-runtime").JSX.Element;
|
|
6906
7241
|
//#endregion
|
|
6907
7242
|
//#region src/components/Stepper/styles.d.ts
|
|
6908
7243
|
declare const stepperVariants: (props?: ({
|
|
@@ -6910,7 +7245,7 @@ declare const stepperVariants: (props?: ({
|
|
|
6910
7245
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6911
7246
|
//#endregion
|
|
6912
7247
|
//#region src/components/Stepper/Stepper.d.ts
|
|
6913
|
-
type Props$
|
|
7248
|
+
type Props$47 = {
|
|
6914
7249
|
/** Layout direction. Defaults to `horizontal`. */
|
|
6915
7250
|
orientation?: StepperOrientation;
|
|
6916
7251
|
/**
|
|
@@ -6920,7 +7255,7 @@ type Props$45 = {
|
|
|
6920
7255
|
onStepClick?: (index: number) => void;
|
|
6921
7256
|
children: ReactNode;
|
|
6922
7257
|
} & Omit<ComponentProps<'ol'>, 'children'> & VariantProps<typeof stepperVariants>;
|
|
6923
|
-
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$
|
|
7258
|
+
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$47): import("react/jsx-runtime").JSX.Element;
|
|
6924
7259
|
declare namespace Stepper {
|
|
6925
7260
|
export { StepperStep as Step };
|
|
6926
7261
|
export { StepperStepIndicator as StepIndicator };
|
|
@@ -6930,15 +7265,15 @@ declare namespace Stepper {
|
|
|
6930
7265
|
}
|
|
6931
7266
|
//#endregion
|
|
6932
7267
|
//#region src/components/Card/CardContent.d.ts
|
|
6933
|
-
type Props$
|
|
7268
|
+
type Props$46 = HTMLAttributes<HTMLDivElement> & {
|
|
6934
7269
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
6935
7270
|
* root adds none — otherwise the padding is doubled. */
|
|
6936
7271
|
padded?: boolean;
|
|
6937
7272
|
};
|
|
6938
|
-
declare const CardContent: ({ children, className, padded, ...rest }: Props$
|
|
7273
|
+
declare const CardContent: ({ children, className, padded, ...rest }: Props$46) => import("react/jsx-runtime").JSX.Element;
|
|
6939
7274
|
//#endregion
|
|
6940
7275
|
//#region src/components/Card/CardHeader.d.ts
|
|
6941
|
-
type Props$
|
|
7276
|
+
type Props$45 = HTMLAttributes<HTMLDivElement> & {
|
|
6942
7277
|
/** Adds a bottom rule, the header's own padding, and a 64px height floor so the
|
|
6943
7278
|
* band stays the same height with or without an action button. The rule spans the
|
|
6944
7279
|
* full card width — pair with `Card padding="none"`; on a padded root it is inset. */
|
|
@@ -6949,16 +7284,16 @@ type Props$43 = HTMLAttributes<HTMLDivElement> & {
|
|
|
6949
7284
|
* under the title. */
|
|
6950
7285
|
layout?: 'row' | 'inline' | 'stack';
|
|
6951
7286
|
};
|
|
6952
|
-
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$
|
|
7287
|
+
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$45) => import("react/jsx-runtime").JSX.Element;
|
|
6953
7288
|
//#endregion
|
|
6954
7289
|
//#region src/components/Card/CardTitle.d.ts
|
|
6955
7290
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6956
|
-
type Props$
|
|
7291
|
+
type Props$44 = HTMLAttributes<HTMLHeadingElement> & {
|
|
6957
7292
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
6958
7293
|
* (e.g. `as="h2"` when the Card sits directly under a page's `h1`). */
|
|
6959
7294
|
as?: HeadingLevel;
|
|
6960
7295
|
};
|
|
6961
|
-
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$
|
|
7296
|
+
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$44) => import("react/jsx-runtime").JSX.Element;
|
|
6962
7297
|
//#endregion
|
|
6963
7298
|
//#region src/components/Card/styles.d.ts
|
|
6964
7299
|
declare const cardClassnames: (props?: ({
|
|
@@ -6967,8 +7302,8 @@ declare const cardClassnames: (props?: ({
|
|
|
6967
7302
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6968
7303
|
//#endregion
|
|
6969
7304
|
//#region src/components/Card/Card.d.ts
|
|
6970
|
-
type Props$
|
|
6971
|
-
declare function Card({ children, className, bordered, padding, ...rest }: Props$
|
|
7305
|
+
type Props$43 = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
7306
|
+
declare function Card({ children, className, bordered, padding, ...rest }: Props$43): import("react/jsx-runtime").JSX.Element;
|
|
6972
7307
|
declare namespace Card {
|
|
6973
7308
|
export { CardHeader as Header };
|
|
6974
7309
|
export { CardContent as Content };
|
|
@@ -7001,7 +7336,7 @@ declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) =>
|
|
|
7001
7336
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
7002
7337
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
7003
7338
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
7004
|
-
type Props$
|
|
7339
|
+
type Props$42 = {
|
|
7005
7340
|
/** Current sort state for this column: `'asc'`, `'desc'`, or `false` when unsorted. */
|
|
7006
7341
|
sorted: TableSortDirection;
|
|
7007
7342
|
children: ReactNode;
|
|
@@ -7013,19 +7348,19 @@ type Props$40 = {
|
|
|
7013
7348
|
* key/direction pair, or `@tanstack/react-table`'s `getToggleSortingHandler()` / `getIsSorted()`)
|
|
7014
7349
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
7015
7350
|
*/
|
|
7016
|
-
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$
|
|
7351
|
+
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$42) => import("react/jsx-runtime").JSX.Element;
|
|
7017
7352
|
//#endregion
|
|
7018
7353
|
//#region src/components/Table/Table.d.ts
|
|
7019
7354
|
/**
|
|
7020
7355
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
7021
7356
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
7022
7357
|
*/
|
|
7023
|
-
type Props$
|
|
7358
|
+
type Props$41 = {
|
|
7024
7359
|
borderCollapsed?: boolean;
|
|
7025
7360
|
bordered?: boolean;
|
|
7026
7361
|
containerClassName?: string;
|
|
7027
7362
|
} & ComponentProps<'table'>;
|
|
7028
|
-
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
7363
|
+
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$41): import("react/jsx-runtime").JSX.Element;
|
|
7029
7364
|
declare namespace Table {
|
|
7030
7365
|
export { TableHeader as Header };
|
|
7031
7366
|
export { TableHead as Head };
|
|
@@ -7043,25 +7378,25 @@ declare const connectorWrapper: (props?: ({
|
|
|
7043
7378
|
declare const connector: (props?: ({
|
|
7044
7379
|
variant?: "icon" | "label" | "line" | "none" | null | undefined;
|
|
7045
7380
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7046
|
-
type Props$
|
|
7381
|
+
type Props$40 = {
|
|
7047
7382
|
asChild?: boolean;
|
|
7048
7383
|
offset?: number;
|
|
7049
7384
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
7050
|
-
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$
|
|
7385
|
+
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$40) => import("react/jsx-runtime").JSX.Element;
|
|
7051
7386
|
//#endregion
|
|
7052
7387
|
//#region src/components/Timeline/TimelineContent.d.ts
|
|
7053
|
-
type Props$
|
|
7054
|
-
declare const TimelineContent: ({ className, ...rest }: Props$
|
|
7388
|
+
type Props$39 = ComponentProps<'div'>;
|
|
7389
|
+
declare const TimelineContent: ({ className, ...rest }: Props$39) => import("react/jsx-runtime").JSX.Element;
|
|
7055
7390
|
//#endregion
|
|
7056
7391
|
//#region src/components/Timeline/TimelineItem.d.ts
|
|
7057
|
-
type Props$
|
|
7058
|
-
declare const TimelineItem: ({ className, ...rest }: Props$
|
|
7392
|
+
type Props$38 = ComponentProps<'li'>;
|
|
7393
|
+
declare const TimelineItem: ({ className, ...rest }: Props$38) => import("react/jsx-runtime").JSX.Element;
|
|
7059
7394
|
//#endregion
|
|
7060
7395
|
//#region src/components/Timeline/Timeline.d.ts
|
|
7061
|
-
type Props$
|
|
7396
|
+
type Props$37 = ComponentProps<'ul'> & {
|
|
7062
7397
|
variant?: 'solid' | 'dashed';
|
|
7063
7398
|
};
|
|
7064
|
-
declare function Timeline({ className, variant, ...rest }: Props$
|
|
7399
|
+
declare function Timeline({ className, variant, ...rest }: Props$37): import("react/jsx-runtime").JSX.Element;
|
|
7065
7400
|
declare namespace Timeline {
|
|
7066
7401
|
export { TimelineItem as Item };
|
|
7067
7402
|
export { TimelineContent as Content };
|
|
@@ -7069,40 +7404,40 @@ declare namespace Timeline {
|
|
|
7069
7404
|
}
|
|
7070
7405
|
//#endregion
|
|
7071
7406
|
//#region src/components/Truncated.d.ts
|
|
7072
|
-
type Props$
|
|
7407
|
+
type Props$36 = {
|
|
7073
7408
|
text: ReactNode;
|
|
7074
7409
|
tooltip?: ReactNode;
|
|
7075
7410
|
twoLines?: boolean;
|
|
7076
7411
|
noTooltip?: boolean;
|
|
7077
|
-
tooltipVariant?: Props$
|
|
7078
|
-
tooltipPlacement?: Props$
|
|
7412
|
+
tooltipVariant?: Props$10['variant'];
|
|
7413
|
+
tooltipPlacement?: Props$10['placement'];
|
|
7079
7414
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
7080
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
7415
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$36) => import("react/jsx-runtime").JSX.Element;
|
|
7081
7416
|
//#endregion
|
|
7082
7417
|
//#region src/components/MarkedText/MarkedText.d.ts
|
|
7083
|
-
type Props$
|
|
7418
|
+
type Props$35 = {
|
|
7084
7419
|
source: string;
|
|
7085
7420
|
className?: string;
|
|
7086
7421
|
mark?: string;
|
|
7087
7422
|
isCaseSensitive?: boolean;
|
|
7088
7423
|
} & ComponentProps<'span'>;
|
|
7089
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
7424
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$35) => import("react/jsx-runtime").JSX.Element;
|
|
7090
7425
|
//#endregion
|
|
7091
7426
|
//#region src/components/Kbd/KbdGroup.d.ts
|
|
7092
|
-
type Props$
|
|
7427
|
+
type Props$34 = {
|
|
7093
7428
|
separator?: string;
|
|
7094
7429
|
} & ComponentProps<'kbd'>;
|
|
7095
|
-
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$
|
|
7430
|
+
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$34) => import("react/jsx-runtime").JSX.Element;
|
|
7096
7431
|
//#endregion
|
|
7097
7432
|
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
7098
|
-
type Props$
|
|
7433
|
+
type Props$33 = ComponentProps<'span'>;
|
|
7099
7434
|
/**
|
|
7100
7435
|
* The `+` / `then` glue between two `Kbd` keys.
|
|
7101
7436
|
*
|
|
7102
7437
|
* - Follows the muted chrome token by default.
|
|
7103
7438
|
* - Turns white inside the legacy dark tooltip, which sets `data-tooltip-content`.
|
|
7104
7439
|
*/
|
|
7105
|
-
declare const KbdSeparator: ({ className, ...props }: Props$
|
|
7440
|
+
declare const KbdSeparator: ({ className, ...props }: Props$33) => import("react/jsx-runtime").JSX.Element;
|
|
7106
7441
|
//#endregion
|
|
7107
7442
|
//#region src/components/Kbd/styles.d.ts
|
|
7108
7443
|
declare const kbdVariants: (props?: ({
|
|
@@ -7110,8 +7445,8 @@ declare const kbdVariants: (props?: ({
|
|
|
7110
7445
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7111
7446
|
//#endregion
|
|
7112
7447
|
//#region src/components/Kbd/Kbd.d.ts
|
|
7113
|
-
type Props$
|
|
7114
|
-
declare function Kbd({ children, className, variant, ...rest }: Props$
|
|
7448
|
+
type Props$32 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
7449
|
+
declare function Kbd({ children, className, variant, ...rest }: Props$32): import("react/jsx-runtime").JSX.Element;
|
|
7115
7450
|
declare namespace Kbd {
|
|
7116
7451
|
export { KbdGroup as Group };
|
|
7117
7452
|
export { KbdSeparator as Separator };
|
|
@@ -7126,34 +7461,34 @@ type KeyRepresentation = {
|
|
|
7126
7461
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
7127
7462
|
//#endregion
|
|
7128
7463
|
//#region src/components/Pagination/PaginationButton.d.ts
|
|
7129
|
-
type Props$
|
|
7464
|
+
type Props$31 = {
|
|
7130
7465
|
active?: boolean;
|
|
7131
7466
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
7132
|
-
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$
|
|
7467
|
+
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$31) => import("react/jsx-runtime").JSX.Element;
|
|
7133
7468
|
//#endregion
|
|
7134
7469
|
//#region src/components/Pagination/PaginationContent.d.ts
|
|
7135
|
-
type Props$
|
|
7136
|
-
declare const PaginationContent: ({ className, ...props }: Props$
|
|
7470
|
+
type Props$30 = ComponentProps<'ul'>;
|
|
7471
|
+
declare const PaginationContent: ({ className, ...props }: Props$30) => import("react/jsx-runtime").JSX.Element;
|
|
7137
7472
|
//#endregion
|
|
7138
7473
|
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
7139
|
-
type Props$
|
|
7140
|
-
declare const PaginationEllipsis: ({ className, ...props }: Props$
|
|
7474
|
+
type Props$29 = ComponentProps<'span'>;
|
|
7475
|
+
declare const PaginationEllipsis: ({ className, ...props }: Props$29) => import("react/jsx-runtime").JSX.Element;
|
|
7141
7476
|
//#endregion
|
|
7142
7477
|
//#region src/components/Pagination/PaginationItem.d.ts
|
|
7143
|
-
type Props$
|
|
7144
|
-
declare const PaginationItem: ({ className, ...props }: Props$
|
|
7478
|
+
type Props$28 = ComponentProps<'li'>;
|
|
7479
|
+
declare const PaginationItem: ({ className, ...props }: Props$28) => import("react/jsx-runtime").JSX.Element;
|
|
7145
7480
|
//#endregion
|
|
7146
7481
|
//#region src/components/Pagination/PaginationNext.d.ts
|
|
7147
|
-
type Props$
|
|
7148
|
-
declare const PaginationNext: ({ children, className, ...props }: Props$
|
|
7482
|
+
type Props$27 = ComponentProps<typeof PaginationButton>;
|
|
7483
|
+
declare const PaginationNext: ({ children, className, ...props }: Props$27) => import("react/jsx-runtime").JSX.Element;
|
|
7149
7484
|
//#endregion
|
|
7150
7485
|
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
7151
|
-
type Props$
|
|
7152
|
-
declare const PaginationPrevious: ({ children, ...props }: Props$
|
|
7486
|
+
type Props$26 = ComponentProps<typeof PaginationButton>;
|
|
7487
|
+
declare const PaginationPrevious: ({ children, ...props }: Props$26) => import("react/jsx-runtime").JSX.Element;
|
|
7153
7488
|
//#endregion
|
|
7154
7489
|
//#region src/components/Pagination/Pagination.d.ts
|
|
7155
|
-
type Props$
|
|
7156
|
-
declare function Pagination({ className, ...props }: Props$
|
|
7490
|
+
type Props$25 = ComponentProps<'nav'>;
|
|
7491
|
+
declare function Pagination({ className, ...props }: Props$25): import("react/jsx-runtime").JSX.Element;
|
|
7157
7492
|
declare namespace Pagination {
|
|
7158
7493
|
export { PaginationContent as Content };
|
|
7159
7494
|
export { PaginationItem as Item };
|
|
@@ -7164,7 +7499,7 @@ declare namespace Pagination {
|
|
|
7164
7499
|
}
|
|
7165
7500
|
//#endregion
|
|
7166
7501
|
//#region src/components/DiffView/DiffView.d.ts
|
|
7167
|
-
type Props$
|
|
7502
|
+
type Props$24 = {
|
|
7168
7503
|
oldValue: string;
|
|
7169
7504
|
newValue: string;
|
|
7170
7505
|
ignoreWhitespace?: boolean;
|
|
@@ -7174,7 +7509,7 @@ type Props$22 = {
|
|
|
7174
7509
|
rightTitle: ReactNode;
|
|
7175
7510
|
rightTitleGutter?: ReactNode;
|
|
7176
7511
|
};
|
|
7177
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$
|
|
7512
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$24) => import("react/jsx-runtime").JSX.Element;
|
|
7178
7513
|
//#endregion
|
|
7179
7514
|
//#region src/components/DiffView/util.d.ts
|
|
7180
7515
|
declare const DiffType: {
|
|
@@ -7221,18 +7556,18 @@ declare const computeLineInformation: (oldString: string, newString: string, ign
|
|
|
7221
7556
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
7222
7557
|
//#endregion
|
|
7223
7558
|
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
7224
|
-
type Props$
|
|
7559
|
+
type Props$23 = {
|
|
7225
7560
|
label: string;
|
|
7226
7561
|
sublabel?: string;
|
|
7227
7562
|
};
|
|
7228
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
7563
|
+
declare const PaneHeader: ({ label, sublabel }: Props$23) => import("react/jsx-runtime").JSX.Element;
|
|
7229
7564
|
//#endregion
|
|
7230
7565
|
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
7231
|
-
type Props$
|
|
7566
|
+
type Props$22 = {
|
|
7232
7567
|
remainingConflicts: number;
|
|
7233
7568
|
remainingSafeChanges: number;
|
|
7234
7569
|
};
|
|
7235
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
7570
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$22) => import("react/jsx-runtime").JSX.Element;
|
|
7236
7571
|
//#endregion
|
|
7237
7572
|
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
7238
7573
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
@@ -7335,13 +7670,13 @@ declare const StatCard: typeof StatCardRoot & {
|
|
|
7335
7670
|
declare const gridClassnames: (props?: ({
|
|
7336
7671
|
columns?: 2 | 3 | 4 | null | undefined;
|
|
7337
7672
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7338
|
-
type Props$
|
|
7673
|
+
type Props$8 = ComponentProps<'div'> & VariantProps<typeof gridClassnames>;
|
|
7339
7674
|
/**
|
|
7340
7675
|
* Responsive strip of KPI tiles. Lay `StatCard`s inside it at the top of a dashboard.
|
|
7341
7676
|
* `columns` caps the tiles per row on large screens; the grid collapses to one column on
|
|
7342
7677
|
* mobile and two on small screens.
|
|
7343
7678
|
*/
|
|
7344
|
-
declare const StatCardGrid: ({ className, columns, children, ...rest }: Props$
|
|
7679
|
+
declare const StatCardGrid: ({ className, columns, children, ...rest }: Props$8) => import("react/jsx-runtime").JSX.Element;
|
|
7345
7680
|
//#endregion
|
|
7346
7681
|
//#region src/blocks/ChartPanel/ChartPanel.d.ts
|
|
7347
7682
|
type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
@@ -7369,16 +7704,16 @@ type RootProps$1 = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
7369
7704
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps$1) => import("react/jsx-runtime").JSX.Element;
|
|
7370
7705
|
//#endregion
|
|
7371
7706
|
//#region src/blocks/Form/components/FormBody.d.ts
|
|
7372
|
-
type Props$
|
|
7707
|
+
type Props$21 = {
|
|
7373
7708
|
children: ReactNode;
|
|
7374
7709
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
7375
|
-
declare const FormBody: ({ children, className, ...formProps }: Props$
|
|
7710
|
+
declare const FormBody: ({ children, className, ...formProps }: Props$21) => import("react/jsx-runtime").JSX.Element;
|
|
7376
7711
|
//#endregion
|
|
7377
7712
|
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
7378
|
-
type Props$
|
|
7713
|
+
type Props$20 = {
|
|
7379
7714
|
children?: ReactNode;
|
|
7380
7715
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
7381
|
-
declare const SubmitButton: ({ children, ...buttonProps }: Props$
|
|
7716
|
+
declare const SubmitButton: ({ children, ...buttonProps }: Props$20) => import("react/jsx-runtime").JSX.Element;
|
|
7382
7717
|
//#endregion
|
|
7383
7718
|
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
7384
7719
|
/**
|
|
@@ -7389,39 +7724,39 @@ declare const SubmitButton: ({ children, ...buttonProps }: Props$18) => import("
|
|
|
7389
7724
|
declare const SubmitErrorAlert: () => import("react/jsx-runtime").JSX.Element;
|
|
7390
7725
|
//#endregion
|
|
7391
7726
|
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
7392
|
-
type Props$
|
|
7393
|
-
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$
|
|
7727
|
+
type Props$19 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Checkbox>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7728
|
+
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$19) => import("react/jsx-runtime").JSX.Element;
|
|
7394
7729
|
//#endregion
|
|
7395
7730
|
//#region src/blocks/Form/connectors/NumberField.d.ts
|
|
7396
|
-
type Props$
|
|
7397
|
-
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
7731
|
+
type Props$18 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.NumberInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7732
|
+
declare const NumberField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$18) => import("react/jsx-runtime").JSX.Element;
|
|
7398
7733
|
//#endregion
|
|
7399
7734
|
//#region src/blocks/Form/connectors/OtpInputField.d.ts
|
|
7400
|
-
type Props$
|
|
7401
|
-
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$
|
|
7735
|
+
type Props$17 = FieldItemProps & Omit<RootProps$5, 'value' | 'onChange' | 'children' | 'id' | 'name' | 'aria-describedby' | 'aria-required' | 'aria-invalid'>;
|
|
7736
|
+
declare const OtpInputField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, maxLength, ...otpProps }: Props$17) => import("react/jsx-runtime").JSX.Element;
|
|
7402
7737
|
//#endregion
|
|
7403
7738
|
//#region src/blocks/Form/connectors/PasswordField.d.ts
|
|
7404
|
-
type Props$
|
|
7405
|
-
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
7739
|
+
type Props$16 = FieldItemProps & Omit<ComponentProps<typeof PasswordInput>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7740
|
+
declare const PasswordField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$16) => import("react/jsx-runtime").JSX.Element;
|
|
7406
7741
|
//#endregion
|
|
7407
7742
|
//#region src/blocks/Form/connectors/SelectField.d.ts
|
|
7408
|
-
type Props$
|
|
7743
|
+
type Props$15 = FieldItemProps & Omit<SelectProps, 'id' | 'aria-label' | 'aria-labelledby' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'items'> & {
|
|
7409
7744
|
items: readonly (SelectItem | SelectItemGroup)[];
|
|
7410
7745
|
triggerClassName?: string;
|
|
7411
7746
|
};
|
|
7412
|
-
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$
|
|
7747
|
+
declare const SelectField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, triggerClassName, ...selectProps }: Props$15) => import("react/jsx-runtime").JSX.Element;
|
|
7413
7748
|
//#endregion
|
|
7414
7749
|
//#region src/blocks/Form/connectors/SwitchField.d.ts
|
|
7415
|
-
type Props$
|
|
7416
|
-
declare const SwitchField: ({ className, children, ...switchProps }: Props$
|
|
7750
|
+
type Props$14 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Switch>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
7751
|
+
declare const SwitchField: ({ className, children, ...switchProps }: Props$14) => import("react/jsx-runtime").JSX.Element;
|
|
7417
7752
|
//#endregion
|
|
7418
7753
|
//#region src/blocks/Form/connectors/TextareaField.d.ts
|
|
7419
|
-
type Props$
|
|
7420
|
-
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
7754
|
+
type Props$13 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.Textarea>, 'id' | 'name' | 'value' | 'onValueChange' | 'onBlur'>;
|
|
7755
|
+
declare const TextareaField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$13) => import("react/jsx-runtime").JSX.Element;
|
|
7421
7756
|
//#endregion
|
|
7422
7757
|
//#region src/blocks/Form/connectors/TextField.d.ts
|
|
7423
|
-
type Props$
|
|
7424
|
-
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$
|
|
7758
|
+
type Props$12 = FieldItemProps & Omit<ComponentProps<typeof FormGroup.TextInput>, 'id' | 'name' | 'value' | 'onChange' | 'onBlur'>;
|
|
7759
|
+
declare const TextField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, ...inputProps }: Props$12) => import("react/jsx-runtime").JSX.Element;
|
|
7425
7760
|
//#endregion
|
|
7426
7761
|
//#region src/blocks/Form/formHook.d.ts
|
|
7427
7762
|
/**
|
|
@@ -7531,7 +7866,7 @@ declare function useAutosizeInput({ value, placeholder, minWidth }: UseAutosizeI
|
|
|
7531
7866
|
//#endregion
|
|
7532
7867
|
//#region src/hooks/useScrollbarPosition.d.ts
|
|
7533
7868
|
declare const useScrollbarPosition: () => {
|
|
7534
|
-
setElement: (node: HTMLElement | null) => void;
|
|
7869
|
+
setElement: (node: HTMLElement | null) => (() => void) | undefined;
|
|
7535
7870
|
isTop: boolean;
|
|
7536
7871
|
isBottom: boolean;
|
|
7537
7872
|
isMiddle: boolean;
|
|
@@ -7587,18 +7922,22 @@ declare const findLiteralMatches: (text: string, query: string, { isCaseSensitiv
|
|
|
7587
7922
|
}) => number[];
|
|
7588
7923
|
//#endregion
|
|
7589
7924
|
//#region src/utils/mergeRefs.d.ts
|
|
7590
|
-
type PossibleRef<T> =
|
|
7925
|
+
type PossibleRef<T> = Ref<T> | undefined;
|
|
7591
7926
|
/**
|
|
7592
|
-
*
|
|
7593
|
-
*
|
|
7927
|
+
* Compose several refs into the one a component can hand to an element.
|
|
7928
|
+
*
|
|
7929
|
+
* - Accepts callback refs and ref objects, in any mix.
|
|
7930
|
+
* - Returns a cleanup of its own, so a callback ref's cleanup survives the merge. Dropping it
|
|
7931
|
+
* would leave a hook that detaches through its cleanup — `useElement` does — holding a node
|
|
7932
|
+
* that is no longer in the document.
|
|
7594
7933
|
*/
|
|
7595
|
-
declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) =>
|
|
7934
|
+
declare const mergeRefs: <T>(...refs: PossibleRef<T>[]) => RefCallback<T>;
|
|
7596
7935
|
//#endregion
|
|
7597
7936
|
//#region src/utils/isMac.d.ts
|
|
7598
7937
|
declare const isMac: boolean;
|
|
7599
7938
|
//#endregion
|
|
7600
7939
|
//#region src/components/ZoomableSvg/ZoomableSvg.d.ts
|
|
7601
|
-
type Props$
|
|
7940
|
+
type Props$11 = {
|
|
7602
7941
|
/** Raw SVG markup. Sanitized internally with DOMPurify (SVG profile) before rendering, so it is
|
|
7603
7942
|
* safe even when it originates from user/LLM-controlled content. Non-SVG HTML is stripped. */
|
|
7604
7943
|
html: string;
|
|
@@ -7623,7 +7962,7 @@ type Props$9 = {
|
|
|
7623
7962
|
*/
|
|
7624
7963
|
renderActions?: (safeSvg: string) => ReactNode;
|
|
7625
7964
|
};
|
|
7626
|
-
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, renderActions }: Props$
|
|
7965
|
+
declare const ZoomableSvg: ({ html, copyText, className, allowForeignObject, renderActions }: Props$11) => import("react/jsx-runtime").JSX.Element;
|
|
7627
7966
|
//#endregion
|
|
7628
7967
|
//#region src/components/ZoomableSvg/exportSvg.d.ts
|
|
7629
7968
|
declare const toSvgFileContent: (svg: string) => string;
|
|
@@ -7677,5 +8016,5 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
7677
8016
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7678
8017
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7679
8018
|
//#endregion
|
|
7680
|
-
export { Alert, AlertModal, AnswerActions, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 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, DIAGRAM_LANGUAGES, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$
|
|
8019
|
+
export { Alert, AlertModal, AnswerActions, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AnswerVote, AppShell, type AppShellHeaderSpan, type AppShellSlot, ArgoDesignContext, AuthLayout, type RootProps as AuthLayoutProps, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps$1 as ChartPanelProps, ChatInlineIcon, Checkbox, ChipEditor, type Props$1 as ChipEditorProps, 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, DIAGRAM_LANGUAGES, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, DiagramSkeleton, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$3 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$4 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HINT_UNDERLINE_CLASS_NAME, HelpBlock, HoverCard, InlineStepDetail, type Props$2 as InlineStepDetailProps, InlineStepGroup, type Props$3 as InlineStepGroupProps, InlineStepLabel, type Props$4 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkdownTable, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$5 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$5 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$6 as QuestionBlockProps, type QuestionOption, type Props$7 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, SelectProps, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$8 as StatCardGridProps, type RootProps$6 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, StatusDot, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThemeScope, ThinkingIndicator, type ThinkingIndicatorProps, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, type ToolCallStatus, ToolCallStatusHeader, type Props$9 as ToolCallStatusHeaderProps, Tooltip, type Props$10 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageBar, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, appShellSlotSelector, argoVariants, brandSchema, channelsToHex, clampPercentage, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, filterByWords, findLiteralMatches, formatPercentage, getChatInlineIconName, hasLiteralMatch, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, matchByWords, mergeRefs, namedLabel, setServerFieldErrors, setSubmitError, statusDotVariants, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useThemeScopeContainer, useWorkbench, wcagLevel, withBlankValues, withForm };
|
|
7681
8020
|
//# sourceMappingURL=index.d.ts.map
|