@fileverse/ui 4.0.5 → 4.0.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/dist/index.css +43 -8
- package/dist/index.es.d.ts +39 -3
- package/dist/index.es.js +14219 -25464
- package/package.json +1 -2
- package/dist/index.cjs.js +0 -7354
package/dist/index.css
CHANGED
|
@@ -1131,6 +1131,9 @@ video {
|
|
|
1131
1131
|
margin-top: auto;
|
|
1132
1132
|
margin-bottom: auto;
|
|
1133
1133
|
}
|
|
1134
|
+
.mb-1 {
|
|
1135
|
+
margin-bottom: 0.25rem;
|
|
1136
|
+
}
|
|
1134
1137
|
.mb-14 {
|
|
1135
1138
|
margin-bottom: 3.5rem;
|
|
1136
1139
|
}
|
|
@@ -1360,9 +1363,6 @@ video {
|
|
|
1360
1363
|
.w-9 {
|
|
1361
1364
|
width: 2.25rem;
|
|
1362
1365
|
}
|
|
1363
|
-
.w-\[151px\] {
|
|
1364
|
-
width: 151px;
|
|
1365
|
-
}
|
|
1366
1366
|
.w-\[16px\] {
|
|
1367
1367
|
width: 16px;
|
|
1368
1368
|
}
|
|
@@ -1454,14 +1454,14 @@ video {
|
|
|
1454
1454
|
.min-w-\[40px\] {
|
|
1455
1455
|
min-width: 40px;
|
|
1456
1456
|
}
|
|
1457
|
-
.min-w-\[418px\] {
|
|
1458
|
-
min-width: 418px;
|
|
1459
|
-
}
|
|
1460
1457
|
.min-w-\[60\%\] {
|
|
1461
1458
|
min-width: 60%;
|
|
1462
1459
|
}
|
|
1463
|
-
.min-w-\[
|
|
1464
|
-
min-width:
|
|
1460
|
+
.min-w-\[92vw\] {
|
|
1461
|
+
min-width: 92vw;
|
|
1462
|
+
}
|
|
1463
|
+
.min-w-\[calc\(100vw-66px\)\] {
|
|
1464
|
+
min-width: calc(100vw - 66px);
|
|
1465
1465
|
}
|
|
1466
1466
|
.min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
1467
1467
|
min-width: var(--radix-select-trigger-width);
|
|
@@ -1479,6 +1479,9 @@ video {
|
|
|
1479
1479
|
.max-w-\[440px\] {
|
|
1480
1480
|
max-width: 440px;
|
|
1481
1481
|
}
|
|
1482
|
+
.max-w-\[70vw\] {
|
|
1483
|
+
max-width: 70vw;
|
|
1484
|
+
}
|
|
1482
1485
|
.max-w-fit {
|
|
1483
1486
|
max-width: -moz-fit-content;
|
|
1484
1487
|
max-width: fit-content;
|
|
@@ -2009,6 +2012,9 @@ video {
|
|
|
2009
2012
|
--tw-text-opacity: 1;
|
|
2010
2013
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
2011
2014
|
}
|
|
2015
|
+
.underline {
|
|
2016
|
+
text-decoration-line: underline;
|
|
2017
|
+
}
|
|
2012
2018
|
.opacity-0 {
|
|
2013
2019
|
opacity: 0;
|
|
2014
2020
|
}
|
|
@@ -2123,6 +2129,10 @@ video {
|
|
|
2123
2129
|
display: none;
|
|
2124
2130
|
}
|
|
2125
2131
|
|
|
2132
|
+
#storybook-root {
|
|
2133
|
+
padding: 0 !important;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2126
2136
|
.file\:text-body-sm::file-selector-button {
|
|
2127
2137
|
font-family: system-ui;
|
|
2128
2138
|
font-size: 14px;
|
|
@@ -2294,6 +2304,14 @@ video {
|
|
|
2294
2304
|
}
|
|
2295
2305
|
}
|
|
2296
2306
|
|
|
2307
|
+
.\[\&\>svg\]\:color-text-default>svg {
|
|
2308
|
+
color: hsl(var(--color-text-default));
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
.\[\&\>svg\]\:color-text-danger>svg {
|
|
2312
|
+
color: hsl(var(--color-text-danger));
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2297
2315
|
.\[\&_\[cmdk-group-heading\]\]\:text-helper-text-sm [cmdk-group-heading] {
|
|
2298
2316
|
font-family: system-ui;
|
|
2299
2317
|
font-size: 12px;
|
|
@@ -2669,6 +2687,11 @@ video {
|
|
|
2669
2687
|
|
|
2670
2688
|
@media (min-width: 640px) {
|
|
2671
2689
|
|
|
2690
|
+
.sm\:max-w-fit {
|
|
2691
|
+
max-width: -moz-fit-content;
|
|
2692
|
+
max-width: fit-content;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2672
2695
|
.sm\:max-w-sm {
|
|
2673
2696
|
max-width: 24rem;
|
|
2674
2697
|
}
|
|
@@ -2757,6 +2780,10 @@ video {
|
|
|
2757
2780
|
width: 75%;
|
|
2758
2781
|
}
|
|
2759
2782
|
|
|
2783
|
+
.lg\:w-\[180px\] {
|
|
2784
|
+
width: 180px;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2760
2787
|
.lg\:w-\[452px\] {
|
|
2761
2788
|
width: 452px;
|
|
2762
2789
|
}
|
|
@@ -2766,6 +2793,10 @@ video {
|
|
|
2766
2793
|
width: fit-content;
|
|
2767
2794
|
}
|
|
2768
2795
|
|
|
2796
|
+
.lg\:min-w-\[418px\] {
|
|
2797
|
+
min-width: 418px;
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2769
2800
|
.lg\:min-w-\[420px\] {
|
|
2770
2801
|
min-width: 420px;
|
|
2771
2802
|
}
|
|
@@ -2869,6 +2900,10 @@ video {
|
|
|
2869
2900
|
width: 1.25rem;
|
|
2870
2901
|
}
|
|
2871
2902
|
|
|
2903
|
+
.\[\&_p\]\:leading-relaxed p {
|
|
2904
|
+
line-height: 1.625;
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2872
2907
|
.\[\&_svg\]\:invisible svg {
|
|
2873
2908
|
visibility: hidden;
|
|
2874
2909
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -36,9 +36,16 @@ export declare type AccordionTriggerProps = React_2.ComponentPropsWithoutRef<typ
|
|
|
36
36
|
disabled?: boolean;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const Alert: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
40
|
+
variant?: "default" | "danger" | null | undefined;
|
|
41
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
|
|
43
|
+
export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
|
|
45
|
+
export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
46
|
+
|
|
47
|
+
export declare const AnimatedLoader: ({ text }: {
|
|
40
48
|
text?: string;
|
|
41
|
-
className?: string;
|
|
42
49
|
}) => JSX_2.Element;
|
|
43
50
|
|
|
44
51
|
export declare const Avatar: default_2.ForwardRefExoticComponent<AvatarProps & default_2.RefAttributes<HTMLImageElement>>;
|
|
@@ -194,6 +201,16 @@ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
|
|
|
194
201
|
|
|
195
202
|
export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
196
203
|
|
|
204
|
+
export declare const DynamicAlert: ({ title, description, variant, icon, className, ...props }: DynamicAlertProps) => JSX_2.Element;
|
|
205
|
+
|
|
206
|
+
export declare interface DynamicAlertProps {
|
|
207
|
+
title?: string;
|
|
208
|
+
description: React.ReactNode;
|
|
209
|
+
variant: "default" | "danger";
|
|
210
|
+
icon?: LucideIconProps["name"];
|
|
211
|
+
className?: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
197
214
|
export declare const DynamicContentController: ({ label, description, checked, onChange, size, }: DynamicContentControllerProps) => JSX_2.Element;
|
|
198
215
|
|
|
199
216
|
export declare interface DynamicContentControllerProps {
|
|
@@ -233,7 +250,7 @@ export declare const DynamicModal: ({ open, onOpenChange, title, description, co
|
|
|
233
250
|
export declare interface DynamicModalProps {
|
|
234
251
|
open: boolean;
|
|
235
252
|
onOpenChange: (open: boolean) => void;
|
|
236
|
-
title: string;
|
|
253
|
+
title: string | default_2.ReactNode;
|
|
237
254
|
description?: string;
|
|
238
255
|
content?: default_2.ReactNode;
|
|
239
256
|
primaryAction?: {
|
|
@@ -263,6 +280,25 @@ export declare interface DynamicRadioProps {
|
|
|
263
280
|
className?: string;
|
|
264
281
|
size?: "sm" | "lg";
|
|
265
282
|
content?: (selectedValue: string) => React.ReactNode;
|
|
283
|
+
selectedValue: string;
|
|
284
|
+
setSelectedValue: (value: string) => void;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export declare const DynamicSelect: ({ id, label, triggerClassName, contentClassName, className, placeholder, defaultValue, onValueChange, disabled, items, sideOffset, alignOffset, }: DynamicSelectProps) => JSX_2.Element | null;
|
|
288
|
+
|
|
289
|
+
export declare interface DynamicSelectProps {
|
|
290
|
+
id?: string;
|
|
291
|
+
label?: string;
|
|
292
|
+
triggerClassName?: string;
|
|
293
|
+
contentClassName?: string;
|
|
294
|
+
className?: string;
|
|
295
|
+
placeholder?: string;
|
|
296
|
+
defaultValue?: string | undefined;
|
|
297
|
+
onValueChange?: (value: string) => void;
|
|
298
|
+
disabled?: boolean;
|
|
299
|
+
items: any[];
|
|
300
|
+
sideOffset?: number;
|
|
301
|
+
alignOffset?: number;
|
|
266
302
|
}
|
|
267
303
|
|
|
268
304
|
export declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
|