Skip to content

Commit

Permalink
Update dependency @material/web to v1.0.0 (#18070)
Browse files Browse the repository at this point in the history
* Update dependency @material/web to v1.0.0

* Fix icon button size

* Remove unused ios override

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Bottein <[email protected]>
  • Loading branch information
renovate[bot] and piitaya authored Oct 3, 2023
1 parent e288b00 commit 774c7e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@material/mwc-top-app-bar": "0.27.0",
"@material/mwc-top-app-bar-fixed": "0.27.0",
"@material/top-app-bar": "=14.0.0-canary.53b3cad2f.0",
"@material/web": "=1.0.0-pre.17",
"@material/web": "=1.0.0",
"@mdi/js": "7.2.96",
"@mdi/svg": "7.2.96",
"@polymer/iron-flex-layout": "3.0.1",
Expand Down
5 changes: 0 additions & 5 deletions src/components/ha-outlined-icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ export class HaOutlinedIconButton extends IconButton {
--md-ripple-hover-opacity: 0;
--md-ripple-pressed-opacity: 0;
}
.outlined {
/* Fix md-outlined-icon-button padding and margin for iOS */
padding: 0;
margin: 0;
}
`,
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export const moreInfoControlCircularSliderStyle = css`
justify-content: space-between;
}
.buttons ha-outlined-icon-button {
--md-outlined-icon-button-container-size: 48px;
--md-outlined-icon-button-container-width: 48px;
--md-outlined-icon-button-container-height: 48px;
--md-outlined-icon-button-icon-size: 24px;
}
/* Accessibility */
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3164,13 +3164,13 @@ __metadata:
languageName: node
linkType: hard

"@material/web@npm:=1.0.0-pre.17":
version: 1.0.0-pre.17
resolution: "@material/web@npm:1.0.0-pre.17"
"@material/web@npm:=1.0.0":
version: 1.0.0
resolution: "@material/web@npm:1.0.0"
dependencies:
lit: ^2.7.4 || ^3.0.0
tslib: ^2.4.0
checksum: a6443931677d981a0152fe52927b1aa2a9490354c81fbf77f3f9f33accfdc567dc2a431ae0a3cb375dff60a322ff7babd49fb62b186bcf43285e09fecd48a594
checksum: 0c6772ab2b2c144bba62f323a6d657d44ea3b2c9a2b8e745e0e5d17081983724e8e72857a58a930df28073ec931ed04a4f2364bdcbdf72ce5c85a03abc0578f3
languageName: node
linkType: hard

Expand Down Expand Up @@ -9689,7 +9689,7 @@ __metadata:
"@material/mwc-top-app-bar": 0.27.0
"@material/mwc-top-app-bar-fixed": 0.27.0
"@material/top-app-bar": =14.0.0-canary.53b3cad2f.0
"@material/web": =1.0.0-pre.17
"@material/web": =1.0.0
"@mdi/js": 7.2.96
"@mdi/svg": 7.2.96
"@octokit/auth-oauth-device": 6.0.1
Expand Down

0 comments on commit 774c7e2

Please sign in to comment.