@angular/material-experimental 17.0.1 → 17.1.0-next.0

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.
@@ -7,5 +7,5 @@
7
7
  */
8
8
  import { Version } from '@angular/core';
9
9
  /** Current version of the Material experimental package. */
10
- export const VERSION = new Version('17.0.1');
10
+ export const VERSION = new Version('17.1.0-next.0');
11
11
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC1leHBlcmltZW50YWwvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXRDLDREQUE0RDtBQUM1RCxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsbUJBQW1CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKiogQ3VycmVudCB2ZXJzaW9uIG9mIHRoZSBNYXRlcmlhbCBleHBlcmltZW50YWwgcGFja2FnZS4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0=
@@ -1,7 +1,7 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
3
  /** Current version of the Material experimental package. */
4
- const VERSION = new Version('17.0.1');
4
+ const VERSION = new Version('17.1.0-next.0');
5
5
 
6
6
  export { VERSION };
7
7
  //# sourceMappingURL=material-experimental.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"material-experimental.mjs","sources":["../../../../../../src/material-experimental/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Material experimental package. */\nexport const VERSION = new Version('17.0.1');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
1
+ {"version":3,"file":"material-experimental.mjs","sources":["../../../../../../src/material-experimental/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Material experimental package. */\nexport const VERSION = new Version('17.1.0-next.0');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/material-experimental",
3
- "version": "17.0.1",
3
+ "version": "17.1.0-next.0",
4
4
  "description": "Experimental components for Angular Material",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,13 +48,13 @@
48
48
  }
49
49
  },
50
50
  "peerDependencies": {
51
- "@angular/animations": "^17.0.0 || ^18.0.0",
52
- "@angular/cdk": "17.0.1",
53
- "@angular/core": "^17.0.0 || ^18.0.0",
54
- "@angular/common": "^17.0.0 || ^18.0.0",
55
- "@angular/forms": "^17.0.0 || ^18.0.0",
56
- "@angular/platform-browser": "^17.0.0 || ^18.0.0",
57
- "@angular/material": "17.0.1"
51
+ "@angular/animations": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
52
+ "@angular/cdk": "17.1.0-next.0",
53
+ "@angular/core": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
54
+ "@angular/common": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
55
+ "@angular/forms": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
56
+ "@angular/platform-browser": "^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0",
57
+ "@angular/material": "17.1.0-next.0"
58
58
  },
59
59
  "dependencies": {
60
60
  "tslib": "^2.3.0",
@@ -62,6 +62,19 @@
62
62
  );
63
63
  }
64
64
 
65
+ /// Generates custom tokens for the mat-grid-list.
66
+ /// @param {Map} $systems The MDC system tokens
67
+ /// @param {Boolean} $exclude-hardcoded Whether to exclude hardcoded token values
68
+ /// @return {Map} A set of custom tokens for the mat-grid-list
69
+ @function grid-list($systems, $exclude-hardcoded) {
70
+ @return (
71
+ tile-header-primary-text-size: map.get($systems, md-sys-typescale, body-large),
72
+ tile-header-secondary-text-size: map.get($systems, md-sys-typescale, body-medium),
73
+ tile-footer-primary-text-size: map.get($systems, md-sys-typescale, body-large),
74
+ tile-footer-secondary-text-size: map.get($systems, md-sys-typescale, body-medium),
75
+ );
76
+ }
77
+
65
78
  /// Generates custom tokens for the mat-toolbar.
66
79
  /// @param {Map} $systems The MDC system tokens
67
80
  /// @param {Boolean} $exclude-hardcoded Whether to exclude hardcoded token values
@@ -45,6 +45,7 @@ $_density-tokens: (
45
45
  // Custom Angular Material tokens
46
46
  (mat, card): (),
47
47
  (mat, form-fild): (),
48
+ (mat, grid-list): (),
48
49
  (mat, toolbar): (
49
50
  standard-height: (64px, 60px, 56px, 52px),
50
51
  mobile-height: (56px, 52px, 48px, 44px),
@@ -259,6 +259,11 @@
259
259
  custom-tokens.form-field($systems, $exclude-hardcoded),
260
260
  $token-slots
261
261
  ),
262
+ _namespace-tokens(
263
+ (mat, grid-list),
264
+ custom-tokens.grid-list($systems, $exclude-hardcoded),
265
+ $token-slots
266
+ ),
262
267
  _namespace-tokens(
263
268
  (mat, toolbar),
264
269
  custom-tokens.toolbar($systems, $exclude-hardcoded),