-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(list): new divider color api (#968)
* Add list ui-tests * Fix the two lines icon issue * Reduce padding of the list to 16px * Bottom border color API * Allow color change to all borders * Set the --vvd-list-color-divider API * fix(list): side margin set to 16px * fix(list): vertical center the left icon * fix(list): add documentation * Remove obsolete line * Change checkbox and radio padding * Fix css tests * Improve documentation * rename to align with calendar * Fix another test * Add component's header * Update snapshots Co-authored-by: yinonov <yinon@hotmail.com>
- Loading branch information
1 parent
c7bbfac
commit 1371016
Showing
12 changed files
with
77 additions
and
26 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
$vvd-list-divider--color: --vvd-list-divider--color; |
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
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export default { | ||
sourcePath: '../readme.md', | ||
outputName: 'list-introduction', | ||
story: { | ||
title: 'Components/List', | ||
name: 'Introduction', | ||
parameters: { | ||
options: { | ||
showPanel: false, | ||
isToolshown: false | ||
} | ||
} | ||
} | ||
}; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import '@vonage/vwc-list'; | ||
import { storiesToElement } from '../../utils/storiesToElement'; | ||
import * as basicStories from '@vonage/vwc-list/stories/list-basic.stories'; | ||
import * as checkStories from '@vonage/vwc-list/stories/list-check.stories'; | ||
import * as expansionPanelStories from '@vonage/vwc-list/stories/list-expansion-panel.stories'; | ||
import * as metaStories from '@vonage/vwc-list/stories/list-interactive-meta.stories'; | ||
import * as listItemStories from '@vonage/vwc-list/stories/list-item.stories'; | ||
import * as radioItemStories from '@vonage/vwc-list/stories/list-radio.stories'; | ||
|
||
export async function createElementVariations(wrapper) { | ||
const elementWrapper = storiesToElement({ | ||
...basicStories, | ||
...checkStories, | ||
...expansionPanelStories, | ||
...metaStories, | ||
...listItemStories, | ||
...radioItemStories | ||
}); | ||
|
||
wrapper.appendChild(elementWrapper); | ||
} | ||
|
||
|