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

Multiple Page Builder Improvements (@container, Emotion Context, Theme-aware mq Utility Function) #3141

Merged
merged 38 commits into from
Mar 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4f463a1
feat: upgrade to Emotion 11
adrians5j Mar 25, 2023
d0b25f1
feat: upgrade to Emotion 11
adrians5j Mar 25, 2023
b35112e
fix: remove custom "assign styles" callback
adrians5j Mar 27, 2023
522c94a
fix: use `@container` instead of `@media`
adrians5j Mar 27, 2023
46ab611
fix: wrap Emotion-related code into `EmotionProvider`
adrians5j Mar 27, 2023
353bf97
feat: use containers to enable responsive design in both website and …
adrians5j Mar 27, 2023
31042d0
feat: enumerate default theme breakpoints
adrians5j Mar 27, 2023
00995fd
chore: remove old comment
adrians5j Mar 27, 2023
2c9ca5f
feat: wrap provider with Emotion's theme provider
adrians5j Mar 27, 2023
ded6fc2
feat: upgrade to Emotion 11
adrians5j Mar 27, 2023
87f8ae0
Merge branch '535-emo11' into 535-container
adrians5j Mar 27, 2023
64f7ced
fix: apply container to page preview
adrians5j Mar 27, 2023
7af220a
fix: revert `@container` usage
adrians5j Mar 27, 2023
fdaa7cc
fix: "containerize" breakpoints
adrians5j Mar 27, 2023
d97f380
fix: update comment
adrians5j Mar 27, 2023
b1e9392
fix: update comment
adrians5j Mar 27, 2023
41e7bed
fix: update comment
adrians5j Mar 27, 2023
1d16a45
fix: remove old `ssr-cache` type
adrians5j Mar 28, 2023
2cf0253
feat: add Emotion's `Theme` type
adrians5j Mar 28, 2023
7d22b8c
fix: remove invalid import
adrians5j Mar 28, 2023
4ae348e
feat: add `mq` hook
adrians5j Mar 28, 2023
03bf329
chore: run eslint
adrians5j Mar 28, 2023
5db7da9
chore: run prettier
adrians5j Mar 28, 2023
d5a59ad
chore: update deps
adrians5j Mar 28, 2023
4b339de
feat: create `mediaToContainer` function
adrians5j Mar 28, 2023
7d8bddb
fix: use newly introduced `mediaToContainer` to convert media queries
adrians5j Mar 28, 2023
cb70e94
fix: undo emotion-related changes
adrians5j Mar 28, 2023
c0f0c68
fix: rename container name from `body` to `page-editor-canvas`
adrians5j Mar 28, 2023
be80f82
chore: run prettier
adrians5j Mar 28, 2023
804ca2d
fix: undo line removal
adrians5j Mar 28, 2023
faea828
fix: rename `DefaultThemeBreakpoints` to `DefaultThemeBreakpoint`
adrians5j Mar 30, 2023
9d6c67f
fix: import using relative path
adrians5j Mar 30, 2023
8b7ec23
fix: do not use `css` prop
adrians5j Mar 30, 2023
25f9d9a
fix: undo `compilerOptions` change
adrians5j Mar 30, 2023
462aad7
Merge branch '535-emo11' into 535-container
adrians5j Mar 30, 2023
79bb7b9
fix: instead of importing, c/p types into the file
adrians5j Mar 30, 2023
526dae1
Merge remote-tracking branch 'origin/next' into 535-container
adrians5j Mar 31, 2023
883806f
chore: update deps
adrians5j Mar 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: undo line removal
  • Loading branch information
adrians5j committed Mar 28, 2023
commit 804ca2d6257b67f8d62008d2ab5f9d966f967819
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const PageElementsProvider: React.FC<PageElementsProviderProps> = ({
theme,
renderers,
modifiers,
assignStyles: customAssignStylesCallback,
beforeRenderer,
afterRenderer
});
Expand Down