@uniformdev/design-system 19.35.3-alpha.82 → 19.36.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/esm/index.js +855 -1561
- package/dist/index.d.mts +37 -152
- package/dist/index.d.ts +37 -152
- package/dist/index.js +1008 -1710
- package/package.json +4 -4
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,
|
|
2
|
+
import React__default, { RefObject, HTMLAttributes, ReactNode, CSSProperties, SVGProps, 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,9 @@ 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';
|
|
19
18
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
20
19
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
21
|
-
import {
|
|
20
|
+
import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
22
21
|
import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
|
|
23
22
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
24
23
|
import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
|
|
@@ -20427,14 +20426,14 @@ declare const CardContainer: ({ bgColor, padding, withLastColumn, children, ...p
|
|
|
20427
20426
|
declare const LoadingCardSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20428
20427
|
|
|
20429
20428
|
type ChipSizeProp = 'xs' | 'sm' | 'md';
|
|
20430
|
-
type
|
|
20429
|
+
type ChipThemeProps = 'accent-light' | 'accent-dark' | 'accent-alt-light' | 'accent-alt-dark' | 'neutral-light' | 'neutral-dark';
|
|
20431
20430
|
type ChipProps = {
|
|
20432
20431
|
icon?: IconType$1;
|
|
20433
20432
|
text: ReactNode;
|
|
20434
20433
|
/** sets the size of the chip
|
|
20435
20434
|
* @default 'sm'
|
|
20436
20435
|
*/
|
|
20437
|
-
theme?:
|
|
20436
|
+
theme?: ChipThemeProps;
|
|
20438
20437
|
chipAction?: React.ReactNode;
|
|
20439
20438
|
size?: ChipSizeProp;
|
|
20440
20439
|
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
@@ -20455,17 +20454,6 @@ type DismissibleChipActionProps = {
|
|
|
20455
20454
|
*/
|
|
20456
20455
|
declare const DismissibleChipAction: ({ onDismiss, ...props }: DismissibleChipActionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20457
20456
|
|
|
20458
|
-
type MultilineChipProps = {
|
|
20459
|
-
children: ReactNode;
|
|
20460
|
-
onClick?: () => void;
|
|
20461
|
-
} & React.HTMLAttributes<HTMLSpanElement | HTMLButtonElement>;
|
|
20462
|
-
/**
|
|
20463
|
-
* @description A chip specifically designed to fit as a chipped element in an multi-line capable content field.
|
|
20464
|
-
* Unlike a regular chip, this one can go onto multiple lines with word wrap, and uses inline behaviours.
|
|
20465
|
-
* @example <MultilineChip text="productId" />
|
|
20466
|
-
*/
|
|
20467
|
-
declare const MultilineChip: ({ children, onClick, ...props }: MultilineChipProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20468
|
-
|
|
20469
20457
|
type CounterProps = {
|
|
20470
20458
|
/** sets the count value, a 0 will show a dot instead of a number. Undefined will cause the counter to disappear. */
|
|
20471
20459
|
count: number | undefined;
|
|
@@ -20641,7 +20629,6 @@ declare const getDrawerAttributes: ({ providerId, stackId, id, }: {
|
|
|
20641
20629
|
id: string;
|
|
20642
20630
|
}) => {
|
|
20643
20631
|
'data-drawer-id': string;
|
|
20644
|
-
'data-test-id': string;
|
|
20645
20632
|
};
|
|
20646
20633
|
|
|
20647
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"];
|
|
@@ -20651,7 +20638,7 @@ type IconName = (typeof iconNames)[number];
|
|
|
20651
20638
|
/** sets fill color of the svg icon
|
|
20652
20639
|
* @default 'default'
|
|
20653
20640
|
*/
|
|
20654
|
-
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor'
|
|
20641
|
+
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor';
|
|
20655
20642
|
/** sets the type of icon to use from the available list */
|
|
20656
20643
|
type IconType = IconName | IconType$1;
|
|
20657
20644
|
interface IconProps extends IconBaseProps {
|
|
@@ -21304,14 +21291,6 @@ declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props
|
|
|
21304
21291
|
*/
|
|
21305
21292
|
declare const LoadingIndicator: ({ ...props }: HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21306
21293
|
|
|
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
|
-
|
|
21315
21294
|
interface LoadingOverlayProps {
|
|
21316
21295
|
/** sets whether to display the loading overlay components */
|
|
21317
21296
|
isActive: boolean;
|
|
@@ -21399,8 +21378,8 @@ declare const useMenuContext: () => MenuStateReturn | undefined;
|
|
|
21399
21378
|
declare const Menu: ({ menuLabel, menuTrigger, placement, menuItemsContainerCssClasses, children, forceVisible, disableAutoSeparatorManagement, }: MenuProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21400
21379
|
|
|
21401
21380
|
type MenuGroupProps = {
|
|
21402
|
-
/** Title for the menu group
|
|
21403
|
-
title: string
|
|
21381
|
+
/** Title for the menu group */
|
|
21382
|
+
title: string;
|
|
21404
21383
|
/** Menu items to render in the group */
|
|
21405
21384
|
children: ReactNode;
|
|
21406
21385
|
};
|
|
@@ -21448,6 +21427,8 @@ type ModalProps = {
|
|
|
21448
21427
|
wrapperClassName?: string;
|
|
21449
21428
|
/** Removes the default padding on the content wrapper */
|
|
21450
21429
|
withoutContentPadding?: boolean;
|
|
21430
|
+
/** Places buttons at the bottom of the modal */
|
|
21431
|
+
buttonGroup?: ReactNode;
|
|
21451
21432
|
} & React__default.HTMLAttributes<HTMLDialogElement>;
|
|
21452
21433
|
/**
|
|
21453
21434
|
* A modal component to open a dialog with a backdrop that covers the whole page.
|
|
@@ -21466,8 +21447,19 @@ declare const Modal: React__default.ForwardRefExoticComponent<{
|
|
|
21466
21447
|
wrapperClassName?: string | undefined;
|
|
21467
21448
|
/** Removes the default padding on the content wrapper */
|
|
21468
21449
|
withoutContentPadding?: boolean | undefined;
|
|
21450
|
+
/** Places buttons at the bottom of the modal */
|
|
21451
|
+
buttonGroup?: ReactNode;
|
|
21469
21452
|
} & React__default.HTMLAttributes<HTMLDialogElement> & React__default.RefAttributes<HTMLDialogElement>>;
|
|
21470
21453
|
|
|
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
|
+
|
|
21471
21463
|
type CommonParameterProps = {
|
|
21472
21464
|
/** sets the label value */
|
|
21473
21465
|
label: string;
|
|
@@ -21485,13 +21477,9 @@ type CommonParameterProps = {
|
|
|
21485
21477
|
infoMessage?: string;
|
|
21486
21478
|
/** (optional) allows users to manually set the error message state */
|
|
21487
21479
|
handleManuallySetErrorMessage?: (message: string | undefined) => void;
|
|
21488
|
-
/** sets whether to show the override UI
|
|
21489
|
-
* @deprecated
|
|
21490
|
-
*/
|
|
21480
|
+
/** sets whether to show the override UI */
|
|
21491
21481
|
hasOverriddenValue?: boolean;
|
|
21492
|
-
/** sets the function call of the overriding parameters button
|
|
21493
|
-
* @deprecated
|
|
21494
|
-
*/
|
|
21482
|
+
/** sets the function call of the overriding parameters button */
|
|
21495
21483
|
onResetOverriddenValue?: () => void;
|
|
21496
21484
|
};
|
|
21497
21485
|
type CommonParameterInputProps = CommonParameterProps & {
|
|
@@ -21527,21 +21515,6 @@ declare const useParameterShell: () => {
|
|
|
21527
21515
|
handleManuallySetErrorMessage: ((message: string | undefined) => void) | undefined;
|
|
21528
21516
|
};
|
|
21529
21517
|
|
|
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
|
-
|
|
21545
21518
|
type ParameterDataConnectButtonProps = {
|
|
21546
21519
|
/** Sets the label value */
|
|
21547
21520
|
label: string;
|
|
@@ -21584,22 +21557,14 @@ declare const ParameterGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
|
|
|
21584
21557
|
children: ReactNode;
|
|
21585
21558
|
} & React$1.RefAttributes<HTMLFieldSetElement>>;
|
|
21586
21559
|
|
|
21587
|
-
type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'
|
|
21588
|
-
/** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
|
|
21589
|
-
disablePreview?: boolean;
|
|
21590
|
-
};
|
|
21560
|
+
type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>;
|
|
21591
21561
|
/** @Example <ParameterImage {...inputArgs} value={value} onChange={(e) => setValue(e.currentTarget.value)} /> */
|
|
21592
|
-
declare const ParameterImage: React__default.ForwardRefExoticComponent<
|
|
21593
|
-
|
|
21594
|
-
|
|
21595
|
-
}
|
|
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 }: {
|
|
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 }: {
|
|
21601
21566
|
imageSrc: string;
|
|
21602
|
-
})
|
|
21567
|
+
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21603
21568
|
|
|
21604
21569
|
type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement>;
|
|
21605
21570
|
/** @example <ParameterInput label="label value" id="my-input" /> */
|
|
@@ -21712,33 +21677,6 @@ type ParameterNameAndPublicIdInputProps = {
|
|
|
21712
21677
|
/** @example <ParameterNameAndPublicIdInput /> */
|
|
21713
21678
|
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;
|
|
21714
21679
|
|
|
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
|
-
|
|
21742
21680
|
type LinkNodeProps = NonNullable<LinkParamValue>;
|
|
21743
21681
|
type SerializedLinkNode = Spread<{
|
|
21744
21682
|
link: LinkNodeProps;
|
|
@@ -21768,32 +21706,6 @@ type LinkNodePluginProps = {
|
|
|
21768
21706
|
value: LinkParamValue;
|
|
21769
21707
|
onSetValue: (value: LinkParamValue) => void;
|
|
21770
21708
|
}) => 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;
|
|
21797
21709
|
};
|
|
21798
21710
|
|
|
21799
21711
|
type RichTextProps = {
|
|
@@ -21803,16 +21715,6 @@ type RichTextProps = {
|
|
|
21803
21715
|
onRichTextInit?: (editor: LexicalEditor) => void;
|
|
21804
21716
|
readOnly?: boolean;
|
|
21805
21717
|
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'];
|
|
21816
21718
|
};
|
|
21817
21719
|
type RichTextParamValue = SerializedEditorState | undefined | null;
|
|
21818
21720
|
type ParameterRichTextInnerProps = RichTextProps & {
|
|
@@ -21821,8 +21723,8 @@ type ParameterRichTextInnerProps = RichTextProps & {
|
|
|
21821
21723
|
editorFooter?: React.ReactNode;
|
|
21822
21724
|
};
|
|
21823
21725
|
type ParameterRichTextProps = CommonParameterInputProps & ParameterRichTextInnerProps;
|
|
21824
|
-
declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter,
|
|
21825
|
-
declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter,
|
|
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;
|
|
21826
21728
|
|
|
21827
21729
|
type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectProps & React.InputHTMLAttributes<HTMLSelectElement>;
|
|
21828
21730
|
/** @example <ParameterSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]} */
|
|
@@ -21843,9 +21745,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
|
21843
21745
|
menuItems?: ReactNode;
|
|
21844
21746
|
errorTestId?: string | undefined;
|
|
21845
21747
|
captionTestId?: string | undefined;
|
|
21846
|
-
/** sets overriding parameters indicator
|
|
21847
|
-
* @deprecated
|
|
21848
|
-
*/
|
|
21849
21748
|
title?: string | undefined;
|
|
21850
21749
|
}) => {
|
|
21851
21750
|
shellProps: {
|
|
@@ -21869,20 +21768,13 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
|
21869
21768
|
menuItems?: ReactNode;
|
|
21870
21769
|
errorTestId?: string | undefined;
|
|
21871
21770
|
captionTestId?: string | undefined;
|
|
21872
|
-
/** sets overriding parameters indicator
|
|
21873
|
-
* @deprecated
|
|
21874
|
-
*/
|
|
21875
21771
|
title?: string | undefined;
|
|
21876
21772
|
}, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
|
|
21877
21773
|
};
|
|
21878
21774
|
type ParameterShellOverrideProps = {
|
|
21879
|
-
/** sets overriding parameters indicator
|
|
21880
|
-
* @deprecated
|
|
21881
|
-
*/
|
|
21775
|
+
/** sets overriding parameters indicator */
|
|
21882
21776
|
hasOverriddenValue?: boolean;
|
|
21883
|
-
/** sets the function call of the overriding parameters button
|
|
21884
|
-
* @deprecated
|
|
21885
|
-
*/
|
|
21777
|
+
/** sets the function call of the overriding parameters button */
|
|
21886
21778
|
onResetOverriddenValue?: () => void;
|
|
21887
21779
|
};
|
|
21888
21780
|
type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonParameterInputProps & ParameterShellOverrideProps;
|
|
@@ -21894,7 +21786,6 @@ declare const ParameterShell: ({ label, labelLeadingIcon, hiddenLabel, id, error
|
|
|
21894
21786
|
declare const ParameterShellPlaceholder: ({ children }: {
|
|
21895
21787
|
children?: ReactNode;
|
|
21896
21788
|
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21897
|
-
/** @deprecated */
|
|
21898
21789
|
declare const ParameterOverrideMarker: (props: HTMLAttributes<HTMLButtonElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21899
21790
|
|
|
21900
21791
|
type ParameterTextareaProps = CommonParameterInputProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
@@ -21909,18 +21800,12 @@ declare const ParameterTextarea: React$1.ForwardRefExoticComponent<CommonParamet
|
|
|
21909
21800
|
/** @example <ParameterTextareaInner /> */
|
|
21910
21801
|
declare const ParameterTextareaInner: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTextAreaElement> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
21911
21802
|
|
|
21912
|
-
type ParameterToggleProps =
|
|
21913
|
-
|
|
21803
|
+
type ParameterToggleProps = React.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, 'hiddenLabel'> & {
|
|
21804
|
+
hiddenTitle?: boolean;
|
|
21914
21805
|
};
|
|
21915
21806
|
/** @example <ParameterToggle title="my checkbox" label="label value" id="my-checkbox" type="checkbox" onIconClick={() => alert('icon clicked)} /> */
|
|
21916
|
-
declare const ParameterToggle: React$1.ForwardRefExoticComponent<
|
|
21917
|
-
|
|
21918
|
-
menuItems?: React$1.ReactNode;
|
|
21919
|
-
errorTestId?: string | undefined;
|
|
21920
|
-
captionTestId?: string | undefined;
|
|
21921
|
-
title?: string | undefined;
|
|
21922
|
-
} & {
|
|
21923
|
-
type: 'checkbox' | 'radio';
|
|
21807
|
+
declare const ParameterToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & Omit<CommonParameterInputProps, "hiddenLabel"> & {
|
|
21808
|
+
hiddenTitle?: boolean | undefined;
|
|
21924
21809
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
21925
21810
|
declare const ParameterToggleInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
21926
21811
|
|
|
@@ -22450,4 +22335,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
22450
22335
|
};
|
|
22451
22336
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22452
22337
|
|
|
22453
|
-
export {
|
|
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 };
|