@atlaskit/tokens 0.10.35 → 0.11.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 +15 -0
- package/css/atlassian-spacing.css +2 -2
- package/css/atlassian-typography.css +27 -0
- package/dist/cjs/artifacts/palettes-raw/font-size-scale.js +135 -0
- package/dist/cjs/artifacts/palettes-raw/font-weight-scale.js +75 -0
- package/dist/cjs/artifacts/palettes-raw/line-height-scale.js +105 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-dark.d.ts → cjs/artifacts/rename-mapping/atlassian-typography.js} +11 -10
- package/dist/cjs/artifacts/rename-mapping.js +3 -1
- package/dist/cjs/artifacts/token-default-values.js +3 -1
- package/dist/cjs/artifacts/token-names.js +3 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +435 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/cjs/artifacts/typescript/atlassian-typography-token-default-values.js +40 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-token-names.js +36 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-types.js +5 -0
- package/dist/cjs/constants.js +2 -2
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/typography/font-family.js +24 -0
- package/dist/cjs/palettes/typography/font-size-scale.js +60 -0
- package/dist/cjs/palettes/typography/font-weight-scale.js +36 -0
- package/dist/cjs/palettes/typography/index.js +28 -0
- package/dist/cjs/palettes/typography/line-height-scale.js +48 -0
- package/dist/cjs/theme-config.js +8 -0
- package/dist/cjs/tokens/atlassian-typography/font-family.js +20 -0
- package/dist/cjs/tokens/atlassian-typography/font-size.js +38 -0
- package/dist/cjs/tokens/atlassian-typography/font-weight.js +26 -0
- package/dist/cjs/tokens/atlassian-typography/line-height.js +32 -0
- package/dist/cjs/tokens/default/elevation/surface.js +2 -2
- package/dist/cjs/tokens/default/typography/font-family.js +30 -0
- package/dist/cjs/tokens/default/typography/font-size.js +78 -0
- package/dist/cjs/tokens/default/typography/font-weight.js +46 -0
- package/dist/cjs/tokens/default/typography/line-height.js +62 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/font-size-scale.js +127 -0
- package/dist/es2019/artifacts/palettes-raw/font-weight-scale.js +67 -0
- package/dist/es2019/artifacts/palettes-raw/line-height-scale.js +97 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-light.d.ts → es2019/artifacts/rename-mapping/atlassian-typography.js} +3 -10
- package/dist/es2019/artifacts/rename-mapping.js +2 -1
- package/dist/es2019/artifacts/token-default-values.js +3 -1
- package/dist/es2019/artifacts/token-names.js +3 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +427 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/es2019/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-token-names.js +28 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-types.js +1 -0
- package/dist/es2019/constants.js +2 -2
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography/font-family.js +17 -0
- package/dist/es2019/palettes/typography/font-size-scale.js +53 -0
- package/dist/es2019/palettes/typography/font-weight-scale.js +29 -0
- package/dist/es2019/palettes/typography/index.js +12 -0
- package/dist/es2019/palettes/typography/line-height-scale.js +41 -0
- package/dist/es2019/theme-config.js +8 -0
- package/dist/es2019/tokens/atlassian-typography/font-family.js +13 -0
- package/dist/es2019/tokens/atlassian-typography/font-size.js +31 -0
- package/dist/es2019/tokens/atlassian-typography/font-weight.js +19 -0
- package/dist/es2019/tokens/atlassian-typography/line-height.js +25 -0
- package/dist/es2019/tokens/default/elevation/surface.js +2 -2
- package/dist/es2019/tokens/default/typography/font-family.js +23 -0
- package/dist/es2019/tokens/default/typography/font-size.js +71 -0
- package/dist/es2019/tokens/default/typography/font-weight.js +39 -0
- package/dist/es2019/tokens/default/typography/line-height.js +55 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/font-size-scale.js +127 -0
- package/dist/esm/artifacts/palettes-raw/font-weight-scale.js +67 -0
- package/dist/esm/artifacts/palettes-raw/line-height-scale.js +97 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-dark.d.ts → esm/artifacts/rename-mapping/atlassian-typography.js} +3 -10
- package/dist/esm/artifacts/rename-mapping.js +2 -1
- package/dist/esm/artifacts/token-default-values.js +2 -1
- package/dist/esm/artifacts/token-names.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +427 -0
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/esm/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-token-names.js +28 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-types.js +1 -0
- package/dist/esm/constants.js +2 -2
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography/font-family.js +17 -0
- package/dist/esm/palettes/typography/font-size-scale.js +53 -0
- package/dist/esm/palettes/typography/font-weight-scale.js +29 -0
- package/dist/esm/palettes/typography/index.js +14 -0
- package/dist/esm/palettes/typography/line-height-scale.js +41 -0
- package/dist/esm/theme-config.js +8 -0
- package/dist/esm/tokens/atlassian-typography/font-family.js +13 -0
- package/dist/esm/tokens/atlassian-typography/font-size.js +31 -0
- package/dist/esm/tokens/atlassian-typography/font-weight.js +19 -0
- package/dist/esm/tokens/atlassian-typography/line-height.js +25 -0
- package/dist/esm/tokens/default/elevation/surface.js +2 -2
- package/dist/esm/tokens/default/typography/font-family.js +23 -0
- package/dist/esm/tokens/default/typography/font-size.js +71 -0
- package/dist/esm/tokens/default/typography/font-weight.js +39 -0
- package/dist/esm/tokens/default/typography/line-height.js +55 -0
- package/dist/esm/version.json +1 -1
- package/dist/{types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts → types/artifacts/palettes-raw/font-size-scale.d.ts} +1 -1
- package/dist/types/artifacts/palettes-raw/font-weight-scale.d.ts +22 -0
- package/dist/types/artifacts/palettes-raw/line-height-scale.d.ts +22 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-light.d.ts → types/artifacts/rename-mapping/atlassian-typography.d.ts} +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +20 -0
- package/dist/types/artifacts/token-names.d.ts +22 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +28 -0
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-typography-token-default-values.d.ts +32 -0
- package/dist/types/artifacts/typescript/atlassian-typography-token-names.d.ts +50 -0
- package/dist/types/artifacts/typescript/atlassian-typography-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-typography-types.d.ts +6 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/palettes/typography/font-family.d.ts +5 -0
- package/dist/types/palettes/typography/font-size-scale.d.ts +5 -0
- package/dist/types/palettes/typography/font-weight-scale.d.ts +5 -0
- package/dist/types/palettes/typography/index.d.ts +10 -0
- package/dist/types/palettes/typography/line-height-scale.d.ts +5 -0
- package/dist/types/theme-config.d.ts +5 -3
- package/dist/types/tokens/atlassian-typography/font-family.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/font-size.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/font-weight.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/line-height.d.ts +4 -0
- package/dist/types/tokens/default/elevation/surface.d.ts +2 -2
- package/dist/types/tokens/default/typography/font-family.d.ts +4 -0
- package/dist/types/tokens/default/typography/font-size.d.ts +4 -0
- package/dist/types/tokens/default/typography/font-weight.d.ts +4 -0
- package/dist/types/tokens/default/typography/line-height.d.ts +4 -0
- package/dist/types/types.d.ts +62 -1
- package/package.json +5 -5
- package/report.api.md +57 -4
- package/tmp/api-report-tmp.d.ts +50 -4
- package/dist/types-ts4.0/artifacts/palettes-raw/legacy-palette.d.ts +0 -41
- package/dist/types-ts4.0/artifacts/palettes-raw/palette.d.ts +0 -41
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-spacing.d.ts +0 -26
- package/dist/types-ts4.0/artifacts/rename-mapping.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +0 -372
- package/dist/types-ts4.0/artifacts/token-names.d.ts +0 -376
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +0 -222
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +0 -222
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +0 -174
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +0 -174
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +0 -82
- package/dist/types-ts4.0/artifacts/types-internal.d.ts +0 -2
- package/dist/types-ts4.0/artifacts/types.d.ts +0 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -305
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +0 -88
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-names.d.ts +0 -162
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types.d.ts +0 -6
- package/dist/types-ts4.0/babel-plugin/index.d.ts +0 -1
- package/dist/types-ts4.0/babel-plugin/plugin.d.ts +0 -14
- package/dist/types-ts4.0/constants.d.ts +0 -6
- package/dist/types-ts4.0/entry-points/babel-plugin.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/palettes-raw.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/rename-mapping.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/spacing-raw.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/token-ids.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/token-names.d.ts +0 -2
- package/dist/types-ts4.0/entry-points/tokens-raw.d.ts +0 -2
- package/dist/types-ts4.0/figma/synchronize-figma-tokens.d.ts +0 -24
- package/dist/types-ts4.0/figma/types.d.ts +0 -40
- package/dist/types-ts4.0/get-token.d.ts +0 -25
- package/dist/types-ts4.0/index.d.ts +0 -6
- package/dist/types-ts4.0/palettes/legacy-palette.d.ts +0 -10
- package/dist/types-ts4.0/palettes/palette.d.ts +0 -5
- package/dist/types-ts4.0/palettes/spacing-scale.d.ts +0 -5
- package/dist/types-ts4.0/set-global-theme.d.ts +0 -15
- package/dist/types-ts4.0/theme-change-observer.d.ts +0 -36
- package/dist/types-ts4.0/theme-config.d.ts +0 -53
- package/dist/types-ts4.0/tokens/atlassian-dark/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-dark/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-light/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-light/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-spacing/spacing.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/default/spacing/spacing.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/types.d.ts +0 -798
- package/dist/types-ts4.0/utils/color-detection.d.ts +0 -38
- package/dist/types-ts4.0/utils/token-ids.d.ts +0 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9307ebb86d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9307ebb86d8) - Revert addition of init entry point in favor of an upcoming solution.
|
|
8
|
+
|
|
9
|
+
## 0.11.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`65222c75362`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65222c75362) - - Adds experimental typography tokens for font size, font weight, font family, and line height. These are not intended for public consumption yet.
|
|
14
|
+
- Adds a new init entry point for easily importing all theme CSS files (currently light, dark, spacing, and typography).
|
|
15
|
+
- Spacing and typography tokens are now added to the `:root` rather than requiring a `data-theme` attribute.
|
|
16
|
+
- Removes 'spacing' from the default theme.
|
|
17
|
+
|
|
3
18
|
## 0.10.35
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::8e6cd2970a142e04a52f6072452d0283>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
:root {
|
|
7
7
|
--ds-scale-0: 0;
|
|
8
8
|
--ds-scale-100: 0.5rem;
|
|
9
9
|
--ds-scale-150: 0.75rem;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::578bf227c1d20152d53dbc8e063fff30>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
:root {
|
|
7
|
+
--ds-font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
8
|
+
--ds-font-family-monospace: "SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace;
|
|
9
|
+
--ds-font-size-100: 14px;
|
|
10
|
+
--ds-font-size-200: 16px;
|
|
11
|
+
--ds-font-size-300: 20px;
|
|
12
|
+
--ds-font-size-400: 24px;
|
|
13
|
+
--ds-font-size-500: 29px;
|
|
14
|
+
--ds-font-size-600: 35px;
|
|
15
|
+
--ds-font-size-050: 11px;
|
|
16
|
+
--ds-font-size-075: 12px;
|
|
17
|
+
--ds-font-weight-regular: 400;
|
|
18
|
+
--ds-font-weight-medium: 500;
|
|
19
|
+
--ds-font-weight-semibold: 600;
|
|
20
|
+
--ds-font-weight-bold: 700;
|
|
21
|
+
--ds-font-lineHeight-100: 16px;
|
|
22
|
+
--ds-font-lineHeight-200: 20px;
|
|
23
|
+
--ds-font-lineHeight-300: 24px;
|
|
24
|
+
--ds-font-lineHeight-400: 28px;
|
|
25
|
+
--ds-font-lineHeight-500: 32px;
|
|
26
|
+
--ds-font-lineHeight-600: 40px;
|
|
27
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
+
* @codegen <<SignedSource::8fb1da69b30c7b1fcf40b479e7db7093>>
|
|
11
|
+
* @codegenCommand yarn build tokens
|
|
12
|
+
*/
|
|
13
|
+
var tokens = [{
|
|
14
|
+
"value": "11px",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"group": "scale"
|
|
17
|
+
},
|
|
18
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
19
|
+
"isSource": true,
|
|
20
|
+
"original": {
|
|
21
|
+
"value": "11px",
|
|
22
|
+
"attributes": {
|
|
23
|
+
"group": "scale"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"name": "fontSize.FontSize050",
|
|
27
|
+
"path": ["fontSize", "FontSize050"]
|
|
28
|
+
}, {
|
|
29
|
+
"value": "12px",
|
|
30
|
+
"attributes": {
|
|
31
|
+
"group": "scale"
|
|
32
|
+
},
|
|
33
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
34
|
+
"isSource": true,
|
|
35
|
+
"original": {
|
|
36
|
+
"value": "12px",
|
|
37
|
+
"attributes": {
|
|
38
|
+
"group": "scale"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "fontSize.FontSize075",
|
|
42
|
+
"path": ["fontSize", "FontSize075"]
|
|
43
|
+
}, {
|
|
44
|
+
"value": "14px",
|
|
45
|
+
"attributes": {
|
|
46
|
+
"group": "scale"
|
|
47
|
+
},
|
|
48
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
49
|
+
"isSource": true,
|
|
50
|
+
"original": {
|
|
51
|
+
"value": "14px",
|
|
52
|
+
"attributes": {
|
|
53
|
+
"group": "scale"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"name": "fontSize.FontSize100",
|
|
57
|
+
"path": ["fontSize", "FontSize100"]
|
|
58
|
+
}, {
|
|
59
|
+
"value": "16px",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"group": "scale"
|
|
62
|
+
},
|
|
63
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
64
|
+
"isSource": true,
|
|
65
|
+
"original": {
|
|
66
|
+
"value": "16px",
|
|
67
|
+
"attributes": {
|
|
68
|
+
"group": "scale"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"name": "fontSize.FontSize200",
|
|
72
|
+
"path": ["fontSize", "FontSize200"]
|
|
73
|
+
}, {
|
|
74
|
+
"value": "20px",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"group": "scale"
|
|
77
|
+
},
|
|
78
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
79
|
+
"isSource": true,
|
|
80
|
+
"original": {
|
|
81
|
+
"value": "20px",
|
|
82
|
+
"attributes": {
|
|
83
|
+
"group": "scale"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"name": "fontSize.FontSize300",
|
|
87
|
+
"path": ["fontSize", "FontSize300"]
|
|
88
|
+
}, {
|
|
89
|
+
"value": "24px",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"group": "scale"
|
|
92
|
+
},
|
|
93
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
94
|
+
"isSource": true,
|
|
95
|
+
"original": {
|
|
96
|
+
"value": "24px",
|
|
97
|
+
"attributes": {
|
|
98
|
+
"group": "scale"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"name": "fontSize.FontSize400",
|
|
102
|
+
"path": ["fontSize", "FontSize400"]
|
|
103
|
+
}, {
|
|
104
|
+
"value": "29px",
|
|
105
|
+
"attributes": {
|
|
106
|
+
"group": "scale"
|
|
107
|
+
},
|
|
108
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
109
|
+
"isSource": true,
|
|
110
|
+
"original": {
|
|
111
|
+
"value": "29px",
|
|
112
|
+
"attributes": {
|
|
113
|
+
"group": "scale"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"name": "fontSize.FontSize500",
|
|
117
|
+
"path": ["fontSize", "FontSize500"]
|
|
118
|
+
}, {
|
|
119
|
+
"value": "35px",
|
|
120
|
+
"attributes": {
|
|
121
|
+
"group": "scale"
|
|
122
|
+
},
|
|
123
|
+
"filePath": "src/palettes/font-size-scale.tsx",
|
|
124
|
+
"isSource": true,
|
|
125
|
+
"original": {
|
|
126
|
+
"value": "35px",
|
|
127
|
+
"attributes": {
|
|
128
|
+
"group": "scale"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"name": "fontSize.FontSize600",
|
|
132
|
+
"path": ["fontSize", "FontSize600"]
|
|
133
|
+
}];
|
|
134
|
+
var _default = tokens;
|
|
135
|
+
exports.default = _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
+
* @codegen <<SignedSource::f17d943d430728df0f70ad5321ac80d4>>
|
|
11
|
+
* @codegenCommand yarn build tokens
|
|
12
|
+
*/
|
|
13
|
+
var tokens = [{
|
|
14
|
+
"value": "400",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"group": "scale"
|
|
17
|
+
},
|
|
18
|
+
"filePath": "src/palettes/font-weight-scale.tsx",
|
|
19
|
+
"isSource": true,
|
|
20
|
+
"original": {
|
|
21
|
+
"value": "400",
|
|
22
|
+
"attributes": {
|
|
23
|
+
"group": "scale"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"name": "fontWeight.FontWeightRegular",
|
|
27
|
+
"path": ["fontWeight", "FontWeightRegular"]
|
|
28
|
+
}, {
|
|
29
|
+
"value": "500",
|
|
30
|
+
"attributes": {
|
|
31
|
+
"group": "scale"
|
|
32
|
+
},
|
|
33
|
+
"filePath": "src/palettes/font-weight-scale.tsx",
|
|
34
|
+
"isSource": true,
|
|
35
|
+
"original": {
|
|
36
|
+
"value": "500",
|
|
37
|
+
"attributes": {
|
|
38
|
+
"group": "scale"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "fontWeight.FontWeightMedium",
|
|
42
|
+
"path": ["fontWeight", "FontWeightMedium"]
|
|
43
|
+
}, {
|
|
44
|
+
"value": "600",
|
|
45
|
+
"attributes": {
|
|
46
|
+
"group": "scale"
|
|
47
|
+
},
|
|
48
|
+
"filePath": "src/palettes/font-weight-scale.tsx",
|
|
49
|
+
"isSource": true,
|
|
50
|
+
"original": {
|
|
51
|
+
"value": "600",
|
|
52
|
+
"attributes": {
|
|
53
|
+
"group": "scale"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"name": "fontWeight.FontWeightSemiBold",
|
|
57
|
+
"path": ["fontWeight", "FontWeightSemiBold"]
|
|
58
|
+
}, {
|
|
59
|
+
"value": "700",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"group": "scale"
|
|
62
|
+
},
|
|
63
|
+
"filePath": "src/palettes/font-weight-scale.tsx",
|
|
64
|
+
"isSource": true,
|
|
65
|
+
"original": {
|
|
66
|
+
"value": "700",
|
|
67
|
+
"attributes": {
|
|
68
|
+
"group": "scale"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"name": "fontWeight.FontWeightBold",
|
|
72
|
+
"path": ["fontWeight", "FontWeightBold"]
|
|
73
|
+
}];
|
|
74
|
+
var _default = tokens;
|
|
75
|
+
exports.default = _default;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
+
* @codegen <<SignedSource::918426e4e1a8d46689a9af31434ac590>>
|
|
11
|
+
* @codegenCommand yarn build tokens
|
|
12
|
+
*/
|
|
13
|
+
var tokens = [{
|
|
14
|
+
"value": "16px",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"group": "scale"
|
|
17
|
+
},
|
|
18
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
19
|
+
"isSource": true,
|
|
20
|
+
"original": {
|
|
21
|
+
"value": "16px",
|
|
22
|
+
"attributes": {
|
|
23
|
+
"group": "scale"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"name": "lineHeight.scale.LineHeight100",
|
|
27
|
+
"path": ["lineHeight", "scale", "LineHeight100"]
|
|
28
|
+
}, {
|
|
29
|
+
"value": "20px",
|
|
30
|
+
"attributes": {
|
|
31
|
+
"group": "scale"
|
|
32
|
+
},
|
|
33
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
34
|
+
"isSource": true,
|
|
35
|
+
"original": {
|
|
36
|
+
"value": "20px",
|
|
37
|
+
"attributes": {
|
|
38
|
+
"group": "scale"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"name": "lineHeight.scale.LineHeight200",
|
|
42
|
+
"path": ["lineHeight", "scale", "LineHeight200"]
|
|
43
|
+
}, {
|
|
44
|
+
"value": "24px",
|
|
45
|
+
"attributes": {
|
|
46
|
+
"group": "scale"
|
|
47
|
+
},
|
|
48
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
49
|
+
"isSource": true,
|
|
50
|
+
"original": {
|
|
51
|
+
"value": "24px",
|
|
52
|
+
"attributes": {
|
|
53
|
+
"group": "scale"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"name": "lineHeight.scale.LineHeight300",
|
|
57
|
+
"path": ["lineHeight", "scale", "LineHeight300"]
|
|
58
|
+
}, {
|
|
59
|
+
"value": "28px",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"group": "scale"
|
|
62
|
+
},
|
|
63
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
64
|
+
"isSource": true,
|
|
65
|
+
"original": {
|
|
66
|
+
"value": "28px",
|
|
67
|
+
"attributes": {
|
|
68
|
+
"group": "scale"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"name": "lineHeight.scale.LineHeight400",
|
|
72
|
+
"path": ["lineHeight", "scale", "LineHeight400"]
|
|
73
|
+
}, {
|
|
74
|
+
"value": "32px",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"group": "scale"
|
|
77
|
+
},
|
|
78
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
79
|
+
"isSource": true,
|
|
80
|
+
"original": {
|
|
81
|
+
"value": "32px",
|
|
82
|
+
"attributes": {
|
|
83
|
+
"group": "scale"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"name": "lineHeight.scale.LineHeight500",
|
|
87
|
+
"path": ["lineHeight", "scale", "LineHeight500"]
|
|
88
|
+
}, {
|
|
89
|
+
"value": "40px",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"group": "scale"
|
|
92
|
+
},
|
|
93
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
94
|
+
"isSource": true,
|
|
95
|
+
"original": {
|
|
96
|
+
"value": "40px",
|
|
97
|
+
"attributes": {
|
|
98
|
+
"group": "scale"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"name": "lineHeight.scale.LineHeight600",
|
|
102
|
+
"path": ["lineHeight", "scale", "LineHeight600"]
|
|
103
|
+
}];
|
|
104
|
+
var _default = tokens;
|
|
105
|
+
exports.default = _default;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
10
|
*
|
|
@@ -12,15 +19,9 @@
|
|
|
12
19
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
20
|
* migrate as many of these renames as possible.
|
|
14
21
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
22
|
+
* @codegen <<SignedSource::83ffd10a8ba807f2e4f905994e628e9c>>
|
|
16
23
|
* @codegenCommand yarn build tokens
|
|
17
24
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
path: string;
|
|
22
|
-
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
-
replacement: Token;
|
|
24
|
-
};
|
|
25
|
-
declare const renameMapper: RenameMap[];
|
|
26
|
-
export default renameMapper;
|
|
25
|
+
var renameMapper = [];
|
|
26
|
+
var _default = renameMapper;
|
|
27
|
+
exports.default = _default;
|
|
@@ -13,8 +13,10 @@ var _atlassianLight = _interopRequireDefault(require("./rename-mapping/atlassian
|
|
|
13
13
|
|
|
14
14
|
var _atlassianSpacing = _interopRequireDefault(require("./rename-mapping/atlassian-spacing"));
|
|
15
15
|
|
|
16
|
+
var _atlassianTypography = _interopRequireDefault(require("./rename-mapping/atlassian-typography"));
|
|
17
|
+
|
|
16
18
|
/* eslint-disable @repo/internal/codegen/signed-source-integrity */
|
|
17
19
|
// We're only importing AtlassianLight as both Light and Dark share the same schema
|
|
18
|
-
var renameMapper = [].concat((0, _toConsumableArray2.default)(_atlassianLight.default), (0, _toConsumableArray2.default)(_atlassianSpacing.default));
|
|
20
|
+
var renameMapper = [].concat((0, _toConsumableArray2.default)(_atlassianLight.default), (0, _toConsumableArray2.default)(_atlassianSpacing.default), (0, _toConsumableArray2.default)(_atlassianTypography.default));
|
|
19
21
|
var _default = renameMapper;
|
|
20
22
|
exports.default = _default;
|
|
@@ -13,11 +13,13 @@ var _atlassianLightTokenDefaultValues = _interopRequireDefault(require("./typesc
|
|
|
13
13
|
|
|
14
14
|
var _atlassianSpacingTokenDefaultValues = _interopRequireDefault(require("./typescript/atlassian-spacing-token-default-values"));
|
|
15
15
|
|
|
16
|
+
var _atlassianTypographyTokenDefaultValues = _interopRequireDefault(require("./typescript/atlassian-typography-token-default-values"));
|
|
17
|
+
|
|
16
18
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
19
|
|
|
18
20
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
21
|
|
|
20
|
-
var defaultTokens = _objectSpread(_objectSpread({}, _atlassianLightTokenDefaultValues.default), _atlassianSpacingTokenDefaultValues.default);
|
|
22
|
+
var defaultTokens = _objectSpread(_objectSpread(_objectSpread({}, _atlassianLightTokenDefaultValues.default), _atlassianSpacingTokenDefaultValues.default), _atlassianTypographyTokenDefaultValues.default);
|
|
21
23
|
|
|
22
24
|
var _default = defaultTokens;
|
|
23
25
|
exports.default = _default;
|
|
@@ -13,11 +13,13 @@ var _atlassianLightTokenNames = _interopRequireDefault(require("./typescript/atl
|
|
|
13
13
|
|
|
14
14
|
var _atlassianSpacingTokenNames = _interopRequireDefault(require("./typescript/atlassian-spacing-token-names"));
|
|
15
15
|
|
|
16
|
+
var _atlassianTypographyTokenNames = _interopRequireDefault(require("./typescript/atlassian-typography-token-names"));
|
|
17
|
+
|
|
16
18
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17
19
|
|
|
18
20
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
19
21
|
|
|
20
|
-
var tokens = _objectSpread(_objectSpread({}, _atlassianLightTokenNames.default), _atlassianSpacingTokenNames.default);
|
|
22
|
+
var tokens = _objectSpread(_objectSpread(_objectSpread({}, _atlassianLightTokenNames.default), _atlassianSpacingTokenNames.default), _atlassianTypographyTokenNames.default);
|
|
21
23
|
|
|
22
24
|
var _default = tokens;
|
|
23
25
|
exports.default = _default;
|