@maif/react-forms 1.0.55 → 1.0.58

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/lib/index.css ADDED
@@ -0,0 +1,360 @@
1
+ .input {
2
+ display: block;
3
+ width: 100%;
4
+ padding: 8px 12px;
5
+ font-size: 1rem;
6
+ color: #495057;
7
+ border: 1px solid #ced4da;
8
+ border-radius: 4px;
9
+ box-sizing: border-box;
10
+ }
11
+ .input[readonly] {
12
+ background-color: #e9ecef;
13
+ opacity: 1;
14
+ }
15
+
16
+ .btn {
17
+ border-radius: 5px;
18
+ padding: 10px;
19
+ font-size: 1rem;
20
+ cursor: pointer;
21
+ border-width: 1px;
22
+ background-color: #fff;
23
+ }
24
+ .btn:disabled {
25
+ opacity: 0.6;
26
+ cursor: not-allowed;
27
+ }
28
+
29
+ .btn_sm {
30
+ font-size: 0.875rem;
31
+ padding: 0.25rem 0.5rem;
32
+ line-height: 1.5;
33
+ border-radius: 0.2rem;
34
+ }
35
+
36
+ .btn_group > button:not(:last-child) {
37
+ border-top-right-radius: 0;
38
+ border-bottom-right-radius: 0;
39
+ }
40
+ .btn_group > button:not(:first-child) {
41
+ border-top-left-radius: 0;
42
+ border-bottom-left-radius: 0;
43
+ }
44
+
45
+ .btn_red {
46
+ color: #dc3545;
47
+ border-color: #dc3545;
48
+ }
49
+ .btn_red:hover {
50
+ color: #fff;
51
+ background-color: #dc3545;
52
+ border-color: #bd2130;
53
+ }
54
+ .btn_red.active {
55
+ color: #fff;
56
+ background-color: #dc3545;
57
+ border-color: #bd2130;
58
+ }
59
+
60
+ .btn_green {
61
+ color: #28a745;
62
+ border-color: #28a745;
63
+ }
64
+ .btn_green:hover {
65
+ color: #fff;
66
+ background-color: #28a745;
67
+ border-color: #1e7e34;
68
+ }
69
+ .btn_green.active {
70
+ color: #fff;
71
+ background-color: #28a745;
72
+ border-color: #1e7e34;
73
+ }
74
+
75
+ .btn_blue {
76
+ color: #007bff;
77
+ border-color: #007bff;
78
+ }
79
+ .btn_blue:hover {
80
+ color: #fff;
81
+ background-color: #007bff;
82
+ border-color: #0069d9;
83
+ }
84
+ .btn_blue.active {
85
+ color: #fff;
86
+ background-color: #007bff;
87
+ border-color: #0069d9;
88
+ }
89
+
90
+ .btn_grey {
91
+ color: #6c757d;
92
+ border-color: #6c757d;
93
+ }
94
+ .btn_grey:hover {
95
+ color: #fff;
96
+ background-color: #6c757d;
97
+ border-color: #5c636a;
98
+ }
99
+ .btn_grey.active {
100
+ color: #fff;
101
+ background-color: #6c757d;
102
+ border-color: #5c636a;
103
+ }
104
+
105
+ .txt_red {
106
+ color: #dc3545;
107
+ }
108
+
109
+ .ml_5 {
110
+ margin-left: 5px;
111
+ }
112
+
113
+ .ml_10 {
114
+ margin-left: 10px;
115
+ }
116
+
117
+ .mr_5 {
118
+ margin-right: 5px;
119
+ }
120
+
121
+ .mr_10 {
122
+ margin-right: 10px;
123
+ }
124
+
125
+ .mt_5 {
126
+ margin-top: 5px;
127
+ }
128
+
129
+ .mt_10 {
130
+ margin-top: 10px;
131
+ }
132
+
133
+ .mt_20 {
134
+ margin-top: 20px;
135
+ }
136
+
137
+ .mb_5 {
138
+ margin-bottom: 5px;
139
+ }
140
+
141
+ .mb_10 {
142
+ margin-bottom: 10px;
143
+ }
144
+
145
+ .mb_20 {
146
+ margin-bottom: 20px;
147
+ }
148
+
149
+ .pt_15 {
150
+ padding-top: 15px;
151
+ }
152
+
153
+ .p_15 {
154
+ padding: 15px;
155
+ }
156
+
157
+ .pr_15 {
158
+ padding-right: 15px;
159
+ }
160
+
161
+ .w_100 {
162
+ width: 100%;
163
+ }
164
+
165
+ .w_50 {
166
+ width: 50%;
167
+ }
168
+
169
+ .d_none {
170
+ display: none;
171
+ }
172
+
173
+ .flex-wrap {
174
+ flex-wrap: wrap;
175
+ }
176
+
177
+ .flex {
178
+ display: flex;
179
+ }
180
+
181
+ .flex-column {
182
+ flex-direction: column;
183
+ }
184
+
185
+ .flex_grow_1 {
186
+ flex-grow: 1;
187
+ }
188
+
189
+ .jc_between {
190
+ justify-content: space-between;
191
+ }
192
+
193
+ .jc_end {
194
+ justify-content: end;
195
+ }
196
+
197
+ .jc_flex_end {
198
+ justify-content: flex-end;
199
+ }
200
+
201
+ .jc_flex_start {
202
+ justify-content: flex-start;
203
+ }
204
+
205
+ .ac_center {
206
+ align-content: center;
207
+ }
208
+
209
+ .ai_center {
210
+ align-items: center;
211
+ }
212
+
213
+ .cursor_pointer {
214
+ cursor: pointer;
215
+ }
216
+
217
+ .cursor_not_allowed {
218
+ cursor: not-allowed;
219
+ }
220
+
221
+ .collapse {
222
+ display: flex;
223
+ justify-content: space-between;
224
+ cursor: pointer;
225
+ }
226
+
227
+ .collapse_label {
228
+ font-weight: bold;
229
+ margin-top: 7px;
230
+ }
231
+
232
+ .collapse_label {
233
+ font-weight: bold;
234
+ margin-top: 7px;
235
+ }
236
+
237
+ .collapse_error {
238
+ color: #dc3545;
239
+ }
240
+
241
+ .datepicker input {
242
+ border-radius: 4px;
243
+ }
244
+
245
+ .input__boolean__on {
246
+ color: MediumSeaGreen;
247
+ }
248
+
249
+ .input__boolean__off {
250
+ color: tomato;
251
+ }
252
+
253
+ .input__invalid {
254
+ border-color: #dc3545 !important;
255
+ }
256
+
257
+ .feedback {
258
+ width: 100%;
259
+ margin-top: 0.25rem;
260
+ font-size: 80%;
261
+ }
262
+
263
+ .display__none {
264
+ display: none;
265
+ }
266
+
267
+ .collapse__inline .form-group + .form-group {
268
+ margin-left: 20px;
269
+ }
270
+
271
+ .nestedform__border {
272
+ border-left: 2px solid lightGray;
273
+ padding-left: 0.5rem;
274
+ margin-left: 0.5rem;
275
+ margin-bottom: 0.5rem;
276
+ padding-bottom: 1rem;
277
+ margin-right: 0.5rem;
278
+ padding-right: 2.5rem;
279
+ }
280
+
281
+ .border__error {
282
+ border-color: #dc3545;
283
+ }
284
+
285
+ .btn_for_descriptionToolbar {
286
+ text-align: left;
287
+ cursor: pointer;
288
+ height: 22px;
289
+ padding: 4px;
290
+ border: none;
291
+ background: none;
292
+ color: #242729;
293
+ margin-right: 5px;
294
+ margin-left: 5px;
295
+ }
296
+
297
+ .content_switch_button_on {
298
+ width: 35px;
299
+ height: 22px;
300
+ border-radius: 20px;
301
+ display: flex;
302
+ margin-top: 10px;
303
+ background-color: green;
304
+ border: 1px solid green;
305
+ justify-content: flex-end;
306
+ }
307
+
308
+ .content_switch_button_off {
309
+ width: 35px;
310
+ height: 22px;
311
+ border-radius: 20px;
312
+ display: flex;
313
+ margin-top: 10px;
314
+ background-color: #dc3545;
315
+ border: 1px solid #dc3545;
316
+ justify-content: flex-start;
317
+ }
318
+
319
+ .content_switch_button_null {
320
+ width: 35px;
321
+ height: 22px;
322
+ border-radius: 20px;
323
+ display: flex;
324
+ margin-top: 10px;
325
+ background-color: #fff;
326
+ border: 1px solid #dfdfdf;
327
+ justify-content: flex-start;
328
+ }
329
+
330
+ .switch_button_on {
331
+ cursor: pointer;
332
+ width: 20px;
333
+ height: 20px;
334
+ background-color: #fff;
335
+ border-radius: 20px;
336
+ border: 1px solid #dfdfdf;
337
+ box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.3);
338
+ }
339
+
340
+ .switch_button_off {
341
+ background-color: #fff;
342
+ border-radius: 20px;
343
+ cursor: pointer;
344
+ width: 20px;
345
+ height: 20px;
346
+ border: 1px solid #dfdfdf;
347
+ box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.3);
348
+ }
349
+
350
+ .switch_button_null {
351
+ background-color: #fff;
352
+ border-radius: 20px;
353
+ cursor: pointer;
354
+ width: 22px;
355
+ height: 22px;
356
+ margin-top: -1px;
357
+ margin-left: -1px;
358
+ border: 1px solid #dfdfdf;
359
+ box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.3);
360
+ }