@keboola/design 11.0.1 → 11.2.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 +2138 -0
- package/COMPONENT-API.md +40 -1
- package/dist/{AIKit-Dre37SJr.js → AIKit-DiS0CVOW.js} +6 -6
- package/dist/{AIKit-Dre37SJr.js.map → AIKit-DiS0CVOW.js.map} +1 -1
- package/dist/{AlertModal-BUC4Es8o.js → AlertModal-Dp_XuJBW.js} +3 -6
- package/dist/{AlertModal-BUC4Es8o.js.map → AlertModal-Dp_XuJBW.js.map} +1 -1
- package/dist/{BrandEditor-B8o9zdZO.js → BrandEditor-DyzgfVkl.js} +6 -6
- package/dist/{BrandEditor-B8o9zdZO.js.map → BrandEditor-DyzgfVkl.js.map} +1 -1
- package/dist/{Breadcrumb-DJp7WwSv.js → Breadcrumb-Frst8MTA.js} +3 -3
- package/dist/{Breadcrumb-DJp7WwSv.js.map → Breadcrumb-Frst8MTA.js.map} +1 -1
- package/dist/{Button-nzmDNS2q.js → Button-6xBX0nNl.js} +15 -15
- package/dist/Button-6xBX0nNl.js.map +1 -0
- package/dist/{ClipboardButton-ez5V3fkk.js → ClipboardButton-ClcluT0C.js} +2 -2
- package/dist/{ClipboardButton-ez5V3fkk.js.map → ClipboardButton-ClcluT0C.js.map} +1 -1
- package/dist/{CodeEditor-BfQJfbhL.js → CodeEditor-DyaN-Ij2.js} +58 -10
- package/dist/CodeEditor-DyaN-Ij2.js.map +1 -0
- package/dist/{ColorInput-Dx8Dsv7Y.js → ColorInput-B8z4j4Y_.js} +2 -2
- package/dist/{ColorInput-Dx8Dsv7Y.js.map → ColorInput-B8z4j4Y_.js.map} +1 -1
- package/dist/{ColorModeSwitch-CCqj7tjE.js → ColorModeSwitch-dZFZyqy1.js} +3 -3
- package/dist/{ColorModeSwitch-CCqj7tjE.js.map → ColorModeSwitch-dZFZyqy1.js.map} +1 -1
- package/dist/{Combobox-c_xBjf0P.js → Combobox-Dgm6Z4ib.js} +9 -5
- package/dist/Combobox-Dgm6Z4ib.js.map +1 -0
- package/dist/{Command-CQ_bQsJp.js → Command-C0aZfVTq.js} +2 -2
- package/dist/{Command-CQ_bQsJp.js.map → Command-C0aZfVTq.js.map} +1 -1
- package/dist/{DateInput-CMD3dY-T.js → DateInput-B3UdzRfW.js} +3 -3
- package/dist/{DateInput-CMD3dY-T.js.map → DateInput-B3UdzRfW.js.map} +1 -1
- package/dist/{DatePicker-BbFbmsGl.js → DatePicker-Dw3DpbUh.js} +2 -2
- package/dist/{DatePicker-BbFbmsGl.js.map → DatePicker-Dw3DpbUh.js.map} +1 -1
- package/dist/{DateRangeInput-D3BhiKyk.js → DateRangeInput-DTuySEiq.js} +3 -3
- package/dist/{DateRangeInput-D3BhiKyk.js.map → DateRangeInput-DTuySEiq.js.map} +1 -1
- package/dist/{DateRangePicker-BiUgtt_M.js → DateRangePicker-DCmMHg4s.js} +4 -4
- package/dist/{DateRangePicker-BiUgtt_M.js.map → DateRangePicker-DCmMHg4s.js.map} +1 -1
- package/dist/{DropdownMenu-B6ZbYvaM.js → DropdownMenu-t90tVw6l.js} +8 -8
- package/dist/DropdownMenu-t90tVw6l.js.map +1 -0
- package/dist/FieldItem-CAPj9lj3.d.ts +111 -0
- package/dist/FieldItem-D-h1NeBo.js +108 -0
- package/dist/FieldItem-D-h1NeBo.js.map +1 -0
- package/dist/{FileUpload-sXRv7JiY.js → FileUpload-BRv0TaZk.js} +2 -2
- package/dist/{FileUpload-sXRv7JiY.js.map → FileUpload-BRv0TaZk.js.map} +1 -1
- package/dist/{Form-BDCef6O9.js → Form-DHvcFoEi.js} +18 -78
- package/dist/{Form-BDCef6O9.js.map → Form-DHvcFoEi.js.map} +1 -1
- package/dist/{FormGroup-S9mPNHKH.js → FormGroup-C41n65cE.js} +7 -7
- package/dist/FormGroup-C41n65cE.js.map +1 -0
- package/dist/{FullScreenModal-CJa2VkJ2.js → FullScreenModal-Cb3PGgh4.js} +2 -2
- package/dist/{FullScreenModal-CJa2VkJ2.js.map → FullScreenModal-Cb3PGgh4.js.map} +1 -1
- package/dist/{InputGroup-BJWsI35s.js → InputGroup-CdTq8H7c.js} +2 -2
- package/dist/{InputGroup-BJWsI35s.js.map → InputGroup-CdTq8H7c.js.map} +1 -1
- package/dist/{MermaidDiagram-BB06gymm.js → MermaidDiagram-ChL3WIQT.js} +2 -2
- package/dist/{MermaidDiagram-BB06gymm.js.map → MermaidDiagram-ChL3WIQT.js.map} +1 -1
- package/dist/{Modal-BA5Wc3sx.js → Modal-wqG8nJiK.js} +2 -2
- package/dist/{Modal-BA5Wc3sx.js.map → Modal-wqG8nJiK.js.map} +1 -1
- package/dist/{MultiActionButtonGroup-CiBHxsSk.js → MultiActionButtonGroup-BiIIubiL.js} +2 -2
- package/dist/{MultiActionButtonGroup-CiBHxsSk.js.map → MultiActionButtonGroup-BiIIubiL.js.map} +1 -1
- package/dist/{Navbar-t16usFZQ.js → Navbar-BfaPeLUL.js} +5 -2
- package/dist/Navbar-BfaPeLUL.js.map +1 -0
- package/dist/{PageToolbar-0_1OBzaZ.js → PageToolbar-OQg3mPF-.js} +4 -4
- package/dist/PageToolbar-OQg3mPF-.js.map +1 -0
- package/dist/{Pagination-CM_Rszz-.js → Pagination-Cjfda8KG.js} +2 -2
- package/dist/{Pagination-CM_Rszz-.js.map → Pagination-Cjfda8KG.js.map} +1 -1
- package/dist/{Popconfirm-BGe1jLov.js → Popconfirm-D7_vfxFd.js} +4 -7
- package/dist/{Popconfirm-BGe1jLov.js.map → Popconfirm-D7_vfxFd.js.map} +1 -1
- package/dist/{Popover-Ca0V6AD1.js → Popover-CzeHjvrB.js} +6 -13
- package/dist/Popover-CzeHjvrB.js.map +1 -0
- package/dist/{SearchInput-D2fcOv7E.js → SearchInput-C7dF_Ir-.js} +2 -2
- package/dist/{SearchInput-D2fcOv7E.js.map → SearchInput-C7dF_Ir-.js.map} +1 -1
- package/dist/{SectionNav--7bw2b6u.js → SectionNav-8NoTOKO8.js} +3 -3
- package/dist/{SectionNav--7bw2b6u.js.map → SectionNav-8NoTOKO8.js.map} +1 -1
- package/dist/{Select-4YX38G5h.js → Select-Is0VkePH.js} +2 -2
- package/dist/{Select-4YX38G5h.js.map → Select-Is0VkePH.js.map} +1 -1
- package/dist/{Sheet-BQrX8-h5.js → Sheet-Dw9BDvjI.js} +2 -2
- package/dist/{Sheet-BQrX8-h5.js.map → Sheet-Dw9BDvjI.js.map} +1 -1
- package/dist/{Sidebar-ROaR_AqC.js → Sidebar-Dcb4rinA.js} +2 -2
- package/dist/{Sidebar-ROaR_AqC.js.map → Sidebar-Dcb4rinA.js.map} +1 -1
- package/dist/{Slider-Da_3mS5v.js → Slider-BOPfMOMm.js} +2 -2
- package/dist/{Slider-Da_3mS5v.js.map → Slider-BOPfMOMm.js.map} +1 -1
- package/dist/{Tabs-EAihyqCt.js → Tabs-UMQuDoW8.js} +2 -2
- package/dist/{Tabs-EAihyqCt.js.map → Tabs-UMQuDoW8.js.map} +1 -1
- package/dist/{TextInput-BGed-V13.js → TextInput-CMuN1WfY.js} +2 -2
- package/dist/{TextInput-BGed-V13.js.map → TextInput-CMuN1WfY.js.map} +1 -1
- package/dist/{TimePicker-B_NegL-7.js → TimePicker-D9zktB8A.js} +2 -2
- package/dist/{TimePicker-B_NegL-7.js.map → TimePicker-D9zktB8A.js.map} +1 -1
- package/dist/{ZoomableSvg-DG9PnAm8.js → ZoomableSvg-CZEu6sAq.js} +3 -3
- package/dist/{ZoomableSvg-DG9PnAm8.js.map → ZoomableSvg-CZEu6sAq.js.map} +1 -1
- package/dist/editors.d.ts +71 -9
- package/dist/editors.js +58 -3
- package/dist/editors.js.map +1 -1
- package/dist/index.d.ts +314 -312
- package/dist/index.js +41 -40
- package/dist/internal/blocks/AIKit.js +1 -1
- package/dist/internal/blocks/BrandEditor.js +1 -1
- package/dist/internal/blocks/ClipboardButton.js +1 -1
- package/dist/internal/blocks/ColorInput.js +1 -1
- package/dist/internal/blocks/ColorModeSwitch.js +1 -1
- package/dist/internal/blocks/Command.js +1 -1
- package/dist/internal/blocks/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 +56 -0
- package/dist/internal/blocks/Form/connectors/MultiComboboxField.js.map +1 -0
- 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 +8 -3
- package/dist/internal/blocks/MultiCombobox.js.map +1 -1
- package/dist/internal/blocks/NumberInput.js +1 -1
- package/dist/internal/blocks/PageToolbar.js +1 -1
- package/dist/internal/blocks/PasswordInput.js +1 -1
- 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 +2 -2
- 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/AlertModal.js +1 -1
- package/dist/internal/components/Breadcrumb.js +1 -1
- package/dist/internal/components/Button.js +1 -1
- package/dist/internal/components/Combobox.js +1 -1
- package/dist/internal/components/DatePicker.js +1 -1
- package/dist/internal/components/DateRangePicker.js +1 -1
- package/dist/internal/components/DropdownMenu.js +1 -1
- package/dist/internal/components/FileUpload.js +1 -1
- package/dist/internal/components/FullScreenModal.js +1 -1
- package/dist/internal/components/InputGroup.js +1 -1
- package/dist/internal/components/Modal.js +1 -1
- package/dist/internal/components/Navbar.js +1 -1
- package/dist/internal/components/Pagination.js +1 -1
- package/dist/internal/components/Popconfirm.js +1 -1
- package/dist/internal/components/Popover.js +1 -1
- package/dist/internal/components/Select.js +1 -1
- package/dist/internal/components/Sheet.js +1 -1
- package/dist/internal/components/Sidebar.js +1 -1
- package/dist/internal/components/Slider.js +1 -1
- package/dist/internal/components/Tabs.js +1 -1
- package/dist/internal/components/TimePicker.js +1 -1
- package/dist/internal/components/ZoomableSvg.js +1 -1
- package/dist/markdown-editor.js +5 -5
- package/dist/mermaid.js +1 -1
- package/dist/rjsf.d.ts +13 -1
- package/dist/rjsf.js +233 -173
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +7 -6
- package/dist/Button-nzmDNS2q.js.map +0 -1
- package/dist/CodeEditor-BfQJfbhL.js.map +0 -1
- package/dist/Combobox-c_xBjf0P.js.map +0 -1
- package/dist/DropdownMenu-B6ZbYvaM.js.map +0 -1
- package/dist/FormGroup-S9mPNHKH.js.map +0 -1
- package/dist/Navbar-t16usFZQ.js.map +0 -1
- package/dist/PageToolbar-0_1OBzaZ.js.map +0 -1
- package/dist/Popover-Ca0V6AD1.js.map +0 -1
- package/dist/constants-D6JcsD4_.d.ts +0 -41
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeClassification, DiffChunk, MergeConflict } from "./
|
|
1
|
+
import { BrandId, ChangeClassification, ColorScheme, DiffChunk, FieldItemProps, MergeConflict, ResolvedColorScheme, Theme, Tokens } from "./FieldItem-CAPj9lj3.js";
|
|
2
2
|
import { LucideIcon } from "./index-m-kQEWiY.js";
|
|
3
3
|
import { Slot, Slot as Slot$1 } from "@radix-ui/react-slot";
|
|
4
4
|
import * as React$2 from "react";
|
|
@@ -27,13 +27,13 @@ import { Root as Root$9, Thumb as Thumb$1 } from "@radix-ui/react-slider";
|
|
|
27
27
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
28
28
|
import { CheckedState, Root as Root$11 } from "@radix-ui/react-checkbox";
|
|
29
29
|
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
30
|
+
import { AnyFormApi } from "@tanstack/react-form";
|
|
30
31
|
import { OTPInput, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, SlotProps as OtpInputRenderSlotProps } from "input-otp";
|
|
31
32
|
import { Root as Root$12 } from "@radix-ui/react-progress";
|
|
32
33
|
import { CollapsibleTrigger, Content as Content$5, Root as Root$13 } from "@radix-ui/react-collapsible";
|
|
33
34
|
import { Action as Action$1, ExternalToast, Toaster as Toaster$1 } from "sonner";
|
|
34
35
|
import { Group as Group$1, Panel as ResizablePanel, PanelImperativeHandle, Separator as Separator$1, useDefaultLayout } from "react-resizable-panels";
|
|
35
36
|
import * as RadixTabs from "@radix-ui/react-tabs";
|
|
36
|
-
import { AnyFormApi } from "@tanstack/react-form";
|
|
37
37
|
//#region src/components/Button/styles.d.ts
|
|
38
38
|
declare const variants$7: (props?: ({
|
|
39
39
|
block?: boolean | null | undefined;
|
|
@@ -3875,6 +3875,14 @@ type CreatableProps$1<Value> = {
|
|
|
3875
3875
|
allowCreate?: boolean;
|
|
3876
3876
|
queryToCreateLabel?: (query: string) => ReactNode;
|
|
3877
3877
|
queryToCreateValue?: (query: string) => Value;
|
|
3878
|
+
/**
|
|
3879
|
+
* Gate on the typed query for `allowCreate`.
|
|
3880
|
+
*
|
|
3881
|
+
* - Returning `false` hides the create row, so the empty state shows instead.
|
|
3882
|
+
* - Only called for a non-empty query that matches no existing item.
|
|
3883
|
+
* - Reach for it when a free-form value has a format (an email address, a URL, an identifier).
|
|
3884
|
+
*/
|
|
3885
|
+
canCreate?: (query: string) => boolean;
|
|
3878
3886
|
};
|
|
3879
3887
|
type Props$148<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = PublicComboboxInputProps & PublicComboboxProps<Value> & CreatableProps$1<Value> & {
|
|
3880
3888
|
items?: readonly (Value | GroupShape)[];
|
|
@@ -3889,12 +3897,13 @@ type Props$148<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Publ
|
|
|
3889
3897
|
* or `true` to force it. Grouped lists are never virtualized.
|
|
3890
3898
|
*/
|
|
3891
3899
|
virtualized?: boolean | 'auto';
|
|
3892
|
-
|
|
3900
|
+
/** `query` is the current search text — pass it to `MarkedText` to highlight the match. */
|
|
3901
|
+
itemToLabel?: (item: Value, query: string) => ReactNode;
|
|
3893
3902
|
itemToIcon?: (item: Value) => ReactNode;
|
|
3894
3903
|
itemToDisabled?: (item: Value) => boolean;
|
|
3895
3904
|
groupToLabel?: (group: GroupShape) => ReactNode;
|
|
3896
3905
|
};
|
|
3897
|
-
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel }: Props$148<Value, GroupShape>): import("react/jsx-runtime").JSX.Element;
|
|
3906
|
+
declare function Combobox<Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value, defaultValue, onValueChange, itemToStringLabel: itemToStringLabelProp, itemToStringValue, disabled, filter, inputRef, onOpenChangeComplete, isItemEqualToValue: isItemEqualToValueProp, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, empty, indicator, prefix, virtualized, allowCreate, queryToCreateValue, queryToCreateLabel, canCreate, itemToDisabled, itemToLabel, itemToIcon, groupToLabel }: Props$148<Value, GroupShape>): import("react/jsx-runtime").JSX.Element;
|
|
3898
3907
|
declare namespace Combobox {
|
|
3899
3908
|
export { ComboboxRoot as Root };
|
|
3900
3909
|
export { ComboboxInputGroup as InputGroup };
|
|
@@ -3928,7 +3937,7 @@ type CreatableProps<Value> = {
|
|
|
3928
3937
|
* Use `itemToLabel` / `itemToIcon` / `itemToDisabled` to project custom item shapes; use `filter` to override
|
|
3929
3938
|
* the default substring matcher. Pass `allowCreate` to let the user add free-form values not in `items`.
|
|
3930
3939
|
*/
|
|
3931
|
-
type Props$147<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & CreatableProps<Value> & {
|
|
3940
|
+
type Props$147<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick<ComboboxInputProps, 'placeholder' | 'id' | 'name' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required'> & Pick<ComboboxInputGroupProps, 'variant' | 'focusVariant' | 'sizing' | 'state' | 'className'> & Pick<ComboboxProps<Value>, 'disabled' | 'inputRef' | 'value' | 'defaultValue' | 'onValueChange' | 'itemToStringLabel' | 'itemToStringValue' | 'filter'> & Pick<ComboboxChipsProps, 'itemToChipLabel' | 'itemToChipColor' | 'maxVisible'> & CreatableProps<Value> & {
|
|
3932
3941
|
items?: readonly (Value | GroupShape)[];
|
|
3933
3942
|
allowClear?: boolean;
|
|
3934
3943
|
allowSelectAll?: boolean;
|
|
@@ -3952,7 +3961,38 @@ type Props$147<Value, GroupShape extends Group$2<Value> = Group$2<Value>> = Pick
|
|
|
3952
3961
|
* @see RECIPES.md#creatable-multi-combobox — for free-form-plus-enumerated patterns
|
|
3953
3962
|
* @see RECIPES.md#filter-toolbar — for combining multi-select with other filter chips
|
|
3954
3963
|
*/
|
|
3955
|
-
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible }: Props$147<Value, GroupShape>) => import("react/jsx-runtime").JSX.Element;
|
|
3964
|
+
declare const MultiCombobox: <Value, GroupShape extends Group$2<Value> = Group$2<Value>>({ items: _itemsProp, value: _valueProp, defaultValue, onValueChange, itemToStringLabel, itemToStringValue, disabled, filter: filterProp, inputRef, variant, sizing, focusVariant, state, placeholder, allowClear, id, name, onBlur, 'aria-describedby': ariaDescribedBy, 'aria-invalid': ariaInvalid, 'aria-required': ariaRequired, className, allowSelectAll, empty, indicator, allowCreate, queryToCreateValue, queryToCreateLabel, itemToDisabled, itemToLabel, itemToIcon, groupToLabel, itemToChipLabel, itemToChipColor, maxVisible }: Props$147<Value, GroupShape>) => import("react/jsx-runtime").JSX.Element;
|
|
3965
|
+
//#endregion
|
|
3966
|
+
//#region src/blocks/Form/connectors/MultiComboboxField.d.ts
|
|
3967
|
+
type Props$146 = FieldItemProps & Omit<ComponentProps<typeof MultiCombobox<string>>, 'id' | 'name' | 'value' | 'defaultValue' | 'onValueChange' | 'onBlur' | 'aria-describedby' | 'aria-invalid' | 'aria-required' | 'className' | 'state'> & {
|
|
3968
|
+
inputClassName?: string;
|
|
3969
|
+
};
|
|
3970
|
+
/**
|
|
3971
|
+
* Multi-selection field. State is `string[]`.
|
|
3972
|
+
*
|
|
3973
|
+
* ⚠️ Imported by name, not reached as `field.MultiComboboxField`, for the same reason as
|
|
3974
|
+
* `CodeEditorField`: `fieldComponents` is an object literal handed to `createFormHook`, so no bundler
|
|
3975
|
+
* shakes it per key — registering this here made every `useAppForm` consumer carry Base UI's combobox
|
|
3976
|
+
* and `@tanstack/react-virtual`, measured at **+45 kB brotlied** (135 → 180 kB for
|
|
3977
|
+
* `import { useAppForm }`), including apps that only render a `TextField`. As a named export the
|
|
3978
|
+
* weight is opt-in, and anyone rendering a multi-select pays it via `MultiCombobox` regardless.
|
|
3979
|
+
*
|
|
3980
|
+
* It still reads the field from context, so it composes exactly like a connector:
|
|
3981
|
+
*
|
|
3982
|
+
* ```tsx
|
|
3983
|
+
* import { MultiComboboxField } from '@keboola/design';
|
|
3984
|
+
*
|
|
3985
|
+
* <form.AppField name="features">{() => <MultiComboboxField label="Features" items={FEATURES} />}</form.AppField>
|
|
3986
|
+
* ```
|
|
3987
|
+
*
|
|
3988
|
+
* Locked to `string` items rather than generic over the item shape: a form value is what gets
|
|
3989
|
+
* submitted, and a field holding `{ label, value }` objects would put presentation into the payload.
|
|
3990
|
+
* Project labels with `itemToLabel` instead.
|
|
3991
|
+
*
|
|
3992
|
+
* Pass `allowCreate` for an enum the user may extend — an open list of synchronous action names, say.
|
|
3993
|
+
* The created values land in the field value like any other.
|
|
3994
|
+
*/
|
|
3995
|
+
declare const MultiComboboxField: ({ label, action, required, requiredMark, help, tooltip, className, 'aria-describedby': ariaDescribedBy, inputClassName, ...comboboxProps }: Props$146) => import("react/jsx-runtime").JSX.Element;
|
|
3956
3996
|
//#endregion
|
|
3957
3997
|
//#region src/blocks/Textarea/Textarea.d.ts
|
|
3958
3998
|
type InputGroupProps$7 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'sizing' | 'focusVariant' | 'state'>;
|
|
@@ -3966,12 +4006,12 @@ type TextareaOwnProps = {
|
|
|
3966
4006
|
disableResize?: boolean;
|
|
3967
4007
|
containerClassName?: string;
|
|
3968
4008
|
};
|
|
3969
|
-
type Props$
|
|
4009
|
+
type Props$145 = InputGroupProps$7 & TextareaNativeProps & TextareaOwnProps;
|
|
3970
4010
|
/**
|
|
3971
4011
|
* Multi-line text input. Chrome resolves from the active brand automatically: a modern brand always
|
|
3972
4012
|
* renders argo (any `variant` is ignored), while `variant` only tunes the legacy-brand chrome.
|
|
3973
4013
|
*/
|
|
3974
|
-
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$
|
|
4014
|
+
declare const Textarea: ({ ref, containerClassName, state, variant, sizing, focusVariant, value: valueProp, defaultValue, onValueChange, ...rest }: Props$145) => import("react/jsx-runtime").JSX.Element;
|
|
3975
4015
|
//#endregion
|
|
3976
4016
|
//#region src/blocks/AutoSaveTextarea/AutoSaveTextarea.d.ts
|
|
3977
4017
|
type AutoSaveTextareaProps = {
|
|
@@ -3986,21 +4026,14 @@ declare const AutoSaveTextarea: ({ savedValue, onSave, placeholder, disabled, gr
|
|
|
3986
4026
|
//#region src/blocks/ColorInput/ColorInput.d.ts
|
|
3987
4027
|
type InputGroupProps$6 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
3988
4028
|
type InputGroupInputProps$6 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue'>;
|
|
3989
|
-
type Props$
|
|
4029
|
+
type Props$144 = InputGroupProps$6 & InputGroupInputProps$6 & {
|
|
3990
4030
|
value?: string | null;
|
|
3991
4031
|
defaultValue?: string | null;
|
|
3992
4032
|
onValueChange?: (value: string) => void;
|
|
3993
4033
|
onValueBlur?: (value: string) => void;
|
|
3994
4034
|
allowClear?: boolean;
|
|
3995
4035
|
};
|
|
3996
|
-
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$
|
|
3997
|
-
//#endregion
|
|
3998
|
-
//#region src/components/ThemeProvider/types.d.ts
|
|
3999
|
-
type BrandId = string;
|
|
4000
|
-
type ResolvedColorScheme = 'light' | 'dark';
|
|
4001
|
-
type ColorScheme = 'system' | ResolvedColorScheme;
|
|
4002
|
-
type Tokens = Record<string, string>;
|
|
4003
|
-
type Theme = Pick<Brand$1, 'id' | 'name' | 'shell' | 'logo'>;
|
|
4036
|
+
declare const ColorInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, onValueChange, onValueBlur, onChange, onBlur, defaultValue, allowClear, disabled, readOnly, ...restInputProps }: Props$144) => import("react/jsx-runtime").JSX.Element;
|
|
4004
4037
|
//#endregion
|
|
4005
4038
|
//#region src/components/ThemeProvider/useBrandState.d.ts
|
|
4006
4039
|
type UseBrandOptions = {
|
|
@@ -4032,12 +4065,12 @@ declare const useColorSchemeState: ({ defaultScheme, scheme: propScheme, onSchem
|
|
|
4032
4065
|
};
|
|
4033
4066
|
//#endregion
|
|
4034
4067
|
//#region src/components/ThemeProvider/ThemeProvider.d.ts
|
|
4035
|
-
type Props$
|
|
4068
|
+
type Props$143 = UseColorSchemeOptions & UseBrandOptions & {
|
|
4036
4069
|
/** Brands this provider knows about; the active brand id resolves against these. */
|
|
4037
4070
|
brands?: readonly Brand$1[];
|
|
4038
4071
|
children: ReactNode;
|
|
4039
4072
|
};
|
|
4040
|
-
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$
|
|
4073
|
+
declare const ThemeProvider: ({ defaultScheme, scheme, onSchemeChange, defaultBrandId, brandId, onBrandIdChange, brands, children }: Props$143) => import("react/jsx-runtime").JSX.Element;
|
|
4041
4074
|
//#endregion
|
|
4042
4075
|
//#region src/components/ThemeProvider/context.d.ts
|
|
4043
4076
|
type ThemeContextValue = ReturnType<typeof useColorSchemeState> & ReturnType<typeof useBrandState> & {
|
|
@@ -4064,7 +4097,7 @@ declare const DEFAULT_COLOR_SCHEME: ResolvedColorScheme;
|
|
|
4064
4097
|
declare const DEFAULT_BRAND_ID = "design-system";
|
|
4065
4098
|
//#endregion
|
|
4066
4099
|
//#region src/blocks/ColorModeSwitch/ColorModeSwitch.d.ts
|
|
4067
|
-
type Props$
|
|
4100
|
+
type Props$142 = {
|
|
4068
4101
|
/** The active color scheme. Controlled — pair with `onValueChange`. */
|
|
4069
4102
|
value: ColorScheme;
|
|
4070
4103
|
/** Called with the chosen scheme when the user picks a menu item. */
|
|
@@ -4089,12 +4122,12 @@ type Props$143 = {
|
|
|
4089
4122
|
* The menu uses `DropdownMenu.RadioGroup` for single-select semantics; the active
|
|
4090
4123
|
* item is marked as checked. The trigger's `aria-label` names the current scheme.
|
|
4091
4124
|
*/
|
|
4092
|
-
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$
|
|
4125
|
+
declare const ColorModeSwitch: ({ value, onValueChange, size, className }: Props$142) => import("react/jsx-runtime").JSX.Element;
|
|
4093
4126
|
//#endregion
|
|
4094
4127
|
//#region src/blocks/DateInput/DateInput.d.ts
|
|
4095
4128
|
type InputGroupProps$5 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4096
4129
|
type InputGroupInputProps$5 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4097
|
-
type Props$
|
|
4130
|
+
type Props$141 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
4098
4131
|
value?: Date | null;
|
|
4099
4132
|
defaultValue?: Date | null;
|
|
4100
4133
|
onValueChange?: (value: Date | null) => void;
|
|
@@ -4104,12 +4137,12 @@ type Props$142 = InputGroupProps$5 & InputGroupInputProps$5 & {
|
|
|
4104
4137
|
endMonth?: Date;
|
|
4105
4138
|
startMonth?: Date;
|
|
4106
4139
|
};
|
|
4107
|
-
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$
|
|
4140
|
+
declare const DateInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, disabledDays, endMonth, startMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$141) => import("react/jsx-runtime").JSX.Element;
|
|
4108
4141
|
//#endregion
|
|
4109
4142
|
//#region src/blocks/NumberInput/NumberInput.d.ts
|
|
4110
4143
|
type InputGroupProps$4 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4111
4144
|
type InputGroupInputProps$4 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'prefix'>;
|
|
4112
|
-
type Props$
|
|
4145
|
+
type Props$140 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
4113
4146
|
value?: number | null;
|
|
4114
4147
|
defaultValue?: number | null;
|
|
4115
4148
|
onValueChange?: (value: number | null) => void;
|
|
@@ -4117,12 +4150,12 @@ type Props$141 = InputGroupProps$4 & InputGroupInputProps$4 & {
|
|
|
4117
4150
|
prefix?: ReactNode;
|
|
4118
4151
|
suffix?: ReactNode;
|
|
4119
4152
|
};
|
|
4120
|
-
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$
|
|
4153
|
+
declare const NumberInput: ({ ref, state, variant, focusVariant, sizing, className, value, defaultValue, onValueChange, onValueBlur, onChange, onBlur, prefix, suffix, ...inputProps }: Props$140) => import("react/jsx-runtime").JSX.Element;
|
|
4121
4154
|
//#endregion
|
|
4122
4155
|
//#region src/blocks/PasswordInput/PasswordInput.d.ts
|
|
4123
4156
|
type InputGroupProps$3 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4124
4157
|
type InputGroupInputProps$3 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type' | 'autoComplete'>;
|
|
4125
|
-
type Props$
|
|
4158
|
+
type Props$139 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
4126
4159
|
value?: string | null;
|
|
4127
4160
|
defaultValue?: string | null;
|
|
4128
4161
|
onValueChange?: (value: string) => void;
|
|
@@ -4139,24 +4172,24 @@ type Props$140 = InputGroupProps$3 & InputGroupInputProps$3 & {
|
|
|
4139
4172
|
autoComplete?: 'new-password' | 'current-password' | 'off';
|
|
4140
4173
|
defaultPasswordVisibility?: boolean;
|
|
4141
4174
|
};
|
|
4142
|
-
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$
|
|
4175
|
+
declare const PasswordInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onKeyDown, onKeyUp, onMouseDown, allowClear, allowPasswordToggle, passwordToggleLabel, autoComplete, defaultPasswordVisibility, disabled, readOnly, ...restInputProps }: Props$139) => import("react/jsx-runtime").JSX.Element;
|
|
4143
4176
|
//#endregion
|
|
4144
4177
|
//#region src/blocks/TimeInput/TimeInput.d.ts
|
|
4145
4178
|
type InputGroupProps$2 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4146
4179
|
type InputGroupInputProps$2 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4147
|
-
type Props$
|
|
4180
|
+
type Props$138 = InputGroupProps$2 & InputGroupInputProps$2 & {
|
|
4148
4181
|
value?: string | null;
|
|
4149
4182
|
defaultValue?: string | null;
|
|
4150
4183
|
onValueChange?: (value: string | null) => void;
|
|
4151
4184
|
onValueBlur?: (value: string | null) => void;
|
|
4152
4185
|
allowClear?: boolean;
|
|
4153
4186
|
};
|
|
4154
|
-
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$
|
|
4187
|
+
declare const TimeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, allowClear, disabled, readOnly, placeholder, ...restInputProps }: Props$138) => import("react/jsx-runtime").JSX.Element;
|
|
4155
4188
|
//#endregion
|
|
4156
4189
|
//#region src/blocks/DateRangeInput/DateRangeInput.d.ts
|
|
4157
4190
|
type InputGroupProps$1 = Pick<ComponentProps<typeof InputGroup>, 'variant' | 'focusVariant' | 'state' | 'sizing'>;
|
|
4158
4191
|
type InputGroupInputProps$1 = Omit<ComponentProps<typeof InputGroup.Input>, 'value' | 'defaultValue' | 'type'>;
|
|
4159
|
-
type Props$
|
|
4192
|
+
type Props$137 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
4160
4193
|
value?: DateRange$1 | null;
|
|
4161
4194
|
defaultValue?: DateRange$1 | null;
|
|
4162
4195
|
onValueChange?: (value: DateRange$1 | null) => void;
|
|
@@ -4165,7 +4198,7 @@ type Props$138 = InputGroupProps$1 & InputGroupInputProps$1 & {
|
|
|
4165
4198
|
startMonth?: Date;
|
|
4166
4199
|
endMonth?: Date;
|
|
4167
4200
|
};
|
|
4168
|
-
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$
|
|
4201
|
+
declare const DateRangeInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onFocus, allowClear, startMonth, endMonth, disabled, readOnly, placeholder, ...restInputProps }: Props$137) => import("react/jsx-runtime").JSX.Element;
|
|
4169
4202
|
//#endregion
|
|
4170
4203
|
//#region src/blocks/OtpInput/OtpInputGroup.d.ts
|
|
4171
4204
|
type GroupProps = ComponentProps<'div'>;
|
|
@@ -4216,7 +4249,7 @@ type InputGroupInputProps = Omit<ComponentProps<typeof InputGroup.Input>, 'value
|
|
|
4216
4249
|
* is treated as "not provided" — the component falls back to `defaultValue` (or, if absent, internal
|
|
4217
4250
|
* state initialized to empty). `value={""}` is controlled-empty.
|
|
4218
4251
|
*/
|
|
4219
|
-
type Props$
|
|
4252
|
+
type Props$136 = InputGroupProps & InputGroupInputProps & {
|
|
4220
4253
|
value?: string | null;
|
|
4221
4254
|
defaultValue?: string | null;
|
|
4222
4255
|
/** 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`. */
|
|
@@ -4245,7 +4278,7 @@ type Props$137 = InputGroupProps & InputGroupInputProps & {
|
|
|
4245
4278
|
*
|
|
4246
4279
|
* @see RECIPES.md#filter-toolbar — for the search + filter chips toolbar pattern
|
|
4247
4280
|
*/
|
|
4248
|
-
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$
|
|
4281
|
+
declare const SearchInput: ({ ref, state, variant, focusVariant, sizing, className, value: valueProp, defaultValue, onValueChange, onValueBlur, onChange, onBlur, onClear, allowClear, disableDebounce, debounceDelay, disabled, readOnly, ...restInputProps }: Props$136) => import("react/jsx-runtime").JSX.Element;
|
|
4249
4282
|
//#endregion
|
|
4250
4283
|
//#region src/blocks/SearchInputWithNavigation/SearchInputWithNavigation.d.ts
|
|
4251
4284
|
type SearchInputWithNavigationProps = {
|
|
@@ -4365,7 +4398,7 @@ declare const useFileDropTarget: ({ accept, maxSize, maxFiles, multiple, disable
|
|
|
4365
4398
|
declare const useFileUploadRejections: () => FileUploadRejection[];
|
|
4366
4399
|
//#endregion
|
|
4367
4400
|
//#region src/components/FileUpload/FileUploadDropZone.d.ts
|
|
4368
|
-
type Props$
|
|
4401
|
+
type Props$135 = {
|
|
4369
4402
|
/** Override the default copy / icon block. */
|
|
4370
4403
|
children?: ReactNode;
|
|
4371
4404
|
/** `id` for the underlying file input, so an external `<Label htmlFor>` can address it. */
|
|
@@ -4375,10 +4408,10 @@ type Props$136 = {
|
|
|
4375
4408
|
* Drop-zone target. Defaults to "Drag files here or click to browse" + Upload icon.
|
|
4376
4409
|
* Pass `children` to fully replace the inner block.
|
|
4377
4410
|
*/
|
|
4378
|
-
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$
|
|
4411
|
+
declare const FileUploadDropZone: ({ children, inputId, className, ...rest }: Props$135) => import("react/jsx-runtime").JSX.Element;
|
|
4379
4412
|
//#endregion
|
|
4380
4413
|
//#region src/components/FileUpload/FileUploadFileList.d.ts
|
|
4381
|
-
type Props$
|
|
4414
|
+
type Props$134 = {
|
|
4382
4415
|
files: File[];
|
|
4383
4416
|
onRemove?: (file: File, index: number) => void;
|
|
4384
4417
|
/**
|
|
@@ -4391,7 +4424,7 @@ type Props$135 = {
|
|
|
4391
4424
|
* Selected-files list. Caller owns the `files` array — pass it back into the list and handle
|
|
4392
4425
|
* removal via `onRemove`.
|
|
4393
4426
|
*/
|
|
4394
|
-
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$
|
|
4427
|
+
declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...rest }: Props$134) => import("react/jsx-runtime").JSX.Element | null;
|
|
4395
4428
|
//#endregion
|
|
4396
4429
|
//#region src/components/FileUpload/FileUpload.d.ts
|
|
4397
4430
|
/**
|
|
@@ -4399,7 +4432,7 @@ declare const FileUploadFileList: ({ files, onRemove, invalid, className, ...res
|
|
|
4399
4432
|
* list — the caller owns the selected `File[]` and updates it from `onFilesChange`.
|
|
4400
4433
|
* `FileUpload` only signals drop events; it does not store the file array.
|
|
4401
4434
|
*/
|
|
4402
|
-
type Props$
|
|
4435
|
+
type Props$133 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
4403
4436
|
/** Storybook-only: force a visual state without simulating real drag events. */
|
|
4404
4437
|
forcedState?: 'idle' | 'dragging' | 'error';
|
|
4405
4438
|
children: ReactNode;
|
|
@@ -4418,18 +4451,18 @@ type Props$134 = Omit<FileDropTargetOptions, 'noClick' | 'noKeyboard'> & {
|
|
|
4418
4451
|
* for the selected-files list. The caller stores the `File[]` and renders it back into `FileList`.
|
|
4419
4452
|
* Rejection copy is the caller's — read it with `useFileUploadRejections()`.
|
|
4420
4453
|
*/
|
|
4421
|
-
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$
|
|
4454
|
+
declare const FileUploadInner: ({ accept, maxSize, maxFiles, multiple, disabled, onFilesChange, onFilesRejected, forcedState, children, className, ...rest }: Props$133) => import("react/jsx-runtime").JSX.Element;
|
|
4422
4455
|
declare const FileUpload: typeof FileUploadInner & {
|
|
4423
4456
|
DropZone: typeof FileUploadDropZone;
|
|
4424
4457
|
FileList: typeof FileUploadFileList;
|
|
4425
4458
|
};
|
|
4426
4459
|
//#endregion
|
|
4427
4460
|
//#region src/blocks/FormGroup/FormGroupColorInput.d.ts
|
|
4428
|
-
type Props$
|
|
4429
|
-
declare const FormGroupColorInput: ({ ref, ...props }: Props$
|
|
4461
|
+
type Props$132 = Omit<ComponentProps<typeof ColorInput>, 'state'>;
|
|
4462
|
+
declare const FormGroupColorInput: ({ ref, ...props }: Props$132) => import("react/jsx-runtime").JSX.Element;
|
|
4430
4463
|
//#endregion
|
|
4431
4464
|
//#region src/blocks/FormGroup/FormGroupError.d.ts
|
|
4432
|
-
type Props$
|
|
4465
|
+
type Props$131 = ComponentPropsWithRef<'div'> & {
|
|
4433
4466
|
/**
|
|
4434
4467
|
* Field validation errors. TanStack Form errors are strings (function validators) or
|
|
4435
4468
|
* `{ message }` objects (Standard Schema / zod). A single message renders inline; several
|
|
@@ -4445,30 +4478,30 @@ type Props$132 = ComponentPropsWithRef<'div'> & {
|
|
|
4445
4478
|
* field (e.g. surfaced on submit). Renders a `<div>` (not `<p>`) so multiple errors can render
|
|
4446
4479
|
* as a `<ul>`.
|
|
4447
4480
|
*/
|
|
4448
|
-
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$
|
|
4481
|
+
declare const FormGroupError: ({ children, className, errors, ...rest }: Props$131) => import("react/jsx-runtime").JSX.Element | null;
|
|
4449
4482
|
//#endregion
|
|
4450
4483
|
//#region src/components/HelpBlock/HelpBlock.d.ts
|
|
4451
4484
|
declare const helpVariants: (props?: ({
|
|
4452
4485
|
state?: "default" | "warning" | null | undefined;
|
|
4453
4486
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4454
|
-
type Props$
|
|
4455
|
-
declare const HelpBlock: ({ children, className, state, ...rest }: Props$
|
|
4487
|
+
type Props$130 = ComponentPropsWithRef<'p'> & VariantProps<typeof helpVariants>;
|
|
4488
|
+
declare const HelpBlock: ({ children, className, state, ...rest }: Props$130) => import("react/jsx-runtime").JSX.Element | null;
|
|
4456
4489
|
//#endregion
|
|
4457
4490
|
//#region src/blocks/FormGroup/FormGroupHelp.d.ts
|
|
4458
|
-
type Props$
|
|
4459
|
-
declare const FormGroupHelp: ({ children, ...rest }: Props$
|
|
4491
|
+
type Props$129 = Omit<ComponentProps<typeof HelpBlock>, 'state'>;
|
|
4492
|
+
declare const FormGroupHelp: ({ children, ...rest }: Props$129) => import("react/jsx-runtime").JSX.Element;
|
|
4460
4493
|
//#endregion
|
|
4461
4494
|
//#region src/blocks/FormGroup/FormGroupNumberInput.d.ts
|
|
4462
|
-
type Props$
|
|
4463
|
-
declare const FormGroupNumberInput: ({ ref, ...props }: Props$
|
|
4495
|
+
type Props$128 = Omit<ComponentProps<typeof NumberInput>, 'state'>;
|
|
4496
|
+
declare const FormGroupNumberInput: ({ ref, ...props }: Props$128) => import("react/jsx-runtime").JSX.Element;
|
|
4464
4497
|
//#endregion
|
|
4465
4498
|
//#region src/blocks/FormGroup/FormGroupTextarea.d.ts
|
|
4466
|
-
type Props$
|
|
4467
|
-
declare const FormGroupTextarea: (props: Props$
|
|
4499
|
+
type Props$127 = Omit<ComponentProps<typeof Textarea>, 'state'>;
|
|
4500
|
+
declare const FormGroupTextarea: (props: Props$127) => import("react/jsx-runtime").JSX.Element;
|
|
4468
4501
|
//#endregion
|
|
4469
4502
|
//#region src/blocks/FormGroup/FormGroupTextInput.d.ts
|
|
4470
|
-
type Props$
|
|
4471
|
-
declare const FormGroupTextInput: ({ ref, ...props }: Props$
|
|
4503
|
+
type Props$126 = Omit<ComponentProps<typeof TextInput>, 'state'>;
|
|
4504
|
+
declare const FormGroupTextInput: ({ ref, ...props }: Props$126) => import("react/jsx-runtime").JSX.Element;
|
|
4472
4505
|
//#endregion
|
|
4473
4506
|
//#region src/blocks/FormGroup/types.d.ts
|
|
4474
4507
|
type ValidityState = 'default' | 'error' | 'warning';
|
|
@@ -4508,13 +4541,13 @@ declare const AnswerSummary: ({ items, variant, noAnswerLabel }: Props) => impor
|
|
|
4508
4541
|
//#endregion
|
|
4509
4542
|
//#region src/blocks/AIKit/CollapsibleStepHeader.d.ts
|
|
4510
4543
|
type Variant$5 = 'success' | 'error' | 'processing' | 'dismissed';
|
|
4511
|
-
type Props$
|
|
4544
|
+
type Props$125 = {
|
|
4512
4545
|
isExpanded: boolean;
|
|
4513
4546
|
onToggle: () => void;
|
|
4514
4547
|
label: ReactNode;
|
|
4515
4548
|
variant?: Variant$5;
|
|
4516
4549
|
};
|
|
4517
|
-
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$
|
|
4550
|
+
declare const CollapsibleStepHeader: ({ isExpanded, onToggle, label, variant }: Props$125) => import("react/jsx-runtime").JSX.Element;
|
|
4518
4551
|
//#endregion
|
|
4519
4552
|
//#region src/blocks/AIKit/InlineStepDetail.d.ts
|
|
4520
4553
|
type Props$1 = {
|
|
@@ -4531,7 +4564,7 @@ type Props$2 = {
|
|
|
4531
4564
|
declare const InlineStepLabel: ({ variant, children }: Props$2) => import("react/jsx-runtime").JSX.Element;
|
|
4532
4565
|
//#endregion
|
|
4533
4566
|
//#region src/blocks/AIKit/Markdown.d.ts
|
|
4534
|
-
type Props$
|
|
4567
|
+
type Props$124 = {
|
|
4535
4568
|
/** Markdown source (GFM: tables, task lists, strikethrough, autolinks). Tables
|
|
4536
4569
|
* render through the design `Table`; fenced ```mermaid blocks render via
|
|
4537
4570
|
* `MermaidDiagram`; other fenced blocks get a hover copy button. */
|
|
@@ -4543,10 +4576,10 @@ type Props$125 = {
|
|
|
4543
4576
|
* `MessageBubble` to render an assistant message body. Code blocks expose a
|
|
4544
4577
|
* copy button, so mount a `TooltipProvider` once at the app root.
|
|
4545
4578
|
*/
|
|
4546
|
-
declare const Markdown: ({ children, className }: Props$
|
|
4579
|
+
declare const Markdown: ({ children, className }: Props$124) => import("react/jsx-runtime").JSX.Element;
|
|
4547
4580
|
//#endregion
|
|
4548
4581
|
//#region src/components/Avatar.d.ts
|
|
4549
|
-
type Props$
|
|
4582
|
+
type Props$123 = {
|
|
4550
4583
|
user?: {
|
|
4551
4584
|
name: string | undefined;
|
|
4552
4585
|
email: string | undefined;
|
|
@@ -4556,16 +4589,16 @@ type Props$124 = {
|
|
|
4556
4589
|
size?: number;
|
|
4557
4590
|
variant?: 'circle' | 'rounded';
|
|
4558
4591
|
} & ComponentProps<'span'>;
|
|
4559
|
-
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$
|
|
4592
|
+
declare const Avatar: ({ ref, user, fallback, size, className, variant, ...props }: Props$123) => import("react/jsx-runtime").JSX.Element;
|
|
4560
4593
|
//#endregion
|
|
4561
4594
|
//#region src/blocks/AIKit/MessageBubble.d.ts
|
|
4562
|
-
type Props$
|
|
4595
|
+
type Props$122 = {
|
|
4563
4596
|
variant: 'user' | 'assistant';
|
|
4564
4597
|
user?: ComponentProps<typeof Avatar>['user'];
|
|
4565
4598
|
actions?: ReactNode;
|
|
4566
4599
|
createdAt?: string;
|
|
4567
4600
|
} & PropsWithChildren;
|
|
4568
|
-
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$
|
|
4601
|
+
declare const MessageBubble: ({ variant, children, user, actions, createdAt }: Props$122) => import("react/jsx-runtime").JSX.Element;
|
|
4569
4602
|
//#endregion
|
|
4570
4603
|
//#region src/blocks/AIKit/PlanApproval.d.ts
|
|
4571
4604
|
type PlanApprovalStatus = 'pending' | 'approved' | 'dismissed' | 'changes-requested';
|
|
@@ -4609,8 +4642,8 @@ type PlanRewritingIndicatorProps = {
|
|
|
4609
4642
|
declare const PlanRewritingIndicator: ({ label }: PlanRewritingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
4610
4643
|
//#endregion
|
|
4611
4644
|
//#region src/blocks/AIKit/PromptInputAction.d.ts
|
|
4612
|
-
type Props$
|
|
4613
|
-
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$
|
|
4645
|
+
type Props$121 = ComponentProps<'button'>;
|
|
4646
|
+
declare const PromptInputAction: ({ ref, onMouseDown, ...rest }: Props$121) => import("react/jsx-runtime").JSX.Element;
|
|
4614
4647
|
//#endregion
|
|
4615
4648
|
//#region src/blocks/AIKit/PromptInputCommands.d.ts
|
|
4616
4649
|
type PromptCommand = {
|
|
@@ -4623,16 +4656,16 @@ type PromptCommand = {
|
|
|
4623
4656
|
//#endregion
|
|
4624
4657
|
//#region src/blocks/AIKit/PromptInputSubmit.d.ts
|
|
4625
4658
|
type SubmitStatus = 'submitted' | 'ready' | 'streaming' | 'interrupted';
|
|
4626
|
-
type Props$
|
|
4659
|
+
type Props$120 = Pick<ComponentProps<typeof Button>, 'disabled' | 'ref'> & {
|
|
4627
4660
|
status?: SubmitStatus;
|
|
4628
4661
|
};
|
|
4629
|
-
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$
|
|
4662
|
+
declare const PromptInputSubmit: ({ ref, disabled, status }: Props$120) => import("react/jsx-runtime").JSX.Element;
|
|
4630
4663
|
//#endregion
|
|
4631
4664
|
//#region src/blocks/AIKit/PromptInput.d.ts
|
|
4632
4665
|
declare const promptInputVariants: (props?: ({
|
|
4633
4666
|
variant?: "default" | "inline" | null | undefined;
|
|
4634
4667
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4635
|
-
type Props$
|
|
4668
|
+
type Props$119 = {
|
|
4636
4669
|
onSend?: (value: string) => void;
|
|
4637
4670
|
onAbort?: () => void;
|
|
4638
4671
|
onContinue?: () => void;
|
|
@@ -4645,7 +4678,7 @@ type Props$120 = {
|
|
|
4645
4678
|
disableSubmit?: boolean;
|
|
4646
4679
|
commands?: PromptCommand[];
|
|
4647
4680
|
} & VariantProps<typeof promptInputVariants> & Pick<ComponentProps<typeof TextareaAutosize>, 'placeholder' | 'minRows' | 'maxRows' | 'disabled' | 'defaultValue' | 'autoFocus'> & ComponentProps<typeof PromptInputSubmit>;
|
|
4648
|
-
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$
|
|
4681
|
+
declare function PromptInput({ onSend, onAbort, onContinue, prefix, variant, suffix, disabled, disableSubmit, value, onValueChange, status, maxRows, minRows, commands, ...textareaProps }: Props$119): import("react/jsx-runtime").JSX.Element;
|
|
4649
4682
|
declare namespace PromptInput {
|
|
4650
4683
|
export { PromptInputAction as Action };
|
|
4651
4684
|
}
|
|
@@ -4706,14 +4739,14 @@ type Props$4 = {
|
|
|
4706
4739
|
declare const QuestionBlock: ({ steps, showSkip, onSubmit, onClose, renderPreview, className }: Props$4) => import("react/jsx-runtime").JSX.Element;
|
|
4707
4740
|
//#endregion
|
|
4708
4741
|
//#region src/blocks/AIKit/SuggestedPrompt.d.ts
|
|
4709
|
-
type Props$
|
|
4742
|
+
type Props$118 = {
|
|
4710
4743
|
label: string;
|
|
4711
4744
|
disabled?: boolean;
|
|
4712
4745
|
onClick: () => void;
|
|
4713
4746
|
icon?: ReactNode;
|
|
4714
4747
|
className?: string;
|
|
4715
4748
|
};
|
|
4716
|
-
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$
|
|
4749
|
+
declare const SuggestedPrompt: ({ label, disabled, onClick, icon, className }: Props$118) => import("react/jsx-runtime").JSX.Element;
|
|
4717
4750
|
//#endregion
|
|
4718
4751
|
//#region src/blocks/AIKit/ThinkingIndicator.d.ts
|
|
4719
4752
|
type ThinkingIndicatorProps = {
|
|
@@ -4776,7 +4809,7 @@ type ToolCallChipProps = {
|
|
|
4776
4809
|
declare const ToolCallChip: ({ label, state, icon, trailing, onClick, className }: ToolCallChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
4777
4810
|
//#endregion
|
|
4778
4811
|
//#region src/blocks/AIKit/UsageStats.d.ts
|
|
4779
|
-
type Props$
|
|
4812
|
+
type Props$117 = {
|
|
4780
4813
|
value: number;
|
|
4781
4814
|
alert?: boolean;
|
|
4782
4815
|
children: ReactNode;
|
|
@@ -4790,23 +4823,23 @@ type Props$118 = {
|
|
|
4790
4823
|
side?: ComponentProps<typeof HoverCard.Content>['side'];
|
|
4791
4824
|
sideOffset?: ComponentProps<typeof HoverCard.Content>['sideOffset'];
|
|
4792
4825
|
};
|
|
4793
|
-
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset }: Props$
|
|
4826
|
+
declare const UsageStats: ({ value, alert, children, className, ariaLabel, align, side, sideOffset }: Props$117) => import("react/jsx-runtime").JSX.Element;
|
|
4794
4827
|
//#endregion
|
|
4795
4828
|
//#region src/blocks/AIKit/UsageStatsRing.d.ts
|
|
4796
|
-
type Props$
|
|
4829
|
+
type Props$116 = {
|
|
4797
4830
|
value: number;
|
|
4798
4831
|
size?: number;
|
|
4799
4832
|
strokeWidth?: number;
|
|
4800
4833
|
className?: string;
|
|
4801
4834
|
};
|
|
4802
|
-
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$
|
|
4835
|
+
declare const UsageStatsRing: ({ value, size, strokeWidth, className }: Props$116) => import("react/jsx-runtime").JSX.Element;
|
|
4803
4836
|
//#endregion
|
|
4804
4837
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
4805
|
-
type Props$
|
|
4806
|
-
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$
|
|
4838
|
+
type Props$115 = ComponentProps<typeof Content$5>;
|
|
4839
|
+
declare const CollapsibleContent: ({ ref, className, children, ...props }: Props$115) => import("react/jsx-runtime").JSX.Element;
|
|
4807
4840
|
//#endregion
|
|
4808
4841
|
//#region src/components/Collapsible/CollapsibleTrigger.d.ts
|
|
4809
|
-
type Props$
|
|
4842
|
+
type Props$114 = ComponentProps<typeof CollapsibleTrigger>;
|
|
4810
4843
|
/**
|
|
4811
4844
|
* A `Collapsible` toggle.
|
|
4812
4845
|
*
|
|
@@ -4814,11 +4847,11 @@ type Props$115 = ComponentProps<typeof CollapsibleTrigger>;
|
|
|
4814
4847
|
* reset is opt-in, so without it a host app without a global reset gets UA button chrome.
|
|
4815
4848
|
* - Under `asChild` the class lands on a design component that already declares it — harmless.
|
|
4816
4849
|
*/
|
|
4817
|
-
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$
|
|
4850
|
+
declare const CollapsibleTrigger$1: ({ ref, className, children, ...props }: Props$114) => import("react/jsx-runtime").JSX.Element;
|
|
4818
4851
|
//#endregion
|
|
4819
4852
|
//#region src/components/Collapsible/Collapsible.d.ts
|
|
4820
|
-
type Props$
|
|
4821
|
-
declare function Collapsible(props: Props$
|
|
4853
|
+
type Props$113 = ComponentProps<typeof Root$13>;
|
|
4854
|
+
declare function Collapsible(props: Props$113): import("react/jsx-runtime").JSX.Element;
|
|
4822
4855
|
declare namespace Collapsible {
|
|
4823
4856
|
export { CollapsibleTrigger$1 as Trigger };
|
|
4824
4857
|
export { CollapsibleContent as Content };
|
|
@@ -4826,10 +4859,10 @@ declare namespace Collapsible {
|
|
|
4826
4859
|
//#endregion
|
|
4827
4860
|
//#region src/components/Alert/AlertRoot.d.ts
|
|
4828
4861
|
type Variant$4 = 'info' | 'warning' | 'error' | 'success';
|
|
4829
|
-
type Props$
|
|
4862
|
+
type Props$112 = {
|
|
4830
4863
|
variant?: Variant$4;
|
|
4831
4864
|
} & ComponentProps<'div'>;
|
|
4832
|
-
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$
|
|
4865
|
+
declare const AlertRoot: ({ ref, children, className, variant, ...rest }: Props$112) => import("react/jsx-runtime").JSX.Element;
|
|
4833
4866
|
//#endregion
|
|
4834
4867
|
//#region src/components/Alert/Alert.d.ts
|
|
4835
4868
|
type CommonProps = {
|
|
@@ -4853,7 +4886,7 @@ type DefaultProps = {
|
|
|
4853
4886
|
* `"collapsible"` requires `title` + `children` (no `actions`) and renders a collapsible disclosure.
|
|
4854
4887
|
* `variant` (`info` | `success` | `warning` | `error`) is a categorical colour contract.
|
|
4855
4888
|
*/
|
|
4856
|
-
type Props$
|
|
4889
|
+
type Props$111 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
4857
4890
|
/**
|
|
4858
4891
|
* Persistent inline banner for contextual messages tied to the page layout.
|
|
4859
4892
|
*
|
|
@@ -4867,14 +4900,14 @@ type Props$112 = CommonProps & (CollapsibleProps | DefaultProps);
|
|
|
4867
4900
|
*
|
|
4868
4901
|
* @see RECIPES.md#alert-with-action — for action-bearing alert composition
|
|
4869
4902
|
*/
|
|
4870
|
-
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$
|
|
4903
|
+
declare const Alert: ({ title, variant, children, hideIcon, icon, className, actions, mode, defaultOpen, open: openProp, onOpenChange: onOpenChangeProp, ...rest }: Props$111) => import("react/jsx-runtime").JSX.Element;
|
|
4871
4904
|
//#endregion
|
|
4872
4905
|
//#region src/components/Toast/ToastRoot.d.ts
|
|
4873
4906
|
declare const variants$4: (props?: ({
|
|
4874
4907
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
4875
4908
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4876
4909
|
type Variants = VariantProps<typeof variants$4>;
|
|
4877
|
-
type Props$
|
|
4910
|
+
type Props$110 = {
|
|
4878
4911
|
id: string | number;
|
|
4879
4912
|
title: ReactNode;
|
|
4880
4913
|
icon?: ReactNode;
|
|
@@ -4883,7 +4916,7 @@ type Props$111 = {
|
|
|
4883
4916
|
loading?: boolean;
|
|
4884
4917
|
duration?: number;
|
|
4885
4918
|
} & Variants;
|
|
4886
|
-
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$
|
|
4919
|
+
declare const ToastRoot: ({ id, title, description, action, duration, variant, loading, icon: iconProp }: Props$110) => import("react/jsx-runtime").JSX.Element;
|
|
4887
4920
|
//#endregion
|
|
4888
4921
|
//#region src/components/Toast/toast.d.ts
|
|
4889
4922
|
type ToastProps = ComponentProps<typeof ToastRoot>;
|
|
@@ -4906,7 +4939,7 @@ declare namespace toast {
|
|
|
4906
4939
|
}
|
|
4907
4940
|
//#endregion
|
|
4908
4941
|
//#region src/components/Toast/useNotification.d.ts
|
|
4909
|
-
type Props$
|
|
4942
|
+
type Props$109 = {
|
|
4910
4943
|
enabled?: boolean;
|
|
4911
4944
|
} & Parameters<typeof toast>[0];
|
|
4912
4945
|
/**
|
|
@@ -4919,25 +4952,25 @@ type Props$110 = {
|
|
|
4919
4952
|
* Use `toast()` for transient feedback after a user action
|
|
4920
4953
|
* (e.g., "Saved", "Copied", "Deleted") that auto-dismisses after a few seconds.
|
|
4921
4954
|
*/
|
|
4922
|
-
declare const useNotification: ({ enabled, ...toastOptions }: Props$
|
|
4955
|
+
declare const useNotification: ({ enabled, ...toastOptions }: Props$109) => void;
|
|
4923
4956
|
//#endregion
|
|
4924
4957
|
//#region src/components/Toast/Toaster.d.ts
|
|
4925
4958
|
type ToasterProps = ComponentProps<typeof Toaster$1>;
|
|
4926
4959
|
declare const Toaster: ({ gap, visibleToasts, ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4927
4960
|
//#endregion
|
|
4928
4961
|
//#region src/components/EmptySearchContent.d.ts
|
|
4929
|
-
type Props$
|
|
4962
|
+
type Props$108 = {
|
|
4930
4963
|
children?: ReactNode;
|
|
4931
4964
|
};
|
|
4932
|
-
declare const EmptySearchContent: ({ children }: Props$
|
|
4965
|
+
declare const EmptySearchContent: ({ children }: Props$108) => import("react/jsx-runtime").JSX.Element;
|
|
4933
4966
|
//#endregion
|
|
4934
4967
|
//#region src/blocks/EmptyConfigurationActionCard/EmptyConfigurationActionCard.d.ts
|
|
4935
|
-
type Props$
|
|
4968
|
+
type Props$107 = {
|
|
4936
4969
|
title: string;
|
|
4937
4970
|
children: ReactNode;
|
|
4938
4971
|
className?: string;
|
|
4939
4972
|
};
|
|
4940
|
-
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$
|
|
4973
|
+
declare const EmptyConfigurationActionCard: ({ title, children, className }: Props$107) => import("react/jsx-runtime").JSX.Element;
|
|
4941
4974
|
//#endregion
|
|
4942
4975
|
//#region src/blocks/EmptyState/EmptyState.d.ts
|
|
4943
4976
|
declare const emptyStateClassnames: (props?: ({
|
|
@@ -5087,11 +5120,11 @@ declare const variants$3: (props?: ({
|
|
|
5087
5120
|
variant?: "default" | "success" | null | undefined;
|
|
5088
5121
|
size?: "lg" | "sm" | null | undefined;
|
|
5089
5122
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5090
|
-
type Props$
|
|
5091
|
-
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$
|
|
5123
|
+
type Props$106 = ComponentProps<typeof Root$12> & VariantProps<typeof variants$3>;
|
|
5124
|
+
declare const Progress: ({ ref, className, value, variant, size, ...props }: Props$106) => import("react/jsx-runtime").JSX.Element;
|
|
5092
5125
|
//#endregion
|
|
5093
5126
|
//#region src/components/CollapsiblePanel.d.ts
|
|
5094
|
-
type Props$
|
|
5127
|
+
type Props$105 = {
|
|
5095
5128
|
header: ReactNode;
|
|
5096
5129
|
isDisabled?: boolean;
|
|
5097
5130
|
defaultExpanded?: boolean;
|
|
@@ -5103,17 +5136,17 @@ type Props$106 = {
|
|
|
5103
5136
|
variant?: 'default' | 'white';
|
|
5104
5137
|
children: ReactNode;
|
|
5105
5138
|
};
|
|
5106
|
-
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$
|
|
5139
|
+
declare const CollapsiblePanel: ({ header, className, bodyClassName, headerClassName, defaultExpanded, isDisabled, children, isOpen, onToggle, variant }: Props$105) => import("react/jsx-runtime").JSX.Element;
|
|
5107
5140
|
//#endregion
|
|
5108
5141
|
//#region src/components/PanelWithDetails.d.ts
|
|
5109
|
-
type Props$
|
|
5142
|
+
type Props$104 = PropsWithChildren<{
|
|
5110
5143
|
defaultExpanded?: boolean;
|
|
5111
5144
|
labelCollapse?: ReactNode;
|
|
5112
5145
|
labelOpen?: ReactNode;
|
|
5113
5146
|
placement?: 'top' | 'bottom';
|
|
5114
5147
|
className?: string;
|
|
5115
5148
|
}>;
|
|
5116
|
-
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$
|
|
5149
|
+
declare const PanelWithDetails: ({ defaultExpanded, labelCollapse, labelOpen, placement, children }: Props$104) => import("react/jsx-runtime").JSX.Element;
|
|
5117
5150
|
//#endregion
|
|
5118
5151
|
//#region src/blocks/AppShell/types.d.ts
|
|
5119
5152
|
/**
|
|
@@ -5510,7 +5543,7 @@ type SectionNavItemRenderProps = {
|
|
|
5510
5543
|
};
|
|
5511
5544
|
//#endregion
|
|
5512
5545
|
//#region src/blocks/SectionNav/SectionNav.d.ts
|
|
5513
|
-
type Props$
|
|
5546
|
+
type Props$103 = {
|
|
5514
5547
|
/**
|
|
5515
5548
|
* The sections to show, already filtered. Visibility, permissions and feature flags stay in the
|
|
5516
5549
|
* app — this block renders exactly what it is handed, in order.
|
|
@@ -5562,10 +5595,10 @@ type Props$104 = {
|
|
|
5562
5595
|
*
|
|
5563
5596
|
* @see RECIPES.md#section-nav
|
|
5564
5597
|
*/
|
|
5565
|
-
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$
|
|
5598
|
+
declare const SectionNav: ({ groups, activeId, renderItem, showDescriptions, label, className }: Props$103) => import("react/jsx-runtime").JSX.Element;
|
|
5566
5599
|
//#endregion
|
|
5567
5600
|
//#region src/components/BrandLogo/BrandLogo.d.ts
|
|
5568
|
-
type Props$
|
|
5601
|
+
type Props$102 = {
|
|
5569
5602
|
/** `wordmark` (default, full logo) or `mark` (square icon); each falls back to the other. */
|
|
5570
5603
|
variant?: 'mark' | 'wordmark';
|
|
5571
5604
|
/** Sets the logo height; aspect ratio is preserved (e.g. `tw:h-7`). */
|
|
@@ -5575,7 +5608,7 @@ type Props$103 = {
|
|
|
5575
5608
|
* Renders the active brand's logo from the nearest `<ThemeProvider>`, or `null`
|
|
5576
5609
|
* if the brand ships none. Inline SVG inherits `currentColor`; URLs use `<img>`.
|
|
5577
5610
|
*/
|
|
5578
|
-
declare const BrandLogo: ({ variant, className }: Props$
|
|
5611
|
+
declare const BrandLogo: ({ variant, className }: Props$102) => import("react/jsx-runtime").JSX.Element | null;
|
|
5579
5612
|
//#endregion
|
|
5580
5613
|
//#region src/components/Resizable/ResizableHandle.d.ts
|
|
5581
5614
|
declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof Separator$1>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5584,13 +5617,13 @@ declare const ResizableHandle: ({ className, ...props }: ComponentProps<typeof S
|
|
|
5584
5617
|
declare const ResizablePanelGroup: ({ className, orientation, ...props }: ComponentProps<typeof Group$1>) => import("react/jsx-runtime").JSX.Element;
|
|
5585
5618
|
//#endregion
|
|
5586
5619
|
//#region src/components/Sidebar/SidebarContent.d.ts
|
|
5587
|
-
type Props$
|
|
5620
|
+
type Props$101 = {
|
|
5588
5621
|
className?: string;
|
|
5589
5622
|
children?: ReactNode;
|
|
5590
5623
|
contentRef?: ComponentProps<'div'>['ref'];
|
|
5591
5624
|
ref?: ComponentProps<'div'>['ref'];
|
|
5592
5625
|
};
|
|
5593
|
-
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$
|
|
5626
|
+
declare const SidebarContent: ({ ref, className, children, contentRef }: Props$101) => import("react/jsx-runtime").JSX.Element;
|
|
5594
5627
|
//#endregion
|
|
5595
5628
|
//#region src/components/Sidebar/types.d.ts
|
|
5596
5629
|
type SidebarMode = 'expanded' | 'collapsed' | 'expand-on-hover';
|
|
@@ -5600,102 +5633,102 @@ type SidebarCollapsible = 'icon' | 'off-canvas';
|
|
|
5600
5633
|
type SidebarVariant = 'sided-floating' | 'inset' | 'floating' | 'none';
|
|
5601
5634
|
//#endregion
|
|
5602
5635
|
//#region src/components/Sidebar/SidebarFillTrigger.d.ts
|
|
5603
|
-
type Props$
|
|
5636
|
+
type Props$100 = ComponentProps<typeof Slot$1> & {
|
|
5604
5637
|
side?: SidebarSide;
|
|
5605
5638
|
};
|
|
5606
|
-
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$
|
|
5639
|
+
declare const SidebarFillTrigger: ({ ref, side, onClick, ...rest }: Props$100) => import("react/jsx-runtime").JSX.Element;
|
|
5607
5640
|
//#endregion
|
|
5608
5641
|
//#region src/components/Sidebar/SidebarFooter.d.ts
|
|
5609
|
-
type Props$
|
|
5610
|
-
declare const SidebarFooter: ({ className, ...props }: Props$
|
|
5642
|
+
type Props$99 = ComponentProps<'div'>;
|
|
5643
|
+
declare const SidebarFooter: ({ className, ...props }: Props$99) => import("react/jsx-runtime").JSX.Element;
|
|
5611
5644
|
//#endregion
|
|
5612
5645
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroup.d.ts
|
|
5613
|
-
type Props$
|
|
5614
|
-
declare const SidebarGroup: ({ className, ...props }: Props$
|
|
5646
|
+
type Props$98 = ComponentProps<'div'>;
|
|
5647
|
+
declare const SidebarGroup: ({ className, ...props }: Props$98) => import("react/jsx-runtime").JSX.Element;
|
|
5615
5648
|
//#endregion
|
|
5616
5649
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupContent.d.ts
|
|
5617
|
-
type Props$
|
|
5618
|
-
declare const SidebarGroupContent: ({ className, ...props }: Props$
|
|
5650
|
+
type Props$97 = ComponentProps<'div'>;
|
|
5651
|
+
declare const SidebarGroupContent: ({ className, ...props }: Props$97) => import("react/jsx-runtime").JSX.Element;
|
|
5619
5652
|
//#endregion
|
|
5620
5653
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupAction.d.ts
|
|
5621
|
-
type Props$
|
|
5622
|
-
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$
|
|
5654
|
+
type Props$96 = ComponentProps<'button'>;
|
|
5655
|
+
declare const SidebarGroupAction: ({ ref, className, type, children, ...props }: Props$96) => import("react/jsx-runtime").JSX.Element;
|
|
5623
5656
|
//#endregion
|
|
5624
5657
|
//#region src/components/Sidebar/SidebarGroup/SidebarGroupLabel.d.ts
|
|
5625
|
-
type Props$
|
|
5626
|
-
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$
|
|
5658
|
+
type Props$95 = ComponentProps<'div'>;
|
|
5659
|
+
declare const SidebarGroupLabel: ({ ref, className, children, ...props }: Props$95 & {
|
|
5627
5660
|
ref?: Ref<HTMLDivElement>;
|
|
5628
5661
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5629
5662
|
//#endregion
|
|
5630
5663
|
//#region src/components/Sidebar/SidebarHeader.d.ts
|
|
5631
|
-
type Props$
|
|
5632
|
-
declare const SidebarHeader: ({ className, children, ...props }: Props$
|
|
5664
|
+
type Props$94 = ComponentProps<'div'>;
|
|
5665
|
+
declare const SidebarHeader: ({ className, children, ...props }: Props$94) => import("react/jsx-runtime").JSX.Element;
|
|
5633
5666
|
//#endregion
|
|
5634
5667
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenu.d.ts
|
|
5635
|
-
type Props$
|
|
5636
|
-
declare const SidebarMenu: ({ className, ...props }: Props$
|
|
5668
|
+
type Props$93 = ComponentProps<'ul'>;
|
|
5669
|
+
declare const SidebarMenu: ({ className, ...props }: Props$93) => import("react/jsx-runtime").JSX.Element;
|
|
5637
5670
|
//#endregion
|
|
5638
5671
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuButton.d.ts
|
|
5639
|
-
type Props$
|
|
5672
|
+
type Props$92 = ComponentProps<'button'> & {
|
|
5640
5673
|
asChild?: boolean;
|
|
5641
5674
|
tooltip?: ReactNode;
|
|
5642
5675
|
icon?: ReactNode;
|
|
5643
5676
|
};
|
|
5644
|
-
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, ...props }: Props$
|
|
5677
|
+
declare const SidebarMenuButton: ({ ref, 'aria-selected': selected, className, children, asChild, icon, tooltip, ...props }: Props$92 & {
|
|
5645
5678
|
ref?: Ref<HTMLButtonElement>;
|
|
5646
5679
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
5647
5680
|
//#endregion
|
|
5648
5681
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuItem.d.ts
|
|
5649
|
-
type Props$
|
|
5650
|
-
declare const SidebarMenuItem: ({ className, ...props }: Props$
|
|
5682
|
+
type Props$91 = ComponentProps<'li'>;
|
|
5683
|
+
declare const SidebarMenuItem: ({ className, ...props }: Props$91) => import("react/jsx-runtime").JSX.Element;
|
|
5651
5684
|
//#endregion
|
|
5652
5685
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuIcon.d.ts
|
|
5653
|
-
type Props$
|
|
5654
|
-
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$
|
|
5686
|
+
type Props$90 = ComponentProps<'span'>;
|
|
5687
|
+
declare const SidebarMenuIcon: ({ ref, className, children, ...rest }: Props$90) => import("react/jsx-runtime").JSX.Element;
|
|
5655
5688
|
//#endregion
|
|
5656
5689
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuAction.d.ts
|
|
5657
|
-
type Props$
|
|
5690
|
+
type Props$89 = ComponentProps<'button'> & {
|
|
5658
5691
|
asChild?: boolean;
|
|
5659
5692
|
showOnHover?: boolean;
|
|
5660
5693
|
};
|
|
5661
|
-
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$
|
|
5694
|
+
declare const SidebarMenuAction: ({ ref, className, asChild, showOnHover, children, ...props }: Props$89) => import("react/jsx-runtime").JSX.Element;
|
|
5662
5695
|
//#endregion
|
|
5663
5696
|
//#region src/components/Sidebar/SidebarMenu/SidebarSearchInput.d.ts
|
|
5664
|
-
type Props$
|
|
5665
|
-
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$
|
|
5697
|
+
type Props$88 = Omit<ComponentProps<'input'>, 'prefix'>;
|
|
5698
|
+
declare const SidebarSearchInput: ({ ref: forwardedRef, className, ...inputProps }: Props$88) => import("react/jsx-runtime").JSX.Element;
|
|
5666
5699
|
//#endregion
|
|
5667
5700
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuCard.d.ts
|
|
5668
|
-
type Props$
|
|
5701
|
+
type Props$87 = HTMLAttributes<HTMLDivElement> & {
|
|
5669
5702
|
icon: ReactNode;
|
|
5670
5703
|
title: ReactNode;
|
|
5671
5704
|
};
|
|
5672
|
-
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$
|
|
5705
|
+
declare const SidebarMenuCard: ({ children, className, icon, title, ...rest }: Props$87) => import("react/jsx-runtime").JSX.Element;
|
|
5673
5706
|
//#endregion
|
|
5674
5707
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuBadge.d.ts
|
|
5675
|
-
type Props$
|
|
5676
|
-
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$
|
|
5708
|
+
type Props$86 = ComponentProps<'div'>;
|
|
5709
|
+
declare const SidebarMenuBadge: ({ ref, className, ...props }: Props$86) => import("react/jsx-runtime").JSX.Element;
|
|
5677
5710
|
//#endregion
|
|
5678
5711
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSub.d.ts
|
|
5679
|
-
type Props$
|
|
5712
|
+
type Props$85 = {
|
|
5680
5713
|
children: ReactNode;
|
|
5681
5714
|
icon: ReactNode;
|
|
5682
5715
|
isActive?: boolean;
|
|
5683
5716
|
label: string;
|
|
5684
5717
|
} & Pick<ComponentProps<typeof Collapsible>, 'defaultOpen' | 'open' | 'onOpenChange'>;
|
|
5685
|
-
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$
|
|
5718
|
+
declare const SidebarMenuSub: ({ children, icon, isActive, label, defaultOpen, open: openProp, onOpenChange }: Props$85) => import("react/jsx-runtime").JSX.Element;
|
|
5686
5719
|
//#endregion
|
|
5687
5720
|
//#region src/components/Sidebar/SidebarMenu/SidebarMenuSubItem.d.ts
|
|
5688
|
-
type Props$
|
|
5721
|
+
type Props$84 = ComponentProps<'button'> & {
|
|
5689
5722
|
asChild?: boolean;
|
|
5690
5723
|
};
|
|
5691
|
-
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, 'aria-current': ariaCurrent, ...props }: Props$
|
|
5724
|
+
declare const SidebarMenuSubItem: ({ ref, className, asChild, children, disabled, 'aria-current': ariaCurrent, ...props }: Props$84) => import("react/jsx-runtime").JSX.Element;
|
|
5692
5725
|
//#endregion
|
|
5693
5726
|
//#region src/components/Separator/Separator.d.ts
|
|
5694
5727
|
declare const separatorVariants: (props?: ({
|
|
5695
5728
|
size?: "1/2" | "3/4" | "full" | null | undefined;
|
|
5696
5729
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
5697
5730
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5698
|
-
type Props$
|
|
5731
|
+
type Props$83 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typeof RSeparator.Root>, 'decorative'> & {
|
|
5699
5732
|
/**
|
|
5700
5733
|
* Optional label rendered centered between two line segments
|
|
5701
5734
|
* (typical "OR" divider). Implies `orientation="horizontal"`.
|
|
@@ -5703,21 +5736,21 @@ type Props$84 = VariantProps<typeof separatorVariants> & Omit<ComponentProps<typ
|
|
|
5703
5736
|
*/
|
|
5704
5737
|
label?: ReactNode;
|
|
5705
5738
|
};
|
|
5706
|
-
declare const Separator: ({ className, orientation, size, label, ...props }: Props$
|
|
5739
|
+
declare const Separator: ({ className, orientation, size, label, ...props }: Props$83) => import("react/jsx-runtime").JSX.Element;
|
|
5707
5740
|
//#endregion
|
|
5708
5741
|
//#region src/components/Sidebar/SidebarSeparator.d.ts
|
|
5709
|
-
type Props$
|
|
5710
|
-
declare const SidebarSeparator: ({ className, ...props }: Props$
|
|
5742
|
+
type Props$82 = Omit<ComponentProps<typeof Separator>, 'orientation' | 'size'>;
|
|
5743
|
+
declare const SidebarSeparator: ({ className, ...props }: Props$82) => import("react/jsx-runtime").JSX.Element;
|
|
5711
5744
|
//#endregion
|
|
5712
5745
|
//#region src/components/Sidebar/SidebarTrigger.d.ts
|
|
5713
|
-
type Props$
|
|
5746
|
+
type Props$81 = ComponentProps<typeof Slot$1> & {
|
|
5714
5747
|
side?: SidebarSide;
|
|
5715
5748
|
hideWhenCollapsed?: boolean;
|
|
5716
5749
|
};
|
|
5717
|
-
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$
|
|
5750
|
+
declare const SidebarTrigger: ({ side, onClick, hideWhenCollapsed, className, ...rest }: Props$81) => import("react/jsx-runtime").JSX.Element;
|
|
5718
5751
|
//#endregion
|
|
5719
5752
|
//#region src/components/Sidebar/Sidebar.d.ts
|
|
5720
|
-
type Props$
|
|
5753
|
+
type Props$80 = {
|
|
5721
5754
|
children: ReactNode;
|
|
5722
5755
|
className?: string;
|
|
5723
5756
|
id?: string;
|
|
@@ -5727,7 +5760,7 @@ type Props$81 = {
|
|
|
5727
5760
|
keepMounted?: boolean;
|
|
5728
5761
|
resizable?: boolean;
|
|
5729
5762
|
};
|
|
5730
|
-
declare function Sidebar({ children, className, id, side, style, container, keepMounted, resizable }: Props$
|
|
5763
|
+
declare function Sidebar({ children, className, id, side, style, container, keepMounted, resizable }: Props$80): import("react/jsx-runtime").JSX.Element | null;
|
|
5731
5764
|
declare namespace Sidebar {
|
|
5732
5765
|
export { SidebarHeader as Header };
|
|
5733
5766
|
export { SidebarContent as Content };
|
|
@@ -5752,7 +5785,7 @@ declare namespace Sidebar {
|
|
|
5752
5785
|
}
|
|
5753
5786
|
//#endregion
|
|
5754
5787
|
//#region src/components/Sidebar/SidebarProvider/SidebarProvider.d.ts
|
|
5755
|
-
type Props$
|
|
5788
|
+
type Props$79 = {
|
|
5756
5789
|
children?: ReactNode;
|
|
5757
5790
|
defaultLeftMode?: SidebarMode;
|
|
5758
5791
|
leftMode?: SidebarMode;
|
|
@@ -5770,7 +5803,7 @@ type Props$80 = {
|
|
|
5770
5803
|
onRightWidthChange?: (width: number) => void;
|
|
5771
5804
|
defaultFilledSide?: SidebarSide | null;
|
|
5772
5805
|
};
|
|
5773
|
-
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$
|
|
5806
|
+
declare const SidebarProvider: ({ children, defaultLeftMode, leftMode, onLeftModeChange, defaultRightMode, rightMode, onRightModeChange, leftCollapsible, leftVariant, leftWidth, rightCollapsible, rightVariant, rightWidth, onLeftWidthChange, onRightWidthChange, defaultFilledSide }: Props$79) => import("react/jsx-runtime").JSX.Element;
|
|
5774
5807
|
//#endregion
|
|
5775
5808
|
//#region src/components/Sidebar/utils.d.ts
|
|
5776
5809
|
type Input = {
|
|
@@ -5788,12 +5821,12 @@ type EffectiveWidths = {
|
|
|
5788
5821
|
declare const calcEffectiveWidths: ({ variant, width: customWidth, collapsible, state, mode }: Input) => EffectiveWidths;
|
|
5789
5822
|
//#endregion
|
|
5790
5823
|
//#region src/components/Sidebar/SidebarProvider/useSidebarState.d.ts
|
|
5791
|
-
type Props$
|
|
5824
|
+
type Props$78 = {
|
|
5792
5825
|
defaultMode?: SidebarMode;
|
|
5793
5826
|
mode?: SidebarMode;
|
|
5794
5827
|
onModeChange?: (state: SidebarMode) => void;
|
|
5795
5828
|
};
|
|
5796
|
-
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$
|
|
5829
|
+
declare const useSidebarState: ({ defaultMode, mode: modeProp, onModeChange }: Props$78) => {
|
|
5797
5830
|
isHovered: boolean;
|
|
5798
5831
|
toggle: () => void;
|
|
5799
5832
|
setMode: (dispatch: Parameters<import("react").Dispatch<import("react").SetStateAction<"collapsed" | "expand-on-hover" | "expanded">>>[0]) => void;
|
|
@@ -5827,66 +5860,66 @@ declare const useOptionalSidebar: (side?: SidebarSide) => SidebarSideValue | nul
|
|
|
5827
5860
|
declare const useSidebar: (side?: SidebarSide) => SidebarSideValue;
|
|
5828
5861
|
//#endregion
|
|
5829
5862
|
//#region src/components/Navbar/NavbarContent.d.ts
|
|
5830
|
-
type Props$
|
|
5863
|
+
type Props$77 = {
|
|
5831
5864
|
className?: string;
|
|
5832
5865
|
children?: ReactNode;
|
|
5833
5866
|
};
|
|
5834
|
-
declare const NavbarContent: ({ children, className }: Props$
|
|
5867
|
+
declare const NavbarContent: ({ children, className }: Props$77) => import("react/jsx-runtime").JSX.Element;
|
|
5835
5868
|
//#endregion
|
|
5836
5869
|
//#region src/components/Navbar/NavbarFooter.d.ts
|
|
5837
|
-
type Props$
|
|
5838
|
-
declare const NavbarFooter: ({ children, className, ...rest }: Props$
|
|
5870
|
+
type Props$76 = ComponentProps<'div'>;
|
|
5871
|
+
declare const NavbarFooter: ({ children, className, ...rest }: Props$76) => import("react/jsx-runtime").JSX.Element;
|
|
5839
5872
|
//#endregion
|
|
5840
5873
|
//#region src/components/Navbar/NavbarHeader.d.ts
|
|
5841
|
-
type Props$
|
|
5842
|
-
declare const NavbarHeader: ({ children, className, ...rest }: Props$
|
|
5874
|
+
type Props$75 = ComponentProps<'div'>;
|
|
5875
|
+
declare const NavbarHeader: ({ children, className, ...rest }: Props$75) => import("react/jsx-runtime").JSX.Element;
|
|
5843
5876
|
//#endregion
|
|
5844
5877
|
//#region src/components/Navbar/NavbarMenu.d.ts
|
|
5845
5878
|
declare const variants$2: (props?: ({
|
|
5846
5879
|
marker?: "forward-slash" | "none" | null | undefined;
|
|
5847
5880
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5848
|
-
type Props$
|
|
5849
|
-
declare const NavbarMenu: ({ className, marker, ...rest }: Props$
|
|
5881
|
+
type Props$74 = ComponentProps<'ul'> & VariantProps<typeof variants$2>;
|
|
5882
|
+
declare const NavbarMenu: ({ className, marker, ...rest }: Props$74) => import("react/jsx-runtime").JSX.Element;
|
|
5850
5883
|
//#endregion
|
|
5851
5884
|
//#region src/components/Navbar/NavbarMenuAvatar.d.ts
|
|
5852
|
-
type Props$
|
|
5885
|
+
type Props$73 = ComponentProps<'button'> & {
|
|
5853
5886
|
src?: string;
|
|
5854
5887
|
alt?: string;
|
|
5855
5888
|
};
|
|
5856
|
-
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$
|
|
5889
|
+
declare const NavbarMenuAvatar: ({ ref, className, type, src, alt, ...rest }: Props$73) => import("react/jsx-runtime").JSX.Element;
|
|
5857
5890
|
//#endregion
|
|
5858
5891
|
//#region src/components/Navbar/NavbarMenuButton.d.ts
|
|
5859
5892
|
declare const variants$1: (props?: ({
|
|
5860
5893
|
variant?: "default" | "emphasized" | "icon" | "search" | null | undefined;
|
|
5861
5894
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5862
|
-
type Props$
|
|
5895
|
+
type Props$72 = ComponentProps<'button'> & {
|
|
5863
5896
|
/** Optional leading-icon slot. Pass a Lucide icon node to render an adornment before children. */
|
|
5864
5897
|
icon?: ReactNode;
|
|
5865
5898
|
asChild?: boolean;
|
|
5866
5899
|
} & VariantProps<typeof variants$1>;
|
|
5867
|
-
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$
|
|
5900
|
+
declare const NavbarMenuButton: ({ ref, className, type, children, icon, asChild, variant, ...rest }: Props$72) => import("react/jsx-runtime").JSX.Element;
|
|
5868
5901
|
//#endregion
|
|
5869
5902
|
//#region src/components/Navbar/NavbarMenuItem.d.ts
|
|
5870
|
-
type Props$
|
|
5871
|
-
declare const NavbarMenuItem: ({ className, ...rest }: Props$
|
|
5903
|
+
type Props$71 = ComponentProps<'li'>;
|
|
5904
|
+
declare const NavbarMenuItem: ({ className, ...rest }: Props$71) => import("react/jsx-runtime").JSX.Element;
|
|
5872
5905
|
//#endregion
|
|
5873
5906
|
//#region src/components/Navbar/NavbarMenuItemAdornment.d.ts
|
|
5874
5907
|
declare const variants: (props?: ({
|
|
5875
5908
|
variant?: "icon" | "icon-accent" | "icon-accent-emphasized" | "icon-button" | "icon-emphasized" | "shortcut" | null | undefined;
|
|
5876
5909
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5877
|
-
type Props$
|
|
5910
|
+
type Props$70 = {
|
|
5878
5911
|
asChild?: boolean;
|
|
5879
5912
|
} & ComponentProps<'span'> & VariantProps<typeof variants>;
|
|
5880
|
-
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$
|
|
5913
|
+
declare const NavbarMenuItemAdornment: ({ ref, asChild, className, variant, ...props }: Props$70) => import("react/jsx-runtime").JSX.Element;
|
|
5881
5914
|
//#endregion
|
|
5882
5915
|
//#region src/components/Navbar/Navbar.d.ts
|
|
5883
5916
|
declare const navbarClassnames: (props?: ({
|
|
5884
5917
|
bordered?: boolean | null | undefined;
|
|
5885
5918
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5886
|
-
type Props$
|
|
5919
|
+
type Props$69 = ComponentProps<'nav'> & VariantProps<typeof navbarClassnames> & {
|
|
5887
5920
|
accent?: 'blue' | 'purple' | 'green' | 'orange';
|
|
5888
5921
|
};
|
|
5889
|
-
declare function Navbar({ className, accent, bordered, ...rest }: Props$
|
|
5922
|
+
declare function Navbar({ className, accent, bordered, ...rest }: Props$69): import("react/jsx-runtime").JSX.Element;
|
|
5890
5923
|
declare namespace Navbar {
|
|
5891
5924
|
export { NavbarHeader as Header };
|
|
5892
5925
|
export { NavbarFooter as Footer };
|
|
@@ -5932,20 +5965,20 @@ type WorkbenchContextValue = WorkbenchActions & {
|
|
|
5932
5965
|
declare const useWorkbench: () => WorkbenchContextValue;
|
|
5933
5966
|
//#endregion
|
|
5934
5967
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarEnd.d.ts
|
|
5935
|
-
type Props$
|
|
5936
|
-
declare const WorkbenchBarEnd: ({ className, ...props }: Props$
|
|
5968
|
+
type Props$68 = ComponentProps<'div'>;
|
|
5969
|
+
declare const WorkbenchBarEnd: ({ className, ...props }: Props$68) => import("react/jsx-runtime").JSX.Element;
|
|
5937
5970
|
//#endregion
|
|
5938
5971
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarMiddle.d.ts
|
|
5939
|
-
type Props$
|
|
5940
|
-
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$
|
|
5972
|
+
type Props$67 = ComponentProps<'div'>;
|
|
5973
|
+
declare const WorkbenchBarMiddle: ({ className, ...props }: Props$67) => import("react/jsx-runtime").JSX.Element;
|
|
5941
5974
|
//#endregion
|
|
5942
5975
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBarStart.d.ts
|
|
5943
|
-
type Props$
|
|
5944
|
-
declare const WorkbenchBarStart: ({ className, ...props }: Props$
|
|
5976
|
+
type Props$66 = ComponentProps<'div'>;
|
|
5977
|
+
declare const WorkbenchBarStart: ({ className, ...props }: Props$66) => import("react/jsx-runtime").JSX.Element;
|
|
5945
5978
|
//#endregion
|
|
5946
5979
|
//#region src/components/Workbench/WorkbenchBar/WorkbenchBar.d.ts
|
|
5947
|
-
type Props$
|
|
5948
|
-
declare function WorkbenchBar({ className, children, ...props }: Props$
|
|
5980
|
+
type Props$65 = ComponentProps<'div'>;
|
|
5981
|
+
declare function WorkbenchBar({ className, children, ...props }: Props$65): import("react/jsx-runtime").JSX.Element;
|
|
5949
5982
|
declare namespace WorkbenchBar {
|
|
5950
5983
|
export { WorkbenchBarStart as Start };
|
|
5951
5984
|
export { WorkbenchBarMiddle as Middle };
|
|
@@ -5953,35 +5986,35 @@ declare namespace WorkbenchBar {
|
|
|
5953
5986
|
}
|
|
5954
5987
|
//#endregion
|
|
5955
5988
|
//#region src/components/Workbench/WorkbenchFullScreenTrigger.d.ts
|
|
5956
|
-
type Props$
|
|
5989
|
+
type Props$64 = ComponentProps<'button'> & {
|
|
5957
5990
|
asChild?: boolean;
|
|
5958
5991
|
};
|
|
5959
|
-
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$
|
|
5992
|
+
declare const WorkbenchFullScreenTrigger: ({ asChild, onClick, ...props }: Props$64) => import("react/jsx-runtime").JSX.Element;
|
|
5960
5993
|
//#endregion
|
|
5961
5994
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanel.d.ts
|
|
5962
|
-
type Props$
|
|
5963
|
-
declare const WorkbenchPanel: ({ className, children, ...props }: Props$
|
|
5995
|
+
type Props$63 = ComponentProps<'div'>;
|
|
5996
|
+
declare const WorkbenchPanel: ({ className, children, ...props }: Props$63) => import("react/jsx-runtime").JSX.Element;
|
|
5964
5997
|
//#endregion
|
|
5965
5998
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelActions.d.ts
|
|
5966
|
-
type Props$
|
|
5999
|
+
type Props$62 = ComponentProps<'div'> & {
|
|
5967
6000
|
asChild?: boolean;
|
|
5968
6001
|
};
|
|
5969
|
-
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$
|
|
6002
|
+
declare const WorkbenchPanelActions: ({ className, asChild, ...props }: Props$62) => import("react/jsx-runtime").JSX.Element;
|
|
5970
6003
|
//#endregion
|
|
5971
6004
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelContent.d.ts
|
|
5972
|
-
type Props$
|
|
5973
|
-
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$
|
|
6005
|
+
type Props$61 = ComponentProps<'div'>;
|
|
6006
|
+
declare const WorkbenchPanelContent: ({ className, children, ...props }: Props$61) => import("react/jsx-runtime").JSX.Element;
|
|
5974
6007
|
//#endregion
|
|
5975
6008
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelHeader.d.ts
|
|
5976
|
-
type Props$
|
|
5977
|
-
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$
|
|
6009
|
+
type Props$60 = ComponentProps<'div'>;
|
|
6010
|
+
declare const WorkbenchPanelHeader: ({ className, children, ...props }: Props$60) => import("react/jsx-runtime").JSX.Element;
|
|
5978
6011
|
//#endregion
|
|
5979
6012
|
//#region src/components/Workbench/WorkbenchPanel/WorkbenchPanelTitle.d.ts
|
|
5980
|
-
type Props$
|
|
5981
|
-
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$
|
|
6013
|
+
type Props$59 = ComponentProps<'div'>;
|
|
6014
|
+
declare const WorkbenchPanelTitle: ({ className, ...props }: Props$59) => import("react/jsx-runtime").JSX.Element;
|
|
5982
6015
|
//#endregion
|
|
5983
6016
|
//#region src/components/Workbench/Workbench.d.ts
|
|
5984
|
-
type Props$
|
|
6017
|
+
type Props$58 = {
|
|
5985
6018
|
className?: string;
|
|
5986
6019
|
children: ReactNode;
|
|
5987
6020
|
state?: WorkbenchState;
|
|
@@ -5992,7 +6025,7 @@ type Props$59 = {
|
|
|
5992
6025
|
defaultPanelHeight?: number;
|
|
5993
6026
|
onPanelHeightChange?: (panelHeight: number) => void;
|
|
5994
6027
|
};
|
|
5995
|
-
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$
|
|
6028
|
+
declare function Workbench({ className, children, state: stateProp, defaultState, onStateChange, barHeight, panelHeight: panelHeightProp, defaultPanelHeight, onPanelHeightChange }: Props$58): import("react/jsx-runtime").JSX.Element;
|
|
5996
6029
|
declare namespace Workbench {
|
|
5997
6030
|
export { WorkbenchBar as Bar };
|
|
5998
6031
|
export { WorkbenchBarStart as BarStart };
|
|
@@ -6117,34 +6150,34 @@ declare namespace BreadcrumbDropdown {
|
|
|
6117
6150
|
}
|
|
6118
6151
|
//#endregion
|
|
6119
6152
|
//#region src/components/Breadcrumb/BreadcrumbEllipsis.d.ts
|
|
6120
|
-
type Props$
|
|
6121
|
-
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$
|
|
6153
|
+
type Props$57 = ComponentProps<'button'>;
|
|
6154
|
+
declare const BreadcrumbEllipsis: ({ ref, className, ...props }: Props$57) => import("react/jsx-runtime").JSX.Element;
|
|
6122
6155
|
//#endregion
|
|
6123
6156
|
//#region src/components/Breadcrumb/BreadcrumbItem.d.ts
|
|
6124
|
-
type Props$
|
|
6125
|
-
declare const BreadcrumbItem: ({ className, ...props }: Props$
|
|
6157
|
+
type Props$56 = ComponentProps<'li'>;
|
|
6158
|
+
declare const BreadcrumbItem: ({ className, ...props }: Props$56) => import("react/jsx-runtime").JSX.Element;
|
|
6126
6159
|
//#endregion
|
|
6127
6160
|
//#region src/components/Breadcrumb/BreadcrumbLink.d.ts
|
|
6128
|
-
type Props$
|
|
6161
|
+
type Props$55 = ComponentProps<'a'> & {
|
|
6129
6162
|
asChild?: boolean;
|
|
6130
6163
|
};
|
|
6131
|
-
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$
|
|
6164
|
+
declare const BreadcrumbLink: ({ ref, asChild, className, ...props }: Props$55) => import("react/jsx-runtime").JSX.Element;
|
|
6132
6165
|
//#endregion
|
|
6133
6166
|
//#region src/components/Breadcrumb/BreadcrumbList.d.ts
|
|
6134
|
-
type Props$
|
|
6135
|
-
declare const BreadcrumbList: ({ className, ...props }: Props$
|
|
6167
|
+
type Props$54 = ComponentProps<'ol'>;
|
|
6168
|
+
declare const BreadcrumbList: ({ className, ...props }: Props$54) => import("react/jsx-runtime").JSX.Element;
|
|
6136
6169
|
//#endregion
|
|
6137
6170
|
//#region src/components/Breadcrumb/BreadcrumbPage.d.ts
|
|
6138
|
-
type Props$
|
|
6139
|
-
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$
|
|
6171
|
+
type Props$53 = ComponentProps<'span'>;
|
|
6172
|
+
declare const BreadcrumbPage: ({ ref, className, ...props }: Props$53) => import("react/jsx-runtime").JSX.Element;
|
|
6140
6173
|
//#endregion
|
|
6141
6174
|
//#region src/components/Breadcrumb/BreadcrumbSeparator.d.ts
|
|
6142
|
-
type Props$
|
|
6143
|
-
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$
|
|
6175
|
+
type Props$52 = ComponentProps<'li'>;
|
|
6176
|
+
declare const BreadcrumbSeparator: ({ children, className, ...props }: Props$52) => import("react/jsx-runtime").JSX.Element;
|
|
6144
6177
|
//#endregion
|
|
6145
6178
|
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
6146
|
-
type Props$
|
|
6147
|
-
declare function Breadcrumb({ className, ...props }: Props$
|
|
6179
|
+
type Props$51 = ComponentProps<'nav'>;
|
|
6180
|
+
declare function Breadcrumb({ className, ...props }: Props$51): import("react/jsx-runtime").JSX.Element;
|
|
6148
6181
|
declare namespace Breadcrumb {
|
|
6149
6182
|
export { BreadcrumbList as List };
|
|
6150
6183
|
export { BreadcrumbItem as Item };
|
|
@@ -6161,7 +6194,7 @@ type Trigger<T extends string> = {
|
|
|
6161
6194
|
title: ReactNode;
|
|
6162
6195
|
onClose?: (value: T) => void;
|
|
6163
6196
|
} & Omit<RadixTabs.TabsTriggerProps, 'title' | 'asChild'>;
|
|
6164
|
-
type Props$
|
|
6197
|
+
type Props$50<T extends string> = {
|
|
6165
6198
|
triggers: readonly Trigger<T>[];
|
|
6166
6199
|
compact?: boolean;
|
|
6167
6200
|
children: ReactNode;
|
|
@@ -6172,7 +6205,7 @@ type Props$51<T extends string> = {
|
|
|
6172
6205
|
triggerClassName?: string;
|
|
6173
6206
|
triggerGroupClassName?: string;
|
|
6174
6207
|
} & Omit<RadixTabs.TabsProps, 'onValueChange'>;
|
|
6175
|
-
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$
|
|
6208
|
+
declare const Tabs: <T extends string>({ triggers, compact, children, defaultValue, onValueChange, rootClassName, listClassName, triggerClassName, triggerGroupClassName, ...rest }: Props$50<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6176
6209
|
//#endregion
|
|
6177
6210
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
6178
6211
|
declare const TabsContent: (props: RadixTabs.TabsContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6188,7 +6221,7 @@ declare const STEP_STATUS: {
|
|
|
6188
6221
|
type StepStatus = (typeof STEP_STATUS)[keyof typeof STEP_STATUS];
|
|
6189
6222
|
//#endregion
|
|
6190
6223
|
//#region src/components/Stepper/StepperStep.d.ts
|
|
6191
|
-
type Props$
|
|
6224
|
+
type Props$49 = {
|
|
6192
6225
|
/** Visual state of the step. Drives indicator + connector colour. Defaults to `'upcoming'`. */
|
|
6193
6226
|
status?: StepStatus;
|
|
6194
6227
|
children: ReactNode;
|
|
@@ -6200,23 +6233,23 @@ type Props$50 = {
|
|
|
6200
6233
|
*
|
|
6201
6234
|
* Set `Stepper`'s `onStepClick` prop to make every step a button; otherwise the Step renders as `<div>`.
|
|
6202
6235
|
*/
|
|
6203
|
-
declare const StepperStep: ({ status, children, className, ...props }: Props$
|
|
6236
|
+
declare const StepperStep: ({ status, children, className, ...props }: Props$49) => import("react/jsx-runtime").JSX.Element;
|
|
6204
6237
|
//#endregion
|
|
6205
6238
|
//#region src/components/Stepper/StepperStepConnector.d.ts
|
|
6206
|
-
type Props$
|
|
6239
|
+
type Props$48 = ComponentProps<'span'>;
|
|
6207
6240
|
/**
|
|
6208
6241
|
* Visual line between two steps. Internal — `Stepper` renders connectors automatically between
|
|
6209
6242
|
* adjacent `Stepper.Step`s. Connector colour follows the preceding step's status.
|
|
6210
6243
|
*/
|
|
6211
|
-
declare const StepperStepConnector: ({ className, ...props }: Props$
|
|
6244
|
+
declare const StepperStepConnector: ({ className, ...props }: Props$48) => import("react/jsx-runtime").JSX.Element;
|
|
6212
6245
|
//#endregion
|
|
6213
6246
|
//#region src/components/Stepper/StepperStepDescription.d.ts
|
|
6214
|
-
type Props$
|
|
6247
|
+
type Props$47 = ComponentProps<'span'>;
|
|
6215
6248
|
/** Optional secondary text below the step label. */
|
|
6216
|
-
declare const StepperStepDescription: ({ className, ...props }: Props$
|
|
6249
|
+
declare const StepperStepDescription: ({ className, ...props }: Props$47) => import("react/jsx-runtime").JSX.Element;
|
|
6217
6250
|
//#endregion
|
|
6218
6251
|
//#region src/components/Stepper/StepperStepIndicator.d.ts
|
|
6219
|
-
type Props$
|
|
6252
|
+
type Props$46 = {
|
|
6220
6253
|
/** Override the default content. By default renders Check for complete, X for error, step number otherwise. */
|
|
6221
6254
|
children?: ReactNode;
|
|
6222
6255
|
} & ComponentProps<'span'>;
|
|
@@ -6224,12 +6257,12 @@ type Props$47 = {
|
|
|
6224
6257
|
* Circular indicator slot. Renders the status icon (Check / X) or the step number automatically based on
|
|
6225
6258
|
* the parent `Stepper.Step` status. Pass `children` to override.
|
|
6226
6259
|
*/
|
|
6227
|
-
declare const StepperStepIndicator: ({ children, className, ...props }: Props$
|
|
6260
|
+
declare const StepperStepIndicator: ({ children, className, ...props }: Props$46) => import("react/jsx-runtime").JSX.Element;
|
|
6228
6261
|
//#endregion
|
|
6229
6262
|
//#region src/components/Stepper/StepperStepLabel.d.ts
|
|
6230
|
-
type Props$
|
|
6263
|
+
type Props$45 = ComponentProps<'span'>;
|
|
6231
6264
|
/** Step title — short label describing the step (e.g. "Account", "Payment"). */
|
|
6232
|
-
declare const StepperStepLabel: ({ className, ...props }: Props$
|
|
6265
|
+
declare const StepperStepLabel: ({ className, ...props }: Props$45) => import("react/jsx-runtime").JSX.Element;
|
|
6233
6266
|
//#endregion
|
|
6234
6267
|
//#region src/components/Stepper/styles.d.ts
|
|
6235
6268
|
declare const stepperVariants: (props?: ({
|
|
@@ -6237,7 +6270,7 @@ declare const stepperVariants: (props?: ({
|
|
|
6237
6270
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6238
6271
|
//#endregion
|
|
6239
6272
|
//#region src/components/Stepper/Stepper.d.ts
|
|
6240
|
-
type Props$
|
|
6273
|
+
type Props$44 = {
|
|
6241
6274
|
/** Layout direction. Defaults to `horizontal`. */
|
|
6242
6275
|
orientation?: StepperOrientation;
|
|
6243
6276
|
/**
|
|
@@ -6247,7 +6280,7 @@ type Props$45 = {
|
|
|
6247
6280
|
onStepClick?: (index: number) => void;
|
|
6248
6281
|
children: ReactNode;
|
|
6249
6282
|
} & Omit<ComponentProps<'ol'>, 'children'> & VariantProps<typeof stepperVariants>;
|
|
6250
|
-
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$
|
|
6283
|
+
declare function Stepper({ orientation, onStepClick, children, className, ...props }: Props$44): import("react/jsx-runtime").JSX.Element;
|
|
6251
6284
|
declare namespace Stepper {
|
|
6252
6285
|
export { StepperStep as Step };
|
|
6253
6286
|
export { StepperStepIndicator as StepIndicator };
|
|
@@ -6257,15 +6290,15 @@ declare namespace Stepper {
|
|
|
6257
6290
|
}
|
|
6258
6291
|
//#endregion
|
|
6259
6292
|
//#region src/components/Card/CardContent.d.ts
|
|
6260
|
-
type Props$
|
|
6293
|
+
type Props$43 = HTMLAttributes<HTMLDivElement> & {
|
|
6261
6294
|
/** Applies the standard body padding. Use with `Card padding="none"`, where the
|
|
6262
6295
|
* root adds none — otherwise the padding is doubled. */
|
|
6263
6296
|
padded?: boolean;
|
|
6264
6297
|
};
|
|
6265
|
-
declare const CardContent: ({ children, className, padded, ...rest }: Props$
|
|
6298
|
+
declare const CardContent: ({ children, className, padded, ...rest }: Props$43) => import("react/jsx-runtime").JSX.Element;
|
|
6266
6299
|
//#endregion
|
|
6267
6300
|
//#region src/components/Card/CardHeader.d.ts
|
|
6268
|
-
type Props$
|
|
6301
|
+
type Props$42 = HTMLAttributes<HTMLDivElement> & {
|
|
6269
6302
|
/** Adds a bottom rule, the header's own padding, and a 64px height floor so the
|
|
6270
6303
|
* band stays the same height with or without an action button. The rule spans the
|
|
6271
6304
|
* full card width — pair with `Card padding="none"`; on a padded root it is inset. */
|
|
@@ -6276,16 +6309,16 @@ type Props$43 = HTMLAttributes<HTMLDivElement> & {
|
|
|
6276
6309
|
* under the title. */
|
|
6277
6310
|
layout?: 'row' | 'inline' | 'stack';
|
|
6278
6311
|
};
|
|
6279
|
-
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$
|
|
6312
|
+
declare const CardHeader: ({ children, className, divider, layout, ...rest }: Props$42) => import("react/jsx-runtime").JSX.Element;
|
|
6280
6313
|
//#endregion
|
|
6281
6314
|
//#region src/components/Card/CardTitle.d.ts
|
|
6282
6315
|
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
6283
|
-
type Props$
|
|
6316
|
+
type Props$41 = HTMLAttributes<HTMLHeadingElement> & {
|
|
6284
6317
|
/** Heading tag to render. Defaults to `h3`; set explicitly to avoid a heading-order skip
|
|
6285
6318
|
* (e.g. `as="h2"` when the Card sits directly under a page's `h1`). */
|
|
6286
6319
|
as?: HeadingLevel;
|
|
6287
6320
|
};
|
|
6288
|
-
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$
|
|
6321
|
+
declare const CardTitle: ({ children, className, as: Tag, ...rest }: Props$41) => import("react/jsx-runtime").JSX.Element;
|
|
6289
6322
|
//#endregion
|
|
6290
6323
|
//#region src/components/Card/styles.d.ts
|
|
6291
6324
|
declare const cardClassnames: (props?: ({
|
|
@@ -6294,8 +6327,8 @@ declare const cardClassnames: (props?: ({
|
|
|
6294
6327
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6295
6328
|
//#endregion
|
|
6296
6329
|
//#region src/components/Card/Card.d.ts
|
|
6297
|
-
type Props$
|
|
6298
|
-
declare function Card({ children, className, bordered, padding, ...rest }: Props$
|
|
6330
|
+
type Props$40 = HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardClassnames>;
|
|
6331
|
+
declare function Card({ children, className, bordered, padding, ...rest }: Props$40): import("react/jsx-runtime").JSX.Element;
|
|
6299
6332
|
declare namespace Card {
|
|
6300
6333
|
export { CardHeader as Header };
|
|
6301
6334
|
export { CardContent as Content };
|
|
@@ -6328,7 +6361,7 @@ declare const TableRow: ({ ref, className, ...props }: ComponentProps<'tr'>) =>
|
|
|
6328
6361
|
type TableSortDirection = 'asc' | 'desc' | false;
|
|
6329
6362
|
/** Maps a sort direction to the `aria-sort` value for the enclosing `Table.Head`. */
|
|
6330
6363
|
declare const tableAriaSort: (sorted: TableSortDirection) => ComponentProps<'th'>['aria-sort'];
|
|
6331
|
-
type Props$
|
|
6364
|
+
type Props$39 = {
|
|
6332
6365
|
/** Current sort state for this column: `'asc'`, `'desc'`, or `false` when unsorted. */
|
|
6333
6366
|
sorted: TableSortDirection;
|
|
6334
6367
|
children: ReactNode;
|
|
@@ -6340,19 +6373,19 @@ type Props$40 = {
|
|
|
6340
6373
|
* key/direction pair, or `@tanstack/react-table`'s `getToggleSortingHandler()` / `getIsSorted()`)
|
|
6341
6374
|
* and set `aria-sort` on the enclosing `Table.Head` via {@link tableAriaSort}.
|
|
6342
6375
|
*/
|
|
6343
|
-
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$
|
|
6376
|
+
declare const TableSortHeader: ({ sorted, children, className, ...props }: Props$39) => import("react/jsx-runtime").JSX.Element;
|
|
6344
6377
|
//#endregion
|
|
6345
6378
|
//#region src/components/Table/Table.d.ts
|
|
6346
6379
|
/**
|
|
6347
6380
|
* Props for `Table`. `borderCollapsed` toggles standard collapsed borders vs separate row spacing;
|
|
6348
6381
|
* `bordered` wraps the table in a rounded bordered container with overflow scrolling.
|
|
6349
6382
|
*/
|
|
6350
|
-
type Props$
|
|
6383
|
+
type Props$38 = {
|
|
6351
6384
|
borderCollapsed?: boolean;
|
|
6352
6385
|
bordered?: boolean;
|
|
6353
6386
|
containerClassName?: string;
|
|
6354
6387
|
} & ComponentProps<'table'>;
|
|
6355
|
-
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$
|
|
6388
|
+
declare function Table({ borderCollapsed, bordered, containerClassName, className, ...props }: Props$38): import("react/jsx-runtime").JSX.Element;
|
|
6356
6389
|
declare namespace Table {
|
|
6357
6390
|
export { TableHeader as Header };
|
|
6358
6391
|
export { TableHead as Head };
|
|
@@ -6370,25 +6403,25 @@ declare const connectorWrapper: (props?: ({
|
|
|
6370
6403
|
declare const connector: (props?: ({
|
|
6371
6404
|
variant?: "icon" | "label" | "line" | "none" | null | undefined;
|
|
6372
6405
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6373
|
-
type Props$
|
|
6406
|
+
type Props$37 = {
|
|
6374
6407
|
asChild?: boolean;
|
|
6375
6408
|
offset?: number;
|
|
6376
6409
|
} & ComponentProps<'div'> & VariantProps<typeof connectorWrapper> & VariantProps<typeof connector>;
|
|
6377
|
-
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$
|
|
6410
|
+
declare const TimelineConnector: ({ className, children, asChild, variant, align, offset, style, ...rest }: Props$37) => import("react/jsx-runtime").JSX.Element;
|
|
6378
6411
|
//#endregion
|
|
6379
6412
|
//#region src/components/Timeline/TimelineContent.d.ts
|
|
6380
|
-
type Props$
|
|
6381
|
-
declare const TimelineContent: ({ className, ...rest }: Props$
|
|
6413
|
+
type Props$36 = ComponentProps<'div'>;
|
|
6414
|
+
declare const TimelineContent: ({ className, ...rest }: Props$36) => import("react/jsx-runtime").JSX.Element;
|
|
6382
6415
|
//#endregion
|
|
6383
6416
|
//#region src/components/Timeline/TimelineItem.d.ts
|
|
6384
|
-
type Props$
|
|
6385
|
-
declare const TimelineItem: ({ className, ...rest }: Props$
|
|
6417
|
+
type Props$35 = ComponentProps<'li'>;
|
|
6418
|
+
declare const TimelineItem: ({ className, ...rest }: Props$35) => import("react/jsx-runtime").JSX.Element;
|
|
6386
6419
|
//#endregion
|
|
6387
6420
|
//#region src/components/Timeline/Timeline.d.ts
|
|
6388
|
-
type Props$
|
|
6421
|
+
type Props$34 = ComponentProps<'ul'> & {
|
|
6389
6422
|
variant?: 'solid' | 'dashed';
|
|
6390
6423
|
};
|
|
6391
|
-
declare function Timeline({ className, variant, ...rest }: Props$
|
|
6424
|
+
declare function Timeline({ className, variant, ...rest }: Props$34): import("react/jsx-runtime").JSX.Element;
|
|
6392
6425
|
declare namespace Timeline {
|
|
6393
6426
|
export { TimelineItem as Item };
|
|
6394
6427
|
export { TimelineContent as Content };
|
|
@@ -6396,7 +6429,7 @@ declare namespace Timeline {
|
|
|
6396
6429
|
}
|
|
6397
6430
|
//#endregion
|
|
6398
6431
|
//#region src/components/Truncated.d.ts
|
|
6399
|
-
type Props$
|
|
6432
|
+
type Props$33 = {
|
|
6400
6433
|
text: ReactNode;
|
|
6401
6434
|
tooltip?: ReactNode;
|
|
6402
6435
|
twoLines?: boolean;
|
|
@@ -6404,26 +6437,26 @@ type Props$34 = {
|
|
|
6404
6437
|
tooltipVariant?: Props$7['variant'];
|
|
6405
6438
|
tooltipPlacement?: Props$7['placement'];
|
|
6406
6439
|
} & Omit<ComponentProps<'span'>, 'children'>;
|
|
6407
|
-
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$
|
|
6440
|
+
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$33) => import("react/jsx-runtime").JSX.Element;
|
|
6408
6441
|
//#endregion
|
|
6409
6442
|
//#region src/components/MarkedText/MarkedText.d.ts
|
|
6410
|
-
type Props$
|
|
6443
|
+
type Props$32 = {
|
|
6411
6444
|
source: string;
|
|
6412
6445
|
className?: string;
|
|
6413
6446
|
mark?: string;
|
|
6414
6447
|
isCaseSensitive?: boolean;
|
|
6415
6448
|
} & ComponentProps<'span'>;
|
|
6416
|
-
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$
|
|
6449
|
+
declare const MarkedText: ({ ref, source, mark, isCaseSensitive, ...spanProps }: Props$32) => import("react/jsx-runtime").JSX.Element;
|
|
6417
6450
|
//#endregion
|
|
6418
6451
|
//#region src/components/Kbd/KbdGroup.d.ts
|
|
6419
|
-
type Props$
|
|
6452
|
+
type Props$31 = {
|
|
6420
6453
|
separator?: string;
|
|
6421
6454
|
} & ComponentProps<'kbd'>;
|
|
6422
|
-
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$
|
|
6455
|
+
declare const KbdGroup: ({ ref, className, children, separator, ...props }: Props$31) => import("react/jsx-runtime").JSX.Element;
|
|
6423
6456
|
//#endregion
|
|
6424
6457
|
//#region src/components/Kbd/KbdSeparator.d.ts
|
|
6425
|
-
type Props$
|
|
6426
|
-
declare const KbdSeparator: ({ className, ...props }: Props$
|
|
6458
|
+
type Props$30 = ComponentProps<'span'>;
|
|
6459
|
+
declare const KbdSeparator: ({ className, ...props }: Props$30) => import("react/jsx-runtime").JSX.Element;
|
|
6427
6460
|
//#endregion
|
|
6428
6461
|
//#region src/components/Kbd/styles.d.ts
|
|
6429
6462
|
declare const kbdVariants: (props?: ({
|
|
@@ -6431,8 +6464,8 @@ declare const kbdVariants: (props?: ({
|
|
|
6431
6464
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6432
6465
|
//#endregion
|
|
6433
6466
|
//#region src/components/Kbd/Kbd.d.ts
|
|
6434
|
-
type Props$
|
|
6435
|
-
declare function Kbd({ children, className, variant, ...rest }: Props$
|
|
6467
|
+
type Props$29 = ComponentProps<'kbd'> & VariantProps<typeof kbdVariants>;
|
|
6468
|
+
declare function Kbd({ children, className, variant, ...rest }: Props$29): import("react/jsx-runtime").JSX.Element;
|
|
6436
6469
|
declare namespace Kbd {
|
|
6437
6470
|
export { KbdGroup as Group };
|
|
6438
6471
|
export { KbdSeparator as Separator };
|
|
@@ -6447,34 +6480,34 @@ type KeyRepresentation = {
|
|
|
6447
6480
|
declare const keys: Record<KeyName, KeyRepresentation>;
|
|
6448
6481
|
//#endregion
|
|
6449
6482
|
//#region src/components/Pagination/PaginationButton.d.ts
|
|
6450
|
-
type Props$
|
|
6483
|
+
type Props$28 = {
|
|
6451
6484
|
active?: boolean;
|
|
6452
6485
|
} & Omit<ComponentProps<typeof Button>, 'variant'>;
|
|
6453
|
-
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$
|
|
6486
|
+
declare const PaginationButton: ({ ref, active: isActive, className, children, size, ...props }: Props$28) => import("react/jsx-runtime").JSX.Element;
|
|
6454
6487
|
//#endregion
|
|
6455
6488
|
//#region src/components/Pagination/PaginationContent.d.ts
|
|
6456
|
-
type Props$
|
|
6457
|
-
declare const PaginationContent: ({ className, ...props }: Props$
|
|
6489
|
+
type Props$27 = ComponentProps<'ul'>;
|
|
6490
|
+
declare const PaginationContent: ({ className, ...props }: Props$27) => import("react/jsx-runtime").JSX.Element;
|
|
6458
6491
|
//#endregion
|
|
6459
6492
|
//#region src/components/Pagination/PaginationEllipsis.d.ts
|
|
6460
|
-
type Props$
|
|
6461
|
-
declare const PaginationEllipsis: ({ className, ...props }: Props$
|
|
6493
|
+
type Props$26 = ComponentProps<'span'>;
|
|
6494
|
+
declare const PaginationEllipsis: ({ className, ...props }: Props$26) => import("react/jsx-runtime").JSX.Element;
|
|
6462
6495
|
//#endregion
|
|
6463
6496
|
//#region src/components/Pagination/PaginationItem.d.ts
|
|
6464
|
-
type Props$
|
|
6465
|
-
declare const PaginationItem: ({ className, ...props }: Props$
|
|
6497
|
+
type Props$25 = ComponentProps<'li'>;
|
|
6498
|
+
declare const PaginationItem: ({ className, ...props }: Props$25) => import("react/jsx-runtime").JSX.Element;
|
|
6466
6499
|
//#endregion
|
|
6467
6500
|
//#region src/components/Pagination/PaginationNext.d.ts
|
|
6468
|
-
type Props$
|
|
6469
|
-
declare const PaginationNext: ({ children, className, ...props }: Props$
|
|
6501
|
+
type Props$24 = ComponentProps<typeof PaginationButton>;
|
|
6502
|
+
declare const PaginationNext: ({ children, className, ...props }: Props$24) => import("react/jsx-runtime").JSX.Element;
|
|
6470
6503
|
//#endregion
|
|
6471
6504
|
//#region src/components/Pagination/PaginationPrevious.d.ts
|
|
6472
|
-
type Props$
|
|
6473
|
-
declare const PaginationPrevious: ({ children, ...props }: Props$
|
|
6505
|
+
type Props$23 = ComponentProps<typeof PaginationButton>;
|
|
6506
|
+
declare const PaginationPrevious: ({ children, ...props }: Props$23) => import("react/jsx-runtime").JSX.Element;
|
|
6474
6507
|
//#endregion
|
|
6475
6508
|
//#region src/components/Pagination/Pagination.d.ts
|
|
6476
|
-
type Props$
|
|
6477
|
-
declare function Pagination({ className, ...props }: Props$
|
|
6509
|
+
type Props$22 = ComponentProps<'nav'>;
|
|
6510
|
+
declare function Pagination({ className, ...props }: Props$22): import("react/jsx-runtime").JSX.Element;
|
|
6478
6511
|
declare namespace Pagination {
|
|
6479
6512
|
export { PaginationContent as Content };
|
|
6480
6513
|
export { PaginationItem as Item };
|
|
@@ -6485,7 +6518,7 @@ declare namespace Pagination {
|
|
|
6485
6518
|
}
|
|
6486
6519
|
//#endregion
|
|
6487
6520
|
//#region src/components/DiffView/DiffView.d.ts
|
|
6488
|
-
type Props$
|
|
6521
|
+
type Props$21 = {
|
|
6489
6522
|
oldValue: string;
|
|
6490
6523
|
newValue: string;
|
|
6491
6524
|
ignoreWhitespace?: boolean;
|
|
@@ -6495,7 +6528,7 @@ type Props$22 = {
|
|
|
6495
6528
|
rightTitle: ReactNode;
|
|
6496
6529
|
rightTitleGutter?: ReactNode;
|
|
6497
6530
|
};
|
|
6498
|
-
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$
|
|
6531
|
+
declare const DiffView: ({ leftTitle, leftTitleGutter, rightTitle, rightTitleGutter, oldValue, newValue, ignoreWhitespace, className }: Props$21) => import("react/jsx-runtime").JSX.Element;
|
|
6499
6532
|
//#endregion
|
|
6500
6533
|
//#region src/components/DiffView/util.d.ts
|
|
6501
6534
|
declare const DiffType: {
|
|
@@ -6542,18 +6575,18 @@ declare const computeLineInformation: (oldString: string, newString: string, ign
|
|
|
6542
6575
|
declare const computeDiffRows: (lineInformation: LineInformation[], diffLines: number[], expandedBlocks: number[]) => DiffRow[];
|
|
6543
6576
|
//#endregion
|
|
6544
6577
|
//#region src/components/MergeEditor/PaneHeader.d.ts
|
|
6545
|
-
type Props$
|
|
6578
|
+
type Props$20 = {
|
|
6546
6579
|
label: string;
|
|
6547
6580
|
sublabel?: string;
|
|
6548
6581
|
};
|
|
6549
|
-
declare const PaneHeader: ({ label, sublabel }: Props$
|
|
6582
|
+
declare const PaneHeader: ({ label, sublabel }: Props$20) => import("react/jsx-runtime").JSX.Element;
|
|
6550
6583
|
//#endregion
|
|
6551
6584
|
//#region src/components/MergeEditor/ConflictStatus/ConflictStatusIndicator.d.ts
|
|
6552
|
-
type Props$
|
|
6585
|
+
type Props$19 = {
|
|
6553
6586
|
remainingConflicts: number;
|
|
6554
6587
|
remainingSafeChanges: number;
|
|
6555
6588
|
};
|
|
6556
|
-
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$
|
|
6589
|
+
declare const ConflictStatusIndicator: ({ remainingConflicts, remainingSafeChanges }: Props$19) => import("react/jsx-runtime").JSX.Element;
|
|
6557
6590
|
//#endregion
|
|
6558
6591
|
//#region src/components/MergeEditor/useMergeDiff.d.ts
|
|
6559
6592
|
declare const useMergeDiff: (baseText: string, leftText: string, rightText: string) => {
|
|
@@ -6690,16 +6723,16 @@ type RootProps = Omit<ComponentProps<typeof Card>, 'title'> & {
|
|
|
6690
6723
|
declare const ChartPanel: ({ title, description, titleAs, toolbar, footer, className, bordered, children, ...rest }: RootProps) => import("react/jsx-runtime").JSX.Element;
|
|
6691
6724
|
//#endregion
|
|
6692
6725
|
//#region src/blocks/Form/components/FormBody.d.ts
|
|
6693
|
-
type Props$
|
|
6726
|
+
type Props$18 = {
|
|
6694
6727
|
children: ReactNode;
|
|
6695
6728
|
} & Omit<ComponentProps<'form'>, 'onSubmit'>;
|
|
6696
|
-
declare const FormBody: ({ children, className, ...formProps }: Props$
|
|
6729
|
+
declare const FormBody: ({ children, className, ...formProps }: Props$18) => import("react/jsx-runtime").JSX.Element;
|
|
6697
6730
|
//#endregion
|
|
6698
6731
|
//#region src/blocks/Form/components/SubmitButton.d.ts
|
|
6699
|
-
type Props$
|
|
6732
|
+
type Props$17 = {
|
|
6700
6733
|
children?: ReactNode;
|
|
6701
6734
|
} & Omit<ComponentProps<typeof Button>, 'type' | 'isLoading' | 'disabled'>;
|
|
6702
|
-
declare const SubmitButton: ({ children, ...buttonProps }: Props$
|
|
6735
|
+
declare const SubmitButton: ({ children, ...buttonProps }: Props$17) => import("react/jsx-runtime").JSX.Element;
|
|
6703
6736
|
//#endregion
|
|
6704
6737
|
//#region src/blocks/Form/components/SubmitErrorAlert.d.ts
|
|
6705
6738
|
/**
|
|
@@ -6709,44 +6742,6 @@ declare const SubmitButton: ({ children, ...buttonProps }: Props$18) => import("
|
|
|
6709
6742
|
*/
|
|
6710
6743
|
declare const SubmitErrorAlert: () => import("react/jsx-runtime").JSX.Element;
|
|
6711
6744
|
//#endregion
|
|
6712
|
-
//#region src/blocks/Form/connectors/FieldItem.d.ts
|
|
6713
|
-
/**
|
|
6714
|
-
* The a11y wiring `FieldItem` derives from the field and hands back to the control — spread it onto
|
|
6715
|
-
* whatever element the field renders. Callers never author these attributes themselves.
|
|
6716
|
-
*/
|
|
6717
|
-
type FieldControlProps = {
|
|
6718
|
-
id: string;
|
|
6719
|
-
name: string;
|
|
6720
|
-
'aria-required'?: true;
|
|
6721
|
-
'aria-invalid'?: true;
|
|
6722
|
-
'aria-describedby'?: string;
|
|
6723
|
-
};
|
|
6724
|
-
/** Which marker sits next to the label. Purely visual — `aria-required` is driven by `required`. */
|
|
6725
|
-
type RequiredMark = 'required' | 'optional' | 'hidden';
|
|
6726
|
-
type Props$17 = {
|
|
6727
|
-
label?: ReactNode;
|
|
6728
|
-
/**
|
|
6729
|
-
* Optional node rendered at the trailing edge of the label row (opposite the label) — e.g. a
|
|
6730
|
-
* "Forgot password?" link beside a Password label. Presentational placement only; it is a sibling
|
|
6731
|
-
* of the `<Label>`, not part of the field's accessible name. Provide an interactive element
|
|
6732
|
-
* (`ButtonInline` / `Link`).
|
|
6733
|
-
*/
|
|
6734
|
-
action?: ReactNode;
|
|
6735
|
-
required?: boolean;
|
|
6736
|
-
/**
|
|
6737
|
-
* Which marker to show beside the label — gated by `required` so it never lies: `'required'`
|
|
6738
|
-
* renders `*` only when the field is `required`; `'optional'` renders `(optional)` only when it
|
|
6739
|
-
* is not; `'hidden'` renders neither. Defaults to `'required'`.
|
|
6740
|
-
*/
|
|
6741
|
-
requiredMark?: RequiredMark;
|
|
6742
|
-
help?: ReactNode;
|
|
6743
|
-
tooltip?: ReactNode;
|
|
6744
|
-
className?: string;
|
|
6745
|
-
'aria-describedby'?: string;
|
|
6746
|
-
children: (control: FieldControlProps) => ReactNode;
|
|
6747
|
-
};
|
|
6748
|
-
type FieldItemProps = Omit<Props$17, 'children'>;
|
|
6749
|
-
//#endregion
|
|
6750
6745
|
//#region src/blocks/Form/connectors/CheckboxField.d.ts
|
|
6751
6746
|
type Props$16 = Pick<FieldItemProps, 'className'> & Omit<ComponentProps<typeof Checkbox>, 'id' | 'name' | 'checked' | 'onCheckedChange'>;
|
|
6752
6747
|
declare const CheckboxField: ({ className, children, ...checkboxProps }: Props$16) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6790,7 +6785,10 @@ declare const TextField: ({ label, action, required, requiredMark, help, tooltip
|
|
|
6790
6785
|
* modals, drawers, multi-step wizards. Use `useAppForm({ defaultValues, validators, onSubmit })` at the
|
|
6791
6786
|
* top of the form component, then render the typed `field.TextField` / `field.NumberField` /
|
|
6792
6787
|
* `field.PasswordField` / `field.TextareaField` / `field.SelectField` / `field.CheckboxField` /
|
|
6793
|
-
* `field.SwitchField` connectors inside `form.AppForm` → `form.FormBody`. Submit via `form.SubmitButton`.
|
|
6788
|
+
* `field.SwitchField` / `field.OtpInputField` connectors inside `form.AppForm` → `form.FormBody`. Submit via `form.SubmitButton`.
|
|
6789
|
+
* `MultiComboboxField` (from `@keboola/design`) and `CodeEditorField` (from `@keboola/design/editors`)
|
|
6790
|
+
* compose the same way but are imported by name — `fieldComponents` does not shake per key, so a
|
|
6791
|
+
* control with heavy dependencies would be carried by every consumer. See their own docs.
|
|
6794
6792
|
* **When NOT to use:** for a single uncontrolled `<input>` use `TextInput` directly; for a bare label + input
|
|
6795
6793
|
* pair without validation use `FormGroup` + `FormGroup.TextInput`.
|
|
6796
6794
|
* **Composition:** schema-library agnostic — pass any [Standard Schema](https://standardschema.dev/) validator
|
|
@@ -6848,7 +6846,11 @@ type ServerFieldError = {
|
|
|
6848
6846
|
};
|
|
6849
6847
|
/**
|
|
6850
6848
|
* Map a list of server-returned field errors onto a TanStack form instance.
|
|
6851
|
-
*
|
|
6849
|
+
*
|
|
6850
|
+
* - Marks each field blurred — that is what `FieldItem` gates the error reveal on.
|
|
6851
|
+
* - `isTouched` alongside it, for anything reading TanStack's own meta (`canSubmit`, dirty checks).
|
|
6852
|
+
* - Both are needed. Called from a mutation's `onError` there is no submit attempt to fall back on, so
|
|
6853
|
+
* without `isBlurred` the message would sit in `errorMap` and render nowhere.
|
|
6852
6854
|
*/
|
|
6853
6855
|
declare const setServerFieldErrors: (form: AnyFormApi, errors: readonly ServerFieldError[]) => void;
|
|
6854
6856
|
//#endregion
|
|
@@ -7006,5 +7008,5 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
7006
7008
|
/** WCAG level for normal-size text at a given ratio. */
|
|
7007
7009
|
declare const wcagLevel: (ratio: number) => 'AAA' | 'AA' | 'fail';
|
|
7008
7010
|
//#endregion
|
|
7009
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DashboardHero, type RootProps$1 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$2 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$3 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$5 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThinkingIndicator, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$7 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, argoVariants, brandSchema, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useWorkbench, wcagLevel, withForm };
|
|
7011
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props as AnswerSummaryProps, type Variant as AnswerSummaryVariant, AppShell, type AppShellHeaderSpan, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, type Brand, BrandEditor, type BrandEditorProps, BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, type ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, ColorScheme, type ColorSlot, Combobox, Command, CommandGroup, CommandInput, CommandItem, CommandList, ConflictStatusIndicator, CopyField, DEFAULT_COLOR_SCHEME, DEFAULT_FALLBACK_FONT, DEFAULT_FONT_OPTIONS, DEFAULT_BRAND_ID as DEFAULT_KEBOOLA_BRAND_ID, DEFAULT_WORKBENCH_BAR_HEIGHT_IN_REM, DEFAULT_WORKBENCH_PANEL_HEIGHT_IN_PX, DashboardHero, type RootProps$1 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffChunk, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$2 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$3 as ErrorStateProps, type Variant$2 as ErrorStateVariant, ExportMenu, ExportMenuItem, FileUpload, type FileUploadAccept, type FileUploadRejection, type FileUploadRejectionCode, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$1 as InlineStepDetailProps, InlineStepLabel, type Props$2 as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, MIN_WORKBENCH_PANEL_HEIGHT_IN_PX, Markdown, MarkedText, type MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, MultiComboboxField, Navbar, NumberInput, OtpInput, type RootProps$4 as OtpInputProps, type OtpInputRenderSlotProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, type PanelImperativeHandle, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, Props$3 as Props, Question, type QuestionAnswers, QuestionBlock, type Props$4 as QuestionBlockProps, type QuestionOption, type Props$5 as QuestionProps, type QuestionStep, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, SectionNav, type SectionNavGroup, type SectionNavItem, type SectionNavItemRenderProps, Select, SelectItem, SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, Slot, SplitButton, SpotlightBackdrop, SpotlightTarget, StatCard, StatCardGrid, type Props$6 as StatCardGridProps, type RootProps$5 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, type TableSortDirection, Tabs, TabsContent, TargetRect, TextInput, Textarea, Theme, ThemeProvider, ThinkingIndicator, ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$7 as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, UseAutosizeInputOptions, UseAutosizeInputReturn, type ValidityState, type WordInformation, Workbench, type WorkbenchState, ZoomableSvg, argoVariants, brandSchema, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, defaultFilter, exampleCustomer, hexToChannels, isMac, kbdVariants, keboola, keboolaLegacySidebar, keboolaLegacyTopnav, keys, mergeRefs, setServerFieldErrors, setSubmitError, svgToPngBlob, tableAriaSort, toSvgFileContent, toast, useAppForm, useArgoDesign, useAutosizeInput, useCommandState, useDefaultLayout, useFileDropTarget, useFileUploadRejections, useMergeDiff, useNotification, useOptionalSidebar, useScrollbarPosition, useSidebar, useStableCallback, useTargetRect, useTheme, useWorkbench, wcagLevel, withForm };
|
|
7010
7012
|
//# sourceMappingURL=index.d.ts.map
|