@atlaskit/tokens 1.58.0 → 1.59.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 (33) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +16 -1
  3. package/dist/cjs/artifacts/theme-import-map.js +7 -1
  4. package/dist/cjs/artifacts/themes/atlassian-typography-refreshed.js +12 -0
  5. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +749 -0
  6. package/dist/cjs/entry-points/tokens-raw.js +7 -0
  7. package/dist/cjs/theme-config.js +9 -1
  8. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +16 -1
  9. package/dist/es2019/artifacts/theme-import-map.js +3 -1
  10. package/dist/es2019/artifacts/themes/atlassian-typography-refreshed.js +38 -0
  11. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +743 -0
  12. package/dist/es2019/entry-points/tokens-raw.js +1 -0
  13. package/dist/es2019/theme-config.js +9 -1
  14. package/dist/esm/artifacts/palettes-raw/typography-palette.js +16 -1
  15. package/dist/esm/artifacts/theme-import-map.js +5 -1
  16. package/dist/esm/artifacts/themes/atlassian-typography-refreshed.js +6 -0
  17. package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +743 -0
  18. package/dist/esm/entry-points/tokens-raw.js +1 -0
  19. package/dist/esm/theme-config.js +9 -1
  20. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  21. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  22. package/dist/types/artifacts/themes/atlassian-typography-refreshed.d.ts +7 -0
  23. package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +86 -0
  24. package/dist/types/entry-points/tokens-raw.d.ts +1 -0
  25. package/dist/types/theme-config.d.ts +3 -3
  26. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  27. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  28. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-refreshed.d.ts +7 -0
  29. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +86 -0
  30. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -0
  31. package/dist/types-ts4.5/theme-config.d.ts +5 -3
  32. package/figma/atlassian-typography-refreshed.json +87 -0
  33. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 1.59.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#130373](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130373)
8
+ [`dd80abd23af36`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd80abd23af36) -
9
+ Added experimental `typography-refreshed` theme. This should not be used at this stage.
10
+
3
11
  ## 1.58.0
4
12
 
5
13
  ### Minor Changes
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  /**
8
8
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
9
- * @codegen <<SignedSource::d0f067fcc82edf831afe2fd039ca0a0c>>
9
+ * @codegen <<SignedSource::4f3e5bd6ca1dd12d81d074b2f03cb0aa>>
10
10
  * @codegenCommand yarn build tokens
11
11
  */
12
12
  var tokens = [{
@@ -99,6 +99,21 @@ var tokens = [{
99
99
  },
100
100
  "name": "typography.fontFamily.FontFamilyWebSans",
101
101
  "path": ["typography", "fontFamily", "FontFamilyWebSans"]
102
+ }, {
103
+ "value": "\"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
104
+ "attributes": {
105
+ "group": "fontFamily"
106
+ },
107
+ "filePath": "schema/palettes/typography-palette.tsx",
108
+ "isSource": true,
109
+ "original": {
110
+ "value": "\"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif",
111
+ "attributes": {
112
+ "group": "fontFamily"
113
+ }
114
+ },
115
+ "name": "typography.fontFamily.FontFamilyWebSansRefreshed",
116
+ "path": ["typography", "fontFamily", "FontFamilyWebSansRefreshed"]
102
117
  }, {
103
118
  "value": "SF Mono",
104
119
  "attributes": {
@@ -16,7 +16,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
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::1178d8004df8fd52edec31241e55e33a>>
19
+ * @codegen <<SignedSource::8352f41e09dfe9d45ead708661744456>>
20
20
  * @codegenCommand yarn build tokens
21
21
  */
22
22
 
@@ -93,6 +93,12 @@ var themeImportsMap = {
93
93
  './themes/atlassian-typography-modernized'));
94
94
  });
95
95
  },
96
+ 'typography-refreshed': function typographyRefreshed() {
97
+ return Promise.resolve().then(function () {
98
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-refreshed" */
99
+ './themes/atlassian-typography-refreshed'));
100
+ });
101
+ },
96
102
  'light-brand-refresh': function lightBrandRefresh() {
97
103
  return Promise.resolve().then(function () {
98
104
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-light-brand-refresh" */
@@ -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::8125d075804c22bd4991a71f2c92d914>>
10
+ * @codegenCommand yarn build tokens
11
+ */
12
+ var _default = exports.default = "\nhtml[data-theme~=\"typography:typography-refreshed\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 700 1.5rem/1.75rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 700 1rem/1.25rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 700 0.875rem/1.25rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-weight-regular: 400;\n --ds-font-weight-medium: 500;\n --ds-font-weight-semibold: 600;\n --ds-font-weight-bold: 700;\n --ds-font-family-heading: \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: \"Inter Variable\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n}\n";