@fileverse/ui 4.2.1 → 5.0.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 +133 -102
- package/dist/index.es.d.ts +16 -5
- package/dist/index.es.js +9083 -8928
- 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 */
|
|
@@ -558,6 +562,8 @@ video {
|
|
|
558
562
|
--color-icon-disabled: 206, 9%, 66%, 1; /* Gray-500 */
|
|
559
563
|
--color-icon-inverse: 0, 0%, 100%, 1; /* White */
|
|
560
564
|
--color-icon-danger: 354, 96%, 59%, 1; /* Red-500 */
|
|
565
|
+
--color-icon-warning: 18, 88%, 55%, 1;
|
|
566
|
+
--color-icon-info: 260, 100%, 52%, 1;
|
|
561
567
|
--color-icon-success: 127, 69%, 29%, 1; /* Green-700 */
|
|
562
568
|
--color-icon-on-brand: 207, 8%, 23%, 1; /* Gray-900 */
|
|
563
569
|
|
|
@@ -604,10 +610,11 @@ video {
|
|
|
604
610
|
--color-bg-brand: 50, 74%, 54%, 1; /* Yellow-400 */
|
|
605
611
|
--color-bg-brand-hover: 50, 60%, 45%, 1; /* Yellow-500 */
|
|
606
612
|
--color-bg-brand-light: 57, 92%, 76%, 1; /* Yellow-100 */
|
|
607
|
-
--color-bg-danger: 354,
|
|
613
|
+
--color-bg-danger: 354, 84%, 42%, 1; /* Red-200 */
|
|
608
614
|
--color-bg-danger-light: 356, 100%, 97%, 1; /* Red-50 */
|
|
609
615
|
--color-bg-default-inverse: 0, 0%, 100%, 1; /* White */
|
|
610
616
|
--color-bg-tertiary: 0, 0%, 25%, 1; /* Gray-800 */
|
|
617
|
+
--color-bg-success: 128, 59%, 20%, 1;
|
|
611
618
|
--color-bg-success-light: 128, 59%, 20%, 1; /* Green-900 */
|
|
612
619
|
|
|
613
620
|
/* Border */
|
|
@@ -617,6 +624,9 @@ video {
|
|
|
617
624
|
--color-border-active: 0, 0%, 91%, 1; /* Gray-200 */
|
|
618
625
|
--color-border-focused: 254, 100%, 73%, 1; /* Blue-400 */
|
|
619
626
|
--color-border-danger: 354, 100%, 70%, 1; /* Red-400 */
|
|
627
|
+
--color-border-warning: 22, 89%, 62%, 1; /* Red-500 */
|
|
628
|
+
--color-border-success: 126, 74%, 73%, 1;
|
|
629
|
+
--color-border-info: 254, 100%, 73%, 1;
|
|
620
630
|
--color-border-disabled: 0, 0%, 53%, 1; /* Gray-400 */
|
|
621
631
|
|
|
622
632
|
/* Icon */
|
|
@@ -626,8 +636,10 @@ video {
|
|
|
626
636
|
--color-icon-secondary: 0, 0%, 53%, 1; /* Gray-400 */
|
|
627
637
|
--color-icon-disabled: 0, 0%, 25%, 1; /* Gray-800 */
|
|
628
638
|
--color-icon-inverse: 207, 8%, 23%, 1; /* Gray-100 */
|
|
629
|
-
--color-icon-danger: 354,
|
|
630
|
-
--color-icon-
|
|
639
|
+
--color-icon-danger: 354, 100%, 70%, 1;
|
|
640
|
+
--color-icon-warning: 22, 89%, 62%, 1;
|
|
641
|
+
--color-icon-info: 254, 100%, 73%, 1;
|
|
642
|
+
--color-icon-success: 126, 74%, 73%, 1;
|
|
631
643
|
--color-icon-on-brand: 0, 0%, 18%, 1; /* Gray-950 */
|
|
632
644
|
/* Utility */
|
|
633
645
|
--color-utility-overlay: 0, 0%, 0%, 0.72; /* Black 72% */
|
|
@@ -867,6 +879,10 @@ video {
|
|
|
867
879
|
background-color: hsl(var(--color-bg-success-light));
|
|
868
880
|
}
|
|
869
881
|
|
|
882
|
+
.color-bg-success {
|
|
883
|
+
background-color: hsl(var(--color-bg-success));
|
|
884
|
+
}
|
|
885
|
+
|
|
870
886
|
.\!color-bg-default-inverse {
|
|
871
887
|
background-color: hsl(var(--color-bg-default-inverse)) !important;
|
|
872
888
|
}
|
|
@@ -916,6 +932,19 @@ video {
|
|
|
916
932
|
border-color: hsl(var(--color-border-default));
|
|
917
933
|
}
|
|
918
934
|
|
|
935
|
+
.color-border-toast-warning {
|
|
936
|
+
border-left-color: hsl(var(--color-border-warning));
|
|
937
|
+
}
|
|
938
|
+
.color-border-toast-error {
|
|
939
|
+
border-left-color: hsl(var(--color-border-danger));
|
|
940
|
+
}
|
|
941
|
+
.color-border-toast-success {
|
|
942
|
+
border-left-color: hsl(var(--color-border-success));
|
|
943
|
+
}
|
|
944
|
+
.color-border-toast-info {
|
|
945
|
+
border-left-color: hsl(var(--color-border-info));
|
|
946
|
+
}
|
|
947
|
+
|
|
919
948
|
.color-border-hover {
|
|
920
949
|
border-color: hsl(var(--color-border-hover));
|
|
921
950
|
}
|
|
@@ -960,6 +989,20 @@ video {
|
|
|
960
989
|
color: hsl(var(--color-icon-inverse));
|
|
961
990
|
}
|
|
962
991
|
|
|
992
|
+
.color-icon-success {
|
|
993
|
+
color: hsl(var(--color-icon-success));
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.color-icon-danger {
|
|
997
|
+
color: hsl(var(--color-icon-danger));
|
|
998
|
+
}
|
|
999
|
+
.color-icon-warning {
|
|
1000
|
+
color: hsl(var(--color-icon-warning));
|
|
1001
|
+
}
|
|
1002
|
+
.color-icon-info {
|
|
1003
|
+
color: hsl(var(--color-icon-info));
|
|
1004
|
+
}
|
|
1005
|
+
|
|
963
1006
|
.color-utility-overlay {
|
|
964
1007
|
background-color: hsl(var(--color-utility-overlay));
|
|
965
1008
|
}
|
|
@@ -1172,9 +1215,6 @@ video {
|
|
|
1172
1215
|
.top-1\/2 {
|
|
1173
1216
|
top: 50%;
|
|
1174
1217
|
}
|
|
1175
|
-
.top-2 {
|
|
1176
|
-
top: 0.5rem;
|
|
1177
|
-
}
|
|
1178
1218
|
.top-3 {
|
|
1179
1219
|
top: 0.75rem;
|
|
1180
1220
|
}
|
|
@@ -1556,6 +1596,9 @@ video {
|
|
|
1556
1596
|
.w-\[180px\] {
|
|
1557
1597
|
width: 180px;
|
|
1558
1598
|
}
|
|
1599
|
+
.w-\[18px\] {
|
|
1600
|
+
width: 18px;
|
|
1601
|
+
}
|
|
1559
1602
|
.w-\[200px\] {
|
|
1560
1603
|
width: 200px;
|
|
1561
1604
|
}
|
|
@@ -1568,6 +1611,9 @@ video {
|
|
|
1568
1611
|
.w-\[280px\] {
|
|
1569
1612
|
width: 280px;
|
|
1570
1613
|
}
|
|
1614
|
+
.w-\[320px\] {
|
|
1615
|
+
width: 320px;
|
|
1616
|
+
}
|
|
1571
1617
|
.w-\[350px\] {
|
|
1572
1618
|
width: 350px;
|
|
1573
1619
|
}
|
|
@@ -1958,6 +2004,9 @@ video {
|
|
|
1958
2004
|
.gap-8 {
|
|
1959
2005
|
gap: 2rem;
|
|
1960
2006
|
}
|
|
2007
|
+
.gap-\[4px\] {
|
|
2008
|
+
gap: 4px;
|
|
2009
|
+
}
|
|
1961
2010
|
.-space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1962
2011
|
--tw-space-x-reverse: 0;
|
|
1963
2012
|
margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
|
|
@@ -2018,18 +2067,27 @@ video {
|
|
|
2018
2067
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
2019
2068
|
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
2020
2069
|
}
|
|
2070
|
+
.self-start {
|
|
2071
|
+
align-self: flex-start;
|
|
2072
|
+
}
|
|
2021
2073
|
.overflow-auto {
|
|
2022
2074
|
overflow: auto;
|
|
2023
2075
|
}
|
|
2024
2076
|
.overflow-hidden {
|
|
2025
2077
|
overflow: hidden;
|
|
2026
2078
|
}
|
|
2079
|
+
.overflow-clip {
|
|
2080
|
+
overflow: clip;
|
|
2081
|
+
}
|
|
2027
2082
|
.overflow-y-auto {
|
|
2028
2083
|
overflow-y: auto;
|
|
2029
2084
|
}
|
|
2030
2085
|
.overflow-x-hidden {
|
|
2031
2086
|
overflow-x: hidden;
|
|
2032
2087
|
}
|
|
2088
|
+
.overscroll-contain {
|
|
2089
|
+
overscroll-behavior: contain;
|
|
2090
|
+
}
|
|
2033
2091
|
.truncate {
|
|
2034
2092
|
overflow: hidden;
|
|
2035
2093
|
text-overflow: ellipsis;
|
|
@@ -2132,12 +2190,22 @@ video {
|
|
|
2132
2190
|
.border-\[0\.5px\] {
|
|
2133
2191
|
border-width: 0.5px;
|
|
2134
2192
|
}
|
|
2193
|
+
.border-y {
|
|
2194
|
+
border-top-width: 1px;
|
|
2195
|
+
border-bottom-width: 1px;
|
|
2196
|
+
}
|
|
2135
2197
|
.border-b {
|
|
2136
2198
|
border-bottom-width: 1px;
|
|
2137
2199
|
}
|
|
2138
2200
|
.border-b-2 {
|
|
2139
2201
|
border-bottom-width: 2px;
|
|
2140
2202
|
}
|
|
2203
|
+
.border-l {
|
|
2204
|
+
border-left-width: 1px;
|
|
2205
|
+
}
|
|
2206
|
+
.border-l-4 {
|
|
2207
|
+
border-left-width: 4px;
|
|
2208
|
+
}
|
|
2141
2209
|
.border-r {
|
|
2142
2210
|
border-right-width: 1px;
|
|
2143
2211
|
}
|
|
@@ -2170,6 +2238,9 @@ video {
|
|
|
2170
2238
|
.border-transparent {
|
|
2171
2239
|
border-color: transparent;
|
|
2172
2240
|
}
|
|
2241
|
+
.border-l-\[hsl\(var\(--color-border-default\)\)\] {
|
|
2242
|
+
border-left-color: hsl(var(--color-border-default));
|
|
2243
|
+
}
|
|
2173
2244
|
.\!bg-transparent {
|
|
2174
2245
|
background-color: transparent !important;
|
|
2175
2246
|
}
|
|
@@ -2304,6 +2375,9 @@ video {
|
|
|
2304
2375
|
.\!pb-0 {
|
|
2305
2376
|
padding-bottom: 0px !important;
|
|
2306
2377
|
}
|
|
2378
|
+
.\!pb-\[calc\(16px\+24px\)\] {
|
|
2379
|
+
padding-bottom: calc(16px + 24px) !important;
|
|
2380
|
+
}
|
|
2307
2381
|
.\!pr-0 {
|
|
2308
2382
|
padding-right: 0px !important;
|
|
2309
2383
|
}
|
|
@@ -2432,6 +2506,12 @@ video {
|
|
|
2432
2506
|
--tw-text-opacity: 1;
|
|
2433
2507
|
color: rgb(119 129 138 / var(--tw-text-opacity, 1));
|
|
2434
2508
|
}
|
|
2509
|
+
.text-\[hsl\(var\(--color-text-inverse\)\)\] {
|
|
2510
|
+
color: hsl(var(--color-text-inverse));
|
|
2511
|
+
}
|
|
2512
|
+
.text-current {
|
|
2513
|
+
color: currentColor;
|
|
2514
|
+
}
|
|
2435
2515
|
.text-gray-400 {
|
|
2436
2516
|
--tw-text-opacity: 1;
|
|
2437
2517
|
color: rgb(156 163 175 / var(--tw-text-opacity, 1));
|
|
@@ -2554,6 +2634,9 @@ video {
|
|
|
2554
2634
|
.duration-300 {
|
|
2555
2635
|
transition-duration: 300ms;
|
|
2556
2636
|
}
|
|
2637
|
+
.duration-500 {
|
|
2638
|
+
transition-duration: 500ms;
|
|
2639
|
+
}
|
|
2557
2640
|
.ease-in-out {
|
|
2558
2641
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2559
2642
|
}
|
|
@@ -2577,6 +2660,9 @@ video {
|
|
|
2577
2660
|
.duration-300 {
|
|
2578
2661
|
animation-duration: 300ms;
|
|
2579
2662
|
}
|
|
2663
|
+
.duration-500 {
|
|
2664
|
+
animation-duration: 500ms;
|
|
2665
|
+
}
|
|
2580
2666
|
.ease-in-out {
|
|
2581
2667
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2582
2668
|
}
|
|
@@ -2677,7 +2763,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2677
2763
|
}
|
|
2678
2764
|
|
|
2679
2765
|
.toast-mini {
|
|
2680
|
-
padding: 12px !important;
|
|
2766
|
+
padding: 8px 12px !important;
|
|
2681
2767
|
gap: 8px !important;
|
|
2682
2768
|
width: -moz-fit-content !important;
|
|
2683
2769
|
width: fit-content !important;
|
|
@@ -2707,7 +2793,7 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2707
2793
|
padding-bottom: 20px !important;
|
|
2708
2794
|
}
|
|
2709
2795
|
.left-space-lg {
|
|
2710
|
-
padding-left: 20px !important;
|
|
2796
|
+
padding-left: 20px !important;
|
|
2711
2797
|
}
|
|
2712
2798
|
.right-space-lg {
|
|
2713
2799
|
padding-right: 20px !important;
|
|
@@ -2740,7 +2826,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2740
2826
|
padding-right: 12px !important;
|
|
2741
2827
|
}
|
|
2742
2828
|
|
|
2743
|
-
|
|
2744
2829
|
.space-xsm {
|
|
2745
2830
|
padding: 8px !important;
|
|
2746
2831
|
}
|
|
@@ -2776,10 +2861,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2776
2861
|
padding-right: 4px !important;
|
|
2777
2862
|
}
|
|
2778
2863
|
.bottom-space-2xsm {
|
|
2779
|
-
padding-bottom: 4px !important
|
|
2864
|
+
padding-bottom: 4px !important;
|
|
2780
2865
|
}
|
|
2781
2866
|
.bottom-space-2xlg {
|
|
2782
|
-
padding-bottom: 32px !important
|
|
2867
|
+
padding-bottom: 32px !important;
|
|
2783
2868
|
}
|
|
2784
2869
|
.space-2xsm {
|
|
2785
2870
|
padding: 4px !important;
|
|
@@ -2811,7 +2896,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2811
2896
|
padding-top: 32px !important;
|
|
2812
2897
|
}
|
|
2813
2898
|
|
|
2814
|
-
|
|
2815
2899
|
.gap-xsm {
|
|
2816
2900
|
gap: 8px !important;
|
|
2817
2901
|
}
|
|
@@ -2877,6 +2961,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2877
2961
|
.checked\:color-bg-default-inverse:checked {
|
|
2878
2962
|
background-color: hsl(var(--color-bg-default-inverse));
|
|
2879
2963
|
}
|
|
2964
|
+
.focus-within\:color-button-secondary-hover:focus-within {
|
|
2965
|
+
background-color: hsl(var(--color-button-secondary-hover));
|
|
2966
|
+
}
|
|
2880
2967
|
.hover\:color-text-inverse:hover {
|
|
2881
2968
|
color: hsl(var(--color-text-inverse));
|
|
2882
2969
|
}
|
|
@@ -2938,72 +3025,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2938
3025
|
.disabled\:color-border-disabled:disabled {
|
|
2939
3026
|
border-color: hsl(var(--color-border-disabled));
|
|
2940
3027
|
}
|
|
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
3028
|
.aria-selected\:color-text-default[aria-selected="true"] {
|
|
3008
3029
|
color: hsl(var(--color-text-default));
|
|
3009
3030
|
}
|
|
@@ -3118,6 +3139,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3118
3139
|
.hover\:\!border-transparent:hover {
|
|
3119
3140
|
border-color: transparent !important;
|
|
3120
3141
|
}
|
|
3142
|
+
.hover\:bg-\[rgba\(0\2c 0\2c 0\2c 0\.1\)\]:hover {
|
|
3143
|
+
background-color: rgba(0,0,0,0.1);
|
|
3144
|
+
}
|
|
3121
3145
|
.hover\:bg-inherit:hover {
|
|
3122
3146
|
background-color: inherit;
|
|
3123
3147
|
}
|
|
@@ -3131,9 +3155,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3131
3155
|
--tw-brightness: brightness(.95);
|
|
3132
3156
|
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
3157
|
}
|
|
3134
|
-
.focus\:opacity-100:focus {
|
|
3135
|
-
opacity: 1;
|
|
3136
|
-
}
|
|
3137
3158
|
.focus\:shadow-none:focus {
|
|
3138
3159
|
--tw-shadow: 0 0 #0000;
|
|
3139
3160
|
--tw-shadow-colored: 0 0 #0000;
|
|
@@ -3197,10 +3218,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3197
3218
|
.group:hover .group-hover\:opacity-100 {
|
|
3198
3219
|
opacity: 1;
|
|
3199
3220
|
}
|
|
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
3221
|
.peer:checked ~ .peer-checked\:block {
|
|
3205
3222
|
display: block;
|
|
3206
3223
|
}
|
|
@@ -3302,6 +3319,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3302
3319
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3303
3320
|
transition-duration: 300ms;
|
|
3304
3321
|
}
|
|
3322
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3323
|
+
transition-duration: 300ms;
|
|
3324
|
+
}
|
|
3305
3325
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3306
3326
|
transition-duration: 500ms;
|
|
3307
3327
|
}
|
|
@@ -3362,8 +3382,8 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3362
3382
|
.data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] {
|
|
3363
3383
|
--tw-exit-translate-y: 100%;
|
|
3364
3384
|
}
|
|
3365
|
-
.data-\[state\=closed\]\:slide-out-to-bottom
|
|
3366
|
-
--tw-exit-translate-y: 100
|
|
3385
|
+
.data-\[state\=closed\]\:slide-out-to-bottom-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3386
|
+
--tw-exit-translate-y: calc(100% + 16px * 2);
|
|
3367
3387
|
}
|
|
3368
3388
|
.data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] {
|
|
3369
3389
|
--tw-exit-translate-x: -100%;
|
|
@@ -3371,14 +3391,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3371
3391
|
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
|
|
3372
3392
|
--tw-exit-translate-x: -50%;
|
|
3373
3393
|
}
|
|
3374
|
-
.data-\[state\=closed\]\:slide-out-to-left
|
|
3375
|
-
--tw-exit-translate-x: -100
|
|
3394
|
+
.data-\[state\=closed\]\:slide-out-to-left-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3395
|
+
--tw-exit-translate-x: -calc(100% + 16px * 2);
|
|
3376
3396
|
}
|
|
3377
3397
|
.data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] {
|
|
3378
3398
|
--tw-exit-translate-x: 100%;
|
|
3379
3399
|
}
|
|
3380
|
-
.data-\[state\=closed\]\:slide-out-to-right
|
|
3381
|
-
--tw-exit-translate-x: 100
|
|
3400
|
+
.data-\[state\=closed\]\:slide-out-to-right-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3401
|
+
--tw-exit-translate-x: calc(100% + 16px * 2);
|
|
3382
3402
|
}
|
|
3383
3403
|
.data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] {
|
|
3384
3404
|
--tw-exit-translate-y: -100%;
|
|
@@ -3386,14 +3406,14 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3386
3406
|
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
|
|
3387
3407
|
--tw-exit-translate-y: -48%;
|
|
3388
3408
|
}
|
|
3389
|
-
.data-\[state\=closed\]\:slide-out-to-top
|
|
3390
|
-
--tw-exit-translate-y: -100
|
|
3409
|
+
.data-\[state\=closed\]\:slide-out-to-top-\[calc\(100\%\+16px\*2\)\][data-state="closed"] {
|
|
3410
|
+
--tw-exit-translate-y: -calc(100% + 16px * 2);
|
|
3391
3411
|
}
|
|
3392
3412
|
.data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] {
|
|
3393
3413
|
--tw-enter-translate-y: 100%;
|
|
3394
3414
|
}
|
|
3395
|
-
.data-\[state\=open\]\:slide-in-from-bottom
|
|
3396
|
-
--tw-enter-translate-y: 100
|
|
3415
|
+
.data-\[state\=open\]\:slide-in-from-bottom-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3416
|
+
--tw-enter-translate-y: calc(100% + 16px * 2);
|
|
3397
3417
|
}
|
|
3398
3418
|
.data-\[state\=open\]\:slide-in-from-left[data-state="open"] {
|
|
3399
3419
|
--tw-enter-translate-x: -100%;
|
|
@@ -3401,24 +3421,36 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3401
3421
|
.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
|
|
3402
3422
|
--tw-enter-translate-x: -50%;
|
|
3403
3423
|
}
|
|
3424
|
+
.data-\[state\=open\]\:slide-in-from-left-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3425
|
+
--tw-enter-translate-x: -calc(100% + 16px * 2);
|
|
3426
|
+
}
|
|
3404
3427
|
.data-\[state\=open\]\:slide-in-from-right[data-state="open"] {
|
|
3405
3428
|
--tw-enter-translate-x: 100%;
|
|
3406
3429
|
}
|
|
3430
|
+
.data-\[state\=open\]\:slide-in-from-right-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3431
|
+
--tw-enter-translate-x: calc(100% + 16px * 2);
|
|
3432
|
+
}
|
|
3407
3433
|
.data-\[state\=open\]\:slide-in-from-top[data-state="open"] {
|
|
3408
3434
|
--tw-enter-translate-y: -100%;
|
|
3409
3435
|
}
|
|
3410
3436
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
|
|
3411
3437
|
--tw-enter-translate-y: -48%;
|
|
3412
3438
|
}
|
|
3413
|
-
.data-\[state\=open\]\:slide-in-from-top
|
|
3414
|
-
--tw-enter-translate-y: -100
|
|
3439
|
+
.data-\[state\=open\]\:slide-in-from-top-\[calc\(100\%\+16px\*2\)\][data-state="open"] {
|
|
3440
|
+
--tw-enter-translate-y: -calc(100% + 16px * 2);
|
|
3415
3441
|
}
|
|
3416
3442
|
.data-\[state\=closed\]\:duration-300[data-state="closed"] {
|
|
3417
3443
|
animation-duration: 300ms;
|
|
3418
3444
|
}
|
|
3445
|
+
.data-\[state\=open\]\:duration-300[data-state="open"] {
|
|
3446
|
+
animation-duration: 300ms;
|
|
3447
|
+
}
|
|
3419
3448
|
.data-\[state\=open\]\:duration-500[data-state="open"] {
|
|
3420
3449
|
animation-duration: 500ms;
|
|
3421
3450
|
}
|
|
3451
|
+
.dark\:border-l-\[hsl\(var\(--color-border-active\)\)\]:is(.dark *) {
|
|
3452
|
+
border-left-color: hsl(var(--color-border-active));
|
|
3453
|
+
}
|
|
3422
3454
|
.dark\:bg-\[\#000\]:is(.dark *) {
|
|
3423
3455
|
--tw-bg-opacity: 1;
|
|
3424
3456
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
@@ -3434,6 +3466,9 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3434
3466
|
--tw-text-opacity: 1;
|
|
3435
3467
|
color: rgb(54 59 63 / var(--tw-text-opacity, 1));
|
|
3436
3468
|
}
|
|
3469
|
+
.dark\:hover\:bg-\[rgba\(255\2c 255\2c 255\2c 0\.2\)\]:hover:is(.dark *) {
|
|
3470
|
+
background-color: rgba(255,255,255,0.2);
|
|
3471
|
+
}
|
|
3437
3472
|
@media (min-width: 640px) {
|
|
3438
3473
|
|
|
3439
3474
|
.sm\:max-w-fit {
|
|
@@ -3503,10 +3538,6 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3503
3538
|
width: auto;
|
|
3504
3539
|
}
|
|
3505
3540
|
|
|
3506
|
-
.md\:max-w-\[420px\] {
|
|
3507
|
-
max-width: 420px;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
3541
|
.md\:max-w-min {
|
|
3511
3542
|
max-width: -moz-min-content;
|
|
3512
3543
|
max-width: min-content;
|
|
@@ -3716,4 +3747,4 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3716
3747
|
}
|
|
3717
3748
|
.\[\&_tr\]\:border-b tr {
|
|
3718
3749
|
border-bottom-width: 1px;
|
|
3719
|
-
}
|
|
3750
|
+
}
|
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,20 @@ 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
|
+
toastIdentifier?: string | null;
|
|
997
|
+
action?: {
|
|
998
|
+
label: string;
|
|
999
|
+
handler: () => void;
|
|
1000
|
+
};
|
|
990
1001
|
};
|
|
991
1002
|
|
|
992
1003
|
export declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
|