feat: many additions for new table structure #425
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OK this includes a lot more changes than I expected but here it is.
:trail-icon
option to<SButton>
.<SPagination>
component.<SControl>
and its child components.Here is how you would build table with this changes.
Size of
<SCardBlock>
While testing many scenarios, it was impossible to control the padding of the card block automatically. It depends on many factors.
So, the new
:size
on<SCardBlock>
will only control the height of the block. And padding should be added using css utility classes, or just define any css (especially when you need responsive design).Size of
<SControl>
When used inside
<SCardBlock>
,<SControl>
will automatically pickup the correct size.Changes to
<SCard>
Using
<SControl>
, we can build the same thing as<SCardHeader>
and<SCardFooter>
, so I think we can deprecated these.Docs update
There are many deprecations, but I'm leaving the docs as is for now. Too many changes 🫠