@fortawesome/angular-fontawesome
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -6,2 +6,3 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
import { FaIconLibrary } from '../icon-library'; | ||
import { AnimationProp } from '../shared/models/props.model'; | ||
import { FaStackItemSizeDirective } from '../stack/stack-item-size.directive'; | ||
@@ -23,4 +24,17 @@ import { FaStackComponent } from '../stack/stack.component'; | ||
title?: string; | ||
spin?: boolean; | ||
pulse?: boolean; | ||
/** | ||
* Icon animation. | ||
* | ||
* Most of the animations are only available when using Font Awesome 6. With | ||
* Font Awesome 5, only 'spin' and 'spin-pulse' are supported. | ||
*/ | ||
animation?: AnimationProp; | ||
/** | ||
* @deprecated Use animation="spin" instead. To be removed in 0.14.0. | ||
*/ | ||
set spin(value: boolean); | ||
/** | ||
* @deprecated Use animation="spin-pulse" instead. To be removed in 0.14.0. | ||
*/ | ||
set pulse(value: boolean); | ||
mask?: IconProp; | ||
@@ -62,3 +76,3 @@ /** | ||
constructor(sanitizer: DomSanitizer, config: FaConfig, iconLibrary: FaIconLibrary, stackItem: FaStackItemSizeDirective, stack: FaStackComponent); | ||
ngOnChanges(changes: SimpleChanges): never; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
/** | ||
@@ -86,3 +100,3 @@ * Programmatically trigger rendering of the icon. | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FaIconComponent, [null, null, null, { optional: true; }, { optional: true; }]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FaIconComponent, "fa-icon", never, { "icon": "icon"; "title": "title"; "spin": "spin"; "pulse": "pulse"; "mask": "mask"; "styles": "styles"; "flip": "flip"; "size": "size"; "pull": "pull"; "border": "border"; "inverse": "inverse"; "symbol": "symbol"; "rotate": "rotate"; "fixedWidth": "fixedWidth"; "classes": "classes"; "transform": "transform"; "a11yRole": "a11yRole"; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FaIconComponent, "fa-icon", never, { "icon": "icon"; "title": "title"; "animation": "animation"; "spin": "spin"; "pulse": "pulse"; "mask": "mask"; "styles": "styles"; "flip": "flip"; "size": "size"; "pull": "pull"; "border": "border"; "inverse": "inverse"; "symbol": "symbol"; "rotate": "rotate"; "fixedWidth": "fixedWidth"; "classes": "classes"; "transform": "transform"; "a11yRole": "a11yRole"; }, {}, never, never, false, never>; | ||
} |
@@ -29,4 +29,10 @@ import { OnChanges, SimpleChanges } from '@angular/core'; | ||
classes?: string[]; | ||
spin?: boolean; | ||
pulse?: boolean; | ||
/** | ||
* @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0. | ||
*/ | ||
set spin(value: boolean); | ||
/** | ||
* @deprecated This input was incorrectly exposed and never worked correctly. To be removed in 0.14.0. | ||
*/ | ||
set pulse(value: boolean); | ||
flip?: FlipProp; | ||
@@ -41,2 +47,3 @@ size?: SizeProp; | ||
renderedHTML: SafeHtml; | ||
private animation; | ||
constructor(parent: FaLayersComponent, sanitizer: DomSanitizer); | ||
@@ -43,0 +50,0 @@ ngOnChanges(changes: SimpleChanges): void; |
{ | ||
"name": "@fortawesome/angular-fontawesome", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Angular Fontawesome, an Angular library", | ||
@@ -5,0 +5,0 @@ "repository": { |
export { FontAwesomeModule } from './fontawesome.module'; | ||
export { FaProps } from './shared/models/props.model'; | ||
export { AnimationProp, FaProps } from './shared/models/props.model'; | ||
export { FaIconComponent } from './icon/icon.component'; | ||
@@ -4,0 +4,0 @@ export { FaDuotoneIconComponent } from './icon/duotone-icon.component'; |
@@ -1,3 +0,3 @@ | ||
export declare const angularFontawesomeVersion = "~0.12.0"; | ||
export declare const iconPackVersion = "^6.2.0"; | ||
export declare const angularFontawesomeVersion = "~0.12.1"; | ||
export declare const iconPackVersion = "^6.2.1"; | ||
export declare const v5: { | ||
@@ -4,0 +4,0 @@ svgCoreVersion: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.v5 = exports.iconPackVersion = exports.angularFontawesomeVersion = void 0; | ||
exports.angularFontawesomeVersion = '~0.12.0'; | ||
exports.iconPackVersion = '^6.2.0'; | ||
exports.angularFontawesomeVersion = '~0.12.1'; | ||
exports.iconPackVersion = '^6.2.1'; | ||
exports.v5 = { | ||
@@ -7,0 +7,0 @@ svgCoreVersion: '~1.2.36', |
@@ -8,4 +8,3 @@ import { FaSymbol, FlipProp, IconProp, PullProp, RotateProp, SizeProp, Styles, Transform } from '@fortawesome/fontawesome-svg-core'; | ||
className?: string; | ||
spin?: boolean; | ||
pulse?: boolean; | ||
animation?: AnimationProp; | ||
border?: boolean; | ||
@@ -24,1 +23,2 @@ fixedWidth?: boolean; | ||
} | ||
export declare type AnimationProp = 'beat' | 'fade' | 'beat-fade' | 'bounce' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse' | 'spin-pulse-reverse'; |
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
304377
2811