@atlaskit/tokens 1.42.0 → 1.42.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
+ ## 1.42.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+
3
9
  ## 1.42.0
4
10
 
5
11
  ### Minor Changes
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/babel-plugin.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/babel-plugin.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/css-type-schema.codegen.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/custom-themes.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/custom-themes.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var name = "@atlaskit/tokens";
11
- var version = "1.42.0";
11
+ var version = "1.42.1";
12
12
  /**
13
13
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
14
14
  * resulting CSS Custom Property.
@@ -9,7 +9,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
9
9
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
10
10
  var _constants = require("./constants");
11
11
  var name = "@atlaskit/tokens";
12
- var version = "1.42.0";
12
+ var version = "1.42.1";
13
13
  /**
14
14
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
15
15
  * This should be used to implement design decisions throughout your application.
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  const name = "@atlaskit/tokens";
4
- const version = "1.42.0";
4
+ const version = "1.42.1";
5
5
  /**
6
6
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
7
7
  * resulting CSS Custom Property.
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  const name = "@atlaskit/tokens";
5
- const version = "1.42.0";
5
+ const version = "1.42.1";
6
6
  /**
7
7
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
8
8
  * This should be used to implement design decisions throughout your application.
@@ -1,7 +1,7 @@
1
1
  import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  var name = "@atlaskit/tokens";
4
- var version = "1.42.0";
4
+ var version = "1.42.1";
5
5
  /**
6
6
  * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the
7
7
  * resulting CSS Custom Property.
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
2
2
  import tokens from './artifacts/token-names';
3
3
  import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
4
4
  var name = "@atlaskit/tokens";
5
- var version = "1.42.0";
5
+ var version = "1.42.1";
6
6
  /**
7
7
  * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.
8
8
  * This should be used to implement design decisions throughout your application.
@@ -5,5 +5,5 @@ export declare const CUSTOM_THEME_ATTRIBUTE = "data-custom-theme";
5
5
  export declare const DEFAULT_THEME = "light";
6
6
  export declare const CSS_PREFIX = "ds";
7
7
  export declare const CSS_VAR_FULL: string[];
8
- export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
8
+ export declare const TOKEN_NOT_FOUND_CSS_VAR = "--ds-token-not-found";
9
9
  export declare const CURRENT_SURFACE_CSS_VAR: "--ds-elevation-surface-current";
@@ -5,5 +5,5 @@ export declare const CUSTOM_THEME_ATTRIBUTE = "data-custom-theme";
5
5
  export declare const DEFAULT_THEME = "light";
6
6
  export declare const CSS_PREFIX = "ds";
7
7
  export declare const CSS_VAR_FULL: string[];
8
- export declare const TOKEN_NOT_FOUND_CSS_VAR: string;
8
+ export declare const TOKEN_NOT_FOUND_CSS_VAR = "--ds-token-not-found";
9
9
  export declare const CURRENT_SURFACE_CSS_VAR: "--ds-elevation-surface-current";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.42.0",
3
+ "version": "1.42.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/"
@@ -73,7 +73,7 @@
73
73
  "recharts": "^1.8.5",
74
74
  "style-dictionary": "^3.8.0",
75
75
  "ts-node": "^10.9.1",
76
- "typescript": "~4.9.5"
76
+ "typescript": "~5.4.2"
77
77
  },
78
78
  "techstack": {
79
79
  "@atlassian/frontend": {
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/palettes-raw.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/palettes-raw.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/rename-mapping.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/rename-mapping.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/token-default-values.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/token-default-values.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/token-ids.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/token-ids.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/token-names.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/token-names.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/token-order.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/token-order.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/entry-points/tokens-raw.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <4.9": {
11
+ ">=4.5 <5.4": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/entry-points/tokens-raw.d.ts"
14
14
  ]