@atlaskit/ds-explorations 5.0.2 → 5.0.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 +6 -0
- package/afm-cc/tsconfig.json +26 -21
- package/afm-jira/tsconfig.json +6 -1
- package/afm-townsquare/tsconfig.json +28 -0
- package/build/tsconfig.json +6 -1
- package/examples/99-interactions.tsx +2 -2
- package/package.json +5 -6
- package/src/components/__tests__/unit/interaction-suface.test.tsx +1 -1
- package/tsconfig.app.json +0 -1
- package/tsconfig.dev.json +7 -2
- package/tsconfig.json +8 -3
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"composite": true,
|
|
6
|
+
"outDir": "../../../../../confluence/tsDist/@atlaskit__ds-explorations",
|
|
7
|
+
"rootDir": "../"
|
|
8
|
+
},
|
|
9
|
+
"include": [
|
|
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
|
+
"references": [
|
|
24
|
+
{
|
|
25
|
+
"path": "../../tokens/afm-cc/tsconfig.json"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
23
28
|
}
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -13,7 +13,12 @@
|
|
|
13
13
|
"../src/**/__tests__/*",
|
|
14
14
|
"../src/**/*.test.*",
|
|
15
15
|
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*"
|
|
16
|
+
"../src/**/examples.*",
|
|
17
|
+
"../src/**/examples/*",
|
|
18
|
+
"../src/**/examples/**/*",
|
|
19
|
+
"../src/**/*.stories.*",
|
|
20
|
+
"../src/**/stories/*",
|
|
21
|
+
"../src/**/stories/**/*"
|
|
17
22
|
],
|
|
18
23
|
"references": [
|
|
19
24
|
{
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.townsquare.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"outDir": "../../../../../townsquare/tsDist/@atlaskit__ds-explorations/app",
|
|
6
|
+
"rootDir": "../",
|
|
7
|
+
"composite": true
|
|
8
|
+
},
|
|
9
|
+
"include": [
|
|
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
|
+
"references": [
|
|
24
|
+
{
|
|
25
|
+
"path": "../../tokens/afm-townsquare/tsconfig.json"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
package/build/tsconfig.json
CHANGED
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
"../src/**/__tests__/*",
|
|
12
12
|
"../src/**/*.test.*",
|
|
13
13
|
"../src/**/test.*",
|
|
14
|
-
"../src/**/examples.*"
|
|
14
|
+
"../src/**/examples.*",
|
|
15
|
+
"../src/**/examples/*",
|
|
16
|
+
"../src/**/examples/**/*",
|
|
17
|
+
"../src/**/*.stories.*",
|
|
18
|
+
"../src/**/stories/*",
|
|
19
|
+
"../src/**/stories/**/*"
|
|
15
20
|
]
|
|
16
21
|
}
|
|
@@ -9,14 +9,14 @@ import { jsx } from '@emotion/react';
|
|
|
9
9
|
|
|
10
10
|
import Button from '@atlaskit/button/new';
|
|
11
11
|
import { Code } from '@atlaskit/code';
|
|
12
|
+
import { UNSAFE_InteractionSurface as InteractionSurface } from '@atlaskit/ds-explorations';
|
|
12
13
|
import Heading from '@atlaskit/heading';
|
|
13
14
|
import WarningIcon from '@atlaskit/icon/glyph/warning';
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
16
|
import { Box, Inline, Pressable, Stack, Text, xcss } from '@atlaskit/primitives';
|
|
15
17
|
import Textfield from '@atlaskit/textfield';
|
|
16
18
|
import { token } from '@atlaskit/tokens';
|
|
17
19
|
|
|
18
|
-
import { UNSAFE_InteractionSurface as InteractionSurface } from '../src';
|
|
19
|
-
|
|
20
20
|
const fieldsetStyles = xcss({
|
|
21
21
|
flex: '1 1 100%',
|
|
22
22
|
borderStyle: 'solid',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ds-explorations",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "DEPRECATED. Use @atlaskit/primitives. An experimental package for exploration and validation of spacing / typography foundations.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"atlaskit:src": "src/index.tsx",
|
|
19
19
|
"atlassian": {
|
|
20
|
-
"team": "Design System Team"
|
|
21
|
-
"runReact18": true
|
|
20
|
+
"team": "Design System Team"
|
|
22
21
|
},
|
|
23
22
|
"scripts": {
|
|
24
23
|
"ak-postbuild": "cd ../../../ && yarn build --includeDependencies @atlaskit/tokens && cd packages/design-system/ds-explorations && yarn codegen-styles",
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
"prepare": "yarn ak-postbuild"
|
|
27
26
|
},
|
|
28
27
|
"dependencies": {
|
|
29
|
-
"@atlaskit/tokens": "^
|
|
28
|
+
"@atlaskit/tokens": "^6.0.0",
|
|
30
29
|
"@babel/runtime": "^7.0.0",
|
|
31
30
|
"@emotion/react": "^11.7.1"
|
|
32
31
|
},
|
|
@@ -35,8 +34,8 @@
|
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@af/formatting": "workspace:^",
|
|
38
|
-
"@atlaskit/ds-lib": "^
|
|
39
|
-
"@atlaskit/primitives": "^14.
|
|
37
|
+
"@atlaskit/ds-lib": "^5.0.0",
|
|
38
|
+
"@atlaskit/primitives": "^14.11.0",
|
|
40
39
|
"@atlaskit/textfield": "^8.0.0",
|
|
41
40
|
"@atlaskit/visual-regression": "workspace:^",
|
|
42
41
|
"@atlassian/codegen": "^0.1.0",
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { fireEvent, render, screen } from '@testing-library/react';
|
|
4
4
|
|
|
5
|
-
import { Box, Text } from '@atlaskit/primitives';
|
|
5
|
+
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { token } from '@atlaskit/tokens';
|
|
7
7
|
|
|
8
8
|
import { UNSAFE_InteractionSurface as InteractionSurface } from '../../../index';
|
package/tsconfig.app.json
CHANGED
package/tsconfig.dev.json
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
"**/docs/**/*",
|
|
5
5
|
"**/__tests__/**/*",
|
|
6
6
|
"**/vr-tests/**/*",
|
|
7
|
-
"**/__perf__/**/*",
|
|
8
7
|
"**/*.test.*",
|
|
9
8
|
"**/test.*",
|
|
10
9
|
"**/test-*",
|
|
@@ -24,7 +23,13 @@
|
|
|
24
23
|
"**/mock.*",
|
|
25
24
|
"**/codemods/**/*.ts",
|
|
26
25
|
"**/codemods/**/*.tsx",
|
|
27
|
-
"./scripts/**/*"
|
|
26
|
+
"./scripts/**/*",
|
|
27
|
+
"**/stories.ts",
|
|
28
|
+
"**/stories.tsx",
|
|
29
|
+
"**/stories/*.ts",
|
|
30
|
+
"**/stories/*.tsx",
|
|
31
|
+
"**/stories/**/*.ts",
|
|
32
|
+
"**/stories/**/*.tsx"
|
|
28
33
|
],
|
|
29
34
|
"exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
|
|
30
35
|
"compilerOptions": {
|
package/tsconfig.json
CHANGED
|
@@ -8,8 +8,13 @@
|
|
|
8
8
|
"src/**/*.ts",
|
|
9
9
|
"src/**/*.tsx",
|
|
10
10
|
"scripts/**/*.ts",
|
|
11
|
-
"scripts/**/*.tsx"
|
|
11
|
+
"scripts/**/*.tsx",
|
|
12
|
+
"**/stories.ts",
|
|
13
|
+
"**/stories.tsx",
|
|
14
|
+
"**/stories/*.ts",
|
|
15
|
+
"**/stories/*.tsx",
|
|
16
|
+
"**/stories/**/*.ts",
|
|
17
|
+
"**/stories/**/*.tsx"
|
|
12
18
|
],
|
|
13
|
-
"compilerOptions": {
|
|
14
|
-
}
|
|
19
|
+
"compilerOptions": {}
|
|
15
20
|
}
|