@baseline-ui/core 0.19.7 → 0.20.1

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
@@ -164,6 +164,8 @@ interface ActionButtonProps extends ActionButtonSharedProps {
164
164
  * @default sm
165
165
  */
166
166
  size?: "sm" | "md";
167
+ /** Indicates whether focusing should be prevented on press. */
168
+ preventFocusOnPress?: boolean;
167
169
  }
168
170
 
169
171
  declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -576,6 +578,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefA
576
578
  interface PortalProps extends OverlayProps {
577
579
  /** The `className` property assigned to the root element of the component. */
578
580
  className?: string;
581
+ /** The `style` property assigned to the root element of the component. */
582
+ style?: React.CSSProperties;
579
583
  }
580
584
 
581
585
  declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
@@ -612,6 +616,8 @@ interface ActionIconButtonProps extends ActionButtonSharedProps {
612
616
  * @default "primary"
613
617
  */
614
618
  variant?: "primary" | "secondary" | "tertiary" | "ghost" | "toolbar" | "popover";
619
+ /** Indicates whether focusing should be prevented on press. */
620
+ preventFocusOnPress?: boolean;
615
621
  }
616
622
 
617
623
  declare const ActionIconButton: React.ForwardRefExoticComponent<ActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -627,6 +633,8 @@ interface ToggleButtonProps extends StylingProps, Omit<AriaToggleButtonProps, "c
627
633
  * @default "md"
628
634
  */
629
635
  size?: "md" | "lg";
636
+ /** Indicates whether focusing should be prevented on press. */
637
+ preventFocusOnPress?: boolean;
630
638
  }
631
639
 
632
640
  declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1705,6 +1713,8 @@ interface ToggleIconButtonProps extends StylingProps, Omit<ToggleProps, "childre
1705
1713
  selected: React.FC<IconProps>;
1706
1714
  unselected: React.FC<IconProps>;
1707
1715
  };
1716
+ /** Indicates whether focusing should be prevented on press. */
1717
+ preventFocusOnPress?: boolean;
1708
1718
  }
1709
1719
 
1710
1720
  declare const ToggleIconButton: React.ForwardRefExoticComponent<ToggleIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
package/dist/index.d.ts CHANGED
@@ -164,6 +164,8 @@ interface ActionButtonProps extends ActionButtonSharedProps {
164
164
  * @default sm
165
165
  */
166
166
  size?: "sm" | "md";
167
+ /** Indicates whether focusing should be prevented on press. */
168
+ preventFocusOnPress?: boolean;
167
169
  }
168
170
 
169
171
  declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -576,6 +578,8 @@ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefA
576
578
  interface PortalProps extends OverlayProps {
577
579
  /** The `className` property assigned to the root element of the component. */
578
580
  className?: string;
581
+ /** The `style` property assigned to the root element of the component. */
582
+ style?: React.CSSProperties;
579
583
  }
580
584
 
581
585
  declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
@@ -612,6 +616,8 @@ interface ActionIconButtonProps extends ActionButtonSharedProps {
612
616
  * @default "primary"
613
617
  */
614
618
  variant?: "primary" | "secondary" | "tertiary" | "ghost" | "toolbar" | "popover";
619
+ /** Indicates whether focusing should be prevented on press. */
620
+ preventFocusOnPress?: boolean;
615
621
  }
616
622
 
617
623
  declare const ActionIconButton: React.ForwardRefExoticComponent<ActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -627,6 +633,8 @@ interface ToggleButtonProps extends StylingProps, Omit<AriaToggleButtonProps, "c
627
633
  * @default "md"
628
634
  */
629
635
  size?: "md" | "lg";
636
+ /** Indicates whether focusing should be prevented on press. */
637
+ preventFocusOnPress?: boolean;
630
638
  }
631
639
 
632
640
  declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1705,6 +1713,8 @@ interface ToggleIconButtonProps extends StylingProps, Omit<ToggleProps, "childre
1705
1713
  selected: React.FC<IconProps>;
1706
1714
  unselected: React.FC<IconProps>;
1707
1715
  };
1716
+ /** Indicates whether focusing should be prevented on press. */
1717
+ preventFocusOnPress?: boolean;
1708
1718
  }
1709
1719
 
1710
1720
  declare const ToggleIconButton: React.ForwardRefExoticComponent<ToggleIconButtonProps & React.RefAttributes<HTMLButtonElement>>;