mgtypes 1.0.86 → 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.86",
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;
@@ -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 **