@atlaskit/code 14.6.2 → 14.6.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,17 @@
1
1
  # @atlaskit/code
2
2
 
3
+ ## 14.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
8
+
9
+ ## 14.6.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
14
+
3
15
  ## 14.6.2
4
16
 
5
17
  ### Patch Changes
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.VAR_CODE_LINE_NUMBER_BG_COLOR = exports.VAR_CODE_BG_COLOR = exports.SPACING = exports.LINE_NUMBER_GUTTER = exports.HIGHLIGHT_BORDER_WIDTH = exports.CODE_LINE_HEIGHT = exports.CODE_FONT_SIZE = exports.CODE_BLOCK_SELECTOR = void 0;
7
7
  var _constants = require("@atlaskit/theme/constants");
8
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
9
+
8
10
  var CODE_FONT_SIZE = 12;
9
11
  exports.CODE_FONT_SIZE = CODE_FONT_SIZE;
10
12
  var CODE_LINE_HEIGHT = '20px';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.6.2",
3
+ "version": "14.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
1
2
  import { gridSize } from '@atlaskit/theme/constants';
2
3
  export const CODE_FONT_SIZE = 12;
3
4
  export const CODE_LINE_HEIGHT = '20px';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.6.2",
3
+ "version": "14.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
1
2
  import { gridSize } from '@atlaskit/theme/constants';
2
3
  export var CODE_FONT_SIZE = 12;
3
4
  export var CODE_LINE_HEIGHT = '20px';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.6.2",
3
+ "version": "14.6.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "14.6.2",
3
+ "version": "14.6.4",
4
4
  "description": "Code highlights short strings of code snippets inline with body text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@atlaskit/codemod-utils": "^4.2.0",
38
38
  "@atlaskit/theme": "^12.5.0",
39
- "@atlaskit/tokens": "^1.4.0",
39
+ "@atlaskit/tokens": "^1.5.0",
40
40
  "@atlaskit/tooltip": "^17.8.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "@atlaskit/button": "^16.7.0",
51
51
  "@atlaskit/docs": "^9.1.0",
52
- "@atlaskit/ds-explorations": "^2.1.0",
52
+ "@atlaskit/ds-explorations": "^2.2.0",
53
53
  "@atlaskit/ds-lib": "^2.2.0",
54
54
  "@atlaskit/form": "^8.11.0",
55
55
  "@atlaskit/primitives": "^0.9.0",