@uniformdev/design-system 16.2.1-nuxt.325 → 17.0.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 +279 -226
- package/dist/index.d.ts +43 -6
- package/dist/index.js +299 -246
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,30 @@ declare const inputSelect: _emotion_react.SerializedStyles;
|
|
|
54
54
|
/** Custom scrollbar styles */
|
|
55
55
|
declare const scrollbarStyles: _emotion_react.SerializedStyles;
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* growSubtle animation
|
|
59
|
+
* @description - increases the size of an element from scale(1) - scale(1.15) and back down to scale(1) using transform: scale(1)
|
|
60
|
+
*/
|
|
61
|
+
declare const growSubtle: _emotion_react.Keyframes;
|
|
62
|
+
/**
|
|
63
|
+
* fadeInBottom animation
|
|
64
|
+
* @description - fades in an element from the Y axis by 10px
|
|
65
|
+
*/
|
|
66
|
+
declare const fadeInBottom: _emotion_react.Keyframes;
|
|
67
|
+
/**
|
|
68
|
+
* fadeOutBottom animation
|
|
69
|
+
* @description - fades out an element from the Y axis by 10px
|
|
70
|
+
*/
|
|
71
|
+
declare const fadeOutBottom: _emotion_react.Keyframes;
|
|
72
|
+
/**
|
|
73
|
+
* fadeIn animation
|
|
74
|
+
* @description - fade in an element from 0 to 1 opacity
|
|
75
|
+
*/
|
|
76
|
+
declare const fadeIn: _emotion_react.Keyframes;
|
|
77
|
+
declare const ripple: _emotion_react.Keyframes;
|
|
78
|
+
declare const skeletonLoading: _emotion_react.Keyframes;
|
|
79
|
+
declare const fadeInLtr: _emotion_react.Keyframes;
|
|
80
|
+
|
|
57
81
|
declare type UniformLogoProps = {
|
|
58
82
|
/** sets a light or dark theme for the uniform badge or logo component
|
|
59
83
|
* @default "light"
|
|
@@ -333,12 +357,14 @@ declare type InputToggleProps = React$1.HTMLAttributes<HTMLInputElement> & {
|
|
|
333
357
|
* @default 'bold'
|
|
334
358
|
*/
|
|
335
359
|
fontWeight?: 'normal' | 'medium' | 'bold';
|
|
360
|
+
/** (optional) sets test id for test automation*/
|
|
361
|
+
testId?: string;
|
|
336
362
|
};
|
|
337
363
|
/**
|
|
338
364
|
* Component that creates a checkbox or radio input field
|
|
339
365
|
* @example <InputToggle label="Do you like ice cream?" type="checkbox" name="ice-cream" />
|
|
340
366
|
*/
|
|
341
|
-
declare const InputToggle: ({ label, type, disabled, checked, name, caption, errorMessage, fontWeight, ...props }: InputToggleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
367
|
+
declare const InputToggle: ({ label, type, disabled, checked, name, caption, errorMessage, testId, fontWeight, ...props }: InputToggleProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
342
368
|
|
|
343
369
|
declare type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
344
370
|
/** (optional) sets the label value */
|
|
@@ -805,7 +831,7 @@ declare type IntegrationTileProps = IntegrationTileFields & React$1.ButtonHTMLAt
|
|
|
805
831
|
};
|
|
806
832
|
declare const IntegrationTile: ({ id, icon, name, requiedEntitlement, onAddIntegration, isPublic, isInstalled, authorIcon, ...btnProps }: IntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
807
833
|
|
|
808
|
-
declare type CreateTeamIntegrationTileProps = {
|
|
834
|
+
declare type CreateTeamIntegrationTileProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
809
835
|
/** (optional) sets the title value
|
|
810
836
|
* @default 'Create a custom integration'
|
|
811
837
|
*/
|
|
@@ -821,7 +847,7 @@ declare type CreateTeamIntegrationTileProps = {
|
|
|
821
847
|
*/
|
|
822
848
|
asDeepLink?: boolean;
|
|
823
849
|
};
|
|
824
|
-
declare const CreateTeamIntegrationTile: ({ title, buttonText, onClick, asDeepLink, }: CreateTeamIntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
850
|
+
declare const CreateTeamIntegrationTile: ({ title, buttonText, onClick, asDeepLink, ...props }: CreateTeamIntegrationTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
825
851
|
|
|
826
852
|
declare type EditTeamIntegrationTileProps = IntegrationTileFields & {
|
|
827
853
|
/** sets the id value */
|
|
@@ -848,7 +874,7 @@ declare type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
|
|
|
848
874
|
*/
|
|
849
875
|
declare const TileContainer: ({ children, ...props }: TileContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
850
876
|
|
|
851
|
-
declare type IntegrationComingSoonProps = IntegrationTileFields & {
|
|
877
|
+
declare type IntegrationComingSoonProps = IntegrationTileFields & React.HTMLAttributes<HTMLDivElement> & {
|
|
852
878
|
/** sets the id and data-testid value */
|
|
853
879
|
id: string;
|
|
854
880
|
/** click event used for tracking analytics data */
|
|
@@ -862,7 +888,7 @@ declare type IntegrationComingSoonProps = IntegrationTileFields & {
|
|
|
862
888
|
* Uniform Integration Coming Soon Component
|
|
863
889
|
* @example <IntegrationComingSoon id="piedpiper" name="Pied Piper" icon="./piedpiper.svg" onUpVoteClick={() => someFunc()} />
|
|
864
890
|
*/
|
|
865
|
-
declare const IntegrationComingSoon: ({ name, icon, id, onUpVoteClick, timing, }: IntegrationComingSoonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
891
|
+
declare const IntegrationComingSoon: ({ name, icon, id, onUpVoteClick, timing, ...props }: IntegrationComingSoonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
866
892
|
|
|
867
893
|
declare type ClassNameOptions = 'logo' | 'author';
|
|
868
894
|
declare type ResolveIconProps = IntegrationTileFields & React__default.SVGAttributes<SVGElement> & React__default.ImgHTMLAttributes<HTMLImageElement> & {
|
|
@@ -890,6 +916,17 @@ declare type IntegrationModalIconProps = React$1.ImgHTMLAttributes<HTMLImageElem
|
|
|
890
916
|
*/
|
|
891
917
|
declare const IntegrationModalIcon: ({ icon, name, ...imgProps }: IntegrationModalIconProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
892
918
|
|
|
919
|
+
declare type IntegrationLoadingTileProps = {
|
|
920
|
+
/** (optional) sets the number of skeletal loading elements to show
|
|
921
|
+
* @default 1
|
|
922
|
+
*/
|
|
923
|
+
count?: number;
|
|
924
|
+
};
|
|
925
|
+
/** Uniform Integration Loading Tile
|
|
926
|
+
* @example <IntegrationLoadingTile count={10} />
|
|
927
|
+
*/
|
|
928
|
+
declare const IntegrationLoadingTile: ({ count }: IntegrationLoadingTileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
929
|
+
|
|
893
930
|
declare type BadgeProps = {
|
|
894
931
|
/** sets the text of the badge */
|
|
895
932
|
text: string;
|
|
@@ -919,4 +956,4 @@ declare const HexModalBackground: ({ ...props }: HexModalBackgroundProps) => _em
|
|
|
919
956
|
*/
|
|
920
957
|
declare const IntegrationModalHeader: ({ icon, name, menu, children }: IntegrationModalHeaderProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
921
958
|
|
|
922
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ResolveIcon, ResolveIconProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, input, inputError, inputSelect, labelText, mq, scrollbarStyles, supports, useIconContext, useMenuContext };
|
|
959
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, 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, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ResolveIcon, ResolveIconProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeOutBottom, growSubtle, input, inputError, inputSelect, labelText, mq, ripple, scrollbarStyles, skeletonLoading, supports, useIconContext, useMenuContext };
|