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

[WNMGDS-2729] Add ds-inline-error web component #3024

Merged
merged 5 commits into from
Apr 8, 2024

Conversation

pwolfert
Copy link
Contributor

@pwolfert pwolfert commented Apr 5, 2024

Summary

WNMGDS-2729

  • Added a ds-inline-error web component
  • Added stories and tests
  • Added a new controlsOnly arg-type prop to the WebComponentArgsTable for things we want to have controls for in the stories but not document as acceptable attributes of the web component itself on the doc page.

How to test

Check out the new story

Checklist

  • Prefixed the PR title with the Jira ticket number as [WNMGDS-####] Title or [NO-TICKET] if this is unticketed work.
  • Selected appropriate Type (only one) label for this PR, if it is a breaking change, label should only be Type: Breaking
  • Selected appropriate Impacts, multiple can be selected.
  • Selected appropriate release milestone

@pwolfert pwolfert added Impacts: Core Impacts the core DS primarily, changes may occur in other themes as well. Type: Added Indicates a new feature. labels Apr 5, 2024
@pwolfert pwolfert added this to the 11.0.0-beta.1 milestone Apr 5, 2024
@pwolfert pwolfert requested a review from zarahzachz April 5, 2024 22:52
@pwolfert pwolfert changed the base branch from main to pwolfert/storybook-web-component-decorator April 5, 2024 22:52
Base automatically changed from pwolfert/storybook-web-component-decorator to main April 8, 2024 17:59
@pwolfert pwolfert force-pushed the pwolfert/ds-inline-error branch from 4eae8ed to 96856f9 Compare April 8, 2024 19:02
@pwolfert pwolfert merged commit 81e9540 into main Apr 8, 2024
1 check passed
@pwolfert pwolfert deleted the pwolfert/ds-inline-error branch April 8, 2024 19:25
@pwolfert pwolfert modified the milestones: 11.0.0-beta.1, 10.1.0 May 3, 2024
pwolfert added a commit that referenced this pull request May 10, 2024
* New `ds-inline-error` and pattern for supplying example text in Storybook

* Use the new story decorator

* Add VRT ref images

* Fix test names and update snapshots

* Add storybook-docs snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Impacts: Core Impacts the core DS primarily, changes may occur in other themes as well. Type: Added Indicates a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants