@fortawesome/angular-fontawesome
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -13,2 +13,3 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
classes?: string[]; | ||
position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'; | ||
renderedHTML: SafeHtml; | ||
@@ -20,3 +21,3 @@ constructor(parent: FaLayersComponent, sanitizer: DomSanitizer); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FaLayersCounterComponent, [{ optional: true; }, null]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FaLayersCounterComponent, "fa-layers-counter", never, { "content": "content"; "title": "title"; "styles": "styles"; "classes": "classes"; }, {}, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FaLayersCounterComponent, "fa-layers-counter", never, { "content": "content"; "title": "title"; "styles": "styles"; "classes": "classes"; "position": "position"; }, {}, never, never>; | ||
} |
{ | ||
"$schema": "./node_modules/ng-packagr/package.schema.json", | ||
"name": "@fortawesome/angular-fontawesome", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Angular Fontawesome, an Angular library", | ||
@@ -27,6 +26,6 @@ "repository": { | ||
"peerDependencies": { | ||
"@fortawesome/fontawesome-svg-core": "~1.2.27 || ~1.3.0-beta2" | ||
"@fortawesome/fontawesome-svg-core": "~1.2.27 || ~1.3.0-beta2 || ^6.1.0" | ||
}, | ||
"schematics": "./schematics/collection.json", | ||
"packageManager": "yarn@3.1.0", | ||
"packageManager": "yarn@3.2.0", | ||
"module": "fesm2015/angular-fontawesome.mjs", | ||
@@ -33,0 +32,0 @@ "es2020": "fesm2020/angular-fontawesome.mjs", |
@@ -107,3 +107,3 @@ <a href="https://fontawesome.com"> | ||
### Stackblitz | ||
Here's a [StackBlitz Starter Sample](https://stackblitz.com/edit/angular-fontawesome-sample?file=src%2Fapp%2Fapp.module.ts) on how to display Solid, Regular, and Brand icons [using the Icon Library](./docs/usage/icon-library.md#using-the-icon-library). | ||
Here's a [StackBlitz Starter Sample](https://stackblitz.com/edit/angular-ivy-7jrcne) on how to display Solid, Regular, and Brand icons [using the Icon Library](./docs/usage/icon-library.md#using-the-icon-library). | ||
@@ -145,10 +145,5 @@ | ||
[<img src="https://github.com/benjamincharity.png?size=72" alt="benjamincharity" width="72">](https://github.com/benjamincharity) | ||
[<img src="https://github.com/NayeBeckham.png?size=72" alt="NayeBeckham" width="72">](https://github.com/NayeBeckham) | ||
[<img src="https://github.com/FortAwesome.png?size=72" alt="Font Awesome Team" width="72">](https://github.com/orgs/FortAwesome/people) | ||
If we've missed someone (which is quite likely) submit a Pull Request to us and we'll get it resolved. | ||
The Font Awesome team: | ||
[<img src="https://github.com/mlwilkerson.png?size=72" alt="mlwilkerson" width="72">](https://github.com/mlwilkerson) | ||
[<img src="https://github.com/supercodepoet.png?size=72" alt="supercodepoet" width="72">](https://github.com/supercodepoet) | ||
[<img src="https://github.com/robmadole.png?size=72" alt="robmadole" width="72">](https://github.com/robmadole) | ||
[<img src="https://github.com/talbs.png?size=72" alt="talbs" width="72">](https://github.com/talbs) |
@@ -28,3 +28,3 @@ "use strict"; | ||
name: '@fortawesome/fontawesome-svg-core', | ||
version: versions_1.svgCoreVersion, | ||
version: options.version === '6' ? versions_1.iconPackVersion : versions_1.v5.svgCoreVersion, | ||
}); | ||
@@ -41,3 +41,3 @@ (0, dependencies_1.addPackageJsonDependency)(tree, { | ||
name: `@fortawesome/${pack}-svg-icons`, | ||
version: versions_1.iconPackVersion, | ||
version: options.version === '6' ? versions_1.iconPackVersion : versions_1.v5.iconPackVersion, | ||
}); | ||
@@ -44,0 +44,0 @@ } |
export interface Schema { | ||
/** Name of the project. */ | ||
project?: string; | ||
/** The FontAwesome version to install. */ | ||
version?: '5' | '6'; | ||
/** The icon packages to install */ | ||
iconPackages?: ('free-solid' | 'free-regular' | 'free-brands' | 'pro-solid' | 'pro-regular' | 'pro-light' | 'pro-duotone')[]; | ||
iconPackages?: ('free-solid' | 'free-regular' | 'free-brands' | 'pro-solid' | 'pro-regular' | 'pro-light' | 'pro-duotone' | 'pro-thin')[]; | ||
} |
@@ -14,2 +14,21 @@ { | ||
}, | ||
"version": { | ||
"description": "The FontAwesome version to install.", | ||
"type": "string", | ||
"default": "6", | ||
"x-prompt": { | ||
"message": "Choose Font Awesome version you would like to use:", | ||
"type": "list", | ||
"items": [ | ||
{ | ||
"value": "6", | ||
"label": "Font Awesome 6" | ||
}, | ||
{ | ||
"value": "5", | ||
"label": "Font Awesome 5" | ||
} | ||
] | ||
} | ||
}, | ||
"iconPackages": { | ||
@@ -20,3 +39,12 @@ "description": "The icon packages to install.", | ||
"type": "string", | ||
"enum": ["free-solid", "free-regular", "free-brands", "pro-solid", "pro-regular", "pro-light", "pro-duotone"] | ||
"enum": [ | ||
"free-solid", | ||
"free-regular", | ||
"free-brands", | ||
"pro-solid", | ||
"pro-regular", | ||
"pro-light", | ||
"pro-duotone", | ||
"pro-thin" | ||
] | ||
}, | ||
@@ -43,15 +71,19 @@ "default": ["free-solid"], | ||
"value": "pro-solid", | ||
"label": "Pro Solid Icons [ Requires: https://fontawesome.com/pro ]" | ||
"label": "Pro Solid Icons [ Requires Pro plan: https://fontawesome.com/plans ]" | ||
}, | ||
{ | ||
"value": "pro-regular", | ||
"label": "Pro Regular Icons [ Requires: https://fontawesome.com/pro ]" | ||
"label": "Pro Regular Icons [ Requires Pro plan: https://fontawesome.com/plans ]" | ||
}, | ||
{ | ||
"value": "pro-light", | ||
"label": "Pro Light Icons [ Requires: https://fontawesome.com/pro ]" | ||
"label": "Pro Light Icons [ Requires Pro plan: https://fontawesome.com/plans ]" | ||
}, | ||
{ | ||
"value": "pro-duotone", | ||
"label": "Pro Duotone Icons [ Requires: https://fontawesome.com/pro ]" | ||
"label": "Pro Duotone Icons [ Requires Pro plan: https://fontawesome.com/plans ]" | ||
}, | ||
{ | ||
"value": "pro-thin", | ||
"label": "Pro Thin Icons [ Requires Pro plan: https://fontawesome.com/plans ]" | ||
} | ||
@@ -58,0 +90,0 @@ ] |
@@ -1,3 +0,6 @@ | ||
export declare const svgCoreVersion = "~1.2.36"; | ||
export declare const angularFontawesomeVersion = "~0.10.1"; | ||
export declare const iconPackVersion = "^5.15.4"; | ||
export declare const angularFontawesomeVersion = "~0.10.2"; | ||
export declare const iconPackVersion = "^6.1.0"; | ||
export declare const v5: { | ||
svgCoreVersion: string; | ||
iconPackVersion: string; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.iconPackVersion = exports.angularFontawesomeVersion = exports.svgCoreVersion = void 0; | ||
exports.svgCoreVersion = '~1.2.36'; | ||
exports.angularFontawesomeVersion = '~0.10.1'; | ||
exports.iconPackVersion = '^5.15.4'; | ||
exports.v5 = exports.iconPackVersion = exports.angularFontawesomeVersion = void 0; | ||
exports.angularFontawesomeVersion = '~0.10.2'; | ||
exports.iconPackVersion = '^6.1.0'; | ||
exports.v5 = { | ||
svgCoreVersion: '~1.2.36', | ||
iconPackVersion: '^5.15.4', | ||
}; | ||
//# sourceMappingURL=versions.js.map |
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
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
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
265378
2592
148