diff --git a/docs/package.json b/docs/package.json index 7ced509a11af..bbfe57987b09 100644 --- a/docs/package.json +++ b/docs/package.json @@ -61,7 +61,7 @@ "@types/jasmine": "^6.0.0", "@types/node": "^22.14.1", "@types/shelljs": "0.10.0", - "firebase-tools": "15.2.1", + "firebase-tools": "15.6.0", "jasmine-core": "^6.0.0", "jasmine-spec-reporter": "7.0.0", "karma": "~6.4.4", @@ -75,7 +75,7 @@ "npm-run-all": "^4.1.5", "protractor": "^7.0.0", "puppeteer-core": "^24.6.1", - "sass": "1.97.2", + "sass": "1.97.3", "shelljs": "^0.10.0", "ts-node": "10.9.2", "typescript": "~5.9.2" diff --git a/package.json b/package.json index 94e51a51c621..4f33bc60cf41 100644 --- a/package.json +++ b/package.json @@ -80,12 +80,12 @@ "@angular/platform-server": "catalog:", "@angular/router": "catalog:", "@babel/core": "^7.16.12", - "@bazel/bazelisk": "1.26.0", + "@bazel/bazelisk": "1.28.1", "@bazel/buildifier": "8.2.1", "@bazel/ibazel": "^0.28.0", "@bazel/runfiles": "6.5.0", "@firebase/app-types": "^0.9.0", - "@material/material-color-utilities": "^0.3.0", + "@material/material-color-utilities": "^0.4.0", "@octokit/rest": "22.0.1", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.0", @@ -105,7 +105,7 @@ "dgeni": "^0.4.14", "dgeni-packages": "^0.30.0", "esbuild": "^0.27.0", - "firebase-tools": "15.2.1", + "firebase-tools": "15.6.0", "fs-extra": "^11.0.0", "glob": "^13.0.0", "highlight.js": "^11.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d62f6e9e591d..ba2cbbbafc07 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -138,8 +138,8 @@ importers: specifier: ^7.16.12 version: 7.29.0 '@bazel/bazelisk': - specifier: 1.26.0 - version: 1.26.0 + specifier: 1.28.1 + version: 1.28.1 '@bazel/buildifier': specifier: 8.2.1 version: 8.2.1 @@ -153,8 +153,8 @@ importers: specifier: ^0.9.0 version: 0.9.3 '@material/material-color-utilities': - specifier: ^0.3.0 - version: 0.3.0 + specifier: ^0.4.0 + version: 0.4.0 '@octokit/rest': specifier: 22.0.1 version: 22.0.1 @@ -213,8 +213,8 @@ importers: specifier: ^0.27.0 version: 0.27.3 firebase-tools: - specifier: 15.2.1 - version: 15.2.1(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2) + specifier: 15.6.0 + version: 15.6.0(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2) fs-extra: specifier: ^11.0.0 version: 11.3.3 @@ -322,7 +322,7 @@ importers: version: 10.9.2(@types/node@22.19.11)(typescript@5.9.2) tsec: specifier: 0.2.9 - version: 0.2.9(@bazel/bazelisk@1.26.0)(typescript@5.9.2) + version: 0.2.9(@bazel/bazelisk@1.28.1)(typescript@5.9.2) tsickle: specifier: 0.46.3 version: 0.46.3(typescript@5.9.2) @@ -445,8 +445,8 @@ importers: specifier: 0.10.0 version: 0.10.0 firebase-tools: - specifier: 15.2.1 - version: 15.2.1(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2) + specifier: 15.6.0 + version: 15.6.0(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2) jasmine-core: specifier: ^6.0.0 version: 6.0.1 @@ -487,8 +487,8 @@ importers: specifier: ^24.6.1 version: 24.37.3(bufferutil@4.1.0) sass: - specifier: 1.97.2 - version: 1.97.2 + specifier: 1.97.3 + version: 1.97.3 shelljs: specifier: ^0.10.0 version: 0.10.0 @@ -1557,6 +1557,10 @@ packages: resolution: {integrity: sha512-bTNcHdGyEQ9r7SczEYUa0gkEQhJo1ld2BjXI8fWBvsUeoHi03QpUs2HZgDbjjrpQFQqG2ZbO7ihZvH8MjhUTHw==} hasBin: true + '@bazel/bazelisk@1.28.1': + resolution: {integrity: sha512-K21x83NXOtd0yb2qzjMES3UV4xEWZ1q1vnXFhADA1u7IoiMVQkJAVQRK3oZ5txpnrGafY15HS+YYr2nmsEP4Tg==} + hasBin: true + '@bazel/buildifier@8.2.1': resolution: {integrity: sha512-eZ/Aq+2r4PcJa6LbPCT6ffgIJfTU/gYilqIzoX2OLM4nNkbQC6tTMPZNn7aHHjhGPxbNLv41zm4Xqt1olCLgXw==} hasBin: true @@ -2730,8 +2734,8 @@ packages: cpu: [x64] os: [win32] - '@material/material-color-utilities@0.3.0': - resolution: {integrity: sha512-ztmtTd6xwnuh2/xu+Vb01btgV8SQWYCaK56CkRK8gEkWe5TuDyBcYJ0wgkMRn+2VcE9KUmhvkz+N9GHrqw/C0g==} + '@material/material-color-utilities@0.4.0': + resolution: {integrity: sha512-dlq6VExJReb8dhjj3a/yTigr3ncNwoFmL5Iy2ENtbDX03EmNeOEdZ+vsaGrj7RTuO+mB7L58II4LCsl4NpM8uw==} '@modelcontextprotocol/sdk@1.25.3': resolution: {integrity: sha512-vsAMBMERybvYgKbg/l4L1rhS7VXV1c0CtyJg72vwxONVX0l4ZfKVAnZEWTQixJGTzKnELjQ59e4NbdFDALRiAQ==} @@ -5752,8 +5756,8 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - firebase-tools@15.2.1: - resolution: {integrity: sha512-S75K4L/CsYSpyoOZAWHeTrx5TrpNCdUeSutr9oto+yBgg5qfbtnrGUxP+iPiBK6g4pdQFzf4p6rN1c7RoGE09A==} + firebase-tools@15.6.0: + resolution: {integrity: sha512-AE9VtePOMbufjs4NlsRX3z4LNvP5yQXvWbohDmuygUAE1RVs498IXrNNliwhwnc6yguV+ZolawBGcGF4izy2gw==} engines: {node: '>=20.0.0 || >=22.0.0 || >=24.0.0'} hasBin: true @@ -11273,6 +11277,8 @@ snapshots: '@bazel/bazelisk@1.26.0': {} + '@bazel/bazelisk@1.28.1': {} + '@bazel/buildifier@8.2.1': {} '@bazel/ibazel@0.28.0': {} @@ -12432,7 +12438,7 @@ snapshots: '@lmdb/lmdb-win32-x64@3.5.1': optional: true - '@material/material-color-utilities@0.3.0': {} + '@material/material-color-utilities@0.4.0': {} '@modelcontextprotocol/sdk@1.25.3(hono@4.11.9)': dependencies: @@ -15829,7 +15835,7 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - firebase-tools@15.2.1(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2): + firebase-tools@15.6.0(@types/node@22.19.11)(bufferutil@4.1.0)(encoding@0.1.13)(typescript@5.9.2): dependencies: '@apphosting/build': 0.1.7(@types/node@22.19.11)(typescript@5.9.2) '@apphosting/common': 0.0.8 @@ -20073,9 +20079,9 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - tsec@0.2.9(@bazel/bazelisk@1.26.0)(typescript@5.9.2): + tsec@0.2.9(@bazel/bazelisk@1.28.1)(typescript@5.9.2): dependencies: - '@bazel/bazelisk': 1.26.0 + '@bazel/bazelisk': 1.28.1 glob: 11.1.0 minimatch: 10.2.0 typescript: 5.9.2 diff --git a/src/material/schematics/ng-generate/theme-color/index.ts b/src/material/schematics/ng-generate/theme-color/index.ts index c299b42c2e02..d17310676052 100644 --- a/src/material/schematics/ng-generate/theme-color/index.ts +++ b/src/material/schematics/ng-generate/theme-color/index.ts @@ -16,6 +16,7 @@ import { DynamicScheme, DislikeAnalyzer, TemperatureCache, + Variant, } from '@material/material-color-utilities'; // For each color tonal palettes are created using the following hue tones. The @@ -90,8 +91,8 @@ export function getMaterialDynamicScheme( contrastLevel: number, ): DynamicScheme { return new DynamicScheme({ - sourceColorArgb: primaryPalette.keyColor.toInt(), - variant: 6, // Variant.FIDELITY, used number representation since enum is not accessible outside of @material/material-color-utilities + sourceColorHct: primaryPalette.keyColor, + variant: Variant.FIDELITY, contrastLevel: contrastLevel, isDark: isDark, primaryPalette: primaryPalette,