@linagora/twake-icons 2.7.0 → 2.9.0
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 +15 -0
- package/README.md +13 -7
- package/dist/index.cjs +2045 -1006
- package/dist/index.d.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +2036 -1006
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# @linagora/twake-icons [2.9.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.8.0...@linagora/twake-icons@2.9.0) (2026-08-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Add folder-outlined icon ([b3bbba6](https://github.com/linagora/twake-ui/commit/b3bbba681f25eb4d5e5886001b7695554bb1e2d3))
|
|
7
|
+
|
|
8
|
+
# @linagora/twake-icons [2.8.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.7.0...@linagora/twake-icons@2.8.0) (2026-08-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **twake-icons:** Add DriveText for Drive logotype ([a8a172d](https://github.com/linagora/twake-ui/commit/a8a172decb642461d4cc6c666199b587c73e276b))
|
|
14
|
+
* **twake-icons:** Add Texts part for all twake suite logotypes ([580b62c](https://github.com/linagora/twake-ui/commit/580b62cd1808c3bb27448be5d13d11ef45805e48))
|
|
15
|
+
|
|
1
16
|
# @linagora/twake-icons [2.7.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.6.7...@linagora/twake-icons@2.7.0) (2026-07-21)
|
|
2
17
|
|
|
3
18
|
|
package/README.md
CHANGED
|
@@ -46,7 +46,10 @@ import { Icon, Sprite } from '@linagora/twake-icons'
|
|
|
46
46
|
|
|
47
47
|
Add the new icon in `/assets` folder, then optimize it and create the SVGr component and the Sprite:
|
|
48
48
|
|
|
49
|
-
1. **
|
|
49
|
+
1. **Remove fill props**
|
|
50
|
+
If your SVG file is an icon (not an illustration), verify that the file doesn't have any `fill` or `fill-opacity` properties. Remove them if necessary, to be able to set the color.
|
|
51
|
+
|
|
52
|
+
2. **Optimize SVGs**
|
|
50
53
|
```bash
|
|
51
54
|
npm run svgo
|
|
52
55
|
```
|
|
@@ -55,7 +58,7 @@ Add the new icon in `/assets` folder, then optimize it and create the SVGr compo
|
|
|
55
58
|
npx svgo assets/ui/new-icon.svg
|
|
56
59
|
```
|
|
57
60
|
|
|
58
|
-
|
|
61
|
+
3. **Generate SVGr components**
|
|
59
62
|
```bash
|
|
60
63
|
npm run makeSvgr
|
|
61
64
|
```
|
|
@@ -64,18 +67,21 @@ Add the new icon in `/assets` folder, then optimize it and create the SVGr compo
|
|
|
64
67
|
npm run makeSvgr -- assets/ui/new-icon.svg
|
|
65
68
|
```
|
|
66
69
|
|
|
67
|
-
|
|
70
|
+
4. **Regenerate the sprite**
|
|
68
71
|
```bash
|
|
69
72
|
npm run sprite
|
|
70
73
|
```
|
|
71
74
|
|
|
72
|
-
|
|
75
|
+
5. **Rebuild and fix lint**
|
|
73
76
|
```bash
|
|
74
|
-
npm run build
|
|
77
|
+
npm run build && npm run lint:fix
|
|
75
78
|
```
|
|
76
79
|
|
|
77
|
-
|
|
78
|
-
|
|
80
|
+
6. **Check the barrel**
|
|
81
|
+
The barrel export (`src/Icons/index.ts`) is automatically regenerated during build, so verify it's in sync with the generated components.
|
|
82
|
+
```bash
|
|
83
|
+
npm run check:barrel
|
|
84
|
+
```
|
|
79
85
|
|
|
80
86
|
## License
|
|
81
87
|
|