@cloudscape-design/chat-components 1.0.187 → 1.0.188
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/internal.d.ts +5 -1
- package/avatar/internal.js +4 -2
- package/avatar/internal.js.map +1 -1
- package/avatar/loading-dots/styles.css.js +7 -7
- package/avatar/loading-dots/styles.scoped.css +34 -38
- package/avatar/loading-dots/styles.selectors.js +7 -7
- package/avatar/styles.css.js +7 -7
- package/avatar/styles.scoped.css +70 -30
- package/avatar/styles.selectors.js +7 -7
- package/chat-bubble/internal.d.ts +6 -1
- package/chat-bubble/internal.js +3 -3
- package/chat-bubble/internal.js.map +1 -1
- package/chat-bubble/styles.css.js +11 -11
- package/chat-bubble/styles.scoped.css +25 -11
- package/chat-bubble/styles.selectors.js +11 -11
- package/internal/api-docs/style-api-doc/avatar.json +28 -0
- package/internal/api-docs/style-api-doc/chat-bubble.json +50 -0
- package/internal/api-docs/style-api-doc/support-prompt-group.json +39 -0
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/styling/avatar.scss +39 -0
- package/styling/chat-bubble.scss +72 -0
- package/styling/support-prompt-group.scss +65 -0
- package/support-prompt-group/internal.d.ts +8 -1
- package/support-prompt-group/internal.js +2 -2
- package/support-prompt-group/internal.js.map +1 -1
- package/support-prompt-group/prompt.d.ts +1 -0
- package/support-prompt-group/prompt.js +2 -2
- package/support-prompt-group/prompt.js.map +1 -1
- package/support-prompt-group/styles.css.js +8 -8
- package/support-prompt-group/styles.scoped.css +43 -19
- package/support-prompt-group/styles.selectors.js +8 -8
|
@@ -8,7 +8,28 @@
|
|
|
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
|
+
/*
|
|
12
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
13
|
+
SPDX-License-Identifier: Apache-2.0
|
|
14
|
+
*/
|
|
15
|
+
/*
|
|
16
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
17
|
+
SPDX-License-Identifier: Apache-2.0
|
|
18
|
+
*/
|
|
19
|
+
@property --awsui-style-focus-ring-color {
|
|
20
|
+
syntax: "*";
|
|
21
|
+
inherits: false;
|
|
22
|
+
}
|
|
23
|
+
@property --awsui-style-focus-ring-width {
|
|
24
|
+
syntax: "*";
|
|
25
|
+
inherits: false;
|
|
26
|
+
}
|
|
27
|
+
@property --awsui-style-focus-ring-radius {
|
|
28
|
+
syntax: "*";
|
|
29
|
+
inherits: false;
|
|
30
|
+
}
|
|
31
|
+
/* awsui:style-api-slot name=item tokens=focus-ring-color, focus-ring-width, focus-ring-radius properties=color, background, border, border-radius, padding, box-shadow, font-family, font-size, font-weight */
|
|
32
|
+
.awsui_root_1wevk_1bb15_32:not(#\9) {
|
|
12
33
|
border-collapse: separate;
|
|
13
34
|
border-spacing: 0;
|
|
14
35
|
box-sizing: border-box;
|
|
@@ -38,11 +59,14 @@
|
|
|
38
59
|
flex-wrap: wrap;
|
|
39
60
|
gap: var(--space-scaled-xs-65ylh6, 8px);
|
|
40
61
|
}
|
|
41
|
-
.
|
|
62
|
+
.awsui_root_1wevk_1bb15_32.awsui_vertical_1wevk_1bb15_62:not(#\9) {
|
|
42
63
|
flex-direction: column;
|
|
43
64
|
}
|
|
44
65
|
|
|
45
|
-
.awsui_support-
|
|
66
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9) {
|
|
67
|
+
--awsui-internal-style-focus-ring-color: var(--awsui-style-focus-ring-color);
|
|
68
|
+
--awsui-internal-style-focus-ring-width: var(--awsui-style-focus-ring-width);
|
|
69
|
+
--awsui-internal-style-focus-ring-radius: var(--awsui-style-focus-ring-radius);
|
|
46
70
|
cursor: pointer;
|
|
47
71
|
display: inline-flex;
|
|
48
72
|
align-items: center;
|
|
@@ -63,26 +87,26 @@
|
|
|
63
87
|
border-end-end-radius: var(--border-radius-support-prompt-od059m, 8px);
|
|
64
88
|
inline-size: fit-content;
|
|
65
89
|
}
|
|
66
|
-
.awsui_support-
|
|
90
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9):hover {
|
|
67
91
|
color: var(--color-text-button-normal-hover-memqsl, #002b66);
|
|
68
92
|
background: var(--color-background-button-normal-hover-e7ahh3, #f0fbff);
|
|
69
93
|
border-color: var(--color-border-button-normal-hover-ehy00y, #002b66);
|
|
70
94
|
}
|
|
71
|
-
.awsui_support-
|
|
95
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9):active {
|
|
72
96
|
color: var(--color-text-button-normal-active-gd3wx5, #002b66);
|
|
73
97
|
background: var(--color-background-button-normal-active-z1idyi, #d1f1ff);
|
|
74
98
|
border-color: var(--color-border-button-normal-active-nbl99m, #002b66);
|
|
75
99
|
}
|
|
76
|
-
.awsui_support-
|
|
100
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9):focus {
|
|
77
101
|
outline: none;
|
|
78
102
|
}
|
|
79
|
-
.awsui_support-
|
|
103
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9):focus-visible {
|
|
80
104
|
position: relative;
|
|
81
105
|
box-sizing: border-box;
|
|
82
106
|
outline: 2px dotted transparent;
|
|
83
107
|
outline-offset: 5px;
|
|
84
108
|
}
|
|
85
|
-
.awsui_support-
|
|
109
|
+
.awsui_support-prompt_1wevk_1bb15_66:not(#\9):focus-visible::before {
|
|
86
110
|
content: " ";
|
|
87
111
|
display: block;
|
|
88
112
|
position: absolute;
|
|
@@ -91,28 +115,28 @@
|
|
|
91
115
|
inset-block-start: calc(-1 * 6px);
|
|
92
116
|
inline-size: calc(100% + 2 * 6px);
|
|
93
117
|
block-size: calc(100% + 2 * 6px);
|
|
94
|
-
border-start-start-radius: 6px;
|
|
95
|
-
border-start-end-radius: 6px;
|
|
96
|
-
border-end-start-radius: 6px;
|
|
97
|
-
border-end-end-radius: 6px;
|
|
98
|
-
border-block: 2px solid var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
99
|
-
border-inline: 2px solid var(--color-border-item-focused-sb1fs0, #006ce0);
|
|
118
|
+
border-start-start-radius: var(--awsui-internal-style-focus-ring-radius, 6px);
|
|
119
|
+
border-start-end-radius: var(--awsui-internal-style-focus-ring-radius, 6px);
|
|
120
|
+
border-end-start-radius: var(--awsui-internal-style-focus-ring-radius, 6px);
|
|
121
|
+
border-end-end-radius: var(--awsui-internal-style-focus-ring-radius, 6px);
|
|
122
|
+
border-block: var(--awsui-internal-style-focus-ring-width, 2px) solid var(--awsui-internal-style-focus-ring-color, var(--color-border-item-focused-sb1fs0, #006ce0));
|
|
123
|
+
border-inline: var(--awsui-internal-style-focus-ring-width, 2px) solid var(--awsui-internal-style-focus-ring-color, var(--color-border-item-focused-sb1fs0, #006ce0));
|
|
100
124
|
}
|
|
101
125
|
|
|
102
|
-
.awsui_support-prompt-
|
|
126
|
+
.awsui_support-prompt-icon_1wevk_1bb15_126:not(#\9) {
|
|
103
127
|
display: inline-flex;
|
|
104
128
|
flex-shrink: 0;
|
|
105
129
|
}
|
|
106
|
-
.awsui_support-prompt-
|
|
130
|
+
.awsui_support-prompt-icon_1wevk_1bb15_126.awsui_icon-align-center_1wevk_1bb15_130:not(#\9) {
|
|
107
131
|
align-self: center;
|
|
108
132
|
}
|
|
109
|
-
.awsui_support-prompt-
|
|
133
|
+
.awsui_support-prompt-icon_1wevk_1bb15_126.awsui_icon-align-start_1wevk_1bb15_133:not(#\9) {
|
|
110
134
|
align-self: flex-start;
|
|
111
135
|
}
|
|
112
|
-
.awsui_support-prompt-
|
|
136
|
+
.awsui_support-prompt-icon_1wevk_1bb15_126.awsui_icon-align-end_1wevk_1bb15_136:not(#\9) {
|
|
113
137
|
align-self: flex-end;
|
|
114
138
|
}
|
|
115
139
|
|
|
116
|
-
.awsui_support-prompt-
|
|
140
|
+
.awsui_support-prompt-text_1wevk_1bb15_140:not(#\9) {
|
|
117
141
|
display: inline-flex;
|
|
118
142
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
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
|
-
"vertical": "
|
|
7
|
-
"support-prompt": "awsui_support-
|
|
8
|
-
"support-prompt-icon": "awsui_support-prompt-
|
|
9
|
-
"icon-align-center": "awsui_icon-align-
|
|
10
|
-
"icon-align-start": "awsui_icon-align-
|
|
11
|
-
"icon-align-end": "awsui_icon-align-
|
|
12
|
-
"support-prompt-text": "awsui_support-prompt-
|
|
5
|
+
"root": "awsui_root_1wevk_1bb15_32",
|
|
6
|
+
"vertical": "awsui_vertical_1wevk_1bb15_62",
|
|
7
|
+
"support-prompt": "awsui_support-prompt_1wevk_1bb15_66",
|
|
8
|
+
"support-prompt-icon": "awsui_support-prompt-icon_1wevk_1bb15_126",
|
|
9
|
+
"icon-align-center": "awsui_icon-align-center_1wevk_1bb15_130",
|
|
10
|
+
"icon-align-start": "awsui_icon-align-start_1wevk_1bb15_133",
|
|
11
|
+
"icon-align-end": "awsui_icon-align-end_1wevk_1bb15_136",
|
|
12
|
+
"support-prompt-text": "awsui_support-prompt-text_1wevk_1bb15_140"
|
|
13
13
|
};
|
|
14
14
|
|