@nypl/design-system-react-components 3.2.0-tooltip-rc → 3.2.0-tooltip-rc-2

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.
@@ -15,6 +15,8 @@ export interface TooltipProps {
15
15
  shouldWrapChildren?: boolean;
16
16
  /** The placement of the tooltip relative to its children. */
17
17
  placement?: "top" | "left" | "bottom" | "right";
18
+ /** The marginTop of the tooltip. */
19
+ elevation?: number;
18
20
  }
19
21
  export declare const Tooltip: ChakraComponent<React.ForwardRefExoticComponent<React.PropsWithChildren<TooltipProps> & React.RefAttributes<HTMLDivElement>>, React.PropsWithChildren<TooltipProps>>;
20
22
  export default Tooltip;
@@ -1,18 +1,15 @@
1
1
  declare const Tooltip: {
2
2
  baseStyle?: {
3
- [x: string]: string | number | {
3
+ [x: string]: string | {
4
4
  [x: string]: string;
5
5
  color: string;
6
6
  };
7
7
  borderRadius: string;
8
- zIndex: number;
9
- pointerEvents: string;
10
8
  boxShadow: string;
11
9
  color: string;
12
10
  fontSize: string;
13
11
  marginBottom: string;
14
12
  maxWidth: string;
15
- marginTop: string;
16
13
  px: string;
17
14
  py: string;
18
15
  _dark: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.2.0-tooltip-rc",
3
+ "version": "3.2.0-tooltip-rc-2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- interface LinkOverlayProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
3
- external?: boolean;
4
- }
5
- export declare const LinkOverlay: React.ForwardRefExoticComponent<LinkOverlayProps & React.RefAttributes<HTMLAnchorElement>>;
6
- interface LinkBoxProps extends React.HTMLAttributes<HTMLDivElement> {
7
- }
8
- export declare const LinkBox: React.ForwardRefExoticComponent<LinkBoxProps & React.RefAttributes<HTMLDivElement>>;
9
- export {};