Commit 218758d
feat: multi UI libs (shadcn + ariakit) + i18n (#652)
* 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
* Updated theming code
* fix build and lint
---------
Co-authored-by: Matthew Lipski <[email protected]>
Co-authored-by: Matthew Lipski <[email protected]>1 parent f97a241 commit 218758d
File tree
369 files changed
+11182
-3020
lines changed- docs
- components/pages/landing/hero
- pages/docs
- advanced
- editor-basics
- styling-theming
- ui-components
- examples
- 01-basic
- 01-minimal
- 02-block-objects
- 03-all-blocks
- 04-selection-blocks
- 05-block-manipulation
- 06-file-uploading
- 07-saving-loading
- 08-shadcn
- 09-ariakit
- 10-localization
- testing
- 02-ui-components
- 01-ui-elements-remove
- 02-formatting-toolbar-buttons
- 03-formatting-toolbar-block-type-items
- 08-custom-ui
- link-toolbar-buttons
- 03-theming
- 01-theming-dom-attributes
- 02-changing-font
- 03-theming-css
- 04-theming-css-variables
- 05-theming-css-variables-code
- 04-interoperability
- 01-converting-blocks-to-html
- 02-converting-blocks-from-html
- 03-converting-blocks-to-md
- 04-converting-blocks-from-md
- 05-custom-schema
- 01-alert-block
- 03-font-style
- react-custom-blocks
- react-custom-inline-content
- react-custom-styles
- 06-collaboration
- 01-partykit
- 02-liveblocks
- vanilla-js
- react-vanilla-custom-blocks
- react-vanilla-custom-inline-content
- react-vanilla-custom-styles
- packages
- ariakit
- src
- input
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- core/src
- blocks/ImageBlockContent
- editor
- extensions
- FormattingToolbar
- Placeholder
- SuggestionMenu
- TableHandles
- i18n
- locales
- util
- dev-scripts
- examples/template-react
- mantine
- src
- form
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- react
- src
- components
- ColorPicker
- FormattingToolbar
- DefaultButtons
- DefaultSelects
- mantine/DefaultButtons
- ImagePanel
- DefaultTabs
- mantine
- LinkToolbar
- DefaultButtons
- mantine/DefaultButtons
- SideMenu
- DefaultButtons
- DragHandleMenu
- DefaultItems
- mantine
- DefaultItems
- mantine
- DefaultButtons
- SuggestionMenu
- hooks
- mantine
- TableHandles
- TableHandleMenu
- DefaultButtons
- mantine
- editor
- i18n
- test
- shadcn
- src
- components/ui
- form
- lib
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- playground
- src
- tests
- src
- end-to-end
- ariakit
- ariakit.test.ts-snapshots
- images/images.test.ts-snapshots
- shadcn
- shadcn.test.ts-snapshots
- theming/theming.test.ts-snapshots
- utils
- components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
369 files changed
+11182
-3020
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
0 commit comments