@nimbus-ds/components 5.5.6-rc.1 → 5.5.6-rc.3
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 +7 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1587,6 +1587,12 @@ declare const link: {
|
|
|
1587
1587
|
appearance: Record<"primary" | "danger" | "neutral" | "neutral-background", string>;
|
|
1588
1588
|
};
|
|
1589
1589
|
};
|
|
1590
|
+
export interface TooltipSprinkle {
|
|
1591
|
+
/**
|
|
1592
|
+
* The maxWidth property specifies the maximum width of a popover's content area.
|
|
1593
|
+
*/
|
|
1594
|
+
maxWidth?: string | Conditions<string>;
|
|
1595
|
+
}
|
|
1590
1596
|
declare const thumbnail: {
|
|
1591
1597
|
sprinkle: ((props: {
|
|
1592
1598
|
aspectRatio?: AspectRatio | undefined;
|
|
@@ -2904,7 +2910,7 @@ export interface ToggleProperties {
|
|
|
2904
2910
|
}
|
|
2905
2911
|
export type ToggleProps = ToggleProperties & InputHTMLAttributes<HTMLInputElement>;
|
|
2906
2912
|
export declare const Toggle: React.FC<ToggleProps> & ToggleComponents;
|
|
2907
|
-
export interface TooltipProperties {
|
|
2913
|
+
export interface TooltipProperties extends TooltipSprinkle {
|
|
2908
2914
|
/**
|
|
2909
2915
|
* An HTML element, or a function that returns one. It's used to set the position of the tooltip.
|
|
2910
2916
|
* @TJS-type React.ReactNode
|