@xelto.npm/xc-lib 1.1.2 → 1.1.3
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/dist/index.cjs.js +7 -19
- package/dist/index.esm.js +8 -20
- package/package.json +113 -113
package/dist/index.cjs.js
CHANGED
|
@@ -7146,7 +7146,7 @@ function getLuminance(color) {
|
|
|
7146
7146
|
|
|
7147
7147
|
return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
|
|
7148
7148
|
}
|
|
7149
|
-
var warnedOnce$
|
|
7149
|
+
var warnedOnce$1 = false;
|
|
7150
7150
|
/**
|
|
7151
7151
|
* Set the absolute transparency of a color.
|
|
7152
7152
|
* Any existing alpha values are overwritten.
|
|
@@ -7161,8 +7161,8 @@ var warnedOnce$2 = false;
|
|
|
7161
7161
|
|
|
7162
7162
|
function fade(color, value) {
|
|
7163
7163
|
if (process.env.NODE_ENV !== 'production') {
|
|
7164
|
-
if (!warnedOnce$
|
|
7165
|
-
warnedOnce$
|
|
7164
|
+
if (!warnedOnce$1) {
|
|
7165
|
+
warnedOnce$1 = true;
|
|
7166
7166
|
console.error(['Material-UI: The `fade` color utility was renamed to `alpha` to better describe its functionality.', '', "You should use `import { alpha } from '@material-ui/core/styles'`"].join('\n'));
|
|
7167
7167
|
}
|
|
7168
7168
|
}
|
|
@@ -7456,13 +7456,13 @@ function round(value) {
|
|
|
7456
7456
|
return Math.round(value * 1e5) / 1e5;
|
|
7457
7457
|
}
|
|
7458
7458
|
|
|
7459
|
-
var warnedOnce
|
|
7459
|
+
var warnedOnce = false;
|
|
7460
7460
|
|
|
7461
7461
|
function roundWithDeprecationWarning(value) {
|
|
7462
7462
|
if (process.env.NODE_ENV !== 'production') {
|
|
7463
|
-
if (!warnedOnce
|
|
7463
|
+
if (!warnedOnce) {
|
|
7464
7464
|
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://material-ui.com/r/migration-v4/#theme for a migration path.'].join('\n'));
|
|
7465
|
-
warnedOnce
|
|
7465
|
+
warnedOnce = true;
|
|
7466
7466
|
}
|
|
7467
7467
|
}
|
|
7468
7468
|
|
|
@@ -7919,18 +7919,6 @@ function createTheme() {
|
|
|
7919
7919
|
return muiTheme;
|
|
7920
7920
|
}
|
|
7921
7921
|
|
|
7922
|
-
var warnedOnce = false;
|
|
7923
|
-
function createMuiTheme() {
|
|
7924
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
7925
|
-
if (!warnedOnce) {
|
|
7926
|
-
warnedOnce = true;
|
|
7927
|
-
console.error(['Material-UI: the createMuiTheme function was renamed to createTheme.', '', "You should use `import { createTheme } from '@material-ui/core/styles'`"].join('\n'));
|
|
7928
|
-
}
|
|
7929
|
-
}
|
|
7930
|
-
|
|
7931
|
-
return createTheme.apply(void 0, arguments);
|
|
7932
|
-
}
|
|
7933
|
-
|
|
7934
7922
|
var defaultTheme = createTheme();
|
|
7935
7923
|
var defaultTheme$1 = defaultTheme;
|
|
7936
7924
|
|
|
@@ -35703,7 +35691,7 @@ var Utils = {
|
|
|
35703
35691
|
}
|
|
35704
35692
|
};
|
|
35705
35693
|
|
|
35706
|
-
var theme =
|
|
35694
|
+
var theme = core.createTheme({
|
|
35707
35695
|
props: {
|
|
35708
35696
|
MuiButtonBase: {
|
|
35709
35697
|
disableRipple: true
|
package/dist/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as React$a from 'react';
|
|
|
2
2
|
import React__default, { Children, isValidElement, cloneElement, createContext, useMemo, createElement, useContext, useEffect, useLayoutEffect, Fragment, useRef, Component, useCallback, memo, forwardRef, useState, useDebugValue } from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
4
|
import ReactDOM__default from 'react-dom';
|
|
5
|
-
import { Grid as Grid$2, Dialog as Dialog$3, Typography as Typography$2, SvgIcon as SvgIcon$2, Paper as Paper$2, FormControl as FormControl$2, RadioGroup, FormControlLabel, Radio } from '@material-ui/core';
|
|
5
|
+
import { Grid as Grid$2, Dialog as Dialog$3, Typography as Typography$2, SvgIcon as SvgIcon$2, Paper as Paper$2, FormControl as FormControl$2, RadioGroup, FormControlLabel, Radio, createTheme as createTheme$1 } from '@material-ui/core';
|
|
6
6
|
import require$$0$1 from 'crypto';
|
|
7
7
|
import { push } from 'connected-react-router';
|
|
8
8
|
import { create as create$1, CancelToken } from 'apisauce';
|
|
@@ -7126,7 +7126,7 @@ function getLuminance(color) {
|
|
|
7126
7126
|
|
|
7127
7127
|
return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));
|
|
7128
7128
|
}
|
|
7129
|
-
var warnedOnce$
|
|
7129
|
+
var warnedOnce$1 = false;
|
|
7130
7130
|
/**
|
|
7131
7131
|
* Set the absolute transparency of a color.
|
|
7132
7132
|
* Any existing alpha values are overwritten.
|
|
@@ -7141,8 +7141,8 @@ var warnedOnce$2 = false;
|
|
|
7141
7141
|
|
|
7142
7142
|
function fade(color, value) {
|
|
7143
7143
|
if (process.env.NODE_ENV !== 'production') {
|
|
7144
|
-
if (!warnedOnce$
|
|
7145
|
-
warnedOnce$
|
|
7144
|
+
if (!warnedOnce$1) {
|
|
7145
|
+
warnedOnce$1 = true;
|
|
7146
7146
|
console.error(['Material-UI: The `fade` color utility was renamed to `alpha` to better describe its functionality.', '', "You should use `import { alpha } from '@material-ui/core/styles'`"].join('\n'));
|
|
7147
7147
|
}
|
|
7148
7148
|
}
|
|
@@ -7436,13 +7436,13 @@ function round(value) {
|
|
|
7436
7436
|
return Math.round(value * 1e5) / 1e5;
|
|
7437
7437
|
}
|
|
7438
7438
|
|
|
7439
|
-
var warnedOnce
|
|
7439
|
+
var warnedOnce = false;
|
|
7440
7440
|
|
|
7441
7441
|
function roundWithDeprecationWarning(value) {
|
|
7442
7442
|
if (process.env.NODE_ENV !== 'production') {
|
|
7443
|
-
if (!warnedOnce
|
|
7443
|
+
if (!warnedOnce) {
|
|
7444
7444
|
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://material-ui.com/r/migration-v4/#theme for a migration path.'].join('\n'));
|
|
7445
|
-
warnedOnce
|
|
7445
|
+
warnedOnce = true;
|
|
7446
7446
|
}
|
|
7447
7447
|
}
|
|
7448
7448
|
|
|
@@ -7899,18 +7899,6 @@ function createTheme() {
|
|
|
7899
7899
|
return muiTheme;
|
|
7900
7900
|
}
|
|
7901
7901
|
|
|
7902
|
-
var warnedOnce = false;
|
|
7903
|
-
function createMuiTheme() {
|
|
7904
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
7905
|
-
if (!warnedOnce) {
|
|
7906
|
-
warnedOnce = true;
|
|
7907
|
-
console.error(['Material-UI: the createMuiTheme function was renamed to createTheme.', '', "You should use `import { createTheme } from '@material-ui/core/styles'`"].join('\n'));
|
|
7908
|
-
}
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
|
-
return createTheme.apply(void 0, arguments);
|
|
7912
|
-
}
|
|
7913
|
-
|
|
7914
7902
|
var defaultTheme = createTheme();
|
|
7915
7903
|
var defaultTheme$1 = defaultTheme;
|
|
7916
7904
|
|
|
@@ -35683,7 +35671,7 @@ var Utils = {
|
|
|
35683
35671
|
}
|
|
35684
35672
|
};
|
|
35685
35673
|
|
|
35686
|
-
var theme =
|
|
35674
|
+
var theme = createTheme$1({
|
|
35687
35675
|
props: {
|
|
35688
35676
|
MuiButtonBase: {
|
|
35689
35677
|
disableRipple: true
|
package/package.json
CHANGED
|
@@ -1,113 +1,113 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xelto.npm/xc-lib",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Xelcode Library containing components and utilities",
|
|
5
|
-
"author": "",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/xeltoteam/XC-LIB.git"
|
|
10
|
-
},
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=14"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "rollup -c rollup.config.mjs && node scripts/write-subpath-reexports.cjs"
|
|
16
|
-
},
|
|
17
|
-
"main": "dist/index.cjs.js",
|
|
18
|
-
"module": "dist/index.esm.js",
|
|
19
|
-
"source": "src/index.js",
|
|
20
|
-
"files": [
|
|
21
|
-
"dist",
|
|
22
|
-
"utils.js",
|
|
23
|
-
"components.js",
|
|
24
|
-
"store.js"
|
|
25
|
-
],
|
|
26
|
-
"keywords": [
|
|
27
|
-
"xelcode",
|
|
28
|
-
"react",
|
|
29
|
-
"components",
|
|
30
|
-
"redux",
|
|
31
|
-
"utilities"
|
|
32
|
-
],
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/xeltoteam/XC-LIB/issues"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://github.com/xeltoteam/XC-LIB#readme",
|
|
37
|
-
"exports": {
|
|
38
|
-
".": {
|
|
39
|
-
"import": "./dist/index.esm.js",
|
|
40
|
-
"require": "./dist/index.cjs.js"
|
|
41
|
-
},
|
|
42
|
-
"./store": {
|
|
43
|
-
"import": "./dist/index.esm.js",
|
|
44
|
-
"require": "./dist/index.cjs.js"
|
|
45
|
-
},
|
|
46
|
-
"./utils": {
|
|
47
|
-
"import": "./dist/index.esm.js",
|
|
48
|
-
"require": "./dist/index.cjs.js"
|
|
49
|
-
},
|
|
50
|
-
"./components": {
|
|
51
|
-
"import": "./dist/index.esm.js",
|
|
52
|
-
"require": "./dist/index.cjs.js"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"@material-ui/core": "^4.12.0",
|
|
57
|
-
"apisauce": "^2.0.1",
|
|
58
|
-
"connected-react-router": "6.4.0",
|
|
59
|
-
"file-saver": "^2.0.5",
|
|
60
|
-
"react": "^17.0.2",
|
|
61
|
-
"react-dom": "^17.0.2",
|
|
62
|
-
"redux-saga": "1.0.2"
|
|
63
|
-
},
|
|
64
|
-
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.13.16",
|
|
66
|
-
"@rollup/plugin-babel": "^6.0.3",
|
|
67
|
-
"@rollup/plugin-commonjs": "^23.0.3",
|
|
68
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
69
|
-
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
70
|
-
"@babel/preset-env": "^7.13.15",
|
|
71
|
-
"@babel/preset-react": "^7.13.13",
|
|
72
|
-
"@date-io/date-fns": "^1.3.13",
|
|
73
|
-
"@material-ui/icons": "^4.11.2",
|
|
74
|
-
"@material-ui/pickers": "^3.3.10",
|
|
75
|
-
"@mdi/js": "^5.9.55",
|
|
76
|
-
"apisauce": "^2.0.1",
|
|
77
|
-
"babel-eslint": "^10.0.3",
|
|
78
|
-
"babel-loader": "^8.2.2",
|
|
79
|
-
"clean-webpack-plugin": "^4.0.0-alpha.0",
|
|
80
|
-
"connected-react-router": "6.4.0",
|
|
81
|
-
"cross-env": "^7.0.2",
|
|
82
|
-
"date-fns": "^2.21.1",
|
|
83
|
-
"eslint": "^6.8.0",
|
|
84
|
-
"eslint-config-prettier": "^6.7.0",
|
|
85
|
-
"eslint-config-standard": "^14.1.0",
|
|
86
|
-
"eslint-config-standard-react": "^9.2.0",
|
|
87
|
-
"eslint-plugin-import": "^2.18.2",
|
|
88
|
-
"eslint-plugin-node": "^11.0.0",
|
|
89
|
-
"eslint-plugin-prettier": "^3.1.1",
|
|
90
|
-
"eslint-plugin-promise": "^4.2.1",
|
|
91
|
-
"eslint-plugin-react": "^7.17.0",
|
|
92
|
-
"eslint-plugin-standard": "^4.0.1",
|
|
93
|
-
"history": "4.9.0",
|
|
94
|
-
"microbundle-crl": "^0.13.10",
|
|
95
|
-
"path": "^0.12.7",
|
|
96
|
-
"prettier": "^2.0.4",
|
|
97
|
-
"react": "^17.0.2",
|
|
98
|
-
"react-dom": "^17.0.2",
|
|
99
|
-
"react-redux": "7.0.2",
|
|
100
|
-
"react-router-dom": "^5.2.0",
|
|
101
|
-
"react-scripts": "^3.4.1",
|
|
102
|
-
"redux": "4.0.1",
|
|
103
|
-
"redux-saga": "1.0.2",
|
|
104
|
-
"reselect": "^4.0.0",
|
|
105
|
-
"sha256": "^0.2.0",
|
|
106
|
-
"webpack": "^5.35.0",
|
|
107
|
-
"webpack-cli": "^4.10.0",
|
|
108
|
-
"webpack-node-externals": "^2.5.2",
|
|
109
|
-
"rollup": "^3.6.0",
|
|
110
|
-
"@material-ui/core": "4.12.3",
|
|
111
|
-
"file-saver": "^2.0.5"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xelto.npm/xc-lib",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"description": "Xelcode Library containing components and utilities",
|
|
5
|
+
"author": "",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/xeltoteam/XC-LIB.git"
|
|
10
|
+
},
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=14"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rollup -c rollup.config.mjs && node scripts/write-subpath-reexports.cjs"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.cjs.js",
|
|
18
|
+
"module": "dist/index.esm.js",
|
|
19
|
+
"source": "src/index.js",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"utils.js",
|
|
23
|
+
"components.js",
|
|
24
|
+
"store.js"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"xelcode",
|
|
28
|
+
"react",
|
|
29
|
+
"components",
|
|
30
|
+
"redux",
|
|
31
|
+
"utilities"
|
|
32
|
+
],
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/xeltoteam/XC-LIB/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/xeltoteam/XC-LIB#readme",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"import": "./dist/index.esm.js",
|
|
40
|
+
"require": "./dist/index.cjs.js"
|
|
41
|
+
},
|
|
42
|
+
"./store": {
|
|
43
|
+
"import": "./dist/index.esm.js",
|
|
44
|
+
"require": "./dist/index.cjs.js"
|
|
45
|
+
},
|
|
46
|
+
"./utils": {
|
|
47
|
+
"import": "./dist/index.esm.js",
|
|
48
|
+
"require": "./dist/index.cjs.js"
|
|
49
|
+
},
|
|
50
|
+
"./components": {
|
|
51
|
+
"import": "./dist/index.esm.js",
|
|
52
|
+
"require": "./dist/index.cjs.js"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@material-ui/core": "^4.12.0",
|
|
57
|
+
"apisauce": "^2.0.1",
|
|
58
|
+
"connected-react-router": "6.4.0",
|
|
59
|
+
"file-saver": "^2.0.5",
|
|
60
|
+
"react": "^17.0.2",
|
|
61
|
+
"react-dom": "^17.0.2",
|
|
62
|
+
"redux-saga": "1.0.2"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@babel/core": "^7.13.16",
|
|
66
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
67
|
+
"@rollup/plugin-commonjs": "^23.0.3",
|
|
68
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
69
|
+
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
70
|
+
"@babel/preset-env": "^7.13.15",
|
|
71
|
+
"@babel/preset-react": "^7.13.13",
|
|
72
|
+
"@date-io/date-fns": "^1.3.13",
|
|
73
|
+
"@material-ui/icons": "^4.11.2",
|
|
74
|
+
"@material-ui/pickers": "^3.3.10",
|
|
75
|
+
"@mdi/js": "^5.9.55",
|
|
76
|
+
"apisauce": "^2.0.1",
|
|
77
|
+
"babel-eslint": "^10.0.3",
|
|
78
|
+
"babel-loader": "^8.2.2",
|
|
79
|
+
"clean-webpack-plugin": "^4.0.0-alpha.0",
|
|
80
|
+
"connected-react-router": "6.4.0",
|
|
81
|
+
"cross-env": "^7.0.2",
|
|
82
|
+
"date-fns": "^2.21.1",
|
|
83
|
+
"eslint": "^6.8.0",
|
|
84
|
+
"eslint-config-prettier": "^6.7.0",
|
|
85
|
+
"eslint-config-standard": "^14.1.0",
|
|
86
|
+
"eslint-config-standard-react": "^9.2.0",
|
|
87
|
+
"eslint-plugin-import": "^2.18.2",
|
|
88
|
+
"eslint-plugin-node": "^11.0.0",
|
|
89
|
+
"eslint-plugin-prettier": "^3.1.1",
|
|
90
|
+
"eslint-plugin-promise": "^4.2.1",
|
|
91
|
+
"eslint-plugin-react": "^7.17.0",
|
|
92
|
+
"eslint-plugin-standard": "^4.0.1",
|
|
93
|
+
"history": "4.9.0",
|
|
94
|
+
"microbundle-crl": "^0.13.10",
|
|
95
|
+
"path": "^0.12.7",
|
|
96
|
+
"prettier": "^2.0.4",
|
|
97
|
+
"react": "^17.0.2",
|
|
98
|
+
"react-dom": "^17.0.2",
|
|
99
|
+
"react-redux": "7.0.2",
|
|
100
|
+
"react-router-dom": "^5.2.0",
|
|
101
|
+
"react-scripts": "^3.4.1",
|
|
102
|
+
"redux": "4.0.1",
|
|
103
|
+
"redux-saga": "1.0.2",
|
|
104
|
+
"reselect": "^4.0.0",
|
|
105
|
+
"sha256": "^0.2.0",
|
|
106
|
+
"webpack": "^5.35.0",
|
|
107
|
+
"webpack-cli": "^4.10.0",
|
|
108
|
+
"webpack-node-externals": "^2.5.2",
|
|
109
|
+
"rollup": "^3.6.0",
|
|
110
|
+
"@material-ui/core": "4.12.3",
|
|
111
|
+
"file-saver": "^2.0.5"
|
|
112
|
+
}
|
|
113
|
+
}
|