-
Notifications
You must be signed in to change notification settings - Fork 205
[BD-9545][BpkLink] Add bpk-link--explicit for the new bpk-link design. #3768
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
Conversation
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
e7c3ddf
to
23c8fc7
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
23c8fc7
to
8791606
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
8791606
to
23c8fc7
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
2 similar comments
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
9042211
to
e60df8a
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Would it be better to set this prop optional like implicit?: boolean, ? I am not sure whether there are other consumers using this module and if it is the case, it seems to create a breaking change? cc @olliecurtis @kerrie625 |
1. add a new boolean prop "explicit" to bpk-link to enable new design; 2. add a new "bpk-link--explicit" classname and corresponding SCSS code for the format.
e60df8a
to
e61471d
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Provided that we add the declaration to the This would make it optional. If we set the type to be |
e61471d
to
2f85b96
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
2. Update propTypes and defaultProps; 3. Use `position = abosolute` for underline and `position = relative` for bpkLink to avoid affect on line height.
2f85b96
to
0178872
Compare
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 . As this major ,we need merge it wait for next major release
…me distancce from the button content.
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3768 to see this build running in a browser. |
Jira -- Explicit Link
Description:
Remember to include the following changes:
[KOA-123][BpkButton] Updating the colour
README.md
(If you have created a new component)README.md