@abdellatifui/react 3.2.94 → 3.2.96
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/nextgen.css +284 -144
- package/dist/nextgen.d.ts +1 -0
- package/dist/nextgen.js +117 -54
- package/package.json +2 -3
package/dist/nextgen.css
CHANGED
|
@@ -591,6 +591,8 @@
|
|
|
591
591
|
--tracking-wide: .025em;
|
|
592
592
|
--tracking-wider: .05em;
|
|
593
593
|
--tracking-widest: .1em;
|
|
594
|
+
--leading-tight: 1.25;
|
|
595
|
+
--leading-normal: 1.5;
|
|
594
596
|
--radius-xs: .125rem;
|
|
595
597
|
--radius-sm: .25rem;
|
|
596
598
|
--radius-md: .375rem;
|
|
@@ -949,10 +951,6 @@
|
|
|
949
951
|
top: 4px;
|
|
950
952
|
}
|
|
951
953
|
|
|
952
|
-
.top-\[5px\] {
|
|
953
|
-
top: 5px;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
954
|
.top-\[6px\] {
|
|
957
955
|
top: 6px;
|
|
958
956
|
}
|
|
@@ -1093,6 +1091,10 @@
|
|
|
1093
1091
|
z-index: 50;
|
|
1094
1092
|
}
|
|
1095
1093
|
|
|
1094
|
+
.z-52 {
|
|
1095
|
+
z-index: 52;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1096
1098
|
.z-100 {
|
|
1097
1099
|
z-index: 100;
|
|
1098
1100
|
}
|
|
@@ -1113,6 +1115,10 @@
|
|
|
1113
1115
|
z-index: 501 !important;
|
|
1114
1116
|
}
|
|
1115
1117
|
|
|
1118
|
+
.z-502 {
|
|
1119
|
+
z-index: 502;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1116
1122
|
.z-\[30\] {
|
|
1117
1123
|
z-index: 30;
|
|
1118
1124
|
}
|
|
@@ -1199,10 +1205,6 @@
|
|
|
1199
1205
|
margin-inline: calc(var(--spacing) * 2.5);
|
|
1200
1206
|
}
|
|
1201
1207
|
|
|
1202
|
-
.mx-\[10px\] {
|
|
1203
|
-
margin-inline: 10px;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1208
|
.mx-auto {
|
|
1207
1209
|
margin-inline: auto;
|
|
1208
1210
|
}
|
|
@@ -1267,6 +1269,10 @@
|
|
|
1267
1269
|
margin-right: 20px;
|
|
1268
1270
|
}
|
|
1269
1271
|
|
|
1272
|
+
.mb-1 {
|
|
1273
|
+
margin-bottom: calc(var(--spacing) * 1);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1270
1276
|
.mb-2 {
|
|
1271
1277
|
margin-bottom: calc(var(--spacing) * 2);
|
|
1272
1278
|
}
|
|
@@ -1715,8 +1721,8 @@
|
|
|
1715
1721
|
width: 300px;
|
|
1716
1722
|
}
|
|
1717
1723
|
|
|
1718
|
-
.w-\[
|
|
1719
|
-
width:
|
|
1724
|
+
.w-\[360px\] {
|
|
1725
|
+
width: 360px;
|
|
1720
1726
|
}
|
|
1721
1727
|
|
|
1722
1728
|
.w-\[400px\] {
|
|
@@ -2046,10 +2052,6 @@
|
|
|
2046
2052
|
justify-content: flex-start;
|
|
2047
2053
|
}
|
|
2048
2054
|
|
|
2049
|
-
.justify-items-center {
|
|
2050
|
-
justify-items: center;
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
2055
|
.gap-0\.5 {
|
|
2054
2056
|
gap: calc(var(--spacing) * .5);
|
|
2055
2057
|
}
|
|
@@ -2062,6 +2064,10 @@
|
|
|
2062
2064
|
gap: calc(var(--spacing) * 2);
|
|
2063
2065
|
}
|
|
2064
2066
|
|
|
2067
|
+
.gap-3 {
|
|
2068
|
+
gap: calc(var(--spacing) * 3);
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2065
2071
|
.gap-4 {
|
|
2066
2072
|
gap: calc(var(--spacing) * 4);
|
|
2067
2073
|
}
|
|
@@ -2321,6 +2327,11 @@
|
|
|
2321
2327
|
border-left-width: 1px;
|
|
2322
2328
|
}
|
|
2323
2329
|
|
|
2330
|
+
.border-l-\[3px\] {
|
|
2331
|
+
border-left-style: var(--tw-border-style);
|
|
2332
|
+
border-left-width: 3px;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2324
2335
|
.border-dashed {
|
|
2325
2336
|
--tw-border-style: dashed;
|
|
2326
2337
|
border-style: dashed;
|
|
@@ -2394,28 +2405,36 @@
|
|
|
2394
2405
|
border-top-color: #0000;
|
|
2395
2406
|
}
|
|
2396
2407
|
|
|
2397
|
-
.border-l
|
|
2398
|
-
border-left-color: #
|
|
2408
|
+
.border-l-\[\#3b82f6\] {
|
|
2409
|
+
border-left-color: #3b82f6;
|
|
2399
2410
|
}
|
|
2400
2411
|
|
|
2401
|
-
|
|
2402
|
-
|
|
2412
|
+
.border-l-\[\#10b981\] {
|
|
2413
|
+
border-left-color: #10b981;
|
|
2403
2414
|
}
|
|
2404
2415
|
|
|
2405
|
-
.
|
|
2406
|
-
|
|
2416
|
+
.border-l-\[\#6366f1\] {
|
|
2417
|
+
border-left-color: #6366f1;
|
|
2407
2418
|
}
|
|
2408
2419
|
|
|
2409
|
-
.
|
|
2410
|
-
|
|
2420
|
+
.border-l-\[\#ef4444\] {
|
|
2421
|
+
border-left-color: #ef4444;
|
|
2411
2422
|
}
|
|
2412
2423
|
|
|
2413
|
-
.
|
|
2414
|
-
|
|
2424
|
+
.border-l-\[\#f59e0b\] {
|
|
2425
|
+
border-left-color: #f59e0b;
|
|
2415
2426
|
}
|
|
2416
2427
|
|
|
2417
|
-
.
|
|
2418
|
-
|
|
2428
|
+
.border-l-transparent {
|
|
2429
|
+
border-left-color: #0000;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.\!bg-blue-500 {
|
|
2433
|
+
background-color: var(--color-blue-500) !important;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
.bg-\[\#4caf50\] {
|
|
2437
|
+
background-color: #4caf50;
|
|
2419
2438
|
}
|
|
2420
2439
|
|
|
2421
2440
|
.bg-\[\#2196f3\] {
|
|
@@ -2426,10 +2445,6 @@
|
|
|
2426
2445
|
background-color: #37474f;
|
|
2427
2446
|
}
|
|
2428
2447
|
|
|
2429
|
-
.bg-\[\#333741\] {
|
|
2430
|
-
background-color: #333741;
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
2448
|
.bg-\[\#FCA311\] {
|
|
2434
2449
|
background-color: #fca311;
|
|
2435
2450
|
}
|
|
@@ -2438,24 +2453,32 @@
|
|
|
2438
2453
|
background-color: #e4e4e7;
|
|
2439
2454
|
}
|
|
2440
2455
|
|
|
2441
|
-
.bg-\[\#
|
|
2442
|
-
background-color: #
|
|
2456
|
+
.bg-\[\#eef2ff\] {
|
|
2457
|
+
background-color: #eef2ff;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
.bg-\[\#eff6ff\] {
|
|
2461
|
+
background-color: #eff6ff;
|
|
2443
2462
|
}
|
|
2444
2463
|
|
|
2445
|
-
.bg-\[\#
|
|
2446
|
-
background-color: #
|
|
2464
|
+
.bg-\[\#f0fdf4\] {
|
|
2465
|
+
background-color: #f0fdf4;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
.bg-\[\#f44336\] {
|
|
2469
|
+
background-color: #f44336;
|
|
2447
2470
|
}
|
|
2448
2471
|
|
|
2449
2472
|
.bg-\[\#fafafa\] {
|
|
2450
2473
|
background-color: #fafafa;
|
|
2451
2474
|
}
|
|
2452
2475
|
|
|
2453
|
-
.bg-\[\#
|
|
2454
|
-
background-color: #
|
|
2476
|
+
.bg-\[\#fef2f2\] {
|
|
2477
|
+
background-color: #fef2f2;
|
|
2455
2478
|
}
|
|
2456
2479
|
|
|
2457
|
-
.bg-\[\#
|
|
2458
|
-
background-color: #
|
|
2480
|
+
.bg-\[\#fffbeb\] {
|
|
2481
|
+
background-color: #fffbeb;
|
|
2459
2482
|
}
|
|
2460
2483
|
|
|
2461
2484
|
.bg-black\/40 {
|
|
@@ -2536,10 +2559,6 @@
|
|
|
2536
2559
|
background-color: var(--color-gray-300);
|
|
2537
2560
|
}
|
|
2538
2561
|
|
|
2539
|
-
.bg-gray-400 {
|
|
2540
|
-
background-color: var(--color-gray-400);
|
|
2541
|
-
}
|
|
2542
|
-
|
|
2543
2562
|
.bg-green-400 {
|
|
2544
2563
|
background-color: var(--color-green-400);
|
|
2545
2564
|
}
|
|
@@ -2672,6 +2691,10 @@
|
|
|
2672
2691
|
padding: calc(var(--spacing) * 0);
|
|
2673
2692
|
}
|
|
2674
2693
|
|
|
2694
|
+
.p-0\.5 {
|
|
2695
|
+
padding: calc(var(--spacing) * .5);
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2675
2698
|
.p-1 {
|
|
2676
2699
|
padding: calc(var(--spacing) * 1);
|
|
2677
2700
|
}
|
|
@@ -2688,6 +2711,10 @@
|
|
|
2688
2711
|
padding: calc(var(--spacing) * 3);
|
|
2689
2712
|
}
|
|
2690
2713
|
|
|
2714
|
+
.p-3\.5 {
|
|
2715
|
+
padding: calc(var(--spacing) * 3.5);
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2691
2718
|
.p-4 {
|
|
2692
2719
|
padding: calc(var(--spacing) * 4);
|
|
2693
2720
|
}
|
|
@@ -2796,6 +2823,10 @@
|
|
|
2796
2823
|
padding-top: calc(var(--spacing) * 1.5);
|
|
2797
2824
|
}
|
|
2798
2825
|
|
|
2826
|
+
.pt-2\.5 {
|
|
2827
|
+
padding-top: calc(var(--spacing) * 2.5);
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2799
2830
|
.pt-4 {
|
|
2800
2831
|
padding-top: calc(var(--spacing) * 4);
|
|
2801
2832
|
}
|
|
@@ -2978,6 +3009,16 @@
|
|
|
2978
3009
|
line-height: 1;
|
|
2979
3010
|
}
|
|
2980
3011
|
|
|
3012
|
+
.leading-normal {
|
|
3013
|
+
--tw-leading: var(--leading-normal);
|
|
3014
|
+
line-height: var(--leading-normal);
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
.leading-tight {
|
|
3018
|
+
--tw-leading: var(--leading-tight);
|
|
3019
|
+
line-height: var(--leading-tight);
|
|
3020
|
+
}
|
|
3021
|
+
|
|
2981
3022
|
.\!font-bold {
|
|
2982
3023
|
--tw-font-weight: var(--font-weight-bold) !important;
|
|
2983
3024
|
font-weight: var(--font-weight-bold) !important;
|
|
@@ -3048,28 +3089,48 @@
|
|
|
3048
3089
|
color: var(--color-blue-600) !important;
|
|
3049
3090
|
}
|
|
3050
3091
|
|
|
3051
|
-
.\!text-gray-300 {
|
|
3052
|
-
color: var(--color-gray-300) !important;
|
|
3053
|
-
}
|
|
3054
|
-
|
|
3055
3092
|
.\!text-white {
|
|
3056
3093
|
color: var(--color-white) !important;
|
|
3057
3094
|
}
|
|
3058
3095
|
|
|
3059
|
-
.text-\[\#
|
|
3060
|
-
color: #
|
|
3096
|
+
.text-\[\#1e40af\] {
|
|
3097
|
+
color: #1e40af;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
.text-\[\#3b82f6\] {
|
|
3101
|
+
color: #3b82f6;
|
|
3061
3102
|
}
|
|
3062
3103
|
|
|
3063
|
-
.text-\[\#
|
|
3064
|
-
color: #
|
|
3104
|
+
.text-\[\#10b981\] {
|
|
3105
|
+
color: #10b981;
|
|
3065
3106
|
}
|
|
3066
3107
|
|
|
3067
|
-
.text-\[\#
|
|
3068
|
-
color: #
|
|
3108
|
+
.text-\[\#065f46\] {
|
|
3109
|
+
color: #065f46;
|
|
3069
3110
|
}
|
|
3070
3111
|
|
|
3071
|
-
.text-\[\#
|
|
3072
|
-
color: #
|
|
3112
|
+
.text-\[\#991b1b\] {
|
|
3113
|
+
color: #991b1b;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
.text-\[\#3730a3\] {
|
|
3117
|
+
color: #3730a3;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
.text-\[\#6366f1\] {
|
|
3121
|
+
color: #6366f1;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
.text-\[\#92400e\] {
|
|
3125
|
+
color: #92400e;
|
|
3126
|
+
}
|
|
3127
|
+
|
|
3128
|
+
.text-\[\#ef4444\] {
|
|
3129
|
+
color: #ef4444;
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
.text-\[\#f59e0b\] {
|
|
3133
|
+
color: #f59e0b;
|
|
3073
3134
|
}
|
|
3074
3135
|
|
|
3075
3136
|
.text-black {
|
|
@@ -3134,6 +3195,10 @@
|
|
|
3134
3195
|
color: var(--color-gray-800);
|
|
3135
3196
|
}
|
|
3136
3197
|
|
|
3198
|
+
.text-gray-900 {
|
|
3199
|
+
color: var(--color-gray-900);
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3137
3202
|
.text-green-400 {
|
|
3138
3203
|
color: var(--color-green-400);
|
|
3139
3204
|
}
|
|
@@ -3210,6 +3275,10 @@
|
|
|
3210
3275
|
text-underline-offset: 4px;
|
|
3211
3276
|
}
|
|
3212
3277
|
|
|
3278
|
+
.caret-transparent {
|
|
3279
|
+
caret-color: #0000;
|
|
3280
|
+
}
|
|
3281
|
+
|
|
3213
3282
|
.opacity-0 {
|
|
3214
3283
|
opacity: 0;
|
|
3215
3284
|
}
|
|
@@ -3327,14 +3396,6 @@
|
|
|
3327
3396
|
outline-offset: 10px;
|
|
3328
3397
|
}
|
|
3329
3398
|
|
|
3330
|
-
.outline-\[\#696f7b\] {
|
|
3331
|
-
outline-color: #696f7b;
|
|
3332
|
-
}
|
|
3333
|
-
|
|
3334
|
-
.outline-\[\#4165ed\] {
|
|
3335
|
-
outline-color: #4165ed;
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3338
3399
|
.outline-blue-200 {
|
|
3339
3400
|
outline-color: var(--color-blue-200);
|
|
3340
3401
|
}
|
|
@@ -3449,6 +3510,11 @@
|
|
|
3449
3510
|
transition-duration: .1s;
|
|
3450
3511
|
}
|
|
3451
3512
|
|
|
3513
|
+
.duration-150 {
|
|
3514
|
+
--tw-duration: .15s;
|
|
3515
|
+
transition-duration: .15s;
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3452
3518
|
.duration-200 {
|
|
3453
3519
|
--tw-duration: .2s;
|
|
3454
3520
|
transition-duration: .2s;
|
|
@@ -3785,6 +3851,16 @@
|
|
|
3785
3851
|
background-color: var(--color-gray-200) !important;
|
|
3786
3852
|
}
|
|
3787
3853
|
|
|
3854
|
+
.hover\:bg-gray-200\/60:hover {
|
|
3855
|
+
background-color: #e5e7eb99;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3859
|
+
.hover\:bg-gray-200\/60:hover {
|
|
3860
|
+
background-color: color-mix(in oklab, var(--color-gray-200) 60%, transparent);
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3788
3864
|
.hover\:bg-gray-300:hover {
|
|
3789
3865
|
background-color: var(--color-gray-300);
|
|
3790
3866
|
}
|
|
@@ -3819,11 +3895,6 @@
|
|
|
3819
3895
|
}
|
|
3820
3896
|
}
|
|
3821
3897
|
|
|
3822
|
-
.hover\:font-bold:hover {
|
|
3823
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
3824
|
-
font-weight: var(--font-weight-bold);
|
|
3825
|
-
}
|
|
3826
|
-
|
|
3827
3898
|
.hover\:\!text-blue-600:hover {
|
|
3828
3899
|
color: var(--color-blue-600) !important;
|
|
3829
3900
|
}
|
|
@@ -3875,11 +3946,6 @@
|
|
|
3875
3946
|
outline-width: 1px;
|
|
3876
3947
|
}
|
|
3877
3948
|
|
|
3878
|
-
.hover\:outline-\[2px\]:hover {
|
|
3879
|
-
outline-style: var(--tw-outline-style);
|
|
3880
|
-
outline-width: 2px;
|
|
3881
|
-
}
|
|
3882
|
-
|
|
3883
3949
|
.hover\:before\:opacity-100:hover:before {
|
|
3884
3950
|
content: var(--tw-content);
|
|
3885
3951
|
opacity: 1;
|
|
@@ -3910,6 +3976,10 @@
|
|
|
3910
3976
|
--tw-ring-color: var(--color-blue-600);
|
|
3911
3977
|
}
|
|
3912
3978
|
|
|
3979
|
+
.focus\:ring-gray-300:focus {
|
|
3980
|
+
--tw-ring-color: var(--color-gray-300);
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3913
3983
|
.focus\:ring-offset-2:focus {
|
|
3914
3984
|
--tw-ring-offset-width: 2px;
|
|
3915
3985
|
--tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -5310,6 +5380,8 @@
|
|
|
5310
5380
|
--tracking-wide: .025em;
|
|
5311
5381
|
--tracking-wider: .05em;
|
|
5312
5382
|
--tracking-widest: .1em;
|
|
5383
|
+
--leading-tight: 1.25;
|
|
5384
|
+
--leading-normal: 1.5;
|
|
5313
5385
|
--radius-xs: .125rem;
|
|
5314
5386
|
--radius-2xl: 1rem;
|
|
5315
5387
|
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
@@ -5680,10 +5752,6 @@
|
|
|
5680
5752
|
top: 4px;
|
|
5681
5753
|
}
|
|
5682
5754
|
|
|
5683
|
-
.top-\[5px\] {
|
|
5684
|
-
top: 5px;
|
|
5685
|
-
}
|
|
5686
|
-
|
|
5687
5755
|
.top-\[6px\] {
|
|
5688
5756
|
top: 6px;
|
|
5689
5757
|
}
|
|
@@ -5824,6 +5892,10 @@
|
|
|
5824
5892
|
z-index: 50;
|
|
5825
5893
|
}
|
|
5826
5894
|
|
|
5895
|
+
.z-52 {
|
|
5896
|
+
z-index: 52;
|
|
5897
|
+
}
|
|
5898
|
+
|
|
5827
5899
|
.z-100 {
|
|
5828
5900
|
z-index: 100;
|
|
5829
5901
|
}
|
|
@@ -5844,6 +5916,10 @@
|
|
|
5844
5916
|
z-index: 501 !important;
|
|
5845
5917
|
}
|
|
5846
5918
|
|
|
5919
|
+
.z-502 {
|
|
5920
|
+
z-index: 502;
|
|
5921
|
+
}
|
|
5922
|
+
|
|
5847
5923
|
.z-\[30\] {
|
|
5848
5924
|
z-index: 30;
|
|
5849
5925
|
}
|
|
@@ -5930,10 +6006,6 @@
|
|
|
5930
6006
|
margin-inline: calc(var(--spacing) * 2.5);
|
|
5931
6007
|
}
|
|
5932
6008
|
|
|
5933
|
-
.mx-\[10px\] {
|
|
5934
|
-
margin-inline: 10px;
|
|
5935
|
-
}
|
|
5936
|
-
|
|
5937
6009
|
.mx-auto {
|
|
5938
6010
|
margin-inline: auto;
|
|
5939
6011
|
}
|
|
@@ -5998,6 +6070,10 @@
|
|
|
5998
6070
|
margin-right: 20px;
|
|
5999
6071
|
}
|
|
6000
6072
|
|
|
6073
|
+
.mb-1 {
|
|
6074
|
+
margin-bottom: calc(var(--spacing) * 1);
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6001
6077
|
.mb-2 {
|
|
6002
6078
|
margin-bottom: calc(var(--spacing) * 2);
|
|
6003
6079
|
}
|
|
@@ -6446,8 +6522,8 @@
|
|
|
6446
6522
|
width: 300px;
|
|
6447
6523
|
}
|
|
6448
6524
|
|
|
6449
|
-
.w-\[
|
|
6450
|
-
width:
|
|
6525
|
+
.w-\[360px\] {
|
|
6526
|
+
width: 360px;
|
|
6451
6527
|
}
|
|
6452
6528
|
|
|
6453
6529
|
.w-\[400px\] {
|
|
@@ -6777,10 +6853,6 @@
|
|
|
6777
6853
|
justify-content: flex-start;
|
|
6778
6854
|
}
|
|
6779
6855
|
|
|
6780
|
-
.justify-items-center {
|
|
6781
|
-
justify-items: center;
|
|
6782
|
-
}
|
|
6783
|
-
|
|
6784
6856
|
.gap-0\.5 {
|
|
6785
6857
|
gap: calc(var(--spacing) * .5);
|
|
6786
6858
|
}
|
|
@@ -6793,6 +6865,10 @@
|
|
|
6793
6865
|
gap: calc(var(--spacing) * 2);
|
|
6794
6866
|
}
|
|
6795
6867
|
|
|
6868
|
+
.gap-3 {
|
|
6869
|
+
gap: calc(var(--spacing) * 3);
|
|
6870
|
+
}
|
|
6871
|
+
|
|
6796
6872
|
.gap-4 {
|
|
6797
6873
|
gap: calc(var(--spacing) * 4);
|
|
6798
6874
|
}
|
|
@@ -7052,6 +7128,11 @@
|
|
|
7052
7128
|
border-left-width: 1px;
|
|
7053
7129
|
}
|
|
7054
7130
|
|
|
7131
|
+
.border-l-\[3px\] {
|
|
7132
|
+
border-left-style: var(--tw-border-style);
|
|
7133
|
+
border-left-width: 3px;
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7055
7136
|
.border-dashed {
|
|
7056
7137
|
--tw-border-style: dashed;
|
|
7057
7138
|
border-style: dashed;
|
|
@@ -7155,6 +7236,26 @@
|
|
|
7155
7236
|
border-top-color: #0000;
|
|
7156
7237
|
}
|
|
7157
7238
|
|
|
7239
|
+
.border-l-\[\#3b82f6\] {
|
|
7240
|
+
border-left-color: #3b82f6;
|
|
7241
|
+
}
|
|
7242
|
+
|
|
7243
|
+
.border-l-\[\#10b981\] {
|
|
7244
|
+
border-left-color: #10b981;
|
|
7245
|
+
}
|
|
7246
|
+
|
|
7247
|
+
.border-l-\[\#6366f1\] {
|
|
7248
|
+
border-left-color: #6366f1;
|
|
7249
|
+
}
|
|
7250
|
+
|
|
7251
|
+
.border-l-\[\#ef4444\] {
|
|
7252
|
+
border-left-color: #ef4444;
|
|
7253
|
+
}
|
|
7254
|
+
|
|
7255
|
+
.border-l-\[\#f59e0b\] {
|
|
7256
|
+
border-left-color: #f59e0b;
|
|
7257
|
+
}
|
|
7258
|
+
|
|
7158
7259
|
.border-l-transparent {
|
|
7159
7260
|
border-left-color: #0000;
|
|
7160
7261
|
}
|
|
@@ -7171,18 +7272,6 @@
|
|
|
7171
7272
|
background-color: #4caf50;
|
|
7172
7273
|
}
|
|
7173
7274
|
|
|
7174
|
-
.bg-\[\#85dab74e\] {
|
|
7175
|
-
background-color: #85dab74e;
|
|
7176
|
-
}
|
|
7177
|
-
|
|
7178
|
-
.bg-\[\#2195f30b\] {
|
|
7179
|
-
background-color: #2195f30b;
|
|
7180
|
-
}
|
|
7181
|
-
|
|
7182
|
-
.bg-\[\#2195f353\] {
|
|
7183
|
-
background-color: #2195f353;
|
|
7184
|
-
}
|
|
7185
|
-
|
|
7186
7275
|
.bg-\[\#2196f3\] {
|
|
7187
7276
|
background-color: #2196f3;
|
|
7188
7277
|
}
|
|
@@ -7191,10 +7280,6 @@
|
|
|
7191
7280
|
background-color: #37474f;
|
|
7192
7281
|
}
|
|
7193
7282
|
|
|
7194
|
-
.bg-\[\#333741\] {
|
|
7195
|
-
background-color: #333741;
|
|
7196
|
-
}
|
|
7197
|
-
|
|
7198
7283
|
.bg-\[\#FCA311\] {
|
|
7199
7284
|
background-color: #fca311;
|
|
7200
7285
|
}
|
|
@@ -7203,24 +7288,32 @@
|
|
|
7203
7288
|
background-color: #e4e4e7;
|
|
7204
7289
|
}
|
|
7205
7290
|
|
|
7206
|
-
.bg-\[\#
|
|
7207
|
-
background-color: #
|
|
7291
|
+
.bg-\[\#eef2ff\] {
|
|
7292
|
+
background-color: #eef2ff;
|
|
7293
|
+
}
|
|
7294
|
+
|
|
7295
|
+
.bg-\[\#eff6ff\] {
|
|
7296
|
+
background-color: #eff6ff;
|
|
7208
7297
|
}
|
|
7209
7298
|
|
|
7210
|
-
.bg-\[\#
|
|
7211
|
-
background-color: #
|
|
7299
|
+
.bg-\[\#f0fdf4\] {
|
|
7300
|
+
background-color: #f0fdf4;
|
|
7301
|
+
}
|
|
7302
|
+
|
|
7303
|
+
.bg-\[\#f44336\] {
|
|
7304
|
+
background-color: #f44336;
|
|
7212
7305
|
}
|
|
7213
7306
|
|
|
7214
7307
|
.bg-\[\#fafafa\] {
|
|
7215
7308
|
background-color: #fafafa;
|
|
7216
7309
|
}
|
|
7217
7310
|
|
|
7218
|
-
.bg-\[\#
|
|
7219
|
-
background-color: #
|
|
7311
|
+
.bg-\[\#fef2f2\] {
|
|
7312
|
+
background-color: #fef2f2;
|
|
7220
7313
|
}
|
|
7221
7314
|
|
|
7222
|
-
.bg-\[\#
|
|
7223
|
-
background-color: #
|
|
7315
|
+
.bg-\[\#fffbeb\] {
|
|
7316
|
+
background-color: #fffbeb;
|
|
7224
7317
|
}
|
|
7225
7318
|
|
|
7226
7319
|
.bg-accent, .bg-accent\/50 {
|
|
@@ -7327,10 +7420,6 @@
|
|
|
7327
7420
|
background-color: var(--color-gray-300);
|
|
7328
7421
|
}
|
|
7329
7422
|
|
|
7330
|
-
.bg-gray-400 {
|
|
7331
|
-
background-color: var(--color-gray-400);
|
|
7332
|
-
}
|
|
7333
|
-
|
|
7334
7423
|
.bg-green-400 {
|
|
7335
7424
|
background-color: var(--color-green-400);
|
|
7336
7425
|
}
|
|
@@ -7495,6 +7584,10 @@
|
|
|
7495
7584
|
padding: calc(var(--spacing) * 0);
|
|
7496
7585
|
}
|
|
7497
7586
|
|
|
7587
|
+
.p-0\.5 {
|
|
7588
|
+
padding: calc(var(--spacing) * .5);
|
|
7589
|
+
}
|
|
7590
|
+
|
|
7498
7591
|
.p-1 {
|
|
7499
7592
|
padding: calc(var(--spacing) * 1);
|
|
7500
7593
|
}
|
|
@@ -7511,6 +7604,10 @@
|
|
|
7511
7604
|
padding: calc(var(--spacing) * 3);
|
|
7512
7605
|
}
|
|
7513
7606
|
|
|
7607
|
+
.p-3\.5 {
|
|
7608
|
+
padding: calc(var(--spacing) * 3.5);
|
|
7609
|
+
}
|
|
7610
|
+
|
|
7514
7611
|
.p-4 {
|
|
7515
7612
|
padding: calc(var(--spacing) * 4);
|
|
7516
7613
|
}
|
|
@@ -7619,6 +7716,10 @@
|
|
|
7619
7716
|
padding-top: calc(var(--spacing) * 1.5);
|
|
7620
7717
|
}
|
|
7621
7718
|
|
|
7719
|
+
.pt-2\.5 {
|
|
7720
|
+
padding-top: calc(var(--spacing) * 2.5);
|
|
7721
|
+
}
|
|
7722
|
+
|
|
7622
7723
|
.pt-4 {
|
|
7623
7724
|
padding-top: calc(var(--spacing) * 4);
|
|
7624
7725
|
}
|
|
@@ -7801,6 +7902,16 @@
|
|
|
7801
7902
|
line-height: 1;
|
|
7802
7903
|
}
|
|
7803
7904
|
|
|
7905
|
+
.leading-normal {
|
|
7906
|
+
--tw-leading: var(--leading-normal);
|
|
7907
|
+
line-height: var(--leading-normal);
|
|
7908
|
+
}
|
|
7909
|
+
|
|
7910
|
+
.leading-tight {
|
|
7911
|
+
--tw-leading: var(--leading-tight);
|
|
7912
|
+
line-height: var(--leading-tight);
|
|
7913
|
+
}
|
|
7914
|
+
|
|
7804
7915
|
.\!font-bold {
|
|
7805
7916
|
--tw-font-weight: var(--font-weight-bold) !important;
|
|
7806
7917
|
font-weight: var(--font-weight-bold) !important;
|
|
@@ -7871,28 +7982,48 @@
|
|
|
7871
7982
|
color: var(--color-blue-600) !important;
|
|
7872
7983
|
}
|
|
7873
7984
|
|
|
7874
|
-
.\!text-gray-300 {
|
|
7875
|
-
color: var(--color-gray-300) !important;
|
|
7876
|
-
}
|
|
7877
|
-
|
|
7878
7985
|
.\!text-white {
|
|
7879
7986
|
color: var(--color-white) !important;
|
|
7880
7987
|
}
|
|
7881
7988
|
|
|
7882
|
-
.text-\[\#
|
|
7883
|
-
color: #
|
|
7989
|
+
.text-\[\#1e40af\] {
|
|
7990
|
+
color: #1e40af;
|
|
7991
|
+
}
|
|
7992
|
+
|
|
7993
|
+
.text-\[\#3b82f6\] {
|
|
7994
|
+
color: #3b82f6;
|
|
7884
7995
|
}
|
|
7885
7996
|
|
|
7886
|
-
.text-\[\#
|
|
7887
|
-
color: #
|
|
7997
|
+
.text-\[\#10b981\] {
|
|
7998
|
+
color: #10b981;
|
|
7888
7999
|
}
|
|
7889
8000
|
|
|
7890
|
-
.text-\[\#
|
|
7891
|
-
color: #
|
|
8001
|
+
.text-\[\#065f46\] {
|
|
8002
|
+
color: #065f46;
|
|
7892
8003
|
}
|
|
7893
8004
|
|
|
7894
|
-
.text-\[\#
|
|
7895
|
-
color: #
|
|
8005
|
+
.text-\[\#991b1b\] {
|
|
8006
|
+
color: #991b1b;
|
|
8007
|
+
}
|
|
8008
|
+
|
|
8009
|
+
.text-\[\#3730a3\] {
|
|
8010
|
+
color: #3730a3;
|
|
8011
|
+
}
|
|
8012
|
+
|
|
8013
|
+
.text-\[\#6366f1\] {
|
|
8014
|
+
color: #6366f1;
|
|
8015
|
+
}
|
|
8016
|
+
|
|
8017
|
+
.text-\[\#92400e\] {
|
|
8018
|
+
color: #92400e;
|
|
8019
|
+
}
|
|
8020
|
+
|
|
8021
|
+
.text-\[\#ef4444\] {
|
|
8022
|
+
color: #ef4444;
|
|
8023
|
+
}
|
|
8024
|
+
|
|
8025
|
+
.text-\[\#f59e0b\] {
|
|
8026
|
+
color: #f59e0b;
|
|
7896
8027
|
}
|
|
7897
8028
|
|
|
7898
8029
|
.text-accent {
|
|
@@ -7977,6 +8108,10 @@
|
|
|
7977
8108
|
color: var(--color-gray-800);
|
|
7978
8109
|
}
|
|
7979
8110
|
|
|
8111
|
+
.text-gray-900 {
|
|
8112
|
+
color: var(--color-gray-900);
|
|
8113
|
+
}
|
|
8114
|
+
|
|
7980
8115
|
.text-green-400 {
|
|
7981
8116
|
color: var(--color-green-400);
|
|
7982
8117
|
}
|
|
@@ -8073,6 +8208,10 @@
|
|
|
8073
8208
|
text-underline-offset: 4px;
|
|
8074
8209
|
}
|
|
8075
8210
|
|
|
8211
|
+
.caret-transparent {
|
|
8212
|
+
caret-color: #0000;
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8076
8215
|
.opacity-0 {
|
|
8077
8216
|
opacity: 0;
|
|
8078
8217
|
}
|
|
@@ -8194,14 +8333,6 @@
|
|
|
8194
8333
|
outline-offset: 10px;
|
|
8195
8334
|
}
|
|
8196
8335
|
|
|
8197
|
-
.outline-\[\#696f7b\] {
|
|
8198
|
-
outline-color: #696f7b;
|
|
8199
|
-
}
|
|
8200
|
-
|
|
8201
|
-
.outline-\[\#4165ed\] {
|
|
8202
|
-
outline-color: #4165ed;
|
|
8203
|
-
}
|
|
8204
|
-
|
|
8205
8336
|
.outline-blue-200 {
|
|
8206
8337
|
outline-color: var(--color-blue-200);
|
|
8207
8338
|
}
|
|
@@ -8316,6 +8447,11 @@
|
|
|
8316
8447
|
transition-duration: .1s;
|
|
8317
8448
|
}
|
|
8318
8449
|
|
|
8450
|
+
.duration-150 {
|
|
8451
|
+
--tw-duration: .15s;
|
|
8452
|
+
transition-duration: .15s;
|
|
8453
|
+
}
|
|
8454
|
+
|
|
8319
8455
|
.duration-200 {
|
|
8320
8456
|
--tw-duration: .2s;
|
|
8321
8457
|
transition-duration: .2s;
|
|
@@ -8690,6 +8826,16 @@
|
|
|
8690
8826
|
background-color: var(--color-gray-200) !important;
|
|
8691
8827
|
}
|
|
8692
8828
|
|
|
8829
|
+
.hover\:bg-gray-200\/60:hover {
|
|
8830
|
+
background-color: #e5e7eb99;
|
|
8831
|
+
}
|
|
8832
|
+
|
|
8833
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8834
|
+
.hover\:bg-gray-200\/60:hover {
|
|
8835
|
+
background-color: color-mix(in oklab, var(--color-gray-200) 60%, transparent);
|
|
8836
|
+
}
|
|
8837
|
+
}
|
|
8838
|
+
|
|
8693
8839
|
.hover\:bg-gray-300:hover {
|
|
8694
8840
|
background-color: var(--color-gray-300);
|
|
8695
8841
|
}
|
|
@@ -8764,11 +8910,6 @@
|
|
|
8764
8910
|
}
|
|
8765
8911
|
}
|
|
8766
8912
|
|
|
8767
|
-
.hover\:font-bold:hover {
|
|
8768
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
8769
|
-
font-weight: var(--font-weight-bold);
|
|
8770
|
-
}
|
|
8771
|
-
|
|
8772
8913
|
.hover\:\!text-blue-600:hover {
|
|
8773
8914
|
color: var(--color-blue-600) !important;
|
|
8774
8915
|
}
|
|
@@ -8828,11 +8969,6 @@
|
|
|
8828
8969
|
outline-width: 1px;
|
|
8829
8970
|
}
|
|
8830
8971
|
|
|
8831
|
-
.hover\:outline-\[2px\]:hover {
|
|
8832
|
-
outline-style: var(--tw-outline-style);
|
|
8833
|
-
outline-width: 2px;
|
|
8834
|
-
}
|
|
8835
|
-
|
|
8836
8972
|
.hover\:before\:opacity-100:hover:before {
|
|
8837
8973
|
content: var(--tw-content);
|
|
8838
8974
|
opacity: 1;
|
|
@@ -8871,6 +9007,10 @@
|
|
|
8871
9007
|
--tw-ring-color: var(--color-blue-600);
|
|
8872
9008
|
}
|
|
8873
9009
|
|
|
9010
|
+
.focus\:ring-gray-300:focus {
|
|
9011
|
+
--tw-ring-color: var(--color-gray-300);
|
|
9012
|
+
}
|
|
9013
|
+
|
|
8874
9014
|
.focus\:ring-ring:focus {
|
|
8875
9015
|
--tw-ring-color: var(--ring);
|
|
8876
9016
|
}
|
package/dist/nextgen.d.ts
CHANGED
package/dist/nextgen.js
CHANGED
|
@@ -12,7 +12,7 @@ import { PathLayer } from "@deck.gl/layers";
|
|
|
12
12
|
import { LayerExtension, _mergeShaders } from "@deck.gl/core";
|
|
13
13
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
14
14
|
import { InfoCircledIcon, QuestionMarkCircledIcon, Cross2Icon, MagnifyingGlassIcon, ChevronDownIcon, ArrowLeftIcon, ArrowRightIcon, CheckIcon as CheckIcon$2 } from "@radix-ui/react-icons";
|
|
15
|
-
import { AlertTriangle, Check, GripHorizontal,
|
|
15
|
+
import { AlertTriangle, Check, GripHorizontal, TriangleAlert, Info, CircleAlert, CircleCheckBig, X, CheckIcon as CheckIcon$1, MapPin, Settings, Copy, CheckCheck, Maximize2, Minimize2, ChevronUp, ChevronDown, ChevronRight, ChevronLeft, EllipsisVertical, Eye, EyeOff, Search, Filter, Rows4, FoldHorizontal, Grid2x2CheckIcon, Download, FilterX, RotateCw, Fullscreen, Brackets, LucideEllipsisVertical, Columns3, CircleHelp } from "lucide-react";
|
|
16
16
|
export * from "lucide-react";
|
|
17
17
|
import copy from "copy-to-clipboard";
|
|
18
18
|
import emStyled from "@emotion/styled";
|
|
@@ -18793,12 +18793,6 @@ const Alert2 = forwardRef((props, ref) => {
|
|
|
18793
18793
|
const [queue] = useQueue(dialog);
|
|
18794
18794
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(AlertsContext.Provider, { value: { queue }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, children: /* @__PURE__ */ jsxRuntimeExports.jsx(AlertRouter, {}) }) });
|
|
18795
18795
|
});
|
|
18796
|
-
const ToasterSideColor = (props) => {
|
|
18797
|
-
const {
|
|
18798
|
-
type = "success"
|
|
18799
|
-
} = props;
|
|
18800
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative" });
|
|
18801
|
-
};
|
|
18802
18796
|
function getCircularProgressUtilityClass(slot) {
|
|
18803
18797
|
return generateUtilityClass$1("MuiCircularProgress", slot);
|
|
18804
18798
|
}
|
|
@@ -19124,34 +19118,63 @@ process.env.NODE_ENV !== "production" ? CircularProgress2.propTypes = {
|
|
|
19124
19118
|
*/
|
|
19125
19119
|
variant: PropTypes.oneOfType([PropTypes.oneOf(["outlined", "plain", "soft", "solid"]), PropTypes.string])
|
|
19126
19120
|
} : void 0;
|
|
19127
|
-
const
|
|
19128
|
-
|
|
19129
|
-
|
|
19130
|
-
|
|
19131
|
-
|
|
19132
|
-
|
|
19133
|
-
|
|
19134
|
-
|
|
19135
|
-
|
|
19136
|
-
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
|
|
19140
|
-
|
|
19121
|
+
const iconConfig = {
|
|
19122
|
+
success: {
|
|
19123
|
+
icon: CircleCheckBig,
|
|
19124
|
+
iconColor: "text-[#10b981]",
|
|
19125
|
+
// borderColor: 'border-l-[#10b981]',
|
|
19126
|
+
bgColor: "bg-[#f0fdf4]",
|
|
19127
|
+
textColor: "text-[#065f46]"
|
|
19128
|
+
},
|
|
19129
|
+
error: {
|
|
19130
|
+
icon: CircleAlert,
|
|
19131
|
+
iconColor: "text-[#ef4444]",
|
|
19132
|
+
// borderColor: 'border-l-[#ef4444]',
|
|
19133
|
+
bgColor: "bg-[#fef2f2]",
|
|
19134
|
+
textColor: "text-[#991b1b]"
|
|
19135
|
+
},
|
|
19136
|
+
info: {
|
|
19137
|
+
icon: Info,
|
|
19138
|
+
iconColor: "text-[#3b82f6]",
|
|
19139
|
+
// borderColor: 'border-l-[#3b82f6]',
|
|
19140
|
+
bgColor: "bg-[#eff6ff]",
|
|
19141
|
+
textColor: "text-[#1e40af]"
|
|
19142
|
+
},
|
|
19143
|
+
warning: {
|
|
19144
|
+
icon: TriangleAlert,
|
|
19145
|
+
iconColor: "text-[#f59e0b]",
|
|
19146
|
+
// borderColor: 'border-l-[#f59e0b]',
|
|
19147
|
+
bgColor: "bg-[#fffbeb]",
|
|
19148
|
+
textColor: "text-[#92400e]"
|
|
19149
|
+
},
|
|
19150
|
+
progress: {
|
|
19151
|
+
icon: null,
|
|
19152
|
+
iconColor: "text-[#6366f1]",
|
|
19153
|
+
// borderColor: 'border-l-[#6366f1]',
|
|
19154
|
+
bgColor: "bg-[#eef2ff]",
|
|
19155
|
+
textColor: "text-[#3730a3]"
|
|
19141
19156
|
}
|
|
19142
|
-
}
|
|
19157
|
+
};
|
|
19143
19158
|
const Sideicon = (props) => {
|
|
19144
19159
|
const {
|
|
19145
19160
|
type = "success",
|
|
19146
19161
|
icons = true
|
|
19147
19162
|
} = props;
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19153
|
-
|
|
19154
|
-
|
|
19163
|
+
if (!icons) return null;
|
|
19164
|
+
const config = iconConfig[type] || iconConfig.success;
|
|
19165
|
+
const Icon = config.icon;
|
|
19166
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-center shrink-0", children: type === "progress" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19167
|
+
CircularProgress2,
|
|
19168
|
+
{
|
|
19169
|
+
size: "sm",
|
|
19170
|
+
className: "w-5 h-5",
|
|
19171
|
+
sx: {
|
|
19172
|
+
"--CircularProgress-size": "20px",
|
|
19173
|
+
"--CircularProgress-trackColor": "#e5e7eb",
|
|
19174
|
+
"--CircularProgress-progressColor": "#6366f1"
|
|
19175
|
+
}
|
|
19176
|
+
}
|
|
19177
|
+
) : Icon ? /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: cn("w-5 h-5", config.iconColor), strokeWidth: 2 }) : null });
|
|
19155
19178
|
};
|
|
19156
19179
|
const ToasterBody = (props) => {
|
|
19157
19180
|
const { item } = props;
|
|
@@ -19164,16 +19187,26 @@ const ToasterBody = (props) => {
|
|
|
19164
19187
|
toast.dismiss(params.id);
|
|
19165
19188
|
toast.remove(params.id);
|
|
19166
19189
|
};
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
|
|
19170
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("
|
|
19171
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19190
|
+
iconConfig[item?.type] || iconConfig.success;
|
|
19191
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
19192
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-start justify-between gap-3 mb-1", children: [
|
|
19193
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h4", { className: "font-semibold text-[13px] text-gray-900 leading-tight", children: props.header }),
|
|
19194
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19195
|
+
"button",
|
|
19196
|
+
{
|
|
19197
|
+
onClick: handleDismiss,
|
|
19198
|
+
className: cn(
|
|
19199
|
+
"shrink-0 p-0.5 rounded transition-colors duration-150",
|
|
19200
|
+
"hover:bg-gray-200/60",
|
|
19201
|
+
"focus:outline-none focus:ring-2 focus:ring-gray-300"
|
|
19202
|
+
),
|
|
19203
|
+
"aria-label": "Dismiss notification",
|
|
19204
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(X, { className: "w-3.5 h-3.5 text-gray-500", strokeWidth: 2 })
|
|
19205
|
+
}
|
|
19206
|
+
)
|
|
19172
19207
|
] }),
|
|
19173
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className:
|
|
19174
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex
|
|
19175
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: button(item, params) }, index);
|
|
19176
|
-
}) })
|
|
19208
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-[12px] text-gray-600 leading-normal", children: props.body }),
|
|
19209
|
+
buttons.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex gap-2 mt-3 pt-2.5 border-t border-gray-200", children: buttons.map((button, index) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: button(item, params) }, index)) })
|
|
19177
19210
|
] }, "_tb_" + params.id);
|
|
19178
19211
|
};
|
|
19179
19212
|
const Mainframe = (props) => {
|
|
@@ -19192,22 +19225,20 @@ const Mainframe = (props) => {
|
|
|
19192
19225
|
toast.remove(params.id);
|
|
19193
19226
|
};
|
|
19194
19227
|
item.toast = toast;
|
|
19195
|
-
console.log("New Notification : ", item);
|
|
19196
19228
|
}
|
|
19197
19229
|
return () => {
|
|
19198
|
-
toast.remove(params.id);
|
|
19199
|
-
item?.onAfterLoad?.({ ...item, ref });
|
|
19200
19230
|
if (item?.toastId) {
|
|
19201
19231
|
delete context.notifyArray.current[item.toastId];
|
|
19202
19232
|
}
|
|
19203
19233
|
};
|
|
19204
|
-
}, [
|
|
19234
|
+
}, []);
|
|
19205
19235
|
const enterAnimation = {
|
|
19206
|
-
initial: { opacity: 0,
|
|
19207
|
-
animate: { opacity: 1,
|
|
19236
|
+
initial: { opacity: 0, y: -10 },
|
|
19237
|
+
animate: { opacity: 1, y: 0 },
|
|
19238
|
+
exit: { opacity: 0, scale: 0.95 },
|
|
19208
19239
|
transition: {
|
|
19209
|
-
duration: 0.
|
|
19210
|
-
|
|
19240
|
+
duration: 0.2,
|
|
19241
|
+
ease: "easeOut"
|
|
19211
19242
|
}
|
|
19212
19243
|
};
|
|
19213
19244
|
useEffect(() => {
|
|
@@ -19216,15 +19247,20 @@ const Mainframe = (props) => {
|
|
|
19216
19247
|
}
|
|
19217
19248
|
item?.onLoad?.({ ...item, ref });
|
|
19218
19249
|
}, []);
|
|
19250
|
+
const config = iconConfig[item?.type] || iconConfig.success;
|
|
19219
19251
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19220
19252
|
motion.div,
|
|
19221
19253
|
{
|
|
19222
19254
|
...enterAnimation,
|
|
19223
19255
|
ref,
|
|
19224
19256
|
"data-toastid": item?.toastId || "",
|
|
19225
|
-
className: "z-
|
|
19226
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn(
|
|
19227
|
-
|
|
19257
|
+
className: "z-502",
|
|
19258
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: cn(
|
|
19259
|
+
"bg-white rounded-sm border border-gray-200 shadow-sm",
|
|
19260
|
+
"border-l-[3px]",
|
|
19261
|
+
config.borderColor
|
|
19262
|
+
), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-[360px] flex items-start gap-3 p-3.5", children: [
|
|
19263
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Sideicon, { ...props }),
|
|
19228
19264
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ToasterBody, { ...props, item })
|
|
19229
19265
|
] }) })
|
|
19230
19266
|
}
|
|
@@ -19237,7 +19273,7 @@ const Toast = (props) => {
|
|
|
19237
19273
|
duration: duration2 = 6e3,
|
|
19238
19274
|
ref
|
|
19239
19275
|
} = props;
|
|
19240
|
-
const id =
|
|
19276
|
+
const id = useRandomId();
|
|
19241
19277
|
useEffect(() => {
|
|
19242
19278
|
if (item.type && id) {
|
|
19243
19279
|
if (!item.header) {
|
|
@@ -19251,12 +19287,27 @@ const Toast = (props) => {
|
|
|
19251
19287
|
item.header = "Information";
|
|
19252
19288
|
} else if (item.type == "progress") {
|
|
19253
19289
|
item.header = "In-Progress";
|
|
19290
|
+
} else if (item.type == "inprogress") {
|
|
19291
|
+
item.header = "In-Progress";
|
|
19292
|
+
} else if (item.type == "in-progress") {
|
|
19293
|
+
item.header = "In-Progress";
|
|
19254
19294
|
} else if (item.type == "success") {
|
|
19255
19295
|
item.header = "Success";
|
|
19256
19296
|
}
|
|
19257
19297
|
}
|
|
19258
19298
|
toast.custom(
|
|
19259
|
-
(t) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19299
|
+
(t) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19300
|
+
"div",
|
|
19301
|
+
{
|
|
19302
|
+
ref,
|
|
19303
|
+
id,
|
|
19304
|
+
className: cn(
|
|
19305
|
+
"custom-toast z-52",
|
|
19306
|
+
t.visible ? "show" : "hide"
|
|
19307
|
+
),
|
|
19308
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Mainframe, { params: t, ...item, item }, t.id)
|
|
19309
|
+
}
|
|
19310
|
+
),
|
|
19260
19311
|
{
|
|
19261
19312
|
position: "bottom-right",
|
|
19262
19313
|
duration: item?.duration || duration2
|
|
@@ -19636,7 +19687,18 @@ const Element$1 = (props) => {
|
|
|
19636
19687
|
type: type ? "auto-complete" : "select",
|
|
19637
19688
|
tmpdescription,
|
|
19638
19689
|
loading: spinLoading.toString(),
|
|
19639
|
-
className: cn("w-full", className)
|
|
19690
|
+
className: cn("w-full caret-transparent", className),
|
|
19691
|
+
inputProps: {
|
|
19692
|
+
onKeyDown: (e) => {
|
|
19693
|
+
if (e.key == "ArrowDown") {
|
|
19694
|
+
const nextOption = options2[options2.findIndex((item) => item == unControlledValue) + 1];
|
|
19695
|
+
onChangeEvent(e, nextOption);
|
|
19696
|
+
} else if (e.key == "ArrowUp") {
|
|
19697
|
+
const nextOption = options2[options2.findIndex((item) => item == unControlledValue) - 1];
|
|
19698
|
+
onChangeEvent(e, nextOption);
|
|
19699
|
+
}
|
|
19700
|
+
}
|
|
19701
|
+
}
|
|
19640
19702
|
}
|
|
19641
19703
|
) }),
|
|
19642
19704
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -25780,7 +25842,9 @@ const AllInputComponent = (props) => {
|
|
|
25780
25842
|
type: ttype,
|
|
25781
25843
|
invalid: _invalid.toString(),
|
|
25782
25844
|
onChange: handleChange2,
|
|
25845
|
+
...inputProps,
|
|
25783
25846
|
onKeyDown: (event) => {
|
|
25847
|
+
inputProps?.onKeyDown?.(event);
|
|
25784
25848
|
if (event.key === "Enter") {
|
|
25785
25849
|
const e = {
|
|
25786
25850
|
ref2,
|
|
@@ -25800,8 +25864,7 @@ const AllInputComponent = (props) => {
|
|
|
25800
25864
|
};
|
|
25801
25865
|
onEnterKey(e, debouncedText);
|
|
25802
25866
|
}
|
|
25803
|
-
}
|
|
25804
|
-
...inputProps
|
|
25867
|
+
}
|
|
25805
25868
|
}
|
|
25806
25869
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25807
25870
|
Textarea,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abdellatifui/react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.96",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/nextgen.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
"module": "dist/nextgen.js",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"dev": "vite --host",
|
|
14
|
-
"
|
|
15
|
-
"build": "tsc -b && vite build",
|
|
14
|
+
"build": "git add . && git commit -m 'update' && npm version patch && tsc -b && vite build && npm publish --access=public",
|
|
16
15
|
"lint": "eslint .",
|
|
17
16
|
"preview": "vite preview",
|
|
18
17
|
"storybook": "storybook dev -p 6006",
|