@atlaskit/tokens 1.30.0 → 1.32.0

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/css-type-schema/package.json +17 -0
  3. package/dist/cjs/artifacts/theme-import-map.js +13 -1
  4. package/dist/cjs/artifacts/themes/atlassian-dark-future.js +12 -0
  5. package/dist/cjs/artifacts/themes/atlassian-light-future.js +12 -0
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-dark-future.js +35 -0
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-light-future.js +35 -0
  8. package/dist/cjs/entry-points/css-type-schema.codegen.js +5 -0
  9. package/dist/cjs/get-token-value.js +1 -1
  10. package/dist/cjs/get-token.js +1 -1
  11. package/dist/cjs/theme-config.js +21 -1
  12. package/dist/es2019/artifacts/theme-import-map.js +5 -1
  13. package/dist/es2019/artifacts/themes/atlassian-dark-future.js +12 -0
  14. package/dist/es2019/artifacts/themes/atlassian-light-future.js +12 -0
  15. package/dist/es2019/artifacts/tokens-raw/atlassian-dark-future.js +29 -0
  16. package/dist/es2019/artifacts/tokens-raw/atlassian-light-future.js +29 -0
  17. package/dist/es2019/entry-points/css-type-schema.codegen.js +1 -0
  18. package/dist/es2019/get-token-value.js +1 -1
  19. package/dist/es2019/get-token.js +1 -1
  20. package/dist/es2019/theme-config.js +21 -1
  21. package/dist/esm/artifacts/theme-import-map.js +9 -1
  22. package/dist/esm/artifacts/themes/atlassian-dark-future.js +6 -0
  23. package/dist/esm/artifacts/themes/atlassian-light-future.js +6 -0
  24. package/dist/esm/artifacts/tokens-raw/atlassian-dark-future.js +29 -0
  25. package/dist/esm/artifacts/tokens-raw/atlassian-light-future.js +29 -0
  26. package/dist/esm/entry-points/css-type-schema.codegen.js +1 -0
  27. package/dist/esm/get-token-value.js +1 -1
  28. package/dist/esm/get-token.js +1 -1
  29. package/dist/esm/theme-config.js +21 -1
  30. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  31. package/dist/types/artifacts/themes/atlassian-dark-future.d.ts +7 -0
  32. package/dist/types/artifacts/themes/atlassian-light-future.d.ts +7 -0
  33. package/dist/types/artifacts/tokens-raw/atlassian-dark-future.d.ts +29 -0
  34. package/dist/types/artifacts/tokens-raw/atlassian-light-future.d.ts +29 -0
  35. package/dist/types/entry-points/css-type-schema.codegen.d.ts +145 -0
  36. package/dist/types/theme-config.d.ts +5 -5
  37. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  38. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-future.d.ts +7 -0
  39. package/dist/types-ts4.5/artifacts/themes/atlassian-light-future.d.ts +7 -0
  40. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +29 -0
  41. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +29 -0
  42. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +145 -0
  43. package/dist/types-ts4.5/theme-config.d.ts +7 -3
  44. package/figma/atlassian-dark-future.json +15 -0
  45. package/figma/atlassian-light-future.json +15 -0
  46. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 1.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#63504](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63504) [`668f6aa3ca86`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/668f6aa3ca86) - Adds an entrypoint `@atlaskit/tokens/css-type-schema` containing a type definition for css values contrained to tokens.
8
+
9
+ ## 1.31.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#62155](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62155) [`d88ffee39278`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d88ffee39278) - Added new themes for ads-vision-lab
14
+
3
15
  ## 1.30.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/tokens/css-type-schema",
3
+ "main": "../dist/cjs/entry-points/css-type-schema.codegen.js",
4
+ "module": "../dist/esm/entry-points/css-type-schema.codegen.js",
5
+ "module:es2019": "../dist/es2019/entry-points/css-type-schema.codegen.js",
6
+ "sideEffects": [
7
+ "**/*.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/css-type-schema.codegen.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <4.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -16,7 +16,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
16
16
  * This allows users to compose their themes and only use the tokens that are requested.
17
17
  * When a new theme is created, the import should automatically be added to the map
18
18
  *
19
- * @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
19
+ * @codegen <<SignedSource::6c438d052bfcec2f42bfb917a01beef9>>
20
20
  * @codegenCommand yarn build tokens
21
21
  */
22
22
 
@@ -27,6 +27,12 @@ var themeImportsMap = {
27
27
  './themes/atlassian-light'));
28
28
  });
29
29
  },
30
+ 'light-future': function lightFuture() {
31
+ return Promise.resolve().then(function () {
32
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-light-future" */
33
+ './themes/atlassian-light-future'));
34
+ });
35
+ },
30
36
  'light-increased-contrast': function lightIncreasedContrast() {
31
37
  return Promise.resolve().then(function () {
32
38
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-light-increased-contrast" */
@@ -39,6 +45,12 @@ var themeImportsMap = {
39
45
  './themes/atlassian-dark'));
40
46
  });
41
47
  },
48
+ 'dark-future': function darkFuture() {
49
+ return Promise.resolve().then(function () {
50
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-future" */
51
+ './themes/atlassian-dark-future'));
52
+ });
53
+ },
42
54
  'dark-increased-contrast': function darkIncreasedContrast() {
43
55
  return Promise.resolve().then(function () {
44
56
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-increased-contrast" */
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::d075fc63f2fcbc4c48f9221541c1d067>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var _default = exports.default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: dark;\n --ds-background-disabled: #B3DF72;\n}\n";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::b66f003f52ebad6767e95eaeb646085b>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var _default = exports.default = "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-background-disabled: #28311B;\n}\n";
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::ab55c164418ef8725d43715108841276>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var tokens = [{
13
+ "attributes": {
14
+ "group": "paint",
15
+ "state": "active",
16
+ "introduced": "0.0.15",
17
+ "description": "Use for backgrounds of elements in a disabled state."
18
+ },
19
+ "value": "#B3DF72",
20
+ "filePath": "schema/themes/atlassian-dark-future/color/background.tsx",
21
+ "isSource": true,
22
+ "original": {
23
+ "attributes": {
24
+ "group": "paint",
25
+ "state": "active",
26
+ "introduced": "0.0.15",
27
+ "description": "Use for backgrounds of elements in a disabled state."
28
+ },
29
+ "value": "Lime300"
30
+ },
31
+ "name": "color.background.disabled",
32
+ "path": ["color", "background", "disabled"],
33
+ "cleanName": "color.background.disabled"
34
+ }];
35
+ var _default = exports.default = tokens;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /**
8
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
+ * @codegen <<SignedSource::940fbbe091341b7f246528cfc921961d>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var tokens = [{
13
+ "attributes": {
14
+ "group": "paint",
15
+ "state": "active",
16
+ "introduced": "0.0.15",
17
+ "description": "Use for backgrounds of elements in a disabled state."
18
+ },
19
+ "value": "#28311B",
20
+ "filePath": "schema/themes/atlassian-light-future/color/background.tsx",
21
+ "isSource": true,
22
+ "original": {
23
+ "attributes": {
24
+ "group": "paint",
25
+ "state": "active",
26
+ "introduced": "0.0.15",
27
+ "description": "Use for backgrounds of elements in a disabled state."
28
+ },
29
+ "value": "Lime1000"
30
+ },
31
+ "name": "color.background.disabled",
32
+ "path": ["color", "background", "disabled"],
33
+ "cleanName": "color.background.disabled"
34
+ }];
35
+ var _default = exports.default = tokens;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -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.30.0";
11
+ var version = "1.32.0";
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.30.0";
12
+ var version = "1.32.0";
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.
@@ -44,7 +44,7 @@ var themeContrastModes = exports.themeContrastModes = ['more', 'no-preference',
44
44
  *
45
45
  * These ids must be kebab case
46
46
  */
47
- var themeIds = exports.themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
47
+ var themeIds = exports.themeIds = ['light-increased-contrast', 'light', 'light-future', 'dark', 'dark-future', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
48
48
  /**
49
49
  * Theme override ids: the equivalent of themeIds for theme overrides.
50
50
  * Theme overrides are temporary and there may not be any defined at times.
@@ -79,6 +79,16 @@ var themeConfig = {
79
79
  mode: 'light'
80
80
  }
81
81
  },
82
+ 'atlassian-light-future': {
83
+ id: 'light-future',
84
+ displayName: 'Future Light Theme',
85
+ palette: 'defaultPalette',
86
+ attributes: {
87
+ type: 'color',
88
+ mode: 'light'
89
+ },
90
+ override: 'light'
91
+ },
82
92
  'atlassian-light-increased-contrast': {
83
93
  id: 'light-increased-contrast',
84
94
  displayName: 'Light Theme (increased contrast)',
@@ -99,6 +109,16 @@ var themeConfig = {
99
109
  mode: 'dark'
100
110
  }
101
111
  },
112
+ 'atlassian-dark-future': {
113
+ id: 'dark-future',
114
+ displayName: 'Future Dark Theme',
115
+ palette: 'defaultPalette',
116
+ attributes: {
117
+ type: 'color',
118
+ mode: 'dark'
119
+ },
120
+ override: 'light'
121
+ },
102
122
  'atlassian-dark-increased-contrast': {
103
123
  id: 'dark-increased-contrast',
104
124
  displayName: 'Dark Theme (increased contrast)',
@@ -6,17 +6,21 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
9
+ * @codegen <<SignedSource::6c438d052bfcec2f42bfb917a01beef9>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
 
13
13
  const themeImportsMap = {
14
14
  'light': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light" */
15
15
  './themes/atlassian-light'),
16
+ 'light-future': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-future" */
17
+ './themes/atlassian-light-future'),
16
18
  'light-increased-contrast': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-increased-contrast" */
17
19
  './themes/atlassian-light-increased-contrast'),
18
20
  'dark': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark" */
19
21
  './themes/atlassian-dark'),
22
+ 'dark-future': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-future" */
23
+ './themes/atlassian-dark-future'),
20
24
  'dark-increased-contrast': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-increased-contrast" */
21
25
  './themes/atlassian-dark-increased-contrast'),
22
26
  'legacy-light': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-legacy-light" */
@@ -0,0 +1,12 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::d075fc63f2fcbc4c48f9221541c1d067>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default `
7
+ html[data-color-mode="light"][data-theme~="light:light"],
8
+ html[data-color-mode="dark"][data-theme~="dark:light"] {
9
+ color-scheme: dark;
10
+ --ds-background-disabled: #B3DF72;
11
+ }
12
+ `;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b66f003f52ebad6767e95eaeb646085b>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default `
7
+ html[data-color-mode="light"][data-theme~="light:light"],
8
+ html[data-color-mode="dark"][data-theme~="dark:light"] {
9
+ color-scheme: light;
10
+ --ds-background-disabled: #28311B;
11
+ }
12
+ `;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::ab55c164418ef8725d43715108841276>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ const tokens = [{
7
+ "attributes": {
8
+ "group": "paint",
9
+ "state": "active",
10
+ "introduced": "0.0.15",
11
+ "description": "Use for backgrounds of elements in a disabled state."
12
+ },
13
+ "value": "#B3DF72",
14
+ "filePath": "schema/themes/atlassian-dark-future/color/background.tsx",
15
+ "isSource": true,
16
+ "original": {
17
+ "attributes": {
18
+ "group": "paint",
19
+ "state": "active",
20
+ "introduced": "0.0.15",
21
+ "description": "Use for backgrounds of elements in a disabled state."
22
+ },
23
+ "value": "Lime300"
24
+ },
25
+ "name": "color.background.disabled",
26
+ "path": ["color", "background", "disabled"],
27
+ "cleanName": "color.background.disabled"
28
+ }];
29
+ export default tokens;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::940fbbe091341b7f246528cfc921961d>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ const tokens = [{
7
+ "attributes": {
8
+ "group": "paint",
9
+ "state": "active",
10
+ "introduced": "0.0.15",
11
+ "description": "Use for backgrounds of elements in a disabled state."
12
+ },
13
+ "value": "#28311B",
14
+ "filePath": "schema/themes/atlassian-light-future/color/background.tsx",
15
+ "isSource": true,
16
+ "original": {
17
+ "attributes": {
18
+ "group": "paint",
19
+ "state": "active",
20
+ "introduced": "0.0.15",
21
+ "description": "Use for backgrounds of elements in a disabled state."
22
+ },
23
+ "value": "Lime1000"
24
+ },
25
+ "name": "color.background.disabled",
26
+ "path": ["color", "background", "disabled"],
27
+ "cleanName": "color.background.disabled"
28
+ }];
29
+ export default tokens;
@@ -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.30.0";
4
+ const version = "1.32.0";
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.30.0";
5
+ const version = "1.32.0";
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.
@@ -38,7 +38,7 @@ export const themeContrastModes = ['more', 'no-preference', 'auto'];
38
38
  *
39
39
  * These ids must be kebab case
40
40
  */
41
- export const themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
41
+ export const themeIds = ['light-increased-contrast', 'light', 'light-future', 'dark', 'dark-future', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
42
42
  /**
43
43
  * Theme override ids: the equivalent of themeIds for theme overrides.
44
44
  * Theme overrides are temporary and there may not be any defined at times.
@@ -73,6 +73,16 @@ const themeConfig = {
73
73
  mode: 'light'
74
74
  }
75
75
  },
76
+ 'atlassian-light-future': {
77
+ id: 'light-future',
78
+ displayName: 'Future Light Theme',
79
+ palette: 'defaultPalette',
80
+ attributes: {
81
+ type: 'color',
82
+ mode: 'light'
83
+ },
84
+ override: 'light'
85
+ },
76
86
  'atlassian-light-increased-contrast': {
77
87
  id: 'light-increased-contrast',
78
88
  displayName: 'Light Theme (increased contrast)',
@@ -93,6 +103,16 @@ const themeConfig = {
93
103
  mode: 'dark'
94
104
  }
95
105
  },
106
+ 'atlassian-dark-future': {
107
+ id: 'dark-future',
108
+ displayName: 'Future Dark Theme',
109
+ palette: 'defaultPalette',
110
+ attributes: {
111
+ type: 'color',
112
+ mode: 'dark'
113
+ },
114
+ override: 'light'
115
+ },
96
116
  'atlassian-dark-increased-contrast': {
97
117
  id: 'dark-increased-contrast',
98
118
  displayName: 'Dark Theme (increased contrast)',
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
9
+ * @codegen <<SignedSource::6c438d052bfcec2f42bfb917a01beef9>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
 
@@ -15,6 +15,10 @@ var themeImportsMap = {
15
15
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-light" */
16
16
  './themes/atlassian-light');
17
17
  },
18
+ 'light-future': function lightFuture() {
19
+ return import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-future" */
20
+ './themes/atlassian-light-future');
21
+ },
18
22
  'light-increased-contrast': function lightIncreasedContrast() {
19
23
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-increased-contrast" */
20
24
  './themes/atlassian-light-increased-contrast');
@@ -23,6 +27,10 @@ var themeImportsMap = {
23
27
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark" */
24
28
  './themes/atlassian-dark');
25
29
  },
30
+ 'dark-future': function darkFuture() {
31
+ return import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-future" */
32
+ './themes/atlassian-dark-future');
33
+ },
26
34
  'dark-increased-contrast': function darkIncreasedContrast() {
27
35
  return import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-increased-contrast" */
28
36
  './themes/atlassian-dark-increased-contrast');
@@ -0,0 +1,6 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::d075fc63f2fcbc4c48f9221541c1d067>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: dark;\n --ds-background-disabled: #B3DF72;\n}\n";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b66f003f52ebad6767e95eaeb646085b>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ export default "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-background-disabled: #28311B;\n}\n";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::ab55c164418ef8725d43715108841276>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ var tokens = [{
7
+ "attributes": {
8
+ "group": "paint",
9
+ "state": "active",
10
+ "introduced": "0.0.15",
11
+ "description": "Use for backgrounds of elements in a disabled state."
12
+ },
13
+ "value": "#B3DF72",
14
+ "filePath": "schema/themes/atlassian-dark-future/color/background.tsx",
15
+ "isSource": true,
16
+ "original": {
17
+ "attributes": {
18
+ "group": "paint",
19
+ "state": "active",
20
+ "introduced": "0.0.15",
21
+ "description": "Use for backgrounds of elements in a disabled state."
22
+ },
23
+ "value": "Lime300"
24
+ },
25
+ "name": "color.background.disabled",
26
+ "path": ["color", "background", "disabled"],
27
+ "cleanName": "color.background.disabled"
28
+ }];
29
+ export default tokens;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::940fbbe091341b7f246528cfc921961d>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ var tokens = [{
7
+ "attributes": {
8
+ "group": "paint",
9
+ "state": "active",
10
+ "introduced": "0.0.15",
11
+ "description": "Use for backgrounds of elements in a disabled state."
12
+ },
13
+ "value": "#28311B",
14
+ "filePath": "schema/themes/atlassian-light-future/color/background.tsx",
15
+ "isSource": true,
16
+ "original": {
17
+ "attributes": {
18
+ "group": "paint",
19
+ "state": "active",
20
+ "introduced": "0.0.15",
21
+ "description": "Use for backgrounds of elements in a disabled state."
22
+ },
23
+ "value": "Lime1000"
24
+ },
25
+ "name": "color.background.disabled",
26
+ "path": ["color", "background", "disabled"],
27
+ "cleanName": "color.background.disabled"
28
+ }];
29
+ export default tokens;
@@ -0,0 +1 @@
1
+ export {};
@@ -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.30.0";
4
+ var version = "1.32.0";
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.30.0";
5
+ var version = "1.32.0";
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.
@@ -38,7 +38,7 @@ export var themeContrastModes = ['more', 'no-preference', 'auto'];
38
38
  *
39
39
  * These ids must be kebab case
40
40
  */
41
- export var themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
41
+ export var themeIds = ['light-increased-contrast', 'light', 'light-future', 'dark', 'dark-future', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
42
42
  /**
43
43
  * Theme override ids: the equivalent of themeIds for theme overrides.
44
44
  * Theme overrides are temporary and there may not be any defined at times.
@@ -73,6 +73,16 @@ var themeConfig = {
73
73
  mode: 'light'
74
74
  }
75
75
  },
76
+ 'atlassian-light-future': {
77
+ id: 'light-future',
78
+ displayName: 'Future Light Theme',
79
+ palette: 'defaultPalette',
80
+ attributes: {
81
+ type: 'color',
82
+ mode: 'light'
83
+ },
84
+ override: 'light'
85
+ },
76
86
  'atlassian-light-increased-contrast': {
77
87
  id: 'light-increased-contrast',
78
88
  displayName: 'Light Theme (increased contrast)',
@@ -93,6 +103,16 @@ var themeConfig = {
93
103
  mode: 'dark'
94
104
  }
95
105
  },
106
+ 'atlassian-dark-future': {
107
+ id: 'dark-future',
108
+ displayName: 'Future Dark Theme',
109
+ palette: 'defaultPalette',
110
+ attributes: {
111
+ type: 'color',
112
+ mode: 'dark'
113
+ },
114
+ override: 'light'
115
+ },
96
116
  'atlassian-dark-increased-contrast': {
97
117
  id: 'dark-increased-contrast',
98
118
  displayName: 'Dark Theme (increased contrast)',
@@ -6,7 +6,7 @@
6
6
  * This allows users to compose their themes and only use the tokens that are requested.
7
7
  * When a new theme is created, the import should automatically be added to the map
8
8
  *
9
- * @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
9
+ * @codegen <<SignedSource::6c438d052bfcec2f42bfb917a01beef9>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  import { ThemeIds, ThemeOverrideIds } from '../theme-config';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::d075fc63f2fcbc4c48f9221541c1d067>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const _default: "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: dark;\n --ds-background-disabled: #B3DF72;\n}\n";
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
+ * @codegen <<SignedSource::b66f003f52ebad6767e95eaeb646085b>>
4
+ * @codegenCommand yarn build tokens
5
+ */
6
+ declare const _default: "\nhtml[data-color-mode=\"light\"][data-theme~=\"light:light\"],\nhtml[data-color-mode=\"dark\"][data-theme~=\"dark:light\"] {\n color-scheme: light;\n --ds-background-disabled: #28311B;\n}\n";
7
+ export default _default;