react-core-ts 1.3.35 → 1.3.37

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.
@@ -1,624 +0,0 @@
1
- body * {
2
- box-sizing: border-box;
3
- }
4
- :root {
5
- --grey-dark: #4a4a4a;
6
- --grey-light: #d3d3d3;
7
- --blue-navy: #001f3f;
8
- --input-disabled: #a9a9a9;
9
- --error-light: #f08080;
10
- --error-extra-light: #fddede;
11
- --success: #28a745;
12
- --success-light: #d4edda;
13
- --blue-light: #add8e6;
14
- }
15
- :root {
16
- --blue-navy: #001f3f;
17
- --table-hover: #your-hover-color; /* Replace with your actual color code */
18
- }
19
-
20
- .custom-spinner {
21
- width: 24px !important; /* w-6 */
22
- height: 24px; /* h-6 */
23
- color: transparent; /* text-table-hover */
24
- fill: var(--blue-navy); /* fill-blue-navy */
25
- animation: spin 1s linear infinite; /* animate-spin */
26
- width: 15px;
27
- position: relative;
28
- top: 1px;
29
- }
30
-
31
- @keyframes spin {
32
- 0% {
33
- transform: rotate(0deg);
34
- }
35
- 100% {
36
- transform: rotate(360deg);
37
- }
38
- }
39
-
40
- .textfield,
41
- .textfield-big {
42
- outline: none;
43
- color: var(--grey-dark);
44
- border-color: var(--grey-light);
45
- background-color: white;
46
- }
47
-
48
- .textfield:focus,
49
- .textfield-big:focus {
50
- border-color: var(--blue-navy);
51
- }
52
-
53
- .textfield:disabled,
54
- .textfield-big:disabled {
55
- color: var(--input-disabled);
56
- }
57
-
58
- .textfield-error,
59
- .textfield-big-error {
60
- outline: none;
61
- color: var(--error-light) !important;
62
- border-color: var(--error-light) !important;
63
- background-color: var(--error-extra-light) !important ;
64
- }
65
-
66
- .textfield-error::placeholder,
67
- .textfield-big-error::placeholder {
68
- color: var(--error-light);
69
- }
70
-
71
- .textfield-success {
72
- outline: none;
73
- color: var(--success);
74
- border-color: var(--success);
75
- background-color: var(--success-light);
76
- }
77
-
78
- .textfield-success:focus {
79
- ring-width: 0;
80
- }
81
-
82
- .textfield-success::placeholder {
83
- color: var(--success);
84
- }
85
-
86
- .textfield-editable {
87
- outline: none;
88
- color: var(--grey-dark);
89
- border-color: var(--blue-navy);
90
- background-color: var(--blue-light);
91
- }
92
-
93
- .textfield-editable::placeholder {
94
- color: var(--grey-dark);
95
- }
96
-
97
- .qbs-autocomplete-suggestions {
98
- position: absolute;
99
- height: auto;
100
- width: 100%;
101
- padding: 8px; /* Corresponding to p-1.5 in Tailwind */
102
- z-index: 99;
103
- margin-top: 4px;
104
- margin-bottom: 0;
105
- border-radius: 8px;
106
- background: #fff;
107
- box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.15);
108
- transform: translateY(0); /* Default position */
109
- transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
110
- opacity: 1;
111
-
112
- /* Ensure content doesn't overflow during transition */
113
- }
114
- .qbs-autocomplete-suggestions.bottom {
115
- top: 100%; /* Position below the input */
116
- /* Other styling */
117
- }
118
-
119
- .qbs-autocomplete-suggestions.top {
120
- bottom: 100%; /* Position above the input */
121
- /* Other styling */
122
- }
123
- .qbs-autocomplete-suggestions-item {
124
- cursor: pointer;
125
- padding: 6px 8px;
126
- border-radius: 6px;
127
- color: #222;
128
- font-size: 14px;
129
- font-weight: 500;
130
- line-height: 20px; /* 142.857% */
131
- width: 100%;
132
- display: flex;
133
- align-items: flex-start;
134
- gap: 8px;
135
- }
136
- .qbs-autocomplete-suggestions-item:hover {
137
- background: #f8f8f8;
138
- border-radius: 6px;
139
- }
140
-
141
- /* When value.id is equal to suggestion.id */
142
- .is-selected {
143
- border-radius: 6px;
144
- background: var(--neutrals-grey-20, #f4f4f4);
145
- }
146
-
147
- /* When value.id is NOT equal to suggestion.id */
148
- .qbs-autocomplete-suggestions-item .is-not-selected:hover {
149
- background-color: #f1f5f9; /* Replace with actual color code for 'hover:bg-table-hover' */
150
- }
151
-
152
- .qbs-autocomplete-notfound {
153
- cursor: pointer;
154
- padding: 6px 8px;
155
- border-radius: 6px;
156
- font-size: 12px;
157
- font-weight: 500;
158
- }
159
- .qbs-autocomplete-witherror-close-icon {
160
- position: absolute;
161
- top: calc(50% - 8px);
162
- right: 22px; /* right-1 */
163
- padding-left: 0.25rem; /* px-1 */
164
- padding-right: 0.25rem; /* px-1 */
165
- display: flex;
166
- justify-content: center;
167
- align-items: center;
168
- }
169
- .qbs-autocomplete-close-icon {
170
- position: absolute;
171
- top: calc(50% - 8px);
172
- right: 2px; /* right-1 */
173
- padding-left: 0.25rem; /* px-1 */
174
- padding-right: 0.25rem; /* px-1 */
175
- display: flex;
176
- justify-content: center;
177
- align-items: center;
178
- }
179
- .qbs-textfield-default {
180
- width: 100%;
181
- position: relative;
182
- padding-right: 8px;
183
- min-height: 36px;
184
- height: 36px;
185
- border-radius: 6px;
186
- padding-left: 8px;
187
- border: 1px solid #d6d8dc;
188
- background: #fff;
189
- box-sizing: border-box;
190
- font-size: 14px;
191
- font-style: normal;
192
- font-weight: 500;
193
- line-height: 20px;
194
- color: #313131;
195
- }
196
-
197
- .qbs-expandable-container {
198
- border: 1px solid #d6d8dc;
199
- background: #fff;
200
- box-sizing: border-box;
201
- padding: 5px;
202
- display: flex;
203
- flex-wrap: wrap;
204
- flex: 1 1 0%;
205
- gap: 5px;
206
- }
207
-
208
- .qbs-dropdown-selected-container {
209
- border: 0px;
210
- border-top: 1px solid #d6d8dc;
211
- min-height: 35px;
212
- margin-top: 2px;
213
- padding-top: 10px;
214
- }
215
- .qbs-dropdown-selected-preview {
216
- .qbs-dropdown-selected-container {
217
- border-top: 0px;
218
- }
219
- }
220
-
221
- .qbs-dropdown-selected-container .qbs-clear-link,
222
- .qbs-expandable-container .qbs-clear-link {
223
- color: #e76458;
224
- }
225
-
226
- .qbs-textfield-default.expandable {
227
- height: auto;
228
- border: none;
229
- }
230
-
231
- .qbs-expandable-container .qbs-textfield-expandable {
232
- flex: 1 1 auto;
233
- display: inline-grid;
234
- grid-template-columns: 0px min-content;
235
- grid-area: 1 / 1 / 2 / 3;
236
- overflow: hidden;
237
- }
238
- .qbs-expandable-container .qbs-textfield-expandable::after {
239
- content: attr(data-value) ' ';
240
- visibility: hidden;
241
- white-space: pre;
242
- grid-area: 1 / 2;
243
- font: inherit;
244
- min-width: 2px;
245
- border: 0px;
246
- margin: 0px;
247
- outline: 0px;
248
- padding: 0px;
249
- }
250
- .qbs-expandable-container .qbs-textfield-expandable input {
251
- opacity: 1;
252
- width: auto;
253
- grid-area: 1 / 2;
254
- min-width: 10px;
255
- border: 0px;
256
- margin: 0px;
257
- outline: 0px;
258
- padding: 0px;
259
- height: auto;
260
- min-height: auto;
261
- border-radius: 0;
262
- }
263
-
264
- .qbs-textfield-default::placeholder {
265
- font-size: 14px;
266
- font-style: normal;
267
- font-weight: 500;
268
- line-height: 20px;
269
- }
270
-
271
- .qbs-autocomplete-close-icon button:focus-within {
272
- outline: none;
273
- }
274
-
275
- .fullWidth {
276
- width: 100%;
277
- }
278
-
279
- .autoWidth {
280
- width: auto;
281
- }
282
- .icon-button {
283
- background: transparent;
284
- border: none;
285
- display: inline-flex;
286
- cursor: pointer;
287
- padding: 0px 1px;
288
- }
289
- .icon-button-rotate {
290
- rotate: 180deg;
291
- }
292
- .labels {
293
- font-size: 12px;
294
- }
295
- .dropdown-search-input {
296
- min-width: -webkit-fill-available;
297
- border-radius: 6px;
298
- border: 1px solid var(--border-card-color-default, #d6d8dc);
299
- background: var(--surface-input-bg-color-default, #fff);
300
- color: #313131;
301
- font-size: 14px;
302
- height: 36px;
303
- padding: 0px 8px;
304
- font-style: normal;
305
- font-weight: 500;
306
- line-height: 20px;
307
- padding-left: 32px;
308
- }
309
- .qbs-autocomplete-suggestions-sub {
310
- position: relative;
311
- overflow: auto;
312
- max-height: 184px;
313
- top: 0;
314
- display: flex;
315
- flex-direction: column;
316
- gap: 4px;
317
- }
318
- .padding-class {
319
- padding: 12px !important;
320
- }
321
- .qbs-autocomplete-listitem-container {
322
- display: flex;
323
- align-items: center;
324
- gap: 0px;
325
- }
326
- ul {
327
- list-style-type: none;
328
- }
329
-
330
- .react-core-ts-search-container {
331
- display: flex;
332
- align-items: center;
333
- gap: var(--spacing-4, 4px);
334
- align-self: stretch;
335
- margin-bottom: 4px;
336
- }
337
- .selected-item {
338
- display: flex;
339
- align-items: center;
340
- justify-content: space-between;
341
- padding: 3px 6px;
342
- margin: 0;
343
- background-color: #e0e0e0;
344
- color: #333;
345
- border-radius: 6px;
346
- border: 1px solid rgba(231, 100, 88, 0.1);
347
- background: rgba(231, 100, 88, 0.1);
348
- font-size: 12px;
349
- font-style: normal;
350
- font-weight: 500;
351
- line-height: 16px;
352
- color: #e76458;
353
- gap: 6px;
354
- height: 22px;
355
- }
356
-
357
- .remove-item-btn {
358
- background-color: transparent;
359
- border: none;
360
- color: #e76458;
361
- cursor: pointer;
362
- }
363
-
364
- .remove-item-btn:hover {
365
- color: #e76458;
366
- }
367
-
368
- .selected-items-container {
369
- display: flex;
370
- gap: 12px;
371
- align-items: center;
372
- position: absolute;
373
- left: 8px;
374
- z-index: 99;
375
- top: 6.5px;
376
- flex-wrap: wrap;
377
- }
378
-
379
- .qbs-expandable-container .selected-items-container {
380
- position: relative;
381
- top: 0;
382
- left: 0;
383
- }
384
-
385
- .selected-items-container .badge {
386
- background-color: #c63a3a;
387
- color: #fff;
388
- }
389
-
390
- .selected-item-more {
391
- display: flex;
392
- align-items: center;
393
- justify-content: center;
394
- padding: 3px 8px;
395
- margin: 0;
396
- border-radius: 6px;
397
- background: #c63a3a;
398
- font-size: 12px;
399
- font-style: normal;
400
- font-weight: 500;
401
- line-height: 16px;
402
- color: #fff;
403
- height: 22px;
404
- }
405
-
406
- .loadMoreSection {
407
- margin: 0;
408
- cursor: pointer;
409
- display: flex;
410
- justify-content: flex-start;
411
- padding: 8px;
412
- }
413
- .loadMoreSection p {
414
- color: #336cfc;
415
- font-size: 14px;
416
- font-style: normal;
417
- font-weight: 500;
418
- line-height: 20px;
419
- margin: 0;
420
- }
421
- ::-webkit-scrollbar-track {
422
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
423
- border-radius: 0px;
424
- background-color: transparent;
425
- }
426
-
427
- ::-webkit-scrollbar {
428
- width: 6px;
429
- height: 4px;
430
- background-color: transparent;
431
- }
432
-
433
- ::-webkit-scrollbar-thumb {
434
- border-radius: 100px;
435
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
436
- background-color: #ddd;
437
- }
438
-
439
- .qbs-autocomplete-suggestions-item.is-selected {
440
- color: #e76458;
441
- background: #f8f8f8;
442
- }
443
-
444
- span.dropdown-search-icon {
445
- position: absolute;
446
- left: 8px;
447
- top: 10px;
448
- }
449
-
450
- .dropdown-search-input:focus {
451
- outline: none;
452
- border: 1px solid #222;
453
- }
454
-
455
- .qbs-autocomplete-checkbox-container {
456
- gap: 8px;
457
- padding: 6px 8px;
458
- display: flex;
459
- align-items: flex-start;
460
- }
461
-
462
- .qbs-autocomplete-checkbox-container .qbs-autocomplete-suggestions-item {
463
- padding: 0;
464
- /* pointer-events: none; */
465
- }
466
-
467
- .qbs-autocomplete-checkbox-container:hover {
468
- background: #f8f8f8;
469
- border-radius: 6px;
470
- }
471
-
472
- .qbs-autocomplete-checkbox-container.is-selected {
473
- background: #f8f8f8;
474
- border-radius: 6px;
475
- }
476
-
477
- .qbs-autocomplete-checkbox {
478
- position: relative;
479
- display: flex;
480
- align-items: center;
481
- justify-content: center;
482
- }
483
-
484
- .qbs-autocomplete-checkbox input {
485
- opacity: 0;
486
- }
487
-
488
- .qbs-autocomplete-checkbox input ~ label {
489
- position: absolute;
490
- border-radius: 3px;
491
- border: 1px solid #999696;
492
- width: 16px;
493
- height: 16px;
494
- top: 3px;
495
- transition: all 0.2s ease;
496
- cursor: pointer;
497
- }
498
-
499
- .qbs-autocomplete-checkbox input ~ label svg {
500
- opacity: 0;
501
- transition: all 0.2s ease;
502
- position: absolute;
503
- left: 3px;
504
- top: 3px;
505
- width: 9px;
506
- height: 9px;
507
- }
508
-
509
- .qbs-autocomplete-checkbox input:checked ~ label {
510
- transition: all 0.2s ease;
511
- border-radius: 3px;
512
- background: #e76458;
513
- border-color: #e76458;
514
- }
515
- .qbs-autocomplete-checkbox input:checked ~ label svg {
516
- opacity: 1;
517
- transition: all 0.2s ease;
518
- }
519
-
520
- .action_label {
521
- font-size: 14px;
522
- color: #4c7ad6;
523
- }
524
- /* Tooltip.css */
525
- /* .tooltip-wrapper {
526
- position: relative;
527
- display: inline-block;
528
- }
529
-
530
- .tooltip-content {
531
- visibility: hidden;
532
- width: max-content;
533
- background-color: black;
534
- color: white;
535
- text-align: center;
536
- max-width: 150px;
537
- padding: 5px 10px;
538
- border-radius: 6px;
539
- position: absolute;
540
- z-index: 1;
541
- bottom: 125%;
542
- left: 50%;
543
- transform: translateX(-50%);
544
- transition: visibility 0.2s ease-in-out;
545
- }
546
-
547
- .tooltip-content::after {
548
- content: '';
549
- position: absolute;
550
- top: 100%;
551
- left: 50%;
552
- margin-left: -5px;
553
- border-width: 5px;
554
- border-style: solid;
555
- border-color: black transparent transparent transparent;
556
- }
557
-
558
- .tooltip-wrapper:hover .tooltip-content {
559
- visibility: visible;
560
- } */
561
- .qbs-table-tooltip {
562
- position: relative;
563
- display: contents;
564
- cursor: pointer;
565
- }
566
-
567
- .qbs-table-tooltip .tooltiptext,
568
- .tooltiptext {
569
- visibility: hidden;
570
- background-color: #000;
571
- color: #fff;
572
- text-align: center;
573
- padding: 6px;
574
- border-radius: 4px;
575
- position: absolute;
576
- z-index: 9999;
577
- opacity: 0;
578
- transition: opacity 0.3s;
579
- font-size: 14px;
580
- font-style: normal;
581
- font-weight: 400;
582
- line-height: 16px;
583
- max-width: 300px;
584
- }
585
-
586
- .qbs-table-tooltip.up .tooltiptext {
587
- bottom: 125%;
588
- left: 0%;
589
- }
590
-
591
- .qbs-table-tooltip.down .tooltiptext {
592
- top: 125%;
593
- right: 0px;
594
- left: auto;
595
- }
596
-
597
- .qbs-table-tooltip:hover .tooltiptext {
598
- visibility: visible;
599
- opacity: 1;
600
- }
601
-
602
- .qbs-table-tooltip .tooltiptext::after,
603
- .tooltiptext::after {
604
- content: '';
605
- position: absolute;
606
- border-width: 5px;
607
- border-style: solid;
608
- }
609
-
610
- .qbs-table-tooltip.up .tooltiptext::after,
611
- .up.tooltiptext::after {
612
- top: 100%;
613
- left: 50%;
614
- margin-left: -5px;
615
- border-color: #000 transparent transparent transparent;
616
- }
617
-
618
- .qbs-table-tooltip.down .tooltiptext::after,
619
- .down.tooltiptext::after {
620
- bottom: 100%;
621
- left: 50%;
622
- margin-left: -5px;
623
- border-color: transparent transparent #000 transparent;
624
- }