@fileverse/ui 4.1.1-patch → 4.1.1-patch-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 +12 -51
- package/dist/index.es.d.ts +89 -79
- package/dist/index.es.js +9748 -9925
- package/package.json +1 -1
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
|
}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -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';
|
|
@@ -148,6 +150,93 @@ export declare interface CheckboxProps {
|
|
|
148
150
|
|
|
149
151
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
150
152
|
|
|
153
|
+
export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
154
|
+
children?: React_2.ReactNode;
|
|
155
|
+
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
156
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
157
|
+
} & {
|
|
158
|
+
asChild?: boolean;
|
|
159
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
160
|
+
label?: string;
|
|
161
|
+
shouldFilter?: boolean;
|
|
162
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
163
|
+
defaultValue?: string;
|
|
164
|
+
value?: string;
|
|
165
|
+
onValueChange?: (value: string) => void;
|
|
166
|
+
loop?: boolean;
|
|
167
|
+
disablePointerSelection?: boolean;
|
|
168
|
+
vimBindings?: boolean;
|
|
169
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
170
|
+
|
|
171
|
+
export declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX_2.Element;
|
|
172
|
+
|
|
173
|
+
declare interface CommandDialogProps extends DialogProps {
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
177
|
+
children?: React_2.ReactNode;
|
|
178
|
+
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
179
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
180
|
+
} & {
|
|
181
|
+
asChild?: boolean;
|
|
182
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
183
|
+
|
|
184
|
+
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
185
|
+
children?: React_2.ReactNode;
|
|
186
|
+
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
187
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
188
|
+
} & {
|
|
189
|
+
asChild?: boolean;
|
|
190
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
|
|
191
|
+
heading?: React_2.ReactNode;
|
|
192
|
+
value?: string;
|
|
193
|
+
forceMount?: boolean;
|
|
194
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
195
|
+
|
|
196
|
+
export declare const CommandInput: React_2.ForwardRefExoticComponent<CommandInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
197
|
+
|
|
198
|
+
export declare interface CommandInputProps extends React_2.ComponentPropsWithoutRef<typeof Command_2.Input> {
|
|
199
|
+
disabledIcon?: boolean;
|
|
200
|
+
inputWrapperClassName?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
204
|
+
children?: React_2.ReactNode;
|
|
205
|
+
} & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
206
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
207
|
+
} & {
|
|
208
|
+
asChild?: boolean;
|
|
209
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
210
|
+
disabled?: boolean;
|
|
211
|
+
onSelect?: (value: string) => void;
|
|
212
|
+
value?: string;
|
|
213
|
+
keywords?: string[];
|
|
214
|
+
forceMount?: boolean;
|
|
215
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
216
|
+
|
|
217
|
+
export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
218
|
+
children?: React_2.ReactNode;
|
|
219
|
+
} & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
220
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
221
|
+
} & {
|
|
222
|
+
asChild?: boolean;
|
|
223
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
224
|
+
label?: string;
|
|
225
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
226
|
+
|
|
227
|
+
export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
228
|
+
ref?: React_2.Ref<HTMLDivElement>;
|
|
229
|
+
} & {
|
|
230
|
+
asChild?: boolean;
|
|
231
|
+
}, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
|
|
232
|
+
alwaysRender?: boolean;
|
|
233
|
+
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
234
|
+
|
|
235
|
+
export declare const CommandShortcut: {
|
|
236
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX_2.Element;
|
|
237
|
+
displayName: string;
|
|
238
|
+
};
|
|
239
|
+
|
|
151
240
|
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
152
241
|
|
|
153
242
|
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -437,79 +526,6 @@ export declare interface LucideIconProps extends Omit<SvgProps_2, "name">, Varia
|
|
|
437
526
|
strokeWidth?: number;
|
|
438
527
|
}
|
|
439
528
|
|
|
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
529
|
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
514
530
|
|
|
515
531
|
export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -540,12 +556,6 @@ export declare const RadioGroupItem: React_2.ForwardRefExoticComponent<Omit<Radi
|
|
|
540
556
|
size?: "sm" | "lg";
|
|
541
557
|
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
542
558
|
|
|
543
|
-
export declare interface RoleProps {
|
|
544
|
-
label: string;
|
|
545
|
-
value: string;
|
|
546
|
-
description?: string;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
559
|
export declare const SegmentedControl: default_2.ForwardRefExoticComponent<SegmentedControlProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
550
560
|
|
|
551
561
|
export declare interface SegmentedControlProps extends default_2.AllHTMLAttributes<HTMLDivElement> {
|