@uniformdev/design-system 19.49.1 → 19.49.4-alpha.67

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { RefObject, HTMLAttributes, ReactNode, SVGProps, CSSProperties, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
2
+ import React__default, { RefObject, HTMLAttributes, ReactNode, ImgHTMLAttributes, SVGProps, CSSProperties, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
3
3
  import { GroupBase } from 'react-select';
4
4
  export { ActionMeta, FormatOptionLabelContext, FormatOptionLabelMeta, GetOptionLabel, GetOptionValue, GroupBase, GroupHeadingProps, GroupProps, MenuListProps, MenuPlacement, MultiValue, MultiValueGenericProps, MultiValueProps, MultiValueRemoveProps, OnChangeValue, OptionContext, OptionProps, Options, OptionsOrGroups } from 'react-select';
5
5
  import * as _emotion_react from '@emotion/react';
@@ -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,6 +98,8 @@ declare const buttonRippleEffect: (props: {
82
98
  hoverColor: string;
83
99
  activeColor?: string;
84
100
  }) => _emotion_react.SerializedStyles;
101
+ declare const buttonAccentAltDark: _emotion_react.SerializedStyles;
102
+ declare const buttonAccentAltDarkOutline: _emotion_react.SerializedStyles;
85
103
  declare const buttonPrimary: _emotion_react.SerializedStyles;
86
104
  declare const buttonDestructive: _emotion_react.SerializedStyles;
87
105
  declare const buttonSecondary: _emotion_react.SerializedStyles;
@@ -20280,9 +20298,9 @@ declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAtt
20280
20298
  declare const UniformLogoLarge: ({ ...props }: React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20281
20299
 
20282
20300
  /** Button themes that are available to use with our brand */
20283
- type ButtonThemeProps$1 = 'primary' | 'secondary' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
20301
+ type ButtonThemeProps$1 = 'primary' | 'secondary' | 'accent-alt-dark' | 'accent-alt-dark-outline' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
20284
20302
  /** Button sizes that are available to use with our brand */
20285
- type ButtonSizeProps = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
20303
+ type ButtonSizeProps$1 = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
20286
20304
  type ButtonProps = ButtonProps$1 & {
20287
20305
  /** sets the theme of the button
20288
20306
  * @default "primary"
@@ -20293,7 +20311,7 @@ type ButtonProps = ButtonProps$1 & {
20293
20311
  /**
20294
20312
  * @default "md"
20295
20313
  * */
20296
- size?: ButtonSizeProps;
20314
+ size?: ButtonSizeProps$1;
20297
20315
  };
20298
20316
  /**
20299
20317
  * Uniform Button Component
@@ -20302,370 +20320,6 @@ type ButtonProps = ButtonProps$1 & {
20302
20320
  */
20303
20321
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
20304
20322
 
20305
- type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost';
20306
- interface ActionButtonsProps {
20307
- /** Takes a function for the visible button */
20308
- onButtonClick: () => void;
20309
- /** (optional) reakit placements options for the expandable menu */
20310
- placement?: MenuProps$1['placement'];
20311
- /** sets the theme of the button
20312
- * @default "secondary"
20313
- */
20314
- buttonType?: ButtonThemeProps;
20315
- /** sets the button text value */
20316
- buttonText: string;
20317
- /** adds child components to the ButtonWithMenu component */
20318
- children: React$1.ReactNode;
20319
- }
20320
- /** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
20321
- type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
20322
- /**
20323
- * Uniform ButtonWithMenu Component
20324
- * @example
20325
- <ButtonWithMenu
20326
- disabled={isDisabled}
20327
- buttonText="Save and close"
20328
- onButtonClick={() => someFunction()}
20329
- placement="bottom-end"
20330
- >
20331
- <MenuItem
20332
- disabled={isDisabled}
20333
- onClick={() => someFunction()}
20334
- key="save"
20335
- className="flex gap-2 items-center"
20336
- data-testid="save-menu-item-button"
20337
- >
20338
- <span className="whitespace-nowrap" data-testid="save-menu-item">
20339
- Save
20340
- </span>
20341
- </MenuItem>
20342
- </ButtonWithMenu>
20343
- */
20344
- declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, disabled, children, placement, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20345
-
20346
- /** Callout button types available to use with our brand */
20347
- type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
20348
- interface CalloutProps {
20349
- /** sets the type of callout to use and it's styles
20350
- * @default "info"
20351
- */
20352
- type: CalloutType;
20353
- /** make the display of the callout compact. Suitable for small spaces
20354
- * @default false
20355
- */
20356
- compact?: boolean;
20357
- /** (optional) sets the title of the callout */
20358
- title?: React$1.ReactNode;
20359
- /** add child elements to the callout */
20360
- children?: React$1.ReactNode;
20361
- /** sets additional css classes or emotion styles on the callout */
20362
- className?: SerializedStyles | string;
20363
- /** sets the data-testid on the callout element */
20364
- testId?: string;
20365
- }
20366
- /**
20367
- * Uniform Callout Component
20368
- * @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
20369
- */
20370
- declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
20371
-
20372
- type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
20373
- /** (optional) sets the title value of the card */
20374
- title?: string;
20375
- /** sets whether or not to apply a margin bottom to the title
20376
- * @default true
20377
- */
20378
- titleWithMarginBottom?: boolean;
20379
- /** (optional) sets react child components */
20380
- children?: React$1.ReactNode;
20381
- /** (optional) sets options for a dropdown menu */
20382
- menuItems?: JSX.Element;
20383
- /** (optional) sets the data-testid attribute on the button element
20384
- * @default 'list-card-menu'
20385
- */
20386
- menuButtonTestId?: string;
20387
- /** (optional) sets the menu button disabled state */
20388
- disabled?: boolean;
20389
- /**
20390
- * The name of the HTML tag to render.
20391
- * @default "div"
20392
- */
20393
- tag?: React$1.ElementType;
20394
- };
20395
- declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20396
- type CardTitleProps = {
20397
- children?: React$1.ReactNode;
20398
- } & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
20399
- declare const CardTitle: ({ title, titleWithMarginBottom, children }: CardTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20400
-
20401
- type CardContainerBgColorProps = 'gray' | 'white';
20402
- type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
20403
- /** (optional): sets the background colour of the wrapping element
20404
- * @default 'white'
20405
- */
20406
- bgColor?: CardContainerBgColorProps;
20407
- /** (optional): sets react child components */
20408
- children?: React$1.ReactNode;
20409
- /** (optional): sets the padding values of the inner container
20410
- * @example 'when set to true padding: var(--spacing-2xl) var(--spacing-lg)'
20411
- * @default true
20412
- */
20413
- padding?: boolean;
20414
- /** (optional): sets the padding values of the inner container
20415
- * @example `when set to true`
20416
- * grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) [last-col] minmax(300px, 1fr);
20417
- * grid-template-rows: auto [last-line];
20418
- * @default false
20419
- */
20420
- withLastColumn?: boolean;
20421
- };
20422
- /** Uniform Card Container
20423
- * @example <CardContainer><Card title="card title" /></CardContainer>
20424
- */
20425
- declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20426
-
20427
- declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20428
-
20429
- type ChipSizeProp = 'xs' | 'sm' | 'md';
20430
- type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
20431
- type ChipProps = {
20432
- icon?: IconType;
20433
- text: ReactNode;
20434
- /** sets the size of the chip
20435
- * @default 'sm'
20436
- */
20437
- theme?: ChipTheme;
20438
- chipAction?: React.ReactNode;
20439
- size?: ChipSizeProp;
20440
- } & React.HTMLAttributes<HTMLSpanElement>;
20441
- /**
20442
- * @description Chips are used in a variety of ways
20443
- * To represent tokens, where the value of the chip will be replaced with something dynamically.
20444
- * To represent tags or important metadata about an object
20445
- * To represent a different object, as a reference
20446
- * @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
20447
- */
20448
- declare const Chip: ({ icon, text, size, theme, chipAction, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20449
- type DismissibleChipActionProps = {
20450
- onDismiss: () => void;
20451
- } & HTMLAttributes<HTMLButtonElement>;
20452
- /**
20453
- * @description Dismissible chip action should be used with the Chip component
20454
- * @example <DismissibleChipAction onDismiss={() => {...}}/>
20455
- */
20456
- declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20457
-
20458
- type MultilineChipProps = {
20459
- children: ReactNode;
20460
- onClick?: () => void;
20461
- } & React.HTMLAttributes<HTMLSpanElement | HTMLButtonElement>;
20462
- /**
20463
- * @description A chip specifically designed to fit as a chipped element in an multi-line capable content field.
20464
- * Unlike a regular chip, this one can go onto multiple lines with word wrap, and uses inline behaviours.
20465
- * @example <MultilineChip text="productId" />
20466
- */
20467
- declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20468
-
20469
- type CounterProps = {
20470
- /** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
20471
- count: number | undefined;
20472
- /** sets the background color
20473
- * @default 'transparent'
20474
- */
20475
- bgColor?: 'var(--white)' | 'var(--gray-50)' | 'transparent';
20476
- } & React$1.HTMLAttributes<HTMLDivElement>;
20477
- /** @example <Counter count={1} /> */
20478
- declare const Counter: ({ count, bgColor, ...props }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
20479
-
20480
- type TextAlignProps = 'left' | 'right' | 'center';
20481
- type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
20482
- type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
20483
- /** React child elements */
20484
- children: React$1.ReactNode;
20485
- /** (optional) - sets the text alignment */
20486
- textAlign?: TextAlignProps;
20487
- /** (optional) - sets the background color */
20488
- bgColor?: 'transparent' | 'white' | 'var(--gray-50)';
20489
- /** (optional) - sets the minimum box height */
20490
- boxHeight?: BoxHeightProps;
20491
- };
20492
- /**
20493
- * Uniform Dashed Box Component
20494
- * @example <DashedBox bgColor="white" boxHeight="md" textAlign="center"><h1>hello world</h1></DashedBox>
20495
- */
20496
- declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20497
-
20498
- type DescriptionListProps = {
20499
- items: {
20500
- label: string;
20501
- value: string | number | boolean | React__default.ReactNode;
20502
- }[];
20503
- } & React__default.HTMLAttributes<HTMLDListElement>;
20504
- /**
20505
- * A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
20506
- * @example <DescriptionList items={[{label: 'Label 1', value: 'Value 1'}]} />
20507
- */
20508
- declare const DescriptionList: React__default.ForwardRefExoticComponent<{
20509
- items: {
20510
- label: string;
20511
- value: string | number | boolean | React__default.ReactNode;
20512
- }[];
20513
- } & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
20514
-
20515
- type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
20516
- /** sets the summary inner components */
20517
- summary: React$1.ReactNode;
20518
- children: React$1.ReactNode;
20519
- isOpen?: boolean | undefined;
20520
- onChange?: (isOpen: boolean) => void;
20521
- /** sets whether the details should be open by default.
20522
- * Undefined value means that the details will be controlled by the user.
20523
- * @default false
20524
- */
20525
- isOpenByDefault?: boolean;
20526
- };
20527
- /** @example <Details summary="summary text">child content here</Details>*/
20528
- declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20529
-
20530
- interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
20531
- /** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
20532
- stackId: string;
20533
- /** The width of the drawers. In any CSS length unit (px, rem, %, et al). Can't use CSS functions (e.g. calc())
20534
- * @default 'medium'
20535
- */
20536
- width?: 'narrow' | 'medium' | 'wide' | (string & NonNullable<unknown>);
20537
- /** The minimum width of the drawers. In any CSS length unit (px, rem, %, et al)
20538
- * @default '0'
20539
- */
20540
- minWidth?: string;
20541
- /** The maximum width of the drawers. In any CSS length unit (px, rem, %, et al)
20542
- * @default '100%'
20543
- */
20544
- maxWidth?: string;
20545
- /** Sets the css position value
20546
- * @default 'absolute'
20547
- */
20548
- position?: 'absolute' | 'fixed' | 'sticky';
20549
- /** Opens the drawer from left to right
20550
- * @default false
20551
- */
20552
- leftAligned?: boolean;
20553
- /**
20554
- * If a drawer in the stack has a specific `width` prop, and its value is larger than the width of the current stack,
20555
- * the width of the stack will be automatically adjusted to accommodate for that.
20556
- * Set this prop to `true` to disable this behavior.
20557
- * @default false
20558
- */
20559
- withoutFluidWidth?: boolean;
20560
- }
20561
- /**
20562
- * Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
20563
- * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
20564
- */
20565
- declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, withoutFluidWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
20566
- interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
20567
- index: number;
20568
- totalDrawers: number;
20569
- width: DrawerRendererProps['width'];
20570
- minWidth: Required<DrawerRendererProps['minWidth']>;
20571
- maxWidth: Required<DrawerRendererProps['maxWidth']>;
20572
- leftAligned: Required<DrawerRendererProps['leftAligned']>;
20573
- onOverlayClick?: () => void;
20574
- }
20575
- declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
20576
- providerId: string;
20577
- stackId?: string | undefined;
20578
- id: string;
20579
- }) => {
20580
- 'data-drawer-id': string;
20581
- 'data-testid': string;
20582
- };
20583
-
20584
- interface DrawerItem {
20585
- /** An ID for the drawer. It should be unique in the stack where it's rendered */
20586
- id: string;
20587
- /**
20588
- * The ID of the stack where the drawer should be renderer. It should match the stack ID of an existing DrawerRenderer.
20589
- * If not provided, it will fall back to the default renderer of the drawer.
20590
- * If the drawer is rendered inside another one, this value gets inherited.
20591
- * */
20592
- stackId?: string;
20593
- /** 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 */
20594
- instanceKey?: string;
20595
- /**
20596
- * The desired width of the drawer.
20597
- * This value is ignored if the drawer is part of a DrawerRenderer with `withoutFluidWidth`.
20598
- * If not set, the drawer will use the width of its renderer.
20599
- */
20600
- width?: DrawerRendererProps['width'];
20601
- /** Called when the close button is clicked, the Escape button is pressed, or when the drawer's overlay is clicked */
20602
- onRequestClose?: () => void;
20603
- /** Test ID for test automation **/
20604
- testId?: string;
20605
- }
20606
- type RegisterDrawerProps = {
20607
- drawer: DrawerItem;
20608
- /** Called when drawer is rendered for the first time. Useful to set the focus on the drawer */
20609
- onFirstRender?: () => void;
20610
- };
20611
- type DrawersRegistryRecord = DrawerItem & {
20612
- /** 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 */
20613
- registeredAt?: number;
20614
- isFirstRender?: boolean;
20615
- onFirstRender?: RegisterDrawerProps['onFirstRender'];
20616
- };
20617
- type DrawerContextValue = {
20618
- providerId: string;
20619
- drawersRegistry: DrawersRegistryRecord[];
20620
- registerDrawer: (props: RegisterDrawerProps) => void;
20621
- unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
20622
- };
20623
- /**
20624
- * Provides the context to the Drawer and DrawerRenderer components.
20625
- * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
20626
- */
20627
- declare const DrawerProvider: ({ children }: React__default.PropsWithChildren) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20628
- declare const useDrawer: () => DrawerContextValue;
20629
- declare const useCloseCurrentDrawer: () => (() => void) | undefined;
20630
-
20631
- type DrawerProps = DrawerItem & Omit<DrawerRendererProps, 'stackId'> & {
20632
- header?: React__default.ReactNode;
20633
- children?: React__default.ReactNode;
20634
- bgColor?: 'var(--gray-50)' | 'var(--white)';
20635
- leftAligned?: DrawerRendererProps['leftAligned'];
20636
- };
20637
- declare const CurrentDrawerContext: React__default.Context<{
20638
- id?: string | undefined;
20639
- stackId?: string | undefined;
20640
- leftAligned?: DrawerRendererProps['leftAligned'];
20641
- }>;
20642
- declare const useCurrentDrawer: () => {
20643
- id?: string | undefined;
20644
- stackId?: string | undefined;
20645
- leftAligned?: DrawerRendererProps['leftAligned'];
20646
- };
20647
- /**
20648
- * A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
20649
- * @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
20650
- */
20651
- declare const Drawer: React__default.ForwardRefExoticComponent<DrawerItem & Omit<DrawerRendererProps, "stackId"> & {
20652
- header?: React__default.ReactNode;
20653
- children?: React__default.ReactNode;
20654
- bgColor?: "var(--white)" | "var(--gray-50)" | undefined;
20655
- leftAligned?: DrawerRendererProps['leftAligned'];
20656
- } & React__default.RefAttributes<HTMLDivElement>>;
20657
-
20658
- type DrawerContentProps = {
20659
- children: ReactNode;
20660
- buttonGroup?: ReactNode;
20661
- noPadding?: boolean;
20662
- } & HTMLAttributes<HTMLDivElement>;
20663
- declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20664
-
20665
- interface IconButtonProps extends ButtonProps {
20666
- }
20667
- declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<unknown>>;
20668
-
20669
20323
  declare const allSupportedIcons: {
20670
20324
  'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20671
20325
  card: (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
@@ -20690,6 +20344,7 @@ declare const allSupportedIcons: {
20690
20344
  'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20691
20345
  'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20692
20346
  'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20347
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
20693
20348
  'add-r': _react_icons_all_files_lib.IconType;
20694
20349
  add: _react_icons_all_files_lib.IconType;
20695
20350
  airplane: _react_icons_all_files_lib.IconType;
@@ -21339,7 +20994,7 @@ type IconName = keyof typeof allSupportedIcons;
21339
20994
  /** sets fill color of the svg icon
21340
20995
  * @default 'default'
21341
20996
  */
21342
- type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
20997
+ type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
21343
20998
  /** sets the type of icon to use from the available list */
21344
20999
  type IconType = IconName | IconType$1;
21345
21000
  interface IconProps extends IconBaseProps {
@@ -21396,6 +21051,7 @@ declare const customIcons: {
21396
21051
  'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21397
21052
  'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21398
21053
  'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21054
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
21399
21055
  };
21400
21056
 
21401
21057
  type IconsMap = Record<string, IconType$1>;
@@ -21411,6 +21067,384 @@ declare function IconsProvider({ children }: {
21411
21067
  children: ReactNode;
21412
21068
  }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21413
21069
 
21070
+ type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost' | 'secondaryOutline';
21071
+ type ButtonSizeProps = 'sm' | 'base' | 'lg';
21072
+ interface ActionButtonsProps {
21073
+ /** Takes a function for the visible button */
21074
+ onButtonClick?: () => void;
21075
+ /** (optional) reakit placements options for the expandable menu */
21076
+ placement?: MenuProps$1['placement'];
21077
+ /** sets the theme of the button
21078
+ * @default "secondary"
21079
+ */
21080
+ buttonType?: ButtonThemeProps;
21081
+ /** sets the button text value */
21082
+ buttonText: string;
21083
+ /** sets a leading icon supporting the button text */
21084
+ icon?: IconName;
21085
+ /** adds child components to the ButtonWithMenu component */
21086
+ children: React$1.ReactNode;
21087
+ /** sets the button size */
21088
+ size?: ButtonSizeProps;
21089
+ }
21090
+ /** ButtonWithMenuProps combines the ActionButtonsProps with React HTMLButtonElement attributes */
21091
+ type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
21092
+ /**
21093
+ * Uniform ButtonWithMenu Component
21094
+ * @example
21095
+ <ButtonWithMenu
21096
+ disabled={isDisabled}
21097
+ buttonText="Save and close"
21098
+ onButtonClick={() => someFunction()}
21099
+ placement="bottom-end"
21100
+ >
21101
+ <MenuItem
21102
+ disabled={isDisabled}
21103
+ onClick={() => someFunction()}
21104
+ key="save"
21105
+ className="flex gap-2 items-center"
21106
+ data-testid="save-menu-item-button"
21107
+ >
21108
+ <span className="whitespace-nowrap" data-testid="save-menu-item">
21109
+ Save
21110
+ </span>
21111
+ </MenuItem>
21112
+ </ButtonWithMenu>
21113
+ */
21114
+ declare const ButtonWithMenu: ({ onButtonClick, buttonType, buttonText, icon, disabled, children, placement, size, ...buttonProps }: ButtonWithMenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21115
+
21116
+ /** Callout button types available to use with our brand */
21117
+ type CalloutType = 'caution' | 'danger' | 'info' | 'note' | 'success' | 'tip' | 'error';
21118
+ interface CalloutProps {
21119
+ /** sets the type of callout to use and it's styles
21120
+ * @default "info"
21121
+ */
21122
+ type: CalloutType;
21123
+ /** make the display of the callout compact. Suitable for small spaces
21124
+ * @default false
21125
+ */
21126
+ compact?: boolean;
21127
+ /** (optional) sets the title of the callout */
21128
+ title?: React$1.ReactNode;
21129
+ /** add child elements to the callout */
21130
+ children?: React$1.ReactNode;
21131
+ /** sets additional css classes or emotion styles on the callout */
21132
+ className?: SerializedStyles | string;
21133
+ /** sets the data-testid on the callout element */
21134
+ testId?: string;
21135
+ }
21136
+ /**
21137
+ * Uniform Callout Component
21138
+ * @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
21139
+ */
21140
+ declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
21141
+
21142
+ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
21143
+ /** (optional) sets the title value of the card */
21144
+ title?: string;
21145
+ /** sets whether or not to apply a margin bottom to the title
21146
+ * @default true
21147
+ */
21148
+ titleWithMarginBottom?: boolean;
21149
+ /** (optional) sets react child components */
21150
+ children?: React$1.ReactNode;
21151
+ /** (optional) sets options for a dropdown menu */
21152
+ menuItems?: JSX.Element;
21153
+ /** (optional) sets the data-testid attribute on the button element
21154
+ * @default 'list-card-menu'
21155
+ */
21156
+ menuButtonTestId?: string;
21157
+ /** (optional) sets the menu button disabled state */
21158
+ disabled?: boolean;
21159
+ /**
21160
+ * The name of the HTML tag to render.
21161
+ * @default "div"
21162
+ */
21163
+ tag?: React$1.ElementType;
21164
+ };
21165
+ declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21166
+ type CardTitleProps = {
21167
+ children?: React$1.ReactNode;
21168
+ } & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
21169
+ declare const CardTitle: ({ title, titleWithMarginBottom, children }: CardTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21170
+
21171
+ type CardContainerBgColorProps = 'gray' | 'white';
21172
+ type CardContainerProps = React$1.HTMLAttributes<HTMLDivElement> & {
21173
+ /** (optional): sets the background colour of the wrapping element
21174
+ * @default 'white'
21175
+ */
21176
+ bgColor?: CardContainerBgColorProps;
21177
+ /** (optional): sets react child components */
21178
+ children?: React$1.ReactNode;
21179
+ /** (optional): sets the padding values of the inner container
21180
+ * @example 'when set to true padding: var(--spacing-2xl) var(--spacing-lg)'
21181
+ * @default true
21182
+ */
21183
+ padding?: boolean;
21184
+ /** (optional): sets the padding values of the inner container
21185
+ * @example `when set to true`
21186
+ * grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) [last-col] minmax(300px, 1fr);
21187
+ * grid-template-rows: auto [last-line];
21188
+ * @default false
21189
+ */
21190
+ withLastColumn?: boolean;
21191
+ };
21192
+ /** Uniform Card Container
21193
+ * @example <CardContainer><Card title="card title" /></CardContainer>
21194
+ */
21195
+ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...props }: CardContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21196
+
21197
+ declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21198
+
21199
+ type ChipSizeProp = 'xs' | 'sm' | 'md';
21200
+ type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
21201
+ type ChipProps = {
21202
+ icon?: IconType;
21203
+ text: ReactNode;
21204
+ /** sets the size of the chip
21205
+ * @default 'sm'
21206
+ */
21207
+ theme?: ChipTheme;
21208
+ chipAction?: React.ReactNode;
21209
+ size?: ChipSizeProp;
21210
+ } & React.HTMLAttributes<HTMLSpanElement>;
21211
+ /**
21212
+ * @description Chips are used in a variety of ways
21213
+ * To represent tokens, where the value of the chip will be replaced with something dynamically.
21214
+ * To represent tags or important metadata about an object
21215
+ * To represent a different object, as a reference
21216
+ * @example <Chip text="productId" theme="accent-light" chipAction={<DismissibleChipAction onDismiss={() => {...}}/>} />
21217
+ */
21218
+ declare const Chip: ({ icon, text, size, theme, chipAction, ...props }: ChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21219
+ type DismissibleChipActionProps = {
21220
+ onDismiss: () => void;
21221
+ } & HTMLAttributes<HTMLButtonElement>;
21222
+ /**
21223
+ * @description Dismissible chip action should be used with the Chip component
21224
+ * @example <DismissibleChipAction onDismiss={() => {...}}/>
21225
+ */
21226
+ declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21227
+
21228
+ type MultilineChipProps = {
21229
+ children: ReactNode;
21230
+ onClick?: () => void;
21231
+ } & React.HTMLAttributes<HTMLSpanElement | HTMLButtonElement>;
21232
+ /**
21233
+ * @description A chip specifically designed to fit as a chipped element in an multi-line capable content field.
21234
+ * Unlike a regular chip, this one can go onto multiple lines with word wrap, and uses inline behaviours.
21235
+ * @example <MultilineChip text="productId" />
21236
+ */
21237
+ declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21238
+
21239
+ type CounterProps = {
21240
+ /** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
21241
+ count: number | undefined;
21242
+ /** sets the background color
21243
+ * @default 'transparent'
21244
+ */
21245
+ bgColor?: 'var(--white)' | 'var(--gray-50)' | 'transparent';
21246
+ } & React$1.HTMLAttributes<HTMLDivElement>;
21247
+ /** @example <Counter count={1} /> */
21248
+ declare const Counter: ({ count, bgColor, ...props }: CounterProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
21249
+
21250
+ type TextAlignProps = 'left' | 'right' | 'center';
21251
+ type BoxHeightProps = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
21252
+ type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
21253
+ /** React child elements */
21254
+ children: React$1.ReactNode;
21255
+ /** (optional) - sets the text alignment */
21256
+ textAlign?: TextAlignProps;
21257
+ /** (optional) - sets the background color */
21258
+ bgColor?: 'transparent' | 'white' | 'var(--gray-50)';
21259
+ /** (optional) - sets the minimum box height */
21260
+ boxHeight?: BoxHeightProps;
21261
+ };
21262
+ /**
21263
+ * Uniform Dashed Box Component
21264
+ * @example <DashedBox bgColor="white" boxHeight="md" textAlign="center"><h1>hello world</h1></DashedBox>
21265
+ */
21266
+ declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21267
+
21268
+ type DescriptionListProps = {
21269
+ items: {
21270
+ label: string;
21271
+ value: string | number | boolean | React__default.ReactNode;
21272
+ }[];
21273
+ } & React__default.HTMLAttributes<HTMLDListElement>;
21274
+ /**
21275
+ * A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
21276
+ * @example <DescriptionList items={[{label: 'Label 1', value: 'Value 1'}]} />
21277
+ */
21278
+ declare const DescriptionList: React__default.ForwardRefExoticComponent<{
21279
+ items: {
21280
+ label: string;
21281
+ value: string | number | boolean | React__default.ReactNode;
21282
+ }[];
21283
+ } & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
21284
+
21285
+ type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
21286
+ /** sets the summary inner components */
21287
+ summary: React$1.ReactNode;
21288
+ children: React$1.ReactNode;
21289
+ isOpen?: boolean | undefined;
21290
+ onChange?: (isOpen: boolean) => void;
21291
+ /** sets whether the details should be open by default.
21292
+ * Undefined value means that the details will be controlled by the user.
21293
+ * @default false
21294
+ */
21295
+ isOpenByDefault?: boolean;
21296
+ };
21297
+ /** @example <Details summary="summary text">child content here</Details>*/
21298
+ declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21299
+
21300
+ interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
21301
+ /** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
21302
+ stackId: string;
21303
+ /** The width of the drawers. In any CSS length unit (px, rem, %, et al). Can't use CSS functions (e.g. calc())
21304
+ * @default 'medium'
21305
+ */
21306
+ width?: 'narrow' | 'medium' | 'wide' | (string & NonNullable<unknown>);
21307
+ /** The minimum width of the drawers. In any CSS length unit (px, rem, %, et al)
21308
+ * @default '0'
21309
+ */
21310
+ minWidth?: string;
21311
+ /** The maximum width of the drawers. In any CSS length unit (px, rem, %, et al)
21312
+ * @default '100%'
21313
+ */
21314
+ maxWidth?: string;
21315
+ /** Sets the css position value
21316
+ * @default 'absolute'
21317
+ */
21318
+ position?: 'absolute' | 'fixed' | 'sticky';
21319
+ /** Opens the drawer from left to right
21320
+ * @default false
21321
+ */
21322
+ leftAligned?: boolean;
21323
+ /**
21324
+ * If a drawer in the stack has a specific `width` prop, and its value is larger than the width of the current stack,
21325
+ * the width of the stack will be automatically adjusted to accommodate for that.
21326
+ * Set this prop to `true` to disable this behavior.
21327
+ * @default false
21328
+ */
21329
+ withoutFluidWidth?: boolean;
21330
+ }
21331
+ /**
21332
+ * Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
21333
+ * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
21334
+ */
21335
+ declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, withoutFluidWidth, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
21336
+ interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
21337
+ index: number;
21338
+ totalDrawers: number;
21339
+ width: DrawerRendererProps['width'];
21340
+ minWidth: Required<DrawerRendererProps['minWidth']>;
21341
+ maxWidth: Required<DrawerRendererProps['maxWidth']>;
21342
+ leftAligned: Required<DrawerRendererProps['leftAligned']>;
21343
+ onOverlayClick?: () => void;
21344
+ }
21345
+ declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
21346
+ providerId: string;
21347
+ stackId?: string | undefined;
21348
+ id: string;
21349
+ }) => {
21350
+ 'data-drawer-id': string;
21351
+ 'data-testid': string;
21352
+ };
21353
+
21354
+ interface DrawerItem {
21355
+ /** An ID for the drawer. It should be unique in the stack where it's rendered */
21356
+ id: string;
21357
+ /**
21358
+ * The ID of the stack where the drawer should be renderer. It should match the stack ID of an existing DrawerRenderer.
21359
+ * If not provided, it will fall back to the default renderer of the drawer.
21360
+ * If the drawer is rendered inside another one, this value gets inherited.
21361
+ * */
21362
+ stackId?: string;
21363
+ /** 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 */
21364
+ instanceKey?: string;
21365
+ /**
21366
+ * The desired width of the drawer.
21367
+ * This value is ignored if the drawer is part of a DrawerRenderer with `withoutFluidWidth`.
21368
+ * If not set, the drawer will use the width of its renderer.
21369
+ */
21370
+ width?: DrawerRendererProps['width'];
21371
+ /** Called when the close button is clicked, the Escape button is pressed, or when the drawer's overlay is clicked */
21372
+ onRequestClose?: () => void;
21373
+ /** Test ID for test automation **/
21374
+ testId?: string;
21375
+ }
21376
+ type RegisterDrawerProps = {
21377
+ drawer: DrawerItem;
21378
+ /** Called when drawer is rendered for the first time. Useful to set the focus on the drawer */
21379
+ onFirstRender?: () => void;
21380
+ };
21381
+ type DrawersRegistryRecord = DrawerItem & {
21382
+ /** 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 */
21383
+ registeredAt?: number;
21384
+ isFirstRender?: boolean;
21385
+ onFirstRender?: RegisterDrawerProps['onFirstRender'];
21386
+ };
21387
+ type DrawerContextValue = {
21388
+ providerId: string;
21389
+ drawersRegistry: DrawersRegistryRecord[];
21390
+ registerDrawer: (props: RegisterDrawerProps) => void;
21391
+ unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
21392
+ };
21393
+ /**
21394
+ * Provides the context to the Drawer and DrawerRenderer components.
21395
+ * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
21396
+ */
21397
+ declare const DrawerProvider: ({ children }: React__default.PropsWithChildren) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21398
+ declare const useDrawer: () => DrawerContextValue;
21399
+ declare const useCloseCurrentDrawer: () => (() => void) | undefined;
21400
+
21401
+ type DrawerProps = DrawerItem & Omit<DrawerRendererProps, 'stackId'> & {
21402
+ header?: React__default.ReactNode;
21403
+ children?: React__default.ReactNode;
21404
+ bgColor?: 'var(--gray-50)' | 'var(--white)';
21405
+ leftAligned?: DrawerRendererProps['leftAligned'];
21406
+ };
21407
+ declare const CurrentDrawerContext: React__default.Context<{
21408
+ id?: string | undefined;
21409
+ stackId?: string | undefined;
21410
+ leftAligned?: DrawerRendererProps['leftAligned'];
21411
+ }>;
21412
+ declare const useCurrentDrawer: () => {
21413
+ id?: string | undefined;
21414
+ stackId?: string | undefined;
21415
+ leftAligned?: DrawerRendererProps['leftAligned'];
21416
+ };
21417
+ /**
21418
+ * A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
21419
+ * @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
21420
+ */
21421
+ declare const Drawer: React__default.ForwardRefExoticComponent<DrawerItem & Omit<DrawerRendererProps, "stackId"> & {
21422
+ header?: React__default.ReactNode;
21423
+ children?: React__default.ReactNode;
21424
+ bgColor?: "var(--white)" | "var(--gray-50)" | undefined;
21425
+ leftAligned?: DrawerRendererProps['leftAligned'];
21426
+ } & React__default.RefAttributes<HTMLDivElement>>;
21427
+
21428
+ type DrawerContentProps = {
21429
+ children: ReactNode;
21430
+ buttonGroup?: ReactNode;
21431
+ noPadding?: boolean;
21432
+ } & HTMLAttributes<HTMLDivElement>;
21433
+ declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21434
+
21435
+ interface IconButtonProps extends Omit<ButtonProps, 'size'> {
21436
+ variant?: 'square' | 'rounded';
21437
+ /** Style for the larger sizes have not been decided yet */
21438
+ size?: 'xs' | 'sm' | 'md';
21439
+ }
21440
+ declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<unknown>>;
21441
+
21442
+ interface ImageProps extends ImgHTMLAttributes<HTMLImageElement> {
21443
+ imgClassName?: string;
21444
+ variant?: 'inline' | 'fill-container';
21445
+ }
21446
+ declare function Image({ alt, src, className, imgClassName, variant, width, height, ...imgAttribs }: ImageProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21447
+
21414
21448
  declare const ImageBroken: ({ width, height, ...props }: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21415
21449
 
21416
21450
  type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
@@ -21991,12 +22025,13 @@ declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, ch
21991
22025
  type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
21992
22026
  /** sets the button text value */
21993
22027
  buttonText: string;
22028
+ icon?: React$1.ReactElement;
21994
22029
  } & ScrollableListContainerProps;
21995
22030
  /**
21996
22031
  * Component used within <ScrollableList /> for adding interactive button components with predefined styles
21997
22032
  * @example <ScrollableListItem buttontext="my button" active={false} />
21998
22033
  */
21999
- declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22034
+ declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22000
22035
 
22001
22036
  /**
22002
22037
  * Loading Indicator
@@ -22212,6 +22247,8 @@ type CommonParameterInputProps = CommonParameterProps & {
22212
22247
  caption?: string;
22213
22248
  /** sets menu items within the design system component Menu */
22214
22249
  menuItems?: ReactNode;
22250
+ /** sets action items */
22251
+ actionItems?: React.ReactNode;
22215
22252
  /** (option) sets validation message test id for test automation */
22216
22253
  errorTestId?: string;
22217
22254
  /** (option) sets caption message test id for test automation */
@@ -22324,6 +22361,7 @@ type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes
22324
22361
  declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterProps & {
22325
22362
  caption?: string | undefined;
22326
22363
  menuItems?: React$1.ReactNode;
22364
+ actionItems?: React$1.ReactNode;
22327
22365
  errorTestId?: string | undefined;
22328
22366
  captionTestId?: string | undefined;
22329
22367
  title?: string | undefined;
@@ -22355,6 +22393,7 @@ type ParameterLinkProps = CommonParameterInputProps & React.InputHTMLAttributes<
22355
22393
  declare const ParameterLink: React$1.ForwardRefExoticComponent<CommonParameterProps & {
22356
22394
  caption?: string | undefined;
22357
22395
  menuItems?: React$1.ReactNode;
22396
+ actionItems?: React$1.ReactNode;
22358
22397
  errorTestId?: string | undefined;
22359
22398
  captionTestId?: string | undefined;
22360
22399
  title?: string | undefined;
@@ -22507,6 +22546,7 @@ type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectPro
22507
22546
  declare const ParameterSelect: React$1.ForwardRefExoticComponent<CommonParameterProps & {
22508
22547
  caption?: string | undefined;
22509
22548
  menuItems?: React$1.ReactNode;
22549
+ actionItems?: React$1.ReactNode;
22510
22550
  errorTestId?: string | undefined;
22511
22551
  captionTestId?: string | undefined;
22512
22552
  title?: string | undefined;
@@ -22519,6 +22559,7 @@ declare const ParameterSelectInner: React$1.ForwardRefExoticComponent<Omit<Param
22519
22559
  declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22520
22560
  caption?: string | undefined;
22521
22561
  menuItems?: ReactNode;
22562
+ actionItems?: ReactNode;
22522
22563
  errorTestId?: string | undefined;
22523
22564
  captionTestId?: string | undefined;
22524
22565
  title?: string | undefined;
@@ -22542,6 +22583,7 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22542
22583
  innerProps: Omit<T & CommonParameterProps & {
22543
22584
  caption?: string | undefined;
22544
22585
  menuItems?: ReactNode;
22586
+ actionItems?: ReactNode;
22545
22587
  errorTestId?: string | undefined;
22546
22588
  captionTestId?: string | undefined;
22547
22589
  title?: string | undefined;
@@ -22562,7 +22604,7 @@ type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonPar
22562
22604
  * Uniform Parameter shell component
22563
22605
  * @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
22564
22606
  */
22565
- 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;
22607
+ declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, actionItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22566
22608
  declare const ParameterShellPlaceholder: ({ children }: {
22567
22609
  children?: ReactNode;
22568
22610
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
@@ -22574,6 +22616,7 @@ type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttr
22574
22616
  declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParameterProps & {
22575
22617
  caption?: string | undefined;
22576
22618
  menuItems?: React$1.ReactNode;
22619
+ actionItems?: React$1.ReactNode;
22577
22620
  errorTestId?: string | undefined;
22578
22621
  captionTestId?: string | undefined;
22579
22622
  title?: string | undefined;
@@ -22588,6 +22631,7 @@ type ParameterToggleProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 't
22588
22631
  declare const ParameterToggle: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & CommonParameterProps & {
22589
22632
  caption?: string | undefined;
22590
22633
  menuItems?: React$1.ReactNode;
22634
+ actionItems?: React$1.ReactNode;
22591
22635
  errorTestId?: string | undefined;
22592
22636
  captionTestId?: string | undefined;
22593
22637
  title?: string | undefined;
@@ -22625,6 +22669,17 @@ type PopoverProps = PopoverProps$1 & {
22625
22669
  };
22626
22670
  declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22627
22671
 
22672
+ interface ProgressBarProps {
22673
+ className?: string;
22674
+ current: number;
22675
+ max: number;
22676
+ theme?: 'primary' | 'secondary';
22677
+ }
22678
+ /**
22679
+ * @deprecated unstable - props and functionality is likely to change
22680
+ */
22681
+ declare function ProgressBar({ className, current, max, theme }: ProgressBarProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22682
+
22628
22683
  type ProgressListItemStatus = 'completed' | 'inProgress' | 'queued';
22629
22684
  type ProgressListProps = React__default.HTMLAttributes<HTMLOListElement> & {
22630
22685
  /** A list of the items to show in the progress list */
@@ -22978,8 +23033,10 @@ type TooltipProps = TooltipOptions & {
22978
23033
  /** Optional ability to control visibility of Tooltip manually, useful for showing tooltip on click instead of on hover */
22979
23034
  visible?: TooltipInitialState['visible'];
22980
23035
  children: JSX.Element;
23036
+ /** If the tooltip should not be rendered inside a portal */
23037
+ withoutPortal?: boolean;
22981
23038
  };
22982
- declare function Tooltip({ children, title, placement, visible, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23039
+ declare function Tooltip({ children, title, placement, visible, withoutPortal, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22983
23040
 
22984
23041
  /** Available heading weights e.g. 1 - 6 */
22985
23042
  type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
@@ -23123,4 +23180,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23123
23180
  };
23124
23181
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23125
23182
 
23126
- 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, ImageBroken, 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, 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, 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, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, 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 };
23183
+ 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, buttonAccentAltDark, buttonAccentAltDarkOutline, 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 };