@angular/material
Advanced tools
Comparing version 18.0.0-next.1 to 18.0.0-next.2
@@ -107,3 +107,2 @@ import { AfterContentInit } from '@angular/core'; | ||
private _elementRef; | ||
private _ngZone; | ||
private _changeDetectorRef?; | ||
@@ -113,3 +112,3 @@ private _keyManager; | ||
private _yPosition; | ||
private _firstItemFocusSubscription?; | ||
private _firstItemFocusRef?; | ||
private _previousElevation; | ||
@@ -195,2 +194,3 @@ private _elevationPrefix; | ||
readonly panelId: string; | ||
private _injector; | ||
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions, changeDetectorRef: ChangeDetectorRef); | ||
@@ -197,0 +197,0 @@ /** |
{ | ||
"name": "@angular/material", | ||
"version": "18.0.0-next.1", | ||
"version": "18.0.0-next.2", | ||
"description": "Angular Material", | ||
@@ -46,2 +46,14 @@ "repository": { | ||
}, | ||
"./prebuilt-themes/azure-blue.css": { | ||
"style": "./prebuilt-themes/azure-blue.css" | ||
}, | ||
"./prebuilt-themes/rose-red.css": { | ||
"style": "./prebuilt-themes/rose-red.css" | ||
}, | ||
"./prebuilt-themes/cyan-orange.css": { | ||
"style": "./prebuilt-themes/cyan-orange.css" | ||
}, | ||
"./prebuilt-themes/magenta-violet.css": { | ||
"style": "./prebuilt-themes/magenta-violet.css" | ||
}, | ||
"./prebuilt-themes/*": { | ||
@@ -482,3 +494,3 @@ "style": "./prebuilt-themes/*.css" | ||
"@angular/animations": "^18.0.0-0 || ^18.1.0-0 || ^18.2.0-0 || ^18.3.0-0 || ^19.0.0-0", | ||
"@angular/cdk": "18.0.0-next.1", | ||
"@angular/cdk": "18.0.0-next.2", | ||
"@angular/core": "^18.0.0-0 || ^18.1.0-0 || ^18.2.0-0 || ^18.3.0-0 || ^19.0.0-0", | ||
@@ -485,0 +497,0 @@ "@angular/common": "^18.0.0-0 || ^18.1.0-0 || ^18.2.0-0 || ^18.3.0-0 || ^19.0.0-0", |
@@ -21,3 +21,3 @@ "use strict"; | ||
*/ | ||
const fallbackMaterialVersionRange = `~18.0.0-next.1`; | ||
const fallbackMaterialVersionRange = `~18.0.0-next.2`; | ||
/** | ||
@@ -24,0 +24,0 @@ * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be |
@@ -14,5 +14,5 @@ /** | ||
/** Name of pre-built theme to install. */ | ||
theme: 'indigo-pink' | 'deeppurple-amber' | 'pink-bluegrey' | 'purple-green' | 'custom'; | ||
theme: 'azure-blue' | 'rose-red' | 'magenta-violet' | 'cyan-orange' | 'custom'; | ||
/** Whether to set up global typography styles. */ | ||
typography: boolean; | ||
} |
@@ -10,2 +10,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21hdGVyaWFsL3NjaGVtYXRpY3MvbmctYWRkL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7OztHQU1HIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmV4cG9ydCBpbnRlcmZhY2UgU2NoZW1hIHtcbiAgLyoqIE5hbWUgb2YgdGhlIHByb2plY3QuICovXG4gIHByb2plY3Q6IHN0cmluZztcblxuICAvKiogV2hldGhlciB0aGUgQW5ndWxhciBicm93c2VyIGFuaW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G4gIHByb2plY3Q6IHN0cmluZztcblxuICAvKiogV2hldGhlciB0aGUgQW5ndWxhciBicm93c2VyIGFuaW1hdGlvbnMgbW9kdWxlIHNob3VsZCBiZSBpbmNsdWRlZCBhbmQgZW5hYmxlZC4gKi9cbiAgYW5pbWF0aW9uczogJ2VuYWJsZWQnIHwgJ2Rpc2FibGVkJyB8ICdleGNsdWRlZCc7XG5cbiAgLyoqIE5hbWUgb2YgcHJlLWJ1aWx0IHRoZW1lIHRvIGluc3RhbGwuICovXG4gIHRoZW1lOiAnYXp1cmUtYmx1ZScgfCAncm9zZS1yZWQnIHwgJ21hZ2VudGEtdmlvbGV0JyB8ICdjeWFuLW9yYW5nZScgfCAnY3VzdG9tJztcblxuICAvKiogV2hldGhlciB0byBzZXQgdXAgZ2xvYmFsIHR5cG9ncmFwaHkgc3R5bGVzLiAqL1xuICB0eXBvZ3JhcGh5OiBib29sZWFuO1xufVxuIl19 |
@@ -17,3 +17,3 @@ { | ||
"type": "string", | ||
"default": "indigo-pink", | ||
"default": "azure-blue", | ||
"x-prompt": { | ||
@@ -24,16 +24,16 @@ "message": "Choose a prebuilt theme name, or \"custom\" for a custom theme:", | ||
{ | ||
"value": "indigo-pink", | ||
"label": "Indigo/Pink [ Preview: https://material.angular.io?theme=indigo-pink ]" | ||
"value": "azure-blue", | ||
"label": "Azure/Blue [Preview: https://material.angular.io?theme=azure-blue]" | ||
}, | ||
{ | ||
"value": "deeppurple-amber", | ||
"label": "Deep Purple/Amber [ Preview: https://material.angular.io?theme=deeppurple-amber ]" | ||
"value": "rose-red", | ||
"label": "Rose/Red [Preview: https://material.angular.io?theme=rose-red]" | ||
}, | ||
{ | ||
"value": "pink-bluegrey", | ||
"label": "Pink/Blue Grey [ Preview: https://material.angular.io?theme=pink-bluegrey ]" | ||
"value": "magenta-violet", | ||
"label": "Magenta/Violet [Preview: https://material.angular.io?theme=magenta-violet]" | ||
}, | ||
{ | ||
"value": "purple-green", | ||
"label": "Purple/Green [ Preview: https://material.angular.io?theme=purple-green ]" | ||
"value": "cyan-orange", | ||
"label": "Cyan/Orange [Preview: https://material.angular.io?theme=cyan-orange]" | ||
}, | ||
@@ -40,0 +40,0 @@ {"value": "custom", "label": "Custom"} |
@@ -17,2 +17,3 @@ "use strict"; | ||
@use '@angular/material' as mat; | ||
@use '@angular/material-experimental' as matx; | ||
// Plus imports for other components in your app. | ||
@@ -25,21 +26,12 @@ | ||
// Define the palettes for your theme using the Material Design palettes available in palette.scss | ||
// (imported above). For each palette, you can optionally specify a default, lighter, and darker | ||
// hue. Available color palettes: https://material.io/design/color/ | ||
$${name}-primary: mat.define-palette(mat.$indigo-palette); | ||
$${name}-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400); | ||
// The warn palette is optional (defaults to red). | ||
$${name}-warn: mat.define-palette(mat.$red-palette); | ||
// Create the theme object. A theme consists of configurations for individual | ||
// theming systems such as "color" or "typography". | ||
$${name}-theme: mat.define-light-theme(( | ||
// Define the theme object. | ||
$${name}-theme: matx.define-theme(( | ||
color: ( | ||
primary: $${name}-primary, | ||
accent: $${name}-accent, | ||
warn: $${name}-warn, | ||
theme-type: light, | ||
primary: matx.$m3-azure-palette, | ||
tertiary: matx.$m3-blue-palette, | ||
), | ||
typography: mat.define-typography-config(), | ||
density: 0 | ||
density: ( | ||
scale: 0, | ||
) | ||
)); | ||
@@ -50,7 +42,15 @@ | ||
// that you are using. | ||
@include mat.all-component-themes($${name}-theme); | ||
:root { | ||
@include mat.all-component-themes($${name}-theme); | ||
} | ||
// Comment out the line below if you want to use the pre-defined typography utility classes. | ||
// For more information: https://material.angular.io/guide/typography#using-typography-styles-in-your-application. | ||
// @include mat.typography-hierarchy($theme); | ||
// Comment out the line below if you want to use the deprecated \`color\` inputs. | ||
// @include matx.color-variants-back-compat($theme); | ||
`; | ||
} | ||
exports.createCustomTheme = createCustomTheme; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWN1c3R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FtZX0tdGhlbWUpO1xufVxuXG4vLyBDb21tZW50IG91dCB0aGUgbGluZSBiZWxvdyBpZiB5b3Ugd2FudCB0byB1c2UgdGhlIHByZS1kZWZpbmVkIHR5cG9ncmFwaHkgdXRpbGl0eSBjbGFzc2VzLlxuLy8gRm9yIG1vcmUgaW5mb3JtYXRpb246IGh0dHBzOi8vbWF0ZXJpYWwuYW5ndWxhci5pby9ndWlkZS90eXBvZ3JhcGh5I3VzaW5nLXR5cG9ncmFwaHktc3R5bGVzLWluLXlvdXItYXBwbGljYXRpb24uXG4vLyBAaW5jbHVkZSBtYXQudHlwb2dyYXBoeS1oaWVyYXJjaHkoJHRoZW1lKTtcblxuLy8gQ29tbWVudCBvdXQgdGhlIGxpbmUgYmVsb3cgaWYgeW91IHdhbnQgdG8gdXNlIHRoZSBkZXByZWNhdGVkIFxcYGNvbG9yXFxgIGlucHV0cy5cbi8vIEBpbmNsdWRlIG1hdHguY29sb3ItdmFyaWFudHMtYmFjay1jb21wYXQoJHRoZW1lKTtcbmA7XG59XG4iXX0= |
@@ -25,3 +25,3 @@ "use strict"; | ||
return (host, context) => { | ||
const themeName = options.theme || 'indigo-pink'; | ||
const themeName = options.theme || 'azure-blue'; | ||
return themeName === 'custom' | ||
@@ -153,2 +153,2 @@ ? insertCustomTheme(options.project, host, context.logger) | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhlbWluZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC9zY2hlbWF0aWNzL25nLWFkZC90aGVtaW5nL3RoZW1pbmcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7O0FBRUgsK0NBQW9FO0FBQ3BFLDJEQU9vQztBQUNwQyx3REFRaUM7QUFDakMsK0RBQWdFO0FBQ2hFLHFFQUFv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@angular/core'; | ||
readonly indexFocused: EventEmitter<number>; | ||
private _injector; | ||
constructor(_elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _viewportRuler: ViewportRuler, _dir: Directionality, _ngZone: NgZone, _platform: Platform, _animationMode?: string | undefined); | ||
@@ -243,0 +242,0 @@ /** Called when the user has selected an item via the keyboard. */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
19543313
1025
140931