@box/blueprint-web 7.26.0 → 7.27.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.
@@ -49,13 +49,14 @@ const Content = /*#__PURE__*/React__default.forwardRef(function Content(props, r
49
49
  children,
50
50
  className,
51
51
  elevation = 'dropshadow-3',
52
+ sideOffset = 4,
52
53
  ...rest
53
54
  } = props;
54
55
  return jsx(RadixTooltip.Content, {
55
56
  ...rest,
56
57
  ref: ref,
57
58
  className: clsx(styles.content, styles.card, className),
58
- sideOffset: 4,
59
+ sideOffset: sideOffset,
59
60
  children: jsx(Card, {
60
61
  elevation: elevation,
61
62
  children: children
@@ -6,6 +6,8 @@ export interface CardTooltipContentProps extends RadixTooltip.TooltipContentProp
6
6
  * @default dropshadow-3
7
7
  */
8
8
  elevation?: CardProps['elevation'];
9
+ /** The distance in pixels from the trigger. */
10
+ sideOffset?: RadixTooltip.TooltipContentProps['sideOffset'];
9
11
  }
10
12
  export interface PropsOnlyChildren {
11
13
  children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "7.26.0",
3
+ "version": "7.27.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -63,7 +63,7 @@
63
63
  "react-stately": "^3.31.1",
64
64
  "tsx": "^4.16.5"
65
65
  },
66
- "gitHead": "e065ce29641de99f4dd47486a9f6928da2cfaa74",
66
+ "gitHead": "218b8d48d92f23e2ce4fc2be6c37ebe96cab6f52",
67
67
  "module": "lib-esm/index.js",
68
68
  "main": "lib-esm/index.js",
69
69
  "exports": {