Skip to content

Commit 7259481

Browse files
authored
Merge pull request #1059 from GetStream/refactor-mml-css
refactor mml css
2 parents 3be0db7 + 9fbb620 commit 7259481

File tree

8 files changed

+20
-10
lines changed

8 files changed

+20
-10
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ scripts/
1212
/build/
1313
dist
1414
*dist*
15-
/src/styles/vendor/
1615
*.md
1716
babel.i18next-extract.js
1817
/coverage

.stylelintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ examples/*/src/serviceWorker.js
1111
*.test.js
1212
dist
1313
*dist*
14-
/src/styles/vendor/
1514
/coverage

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [6.4.3](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.3) 2021-07-20
4+
5+
### Feature
6+
7+
- Reload `ChannelList` component when `sort` prop changes [#1054](https://github.com/GetStream/stream-chat-react/pull/1054)
8+
9+
### Chore
10+
11+
- Add repo info to NPM page [#1051](https://github.com/GetStream/stream-chat-react/pull/1051)
12+
- Export `MML` component [#1053](https://github.com/GetStream/stream-chat-react/pull/1053)
13+
- Upgrade `react-virtuoso` dependency [#1057](https://github.com/GetStream/stream-chat-react/pull/1057)
14+
- Revert removal of `EmptyStateIndicator` component for threads [#1058](https://github.com/GetStream/stream-chat-react/pull/1058)
15+
- Move `mml-react` (optional dependency) CSS import to `MML` component [#1059](https://github.com/GetStream/stream-chat-react/pull/1059)
16+
317
## [6.4.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.2) 2021-07-14
418

519
### Feature

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
globalSetup: './jest-global-setup.js',
66
maxConcurrency: 15,
77
moduleNameMapper: {
8-
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
8+
'\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
99
'<rootDir>/assetsTransformer.js',
1010
'mock-builders(.*)$': '<rootDir>/src/mock-builders$1',
1111
},

src/components/MML/MML.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, { Suspense } from 'react';
2+
import 'mml-react/dist/styles/index.css';
23

34
import { useChatContext } from '../../context/ChatContext';
45

src/styles/index.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
@import './_variables.scss';
33
@import './base.scss';
44

5-
// Components
6-
7-
@import '../../node_modules/mml-react/src/styles/index.scss';
8-
@import './vendor/react-file-utils.scss';
9-
@import './vendor/emoji-mart.scss';
5+
// External dependencies
6+
@import '../../node_modules/react-file-utils/dist/index.css';
7+
@import '../../node_modules/emoji-mart/css/emoji-mart.css';
108

9+
// Components
1110
@import './ActionsBox.scss';
1211
@import './AttachmentActions.scss';
1312
@import './Attachment.scss';

src/styles/vendor/emoji-mart.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/styles/vendor/react-file-utils.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)