@genesislcap/foundation-zero 13.7.0 → 14.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAMhE,eAAO,MAAM,YAAY,EAAE,kBA6C1B,CAAC"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAUhE,eAAO,MAAM,YAAY,EAAE,kBAuD1B,CAAC"}
@@ -1,2 +1,4 @@
1
1
  export declare const bodyFontValue = "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif";
2
+ export declare const typeRampBaseFontSizeValue: string;
3
+ export declare const typeRampBaseLineHeightValue: string;
2
4
  //# sourceMappingURL=typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/typography.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,uDAAmB,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/typography.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,uDAAmB,CAAC;AAC9C,eAAO,MAAM,yBAAyB,QAErC,CAAC;AACF,eAAO,MAAM,2BAA2B,QAEvC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { accentPaletteValue, baseLayerLuminanceValue, neutralPaletteValue } from '../values/color';
2
2
  import { strokeWidthValue } from './misc';
3
3
  import { designUnitValue, densityValue, controlCornerRadiusValue } from './sizing';
4
- import { bodyFontValue } from './typography';
4
+ import { bodyFontValue, typeRampBaseFontSizeValue, typeRampBaseLineHeightValue, } from './typography';
5
5
  export const designTokens = {
6
6
  design_tokens: {
7
7
  color: {
@@ -20,6 +20,16 @@ export const designTokens = {
20
20
  $type: 'fontFamily',
21
21
  },
22
22
  },
23
+ typography: {
24
+ baseFontSize: {
25
+ $value: typeRampBaseFontSizeValue,
26
+ $type: 'dimension',
27
+ },
28
+ baseLineHeight: {
29
+ $value: typeRampBaseLineHeightValue,
30
+ $type: 'dimension',
31
+ },
32
+ },
23
33
  mode: {
24
34
  luminance: {
25
35
  $value: baseLayerLuminanceValue,
@@ -1,2 +1,5 @@
1
+ import { typeRampBaseFontSize, typeRampBaseLineHeight } from '@microsoft/fast-components';
1
2
  import { robotoFontFamily } from '../styles/external/roboto-font';
2
3
  export const bodyFontValue = robotoFontFamily;
4
+ export const typeRampBaseFontSizeValue = typeRampBaseFontSize.getValueFor(typeRampBaseFontSize.appliedTo[0]);
5
+ export const typeRampBaseLineHeightValue = typeRampBaseLineHeight.getValueFor(typeRampBaseLineHeight.appliedTo[0]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "13.7.0",
4
+ "version": "14.0.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -95,9 +95,9 @@
95
95
  "webpack-merge": "^5.7.3"
96
96
  },
97
97
  "dependencies": {
98
- "@genesislcap/foundation-comms": "^13.7.0",
99
- "@genesislcap/foundation-ui": "^13.7.0",
100
- "@genesislcap/foundation-utils": "^13.7.0",
98
+ "@genesislcap/foundation-comms": "^14.0.0",
99
+ "@genesislcap/foundation-ui": "^14.0.0",
100
+ "@genesislcap/foundation-utils": "^14.0.0",
101
101
  "@microsoft/fast-colors": "^5.1.4",
102
102
  "@microsoft/fast-components": "^2.21.3",
103
103
  "@microsoft/fast-element": "^1.7.0",
@@ -109,5 +109,5 @@
109
109
  "publishConfig": {
110
110
  "access": "public"
111
111
  },
112
- "gitHead": "0d725fd8628d9e35f7ac36f15f1e65aac897ddae"
112
+ "gitHead": "2ad7754109cc1e59fb1623f29fee3df6c14b43e2"
113
113
  }