react-session.manager.sk 1.1.2 → 2.0.0

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.
@@ -1,56 +1,56 @@
1
- :root {
2
- --main: #303030;
3
- --themec: #303030;
4
- --default: #303030;
5
- --contrastText: "rgba(0, 0, 0, 0.87)";
6
- }
7
-
8
- .custToast {
9
- background: var(--themec);
10
- }
11
- .custToast .Toastify__close-button {
12
- color: var(--main);
13
- }
14
-
15
- .custToast.Toastify__toast--success {
16
- color: var(--success);
17
- }
18
- .custToast.Toastify__toast--info {
19
- color: var(--info);
20
- }
21
- .custToast.Toastify__toast--warning {
22
- color: var(--warning);
23
- }
24
- .custToast.Toastify__toast--error {
25
- color: var(--error);
26
- }
27
-
28
- .custToast .Toastify__progress-bar--success {
29
- background: var(--success);
30
- }
31
- .custToast .Toastify__progress-bar--info {
32
- background: var(--info);
33
- }
34
- .custToast .Toastify__progress-bar--warning {
35
- background: var(--warning);
36
- }
37
- .custToast .Toastify__progress-bar--error {
38
- background: var(--error);
39
- }
40
-
41
- .custToast.materialToast.Toastify__toast--success {
42
- background: var(--success);
43
- color: var(--contrastText);
44
- }
45
- .custToast.materialToast.Toastify__toast--info {
46
- background: var(--info);
47
- color: var(--contrastText);
48
- }
49
- .custToast.materialToast.Toastify__toast--warning {
50
- background: var(--warning);
51
- color: var(--contrastText);
52
- }
53
- .custToast.materialToast.Toastify__toast--error {
54
- background: var(--error);
55
- color: var(--contrastText);
56
- }
1
+ :root {
2
+ --main: #303030;
3
+ --themec: #303030;
4
+ --default: #303030;
5
+ --contrastText: "rgba(0, 0, 0, 0.87)";
6
+ }
7
+
8
+ .custToast {
9
+ background: var(--themec);
10
+ }
11
+ .custToast .Toastify__close-button {
12
+ color: var(--main);
13
+ }
14
+
15
+ .custToast.Toastify__toast--success {
16
+ color: var(--success);
17
+ }
18
+ .custToast.Toastify__toast--info {
19
+ color: var(--info);
20
+ }
21
+ .custToast.Toastify__toast--warning {
22
+ color: var(--warning);
23
+ }
24
+ .custToast.Toastify__toast--error {
25
+ color: var(--error);
26
+ }
27
+
28
+ .custToast .Toastify__progress-bar--success {
29
+ background: var(--success);
30
+ }
31
+ .custToast .Toastify__progress-bar--info {
32
+ background: var(--info);
33
+ }
34
+ .custToast .Toastify__progress-bar--warning {
35
+ background: var(--warning);
36
+ }
37
+ .custToast .Toastify__progress-bar--error {
38
+ background: var(--error);
39
+ }
40
+
41
+ .custToast.materialToast.Toastify__toast--success {
42
+ background: var(--success);
43
+ color: var(--contrastText);
44
+ }
45
+ .custToast.materialToast.Toastify__toast--info {
46
+ background: var(--info);
47
+ color: var(--contrastText);
48
+ }
49
+ .custToast.materialToast.Toastify__toast--warning {
50
+ background: var(--warning);
51
+ color: var(--contrastText);
52
+ }
53
+ .custToast.materialToast.Toastify__toast--error {
54
+ background: var(--error);
55
+ color: var(--contrastText);
56
+ }
package/webpack.config.js CHANGED
@@ -1,36 +1,36 @@
1
- const path = require("path");
2
-
3
- module.exports = {
4
- entry: "./src/index.js",
5
- output: {
6
- path: path.resolve(__dirname, "dist"),
7
- filename: "index.js",
8
- library: "MyComponent",
9
- libraryTarget: "umd",
10
- umdNamedDefine: true,
11
- },
12
- externals: {
13
- react: "react", // Use 'react' from the environment (do not bundle)
14
- "react-dom": "react-dom", // Use 'react-dom' from the environment (do not bundle)
15
- },
16
- module: {
17
- rules: [
18
- {
19
- test: /\.jsx?$/,
20
- exclude: /node_modules/,
21
- use: {
22
- loader: "babel-loader",
23
- },
24
- },
25
- {
26
- test: /\.css$/i,
27
- use: {
28
- loader: "css-loader",
29
- },
30
- },
31
- ],
32
- },
33
- resolve: {
34
- extensions: [".js", ".jsx"],
35
- },
36
- };
1
+ const path = require("path");
2
+
3
+ module.exports = {
4
+ entry: "./src/index.js",
5
+ output: {
6
+ path: path.resolve(__dirname, "dist"),
7
+ filename: "index.js",
8
+ library: "MyComponent",
9
+ libraryTarget: "umd",
10
+ umdNamedDefine: true,
11
+ },
12
+ externals: {
13
+ react: "react", // Use 'react' from the environment (do not bundle)
14
+ "react-dom": "react-dom", // Use 'react-dom' from the environment (do not bundle)
15
+ },
16
+ module: {
17
+ rules: [
18
+ {
19
+ test: /\.jsx?$/,
20
+ exclude: /node_modules/,
21
+ use: {
22
+ loader: "babel-loader",
23
+ },
24
+ },
25
+ {
26
+ test: /\.css$/i,
27
+ use: {
28
+ loader: "css-loader",
29
+ },
30
+ },
31
+ ],
32
+ },
33
+ resolve: {
34
+ extensions: [".js", ".jsx"],
35
+ },
36
+ };