@angular/material 19.0.1 → 19.0.3
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.
- package/expansion/index.d.ts +9 -8
- package/fesm2022/button-toggle.mjs +28 -17
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/core.mjs +3 -3
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/expansion.mjs +89 -82
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/menu.mjs +41 -56
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +31 -22
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/select.mjs +15 -4
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sort.mjs +86 -198
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/tabs.mjs +1 -0
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +42 -27
- package/fesm2022/timepicker.mjs.map +1 -1
- package/menu/index.d.ts +6 -0
- package/package.json +2 -2
- package/paginator/index.d.ts +8 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-update/index_bundled.js +50 -41
- package/schematics/ng-update/index_bundled.js.map +2 -2
- package/select/index.d.ts +15 -2
- package/sort/index.d.ts +15 -48
- package/timepicker/index.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.3",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
},
|
|
355
355
|
"peerDependencies": {
|
|
356
356
|
"@angular/animations": "^19.0.0 || ^20.0.0",
|
|
357
|
-
"@angular/cdk": "19.0.
|
|
357
|
+
"@angular/cdk": "19.0.3",
|
|
358
358
|
"@angular/core": "^19.0.0 || ^20.0.0",
|
|
359
359
|
"@angular/common": "^19.0.0 || ^20.0.0",
|
|
360
360
|
"@angular/forms": "^19.0.0 || ^20.0.0",
|
package/paginator/index.d.ts
CHANGED
|
@@ -126,6 +126,14 @@ export declare class MatPaginator implements OnInit, OnDestroy {
|
|
|
126
126
|
private _updateDisplayedPageSizeOptions;
|
|
127
127
|
/** Emits an event notifying that a change of the paginator's properties has been triggered. */
|
|
128
128
|
private _emitPageEvent;
|
|
129
|
+
/** Navigates to a specific page index. */
|
|
130
|
+
private _navigate;
|
|
131
|
+
/**
|
|
132
|
+
* Callback invoked when one of the navigation buttons is called.
|
|
133
|
+
* @param targetIndex Index to which the paginator should navigate.
|
|
134
|
+
* @param isDisabled Whether the button is disabled.
|
|
135
|
+
*/
|
|
136
|
+
protected _buttonClicked(targetIndex: number, isDisabled: boolean): void;
|
|
129
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, [null, null, { optional: true; }]>;
|
|
130
138
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "color": { "alias": "color"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "selectConfig": { "alias": "selectConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
|
|
131
139
|
static ngAcceptInputType_pageIndex: unknown;
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.0.
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.0.3`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.0.
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.0.3`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -50,7 +50,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
// bazel-out/
|
|
53
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/theme-color/index.mjs
|
|
54
54
|
var theme_color_exports = {};
|
|
55
55
|
__export(theme_color_exports, {
|
|
56
56
|
default: () => theme_color_default,
|
|
@@ -2573,7 +2573,7 @@ function parseIntHex(value) {
|
|
|
2573
2573
|
return parseInt(value, 16);
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
2576
|
-
// bazel-out/
|
|
2576
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/theme-color/index.mjs
|
|
2577
2577
|
var HUE_TONES = [0, 10, 20, 25, 30, 35, 40, 50, 60, 70, 80, 90, 95, 98, 99, 100];
|
|
2578
2578
|
var NEUTRAL_HUES = /* @__PURE__ */ new Map([
|
|
2579
2579
|
[4, { prev: 0, next: 10 }],
|
|
@@ -658,9 +658,9 @@ var require_tslib = __commonJS({
|
|
|
658
658
|
}
|
|
659
659
|
});
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
662
662
|
var require_attribute_selectors = __commonJS({
|
|
663
|
-
"bazel-out/
|
|
663
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
664
664
|
"use strict";
|
|
665
665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
666
666
|
exports.attributeSelectors = void 0;
|
|
@@ -668,9 +668,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
668
668
|
}
|
|
669
669
|
});
|
|
670
670
|
|
|
671
|
-
// bazel-out/
|
|
671
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
672
672
|
var require_class_names = __commonJS({
|
|
673
|
-
"bazel-out/
|
|
673
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
674
674
|
"use strict";
|
|
675
675
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
676
676
|
exports.classNames = void 0;
|
|
@@ -678,9 +678,9 @@ var require_class_names = __commonJS({
|
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
680
|
|
|
681
|
-
// bazel-out/
|
|
681
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
682
682
|
var require_constructor_checks = __commonJS({
|
|
683
|
-
"bazel-out/
|
|
683
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
684
684
|
"use strict";
|
|
685
685
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
686
686
|
exports.constructorChecks = void 0;
|
|
@@ -688,9 +688,9 @@ var require_constructor_checks = __commonJS({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
// bazel-out/
|
|
691
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
692
692
|
var require_css_selectors = __commonJS({
|
|
693
|
-
"bazel-out/
|
|
693
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
694
694
|
"use strict";
|
|
695
695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
696
696
|
exports.cssSelectors = void 0;
|
|
@@ -698,9 +698,9 @@ var require_css_selectors = __commonJS({
|
|
|
698
698
|
}
|
|
699
699
|
});
|
|
700
700
|
|
|
701
|
-
// bazel-out/
|
|
701
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
|
|
702
702
|
var require_css_tokens = __commonJS({
|
|
703
|
-
"bazel-out/
|
|
703
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
|
|
704
704
|
"use strict";
|
|
705
705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
706
706
|
exports.cssTokens = void 0;
|
|
@@ -708,9 +708,9 @@ var require_css_tokens = __commonJS({
|
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
710
|
|
|
711
|
-
// bazel-out/
|
|
711
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
712
712
|
var require_element_selectors = __commonJS({
|
|
713
|
-
"bazel-out/
|
|
713
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
714
714
|
"use strict";
|
|
715
715
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
716
716
|
exports.elementSelectors = void 0;
|
|
@@ -718,9 +718,9 @@ var require_element_selectors = __commonJS({
|
|
|
718
718
|
}
|
|
719
719
|
});
|
|
720
720
|
|
|
721
|
-
// bazel-out/
|
|
721
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
722
722
|
var require_input_names = __commonJS({
|
|
723
|
-
"bazel-out/
|
|
723
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
724
724
|
"use strict";
|
|
725
725
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
726
726
|
exports.inputNames = void 0;
|
|
@@ -728,9 +728,9 @@ var require_input_names = __commonJS({
|
|
|
728
728
|
}
|
|
729
729
|
});
|
|
730
730
|
|
|
731
|
-
// bazel-out/
|
|
731
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
732
732
|
var require_method_call_checks = __commonJS({
|
|
733
|
-
"bazel-out/
|
|
733
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
734
734
|
"use strict";
|
|
735
735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
736
736
|
exports.methodCallChecks = void 0;
|
|
@@ -738,9 +738,9 @@ var require_method_call_checks = __commonJS({
|
|
|
738
738
|
}
|
|
739
739
|
});
|
|
740
740
|
|
|
741
|
-
// bazel-out/
|
|
741
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
742
742
|
var require_output_names = __commonJS({
|
|
743
|
-
"bazel-out/
|
|
743
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
744
744
|
"use strict";
|
|
745
745
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
746
746
|
exports.outputNames = void 0;
|
|
@@ -748,9 +748,9 @@ var require_output_names = __commonJS({
|
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
750
|
|
|
751
|
-
// bazel-out/
|
|
751
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
752
752
|
var require_property_names = __commonJS({
|
|
753
|
-
"bazel-out/
|
|
753
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
754
754
|
"use strict";
|
|
755
755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
756
756
|
exports.propertyNames = void 0;
|
|
@@ -758,9 +758,9 @@ var require_property_names = __commonJS({
|
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
760
|
|
|
761
|
-
// bazel-out/
|
|
761
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
762
762
|
var require_symbol_removal = __commonJS({
|
|
763
|
-
"bazel-out/
|
|
763
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
764
764
|
"use strict";
|
|
765
765
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
766
766
|
exports.symbolRemoval = void 0;
|
|
@@ -768,9 +768,9 @@ var require_symbol_removal = __commonJS({
|
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
770
|
|
|
771
|
-
// bazel-out/
|
|
771
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
772
772
|
var require_data = __commonJS({
|
|
773
|
-
"bazel-out/
|
|
773
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
774
774
|
"use strict";
|
|
775
775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
776
776
|
var tslib_1 = require_tslib();
|
|
@@ -788,9 +788,9 @@ var require_data = __commonJS({
|
|
|
788
788
|
}
|
|
789
789
|
});
|
|
790
790
|
|
|
791
|
-
// bazel-out/
|
|
791
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
792
792
|
var require_upgrade_data = __commonJS({
|
|
793
|
-
"bazel-out/
|
|
793
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
794
794
|
"use strict";
|
|
795
795
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
796
796
|
exports.materialUpgradeData = void 0;
|
|
@@ -7210,9 +7210,9 @@ var require_scss_syntax = __commonJS({
|
|
|
7210
7210
|
}
|
|
7211
7211
|
});
|
|
7212
7212
|
|
|
7213
|
-
// bazel-out/
|
|
7213
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/mat-core-removal.js
|
|
7214
7214
|
var require_mat_core_removal = __commonJS({
|
|
7215
|
-
"bazel-out/
|
|
7215
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/mat-core-removal.js"(exports) {
|
|
7216
7216
|
"use strict";
|
|
7217
7217
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7218
7218
|
exports.MatCoreMigration = void 0;
|
|
@@ -7220,6 +7220,7 @@ var require_mat_core_removal = __commonJS({
|
|
|
7220
7220
|
var postcss = tslib_1.__importStar(require_postcss());
|
|
7221
7221
|
var scss = tslib_1.__importStar(require_scss_syntax());
|
|
7222
7222
|
var schematics_1 = require("@angular/cdk/schematics");
|
|
7223
|
+
var MATERIAL_IMPORT_PATH = "@angular/material";
|
|
7223
7224
|
var MatCoreMigration2 = class extends schematics_1.Migration {
|
|
7224
7225
|
constructor() {
|
|
7225
7226
|
super(...arguments);
|
|
@@ -7229,16 +7230,24 @@ var require_mat_core_removal = __commonJS({
|
|
|
7229
7230
|
init() {
|
|
7230
7231
|
}
|
|
7231
7232
|
visitStylesheet(stylesheet) {
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7233
|
+
if (!stylesheet.content.includes(MATERIAL_IMPORT_PATH)) {
|
|
7234
|
+
return;
|
|
7235
|
+
}
|
|
7236
|
+
try {
|
|
7237
|
+
const processor = new postcss.Processor([
|
|
7238
|
+
{
|
|
7239
|
+
postcssPlugin: "mat-core-removal-v19-plugin",
|
|
7240
|
+
AtRule: {
|
|
7241
|
+
use: (node) => this._getNamespace(node),
|
|
7242
|
+
include: (node) => this._handleAtInclude(node, stylesheet.filePath)
|
|
7243
|
+
}
|
|
7238
7244
|
}
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7245
|
+
]);
|
|
7246
|
+
processor.process(stylesheet.content, { syntax: scss }).sync();
|
|
7247
|
+
} catch (e) {
|
|
7248
|
+
this.logger.warn(`Failed to migrate usages of mat.core in ${stylesheet.filePath} due to error:`);
|
|
7249
|
+
this.logger.warn(e + "");
|
|
7250
|
+
}
|
|
7242
7251
|
}
|
|
7243
7252
|
_handleAtInclude(node, filePath) {
|
|
7244
7253
|
var _a, _b;
|
|
@@ -7265,7 +7274,7 @@ var require_mat_core_removal = __commonJS({
|
|
|
7265
7274
|
return false;
|
|
7266
7275
|
}
|
|
7267
7276
|
_getNamespace(node) {
|
|
7268
|
-
if (!this._namespace && node.params.startsWith(
|
|
7277
|
+
if (!this._namespace && node.params.startsWith(MATERIAL_IMPORT_PATH, 1)) {
|
|
7269
7278
|
this._namespace = node.params.split(/\s+/)[2] || "material";
|
|
7270
7279
|
}
|
|
7271
7280
|
}
|
|
@@ -7278,9 +7287,9 @@ var require_mat_core_removal = __commonJS({
|
|
|
7278
7287
|
}
|
|
7279
7288
|
});
|
|
7280
7289
|
|
|
7281
|
-
// bazel-out/
|
|
7290
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/explicit-system-variable-prefix.js
|
|
7282
7291
|
var require_explicit_system_variable_prefix = __commonJS({
|
|
7283
|
-
"bazel-out/
|
|
7292
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/explicit-system-variable-prefix.js"(exports) {
|
|
7284
7293
|
"use strict";
|
|
7285
7294
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7286
7295
|
exports.ExplicitSystemVariablePrefixMigration = void 0;
|
|
@@ -7366,7 +7375,7 @@ var require_explicit_system_variable_prefix = __commonJS({
|
|
|
7366
7375
|
}
|
|
7367
7376
|
});
|
|
7368
7377
|
|
|
7369
|
-
// bazel-out/
|
|
7378
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
7370
7379
|
var ng_update_exports = {};
|
|
7371
7380
|
__export(ng_update_exports, {
|
|
7372
7381
|
updateToV19: () => updateToV19
|