@fileverse/ui 4.0.9 → 4.1.0
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 +31 -0
- package/dist/index.es.d.ts +4 -3
- package/dist/index.es.js +1019 -988
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1328,6 +1328,9 @@ video {
|
|
|
1328
1328
|
.min-h-screen {
|
|
1329
1329
|
min-height: 100vh;
|
|
1330
1330
|
}
|
|
1331
|
+
.\!w-\[40px\] {
|
|
1332
|
+
width: 40px !important;
|
|
1333
|
+
}
|
|
1331
1334
|
.\!w-\[95\%\] {
|
|
1332
1335
|
width: 95% !important;
|
|
1333
1336
|
}
|
|
@@ -1412,9 +1415,15 @@ video {
|
|
|
1412
1415
|
.w-\[80\%\] {
|
|
1413
1416
|
width: 80%;
|
|
1414
1417
|
}
|
|
1418
|
+
.w-\[80px\] {
|
|
1419
|
+
width: 80px;
|
|
1420
|
+
}
|
|
1415
1421
|
.w-\[80vw\] {
|
|
1416
1422
|
width: 80vw;
|
|
1417
1423
|
}
|
|
1424
|
+
.w-\[84px\] {
|
|
1425
|
+
width: 84px;
|
|
1426
|
+
}
|
|
1418
1427
|
.w-\[85\%\] {
|
|
1419
1428
|
width: 85%;
|
|
1420
1429
|
}
|
|
@@ -1428,6 +1437,9 @@ video {
|
|
|
1428
1437
|
.w-screen {
|
|
1429
1438
|
width: 100vw;
|
|
1430
1439
|
}
|
|
1440
|
+
.min-w-10 {
|
|
1441
|
+
min-width: 2.5rem;
|
|
1442
|
+
}
|
|
1431
1443
|
.min-w-4 {
|
|
1432
1444
|
min-width: 1rem;
|
|
1433
1445
|
}
|
|
@@ -1752,6 +1764,9 @@ video {
|
|
|
1752
1764
|
.rounded-\[4px\] {
|
|
1753
1765
|
border-radius: 4px;
|
|
1754
1766
|
}
|
|
1767
|
+
.rounded-\[8px\] {
|
|
1768
|
+
border-radius: 8px;
|
|
1769
|
+
}
|
|
1755
1770
|
.rounded-full {
|
|
1756
1771
|
border-radius: 9999px;
|
|
1757
1772
|
}
|
|
@@ -1774,10 +1789,18 @@ video {
|
|
|
1774
1789
|
border-bottom-right-radius: var(--radius);
|
|
1775
1790
|
border-bottom-left-radius: var(--radius);
|
|
1776
1791
|
}
|
|
1792
|
+
.rounded-l-\[8px\] {
|
|
1793
|
+
border-top-left-radius: 8px;
|
|
1794
|
+
border-bottom-left-radius: 8px;
|
|
1795
|
+
}
|
|
1777
1796
|
.rounded-l-lg {
|
|
1778
1797
|
border-top-left-radius: var(--radius);
|
|
1779
1798
|
border-bottom-left-radius: var(--radius);
|
|
1780
1799
|
}
|
|
1800
|
+
.rounded-r-\[8px\] {
|
|
1801
|
+
border-top-right-radius: 8px;
|
|
1802
|
+
border-bottom-right-radius: 8px;
|
|
1803
|
+
}
|
|
1781
1804
|
.rounded-r-lg {
|
|
1782
1805
|
border-top-right-radius: var(--radius);
|
|
1783
1806
|
border-bottom-right-radius: var(--radius);
|
|
@@ -2296,6 +2319,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2296
2319
|
color: hsl(var(--color-text-inverse));
|
|
2297
2320
|
}
|
|
2298
2321
|
|
|
2322
|
+
.hover\:\!color-bg-default:hover {
|
|
2323
|
+
background-color: hsl(var(--color-bg-default)) !important;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2299
2326
|
.hover\:\!color-bg-default-hover:hover {
|
|
2300
2327
|
background-color: hsl(var(--color-bg-default-hover)) !important;
|
|
2301
2328
|
}
|
|
@@ -2512,6 +2539,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2512
2539
|
cursor: pointer;
|
|
2513
2540
|
}
|
|
2514
2541
|
|
|
2542
|
+
.hover\:\!border-transparent:hover {
|
|
2543
|
+
border-color: transparent !important;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2515
2546
|
.hover\:bg-inherit:hover {
|
|
2516
2547
|
background-color: inherit;
|
|
2517
2548
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ export declare const DynamicDrawer: ({ open, onOpenChange, title, titleIcon, con
|
|
|
248
248
|
export declare interface DynamicDrawerProps {
|
|
249
249
|
open: boolean;
|
|
250
250
|
onOpenChange: (open: boolean) => void;
|
|
251
|
-
title
|
|
251
|
+
title?: string;
|
|
252
252
|
titleIcon?: string;
|
|
253
253
|
description?: string;
|
|
254
254
|
content?: default_2.ReactNode;
|
|
@@ -281,7 +281,7 @@ export declare interface DynamicModalProps {
|
|
|
281
281
|
content?: default_2.ReactNode;
|
|
282
282
|
primaryAction?: {
|
|
283
283
|
label: string;
|
|
284
|
-
onClick?: () => void
|
|
284
|
+
onClick?: () => void | Promise<void>;
|
|
285
285
|
variant?: "default" | "secondary" | "ghost" | "danger";
|
|
286
286
|
className?: string;
|
|
287
287
|
isLoading?: boolean;
|
|
@@ -357,6 +357,7 @@ export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTML
|
|
|
357
357
|
elevation?: number;
|
|
358
358
|
rounded?: boolean;
|
|
359
359
|
isActive?: boolean;
|
|
360
|
+
fill?: string;
|
|
360
361
|
}
|
|
361
362
|
|
|
362
363
|
export declare interface IconProps extends SvgProps_2, VariantProps<typeof iconVariants_2> {
|
|
@@ -696,7 +697,7 @@ export declare interface TagProps extends React_2.HTMLAttributes<HTMLDivElement>
|
|
|
696
697
|
}
|
|
697
698
|
|
|
698
699
|
declare const tagVariants: (props?: ({
|
|
699
|
-
variant?: "transparent" | "gray" | "brand" | null | undefined;
|
|
700
|
+
variant?: "transparent" | "danger" | "gray" | "brand" | "success" | null | undefined;
|
|
700
701
|
} & ClassProp) | undefined) => string;
|
|
701
702
|
|
|
702
703
|
export declare const TextAreaField: React_2.ForwardRefExoticComponent<TextAreaFieldProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|