@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 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 base = require('../../../jest.config.base');
2
- const packageJson = require('./package');
1
+ const merge = require('merge');
2
+ const baseConfig = require('../../../jest.config.base');
3
3
 
4
- module.exports = {
5
- ...base,
6
- name: packageJson.name,
7
- displayName: packageJson.name,
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),