@visns-studio/visns-components 5.0.11 → 5.0.12
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 +1 -1
- package/src/components/crm/Field.jsx +5 -2
- package/src/components/crm/generic/styles/AuditLog.module.scss +4 -0
- package/src/components/crm/generic/styles/GenericDetail.module.scss +4 -0
- package/src/components/crm/generic/styles/GenericDynamic.module.scss +4 -0
- package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +4 -0
- package/src/components/crm/styles/Field.module.scss +5 -1
- package/src/components/crm/styles/QrCode.module.scss +4 -0
- package/src/components/styles/global.css +12 -3
package/package.json
CHANGED
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
76
76
|
},
|
|
77
77
|
"name": "@visns-studio/visns-components",
|
|
78
|
-
"version": "5.0.
|
|
78
|
+
"version": "5.0.12",
|
|
79
79
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
80
80
|
"main": "src/index.js",
|
|
81
81
|
"files": [
|
|
@@ -314,7 +314,7 @@ function Field({
|
|
|
314
314
|
<span>{settings.label}</span>
|
|
315
315
|
</div>
|
|
316
316
|
);
|
|
317
|
-
} else if (['richeditor'].includes(settings.type)) {
|
|
317
|
+
} else if (['richeditor', 'textarea'].includes(settings.type)) {
|
|
318
318
|
return settings.label;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
@@ -1664,6 +1664,7 @@ function Field({
|
|
|
1664
1664
|
'signature',
|
|
1665
1665
|
'table_radio',
|
|
1666
1666
|
'table_text',
|
|
1667
|
+
'textarea',
|
|
1667
1668
|
'time',
|
|
1668
1669
|
'toggle',
|
|
1669
1670
|
].includes(settings.type)
|
|
@@ -1882,7 +1883,9 @@ function Field({
|
|
|
1882
1883
|
<div className={formItemClass} style={formItemStyle}>
|
|
1883
1884
|
<label
|
|
1884
1885
|
className={
|
|
1885
|
-
|
|
1886
|
+
['richeditor', 'textarea'].includes(settings.type)
|
|
1887
|
+
? ''
|
|
1888
|
+
: styles.fi__label
|
|
1886
1889
|
}
|
|
1887
1890
|
>
|
|
1888
1891
|
{renderLabel()}
|
|
@@ -277,6 +277,10 @@
|
|
|
277
277
|
border: 1px solid rgba(var(--highlight-color-rgb), 0.85);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
+
.formItem textarea {
|
|
281
|
+
line-height: 1.65 !important;
|
|
282
|
+
}
|
|
283
|
+
|
|
280
284
|
input[type='file'] {
|
|
281
285
|
background: var(--item-color) !important;
|
|
282
286
|
border-radius: var (--br) !important;
|
|
@@ -270,6 +270,10 @@
|
|
|
270
270
|
border: 1px solid rgba(var(--primary-color-rgb), 0.85);
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
+
.formItem textarea {
|
|
274
|
+
line-height: 1.65 !important;
|
|
275
|
+
}
|
|
276
|
+
|
|
273
277
|
input[type='file'] {
|
|
274
278
|
background: var(--item-color) !important;
|
|
275
279
|
border-radius: var (--br) !important;
|
|
@@ -144,7 +144,7 @@ select:not(:placeholder-shown) + .fi__span {
|
|
|
144
144
|
background: var(--tertiary-color) !important;
|
|
145
145
|
font-weight: 400 !important;
|
|
146
146
|
transition: all 0.5s cubic-bezier(0.5, 0.5, 0, 1) !important;
|
|
147
|
-
z-index:
|
|
147
|
+
z-index: 1 !important;
|
|
148
148
|
color: rgba(var(--paragraph-rgb), 0.65) !important;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -221,6 +221,10 @@ select:not(:placeholder-shown) + .fi__span {
|
|
|
221
221
|
border: 1px solid rgba(var(--paragraph-color-rgb), 0.85);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
.formItem textarea {
|
|
225
|
+
line-height: 1.65 !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
224
228
|
input[type='file'] {
|
|
225
229
|
background: white !important;
|
|
226
230
|
border-radius: var(--br) !important;
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
html,
|
|
12
12
|
body {
|
|
13
|
-
font-family: -apple-system, BlinkMacSystemFont,
|
|
13
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
14
|
+
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
15
|
+
'Segoe UI Symbol';
|
|
14
16
|
height: 100%;
|
|
15
17
|
text-rendering: geometricPrecision;
|
|
16
18
|
font-stretch: 75% 125%;
|
|
@@ -19,7 +21,9 @@ body {
|
|
|
19
21
|
body {
|
|
20
22
|
background: var(--bg-color);
|
|
21
23
|
font-weight: var(--para-weight);
|
|
22
|
-
font-family: -apple-system, BlinkMacSystemFont,
|
|
24
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
25
|
+
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
26
|
+
'Segoe UI Symbol';
|
|
23
27
|
font-style: normal;
|
|
24
28
|
overflow-x: hidden;
|
|
25
29
|
overscroll-behavior: none;
|
|
@@ -113,6 +117,11 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
|
|
|
113
117
|
padding: 0 !important;
|
|
114
118
|
}
|
|
115
119
|
|
|
120
|
+
.popup-overlay {
|
|
121
|
+
background: rgba(0, 0, 0, 0.65) !important;
|
|
122
|
+
backdrop-filter: blur(3px);
|
|
123
|
+
}
|
|
124
|
+
|
|
116
125
|
.AutocompletePlace-results {
|
|
117
126
|
z-index: 999;
|
|
118
127
|
width: 500px;
|
|
@@ -191,4 +200,4 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
|
|
|
191
200
|
|
|
192
201
|
.visns-select__menu {
|
|
193
202
|
z-index: 999 !important;
|
|
194
|
-
}
|
|
203
|
+
}
|