@atlaskit/eslint-plugin-design-system 8.2.1 → 8.3.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,17 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 8.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add banned import rule for `@atlaskit/primitives/pressable`
8
+
9
+ ## 8.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update the casing on `xcss` to ensure consistency with the API and package consumption.
14
+
3
15
  ## 8.2.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -49,7 +49,7 @@ module.exports = {
49
49
 
50
50
  | Rule | Description | Recommended | Fixable | Suggestions |
51
51
  | ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------- | ------- | ----------- |
52
- | <a href="./src/rules/consistent-css-prop-usage/README.md">consistent-css-prop-usage</a> | Ensures consistency with CSS and xCSS prop usages | Yes | Yes | |
52
+ | <a href="./src/rules/consistent-css-prop-usage/README.md">consistent-css-prop-usage</a> | Ensures consistency with CSS and xcss prop usages | Yes | Yes | |
53
53
  | <a href="./src/rules/ensure-design-token-usage/README.md">ensure-design-token-usage</a> | Enforces usage of design tokens rather than hard-coded values. | Yes | Yes | Yes |
54
54
  | <a href="./src/rules/ensure-design-token-usage-preview/README.md">ensure-design-token-usage/preview</a> | Enforces usage of pre-release design tokens rather than hard-coded values. | | Yes | Yes |
55
55
  | <a href="./src/rules/icon-label/README.md">icon-label</a> | Enforces accessible usage of icon labels when composed with Atlassian Design System components. | Yes | Yes | |
@@ -13,7 +13,7 @@ This plugin contains rules that should be used when working with the [Atlassian
13
13
 
14
14
  | Rule | Description | Recommended | Fixable | Suggestions |
15
15
  | ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------- | ------- | ----------- |
16
- | <a href="#consistent-css-prop-usage">consistent-css-prop-usage</a> | Ensures consistency with CSS and xCSS prop usages | Yes | Yes | |
16
+ | <a href="#consistent-css-prop-usage">consistent-css-prop-usage</a> | Ensures consistency with CSS and xcss prop usages | Yes | Yes | |
17
17
  | <a href="#ensure-design-token-usage">ensure-design-token-usage</a> | Enforces usage of design tokens rather than hard-coded values. | Yes | Yes | Yes |
18
18
  | <a href="#ensure-design-token-usage-preview">ensure-design-token-usage/preview</a> | Enforces usage of pre-release design tokens rather than hard-coded values. | | Yes | Yes |
19
19
  | <a href="#icon-label">icon-label</a> | Enforces accessible usage of icon labels when composed with Atlassian Design System components. | Yes | Yes | |
@@ -111,7 +111,7 @@ var rule = (0, _createRule.createLintRule)({
111
111
  meta: {
112
112
  name: 'consistent-css-prop-usage',
113
113
  docs: {
114
- description: 'Ensures consistency with CSS and xCSS prop usages',
114
+ description: 'Ensures consistency with CSS and xcss prop usages',
115
115
  url: 'https://developer.atlassian.com/cloud/framework/atlassian-frontend/development/styling',
116
116
  recommended: true,
117
117
  severity: 'error'
@@ -10,5 +10,8 @@ var restrictedPaths = [{
10
10
  }, {
11
11
  path: '@atlaskit/ds-explorations',
12
12
  message: "The @atlaskit/ds-explorations package is used for experiments and should not be consumed directly."
13
+ }, {
14
+ path: '@atlaskit/primitives/pressable',
15
+ message: "The @atlaskit/primitives/pressable export is currently under development and should not be consumed directly."
13
16
  }];
14
17
  exports.restrictedPaths = restrictedPaths;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-design-system",
3
- "version": "8.2.1",
3
+ "version": "8.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -97,7 +97,7 @@ const rule = createLintRule({
97
97
  meta: {
98
98
  name: 'consistent-css-prop-usage',
99
99
  docs: {
100
- description: 'Ensures consistency with CSS and xCSS prop usages',
100
+ description: 'Ensures consistency with CSS and xcss prop usages',
101
101
  url: 'https://developer.atlassian.com/cloud/framework/atlassian-frontend/development/styling',
102
102
  recommended: true,
103
103
  severity: 'error'
@@ -4,4 +4,7 @@ export const restrictedPaths = [{
4
4
  }, {
5
5
  path: '@atlaskit/ds-explorations',
6
6
  message: `The @atlaskit/ds-explorations package is used for experiments and should not be consumed directly.`
7
+ }, {
8
+ path: '@atlaskit/primitives/pressable',
9
+ message: `The @atlaskit/primitives/pressable export is currently under development and should not be consumed directly.`
7
10
  }];
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-design-system",
3
- "version": "8.2.1",
3
+ "version": "8.3.0",
4
4
  "sideEffects": false
5
5
  }
@@ -104,7 +104,7 @@ var rule = createLintRule({
104
104
  meta: {
105
105
  name: 'consistent-css-prop-usage',
106
106
  docs: {
107
- description: 'Ensures consistency with CSS and xCSS prop usages',
107
+ description: 'Ensures consistency with CSS and xcss prop usages',
108
108
  url: 'https://developer.atlassian.com/cloud/framework/atlassian-frontend/development/styling',
109
109
  recommended: true,
110
110
  severity: 'error'
@@ -4,4 +4,7 @@ export var restrictedPaths = [{
4
4
  }, {
5
5
  path: '@atlaskit/ds-explorations',
6
6
  message: "The @atlaskit/ds-explorations package is used for experiments and should not be consumed directly."
7
+ }, {
8
+ path: '@atlaskit/primitives/pressable',
9
+ message: "The @atlaskit/primitives/pressable export is currently under development and should not be consumed directly."
7
10
  }];
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-design-system",
3
- "version": "8.2.1",
3
+ "version": "8.3.0",
4
4
  "sideEffects": false
5
5
  }
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": "8.2.1",
4
+ "version": "8.3.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.tsx"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/tokens": "^1.13.0",
36
+ "@atlaskit/tokens": "^1.14.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@typescript-eslint/utils": "^5.48.1",
39
39
  "ajv": "^6.12.6",