@angular/material 15.0.0-next.2 → 15.0.0-next.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/core/_core.scss +1 -6
- package/esm2020/autocomplete/autocomplete.mjs +2 -1
- package/esm2020/chips/chip-set.mjs +2 -1
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/expansion/accordion.mjs +2 -1
- package/esm2020/legacy-chips/chip-list.mjs +3 -4
- package/esm2020/legacy-list/selection-list.mjs +3 -4
- package/esm2020/list/selection-list.mjs +3 -4
- package/esm2020/menu/menu.mjs +4 -6
- package/esm2020/select/select.mjs +4 -3
- package/esm2020/tabs/paginated-tab-header.mjs +3 -2
- package/fesm2015/autocomplete.mjs +2 -0
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/chips.mjs +2 -0
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +1 -1
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/expansion.mjs +2 -0
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/legacy-chips.mjs +3 -3
- package/fesm2015/legacy-chips.mjs.map +1 -1
- package/fesm2015/legacy-list.mjs +3 -3
- package/fesm2015/legacy-list.mjs.map +1 -1
- package/fesm2015/list.mjs +3 -3
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +4 -5
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/select.mjs +4 -2
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/tabs.mjs +3 -1
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +1 -0
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/chips.mjs +1 -0
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +1 -1
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/expansion.mjs +1 -0
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/legacy-chips.mjs +2 -3
- package/fesm2020/legacy-chips.mjs.map +1 -1
- package/fesm2020/legacy-list.mjs +2 -3
- package/fesm2020/legacy-list.mjs.map +1 -1
- package/fesm2020/list.mjs +2 -3
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +3 -5
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/select.mjs +3 -2
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/tabs.mjs +2 -1
- package/fesm2020/tabs.mjs.map +1 -1
- package/legacy-core/_core.scss +1 -7
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
- package/menu/index.d.ts +0 -2
- package/package.json +2 -2
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-update/index_bundled.js +19 -5
- package/schematics/ng-update/index_bundled.js.map +2 -2
- package/schematics/ng-update/ng_update_index_metadata.json +1 -1
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~15.0.0-next.2`;
|
|
21
|
+
const fallbackMaterialVersionRange = `~15.0.0-next.2+sha-d9b545a`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~15.0.0-next.2`;
|
|
21
|
+
const fallbackMaterialVersionRange = `~15.0.0-next.2+sha-d9b545a`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -9192,8 +9192,7 @@ var require_constants = __commonJS({
|
|
|
9192
9192
|
"all-component-themes": "all-legacy-component-themes",
|
|
9193
9193
|
"all-component-colors": "all-legacy-component-colors",
|
|
9194
9194
|
"all-component-typographies": "all-legacy-component-typographies",
|
|
9195
|
-
"private-all-component-densities": "private-all-legacy-component-densities"
|
|
9196
|
-
"core": "legacy-core"
|
|
9195
|
+
"private-all-component-densities": "private-all-legacy-component-densities"
|
|
9197
9196
|
};
|
|
9198
9197
|
exports.CUSTOM_SASS_FUNCTION_RENAMINGS = {
|
|
9199
9198
|
"define-typography-config": "define-legacy-typography-config"
|
|
@@ -9258,12 +9257,27 @@ var require_legacy_components_v15 = __commonJS({
|
|
|
9258
9257
|
return;
|
|
9259
9258
|
}
|
|
9260
9259
|
_handleAtInclude(node, filePath, namespace) {
|
|
9261
|
-
var _a;
|
|
9260
|
+
var _a, _b;
|
|
9262
9261
|
if (!namespace || !((_a = node.source) == null ? void 0 : _a.start)) {
|
|
9263
9262
|
return;
|
|
9264
9263
|
}
|
|
9265
|
-
const
|
|
9266
|
-
|
|
9264
|
+
const original = node.toString();
|
|
9265
|
+
const [atInclude, delim, mixinName, ...rest] = original.split(/([.(;])/);
|
|
9266
|
+
if (mixinName === "core") {
|
|
9267
|
+
const updatedFunctionsRest = Object.keys(constants_1.CUSTOM_SASS_FUNCTION_RENAMINGS).reduce((s, r) => s.replace(new RegExp(r, "g"), constants_1.CUSTOM_SASS_FUNCTION_RENAMINGS[r]), rest.join(""));
|
|
9268
|
+
const includeTypography = [atInclude, delim, mixinName, updatedFunctionsRest].join("").replace(`${namespace}.core`, `${namespace}.all-legacy-component-typographies`);
|
|
9269
|
+
const indent = ((_b = original.match(/^\s*/)) == null ? void 0 : _b[0]) || "";
|
|
9270
|
+
this._replaceAt(filePath, node.source.start.offset, {
|
|
9271
|
+
old: original,
|
|
9272
|
+
new: [
|
|
9273
|
+
`${indent}// TODO(v15): As of v15 ${namespace}.legacy-core no longer includes default typography styles.`,
|
|
9274
|
+
`${indent}// Instead an explicit typography include has been automatically added here.`,
|
|
9275
|
+
`${indent}// If you add typography styles elsewhere, you may want to remove this.`,
|
|
9276
|
+
`${includeTypography};`,
|
|
9277
|
+
`${indent}@include ${namespace}.legacy-core()`
|
|
9278
|
+
].join("\n")
|
|
9279
|
+
});
|
|
9280
|
+
} else if (constants_1.CUSTOM_SASS_MIXIN_RENAMINGS[mixinName]) {
|
|
9267
9281
|
this._replaceAt(filePath, node.source.start.offset, {
|
|
9268
9282
|
old: `${namespace}.${mixinName}`,
|
|
9269
9283
|
new: `${namespace}.${constants_1.CUSTOM_SASS_MIXIN_RENAMINGS[mixinName]}`
|