Proposed changes:
[x] #668 Step
[x] #671 Breadcrumb
[x] #771 Table
[x] #667 Card
[x] #866 Statistic
[x] #838 Accordion
[x] #840 Search
[x] #630 Confirm
Yes! Thank you very much. This has been on my bucket list. Note the List PR, #311 #551 handles number 4 for the List examples. So we should wait for that PR to be merged before updating the List examples.
Lastly, the other goal is to allow the code snippets to be live edited and have the example update. This may affect how we name things as well. I'll start a trial of that right now and see what I find. Either way, having consistent class/filenames will make any refactors far more sane. So we can move forward on this immediately.
@levithomason I will start to work on this in the next few days.
Update, I'm able to handle the live example code editing with any export name. So no issues or limitations there.
I'm renamed doc files to this naming pattern in #551, LGTM :+1:
I think we need create dedicated section for shorthand examples in docs:
I think we need create dedicated section for shorthand examples in docs:
I agree this should be standardized. I'm not sure what order/pattern is most optimal.
Some examples show shorthand immediately after the regular version:

Some example have a section for Shorthand:

I think I lean toward mixing them together, showing shorthand use immediately after showing the regular use. Shorthand props are the power and most likely use of all components IMO. I'm worried that if we separate them in their own section, it will have more chance of getting looked over or seeming like an after thought. I want the examples to be pervasive. Open to other ideas as well.
I think we need make global documention cleanup that will standardize filenames and shorthand usage. Also, it must cover missing examples from SUI docs.
In latest PRs I started on it.
Great, I've started the Feed updates #575 and updated the task list.
Here's the final spec on what I think we should do:
const { Label } = Feed. Let's just show the sub component usage. Keeping Feed.Label prevents name conflicts and helps drive home the idea of sub components.PropsShorthand to shorthand filenames:FeedExampleEvent.js FeedExampleEventShorthand.jsdescription to all shorthand ComponentExample's ``` jsx
// FeedExampleImageLabel.js
description='An event can contain an image label'
// FeedExampleImageLabelShorthand.js
description='You can also configure an image label via props'
```
jsx
const FeedExampleEvent = () => (
// ...
)
Instead of:
jsx
const FeedExampleEvent = () => {
return (
// ...
)
}
First PR #587
I've updated TODO-list, we're almost there :smile_cat: Thanks, @dpkwhan
Awesome, thanks @layershifter! That is a big help.
Item and Statistic were merged, looks like we're all done here 馃帀 Massive thanks to @dpkwhan for sticking with this all the way through!