Skip to content

Commit 4c0a07c

Browse files
author
Gregory COCHIN
committed
Release 1.10.0
Fix lint issues
1 parent bbbd567 commit 4c0a07c

File tree

8 files changed

+21
-11
lines changed

8 files changed

+21
-11
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Available inputs and output :
4646
[ipHeight] // Use this option to force icon picker dialog height (default: 'auto').
4747
[ipMaxHeight] // Use this option to force icon picker dialog max-height (default: '200px').
4848

49-
[ipIconPack] // Icon pack (Font Awesome / Bootstrap Glyphicon / Font Awesome5 / Material): 'fa', 'bs', 'fa5', 'mat', 'all' (default: ['bs', 'fa5']).
49+
[ipIconPack] // Icon pack (Font Awesome / Font Awesome5 / Font Awesome6 / Bootstrap Glyphicon / Material / Prime): 'fa', 'fa5', 'fa6', 'bs', 'mat', 'pi', 'all' (default: ['bs', 'fa5']).
5050
[ipIconSize] // Set the icon size in the selector (default: '16px')
5151
[ipIconVerticalPadding] // Set the top and bottom padding (default: '6px')
5252
[ipIconHorizontalPadding] // Set the left and right button padding (default: '10px')
@@ -337,3 +337,13 @@ Sébastien Bousquet <https://github.com/sebbousquet>
337337

338338
rodrigokamada <https://github.com/rodrigokamada>
339339

340+
Jakob Schade <https://github.com/ProfEibe>
341+
342+
Jaume <https://github.com/jaumarar>
343+
344+
Michael Marcuccio <https://github.com/michaelmarcuccio>
345+
346+
Evgenii Egorov <https://github.com/eewegorov>
347+
348+
349+

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Icon picker widget for Angular (version 13 and newer)",
44
"bugs": "https://github.com/tech-advantage/ngx-icon-picker/issues",
55
"license": "MIT",
6-
"version": "1.12.0",
6+
"version": "1.10.0",
77
"scripts": {
88
"ng": "ng",
99
"lint": "ng lint",
@@ -28,10 +28,10 @@
2828
"@angular/platform-browser-dynamic": "^15.0.2",
2929
"@angular/router": "^15.0.2",
3030
"@fortawesome/angular-fontawesome": "^0.10.2",
31+
"@fortawesome/fontawesome-free": "5.15.4",
3132
"@fortawesome/fontawesome-svg-core": "^6.1.1",
3233
"@fortawesome/free-solid-svg-icons": "^6.1.1",
3334
"bootstrap": "^3.3.7",
34-
"@fortawesome/fontawesome-free": "5.15.4",
3535
"ngx-bootstrap": "^6.2.0",
3636
"ngx-icon-picker": "file:",
3737
"primeicons": "^5.0.0",

projects/app/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class AppComponent implements OnInit {
2222
fallbackIconAll = 'fa fa-book';
2323
fallbackIconFa5 = 'fas fa-igloo';
2424
fallbackIconFa6 = 'coffee';
25-
fallbackIconPrime = 'pi pi-user'
25+
fallbackIconPrime = 'pi pi-user';
2626
fallbackIconMat = 'explore';
2727
fallbackIconA = 'fas fa-question-circle';
2828
fallbackIconButton = 'fas fa-igloo';

projects/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-icon-picker",
3-
"version": "1.12.0",
3+
"version": "1.10.0",
44
"dependencies": {
55
"tslib": "^2.0.0"
66
},

projects/lib/src/lib/icon-picker.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class IconPickerComponent implements OnInit {
131131
} else if (icon.type === IconType.Material) {
132132
this.directiveInstance.iconSelected(`${icon.id}`);
133133
} else if (icon.type === IconType.PrimeIcons) {
134-
this.directiveInstance.iconSelected(`pi pi-${icon.id}`)
134+
this.directiveInstance.iconSelected(`pi pi-${icon.id}`);
135135
}
136136
this.closeIconPicker();
137137
}

projects/lib/src/lib/icon-picker.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {FontAwesome6IconsPack} from './pack/font-awesome6-icons-pack';
88
import {MaterialIconsPack} from './pack/material-icons-pack';
99
import { FaIconLibrary } from '@fortawesome/angular-fontawesome';
1010
import { fas } from '@fortawesome/free-solid-svg-icons';
11-
import {PrimeIconsPack} from "./pack/prime-icons-pack";
11+
import {PrimeIconsPack} from './pack/prime-icons-pack';
1212

1313
@Injectable()
1414
export class IconPickerService {

projects/lib/src/lib/pack/prime-icons-pack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {IconsPack} from "../icons-pack";
2-
import {Icon} from "../icon";
1+
import {IconsPack} from '../icons-pack';
2+
import {Icon} from '../icon';
33

44
export class PrimeIconsPack implements IconsPack {
55
getIcons(): Icon[] {

0 commit comments

Comments
 (0)