react-core-ts 1.9.17 → 2.0.0

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,699 +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
- .selected-items-container {
386
- display: flex;
387
- gap: 12px;
388
- align-items: center;
389
- position: absolute;
390
- left: 8px;
391
- z-index: 99;
392
- top: 6.5px;
393
- flex-wrap: wrap;
394
- }
395
-
396
- .selected-items-counter-container {
397
- display: flex;
398
- gap: 12px;
399
- align-items: center;
400
- position: absolute;
401
- right: 8px;
402
- z-index: 99;
403
- top: 6.5px;
404
- flex-wrap: wrap;
405
- }
406
-
407
- .qbs-expandable-container .selected-items-container {
408
- position: relative;
409
- top: 0;
410
- left: 0;
411
- }
412
-
413
- .selected-items-container .badge,
414
- .selected-items-counter-container .badge {
415
- background-color: #c63a3a;
416
- color: #fff;
417
- }
418
-
419
- .selected-item-more {
420
- display: flex;
421
- align-items: center;
422
- justify-content: center;
423
- padding: 3px 8px;
424
- margin: 0;
425
- border-radius: 6px;
426
- background: #c63a3a;
427
- font-size: 12px;
428
- font-style: normal;
429
- font-weight: 500;
430
- line-height: 16px;
431
- color: #fff;
432
- height: 22px;
433
- }
434
-
435
- .loadMoreSection {
436
- margin: 0;
437
- cursor: pointer;
438
- display: flex;
439
- justify-content: flex-start;
440
- padding: 8px;
441
- }
442
- .loadMoreSection p {
443
- color: #336cfc;
444
- font-size: 14px;
445
- font-style: normal;
446
- font-weight: 500;
447
- line-height: 20px;
448
- margin: 0;
449
- }
450
- ::-webkit-scrollbar-track {
451
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
452
- border-radius: 0px;
453
- background-color: transparent;
454
- }
455
-
456
- ::-webkit-scrollbar {
457
- width: 6px;
458
- height: 4px;
459
- background-color: transparent;
460
- }
461
-
462
- ::-webkit-scrollbar-thumb {
463
- border-radius: 100px;
464
- -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
465
- background-color: #ddd;
466
- }
467
-
468
- .qbs-autocomplete-suggestions-item.is-selected {
469
- color: #e76458;
470
- background: #f8f8f8;
471
- }
472
-
473
- span.dropdown-search-icon {
474
- position: absolute;
475
- left: 8px;
476
- top: 10px;
477
- }
478
-
479
- .dropdown-search-input:focus {
480
- outline: none;
481
- border: 1px solid #222;
482
- }
483
-
484
- .qbs-autocomplete-checkbox-container {
485
- gap: 8px;
486
- padding: 6px 8px;
487
- display: flex;
488
- align-items: flex-start;
489
- outline: none;
490
- box-shadow: none;
491
- }
492
-
493
- .qbs-autocomplete-checkbox-container .qbs-autocomplete-suggestions-item {
494
- padding: 0;
495
- /* pointer-events: none; */
496
- }
497
-
498
- .qbs-autocomplete-checkbox-container:hover {
499
- background: #f8f8f8;
500
- border-radius: 6px;
501
- }
502
-
503
- .qbs-autocomplete-checkbox-container.is-selected {
504
- background: #f8f8f8;
505
- border-radius: 6px;
506
- }
507
-
508
- .qbs-autocomplete-checkbox {
509
- position: relative;
510
- display: flex;
511
- align-items: center;
512
- justify-content: center;
513
- }
514
-
515
- .qbs-autocomplete-checkbox input {
516
- opacity: 0;
517
- }
518
-
519
- .qbs-autocomplete-checkbox input ~ label {
520
- position: absolute;
521
- border-radius: 3px;
522
- border: 1px solid #999696;
523
- width: 16px;
524
- height: 16px;
525
- top: 1px;
526
- transition: all 0.2s ease;
527
- cursor: pointer;
528
- }
529
-
530
- .qbs-autocomplete-checkbox input ~ label svg {
531
- opacity: 0;
532
- transition: all 0.2s ease;
533
- position: absolute;
534
- left: 3px;
535
- top: 3px;
536
- width: 9px;
537
- height: 9px;
538
- }
539
-
540
- .qbs-autocomplete-checkbox input:checked ~ label {
541
- transition: all 0.2s ease;
542
- border-radius: 3px;
543
- background: #e76458;
544
- border-color: #e76458;
545
- }
546
- .qbs-autocomplete-checkbox input:checked ~ label svg {
547
- opacity: 1;
548
- transition: all 0.2s ease;
549
- }
550
-
551
- .action_label {
552
- font-size: 14px;
553
- color: #4c7ad6;
554
- }
555
- /* Tooltip.css */
556
- /* .tooltip-wrapper {
557
- position: relative;
558
- display: inline-block;
559
- }
560
-
561
- .tooltip-content {
562
- visibility: hidden;
563
- width: max-content;
564
- background-color: black;
565
- color: white;
566
- text-align: center;
567
- max-width: 150px;
568
- padding: 5px 10px;
569
- border-radius: 6px;
570
- position: absolute;
571
- z-index: 1;
572
- bottom: 125%;
573
- left: 50%;
574
- transform: translateX(-50%);
575
- transition: visibility 0.2s ease-in-out;
576
- }
577
-
578
- .tooltip-content::after {
579
- content: '';
580
- position: absolute;
581
- top: 100%;
582
- left: 50%;
583
- margin-left: -5px;
584
- border-width: 5px;
585
- border-style: solid;
586
- border-color: black transparent transparent transparent;
587
- }
588
-
589
- .tooltip-wrapper:hover .tooltip-content {
590
- visibility: visible;
591
- } */
592
- .qbs-table-tooltip {
593
- position: relative;
594
- display: contents;
595
- cursor: pointer;
596
- }
597
-
598
- .qbs-table-tooltip .tooltiptext,
599
- .tooltiptext {
600
- visibility: hidden;
601
- background-color: #000;
602
- color: #fff;
603
- text-align: center;
604
- padding: 6px;
605
- border-radius: 4px;
606
- position: absolute;
607
- z-index: 9999;
608
- opacity: 0;
609
- transition: opacity 0.3s;
610
- font-size: 14px;
611
- font-style: normal;
612
- font-weight: 400;
613
- line-height: 16px;
614
- max-width: 300px;
615
- }
616
- .tooltip-text-container {
617
- display: block;
618
- max-height: 200px;
619
- overflow: auto;
620
- }
621
-
622
- .qbs-table-tooltip.up .tooltiptext {
623
- bottom: 125%;
624
- left: 0%;
625
- }
626
-
627
- .qbs-table-tooltip.down .tooltiptext {
628
- top: 125%;
629
- right: 0px;
630
- left: auto;
631
- }
632
-
633
- .qbs-table-tooltip:hover .tooltiptext {
634
- visibility: visible;
635
- opacity: 1;
636
- }
637
-
638
- .qbs-table-tooltip .tooltiptext::after,
639
- .tooltiptext::after {
640
- content: '';
641
- position: absolute;
642
- border-width: 5px;
643
- border-style: solid;
644
- }
645
-
646
- .qbs-table-tooltip.up .tooltiptext::after,
647
- .up.tooltiptext::after {
648
- top: 100%;
649
- left: 50%;
650
- margin-left: -5px;
651
- border-color: #000 transparent transparent transparent;
652
- }
653
-
654
- .qbs-table-tooltip.down .tooltiptext::after,
655
- .down.tooltiptext::after {
656
- bottom: 100%;
657
- left: 50%;
658
- margin-left: -5px;
659
- border-color: transparent transparent #000 transparent;
660
- }
661
-
662
- .autocomplete-suggections .qbs-autocomplete-suggections-items {
663
- display: flex;
664
- /* justify-content: space-between; */
665
- align-items: center;
666
- cursor: pointer;
667
- outline: none;
668
- box-shadow: none;
669
- word-break: break-all;
670
- word-wrap: break-word;
671
- width: auto;
672
- }
673
-
674
- .qbs-autocomplete-suggections-items.is-selected {
675
- background-color: #f1f5f9;
676
- /* width: max-content; */
677
- }
678
-
679
- .autocomplete-suggections .qbs-autocomplete-suggections-items .short-code,
680
- .qbs-autocomplete-listitem-container .short-code {
681
- font-size: 12px;
682
- background: #f0f0f0;
683
- padding: 4px 8px;
684
- border: 1px solid #ccc;
685
- border-radius: 4px;
686
- white-space: nowrap;
687
- margin-left: auto;
688
- }
689
-
690
- .autocomplete-suggections .qbs-autocomplete-suggections-items .label-code,
691
- .qbs-autocomplete-listitem-container .label-code {
692
- font-size: 12px;
693
- background: #f0f0f0;
694
- padding: 4px 8px;
695
- border: 1px solid #ccc;
696
- border-radius: 4px;
697
- white-space: nowrap;
698
- margin: 0px 5px;
699
- }