This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update component categories screenshots to M3
- Loading branch information
Showing
73 changed files
with
177 additions
and
237 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<mat-list> | ||
<mat-list-item> | ||
<mat-icon>favorite</mat-icon> | ||
Favorite | ||
<mat-icon matListItemIcon>favorite</mat-icon> | ||
<div matListItemTitle>Favorite</div> | ||
</mat-list-item> | ||
<mat-list-item> | ||
<mat-icon>share</mat-icon> | ||
Share | ||
<mat-icon matListItemIcon>share</mat-icon> | ||
<div matListItemTitle>Share</div> | ||
</mat-list-item> | ||
</mat-list> |
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 |
---|---|---|
@@ -1,12 +1,6 @@ | ||
.mat-bottom-sheet-container { | ||
min-width: 0 !important; | ||
width: 250px; | ||
} | ||
|
||
.mat-icon { | ||
margin-right: 24px; | ||
} | ||
|
||
.cdk-overlay-backdrop { | ||
opacity: 0 !important; | ||
border-top-left-radius: var(--mat-bottom-sheet-container-shape); | ||
border-top-right-radius: var(--mat-bottom-sheet-container-shape); | ||
} |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<mat-button-toggle-group class="scene-button-toggle" name="fontStyle" aria-label="Font Style"> | ||
<mat-button-toggle value="bold" class="scene-button-toggle-bold"> | ||
<mat-button-toggle-group class="scene-button-toggle" aria-label="Font Style"> | ||
<mat-button-toggle value="bold"> | ||
<mat-icon>format_align_left</mat-icon> | ||
</mat-button-toggle> | ||
<mat-button-toggle value="italic" class="scene-button-toggle-italic"> | ||
<mat-button-toggle value="italic"> | ||
<mat-icon>format_align_justify</mat-icon> | ||
</mat-button-toggle> | ||
<mat-button-toggle value="underline" class="scene-button-toggle-underline" [checked]="true"> | ||
<mat-button-toggle value="underline" [checked]="true"> | ||
<mat-icon>format_align_right</mat-icon> | ||
</mat-button-toggle> | ||
</mat-button-toggle-group> |
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,3 @@ | ||
.scene-button-toggle { | ||
--mat-standard-button-toggle-selected-state-text-color: var(--mat-icon-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<div class="scene-card"> | ||
<mat-card appearance="outlined"> | ||
<mat-card-title class="docs-scene-card-title"> | ||
</mat-card-title> | ||
<mat-card-header> | ||
<div class="docs-scene-card-title"></div> | ||
</mat-card-header> | ||
|
||
<mat-card-content class="scene-content"> | ||
<mat-card-content> | ||
<div class="scene-content"></div> | ||
</mat-card-content> | ||
</mat-card> | ||
</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
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 |
---|---|---|
@@ -1,17 +1,7 @@ | ||
.scene-checkboxes { | ||
width: 80px; | ||
width: 120px; | ||
} | ||
|
||
.scene-checkbox-all { | ||
margin-left: -20px; | ||
} | ||
|
||
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */ | ||
.mat-checkbox-layout { | ||
padding: 5px 0; | ||
} | ||
|
||
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */ | ||
.mat-checkbox-label { | ||
font-size: 20px; | ||
} |
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 |
---|---|---|
@@ -1,2 +1,9 @@ | ||
<mat-calendar class="scene-datepicker-left"></mat-calendar> | ||
<mat-calendar class="scene-datepicker-right"></mat-calendar> | ||
<div class="calendar-wrapper"> | ||
<mat-calendar | ||
class="calendar" | ||
[minDate]="minDate" | ||
[maxDate]="maxDate" | ||
[selected]="selectedDate" | ||
> | ||
</mat-calendar> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
.scene-datepicker-left { | ||
top: -220px; | ||
left: -240px; | ||
} | ||
|
||
.scene-datepicker-right { | ||
top: -80px; | ||
.calendar { | ||
margin-top: 140px; | ||
background: rgba(white, 0.8); | ||
} | ||
|
||
mat-calendar { | ||
position: absolute; | ||
border: 1px solid; | ||
border-radius: 4px; | ||
.calendar-wrapper { | ||
display: flex; | ||
|
||
mat-calendar { | ||
width: 300px; | ||
border-radius: 16px; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,7 +1,16 @@ | ||
<mat-list> | ||
<mat-list-item><mat-icon>account_circle</mat-icon>Contact 1</mat-list-item> | ||
<mat-list-item> | ||
<mat-icon matListItemIcon>account_circle</mat-icon> | ||
<div matListItemTitle>Contact 1</div> | ||
</mat-list-item> | ||
<mat-divider></mat-divider> | ||
<mat-list-item><mat-icon>account_circle</mat-icon>Contact 2</mat-list-item> | ||
<mat-list-item> | ||
<mat-icon matListItemIcon>account_circle</mat-icon> | ||
<div matListItemTitle>Contact 2</div> | ||
</mat-list-item> | ||
<mat-divider></mat-divider> | ||
<mat-list-item><mat-icon>account_circle</mat-icon>Contact 3</mat-list-item> | ||
<mat-list-item> | ||
<mat-icon matListItemIcon>account_circle</mat-icon> | ||
<div matListItemTitle>Contact 3</div> | ||
</mat-list-item> | ||
</mat-list> |
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
mat-divider { | ||
width: 180px; | ||
} | ||
|
||
app-divider-scene .mat-icon { | ||
margin-right: 8px; | ||
} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<mat-list> | ||
<div mat-subheader>Folders</div> | ||
<mat-list-item> | ||
<mat-icon mat-list-icon>folder</mat-icon> | ||
<div mat-line>Photos</div> | ||
<div mat-line>Jun 8, 2020</div> | ||
<mat-icon matListItemIcon>folder</mat-icon> | ||
<div matListItemTitle>Photos</div> | ||
<div matListItemLine>February 14, 2024</div> | ||
</mat-list-item> | ||
<mat-list-item> | ||
<mat-icon mat-list-icon>folder</mat-icon> | ||
<div mat-line>Recipes</div> | ||
<div mat-line>Jul 2, 2020</div> | ||
<mat-icon matListItemIcon>folder</mat-icon> | ||
<div matListItemTitle>Recipes</div> | ||
<div matListItemLine>May 22, 2024</div> | ||
</mat-list-item> | ||
</mat-list> |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.scene-paginator.mat-mdc-paginator { | ||
margin-right: 80px; | ||
margin-right: 70px; | ||
background: transparent; | ||
} |
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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
.scene-radio-group { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.scene-radio-button { | ||
margin: 8px; | ||
padding-right: 8px; | ||
} |
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 |
---|---|---|
@@ -1,10 +1,22 @@ | ||
<mat-drawer-container class="docs-sidenav-container"> | ||
<mat-drawer class="docs-sidenav-drawer mat-elevation-z6" mode="side" opened> | ||
<mat-sidenav-container class="docs-sidenav-container"> | ||
<mat-sidenav class="docs-sidenav" mode="side" opened> | ||
<mat-list role="list"> | ||
<mat-list-item role="listitem"><mat-icon>inbox</mat-icon>Inbox</mat-list-item> | ||
<mat-list-item role="listitem"><mat-icon>star</mat-icon>Starred</mat-list-item> | ||
<mat-list-item role="listitem"><mat-icon>watch_later</mat-icon>Snoozed</mat-list-item> | ||
<mat-list-item role="listitem"><mat-icon>send</mat-icon>Sent</mat-list-item> | ||
<mat-list-item role="listitem"> | ||
<mat-icon matListItemIcon>inbox</mat-icon> | ||
<div matListItemTitle>Inbox</div> | ||
</mat-list-item> | ||
<mat-list-item role="listitem"> | ||
<mat-icon matListItemIcon>star</mat-icon> | ||
<div matListItemTitle>Starred</div> | ||
</mat-list-item> | ||
<mat-list-item role="listitem"> | ||
<mat-icon matListItemIcon>watch_later</mat-icon> | ||
<div matListItemTitle>Snoozed</div> | ||
</mat-list-item> | ||
<mat-list-item role="listitem"> | ||
<mat-icon matListItemIcon>send</mat-icon> | ||
<div matListItemTitle>Sent</div> | ||
</mat-list-item> | ||
</mat-list> | ||
</mat-drawer> | ||
</mat-drawer-container> | ||
</mat-sidenav> | ||
</mat-sidenav-container> |
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 |
---|---|---|
@@ -1,13 +1,6 @@ | ||
.docs-sidenav-container { | ||
height: 210px; | ||
width: 360px; | ||
height: 200px; | ||
} | ||
|
||
.docs-sidenav-drawer { | ||
padding-right: 50px; | ||
border-right: none; | ||
|
||
mat-icon { | ||
margin-right: 10px; | ||
} | ||
--mat-sidenav-container-width: 200px; | ||
--mat-sidenav-container-background-color: #f9f0f9; | ||
} |
17 changes: 6 additions & 11 deletions
17
scenes/src/app/scenes/slide-toggle/slide-toggle-scene.html
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 |
---|---|---|
@@ -1,14 +1,9 @@ | ||
<div class="scene-slide-toggle scene-slide-toggle-notifications"> | ||
<mat-icon>notifications_off</mat-icon> | ||
NOTIFICATIONS <mat-slide-toggle></mat-slide-toggle> | ||
<div class="scene-slide-toggle"> | ||
<mat-slide-toggle>Notifications</mat-slide-toggle> | ||
</div> | ||
|
||
<div class="scene-slide-toggle scene-slide-toggle-dark"> | ||
<mat-icon>nights_stay</mat-icon> | ||
DARK MODE <mat-slide-toggle checked="true"></mat-slide-toggle> | ||
<div class="scene-slide-toggle"> | ||
<mat-slide-toggle checked="true">Dark Mode</mat-slide-toggle> | ||
</div> | ||
|
||
<div class="scene-slide-toggle scene-slide-toggle-dark"> | ||
<mat-icon>wifi_off</mat-icon> | ||
WiFi <mat-slide-toggle></mat-slide-toggle> | ||
<div class="scene-slide-toggle"> | ||
<mat-slide-toggle>WiFi</mat-slide-toggle> | ||
</div> |
11 changes: 0 additions & 11 deletions
11
scenes/src/app/scenes/slide-toggle/slide-toggle-scene.scss
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 |
---|---|---|
@@ -1,15 +1,4 @@ | ||
.scene-slide-toggle { | ||
margin: 15px; | ||
width: 250px; | ||
display: flex; | ||
} | ||
|
||
/* TODO(mdc-migration): The following rule targets internal classes of slide-toggle that may no longer apply for the MDC version. */ | ||
mat-slide-toggle { | ||
margin-left: auto; | ||
} | ||
|
||
mat-icon { | ||
vertical-align: middle; | ||
padding-right: 5px; | ||
} |
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 |
---|---|---|
@@ -1,20 +1,12 @@ | ||
<div class="scene-sliders"> | ||
<div> | ||
<div class="slider-row"> | ||
<mat-icon>volume_up</mat-icon> | ||
<mat-slider | ||
thumbLabel="true" | ||
value="65" | ||
min="1" | ||
max="100" | ||
#volume></mat-slider> | ||
<mat-slider min="0" max="100" discrete> | ||
<input value="65" matSliderThumb> | ||
</mat-slider> | ||
</div> | ||
|
||
<div> | ||
<div class="slider-row"> | ||
<mat-icon>brightness_low</mat-icon> | ||
<mat-slider | ||
thumbLabel | ||
value="40" | ||
min="1" | ||
max="100"></mat-slider> | ||
</div> | ||
<mat-slider min="0" max="100" discrete> | ||
<input value="40" matSliderThumb> | ||
</mat-slider> | ||
</div> |
Oops, something went wrong.