@atlaskit/tokens 1.14.2 → 1.15.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 (146) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  3. package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  4. package/dist/cjs/artifacts/palettes-raw/typography-palette.js +277 -37
  5. package/dist/cjs/artifacts/theme-import-map.js +10 -4
  6. package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +13 -0
  7. package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
  8. package/dist/cjs/artifacts/token-default-values.js +23 -2
  9. package/dist/cjs/artifacts/token-names.js +22 -1
  10. package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1084 -0
  11. package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +465 -253
  12. package/dist/cjs/entry-points/tokens-raw.js +2 -2
  13. package/dist/cjs/get-token-value.js +1 -1
  14. package/dist/cjs/get-token.js +1 -1
  15. package/dist/cjs/palettes/typography-palette.js +121 -16
  16. package/dist/cjs/theme-config.js +12 -4
  17. package/dist/cjs/tokens/atlassian-typography/font-family.js +11 -2
  18. package/dist/cjs/tokens/atlassian-typography/theme.js +140 -0
  19. package/dist/cjs/tokens/atlassian-typography/utils.js +29 -0
  20. package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +29 -0
  21. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.js +8 -8
  22. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.js +4 -4
  23. package/dist/cjs/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  24. package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +140 -0
  25. package/dist/cjs/tokens/atlassian-typography-adg3/utils.js +29 -0
  26. package/dist/cjs/tokens/default/typography/font-family.js +24 -0
  27. package/dist/cjs/tokens/default/typography/font.js +133 -0
  28. package/dist/cjs/tokens/default/typography/letter-spacing.js +54 -0
  29. package/dist/cjs/tokens/default/typography/line-height.js +8 -0
  30. package/dist/es2019/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  31. package/dist/es2019/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  32. package/dist/es2019/artifacts/palettes-raw/typography-palette.js +277 -37
  33. package/dist/es2019/artifacts/theme-import-map.js +6 -4
  34. package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +50 -0
  35. package/dist/es2019/artifacts/themes/atlassian-typography.js +23 -21
  36. package/dist/es2019/artifacts/token-default-values.js +23 -2
  37. package/dist/es2019/artifacts/token-names.js +22 -1
  38. package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  39. package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +465 -253
  40. package/dist/es2019/entry-points/tokens-raw.js +1 -1
  41. package/dist/es2019/get-token-value.js +1 -1
  42. package/dist/es2019/get-token.js +1 -1
  43. package/dist/es2019/palettes/typography-palette.js +123 -17
  44. package/dist/es2019/theme-config.js +12 -4
  45. package/dist/es2019/tokens/atlassian-typography/font-family.js +11 -2
  46. package/dist/es2019/tokens/atlassian-typography/theme.js +133 -0
  47. package/dist/es2019/tokens/atlassian-typography/utils.js +22 -0
  48. package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +22 -0
  49. package/dist/es2019/tokens/atlassian-typography-adg3/font-size.js +31 -0
  50. package/dist/es2019/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  51. package/dist/es2019/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  52. package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +133 -0
  53. package/dist/es2019/tokens/atlassian-typography-adg3/utils.js +22 -0
  54. package/dist/es2019/tokens/default/typography/font-family.js +24 -0
  55. package/dist/es2019/tokens/default/typography/font.js +126 -0
  56. package/dist/es2019/tokens/default/typography/letter-spacing.js +47 -0
  57. package/dist/es2019/tokens/default/typography/line-height.js +8 -0
  58. package/dist/esm/artifacts/atlassian-dark-token-value-for-contrast-check.js +2 -2
  59. package/dist/esm/artifacts/atlassian-light-token-value-for-contrast-check.js +2 -2
  60. package/dist/esm/artifacts/palettes-raw/typography-palette.js +277 -37
  61. package/dist/esm/artifacts/theme-import-map.js +8 -4
  62. package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +6 -0
  63. package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
  64. package/dist/esm/artifacts/token-default-values.js +23 -2
  65. package/dist/esm/artifacts/token-names.js +22 -1
  66. package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1077 -0
  67. package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +465 -253
  68. package/dist/esm/entry-points/tokens-raw.js +1 -1
  69. package/dist/esm/get-token-value.js +1 -1
  70. package/dist/esm/get-token.js +1 -1
  71. package/dist/esm/palettes/typography-palette.js +121 -16
  72. package/dist/esm/theme-config.js +12 -4
  73. package/dist/esm/tokens/atlassian-typography/font-family.js +11 -2
  74. package/dist/esm/tokens/atlassian-typography/theme.js +133 -0
  75. package/dist/esm/tokens/atlassian-typography/utils.js +22 -0
  76. package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +22 -0
  77. package/dist/esm/tokens/atlassian-typography-adg3/font-size.js +31 -0
  78. package/dist/esm/tokens/atlassian-typography-adg3/font-weight.js +19 -0
  79. package/dist/esm/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.js +3 -0
  80. package/dist/esm/tokens/atlassian-typography-adg3/theme.js +133 -0
  81. package/dist/esm/tokens/atlassian-typography-adg3/utils.js +22 -0
  82. package/dist/esm/tokens/default/typography/font-family.js +24 -0
  83. package/dist/esm/tokens/default/typography/font.js +126 -0
  84. package/dist/esm/tokens/default/typography/letter-spacing.js +47 -0
  85. package/dist/esm/tokens/default/typography/line-height.js +8 -0
  86. package/dist/types/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  87. package/dist/types/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  88. package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  89. package/dist/types/artifacts/theme-import-map.d.ts +1 -1
  90. package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  91. package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
  92. package/dist/types/artifacts/token-default-values.d.ts +23 -2
  93. package/dist/types/artifacts/token-names.d.ts +43 -1
  94. package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  95. package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  96. package/dist/types/artifacts/types-internal.d.ts +2 -2
  97. package/dist/types/artifacts/types.d.ts +2 -2
  98. package/dist/types/entry-points/tokens-raw.d.ts +1 -1
  99. package/dist/types/palettes/typography-palette.d.ts +8 -6
  100. package/dist/types/theme-config.d.ts +4 -4
  101. package/dist/types/tokens/atlassian-typography/theme.d.ts +10 -0
  102. package/dist/types/tokens/atlassian-typography/utils.d.ts +4 -0
  103. package/dist/types/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  104. package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  105. package/dist/types/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
  106. package/dist/types/tokens/default/typography/font.d.ts +20 -0
  107. package/dist/types/tokens/default/typography/letter-spacing.d.ts +4 -0
  108. package/dist/types/types.d.ts +111 -22
  109. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +2 -2
  110. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +2 -2
  111. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
  112. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
  113. package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +7 -0
  114. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
  115. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +23 -2
  116. package/dist/types-ts4.5/artifacts/token-names.d.ts +43 -1
  117. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +101 -0
  118. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +111 -3
  119. package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
  120. package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
  121. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +1 -1
  122. package/dist/types-ts4.5/palettes/typography-palette.d.ts +8 -6
  123. package/dist/types-ts4.5/theme-config.d.ts +5 -3
  124. package/dist/types-ts4.5/tokens/atlassian-typography/theme.d.ts +10 -0
  125. package/dist/types-ts4.5/tokens/atlassian-typography/utils.d.ts +4 -0
  126. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/font-family.d.ts +4 -0
  127. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +10 -0
  128. package/dist/types-ts4.5/tokens/atlassian-typography-adg3/utils.d.ts +4 -0
  129. package/dist/types-ts4.5/tokens/default/typography/font.d.ts +20 -0
  130. package/dist/types-ts4.5/tokens/default/typography/letter-spacing.d.ts +4 -0
  131. package/dist/types-ts4.5/types.d.ts +111 -22
  132. package/figma/atlassian-typography-adg3.json +150 -0
  133. package/figma/atlassian-typography.json +19 -82
  134. package/package.json +1 -1
  135. package/report.api.md +60 -2
  136. package/tmp/api-report-tmp.d.ts +49 -7
  137. package/dist/es2019/tokens/atlassian-typography/font-size.js +0 -31
  138. package/dist/es2019/tokens/atlassian-typography/font-weight.js +0 -19
  139. package/dist/esm/tokens/atlassian-typography/font-size.js +0 -31
  140. package/dist/esm/tokens/atlassian-typography/font-weight.js +0 -19
  141. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  142. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  143. /package/dist/types/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
  144. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-size.d.ts +0 -0
  145. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/font-weight.d.ts +0 -0
  146. /package/dist/types-ts4.5/tokens/{atlassian-typography → atlassian-typography-adg3}/line-height.d.ts +0 -0
@@ -0,0 +1,10 @@
1
+ import type { FontFamilyBaseToken, FontSizeBaseToken, FontWeightBaseToken, LetterSpacingBaseToken, LineHeightBaseToken } from '../../palettes/typography-palette';
2
+ import type { TypographyTokenSchema, ValueSchema } from '../../types';
3
+ declare const typography: ValueSchema<TypographyTokenSchema<{
4
+ fontWeight: FontWeightBaseToken;
5
+ fontFamily: FontFamilyBaseToken;
6
+ fontSize: FontSizeBaseToken;
7
+ lineHeight: LineHeightBaseToken;
8
+ letterSpacing: LetterSpacingBaseToken;
9
+ }>>;
10
+ export default typography;
@@ -0,0 +1,4 @@
1
+ import { LetterSpacingBaseToken as BaseToken } from '../../palettes/typography-palette';
2
+ import { LetterSpacingTokenSchema, ValueSchema } from '../../types';
3
+ declare const font: ValueSchema<LetterSpacingTokenSchema<BaseToken>>;
4
+ export default font;
@@ -0,0 +1,4 @@
1
+ import { FontFamilyBaseToken as BaseToken } from '../../palettes/typography-palette';
2
+ import { FontFamilyTokenSchema, ValueSchema } from '../../types';
3
+ declare const font: ValueSchema<FontFamilyTokenSchema<BaseToken>>;
4
+ export default font;
@@ -0,0 +1,10 @@
1
+ import type { FontFamilyBaseToken, FontSizeBaseToken, FontWeightBaseToken, LetterSpacingBaseToken, LineHeightBaseToken } from '../../palettes/typography-palette';
2
+ import type { TypographyTokenSchema, ValueSchema } from '../../types';
3
+ declare const typography: ValueSchema<TypographyTokenSchema<{
4
+ fontWeight: FontWeightBaseToken;
5
+ fontFamily: FontFamilyBaseToken;
6
+ fontSize: FontSizeBaseToken;
7
+ lineHeight: LineHeightBaseToken;
8
+ letterSpacing: LetterSpacingBaseToken;
9
+ }>>;
10
+ export default typography;
@@ -0,0 +1,4 @@
1
+ import { LetterSpacingBaseToken as BaseToken } from '../../palettes/typography-palette';
2
+ import { LetterSpacingTokenSchema, ValueSchema } from '../../types';
3
+ declare const font: ValueSchema<LetterSpacingTokenSchema<BaseToken>>;
4
+ export default font;
@@ -0,0 +1,20 @@
1
+ import type { AttributeSchema, TypographyTokenSchema } from '../../../types';
2
+ /**
3
+ *
4
+ * @example
5
+ * ```js
6
+ * {
7
+ * body: {
8
+ * value: {
9
+ * fontWeight: 500,
10
+ * fontSize: "16px",
11
+ * lineHeight: "22px",
12
+ * fontFamily: "Helvetica",
13
+ * fontStyle: "italic"
14
+ * },
15
+ * type: "typography"
16
+ *}
17
+ * ```
18
+ */
19
+ declare const font: AttributeSchema<TypographyTokenSchema<any>>;
20
+ export default font;
@@ -0,0 +1,4 @@
1
+ import { LetterSpacingBaseToken as BaseToken } from '../../../palettes/typography-palette';
2
+ import type { AttributeSchema, LetterSpacingTokenSchema } from '../../../types';
3
+ declare const font: AttributeSchema<LetterSpacingTokenSchema<BaseToken>>;
4
+ export default font;
@@ -1,7 +1,7 @@
1
1
  import type { InternalTokenIds } from './artifacts/types-internal';
2
2
  import type { ShapePaletteToken } from './palettes/shape-palette';
3
3
  import type { SpacingPaletteToken } from './palettes/spacing-scale';
4
- export type Groups = 'raw' | 'paint' | 'shadow' | 'palette' | 'opacity' | 'spacing' | 'shape' | 'typography' | 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight';
4
+ export type Groups = 'raw' | 'paint' | 'shadow' | 'palette' | 'opacity' | 'spacing' | 'shape' | 'typography' | 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing';
5
5
  export type ActiveTokenState = 'active';
6
6
  export type DeprecatedTokenState = 'deprecated';
7
7
  export type DeletedTokenState = 'deleted';
@@ -108,7 +108,8 @@ export type FontSizeToken<BaseToken> = DesignToken<BaseToken, 'fontSize'>;
108
108
  export type FontWeightToken<BaseToken> = DesignToken<BaseToken, 'fontWeight'>;
109
109
  export type FontFamilyToken<BaseToken> = DesignToken<BaseToken, 'fontFamily'>;
110
110
  export type LineHeightToken<BaseToken> = DesignToken<BaseToken, 'lineHeight'>;
111
- export type TypographyToken<BaseToken> = DesignToken<BaseToken, 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight'>;
111
+ export type LetterSpacingToken<BaseToken> = DesignToken<BaseToken, 'letterSpacing'>;
112
+ export type DeprecatedTypographyToken<BaseToken> = DesignToken<BaseToken, 'fontSize' | 'fontWeight' | 'fontFamily' | 'lineHeight' | 'letterSpacing'>;
112
113
  export type RawToken = DesignToken<string, 'raw'>;
113
114
  export interface PaletteColorTokenSchema<PaletteValues extends string> {
114
115
  value: {
@@ -145,6 +146,9 @@ export interface FontFamilyPaletteTokenSchema<ScaleValues extends string> {
145
146
  export interface LineHeightScaleTokenSchema<ScaleValues extends string> {
146
147
  lineHeight: Record<ScaleValues, TypographySchemaValue>;
147
148
  }
149
+ export interface LetterSpacingScaleTokenSchema<ScaleValues extends string> {
150
+ letterSpacing: Record<ScaleValues, TypographySchemaValue>;
151
+ }
148
152
  export interface BackgroundColorTokenSchema<BaseToken> {
149
153
  color: {
150
154
  blanket: {
@@ -800,6 +804,56 @@ export interface SpacingTokenSchema {
800
804
  '1000': SpacingToken;
801
805
  };
802
806
  }
807
+ /**
808
+ * Typography tokens are complex multi-palette ouputs
809
+ */
810
+ export type TypographyToken<TPalette extends {
811
+ fontWeight: string;
812
+ fontSize: string;
813
+ lineHeight: string;
814
+ fontFamily: string;
815
+ letterSpacing: string;
816
+ }> = DesignToken<{
817
+ fontStyle: 'normal';
818
+ fontWeight: TPalette['fontWeight'];
819
+ fontFamily: TPalette['fontFamily'];
820
+ fontSize: TPalette['fontSize'];
821
+ lineHeight: TPalette['lineHeight'];
822
+ letterSpacing: TPalette['letterSpacing'];
823
+ }, 'typography'>;
824
+ /**
825
+ * The semantic interface for typography tokens
826
+ */
827
+ export interface TypographyTokenSchema<TPalette extends {
828
+ fontWeight: string;
829
+ fontSize: string;
830
+ lineHeight: string;
831
+ fontFamily: string;
832
+ letterSpacing: string;
833
+ }> {
834
+ font: {
835
+ heading: {
836
+ xxl: TypographyToken<TPalette>;
837
+ xl: TypographyToken<TPalette>;
838
+ lg: TypographyToken<TPalette>;
839
+ md: TypographyToken<TPalette>;
840
+ sm: TypographyToken<TPalette>;
841
+ xs: TypographyToken<TPalette>;
842
+ xxs: TypographyToken<TPalette>;
843
+ };
844
+ ui: {
845
+ '[default]': TypographyToken<TPalette>;
846
+ sm: TypographyToken<TPalette>;
847
+ };
848
+ body: {
849
+ '[default]': TypographyToken<TPalette>;
850
+ sm: TypographyToken<TPalette>;
851
+ };
852
+ code: {
853
+ '[default]': TypographyToken<TPalette>;
854
+ };
855
+ };
856
+ }
803
857
  export interface ShapeTokenSchema {
804
858
  border: {
805
859
  width: {
@@ -819,47 +873,82 @@ export interface ShapeTokenSchema {
819
873
  };
820
874
  };
821
875
  }
876
+ /**
877
+ * @private
878
+ * @deprecated probably
879
+ */
822
880
  export interface FontSizeTokenSchema<BaseToken> {
823
881
  font: {
824
882
  size: {
825
- '050': TypographyToken<BaseToken>;
826
- '075': TypographyToken<BaseToken>;
827
- '100': TypographyToken<BaseToken>;
828
- '200': TypographyToken<BaseToken>;
829
- '300': TypographyToken<BaseToken>;
830
- '400': TypographyToken<BaseToken>;
831
- '500': TypographyToken<BaseToken>;
832
- '600': TypographyToken<BaseToken>;
883
+ '050': DeprecatedTypographyToken<BaseToken>;
884
+ '075': DeprecatedTypographyToken<BaseToken>;
885
+ '100': DeprecatedTypographyToken<BaseToken>;
886
+ '200': DeprecatedTypographyToken<BaseToken>;
887
+ '300': DeprecatedTypographyToken<BaseToken>;
888
+ '400': DeprecatedTypographyToken<BaseToken>;
889
+ '500': DeprecatedTypographyToken<BaseToken>;
890
+ '600': DeprecatedTypographyToken<BaseToken>;
833
891
  };
834
892
  };
835
893
  }
894
+ /**
895
+ * @private
896
+ * @deprecated probably
897
+ */
836
898
  export interface FontWeightTokenSchema<BaseToken> {
837
899
  font: {
838
900
  weight: {
839
- regular: TypographyToken<BaseToken>;
840
- medium: TypographyToken<BaseToken>;
841
- semibold: TypographyToken<BaseToken>;
842
- bold: TypographyToken<BaseToken>;
901
+ regular: DeprecatedTypographyToken<BaseToken>;
902
+ medium: DeprecatedTypographyToken<BaseToken>;
903
+ semibold: DeprecatedTypographyToken<BaseToken>;
904
+ bold: DeprecatedTypographyToken<BaseToken>;
843
905
  };
844
906
  };
845
907
  }
846
908
  export interface FontFamilyTokenSchema<BaseToken> {
847
909
  font: {
848
910
  family: {
849
- sans: TypographyToken<BaseToken>;
850
- monospace: TypographyToken<BaseToken>;
911
+ /**
912
+ * @private
913
+ * @deprecated
914
+ */
915
+ sans: DeprecatedTypographyToken<BaseToken>;
916
+ /**
917
+ * @private
918
+ * @deprecated
919
+ */
920
+ monospace: DeprecatedTypographyToken<BaseToken>;
921
+ product: DeprecatedTypographyToken<BaseToken>;
922
+ brand: DeprecatedTypographyToken<BaseToken>;
923
+ code: DeprecatedTypographyToken<BaseToken>;
851
924
  };
852
925
  };
853
926
  }
927
+ /**
928
+ * @private
929
+ * @deprecated probably
930
+ */
854
931
  export interface LineHeightTokenSchema<BaseToken> {
855
932
  font: {
856
933
  lineHeight: {
857
- '100': TypographyToken<BaseToken>;
858
- '200': TypographyToken<BaseToken>;
859
- '300': TypographyToken<BaseToken>;
860
- '400': TypographyToken<BaseToken>;
861
- '500': TypographyToken<BaseToken>;
862
- '600': TypographyToken<BaseToken>;
934
+ '1': DeprecatedTypographyToken<BaseToken>;
935
+ '100': DeprecatedTypographyToken<BaseToken>;
936
+ '200': DeprecatedTypographyToken<BaseToken>;
937
+ '300': DeprecatedTypographyToken<BaseToken>;
938
+ '400': DeprecatedTypographyToken<BaseToken>;
939
+ '500': DeprecatedTypographyToken<BaseToken>;
940
+ '600': DeprecatedTypographyToken<BaseToken>;
941
+ };
942
+ };
943
+ }
944
+ export interface LetterSpacingTokenSchema<BaseToken> {
945
+ font: {
946
+ letterSpacing: {
947
+ '0': DeprecatedTypographyToken<BaseToken>;
948
+ '100': DeprecatedTypographyToken<BaseToken>;
949
+ '200': DeprecatedTypographyToken<BaseToken>;
950
+ '300': DeprecatedTypographyToken<BaseToken>;
951
+ '400': DeprecatedTypographyToken<BaseToken>;
863
952
  };
864
953
  };
865
954
  }
@@ -0,0 +1,150 @@
1
+ {
2
+ "name": "Typography adg3",
3
+ "tokens": {
4
+ "Typography adg3/font.family.code": {
5
+ "attributes": {
6
+ "group": "fontFamily",
7
+ "state": "experimental",
8
+ "introduced": "1.14.0",
9
+ "description": "Helpful guidance goes here"
10
+ },
11
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
12
+ },
13
+ "Typography adg3/font.family.monospace": {
14
+ "attributes": {
15
+ "group": "fontFamily",
16
+ "state": "active",
17
+ "introduced": "0.10.33",
18
+ "description": "Helpful guidance goes here"
19
+ },
20
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
21
+ },
22
+ "Typography adg3/font.family.product": {
23
+ "attributes": {
24
+ "group": "fontFamily",
25
+ "state": "experimental",
26
+ "introduced": "1.14.0",
27
+ "description": "Helpful guidance goes here"
28
+ },
29
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
30
+ },
31
+ "Typography adg3/font.family.sans": {
32
+ "attributes": {
33
+ "group": "fontFamily",
34
+ "state": "active",
35
+ "introduced": "0.10.33",
36
+ "description": "Helpful guidance goes here"
37
+ },
38
+ "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif"
39
+ },
40
+ "Typography adg3/font.family.brand": {
41
+ "attributes": {
42
+ "group": "fontFamily",
43
+ "state": "experimental",
44
+ "introduced": "1.14.0",
45
+ "description": "Helpful guidance goes here"
46
+ },
47
+ "value": "Charlie Sans"
48
+ },
49
+ "Typography adg3/font.weight.bold": {
50
+ "attributes": {
51
+ "group": "fontWeight",
52
+ "state": "active",
53
+ "introduced": "0.10.33",
54
+ "description": "Helpful guidance goes here"
55
+ },
56
+ "value": "700"
57
+ },
58
+ "Typography adg3/font.weight.medium": {
59
+ "attributes": {
60
+ "group": "fontWeight",
61
+ "state": "active",
62
+ "introduced": "0.10.33",
63
+ "description": "Helpful guidance goes here"
64
+ },
65
+ "value": "500"
66
+ },
67
+ "Typography adg3/font.weight.regular": {
68
+ "attributes": {
69
+ "group": "fontWeight",
70
+ "state": "active",
71
+ "introduced": "0.10.33",
72
+ "description": "Helpful guidance goes here"
73
+ },
74
+ "value": "400"
75
+ },
76
+ "Typography adg3/font.weight.semibold": {
77
+ "attributes": {
78
+ "group": "fontWeight",
79
+ "state": "active",
80
+ "introduced": "0.10.33",
81
+ "description": "Helpful guidance goes here"
82
+ },
83
+ "value": "600"
84
+ },
85
+ "Typography adg3/font.lineHeight.1": {
86
+ "attributes": {
87
+ "group": "lineHeight",
88
+ "state": "active",
89
+ "introduced": "0.10.33",
90
+ "description": "Used single-line text."
91
+ },
92
+ "value": "1"
93
+ },
94
+ "Typography adg3/font.lineHeight.100": {
95
+ "attributes": {
96
+ "group": "lineHeight",
97
+ "state": "active",
98
+ "introduced": "0.10.33",
99
+ "description": "Helpful guidance goes here"
100
+ },
101
+ "value": 16
102
+ },
103
+ "Typography adg3/font.lineHeight.200": {
104
+ "attributes": {
105
+ "group": "lineHeight",
106
+ "state": "active",
107
+ "introduced": "0.10.33",
108
+ "description": "Helpful guidance goes here"
109
+ },
110
+ "value": 20
111
+ },
112
+ "Typography adg3/font.lineHeight.300": {
113
+ "attributes": {
114
+ "group": "lineHeight",
115
+ "state": "active",
116
+ "introduced": "0.10.33",
117
+ "description": "Helpful guidance goes here"
118
+ },
119
+ "value": 24
120
+ },
121
+ "Typography adg3/font.lineHeight.400": {
122
+ "attributes": {
123
+ "group": "lineHeight",
124
+ "state": "active",
125
+ "introduced": "0.10.33",
126
+ "description": "Helpful guidance goes here"
127
+ },
128
+ "value": 28
129
+ },
130
+ "Typography adg3/font.lineHeight.500": {
131
+ "attributes": {
132
+ "group": "lineHeight",
133
+ "state": "active",
134
+ "introduced": "0.10.33",
135
+ "description": "Helpful guidance goes here"
136
+ },
137
+ "value": 32
138
+ },
139
+ "Typography adg3/font.lineHeight.600": {
140
+ "attributes": {
141
+ "group": "lineHeight",
142
+ "state": "active",
143
+ "introduced": "0.10.33",
144
+ "description": "Helpful guidance goes here"
145
+ },
146
+ "value": 40
147
+ }
148
+ },
149
+ "renameMap": {}
150
+ }
@@ -1,113 +1,50 @@
1
1
  {
2
2
  "name": "Typography",
3
3
  "tokens": {
4
- "Typography/font.family.monospace": {
4
+ "Typography/font.family.code": {
5
5
  "attributes": {
6
6
  "group": "fontFamily",
7
- "state": "active",
8
- "introduced": "0.10.33",
7
+ "state": "experimental",
8
+ "introduced": "1.14.0",
9
9
  "description": "Helpful guidance goes here"
10
10
  },
11
- "value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace"
11
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
12
12
  },
13
- "Typography/font.family.sans": {
13
+ "Typography/font.family.monospace": {
14
14
  "attributes": {
15
15
  "group": "fontFamily",
16
16
  "state": "active",
17
17
  "introduced": "0.10.33",
18
18
  "description": "Helpful guidance goes here"
19
19
  },
20
- "value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif"
21
- },
22
- "Typography/font.weight.bold": {
23
- "attributes": {
24
- "group": "fontWeight",
25
- "state": "active",
26
- "introduced": "0.10.33",
27
- "description": "Helpful guidance goes here"
28
- },
29
- "value": "700"
30
- },
31
- "Typography/font.weight.medium": {
32
- "attributes": {
33
- "group": "fontWeight",
34
- "state": "active",
35
- "introduced": "0.10.33",
36
- "description": "Helpful guidance goes here"
37
- },
38
- "value": "500"
39
- },
40
- "Typography/font.weight.regular": {
41
- "attributes": {
42
- "group": "fontWeight",
43
- "state": "active",
44
- "introduced": "0.10.33",
45
- "description": "Helpful guidance goes here"
46
- },
47
- "value": "400"
20
+ "value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
48
21
  },
49
- "Typography/font.weight.semibold": {
22
+ "Typography/font.family.product": {
50
23
  "attributes": {
51
- "group": "fontWeight",
52
- "state": "active",
53
- "introduced": "0.10.33",
54
- "description": "Helpful guidance goes here"
55
- },
56
- "value": "600"
57
- },
58
- "Typography/font.lineHeight.100": {
59
- "attributes": {
60
- "group": "lineHeight",
61
- "state": "active",
62
- "introduced": "0.10.33",
63
- "description": "Helpful guidance goes here"
64
- },
65
- "value": 16
66
- },
67
- "Typography/font.lineHeight.200": {
68
- "attributes": {
69
- "group": "lineHeight",
70
- "state": "active",
71
- "introduced": "0.10.33",
72
- "description": "Helpful guidance goes here"
73
- },
74
- "value": 20
75
- },
76
- "Typography/font.lineHeight.300": {
77
- "attributes": {
78
- "group": "lineHeight",
79
- "state": "active",
80
- "introduced": "0.10.33",
81
- "description": "Helpful guidance goes here"
82
- },
83
- "value": 24
84
- },
85
- "Typography/font.lineHeight.400": {
86
- "attributes": {
87
- "group": "lineHeight",
88
- "state": "active",
89
- "introduced": "0.10.33",
24
+ "group": "fontFamily",
25
+ "state": "experimental",
26
+ "introduced": "1.14.0",
90
27
  "description": "Helpful guidance goes here"
91
28
  },
92
- "value": 28
29
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
93
30
  },
94
- "Typography/font.lineHeight.500": {
31
+ "Typography/font.family.sans": {
95
32
  "attributes": {
96
- "group": "lineHeight",
33
+ "group": "fontFamily",
97
34
  "state": "active",
98
35
  "introduced": "0.10.33",
99
36
  "description": "Helpful guidance goes here"
100
37
  },
101
- "value": 32
38
+ "value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
102
39
  },
103
- "Typography/font.lineHeight.600": {
40
+ "Typography/font.family.brand": {
104
41
  "attributes": {
105
- "group": "lineHeight",
106
- "state": "active",
107
- "introduced": "0.10.33",
42
+ "group": "fontFamily",
43
+ "state": "experimental",
44
+ "introduced": "1.14.0",
108
45
  "description": "Helpful guidance goes here"
109
46
  },
110
- "value": 40
47
+ "value": "Charlie Sans"
111
48
  }
112
49
  },
113
50
  "renameMap": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.14.2",
3
+ "version": "1.15.0",
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/"