mgtypes 1.0.86 → 1.0.87

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.86",
3
+ "version": "1.0.87",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -289,21 +289,21 @@ export interface mgFontTextStyle {
289
289
  * @property default: fallback
290
290
  */
291
291
  export interface mgFontsConfig {
292
- displayMedium: mgFontTextStyle;
293
- displaySmall: mgFontTextStyle;
292
+ displayMedium: mgFontTextStyle | null;
293
+ displaySmall: mgFontTextStyle | null;
294
294
 
295
- titleMedium: mgFontTextStyle;
296
- titleSmall: mgFontTextStyle;
295
+ titleMedium: mgFontTextStyle | null;
296
+ titleSmall: mgFontTextStyle | null;
297
297
 
298
- labelLarge: mgFontTextStyle;
299
- labelMedium: mgFontTextStyle;
300
- labelSmall: mgFontTextStyle;
298
+ labelLarge: mgFontTextStyle | null;
299
+ labelMedium: mgFontTextStyle | null;
300
+ labelSmall: mgFontTextStyle | null;
301
301
 
302
- bodyLarge: mgFontTextStyle;
303
- bodyMedium: mgFontTextStyle;
304
- bodySmall: mgFontTextStyle;
302
+ bodyLarge: mgFontTextStyle | null;
303
+ bodyMedium: mgFontTextStyle | null;
304
+ bodySmall: mgFontTextStyle | null;
305
305
 
306
- default: mgFontTextStyle;
306
+ default: mgFontTextStyle | null;
307
307
  }
308
308
 
309
309
  // ** STYLES **
@@ -312,13 +312,13 @@ export interface mgFontsConfig {
312
312
  * Configs for border and shadow styles
313
313
  */
314
314
  export interface mgStylesConfig {
315
- containerBorderRadius: 'none' | 'small' | 'large' | 'full';
316
- containerBorderWidth: 'none' | 'thin' | 'normal' | 'thick';
317
- containerShadow: 'none' | 'small' | 'large';
318
- buttonBorderRadius: 'none' | 'small' | 'large' | 'full';
319
- buttonBorderWidth: 'none' | 'thin' | 'normal' | 'thick';
320
- buttonShadow: 'none' | 'small' | 'large';
321
- shadowRadius: 'small' | 'large' | 'none';
315
+ containerBorderRadius: 'none' | 'small' | 'large' | 'full' | null;
316
+ containerBorderWidth: 'none' | 'thin' | 'normal' | 'thick' | null;
317
+ containerShadow: 'none' | 'small' | 'large' | null;
318
+ buttonBorderRadius: 'none' | 'small' | 'large' | 'full' | null;
319
+ buttonBorderWidth: 'none' | 'thin' | 'normal' | 'thick' | null;
320
+ buttonShadow: 'none' | 'small' | 'large' | null;
321
+ shadowRadius: 'small' | 'large' | 'none' | null;
322
322
  }
323
323
 
324
324
  // ** ACCOUNT PROFILES **