-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* update ui tests * new docs format * linting * small fixes * code review changes
- Loading branch information
Showing
10 changed files
with
429 additions
and
167 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
Empty file.
Empty file.
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,69 @@ | ||
## Empty State inside Searchable Select | ||
|
||
```html preview 300px | ||
<vwc-searchable-select label="Connect number"> | ||
<vwc-empty-state | ||
slot="no-options" | ||
icon-decoration="outlined" | ||
icon="phone-number-line" | ||
headline="No numbers" | ||
> | ||
You do not have any numbers yet. | ||
</vwc-empty-state> | ||
</vwc-searchable-select> | ||
``` | ||
|
||
## Empty State inside Dialog | ||
|
||
```html preview 450px | ||
<vwc-dialog open> | ||
<vwc-empty-state | ||
slot="body" | ||
class="empty-state" | ||
icon-decoration="outlined" | ||
icon="check-solid" | ||
connotation="success" | ||
headline="You made it!" | ||
> | ||
Your request was submitted. Waht do you wish to do now? | ||
<vwc-button | ||
slot="action-items" | ||
appearance="outlined" | ||
label="continue" | ||
></vwc-button> | ||
<vwc-button | ||
slot="action-items" | ||
appearance="filled" | ||
connotation="cta" | ||
label="Read More" | ||
></vwc-button> | ||
</vwc-empty-state> | ||
</vwc-dialog> | ||
``` | ||
|
||
## Empty State & Data Grid | ||
|
||
```html preview 450px | ||
<vwc-data-grid> | ||
<vwc-data-grid-row role="row" class="header" row-type="header"> | ||
<vwc-data-grid-cell cell-type="columnheader" role="columnheader"> | ||
data1 | ||
</vwc-data-grid-cell> | ||
<vwc-data-grid-cell cell-type="columnheader"> data2 </vwc-data-grid-cell> | ||
</vwc-data-grid-row> | ||
</vwc-data-grid> | ||
<vwc-empty-state | ||
class="empty-state" | ||
icon-decoration="outlined" | ||
icon="search-line" | ||
headline="No Data" | ||
> | ||
There's no data here yet | ||
</vwc-empty-state> | ||
|
||
<style> | ||
.empty-state { | ||
margin-block-start: 32px; | ||
} | ||
</style> | ||
``` |
Oops, something went wrong.