@atlaskit/ds-explorations 4.3.1 → 4.3.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,19 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 4.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#165531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165531)
14
+ [`57f451bda8919`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57f451bda8919) -
15
+ Adds side-effect config to support Compiled css extraction in third-party apps
16
+
3
17
  ## 4.3.1
4
18
 
5
19
  ### Patch Changes
@@ -4,8 +4,7 @@
4
4
  "target": "es5",
5
5
  "composite": true,
6
6
  "outDir": "../dist",
7
- "rootDir": "../",
8
- "baseUrl": "../"
7
+ "rootDir": "../"
9
8
  },
10
9
  "include": [
11
10
  "../src/**/*.tsx"
@@ -1,23 +1,23 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
3
- "compilerOptions": {
4
- "target": "es5",
5
- "outDir": "../../../../../tsDist/@atlaskit__ds-explorations/app",
6
- "composite": true,
7
- "rootDir": "../"
8
- },
9
- "include": [
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*",
16
- "../src/**/examples.*"
17
- ],
18
- "references": [
19
- {
20
- "path": "../../tokens/afm-jira/tsconfig.json"
21
- }
22
- ]
23
- }
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../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
+ ],
18
+ "references": [
19
+ {
20
+ "path": "../../tokens/afm-jira/tsconfig.json"
21
+ }
22
+ ]
23
+ }
@@ -47,13 +47,13 @@ export default () => {
47
47
  return (
48
48
  <Box padding="space.100" testId="all">
49
49
  <Stack space="space.200">
50
- <Heading level="h400">Current ADS Buttons</Heading>
50
+ <Heading size="xsmall">Current ADS Buttons</Heading>
51
51
  <Inline space="space.200">
52
52
  <Button appearance="primary">brand.bold</Button>
53
53
  <Button appearance="default">neutral</Button>
54
54
  <Button appearance="warning">warning.bold</Button>
55
55
  </Inline>
56
- <Heading level="h400">
56
+ <Heading size="xsmall">
57
57
  Buttons with <Code>InteractionSurface</Code>
58
58
  </Heading>
59
59
  <Inline space="space.200" testId="buttons">
@@ -79,7 +79,7 @@ export default () => {
79
79
  </Pressable>
80
80
  ))}
81
81
  </Inline>
82
- <Heading level="h400">
82
+ <Heading size="xsmall">
83
83
  Icon Buttons with <Code>InteractionSurface</Code>
84
84
  </Heading>
85
85
  <Inline space="space.200" testId="icon-buttons">
@@ -122,7 +122,7 @@ export default () => {
122
122
  </InteractionSurface>
123
123
  </Pressable>
124
124
  </Inline>
125
- <Heading level="h400">
125
+ <Heading size="xsmall">
126
126
  Progress Indicator with <Code>InteractionSurface</Code>
127
127
  </Heading>
128
128
  <Inline space="space.200" testId="progress-indicators">
@@ -147,7 +147,7 @@ export default () => {
147
147
  </Pressable>
148
148
  ))}
149
149
  </Inline>
150
- <Heading level="h400">Textfield / input spikes</Heading>
150
+ <Heading size="xsmall">Textfield / input spikes</Heading>
151
151
  <Stack space="space.200">
152
152
  <label htmlFor="textfield">Textfield</label>
153
153
  <Textfield id="textfield" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "4.3.1",
3
+ "version": "4.3.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/"
@@ -12,7 +12,9 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "sideEffects": false,
15
+ "sideEffects": [
16
+ "**/*.compiled.css"
17
+ ],
16
18
  "atlaskit:src": "src/index.tsx",
17
19
  "atlassian": {
18
20
  "team": "Design System Team",
@@ -24,7 +26,7 @@
24
26
  "prepare": "yarn ak-postbuild"
25
27
  },
26
28
  "dependencies": {
27
- "@atlaskit/tokens": "^2.0.0",
29
+ "@atlaskit/tokens": "^3.0.0",
28
30
  "@babel/runtime": "^7.0.0",
29
31
  "@emotion/react": "^11.7.1"
30
32
  },
@@ -34,8 +36,8 @@
34
36
  "devDependencies": {
35
37
  "@af/formatting": "*",
36
38
  "@atlaskit/ds-lib": "*",
37
- "@atlaskit/primitives": "^12.2.0",
38
- "@atlaskit/textfield": "^6.5.0",
39
+ "@atlaskit/primitives": "^13.3.0",
40
+ "@atlaskit/textfield": "^6.7.0",
39
41
  "@atlaskit/visual-regression": "*",
40
42
  "@atlassian/codegen": "^0.1.0",
41
43
  "@testing-library/react": "^12.1.5",
@@ -7,7 +7,9 @@ import { token } from '@atlaskit/tokens';
7
7
 
8
8
  import { UNSAFE_InteractionSurface as InteractionSurface } from '../../../index';
9
9
 
10
- describe('InteractionSurface component', () => {
10
+ // skipping this test as it does not work with jsdom.reconfigure. Need to rewrite this test.
11
+ // https://hello.jira.atlassian.cloud/browse/UTEST-2000
12
+ describe.skip('InteractionSurface component', () => {
11
13
  it('should render by itself', () => {
12
14
  render(
13
15
  <InteractionSurface testId="basic">
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__ds-explorations/app"
33
32
  },
package/tsconfig.dev.json CHANGED
@@ -28,13 +28,12 @@
28
28
  ],
29
29
  "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
30
30
  "compilerOptions": {
31
- "baseUrl": "",
32
31
  "composite": true,
33
32
  "outDir": "../../../tsDist/@atlaskit__ds-explorations/dev"
34
33
  },
35
34
  "references": [
36
35
  {
37
- "path": "tsconfig.app.json"
36
+ "path": "./tsconfig.app.json"
38
37
  },
39
38
  {
40
39
  "path": "../../../build/formatting/tsconfig.app.json"
package/tsconfig.json CHANGED
@@ -11,6 +11,5 @@
11
11
  "scripts/**/*.tsx"
12
12
  ],
13
13
  "compilerOptions": {
14
- "baseUrl": ""
15
14
  }
16
15
  }