@blocknote/mantine 0.14.1 → 0.14.3

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 +1 @@
1
- {"builtAt":1718240408085,"assets":[{"name":"blocknote-mantine.umd.cjs","size":30368},{"name":"blocknote-mantine.umd.cjs.map","size":354058}],"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/form/TextInput.tsx","size":582,"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/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":2464,"chunks":["ec22802"]}]}
1
+ {"builtAt":1720006030036,"assets":[{"name":"blocknote-mantine.umd.cjs","size":30426},{"name":"blocknote-mantine.umd.cjs.map","size":354229}],"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/form/TextInput.tsx","size":582,"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/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":2552,"chunks":["ec22802"]}]}
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "*.css"
7
7
  ],
8
8
  "license": "MPL-2.0",
9
- "version": "0.14.1",
9
+ "version": "0.14.3",
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.14.1",
55
- "@blocknote/react": "^0.14.1",
54
+ "@blocknote/core": "^0.14.3",
55
+ "@blocknote/react": "^0.14.3",
56
56
  "@mantine/core": "^7.10.1",
57
57
  "@mantine/hooks": "^7.10.1",
58
58
  "@mantine/utils": "^6.0.21",
@@ -87,5 +87,5 @@
87
87
  "access": "public",
88
88
  "registry": "https://registry.npmjs.org/"
89
89
  },
90
- "gitHead": "de69d1d3902499577ceb870499a03170c66380b1"
90
+ "gitHead": "7e815acca6ced4d59becf0b375cc02e50b5c3ab5"
91
91
  }
package/src/index.tsx CHANGED
@@ -1,4 +1,9 @@
1
- import { BlockSchema, InlineContentSchema, StyleSchema } from "@blocknote/core";
1
+ import {
2
+ BlockSchema,
3
+ InlineContentSchema,
4
+ mergeCSSClasses,
5
+ StyleSchema,
6
+ } from "@blocknote/core";
2
7
  import {
3
8
  BlockNoteViewRaw,
4
9
  Components,
@@ -7,7 +12,7 @@ import {
7
12
  } from "@blocknote/react";
8
13
  import { MantineProvider } from "@mantine/core";
9
14
  import { ComponentProps, useCallback } from "react";
10
- import usePrefersColorScheme from "use-prefers-color-scheme";
15
+ import { usePrefersColorScheme } from "use-prefers-color-scheme";
11
16
 
12
17
  import {
13
18
  Theme,
@@ -122,7 +127,7 @@ export const BlockNoteView = <
122
127
  };
123
128
  }
124
129
  ) => {
125
- const { theme, ...rest } = props;
130
+ const { className, theme, ...rest } = props;
126
131
 
127
132
  const existingContext = useBlockNoteContext();
128
133
  const systemColorScheme = usePrefersColorScheme();
@@ -160,12 +165,13 @@ export const BlockNoteView = <
160
165
  {/* as proposed here: https://github.com/orgs/mantinedev/discussions/5685 */}
161
166
  <MantineProvider
162
167
  theme={mantineTheme}
163
- cssVariablesSelector=".bn-container"
168
+ cssVariablesSelector=".bn-mantine"
164
169
  // This gets the element to set `data-mantine-color-scheme` on. Since we
165
170
  // don't need this attribute (we use our own theming API), we return
166
171
  // undefined here.
167
172
  getRootElement={() => undefined}>
168
173
  <BlockNoteViewRaw
174
+ className={mergeCSSClasses("bn-mantine", className || "")}
169
175
  theme={typeof theme === "object" ? undefined : theme}
170
176
  {...rest}
171
177
  ref={ref}
@@ -89,50 +89,50 @@
89
89
  (src: https://github.com/mantinedev/mantine/blob/master/packages/%40mantine/core/src/core/MantineProvider/global.css)
90
90
  but with styles set on `body` and `html` instead set on `bn-container`, as
91
91
  well as other minor changes. */
92
- .bn-container *, .bn-container :after, .bn-container :before {
92
+ .bn-mantine *, .bn-mantine :after, .bn-mantine :before {
93
93
  box-sizing: border-box
94
94
  }
95
95
 
96
- .bn-container button,
97
- .bn-container select {
96
+ .bn-mantine button,
97
+ .bn-mantine select {
98
98
  text-transform: none
99
99
  }
100
100
 
101
101
  @media screen and (max-device-width: 500px) {
102
- .bn-container {
102
+ .bn-mantine {
103
103
  -webkit-text-size-adjust: 100%
104
104
  }
105
105
  }
106
106
 
107
107
  @media (prefers-reduced-motion: reduce) {
108
- .bn-container [data-respect-reduced-motion] [data-reduce-motion] {
108
+ .bn-mantine [data-respect-reduced-motion] [data-reduce-motion] {
109
109
  animation: none;
110
110
  transition: none
111
111
  }
112
112
  }
113
113
 
114
- .bn-container [data-mantine-color-scheme=dark] .mantine-dark-hidden, .bn-container [data-mantine-color-scheme=light] .mantine-light-hidden {
114
+ .bn-mantine [data-mantine-color-scheme=dark] .mantine-dark-hidden, .bn-mantine [data-mantine-color-scheme=light] .mantine-light-hidden {
115
115
  display: none
116
116
  }
117
117
 
118
- .bn-container .mantine-focus-auto:focus-visible {
118
+ .bn-mantine .mantine-focus-auto:focus-visible {
119
119
  outline: calc(.125rem * var(--mantine-scale)) solid var(--mantine-primary-color-filled);
120
120
  outline-offset: calc(.125rem * var(--mantine-scale))
121
121
  }
122
122
 
123
- .bn-container .mantine-focus-always:focus {
123
+ .bn-mantine .mantine-focus-always:focus {
124
124
  outline: calc(.125rem * var(--mantine-scale)) solid var(--mantine-primary-color-filled);
125
125
  outline-offset: calc(.125rem * var(--mantine-scale))
126
126
  }
127
127
 
128
- .bn-container .mantine-focus-never:focus {
128
+ .bn-mantine .mantine-focus-never:focus {
129
129
  outline: none
130
130
  }
131
131
 
132
- .bn-container .mantine-active:active {
132
+ .bn-mantine .mantine-active:active {
133
133
  transform: translateY(calc(.0625rem * var(--mantine-scale)))
134
134
  }
135
135
 
136
- .bn-container[dir=rtl] .mantine-rotate-rtl {
136
+ .bn-mantine[dir=rtl] .mantine-rotate-rtl {
137
137
  transform: rotate(180deg)
138
138
  }
package/src/style.css CHANGED
@@ -4,13 +4,13 @@
4
4
  /* Mantine base styles*/
5
5
 
6
6
  /* Mantine Badge component base styles */
7
- .bn-container .mantine-Badge-root {
7
+ .bn-mantine .mantine-Badge-root {
8
8
  background-color: var(--bn-colors-tooltip-background);
9
9
  color: var(--bn-colors-tooltip-text);
10
10
  }
11
11
 
12
12
  /* Mantine FileInput component base styles */
13
- .bn-container .mantine-FileInput-input {
13
+ .bn-mantine .mantine-FileInput-input {
14
14
  align-items: center;
15
15
  background-color: var(--bn-colors-menu-background);
16
16
  border: none;
@@ -18,25 +18,27 @@
18
18
  color: var(--bn-colors-menu-text);
19
19
  display: flex;
20
20
  flex-direction: row;
21
+ font-family: var(--bn-font-family);
21
22
  justify-content: center;
22
23
  }
23
24
 
24
- .bn-container .mantine-FileInput-input:hover {
25
+ .bn-mantine .mantine-FileInput-input:hover {
25
26
  background-color: var(--bn-colors-hovered-background);
26
27
  }
27
28
 
28
- .bn-container .mantine-FileInput-wrapper {
29
+ .bn-mantine .mantine-FileInput-wrapper {
29
30
  border: solid var(--bn-colors-border) 1px;
30
31
  border-radius: 4px;
31
32
  }
32
33
 
33
- .bn-container .mantine-InputPlaceholder-placeholder {
34
+ .bn-mantine .mantine-InputPlaceholder-placeholder {
34
35
  color: var(--bn-colors-menu-text);
36
+ font-family: var(--bn-font-family);
35
37
  font-weight: 600;
36
38
  }
37
39
 
38
40
  /* Mantine Menu component base styles */
39
- .bn-container .mantine-Menu-dropdown {
41
+ .bn-mantine .mantine-Menu-dropdown {
40
42
  background-color: var(--bn-colors-menu-background);
41
43
  border: var(--bn-border);
42
44
  border-radius: var(--bn-border-radius-medium);
@@ -47,27 +49,27 @@
47
49
  overflow: auto;
48
50
  }
49
51
 
50
- .bn-container .mantine-Menu-label {
52
+ .bn-mantine .mantine-Menu-label {
51
53
  background-color: var(--bn-colors-menu-background);
52
54
  color: var(--bn-colors-menu-text);
53
55
  }
54
56
 
55
- .bn-container .mantine-Menu-item {
57
+ .bn-mantine .mantine-Menu-item {
56
58
  background-color: var(--bn-colors-menu-background);
57
59
  border: none;
58
60
  border-radius: var(--bn-border-radius-small);
59
61
  color: var(--bn-colors-menu-text);
60
62
  }
61
63
 
62
- .bn-container .mantine-Menu-item[aria-selected="true"],
63
- .bn-container .mantine-Menu-item:hover {
64
+ .bn-mantine .mantine-Menu-item[aria-selected="true"],
65
+ .bn-mantine .mantine-Menu-item:hover {
64
66
  background-color: var(--bn-colors-hovered-background);
65
67
  border: none;
66
68
  color: var(--bn-colors-hovered-text);
67
69
  }
68
70
 
69
71
  /* Mantine Popover component base styles */
70
- .bn-container .mantine-Popover-dropdown {
72
+ .bn-mantine .mantine-Popover-dropdown {
71
73
  background-color: transparent;
72
74
  border: none;
73
75
  border-radius: 0;
@@ -76,47 +78,48 @@
76
78
  }
77
79
 
78
80
  /* Mantine Tabs component base styles */
79
- .bn-container .mantine-Tabs-root {
81
+ .bn-mantine .mantine-Tabs-root {
80
82
  width: 100%;
81
83
  background-color: var(--bn-colors-menu-background);
82
84
  }
83
85
 
84
- .bn-container .mantine-Tabs-list:before {
86
+ .bn-mantine .mantine-Tabs-list:before {
85
87
  border-color: var(--bn-colors-hovered-background);
86
88
  }
87
89
 
88
- .bn-container .mantine-Tabs-tab {
90
+ .bn-mantine .mantine-Tabs-tab {
89
91
  color: var(--bn-colors-menu-text);
90
92
  border-color: var(--bn-colors-hovered-background);
91
93
  }
92
94
 
93
- .bn-container .mantine-Tabs-tab:hover {
95
+ .bn-mantine .mantine-Tabs-tab:hover {
94
96
  background-color: var(--bn-colors-hovered-background);
95
97
  border-color: var(--bn-colors-hovered-background);
96
98
  color: var(--bn-colors-hovered-text);
97
99
  }
98
100
 
99
- .bn-container .mantine-Tabs-tab[data-active],
100
- .bn-container .mantine-Tabs-tab[data-active]:hover {
101
+ .bn-mantine .mantine-Tabs-tab[data-active],
102
+ .bn-mantine .mantine-Tabs-tab[data-active]:hover {
101
103
  border-color: var(--bn-colors-menu-text);
102
104
  color: var(--bn-colors-menu-text);
103
105
  }
104
106
 
105
- .bn-container .mantine-Tabs-panel {
107
+ .bn-mantine .mantine-Tabs-panel {
106
108
  padding: 8px;
107
109
  }
108
110
 
109
111
  /* Mantine TextInput component base styles */
110
- .bn-container .mantine-TextInput-input {
112
+ .bn-mantine .mantine-TextInput-input {
111
113
  background-color: var(--bn-colors-menu-background);
112
114
  border: solid var(--bn-colors-border) 1px;
113
115
  border-radius: 4px;
114
116
  color: var(--bn-colors-menu-text);
117
+ font-family: var(--bn-font-family);
115
118
  height: 32px;
116
119
  }
117
120
 
118
121
  /* Mantine Tooltip component base styles */
119
- .bn-container .mantine-Tooltip-tooltip {
122
+ .bn-mantine .mantine-Tooltip-tooltip {
120
123
  background-color: transparent;
121
124
  border: none;
122
125
  border-radius: 0;
@@ -127,12 +130,12 @@
127
130
  /* UI element styling */
128
131
 
129
132
  /* Select styling */
130
- .bn-select {
133
+ .bn-mantine .bn-select {
131
134
  overflow: auto;
132
135
  }
133
136
 
134
137
  /* Toolbar styling */
135
- .bn-toolbar {
138
+ .bn-mantine .bn-toolbar {
136
139
  background-color: var(--bn-colors-menu-background);
137
140
  border: var(--bn-border);
138
141
  border-radius: var(--bn-border-radius-medium);
@@ -143,7 +146,7 @@
143
146
  width: fit-content;
144
147
  }
145
148
 
146
- .bn-toolbar:empty {
149
+ .bn-mantine .bn-toolbar:empty {
147
150
  display: none;
148
151
  }
149
152
 
@@ -185,7 +188,7 @@
185
188
  background-color: var(--bn-colors-hovered-background);
186
189
  }
187
190
 
188
- .bn-container .bn-form-popover {
191
+ .bn-mantine .bn-form-popover {
189
192
  background-color: var(--bn-colors-menu-background);
190
193
  border: var(--bn-border);
191
194
  border-radius: var(--bn-border-radius-medium);
@@ -235,7 +238,7 @@
235
238
  /* Unfortunately necessary, as we can't use a Menu.Dropdown component on its
236
239
  own. */
237
240
  /* https://github.com/mantinedev/mantine/blob/e3e3bb834de1f2f75a27dbc757dc0a2fc6a6cba8/packages/%40mantine/core/src/components/Menu/Menu.module.css */
238
- .bn-suggestion-menu {
241
+ .bn-mantine .bn-suggestion-menu {
239
242
  max-height: 100%;
240
243
  position: relative;
241
244
  box-shadow: var(--mantine-shadow-md);
@@ -245,7 +248,7 @@
245
248
  padding: 4px;
246
249
  }
247
250
 
248
- .bn-suggestion-menu-label {
251
+ .bn-mantine .bn-suggestion-menu-label {
249
252
  color: var(--mantine-color-dimmed);
250
253
  font-weight: 500;
251
254
  font-size: var(--mantine-font-size-xs);
@@ -253,7 +256,7 @@
253
256
  cursor: default;
254
257
  }
255
258
 
256
- .bn-suggestion-menu-item {
259
+ .bn-mantine .bn-suggestion-menu-item {
257
260
  font-size: var(--mantine-font-size-sm);
258
261
  width: 100%;
259
262
  padding: calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-sm);
@@ -289,7 +292,7 @@
289
292
  }
290
293
  }
291
294
 
292
- .bn-suggestion-menu {
295
+ .bn-mantine .bn-suggestion-menu {
293
296
  background-color: var(--bn-colors-menu-background);
294
297
  border: var(--bn-border);
295
298
  border-radius: var(--bn-border-radius-medium);
@@ -300,13 +303,13 @@
300
303
  padding: 2px;
301
304
  }
302
305
 
303
- .bn-suggestion-menu-item {
306
+ .bn-mantine .bn-suggestion-menu-item {
304
307
  cursor: pointer;
305
308
  height: 52px;
306
309
  }
307
310
 
308
- .bn-suggestion-menu-item[aria-selected="true"],
309
- .bn-suggestion-menu-item:hover {
311
+ .bn-mantine .bn-suggestion-menu-item[aria-selected="true"],
312
+ .bn-mantine .bn-suggestion-menu-item:hover {
310
313
  background-color: var(--bn-colors-hovered-background);
311
314
  }
312
315
 
@@ -346,21 +349,21 @@
346
349
  padding: 0;
347
350
  }
348
351
 
349
- .bn-suggestion-menu-label {
352
+ .bn-mantine .bn-suggestion-menu-label {
350
353
  color: var(--bn-colors-hovered-text);
351
354
  }
352
355
 
353
- .bn-suggestion-menu-loader {
356
+ .bn-mantine .bn-suggestion-menu-loader {
354
357
  height: 20px;
355
358
  width: 100%;
356
359
  }
357
360
 
358
- .bn-suggestion-menu-loader span {
361
+ .bn-mantine .bn-suggestion-menu-loader span {
359
362
  background-color: var(--bn-colors-side-menu);
360
363
  }
361
364
 
362
365
  /* Side Menu styling */
363
- .bn-side-menu {
366
+ .bn-mantine .bn-side-menu {
364
367
  background-color: transparent;
365
368
  overflow: visible;
366
369
  }
@@ -386,7 +389,7 @@
386
389
  width: 22px;
387
390
  }
388
391
 
389
- .bn-side-menu > [draggable="true"] {
392
+ .bn-mantine .bn-side-menu > [draggable="true"] {
390
393
  display: flex;
391
394
  }
392
395
 
@@ -397,7 +400,7 @@
397
400
  }
398
401
 
399
402
  /* Image Panel styling*/
400
- .bn-panel {
403
+ .bn-mantine .bn-panel {
401
404
  background-color: var(--bn-colors-menu-background);
402
405
  border: var(--bn-border);
403
406
  border-radius: var(--bn-border-radius-medium);
@@ -406,7 +409,7 @@
406
409
  width: 500px;
407
410
  }
408
411
 
409
- .bn-panel .bn-tab-panel {
412
+ .bn-mantine .bn-panel .bn-tab-panel {
410
413
  align-items: center;
411
414
  display: flex;
412
415
  flex-direction: column;
@@ -432,12 +435,12 @@
432
435
  background-color: var(--bn-colors-hovered-background);
433
436
  }
434
437
 
435
- .bn-panel.mantine-Text-root {
438
+ .bn-panel .mantine-Text-root {
436
439
  text-align: center;
437
440
  }
438
441
 
439
442
  /* Table Handle styling */
440
- .bn-table-handle {
443
+ .bn-mantine .bn-table-handle {
441
444
  align-items: center;
442
445
  background-color: var(--bn-colors-menu-background);
443
446
  border: var(--bn-border);
@@ -452,22 +455,22 @@
452
455
  padding: 0;
453
456
  }
454
457
 
455
- .bn-table-handle svg {
458
+ .bn-mantine .bn-table-handle svg {
456
459
  margin-inline: -4px;
457
460
  }
458
461
 
459
- .bn-table-handle:hover,
460
- .bn-table-handle-dragging {
462
+ .bn-mantine .bn-table-handle:hover,
463
+ .bn-mantine .bn-table-handle-dragging {
461
464
  background-color: var(--bn-colors-hovered-background);
462
465
  }
463
466
 
464
467
  /* Drag Handle & Table Handle Menu styling */
465
- .bn-container .bn-drag-handle-menu {
468
+ .bn-mantine .bn-drag-handle-menu {
466
469
  overflow: visible;
467
470
  }
468
471
 
469
472
  /* Tooltip styling */
470
- .bn-tooltip {
473
+ .bn-mantine .bn-tooltip {
471
474
  background-color: var(--bn-colors-tooltip-background);
472
475
  border: var(--bn-border);
473
476
  border-radius: var(--bn-border-radius-medium);
@@ -478,7 +481,7 @@
478
481
  }
479
482
 
480
483
  /* Additional menu styles */
481
- .bn-tick-space {
484
+ .bn-mantine .bn-tick-space {
482
485
  padding: 0;
483
486
  width: 20px;
484
487
  }