@atlaskit/tokens 3.2.0 → 3.3.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,23 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
14
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
15
+ Update `React` from v16 to v18
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 3.2.0
4
22
 
5
23
  ### Minor Changes
@@ -37,7 +37,7 @@ var isColorMode = function isColorMode(modeId) {
37
37
  */
38
38
  var themeStringToObject = exports.themeStringToObject = function themeStringToObject(themeState) {
39
39
  return themeState.split(' ').map(function (theme) {
40
- return theme.split(/:([\s\S]*)/);
40
+ return theme.split(/:([^]*)/);
41
41
  }).reduce(function (themeObject, _ref) {
42
42
  var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
43
43
  kind = _ref2[0],
@@ -30,7 +30,7 @@ var isColorMode = function isColorMode(modeId) {
30
30
  */
31
31
  export var themeStringToObject = function themeStringToObject(themeState) {
32
32
  return themeState.split(' ').map(function (theme) {
33
- return theme.split(/:([\s\S]*)/);
33
+ return theme.split(/:([^]*)/);
34
34
  }).reduce(function (themeObject, _ref) {
35
35
  var _ref2 = _slicedToArray(_ref, 2),
36
36
  kind = _ref2[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "3.2.0",
3
+ "version": "3.3.1",
4
4
  "description": "Design tokens are the single source of truth to name and store design decisions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,8 +31,8 @@
31
31
  "codegen-tokens": "run-ts ./scripts/style-dictionary/build.tsx && cd $(npx repo-root)/packages/design-system/primitives && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/heading && yarn codegen"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/ds-lib": "^3.3.0",
35
- "@atlaskit/platform-feature-flags": "^0.3.0",
34
+ "@atlaskit/ds-lib": "^3.5.0",
35
+ "@atlaskit/platform-feature-flags": "^1.0.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@babel/traverse": "^7.23.2",
38
38
  "@babel/types": "^7.20.0",
@@ -44,12 +44,12 @@
44
44
  "devDependencies": {
45
45
  "@af/accessibility-testing": "*",
46
46
  "@af/formatting": "*",
47
- "@atlaskit/button": "^20.3.0",
48
- "@atlaskit/calendar": "^16.2.0",
49
- "@atlaskit/checkbox": "^15.2.0",
50
- "@atlaskit/radio": "^7.0.0",
51
- "@atlaskit/textfield": "^6.7.0",
52
- "@atlaskit/tooltip": "^19.0.0",
47
+ "@atlaskit/button": "^20.4.0",
48
+ "@atlaskit/calendar": "^16.3.0",
49
+ "@atlaskit/checkbox": "^15.3.0",
50
+ "@atlaskit/radio": "^7.2.0",
51
+ "@atlaskit/textfield": "^6.8.0",
52
+ "@atlaskit/tooltip": "^19.1.0",
53
53
  "@atlaskit/visual-regression": "*",
54
54
  "@atlassian/codegen": "^0.1.0",
55
55
  "@atlassian/feature-flags-test-utils": "*",
@@ -58,7 +58,7 @@
58
58
  "@emotion/react": "^11.7.1",
59
59
  "@hypermod/utils": "^0.4.2",
60
60
  "@testing-library/dom": "^10.1.0",
61
- "@testing-library/react": "^12.1.5",
61
+ "@testing-library/react": "^13.4.0",
62
62
  "@testing-library/react-hooks": "^8.0.1",
63
63
  "@testing-library/user-event": "^14.4.3",
64
64
  "@types/chrome": "^0.0.171",
@@ -72,7 +72,7 @@
72
72
  "postcss": "^8.4.7",
73
73
  "postcss-less": "^6.0.0",
74
74
  "prettier": "^3.2.5",
75
- "react": "^16.8.0",
75
+ "react": "^18.2.0",
76
76
  "react-use-clipboard": "^1.0.0",
77
77
  "react-window": "^1.8.8",
78
78
  "recharts": "^1.8.5",