@linagora/twake-icons 2.17.0 → 3.1.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 CHANGED
@@ -1,3 +1,33 @@
1
+ # @linagora/twake-icons [3.1.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@3.0.0...@linagora/twake-icons@3.1.0) (2026-11-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * **twake-icons:** Add icon AddToCloud ([09287d4](https://github.com/linagora/twake-ui/commit/09287d4c2a29fd909dadb4813eefe250e8ff6b88))
7
+
8
+ # @linagora/twake-icons [3.0.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.17.0...@linagora/twake-icons@3.0.0) (2026-10-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **twake-icons:** Generate the Cube and Spinner props ([e15774c](https://github.com/linagora/twake-ui/commit/e15774c33a01d5addd73c827434336cfa8843763))
14
+ * **twake-icons:** Remove the root fill of the ManageSearch source ([1bffb58](https://github.com/linagora/twake-ui/commit/1bffb584ab66c2221bdd6428caefc574be82fd7d))
15
+ * **twake-icons:** Rename permission icons that shadow other icons ([fcca309](https://github.com/linagora/twake-ui/commit/fcca3091521e38d73498457dccfe35c5e38fcbec))
16
+ * **twake-icons:** Run svgo until the SVGs stop changing ([202328f](https://github.com/linagora/twake-ui/commit/202328fbf9b25cc28527dfeeddef5cd7fd504620))
17
+ * **twake-icons:** Skip animated icons in npm run svgo ([8a6b503](https://github.com/linagora/twake-ui/commit/8a6b503291f0fc3b5303fd44c434dc0b835e2298))
18
+
19
+
20
+ ### BREAKING CHANGES
21
+
22
+ * **twake-icons:** Bill, Calendar, Certified, Contract, Home, Location
23
+ and Safe now render the ui icon, and Contacts the illus one. The old
24
+ permission drawings are exported as BillPermissions,
25
+ CalendarPermissions, CertifiedPermissions, ContactsPermissions,
26
+ ContractPermissions, HomePermissions, LocationPermissions and
27
+ SafePermissions, which no longer render the 16px Twake drawings.
28
+
29
+ Assisted-by: LLM
30
+
1
31
  # @linagora/twake-icons [2.17.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.16.1...@linagora/twake-icons@2.17.0) (2026-10-27)
2
32
 
3
33
 
package/README.md CHANGED
@@ -34,13 +34,13 @@ import { Icon, Sprite } from '@linagora/twake-icons'
34
34
 
35
35
  ### Icon Props
36
36
 
37
- | Prop | Type | Description |
38
- |------|------|-------------|
39
- | `icon` | `string \| Component \| ReactElement` | Icon identifier, SVGr component, or custom SVG element |
40
- | `size` | `number \| string` | Width and height in pixels |
41
- | `color` | `string` | Fill color |
42
- | `rotate` | `number` | Rotation in degrees |
43
- | `spin` | `boolean` | Apply spinning animation |
37
+ | Prop | Type | Description |
38
+ | -------- | ------------------------------------- | ------------------------------------------------------ |
39
+ | `icon` | `string \| Component \| ReactElement` | Icon identifier, SVGr component, or custom SVG element |
40
+ | `size` | `number \| string` | Width and height in pixels |
41
+ | `color` | `string` | Fill color |
42
+ | `rotate` | `number` | Rotation in degrees |
43
+ | `spin` | `boolean` | Apply spinning animation |
44
44
 
45
45
  ## How to add an icon
46
46
 
@@ -50,29 +50,37 @@ Add the new icon in `/assets` folder, then optimize it and create the SVGr compo
50
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
51
 
52
52
  2. **Optimize SVGs**
53
+
53
54
  ```bash
54
55
  npm run svgo
55
56
  ```
57
+
56
58
  Or for a single icon:
59
+
57
60
  ```bash
58
61
  npx svgo assets/ui/new-icon.svg
59
62
  ```
60
63
 
61
64
  3. **Generate SVGr components**
65
+
62
66
  ```bash
63
67
  npm run makeSvgr
64
68
  ```
69
+
65
70
  Or for a single icon:
71
+
66
72
  ```bash
67
73
  npm run makeSvgr -- assets/ui/new-icon.svg
68
74
  ```
69
75
 
70
76
  4. **Regenerate the sprite**
77
+
71
78
  ```bash
72
79
  npm run sprite
73
80
  ```
74
81
 
75
82
  5. **Rebuild and fix lint**
83
+
76
84
  ```bash
77
85
  npm run build && npm run lint:fix
78
86
  ```