@keboola/design 6.2.0 → 6.3.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 +48 -0
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +48 -0
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +48 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +3 -1
- package/dist/icons.d.ts +3 -1
- package/dist/icons.js +48 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +178 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -54
- package/dist/index.d.ts +71 -54
- package/dist/index.js +178 -21
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +57 -2
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +57 -2
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +48 -0
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +48 -0
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +49 -1
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +49 -1
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +6 -5
- package/src/styles.css +4 -0
package/dist/index.d.cts
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$1W = {
|
|
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$1W & {
|
|
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$1V = 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$1V & {
|
|
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$1U = {
|
|
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$1U & {
|
|
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$1T = {
|
|
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$1T & {
|
|
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$1S = {
|
|
150
150
|
className?: string;
|
|
151
151
|
} & PropsWithChildren;
|
|
152
152
|
declare const MultiActionButtonGroup: {
|
|
153
|
-
({ children, className }: Props$
|
|
153
|
+
({ children, className }: Props$1S): 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$1R = {
|
|
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$1R & {
|
|
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$1Q = {
|
|
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$1Q) => 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$1P = {
|
|
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$1P): 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$1O = {
|
|
255
|
+
tooltip?: Props$1P['tooltip'];
|
|
256
|
+
tooltipPlacement?: Props$1P['placement'];
|
|
257
|
+
tooltipVariant?: Props$1P['variant'];
|
|
258
|
+
asChild?: Props$1P['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$1O & {
|
|
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$1N = 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$1N) => 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$1M = {
|
|
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$1M) => react_jsx_runtime.JSX.Element;
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* Compound component for readonly value/command boxes with inline copy.
|
|
@@ -379,6 +379,23 @@ declare const CopyField: {
|
|
|
379
379
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
380
380
|
};
|
|
381
381
|
|
|
382
|
+
declare const LABELS: {
|
|
383
|
+
readonly signin: "Sign in with Google";
|
|
384
|
+
readonly signup: "Sign up with Google";
|
|
385
|
+
readonly continue: "Continue with Google";
|
|
386
|
+
readonly 'signin-short': "Sign in";
|
|
387
|
+
};
|
|
388
|
+
declare const variants$3: (props?: ({
|
|
389
|
+
variant?: "default" | "neutral" | null | undefined;
|
|
390
|
+
shape?: "circle" | "rectangular" | null | undefined;
|
|
391
|
+
size?: "icon" | "default" | null | undefined;
|
|
392
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
393
|
+
type Props$1L = ComponentPropsWithRef<'button'> & VariantProps<typeof variants$3> & {
|
|
394
|
+
label?: keyof typeof LABELS;
|
|
395
|
+
isLoading?: boolean;
|
|
396
|
+
};
|
|
397
|
+
declare const GoogleButton: ({ ref, variant, shape, size, label, isLoading, disabled, type, className, children, style, ...buttonProps }: Props$1L) => react_jsx_runtime.JSX.Element;
|
|
398
|
+
|
|
382
399
|
type Props$1K = ComponentProps<'a'>;
|
|
383
400
|
declare const Link: ({ ref, children, target, rel, onClick, className, ...rest }: Props$1K & {
|
|
384
401
|
ref?: Ref<ElementRef<"a">>;
|
|
@@ -436,7 +453,7 @@ declare const Modal: {
|
|
|
436
453
|
as?: "form";
|
|
437
454
|
}) => react_jsx_runtime.JSX.Element;
|
|
438
455
|
Icon: ({ color, icon }: {
|
|
439
|
-
color: ("
|
|
456
|
+
color: ("blue" | "gray" | "green" | "orange" | "red" | "violet") | (string & {});
|
|
440
457
|
icon: react.ReactNode;
|
|
441
458
|
}) => react_jsx_runtime.JSX.Element;
|
|
442
459
|
Image: ({ src, alt }: {
|
|
@@ -1370,7 +1387,7 @@ declare const Command: {
|
|
|
1370
1387
|
};
|
|
1371
1388
|
|
|
1372
1389
|
declare const addonVariants$1: (props?: ({
|
|
1373
|
-
align?: "inline-
|
|
1390
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1374
1391
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1375
1392
|
type Props$1y = ComponentProps<'div'> & VariantProps<typeof addonVariants$1>;
|
|
1376
1393
|
declare const InputGroupAddon: ({ children, align, className, ...props }: Props$1y) => react_jsx_runtime.JSX.Element;
|
|
@@ -1972,8 +1989,8 @@ declare const RadioGroup: {
|
|
|
1972
1989
|
} & {
|
|
1973
1990
|
value: T;
|
|
1974
1991
|
tooltip?: react.ReactNode;
|
|
1975
|
-
tooltipVariant?: Props$
|
|
1976
|
-
tooltipPlacement?: Props$
|
|
1992
|
+
tooltipVariant?: Props$1P["variant"];
|
|
1993
|
+
tooltipPlacement?: Props$1P["placement"];
|
|
1977
1994
|
description?: react.ReactNode;
|
|
1978
1995
|
}) => react_jsx_runtime.JSX.Element;
|
|
1979
1996
|
Separator: () => react_jsx_runtime.JSX.Element;
|
|
@@ -2118,8 +2135,8 @@ type Props$17 = {
|
|
|
2118
2135
|
description?: ReactNode;
|
|
2119
2136
|
variant?: VariantProps<typeof fieldBoxVariants>['variant'];
|
|
2120
2137
|
position?: 'start' | 'end';
|
|
2121
|
-
tooltip?: Props$
|
|
2122
|
-
tooltipPlacement?: Props$
|
|
2138
|
+
tooltip?: Props$1P['tooltip'];
|
|
2139
|
+
tooltipPlacement?: Props$1P['placement'];
|
|
2123
2140
|
} & Omit<ComponentProps<typeof Root$8>, 'id'>;
|
|
2124
2141
|
declare function Checkbox(prop: Omit<Props$17, 'checked' | 'onCheckedChange'> & {
|
|
2125
2142
|
checked?: boolean;
|
|
@@ -2556,7 +2573,7 @@ declare const Combobox: {
|
|
|
2556
2573
|
Chips: <Value>({ maxVisible, itemToChipLabel, itemToChipColor, variant, }: {
|
|
2557
2574
|
maxVisible?: number;
|
|
2558
2575
|
itemToChipLabel?: ((item: Value) => ReactNode) | undefined;
|
|
2559
|
-
itemToChipColor?: ((item: Value) => "
|
|
2576
|
+
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
2577
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2561
2578
|
}) => react_jsx_runtime.JSX.Element;
|
|
2562
2579
|
};
|
|
@@ -2857,7 +2874,7 @@ declare const SearchInputWithNavigation: ({ ref, value, onValueChange, placehold
|
|
|
2857
2874
|
}) => react_jsx_runtime.JSX.Element;
|
|
2858
2875
|
|
|
2859
2876
|
declare const addonVariants: (props?: ({
|
|
2860
|
-
align?: "inline-
|
|
2877
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2861
2878
|
variant?: "inline" | "floating" | null | undefined;
|
|
2862
2879
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2863
2880
|
type Props$U = ComponentProps<'div'> & VariantProps<typeof addonVariants>;
|
|
@@ -2874,7 +2891,7 @@ declare const BadgeLabel: ({ ref, className, asChild, ...rest }: Props$T & {
|
|
|
2874
2891
|
|
|
2875
2892
|
declare const badgeRootVariants: (props?: ({
|
|
2876
2893
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2877
|
-
color?: "
|
|
2894
|
+
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
2895
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2879
2896
|
|
|
2880
2897
|
type Props$S = ComponentProps<'div'> & VariantProps<typeof badgeRootVariants>;
|
|
@@ -2902,7 +2919,7 @@ declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suf
|
|
|
2902
2919
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
2903
2920
|
Root: ({ ref, variant, color, className, children, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2904
2921
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
2905
|
-
color?: "
|
|
2922
|
+
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
2923
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2907
2924
|
ref?: Ref<ElementRef<"div">>;
|
|
2908
2925
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -2915,7 +2932,7 @@ declare const Badge: (({ ref, variant, color, prefix, prefixVariant, suffix, suf
|
|
|
2915
2932
|
ref?: Ref<ElementRef<"span">>;
|
|
2916
2933
|
}) => react_jsx_runtime.JSX.Element;
|
|
2917
2934
|
Addon: ({ ref, align, variant, className, ...rest }: (react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
2918
|
-
align?: "inline-
|
|
2935
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
2919
2936
|
variant?: "inline" | "floating" | null | undefined;
|
|
2920
2937
|
} & class_variance_authority_types.ClassProp) | undefined) => string>) & {
|
|
2921
2938
|
ref?: Ref<ElementRef<"div">>;
|
|
@@ -4570,6 +4587,7 @@ declare const FormGroup: {
|
|
|
4570
4587
|
disabled?: boolean | undefined | undefined;
|
|
4571
4588
|
value?: string | null | undefined;
|
|
4572
4589
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
4590
|
+
wrap?: string | undefined | undefined;
|
|
4573
4591
|
required?: boolean | undefined | undefined;
|
|
4574
4592
|
autoComplete?: string | undefined | undefined;
|
|
4575
4593
|
maxLength?: number | undefined | undefined;
|
|
@@ -4578,7 +4596,6 @@ declare const FormGroup: {
|
|
|
4578
4596
|
readOnly?: boolean | undefined | undefined;
|
|
4579
4597
|
cols?: number | undefined | undefined;
|
|
4580
4598
|
dirName?: string | undefined | undefined;
|
|
4581
|
-
wrap?: string | undefined | undefined;
|
|
4582
4599
|
maxRows?: number | "unlimited" | undefined;
|
|
4583
4600
|
minRows?: number | undefined;
|
|
4584
4601
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -5396,7 +5413,7 @@ declare const PageToolbar: (({ ref, className, children, ...props }: DivProps) =
|
|
|
5396
5413
|
*/
|
|
5397
5414
|
Token: ({ children, popover, onRemove, removeAriaLabel, ...props }: Omit<Omit<Pick<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & class_variance_authority.VariantProps<(props?: ({
|
|
5398
5415
|
variant?: "default" | "tag" | "pill" | null | undefined;
|
|
5399
|
-
color?: "
|
|
5416
|
+
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
5417
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
5401
5418
|
ref?: Ref<ElementRef<"div">>;
|
|
5402
5419
|
}, "variant" | "color"> & Omit<react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -6456,8 +6473,8 @@ type Props$9 = {
|
|
|
6456
6473
|
tooltip?: ReactNode;
|
|
6457
6474
|
twoLines?: boolean;
|
|
6458
6475
|
noTooltip?: boolean;
|
|
6459
|
-
tooltipVariant?: Props$
|
|
6460
|
-
tooltipPlacement?: Props$
|
|
6476
|
+
tooltipVariant?: Props$1P['variant'];
|
|
6477
|
+
tooltipPlacement?: Props$1P['placement'];
|
|
6461
6478
|
} & Omit<ComponentPropsWithoutRef<'span'>, 'children'>;
|
|
6462
6479
|
declare const Truncated: ({ ref, text, tooltip, className, twoLines, noTooltip, tooltipVariant, tooltipPlacement, ...rest }: Props$9 & {
|
|
6463
6480
|
ref?: Ref<ElementRef<"span">>;
|
|
@@ -8050,6 +8067,7 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8050
8067
|
disabled?: boolean | undefined | undefined;
|
|
8051
8068
|
value?: string | null | undefined;
|
|
8052
8069
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
8070
|
+
wrap?: string | undefined | undefined;
|
|
8053
8071
|
required?: boolean | undefined | undefined;
|
|
8054
8072
|
autoComplete?: string | undefined | undefined;
|
|
8055
8073
|
maxLength?: number | undefined | undefined;
|
|
@@ -8058,7 +8076,6 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8058
8076
|
readOnly?: boolean | undefined | undefined;
|
|
8059
8077
|
cols?: number | undefined | undefined;
|
|
8060
8078
|
dirName?: string | undefined | undefined;
|
|
8061
|
-
wrap?: string | undefined | undefined;
|
|
8062
8079
|
maxRows?: number | "unlimited" | undefined;
|
|
8063
8080
|
minRows?: number | undefined;
|
|
8064
8081
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -8099,8 +8116,8 @@ declare const useAppForm: <TFormData, TOnMount extends _tanstack_react_form.Form
|
|
|
8099
8116
|
description?: react.ReactNode;
|
|
8100
8117
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
8101
8118
|
position?: "start" | "end";
|
|
8102
|
-
tooltip?: Props$
|
|
8103
|
-
tooltipPlacement?: Props$
|
|
8119
|
+
tooltip?: Props$1P["tooltip"];
|
|
8120
|
+
tooltipPlacement?: Props$1P["placement"];
|
|
8104
8121
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
8105
8122
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
8106
8123
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -9399,6 +9416,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9399
9416
|
disabled?: boolean | undefined | undefined;
|
|
9400
9417
|
value?: string | null | undefined;
|
|
9401
9418
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
9419
|
+
wrap?: string | undefined | undefined;
|
|
9402
9420
|
required?: boolean | undefined | undefined;
|
|
9403
9421
|
autoComplete?: string | undefined | undefined;
|
|
9404
9422
|
maxLength?: number | undefined | undefined;
|
|
@@ -9407,7 +9425,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9407
9425
|
readOnly?: boolean | undefined | undefined;
|
|
9408
9426
|
cols?: number | undefined | undefined;
|
|
9409
9427
|
dirName?: string | undefined | undefined;
|
|
9410
|
-
wrap?: string | undefined | undefined;
|
|
9411
9428
|
maxRows?: number | "unlimited" | undefined;
|
|
9412
9429
|
minRows?: number | undefined;
|
|
9413
9430
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -9448,8 +9465,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
9448
9465
|
description?: react.ReactNode;
|
|
9449
9466
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
9450
9467
|
position?: "start" | "end";
|
|
9451
|
-
tooltip?: Props$
|
|
9452
|
-
tooltipPlacement?: Props$
|
|
9468
|
+
tooltip?: Props$1P["tooltip"];
|
|
9469
|
+
tooltipPlacement?: Props$1P["placement"];
|
|
9453
9470
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
9454
9471
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
9455
9472
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10748,6 +10765,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10748
10765
|
disabled?: boolean | undefined | undefined;
|
|
10749
10766
|
value?: string | null | undefined;
|
|
10750
10767
|
onValueChange?: (((value: string) => void) & ((value: string) => void)) | undefined;
|
|
10768
|
+
wrap?: string | undefined | undefined;
|
|
10751
10769
|
required?: boolean | undefined | undefined;
|
|
10752
10770
|
autoComplete?: string | undefined | undefined;
|
|
10753
10771
|
maxLength?: number | undefined | undefined;
|
|
@@ -10756,7 +10774,6 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10756
10774
|
readOnly?: boolean | undefined | undefined;
|
|
10757
10775
|
cols?: number | undefined | undefined;
|
|
10758
10776
|
dirName?: string | undefined | undefined;
|
|
10759
|
-
wrap?: string | undefined | undefined;
|
|
10760
10777
|
maxRows?: number | "unlimited" | undefined;
|
|
10761
10778
|
minRows?: number | undefined;
|
|
10762
10779
|
onHeightChange?: ((height: number, meta: react_textarea_autosize.TextareaHeightChangeMeta) => void) | undefined;
|
|
@@ -10797,8 +10814,8 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form.FormVa
|
|
|
10797
10814
|
description?: react.ReactNode;
|
|
10798
10815
|
variant?: class_variance_authority.VariantProps<typeof fieldBoxVariants>["variant"];
|
|
10799
10816
|
position?: "start" | "end";
|
|
10800
|
-
tooltip?: Props$
|
|
10801
|
-
tooltipPlacement?: Props$
|
|
10817
|
+
tooltip?: Props$1P["tooltip"];
|
|
10818
|
+
tooltipPlacement?: Props$1P["placement"];
|
|
10802
10819
|
} & Omit<_radix_ui_react_checkbox.CheckboxProps & react.RefAttributes<HTMLButtonElement>, "id">, "checked" | "onCheckedChange"> & {
|
|
10803
10820
|
checked?: _radix_ui_react_checkbox.CheckedState;
|
|
10804
10821
|
onCheckedChange?: (checked: _radix_ui_react_checkbox.CheckedState) => void;
|
|
@@ -10929,4 +10946,4 @@ declare const contrastRatio: (fg: string, bg: string) => number;
|
|
|
10929
10946
|
/** WCAG level for normal-size text at a given ratio. */
|
|
10930
10947
|
declare const wcagLevel: (ratio: number) => "AAA" | "AA" | "fail";
|
|
10931
10948
|
|
|
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$
|
|
10949
|
+
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, 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$1P 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 };
|