@atlaskit/tokens 5.5.0 → 5.6.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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/artifacts/theme-import-map.js +7 -1
- package/dist/cjs/artifacts/themes/atlassian-typography.js +12 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +646 -0
- package/dist/cjs/theme-config.js +12 -1
- package/dist/es2019/artifacts/theme-import-map.js +3 -1
- package/dist/es2019/artifacts/themes/atlassian-typography.js +33 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +640 -0
- package/dist/es2019/theme-config.js +12 -1
- package/dist/esm/artifacts/theme-import-map.js +5 -1
- package/dist/esm/artifacts/themes/atlassian-typography.js +6 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +640 -0
- package/dist/esm/theme-config.js +12 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +7 -0
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +58 -0
- package/dist/types/theme-config.d.ts +8 -3
- package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +7 -0
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +58 -0
- package/dist/types-ts4.5/theme-config.d.ts +8 -1
- package/figma/atlassian-typography.json +83 -1
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 5.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#188275](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188275)
|
|
8
|
+
[`3be70f03be763`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3be70f03be763) -
|
|
9
|
+
Deprecating existing typography theme ids (`typography-adg3`, `typography-modernized` and
|
|
10
|
+
`typography-refreshed`) in favour of a new `typography` theme id. Using the new `typography` theme
|
|
11
|
+
id enables the latest refreshed typography resulting in no functional change. This new
|
|
12
|
+
`typography` theme id is enabled by default behind a feature flag. If testing successful, this
|
|
13
|
+
change will be made available in a later release.
|
|
14
|
+
|
|
3
15
|
## 5.5.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -15,7 +15,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
15
15
|
* This allows users to compose their themes and only use the tokens that are requested.
|
|
16
16
|
* When a new theme is created, the import should automatically be added to the map
|
|
17
17
|
*
|
|
18
|
-
* @codegen <<SignedSource::
|
|
18
|
+
* @codegen <<SignedSource::4131829e60733a1a5e513dcc84af81de>>
|
|
19
19
|
* @codegenCommand yarn build tokens
|
|
20
20
|
*/
|
|
21
21
|
|
|
@@ -74,6 +74,12 @@ var themeImportsMap = {
|
|
|
74
74
|
'./themes/atlassian-spacing'));
|
|
75
75
|
});
|
|
76
76
|
},
|
|
77
|
+
'typography': function typography() {
|
|
78
|
+
return Promise.resolve().then(function () {
|
|
79
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
|
|
80
|
+
'./themes/atlassian-typography'));
|
|
81
|
+
});
|
|
82
|
+
},
|
|
77
83
|
'typography-adg3': function typographyAdg3() {
|
|
78
84
|
return Promise.resolve().then(function () {
|
|
79
85
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-adg3" */
|
|
@@ -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::a352be05995afa0bd55c0b0530178fe7>>
|
|
10
|
+
* @codegenCommand yarn build tokens
|
|
11
|
+
*/
|
|
12
|
+
var _default = exports.default = "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-heading-xxlarge: normal 653 2rem/2.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xlarge: normal 653 1.75rem/2rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-large: normal 653 1.5rem/1.75rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-medium: normal 653 1.25rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-small: normal 653 1rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xsmall: normal 653 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-heading-xxsmall: normal 653 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-large: normal 400 1rem/1.5rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body: normal 400 0.875rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-body-UNSAFE_small: normal 400 0.75rem/1rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-metric-large: normal 653 1.75rem/2rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-metric-medium: normal 653 1.5rem/1.75rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-metric-small: normal 653 1rem/1.25rem \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-code: normal 400 0.875em/1 \"Atlassian Mono\", 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: 653;\n --ds-font-family-heading: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-body: \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-brand-heading: \"Charlie Display\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand-body: \"Charlie Text\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif;\n}\n";
|