@ifsworld/granite-icons 1.3.0-beta.3 → 2.0.0-beta.1

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.
package/CHANGELOG.md CHANGED
@@ -1,43 +1,30 @@
1
- # [@ifsworld/granite-icons-v1.3.0-beta.2](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.3.0-beta.1...@ifsworld/granite-icons-v1.3.0-beta.2) (2023-03-29)
1
+ # [@ifsworld/granite-icons-v1.2.3](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.2.2...@ifsworld/granite-icons-v1.2.3) (2023-06-05)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **icons:** add new icon ([6ea7fcd](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/6ea7fcd4d909fbf64fc31fa5435483bb2471c264))
6
+ * **icons:** remove export statements causing errors in angular 15 ([b4b06db](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/b4b06dbb2be4d1a9c825042d9e709c5e4d4b041e))
7
7
 
8
- # [@ifsworld/granite-icons-v1.3.0-beta.1](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.2.1...@ifsworld/granite-icons-v1.3.0-beta.1) (2023-03-28)
8
+ # [@ifsworld/granite-icons-v1.2.2](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.2.1...@ifsworld/granite-icons-v1.2.2) (2023-04-12)
9
9
 
10
10
 
11
11
  ### Bug Fixes
12
12
 
13
- * **icons:** added new test icon ([3a532f8](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/3a532f8d52649d37e6bd6b850466e07d1cfb6479))
14
- * **icons:** fix clip path issues with icons ([c23418c](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/c23418cbc5ed29f52a01f9c21b9f25b46c6f3ab9))
13
+ * **icons:** release new version of granite-icons ([b92b97a](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/b92b97a3045c98e02fc71c69bcf4ad5a923a499e))
15
14
 
16
-
17
- ### Features
18
-
19
- * **icons:** add new icons and update icons ([6f6b55e](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/6f6b55ed3f506d7b1896d2b91970f4894b6966f9))
20
-
21
- # [@ifsworld/granite-icons-v1.2.0-beta.2](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.2.0-beta.1...@ifsworld/granite-icons-v1.2.0-beta.2) (2022-11-09)
15
+ # [@ifsworld/granite-icons-v1.2.1](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.2.0...@ifsworld/granite-icons-v1.2.1) (2023-02-09)
22
16
 
23
17
 
24
18
  ### Bug Fixes
25
19
 
26
- * **icons:** fix clip path issues with icons ([c23418c](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/c23418cbc5ed29f52a01f9c21b9f25b46c6f3ab9))
20
+ * **npm:** added custom licenses for the exposed packages ([dc82e72](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/dc82e720926eddc6525832761655119bed1c670d))
27
21
 
28
- # [@ifsworld/granite-icons-v1.2.0-beta.1](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.1.1-beta.1...@ifsworld/granite-icons-v1.2.0-beta.1) (2022-11-08)
22
+ # [@ifsworld/granite-icons-v1.2.0](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.1.0...@ifsworld/granite-icons-v1.2.0) (2022-12-05)
29
23
 
30
24
 
31
25
  ### Features
32
26
 
33
- * **icons:** add new icons and update icons ([6f6b55e](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/6f6b55ed3f506d7b1896d2b91970f4894b6966f9))
34
-
35
- # [@ifsworld/granite-icons-v1.1.1-beta.1](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.1.0...@ifsworld/granite-icons-v1.1.1-beta.1) (2022-10-19)
36
-
37
-
38
- ### Bug Fixes
39
-
40
- * **icons:** added new test icon ([3a532f8](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/3a532f8d52649d37e6bd6b850466e07d1cfb6479))
27
+ * **icons:** adding new icons ([8f016af](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/commits/8f016afe2d658f134eefe7c78711543e577d227f))
41
28
 
42
29
  # [@ifsworld/granite-icons-v1.1.0](https://bitbucket.org/ifs-pd/ifs-ux-designtokens/compare/@ifsworld/granite-icons-v1.0.2...@ifsworld/granite-icons-v1.1.0) (2022-07-11)
43
30
 
package/README.md CHANGED
@@ -38,3 +38,15 @@ This package includes icon font files and related css files for granite icons. C
38
38
  ### All Icons
39
39
 
40
40
  For a list of all icons, refer the [storybook static build](https://sb-designifs.azureedge.net/?path=/story/icon--all-icons).
41
+
42
+ # Adding icons to granite-icons
43
+
44
+ In order to add new icons or to change existing icons in granite-icons packages (both npm and nuget), the related svg files should be added to <root>/assets/icons folder. However, to maintain a single source of truth for granite-icons, the process of adding the svgs to <root>/assets/icons folder is also automated. [Granite-Icons figma file](https://www.figma.com/file/s0m309pGSLzsIDPk3IihRI/) will act as the single source of truth. Once you add a new icon to this file (of course with a help of a ux-designer), all you have to do is fetch the icons with `npm run fetch-icons` and commit the changes.
45
+
46
+ If you follow [semantic-versioning guidelines](https://github.com/semantic-release/semantic-release) when committing, the packages will be automatically published in the bitbucket pipelines.
47
+
48
+ # Quality assuring the granite-icons generation process
49
+
50
+ Since most of the icon font generation process is automated, we need to make sure that the granite-icons packages keep working as expected. We run cypress snapshot testing to verify the changes that we make doesn't break the existing behavior. Therefore, ideally when you add/change an icon, the automated e2e tests in the pipeline should fail.
51
+
52
+ To avoid these failures, image snapshots should be updated locally and it should be verified manually that the diff you see represents only the change you have made. To run the tests locally run `cypress:granite-icons-demo:snapshots` command and if there is a diff, it will be shown in the `cypress/snapshots/__diff_output__` folder. If this diff makes sense, update the snapshots with `cypress:granite-icons-demo:snapshots:update` command and commit the snapshot changes along with the icons.