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

[Storybook]: Configuring ArgTypes filtering #282

Merged
merged 20 commits into from
Feb 16, 2024

Conversation

videoeero
Copy link
Contributor

@videoeero videoeero commented Feb 15, 2024

  • Preview.js default adjustments
  • Tweaked few component ArgTypes
  • Tables fixed

BREAKING:

  • Link Component externalLink Input renamed to external

@github-actions github-actions bot temporarily deployed to docs-DS-240-link-and-notification-check February 15, 2024 15:39 Inactive
@videoeero videoeero added exclude from release notes This PR will not be included in the release notes breaking change This change is not backwards-compatible and removed exclude from release notes This PR will not be included in the release notes labels Feb 15, 2024
@RiinaKuu RiinaKuu self-assigned this Feb 16, 2024
@github-actions github-actions bot temporarily deployed to docs-DS-240-link-and-notification-check February 16, 2024 07:41 Inactive

/**
* Link color
*/
@Input() color: 'primary-dark' | 'default' | 'white' = 'primary-dark';
@Input() color: 'default' | 'gray' | 'white' = 'default';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These color names originate from icon.component.scss and this "breaks" external link (at least). I agree these are not intuitive names but let's do the name refactoring in a separate PR. I added a TODO comment for the class names and reverted your changes regarding on these.


export default {
title: 'Components/Button',
component: ButtonComponent,
parameters: {
docs: {
argTypes: {
exclude: buttonExclude,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason (similar to Dialog) this didn't work and readme ArgTypes needed the exclude. So I deleted this one and added the exclude in readme.

@github-actions github-actions bot temporarily deployed to docs-DS-240-link-and-notification-check February 16, 2024 09:56 Inactive
@RiinaKuu RiinaKuu added exclude from release notes This PR will not be included in the release notes breaking change This change is not backwards-compatible and removed breaking change This change is not backwards-compatible exclude from release notes This PR will not be included in the release notes labels Feb 16, 2024
@github-actions github-actions bot temporarily deployed to docs-DS-240-link-and-notification-check February 16, 2024 12:32 Inactive
@MayaMarjut MayaMarjut merged commit 9f3c9fc into main Feb 16, 2024
9 checks passed
@MayaMarjut MayaMarjut deleted the DS-240-link-and-notification-check branch February 16, 2024 12:57
@github-actions github-actions bot locked and limited conversation to collaborators Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change This change is not backwards-compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants