-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: [table] related #262 - update storybook
- Loading branch information
Showing
3 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -242,6 +242,7 @@ const Template: StoryFn = (args: Args) => ({ | |
{ | ||
value: 'actions', | ||
size: 'sm', | ||
preventExpand: true, | ||
}, | ||
] | ||
return { args, headers, items, selection } | ||
|
@@ -657,6 +658,7 @@ export const Expandable: StoryObj = { | |
{ | ||
value: 'actions', | ||
size: 'sm', | ||
preventExpand: true, | ||
}, | ||
] | ||
|
@@ -689,10 +691,10 @@ export const Expandable: StoryObj = { | |
<div class="puik-icon" style="font-size: 24px;">keyboard_arrow_down</div> | ||
</div> | ||
</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">lastname0</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">firstname0</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">lastname0</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">firstname0</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center puik-table__body__row__item--expand-row">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right puik-table__body__row__item--expand-row">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left"> | ||
<button class="puik-button puik-button--text puik-button--md" aria-label="Delete item"> | ||
<div class="puik-icon puik-button__right-icon" style="font-size: 1.25rem;">delete</div> | ||
|
@@ -706,10 +708,10 @@ export const Expandable: StoryObj = { | |
<div class="puik-icon" style="font-size: 24px;">keyboard_arrow_down</div> | ||
</div> | ||
</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">lastname1</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">firstname1</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">lastname1</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">firstname1</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center puik-table__body__row__item--expand-row">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right puik-table__body__row__item--expand-row">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left"> | ||
<button class="puik-button puik-button--text puik-button--md" aria-label="Delete item"> | ||
<div class="puik-icon puik-button__right-icon" style="font-size: 1.25rem;">delete</div> | ||
|
@@ -722,10 +724,10 @@ export const Expandable: StoryObj = { | |
<div class="puik-icon" style="font-size: 24px;">keyboard_arrow_down</div> | ||
</div> | ||
</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">lastname2</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left">firstname2</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">lastname2</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left puik-table__body__row__item--expand-row">firstname2</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--center puik-table__body__row__item--expand-row">40</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--right puik-table__body__row__item--expand-row">[email protected]</td> | ||
<td class="puik-table__body__row__item puik-table__body__row__item--left"> | ||
<button class="puik-button puik-button--text puik-button--md" aria-label="Delete item"> | ||
<div class="puik-icon puik-button__right-icon" style="font-size: 1.25rem;">delete</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters