@conduction/components 2.1.11 → 2.1.12
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/README.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
- **Version 2.1 (breaking changes from 2.0.x)**
|
|
6
6
|
|
|
7
|
+
- 2.1.12: Added ToolTip max-width and break-word
|
|
7
8
|
- 2.1.11: Added CreateKeyValue component disabled state on delete buttons
|
|
8
9
|
- 2.1.10: PrimaryTopNav overflow scroll removed from desktop
|
|
9
10
|
- 2.1.8 & 2.1.9: PrimaryTopNav will always show subItems on mobile
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import ReactTooltip from "react-tooltip";
|
|
3
3
|
import * as styles from "./ToolTip.module.css";
|
|
4
4
|
export const ToolTip = ({ children, layoutClassName, tooltip }) => {
|
|
5
|
-
return (_jsxs("div", { className: styles.wrapper, children: [_jsx("div", { "data-tip": tooltip, className: layoutClassName && layoutClassName, children: children }), _jsx(ReactTooltip, { place: "top", type: "dark", effect: "solid" })] }));
|
|
5
|
+
return (_jsxs("div", { className: styles.wrapper, children: [_jsx("div", { "data-tip": tooltip, className: layoutClassName && layoutClassName, children: children }), _jsx(ReactTooltip, { place: "top", type: "dark", effect: "solid", className: styles.tooltip })] }));
|
|
6
6
|
};
|
|
7
7
|
export { ReactTooltip };
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export const ToolTip: React.FC<ToolTipProps> = ({ children, layoutClassName, too
|
|
|
16
16
|
{children}
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
<ReactTooltip place={"top"} type={"dark"} effect={"solid"} />
|
|
19
|
+
<ReactTooltip place={"top"} type={"dark"} effect={"solid"} className={styles.tooltip} />
|
|
20
20
|
</div>
|
|
21
21
|
);
|
|
22
22
|
};
|