mgtypes 1.0.87 → 1.0.88

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -257,7 +257,7 @@ export interface mgColorsConfig {
257
257
  * Configs for an individual font style
258
258
  */
259
259
  export interface mgFontTextStyle {
260
- fontFamily?: string;
260
+ fontFamily: string | null;
261
261
  fontWeight?: '200' | '300' | '400' | '500' | '700';
262
262
  letterSpacing?: number;
263
263
  fontSize?: number;
@@ -289,21 +289,21 @@ export interface mgFontTextStyle {
289
289
  * @property default: fallback
290
290
  */
291
291
  export interface mgFontsConfig {
292
- displayMedium: mgFontTextStyle | null;
293
- displaySmall: mgFontTextStyle | null;
292
+ displayMedium: mgFontTextStyle;
293
+ displaySmall: mgFontTextStyle;
294
294
 
295
- titleMedium: mgFontTextStyle | null;
296
- titleSmall: mgFontTextStyle | null;
295
+ titleMedium: mgFontTextStyle;
296
+ titleSmall: mgFontTextStyle;
297
297
 
298
- labelLarge: mgFontTextStyle | null;
299
- labelMedium: mgFontTextStyle | null;
300
- labelSmall: mgFontTextStyle | null;
298
+ labelLarge: mgFontTextStyle;
299
+ labelMedium: mgFontTextStyle;
300
+ labelSmall: mgFontTextStyle;
301
301
 
302
- bodyLarge: mgFontTextStyle | null;
303
- bodyMedium: mgFontTextStyle | null;
304
- bodySmall: mgFontTextStyle | null;
302
+ bodyLarge: mgFontTextStyle;
303
+ bodyMedium: mgFontTextStyle;
304
+ bodySmall: mgFontTextStyle;
305
305
 
306
- default: mgFontTextStyle | null;
306
+ default: mgFontTextStyle;
307
307
  }
308
308
 
309
309
  // ** STYLES **