@randstad-uca/design-system 1.0.84 → 1.0.85
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/package.json
CHANGED
|
@@ -56,6 +56,10 @@ declare const _default: {
|
|
|
56
56
|
control: string;
|
|
57
57
|
description: string;
|
|
58
58
|
};
|
|
59
|
+
helpClickable: {
|
|
60
|
+
control: string;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
59
63
|
};
|
|
60
64
|
};
|
|
61
65
|
export default _default;
|
|
@@ -70,3 +74,4 @@ export declare const HorizontalLayout: StoryFn;
|
|
|
70
74
|
export declare const WithHelpTooltip: StoryFn;
|
|
71
75
|
export declare const WithHelpLink: StoryFn;
|
|
72
76
|
export declare const WithHelpLinkAndTooltip: StoryFn;
|
|
77
|
+
export declare const WithHelpClickableTooltip: StoryFn;
|
package/dist/styles/tooltip.ts
CHANGED
|
@@ -53,4 +53,18 @@ export const tooltipStyles: CSSResult = css`
|
|
|
53
53
|
visibility: visible;
|
|
54
54
|
opacity: 1;
|
|
55
55
|
}
|
|
56
|
+
|
|
57
|
+
.tooltip-wrapper.clickable {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.tooltip-wrapper.clickable:hover .tooltip {
|
|
62
|
+
visibility: hidden;
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.tooltip-wrapper.clickable .tooltip.active {
|
|
67
|
+
visibility: visible;
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
56
70
|
`;
|