@ng-icons/core 26.2.1 → 26.3.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.
@@ -0,0 +1,27 @@
1
+ import { InjectionToken, Provider } from '@angular/core';
2
+ export interface NgGlyphConfig {
3
+ /** Define the default size of glyph */
4
+ size: string | number;
5
+ /** Define the optical size of the glyph */
6
+ opticalSize?: number;
7
+ /** Define the default color of glyph */
8
+ color?: string;
9
+ /** Define the default weight of glyph */
10
+ weight?: number;
11
+ /** Define the default grade of glyph */
12
+ grade?: number;
13
+ /** Define the default fill of glyph */
14
+ fill?: boolean;
15
+ }
16
+ export declare const NgGlyphConfigToken: InjectionToken<Required<NgGlyphConfig>>;
17
+ /**
18
+ * Provide the configuration for the glyph
19
+ * @param config The configuration to use
20
+ */
21
+ export declare function provideNgGlyphsConfig(config: Partial<NgGlyphConfig>): Provider;
22
+ /**
23
+ * Inject the configuration for the glyphs
24
+ * @returns The configuration to use
25
+ * @internal
26
+ */
27
+ export declare function injectNgGlyphsConfig(): Required<NgGlyphConfig>;
@@ -0,0 +1,12 @@
1
+ import { EnvironmentProviders, InjectionToken } from '@angular/core';
2
+ export declare const NgGlyphsToken: InjectionToken<NgGlyphs>;
3
+ export declare function provideNgGlyphs(...glyphsets: NgGlyphset[]): EnvironmentProviders;
4
+ export declare function injectNgGlyphs(): NgGlyphs;
5
+ export interface NgGlyphset {
6
+ name: string;
7
+ baseClass: string;
8
+ }
9
+ export interface NgGlyphs {
10
+ defaultGlyphset: string;
11
+ glyphsets: NgGlyphset[];
12
+ }
@@ -0,0 +1 @@
1
+ export declare function coerceCssPixelValue(value: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-icons/core",
3
- "version": "26.2.1",
3
+ "version": "26.3.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "angular",