mtxuilib 0.0.570 → 0.0.577

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { EditorEvents } from '@tiptap/react';
3
3
  export declare const TiptapEditorV1: (props: {
4
- value?: string | undefined;
5
- onUpdate?: ((props: EditorEvents['update']) => void) | undefined;
4
+ value?: string;
5
+ onUpdate?: (props: EditorEvents['update']) => void;
6
6
  }) => import("react").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react/experimental" />
2
1
  import { Component, ErrorInfo, ReactNode } from "react";
3
2
  interface Props {
4
3
  children: ReactNode;
@@ -12,6 +11,6 @@ export declare class MtErrorBoundary extends Component<Props, State> {
12
11
  state: State;
13
12
  static getDerivedStateFromError(error: Error): State;
14
13
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
15
- render(): string | number | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<import("react").AwaitedReactNode> | null | undefined;
14
+ render(): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<import("react").AwaitedReactNode> | null | undefined;
16
15
  }
17
16
  export default MtErrorBoundary;
@@ -19,17 +19,7 @@ declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<imp
19
19
  } & {
20
20
  children?: import("react").ReactNode;
21
21
  } & import("react").RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
22
- declare const ResizableHandle: ({ withHandle, className, ...props }: Omit<import("react").HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & {
23
- className?: string | undefined;
24
- disabled?: boolean | undefined;
25
- id?: string | null | undefined;
26
- onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
27
- style?: import("react").CSSProperties | undefined;
28
- tabIndex?: number | undefined;
29
- tagName?: keyof HTMLElementTagNameMap | undefined;
30
- } & {
31
- children?: import("react").ReactNode;
32
- } & {
33
- withHandle?: boolean | undefined;
22
+ declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
23
+ withHandle?: boolean;
34
24
  }) => import("react").JSX.Element;
35
25
  export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
@@ -19,17 +19,7 @@ declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<imp
19
19
  } & {
20
20
  children?: import("react").ReactNode;
21
21
  } & import("react").RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
22
- declare const ResizableHandle: ({ withHandle, className, ...props }: Omit<import("react").HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & {
23
- className?: string | undefined;
24
- disabled?: boolean | undefined;
25
- id?: string | null | undefined;
26
- onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
27
- style?: import("react").CSSProperties | undefined;
28
- tabIndex?: number | undefined;
29
- tagName?: keyof HTMLElementTagNameMap | undefined;
30
- } & {
31
- children?: import("react").ReactNode;
32
- } & {
33
- withHandle?: boolean | undefined;
22
+ declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
23
+ withHandle?: boolean;
34
24
  }) => import("react").JSX.Element;
35
25
  export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type JSONContent } from "../novel/src/components";
3
3
  export declare const TailwindAdvancedEditor: (props: {
4
- onValueChange?: ((content: any) => void) | undefined;
5
- content?: JSONContent | null | undefined;
4
+ onValueChange?: (content: any) => void;
5
+ content?: JSONContent | null;
6
6
  }) => import("react").JSX.Element | null;
@@ -19,17 +19,7 @@ declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<imp
19
19
  } & {
20
20
  children?: import("react").ReactNode;
21
21
  } & import("react").RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
22
- declare const ResizableHandle: ({ withHandle, className, ...props }: Omit<import("react").HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & {
23
- className?: string | undefined;
24
- disabled?: boolean | undefined;
25
- id?: string | null | undefined;
26
- onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
27
- style?: import("react").CSSProperties | undefined;
28
- tabIndex?: number | undefined;
29
- tagName?: keyof HTMLElementTagNameMap | undefined;
30
- } & {
31
- children?: import("react").ReactNode;
32
- } & {
33
- withHandle?: boolean | undefined;
22
+ declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
23
+ withHandle?: boolean;
34
24
  }) => import("react").JSX.Element;
35
25
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const SkeletonCard: ({ isLoading }: {
3
- isLoading?: boolean | undefined;
3
+ isLoading?: boolean;
4
4
  }) => import("react").JSX.Element;