Skip to content

Commit 2f0bada

Browse files
chore: Mantine update (#479)
* Updated Mantine & moved theming to CSS * Added `package-lock.json` * Fixed test selectors * Changed styles to not use nesting * add react/style.css * Styling fixes and updated test screenshots * Removed redundant stylesheet * Implemented PR feedback * Small color fix * Implemented PR feedback * Implemented PR feedback * Implemented PR feedback * Implemented PR feedback * Implemented PR feedback * Added `.bn-container` prefix to all BlockNote styles (fixes CSS rule specificity issues caused by prev commit) * feat: Replace Tippy with Floating UI (#501) * Replaced Tippy with Floating UI * Fixed minor bugs and styling inconsistencies * try fix lock * Implemented PR feedback * update package lock * fix package lock * fix tests --------- Co-authored-by: yousefed <[email protected]> --------- Co-authored-by: yousefed <[email protected]>
1 parent ff3051f commit 2f0bada

File tree

73 files changed

+11414
-12755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+11414
-12755
lines changed

examples/editor/examples/basic/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { uploadToTmpFilesDotOrg_DEV_ONLY } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import { BlockNoteView, useBlockNote } from "@blocknote/react";
3+
import "@blocknote/react/style.css";
44

55
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
66

examples/editor/examples/collaboration/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { uploadToTmpFilesDotOrg_DEV_ONLY } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import { BlockNoteView, useBlockNote } from "@blocknote/react";
3+
import "@blocknote/react/style.css";
44

55
import YPartyKitProvider from "y-partykit/provider";
66
import * as Y from "yjs";

examples/editor/examples/react-custom-blocks/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defaultBlockSpecs, defaultProps } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import {
43
BlockNoteView,
54
createReactBlockSpec,
65
useBlockNote,
76
} from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88
import "../vanilla-custom-blocks/style.css";
99

1010
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };

examples/editor/examples/react-custom-inline-content/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defaultInlineContentSpecs } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import {
43
BlockNoteView,
54
createReactInlineContentSpec,
65
useBlockNote,
76
} from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88

99
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1010

examples/editor/examples/react-custom-styles/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
DefaultInlineContentSchema,
55
defaultStyleSpecs,
66
} from "@blocknote/core";
7-
import "@blocknote/core/style.css";
87
import {
98
BlockNoteView,
109
createReactStyleSpec,
@@ -14,6 +13,7 @@ import {
1413
useActiveStyles,
1514
useBlockNote,
1615
} from "@blocknote/react";
16+
import "@blocknote/react/style.css";
1717

1818
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1919

examples/editor/examples/vanilla-custom-blocks/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
defaultBlockSpecs,
44
defaultProps,
55
} from "@blocknote/core";
6-
import "@blocknote/core/style.css";
76
import { BlockNoteView, useBlockNote } from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88
import "./style.css";
99

1010
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };

examples/editor/examples/vanilla-custom-inline-content/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import {
22
createInlineContentSpec,
33
defaultInlineContentSpecs,
44
} from "@blocknote/core";
5-
import "@blocknote/core/style.css";
65
import { BlockNoteView, useBlockNote } from "@blocknote/react";
6+
import "@blocknote/react/style.css";
77

88
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
99

examples/editor/examples/vanilla-custom-styles/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
DefaultInlineContentSchema,
66
defaultStyleSpecs,
77
} from "@blocknote/core";
8-
import "@blocknote/core/style.css";
98
import {
109
BlockNoteView,
1110
FormattingToolbarPositioner,
@@ -14,6 +13,7 @@ import {
1413
useActiveStyles,
1514
useBlockNote,
1615
} from "@blocknote/react";
16+
import "@blocknote/react/style.css";
1717

1818
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1919

examples/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@blocknote/core": "^0.10.1",
1414
"@blocknote/react": "^0.10.1",
15-
"@mantine/core": "^5.6.1",
15+
"@mantine/core": "^7.3.1",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
1818
"react-router-dom": "^6.20.0",

examples/editor/src/App.css

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)