@angular/material 17.1.0-rc.0 → 17.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/badge/_badge-theme.scss +0 -169
  2. package/badge/index.d.ts +11 -1
  3. package/core/index.d.ts +7 -4
  4. package/core/tokens/m2/mat/_form-field.scss +15 -0
  5. package/core/tokens/m2/mdc/_filled-text-field.scss +8 -8
  6. package/core/tokens/m2/mdc/_outlined-text-field.scss +6 -6
  7. package/core/tokens/m2/mdc/_switch.scss +12 -3
  8. package/esm2022/badge/badge-module.mjs +6 -4
  9. package/esm2022/badge/badge.mjs +29 -3
  10. package/esm2022/badge/public-api.mjs +2 -2
  11. package/esm2022/button/button.mjs +2 -3
  12. package/esm2022/button/fab.mjs +2 -3
  13. package/esm2022/button/icon-button.mjs +2 -3
  14. package/esm2022/checkbox/checkbox.mjs +2 -3
  15. package/esm2022/chips/chip-row.mjs +2 -3
  16. package/esm2022/chips/chip.mjs +2 -3
  17. package/esm2022/core/common-behaviors/error-state.mjs +2 -4
  18. package/esm2022/core/ripple/ripple.mjs +2 -3
  19. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +2 -3
  20. package/esm2022/core/version.mjs +1 -1
  21. package/esm2022/dialog/dialog-container.mjs +4 -5
  22. package/esm2022/expansion/expansion-panel-header.mjs +2 -3
  23. package/esm2022/expansion/expansion-panel.mjs +2 -3
  24. package/esm2022/form-field/form-field.mjs +4 -5
  25. package/esm2022/list/list-base.mjs +2 -3
  26. package/esm2022/list/list.mjs +2 -3
  27. package/esm2022/progress-bar/progress-bar.mjs +4 -5
  28. package/esm2022/progress-spinner/progress-spinner.mjs +2 -3
  29. package/esm2022/radio/radio.mjs +2 -3
  30. package/esm2022/sidenav/drawer.mjs +2 -3
  31. package/esm2022/slide-toggle/slide-toggle.mjs +4 -5
  32. package/esm2022/slider/slider.mjs +2 -3
  33. package/esm2022/tabs/paginated-tab-header.mjs +2 -3
  34. package/esm2022/tabs/tab-group.mjs +2 -3
  35. package/esm2022/tabs/tab-header.mjs +2 -3
  36. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +2 -3
  37. package/esm2022/tooltip/tooltip.mjs +2 -3
  38. package/fesm2022/badge.mjs +32 -4
  39. package/fesm2022/badge.mjs.map +1 -1
  40. package/fesm2022/button.mjs +1 -2
  41. package/fesm2022/button.mjs.map +1 -1
  42. package/fesm2022/checkbox.mjs +1 -2
  43. package/fesm2022/checkbox.mjs.map +1 -1
  44. package/fesm2022/chips.mjs +1 -2
  45. package/fesm2022/chips.mjs.map +1 -1
  46. package/fesm2022/core.mjs +4 -7
  47. package/fesm2022/core.mjs.map +1 -1
  48. package/fesm2022/dialog.mjs +5 -6
  49. package/fesm2022/dialog.mjs.map +1 -1
  50. package/fesm2022/expansion.mjs +1 -2
  51. package/fesm2022/expansion.mjs.map +1 -1
  52. package/fesm2022/form-field.mjs +3 -4
  53. package/fesm2022/form-field.mjs.map +1 -1
  54. package/fesm2022/list.mjs +3 -4
  55. package/fesm2022/list.mjs.map +1 -1
  56. package/fesm2022/progress-bar.mjs +3 -4
  57. package/fesm2022/progress-bar.mjs.map +1 -1
  58. package/fesm2022/progress-spinner.mjs +1 -2
  59. package/fesm2022/progress-spinner.mjs.map +1 -1
  60. package/fesm2022/radio.mjs +1 -2
  61. package/fesm2022/radio.mjs.map +1 -1
  62. package/fesm2022/sidenav.mjs +1 -2
  63. package/fesm2022/sidenav.mjs.map +1 -1
  64. package/fesm2022/slide-toggle.mjs +3 -4
  65. package/fesm2022/slide-toggle.mjs.map +1 -1
  66. package/fesm2022/slider.mjs +1 -2
  67. package/fesm2022/slider.mjs.map +1 -1
  68. package/fesm2022/tabs.mjs +1 -2
  69. package/fesm2022/tabs.mjs.map +1 -1
  70. package/fesm2022/tooltip.mjs +1 -2
  71. package/fesm2022/tooltip.mjs.map +1 -1
  72. package/package.json +7 -7
  73. package/prebuilt-themes/deeppurple-amber.css +1 -1
  74. package/prebuilt-themes/indigo-pink.css +1 -1
  75. package/prebuilt-themes/pink-bluegrey.css +1 -1
  76. package/prebuilt-themes/purple-green.css +1 -1
  77. package/progress-bar/_progress-bar-theme.scss +2 -15
  78. package/schematics/ng-add/index.js +2 -2
  79. package/schematics/ng-add/index.mjs +2 -2
  80. package/schematics/ng-generate/mdc-migration/index_bundled.js +44 -44
  81. package/schematics/ng-update/index_bundled.js +31 -31
  82. package/slide-toggle/_slide-toggle-theme.scss +7 -7
@@ -6396,14 +6396,14 @@ var require_scss_syntax = __commonJS({
6396
6396
  }
6397
6397
  });
6398
6398
 
6399
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
6399
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
6400
6400
  var mdc_migration_exports = {};
6401
6401
  __export(mdc_migration_exports, {
6402
6402
  default: () => mdc_migration_default
6403
6403
  });
6404
6404
  module.exports = __toCommonJS(mdc_migration_exports);
6405
6405
 
6406
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/style-migrator.js
6406
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/style-migrator.js
6407
6407
  var END_OF_SELECTOR_REGEX = "(?!-)";
6408
6408
  var MIXIN_ARGUMENTS_REGEX = "\\(((\\s|.)*)\\)";
6409
6409
  var StyleMigrator = class {
@@ -6479,7 +6479,7 @@ var StyleMigrator = class {
6479
6479
  }
6480
6480
  };
6481
6481
 
6482
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/autocomplete/autocomplete-styles.js
6482
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/autocomplete/autocomplete-styles.js
6483
6483
  var AutocompleteStylesMigrator = class extends StyleMigrator {
6484
6484
  constructor() {
6485
6485
  super(...arguments);
@@ -6503,7 +6503,7 @@ var AutocompleteStylesMigrator = class extends StyleMigrator {
6503
6503
  }
6504
6504
  };
6505
6505
 
6506
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.js
6506
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/button/button-styles.js
6507
6507
  var ButtonStylesMigrator = class extends StyleMigrator {
6508
6508
  constructor() {
6509
6509
  super(...arguments);
@@ -6539,7 +6539,7 @@ var ButtonStylesMigrator = class extends StyleMigrator {
6539
6539
  }
6540
6540
  };
6541
6541
 
6542
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/card/card-styles.js
6542
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/card/card-styles.js
6543
6543
  var CardStylesMigrator = class extends StyleMigrator {
6544
6544
  constructor() {
6545
6545
  super(...arguments);
@@ -6578,7 +6578,7 @@ var CardStylesMigrator = class extends StyleMigrator {
6578
6578
  }
6579
6579
  };
6580
6580
 
6581
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migrator.js
6581
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migrator.js
6582
6582
  var TemplateMigrator = class {
6583
6583
  };
6584
6584
 
@@ -31680,7 +31680,7 @@ var FactoryTarget;
31680
31680
  })(FactoryTarget || (FactoryTarget = {}));
31681
31681
  publishFacade(_global);
31682
31682
 
31683
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/tree-traversal.js
31683
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/tree-traversal.js
31684
31684
  function visitElements(nodes, preorderCallback = () => {
31685
31685
  }, postorderCallback = () => {
31686
31686
  }) {
@@ -31760,7 +31760,7 @@ function replaceAt(str, offset, oldSubstr, newSubstr) {
31760
31760
  return prefix + newSubstr + suffix;
31761
31761
  }
31762
31762
 
31763
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/card/card-template.js
31763
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/card/card-template.js
31764
31764
  var CardTemplateMigrator = class extends TemplateMigrator {
31765
31765
  getUpdates(ast) {
31766
31766
  const updates = [];
@@ -31777,7 +31777,7 @@ var CardTemplateMigrator = class extends TemplateMigrator {
31777
31777
  }
31778
31778
  };
31779
31779
 
31780
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/checkbox/checkbox-styles.js
31780
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/checkbox/checkbox-styles.js
31781
31781
  var CheckboxStylesMigrator = class extends StyleMigrator {
31782
31782
  constructor() {
31783
31783
  super(...arguments);
@@ -31801,7 +31801,7 @@ var CheckboxStylesMigrator = class extends StyleMigrator {
31801
31801
  }
31802
31802
  };
31803
31803
 
31804
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-styles.js
31804
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-styles.js
31805
31805
  var ChipsStylesMigrator = class extends StyleMigrator {
31806
31806
  constructor() {
31807
31807
  super(...arguments);
@@ -31832,7 +31832,7 @@ var ChipsStylesMigrator = class extends StyleMigrator {
31832
31832
  }
31833
31833
  };
31834
31834
 
31835
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.js
31835
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/chips/chips-template.js
31836
31836
  var ChipsTemplateMigrator = class extends TemplateMigrator {
31837
31837
  constructor() {
31838
31838
  super(...arguments);
@@ -31912,7 +31912,7 @@ var ChipsTemplateMigrator = class extends TemplateMigrator {
31912
31912
  }
31913
31913
  };
31914
31914
 
31915
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/dialog/dialog-styles.js
31915
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/dialog/dialog-styles.js
31916
31916
  var DialogStylesMigrator = class extends StyleMigrator {
31917
31917
  constructor() {
31918
31918
  super(...arguments);
@@ -31942,7 +31942,7 @@ var DialogStylesMigrator = class extends StyleMigrator {
31942
31942
  }
31943
31943
  };
31944
31944
 
31945
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/form-field/form-field-styles.js
31945
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/form-field/form-field-styles.js
31946
31946
  var FormFieldStylesMigrator = class extends StyleMigrator {
31947
31947
  constructor() {
31948
31948
  super(...arguments);
@@ -31999,7 +31999,7 @@ var FormFieldStylesMigrator = class extends StyleMigrator {
31999
31999
  }
32000
32000
  };
32001
32001
 
32002
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/input/input-styles.js
32002
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/input/input-styles.js
32003
32003
  var InputStylesMigrator = class extends StyleMigrator {
32004
32004
  constructor() {
32005
32005
  super(...arguments);
@@ -32023,7 +32023,7 @@ var InputStylesMigrator = class extends StyleMigrator {
32023
32023
  }
32024
32024
  };
32025
32025
 
32026
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/list/list-styles.js
32026
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/list/list-styles.js
32027
32027
  var ListStylesMigrator = class extends StyleMigrator {
32028
32028
  constructor() {
32029
32029
  super(...arguments);
@@ -32054,7 +32054,7 @@ var ListStylesMigrator = class extends StyleMigrator {
32054
32054
  }
32055
32055
  };
32056
32056
 
32057
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/menu/menu-styles.js
32057
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/menu/menu-styles.js
32058
32058
  var MenuStylesMigrator = class extends StyleMigrator {
32059
32059
  constructor() {
32060
32060
  super(...arguments);
@@ -32087,7 +32087,7 @@ var MenuStylesMigrator = class extends StyleMigrator {
32087
32087
  }
32088
32088
  };
32089
32089
 
32090
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/paginator/paginator-styles.js
32090
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/paginator/paginator-styles.js
32091
32091
  var PaginatorStylesMigrator = class extends StyleMigrator {
32092
32092
  constructor() {
32093
32093
  super(...arguments);
@@ -32133,7 +32133,7 @@ var PaginatorStylesMigrator = class extends StyleMigrator {
32133
32133
  }
32134
32134
  };
32135
32135
 
32136
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/progress-bar/progress-bar-styles.js
32136
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/progress-bar/progress-bar-styles.js
32137
32137
  var ProgressBarStylesMigrator = class extends StyleMigrator {
32138
32138
  constructor() {
32139
32139
  super(...arguments);
@@ -32157,7 +32157,7 @@ var ProgressBarStylesMigrator = class extends StyleMigrator {
32157
32157
  }
32158
32158
  };
32159
32159
 
32160
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/progress-spinner/progress-spinner-styles.js
32160
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/progress-spinner/progress-spinner-styles.js
32161
32161
  var ProgressSpinnerStylesMigrator = class extends StyleMigrator {
32162
32162
  constructor() {
32163
32163
  super(...arguments);
@@ -32184,7 +32184,7 @@ var ProgressSpinnerStylesMigrator = class extends StyleMigrator {
32184
32184
  }
32185
32185
  };
32186
32186
 
32187
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/radio/radio-styles.js
32187
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/radio/radio-styles.js
32188
32188
  var RadioStylesMigrator = class extends StyleMigrator {
32189
32189
  constructor() {
32190
32190
  super(...arguments);
@@ -32211,7 +32211,7 @@ var RadioStylesMigrator = class extends StyleMigrator {
32211
32211
  }
32212
32212
  };
32213
32213
 
32214
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/select/select-styles.js
32214
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/select/select-styles.js
32215
32215
  var SelectStylesMigrator = class extends StyleMigrator {
32216
32216
  constructor() {
32217
32217
  super(...arguments);
@@ -32242,7 +32242,7 @@ var SelectStylesMigrator = class extends StyleMigrator {
32242
32242
  }
32243
32243
  };
32244
32244
 
32245
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slide-toggle/slide-toggle-styles.js
32245
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slide-toggle/slide-toggle-styles.js
32246
32246
  var SlideToggleStylesMigrator = class extends StyleMigrator {
32247
32247
  constructor() {
32248
32248
  super(...arguments);
@@ -32266,7 +32266,7 @@ var SlideToggleStylesMigrator = class extends StyleMigrator {
32266
32266
  }
32267
32267
  };
32268
32268
 
32269
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-styles.js
32269
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-styles.js
32270
32270
  var SliderStylesMigrator = class extends StyleMigrator {
32271
32271
  constructor() {
32272
32272
  super(...arguments);
@@ -32290,7 +32290,7 @@ var SliderStylesMigrator = class extends StyleMigrator {
32290
32290
  }
32291
32291
  };
32292
32292
 
32293
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/snack-bar/snack-bar-styles.js
32293
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/snack-bar/snack-bar-styles.js
32294
32294
  var SnackBarMigrator = class extends StyleMigrator {
32295
32295
  constructor() {
32296
32296
  super(...arguments);
@@ -32323,7 +32323,7 @@ var SnackBarMigrator = class extends StyleMigrator {
32323
32323
  }
32324
32324
  };
32325
32325
 
32326
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/table/table-styles.js
32326
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/table/table-styles.js
32327
32327
  var TableStylesMigrator = class extends StyleMigrator {
32328
32328
  constructor() {
32329
32329
  super(...arguments);
@@ -32364,7 +32364,7 @@ var TableStylesMigrator = class extends StyleMigrator {
32364
32364
  }
32365
32365
  };
32366
32366
 
32367
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/tabs/tabs-styles.js
32367
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/tabs/tabs-styles.js
32368
32368
  var TabsStylesMigrator = class extends StyleMigrator {
32369
32369
  constructor() {
32370
32370
  super(...arguments);
@@ -32395,7 +32395,7 @@ var TabsStylesMigrator = class extends StyleMigrator {
32395
32395
  }
32396
32396
  };
32397
32397
 
32398
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/tooltip/tooltip-styles.js
32398
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/tooltip/tooltip-styles.js
32399
32399
  var TooltipStylesMigrator = class extends StyleMigrator {
32400
32400
  constructor() {
32401
32401
  super(...arguments);
@@ -32429,7 +32429,7 @@ var TooltipStylesMigrator = class extends StyleMigrator {
32429
32429
  }
32430
32430
  };
32431
32431
 
32432
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/optgroup/optgroup-styles.js
32432
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/optgroup/optgroup-styles.js
32433
32433
  var OptgroupStylesMigrator = class extends StyleMigrator {
32434
32434
  constructor() {
32435
32435
  super(...arguments);
@@ -32462,7 +32462,7 @@ var OptgroupStylesMigrator = class extends StyleMigrator {
32462
32462
  }
32463
32463
  };
32464
32464
 
32465
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/option/option-styles.js
32465
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/option/option-styles.js
32466
32466
  var OptionStylesMigrator = class extends StyleMigrator {
32467
32467
  constructor() {
32468
32468
  super(...arguments);
@@ -32515,7 +32515,7 @@ var OptionStylesMigrator = class extends StyleMigrator {
32515
32515
  }
32516
32516
  };
32517
32517
 
32518
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/form-field/form-field-template.js
32518
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/form-field/form-field-template.js
32519
32519
  var FormFieldTemplateMigrator = class extends TemplateMigrator {
32520
32520
  getUpdates(ast) {
32521
32521
  const updates = [];
@@ -32532,7 +32532,7 @@ var FormFieldTemplateMigrator = class extends TemplateMigrator {
32532
32532
  }
32533
32533
  };
32534
32534
 
32535
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-template.js
32535
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-template.js
32536
32536
  var BindingType;
32537
32537
  (function(BindingType2) {
32538
32538
  BindingType2[BindingType2["INPUT"] = 0] = "INPUT";
@@ -32658,7 +32658,7 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
32658
32658
  }
32659
32659
  };
32660
32660
 
32661
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/constants.js
32661
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/constants.js
32662
32662
  var mappings = [
32663
32663
  ["display-4", "headline-1"],
32664
32664
  ["display-3", "headline-2"],
@@ -32675,7 +32675,7 @@ var RENAMED_TYPOGRAPHY_LEVELS = new Map(mappings);
32675
32675
  var RENAMED_TYPOGRAPHY_CLASSES = new Map(mappings.map((m) => ["mat-" + m[0], "mat-" + m[1]]));
32676
32676
  var COMBINED_TYPOGRAPHY_LEVELS = /* @__PURE__ */ new Map([["input", "body-1"]]);
32677
32677
 
32678
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/typography-hierarchy-template.js
32678
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/typography-hierarchy-template.js
32679
32679
  var TypographyHierarchyTemplateMigrator = class extends TemplateMigrator {
32680
32680
  getUpdates(ast) {
32681
32681
  const updates = [];
@@ -32718,7 +32718,7 @@ var TypographyHierarchyTemplateMigrator = class extends TemplateMigrator {
32718
32718
  }
32719
32719
  };
32720
32720
 
32721
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/typography-hierarchy-styles.js
32721
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/typography-hierarchy/typography-hierarchy-styles.js
32722
32722
  var TypographyHierarchyStylesMigrator = class extends StyleMigrator {
32723
32723
  constructor() {
32724
32724
  super();
@@ -32739,7 +32739,7 @@ var TypographyHierarchyStylesMigrator = class extends StyleMigrator {
32739
32739
  }
32740
32740
  };
32741
32741
 
32742
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/index.js
32742
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/index.js
32743
32743
  var LEGACY_MODULES = new Set([
32744
32744
  "legacy-autocomplete",
32745
32745
  "legacy-autocomplete/testing",
@@ -32893,14 +32893,14 @@ var PERMANENT_MIGRATORS = [
32893
32893
  ];
32894
32894
  var CORE_COMPONENTS = ["option", "optgroup"];
32895
32895
 
32896
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
32896
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
32897
32897
  var import_schematics4 = require("@angular/cdk/schematics");
32898
32898
 
32899
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/ts-migration/runtime-migration.js
32899
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/ts-migration/runtime-migration.js
32900
32900
  var import_schematics3 = require("@angular/cdk/schematics");
32901
32901
  var ts = __toESM(require("typescript"));
32902
32902
 
32903
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/theming-styles.js
32903
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/theming-styles.js
32904
32904
  var import_schematics = require("@angular/cdk/schematics");
32905
32905
  var import_path = require("path");
32906
32906
 
@@ -32943,7 +32943,7 @@ var scss_syntax_default = import_scss_syntax.default;
32943
32943
  var stringify3 = import_scss_syntax.default.stringify;
32944
32944
  var parse3 = import_scss_syntax.default.parse;
32945
32945
 
32946
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/theming-styles.js
32946
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/theming-styles.js
32947
32947
  var COMPONENTS_MIXIN_NAME = /\.([^(;]*)/;
32948
32948
  var ThemingStylesMigration = class extends import_schematics.Migration {
32949
32949
  constructor() {
@@ -33227,17 +33227,17 @@ function extractValueRange(content, colonIndex) {
33227
33227
  return start > -1 && end > -1 ? { start, end, fullEnd } : null;
33228
33228
  }
33229
33229
 
33230
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migration.js
33230
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migration.js
33231
33231
  var import_schematics2 = require("@angular/cdk/schematics");
33232
33232
 
33233
- // bazel-out/k8-fastbuild/bin/src/material/schematics/migration-utilities/update.js
33233
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/migration-utilities/update.js
33234
33234
  function writeUpdates(content, updates) {
33235
33235
  updates.sort((a, b) => b.offset - a.offset);
33236
33236
  updates.forEach((update) => content = update.updateFn(content));
33237
33237
  return content;
33238
33238
  }
33239
33239
 
33240
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migration.js
33240
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/template-migration.js
33241
33241
  var TemplateMigration = class extends import_schematics2.Migration {
33242
33242
  constructor() {
33243
33243
  super(...arguments);
@@ -33265,7 +33265,7 @@ var TemplateMigration = class extends import_schematics2.Migration {
33265
33265
  }
33266
33266
  };
33267
33267
 
33268
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/ts-migration/runtime-migration.js
33268
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/ts-migration/runtime-migration.js
33269
33269
  var RuntimeCodeMigration = class extends import_schematics3.Migration {
33270
33270
  constructor() {
33271
33271
  super(...arguments);
@@ -33494,7 +33494,7 @@ var RuntimeCodeMigration = class extends import_schematics3.Migration {
33494
33494
  }
33495
33495
  };
33496
33496
 
33497
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
33497
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/index.mjs
33498
33498
  var migrationGroups = [
33499
33499
  ["autocomplete", "form-field", "input", "option", "optgroup", "select"],
33500
33500
  ["button"],
@@ -474,9 +474,9 @@ var require_tslib = __commonJS({
474
474
  }
475
475
  });
476
476
 
477
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
477
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
478
478
  var require_legacy_imports_error = __commonJS({
479
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
479
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
480
480
  "use strict";
481
481
  Object.defineProperty(exports, "__esModule", { value: true });
482
482
  exports.legacyImportsError = void 0;
@@ -547,9 +547,9 @@ ${filesMessage}
547
547
  }
548
548
  });
549
549
 
550
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
550
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
551
551
  var require_attribute_selectors = __commonJS({
552
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
552
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
553
553
  "use strict";
554
554
  Object.defineProperty(exports, "__esModule", { value: true });
555
555
  exports.attributeSelectors = void 0;
@@ -557,9 +557,9 @@ var require_attribute_selectors = __commonJS({
557
557
  }
558
558
  });
559
559
 
560
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
560
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
561
561
  var require_class_names = __commonJS({
562
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
562
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
563
563
  "use strict";
564
564
  Object.defineProperty(exports, "__esModule", { value: true });
565
565
  exports.classNames = void 0;
@@ -567,9 +567,9 @@ var require_class_names = __commonJS({
567
567
  }
568
568
  });
569
569
 
570
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
570
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
571
571
  var require_constructor_checks = __commonJS({
572
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
572
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
573
573
  "use strict";
574
574
  Object.defineProperty(exports, "__esModule", { value: true });
575
575
  exports.constructorChecks = void 0;
@@ -577,9 +577,9 @@ var require_constructor_checks = __commonJS({
577
577
  }
578
578
  });
579
579
 
580
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
580
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
581
581
  var require_css_selectors = __commonJS({
582
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
582
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
583
583
  "use strict";
584
584
  Object.defineProperty(exports, "__esModule", { value: true });
585
585
  exports.cssSelectors = void 0;
@@ -587,9 +587,9 @@ var require_css_selectors = __commonJS({
587
587
  }
588
588
  });
589
589
 
590
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
590
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
591
591
  var require_element_selectors = __commonJS({
592
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
592
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
593
593
  "use strict";
594
594
  Object.defineProperty(exports, "__esModule", { value: true });
595
595
  exports.elementSelectors = void 0;
@@ -597,9 +597,9 @@ var require_element_selectors = __commonJS({
597
597
  }
598
598
  });
599
599
 
600
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
600
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
601
601
  var require_input_names = __commonJS({
602
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
602
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
603
603
  "use strict";
604
604
  Object.defineProperty(exports, "__esModule", { value: true });
605
605
  exports.inputNames = void 0;
@@ -607,9 +607,9 @@ var require_input_names = __commonJS({
607
607
  }
608
608
  });
609
609
 
610
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
610
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
611
611
  var require_method_call_checks = __commonJS({
612
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
612
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
613
613
  "use strict";
614
614
  Object.defineProperty(exports, "__esModule", { value: true });
615
615
  exports.methodCallChecks = void 0;
@@ -617,9 +617,9 @@ var require_method_call_checks = __commonJS({
617
617
  }
618
618
  });
619
619
 
620
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
620
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
621
621
  var require_output_names = __commonJS({
622
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
622
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
623
623
  "use strict";
624
624
  Object.defineProperty(exports, "__esModule", { value: true });
625
625
  exports.outputNames = void 0;
@@ -627,9 +627,9 @@ var require_output_names = __commonJS({
627
627
  }
628
628
  });
629
629
 
630
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
630
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
631
631
  var require_property_names = __commonJS({
632
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
632
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
633
633
  "use strict";
634
634
  Object.defineProperty(exports, "__esModule", { value: true });
635
635
  exports.propertyNames = void 0;
@@ -637,9 +637,9 @@ var require_property_names = __commonJS({
637
637
  }
638
638
  });
639
639
 
640
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
640
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
641
641
  var require_symbol_removal = __commonJS({
642
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
642
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
643
643
  "use strict";
644
644
  Object.defineProperty(exports, "__esModule", { value: true });
645
645
  exports.symbolRemoval = void 0;
@@ -647,9 +647,9 @@ var require_symbol_removal = __commonJS({
647
647
  }
648
648
  });
649
649
 
650
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
650
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js
651
651
  var require_data = __commonJS({
652
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
652
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
653
653
  "use strict";
654
654
  Object.defineProperty(exports, "__esModule", { value: true });
655
655
  var tslib_1 = require_tslib();
@@ -666,9 +666,9 @@ var require_data = __commonJS({
666
666
  }
667
667
  });
668
668
 
669
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
669
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
670
670
  var require_upgrade_data = __commonJS({
671
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
671
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
672
672
  "use strict";
673
673
  Object.defineProperty(exports, "__esModule", { value: true });
674
674
  exports.materialUpgradeData = void 0;
@@ -688,9 +688,9 @@ var require_upgrade_data = __commonJS({
688
688
  }
689
689
  });
690
690
 
691
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
691
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
692
692
  var require_migration = __commonJS({
693
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
693
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
694
694
  "use strict";
695
695
  Object.defineProperty(exports, "__esModule", { value: true });
696
696
  exports.addThemeBaseMixins = exports.checkThemeBaseMixins = void 0;
@@ -907,9 +907,9 @@ var require_migration = __commonJS({
907
907
  }
908
908
  });
909
909
 
910
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
910
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
911
911
  var require_theme_base_v17 = __commonJS({
912
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
912
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
913
913
  "use strict";
914
914
  Object.defineProperty(exports, "__esModule", { value: true });
915
915
  exports.ThemeBaseMigration = void 0;
@@ -992,7 +992,7 @@ ${mixinsText}`
992
992
  }
993
993
  });
994
994
 
995
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
995
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/index.mjs
996
996
  var ng_update_exports = {};
997
997
  __export(ng_update_exports, {
998
998
  updateToV17: () => updateToV17
@@ -31,10 +31,12 @@
31
31
  @include mdc-switch-theme.theme($mdc-switch-color-tokens);
32
32
  @include mdc-form-field-theme.theme(tokens-mdc-form-field.get-color-tokens($theme));
33
33
 
34
- // MDC should set the disabled color on the label, but doesn't, so we do it here instead.
35
- .mdc-switch--disabled + label {
36
- color: inspection.get-theme-color($theme, foreground, disabled-text);
37
- }
34
+ // TODO(wagnermaciel): Use our token system to define this css variable.
35
+ --mdc-switch-disabled-label-text-color: #{inspection.get-theme-color(
36
+ $theme,
37
+ foreground,
38
+ disabled-text
39
+ )};
38
40
 
39
41
  // Change the color palette related tokens to accent or warn if applicable
40
42
  &.mat-accent {
@@ -70,10 +72,8 @@
70
72
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
71
73
  }
72
74
  @else {
73
- $density-scale: inspection.get-theme-density($theme);
74
-
75
75
  .mat-mdc-slide-toggle {
76
- @include mdc-switch-theme.theme(mdc-switch-theme.density($density-scale));
76
+ @include mdc-switch-theme.theme(tokens-mdc-switch.get-density-tokens($theme));
77
77
  }
78
78
  }
79
79
  }