@atlaskit/eslint-plugin-design-system 15.4.0 → 15.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 15.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`62b5aa6adc358`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/62b5aa6adc358) -
8
+ Completes deprecation guidance for the legacy WidthDetector default export.
9
+
10
+ Use `WidthObserver` from `@atlaskit/width-detector/width-observer` instead.
11
+
3
12
  ## 15.4.0
4
13
 
5
14
  ### Minor Changes
@@ -100,6 +100,17 @@
100
100
  "@atlaskit/item": {
101
101
  "message": "item is deprecated. Please use '@atlaskit/menu' instead."
102
102
  },
103
+ "@atlaskit/width-detector": {
104
+ "importSpecifiers": [
105
+ {
106
+ "importName": "default",
107
+ "message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
108
+ }
109
+ ]
110
+ },
111
+ "@atlaskit/width-detector/width-detector": {
112
+ "message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
113
+ },
103
114
  "@atlaskit/theme/elevation": {
104
115
  "importSpecifiers": [
105
116
  {
@@ -6,6 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.name = exports.default = void 0;
7
7
  var _eslintCodemodUtils = require("eslint-codemod-utils");
8
8
  var _createLintRule = require("../utils/create-lint-rule");
9
+ /* eslint-disable
10
+ @atlaskit/design-system/no-to-match-snapshot,
11
+ @atlaskit/design-system/no-unsafe-inline-snapshot
12
+ -- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
13
+ See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
14
+ and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
15
+ */
16
+
9
17
  var name = exports.name = 'no-to-match-snapshot';
10
18
  var rule = (0, _createLintRule.createLintRule)({
11
19
  meta: {
@@ -100,6 +100,17 @@
100
100
  "@atlaskit/item": {
101
101
  "message": "item is deprecated. Please use '@atlaskit/menu' instead."
102
102
  },
103
+ "@atlaskit/width-detector": {
104
+ "importSpecifiers": [
105
+ {
106
+ "importName": "default",
107
+ "message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
108
+ }
109
+ ]
110
+ },
111
+ "@atlaskit/width-detector/width-detector": {
112
+ "message": "WidthDetector is deprecated. Please use WidthObserver from '@atlaskit/width-detector/width-observer' instead."
113
+ },
103
114
  "@atlaskit/theme/elevation": {
104
115
  "importSpecifiers": [
105
116
  {
@@ -1,3 +1,11 @@
1
+ /* eslint-disable
2
+ @atlaskit/design-system/no-to-match-snapshot,
3
+ @atlaskit/design-system/no-unsafe-inline-snapshot
4
+ -- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
5
+ See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
6
+ and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
7
+ */
8
+
1
9
  import { isNodeOfType } from 'eslint-codemod-utils';
2
10
  import { createLintRule } from '../utils/create-lint-rule';
3
11
  export const name = 'no-to-match-snapshot';
@@ -1,3 +1,11 @@
1
+ /* eslint-disable
2
+ @atlaskit/design-system/no-to-match-snapshot,
3
+ @atlaskit/design-system/no-unsafe-inline-snapshot
4
+ -- TODO(IND-4952): existing snapshot tests will be removed in a follow-up cleanup PR.
5
+ See https://hello.atlassian.net/wiki/spaces/afm/pages/7146174189/LDR+Unit+Tests+-+Ban+Snapshot+tests+in+Platform
6
+ and raise concerns in https://atlassian.enterprise.slack.com/archives/C0BD4K40BLH
7
+ */
8
+
1
9
  import { isNodeOfType } from 'eslint-codemod-utils';
2
10
  import { createLintRule } from '../utils/create-lint-rule';
3
11
  export var name = 'no-to-match-snapshot';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-design-system",
3
3
  "description": "The essential plugin for use with the Atlassian Design System.",
4
- "version": "15.4.0",
4
+ "version": "15.5.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
7
7
  "publishConfig": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@atlaskit/eslint-utils": "^3.0.0",
34
- "@atlaskit/icon": "^36.1.0",
35
- "@atlaskit/icon-lab": "^7.2.0",
36
- "@atlaskit/tokens": "^15.3.0",
34
+ "@atlaskit/icon": "^36.2.0",
35
+ "@atlaskit/icon-lab": "^7.3.0",
36
+ "@atlaskit/tokens": "^15.4.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@typescript-eslint/utils": "^7.1.0",
39
39
  "ajv": "^6.12.6",