Skip to content

Commit

Permalink
build: fix snapshot tests (#27805)
Browse files Browse the repository at this point in the history
The snapshot tests are failing, because MDC added new tokens to the icon button. These changes implement the new tokens.
  • Loading branch information
crisbeto authored Sep 20, 2023
1 parent 8c3d8d6 commit 197736b
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 633 deletions.
94 changes: 47 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,53 +98,53 @@
"@bazel/terser": "5.8.1",
"@bazel/worker": "5.8.1",
"@firebase/app-types": "^0.7.0",
"@material/animation": "15.0.0-canary.bc9ae6c9c.0",
"@material/auto-init": "15.0.0-canary.bc9ae6c9c.0",
"@material/banner": "15.0.0-canary.bc9ae6c9c.0",
"@material/base": "15.0.0-canary.bc9ae6c9c.0",
"@material/button": "15.0.0-canary.bc9ae6c9c.0",
"@material/card": "15.0.0-canary.bc9ae6c9c.0",
"@material/checkbox": "15.0.0-canary.bc9ae6c9c.0",
"@material/chips": "15.0.0-canary.bc9ae6c9c.0",
"@material/circular-progress": "15.0.0-canary.bc9ae6c9c.0",
"@material/data-table": "15.0.0-canary.bc9ae6c9c.0",
"@material/density": "15.0.0-canary.bc9ae6c9c.0",
"@material/dialog": "15.0.0-canary.bc9ae6c9c.0",
"@material/dom": "15.0.0-canary.bc9ae6c9c.0",
"@material/drawer": "15.0.0-canary.bc9ae6c9c.0",
"@material/elevation": "15.0.0-canary.bc9ae6c9c.0",
"@material/fab": "15.0.0-canary.bc9ae6c9c.0",
"@material/feature-targeting": "15.0.0-canary.bc9ae6c9c.0",
"@material/floating-label": "15.0.0-canary.bc9ae6c9c.0",
"@material/form-field": "15.0.0-canary.bc9ae6c9c.0",
"@material/icon-button": "15.0.0-canary.bc9ae6c9c.0",
"@material/image-list": "15.0.0-canary.bc9ae6c9c.0",
"@material/layout-grid": "15.0.0-canary.bc9ae6c9c.0",
"@material/line-ripple": "15.0.0-canary.bc9ae6c9c.0",
"@material/linear-progress": "15.0.0-canary.bc9ae6c9c.0",
"@material/list": "15.0.0-canary.bc9ae6c9c.0",
"@material/menu": "15.0.0-canary.bc9ae6c9c.0",
"@material/menu-surface": "15.0.0-canary.bc9ae6c9c.0",
"@material/notched-outline": "15.0.0-canary.bc9ae6c9c.0",
"@material/radio": "15.0.0-canary.bc9ae6c9c.0",
"@material/ripple": "15.0.0-canary.bc9ae6c9c.0",
"@material/rtl": "15.0.0-canary.bc9ae6c9c.0",
"@material/segmented-button": "15.0.0-canary.bc9ae6c9c.0",
"@material/select": "15.0.0-canary.bc9ae6c9c.0",
"@material/shape": "15.0.0-canary.bc9ae6c9c.0",
"@material/slider": "15.0.0-canary.bc9ae6c9c.0",
"@material/snackbar": "15.0.0-canary.bc9ae6c9c.0",
"@material/switch": "15.0.0-canary.bc9ae6c9c.0",
"@material/tab": "15.0.0-canary.bc9ae6c9c.0",
"@material/tab-bar": "15.0.0-canary.bc9ae6c9c.0",
"@material/tab-indicator": "15.0.0-canary.bc9ae6c9c.0",
"@material/tab-scroller": "15.0.0-canary.bc9ae6c9c.0",
"@material/textfield": "15.0.0-canary.bc9ae6c9c.0",
"@material/theme": "15.0.0-canary.bc9ae6c9c.0",
"@material/tooltip": "15.0.0-canary.bc9ae6c9c.0",
"@material/top-app-bar": "15.0.0-canary.bc9ae6c9c.0",
"@material/touch-target": "15.0.0-canary.bc9ae6c9c.0",
"@material/typography": "15.0.0-canary.bc9ae6c9c.0",
"@material/animation": "15.0.0-canary.a246a4439.0",
"@material/auto-init": "15.0.0-canary.a246a4439.0",
"@material/banner": "15.0.0-canary.a246a4439.0",
"@material/base": "15.0.0-canary.a246a4439.0",
"@material/button": "15.0.0-canary.a246a4439.0",
"@material/card": "15.0.0-canary.a246a4439.0",
"@material/checkbox": "15.0.0-canary.a246a4439.0",
"@material/chips": "15.0.0-canary.a246a4439.0",
"@material/circular-progress": "15.0.0-canary.a246a4439.0",
"@material/data-table": "15.0.0-canary.a246a4439.0",
"@material/density": "15.0.0-canary.a246a4439.0",
"@material/dialog": "15.0.0-canary.a246a4439.0",
"@material/dom": "15.0.0-canary.a246a4439.0",
"@material/drawer": "15.0.0-canary.a246a4439.0",
"@material/elevation": "15.0.0-canary.a246a4439.0",
"@material/fab": "15.0.0-canary.a246a4439.0",
"@material/feature-targeting": "15.0.0-canary.a246a4439.0",
"@material/floating-label": "15.0.0-canary.a246a4439.0",
"@material/form-field": "15.0.0-canary.a246a4439.0",
"@material/icon-button": "15.0.0-canary.a246a4439.0",
"@material/image-list": "15.0.0-canary.a246a4439.0",
"@material/layout-grid": "15.0.0-canary.a246a4439.0",
"@material/line-ripple": "15.0.0-canary.a246a4439.0",
"@material/linear-progress": "15.0.0-canary.a246a4439.0",
"@material/list": "15.0.0-canary.a246a4439.0",
"@material/menu": "15.0.0-canary.a246a4439.0",
"@material/menu-surface": "15.0.0-canary.a246a4439.0",
"@material/notched-outline": "15.0.0-canary.a246a4439.0",
"@material/radio": "15.0.0-canary.a246a4439.0",
"@material/ripple": "15.0.0-canary.a246a4439.0",
"@material/rtl": "15.0.0-canary.a246a4439.0",
"@material/segmented-button": "15.0.0-canary.a246a4439.0",
"@material/select": "15.0.0-canary.a246a4439.0",
"@material/shape": "15.0.0-canary.a246a4439.0",
"@material/slider": "15.0.0-canary.a246a4439.0",
"@material/snackbar": "15.0.0-canary.a246a4439.0",
"@material/switch": "15.0.0-canary.a246a4439.0",
"@material/tab": "15.0.0-canary.a246a4439.0",
"@material/tab-bar": "15.0.0-canary.a246a4439.0",
"@material/tab-indicator": "15.0.0-canary.a246a4439.0",
"@material/tab-scroller": "15.0.0-canary.a246a4439.0",
"@material/textfield": "15.0.0-canary.a246a4439.0",
"@material/theme": "15.0.0-canary.a246a4439.0",
"@material/tooltip": "15.0.0-canary.a246a4439.0",
"@material/top-app-bar": "15.0.0-canary.a246a4439.0",
"@material/touch-target": "15.0.0-canary.a246a4439.0",
"@material/typography": "15.0.0-canary.a246a4439.0",
"@octokit/rest": "18.3.5",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-node-resolve": "^13.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Each individual package uses a placeholder for the version of Angular to ensure they're
# all in-sync. This map is passed to each ng_package rule to stamp out the appropriate
# version for the placeholders.
MDC_PACKAGE_VERSION = "15.0.0-canary.bc9ae6c9c.0"
MDC_PACKAGE_VERSION = "15.0.0-canary.a246a4439.0"
TSLIB_PACKAGE_VERSION = "^2.3.0"
RXJS_PACKAGE_VERSION = "^6.5.3 || ^7.4.0"

Expand Down
2 changes: 2 additions & 0 deletions src/material/core/tokens/m2/mdc/_icon-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ $prefix: (mdc, icon-button);
pressed-icon-color: null,
pressed-state-layer-color: null,
pressed-state-layer-opacity: null,
focus-ring-color: null,
focus-ring-offset: null,
);
}

Expand Down
Loading

0 comments on commit 197736b

Please sign in to comment.