isometrik-chat 1.2.3 → 1.2.5

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.
@@ -0,0 +1,9 @@
1
+ <svg id="Vector_Smart_Object_copy_5" data-name="Vector Smart Object copy 5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="80.469" height="50.067" viewBox="0 0 118.469 71.067">
2
+ <defs>
3
+ <linearGradient id="linear-gradient" x1="0.74" y1="0.78" x2="0.5" y2="0.162" gradientUnits="objectBoundingBox">
4
+ <stop offset="0" stop-color="#f77062"/>
5
+ <stop offset="1" stop-color="#fe5196"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <path id="Gradient_Overlay" data-name="Gradient Overlay" d="M-318.865,101.331l-.006-9.142h-12.653a4.221,4.221,0,0,1-4.224-4.219,4.223,4.223,0,0,1,4.22-4.225l12.652-.008,16.14-.009a4.221,4.221,0,0,0,4.219-4.224,4.222,4.222,0,0,0-4.224-4.22h0l-9.713.006h-6.426l-26.187.016a4.222,4.222,0,0,1-4.223-4.219,4.221,4.221,0,0,1,4.219-4.224h0l32.613-.02a4.138,4.138,0,0,1,.613.062l16.214-.01a4.222,4.222,0,0,0,4.22-4.224,4.221,4.221,0,0,0-4.224-4.219h-7.111l-16.14.009-9.562.018a4.222,4.222,0,0,1-4.225-4.219,4.222,4.222,0,0,1,4.22-4.224l9.557-.006-.008-9.209a5.274,5.274,0,0,1,5.263-5.282,5.282,5.282,0,0,1,2.644.705l52.351,30.221a5.284,5.284,0,0,1,1.927,7.219,5.3,5.3,0,0,1-1.92,1.923l-52.314,30.281a5.219,5.219,0,0,1-2.629.718A5.283,5.283,0,0,1-318.865,101.331ZM-359.684,89.1a4.052,4.052,0,0,1,4.057-4.051,4.054,4.054,0,0,1,4.05,4.056,4.055,4.055,0,0,1-4.05,4.052A4.057,4.057,0,0,1-359.684,89.1Zm12.7-.333a4.054,4.054,0,0,1,4.056-4.051,4.054,4.054,0,0,1,4.052,4.057,4.055,4.055,0,0,1-4.052,4.051,4.056,4.056,0,0,1-4.056-4.057Zm-27.5-16.807a4.054,4.054,0,0,1,4.057-4.051,4.054,4.054,0,0,1,4.051,4.057,4.053,4.053,0,0,1-4.051,4.051A4.057,4.057,0,0,1-374.477,71.96Zm12.7-.332a4.052,4.052,0,0,1,4.057-4.051,4.054,4.054,0,0,1,4.051,4.056,4.055,4.055,0,0,1-4.051,4.052A4.057,4.057,0,0,1-361.775,71.628Zm5.4-17.354a4.054,4.054,0,0,1,4.056-4.051,4.052,4.052,0,0,1,4.05,4.057,4.053,4.053,0,0,1-4.052,4.051A4.056,4.056,0,0,1-356.376,54.274Zm12.5-.008a4.054,4.054,0,0,1,4.057-4.051,4.053,4.053,0,0,1,4.051,4.057,4.053,4.053,0,0,1-4.051,4.051,4.057,4.057,0,0,1-4.057-4.057Z" transform="translate(374.477 -35.54)" fill="url(#linear-gradient)"/>
9
+ </svg>
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isometrik-chat",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "main": "./build/index.js",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -18,38 +18,39 @@
18
18
  "@testing-library/react": "^13.4.0",
19
19
  "@testing-library/user-event": "^13.5.0",
20
20
  "babel-loader": "^8.0.6",
21
+ "babel-preset-env": "^1.7.0",
22
+ "babel-preset-react": "^6.24.1",
21
23
  "bootstrap": "^5.2.2",
22
24
  "bootstrap-icons": "^1.10.2",
23
25
  "css-loader": "^3.3.0",
24
26
  "emoji-picker-react": "^4.4.7",
25
27
  "file-loader": "^6.2.0",
26
28
  "file-saver": "^2.0.5",
29
+ "html-webpack-plugin": "^4.0.0",
27
30
  "js-cookie": "^2.2.1",
28
- "react": "^18.2.0",
29
31
  "react-cropper": "^2.3.3",
30
- "react-dom": "^18.2.0",
31
32
  "react-scripts": "5.0.1",
33
+ "sass-loader": "^13.3.2",
34
+ "source-map-loader": "^4.0.1",
32
35
  "style-loader": "^1.0.1",
33
36
  "styled-components": "^5.3.6",
34
37
  "test-iso-chat-sdk": "^1.0.4",
38
+ "ts-loader": "^9.4.4",
35
39
  "url-loader": "^4.1.1",
36
40
  "wavesurfer.js": "^6.6.3",
37
41
  "web-vitals": "^2.1.4",
38
- "webpack": "^4.41.2",
39
- "webpack-cli": "^3.3.10"
42
+ "webpack-node-externals": "^3.0.0"
40
43
  },
41
44
  "peerDependencies": {
42
45
  "react": "^18.2.0",
43
46
  "react-dom": "^18.2.0"
44
47
  },
45
48
  "scripts": {
46
- "postinstall": "npm uninstall react && npm uninstall react-dom",
47
- "start": "react-scripts start",
48
- "build": "webpack",
49
+ "start": "webpack --mode development --watch --config webpack.dev.config.js",
50
+ "build": "webpack --mode production",
49
51
  "test": "react-scripts test",
50
52
  "eject": "react-scripts eject",
51
53
  "publish:npm": "rimraf dist && mkdir dist && babel src -d dist --copy-files"
52
-
53
54
  },
54
55
  "eslintConfig": {
55
56
  "extends": [
@@ -71,6 +72,12 @@
71
72
  },
72
73
  "devDependencies": {
73
74
  "@babel/cli": "^7.22.6",
74
- "@babel/preset-react": "^7.22.5"
75
+ "@babel/preset-react": "^7.22.5",
76
+ "@webpack-cli/serve": "^2.0.5",
77
+ "react": "^18.2.0",
78
+ "react-dom": "^18.2.0",
79
+ "webpack": "^4.46.0",
80
+ "webpack-cli": "^4.10.0",
81
+ "webpack-dev-server": "^4.15.1"
75
82
  }
76
83
  }
package/public/index.html CHANGED
@@ -32,6 +32,7 @@
32
32
  <body>
33
33
  <noscript>You need to enable JavaScript to run this app.</noscript>
34
34
  <div id="root"></div>
35
+ <script src="/my-react-library.js"></script>
35
36
 
36
37
  </body>
37
38
 
@@ -0,0 +1,39 @@
1
+ const path = require('path');
2
+
3
+ module.exports = {
4
+ mode: 'development',
5
+ entry: './src/index.js',
6
+ output: {
7
+ path: path.resolve(__dirname, 'dist'),
8
+ filename: 'my-react-library.js',
9
+ },
10
+ devServer: {
11
+ port: 3000,
12
+ },
13
+ module: {
14
+ rules: [
15
+ {
16
+ test: /\.js$/,
17
+ exclude: /node_modules/,
18
+ use: {
19
+ loader: 'babel-loader',
20
+ options: {
21
+ presets: ['@babel/preset-env', '@babel/preset-react'],
22
+ },
23
+ },
24
+ },
25
+ {
26
+ test: /\.css$/,
27
+ loader: "style-loader!css-loader"
28
+ },
29
+ {
30
+ test: /\.(png|jpe?g|gif|svg)$/i,
31
+ loader: 'file-loader',
32
+ options: {
33
+ publicPath: 'public',
34
+ outputPath: "public"
35
+ },
36
+ },
37
+ ]
38
+ },
39
+ };
package/babel.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- "@babel/preset-env",
4
- ["@babel/preset-react", { "runtime": "automatic" }]
5
- ]
6
- }