-
Notifications
You must be signed in to change notification settings - Fork 77
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
docs: consistent api reference throughout components #5821
docs: consistent api reference throughout components #5821
Conversation
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.
❤️🔥
@@ -40,19 +40,19 @@ export class DatePickerDay implements InteractiveComponent { | |||
/** Day of the month to be shown. */ | |||
@Prop() day!: number; | |||
|
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.
I wonder if we should undocument these internal date picker components altogether since they aren't designed to be used by an end user.
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.
We can remove, as long as the documentation makes sense to the devs and is understandable without the comments when interacting with the components.
Tried to only match the common or same named props for consistency for the devs in those cases, and we could definitely omit altogether if that's the recommend approach. WDYT @driskull?
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.
Lets revisit it later before 1.0.
This component isn't designed for a user to ever read its doc or place it in the DOM.
Related Issue: #4442
Summary
Includes consistency across API references, this PR finalizes the style guide across all components.
Also includes the removal of the optional "
?
" JSDoc tags for the components listed below.Components included:
date-picker
dropdown
dropdown-group
dropdown-item
fab
filter
flow
flow-item
icon
inline-editable