@atlaskit/ds-explorations 4.4.0 → 5.0.1

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,33 @@
1
1
  # @atlaskit/ds-explorations
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#124329](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/124329)
8
+ [`b0d988fe689d9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0d988fe689d9) -
9
+ Consolidate ADS themes by adding the icon.color.subtlest with the value equal to icon.color.subtle
10
+ to non-brand-refresh themes
11
+ - Updated dependencies
12
+
13
+ ## 5.0.0
14
+
15
+ ### Major Changes
16
+
17
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
18
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
19
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
20
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
21
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
22
+ React 17 may come via non-major semver releases.
23
+
24
+ Please refer this community post for more details:
25
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies
30
+
3
31
  ## 4.4.0
4
32
 
5
33
  ### Minor Changes
@@ -58,11 +58,11 @@ var InteractionSurface = function InteractionSurface(_ref) {
58
58
  var _default = exports.default = InteractionSurface;
59
59
  /**
60
60
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
61
- * @codegen <<SignedSource::5ab510545ffee62181b873849498c57e>>
61
+ * @codegen <<SignedSource::a54b247f1230147faee26c36789b9f6d>>
62
62
  * @codegenId interactions
63
63
  * @codegenCommand yarn codegen-styles
64
64
  * @codegenParams ["background"]
65
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
65
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
66
66
  */
67
67
  var backgroundActiveColorMap = {
68
68
  'accent.lime.subtlest': (0, _react2.css)({
@@ -9,9 +9,9 @@ exports.default = void 0;
9
9
  *
10
10
  * The color map is used to map a background color token to a matching text color that will meet contrast.
11
11
  *
12
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
12
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
13
13
  * @codegenCommand yarn codegen-styles
14
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
14
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
15
15
  */
16
16
  var _default = exports.default = {
17
17
  'neutral.bold': 'inverse',
@@ -53,11 +53,11 @@ export default InteractionSurface;
53
53
 
54
54
  /**
55
55
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
56
- * @codegen <<SignedSource::5ab510545ffee62181b873849498c57e>>
56
+ * @codegen <<SignedSource::a54b247f1230147faee26c36789b9f6d>>
57
57
  * @codegenId interactions
58
58
  * @codegenCommand yarn codegen-styles
59
59
  * @codegenParams ["background"]
60
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
60
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
61
61
  */
62
62
  const backgroundActiveColorMap = {
63
63
  'accent.lime.subtlest': css({
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
6
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
9
9
  */
10
10
  export default {
11
11
  'neutral.bold': 'inverse',
@@ -52,11 +52,11 @@ export default InteractionSurface;
52
52
 
53
53
  /**
54
54
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
55
- * @codegen <<SignedSource::5ab510545ffee62181b873849498c57e>>
55
+ * @codegen <<SignedSource::a54b247f1230147faee26c36789b9f6d>>
56
56
  * @codegenId interactions
57
57
  * @codegenCommand yarn codegen-styles
58
58
  * @codegenParams ["background"]
59
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
59
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
60
60
  */
61
61
  var backgroundActiveColorMap = {
62
62
  'accent.lime.subtlest': css({
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
6
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
9
9
  */
10
10
  export default {
11
11
  'neutral.bold': 'inverse',
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
6
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
9
9
  */
10
10
  declare const _default: {
11
11
  readonly 'neutral.bold': "inverse";
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
6
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
9
9
  */
10
10
  declare const _default: {
11
11
  readonly 'neutral.bold': "inverse";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/ds-explorations",
3
- "version": "4.4.0",
3
+ "version": "5.0.1",
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/"
@@ -21,24 +21,24 @@
21
21
  "runReact18": true
22
22
  },
23
23
  "scripts": {
24
- "ak-postbuild": "cd ../../../ && yarn build @atlassian/codegen -d cjs,esm,es2019 && yarn build @atlaskit/platform-feature-flags && yarn build @atlaskit/tokens && cd packages/design-system/ds-explorations && yarn codegen-styles",
24
+ "ak-postbuild": "cd ../../../ && yarn build --includeDependencies @atlaskit/tokens && cd packages/design-system/ds-explorations && yarn codegen-styles",
25
25
  "codegen-styles": "ts-node --project ../../../tsconfig.node.json ./scripts/codegen-styles",
26
26
  "prepare": "yarn ak-postbuild"
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/tokens": "^3.3.0",
29
+ "@atlaskit/tokens": "^4.4.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@emotion/react": "^11.7.1"
32
32
  },
33
33
  "peerDependencies": {
34
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
34
+ "react": "^18.2.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@af/formatting": "*",
38
- "@atlaskit/ds-lib": "*",
39
- "@atlaskit/primitives": "^13.4.0",
40
- "@atlaskit/textfield": "^6.8.0",
41
- "@atlaskit/visual-regression": "*",
37
+ "@af/formatting": "^0.0.4",
38
+ "@atlaskit/ds-lib": "^4.0.0",
39
+ "@atlaskit/primitives": "^14.1.0",
40
+ "@atlaskit/textfield": "^8.0.0",
41
+ "@atlaskit/visual-regression": "^0.10.0",
42
42
  "@atlassian/codegen": "^0.1.0",
43
43
  "@testing-library/react": "^13.4.0",
44
44
  "fs-extra": "^4.0.2",
@@ -70,11 +70,11 @@ export default InteractionSurface;
70
70
 
71
71
  /**
72
72
  * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
73
- * @codegen <<SignedSource::5ab510545ffee62181b873849498c57e>>
73
+ * @codegen <<SignedSource::a54b247f1230147faee26c36789b9f6d>>
74
74
  * @codegenId interactions
75
75
  * @codegenCommand yarn codegen-styles
76
76
  * @codegenParams ["background"]
77
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
77
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
78
78
  */
79
79
  const backgroundActiveColorMap = {
80
80
  'accent.lime.subtlest': css({
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * The color map is used to map a background color token to a matching text color that will meet contrast.
5
5
  *
6
- * @codegen <<SignedSource::7d0040ba6b7bc80f7ebca42192d566ab>>
6
+ * @codegen <<SignedSource::e6f777f074b5270687bb9285d5876240>>
7
7
  * @codegenCommand yarn codegen-styles
8
- * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::f27d1519d51cc4a85383a00907847774>>
8
+ * @codegenDependency ../../../tokens/src/artifacts/tokens-raw/atlassian-light.tsx <<SignedSource::d227fb20aa75533eb903b15ddcb61e67>>
9
9
  */
10
10
  export default {
11
11
  'neutral.bold': 'inverse',