@fileverse/ui 4.1.0 → 4.1.1
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 +27 -0
- package/dist/index.es.d.ts +7 -19
- package/dist/index.es.js +10800 -32019
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1373,6 +1373,9 @@ video {
|
|
|
1373
1373
|
.w-9 {
|
|
1374
1374
|
width: 2.25rem;
|
|
1375
1375
|
}
|
|
1376
|
+
.w-\[100\%\] {
|
|
1377
|
+
width: 100%;
|
|
1378
|
+
}
|
|
1376
1379
|
.w-\[16px\] {
|
|
1377
1380
|
width: 16px;
|
|
1378
1381
|
}
|
|
@@ -1409,6 +1412,9 @@ video {
|
|
|
1409
1412
|
.w-\[68px\] {
|
|
1410
1413
|
width: 68px;
|
|
1411
1414
|
}
|
|
1415
|
+
.w-\[70\%\] {
|
|
1416
|
+
width: 70%;
|
|
1417
|
+
}
|
|
1412
1418
|
.w-\[70vw\] {
|
|
1413
1419
|
width: 70vw;
|
|
1414
1420
|
}
|
|
@@ -1449,6 +1455,9 @@ video {
|
|
|
1449
1455
|
.min-w-\[108px\] {
|
|
1450
1456
|
min-width: 108px;
|
|
1451
1457
|
}
|
|
1458
|
+
.min-w-\[110px\] {
|
|
1459
|
+
min-width: 110px;
|
|
1460
|
+
}
|
|
1452
1461
|
.min-w-\[129px\] {
|
|
1453
1462
|
min-width: 129px;
|
|
1454
1463
|
}
|
|
@@ -1616,6 +1625,9 @@ video {
|
|
|
1616
1625
|
.grid-flow-col {
|
|
1617
1626
|
grid-auto-flow: column;
|
|
1618
1627
|
}
|
|
1628
|
+
.grid-cols-1 {
|
|
1629
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1630
|
+
}
|
|
1619
1631
|
.grid-cols-2 {
|
|
1620
1632
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1621
1633
|
}
|
|
@@ -1658,6 +1670,9 @@ video {
|
|
|
1658
1670
|
.gap-1 {
|
|
1659
1671
|
gap: 0.25rem;
|
|
1660
1672
|
}
|
|
1673
|
+
.gap-10 {
|
|
1674
|
+
gap: 2.5rem;
|
|
1675
|
+
}
|
|
1661
1676
|
.gap-16 {
|
|
1662
1677
|
gap: 4rem;
|
|
1663
1678
|
}
|
|
@@ -2857,6 +2872,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2857
2872
|
max-width: 24rem;
|
|
2858
2873
|
}
|
|
2859
2874
|
|
|
2875
|
+
.sm\:grid-cols-1 {
|
|
2876
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2860
2879
|
.sm\:flex-row {
|
|
2861
2880
|
flex-direction: row;
|
|
2862
2881
|
}
|
|
@@ -2894,6 +2913,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2894
2913
|
width: auto;
|
|
2895
2914
|
}
|
|
2896
2915
|
|
|
2916
|
+
.md\:grid-cols-2 {
|
|
2917
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2897
2920
|
.md\:flex-row {
|
|
2898
2921
|
flex-direction: row;
|
|
2899
2922
|
}
|
|
@@ -2971,6 +2994,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2971
2994
|
max-width: fit-content !important;
|
|
2972
2995
|
}
|
|
2973
2996
|
|
|
2997
|
+
.lg\:grid-cols-3 {
|
|
2998
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2999
|
+
}
|
|
3000
|
+
|
|
2974
3001
|
.lg\:text-wrap {
|
|
2975
3002
|
text-wrap: wrap;
|
|
2976
3003
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { Drawer as Drawer_2 } from 'vaul';
|
|
|
7
7
|
import { EmojiClickData } from 'emoji-picker-react';
|
|
8
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
9
9
|
import { GridProps as GridProps_2 } from '@radix-ui/themes';
|
|
10
|
-
import { icons } from 'lucide-react';
|
|
11
10
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
12
11
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
@@ -82,6 +81,8 @@ declare const avatarVariants: (props?: ({
|
|
|
82
81
|
content?: "image" | "text" | null | undefined;
|
|
83
82
|
} & ClassProp) | undefined) => string;
|
|
84
83
|
|
|
84
|
+
export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, }: DynamicModalProps) => JSX_2.Element;
|
|
85
|
+
|
|
85
86
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
86
87
|
|
|
87
88
|
export declare const ButtonGroup: React_2.FC<ButtonGroupProps>;
|
|
@@ -360,7 +361,7 @@ export declare interface IconButtonProps extends React.ButtonHTMLAttributes<HTML
|
|
|
360
361
|
fill?: string;
|
|
361
362
|
}
|
|
362
363
|
|
|
363
|
-
export declare interface IconProps extends
|
|
364
|
+
export declare interface IconProps extends SvgProps, VariantProps<typeof iconVariants> {
|
|
364
365
|
name: keyof typeof Icons;
|
|
365
366
|
className?: string;
|
|
366
367
|
}
|
|
@@ -430,7 +431,7 @@ export declare enum LayoutModes {
|
|
|
430
431
|
|
|
431
432
|
export declare const LucideIcon: default_2.ForwardRefExoticComponent<Omit<LucideIconProps, "ref"> & default_2.RefAttributes<SVGSVGElement>>;
|
|
432
433
|
|
|
433
|
-
export declare interface LucideIconProps extends
|
|
434
|
+
export declare interface LucideIconProps extends Omit<SvgProps_2, "name">, VariantProps<typeof iconVariants_2> {
|
|
434
435
|
name: keyof typeof UltimateIcons;
|
|
435
436
|
className?: string;
|
|
436
437
|
strokeWidth?: number;
|
|
@@ -693,11 +694,11 @@ export declare const Tag: React_2.ForwardRefExoticComponent<TagProps & React_2.R
|
|
|
693
694
|
export declare interface TagProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof tagVariants> {
|
|
694
695
|
isRemovable?: boolean;
|
|
695
696
|
onRemove?: (event?: React_2.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
696
|
-
icon?:
|
|
697
|
+
icon?: any;
|
|
697
698
|
}
|
|
698
699
|
|
|
699
700
|
declare const tagVariants: (props?: ({
|
|
700
|
-
variant?: "
|
|
701
|
+
variant?: "danger" | "transparent" | "gray" | "brand" | "success" | null | undefined;
|
|
701
702
|
} & ClassProp) | undefined) => string;
|
|
702
703
|
|
|
703
704
|
export declare const TextAreaField: React_2.ForwardRefExoticComponent<TextAreaFieldProps & React_2.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -770,20 +771,7 @@ declare const tooltipVariants: (props?: ({
|
|
|
770
771
|
defaultVariants?: "variant" | "beakPosition" | null | undefined;
|
|
771
772
|
} & ClassProp) | undefined) => string;
|
|
772
773
|
|
|
773
|
-
declare const UltimateIcons:
|
|
774
|
-
File3d: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
775
|
-
FileWord: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
776
|
-
FilePdf: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
777
|
-
FilePpt: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
778
|
-
FileExcel: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
779
|
-
Section: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
780
|
-
XSocial: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
781
|
-
Farcaster: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
782
|
-
Warpcast: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
783
|
-
Orb: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
784
|
-
Lens: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
785
|
-
Hey: ({ width, height, ...props }: LucideIconProps) => JSX_2.Element;
|
|
786
|
-
};
|
|
774
|
+
declare const UltimateIcons: any;
|
|
787
775
|
|
|
788
776
|
export declare const useHoverAndLongPress: ({ delay, }: UseHoverAndLongPressProps) => {
|
|
789
777
|
onMouseEnter: () => void;
|