@fileverse/ui 4.0.5 → 4.0.7

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 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-\[calc\(100vw-32px\)\] {
1464
- min-width: calc(100vw - 32px);
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,29 @@ video {
2123
2129
  display: none;
2124
2130
  }
2125
2131
 
2132
+ #storybook-root {
2133
+ padding: 0 !important;
2134
+ }
2135
+
2136
+ input:is(:-webkit-autofill, :-webkit-autofill), textarea:is(:-webkit-autofill, :-webkit-autofill) {
2137
+ -webkit-transition:
2138
+ background-color 0s 600000s,
2139
+ color 0s 600000s !important;
2140
+ transition:
2141
+ background-color 0s 600000s,
2142
+ color 0s 600000s !important;
2143
+ }
2144
+
2145
+ input:is(:-webkit-autofill, :autofill),
2146
+ textarea:is(:-webkit-autofill, :autofill) {
2147
+ -webkit-transition:
2148
+ background-color 0s 600000s,
2149
+ color 0s 600000s !important;
2150
+ transition:
2151
+ background-color 0s 600000s,
2152
+ color 0s 600000s !important;
2153
+ }
2154
+
2126
2155
  .file\:text-body-sm::file-selector-button {
2127
2156
  font-family: system-ui;
2128
2157
  font-size: 14px;
@@ -2294,6 +2323,14 @@ video {
2294
2323
  }
2295
2324
  }
2296
2325
 
2326
+ .\[\&\>svg\]\:color-text-default>svg {
2327
+ color: hsl(var(--color-text-default));
2328
+ }
2329
+
2330
+ .\[\&\>svg\]\:color-text-danger>svg {
2331
+ color: hsl(var(--color-text-danger));
2332
+ }
2333
+
2297
2334
  .\[\&_\[cmdk-group-heading\]\]\:text-helper-text-sm [cmdk-group-heading] {
2298
2335
  font-family: system-ui;
2299
2336
  font-size: 12px;
@@ -2669,6 +2706,11 @@ video {
2669
2706
 
2670
2707
  @media (min-width: 640px) {
2671
2708
 
2709
+ .sm\:max-w-fit {
2710
+ max-width: -moz-fit-content;
2711
+ max-width: fit-content;
2712
+ }
2713
+
2672
2714
  .sm\:max-w-sm {
2673
2715
  max-width: 24rem;
2674
2716
  }
@@ -2757,6 +2799,10 @@ video {
2757
2799
  width: 75%;
2758
2800
  }
2759
2801
 
2802
+ .lg\:w-\[180px\] {
2803
+ width: 180px;
2804
+ }
2805
+
2760
2806
  .lg\:w-\[452px\] {
2761
2807
  width: 452px;
2762
2808
  }
@@ -2766,6 +2812,10 @@ video {
2766
2812
  width: fit-content;
2767
2813
  }
2768
2814
 
2815
+ .lg\:min-w-\[418px\] {
2816
+ min-width: 418px;
2817
+ }
2818
+
2769
2819
  .lg\:min-w-\[420px\] {
2770
2820
  min-width: 420px;
2771
2821
  }
@@ -2869,6 +2919,10 @@ video {
2869
2919
  width: 1.25rem;
2870
2920
  }
2871
2921
 
2922
+ .\[\&_p\]\:leading-relaxed p {
2923
+ line-height: 1.625;
2924
+ }
2925
+
2872
2926
  .\[\&_svg\]\:invisible svg {
2873
2927
  visibility: hidden;
2874
2928
  }
@@ -36,9 +36,16 @@ export declare type AccordionTriggerProps = React_2.ComponentPropsWithoutRef<typ
36
36
  disabled?: boolean;
37
37
  };
38
38
 
39
- export declare const AnimatedLoader: ({ text, className, }: {
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,7 +201,17 @@ 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
 
197
- export declare const DynamicContentController: ({ label, description, checked, onChange, size, }: DynamicContentControllerProps) => JSX_2.Element;
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
+
214
+ export declare const DynamicContentController: ForwardRefExoticComponent<DynamicContentControllerProps & RefAttributes<HTMLDivElement>>;
198
215
 
199
216
  export declare interface DynamicContentControllerProps {
200
217
  label: string;
@@ -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";