@blocknote/mantine 0.26.0 → 0.27.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/blocknote-mantine.cjs +1 -1
- package/dist/blocknote-mantine.cjs.map +1 -1
- package/dist/blocknote-mantine.js +9 -9
- package/dist/blocknote-mantine.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/webpack-stats.json +1 -1
- package/package.json +16 -16
- package/types/src/BlockNoteView.d.ts +3 -3
- package/types/src/badge/Badge.d.ts +7 -8
- package/types/src/comments/Card.d.ts +8 -9
- package/types/src/comments/Comment.d.ts +2 -3
- package/types/src/comments/Editor.d.ts +4 -5
- package/types/src/form/TextInput.d.ts +4 -5
- package/types/src/menu/Button.d.ts +6 -7
- package/types/src/menu/Menu.d.ts +8 -9
- package/types/src/panel/Panel.d.ts +1 -2
- package/types/src/panel/PanelButton.d.ts +2 -3
- package/types/src/panel/PanelFileInput.d.ts +1 -2
- package/types/src/panel/PanelTab.d.ts +1 -2
- package/types/src/panel/PanelTextInput.d.ts +2 -3
- package/types/src/popover/Popover.d.ts +1 -2
- package/types/src/sideMenu/SideMenu.d.ts +1 -2
- package/types/src/sideMenu/SideMenuButton.d.ts +6 -7
- package/types/src/suggestionMenu/SuggestionMenu.d.ts +1 -2
- package/types/src/suggestionMenu/SuggestionMenuEmptyItem.d.ts +1 -2
- package/types/src/suggestionMenu/SuggestionMenuItem.d.ts +1 -2
- package/types/src/suggestionMenu/SuggestionMenuLabel.d.ts +1 -2
- package/types/src/suggestionMenu/SuggestionMenuLoader.d.ts +1 -2
- package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenu.d.ts +1 -2
- package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuEmptyItem.d.ts +1 -2
- package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuItem.d.ts +1 -2
- package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.d.ts +1 -2
- package/types/src/tableHandle/ExtendButton.d.ts +3 -4
- package/types/src/tableHandle/TableHandle.d.ts +4 -5
- package/types/src/toolbar/Toolbar.d.ts +4 -5
- package/types/src/toolbar/ToolbarButton.d.ts +8 -9
- package/types/src/toolbar/ToolbarSelect.d.ts +3 -4
package/dist/webpack-stats.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":
|
|
1
|
+
{"builtAt":1743885375138,"assets":[{"name":"blocknote-mantine.cjs","size":20384},{"name":"blocknote-mantine.cjs.map","size":312037}],"chunks":[{"id":"ec22802","entry":true,"initial":true,"files":["blocknote-mantine.cjs"],"names":["blocknote-mantine"]}],"modules":[{"name":"./src/BlockNoteTheme.ts","size":2185,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarButton.tsx","size":2674,"chunks":["ec22802"]},{"name":"./src/badge/Badge.tsx","size":1437,"chunks":["ec22802"]},{"name":"./src/comments/Card.tsx","size":1403,"chunks":["ec22802"]},{"name":"./src/comments/Comment.tsx","size":2082,"chunks":["ec22802"]},{"name":"./src/comments/Editor.tsx","size":965,"chunks":["ec22802"]},{"name":"./src/form/TextInput.tsx","size":575,"chunks":["ec22802"]},{"name":"../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.1/node_modules/react-icons/lib/iconContext.mjs","size":251,"chunks":["ec22802"]},{"name":"../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.1/node_modules/react-icons/lib/iconBase.mjs","size":4003,"chunks":["ec22802"]},{"name":"../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.1/node_modules/react-icons/hi/index.mjs","size":720,"chunks":["ec22802"]},{"name":"./src/menu/Menu.tsx","size":4095,"chunks":["ec22802"]},{"name":"./src/menu/Button.tsx","size":765,"chunks":["ec22802"]},{"name":"./src/panel/Panel.tsx","size":1015,"chunks":["ec22802"]},{"name":"./src/panel/PanelButton.tsx","size":345,"chunks":["ec22802"]},{"name":"./src/panel/PanelFileInput.tsx","size":367,"chunks":["ec22802"]},{"name":"./src/panel/PanelTab.tsx","size":209,"chunks":["ec22802"]},{"name":"./src/panel/PanelTextInput.tsx","size":392,"chunks":["ec22802"]},{"name":"./src/popover/Popover.tsx","size":679,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenu.tsx","size":309,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenuButton.tsx","size":773,"chunks":["ec22802"]},{"name":"./src/style.css","size":0,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenu.tsx","size":307,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuEmptyItem.tsx","size":338,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuItem.tsx","size":1822,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLabel.tsx","size":227,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLoader.tsx","size":283,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenu.tsx","size":361,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuEmptyItem.tsx","size":436,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuItem.tsx","size":855,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.tsx","size":385,"chunks":["ec22802"]},{"name":"./src/tableHandle/ExtendButton.tsx","size":333,"chunks":["ec22802"]},{"name":"./src/tableHandle/TableHandle.tsx","size":452,"chunks":["ec22802"]},{"name":"./src/toolbar/Toolbar.tsx","size":666,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarSelect.tsx","size":1785,"chunks":["ec22802"]},{"name":"./src/components.tsx","size":1540,"chunks":["ec22802"]},{"name":"./src/BlockNoteView.tsx","size":1638,"chunks":["ec22802"]},{"name":"./src/defaultThemes.ts","size":2023,"chunks":["ec22802"]},{"name":"./src/index.tsx","size":0,"chunks":["ec22802"]}]}
|
package/package.json
CHANGED
|
@@ -5,8 +5,13 @@
|
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
7
7
|
],
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/TypeCellOS/BlockNote.git",
|
|
11
|
+
"directory": "packages/mantine"
|
|
12
|
+
},
|
|
8
13
|
"license": "MPL-2.0",
|
|
9
|
-
"version": "0.
|
|
14
|
+
"version": "0.27.2",
|
|
10
15
|
"files": [
|
|
11
16
|
"dist",
|
|
12
17
|
"types",
|
|
@@ -42,16 +47,9 @@
|
|
|
42
47
|
"require": "./dist/style.css"
|
|
43
48
|
}
|
|
44
49
|
},
|
|
45
|
-
"scripts": {
|
|
46
|
-
"dev": "vite",
|
|
47
|
-
"build": "tsc && vite build",
|
|
48
|
-
"preview": "vite preview",
|
|
49
|
-
"lint": "eslint src --max-warnings 0",
|
|
50
|
-
"clean": "rimraf dist && rimraf types"
|
|
51
|
-
},
|
|
52
50
|
"dependencies": {
|
|
53
|
-
"@blocknote/core": "^0.
|
|
54
|
-
"@blocknote/react": "^0.
|
|
51
|
+
"@blocknote/core": "^0.27.2",
|
|
52
|
+
"@blocknote/react": "^0.27.2",
|
|
55
53
|
"@mantine/core": "^7.10.1",
|
|
56
54
|
"@mantine/hooks": "^7.10.1",
|
|
57
55
|
"@mantine/utils": "^6.0.21",
|
|
@@ -79,9 +77,11 @@
|
|
|
79
77
|
"../../.eslintrc.js"
|
|
80
78
|
]
|
|
81
79
|
},
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
80
|
+
"scripts": {
|
|
81
|
+
"dev": "vite",
|
|
82
|
+
"build": "tsc && vite build",
|
|
83
|
+
"preview": "vite preview",
|
|
84
|
+
"lint": "eslint src --max-warnings 0",
|
|
85
|
+
"clean": "rimraf dist && rimraf types"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { InlineContentSchema, StyleSchema } from "@blocknote/core";
|
|
1
|
+
import { BlockSchema, InlineContentSchema, StyleSchema } from "@blocknote/core";
|
|
2
2
|
import { BlockNoteViewProps } from "@blocknote/react";
|
|
3
3
|
import { Theme } from "./BlockNoteTheme.js";
|
|
4
4
|
import "./style.css";
|
|
5
|
-
export declare const BlockNoteView: <BSchema extends
|
|
5
|
+
export declare const BlockNoteView: <BSchema extends BlockSchema, ISchema extends InlineContentSchema, SSchema extends StyleSchema>(props: Omit<BlockNoteViewProps<BSchema, ISchema, SSchema>, "theme"> & {
|
|
6
6
|
theme?: "light" | "dark" | Theme | {
|
|
7
7
|
light: Theme;
|
|
8
8
|
dark: Theme;
|
|
9
9
|
};
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
}) => import("react/jsx-runtime.js").JSX.Element;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { MouseEvent } from "react";
|
|
2
1
|
export declare const Badge: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
text: string;
|
|
5
4
|
icon?: import("react").ReactNode;
|
|
6
|
-
isSelected?: boolean
|
|
7
|
-
mainTooltip?: string
|
|
8
|
-
secondaryTooltip?: string
|
|
9
|
-
onClick?: (
|
|
10
|
-
onMouseEnter?: (
|
|
5
|
+
isSelected?: boolean;
|
|
6
|
+
mainTooltip?: string;
|
|
7
|
+
secondaryTooltip?: string;
|
|
8
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
9
|
+
onMouseEnter?: () => void;
|
|
11
10
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
11
|
export declare const BadgeGroup: import("react").ForwardRefExoticComponent<{
|
|
13
|
-
className?: string
|
|
12
|
+
className?: string;
|
|
14
13
|
children: import("react").ReactNode;
|
|
15
14
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Card: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
4
|
-
headerText?: string
|
|
5
|
-
selected?: boolean
|
|
6
|
-
onFocus?: (
|
|
7
|
-
onBlur?: (
|
|
8
|
-
tabIndex?: number
|
|
2
|
+
className?: string;
|
|
3
|
+
headerText?: string;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
onFocus?: (event: React.FocusEvent) => void;
|
|
6
|
+
onBlur?: (event: React.FocusEvent) => void;
|
|
7
|
+
tabIndex?: number;
|
|
9
8
|
children?: import("react").ReactNode;
|
|
10
9
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
10
|
export declare const CardSection: import("react").ForwardRefExoticComponent<{
|
|
12
|
-
className?: string
|
|
11
|
+
className?: string;
|
|
13
12
|
children?: import("react").ReactNode;
|
|
14
13
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
14
|
export declare const ExpandSectionsPrompt: import("react").ForwardRefExoticComponent<{
|
|
16
|
-
className?: string
|
|
15
|
+
className?: string;
|
|
17
16
|
children?: import("react").ReactNode;
|
|
18
17
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Comment: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
children?: import("react").ReactNode;
|
|
5
4
|
authorInfo: "loading" | import("@blocknote/core/types/src/comments").User;
|
|
6
5
|
timeString: string;
|
|
7
6
|
edited: boolean;
|
|
8
7
|
actions?: import("react").ReactNode;
|
|
9
|
-
showActions?: boolean | "hover"
|
|
8
|
+
showActions?: boolean | "hover";
|
|
10
9
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Editor: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
4
|
-
autoFocus?: boolean
|
|
2
|
+
className?: string;
|
|
3
|
+
autoFocus?: boolean;
|
|
5
4
|
editable: boolean;
|
|
6
5
|
editor: import("@blocknote/core").BlockNoteEditor<any, any, any>;
|
|
7
|
-
onFocus?: (
|
|
8
|
-
onBlur?: (
|
|
6
|
+
onFocus?: () => void;
|
|
7
|
+
onBlur?: () => void;
|
|
9
8
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const TextInput: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
name: string;
|
|
5
|
-
label?: string
|
|
4
|
+
label?: string;
|
|
6
5
|
icon: import("react").ReactNode;
|
|
7
|
-
autoFocus?: boolean
|
|
6
|
+
autoFocus?: boolean;
|
|
8
7
|
placeholder: string;
|
|
9
8
|
value: string;
|
|
10
9
|
onKeyDown: (event: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
|
11
10
|
onChange: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
-
onSubmit?: (
|
|
11
|
+
onSubmit?: () => void;
|
|
13
12
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Button: import("react").ForwardRefExoticComponent<({
|
|
3
|
-
className?: string
|
|
4
|
-
onClick?: (
|
|
2
|
+
className?: string;
|
|
3
|
+
onClick?: (e: import("react").MouseEvent) => void;
|
|
5
4
|
icon?: import("react").ReactNode;
|
|
6
|
-
onDragStart?: (
|
|
7
|
-
onDragEnd?: (
|
|
8
|
-
draggable?: boolean
|
|
5
|
+
onDragStart?: (e: React.DragEvent) => void;
|
|
6
|
+
onDragEnd?: (e: React.DragEvent) => void;
|
|
7
|
+
draggable?: boolean;
|
|
9
8
|
} & ({
|
|
10
9
|
children: import("react").ReactNode;
|
|
11
|
-
label?: string
|
|
10
|
+
label?: string;
|
|
12
11
|
} | {
|
|
13
12
|
children?: undefined;
|
|
14
13
|
label: string;
|
package/types/src/menu/Menu.d.ts
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentProps } from "@blocknote/react";
|
|
3
2
|
export declare const Menu: (props: ComponentProps["Generic"]["Menu"]["Root"]) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export declare const MenuItem: import("react").ForwardRefExoticComponent<{
|
|
5
|
-
className?: string
|
|
4
|
+
className?: string;
|
|
6
5
|
children?: import("react").ReactNode;
|
|
7
|
-
subTrigger?: boolean
|
|
6
|
+
subTrigger?: boolean;
|
|
8
7
|
icon?: import("react").ReactNode;
|
|
9
|
-
checked?: boolean
|
|
10
|
-
onClick?: (
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
onClick?: () => void;
|
|
11
10
|
} & import("react").RefAttributes<HTMLButtonElement & HTMLDivElement>>;
|
|
12
11
|
export declare const MenuTrigger: (props: ComponentProps["Generic"]["Menu"]["Trigger"]) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export declare const MenuDropdown: import("react").ForwardRefExoticComponent<{
|
|
14
|
-
className?: string
|
|
13
|
+
className?: string;
|
|
15
14
|
children?: import("react").ReactNode;
|
|
16
|
-
sub?: boolean
|
|
15
|
+
sub?: boolean;
|
|
17
16
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
17
|
export declare const MenuDivider: import("react").ForwardRefExoticComponent<{
|
|
19
|
-
className?: string
|
|
18
|
+
className?: string;
|
|
20
19
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
20
|
export declare const MenuLabel: import("react").ForwardRefExoticComponent<{
|
|
22
|
-
className?: string
|
|
21
|
+
className?: string;
|
|
23
22
|
children?: import("react").ReactNode;
|
|
24
23
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const PanelButton: import("react").ForwardRefExoticComponent<({
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
onClick: () => void;
|
|
5
4
|
} & ({
|
|
6
5
|
children: import("react").ReactNode;
|
|
7
|
-
label?: string
|
|
6
|
+
label?: string;
|
|
8
7
|
} | {
|
|
9
8
|
children?: undefined;
|
|
10
9
|
label: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const PanelTextInput: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
value: string;
|
|
5
4
|
placeholder: string;
|
|
6
5
|
onChange: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
onKeyDown: (event: import("react").KeyboardEvent
|
|
6
|
+
onKeyDown: (event: import("react").KeyboardEvent) => void;
|
|
8
7
|
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentProps } from "@blocknote/react";
|
|
3
2
|
export declare const Popover: (props: ComponentProps["Generic"]["Popover"]["Root"]) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export declare const PopoverTrigger: (props: ComponentProps["Generic"]["Popover"]["Trigger"]) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export declare const PopoverContent: import("react").ForwardRefExoticComponent<{
|
|
6
|
-
className?: string
|
|
5
|
+
className?: string;
|
|
7
6
|
variant: "form-popover" | "panel-popover";
|
|
8
7
|
children?: import("react").ReactNode;
|
|
9
8
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SideMenuButton: import("react").ForwardRefExoticComponent<({
|
|
3
|
-
className?: string
|
|
4
|
-
onClick?: (
|
|
2
|
+
className?: string;
|
|
3
|
+
onClick?: (e: import("react").MouseEvent) => void;
|
|
5
4
|
icon?: import("react").ReactNode;
|
|
6
|
-
onDragStart?: (
|
|
7
|
-
onDragEnd?: (
|
|
8
|
-
draggable?: boolean
|
|
5
|
+
onDragStart?: (e: React.DragEvent) => void;
|
|
6
|
+
onDragEnd?: (e: React.DragEvent) => void;
|
|
7
|
+
draggable?: boolean;
|
|
9
8
|
} & ({
|
|
10
9
|
children: import("react").ReactNode;
|
|
11
|
-
label?: string
|
|
10
|
+
label?: string;
|
|
12
11
|
} | {
|
|
13
12
|
children?: undefined;
|
|
14
13
|
label: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SuggestionMenu: import("react").ForwardRefExoticComponent<{
|
|
3
2
|
id: string;
|
|
4
|
-
className?: string
|
|
3
|
+
className?: string;
|
|
5
4
|
children?: import("react").ReactNode;
|
|
6
5
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SuggestionMenuEmptyItem: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
children?: import("react").ReactNode;
|
|
5
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const SuggestionMenuLoader: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
children?: import("react").ReactNode;
|
|
5
4
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const GridSuggestionMenu: import("react").ForwardRefExoticComponent<{
|
|
3
2
|
id: string;
|
|
4
3
|
columns: number;
|
|
5
|
-
className?: string
|
|
4
|
+
className?: string;
|
|
6
5
|
children?: import("react").ReactNode;
|
|
7
6
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const GridSuggestionMenuEmptyItem: import("react").ForwardRefExoticComponent<{
|
|
3
2
|
columns: number;
|
|
4
|
-
className?: string
|
|
3
|
+
className?: string;
|
|
5
4
|
children?: import("react").ReactNode;
|
|
6
5
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const GridSuggestionMenuLoader: import("react").ForwardRefExoticComponent<{
|
|
3
2
|
columns: number;
|
|
4
|
-
className?: string
|
|
3
|
+
className?: string;
|
|
5
4
|
children?: import("react").ReactNode;
|
|
6
5
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const ExtendButton: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
4
|
-
onClick: (e:
|
|
5
|
-
onMouseDown: (e:
|
|
2
|
+
className?: string;
|
|
3
|
+
onClick: (e: React.MouseEvent) => void;
|
|
4
|
+
onMouseDown: (e: React.MouseEvent) => void;
|
|
6
5
|
children: import("react").ReactNode;
|
|
7
6
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const TableHandle: import("react").ForwardRefExoticComponent<({
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
draggable: boolean;
|
|
5
|
-
onDragStart: (e:
|
|
4
|
+
onDragStart: (e: React.DragEvent) => void;
|
|
6
5
|
onDragEnd: () => void;
|
|
7
|
-
style?: import("react").CSSProperties
|
|
6
|
+
style?: import("react").CSSProperties;
|
|
8
7
|
} & ({
|
|
9
8
|
children: import("react").ReactNode;
|
|
10
|
-
label?: string
|
|
9
|
+
label?: string;
|
|
11
10
|
} | {
|
|
12
11
|
children?: undefined;
|
|
13
12
|
label: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const Toolbar: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
children?: import("react").ReactNode;
|
|
5
|
-
onMouseEnter?: (
|
|
6
|
-
onMouseLeave?: (
|
|
7
|
-
variant?: "default" | "action-toolbar"
|
|
4
|
+
onMouseEnter?: () => void;
|
|
5
|
+
onMouseLeave?: () => void;
|
|
6
|
+
variant?: "default" | "action-toolbar";
|
|
8
7
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const TooltipContent: (props: {
|
|
3
2
|
mainTooltip: string;
|
|
4
3
|
secondaryTooltip?: string;
|
|
@@ -7,17 +6,17 @@ export declare const TooltipContent: (props: {
|
|
|
7
6
|
* Helper for basic buttons that show in the formatting toolbar.
|
|
8
7
|
*/
|
|
9
8
|
export declare const ToolbarButton: import("react").ForwardRefExoticComponent<({
|
|
10
|
-
className?: string
|
|
11
|
-
mainTooltip?: string
|
|
12
|
-
secondaryTooltip?: string
|
|
9
|
+
className?: string;
|
|
10
|
+
mainTooltip?: string;
|
|
11
|
+
secondaryTooltip?: string;
|
|
13
12
|
icon?: import("react").ReactNode;
|
|
14
|
-
onClick?: (
|
|
15
|
-
isSelected?: boolean
|
|
16
|
-
isDisabled?: boolean
|
|
17
|
-
variant?: "default" | "compact"
|
|
13
|
+
onClick?: (e: import("react").MouseEvent) => void;
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
variant?: "default" | "compact";
|
|
18
17
|
} & ({
|
|
19
18
|
children: import("react").ReactNode;
|
|
20
|
-
label?: string
|
|
19
|
+
label?: string;
|
|
21
20
|
} | {
|
|
22
21
|
children?: undefined;
|
|
23
22
|
label: string;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const ToolbarSelect: import("react").ForwardRefExoticComponent<{
|
|
3
|
-
className?: string
|
|
2
|
+
className?: string;
|
|
4
3
|
items: {
|
|
5
4
|
text: string;
|
|
6
5
|
icon: import("react").ReactNode;
|
|
7
6
|
onClick: () => void;
|
|
8
7
|
isSelected: boolean;
|
|
9
|
-
isDisabled?: boolean
|
|
8
|
+
isDisabled?: boolean;
|
|
10
9
|
}[];
|
|
11
|
-
isDisabled?: boolean
|
|
10
|
+
isDisabled?: boolean;
|
|
12
11
|
} & import("react").RefAttributes<HTMLDivElement>>;
|