@liberfi.io/ui 0.1.8 → 0.1.10

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.d.mts CHANGED
@@ -1,15 +1,24 @@
1
1
  import * as _heroui_react from '@heroui/react';
2
- import { BadgeProps, ButtonProps, InputProps, NumberInputProps, ModalProps, PopoverProps, TableProps, TabsProps, TooltipProps } from '@heroui/react';
2
+ import { BadgeProps, ButtonProps, InputProps, NumberInputProps, TextAreaProps, ModalProps, PopoverProps, TableProps, TabsProps, TooltipProps } from '@heroui/react';
3
3
  export { Accordion, AccordionItem, AccordionItemIndicatorProps, AccordionItemProps, AccordionProps, Alert, AlertProps, Autocomplete, AutocompleteItem, AutocompleteItemProps, AutocompleteProps, AutocompleteSection, AutocompleteSectionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Calendar, CalendarProps, Card, CardBody, CardFooter, CardFooterProps, CardHeader, CardProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Chip, ChipProps, CircularProgress, CircularProgressProps, Code, CodeProps, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Divider, DividerProps, Drawer, DrawerBody, DrawerBodyProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownItem, DropdownItemProps, DropdownMenu, DropdownMenuProps, DropdownProps, DropdownSection, DropdownSectionProps, DropdownTrigger, DropdownTriggerProps, Image, ImageProps, Input, InputOtp, InputOtpProps, InputProps, Kbd, KbdProps, Link, LinkProps, Listbox, ListboxItem, ListboxItemProps, ListboxProps, ListboxSection, ListboxSectionProps, Modal, ModalBody, ModalBodyProps, ModalContent, ModalContentProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, Navbar, NavbarBrand, NavbarBrandProps, NavbarContent, NavbarContentProps, NavbarItem, NavbarItemProps, NavbarMenu, NavbarMenuItem, NavbarMenuItemProps, NavbarMenuProps, NavbarMenuToggle, NavbarMenuToggleProps, NavbarProps, NumberInput, NumberInputProps, Pagination, PaginationCursor, PaginationCursorProps, PaginationItem, PaginationItemProps, PaginationProps, Popover, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupProps, RadioProps, RangeCalendar, RangeCalendarProps, ScrollShadow, ScrollShadowProps, Select, SelectItem, SelectItemProps, SelectProps, SelectSection, SelectSectionProps, Skeleton, SkeletonProps, Slider, SliderProps, Snippet, SnippetProps, Spacer, SpacerProps, Spinner, SpinnerProps, Switch, SwitchProps, Tab, TabItemProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableColumn, TableColumnProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAreaProps, Textarea, TimeInput, TimeInputProps, Tooltip, TooltipProps, UseDisclosureProps, useDisclosure } from '@heroui/react';
4
4
  import * as react from 'react';
5
- import { ComponentType, PropsWithChildren, SVGProps } from 'react';
5
+ import { ComponentType, PropsWithChildren, ReactNode, SVGProps } from 'react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { ToasterProps } from 'react-hot-toast';
8
8
  export { ToastOptions, Toaster, ToasterProps, toast } from 'react-hot-toast';
9
+ import { FieldValues, UseFormReturn } from 'react-hook-form';
10
+ export * from 'react-hook-form';
11
+ import * as react_dropzone from 'react-dropzone';
12
+ import { DropzoneOptions } from 'react-dropzone';
13
+ export * from 'react-dropzone';
14
+ import { PinataSDK } from 'pinata';
15
+ export * from 'pinata';
9
16
  export { clsx } from 'clsx';
10
17
  export * from 'jotai';
11
18
  export * from 'jotai/utils';
12
- export * from 'react-hook-form';
19
+ export * from 'react-window';
20
+ export * from 'react-window-infinite-loader';
21
+ export * from 'react-virtualized-auto-sizer';
13
22
  export { z } from 'zod';
14
23
  export { zodResolver } from '@hookform/resolvers/zod';
15
24
 
@@ -312,6 +321,7 @@ declare const StyledDivider: react.ForwardRefExoticComponent<Omit<{
312
321
 
313
322
  declare const StyledInput: ComponentType<InputProps>;
314
323
  declare const StyledNumberInput: ComponentType<NumberInputProps>;
324
+ declare const StyledTextArea: ComponentType<TextAreaProps>;
315
325
 
316
326
  declare const StyledModal: ComponentType<ModalProps & {
317
327
  variant?: "default";
@@ -339,6 +349,79 @@ declare const StyledTooltip: ComponentType<TooltipProps & {
339
349
  layout?: "xs" | "sm" | "md" | "lg";
340
350
  }>;
341
351
 
352
+ type RHFormProps<T extends FieldValues = any> = PropsWithChildren<{
353
+ methods: UseFormReturn<T>;
354
+ onSubmit?: (data: T) => Promise<void>;
355
+ className?: string;
356
+ }>;
357
+ declare function RHForm<T extends FieldValues = any>({ methods, onSubmit, className, children, }: RHFormProps<T>): react_jsx_runtime.JSX.Element;
358
+
359
+ type RHInputProps = InputProps & {
360
+ name: string;
361
+ };
362
+ declare function RHInput({ name, label, ...props }: RHInputProps): react_jsx_runtime.JSX.Element;
363
+
364
+ type RHNumberInputProps = NumberInputProps & {
365
+ name: string;
366
+ };
367
+ declare function RHNumberInput({ name, label, ...props }: RHNumberInputProps): react_jsx_runtime.JSX.Element;
368
+
369
+ type RHTextAreaProps = TextAreaProps & {
370
+ name: string;
371
+ };
372
+ declare function RHTextArea({ name, label, ...props }: RHTextAreaProps): react_jsx_runtime.JSX.Element;
373
+
374
+ type RHUploadProps = {
375
+ name: string;
376
+ label?: string;
377
+ placeholder?: string;
378
+ hint?: string;
379
+ icon?: ReactNode;
380
+ upload?: (file: File) => Promise<string>;
381
+ accept?: DropzoneOptions["accept"];
382
+ maxSize?: number;
383
+ maxFiles?: number;
384
+ radius?: "sm" | "md" | "lg" | "none" | "full";
385
+ className?: string;
386
+ classNames?: {
387
+ wrapper?: string;
388
+ label?: string;
389
+ upload?: string;
390
+ icon?: string;
391
+ image?: string;
392
+ placeholder?: string;
393
+ uploadButton?: string;
394
+ hint?: string;
395
+ error?: string;
396
+ };
397
+ };
398
+ declare function RHUpload({ name, label, placeholder, hint, icon, upload, accept, maxSize, // 10MB
399
+ maxFiles, radius, className, classNames, }: RHUploadProps): react_jsx_runtime.JSX.Element;
400
+
401
+ declare const PinataContext: react.Context<PinataSDK>;
402
+ declare function PinataProvider({ client, children, }: PropsWithChildren<{
403
+ client: PinataSDK;
404
+ }>): react_jsx_runtime.JSX.Element;
405
+ declare function usePinata(): PinataSDK;
406
+
407
+ type HorizontalScrollContainerProps = PropsWithChildren<{
408
+ /** the amount of pixels to scroll when the user clicks the arrow buttons. */
409
+ scrollAmount?: number;
410
+ /** custom styles */
411
+ className?: string;
412
+ classNames?: {
413
+ root?: string;
414
+ content?: string;
415
+ leftArrow?: string;
416
+ leftArrowButton?: string;
417
+ leftArrowIcon?: string;
418
+ rightArrow?: string;
419
+ rightArrowButton?: string;
420
+ rightArrowIcon?: string;
421
+ };
422
+ }>;
423
+ declare function HorizontalScrollContainer({ scrollAmount, className, classNames, children, }: HorizontalScrollContainerProps): react_jsx_runtime.JSX.Element;
424
+
342
425
  type SortableProps = PropsWithChildren<{
343
426
  /** current sort direction */
344
427
  sort?: "asc" | "desc";
@@ -347,6 +430,35 @@ type SortableProps = PropsWithChildren<{
347
430
  }>;
348
431
  declare function Sortable({ sort, onSortChange, children }: SortableProps): react_jsx_runtime.JSX.Element;
349
432
 
433
+ type UploadProps = PropsWithChildren<DropzoneOptions>;
434
+ type UploadRef = {
435
+ open: () => void;
436
+ };
437
+ declare const Upload: react.ForwardRefExoticComponent<Pick<react.HTMLProps<HTMLElement>, "onDragEnter" | "onDragLeave" | "onDragOver" | "multiple"> & {
438
+ accept?: react_dropzone.Accept;
439
+ minSize?: number;
440
+ maxSize?: number;
441
+ maxFiles?: number;
442
+ preventDropOnDocument?: boolean;
443
+ noClick?: boolean;
444
+ noKeyboard?: boolean;
445
+ noDrag?: boolean;
446
+ noDragEventsBubbling?: boolean;
447
+ disabled?: boolean;
448
+ onDrop?: <T extends File>(acceptedFiles: T[], fileRejections: react_dropzone.FileRejection[], event: react_dropzone.DropEvent) => void;
449
+ onDropAccepted?: <T extends File>(files: T[], event: react_dropzone.DropEvent) => void;
450
+ onDropRejected?: (fileRejections: react_dropzone.FileRejection[], event: react_dropzone.DropEvent) => void;
451
+ getFilesFromEvent?: (event: react_dropzone.DropEvent) => Promise<Array<File | DataTransferItem>>;
452
+ onFileDialogCancel?: () => void;
453
+ onFileDialogOpen?: () => void;
454
+ onError?: (err: Error) => void;
455
+ validator?: <T extends File>(file: T) => react_dropzone.FileError | readonly react_dropzone.FileError[] | null;
456
+ useFsAccessApi?: boolean;
457
+ autoFocus?: boolean;
458
+ } & {
459
+ children?: react.ReactNode | undefined;
460
+ } & react.RefAttributes<UploadRef>>;
461
+
350
462
  declare function useCopyToClipboard(): (text: string, toastMessage?: string) => void;
351
463
 
352
464
  declare function useScreen(): {
@@ -397,6 +509,8 @@ declare function GiftIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX
397
509
 
398
510
  declare function HomeIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
399
511
 
512
+ declare function ImageGalleryIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
513
+
400
514
  declare function InfoIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
401
515
 
402
516
  declare function KlineAreaIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -433,6 +547,8 @@ declare function PauseIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JS
433
547
 
434
548
  declare function PeopleIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
435
549
 
550
+ declare function PlusIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
551
+
436
552
  declare function PrivacyPolicyIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
437
553
 
438
554
  declare function PulseIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -457,6 +573,8 @@ declare function ShieldOffIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtim
457
573
 
458
574
  declare function ShieldPlusIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
459
575
 
576
+ declare function SignalIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
577
+
460
578
  declare function SignInIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
461
579
 
462
580
  declare function SignOutIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -471,10 +589,14 @@ declare function TelegramIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime
471
589
 
472
590
  declare function TermsOfServiceIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
473
591
 
592
+ declare function TimerIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
593
+
474
594
  declare function TradeIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
475
595
 
476
596
  declare function TranslateIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
477
597
 
598
+ declare function TrashIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
599
+
478
600
  declare function TriangleDownIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
479
601
 
480
602
  declare function TriangleUpIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -522,4 +644,4 @@ declare global {
522
644
  }
523
645
  declare const _default: "0.1.8";
524
646
 
525
- export { BundlesIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CoinsIcon, CookIcon, CopyIcon, CrownIcon, DiscordIcon, DraggableIcon, EditIcon, EmptyIcon, ExclamationIcon, type ExtendedButtonProps, type ExtendedColor, FAQIcon, FilterIcon, GiftIcon, HomeIcon, InfoIcon, KlineAreaIcon, KlineBarsIcon, KlineBaseLineIcon, KlineCandlesIcon, KlineColumnsIcon, KlineHelkinAshiIcon, KlineHighLowIcon, KlineHollowCandlesIcon, KlineLineIcon, LightDiscordIcon, LightTgIcon, LightningIcon, LogoIcon, MaximizeIcon, MenuIcon, MiniLogoIcon, MinimizeIcon, PauseIcon, PeopleIcon, PrivacyPolicyIcon, PulseIcon, RatIcon, RefreshIcon, RestoreWindowIcon, RobotIcon, RocketIcon, SearchIcon, SettingsIcon, ShieldIcon, ShieldOffIcon, ShieldPlusIcon, SignInIcon, SignOutIcon, SlippageIcon, SmallLightDiscordIcon, SmallLightTgIcon, SniperIcon, Sortable, type SortableProps, StyledBadge, StyledButton, StyledDivider, StyledInput, StyledModal, StyledNumberInput, StyledPopover, StyledTable, StyledTabs, StyledToaster, StyledTooltip, SupportIcon, TelegramIcon, TermsOfServiceIcon, TradeIcon, TranslateIcon, TriangleDownIcon, TriangleUpIcon, TwitterIcon, UnMaximizeIcon, UserGuideIcon, UserIcon, UserWithStarBadgeIcon, VerifiedIcon, WalletIcon, WebsiteIcon, XCloseIcon, ZapFastIcon, useCopyToClipboard, useMediaQuery, useScreen, _default as version };
647
+ export { BundlesIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CoinsIcon, CookIcon, CopyIcon, CrownIcon, DiscordIcon, DraggableIcon, EditIcon, EmptyIcon, ExclamationIcon, type ExtendedButtonProps, type ExtendedColor, FAQIcon, FilterIcon, GiftIcon, HomeIcon, HorizontalScrollContainer, type HorizontalScrollContainerProps, ImageGalleryIcon, InfoIcon, KlineAreaIcon, KlineBarsIcon, KlineBaseLineIcon, KlineCandlesIcon, KlineColumnsIcon, KlineHelkinAshiIcon, KlineHighLowIcon, KlineHollowCandlesIcon, KlineLineIcon, LightDiscordIcon, LightTgIcon, LightningIcon, LogoIcon, MaximizeIcon, MenuIcon, MiniLogoIcon, MinimizeIcon, PauseIcon, PeopleIcon, PinataContext, PinataProvider, PlusIcon, PrivacyPolicyIcon, PulseIcon, RHForm, type RHFormProps, RHInput, type RHInputProps, RHNumberInput, type RHNumberInputProps, RHTextArea, type RHTextAreaProps, RHUpload, type RHUploadProps, RatIcon, RefreshIcon, RestoreWindowIcon, RobotIcon, RocketIcon, SearchIcon, SettingsIcon, ShieldIcon, ShieldOffIcon, ShieldPlusIcon, SignInIcon, SignOutIcon, SignalIcon, SlippageIcon, SmallLightDiscordIcon, SmallLightTgIcon, SniperIcon, Sortable, type SortableProps, StyledBadge, StyledButton, StyledDivider, StyledInput, StyledModal, StyledNumberInput, StyledPopover, StyledTable, StyledTabs, StyledTextArea, StyledToaster, StyledTooltip, SupportIcon, TelegramIcon, TermsOfServiceIcon, TimerIcon, TradeIcon, TranslateIcon, TrashIcon, TriangleDownIcon, TriangleUpIcon, TwitterIcon, UnMaximizeIcon, Upload, type UploadProps, type UploadRef, UserGuideIcon, UserIcon, UserWithStarBadgeIcon, VerifiedIcon, WalletIcon, WebsiteIcon, XCloseIcon, ZapFastIcon, useCopyToClipboard, useMediaQuery, usePinata, useScreen, _default as version };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,24 @@
1
1
  import * as _heroui_react from '@heroui/react';
2
- import { BadgeProps, ButtonProps, InputProps, NumberInputProps, ModalProps, PopoverProps, TableProps, TabsProps, TooltipProps } from '@heroui/react';
2
+ import { BadgeProps, ButtonProps, InputProps, NumberInputProps, TextAreaProps, ModalProps, PopoverProps, TableProps, TabsProps, TooltipProps } from '@heroui/react';
3
3
  export { Accordion, AccordionItem, AccordionItemIndicatorProps, AccordionItemProps, AccordionProps, Alert, AlertProps, Autocomplete, AutocompleteItem, AutocompleteItemProps, AutocompleteProps, AutocompleteSection, AutocompleteSectionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Calendar, CalendarProps, Card, CardBody, CardFooter, CardFooterProps, CardHeader, CardProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Chip, ChipProps, CircularProgress, CircularProgressProps, Code, CodeProps, DateInput, DateInputProps, DatePicker, DatePickerProps, DateRangePicker, DateRangePickerProps, Divider, DividerProps, Drawer, DrawerBody, DrawerBodyProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownItem, DropdownItemProps, DropdownMenu, DropdownMenuProps, DropdownProps, DropdownSection, DropdownSectionProps, DropdownTrigger, DropdownTriggerProps, Image, ImageProps, Input, InputOtp, InputOtpProps, InputProps, Kbd, KbdProps, Link, LinkProps, Listbox, ListboxItem, ListboxItemProps, ListboxProps, ListboxSection, ListboxSectionProps, Modal, ModalBody, ModalBodyProps, ModalContent, ModalContentProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, Navbar, NavbarBrand, NavbarBrandProps, NavbarContent, NavbarContentProps, NavbarItem, NavbarItemProps, NavbarMenu, NavbarMenuItem, NavbarMenuItemProps, NavbarMenuProps, NavbarMenuToggle, NavbarMenuToggleProps, NavbarProps, NumberInput, NumberInputProps, Pagination, PaginationCursor, PaginationCursorProps, PaginationItem, PaginationItemProps, PaginationProps, Popover, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, Radio, RadioGroup, RadioGroupProps, RadioProps, RangeCalendar, RangeCalendarProps, ScrollShadow, ScrollShadowProps, Select, SelectItem, SelectItemProps, SelectProps, SelectSection, SelectSectionProps, Skeleton, SkeletonProps, Slider, SliderProps, Snippet, SnippetProps, Spacer, SpacerProps, Spinner, SpinnerProps, Switch, SwitchProps, Tab, TabItemProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableColumn, TableColumnProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAreaProps, Textarea, TimeInput, TimeInputProps, Tooltip, TooltipProps, UseDisclosureProps, useDisclosure } from '@heroui/react';
4
4
  import * as react from 'react';
5
- import { ComponentType, PropsWithChildren, SVGProps } from 'react';
5
+ import { ComponentType, PropsWithChildren, ReactNode, SVGProps } from 'react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { ToasterProps } from 'react-hot-toast';
8
8
  export { ToastOptions, Toaster, ToasterProps, toast } from 'react-hot-toast';
9
+ import { FieldValues, UseFormReturn } from 'react-hook-form';
10
+ export * from 'react-hook-form';
11
+ import * as react_dropzone from 'react-dropzone';
12
+ import { DropzoneOptions } from 'react-dropzone';
13
+ export * from 'react-dropzone';
14
+ import { PinataSDK } from 'pinata';
15
+ export * from 'pinata';
9
16
  export { clsx } from 'clsx';
10
17
  export * from 'jotai';
11
18
  export * from 'jotai/utils';
12
- export * from 'react-hook-form';
19
+ export * from 'react-window';
20
+ export * from 'react-window-infinite-loader';
21
+ export * from 'react-virtualized-auto-sizer';
13
22
  export { z } from 'zod';
14
23
  export { zodResolver } from '@hookform/resolvers/zod';
15
24
 
@@ -312,6 +321,7 @@ declare const StyledDivider: react.ForwardRefExoticComponent<Omit<{
312
321
 
313
322
  declare const StyledInput: ComponentType<InputProps>;
314
323
  declare const StyledNumberInput: ComponentType<NumberInputProps>;
324
+ declare const StyledTextArea: ComponentType<TextAreaProps>;
315
325
 
316
326
  declare const StyledModal: ComponentType<ModalProps & {
317
327
  variant?: "default";
@@ -339,6 +349,79 @@ declare const StyledTooltip: ComponentType<TooltipProps & {
339
349
  layout?: "xs" | "sm" | "md" | "lg";
340
350
  }>;
341
351
 
352
+ type RHFormProps<T extends FieldValues = any> = PropsWithChildren<{
353
+ methods: UseFormReturn<T>;
354
+ onSubmit?: (data: T) => Promise<void>;
355
+ className?: string;
356
+ }>;
357
+ declare function RHForm<T extends FieldValues = any>({ methods, onSubmit, className, children, }: RHFormProps<T>): react_jsx_runtime.JSX.Element;
358
+
359
+ type RHInputProps = InputProps & {
360
+ name: string;
361
+ };
362
+ declare function RHInput({ name, label, ...props }: RHInputProps): react_jsx_runtime.JSX.Element;
363
+
364
+ type RHNumberInputProps = NumberInputProps & {
365
+ name: string;
366
+ };
367
+ declare function RHNumberInput({ name, label, ...props }: RHNumberInputProps): react_jsx_runtime.JSX.Element;
368
+
369
+ type RHTextAreaProps = TextAreaProps & {
370
+ name: string;
371
+ };
372
+ declare function RHTextArea({ name, label, ...props }: RHTextAreaProps): react_jsx_runtime.JSX.Element;
373
+
374
+ type RHUploadProps = {
375
+ name: string;
376
+ label?: string;
377
+ placeholder?: string;
378
+ hint?: string;
379
+ icon?: ReactNode;
380
+ upload?: (file: File) => Promise<string>;
381
+ accept?: DropzoneOptions["accept"];
382
+ maxSize?: number;
383
+ maxFiles?: number;
384
+ radius?: "sm" | "md" | "lg" | "none" | "full";
385
+ className?: string;
386
+ classNames?: {
387
+ wrapper?: string;
388
+ label?: string;
389
+ upload?: string;
390
+ icon?: string;
391
+ image?: string;
392
+ placeholder?: string;
393
+ uploadButton?: string;
394
+ hint?: string;
395
+ error?: string;
396
+ };
397
+ };
398
+ declare function RHUpload({ name, label, placeholder, hint, icon, upload, accept, maxSize, // 10MB
399
+ maxFiles, radius, className, classNames, }: RHUploadProps): react_jsx_runtime.JSX.Element;
400
+
401
+ declare const PinataContext: react.Context<PinataSDK>;
402
+ declare function PinataProvider({ client, children, }: PropsWithChildren<{
403
+ client: PinataSDK;
404
+ }>): react_jsx_runtime.JSX.Element;
405
+ declare function usePinata(): PinataSDK;
406
+
407
+ type HorizontalScrollContainerProps = PropsWithChildren<{
408
+ /** the amount of pixels to scroll when the user clicks the arrow buttons. */
409
+ scrollAmount?: number;
410
+ /** custom styles */
411
+ className?: string;
412
+ classNames?: {
413
+ root?: string;
414
+ content?: string;
415
+ leftArrow?: string;
416
+ leftArrowButton?: string;
417
+ leftArrowIcon?: string;
418
+ rightArrow?: string;
419
+ rightArrowButton?: string;
420
+ rightArrowIcon?: string;
421
+ };
422
+ }>;
423
+ declare function HorizontalScrollContainer({ scrollAmount, className, classNames, children, }: HorizontalScrollContainerProps): react_jsx_runtime.JSX.Element;
424
+
342
425
  type SortableProps = PropsWithChildren<{
343
426
  /** current sort direction */
344
427
  sort?: "asc" | "desc";
@@ -347,6 +430,35 @@ type SortableProps = PropsWithChildren<{
347
430
  }>;
348
431
  declare function Sortable({ sort, onSortChange, children }: SortableProps): react_jsx_runtime.JSX.Element;
349
432
 
433
+ type UploadProps = PropsWithChildren<DropzoneOptions>;
434
+ type UploadRef = {
435
+ open: () => void;
436
+ };
437
+ declare const Upload: react.ForwardRefExoticComponent<Pick<react.HTMLProps<HTMLElement>, "onDragEnter" | "onDragLeave" | "onDragOver" | "multiple"> & {
438
+ accept?: react_dropzone.Accept;
439
+ minSize?: number;
440
+ maxSize?: number;
441
+ maxFiles?: number;
442
+ preventDropOnDocument?: boolean;
443
+ noClick?: boolean;
444
+ noKeyboard?: boolean;
445
+ noDrag?: boolean;
446
+ noDragEventsBubbling?: boolean;
447
+ disabled?: boolean;
448
+ onDrop?: <T extends File>(acceptedFiles: T[], fileRejections: react_dropzone.FileRejection[], event: react_dropzone.DropEvent) => void;
449
+ onDropAccepted?: <T extends File>(files: T[], event: react_dropzone.DropEvent) => void;
450
+ onDropRejected?: (fileRejections: react_dropzone.FileRejection[], event: react_dropzone.DropEvent) => void;
451
+ getFilesFromEvent?: (event: react_dropzone.DropEvent) => Promise<Array<File | DataTransferItem>>;
452
+ onFileDialogCancel?: () => void;
453
+ onFileDialogOpen?: () => void;
454
+ onError?: (err: Error) => void;
455
+ validator?: <T extends File>(file: T) => react_dropzone.FileError | readonly react_dropzone.FileError[] | null;
456
+ useFsAccessApi?: boolean;
457
+ autoFocus?: boolean;
458
+ } & {
459
+ children?: react.ReactNode | undefined;
460
+ } & react.RefAttributes<UploadRef>>;
461
+
350
462
  declare function useCopyToClipboard(): (text: string, toastMessage?: string) => void;
351
463
 
352
464
  declare function useScreen(): {
@@ -397,6 +509,8 @@ declare function GiftIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX
397
509
 
398
510
  declare function HomeIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
399
511
 
512
+ declare function ImageGalleryIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
513
+
400
514
  declare function InfoIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
401
515
 
402
516
  declare function KlineAreaIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -433,6 +547,8 @@ declare function PauseIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JS
433
547
 
434
548
  declare function PeopleIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
435
549
 
550
+ declare function PlusIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
551
+
436
552
  declare function PrivacyPolicyIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
437
553
 
438
554
  declare function PulseIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -457,6 +573,8 @@ declare function ShieldOffIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtim
457
573
 
458
574
  declare function ShieldPlusIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
459
575
 
576
+ declare function SignalIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
577
+
460
578
  declare function SignInIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
461
579
 
462
580
  declare function SignOutIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -471,10 +589,14 @@ declare function TelegramIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime
471
589
 
472
590
  declare function TermsOfServiceIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
473
591
 
592
+ declare function TimerIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
593
+
474
594
  declare function TradeIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
475
595
 
476
596
  declare function TranslateIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
477
597
 
598
+ declare function TrashIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
599
+
478
600
  declare function TriangleDownIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
479
601
 
480
602
  declare function TriangleUpIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
@@ -522,4 +644,4 @@ declare global {
522
644
  }
523
645
  declare const _default: "0.1.8";
524
646
 
525
- export { BundlesIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CoinsIcon, CookIcon, CopyIcon, CrownIcon, DiscordIcon, DraggableIcon, EditIcon, EmptyIcon, ExclamationIcon, type ExtendedButtonProps, type ExtendedColor, FAQIcon, FilterIcon, GiftIcon, HomeIcon, InfoIcon, KlineAreaIcon, KlineBarsIcon, KlineBaseLineIcon, KlineCandlesIcon, KlineColumnsIcon, KlineHelkinAshiIcon, KlineHighLowIcon, KlineHollowCandlesIcon, KlineLineIcon, LightDiscordIcon, LightTgIcon, LightningIcon, LogoIcon, MaximizeIcon, MenuIcon, MiniLogoIcon, MinimizeIcon, PauseIcon, PeopleIcon, PrivacyPolicyIcon, PulseIcon, RatIcon, RefreshIcon, RestoreWindowIcon, RobotIcon, RocketIcon, SearchIcon, SettingsIcon, ShieldIcon, ShieldOffIcon, ShieldPlusIcon, SignInIcon, SignOutIcon, SlippageIcon, SmallLightDiscordIcon, SmallLightTgIcon, SniperIcon, Sortable, type SortableProps, StyledBadge, StyledButton, StyledDivider, StyledInput, StyledModal, StyledNumberInput, StyledPopover, StyledTable, StyledTabs, StyledToaster, StyledTooltip, SupportIcon, TelegramIcon, TermsOfServiceIcon, TradeIcon, TranslateIcon, TriangleDownIcon, TriangleUpIcon, TwitterIcon, UnMaximizeIcon, UserGuideIcon, UserIcon, UserWithStarBadgeIcon, VerifiedIcon, WalletIcon, WebsiteIcon, XCloseIcon, ZapFastIcon, useCopyToClipboard, useMediaQuery, useScreen, _default as version };
647
+ export { BundlesIcon, CameraIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CoinsIcon, CookIcon, CopyIcon, CrownIcon, DiscordIcon, DraggableIcon, EditIcon, EmptyIcon, ExclamationIcon, type ExtendedButtonProps, type ExtendedColor, FAQIcon, FilterIcon, GiftIcon, HomeIcon, HorizontalScrollContainer, type HorizontalScrollContainerProps, ImageGalleryIcon, InfoIcon, KlineAreaIcon, KlineBarsIcon, KlineBaseLineIcon, KlineCandlesIcon, KlineColumnsIcon, KlineHelkinAshiIcon, KlineHighLowIcon, KlineHollowCandlesIcon, KlineLineIcon, LightDiscordIcon, LightTgIcon, LightningIcon, LogoIcon, MaximizeIcon, MenuIcon, MiniLogoIcon, MinimizeIcon, PauseIcon, PeopleIcon, PinataContext, PinataProvider, PlusIcon, PrivacyPolicyIcon, PulseIcon, RHForm, type RHFormProps, RHInput, type RHInputProps, RHNumberInput, type RHNumberInputProps, RHTextArea, type RHTextAreaProps, RHUpload, type RHUploadProps, RatIcon, RefreshIcon, RestoreWindowIcon, RobotIcon, RocketIcon, SearchIcon, SettingsIcon, ShieldIcon, ShieldOffIcon, ShieldPlusIcon, SignInIcon, SignOutIcon, SignalIcon, SlippageIcon, SmallLightDiscordIcon, SmallLightTgIcon, SniperIcon, Sortable, type SortableProps, StyledBadge, StyledButton, StyledDivider, StyledInput, StyledModal, StyledNumberInput, StyledPopover, StyledTable, StyledTabs, StyledTextArea, StyledToaster, StyledTooltip, SupportIcon, TelegramIcon, TermsOfServiceIcon, TimerIcon, TradeIcon, TranslateIcon, TrashIcon, TriangleDownIcon, TriangleUpIcon, TwitterIcon, UnMaximizeIcon, Upload, type UploadProps, type UploadRef, UserGuideIcon, UserIcon, UserWithStarBadgeIcon, VerifiedIcon, WalletIcon, WebsiteIcon, XCloseIcon, ZapFastIcon, useCopyToClipboard, useMediaQuery, usePinata, useScreen, _default as version };