@atlaskit/editor-shared-styles 3.2.2 → 3.2.3

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,11 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 3.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.2.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@atlaskit/platform-feature-flags": "^0.3.0",
42
- "@atlaskit/tokens": "^2.5.0",
42
+ "@atlaskit/tokens": "^3.0.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
@@ -17,6 +17,8 @@ describe('consts', () => {
17
17
  it('relativeFontSizeToBase16 should return 0.875rem with a base font size (string) of 14px', () => {
18
18
  expect(relativeFontSizeToBase16('14')).toBe('0.875rem');
19
19
  });
20
+ // Ignored via go/ees005
21
+ // eslint-disable-next-line jest/no-identical-title
20
22
  it('relativeFontSizeToBase16 should return 0.875rem with a base font size (string) of 14px', () => {
21
23
  expect(relativeFontSizeToBase16('14px')).toBe('0.875rem');
22
24
  });
@@ -4,17 +4,25 @@ import { getSelectionStyles } from '../../utils';
4
4
  describe('selection plugin: utils', () => {
5
5
  describe('getSelectionStyles', () => {
6
6
  const selectionStyles = [
7
+ // Ignored via go/ees005
8
+ // eslint-disable-next-line require-unicode-regexp
7
9
  { name: 'border', style: SelectionStyle.Border, regex: /border\:/ },
8
10
  {
9
11
  name: 'box-shadow',
10
12
  style: SelectionStyle.BoxShadow,
13
+ // Ignored via go/ees005
14
+ // eslint-disable-next-line require-unicode-regexp
11
15
  regex: /box\-shadow\:/,
12
16
  },
13
17
  {
14
18
  name: 'background',
15
19
  style: SelectionStyle.Background,
20
+ // Ignored via go/ees005
21
+ // eslint-disable-next-line require-unicode-regexp
16
22
  regex: /background\-color\:/,
17
23
  },
24
+ // Ignored via go/ees005
25
+ // eslint-disable-next-line require-unicode-regexp
18
26
  { name: 'blanket', style: SelectionStyle.Blanket, regex: /\:\:before/ },
19
27
  ];
20
28
 
package/tsconfig.app.json CHANGED
@@ -27,7 +27,6 @@
27
27
  "**/codemods/**/*.tsx"
28
28
  ],
29
29
  "compilerOptions": {
30
- "baseUrl": "./",
31
30
  "composite": true,
32
31
  "outDir": "../../../tsDist/@atlaskit__editor-shared-styles/app"
33
32
  },
package/tsconfig.dev.json CHANGED
@@ -27,7 +27,6 @@
27
27
  ],
28
28
  "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
29
29
  "compilerOptions": {
30
- "baseUrl": "./",
31
30
  "composite": true,
32
31
  "outDir": "../../../tsDist/@atlaskit__editor-shared-styles/dev"
33
32
  },
package/tsconfig.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "baseUrl": "./"
5
4
  },
6
5
  "include": [
7
6
  "./src/**/*.ts",