@fileverse/ui 4.1.7-patch-2 → 4.1.7-patch-4
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 +44 -0
- package/dist/index.es.d.ts +54 -4
- package/dist/index.es.js +11248 -11097
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1442,18 +1442,31 @@ video {
|
|
|
1442
1442
|
.min-h-10 {
|
|
1443
1443
|
min-height: 2.5rem;
|
|
1444
1444
|
}
|
|
1445
|
+
.min-h-4 {
|
|
1446
|
+
min-height: 1rem;
|
|
1447
|
+
}
|
|
1445
1448
|
.min-h-7 {
|
|
1446
1449
|
min-height: 1.75rem;
|
|
1447
1450
|
}
|
|
1448
1451
|
.min-h-9 {
|
|
1449
1452
|
min-height: 2.25rem;
|
|
1450
1453
|
}
|
|
1454
|
+
.min-h-\[296px\] {
|
|
1455
|
+
min-height: 296px;
|
|
1456
|
+
}
|
|
1451
1457
|
.min-h-\[2vh\] {
|
|
1452
1458
|
min-height: 2vh;
|
|
1453
1459
|
}
|
|
1460
|
+
.min-h-\[468px\] {
|
|
1461
|
+
min-height: 468px;
|
|
1462
|
+
}
|
|
1454
1463
|
.min-h-\[80px\] {
|
|
1455
1464
|
min-height: 80px;
|
|
1456
1465
|
}
|
|
1466
|
+
.min-h-fit {
|
|
1467
|
+
min-height: -moz-fit-content;
|
|
1468
|
+
min-height: fit-content;
|
|
1469
|
+
}
|
|
1457
1470
|
.min-h-screen {
|
|
1458
1471
|
min-height: 100vh;
|
|
1459
1472
|
}
|
|
@@ -1666,6 +1679,9 @@ video {
|
|
|
1666
1679
|
.min-w-\[36px\] {
|
|
1667
1680
|
min-width: 36px;
|
|
1668
1681
|
}
|
|
1682
|
+
.min-w-\[394px\] {
|
|
1683
|
+
min-width: 394px;
|
|
1684
|
+
}
|
|
1669
1685
|
.min-w-\[40px\] {
|
|
1670
1686
|
min-width: 40px;
|
|
1671
1687
|
}
|
|
@@ -1675,6 +1691,9 @@ video {
|
|
|
1675
1691
|
.min-w-\[80px\] {
|
|
1676
1692
|
min-width: 80px;
|
|
1677
1693
|
}
|
|
1694
|
+
.min-w-\[90vw\] {
|
|
1695
|
+
min-width: 90vw;
|
|
1696
|
+
}
|
|
1678
1697
|
.min-w-\[92vw\] {
|
|
1679
1698
|
min-width: 92vw;
|
|
1680
1699
|
}
|
|
@@ -1713,6 +1732,10 @@ video {
|
|
|
1713
1732
|
.max-w-lg {
|
|
1714
1733
|
max-width: 32rem;
|
|
1715
1734
|
}
|
|
1735
|
+
.max-w-min {
|
|
1736
|
+
max-width: -moz-min-content;
|
|
1737
|
+
max-width: min-content;
|
|
1738
|
+
}
|
|
1716
1739
|
.max-w-screen-md {
|
|
1717
1740
|
max-width: 768px;
|
|
1718
1741
|
}
|
|
@@ -2275,6 +2298,9 @@ video {
|
|
|
2275
2298
|
padding-top: 1.5rem;
|
|
2276
2299
|
padding-bottom: 1.5rem;
|
|
2277
2300
|
}
|
|
2301
|
+
.\!pb-0 {
|
|
2302
|
+
padding-bottom: 0px !important;
|
|
2303
|
+
}
|
|
2278
2304
|
.\!pt-4 {
|
|
2279
2305
|
padding-top: 1rem !important;
|
|
2280
2306
|
}
|
|
@@ -2311,6 +2337,9 @@ video {
|
|
|
2311
2337
|
.pt-0 {
|
|
2312
2338
|
padding-top: 0px;
|
|
2313
2339
|
}
|
|
2340
|
+
.pt-1 {
|
|
2341
|
+
padding-top: 0.25rem;
|
|
2342
|
+
}
|
|
2314
2343
|
.pt-2 {
|
|
2315
2344
|
padding-top: 0.5rem;
|
|
2316
2345
|
}
|
|
@@ -2549,6 +2578,12 @@ video {
|
|
|
2549
2578
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2550
2579
|
}
|
|
2551
2580
|
|
|
2581
|
+
*,
|
|
2582
|
+
::before,
|
|
2583
|
+
::after {
|
|
2584
|
+
border-style: none;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2552
2587
|
#selected-value > div > div > p {
|
|
2553
2588
|
display: none;
|
|
2554
2589
|
}
|
|
@@ -3471,6 +3506,11 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3471
3506
|
max-width: 420px;
|
|
3472
3507
|
}
|
|
3473
3508
|
|
|
3509
|
+
.md\:max-w-min {
|
|
3510
|
+
max-width: -moz-min-content;
|
|
3511
|
+
max-width: min-content;
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3474
3514
|
.md\:grid-cols-2 {
|
|
3475
3515
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3476
3516
|
}
|
|
@@ -3551,6 +3591,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
3551
3591
|
min-width: 420px;
|
|
3552
3592
|
}
|
|
3553
3593
|
|
|
3594
|
+
.lg\:min-w-\[884px\] {
|
|
3595
|
+
min-width: 884px;
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3554
3598
|
.lg\:\!max-w-fit {
|
|
3555
3599
|
max-width: -moz-fit-content !important;
|
|
3556
3600
|
max-width: fit-content !important;
|
package/dist/index.es.d.ts
CHANGED
|
@@ -98,6 +98,16 @@ export declare interface BottomDrawerProps extends DynamicModalProps {
|
|
|
98
98
|
|
|
99
99
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
100
100
|
|
|
101
|
+
declare interface ButtonConfig {
|
|
102
|
+
show: boolean;
|
|
103
|
+
label: string | default_2.ReactNode;
|
|
104
|
+
onClick?: () => void | Promise<void>;
|
|
105
|
+
href?: string;
|
|
106
|
+
variant?: "default" | "secondary" | "ghost" | "danger";
|
|
107
|
+
icon?: string;
|
|
108
|
+
className?: string;
|
|
109
|
+
}
|
|
110
|
+
|
|
101
111
|
export declare const ButtonGroup: React_2.FC<ButtonGroupProps>;
|
|
102
112
|
|
|
103
113
|
/**
|
|
@@ -485,6 +495,30 @@ export { EmojiPicker }
|
|
|
485
495
|
|
|
486
496
|
export { EmojiStyle }
|
|
487
497
|
|
|
498
|
+
export declare const FeatureReleaseModal: ({ open, onOpenChange, orientation, media, title, subtitle, primaryButton, secondaryButton, hasCloseIcon, disableOutsideClick, className, contentClassName, noOverlay, overlayClasses, features, }: FeatureReleaseModalProps) => JSX_2.Element | null;
|
|
499
|
+
|
|
500
|
+
export declare interface FeatureReleaseModalProps {
|
|
501
|
+
open: boolean;
|
|
502
|
+
onOpenChange: (open: boolean) => void;
|
|
503
|
+
orientation?: "portrait" | "landscape";
|
|
504
|
+
media?: default_2.ReactNode;
|
|
505
|
+
title: string | default_2.ReactNode;
|
|
506
|
+
subtitle?: string | default_2.ReactNode;
|
|
507
|
+
primaryButton?: ButtonConfig;
|
|
508
|
+
secondaryButton?: ButtonConfig;
|
|
509
|
+
hasCloseIcon?: boolean;
|
|
510
|
+
disableOutsideClick?: boolean;
|
|
511
|
+
noOverlay?: boolean;
|
|
512
|
+
overlayClasses?: string;
|
|
513
|
+
className?: string;
|
|
514
|
+
contentClassName?: string;
|
|
515
|
+
features?: {
|
|
516
|
+
title: string | default_2.ReactNode;
|
|
517
|
+
description: string | default_2.ReactNode;
|
|
518
|
+
icon: default_2.ReactNode;
|
|
519
|
+
}[];
|
|
520
|
+
}
|
|
521
|
+
|
|
488
522
|
export declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
|
|
489
523
|
|
|
490
524
|
export declare const FloatingToolbar: default_2.ForwardRefExoticComponent<FloatingToolbarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -524,7 +558,7 @@ export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTML
|
|
|
524
558
|
|
|
525
559
|
declare type IconComponent = default_2.FC<IconProps>;
|
|
526
560
|
|
|
527
|
-
export declare interface IconProps extends
|
|
561
|
+
export declare interface IconProps extends SvgProps_2, VariantProps<typeof iconVariants_2> {
|
|
528
562
|
name: keyof typeof Icons;
|
|
529
563
|
className?: string;
|
|
530
564
|
}
|
|
@@ -556,7 +590,7 @@ export declare enum LayoutModes {
|
|
|
556
590
|
|
|
557
591
|
export declare const LucideIcon: default_2.ForwardRefExoticComponent<Omit<LucideIconProps, "ref"> & default_2.RefAttributes<SVGSVGElement>>;
|
|
558
592
|
|
|
559
|
-
export declare interface LucideIconProps extends Omit<
|
|
593
|
+
export declare interface LucideIconProps extends Omit<SvgProps, "name">, VariantProps<typeof iconVariants> {
|
|
560
594
|
name: keyof typeof UltimateIcons;
|
|
561
595
|
className?: string;
|
|
562
596
|
strokeWidth?: number;
|
|
@@ -673,7 +707,7 @@ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
673
707
|
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
674
708
|
|
|
675
709
|
declare const sheetVariants: (props?: ({
|
|
676
|
-
side?: "
|
|
710
|
+
side?: "bottom" | "top" | "right" | "left" | null | undefined;
|
|
677
711
|
} & ClassProp) | undefined) => string;
|
|
678
712
|
|
|
679
713
|
export declare const Skeleton: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => JSX_2.Element;
|
|
@@ -796,6 +830,14 @@ export declare interface TextAreaFieldProps extends React_2.TextareaHTMLAttribut
|
|
|
796
830
|
* Whether the textarea is valid.
|
|
797
831
|
*/
|
|
798
832
|
isValid?: boolean;
|
|
833
|
+
/**
|
|
834
|
+
* The tooltip text for the textarea.
|
|
835
|
+
*/
|
|
836
|
+
infoMessage?: string;
|
|
837
|
+
/**
|
|
838
|
+
* The icon for the tooltip.
|
|
839
|
+
*/
|
|
840
|
+
icon?: LucideIconProps["name"];
|
|
799
841
|
}
|
|
800
842
|
|
|
801
843
|
export declare const TextAreaFieldV2: React_2.ForwardRefExoticComponent<TextAreaFieldV2Props & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -854,6 +896,14 @@ export declare interface TextFieldProps extends React_2.InputHTMLAttributes<HTML
|
|
|
854
896
|
* Event handler for the onChange event.
|
|
855
897
|
*/
|
|
856
898
|
onChange?: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
899
|
+
/**
|
|
900
|
+
* The tooltip text for the textarea.
|
|
901
|
+
*/
|
|
902
|
+
infoMessage?: string;
|
|
903
|
+
/**
|
|
904
|
+
* The icon for the tooltip.
|
|
905
|
+
*/
|
|
906
|
+
icon?: LucideIconProps["name"];
|
|
857
907
|
}
|
|
858
908
|
|
|
859
909
|
declare type Theme = "light" | "dark";
|
|
@@ -967,7 +1017,7 @@ export declare interface TooltipProps extends React_2.HTMLAttributes<HTMLElement
|
|
|
967
1017
|
}
|
|
968
1018
|
|
|
969
1019
|
declare const tooltipVariants: (props?: ({
|
|
970
|
-
position?: "
|
|
1020
|
+
position?: "bottom" | "top" | "right" | "left" | null | undefined;
|
|
971
1021
|
beakAlignment?: "end" | "center" | "start" | null | undefined;
|
|
972
1022
|
defaultVariants?: "variant" | "beakPosition" | null | undefined;
|
|
973
1023
|
} & ClassProp) | undefined) => string;
|