@livetiles/reach-plugin-types 0.5.0-preview.201 → 0.5.0-preview.204
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/lib/index.d.ts +7 -53
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="moment" />
|
|
3
3
|
/// <reference types="draft-js" />
|
|
4
|
-
/// <reference types="draft-convert" />
|
|
5
4
|
declare module "libs/reach/util/common/src/FocusStyles" {
|
|
6
5
|
export const FocusStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
7
6
|
export const applyFocusStyle: (input: string) => string;
|
|
@@ -1465,11 +1464,6 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1465
1464
|
primaryColor: string;
|
|
1466
1465
|
secondaryColor: string;
|
|
1467
1466
|
useHighlightColorOnWhiteBackground?: boolean;
|
|
1468
|
-
customFontColors?: CustomColor[];
|
|
1469
|
-
}
|
|
1470
|
-
export interface CustomColor {
|
|
1471
|
-
id: string;
|
|
1472
|
-
value: string;
|
|
1473
1467
|
}
|
|
1474
1468
|
export interface WebHook {
|
|
1475
1469
|
id: string;
|
|
@@ -3196,6 +3190,11 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
3196
3190
|
neutralTertiary: string;
|
|
3197
3191
|
neutralTertiaryAlt: string;
|
|
3198
3192
|
neutralQuaternary: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* Theme Service applies custom themes.
|
|
3195
|
+
* Accommodates overriding the custom UI Fabric default styles which
|
|
3196
|
+
* are not automatically applied (e.g. ms-bgColor-themePrimary) via load-themed-styles
|
|
3197
|
+
*/
|
|
3199
3198
|
neutralQuaternaryAlt: string;
|
|
3200
3199
|
neutralLight: string;
|
|
3201
3200
|
neutralLighter: string;
|
|
@@ -3257,10 +3256,6 @@ declare module "libs/reach/util/common/src/theme/ThemeService" {
|
|
|
3257
3256
|
onSecondary?: string;
|
|
3258
3257
|
onAccent?: string;
|
|
3259
3258
|
default?: string;
|
|
3260
|
-
custom?: {
|
|
3261
|
-
key: string;
|
|
3262
|
-
value: string;
|
|
3263
|
-
}[];
|
|
3264
3259
|
}
|
|
3265
3260
|
export function getDarkAltColor(color: string): string;
|
|
3266
3261
|
export function getTextColor(bgColor: string): "#333333" | "#ffffff";
|
|
@@ -3865,13 +3860,12 @@ declare module "libs/reach/ui/common/src/common/ConfirmDeleteDialog" {
|
|
|
3865
3860
|
titleResourceValues?: any;
|
|
3866
3861
|
infoResourceKey: string;
|
|
3867
3862
|
infoResourceValues?: any;
|
|
3868
|
-
inputAriaLabelResourceKey
|
|
3869
|
-
compareValue
|
|
3863
|
+
inputAriaLabelResourceKey: string;
|
|
3864
|
+
compareValue: string;
|
|
3870
3865
|
onConfirm: () => any;
|
|
3871
3866
|
onCancel: () => any;
|
|
3872
3867
|
disabled?: boolean;
|
|
3873
3868
|
hideCloseButton?: boolean;
|
|
3874
|
-
withValueConfirmation?: boolean;
|
|
3875
3869
|
}
|
|
3876
3870
|
export const ConfirmDeleteDialog: FC<ConfirmDeleteDialogProps>;
|
|
3877
3871
|
}
|
|
@@ -5489,7 +5483,6 @@ declare module "apps/reach-app/src/app/admin/themes/ContrastInfo" {
|
|
|
5489
5483
|
foregroundColor: string;
|
|
5490
5484
|
backgroundColor: string;
|
|
5491
5485
|
className?: string;
|
|
5492
|
-
showInfoIcon?: boolean;
|
|
5493
5486
|
}>;
|
|
5494
5487
|
}
|
|
5495
5488
|
declare module "apps/reach-app/src/app/admin/themes/ColorButton" {
|
|
@@ -5512,14 +5505,6 @@ declare module "apps/reach-app/src/app/admin/themes/ThemeContrastPreview" {
|
|
|
5512
5505
|
foregroundColor: string;
|
|
5513
5506
|
}>;
|
|
5514
5507
|
}
|
|
5515
|
-
declare module "apps/reach-app/src/app/admin/themes/CustomFontColors" {
|
|
5516
|
-
import { FC } from 'react';
|
|
5517
|
-
import { CustomColor, Theme } from "libs/reach/util/common/src/index";
|
|
5518
|
-
export const CustomFontColors: FC<{
|
|
5519
|
-
theme: Theme;
|
|
5520
|
-
onApply?: (colors: CustomColor[]) => void;
|
|
5521
|
-
}>;
|
|
5522
|
-
}
|
|
5523
5508
|
declare module "apps/reach-app/src/app/admin/themes/Themes" {
|
|
5524
5509
|
import { FC } from 'react';
|
|
5525
5510
|
export const Themes: FC;
|
|
@@ -8030,36 +8015,6 @@ declare module "libs/reach/feature/content/src/common/body/inline-file-list/Inli
|
|
|
8030
8015
|
className?: string;
|
|
8031
8016
|
}>;
|
|
8032
8017
|
}
|
|
8033
|
-
declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText" {
|
|
8034
|
-
import { ContentState } from 'draft-js';
|
|
8035
|
-
import { FC } from 'react';
|
|
8036
|
-
export const ColoredText: FC<{
|
|
8037
|
-
entityKey: string;
|
|
8038
|
-
contentState: ContentState;
|
|
8039
|
-
}>;
|
|
8040
|
-
}
|
|
8041
|
-
declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy" {
|
|
8042
|
-
import { ContentBlock, ContentState } from 'draft-js';
|
|
8043
|
-
export const ColoredTextType = "colored-text";
|
|
8044
|
-
export function findColoredTextEntities(contentBlock: ContentBlock, callback: (start: number, end: number) => void, contentState: ContentState): void;
|
|
8045
|
-
}
|
|
8046
|
-
declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils" {
|
|
8047
|
-
import { CompositeDecorator, EditorState } from 'draft-js';
|
|
8048
|
-
import { EditorPlugin } from '@draft-js-plugins/editor';
|
|
8049
|
-
import { EntityKey } from 'draft-convert';
|
|
8050
|
-
type ColoredTextPlugin = EditorPlugin & {
|
|
8051
|
-
decorators: CompositeDecorator[];
|
|
8052
|
-
};
|
|
8053
|
-
export function createColoredTextPlugin(): ColoredTextPlugin;
|
|
8054
|
-
export function createColoredTextEntity(node: HTMLElement, createEntity: (type: string, mutability: string, data: object) => EntityKey): string;
|
|
8055
|
-
export function createColoredTextAtSelection(editorState: EditorState, colorId: string): EditorState;
|
|
8056
|
-
export function removeColoredTextAtSelection(editorState: EditorState): EditorState;
|
|
8057
|
-
}
|
|
8058
|
-
declare module "libs/reach/feature/content/src/common/body/colored-text-plugin/index" {
|
|
8059
|
-
export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/ColoredText";
|
|
8060
|
-
export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextStrategy";
|
|
8061
|
-
export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/coloredTextUtils";
|
|
8062
|
-
}
|
|
8063
8018
|
declare module "libs/reach/feature/content/src/common/body/TextViewer" {
|
|
8064
8019
|
import { FC } from 'react';
|
|
8065
8020
|
import { DraftBlockType } from 'draft-js';
|
|
@@ -10364,7 +10319,6 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
10364
10319
|
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
10365
10320
|
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
10366
10321
|
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
10367
|
-
export * from "libs/reach/feature/content/src/common/body/colored-text-plugin/index";
|
|
10368
10322
|
}
|
|
10369
10323
|
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
10370
10324
|
import { FC } from 'react';
|