@box/blueprint-web 12.8.0 → 12.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.
@@ -2334,6 +2334,9 @@
2334
2334
  .bp_content_card_module_pillGhost--bdcd1{
2335
2335
  margin-inline-end:var(--size-2);
2336
2336
  }
2337
+ .bp_useFullTextTooltip_module_tooltipContent--0a9fb > *{
2338
+ color:var(--text-text-on-dark) !important;
2339
+ }
2337
2340
  .bp_content_field_module_contentFieldWrapper--dabac{
2338
2341
  width:100%;
2339
2342
  }
@@ -1,6 +1,8 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
2
3
  import { Fragment } from 'react';
3
4
  import { Tooltip } from '../tooltip/tooltip.js';
5
+ import styles from './useFullTextTooltip.module.js';
4
6
  import { useIsEllipsized } from './useIsEllipsized.js';
5
7
 
6
8
  const useFullTextTooltip = ({
@@ -13,7 +15,9 @@ const useFullTextTooltip = ({
13
15
  const shouldWrapInTooltip = isEllipsized && !skipOverflowCheck;
14
16
  const Wrapper = shouldWrapInTooltip ? props => jsx(Tooltip, {
15
17
  ...props,
16
- content: textValue ?? children
18
+ className: clsx(styles.tooltipContent, props.className),
19
+ content: props.content ?? textValue ?? children,
20
+ variant: "standard"
17
21
  }) : Fragment;
18
22
  return {
19
23
  Wrapper,
@@ -0,0 +1,4 @@
1
+ import '../index.css';
2
+ var styles = {"tooltipContent":"bp_useFullTextTooltip_module_tooltipContent--0a9fb"};
3
+
4
+ export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.8.0",
3
+ "version": "12.9.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {