@blocknote/mantine 0.15.0 → 0.15.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.
Files changed (31) hide show
  1. package/dist/blocknote-mantine.js +132 -150
  2. package/dist/blocknote-mantine.js.map +1 -1
  3. package/dist/blocknote-mantine.umd.cjs +8 -10
  4. package/dist/blocknote-mantine.umd.cjs.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/webpack-stats.json +1 -1
  7. package/package.json +7 -7
  8. package/types/src/form/TextInput.d.ts +4 -5
  9. package/types/src/index.d.ts +2 -2
  10. package/types/src/menu/Menu.d.ts +8 -9
  11. package/types/src/panel/Panel.d.ts +1 -2
  12. package/types/src/panel/PanelButton.d.ts +2 -3
  13. package/types/src/panel/PanelFileInput.d.ts +1 -2
  14. package/types/src/panel/PanelTab.d.ts +1 -2
  15. package/types/src/panel/PanelTextInput.d.ts +2 -3
  16. package/types/src/popover/Popover.d.ts +1 -2
  17. package/types/src/sideMenu/SideMenu.d.ts +1 -2
  18. package/types/src/sideMenu/SideMenuButton.d.ts +6 -7
  19. package/types/src/suggestionMenu/SuggestionMenu.d.ts +1 -2
  20. package/types/src/suggestionMenu/SuggestionMenuEmptyItem.d.ts +1 -2
  21. package/types/src/suggestionMenu/SuggestionMenuItem.d.ts +1 -2
  22. package/types/src/suggestionMenu/SuggestionMenuLabel.d.ts +1 -2
  23. package/types/src/suggestionMenu/SuggestionMenuLoader.d.ts +1 -2
  24. package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenu.d.ts +1 -2
  25. package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuEmptyItem.d.ts +1 -2
  26. package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuItem.d.ts +1 -2
  27. package/types/src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.d.ts +1 -2
  28. package/types/src/tableHandle/TableHandle.d.ts +4 -5
  29. package/types/src/toolbar/Toolbar.d.ts +4 -5
  30. package/types/src/toolbar/ToolbarButton.d.ts +0 -1
  31. package/types/src/toolbar/ToolbarSelect.d.ts +3 -4
@@ -1 +1 @@
1
- {"builtAt":1721046970849,"assets":[{"name":"blocknote-mantine.umd.cjs","size":31449},{"name":"blocknote-mantine.umd.cjs.map","size":359785}],"chunks":[{"id":"ec22802","entry":true,"initial":true,"files":["blocknote-mantine.umd.cjs"],"names":["index"]}],"modules":[{"name":"../../node_modules/react/jsx-runtime.js?commonjs-module","size":31,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","size":40,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.production.min.js","size":1200,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","size":37,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.development.js","size":44073,"chunks":["ec22802"]},{"name":"../../node_modules/react/jsx-runtime.js","size":225,"chunks":["ec22802"]},{"name":"./src/BlockNoteTheme.ts","size":2185,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenu.tsx","size":368,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuEmptyItem.tsx","size":450,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuItem.tsx","size":792,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.tsx","size":392,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/lib/iconContext.mjs","size":251,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/lib/iconBase.mjs","size":4014,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/hi/index.mjs","size":744,"chunks":["ec22802"]},{"name":"./src/menu/Menu.tsx","size":4155,"chunks":["ec22802"]},{"name":"./src/panel/Panel.tsx","size":1057,"chunks":["ec22802"]},{"name":"./src/panel/PanelButton.tsx","size":352,"chunks":["ec22802"]},{"name":"./src/panel/PanelFileInput.tsx","size":374,"chunks":["ec22802"]},{"name":"./src/panel/PanelTab.tsx","size":216,"chunks":["ec22802"]},{"name":"./src/panel/PanelTextInput.tsx","size":399,"chunks":["ec22802"]},{"name":"./src/popover/Popover.tsx","size":759,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenu.tsx","size":316,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenuButton.tsx","size":787,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenu.tsx","size":314,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuEmptyItem.tsx","size":352,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuItem.tsx","size":1806,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLabel.tsx","size":234,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLoader.tsx","size":290,"chunks":["ec22802"]},{"name":"./src/tableHandle/TableHandle.tsx","size":459,"chunks":["ec22802"]},{"name":"./src/form/TextInput.tsx","size":582,"chunks":["ec22802"]},{"name":"./src/toolbar/Toolbar.tsx","size":569,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarButton.tsx","size":2278,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarSelect.tsx","size":1841,"chunks":["ec22802"]},{"name":"./src/style.css","size":17,"chunks":["ec22802"]},{"name":"./src/defaultThemes.ts","size":3405,"chunks":["ec22802"]},{"name":"./src/index.tsx","size":2710,"chunks":["ec22802"]}]}
1
+ {"builtAt":1721314102613,"assets":[{"name":"blocknote-mantine.umd.cjs","size":31327},{"name":"blocknote-mantine.umd.cjs.map","size":359604}],"chunks":[{"id":"ec22802","entry":true,"initial":true,"files":["blocknote-mantine.umd.cjs"],"names":["index"]}],"modules":[{"name":"../../node_modules/react/jsx-runtime.js?commonjs-module","size":31,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","size":40,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.production.min.js","size":1200,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","size":37,"chunks":["ec22802"]},{"name":"../../node_modules/react/cjs/react-jsx-runtime.development.js","size":43843,"chunks":["ec22802"]},{"name":"../../node_modules/react/jsx-runtime.js","size":225,"chunks":["ec22802"]},{"name":"./src/BlockNoteTheme.ts","size":2185,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenu.tsx","size":368,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuEmptyItem.tsx","size":450,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuItem.tsx","size":792,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/gridSuggestionMenu/GridSuggestionMenuLoader.tsx","size":392,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/lib/iconContext.mjs","size":251,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/lib/iconBase.mjs","size":4014,"chunks":["ec22802"]},{"name":"../../node_modules/react-icons/hi/index.mjs","size":744,"chunks":["ec22802"]},{"name":"./src/menu/Menu.tsx","size":4155,"chunks":["ec22802"]},{"name":"./src/panel/Panel.tsx","size":1057,"chunks":["ec22802"]},{"name":"./src/panel/PanelButton.tsx","size":352,"chunks":["ec22802"]},{"name":"./src/panel/PanelFileInput.tsx","size":374,"chunks":["ec22802"]},{"name":"./src/panel/PanelTab.tsx","size":216,"chunks":["ec22802"]},{"name":"./src/panel/PanelTextInput.tsx","size":399,"chunks":["ec22802"]},{"name":"./src/popover/Popover.tsx","size":759,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenu.tsx","size":316,"chunks":["ec22802"]},{"name":"./src/sideMenu/SideMenuButton.tsx","size":787,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenu.tsx","size":314,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuEmptyItem.tsx","size":352,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuItem.tsx","size":1806,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLabel.tsx","size":234,"chunks":["ec22802"]},{"name":"./src/suggestionMenu/SuggestionMenuLoader.tsx","size":290,"chunks":["ec22802"]},{"name":"./src/tableHandle/TableHandle.tsx","size":459,"chunks":["ec22802"]},{"name":"./src/form/TextInput.tsx","size":582,"chunks":["ec22802"]},{"name":"./src/toolbar/Toolbar.tsx","size":569,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarButton.tsx","size":2278,"chunks":["ec22802"]},{"name":"./src/toolbar/ToolbarSelect.tsx","size":1841,"chunks":["ec22802"]},{"name":"./src/style.css","size":0,"chunks":["ec22802"]},{"name":"./src/defaultThemes.ts","size":3405,"chunks":["ec22802"]},{"name":"./src/index.tsx","size":2710,"chunks":["ec22802"]}]}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "*.css"
7
7
  ],
8
8
  "license": "MPL-2.0",
9
- "version": "0.15.0",
9
+ "version": "0.15.2",
10
10
  "files": [
11
11
  "dist",
12
12
  "types",
@@ -51,8 +51,8 @@
51
51
  "clean": "rimraf dist && rimraf types"
52
52
  },
53
53
  "dependencies": {
54
- "@blocknote/core": "^0.15.0",
55
- "@blocknote/react": "^0.15.0",
54
+ "@blocknote/core": "^0.15.2",
55
+ "@blocknote/react": "^0.15.2",
56
56
  "@mantine/core": "^7.10.1",
57
57
  "@mantine/hooks": "^7.10.1",
58
58
  "@mantine/utils": "^6.0.21",
@@ -63,15 +63,15 @@
63
63
  "devDependencies": {
64
64
  "@types/react": "^18.0.25",
65
65
  "@types/react-dom": "^18.0.9",
66
- "@vitejs/plugin-react": "^4.0.4",
66
+ "@vitejs/plugin-react": "^4.3.1",
67
67
  "eslint": "^8.10.0",
68
68
  "prettier": "^2.7.1",
69
69
  "rimraf": "^5.0.5",
70
70
  "rollup-plugin-webpack-stats": "^0.2.2",
71
71
  "typescript": "^5.3.3",
72
- "vite": "^4.4.8",
72
+ "vite": "^5.3.4",
73
73
  "vite-plugin-eslint": "^1.8.1",
74
- "vite-plugin-externalize-deps": "^0.7.0"
74
+ "vite-plugin-externalize-deps": "^0.8.0"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "react": "^18",
@@ -86,5 +86,5 @@
86
86
  "access": "public",
87
87
  "registry": "https://registry.npmjs.org/"
88
88
  },
89
- "gitHead": "acd5683d0b1dca70013e16ce360ebc9fd6f50716"
89
+ "gitHead": "448b99bcdf0ebb032f906da1ba549764d50b7ae2"
90
90
  }
@@ -1,13 +1,12 @@
1
- /// <reference types="react" />
2
1
  export declare const TextInput: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  name: string;
5
- label?: string | undefined;
4
+ label?: string;
6
5
  icon: import("react").ReactNode;
7
- autoFocus?: boolean | undefined;
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?: (() => void) | undefined;
11
+ onSubmit?: () => void;
13
12
  } & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,4 @@
1
- import { InlineContentSchema, StyleSchema } from "@blocknote/core";
1
+ import { BlockSchema, InlineContentSchema, StyleSchema } from "@blocknote/core";
2
2
  import { BlockNoteViewRaw, Components } from "@blocknote/react";
3
3
  import { ComponentProps } from "react";
4
4
  import { Theme } from "./BlockNoteTheme";
@@ -6,7 +6,7 @@ import "./style.css";
6
6
  export * from "./BlockNoteTheme";
7
7
  export * from "./defaultThemes";
8
8
  export declare const components: Components;
9
- export declare const BlockNoteView: <BSchema extends Record<string, import("@blocknote/core").BlockConfig>, ISchema extends InlineContentSchema, SSchema extends StyleSchema>(props: Omit<ComponentProps<typeof BlockNoteViewRaw<BSchema, ISchema, SSchema>>, "theme"> & {
9
+ export declare const BlockNoteView: <BSchema extends BlockSchema, ISchema extends InlineContentSchema, SSchema extends StyleSchema>(props: Omit<ComponentProps<typeof BlockNoteViewRaw<BSchema, ISchema, SSchema>>, "theme"> & {
10
10
  theme?: "light" | "dark" | Theme | {
11
11
  light: Theme;
12
12
  dark: Theme;
@@ -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 | undefined;
4
+ className?: string;
6
5
  children?: import("react").ReactNode;
7
- subTrigger?: boolean | undefined;
6
+ subTrigger?: boolean;
8
7
  icon?: import("react").ReactNode;
9
- checked?: boolean | undefined;
10
- onClick?: (() => void) | undefined;
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 | undefined;
13
+ className?: string;
15
14
  children?: import("react").ReactNode;
16
- sub?: boolean | undefined;
15
+ sub?: boolean;
17
16
  } & import("react").RefAttributes<HTMLDivElement>>;
18
17
  export declare const MenuDivider: import("react").ForwardRefExoticComponent<{
19
- className?: string | undefined;
18
+ className?: string;
20
19
  } & import("react").RefAttributes<HTMLDivElement>>;
21
20
  export declare const MenuLabel: import("react").ForwardRefExoticComponent<{
22
- className?: string | undefined;
21
+ className?: string;
23
22
  children?: import("react").ReactNode;
24
23
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const Panel: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  tabs: {
5
4
  name: string;
6
5
  tabPanel: import("react").ReactNode;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  export declare const PanelButton: import("react").ForwardRefExoticComponent<({
3
- className?: string | undefined;
2
+ className?: string;
4
3
  onClick: () => void;
5
4
  } & ({
6
5
  children: import("react").ReactNode;
7
- label?: string | undefined;
6
+ label?: string;
8
7
  } | {
9
8
  children?: undefined;
10
9
  label: string;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const PanelFileInput: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  accept: string;
5
4
  value: File | null;
6
5
  placeholder: string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const PanelTab: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  children?: import("react").ReactNode;
5
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  export declare const PanelTextInput: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
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<Element>) => void;
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 | undefined;
5
+ className?: string;
7
6
  variant: "form-popover" | "panel-popover";
8
7
  children?: import("react").ReactNode;
9
8
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const SideMenu: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  children?: import("react").ReactNode;
5
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,14 +1,13 @@
1
- /// <reference types="react" />
2
1
  export declare const SideMenuButton: import("react").ForwardRefExoticComponent<({
3
- className?: string | undefined;
4
- onClick?: ((e: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
2
+ className?: string;
3
+ onClick?: (e: import("react").MouseEvent) => void;
5
4
  icon?: import("react").ReactNode;
6
- onDragStart?: ((e: import("react").DragEvent<Element>) => void) | undefined;
7
- onDragEnd?: ((e: import("react").DragEvent<Element>) => void) | undefined;
8
- draggable?: boolean | undefined;
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 | undefined;
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 | undefined;
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 | undefined;
2
+ className?: string;
4
3
  children?: import("react").ReactNode;
5
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const SuggestionMenuItem: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  id: string;
5
4
  isSelected: boolean;
6
5
  onClick: () => void;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const SuggestionMenuLabel: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
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 | undefined;
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 | undefined;
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 | undefined;
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 GridSuggestionMenuItem: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  id: string;
5
4
  isSelected: boolean;
6
5
  onClick: () => void;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  export declare const GridSuggestionMenuLoader: import("react").ForwardRefExoticComponent<{
3
2
  columns: number;
4
- className?: string | undefined;
3
+ className?: string;
5
4
  children?: import("react").ReactNode;
6
5
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,12 @@
1
- /// <reference types="react" />
2
1
  export declare const TableHandle: import("react").ForwardRefExoticComponent<({
3
- className?: string | undefined;
2
+ className?: string;
4
3
  draggable: boolean;
5
- onDragStart: (e: import("react").DragEvent<Element>) => void;
4
+ onDragStart: (e: React.DragEvent) => void;
6
5
  onDragEnd: () => void;
7
- style?: import("react").CSSProperties | undefined;
6
+ style?: import("react").CSSProperties;
8
7
  } & ({
9
8
  children: import("react").ReactNode;
10
- label?: string | undefined;
9
+ label?: string;
11
10
  } | {
12
11
  children?: undefined;
13
12
  label: string;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  export declare const Toolbar: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
2
+ className?: string;
4
3
  children?: import("react").ReactNode;
5
4
  } & {
6
- className?: string | undefined;
5
+ className?: string;
7
6
  children?: import("react").ReactNode;
8
- onMouseEnter?: (() => void) | undefined;
9
- onMouseLeave?: (() => void) | undefined;
7
+ onMouseEnter?: () => void;
8
+ onMouseLeave?: () => void;
10
9
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ComponentProps } from "@blocknote/react";
3
2
  export declare const TooltipContent: (props: {
4
3
  mainTooltip: string;
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
1
  export declare const ToolbarSelect: import("react").ForwardRefExoticComponent<{
3
- className?: string | undefined;
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 | undefined;
8
+ isDisabled?: boolean;
10
9
  }[];
11
- isDisabled?: boolean | undefined;
10
+ isDisabled?: boolean;
12
11
  } & import("react").RefAttributes<HTMLDivElement>>;