Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "refactor: Extract image panel components" #716

Merged

Conversation

matthewlipski
Copy link
Collaborator

Reverts #684

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote 🔄 Building (Inspect) Visit Preview Apr 30, 2024 9:28am
blocknote-website 🔄 Building (Inspect) Visit Preview Apr 30, 2024 9:28am

@matthewlipski matthewlipski merged commit 8284895 into refactor/multi-ui-libs Apr 30, 2024
0 of 3 checks passed
YousefED added a commit that referenced this pull request May 5, 2024
* 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]>
YousefED added a commit that referenced this pull request May 5, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant