RFC: Component package consolidation #443
mchadwickweb
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
We currently have two types of component packages.
shared-component--[name]
These were created to serve the One Web Platform and serve a components CSS as well as a Jinja template coupled to a CMS module.
component-[name]
These components were built pre One Web Platform, and were a platform agnostic component to supply CSS and HTML examples.
Problem
In 2022 we will be looking to grow the adoption of our design system components. A big part of that is to adopt React to help serve a number of our product teams using React.
With this we will look to support the following as our chosen component templating frameworks.
We see these three supporting all use cases across the Co-op, including other frameworks as well. As they will still be able to use both the CSS and the HTML examples to build on top of. So you will still receive all the visual consistency, usability and accessibility built in to our examples.
To make supporting these as easy as possible we want to distribute them as a single component package rather than three packages, one per framework.
Proposal
We migrate all
shared-componet--[name]
tocomponent-[name]
We plan to do the following to make these migration as painless as possible for product teams.
Future phases
Beta Was this translation helpful? Give feedback.
All reactions