Commit 8a95f55
feat: accessibility improvements (#718)
* wip
* Refactored image toolbar
* Refactored image toolbar, hyperlink toolbar, and table handles
* Implemented PR feedback
* Implemented PR feedback
* Cleaned up component code
* wip: ariakit
* wip
* fix
* fix merge
* wip
* wip
* fix
* wip
* wip
* wip: suggestionmenu
* extract suggestion menu
* wip
* side menu button
* move mantine elements to mantine dir
* shadcn wip
* wip
* fix
* shadcn fixes
* refactor: Extract image panel components (#684)
* Extracted Mantine panel components
* Added ShadCN panel implementation
* Added Ariakit image panel components
* Revert "refactor: Extract image panel components (#684)" (#716)
This reverts commit 600f0c5.
* refactor: Extract image panel components (#717)
* Extracted Mantine panel components
* Added ShadCN panel implementation
* Added Ariakit image panel components
* refactor: Extract Mantine & Ariakit packages (#689)
* Extracted mantine & ariakit packages
* fix: ShadCN color styles button & form components (#696)
* Added ShadCN color styles button & form components
* refactor: UI libs CSS+API refactor (#698)
* Cleaned up component context API
* WIP
* Refactored CSS & ShadCN API
* Fixed Ariakit component props
* Fixed Mantine component props
* Fixed ShadCN component props
* Cleanup
* Misc fixes
* - Added remaining components to context
- Re-added refs to all relevant components
- Refactored ShadCN context
- Simplified how class names are set in `react` package
- Added prefixes to all UI specific class names
- Fixed remaining select/menu/popover overflow issues
- Fixed examples
- Fixed build
* Changed ShadCN suggestion menu to use Card
* Small fix
* Fixed linting
* Fixed `BlockNoteViewRaw` typing
* Misc fixes
* Misc fixes
* Fixed unit tests
* Fixed Mantine sub menus
* Misc UI fixes
* Misc changes
* fix import
* fix tablehandles performance issue / max call stack
* Fixed PW tests
* Small fix
* Added ShadCN/Ariakit tests
* fix draghandles
* add vercel rewrites
* improve shadcn setup
* Fixed remaining Ariakit/ShadCN/Mantine styles
* extract strings from react package
* extract all strings
* clean i18n setup
* fix build
* Fixed dark mode for Ariakit/ShadCN
* Misc fixes
---------
Co-authored-by: yousefed <[email protected]>
---------
Co-authored-by: yousefed <[email protected]>
---------
Co-authored-by: yousefed <[email protected]>
---------
Co-authored-by: yousefed <[email protected]>
* Updated package versions
* Updated screenshots
* Updated screenshots
* Updated screenshots
* Updated screenshots
* Updated docs
* Addressed most TODOs and small fixes
* Added ShadCN form
* update docs
* i18n + docs
* fix keyboard handling of menus (tab, escape, etc.)
* remove unnecessary default props on BlockNoteDefaultUI
* fix mantine menu items with keyboard + small cleanup
* add button labels and type checks
* Updated theming code
* suggestion menu aria improvements
* small toolbarButton fix
* playwright fixes
* fix lint
* fix build and lint
* fix pw tests
* address PR feedback
* Merge remote-tracking branch 'origin/refactor/multi-ui-libs' into feature/accessibility-improvements
---------
Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>1 parent 218758d commit 8a95f55
File tree
123 files changed
+1135
-863
lines changed- docs/pages/docs
- advanced
- styling-theming
- examples
- 03-theming/03-theming-css
- 05-custom-schema/03-font-style
- packages
- ariakit/src
- input
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- core/src
- editor
- extensions
- FormattingToolbar
- ImagePanel
- LinkToolbar
- SideMenu
- SuggestionMenu
- i18n/locales
- pm-nodes
- util
- mantine/src
- form
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- react/src
- components
- FormattingToolbar
- DefaultButtons
- ImagePanel
- LinkToolbar
- DefaultButtons
- SideMenu
- DefaultButtons
- SuggestionMenu
- hooks
- TableHandles
- hooks
- editor
- hooks
- shadcn/src
- form
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- tests
- src/end-to-end
- ariakit/ariakit.test.ts-snapshots
- keyboardhandlers
- shadcn/shadcn.test.ts-snapshots
- theming/theming.test.ts-snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
123 files changed
+1135
-863
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
44 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| |||
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
76 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
77 | 92 | | |
78 | 93 | | |
79 | 94 | | |
| |||
87 | 102 | | |
88 | 103 | | |
89 | 104 | | |
90 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
| |||
100 | 117 | | |
101 | 118 | | |
102 | 119 | | |
103 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
104 | 123 | | |
105 | 124 | | |
106 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments