@fileverse/ui 4.0.7 → 4.0.9-patch
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 +131 -8
- package/dist/index.es.d.ts +28 -0
- package/dist/index.es.js +30562 -10732
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -1127,6 +1127,10 @@ video {
|
|
|
1127
1127
|
margin-top: 0.25rem;
|
|
1128
1128
|
margin-bottom: 0.25rem;
|
|
1129
1129
|
}
|
|
1130
|
+
.my-4 {
|
|
1131
|
+
margin-top: 1rem;
|
|
1132
|
+
margin-bottom: 1rem;
|
|
1133
|
+
}
|
|
1130
1134
|
.my-auto {
|
|
1131
1135
|
margin-top: auto;
|
|
1132
1136
|
margin-bottom: auto;
|
|
@@ -1260,6 +1264,9 @@ video {
|
|
|
1260
1264
|
.h-\[38px\] {
|
|
1261
1265
|
height: 38px;
|
|
1262
1266
|
}
|
|
1267
|
+
.h-\[400px\] {
|
|
1268
|
+
height: 400px;
|
|
1269
|
+
}
|
|
1263
1270
|
.h-\[440px\] {
|
|
1264
1271
|
height: 440px;
|
|
1265
1272
|
}
|
|
@@ -1421,6 +1428,9 @@ video {
|
|
|
1421
1428
|
.w-screen {
|
|
1422
1429
|
width: 100vw;
|
|
1423
1430
|
}
|
|
1431
|
+
.min-w-10 {
|
|
1432
|
+
min-width: 2.5rem;
|
|
1433
|
+
}
|
|
1424
1434
|
.min-w-4 {
|
|
1425
1435
|
min-width: 1rem;
|
|
1426
1436
|
}
|
|
@@ -1541,6 +1551,10 @@ video {
|
|
|
1541
1551
|
--tw-translate-y: 25%;
|
|
1542
1552
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1543
1553
|
}
|
|
1554
|
+
.translate-y-12 {
|
|
1555
|
+
--tw-translate-y: 3rem;
|
|
1556
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1557
|
+
}
|
|
1544
1558
|
.translate-y-\[-50\%\] {
|
|
1545
1559
|
--tw-translate-y: -50%;
|
|
1546
1560
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1629,6 +1643,9 @@ video {
|
|
|
1629
1643
|
.justify-between {
|
|
1630
1644
|
justify-content: space-between;
|
|
1631
1645
|
}
|
|
1646
|
+
.\!gap-1 {
|
|
1647
|
+
gap: 0.25rem !important;
|
|
1648
|
+
}
|
|
1632
1649
|
.gap-1 {
|
|
1633
1650
|
gap: 0.25rem;
|
|
1634
1651
|
}
|
|
@@ -1653,6 +1670,21 @@ video {
|
|
|
1653
1670
|
.gap-8 {
|
|
1654
1671
|
gap: 2rem;
|
|
1655
1672
|
}
|
|
1673
|
+
.-space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1674
|
+
--tw-space-x-reverse: 0;
|
|
1675
|
+
margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
|
|
1676
|
+
margin-left: calc(-0.25rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1677
|
+
}
|
|
1678
|
+
.-space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
1679
|
+
--tw-space-x-reverse: 0;
|
|
1680
|
+
margin-right: calc(-0.5rem * var(--tw-space-x-reverse));
|
|
1681
|
+
margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1682
|
+
}
|
|
1683
|
+
.-space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
|
1684
|
+
--tw-space-x-reverse: 0;
|
|
1685
|
+
margin-right: calc(-1rem * var(--tw-space-x-reverse));
|
|
1686
|
+
margin-left: calc(-1rem * calc(1 - var(--tw-space-x-reverse)));
|
|
1687
|
+
}
|
|
1656
1688
|
.space-x-0 > :not([hidden]) ~ :not([hidden]) {
|
|
1657
1689
|
--tw-space-x-reverse: 0;
|
|
1658
1690
|
margin-right: calc(0px * var(--tw-space-x-reverse));
|
|
@@ -1678,6 +1710,11 @@ video {
|
|
|
1678
1710
|
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1679
1711
|
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
|
1680
1712
|
}
|
|
1713
|
+
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
|
|
1714
|
+
--tw-space-y-reverse: 0;
|
|
1715
|
+
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
|
1716
|
+
margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
|
|
1717
|
+
}
|
|
1681
1718
|
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
|
1682
1719
|
--tw-space-y-reverse: 0;
|
|
1683
1720
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
@@ -1709,6 +1746,9 @@ video {
|
|
|
1709
1746
|
.\!rounded {
|
|
1710
1747
|
border-radius: 0.25rem !important;
|
|
1711
1748
|
}
|
|
1749
|
+
.\!rounded-none {
|
|
1750
|
+
border-radius: 0px !important;
|
|
1751
|
+
}
|
|
1712
1752
|
.rounded {
|
|
1713
1753
|
border-radius: 0.25rem;
|
|
1714
1754
|
}
|
|
@@ -1786,6 +1826,9 @@ video {
|
|
|
1786
1826
|
.border-dashed {
|
|
1787
1827
|
border-style: dashed;
|
|
1788
1828
|
}
|
|
1829
|
+
.\!border-none {
|
|
1830
|
+
border-style: none !important;
|
|
1831
|
+
}
|
|
1789
1832
|
.border-none {
|
|
1790
1833
|
border-style: none;
|
|
1791
1834
|
}
|
|
@@ -1799,16 +1842,16 @@ video {
|
|
|
1799
1842
|
.\!bg-transparent {
|
|
1800
1843
|
background-color: transparent !important;
|
|
1801
1844
|
}
|
|
1802
|
-
.bg-gray-300 {
|
|
1803
|
-
--tw-bg-opacity: 1;
|
|
1804
|
-
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
|
|
1805
|
-
}
|
|
1806
1845
|
.bg-inherit {
|
|
1807
1846
|
background-color: inherit;
|
|
1808
1847
|
}
|
|
1809
1848
|
.bg-transparent {
|
|
1810
1849
|
background-color: transparent;
|
|
1811
1850
|
}
|
|
1851
|
+
.bg-white {
|
|
1852
|
+
--tw-bg-opacity: 1;
|
|
1853
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1854
|
+
}
|
|
1812
1855
|
.bg-opacity-50 {
|
|
1813
1856
|
--tw-bg-opacity: 0.5;
|
|
1814
1857
|
}
|
|
@@ -1922,6 +1965,9 @@ video {
|
|
|
1922
1965
|
.pb-2 {
|
|
1923
1966
|
padding-bottom: 0.5rem;
|
|
1924
1967
|
}
|
|
1968
|
+
.pb-4 {
|
|
1969
|
+
padding-bottom: 1rem;
|
|
1970
|
+
}
|
|
1925
1971
|
.pb-5 {
|
|
1926
1972
|
padding-bottom: 1.25rem;
|
|
1927
1973
|
}
|
|
@@ -2004,10 +2050,6 @@ video {
|
|
|
2004
2050
|
.tracking-widest {
|
|
2005
2051
|
letter-spacing: 0.1em;
|
|
2006
2052
|
}
|
|
2007
|
-
.text-gray-500 {
|
|
2008
|
-
--tw-text-opacity: 1;
|
|
2009
|
-
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
2010
|
-
}
|
|
2011
2053
|
.text-red-500 {
|
|
2012
2054
|
--tw-text-opacity: 1;
|
|
2013
2055
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2152,6 +2194,74 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2152
2194
|
color 0s 600000s !important;
|
|
2153
2195
|
}
|
|
2154
2196
|
|
|
2197
|
+
.epr-emoji-category-label {
|
|
2198
|
+
font-family: system-ui !important;
|
|
2199
|
+
font-size: 14px !important;
|
|
2200
|
+
font-style: normal !important;
|
|
2201
|
+
font-weight: 500 !important;
|
|
2202
|
+
line-height: 20px !important;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
.epr-search-container > input {
|
|
2206
|
+
display: flex;
|
|
2207
|
+
height: 2.25rem; /* h-9 */
|
|
2208
|
+
width: 100%; /* w-full */
|
|
2209
|
+
border-radius: 4px; /* rounded-md */
|
|
2210
|
+
border: 1px solid hsl(214.3, 31.8%, 91.4%); /* border border-input */
|
|
2211
|
+
background-color: transparent !important; /* bg-transparent */
|
|
2212
|
+
font-size: 14px; /* text-sm */
|
|
2213
|
+
transition: colors 0.15s ease-in-out;
|
|
2214
|
+
color: #000;
|
|
2215
|
+
font-family: system-ui, "Roboto";
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
/* For hover state */
|
|
2219
|
+
.epr-search-container > input:hover {
|
|
2220
|
+
border-color: #000; /* hover:border-border-hover */
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
/* For focus-visible state */
|
|
2224
|
+
.epr-search-container > input:focus-visible {
|
|
2225
|
+
outline: none; /* focus-visible:outline-none */
|
|
2226
|
+
border-color: #000; /* focus-visible:border-border-hover */
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/* For placeholder text */
|
|
2230
|
+
.epr-search-container > input::-moz-placeholder {
|
|
2231
|
+
color: hsl(var(--color-text-disabled));
|
|
2232
|
+
font-family: system-ui, "Roboto";
|
|
2233
|
+
font-size: 14px;
|
|
2234
|
+
}
|
|
2235
|
+
.epr-search-container > input::placeholder {
|
|
2236
|
+
color: hsl(var(--color-text-disabled));
|
|
2237
|
+
font-family: system-ui, "Roboto";
|
|
2238
|
+
font-size: 14px;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
.epr_-bbny0t > button {
|
|
2242
|
+
border-radius: 50% !important;
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
.epr_-6kfaby.epr-active {
|
|
2246
|
+
background-color: #ffdf0a !important;
|
|
2247
|
+
color: #000 !important;
|
|
2248
|
+
border-radius: 4px !important;
|
|
2249
|
+
border: none !important;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
.epr_-f1jbax:focus:before {
|
|
2253
|
+
border: none !important;
|
|
2254
|
+
border-radius: 4px !important;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.epr_-8ygbw8 {
|
|
2258
|
+
padding: 0.5rem 1rem !important;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.epr-body {
|
|
2262
|
+
margin: 0 0.5rem !important;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2155
2265
|
.file\:text-body-sm::file-selector-button {
|
|
2156
2266
|
font-family: system-ui;
|
|
2157
2267
|
font-size: 14px;
|
|
@@ -2580,6 +2690,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2580
2690
|
border-bottom-width: 2px;
|
|
2581
2691
|
}
|
|
2582
2692
|
|
|
2693
|
+
.data-\[state\=inactive\]\:border-transparent[data-state=inactive] {
|
|
2694
|
+
border-color: transparent;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2583
2697
|
.data-\[state\=active\]\:bg-none[data-state=active] {
|
|
2584
2698
|
background-image: none;
|
|
2585
2699
|
}
|
|
@@ -2807,6 +2921,10 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2807
2921
|
width: 452px;
|
|
2808
2922
|
}
|
|
2809
2923
|
|
|
2924
|
+
.lg\:w-auto {
|
|
2925
|
+
width: auto;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2810
2928
|
.lg\:w-fit {
|
|
2811
2929
|
width: -moz-fit-content;
|
|
2812
2930
|
width: fit-content;
|
|
@@ -2820,6 +2938,11 @@ textarea:is(:-webkit-autofill, :autofill) {
|
|
|
2820
2938
|
min-width: 420px;
|
|
2821
2939
|
}
|
|
2822
2940
|
|
|
2941
|
+
.lg\:\!max-w-fit {
|
|
2942
|
+
max-width: -moz-fit-content !important;
|
|
2943
|
+
max-width: fit-content !important;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2823
2946
|
.lg\:text-wrap {
|
|
2824
2947
|
text-wrap: wrap;
|
|
2825
2948
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ClassValue } from 'clsx';
|
|
|
4
4
|
import { default as default_2 } from 'react';
|
|
5
5
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
6
6
|
import { Drawer as Drawer_2 } from 'vaul';
|
|
7
|
+
import { EmojiClickData } from 'emoji-picker-react';
|
|
7
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
8
9
|
import { GridProps as GridProps_2 } from '@radix-ui/themes';
|
|
9
10
|
import { icons } from 'lucide-react';
|
|
@@ -50,9 +51,30 @@ export declare const AnimatedLoader: ({ text }: {
|
|
|
50
51
|
|
|
51
52
|
export declare const Avatar: default_2.ForwardRefExoticComponent<AvatarProps & default_2.RefAttributes<HTMLImageElement>>;
|
|
52
53
|
|
|
54
|
+
export declare const AvatarGroup: default_2.ForwardRefExoticComponent<AvatarGroupProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
|
|
56
|
+
export declare interface AvatarGroupProps {
|
|
57
|
+
avatars: Array<AvatarProps>;
|
|
58
|
+
size?: AvatarProps["size"];
|
|
59
|
+
variant?: AvatarProps["variant"];
|
|
60
|
+
bordered?: AvatarProps["bordered"];
|
|
61
|
+
className?: string;
|
|
62
|
+
content?: "image" | "text";
|
|
63
|
+
showCounter?: boolean;
|
|
64
|
+
}
|
|
65
|
+
|
|
53
66
|
export declare interface AvatarProps extends Omit<default_2.ImgHTMLAttributes<HTMLImageElement>, "content">, VariantProps<typeof avatarVariants> {
|
|
54
67
|
}
|
|
55
68
|
|
|
69
|
+
export declare const AvatarSelector: default_2.ForwardRefExoticComponent<AvatarSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
70
|
+
|
|
71
|
+
export declare interface AvatarSelectorProps {
|
|
72
|
+
handleEmojiClick: (emoji: EmojiClickData) => void;
|
|
73
|
+
handleAvatarInput: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
74
|
+
onRemove?: () => void;
|
|
75
|
+
className?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
56
78
|
declare const avatarVariants: (props?: ({
|
|
57
79
|
variant?: "rounded" | "square" | null | undefined;
|
|
58
80
|
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
@@ -243,6 +265,10 @@ export declare const DynamicDropdown: ({ content, anchorTrigger, ...props }: Dyn
|
|
|
243
265
|
export declare interface DynamicDropdownProps {
|
|
244
266
|
content: default_2.ReactNode;
|
|
245
267
|
anchorTrigger?: default_2.ReactNode;
|
|
268
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
269
|
+
align?: "start" | "center" | "end";
|
|
270
|
+
sideOffset?: number;
|
|
271
|
+
alignOffset?: number;
|
|
246
272
|
}
|
|
247
273
|
|
|
248
274
|
export declare const DynamicModal: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, disableOutsideClick, hasCloseIcon, }: DynamicModalProps) => JSX_2.Element;
|
|
@@ -301,6 +327,8 @@ export declare interface DynamicSelectProps {
|
|
|
301
327
|
alignOffset?: number;
|
|
302
328
|
}
|
|
303
329
|
|
|
330
|
+
export { EmojiClickData }
|
|
331
|
+
|
|
304
332
|
export declare type FileType = "dDoc" | "dPage" | "whiteboard" | "note" | "link" | "media";
|
|
305
333
|
|
|
306
334
|
export declare const FloatingToolbar: default_2.ForwardRefExoticComponent<FloatingToolbarProps & default_2.RefAttributes<HTMLDivElement>>;
|