@box/blueprint-web 9.18.9 → 9.18.11

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.
@@ -2,8 +2,9 @@ import type * as RadixTooltip from '@radix-ui/react-tooltip';
2
2
  import type React from 'react';
3
3
  import { type CardProps } from '../card/types';
4
4
  export interface CardTooltipContentProps extends RadixTooltip.TooltipContentProps {
5
- /** The elevation of the Card inside.
6
- * @default dropshadow-3
5
+ /**
6
+ * The elevation of the Card inside.
7
+ * @default 'dropshadow-3'
7
8
  */
8
9
  elevation?: CardProps['elevation'];
9
10
  }
@@ -11,20 +12,34 @@ export interface PropsOnlyChildren {
11
12
  children?: React.ReactNode;
12
13
  }
13
14
  export interface CardTooltipProps extends Omit<React.ComponentPropsWithRef<typeof RadixTooltip.TooltipContent>, 'content'> {
14
- /** The anchor for the tooltip. */
15
+ /**
16
+ * The anchor for the tooltip.
17
+ */
15
18
  children: React.ReactNode;
16
- /** The content of the tooltip. */
19
+ /**
20
+ * The content of the tooltip.
21
+ */
17
22
  content: React.ReactNode;
18
- /** The elevation of the Card inside.
19
- * @default dropshadow-3
23
+ /**
24
+ * The elevation of the Card inside.
25
+ * @default 'dropshadow-3'
20
26
  */
21
27
  elevation: CardProps['elevation'];
22
- /** Event handler called when the open state of the tooltip changes. */
28
+ /**
29
+ * Event handler called when the open state of the tooltip changes.
30
+ */
23
31
  onOpenChange?: RadixTooltip.TooltipProps['onOpenChange'];
24
- /** The controlled open state of the tooltip. Must be used in conjunction with onOpenChange. */
32
+ /**
33
+ * The controlled open state of the tooltip. Must be used in conjunction with onOpenChange.
34
+ * */
25
35
  open?: RadixTooltip.TooltipProps['open'];
26
- /** The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state. */
36
+ /**
37
+ * The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state.
38
+ * */
27
39
  defaultOpen?: RadixTooltip.TooltipProps['defaultOpen'];
28
- /** Used to force mounting when more control is needed. */
40
+ /**
41
+ * Used to force mounting when more control is needed. Useful when
42
+ * controlling animation with React animation libraries.
43
+ */
29
44
  forceMount?: RadixTooltip.TooltipPortalProps['forceMount'];
30
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "9.18.9",
3
+ "version": "9.18.11",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@ariakit/react": "0.4.15",
26
26
  "@ariakit/react-core": "0.4.15",
27
- "@box/blueprint-web-assets": "^4.35.0",
27
+ "@box/blueprint-web-assets": "^4.36.0",
28
28
  "@internationalized/date": "^3.5.4",
29
29
  "@radix-ui/react-accordion": "1.1.2",
30
30
  "@radix-ui/react-checkbox": "1.0.4",
@@ -62,7 +62,7 @@
62
62
  "react-stately": "^3.31.1",
63
63
  "tsx": "^4.16.5"
64
64
  },
65
- "gitHead": "4215fe3a62e09e3b9564665725e4520daf828f58",
65
+ "gitHead": "d09c912ffd73b3d2b87882dda5023594900c02ff",
66
66
  "module": "lib-esm/index.js",
67
67
  "main": "lib-esm/index.js",
68
68
  "types": "lib-esm/index.d.ts",