@messenger-box/platform-browser 0.0.1-alpha.114 → 0.0.1-alpha.115
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/CHANGELOG.md +8 -0
- package/jest.config.js +23 -7
- package/lib/index.js +16 -6
- package/lib/index.js.map +1 -1
- package/package.json +2 -21
- package/src/components/InboxMessage/InboxDetails/style.ts +12 -12
- package/src/components/post/channel_layout/{channel_controller.test.jsx → channel_controller.test.tsx} +0 -0
- package/src/components/post/channel_layout/{channel_controller.jsx → channel_controller.tsx} +0 -0
- package/src/compute.tsx +10 -0
- package/src/api.ts +0 -35
- package/src/components/Counter.tsx +0 -52
- package/src/containers/Clock.tsx +0 -0
- package/src/containers/Counter.tsx +0 -42
- package/src/containers/PersonList.tsx +0 -20
- package/src/containers/ServerCounter.tsx +0 -140
- package/src/redux/__mocks__/api.ts +0 -4
- package/src/redux/actions/__tests__/sampleActions.test.ts +0 -159
- package/src/redux/actions/index.ts +0 -1
- package/src/redux/actions/sampleActions.ts +0 -91
- package/src/redux/index.ts +0 -2
- package/src/redux/reducers/Store.ts +0 -10
- package/src/redux/reducers/__tests__/sampleReducers.test.ts +0 -39
- package/src/redux/reducers/index.ts +0 -7
- package/src/redux/reducers/sampleReducers.ts +0 -71
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.1-alpha.115](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.114...v0.0.1-alpha.115) (2022-01-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @messenger-box/platform-browser
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.1-alpha.114](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.113...v0.0.1-alpha.114) (2022-01-10)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @messenger-box/platform-browser
|
package/jest.config.js
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const merge = require('merge');
|
|
2
|
+
const baseConfig = require('../../../jest.config.base');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const mergeData = merge.recursive(
|
|
5
|
+
baseConfig,
|
|
6
|
+
{
|
|
7
|
+
testEnvironment: 'jsdom',
|
|
8
|
+
transform: {
|
|
9
|
+
'\\.(js|jsx)?$': '../../../transform.js',
|
|
10
|
+
},
|
|
11
|
+
moduleNameMapper: {
|
|
12
|
+
'^__mocks__/(.*)$': '<rootDir>/../../__mocks__/$1',
|
|
13
|
+
// we'll use commonjs version of lodash for tests 👌
|
|
14
|
+
// because we don't need to use any kind of tree shaking right?!
|
|
15
|
+
'^lodash-es$': '<rootDir>/../../../node_modules/lodash/index.js',
|
|
16
|
+
},
|
|
17
|
+
roots: ['src'],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
globals: {},
|
|
21
|
+
},
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
module.exports = mergeData;
|
package/lib/index.js
CHANGED
|
@@ -146,14 +146,14 @@ exports.styleSheet = {
|
|
|
146
146
|
'& .close-btn ': {
|
|
147
147
|
marginTop: '0',
|
|
148
148
|
'& svg': {
|
|
149
|
-
color: 'black'
|
|
150
|
-
}
|
|
149
|
+
color: 'black',
|
|
150
|
+
},
|
|
151
151
|
},
|
|
152
152
|
'& .close-btn:hover ': {
|
|
153
|
-
background: '#eaeaea'
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
})
|
|
153
|
+
background: '#eaeaea',
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
}),
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
|
|
@@ -23019,6 +23019,16 @@ exports.messengerPageStore = [
|
|
|
23019
23019
|
name: 'Messenger',
|
|
23020
23020
|
path: '/o/:orgName/dashboard',
|
|
23021
23021
|
},
|
|
23022
|
+
// {
|
|
23023
|
+
// exact: false,
|
|
23024
|
+
// icon: <MessageOutlined />,
|
|
23025
|
+
// key: 'messenger-chat',
|
|
23026
|
+
// component: Dashboard,
|
|
23027
|
+
// tab: 'Messenger',
|
|
23028
|
+
// position: IMenuPosition.MIDDLE,
|
|
23029
|
+
// name: 'Messenger',
|
|
23030
|
+
// path: '/o/:orgName/dashboard',
|
|
23031
|
+
// },
|
|
23022
23032
|
{
|
|
23023
23033
|
exact: false,
|
|
23024
23034
|
icon: React.createElement(icons_1.WechatOutlined, null),
|