stream-chat-react 14.0.1 → 14.1.0
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/dist/cjs/emojis.js +8 -8
- package/dist/cjs/emojis.js.map +1 -1
- package/dist/cjs/index.js +18361 -16460
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/{WithAudioPlayback.ba05c770.js → useNotificationApi.fd802923.js} +1439 -1360
- package/dist/cjs/useNotificationApi.fd802923.js.map +1 -0
- package/dist/css/index.css +455 -489
- package/dist/css/index.css.map +1 -1
- package/dist/es/emojis.mjs +1 -1
- package/dist/es/index.mjs +18031 -16130
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/{WithAudioPlayback.610fdf2c.mjs → useNotificationApi.e0c52de6.mjs} +1573 -1494
- package/dist/es/useNotificationApi.e0c52de6.mjs.map +1 -0
- package/dist/types/a11y/a11yUtils.d.ts +23 -0
- package/dist/types/a11y/a11yUtils.d.ts.map +1 -0
- package/dist/types/a11y/hooks/useAriaIdentifiers.d.ts +15 -0
- package/dist/types/a11y/hooks/useAriaIdentifiers.d.ts.map +1 -0
- package/dist/types/a11y/hooks/useResolvedModalAriaProps.d.ts +22 -0
- package/dist/types/a11y/hooks/useResolvedModalAriaProps.d.ts.map +1 -0
- package/dist/types/components/Accessibility/AriaLiveRegion.d.ts +3 -0
- package/dist/types/components/Accessibility/AriaLiveRegion.d.ts.map +1 -0
- package/dist/types/components/Accessibility/NotificationAnnouncer.d.ts +14 -0
- package/dist/types/components/Accessibility/NotificationAnnouncer.d.ts.map +1 -0
- package/dist/types/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts +9 -0
- package/dist/types/components/Accessibility/hooks/useIncomingMessageAnnouncements.d.ts.map +1 -0
- package/dist/types/components/Accessibility/index.d.ts +5 -0
- package/dist/types/components/Accessibility/index.d.ts.map +1 -0
- package/dist/types/components/Accessibility/useAriaLiveAnnouncer.d.ts +9 -0
- package/dist/types/components/Accessibility/useAriaLiveAnnouncer.d.ts.map +1 -0
- package/dist/types/components/Attachment/Audio.d.ts.map +1 -1
- package/dist/types/components/Attachment/LinkPreview/CardAudio.d.ts.map +1 -1
- package/dist/types/components/Attachment/ModalGallery.d.ts.map +1 -1
- package/dist/types/components/Attachment/VoiceRecording.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/DurationDisplay.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/ProgressBar.d.ts +5 -1
- package/dist/types/components/AudioPlayback/components/ProgressBar.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/WaveProgressBar.d.ts +5 -1
- package/dist/types/components/AudioPlayback/components/WaveProgressBar.d.ts.map +1 -1
- package/dist/types/components/AudioPlayback/components/formatTime.d.ts +2 -0
- package/dist/types/components/AudioPlayback/components/formatTime.d.ts.map +1 -0
- package/dist/types/components/AudioPlayback/components/keyboardSeek.d.ts +12 -0
- package/dist/types/components/AudioPlayback/components/keyboardSeek.d.ts.map +1 -0
- package/dist/types/components/AudioPlayback/components/progressBarA11y.d.ts +10 -0
- package/dist/types/components/AudioPlayback/components/progressBarA11y.d.ts.map +1 -0
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Button/PlayButton.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemActionButtons.defaults.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
- package/dist/types/components/Chat/Chat.d.ts.map +1 -1
- package/dist/types/components/ChatView/ChatView.a11y.utility.d.ts +26 -0
- package/dist/types/components/ChatView/ChatView.a11y.utility.d.ts.map +1 -0
- package/dist/types/components/ChatView/ChatView.d.ts +9 -0
- package/dist/types/components/ChatView/ChatView.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/Alert.d.ts +3 -1
- package/dist/types/components/Dialog/components/Alert.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/ContextMenu.d.ts +31 -6
- package/dist/types/components/Dialog/components/ContextMenu.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/Prompt.d.ts +3 -1
- package/dist/types/components/Dialog/components/Prompt.d.ts.map +1 -1
- package/dist/types/components/Dialog/components/Viewer.d.ts +3 -1
- package/dist/types/components/Dialog/components/Viewer.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogAnchor.d.ts.map +1 -1
- package/dist/types/components/Form/Dropdown.d.ts.map +1 -1
- package/dist/types/components/Form/NumericInput.d.ts.map +1 -1
- package/dist/types/components/Form/SwitchField.d.ts +5 -2
- package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
- package/dist/types/components/Form/TextInput.d.ts.map +1 -1
- package/dist/types/components/Icons/BaseIcon.d.ts +4 -1
- package/dist/types/components/Icons/BaseIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/createIcon.d.ts +6 -3
- package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +81 -82
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/InfiniteScrollPaginator/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/Loading/LoadingIndicator.d.ts +2 -2
- package/dist/types/components/Loading/LoadingIndicator.d.ts.map +1 -1
- package/dist/types/components/Location/ShareLocationDialog.d.ts +1 -0
- package/dist/types/components/Location/ShareLocationDialog.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecorderRecordingControls.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecordingButtonWithNotification.d.ts.map +1 -1
- package/dist/types/components/MediaRecorder/AudioRecorder/AudioRecordingPlayback.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/MessageText.d.ts.map +1 -1
- package/dist/types/components/Message/MessageUI.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +4 -2
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/MessageActions/DeleteMessageAlert.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageBounce/MessageBouncePrompt.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AttachmentPreviewList.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/AudioAttachmentPreview.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentPreviewList/utils/AttachmentPreviewRoot.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/AttachmentSelector/AttachmentSelector.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/CommandChip.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/QuotedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/NewMessageNotification.d.ts.map +1 -1
- package/dist/types/components/MessageList/ScrollToLatestMessageButton.d.ts +1 -2
- package/dist/types/components/MessageList/ScrollToLatestMessageButton.d.ts.map +1 -1
- package/dist/types/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -1
- package/dist/types/components/MessageList/UnreadMessagesSeparator.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useMessageListScrollManager.d.ts +1 -0
- package/dist/types/components/MessageList/hooks/MessageList/useMessageListScrollManager.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
- package/dist/types/components/MessageList/hooks/useReducedMotionPreference.d.ts +2 -0
- package/dist/types/components/MessageList/hooks/useReducedMotionPreference.d.ts.map +1 -0
- package/dist/types/components/Modal/CloseButtonOnModalOverlay.d.ts.map +1 -1
- package/dist/types/components/Modal/GlobalModal.d.ts +9 -1
- package/dist/types/components/Modal/GlobalModal.d.ts.map +1 -1
- package/dist/types/components/Notifications/Notification.d.ts.map +1 -1
- package/dist/types/components/Notifications/NotificationList.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/AddCommentPrompt.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/PollAnswerList.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/PollOptionsFullList.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/PollResults/PollResults.d.ts.map +1 -1
- package/dist/types/components/Poll/PollActions/SuggestPollOptionPrompt.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/MultipleAnswersField.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/NameField.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/OptionFieldSet.d.ts.map +1 -1
- package/dist/types/components/Poll/PollCreationDialog/PollCreationDialog.d.ts.map +1 -1
- package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/ReactionSelector.d.ts.map +1 -1
- package/dist/types/components/Search/SearchBar/SearchBar.d.ts.map +1 -1
- package/dist/types/components/Search/SearchResults/SearchResultItem.d.ts.map +1 -1
- package/dist/types/components/Search/SearchResults/SearchResultsHeader.d.ts.map +1 -1
- package/dist/types/components/SkipNavigation/SkipNavigation.d.ts +38 -0
- package/dist/types/components/SkipNavigation/SkipNavigation.d.ts.map +1 -0
- package/dist/types/components/SkipNavigation/index.d.ts +2 -0
- package/dist/types/components/SkipNavigation/index.d.ts.map +1 -0
- package/dist/types/components/TextareaComposer/SuggestionList/SuggestionList.d.ts.map +1 -1
- package/dist/types/components/Threads/ThreadList/ThreadList.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/TypingIndicatorHeader.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/utils/getTypingStatusMessage.d.ts +8 -0
- package/dist/types/components/TypingIndicator/utils/getTypingStatusMessage.d.ts.map +1 -0
- package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
- package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
- package/dist/types/components/VisuallyHidden/index.d.ts +2 -0
- package/dist/types/components/VisuallyHidden/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +10 -1
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/ModalContext.d.ts +1 -0
- package/dist/types/context/ModalContext.d.ts.map +1 -1
- package/dist/types/context/index.d.ts +1 -0
- package/dist/types/context/index.d.ts.map +1 -1
- package/dist/types/i18n/Streami18n.d.ts +55 -2
- package/dist/types/i18n/Streami18n.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/WithAudioPlayback.ba05c770.js.map +0 -1
- package/dist/es/WithAudioPlayback.610fdf2c.mjs.map +0 -1
package/dist/css/index.css
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap");
|
|
3
2
|
@import 'modern-normalize' layer(css-reset);
|
|
4
3
|
@media (prefers-reduced-motion: reduce) {
|
|
4
|
+
.str-chat,
|
|
5
|
+
.str-chat *,
|
|
6
|
+
.str-chat *::before,
|
|
7
|
+
.str-chat *::after {
|
|
8
|
+
animation-delay: 0ms !important;
|
|
9
|
+
animation-duration: 0.01ms !important;
|
|
10
|
+
animation-iteration-count: 1 !important;
|
|
11
|
+
scroll-behavior: auto !important;
|
|
12
|
+
transition-delay: 0ms !important;
|
|
13
|
+
transition-duration: 0.01ms !important;
|
|
14
|
+
}
|
|
5
15
|
.str-chat__attachment-selector__menu-button__icon {
|
|
6
16
|
transform: none;
|
|
7
17
|
}
|
|
@@ -990,9 +1000,9 @@
|
|
|
990
1000
|
.str-chat {
|
|
991
1001
|
/* The font used in the chat, by default, we use [preinstalled OS fonts](https://systemfontstack.com/) */
|
|
992
1002
|
--str-chat__font-family:
|
|
993
|
-
var(--str-chat__typography-font-family-sans),
|
|
994
|
-
|
|
995
|
-
sans-serif;
|
|
1003
|
+
var(--str-chat__typography-font-family-sans), -apple-system, BlinkMacSystemFont,
|
|
1004
|
+
avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu,
|
|
1005
|
+
roboto, noto, helvetica, arial, sans-serif;
|
|
996
1006
|
--str-chat__font-heading-xs: normal var(--str-chat__typography-font-weight-semi-bold)
|
|
997
1007
|
var(--str-chat__typography-font-size-sm) /
|
|
998
1008
|
var(--str-chat__typography-line-height-normal) var(--str-chat__font-family);
|
|
@@ -1086,16 +1096,16 @@ to create clearer separation from the base surface.
|
|
|
1086
1096
|
}
|
|
1087
1097
|
|
|
1088
1098
|
.str-chat {
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1099
|
+
--str-chat__focus-outline-color: var(--str-chat__border-utility-focused);
|
|
1100
|
+
--str-chat__focus-outline: 2px solid var(--str-chat__focus-outline-color);
|
|
1101
|
+
--str-chat__focus-outline-offset: 2px;
|
|
1102
|
+
font: var(--str-chat__font-body-default);
|
|
1093
1103
|
letter-spacing: var(--typography-letter-spacing-default);
|
|
1094
1104
|
color: var(--str-chat__text-primary);
|
|
1095
1105
|
}
|
|
1096
1106
|
.str-chat *:not(:disabled):focus-visible {
|
|
1097
|
-
outline:
|
|
1098
|
-
outline-offset: 2px;
|
|
1107
|
+
outline: var(--str-chat__focus-outline);
|
|
1108
|
+
outline-offset: var(--str-chat__focus-outline-offset, 2px);
|
|
1099
1109
|
}
|
|
1100
1110
|
.str-chat {
|
|
1101
1111
|
/* Chrome, Safari, Edge, Opera */
|
|
@@ -1208,7 +1218,6 @@ to create clearer separation from the base surface.
|
|
|
1208
1218
|
min-height: 16px;
|
|
1209
1219
|
padding-inline: var(--str-chat__spacing-xxxs);
|
|
1210
1220
|
border-width: 1px;
|
|
1211
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
|
|
1212
1221
|
}
|
|
1213
1222
|
|
|
1214
1223
|
.str-chat__badge--size-md {
|
|
@@ -1217,7 +1226,6 @@ to create clearer separation from the base surface.
|
|
|
1217
1226
|
min-height: 20px;
|
|
1218
1227
|
padding-inline: var(--str-chat__spacing-xxs);
|
|
1219
1228
|
border-width: 2px;
|
|
1220
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
|
|
1221
1229
|
}
|
|
1222
1230
|
|
|
1223
1231
|
.str-chat__badge--size-lg {
|
|
@@ -1226,22 +1234,20 @@ to create clearer separation from the base surface.
|
|
|
1226
1234
|
min-height: 24px;
|
|
1227
1235
|
padding-inline: var(--str-chat__spacing-xs);
|
|
1228
1236
|
border-width: 2px;
|
|
1229
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
|
|
1230
1237
|
}
|
|
1231
1238
|
|
|
1232
1239
|
.str-chat__badge--variant-counter {
|
|
1233
1240
|
border-radius: var(--str-chat__radius-max);
|
|
1234
1241
|
border: 1px solid var(--str-chat__border-core-subtle);
|
|
1235
1242
|
background: var(--str-chat__badge-bg-default);
|
|
1236
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
|
|
1237
1243
|
font: var(--str-chat__font-numeric-xl);
|
|
1238
1244
|
color: var(--str-chat__badge-text);
|
|
1245
|
+
box-shadow: var(--str-chat__box-shadow-2);
|
|
1239
1246
|
}
|
|
1240
1247
|
.str-chat__badge--variant-counter.str-chat__badge--size-xs {
|
|
1241
1248
|
min-width: 20px;
|
|
1242
1249
|
min-height: 20px;
|
|
1243
1250
|
padding-inline: var(--str-chat__spacing-xxs);
|
|
1244
|
-
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.14);
|
|
1245
1251
|
font: var(--str-chat__font-numeric-md);
|
|
1246
1252
|
}
|
|
1247
1253
|
.str-chat__badge--variant-counter.str-chat__badge--size-sm {
|
|
@@ -1494,7 +1500,6 @@ to create clearer separation from the base surface.
|
|
|
1494
1500
|
padding: 0;
|
|
1495
1501
|
background: transparent;
|
|
1496
1502
|
border-radius: var(--str-chat__radius-md, 0.5rem);
|
|
1497
|
-
outline: none;
|
|
1498
1503
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
1499
1504
|
}
|
|
1500
1505
|
.str-chat__form-numeric-input__input {
|
|
@@ -1509,7 +1514,6 @@ to create clearer separation from the base surface.
|
|
|
1509
1514
|
text-align: center;
|
|
1510
1515
|
background: transparent;
|
|
1511
1516
|
border: none;
|
|
1512
|
-
outline: none;
|
|
1513
1517
|
box-shadow: none;
|
|
1514
1518
|
}
|
|
1515
1519
|
.str-chat__form-numeric-input__input::placeholder {
|
|
@@ -1519,11 +1523,6 @@ to create clearer separation from the base surface.
|
|
|
1519
1523
|
color: var(--str-chat__input-text-placeholder);
|
|
1520
1524
|
cursor: not-allowed;
|
|
1521
1525
|
}
|
|
1522
|
-
.str-chat__form-numeric-input .str-chat__form-numeric-input__input:focus,
|
|
1523
|
-
.str-chat__form-numeric-input .str-chat__form-numeric-input__input:focus-visible {
|
|
1524
|
-
outline: none;
|
|
1525
|
-
box-shadow: none;
|
|
1526
|
-
}
|
|
1527
1526
|
|
|
1528
1527
|
.str-chat {
|
|
1529
1528
|
--str-chat__switch-field-background-color: var(
|
|
@@ -1546,25 +1545,25 @@ to create clearer separation from the base surface.
|
|
|
1546
1545
|
border-radius: var(--str-chat__switch-field-border-radius);
|
|
1547
1546
|
box-sizing: border-box;
|
|
1548
1547
|
}
|
|
1549
|
-
.str-chat .str-chat__form__switch-
|
|
1550
|
-
position: absolute;
|
|
1551
|
-
width: 1px;
|
|
1552
|
-
height: 1px;
|
|
1553
|
-
padding: 0;
|
|
1554
|
-
margin: -1px;
|
|
1555
|
-
overflow: hidden;
|
|
1556
|
-
clip: rect(0, 0, 0, 0);
|
|
1557
|
-
white-space: nowrap;
|
|
1558
|
-
border: 0;
|
|
1559
|
-
}
|
|
1560
|
-
.str-chat .str-chat__form__switch-field__label {
|
|
1548
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__label {
|
|
1561
1549
|
display: flex;
|
|
1562
1550
|
align-items: center;
|
|
1563
1551
|
flex: 1 1 auto;
|
|
1564
1552
|
min-width: 0;
|
|
1565
1553
|
cursor: pointer;
|
|
1566
1554
|
}
|
|
1567
|
-
.str-chat .str-chat__form__switch-
|
|
1555
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__input {
|
|
1556
|
+
position: absolute;
|
|
1557
|
+
inset: 0;
|
|
1558
|
+
z-index: 1;
|
|
1559
|
+
width: 100%;
|
|
1560
|
+
height: 100%;
|
|
1561
|
+
margin: 0;
|
|
1562
|
+
opacity: 0;
|
|
1563
|
+
cursor: pointer;
|
|
1564
|
+
}
|
|
1565
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__switch {
|
|
1566
|
+
position: relative;
|
|
1568
1567
|
display: flex;
|
|
1569
1568
|
align-items: center;
|
|
1570
1569
|
flex-shrink: 0;
|
|
@@ -1576,22 +1575,27 @@ to create clearer separation from the base surface.
|
|
|
1576
1575
|
border-radius: var(--str-chat__button-radius-full, 9999px);
|
|
1577
1576
|
transition: background-color 0.2s ease;
|
|
1578
1577
|
}
|
|
1579
|
-
.str-chat .str-chat__form__switch-field__switch-handle {
|
|
1578
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__switch-handle {
|
|
1580
1579
|
width: 16px;
|
|
1581
1580
|
height: 16px;
|
|
1582
1581
|
border-radius: var(--str-chat__button-radius-full, 9999px);
|
|
1583
1582
|
background-color: var(--str-chat__base-white, #ffffff);
|
|
1584
1583
|
transition: transform 0.2s ease;
|
|
1585
1584
|
}
|
|
1586
|
-
.str-chat .str-chat__form__switch-field__switch
|
|
1585
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__switch:focus-within {
|
|
1586
|
+
outline: var(--str-chat__focus-outline, 2px solid var(--border-utility-focused));
|
|
1587
|
+
outline-offset: var(--str-chat__focus-outline-offset, 2px);
|
|
1588
|
+
}
|
|
1589
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__switch--on {
|
|
1587
1590
|
background-color: var(--str-chat__control-toggle-switch-bg-selected);
|
|
1588
1591
|
justify-content: flex-end;
|
|
1589
1592
|
}
|
|
1590
|
-
.str-chat .str-chat__form__switch-field__switch--on .str-chat__form__switch-field__switch-handle {
|
|
1593
|
+
.str-chat .str-chat__form__switch-field .str-chat__form__switch-field__switch--on .str-chat__form__switch-field__switch-handle {
|
|
1591
1594
|
background-color: var(--str-chat__base-white, #ffffff);
|
|
1592
1595
|
}
|
|
1593
1596
|
.str-chat .str-chat__form__switch-field--disabled .str-chat__form__switch-field__label,
|
|
1594
|
-
.str-chat .str-chat__form__switch-field--disabled .str-chat__form__switch-field__switch
|
|
1597
|
+
.str-chat .str-chat__form__switch-field--disabled .str-chat__form__switch-field__switch,
|
|
1598
|
+
.str-chat .str-chat__form__switch-field--disabled .str-chat__form__switch-field__input {
|
|
1595
1599
|
cursor: not-allowed;
|
|
1596
1600
|
}
|
|
1597
1601
|
.str-chat .str-chat__form__switch-field--disabled .str-chat__form__switch-field__switch {
|
|
@@ -1620,9 +1624,7 @@ to create clearer separation from the base surface.
|
|
|
1620
1624
|
}
|
|
1621
1625
|
|
|
1622
1626
|
.str-chat__form-text-input__label {
|
|
1623
|
-
font
|
|
1624
|
-
font-weight: var(--str-chat__typography-font-weight-medium);
|
|
1625
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
1627
|
+
font: var(--str-chat__font-heading-xs);
|
|
1626
1628
|
color: var(--str-chat__text-primary);
|
|
1627
1629
|
}
|
|
1628
1630
|
|
|
@@ -1634,7 +1636,6 @@ to create clearer separation from the base surface.
|
|
|
1634
1636
|
gap: 0;
|
|
1635
1637
|
background-color: var(--str-chat__background-core-elevation-0);
|
|
1636
1638
|
border-radius: var(--str-chat__radius-md);
|
|
1637
|
-
outline: none;
|
|
1638
1639
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
1639
1640
|
}
|
|
1640
1641
|
|
|
@@ -1653,8 +1654,7 @@ to create clearer separation from the base surface.
|
|
|
1653
1654
|
}
|
|
1654
1655
|
|
|
1655
1656
|
.str-chat__form-text-input:focus-within .str-chat__form-text-input__wrapper--outline {
|
|
1656
|
-
|
|
1657
|
-
box-shadow: 0 0 0 2px var(--border-utility-focus, #c3d9ff);
|
|
1657
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--str-chat__border-utility-focused));
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
1660
|
.str-chat__form-text-input--error .str-chat__form-text-input__wrapper--outline {
|
|
@@ -1668,12 +1668,11 @@ to create clearer separation from the base surface.
|
|
|
1668
1668
|
|
|
1669
1669
|
.str-chat__form-text-input:focus-within.str-chat__form-text-input--error .str-chat__form-text-input__wrapper--outline {
|
|
1670
1670
|
border: 1px solid var(--str-chat__border-utility-error);
|
|
1671
|
-
box-shadow:
|
|
1671
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--border-utility-focused));
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
.str-chat__form-text-input:focus-within.str-chat__form-text-input--error.str-chat__form-text-input--field-message-inside .str-chat__form-text-input__wrapper--outline {
|
|
1675
|
-
|
|
1676
|
-
box-shadow: 0 0 0 2px var(--border-utility-focus, #c3d9ff);
|
|
1675
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--str-chat__border-utility-focused));
|
|
1677
1676
|
}
|
|
1678
1677
|
|
|
1679
1678
|
.str-chat__form-text-input--disabled .str-chat__form-text-input__wrapper--outline {
|
|
@@ -1687,7 +1686,7 @@ to create clearer separation from the base surface.
|
|
|
1687
1686
|
|
|
1688
1687
|
.str-chat__form-text-input:focus-within .str-chat__form-text-input__wrapper--ghost {
|
|
1689
1688
|
border: none;
|
|
1690
|
-
box-shadow: 0 0 0 2px var(--
|
|
1689
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--str-chat__border-utility-focused));
|
|
1691
1690
|
}
|
|
1692
1691
|
|
|
1693
1692
|
.str-chat__form-text-input--error .str-chat__form-text-input__wrapper--ghost {
|
|
@@ -1702,12 +1701,12 @@ to create clearer separation from the base surface.
|
|
|
1702
1701
|
|
|
1703
1702
|
.str-chat__form-text-input:focus-within.str-chat__form-text-input--error .str-chat__form-text-input__wrapper--ghost {
|
|
1704
1703
|
border: 1px solid var(--str-chat__border-utility-error);
|
|
1705
|
-
box-shadow:
|
|
1704
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--border-utility-focused));
|
|
1706
1705
|
}
|
|
1707
1706
|
|
|
1708
1707
|
.str-chat__form-text-input:focus-within.str-chat__form-text-input--error.str-chat__form-text-input--field-message-inside .str-chat__form-text-input__wrapper--ghost {
|
|
1709
1708
|
border: none;
|
|
1710
|
-
box-shadow: 0 0 0 2px var(--
|
|
1709
|
+
box-shadow: 0 0 0 2px var(--str-chat__focus-outline-color, var(--str-chat__border-utility-focused));
|
|
1711
1710
|
}
|
|
1712
1711
|
|
|
1713
1712
|
.str-chat__form-text-input__leading {
|
|
@@ -1814,9 +1813,7 @@ to create clearer separation from the base surface.
|
|
|
1814
1813
|
border: none;
|
|
1815
1814
|
}
|
|
1816
1815
|
.str-chat__form__input-fieldset .str-chat__form__input-fieldset__label {
|
|
1817
|
-
font
|
|
1818
|
-
font-weight: var(--str-chat__typography-font-weight-medium);
|
|
1819
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
1816
|
+
font: var(--str-chat__font-heading-xs);
|
|
1820
1817
|
color: var(--str-chat__text-primary);
|
|
1821
1818
|
}
|
|
1822
1819
|
.str-chat__form__input-fieldset .str-chat__form__input-fieldset__values {
|
|
@@ -1985,9 +1982,7 @@ to create clearer separation from the base surface.
|
|
|
1985
1982
|
.str-chat .str-chat__context-menu .str-chat__context-menu__header {
|
|
1986
1983
|
width: 100%;
|
|
1987
1984
|
color: var(--str-chat__text-tertiary);
|
|
1988
|
-
font
|
|
1989
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold, 600);
|
|
1990
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
1985
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
1991
1986
|
}
|
|
1992
1987
|
.str-chat .str-chat__context-menu .str-chat__context-menu__back-button {
|
|
1993
1988
|
background: none;
|
|
@@ -2003,9 +1998,7 @@ to create clearer separation from the base surface.
|
|
|
2003
1998
|
cursor: pointer;
|
|
2004
1999
|
border-radius: var(--str-chat__radius-md);
|
|
2005
2000
|
color: var(--str-chat__text-tertiary);
|
|
2006
|
-
font
|
|
2007
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold, 600);
|
|
2008
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
2001
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
2009
2002
|
}
|
|
2010
2003
|
.str-chat .str-chat__context-menu .str-chat__context-menu__back-button:hover:not(:disabled) {
|
|
2011
2004
|
background-color: var(--str-chat__background-utility-hover);
|
|
@@ -2027,15 +2020,16 @@ to create clearer separation from the base surface.
|
|
|
2027
2020
|
display: flex;
|
|
2028
2021
|
flex-direction: column;
|
|
2029
2022
|
gap: var(--str-chat__spacing-xxxs);
|
|
2030
|
-
overflow-x: hidden;
|
|
2031
2023
|
}
|
|
2032
2024
|
.str-chat .str-chat__context-menu .str-chat__context-menu__body.str-chat__context-menu__body--submenu-forward {
|
|
2025
|
+
overflow-x: hidden;
|
|
2033
2026
|
animation-duration: 280ms;
|
|
2034
2027
|
animation-name: var(--str-chat__context-menu-submenu-forward-animation, str-chat-context-menu-submenu-forward);
|
|
2035
2028
|
animation-timing-function: cubic-bezier(0.2, 0.95, 0.25, 1);
|
|
2036
2029
|
transform-origin: var(--str-chat__context-menu-submenu-forward-transform-origin, left center);
|
|
2037
2030
|
}
|
|
2038
2031
|
.str-chat .str-chat__context-menu .str-chat__context-menu__body.str-chat__context-menu__body--submenu-backward {
|
|
2032
|
+
overflow-x: hidden;
|
|
2039
2033
|
animation-duration: 400ms;
|
|
2040
2034
|
animation-name: var(--str-chat__context-menu-submenu-backward-animation, str-chat-context-menu-submenu-backward);
|
|
2041
2035
|
animation-timing-function: cubic-bezier(0.16, 0.92, 0.2, 1);
|
|
@@ -2054,9 +2048,7 @@ to create clearer separation from the base surface.
|
|
|
2054
2048
|
width: 100%;
|
|
2055
2049
|
padding: var(--str-chat__spacing-xs);
|
|
2056
2050
|
cursor: pointer;
|
|
2057
|
-
font
|
|
2058
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
2059
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
2051
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
2060
2052
|
}
|
|
2061
2053
|
.str-chat .str-chat__context-menu .str-chat__context-menu__button.str-chat__context-menu__button--destructive .str-chat__context-menu__button__label,
|
|
2062
2054
|
.str-chat .str-chat__context-menu .str-chat__context-menu__button.str-chat__context-menu__button--destructive .str-chat__icon {
|
|
@@ -2094,12 +2086,22 @@ to create clearer separation from the base surface.
|
|
|
2094
2086
|
.str-chat .str-chat__context-menu .str-chat__context-menu__button .str-chat__context-menu__button__details {
|
|
2095
2087
|
flex: 1;
|
|
2096
2088
|
color: var(--str-chat__text-tertiary);
|
|
2097
|
-
font
|
|
2089
|
+
font: var(--str-chat__font-caption-default);
|
|
2098
2090
|
white-space: nowrap;
|
|
2099
2091
|
}
|
|
2100
2092
|
.str-chat .str-chat__context-menu .str-chat__emoji-context-menu__button,
|
|
2101
2093
|
.str-chat .str-chat__context-menu .str-chat__user-context-menu__button {
|
|
2102
|
-
font
|
|
2094
|
+
font: var(--str-chat__font-caption-default);
|
|
2095
|
+
}
|
|
2096
|
+
.str-chat .str-chat__context-menu .str-chat__emoji-context-menu__button .str-chat__context-menu__button__emoji,
|
|
2097
|
+
.str-chat .str-chat__context-menu .str-chat__user-context-menu__button .str-chat__context-menu__button__emoji {
|
|
2098
|
+
font-size: var(--str-chat__typography-font-size-md);
|
|
2099
|
+
width: var(--str-chat__typography-font-size-md);
|
|
2100
|
+
height: var(--str-chat__typography-font-size-md);
|
|
2101
|
+
line-height: 0;
|
|
2102
|
+
display: flex;
|
|
2103
|
+
align-items: center;
|
|
2104
|
+
justify-content: center;
|
|
2103
2105
|
}
|
|
2104
2106
|
.str-chat [data-str-chat-placement^=right] > .str-chat__context-menu {
|
|
2105
2107
|
animation: str-chat-context-menu-roll-in-from-left var(--str-chat__menu-roll-duration, 130ms) var(--str-chat__menu-roll-ease);
|
|
@@ -2202,6 +2204,7 @@ to create clearer separation from the base surface.
|
|
|
2202
2204
|
min-width: 0;
|
|
2203
2205
|
}
|
|
2204
2206
|
.str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__title {
|
|
2207
|
+
margin: 0;
|
|
2205
2208
|
font: var(--str-chat__font-heading-sm);
|
|
2206
2209
|
color: var(--str-chat__text-primary);
|
|
2207
2210
|
}
|
|
@@ -2210,6 +2213,7 @@ to create clearer separation from the base surface.
|
|
|
2210
2213
|
color: var(--str-chat__text-secondary);
|
|
2211
2214
|
}
|
|
2212
2215
|
.str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__close-button {
|
|
2216
|
+
align-self: flex-start;
|
|
2213
2217
|
flex-shrink: 0;
|
|
2214
2218
|
color: var(--str-chat__text-primary);
|
|
2215
2219
|
}
|
|
@@ -2265,6 +2269,7 @@ to create clearer separation from the base surface.
|
|
|
2265
2269
|
min-width: 0;
|
|
2266
2270
|
}
|
|
2267
2271
|
.str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__title {
|
|
2272
|
+
margin: 0;
|
|
2268
2273
|
font: var(--str-chat__font-heading-sm);
|
|
2269
2274
|
color: var(--str-chat__text-primary);
|
|
2270
2275
|
}
|
|
@@ -2278,6 +2283,7 @@ to create clearer separation from the base surface.
|
|
|
2278
2283
|
stroke-width: 1.5px;
|
|
2279
2284
|
}
|
|
2280
2285
|
.str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__close-button {
|
|
2286
|
+
align-self: flex-start;
|
|
2281
2287
|
flex-shrink: 0;
|
|
2282
2288
|
color: var(--str-chat__text-primary);
|
|
2283
2289
|
}
|
|
@@ -2500,8 +2506,7 @@ to create clearer separation from the base surface.
|
|
|
2500
2506
|
align-items: center;
|
|
2501
2507
|
justify-content: space-between;
|
|
2502
2508
|
column-gap: var(--str-chat__space-8);
|
|
2503
|
-
font
|
|
2504
|
-
font-size: var(--str-chat__typography-font-size-sm);
|
|
2509
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
2505
2510
|
}
|
|
2506
2511
|
.str-chat__attachment-list .str-chat__message-attachment-file--item .str-chat__message-attachment-file--item__info .str-chat__message-attachment-file--item__first-row .str-chat__message-attachment-file--item__name,
|
|
2507
2512
|
.str-chat__attachment-list .str-chat__message-attachment-file--item .str-chat__message-attachment-file--item__info .str-chat__message-attachment-file--item__first-row .str-chat__message-attachment-audio-widget--title,
|
|
@@ -2530,7 +2535,7 @@ to create clearer separation from the base surface.
|
|
|
2530
2535
|
.str-chat__attachment-list .str-chat__message-attachment-file--item .str-chat__message-attachment-audio-widget--text .str-chat__message-attachment-file--item__data,
|
|
2531
2536
|
.str-chat__attachment-list .str-chat__message-attachment-audio-widget .str-chat__message-attachment-file--item__info .str-chat__message-attachment-file--item__data,
|
|
2532
2537
|
.str-chat__attachment-list .str-chat__message-attachment-audio-widget .str-chat__message-attachment-audio-widget--text .str-chat__message-attachment-file--item__data {
|
|
2533
|
-
font
|
|
2538
|
+
font: var(--str-chat__font-metadata-default);
|
|
2534
2539
|
}
|
|
2535
2540
|
.str-chat__attachment-list .str-chat__message-attachment-file--item {
|
|
2536
2541
|
background: transparent;
|
|
@@ -2594,16 +2599,15 @@ to create clearer separation from the base surface.
|
|
|
2594
2599
|
padding: var(--str-chat__button-padding-y-sm) var(--str-chat__button-padding-x-with-label-sm);
|
|
2595
2600
|
white-space: nowrap;
|
|
2596
2601
|
border-collapse: collapse;
|
|
2597
|
-
font
|
|
2598
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
2599
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
2602
|
+
font: var(--str-chat__font-body-emphasis);
|
|
2600
2603
|
}
|
|
2601
2604
|
.str-chat__message-attachment-actions .str-chat__message-attachment-actions-form .str-chat__message-attachment-actions-button.str-chat__button:active {
|
|
2602
2605
|
color: var(--str-chat__accent-primary);
|
|
2603
2606
|
}
|
|
2604
2607
|
.str-chat__message-attachment-actions .str-chat__message-attachment-actions-form .str-chat__message-attachment-actions-button.str-chat__button:focus-visible {
|
|
2605
2608
|
color: var(--str-chat__accent-primary);
|
|
2606
|
-
outline:
|
|
2609
|
+
outline: 2px solid var(--str-chat__border-utility-focused);
|
|
2610
|
+
outline-offset: 2px;
|
|
2607
2611
|
}
|
|
2608
2612
|
|
|
2609
2613
|
.str-chat__message-attachment-audio-widget {
|
|
@@ -2769,19 +2773,17 @@ to create clearer separation from the base surface.
|
|
|
2769
2773
|
.str-chat__giphy-badge {
|
|
2770
2774
|
display: inline-flex;
|
|
2771
2775
|
height: 24px;
|
|
2772
|
-
padding: var(--str-chat__spacing-xxxs
|
|
2776
|
+
padding: var(--str-chat__spacing-xxxs) var(--str-chat__spacing-xs);
|
|
2773
2777
|
justify-content: center;
|
|
2774
2778
|
align-items: center;
|
|
2775
|
-
gap: var(--str-chat__spacing-xxs
|
|
2779
|
+
gap: var(--str-chat__spacing-xxs);
|
|
2776
2780
|
position: absolute;
|
|
2777
2781
|
inset-inline-start: 8px;
|
|
2778
2782
|
bottom: 8px;
|
|
2779
|
-
border-radius: var(--str-chat__radius-lg
|
|
2780
|
-
background-color: var(--str-chat__badge-bg-overlay
|
|
2781
|
-
color: var(--str-chat__badge-text-on-accent
|
|
2782
|
-
font
|
|
2783
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold, 600);
|
|
2784
|
-
line-height: var(--str-chat__typography-line-height-tight, 16px);
|
|
2783
|
+
border-radius: var(--str-chat__radius-lg);
|
|
2784
|
+
background-color: var(--str-chat__badge-bg-overlay);
|
|
2785
|
+
color: var(--str-chat__badge-text-on-accent);
|
|
2786
|
+
font: var(--str-chat__font-metadata-emphasis);
|
|
2785
2787
|
text-transform: uppercase;
|
|
2786
2788
|
}
|
|
2787
2789
|
|
|
@@ -2798,9 +2800,7 @@ to create clearer separation from the base surface.
|
|
|
2798
2800
|
gap: var(--str-chat__spacing-xs, 8px);
|
|
2799
2801
|
align-self: stretch;
|
|
2800
2802
|
color: var(--chat-text);
|
|
2801
|
-
font
|
|
2802
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
2803
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
2803
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
2804
2804
|
}
|
|
2805
2805
|
|
|
2806
2806
|
.str-chat__message-attachment-card {
|
|
@@ -2847,17 +2847,11 @@ to create clearer separation from the base surface.
|
|
|
2847
2847
|
min-width: 0;
|
|
2848
2848
|
}
|
|
2849
2849
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--title {
|
|
2850
|
-
|
|
2851
|
-
overflow-y: visible;
|
|
2852
|
-
overflow-x: hidden;
|
|
2853
|
-
overflow-x: clip;
|
|
2854
|
-
text-overflow: ellipsis;
|
|
2855
|
-
font-size: var(--str-chat__typography-font-size-sm);
|
|
2856
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
2850
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
2857
2851
|
}
|
|
2858
2852
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--source-link,
|
|
2859
2853
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--text {
|
|
2860
|
-
font
|
|
2854
|
+
font: var(--str-chat__font-metadata-default);
|
|
2861
2855
|
}
|
|
2862
2856
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--title,
|
|
2863
2857
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--url {
|
|
@@ -2873,6 +2867,7 @@ to create clearer separation from the base surface.
|
|
|
2873
2867
|
-webkit-line-clamp: 1;
|
|
2874
2868
|
overflow: hidden;
|
|
2875
2869
|
text-overflow: ellipsis;
|
|
2870
|
+
font: var(--str-chat__font-metadata-default);
|
|
2876
2871
|
}
|
|
2877
2872
|
.str-chat__message-attachment-card .str-chat__message-attachment-card--source-link {
|
|
2878
2873
|
display: flex;
|
|
@@ -3298,10 +3293,6 @@ to create clearer separation from the base surface.
|
|
|
3298
3293
|
border-radius: var(--str-chat__radius-max);
|
|
3299
3294
|
background: var(--str-chat__avatar-bg-default);
|
|
3300
3295
|
color: var(--str-chat__avatar-text-default);
|
|
3301
|
-
text-align: center;
|
|
3302
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
3303
|
-
font-style: normal;
|
|
3304
|
-
line-height: 1;
|
|
3305
3296
|
text-transform: uppercase;
|
|
3306
3297
|
width: var(--avatar-size);
|
|
3307
3298
|
height: var(--avatar-size);
|
|
@@ -3360,35 +3351,35 @@ to create clearer separation from the base surface.
|
|
|
3360
3351
|
--avatar-status-badge-size: 16px;
|
|
3361
3352
|
--avatar-icon-size: var(--str-chat__icon-size-lg);
|
|
3362
3353
|
--avatar-icon-stroke-width: 1.5px;
|
|
3363
|
-
font
|
|
3354
|
+
font: var(--str-chat__font-heading-lg);
|
|
3364
3355
|
}
|
|
3365
3356
|
.str-chat__avatar.str-chat__avatar--size-xl {
|
|
3366
3357
|
--avatar-size: 48px;
|
|
3367
3358
|
--avatar-status-badge-size: 16px;
|
|
3368
3359
|
--avatar-icon-size: var(--str-chat__size-24);
|
|
3369
3360
|
--avatar-icon-stroke-width: 1.5px;
|
|
3370
|
-
font
|
|
3361
|
+
font: var(--str-chat__font-heading-md);
|
|
3371
3362
|
}
|
|
3372
3363
|
.str-chat__avatar.str-chat__avatar--size-lg {
|
|
3373
3364
|
--avatar-size: 40px;
|
|
3374
3365
|
--avatar-status-badge-size: 14px;
|
|
3375
3366
|
--avatar-icon-size: var(--str-chat__icon-size-md);
|
|
3376
3367
|
--avatar-icon-stroke-width: 1.5px;
|
|
3377
|
-
font
|
|
3368
|
+
font: var(--str-chat__font-body-emphasis);
|
|
3378
3369
|
}
|
|
3379
3370
|
.str-chat__avatar.str-chat__avatar--size-md {
|
|
3380
3371
|
--avatar-size: 32px;
|
|
3381
3372
|
--avatar-status-badge-size: 12px;
|
|
3382
3373
|
--avatar-icon-size: var(--str-chat__icon-size-md);
|
|
3383
3374
|
--avatar-icon-stroke-width: 1.5px;
|
|
3384
|
-
font
|
|
3375
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
3385
3376
|
}
|
|
3386
3377
|
.str-chat__avatar.str-chat__avatar--size-sm {
|
|
3387
3378
|
--avatar-size: 24px;
|
|
3388
3379
|
--avatar-status-badge-size: 8px;
|
|
3389
3380
|
--avatar-icon-size: var(--str-chat__icon-size-sm);
|
|
3390
3381
|
--avatar-icon-stroke-width: 1.2px;
|
|
3391
|
-
font
|
|
3382
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
3392
3383
|
}
|
|
3393
3384
|
.str-chat__avatar.str-chat__avatar--size-sm .str-chat__avatar-status-badge {
|
|
3394
3385
|
border-width: 1px;
|
|
@@ -3398,7 +3389,7 @@ to create clearer separation from the base surface.
|
|
|
3398
3389
|
--avatar-status-badge-size: 8px;
|
|
3399
3390
|
--avatar-icon-size: 10px;
|
|
3400
3391
|
--avatar-icon-stroke-width: 1.2px;
|
|
3401
|
-
font
|
|
3392
|
+
font: var(--str-chat__font-metadata-emphasis);
|
|
3402
3393
|
}
|
|
3403
3394
|
.str-chat__avatar.str-chat__avatar--size-xs .str-chat__avatar-status-badge {
|
|
3404
3395
|
border-width: 1px;
|
|
@@ -3441,7 +3432,7 @@ to create clearer separation from the base surface.
|
|
|
3441
3432
|
--avatar-group-count-badge-size: 32px;
|
|
3442
3433
|
}
|
|
3443
3434
|
.str-chat__avatar-group.str-chat__avatar-group--size-2xl > .str-chat__avatar-group__count-badge {
|
|
3444
|
-
font
|
|
3435
|
+
font: var(--str-chat__font-numeric-xl);
|
|
3445
3436
|
padding-inline: var(--str-chat__spacing-xs);
|
|
3446
3437
|
}
|
|
3447
3438
|
.str-chat__avatar-group.str-chat__avatar-group--size-xl {
|
|
@@ -3450,7 +3441,7 @@ to create clearer separation from the base surface.
|
|
|
3450
3441
|
--avatar-group-count-badge-size: 24px;
|
|
3451
3442
|
}
|
|
3452
3443
|
.str-chat__avatar-group.str-chat__avatar-group--size-xl > .str-chat__avatar-group__count-badge {
|
|
3453
|
-
font
|
|
3444
|
+
font: var(--str-chat__font-numeric-xl);
|
|
3454
3445
|
padding-inline: var(--str-chat__spacing-xs);
|
|
3455
3446
|
}
|
|
3456
3447
|
.str-chat__avatar-group.str-chat__avatar-group--size-lg {
|
|
@@ -3459,7 +3450,7 @@ to create clearer separation from the base surface.
|
|
|
3459
3450
|
--avatar-group-count-badge-size: 20px;
|
|
3460
3451
|
}
|
|
3461
3452
|
.str-chat__avatar-group.str-chat__avatar-group--size-lg > .str-chat__avatar-group__count-badge {
|
|
3462
|
-
font
|
|
3453
|
+
font: var(--str-chat__font-numeric-md);
|
|
3463
3454
|
padding-inline: var(--str-chat__spacing-xxs);
|
|
3464
3455
|
}
|
|
3465
3456
|
.str-chat__avatar-group.str-chat__avatar-group--online::after, .str-chat__avatar-group.str-chat__avatar-group--offline::after {
|
|
@@ -3489,13 +3480,11 @@ to create clearer separation from the base surface.
|
|
|
3489
3480
|
height: var(--avatar-group-count-badge-size);
|
|
3490
3481
|
min-width: var(--avatar-group-count-badge-size);
|
|
3491
3482
|
min-height: var(--avatar-group-count-badge-size);
|
|
3492
|
-
font-weight: var(--str-chat__typography-font-weight-bold);
|
|
3493
|
-
font-family: var(--str-chat__typography-font-family-sans);
|
|
3494
3483
|
justify-content: center;
|
|
3495
3484
|
align-items: center;
|
|
3496
3485
|
border-radius: var(--str-chat__radius-max);
|
|
3497
3486
|
background: var(--str-chat__badge-bg-default);
|
|
3498
|
-
box-shadow:
|
|
3487
|
+
box-shadow: var(--str-chat__box-shadow-2);
|
|
3499
3488
|
}
|
|
3500
3489
|
.str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(1) {
|
|
3501
3490
|
top: 0;
|
|
@@ -3837,15 +3826,16 @@ to create clearer separation from the base surface.
|
|
|
3837
3826
|
border-inline-end: 1px solid var(--str-chat__border-core-default);
|
|
3838
3827
|
}
|
|
3839
3828
|
.str-chat__channel-list .str-chat__channel-list-inner {
|
|
3840
|
-
|
|
3829
|
+
flex: 1;
|
|
3830
|
+
min-height: 0;
|
|
3841
3831
|
overflow: hidden;
|
|
3842
|
-
padding-bottom: calc(var(--str-chat__space-8) + var(--str-chat__space-2));
|
|
3843
3832
|
}
|
|
3844
3833
|
.str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main {
|
|
3845
3834
|
height: 100%;
|
|
3846
3835
|
overflow-y: auto;
|
|
3847
3836
|
scrollbar-gutter: stable both-edges;
|
|
3848
3837
|
scrollbar-width: thin;
|
|
3838
|
+
padding-bottom: calc(var(--str-chat__space-8) + var(--str-chat__space-2));
|
|
3849
3839
|
}
|
|
3850
3840
|
.str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main .str-chat__channel-list-empty {
|
|
3851
3841
|
height: 100%;
|
|
@@ -3928,9 +3918,9 @@ to create clearer separation from the base surface.
|
|
|
3928
3918
|
display: none;
|
|
3929
3919
|
position: absolute;
|
|
3930
3920
|
gap: var(--str-chat__spacing-xs);
|
|
3931
|
-
border-radius: var(--str-chat__radius-md
|
|
3932
|
-
background: var(--str-chat__background-core-elevation-3
|
|
3933
|
-
box-shadow:
|
|
3921
|
+
border-radius: var(--str-chat__radius-md);
|
|
3922
|
+
background: var(--str-chat__background-core-elevation-3);
|
|
3923
|
+
box-shadow: var(--str-chat__box-shadow-2);
|
|
3934
3924
|
inset-inline-end: 10px;
|
|
3935
3925
|
top: 10px;
|
|
3936
3926
|
padding: var(--str-chat__spacing-xxs);
|
|
@@ -3956,7 +3946,6 @@ to create clearer separation from the base surface.
|
|
|
3956
3946
|
background: none;
|
|
3957
3947
|
cursor: pointer;
|
|
3958
3948
|
text-align: start;
|
|
3959
|
-
font-family: var(--str-chat__typography-font-family-sans);
|
|
3960
3949
|
border-radius: var(--str-chat__radius-lg);
|
|
3961
3950
|
width: 100%;
|
|
3962
3951
|
background: var(--str-chat__background-core-elevation-1);
|
|
@@ -3994,9 +3983,7 @@ to create clearer separation from the base surface.
|
|
|
3994
3983
|
display: flex;
|
|
3995
3984
|
align-items: inherit;
|
|
3996
3985
|
gap: var(--str-chat__spacing-xxs);
|
|
3997
|
-
font
|
|
3998
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
3999
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
3986
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
4000
3987
|
color: var(--str-chat__text-primary);
|
|
4001
3988
|
}
|
|
4002
3989
|
.str-chat__channel-list-item .str-chat__channel-list-item-data .str-chat__channel-list-item-data__first-row .str-chat__channel-list-item-data__title > span {
|
|
@@ -4016,10 +4003,8 @@ to create clearer separation from the base surface.
|
|
|
4016
4003
|
gap: var(--str-chat__spacing-xs);
|
|
4017
4004
|
}
|
|
4018
4005
|
.str-chat__channel-list-item .str-chat__channel-list-item-data .str-chat__channel-list-item-data__first-row .str-chat__channel-list-item-data__timestamp-and-badge .str-chat__channel-list-item-timestamp {
|
|
4019
|
-
font
|
|
4020
|
-
font-size: var(--str-chat__typography-font-size-sm);
|
|
4006
|
+
font: var(--str-chat__font-caption-default);
|
|
4021
4007
|
color: var(--str-chat__text-tertiary);
|
|
4022
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
4023
4008
|
}
|
|
4024
4009
|
|
|
4025
4010
|
.str-chat {
|
|
@@ -4241,6 +4226,10 @@ to create clearer separation from the base surface.
|
|
|
4241
4226
|
--str-chat__modal-overlay-color: var(--str-chat__background-core-scrim);
|
|
4242
4227
|
--str-chat__modal-overlay-backdrop-filter: none;
|
|
4243
4228
|
}
|
|
4229
|
+
.str-chat.str-chat__modal.str-chat__gallery-modal .str-chat__modal__dialog {
|
|
4230
|
+
width: 100%;
|
|
4231
|
+
height: 100%;
|
|
4232
|
+
}
|
|
4244
4233
|
.str-chat .str-chat__gallery__header {
|
|
4245
4234
|
padding: var(--str-chat__spacing-md);
|
|
4246
4235
|
display: grid;
|
|
@@ -4587,9 +4576,6 @@ to create clearer separation from the base surface.
|
|
|
4587
4576
|
width: 100%;
|
|
4588
4577
|
max-width: 520px;
|
|
4589
4578
|
}
|
|
4590
|
-
.str-chat__share-location-dialog .str-chat__prompt__body {
|
|
4591
|
-
height: 65px;
|
|
4592
|
-
}
|
|
4593
4579
|
.str-chat__share-location-dialog .str-chat__live-location-activation {
|
|
4594
4580
|
display: flex;
|
|
4595
4581
|
flex-direction: column;
|
|
@@ -4655,9 +4641,7 @@ to create clearer separation from the base surface.
|
|
|
4655
4641
|
display: flex;
|
|
4656
4642
|
align-items: center;
|
|
4657
4643
|
width: 2.75rem;
|
|
4658
|
-
font
|
|
4659
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
4660
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
4644
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
4661
4645
|
}
|
|
4662
4646
|
.str-chat__audio_recorder .str-chat__audio-recorder__recording-playback .str-chat__recording-timer--hours,
|
|
4663
4647
|
.str-chat__audio_recorder .str-chat__audio-recorder__recording-preview .str-chat__recording-timer--hours {
|
|
@@ -4756,131 +4740,143 @@ to create clearer separation from the base surface.
|
|
|
4756
4740
|
/* The maximum allowed width of the message component, if it has attachments */
|
|
4757
4741
|
--str-chat__message-with-attachment-max-width: 400px;
|
|
4758
4742
|
}
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
--chat-poll-progress-fill: var(--str-chat__chat-poll-progress-fill-outgoing);
|
|
4768
|
-
--chat-thread-connector: var(--str-chat__chat-thread-connector-outgoing);
|
|
4743
|
+
|
|
4744
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
4745
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
4746
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options,
|
|
4747
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
4748
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
|
|
4749
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options {
|
|
4750
|
+
display: flex;
|
|
4769
4751
|
}
|
|
4770
|
-
.str-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4752
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
4753
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
4754
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner,
|
|
4755
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
4756
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
4757
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
|
|
4758
|
+
margin-inline-end: 0;
|
|
4759
|
+
}
|
|
4760
|
+
.str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
4761
|
+
.str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
4762
|
+
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
|
|
4763
|
+
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
4764
|
+
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
4765
|
+
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
|
|
4766
|
+
margin-inline-start: 0;
|
|
4780
4767
|
}
|
|
4781
4768
|
|
|
4782
|
-
|
|
4783
|
-
|
|
4769
|
+
.str-chat__li:has(.str-chat__message--pinned) {
|
|
4770
|
+
position: relative;
|
|
4771
|
+
isolation: isolate;
|
|
4772
|
+
}
|
|
4773
|
+
.str-chat__li:has(.str-chat__message--pinned)::before {
|
|
4774
|
+
content: "";
|
|
4775
|
+
position: absolute;
|
|
4776
|
+
inset-block: 0;
|
|
4777
|
+
inset-inline: -9999px;
|
|
4778
|
+
background-color: var(--str-chat__background-core-highlight);
|
|
4779
|
+
z-index: -1;
|
|
4780
|
+
pointer-events: none;
|
|
4781
|
+
}
|
|
4782
|
+
.str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)) {
|
|
4783
|
+
background-color: transparent;
|
|
4784
|
+
}
|
|
4785
|
+
.str-chat__li.str-chat__li--top {
|
|
4784
4786
|
padding-block-start: var(--str-chat__spacing-xs);
|
|
4785
4787
|
padding-block-end: var(--str-chat__spacing-xxxs);
|
|
4786
4788
|
}
|
|
4787
|
-
|
|
4788
|
-
.str-chat__li--bottom {
|
|
4789
|
+
.str-chat__li.str-chat__li--bottom {
|
|
4789
4790
|
padding-block-start: var(--str-chat__spacing-xxxs);
|
|
4790
4791
|
padding-block-end: var(--str-chat__spacing-xs);
|
|
4791
4792
|
}
|
|
4792
|
-
|
|
4793
|
-
.str-chat__li--middle {
|
|
4793
|
+
.str-chat__li.str-chat__li--middle {
|
|
4794
4794
|
padding-block: var(--str-chat__spacing-xxxs);
|
|
4795
4795
|
}
|
|
4796
|
-
|
|
4797
|
-
.str-chat__li--single {
|
|
4796
|
+
.str-chat__li.str-chat__li--single {
|
|
4798
4797
|
padding-block: var(--str-chat__spacing-xs);
|
|
4799
4798
|
}
|
|
4799
|
+
.str-chat__li.str-chat__li--middle .str-chat__message .str-chat__message-metadata, .str-chat__li.str-chat__li--top .str-chat__message .str-chat__message-metadata {
|
|
4800
|
+
display: none;
|
|
4801
|
+
}
|
|
4802
|
+
.str-chat__li.str-chat__li--middle .str-chat__message > .str-chat__avatar, .str-chat__li.str-chat__li--top .str-chat__message > .str-chat__avatar {
|
|
4803
|
+
visibility: hidden;
|
|
4804
|
+
}
|
|
4805
|
+
.str-chat__li.str-chat__li--middle .str-chat__message.str-chat__message--with-avatar > .str-chat__avatar, .str-chat__li.str-chat__li--top .str-chat__message.str-chat__message--with-avatar > .str-chat__avatar {
|
|
4806
|
+
pointer-events: none;
|
|
4807
|
+
}
|
|
4808
|
+
.str-chat__li.str-chat__li--middle .str-chat__message-bubble, .str-chat__li.str-chat__li--top .str-chat__message-bubble {
|
|
4809
|
+
border-radius: var(--str-chat__message-bubble-radius-group-middle);
|
|
4810
|
+
}
|
|
4811
|
+
.str-chat__li.str-chat__li--single .str-chat__message--other .str-chat__message-inner .str-chat__message-bubble, .str-chat__li.str-chat__li--bottom .str-chat__message--other .str-chat__message-inner .str-chat__message-bubble {
|
|
4812
|
+
border-end-start-radius: var(--str-chat__message-bubble-radius-tail);
|
|
4813
|
+
}
|
|
4814
|
+
.str-chat__li.str-chat__li--single .str-chat__message--other .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text, .str-chat__li.str-chat__li--bottom .str-chat__message--other .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text {
|
|
4815
|
+
border-end-start-radius: var(--str-chat__message-bubble-radius-tail);
|
|
4816
|
+
}
|
|
4817
|
+
.str-chat__li.str-chat__li--single .str-chat__message--me .str-chat__message-inner .str-chat__message-bubble, .str-chat__li.str-chat__li--bottom .str-chat__message--me .str-chat__message-inner .str-chat__message-bubble {
|
|
4818
|
+
border-end-end-radius: var(--str-chat__message-bubble-radius-tail);
|
|
4819
|
+
}
|
|
4820
|
+
.str-chat__li.str-chat__li--single .str-chat__message--me .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text, .str-chat__li.str-chat__li--bottom .str-chat__message--me .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text {
|
|
4821
|
+
border-end-end-radius: var(--str-chat__message-bubble-radius-tail);
|
|
4822
|
+
}
|
|
4823
|
+
|
|
4824
|
+
.str-chat__message-mention {
|
|
4825
|
+
font: var(--str-chat__font-body-emphasis);
|
|
4826
|
+
color: var(--str-chat__accent-primary);
|
|
4827
|
+
}
|
|
4800
4828
|
|
|
4801
4829
|
.str-chat__message {
|
|
4802
4830
|
--str-chat-message-options-size: calc(3 * var(--str-chat__message-options-button-size));
|
|
4831
|
+
color: var(--chat-text);
|
|
4832
|
+
display: grid;
|
|
4833
|
+
word-break: break-word;
|
|
4834
|
+
hyphens: auto;
|
|
4835
|
+
overflow-wrap: break-word;
|
|
4803
4836
|
padding-inline: var(--str-chat__message-composer-padding);
|
|
4804
4837
|
}
|
|
4805
4838
|
@media (max-width: 767px) {
|
|
4806
4839
|
.str-chat__message {
|
|
4807
4840
|
--str-chat-message-options-size: var(--str-chat__message-options-button-size);
|
|
4808
4841
|
}
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
}
|
|
4818
|
-
.str-chat__message .str-chat__message-
|
|
4819
|
-
|
|
4842
|
+
.str-chat__message .str-chat__message-bubble {
|
|
4843
|
+
width: fit-content(var(--str-chat__message-max-width));
|
|
4844
|
+
max-width: min(100%, var(--str-chat__message-max-width));
|
|
4845
|
+
}
|
|
4846
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner, .str-chat__message.str-chat__message--me .str-chat__message-inner {
|
|
4847
|
+
margin-inline: 0;
|
|
4848
|
+
width: fit-content;
|
|
4849
|
+
max-width: min(100%, var(--str-chat__message-max-width));
|
|
4850
|
+
}
|
|
4851
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host, .str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host {
|
|
4852
|
+
justify-self: flex-start;
|
|
4853
|
+
justify-content: flex-start;
|
|
4854
|
+
min-width: 0;
|
|
4855
|
+
overflow: visible;
|
|
4856
|
+
margin-inline: 0;
|
|
4857
|
+
padding-inline: 0;
|
|
4858
|
+
}
|
|
4859
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner {
|
|
4860
|
+
grid-template-columns: auto var(--str-chat-message-options-size);
|
|
4861
|
+
}
|
|
4862
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner {
|
|
4863
|
+
grid-template-columns: var(--str-chat-message-options-size) auto;
|
|
4864
|
+
}
|
|
4865
|
+
.str-chat__message.str-chat__message--me .str-chat__message-bubble {
|
|
4866
|
+
justify-self: flex-end;
|
|
4867
|
+
}
|
|
4820
4868
|
}
|
|
4821
4869
|
.str-chat__message a {
|
|
4822
4870
|
text-decoration: none;
|
|
4823
4871
|
color: var(--str-chat__chat-text-link);
|
|
4824
4872
|
}
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
overflow: visible;
|
|
4873
|
+
.str-chat__message .str-chat__avatar:has(~ .str-chat__message-inner) {
|
|
4874
|
+
grid-area: avatar;
|
|
4875
|
+
align-self: end;
|
|
4829
4876
|
}
|
|
4830
|
-
.str-chat__message.str-chat__message--
|
|
4831
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
4832
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-bubble,
|
|
4833
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
4834
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-bubble,
|
|
4835
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
4836
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper {
|
|
4837
|
-
padding-inline: 0;
|
|
4838
|
-
}
|
|
4839
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble {
|
|
4840
|
-
font-size: 64px;
|
|
4841
|
-
line-height: 64px;
|
|
4842
|
-
}
|
|
4843
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble {
|
|
4844
|
-
font-size: 48px;
|
|
4845
|
-
line-height: 48px;
|
|
4846
|
-
}
|
|
4847
|
-
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble {
|
|
4848
|
-
font-size: 32px;
|
|
4849
|
-
line-height: 32px;
|
|
4850
|
-
}
|
|
4851
|
-
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-replies-count-button-wrapper::after {
|
|
4852
|
-
display: none;
|
|
4853
|
-
}
|
|
4854
|
-
|
|
4855
|
-
.str-chat__message.str-chat__message--has-attachment {
|
|
4856
|
-
--str-chat__message-max-width: var(--str-chat__message-with-attachment-max-width);
|
|
4857
|
-
}
|
|
4858
|
-
.str-chat__message.str-chat__message--has-attachment .str-chat__message-bubble {
|
|
4859
|
-
width: min(100%, var(--str-chat__message-max-width));
|
|
4860
|
-
max-width: var(--str-chat__message-max-width);
|
|
4861
|
-
}
|
|
4862
|
-
|
|
4863
|
-
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-giphy-attachment .str-chat__message-bubble {
|
|
4864
|
-
padding: 0;
|
|
4865
|
-
}
|
|
4866
|
-
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-giphy-attachment .str-chat__message-text {
|
|
4877
|
+
.str-chat__message:not(.str-chat__message--with-avatar) .str-chat__avatar:has(~ .str-chat__message-inner) {
|
|
4867
4878
|
display: none;
|
|
4868
4879
|
}
|
|
4869
|
-
|
|
4870
|
-
.str-chat__message-mention {
|
|
4871
|
-
font: var(--str-chat__font-body-emphasis);
|
|
4872
|
-
color: var(--str-chat__accent-primary);
|
|
4873
|
-
}
|
|
4874
|
-
|
|
4875
|
-
.str-chat__message {
|
|
4876
|
-
background: transparent;
|
|
4877
|
-
color: var(--str-chat__message-color, var(--chat-text));
|
|
4878
|
-
display: grid;
|
|
4879
|
-
word-wrap: break-word;
|
|
4880
|
-
word-break: break-word;
|
|
4881
|
-
hyphens: auto;
|
|
4882
|
-
overflow-wrap: break-word;
|
|
4883
|
-
}
|
|
4884
4880
|
.str-chat__message .str-chat__message-pin-indicator {
|
|
4885
4881
|
grid-area: pin-indicator;
|
|
4886
4882
|
padding-block: var(--str-chat__spacing-xxs);
|
|
@@ -4903,86 +4899,6 @@ to create clearer separation from the base surface.
|
|
|
4903
4899
|
.str-chat__message .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content .str-chat__message-pin-indicator__icon .str-chat__icon path {
|
|
4904
4900
|
stroke-width: 2px;
|
|
4905
4901
|
}
|
|
4906
|
-
.str-chat__message.str-chat__message--me .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content {
|
|
4907
|
-
justify-content: flex-end;
|
|
4908
|
-
}
|
|
4909
|
-
.str-chat__message.str-chat__message--me .str-chat__message-also-sent-in-channel {
|
|
4910
|
-
justify-content: flex-end;
|
|
4911
|
-
}
|
|
4912
|
-
.str-chat__message.str-chat__message--other {
|
|
4913
|
-
column-gap: var(--str-chat__space-8);
|
|
4914
|
-
justify-items: flex-start;
|
|
4915
|
-
}
|
|
4916
|
-
.str-chat__message.str-chat__message--other.str-chat__message--with-avatar {
|
|
4917
|
-
grid-template-areas: ". message-saved-for-later" ". pin-indicator" ". also-sent-in-channel" ". message-reminder" ". translation-indicator" "avatar message" "avatar translation-notice" "avatar custom-metadata" "avatar metadata";
|
|
4918
|
-
grid-template-columns: auto 1fr;
|
|
4919
|
-
}
|
|
4920
|
-
.str-chat__message.str-chat__message--other:not(.str-chat__message--with-avatar) {
|
|
4921
|
-
grid-template-areas: "message-saved-for-later" "pin-indicator" "also-sent-in-channel" "message-reminder" "translation-indicator" "message" "translation-notice" "custom-metadata" "metadata";
|
|
4922
|
-
grid-template-columns: 1fr;
|
|
4923
|
-
}
|
|
4924
|
-
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host {
|
|
4925
|
-
justify-self: flex-end;
|
|
4926
|
-
}
|
|
4927
|
-
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--flipped-horizontally) {
|
|
4928
|
-
justify-self: flex-start;
|
|
4929
|
-
}
|
|
4930
|
-
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
4931
|
-
padding-inline-start: calc(var(--str-chat__spacing-xs) * -1 * -1);
|
|
4932
|
-
margin-inline-end: calc(var(--str-chat__spacing-xs) * -1);
|
|
4933
|
-
}
|
|
4934
|
-
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
4935
|
-
justify-content: flex-start;
|
|
4936
|
-
flex-wrap: wrap;
|
|
4937
|
-
}
|
|
4938
|
-
.str-chat__message.str-chat__message--pinned.str-chat__message--other {
|
|
4939
|
-
grid-template-areas: ". message-saved-for-later" ". pin-indicator" ". also-sent-in-channel" ". message-reminder" ". translation-indicator" "avatar message" "avatar translation-notice" "avatar custom-metadata" "avatar metadata";
|
|
4940
|
-
grid-template-columns: auto 1fr;
|
|
4941
|
-
}
|
|
4942
|
-
.str-chat__message.str-chat__message--pinned.str-chat__message--me {
|
|
4943
|
-
grid-template-areas: "message-saved-for-later ." "pin-indicator ." "also-sent-in-channel ." "message-reminder ." "translation-indicator ." "message avatar" "translation-notice avatar" "custom-metadata avatar" "metadata avatar";
|
|
4944
|
-
grid-template-columns: 1fr auto;
|
|
4945
|
-
}
|
|
4946
|
-
.str-chat__message.str-chat__message--me {
|
|
4947
|
-
column-gap: var(--str-chat__space-8);
|
|
4948
|
-
justify-items: flex-end;
|
|
4949
|
-
}
|
|
4950
|
-
.str-chat__message.str-chat__message--me.str-chat__message--with-avatar {
|
|
4951
|
-
grid-template-areas: "message-saved-for-later ." "pin-indicator ." "also-sent-in-channel ." "message-reminder ." "translation-indicator ." "message avatar" "translation-notice avatar" "custom-metadata avatar" "metadata avatar";
|
|
4952
|
-
grid-template-columns: 1fr auto;
|
|
4953
|
-
}
|
|
4954
|
-
.str-chat__message.str-chat__message--me:not(.str-chat__message--with-avatar) {
|
|
4955
|
-
grid-template-areas: "message-saved-for-later" "pin-indicator" "also-sent-in-channel" "message-reminder" "translation-indicator" "message" "translation-notice" "custom-metadata" "metadata";
|
|
4956
|
-
grid-template-columns: 1fr;
|
|
4957
|
-
}
|
|
4958
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host {
|
|
4959
|
-
justify-self: flex-start;
|
|
4960
|
-
}
|
|
4961
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--flipped-horizontally) {
|
|
4962
|
-
justify-self: flex-end;
|
|
4963
|
-
}
|
|
4964
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
4965
|
-
padding-inline-end: calc(var(--str-chat__spacing-xs) * -1 * -1);
|
|
4966
|
-
margin-inline-start: calc(var(--str-chat__spacing-xs) * -1);
|
|
4967
|
-
}
|
|
4968
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
4969
|
-
justify-content: flex-end;
|
|
4970
|
-
flex-wrap: wrap;
|
|
4971
|
-
}
|
|
4972
|
-
.str-chat__message.str-chat__message--blocked {
|
|
4973
|
-
grid-template-areas: "message";
|
|
4974
|
-
}
|
|
4975
|
-
.str-chat__message.str-chat__message--system {
|
|
4976
|
-
grid-template-areas: "message";
|
|
4977
|
-
grid-template-columns: auto;
|
|
4978
|
-
}
|
|
4979
|
-
.str-chat__message .str-chat__avatar:has(~ .str-chat__message-inner) {
|
|
4980
|
-
grid-area: avatar;
|
|
4981
|
-
align-self: end;
|
|
4982
|
-
}
|
|
4983
|
-
.str-chat__message:not(.str-chat__message--with-avatar) .str-chat__avatar:has(~ .str-chat__message-inner) {
|
|
4984
|
-
display: none;
|
|
4985
|
-
}
|
|
4986
4902
|
.str-chat__message .str-chat__message-inner {
|
|
4987
4903
|
grid-area: message;
|
|
4988
4904
|
display: grid;
|
|
@@ -4995,6 +4911,9 @@ to create clearer separation from the base surface.
|
|
|
4995
4911
|
display: flex;
|
|
4996
4912
|
grid-area: reactions;
|
|
4997
4913
|
}
|
|
4914
|
+
.str-chat__message .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom) {
|
|
4915
|
+
max-width: var(--str-chat__message-max-width);
|
|
4916
|
+
}
|
|
4998
4917
|
.str-chat__message .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
4999
4918
|
margin-bottom: calc(var(--str-chat__spacing-xxs) * -1);
|
|
5000
4919
|
}
|
|
@@ -5005,14 +4924,18 @@ to create clearer separation from the base surface.
|
|
|
5005
4924
|
grid-template-areas: "message-bubble options" "replies replies" "reactions .";
|
|
5006
4925
|
}
|
|
5007
4926
|
.str-chat__message .str-chat__message-inner .str-chat__message-bubble {
|
|
4927
|
+
width: fit-content(var(--str-chat__message-max-width));
|
|
4928
|
+
max-width: var(--str-chat__message-max-width);
|
|
4929
|
+
min-width: 0;
|
|
5008
4930
|
display: flex;
|
|
4931
|
+
flex-direction: column;
|
|
4932
|
+
gap: var(--str-chat__spacing-xs);
|
|
4933
|
+
padding: var(--str-chat__spacing-xs);
|
|
5009
4934
|
justify-self: flex-start;
|
|
5010
4935
|
grid-area: message-bubble;
|
|
5011
4936
|
position: relative;
|
|
5012
|
-
min-width: 0;
|
|
5013
4937
|
border-radius: var(--str-chat__message-bubble-radius-group-bottom);
|
|
5014
|
-
color: var(--
|
|
5015
|
-
background-color: var(--str-chat__message-bubble-background-color, var(--chat-bg));
|
|
4938
|
+
background-color: var(--chat-bg);
|
|
5016
4939
|
overflow: hidden;
|
|
5017
4940
|
}
|
|
5018
4941
|
.str-chat__message .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text {
|
|
@@ -5022,23 +4945,17 @@ to create clearer separation from the base surface.
|
|
|
5022
4945
|
white-space: pre-line;
|
|
5023
4946
|
margin: 0;
|
|
5024
4947
|
}
|
|
4948
|
+
.str-chat__message .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text {
|
|
4949
|
+
border-radius: calc(var(--str-chat__message-bubble-radius-group-bottom) - var(--str-chat__spacing-xs));
|
|
4950
|
+
}
|
|
5025
4951
|
.str-chat__message .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text .str-chat__message-text-inner {
|
|
5026
4952
|
overflow-y: hidden;
|
|
5027
4953
|
}
|
|
5028
|
-
.str-chat__message.str-chat__message
|
|
5029
|
-
|
|
5030
|
-
color: var(--str-chat__own-message-bubble-color, inherit);
|
|
5031
|
-
background-color: var(--str-chat__own-message-bubble-background-color, var(--chat-bg));
|
|
5032
|
-
}
|
|
5033
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner {
|
|
5034
|
-
grid-template-areas: "reminder reminder" ". reactions" "options message-bubble" "replies replies";
|
|
5035
|
-
grid-template-columns: 1fr auto;
|
|
5036
|
-
}
|
|
5037
|
-
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-options {
|
|
5038
|
-
flex-direction: row;
|
|
4954
|
+
.str-chat__message .str-chat__message-inner .str-chat__message-options {
|
|
4955
|
+
display: none;
|
|
5039
4956
|
}
|
|
5040
|
-
.str-chat__message.str-chat__message--
|
|
5041
|
-
|
|
4957
|
+
.str-chat__message .str-chat__message-inner .str-chat__message-options.str-chat__message-options--active, .str-chat__message .str-chat__message-inner:focus-within .str-chat__message-options {
|
|
4958
|
+
display: flex;
|
|
5042
4959
|
}
|
|
5043
4960
|
.str-chat__message .str-chat__message-metadata {
|
|
5044
4961
|
grid-area: metadata;
|
|
@@ -5048,8 +4965,6 @@ to create clearer separation from the base surface.
|
|
|
5048
4965
|
align-items: center;
|
|
5049
4966
|
height: var(--str-chat__size-24);
|
|
5050
4967
|
color: var(--str-chat__chat-text-timestamp);
|
|
5051
|
-
}
|
|
5052
|
-
.str-chat__message .str-chat__message-metadata * {
|
|
5053
4968
|
font: var(--str-chat__font-metadata-default);
|
|
5054
4969
|
}
|
|
5055
4970
|
.str-chat__message .str-chat__message-metadata .str-chat__message-metadata__name {
|
|
@@ -5059,10 +4974,6 @@ to create clearer separation from the base surface.
|
|
|
5059
4974
|
.str-chat__message .str-chat__message-metadata .str-chat__message-edited-indicator {
|
|
5060
4975
|
margin-inline-start: var(--str-chat__spacing-xs);
|
|
5061
4976
|
}
|
|
5062
|
-
.str-chat__message.str-chat__message--me .str-chat__message-metadata {
|
|
5063
|
-
justify-content: flex-end;
|
|
5064
|
-
text-align: end;
|
|
5065
|
-
}
|
|
5066
4977
|
.str-chat__message .str-chat__message--blocked-inner {
|
|
5067
4978
|
padding-inline: var(--str-chat__spacing-xxs);
|
|
5068
4979
|
}
|
|
@@ -5072,8 +4983,7 @@ to create clearer separation from the base surface.
|
|
|
5072
4983
|
}
|
|
5073
4984
|
.str-chat__message .str-chat__message--blocked-inner {
|
|
5074
4985
|
border-radius: var(--str-chat__radius-md);
|
|
5075
|
-
color: var(--
|
|
5076
|
-
background-color: var(--str-chat__blocked-message-background-color, var(--chat-bg));
|
|
4986
|
+
background-color: var(--chat-bg);
|
|
5077
4987
|
padding-block: var(--str-chat__spacing-xs);
|
|
5078
4988
|
}
|
|
5079
4989
|
.str-chat__message .str-chat__message-error-indicator {
|
|
@@ -5082,141 +4992,170 @@ to create clearer separation from the base surface.
|
|
|
5082
4992
|
.str-chat__message .str-chat__message-inner--error {
|
|
5083
4993
|
cursor: pointer;
|
|
5084
4994
|
}
|
|
5085
|
-
.str-chat__message.str-chat__message--
|
|
5086
|
-
|
|
4995
|
+
.str-chat__message:not(.str-chat__message--with-avatar) {
|
|
4996
|
+
grid-template-areas: "message-saved-for-later" "pin-indicator" "also-sent-in-channel" "message-reminder" "translation-indicator" "message" "translation-notice" "custom-metadata" "metadata";
|
|
4997
|
+
grid-template-columns: 1fr;
|
|
5087
4998
|
}
|
|
5088
|
-
.str-chat__message.str-chat__message--
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
4999
|
+
.str-chat__message.str-chat__message--other {
|
|
5000
|
+
column-gap: var(--str-chat__space-8);
|
|
5001
|
+
justify-items: flex-start;
|
|
5002
|
+
--chat-bg: var(--str-chat__chat-bg-incoming);
|
|
5003
|
+
--chat-bg-attachment: var(--str-chat__chat-bg-attachment-incoming);
|
|
5004
|
+
--chat-text: var(--str-chat__chat-text-incoming);
|
|
5005
|
+
--chat-border: var(--str-chat__chat-border-incoming);
|
|
5006
|
+
--chat-border-on-chat: var(--str-chat__chat-border-on-chat-incoming);
|
|
5007
|
+
--chat-reply-indicator: var(--str-chat__chat-reply-indicator-incoming);
|
|
5008
|
+
--chat-poll-progress-track: var(--str-chat__chat-poll-progress-track-incoming);
|
|
5009
|
+
--chat-poll-progress-fill: var(--str-chat__chat-poll-progress-fill-incoming);
|
|
5010
|
+
--chat-thread-connector: var(--str-chat__chat-thread-connector-incoming);
|
|
5093
5011
|
}
|
|
5094
|
-
.str-chat__message.str-chat__message--
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
top: 8px;
|
|
5098
|
-
inset-inline-end: calc(-1 * 18px / 2);
|
|
5012
|
+
.str-chat__message.str-chat__message--other.str-chat__message--with-avatar, .str-chat__message.str-chat__message--other.str-chat__message--pinned {
|
|
5013
|
+
grid-template-areas: ". message-saved-for-later" ". pin-indicator" ". also-sent-in-channel" ". message-reminder" ". translation-indicator" "avatar message" "avatar translation-notice" "avatar custom-metadata" "avatar metadata";
|
|
5014
|
+
grid-template-columns: auto 1fr;
|
|
5099
5015
|
}
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
transition: background-color 0.1s ease-out;
|
|
5103
|
-
background-color: var(--str-chat__background-core-highlight);
|
|
5016
|
+
.str-chat__message.str-chat__message--other.str-chat__message-with-thread-link .str-chat__message-bubble {
|
|
5017
|
+
border-end-start-radius: var(--str-chat__message-bubble-radius-tail);
|
|
5104
5018
|
}
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
position: relative;
|
|
5108
|
-
isolation: isolate;
|
|
5019
|
+
.str-chat__message.str-chat__message--other.str-chat__message-with-thread-link .str-chat__message-bubble .str-chat__message-text {
|
|
5020
|
+
border-end-start-radius: var(--str-chat__message-bubble-radius-tail);
|
|
5109
5021
|
}
|
|
5110
|
-
.str-
|
|
5111
|
-
|
|
5112
|
-
position: absolute;
|
|
5113
|
-
inset-block: 0;
|
|
5114
|
-
inset-inline: -9999px;
|
|
5115
|
-
background-color: var(--str-chat__background-core-highlight);
|
|
5116
|
-
z-index: -1;
|
|
5117
|
-
pointer-events: none;
|
|
5022
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner:not(:has(.str-chat__message-options--active)) {
|
|
5023
|
+
margin-inline-end: var(--str-chat-message-options-size);
|
|
5118
5024
|
}
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
@supports not selector(:has(a, b)) {
|
|
5122
|
-
.str-chat__message--pinned {
|
|
5123
|
-
background-color: var(--str-chat__background-core-highlight);
|
|
5124
|
-
}
|
|
5025
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host {
|
|
5026
|
+
justify-self: flex-end;
|
|
5125
5027
|
}
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
background-color: transparent;
|
|
5028
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--flipped-horizontally) {
|
|
5029
|
+
justify-self: flex-start;
|
|
5129
5030
|
}
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
.str-chat__li:hover {
|
|
5134
|
-
background-color: transparent;
|
|
5135
|
-
}
|
|
5031
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
5032
|
+
padding-inline-start: calc(var(--str-chat__spacing-xs) * -1 * -1);
|
|
5033
|
+
margin-inline-end: calc(var(--str-chat__spacing-xs) * -1);
|
|
5136
5034
|
}
|
|
5137
|
-
.str-
|
|
5138
|
-
|
|
5139
|
-
|
|
5035
|
+
.str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
5036
|
+
justify-content: flex-start;
|
|
5037
|
+
flex-wrap: wrap;
|
|
5140
5038
|
}
|
|
5141
|
-
.str-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5039
|
+
.str-chat__message.str-chat__message--me {
|
|
5040
|
+
--chat-bg: var(--str-chat__chat-bg-outgoing);
|
|
5041
|
+
--chat-bg-attachment: var(--str-chat__chat-bg-attachment-outgoing);
|
|
5042
|
+
--chat-text: var(--str-chat__chat-text-outgoing);
|
|
5043
|
+
--chat-border: var(--str-chat__chat-border-outgoing);
|
|
5044
|
+
--chat-border-on-chat: var(--str-chat__chat-border-on-chat-outgoing);
|
|
5045
|
+
--chat-reply-indicator: var(--str-chat__chat-reply-indicator-outgoing);
|
|
5046
|
+
--chat-poll-progress-track: var(--str-chat__chat-poll-progress-track-outgoing);
|
|
5047
|
+
--chat-poll-progress-fill: var(--str-chat__chat-poll-progress-fill-outgoing);
|
|
5048
|
+
--chat-thread-connector: var(--str-chat__chat-thread-connector-outgoing);
|
|
5049
|
+
column-gap: var(--str-chat__spacing-xs);
|
|
5050
|
+
justify-items: flex-end;
|
|
5148
5051
|
}
|
|
5149
|
-
.str-
|
|
5150
|
-
.
|
|
5151
|
-
|
|
5152
|
-
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5153
|
-
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
|
|
5154
|
-
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
|
|
5155
|
-
margin-inline-end: 0;
|
|
5052
|
+
.str-chat__message.str-chat__message--me.str-chat__message--with-avatar, .str-chat__message.str-chat__message--me.str-chat__message--pinned {
|
|
5053
|
+
grid-template-areas: "message-saved-for-later ." "pin-indicator ." "also-sent-in-channel ." "message-reminder ." "translation-indicator ." "message avatar" "translation-notice avatar" "custom-metadata avatar" "metadata avatar";
|
|
5054
|
+
grid-template-columns: 1fr auto;
|
|
5156
5055
|
}
|
|
5157
|
-
.str-
|
|
5158
|
-
|
|
5159
|
-
.str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
|
|
5160
|
-
.str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5161
|
-
.str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
|
|
5162
|
-
.str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
|
|
5163
|
-
margin-inline-start: 0;
|
|
5056
|
+
.str-chat__message.str-chat__message--me.str-chat__message-with-thread-link .str-chat__message-bubble {
|
|
5057
|
+
border-end-end-radius: var(--str-chat__message-bubble-radius-tail);
|
|
5164
5058
|
}
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
display: flex;
|
|
5059
|
+
.str-chat__message.str-chat__message--me.str-chat__message-with-thread-link .str-chat__message-bubble .str-chat__message-text {
|
|
5060
|
+
border-end-end-radius: var(--str-chat__message-bubble-radius-tail);
|
|
5168
5061
|
}
|
|
5169
|
-
|
|
5170
|
-
.str-chat__message-
|
|
5171
|
-
|
|
5062
|
+
.str-chat__message.str-chat__message--me .str-chat__message-pin-indicator .str-chat__message-pin-indicator__content,
|
|
5063
|
+
.str-chat__message.str-chat__message--me .str-chat__message-also-sent-in-channel {
|
|
5064
|
+
justify-content: flex-end;
|
|
5172
5065
|
}
|
|
5173
|
-
|
|
5174
|
-
|
|
5066
|
+
.str-chat__message.str-chat__message--me .str-chat__message-bubble {
|
|
5067
|
+
justify-self: flex-end;
|
|
5068
|
+
}
|
|
5069
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner {
|
|
5070
|
+
grid-template-areas: "reminder reminder" ". reactions" "options message-bubble" "replies replies";
|
|
5071
|
+
grid-template-columns: 1fr auto;
|
|
5072
|
+
margin-inline-start: var(--str-chat-message-options-size);
|
|
5073
|
+
}
|
|
5074
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-options {
|
|
5075
|
+
flex-direction: row;
|
|
5076
|
+
}
|
|
5077
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner:has(.str-chat__message-reactions--bottom) {
|
|
5078
|
+
grid-template-areas: "reminder reminder" "options message-bubble" "replies replies" ". reactions";
|
|
5079
|
+
}
|
|
5080
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host {
|
|
5081
|
+
justify-self: flex-start;
|
|
5082
|
+
}
|
|
5083
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--flipped-horizontally) {
|
|
5084
|
+
justify-self: flex-end;
|
|
5085
|
+
}
|
|
5086
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top) {
|
|
5087
|
+
padding-inline-end: calc(var(--str-chat__spacing-xs) * -1 * -1);
|
|
5088
|
+
margin-inline-start: calc(var(--str-chat__spacing-xs) * -1);
|
|
5089
|
+
}
|
|
5090
|
+
.str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
|
|
5091
|
+
justify-content: flex-end;
|
|
5092
|
+
flex-wrap: wrap;
|
|
5093
|
+
}
|
|
5094
|
+
.str-chat__message.str-chat__message--me .str-chat__message-metadata {
|
|
5095
|
+
justify-content: flex-end;
|
|
5096
|
+
text-align: end;
|
|
5097
|
+
}
|
|
5098
|
+
.str-chat__message.str-chat__message--blocked, .str-chat__message.str-chat__message--system {
|
|
5099
|
+
grid-template-areas: "message";
|
|
5100
|
+
}
|
|
5101
|
+
.str-chat__message.str-chat__message--system {
|
|
5102
|
+
grid-template-columns: auto;
|
|
5103
|
+
}
|
|
5104
|
+
.str-chat__message.str-chat__message--deleted .str-chat__message-bubble {
|
|
5105
|
+
padding: var(--str-chat__spacing-sm);
|
|
5106
|
+
}
|
|
5107
|
+
.str-chat__message.str-chat__message--deleted .str-chat__message-bubble .str-chat__message-text {
|
|
5175
5108
|
display: flex;
|
|
5109
|
+
align-items: center;
|
|
5110
|
+
padding: 0;
|
|
5111
|
+
gap: var(--str-chat__spacing-xxs);
|
|
5176
5112
|
}
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5113
|
+
.str-chat__message.str-chat__message--failed .str-chat__message-error-indicator {
|
|
5114
|
+
display: block;
|
|
5115
|
+
position: absolute;
|
|
5116
|
+
top: 8px;
|
|
5117
|
+
inset-inline-end: -9px;
|
|
5180
5118
|
}
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
margin-inline-start: var(--str-chat-message-options-size);
|
|
5119
|
+
.str-chat__message.str-chat__message--has-attachment {
|
|
5120
|
+
--str-chat__message-max-width: var(--str-chat__message-with-attachment-max-width);
|
|
5184
5121
|
}
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5122
|
+
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-giphy-attachment .str-chat__message-bubble {
|
|
5123
|
+
padding: 0;
|
|
5124
|
+
}
|
|
5125
|
+
.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-giphy-attachment .str-chat__message-text {
|
|
5188
5126
|
display: none;
|
|
5189
5127
|
}
|
|
5190
|
-
.str-
|
|
5191
|
-
|
|
5192
|
-
|
|
5128
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble {
|
|
5129
|
+
background-color: transparent;
|
|
5130
|
+
overflow: visible;
|
|
5193
5131
|
}
|
|
5194
|
-
|
|
5195
|
-
.str-
|
|
5196
|
-
.str-
|
|
5197
|
-
|
|
5132
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-bubble,
|
|
5133
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5134
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-bubble,
|
|
5135
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5136
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper, .str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-bubble,
|
|
5137
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble .str-chat__message-text,
|
|
5138
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-replies-count-button-wrapper {
|
|
5139
|
+
padding-inline: 0;
|
|
5198
5140
|
}
|
|
5199
|
-
.str-
|
|
5200
|
-
|
|
5201
|
-
|
|
5141
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-1 .str-chat__message-inner .str-chat__message-bubble {
|
|
5142
|
+
font-size: 64px;
|
|
5143
|
+
line-height: 64px;
|
|
5202
5144
|
}
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
border-radius: var(--str-chat__message-bubble-radius-group-middle);
|
|
5145
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-2 .str-chat__message-inner .str-chat__message-bubble {
|
|
5146
|
+
font-size: 48px;
|
|
5147
|
+
line-height: 48px;
|
|
5207
5148
|
}
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5149
|
+
.str-chat__message.str-chat__message--is-emoji-only.str-chat__message--is-emoji-only-count-3 .str-chat__message-inner .str-chat__message-bubble {
|
|
5150
|
+
font-size: 32px;
|
|
5151
|
+
line-height: 32px;
|
|
5211
5152
|
}
|
|
5212
|
-
.str-chat__message
|
|
5213
|
-
|
|
5153
|
+
.str-chat__message.str-chat__message--is-emoji-only .str-chat__message-replies-count-button-wrapper::after {
|
|
5154
|
+
display: none;
|
|
5214
5155
|
}
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
visibility: hidden;
|
|
5219
|
-
pointer-events: none;
|
|
5156
|
+
.str-chat__message.str-chat__message--highlighted {
|
|
5157
|
+
transition: background-color 0.1s ease-out;
|
|
5158
|
+
background-color: var(--str-chat__background-core-highlight);
|
|
5220
5159
|
}
|
|
5221
5160
|
|
|
5222
5161
|
.str-chat__message-also-sent-in-channel {
|
|
@@ -5682,9 +5621,7 @@ to create clearer separation from the base surface.
|
|
|
5682
5621
|
overflow-x: clip;
|
|
5683
5622
|
text-overflow: ellipsis;
|
|
5684
5623
|
max-width: 100%;
|
|
5685
|
-
font
|
|
5686
|
-
font-size: var(--str-chat__typography-font-size-sm);
|
|
5687
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
5624
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
5688
5625
|
}
|
|
5689
5626
|
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data {
|
|
5690
5627
|
display: flex;
|
|
@@ -5693,9 +5630,7 @@ to create clearer separation from the base surface.
|
|
|
5693
5630
|
max-width: 100%;
|
|
5694
5631
|
gap: var(--str-chat__spacing-xxs);
|
|
5695
5632
|
color: var(--str-chat__text-secondary);
|
|
5696
|
-
font
|
|
5697
|
-
font-size: var(--str-chat__typography-font-size-xs);
|
|
5698
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
5633
|
+
font: var(--str-chat__font-metadata-default);
|
|
5699
5634
|
}
|
|
5700
5635
|
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__loading-indicator,
|
|
5701
5636
|
.str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__progress-indicator {
|
|
@@ -6241,9 +6176,8 @@ to create clearer separation from the base surface.
|
|
|
6241
6176
|
justify-content: center;
|
|
6242
6177
|
flex: 1;
|
|
6243
6178
|
min-width: 0;
|
|
6244
|
-
font-size: var(--str-chat__typography-font-size-xs);
|
|
6245
|
-
line-height: var(--str-chat__typography-line-height-tight);
|
|
6246
6179
|
height: 40px;
|
|
6180
|
+
font: var(--str-chat__font-caption-default);
|
|
6247
6181
|
}
|
|
6248
6182
|
.str-chat .str-chat__quoted-message-preview .str-chat__quoted-message-preview__content .str-chat__quoted-message-preview__author {
|
|
6249
6183
|
white-space: nowrap;
|
|
@@ -6252,7 +6186,7 @@ to create clearer separation from the base surface.
|
|
|
6252
6186
|
overflow-x: clip;
|
|
6253
6187
|
text-overflow: ellipsis;
|
|
6254
6188
|
overflow-x: hidden;
|
|
6255
|
-
font
|
|
6189
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
6256
6190
|
}
|
|
6257
6191
|
.str-chat .str-chat__quoted-message-preview .str-chat__quoted-message-preview__content .str-chat__quoted-message-preview__message {
|
|
6258
6192
|
display: flex;
|
|
@@ -6604,9 +6538,6 @@ to create clearer separation from the base surface.
|
|
|
6604
6538
|
}
|
|
6605
6539
|
|
|
6606
6540
|
.str-chat__virtual-list {
|
|
6607
|
-
overflow-y: auto;
|
|
6608
|
-
overflow-x: hidden;
|
|
6609
|
-
scrollbar-gutter: stable both-edges;
|
|
6610
6541
|
background: var(--str-chat__background-core-app);
|
|
6611
6542
|
color: var(--str-chat__text-primary);
|
|
6612
6543
|
--str-chat__message-list-scroll-max-width: calc(
|
|
@@ -6968,6 +6899,9 @@ to create clearer separation from the base surface.
|
|
|
6968
6899
|
.str-chat__poll-creation-dialog .str-chat__form__switch-field__label {
|
|
6969
6900
|
width: 100%;
|
|
6970
6901
|
}
|
|
6902
|
+
.str-chat__poll-creation-dialog .str-chat__prompt__header__description {
|
|
6903
|
+
display: none;
|
|
6904
|
+
}
|
|
6971
6905
|
.str-chat__poll-creation-dialog .str-chat__multiple-answers-field__votes-limit-field {
|
|
6972
6906
|
padding-top: 0;
|
|
6973
6907
|
}
|
|
@@ -7333,7 +7267,7 @@ to create clearer separation from the base surface.
|
|
|
7333
7267
|
background-color: var(--str-chat__background-utility-pressed);
|
|
7334
7268
|
}
|
|
7335
7269
|
.str-chat__reaction-selector .str-chat__reaction-selector-list .str-chat__reaction-selector-list__item-button:not(:disabled):focus-visible {
|
|
7336
|
-
outline: 2px solid var(--str-chat__border-utility-focused);
|
|
7270
|
+
outline: var(--str-chat__focus-outline, 2px solid var(--str-chat__border-utility-focused));
|
|
7337
7271
|
outline-offset: -2px;
|
|
7338
7272
|
}
|
|
7339
7273
|
.str-chat__reaction-selector .str-chat__reaction-selector-list .str-chat__reaction-selector-list__item-button:not(:disabled)[aria-pressed=true] {
|
|
@@ -7341,11 +7275,13 @@ to create clearer separation from the base surface.
|
|
|
7341
7275
|
}
|
|
7342
7276
|
.str-chat__reaction-selector .str-chat__reaction-selector-list .str-chat__reaction-selector-list__item-button .str-chat__reaction-icon {
|
|
7343
7277
|
font-size: var(--str-chat__typography-font-size-2xl);
|
|
7344
|
-
|
|
7278
|
+
height: var(--str-chat__typography-font-size-2xl);
|
|
7279
|
+
width: var(--str-chat__typography-font-size-2xl);
|
|
7280
|
+
font-family: system-ui;
|
|
7281
|
+
line-height: 0;
|
|
7345
7282
|
display: flex;
|
|
7346
7283
|
justify-content: center;
|
|
7347
7284
|
align-items: center;
|
|
7348
|
-
font-family: system-ui, sans-serif;
|
|
7349
7285
|
}
|
|
7350
7286
|
|
|
7351
7287
|
.str-chat__reaction-selector-extended-list {
|
|
@@ -7359,8 +7295,6 @@ to create clearer separation from the base surface.
|
|
|
7359
7295
|
height: var(--str-chat__emoji-md);
|
|
7360
7296
|
width: var(--str-chat__emoji-md);
|
|
7361
7297
|
font-size: var(--str-chat__emoji-md);
|
|
7362
|
-
letter-spacing: var(--typography-letter-spacing-default);
|
|
7363
|
-
font-style: normal;
|
|
7364
7298
|
line-height: 0;
|
|
7365
7299
|
font-family: system-ui;
|
|
7366
7300
|
display: flex;
|
|
@@ -7404,7 +7338,7 @@ to create clearer separation from the base surface.
|
|
|
7404
7338
|
border: 1px solid var(--str-chat__reaction-border);
|
|
7405
7339
|
background: var(--str-chat__reaction-bg);
|
|
7406
7340
|
color: var(--str-chat__reaction-text);
|
|
7407
|
-
box-shadow:
|
|
7341
|
+
box-shadow: var(--str-chat__box-shadow-3);
|
|
7408
7342
|
font-weight: inherit;
|
|
7409
7343
|
font-size: inherit;
|
|
7410
7344
|
line-height: 1;
|
|
@@ -7437,7 +7371,6 @@ to create clearer separation from the base surface.
|
|
|
7437
7371
|
.str-chat__message-reactions .str-chat__message-reactions__list-item-button .str-chat__message-reactions__list-item-icon {
|
|
7438
7372
|
font-family: system-ui;
|
|
7439
7373
|
font-size: var(--str-chat__font-size-size-17);
|
|
7440
|
-
font-style: normal;
|
|
7441
7374
|
line-height: var(--str-chat__typography-line-height-normal);
|
|
7442
7375
|
}
|
|
7443
7376
|
.str-chat__message-reactions .str-chat__message-reactions__list-button .str-chat__message-reactions__total-count,
|
|
@@ -7498,7 +7431,6 @@ to create clearer separation from the base surface.
|
|
|
7498
7431
|
min-width: unset;
|
|
7499
7432
|
}
|
|
7500
7433
|
.str-chat__message-reactions-detail {
|
|
7501
|
-
font-family: var(--str-chat__typography-font-family-sans);
|
|
7502
7434
|
box-shadow: var(--str-chat__box-shadow-3);
|
|
7503
7435
|
padding-block-start: var(--str-chat__spacing-xxs);
|
|
7504
7436
|
display: flex;
|
|
@@ -7513,9 +7445,7 @@ to create clearer separation from the base surface.
|
|
|
7513
7445
|
min-height: var(--str-chat__size-32);
|
|
7514
7446
|
max-height: var(--str-chat__size-32);
|
|
7515
7447
|
color: var(--str-chat__text-tertiary);
|
|
7516
|
-
font
|
|
7517
|
-
font-weight: var(--str-chat__typography-font-weight-medium);
|
|
7518
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
7448
|
+
font: var(--str-chat__font-heading-xs);
|
|
7519
7449
|
}
|
|
7520
7450
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list {
|
|
7521
7451
|
list-style: none;
|
|
@@ -7547,7 +7477,7 @@ to create clearer separation from the base surface.
|
|
|
7547
7477
|
border: 1px solid var(--str-chat__reaction-border);
|
|
7548
7478
|
background: var(--str-chat__reaction-bg);
|
|
7549
7479
|
color: var(--str-chat__reaction-text);
|
|
7550
|
-
box-shadow:
|
|
7480
|
+
box-shadow: var(--str-chat__box-shadow-3);
|
|
7551
7481
|
font-weight: inherit;
|
|
7552
7482
|
font-size: inherit;
|
|
7553
7483
|
line-height: 1;
|
|
@@ -7579,7 +7509,6 @@ to create clearer separation from the base surface.
|
|
|
7579
7509
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon {
|
|
7580
7510
|
font-family: system-ui;
|
|
7581
7511
|
font-size: var(--str-chat__font-size-size-17);
|
|
7582
|
-
font-style: normal;
|
|
7583
7512
|
line-height: var(--str-chat__typography-line-height-normal);
|
|
7584
7513
|
}
|
|
7585
7514
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon .str-chat__icon {
|
|
@@ -7674,7 +7603,6 @@ to create clearer separation from the base surface.
|
|
|
7674
7603
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-icon {
|
|
7675
7604
|
font-family: system-ui;
|
|
7676
7605
|
font-size: var(--str-chat__font-size-size-17);
|
|
7677
|
-
font-style: normal;
|
|
7678
7606
|
line-height: var(--str-chat__typography-line-height-normal);
|
|
7679
7607
|
}
|
|
7680
7608
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-info {
|
|
@@ -7685,9 +7613,7 @@ to create clearer separation from the base surface.
|
|
|
7685
7613
|
}
|
|
7686
7614
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-info .str-chat__message-reactions-detail__user-list-item-username {
|
|
7687
7615
|
color: var(--str-chat__text-primary);
|
|
7688
|
-
font
|
|
7689
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
7690
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
7616
|
+
font: var(--str-chat__font-caption-default);
|
|
7691
7617
|
}
|
|
7692
7618
|
.str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-info .str-chat__message-reactions-detail__user-list-item-button {
|
|
7693
7619
|
padding: unset;
|
|
@@ -7707,6 +7633,10 @@ to create clearer separation from the base surface.
|
|
|
7707
7633
|
padding-block: var(--str-chat__spacing-xs);
|
|
7708
7634
|
justify-content: center;
|
|
7709
7635
|
}
|
|
7636
|
+
.str-chat__search.str-chat__search--active {
|
|
7637
|
+
flex: 1;
|
|
7638
|
+
min-height: 0;
|
|
7639
|
+
}
|
|
7710
7640
|
|
|
7711
7641
|
.str-chat__search-bar {
|
|
7712
7642
|
padding-inline: var(--str-chat__spacing-md);
|
|
@@ -7721,11 +7651,14 @@ to create clearer separation from the base surface.
|
|
|
7721
7651
|
border-radius: var(--str-chat__radius-max);
|
|
7722
7652
|
border: 1px solid var(--str-chat__border-core-default);
|
|
7723
7653
|
color: var(--str-chat__input-text-placeholder);
|
|
7724
|
-
font: var(--
|
|
7725
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
7654
|
+
font: var(--str-chat__font-caption-default);
|
|
7726
7655
|
flex-shrink: 1;
|
|
7727
7656
|
flex-grow: 1;
|
|
7728
7657
|
}
|
|
7658
|
+
.str-chat__search-bar .str-chat__search-bar__input-wrapper:focus-within {
|
|
7659
|
+
outline: var(--str-chat__focus-outline, 2px solid var(--border-utility-focused));
|
|
7660
|
+
outline-offset: var(--str-chat__focus-outline-offset, 2px);
|
|
7661
|
+
}
|
|
7729
7662
|
.str-chat__search-bar .str-chat__search-bar__input-wrapper .str-chat__search-bar__input {
|
|
7730
7663
|
min-height: 24px;
|
|
7731
7664
|
border: none;
|
|
@@ -7752,6 +7685,8 @@ to create clearer separation from the base surface.
|
|
|
7752
7685
|
display: flex;
|
|
7753
7686
|
flex-direction: column;
|
|
7754
7687
|
gap: var(--str-chat__spacing-sm);
|
|
7688
|
+
flex: 1;
|
|
7689
|
+
min-height: 0;
|
|
7755
7690
|
}
|
|
7756
7691
|
.str-chat__search-results .str-chat__search-results-header {
|
|
7757
7692
|
overflow-x: auto;
|
|
@@ -7766,6 +7701,25 @@ to create clearer separation from the base surface.
|
|
|
7766
7701
|
flex-shrink: 0;
|
|
7767
7702
|
}
|
|
7768
7703
|
|
|
7704
|
+
.str-chat__search-source-results {
|
|
7705
|
+
flex: 1;
|
|
7706
|
+
display: flex;
|
|
7707
|
+
flex-direction: column;
|
|
7708
|
+
min-height: 0;
|
|
7709
|
+
}
|
|
7710
|
+
|
|
7711
|
+
.str-chat__search-source-result-list {
|
|
7712
|
+
flex: 1;
|
|
7713
|
+
display: flex;
|
|
7714
|
+
flex-direction: column;
|
|
7715
|
+
min-height: 0;
|
|
7716
|
+
}
|
|
7717
|
+
.str-chat__search-source-result-list .str-chat__infinite-scroll-paginator {
|
|
7718
|
+
flex: 1;
|
|
7719
|
+
min-height: 0;
|
|
7720
|
+
scrollbar-gutter: stable both-edges;
|
|
7721
|
+
scrollbar-width: thin;
|
|
7722
|
+
}
|
|
7769
7723
|
.str-chat__search-source-result-list .str-chat__search-result-container {
|
|
7770
7724
|
padding: var(--str-chat__spacing-xxs);
|
|
7771
7725
|
border-bottom: 1px solid var(--str-chat__border-core-subtle);
|
|
@@ -7793,7 +7747,7 @@ to create clearer separation from the base surface.
|
|
|
7793
7747
|
text-align: start;
|
|
7794
7748
|
}
|
|
7795
7749
|
.str-chat__search-source-result-list .str-chat__search-result-container .str-chat__search-result--user .str-chat__search-result-data .str-chat__search-result__display-name {
|
|
7796
|
-
font: var(--str-chat__font-
|
|
7750
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
7797
7751
|
color: var(--str-chat__text-primary);
|
|
7798
7752
|
flex: 1;
|
|
7799
7753
|
min-width: 0;
|
|
@@ -7807,10 +7761,8 @@ to create clearer separation from the base surface.
|
|
|
7807
7761
|
text-overflow: ellipsis;
|
|
7808
7762
|
white-space: nowrap;
|
|
7809
7763
|
overflow: hidden;
|
|
7810
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
7811
|
-
font-size: var(--str-chat__typography-font-size-sm);
|
|
7812
7764
|
color: var(--str-chat__text-tertiary);
|
|
7813
|
-
|
|
7765
|
+
font: var(--str-chat__font-caption-default);
|
|
7814
7766
|
}
|
|
7815
7767
|
.str-chat__search-source-result-list .str-chat__search-result-container .str-chat__search-result--user {
|
|
7816
7768
|
background: var(--str-chat__background-core-elevation-1);
|
|
@@ -7828,7 +7780,7 @@ to create clearer separation from the base surface.
|
|
|
7828
7780
|
.str-chat__search-source-result-list__footer,
|
|
7829
7781
|
.str-chat__search-results-presearch,
|
|
7830
7782
|
.str-chat__search-source-results-empty {
|
|
7831
|
-
font
|
|
7783
|
+
font: var(--str-chat__font-caption-default);
|
|
7832
7784
|
color: var(--str-chat__text-tertiary);
|
|
7833
7785
|
padding-block: var(--str-chat__spacing-xs);
|
|
7834
7786
|
display: flex;
|
|
@@ -7836,6 +7788,27 @@ to create clearer separation from the base surface.
|
|
|
7836
7788
|
align-items: center;
|
|
7837
7789
|
}
|
|
7838
7790
|
|
|
7791
|
+
.str-chat__skip-navigation-link {
|
|
7792
|
+
background-color: var(--str-chat__background-color, #fff);
|
|
7793
|
+
border: 1px solid transparent;
|
|
7794
|
+
border-radius: 4px;
|
|
7795
|
+
color: var(--str-chat__text-color, currentColor);
|
|
7796
|
+
left: 0;
|
|
7797
|
+
margin: 8px;
|
|
7798
|
+
padding: 8px 12px;
|
|
7799
|
+
position: absolute;
|
|
7800
|
+
text-decoration: none;
|
|
7801
|
+
top: 0;
|
|
7802
|
+
transform: translateY(-200%);
|
|
7803
|
+
z-index: 2;
|
|
7804
|
+
}
|
|
7805
|
+
|
|
7806
|
+
.str-chat__skip-navigation-link:focus,
|
|
7807
|
+
.str-chat__skip-navigation-link:focus-visible {
|
|
7808
|
+
border: 1px solid var(--accent-primary);
|
|
7809
|
+
transform: translateY(0);
|
|
7810
|
+
}
|
|
7811
|
+
|
|
7839
7812
|
.str-chat__summarized-message-preview {
|
|
7840
7813
|
display: flex;
|
|
7841
7814
|
align-items: center;
|
|
@@ -7844,10 +7817,7 @@ to create clearer separation from the base surface.
|
|
|
7844
7817
|
flex-shrink: 1;
|
|
7845
7818
|
min-width: 0;
|
|
7846
7819
|
color: var(--str-chat__text-secondary);
|
|
7847
|
-
font
|
|
7848
|
-
font-style: normal;
|
|
7849
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
7850
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
7820
|
+
font: var(--str-chat__font-caption-default);
|
|
7851
7821
|
}
|
|
7852
7822
|
.str-chat__summarized-message-preview .str-chat__icon {
|
|
7853
7823
|
flex-shrink: 0;
|
|
@@ -7877,7 +7847,7 @@ to create clearer separation from the base surface.
|
|
|
7877
7847
|
}
|
|
7878
7848
|
.str-chat__summarized-message-preview .str-chat__summarized-message-preview__sender {
|
|
7879
7849
|
color: var(--str-chat__text-tertiary);
|
|
7880
|
-
font
|
|
7850
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
7881
7851
|
white-space: nowrap;
|
|
7882
7852
|
overflow: hidden;
|
|
7883
7853
|
text-overflow: ellipsis;
|
|
@@ -7886,10 +7856,8 @@ to create clearer separation from the base surface.
|
|
|
7886
7856
|
.str-chat .str-chat__suggestion-list {
|
|
7887
7857
|
max-height: 320px;
|
|
7888
7858
|
min-width: 200px;
|
|
7889
|
-
overflow-x: hidden;
|
|
7890
7859
|
overflow-y: auto;
|
|
7891
|
-
|
|
7892
|
-
scrollbar-gutter: stable;
|
|
7860
|
+
scrollbar-width: none;
|
|
7893
7861
|
}
|
|
7894
7862
|
.str-chat .str-chat__suggestion-list .str-chat__suggestion-list-item--selected {
|
|
7895
7863
|
background-color: var(--str-chat__dialog-menu-button-hover-background-color);
|
|
@@ -8156,9 +8124,7 @@ to create clearer separation from the base surface.
|
|
|
8156
8124
|
.str-chat__thread-list-empty-placeholder p {
|
|
8157
8125
|
margin: 0;
|
|
8158
8126
|
color: var(--str-chat__text-secondary);
|
|
8159
|
-
font
|
|
8160
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
8161
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
8127
|
+
font: var(--str-chat__font-caption-default);
|
|
8162
8128
|
}
|
|
8163
8129
|
|
|
8164
8130
|
.str-chat__thread-list__header {
|
|
@@ -8231,11 +8197,15 @@ to create clearer separation from the base surface.
|
|
|
8231
8197
|
gap: var(--str-chat__spacing-xxs);
|
|
8232
8198
|
padding-block: var(--str-chat__spacing-xxxs);
|
|
8233
8199
|
}
|
|
8200
|
+
.str-chat__thread-list-item__content-leading .str-chat__summarized-message-preview {
|
|
8201
|
+
font: var(--str-chat__font-body-default);
|
|
8202
|
+
}
|
|
8203
|
+
.str-chat__thread-list-item__content-leading .str-chat__summarized-message-preview .str-chat__summarized-message-preview__sender {
|
|
8204
|
+
font: var(--str-chat__font-body-emphasis);
|
|
8205
|
+
}
|
|
8234
8206
|
|
|
8235
8207
|
.str-chat__thread-list-item__title {
|
|
8236
|
-
font
|
|
8237
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
8238
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
8208
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
8239
8209
|
color: var(--str-chat__text-tertiary);
|
|
8240
8210
|
overflow: hidden;
|
|
8241
8211
|
text-overflow: ellipsis;
|
|
@@ -8255,9 +8225,7 @@ to create clearer separation from the base surface.
|
|
|
8255
8225
|
}
|
|
8256
8226
|
|
|
8257
8227
|
.str-chat__thread-list-item__reply-count {
|
|
8258
|
-
font
|
|
8259
|
-
font-weight: var(--str-chat__typography-font-weight-semi-bold);
|
|
8260
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
8228
|
+
font: var(--str-chat__font-caption-emphasis);
|
|
8261
8229
|
color: var(--str-chat__text-link);
|
|
8262
8230
|
overflow: hidden;
|
|
8263
8231
|
text-overflow: ellipsis;
|
|
@@ -8265,9 +8233,7 @@ to create clearer separation from the base surface.
|
|
|
8265
8233
|
}
|
|
8266
8234
|
|
|
8267
8235
|
.str-chat__thread-list-item__timestamp {
|
|
8268
|
-
font
|
|
8269
|
-
font-weight: var(--str-chat__typography-font-weight-regular);
|
|
8270
|
-
line-height: var(--str-chat__typography-line-height-normal);
|
|
8236
|
+
font: var(--str-chat__font-caption-default);
|
|
8271
8237
|
color: var(--str-chat__text-tertiary);
|
|
8272
8238
|
white-space: nowrap;
|
|
8273
8239
|
min-width: 0;
|