uibee 3.1.5 → 3.2.0

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.
@@ -3,7 +3,7 @@ import { Components } from "react-markdown";
3
3
  import { Language, LoginPageProps, ToastType } from "uibee/components";
4
4
 
5
5
  //#region src/components/inputs/input.d.ts
6
- type InputProps = Omit<React.ComponentProps<'input'>, 'name'> & {
6
+ type InputProps = Omit<React$1.ComponentProps<'input'>, 'name'> & {
7
7
  name: string;
8
8
  label?: string;
9
9
  error?: string;
@@ -735,4 +735,167 @@ declare function Toggle<T>({
735
735
  right
736
736
  }: ToggleProps<T>): import("react").JSX.Element;
737
737
  //#endregion
738
- export { Accordion, AccordionGroup, Alert, type BilingualString, Button, Card, Checkbox, type Column, ConfirmPopup, type Density, Footer, type FooterColumn, type FooterProps, type FooterSocialLink, type FooterSocialLink as LoginSocialLinkData, Highlight, IconBubble, Input, type Lang, LanguageToggle, LeftBarPanel, LoginPage, Logo, LogoSmall, MarkdownRender, MenuButton, MultiSelect, NavDropdown, NavItem, Navbar, PageContainer, Pagination, PulseDot, Radio, Range, SearchInput, Select, SeverityPill, type SortState, StatCard, Switch, TabPanel, Table, type TableColor, type TableProps, type TableVariant, Tabs, TagInput, Textarea, ThemeToggle, Toaster, Toggle, VersionTag, loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor, toast };
738
+ //#region src/components/inputs/fileInput.d.ts
739
+ type FileInputProps = {
740
+ name: string;
741
+ label?: string;
742
+ accept?: string;
743
+ multiple?: boolean;
744
+ onChange: (files: File[]) => void;
745
+ className?: string;
746
+ };
747
+ declare function FileInput({
748
+ name,
749
+ label,
750
+ accept,
751
+ multiple,
752
+ onChange,
753
+ className
754
+ }: FileInputProps): import("react").JSX.Element;
755
+ //#endregion
756
+ //#region src/components/container/glassCard.d.ts
757
+ type GlassCardProps = {
758
+ children: ReactNode;
759
+ className?: string;
760
+ };
761
+ declare function GlassCard({
762
+ children,
763
+ className
764
+ }: GlassCardProps): import("react").JSX.Element;
765
+ //#endregion
766
+ //#region src/components/container/expandableCard.d.ts
767
+ type PulseVariant = 'online' | 'offline' | 'warning' | 'unknown';
768
+ type ExpandableCardProps = {
769
+ icon: ElementType;
770
+ iconTone?: IconBubbleTone;
771
+ title: string;
772
+ subtitle?: ReactNode;
773
+ pulse?: {
774
+ variant: PulseVariant;
775
+ label: string;
776
+ };
777
+ trailing?: ReactNode;
778
+ isExpanded: boolean;
779
+ onToggle: () => void;
780
+ children?: ReactNode;
781
+ };
782
+ declare function ExpandableCard({
783
+ icon,
784
+ iconTone,
785
+ title,
786
+ subtitle,
787
+ pulse,
788
+ trailing,
789
+ isExpanded,
790
+ onToggle,
791
+ children
792
+ }: ExpandableCardProps): import("react").JSX.Element;
793
+ //#endregion
794
+ //#region src/components/modal/modal.d.ts
795
+ type ModalSize = 'sm' | 'md' | 'lg';
796
+ type ModalProps = {
797
+ isOpen: boolean;
798
+ onClose: () => void;
799
+ title?: string;
800
+ children: ReactNode;
801
+ footer?: ReactNode;
802
+ size?: ModalSize;
803
+ };
804
+ declare function Modal({
805
+ isOpen,
806
+ onClose,
807
+ title,
808
+ children,
809
+ footer,
810
+ size
811
+ }: ModalProps): import("react").JSX.Element | null;
812
+ //#endregion
813
+ //#region src/components/sidebar/sidebar.d.ts
814
+ type SidebarSubItem = {
815
+ name: string;
816
+ path: string;
817
+ };
818
+ type SidebarItem = {
819
+ name: string;
820
+ path: string;
821
+ icon: ElementType;
822
+ status?: ReactNode;
823
+ items?: SidebarSubItem[];
824
+ };
825
+ type SidebarProps = {
826
+ items: SidebarItem[];
827
+ header?: ReactNode;
828
+ bottomAction?: (expanded: boolean) => ReactNode;
829
+ mobile?: boolean;
830
+ initialExpanded?: boolean;
831
+ };
832
+ declare function Sidebar({
833
+ items,
834
+ header,
835
+ bottomAction,
836
+ mobile,
837
+ initialExpanded
838
+ }: SidebarProps): import("react").JSX.Element;
839
+ //#endregion
840
+ //#region src/components/badge/badge.d.ts
841
+ type BadgeVariant = 'default' | 'success' | 'warning' | 'danger' | 'info' | 'amber' | 'violet' | 'blue' | 'emerald' | 'orange';
842
+ type BadgeProps = {
843
+ text: string;
844
+ variant?: BadgeVariant;
845
+ size?: 'sm' | 'md';
846
+ className?: string;
847
+ };
848
+ declare function Badge({
849
+ text,
850
+ variant,
851
+ size,
852
+ className
853
+ }: BadgeProps): import("react").JSX.Element;
854
+ //#endregion
855
+ //#region src/components/empty/emptyState.d.ts
856
+ type EmptyStateProps = {
857
+ icon?: ElementType;
858
+ title: string;
859
+ description?: string;
860
+ action?: ReactNode;
861
+ className?: string;
862
+ };
863
+ declare function EmptyState({
864
+ icon: Icon,
865
+ title,
866
+ description,
867
+ action,
868
+ className
869
+ }: EmptyStateProps): import("react").JSX.Element;
870
+ //#endregion
871
+ //#region src/components/spinner/spinner.d.ts
872
+ type SpinnerProps = {
873
+ size?: 'sm' | 'md' | 'lg';
874
+ className?: string;
875
+ };
876
+ declare function Spinner({
877
+ size,
878
+ className
879
+ }: SpinnerProps): import("react").JSX.Element;
880
+ //#endregion
881
+ //#region src/components/code/code.d.ts
882
+ type CodeProps = {
883
+ children: ReactNode;
884
+ className?: string;
885
+ };
886
+ declare function Code({
887
+ children,
888
+ className
889
+ }: CodeProps): import("react").JSX.Element;
890
+ type CodeBlockProps = {
891
+ code: string;
892
+ language?: string;
893
+ className?: string;
894
+ };
895
+ declare function CodeBlock({
896
+ code,
897
+ language,
898
+ className
899
+ }: CodeBlockProps): import("react").JSX.Element;
900
+ //#endregion
901
+ export { Accordion, AccordionGroup, Alert, Badge, type BilingualString, Button, Card, Checkbox, Code, CodeBlock, type Column, ConfirmPopup, type Density, EmptyState, ExpandableCard, FileInput, Footer, type FooterColumn, type FooterProps, type FooterSocialLink, type FooterSocialLink as LoginSocialLinkData, GlassCard, Highlight, IconBubble, Input, type Lang, LanguageToggle, LeftBarPanel, LoginPage, Logo, LogoSmall, MarkdownRender, MenuButton, Modal, MultiSelect, NavDropdown, NavItem, Navbar, PageContainer, Pagination, PulseDot, Radio, Range, SearchInput, Select, SeverityPill, Sidebar, type SidebarItem, type SidebarSubItem, type SortState, Spinner, StatCard, Switch, TabPanel, Table, type TableColor, type TableProps, type TableVariant, Tabs, TagInput, Textarea, ThemeToggle, Toaster, Toggle, VersionTag, loginAddress, loginCopyright, loginEmail, loginSocialLinks, loginSponsor, toast };