@genesislcap/foundation-zero 11.3.0 → 11.3.2-alpha-b33a1ce.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,6 +1,6 @@
1
1
  import { FontStyle, FontWeight } from '@genesislcap/foundation-utils';
2
2
  export declare const robotoFontFaces = "\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')\n";
3
3
  export declare const loadRobotoFontFaces: () => void;
4
- export declare const robotoFontFamily = "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif;";
4
+ export declare const robotoFontFamily = "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif";
5
5
  export declare const mixinRobotoFont: (style?: FontStyle, weight?: FontWeight) => string;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/_config/styles/external/roboto-font/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAA+B,MAAM,+BAA+B,CAAC;AAEnG,eAAO,MAAM,eAAe,wKAE3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAE/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,wDAAsD,CAAC;AAEpF,eAAO,MAAM,eAAe,WACnB,SAAS,WACR,UAAU,WAC8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/_config/styles/external/roboto-font/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAA+B,MAAM,+BAA+B,CAAC;AAEnG,eAAO,MAAM,eAAe,wKAE3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAE/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,uDAAqD,CAAC;AAEnF,eAAO,MAAM,eAAe,WACnB,SAAS,WACR,UAAU,WAC8B,CAAC"}
@@ -1,3 +1,2 @@
1
- export * from './custom';
2
1
  export * from './default';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const bodyFontValue = "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif;";
1
+ export declare const bodyFontValue = "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif";
2
2
  //# 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,wDAAmB,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../src/_config/values/typography.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,uDAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"design-system-provider.styles.d.ts","sourceRoot":"","sources":["../../../src/design-system-provider/design-system-provider.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAyD3E,eAAO,MAAM,0BAA0B,YAAa,wBAAwB,oDAW3E,CAAC"}
1
+ {"version":3,"file":"design-system-provider.styles.d.ts","sourceRoot":"","sources":["../../../src/design-system-provider/design-system-provider.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAoD3E,eAAO,MAAM,0BAA0B,YAAa,wBAAwB,oDAc3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-area.styles.d.ts","sourceRoot":"","sources":["../../../src/text-area/text-area.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAUpC,eAAO,MAAM,kBAAkB,YACpB,wBAAwB,cACrB,2BAA2B,KACtC,aA8CF,CAAC"}
1
+ {"version":3,"file":"text-area.styles.d.ts","sourceRoot":"","sources":["../../../src/text-area/text-area.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAUpC,eAAO,MAAM,kBAAkB,YACpB,wBAAwB,cACrB,2BAA2B,KACtC,aA4CF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAUpC,eAAO,MAAM,mBAAmB,YACrB,wBAAwB,cACrB,2BAA2B,KACtC,aAiDF,CAAC"}
1
+ {"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAUpC,eAAO,MAAM,mBAAmB,YACrB,wBAAwB,cACrB,2BAA2B,KACtC,aA+CF,CAAC"}
@@ -5,5 +5,5 @@ export const robotoFontFaces = `
5
5
  export const loadRobotoFontFaces = () => {
6
6
  loadFontFaces(robotoFontFaces, 'roboto-font-faces');
7
7
  };
8
- export const robotoFontFamily = 'Roboto, "Segoe UI", Arial, Helvetica, sans-serif;';
8
+ export const robotoFontFamily = 'Roboto, "Segoe UI", Arial, Helvetica, sans-serif';
9
9
  export const mixinRobotoFont = (style = FontStyle.Normal, weight = FontWeight.Regular) => getFontMixin(robotoFontFamily, style, weight);
@@ -1,2 +1 @@
1
- export * from './custom';
2
1
  export * from './default';
@@ -1,5 +1,5 @@
1
1
  import { FontStyle, FontWeight } from '@genesislcap/foundation-utils';
2
- import { neutralFillStealthActive, neutralForegroundRest } from '@microsoft/fast-components';
2
+ import { neutralFillStealthActive } from '@microsoft/fast-components';
3
3
  import { css } from '@microsoft/fast-element';
4
4
  import { display, forcedColorsStylesheetBehavior } from '@microsoft/fast-foundation';
5
5
  import { SystemColors } from '@microsoft/fast-web-utilities';
@@ -31,11 +31,6 @@ const getHeaderForContext = (context, headingLevel, typeRampValue) => css `
31
31
  }
32
32
  `;
33
33
  const typography = (context) => css `
34
- :host {
35
- color: ${neutralForegroundRest};
36
- ${mixinRobotoFont()}
37
- }
38
-
39
34
  ${getHeaderForContext(context, '1', '6')}
40
35
  ${getHeaderForContext(context, '2', '5')}
41
36
  ${getHeaderForContext(context, '3', '4')}
@@ -50,5 +45,8 @@ export const designSystemProviderStyles = (context) => {
50
45
  ${baseStyles}
51
46
  ${backgroundStyles}
52
47
  ${contextualizedTypography}
48
+ :host * {
49
+ ${mixinRobotoFont()}
50
+ }
53
51
  `;
54
52
  };
@@ -44,8 +44,6 @@ export const zeroTextAreaStyles = (context, definition) => css `
44
44
 
45
45
  .label {
46
46
  color: ${defaultRapidLabelColor};
47
- font-family: Roboto-Medium, sans-serif;
48
- font-style: normal;
49
47
  margin: calc(var(--design-unit) * 2px) 0;
50
48
  }
51
49
  `;
@@ -47,8 +47,6 @@ export const zeroTextFieldStyles = (context, definition) => css `
47
47
 
48
48
  .label {
49
49
  color: ${defaultRapidLabelColor};
50
- font-family: Roboto-Medium, sans-serif;
51
- font-style: normal;
52
50
  margin: calc(var(--design-unit) * 2px) 0;
53
51
  }
54
52
  `;
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": "11.3.0",
4
+ "version": "11.3.2-alpha-b33a1ce.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -97,9 +97,9 @@
97
97
  "webpack-merge": "^5.7.3"
98
98
  },
99
99
  "dependencies": {
100
- "@genesislcap/foundation-comms": "^11.3.0",
101
- "@genesislcap/foundation-ui": "^11.3.0",
102
- "@genesislcap/foundation-utils": "^11.3.0",
100
+ "@genesislcap/foundation-comms": "11.3.2-alpha-b33a1ce.0",
101
+ "@genesislcap/foundation-ui": "11.3.2-alpha-b33a1ce.0",
102
+ "@genesislcap/foundation-utils": "11.3.2-alpha-b33a1ce.0",
103
103
  "@microsoft/fast-colors": "^5.1.4",
104
104
  "@microsoft/fast-components": "^2.21.3",
105
105
  "@microsoft/fast-element": "^1.7.0",
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "14c3b231f318b547590e2474af8a1e86a7ee63ed"
114
+ "gitHead": "80f54a8524ad5de775ad4b5b390f6b0f5a504626"
115
115
  }
@@ -1,2 +0,0 @@
1
- export declare const rapidBodyFont: import("@microsoft/fast-foundation").CSSDesignToken<string>;
2
- //# sourceMappingURL=custom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom.d.ts","sourceRoot":"","sources":["../../../../src/_config/tokens/custom.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,aAAa,6DAA4D,CAAC"}
@@ -1,4 +0,0 @@
1
- import { DesignToken } from '@microsoft/fast-foundation';
2
- import { robotoFontFamily } from '../styles/external/roboto-font';
3
- const { create } = DesignToken;
4
- export const rapidBodyFont = create('body-font').withDefault(robotoFontFamily);