@cloudscape-design/chat-components 1.0.50 → 1.0.51
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 +6 -6
- package/avatar/styles.scoped.css +11 -11
- package/avatar/styles.selectors.js +6 -6
- package/chat-bubble/styles.css.js +9 -9
- package/chat-bubble/styles.scoped.css +12 -12
- package/chat-bubble/styles.selectors.js +9 -9
- package/internal/generated/styles/tokens.js +222 -222
- package/internal/generated/theming/index.cjs +232 -232
- package/internal/generated/theming/index.cjs.d.ts +2 -2
- package/internal/generated/theming/index.d.ts +2 -2
- package/internal/generated/theming/index.js +232 -232
- package/package.json +1 -1
- package/support-prompt-group/styles.css.js +3 -3
- package/support-prompt-group/styles.scoped.css +18 -18
- package/support-prompt-group/styles.selectors.js +3 -3
package/avatar/styles.css.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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": "
|
|
4
|
+
"root": "awsui_root_1qkal_4mbjh_15",
|
|
5
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_4mbjh_50",
|
|
6
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_4mbjh_53",
|
|
7
|
+
"initials": "awsui_initials_1qkal_4mbjh_56",
|
|
8
|
+
"image": "awsui_image_1qkal_4mbjh_83",
|
|
9
|
+
"content": "awsui_content_1qkal_4mbjh_87"
|
|
10
10
|
};
|
|
11
11
|
|
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_4mbjh_15:not(#\9) {
|
|
16
16
|
border-collapse: separate;
|
|
17
17
|
border-spacing: 0;
|
|
18
18
|
box-sizing: border-box;
|
|
@@ -48,28 +48,28 @@
|
|
|
48
48
|
border-end-start-radius: 50%;
|
|
49
49
|
border-end-end-radius: 50%;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.awsui_root_1qkal_4mbjh_15.awsui_avatar-color-default_1qkal_4mbjh_50:not(#\9) {
|
|
52
52
|
background-color: var(--color-background-avatar-default-t427xm, #424650);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.awsui_root_1qkal_4mbjh_15.awsui_avatar-color-gen-ai_1qkal_4mbjh_53:not(#\9) {
|
|
55
55
|
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%));
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.awsui_root_1qkal_4mbjh_15.awsui_initials_1qkal_4mbjh_56:not(#\9) {
|
|
58
58
|
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
59
59
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
60
60
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
61
61
|
font-weight: var(--font-weight-heading-l-0t6dwc, 700);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.awsui_root_1qkal_4mbjh_15:not(#\9):focus {
|
|
64
64
|
outline: none;
|
|
65
65
|
}
|
|
66
|
-
body[data-awsui-focus-visible=true] .
|
|
66
|
+
body[data-awsui-focus-visible=true] .awsui_root_1qkal_4mbjh_15:not(#\9):focus:focus {
|
|
67
67
|
position: relative;
|
|
68
68
|
box-sizing: border-box;
|
|
69
69
|
outline: 2px dotted transparent;
|
|
70
70
|
outline-offset: 3px;
|
|
71
71
|
}
|
|
72
|
-
body[data-awsui-focus-visible=true] .
|
|
72
|
+
body[data-awsui-focus-visible=true] .awsui_root_1qkal_4mbjh_15:not(#\9):focus:focus::before {
|
|
73
73
|
content: " ";
|
|
74
74
|
display: block;
|
|
75
75
|
position: absolute;
|
|
@@ -79,13 +79,13 @@ body[data-awsui-focus-visible=true] .awsui_root_1qkal_bavty_15:not(#\9):focus:fo
|
|
|
79
79
|
inline-size: calc(100% + 2 * 4px);
|
|
80
80
|
block-size: calc(100% + 2 * 4px);
|
|
81
81
|
border-radius: 50%;
|
|
82
|
-
border: 2px solid var(--color-border-item-focused-
|
|
82
|
+
border: 2px solid var(--color-border-item-focused-uk47pl, #006ce0);
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.awsui_root_1qkal_4mbjh_15:not(#\9):has(.awsui_image_1qkal_4mbjh_83) {
|
|
85
85
|
background: transparent;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
.awsui_content_1qkal_4mbjh_87:not(#\9) {
|
|
89
89
|
display: flex;
|
|
90
90
|
align-items: center;
|
|
91
91
|
justify-content: center;
|
|
@@ -93,7 +93,7 @@ body[data-awsui-focus-visible=true] .awsui_root_1qkal_bavty_15:not(#\9):focus:fo
|
|
|
93
93
|
inline-size: inherit;
|
|
94
94
|
overflow: hidden;
|
|
95
95
|
}
|
|
96
|
-
.
|
|
96
|
+
.awsui_content_1qkal_4mbjh_87 .awsui_image_1qkal_4mbjh_83:not(#\9) {
|
|
97
97
|
border-start-start-radius: 50%;
|
|
98
98
|
border-start-end-radius: 50%;
|
|
99
99
|
border-end-start-radius: 50%;
|
|
@@ -2,11 +2,11 @@
|
|
|
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": "
|
|
5
|
+
"root": "awsui_root_1qkal_4mbjh_15",
|
|
6
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_4mbjh_50",
|
|
7
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_4mbjh_53",
|
|
8
|
+
"initials": "awsui_initials_1qkal_4mbjh_56",
|
|
9
|
+
"image": "awsui_image_1qkal_4mbjh_83",
|
|
10
|
+
"content": "awsui_content_1qkal_4mbjh_87"
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"root": "
|
|
5
|
-
"message-area": "awsui_message-
|
|
6
|
-
"with-loading-bar": "awsui_with-loading-
|
|
7
|
-
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-
|
|
8
|
-
"chat-bubble-type-incoming": "awsui_chat-bubble-type-
|
|
9
|
-
"avatar": "
|
|
10
|
-
"hide": "
|
|
11
|
-
"content": "
|
|
12
|
-
"actions": "
|
|
4
|
+
"root": "awsui_root_cdujn_4xote_11",
|
|
5
|
+
"message-area": "awsui_message-area_cdujn_4xote_45",
|
|
6
|
+
"with-loading-bar": "awsui_with-loading-bar_cdujn_4xote_57",
|
|
7
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_4xote_60",
|
|
8
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_4xote_64",
|
|
9
|
+
"avatar": "awsui_avatar_cdujn_4xote_69",
|
|
10
|
+
"hide": "awsui_hide_cdujn_4xote_72",
|
|
11
|
+
"content": "awsui_content_cdujn_4xote_76",
|
|
12
|
+
"actions": "awsui_actions_cdujn_4xote_80"
|
|
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_4xote_11:not(#\9) {
|
|
12
12
|
border-collapse: separate;
|
|
13
13
|
border-spacing: 0;
|
|
14
14
|
box-sizing: border-box;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
line-height: var(--line-height-heading-m-uoaqdh, 22px);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.awsui_message-
|
|
46
|
+
.awsui_message-area_cdujn_4xote_45:not(#\9) {
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
gap: var(--space-scaled-s-8ozaad, 12px);
|
|
@@ -55,29 +55,29 @@
|
|
|
55
55
|
border-end-start-radius: var(--border-radius-chat-bubble-haafsg, 8px);
|
|
56
56
|
border-end-end-radius: var(--border-radius-chat-bubble-haafsg, 8px);
|
|
57
57
|
}
|
|
58
|
-
.awsui_message-
|
|
58
|
+
.awsui_message-area_cdujn_4xote_45.awsui_with-loading-bar_cdujn_4xote_57:not(#\9) {
|
|
59
59
|
padding-block-end: 0;
|
|
60
60
|
}
|
|
61
|
-
.awsui_message-
|
|
62
|
-
color: var(--color-text-chat-bubble-outgoing-
|
|
61
|
+
.awsui_message-area_cdujn_4xote_45.awsui_chat-bubble-type-outgoing_cdujn_4xote_60:not(#\9) {
|
|
62
|
+
color: var(--color-text-chat-bubble-outgoing-f3r63s, #0f141a);
|
|
63
63
|
background-color: var(--color-background-chat-bubble-outgoing-ay6nj3, transparent);
|
|
64
64
|
}
|
|
65
|
-
.awsui_message-
|
|
66
|
-
color: var(--color-text-chat-bubble-incoming-
|
|
67
|
-
background-color: var(--color-background-chat-bubble-incoming-
|
|
65
|
+
.awsui_message-area_cdujn_4xote_45.awsui_chat-bubble-type-incoming_cdujn_4xote_64:not(#\9) {
|
|
66
|
+
color: var(--color-text-chat-bubble-incoming-od0yh8, #0f141a);
|
|
67
|
+
background-color: var(--color-background-chat-bubble-incoming-j38cew, #f6f6f9);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.awsui_avatar_cdujn_4xote_69:not(#\9) {
|
|
71
71
|
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.awsui_avatar_cdujn_4xote_69.awsui_hide_cdujn_4xote_72:not(#\9) {
|
|
74
74
|
opacity: 0;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
.awsui_content_cdujn_4xote_76:not(#\9) {
|
|
78
78
|
/* Used in test utils */
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
81
|
+
.awsui_actions_cdujn_4xote_80:not(#\9) {
|
|
82
82
|
/* Used in test utils */
|
|
83
83
|
}
|
|
@@ -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
|
-
"with-loading-bar": "awsui_with-loading-
|
|
8
|
-
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-
|
|
9
|
-
"chat-bubble-type-incoming": "awsui_chat-bubble-type-
|
|
10
|
-
"avatar": "
|
|
11
|
-
"hide": "
|
|
12
|
-
"content": "
|
|
13
|
-
"actions": "
|
|
5
|
+
"root": "awsui_root_cdujn_4xote_11",
|
|
6
|
+
"message-area": "awsui_message-area_cdujn_4xote_45",
|
|
7
|
+
"with-loading-bar": "awsui_with-loading-bar_cdujn_4xote_57",
|
|
8
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_4xote_60",
|
|
9
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_4xote_64",
|
|
10
|
+
"avatar": "awsui_avatar_cdujn_4xote_69",
|
|
11
|
+
"hide": "awsui_hide_cdujn_4xote_72",
|
|
12
|
+
"content": "awsui_content_cdujn_4xote_76",
|
|
13
|
+
"actions": "awsui_actions_cdujn_4xote_80"
|
|
14
14
|
};
|
|
15
15
|
|