react-core-ts 1.6.0 → 1.6.2

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