@uniformdev/design-system 19.38.2 → 19.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { RefObject, HTMLAttributes, ReactNode, CSSProperties, SVGProps, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
2
+ import React__default, { RefObject, HTMLAttributes, ReactNode, 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';
@@ -15,6 +15,7 @@ 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
21
  import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
@@ -20426,14 +20427,14 @@ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...p
20426
20427
  declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20427
20428
 
20428
20429
  type ChipSizeProp = 'xs' | 'sm' | 'md';
20429
- 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';
20430
20431
  type ChipProps = {
20431
20432
  icon?: IconType$1;
20432
20433
  text: ReactNode;
20433
20434
  /** sets the size of the chip
20434
20435
  * @default 'sm'
20435
20436
  */
20436
- theme?: ChipThemeProps;
20437
+ theme?: ChipTheme;
20437
20438
  chipAction?: React.ReactNode;
20438
20439
  size?: ChipSizeProp;
20439
20440
  } & React.HTMLAttributes<HTMLSpanElement>;
@@ -20454,6 +20455,17 @@ type DismissibleChipActionProps = {
20454
20455
  */
20455
20456
  declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20456
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
+
20457
20469
  type CounterProps = {
20458
20470
  /** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
20459
20471
  count: number | undefined;
@@ -20515,6 +20527,60 @@ type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
20515
20527
  /** @example <Details summary="summary text">child content here</Details>*/
20516
20528
  declare const Details: ({ summary, children, isOpenByDefault, isOpen, onChange, ...props }: DetailsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20517
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
+
20518
20584
  interface DrawerItem {
20519
20585
  /** An ID for the drawer. It should be unique in the stack where it's rendered */
20520
20586
  id: string;
@@ -20526,6 +20592,12 @@ interface DrawerItem {
20526
20592
  stackId?: string;
20527
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 */
20528
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'];
20529
20601
  /** Called when the close button is clicked, the Escape button is pressed, or when the drawer's overlay is clicked */
20530
20602
  onRequestClose?: () => void;
20531
20603
  /** Test ID for test automation **/
@@ -20556,12 +20628,12 @@ declare const DrawerProvider: ({ children }: React__default.PropsWithChildren) =
20556
20628
  declare const useDrawer: () => DrawerContextValue;
20557
20629
  declare const useCloseCurrentDrawer: () => (() => void) | undefined;
20558
20630
 
20559
- interface DrawerProps extends DrawerItem {
20631
+ type DrawerProps = DrawerItem & Omit<DrawerRendererProps, 'stackId'> & {
20560
20632
  header?: React__default.ReactNode;
20561
20633
  children?: React__default.ReactNode;
20562
20634
  bgColor?: 'var(--gray-50)' | 'var(--white)';
20563
20635
  leftAligned?: DrawerRendererProps['leftAligned'];
20564
- }
20636
+ };
20565
20637
  declare const CurrentDrawerContext: React__default.Context<{
20566
20638
  id?: string | undefined;
20567
20639
  stackId?: string | undefined;
@@ -20576,7 +20648,12 @@ declare const useCurrentDrawer: () => {
20576
20648
  * A drawer component that opens from the right side of is parent. The component is used in combination with DrawerProvider and DrawerRenderer
20577
20649
  * @example <Drawer id="my-drawer" header="Title">Hello</Drawer>
20578
20650
  */
20579
- declare const Drawer: React__default.ForwardRefExoticComponent<DrawerProps & Omit<DrawerRendererProps, "stackId"> & React__default.RefAttributes<HTMLDivElement>>;
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>>;
20580
20657
 
20581
20658
  type DrawerContentProps = {
20582
20659
  children: ReactNode;
@@ -20585,60 +20662,14 @@ type DrawerContentProps = {
20585
20662
  } & HTMLAttributes<HTMLDivElement>;
20586
20663
  declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
20587
20664
 
20588
- interface DrawerRendererProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'> {
20589
- /** The ID of the stack to render. Some drawers need to use the same stack ID to be rendered here */
20590
- stackId: string;
20591
- /** The width of the drawers. In any CSS length unit (px, rem, %, et al). Can't use CSS functions (e.g. calc())
20592
- * @default 'medium'
20593
- */
20594
- width?: string | 'narrow' | 'medium' | 'wide';
20595
- /** The minimum width of the drawers. In any CSS length unit (px, rem, %, et al)
20596
- * @default '0'
20597
- */
20598
- minWidth?: string;
20599
- /** The maximum width of the drawers. In any CSS length unit (px, rem, %, et al)
20600
- * @default '100%'
20601
- */
20602
- maxWidth?: string;
20603
- /** Sets the css position value
20604
- * @default 'absolute'
20605
- */
20606
- position?: 'absolute' | 'fixed' | 'sticky';
20607
- /** Opens the drawer from left to right
20608
- * @default false
20609
- */
20610
- leftAligned?: boolean;
20611
- }
20612
- /**
20613
- * Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.
20614
- * @example <DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>
20615
- */
20616
- declare const DrawerRenderer: ({ stackId, position, width, minWidth, maxWidth, leftAligned, ...otherProps }: DrawerRendererProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
20617
- interface DrawerRendererItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
20618
- index: number;
20619
- totalDrawers: number;
20620
- width: DrawerRendererProps['width'];
20621
- minWidth: Required<DrawerRendererProps['minWidth']>;
20622
- maxWidth: Required<DrawerRendererProps['maxWidth']>;
20623
- leftAligned: Required<DrawerRendererProps['leftAligned']>;
20624
- onOverlayClick?: () => void;
20625
- }
20626
- declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
20627
- providerId: string;
20628
- stackId?: string | undefined;
20629
- id: string;
20630
- }) => {
20631
- 'data-drawer-id': string;
20632
- };
20633
-
20634
- 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"];
20665
+ 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", "diamond-outline", "diamond-fill"];
20635
20666
  /** A list of available icon names that can be used with the Uniform brand */
20636
20667
  type IconName = (typeof iconNames)[number];
20637
20668
 
20638
20669
  /** sets fill color of the svg icon
20639
20670
  * @default 'default'
20640
20671
  */
20641
- type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor';
20672
+ type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
20642
20673
  /** sets the type of icon to use from the available list */
20643
20674
  type IconType = IconName | IconType$1;
20644
20675
  interface IconProps extends IconBaseProps {
@@ -20693,6 +20724,8 @@ declare const customIcons: {
20693
20724
  'layout-list-numbered': (props: react_icons.IconBaseProps) => JSX.Element;
20694
20725
  'clear-formatting': (props: react_icons.IconBaseProps) => JSX.Element;
20695
20726
  'yes-no': (props: react_icons.IconBaseProps) => JSX.Element;
20727
+ 'diamond-outline': (props: react_icons.IconBaseProps) => JSX.Element;
20728
+ 'diamond-fill': (props: react_icons.IconBaseProps) => JSX.Element;
20696
20729
  };
20697
20730
 
20698
20731
  type IconsMap = Record<string, IconType$1>;
@@ -21378,8 +21411,8 @@ declare const useMenuContext: () => MenuStateReturn | undefined;
21378
21411
  declare const Menu: ({ menuLabel, menuTrigger, placement, menuItemsContainerCssClasses, children, forceVisible, disableAutoSeparatorManagement, }: MenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21379
21412
 
21380
21413
  type MenuGroupProps = {
21381
- /** Title for the menu group */
21382
- title: string;
21414
+ /** Title for the menu group. If undefined or an empty string, the group will render as normal menu */
21415
+ title: string | undefined;
21383
21416
  /** Menu items to render in the group */
21384
21417
  children: ReactNode;
21385
21418
  };
@@ -21451,15 +21484,6 @@ declare const Modal: React__default.ForwardRefExoticComponent<{
21451
21484
  buttonGroup?: ReactNode;
21452
21485
  } & React__default.HTMLAttributes<HTMLDialogElement> & React__default.RefAttributes<HTMLDialogElement>>;
21453
21486
 
21454
- type ConnectToDataElementButtonProps = HTMLAttributes<HTMLButtonElement> & {
21455
- icon?: IconType;
21456
- iconColor?: IconColor;
21457
- children?: ReactNode;
21458
- isBound?: boolean;
21459
- isLocked?: boolean;
21460
- };
21461
- declare const ConnectToDataElementButton: ({ icon, iconColor, children, isBound, isLocked, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21462
-
21463
21487
  type CommonParameterProps = {
21464
21488
  /** sets the label value */
21465
21489
  label: string;
@@ -21477,9 +21501,13 @@ type CommonParameterProps = {
21477
21501
  infoMessage?: string;
21478
21502
  /** (optional) allows users to manually set the error message state */
21479
21503
  handleManuallySetErrorMessage?: (message: string | undefined) => void;
21480
- /** sets whether to show the override UI */
21504
+ /** sets whether to show the override UI
21505
+ * @deprecated
21506
+ */
21481
21507
  hasOverriddenValue?: boolean;
21482
- /** sets the function call of the overriding parameters button */
21508
+ /** sets the function call of the overriding parameters button
21509
+ * @deprecated
21510
+ */
21483
21511
  onResetOverriddenValue?: () => void;
21484
21512
  };
21485
21513
  type CommonParameterInputProps = CommonParameterProps & {
@@ -21515,6 +21543,21 @@ declare const useParameterShell: () => {
21515
21543
  handleManuallySetErrorMessage: ((message: string | undefined) => void) | undefined;
21516
21544
  };
21517
21545
 
21546
+ type ConnectToDataElementButtonProps = HTMLAttributes<HTMLButtonElement> & {
21547
+ icon?: IconType;
21548
+ iconColor?: IconColor;
21549
+ children?: ReactNode;
21550
+ /** @deprecated use isActive */
21551
+ isBound?: boolean;
21552
+ /** Sets if the button is active (pressed) currently. */
21553
+ isActive?: boolean;
21554
+ /** Disables hover state, sets aria-disabled */
21555
+ isLocked?: boolean;
21556
+ };
21557
+ declare const LabelLeadingIcon: ({ icon, iconColor, children, isBound, isActive, isLocked, title, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21558
+ /** @deprecated use LabelLeadingIcon */
21559
+ declare const ConnectToDataElementButton: ({ icon, iconColor, children, isBound, isActive, isLocked, title, ...props }: ConnectToDataElementButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21560
+
21518
21561
  type ParameterDataConnectButtonProps = {
21519
21562
  /** Sets the label value */
21520
21563
  label: string;
@@ -21531,7 +21574,10 @@ type ParameterDataConnectButtonProps = {
21531
21574
  /** sets the disabled state of the button, useful for permissions */
21532
21575
  disabled?: boolean;
21533
21576
  };
21534
- /** @example <ParameterDataConnectButton label="label" id="connect-data-button" onConnectDatasource={() => myFunction()}>Button Text</ParameterDataConnectButton> */
21577
+ /**
21578
+ * @example <ParameterDataConnectButton label="label" id="connect-data-button" onConnectDatasource={() => myFunction()}>Button Text</ParameterDataConnectButton>
21579
+ * @deprecated no longer used in uniform UI
21580
+ */
21535
21581
  declare function ParameterDataResource({ label, labelLeadingIcon, id, onConnectDatasource, caption, disabled, children, }: ParameterDataConnectButtonProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21536
21582
 
21537
21583
  type ParameterDrawerHeaderProps = {
@@ -21557,14 +21603,22 @@ declare const ParameterGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
21557
21603
  children: ReactNode;
21558
21604
  } & React$1.RefAttributes<HTMLFieldSetElement>>;
21559
21605
 
21560
- type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>;
21606
+ type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'> & React__default.InputHTMLAttributes<HTMLInputElement> & {
21607
+ /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
21608
+ disablePreview?: boolean;
21609
+ };
21561
21610
  /** @Example <ParameterImage {...inputArgs} value={value} onChange={(e) => setValue(e.currentTarget.value)} /> */
21562
- declare const ParameterImage: React__default.ForwardRefExoticComponent<ParameterImageProps & React__default.RefAttributes<HTMLInputElement>>;
21563
- declare const BrokenImage: ({ ...props }: SVGProps<SVGSVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21564
- declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>;
21565
- declare const ParameterImagePreview: ({ imageSrc }: {
21611
+ declare const ParameterImage: React__default.ForwardRefExoticComponent<Omit<CommonParameterInputProps, "type" | "inputIcon"> & React__default.InputHTMLAttributes<HTMLInputElement> & {
21612
+ /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
21613
+ disablePreview?: boolean | undefined;
21614
+ } & React__default.RefAttributes<HTMLInputElement>>;
21615
+ declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
21616
+ disablePreview?: boolean | undefined;
21617
+ } & React__default.RefAttributes<HTMLInputElement>>;
21618
+
21619
+ declare function ParameterImagePreview({ imageSrc }: {
21566
21620
  imageSrc: string;
21567
- }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21621
+ }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21568
21622
 
21569
21623
  type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement>;
21570
21624
  /** @example <ParameterInput label="label value" id="my-input" /> */
@@ -21706,6 +21760,19 @@ type LinkNodePluginProps = {
21706
21760
  value: LinkParamValue;
21707
21761
  onSetValue: (value: LinkParamValue) => void;
21708
21762
  }) => Promise<void>;
21763
+ getBoundPath?: (path: string) => string;
21764
+ };
21765
+
21766
+ declare const richTextToolbarButton: _emotion_react.SerializedStyles;
21767
+ declare const richTextToolbarButtonActive: _emotion_react.SerializedStyles;
21768
+ type RichTextToolbarIconProps = {
21769
+ icon: IconType;
21770
+ };
21771
+ declare const RichTextToolbarIcon: ({ icon }: RichTextToolbarIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21772
+ type RichTextToolbarProps = {
21773
+ config?: RichTextParamConfiguration;
21774
+ /** Variables */
21775
+ customControls?: React.ReactElement;
21709
21776
  };
21710
21777
 
21711
21778
  type RichTextProps = {
@@ -21715,6 +21782,16 @@ type RichTextProps = {
21715
21782
  onRichTextInit?: (editor: LexicalEditor) => void;
21716
21783
  readOnly?: boolean;
21717
21784
  editorInputClassName?: string;
21785
+ /** Register additional custom node types to the RTE */
21786
+ customNodes?: InitialConfigType['nodes'];
21787
+ /** Children allows registering custom Lexical plugins */
21788
+ children?: ReactNode;
21789
+ /** Variables */
21790
+ variables?: {
21791
+ bindVariables?: (value: string) => string;
21792
+ };
21793
+ /** Rich Text Toolbar custom controls */
21794
+ customControls?: RichTextToolbarProps['customControls'];
21718
21795
  };
21719
21796
  type RichTextParamValue = SerializedEditorState | undefined | null;
21720
21797
  type ParameterRichTextInnerProps = RichTextProps & {
@@ -21723,8 +21800,8 @@ type ParameterRichTextInnerProps = RichTextProps & {
21723
21800
  editorFooter?: React.ReactNode;
21724
21801
  };
21725
21802
  type ParameterRichTextProps = CommonParameterInputProps & ParameterRichTextInnerProps;
21726
- 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;
21727
- declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21803
+ 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;
21804
+ declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, children, customNodes, variables, customControls, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21728
21805
 
21729
21806
  type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectProps & React.InputHTMLAttributes<HTMLSelectElement>;
21730
21807
  /** @example <ParameterSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]} */
@@ -21745,6 +21822,9 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
21745
21822
  menuItems?: ReactNode;
21746
21823
  errorTestId?: string | undefined;
21747
21824
  captionTestId?: string | undefined;
21825
+ /** sets overriding parameters indicator
21826
+ * @deprecated
21827
+ */
21748
21828
  title?: string | undefined;
21749
21829
  }) => {
21750
21830
  shellProps: {
@@ -21768,13 +21848,20 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
21768
21848
  menuItems?: ReactNode;
21769
21849
  errorTestId?: string | undefined;
21770
21850
  captionTestId?: string | undefined;
21851
+ /** sets overriding parameters indicator
21852
+ * @deprecated
21853
+ */
21771
21854
  title?: string | undefined;
21772
21855
  }, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
21773
21856
  };
21774
21857
  type ParameterShellOverrideProps = {
21775
- /** sets overriding parameters indicator */
21858
+ /** sets overriding parameters indicator
21859
+ * @deprecated
21860
+ */
21776
21861
  hasOverriddenValue?: boolean;
21777
- /** sets the function call of the overriding parameters button */
21862
+ /** sets the function call of the overriding parameters button
21863
+ * @deprecated
21864
+ */
21778
21865
  onResetOverriddenValue?: () => void;
21779
21866
  };
21780
21867
  type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps;
@@ -21786,6 +21873,7 @@ declare const ParameterShell: ({ label, labelLeadingIcon, hiddenLabel, id, error
21786
21873
  declare const ParameterShellPlaceholder: ({ children }: {
21787
21874
  children?: ReactNode;
21788
21875
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21876
+ /** @deprecated */
21789
21877
  declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21790
21878
 
21791
21879
  type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
@@ -21800,12 +21888,18 @@ declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParamet
21800
21888
  /** @example <ParameterTextareaInner /> */
21801
21889
  declare const ParameterTextareaInner: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
21802
21890
 
21803
- type ParameterToggleProps = React.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, 'hiddenLabel'> & {
21804
- hiddenTitle?: boolean;
21891
+ type ParameterToggleProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & CommonParameterInputProps & {
21892
+ type: 'checkbox' | 'radio';
21805
21893
  };
21806
21894
  /** @example <ParameterToggle title="my checkbox" label="label value" id="my-checkbox" type="checkbox" onIconClick={() => alert('icon clicked)} /> */
21807
- declare const ParameterToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, "hiddenLabel"> & {
21808
- hiddenTitle?: boolean | undefined;
21895
+ declare const ParameterToggle: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> & CommonParameterProps & {
21896
+ caption?: string | undefined;
21897
+ menuItems?: React$1.ReactNode;
21898
+ errorTestId?: string | undefined;
21899
+ captionTestId?: string | undefined;
21900
+ title?: string | undefined;
21901
+ } & {
21902
+ type: 'checkbox' | 'radio';
21809
21903
  } & React$1.RefAttributes<HTMLInputElement>>;
21810
21904
  declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
21811
21905
 
@@ -22265,7 +22359,7 @@ type LinkManagerWithRefType = (props: Partial<LinkProps> & {
22265
22359
  href: string;
22266
22360
  passHref: true;
22267
22361
  legacyBehavior?: boolean;
22268
- } & React$1.RefAttributes<HTMLAnchorElement>) => JSX.Element | null;
22362
+ } & React$1.RefAttributes<HTMLAnchorElement>) => React$1.ReactNode | null;
22269
22363
  /** Uniform LinkWithRef Component
22270
22364
  * We recommend using this link `next/link`
22271
22365
  * @example <LinkWithRef linkManagerComponent={NextLink} href="some-url" text="my link" />
@@ -22335,4 +22429,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
22335
22429
  };
22336
22430
  declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22337
22431
 
22338
- 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, BrokenImage, 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, 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, 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, Modal, ModalProps, 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, 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 };
22432
+ 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, 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, LoadingOverlay, LoadingOverlayProps, 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 };