@atlaskit/tooltip 17.5.3 → 17.5.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/tooltip
2
2
 
3
+ ## 17.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
8
+ - Updated dependencies
9
+
3
10
  ## 17.5.3
4
11
 
5
12
  ### Patch Changes
@@ -54,7 +54,7 @@ var tooltipZIndex = _constants.layers.tooltip();
54
54
  var analyticsAttributes = {
55
55
  componentName: 'tooltip',
56
56
  packageName: "@atlaskit/tooltip",
57
- packageVersion: "17.5.3"
57
+ packageVersion: "17.5.4"
58
58
  };
59
59
 
60
60
  function noop() {}
@@ -47,7 +47,7 @@ var TooltipContainer = /*#__PURE__*/(0, _react.forwardRef)(function TooltipConta
47
47
  id: id,
48
48
  onMouseOut: onMouseOut,
49
49
  onMouseOver: onMouseOver,
50
- css: [baseCss, truncate ? truncateCss : null, (0, _core.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n background-color: ", ";\n color: ", ";\n "])), mode === 'light' ? "var(--ds-background-boldNeutral-resting, ".concat(_colors.N800, ")") : "var(--ds-background-boldNeutral-resting, ".concat(_colors.DN0, ")"), mode === 'light' ? "var(--ds-text-onBold, ".concat(_colors.N0, ")") : "var(--ds-text-onBold, ".concat(_colors.DN600, ")"))]
50
+ css: [baseCss, truncate ? truncateCss : null, (0, _core.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n background-color: ", ";\n color: ", ";\n "])), mode === 'light' ? "var(--ds-background-neutral-bold, ".concat(_colors.N800, ")") : "var(--ds-background-neutral-bold, ".concat(_colors.DN0, ")"), mode === 'light' ? "var(--ds-text-inverse, ".concat(_colors.N0, ")") : "var(--ds-text-inverse, ".concat(_colors.DN600, ")"))]
51
51
  }, children)
52
52
  );
53
53
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.5.3",
3
+ "version": "17.5.4",
4
4
  "sideEffects": false
5
5
  }
@@ -18,7 +18,7 @@ const tooltipZIndex = layers.tooltip();
18
18
  const analyticsAttributes = {
19
19
  componentName: 'tooltip',
20
20
  packageName: "@atlaskit/tooltip",
21
- packageVersion: "17.5.3"
21
+ packageVersion: "17.5.4"
22
22
  };
23
23
 
24
24
  function noop() {}
@@ -47,8 +47,8 @@ const TooltipContainer = /*#__PURE__*/forwardRef(function TooltipContainer({
47
47
  onMouseOut: onMouseOut,
48
48
  onMouseOver: onMouseOver,
49
49
  css: [baseCss, truncate ? truncateCss : null, css`
50
- background-color: ${mode === 'light' ? `var(--ds-background-boldNeutral-resting, ${N800})` : `var(--ds-background-boldNeutral-resting, ${DN0})`};
51
- color: ${mode === 'light' ? `var(--ds-text-onBold, ${N0})` : `var(--ds-text-onBold, ${DN600})`};
50
+ background-color: ${mode === 'light' ? `var(--ds-background-neutral-bold, ${N800})` : `var(--ds-background-neutral-bold, ${DN0})`};
51
+ color: ${mode === 'light' ? `var(--ds-text-inverse, ${N0})` : `var(--ds-text-inverse, ${DN600})`};
52
52
  `]
53
53
  }, children));
54
54
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.5.3",
3
+ "version": "17.5.4",
4
4
  "sideEffects": false
5
5
  }
@@ -24,7 +24,7 @@ var tooltipZIndex = layers.tooltip();
24
24
  var analyticsAttributes = {
25
25
  componentName: 'tooltip',
26
26
  packageName: "@atlaskit/tooltip",
27
- packageVersion: "17.5.3"
27
+ packageVersion: "17.5.4"
28
28
  };
29
29
 
30
30
  function noop() {}
@@ -33,7 +33,7 @@ var TooltipContainer = /*#__PURE__*/forwardRef(function TooltipContainer(_ref, r
33
33
  id: id,
34
34
  onMouseOut: onMouseOut,
35
35
  onMouseOver: onMouseOver,
36
- css: [baseCss, truncate ? truncateCss : null, css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n background-color: ", ";\n color: ", ";\n "])), mode === 'light' ? "var(--ds-background-boldNeutral-resting, ".concat(N800, ")") : "var(--ds-background-boldNeutral-resting, ".concat(DN0, ")"), mode === 'light' ? "var(--ds-text-onBold, ".concat(N0, ")") : "var(--ds-text-onBold, ".concat(DN600, ")"))]
36
+ css: [baseCss, truncate ? truncateCss : null, css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n background-color: ", ";\n color: ", ";\n "])), mode === 'light' ? "var(--ds-background-neutral-bold, ".concat(N800, ")") : "var(--ds-background-neutral-bold, ".concat(DN0, ")"), mode === 'light' ? "var(--ds-text-inverse, ".concat(N0, ")") : "var(--ds-text-inverse, ".concat(DN600, ")"))]
37
37
  }, children)
38
38
  );
39
39
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.5.3",
3
+ "version": "17.5.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tooltip",
3
- "version": "17.5.3",
3
+ "version": "17.5.4",
4
4
  "description": "A tooltip is a floating, non-actionable label used to explain a user interface element or feature.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/popper": "^5.0.0",
30
30
  "@atlaskit/portal": "^4.1.0",
31
31
  "@atlaskit/theme": "^12.1.0",
32
- "@atlaskit/tokens": "^0.5.0",
32
+ "@atlaskit/tokens": "^0.6.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/core": "^10.0.9",
35
35
  "bind-event-listener": "^1.0.2",