-
Notifications
You must be signed in to change notification settings - Fork 6
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
Remove own CSS that conflicts with NL Design System #454
Closed
5 tasks done
sergei-maertens opened this issue
Jun 13, 2023
· 2 comments
· Fixed by #451, #570 or open-formulieren/design-tokens#36
Closed
5 tasks done
Remove own CSS that conflicts with NL Design System #454
sergei-maertens opened this issue
Jun 13, 2023
· 2 comments
· Fixed by #451, #570 or open-formulieren/design-tokens#36
Comments
5 tasks
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
NL DS recommends applying media queries to apply the vertical behaviour - they are not set yet on the responsive strategy to use (container queries are also an option but these are not widely supported enough). So, this requires us to use their sass mixins and write some supporting CSS ourselves, which means we unfortunately cannot yet go without any custom CSS for edit grid yet. Additionally, our edit grid items align the buttons to the right (for ltr documents), and there is no design token yet to control the justify-content CSS property - this may get contributed to upstream.
3 tasks
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
* Updated the ChooseProductStep from appointments to use the component * Add stories for with/without add button * Centralized the markup/class names for edit grid so we can refactor more to NL DS components
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
* use fieldset and legend for proper document outline/structure, improving the accessibility * we still need custom CSS/component for the edit grid/edit grid item, but now the styles are properly parametrized with design tokens and different themes can adapt
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
Instead, style the edit grid to be display flex (column) and make gap customizable.
sergei-maertens
added a commit
to open-formulieren/design-tokens
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
to open-formulieren/design-tokens
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
TODO: update package.json when other PR is merged and published
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 19, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
Instead, style the edit grid to be display flex (column) and make gap customizable.
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
TODO: update package.json when other PR is merged and published
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 26, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
NL DS recommends applying media queries to apply the vertical behaviour - they are not set yet on the responsive strategy to use (container queries are also an option but these are not widely supported enough). So, this requires us to use their sass mixins and write some supporting CSS ourselves, which means we unfortunately cannot yet go without any custom CSS for edit grid yet. Additionally, our edit grid items align the buttons to the right (for ltr documents), and there is no design token yet to control the justify-content CSS property - this may get contributed to upstream.
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
* Updated the ChooseProductStep from appointments to use the component * Add stories for with/without add button * Centralized the markup/class names for edit grid so we can refactor more to NL DS components
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
* use fieldset and legend for proper document outline/structure, improving the accessibility * we still need custom CSS/component for the edit grid/edit grid item, but now the styles are properly parametrized with design tokens and different themes can adapt
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
Instead, style the edit grid to be display flex (column) and make gap customizable.
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
TODO: update package.json when other PR is merged and published
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
This release contains the (correct) design token values for the edit grid
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
This sets up the edit grid as a proper themable component using design tokens.
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
* Replaced the ChooseProductStep React component to use the new EditGrid component * Updated the templates for formio edit grid to emit valid markup and make use of our edit grid component classes
sergei-maertens
added a commit
that referenced
this issue
Oct 31, 2023
Need to check backend still, am now working on the migration |
PR created to update the backend since the buttons were indeed broken again :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.openforms-editgrid
The text was updated successfully, but these errors were encountered: