@uniformdev/design-system 19.55.2-alpha.48 → 19.55.2-alpha.54
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 +551 -507
- package/dist/index.d.mts +33 -15
- package/dist/index.d.ts +33 -15
- package/dist/index.js +1067 -1023
- package/package.json +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -7,14 +7,14 @@ import * as _emotion_react from '@emotion/react';
|
|
|
7
7
|
import { SerializedStyles } from '@emotion/react';
|
|
8
8
|
import { LottieComponentProps } from 'lottie-react';
|
|
9
9
|
import { ButtonProps as ButtonProps$1 } from 'reakit/Button';
|
|
10
|
-
import { MenuProps as MenuProps$1
|
|
10
|
+
import { MenuProps as MenuProps$1 } from 'reakit';
|
|
11
11
|
import * as _react_icons_all_files_lib from '@react-icons/all-files/lib';
|
|
12
12
|
import { IconType as IconType$1, IconBaseProps } from '@react-icons/all-files/lib';
|
|
13
13
|
import * as _react_icons_all_files from '@react-icons/all-files';
|
|
14
14
|
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
|
-
import {
|
|
17
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1 } from '@ariakit/react';
|
|
18
18
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
19
19
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
20
20
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
@@ -21275,6 +21275,7 @@ type DescriptionListProps = {
|
|
|
21275
21275
|
label: string;
|
|
21276
21276
|
value: string | number | boolean | React__default.ReactNode;
|
|
21277
21277
|
}[];
|
|
21278
|
+
variant?: 'horizontal' | 'vertical';
|
|
21278
21279
|
} & React__default.HTMLAttributes<HTMLDListElement>;
|
|
21279
21280
|
/**
|
|
21280
21281
|
* A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
|
|
@@ -21285,6 +21286,7 @@ declare const DescriptionList: React__default.ForwardRefExoticComponent<{
|
|
|
21285
21286
|
label: string;
|
|
21286
21287
|
value: string | number | boolean | React__default.ReactNode;
|
|
21287
21288
|
}[];
|
|
21289
|
+
variant?: "horizontal" | "vertical" | undefined;
|
|
21288
21290
|
} & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
|
|
21289
21291
|
|
|
21290
21292
|
type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
@@ -21391,9 +21393,13 @@ type DrawersRegistryRecord = DrawerItem & {
|
|
|
21391
21393
|
};
|
|
21392
21394
|
type DrawerContextValue = {
|
|
21393
21395
|
providerId: string;
|
|
21396
|
+
/** Render all drawers inside ref, used for complex modals */
|
|
21394
21397
|
drawersRegistry: DrawersRegistryRecord[];
|
|
21395
21398
|
registerDrawer: (props: RegisterDrawerProps) => void;
|
|
21396
21399
|
unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
|
|
21400
|
+
drawerTakeoverStackId?: string;
|
|
21401
|
+
registerTakeoverStackId: (stackId: string) => void;
|
|
21402
|
+
unregisterTakeoverStackId: (stackId: string) => void;
|
|
21397
21403
|
};
|
|
21398
21404
|
/**
|
|
21399
21405
|
* Provides the context to the Drawer and DrawerRenderer components.
|
|
@@ -21437,6 +21443,11 @@ type DrawerContentProps = {
|
|
|
21437
21443
|
} & HTMLAttributes<HTMLDivElement>;
|
|
21438
21444
|
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21439
21445
|
|
|
21446
|
+
declare const TAKEOVER_STACK_ID = "takeover-stack";
|
|
21447
|
+
declare const TakeoverDrawerRenderer: (props: Omit<DrawerRendererProps, 'stackId'> & {
|
|
21448
|
+
stackId?: string;
|
|
21449
|
+
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21450
|
+
|
|
21440
21451
|
interface IconButtonProps extends Omit<ButtonProps, 'size'> {
|
|
21441
21452
|
variant?: 'square' | 'rounded';
|
|
21442
21453
|
/** Style for the larger sizes have not been decided yet */
|
|
@@ -22094,13 +22105,18 @@ interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
|
22094
22105
|
*/
|
|
22095
22106
|
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22096
22107
|
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22108
|
+
declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
|
|
22109
|
+
type LegacyPlacement = (typeof legacyPlacements)[number];
|
|
22110
|
+
interface MenuProps extends MenuProps$2 {
|
|
22111
|
+
/**
|
|
22112
|
+
* sets aria-label attribute.
|
|
22113
|
+
* @deprecated Set the label directly on the `menuTrigger`
|
|
22114
|
+
*/
|
|
22115
|
+
menuLabel?: string;
|
|
22100
22116
|
/** the component that triggers the menu functionality */
|
|
22101
22117
|
menuTrigger: React$1.ReactElement & React$1.RefAttributes<any>;
|
|
22102
22118
|
/** (optional) reakit placements options for the expandable menu */
|
|
22103
|
-
placement?:
|
|
22119
|
+
placement?: MenuStoreProps['placement'] | LegacyPlacement;
|
|
22104
22120
|
/** (optional) allows users to set additional class names */
|
|
22105
22121
|
menuItemsContainerCssClasses?: SerializedStyles | string;
|
|
22106
22122
|
/** (optional) allows users to add child elements */
|
|
@@ -22108,6 +22124,7 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22108
22124
|
/**
|
|
22109
22125
|
* Overrides the visibility of the menu.
|
|
22110
22126
|
* When unset, visibility is owned by the menu. When a boolean, forces the menu visibility.
|
|
22127
|
+
* @deprecated use the `open` prop instead
|
|
22111
22128
|
*/
|
|
22112
22129
|
forceVisible?: boolean;
|
|
22113
22130
|
/**
|
|
@@ -22121,21 +22138,22 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22121
22138
|
* If you need to disable this functionality, set this prop to true.
|
|
22122
22139
|
*/
|
|
22123
22140
|
disableAutoSeparatorManagement?: boolean;
|
|
22124
|
-
/** sets whether to use a React portal rendering or not
|
|
22141
|
+
/** sets whether to use a React portal rendering or not.
|
|
22142
|
+
* @deprecated this prop was added to fix a bug with portal, this issue is now fixed, and we don't need this prop anymore.
|
|
22143
|
+
*/
|
|
22125
22144
|
withoutPortal?: boolean;
|
|
22126
22145
|
}
|
|
22127
|
-
declare const MenuContext: React$1.Context<MenuStateReturn>;
|
|
22128
|
-
declare const useMenuContext: () => MenuStateReturn | undefined;
|
|
22129
22146
|
/**
|
|
22130
22147
|
* Component used for creating clickable menus
|
|
22131
22148
|
* @example
|
|
22132
22149
|
* <Menu
|
|
22133
22150
|
* menuTrigger={<button type="button">Click me</button>}
|
|
22134
22151
|
* menuItemsContainerCssClasses="bg-white"
|
|
22135
|
-
*
|
|
22152
|
+
* >
|
|
22153
|
+
* <MenuItem>Item 1</MenuItem>
|
|
22136
22154
|
* </Menu>
|
|
22137
22155
|
*/
|
|
22138
|
-
declare const Menu:
|
|
22156
|
+
declare const Menu: React$1.ForwardRefExoticComponent<Omit<MenuProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
22139
22157
|
|
|
22140
22158
|
type MenuGroupProps = {
|
|
22141
22159
|
/** Title for the menu group. If undefined or an empty string, the group will render as normal menu */
|
|
@@ -22146,7 +22164,7 @@ type MenuGroupProps = {
|
|
|
22146
22164
|
declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22147
22165
|
|
|
22148
22166
|
type MenuItemTextThemeProps = 'base' | 'red';
|
|
22149
|
-
type MenuItemProps =
|
|
22167
|
+
type MenuItemProps = MenuItemProps$1 & {
|
|
22150
22168
|
/** sets child elements within the component */
|
|
22151
22169
|
children: ChildFunction | React$1.ReactNode;
|
|
22152
22170
|
/** (optional) set whether to hide the menu after a click action */
|
|
@@ -22165,7 +22183,7 @@ type MenuItemProps = MenuItemHTMLProps & {
|
|
|
22165
22183
|
*/
|
|
22166
22184
|
active?: boolean;
|
|
22167
22185
|
};
|
|
22168
|
-
type ChildFunction = (menuItemProps:
|
|
22186
|
+
type ChildFunction = (menuItemProps: MenuItemProps$1) => React$1.ReactElement | null;
|
|
22169
22187
|
/**
|
|
22170
22188
|
* MenuItem Component used along side <Menu /> component
|
|
22171
22189
|
* @example <MenuItem onClick={() => alert('menu item was clicked')} icon={<RedClose />}>Remove Link</MenuItem>
|
|
@@ -23061,7 +23079,7 @@ type HeadingProps = {
|
|
|
23061
23079
|
*/
|
|
23062
23080
|
level?: LevelProps;
|
|
23063
23081
|
/** override the underlying html tag */
|
|
23064
|
-
as?:
|
|
23082
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div';
|
|
23065
23083
|
/** sets whether to display a span with the defined heading styles
|
|
23066
23084
|
* @deprecated use as="span"
|
|
23067
23085
|
*/
|
|
@@ -23197,4 +23215,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23197
23215
|
};
|
|
23198
23216
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23199
23217
|
|
|
23200
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu,
|
|
23218
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Pagination, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TakeoverDrawerRenderer, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,14 +7,14 @@ import * as _emotion_react from '@emotion/react';
|
|
|
7
7
|
import { SerializedStyles } from '@emotion/react';
|
|
8
8
|
import { LottieComponentProps } from 'lottie-react';
|
|
9
9
|
import { ButtonProps as ButtonProps$1 } from 'reakit/Button';
|
|
10
|
-
import { MenuProps as MenuProps$1
|
|
10
|
+
import { MenuProps as MenuProps$1 } from 'reakit';
|
|
11
11
|
import * as _react_icons_all_files_lib from '@react-icons/all-files/lib';
|
|
12
12
|
import { IconType as IconType$1, IconBaseProps } from '@react-icons/all-files/lib';
|
|
13
13
|
import * as _react_icons_all_files from '@react-icons/all-files';
|
|
14
14
|
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
|
-
import {
|
|
17
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1 } from '@ariakit/react';
|
|
18
18
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
19
19
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
20
20
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
@@ -21275,6 +21275,7 @@ type DescriptionListProps = {
|
|
|
21275
21275
|
label: string;
|
|
21276
21276
|
value: string | number | boolean | React__default.ReactNode;
|
|
21277
21277
|
}[];
|
|
21278
|
+
variant?: 'horizontal' | 'vertical';
|
|
21278
21279
|
} & React__default.HTMLAttributes<HTMLDListElement>;
|
|
21279
21280
|
/**
|
|
21280
21281
|
* A component to render a key-value list (uses <dl />, <dt /> and <dd /> under the hood).
|
|
@@ -21285,6 +21286,7 @@ declare const DescriptionList: React__default.ForwardRefExoticComponent<{
|
|
|
21285
21286
|
label: string;
|
|
21286
21287
|
value: string | number | boolean | React__default.ReactNode;
|
|
21287
21288
|
}[];
|
|
21289
|
+
variant?: "horizontal" | "vertical" | undefined;
|
|
21288
21290
|
} & React__default.HTMLAttributes<HTMLDListElement> & React__default.RefAttributes<HTMLDListElement>>;
|
|
21289
21291
|
|
|
21290
21292
|
type DetailsProps = React$1.HTMLAttributes<HTMLDetailsElement> & {
|
|
@@ -21391,9 +21393,13 @@ type DrawersRegistryRecord = DrawerItem & {
|
|
|
21391
21393
|
};
|
|
21392
21394
|
type DrawerContextValue = {
|
|
21393
21395
|
providerId: string;
|
|
21396
|
+
/** Render all drawers inside ref, used for complex modals */
|
|
21394
21397
|
drawersRegistry: DrawersRegistryRecord[];
|
|
21395
21398
|
registerDrawer: (props: RegisterDrawerProps) => void;
|
|
21396
21399
|
unregisterDrawer: (drawerId: Pick<DrawerItem, 'id' | 'stackId' | 'instanceKey'>) => void;
|
|
21400
|
+
drawerTakeoverStackId?: string;
|
|
21401
|
+
registerTakeoverStackId: (stackId: string) => void;
|
|
21402
|
+
unregisterTakeoverStackId: (stackId: string) => void;
|
|
21397
21403
|
};
|
|
21398
21404
|
/**
|
|
21399
21405
|
* Provides the context to the Drawer and DrawerRenderer components.
|
|
@@ -21437,6 +21443,11 @@ type DrawerContentProps = {
|
|
|
21437
21443
|
} & HTMLAttributes<HTMLDivElement>;
|
|
21438
21444
|
declare const DrawerContent: ({ children, buttonGroup, noPadding, ...props }: DrawerContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21439
21445
|
|
|
21446
|
+
declare const TAKEOVER_STACK_ID = "takeover-stack";
|
|
21447
|
+
declare const TakeoverDrawerRenderer: (props: Omit<DrawerRendererProps, 'stackId'> & {
|
|
21448
|
+
stackId?: string;
|
|
21449
|
+
}) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21450
|
+
|
|
21440
21451
|
interface IconButtonProps extends Omit<ButtonProps, 'size'> {
|
|
21441
21452
|
variant?: 'square' | 'rounded';
|
|
21442
21453
|
/** Style for the larger sizes have not been decided yet */
|
|
@@ -22094,13 +22105,18 @@ interface LoadingIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
|
22094
22105
|
*/
|
|
22095
22106
|
declare const LoadingIcon: ({ height, width, ...props }: LoadingIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22096
22107
|
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22108
|
+
declare const legacyPlacements: readonly ["auto", "auto-start", "auto-end"];
|
|
22109
|
+
type LegacyPlacement = (typeof legacyPlacements)[number];
|
|
22110
|
+
interface MenuProps extends MenuProps$2 {
|
|
22111
|
+
/**
|
|
22112
|
+
* sets aria-label attribute.
|
|
22113
|
+
* @deprecated Set the label directly on the `menuTrigger`
|
|
22114
|
+
*/
|
|
22115
|
+
menuLabel?: string;
|
|
22100
22116
|
/** the component that triggers the menu functionality */
|
|
22101
22117
|
menuTrigger: React$1.ReactElement & React$1.RefAttributes<any>;
|
|
22102
22118
|
/** (optional) reakit placements options for the expandable menu */
|
|
22103
|
-
placement?:
|
|
22119
|
+
placement?: MenuStoreProps['placement'] | LegacyPlacement;
|
|
22104
22120
|
/** (optional) allows users to set additional class names */
|
|
22105
22121
|
menuItemsContainerCssClasses?: SerializedStyles | string;
|
|
22106
22122
|
/** (optional) allows users to add child elements */
|
|
@@ -22108,6 +22124,7 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22108
22124
|
/**
|
|
22109
22125
|
* Overrides the visibility of the menu.
|
|
22110
22126
|
* When unset, visibility is owned by the menu. When a boolean, forces the menu visibility.
|
|
22127
|
+
* @deprecated use the `open` prop instead
|
|
22111
22128
|
*/
|
|
22112
22129
|
forceVisible?: boolean;
|
|
22113
22130
|
/**
|
|
@@ -22121,21 +22138,22 @@ interface MenuProps extends MenuHTMLProps {
|
|
|
22121
22138
|
* If you need to disable this functionality, set this prop to true.
|
|
22122
22139
|
*/
|
|
22123
22140
|
disableAutoSeparatorManagement?: boolean;
|
|
22124
|
-
/** sets whether to use a React portal rendering or not
|
|
22141
|
+
/** sets whether to use a React portal rendering or not.
|
|
22142
|
+
* @deprecated this prop was added to fix a bug with portal, this issue is now fixed, and we don't need this prop anymore.
|
|
22143
|
+
*/
|
|
22125
22144
|
withoutPortal?: boolean;
|
|
22126
22145
|
}
|
|
22127
|
-
declare const MenuContext: React$1.Context<MenuStateReturn>;
|
|
22128
|
-
declare const useMenuContext: () => MenuStateReturn | undefined;
|
|
22129
22146
|
/**
|
|
22130
22147
|
* Component used for creating clickable menus
|
|
22131
22148
|
* @example
|
|
22132
22149
|
* <Menu
|
|
22133
22150
|
* menuTrigger={<button type="button">Click me</button>}
|
|
22134
22151
|
* menuItemsContainerCssClasses="bg-white"
|
|
22135
|
-
*
|
|
22152
|
+
* >
|
|
22153
|
+
* <MenuItem>Item 1</MenuItem>
|
|
22136
22154
|
* </Menu>
|
|
22137
22155
|
*/
|
|
22138
|
-
declare const Menu:
|
|
22156
|
+
declare const Menu: React$1.ForwardRefExoticComponent<Omit<MenuProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
22139
22157
|
|
|
22140
22158
|
type MenuGroupProps = {
|
|
22141
22159
|
/** Title for the menu group. If undefined or an empty string, the group will render as normal menu */
|
|
@@ -22146,7 +22164,7 @@ type MenuGroupProps = {
|
|
|
22146
22164
|
declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22147
22165
|
|
|
22148
22166
|
type MenuItemTextThemeProps = 'base' | 'red';
|
|
22149
|
-
type MenuItemProps =
|
|
22167
|
+
type MenuItemProps = MenuItemProps$1 & {
|
|
22150
22168
|
/** sets child elements within the component */
|
|
22151
22169
|
children: ChildFunction | React$1.ReactNode;
|
|
22152
22170
|
/** (optional) set whether to hide the menu after a click action */
|
|
@@ -22165,7 +22183,7 @@ type MenuItemProps = MenuItemHTMLProps & {
|
|
|
22165
22183
|
*/
|
|
22166
22184
|
active?: boolean;
|
|
22167
22185
|
};
|
|
22168
|
-
type ChildFunction = (menuItemProps:
|
|
22186
|
+
type ChildFunction = (menuItemProps: MenuItemProps$1) => React$1.ReactElement | null;
|
|
22169
22187
|
/**
|
|
22170
22188
|
* MenuItem Component used along side <Menu /> component
|
|
22171
22189
|
* @example <MenuItem onClick={() => alert('menu item was clicked')} icon={<RedClose />}>Remove Link</MenuItem>
|
|
@@ -23061,7 +23079,7 @@ type HeadingProps = {
|
|
|
23061
23079
|
*/
|
|
23062
23080
|
level?: LevelProps;
|
|
23063
23081
|
/** override the underlying html tag */
|
|
23064
|
-
as?:
|
|
23082
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'div';
|
|
23065
23083
|
/** sets whether to display a span with the defined heading styles
|
|
23066
23084
|
* @deprecated use as="span"
|
|
23067
23085
|
*/
|
|
@@ -23197,4 +23215,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23197
23215
|
};
|
|
23198
23216
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23199
23217
|
|
|
23200
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu,
|
|
23218
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Pagination, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, Switch, SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TakeoverDrawerRenderer, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|