@fileverse/ui 4.2.0 → 4.2.1-toast-1
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/index.css +129 -100
- package/dist/index.es.d.ts +15 -5
- package/dist/index.es.js +8260 -8161
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -539,6 +539,7 @@ video {
|
|
|
539
539
|
--color-bg-danger-light: 354, 100%, 94%, 1; /* Red-100 */
|
|
540
540
|
--color-bg-default-inverse: 0, 0%, 0%, 1; /* Black */
|
|
541
541
|
--color-bg-tertiary: 195, 10%, 92%, 1; /* Tertiary */
|
|
542
|
+
--color-bg-success: 126, 73%, 39%, 1;
|
|
542
543
|
--color-bg-success-light: 124, 79%, 93%, 1; /* Green-100 */
|
|
543
544
|
|
|
544
545
|
/* Border */
|
|
@@ -547,7 +548,10 @@ video {
|
|
|
547
548
|
--color-border-light: 0, 0%, 100%, 1; /* White */
|
|
548
549
|
--color-border-active: 0, 0%, 0%, 1; /* Black */
|
|
549
550
|
--color-border-focused: 260, 100%, 52%, 1; /* Blue-700 */
|
|
551
|
+
--color-border-warning: 18, 88%, 55%, 1; /* Red-500 */
|
|
550
552
|
--color-border-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
553
|
+
--color-border-success: 127, 69%, 29%, 1;
|
|
554
|
+
--color-border-info: 260, 100%, 52%, 1;
|
|
551
555
|
--color-border-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
552
556
|
|
|
553
557
|
/* Icon */
|
|
@@ -604,10 +608,11 @@ video {
|
|
|
604
608
|
--color-bg-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
605
609
|
--color-bg-brand-hover: 50, 60%, 45%, 1; /* Yellow-500 */
|
|
606
610
|
--color-bg-brand-light: 57, 92%, 76%, 1; /* Yellow-100 */
|
|
607
|
-
--color-bg-danger: 354,
|
|
611
|
+
--color-bg-danger: 354, 84%, 42%, 1; /* Red-200 */
|
|
608
612
|
--color-bg-danger-light: 356, 100%, 97%, 1; /* Red-50 */
|
|
609
613
|
--color-bg-default-inverse: 0, 0%, 100%, 1; /* White */
|
|
610
614
|
--color-bg-tertiary: 0, 0%, 25%, 1; /* Gray-800 */
|
|
615
|
+
--color-bg-success: 128, 59%, 20%, 1;
|
|
611
616
|
--color-bg-success-light: 128, 59%, 20%, 1; /* Green-900 */
|
|
612
617
|
|
|
613
618
|
/* Border */
|
|
@@ -617,6 +622,9 @@ video {
|
|
|
617
622
|
--color-border-active: 0, 0%, 91%, 1; /* Gray-200 */
|
|
618
623
|
--color-border-focused: 254, 100%, 73%, 1; /* Blue-400 */
|
|
619
624
|
--color-border-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
625
|
+
--color-border-warning: 22, 89%, 62%, 1; /* Red-500 */
|
|
626
|
+
--color-border-success: 126, 74%, 73%, 1;
|
|
627
|
+
--color-border-info: 254, 100%, 73%, 1;
|
|
620
628
|
--color-border-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
621
629
|
|
|
622
630
|
/* Icon */
|
|
@@ -1172,9 +1180,6 @@ video {
|
|
|
1172
1180
|
.top-1\/2 {
|
|
1173
1181
|
top: 50%;
|
|
1174
1182
|
}
|
|
1175
|
-
.top-2 {
|
|
1176
|
-
top: 0.5rem;
|
|
1177
|
-
}
|
|
1178
1183
|
.top-3 {
|
|
1179
1184
|
top: 0.75rem;
|
|
1180
1185
|
}
|
|
@@ -1323,6 +1328,10 @@ video {
|
|
|
1323
1328
|
.aspect-video {
|
|
1324
1329
|
aspect-ratio: 16 / 9;
|
|
1325
1330
|
}
|
|
1331
|
+
.size-\[18px\] {
|
|
1332
|
+
width: 18px;
|
|
1333
|
+
height: 18px;
|
|
1334
|
+
}
|
|
1326
1335
|
.\!h-6 {
|
|
1327
1336
|
height: 1.5rem !important;
|
|
1328
1337
|
}
|
|
@@ -1568,6 +1577,9 @@ video {
|
|
|
1568
1577
|
.w-\[280px\] {
|
|
1569
1578
|
width: 280px;
|
|
1570
1579
|
}
|
|
1580
|
+
.w-\[320px\] {
|
|
1581
|
+
width: 320px;
|
|
1582
|
+
}
|
|
1571
1583
|
.w-\[350px\] {
|
|
1572
1584
|
width: 350px;
|
|
1573
1585
|
}
|
|
@@ -1958,6 +1970,9 @@ video {
|
|
|
1958
1970
|
.gap-8 {
|
|
1959
1971
|
gap: 2rem;
|
|
1960
1972
|
}
|
|
1973
|
+
.gap-\[4px\] {
|
|
1974
|
+
gap: 4px;
|
|
1975
|
+
}
|
|
1961
1976
|
.-space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1962
1977
|
--tw-space-x-reverse: 0;
|
|
1963
1978
|
margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
|
|
@@ -2018,18 +2033,27 @@ video {
|
|
|
2018
2033
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
2019
2034
|
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
2020
2035
|
}
|
|
2036
|
+
.self-start {
|
|
2037
|
+
align-self: flex-start;
|
|
2038
|
+
}
|
|
2021
2039
|
.overflow-auto {
|
|
2022
2040
|
overflow: auto;
|
|
2023
2041
|
}
|
|
2024
2042
|
.overflow-hidden {
|
|
2025
2043
|
overflow: hidden;
|
|
2026
2044
|
}
|
|
2045
|
+
.overflow-clip {
|
|
2046
|
+
overflow: clip;
|
|
2047
|
+
}
|
|
2027
2048
|
.overflow-y-auto {
|
|
2028
2049
|
overflow-y: auto;
|
|
2029
2050
|
}
|
|
2030
2051
|
.overflow-x-hidden {
|
|
2031
2052
|
overflow-x: hidden;
|
|
2032
2053
|
}
|
|
2054
|
+
.overscroll-contain {
|
|
2055
|
+
overscroll-behavior: contain;
|
|
2056
|
+
}
|
|
2033
2057
|
.truncate {
|
|
2034
2058
|
overflow: hidden;
|
|
2035
2059
|
text-overflow: ellipsis;
|
|
@@ -2138,6 +2162,9 @@ video {
|
|
|
2138
2162
|
.border-b-2 {
|
|
2139
2163
|
border-bottom-width: 2px;
|
|
2140
2164
|
}
|
|
2165
|
+
.border-l-4 {
|
|
2166
|
+
border-left-width: 4px;
|
|
2167
|
+
}
|
|
2141
2168
|
.border-r {
|
|
2142
2169
|
border-right-width: 1px;
|
|
2143
2170
|
}
|
|
@@ -2163,6 +2190,9 @@ video {
|
|
|
2163
2190
|
--tw-border-opacity: 1;
|
|
2164
2191
|
border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
|
|
2165
2192
|
}
|
|
2193
|
+
.border-\[hsl\(var\(--color-border-default\)\)\] {
|
|
2194
|
+
border-color: hsl(var(--color-border-default));
|
|
2195
|
+
}
|
|
2166
2196
|
.border-gray-200 {
|
|
2167
2197
|
--tw-border-opacity: 1;
|
|
2168
2198
|
border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
|
|
@@ -2170,9 +2200,36 @@ video {
|
|
|
2170
2200
|
.border-transparent {
|
|
2171
2201
|
border-color: transparent;
|
|
2172
2202
|
}
|
|
2203
|
+
.border-l-\[hsl\(var\(--color-border-danger\)\)\] {
|
|
2204
|
+
border-left-color: hsl(var(--color-border-danger));
|
|
2205
|
+
}
|
|
2206
|
+
.border-l-\[hsl\(var\(--color-border-default\)\)\] {
|
|
2207
|
+
border-left-color: hsl(var(--color-border-default));
|
|
2208
|
+
}
|
|
2209
|
+
.border-l-\[hsl\(var\(--color-border-info\)\)\] {
|
|
2210
|
+
border-left-color: hsl(var(--color-border-info));
|
|
2211
|
+
}
|
|
2212
|
+
.border-l-\[hsl\(var\(--color-border-success\)\)\] {
|
|
2213
|
+
border-left-color: hsl(var(--color-border-success));
|
|
2214
|
+
}
|
|
2215
|
+
.border-l-\[hsl\(var\(--color-border-warning\)\)\] {
|
|
2216
|
+
border-left-color: hsl(var(--color-border-warning));
|
|
2217
|
+
}
|
|
2173
2218
|
.\!bg-transparent {
|
|
2174
2219
|
background-color: transparent !important;
|
|
2175
2220
|
}
|
|
2221
|
+
.bg-\[hsl\(var\(--color-bg-danger\)\)\] {
|
|
2222
|
+
background-color: hsl(var(--color-bg-danger));
|
|
2223
|
+
}
|
|
2224
|
+
.bg-\[hsl\(var\(--color-bg-default\)\)\] {
|
|
2225
|
+
background-color: hsl(var(--color-bg-default));
|
|
2226
|
+
}
|
|
2227
|
+
.bg-\[hsl\(var\(--color-bg-success\)\)\] {
|
|
2228
|
+
background-color: hsl(var(--color-bg-success));
|
|
2229
|
+
}
|
|
2230
|
+
.bg-\[var\(--color-bg-default\)\] {
|
|
2231
|
+
background-color: var(--color-bg-default);
|
|
2232
|
+
}
|
|
2176
2233
|
.bg-green-700 {
|
|
2177
2234
|
--tw-bg-opacity: 1;
|
|
2178
2235
|
background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
|
|
@@ -2432,6 +2489,27 @@ video {
|
|
|
2432
2489
|
--tw-text-opacity: 1;
|
|
2433
2490
|
color: rgb(119 129 138 / var(--tw-text-opacity, 1));
|
|
2434
2491
|
}
|
|
2492
|
+
.text-\[hsl\(var\(--color-border-danger\)\)\] {
|
|
2493
|
+
color: hsl(var(--color-border-danger));
|
|
2494
|
+
}
|
|
2495
|
+
.text-\[hsl\(var\(--color-border-info\)\)\] {
|
|
2496
|
+
color: hsl(var(--color-border-info));
|
|
2497
|
+
}
|
|
2498
|
+
.text-\[hsl\(var\(--color-border-success\)\)\] {
|
|
2499
|
+
color: hsl(var(--color-border-success));
|
|
2500
|
+
}
|
|
2501
|
+
.text-\[hsl\(var\(--color-border-warning\)\)\] {
|
|
2502
|
+
color: hsl(var(--color-border-warning));
|
|
2503
|
+
}
|
|
2504
|
+
.text-\[hsl\(var\(--color-text-default\)\)\] {
|
|
2505
|
+
color: hsl(var(--color-text-default));
|
|
2506
|
+
}
|
|
2507
|
+
.text-\[hsl\(var\(--color-text-inverse\)\)\] {
|
|
2508
|
+
color: hsl(var(--color-text-inverse));
|
|
2509
|
+
}
|
|
2510
|
+
.text-current {
|
|
2511
|
+
color: currentColor;
|
|
2512
|
+
}
|
|
2435
2513
|
.text-gray-400 {
|
|
2436
2514
|
--tw-text-opacity: 1;
|
|
2437
2515
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -2554,6 +2632,9 @@ video {
|
|
|
2554
2632
|
.duration-300 {
|
|
2555
2633
|
transition-duration: 300ms;
|
|
2556
2634
|
}
|
|
2635
|
+
.duration-500 {
|
|
2636
|
+
transition-duration: 500ms;
|
|
2637
|
+
}
|
|
2557
2638
|
.ease-in-out {
|
|
2558
2639
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2559
2640
|
}
|
|
@@ -2577,6 +2658,9 @@ video {
|
|
|
2577
2658
|
.duration-300 {
|
|
2578
2659
|
animation-duration: 300ms;
|
|
2579
2660
|
}
|
|
2661
|
+
.duration-500 {
|
|
2662
|
+
animation-duration: 500ms;
|
|
2663
|
+
}
|
|
2580
2664
|
.ease-in-out {
|
|
2581
2665
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2582
2666
|
}
|
|
@@ -2677,7 +2761,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2677
2761
|
}
|
|
2678
2762
|
|
|
2679
2763
|
.toast-mini {
|
|
2680
|
-
padding: 12px !important;
|
|
2764
|
+
padding: 8px 12px !important;
|
|
2681
2765
|
gap: 8px !important;
|
|
2682
2766
|
width: -moz-fit-content !important;
|
|
2683
2767
|
width: fit-content !important;
|
|
@@ -2707,7 +2791,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2707
2791
|
padding-bottom: 20px !important;
|
|
2708
2792
|
}
|
|
2709
2793
|
.left-space-lg {
|
|
2710
|
-
padding-left: 20px !important;
|
|
2794
|
+
padding-left: 20px !important;
|
|
2711
2795
|
}
|
|
2712
2796
|
.right-space-lg {
|
|
2713
2797
|
padding-right: 20px !important;
|
|
@@ -2740,7 +2824,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2740
2824
|
padding-right: 12px !important;
|
|
2741
2825
|
}
|
|
2742
2826
|
|
|
2743
|
-
|
|
2744
2827
|
.space-xsm {
|
|
2745
2828
|
padding: 8px !important;
|
|
2746
2829
|
}
|
|
@@ -2776,10 +2859,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2776
2859
|
padding-right: 4px !important;
|
|
2777
2860
|
}
|
|
2778
2861
|
.bottom-space-2xsm {
|
|
2779
|
-
padding-bottom: 4px !important
|
|
2862
|
+
padding-bottom: 4px !important;
|
|
2780
2863
|
}
|
|
2781
2864
|
.bottom-space-2xlg {
|
|
2782
|
-
padding-bottom: 32px !important
|
|
2865
|
+
padding-bottom: 32px !important;
|
|
2783
2866
|
}
|
|
2784
2867
|
.space-2xsm {
|
|
2785
2868
|
padding: 4px !important;
|
|
@@ -2811,7 +2894,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2811
2894
|
padding-top: 32px !important;
|
|
2812
2895
|
}
|
|
2813
2896
|
|
|
2814
|
-
|
|
2815
2897
|
.gap-xsm {
|
|
2816
2898
|
gap: 8px !important;
|
|
2817
2899
|
}
|
|
@@ -2877,6 +2959,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2877
2959
|
.checked\:color-bg-default-inverse:checked {
|
|
2878
2960
|
background-color: hsl(var(--color-bg-default-inverse));
|
|
2879
2961
|
}
|
|
2962
|
+
.focus-within\:color-button-secondary-hover:focus-within {
|
|
2963
|
+
background-color: hsl(var(--color-button-secondary-hover));
|
|
2964
|
+
}
|
|
2880
2965
|
.hover\:color-text-inverse:hover {
|
|
2881
2966
|
color: hsl(var(--color-text-inverse));
|
|
2882
2967
|
}
|
|
@@ -2938,72 +3023,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2938
3023
|
.disabled\:color-border-disabled:disabled {
|
|
2939
3024
|
border-color: hsl(var(--color-border-disabled));
|
|
2940
3025
|
}
|
|
2941
|
-
.group.secondary .group-\[\.secondary\]\:color-text-default {
|
|
2942
|
-
color: hsl(var(--color-text-default));
|
|
2943
|
-
}
|
|
2944
|
-
.group.danger .group-\[\.danger\]\:color-text-danger {
|
|
2945
|
-
color: hsl(var(--color-text-danger));
|
|
2946
|
-
}
|
|
2947
|
-
.group.success .group-\[\.success\]\:color-text-success {
|
|
2948
|
-
color: hsl(var(--color-text-success));
|
|
2949
|
-
}
|
|
2950
|
-
.group.default .group-\[\.default\]\:color-text-inverse {
|
|
2951
|
-
color: hsl(var(--color-text-inverse));
|
|
2952
|
-
}
|
|
2953
|
-
.group.secondary .group-\[\.secondary\]\:color-bg-secondary {
|
|
2954
|
-
background-color: hsl(var(--color-bg-secondary));
|
|
2955
|
-
}
|
|
2956
|
-
.group.danger .group-\[\.danger\]\:color-bg-danger-light {
|
|
2957
|
-
background-color: hsl(var(--color-bg-danger-light));
|
|
2958
|
-
}
|
|
2959
|
-
.group.success .group-\[\.success\]\:color-bg-success-light {
|
|
2960
|
-
background-color: hsl(var(--color-bg-success-light));
|
|
2961
|
-
}
|
|
2962
|
-
.group.default .group-\[\.default\]\:color-bg-default-inverse {
|
|
2963
|
-
background-color: hsl(var(--color-bg-default-inverse));
|
|
2964
|
-
}
|
|
2965
|
-
.group.default .group-\[\.default\]\:color-border-default {
|
|
2966
|
-
border-color: hsl(var(--color-border-default));
|
|
2967
|
-
}
|
|
2968
|
-
.group.secondary .group-\[\.secondary\]\:color-border-default {
|
|
2969
|
-
border-color: hsl(var(--color-border-default));
|
|
2970
|
-
}
|
|
2971
|
-
.group.success .group-\[\.success\]\:color-border-default {
|
|
2972
|
-
border-color: hsl(var(--color-border-default));
|
|
2973
|
-
}
|
|
2974
|
-
.group.secondary .group-\[\.secondary\]\:color-border-hover {
|
|
2975
|
-
border-color: hsl(var(--color-border-hover));
|
|
2976
|
-
}
|
|
2977
|
-
.group.success .group-\[\.success\]\:color-border-hover {
|
|
2978
|
-
border-color: hsl(var(--color-border-hover));
|
|
2979
|
-
}
|
|
2980
|
-
.group.danger .group-\[\.danger\]\:color-border-danger {
|
|
2981
|
-
border-color: hsl(var(--color-border-danger));
|
|
2982
|
-
}
|
|
2983
|
-
.group.secondary .group-\[\.secondary\]\:hover\:color-text-default:hover {
|
|
2984
|
-
color: hsl(var(--color-text-default));
|
|
2985
|
-
}
|
|
2986
|
-
.group.danger .group-\[\.danger\]\:hover\:color-text-danger:hover {
|
|
2987
|
-
color: hsl(var(--color-text-danger));
|
|
2988
|
-
}
|
|
2989
|
-
.group.success .group-\[\.success\]\:hover\:color-text-success:hover {
|
|
2990
|
-
color: hsl(var(--color-text-success));
|
|
2991
|
-
}
|
|
2992
|
-
.group.default .group-\[\.default\]\:hover\:color-text-inverse:hover {
|
|
2993
|
-
color: hsl(var(--color-text-inverse));
|
|
2994
|
-
}
|
|
2995
|
-
.group.secondary .group-\[\.secondary\]\:hover\:color-bg-secondary:hover {
|
|
2996
|
-
background-color: hsl(var(--color-bg-secondary));
|
|
2997
|
-
}
|
|
2998
|
-
.group.danger .group-\[\.danger\]\:hover\:color-bg-danger-light:hover {
|
|
2999
|
-
background-color: hsl(var(--color-bg-danger-light));
|
|
3000
|
-
}
|
|
3001
|
-
.group.success .group-\[\.success\]\:hover\:color-bg-success-light:hover {
|
|
3002
|
-
background-color: hsl(var(--color-bg-success-light));
|
|
3003
|
-
}
|
|
3004
|
-
.group.default .group-\[\.default\]\:hover\:color-bg-default-inverse:hover {
|
|
3005
|
-
background-color: hsl(var(--color-bg-default-inverse));
|
|
3006
|
-
}
|
|
3007
3026
|
.aria-selected\:color-text-default[aria-selected="true"] {
|
|
3008
3027
|
color: hsl(var(--color-text-default));
|
|
3009
3028
|
}
|
|
@@ -3118,6 +3137,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3118
3137
|
.hover\:\!border-transparent:hover {
|
|
3119
3138
|
border-color: transparent !important;
|
|
3120
3139
|
}
|
|
3140
|
+
.hover\:bg-\[rgba\(0\2c 0\2c 0\2c 0\.1\)\]:hover {
|
|
3141
|
+
background-color: rgba(0,0,0,0.1);
|
|
3142
|
+
}
|
|
3121
3143
|
.hover\:bg-inherit:hover {
|
|
3122
3144
|
background-color: inherit;
|
|
3123
3145
|
}
|
|
@@ -3131,9 +3153,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3131
3153
|
--tw-brightness: brightness(.95);
|
|
3132
3154
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
3133
3155
|
}
|
|
3134
|
-
.focus\:opacity-100:focus {
|
|
3135
|
-
opacity: 1;
|
|
3136
|
-
}
|
|
3137
3156
|
.focus\:shadow-none:focus {
|
|
3138
3157
|
--tw-shadow: 0 0 #0000;
|
|
3139
3158
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -3197,10 +3216,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3197
3216
|
.group:hover .group-hover\:opacity-100 {
|
|
3198
3217
|
opacity: 1;
|
|
3199
3218
|
}
|
|
3200
|
-
.group:hover .group-hover\:brightness-95 {
|
|
3201
|
-
--tw-brightness: brightness(.95);
|
|
3202
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
3203
|
-
}
|
|
3204
3219
|
.peer:checked ~ .peer-checked\:block {
|
|
3205
3220
|
display: block;
|
|
3206
3221
|
}
|
|
@@ -3302,6 +3317,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3302
3317
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3303
3318
|
transition-duration: 300ms;
|
|
3304
3319
|
}
|
|
3320
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3321
|
+
transition-duration: 300ms;
|
|
3322
|
+
}
|
|
3305
3323
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3306
3324
|
transition-duration: 500ms;
|
|
3307
3325
|
}
|
|
@@ -3362,8 +3380,8 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3362
3380
|
.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
|
|
3363
3381
|
--tw-exit-translate-y: 100%;
|
|
3364
3382
|
}
|
|
3365
|
-
.data-\[state\=closed\]\:slide-out-to-bottom
|
|
3366
|
-
--tw-exit-translate-y: 100
|
|
3383
|
+
.data-\[state\=closed\]\:slide-out-to-bottom-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3384
|
+
--tw-exit-translate-y: calc(100% + 16px * 2);
|
|
3367
3385
|
}
|
|
3368
3386
|
.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
|
|
3369
3387
|
--tw-exit-translate-x: -100%;
|
|
@@ -3371,14 +3389,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3371
3389
|
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
|
|
3372
3390
|
--tw-exit-translate-x: -50%;
|
|
3373
3391
|
}
|
|
3374
|
-
.data-\[state\=closed\]\:slide-out-to-left
|
|
3375
|
-
--tw-exit-translate-x: -100
|
|
3392
|
+
.data-\[state\=closed\]\:slide-out-to-left-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3393
|
+
--tw-exit-translate-x: -calc(100% + 16px * 2);
|
|
3376
3394
|
}
|
|
3377
3395
|
.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
|
|
3378
3396
|
--tw-exit-translate-x: 100%;
|
|
3379
3397
|
}
|
|
3380
|
-
.data-\[state\=closed\]\:slide-out-to-right
|
|
3381
|
-
--tw-exit-translate-x: 100
|
|
3398
|
+
.data-\[state\=closed\]\:slide-out-to-right-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3399
|
+
--tw-exit-translate-x: calc(100% + 16px * 2);
|
|
3382
3400
|
}
|
|
3383
3401
|
.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
|
|
3384
3402
|
--tw-exit-translate-y: -100%;
|
|
@@ -3386,14 +3404,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3386
3404
|
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
|
|
3387
3405
|
--tw-exit-translate-y: -48%;
|
|
3388
3406
|
}
|
|
3389
|
-
.data-\[state\=closed\]\:slide-out-to-top
|
|
3390
|
-
--tw-exit-translate-y: -100
|
|
3407
|
+
.data-\[state\=closed\]\:slide-out-to-top-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3408
|
+
--tw-exit-translate-y: -calc(100% + 16px * 2);
|
|
3391
3409
|
}
|
|
3392
3410
|
.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
|
|
3393
3411
|
--tw-enter-translate-y: 100%;
|
|
3394
3412
|
}
|
|
3395
|
-
.data-\[state\=open\]\:slide-in-from-bottom
|
|
3396
|
-
--tw-enter-translate-y: 100
|
|
3413
|
+
.data-\[state\=open\]\:slide-in-from-bottom-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3414
|
+
--tw-enter-translate-y: calc(100% + 16px * 2);
|
|
3397
3415
|
}
|
|
3398
3416
|
.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
|
|
3399
3417
|
--tw-enter-translate-x: -100%;
|
|
@@ -3401,24 +3419,36 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3401
3419
|
.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
|
|
3402
3420
|
--tw-enter-translate-x: -50%;
|
|
3403
3421
|
}
|
|
3422
|
+
.data-\[state\=open\]\:slide-in-from-left-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3423
|
+
--tw-enter-translate-x: -calc(100% + 16px * 2);
|
|
3424
|
+
}
|
|
3404
3425
|
.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
|
|
3405
3426
|
--tw-enter-translate-x: 100%;
|
|
3406
3427
|
}
|
|
3428
|
+
.data-\[state\=open\]\:slide-in-from-right-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3429
|
+
--tw-enter-translate-x: calc(100% + 16px * 2);
|
|
3430
|
+
}
|
|
3407
3431
|
.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
|
|
3408
3432
|
--tw-enter-translate-y: -100%;
|
|
3409
3433
|
}
|
|
3410
3434
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
|
|
3411
3435
|
--tw-enter-translate-y: -48%;
|
|
3412
3436
|
}
|
|
3413
|
-
.data-\[state\=open\]\:slide-in-from-top
|
|
3414
|
-
--tw-enter-translate-y: -100
|
|
3437
|
+
.data-\[state\=open\]\:slide-in-from-top-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3438
|
+
--tw-enter-translate-y: -calc(100% + 16px * 2);
|
|
3415
3439
|
}
|
|
3416
3440
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3417
3441
|
animation-duration: 300ms;
|
|
3418
3442
|
}
|
|
3443
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3444
|
+
animation-duration: 300ms;
|
|
3445
|
+
}
|
|
3419
3446
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3420
3447
|
animation-duration: 500ms;
|
|
3421
3448
|
}
|
|
3449
|
+
.dark\:border-l-\[hsl\(var\(--color-border-active\)\)\]:is(.dark *) {
|
|
3450
|
+
border-left-color: hsl(var(--color-border-active));
|
|
3451
|
+
}
|
|
3422
3452
|
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3423
3453
|
--tw-bg-opacity: 1;
|
|
3424
3454
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
@@ -3434,6 +3464,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3434
3464
|
--tw-text-opacity: 1;
|
|
3435
3465
|
color: rgb(54 59 63 / var(--tw-text-opacity, 1));
|
|
3436
3466
|
}
|
|
3467
|
+
.dark\:hover\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]:hover:is(.dark *) {
|
|
3468
|
+
background-color: rgba(255,255,255,0.2);
|
|
3469
|
+
}
|
|
3437
3470
|
@media (min-width: 640px) {
|
|
3438
3471
|
|
|
3439
3472
|
.sm\:max-w-fit {
|
|
@@ -3503,10 +3536,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3503
3536
|
width: auto;
|
|
3504
3537
|
}
|
|
3505
3538
|
|
|
3506
|
-
.md\:max-w-\[420px\] {
|
|
3507
|
-
max-width: 420px;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
3539
|
.md\:max-w-min {
|
|
3511
3540
|
max-width: -moz-min-content;
|
|
3512
3541
|
max-width: min-content;
|
|
@@ -3716,4 +3745,4 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3716
3745
|
}
|
|
3717
3746
|
.\[\&_tr\]\:border-b tr {
|
|
3718
3747
|
border-bottom-width: 1px;
|
|
3719
|
-
}
|
|
3748
|
+
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -949,13 +949,13 @@ declare interface TimePickerProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
949
949
|
declare type TimePickerType = "minutes" | "seconds" | "hours" | "12hours";
|
|
950
950
|
|
|
951
951
|
export declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
952
|
-
variant?: "default" | "
|
|
952
|
+
variant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
|
|
953
|
+
type?: "normal" | "mini" | null | undefined;
|
|
953
954
|
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom" | null | undefined;
|
|
954
955
|
} & ClassProp) | undefined) => string> & {
|
|
955
956
|
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "center-top" | "center-bottom";
|
|
956
957
|
duration?: number;
|
|
957
|
-
|
|
958
|
-
customIcon?: string;
|
|
958
|
+
toastType?: "mini" | "normal";
|
|
959
959
|
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
960
960
|
|
|
961
961
|
export declare function toast({ ...props }: Toast_2): {
|
|
@@ -984,9 +984,19 @@ export declare interface ToasterProps {
|
|
|
984
984
|
|
|
985
985
|
declare type ToasterToast = ToastProps & {
|
|
986
986
|
id: string;
|
|
987
|
-
title?:
|
|
987
|
+
title?: string;
|
|
988
|
+
toastType?: "normal" | "mini";
|
|
989
|
+
isLoading?: boolean;
|
|
990
|
+
iconType?: "icon" | "emoji";
|
|
991
|
+
customEmoji?: string;
|
|
992
|
+
customIcon?: keyof typeof UltimateIcons;
|
|
988
993
|
description?: React_2.ReactNode;
|
|
989
|
-
|
|
994
|
+
showCloseButton?: boolean;
|
|
995
|
+
isActionable?: boolean;
|
|
996
|
+
action?: {
|
|
997
|
+
label: string;
|
|
998
|
+
handler: () => void;
|
|
999
|
+
};
|
|
990
1000
|
};
|
|
991
1001
|
|
|
992
1002
|
export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
|