@s-libs/ng-mat-core
Advanced tools
+5
-5
| { | ||
| "name": "@s-libs/ng-mat-core", | ||
| "version": "20.0.0-next.1", | ||
| "version": "20.0.0", | ||
| "author": "Simonton Software", | ||
@@ -15,6 +15,6 @@ "license": "MIT", | ||
| "@angular/core": "^20.0.0", | ||
| "@s-libs/js-core": "^20.0.0-next.1", | ||
| "@s-libs/micro-dash": "^20.0.0-next.1", | ||
| "@s-libs/ng-core": "^20.0.0-next.1", | ||
| "@s-libs/rxjs-core": "^20.0.0-next.1" | ||
| "@s-libs/js-core": "^20.0.0", | ||
| "@s-libs/micro-dash": "^20.0.0", | ||
| "@s-libs/ng-core": "^20.0.0", | ||
| "@s-libs/rxjs-core": "^20.0.0" | ||
| }, | ||
@@ -21,0 +21,0 @@ "dependencies": { |
@@ -96,6 +96,3 @@ @use "sass:map"; | ||
| /// Includes just the colors for a dark theme. | ||
| /// | ||
| /// @param {Map} $config - The config object used for multiple mixins in this library. See the example in [`mixin-full-theming()`](#mixin-full-theming) for a description of all its options. | ||
| /// @param {String} $palette-key ["dark-palettes"] - Which color to use from `$config`. | ||
| /// Deprecated. Angular Material's latest API is much easier to use. Recommend updating to latest techniques here: https://material.angular.dev/guide/theming. | ||
| @mixin dark-theme-colors($config, $palette-key: "dark-palettes") { | ||
@@ -106,6 +103,3 @@ $theme: mat.m2-define-dark-theme(_build-color-arg($config, $palette-key)); | ||
| /// Includes just the colors for a light theme. | ||
| /// | ||
| /// @param {Map} $config - The config object used for multiple mixins in this library. See the example in [`mixin-full-theming()`](#mixin-full-theming) for a description of all its options. | ||
| /// @param {String} $palette-key ["light-palettes"] - Which color to use from `$config`. | ||
| /// Deprecated. Angular Material's latest API is much easier to use. Recommend updating to latest techniques here: https://material.angular.dev/guide/theming. | ||
| @mixin light-theme-colors($config, $palette-key: "light-palettes") { | ||
@@ -112,0 +106,0 @@ $theme: mat.m2-define-light-theme(_build-color-arg($config, $palette-key)); |
@@ -6,47 +6,3 @@ @use "sass:meta"; | ||
| /// A convenience mixin to set up all Angular Material theming for your app, including separate light and dark themes that respect `prefers-color-scheme`. | ||
| /// | ||
| /// **Important:** This even does `@include mat.core()` for you, so do not include it yourself. | ||
| /// | ||
| /// @param {Map} $config - The config object used for multiple mixins in this library. See the example for a description of all its options. | ||
| /// | ||
| /// @example | ||
| /// $config: ( | ||
| /// // The `color` value in the map passed to `mat.generate-dark-theme()`. | ||
| /// // Required when defining a dark theme unless you call `dark-theme()` | ||
| /// // directly and pass it a different `$palette-key`. | ||
| /// dark-palettes: ( | ||
| /// primary: mat.define-palette(mat.$light-blue-palette), | ||
| /// accent: mat.define-palette(mat.$orange-palette, A200, A100, A400), | ||
| /// ), | ||
| /// | ||
| /// // The `color` value in the map passed to `mat.generate-light-theme()`. | ||
| /// // Required when defining a light theme unless you call `light-theme()` | ||
| /// // directly and pass it a different `$palette-key`. | ||
| /// light-palettes: ( | ||
| /// primary: mat.define-palette(mat.$blue-palette), | ||
| /// accent: mat.define-palette(mat.$orange-palette, A400, A200, A700), | ||
| /// ), | ||
| /// | ||
| /// // The `typography` value in the map passed to `mat.generate-*-theme()`. | ||
| /// // Defaults to `mat.define-typography-config()`. Pass `null` to omit | ||
| /// // typography from your theming. | ||
| /// typography: mat.define-typography-config("sans-serif"), | ||
| /// | ||
| /// // The `density` value in the map passed to `mat.generate-*-theme()`. | ||
| /// // Defaults to `0`. | ||
| /// density: -1, | ||
| /// | ||
| /// // The Angular Material modules to include themes/colors for. | ||
| /// // Defaults to all modules. | ||
| /// modules: ( | ||
| /// "core", | ||
| /// "button", | ||
| /// "card", | ||
| /// "checkbox", | ||
| /// "form-field", | ||
| /// "input", | ||
| /// "list", | ||
| /// ), | ||
| /// ); | ||
| /// Deprecated. Angular Material's latest API is much easier to use. Recommend updating to latest techniques here: https://material.angular.dev/guide/theming. | ||
| @mixin full-theming($args...) { | ||
@@ -53,0 +9,0 @@ $config: meta.keywords($args); |
@@ -104,6 +104,3 @@ @use "sass:map"; | ||
| /// Includes a dark theme for your app. This defines colors, typography, and density. | ||
| /// | ||
| /// @param {Map} $config - The config object used for multiple mixins in this library. See the example in [`mixin-full-theming()`](#mixin-full-theming) for a description of all its options. | ||
| /// @param {String} $palette-key ["dark-palettes"] - Which color to use from `$config`. | ||
| /// Deprecated. Angular Material's latest API is much easier to use. Recommend updating to latest techniques here: https://material.angular.dev/guide/theming. | ||
| @mixin dark-theme($config, $palette-key: "dark-palettes") { | ||
@@ -114,6 +111,3 @@ $theme: mat.m2-define-dark-theme(_build-theme-arg($config, $palette-key)); | ||
| /// Includes a light theme for your app. This defines colors, typography, and density. | ||
| /// | ||
| /// @param {Map} $config - The config object used for multiple mixins in this library. See the example in [`mixin-full-theming()`](#mixin-full-theming) for a description of all its options. | ||
| /// @param {String} $palette-key ["light-palettes"] - Which color to use from `$config`. | ||
| /// Deprecated. Angular Material's latest API is much easier to use. Recommend updating to latest techniques here: https://material.angular.dev/guide/theming. | ||
| @mixin light-theme($config, $palette-key: "light-palettes") { | ||
@@ -120,0 +114,0 @@ $theme: mat.m2-define-light-theme(_build-theme-arg($config, $palette-key)); |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
-100%50829
-4.65%