@uniformdev/design-system 19.11.0 → 19.12.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 +570 -509
- package/dist/index.d.ts +32 -24
- package/dist/index.js +664 -602
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -20321,12 +20321,14 @@ interface CalloutProps {
|
|
|
20321
20321
|
children?: React$1.ReactNode;
|
|
20322
20322
|
/** sets additional css classes or emotion styles on the callout */
|
|
20323
20323
|
className?: SerializedStyles | string;
|
|
20324
|
+
/** sets the data-test-id on the callout element */
|
|
20325
|
+
testId?: string;
|
|
20324
20326
|
}
|
|
20325
20327
|
/**
|
|
20326
20328
|
* Uniform Callout Component
|
|
20327
20329
|
* @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
|
|
20328
20330
|
*/
|
|
20329
|
-
declare const Callout: ({ type, compact, title, children, className }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20331
|
+
declare const Callout: ({ type, compact, title, children, className, testId, }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20330
20332
|
|
|
20331
20333
|
type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
20332
20334
|
/** (optional) sets the title value of the card */
|
|
@@ -20932,6 +20934,18 @@ type LegendProps = {
|
|
|
20932
20934
|
};
|
|
20933
20935
|
declare const Legend: ({ children }: LegendProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20934
20936
|
|
|
20937
|
+
type SuccessMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
20938
|
+
/** sets the error message value */
|
|
20939
|
+
message?: string;
|
|
20940
|
+
/** sets the test id for test automation (optional) */
|
|
20941
|
+
testId?: string;
|
|
20942
|
+
};
|
|
20943
|
+
/**
|
|
20944
|
+
* Component that provides success messaging to input fields
|
|
20945
|
+
* @example <SuccessMessage>something went wrong, please try again</SuccessMessage>
|
|
20946
|
+
*/
|
|
20947
|
+
declare const SuccessMessage: ({ message, testId, ...props }: SuccessMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
20948
|
+
|
|
20935
20949
|
type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
20936
20950
|
/** (optional) sets the label value */
|
|
20937
20951
|
label?: string;
|
|
@@ -21004,25 +21018,30 @@ type CommonContainerProps = {
|
|
|
21004
21018
|
/** sets the margin of the element */
|
|
21005
21019
|
margin?: string;
|
|
21006
21020
|
};
|
|
21007
|
-
|
|
21008
|
-
type
|
|
21009
|
-
tag?: HtmlTagProps;
|
|
21010
|
-
children: React$1.ReactNode;
|
|
21011
|
-
};
|
|
21012
|
-
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21013
|
-
|
|
21014
|
-
type HorizontalRhythmProps = React$1.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
21021
|
+
type AlignmentProps = 'baseline' | 'center' | 'end' | 'flex-end' | 'flex-start' | 'inherit' | 'initial' | 'normal' | 'revert' | 'self-end' | 'self-start' | 'start' | 'stretch' | 'unset';
|
|
21022
|
+
type RhythmProps = React.HTMLAttributes<HTMLDivElement | HTMLFieldSetElement> & {
|
|
21015
21023
|
/** sets the wrapping html tag
|
|
21016
21024
|
* @default 'div'
|
|
21017
21025
|
*/
|
|
21018
21026
|
tag?: HtmlTagProps | 'fieldset';
|
|
21019
|
-
/** sets the
|
|
21027
|
+
/** sets the spacing between each element
|
|
21020
21028
|
* @default 'div'
|
|
21021
21029
|
*/
|
|
21022
21030
|
gap?: SpacingProp;
|
|
21031
|
+
/** sets the alignment of elements
|
|
21032
|
+
* @default normal browser behaviour
|
|
21033
|
+
*/
|
|
21034
|
+
align?: AlignmentProps;
|
|
21035
|
+
children: React.ReactNode;
|
|
21036
|
+
};
|
|
21037
|
+
|
|
21038
|
+
type ContainerProps = CommonContainerProps & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21039
|
+
tag?: HtmlTagProps;
|
|
21023
21040
|
children: React$1.ReactNode;
|
|
21024
21041
|
};
|
|
21025
|
-
declare const
|
|
21042
|
+
declare const Container: ({ tag, backgroundColor, border, rounded, padding, margin, children, ...props }: ContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21043
|
+
|
|
21044
|
+
declare const HorizontalRhythm: ({ align, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21026
21045
|
|
|
21027
21046
|
type TwoColumnLayoutProps = {
|
|
21028
21047
|
/** sets the full bleed background colour
|
|
@@ -21041,18 +21060,7 @@ type TwoColumnLayoutProps = {
|
|
|
21041
21060
|
/** @example <TwoColumnLayout supportingContent={<div>supporting content</div>}><h1>title</h1></TwoColumnLayout> */
|
|
21042
21061
|
declare const TwoColumnLayout: ({ bgColor, invertLayout, supportingContent, children, }: TwoColumnLayoutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21043
21062
|
|
|
21044
|
-
|
|
21045
|
-
/** sets the wrapping html tag
|
|
21046
|
-
* @default 'div'
|
|
21047
|
-
*/
|
|
21048
|
-
tag?: HtmlTagProps | 'fieldset';
|
|
21049
|
-
/** sets the vertical spacing between each element
|
|
21050
|
-
* @default 'div'
|
|
21051
|
-
*/
|
|
21052
|
-
gap?: SpacingProp;
|
|
21053
|
-
children: React$1.ReactNode;
|
|
21054
|
-
};
|
|
21055
|
-
declare const VerticalRhythm: ({ tag, gap, children, ...props }: VerticalRhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21063
|
+
declare const VerticalRhythm: ({ align, tag, gap, children, ...props }: RhythmProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21056
21064
|
|
|
21057
21065
|
type LimitsBarProps = {
|
|
21058
21066
|
/** The current value of used limits */
|
|
@@ -22059,4 +22067,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
22059
22067
|
};
|
|
22060
22068
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22061
22069
|
|
|
22062
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm,
|
|
22070
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, 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, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, 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, TileContainer, TileContainerProps, 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, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, ripple, scrollbarStyles, settings, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawerRenderer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon };
|