@fileverse/ui 5.1.7 → 5.1.8-dropdownmenu-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 +18 -0
- package/dist/index.es.d.ts +43 -0
- package/dist/index.es.js +13398 -12483
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -1676,6 +1676,9 @@ video {
|
|
|
1676
1676
|
.h-14 {
|
|
1677
1677
|
height: 3.5rem;
|
|
1678
1678
|
}
|
|
1679
|
+
.h-2 {
|
|
1680
|
+
height: 0.5rem;
|
|
1681
|
+
}
|
|
1679
1682
|
.h-3 {
|
|
1680
1683
|
height: 0.75rem;
|
|
1681
1684
|
}
|
|
@@ -1840,6 +1843,9 @@ video {
|
|
|
1840
1843
|
.w-16 {
|
|
1841
1844
|
width: 4rem;
|
|
1842
1845
|
}
|
|
1846
|
+
.w-2 {
|
|
1847
|
+
width: 0.5rem;
|
|
1848
|
+
}
|
|
1843
1849
|
.w-20 {
|
|
1844
1850
|
width: 5rem;
|
|
1845
1851
|
}
|
|
@@ -1867,6 +1873,9 @@ video {
|
|
|
1867
1873
|
.w-52 {
|
|
1868
1874
|
width: 13rem;
|
|
1869
1875
|
}
|
|
1876
|
+
.w-56 {
|
|
1877
|
+
width: 14rem;
|
|
1878
|
+
}
|
|
1870
1879
|
.w-6 {
|
|
1871
1880
|
width: 1.5rem;
|
|
1872
1881
|
}
|
|
@@ -2571,6 +2580,9 @@ video {
|
|
|
2571
2580
|
.bg-none {
|
|
2572
2581
|
background-image: none;
|
|
2573
2582
|
}
|
|
2583
|
+
.fill-current {
|
|
2584
|
+
fill: currentColor;
|
|
2585
|
+
}
|
|
2574
2586
|
.stroke-\[hsl\(var\(--color-bg-default\)\)\] {
|
|
2575
2587
|
stroke: hsl(var(--color-bg-default));
|
|
2576
2588
|
}
|
|
@@ -2729,9 +2741,15 @@ video {
|
|
|
2729
2741
|
.pl-6 {
|
|
2730
2742
|
padding-left: 1.5rem;
|
|
2731
2743
|
}
|
|
2744
|
+
.pl-8 {
|
|
2745
|
+
padding-left: 2rem;
|
|
2746
|
+
}
|
|
2732
2747
|
.pr-10 {
|
|
2733
2748
|
padding-right: 2.5rem;
|
|
2734
2749
|
}
|
|
2750
|
+
.pr-2 {
|
|
2751
|
+
padding-right: 0.5rem;
|
|
2752
|
+
}
|
|
2735
2753
|
.pr-3 {
|
|
2736
2754
|
padding-right: 0.75rem;
|
|
2737
2755
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { default as default_2 } from 'react';
|
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
9
9
|
import { Drawer as Drawer_2 } from 'vaul';
|
|
10
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
10
11
|
import { EmojiClickData } from 'emoji-picker-react';
|
|
11
12
|
import { default as EmojiPicker } from 'emoji-picker-react';
|
|
12
13
|
import { EmojiStyle } from 'emoji-picker-react';
|
|
@@ -349,6 +350,47 @@ export declare const DrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogP
|
|
|
349
350
|
|
|
350
351
|
export declare const DrawerTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
351
352
|
|
|
353
|
+
export declare const DropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
354
|
+
|
|
355
|
+
export declare const DropdownMenuArrow: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuArrowProps & React_2.RefAttributes<SVGSVGElement>>;
|
|
356
|
+
|
|
357
|
+
export declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
358
|
+
|
|
359
|
+
export declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
360
|
+
|
|
361
|
+
export declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
|
|
363
|
+
export declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
364
|
+
inset?: boolean;
|
|
365
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
366
|
+
|
|
367
|
+
export declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
368
|
+
inset?: boolean;
|
|
369
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
370
|
+
|
|
371
|
+
export declare const DropdownMenuPortal: React_2.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
372
|
+
|
|
373
|
+
export declare const DropdownMenuRadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
374
|
+
|
|
375
|
+
export declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
376
|
+
|
|
377
|
+
export declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
|
|
379
|
+
export declare const DropdownMenuShortcut: {
|
|
380
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
381
|
+
displayName: string;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
export declare const DropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
385
|
+
|
|
386
|
+
export declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
387
|
+
|
|
388
|
+
export declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
389
|
+
inset?: boolean;
|
|
390
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
|
|
392
|
+
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
393
|
+
|
|
352
394
|
export declare const DynamicAlert: ({ title, description, variant, icon, className, iconClassName, ...props }: DynamicAlertProps) => JSX_2.Element;
|
|
353
395
|
|
|
354
396
|
export declare interface DynamicAlertProps {
|
|
@@ -1026,6 +1068,7 @@ export declare const Tooltip: React_2.ForwardRefExoticComponent<TooltipProps & R
|
|
|
1026
1068
|
export declare interface TooltipProps extends React_2.HTMLAttributes<HTMLElement>, VariantProps<typeof tooltipVariants> {
|
|
1027
1069
|
text: string | React_2.ReactNode;
|
|
1028
1070
|
sideOffset?: number;
|
|
1071
|
+
asTriggerChild?: boolean;
|
|
1029
1072
|
open?: boolean;
|
|
1030
1073
|
}
|
|
1031
1074
|
|