@cloudscape-design/chat-components 1.0.166 → 1.0.167
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/styles.css.js +7 -7
- package/avatar/styles.scoped.css +17 -17
- package/avatar/styles.selectors.js +7 -7
- package/chat-bubble/styles.css.js +9 -9
- package/chat-bubble/styles.scoped.css +16 -16
- package/chat-bubble/styles.selectors.js +9 -9
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +314 -314
- package/internal/generated/theming/index.cjs +314 -314
- package/internal/generated/theming/index.js +314 -314
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/support-prompt-group/styles.css.js +8 -8
- package/support-prompt-group/styles.scoped.css +20 -20
- package/support-prompt-group/styles.selectors.js +8 -8
package/avatar/styles.css.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"avatar-color-default": "awsui_avatar-color-
|
|
6
|
-
"avatar-color-gen-ai": "awsui_avatar-color-gen-
|
|
7
|
-
"initials": "
|
|
8
|
-
"image": "
|
|
9
|
-
"content": "
|
|
10
|
-
"tooltip": "
|
|
4
|
+
"root": "awsui_root_1qkal_8vtg3_15",
|
|
5
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_8vtg3_53",
|
|
6
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_8vtg3_56",
|
|
7
|
+
"initials": "awsui_initials_1qkal_8vtg3_59",
|
|
8
|
+
"image": "awsui_image_1qkal_8vtg3_90",
|
|
9
|
+
"content": "awsui_content_1qkal_8vtg3_94",
|
|
10
|
+
"tooltip": "awsui_tooltip_1qkal_8vtg3_116"
|
|
11
11
|
};
|
|
12
12
|
|
package/avatar/styles.scoped.css
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
14
14
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
15
|
-
.
|
|
15
|
+
.awsui_root_1qkal_8vtg3_15:not(#\9) {
|
|
16
16
|
border-collapse: separate;
|
|
17
17
|
border-spacing: 0;
|
|
18
18
|
box-sizing: border-box;
|
|
@@ -50,28 +50,28 @@
|
|
|
50
50
|
border-end-start-radius: 50%;
|
|
51
51
|
border-end-end-radius: 50%;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.awsui_root_1qkal_8vtg3_15.awsui_avatar-color-default_1qkal_8vtg3_53:not(#\9) {
|
|
54
54
|
background-color: var(--color-background-avatar-default-t427xm, #424650);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.awsui_root_1qkal_8vtg3_15.awsui_avatar-color-gen-ai_1qkal_8vtg3_56:not(#\9) {
|
|
57
57
|
background: var(--color-background-avatar-gen-ai-oxp2v6, radial-gradient(circle farthest-corner at top right, #b8e7ff 0%, #0099ff 25%, #5c7fff 40%, #8575ff 60%, #962eff 80%));
|
|
58
58
|
}
|
|
59
|
-
.
|
|
60
|
-
font-family: var(--font-family-base-
|
|
61
|
-
font-size: var(--font-size-body-s-
|
|
62
|
-
line-height: var(--line-height-body-s-
|
|
63
|
-
font-weight: var(--font-weight-heading-l-
|
|
59
|
+
.awsui_root_1qkal_8vtg3_15.awsui_initials_1qkal_8vtg3_59:not(#\9) {
|
|
60
|
+
font-family: var(--font-family-base-c9u5cr, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
61
|
+
font-size: var(--font-size-body-s-89y7qg, 12px);
|
|
62
|
+
line-height: var(--line-height-body-s-gako33, 16px);
|
|
63
|
+
font-weight: var(--font-weight-heading-l-0v2v9e, 700);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.awsui_root_1qkal_8vtg3_15:not(#\9):focus {
|
|
66
66
|
outline: none;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.awsui_root_1qkal_8vtg3_15:not(#\9):focus-visible {
|
|
69
69
|
position: relative;
|
|
70
70
|
box-sizing: border-box;
|
|
71
71
|
outline: 2px dotted transparent;
|
|
72
72
|
outline-offset: calc(4px + var(--awsui-avatar-root-border-width-qkxefc, 0px) + var(--awsui-avatar-focus-ring-border-width-qkxefc, 0px) - 1px);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.awsui_root_1qkal_8vtg3_15:not(#\9):focus-visible::before {
|
|
75
75
|
content: " ";
|
|
76
76
|
display: block;
|
|
77
77
|
position: absolute;
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
border-block: var(--awsui-avatar-focus-ring-border-width-qkxefc, 2px) solid var(--awsui-avatar-focus-ring-border-color-qkxefc, var(--color-border-item-focused-ditkrb, #006ce0));
|
|
88
88
|
border-inline: var(--awsui-avatar-focus-ring-border-width-qkxefc, 2px) solid var(--awsui-avatar-focus-ring-border-color-qkxefc, var(--color-border-item-focused-ditkrb, #006ce0));
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.awsui_root_1qkal_8vtg3_15:not(#\9):has(.awsui_image_1qkal_8vtg3_90) {
|
|
91
91
|
background: transparent;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.awsui_content_1qkal_8vtg3_94:not(#\9) {
|
|
95
95
|
display: flex;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: center;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
overflow: hidden;
|
|
101
101
|
line-height: calc(0.8 * var(--awsui-avatar-size-qkxefc));
|
|
102
102
|
}
|
|
103
|
-
.
|
|
103
|
+
.awsui_content_1qkal_8vtg3_94 .awsui_image_1qkal_8vtg3_90:not(#\9) {
|
|
104
104
|
border-start-start-radius: 50%;
|
|
105
105
|
border-start-end-radius: 50%;
|
|
106
106
|
border-end-start-radius: 50%;
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
inline-size: var(--awsui-avatar-size-qkxefc);
|
|
110
110
|
object-fit: cover;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
113
|
-
font-size: clamp(var(--font-size-body-s-
|
|
112
|
+
.awsui_content_1qkal_8vtg3_94 .awsui_initials_1qkal_8vtg3_59:not(#\9) {
|
|
113
|
+
font-size: clamp(var(--font-size-body-s-89y7qg, 12px), 0.4 * var(--awsui-avatar-size-qkxefc), 0.4 * var(--awsui-avatar-size-qkxefc));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
.awsui_tooltip_1qkal_8vtg3_116:not(#\9) {
|
|
117
117
|
/* used in test-utils */
|
|
118
118
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
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
|
-
"avatar-color-default": "awsui_avatar-color-
|
|
7
|
-
"avatar-color-gen-ai": "awsui_avatar-color-gen-
|
|
8
|
-
"initials": "
|
|
9
|
-
"image": "
|
|
10
|
-
"content": "
|
|
11
|
-
"tooltip": "
|
|
5
|
+
"root": "awsui_root_1qkal_8vtg3_15",
|
|
6
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_8vtg3_53",
|
|
7
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_8vtg3_56",
|
|
8
|
+
"initials": "awsui_initials_1qkal_8vtg3_59",
|
|
9
|
+
"image": "awsui_image_1qkal_8vtg3_90",
|
|
10
|
+
"content": "awsui_content_1qkal_8vtg3_94",
|
|
11
|
+
"tooltip": "awsui_tooltip_1qkal_8vtg3_116"
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"message-area": "awsui_message-
|
|
6
|
-
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-
|
|
7
|
-
"chat-bubble-type-incoming": "awsui_chat-bubble-type-
|
|
8
|
-
"loading-bar-wrapper": "awsui_loading-bar-
|
|
9
|
-
"avatar": "
|
|
10
|
-
"hide": "
|
|
11
|
-
"content": "
|
|
12
|
-
"actions": "
|
|
4
|
+
"root": "awsui_root_cdujn_1es5t_11",
|
|
5
|
+
"message-area": "awsui_message-area_cdujn_1es5t_45",
|
|
6
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_1es5t_59",
|
|
7
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_1es5t_63",
|
|
8
|
+
"loading-bar-wrapper": "awsui_loading-bar-wrapper_cdujn_1es5t_68",
|
|
9
|
+
"avatar": "awsui_avatar_cdujn_1es5t_75",
|
|
10
|
+
"hide": "awsui_hide_cdujn_1es5t_78",
|
|
11
|
+
"content": "awsui_content_cdujn_1es5t_82",
|
|
12
|
+
"actions": "awsui_actions_cdujn_1es5t_86"
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
10
10
|
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
11
|
-
.
|
|
11
|
+
.awsui_root_cdujn_1es5t_11:not(#\9) {
|
|
12
12
|
border-collapse: separate;
|
|
13
13
|
border-spacing: 0;
|
|
14
14
|
box-sizing: border-box;
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: row;
|
|
39
39
|
gap: var(--space-scaled-xs-xwoogq, 8px);
|
|
40
|
-
font-family: var(--font-family-base-
|
|
41
|
-
font-size: var(--font-size-body-m-
|
|
42
|
-
line-height: var(--line-height-heading-m-
|
|
40
|
+
font-family: var(--font-family-base-c9u5cr, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
41
|
+
font-size: var(--font-size-body-m-tq5a14, 14px);
|
|
42
|
+
line-height: var(--line-height-heading-m-d6lkzb, 22px);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.awsui_message-
|
|
45
|
+
.awsui_message-area_cdujn_1es5t_45:not(#\9) {
|
|
46
46
|
position: relative;
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
@@ -51,38 +51,38 @@
|
|
|
51
51
|
padding-inline: var(--space-scaled-s-8ozaad, 12px);
|
|
52
52
|
min-inline-size: 0;
|
|
53
53
|
overflow-x: auto;
|
|
54
|
-
border-start-start-radius: var(--border-radius-chat-bubble-
|
|
55
|
-
border-start-end-radius: var(--border-radius-chat-bubble-
|
|
56
|
-
border-end-start-radius: var(--border-radius-chat-bubble-
|
|
57
|
-
border-end-end-radius: var(--border-radius-chat-bubble-
|
|
54
|
+
border-start-start-radius: var(--border-radius-chat-bubble-qqrkau, 8px);
|
|
55
|
+
border-start-end-radius: var(--border-radius-chat-bubble-qqrkau, 8px);
|
|
56
|
+
border-end-start-radius: var(--border-radius-chat-bubble-qqrkau, 8px);
|
|
57
|
+
border-end-end-radius: var(--border-radius-chat-bubble-qqrkau, 8px);
|
|
58
58
|
}
|
|
59
|
-
.awsui_message-
|
|
59
|
+
.awsui_message-area_cdujn_1es5t_45.awsui_chat-bubble-type-outgoing_cdujn_1es5t_59:not(#\9) {
|
|
60
60
|
color: var(--color-text-chat-bubble-outgoing-nuggry, #0f141a);
|
|
61
61
|
background-color: var(--color-background-chat-bubble-outgoing-ay6nj3, transparent);
|
|
62
62
|
}
|
|
63
|
-
.awsui_message-
|
|
63
|
+
.awsui_message-area_cdujn_1es5t_45.awsui_chat-bubble-type-incoming_cdujn_1es5t_63:not(#\9) {
|
|
64
64
|
color: var(--color-text-chat-bubble-incoming-ycnens, #0f141a);
|
|
65
65
|
background-color: var(--color-background-chat-bubble-incoming-ykuqvi, #f6f6f9);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.awsui_loading-bar-
|
|
68
|
+
.awsui_loading-bar-wrapper_cdujn_1es5t_68:not(#\9) {
|
|
69
69
|
position: absolute;
|
|
70
70
|
inset-block-end: 0;
|
|
71
71
|
inset-inline-start: 0;
|
|
72
72
|
inline-size: 100%;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.awsui_avatar_cdujn_1es5t_75:not(#\9) {
|
|
76
76
|
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.awsui_avatar_cdujn_1es5t_75.awsui_hide_cdujn_1es5t_78:not(#\9) {
|
|
79
79
|
opacity: 0;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.awsui_content_cdujn_1es5t_82:not(#\9) {
|
|
83
83
|
/* Used in test utils */
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.awsui_actions_cdujn_1es5t_86:not(#\9) {
|
|
87
87
|
/* Used in test utils */
|
|
88
88
|
}
|
|
@@ -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
|
-
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-
|
|
8
|
-
"chat-bubble-type-incoming": "awsui_chat-bubble-type-
|
|
9
|
-
"loading-bar-wrapper": "awsui_loading-bar-
|
|
10
|
-
"avatar": "
|
|
11
|
-
"hide": "
|
|
12
|
-
"content": "
|
|
13
|
-
"actions": "
|
|
5
|
+
"root": "awsui_root_cdujn_1es5t_11",
|
|
6
|
+
"message-area": "awsui_message-area_cdujn_1es5t_45",
|
|
7
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_1es5t_59",
|
|
8
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_1es5t_63",
|
|
9
|
+
"loading-bar-wrapper": "awsui_loading-bar-wrapper_cdujn_1es5t_68",
|
|
10
|
+
"avatar": "awsui_avatar_cdujn_1es5t_75",
|
|
11
|
+
"hide": "awsui_hide_cdujn_1es5t_78",
|
|
12
|
+
"content": "awsui_content_cdujn_1es5t_82",
|
|
13
|
+
"actions": "awsui_actions_cdujn_1es5t_86"
|
|
14
14
|
};
|
|
15
15
|
|
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 (47881c08)";
|
|
3
3
|
export var THEME = "open-source-visual-refresh";
|
|
4
4
|
export var SYSTEM = "core";
|
|
5
5
|
export var ALWAYS_VISUAL_REFRESH = true;
|