@uniformdev/design-system 17.3.0 → 17.3.1-alpha.117

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/index.d.ts CHANGED
@@ -399,6 +399,28 @@ declare type LabelProps = React$1.LabelHTMLAttributes<HTMLLabelElement> & {
399
399
  };
400
400
  declare const Label: ({ children, className, testId, ...props }: LabelProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
401
401
 
402
+ declare type CheckboxWithInforProps = React.HTMLAttributes<HTMLInputElement> & {
403
+ /** sets the label value */
404
+ label: string;
405
+ /** sets the name value of the radio/checkbox input */
406
+ name: string;
407
+ /** sets info message */
408
+ info?: string;
409
+ /** (optional) sets the checked state of the input */
410
+ checked?: boolean;
411
+ };
412
+ /** @example <CheckboxWithInfo label="checkbox" name="name" info="some message" /> */
413
+ declare const CheckboxWithInfo: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLInputElement> & {
414
+ /** sets the label value */
415
+ label: string;
416
+ /** sets the name value of the radio/checkbox input */
417
+ name: string;
418
+ /** sets info message */
419
+ info?: string | undefined;
420
+ /** (optional) sets the checked state of the input */
421
+ checked?: boolean | undefined;
422
+ } & React$1.RefAttributes<HTMLInputElement>>;
423
+
402
424
  interface MenuProps extends MenuHTMLProps {
403
425
  /** sets aria-label attribute */
404
426
  menuLabel: string;
@@ -453,6 +475,10 @@ interface CalloutProps {
453
475
  * @default "info"
454
476
  */
455
477
  type: CalloutType;
478
+ /** make the display of the callout compact. Suitable for small spaces
479
+ * @default false
480
+ */
481
+ compact?: boolean;
456
482
  /** (optional) sets the title of the callout */
457
483
  title?: React$1.ReactNode;
458
484
  /** add child elements to the callout */
@@ -464,7 +490,7 @@ interface CalloutProps {
464
490
  * Uniform Callout Component
465
491
  * @example <Callout title="my title" type="caution"><p>callout body copy</p></Callout>
466
492
  */
467
- declare const Callout: ({ type, title, children, className }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
493
+ declare const Callout: ({ type, compact, title, children, className }: CalloutProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
468
494
 
469
495
  /**
470
496
  * Loading Indicator
@@ -783,6 +809,10 @@ declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement
783
809
  buttonText?: string;
784
810
  /** sets the function action of the button */
785
811
  onButtonClick: () => void;
812
+ /** (optional) - sets the icon within the button, requires the icon provider to work
813
+ * @default 'regular'
814
+ */
815
+ variant?: 'regular' | 'small';
786
816
  /** (optional) - sets whether the button is disabled or not
787
817
  * @default undefined
788
818
  */
@@ -796,7 +826,7 @@ declare type AddListButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement
796
826
  * Uniform Add List Button Component
797
827
  * @example <AddListButton buttonText="my text" onButtonClick={() => console.log('button clicked')} icon="add" />
798
828
  */
799
- declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, ...buttonProps }: AddListButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
829
+ declare const AddListButton: ({ buttonText, onButtonClick, disabled, icon, variant, ...buttonProps }: AddListButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
800
830
 
801
831
  declare type TextAlignProps = 'left' | 'right' | 'center';
802
832
  declare type BoxHeightProps = 'auto' | 'sm' | 'md' | 'lg';
@@ -1067,4 +1097,4 @@ interface TabContentProps extends Partial<TabPanelProps> {
1067
1097
  }
1068
1098
  declare const TabContent: ({ children, ...props }: TabContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1069
1099
 
1070
- export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, 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, LinkList, LinkListProps, LinkManagerWithRefType, 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, 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, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeOutBottom, growSubtle, input, inputError, inputSelect, labelText, mq, ripple, scrollbarStyles, skeletonLoading, supports, useCurrentTab, useIconContext, useMenuContext };
1100
+ export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CheckboxWithInfo, CheckboxWithInforProps, 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, LinkList, LinkListProps, LinkManagerWithRefType, 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, 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, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeOutBottom, growSubtle, input, inputError, inputSelect, labelText, mq, ripple, scrollbarStyles, skeletonLoading, supports, useCurrentTab, useIconContext, useMenuContext };