@fileverse/ui 4.2.0 → 4.2.1-toast-2
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 +122 -100
- package/dist/index.es.d.ts +15 -5
- package/dist/index.es.js +8266 -8163
- package/package.json +2 -2
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 */
|
|
@@ -627,6 +635,8 @@ video {
|
|
|
627
635
|
--color-icon-disabled: 0, 0%, 25%, 1; /* Gray-800 */
|
|
628
636
|
--color-icon-inverse: 207, 8%, 23%, 1; /* Gray-100 */
|
|
629
637
|
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
638
|
+
--color-icon-warning: 354, 96%, 59%, 1; /* Red-500 */
|
|
639
|
+
--color-icon-info: 354, 96%, 59%, 1; /* Red-500 */
|
|
630
640
|
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
631
641
|
--color-icon-on-brand: 0, 0%, 18%, 1; /* Gray-950 */
|
|
632
642
|
/* Utility */
|
|
@@ -867,6 +877,10 @@ video {
|
|
|
867
877
|
background-color: hsl(var(--color-bg-success-light));
|
|
868
878
|
}
|
|
869
879
|
|
|
880
|
+
.color-bg-success {
|
|
881
|
+
background-color: hsl(var(--color-bg-success));
|
|
882
|
+
}
|
|
883
|
+
|
|
870
884
|
.\!color-bg-default-inverse {
|
|
871
885
|
background-color: hsl(var(--color-bg-default-inverse)) !important;
|
|
872
886
|
}
|
|
@@ -916,6 +930,19 @@ video {
|
|
|
916
930
|
border-color: hsl(var(--color-border-default));
|
|
917
931
|
}
|
|
918
932
|
|
|
933
|
+
.color-border-toast-warning {
|
|
934
|
+
border-left-color: hsl(var(--color-border-warning));
|
|
935
|
+
}
|
|
936
|
+
.color-border-toast-error {
|
|
937
|
+
border-left-color: hsl(var(--color-border-danger));
|
|
938
|
+
}
|
|
939
|
+
.color-border-toast-success {
|
|
940
|
+
border-left-color: hsl(var(--color-border-success));
|
|
941
|
+
}
|
|
942
|
+
.color-border-toast-info {
|
|
943
|
+
border-left-color: hsl(var(--color-border-info));
|
|
944
|
+
}
|
|
945
|
+
|
|
919
946
|
.color-border-hover {
|
|
920
947
|
border-color: hsl(var(--color-border-hover));
|
|
921
948
|
}
|
|
@@ -960,6 +987,20 @@ video {
|
|
|
960
987
|
color: hsl(var(--color-icon-inverse));
|
|
961
988
|
}
|
|
962
989
|
|
|
990
|
+
.color-icon-success {
|
|
991
|
+
color: hsl(var(--color-icon-success));
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.color-icon-danger {
|
|
995
|
+
color: hsl(var(--color-icon-danger));
|
|
996
|
+
}
|
|
997
|
+
.color-icon-warning {
|
|
998
|
+
color: hsl(var(--color-icon-warning));
|
|
999
|
+
}
|
|
1000
|
+
.color-icon-info {
|
|
1001
|
+
color: hsl(var(--color-icon-info));
|
|
1002
|
+
}
|
|
1003
|
+
|
|
963
1004
|
.color-utility-overlay {
|
|
964
1005
|
background-color: hsl(var(--color-utility-overlay));
|
|
965
1006
|
}
|
|
@@ -1172,9 +1213,6 @@ video {
|
|
|
1172
1213
|
.top-1\/2 {
|
|
1173
1214
|
top: 50%;
|
|
1174
1215
|
}
|
|
1175
|
-
.top-2 {
|
|
1176
|
-
top: 0.5rem;
|
|
1177
|
-
}
|
|
1178
1216
|
.top-3 {
|
|
1179
1217
|
top: 0.75rem;
|
|
1180
1218
|
}
|
|
@@ -1556,6 +1594,9 @@ video {
|
|
|
1556
1594
|
.w-\[180px\] {
|
|
1557
1595
|
width: 180px;
|
|
1558
1596
|
}
|
|
1597
|
+
.w-\[18px\] {
|
|
1598
|
+
width: 18px;
|
|
1599
|
+
}
|
|
1559
1600
|
.w-\[200px\] {
|
|
1560
1601
|
width: 200px;
|
|
1561
1602
|
}
|
|
@@ -1568,6 +1609,9 @@ video {
|
|
|
1568
1609
|
.w-\[280px\] {
|
|
1569
1610
|
width: 280px;
|
|
1570
1611
|
}
|
|
1612
|
+
.w-\[320px\] {
|
|
1613
|
+
width: 320px;
|
|
1614
|
+
}
|
|
1571
1615
|
.w-\[350px\] {
|
|
1572
1616
|
width: 350px;
|
|
1573
1617
|
}
|
|
@@ -1958,6 +2002,9 @@ video {
|
|
|
1958
2002
|
.gap-8 {
|
|
1959
2003
|
gap: 2rem;
|
|
1960
2004
|
}
|
|
2005
|
+
.gap-\[4px\] {
|
|
2006
|
+
gap: 4px;
|
|
2007
|
+
}
|
|
1961
2008
|
.-space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1962
2009
|
--tw-space-x-reverse: 0;
|
|
1963
2010
|
margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
|
|
@@ -2018,18 +2065,27 @@ video {
|
|
|
2018
2065
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
2019
2066
|
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
2020
2067
|
}
|
|
2068
|
+
.self-start {
|
|
2069
|
+
align-self: flex-start;
|
|
2070
|
+
}
|
|
2021
2071
|
.overflow-auto {
|
|
2022
2072
|
overflow: auto;
|
|
2023
2073
|
}
|
|
2024
2074
|
.overflow-hidden {
|
|
2025
2075
|
overflow: hidden;
|
|
2026
2076
|
}
|
|
2077
|
+
.overflow-clip {
|
|
2078
|
+
overflow: clip;
|
|
2079
|
+
}
|
|
2027
2080
|
.overflow-y-auto {
|
|
2028
2081
|
overflow-y: auto;
|
|
2029
2082
|
}
|
|
2030
2083
|
.overflow-x-hidden {
|
|
2031
2084
|
overflow-x: hidden;
|
|
2032
2085
|
}
|
|
2086
|
+
.overscroll-contain {
|
|
2087
|
+
overscroll-behavior: contain;
|
|
2088
|
+
}
|
|
2033
2089
|
.truncate {
|
|
2034
2090
|
overflow: hidden;
|
|
2035
2091
|
text-overflow: ellipsis;
|
|
@@ -2126,6 +2182,9 @@ video {
|
|
|
2126
2182
|
.border {
|
|
2127
2183
|
border-width: 1px;
|
|
2128
2184
|
}
|
|
2185
|
+
.border-0 {
|
|
2186
|
+
border-width: 0px;
|
|
2187
|
+
}
|
|
2129
2188
|
.border-2 {
|
|
2130
2189
|
border-width: 2px;
|
|
2131
2190
|
}
|
|
@@ -2138,6 +2197,9 @@ video {
|
|
|
2138
2197
|
.border-b-2 {
|
|
2139
2198
|
border-bottom-width: 2px;
|
|
2140
2199
|
}
|
|
2200
|
+
.border-l-4 {
|
|
2201
|
+
border-left-width: 4px;
|
|
2202
|
+
}
|
|
2141
2203
|
.border-r {
|
|
2142
2204
|
border-right-width: 1px;
|
|
2143
2205
|
}
|
|
@@ -2170,6 +2232,9 @@ video {
|
|
|
2170
2232
|
.border-transparent {
|
|
2171
2233
|
border-color: transparent;
|
|
2172
2234
|
}
|
|
2235
|
+
.border-l-\[hsl\(var\(--color-border-default\)\)\] {
|
|
2236
|
+
border-left-color: hsl(var(--color-border-default));
|
|
2237
|
+
}
|
|
2173
2238
|
.\!bg-transparent {
|
|
2174
2239
|
background-color: transparent !important;
|
|
2175
2240
|
}
|
|
@@ -2432,6 +2497,12 @@ video {
|
|
|
2432
2497
|
--tw-text-opacity: 1;
|
|
2433
2498
|
color: rgb(119 129 138 / var(--tw-text-opacity, 1));
|
|
2434
2499
|
}
|
|
2500
|
+
.text-\[hsl\(var\(--color-text-inverse\)\)\] {
|
|
2501
|
+
color: hsl(var(--color-text-inverse));
|
|
2502
|
+
}
|
|
2503
|
+
.text-current {
|
|
2504
|
+
color: currentColor;
|
|
2505
|
+
}
|
|
2435
2506
|
.text-gray-400 {
|
|
2436
2507
|
--tw-text-opacity: 1;
|
|
2437
2508
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -2554,6 +2625,9 @@ video {
|
|
|
2554
2625
|
.duration-300 {
|
|
2555
2626
|
transition-duration: 300ms;
|
|
2556
2627
|
}
|
|
2628
|
+
.duration-500 {
|
|
2629
|
+
transition-duration: 500ms;
|
|
2630
|
+
}
|
|
2557
2631
|
.ease-in-out {
|
|
2558
2632
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2559
2633
|
}
|
|
@@ -2577,6 +2651,9 @@ video {
|
|
|
2577
2651
|
.duration-300 {
|
|
2578
2652
|
animation-duration: 300ms;
|
|
2579
2653
|
}
|
|
2654
|
+
.duration-500 {
|
|
2655
|
+
animation-duration: 500ms;
|
|
2656
|
+
}
|
|
2580
2657
|
.ease-in-out {
|
|
2581
2658
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2582
2659
|
}
|
|
@@ -2677,7 +2754,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2677
2754
|
}
|
|
2678
2755
|
|
|
2679
2756
|
.toast-mini {
|
|
2680
|
-
padding: 12px !important;
|
|
2757
|
+
padding: 8px 12px !important;
|
|
2681
2758
|
gap: 8px !important;
|
|
2682
2759
|
width: -moz-fit-content !important;
|
|
2683
2760
|
width: fit-content !important;
|
|
@@ -2707,7 +2784,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2707
2784
|
padding-bottom: 20px !important;
|
|
2708
2785
|
}
|
|
2709
2786
|
.left-space-lg {
|
|
2710
|
-
padding-left: 20px !important;
|
|
2787
|
+
padding-left: 20px !important;
|
|
2711
2788
|
}
|
|
2712
2789
|
.right-space-lg {
|
|
2713
2790
|
padding-right: 20px !important;
|
|
@@ -2740,7 +2817,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2740
2817
|
padding-right: 12px !important;
|
|
2741
2818
|
}
|
|
2742
2819
|
|
|
2743
|
-
|
|
2744
2820
|
.space-xsm {
|
|
2745
2821
|
padding: 8px !important;
|
|
2746
2822
|
}
|
|
@@ -2776,10 +2852,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2776
2852
|
padding-right: 4px !important;
|
|
2777
2853
|
}
|
|
2778
2854
|
.bottom-space-2xsm {
|
|
2779
|
-
padding-bottom: 4px !important
|
|
2855
|
+
padding-bottom: 4px !important;
|
|
2780
2856
|
}
|
|
2781
2857
|
.bottom-space-2xlg {
|
|
2782
|
-
padding-bottom: 32px !important
|
|
2858
|
+
padding-bottom: 32px !important;
|
|
2783
2859
|
}
|
|
2784
2860
|
.space-2xsm {
|
|
2785
2861
|
padding: 4px !important;
|
|
@@ -2811,7 +2887,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2811
2887
|
padding-top: 32px !important;
|
|
2812
2888
|
}
|
|
2813
2889
|
|
|
2814
|
-
|
|
2815
2890
|
.gap-xsm {
|
|
2816
2891
|
gap: 8px !important;
|
|
2817
2892
|
}
|
|
@@ -2877,6 +2952,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2877
2952
|
.checked\:color-bg-default-inverse:checked {
|
|
2878
2953
|
background-color: hsl(var(--color-bg-default-inverse));
|
|
2879
2954
|
}
|
|
2955
|
+
.focus-within\:color-button-secondary-hover:focus-within {
|
|
2956
|
+
background-color: hsl(var(--color-button-secondary-hover));
|
|
2957
|
+
}
|
|
2880
2958
|
.hover\:color-text-inverse:hover {
|
|
2881
2959
|
color: hsl(var(--color-text-inverse));
|
|
2882
2960
|
}
|
|
@@ -2938,72 +3016,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2938
3016
|
.disabled\:color-border-disabled:disabled {
|
|
2939
3017
|
border-color: hsl(var(--color-border-disabled));
|
|
2940
3018
|
}
|
|
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
3019
|
.aria-selected\:color-text-default[aria-selected="true"] {
|
|
3008
3020
|
color: hsl(var(--color-text-default));
|
|
3009
3021
|
}
|
|
@@ -3118,6 +3130,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3118
3130
|
.hover\:\!border-transparent:hover {
|
|
3119
3131
|
border-color: transparent !important;
|
|
3120
3132
|
}
|
|
3133
|
+
.hover\:bg-\[rgba\(0\2c 0\2c 0\2c 0\.1\)\]:hover {
|
|
3134
|
+
background-color: rgba(0,0,0,0.1);
|
|
3135
|
+
}
|
|
3121
3136
|
.hover\:bg-inherit:hover {
|
|
3122
3137
|
background-color: inherit;
|
|
3123
3138
|
}
|
|
@@ -3131,9 +3146,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3131
3146
|
--tw-brightness: brightness(.95);
|
|
3132
3147
|
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
3148
|
}
|
|
3134
|
-
.focus\:opacity-100:focus {
|
|
3135
|
-
opacity: 1;
|
|
3136
|
-
}
|
|
3137
3149
|
.focus\:shadow-none:focus {
|
|
3138
3150
|
--tw-shadow: 0 0 #0000;
|
|
3139
3151
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -3197,10 +3209,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3197
3209
|
.group:hover .group-hover\:opacity-100 {
|
|
3198
3210
|
opacity: 1;
|
|
3199
3211
|
}
|
|
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
3212
|
.peer:checked ~ .peer-checked\:block {
|
|
3205
3213
|
display: block;
|
|
3206
3214
|
}
|
|
@@ -3302,6 +3310,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3302
3310
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3303
3311
|
transition-duration: 300ms;
|
|
3304
3312
|
}
|
|
3313
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3314
|
+
transition-duration: 300ms;
|
|
3315
|
+
}
|
|
3305
3316
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3306
3317
|
transition-duration: 500ms;
|
|
3307
3318
|
}
|
|
@@ -3362,8 +3373,8 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3362
3373
|
.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
|
|
3363
3374
|
--tw-exit-translate-y: 100%;
|
|
3364
3375
|
}
|
|
3365
|
-
.data-\[state\=closed\]\:slide-out-to-bottom
|
|
3366
|
-
--tw-exit-translate-y: 100
|
|
3376
|
+
.data-\[state\=closed\]\:slide-out-to-bottom-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3377
|
+
--tw-exit-translate-y: calc(100% + 16px * 2);
|
|
3367
3378
|
}
|
|
3368
3379
|
.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
|
|
3369
3380
|
--tw-exit-translate-x: -100%;
|
|
@@ -3371,14 +3382,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3371
3382
|
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
|
|
3372
3383
|
--tw-exit-translate-x: -50%;
|
|
3373
3384
|
}
|
|
3374
|
-
.data-\[state\=closed\]\:slide-out-to-left
|
|
3375
|
-
--tw-exit-translate-x: -100
|
|
3385
|
+
.data-\[state\=closed\]\:slide-out-to-left-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3386
|
+
--tw-exit-translate-x: -calc(100% + 16px * 2);
|
|
3376
3387
|
}
|
|
3377
3388
|
.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
|
|
3378
3389
|
--tw-exit-translate-x: 100%;
|
|
3379
3390
|
}
|
|
3380
|
-
.data-\[state\=closed\]\:slide-out-to-right
|
|
3381
|
-
--tw-exit-translate-x: 100
|
|
3391
|
+
.data-\[state\=closed\]\:slide-out-to-right-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3392
|
+
--tw-exit-translate-x: calc(100% + 16px * 2);
|
|
3382
3393
|
}
|
|
3383
3394
|
.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
|
|
3384
3395
|
--tw-exit-translate-y: -100%;
|
|
@@ -3386,14 +3397,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3386
3397
|
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
|
|
3387
3398
|
--tw-exit-translate-y: -48%;
|
|
3388
3399
|
}
|
|
3389
|
-
.data-\[state\=closed\]\:slide-out-to-top
|
|
3390
|
-
--tw-exit-translate-y: -100
|
|
3400
|
+
.data-\[state\=closed\]\:slide-out-to-top-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3401
|
+
--tw-exit-translate-y: -calc(100% + 16px * 2);
|
|
3391
3402
|
}
|
|
3392
3403
|
.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
|
|
3393
3404
|
--tw-enter-translate-y: 100%;
|
|
3394
3405
|
}
|
|
3395
|
-
.data-\[state\=open\]\:slide-in-from-bottom
|
|
3396
|
-
--tw-enter-translate-y: 100
|
|
3406
|
+
.data-\[state\=open\]\:slide-in-from-bottom-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3407
|
+
--tw-enter-translate-y: calc(100% + 16px * 2);
|
|
3397
3408
|
}
|
|
3398
3409
|
.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
|
|
3399
3410
|
--tw-enter-translate-x: -100%;
|
|
@@ -3401,24 +3412,36 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3401
3412
|
.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
|
|
3402
3413
|
--tw-enter-translate-x: -50%;
|
|
3403
3414
|
}
|
|
3415
|
+
.data-\[state\=open\]\:slide-in-from-left-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3416
|
+
--tw-enter-translate-x: -calc(100% + 16px * 2);
|
|
3417
|
+
}
|
|
3404
3418
|
.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
|
|
3405
3419
|
--tw-enter-translate-x: 100%;
|
|
3406
3420
|
}
|
|
3421
|
+
.data-\[state\=open\]\:slide-in-from-right-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3422
|
+
--tw-enter-translate-x: calc(100% + 16px * 2);
|
|
3423
|
+
}
|
|
3407
3424
|
.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
|
|
3408
3425
|
--tw-enter-translate-y: -100%;
|
|
3409
3426
|
}
|
|
3410
3427
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
|
|
3411
3428
|
--tw-enter-translate-y: -48%;
|
|
3412
3429
|
}
|
|
3413
|
-
.data-\[state\=open\]\:slide-in-from-top
|
|
3414
|
-
--tw-enter-translate-y: -100
|
|
3430
|
+
.data-\[state\=open\]\:slide-in-from-top-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3431
|
+
--tw-enter-translate-y: -calc(100% + 16px * 2);
|
|
3415
3432
|
}
|
|
3416
3433
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3417
3434
|
animation-duration: 300ms;
|
|
3418
3435
|
}
|
|
3436
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3437
|
+
animation-duration: 300ms;
|
|
3438
|
+
}
|
|
3419
3439
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3420
3440
|
animation-duration: 500ms;
|
|
3421
3441
|
}
|
|
3442
|
+
.dark\:border-l-\[hsl\(var\(--color-border-active\)\)\]:is(.dark *) {
|
|
3443
|
+
border-left-color: hsl(var(--color-border-active));
|
|
3444
|
+
}
|
|
3422
3445
|
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3423
3446
|
--tw-bg-opacity: 1;
|
|
3424
3447
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
@@ -3434,6 +3457,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3434
3457
|
--tw-text-opacity: 1;
|
|
3435
3458
|
color: rgb(54 59 63 / var(--tw-text-opacity, 1));
|
|
3436
3459
|
}
|
|
3460
|
+
.dark\:hover\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]:hover:is(.dark *) {
|
|
3461
|
+
background-color: rgba(255,255,255,0.2);
|
|
3462
|
+
}
|
|
3437
3463
|
@media (min-width: 640px) {
|
|
3438
3464
|
|
|
3439
3465
|
.sm\:max-w-fit {
|
|
@@ -3503,10 +3529,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3503
3529
|
width: auto;
|
|
3504
3530
|
}
|
|
3505
3531
|
|
|
3506
|
-
.md\:max-w-\[420px\] {
|
|
3507
|
-
max-width: 420px;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
3532
|
.md\:max-w-min {
|
|
3511
3533
|
max-width: -moz-min-content;
|
|
3512
3534
|
max-width: min-content;
|
|
@@ -3716,4 +3738,4 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3716
3738
|
}
|
|
3717
3739
|
.\[\&_tr\]\:border-b tr {
|
|
3718
3740
|
border-bottom-width: 1px;
|
|
3719
|
-
}
|
|
3741
|
+
}
|
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>;
|