stream-chat-react-native-core 9.0.0-beta.15 → 9.0.0-beta.17
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/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js +1 -1
- package/lib/commonjs/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/Skeleton.js +1 -1
- package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActionItems.js +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActionItems.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +17 -2
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +5 -4
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +28 -33
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +65 -36
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.js +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.js.map +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -4
- package/lib/commonjs/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +2 -2
- package/lib/commonjs/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js +3 -1
- package/lib/commonjs/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListItemSkeleton.js +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListItemSkeleton.js.map +1 -1
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js +2 -2
- package/lib/commonjs/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js +4 -2
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/commonjs/components/ui/Badge/ImgurBadge.js +1 -1
- package/lib/commonjs/components/ui/Badge/ImgurBadge.js.map +1 -1
- package/lib/commonjs/components/ui/GiphyChip.js +3 -3
- package/lib/commonjs/components/ui/GiphyChip.js.map +1 -1
- package/lib/commonjs/icons/{chevron-down.js → chevron-up.js} +4 -4
- package/lib/commonjs/icons/chevron-up.js.map +1 -0
- package/lib/commonjs/icons/command.js +1 -0
- package/lib/commonjs/icons/command.js.map +1 -1
- package/lib/commonjs/icons/file.js +1 -1
- package/lib/commonjs/icons/index.js +12 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/link.js +2 -1
- package/lib/commonjs/icons/link.js.map +1 -1
- package/lib/commonjs/icons/pause-fill.js +1 -1
- package/lib/commonjs/icons/pause-fill.js.map +1 -1
- package/lib/commonjs/icons/plus.js +5 -1
- package/lib/commonjs/icons/plus.js.map +1 -1
- package/lib/commonjs/icons/stop-fill.js +1 -1
- package/lib/commonjs/icons/stop-fill.js.map +1 -1
- package/lib/commonjs/icons/thread.js +1 -1
- package/lib/commonjs/icons/thread.js.map +1 -1
- package/lib/commonjs/icons/xmark.js +2 -2
- package/lib/commonjs/icons/xmark.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js +34 -30
- package/lib/commonjs/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js +34 -30
- package/lib/commonjs/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js +34 -30
- package/lib/commonjs/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js +28 -24
- package/lib/commonjs/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js +28 -24
- package/lib/commonjs/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js +28 -24
- package/lib/commonjs/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js +1 -1
- package/lib/module/components/AITypingIndicatorView/AITypingIndicatorView.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerContent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentTypePickerButton.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/Skeleton.js +1 -1
- package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelActionItems.js +1 -1
- package/lib/module/components/ChannelList/hooks/useChannelActionItems.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +17 -2
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +5 -4
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +28 -33
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +65 -36
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.js +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.js.map +1 -1
- package/lib/module/components/Message/utils/messageActions.js +1 -1
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js +4 -4
- package/lib/module/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js +2 -2
- package/lib/module/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.js.map +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js +3 -1
- package/lib/module/components/MessageMenu/MessageUserReactions.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListItemSkeleton.js +1 -1
- package/lib/module/components/ThreadList/ThreadListItemSkeleton.js.map +1 -1
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js +2 -2
- package/lib/module/components/ThreadList/ThreadListUnreadBanner.js.map +1 -1
- package/lib/module/components/UIComponents/BottomSheetModal.js +4 -2
- package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/module/components/ui/Badge/ImgurBadge.js +1 -1
- package/lib/module/components/ui/Badge/ImgurBadge.js.map +1 -1
- package/lib/module/components/ui/GiphyChip.js +3 -3
- package/lib/module/components/ui/GiphyChip.js.map +1 -1
- package/lib/module/icons/{chevron-down.js → chevron-up.js} +4 -4
- package/lib/module/icons/chevron-up.js.map +1 -0
- package/lib/module/icons/command.js +1 -0
- package/lib/module/icons/command.js.map +1 -1
- package/lib/module/icons/file.js +1 -1
- package/lib/module/icons/index.js +12 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/link.js +2 -1
- package/lib/module/icons/link.js.map +1 -1
- package/lib/module/icons/pause-fill.js +1 -1
- package/lib/module/icons/pause-fill.js.map +1 -1
- package/lib/module/icons/plus.js +5 -1
- package/lib/module/icons/plus.js.map +1 -1
- package/lib/module/icons/stop-fill.js +1 -1
- package/lib/module/icons/stop-fill.js.map +1 -1
- package/lib/module/icons/thread.js +1 -1
- package/lib/module/icons/thread.js.map +1 -1
- package/lib/module/icons/xmark.js +2 -2
- package/lib/module/icons/xmark.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.android.js +34 -30
- package/lib/module/theme/generated/dark/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.ios.js +34 -30
- package/lib/module/theme/generated/dark/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/dark/StreamTokens.web.js +34 -30
- package/lib/module/theme/generated/dark/StreamTokens.web.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.android.js +28 -24
- package/lib/module/theme/generated/light/StreamTokens.android.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.ios.js +28 -24
- package/lib/module/theme/generated/light/StreamTokens.ios.js.map +1 -1
- package/lib/module/theme/generated/light/StreamTokens.web.js +28 -24
- package/lib/module/theme/generated/light/StreamTokens.web.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +3 -2
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/MessageMenu/MessageUserReactions.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/icons/chevron-up.d.ts +4 -0
- package/lib/typescript/icons/chevron-up.d.ts.map +1 -0
- package/lib/typescript/icons/command.d.ts.map +1 -1
- package/lib/typescript/icons/index.d.ts +1 -0
- package/lib/typescript/icons/index.d.ts.map +1 -1
- package/lib/typescript/icons/link.d.ts.map +1 -1
- package/lib/typescript/icons/plus.d.ts.map +1 -1
- package/lib/typescript/icons/xmark.d.ts.map +1 -1
- package/lib/typescript/theme/generated/StreamTokens.types.d.ts +8 -4
- package/lib/typescript/theme/generated/StreamTokens.types.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.android.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.ios.d.ts.map +1 -1
- package/lib/typescript/theme/generated/dark/StreamTokens.web.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.android.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.ios.d.ts.map +1 -1
- package/lib/typescript/theme/generated/light/StreamTokens.web.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/AITypingIndicatorView/AITypingIndicatorView.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx +2 -2
- package/src/components/AttachmentPicker/components/AttachmentTypePickerButton.tsx +2 -2
- package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx +1 -1
- package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +1 -1
- package/src/components/ChannelList/Skeleton.tsx +1 -1
- package/src/components/ChannelList/hooks/__tests__/useChannelActionItems.test.tsx +2 -2
- package/src/components/ChannelList/hooks/useChannelActionItems.tsx +1 -1
- package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +15 -1
- package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +7 -2
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +28 -31
- package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +201 -0
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +43 -25
- package/src/components/KeyboardCompatibleView/KeyboardControllerAvoidingView.tsx +1 -7
- package/src/components/Message/utils/messageActions.ts +1 -1
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +30 -21
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +6 -2
- package/src/components/MessageInput/components/AttachmentPreview/VideoAttachmentUploadPreview.tsx +4 -4
- package/src/components/MessageInput/components/AudioRecorder/AudioRecordingLockIndicator.tsx +2 -2
- package/src/components/MessageList/NetworkDownIndicator.tsx +1 -1
- package/src/components/MessageMenu/MessageUserReactions.tsx +3 -1
- package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx +9 -2
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +10 -7
- package/src/components/ThreadList/ThreadListItemSkeleton.tsx +1 -1
- package/src/components/ThreadList/ThreadListUnreadBanner.tsx +2 -2
- package/src/components/UIComponents/BottomSheetModal.tsx +4 -2
- package/src/components/ui/Badge/ImgurBadge.tsx +1 -1
- package/src/components/ui/GiphyChip.tsx +3 -3
- package/src/icons/{chevron-down.tsx → chevron-up.tsx} +1 -1
- package/src/icons/command.tsx +1 -0
- package/src/icons/file.tsx +1 -1
- package/src/icons/index.ts +1 -0
- package/src/icons/link.tsx +2 -1
- package/src/icons/pause-fill.tsx +1 -1
- package/src/icons/plus.tsx +8 -2
- package/src/icons/stop-fill.tsx +1 -1
- package/src/icons/thread.tsx +1 -1
- package/src/icons/xmark.tsx +2 -8
- package/src/theme/generated/StreamTokens.types.ts +8 -4
- package/src/theme/generated/dark/StreamTokens.android.ts +34 -30
- package/src/theme/generated/dark/StreamTokens.ios.ts +34 -30
- package/src/theme/generated/dark/StreamTokens.web.ts +34 -30
- package/src/theme/generated/light/StreamTokens.android.ts +28 -24
- package/src/theme/generated/light/StreamTokens.ios.ts +28 -24
- package/src/theme/generated/light/StreamTokens.web.ts +28 -24
- package/src/version.json +1 -1
- package/lib/commonjs/icons/chevron-down.js.map +0 -1
- package/lib/module/icons/chevron-down.js.map +0 -1
- package/lib/typescript/icons/chevron-down.d.ts +0 -4
- package/lib/typescript/icons/chevron-down.d.ts.map +0 -1
|
@@ -125,7 +125,9 @@ export const MessageUserReactions = (props: MessageUserReactionsProps) => {
|
|
|
125
125
|
const MessageUserReactionsItem = propMessageUserReactionsItem ?? contextMessageUserReactionsItem;
|
|
126
126
|
|
|
127
127
|
const onSelectReaction = useStableCallback((reactionType: string) => {
|
|
128
|
-
setSelectedReaction(
|
|
128
|
+
setSelectedReaction((currentReaction) =>
|
|
129
|
+
currentReaction === reactionType ? undefined : reactionType,
|
|
130
|
+
);
|
|
129
131
|
});
|
|
130
132
|
|
|
131
133
|
useEffect(() => {
|
|
@@ -100,14 +100,21 @@ describe('MessageUserReactions when the supportedReactions are defined', () => {
|
|
|
100
100
|
expect(reactionButtons[1].props.accessibilityLabel).toBe('reaction-button-love-unselected');
|
|
101
101
|
});
|
|
102
102
|
|
|
103
|
-
it('
|
|
103
|
+
it('toggles the selected reaction when a reaction button is pressed twice', () => {
|
|
104
104
|
const { getAllByLabelText } = renderComponent();
|
|
105
|
-
|
|
105
|
+
let reactionButtons = getAllByLabelText(/\breaction-button[^\s]+/);
|
|
106
106
|
|
|
107
107
|
fireEvent.press(reactionButtons[1]);
|
|
108
108
|
|
|
109
109
|
expect(reactionButtons[0].props.accessibilityLabel).toBe('reaction-button-like-unselected');
|
|
110
110
|
expect(reactionButtons[1].props.accessibilityLabel).toBe('reaction-button-love-selected');
|
|
111
|
+
|
|
112
|
+
fireEvent.press(reactionButtons[1]);
|
|
113
|
+
|
|
114
|
+
reactionButtons = getAllByLabelText(/\breaction-button[^\s]+/);
|
|
115
|
+
|
|
116
|
+
expect(reactionButtons[0].props.accessibilityLabel).toBe('reaction-button-like-unselected');
|
|
117
|
+
expect(reactionButtons[1].props.accessibilityLabel).toBe('reaction-button-love-unselected');
|
|
111
118
|
});
|
|
112
119
|
|
|
113
120
|
it('renders reactions list', () => {
|
|
@@ -1883,6 +1883,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1883
1883
|
align="xMidYMid"
|
|
1884
1884
|
bbHeight={20}
|
|
1885
1885
|
bbWidth={20}
|
|
1886
|
+
fill="none"
|
|
1886
1887
|
focusable={false}
|
|
1887
1888
|
height={20}
|
|
1888
1889
|
meetOrSlice={0}
|
|
@@ -1908,14 +1909,10 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1908
1909
|
width={20}
|
|
1909
1910
|
>
|
|
1910
1911
|
<RNSVGGroup
|
|
1911
|
-
fill={
|
|
1912
|
-
{
|
|
1913
|
-
"payload": 4278190080,
|
|
1914
|
-
"type": 0,
|
|
1915
|
-
}
|
|
1916
|
-
}
|
|
1912
|
+
fill={null}
|
|
1917
1913
|
propList={
|
|
1918
1914
|
[
|
|
1915
|
+
"fill",
|
|
1919
1916
|
"stroke",
|
|
1920
1917
|
"strokeWidth",
|
|
1921
1918
|
]
|
|
@@ -1940,6 +1937,8 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1940
1937
|
[
|
|
1941
1938
|
"stroke",
|
|
1942
1939
|
"strokeWidth",
|
|
1940
|
+
"strokeLinecap",
|
|
1941
|
+
"strokeLinejoin",
|
|
1943
1942
|
]
|
|
1944
1943
|
}
|
|
1945
1944
|
stroke={
|
|
@@ -1948,6 +1947,8 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1948
1947
|
"type": 0,
|
|
1949
1948
|
}
|
|
1950
1949
|
}
|
|
1950
|
+
strokeLinecap={1}
|
|
1951
|
+
strokeLinejoin={1}
|
|
1951
1952
|
strokeWidth={1.5}
|
|
1952
1953
|
/>
|
|
1953
1954
|
</RNSVGGroup>
|
|
@@ -2787,7 +2788,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
2787
2788
|
}
|
|
2788
2789
|
strokeLinecap={1}
|
|
2789
2790
|
strokeLinejoin={1}
|
|
2790
|
-
strokeWidth={1.
|
|
2791
|
+
strokeWidth={1.5}
|
|
2791
2792
|
/>
|
|
2792
2793
|
</RNSVGGroup>
|
|
2793
2794
|
</RNSVGSvgView>
|
|
@@ -2922,6 +2923,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
2922
2923
|
[
|
|
2923
2924
|
"stroke",
|
|
2924
2925
|
"strokeWidth",
|
|
2926
|
+
"strokeLinecap",
|
|
2925
2927
|
"strokeLinejoin",
|
|
2926
2928
|
]
|
|
2927
2929
|
}
|
|
@@ -2931,6 +2933,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
2931
2933
|
"type": 0,
|
|
2932
2934
|
}
|
|
2933
2935
|
}
|
|
2936
|
+
strokeLinecap={1}
|
|
2934
2937
|
strokeLinejoin={1}
|
|
2935
2938
|
strokeWidth={1.5}
|
|
2936
2939
|
/>
|
|
@@ -16,7 +16,7 @@ const SkeletonBlock = ({ style }: { style: React.ComponentProps<typeof View>['st
|
|
|
16
16
|
return (
|
|
17
17
|
<View style={style}>
|
|
18
18
|
<NativeShimmerView
|
|
19
|
-
baseColor={semantics.
|
|
19
|
+
baseColor={semantics.backgroundCoreSurfaceDefault}
|
|
20
20
|
duration={animationTime}
|
|
21
21
|
gradientColor={semantics.skeletonLoadingHighlight}
|
|
22
22
|
style={StyleSheet.absoluteFillObject}
|
|
@@ -63,7 +63,7 @@ export const ThreadListUnreadBanner = () => {
|
|
|
63
63
|
{
|
|
64
64
|
backgroundColor: pressed
|
|
65
65
|
? semantics.backgroundUtilityPressed
|
|
66
|
-
: semantics.
|
|
66
|
+
: semantics.backgroundCoreSurfaceDefault,
|
|
67
67
|
},
|
|
68
68
|
]}
|
|
69
69
|
>
|
|
@@ -90,7 +90,7 @@ const useStyles = () => {
|
|
|
90
90
|
...threadListUnreadBanner.text,
|
|
91
91
|
},
|
|
92
92
|
container: {
|
|
93
|
-
backgroundColor: semantics.
|
|
93
|
+
backgroundColor: semantics.backgroundCoreSurfaceDefault,
|
|
94
94
|
flexDirection: 'row',
|
|
95
95
|
alignItems: 'center',
|
|
96
96
|
justifyContent: 'center',
|
|
@@ -242,8 +242,10 @@ export const BottomSheetModal = (props: PropsWithChildren<BottomSheetModalProps>
|
|
|
242
242
|
KeyboardControllerPackage.KeyboardEvents.addListener('keyboardDidHide', keyboardDidHide),
|
|
243
243
|
);
|
|
244
244
|
} else {
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
if (Platform.OS === 'ios') {
|
|
246
|
+
listeners.push(Keyboard.addListener('keyboardWillShow', keyboardDidShowRN));
|
|
247
|
+
listeners.push(Keyboard.addListener('keyboardWillHide', keyboardDidHide));
|
|
248
|
+
}
|
|
247
249
|
}
|
|
248
250
|
|
|
249
251
|
return () => listeners.forEach((l) => l.remove());
|
|
@@ -32,7 +32,7 @@ const useStyles = () => {
|
|
|
32
32
|
alignItems: 'center',
|
|
33
33
|
},
|
|
34
34
|
text: {
|
|
35
|
-
color: semantics.
|
|
35
|
+
color: semantics.badgeTextOnInverse,
|
|
36
36
|
fontSize: primitives.typographyFontSizeXs,
|
|
37
37
|
fontWeight: primitives.typographyFontWeightSemiBold,
|
|
38
38
|
lineHeight: primitives.typographyLineHeightTight,
|
|
@@ -32,10 +32,10 @@ export const GiphyChip = () => {
|
|
|
32
32
|
|
|
33
33
|
return (
|
|
34
34
|
<View style={styles.container}>
|
|
35
|
-
<Lightning fill={semantics.
|
|
35
|
+
<Lightning fill={semantics.textOnInverse} height={16} width={16} />
|
|
36
36
|
<Text style={styles.text}>{commandName}</Text>
|
|
37
37
|
<Pressable onPress={onPressHandler}>
|
|
38
|
-
<Cross stroke={semantics.
|
|
38
|
+
<Cross stroke={semantics.textOnInverse} height={16} width={16} />
|
|
39
39
|
</Pressable>
|
|
40
40
|
</View>
|
|
41
41
|
);
|
|
@@ -59,7 +59,7 @@ const useStyles = () => {
|
|
|
59
59
|
height: 24,
|
|
60
60
|
},
|
|
61
61
|
text: {
|
|
62
|
-
color: semantics.
|
|
62
|
+
color: semantics.textOnInverse,
|
|
63
63
|
fontSize: primitives.typographyFontSizeSm,
|
|
64
64
|
fontWeight: primitives.typographyFontWeightSemiBold,
|
|
65
65
|
lineHeight: primitives.typographyLineHeightNormal,
|
|
@@ -4,7 +4,7 @@ import { Path, Svg } from 'react-native-svg';
|
|
|
4
4
|
|
|
5
5
|
import { IconProps } from './utils/base';
|
|
6
6
|
|
|
7
|
-
export const
|
|
7
|
+
export const ChevronUp = ({ height, width, ...rest }: IconProps) => (
|
|
8
8
|
<Svg fill={'none'} height={height} viewBox={'0 0 20 20'} width={width} {...rest}>
|
|
9
9
|
<Path
|
|
10
10
|
d='M16.25 12.5L10 6.25L3.75 12.5'
|
package/src/icons/command.tsx
CHANGED
|
@@ -8,6 +8,7 @@ export const CommandsIcon = ({ height, size, width, ...props }: IconProps) => (
|
|
|
8
8
|
<Svg fill='none' height={height ?? size} width={width ?? size} viewBox={'0 0 20 20'} {...props}>
|
|
9
9
|
<Path
|
|
10
10
|
d='M6.25 7.5L9.375 10L6.25 12.5M10.625 12.5H13.75M3.125 3.75H16.875C17.2202 3.75 17.5 4.02982 17.5 4.375V15.625C17.5 15.9702 17.2202 16.25 16.875 16.25H3.125C2.77982 16.25 2.5 15.9702 2.5 15.625V4.375C2.5 4.02982 2.77982 3.75 3.125 3.75Z'
|
|
11
|
+
strokeLinecap='round'
|
|
11
12
|
strokeWidth={1.5}
|
|
12
13
|
strokeLinejoin='round'
|
|
13
14
|
{...props}
|
package/src/icons/file.tsx
CHANGED
package/src/icons/index.ts
CHANGED
package/src/icons/link.tsx
CHANGED
|
@@ -8,8 +8,9 @@ export const Link = ({ height, size, width, ...rest }: IconProps) => (
|
|
|
8
8
|
<Svg fill={'none'} height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
|
|
9
9
|
<Path
|
|
10
10
|
d='M7.49989 12.4999L12.4999 7.49989M8.74989 5.94598L11.0983 3.60223C11.8035 2.90843 12.7543 2.52139 13.7436 2.52542C14.7328 2.52945 15.6804 2.92422 16.3799 3.62374C17.0795 4.32326 17.4742 5.27086 17.4783 6.26012C17.4823 7.24938 17.0953 8.20016 16.4015 8.90536L14.053 11.2499M5.94598 8.74989L3.60223 11.0983C2.90843 11.8035 2.52139 12.7543 2.52542 13.7436C2.52945 14.7328 2.92422 15.6804 3.62374 16.3799C4.32326 17.0795 5.27086 17.4742 6.26012 17.4783C7.24938 17.4823 8.20016 17.0953 8.90536 16.4015L11.2499 14.053'
|
|
11
|
+
strokeLinecap='round'
|
|
11
12
|
strokeLinejoin='round'
|
|
12
|
-
strokeWidth={1.
|
|
13
|
+
strokeWidth={1.5}
|
|
13
14
|
{...rest}
|
|
14
15
|
/>
|
|
15
16
|
</Svg>
|
package/src/icons/pause-fill.tsx
CHANGED
|
@@ -16,7 +16,7 @@ export const Pause = ({ fill, height, pathFill, size, stroke, width, ...rest }:
|
|
|
16
16
|
{...rest}
|
|
17
17
|
>
|
|
18
18
|
<Path
|
|
19
|
-
d='
|
|
19
|
+
d='M16.875 3.75V16.25C16.875 16.5815 16.7433 16.8995 16.5089 17.1339C16.2745 17.3683 15.9565 17.5 15.625 17.5H12.5C12.1685 17.5 11.8505 17.3683 11.6161 17.1339C11.3817 16.8995 11.25 16.5815 11.25 16.25V3.75C11.25 3.41848 11.3817 3.10054 11.6161 2.86612C11.8505 2.6317 12.1685 2.5 12.5 2.5H15.625C15.9565 2.5 16.2745 2.6317 16.5089 2.86612C16.7433 3.10054 16.875 3.41848 16.875 3.75ZM7.5 2.5H4.375C4.04348 2.5 3.72554 2.6317 3.49112 2.86612C3.2567 3.10054 3.125 3.41848 3.125 3.75V16.25C3.125 16.5815 3.2567 16.8995 3.49112 17.1339C3.72554 17.3683 4.04348 17.5 4.375 17.5H7.5C7.83152 17.5 8.14946 17.3683 8.38388 17.1339C8.6183 16.8995 8.75 16.5815 8.75 16.25V3.75C8.75 3.41848 8.6183 3.10054 8.38388 2.86612C8.14946 2.6317 7.83152 2.5 7.5 2.5Z'
|
|
20
20
|
fill={color}
|
|
21
21
|
/>
|
|
22
22
|
</Svg>
|
package/src/icons/plus.tsx
CHANGED
|
@@ -5,7 +5,13 @@ import Svg, { Path } from 'react-native-svg';
|
|
|
5
5
|
import { IconProps } from './utils/base';
|
|
6
6
|
|
|
7
7
|
export const Plus = ({ height, size, width, ...rest }: IconProps) => (
|
|
8
|
-
<Svg height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
|
|
9
|
-
<Path
|
|
8
|
+
<Svg fill='none' height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} {...rest}>
|
|
9
|
+
<Path
|
|
10
|
+
d='M3.125 10H16.875M10 3.125V16.875'
|
|
11
|
+
strokeWidth={1.5}
|
|
12
|
+
strokeLinecap='round'
|
|
13
|
+
strokeLinejoin='round'
|
|
14
|
+
{...rest}
|
|
15
|
+
/>
|
|
10
16
|
</Svg>
|
|
11
17
|
);
|
package/src/icons/stop-fill.tsx
CHANGED
|
@@ -16,7 +16,7 @@ export const Stop = ({ fill, height, pathFill, size, stroke, width, ...rest }: I
|
|
|
16
16
|
{...rest}
|
|
17
17
|
>
|
|
18
18
|
<Path
|
|
19
|
-
d='
|
|
19
|
+
d='M16.875 4.375V15.625C16.875 15.9565 16.7433 16.2745 16.5089 16.5089C16.2745 16.7433 15.9565 16.875 15.625 16.875H4.375C4.04348 16.875 3.72554 16.7433 3.49112 16.5089C3.2567 16.2745 3.125 15.9565 3.125 15.625V4.375C3.125 4.04348 3.2567 3.72554 3.49112 3.49112C3.72554 3.2567 4.04348 3.125 4.375 3.125H15.625C15.9565 3.125 16.2745 3.2567 16.5089 3.49112C16.7433 3.72554 16.875 4.04348 16.875 4.375Z'
|
|
20
20
|
fill={color}
|
|
21
21
|
/>
|
|
22
22
|
</Svg>
|
package/src/icons/thread.tsx
CHANGED
|
@@ -18,7 +18,7 @@ export const ThreadReply = ({
|
|
|
18
18
|
return (
|
|
19
19
|
<Svg viewBox='0 0 20 20' fill='none' height={height ?? size} width={width ?? size} {...rest}>
|
|
20
20
|
<Path
|
|
21
|
-
d='M7.
|
|
21
|
+
d='M7.5 8.75H12.8125M7.5 11.25H12.8125M10.3125 16.875H3.75C3.58424 16.875 3.42527 16.8092 3.30806 16.6919C3.19085 16.5747 3.125 16.4158 3.125 16.25V9.6875C3.125 7.78126 3.88225 5.95309 5.23017 4.60517C6.57809 3.25725 8.40626 2.5 10.3125 2.5C11.2564 2.5 12.191 2.68591 13.063 3.04712C13.9351 3.40832 14.7274 3.93775 15.3948 4.60517C16.0623 5.27259 16.5917 6.06493 16.9529 6.93696C17.3141 7.80899 17.5 8.74362 17.5 9.6875C17.5 10.6314 17.3141 11.566 16.9529 12.438C16.5917 13.3101 16.0623 14.1024 15.3948 14.7698C14.7274 15.4373 13.9351 15.9667 13.063 16.3279C12.191 16.6891 11.2564 16.875 10.3125 16.875Z'
|
|
22
22
|
stroke={color}
|
|
23
23
|
strokeWidth={1.5}
|
|
24
24
|
strokeLinecap='round'
|
package/src/icons/xmark.tsx
CHANGED
|
@@ -8,15 +8,9 @@ export const NewClose = ({ fill, height, pathFill, size, stroke, width, ...rest
|
|
|
8
8
|
const color = stroke ?? pathFill ?? fill ?? 'black';
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<Svg
|
|
12
|
-
height={height ?? size}
|
|
13
|
-
viewBox={'-2.5 -2.5 25 25'}
|
|
14
|
-
width={width ?? size}
|
|
15
|
-
fill='none'
|
|
16
|
-
{...rest}
|
|
17
|
-
>
|
|
11
|
+
<Svg height={height ?? size} viewBox={'0 0 20 20'} width={width ?? size} fill='none' {...rest}>
|
|
18
12
|
<Path
|
|
19
|
-
d='
|
|
13
|
+
d='M13.5 6.5L6.5 13.5M13.5 13.5L6.5 6.5'
|
|
20
14
|
stroke={color}
|
|
21
15
|
strokeLinecap='round'
|
|
22
16
|
strokeLinejoin='round'
|
|
@@ -366,15 +366,14 @@ export interface ChatSemantics {
|
|
|
366
366
|
backgroundCoreElevation1: ColorValue;
|
|
367
367
|
backgroundCoreElevation2: ColorValue;
|
|
368
368
|
backgroundCoreElevation3: ColorValue;
|
|
369
|
-
backgroundCoreElevation4: ColorValue;
|
|
370
369
|
backgroundCoreHighlight: ColorValue;
|
|
371
370
|
backgroundCoreInverse: ColorValue;
|
|
372
371
|
backgroundCoreOnAccent: ColorValue;
|
|
373
372
|
backgroundCoreOverlayDark: ColorValue;
|
|
374
373
|
backgroundCoreOverlayLight: ColorValue;
|
|
375
374
|
backgroundCoreScrim: ColorValue;
|
|
376
|
-
backgroundCoreSurface: ColorValue;
|
|
377
375
|
backgroundCoreSurfaceCard: ColorValue;
|
|
376
|
+
backgroundCoreSurfaceDefault: ColorValue;
|
|
378
377
|
backgroundCoreSurfaceStrong: ColorValue;
|
|
379
378
|
backgroundCoreSurfaceSubtle: ColorValue;
|
|
380
379
|
backgroundUtilityDisabled: ColorValue;
|
|
@@ -389,17 +388,20 @@ export interface ChatSemantics {
|
|
|
389
388
|
badgeBgPrimary: ColorValue;
|
|
390
389
|
badgeBorder: ColorValue;
|
|
391
390
|
badgeText: ColorValue;
|
|
392
|
-
badgeTextInverse: ColorValue;
|
|
393
391
|
badgeTextOnAccent: ColorValue;
|
|
392
|
+
badgeTextOnInverse: ColorValue;
|
|
394
393
|
borderCoreDefault: ColorValue;
|
|
395
394
|
borderCoreInverse: ColorValue;
|
|
396
395
|
borderCoreOnAccent: ColorValue;
|
|
396
|
+
borderCoreOnInverse: ColorValue;
|
|
397
|
+
borderCoreOnSurface: ColorValue;
|
|
397
398
|
borderCoreOpacityStrong: ColorValue;
|
|
398
399
|
borderCoreOpacitySubtle: ColorValue;
|
|
399
400
|
borderCoreStrong: ColorValue;
|
|
400
401
|
borderCoreSubtle: ColorValue;
|
|
401
402
|
borderUtilityActive: ColorValue;
|
|
402
403
|
borderUtilityDisabled: ColorValue;
|
|
404
|
+
borderUtilityDisabledOnSurface: ColorValue;
|
|
403
405
|
borderUtilityError: ColorValue;
|
|
404
406
|
borderUtilityFocused: ColorValue;
|
|
405
407
|
borderUtilityHover: ColorValue;
|
|
@@ -484,6 +486,8 @@ export interface ChatSemantics {
|
|
|
484
486
|
controlCheckboxBgSelected: ColorValue;
|
|
485
487
|
controlCheckboxBorder: ColorValue;
|
|
486
488
|
controlCheckboxIcon: ColorValue;
|
|
489
|
+
controlChipBorder: ColorValue;
|
|
490
|
+
controlChipText: ColorValue;
|
|
487
491
|
controlPlaybackThumbBgActive: ColorValue;
|
|
488
492
|
controlPlaybackThumbBgDefault: ColorValue;
|
|
489
493
|
controlPlaybackThumbBorderActive: ColorValue;
|
|
@@ -529,9 +533,9 @@ export interface ChatSemantics {
|
|
|
529
533
|
systemScrollbar: ColorValue;
|
|
530
534
|
systemText: ColorValue;
|
|
531
535
|
textDisabled: ColorValue;
|
|
532
|
-
textInverse: ColorValue;
|
|
533
536
|
textLink: ColorValue;
|
|
534
537
|
textOnAccent: ColorValue;
|
|
538
|
+
textOnInverse: ColorValue;
|
|
535
539
|
textPrimary: ColorValue;
|
|
536
540
|
textSecondary: ColorValue;
|
|
537
541
|
textTertiary: ColorValue;
|
|
@@ -423,23 +423,22 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
423
423
|
avatarPaletteText5: foundations.colors.yellow100,
|
|
424
424
|
avatarPresenceBgOffline: '$accentNeutral',
|
|
425
425
|
avatarPresenceBgOnline: '$accentSuccess',
|
|
426
|
-
avatarPresenceBorder: '$
|
|
426
|
+
avatarPresenceBorder: '$borderCoreOnInverse',
|
|
427
427
|
avatarTextDefault: '$avatarPaletteText1',
|
|
428
428
|
avatarTextPlaceholder: '$chrome500',
|
|
429
|
-
backgroundCoreApp: '$
|
|
429
|
+
backgroundCoreApp: '$chrome0',
|
|
430
430
|
backgroundCoreElevation0: '$chrome0',
|
|
431
431
|
backgroundCoreElevation1: '$chrome50',
|
|
432
432
|
backgroundCoreElevation2: '$chrome100',
|
|
433
433
|
backgroundCoreElevation3: '$chrome200',
|
|
434
|
-
backgroundCoreElevation4: '$chrome300',
|
|
435
434
|
backgroundCoreHighlight: foundations.colors.yellow800,
|
|
436
|
-
backgroundCoreInverse: '$
|
|
437
|
-
backgroundCoreOnAccent: '$
|
|
435
|
+
backgroundCoreInverse: '$chrome1000',
|
|
436
|
+
backgroundCoreOnAccent: '$chrome1000',
|
|
438
437
|
backgroundCoreOverlayDark: 'rgba(0, 0, 0, 0.5)',
|
|
439
438
|
backgroundCoreOverlayLight: 'rgba(0, 0, 0, 0.75)',
|
|
440
439
|
backgroundCoreScrim: 'rgba(0, 0, 0, 0.75)',
|
|
441
|
-
backgroundCoreSurface: '$chrome100',
|
|
442
440
|
backgroundCoreSurfaceCard: '$chrome100',
|
|
441
|
+
backgroundCoreSurfaceDefault: '$chrome100',
|
|
443
442
|
backgroundCoreSurfaceStrong: '$chrome150',
|
|
444
443
|
backgroundCoreSurfaceSubtle: '$chrome50',
|
|
445
444
|
backgroundUtilityDisabled: '$chrome100',
|
|
@@ -452,19 +451,22 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
452
451
|
badgeBgNeutral: '$accentNeutral',
|
|
453
452
|
badgeBgOverlay: 'rgba(0, 0, 0, 0.75)',
|
|
454
453
|
badgeBgPrimary: '$accentPrimary',
|
|
455
|
-
badgeBorder: '$
|
|
454
|
+
badgeBorder: '$borderCoreOnInverse',
|
|
456
455
|
badgeText: '$textPrimary',
|
|
457
|
-
badgeTextInverse: '$textInverse',
|
|
458
456
|
badgeTextOnAccent: '$textOnAccent',
|
|
457
|
+
badgeTextOnInverse: '$textOnInverse',
|
|
459
458
|
borderCoreDefault: '$chrome200',
|
|
460
|
-
borderCoreInverse: '$
|
|
461
|
-
borderCoreOnAccent: '$
|
|
459
|
+
borderCoreInverse: '$chrome0',
|
|
460
|
+
borderCoreOnAccent: '$chrome1000',
|
|
461
|
+
borderCoreOnInverse: '$chrome0',
|
|
462
|
+
borderCoreOnSurface: '$chrome300',
|
|
462
463
|
borderCoreOpacityStrong: 'rgba(255, 255, 255, 0.25)',
|
|
463
464
|
borderCoreOpacitySubtle: 'rgba(255, 255, 255, 0.2)',
|
|
464
465
|
borderCoreStrong: '$chrome300',
|
|
465
466
|
borderCoreSubtle: '$chrome100',
|
|
466
467
|
borderUtilityActive: '$accentPrimary',
|
|
467
468
|
borderUtilityDisabled: '$chrome100',
|
|
469
|
+
borderUtilityDisabledOnSurface: '$chrome150',
|
|
468
470
|
borderUtilityError: '$accentError',
|
|
469
471
|
borderUtilityFocused: '$brand150',
|
|
470
472
|
borderUtilityHover: 'rgba(255, 255, 255, 0.1)',
|
|
@@ -486,38 +488,38 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
486
488
|
buttonDestructiveBg: '$accentError',
|
|
487
489
|
buttonDestructiveBgLiquidGlass: '$backgroundCoreElevation0',
|
|
488
490
|
buttonDestructiveBorder: '$accentError',
|
|
489
|
-
buttonDestructiveBorderOnDark: '$
|
|
491
|
+
buttonDestructiveBorderOnDark: '$textOnInverse',
|
|
490
492
|
buttonDestructiveText: '$accentError',
|
|
491
493
|
buttonDestructiveTextOnAccent: '$textOnAccent',
|
|
492
|
-
buttonDestructiveTextOnDark: '$
|
|
494
|
+
buttonDestructiveTextOnDark: '$textOnInverse',
|
|
493
495
|
buttonPrimaryBg: '$accentPrimary',
|
|
494
496
|
buttonPrimaryBgLiquidGlass: foundations.colors.baseTransparent0,
|
|
495
497
|
buttonPrimaryBorder: '$brand200',
|
|
496
|
-
buttonPrimaryBorderOnDark: '$
|
|
497
|
-
buttonPrimaryText: '$
|
|
498
|
+
buttonPrimaryBorderOnDark: '$borderCoreOnInverse',
|
|
499
|
+
buttonPrimaryText: '$accentPrimary',
|
|
498
500
|
buttonPrimaryTextOnAccent: '$textOnAccent',
|
|
499
|
-
buttonPrimaryTextOnDark: '$
|
|
500
|
-
buttonSecondaryBg: '$
|
|
501
|
+
buttonPrimaryTextOnDark: '$textOnInverse',
|
|
502
|
+
buttonSecondaryBg: '$backgroundCoreSurfaceDefault',
|
|
501
503
|
buttonSecondaryBgLiquidGlass: '$backgroundCoreElevation0',
|
|
502
504
|
buttonSecondaryBorder: '$borderCoreDefault',
|
|
503
|
-
buttonSecondaryBorderOnDark: '$
|
|
505
|
+
buttonSecondaryBorderOnDark: '$borderCoreOnInverse',
|
|
504
506
|
buttonSecondaryText: '$textPrimary',
|
|
505
507
|
buttonSecondaryTextOnAccent: '$textPrimary',
|
|
506
|
-
buttonSecondaryTextOnDark: '$
|
|
508
|
+
buttonSecondaryTextOnDark: '$textOnInverse',
|
|
507
509
|
chatBgAttachmentIncoming: '$backgroundCoreSurfaceStrong',
|
|
508
510
|
chatBgAttachmentOutgoing: '$brand150',
|
|
509
|
-
chatBgIncoming: '$
|
|
511
|
+
chatBgIncoming: '$backgroundCoreSurfaceDefault',
|
|
510
512
|
chatBgOutgoing: '$brand100',
|
|
511
513
|
chatBorderIncoming: '$borderCoreSubtle',
|
|
512
514
|
chatBorderOnChatIncoming: '$borderCoreStrong',
|
|
513
515
|
chatBorderOnChatOutgoing: '$brand300',
|
|
514
516
|
chatBorderOutgoing: '$brand100',
|
|
515
517
|
chatPollProgressFillIncoming: '$controlProgressBarFill',
|
|
516
|
-
chatPollProgressFillOutgoing:
|
|
518
|
+
chatPollProgressFillOutgoing: '$accentPrimary',
|
|
517
519
|
chatPollProgressTrackIncoming: '$controlProgressBarTrack',
|
|
518
520
|
chatPollProgressTrackOutgoing: '$brand200',
|
|
519
|
-
chatReplyIndicatorIncoming:
|
|
520
|
-
chatReplyIndicatorOutgoing: '$
|
|
521
|
+
chatReplyIndicatorIncoming: '$chrome400',
|
|
522
|
+
chatReplyIndicatorOutgoing: '$brand400',
|
|
521
523
|
chatTextIncoming: '$textPrimary',
|
|
522
524
|
chatTextLink: '$textLink',
|
|
523
525
|
chatTextMention: '$textLink',
|
|
@@ -549,13 +551,15 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
549
551
|
controlCheckboxBgSelected: '$accentPrimary',
|
|
550
552
|
controlCheckboxBorder: '$borderCoreDefault',
|
|
551
553
|
controlCheckboxIcon: '$textOnAccent',
|
|
554
|
+
controlChipBorder: '$borderCoreDefault',
|
|
555
|
+
controlChipText: '$textPrimary',
|
|
552
556
|
controlPlaybackThumbBgActive: '$accentPrimary',
|
|
553
|
-
controlPlaybackThumbBgDefault: '$
|
|
557
|
+
controlPlaybackThumbBgDefault: '$backgroundCoreOnAccent',
|
|
554
558
|
controlPlaybackThumbBorderActive: '$borderCoreOnAccent',
|
|
555
559
|
controlPlaybackThumbBorderDefault: '$borderCoreOpacityStrong',
|
|
556
560
|
controlPlaybackToggleBorder: '$borderCoreDefault',
|
|
557
561
|
controlPlaybackToggleText: '$textPrimary',
|
|
558
|
-
controlPlayButtonBg: '
|
|
562
|
+
controlPlayButtonBg: 'rgba(0, 0, 0, 0.75)',
|
|
559
563
|
controlPlayButtonIcon: '$textOnAccent',
|
|
560
564
|
controlProgressBarFill: '$accentNeutral',
|
|
561
565
|
controlProgressBarTrack: '$backgroundCoreSurfaceStrong',
|
|
@@ -568,12 +572,12 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
568
572
|
controlRadioCheckBorder: '$borderCoreDefault',
|
|
569
573
|
controlRadioCheckIcon: '$textOnAccent',
|
|
570
574
|
controlRemoveControlBg: '$backgroundCoreInverse',
|
|
571
|
-
controlRemoveControlBorder: '$
|
|
572
|
-
controlRemoveControlIcon: '$
|
|
575
|
+
controlRemoveControlBorder: '$borderCoreOnInverse',
|
|
576
|
+
controlRemoveControlIcon: '$textOnInverse',
|
|
573
577
|
controlToggleSwitchBg: '$accentNeutral',
|
|
574
578
|
controlToggleSwitchBgDisabled: '$backgroundUtilityDisabled',
|
|
575
579
|
controlToggleSwitchBgSelected: '$accentPrimary',
|
|
576
|
-
controlToggleSwitchKnob: '$
|
|
580
|
+
controlToggleSwitchKnob: '$backgroundCoreOnAccent',
|
|
577
581
|
inputSendIcon: '$accentPrimary',
|
|
578
582
|
inputSendIconDisabled: '$textDisabled',
|
|
579
583
|
inputTextDefault: '$textPrimary',
|
|
@@ -588,15 +592,15 @@ export const semantics: IStreamTokens['semantics'] = {
|
|
|
588
592
|
reactionEmoji: '$textPrimary',
|
|
589
593
|
reactionText: '$textPrimary',
|
|
590
594
|
skeletonLoadingBase: foundations.colors.baseTransparent0,
|
|
591
|
-
skeletonLoadingHighlight:
|
|
595
|
+
skeletonLoadingHighlight: '$backgroundCoreOverlayLight',
|
|
592
596
|
systemBgBlur: 'rgba(0, 0, 0, 0.01)',
|
|
593
597
|
systemCaret: '$accentPrimary',
|
|
594
598
|
systemScrollbar: 'rgba(255, 255, 255, 0.5)',
|
|
595
|
-
systemText:
|
|
599
|
+
systemText: '$chrome1000',
|
|
596
600
|
textDisabled: '$chrome300',
|
|
597
|
-
textInverse: '$chrome0',
|
|
598
601
|
textLink: '$brand600',
|
|
599
602
|
textOnAccent: '$chrome1000',
|
|
603
|
+
textOnInverse: '$chrome0',
|
|
600
604
|
textPrimary: '$chrome900',
|
|
601
605
|
textSecondary: '$chrome700',
|
|
602
606
|
textTertiary: '$chrome500',
|