-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat: add link as new web component #31676
feat: add link as new web component #31676
Conversation
565ec1e
to
60ef43c
Compare
📊 Bundle size report✅ No changes found |
e02cb23
to
527dfc4
Compare
527dfc4
to
aad75f4
Compare
} as const; | ||
|
||
/** | ||
* An Link can be secondary, primary, outline, subtle, transparent |
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.
Is this comment accurate? Looks like LinkAppearance
above only has subtle
as an option.
import type { Link } from './link.js'; | ||
|
||
/** | ||
* The template for the Button component. |
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.
Should this say "Link" instead of "Button?" Same question for another comment below.
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.
Yes - I'll push a PR 🗡️
* HTML Attribute: `inline` | ||
*/ | ||
@attr({ mode: 'boolean' }) | ||
public inline?: boolean = false; |
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.
Nit: if this property has a default value then it doesn't need to be marked as optional.
Previous Behavior
N/A
New Behavior
This PR adds link as a new web component.
Related Issue(s)