@uniformdev/design-system 19.53.1-alpha.41 → 19.54.2-alpha.10
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/esm/index.js +282 -221
- package/dist/index.d.mts +406 -388
- package/dist/index.d.ts +406 -388
- package/dist/index.js +328 -259
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -75,6 +75,22 @@ declare const cq: (size: string) => string;
|
|
|
75
75
|
|
|
76
76
|
declare const replaceUnderscoreInString: (title?: string) => string | undefined;
|
|
77
77
|
|
|
78
|
+
declare const isSecureURL: (value?: string) => boolean;
|
|
79
|
+
interface IsValidUrlOptions {
|
|
80
|
+
allowRelative?: boolean;
|
|
81
|
+
isSecure?: boolean;
|
|
82
|
+
}
|
|
83
|
+
declare const isValidUrl: (urlString: string, options?: IsValidUrlOptions) => boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Joins different variants of parent relative url with path segment. Path can be "", "/" and "/foo/bar"
|
|
86
|
+
*
|
|
87
|
+
* @param path
|
|
88
|
+
* @param pathSegment
|
|
89
|
+
*/
|
|
90
|
+
declare const addPathSegmentToPathname: (path: string, pathSegment: string) => string;
|
|
91
|
+
declare const getPathSegment: (path: string) => string;
|
|
92
|
+
declare const getParentPath: (path: string | undefined, noRootSlash?: boolean) => string;
|
|
93
|
+
|
|
78
94
|
declare const useOutsideClick: (containerRef: RefObject<HTMLElement | null>, handler: () => void) => void;
|
|
79
95
|
|
|
80
96
|
declare const button: _emotion_react.SerializedStyles;
|
|
@@ -82,8 +98,6 @@ declare const buttonRippleEffect: (props: {
|
|
|
82
98
|
hoverColor: string;
|
|
83
99
|
activeColor?: string;
|
|
84
100
|
}) => _emotion_react.SerializedStyles;
|
|
85
|
-
declare const buttonAccentAltDark: _emotion_react.SerializedStyles;
|
|
86
|
-
declare const buttonAccentAltDarkOutline: _emotion_react.SerializedStyles;
|
|
87
101
|
declare const buttonPrimary: _emotion_react.SerializedStyles;
|
|
88
102
|
declare const buttonDestructive: _emotion_react.SerializedStyles;
|
|
89
103
|
declare const buttonSecondary: _emotion_react.SerializedStyles;
|
|
@@ -20282,9 +20296,9 @@ declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAtt
|
|
|
20282
20296
|
declare const UniformLogoLarge: ({ ...props }: React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20283
20297
|
|
|
20284
20298
|
/** Button themes that are available to use with our brand */
|
|
20285
|
-
type ButtonThemeProps$1 = 'primary' | 'secondary' | '
|
|
20299
|
+
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20286
20300
|
/** Button sizes that are available to use with our brand */
|
|
20287
|
-
type ButtonSizeProps = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20301
|
+
type ButtonSizeProps$1 = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20288
20302
|
type ButtonProps = ButtonProps$1 & {
|
|
20289
20303
|
/** sets the theme of the button
|
|
20290
20304
|
* @default "primary"
|
|
@@ -20295,7 +20309,7 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
20295
20309
|
/**
|
|
20296
20310
|
* @default "md"
|
|
20297
20311
|
* */
|
|
20298
|
-
size?: ButtonSizeProps;
|
|
20312
|
+
size?: ButtonSizeProps$1;
|
|
20299
20313
|
};
|
|
20300
20314
|
/**
|
|
20301
20315
|
* Uniform Button Component
|
|
@@ -20304,373 +20318,6 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
20304
20318
|
*/
|
|
20305
20319
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
20306
20320
|
|
|
20307
|
-
type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
|
|
20308
|
-
interface ActionButtonsProps {
|
|
20309
|
-
/** Takes a function for the visible button */
|
|
20310
|
-
onButtonClick: () => void;
|
|
20311
|
-
/** (optional) reakit placements options for the expandable menu */
|
|
20312
|
-
placement?: MenuProps$1['placement'];
|
|
20313
|
-
/** sets the theme of the button
|
|
20314
|
-
* @default "secondary"
|
|
20315
|
-
*/
|
|
20316
|
-
buttonType?: ButtonThemeProps;
|
|
20317
|
-
/** sets the button text value */
|
|
20318
|
-
buttonText: string;
|
|
20319
|
-
/** adds child components to the ButtonWithMenu component */
|
|
20320
|
-
children: React$1.ReactNode;
|
|
20321
|
-
}
|
|
20322
|
-
/** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
|
|
20323
|
-
type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
20324
|
-
/**
|
|
20325
|
-
* Uniform ButtonWithMenu Component
|
|
20326
|
-
* @example
|
|
20327
|
-
<ButtonWithMenu
|
|
20328
|
-
disabled={isDisabled}
|
|
20329
|
-
buttonText="Save and close"
|
|
20330
|
-
onButtonClick={() => someFunction()}
|
|
20331
|
-
placement="bottom-end"
|
|
20332
|
-
>
|
|
20333
|
-
<MenuItem
|
|
20334
|
-
disabled={isDisabled}
|
|
20335
|
-
onClick={() => someFunction()}
|
|
20336
|
-
key="save"
|
|
20337
|
-
className="flex gap-2 items-center"
|
|
20338
|
-
data-testid="save-menu-item-button"
|
|
20339
|
-
>
|
|
20340
|
-
<span className="whitespace-nowrap" data-testid="save-menu-item">
|
|
20341
|
-
Save
|
|
20342
|
-
</span>
|
|
20343
|
-
</MenuItem>
|
|
20344
|
-
</ButtonWithMenu>
|
|
20345
|
-
*/
|
|
20346
|
-
declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, disabled, children, placement, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20347
|
-
|
|
20348
|
-
/** Callout button types available to use with our brand */
|
|
20349
|
-
type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
|
|
20350
|
-
interface CalloutProps {
|
|
20351
|
-
/** sets the type of callout to use and it's styles
|
|
20352
|
-
* @default "info"
|
|
20353
|
-
*/
|
|
20354
|
-
type: CalloutType;
|
|
20355
|
-
/** make the display of the callout compact. Suitable for small spaces
|
|
20356
|
-
* @default false
|
|
20357
|
-
*/
|
|
20358
|
-
compact?: boolean;
|
|
20359
|
-
/** (optional) sets the title of the callout */
|
|
20360
|
-
title?: React$1.ReactNode;
|
|
20361
|
-
/** add child elements to the callout */
|
|
20362
|
-
children?: React$1.ReactNode;
|
|
20363
|
-
/** sets additional css classes or emotion styles on the callout */
|
|
20364
|
-
className?: SerializedStyles | string;
|
|
20365
|
-
/** sets the data-testid on the callout element */
|
|
20366
|
-
testId?: string;
|
|
20367
|
-
}
|
|
20368
|
-
/**
|
|
20369
|
-
* Uniform Callout Component
|
|
20370
|
-
* @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
|
|
20371
|
-
*/
|
|
20372
|
-
declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20373
|
-
|
|
20374
|
-
type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
20375
|
-
/** (optional) sets the title value of the card */
|
|
20376
|
-
title?: string;
|
|
20377
|
-
/** sets whether or not to apply a margin bottom to the title
|
|
20378
|
-
* @default true
|
|
20379
|
-
*/
|
|
20380
|
-
titleWithMarginBottom?: boolean;
|
|
20381
|
-
/** (optional) sets react child components */
|
|
20382
|
-
children?: React$1.ReactNode;
|
|
20383
|
-
/** (optional) sets options for a dropdown menu */
|
|
20384
|
-
menuItems?: JSX.Element;
|
|
20385
|
-
/** (optional) sets the data-testid attribute on the button element
|
|
20386
|
-
* @default 'list-card-menu'
|
|
20387
|
-
*/
|
|
20388
|
-
menuButtonTestId?: string;
|
|
20389
|
-
/** (optional) sets the menu button disabled state */
|
|
20390
|
-
disabled?: boolean;
|
|
20391
|
-
/**
|
|
20392
|
-
* The name of the HTML tag to render.
|
|
20393
|
-
* @default "div"
|
|
20394
|
-
*/
|
|
20395
|
-
tag?: React$1.ElementType;
|
|
20396
|
-
};
|
|
20397
|
-
declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20398
|
-
type CardTitleProps = {
|
|
20399
|
-
children?: React$1.ReactNode;
|
|
20400
|
-
} & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
|
|
20401
|
-
declare const CardTitle: ({ title, titleWithMarginBottom, children }: CardTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20402
|
-
|
|
20403
|
-
type CardContainerBgColorProps = 'gray' | 'white';
|
|
20404
|
-
type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
20405
|
-
/** (optional): sets the background colour of the wrapping element
|
|
20406
|
-
* @default 'white'
|
|
20407
|
-
*/
|
|
20408
|
-
bgColor?: CardContainerBgColorProps;
|
|
20409
|
-
/** (optional): sets react child components */
|
|
20410
|
-
children?: React$1.ReactNode;
|
|
20411
|
-
/** (optional): sets the padding values of the inner container
|
|
20412
|
-
* @example 'when set to true padding: var(--spacing-2xl) var(--spacing-lg)'
|
|
20413
|
-
* @default true
|
|
20414
|
-
*/
|
|
20415
|
-
padding?: boolean;
|
|
20416
|
-
/** (optional): sets the padding values of the inner container
|
|
20417
|
-
* @example `when set to true`
|
|
20418
|
-
* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) [last-col] minmax(300px, 1fr);
|
|
20419
|
-
* grid-template-rows: auto [last-line];
|
|
20420
|
-
* @default false
|
|
20421
|
-
*/
|
|
20422
|
-
withLastColumn?: boolean;
|
|
20423
|
-
};
|
|
20424
|
-
/** Uniform Card Container
|
|
20425
|
-
* @example <CardContainer><Card title="card title" /></CardContainer>
|
|
20426
|
-
*/
|
|
20427
|
-
declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20428
|
-
|
|
20429
|
-
declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20430
|
-
|
|
20431
|
-
type ChipSizeProp = 'xs' | 'sm' | 'md';
|
|
20432
|
-
type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
|
|
20433
|
-
type ChipProps = {
|
|
20434
|
-
icon?: IconType;
|
|
20435
|
-
text: ReactNode;
|
|
20436
|
-
/** sets the size of the chip
|
|
20437
|
-
* @default 'sm'
|
|
20438
|
-
*/
|
|
20439
|
-
theme?: ChipTheme;
|
|
20440
|
-
chipAction?: React.ReactNode;
|
|
20441
|
-
size?: ChipSizeProp;
|
|
20442
|
-
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
20443
|
-
/**
|
|
20444
|
-
* @description Chips are used in a variety of ways
|
|
20445
|
-
* To represent tokens, where the value of the chip will be replaced with something dynamically.
|
|
20446
|
-
* To represent tags or important metadata about an object
|
|
20447
|
-
* To represent a different object, as a reference
|
|
20448
|
-
* @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
|
|
20449
|
-
*/
|
|
20450
|
-
declare const Chip: ({ icon, text, size, theme, chipAction, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20451
|
-
type DismissibleChipActionProps = {
|
|
20452
|
-
onDismiss: () => void;
|
|
20453
|
-
} & HTMLAttributes<HTMLButtonElement>;
|
|
20454
|
-
/**
|
|
20455
|
-
* @description Dismissible chip action should be used with the Chip component
|
|
20456
|
-
* @example <DismissibleChipAction onDismiss={() => {...}}/>
|
|
20457
|
-
*/
|
|
20458
|
-
declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20459
|
-
|
|
20460
|
-
type MultilineChipProps = {
|
|
20461
|
-
children: ReactNode;
|
|
20462
|
-
onClick?: () => void;
|
|
20463
|
-
} & React.HTMLAttributes<HTMLSpanElement | HTMLButtonElement>;
|
|
20464
|
-
/**
|
|
20465
|
-
* @description A chip specifically designed to fit as a chipped element in an multi-line capable content field.
|
|
20466
|
-
* Unlike a regular chip, this one can go onto multiple lines with word wrap, and uses inline behaviours.
|
|
20467
|
-
* @example <MultilineChip text="productId" />
|
|
20468
|
-
*/
|
|
20469
|
-
declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20470
|
-
|
|
20471
|
-
type CounterProps = {
|
|
20472
|
-
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
|
|
20473
|
-
count: number | undefined;
|
|
20474
|
-
/** sets the background color
|
|
20475
|
-
* @default 'transparent'
|
|
20476
|
-
*/
|
|
20477
|
-
bgColor?: 'var(--white)' | 'var(--gray-50)' | 'transparent';
|
|
20478
|
-
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
20479
|
-
/** @example <Counter count={1} /> */
|
|
20480
|
-
declare const Counter: ({ count, bgColor, ...props }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20481
|
-
|
|
20482
|
-
type TextAlignProps = 'left' | 'right' | 'center';
|
|
20483
|
-
type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
20484
|
-
type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
20485
|
-
/** React child elements */
|
|
20486
|
-
children: React$1.ReactNode;
|
|
20487
|
-
/** (optional) - sets the text alignment */
|
|
20488
|
-
textAlign?: TextAlignProps;
|
|
20489
|
-
/** (optional) - sets the background color */
|
|
20490
|
-
bgColor?: 'transparent' | 'white' | 'var(--gray-50)';
|
|
20491
|
-
/** (optional) - sets the minimum box height */
|
|
20492
|
-
boxHeight?: BoxHeightProps;
|
|
20493
|
-
};
|
|
20494
|
-
/**
|
|
20495
|
-
* Uniform Dashed Box Component
|
|
20496
|
-
* @example <DashedBox bgColor="white" boxHeight="md" textAlign="center"><h1>hello world</h1></DashedBox>
|
|
20497
|
-
*/
|
|
20498
|
-
declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20499
|
-
|
|
20500
|
-
type DescriptionListProps = {
|
|
20501
|
-
items: {
|
|
20502
|
-
label: string;
|
|
20503
|
-
value: string | number | boolean | React__default.ReactNode;
|
|
20504
|
-
}[];
|
|
20505
|
-
} & React__default.HTMLAttributes<HTMLDListElement>;
|
|
20506
|
-
/**
|
|
20507
|
-
* A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
|
|
20508
|
-
* @example <DescriptionList items={[{label: 'Label 1', value: 'Value 1'}]} />
|
|
20509
|
-
*/
|
|
20510
|
-
declare const DescriptionList: React__default.ForwardRefExoticComponent<{
|
|
20511
|
-
items: {
|
|
20512
|
-
label: string;
|
|
20513
|
-
value: string | number | boolean | React__default.ReactNode;
|
|
20514
|
-
}[];
|
|
20515
|
-
} & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
|
|
20516
|
-
|
|
20517
|
-
type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
20518
|
-
/** sets the summary inner components */
|
|
20519
|
-
summary: React$1.ReactNode;
|
|
20520
|
-
children: React$1.ReactNode;
|
|
20521
|
-
isOpen?: boolean | undefined;
|
|
20522
|
-
onChange?: (isOpen: boolean) => void;
|
|
20523
|
-
/** sets whether the details should be open by default.
|
|
20524
|
-
* Undefined value means that the details will be controlled by the user.
|
|
20525
|
-
* @default false
|
|
20526
|
-
*/
|
|
20527
|
-
isOpenByDefault?: boolean;
|
|
20528
|
-
};
|
|
20529
|
-
/** @example <Details summary="summary text">child content here</Details>*/
|
|
20530
|
-
declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20531
|
-
|
|
20532
|
-
interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
20533
|
-
/** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
|
|
20534
|
-
stackId: string;
|
|
20535
|
-
/** The width of the drawers. In any CSS length unit (px, rem, %, et al). Can't use CSS functions (e.g. calc())
|
|
20536
|
-
* @default 'medium'
|
|
20537
|
-
*/
|
|
20538
|
-
width?: 'narrow' | 'medium' | 'wide' | (string & NonNullable<unknown>);
|
|
20539
|
-
/** The minimum width of the drawers. In any CSS length unit (px, rem, %, et al)
|
|
20540
|
-
* @default '0'
|
|
20541
|
-
*/
|
|
20542
|
-
minWidth?: string;
|
|
20543
|
-
/** The maximum width of the drawers. In any CSS length unit (px, rem, %, et al)
|
|
20544
|
-
* @default '100%'
|
|
20545
|
-
*/
|
|
20546
|
-
maxWidth?: string;
|
|
20547
|
-
/** Sets the css position value
|
|
20548
|
-
* @default 'absolute'
|
|
20549
|
-
*/
|
|
20550
|
-
position?: 'absolute' | 'fixed' | 'sticky';
|
|
20551
|
-
/** Opens the drawer from left to right
|
|
20552
|
-
* @default false
|
|
20553
|
-
*/
|
|
20554
|
-
leftAligned?: boolean;
|
|
20555
|
-
/**
|
|
20556
|
-
* If a drawer in the stack has a specific `width` prop, and its value is larger than the width of the current stack,
|
|
20557
|
-
* the width of the stack will be automatically adjusted to accommodate for that.
|
|
20558
|
-
* Set this prop to `true` to disable this behavior.
|
|
20559
|
-
* @default false
|
|
20560
|
-
*/
|
|
20561
|
-
withoutFluidWidth?: boolean;
|
|
20562
|
-
}
|
|
20563
|
-
/**
|
|
20564
|
-
* Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
|
|
20565
|
-
* @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
|
|
20566
|
-
*/
|
|
20567
|
-
declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, withoutFluidWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20568
|
-
interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
20569
|
-
index: number;
|
|
20570
|
-
totalDrawers: number;
|
|
20571
|
-
width: DrawerRendererProps['width'];
|
|
20572
|
-
minWidth: Required<DrawerRendererProps['minWidth']>;
|
|
20573
|
-
maxWidth: Required<DrawerRendererProps['maxWidth']>;
|
|
20574
|
-
leftAligned: Required<DrawerRendererProps['leftAligned']>;
|
|
20575
|
-
onOverlayClick?: () => void;
|
|
20576
|
-
}
|
|
20577
|
-
declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
|
|
20578
|
-
providerId: string;
|
|
20579
|
-
stackId?: string | undefined;
|
|
20580
|
-
id: string;
|
|
20581
|
-
}) => {
|
|
20582
|
-
'data-drawer-id': string;
|
|
20583
|
-
'data-testid': string;
|
|
20584
|
-
};
|
|
20585
|
-
|
|
20586
|
-
interface DrawerItem {
|
|
20587
|
-
/** An ID for the drawer. It should be unique in the stack where it's rendered */
|
|
20588
|
-
id: string;
|
|
20589
|
-
/**
|
|
20590
|
-
* The ID of the stack where the drawer should be renderer. It should match the stack ID of an existing DrawerRenderer.
|
|
20591
|
-
* If not provided, it will fall back to the default renderer of the drawer.
|
|
20592
|
-
* If the drawer is rendered inside another one, this value gets inherited.
|
|
20593
|
-
* */
|
|
20594
|
-
stackId?: string;
|
|
20595
|
-
/** Just like React.Key, changing this value indicates that the drawer has changed and we need to close the current instance and open a new one */
|
|
20596
|
-
instanceKey?: string;
|
|
20597
|
-
/**
|
|
20598
|
-
* The desired width of the drawer.
|
|
20599
|
-
* This value is ignored if the drawer is part of a DrawerRenderer with `withoutFluidWidth`.
|
|
20600
|
-
* If not set, the drawer will use the width of its renderer.
|
|
20601
|
-
*/
|
|
20602
|
-
width?: DrawerRendererProps['width'];
|
|
20603
|
-
/** Called when the close button is clicked, the Escape button is pressed, or when the drawer's overlay is clicked */
|
|
20604
|
-
onRequestClose?: () => void;
|
|
20605
|
-
/** Test ID for test automation **/
|
|
20606
|
-
testId?: string;
|
|
20607
|
-
}
|
|
20608
|
-
type RegisterDrawerProps = {
|
|
20609
|
-
drawer: DrawerItem;
|
|
20610
|
-
/** Called when drawer is rendered for the first time. Useful to set the focus on the drawer */
|
|
20611
|
-
onFirstRender?: () => void;
|
|
20612
|
-
};
|
|
20613
|
-
type DrawersRegistryRecord = DrawerItem & {
|
|
20614
|
-
/** The timestamp of when the drawer was registered. Used to stack the drawers in the right order regardless of where where they are in the DOM */
|
|
20615
|
-
registeredAt?: number;
|
|
20616
|
-
isFirstRender?: boolean;
|
|
20617
|
-
onFirstRender?: RegisterDrawerProps['onFirstRender'];
|
|
20618
|
-
};
|
|
20619
|
-
type DrawerContextValue = {
|
|
20620
|
-
providerId: string;
|
|
20621
|
-
drawersRegistry: DrawersRegistryRecord[];
|
|
20622
|
-
registerDrawer: (props: RegisterDrawerProps) => void;
|
|
20623
|
-
unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
|
|
20624
|
-
};
|
|
20625
|
-
/**
|
|
20626
|
-
* Provides the context to the Drawer and DrawerRenderer components.
|
|
20627
|
-
* @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
|
|
20628
|
-
*/
|
|
20629
|
-
declare const DrawerProvider: ({ children }: React__default.PropsWithChildren) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20630
|
-
declare const useDrawer: () => DrawerContextValue;
|
|
20631
|
-
declare const useCloseCurrentDrawer: () => (() => void) | undefined;
|
|
20632
|
-
|
|
20633
|
-
type DrawerProps = DrawerItem & Omit<DrawerRendererProps, 'stackId'> & {
|
|
20634
|
-
header?: React__default.ReactNode;
|
|
20635
|
-
children?: React__default.ReactNode;
|
|
20636
|
-
bgColor?: 'var(--gray-50)' | 'var(--white)';
|
|
20637
|
-
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
20638
|
-
};
|
|
20639
|
-
declare const CurrentDrawerContext: React__default.Context<{
|
|
20640
|
-
id?: string | undefined;
|
|
20641
|
-
stackId?: string | undefined;
|
|
20642
|
-
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
20643
|
-
}>;
|
|
20644
|
-
declare const useCurrentDrawer: () => {
|
|
20645
|
-
id?: string | undefined;
|
|
20646
|
-
stackId?: string | undefined;
|
|
20647
|
-
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
20648
|
-
};
|
|
20649
|
-
/**
|
|
20650
|
-
* A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
|
|
20651
|
-
* @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
|
|
20652
|
-
*/
|
|
20653
|
-
declare const Drawer: React__default.ForwardRefExoticComponent<DrawerItem & Omit<DrawerRendererProps, "stackId"> & {
|
|
20654
|
-
header?: React__default.ReactNode;
|
|
20655
|
-
children?: React__default.ReactNode;
|
|
20656
|
-
bgColor?: "var(--white)" | "var(--gray-50)" | undefined;
|
|
20657
|
-
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
20658
|
-
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
20659
|
-
|
|
20660
|
-
type DrawerContentProps = {
|
|
20661
|
-
children: ReactNode;
|
|
20662
|
-
buttonGroup?: ReactNode;
|
|
20663
|
-
noPadding?: boolean;
|
|
20664
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
20665
|
-
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20666
|
-
|
|
20667
|
-
interface IconButtonProps extends Omit<ButtonProps, 'size'> {
|
|
20668
|
-
variant?: 'square' | 'rounded';
|
|
20669
|
-
/** Style for the larger sizes have not been decided yet */
|
|
20670
|
-
size?: 'xs' | 'sm' | 'md';
|
|
20671
|
-
}
|
|
20672
|
-
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<unknown>>;
|
|
20673
|
-
|
|
20674
20321
|
declare const allSupportedIcons: {
|
|
20675
20322
|
'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20676
20323
|
card: (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
@@ -20695,7 +20342,6 @@ declare const allSupportedIcons: {
|
|
|
20695
20342
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20696
20343
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20697
20344
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20698
|
-
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20699
20345
|
'add-r': _react_icons_all_files_lib.IconType;
|
|
20700
20346
|
add: _react_icons_all_files_lib.IconType;
|
|
20701
20347
|
airplane: _react_icons_all_files_lib.IconType;
|
|
@@ -21345,7 +20991,7 @@ type IconName = keyof typeof allSupportedIcons;
|
|
|
21345
20991
|
/** sets fill color of the svg icon
|
|
21346
20992
|
* @default 'default'
|
|
21347
20993
|
*/
|
|
21348
|
-
type IconColor = '
|
|
20994
|
+
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
|
|
21349
20995
|
/** sets the type of icon to use from the available list */
|
|
21350
20996
|
type IconType = IconName | IconType$1;
|
|
21351
20997
|
interface IconProps extends IconBaseProps {
|
|
@@ -21402,7 +21048,6 @@ declare const customIcons: {
|
|
|
21402
21048
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21403
21049
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21404
21050
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21405
|
-
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21406
21051
|
};
|
|
21407
21052
|
|
|
21408
21053
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -21418,6 +21063,378 @@ declare function IconsProvider({ children }: {
|
|
|
21418
21063
|
children: ReactNode;
|
|
21419
21064
|
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21420
21065
|
|
|
21066
|
+
type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost' | 'secondaryOutline';
|
|
21067
|
+
type ButtonSizeProps = 'sm' | 'base' | 'lg';
|
|
21068
|
+
interface ActionButtonsProps {
|
|
21069
|
+
/** Takes a function for the visible button */
|
|
21070
|
+
onButtonClick: () => void;
|
|
21071
|
+
/** (optional) reakit placements options for the expandable menu */
|
|
21072
|
+
placement?: MenuProps$1['placement'];
|
|
21073
|
+
/** sets the theme of the button
|
|
21074
|
+
* @default "secondary"
|
|
21075
|
+
*/
|
|
21076
|
+
buttonType?: ButtonThemeProps;
|
|
21077
|
+
/** sets the button text value */
|
|
21078
|
+
buttonText: string;
|
|
21079
|
+
/** sets a leading icon supporting the button text */
|
|
21080
|
+
icon?: IconName;
|
|
21081
|
+
/** adds child components to the ButtonWithMenu component */
|
|
21082
|
+
children: React$1.ReactNode;
|
|
21083
|
+
/** sets the button size */
|
|
21084
|
+
size?: ButtonSizeProps;
|
|
21085
|
+
}
|
|
21086
|
+
/** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
|
|
21087
|
+
type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
21088
|
+
/**
|
|
21089
|
+
* Uniform ButtonWithMenu Component
|
|
21090
|
+
* @example
|
|
21091
|
+
<ButtonWithMenu
|
|
21092
|
+
disabled={isDisabled}
|
|
21093
|
+
buttonText="Save and close"
|
|
21094
|
+
onButtonClick={() => someFunction()}
|
|
21095
|
+
placement="bottom-end"
|
|
21096
|
+
>
|
|
21097
|
+
<MenuItem
|
|
21098
|
+
disabled={isDisabled}
|
|
21099
|
+
onClick={() => someFunction()}
|
|
21100
|
+
key="save"
|
|
21101
|
+
className="flex gap-2 items-center"
|
|
21102
|
+
data-testid="save-menu-item-button"
|
|
21103
|
+
>
|
|
21104
|
+
<span className="whitespace-nowrap" data-testid="save-menu-item">
|
|
21105
|
+
Save
|
|
21106
|
+
</span>
|
|
21107
|
+
</MenuItem>
|
|
21108
|
+
</ButtonWithMenu>
|
|
21109
|
+
*/
|
|
21110
|
+
declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, icon, disabled, children, placement, size, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21111
|
+
|
|
21112
|
+
/** Callout button types available to use with our brand */
|
|
21113
|
+
type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
|
|
21114
|
+
interface CalloutProps {
|
|
21115
|
+
/** sets the type of callout to use and it's styles
|
|
21116
|
+
* @default "info"
|
|
21117
|
+
*/
|
|
21118
|
+
type: CalloutType;
|
|
21119
|
+
/** make the display of the callout compact. Suitable for small spaces
|
|
21120
|
+
* @default false
|
|
21121
|
+
*/
|
|
21122
|
+
compact?: boolean;
|
|
21123
|
+
/** (optional) sets the title of the callout */
|
|
21124
|
+
title?: React$1.ReactNode;
|
|
21125
|
+
/** add child elements to the callout */
|
|
21126
|
+
children?: React$1.ReactNode;
|
|
21127
|
+
/** sets additional css classes or emotion styles on the callout */
|
|
21128
|
+
className?: SerializedStyles | string;
|
|
21129
|
+
/** sets the data-testid on the callout element */
|
|
21130
|
+
testId?: string;
|
|
21131
|
+
}
|
|
21132
|
+
/**
|
|
21133
|
+
* Uniform Callout Component
|
|
21134
|
+
* @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
|
|
21135
|
+
*/
|
|
21136
|
+
declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21137
|
+
|
|
21138
|
+
type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21139
|
+
/** (optional) sets the title value of the card */
|
|
21140
|
+
title?: string;
|
|
21141
|
+
/** sets whether or not to apply a margin bottom to the title
|
|
21142
|
+
* @default true
|
|
21143
|
+
*/
|
|
21144
|
+
titleWithMarginBottom?: boolean;
|
|
21145
|
+
/** (optional) sets react child components */
|
|
21146
|
+
children?: React$1.ReactNode;
|
|
21147
|
+
/** (optional) sets options for a dropdown menu */
|
|
21148
|
+
menuItems?: JSX.Element;
|
|
21149
|
+
/** (optional) sets the data-testid attribute on the button element
|
|
21150
|
+
* @default 'list-card-menu'
|
|
21151
|
+
*/
|
|
21152
|
+
menuButtonTestId?: string;
|
|
21153
|
+
/** (optional) sets the menu button disabled state */
|
|
21154
|
+
disabled?: boolean;
|
|
21155
|
+
/**
|
|
21156
|
+
* The name of the HTML tag to render.
|
|
21157
|
+
* @default "div"
|
|
21158
|
+
*/
|
|
21159
|
+
tag?: React$1.ElementType;
|
|
21160
|
+
};
|
|
21161
|
+
declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21162
|
+
type CardTitleProps = {
|
|
21163
|
+
children?: React$1.ReactNode;
|
|
21164
|
+
} & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
|
|
21165
|
+
declare const CardTitle: ({ title, titleWithMarginBottom, children }: CardTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21166
|
+
|
|
21167
|
+
type CardContainerBgColorProps = 'gray' | 'white';
|
|
21168
|
+
type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21169
|
+
/** (optional): sets the background colour of the wrapping element
|
|
21170
|
+
* @default 'white'
|
|
21171
|
+
*/
|
|
21172
|
+
bgColor?: CardContainerBgColorProps;
|
|
21173
|
+
/** (optional): sets react child components */
|
|
21174
|
+
children?: React$1.ReactNode;
|
|
21175
|
+
/** (optional): sets the padding values of the inner container
|
|
21176
|
+
* @example 'when set to true padding: var(--spacing-2xl) var(--spacing-lg)'
|
|
21177
|
+
* @default true
|
|
21178
|
+
*/
|
|
21179
|
+
padding?: boolean;
|
|
21180
|
+
/** (optional): sets the padding values of the inner container
|
|
21181
|
+
* @example `when set to true`
|
|
21182
|
+
* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) [last-col] minmax(300px, 1fr);
|
|
21183
|
+
* grid-template-rows: auto [last-line];
|
|
21184
|
+
* @default false
|
|
21185
|
+
*/
|
|
21186
|
+
withLastColumn?: boolean;
|
|
21187
|
+
};
|
|
21188
|
+
/** Uniform Card Container
|
|
21189
|
+
* @example <CardContainer><Card title="card title" /></CardContainer>
|
|
21190
|
+
*/
|
|
21191
|
+
declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21192
|
+
|
|
21193
|
+
declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21194
|
+
|
|
21195
|
+
type ChipSizeProp = 'xs' | 'sm' | 'md';
|
|
21196
|
+
type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
|
|
21197
|
+
type ChipProps = {
|
|
21198
|
+
icon?: IconType;
|
|
21199
|
+
text: ReactNode;
|
|
21200
|
+
/** sets the size of the chip
|
|
21201
|
+
* @default 'sm'
|
|
21202
|
+
*/
|
|
21203
|
+
theme?: ChipTheme;
|
|
21204
|
+
chipAction?: React.ReactNode;
|
|
21205
|
+
size?: ChipSizeProp;
|
|
21206
|
+
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
21207
|
+
/**
|
|
21208
|
+
* @description Chips are used in a variety of ways
|
|
21209
|
+
* To represent tokens, where the value of the chip will be replaced with something dynamically.
|
|
21210
|
+
* To represent tags or important metadata about an object
|
|
21211
|
+
* To represent a different object, as a reference
|
|
21212
|
+
* @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
|
|
21213
|
+
*/
|
|
21214
|
+
declare const Chip: ({ icon, text, size, theme, chipAction, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21215
|
+
type DismissibleChipActionProps = {
|
|
21216
|
+
onDismiss: () => void;
|
|
21217
|
+
} & HTMLAttributes<HTMLButtonElement>;
|
|
21218
|
+
/**
|
|
21219
|
+
* @description Dismissible chip action should be used with the Chip component
|
|
21220
|
+
* @example <DismissibleChipAction onDismiss={() => {...}}/>
|
|
21221
|
+
*/
|
|
21222
|
+
declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21223
|
+
|
|
21224
|
+
type MultilineChipProps = {
|
|
21225
|
+
children: ReactNode;
|
|
21226
|
+
onClick?: () => void;
|
|
21227
|
+
} & React.HTMLAttributes<HTMLSpanElement | HTMLButtonElement>;
|
|
21228
|
+
/**
|
|
21229
|
+
* @description A chip specifically designed to fit as a chipped element in an multi-line capable content field.
|
|
21230
|
+
* Unlike a regular chip, this one can go onto multiple lines with word wrap, and uses inline behaviours.
|
|
21231
|
+
* @example <MultilineChip text="productId" />
|
|
21232
|
+
*/
|
|
21233
|
+
declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21234
|
+
|
|
21235
|
+
type CounterProps = {
|
|
21236
|
+
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
|
|
21237
|
+
count: number | undefined;
|
|
21238
|
+
/** sets the background color
|
|
21239
|
+
* @default 'transparent'
|
|
21240
|
+
*/
|
|
21241
|
+
bgColor?: 'var(--white)' | 'var(--gray-50)' | 'transparent';
|
|
21242
|
+
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
21243
|
+
/** @example <Counter count={1} /> */
|
|
21244
|
+
declare const Counter: ({ count, bgColor, ...props }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21245
|
+
|
|
21246
|
+
type TextAlignProps = 'left' | 'right' | 'center';
|
|
21247
|
+
type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
21248
|
+
type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21249
|
+
/** React child elements */
|
|
21250
|
+
children: React$1.ReactNode;
|
|
21251
|
+
/** (optional) - sets the text alignment */
|
|
21252
|
+
textAlign?: TextAlignProps;
|
|
21253
|
+
/** (optional) - sets the background color */
|
|
21254
|
+
bgColor?: 'transparent' | 'white' | 'var(--gray-50)';
|
|
21255
|
+
/** (optional) - sets the minimum box height */
|
|
21256
|
+
boxHeight?: BoxHeightProps;
|
|
21257
|
+
};
|
|
21258
|
+
/**
|
|
21259
|
+
* Uniform Dashed Box Component
|
|
21260
|
+
* @example <DashedBox bgColor="white" boxHeight="md" textAlign="center"><h1>hello world</h1></DashedBox>
|
|
21261
|
+
*/
|
|
21262
|
+
declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21263
|
+
|
|
21264
|
+
type DescriptionListProps = {
|
|
21265
|
+
items: {
|
|
21266
|
+
label: string;
|
|
21267
|
+
value: string | number | boolean | React__default.ReactNode;
|
|
21268
|
+
}[];
|
|
21269
|
+
} & React__default.HTMLAttributes<HTMLDListElement>;
|
|
21270
|
+
/**
|
|
21271
|
+
* A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
|
|
21272
|
+
* @example <DescriptionList items={[{label: 'Label 1', value: 'Value 1'}]} />
|
|
21273
|
+
*/
|
|
21274
|
+
declare const DescriptionList: React__default.ForwardRefExoticComponent<{
|
|
21275
|
+
items: {
|
|
21276
|
+
label: string;
|
|
21277
|
+
value: string | number | boolean | React__default.ReactNode;
|
|
21278
|
+
}[];
|
|
21279
|
+
} & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
|
|
21280
|
+
|
|
21281
|
+
type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
21282
|
+
/** sets the summary inner components */
|
|
21283
|
+
summary: React$1.ReactNode;
|
|
21284
|
+
children: React$1.ReactNode;
|
|
21285
|
+
isOpen?: boolean | undefined;
|
|
21286
|
+
onChange?: (isOpen: boolean) => void;
|
|
21287
|
+
/** sets whether the details should be open by default.
|
|
21288
|
+
* Undefined value means that the details will be controlled by the user.
|
|
21289
|
+
* @default false
|
|
21290
|
+
*/
|
|
21291
|
+
isOpenByDefault?: boolean;
|
|
21292
|
+
};
|
|
21293
|
+
/** @example <Details summary="summary text">child content here</Details>*/
|
|
21294
|
+
declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21295
|
+
|
|
21296
|
+
interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
21297
|
+
/** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
|
|
21298
|
+
stackId: string;
|
|
21299
|
+
/** The width of the drawers. In any CSS length unit (px, rem, %, et al). Can't use CSS functions (e.g. calc())
|
|
21300
|
+
* @default 'medium'
|
|
21301
|
+
*/
|
|
21302
|
+
width?: 'narrow' | 'medium' | 'wide' | (string & NonNullable<unknown>);
|
|
21303
|
+
/** The minimum width of the drawers. In any CSS length unit (px, rem, %, et al)
|
|
21304
|
+
* @default '0'
|
|
21305
|
+
*/
|
|
21306
|
+
minWidth?: string;
|
|
21307
|
+
/** The maximum width of the drawers. In any CSS length unit (px, rem, %, et al)
|
|
21308
|
+
* @default '100%'
|
|
21309
|
+
*/
|
|
21310
|
+
maxWidth?: string;
|
|
21311
|
+
/** Sets the css position value
|
|
21312
|
+
* @default 'absolute'
|
|
21313
|
+
*/
|
|
21314
|
+
position?: 'absolute' | 'fixed' | 'sticky';
|
|
21315
|
+
/** Opens the drawer from left to right
|
|
21316
|
+
* @default false
|
|
21317
|
+
*/
|
|
21318
|
+
leftAligned?: boolean;
|
|
21319
|
+
/**
|
|
21320
|
+
* If a drawer in the stack has a specific `width` prop, and its value is larger than the width of the current stack,
|
|
21321
|
+
* the width of the stack will be automatically adjusted to accommodate for that.
|
|
21322
|
+
* Set this prop to `true` to disable this behavior.
|
|
21323
|
+
* @default false
|
|
21324
|
+
*/
|
|
21325
|
+
withoutFluidWidth?: boolean;
|
|
21326
|
+
}
|
|
21327
|
+
/**
|
|
21328
|
+
* Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
|
|
21329
|
+
* @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
|
|
21330
|
+
*/
|
|
21331
|
+
declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, withoutFluidWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21332
|
+
interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
21333
|
+
index: number;
|
|
21334
|
+
totalDrawers: number;
|
|
21335
|
+
width: DrawerRendererProps['width'];
|
|
21336
|
+
minWidth: Required<DrawerRendererProps['minWidth']>;
|
|
21337
|
+
maxWidth: Required<DrawerRendererProps['maxWidth']>;
|
|
21338
|
+
leftAligned: Required<DrawerRendererProps['leftAligned']>;
|
|
21339
|
+
onOverlayClick?: () => void;
|
|
21340
|
+
}
|
|
21341
|
+
declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
|
|
21342
|
+
providerId: string;
|
|
21343
|
+
stackId?: string | undefined;
|
|
21344
|
+
id: string;
|
|
21345
|
+
}) => {
|
|
21346
|
+
'data-drawer-id': string;
|
|
21347
|
+
'data-testid': string;
|
|
21348
|
+
};
|
|
21349
|
+
|
|
21350
|
+
interface DrawerItem {
|
|
21351
|
+
/** An ID for the drawer. It should be unique in the stack where it's rendered */
|
|
21352
|
+
id: string;
|
|
21353
|
+
/**
|
|
21354
|
+
* The ID of the stack where the drawer should be renderer. It should match the stack ID of an existing DrawerRenderer.
|
|
21355
|
+
* If not provided, it will fall back to the default renderer of the drawer.
|
|
21356
|
+
* If the drawer is rendered inside another one, this value gets inherited.
|
|
21357
|
+
* */
|
|
21358
|
+
stackId?: string;
|
|
21359
|
+
/** Just like React.Key, changing this value indicates that the drawer has changed and we need to close the current instance and open a new one */
|
|
21360
|
+
instanceKey?: string;
|
|
21361
|
+
/**
|
|
21362
|
+
* The desired width of the drawer.
|
|
21363
|
+
* This value is ignored if the drawer is part of a DrawerRenderer with `withoutFluidWidth`.
|
|
21364
|
+
* If not set, the drawer will use the width of its renderer.
|
|
21365
|
+
*/
|
|
21366
|
+
width?: DrawerRendererProps['width'];
|
|
21367
|
+
/** Called when the close button is clicked, the Escape button is pressed, or when the drawer's overlay is clicked */
|
|
21368
|
+
onRequestClose?: () => void;
|
|
21369
|
+
/** Test ID for test automation **/
|
|
21370
|
+
testId?: string;
|
|
21371
|
+
}
|
|
21372
|
+
type RegisterDrawerProps = {
|
|
21373
|
+
drawer: DrawerItem;
|
|
21374
|
+
/** Called when drawer is rendered for the first time. Useful to set the focus on the drawer */
|
|
21375
|
+
onFirstRender?: () => void;
|
|
21376
|
+
};
|
|
21377
|
+
type DrawersRegistryRecord = DrawerItem & {
|
|
21378
|
+
/** The timestamp of when the drawer was registered. Used to stack the drawers in the right order regardless of where where they are in the DOM */
|
|
21379
|
+
registeredAt?: number;
|
|
21380
|
+
isFirstRender?: boolean;
|
|
21381
|
+
onFirstRender?: RegisterDrawerProps['onFirstRender'];
|
|
21382
|
+
};
|
|
21383
|
+
type DrawerContextValue = {
|
|
21384
|
+
providerId: string;
|
|
21385
|
+
drawersRegistry: DrawersRegistryRecord[];
|
|
21386
|
+
registerDrawer: (props: RegisterDrawerProps) => void;
|
|
21387
|
+
unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
|
|
21388
|
+
};
|
|
21389
|
+
/**
|
|
21390
|
+
* Provides the context to the Drawer and DrawerRenderer components.
|
|
21391
|
+
* @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
|
|
21392
|
+
*/
|
|
21393
|
+
declare const DrawerProvider: ({ children }: React__default.PropsWithChildren) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21394
|
+
declare const useDrawer: () => DrawerContextValue;
|
|
21395
|
+
declare const useCloseCurrentDrawer: () => (() => void) | undefined;
|
|
21396
|
+
|
|
21397
|
+
type DrawerProps = DrawerItem & Omit<DrawerRendererProps, 'stackId'> & {
|
|
21398
|
+
header?: React__default.ReactNode;
|
|
21399
|
+
children?: React__default.ReactNode;
|
|
21400
|
+
bgColor?: 'var(--gray-50)' | 'var(--white)';
|
|
21401
|
+
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
21402
|
+
};
|
|
21403
|
+
declare const CurrentDrawerContext: React__default.Context<{
|
|
21404
|
+
id?: string | undefined;
|
|
21405
|
+
stackId?: string | undefined;
|
|
21406
|
+
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
21407
|
+
}>;
|
|
21408
|
+
declare const useCurrentDrawer: () => {
|
|
21409
|
+
id?: string | undefined;
|
|
21410
|
+
stackId?: string | undefined;
|
|
21411
|
+
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
21412
|
+
};
|
|
21413
|
+
/**
|
|
21414
|
+
* A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
|
|
21415
|
+
* @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
|
|
21416
|
+
*/
|
|
21417
|
+
declare const Drawer: React__default.ForwardRefExoticComponent<DrawerItem & Omit<DrawerRendererProps, "stackId"> & {
|
|
21418
|
+
header?: React__default.ReactNode;
|
|
21419
|
+
children?: React__default.ReactNode;
|
|
21420
|
+
bgColor?: "var(--white)" | "var(--gray-50)" | undefined;
|
|
21421
|
+
leftAligned?: DrawerRendererProps['leftAligned'];
|
|
21422
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
21423
|
+
|
|
21424
|
+
type DrawerContentProps = {
|
|
21425
|
+
children: ReactNode;
|
|
21426
|
+
buttonGroup?: ReactNode;
|
|
21427
|
+
noPadding?: boolean;
|
|
21428
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
21429
|
+
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21430
|
+
|
|
21431
|
+
interface IconButtonProps extends Omit<ButtonProps, 'size'> {
|
|
21432
|
+
variant?: 'square' | 'rounded';
|
|
21433
|
+
/** Style for the larger sizes have not been decided yet */
|
|
21434
|
+
size?: 'xs' | 'sm' | 'md';
|
|
21435
|
+
}
|
|
21436
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<unknown>>;
|
|
21437
|
+
|
|
21421
21438
|
interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
21422
21439
|
imgClassName?: string;
|
|
21423
21440
|
variant?: 'inline' | 'fill-container';
|
|
@@ -22004,13 +22021,12 @@ declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, ch
|
|
|
22004
22021
|
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
22005
22022
|
/** sets the button text value */
|
|
22006
22023
|
buttonText: string;
|
|
22007
|
-
icon?: React$1.ReactElement;
|
|
22008
22024
|
} & ScrollableListContainerProps;
|
|
22009
22025
|
/**
|
|
22010
22026
|
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
22011
22027
|
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
22012
22028
|
*/
|
|
22013
|
-
declare const ScrollableListItem: ({ buttonText,
|
|
22029
|
+
declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22014
22030
|
|
|
22015
22031
|
/**
|
|
22016
22032
|
* Loading Indicator
|
|
@@ -22226,8 +22242,6 @@ type CommonParameterInputProps = CommonParameterProps & {
|
|
|
22226
22242
|
caption?: string;
|
|
22227
22243
|
/** sets menu items within the design system component Menu */
|
|
22228
22244
|
menuItems?: ReactNode;
|
|
22229
|
-
/** sets action items */
|
|
22230
|
-
actionItems?: React.ReactNode;
|
|
22231
22245
|
/** (option) sets validation message test id for test automation */
|
|
22232
22246
|
errorTestId?: string;
|
|
22233
22247
|
/** (option) sets caption message test id for test automation */
|
|
@@ -22340,7 +22354,6 @@ type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes
|
|
|
22340
22354
|
declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
22341
22355
|
caption?: string | undefined;
|
|
22342
22356
|
menuItems?: React$1.ReactNode;
|
|
22343
|
-
actionItems?: React$1.ReactNode;
|
|
22344
22357
|
errorTestId?: string | undefined;
|
|
22345
22358
|
captionTestId?: string | undefined;
|
|
22346
22359
|
title?: string | undefined;
|
|
@@ -22372,7 +22385,6 @@ type ParameterLinkProps = CommonParameterInputProps & React.InputHTMLAttributes<
|
|
|
22372
22385
|
declare const ParameterLink: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
22373
22386
|
caption?: string | undefined;
|
|
22374
22387
|
menuItems?: React$1.ReactNode;
|
|
22375
|
-
actionItems?: React$1.ReactNode;
|
|
22376
22388
|
errorTestId?: string | undefined;
|
|
22377
22389
|
captionTestId?: string | undefined;
|
|
22378
22390
|
title?: string | undefined;
|
|
@@ -22525,7 +22537,6 @@ type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectPro
|
|
|
22525
22537
|
declare const ParameterSelect: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
22526
22538
|
caption?: string | undefined;
|
|
22527
22539
|
menuItems?: React$1.ReactNode;
|
|
22528
|
-
actionItems?: React$1.ReactNode;
|
|
22529
22540
|
errorTestId?: string | undefined;
|
|
22530
22541
|
captionTestId?: string | undefined;
|
|
22531
22542
|
title?: string | undefined;
|
|
@@ -22538,7 +22549,6 @@ declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<Param
|
|
|
22538
22549
|
declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
22539
22550
|
caption?: string | undefined;
|
|
22540
22551
|
menuItems?: ReactNode;
|
|
22541
|
-
actionItems?: ReactNode;
|
|
22542
22552
|
errorTestId?: string | undefined;
|
|
22543
22553
|
captionTestId?: string | undefined;
|
|
22544
22554
|
title?: string | undefined;
|
|
@@ -22562,7 +22572,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
|
22562
22572
|
innerProps: Omit<T & CommonParameterProps & {
|
|
22563
22573
|
caption?: string | undefined;
|
|
22564
22574
|
menuItems?: ReactNode;
|
|
22565
|
-
actionItems?: ReactNode;
|
|
22566
22575
|
errorTestId?: string | undefined;
|
|
22567
22576
|
captionTestId?: string | undefined;
|
|
22568
22577
|
title?: string | undefined;
|
|
@@ -22583,7 +22592,7 @@ type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonPar
|
|
|
22583
22592
|
* Uniform Parameter shell component
|
|
22584
22593
|
* @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
|
|
22585
22594
|
*/
|
|
22586
|
-
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems,
|
|
22595
|
+
declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22587
22596
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
22588
22597
|
children?: ReactNode;
|
|
22589
22598
|
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
@@ -22595,7 +22604,6 @@ type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttr
|
|
|
22595
22604
|
declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
22596
22605
|
caption?: string | undefined;
|
|
22597
22606
|
menuItems?: React$1.ReactNode;
|
|
22598
|
-
actionItems?: React$1.ReactNode;
|
|
22599
22607
|
errorTestId?: string | undefined;
|
|
22600
22608
|
captionTestId?: string | undefined;
|
|
22601
22609
|
title?: string | undefined;
|
|
@@ -22610,7 +22618,6 @@ type ParameterToggleProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 't
|
|
|
22610
22618
|
declare const ParameterToggle: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & CommonParameterProps & {
|
|
22611
22619
|
caption?: string | undefined;
|
|
22612
22620
|
menuItems?: React$1.ReactNode;
|
|
22613
|
-
actionItems?: React$1.ReactNode;
|
|
22614
22621
|
errorTestId?: string | undefined;
|
|
22615
22622
|
captionTestId?: string | undefined;
|
|
22616
22623
|
title?: string | undefined;
|
|
@@ -22648,6 +22655,17 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
22648
22655
|
};
|
|
22649
22656
|
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22650
22657
|
|
|
22658
|
+
interface ProgressBarProps {
|
|
22659
|
+
className?: string;
|
|
22660
|
+
current: number;
|
|
22661
|
+
max: number;
|
|
22662
|
+
theme?: 'primary' | 'secondary';
|
|
22663
|
+
}
|
|
22664
|
+
/**
|
|
22665
|
+
* @deprecated unstable - props and functionality is likely to change
|
|
22666
|
+
*/
|
|
22667
|
+
declare function ProgressBar({ className, current, max, theme }: ProgressBarProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22668
|
+
|
|
22651
22669
|
type ProgressListItemStatus = 'completed' | 'inProgress' | 'queued';
|
|
22652
22670
|
type ProgressListProps = React__default.HTMLAttributes<HTMLOListElement> & {
|
|
22653
22671
|
/** A list of the items to show in the progress list */
|
|
@@ -23146,4 +23164,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23146
23164
|
};
|
|
23147
23165
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23148
23166
|
|
|
23149
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, borderTopIcon, breakpoints, button,
|
|
23167
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|