@fileverse/ui 4.1.1-patch → 4.1.1-patch-2

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
@@ -1243,18 +1243,12 @@ video {
1243
1243
  .h-9 {
1244
1244
  height: 2.25rem;
1245
1245
  }
1246
- .h-\[16px\] {
1247
- height: 16px;
1248
- }
1249
1246
  .h-\[18px\] {
1250
1247
  height: 18px;
1251
1248
  }
1252
1249
  .h-\[208px\] {
1253
1250
  height: 208px;
1254
1251
  }
1255
- .h-\[20px\] {
1256
- height: 20px;
1257
- }
1258
1252
  .h-\[30px\] {
1259
1253
  height: 30px;
1260
1254
  }
@@ -1376,6 +1370,9 @@ video {
1376
1370
  .w-\[100\%\] {
1377
1371
  width: 100%;
1378
1372
  }
1373
+ .w-\[12px\] {
1374
+ width: 12px;
1375
+ }
1379
1376
  .w-\[16px\] {
1380
1377
  width: 16px;
1381
1378
  }
@@ -1433,6 +1430,9 @@ video {
1433
1430
  .w-\[85\%\] {
1434
1431
  width: 85%;
1435
1432
  }
1433
+ .w-\[8px\] {
1434
+ width: 8px;
1435
+ }
1436
1436
  .w-fit {
1437
1437
  width: -moz-fit-content;
1438
1438
  width: fit-content;
@@ -2312,16 +2312,6 @@ textarea:is(:-webkit-autofill, :autofill) {
2312
2312
  color: hsl(var(--color-text-disabled));
2313
2313
  }
2314
2314
 
2315
- .after\:color-bg-default-inverse::after {
2316
- content: var(--tw-content);
2317
- background-color: hsl(var(--color-bg-default-inverse));
2318
- }
2319
-
2320
- .after\:color-icon-disabled::after {
2321
- content: var(--tw-content);
2322
- background-color: hsl(var(--color-icon-disabled));
2323
- }
2324
-
2325
2315
  .checked\:color-text-inverse:checked {
2326
2316
  color: hsl(var(--color-text-inverse));
2327
2317
  }
@@ -2511,41 +2501,6 @@ textarea:is(:-webkit-autofill, :autofill) {
2511
2501
  background-color: transparent;
2512
2502
  }
2513
2503
 
2514
- .after\:block::after {
2515
- content: var(--tw-content);
2516
- display: block;
2517
- }
2518
-
2519
- .after\:h-\[10px\]::after {
2520
- content: var(--tw-content);
2521
- height: 10px;
2522
- }
2523
-
2524
- .after\:h-\[6px\]::after {
2525
- content: var(--tw-content);
2526
- height: 6px;
2527
- }
2528
-
2529
- .after\:w-\[10px\]::after {
2530
- content: var(--tw-content);
2531
- width: 10px;
2532
- }
2533
-
2534
- .after\:w-\[6px\]::after {
2535
- content: var(--tw-content);
2536
- width: 6px;
2537
- }
2538
-
2539
- .after\:rounded-\[50\%\]::after {
2540
- content: var(--tw-content);
2541
- border-radius: 50%;
2542
- }
2543
-
2544
- .after\:content-\[\'\'\]::after {
2545
- --tw-content: '';
2546
- content: var(--tw-content);
2547
- }
2548
-
2549
2504
  .checked\:border-0:checked {
2550
2505
  border-width: 0px;
2551
2506
  }
@@ -2621,6 +2576,12 @@ textarea:is(:-webkit-autofill, :autofill) {
2621
2576
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2622
2577
  }
2623
2578
 
2579
+ .focus-visible\:ring-2:focus-visible {
2580
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2581
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2582
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2583
+ }
2584
+
2624
2585
  .focus-visible\:ring-focused:focus-visible {
2625
2586
  --tw-ring-color: hsl(var(--focused));
2626
2587
  }
@@ -1,8 +1,10 @@
1
1
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
+ import { Command as Command_2 } from 'cmdk';
4
5
  import { default as default_2 } from 'react';
5
6
  import * as DialogPrimitive from '@radix-ui/react-dialog';
7
+ import { DialogProps } from '@radix-ui/react-dialog';
6
8
  import { Drawer as Drawer_2 } from 'vaul';
7
9
  import { EmojiClickData } from 'emoji-picker-react';
8
10
  import { ForwardRefExoticComponent } from 'react';
@@ -81,7 +83,12 @@ declare const avatarVariants: (props?: ({
81
83
  content?: "image" | "text" | null | undefined;
82
84
  } & ClassProp) | undefined) => string;
83
85
 
84
- export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, }: DynamicModalProps) => JSX_2.Element;
86
+ export declare const BottomDrawer: ({ open, onOpenChange, title, description, content, primaryAction, secondaryAction, className, contentClassName, hasCloseIcon, headerClassName, footerClassName, }: BottomDrawerProps) => JSX_2.Element;
87
+
88
+ export declare interface BottomDrawerProps extends DynamicModalProps {
89
+ headerClassName?: string;
90
+ footerClassName?: string;
91
+ }
85
92
 
86
93
  export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
87
94
 
@@ -148,6 +155,93 @@ export declare interface CheckboxProps {
148
155
 
149
156
  export declare function cn(...inputs: ClassValue[]): string;
150
157
 
158
+ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
159
+ children?: React_2.ReactNode;
160
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
161
+ ref?: React_2.Ref<HTMLDivElement>;
162
+ } & {
163
+ asChild?: boolean;
164
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
165
+ label?: string;
166
+ shouldFilter?: boolean;
167
+ filter?: (value: string, search: string, keywords?: string[]) => number;
168
+ defaultValue?: string;
169
+ value?: string;
170
+ onValueChange?: (value: string) => void;
171
+ loop?: boolean;
172
+ disablePointerSelection?: boolean;
173
+ vimBindings?: boolean;
174
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
175
+
176
+ export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
177
+
178
+ declare interface CommandDialogProps extends DialogProps {
179
+ }
180
+
181
+ export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
182
+ children?: React_2.ReactNode;
183
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
184
+ ref?: React_2.Ref<HTMLDivElement>;
185
+ } & {
186
+ asChild?: boolean;
187
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
188
+
189
+ export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
190
+ children?: React_2.ReactNode;
191
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
192
+ ref?: React_2.Ref<HTMLDivElement>;
193
+ } & {
194
+ asChild?: boolean;
195
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
196
+ heading?: React_2.ReactNode;
197
+ value?: string;
198
+ forceMount?: boolean;
199
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
200
+
201
+ export declare const CommandInput: React_2.ForwardRefExoticComponent<CommandInputProps & React_2.RefAttributes<HTMLInputElement>>;
202
+
203
+ export declare interface CommandInputProps extends React_2.ComponentPropsWithoutRef<typeof Command_2.Input> {
204
+ disabledIcon?: boolean;
205
+ inputWrapperClassName?: string;
206
+ }
207
+
208
+ export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
209
+ children?: React_2.ReactNode;
210
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
211
+ ref?: React_2.Ref<HTMLDivElement>;
212
+ } & {
213
+ asChild?: boolean;
214
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
215
+ disabled?: boolean;
216
+ onSelect?: (value: string) => void;
217
+ value?: string;
218
+ keywords?: string[];
219
+ forceMount?: boolean;
220
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
221
+
222
+ export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
223
+ children?: React_2.ReactNode;
224
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
225
+ ref?: React_2.Ref<HTMLDivElement>;
226
+ } & {
227
+ asChild?: boolean;
228
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
229
+ label?: string;
230
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
231
+
232
+ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
233
+ ref?: React_2.Ref<HTMLDivElement>;
234
+ } & {
235
+ asChild?: boolean;
236
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
237
+ alwaysRender?: boolean;
238
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
239
+
240
+ export declare const CommandShortcut: {
241
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
242
+ displayName: string;
243
+ };
244
+
151
245
  export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
152
246
 
153
247
  export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
@@ -437,79 +531,6 @@ export declare interface LucideIconProps extends Omit<SvgProps_2, "name">, Varia
437
531
  strokeWidth?: number;
438
532
  }
439
533
 
440
- export declare interface MemberProps {
441
- uuid: string;
442
- email?: string;
443
- username?: string;
444
- walletAddress?: string;
445
- avatar?: string;
446
- }
447
-
448
- export declare const MultiSelect: React_2.ForwardRefExoticComponent<MultiSelectProps & React_2.RefAttributes<HTMLButtonElement>>;
449
-
450
- /**
451
- * Props for MultiSelect component
452
- */
453
- export declare interface MultiSelectProps extends Omit<React_2.ButtonHTMLAttributes<HTMLButtonElement>, "defaultValue"> {
454
- /**
455
- * An array of option objects to be displayed in the multi-select component.
456
- * Each option object has a label, value, and an optional icon.
457
- */
458
- options: {
459
- /** The text to display for the option. */
460
- uuid: string;
461
- email: string;
462
- username: string;
463
- walletAddress: string;
464
- avatar: string;
465
- }[];
466
- /**
467
- * Callback function triggered when the selected values change.
468
- * Receives an array of the new selected values.
469
- */
470
- onValueChange: (value: MemberProps[]) => void;
471
- /** The default selected values when the component mounts. */
472
- defaultValue?: MemberProps[] | [];
473
- /**
474
- * Placeholder text to be displayed when no values are selected.
475
- * Optional, defaults to "Select options".
476
- */
477
- placeholder?: string;
478
- /**
479
- * Maximum number of items to display. Extra selected items will be summarized.
480
- * Optional, defaults to 3.
481
- */
482
- maxCount?: number;
483
- /**
484
- * The modality of the popover. When set to true, interaction with outside elements
485
- * will be disabled and only popover content will be visible to screen readers.
486
- * Optional, defaults to false.
487
- */
488
- modalPopover?: boolean;
489
- /**
490
- * If true, renders the multi-select component as a child of another component.
491
- * Optional, defaults to false.
492
- */
493
- asChild?: boolean;
494
- /**
495
- * Additional class names to apply custom styles to the multi-select component.
496
- * Optional, can be used to add custom styles.
497
- */
498
- className?: string;
499
- /**
500
- * An array of roles.
501
- */
502
- roles?: RoleProps[] | [];
503
- /**
504
- * Helper text for search functionality.
505
- */
506
- searchHelperText?: string;
507
- /**
508
- * The selected type of filter, either email or wallet.
509
- */
510
- selectedType: string;
511
- }
512
-
513
534
  export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
514
535
 
515
536
  export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -540,12 +561,6 @@ export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<Radi
540
561
  size?: "sm" | "lg";
541
562
  } & React_2.RefAttributes<HTMLButtonElement>>;
542
563
 
543
- export declare interface RoleProps {
544
- label: string;
545
- value: string;
546
- description?: string;
547
- }
548
-
549
564
  export declare const SegmentedControl: default_2.ForwardRefExoticComponent<SegmentedControlProps & default_2.RefAttributes<HTMLDivElement>>;
550
565
 
551
566
  export declare interface SegmentedControlProps extends default_2.AllHTMLAttributes<HTMLDivElement> {