@livetiles/reach-plugin-types 0.5.0-preview.160 → 0.5.0-preview.161

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +11 -16
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1464,7 +1464,11 @@ declare module "libs/reach/util/common/src/user/Subscription" {
1464
1464
  primaryColor: string;
1465
1465
  secondaryColor: string;
1466
1466
  useHighlightColorOnWhiteBackground?: boolean;
1467
- customFontColors?: string[];
1467
+ customFontColors?: CustomColor[];
1468
+ }
1469
+ export interface CustomColor {
1470
+ id: string;
1471
+ value: string;
1468
1472
  }
1469
1473
  export interface WebHook {
1470
1474
  id: string;
@@ -3191,11 +3195,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3191
3195
  neutralTertiary: string;
3192
3196
  neutralTertiaryAlt: string;
3193
3197
  neutralQuaternary: string;
3194
- /**
3195
- * Theme Service applies custom themes.
3196
- * Accommodates overriding the custom UI Fabric default styles which
3197
- * are not automatically applied (e.g. ms-bgColor-themePrimary) via load-themed-styles
3198
- */
3199
3198
  neutralQuaternaryAlt: string;
3200
3199
  neutralLight: string;
3201
3200
  neutralLighter: string;
@@ -3257,14 +3256,10 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
3257
3256
  onSecondary?: string;
3258
3257
  onAccent?: string;
3259
3258
  default?: string;
3260
- customOne?: string;
3261
- customTwo?: string;
3262
- customThree?: string;
3263
- customFour?: string;
3264
- customFive?: string;
3265
- customSix?: string;
3266
- customSeven?: string;
3267
- customEight?: string;
3259
+ custom?: {
3260
+ key: string;
3261
+ value: string;
3262
+ }[];
3268
3263
  }
3269
3264
  export function getDarkAltColor(color: string): string;
3270
3265
  export function getTextColor(bgColor: string): "#333333" | "#ffffff";
@@ -5513,10 +5508,10 @@ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
5513
5508
  }
5514
5509
  declare module "apps/reach-app/src/app/admin/themes/CustomFontColors" {
5515
5510
  import { FC } from 'react';
5516
- import { Theme } from "libs/reach/util/common/src/index";
5511
+ import { CustomColor, Theme } from "libs/reach/util/common/src/index";
5517
5512
  export const CustomFontColors: FC<{
5518
5513
  theme: Theme;
5519
- onApply?: (colors: string[]) => void;
5514
+ onApply?: (colors: CustomColor[]) => void;
5520
5515
  }>;
5521
5516
  }
5522
5517
  declare module "apps/reach-app/src/app/admin/themes/Themes" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.160",
7
+ "version": "0.5.0-preview.161",
8
8
  "dependencies": {}
9
9
  }