@atlaskit/editor-shared-styles 3.6.1 → 3.6.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,18 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 3.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`098cfbb01dc36`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/098cfbb01dc36) -
8
+ Add missing npmignore files to remove unnecessary files from published package
9
+
10
+ ## 3.6.2
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 3.6.1
4
17
 
5
18
  ### Patch Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/consts/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/consts/index.d.ts"
14
14
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^10.0.0",
44
+ "@atlaskit/tmp-editor-statsig": "^11.5.0",
45
45
  "@atlaskit/tokens": "^6.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/scrollbar-styles.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/scrollbar-styles.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/selection/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/selection/index.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/shortcut/index.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/shortcut/index.d.ts"
14
14
  ]
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "composite": true,
7
- "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-shared-styles",
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-cc/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../dev-agents/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-dev-agents/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-passionfruit/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-rovo-extension/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-townsquare/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,36 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.volt.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../volt/tsDist/@atlaskit__editor-shared-styles/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
28
- },
29
- {
30
- "path": "../../tmp-editor-statsig/afm-volt/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/tokens/afm-volt/tsconfig.json"
34
- }
35
- ]
36
- }
@@ -1,23 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "paths": {}
7
- },
8
- "include": [
9
- "../src/**/*.ts",
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*",
16
- "../src/**/examples.*",
17
- "../src/**/examples/*",
18
- "../src/**/examples/**/*",
19
- "../src/**/*.stories.*",
20
- "../src/**/stories/*",
21
- "../src/**/stories/**/*"
22
- ]
23
- }
@@ -1,29 +0,0 @@
1
- import { participantColors, relativeFontSizeToBase16 } from './consts';
2
-
3
- describe('consts', () => {
4
- describe('participantColors', () => {
5
- it('should be an array of 18 colors', () => {
6
- expect(participantColors).toHaveLength(18);
7
- });
8
- });
9
-
10
- describe('relativeFontSizeToBase16', () => {
11
- it('relativeFontSizeToBase16 should return 1rem with a base font size of 16px', () => {
12
- expect(relativeFontSizeToBase16(16)).toBe('1rem');
13
- });
14
- it('relativeFontSizeToBase16 should return 0.875rem with a base font size of 14px', () => {
15
- expect(relativeFontSizeToBase16(14)).toBe('0.875rem');
16
- });
17
- it('relativeFontSizeToBase16 should return 0.875rem with a base font size (string) of 14px', () => {
18
- expect(relativeFontSizeToBase16('14')).toBe('0.875rem');
19
- });
20
- // Ignored via go/ees005
21
- // eslint-disable-next-line jest/no-identical-title
22
- it('relativeFontSizeToBase16 should return 0.875rem with a base font size (string) of 14px', () => {
23
- expect(relativeFontSizeToBase16('14px')).toBe('0.875rem');
24
- });
25
- it('relativeFontSizeToBase16 should throw an error for invalid string', () => {
26
- expect(() => relativeFontSizeToBase16('px')).toThrowError();
27
- });
28
- });
29
- });