uibee 3.1.6 → 3.3.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,171 @@ 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 | ((expanded: boolean) => ReactNode);
828
+ bottomAction?: (expanded: boolean) => ReactNode;
829
+ mobile?: boolean;
830
+ initialExpanded?: boolean;
831
+ onExpandedChange?: (expanded: boolean) => void;
832
+ className?: string;
833
+ };
834
+ declare function Sidebar({
835
+ items,
836
+ header,
837
+ bottomAction,
838
+ mobile,
839
+ initialExpanded,
840
+ onExpandedChange,
841
+ className
842
+ }: SidebarProps): import("react").JSX.Element;
843
+ //#endregion
844
+ //#region src/components/badge/badge.d.ts
845
+ type BadgeVariant = 'default' | 'success' | 'warning' | 'danger' | 'info' | 'amber' | 'violet' | 'blue' | 'emerald' | 'orange';
846
+ type BadgeProps = {
847
+ text: string;
848
+ variant?: BadgeVariant;
849
+ size?: 'sm' | 'md';
850
+ className?: string;
851
+ };
852
+ declare function Badge({
853
+ text,
854
+ variant,
855
+ size,
856
+ className
857
+ }: BadgeProps): import("react").JSX.Element;
858
+ //#endregion
859
+ //#region src/components/empty/emptyState.d.ts
860
+ type EmptyStateProps = {
861
+ icon?: ElementType;
862
+ title: string;
863
+ description?: string;
864
+ action?: ReactNode;
865
+ className?: string;
866
+ };
867
+ declare function EmptyState({
868
+ icon: Icon,
869
+ title,
870
+ description,
871
+ action,
872
+ className
873
+ }: EmptyStateProps): import("react").JSX.Element;
874
+ //#endregion
875
+ //#region src/components/spinner/spinner.d.ts
876
+ type SpinnerProps = {
877
+ size?: 'sm' | 'md' | 'lg';
878
+ className?: string;
879
+ };
880
+ declare function Spinner({
881
+ size,
882
+ className
883
+ }: SpinnerProps): import("react").JSX.Element;
884
+ //#endregion
885
+ //#region src/components/code/code.d.ts
886
+ type CodeProps = {
887
+ children: ReactNode;
888
+ className?: string;
889
+ };
890
+ declare function Code({
891
+ children,
892
+ className
893
+ }: CodeProps): import("react").JSX.Element;
894
+ type CodeBlockProps = {
895
+ code: string;
896
+ language?: string;
897
+ className?: string;
898
+ };
899
+ declare function CodeBlock({
900
+ code,
901
+ language,
902
+ className
903
+ }: CodeBlockProps): import("react").JSX.Element;
904
+ //#endregion
905
+ 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 };