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