@atlaskit/inline-dialog 13.2.1 → 13.2.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/inline-dialog
2
2
 
3
+ ## 13.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
8
+ - Updated dependencies
9
+
3
10
  ## 13.2.1
4
11
 
5
12
  ### Patch Changes
@@ -31,7 +31,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
31
31
 
32
32
  /** @jsx jsx */
33
33
  var packageName = "@atlaskit/inline-dialog";
34
- var packageVersion = "13.2.1";
34
+ var packageVersion = "13.2.2";
35
35
 
36
36
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
37
37
  if (!node) {
@@ -153,8 +153,7 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
153
153
  }
154
154
  }, children);
155
155
  }), popper);
156
- }); // enzyme relies on components having a display name
157
-
156
+ });
158
157
  exports.InlineDialogWithoutAnalytics = InlineDialog;
159
158
  InlineDialog.displayName = 'InlineDialog';
160
159
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
@@ -30,16 +30,16 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
30
30
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
31
31
 
32
32
  var themedBackground = (0, _components.themed)({
33
- light: "var(--ds-background-overlay, ".concat(_colors.N0, ")"),
34
- dark: "var(--ds-background-overlay, ".concat(_colors.DN50, ")")
33
+ light: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
34
+ dark: "var(--ds-surface-overlay, ".concat(_colors.DN50, ")")
35
35
  });
36
36
  var themedColor = (0, _components.themed)({
37
- light: "var(--ds-text-highEmphasis, ".concat(_colors.N900, ")"),
38
- dark: "var(--ds-text-highEmphasis, ".concat(_colors.DN600, ")")
37
+ light: "var(--ds-text, ".concat(_colors.N900, ")"),
38
+ dark: "var(--ds-text, ".concat(_colors.DN600, ")")
39
39
  });
40
40
  var themedBoxShadow = (0, _components.themed)({
41
- light: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
42
- dark: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(_colors.DN50A, ", 0 0 1px ").concat(_colors.DN60A), ")")
41
+ light: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"),
42
+ dark: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.DN50A, ", 0 0 1px ").concat(_colors.DN60A), ")")
43
43
  });
44
44
  var borderRadius = (0, _constants.borderRadius)();
45
45
  var gridSize = (0, _constants.gridSize)();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
8
8
  import { Manager, Popper, Reference } from '@atlaskit/popper';
9
9
  import { Container } from './styled/container';
10
10
  const packageName = "@atlaskit/inline-dialog";
11
- const packageVersion = "13.2.1";
11
+ const packageVersion = "13.2.2";
12
12
 
13
13
  const checkIsChildOfPortal = node => {
14
14
  if (!node) {
@@ -123,8 +123,7 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
123
123
  }
124
124
  }
125
125
  }, children)), popper);
126
- }); // enzyme relies on components having a display name
127
-
126
+ });
128
127
  InlineDialog.displayName = 'InlineDialog';
129
128
  export { InlineDialog as InlineDialogWithoutAnalytics };
130
129
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
@@ -9,16 +9,16 @@ import { DN50, DN50A, DN600, DN60A, N0, N50A, N60A, N900 } from '@atlaskit/theme
9
9
  import { themed, useGlobalTheme } from '@atlaskit/theme/components';
10
10
  import { borderRadius as getBorderRadius, gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
11
11
  const themedBackground = themed({
12
- light: `var(--ds-background-overlay, ${N0})`,
13
- dark: `var(--ds-background-overlay, ${DN50})`
12
+ light: `var(--ds-surface-overlay, ${N0})`,
13
+ dark: `var(--ds-surface-overlay, ${DN50})`
14
14
  });
15
15
  const themedColor = themed({
16
- light: `var(--ds-text-highEmphasis, ${N900})`,
17
- dark: `var(--ds-text-highEmphasis, ${DN600})`
16
+ light: `var(--ds-text, ${N900})`,
17
+ dark: `var(--ds-text, ${DN600})`
18
18
  });
19
19
  const themedBoxShadow = themed({
20
- light: `var(--ds-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
21
- dark: `var(--ds-overlay, ${`0 4px 8px -2px ${DN50A}, 0 0 1px ${DN60A}`})`
20
+ light: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${N50A}, 0 0 1px ${N60A}`})`,
21
+ dark: `var(--ds-shadow-overlay, ${`0 4px 8px -2px ${DN50A}, 0 0 1px ${DN60A}`})`
22
22
  });
23
23
  const borderRadius = getBorderRadius();
24
24
  const gridSize = getGridSize();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
8
8
  import { Manager, Popper, Reference } from '@atlaskit/popper';
9
9
  import { Container } from './styled/container';
10
10
  var packageName = "@atlaskit/inline-dialog";
11
- var packageVersion = "13.2.1";
11
+ var packageVersion = "13.2.2";
12
12
 
13
13
  var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
14
14
  if (!node) {
@@ -130,8 +130,7 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref) {
130
130
  }
131
131
  }, children);
132
132
  }), popper);
133
- }); // enzyme relies on components having a display name
134
-
133
+ });
135
134
  InlineDialog.displayName = 'InlineDialog';
136
135
  export { InlineDialog as InlineDialogWithoutAnalytics };
137
136
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
@@ -15,16 +15,16 @@ import { DN50, DN50A, DN600, DN60A, N0, N50A, N60A, N900 } from '@atlaskit/theme
15
15
  import { themed, useGlobalTheme } from '@atlaskit/theme/components';
16
16
  import { borderRadius as getBorderRadius, gridSize as getGridSize, layers } from '@atlaskit/theme/constants';
17
17
  var themedBackground = themed({
18
- light: "var(--ds-background-overlay, ".concat(N0, ")"),
19
- dark: "var(--ds-background-overlay, ".concat(DN50, ")")
18
+ light: "var(--ds-surface-overlay, ".concat(N0, ")"),
19
+ dark: "var(--ds-surface-overlay, ".concat(DN50, ")")
20
20
  });
21
21
  var themedColor = themed({
22
- light: "var(--ds-text-highEmphasis, ".concat(N900, ")"),
23
- dark: "var(--ds-text-highEmphasis, ".concat(DN600, ")")
22
+ light: "var(--ds-text, ".concat(N900, ")"),
23
+ dark: "var(--ds-text, ".concat(DN600, ")")
24
24
  });
25
25
  var themedBoxShadow = themed({
26
- light: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
27
- dark: "var(--ds-overlay, ".concat("0 4px 8px -2px ".concat(DN50A, ", 0 0 1px ").concat(DN60A), ")")
26
+ light: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
27
+ dark: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(DN50A, ", 0 0 1px ").concat(DN60A), ")")
28
28
  });
29
29
  var borderRadius = getBorderRadius();
30
30
  var gridSize = getGridSize();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-dialog",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/ds-lib": "^1.3.0",
28
28
  "@atlaskit/popper": "^5.0.0",
29
29
  "@atlaskit/theme": "^12.1.0",
30
- "@atlaskit/tokens": "^0.5.0",
30
+ "@atlaskit/tokens": "^0.6.0",
31
31
  "@babel/runtime": "^7.0.0",
32
32
  "@emotion/core": "^10.0.9",
33
33
  "bind-event-listener": "^1.0.2",
@@ -49,7 +49,6 @@
49
49
  "@atlaskit/webdriver-runner": "*",
50
50
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
51
51
  "@testing-library/react": "^8.0.1",
52
- "enzyme": "^3.10.0",
53
52
  "react-dom": "^16.8.0",
54
53
  "react-lorem-component": "^0.13.0",
55
54
  "typescript": "3.9.6",