@visns-studio/visns-components 5.4.18 → 5.4.20
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/package.json +4 -4
- package/src/components/crm/Field.jsx +6 -2
- package/src/components/crm/auth/styles/TwoFactorAuth.module.scss +16 -2
- package/src/components/crm/generic/GenericReport.jsx +2158 -0
- package/src/components/crm/generic/styles/GenericDetail.module.scss +2 -2
- package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +3 -3
- package/src/components/crm/generic/styles/GenericReport.module.scss +905 -0
- package/src/components/crm/styles/Field.module.scss +41 -14
- package/src/components/styles/global.css +92 -16
- package/src/index.js +2 -0
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@nivo/core": "^0.88.0",
|
|
9
9
|
"@nivo/line": "^0.88.0",
|
|
10
10
|
"@nivo/pie": "^0.88.0",
|
|
11
|
-
"@tinymce/tinymce-react": "^
|
|
11
|
+
"@tinymce/tinymce-react": "^6.1.0",
|
|
12
12
|
"@vitejs/plugin-react": "^4.3.4",
|
|
13
13
|
"add": "^2.0.6",
|
|
14
14
|
"akar-icons": "^1.9.31",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"react-datepicker": "^7.6.0",
|
|
37
37
|
"react-dropzone": "^14.3.8",
|
|
38
38
|
"react-grid-gallery": "^1.0.1",
|
|
39
|
-
"react-number-format": "^5.4.
|
|
39
|
+
"react-number-format": "^5.4.4",
|
|
40
40
|
"react-password-strength-bar": "^0.4.1",
|
|
41
41
|
"react-promise-tracker": "^2.1.1",
|
|
42
42
|
"react-quill": "^2.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"reactjs-popup": "^2.0.6",
|
|
55
55
|
"style-loader": "^4.0.0",
|
|
56
56
|
"swapy": "^1.0.5",
|
|
57
|
-
"sweetalert2": "^11.
|
|
57
|
+
"sweetalert2": "^11.18.0",
|
|
58
58
|
"truncate": "^3.0.0",
|
|
59
59
|
"uuid": "^10.0.0",
|
|
60
60
|
"validator": "^13.15.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
82
82
|
},
|
|
83
83
|
"name": "@visns-studio/visns-components",
|
|
84
|
-
"version": "5.4.
|
|
84
|
+
"version": "5.4.20",
|
|
85
85
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
86
86
|
"main": "src/index.js",
|
|
87
87
|
"files": [
|
|
@@ -1358,6 +1358,10 @@ function Field({
|
|
|
1358
1358
|
type={'checkbox'}
|
|
1359
1359
|
checked={cell[cellKey] || false}
|
|
1360
1360
|
data-id={settings.id}
|
|
1361
|
+
style={{
|
|
1362
|
+
transform: 'scale(1)', // Use normal scale
|
|
1363
|
+
margin: '3px', // Reduced margin
|
|
1364
|
+
}}
|
|
1361
1365
|
onChange={(e) => {
|
|
1362
1366
|
e.stopPropagation(); // Stop event bubbling
|
|
1363
1367
|
onChangeTableRadio(e, rowKey, cellKey);
|
|
@@ -1456,8 +1460,8 @@ function Field({
|
|
|
1456
1460
|
checked={cell[cellKey] || false}
|
|
1457
1461
|
data-id={settings.id}
|
|
1458
1462
|
style={{
|
|
1459
|
-
transform: 'scale(1
|
|
1460
|
-
margin: '
|
|
1463
|
+
transform: 'scale(1)', // Use normal scale
|
|
1464
|
+
margin: '3px', // Reduced margin
|
|
1461
1465
|
}}
|
|
1462
1466
|
onChange={(e) => {
|
|
1463
1467
|
e.stopPropagation(); // Stop event bubbling
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
2
|
-
@
|
|
1
|
+
// Use the Login styles to maintain consistency
|
|
2
|
+
@use './Login.module.scss' as login;
|
|
3
3
|
|
|
4
4
|
// Additional styles specific to the 2FA component
|
|
5
5
|
.instructions {
|
|
@@ -11,6 +11,14 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.login {
|
|
14
|
+
// Instead of extending, copy the necessary properties
|
|
15
|
+
width: 35rem;
|
|
16
|
+
padding: 1rem;
|
|
17
|
+
margin: 0;
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: 1fr;
|
|
20
|
+
gap: 0.5rem;
|
|
21
|
+
|
|
14
22
|
h2 {
|
|
15
23
|
text-align: center;
|
|
16
24
|
margin: 0;
|
|
@@ -21,6 +29,12 @@
|
|
|
21
29
|
|
|
22
30
|
// Style for the verification code input
|
|
23
31
|
.formItem {
|
|
32
|
+
// Instead of extending, copy the necessary properties
|
|
33
|
+
width: 50%;
|
|
34
|
+
position: relative;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
margin-bottom: 0.5rem;
|
|
37
|
+
|
|
24
38
|
input[name='verificationCode'] {
|
|
25
39
|
letter-spacing: 0.25rem;
|
|
26
40
|
font-size: 1.2rem;
|