Commit 5b559b1
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]>1 parent 4b2f0d0 commit 5b559b1
File tree
293 files changed
+6660
-2791
lines changed- docs
- components/pages/landing/hero
- pages/docs
- 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
- 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
- Placeholder
- SuggestionMenu
- TableHandles
- i18n
- locales
- util
- dev-scripts/examples/template-react
- mantine
- src
- form
- input
- panel
- popover
- sideMenu
- suggestionMenu
- tableHandle
- toolbar
- react/src
- components
- ColorPicker
- FormattingToolbar
- DefaultButtons
- DefaultSelects
- ImagePanel
- DefaultTabs
- LinkToolbar
- DefaultButtons
- SideMenu
- DefaultButtons
- DragHandleMenu
- DefaultItems
- SuggestionMenu
- implementation
- TableHandles
- TableHandleMenu
- DefaultButtons
- editor
- i18n
- test
- shadcn
- src
- TableHandle
- components/ui
- form
- panel
- popover
- sideMenu
- suggestionMenu
- toolbar
- playground
- src
- tests
- src
- end-to-end
- ariakit
- ariakit.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.
293 files changed
+6660
-2791
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 | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | | - | |
8 | | - | |
| 4 | + | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| 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 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments