@mlw-packages/react-components 1.7.5 → 1.7.6
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/README.md +3 -15
- package/dist/index.css +112 -77
- package/dist/index.d.mts +19 -11
- package/dist/index.d.ts +19 -11
- package/dist/index.js +105 -196
- package/dist/index.mjs +105 -196
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -323,25 +323,13 @@ Se ainda não renderizar, confirme se o bundler transpila pacotes ESM/TSX corret
|
|
|
323
323
|
|
|
324
324
|
---
|
|
325
325
|
|
|
326
|
-
##
|
|
327
|
-
|
|
328
|
-
Siga o fluxo padrão:
|
|
329
|
-
|
|
330
|
-
1. Fork → branch com `feature/<descrição>` → PR para `main`.
|
|
331
|
-
2. Inclua descrição clara, screenshots quando necessário e testes básicos.
|
|
332
|
-
3. Use `pnpm`/`npm` consistentemente conforme `.github/workflows`.
|
|
333
|
-
|
|
334
|
-
Sugestão de PR template: mudança, razão, passos para testar, checklist (lint/test/build).
|
|
326
|
+
## Contato
|
|
335
327
|
|
|
336
328
|
---
|
|
337
329
|
|
|
338
|
-
## Changelog
|
|
330
|
+
## Changelog
|
|
339
331
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
---
|
|
343
|
-
|
|
344
|
-
## Contato
|
|
332
|
+
- **Changelog (arquivo):** o changelog completo está em [`CHANGELOG.md`](./CHANGELOG.md).
|
|
345
333
|
|
|
346
334
|
- Mantido por: **Grupo Malwee**
|
|
347
335
|
|
package/dist/index.css
CHANGED
|
@@ -434,9 +434,6 @@ body {
|
|
|
434
434
|
.sticky {
|
|
435
435
|
position: sticky;
|
|
436
436
|
}
|
|
437
|
-
.-inset-0\.5 {
|
|
438
|
-
inset: -0.125rem;
|
|
439
|
-
}
|
|
440
437
|
.inset-0 {
|
|
441
438
|
inset: 0px;
|
|
442
439
|
}
|
|
@@ -728,9 +725,6 @@ body {
|
|
|
728
725
|
.mr-5 {
|
|
729
726
|
margin-right: 1.25rem;
|
|
730
727
|
}
|
|
731
|
-
.mt-0\.5 {
|
|
732
|
-
margin-top: 0.125rem;
|
|
733
|
-
}
|
|
734
728
|
.mt-1 {
|
|
735
729
|
margin-top: 0.25rem;
|
|
736
730
|
}
|
|
@@ -831,6 +825,9 @@ body {
|
|
|
831
825
|
width: 2.25rem;
|
|
832
826
|
height: 2.25rem;
|
|
833
827
|
}
|
|
828
|
+
.h-0\.5 {
|
|
829
|
+
height: 0.125rem;
|
|
830
|
+
}
|
|
834
831
|
.h-1 {
|
|
835
832
|
height: 0.25rem;
|
|
836
833
|
}
|
|
@@ -1038,6 +1035,9 @@ body {
|
|
|
1038
1035
|
.w-2\.5 {
|
|
1039
1036
|
width: 0.625rem;
|
|
1040
1037
|
}
|
|
1038
|
+
.w-20 {
|
|
1039
|
+
width: 5rem;
|
|
1040
|
+
}
|
|
1041
1041
|
.w-28 {
|
|
1042
1042
|
width: 7rem;
|
|
1043
1043
|
}
|
|
@@ -1113,6 +1113,9 @@ body {
|
|
|
1113
1113
|
.w-\[100px\] {
|
|
1114
1114
|
width: 100px;
|
|
1115
1115
|
}
|
|
1116
|
+
.w-\[1300px\] {
|
|
1117
|
+
width: 1300px;
|
|
1118
|
+
}
|
|
1116
1119
|
.w-\[150px\] {
|
|
1117
1120
|
width: 150px;
|
|
1118
1121
|
}
|
|
@@ -1324,6 +1327,10 @@ body {
|
|
|
1324
1327
|
--tw-translate-y: -50%;
|
|
1325
1328
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1326
1329
|
}
|
|
1330
|
+
.translate-x-1\/2 {
|
|
1331
|
+
--tw-translate-x: 50%;
|
|
1332
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1333
|
+
}
|
|
1327
1334
|
.translate-x-\[-50\%\] {
|
|
1328
1335
|
--tw-translate-x: -50%;
|
|
1329
1336
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1336,6 +1343,10 @@ body {
|
|
|
1336
1343
|
--tw-translate-y: 0px;
|
|
1337
1344
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1338
1345
|
}
|
|
1346
|
+
.translate-y-1\/2 {
|
|
1347
|
+
--tw-translate-y: 50%;
|
|
1348
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1349
|
+
}
|
|
1339
1350
|
.translate-y-\[-50\%\] {
|
|
1340
1351
|
--tw-translate-y: -50%;
|
|
1341
1352
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1643,6 +1654,9 @@ body {
|
|
|
1643
1654
|
.overflow-y-hidden {
|
|
1644
1655
|
overflow-y: hidden;
|
|
1645
1656
|
}
|
|
1657
|
+
.overflow-y-scroll {
|
|
1658
|
+
overflow-y: scroll;
|
|
1659
|
+
}
|
|
1646
1660
|
.truncate {
|
|
1647
1661
|
overflow: hidden;
|
|
1648
1662
|
text-overflow: ellipsis;
|
|
@@ -1706,10 +1720,18 @@ body {
|
|
|
1706
1720
|
border-bottom-right-radius: 0.75rem;
|
|
1707
1721
|
border-bottom-left-radius: 0.75rem;
|
|
1708
1722
|
}
|
|
1723
|
+
.rounded-l-lg {
|
|
1724
|
+
border-top-left-radius: var(--radius);
|
|
1725
|
+
border-bottom-left-radius: var(--radius);
|
|
1726
|
+
}
|
|
1709
1727
|
.rounded-l-md {
|
|
1710
1728
|
border-top-left-radius: calc(var(--radius) - 2px);
|
|
1711
1729
|
border-bottom-left-radius: calc(var(--radius) - 2px);
|
|
1712
1730
|
}
|
|
1731
|
+
.rounded-r-lg {
|
|
1732
|
+
border-top-right-radius: var(--radius);
|
|
1733
|
+
border-bottom-right-radius: var(--radius);
|
|
1734
|
+
}
|
|
1713
1735
|
.rounded-r-md {
|
|
1714
1736
|
border-top-right-radius: calc(var(--radius) - 2px);
|
|
1715
1737
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
@@ -1787,6 +1809,10 @@ body {
|
|
|
1787
1809
|
.border-none {
|
|
1788
1810
|
border-style: none;
|
|
1789
1811
|
}
|
|
1812
|
+
.border-blue-200 {
|
|
1813
|
+
--tw-border-opacity: 1;
|
|
1814
|
+
border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
|
|
1815
|
+
}
|
|
1790
1816
|
.border-blue-500 {
|
|
1791
1817
|
--tw-border-opacity: 1;
|
|
1792
1818
|
border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
|
|
@@ -1817,6 +1843,10 @@ body {
|
|
|
1817
1843
|
--tw-border-opacity: 1;
|
|
1818
1844
|
border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
|
|
1819
1845
|
}
|
|
1846
|
+
.border-green-200 {
|
|
1847
|
+
--tw-border-opacity: 1;
|
|
1848
|
+
border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
|
|
1849
|
+
}
|
|
1820
1850
|
.border-input {
|
|
1821
1851
|
border-color: hsl(var(--input));
|
|
1822
1852
|
}
|
|
@@ -1846,6 +1876,14 @@ body {
|
|
|
1846
1876
|
.border-primary\/70 {
|
|
1847
1877
|
border-color: hsl(var(--primary) / 0.7);
|
|
1848
1878
|
}
|
|
1879
|
+
.border-purple-200 {
|
|
1880
|
+
--tw-border-opacity: 1;
|
|
1881
|
+
border-color: rgb(233 213 255 / var(--tw-border-opacity, 1));
|
|
1882
|
+
}
|
|
1883
|
+
.border-red-200 {
|
|
1884
|
+
--tw-border-opacity: 1;
|
|
1885
|
+
border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
|
|
1886
|
+
}
|
|
1849
1887
|
.border-red-500 {
|
|
1850
1888
|
--tw-border-opacity: 1;
|
|
1851
1889
|
border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
|
|
@@ -1871,6 +1909,14 @@ body {
|
|
|
1871
1909
|
.border-white\/20 {
|
|
1872
1910
|
border-color: rgb(255 255 255 / 0.2);
|
|
1873
1911
|
}
|
|
1912
|
+
.border-yellow-200 {
|
|
1913
|
+
--tw-border-opacity: 1;
|
|
1914
|
+
border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
|
|
1915
|
+
}
|
|
1916
|
+
.border-yellow-300 {
|
|
1917
|
+
--tw-border-opacity: 1;
|
|
1918
|
+
border-color: rgb(253 224 71 / var(--tw-border-opacity, 1));
|
|
1919
|
+
}
|
|
1874
1920
|
.border-zinc-300 {
|
|
1875
1921
|
--tw-border-opacity: 1;
|
|
1876
1922
|
border-color: rgb(212 212 216 / var(--tw-border-opacity, 1));
|
|
@@ -1924,9 +1970,9 @@ body {
|
|
|
1924
1970
|
.bg-black\/80 {
|
|
1925
1971
|
background-color: rgb(0 0 0 / 0.8);
|
|
1926
1972
|
}
|
|
1927
|
-
.bg-blue-
|
|
1973
|
+
.bg-blue-50 {
|
|
1928
1974
|
--tw-bg-opacity: 1;
|
|
1929
|
-
background-color: rgb(
|
|
1975
|
+
background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
|
|
1930
1976
|
}
|
|
1931
1977
|
.bg-blue-500 {
|
|
1932
1978
|
--tw-bg-opacity: 1;
|
|
@@ -1996,6 +2042,10 @@ body {
|
|
|
1996
2042
|
--tw-bg-opacity: 1;
|
|
1997
2043
|
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
|
1998
2044
|
}
|
|
2045
|
+
.bg-green-50 {
|
|
2046
|
+
--tw-bg-opacity: 1;
|
|
2047
|
+
background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
|
|
2048
|
+
}
|
|
1999
2049
|
.bg-green-500 {
|
|
2000
2050
|
--tw-bg-opacity: 1;
|
|
2001
2051
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
|
|
@@ -2004,9 +2054,16 @@ body {
|
|
|
2004
2054
|
--tw-bg-opacity: 1;
|
|
2005
2055
|
background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
|
|
2006
2056
|
}
|
|
2057
|
+
.bg-indigo-600 {
|
|
2058
|
+
--tw-bg-opacity: 1;
|
|
2059
|
+
background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
|
|
2060
|
+
}
|
|
2007
2061
|
.bg-muted {
|
|
2008
2062
|
background-color: hsl(var(--muted));
|
|
2009
2063
|
}
|
|
2064
|
+
.bg-muted-foreground {
|
|
2065
|
+
background-color: hsl(var(--muted-foreground));
|
|
2066
|
+
}
|
|
2010
2067
|
.bg-muted\/10 {
|
|
2011
2068
|
background-color: hsl(var(--muted) / 0.1);
|
|
2012
2069
|
}
|
|
@@ -2054,13 +2111,13 @@ body {
|
|
|
2054
2111
|
.bg-primary\/20 {
|
|
2055
2112
|
background-color: hsl(var(--primary) / 0.2);
|
|
2056
2113
|
}
|
|
2057
|
-
.bg-purple-
|
|
2114
|
+
.bg-purple-50 {
|
|
2058
2115
|
--tw-bg-opacity: 1;
|
|
2059
|
-
background-color: rgb(
|
|
2116
|
+
background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
|
|
2060
2117
|
}
|
|
2061
|
-
.bg-
|
|
2118
|
+
.bg-purple-500 {
|
|
2062
2119
|
--tw-bg-opacity: 1;
|
|
2063
|
-
background-color: rgb(
|
|
2120
|
+
background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
|
|
2064
2121
|
}
|
|
2065
2122
|
.bg-red-50 {
|
|
2066
2123
|
--tw-bg-opacity: 1;
|
|
@@ -2074,6 +2131,10 @@ body {
|
|
|
2074
2131
|
--tw-bg-opacity: 1;
|
|
2075
2132
|
background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
|
|
2076
2133
|
}
|
|
2134
|
+
.bg-rose-600 {
|
|
2135
|
+
--tw-bg-opacity: 1;
|
|
2136
|
+
background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1));
|
|
2137
|
+
}
|
|
2077
2138
|
.bg-secondary {
|
|
2078
2139
|
background-color: hsl(var(--secondary));
|
|
2079
2140
|
}
|
|
@@ -2085,10 +2146,17 @@ body {
|
|
|
2085
2146
|
--tw-bg-opacity: 1;
|
|
2086
2147
|
background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1));
|
|
2087
2148
|
}
|
|
2149
|
+
.bg-slate-300\/70 {
|
|
2150
|
+
background-color: rgb(203 213 225 / 0.7);
|
|
2151
|
+
}
|
|
2088
2152
|
.bg-slate-50 {
|
|
2089
2153
|
--tw-bg-opacity: 1;
|
|
2090
2154
|
background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
|
|
2091
2155
|
}
|
|
2156
|
+
.bg-slate-900 {
|
|
2157
|
+
--tw-bg-opacity: 1;
|
|
2158
|
+
background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
|
|
2159
|
+
}
|
|
2092
2160
|
.bg-transparent {
|
|
2093
2161
|
background-color: transparent;
|
|
2094
2162
|
}
|
|
@@ -2096,17 +2164,20 @@ body {
|
|
|
2096
2164
|
--tw-bg-opacity: 1;
|
|
2097
2165
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
2098
2166
|
}
|
|
2167
|
+
.bg-white\/60 {
|
|
2168
|
+
background-color: rgb(255 255 255 / 0.6);
|
|
2169
|
+
}
|
|
2099
2170
|
.bg-white\/70 {
|
|
2100
2171
|
background-color: rgb(255 255 255 / 0.7);
|
|
2101
2172
|
}
|
|
2102
|
-
.bg-yellow-100 {
|
|
2103
|
-
--tw-bg-opacity: 1;
|
|
2104
|
-
background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
|
|
2105
|
-
}
|
|
2106
2173
|
.bg-yellow-400 {
|
|
2107
2174
|
--tw-bg-opacity: 1;
|
|
2108
2175
|
background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
|
|
2109
2176
|
}
|
|
2177
|
+
.bg-yellow-50 {
|
|
2178
|
+
--tw-bg-opacity: 1;
|
|
2179
|
+
background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
|
|
2180
|
+
}
|
|
2110
2181
|
.bg-yellow-500 {
|
|
2111
2182
|
--tw-bg-opacity: 1;
|
|
2112
2183
|
background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
|
|
@@ -2348,6 +2419,9 @@ body {
|
|
|
2348
2419
|
.pl-2 {
|
|
2349
2420
|
padding-left: 0.5rem;
|
|
2350
2421
|
}
|
|
2422
|
+
.pl-3 {
|
|
2423
|
+
padding-left: 0.75rem;
|
|
2424
|
+
}
|
|
2351
2425
|
.pl-4 {
|
|
2352
2426
|
padding-left: 1rem;
|
|
2353
2427
|
}
|
|
@@ -2565,10 +2639,6 @@ body {
|
|
|
2565
2639
|
--tw-text-opacity: 1;
|
|
2566
2640
|
color: rgb(37 99 235 / var(--tw-text-opacity, 1));
|
|
2567
2641
|
}
|
|
2568
|
-
.text-blue-800 {
|
|
2569
|
-
--tw-text-opacity: 1;
|
|
2570
|
-
color: rgb(30 64 175 / var(--tw-text-opacity, 1));
|
|
2571
|
-
}
|
|
2572
2642
|
.text-card-foreground {
|
|
2573
2643
|
color: hsl(var(--card-foreground));
|
|
2574
2644
|
}
|
|
@@ -2589,10 +2659,6 @@ body {
|
|
|
2589
2659
|
--tw-text-opacity: 1;
|
|
2590
2660
|
color: rgb(5 150 105 / var(--tw-text-opacity, 1));
|
|
2591
2661
|
}
|
|
2592
|
-
.text-emerald-700 {
|
|
2593
|
-
--tw-text-opacity: 1;
|
|
2594
|
-
color: rgb(4 120 87 / var(--tw-text-opacity, 1));
|
|
2595
|
-
}
|
|
2596
2662
|
.text-foreground {
|
|
2597
2663
|
color: hsl(var(--foreground));
|
|
2598
2664
|
}
|
|
@@ -2624,10 +2690,6 @@ body {
|
|
|
2624
2690
|
--tw-text-opacity: 1;
|
|
2625
2691
|
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
2626
2692
|
}
|
|
2627
|
-
.text-green-800 {
|
|
2628
|
-
--tw-text-opacity: 1;
|
|
2629
|
-
color: rgb(22 101 52 / var(--tw-text-opacity, 1));
|
|
2630
|
-
}
|
|
2631
2693
|
.text-indigo-500 {
|
|
2632
2694
|
--tw-text-opacity: 1;
|
|
2633
2695
|
color: rgb(99 102 241 / var(--tw-text-opacity, 1));
|
|
@@ -2696,28 +2758,20 @@ body {
|
|
|
2696
2758
|
--tw-text-opacity: 1;
|
|
2697
2759
|
color: rgb(220 38 38 / var(--tw-text-opacity, 1));
|
|
2698
2760
|
}
|
|
2699
|
-
.text-red-800 {
|
|
2700
|
-
--tw-text-opacity: 1;
|
|
2701
|
-
color: rgb(153 27 27 / var(--tw-text-opacity, 1));
|
|
2702
|
-
}
|
|
2703
2761
|
.text-rose-500 {
|
|
2704
2762
|
--tw-text-opacity: 1;
|
|
2705
2763
|
color: rgb(244 63 94 / var(--tw-text-opacity, 1));
|
|
2706
2764
|
}
|
|
2707
|
-
.text-rose-600 {
|
|
2708
|
-
--tw-text-opacity: 1;
|
|
2709
|
-
color: rgb(225 29 72 / var(--tw-text-opacity, 1));
|
|
2710
|
-
}
|
|
2711
|
-
.text-rose-700 {
|
|
2712
|
-
--tw-text-opacity: 1;
|
|
2713
|
-
color: rgb(190 18 60 / var(--tw-text-opacity, 1));
|
|
2714
|
-
}
|
|
2715
2765
|
.text-secondary {
|
|
2716
2766
|
color: hsl(var(--secondary));
|
|
2717
2767
|
}
|
|
2718
2768
|
.text-secondary-foreground {
|
|
2719
2769
|
color: hsl(var(--secondary-foreground));
|
|
2720
2770
|
}
|
|
2771
|
+
.text-slate-400 {
|
|
2772
|
+
--tw-text-opacity: 1;
|
|
2773
|
+
color: rgb(148 163 184 / var(--tw-text-opacity, 1));
|
|
2774
|
+
}
|
|
2721
2775
|
.text-slate-50 {
|
|
2722
2776
|
--tw-text-opacity: 1;
|
|
2723
2777
|
color: rgb(248 250 252 / var(--tw-text-opacity, 1));
|
|
@@ -2762,6 +2816,10 @@ body {
|
|
|
2762
2816
|
--tw-text-opacity: 1;
|
|
2763
2817
|
color: rgb(133 77 14 / var(--tw-text-opacity, 1));
|
|
2764
2818
|
}
|
|
2819
|
+
.text-yellow-900 {
|
|
2820
|
+
--tw-text-opacity: 1;
|
|
2821
|
+
color: rgb(113 63 18 / var(--tw-text-opacity, 1));
|
|
2822
|
+
}
|
|
2765
2823
|
.text-zinc-100 {
|
|
2766
2824
|
--tw-text-opacity: 1;
|
|
2767
2825
|
color: rgb(244 244 245 / var(--tw-text-opacity, 1));
|
|
@@ -2961,6 +3019,10 @@ body {
|
|
|
2961
3019
|
.ring-ring {
|
|
2962
3020
|
--tw-ring-color: hsl(var(--ring));
|
|
2963
3021
|
}
|
|
3022
|
+
.ring-slate-200 {
|
|
3023
|
+
--tw-ring-opacity: 1;
|
|
3024
|
+
--tw-ring-color: rgb(226 232 240 / var(--tw-ring-opacity, 1));
|
|
3025
|
+
}
|
|
2964
3026
|
.ring-offset-background {
|
|
2965
3027
|
--tw-ring-offset-color: hsl(var(--background));
|
|
2966
3028
|
}
|
|
@@ -4706,10 +4768,6 @@ body {
|
|
|
4706
4768
|
--tw-border-opacity: 1;
|
|
4707
4769
|
border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));
|
|
4708
4770
|
}
|
|
4709
|
-
.dark\:border-zinc-900:is(.dark *) {
|
|
4710
|
-
--tw-border-opacity: 1;
|
|
4711
|
-
border-color: rgb(24 24 27 / var(--tw-border-opacity, 1));
|
|
4712
|
-
}
|
|
4713
4771
|
.dark\:bg-\[hsl\(231\,15\%\,19\%\)\]:is(.dark *) {
|
|
4714
4772
|
--tw-bg-opacity: 1;
|
|
4715
4773
|
background-color: hsl(231 15% 19% / var(--tw-bg-opacity, 1));
|
|
@@ -4723,13 +4781,14 @@ body {
|
|
|
4723
4781
|
.dark\:bg-card\/95:is(.dark *) {
|
|
4724
4782
|
background-color: hsl(var(--card) / 0.95);
|
|
4725
4783
|
}
|
|
4726
|
-
.dark\:bg-destructive\/60:is(.dark *) {
|
|
4727
|
-
background-color: hsl(var(--destructive) / 0.6);
|
|
4728
|
-
}
|
|
4729
4784
|
.dark\:bg-gray-800:is(.dark *) {
|
|
4730
4785
|
--tw-bg-opacity: 1;
|
|
4731
4786
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
|
|
4732
4787
|
}
|
|
4788
|
+
.dark\:bg-gray-900:is(.dark *) {
|
|
4789
|
+
--tw-bg-opacity: 1;
|
|
4790
|
+
background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
|
|
4791
|
+
}
|
|
4733
4792
|
.dark\:bg-input\/30:is(.dark *) {
|
|
4734
4793
|
background-color: hsl(var(--input) / 0.3);
|
|
4735
4794
|
}
|
|
@@ -4755,12 +4814,18 @@ body {
|
|
|
4755
4814
|
--tw-bg-opacity: 1;
|
|
4756
4815
|
background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1));
|
|
4757
4816
|
}
|
|
4817
|
+
.dark\:bg-slate-800\/60:is(.dark *) {
|
|
4818
|
+
background-color: rgb(30 41 59 / 0.6);
|
|
4819
|
+
}
|
|
4758
4820
|
.dark\:bg-slate-900\/30:is(.dark *) {
|
|
4759
4821
|
background-color: rgb(15 23 42 / 0.3);
|
|
4760
4822
|
}
|
|
4761
4823
|
.dark\:bg-slate-900\/40:is(.dark *) {
|
|
4762
4824
|
background-color: rgb(15 23 42 / 0.4);
|
|
4763
4825
|
}
|
|
4826
|
+
.dark\:bg-slate-900\/60:is(.dark *) {
|
|
4827
|
+
background-color: rgb(15 23 42 / 0.6);
|
|
4828
|
+
}
|
|
4764
4829
|
.dark\:bg-zinc-500:is(.dark *) {
|
|
4765
4830
|
--tw-bg-opacity: 1;
|
|
4766
4831
|
background-color: rgb(113 113 122 / var(--tw-bg-opacity, 1));
|
|
@@ -4781,18 +4846,10 @@ body {
|
|
|
4781
4846
|
--tw-text-opacity: 1;
|
|
4782
4847
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
4783
4848
|
}
|
|
4784
|
-
.dark\:text-emerald-300:is(.dark *) {
|
|
4785
|
-
--tw-text-opacity: 1;
|
|
4786
|
-
color: rgb(110 231 183 / var(--tw-text-opacity, 1));
|
|
4787
|
-
}
|
|
4788
4849
|
.dark\:text-emerald-400:is(.dark *) {
|
|
4789
4850
|
--tw-text-opacity: 1;
|
|
4790
4851
|
color: rgb(52 211 153 / var(--tw-text-opacity, 1));
|
|
4791
4852
|
}
|
|
4792
|
-
.dark\:text-gray-100:is(.dark *) {
|
|
4793
|
-
--tw-text-opacity: 1;
|
|
4794
|
-
color: rgb(243 244 246 / var(--tw-text-opacity, 1));
|
|
4795
|
-
}
|
|
4796
4853
|
.dark\:text-gray-300:is(.dark *) {
|
|
4797
4854
|
--tw-text-opacity: 1;
|
|
4798
4855
|
color: rgb(209 213 219 / var(--tw-text-opacity, 1));
|
|
@@ -4813,10 +4870,6 @@ body {
|
|
|
4813
4870
|
--tw-text-opacity: 1;
|
|
4814
4871
|
color: rgb(248 113 113 / var(--tw-text-opacity, 1));
|
|
4815
4872
|
}
|
|
4816
|
-
.dark\:text-rose-300:is(.dark *) {
|
|
4817
|
-
--tw-text-opacity: 1;
|
|
4818
|
-
color: rgb(253 164 175 / var(--tw-text-opacity, 1));
|
|
4819
|
-
}
|
|
4820
4873
|
.dark\:text-slate-100:is(.dark *) {
|
|
4821
4874
|
--tw-text-opacity: 1;
|
|
4822
4875
|
color: rgb(241 245 249 / var(--tw-text-opacity, 1));
|
|
@@ -5116,9 +5169,6 @@ body {
|
|
|
5116
5169
|
.md\:h-10 {
|
|
5117
5170
|
height: 2.5rem;
|
|
5118
5171
|
}
|
|
5119
|
-
.md\:h-11 {
|
|
5120
|
-
height: 2.75rem;
|
|
5121
|
-
}
|
|
5122
5172
|
.md\:w-10 {
|
|
5123
5173
|
width: 2.5rem;
|
|
5124
5174
|
}
|
|
@@ -5447,18 +5497,3 @@ body {
|
|
|
5447
5497
|
[data-side=right] .\[\[data-side\=right\]_\&\]\:cursor-e-resize {
|
|
5448
5498
|
cursor: e-resize;
|
|
5449
5499
|
}
|
|
5450
|
-
a.\[a\&\]\:hover\:bg-accent:hover {
|
|
5451
|
-
background-color: hsl(var(--accent));
|
|
5452
|
-
}
|
|
5453
|
-
a.\[a\&\]\:hover\:bg-destructive\/90:hover {
|
|
5454
|
-
background-color: hsl(var(--destructive) / 0.9);
|
|
5455
|
-
}
|
|
5456
|
-
a.\[a\&\]\:hover\:bg-primary\/90:hover {
|
|
5457
|
-
background-color: hsl(var(--primary) / 0.9);
|
|
5458
|
-
}
|
|
5459
|
-
a.\[a\&\]\:hover\:bg-secondary\/90:hover {
|
|
5460
|
-
background-color: hsl(var(--secondary) / 0.9);
|
|
5461
|
-
}
|
|
5462
|
-
a.\[a\&\]\:hover\:text-accent-foreground:hover {
|
|
5463
|
-
color: hsl(var(--accent-foreground));
|
|
5464
|
-
}
|
package/dist/index.d.mts
CHANGED
|
@@ -483,16 +483,17 @@ declare const AvatarImageBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrim
|
|
|
483
483
|
declare const AvatarFallbackBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
484
484
|
|
|
485
485
|
declare const badgeVariants: (props?: ({
|
|
486
|
-
|
|
487
|
-
status?: "destructive" | "custom" | "success" | "desactivated" | "away" | null | undefined;
|
|
486
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
488
487
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
489
|
-
type
|
|
488
|
+
type ColorType = "green" | "gray" | "red" | "yellow" | "blue" | "purple";
|
|
490
489
|
interface BadgeBaseProps extends React$1.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
491
490
|
asChild?: boolean;
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
color?: ColorType;
|
|
492
|
+
size?: "sm" | "md" | "lg";
|
|
493
|
+
/** status: usado em alguns lugares para indicar um badge-posicionado (ex: Avatar). Valor livre/legacy */
|
|
494
|
+
status?: string;
|
|
494
495
|
}
|
|
495
|
-
declare function BadgeBase({ className,
|
|
496
|
+
declare function BadgeBase({ className, color, size, asChild, children, style, ...props }: BadgeBaseProps): react_jsx_runtime.JSX.Element;
|
|
496
497
|
|
|
497
498
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
498
499
|
declare function CalendarBase({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1104,18 +1105,16 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1104
1105
|
label?: string;
|
|
1105
1106
|
date: Date | undefined;
|
|
1106
1107
|
onChange: (date: Date | undefined) => void;
|
|
1107
|
-
displayFormat?:
|
|
1108
|
+
displayFormat?: boolean;
|
|
1108
1109
|
hideTime?: boolean;
|
|
1109
1110
|
hideSeconds?: boolean;
|
|
1110
|
-
hideHour?: boolean;
|
|
1111
|
-
hideMinute?: boolean;
|
|
1112
1111
|
fromDate?: Date;
|
|
1113
1112
|
toDate?: Date;
|
|
1114
1113
|
disabled?: boolean;
|
|
1115
1114
|
className?: string;
|
|
1116
1115
|
error?: string;
|
|
1117
1116
|
}
|
|
1118
|
-
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds,
|
|
1117
|
+
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1119
1118
|
|
|
1120
1119
|
interface RangePickerProps extends ErrorMessageProps {
|
|
1121
1120
|
value?: DateRange;
|
|
@@ -1260,6 +1259,15 @@ type CodeBlockProps = {
|
|
|
1260
1259
|
});
|
|
1261
1260
|
declare const CodeBlock: ({ language, filename, code, highlightLines, tabs, breadcrumb, showStats, }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1262
1261
|
|
|
1262
|
+
interface StatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1263
|
+
color?: "green" | "gray" | "red" | "yellow" | "blue" | "purple" | "retire";
|
|
1264
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
1265
|
+
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "inline";
|
|
1266
|
+
show?: boolean;
|
|
1267
|
+
children?: React$1.ReactNode;
|
|
1268
|
+
}
|
|
1269
|
+
declare function StatusIndicator({ color, size, position, show, children, className, ...props }: StatusProps): react_jsx_runtime.JSX.Element;
|
|
1270
|
+
|
|
1263
1271
|
declare function useIsMobile(): boolean;
|
|
1264
1272
|
|
|
1265
1273
|
interface Position {
|
|
@@ -1279,4 +1287,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1279
1287
|
isDragging: boolean;
|
|
1280
1288
|
};
|
|
1281
1289
|
|
|
1282
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|
|
1290
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, type ColorType, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|
package/dist/index.d.ts
CHANGED
|
@@ -483,16 +483,17 @@ declare const AvatarImageBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrim
|
|
|
483
483
|
declare const AvatarFallbackBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
484
484
|
|
|
485
485
|
declare const badgeVariants: (props?: ({
|
|
486
|
-
|
|
487
|
-
status?: "destructive" | "custom" | "success" | "desactivated" | "away" | null | undefined;
|
|
486
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
488
487
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
489
|
-
type
|
|
488
|
+
type ColorType = "green" | "gray" | "red" | "yellow" | "blue" | "purple";
|
|
490
489
|
interface BadgeBaseProps extends React$1.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
|
|
491
490
|
asChild?: boolean;
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
color?: ColorType;
|
|
492
|
+
size?: "sm" | "md" | "lg";
|
|
493
|
+
/** status: usado em alguns lugares para indicar um badge-posicionado (ex: Avatar). Valor livre/legacy */
|
|
494
|
+
status?: string;
|
|
494
495
|
}
|
|
495
|
-
declare function BadgeBase({ className,
|
|
496
|
+
declare function BadgeBase({ className, color, size, asChild, children, style, ...props }: BadgeBaseProps): react_jsx_runtime.JSX.Element;
|
|
496
497
|
|
|
497
498
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
498
499
|
declare function CalendarBase({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1104,18 +1105,16 @@ interface DateTimePickerProps extends ErrorMessageProps {
|
|
|
1104
1105
|
label?: string;
|
|
1105
1106
|
date: Date | undefined;
|
|
1106
1107
|
onChange: (date: Date | undefined) => void;
|
|
1107
|
-
displayFormat?:
|
|
1108
|
+
displayFormat?: boolean;
|
|
1108
1109
|
hideTime?: boolean;
|
|
1109
1110
|
hideSeconds?: boolean;
|
|
1110
|
-
hideHour?: boolean;
|
|
1111
|
-
hideMinute?: boolean;
|
|
1112
1111
|
fromDate?: Date;
|
|
1113
1112
|
toDate?: Date;
|
|
1114
1113
|
disabled?: boolean;
|
|
1115
1114
|
className?: string;
|
|
1116
1115
|
error?: string;
|
|
1117
1116
|
}
|
|
1118
|
-
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds,
|
|
1117
|
+
declare function DateTimePicker({ label, date, onChange, displayFormat, hideTime, hideSeconds, fromDate, toDate, disabled, className, error, }: DateTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1119
1118
|
|
|
1120
1119
|
interface RangePickerProps extends ErrorMessageProps {
|
|
1121
1120
|
value?: DateRange;
|
|
@@ -1260,6 +1259,15 @@ type CodeBlockProps = {
|
|
|
1260
1259
|
});
|
|
1261
1260
|
declare const CodeBlock: ({ language, filename, code, highlightLines, tabs, breadcrumb, showStats, }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
|
|
1262
1261
|
|
|
1262
|
+
interface StatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1263
|
+
color?: "green" | "gray" | "red" | "yellow" | "blue" | "purple" | "retire";
|
|
1264
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
1265
|
+
position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "inline";
|
|
1266
|
+
show?: boolean;
|
|
1267
|
+
children?: React$1.ReactNode;
|
|
1268
|
+
}
|
|
1269
|
+
declare function StatusIndicator({ color, size, position, show, children, className, ...props }: StatusProps): react_jsx_runtime.JSX.Element;
|
|
1270
|
+
|
|
1263
1271
|
declare function useIsMobile(): boolean;
|
|
1264
1272
|
|
|
1265
1273
|
interface Position {
|
|
@@ -1279,4 +1287,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
1279
1287
|
isDragging: boolean;
|
|
1280
1288
|
};
|
|
1281
1289
|
|
|
1282
|
-
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|
|
1290
|
+
export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, ChangeButton, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, type ColorType, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, ErrorMessage, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, convert12HourTo24Hour, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, getArrowByType, getDateByType, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, toast, useChartHighlights, useDrag, useIsMobile, useTheme, type valueFormatter };
|