@uniformdev/design-system 20.35.0 → 20.35.1-alpha.210
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/README.md +246 -0
- package/dist/esm/index.js +6119 -4797
- package/dist/index.d.mts +520 -202
- package/dist/index.d.ts +520 -202
- package/dist/index.js +4692 -3348
- package/package.json +34 -34
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { Decorator } from '@storybook/react';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
|
-
import React__default, { RefObject, ReactElement,
|
|
4
|
+
import React__default, { RefObject, ReactElement, HTMLAttributes, ReactNode, ButtonHTMLAttributes, ImgHTMLAttributes, SVGProps, InputHTMLAttributes, CSSProperties, Ref, HtmlHTMLAttributes, PropsWithChildren, FocusEventHandler, ChangeEvent } from 'react';
|
|
5
5
|
import { GroupBase, Props, MultiValue, SingleValue } from 'react-select';
|
|
6
6
|
export { ActionMeta, FormatOptionLabelContext, FormatOptionLabelMeta, GetOptionLabel, GetOptionValue, GroupBase, GroupHeadingProps, GroupProps, MenuListProps, MenuPlacement, MultiValue, MultiValueGenericProps, MultiValueProps, MultiValueRemoveProps, OnChangeValue, OptionContext, OptionProps, Options, OptionsOrGroups } from 'react-select';
|
|
7
7
|
import * as _emotion_react from '@emotion/react';
|
|
@@ -9,14 +9,13 @@ import { SerializedStyles } from '@emotion/react';
|
|
|
9
9
|
import * as _ariakit_react from '@ariakit/react';
|
|
10
10
|
import { TooltipOptions, TooltipStoreProps, TooltipProps as TooltipProps$1, ButtonProps as ButtonProps$1, MenuStoreProps, PopoverStoreState, MenuProps as MenuProps$1, Menu as Menu$1, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, PopoverStore, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
11
11
|
export { PopoverStore } from '@ariakit/react';
|
|
12
|
-
import {
|
|
13
|
-
import { IconType as IconType$1, IconBaseProps } from '@react-icons/all-files/lib';
|
|
12
|
+
import { IconType as IconType$2, IconBaseProps } from '@react-icons/all-files/lib';
|
|
14
13
|
import * as _react_icons_all_files from '@react-icons/all-files';
|
|
15
|
-
import { IconType as IconType$
|
|
14
|
+
import { IconType as IconType$1 } from '@react-icons/all-files';
|
|
16
15
|
import { DateValue } from '@internationalized/date';
|
|
17
16
|
import { CalendarProps as CalendarProps$1, TimeFieldProps, TimeValue } from 'react-aria-components';
|
|
18
17
|
import { CreatableProps } from 'react-select/creatable';
|
|
19
|
-
import { JsonSchema7Type } from 'zod-to-json-schema
|
|
18
|
+
import { JsonSchema7Type } from 'zod-to-json-schema';
|
|
20
19
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
21
20
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
22
21
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
@@ -80,6 +79,14 @@ declare const supports: (cssProp: string) => string;
|
|
|
80
79
|
* @example `${cq('300px')} { background: red; }`
|
|
81
80
|
*/
|
|
82
81
|
declare const cq: (size: string) => string;
|
|
82
|
+
/**
|
|
83
|
+
* Prefers Reduced Motion Helper Function
|
|
84
|
+
* @function
|
|
85
|
+
* @param {string} cssProp - The css property you want to check support
|
|
86
|
+
* @returns {string} - compiled prefers reduced motion query e.g. @media (prefers-reduced-motion: reduce)
|
|
87
|
+
* @example `${prefersReducedMotion('reduce')} { animation: none; }`
|
|
88
|
+
*/
|
|
89
|
+
declare const prefersReducedMotion: (cssProp: "reduce" | "no-preference") => string;
|
|
83
90
|
|
|
84
91
|
/** @deprecated for internal use only */
|
|
85
92
|
declare const debounce: (fn: (...args: any[]) => void, ms?: number) => (this: any, ...args: any[]) => void;
|
|
@@ -105,6 +112,7 @@ declare const getParentPath: (path: string | undefined, noRootSlash?: boolean) =
|
|
|
105
112
|
declare const useOutsideClick: (containerRef: RefObject<HTMLElement | null>, handler: () => void) => void;
|
|
106
113
|
|
|
107
114
|
declare const button: _emotion_react.SerializedStyles;
|
|
115
|
+
declare const buttonDisabled: _emotion_react.SerializedStyles;
|
|
108
116
|
declare const buttonRippleEffect: (props: {
|
|
109
117
|
hoverColor: string;
|
|
110
118
|
activeColor?: string;
|
|
@@ -162,34 +170,94 @@ declare const functionalColors: _emotion_react.SerializedStyles;
|
|
|
162
170
|
* growSubtle animation
|
|
163
171
|
* @description - increases the size of an element from scale(1) - scale(1.15) and back down to scale(1) using transform: scale(1)
|
|
164
172
|
*/
|
|
165
|
-
declare const growSubtle:
|
|
173
|
+
declare const growSubtle: {
|
|
174
|
+
name: string;
|
|
175
|
+
styles: string;
|
|
176
|
+
anim: 1;
|
|
177
|
+
toString: () => string;
|
|
178
|
+
} & string;
|
|
166
179
|
/**
|
|
167
180
|
* fadeInBottom animation
|
|
168
181
|
* @description - fades in an element from the Y axis by 10px
|
|
169
182
|
*/
|
|
170
|
-
declare const fadeInBottom:
|
|
183
|
+
declare const fadeInBottom: {
|
|
184
|
+
name: string;
|
|
185
|
+
styles: string;
|
|
186
|
+
anim: 1;
|
|
187
|
+
toString: () => string;
|
|
188
|
+
} & string;
|
|
171
189
|
/**
|
|
172
190
|
* fadeInTop animation
|
|
173
191
|
* @description - fades in an element from the Y axis by -10px
|
|
174
192
|
*/
|
|
175
|
-
declare const fadeInTop:
|
|
193
|
+
declare const fadeInTop: {
|
|
194
|
+
name: string;
|
|
195
|
+
styles: string;
|
|
196
|
+
anim: 1;
|
|
197
|
+
toString: () => string;
|
|
198
|
+
} & string;
|
|
176
199
|
/**
|
|
177
200
|
* fadeOutBottom animation
|
|
178
201
|
* @description - fades out an element from the Y axis by 10px
|
|
179
202
|
*/
|
|
180
|
-
declare const fadeOutBottom:
|
|
203
|
+
declare const fadeOutBottom: {
|
|
204
|
+
name: string;
|
|
205
|
+
styles: string;
|
|
206
|
+
anim: 1;
|
|
207
|
+
toString: () => string;
|
|
208
|
+
} & string;
|
|
181
209
|
/**
|
|
182
210
|
* fadeIn animation
|
|
183
211
|
* @description - fade in an element from 0 to 1 opacity
|
|
184
212
|
*/
|
|
185
|
-
declare const fadeIn:
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
declare const
|
|
192
|
-
|
|
213
|
+
declare const fadeIn: {
|
|
214
|
+
name: string;
|
|
215
|
+
styles: string;
|
|
216
|
+
anim: 1;
|
|
217
|
+
toString: () => string;
|
|
218
|
+
} & string;
|
|
219
|
+
declare const ripple: {
|
|
220
|
+
name: string;
|
|
221
|
+
styles: string;
|
|
222
|
+
anim: 1;
|
|
223
|
+
toString: () => string;
|
|
224
|
+
} & string;
|
|
225
|
+
declare const skeletonLoading: {
|
|
226
|
+
name: string;
|
|
227
|
+
styles: string;
|
|
228
|
+
anim: 1;
|
|
229
|
+
toString: () => string;
|
|
230
|
+
} & string;
|
|
231
|
+
declare const fadeInLtr: {
|
|
232
|
+
name: string;
|
|
233
|
+
styles: string;
|
|
234
|
+
anim: 1;
|
|
235
|
+
toString: () => string;
|
|
236
|
+
} & string;
|
|
237
|
+
declare const fadeInRtl: {
|
|
238
|
+
name: string;
|
|
239
|
+
styles: string;
|
|
240
|
+
anim: 1;
|
|
241
|
+
toString: () => string;
|
|
242
|
+
} & string;
|
|
243
|
+
declare const slideInTtb: {
|
|
244
|
+
name: string;
|
|
245
|
+
styles: string;
|
|
246
|
+
anim: 1;
|
|
247
|
+
toString: () => string;
|
|
248
|
+
} & string;
|
|
249
|
+
declare const slideInRtl: {
|
|
250
|
+
name: string;
|
|
251
|
+
styles: string;
|
|
252
|
+
anim: 1;
|
|
253
|
+
toString: () => string;
|
|
254
|
+
} & string;
|
|
255
|
+
declare const spin: {
|
|
256
|
+
name: string;
|
|
257
|
+
styles: string;
|
|
258
|
+
anim: 1;
|
|
259
|
+
toString: () => string;
|
|
260
|
+
} & string;
|
|
193
261
|
|
|
194
262
|
/** Custom scrollbar styles */
|
|
195
263
|
declare const scrollbarStyles: _emotion_react.SerializedStyles;
|
|
@@ -389,6 +457,12 @@ type UseShortcutOptions = {
|
|
|
389
457
|
* 'silent' will not show a toast notification when the shortcut is invoked while disabled.
|
|
390
458
|
*/
|
|
391
459
|
disabled?: boolean | 'silent';
|
|
460
|
+
/**
|
|
461
|
+
* Use the produced key instead of the physical key code.
|
|
462
|
+
* Useful for special characters (like /, [, ], etc.) that can vary in position across keyboard layouts.
|
|
463
|
+
* Defaults to false (uses key code).
|
|
464
|
+
*/
|
|
465
|
+
useKey?: boolean;
|
|
392
466
|
};
|
|
393
467
|
type ShortcutReference = {
|
|
394
468
|
shortcut: string;
|
|
@@ -396,20 +470,20 @@ type ShortcutReference = {
|
|
|
396
470
|
disabled: boolean;
|
|
397
471
|
};
|
|
398
472
|
interface UseShortcutResult extends ShortcutReference {
|
|
399
|
-
focusTrap:
|
|
473
|
+
focusTrap: RefObject<HTMLElement | null>;
|
|
400
474
|
}
|
|
401
|
-
declare function useShortcut({ disabled, handler, shortcut, macShortcut, doNotPreventDefault, activeWhenEditing, }: UseShortcutOptions): UseShortcutResult;
|
|
475
|
+
declare function useShortcut({ disabled, handler, shortcut, macShortcut, doNotPreventDefault, activeWhenEditing, useKey, }: UseShortcutOptions): UseShortcutResult;
|
|
402
476
|
|
|
403
477
|
type TooltipProps = TooltipOptions & {
|
|
404
478
|
/** Content of tooltip popover */
|
|
405
|
-
title: string |
|
|
479
|
+
title: string | React.ReactElement;
|
|
406
480
|
/** Optional ability to specify alternative placement. By default - bottom center */
|
|
407
481
|
placement?: TooltipStoreProps['placement'];
|
|
408
482
|
/** Optional ability to control visibility of Tooltip manually, useful for showing tooltip on click instead of on hover */
|
|
409
483
|
visible?: TooltipStoreProps['open'];
|
|
410
484
|
/** Offset between the reference and the popover on the main axis. Use it only in special cases. */
|
|
411
485
|
gutter?: TooltipProps$1['gutter'];
|
|
412
|
-
children:
|
|
486
|
+
children: ReactElement;
|
|
413
487
|
/** If the tooltip should not be rendered inside a portal */
|
|
414
488
|
withoutPortal?: boolean;
|
|
415
489
|
/** sets the delay time before showing the tooltip
|
|
@@ -420,22 +494,22 @@ type TooltipProps = TooltipOptions & {
|
|
|
420
494
|
declare function Tooltip({ children, title, placement, visible, withoutPortal, timeout, ...tooltipProps }: TooltipProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
421
495
|
|
|
422
496
|
/** Button sizes that are available to use with our brand */
|
|
423
|
-
type ButtonSizeProps
|
|
497
|
+
type ButtonSizeProps = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
424
498
|
/** Button themes that are available to use with our brand */
|
|
425
|
-
type ButtonThemeProps
|
|
499
|
+
type ButtonThemeProps = 'primary' | 'secondary' | 'accent-alt-dark' | 'accent-alt-dark-outline' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
426
500
|
/** @deprecated - Beta Button themes for the soft variant */
|
|
427
501
|
type ButtonSoftThemeProps = 'primary' | 'tertiary' | 'alt' | 'destructive' | 'accent-primary';
|
|
428
502
|
type ButtonStylesProps = ButtonDefaultStylesProps | ButtonSoftStylesProps;
|
|
429
503
|
type ButtonDefaultStylesProps = {
|
|
430
|
-
theme: ButtonThemeProps
|
|
431
|
-
size: ButtonSizeProps
|
|
504
|
+
theme: ButtonThemeProps;
|
|
505
|
+
size: ButtonSizeProps;
|
|
432
506
|
};
|
|
433
507
|
type ButtonSoftStylesProps = {
|
|
434
508
|
theme: ButtonSoftThemeProps;
|
|
435
|
-
size: ButtonSizeProps
|
|
509
|
+
size: ButtonSizeProps;
|
|
436
510
|
variant?: 'soft' | undefined;
|
|
437
511
|
};
|
|
438
|
-
declare const getButtonSize: (size: ButtonSizeProps
|
|
512
|
+
declare const getButtonSize: (size: ButtonSizeProps) => string;
|
|
439
513
|
declare const getButtonStyles: ({ size, ...props }: ButtonStylesProps) => {
|
|
440
514
|
buttonTheme: SerializedStyles;
|
|
441
515
|
btnSize: string;
|
|
@@ -450,13 +524,13 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
450
524
|
/** sets the theme of the button
|
|
451
525
|
* @default "primary"
|
|
452
526
|
*/
|
|
453
|
-
buttonType?: ButtonThemeProps
|
|
527
|
+
buttonType?: ButtonThemeProps;
|
|
454
528
|
/** React child node */
|
|
455
529
|
children?: React$1.ReactNode;
|
|
456
530
|
/**
|
|
457
531
|
* @default "md"
|
|
458
532
|
* */
|
|
459
|
-
size?: ButtonSizeProps
|
|
533
|
+
size?: ButtonSizeProps;
|
|
460
534
|
/**
|
|
461
535
|
* Sets a tooltip on the button when hovered
|
|
462
536
|
* Note that the tooltip will be shown whether disabled or not.
|
|
@@ -484,39 +558,92 @@ type ButtonWithVariantProps = Omit<ButtonProps, 'buttonType'> & {
|
|
|
484
558
|
*/
|
|
485
559
|
declare const Button: React$1.ForwardRefExoticComponent<(Omit<ButtonProps, "ref"> | Omit<ButtonWithVariantProps, "ref">) & React$1.RefAttributes<HTMLButtonElement>>;
|
|
486
560
|
|
|
561
|
+
declare const rectangleRoundedIcon: IconType$1;
|
|
562
|
+
declare const cardIcon: IconType$1;
|
|
563
|
+
declare const imageTextIcon: IconType$1;
|
|
564
|
+
declare const borderTopIcon: IconType$1;
|
|
565
|
+
declare const fullWidthScreenIcon: IconType$1;
|
|
566
|
+
declare const textInput: IconType$1;
|
|
567
|
+
declare const numberInput: IconType$1;
|
|
568
|
+
declare const canvasAlertIcon: IconType$1;
|
|
569
|
+
declare const warningIcon: IconType$1;
|
|
570
|
+
declare const infoFilledIcon: IconType$1;
|
|
571
|
+
declare const settingsIcon: IconType$1;
|
|
572
|
+
declare const settings: IconType$1;
|
|
573
|
+
declare const queryStringIcon: IconType$1;
|
|
574
|
+
declare const structurePanelIcon: IconType$1;
|
|
575
|
+
declare const jsonIcon: IconType$1;
|
|
576
|
+
declare const yesNoIcon: IconType$1;
|
|
577
|
+
declare const zigZag: IconType$1;
|
|
578
|
+
declare const zigZagThick: IconType$1;
|
|
579
|
+
declare const customIcons: {
|
|
580
|
+
'rectangle-rounded': IconType$1;
|
|
581
|
+
card: IconType$1;
|
|
582
|
+
'image-text': IconType$1;
|
|
583
|
+
'border-top': IconType$1;
|
|
584
|
+
'full-width-screen': IconType$1;
|
|
585
|
+
'text-input': IconType$1;
|
|
586
|
+
'number-input': IconType$1;
|
|
587
|
+
'canvas-alert': IconType$1;
|
|
588
|
+
warning: IconType$1;
|
|
589
|
+
'info-filled': IconType$1;
|
|
590
|
+
settings: IconType$1;
|
|
591
|
+
'query-string': IconType$1;
|
|
592
|
+
json: IconType$1;
|
|
593
|
+
'format-bold': IconType$1;
|
|
594
|
+
'format-code': IconType$1;
|
|
595
|
+
'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
596
|
+
'format-superscript': IconType$1;
|
|
597
|
+
'format-subscript': IconType$1;
|
|
598
|
+
'layout-list-numbered': IconType$1;
|
|
599
|
+
'clear-formatting': IconType$1;
|
|
600
|
+
'yes-no': IconType$1;
|
|
601
|
+
'diamond-outline': IconType$1;
|
|
602
|
+
'diamond-fill': IconType$1;
|
|
603
|
+
'magic-wand': IconType$1;
|
|
604
|
+
'list-view-short': IconType$1;
|
|
605
|
+
'list-view-long': IconType$1;
|
|
606
|
+
'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
607
|
+
'clipboard-copy': IconType$1;
|
|
608
|
+
'clipboard-paste': IconType$1;
|
|
609
|
+
refresh: IconType$1;
|
|
610
|
+
'zig-zag': IconType$1;
|
|
611
|
+
'zig-zag-thick': IconType$1;
|
|
612
|
+
};
|
|
613
|
+
|
|
487
614
|
declare const allSupportedIcons: {
|
|
488
|
-
'rectangle-rounded':
|
|
489
|
-
card:
|
|
490
|
-
'image-text':
|
|
491
|
-
'border-top':
|
|
492
|
-
'full-width-screen':
|
|
493
|
-
'text-input':
|
|
494
|
-
'number-input':
|
|
495
|
-
'canvas-alert':
|
|
496
|
-
warning:
|
|
497
|
-
'info-filled':
|
|
498
|
-
settings:
|
|
499
|
-
'query-string':
|
|
500
|
-
json:
|
|
501
|
-
'format-bold':
|
|
502
|
-
'format-code':
|
|
615
|
+
'rectangle-rounded': _react_icons_all_files.IconType;
|
|
616
|
+
card: _react_icons_all_files.IconType;
|
|
617
|
+
'image-text': _react_icons_all_files.IconType;
|
|
618
|
+
'border-top': _react_icons_all_files.IconType;
|
|
619
|
+
'full-width-screen': _react_icons_all_files.IconType;
|
|
620
|
+
'text-input': _react_icons_all_files.IconType;
|
|
621
|
+
'number-input': _react_icons_all_files.IconType;
|
|
622
|
+
'canvas-alert': _react_icons_all_files.IconType;
|
|
623
|
+
warning: _react_icons_all_files.IconType;
|
|
624
|
+
'info-filled': _react_icons_all_files.IconType;
|
|
625
|
+
settings: _react_icons_all_files.IconType;
|
|
626
|
+
'query-string': _react_icons_all_files.IconType;
|
|
627
|
+
json: _react_icons_all_files.IconType;
|
|
628
|
+
'format-bold': _react_icons_all_files.IconType;
|
|
629
|
+
'format-code': _react_icons_all_files.IconType;
|
|
503
630
|
'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
504
|
-
'format-superscript':
|
|
505
|
-
'format-subscript':
|
|
506
|
-
'layout-list-numbered':
|
|
507
|
-
'clear-formatting':
|
|
508
|
-
'yes-no':
|
|
509
|
-
'diamond-outline':
|
|
510
|
-
'diamond-fill':
|
|
511
|
-
'magic-wand':
|
|
512
|
-
'list-view-short':
|
|
513
|
-
'list-view-long':
|
|
631
|
+
'format-superscript': _react_icons_all_files.IconType;
|
|
632
|
+
'format-subscript': _react_icons_all_files.IconType;
|
|
633
|
+
'layout-list-numbered': _react_icons_all_files.IconType;
|
|
634
|
+
'clear-formatting': _react_icons_all_files.IconType;
|
|
635
|
+
'yes-no': _react_icons_all_files.IconType;
|
|
636
|
+
'diamond-outline': _react_icons_all_files.IconType;
|
|
637
|
+
'diamond-fill': _react_icons_all_files.IconType;
|
|
638
|
+
'magic-wand': _react_icons_all_files.IconType;
|
|
639
|
+
'list-view-short': _react_icons_all_files.IconType;
|
|
640
|
+
'list-view-long': _react_icons_all_files.IconType;
|
|
514
641
|
'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
515
|
-
'clipboard-copy':
|
|
516
|
-
'clipboard-paste':
|
|
517
|
-
refresh:
|
|
518
|
-
'zig-zag':
|
|
519
|
-
'zig-zag-thick':
|
|
642
|
+
'clipboard-copy': _react_icons_all_files.IconType;
|
|
643
|
+
'clipboard-paste': _react_icons_all_files.IconType;
|
|
644
|
+
refresh: _react_icons_all_files.IconType;
|
|
645
|
+
'zig-zag': _react_icons_all_files.IconType;
|
|
646
|
+
'zig-zag-thick': _react_icons_all_files.IconType;
|
|
520
647
|
'add-r': _react_icons_all_files.IconType;
|
|
521
648
|
add: _react_icons_all_files.IconType;
|
|
522
649
|
airplane: _react_icons_all_files.IconType;
|
|
@@ -1171,11 +1298,11 @@ declare const allSupportedIcons: {
|
|
|
1171
1298
|
/** A list of available icon names that can be used with the Uniform brand */
|
|
1172
1299
|
type IconName = keyof typeof allSupportedIcons;
|
|
1173
1300
|
/** sets the type of icon to use from the available list */
|
|
1174
|
-
type IconType = IconName | IconType$
|
|
1301
|
+
type IconType = IconName | IconType$2;
|
|
1175
1302
|
/** sets fill color of the svg icon
|
|
1176
1303
|
* @default 'default'
|
|
1177
1304
|
*/
|
|
1178
|
-
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'gray300' | 'accent' | 'currentColor' | 'accent-dark' | 'accent-light' | 'accent-alt-dark';
|
|
1305
|
+
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'gray300' | 'accent' | 'currentColor' | 'accent-dark' | 'accent-light' | 'accent-alt-dark' | 'utility-success';
|
|
1179
1306
|
interface IconProps extends IconBaseProps {
|
|
1180
1307
|
/** sets the icon to be used */
|
|
1181
1308
|
icon: IconType;
|
|
@@ -1185,66 +1312,13 @@ interface IconProps extends IconBaseProps {
|
|
|
1185
1312
|
otherProps?: IconBaseProps;
|
|
1186
1313
|
}
|
|
1187
1314
|
|
|
1188
|
-
declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1189
|
-
declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1190
|
-
declare const imageTextIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1191
|
-
declare const borderTopIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1192
|
-
declare const fullWidthScreenIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1193
|
-
declare const textInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1194
|
-
declare const numberInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1195
|
-
declare const canvasAlertIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1196
|
-
declare const warningIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1197
|
-
declare const infoFilledIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1198
|
-
declare const settingsIcon: IconType$2;
|
|
1199
|
-
declare const settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1200
|
-
declare const queryStringIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1201
|
-
declare const structurePanelIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1202
|
-
declare const jsonIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1203
|
-
declare const yesNoIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1204
|
-
declare const zigZag: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1205
|
-
declare const zigZagThick: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1206
|
-
declare const customIcons: {
|
|
1207
|
-
'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1208
|
-
card: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1209
|
-
'image-text': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1210
|
-
'border-top': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1211
|
-
'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1212
|
-
'text-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1213
|
-
'number-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1214
|
-
'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1215
|
-
warning: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1216
|
-
'info-filled': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1217
|
-
settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1218
|
-
'query-string': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1219
|
-
json: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1220
|
-
'format-bold': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1221
|
-
'format-code': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1222
|
-
'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1223
|
-
'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1224
|
-
'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1225
|
-
'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1226
|
-
'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1227
|
-
'yes-no': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1228
|
-
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1229
|
-
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1230
|
-
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1231
|
-
'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1232
|
-
'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1233
|
-
'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1234
|
-
'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1235
|
-
'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1236
|
-
refresh: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1237
|
-
'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1238
|
-
'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
|
|
1239
|
-
};
|
|
1240
|
-
|
|
1241
1315
|
/**
|
|
1242
1316
|
* Component that renders icons
|
|
1243
1317
|
* @example <Icon icon="add-r" iconColor="currentColor" />
|
|
1244
1318
|
*/
|
|
1245
1319
|
declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
|
|
1246
1320
|
|
|
1247
|
-
type IconsMap = Record<string, IconType$
|
|
1321
|
+
type IconsMap = Record<string, IconType$2>;
|
|
1248
1322
|
declare function useIconContext(): {
|
|
1249
1323
|
iconsMap: IconsMap;
|
|
1250
1324
|
isLoading: boolean;
|
|
@@ -1257,43 +1331,53 @@ declare function IconsProvider({ children }: {
|
|
|
1257
1331
|
children: ReactNode;
|
|
1258
1332
|
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
1259
1333
|
|
|
1260
|
-
declare const uniformComponentIcon: IconType$
|
|
1261
|
-
declare const uniformConditionalValuesIcon: IconType$
|
|
1262
|
-
declare const uniformAiIcon:
|
|
1263
|
-
declare const uniformLocaleIcon: IconType$
|
|
1264
|
-
declare const uniformLocaleDisabledIcon: IconType$
|
|
1265
|
-
declare const uniformComponentPatternIcon: IconType$
|
|
1266
|
-
declare const uniformCompositionPatternIcon: IconType$
|
|
1267
|
-
declare const uniformContentTypeIcon: IconType$
|
|
1268
|
-
declare const uniformEntryIcon: IconType$
|
|
1269
|
-
declare const uniformEntryPatternIcon: IconType$
|
|
1270
|
-
declare const uniformStatusDraftIcon: IconType$
|
|
1271
|
-
declare const uniformStatusModifiedIcon: IconType$
|
|
1272
|
-
declare const uniformStatusPublishedIcon: IconType$
|
|
1273
|
-
declare const uniformUsageStatusIcon: IconType$
|
|
1274
|
-
|
|
1275
|
-
type
|
|
1276
|
-
|
|
1277
|
-
|
|
1334
|
+
declare const uniformComponentIcon: IconType$2;
|
|
1335
|
+
declare const uniformConditionalValuesIcon: IconType$2;
|
|
1336
|
+
declare const uniformAiIcon: IconType$2;
|
|
1337
|
+
declare const uniformLocaleIcon: IconType$2;
|
|
1338
|
+
declare const uniformLocaleDisabledIcon: IconType$2;
|
|
1339
|
+
declare const uniformComponentPatternIcon: IconType$2;
|
|
1340
|
+
declare const uniformCompositionPatternIcon: IconType$2;
|
|
1341
|
+
declare const uniformContentTypeIcon: IconType$2;
|
|
1342
|
+
declare const uniformEntryIcon: IconType$2;
|
|
1343
|
+
declare const uniformEntryPatternIcon: IconType$2;
|
|
1344
|
+
declare const uniformStatusDraftIcon: IconType$2;
|
|
1345
|
+
declare const uniformStatusModifiedIcon: IconType$2;
|
|
1346
|
+
declare const uniformStatusPublishedIcon: IconType$2;
|
|
1347
|
+
declare const uniformUsageStatusIcon: IconType$2;
|
|
1348
|
+
|
|
1349
|
+
type ButtonWithMenuThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost' | 'secondaryOutline';
|
|
1350
|
+
/** Note: base is deprecated, use md instead for consistency with Button */
|
|
1351
|
+
type ButtonWithMenuSizeProps = 'sm' | 'base' | 'md' | 'lg';
|
|
1352
|
+
type ButtonWithMenuSoftThemeProps = {
|
|
1353
|
+
variant: 'soft' /** sets the theme of the button
|
|
1354
|
+
* @default "primary"
|
|
1355
|
+
*/;
|
|
1356
|
+
buttonType?: ButtonSoftThemeProps;
|
|
1357
|
+
};
|
|
1358
|
+
type ButtonWithMenuDefaultStylesProps = {
|
|
1359
|
+
/** sets the theme of the button
|
|
1360
|
+
* @default "secondary"
|
|
1361
|
+
*/
|
|
1362
|
+
buttonType?: ButtonWithMenuThemeProps;
|
|
1363
|
+
};
|
|
1364
|
+
type ButtonWithMenuStylesProps = ButtonWithMenuDefaultStylesProps | ButtonWithMenuSoftThemeProps;
|
|
1365
|
+
interface ActionButtonsProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'size' | 'disabled'> {
|
|
1278
1366
|
/** Takes a function for the visible button */
|
|
1279
1367
|
onButtonClick?: () => void;
|
|
1280
1368
|
/** (optional) ariakit placements options for the expandable menu */
|
|
1281
1369
|
placement?: MenuStoreProps['placement'];
|
|
1282
|
-
/** sets the theme of the button
|
|
1283
|
-
* @default "secondary"
|
|
1284
|
-
*/
|
|
1285
|
-
buttonType?: ButtonThemeProps;
|
|
1286
1370
|
/** sets the button text value */
|
|
1287
|
-
buttonText: React
|
|
1371
|
+
buttonText: React.ReactNode;
|
|
1288
1372
|
/** sets a leading icon supporting the button text */
|
|
1289
1373
|
icon?: IconName;
|
|
1290
1374
|
/** adds child components to the ButtonWithMenu component */
|
|
1291
|
-
children: React
|
|
1375
|
+
children: React.ReactNode;
|
|
1292
1376
|
/**
|
|
1293
1377
|
* sets the button size
|
|
1294
|
-
* @default "
|
|
1378
|
+
* @default "md"
|
|
1295
1379
|
*/
|
|
1296
|
-
size?:
|
|
1380
|
+
size?: ButtonWithMenuSizeProps;
|
|
1297
1381
|
/** sets additional Menu component styles */
|
|
1298
1382
|
menuContainerCssClasses?: SerializedStyles;
|
|
1299
1383
|
/** sets whether to use a React portal rendering or not. */
|
|
@@ -1307,17 +1391,26 @@ interface ActionButtonsProps {
|
|
|
1307
1391
|
* Sets a tooltip on the button when hovered
|
|
1308
1392
|
* Note that the tooltip will be shown whether disabled or not.
|
|
1309
1393
|
*/
|
|
1310
|
-
tooltip?: React
|
|
1394
|
+
tooltip?: React.ReactNode;
|
|
1311
1395
|
/**
|
|
1312
1396
|
* Sets a shortcut for the button.
|
|
1313
1397
|
* The shortcut's handler function will be automatically set to the onClick of the button,
|
|
1314
1398
|
* and a tooltip will be added to the button that shows the keyboard shortcut.
|
|
1315
1399
|
*/
|
|
1316
1400
|
shortcut?: ShortcutReference;
|
|
1401
|
+
/**
|
|
1402
|
+
* Whether the button is disabled or loading
|
|
1403
|
+
* @default false
|
|
1404
|
+
*
|
|
1405
|
+
* - false: the button is enabled
|
|
1406
|
+
* - true: the button is disabled
|
|
1407
|
+
* - 'loading': the button is disabled, and a loading spinner replaces the menu icon. After loading ceases (and the button transitions to disabled=false), a success checkmark is shown briefly in place of the menu icon
|
|
1408
|
+
*/
|
|
1409
|
+
disabled?: boolean | 'loading';
|
|
1317
1410
|
}
|
|
1318
1411
|
/** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
|
|
1319
|
-
type ButtonWithMenuProps = ActionButtonsProps &
|
|
1320
|
-
declare const ButtonWithMenu: ({ onButtonClick,
|
|
1412
|
+
type ButtonWithMenuProps = ActionButtonsProps & ButtonWithMenuStylesProps;
|
|
1413
|
+
declare const ButtonWithMenu: ({ onButtonClick, buttonText, icon, disabled, children, placement, size, menuContainerCssClasses, portal, maxMenuHeight, tooltip, shortcut, buttonType, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1321
1414
|
|
|
1322
1415
|
/**
|
|
1323
1416
|
* A string in the ISO 8601 date format: YYYY-MM-DD
|
|
@@ -1364,7 +1457,7 @@ interface CalloutProps {
|
|
|
1364
1457
|
*/
|
|
1365
1458
|
declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1366
1459
|
|
|
1367
|
-
type CardProps = React
|
|
1460
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1368
1461
|
/** (optional) sets the title value of the card */
|
|
1369
1462
|
title?: string;
|
|
1370
1463
|
/** sets whether or not to apply a margin bottom to the title
|
|
@@ -1372,9 +1465,9 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
1372
1465
|
*/
|
|
1373
1466
|
titleWithMarginBottom?: boolean;
|
|
1374
1467
|
/** (optional) sets react child components */
|
|
1375
|
-
children?:
|
|
1468
|
+
children?: ReactNode;
|
|
1376
1469
|
/** (optional) sets options for a dropdown menu */
|
|
1377
|
-
menuItems?:
|
|
1470
|
+
menuItems?: ReactNode;
|
|
1378
1471
|
/** (optional) sets the data-testid attribute on the button element
|
|
1379
1472
|
* @default 'button-more'
|
|
1380
1473
|
*/
|
|
@@ -1385,7 +1478,7 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
1385
1478
|
* The name of the HTML tag to render.
|
|
1386
1479
|
* @default "div"
|
|
1387
1480
|
*/
|
|
1388
|
-
tag?: React
|
|
1481
|
+
tag?: React.ElementType;
|
|
1389
1482
|
};
|
|
1390
1483
|
/**
|
|
1391
1484
|
* @deprecated Use the `FlexiCard` component from `@uniformdev/design-system` instead.
|
|
@@ -1393,7 +1486,7 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
1393
1486
|
*/
|
|
1394
1487
|
declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1395
1488
|
type CardTitleProps = {
|
|
1396
|
-
children?:
|
|
1489
|
+
children?: ReactNode;
|
|
1397
1490
|
} & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
|
|
1398
1491
|
declare const CardTitle: ({ title, titleWithMarginBottom, children }: CardTitleProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1399
1492
|
|
|
@@ -1480,6 +1573,17 @@ type DismissibleChipActionProps = {
|
|
|
1480
1573
|
*/
|
|
1481
1574
|
declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1482
1575
|
|
|
1576
|
+
type FilterChipSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
1577
|
+
type FilterChipProps = {
|
|
1578
|
+
leadingIcon?: IconType;
|
|
1579
|
+
asDropdown?: boolean;
|
|
1580
|
+
children: React.ReactNode;
|
|
1581
|
+
dataTestId?: string;
|
|
1582
|
+
size?: FilterChipSize;
|
|
1583
|
+
isSelected?: boolean;
|
|
1584
|
+
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1585
|
+
declare const FilterChip: ({ leadingIcon, asDropdown, children, dataTestId, size, isSelected, ...props }: FilterChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1586
|
+
|
|
1483
1587
|
type MultilineChipProps = {
|
|
1484
1588
|
children: ReactNode;
|
|
1485
1589
|
onClick?: () => void;
|
|
@@ -1492,10 +1596,12 @@ type MultilineChipProps = {
|
|
|
1492
1596
|
declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1493
1597
|
|
|
1494
1598
|
type CounterBgColors = 'var(--white)' | 'var(--gray-50)' | 'var(--accent-light)' | 'var(--accent-dark)' | 'transparent';
|
|
1495
|
-
type CounterIconColors = 'auto' | 'var(--utility-caution-icon)' | 'var(--utility-danger-icon)' | 'var(--utility-info-icon)' | 'red';
|
|
1599
|
+
type CounterIconColors = 'auto' | 'var(--utility-caution-icon)' | 'var(--utility-danger-icon)' | 'var(--utility-info-icon)' | 'var(--utility-success-icon)' | 'red';
|
|
1496
1600
|
type CounterProps = {
|
|
1497
|
-
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear.
|
|
1498
|
-
|
|
1601
|
+
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear.
|
|
1602
|
+
* String can be used for formatting purposes, e.g. "1.2k" or regionalized number, e.g. "1,200"
|
|
1603
|
+
*/
|
|
1604
|
+
count: number | string | undefined;
|
|
1499
1605
|
/** sets the background color
|
|
1500
1606
|
* @default 'transparent'
|
|
1501
1607
|
*/
|
|
@@ -1504,9 +1610,13 @@ type CounterProps = {
|
|
|
1504
1610
|
iconColor?: CounterIconColors;
|
|
1505
1611
|
/** Optional icon for the counter */
|
|
1506
1612
|
icon?: IconType;
|
|
1613
|
+
/** sets the size of the counter
|
|
1614
|
+
* @default 'md'
|
|
1615
|
+
*/
|
|
1616
|
+
size?: 'sm' | 'md';
|
|
1507
1617
|
} & React.HTMLAttributes<HTMLDivElement>;
|
|
1508
1618
|
/** @example <Counter count={1} /> */
|
|
1509
|
-
declare const Counter: ({ count, bgColor, icon, iconColor, ...props }: CounterProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1619
|
+
declare const Counter: ({ count, bgColor, icon, iconColor, size, ...props }: CounterProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1510
1620
|
|
|
1511
1621
|
type TextAlignProps = 'left' | 'right' | 'center';
|
|
1512
1622
|
type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
@@ -1534,7 +1644,7 @@ type InputTimeProps = Pick<TimeFieldProps<TimeValue>, 'id' | 'name' | 'hourCycle
|
|
|
1534
1644
|
/** (optional) sets the label value */
|
|
1535
1645
|
label?: string;
|
|
1536
1646
|
/** (optional) sets caption text value */
|
|
1537
|
-
caption?: string |
|
|
1647
|
+
caption?: string | ReactNode;
|
|
1538
1648
|
/** The current value in ISO 8601 time format */
|
|
1539
1649
|
value: IsoTimeString | null | undefined;
|
|
1540
1650
|
/** (optional) sets the minimum time value in iso8601 time format. ie 10:00 */
|
|
@@ -1567,7 +1677,7 @@ declare const InputTime: React$1.ForwardRefExoticComponent<Pick<TimeFieldProps<T
|
|
|
1567
1677
|
/** (optional) sets the label value */
|
|
1568
1678
|
label?: string;
|
|
1569
1679
|
/** (optional) sets caption text value */
|
|
1570
|
-
caption?: string |
|
|
1680
|
+
caption?: string | ReactNode;
|
|
1571
1681
|
/** The current value in ISO 8601 time format */
|
|
1572
1682
|
value: IsoTimeString | null | undefined;
|
|
1573
1683
|
/** (optional) sets the minimum time value in iso8601 time format. ie 10:00 */
|
|
@@ -1610,7 +1720,7 @@ type DateTimePickerProps = {
|
|
|
1610
1720
|
/** (optional) sets the label value */
|
|
1611
1721
|
label?: ReactNode;
|
|
1612
1722
|
/** (optional) icon for the trigger */
|
|
1613
|
-
triggerIcon?: IconType$
|
|
1723
|
+
triggerIcon?: IconType$1;
|
|
1614
1724
|
/** The current controlled value of the picker */
|
|
1615
1725
|
value: DateTimePickerValue | null | undefined;
|
|
1616
1726
|
/** (optional) The minimum visible date. The calendar will not show previous months */
|
|
@@ -1626,7 +1736,7 @@ type DateTimePickerProps = {
|
|
|
1626
1736
|
/** (optional) A slot below the time input, use this to populate quick time presets */
|
|
1627
1737
|
belowTimeInputSlot?: ReactNode;
|
|
1628
1738
|
/** (optional) sets caption text value */
|
|
1629
|
-
caption?: string |
|
|
1739
|
+
caption?: string | ReactNode;
|
|
1630
1740
|
/** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
|
|
1631
1741
|
showLabel?: boolean;
|
|
1632
1742
|
/** (optional) sets and shows the error message value */
|
|
@@ -1961,7 +2071,7 @@ declare const ErrorMessage: ({ message, testId, truncated, ...otherProps }: Erro
|
|
|
1961
2071
|
|
|
1962
2072
|
type FieldMessageProps = {
|
|
1963
2073
|
/** (optional) sets help message within the caption component */
|
|
1964
|
-
helperMessage?: string |
|
|
2074
|
+
helperMessage?: string | ReactNode;
|
|
1965
2075
|
/** (option) sets caption message test id for test automation */
|
|
1966
2076
|
helperMessageTestId?: string;
|
|
1967
2077
|
/** (optional) sets and shows the warning message value */
|
|
@@ -2013,13 +2123,13 @@ type InfoMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
2013
2123
|
*/
|
|
2014
2124
|
declare const InfoMessage: ({ message, testId, icon, ...props }: InfoMessageProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
2015
2125
|
|
|
2016
|
-
type InputProps = React
|
|
2126
|
+
type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
2017
2127
|
/** (optional) sets the label value */
|
|
2018
|
-
label?: string |
|
|
2128
|
+
label?: string | ReactNode;
|
|
2019
2129
|
/** (optional) sets caption text value */
|
|
2020
|
-
caption?: string |
|
|
2130
|
+
caption?: string | ReactNode;
|
|
2021
2131
|
/** (optional) add an input icon to the input field */
|
|
2022
|
-
icon?:
|
|
2132
|
+
icon?: ReactElement;
|
|
2023
2133
|
/** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
|
|
2024
2134
|
showLabel?: boolean;
|
|
2025
2135
|
/** (optional) sets and shows the the error message value */
|
|
@@ -2062,11 +2172,11 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
2062
2172
|
*/
|
|
2063
2173
|
declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
2064
2174
|
/** (optional) sets the label value */
|
|
2065
|
-
label?: string |
|
|
2175
|
+
label?: string | ReactNode;
|
|
2066
2176
|
/** (optional) sets caption text value */
|
|
2067
|
-
caption?: string |
|
|
2177
|
+
caption?: string | ReactNode;
|
|
2068
2178
|
/** (optional) add an input icon to the input field */
|
|
2069
|
-
icon?:
|
|
2179
|
+
icon?: ReactElement;
|
|
2070
2180
|
/** (optional) sets whether to show the label or hide it and add a aria-label attributes to the input field directly */
|
|
2071
2181
|
showLabel?: boolean;
|
|
2072
2182
|
/** (optional) sets and shows the the error message value */
|
|
@@ -2123,6 +2233,11 @@ type InputComboBoxOption<TValue = string> = {
|
|
|
2123
2233
|
* Note: this works for any type used for an option where a boolean called indented exists.
|
|
2124
2234
|
*/
|
|
2125
2235
|
indented?: boolean;
|
|
2236
|
+
/**
|
|
2237
|
+
* Sets the option to be fixed.
|
|
2238
|
+
* This will prevent the option from being removed or selected.
|
|
2239
|
+
*/
|
|
2240
|
+
isFixed?: boolean;
|
|
2126
2241
|
};
|
|
2127
2242
|
type InputComboBoxProps<TOption = InputComboBoxOption, IsMulti extends boolean = boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = Props<TOption, IsMulti, TGroup>;
|
|
2128
2243
|
type InputCreatableComboBoxProps<TOption = InputComboBoxOption, IsMulti extends boolean = boolean, TGroup extends GroupBase<TOption> = GroupBase<TOption>> = CreatableProps<TOption, IsMulti, TGroup>;
|
|
@@ -2259,15 +2374,24 @@ declare const DebouncedInputKeywordSearch: React$1.ForwardRefExoticComponent<Omi
|
|
|
2259
2374
|
defaultValue?: string;
|
|
2260
2375
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
2261
2376
|
|
|
2377
|
+
type GroupedOption = {
|
|
2378
|
+
label: string;
|
|
2379
|
+
options: Array<{
|
|
2380
|
+
label: string;
|
|
2381
|
+
value: string;
|
|
2382
|
+
}>;
|
|
2383
|
+
};
|
|
2262
2384
|
type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
2263
2385
|
/** (optional) sets the first item in the options list with empty value */
|
|
2264
2386
|
defaultOption?: string;
|
|
2265
2387
|
/** sets an array of select options with value and text value */
|
|
2266
|
-
options
|
|
2388
|
+
options?: Array<React.OptionHTMLAttributes<HTMLOptionElement | HTMLOptGroupElement> & {
|
|
2267
2389
|
label: string;
|
|
2268
2390
|
}>;
|
|
2391
|
+
/** (optional) sets grouped options with optgroups */
|
|
2392
|
+
groupedOptions?: GroupedOption[];
|
|
2269
2393
|
/** (optional) sets caption text value */
|
|
2270
|
-
caption?: string |
|
|
2394
|
+
caption?: string | ReactNode;
|
|
2271
2395
|
/** sets the label value */
|
|
2272
2396
|
label: string;
|
|
2273
2397
|
/** (optional) sets whether to hide the label and use aria-label on the input field
|
|
@@ -2279,7 +2403,7 @@ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
|
2279
2403
|
/** (optional) sets and shows the warning message value */
|
|
2280
2404
|
warningMessage?: string;
|
|
2281
2405
|
/** (optional) allows react components to be added inline with the label element */
|
|
2282
|
-
labelCta?:
|
|
2406
|
+
labelCta?: ReactNode;
|
|
2283
2407
|
/** (optional) styles the component in a compact format */
|
|
2284
2408
|
compact?: boolean;
|
|
2285
2409
|
/**
|
|
@@ -2303,11 +2427,13 @@ declare const InputSelect: React$1.ForwardRefExoticComponent<React$1.SelectHTMLA
|
|
|
2303
2427
|
/** (optional) sets the first item in the options list with empty value */
|
|
2304
2428
|
defaultOption?: string;
|
|
2305
2429
|
/** sets an array of select options with value and text value */
|
|
2306
|
-
options
|
|
2430
|
+
options?: Array<React.OptionHTMLAttributes<HTMLOptionElement | HTMLOptGroupElement> & {
|
|
2307
2431
|
label: string;
|
|
2308
2432
|
}>;
|
|
2433
|
+
/** (optional) sets grouped options with optgroups */
|
|
2434
|
+
groupedOptions?: GroupedOption[];
|
|
2309
2435
|
/** (optional) sets caption text value */
|
|
2310
|
-
caption?: string |
|
|
2436
|
+
caption?: string | ReactNode;
|
|
2311
2437
|
/** sets the label value */
|
|
2312
2438
|
label: string;
|
|
2313
2439
|
/** (optional) sets whether to hide the label and use aria-label on the input field
|
|
@@ -2319,7 +2445,7 @@ declare const InputSelect: React$1.ForwardRefExoticComponent<React$1.SelectHTMLA
|
|
|
2319
2445
|
/** (optional) sets and shows the warning message value */
|
|
2320
2446
|
warningMessage?: string;
|
|
2321
2447
|
/** (optional) allows react components to be added inline with the label element */
|
|
2322
|
-
labelCta?:
|
|
2448
|
+
labelCta?: ReactNode;
|
|
2323
2449
|
/** (optional) styles the component in a compact format */
|
|
2324
2450
|
compact?: boolean;
|
|
2325
2451
|
/**
|
|
@@ -2337,9 +2463,9 @@ declare const InputSelect: React$1.ForwardRefExoticComponent<React$1.SelectHTMLA
|
|
|
2337
2463
|
} & React$1.RefAttributes<HTMLSelectElement>>;
|
|
2338
2464
|
|
|
2339
2465
|
type FontWeightProps = 'normal' | 'medium' | 'bold';
|
|
2340
|
-
type InputToggleProps =
|
|
2466
|
+
type InputToggleProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
2341
2467
|
/** sets the label value */
|
|
2342
|
-
label:
|
|
2468
|
+
label: ReactNode;
|
|
2343
2469
|
/** sets the type of input to use, either radio or checkbox */
|
|
2344
2470
|
type: 'radio' | 'checkbox';
|
|
2345
2471
|
/** sets the name value of the radio/checkbox input */
|
|
@@ -2351,7 +2477,7 @@ type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
2351
2477
|
/** (optional) sets the checked state of the input */
|
|
2352
2478
|
checked?: boolean;
|
|
2353
2479
|
/** (optional) sets caption text value */
|
|
2354
|
-
caption?: string |
|
|
2480
|
+
caption?: string | ReactNode;
|
|
2355
2481
|
/** (optional) sets shows the the error message value */
|
|
2356
2482
|
errorMessage?: string;
|
|
2357
2483
|
/** (optional) sets and shows the warning message value */
|
|
@@ -2367,9 +2493,9 @@ type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
2367
2493
|
* Component that creates a checkbox or radio input field
|
|
2368
2494
|
* @example <InputToggle label="Do you like ice cream?" type="checkbox" name="ice-cream" />
|
|
2369
2495
|
*/
|
|
2370
|
-
declare const InputToggle: React$1.ForwardRefExoticComponent<
|
|
2496
|
+
declare const InputToggle: React$1.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
2371
2497
|
/** sets the label value */
|
|
2372
|
-
label:
|
|
2498
|
+
label: ReactNode;
|
|
2373
2499
|
/** sets the type of input to use, either radio or checkbox */
|
|
2374
2500
|
type: "radio" | "checkbox";
|
|
2375
2501
|
/** sets the name value of the radio/checkbox input */
|
|
@@ -2381,7 +2507,7 @@ declare const InputToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAt
|
|
|
2381
2507
|
/** (optional) sets the checked state of the input */
|
|
2382
2508
|
checked?: boolean;
|
|
2383
2509
|
/** (optional) sets caption text value */
|
|
2384
|
-
caption?: string |
|
|
2510
|
+
caption?: string | ReactNode;
|
|
2385
2511
|
/** (optional) sets shows the the error message value */
|
|
2386
2512
|
errorMessage?: string;
|
|
2387
2513
|
/** (optional) sets and shows the warning message value */
|
|
@@ -2421,13 +2547,13 @@ type SuccessMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
2421
2547
|
*/
|
|
2422
2548
|
declare const SuccessMessage: ({ message, testId, ...props }: SuccessMessageProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
2423
2549
|
|
|
2424
|
-
type TextareaProps = React
|
|
2550
|
+
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
2425
2551
|
/** (optional) sets the label value */
|
|
2426
2552
|
label?: string;
|
|
2427
2553
|
/** (optional) sets caption text value */
|
|
2428
|
-
caption?: string |
|
|
2554
|
+
caption?: string | ReactNode;
|
|
2429
2555
|
/** (optional) add an input icon to the input field */
|
|
2430
|
-
icon?:
|
|
2556
|
+
icon?: ReactElement;
|
|
2431
2557
|
/** (optional) sets whether to hide the label and use aria-label on the input field */
|
|
2432
2558
|
showLabel?: boolean;
|
|
2433
2559
|
/** (optional) sets shows the error message value */
|
|
@@ -2443,9 +2569,9 @@ declare const Textarea: React$1.ForwardRefExoticComponent<React$1.TextareaHTMLAt
|
|
|
2443
2569
|
/** (optional) sets the label value */
|
|
2444
2570
|
label?: string;
|
|
2445
2571
|
/** (optional) sets caption text value */
|
|
2446
|
-
caption?: string |
|
|
2572
|
+
caption?: string | ReactNode;
|
|
2447
2573
|
/** (optional) add an input icon to the input field */
|
|
2448
|
-
icon?:
|
|
2574
|
+
icon?: ReactElement;
|
|
2449
2575
|
/** (optional) sets whether to hide the label and use aria-label on the input field */
|
|
2450
2576
|
showLabel?: boolean;
|
|
2451
2577
|
/** (optional) sets shows the error message value */
|
|
@@ -2511,6 +2637,7 @@ declare const JsonEditor: ({ defaultValue, onChange, jsonSchema, height, readOnl
|
|
|
2511
2637
|
type KeyValueItem<TValue extends string = string> = {
|
|
2512
2638
|
key: string;
|
|
2513
2639
|
value: TValue;
|
|
2640
|
+
icon?: string;
|
|
2514
2641
|
uniqueId?: string;
|
|
2515
2642
|
};
|
|
2516
2643
|
type KeyValueInputProps<TValue extends string = string> = {
|
|
@@ -2521,10 +2648,18 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2521
2648
|
newItemDefault?: KeyValueItem<TValue>;
|
|
2522
2649
|
keyLabel?: string;
|
|
2523
2650
|
valueLabel?: string;
|
|
2651
|
+
iconLabel?: string;
|
|
2524
2652
|
keyInfoPopover?: ReactNode;
|
|
2525
2653
|
valueInfoPopover?: ReactNode;
|
|
2526
|
-
|
|
2654
|
+
iconInfoPopover?: ReactNode;
|
|
2655
|
+
errors?: (Record<keyof Omit<KeyValueItem, 'uniqueId'>, string> | Partial<Record<keyof Omit<KeyValueItem, 'uniqueId'>, string>> | null)[];
|
|
2527
2656
|
onFocusChange?: (isFocused: boolean) => void;
|
|
2657
|
+
showIconColumn?: boolean;
|
|
2658
|
+
renderIconSelector?: (props: {
|
|
2659
|
+
value?: string;
|
|
2660
|
+
onChange: (icon: string) => void;
|
|
2661
|
+
disabled?: boolean;
|
|
2662
|
+
}) => ReactNode;
|
|
2528
2663
|
};
|
|
2529
2664
|
/**
|
|
2530
2665
|
* A component to render a sortable key-value input
|
|
@@ -2533,7 +2668,7 @@ type KeyValueInputProps<TValue extends string = string> = {
|
|
|
2533
2668
|
* return <KeyValueInput value={value} onChange={setValue} />
|
|
2534
2669
|
* @deprecated This component is in beta, name and props are subject to change without a major version
|
|
2535
2670
|
*/
|
|
2536
|
-
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, keyInfoPopover, valueInfoPopover, disabled, errors, onFocusChange, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2671
|
+
declare const KeyValueInput: <TValue extends string = string>({ value, onChange, label, newItemDefault, keyLabel, valueLabel, iconLabel, keyInfoPopover, valueInfoPopover, iconInfoPopover, disabled, errors, onFocusChange, showIconColumn, renderIconSelector, }: KeyValueInputProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2537
2672
|
|
|
2538
2673
|
type AsideAndSectionLayout = {
|
|
2539
2674
|
/** sets child components in the aside / supporting column */
|
|
@@ -2693,7 +2828,7 @@ interface LoadingOverlayProps {
|
|
|
2693
2828
|
/** sets whether to display the loading overlay components */
|
|
2694
2829
|
isActive: boolean;
|
|
2695
2830
|
/** (optional) type that sets a text value or React component under the loading icon */
|
|
2696
|
-
statusMessage?: string |
|
|
2831
|
+
statusMessage?: string | ReactNode;
|
|
2697
2832
|
/** (optional) the z-index value of the overlay
|
|
2698
2833
|
* @default 9999
|
|
2699
2834
|
*/
|
|
@@ -2714,7 +2849,7 @@ interface LoadingOverlayProps {
|
|
|
2714
2849
|
* @default false
|
|
2715
2850
|
*/
|
|
2716
2851
|
isTopAligned?: boolean;
|
|
2717
|
-
children?:
|
|
2852
|
+
children?: React.ReactNode;
|
|
2718
2853
|
/** (optional) sets the position of the overlay
|
|
2719
2854
|
* @default 'absolute'
|
|
2720
2855
|
*/
|
|
@@ -2742,6 +2877,10 @@ interface DropdownStyleMenuTriggerProps extends React.HTMLAttributes<HTMLButtonE
|
|
|
2742
2877
|
children: React.ReactNode;
|
|
2743
2878
|
/** sets the background color of the button */
|
|
2744
2879
|
bgColor?: string;
|
|
2880
|
+
/** sets the variant of the button
|
|
2881
|
+
* @default "ghost"
|
|
2882
|
+
*/
|
|
2883
|
+
variant?: 'ghost' | 'outline';
|
|
2745
2884
|
}
|
|
2746
2885
|
/** Renders a dropdown menu style menu trigger button */
|
|
2747
2886
|
declare const DropdownStyleMenuTrigger: React$1.ForwardRefExoticComponent<DropdownStyleMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -2804,6 +2943,11 @@ type MenuGroupProps = {
|
|
|
2804
2943
|
};
|
|
2805
2944
|
declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2806
2945
|
|
|
2946
|
+
/**
|
|
2947
|
+
* base - default
|
|
2948
|
+
* red - red text
|
|
2949
|
+
* accent-alt - AI color (accent-alt-dark). DOES NOT change the text - only the icon color!
|
|
2950
|
+
*/
|
|
2807
2951
|
type MenuItemTextThemeProps = 'base' | 'red' | 'accent-alt';
|
|
2808
2952
|
type MenuItemProps = MenuItemProps$1 & {
|
|
2809
2953
|
/**
|
|
@@ -2879,6 +3023,7 @@ type MenuThreeDotsProps = {
|
|
|
2879
3023
|
* @default '1rem'
|
|
2880
3024
|
*/
|
|
2881
3025
|
iconSize?: string;
|
|
3026
|
+
disabled?: boolean;
|
|
2882
3027
|
} & HTMLAttributes<HTMLButtonElement>;
|
|
2883
3028
|
declare const MenuThreeDots: React$1.ForwardRefExoticComponent<{
|
|
2884
3029
|
/** sets the aria-label and title value on the button
|
|
@@ -2889,6 +3034,14 @@ declare const MenuThreeDots: React$1.ForwardRefExoticComponent<{
|
|
|
2889
3034
|
* @default '1rem'
|
|
2890
3035
|
*/
|
|
2891
3036
|
iconSize?: string;
|
|
3037
|
+
disabled?: boolean;
|
|
3038
|
+
} & HTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3039
|
+
declare const MenuSelect: React$1.ForwardRefExoticComponent<{
|
|
3040
|
+
/** sets the size of the menu select
|
|
3041
|
+
* @default 'base'
|
|
3042
|
+
*/
|
|
3043
|
+
size?: "xs" | "sm" | "base" | "md" | "lg";
|
|
3044
|
+
children: React.ReactNode;
|
|
2892
3045
|
} & HTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2893
3046
|
|
|
2894
3047
|
type SearchableMenuProps = {
|
|
@@ -3177,6 +3330,35 @@ type LabelLeadingIconProps = HTMLAttributes<HTMLButtonElement> & {
|
|
|
3177
3330
|
};
|
|
3178
3331
|
declare const LabelLeadingIcon: ({ icon, iconColor, children, isActive, isLocked, title, ...props }: LabelLeadingIconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3179
3332
|
|
|
3333
|
+
type BaseParameterActionButtonProps = {
|
|
3334
|
+
children: React__default.ReactNode;
|
|
3335
|
+
disabled?: boolean;
|
|
3336
|
+
/**
|
|
3337
|
+
* The tooltip to display when hovering over the button.
|
|
3338
|
+
* If a string is provided, it will be displayed as a tooltip.
|
|
3339
|
+
* If a React element is provided, it will be displayed as a tooltip.
|
|
3340
|
+
*/
|
|
3341
|
+
tooltip?: string | React__default.ReactNode;
|
|
3342
|
+
/**
|
|
3343
|
+
* The component to render the button as.
|
|
3344
|
+
* There maybe a scenario where we want to render the button as a div
|
|
3345
|
+
* @default 'button'
|
|
3346
|
+
*/
|
|
3347
|
+
renderAs?: 'button' | 'div';
|
|
3348
|
+
} & HTMLAttributes<HTMLButtonElement | HTMLDivElement>;
|
|
3349
|
+
interface OutlineVariant extends BaseParameterActionButtonProps {
|
|
3350
|
+
themeType: 'outline';
|
|
3351
|
+
}
|
|
3352
|
+
interface FilledVariant extends BaseParameterActionButtonProps {
|
|
3353
|
+
themeType: 'filled';
|
|
3354
|
+
/** inverts the border layout of the button
|
|
3355
|
+
* @default false
|
|
3356
|
+
*/
|
|
3357
|
+
inverted?: boolean;
|
|
3358
|
+
}
|
|
3359
|
+
type ParameterActionButtonProps = OutlineVariant | FilledVariant;
|
|
3360
|
+
declare const ParameterActionButton: ({ children, themeType, tooltip, renderAs, disabled, ...props }: ParameterActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3361
|
+
|
|
3180
3362
|
type ParameterDrawerHeaderProps = {
|
|
3181
3363
|
title: string;
|
|
3182
3364
|
iconBeforeTitle?: ReactNode;
|
|
@@ -3189,7 +3371,7 @@ declare const ParameterDrawerHeader: ({ title, iconBeforeTitle, children }: Para
|
|
|
3189
3371
|
|
|
3190
3372
|
type ParameterGroupProps = React.HTMLAttributes<HTMLFieldSetElement> & {
|
|
3191
3373
|
/** sets the legend value */
|
|
3192
|
-
legend: string |
|
|
3374
|
+
legend: string | ReactNode;
|
|
3193
3375
|
/** (optional) - sets a disabled attribute at the field level disabling all child input fields and buttons */
|
|
3194
3376
|
isDisabled?: boolean;
|
|
3195
3377
|
children: ReactNode;
|
|
@@ -3197,7 +3379,7 @@ type ParameterGroupProps = React.HTMLAttributes<HTMLFieldSetElement> & {
|
|
|
3197
3379
|
/** @example <ParameterGroup legend="legend name">{...some form input elements}</ParameterGroup> */
|
|
3198
3380
|
declare const ParameterGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLFieldSetElement> & {
|
|
3199
3381
|
/** sets the legend value */
|
|
3200
|
-
legend: string |
|
|
3382
|
+
legend: string | ReactNode;
|
|
3201
3383
|
/** (optional) - sets a disabled attribute at the field level disabling all child input fields and buttons */
|
|
3202
3384
|
isDisabled?: boolean;
|
|
3203
3385
|
children: ReactNode;
|
|
@@ -3298,6 +3480,9 @@ type ParameterMenuButtonProps = {
|
|
|
3298
3480
|
/** sets the legend value */
|
|
3299
3481
|
label: string;
|
|
3300
3482
|
children?: ReactNode;
|
|
3483
|
+
disabled?: boolean;
|
|
3484
|
+
/** set to true to render the menu directly in the parent DOM */
|
|
3485
|
+
withoutPortal?: boolean;
|
|
3301
3486
|
};
|
|
3302
3487
|
/** @example <ParameterMenuButton label="label value"><MenuItem>menu option component</MenuItem></ParameterMenuButton> */
|
|
3303
3488
|
declare const ParameterMenuButton: React$1.ForwardRefExoticComponent<ParameterMenuButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3367,6 +3552,66 @@ type ParameterNameAndPublicIdInputProps = {
|
|
|
3367
3552
|
/** @example <ParameterNameAndPublicIdInput /> */
|
|
3368
3553
|
declare const ParameterNameAndPublicIdInput: ({ id, onBlur, autoFocus, onNameChange, onPublicIdChange, nameIdError, publicIdError, readOnly, hasInitialPublicIdField, label, warnOverLength, nameIdField, nameCaption, namePlaceholderText, publicIdFieldName, publicIdCaption, publicIdPlaceholderText, values, }: ParameterNameAndPublicIdInputProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3369
3554
|
|
|
3555
|
+
type SliderOption = {
|
|
3556
|
+
value: string;
|
|
3557
|
+
text: string;
|
|
3558
|
+
};
|
|
3559
|
+
type SliderProps = {
|
|
3560
|
+
value: number | undefined;
|
|
3561
|
+
onChange: (value: number | undefined) => void;
|
|
3562
|
+
onBlur?: () => void;
|
|
3563
|
+
min?: number;
|
|
3564
|
+
max?: number;
|
|
3565
|
+
step?: number;
|
|
3566
|
+
options?: SliderOption[];
|
|
3567
|
+
showNumberInput?: boolean;
|
|
3568
|
+
disabled?: boolean;
|
|
3569
|
+
'aria-label'?: string;
|
|
3570
|
+
id?: string;
|
|
3571
|
+
name?: string;
|
|
3572
|
+
};
|
|
3573
|
+
/**
|
|
3574
|
+
* Slider component that supports both numeric values and predefined options
|
|
3575
|
+
* @example
|
|
3576
|
+
* // Numeric mode
|
|
3577
|
+
* <Slider value={50} onChange={setValue} min={0} max={100} step={1} />
|
|
3578
|
+
*
|
|
3579
|
+
* // Options mode
|
|
3580
|
+
* <Slider value={1} onChange={setValue} options={[{value: 'small', text: 'Small'}, {value: 'large', text: 'Large'}]} />
|
|
3581
|
+
*/
|
|
3582
|
+
declare const Slider: React$1.ForwardRefExoticComponent<SliderProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
3583
|
+
|
|
3584
|
+
type TickMark = {
|
|
3585
|
+
position: number;
|
|
3586
|
+
percentage: number;
|
|
3587
|
+
label?: string;
|
|
3588
|
+
isLarge: boolean;
|
|
3589
|
+
};
|
|
3590
|
+
type SliderLabelsProps = {
|
|
3591
|
+
ticks: TickMark[];
|
|
3592
|
+
currentValue: number | undefined;
|
|
3593
|
+
containerWidth?: number;
|
|
3594
|
+
};
|
|
3595
|
+
/**
|
|
3596
|
+
* SliderLabels component that intelligently shows/hides labels based on available space
|
|
3597
|
+
*/
|
|
3598
|
+
declare function SliderLabels({ ticks, currentValue, containerWidth }: SliderLabelsProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
3599
|
+
|
|
3600
|
+
type ParameterNumberSliderProps = CommonParameterInputProps & Omit<SliderProps, 'id' | 'aria-label' | 'options'>;
|
|
3601
|
+
/**
|
|
3602
|
+
* Parameter wrapper for numeric sliders
|
|
3603
|
+
* @example <ParameterNumberSlider label="Opacity" value={50} onChange={setValue} min={0} max={100} step={1} />
|
|
3604
|
+
*/
|
|
3605
|
+
declare const ParameterNumberSlider: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
3606
|
+
caption?: string;
|
|
3607
|
+
menuItems?: React$1.ReactNode;
|
|
3608
|
+
actionItems?: React.ReactNode;
|
|
3609
|
+
errorTestId?: string;
|
|
3610
|
+
captionTestId?: string;
|
|
3611
|
+
title?: string;
|
|
3612
|
+
} & Omit<SliderProps, "id" | "aria-label" | "options"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3613
|
+
declare const ParameterNumberSliderInner: React$1.ForwardRefExoticComponent<Omit<SliderProps, "id" | "aria-label" | "options"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3614
|
+
|
|
3370
3615
|
type LinkNodeProps = NonNullable<LinkParamValue>;
|
|
3371
3616
|
type SerializedLinkNode = Spread<{
|
|
3372
3617
|
link: LinkNodeProps;
|
|
@@ -3500,6 +3745,47 @@ declare const ParameterSelect: React$1.ForwardRefExoticComponent<CommonParameter
|
|
|
3500
3745
|
/** @example <ParameterSelectInner options={[{ label: 'option label', value: 0}]} />*/
|
|
3501
3746
|
declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<ParameterSelectProps, "label" | "id"> & React$1.RefAttributes<HTMLSelectElement>>;
|
|
3502
3747
|
|
|
3748
|
+
type ParameterSelectSliderProps = CommonParameterInputProps & Omit<SliderProps, 'id' | 'aria-label' | 'value' | 'onChange' | 'min' | 'max' | 'step' | 'showNumberInput'> & {
|
|
3749
|
+
/**
|
|
3750
|
+
* The available options for the slider
|
|
3751
|
+
*/
|
|
3752
|
+
options: SliderOption[];
|
|
3753
|
+
/**
|
|
3754
|
+
* The current selected value (option value string)
|
|
3755
|
+
*/
|
|
3756
|
+
value: string | undefined;
|
|
3757
|
+
/**
|
|
3758
|
+
* Callback when the selection changes (receives option value string)
|
|
3759
|
+
*/
|
|
3760
|
+
onChange: (value: string | undefined) => void;
|
|
3761
|
+
};
|
|
3762
|
+
/**
|
|
3763
|
+
* Parameter wrapper for option-based sliders
|
|
3764
|
+
* @example <ParameterSelectSlider label="Size" value="medium" onChange={setValue} options={[{value: 'small', text: 'Small'}, {value: 'medium', text: 'Medium'}, {value: 'large', text: 'Large'}]} />
|
|
3765
|
+
*/
|
|
3766
|
+
declare const ParameterSelectSlider: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
3767
|
+
caption?: string;
|
|
3768
|
+
menuItems?: React$1.ReactNode;
|
|
3769
|
+
actionItems?: React.ReactNode;
|
|
3770
|
+
errorTestId?: string;
|
|
3771
|
+
captionTestId?: string;
|
|
3772
|
+
title?: string;
|
|
3773
|
+
} & Omit<SliderProps, "id" | "aria-label" | "onChange" | "max" | "min" | "value" | "step" | "showNumberInput"> & {
|
|
3774
|
+
/**
|
|
3775
|
+
* The available options for the slider
|
|
3776
|
+
*/
|
|
3777
|
+
options: SliderOption[];
|
|
3778
|
+
/**
|
|
3779
|
+
* The current selected value (option value string)
|
|
3780
|
+
*/
|
|
3781
|
+
value: string | undefined;
|
|
3782
|
+
/**
|
|
3783
|
+
* Callback when the selection changes (receives option value string)
|
|
3784
|
+
*/
|
|
3785
|
+
onChange: (value: string | undefined) => void;
|
|
3786
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3787
|
+
declare const ParameterSelectSliderInner: React$1.ForwardRefExoticComponent<Omit<ParameterSelectSliderProps, "caption" | "title" | "errorTestId" | "captionTestId" | "menuItems" | "actionItems" | keyof CommonParameterProps> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3788
|
+
|
|
3503
3789
|
/** A function that extracts all common props and element props
|
|
3504
3790
|
* @example const { shellProps, innerProps } = extractParameterProps(props) */
|
|
3505
3791
|
declare const extractParameterProps: <T>(props: T & CommonParameterInputProps) => {
|
|
@@ -3541,12 +3827,15 @@ type ParameterShellOverrideProps = {
|
|
|
3541
3827
|
*/
|
|
3542
3828
|
isParameterGroup?: boolean;
|
|
3543
3829
|
};
|
|
3544
|
-
type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps
|
|
3830
|
+
type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps & {
|
|
3831
|
+
/** set to true to render the menu directly in the parent DOM */
|
|
3832
|
+
menuWithoutPortal?: boolean;
|
|
3833
|
+
};
|
|
3545
3834
|
/**
|
|
3546
3835
|
* Uniform Parameter shell component
|
|
3547
3836
|
* @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
|
|
3548
3837
|
*/
|
|
3549
|
-
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, actionItems, hasOverriddenValue, onResetOverriddenValue, title, children, isParameterGroup, ...props }: ParameterShellProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3838
|
+
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, actionItems, hasOverriddenValue, onResetOverriddenValue, title, children, isParameterGroup, menuWithoutPortal, ...props }: ParameterShellProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3550
3839
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
3551
3840
|
children?: ReactNode;
|
|
3552
3841
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
@@ -3565,21 +3854,27 @@ declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParamet
|
|
|
3565
3854
|
/** @example <ParameterTextareaInner /> */
|
|
3566
3855
|
declare const ParameterTextareaInner: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
3567
3856
|
|
|
3568
|
-
type
|
|
3857
|
+
type ParameterToggleInnerProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
3569
3858
|
type: 'checkbox' | 'radio';
|
|
3859
|
+
withoutIndeterminateState?: boolean;
|
|
3570
3860
|
};
|
|
3861
|
+
type ParameterToggleProps = CommonParameterInputProps & ParameterToggleInnerProps;
|
|
3571
3862
|
/** @example <ParameterToggle title="my checkbox" label="label value" id="my-checkbox" type="checkbox" onIconClick={() => alert('icon clicked)} /> */
|
|
3572
|
-
declare const ParameterToggle: React$1.ForwardRefExoticComponent<
|
|
3863
|
+
declare const ParameterToggle: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
3573
3864
|
caption?: string;
|
|
3574
3865
|
menuItems?: React$1.ReactNode;
|
|
3575
3866
|
actionItems?: React.ReactNode;
|
|
3576
3867
|
errorTestId?: string;
|
|
3577
3868
|
captionTestId?: string;
|
|
3578
3869
|
title?: string;
|
|
3579
|
-
} & {
|
|
3870
|
+
} & Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
3580
3871
|
type: "checkbox" | "radio";
|
|
3872
|
+
withoutIndeterminateState?: boolean;
|
|
3873
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3874
|
+
declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
3875
|
+
type: "checkbox" | "radio";
|
|
3876
|
+
withoutIndeterminateState?: boolean;
|
|
3581
3877
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3582
|
-
declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
3583
3878
|
|
|
3584
3879
|
type PopoverProps = Omit<PopoverProps$1, 'unmountOnHide'> & {
|
|
3585
3880
|
/** sets the aria-controls and id value of the matching popover set */
|
|
@@ -3624,11 +3919,29 @@ declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, plac
|
|
|
3624
3919
|
/**
|
|
3625
3920
|
* Hook to get the current popover context
|
|
3626
3921
|
* @description This hook is used to get the current popover context
|
|
3627
|
-
* useful for closing the popover with a nested button or
|
|
3922
|
+
* useful for closing the popover with a nested button or interactive element
|
|
3628
3923
|
* @example const currentPopoverContext = usePopoverComponentContext();
|
|
3629
3924
|
*/
|
|
3630
3925
|
declare const usePopoverComponentContext: () => PopoverStore | undefined;
|
|
3631
3926
|
|
|
3927
|
+
type PopoverBodyProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3928
|
+
/**
|
|
3929
|
+
* Valid CSS unit to set the maximum popover width
|
|
3930
|
+
* @default '14rem'
|
|
3931
|
+
*/
|
|
3932
|
+
maxWidth?: string;
|
|
3933
|
+
/** sets the variant to show
|
|
3934
|
+
* @default 'small'
|
|
3935
|
+
*/
|
|
3936
|
+
variant?: 'large' | 'small';
|
|
3937
|
+
children: ReactNode;
|
|
3938
|
+
};
|
|
3939
|
+
/**
|
|
3940
|
+
* A styled popover body component with design system styles.
|
|
3941
|
+
* Used to create custom popover-like behavior.
|
|
3942
|
+
*/
|
|
3943
|
+
declare const PopoverBody: ({ variant, maxWidth, children, ...otherProps }: PopoverBodyProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3944
|
+
|
|
3632
3945
|
interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
3633
3946
|
current: number;
|
|
3634
3947
|
max: number;
|
|
@@ -3691,7 +4004,9 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
|
|
|
3691
4004
|
value?: TValue;
|
|
3692
4005
|
/** Called when the user selects a different option */
|
|
3693
4006
|
onChange: (value: TValue) => void;
|
|
3694
|
-
/**
|
|
4007
|
+
/**
|
|
4008
|
+
* @deprecated This prop has no effect. Checkmarks are no longer displayed.
|
|
4009
|
+
*/
|
|
3695
4010
|
noCheckmark?: boolean;
|
|
3696
4011
|
/** Disables all the options */
|
|
3697
4012
|
disabled?: boolean;
|
|
@@ -3721,7 +4036,7 @@ type SegmentedControlProps<TValue extends string = string> = Omit<React__default
|
|
|
3721
4036
|
* A control with multiple segments. Can be used as a replacement of radio buttons.
|
|
3722
4037
|
* @example <SegmentedControl name="mySegmentedControl" value={value} options={[{label: 'Option 1', value: 'option1',label: 'Option 2', value: 'option2'}]} onChange={setValue} />
|
|
3723
4038
|
*/
|
|
3724
|
-
declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange,
|
|
4039
|
+
declare const SegmentedControl: <TValue extends string = string>({ name, options, value, onChange, disabled, orientation, size, hideOptionText, iconSize, currentBackgroundColor, noCheckmark: _noCheckmark, ...props }: SegmentedControlProps<TValue>) => _emotion_react_jsx_runtime.JSX.Element;
|
|
3725
4040
|
|
|
3726
4041
|
type SkeletonProps = React__default.PropsWithChildren<React__default.HTMLAttributes<HTMLDivElement>> & {
|
|
3727
4042
|
width?: string;
|
|
@@ -3745,7 +4060,7 @@ type SwitchProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
|
3745
4060
|
/** sets the label value */
|
|
3746
4061
|
label: ReactNode;
|
|
3747
4062
|
/** (optional) sets information text */
|
|
3748
|
-
infoText?: string;
|
|
4063
|
+
infoText?: string | ReactNode;
|
|
3749
4064
|
/** sets the toggle text value */
|
|
3750
4065
|
toggleText?: string;
|
|
3751
4066
|
/** sets child elements */
|
|
@@ -3767,7 +4082,7 @@ declare const Switch: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAt
|
|
|
3767
4082
|
/** sets the label value */
|
|
3768
4083
|
label: ReactNode;
|
|
3769
4084
|
/** (optional) sets information text */
|
|
3770
|
-
infoText?: string;
|
|
4085
|
+
infoText?: string | ReactNode;
|
|
3771
4086
|
/** sets the toggle text value */
|
|
3772
4087
|
toggleText?: string;
|
|
3773
4088
|
/** sets child elements */
|
|
@@ -3996,7 +4311,9 @@ declare const Link: React$1.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & R
|
|
|
3996
4311
|
type LinkManagerWithRefType = (props: Partial<LinkProps> & {
|
|
3997
4312
|
as?: string;
|
|
3998
4313
|
href: string;
|
|
3999
|
-
|
|
4314
|
+
/** @deprecated This prop has no effect */
|
|
4315
|
+
passHref?: boolean;
|
|
4316
|
+
/** @deprecated This prop has no effect */
|
|
4000
4317
|
legacyBehavior?: boolean;
|
|
4001
4318
|
} & React$1.RefAttributes<HTMLAnchorElement>) => React$1.ReactNode | null;
|
|
4002
4319
|
/** Uniform LinkWithRef Component
|
|
@@ -4067,7 +4384,6 @@ type LinkTileWithRefProps = {
|
|
|
4067
4384
|
as?: string;
|
|
4068
4385
|
href: string;
|
|
4069
4386
|
passHref: true;
|
|
4070
|
-
legacyBehavior?: boolean;
|
|
4071
4387
|
} & React.RefAttributes<HTMLAnchorElement> & LinkOrientation;
|
|
4072
4388
|
declare const LinkTile: React$1.ForwardRefExoticComponent<(LinkTileProps | Omit<LinkTileWithRefProps, "ref">) & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
4073
4389
|
|
|
@@ -4165,4 +4481,6 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
4165
4481
|
};
|
|
4166
4482
|
declare const StatusBullet: ({ status, hideText, size, message, compact, ...props }: StatusBulletProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
4167
4483
|
|
|
4168
|
-
|
|
4484
|
+
declare const actionBarVisibilityStyles: _emotion_react.SerializedStyles;
|
|
4485
|
+
|
|
4486
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AsideAndSectionLayout, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps, type ButtonSoftThemeProps, type ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterBgColors, type CounterIconColors, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, DragHandle, type DraggableHandleProps, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, FilterChip, FlexiCard, FlexiCardTitle, type GroupedOption, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, KeyValueInput, type KeyValueInputProps, type KeyValueItem, Label, LabelLeadingIcon, type LabelLeadingIconProps, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkTile, type LinkTileWithRefProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuSelect, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, ObjectGridItemLoadingSkeleton, type ObjectGridItemProps, type ObjectGridItemTitleProps, ObjectItemLoadingSkeleton, type ObjectItemLoadingSkeletonProps, ObjectListItem, ObjectListItemContainer, ObjectListItemCover, type ObjectListItemCoverProps, ObjectListItemHeading, type ObjectListItemHeadingProps, type ObjectListItemProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, ParameterActionButton, type ParameterActionButtonProps, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterNumberSlider, ParameterNumberSliderInner, type ParameterNumberSliderProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterSelectSlider, ParameterSelectSliderInner, type ParameterSelectSliderProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, PopoverBody, type PopoverBodyProps, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, ResponsiveTableContainer, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, type ShortcutReference, Skeleton, type SkeletonProps, Slider, SliderLabels, type SliderLabelsProps, type SliderOption, type SliderProps, Spinner, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, type TickMark, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, actionBarVisibilityStyles, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonDisabled, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonSoftAccentPrimary, buttonSoftAlt, buttonSoftDestructive, buttonSoftPrimary, buttonSoftTertiary, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, debounce, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getButtonSize, getButtonStyles, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, mq, numberInput, prefersReducedMotion, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInRtl, slideInTtb, spin, structurePanelIcon, supports, textInput, uniformAiIcon, uniformComponentIcon, uniformComponentPatternIcon, uniformCompositionPatternIcon, uniformConditionalValuesIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, uniformLocaleDisabledIcon, uniformLocaleIcon, uniformStatusDraftIcon, uniformStatusModifiedIcon, uniformStatusPublishedIcon, uniformUsageStatusIcon, useBreakpoint, useButtonStyles, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, usePopoverComponentContext, useRichTextToolbarState, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon, zigZag, zigZagThick };
|