@e1011/es-kit 1.1.58 → 1.1.60
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.
- package/dist/hooks/esm/index.css +285 -285
- package/dist/hooks/esm/src/core/hooks/index.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useToggle2.js +2 -0
- package/dist/hooks/esm/src/core/hooks/useToggle2.js.map +1 -0
- package/dist/hooks/index.css +285 -285
- package/dist/hooks/src/core/hooks/index.js +1 -1
- package/dist/hooks/src/core/hooks/useToggle2.js +2 -0
- package/dist/hooks/src/core/hooks/useToggle2.js.map +1 -0
- package/dist/lib/cjs/src/core/hooks/useToggle2.js +2 -0
- package/dist/lib/cjs/src/core/hooks/useToggle2.js.map +1 -0
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/src/core/hooks/useToggle2.js +2 -0
- package/dist/lib/esm/src/core/hooks/useToggle2.js.map +1 -0
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/hooks/index.d.ts +1 -0
- package/dist/types/src/core/hooks/index.d.ts.map +1 -1
- package/dist/types/src/core/hooks/useToggle2.d.ts +22 -0
- package/dist/types/src/core/hooks/useToggle2.d.ts.map +1 -0
- package/dist/utils/esm/index.css +285 -285
- package/dist/utils/index.css +285 -285
- package/package.json +1 -1
package/dist/hooks/esm/index.css
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
.errorBoundary-module_errorBoundary__gk9ps {
|
|
2
|
-
background: #EFEFEF;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.errorBoundary-module_StyledIcon__IYHiU {
|
|
8
|
-
margin-right: 10px;
|
|
9
|
-
}
|
|
10
1
|
.icon-module_icon-base-parent__nOMvW {
|
|
11
2
|
line-height: 1px !important;
|
|
12
3
|
}
|
|
@@ -37,58 +28,6 @@
|
|
|
37
28
|
width: var(--height);
|
|
38
29
|
height: var(--width);
|
|
39
30
|
}
|
|
40
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
41
|
-
transform-origin: 0% 0%;
|
|
42
|
-
opacity: 0;
|
|
43
|
-
overflow: clip;
|
|
44
|
-
}
|
|
45
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
46
|
-
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
47
|
-
will-change: opacity, height, max-height;
|
|
48
|
-
}
|
|
49
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
50
|
-
height: 0;
|
|
51
|
-
max-height: 0;
|
|
52
|
-
opacity: 0;
|
|
53
|
-
}
|
|
54
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
55
|
-
height: var(--prop-value);
|
|
56
|
-
max-height: var(--prop-value);
|
|
57
|
-
opacity: 1;
|
|
58
|
-
}
|
|
59
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
60
|
-
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
61
|
-
will-change: opacity, width, max-width;
|
|
62
|
-
}
|
|
63
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
64
|
-
width: 0;
|
|
65
|
-
max-width: 0;
|
|
66
|
-
opacity: 0;
|
|
67
|
-
}
|
|
68
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
69
|
-
width: var(--prop-value);
|
|
70
|
-
max-width: var(--prop-value);
|
|
71
|
-
opacity: 1;
|
|
72
|
-
}
|
|
73
|
-
.divider-module_divider-line__6CesR {
|
|
74
|
-
position: relative;
|
|
75
|
-
display: block;
|
|
76
|
-
transition: opacity, width, height 250ms ease-in-out;
|
|
77
|
-
background-color: var(--color);
|
|
78
|
-
opacity: var(--opacity);
|
|
79
|
-
}
|
|
80
|
-
.divider-module_divider-line__6CesR.divider-module_vertical__qSVWD {
|
|
81
|
-
height: var(--length);
|
|
82
|
-
left: var(--left);
|
|
83
|
-
width: var(--width);
|
|
84
|
-
margin: var(--margin);
|
|
85
|
-
}
|
|
86
|
-
.divider-module_divider-line__6CesR.divider-module_horizontal__Gz-Oj {
|
|
87
|
-
width: var(--length);
|
|
88
|
-
left: var(--left);
|
|
89
|
-
height: var(--height);
|
|
90
|
-
margin: var(--margin);
|
|
91
|
-
}
|
|
92
31
|
.field-module_field__UfKm3 {
|
|
93
32
|
opacity: 1;
|
|
94
33
|
pointer-events: auto;
|
|
@@ -163,6 +102,67 @@
|
|
|
163
102
|
.field-module_field__UfKm3 label {
|
|
164
103
|
text-align: left;
|
|
165
104
|
}
|
|
105
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
106
|
+
transform-origin: 0% 0%;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
overflow: clip;
|
|
109
|
+
}
|
|
110
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
111
|
+
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
112
|
+
will-change: opacity, height, max-height;
|
|
113
|
+
}
|
|
114
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
115
|
+
height: 0;
|
|
116
|
+
max-height: 0;
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
120
|
+
height: var(--prop-value);
|
|
121
|
+
max-height: var(--prop-value);
|
|
122
|
+
opacity: 1;
|
|
123
|
+
}
|
|
124
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
125
|
+
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
126
|
+
will-change: opacity, width, max-width;
|
|
127
|
+
}
|
|
128
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
129
|
+
width: 0;
|
|
130
|
+
max-width: 0;
|
|
131
|
+
opacity: 0;
|
|
132
|
+
}
|
|
133
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
134
|
+
width: var(--prop-value);
|
|
135
|
+
max-width: var(--prop-value);
|
|
136
|
+
opacity: 1;
|
|
137
|
+
}
|
|
138
|
+
.errorBoundary-module_errorBoundary__gk9ps {
|
|
139
|
+
background: #EFEFEF;
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 100%;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.errorBoundary-module_StyledIcon__IYHiU {
|
|
145
|
+
margin-right: 10px;
|
|
146
|
+
}
|
|
147
|
+
.divider-module_divider-line__6CesR {
|
|
148
|
+
position: relative;
|
|
149
|
+
display: block;
|
|
150
|
+
transition: opacity, width, height 250ms ease-in-out;
|
|
151
|
+
background-color: var(--color);
|
|
152
|
+
opacity: var(--opacity);
|
|
153
|
+
}
|
|
154
|
+
.divider-module_divider-line__6CesR.divider-module_vertical__qSVWD {
|
|
155
|
+
height: var(--length);
|
|
156
|
+
left: var(--left);
|
|
157
|
+
width: var(--width);
|
|
158
|
+
margin: var(--margin);
|
|
159
|
+
}
|
|
160
|
+
.divider-module_divider-line__6CesR.divider-module_horizontal__Gz-Oj {
|
|
161
|
+
width: var(--length);
|
|
162
|
+
left: var(--left);
|
|
163
|
+
height: var(--height);
|
|
164
|
+
margin: var(--margin);
|
|
165
|
+
}
|
|
166
166
|
.layoutBox-module_layout-box__ZIID8 {
|
|
167
167
|
display: flex;
|
|
168
168
|
position: relative;
|
|
@@ -419,165 +419,120 @@
|
|
|
419
419
|
--divider-line: #4a4b4b;
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
.
|
|
422
|
+
.popup-module_overflow-hidden__uimg4, .popup-module_text-truncate__y-5c1 {
|
|
423
423
|
overflow: hidden !important;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
.
|
|
426
|
+
.popup-module_text-nowrap__eDCv3, .popup-module_text-truncate__y-5c1 {
|
|
427
427
|
white-space: nowrap !important;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
.
|
|
430
|
+
.popup-module_text-ellipsis__yu8nx, .popup-module_text-truncate__y-5c1 {
|
|
431
431
|
text-overflow: ellipsis !important;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
.
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
color: #E2E369 !important;
|
|
448
|
-
}
|
|
449
|
-
.tag-module_tag__rGA-E .tag-module_text__WpK6w {
|
|
450
|
-
white-space: nowrap;
|
|
434
|
+
.popup-module_popup-container__PJ0oQ {
|
|
435
|
+
--popup-width: 60vw;
|
|
436
|
+
--popup-height: 50vh;
|
|
437
|
+
position: fixed;
|
|
438
|
+
width: var(--popup-width);
|
|
439
|
+
height: var(--popup-height);
|
|
440
|
+
--slideXFrom: 0;
|
|
441
|
+
--slideYFrom: 0;
|
|
442
|
+
will-change: opacity;
|
|
443
|
+
transition: opacity 300ms ease-in-out;
|
|
444
|
+
opacity: 0;
|
|
445
|
+
visibility: hidden;
|
|
446
|
+
pointer-events: none;
|
|
451
447
|
}
|
|
452
|
-
.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
448
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz {
|
|
449
|
+
position: relative;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
align-items: start;
|
|
452
|
+
width: 100%;
|
|
453
|
+
height: 100%;
|
|
454
|
+
overflow-x: clip;
|
|
455
|
+
background-color: #090A0A;
|
|
456
|
+
border-radius: 4px;
|
|
457
|
+
box-shadow: 0px 10px 20px 4px rgba(0, 0, 0, 0.15);
|
|
458
|
+
transition: transform 350ms ease-out;
|
|
459
|
+
will-change: transform;
|
|
460
|
+
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
458
461
|
}
|
|
459
|
-
.
|
|
460
|
-
|
|
461
|
-
border-color: #515757;
|
|
462
|
-
color: #F4F4F4;
|
|
462
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz button {
|
|
463
|
+
margin-bottom: 0;
|
|
463
464
|
}
|
|
464
|
-
.
|
|
465
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx {
|
|
465
466
|
cursor: pointer;
|
|
466
|
-
|
|
467
|
+
line-height: 1px;
|
|
468
|
+
background-color: rgba(255, 255, 255, 0);
|
|
467
469
|
}
|
|
468
|
-
.
|
|
469
|
-
background-color: #
|
|
470
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx .icon-base {
|
|
471
|
+
background-color: #FDDA0D;
|
|
472
|
+
width: 9px !important;
|
|
473
|
+
height: 9px !important;
|
|
474
|
+
line-height: 1px !important;
|
|
470
475
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
background-color: #203439;
|
|
474
|
-
border-color: #80D9F3;
|
|
475
|
-
color: #80D9F3;
|
|
476
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx:hover .icon-base {
|
|
477
|
+
background-color: #FFEA00;
|
|
476
478
|
}
|
|
477
|
-
.
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
479
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm {
|
|
480
|
+
width: 100%;
|
|
481
|
+
height: 100%;
|
|
482
|
+
padding: 24px;
|
|
483
|
+
overflow-y: auto;
|
|
484
|
+
display: flex;
|
|
481
485
|
}
|
|
482
|
-
.
|
|
483
|
-
|
|
484
|
-
border-color: #E2E369;
|
|
485
|
-
color: #E2E369;
|
|
486
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm > * {
|
|
487
|
+
overflow-y: auto;
|
|
486
488
|
}
|
|
487
|
-
.
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
489
|
+
.popup-module_popup-container__PJ0oQ[data-show] {
|
|
490
|
+
opacity: 1;
|
|
491
|
+
visibility: visible;
|
|
492
|
+
pointer-events: all;
|
|
491
493
|
}
|
|
492
|
-
.
|
|
493
|
-
|
|
494
|
-
border-color: #FD553E;
|
|
495
|
-
color: #FD553E;
|
|
494
|
+
.popup-module_popup-container__PJ0oQ[data-show] .popup-module_popup-container-inner__n83Cz {
|
|
495
|
+
transform: translateX(0) translateY(0);
|
|
496
496
|
}
|
|
497
|
-
.
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
497
|
+
.popup-module_popup-container__PJ0oQ[data-show=false] {
|
|
498
|
+
opacity: 0;
|
|
499
|
+
visibility: hidden;
|
|
500
|
+
pointer-events: none;
|
|
501
501
|
}
|
|
502
|
-
.
|
|
503
|
-
|
|
504
|
-
border-color: #02B3E6;
|
|
505
|
-
color: #02B3E6;
|
|
502
|
+
.popup-module_popup-container__PJ0oQ[data-show=false] .popup-module_popup-container-inner__n83Cz {
|
|
503
|
+
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
506
504
|
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
color: #
|
|
505
|
+
|
|
506
|
+
.cui-theme-dark .popup-module_popup-container-inner__n83Cz {
|
|
507
|
+
background-color: #090A0A;
|
|
508
|
+
color: #F4F4F4;
|
|
511
509
|
}
|
|
512
|
-
.cui-theme-
|
|
513
|
-
background-color: #
|
|
514
|
-
|
|
515
|
-
color: #FD553E;
|
|
516
|
-
}
|
|
517
|
-
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_error__fo8QB {
|
|
518
|
-
background-color: #311616;
|
|
519
|
-
border-color: #FD553E;
|
|
520
|
-
color: #FD553E;
|
|
521
|
-
}
|
|
522
|
-
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_warning__29pni {
|
|
523
|
-
background-color: #632E03;
|
|
524
|
-
border-color: #FD8F3E;
|
|
525
|
-
color: #FD8F3E;
|
|
526
|
-
}
|
|
527
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_info__PMCQH {
|
|
528
|
-
background-color: #80D9F3;
|
|
529
|
-
border-color: #80D9F3;
|
|
530
|
-
color: #203439;
|
|
531
|
-
}
|
|
532
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_very-low__a6WSr {
|
|
533
|
-
background-color: #B1E02C;
|
|
534
|
-
border-color: #B1E02C;
|
|
535
|
-
color: #212A04;
|
|
536
|
-
}
|
|
537
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_low__57msG {
|
|
538
|
-
background-color: #E2E369;
|
|
539
|
-
border-color: #E2E369;
|
|
540
|
-
color: #353505;
|
|
541
|
-
}
|
|
542
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_medium__PtVKT {
|
|
543
|
-
background-color: #FD8F3E;
|
|
544
|
-
border-color: #FD8F3E;
|
|
545
|
-
color: #632E03;
|
|
546
|
-
}
|
|
547
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_high__8ayT0 {
|
|
548
|
-
background-color: #FD553E;
|
|
549
|
-
border-color: #FD553E;
|
|
550
|
-
color: #371A1A;
|
|
551
|
-
}
|
|
552
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_critical__fT5Pe {
|
|
553
|
-
background-color: #EC515B;
|
|
554
|
-
border-color: #EC515B;
|
|
555
|
-
color: #311616;
|
|
556
|
-
}
|
|
557
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_information__gjuZe {
|
|
558
|
-
background-color: #02B3E6;
|
|
559
|
-
border-color: #02B3E6;
|
|
560
|
-
color: #203439;
|
|
561
|
-
}
|
|
562
|
-
.cui-theme-light .tag-module_tag__rGA-E.tag-module_success__M-mEI {
|
|
563
|
-
background-color: #30D136;
|
|
564
|
-
border-color: #30D136;
|
|
565
|
-
color: #212A04;
|
|
510
|
+
.cui-theme-light .popup-module_popup-container-inner__n83Cz {
|
|
511
|
+
background-color: #090A0A;
|
|
512
|
+
color: #F4F4F4;
|
|
566
513
|
}
|
|
567
|
-
.
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
514
|
+
.popup-overlay-module_popup-modal-overlay__dlJqM {
|
|
515
|
+
z-index: 1;
|
|
516
|
+
position: fixed;
|
|
517
|
+
width: 100%;
|
|
518
|
+
height: 100%;
|
|
519
|
+
top: 0;
|
|
520
|
+
left: 0;
|
|
521
|
+
background: rgba(40, 80, 120, 0.8) !important;
|
|
522
|
+
pointer-events: all;
|
|
523
|
+
user-select: none;
|
|
524
|
+
will-change: opacity;
|
|
525
|
+
transition: opacity 450ms ease-in-out;
|
|
526
|
+
opacity: 0;
|
|
527
|
+
visibility: hidden;
|
|
571
528
|
}
|
|
572
|
-
.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
color: #311616;
|
|
529
|
+
.popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
|
|
530
|
+
opacity: 1;
|
|
531
|
+
visibility: visible;
|
|
576
532
|
}
|
|
577
|
-
.
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
color: #632E03;
|
|
533
|
+
.popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
|
|
534
|
+
opacity: 0;
|
|
535
|
+
visibility: hidden;
|
|
581
536
|
}
|
|
582
537
|
:root {
|
|
583
538
|
--divider-line: #4a4b4b;
|
|
@@ -703,97 +658,165 @@
|
|
|
703
658
|
--divider-line: #4a4b4b;
|
|
704
659
|
}
|
|
705
660
|
|
|
706
|
-
.
|
|
661
|
+
.tag-module_overflow-hidden__wlxDI, .tag-module_text-truncate__xqW1- {
|
|
707
662
|
overflow: hidden !important;
|
|
708
663
|
}
|
|
709
664
|
|
|
710
|
-
.
|
|
665
|
+
.tag-module_text-nowrap__CHhhg, .tag-module_text-truncate__xqW1- {
|
|
711
666
|
white-space: nowrap !important;
|
|
712
667
|
}
|
|
713
668
|
|
|
714
|
-
.
|
|
669
|
+
.tag-module_text-ellipsis__UX32n, .tag-module_text-truncate__xqW1- {
|
|
715
670
|
text-overflow: ellipsis !important;
|
|
716
671
|
}
|
|
717
672
|
|
|
718
|
-
.
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
--slideYFrom: 0;
|
|
726
|
-
will-change: opacity;
|
|
727
|
-
transition: opacity 300ms ease-in-out;
|
|
728
|
-
opacity: 0;
|
|
729
|
-
visibility: hidden;
|
|
730
|
-
pointer-events: none;
|
|
731
|
-
}
|
|
732
|
-
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz {
|
|
733
|
-
position: relative;
|
|
734
|
-
flex-direction: column;
|
|
735
|
-
align-items: start;
|
|
736
|
-
width: 100%;
|
|
737
|
-
height: 100%;
|
|
738
|
-
overflow-x: clip;
|
|
739
|
-
background-color: #090A0A;
|
|
673
|
+
.tag-module_tag__rGA-E {
|
|
674
|
+
display: inline-flex;
|
|
675
|
+
flex-direction: row;
|
|
676
|
+
flex-shrink: 1;
|
|
677
|
+
padding: 4px 8px;
|
|
678
|
+
gap: 4px;
|
|
679
|
+
min-height: 18px;
|
|
740
680
|
border-radius: 4px;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
681
|
+
border-width: 1px;
|
|
682
|
+
border-style: solid;
|
|
683
|
+
align-items: center;
|
|
745
684
|
}
|
|
746
|
-
.
|
|
747
|
-
|
|
685
|
+
.tag-module_tag__rGA-E .icon-base {
|
|
686
|
+
color: #E2E369 !important;
|
|
748
687
|
}
|
|
749
|
-
.
|
|
688
|
+
.tag-module_tag__rGA-E .tag-module_text__WpK6w {
|
|
689
|
+
white-space: nowrap;
|
|
690
|
+
}
|
|
691
|
+
.tag-module_tag__rGA-E.tag-module_in-table__cWTuJ {
|
|
692
|
+
justify-content: center;
|
|
693
|
+
align-items: center;
|
|
694
|
+
overflow: hidden !important;
|
|
695
|
+
white-space: nowrap !important;
|
|
696
|
+
text-overflow: ellipsis !important;
|
|
697
|
+
}
|
|
698
|
+
.tag-module_tag__rGA-E.tag-module_default__6cv6k {
|
|
699
|
+
background-color: #434747;
|
|
700
|
+
border-color: #515757;
|
|
701
|
+
color: #F4F4F4;
|
|
702
|
+
}
|
|
703
|
+
.tag-module_tag__rGA-E.tag-module_clickable__W6arw {
|
|
750
704
|
cursor: pointer;
|
|
751
|
-
|
|
752
|
-
background-color: rgba(255, 255, 255, 0);
|
|
705
|
+
transition: background-color 0.25s ease;
|
|
753
706
|
}
|
|
754
|
-
.
|
|
755
|
-
background-color: #
|
|
756
|
-
width: 9px !important;
|
|
757
|
-
height: 9px !important;
|
|
758
|
-
line-height: 1px !important;
|
|
707
|
+
.tag-module_tag__rGA-E.tag-module_clickable__W6arw.tag-module_default__6cv6k:hover {
|
|
708
|
+
background-color: #515757;
|
|
759
709
|
}
|
|
760
|
-
|
|
761
|
-
|
|
710
|
+
|
|
711
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_info__PMCQH {
|
|
712
|
+
background-color: #203439;
|
|
713
|
+
border-color: #80D9F3;
|
|
714
|
+
color: #80D9F3;
|
|
762
715
|
}
|
|
763
|
-
.
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
overflow-y: auto;
|
|
768
|
-
display: flex;
|
|
716
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_very-low__a6WSr {
|
|
717
|
+
background-color: #212A04;
|
|
718
|
+
border-color: #B1E02C;
|
|
719
|
+
color: #B1E02C;
|
|
769
720
|
}
|
|
770
|
-
.
|
|
771
|
-
|
|
721
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_low__57msG {
|
|
722
|
+
background-color: #353505;
|
|
723
|
+
border-color: #E2E369;
|
|
724
|
+
color: #E2E369;
|
|
772
725
|
}
|
|
773
|
-
.
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
726
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_medium__PtVKT {
|
|
727
|
+
background-color: #632E03;
|
|
728
|
+
border-color: #FD8F3E;
|
|
729
|
+
color: #FD8F3E;
|
|
777
730
|
}
|
|
778
|
-
.
|
|
779
|
-
|
|
731
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_high__8ayT0 {
|
|
732
|
+
background-color: #371A1A;
|
|
733
|
+
border-color: #FD553E;
|
|
734
|
+
color: #FD553E;
|
|
780
735
|
}
|
|
781
|
-
.
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
736
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_critical__fT5Pe {
|
|
737
|
+
background-color: #311616;
|
|
738
|
+
border-color: #EC515B;
|
|
739
|
+
color: #EC515B;
|
|
785
740
|
}
|
|
786
|
-
.
|
|
787
|
-
|
|
741
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_information__gjuZe {
|
|
742
|
+
background-color: #203439;
|
|
743
|
+
border-color: #02B3E6;
|
|
744
|
+
color: #02B3E6;
|
|
788
745
|
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
color: #
|
|
746
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_success__M-mEI {
|
|
747
|
+
background-color: #212A04;
|
|
748
|
+
border-color: #30D136;
|
|
749
|
+
color: #30D136;
|
|
793
750
|
}
|
|
794
|
-
.cui-theme-
|
|
795
|
-
background-color: #
|
|
796
|
-
color: #
|
|
751
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_alert__1NDIs {
|
|
752
|
+
background-color: #311616;
|
|
753
|
+
border-color: #FD553E;
|
|
754
|
+
color: #FD553E;
|
|
755
|
+
}
|
|
756
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_error__fo8QB {
|
|
757
|
+
background-color: #311616;
|
|
758
|
+
border-color: #FD553E;
|
|
759
|
+
color: #FD553E;
|
|
760
|
+
}
|
|
761
|
+
.cui-theme-dark .tag-module_tag__rGA-E.tag-module_warning__29pni {
|
|
762
|
+
background-color: #632E03;
|
|
763
|
+
border-color: #FD8F3E;
|
|
764
|
+
color: #FD8F3E;
|
|
765
|
+
}
|
|
766
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_info__PMCQH {
|
|
767
|
+
background-color: #80D9F3;
|
|
768
|
+
border-color: #80D9F3;
|
|
769
|
+
color: #203439;
|
|
770
|
+
}
|
|
771
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_very-low__a6WSr {
|
|
772
|
+
background-color: #B1E02C;
|
|
773
|
+
border-color: #B1E02C;
|
|
774
|
+
color: #212A04;
|
|
775
|
+
}
|
|
776
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_low__57msG {
|
|
777
|
+
background-color: #E2E369;
|
|
778
|
+
border-color: #E2E369;
|
|
779
|
+
color: #353505;
|
|
780
|
+
}
|
|
781
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_medium__PtVKT {
|
|
782
|
+
background-color: #FD8F3E;
|
|
783
|
+
border-color: #FD8F3E;
|
|
784
|
+
color: #632E03;
|
|
785
|
+
}
|
|
786
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_high__8ayT0 {
|
|
787
|
+
background-color: #FD553E;
|
|
788
|
+
border-color: #FD553E;
|
|
789
|
+
color: #371A1A;
|
|
790
|
+
}
|
|
791
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_critical__fT5Pe {
|
|
792
|
+
background-color: #EC515B;
|
|
793
|
+
border-color: #EC515B;
|
|
794
|
+
color: #311616;
|
|
795
|
+
}
|
|
796
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_information__gjuZe {
|
|
797
|
+
background-color: #02B3E6;
|
|
798
|
+
border-color: #02B3E6;
|
|
799
|
+
color: #203439;
|
|
800
|
+
}
|
|
801
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_success__M-mEI {
|
|
802
|
+
background-color: #30D136;
|
|
803
|
+
border-color: #30D136;
|
|
804
|
+
color: #212A04;
|
|
805
|
+
}
|
|
806
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_alert__1NDIs {
|
|
807
|
+
background-color: #FD553E;
|
|
808
|
+
border-color: #FD553E;
|
|
809
|
+
color: #311616;
|
|
810
|
+
}
|
|
811
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_error__fo8QB {
|
|
812
|
+
background-color: #FD553E;
|
|
813
|
+
border-color: #FD553E;
|
|
814
|
+
color: #311616;
|
|
815
|
+
}
|
|
816
|
+
.cui-theme-light .tag-module_tag__rGA-E.tag-module_warning__29pni {
|
|
817
|
+
background-color: #FD8F3E;
|
|
818
|
+
border-color: #FD8F3E;
|
|
819
|
+
color: #632E03;
|
|
797
820
|
}
|
|
798
821
|
:root {
|
|
799
822
|
--divider-line: #4a4b4b;
|
|
@@ -909,29 +932,6 @@
|
|
|
909
932
|
.cui-theme-light .tooltip-module_popover-tooltip__sAhKa .tooltip-module_arrow-inner__IqzxY {
|
|
910
933
|
border-color: #515757 transparent transparent transparent;
|
|
911
934
|
}
|
|
912
|
-
.popup-overlay-module_popup-modal-overlay__dlJqM {
|
|
913
|
-
z-index: 1;
|
|
914
|
-
position: fixed;
|
|
915
|
-
width: 100%;
|
|
916
|
-
height: 100%;
|
|
917
|
-
top: 0;
|
|
918
|
-
left: 0;
|
|
919
|
-
background: rgba(40, 80, 120, 0.8) !important;
|
|
920
|
-
pointer-events: all;
|
|
921
|
-
user-select: none;
|
|
922
|
-
will-change: opacity;
|
|
923
|
-
transition: opacity 450ms ease-in-out;
|
|
924
|
-
opacity: 0;
|
|
925
|
-
visibility: hidden;
|
|
926
|
-
}
|
|
927
|
-
.popup-overlay-module_popup-modal-overlay__dlJqM[data-show] {
|
|
928
|
-
opacity: 1;
|
|
929
|
-
visibility: visible;
|
|
930
|
-
}
|
|
931
|
-
.popup-overlay-module_popup-modal-overlay__dlJqM[data-show=false] {
|
|
932
|
-
opacity: 0;
|
|
933
|
-
visibility: hidden;
|
|
934
|
-
}
|
|
935
935
|
:root {
|
|
936
936
|
--divider-line: #4a4b4b;
|
|
937
937
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{useApi}from"./useApi.js";export{useToggle}from"./useToggle.js";export{outsideClickHandler,useOutsideClick}from"./useOutsideClick.js";export{useResize}from"./useResize.js";export{useClassNames}from"./useClassNames.js";export{useParseProps}from"./useParseProps.js";export{getBaseThemes,observeThemePreference,setThemeClassNames,switchColorTheme,updateColorTheme,useThemePreference}from"./useThemePreference.js";export{useAnimation}from"./useAnimation.js";export{useIntersectionObserver}from"./useIntersectionObserver.js";export{useTimeoutFn}from"./useSetTimeout.js";
|
|
1
|
+
export{useApi}from"./useApi.js";export{useToggle}from"./useToggle.js";export{useToggle2}from"./useToggle2.js";export{outsideClickHandler,useOutsideClick}from"./useOutsideClick.js";export{useResize}from"./useResize.js";export{useClassNames}from"./useClassNames.js";export{useParseProps}from"./useParseProps.js";export{getBaseThemes,observeThemePreference,setThemeClassNames,switchColorTheme,updateColorTheme,useThemePreference}from"./useThemePreference.js";export{useAnimation}from"./useAnimation.js";export{useIntersectionObserver}from"./useIntersectionObserver.js";export{useTimeoutFn}from"./useSetTimeout.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useToggle2.js","sources":["../../../../../../src/core/hooks/useToggle2.ts"],"sourcesContent":["import { useState, useCallback } from 'react'\n\n/**\n * Type definition for the return value of the `useToggle` hook.\n * @typedef {Array} useToggleReturnType\n * @property {boolean} 0 - The current toggled state.\n * @property {(value?: any | boolean) => void} 1 - Function to toggle the state.\n * @property {(value?: any | boolean) => void} 2 - Function to forcefully set the state to true.\n * @property {(value?: any | boolean) => void} 3 - Function to forcefully set the state to false.\n */\nexport type useToggleReturnType2 = [\n boolean,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void,\n (value?: any | boolean) => void\n]\n\n/**\n * Custom hook to manage a boolean state with toggle functionality.\n * @param {boolean} defaultValue - The initial value of the toggled state.\n * @returns {useToggleReturnType2} An array containing the current state, a toggle function,\n * and functions to set the state to true or false.\n */\nexport const useToggle2 = (defaultValue: boolean): useToggleReturnType2 => {\n const [toggled, setToggled] = useState(defaultValue)\n\n /**\n * Function to toggle the state.\n * @param {any | boolean} [value] - Optional value to set the state. If not provided, the state will be toggled.\n */\n const handleToggle: (value?: any | boolean) => void = useCallback((value?: any | boolean) => {\n setToggled((prevToggled) => (typeof (value) === 'boolean' ? value : !prevToggled))\n }, [])\n\n /**\n * Function to set the state to true.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to true.\n */\n const handleToggleTrue = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? true : forceValue), [handleToggle],\n )\n\n /**\n * Function to set the state to false.\n * @param {boolean} [forceValue] - Optional value to forcefully set the state.\n * If not provided, the state will be set to false.\n */\n const handleToggleFalse = useCallback(\n (forceValue?: boolean) => handleToggle(forceValue === undefined ? false : forceValue), [handleToggle],\n )\n\n return [toggled, handleToggle, handleToggleTrue, handleToggleFalse]\n}\n"],"names":["useToggle2","defaultValue","toggled","setToggled","useState","handleToggle","useCallback","value","prevToggled","handleToggleTrue","forceValue","undefined","handleToggleFalse"],"mappings":"kDAuBaA,MAAAA,EAAcC,IACzB,MAAOC,EAASC,GAAcC,EAASH,GAMjCI,EAAgDC,GAAaC,IACjEJ,GAAYK,GAAoC,kBAAXD,EAAuBA,GAASC,GAAa,GACjF,IAOGC,EAAmBH,GACtBI,GAAyBL,OAA4BM,IAAfD,GAAkCA,IAAa,CAACL,IAQnFO,EAAoBN,GACvBI,GAAyBL,OAA4BM,IAAfD,GAAmCA,IAAa,CAACL,IAG1F,MAAO,CAACH,EAASG,EAAcI,EAAkBG,EAAkB"}
|