@cloudscape-design/chat-components 1.0.159 → 1.0.160
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 +14 -14
- package/avatar/styles.selectors.js +7 -7
- 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.d.ts +19 -0
- package/internal/generated/styles/tokens.js +342 -323
- package/internal/generated/theming/index.cjs +926 -337
- package/internal/generated/theming/index.cjs.d.ts +5 -5
- package/internal/generated/theming/index.d.ts +5 -5
- package/internal/generated/theming/index.js +926 -337
- package/package.json +1 -1
- package/support-prompt-group/styles.css.js +8 -8
- package/support-prompt-group/styles.scoped.css +25 -25
- 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_7yeer_15",
|
|
5
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_7yeer_53",
|
|
6
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_7yeer_56",
|
|
7
|
+
"initials": "awsui_initials_1qkal_7yeer_59",
|
|
8
|
+
"image": "awsui_image_1qkal_7yeer_90",
|
|
9
|
+
"content": "awsui_content_1qkal_7yeer_94",
|
|
10
|
+
"tooltip": "awsui_tooltip_1qkal_7yeer_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_7yeer_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_7yeer_15.awsui_avatar-color-default_1qkal_7yeer_53:not(#\9) {
|
|
54
54
|
background-color: var(--color-background-avatar-default-t427xm, #424650);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.awsui_root_1qkal_7yeer_15.awsui_avatar-color-gen-ai_1qkal_7yeer_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
|
-
.
|
|
59
|
+
.awsui_root_1qkal_7yeer_15.awsui_initials_1qkal_7yeer_59:not(#\9) {
|
|
60
60
|
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
61
61
|
font-size: var(--font-size-body-s-smc8cv, 12px);
|
|
62
62
|
line-height: var(--line-height-body-s-nu5hx1, 16px);
|
|
63
63
|
font-weight: var(--font-weight-heading-l-0t6dwc, 700);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.awsui_root_1qkal_7yeer_15:not(#\9):focus {
|
|
66
66
|
outline: none;
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.awsui_root_1qkal_7yeer_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_7yeer_15:not(#\9):focus-visible::before {
|
|
75
75
|
content: " ";
|
|
76
76
|
display: block;
|
|
77
77
|
position: absolute;
|
|
@@ -84,14 +84,14 @@
|
|
|
84
84
|
border-start-end-radius: var(--awsui-avatar-focus-ring-border-radius-qkxefc, 50%);
|
|
85
85
|
border-end-start-radius: var(--awsui-avatar-focus-ring-border-radius-qkxefc, 50%);
|
|
86
86
|
border-end-end-radius: var(--awsui-avatar-focus-ring-border-radius-qkxefc, 50%);
|
|
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-
|
|
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-
|
|
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
|
+
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_7yeer_15:not(#\9):has(.awsui_image_1qkal_7yeer_90) {
|
|
91
91
|
background: transparent;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
.awsui_content_1qkal_7yeer_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_7yeer_94 .awsui_image_1qkal_7yeer_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
|
-
.
|
|
112
|
+
.awsui_content_1qkal_7yeer_94 .awsui_initials_1qkal_7yeer_59:not(#\9) {
|
|
113
113
|
font-size: clamp(var(--font-size-body-s-smc8cv, 12px), 0.4 * var(--awsui-avatar-size-qkxefc), 0.4 * var(--awsui-avatar-size-qkxefc));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
.awsui_tooltip_1qkal_7yeer_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_7yeer_15",
|
|
6
|
+
"avatar-color-default": "awsui_avatar-color-default_1qkal_7yeer_53",
|
|
7
|
+
"avatar-color-gen-ai": "awsui_avatar-color-gen-ai_1qkal_7yeer_56",
|
|
8
|
+
"initials": "awsui_initials_1qkal_7yeer_59",
|
|
9
|
+
"image": "awsui_image_1qkal_7yeer_90",
|
|
10
|
+
"content": "awsui_content_1qkal_7yeer_94",
|
|
11
|
+
"tooltip": "awsui_tooltip_1qkal_7yeer_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_nfl4w_11",
|
|
5
|
+
"message-area": "awsui_message-area_cdujn_nfl4w_45",
|
|
6
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_nfl4w_59",
|
|
7
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_nfl4w_63",
|
|
8
|
+
"loading-bar-wrapper": "awsui_loading-bar-wrapper_cdujn_nfl4w_68",
|
|
9
|
+
"avatar": "awsui_avatar_cdujn_nfl4w_75",
|
|
10
|
+
"hide": "awsui_hide_cdujn_nfl4w_78",
|
|
11
|
+
"content": "awsui_content_cdujn_nfl4w_82",
|
|
12
|
+
"actions": "awsui_actions_cdujn_nfl4w_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_nfl4w_11:not(#\9) {
|
|
12
12
|
border-collapse: separate;
|
|
13
13
|
border-spacing: 0;
|
|
14
14
|
box-sizing: border-box;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
line-height: var(--line-height-heading-m-uoaqdh, 22px);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.awsui_message-
|
|
45
|
+
.awsui_message-area_cdujn_nfl4w_45:not(#\9) {
|
|
46
46
|
position: relative;
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
@@ -56,33 +56,33 @@
|
|
|
56
56
|
border-end-start-radius: var(--border-radius-chat-bubble-haafsg, 8px);
|
|
57
57
|
border-end-end-radius: var(--border-radius-chat-bubble-haafsg, 8px);
|
|
58
58
|
}
|
|
59
|
-
.awsui_message-
|
|
60
|
-
color: var(--color-text-chat-bubble-outgoing-
|
|
59
|
+
.awsui_message-area_cdujn_nfl4w_45.awsui_chat-bubble-type-outgoing_cdujn_nfl4w_59:not(#\9) {
|
|
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-
|
|
64
|
-
color: var(--color-text-chat-bubble-incoming-
|
|
65
|
-
background-color: var(--color-background-chat-bubble-incoming-
|
|
63
|
+
.awsui_message-area_cdujn_nfl4w_45.awsui_chat-bubble-type-incoming_cdujn_nfl4w_63:not(#\9) {
|
|
64
|
+
color: var(--color-text-chat-bubble-incoming-ycnens, #0f141a);
|
|
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_nfl4w_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_nfl4w_75:not(#\9) {
|
|
76
76
|
padding-block: var(--space-scaled-xs-xwoogq, 8px);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.awsui_avatar_cdujn_nfl4w_75.awsui_hide_cdujn_nfl4w_78:not(#\9) {
|
|
79
79
|
opacity: 0;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.awsui_content_cdujn_nfl4w_82:not(#\9) {
|
|
83
83
|
/* Used in test utils */
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.awsui_actions_cdujn_nfl4w_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_nfl4w_11",
|
|
6
|
+
"message-area": "awsui_message-area_cdujn_nfl4w_45",
|
|
7
|
+
"chat-bubble-type-outgoing": "awsui_chat-bubble-type-outgoing_cdujn_nfl4w_59",
|
|
8
|
+
"chat-bubble-type-incoming": "awsui_chat-bubble-type-incoming_cdujn_nfl4w_63",
|
|
9
|
+
"loading-bar-wrapper": "awsui_loading-bar-wrapper_cdujn_nfl4w_68",
|
|
10
|
+
"avatar": "awsui_avatar_cdujn_nfl4w_75",
|
|
11
|
+
"hide": "awsui_hide_cdujn_nfl4w_78",
|
|
12
|
+
"content": "awsui_content_cdujn_nfl4w_82",
|
|
13
|
+
"actions": "awsui_actions_cdujn_nfl4w_86"
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -469,6 +469,8 @@ export const colorBackgroundNotificationStackBarActive: string;
|
|
|
469
469
|
export const colorBackgroundNotificationStackBarHover: string;
|
|
470
470
|
export const colorBackgroundPopover: string;
|
|
471
471
|
export const colorBackgroundProgressBarValueDefault: string;
|
|
472
|
+
export const colorBackgroundProgressBarValueFlash: string;
|
|
473
|
+
export const colorBackgroundProgressBarFlash: string;
|
|
472
474
|
export const colorBackgroundProgressBarDefault: string;
|
|
473
475
|
export const colorBackgroundSegmentActive: string;
|
|
474
476
|
export const colorBackgroundSegmentDefault: string;
|
|
@@ -491,6 +493,10 @@ export const colorBackgroundSliderRangeWarningDefault: string;
|
|
|
491
493
|
export const colorBackgroundSliderRangeWarningActive: string;
|
|
492
494
|
export const colorBackgroundStatusError: string;
|
|
493
495
|
export const colorBackgroundStatusInfo: string;
|
|
496
|
+
export const colorBackgroundAlertError: string;
|
|
497
|
+
export const colorBackgroundAlertInfo: string;
|
|
498
|
+
export const colorBackgroundAlertSuccess: string;
|
|
499
|
+
export const colorBackgroundAlertWarning: string;
|
|
494
500
|
export const colorBackgroundDialog: string;
|
|
495
501
|
export const colorBackgroundStatusSuccess: string;
|
|
496
502
|
export const colorBackgroundStatusWarning: string;
|
|
@@ -548,6 +554,7 @@ export const colorBorderControlDefault: string;
|
|
|
548
554
|
export const colorBorderControlDisabled: string;
|
|
549
555
|
export const colorBorderDividerActive: string;
|
|
550
556
|
export const colorBorderDividerDefault: string;
|
|
557
|
+
export const colorBorderDividerNotification: string;
|
|
551
558
|
export const colorBorderDividerPanelBottom: string;
|
|
552
559
|
export const colorBorderDividerPanelSide: string;
|
|
553
560
|
export const colorBorderDividerSecondary: string;
|
|
@@ -685,10 +692,14 @@ export const colorTextLinkSecondaryDefault: string;
|
|
|
685
692
|
export const colorTextLinkSecondaryHover: string;
|
|
686
693
|
export const colorTextLinkInfoDefault: string;
|
|
687
694
|
export const colorTextLinkInfoHover: string;
|
|
695
|
+
export const colorTextLinkInvertedDefault: string;
|
|
688
696
|
export const colorTextLinkInvertedHover: string;
|
|
689
697
|
export const colorTextLinkButtonUnderline: string;
|
|
690
698
|
export const colorTextLinkButtonUnderlineHover: string;
|
|
691
699
|
export const colorTextNotificationDefault: string;
|
|
700
|
+
export const colorTextAlertDefault: string;
|
|
701
|
+
export const colorTextNotificationLinkDefault: string;
|
|
702
|
+
export const colorTextNotificationLinkHover: string;
|
|
692
703
|
export const colorTextNotificationStackBar: string;
|
|
693
704
|
export const colorTextNotificationYellow: string;
|
|
694
705
|
export const colorTextPaginationPageNumberActiveDisabled: string;
|
|
@@ -697,6 +708,14 @@ export const colorTextSegmentActive: string;
|
|
|
697
708
|
export const colorTextSegmentDefault: string;
|
|
698
709
|
export const colorTextSegmentHover: string;
|
|
699
710
|
export const colorTextSmall: string;
|
|
711
|
+
export const colorTextFlashbarIconError: string;
|
|
712
|
+
export const colorTextFlashbarIconInfo: string;
|
|
713
|
+
export const colorTextFlashbarIconSuccess: string;
|
|
714
|
+
export const colorTextFlashbarIconWarning: string;
|
|
715
|
+
export const colorTextAlertIconError: string;
|
|
716
|
+
export const colorTextAlertIconInfo: string;
|
|
717
|
+
export const colorTextAlertIconSuccess: string;
|
|
718
|
+
export const colorTextAlertIconWarning: string;
|
|
700
719
|
export const colorTextStatusError: string;
|
|
701
720
|
export const colorTextStatusInactive: string;
|
|
702
721
|
export const colorTextStatusInfo: string;
|