@keboola/design 6.2.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editors.cjs +73 -1
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +73 -1
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +72 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +5 -1
- package/dist/icons.d.ts +5 -1
- package/dist/icons.js +71 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +286 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -54
- package/dist/index.d.ts +83 -54
- package/dist/index.js +285 -23
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +97 -4
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +97 -4
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +73 -1
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +73 -1
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +87 -3
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +87 -3
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +7 -6
- package/src/styles.css +4 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler,
|
|
3
|
+
import { ComponentProps, Ref, ElementRef, ReactNode, PropsWithChildren, ComponentPropsWithRef, MouseEvent as MouseEvent$1, HTMLAttributes, RefObject, MouseEventHandler, ChangeEvent, FocusEvent as FocusEvent$1, InputHTMLAttributes, KeyboardEvent as KeyboardEvent$1, ComponentPropsWithoutRef, CSSProperties, TransitionEventHandler, MutableRefObject, RefCallback } from 'react';
|
|
4
4
|
import * as class_variance_authority from 'class-variance-authority';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -56,7 +56,7 @@ import { AnyFormApi } from '@tanstack/react-form';
|
|
|
56
56
|
import { ClassValue } from 'clsx';
|
|
57
57
|
export { Slot } from '@radix-ui/react-slot';
|
|
58
58
|
|
|
59
|
-
declare const variants$
|
|
59
|
+
declare const variants$4: (props?: ({
|
|
60
60
|
block?: boolean | null | undefined;
|
|
61
61
|
variant?: "primary" | "secondary" | "inline" | "danger" | "invisible" | "outline" | null | undefined;
|
|
62
62
|
size?: "medium" | "small" | "large" | "icon-lg" | "icon" | "icon-sm" | "icon-xs" | "icon-2xs" | "icon-3xs" | null | undefined;
|
|
@@ -74,12 +74,12 @@ declare const argoVariants: (props?: ({
|
|
|
74
74
|
* for height (including `icon-*` sizes when rendering icon-only). Icons are
|
|
75
75
|
* composed as children — `<Button><Trash2 className="tw-size-4" /> Delete</Button>`.
|
|
76
76
|
*/
|
|
77
|
-
type Props$
|
|
77
|
+
type Props$1X = {
|
|
78
78
|
/** Replaces the leading content with a spinner and disables the button visually. The caller still controls `disabled`. */
|
|
79
79
|
isLoading?: boolean;
|
|
80
80
|
/** Render as a Radix `Slot` so the parent JSX (e.g. a `react-router` `<Link>`) becomes the button element. */
|
|
81
81
|
asChild?: boolean;
|
|
82
|
-
} & ComponentProps<'button'> & VariantProps<typeof variants$
|
|
82
|
+
} & ComponentProps<'button'> & VariantProps<typeof variants$4>;
|
|
83
83
|
/**
|
|
84
84
|
* Primary action surface for the design system — covers all clickable controls except inline text links.
|
|
85
85
|
*
|
|
@@ -93,7 +93,7 @@ type Props$1V = {
|
|
|
93
93
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
94
94
|
* @see RECIPES.md#confirm-dialog — for destructive-action confirmation
|
|
95
95
|
*/
|
|
96
|
-
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$
|
|
96
|
+
declare const Button: ({ ref, children, disabled, className, type, isLoading, asChild, onClick, variant, size, block, ...buttonProps }: Props$1X & {
|
|
97
97
|
ref?: Ref<ElementRef<"button">>;
|
|
98
98
|
}) => react_jsx_runtime.JSX.Element;
|
|
99
99
|
|
|
@@ -101,10 +101,10 @@ declare const buttonInlineVariants: (props?: ({
|
|
|
101
101
|
color?: "dark" | "muted" | "link" | "danger" | "custom" | null | undefined;
|
|
102
102
|
variant?: "link" | "custom" | "link-reverse" | null | undefined;
|
|
103
103
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
|
-
type Props$
|
|
104
|
+
type Props$1W = ComponentProps<'button'> & VariantProps<typeof buttonInlineVariants> & {
|
|
105
105
|
asChild?: boolean;
|
|
106
106
|
};
|
|
107
|
-
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$
|
|
107
|
+
declare const ButtonInline: ({ ref, children, className, variant, color, type, asChild, ...buttonProps }: Props$1W & {
|
|
108
108
|
ref?: Ref<ElementRef<"button">>;
|
|
109
109
|
}) => react_jsx_runtime.JSX.Element;
|
|
110
110
|
|
|
@@ -112,18 +112,18 @@ declare const buttonGroupVariant: (props?: ({
|
|
|
112
112
|
variant?: "inline" | "block" | null | undefined;
|
|
113
113
|
space?: "medium" | "small" | "large" | "extra-small" | "little-small" | "compact" | null | undefined;
|
|
114
114
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
115
|
-
type Props$
|
|
115
|
+
type Props$1V = {
|
|
116
116
|
children: ReactNode;
|
|
117
117
|
className?: string;
|
|
118
118
|
} & VariantProps<typeof buttonGroupVariant> & ComponentProps<'div'>;
|
|
119
|
-
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$
|
|
119
|
+
declare const ButtonGroup: ({ ref, children, space, className, variant, ...rest }: Props$1V & {
|
|
120
120
|
ref?: Ref<ElementRef<"div">>;
|
|
121
121
|
}) => react_jsx_runtime.JSX.Element;
|
|
122
122
|
|
|
123
123
|
type Variant$8 = ComponentProps<typeof Button>['variant'];
|
|
124
124
|
type Size = NonNullable<ComponentProps<typeof Button>['size']>;
|
|
125
125
|
type SpitButtonSize = Exclude<Size, 'icon' | 'icon-lg' | 'icon-sm' | 'icon-xs' | 'icon-2xs' | 'icon-3xs'>;
|
|
126
|
-
type Props$
|
|
126
|
+
type Props$1U = {
|
|
127
127
|
actions?: ReactNode;
|
|
128
128
|
isActionsOpen?: boolean;
|
|
129
129
|
onActionsOpenChange?: (open: boolean) => void;
|
|
@@ -132,7 +132,7 @@ type Props$1S = {
|
|
|
132
132
|
variant?: Exclude<Variant$8, 'inline' | 'invisible'>;
|
|
133
133
|
size?: SpitButtonSize;
|
|
134
134
|
} & Omit<ComponentProps<typeof Button>, 'variant' | 'size' | 'icon'>;
|
|
135
|
-
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$
|
|
135
|
+
declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsOpen, onActionsOpenChange, icon, children, ...rest }: Props$1U & {
|
|
136
136
|
ref?: Ref<ElementRef<"button">>;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
138
138
|
Action: ({ ref, className, asModalTrigger, onSelect, onPointerLeave, onPointerMove, children, asChild, icon, iconClassName, isLoading, ...props }: (_radix_ui_react_dropdown_menu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement> & {
|
|
@@ -146,11 +146,11 @@ declare const SplitButton: (({ ref, disabled, actions, variant, size, isActionsO
|
|
|
146
146
|
Actions: react.ForwardRefExoticComponent<_radix_ui_react_dropdown_menu.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
type Props$
|
|
149
|
+
type Props$1T = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1T): react_jsx_runtime.JSX.Element;
|
|
154
154
|
Button: ({ disabled, icon, isLoading, label, onClick, tooltipContent, tooltipVariant, "data-testid": dataTestId, }: {
|
|
155
155
|
disabled?: boolean;
|
|
156
156
|
icon: react.ReactNode;
|
|
@@ -168,11 +168,11 @@ declare const toggleVariants: (props?: ({
|
|
|
168
168
|
size?: "medium" | "small" | "large" | null | undefined;
|
|
169
169
|
iconOnly?: boolean | null | undefined;
|
|
170
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
171
|
-
type Props$
|
|
171
|
+
type Props$1S = {
|
|
172
172
|
icon?: ReactNode;
|
|
173
173
|
badge?: ReactNode;
|
|
174
174
|
} & ComponentProps<typeof Root> & Omit<VariantProps<typeof toggleVariants>, 'iconOnly'>;
|
|
175
|
-
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$
|
|
175
|
+
declare const Toggle: ({ ref, className, variant, size, children, icon, badge, disabled, ...props }: Props$1S & {
|
|
176
176
|
ref?: Ref<ElementRef<"button">>;
|
|
177
177
|
}) => react_jsx_runtime.JSX.Element;
|
|
178
178
|
|
|
@@ -193,11 +193,11 @@ declare const ToggleGroup: (({ ref, className, size, ...props }: RootProps$8 & {
|
|
|
193
193
|
declare const tooltipVariants: (props?: ({
|
|
194
194
|
variant?: "action" | "explanatory" | null | undefined;
|
|
195
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
|
-
type Props$
|
|
196
|
+
type Props$1R = {
|
|
197
197
|
keepOpenOnPointerDownOutside?: boolean;
|
|
198
198
|
placement?: ComponentProps<typeof Content>['side'];
|
|
199
199
|
} & Omit<ComponentProps<typeof Content>, 'side'> & VariantProps<typeof tooltipVariants>;
|
|
200
|
-
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$
|
|
200
|
+
declare const TooltipContent: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: Props$1R) => react_jsx_runtime.JSX.Element;
|
|
201
201
|
|
|
202
202
|
type TriggerProps$1 = {
|
|
203
203
|
triggerAsChild?: boolean;
|
|
@@ -206,7 +206,7 @@ type TriggerProps$1 = {
|
|
|
206
206
|
* Props for `Tooltip`. `tooltip` is the popup content; `children` is the trigger element.
|
|
207
207
|
* `variant` auto-resolves to `"explanatory"` for strings >30 chars, else `"action"`.
|
|
208
208
|
*/
|
|
209
|
-
type Props$
|
|
209
|
+
type Props$1Q = {
|
|
210
210
|
/** Keep the tooltip visible when the user clicks the trigger (useful for click-to-copy feedback). */
|
|
211
211
|
keepOpenOnTriggerClick?: boolean;
|
|
212
212
|
/** Content rendered inside the tooltip. Plain text only — no interactive elements (use `HoverCard` or `Popover` for that). */
|
|
@@ -236,7 +236,7 @@ declare const TooltipProvider: react.FC<_radix_ui_react_tooltip.TooltipProviderP
|
|
|
236
236
|
* @see RECIPES.md#disabled-button-tooltip — for the disabled-button + tooltip pattern
|
|
237
237
|
*/
|
|
238
238
|
declare const Tooltip: {
|
|
239
|
-
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$
|
|
239
|
+
({ tooltip, children, className, keepOpenOnTriggerClick, variant, placement, forceHide, forceShow, triggerAsChild, }: Props$1Q): react_jsx_runtime.JSX.Element;
|
|
240
240
|
Root: ({ children, delayDuration, ...rest }: _radix_ui_react_tooltip.TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
241
241
|
Content: ({ className, variant, keepOpenOnPointerDownOutside, children, onPointerDownOutside, sideOffset, collisionPadding, hideWhenDetached, placement, ...rest }: {
|
|
242
242
|
keepOpenOnPointerDownOutside?: boolean;
|
|
@@ -251,30 +251,30 @@ declare const Tooltip: {
|
|
|
251
251
|
}) => react_jsx_runtime.JSX.Element;
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
type Props$
|
|
255
|
-
tooltip?: Props$
|
|
256
|
-
tooltipPlacement?: Props$
|
|
257
|
-
tooltipVariant?: Props$
|
|
258
|
-
asChild?: Props$
|
|
254
|
+
type Props$1P = {
|
|
255
|
+
tooltip?: Props$1Q['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1Q['placement'];
|
|
257
|
+
tooltipVariant?: Props$1Q['variant'];
|
|
258
|
+
asChild?: Props$1Q['triggerAsChild'];
|
|
259
259
|
text?: string | (() => string);
|
|
260
260
|
} & ComponentProps<'button'>;
|
|
261
|
-
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$
|
|
261
|
+
declare const Clipboard: ({ ref, text: textProp, children, tooltip, tooltipPlacement, tooltipVariant: tooltipVariantProp, asChild, onClick, className, ...restButtonProps }: Props$1P & {
|
|
262
262
|
ref?: Ref<ElementRef<"button">>;
|
|
263
263
|
}) => react_jsx_runtime.JSX.Element;
|
|
264
264
|
|
|
265
265
|
type ClipboardProps$1 = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
266
266
|
type ButtonProps$2 = Omit<ComponentProps<typeof Button>, 'disabled' | 'icon'>;
|
|
267
|
-
type Props$
|
|
267
|
+
type Props$1O = ClipboardProps$1 & ButtonProps$2 & {
|
|
268
268
|
icon?: ReactNode;
|
|
269
269
|
};
|
|
270
|
-
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$
|
|
270
|
+
declare const ClipboardButton: ({ text, tooltip, tooltipPlacement, tooltipVariant, icon, variant, children, ...rest }: Props$1O) => react_jsx_runtime.JSX.Element;
|
|
271
271
|
|
|
272
272
|
type ClipboardProps = Pick<ComponentProps<typeof Clipboard>, 'text' | 'tooltip' | 'tooltipPlacement' | 'tooltipVariant'>;
|
|
273
273
|
type ButtonProps$1 = Omit<ComponentProps<typeof ButtonInline>, 'disabled'>;
|
|
274
|
-
type Props$
|
|
274
|
+
type Props$1N = {
|
|
275
275
|
hideIcon?: boolean;
|
|
276
276
|
} & ClipboardProps & ButtonProps$1;
|
|
277
|
-
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$
|
|
277
|
+
declare const ClipboardInline: ({ text, tooltip, tooltipPlacement, tooltipVariant, children, hideIcon, ...rest }: Props$1N) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -379,6 +379,35 @@ declare const CopyField: {
|
|
|
379
379
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
+
/** The same Microsoft mark supports these call-to-action wordings. */
|
|
383
|
+
declare const LABELS$1: {
|
|
384
|
+
readonly signin: "Sign in with Microsoft";
|
|
385
|
+
readonly signup: "Sign up with Microsoft";
|
|
386
|
+
readonly continue: "Continue with Microsoft";
|
|
387
|
+
};
|
|
388
|
+
type Props$1M = ComponentPropsWithRef<'button'> & {
|
|
389
|
+
label?: keyof typeof LABELS$1;
|
|
390
|
+
isLoading?: boolean;
|
|
391
|
+
};
|
|
392
|
+
declare const MicrosoftButton: ({ ref, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1M) => react_jsx_runtime.JSX.Element;
|
|
393
|
+
|
|
394
|
+
declare const LABELS: {
|
|
395
|
+
readonly signin: "Sign in with Google";
|
|
396
|
+
readonly signup: "Sign up with Google";
|
|
397
|
+
readonly continue: "Continue with Google";
|
|
398
|
+
readonly 'signin-short': "Sign in";
|
|
399
|
+
};
|
|
400
|
+
declare const variants$3: (props?: ({
|
|
401
|
+
variant?: "default" | "neutral" | null | undefined;
|
|
402
|
+
shape?: "circle" | "rectangular" | null | undefined;
|
|
403
|
+
size?: "icon" | "default" | null | undefined;
|
|
404
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
405
|
+
type Props$1L = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$3> & {
|
|
406
|
+
label?: keyof typeof LABELS;
|
|
407
|
+
isLoading?: boolean;
|
|
408
|
+
};
|
|
409
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
410
|
+
|
|
382
411
|
type Props$1K = ComponentProps<'a'>;
|
|
383
412
|
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1K & {
|
|
384
413
|
ref?: Ref<ElementRef<"a">>;
|
|
@@ -436,7 +465,7 @@ declare const Modal: {
|
|
|
436
465
|
as?: "form";
|
|
437
466
|
}) => react_jsx_runtime.JSX.Element;
|
|
438
467
|
Icon: ({ color, icon }: {
|
|
439
|
-
color: ("
|
|
468
|
+
color: ("blue" | "gray" | "green" | "orange" | "red" | "violet") | (string & {});
|
|
440
469
|
icon: react.ReactNode;
|
|
441
470
|
}) => react_jsx_runtime.JSX.Element;
|
|
442
471
|
Image: ({ src, alt }: {
|
|
@@ -1370,7 +1399,7 @@ declare const Command: {
|
|
|
1370
1399
|
};
|
|
1371
1400
|
|
|
1372
1401
|
declare const addonVariants$1: (props?: ({
|
|
1373
|
-
align?: "inline-
|
|
1402
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1374
1403
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1375
1404
|
type Props$1y = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1376
1405
|
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1y) => react_jsx_runtime.JSX.Element;
|
|
@@ -1972,8 +2001,8 @@ declare const RadioGroup: {
|
|
|
1972
2001
|
} & {
|
|
1973
2002
|
value: T;
|
|
1974
2003
|
tooltip?: react.ReactNode;
|
|
1975
|
-
tooltipVariant?: Props$
|
|
1976
|
-
tooltipPlacement?: Props$
|
|
2004
|
+
tooltipVariant?: Props$1Q["variant"];
|
|
2005
|
+
tooltipPlacement?: Props$1Q["placement"];
|
|
1977
2006
|
description?: react.ReactNode;
|
|
1978
2007
|
}) => react_jsx_runtime.JSX.Element;
|
|
1979
2008
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
@@ -2118,8 +2147,8 @@ type Props$17 = {
|
|
|
2118
2147
|
description?: ReactNode;
|
|
2119
2148
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2120
2149
|
position?: 'start' | 'end';
|
|
2121
|
-
tooltip?: Props$
|
|
2122
|
-
tooltipPlacement?: Props$
|
|
2150
|
+
tooltip?: Props$1Q['tooltip'];
|
|
2151
|
+
tooltipPlacement?: Props$1Q['placement'];
|
|
2123
2152
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2124
2153
|
declare function Checkbox(prop: Omit<Props$17, 'checked' | 'onCheckedChange'> & {
|
|
2125
2154
|
checked?: boolean;
|
|
@@ -2556,7 +2585,7 @@ declare const Combobox: {
|
|
|
2556
2585
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
2557
2586
|
maxVisible?: number;
|
|
2558
2587
|
itemToChipLabel?: ((item: Value) => ReactNode) | undefined;
|
|
2559
|
-
itemToChipColor?: ((item: Value) => "
|
|
2588
|
+
itemToChipColor?: ((item: Value) => "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | undefined) | undefined;
|
|
2560
2589
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2561
2590
|
}) => react_jsx_runtime.JSX.Element;
|
|
2562
2591
|
};
|
|
@@ -2857,7 +2886,7 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2857
2886
|
}) => react_jsx_runtime.JSX.Element;
|
|
2858
2887
|
|
|
2859
2888
|
declare const addonVariants: (props?: ({
|
|
2860
|
-
align?: "inline-
|
|
2889
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2861
2890
|
variant?: "inline" | "floating" | null | undefined;
|
|
2862
2891
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2863
2892
|
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
@@ -2874,7 +2903,7 @@ declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
|
2874
2903
|
|
|
2875
2904
|
declare const badgeRootVariants: (props?: ({
|
|
2876
2905
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2877
|
-
color?: "
|
|
2906
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2878
2907
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2879
2908
|
|
|
2880
2909
|
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
@@ -2902,7 +2931,7 @@ declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suf
|
|
|
2902
2931
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2903
2932
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2904
2933
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2905
|
-
color?: "
|
|
2934
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
2906
2935
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2907
2936
|
ref?: Ref<ElementRef<"div">>;
|
|
2908
2937
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -2915,7 +2944,7 @@ declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suf
|
|
|
2915
2944
|
ref?: Ref<ElementRef<"span">>;
|
|
2916
2945
|
}) => react_jsx_runtime.JSX.Element;
|
|
2917
2946
|
Addon: ({ ref, align, variant, className, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2918
|
-
align?: "inline-
|
|
2947
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2919
2948
|
variant?: "inline" | "floating" | null | undefined;
|
|
2920
2949
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2921
2950
|
ref?: Ref<ElementRef<"div">>;
|
|
@@ -4570,6 +4599,7 @@ declare const FormGroup: {
|
|
|
4570
4599
|
disabled?: boolean | undefined | undefined;
|
|
4571
4600
|
value?: string | null | undefined;
|
|
4572
4601
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4602
|
+
wrap?: string | undefined | undefined;
|
|
4573
4603
|
required?: boolean | undefined | undefined;
|
|
4574
4604
|
autoComplete?: string | undefined | undefined;
|
|
4575
4605
|
maxLength?: number | undefined | undefined;
|
|
@@ -4578,7 +4608,6 @@ declare const FormGroup: {
|
|
|
4578
4608
|
readOnly?: boolean | undefined | undefined;
|
|
4579
4609
|
cols?: number | undefined | undefined;
|
|
4580
4610
|
dirName?: string | undefined | undefined;
|
|
4581
|
-
wrap?: string | undefined | undefined;
|
|
4582
4611
|
maxRows?: number | "unlimited" | undefined;
|
|
4583
4612
|
minRows?: number | undefined;
|
|
4584
4613
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -5396,7 +5425,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5396
5425
|
*/
|
|
5397
5426
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5398
5427
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5399
|
-
color?: "
|
|
5428
|
+
color?: "blue" | "cyan" | "gray" | "green" | "orange" | "purple" | "red" | "teal" | "white" | "gray-darker" | "gray-inverse" | "green-darker" | "green-inverse" | "blue-inverse" | "orange-inverse" | "amber" | "amber-inverse" | "teal-inverse" | "purple-inverse" | "cyan-inverse" | "sidebar-primary" | null | undefined;
|
|
5400
5429
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5401
5430
|
ref?: Ref<ElementRef<"div">>;
|
|
5402
5431
|
}, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -6456,8 +6485,8 @@ type Props$9 = {
|
|
|
6456
6485
|
tooltip?: ReactNode;
|
|
6457
6486
|
twoLines?: boolean;
|
|
6458
6487
|
noTooltip?: boolean;
|
|
6459
|
-
tooltipVariant?: Props$
|
|
6460
|
-
tooltipPlacement?: Props$
|
|
6488
|
+
tooltipVariant?: Props$1Q['variant'];
|
|
6489
|
+
tooltipPlacement?: Props$1Q['placement'];
|
|
6461
6490
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6462
6491
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9 & {
|
|
6463
6492
|
ref?: Ref<ElementRef<"span">>;
|
|
@@ -8050,6 +8079,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8050
8079
|
disabled?: boolean | undefined | undefined;
|
|
8051
8080
|
value?: string | null | undefined;
|
|
8052
8081
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8082
|
+
wrap?: string | undefined | undefined;
|
|
8053
8083
|
required?: boolean | undefined | undefined;
|
|
8054
8084
|
autoComplete?: string | undefined | undefined;
|
|
8055
8085
|
maxLength?: number | undefined | undefined;
|
|
@@ -8058,7 +8088,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8058
8088
|
readOnly?: boolean | undefined | undefined;
|
|
8059
8089
|
cols?: number | undefined | undefined;
|
|
8060
8090
|
dirName?: string | undefined | undefined;
|
|
8061
|
-
wrap?: string | undefined | undefined;
|
|
8062
8091
|
maxRows?: number | "unlimited" | undefined;
|
|
8063
8092
|
minRows?: number | undefined;
|
|
8064
8093
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -8099,8 +8128,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8099
8128
|
description?: react.ReactNode;
|
|
8100
8129
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8101
8130
|
position?: "start" | "end";
|
|
8102
|
-
tooltip?: Props$
|
|
8103
|
-
tooltipPlacement?: Props$
|
|
8131
|
+
tooltip?: Props$1Q["tooltip"];
|
|
8132
|
+
tooltipPlacement?: Props$1Q["placement"];
|
|
8104
8133
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8105
8134
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8106
8135
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9399,6 +9428,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9399
9428
|
disabled?: boolean | undefined | undefined;
|
|
9400
9429
|
value?: string | null | undefined;
|
|
9401
9430
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
9431
|
+
wrap?: string | undefined | undefined;
|
|
9402
9432
|
required?: boolean | undefined | undefined;
|
|
9403
9433
|
autoComplete?: string | undefined | undefined;
|
|
9404
9434
|
maxLength?: number | undefined | undefined;
|
|
@@ -9407,7 +9437,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9407
9437
|
readOnly?: boolean | undefined | undefined;
|
|
9408
9438
|
cols?: number | undefined | undefined;
|
|
9409
9439
|
dirName?: string | undefined | undefined;
|
|
9410
|
-
wrap?: string | undefined | undefined;
|
|
9411
9440
|
maxRows?: number | "unlimited" | undefined;
|
|
9412
9441
|
minRows?: number | undefined;
|
|
9413
9442
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -9448,8 +9477,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9448
9477
|
description?: react.ReactNode;
|
|
9449
9478
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9450
9479
|
position?: "start" | "end";
|
|
9451
|
-
tooltip?: Props$
|
|
9452
|
-
tooltipPlacement?: Props$
|
|
9480
|
+
tooltip?: Props$1Q["tooltip"];
|
|
9481
|
+
tooltipPlacement?: Props$1Q["placement"];
|
|
9453
9482
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9454
9483
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9455
9484
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10748,6 +10777,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10748
10777
|
disabled?: boolean | undefined | undefined;
|
|
10749
10778
|
value?: string | null | undefined;
|
|
10750
10779
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10780
|
+
wrap?: string | undefined | undefined;
|
|
10751
10781
|
required?: boolean | undefined | undefined;
|
|
10752
10782
|
autoComplete?: string | undefined | undefined;
|
|
10753
10783
|
maxLength?: number | undefined | undefined;
|
|
@@ -10756,7 +10786,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10756
10786
|
readOnly?: boolean | undefined | undefined;
|
|
10757
10787
|
cols?: number | undefined | undefined;
|
|
10758
10788
|
dirName?: string | undefined | undefined;
|
|
10759
|
-
wrap?: string | undefined | undefined;
|
|
10760
10789
|
maxRows?: number | "unlimited" | undefined;
|
|
10761
10790
|
minRows?: number | undefined;
|
|
10762
10791
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -10797,8 +10826,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10797
10826
|
description?: react.ReactNode;
|
|
10798
10827
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10799
10828
|
position?: "start" | "end";
|
|
10800
|
-
tooltip?: Props$
|
|
10801
|
-
tooltipPlacement?: Props$
|
|
10829
|
+
tooltip?: Props$1Q["tooltip"];
|
|
10830
|
+
tooltipPlacement?: Props$1Q["placement"];
|
|
10802
10831
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10803
10832
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10804
10833
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10929,4 +10958,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10929
10958
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10930
10959
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10931
10960
|
|
|
10932
|
-
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$J as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type 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, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, HelpBlock, HoverCard, InlineStepDetail, type Props$H as InlineStepDetailProps, InlineStepLabel, type Props$G as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1p as Props, Question, type QuestionAnswers, QuestionBlock, type Props$z as QuestionBlockProps, type QuestionOption, type Props$A as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, Tabs, TabsContent, Tagger, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$
|
|
10961
|
+
export { Alert, AlertModal, AnswerSummary, type AnswerItem as AnswerSummaryItem, type Props$J as AnswerSummaryProps, type Variant$5 as AnswerSummaryVariant, AppShell, ArgoDesignContext, AutoSaveTextarea, Avatar, Badge, BrandEditor, type BrandEditorProps, type BrandId, BrandLogo, Breadcrumb, Button, ButtonGroup, ButtonInline, Calendar, type CalendarProps, Card, ChangeClassification, ChartPanel, type RootProps as ChartPanelProps, Checkbox, Clipboard, ClipboardButton, ClipboardInline, Collapse, Collapsible, CollapsiblePanel, CollapsibleStepHeader, ColorInput, ColorModeSwitch, type 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, DashboardHero, type RootProps$2 as DashboardHeroProps, DateInput, DatePicker, type DateRange, DateRangeInput, DateRangePicker, type DateRangePreset, type DiffInformation, type DiffRow, DiffType, DiffView, DotsLoader, DropdownMenu, EmptyConfigurationActionCard, EmptySearchContent, EmptyState, type RootProps$6 as EmptyStateProps, type Variant$1 as EmptyStateVariant, ErrorState, type RootProps$5 as ErrorStateProps, type Variant as ErrorStateVariant, FileUpload, FormGroup, FullScreenModal, FullScreenModalBody, FullScreenModalHeader, GoogleButton, HelpBlock, HoverCard, InlineStepDetail, type Props$H as InlineStepDetailProps, InlineStepLabel, type Props$G as InlineStepLabelProps, type Variant$3 as InlineStepLabelVariant, InputGroup, Kbd, Label, type LineInformation, Link, Markdown, MarkedText, MergeConflict, MessageBubble, MicrosoftButton, Modal, MultiActionButtonGroup, MultiCombobox, Navbar, NumberInput, OtpInput, type RootProps$7 as OtpInputProps, PageHeader, PageLayout, PageToolbar, Pagination, PaneHeader, PanelWithDetails, PasswordInput, PlanApproval, type PlanApprovalProps, type PlanApprovalStatus, PlanRewritingIndicator, type PlanRewritingIndicatorProps, Popconfirm, Popover, Progress, type PromptCommand, PromptInput, type Props$1p as Props, Question, type QuestionAnswers, QuestionBlock, type Props$z as QuestionBlockProps, type QuestionOption, type Props$A as QuestionProps, type QuestionStep, RadioGroup, type RadiusSize, ResizableHandle, ResizablePanelGroup, type ResolvedColorScheme, ScrollArea, ScrollBar, Search, SearchForm, SearchInput, SearchInputWithNavigation, Select, type SelectItem, type SelectItemGroup, Separator, type ServerFieldError, Sheet, type SideInformation, Sidebar, type SidebarMode, SidebarProvider, type SidebarSide, type SidebarSlot, Skeleton, SkeletonList, Slider, SplitButton, SpotlightBackdrop, type SpotlightTarget, StatCard, StatCardGrid, type Props$2 as StatCardGridProps, type RootProps$1 as StatCardProps, type TrendDirection as StatCardTrendDirection, type TrendProps as StatCardTrendProps, type StepStatus, Stepper, type StepperOrientation, SuggestedPrompt, Switch, Table, Tabs, TabsContent, Tagger, type TargetRect, TextInput, Textarea, type Theme, ThemeProvider, ThinkingIndicator, type ThumbTooltipFn, TimeInput, TimePicker, Timeline, type ToastOptions, Toaster, Toggle, ToggleGroup, type Tokens, ToolCallApproval, type ToolCallApprovalProps, type ToolCallApprovalStatus, ToolCallChip, type ToolCallChipProps, type ToolCallState, Tooltip, type Props$1Q as TooltipProps, TooltipProvider, type Trigger, Truncated, UsageStats, UsageStatsRing, type UseAutosizeInputOptions, type UseAutosizeInputReturn, type ValidityState, type WordInformation, ZoomableSvg, argoVariants, channelsToHex, cn, computeDiffRows, computeLineInformation, contrastRatio, copyToClipboard, hexToChannels, isMac, kbdVariants, keys, mergeRefs, setServerFieldErrors, toast, useAppForm, useArgoDesign, useAutosizeInput, useMergeDiff, useNotification, useScrollbarPosition, useSidebar, useTargetRect, useTheme, wcagLevel, withForm };
|