react-core-ts 2.1.12 → 2.1.13

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,749 +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-expandable{
115
- padding: 8px 0px;
116
- }
117
- .qbs-autocomplete-suggestions-expandable .qbs-autocomplete-suggestions-expandable-container {
118
- padding: 0px 8px;
119
- }
120
- .qbs-autocomplete-suggestions.bottom {
121
- top: 100%; /* Position below the input */
122
- /* Other styling */
123
- }
124
-
125
- .qbs-autocomplete-suggestions.top {
126
- bottom: 100%; /* Position above the input */
127
- /* Other styling */
128
- }
129
- .qbs-autocomplete-suggestions-item {
130
- cursor: pointer;
131
- padding: 6px 8px;
132
- border-radius: 6px;
133
- color: #222;
134
- font-size: 14px;
135
- font-weight: 500;
136
- line-height: 20px; /* 142.857% */
137
- /* width: 100%; */
138
- display: flex;
139
- align-items: flex-start;
140
- gap: 8px;
141
- }
142
- .qbs-autocomplete-suggestions-item:hover {
143
- background: #f8f8f8;
144
- border-radius: 6px;
145
- }
146
-
147
- /* When value.id is equal to suggestion.id */
148
- .is-selected {
149
- border-radius: 6px;
150
- background: var(--neutrals-grey-20, #f4f4f4);
151
- }
152
-
153
- /* When value.id is NOT equal to suggestion.id */
154
- .qbs-autocomplete-suggestions-item .is-not-selected:hover {
155
- background-color: #f1f5f9; /* Replace with actual color code for 'hover:bg-table-hover' */
156
- }
157
-
158
- .qbs-autocomplete-notfound {
159
- cursor: pointer;
160
- padding: 6px 8px;
161
- border-radius: 6px;
162
- font-size: 12px;
163
- font-weight: 500;
164
- }
165
- .qbs-autocomplete-witherror-close-icon {
166
- position: absolute;
167
- top: calc(50% - 8px);
168
- right: 22px; /* right-1 */
169
- padding-left: 0.25rem; /* px-1 */
170
- padding-right: 0.25rem; /* px-1 */
171
- display: flex;
172
- justify-content: center;
173
- align-items: center;
174
- }
175
- .qbs-autocomplete-close-icon {
176
- position: absolute;
177
- top: calc(50% - 8px);
178
- right: 2px; /* right-1 */
179
- padding-left: 0.25rem; /* px-1 */
180
- padding-right: 0.25rem; /* px-1 */
181
- display: flex;
182
- justify-content: center;
183
- align-items: center;
184
- }
185
- .qbs-textfield-default {
186
- width: 100%;
187
- position: relative;
188
- padding-right: 8px;
189
- min-height: 36px;
190
- height: 36px;
191
- border-radius: 6px;
192
- padding-left: 8px;
193
- border: 1px solid #d6d8dc;
194
- background: #fff;
195
- box-sizing: border-box;
196
- font-size: 14px;
197
- font-style: normal;
198
- font-weight: 500;
199
- line-height: 20px;
200
- color: #313131;
201
- }
202
-
203
- .qbs-expandable-container {
204
- border: 1px solid #d6d8dc;
205
- background: #fff;
206
- box-sizing: border-box;
207
- padding: 5px;
208
- display: flex;
209
- flex-wrap: wrap;
210
- flex: 1 1 0%;
211
- gap: 5px;
212
- }
213
-
214
- .qbs-dropdown-selected-container {
215
- border: 0px;
216
- border-top: 1px solid #d6d8dc;
217
- min-height: 35px;
218
- margin-top: 2px;
219
- padding-top: 10px;
220
- }
221
- .qbs-dropdown-selected-preview {
222
- .qbs-dropdown-selected-container {
223
- border-top: 0px;
224
- }
225
- }
226
-
227
- .qbs-dropdown-selected-container .qbs-clear-link,
228
- .qbs-expandable-container .qbs-clear-link {
229
- color: #e76458;
230
- }
231
-
232
- .qbs-expandable-container .qbs-clear-with-auto-dropdown {
233
- right: 2rem;
234
- bottom: 10px;
235
- }
236
-
237
- .qbs-dropdown-selected-container .qbs-done-link,
238
- .qbs-expandable-container .qbs-done-link {
239
- color: #336cfc;
240
- margin-left: 10px;
241
- }
242
-
243
- .qbs-textfield-default.expandable {
244
- height: auto;
245
- border: none;
246
- }
247
-
248
- .qbs-expandable-container .qbs-textfield-expandable {
249
- flex: 1 1 auto;
250
- display: inline-grid;
251
- grid-template-columns: 0px min-content;
252
- grid-area: 1 / 1 / 2 / 3;
253
- overflow: hidden;
254
- }
255
- .qbs-expandable-container .qbs-textfield-expandable::after {
256
- content: attr(data-value) ' ';
257
- visibility: hidden;
258
- white-space: pre;
259
- grid-area: 1 / 2;
260
- font: inherit;
261
- min-width: 2px;
262
- border: 0px;
263
- margin: 0px;
264
- outline: 0px;
265
- padding: 0px;
266
- }
267
- .qbs-expandable-container .qbs-textfield-expandable input {
268
- opacity: 1;
269
- width: auto;
270
- grid-area: 1 / 2;
271
- min-width: 10px;
272
- border: 0px;
273
- margin: 0px;
274
- outline: 0px;
275
- padding: 0px;
276
- height: auto;
277
- min-height: auto;
278
- border-radius: 0;
279
- }
280
-
281
- .qbs-textfield-default::placeholder {
282
- font-size: 14px;
283
- font-style: normal;
284
- font-weight: 500;
285
- line-height: 20px;
286
- }
287
-
288
- .qbs-autocomplete-close-icon button:focus-within {
289
- outline: none;
290
- }
291
-
292
- .fullWidth {
293
- width: 100%;
294
- }
295
-
296
- .autoWidth {
297
- width: auto;
298
- }
299
- .icon-button {
300
- background: transparent;
301
- border: none;
302
- display: inline-flex;
303
- cursor: pointer;
304
- padding: 0px 1px;
305
- }
306
- .icon-button-rotate {
307
- rotate: 180deg;
308
- }
309
- .labels {
310
- font-size: 12px;
311
- }
312
- .dropdown-search-input {
313
- min-width: -webkit-fill-available;
314
- border-radius: 6px;
315
- border: 1px solid var(--border-card-color-default, #d6d8dc);
316
- background: var(--surface-input-bg-color-default, #fff);
317
- color: #313131;
318
- font-size: 14px;
319
- height: 36px;
320
- padding: 0px 8px;
321
- font-style: normal;
322
- font-weight: 500;
323
- line-height: 20px;
324
- padding-left: 32px;
325
- width: 100%;
326
- }
327
- .qbs-autocomplete-suggestions-sub {
328
- position: relative;
329
- overflow: auto;
330
- max-height: 184px;
331
- top: 0;
332
- display: flex;
333
- flex-direction: column;
334
- gap: 4px;
335
- }
336
- .padding-class {
337
- padding: 12px !important;
338
- }
339
- .qbs-autocomplete-listitem-container:hover {
340
- color: #003c71;
341
- background-color: rgba(141, 194, 240, 0.15) !important;
342
- }
343
- .qbs-autocomplete-listitem-container {
344
- display: flex !important;
345
- align-items: center !important;
346
- gap: 0px;
347
- }
348
- ul {
349
- list-style-type: none;
350
- }
351
-
352
- .react-core-ts-search-container {
353
- display: flex;
354
- align-items: center;
355
- gap: var(--spacing-4, 4px);
356
- align-self: stretch;
357
- margin-bottom: 4px;
358
- }
359
- .selected-item {
360
- display: flex;
361
- align-items: center;
362
- justify-content: space-between;
363
- padding: 3px 6px;
364
- margin: 0;
365
- background-color: #e0e0e0;
366
- color: #333;
367
- border-radius: 6px;
368
- border: 1px solid rgba(231, 100, 88, 0.1);
369
- background: rgba(231, 100, 88, 0.1);
370
- font-size: 12px;
371
- font-style: normal;
372
- font-weight: 500;
373
- line-height: 16px;
374
- color: #e76458;
375
- gap: 6px;
376
- height: 22px;
377
- }
378
-
379
- .remove-item-btn {
380
- background-color: transparent;
381
- border: none;
382
- color: #e76458;
383
- cursor: pointer;
384
- }
385
-
386
- .remove-item-btn:hover {
387
- color: #e76458;
388
- }
389
-
390
- .qbs-inline-all-dropdown-btn {
391
- display: flex;
392
- gap: 12px;
393
- align-items: center;
394
- position: absolute;
395
- right: 25px;
396
- z-index: 99;
397
- top: 18px;
398
- flex-wrap: wrap;
399
- }
400
-
401
- .qbs-inline-all-direct-dropdown-btn {
402
- right: 0px;
403
- }
404
-
405
- .selected-items-container {
406
- display: flex;
407
- gap: 12px;
408
- align-items: center;
409
- position: absolute;
410
- left: 8px;
411
- z-index: 99;
412
- top: 6.5px;
413
- flex-wrap: wrap;
414
- }
415
-
416
- .selected-items-counter-container {
417
- display: flex;
418
- gap: 12px;
419
- align-items: center;
420
- position: absolute;
421
- right: 8px;
422
- z-index: 99;
423
- top: 6.5px;
424
- flex-wrap: wrap;
425
- }
426
-
427
- .qbs-expandable-container .selected-items-container {
428
- position: relative;
429
- top: 0;
430
- left: 0;
431
- }
432
-
433
- .selected-items-container .badge,
434
- .selected-items-counter-container .badge {
435
- background-color: #c63a3a;
436
- color: #fff;
437
- }
438
-
439
- .selected-item-inline-counter {
440
- right: 30px;
441
- }
442
-
443
- .selected-item-tool-direct-counter {
444
- right: 60px;
445
- }
446
-
447
- .selected-item-nontool-direct-counter {
448
- right: 35px;
449
- }
450
-
451
- .selected-item-more {
452
- display: flex;
453
- align-items: center;
454
- justify-content: center;
455
- padding: 3px 8px;
456
- margin: 0;
457
- border-radius: 6px;
458
- background: #c63a3a;
459
- font-size: 12px;
460
- font-style: normal;
461
- font-weight: 500;
462
- line-height: 16px;
463
- color: #fff;
464
- height: 22px;
465
- }
466
-
467
- .loadMoreSection {
468
- margin: 0;
469
- cursor: pointer;
470
- display: flex;
471
- justify-content: flex-start;
472
- padding: 8px;
473
- }
474
- .loadMoreSection p {
475
- color: #336cfc;
476
- font-size: 14px;
477
- font-style: normal;
478
- font-weight: 500;
479
- line-height: 20px;
480
- margin: 0;
481
- }
482
- ::-webkit-scrollbar-track {
483
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
484
- border-radius: 0px;
485
- background-color: transparent;
486
- }
487
-
488
- ::-webkit-scrollbar {
489
- width: 6px;
490
- height: 4px;
491
- background-color: transparent;
492
- }
493
-
494
- ::-webkit-scrollbar-thumb {
495
- border-radius: 100px;
496
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
497
- background-color: #ddd;
498
- }
499
-
500
- .qbs-autocomplete-suggestions-item.is-selected {
501
- color: #e76458;
502
- background: #f8f8f8;
503
- }
504
-
505
- span.dropdown-search-icon {
506
- position: absolute;
507
- left: 8px;
508
- top: 10px;
509
- }
510
-
511
- .dropdown-search-input:focus {
512
- outline: none;
513
- border: 1px solid #222;
514
- }
515
-
516
- .qbs-autocomplete-checkbox-container {
517
- gap: 8px;
518
- padding: 6px 8px;
519
- display: flex;
520
- align-items: flex-start;
521
- outline: none;
522
- box-shadow: none;
523
- }
524
-
525
- .qbs-autocomplete-checkbox-container .qbs-autocomplete-suggestions-item {
526
- padding: 0;
527
- /* pointer-events: none; */
528
- }
529
-
530
- .qbs-autocomplete-checkbox-container:hover {
531
- background: #f8f8f8;
532
- border-radius: 6px;
533
- }
534
-
535
- .qbs-autocomplete-checkbox-container.is-selected {
536
- background: #f8f8f8;
537
- border-radius: 6px;
538
- }
539
-
540
- .qbs-autocomplete-checkbox {
541
- position: relative;
542
- display: flex;
543
- align-items: center;
544
- justify-content: center;
545
- }
546
-
547
- .qbs-autocomplete-checkbox input {
548
- opacity: 0;
549
- }
550
-
551
- .qbs-autocomplete-checkbox input ~ label {
552
- position: absolute;
553
- border-radius: 3px;
554
- border: 1px solid #999696;
555
- width: 16px;
556
- height: 16px;
557
- top: 1px;
558
- transition: all 0.2s ease;
559
- cursor: pointer;
560
- }
561
-
562
- .qbs-autocomplete-checkbox input ~ label svg {
563
- opacity: 0;
564
- transition: all 0.2s ease;
565
- position: absolute;
566
- left: 3px;
567
- top: 3px;
568
- width: 9px;
569
- height: 9px;
570
- }
571
-
572
- .qbs-autocomplete-checkbox input:checked ~ label {
573
- transition: all 0.2s ease;
574
- border-radius: 3px;
575
- background: #e76458;
576
- border-color: #e76458;
577
- }
578
- .qbs-autocomplete-checkbox input:checked ~ label svg {
579
- opacity: 1;
580
- transition: all 0.2s ease;
581
- }
582
-
583
- .action_label {
584
- font-size: 14px;
585
- color: #4c7ad6;
586
- }
587
- /* Tooltip.css */
588
- /* .tooltip-wrapper {
589
- position: relative;
590
- display: inline-block;
591
- }
592
-
593
- .tooltip-content {
594
- visibility: hidden;
595
- width: max-content;
596
- background-color: black;
597
- color: white;
598
- text-align: center;
599
- max-width: 150px;
600
- padding: 5px 10px;
601
- border-radius: 6px;
602
- position: absolute;
603
- z-index: 1;
604
- bottom: 125%;
605
- left: 50%;
606
- transform: translateX(-50%);
607
- transition: visibility 0.2s ease-in-out;
608
- }
609
-
610
- .tooltip-content::after {
611
- content: '';
612
- position: absolute;
613
- top: 100%;
614
- left: 50%;
615
- margin-left: -5px;
616
- border-width: 5px;
617
- border-style: solid;
618
- border-color: black transparent transparent transparent;
619
- }
620
-
621
- .tooltip-wrapper:hover .tooltip-content {
622
- visibility: visible;
623
- } */
624
- .qbs-table-tooltip {
625
- position: relative;
626
- display: contents;
627
- cursor: pointer;
628
- }
629
-
630
- .qbs-table-tooltip .tooltiptext,
631
- .tooltiptext {
632
- visibility: hidden;
633
- background-color: #000;
634
- color: #fff;
635
- text-align: center;
636
- padding: 6px;
637
- border-radius: 4px;
638
- position: absolute;
639
- z-index: 9999;
640
- opacity: 0;
641
- transition: opacity 0.3s;
642
- font-size: 14px;
643
- font-style: normal;
644
- font-weight: 400;
645
- line-height: 16px;
646
- max-width: 300px;
647
- }
648
- .tooltip-text-container {
649
- display: block;
650
- max-height: 200px;
651
- overflow: auto;
652
- }
653
-
654
- .qbs-table-tooltip.up .tooltiptext {
655
- bottom: 125%;
656
- left: 0%;
657
- }
658
-
659
- .qbs-table-tooltip.down .tooltiptext {
660
- top: 125%;
661
- right: 0px;
662
- left: auto;
663
- }
664
-
665
- .qbs-table-tooltip:hover .tooltiptext {
666
- visibility: visible;
667
- opacity: 1;
668
- }
669
-
670
- .qbs-table-tooltip .tooltiptext::after,
671
- .tooltiptext::after {
672
- content: '';
673
- position: absolute;
674
- border-width: 5px;
675
- border-style: solid;
676
- }
677
-
678
- .qbs-table-tooltip.up .tooltiptext::after,
679
- .up.tooltiptext::after {
680
- top: 100%;
681
- left: 50%;
682
- margin-left: -5px;
683
- border-color: #000 transparent transparent transparent;
684
- }
685
-
686
- .qbs-table-tooltip.down .tooltiptext::after,
687
- .down.tooltiptext::after {
688
- bottom: 100%;
689
- left: 50%;
690
- margin-left: -5px;
691
- border-color: transparent transparent #000 transparent;
692
- }
693
-
694
- .autocomplete-suggections .qbs-autocomplete-suggections-items {
695
- display: flex;
696
- /* justify-content: space-between; */
697
- align-items: center;
698
- cursor: pointer;
699
- outline: none;
700
- box-shadow: none;
701
- word-break: break-all;
702
- word-wrap: break-word;
703
- width: auto;
704
- }
705
-
706
- .qbs-autocomplete-suggections-items.is-selected {
707
- background-color: #f1f5f9;
708
- /* width: max-content; */
709
- }
710
-
711
- .autocomplete-suggections .qbs-autocomplete-suggections-items .short-code,
712
- .qbs-autocomplete-listitem-container .short-code {
713
- font-size: 12px;
714
- background: #f0f0f0;
715
- padding: 4px 8px;
716
- border: 1px solid #ccc;
717
- border-radius: 4px;
718
- white-space: nowrap;
719
- margin-left: auto;
720
- }
721
-
722
- .autocomplete-suggections .qbs-autocomplete-suggections-items .label-code,
723
- .qbs-autocomplete-listitem-container .label-code {
724
- font-size: 12px;
725
- background: #f0f0f0;
726
- padding: 4px 8px;
727
- border: 1px solid #ccc;
728
- border-radius: 4px;
729
- white-space: nowrap;
730
- margin: 0px 5px;
731
- }
732
-
733
- /* TextField Inner Search Button */
734
- .inner-search-button {
735
- background: #f8f8f8;
736
- border-radius: 6px;
737
- padding: 0px 8px;
738
- display: flex;
739
- align-items: center;
740
- justify-content: center;
741
- cursor: pointer;
742
- height: 38px;
743
- width: 38px;
744
- top: 1px;
745
- right: 2px;
746
- }
747
- .search-btn-input {
748
- padding-right: 38px;
749
- }