@mackin.com/styleguide 9.8.0 → 9.9.0
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/index.d.ts +2 -0
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -2
package/index.d.ts
CHANGED
|
@@ -663,6 +663,8 @@ interface PopoverProps {
|
|
|
663
663
|
backgroundColor?: string;
|
|
664
664
|
/** Order of positions as the Popover colides with the window edge. The default order is ['right', 'top', 'left', 'bottom']. */
|
|
665
665
|
positions?: ("bottom" | "left" | "right" | "top")[] | undefined;
|
|
666
|
+
/** Targets the wrapper around `parent`. Use if you're having positioning issues when the tooltip is showing. */
|
|
667
|
+
parentWrapperClassName?: string;
|
|
666
668
|
}
|
|
667
669
|
declare const Popover: (p: PopoverProps) => JSX.Element;
|
|
668
670
|
|
package/index.esm.js
CHANGED
|
@@ -2241,7 +2241,7 @@ const Popover = (p) => {
|
|
|
2241
2241
|
backgroundColor: (_d = p.backgroundColor) !== null && _d !== void 0 ? _d : theme.colors.bg,
|
|
2242
2242
|
}) }, p.content))));
|
|
2243
2243
|
} },
|
|
2244
|
-
React.createElement("span",
|
|
2244
|
+
React.createElement("span", { className: p.parentWrapperClassName }, p.parent)));
|
|
2245
2245
|
};
|
|
2246
2246
|
|
|
2247
2247
|
const InfoTip = (props) => {
|
package/index.js
CHANGED
|
@@ -2268,7 +2268,7 @@ const Popover = (p) => {
|
|
|
2268
2268
|
backgroundColor: (_d = p.backgroundColor) !== null && _d !== void 0 ? _d : theme.colors.bg,
|
|
2269
2269
|
}) }, p.content))));
|
|
2270
2270
|
} },
|
|
2271
|
-
React__namespace.createElement("span",
|
|
2271
|
+
React__namespace.createElement("span", { className: p.parentWrapperClassName }, p.parent)));
|
|
2272
2272
|
};
|
|
2273
2273
|
|
|
2274
2274
|
const InfoTip = (props) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mackin.com/styleguide",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.9.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.esm.js",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"react-slider": "^1.3.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"nanoid": "^3.1.23",
|
|
20
19
|
"date-fns": "^2.13.0",
|
|
21
20
|
"lodash": "^4.17.15",
|
|
22
21
|
"react": "^17.0.2",
|