@atlaskit/tokens 3.3.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,11 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.3.0
4
10
 
5
11
  ### 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.3.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/"
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/ds-lib": "^3.5.0",
35
- "@atlaskit/platform-feature-flags": "^0.3.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",