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

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

Comments

@sergei-maertens
Copy link
Member

sergei-maertens commented Jun 13, 2023

@sergei-maertens sergei-maertens added this to the SDK 1.4.0 milestone Jun 13, 2023
@sergei-maertens sergei-maertens self-assigned this Jun 13, 2023
@sergei-maertens sergei-maertens modified the milestones: SDK 1.4.0, SDK 1.5.0 Jun 20, 2023
@sergei-maertens sergei-maertens modified the milestones: SDK 1.5.0, SDK 1.6.0 Aug 22, 2023
@sergei-maertens sergei-maertens moved this from Todo to In Progress in Development Oct 19, 2023
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.
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
@github-project-automation github-project-automation bot moved this from In Progress to Done in Development Oct 23, 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 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
* 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
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
* 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
@github-project-automation github-project-automation bot moved this from Implemented to Done in Development Oct 31, 2023
@sergei-maertens
Copy link
Member Author

Need to check backend still, am now working on the migration

@github-project-automation github-project-automation bot moved this from Done to In Progress in Development Oct 31, 2023
@sergei-maertens
Copy link
Member Author

PR created to update the backend since the buttons were indeed broken again :)

@github-project-automation github-project-automation bot moved this from In Progress to Done in Development Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment