-
Notifications
You must be signed in to change notification settings - Fork 1
IT-7404 | SelectListItem accessory slot, replace SelectListItemTile with SelectListItemContainer, TextGroup XS size #583
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
Open
latata
wants to merge
12
commits into
master
Choose a base branch
from
IT-7404
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
b786532
IT-7404 | migrate SelectListItem to script setup, add accessory slot
latata 9284586
IT-7404 | replace SelectListItemTile with SelectListItemContainer
latata 8e5c0de
IT-7404 | add PropType to size and state props
latata de78664
IT-7404 | prevent Divider from shrinking in flex
latata 46ad10e
IT-7404 | add x-small size to TextGroup
latata dab7046
Merge branch 'master' into IT-7404
latata 9a69d7a
add accessory slot to SelectListItem
latata 4c6f431
add accessory slot story and fix icon spacing
latata 0ebd3a4
fix: use correct tag name in stories template
latata f8e5856
Merge branch 'master' of github.com:bethinkpl/design-system into IT-7404
latata b0301a9
fix(SelectListItemContainer): simplify story and adjust padding
latata 0a04a88
Merge branch 'master' of github.com:bethinkpl/design-system into IT-7404
latata File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
35 changes: 35 additions & 0 deletions
35
lib/js/components/SelectList/SelectListItemContainer/SelectListItemContainer.stories.ts
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| import SelectListItemContainer from './SelectListItemContainer.vue'; | ||
| import Tile from '../../Tile'; | ||
| import { TILE_STATES } from '../../Tile'; | ||
|
|
||
| import { Meta, StoryFn } from '@storybook/vue3'; | ||
|
|
||
| export default { | ||
| title: 'Components/SelectList/SelectListItemContainer', | ||
| component: SelectListItemContainer, | ||
| } as Meta<typeof SelectListItemContainer>; | ||
|
|
||
| const StoryTemplate: StoryFn<typeof SelectListItemContainer> = () => ({ | ||
| components: { SelectListItemContainer, DsTile: Tile }, | ||
| template: ` | ||
| <select-list-item-container> | ||
| <ds-tile | ||
| text="this is a text text" | ||
| eyebrow-text="this is an eyebrowText text" | ||
| additional-text="this is some additionalText" | ||
| :interactive="false" | ||
| :state="TILE_STATES.DEFAULT" | ||
| /> | ||
| </select-list-item-container> | ||
| `, | ||
| data: () => ({ TILE_STATES }), | ||
| }); | ||
|
|
||
| export const Default = StoryTemplate.bind({}); | ||
|
|
||
| Default.parameters = { | ||
| design: { | ||
| type: 'figma', | ||
| url: 'https://www.figma.com/design/izQdYyiBR1GQgFkaOIfIJI/LMS---DS-Components?node-id=5367-94238&m=dev', | ||
| }, | ||
| }; |
19 changes: 19 additions & 0 deletions
19
lib/js/components/SelectList/SelectListItemContainer/SelectListItemContainer.vue
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <template> | ||
|
tweetgeek marked this conversation as resolved.
|
||
| <div class="ds-selectListItemContainer"> | ||
| <slot /> | ||
| </div> | ||
| </template> | ||
|
|
||
| <style scoped lang="scss"> | ||
| @import '../../../../styles/settings/spacings'; | ||
|
|
||
| .ds-selectListItemContainer { | ||
| padding: $space-2xs $space-xs; | ||
| } | ||
| </style> | ||
|
|
||
| <script setup lang="ts"> | ||
| defineOptions({ | ||
| name: 'SelectListItemContainer', | ||
| }); | ||
| </script> | ||
60 changes: 0 additions & 60 deletions
60
lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.stories.ts
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
lib/js/components/SelectList/SelectListItemTile/SelectListItemTile.vue
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.