@harpercollins/harpercollins-design-system 1.8.80 → 1.8.81
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/cjs/index.cjs +113 -191
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/Tooltip/Tooltip.d.ts +4 -5
- package/dist/cjs/types/src/components/data-display/Tooltip/Tooltip.stories.d.ts +2 -3
- package/dist/esm/index.js +121 -199
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/Tooltip/Tooltip.d.ts +4 -5
- package/dist/esm/types/src/components/data-display/Tooltip/Tooltip.stories.d.ts +2 -3
- package/dist/index.d.ts +4 -5
- package/package.json +1 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { TooltipProps as JoyTooltipProps } from "@mui/joy";
|
|
2
|
+
export interface TooltipProps extends JoyTooltipProps {
|
|
3
|
+
maxWidth?: string;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
declare function Tooltip({ children, content, placement, }: React.PropsWithChildren<TooltipProps>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function Tooltip({ children, maxWidth, ...props }: React.PropsWithChildren<TooltipProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default Tooltip;
|
|
@@ -7,6 +7,5 @@ export declare const Top: Story;
|
|
|
7
7
|
export declare const Bottom: Story;
|
|
8
8
|
export declare const Left: Story;
|
|
9
9
|
export declare const Right: Story;
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const RightTooltipWithLongContent: Story;
|
|
10
|
+
export declare const WithLongTitleContent: Story;
|
|
11
|
+
export declare const WithHTMLContent: Story;
|