@cloudscape-design/chat-components 1.0.80 → 1.0.82
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/avatar/index.d.ts +1 -5
- package/avatar/index.js +10 -16
- package/avatar/interfaces.d.ts +77 -78
- package/avatar/internal.d.ts +3 -16
- package/avatar/internal.js +1 -3
- package/avatar/internal.js.map +1 -1
- package/avatar/loading-dots/index.d.ts +5 -9
- package/avatar/style.d.ts +1 -1
- package/chat-bubble/index.d.ts +1 -6
- package/chat-bubble/interfaces.d.ts +47 -26
- package/chat-bubble/interfaces.js.map +1 -1
- package/chat-bubble/internal.d.ts +3 -12
- package/chat-bubble/internal.js +3 -4
- package/chat-bubble/internal.js.map +1 -1
- package/chat-bubble/style.d.ts +33 -0
- package/chat-bubble/style.js +33 -0
- package/chat-bubble/style.js.map +1 -0
- package/chat-bubble/styles.css.js +9 -9
- package/chat-bubble/styles.scoped.css +16 -11
- package/chat-bubble/styles.selectors.js +9 -9
- package/index.d.ts +1 -1
- package/internal/api-docs/components/chat-bubble.js +96 -0
- package/internal/api-docs/components/index.d.ts +1 -1
- package/internal/api-docs/components/interfaces.d.ts +56 -56
- package/internal/api-docs/test-utils-doc/dom.d.ts +3 -2
- package/internal/api-docs/test-utils-doc/interfaces.d.ts +22 -22
- package/internal/api-docs/test-utils-doc/selectors.d.ts +3 -2
- package/internal/base-component/get-data-attributes.d.ts +1 -1
- package/internal/base-component/use-base-component.d.ts +3 -3
- package/internal/base-component/use-visual-refresh.d.ts +1 -1
- package/internal/environment.js +2 -2
- package/internal/environment.json +2 -2
- package/internal/events/index.d.ts +14 -18
- package/internal/generated/custom-css-properties/index.d.ts +6 -6
- package/internal/generated/theming/index.cjs.d.ts +14 -13
- package/internal/generated/theming/index.d.ts +14 -13
- package/internal/keycode.d.ts +18 -18
- package/internal/manifest.json +1 -1
- package/internal/utils/apply-display-name.d.ts +1 -1
- package/internal/utils/get-visual-theme.d.ts +1 -1
- package/internal/utils/use-forward-focus.d.ts +3 -4
- package/loading-bar/index.d.ts +1 -1
- package/loading-bar/interfaces.d.ts +8 -8
- package/loading-bar/internal.d.ts +1 -5
- package/package.json +1 -1
- package/support-prompt-group/focus-helpers.d.ts +2 -3
- package/support-prompt-group/index.d.ts +1 -2
- package/support-prompt-group/interfaces.d.ts +35 -35
- package/support-prompt-group/internal.d.ts +1 -2
- package/support-prompt-group/prompt.d.ts +4 -5
- package/test-utils/dom/avatar/index.d.ts +3 -3
- package/test-utils/dom/chat-bubble/index.d.ts +6 -6
- package/test-utils/dom/index.d.ts +75 -75
- package/test-utils/dom/loading-bar/index.d.ts +2 -2
- package/test-utils/dom/support-prompt-group/index.d.ts +11 -11
- package/test-utils/selectors/avatar/index.d.ts +3 -3
- package/test-utils/selectors/chat-bubble/index.d.ts +6 -6
- package/test-utils/selectors/index.d.ts +67 -67
- package/test-utils/selectors/loading-bar/index.d.ts +2 -2
- package/test-utils/selectors/support-prompt-group/index.d.ts +11 -11
- package/avatar/internal-do-not-use-core.js +0 -12
- /package/avatar/{internal-do-not-use-core.js.map → index.js.map} +0 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"root": "
|
|
6
|
-
"message-area": "awsui_message-
|
|
7
|
-
"
|
|
8
|
-
"chat-bubble-type-
|
|
9
|
-
"
|
|
10
|
-
"avatar": "
|
|
11
|
-
"hide": "
|
|
12
|
-
"content": "
|
|
13
|
-
"actions": "
|
|
5
|
+
"root": "awsui_root_cdujn_dsdl4_11",
|
|
6
|
+
"message-area": "awsui_message-area_cdujn_dsdl4_45",
|
|
7
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_dsdl4_58",
|
|
8
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_dsdl4_62",
|
|
9
|
+
"loading-bar-wrapper": "awsui_loading-bar-wrapper_cdujn_dsdl4_67",
|
|
10
|
+
"avatar": "awsui_avatar_cdujn_dsdl4_74",
|
|
11
|
+
"hide": "awsui_hide_cdujn_dsdl4_77",
|
|
12
|
+
"content": "awsui_content_cdujn_dsdl4_81",
|
|
13
|
+
"actions": "awsui_actions_cdujn_dsdl4_85"
|
|
14
14
|
};
|
|
15
15
|
|
package/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export type { LoadingBarProps } from "./loading-bar";
|
|
|
5
5
|
export { default as ChatBubble } from "./chat-bubble";
|
|
6
6
|
export type { ChatBubbleProps } from "./chat-bubble";
|
|
7
7
|
export { default as SupportPromptGroup } from "./support-prompt-group";
|
|
8
|
-
export type { SupportPromptGroupProps } from "./support-prompt-group";
|
|
8
|
+
export type { SupportPromptGroupProps } from "./support-prompt-group";
|
|
@@ -39,6 +39,102 @@ module.exports = {
|
|
|
39
39
|
"optional": true,
|
|
40
40
|
"description": "Adds a loading bar to the bottom of the chat bubble. This property should only be used for Generative AI loading state.\nIf avatar is being used, set its `loading` state to true."
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"name": "style",
|
|
44
|
+
"type": "ChatBubbleProps.Style",
|
|
45
|
+
"inlineType": {
|
|
46
|
+
"name": "ChatBubbleProps.Style",
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": [
|
|
49
|
+
{
|
|
50
|
+
"name": "bubble",
|
|
51
|
+
"optional": true,
|
|
52
|
+
"type": "{ background?: string | undefined; borderColor?: string | undefined; borderRadius?: string | undefined; borderWidth?: string | undefined; boxShadow?: string | undefined; color?: string | undefined; ... 4 more ...; paddingInline?: string | undefined; }",
|
|
53
|
+
"inlineType": {
|
|
54
|
+
"name": "object",
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": [
|
|
57
|
+
{
|
|
58
|
+
"name": "background",
|
|
59
|
+
"optional": true,
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "borderColor",
|
|
64
|
+
"optional": true,
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "borderRadius",
|
|
69
|
+
"optional": true,
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "borderWidth",
|
|
74
|
+
"optional": true,
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "boxShadow",
|
|
79
|
+
"optional": true,
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "color",
|
|
84
|
+
"optional": true,
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "fontSize",
|
|
89
|
+
"optional": true,
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "fontWeight",
|
|
94
|
+
"optional": true,
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "paddingBlock",
|
|
99
|
+
"optional": true,
|
|
100
|
+
"type": "string"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "paddingInline",
|
|
104
|
+
"optional": true,
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "rowGap",
|
|
109
|
+
"optional": true,
|
|
110
|
+
"type": "string"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "root",
|
|
117
|
+
"optional": true,
|
|
118
|
+
"type": "{ columnGap?: string | undefined; }",
|
|
119
|
+
"inlineType": {
|
|
120
|
+
"name": "{ columnGap?: string | undefined; }",
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": [
|
|
123
|
+
{
|
|
124
|
+
"name": "columnGap",
|
|
125
|
+
"optional": true,
|
|
126
|
+
"type": "string"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"optional": true,
|
|
134
|
+
"systemTags": [
|
|
135
|
+
"core"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
42
138
|
{
|
|
43
139
|
"name": "type",
|
|
44
140
|
"type": "string",
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
export interface ComponentDefinition {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
name: string;
|
|
3
|
+
dashCaseName: string;
|
|
4
|
+
/** @deprecated */
|
|
5
|
+
releaseStatus: string;
|
|
6
|
+
/** @deprecated */
|
|
7
|
+
version?: string;
|
|
8
|
+
/** @deprecated */
|
|
9
|
+
description?: string;
|
|
10
|
+
systemTags?: Array<string>;
|
|
11
|
+
properties: ComponentProperty[];
|
|
12
|
+
regions: ComponentRegion[];
|
|
13
|
+
functions: ComponentFunction[];
|
|
14
|
+
events: EventHandler[];
|
|
15
15
|
}
|
|
16
16
|
interface Taggable {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
deprecatedTag?: string;
|
|
18
|
+
visualRefreshTag?: string;
|
|
19
|
+
i18nTag?: true | undefined;
|
|
20
|
+
systemTags?: Array<string>;
|
|
21
21
|
}
|
|
22
22
|
export interface ValueDescription {
|
|
23
|
-
|
|
23
|
+
systemTags: Array<string>;
|
|
24
24
|
}
|
|
25
25
|
export interface ComponentProperty extends Taggable {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
name: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
optional: boolean;
|
|
29
|
+
type: string;
|
|
30
|
+
inlineType?: TypeDefinition;
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
analyticsTag?: string;
|
|
33
33
|
}
|
|
34
34
|
export interface ComponentRegion extends Taggable {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
name: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
displayName?: string;
|
|
38
|
+
isDefault: boolean;
|
|
39
39
|
}
|
|
40
40
|
export interface ComponentFunction {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
name: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
parameters: FunctionParameter[];
|
|
44
|
+
returnType: string;
|
|
45
45
|
}
|
|
46
46
|
export type TypeDefinition = ObjectDefinition | FunctionDefinition | UnionTypeDefinition;
|
|
47
47
|
export interface ObjectDefinition {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
name: string;
|
|
49
|
+
type: 'object';
|
|
50
|
+
properties: ObjectDefinitionProperty[];
|
|
51
51
|
}
|
|
52
52
|
export interface ObjectDefinitionProperty {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
name: string;
|
|
54
|
+
optional: boolean;
|
|
55
|
+
type: string;
|
|
56
|
+
inlineType?: TypeDefinition;
|
|
57
57
|
}
|
|
58
58
|
export interface FunctionDefinition {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
name: string;
|
|
60
|
+
type: 'function';
|
|
61
|
+
returnType: string;
|
|
62
|
+
parameters: FunctionParameter[];
|
|
63
63
|
}
|
|
64
64
|
export interface FunctionParameter {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
name: string;
|
|
66
|
+
type: string;
|
|
67
67
|
}
|
|
68
68
|
export interface UnionTypeDefinition {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
name: string;
|
|
70
|
+
type: 'union';
|
|
71
|
+
valueDescriptions?: Record<string, ValueDescription>;
|
|
72
|
+
values: string[];
|
|
73
73
|
}
|
|
74
74
|
export interface EventHandler extends Taggable {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
name: string;
|
|
76
|
+
description?: string;
|
|
77
|
+
detailType?: string;
|
|
78
|
+
detailInlineType?: TypeDefinition;
|
|
79
|
+
cancelable: boolean;
|
|
80
80
|
}
|
|
81
|
-
export {};
|
|
81
|
+
export {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
export interface Parameter {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
name: string;
|
|
3
|
+
typeName: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
flags: {
|
|
6
|
+
isOptional?: boolean;
|
|
7
|
+
};
|
|
8
|
+
defaultValue?: string;
|
|
9
9
|
}
|
|
10
10
|
interface TypeArgument {
|
|
11
|
-
|
|
11
|
+
name: string;
|
|
12
12
|
}
|
|
13
13
|
export interface TestUtilMethod {
|
|
14
|
-
name: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
returnType: {
|
|
17
14
|
name: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
description?: string;
|
|
16
|
+
returnType: {
|
|
17
|
+
name: string;
|
|
18
|
+
isNullable: boolean;
|
|
19
|
+
typeArguments?: Array<TypeArgument>;
|
|
20
|
+
};
|
|
21
|
+
parameters: Array<Parameter>;
|
|
22
|
+
inheritedFrom?: {
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
25
|
}
|
|
26
26
|
export interface TestUtilsDoc {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
name: string;
|
|
28
|
+
methods: Array<TestUtilMethod>;
|
|
29
29
|
}
|
|
30
30
|
export interface TestUtilsDefinition {
|
|
31
|
-
|
|
31
|
+
classes: Array<TestUtilsDoc>;
|
|
32
32
|
}
|
|
33
|
-
export {};
|
|
33
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getDataAttributes(props: Record<string, string>): Record<string, any>;
|
|
1
|
+
export declare function getDataAttributes(props: Record<string, string>): Record<string, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MutableRefObject } from "react";
|
|
2
2
|
import { ComponentConfiguration } from "@cloudscape-design/component-toolkit/internal";
|
|
3
3
|
export interface InternalBaseComponentProps {
|
|
4
|
-
|
|
4
|
+
__internalRootRef?: MutableRefObject<any> | null;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* This hook is used for components which are exported to customers. The returned __internalRootRef needs to be
|
|
@@ -9,5 +9,5 @@ export interface InternalBaseComponentProps {
|
|
|
9
9
|
* root DOM node and emits the telemetry for this component.
|
|
10
10
|
*/
|
|
11
11
|
export default function useBaseComponent<T = any>(componentName: string, config?: ComponentConfiguration): {
|
|
12
|
-
|
|
13
|
-
};
|
|
12
|
+
__internalRootRef: import("react").RefObject<T>;
|
|
13
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useVisualRefresh: () => boolean;
|
|
1
|
+
export declare const useVisualRefresh: () => boolean;
|
package/internal/environment.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export var PACKAGE_SOURCE = "chat-components";
|
|
2
|
-
export var PACKAGE_VERSION = "1.0.0 (
|
|
2
|
+
export var PACKAGE_VERSION = "1.0.0 (2b47586c)";
|
|
3
3
|
export var THEME = "open-source-visual-refresh";
|
|
4
|
-
export var SYSTEM = "
|
|
4
|
+
export var SYSTEM = "core";
|
|
5
5
|
export var ALWAYS_VISUAL_REFRESH = true;
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type CancelableEventHandler<Detail = object> = (event: CustomEvent<Detail>) => void;
|
|
3
2
|
export type NonCancelableEventHandler<Detail = {}> = (event: NonCancelableCustomEvent<Detail>) => void;
|
|
4
3
|
export type NonCancelableCustomEvent<DetailType> = Omit<CustomEvent<DetailType>, "preventDefault">;
|
|
5
4
|
export interface ClickDetail {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
button: number;
|
|
6
|
+
ctrlKey: boolean;
|
|
7
|
+
shiftKey: boolean;
|
|
8
|
+
altKey: boolean;
|
|
9
|
+
metaKey: boolean;
|
|
11
10
|
}
|
|
12
11
|
export declare class CustomEventStub<T> {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
cancelable: boolean;
|
|
13
|
+
detail: T | null;
|
|
14
|
+
defaultPrevented: boolean;
|
|
15
|
+
cancelBubble: boolean;
|
|
16
|
+
constructor(cancelable?: boolean, detail?: T | null);
|
|
17
|
+
preventDefault(): void;
|
|
18
|
+
stopPropagation(): void;
|
|
20
19
|
}
|
|
21
|
-
export declare function createCustomEvent<T>({
|
|
22
|
-
cancelable,
|
|
23
|
-
detail
|
|
24
|
-
}: CustomEventInit<T>): CustomEvent<T>;
|
|
20
|
+
export declare function createCustomEvent<T>({ cancelable, detail }: CustomEventInit<T>): CustomEvent<T>;
|
|
25
21
|
export declare function fireCancelableEvent<T>(handler: CancelableEventHandler<T> | undefined, detail: T, sourceEvent?: React.SyntheticEvent | Event): boolean;
|
|
26
|
-
export declare function fireNonCancelableEvent<T = null>(handler: NonCancelableEventHandler<T> | undefined, detail?: T): void;
|
|
22
|
+
export declare function fireNonCancelableEvent<T = null>(handler: NonCancelableEventHandler<T> | undefined, detail?: T): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const customCSSPropertiesMap: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
avatarSize: string;
|
|
3
|
+
avatarRootBorderWidth: string;
|
|
4
|
+
avatarFocusRingBorderColor: string;
|
|
5
|
+
avatarFocusRingBorderRadius: string;
|
|
6
|
+
avatarFocusRingBorderWidth: string;
|
|
7
7
|
};
|
|
8
|
-
export default customCSSPropertiesMap;
|
|
8
|
+
export default customCSSPropertiesMap;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThemePreset, GlobalValue, TypedModeValueOverride, ReferenceTokens } from '@amzn/awsui-theming-build';
|
|
2
|
+
|
|
2
3
|
export declare interface TypedOverride {
|
|
3
|
-
referenceTokens?: ReferenceTokens
|
|
4
|
+
referenceTokens?: ReferenceTokens,
|
|
4
5
|
tokens: {
|
|
5
6
|
colorChartsStatusCritical?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
6
7
|
colorChartsStatusHigh?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -273,7 +274,7 @@ export declare interface TypedOverride {
|
|
|
273
274
|
borderWidthIconMedium?: GlobalValue;
|
|
274
275
|
borderWidthIconBig?: GlobalValue;
|
|
275
276
|
borderWidthIconLarge?: GlobalValue;
|
|
276
|
-
}
|
|
277
|
+
},
|
|
277
278
|
contexts?: {
|
|
278
279
|
'compact-table'?: {
|
|
279
280
|
tokens: {
|
|
@@ -548,7 +549,7 @@ export declare interface TypedOverride {
|
|
|
548
549
|
borderWidthIconMedium?: GlobalValue;
|
|
549
550
|
borderWidthIconBig?: GlobalValue;
|
|
550
551
|
borderWidthIconLarge?: GlobalValue;
|
|
551
|
-
}
|
|
552
|
+
}
|
|
552
553
|
};
|
|
553
554
|
'top-navigation'?: {
|
|
554
555
|
tokens: {
|
|
@@ -823,7 +824,7 @@ export declare interface TypedOverride {
|
|
|
823
824
|
borderWidthIconMedium?: GlobalValue;
|
|
824
825
|
borderWidthIconBig?: GlobalValue;
|
|
825
826
|
borderWidthIconLarge?: GlobalValue;
|
|
826
|
-
}
|
|
827
|
+
}
|
|
827
828
|
};
|
|
828
829
|
'header'?: {
|
|
829
830
|
tokens: {
|
|
@@ -1098,7 +1099,7 @@ export declare interface TypedOverride {
|
|
|
1098
1099
|
borderWidthIconMedium?: GlobalValue;
|
|
1099
1100
|
borderWidthIconBig?: GlobalValue;
|
|
1100
1101
|
borderWidthIconLarge?: GlobalValue;
|
|
1101
|
-
}
|
|
1102
|
+
}
|
|
1102
1103
|
};
|
|
1103
1104
|
'flashbar'?: {
|
|
1104
1105
|
tokens: {
|
|
@@ -1373,7 +1374,7 @@ export declare interface TypedOverride {
|
|
|
1373
1374
|
borderWidthIconMedium?: GlobalValue;
|
|
1374
1375
|
borderWidthIconBig?: GlobalValue;
|
|
1375
1376
|
borderWidthIconLarge?: GlobalValue;
|
|
1376
|
-
}
|
|
1377
|
+
}
|
|
1377
1378
|
};
|
|
1378
1379
|
'flashbar-warning'?: {
|
|
1379
1380
|
tokens: {
|
|
@@ -1648,7 +1649,7 @@ export declare interface TypedOverride {
|
|
|
1648
1649
|
borderWidthIconMedium?: GlobalValue;
|
|
1649
1650
|
borderWidthIconBig?: GlobalValue;
|
|
1650
1651
|
borderWidthIconLarge?: GlobalValue;
|
|
1651
|
-
}
|
|
1652
|
+
}
|
|
1652
1653
|
};
|
|
1653
1654
|
'alert'?: {
|
|
1654
1655
|
tokens: {
|
|
@@ -1923,7 +1924,7 @@ export declare interface TypedOverride {
|
|
|
1923
1924
|
borderWidthIconMedium?: GlobalValue;
|
|
1924
1925
|
borderWidthIconBig?: GlobalValue;
|
|
1925
1926
|
borderWidthIconLarge?: GlobalValue;
|
|
1926
|
-
}
|
|
1927
|
+
}
|
|
1927
1928
|
};
|
|
1928
1929
|
'alert-header'?: {
|
|
1929
1930
|
tokens: {
|
|
@@ -2198,7 +2199,7 @@ export declare interface TypedOverride {
|
|
|
2198
2199
|
borderWidthIconMedium?: GlobalValue;
|
|
2199
2200
|
borderWidthIconBig?: GlobalValue;
|
|
2200
2201
|
borderWidthIconLarge?: GlobalValue;
|
|
2201
|
-
}
|
|
2202
|
+
}
|
|
2202
2203
|
};
|
|
2203
2204
|
'app-layout-toolbar'?: {
|
|
2204
2205
|
tokens: {
|
|
@@ -2473,8 +2474,8 @@ export declare interface TypedOverride {
|
|
|
2473
2474
|
borderWidthIconMedium?: GlobalValue;
|
|
2474
2475
|
borderWidthIconBig?: GlobalValue;
|
|
2475
2476
|
borderWidthIconLarge?: GlobalValue;
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
}
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2479
2480
|
}
|
|
2480
|
-
export declare const preset: ThemePreset;
|
|
2481
|
+
export declare const preset: ThemePreset;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThemePreset, GlobalValue, TypedModeValueOverride, ReferenceTokens } from '@amzn/awsui-theming-runtime';
|
|
2
|
+
|
|
2
3
|
export declare interface TypedOverride {
|
|
3
|
-
referenceTokens?: ReferenceTokens
|
|
4
|
+
referenceTokens?: ReferenceTokens,
|
|
4
5
|
tokens: {
|
|
5
6
|
colorChartsStatusCritical?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
6
7
|
colorChartsStatusHigh?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -273,7 +274,7 @@ export declare interface TypedOverride {
|
|
|
273
274
|
borderWidthIconMedium?: GlobalValue;
|
|
274
275
|
borderWidthIconBig?: GlobalValue;
|
|
275
276
|
borderWidthIconLarge?: GlobalValue;
|
|
276
|
-
}
|
|
277
|
+
},
|
|
277
278
|
contexts?: {
|
|
278
279
|
'compact-table'?: {
|
|
279
280
|
tokens: {
|
|
@@ -548,7 +549,7 @@ export declare interface TypedOverride {
|
|
|
548
549
|
borderWidthIconMedium?: GlobalValue;
|
|
549
550
|
borderWidthIconBig?: GlobalValue;
|
|
550
551
|
borderWidthIconLarge?: GlobalValue;
|
|
551
|
-
}
|
|
552
|
+
}
|
|
552
553
|
};
|
|
553
554
|
'top-navigation'?: {
|
|
554
555
|
tokens: {
|
|
@@ -823,7 +824,7 @@ export declare interface TypedOverride {
|
|
|
823
824
|
borderWidthIconMedium?: GlobalValue;
|
|
824
825
|
borderWidthIconBig?: GlobalValue;
|
|
825
826
|
borderWidthIconLarge?: GlobalValue;
|
|
826
|
-
}
|
|
827
|
+
}
|
|
827
828
|
};
|
|
828
829
|
'header'?: {
|
|
829
830
|
tokens: {
|
|
@@ -1098,7 +1099,7 @@ export declare interface TypedOverride {
|
|
|
1098
1099
|
borderWidthIconMedium?: GlobalValue;
|
|
1099
1100
|
borderWidthIconBig?: GlobalValue;
|
|
1100
1101
|
borderWidthIconLarge?: GlobalValue;
|
|
1101
|
-
}
|
|
1102
|
+
}
|
|
1102
1103
|
};
|
|
1103
1104
|
'flashbar'?: {
|
|
1104
1105
|
tokens: {
|
|
@@ -1373,7 +1374,7 @@ export declare interface TypedOverride {
|
|
|
1373
1374
|
borderWidthIconMedium?: GlobalValue;
|
|
1374
1375
|
borderWidthIconBig?: GlobalValue;
|
|
1375
1376
|
borderWidthIconLarge?: GlobalValue;
|
|
1376
|
-
}
|
|
1377
|
+
}
|
|
1377
1378
|
};
|
|
1378
1379
|
'flashbar-warning'?: {
|
|
1379
1380
|
tokens: {
|
|
@@ -1648,7 +1649,7 @@ export declare interface TypedOverride {
|
|
|
1648
1649
|
borderWidthIconMedium?: GlobalValue;
|
|
1649
1650
|
borderWidthIconBig?: GlobalValue;
|
|
1650
1651
|
borderWidthIconLarge?: GlobalValue;
|
|
1651
|
-
}
|
|
1652
|
+
}
|
|
1652
1653
|
};
|
|
1653
1654
|
'alert'?: {
|
|
1654
1655
|
tokens: {
|
|
@@ -1923,7 +1924,7 @@ export declare interface TypedOverride {
|
|
|
1923
1924
|
borderWidthIconMedium?: GlobalValue;
|
|
1924
1925
|
borderWidthIconBig?: GlobalValue;
|
|
1925
1926
|
borderWidthIconLarge?: GlobalValue;
|
|
1926
|
-
}
|
|
1927
|
+
}
|
|
1927
1928
|
};
|
|
1928
1929
|
'alert-header'?: {
|
|
1929
1930
|
tokens: {
|
|
@@ -2198,7 +2199,7 @@ export declare interface TypedOverride {
|
|
|
2198
2199
|
borderWidthIconMedium?: GlobalValue;
|
|
2199
2200
|
borderWidthIconBig?: GlobalValue;
|
|
2200
2201
|
borderWidthIconLarge?: GlobalValue;
|
|
2201
|
-
}
|
|
2202
|
+
}
|
|
2202
2203
|
};
|
|
2203
2204
|
'app-layout-toolbar'?: {
|
|
2204
2205
|
tokens: {
|
|
@@ -2473,8 +2474,8 @@ export declare interface TypedOverride {
|
|
|
2473
2474
|
borderWidthIconMedium?: GlobalValue;
|
|
2474
2475
|
borderWidthIconBig?: GlobalValue;
|
|
2475
2476
|
borderWidthIconLarge?: GlobalValue;
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
}
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2479
2480
|
}
|
|
2480
|
-
export declare const preset: ThemePreset;
|
|
2481
|
+
export declare const preset: ThemePreset;
|