@uniformdev/design-system 19.58.2-alpha.0 → 19.59.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/index.d.mts CHANGED
@@ -21076,7 +21076,7 @@ type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost' | 'sec
21076
21076
  type ButtonSizeProps = 'sm' | 'base' | 'lg';
21077
21077
  interface ActionButtonsProps {
21078
21078
  /** Takes a function for the visible button */
21079
- onButtonClick: () => void;
21079
+ onButtonClick?: () => void;
21080
21080
  /** (optional) reakit placements options for the expandable menu */
21081
21081
  placement?: MenuProps$1['placement'];
21082
21082
  /** sets the theme of the button
@@ -23038,8 +23038,10 @@ type TooltipProps = TooltipOptions & {
23038
23038
  /** Optional ability to control visibility of Tooltip manually, useful for showing tooltip on click instead of on hover */
23039
23039
  visible?: TooltipInitialState['visible'];
23040
23040
  children: JSX.Element;
23041
+ /** If the tooltip should not be rendered inside a portal */
23042
+ withoutPortal?: boolean;
23041
23043
  };
23042
- declare function Tooltip({ children, title, placement, visible, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23044
+ declare function Tooltip({ children, title, placement, visible, withoutPortal, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23043
23045
 
23044
23046
  /** Available heading weights e.g. 1 - 6 */
23045
23047
  type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;
package/dist/index.d.ts CHANGED
@@ -21076,7 +21076,7 @@ type ButtonThemeProps = 'primary' | 'secondary' | 'unimportant' | 'ghost' | 'sec
21076
21076
  type ButtonSizeProps = 'sm' | 'base' | 'lg';
21077
21077
  interface ActionButtonsProps {
21078
21078
  /** Takes a function for the visible button */
21079
- onButtonClick: () => void;
21079
+ onButtonClick?: () => void;
21080
21080
  /** (optional) reakit placements options for the expandable menu */
21081
21081
  placement?: MenuProps$1['placement'];
21082
21082
  /** sets the theme of the button
@@ -23038,8 +23038,10 @@ type TooltipProps = TooltipOptions & {
23038
23038
  /** Optional ability to control visibility of Tooltip manually, useful for showing tooltip on click instead of on hover */
23039
23039
  visible?: TooltipInitialState['visible'];
23040
23040
  children: JSX.Element;
23041
+ /** If the tooltip should not be rendered inside a portal */
23042
+ withoutPortal?: boolean;
23041
23043
  };
23042
- declare function Tooltip({ children, title, placement, visible, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23044
+ declare function Tooltip({ children, title, placement, visible, withoutPortal, ...props }: TooltipProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23043
23045
 
23044
23046
  /** Available heading weights e.g. 1 - 6 */
23045
23047
  type LevelProps = 1 | 2 | 3 | 4 | 5 | 6;