-
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
Update API reference descriptions for consistency across components #7071
Comments
**Related Issue:** #7071 ## Summary Updates doc consistency across b and c-named components defined in the above issue for props, events, methods, and css vars, including: - `button` - `block` - `block-section` - `color-picker-hex-input` - `color-picker` - `combobox` cc @geospatialem
…8540) **Related Issue:** #7071 ## Summary Updates doc consistency across b and c-named components defined in the above issue for props, events, methods, and css vars, including: - `date-picker-day` - `date-picker-month` - `date-picker-month-header` - `dropdown-group` - `dropdown-item` - `filter` - `graph` - `handle` cc @geospatialem
**Related Issue:** #7071 ## Summary Updates doc consistency across m through s-named components defined in the above issue for props, events, methods, and css vars, including: - `meter` - Also includes some inconsistencies in the prop names - `modal` - `navigation-logo` - `navigation-user` - `navigation` - `notice` - `pick-list` - `popover` - `select` - `sheet` - `shell-panel` - `slider` - `split-button`
**Related Issue:** #7071 ## Summary Updates doc consistency across i and l-named components defined in the above issue for props, events, methods, and css vars, including: - `input-date-picker` - `input-time-zone` - `list-item-group` - `list-item` - `list` cc @geospatialem
Installed and assigned for verification. |
@DitwanP Found a few small additions we could make while verifying some components:
calcite-design-system/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx Line 156 in 72a1ce4
calcite-design-system/packages/calcite-components/src/components/input-time-zone/input-time-zone.tsx Lines 214 to 222 in 72a1ce4
Were we also aiming to include other props with multiple selections as part of this effort? It looks like there may be a few remaining items, including:
|
😱 I thought we got all the selectionMode props. Anything else that needed to be listed out in a similar fashion I was going to make a separate PR for those. At least that was the plan. I'll get the PR in to address the things you mentioned here. |
Ah, gotcha. Do we want a separate issue to address those props, or we should work towards addressing them in this issue? I'm good with either approach. |
I don't have a preference either, I'm fine with leaving this one open and getting a PR added in for those changes, that seems like the simplest route. |
**Related Issue:** #7071 ## Summary Updates doc consistency across various components defined in the above issue for props, events, methods, and css vars, including: - `block-section` - `checkbox` - `chip` - `combobox` - `fab` - `input-number` - `input-time-zone` - `radio-button` - `segmented-control` - `shell-panel` - `switch` - `text-area` - `tile-select` - `tree` --------- Co-authored-by: Matt Driscoll <mdriscoll@esri.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Installed and assigned for verification. |
The only thing of note that I came across when validating was this.
|
It's also part of I think the parenthesis help differentiate the focus since its dependent on what the developer is implementing, but if we have a revision in mind - we could change it as well. WDYT? calcite-design-system/packages/calcite-components/src/components/avatar/avatar.tsx Lines 22 to 23 in dc5cfb3
|
That makes sense, I think its fine to stay. |
🍡 @geospatialem verified the top half of components, and I verified the bottom half. |
Description
Comb through all components and update all API ref descriptions to fit our style guide from #4442, which include:
"emits"
instead of"emitted"
).calcite-
), e.g.calcite-button
instead ofbutton
.calcite-button
s instead ofcalcite-button
elements.`
) for the names of slots, events, properties, CSS variables, and component names."
) for the values of properties/attributes and event details.'
) as apostrophes.?
)Original Issue Description
Our property/slot/method descriptions are all over the place right now. We need to decide on some conventions, and then audit and proofread to make sure they are consistent. Some things to consider:
calcite-xyz
vs "value")? e.g.disableCloseOnSelect
uses double andoverlayPositioning
uses singleindeterminate
,download
,value
In addition to the consistency conventions, there is a lot of clean up that needs to happen. For example,
This is not an exhaustive list, but it is a start. If anyone else has something to add please feel free. @geospatialem and I will decide on and document the conventions, and then start updating the jsdoc.
Which Component
All components
Progress checklist
accordion
- Ditwan and Kittyaccordion-item
- Ditwan and Kittyaction
- Ditwan and Kittyaction-bar
- Ditwan and Kittyaction-group
- Ditwan and Kittyaction-menu
- Ditwan and Kittyaction-pad
- Kittyalert
- Kittyavatar
- Kittyblock
- Ditwanblock-section
- Ditwanbutton
- Ditwancard
- Ditwancheckbox
- Ditwanchip
- Ditwanchip-group
- Ditwancolor-picker
- Ditwancombobox
- Ditwancombobox-item
- Ditwancombobox-item-group
- Ditwandate-picker
- Ditwandate-picker-day
- Ditwandate-picker-month
- Ditwandate-picker-month-header
- Ditwandropdown
- Ditwandropdown-group
- Ditwandropdown-item
- Ditwanfab
- Ditwanfilter
- Ditwanflow
- Ditwanflow-item
- Ditwangraph
- Ditwanhandle
- Ditwanicon
- Ditwaninline-editable
- Ditwaninput
- Ditwaninput-date-picker
- Ditwaninput-message
- Ditwaninput-text
- Ditwaninput-time-picker
- Ditwaninput-time-zone
- Ditwanlabel
- Ditwanlink
- Ditwanlist
- Ditwanlist-item
- Ditwanlist-item-group
- Ditwanloader
- Ditwanmenu
- Kittymenu-item
- Kittymeter
- Kittymodal
- Kittynavigation
- Kittynavigation-logo
- Kittynavigation-user
- Kittynotice
- Kittyoption
- Kittyoption-group
- Kittypagination
- Kittypanel
- Kittypick-list
- Kittypick-list-group
- Kittypick-list-item
- Kittypopover
- Kittyprogress
- Kittyradio-group
- Kittyradio-group-item
- Kittyrating
- Kittyscrim
- Kittysegmented-control
- Kittysegmented-control-item
- Kittyselect
- Kittysheet
- Kittyshell
- Kittyshell-center-row
- Kittyshell-panel
- Kittyslider
- Kittysplit-button
- Kittystepper
- Kittystepper-item
- Kittyswitch
- Kittytab
- Kittytab-nav
- Kittytab-title
- Kittytabs
- Kittytable
- Kittytable-header
- Kittytable-row
- Kittytable-cell
- Kittytext-area
- Kittytile
- Kittytile-select
- Kittytile-select-group
- Kittytime-picker
- Kittytip
- Kittytip-group
- Kittytip-manager
- Kittytooltip
- Kittytree
- Kittytree-item
- Kittyvalue-list
- Kittyvalue-list-item
- KittyVerified checklist
accordion
- Kittyaccordion-item
- Kittyaction
- Kittyaction-bar
- Kittyaction-group
- Kittyaction-menu
- Kittyaction-pad
- Kittyalert
- Kittyavatar
- Kittyblock
- Kittyblock-section
- Kittybutton
- Kittycard
- Kittycheckbox
- Kittychip
- Kittychip-group
- Kittycolor-picker
- Kittycombobox
- Kittycombobox-item
- Kittycombobox-item-group
- Kittydate-picker
- Kittydropdown
- Kittydropdown-group
- Kittydropdown-item
- Kittyfab
- Kittyfilter
- Kittyflow
- Kittyflow-item
- Kittyicon
- Kittyinline-editable
- Kittyinput
- Kittyinput-date-picker
- Kittyinput-message
- Kittyinput-text
- Kittyinput-number
- Kittyinput-time-picker
- Kittyinput-time-zone
- Kittylabel
- Kittylink
- Kittylist
- Kittylist-item
- Kittylist-item-group
- Kittyloader
- Kittymenu
- Ditwanmenu-item
- Ditwanmeter
- Ditwanmodal
- Ditwannavigation
- Ditwannavigation-logo
- Ditwannavigation-user
- Ditwannotice
- Ditwanoption
- Ditwanoption-group
- Ditwanpagination
- Ditwanpanel
- Ditwanpick-list
- Ditwanpick-list-group
- Ditwanpick-list-item
- Ditwanpopover
- Ditwanprogress
- Ditwanradio-group
- Ditwanradio-group-item
- Ditwanrating
- Ditwanscrim
- Ditwansegmented-control
- Ditwansegmented-control-item
- Ditwanselect
- Ditwansheet
- Ditwanshell
- Ditwanshell-center-row
- Ditwanshell-panel
- Ditwanslider
- Ditwansplit-button
- Ditwanstepper
- Ditwanstepper-item
- Ditwanswitch
- Ditwantab
- Ditwantab-nav
- Ditwantab-title
- Ditwantabs
- Ditwantable
- Ditwantable-header
- Ditwantable-row
- Ditwantable-cell
- Ditwantext-area
- Ditwantile
- Ditwantile-select
- Ditwantile-select-group
- Ditwantime-picker
- Ditwantip
- Ditwantip-group
- Ditwantip-manager
- Ditwantooltip
- Ditwantree
- Ditwantree-item
- Ditwanvalue-list
- Ditwanvalue-list-item
- DitwanResources
No response
The text was updated successfully, but these errors were encountered: