Apologies: this one got a little big. Most of the work is just moving config and data to different files so TableModule.tsx gets more readable. I'm happy to pair with someone to go over this PR if that helps.
Common to all CSF3 updates
Replaced now-defunct CSF 1 & 2 types ComponentStory and ComponentMeta with StoryObj and Meta respectively
Updated all stories to the new single-const format
Removed titles from ungrouped components whose name is the same as their filename
Created Story type and added it to all stories for increased type safety
Unique to this PR
See Screenshots
Screenshots
Updated Default Config
Before
After
Applied new Default config to Wrapped Cells
Before
After
Redid Sticky Config with Lorem Ipsum Columns
Before
After
Tried to Clarify Hover Actions Description
Hover Actions had one row with an extra action, so I changed the name and icon of this action and called it out in the description to try to make it clearer that the row actions can be different
Before
After
Also removed an action from the Cupcake row to further the point
Other stories
Sort should look and behave exactly the same
And the other three, Row Selection, Row Add/Remove, and Row Manual Order should behave the same, but now have the same config as Default, which means they've gained one or two columns depending on where their config was earlier
What Was Changed
Apologies: this one got a little big. Most of the work is just moving config and data to different files so
TableModule.tsx
gets more readable. I'm happy to pair with someone to go over this PR if that helps.Common to all CSF3 updates
ComponentStory
andComponentMeta
withStoryObj
andMeta
respectivelyUnique to this PR
See Screenshots
Screenshots
Updated
Default
ConfigApplied new
Default
config toWrapped Cells
Redid
Sticky
Config with Lorem Ipsum ColumnsTried to Clarify
Hover Actions
DescriptionHover Actions
had one row with an extra action, so I changed the name and icon of this action and called it out in the description to try to make it clearer that the row actions can be differentOther stories
Sort
should look and behave exactly the sameRow Selection
,Row Add/Remove
, andRow Manual Order
should behave the same, but now have the same config asDefault
, which means they've gained one or two columns depending on where their config was earlier