mgtypes 1.0.47 → 1.0.49

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.47",
3
+ "version": "1.0.49",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -194,7 +194,6 @@ export interface mgFeaturesConfig {
194
194
  IS_CONTENT_THREADED: boolean;
195
195
  }
196
196
 
197
-
198
197
  // ** AUTH **
199
198
 
200
199
  export interface mgAuthenticationConfig {
@@ -218,27 +217,48 @@ export interface mgAuthenticationConfig {
218
217
  * Configs based on React Native Paper color assignments w/ some extras
219
218
  */
220
219
  export interface mgColorsConfig {
220
+ // NEW ONES
221
+
222
+ // mix and match for foregroungs/backgrounds
223
+ // on buttons, chips,
224
+ // snackbar, etc
225
+ light: string;
226
+ lightNeutral: string;
227
+ // dark neutral formerly onPrimaryContainerUnselected
228
+ darkNeutral: string;
229
+ dark: string;
230
+
231
+
221
232
  success: string;
222
233
  warning: string;
223
- warningUnselected: string;
234
+
224
235
  locationPuck: string;
236
+
237
+ inverseSecondary: string;
238
+ inverseTertiary: string;
239
+
240
+ // ORIGINALS
241
+
225
242
  primary: string;
226
243
  onPrimary: string;
227
244
  primaryContainer: string;
228
245
  onPrimaryContainer: string;
229
- onPrimaryContainerUnselected: string;
246
+
230
247
  secondary: string;
231
248
  onSecondary: string;
232
249
  secondaryContainer: string;
233
250
  onSecondaryContainer: string;
251
+
234
252
  tertiary: string;
235
253
  onTertiary: string;
236
254
  tertiaryContainer: string;
237
255
  onTertiaryContainer: string;
256
+
238
257
  error: string;
239
258
  onError: string;
240
259
  errorContainer: string;
241
260
  onErrorContainer: string;
261
+
242
262
  background: string;
243
263
  onBackground: string;
244
264
  surface: string;
@@ -368,6 +388,7 @@ export interface mgPermissionsProfile {
368
388
  LOCATION_BACKGROUND: { isRequired: boolean; requestOnInit: boolean };
369
389
  MEDIA_LIBRARY: { isRequired: boolean; requestOnInit: boolean };
370
390
  REMINDERS: { isRequired: boolean; requestOnInit: boolean };
391
+ NOTIFICATIONS: { isRequired: boolean; requestOnInit: boolean };
371
392
  CAMERA: { isRequired: boolean; requestOnInit: boolean };
372
393
  MICROPHONE: { isRequired: boolean; requestOnInit: boolean };
373
394
  CONTACTS: { isRequired: boolean; requestOnInit: boolean };
@@ -418,6 +439,21 @@ export interface mgPermissionsProfile {
418
439
  default: boolean;
419
440
  };
420
441
  };
442
+
443
+ NOTIFICATIONS: {
444
+ ALLOW_FOR_RSVPS: {
445
+ canToggle: boolean;
446
+ default: boolean;
447
+ };
448
+ ALLOW_FOR_UPDATES: {
449
+ canToggle: boolean;
450
+ default: boolean;
451
+ };
452
+ ALLOW_FOR_MARKETING: {
453
+ canToggle: boolean;
454
+ default: boolean;
455
+ };
456
+ };
421
457
  }
422
458
 
423
459
  /**