forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdaptiveCardsStyleOptions.ts
More file actions
39 lines (32 loc) · 1.16 KB
/
Copy pathAdaptiveCardsStyleOptions.ts
File metadata and controls
39 lines (32 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* Adaptive Cards styling
*/
type StrictAdaptiveCardsStyleOptions = {
/** Adaptive Cards: Specify the maximum schema version supported by the Adaptive Card serializer. */
adaptiveCardsParserMaxVersion: string | undefined;
/**
* Adaptive Cards styling for 'emphasis' container style
*/
cardEmphasisBackgroundColor: string | undefined;
/**
* Adaptive Cards: background color of Adaptive Cards button with status of 'aria-pressed'
*/
cardPushButtonBackgroundColor: string | undefined;
/**
* Adaptive Cards: text color of Adaptive Cards button with status of 'aria-pressed'
*/
cardPushButtonTextColor: string | undefined;
/**
* Cards: Rich Cards
* Enable title (and subtitle) wrapping
*/
richCardWrapTitle: boolean | undefined;
/**
* Cards: Rich Cards
* When `false`, omits `style: 'heading'` from the title so the rendered TextBlock has no
* `role="heading"` / `aria-level`. Defaults to `true`. See issue #4327.
*/
richCardTitleAsHeading: boolean | undefined;
};
type AdaptiveCardsStyleOptions = Partial<StrictAdaptiveCardsStyleOptions>;
export type { AdaptiveCardsStyleOptions, StrictAdaptiveCardsStyleOptions };