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