@uniformdev/design-system 19.35.2 → 19.35.3-alpha.82

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, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
2
+ import React__default, { RefObject, HTMLAttributes, ReactNode, CSSProperties, SVGAttributes, 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';
@@ -15,10 +15,12 @@ import InternalSelect from 'react-select/dist/declarations/src/Select';
15
15
  import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
16
16
  import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
17
17
  import { MenuHTMLProps, MenuProps as MenuProps$2, MenuStateReturn } from 'reakit/Menu';
18
+ import { InitialConfigType } from '@lexical/react/LexicalComposer';
18
19
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
19
20
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
20
- import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
21
+ import { DecoratorNode, NodeKey, Spread, SerializedElementNode, ElementNode, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
21
22
  import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
23
+ import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
22
24
  import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
23
25
  import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
24
26
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
@@ -20176,6 +20178,37 @@ type AnimationFileProps = LottieComponentProps & {
20176
20178
  */
20177
20179
  declare const AnimationFile: ({ label, loop, autoplay, width, height, ...props }: AnimationFileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20178
20180
 
20181
+ type AvatarSizeProp = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
20182
+ type AvatarProps = {
20183
+ src?: string;
20184
+ label?: string;
20185
+ size?: AvatarSizeProp;
20186
+ } & React.HTMLAttributes<HTMLDivElement>;
20187
+ /**
20188
+ * @description A component to render rounded avatars of a user or an app.
20189
+ * @example <Avatar>AB</Avatar>
20190
+ */
20191
+ declare const Avatar: ({ src, label, children, size, ...props }: AvatarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20192
+
20193
+ type AvatarGroupProps = {
20194
+ /**
20195
+ * The maximum number of avatars to show.
20196
+ * If this value is smaller than the number of children, the other avatars will be truncated and shows as "+N"
20197
+ * @default 5
20198
+ * */
20199
+ max?: number;
20200
+ /**
20201
+ * A function that return the label to use on the truncated value.
20202
+ * @default (n) => `and ${n} others`
20203
+ * */
20204
+ getTruncatedLabel?: (numberOfTruncatedItems: number) => string;
20205
+ } & React.HTMLAttributes<HTMLDivElement>;
20206
+ /**
20207
+ * @description Renders avatars in a group with the ability to truncate the list. This component works best when the <Avatar> component are direct children.
20208
+ * @example <AvatarGroup max={2}><Avatar>AB</Avatar><Avatar>CD</Avatar><Avatar>EF</Avatar><AvatarGroup>
20209
+ */
20210
+ declare const AvatarGroup: ({ max, children, getTruncatedLabel, ...props }: AvatarGroupProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20211
+
20179
20212
  type BadgeThemeProps = 'caution' | 'info' | 'note' | 'success' | 'error' | 'unimportant';
20180
20213
  type SizeProps = 'xs' | 'sm' | 'base';
20181
20214
  type BadgeProps = {
@@ -20353,8 +20386,13 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
20353
20386
  menuButtonTestId?: string;
20354
20387
  /** (optional) sets the menu button disabled state */
20355
20388
  disabled?: boolean;
20389
+ /**
20390
+ * The name of the HTML tag to render.
20391
+ * @default "div"
20392
+ */
20393
+ tag?: React$1.ElementType;
20356
20394
  };
20357
- declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20395
+ declare const Card: ({ title, menuItems, children, titleWithMarginBottom, disabled, tag: Tag, menuButtonTestId, ...props }: CardProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20358
20396
  type CardTitleProps = {
20359
20397
  children?: React$1.ReactNode;
20360
20398
  } & Pick<CardProps, 'title' | 'titleWithMarginBottom'>;
@@ -20389,14 +20427,14 @@ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...p
20389
20427
  declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20390
20428
 
20391
20429
  type ChipSizeProp = 'xs' | 'sm' | 'md';
20392
- type ChipThemeProps = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
20430
+ type ChipTheme = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
20393
20431
  type ChipProps = {
20394
20432
  icon?: IconType$1;
20395
20433
  text: ReactNode;
20396
20434
  /** sets the size of the chip
20397
20435
  * @default 'sm'
20398
20436
  */
20399
- theme?: ChipThemeProps;
20437
+ theme?: ChipTheme;
20400
20438
  chipAction?: React.ReactNode;
20401
20439
  size?: ChipSizeProp;
20402
20440
  } & React.HTMLAttributes<HTMLSpanElement>;
@@ -20417,6 +20455,17 @@ type DismissibleChipActionProps = {
20417
20455
  */
20418
20456
  declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20419
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
+
20420
20469
  type CounterProps = {
20421
20470
  /** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
20422
20471
  count: number | undefined;
@@ -20446,6 +20495,23 @@ type DashedBoxProps = React$1.HTMLAttributes<HTMLDivElement> & {
20446
20495
  */
20447
20496
  declare const DashedBox: ({ bgColor, textAlign, boxHeight, children, ...props }: DashedBoxProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20448
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
+
20449
20515
  type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
20450
20516
  /** sets the summary inner components */
20451
20517
  summary: React$1.ReactNode;
@@ -20485,6 +20551,8 @@ type RegisterDrawerProps = {
20485
20551
  type DrawersRegistryRecord = DrawerItem & {
20486
20552
  /** 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 */
20487
20553
  registeredAt?: number;
20554
+ isFirstRender?: boolean;
20555
+ onFirstRender?: RegisterDrawerProps['onFirstRender'];
20488
20556
  };
20489
20557
  type DrawerContextValue = {
20490
20558
  providerId: string;
@@ -20518,7 +20586,7 @@ declare const useCurrentDrawer: () => {
20518
20586
  };
20519
20587
  /**
20520
20588
  * A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
20521
- * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
20589
+ * @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
20522
20590
  */
20523
20591
  declare const Drawer: React__default.ForwardRefExoticComponent<DrawerProps & Omit<DrawerRendererProps, "stackId"> & React__default.RefAttributes<HTMLDivElement>>;
20524
20592
 
@@ -20553,6 +20621,10 @@ interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDiv
20553
20621
  */
20554
20622
  leftAligned?: boolean;
20555
20623
  }
20624
+ /**
20625
+ * Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
20626
+ * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
20627
+ */
20556
20628
  declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
20557
20629
  interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
20558
20630
  index: number;
@@ -20569,6 +20641,7 @@ declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
20569
20641
  id: string;
20570
20642
  }) => {
20571
20643
  'data-drawer-id': string;
20644
+ 'data-test-id': string;
20572
20645
  };
20573
20646
 
20574
20647
  declare const iconNames: readonly ["add-r", "add", "airplane", "alarm", "album", "align-bottom", "align-center", "align-left", "align-middle", "align-right", "align-top", "anchor", "apple-watch", "arrange-back", "arrange-front", "arrow-align-h", "arrow-align-v", "arrow-bottom-left-o", "arrow-bottom-left-r", "arrow-bottom-left", "arrow-bottom-right-o", "arrow-bottom-right-r", "arrow-bottom-right", "arrow-down-o", "arrow-down-r", "arrow-down", "arrow-left-o", "arrow-left-r", "arrow-left", "arrow-long-down-c", "arrow-long-down-e", "arrow-long-down-l", "arrow-long-down-r", "arrow-long-down", "arrow-long-left-c", "arrow-long-left-e", "arrow-long-left-l", "arrow-long-left-r", "arrow-long-left", "arrow-long-right-c", "arrow-long-right-e", "arrow-long-right-l", "arrow-long-right-r", "arrow-long-right", "arrow-long-up-c", "arrow-long-up-e", "arrow-long-up-l", "arrow-long-up-r", "arrow-long-up", "arrow-right-o", "arrow-right-r", "arrow-right", "arrow-top-left-o", "arrow-top-left-r", "arrow-top-left", "arrow-top-right-o", "arrow-top-right-r", "arrow-top-right", "arrow-up-o", "arrow-up-r", "arrow-up", "arrows-breake-h", "arrows-breake-v", "arrows-exchange-alt-v", "arrows-exchange-alt", "arrows-exchange-v", "arrows-exchange", "arrows-expand-down-left", "arrows-expand-down-right", "arrows-expand-left-alt", "arrows-expand-left", "arrows-expand-right-alt", "arrows-expand-right", "arrows-expand-up-left", "arrows-expand-up-right", "arrows-h-alt", "arrows-h", "arrows-merge-alt-h", "arrows-merge-alt-v", "arrows-scroll-h", "arrows-scroll-v", "arrows-shrink-h", "arrows-shrink-v", "arrows-v-alt", "arrows-v", "assign", "asterisk", "attachment", "attribution", "awards", "backspace", "band-aid", "battery-empty", "battery-full", "battery", "bee", "bell", "bitbucket", "block", "board", "bolt", "bookmark", "border-all", "border-bottom", "border-left", "border-right", "border-style-dashed", "border-style-dotted", "border-style-solid", "border-top", "bot", "bowl", "box", "boy", "briefcase", "browse", "browser", "brush", "bulb", "c-plus-plus", "calculator", "calendar-dates", "calendar-due", "calendar-next", "calendar-today", "calendar-two", "calendar", "calibrate", "camera", "cap", "captions", "card-clubs", "card-diamonds", "card-hearts", "card-spades", "carousel", "cast", "chart", "check-o", "check-r", "check", "chevron-double-down-o", "chevron-double-down-r", "chevron-double-down", "chevron-double-left-o", "chevron-double-left-r", "chevron-double-left", "chevron-double-right-o", "chevron-double-right-r", "chevron-double-right", "chevron-double-up-o", "chevron-double-up-r", "chevron-double-up", "chevron-down-o", "chevron-down-r", "chevron-down", "chevron-left-o", "chevron-left-r", "chevron-left", "chevron-right-o", "chevron-right-r", "chevron-right", "chevron-up-o", "chevron-up-r", "chevron-up", "clapper-board", "clear-formatting", "clipboard", "close-o", "close-r", "close", "cloud", "code-slash", "code", "coffee", "collage", "color-bucket", "color-picker", "comment", "community", "components", "compress-left", "compress-right", "compress-v", "compress", "controller", "copy", "copyright", "corner-double-down-left", "corner-double-down-right", "corner-double-left-down", "corner-double-left-up", "corner-double-right-down", "corner-double-right-up", "corner-double-up-left", "corner-double-up-right", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left", "corner-up-right", "credit-card", "crop", "cross", "crown", "danger", "dark-mode", "data", "database", "debug", "desktop", "details-less", "details-more", "dialpad", "dice-1", "dice-2", "dice-3", "dice-4", "dice-5", "dice-6", "disc", "display-flex", "display-fullwidth", "display-grid", "display-spacing", "distribute-horizontal", "distribute-vertical", "dock-bottom", "dock-left", "dock-right", "dock-window", "dollar", "drive", "drop-invert", "drop-opacity", "drop", "duplicate", "edit-black-point", "edit-contrast", "edit-exposure", "edit-fade", "edit-flip-h", "edit-flip-v", "edit-highlight", "edit-markup", "edit-mask", "edit-noise", "edit-shadows", "edit-straight", "edit-unmask", "eject", "enter", "erase", "ereader", "ericsson", "ethernet", "euro", "expand", "export", "extension-add", "extension-alt", "extension-remove", "extension", "external", "eye-alt", "eye", "feed", "file-add", "file-document", "file-remove", "file", "film", "filters", "flag-alt", "flag", "folder-add", "folder-remove", "folder", "font-height", "font-spacing", "format-bold", "format-center", "format-color", "format-code", "format-heading", "format-indent-decrease", "format-indent-increase", "format-italic", "format-justify", "format-left", "format-line-height", "format-right", "format-separator", "format-slash", "format-strike", "format-subscript", "format-superscript", "format-text", "format-underline", "format-uppercase", "games", "gender-female", "gender-male", "ghost-character", "gift", "girl", "git-branch", "git-commit", "git-fork", "git-pull", "glass-alt", "glass", "globe-alt", "globe", "gym", "hashtag", "headset", "heart", "home-alt", "home-screen", "home", "icecream", "image", "import", "inbox", "infinity", "info", "inpicture", "insert-after-o", "insert-after-r", "insert-after", "insert-before-o", "insert-before-r", "insert-before", "insights", "internal", "key", "keyboard", "keyhole", "laptop", "layout-grid-small", "layout-grid", "layout-list", "layout-list-numbered", "layout-pin", "link", "list-tree", "list", "live-photo", "loadbar-alt", "loadbar-doc", "loadbar-sound", "loadbar", "lock-unlock", "lock", "log-in", "log-off", "log-out", "loupe", "magnet", "mail-forward", "mail-open", "mail-reply", "mail", "math-divide", "math-equal", "math-minus", "math-percent", "math-plus", "maximize-alt", "maximize", "media-live", "media-podcast", "menu-boxed", "menu-cake", "menu-cheese", "menu-grid-o", "menu-grid-r", "menu-hotdog", "menu-left-alt", "menu-left", "menu-motion", "menu-oreos", "menu-right-alt", "menu-right", "menu-round", "menu", "merge-horizontal", "merge-vertical", "mic", "mini-player", "minimize-alt", "minimize", "modem", "moon", "more-alt", "more-o", "more-r", "more-vertical-alt", "more-vertical-o", "more-vertical-r", "more-vertical", "more", "mouse", "move-down", "move-left", "move-right", "move-task", "move-up", "music-note", "music-speaker", "music", "nametag", "notes", "notifications", "options", "organisation", "password", "path-back", "path-crop", "path-divide", "path-exclude", "path-front", "path-intersect", "path-outline", "path-trim", "path-unite", "pen", "pentagon-bottom-left", "pentagon-bottom-right", "pentagon-down", "pentagon-left", "pentagon-right", "pentagon-top-left", "pentagon-top-right", "pentagon-up", "performance", "phone", "photoscan", "piano", "pill", "pin-alt", "pin-bottom", "pin-top", "pin", "play-backwards", "play-button-o", "play-button-r", "play-button", "play-forwards", "play-list-add", "play-list-check", "play-list-remove", "play-list-search", "play-list", "play-pause-o", "play-pause-r", "play-pause", "play-stop-o", "play-stop-r", "play-stop", "play-track-next-o", "play-track-next-r", "play-track-next", "play-track-prev-o", "play-track-prev-r", "play-track-prev", "plug", "polaroid", "poll", "presentation", "printer", "profile", "pull-clear", "push-chevron-down-o", "push-chevron-down-r", "push-chevron-down", "push-chevron-left-o", "push-chevron-left-r", "push-chevron-left", "push-chevron-right-o", "push-chevron-right-r", "push-chevron-right", "push-chevron-up-o", "push-chevron-up-r", "push-chevron-up", "push-down", "push-left", "push-right", "push-up", "qr", "quote-o", "quote", "radio-check", "radio-checked", "ratio", "read", "readme", "record", "redo", "remote", "remove-r", "remove", "rename", "reorder", "repeat", "ring", "row-first", "row-last", "ruler", "sand-clock", "scan", "screen-mirror", "screen-shot", "screen-wide", "screen", "scroll-h", "scroll-v", "search-found", "search-loading", "search", "select-o", "select-r", "select", "server", "shape-circle", "shape-half-circle", "shape-hexagon", "shape-rhombus", "shape-square", "shape-triangle", "shape-zigzag", "share", "shield", "shopping-bag", "shopping-cart", "shortcut", "sidebar-open", "sidebar-right", "sidebar", "signal", "size", "sleep", "smart-home-boiler", "smart-home-cooker", "smart-home-heat", "smart-home-light", "smart-home-refrigerator", "smart-home-wash-machine", "smartphone-chip", "smartphone-ram", "smartphone-shake", "smartphone", "smile-mouth-open", "smile-neutral", "smile-no-mouth", "smile-none", "smile-sad", "smile-upside", "smile", "software-download", "software-upload", "sort-az", "sort-za", "space-between-v", "space-between", "spinner-alt", "spinner-two-alt", "spinner-two", "spinner", "stack", "stopwatch", "stories", "style", "sun", "support", "swap-vertical", "swap", "sweden", "swiss", "sync", "tab", "tag", "tap-double", "tap-single", "template", "tennis", "terminal", "terrain", "thermometer", "thermostat", "tikcode", "time", "timelapse", "timer", "today", "toggle-off", "toggle-on", "toggle-square-off", "toggle-square", "toolbar-bottom", "toolbar-left", "toolbar-right", "toolbar-top", "toolbox", "touchpad", "track", "transcript", "trash-empty", "trash", "tree", "trees", "trending-down", "trending", "trophy", "tv", "ui-kit", "umbrella", "unavailable", "unblock", "undo", "unsplash", "usb-c", "usb", "user-add", "user-list", "user-remove", "user", "view-cols", "view-comfortable", "view-day", "view-grid", "view-list", "view-month", "view-split", "vinyl", "voicemail-o", "voicemail-r", "voicemail", "volume", "webcam", "website", "work-alt", "yinyang", "zoom-in", "zoom-out", "rectangle-rounded", "card", "image-text", "border-top", "full-width-screen", "text-input", "number-input", "canvas-alert", "warning", "settings", "query-string", "json", "yes-no"];
@@ -20578,7 +20651,7 @@ type IconName = (typeof iconNames)[number];
20578
20651
  /** sets fill color of the svg icon
20579
20652
  * @default 'default'
20580
20653
  */
20581
- type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor';
20654
+ type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
20582
20655
  /** sets the type of icon to use from the available list */
20583
20656
  type IconType = IconName | IconType$1;
20584
20657
  interface IconProps extends IconBaseProps {
@@ -20869,12 +20942,20 @@ interface InputKeywordSearchProps extends React$1.InputHTMLAttributes<HTMLInputE
20869
20942
  value?: string;
20870
20943
  /** (optional) when closed button is clicked */
20871
20944
  onClear?: () => void;
20945
+ /** (optional) makes the input look more compact
20946
+ * @default false
20947
+ */
20948
+ compact?: boolean;
20949
+ /** (optional) makes the corners of the input rounded
20950
+ * @default false
20951
+ */
20952
+ rounded?: boolean;
20872
20953
  }
20873
20954
  /**
20874
20955
  * Component used for keyword search functionality
20875
20956
  * @example <InlineSelectInput disabled={index > 1} value={currentValue ?? '&'} options={[{ label: 'AND', value: '&' }, { label: 'OR', value: '|' }]} onChange={(s) => {setState(s.value)}} />
20876
20957
  */
20877
- declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, onClear, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
20958
+ declare const InputKeywordSearch: ({ onSearchTextChanged, disabled, placeholder, inputFieldName, disabledFieldSubmission, value, onClear, compact, rounded, ...props }: InputKeywordSearchProps) => React$1.ReactElement;
20878
20959
 
20879
20960
  type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
20880
20961
  /** (optional) sets the first item in the options list with empty value */
@@ -21007,9 +21088,9 @@ type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
21007
21088
  icon?: React$1.ReactElement;
21008
21089
  /** (optional) sets whether to hide the label and use aria-label on the input field */
21009
21090
  showLabel?: boolean;
21010
- /** (optional) sets shows the the error message value */
21091
+ /** (optional) sets shows the error message value */
21011
21092
  errorMessage?: string;
21012
- /** (optional) sets and shows the the warning message value */
21093
+ /** (optional) sets and shows the warning message value */
21013
21094
  warningMessage?: string;
21014
21095
  capture?: boolean | 'user' | 'environment';
21015
21096
  };
@@ -21017,7 +21098,21 @@ type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
21017
21098
  * Textarea Component
21018
21099
  * @example - <Textarea label="my label" id="some-id" name="some-name" caption="some help text" errorMessage={hasError ? 'something went wrong' : undefined} />
21019
21100
  */
21020
- declare const Textarea: ({ label, icon, id, caption, showLabel, errorMessage, warningMessage, ...props }: TextareaProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21101
+ declare const Textarea: React$1.ForwardRefExoticComponent<React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
21102
+ /** (optional) sets the label value */
21103
+ label?: string | undefined;
21104
+ /** (optional) sets caption text value */
21105
+ caption?: string | JSX.Element | undefined;
21106
+ /** (optional) add an input icon to the input field */
21107
+ icon?: React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | undefined;
21108
+ /** (optional) sets whether to hide the label and use aria-label on the input field */
21109
+ showLabel?: boolean | undefined;
21110
+ /** (optional) sets shows the error message value */
21111
+ errorMessage?: string | undefined;
21112
+ /** (optional) sets and shows the warning message value */
21113
+ warningMessage?: string | undefined;
21114
+ capture?: boolean | "user" | "environment" | undefined;
21115
+ } & React$1.RefAttributes<HTMLTextAreaElement>>;
21021
21116
 
21022
21117
  type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
21023
21118
  /** sets the error message value */
@@ -21031,6 +21126,25 @@ type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
21031
21126
  */
21032
21127
  declare const WarningMessage: ({ message, testId, ...props }: WarningMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
21033
21128
 
21129
+ type IntegrationModalHeaderProps = {
21130
+ /** sets the icon as inline svg or img tag */
21131
+ icon: string | React$1.ComponentType<{
21132
+ className?: string;
21133
+ }> | undefined | null;
21134
+ /** sets the alt text of the image */
21135
+ name: string | undefined;
21136
+ /** (optional) sets react child elements */
21137
+ children?: React$1.ReactNode;
21138
+ /** (optional) sets child elements in */
21139
+ menu?: React$1.ReactNode;
21140
+ };
21141
+ type HexModalBackgroundProps = React$1.SVGAttributes<SVGElement>;
21142
+ declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21143
+ /** Uniform Integration Modal Header
21144
+ * @example <IntegrationModalHeader icon="/icon.svg" name="name" />
21145
+ */
21146
+ declare const IntegrationModalHeader: ({ icon, name, menu, children }: IntegrationModalHeaderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21147
+
21034
21148
  type JsonEditorProps = {
21035
21149
  /**
21036
21150
  * The default value for the editor. Note that this is not reactive after the first render.
@@ -21070,7 +21184,6 @@ type CommonContainerProps = {
21070
21184
  /** sets the margin of the element */
21071
21185
  margin?: string;
21072
21186
  };
21073
- type AlignmentProps = 'baseline' | 'center' | 'end' | 'flex-end' | 'flex-start' | 'inherit' | 'initial' | 'normal' | 'revert' | 'self-end' | 'self-start' | 'start' | 'stretch' | 'unset';
21074
21187
  type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
21075
21188
  /** sets the wrapping html tag
21076
21189
  * @default 'div'
@@ -21083,7 +21196,8 @@ type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> &
21083
21196
  /** sets the alignment of elements
21084
21197
  * @default normal browser behaviour
21085
21198
  */
21086
- align?: AlignmentProps;
21199
+ align?: CSSProperties['alignItems'];
21200
+ justify?: CSSProperties['justifyContent'];
21087
21201
  children: React.ReactNode;
21088
21202
  };
21089
21203
 
@@ -21093,7 +21207,7 @@ type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivEleme
21093
21207
  };
21094
21208
  declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21095
21209
 
21096
- declare const HorizontalRhythm: ({ align, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21210
+ declare const HorizontalRhythm: ({ align, justify, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21097
21211
 
21098
21212
  type TwoColumnLayoutProps = {
21099
21213
  /** sets the full bleed background colour
@@ -21112,7 +21226,7 @@ type TwoColumnLayoutProps = {
21112
21226
  /** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
21113
21227
  declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21114
21228
 
21115
- declare const VerticalRhythm: ({ align, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21229
+ declare const VerticalRhythm: ({ align, justify, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21116
21230
 
21117
21231
  type LimitsBarProps = {
21118
21232
  /** The current value of used limits */
@@ -21190,6 +21304,14 @@ declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props
21190
21304
  */
21191
21305
  declare const LoadingIndicator: ({ ...props }: HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21192
21306
 
21307
+ /**
21308
+ * A loading indicator to use when the action currently in progress is AI-related.
21309
+ * @example <LoadingIndicatorAI />
21310
+ */
21311
+ declare const LoadingIndicatorAI: ({ size, ...props }: {
21312
+ size?: string | number | undefined;
21313
+ } & SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21314
+
21193
21315
  interface LoadingOverlayProps {
21194
21316
  /** sets whether to display the loading overlay components */
21195
21317
  isActive: boolean;
@@ -21277,8 +21399,8 @@ declare const useMenuContext: () => MenuStateReturn | undefined;
21277
21399
  declare const Menu: ({ menuLabel, menuTrigger, placement, menuItemsContainerCssClasses, children, forceVisible, disableAutoSeparatorManagement, }: MenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21278
21400
 
21279
21401
  type MenuGroupProps = {
21280
- /** Title for the menu group */
21281
- title: string;
21402
+ /** Title for the menu group. If undefined or an empty string, the group will render as normal menu */
21403
+ title: string | undefined;
21282
21404
  /** Menu items to render in the group */
21283
21405
  children: ReactNode;
21284
21406
  };
@@ -21313,33 +21435,38 @@ declare const MenuItem: React$1.FC<MenuItemProps>;
21313
21435
 
21314
21436
  declare const MenuItemSeparator: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21315
21437
 
21316
- type IntegrationModalHeaderProps = {
21317
- /** sets the icon as inline svg or img tag */
21318
- icon: string | React$1.ComponentType<{
21319
- className?: string;
21320
- }> | undefined | null;
21321
- /** sets the alt text of the image */
21322
- name: string | undefined;
21323
- /** (optional) sets react child elements */
21324
- children?: React$1.ReactNode;
21325
- /** (optional) sets child elements in */
21326
- menu?: React$1.ReactNode;
21327
- };
21328
- type HexModalBackgroundProps = React$1.SVGAttributes<SVGElement>;
21329
- declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21330
- /** Uniform Integration Modal Header
21331
- * @example <IntegrationModalHeader icon="/icon.svg" name="name" />
21438
+ type ModalProps = {
21439
+ header?: React__default.ReactNode;
21440
+ children?: React__default.ReactNode;
21441
+ /** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
21442
+ onRequestClose: () => void;
21443
+ /** A valid CSS width */
21444
+ width?: string;
21445
+ /** A valid CSS height */
21446
+ height?: string;
21447
+ /** The classname to set on the wrapper of the modal */
21448
+ wrapperClassName?: string;
21449
+ /** Removes the default padding on the content wrapper */
21450
+ withoutContentPadding?: boolean;
21451
+ } & React__default.HTMLAttributes<HTMLDialogElement>;
21452
+ /**
21453
+ * A modal component to open a dialog with a backdrop that covers the whole page.
21454
+ * @example <Modal>Hello World</Modal>
21332
21455
  */
21333
- declare const IntegrationModalHeader: ({ icon, name, menu, children }: IntegrationModalHeaderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21334
-
21335
- type ConnectToDataElementButtonProps = HTMLAttributes<HTMLButtonElement> & {
21336
- icon?: IconType;
21337
- iconColor?: IconColor;
21338
- children?: ReactNode;
21339
- isBound?: boolean;
21340
- isLocked?: boolean;
21341
- };
21342
- declare const ConnectToDataElementButton: ({ icon, iconColor, children, isBound, isLocked, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21456
+ declare const Modal: React__default.ForwardRefExoticComponent<{
21457
+ header?: React__default.ReactNode;
21458
+ children?: React__default.ReactNode;
21459
+ /** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
21460
+ onRequestClose: () => void;
21461
+ /** A valid CSS width */
21462
+ width?: string | undefined;
21463
+ /** A valid CSS height */
21464
+ height?: string | undefined;
21465
+ /** The classname to set on the wrapper of the modal */
21466
+ wrapperClassName?: string | undefined;
21467
+ /** Removes the default padding on the content wrapper */
21468
+ withoutContentPadding?: boolean | undefined;
21469
+ } & React__default.HTMLAttributes<HTMLDialogElement> & React__default.RefAttributes<HTMLDialogElement>>;
21343
21470
 
21344
21471
  type CommonParameterProps = {
21345
21472
  /** sets the label value */
@@ -21358,9 +21485,13 @@ type CommonParameterProps = {
21358
21485
  infoMessage?: string;
21359
21486
  /** (optional) allows users to manually set the error message state */
21360
21487
  handleManuallySetErrorMessage?: (message: string | undefined) => void;
21361
- /** sets whether to show the override UI */
21488
+ /** sets whether to show the override UI
21489
+ * @deprecated
21490
+ */
21362
21491
  hasOverriddenValue?: boolean;
21363
- /** sets the function call of the overriding parameters button */
21492
+ /** sets the function call of the overriding parameters button
21493
+ * @deprecated
21494
+ */
21364
21495
  onResetOverriddenValue?: () => void;
21365
21496
  };
21366
21497
  type CommonParameterInputProps = CommonParameterProps & {
@@ -21396,6 +21527,21 @@ declare const useParameterShell: () => {
21396
21527
  handleManuallySetErrorMessage: ((message: string | undefined) => void) | undefined;
21397
21528
  };
21398
21529
 
21530
+ type ConnectToDataElementButtonProps = HTMLAttributes<HTMLButtonElement> & {
21531
+ icon?: IconType;
21532
+ iconColor?: IconColor;
21533
+ children?: ReactNode;
21534
+ /** @deprecated use isActive */
21535
+ isBound?: boolean;
21536
+ /** Sets if the button is active (pressed) currently. */
21537
+ isActive?: boolean;
21538
+ /** Disables hover state, sets aria-disabled */
21539
+ isLocked?: boolean;
21540
+ };
21541
+ declare const LabelLeadingIcon: ({ icon, iconColor, children, isBound, isActive, isLocked, title, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21542
+ /** @deprecated use LabelLeadingIcon */
21543
+ declare const ConnectToDataElementButton: ({ icon, iconColor, children, isBound, isActive, isLocked, title, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21544
+
21399
21545
  type ParameterDataConnectButtonProps = {
21400
21546
  /** Sets the label value */
21401
21547
  label: string;
@@ -21438,10 +21584,22 @@ declare const ParameterGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
21438
21584
  children: ReactNode;
21439
21585
  } & React$1.RefAttributes<HTMLFieldSetElement>>;
21440
21586
 
21441
- type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>;
21587
+ type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'> & React__default.InputHTMLAttributes<HTMLInputElement> & {
21588
+ /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
21589
+ disablePreview?: boolean;
21590
+ };
21442
21591
  /** @Example <ParameterImage {...inputArgs} value={value} onChange={(e) => setValue(e.currentTarget.value)} /> */
21443
- declare const ParameterImage: React$1.ForwardRefExoticComponent<ParameterImageProps & React$1.RefAttributes<HTMLInputElement>>;
21444
- declare const ParameterImageInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
21592
+ declare const ParameterImage: React__default.ForwardRefExoticComponent<Omit<CommonParameterInputProps, "type" | "inputIcon"> & React__default.InputHTMLAttributes<HTMLInputElement> & {
21593
+ /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
21594
+ disablePreview?: boolean | undefined;
21595
+ } & React__default.RefAttributes<HTMLInputElement>>;
21596
+ declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
21597
+ disablePreview?: boolean | undefined;
21598
+ } & React__default.RefAttributes<HTMLInputElement>>;
21599
+
21600
+ declare function ParameterImagePreview({ imageSrc }: {
21601
+ imageSrc: string;
21602
+ }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21445
21603
 
21446
21604
  type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement>;
21447
21605
  /** @example <ParameterInput label="label value" id="my-input" /> */
@@ -21554,6 +21712,33 @@ type ParameterNameAndPublicIdInputProps = {
21554
21712
  /** @example <ParameterNameAndPublicIdInput /> */
21555
21713
  declare const ParameterNameAndPublicIdInput: ({ id, onBlur, autoFocus, onNameChange, onPublicIdChange, nameIdError, publicIdError, readOnly, hasInitialPublicIdField, label, warnOverLength, nameIdField, nameCaption, namePlaceholderText, publicIdFieldName, publicIdCaption, publicIdPlaceholderText, values, }: ParameterNameAndPublicIdInputProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21556
21714
 
21715
+ /** Renders a variable reference node within a Lexical editor */
21716
+ declare class AIThinkingNode extends DecoratorNode<JSX.Element> {
21717
+ static getType(): string;
21718
+ static clone(node: AIThinkingNode): AIThinkingNode;
21719
+ /** Imports the node from serialized JSON (i.e. the data provided to the editor's initial state) */
21720
+ static importJSON(): AIThinkingNode;
21721
+ constructor(key?: NodeKey);
21722
+ /**
21723
+ * Serializes the node to JSON for editor initial state
21724
+ */
21725
+ exportJSON(): {
21726
+ type: string;
21727
+ version: number;
21728
+ };
21729
+ /** Creates the DOM wrapper that hosts the node */
21730
+ createDOM(): HTMLSpanElement;
21731
+ updateDOM(): boolean;
21732
+ /**
21733
+ * Render the variable node using React.
21734
+ * NOTE: this is effectively an island of React, and you may not call hooks,
21735
+ * rely on Context, etc in this renderer.
21736
+ */
21737
+ decorate(): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21738
+ /** Enables keyboard navigation to hop over the node to previous text */
21739
+ isIsolated(): boolean;
21740
+ }
21741
+
21557
21742
  type LinkNodeProps = NonNullable<LinkParamValue>;
21558
21743
  type SerializedLinkNode = Spread<{
21559
21744
  link: LinkNodeProps;
@@ -21583,6 +21768,32 @@ type LinkNodePluginProps = {
21583
21768
  value: LinkParamValue;
21584
21769
  onSetValue: (value: LinkParamValue) => void;
21585
21770
  }) => Promise<void>;
21771
+ getBoundPath?: (path: string) => string;
21772
+ };
21773
+
21774
+ type Action = 'write' | 'summarize' | 'improve_readability';
21775
+ type OpenAIPluginProps = {
21776
+ requestHandler: (request: {
21777
+ context: string;
21778
+ action: Action;
21779
+ }) => Promise<null | {
21780
+ text: string;
21781
+ }>;
21782
+ };
21783
+ declare function OpenAIPlugin({ requestHandler }: OpenAIPluginProps): JSX.Element | null;
21784
+
21785
+ declare const OpenAIPluginCustomControls: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21786
+
21787
+ declare const richTextToolbarButton: _emotion_react.SerializedStyles;
21788
+ declare const richTextToolbarButtonActive: _emotion_react.SerializedStyles;
21789
+ type RichTextToolbarIconProps = {
21790
+ icon: IconType;
21791
+ };
21792
+ declare const RichTextToolbarIcon: ({ icon }: RichTextToolbarIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21793
+ type RichTextToolbarProps = {
21794
+ config?: RichTextParamConfiguration;
21795
+ /** Variables */
21796
+ customControls?: React.ReactElement;
21586
21797
  };
21587
21798
 
21588
21799
  type RichTextProps = {
@@ -21592,6 +21803,16 @@ type RichTextProps = {
21592
21803
  onRichTextInit?: (editor: LexicalEditor) => void;
21593
21804
  readOnly?: boolean;
21594
21805
  editorInputClassName?: string;
21806
+ /** Register additional custom node types to the RTE */
21807
+ customNodes?: InitialConfigType['nodes'];
21808
+ /** Children allows registering custom Lexical plugins */
21809
+ children?: ReactNode;
21810
+ /** Variables */
21811
+ variables?: {
21812
+ bindVariables?: (value: string) => string;
21813
+ };
21814
+ /** Rich Text Toolbar custom controls */
21815
+ customControls?: RichTextToolbarProps['customControls'];
21595
21816
  };
21596
21817
  type RichTextParamValue = SerializedEditorState | undefined | null;
21597
21818
  type ParameterRichTextInnerProps = RichTextProps & {
@@ -21600,8 +21821,8 @@ type ParameterRichTextInnerProps = RichTextProps & {
21600
21821
  editorFooter?: React.ReactNode;
21601
21822
  };
21602
21823
  type ParameterRichTextProps = CommonParameterInputProps & ParameterRichTextInnerProps;
21603
- declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, }: ParameterRichTextProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21604
- declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21824
+ declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, customNodes, children, variables, customControls, }: ParameterRichTextProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21825
+ declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, children, customNodes, variables, customControls, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21605
21826
 
21606
21827
  type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectProps & React.InputHTMLAttributes<HTMLSelectElement>;
21607
21828
  /** @example <ParameterSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]} */
@@ -21622,6 +21843,9 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
21622
21843
  menuItems?: ReactNode;
21623
21844
  errorTestId?: string | undefined;
21624
21845
  captionTestId?: string | undefined;
21846
+ /** sets overriding parameters indicator
21847
+ * @deprecated
21848
+ */
21625
21849
  title?: string | undefined;
21626
21850
  }) => {
21627
21851
  shellProps: {
@@ -21645,13 +21869,20 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
21645
21869
  menuItems?: ReactNode;
21646
21870
  errorTestId?: string | undefined;
21647
21871
  captionTestId?: string | undefined;
21872
+ /** sets overriding parameters indicator
21873
+ * @deprecated
21874
+ */
21648
21875
  title?: string | undefined;
21649
21876
  }, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
21650
21877
  };
21651
21878
  type ParameterShellOverrideProps = {
21652
- /** sets overriding parameters indicator */
21879
+ /** sets overriding parameters indicator
21880
+ * @deprecated
21881
+ */
21653
21882
  hasOverriddenValue?: boolean;
21654
- /** sets the function call of the overriding parameters button */
21883
+ /** sets the function call of the overriding parameters button
21884
+ * @deprecated
21885
+ */
21655
21886
  onResetOverriddenValue?: () => void;
21656
21887
  };
21657
21888
  type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps;
@@ -21663,6 +21894,7 @@ declare const ParameterShell: ({ label, labelLeadingIcon, hiddenLabel, id, error
21663
21894
  declare const ParameterShellPlaceholder: ({ children }: {
21664
21895
  children?: ReactNode;
21665
21896
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21897
+ /** @deprecated */
21666
21898
  declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21667
21899
 
21668
21900
  type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
@@ -21677,12 +21909,18 @@ declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParamet
21677
21909
  /** @example <ParameterTextareaInner /> */
21678
21910
  declare const ParameterTextareaInner: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
21679
21911
 
21680
- type ParameterToggleProps = React.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, 'hiddenLabel'> & {
21681
- hiddenTitle?: boolean;
21912
+ type ParameterToggleProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & CommonParameterInputProps & {
21913
+ type: 'checkbox' | 'radio';
21682
21914
  };
21683
21915
  /** @example <ParameterToggle title="my checkbox" label="label value" id="my-checkbox" type="checkbox" onIconClick={() => alert('icon clicked)} /> */
21684
- declare const ParameterToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, "hiddenLabel"> & {
21685
- hiddenTitle?: boolean | undefined;
21916
+ declare const ParameterToggle: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & CommonParameterProps & {
21917
+ caption?: string | undefined;
21918
+ menuItems?: React$1.ReactNode;
21919
+ errorTestId?: string | undefined;
21920
+ captionTestId?: string | undefined;
21921
+ title?: string | undefined;
21922
+ } & {
21923
+ type: 'checkbox' | 'radio';
21686
21924
  } & React$1.RefAttributes<HTMLInputElement>>;
21687
21925
  declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
21688
21926
 
@@ -21712,7 +21950,7 @@ type PopoverProps = PopoverProps$1 & {
21712
21950
  testId?: string;
21713
21951
  children: ReactNode;
21714
21952
  };
21715
- declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, children, }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21953
+ declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21716
21954
 
21717
21955
  type ProgressListItemStatus = 'completed' | 'inProgress' | 'queued';
21718
21956
  type ProgressListProps = React__default.HTMLAttributes<HTMLOListElement> & {
@@ -21806,7 +22044,7 @@ type UseShortcutOptions = {
21806
22044
  activeWhenEditing?: boolean;
21807
22045
  };
21808
22046
  declare function macifyShortcut(shortcut: string | null): string | null;
21809
- declare function useShortcut({ handler, shortcut, macShortcut, doNotPreventDefault, activeWhenEditing, }: UseShortcutOptions): void;
22047
+ declare function useShortcut({ handler, shortcut, macShortcut, doNotPreventDefault, activeWhenEditing, }: UseShortcutOptions): React$1.MutableRefObject<react_hotkeys_hook_dist_types.RefType<HTMLElement>>;
21810
22048
 
21811
22049
  type SkeletonProps = React__default.PropsWithChildren<React__default.HTMLAttributes<HTMLDivElement>> & {
21812
22050
  width?: string;
@@ -22212,4 +22450,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
22212
22450
  };
22213
22451
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22214
22452
 
22215
- export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, 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, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, 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, IconColor, IconName, IconProps, IconType, IconsProvider, 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, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, 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, 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, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
22453
+ export { AIThinkingNode, 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, IconColor, IconName, IconProps, IconType, IconsProvider, 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, LoadingIndicatorAI, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, OpenAIPlugin, OpenAIPluginCustomControls, OpenAIPluginProps, 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 };