react-core-ts 2.0.23 → 2.1.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.
@@ -0,0 +1,221 @@
1
+ .qbs-flex {
2
+ display: flex;
3
+ }
4
+ .qbs-flex-wrap {
5
+ flex-wrap: wrap;
6
+ }
7
+ .qbs-w-full {
8
+ width: 100%;
9
+ }
10
+ .qbs-mb-2 {
11
+ margin-bottom: 0.5rem;
12
+ }
13
+ .-qbs-mt-2 {
14
+ margin-top: -0.5rem;
15
+ }
16
+ .qbs-flex-1 {
17
+ flex: 1 1 0%;
18
+ }
19
+ .qbs-inline-block {
20
+ display: inline-block;
21
+ }
22
+ .qbs-text-sm {
23
+ font-size: 0.875rem;
24
+ }
25
+ .qbs-cursor-pointer {
26
+ cursor: pointer;
27
+ }
28
+ .qbs-text-center {
29
+ text-align: center;
30
+ }
31
+ .qbs-p-1 {
32
+ padding: 0.25rem;
33
+ }
34
+ .qbs-border-b-2 {
35
+ border-bottom-width: 2px;
36
+ }
37
+ .qbs-tab-item {
38
+ color: #4b5563;
39
+ border-color: #d1d5db;
40
+ /* Prevent mid-word breaking from any inherited/global rules */
41
+ word-break: normal;
42
+ overflow-wrap: normal;
43
+ hyphens: manual;
44
+ /* Prevent breaking at spaces too (single-line label) */
45
+ white-space: nowrap;
46
+ /* In non-scroll layout, keep text tidy if it's forced into a narrow cell */
47
+ overflow: hidden;
48
+ text-overflow: ellipsis;
49
+ /* Minimum left/right padding inside each tab */
50
+ padding-left: 8px;
51
+ padding-right: 8px;
52
+ }
53
+ .qbs-tab-item:hover {
54
+ color: #2563eb;
55
+ }
56
+ .qbs-tab-active-item {
57
+ color: #2563eb;
58
+ border-color: #2563eb;
59
+ }
60
+
61
+ /* When tabs overflow, keep them in a single row and allow horizontal scroll */
62
+ .qbs-tab.qbs-tab-scroll {
63
+ flex-wrap: nowrap !important; /* override .qbs-flex-wrap */
64
+ overflow-x: auto;
65
+ overflow-y: hidden;
66
+ -webkit-overflow-scrolling: touch;
67
+ }
68
+
69
+ .qbs-tab.qbs-tab-scroll .qbs-tab-items {
70
+ flex: 0 0 auto !important; /* override .qbs-flex-1 */
71
+ }
72
+
73
+ .qbs-tab.qbs-tab-scroll .qbs-tab-item {
74
+ width: max-content !important; /* override .qbs-w-full */
75
+ white-space: nowrap;
76
+ word-break: normal;
77
+ overflow-wrap: normal;
78
+ hyphens: manual;
79
+ overflow: visible;
80
+ text-overflow: clip;
81
+ }
82
+
83
+ /* If the tab label has nested spans (icons + text), ensure they inherit the non-breaking behavior */
84
+ .qbs-tab-item * {
85
+ word-break: inherit;
86
+ overflow-wrap: inherit;
87
+ hyphens: inherit;
88
+ white-space: inherit;
89
+ }
90
+ .qbs-relative {
91
+ position: relative;
92
+ }
93
+ .qbs-gap-1 {
94
+ gap: 0.25rem;
95
+ }
96
+ .qbs-rounded-full {
97
+ border-radius: 9999px;
98
+ }
99
+ .qbs-text-xs {
100
+ font-size: 0.75rem;
101
+ }
102
+ .qbs-inline-flex {
103
+ display: inline-flex;
104
+ }
105
+ .qbs-items-center {
106
+ align-items: center;
107
+ }
108
+ .qbs-justify-center {
109
+ justify-content: center;
110
+ }
111
+ .qbs-px-2 {
112
+ padding-left: 0.5rem;
113
+ padding-right: 0.5rem;
114
+ }
115
+ .qbs-py-1 {
116
+ padding-top: 0.25rem;
117
+ padding-bottom: 0.25rem;
118
+ }
119
+ .qbs-leading-none {
120
+ line-height: 1;
121
+ }
122
+ .qbs-min-w-6 {
123
+ min-width: 1.5rem;
124
+ }
125
+ .qbs-min-h-6 {
126
+ min-height: 1.5rem;
127
+ }
128
+ .qbs-align-middle {
129
+ vertical-align: middle;
130
+ }
131
+ .qbs-min-emp-h {
132
+ min-height: 183px;
133
+ padding-top: 80px;
134
+ padding-bottom: 80px;
135
+ }
136
+ .qbs-flex-grow {
137
+ flex-grow: 1;
138
+ }
139
+ .qbs-text-right {
140
+ text-align: right;
141
+ }
142
+ .qbs-readmore-collapse {
143
+ cursor: pointer;
144
+ width: 100%;
145
+ text-align: center;
146
+ display: flex;
147
+ justify-content: center;
148
+ margin-top: 5px;
149
+ }
150
+ .qbs-readmore-collapse div {
151
+ border-radius: 9999px;
152
+ min-width: 1.5rem;
153
+ min-height: 1.5rem;
154
+ padding: 5px;
155
+ }
156
+ .qbs-more-collapse:hover {
157
+ background-color: #d1d5db;
158
+ }
159
+ .qbs-hidden {
160
+ display: none;
161
+ }
162
+ .qbs-autocomplete-selected-suggestions {
163
+ padding: 8px 0px;
164
+ }
165
+ .qbs-autocomplete-selected-suggestions .qbs-autocomplete-suggestions-sub {
166
+ min-height: 184px;
167
+ }
168
+ .qbs-autocomplete-selected-suggestions .qbs-autocomplete-selected-suggestions-outer {
169
+ padding: 0px 8px;
170
+ }
171
+ .qbs-autocomplete-selected-suggestions .qbs-autocomplete-listitem-container{
172
+ padding-top: 0px;
173
+ padding-left: 4px;
174
+ padding-right: 4px;
175
+ }
176
+ .qbs-autocomplete-selected-suggestions .qbs-autocomplete-selected-suggestions-outer span.dropdown-search-icon {
177
+ left: 16px;
178
+ }
179
+ .qbs-autocomplete-selected-suggestions .qbs-autocomplete-selected-suggestions-outer .qbs-all-dropdown-btn {
180
+ right: 16px;
181
+ }
182
+ .selected-items-outer-container {
183
+ display: flex;
184
+ gap: 5px;
185
+ flex-wrap: wrap;
186
+ overflow-x: auto;
187
+ transition: height 3s ease-in-out, opacity 3s ease-in-out,
188
+ padding 1s ease-in-out;
189
+ }
190
+ .qbs-bottom-0{
191
+ bottom: 0;
192
+ }
193
+ .qbs-select-all-link{
194
+ border-bottom: 1px solid var(--border-card-color-default, #d6d8dc);
195
+ padding: 0px 8px;
196
+ }
197
+ .qbs-select-all-link .qbs-autocomplete-suggestions-item {
198
+ margin-top: 5px;
199
+ }
200
+
201
+ .qbs-select-all-link .qbs-autocomplete-checkbox-container:hover,
202
+ .qbs-select-all-link .qbs-autocomplete-checkbox-container.is-selected,
203
+ .qbs-select-all-link .qbs-autocomplete-suggestions-item:hover
204
+ {
205
+ background: #fff;
206
+ border-radius: 0px;
207
+ }
208
+ .qbs-select-all-link .qbs-autocomplete-listitem-container:hover {
209
+ background-color:#fff !important;
210
+ }
211
+
212
+ .has-selected-items {
213
+ color: #FF681D !important;
214
+ }
215
+
216
+ .tools-drop-btn-active {
217
+ color: #FF681D !important;
218
+ }
219
+ .qbs-tab-has-selected-items .qbs-tab-item{
220
+ color: #FF681D !important;
221
+ }
@@ -0,0 +1,497 @@
1
+ .tooltip-container {
2
+ position: relative;
3
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
4
+ }
5
+
6
+ .bottom {
7
+ .tooltip {
8
+ position: absolute;
9
+ bottom: -40;
10
+ right: 3px;
11
+ transform: translateX(0%);
12
+ padding: 0.3em 0.6em;
13
+ opacity: 0;
14
+ width: max-content;
15
+ max-width: 100%;
16
+ z-index: 999;
17
+ font-size: 12px;
18
+ color: #fff !important;
19
+ pointer-events: none;
20
+ transition: all 0.3s;
21
+ border: 1px solid #e55353;
22
+ background-color: #e55353;
23
+ border-radius: 6px;
24
+ color: rgb(34, 34, 34);
25
+
26
+ &.info {
27
+ color: #ffffff !important;
28
+ border: 1px solid #ffffff;
29
+ background-color: #000000;
30
+ right: 1px;
31
+ top: 5px;
32
+ }
33
+
34
+ &.card {
35
+ color: #ffffff !important;
36
+ border: 1px solid #ffffff;
37
+ background-color: #000000;
38
+ right: -8px;
39
+ top: 5px;
40
+ }
41
+ }
42
+
43
+ .tooltip::before {
44
+ position: absolute;
45
+ content: "";
46
+ height: 0.6em;
47
+ width: 0.6em;
48
+ right: 20px;
49
+ z-index: 999;
50
+ top: -4px;
51
+ border: 1px solid #e55353;
52
+ border-right: none;
53
+ border-bottom: none;
54
+ transform: translate(50%) rotate(45deg);
55
+ background-color: #e55353;
56
+ }
57
+
58
+ .info.tooltip::before {
59
+ border: 1px solid #000000;
60
+ background-color: #000000;
61
+ right: 14px;
62
+ position: absolute;
63
+ content: "";
64
+ height: 0.6em;
65
+ width: 0.6em;
66
+ z-index: 999;
67
+ top: -4px;
68
+ border-right: none;
69
+ border-bottom: none;
70
+ transform: translate(50%) rotate(45deg);
71
+ }
72
+
73
+ .card.tooltip::before {
74
+ border: 1px solid #000000;
75
+ background-color: #000000;
76
+ right: 14px;
77
+ position: absolute;
78
+ content: "";
79
+ height: 0.6em;
80
+ width: 0.6em;
81
+ z-index: 999;
82
+ top: -3px;
83
+ border-right: none;
84
+ border-bottom: none;
85
+ transform: translate(50%) rotate(45deg);
86
+ }
87
+
88
+ .tooltip-container:hover .tooltip {
89
+ top: 46px;
90
+ opacity: 1;
91
+ visibility: visible;
92
+ z-index: 999;
93
+ pointer-events: auto;
94
+
95
+ &.info {
96
+ top: 30px;
97
+ max-width: 500px;
98
+ position: absolute;
99
+ }
100
+
101
+ &.card {
102
+ top: 20px;
103
+ max-width: 300px;
104
+ position: absolute;
105
+ }
106
+ }
107
+ .tooltip-info {
108
+ position: absolute;
109
+ bottom: -40;
110
+ right: 3px;
111
+ transform: translateX(0%);
112
+ padding: 0.3em 0.6em;
113
+ opacity: 0;
114
+ width: max-content;
115
+ max-width: 100%;
116
+ z-index: 999;
117
+ top: 46px;
118
+ font-size: 12px;
119
+ color: #fff !important;
120
+ pointer-events: none;
121
+ transition: all 0.3s;
122
+ border: 1px solid #475467;
123
+ background-color: #475467;
124
+ border-radius: 6px;
125
+ }
126
+ .tooltip-info::before {
127
+ position: absolute;
128
+ content: "";
129
+ height: 0.6em;
130
+ width: 0.6em;
131
+ right: 20px;
132
+ z-index: 999;
133
+ top: -4px;
134
+ border: 1px solid #475467;
135
+ border-right: none;
136
+ border-bottom: none;
137
+ transform: translate(50%) rotate(45deg);
138
+ background-color: #475467;
139
+ }
140
+
141
+ .tooltip-container:hover .tooltip-info {
142
+ top: 46px;
143
+ opacity: 1;
144
+ visibility: visible;
145
+ z-index: 999;
146
+ pointer-events: auto;
147
+ }
148
+ }
149
+ .top-tool {
150
+ .tooltip {
151
+ position: absolute;
152
+ bottom: 45px !important;
153
+ left: 0;
154
+ top: auto !important;
155
+ transform: translateX(0%);
156
+ padding: 0.3em 0.6em;
157
+ opacity: 0;
158
+ width: max-content;
159
+ white-space: normal;
160
+ z-index: 999;
161
+ font-size: 12px;
162
+ max-width: 100%;
163
+ color: #ff681d !important;
164
+ pointer-events: none;
165
+ transition: all 0.3s;
166
+ border: 1px solid #ff681d;
167
+ background-color: #fff;
168
+ border-radius: 6px;
169
+ color: rgb(34, 34, 34);
170
+ }
171
+
172
+ .tooltip::before {
173
+ position: absolute;
174
+ content: "";
175
+ height: 0.6em;
176
+ width: 0.6em;
177
+ z-index: 999;
178
+ bottom: -4px;
179
+ border: 1px solid #ff681d;
180
+ border-left: none;
181
+ border-top: none;
182
+ transform: translate(50%) rotate(45deg);
183
+ background-color: #fff;
184
+ }
185
+
186
+ .tooltip-container:hover .tooltip {
187
+ bottom: 45px !important;
188
+ opacity: 1;
189
+ top: auto !important;
190
+ visibility: visible;
191
+ z-index: 999;
192
+ pointer-events: auto;
193
+ }
194
+ }
195
+ .bottom-tool {
196
+ .tooltip {
197
+ position: absolute;
198
+ bottom: -40;
199
+ transform: translateX(0%);
200
+ padding: 0.3em 0.6em;
201
+ opacity: 0;
202
+ width: max-content;
203
+ max-width: 100%;
204
+ z-index: 999;
205
+ font-size: 12px;
206
+ color: #ff681d !important;
207
+ white-space: wrap;
208
+ pointer-events: none;
209
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
210
+ border: 1px solid #ff681d;
211
+ background-color: #fff;
212
+ border-radius: 6px;
213
+ color: rgb(34, 34, 34);
214
+ }
215
+
216
+ .tooltip::before {
217
+ position: absolute;
218
+ content: "";
219
+ height: 0.6em;
220
+ width: 0.6em;
221
+ z-index: 999;
222
+ top: -4px;
223
+ border: 1px solid #ff681d;
224
+ border-right: none;
225
+ border-bottom: none;
226
+ transform: translate(50%) rotate(45deg);
227
+ background-color: #fff;
228
+ }
229
+
230
+ .tooltip-container:hover .tooltip {
231
+ top: 46px;
232
+ opacity: 1;
233
+ visibility: visible;
234
+ z-index: 999;
235
+ pointer-events: auto;
236
+ }
237
+ }
238
+
239
+ .right {
240
+ .tooltip {
241
+ position: absolute;
242
+ top: 2.5px;
243
+ left: calc(100% + 9px);
244
+ transform: translateX(0%);
245
+ padding: 8px;
246
+ opacity: 0;
247
+ min-width: 200px;
248
+ max-width: 200px;
249
+ min-height: calc(100% - 16px);
250
+ height: auto;
251
+ z-index: 999;
252
+ font-size: 12px;
253
+ color: #fff !important;
254
+ pointer-events: none;
255
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
256
+ border: 1px solid #e55353;
257
+ background-color: #e55353;
258
+ border-radius: 6px;
259
+ color: rgb(34, 34, 34);
260
+ }
261
+
262
+ .tooltip-card {
263
+ padding: 3px 10px 4px;
264
+ top: -4px;
265
+ min-width: 175px;
266
+ background-color: #3d414a;
267
+ border: 1px solid #3d414a;
268
+ }
269
+
270
+ .tooltip::before {
271
+ position: absolute;
272
+ content: "";
273
+ height: 0.6em;
274
+ width: 0.6em;
275
+ left: -8px;
276
+ top: 14px;
277
+ z-index: 999;
278
+ transform: translateY(10px);
279
+ border: 1px solid #e55353;
280
+ border-top: none;
281
+ border-right: none;
282
+ transform: translate(50%) rotate(45deg);
283
+ background-color: #e55353;
284
+ }
285
+
286
+ .tooltip-card::before {
287
+ top: 8px;
288
+ background-color: #3d414a;
289
+ border: 1px solid #3d414a;
290
+ }
291
+
292
+ .tooltip-container:hover {
293
+ .tooltip {
294
+ top: 2.5px;
295
+ opacity: 1;
296
+ visibility: visible;
297
+ z-index: 999;
298
+ pointer-events: auto;
299
+ }
300
+
301
+ .tooltip-card {
302
+ top: -4px;
303
+ }
304
+ }
305
+ }
306
+
307
+ .left {
308
+ .tooltip {
309
+ position: absolute;
310
+ top: 2.5px;
311
+ right: calc(100% + 9px);
312
+ transform: translateX(0%);
313
+ padding: 8px;
314
+ opacity: 0;
315
+ min-width: 200px;
316
+ max-width: 200px;
317
+ min-height: calc(100% - 16px);
318
+ z-index: 999;
319
+ font-size: 12px;
320
+ color: #fff !important;
321
+ pointer-events: none;
322
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
323
+ border: 1px solid #e55353;
324
+ background-color: #e55353;
325
+ border-radius: 6px;
326
+ color: rgb(34, 34, 34);
327
+ }
328
+
329
+ .tooltip::before {
330
+ position: absolute;
331
+ content: "";
332
+ height: 0.6em;
333
+ width: 0.6em;
334
+ right: 0px;
335
+ top: 14px;
336
+ z-index: 999;
337
+ transform: translateY(10px);
338
+ border: 1px solid #e55353;
339
+ border-bottom: none;
340
+ border-left: none;
341
+ transform: translate(50%) rotate(45deg);
342
+ background-color: #e55353;
343
+ }
344
+
345
+ .tooltip-container:hover .tooltip {
346
+ top: 2.5px;
347
+ opacity: 1;
348
+ visibility: visible;
349
+ z-index: 999;
350
+ pointer-events: auto;
351
+ }
352
+ }
353
+
354
+ .top {
355
+ .tooltip-info {
356
+ position: absolute;
357
+ top: -40;
358
+ left: 0;
359
+ transform: translateX(0%);
360
+ padding: 0.3em 0.6em;
361
+ opacity: 0;
362
+ width: 100%;
363
+ z-index: 999;
364
+ font-size: 12px;
365
+ color: #fff !important;
366
+ pointer-events: none;
367
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
368
+ border: 1px solid #475467;
369
+ background-color: #475467;
370
+ border-radius: 6px;
371
+ }
372
+
373
+ .tooltip-info::before {
374
+ position: absolute;
375
+ content: "";
376
+ height: 0.6em;
377
+ width: 0.6em;
378
+ right: 20px;
379
+ z-index: 999;
380
+ bottom: -4px;
381
+ border: 1px solid #475467;
382
+ border-left: none;
383
+ border-top: none;
384
+ transform: translate(50%) rotate(45deg);
385
+ background-color: #475467;
386
+ }
387
+
388
+ .tooltip-container:hover .tooltip-info {
389
+ top: -40px;
390
+ opacity: 1;
391
+ visibility: visible;
392
+ z-index: 999;
393
+ pointer-events: auto;
394
+ }
395
+ .tooltip {
396
+ position: absolute;
397
+ top: -40;
398
+ left: 0;
399
+ transform: translateX(0%);
400
+ padding: 0.3em 0.6em;
401
+ opacity: 0;
402
+ width: 100%;
403
+ z-index: 999;
404
+ font-size: 12px;
405
+ color: #fff !important;
406
+ pointer-events: none;
407
+ transition: background-color 0.3s, width 0.3s, height 0.3s, color 0.3s;
408
+ border: 1px solid #e55353;
409
+ background-color: #e55353;
410
+ border-radius: 6px;
411
+ color: rgb(34, 34, 34);
412
+ }
413
+
414
+ .tooltip::before {
415
+ position: absolute;
416
+ content: "";
417
+ height: 0.6em;
418
+ width: 0.6em;
419
+ right: 20px;
420
+ z-index: 999;
421
+ bottom: -4px;
422
+ border: 1px solid #e55353;
423
+ border-left: none;
424
+ border-top: none;
425
+ transform: translate(50%) rotate(45deg);
426
+ background-color: #e55353;
427
+ }
428
+
429
+ .tooltip-container:hover .tooltip {
430
+ top: -40px;
431
+ opacity: 1;
432
+ visibility: visible;
433
+ z-index: 999;
434
+ pointer-events: auto;
435
+ }
436
+ }
437
+
438
+ .custom-tooltip-container {
439
+ position: relative;
440
+ display: inline-block;
441
+ }
442
+
443
+ .custom-text {
444
+ font-size: 18px;
445
+ cursor: pointer;
446
+ }
447
+
448
+ .custom-tooltip {
449
+ position: absolute;
450
+ top: 100%;
451
+ left: 20%;
452
+ opacity: 0;
453
+ visibility: hidden;
454
+ font-size: 12px;
455
+ background: #deefff;
456
+ border-color: #bee0ff;
457
+ padding: 5px;
458
+ align-items: center;
459
+ transition: opacity 0.3s, visibility 0.3s, top 0.3s, background 0.3s;
460
+ z-index: 1;
461
+ }
462
+
463
+ .custom-tooltip::before {
464
+ content: "";
465
+ position: absolute;
466
+ bottom: 100%;
467
+ left: 20%;
468
+ /* Center the arrow */
469
+ border-width: 9px;
470
+ /* Slightly larger to act as border */
471
+ border-style: solid;
472
+ border-color: transparent transparent #bee0ff transparent;
473
+ /* Border color */
474
+ transform: translateX(-20%);
475
+ z-index: -1;
476
+ /* Ensure it's behind the ::after pseudo-element */
477
+ }
478
+
479
+ .custom-tooltip::after {
480
+ content: "";
481
+ position: absolute;
482
+ bottom: 100%;
483
+ left: 20%;
484
+ border-width: 8px;
485
+ border-style: solid;
486
+ border-color: transparent transparent #deefff transparent;
487
+ transform: translateX(-20%);
488
+ z-index: 1;
489
+ }
490
+
491
+ .custom-tooltip-container:hover .custom-tooltip {
492
+ top: 100%;
493
+ opacity: 1;
494
+ visibility: visible;
495
+ background: #deefff;
496
+ transform: translate(-20%, 10px);
497
+ }