@updevs/icons 1.0.0 → 1.0.2

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +15 -18
  3. package/ng-package.json +7 -0
  4. package/package.json +18 -31
  5. package/{fesm2015/updevs-icons.mjs → src/assets/hero-icons/icons.ts} +295 -392
  6. package/src/assets/hero-icons/icons.type.ts +2 -0
  7. package/src/assets/hero-icons/v2.0.18.txt +1 -0
  8. package/src/assets/tabler-icons/icons.ts +50101 -0
  9. package/src/assets/tabler-icons/icons.type.ts +2 -0
  10. package/src/assets/tabler-icons/v2.22.0.txt +1 -0
  11. package/src/index.ts +1 -0
  12. package/src/lib/icon/base-icon.component.html +1 -0
  13. package/src/lib/icon/base-icon.component.ts +31 -0
  14. package/src/lib/icon/hero-icon/hero-icon.component.scss +15 -0
  15. package/src/lib/icon/hero-icon/hero-icon.component.spec.ts +23 -0
  16. package/src/lib/icon/hero-icon/hero-icon.component.ts +49 -0
  17. package/src/lib/icon/icon/icon.component.html +6 -0
  18. package/src/lib/icon/icon/icon.component.scss +0 -0
  19. package/src/lib/icon/icon/icon.component.spec.ts +21 -0
  20. package/src/lib/icon/icon/icon.component.ts +51 -0
  21. package/src/lib/icon/models/content-icon.model.ts +12 -0
  22. package/src/lib/icon/models/icon.model.ts +15 -0
  23. package/src/lib/icon/tabler-icon/tabler-icon.component.scss +0 -0
  24. package/src/lib/icon/tabler-icon/tabler-icon.component.spec.ts +21 -0
  25. package/src/lib/icon/tabler-icon/tabler-icon.component.ts +33 -0
  26. package/src/lib/icon/types/icon-library.type.ts +1 -0
  27. package/src/lib/icon/types/size.type.ts +1 -0
  28. package/src/lib/icon/types/structure.type.ts +1 -0
  29. package/src/lib/upd-icons.module.ts +21 -0
  30. package/src/public-api.ts +11 -0
  31. package/tsconfig.lib.json +14 -0
  32. package/tsconfig.lib.prod.json +10 -0
  33. package/tsconfig.spec.json +14 -0
  34. package/assets/icons/icons.d.ts +0 -4
  35. package/esm2020/assets/icons/icons.mjs +0 -4241
  36. package/esm2020/lib/icon/icon.component.mjs +0 -51
  37. package/esm2020/lib/icon/icon.model.mjs +0 -6
  38. package/esm2020/lib/icon/size.enum.mjs +0 -6
  39. package/esm2020/lib/icon/type.enum.mjs +0 -6
  40. package/esm2020/lib/upd-icons.module.mjs +0 -24
  41. package/esm2020/public-api.mjs +0 -8
  42. package/esm2020/updevs-icons.mjs +0 -5
  43. package/fesm2015/updevs-icons.mjs.map +0 -1
  44. package/fesm2020/updevs-icons.mjs +0 -4338
  45. package/fesm2020/updevs-icons.mjs.map +0 -1
  46. package/index.d.ts +0 -5
  47. package/lib/icon/icon.component.d.ts +0 -16
  48. package/lib/icon/icon.model.d.ts +0 -6
  49. package/lib/icon/size.enum.d.ts +0 -4
  50. package/lib/icon/type.enum.d.ts +0 -4
  51. package/lib/upd-icons.module.d.ts +0 -8
  52. package/public-api.d.ts +0 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## 1.0.1 (2023-01-16)
7
+
8
+ **Note:** Version bump only for package @updevs/icons
package/README.md CHANGED
@@ -1,27 +1,24 @@
1
- # @updevs/icons
1
+ # Icons
2
2
 
3
- This is a helper library to make [heroicons](https://github.com/tailwindlabs/heroicons) available on angular.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.1.0.
4
4
 
5
- ## Usage:
5
+ ## Code scaffolding
6
6
 
7
- ### Import module
7
+ Run `ng generate component component-name --project icons` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project icons`.
8
+ > Note: Don't forget to add `--project icons` or else it will be added to the default project in your `angular.json` file.
8
9
 
9
- ```ts
10
- import { UpdIconsModule } from '@updevs/icons';
10
+ ## Build
11
11
 
12
- /// ...
12
+ Run `ng build icons` to build the project. The build artifacts will be stored in the `dist/` directory.
13
13
 
14
- imports: [
15
- /// ...
16
- UpdIconsModule
17
- ]
18
- ```
14
+ ## Publishing
19
15
 
20
- ### Icon usage
16
+ After building your library with `ng build icons`, go to the dist folder `cd dist/icons` and run `npm publish`.
21
17
 
22
- ```html
18
+ ## Running unit tests
23
19
 
24
- <upd-icon name="academic-cap" color="#ddd89a" type="outline"></upd-icon>
25
- <upd-icon name="adjustments-vertical"></upd-icon>
26
- <upd-icon name="adjustments-horizontal" size="small"></upd-icon>
27
- ```
20
+ Run `ng test icons` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../../node_modules/@updevs/icons",
4
+ "lib": {
5
+ "entryFile": "src/index.ts"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,33 +1,20 @@
1
1
  {
2
- "name": "@updevs/icons",
3
- "version": "1.0.0",
4
- "peerDependencies": {
5
- "@angular/common": "^15.0.4",
6
- "@angular/core": "^15.0.4",
7
- "@angular/localize": "^15.0.4",
8
- "@angular/platform-browser": "^15.0.4"
9
- },
10
- "dependencies": {
11
- "tslib": "^2.3.0"
12
- },
13
- "module": "fesm2015/updevs-icons.mjs",
14
- "es2020": "fesm2020/updevs-icons.mjs",
15
- "esm2020": "esm2020/updevs-icons.mjs",
16
- "fesm2020": "fesm2020/updevs-icons.mjs",
17
- "fesm2015": "fesm2015/updevs-icons.mjs",
18
- "typings": "index.d.ts",
19
- "exports": {
20
- "./package.json": {
21
- "default": "./package.json"
2
+ "name": "@updevs/icons",
3
+ "version": "1.0.2",
4
+ "scripts": {
5
+ "build": "ng build @updevs/icons"
22
6
  },
23
- ".": {
24
- "types": "./index.d.ts",
25
- "esm2020": "./esm2020/updevs-icons.mjs",
26
- "es2020": "./fesm2020/updevs-icons.mjs",
27
- "es2015": "./fesm2015/updevs-icons.mjs",
28
- "node": "./fesm2015/updevs-icons.mjs",
29
- "default": "./fesm2020/updevs-icons.mjs"
30
- }
31
- },
32
- "sideEffects": false
33
- }
7
+ "peerDependencies": {
8
+ "@angular/common": "^16.2.7",
9
+ "@angular/core": "^16.2.7",
10
+ "@angular/platform-browser": "^16.2.7"
11
+ },
12
+ "dependencies": {
13
+ "tslib": "^2.3.0"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "sideEffects": false,
19
+ "gitHead": "19acba7dae93bb405b9180fcc25aa74fdb5a9b97"
20
+ }