@fileverse/ui 4.0.2 → 4.0.3
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 +11 -22
- package/dist/index.cjs.js +19 -19
- package/dist/index.css +125 -13
- package/dist/index.es.d.ts +98 -1
- package/dist/index.es.js +3373 -2857
- package/package.json +16 -5
package/dist/index.css
CHANGED
|
@@ -661,6 +661,10 @@ video {
|
|
|
661
661
|
background-color: hsl(var(--color-bg-brand));
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
+
.\!color-bg-brand-hover {
|
|
665
|
+
background-color: hsl(var(--color-bg-brand-hover)) !important;
|
|
666
|
+
}
|
|
667
|
+
|
|
664
668
|
.color-bg-brand-hover {
|
|
665
669
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
666
670
|
}
|
|
@@ -1003,6 +1007,10 @@ video {
|
|
|
1003
1007
|
left: 0px;
|
|
1004
1008
|
right: 0px;
|
|
1005
1009
|
}
|
|
1010
|
+
.inset-y-0 {
|
|
1011
|
+
top: 0px;
|
|
1012
|
+
bottom: 0px;
|
|
1013
|
+
}
|
|
1006
1014
|
.-bottom-6 {
|
|
1007
1015
|
bottom: -1.5rem;
|
|
1008
1016
|
}
|
|
@@ -1030,6 +1038,9 @@ video {
|
|
|
1030
1038
|
.bottom-5 {
|
|
1031
1039
|
bottom: 1.25rem;
|
|
1032
1040
|
}
|
|
1041
|
+
.left-0 {
|
|
1042
|
+
left: 0px;
|
|
1043
|
+
}
|
|
1033
1044
|
.left-1\/2 {
|
|
1034
1045
|
left: 50%;
|
|
1035
1046
|
}
|
|
@@ -1063,18 +1074,21 @@ video {
|
|
|
1063
1074
|
.right-6 {
|
|
1064
1075
|
right: 1.5rem;
|
|
1065
1076
|
}
|
|
1077
|
+
.top-0 {
|
|
1078
|
+
top: 0px;
|
|
1079
|
+
}
|
|
1066
1080
|
.top-1\/2 {
|
|
1067
1081
|
top: 50%;
|
|
1068
1082
|
}
|
|
1083
|
+
.top-3 {
|
|
1084
|
+
top: 0.75rem;
|
|
1085
|
+
}
|
|
1069
1086
|
.top-5 {
|
|
1070
1087
|
top: 1.25rem;
|
|
1071
1088
|
}
|
|
1072
1089
|
.top-6 {
|
|
1073
1090
|
top: 1.5rem;
|
|
1074
1091
|
}
|
|
1075
|
-
.top-8 {
|
|
1076
|
-
top: 2rem;
|
|
1077
|
-
}
|
|
1078
1092
|
.top-\[50\%\] {
|
|
1079
1093
|
top: 50%;
|
|
1080
1094
|
}
|
|
@@ -1084,6 +1098,9 @@ video {
|
|
|
1084
1098
|
.z-50 {
|
|
1085
1099
|
z-index: 50;
|
|
1086
1100
|
}
|
|
1101
|
+
.z-\[999\] {
|
|
1102
|
+
z-index: 999;
|
|
1103
|
+
}
|
|
1087
1104
|
.-mx-1 {
|
|
1088
1105
|
margin-left: -0.25rem;
|
|
1089
1106
|
margin-right: -0.25rem;
|
|
@@ -1100,10 +1117,6 @@ video {
|
|
|
1100
1117
|
margin-top: 0px;
|
|
1101
1118
|
margin-bottom: 0px;
|
|
1102
1119
|
}
|
|
1103
|
-
.my-10 {
|
|
1104
|
-
margin-top: 2.5rem;
|
|
1105
|
-
margin-bottom: 2.5rem;
|
|
1106
|
-
}
|
|
1107
1120
|
.my-auto {
|
|
1108
1121
|
margin-top: auto;
|
|
1109
1122
|
margin-bottom: auto;
|
|
@@ -1186,6 +1199,9 @@ video {
|
|
|
1186
1199
|
.h-12 {
|
|
1187
1200
|
height: 3rem;
|
|
1188
1201
|
}
|
|
1202
|
+
.h-16 {
|
|
1203
|
+
height: 4rem;
|
|
1204
|
+
}
|
|
1189
1205
|
.h-4 {
|
|
1190
1206
|
height: 1rem;
|
|
1191
1207
|
}
|
|
@@ -1201,9 +1217,6 @@ video {
|
|
|
1201
1217
|
.h-9 {
|
|
1202
1218
|
height: 2.25rem;
|
|
1203
1219
|
}
|
|
1204
|
-
.h-\[156px\] {
|
|
1205
|
-
height: 156px;
|
|
1206
|
-
}
|
|
1207
1220
|
.h-\[16px\] {
|
|
1208
1221
|
height: 16px;
|
|
1209
1222
|
}
|
|
@@ -1259,9 +1272,6 @@ video {
|
|
|
1259
1272
|
.min-h-9 {
|
|
1260
1273
|
min-height: 2.25rem;
|
|
1261
1274
|
}
|
|
1262
|
-
.min-h-\[156px\] {
|
|
1263
|
-
min-height: 156px;
|
|
1264
|
-
}
|
|
1265
1275
|
.min-h-\[2vh\] {
|
|
1266
1276
|
min-height: 2vh;
|
|
1267
1277
|
}
|
|
@@ -1286,6 +1296,9 @@ video {
|
|
|
1286
1296
|
.w-24 {
|
|
1287
1297
|
width: 6rem;
|
|
1288
1298
|
}
|
|
1299
|
+
.w-3\/4 {
|
|
1300
|
+
width: 75%;
|
|
1301
|
+
}
|
|
1289
1302
|
.w-32 {
|
|
1290
1303
|
width: 8rem;
|
|
1291
1304
|
}
|
|
@@ -1298,6 +1311,9 @@ video {
|
|
|
1298
1311
|
.w-6 {
|
|
1299
1312
|
width: 1.5rem;
|
|
1300
1313
|
}
|
|
1314
|
+
.w-72 {
|
|
1315
|
+
width: 18rem;
|
|
1316
|
+
}
|
|
1301
1317
|
.w-8 {
|
|
1302
1318
|
width: 2rem;
|
|
1303
1319
|
}
|
|
@@ -1374,6 +1390,9 @@ video {
|
|
|
1374
1390
|
.min-w-\[200px\] {
|
|
1375
1391
|
min-width: 200px;
|
|
1376
1392
|
}
|
|
1393
|
+
.min-w-\[25\%\] {
|
|
1394
|
+
min-width: 25%;
|
|
1395
|
+
}
|
|
1377
1396
|
.min-w-\[30px\] {
|
|
1378
1397
|
min-width: 30px;
|
|
1379
1398
|
}
|
|
@@ -1418,6 +1437,9 @@ video {
|
|
|
1418
1437
|
.flex-\[0\.8\] {
|
|
1419
1438
|
flex: 0.8;
|
|
1420
1439
|
}
|
|
1440
|
+
.flex-auto {
|
|
1441
|
+
flex: 1 1 auto;
|
|
1442
|
+
}
|
|
1421
1443
|
.flex-none {
|
|
1422
1444
|
flex: none;
|
|
1423
1445
|
}
|
|
@@ -1445,6 +1467,10 @@ video {
|
|
|
1445
1467
|
--tw-translate-x: -50%;
|
|
1446
1468
|
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));
|
|
1447
1469
|
}
|
|
1470
|
+
.translate-y-1\/4 {
|
|
1471
|
+
--tw-translate-y: 25%;
|
|
1472
|
+
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));
|
|
1473
|
+
}
|
|
1448
1474
|
.translate-y-\[-50\%\] {
|
|
1449
1475
|
--tw-translate-y: -50%;
|
|
1450
1476
|
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));
|
|
@@ -1489,6 +1515,9 @@ video {
|
|
|
1489
1515
|
-moz-appearance: none;
|
|
1490
1516
|
appearance: none;
|
|
1491
1517
|
}
|
|
1518
|
+
.grid-cols-2 {
|
|
1519
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1520
|
+
}
|
|
1492
1521
|
.flex-row {
|
|
1493
1522
|
flex-direction: row;
|
|
1494
1523
|
}
|
|
@@ -1617,10 +1646,26 @@ video {
|
|
|
1617
1646
|
.rounded-xl {
|
|
1618
1647
|
border-radius: 0.75rem;
|
|
1619
1648
|
}
|
|
1649
|
+
.rounded-b-lg {
|
|
1650
|
+
border-bottom-right-radius: var(--radius);
|
|
1651
|
+
border-bottom-left-radius: var(--radius);
|
|
1652
|
+
}
|
|
1653
|
+
.rounded-l-lg {
|
|
1654
|
+
border-top-left-radius: var(--radius);
|
|
1655
|
+
border-bottom-left-radius: var(--radius);
|
|
1656
|
+
}
|
|
1657
|
+
.rounded-r-lg {
|
|
1658
|
+
border-top-right-radius: var(--radius);
|
|
1659
|
+
border-bottom-right-radius: var(--radius);
|
|
1660
|
+
}
|
|
1620
1661
|
.rounded-t-\[10px\] {
|
|
1621
1662
|
border-top-left-radius: 10px;
|
|
1622
1663
|
border-top-right-radius: 10px;
|
|
1623
1664
|
}
|
|
1665
|
+
.rounded-t-lg {
|
|
1666
|
+
border-top-left-radius: var(--radius);
|
|
1667
|
+
border-top-right-radius: var(--radius);
|
|
1668
|
+
}
|
|
1624
1669
|
.border {
|
|
1625
1670
|
border-width: 1px;
|
|
1626
1671
|
}
|
|
@@ -1639,6 +1684,9 @@ video {
|
|
|
1639
1684
|
.border-b-\[0\.5px\] {
|
|
1640
1685
|
border-bottom-width: 0.5px;
|
|
1641
1686
|
}
|
|
1687
|
+
.border-r {
|
|
1688
|
+
border-right-width: 1px;
|
|
1689
|
+
}
|
|
1642
1690
|
.border-t {
|
|
1643
1691
|
border-top-width: 1px;
|
|
1644
1692
|
}
|
|
@@ -1741,6 +1789,10 @@ video {
|
|
|
1741
1789
|
padding-top: 0.25rem;
|
|
1742
1790
|
padding-bottom: 0.25rem;
|
|
1743
1791
|
}
|
|
1792
|
+
.py-10 {
|
|
1793
|
+
padding-top: 2.5rem;
|
|
1794
|
+
padding-bottom: 2.5rem;
|
|
1795
|
+
}
|
|
1744
1796
|
.py-2 {
|
|
1745
1797
|
padding-top: 0.5rem;
|
|
1746
1798
|
padding-bottom: 0.5rem;
|
|
@@ -1846,6 +1898,11 @@ video {
|
|
|
1846
1898
|
.opacity-50 {
|
|
1847
1899
|
opacity: 0.5;
|
|
1848
1900
|
}
|
|
1901
|
+
.shadow {
|
|
1902
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
1903
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
1904
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1905
|
+
}
|
|
1849
1906
|
.shadow-lg {
|
|
1850
1907
|
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
1851
1908
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
@@ -1985,6 +2042,9 @@ video {
|
|
|
1985
2042
|
.hover\:color-bg-disabled:hover {
|
|
1986
2043
|
background-color: hsl(var(--color-bg-disabled));
|
|
1987
2044
|
}
|
|
2045
|
+
.hover\:\!color-bg-brand-hover:hover {
|
|
2046
|
+
background-color: hsl(var(--color-bg-brand-hover)) !important;
|
|
2047
|
+
}
|
|
1988
2048
|
.hover\:color-bg-brand-hover:hover {
|
|
1989
2049
|
background-color: hsl(var(--color-bg-brand-hover));
|
|
1990
2050
|
}
|
|
@@ -2226,6 +2286,12 @@ video {
|
|
|
2226
2286
|
.data-\[state\=active\]\:bg-none[data-state=active] {
|
|
2227
2287
|
background-image: none;
|
|
2228
2288
|
}
|
|
2289
|
+
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
2290
|
+
transition-duration: 300ms;
|
|
2291
|
+
}
|
|
2292
|
+
.data-\[state\=open\]\:duration-500[data-state=open] {
|
|
2293
|
+
transition-duration: 500ms;
|
|
2294
|
+
}
|
|
2229
2295
|
.data-\[state\=open\]\:animate-in[data-state=open] {
|
|
2230
2296
|
animation-name: enter;
|
|
2231
2297
|
animation-duration: 150ms;
|
|
@@ -2256,20 +2322,66 @@ video {
|
|
|
2256
2322
|
.data-\[state\=open\]\:zoom-in-95[data-state=open] {
|
|
2257
2323
|
--tw-enter-scale: .95;
|
|
2258
2324
|
}
|
|
2325
|
+
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom] {
|
|
2326
|
+
--tw-enter-translate-y: -0.5rem;
|
|
2327
|
+
}
|
|
2328
|
+
.data-\[side\=left\]\:slide-in-from-right-2[data-side=left] {
|
|
2329
|
+
--tw-enter-translate-x: 0.5rem;
|
|
2330
|
+
}
|
|
2331
|
+
.data-\[side\=right\]\:slide-in-from-left-2[data-side=right] {
|
|
2332
|
+
--tw-enter-translate-x: -0.5rem;
|
|
2333
|
+
}
|
|
2334
|
+
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top] {
|
|
2335
|
+
--tw-enter-translate-y: 0.5rem;
|
|
2336
|
+
}
|
|
2337
|
+
.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed] {
|
|
2338
|
+
--tw-exit-translate-y: 100%;
|
|
2339
|
+
}
|
|
2340
|
+
.data-\[state\=closed\]\:slide-out-to-left[data-state=closed] {
|
|
2341
|
+
--tw-exit-translate-x: -100%;
|
|
2342
|
+
}
|
|
2259
2343
|
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed] {
|
|
2260
2344
|
--tw-exit-translate-x: -50%;
|
|
2261
2345
|
}
|
|
2346
|
+
.data-\[state\=closed\]\:slide-out-to-right[data-state=closed] {
|
|
2347
|
+
--tw-exit-translate-x: 100%;
|
|
2348
|
+
}
|
|
2349
|
+
.data-\[state\=closed\]\:slide-out-to-top[data-state=closed] {
|
|
2350
|
+
--tw-exit-translate-y: -100%;
|
|
2351
|
+
}
|
|
2262
2352
|
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed] {
|
|
2263
2353
|
--tw-exit-translate-y: -48%;
|
|
2264
2354
|
}
|
|
2355
|
+
.data-\[state\=open\]\:slide-in-from-bottom[data-state=open] {
|
|
2356
|
+
--tw-enter-translate-y: 100%;
|
|
2357
|
+
}
|
|
2358
|
+
.data-\[state\=open\]\:slide-in-from-left[data-state=open] {
|
|
2359
|
+
--tw-enter-translate-x: -100%;
|
|
2360
|
+
}
|
|
2265
2361
|
.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open] {
|
|
2266
2362
|
--tw-enter-translate-x: -50%;
|
|
2267
2363
|
}
|
|
2364
|
+
.data-\[state\=open\]\:slide-in-from-right[data-state=open] {
|
|
2365
|
+
--tw-enter-translate-x: 100%;
|
|
2366
|
+
}
|
|
2367
|
+
.data-\[state\=open\]\:slide-in-from-top[data-state=open] {
|
|
2368
|
+
--tw-enter-translate-y: -100%;
|
|
2369
|
+
}
|
|
2268
2370
|
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open] {
|
|
2269
2371
|
--tw-enter-translate-y: -48%;
|
|
2270
2372
|
}
|
|
2373
|
+
.data-\[state\=closed\]\:duration-300[data-state=closed] {
|
|
2374
|
+
animation-duration: 300ms;
|
|
2375
|
+
}
|
|
2376
|
+
.data-\[state\=open\]\:duration-500[data-state=open] {
|
|
2377
|
+
animation-duration: 500ms;
|
|
2378
|
+
}
|
|
2271
2379
|
@media (min-width: 640px) {
|
|
2272
2380
|
|
|
2381
|
+
.sm\:max-w-sm {
|
|
2382
|
+
max-width: 24rem;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2273
2385
|
.sm\:flex-row {
|
|
2274
2386
|
flex-direction: row;
|
|
2275
2387
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { GridProps as GridProps_2 } from '@radix-ui/themes';
|
|
|
8
8
|
import { icons } from 'lucide-react';
|
|
9
9
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
10
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
11
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
11
12
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
12
13
|
import * as React_2 from 'react';
|
|
13
14
|
import { ReactNode } from 'react';
|
|
@@ -190,6 +191,30 @@ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
|
|
|
190
191
|
|
|
191
192
|
export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
192
193
|
|
|
194
|
+
export declare const DynamicDrawer: ({ open, onOpenChange, title, titleIcon, content, className, headerClassName, side, noOverlay, rounded, dismissible, }: DynamicDrawerProps) => JSX_2.Element;
|
|
195
|
+
|
|
196
|
+
export declare interface DynamicDrawerProps {
|
|
197
|
+
open: boolean;
|
|
198
|
+
onOpenChange: (open: boolean) => void;
|
|
199
|
+
title: string;
|
|
200
|
+
titleIcon?: string;
|
|
201
|
+
description?: string;
|
|
202
|
+
content?: default_2.ReactNode;
|
|
203
|
+
className?: string;
|
|
204
|
+
headerClassName?: string;
|
|
205
|
+
noOverlay?: boolean;
|
|
206
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
207
|
+
rounded?: boolean;
|
|
208
|
+
dismissible?: boolean;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export declare const DynamicDropdown: ({ content, anchorTrigger, ...props }: DynamicDropdownProps) => JSX_2.Element;
|
|
212
|
+
|
|
213
|
+
export declare interface DynamicDropdownProps {
|
|
214
|
+
content: default_2.ReactNode;
|
|
215
|
+
anchorTrigger?: default_2.ReactNode;
|
|
216
|
+
}
|
|
217
|
+
|
|
193
218
|
export declare const DynamicModal: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, disableOutsideClick, hasCloseIcon, }: DynamicModalProps) => JSX_2.Element;
|
|
194
219
|
|
|
195
220
|
export declare interface DynamicModalProps {
|
|
@@ -235,7 +260,7 @@ export declare type GridProps = GridProps_2;
|
|
|
235
260
|
|
|
236
261
|
export declare const Icon: default_2.ForwardRefExoticComponent<Omit<IconProps, "ref"> & default_2.RefAttributes<SVGSVGElement>>;
|
|
237
262
|
|
|
238
|
-
export declare const IconButton: ({ icon, variant, size, className, elevation, rounded, ...props }: IconButtonProps) => JSX_2.Element;
|
|
263
|
+
export declare const IconButton: ({ icon, variant, size, className, elevation, rounded, isActive, ...props }: IconButtonProps) => JSX_2.Element;
|
|
239
264
|
|
|
240
265
|
export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Pick<ButtonProps, "variant"> {
|
|
241
266
|
icon: keyof typeof UltimateIcons | string;
|
|
@@ -243,6 +268,7 @@ export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTML
|
|
|
243
268
|
isLoading?: boolean;
|
|
244
269
|
elevation?: number;
|
|
245
270
|
rounded?: boolean;
|
|
271
|
+
isActive?: boolean;
|
|
246
272
|
}
|
|
247
273
|
|
|
248
274
|
export declare interface IconProps extends SvgProps_2, VariantProps<typeof iconVariants_2> {
|
|
@@ -321,6 +347,18 @@ export declare interface LucideIconProps extends SvgProps, VariantProps<typeof i
|
|
|
321
347
|
strokeWidth?: number;
|
|
322
348
|
}
|
|
323
349
|
|
|
350
|
+
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
351
|
+
|
|
352
|
+
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
353
|
+
|
|
354
|
+
export declare const PopoverContent: React_2.ForwardRefExoticComponent<PopoverContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
355
|
+
|
|
356
|
+
export declare interface PopoverContentProps extends React_2.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
357
|
+
elevation?: number;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
361
|
+
|
|
324
362
|
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
325
363
|
|
|
326
364
|
export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
@@ -339,6 +377,41 @@ export declare interface SegmentedControlProps extends default_2.AllHTMLAttribut
|
|
|
339
377
|
contentType?: "icon" | "text";
|
|
340
378
|
}
|
|
341
379
|
|
|
380
|
+
export declare const Sheet: React_2.FC<DialogPrimitive.DialogProps>;
|
|
381
|
+
|
|
382
|
+
export declare const SheetClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
383
|
+
|
|
384
|
+
export declare const SheetContent: React_2.ForwardRefExoticComponent<SheetContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
385
|
+
|
|
386
|
+
declare interface SheetContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
387
|
+
overlayClasses?: string;
|
|
388
|
+
dismissible?: boolean;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export declare const SheetDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
392
|
+
|
|
393
|
+
export declare const SheetFooter: {
|
|
394
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
395
|
+
displayName: string;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
export declare const SheetHeader: {
|
|
399
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
400
|
+
displayName: string;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
export declare const SheetOverlay: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
404
|
+
|
|
405
|
+
export declare const SheetPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
|
|
406
|
+
|
|
407
|
+
export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
408
|
+
|
|
409
|
+
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
410
|
+
|
|
411
|
+
declare const sheetVariants: (props?: ({
|
|
412
|
+
side?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
413
|
+
} & ClassProp) | undefined) => string;
|
|
414
|
+
|
|
342
415
|
export declare type SortState = {
|
|
343
416
|
keyName: string | null;
|
|
344
417
|
order: "default" | "asc" | "desc";
|
|
@@ -348,6 +421,30 @@ export declare const StaticLoader: ({ text }: {
|
|
|
348
421
|
text?: string;
|
|
349
422
|
}) => JSX_2.Element;
|
|
350
423
|
|
|
424
|
+
export declare const Step: default_2.ForwardRefExoticComponent<StepProps & default_2.RefAttributes<HTMLElement>>;
|
|
425
|
+
|
|
426
|
+
export declare const Stepper: default_2.ForwardRefExoticComponent<StepperProps & default_2.RefAttributes<HTMLElement>>;
|
|
427
|
+
|
|
428
|
+
export declare interface StepperProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
429
|
+
children?: default_2.ReactNode;
|
|
430
|
+
className?: string;
|
|
431
|
+
layout?: "horizontal" | "vertical";
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export declare interface StepProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
435
|
+
isActive?: boolean;
|
|
436
|
+
isCompleted?: boolean;
|
|
437
|
+
firstStep?: boolean;
|
|
438
|
+
lastStep?: boolean;
|
|
439
|
+
stepNumber?: string;
|
|
440
|
+
title?: string;
|
|
441
|
+
className?: string;
|
|
442
|
+
type?: "solid" | "dashed";
|
|
443
|
+
layout?: "horizontal" | "vertical";
|
|
444
|
+
stepContent?: default_2.ReactNode;
|
|
445
|
+
isLoading?: boolean;
|
|
446
|
+
}
|
|
447
|
+
|
|
351
448
|
declare interface SvgProps extends default_2.SVGProps<SVGSVGElement> {
|
|
352
449
|
fill?: string;
|
|
353
450
|
stroke?: string;
|