@fileverse/ui 4.0.6 → 4.0.8

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
@@ -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
  }
@@ -1541,6 +1548,10 @@ video {
1541
1548
  --tw-translate-y: 25%;
1542
1549
  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
1550
  }
1551
+ .translate-y-12 {
1552
+ --tw-translate-y: 3rem;
1553
+ 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));
1554
+ }
1544
1555
  .translate-y-\[-50\%\] {
1545
1556
  --tw-translate-y: -50%;
1546
1557
  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 +1640,9 @@ video {
1629
1640
  .justify-between {
1630
1641
  justify-content: space-between;
1631
1642
  }
1643
+ .\!gap-1 {
1644
+ gap: 0.25rem !important;
1645
+ }
1632
1646
  .gap-1 {
1633
1647
  gap: 0.25rem;
1634
1648
  }
@@ -1678,6 +1692,11 @@ video {
1678
1692
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
1679
1693
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
1680
1694
  }
1695
+ .space-y-3 > :not([hidden]) ~ :not([hidden]) {
1696
+ --tw-space-y-reverse: 0;
1697
+ margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
1698
+ margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
1699
+ }
1681
1700
  .space-y-4 > :not([hidden]) ~ :not([hidden]) {
1682
1701
  --tw-space-y-reverse: 0;
1683
1702
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
@@ -1709,6 +1728,9 @@ video {
1709
1728
  .\!rounded {
1710
1729
  border-radius: 0.25rem !important;
1711
1730
  }
1731
+ .\!rounded-none {
1732
+ border-radius: 0px !important;
1733
+ }
1712
1734
  .rounded {
1713
1735
  border-radius: 0.25rem;
1714
1736
  }
@@ -1786,6 +1808,9 @@ video {
1786
1808
  .border-dashed {
1787
1809
  border-style: dashed;
1788
1810
  }
1811
+ .\!border-none {
1812
+ border-style: none !important;
1813
+ }
1789
1814
  .border-none {
1790
1815
  border-style: none;
1791
1816
  }
@@ -1809,6 +1834,10 @@ video {
1809
1834
  .bg-transparent {
1810
1835
  background-color: transparent;
1811
1836
  }
1837
+ .bg-white {
1838
+ --tw-bg-opacity: 1;
1839
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1840
+ }
1812
1841
  .bg-opacity-50 {
1813
1842
  --tw-bg-opacity: 0.5;
1814
1843
  }
@@ -1922,6 +1951,9 @@ video {
1922
1951
  .pb-2 {
1923
1952
  padding-bottom: 0.5rem;
1924
1953
  }
1954
+ .pb-4 {
1955
+ padding-bottom: 1rem;
1956
+ }
1925
1957
  .pb-5 {
1926
1958
  padding-bottom: 1.25rem;
1927
1959
  }
@@ -2133,6 +2165,93 @@ video {
2133
2165
  padding: 0 !important;
2134
2166
  }
2135
2167
 
2168
+ input:is(:-webkit-autofill, :-webkit-autofill), textarea:is(:-webkit-autofill, :-webkit-autofill) {
2169
+ -webkit-transition:
2170
+ background-color 0s 600000s,
2171
+ color 0s 600000s !important;
2172
+ transition:
2173
+ background-color 0s 600000s,
2174
+ color 0s 600000s !important;
2175
+ }
2176
+
2177
+ input:is(:-webkit-autofill, :autofill),
2178
+ textarea:is(:-webkit-autofill, :autofill) {
2179
+ -webkit-transition:
2180
+ background-color 0s 600000s,
2181
+ color 0s 600000s !important;
2182
+ transition:
2183
+ background-color 0s 600000s,
2184
+ color 0s 600000s !important;
2185
+ }
2186
+
2187
+ .epr-emoji-category-label {
2188
+ font-family: system-ui !important;
2189
+ font-size: 14px !important;
2190
+ font-style: normal !important;
2191
+ font-weight: 500 !important;
2192
+ line-height: 20px !important;
2193
+ }
2194
+
2195
+ .epr-search-container > input {
2196
+ display: flex;
2197
+ height: 2.25rem; /* h-9 */
2198
+ width: 100%; /* w-full */
2199
+ border-radius: 4px; /* rounded-md */
2200
+ border: 1px solid hsl(214.3, 31.8%, 91.4%); /* border border-input */
2201
+ background-color: transparent !important; /* bg-transparent */
2202
+ font-size: 14px; /* text-sm */
2203
+ transition: colors 0.15s ease-in-out;
2204
+ color: #000;
2205
+ font-family: system-ui, "Roboto";
2206
+ }
2207
+
2208
+ /* For hover state */
2209
+ .epr-search-container > input:hover {
2210
+ border-color: #000; /* hover:border-border-hover */
2211
+ }
2212
+
2213
+ /* For focus-visible state */
2214
+ .epr-search-container > input:focus-visible {
2215
+ outline: none; /* focus-visible:outline-none */
2216
+ border-color: #000; /* focus-visible:border-border-hover */
2217
+ }
2218
+
2219
+ /* For placeholder text */
2220
+ .epr-search-container > input::-moz-placeholder {
2221
+ color: hsl(var(--color-text-disabled));
2222
+ font-family: system-ui, "Roboto";
2223
+ font-size: 14px;
2224
+ }
2225
+ .epr-search-container > input::placeholder {
2226
+ color: hsl(var(--color-text-disabled));
2227
+ font-family: system-ui, "Roboto";
2228
+ font-size: 14px;
2229
+ }
2230
+
2231
+ .epr_-bbny0t > button {
2232
+ border-radius: 50% !important;
2233
+ }
2234
+
2235
+ .epr_-6kfaby.epr-active {
2236
+ background-color: #ffdf0a !important;
2237
+ color: #000 !important;
2238
+ border-radius: 4px !important;
2239
+ border: none !important;
2240
+ }
2241
+
2242
+ .epr_-f1jbax:focus:before {
2243
+ border: none !important;
2244
+ border-radius: 4px !important;
2245
+ }
2246
+
2247
+ .epr_-8ygbw8 {
2248
+ padding: 0.5rem 1rem !important;
2249
+ }
2250
+
2251
+ .epr-body {
2252
+ margin: 0 0.5rem !important;
2253
+ }
2254
+
2136
2255
  .file\:text-body-sm::file-selector-button {
2137
2256
  font-family: system-ui;
2138
2257
  font-size: 14px;
@@ -2561,6 +2680,10 @@ video {
2561
2680
  border-bottom-width: 2px;
2562
2681
  }
2563
2682
 
2683
+ .data-\[state\=inactive\]\:border-transparent[data-state=inactive] {
2684
+ border-color: transparent;
2685
+ }
2686
+
2564
2687
  .data-\[state\=active\]\:bg-none[data-state=active] {
2565
2688
  background-image: none;
2566
2689
  }
@@ -2788,6 +2911,10 @@ video {
2788
2911
  width: 452px;
2789
2912
  }
2790
2913
 
2914
+ .lg\:w-auto {
2915
+ width: auto;
2916
+ }
2917
+
2791
2918
  .lg\:w-fit {
2792
2919
  width: -moz-fit-content;
2793
2920
  width: fit-content;
@@ -2801,6 +2928,11 @@ video {
2801
2928
  min-width: 420px;
2802
2929
  }
2803
2930
 
2931
+ .lg\:\!max-w-fit {
2932
+ max-width: -moz-fit-content !important;
2933
+ max-width: fit-content !important;
2934
+ }
2935
+
2804
2936
  .lg\:text-wrap {
2805
2937
  text-wrap: wrap;
2806
2938
  }
@@ -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';
@@ -53,6 +54,15 @@ export declare const Avatar: default_2.ForwardRefExoticComponent<AvatarProps & d
53
54
  export declare interface AvatarProps extends Omit<default_2.ImgHTMLAttributes<HTMLImageElement>, "content">, VariantProps<typeof avatarVariants> {
54
55
  }
55
56
 
57
+ export declare const AvatarSelector: default_2.ForwardRefExoticComponent<AvatarSelectorProps & default_2.RefAttributes<HTMLDivElement>>;
58
+
59
+ export declare interface AvatarSelectorProps {
60
+ handleEmojiClick: (emoji: EmojiClickData) => void;
61
+ handleAvatarInput: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
62
+ onRemove?: () => void;
63
+ className?: string;
64
+ }
65
+
56
66
  declare const avatarVariants: (props?: ({
57
67
  variant?: "rounded" | "square" | null | undefined;
58
68
  size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
@@ -211,7 +221,7 @@ export declare interface DynamicAlertProps {
211
221
  className?: string;
212
222
  }
213
223
 
214
- export declare const DynamicContentController: ({ label, description, checked, onChange, size, }: DynamicContentControllerProps) => JSX_2.Element;
224
+ export declare const DynamicContentController: ForwardRefExoticComponent<DynamicContentControllerProps & RefAttributes<HTMLDivElement>>;
215
225
 
216
226
  export declare interface DynamicContentControllerProps {
217
227
  label: string;
@@ -243,6 +253,10 @@ export declare const DynamicDropdown: ({ content, anchorTrigger, ...props }: Dyn
243
253
  export declare interface DynamicDropdownProps {
244
254
  content: default_2.ReactNode;
245
255
  anchorTrigger?: default_2.ReactNode;
256
+ side?: "top" | "right" | "bottom" | "left";
257
+ align?: "start" | "center" | "end";
258
+ sideOffset?: number;
259
+ alignOffset?: number;
246
260
  }
247
261
 
248
262
  export declare const DynamicModal: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, disableOutsideClick, hasCloseIcon, }: DynamicModalProps) => JSX_2.Element;