@helpwave/hightide 0.5.1 → 0.5.2

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
@@ -792,7 +792,7 @@ declare const VerticalDivider: ({ width, height, strokeWidth, dashGap, dashLengt
792
792
  type VisibilityProps = PropsWithChildren & {
793
793
  isVisible?: boolean;
794
794
  };
795
- declare function Visibility({ children, isVisible }: VisibilityProps): React.ReactNode;
795
+ declare function Visibility({ children, isVisible }: VisibilityProps): react_jsx_runtime.JSX.Element;
796
796
 
797
797
  type ErrorComponentProps = {
798
798
  errorText?: string;
@@ -817,7 +817,7 @@ type LoadingAndErrorComponentProps = PropsWithChildren<{
817
817
  /**
818
818
  * A Component that shows the Error and Loading animation, when appropriate and the children otherwise
819
819
  */
820
- declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode>>;
820
+ declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => react_jsx_runtime.JSX.Element;
821
821
 
822
822
  type LoadingAnimationProps = {
823
823
  loadingText?: string;
package/dist/index.d.ts CHANGED
@@ -792,7 +792,7 @@ declare const VerticalDivider: ({ width, height, strokeWidth, dashGap, dashLengt
792
792
  type VisibilityProps = PropsWithChildren & {
793
793
  isVisible?: boolean;
794
794
  };
795
- declare function Visibility({ children, isVisible }: VisibilityProps): React.ReactNode;
795
+ declare function Visibility({ children, isVisible }: VisibilityProps): react_jsx_runtime.JSX.Element;
796
796
 
797
797
  type ErrorComponentProps = {
798
798
  errorText?: string;
@@ -817,7 +817,7 @@ type LoadingAndErrorComponentProps = PropsWithChildren<{
817
817
  /**
818
818
  * A Component that shows the Error and Loading animation, when appropriate and the children otherwise
819
819
  */
820
- declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<ReactNode>>;
820
+ declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => react_jsx_runtime.JSX.Element;
821
821
 
822
822
  type LoadingAnimationProps = {
823
823
  loadingText?: string;