@mackin.com/styleguide 9.8.1 → 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 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", null, p.parent)));
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", null, p.parent)));
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.8.1",
3
+ "version": "9.9.0",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "module": "./index.esm.js",