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