@uniformdev/design-system 19.95.0 → 19.96.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 +659 -356
- package/dist/index.d.mts +25 -10
- package/dist/index.d.ts +25 -10
- package/dist/index.js +748 -438
- package/package.json +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,7 @@ import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popo
|
|
|
24
24
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
25
25
|
import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
|
|
26
26
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
27
|
+
export { Id as ToastId, toast } from 'react-toastify';
|
|
27
28
|
|
|
28
29
|
/** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
|
|
29
30
|
type ThemeProps = {
|
|
@@ -21573,7 +21574,7 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21573
21574
|
showLabel?: boolean;
|
|
21574
21575
|
/** (optional) sets and shows the the error message value */
|
|
21575
21576
|
errorMessage?: string;
|
|
21576
|
-
/** (optional) sets and shows the
|
|
21577
|
+
/** (optional) sets and shows the warning message value */
|
|
21577
21578
|
warningMessage?: string;
|
|
21578
21579
|
/** (optional) sets the test id for input field container for test automation*/
|
|
21579
21580
|
containerTestId?: string;
|
|
@@ -21616,7 +21617,7 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
|
|
|
21616
21617
|
showLabel?: boolean | undefined;
|
|
21617
21618
|
/** (optional) sets and shows the the error message value */
|
|
21618
21619
|
errorMessage?: string | undefined;
|
|
21619
|
-
/** (optional) sets and shows the
|
|
21620
|
+
/** (optional) sets and shows the warning message value */
|
|
21620
21621
|
warningMessage?: string | undefined;
|
|
21621
21622
|
/** (optional) sets the test id for input field container for test automation*/
|
|
21622
21623
|
containerTestId?: string | undefined;
|
|
@@ -21740,7 +21741,7 @@ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
|
21740
21741
|
showLabel?: boolean;
|
|
21741
21742
|
/** (optional) sets and shows the the error message value */
|
|
21742
21743
|
errorMessage?: string;
|
|
21743
|
-
/** (optional) sets and shows the
|
|
21744
|
+
/** (optional) sets and shows the warning message value */
|
|
21744
21745
|
warningMessage?: string;
|
|
21745
21746
|
/** (optional) allows react components to be added inline with the label element */
|
|
21746
21747
|
labelCta?: JSX.Element;
|
|
@@ -21781,7 +21782,7 @@ type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21781
21782
|
caption?: string | JSX.Element;
|
|
21782
21783
|
/** (optional) sets shows the the error message value */
|
|
21783
21784
|
errorMessage?: string;
|
|
21784
|
-
/** (optional) sets and shows the
|
|
21785
|
+
/** (optional) sets and shows the warning message value */
|
|
21785
21786
|
warningMessage?: string;
|
|
21786
21787
|
/** (optional) sets the font weight of the label text
|
|
21787
21788
|
* @default 'normal'
|
|
@@ -21809,7 +21810,7 @@ declare const InputToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAt
|
|
|
21809
21810
|
caption?: string | JSX.Element | undefined;
|
|
21810
21811
|
/** (optional) sets shows the the error message value */
|
|
21811
21812
|
errorMessage?: string | undefined;
|
|
21812
|
-
/** (optional) sets and shows the
|
|
21813
|
+
/** (optional) sets and shows the warning message value */
|
|
21813
21814
|
warningMessage?: string | undefined;
|
|
21814
21815
|
/** (optional) sets the font weight of the label text
|
|
21815
21816
|
* @default 'normal'
|
|
@@ -22231,6 +22232,11 @@ type ModalProps = {
|
|
|
22231
22232
|
children?: React__default.ReactNode;
|
|
22232
22233
|
/** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
|
|
22233
22234
|
onRequestClose: () => void;
|
|
22235
|
+
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
22236
|
+
* if a width attribute is used the size will be overridden by the width attribute
|
|
22237
|
+
* @default 'lg'
|
|
22238
|
+
*/
|
|
22239
|
+
modalSize?: 'sm' | 'md' | 'lg';
|
|
22234
22240
|
/** A valid CSS width */
|
|
22235
22241
|
width?: string;
|
|
22236
22242
|
/** A valid CSS height */
|
|
@@ -22239,8 +22245,6 @@ type ModalProps = {
|
|
|
22239
22245
|
* @deprecated the dialog is not rendered inside a wrapper anymore.
|
|
22240
22246
|
*/
|
|
22241
22247
|
wrapperClassName?: string;
|
|
22242
|
-
/** Removes the default padding on the content wrapper */
|
|
22243
|
-
withoutContentPadding?: boolean;
|
|
22244
22248
|
/** Places buttons at the bottom of the modal */
|
|
22245
22249
|
buttonGroup?: ReactNode;
|
|
22246
22250
|
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
@@ -22630,7 +22634,7 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
|
22630
22634
|
errorTestId?: string | undefined;
|
|
22631
22635
|
captionTestId?: string | undefined;
|
|
22632
22636
|
title?: string | undefined;
|
|
22633
|
-
}, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "
|
|
22637
|
+
}, "caption" | "label" | "title" | "id" | "menuItems" | "warningMessage" | "errorMessage" | "infoMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "hasOverriddenValue" | "onResetOverriddenValue">;
|
|
22634
22638
|
};
|
|
22635
22639
|
type ParameterShellOverrideProps = {
|
|
22636
22640
|
/** sets overriding parameters indicator
|
|
@@ -22724,7 +22728,7 @@ interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
22724
22728
|
variant?: 'determinate' | 'indeterminate';
|
|
22725
22729
|
}
|
|
22726
22730
|
/**
|
|
22727
|
-
* @deprecated
|
|
22731
|
+
* @deprecated This component is in beta, and might receive breaking changes in minor releases!
|
|
22728
22732
|
*/
|
|
22729
22733
|
declare function ProgressBar({ current, max, theme, variant, ...props }: ProgressBarProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22730
22734
|
|
|
@@ -23077,6 +23081,17 @@ type TileTitleProps = {
|
|
|
23077
23081
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
23078
23082
|
declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23079
23083
|
|
|
23084
|
+
type ToastContainerProps = {
|
|
23085
|
+
limit?: number;
|
|
23086
|
+
};
|
|
23087
|
+
/**
|
|
23088
|
+
* A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
|
|
23089
|
+
* @example <App><ToastContainer /></App>
|
|
23090
|
+
*
|
|
23091
|
+
* @deprecated This component is in beta, and might receive breaking changes in minor releases!
|
|
23092
|
+
*/
|
|
23093
|
+
declare const ToastContainer: ({ limit }: ToastContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23094
|
+
|
|
23080
23095
|
type TooltipProps = TooltipOptions & {
|
|
23081
23096
|
/** Content of tooltip popover */
|
|
23082
23097
|
title: string | React__default.ReactElement;
|
|
@@ -23234,4 +23249,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23234
23249
|
};
|
|
23235
23250
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23236
23251
|
|
|
23237
|
-
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, type ModalProps, MultilineChip, type MultilineChipProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type 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 };
|
|
23252
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, type ModalProps, MultilineChip, type MultilineChipProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type 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
|
@@ -24,6 +24,7 @@ import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popo
|
|
|
24
24
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
25
25
|
import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
|
|
26
26
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
27
|
+
export { Id as ToastId, toast } from 'react-toastify';
|
|
27
28
|
|
|
28
29
|
/** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
|
|
29
30
|
type ThemeProps = {
|
|
@@ -21573,7 +21574,7 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21573
21574
|
showLabel?: boolean;
|
|
21574
21575
|
/** (optional) sets and shows the the error message value */
|
|
21575
21576
|
errorMessage?: string;
|
|
21576
|
-
/** (optional) sets and shows the
|
|
21577
|
+
/** (optional) sets and shows the warning message value */
|
|
21577
21578
|
warningMessage?: string;
|
|
21578
21579
|
/** (optional) sets the test id for input field container for test automation*/
|
|
21579
21580
|
containerTestId?: string;
|
|
@@ -21616,7 +21617,7 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
|
|
|
21616
21617
|
showLabel?: boolean | undefined;
|
|
21617
21618
|
/** (optional) sets and shows the the error message value */
|
|
21618
21619
|
errorMessage?: string | undefined;
|
|
21619
|
-
/** (optional) sets and shows the
|
|
21620
|
+
/** (optional) sets and shows the warning message value */
|
|
21620
21621
|
warningMessage?: string | undefined;
|
|
21621
21622
|
/** (optional) sets the test id for input field container for test automation*/
|
|
21622
21623
|
containerTestId?: string | undefined;
|
|
@@ -21740,7 +21741,7 @@ type InputSelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
|
|
|
21740
21741
|
showLabel?: boolean;
|
|
21741
21742
|
/** (optional) sets and shows the the error message value */
|
|
21742
21743
|
errorMessage?: string;
|
|
21743
|
-
/** (optional) sets and shows the
|
|
21744
|
+
/** (optional) sets and shows the warning message value */
|
|
21744
21745
|
warningMessage?: string;
|
|
21745
21746
|
/** (optional) allows react components to be added inline with the label element */
|
|
21746
21747
|
labelCta?: JSX.Element;
|
|
@@ -21781,7 +21782,7 @@ type InputToggleProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
21781
21782
|
caption?: string | JSX.Element;
|
|
21782
21783
|
/** (optional) sets shows the the error message value */
|
|
21783
21784
|
errorMessage?: string;
|
|
21784
|
-
/** (optional) sets and shows the
|
|
21785
|
+
/** (optional) sets and shows the warning message value */
|
|
21785
21786
|
warningMessage?: string;
|
|
21786
21787
|
/** (optional) sets the font weight of the label text
|
|
21787
21788
|
* @default 'normal'
|
|
@@ -21809,7 +21810,7 @@ declare const InputToggle: React$1.ForwardRefExoticComponent<React$1.InputHTMLAt
|
|
|
21809
21810
|
caption?: string | JSX.Element | undefined;
|
|
21810
21811
|
/** (optional) sets shows the the error message value */
|
|
21811
21812
|
errorMessage?: string | undefined;
|
|
21812
|
-
/** (optional) sets and shows the
|
|
21813
|
+
/** (optional) sets and shows the warning message value */
|
|
21813
21814
|
warningMessage?: string | undefined;
|
|
21814
21815
|
/** (optional) sets the font weight of the label text
|
|
21815
21816
|
* @default 'normal'
|
|
@@ -22231,6 +22232,11 @@ type ModalProps = {
|
|
|
22231
22232
|
children?: React__default.ReactNode;
|
|
22232
22233
|
/** Called when the close button is clicked, the Escape button is pressed, or when the modal's backdrop is clicked */
|
|
22233
22234
|
onRequestClose: () => void;
|
|
22235
|
+
/** The size sets the modal width to one of three options sm = 400px, md = 600px and lg = 800px
|
|
22236
|
+
* if a width attribute is used the size will be overridden by the width attribute
|
|
22237
|
+
* @default 'lg'
|
|
22238
|
+
*/
|
|
22239
|
+
modalSize?: 'sm' | 'md' | 'lg';
|
|
22234
22240
|
/** A valid CSS width */
|
|
22235
22241
|
width?: string;
|
|
22236
22242
|
/** A valid CSS height */
|
|
@@ -22239,8 +22245,6 @@ type ModalProps = {
|
|
|
22239
22245
|
* @deprecated the dialog is not rendered inside a wrapper anymore.
|
|
22240
22246
|
*/
|
|
22241
22247
|
wrapperClassName?: string;
|
|
22242
|
-
/** Removes the default padding on the content wrapper */
|
|
22243
|
-
withoutContentPadding?: boolean;
|
|
22244
22248
|
/** Places buttons at the bottom of the modal */
|
|
22245
22249
|
buttonGroup?: ReactNode;
|
|
22246
22250
|
} & React__default.HTMLProps<HTMLDialogElement>;
|
|
@@ -22630,7 +22634,7 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
|
|
|
22630
22634
|
errorTestId?: string | undefined;
|
|
22631
22635
|
captionTestId?: string | undefined;
|
|
22632
22636
|
title?: string | undefined;
|
|
22633
|
-
}, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "
|
|
22637
|
+
}, "caption" | "label" | "title" | "id" | "menuItems" | "warningMessage" | "errorMessage" | "infoMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "hasOverriddenValue" | "onResetOverriddenValue">;
|
|
22634
22638
|
};
|
|
22635
22639
|
type ParameterShellOverrideProps = {
|
|
22636
22640
|
/** sets overriding parameters indicator
|
|
@@ -22724,7 +22728,7 @@ interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
22724
22728
|
variant?: 'determinate' | 'indeterminate';
|
|
22725
22729
|
}
|
|
22726
22730
|
/**
|
|
22727
|
-
* @deprecated
|
|
22731
|
+
* @deprecated This component is in beta, and might receive breaking changes in minor releases!
|
|
22728
22732
|
*/
|
|
22729
22733
|
declare function ProgressBar({ current, max, theme, variant, ...props }: ProgressBarProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22730
22734
|
|
|
@@ -23077,6 +23081,17 @@ type TileTitleProps = {
|
|
|
23077
23081
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
23078
23082
|
declare const TileText: ({ as, children, ...props }: TileTitleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23079
23083
|
|
|
23084
|
+
type ToastContainerProps = {
|
|
23085
|
+
limit?: number;
|
|
23086
|
+
};
|
|
23087
|
+
/**
|
|
23088
|
+
* A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
|
|
23089
|
+
* @example <App><ToastContainer /></App>
|
|
23090
|
+
*
|
|
23091
|
+
* @deprecated This component is in beta, and might receive breaking changes in minor releases!
|
|
23092
|
+
*/
|
|
23093
|
+
declare const ToastContainer: ({ limit }: ToastContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23094
|
+
|
|
23080
23095
|
type TooltipProps = TooltipOptions & {
|
|
23081
23096
|
/** Content of tooltip popover */
|
|
23082
23097
|
title: string | React__default.ReactElement;
|
|
@@ -23234,4 +23249,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23234
23249
|
};
|
|
23235
23250
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23236
23251
|
|
|
23237
|
-
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, type ModalProps, MultilineChip, type MultilineChipProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type 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 };
|
|
23252
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, type ArrowPositionProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, InlineAlert, type InlineAlertProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuGroup, type MenuGroupProps, MenuItem, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, Modal, type ModalProps, MultilineChip, type MultilineChipProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, VerticalRhythm, WarningMessage, type 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 };
|