react-core-ts 1.3.78 → 1.3.80

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.
@@ -14,14 +14,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  var jsx_runtime_1 = require("react/jsx-runtime");
15
15
  var icons_1 = require("../utilities/icons");
16
16
  var InputActions = function (_a) {
17
- var inputValue = _a.inputValue, searchValue = _a.searchValue, dropOpen = _a.dropOpen, handleDropOpen = _a.handleDropOpen, handleDropClose = _a.handleDropClose, disabled = _a.disabled, readOnly = _a.readOnly, expandable = _a.expandable, handleClear = _a.handleClear, countOnly = _a.countOnly, error = _a.error, viewMode = _a.viewMode;
17
+ var inputValue = _a.inputValue, searchValue = _a.searchValue, dropOpen = _a.dropOpen, handleDropOpen = _a.handleDropOpen, handleDropClose = _a.handleDropClose, disabled = _a.disabled, readOnly = _a.readOnly, expandable = _a.expandable, handleClear = _a.handleClear, countOnly = _a.countOnly, error = _a.error, viewMode = _a.viewMode, uniqueDropArrowId = _a.uniqueDropArrowId;
18
18
  return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: "".concat(error
19
- ? "qbs-autocomplete-witherror-close-icon"
20
- : "qbs-autocomplete-close-icon", " ") }, { children: [(inputValue || searchValue) &&
19
+ ? 'qbs-autocomplete-witherror-close-icon'
20
+ : 'qbs-autocomplete-close-icon', " ") }, { children: [(inputValue || searchValue) &&
21
21
  !disabled &&
22
22
  !readOnly &&
23
23
  !expandable &&
24
- !countOnly && ((0, jsx_runtime_1.jsx)("button", __assign({ onClick: handleClear, className: "icon-button text-[#667085] ", type: "button", "aria-label": "clear" }, { children: (0, jsx_runtime_1.jsx)(icons_1.Close, {}) }))), dropOpen ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function (e) { return handleDropClose(e); }, className: "icon-button text-[#667085] ", "aria-label": "toggle", name: "toggle" }, { children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: "icon-button-rotate" }) }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ disabled: (disabled || readOnly) && !viewMode, type: "button", className: "icon-button text-[#667085] ", onClick: function (e) { return handleDropOpen(e); }, "aria-label": "toggle", name: "toggle" }, { children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, {}) })))] })));
24
+ !countOnly && ((0, jsx_runtime_1.jsx)("button", __assign({ onClick: handleClear, className: "icon-button text-[#667085] ", type: "button", "aria-label": "clear" }, { children: (0, jsx_runtime_1.jsx)(icons_1.Close, {}) }))), dropOpen ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function (e) { return handleDropClose(e); }, className: "icon-button text-[#667085] ", "aria-label": "toggle", name: "toggle" }, { children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, { className: "icon-button-rotate", uniqueId: uniqueDropArrowId }) }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ disabled: (disabled || readOnly) && !viewMode, type: "button", className: "icon-button text-[#667085] ", onClick: function (e) { return handleDropOpen(e); }, "aria-label": "toggle", name: "toggle" }, { children: (0, jsx_runtime_1.jsx)(icons_1.DropArrow, { uniqueId: uniqueDropArrowId }) })))] })));
25
25
  };
26
26
  exports.default = InputActions;
27
27
  //# sourceMappingURL=InputActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputActions.js","sourceRoot":"","sources":["../../src/components/InputActions.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAEA,4CAAsD;AAgBtD,IAAM,YAAY,GAAyB,UAAC,EAa3C;QAZC,UAAU,gBAAA,EACV,WAAW,iBAAA,EACX,QAAQ,cAAA,EACR,cAAc,oBAAA,EACd,eAAe,qBAAA,EACf,QAAQ,cAAA,EACR,QAAQ,cAAA,EACR,UAAU,gBAAA,EACV,WAAW,iBAAA,EACX,SAAS,eAAA,EACT,KAAK,WAAA,EACL,QAAQ,cAAA;IAER,OAAO,CACL,0CACE,SAAS,EAAE,UACT,KAAK;YACH,CAAC,CAAC,uCAAuC;YACzC,CA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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
+ }
315
+ .qbs-autocomplete-suggestions-sub {
316
+ position: relative;
317
+ overflow: auto;
318
+ max-height: 184px;
319
+ top: 0;
320
+ display: flex;
321
+ flex-direction: column;
322
+ gap: 4px;
323
+ }
324
+ .padding-class {
325
+ padding: 12px !important;
326
+ }
327
+ .qbs-autocomplete-listitem-container {
328
+ display: flex !important;
329
+ align-items: center !important;
330
+ gap: 0px;
331
+ }
332
+ ul {
333
+ list-style-type: none;
334
+ }
335
+
336
+ .react-core-ts-search-container {
337
+ display: flex;
338
+ align-items: center;
339
+ gap: var(--spacing-4, 4px);
340
+ align-self: stretch;
341
+ margin-bottom: 4px;
342
+ }
343
+ .selected-item {
344
+ display: flex;
345
+ align-items: center;
346
+ justify-content: space-between;
347
+ padding: 3px 6px;
348
+ margin: 0;
349
+ background-color: #e0e0e0;
350
+ color: #333;
351
+ border-radius: 6px;
352
+ border: 1px solid rgba(231, 100, 88, 0.1);
353
+ background: rgba(231, 100, 88, 0.1);
354
+ font-size: 12px;
355
+ font-style: normal;
356
+ font-weight: 500;
357
+ line-height: 16px;
358
+ color: #e76458;
359
+ gap: 6px;
360
+ height: 22px;
361
+ }
362
+
363
+ .remove-item-btn {
364
+ background-color: transparent;
365
+ border: none;
366
+ color: #e76458;
367
+ cursor: pointer;
368
+ }
369
+
370
+ .remove-item-btn:hover {
371
+ color: #e76458;
372
+ }
373
+
374
+ .selected-items-container {
375
+ display: flex;
376
+ gap: 12px;
377
+ align-items: center;
378
+ position: absolute;
379
+ left: 8px;
380
+ z-index: 99;
381
+ top: 6.5px;
382
+ flex-wrap: wrap;
383
+ }
384
+
385
+ .qbs-expandable-container .selected-items-container {
386
+ position: relative;
387
+ top: 0;
388
+ left: 0;
389
+ }
390
+
391
+ .selected-items-container .badge {
392
+ background-color: #c63a3a;
393
+ color: #fff;
394
+ }
395
+
396
+ .selected-item-more {
397
+ display: flex;
398
+ align-items: center;
399
+ justify-content: center;
400
+ padding: 3px 8px;
401
+ margin: 0;
402
+ border-radius: 6px;
403
+ background: #c63a3a;
404
+ font-size: 12px;
405
+ font-style: normal;
406
+ font-weight: 500;
407
+ line-height: 16px;
408
+ color: #fff;
409
+ height: 22px;
410
+ }
411
+
412
+ .loadMoreSection {
413
+ margin: 0;
414
+ cursor: pointer;
415
+ display: flex;
416
+ justify-content: flex-start;
417
+ padding: 8px;
418
+ }
419
+ .loadMoreSection p {
420
+ color: #336cfc;
421
+ font-size: 14px;
422
+ font-style: normal;
423
+ font-weight: 500;
424
+ line-height: 20px;
425
+ margin: 0;
426
+ }
427
+ ::-webkit-scrollbar-track {
428
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
429
+ border-radius: 0px;
430
+ background-color: transparent;
431
+ }
432
+
433
+ ::-webkit-scrollbar {
434
+ width: 6px;
435
+ height: 4px;
436
+ background-color: transparent;
437
+ }
438
+
439
+ ::-webkit-scrollbar-thumb {
440
+ border-radius: 100px;
441
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
442
+ background-color: #ddd;
443
+ }
444
+
445
+ .qbs-autocomplete-suggestions-item.is-selected {
446
+ color: #e76458;
447
+ background: #f8f8f8;
448
+ }
449
+
450
+ span.dropdown-search-icon {
451
+ position: absolute;
452
+ left: 8px;
453
+ top: 10px;
454
+ }
455
+
456
+ .dropdown-search-input:focus {
457
+ outline: none;
458
+ border: 1px solid #222;
459
+ }
460
+
461
+ .qbs-autocomplete-checkbox-container {
462
+ gap: 8px;
463
+ padding: 6px 8px;
464
+ display: flex;
465
+ align-items: flex-start;
466
+ }
467
+
468
+ .qbs-autocomplete-checkbox-container .qbs-autocomplete-suggestions-item {
469
+ padding: 0;
470
+ /* pointer-events: none; */
471
+ }
472
+
473
+ .qbs-autocomplete-checkbox-container:hover {
474
+ background: #f8f8f8;
475
+ border-radius: 6px;
476
+ }
477
+
478
+ .qbs-autocomplete-checkbox-container.is-selected {
479
+ background: #f8f8f8;
480
+ border-radius: 6px;
481
+ }
482
+
483
+ .qbs-autocomplete-checkbox {
484
+ position: relative;
485
+ display: flex;
486
+ align-items: center;
487
+ justify-content: center;
488
+ }
489
+
490
+ .qbs-autocomplete-checkbox input {
491
+ opacity: 0;
492
+ }
493
+
494
+ .qbs-autocomplete-checkbox input ~ label {
495
+ position: absolute;
496
+ border-radius: 3px;
497
+ border: 1px solid #999696;
498
+ width: 16px;
499
+ height: 16px;
500
+ top: 1px;
501
+ transition: all 0.2s ease;
502
+ cursor: pointer;
503
+ }
504
+
505
+ .qbs-autocomplete-checkbox input ~ label svg {
506
+ opacity: 0;
507
+ transition: all 0.2s ease;
508
+ position: absolute;
509
+ left: 3px;
510
+ top: 3px;
511
+ width: 9px;
512
+ height: 9px;
513
+ }
514
+
515
+ .qbs-autocomplete-checkbox input:checked ~ label {
516
+ transition: all 0.2s ease;
517
+ border-radius: 3px;
518
+ background: #e76458;
519
+ border-color: #e76458;
520
+ }
521
+ .qbs-autocomplete-checkbox input:checked ~ label svg {
522
+ opacity: 1;
523
+ transition: all 0.2s ease;
524
+ }
525
+
526
+ .action_label {
527
+ font-size: 14px;
528
+ color: #4c7ad6;
529
+ }
530
+ /* Tooltip.css */
531
+ /* .tooltip-wrapper {
532
+ position: relative;
533
+ display: inline-block;
534
+ }
535
+
536
+ .tooltip-content {
537
+ visibility: hidden;
538
+ width: max-content;
539
+ background-color: black;
540
+ color: white;
541
+ text-align: center;
542
+ max-width: 150px;
543
+ padding: 5px 10px;
544
+ border-radius: 6px;
545
+ position: absolute;
546
+ z-index: 1;
547
+ bottom: 125%;
548
+ left: 50%;
549
+ transform: translateX(-50%);
550
+ transition: visibility 0.2s ease-in-out;
551
+ }
552
+
553
+ .tooltip-content::after {
554
+ content: '';
555
+ position: absolute;
556
+ top: 100%;
557
+ left: 50%;
558
+ margin-left: -5px;
559
+ border-width: 5px;
560
+ border-style: solid;
561
+ border-color: black transparent transparent transparent;
562
+ }
563
+
564
+ .tooltip-wrapper:hover .tooltip-content {
565
+ visibility: visible;
566
+ } */
567
+ .qbs-table-tooltip {
568
+ position: relative;
569
+ display: contents;
570
+ cursor: pointer;
571
+ }
572
+
573
+ .qbs-table-tooltip .tooltiptext,
574
+ .tooltiptext {
575
+ visibility: hidden;
576
+ background-color: #000;
577
+ color: #fff;
578
+ text-align: center;
579
+ padding: 6px;
580
+ border-radius: 4px;
581
+ position: absolute;
582
+ z-index: 9999;
583
+ opacity: 0;
584
+ transition: opacity 0.3s;
585
+ font-size: 14px;
586
+ font-style: normal;
587
+ font-weight: 400;
588
+ line-height: 16px;
589
+ max-width: 300px;
590
+ }
591
+
592
+ .qbs-table-tooltip.up .tooltiptext {
593
+ bottom: 125%;
594
+ left: 0%;
595
+ }
596
+
597
+ .qbs-table-tooltip.down .tooltiptext {
598
+ top: 125%;
599
+ right: 0px;
600
+ left: auto;
601
+ }
602
+
603
+ .qbs-table-tooltip:hover .tooltiptext {
604
+ visibility: visible;
605
+ opacity: 1;
606
+ }
607
+
608
+ .qbs-table-tooltip .tooltiptext::after,
609
+ .tooltiptext::after {
610
+ content: '';
611
+ position: absolute;
612
+ border-width: 5px;
613
+ border-style: solid;
614
+ }
615
+
616
+ .qbs-table-tooltip.up .tooltiptext::after,
617
+ .up.tooltiptext::after {
618
+ top: 100%;
619
+ left: 50%;
620
+ margin-left: -5px;
621
+ border-color: #000 transparent transparent transparent;
622
+ }
623
+
624
+ .qbs-table-tooltip.down .tooltiptext::after,
625
+ .down.tooltiptext::after {
626
+ bottom: 100%;
627
+ left: 50%;
628
+ margin-left: -5px;
629
+ border-color: transparent transparent #000 transparent;
630
+ }