Skip to content

feat(@dpc-sdp/ripple-ui-shared): adds styles and contracts packages for multi framework support - #1424

Draft
dylankelly wants to merge 1 commit into
mainfrom
feature/shared-styles
Draft

feat(@dpc-sdp/ripple-ui-shared): adds styles and contracts packages for multi framework support#1424
dylankelly wants to merge 1 commit into
mainfrom
feature/shared-styles

Conversation

@dylankelly

Copy link
Copy Markdown
Contributor

Issue:

What I did

  • Introduced a new shared styles package and shared contracts package to support multi-framework UI delivery.
  • Refactored style token generation to use W3C Design token standard using Cobalt UI
  • Moved component prop types to ripple-ui-shared package so they can be used in different frameworks eg: React, Vue, Webcomponents can all share the same props definitions.

How to test

  • See follow up PRs for React and vue library usage

Checklist

For all PR's

  • I've added relevant changes to the project Readme if needed
  • I've updated the documentation site as needed
  • I have added tests to cover my changes (if not applicable, please state why in a comment)

For new UI components only

  • I have added a storybook story covering all variants
  • I have checked a11y tab in storybook passes
  • I have added cypress component tests (if the component is interactive)
  • Any events are emitted on the event bus using emitRplEvent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants