@visns-studio/visns-components 4.5.0 → 4.5.2
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/components/crm/Fetch.jsx
CHANGED
|
@@ -15,8 +15,9 @@ const CustomFetch = (
|
|
|
15
15
|
const headers = {
|
|
16
16
|
'Content-Type': 'application/json',
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
const MAX_PAYLOAD_SIZE_MB =
|
|
19
|
+
parseFloat(process.env.REACT_APP_MAX_PAYLOAD_SIZE_MB) || 4.5;
|
|
20
|
+
const MAX_PAYLOAD_SIZE = MAX_PAYLOAD_SIZE_MB * 1024 * 1024; // Convert MB to bytes
|
|
20
21
|
|
|
21
22
|
// Estimate headers size
|
|
22
23
|
const headersSize = JSON.stringify(headers).length;
|
|
@@ -470,3 +470,30 @@ select {
|
|
|
470
470
|
background: var(--highlight-color);
|
|
471
471
|
border: 1px solid rgba(var(--highlight-color-rgb), 1.05);
|
|
472
472
|
}
|
|
473
|
+
|
|
474
|
+
.grid__full {
|
|
475
|
+
width: 100%;
|
|
476
|
+
background: var(--item-color);
|
|
477
|
+
border-radius: var(--br);
|
|
478
|
+
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
479
|
+
box-sizing: border-box;
|
|
480
|
+
overflow: visible;
|
|
481
|
+
position: relative;
|
|
482
|
+
padding: 2px;
|
|
483
|
+
margin: 8px 0;
|
|
484
|
+
box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.polActions {
|
|
488
|
+
position: fixed;
|
|
489
|
+
bottom: 15px;
|
|
490
|
+
right: 20px;
|
|
491
|
+
width: auto;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.polActions button {
|
|
495
|
+
display: block;
|
|
496
|
+
float: left;
|
|
497
|
+
padding: 0.35em 1em;
|
|
498
|
+
margin: 0 0.15em;
|
|
499
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.hwrap .logo {
|
|
8
|
-
width: 100px;
|
|
8
|
+
width: var(--logo-width, 100px);
|
|
9
9
|
padding: 0 1rem 0 0.5rem;
|
|
10
10
|
margin: 0;
|
|
11
11
|
line-height: 1.45;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
.hwrap .logo img {
|
|
15
15
|
width: 100%;
|
|
16
|
-
max-width:
|
|
16
|
+
max-width: var(--logo-max-width, 180px);
|
|
17
17
|
height: auto;
|
|
18
18
|
display: block;
|
|
19
19
|
margin: 0 auto;
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
align-items: center;
|
|
68
68
|
gap: 0.25rem;
|
|
69
69
|
box-sizing: border-box;
|
|
70
|
-
padding: 0.5em;
|
|
70
|
+
padding: 0.5em 1em;
|
|
71
|
+
margin: 0.25em;
|
|
71
72
|
text-decoration: none;
|
|
72
73
|
outline: none;
|
|
73
74
|
border-radius: var(--br);
|
|
@@ -100,7 +101,7 @@
|
|
|
100
101
|
.app-nav .nav-item.active a,
|
|
101
102
|
.app-nav .nav-item:hover span,
|
|
102
103
|
.app-nav .nav-item.active span {
|
|
103
|
-
background:
|
|
104
|
+
background: var(--primary-color-lighter);
|
|
104
105
|
color: var(--tertiary-color);
|
|
105
106
|
}
|
|
106
107
|
|
package/package.json
CHANGED