@windrun-huaiin/third-ui 5.9.4 → 5.9.6

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.
@@ -54,13 +54,19 @@ type ZiaCardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
54
54
  };
55
55
  declare function ZiaCard({ icon, title, description, ...props }: ZiaCardProps): react_jsx_runtime.JSX.Element;
56
56
 
57
- declare function GradientButton({ title, icon, href, align, openInNewTab, }: {
57
+ interface GradientButtonProps {
58
58
  title: React.ReactNode;
59
59
  icon?: React.ReactNode;
60
- href: string;
61
60
  align?: 'left' | 'center' | 'right';
61
+ disabled?: boolean;
62
+ className?: string;
63
+ href?: string;
62
64
  openInNewTab?: boolean;
63
- }): react_jsx_runtime.JSX.Element;
65
+ onClick?: () => void | Promise<void>;
66
+ loadingText?: React.ReactNode;
67
+ preventDoubleClick?: boolean;
68
+ }
69
+ declare function GradientButton({ title, icon, align, disabled, className, href, openInNewTab, onClick, loadingText, preventDoubleClick, }: GradientButtonProps): react_jsx_runtime.JSX.Element;
64
70
 
65
71
  declare function FumaBannerSuit({ showText }: {
66
72
  showText: boolean;
@@ -114,4 +120,4 @@ interface TocFooterProps {
114
120
  }
115
121
  declare function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonComponent }: TocFooterProps): react_jsx_runtime.JSX.Element;
116
122
 
117
- export { FumaBannerSuit, FumaGithubInfo, GradientButton, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, SiteX, type SiteXProps, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };
123
+ export { FumaBannerSuit, FumaGithubInfo, GradientButton, type GradientButtonProps, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, SiteX, type SiteXProps, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };
@@ -54,13 +54,19 @@ type ZiaCardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
54
54
  };
55
55
  declare function ZiaCard({ icon, title, description, ...props }: ZiaCardProps): react_jsx_runtime.JSX.Element;
56
56
 
57
- declare function GradientButton({ title, icon, href, align, openInNewTab, }: {
57
+ interface GradientButtonProps {
58
58
  title: React.ReactNode;
59
59
  icon?: React.ReactNode;
60
- href: string;
61
60
  align?: 'left' | 'center' | 'right';
61
+ disabled?: boolean;
62
+ className?: string;
63
+ href?: string;
62
64
  openInNewTab?: boolean;
63
- }): react_jsx_runtime.JSX.Element;
65
+ onClick?: () => void | Promise<void>;
66
+ loadingText?: React.ReactNode;
67
+ preventDoubleClick?: boolean;
68
+ }
69
+ declare function GradientButton({ title, icon, align, disabled, className, href, openInNewTab, onClick, loadingText, preventDoubleClick, }: GradientButtonProps): react_jsx_runtime.JSX.Element;
64
70
 
65
71
  declare function FumaBannerSuit({ showText }: {
66
72
  showText: boolean;
@@ -114,4 +120,4 @@ interface TocFooterProps {
114
120
  }
115
121
  declare function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonComponent }: TocFooterProps): react_jsx_runtime.JSX.Element;
116
122
 
117
- export { FumaBannerSuit, FumaGithubInfo, GradientButton, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, SiteX, type SiteXProps, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };
123
+ export { FumaBannerSuit, FumaGithubInfo, GradientButton, type GradientButtonProps, ImageGrid, ImageZoom, type ImageZoomProps, Mermaid, SiteX, type SiteXProps, TocFooterWrapper, TrophyCard, ZiaCard, type ZiaCardProps, ZiaFile, type ZiaFileProps, ZiaFolder, type ZiaFolderProps };