@linagora/twake-icons 2.2.0 → 2.4.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 +34 -8
- package/dist/Icons/index.d.ts +49 -5
- package/dist/Icons/index.js +49 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/utils/fileTypeIcons.d.ts +9 -0
- package/dist/utils/fileTypeIcons.js +68 -0
- package/dist/utils/getFileTypeIcon.d.ts +9 -0
- package/dist/utils/getFileTypeIcon.js +16 -0
- package/package.json +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# @linagora/twake-icons [2.4.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.3.0...@linagora/twake-icons@2.4.0) (2026-06-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **twake-icons:** Added getFileTypeIcon function util ([450a8ff](https://github.com/linagora/twake-ui/commit/450a8ff80fc74ca1f6b77f8e72f4ff86094c6431))
|
|
7
|
+
|
|
8
|
+
# @linagora/twake-icons [2.3.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-icons@2.2.0...@linagora/twake-icons@2.3.0) (2026-06-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Add barrel check and generator ([482572c](https://github.com/linagora/twake-ui/commit/482572c9fe7dc8a63cc703abf11a2cf05997b3f7))
|
|
14
|
+
* **twake-icons:** Update doc ([d763a7e](https://github.com/linagora/twake-ui/commit/d763a7e9ba02af229acbe63240836169242b6a12))
|
|
15
|
+
|
|
1
16
|
# [2.2.0](https://github.com/linagora/twake-ui/compare/v2.1.0...v2.2.0) (2026-06-16)
|
|
2
17
|
|
|
3
18
|
|
package/README.md
CHANGED
|
@@ -42,14 +42,40 @@ import { Icon, Sprite } from '@linagora/twake-icons'
|
|
|
42
42
|
| `rotate` | `number` | Rotation in degrees |
|
|
43
43
|
| `spin` | `boolean` | Apply spinning animation |
|
|
44
44
|
|
|
45
|
-
##
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
npm run
|
|
52
|
-
```
|
|
45
|
+
## How to add an icon
|
|
46
|
+
|
|
47
|
+
Add the new icon in `/assets` folder, then optimize it and create the SVGr component and the Sprite:
|
|
48
|
+
|
|
49
|
+
1. **Optimize SVGs:**
|
|
50
|
+
```bash
|
|
51
|
+
npm run svgo
|
|
52
|
+
```
|
|
53
|
+
Or for a single icon:
|
|
54
|
+
```bash
|
|
55
|
+
npx svgo assets/ui/new-icon.svg
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
2. **Generate SVGr components:**
|
|
59
|
+
```bash
|
|
60
|
+
npm run makeSvgr
|
|
61
|
+
```
|
|
62
|
+
Or for a single icon:
|
|
63
|
+
```bash
|
|
64
|
+
npm run makeSvgr -- assets/ui/new-icon.svg
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
3. **Regenerate the sprite:**
|
|
68
|
+
```bash
|
|
69
|
+
npm run sprite
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
4. **Rebuild before commit:**
|
|
73
|
+
```bash
|
|
74
|
+
npm run build
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
The barrel export (`src/Icons/index.ts`) is automatically regenerated during build.
|
|
78
|
+
Run `npm run check:barrel` to verify it's in sync with the generated components.
|
|
53
79
|
|
|
54
80
|
## License
|
|
55
81
|
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { default as Account } from './Account';
|
|
2
|
+
export { default as Accounts } from './Accounts';
|
|
2
3
|
export { default as Album } from './Album';
|
|
3
4
|
export { default as AlbumAdd } from './AlbumAdd';
|
|
4
5
|
export { default as AlbumRemove } from './AlbumRemove';
|
|
5
6
|
export { default as Answer } from './Answer';
|
|
6
7
|
export { default as Apple } from './Apple';
|
|
8
|
+
export { default as Apps } from './Apps';
|
|
7
9
|
export { default as Archive } from './Archive';
|
|
8
10
|
export { default as ArrowUp } from './ArrowUp';
|
|
9
11
|
export { default as Article } from './Article';
|
|
@@ -14,13 +16,18 @@ export { default as AssistantColor } from './AssistantColor';
|
|
|
14
16
|
export { default as Attachment } from './Attachment';
|
|
15
17
|
export { default as Attention } from './Attention';
|
|
16
18
|
export { default as Bank } from './Bank';
|
|
19
|
+
export { default as BankAccounts } from './BankAccounts';
|
|
17
20
|
export { default as BankCheck } from './BankCheck';
|
|
21
|
+
export { default as BankGroups } from './BankGroups';
|
|
22
|
+
export { default as BankOperations } from './BankOperations';
|
|
23
|
+
export { default as BankRecurrence } from './BankRecurrence';
|
|
18
24
|
export { default as Banking } from './Banking';
|
|
19
25
|
export { default as BankingAdd } from './BankingAdd';
|
|
20
26
|
export { default as Bell } from './Bell';
|
|
21
27
|
export { default as Benefit } from './Benefit';
|
|
22
28
|
export { default as Bike } from './Bike';
|
|
23
29
|
export { default as Bill } from './Bill';
|
|
30
|
+
export { default as BillPermissions } from './BillPermissions';
|
|
24
31
|
export { default as Bottom } from './Bottom';
|
|
25
32
|
export { default as BottomSelect } from './BottomSelect';
|
|
26
33
|
export { default as BrowserBrave } from './BrowserBrave';
|
|
@@ -32,23 +39,27 @@ export { default as BrowserFirefox } from './BrowserFirefox';
|
|
|
32
39
|
export { default as BrowserIe } from './BrowserIe';
|
|
33
40
|
export { default as BrowserOpera } from './BrowserOpera';
|
|
34
41
|
export { default as BrowserSafari } from './BrowserSafari';
|
|
42
|
+
export { default as BugReport } from './BugReport';
|
|
35
43
|
export { default as Burger } from './Burger';
|
|
36
44
|
export { default as Bus } from './Bus';
|
|
37
45
|
export { default as Calendar } from './Calendar';
|
|
38
46
|
export { default as CalendarApp } from './CalendarApp';
|
|
47
|
+
export { default as CalendarPermissions } from './CalendarPermissions';
|
|
39
48
|
export { default as Camera } from './Camera';
|
|
40
49
|
export { default as Car } from './Car';
|
|
41
50
|
export { default as CarbonCopy } from './CarbonCopy';
|
|
42
51
|
export { default as Carpooling } from './Carpooling';
|
|
43
52
|
export { default as Categories } from './Categories';
|
|
53
|
+
export { default as Category } from './Category';
|
|
44
54
|
export { default as Certified } from './Certified';
|
|
55
|
+
export { default as CertifiedPermissions } from './CertifiedPermissions';
|
|
45
56
|
export { default as Chat } from './Chat';
|
|
46
57
|
export { default as Check } from './Check';
|
|
47
|
-
export { default as Checkbox } from './Checkbox';
|
|
48
58
|
export { default as CheckCircle } from './CheckCircle';
|
|
49
59
|
export { default as CheckList } from './CheckList';
|
|
50
60
|
export { default as CheckSquare } from './CheckSquare';
|
|
51
61
|
export { default as CheckWhite } from './CheckWhite';
|
|
62
|
+
export { default as Checkbox } from './Checkbox';
|
|
52
63
|
export { default as Chess } from './Chess';
|
|
53
64
|
export { default as Child } from './Child';
|
|
54
65
|
export { default as CircleFilled } from './CircleFilled';
|
|
@@ -68,9 +79,14 @@ export { default as Comment } from './Comment';
|
|
|
68
79
|
export { default as Company } from './Company';
|
|
69
80
|
export { default as Compare } from './Compare';
|
|
70
81
|
export { default as Compass } from './Compass';
|
|
82
|
+
export { default as ConnectedClients } from './ConnectedClients';
|
|
71
83
|
export { default as Connector } from './Connector';
|
|
84
|
+
export { default as Consumption } from './Consumption';
|
|
72
85
|
export { default as Contacts } from './Contacts';
|
|
86
|
+
export { default as ContactsAccounts } from './ContactsAccounts';
|
|
87
|
+
export { default as ContactsGroups } from './ContactsGroups';
|
|
73
88
|
export { default as Contract } from './Contract';
|
|
89
|
+
export { default as ContractPermissions } from './ContractPermissions';
|
|
74
90
|
export { default as Contrast } from './Contrast';
|
|
75
91
|
export { default as Copy } from './Copy';
|
|
76
92
|
export { default as Cozy } from './Cozy';
|
|
@@ -95,17 +111,17 @@ export { default as CrossSmall } from './CrossSmall';
|
|
|
95
111
|
export { default as CrossWhite } from './CrossWhite';
|
|
96
112
|
export { default as Cube } from './Cube';
|
|
97
113
|
export { default as Dash } from './Dash';
|
|
98
|
-
export { default as Dashboard } from './Dashboard';
|
|
99
114
|
export { default as DashWhite } from './DashWhite';
|
|
100
|
-
export { default as
|
|
115
|
+
export { default as Dashboard } from './Dashboard';
|
|
101
116
|
export { default as DataControl } from './DataControl';
|
|
117
|
+
export { default as Database } from './Database';
|
|
102
118
|
export { default as Debit } from './Debit';
|
|
103
119
|
export { default as DesktopDownload } from './DesktopDownload';
|
|
104
120
|
export { default as DeviceBrowser } from './DeviceBrowser';
|
|
105
121
|
export { default as DeviceLaptop } from './DeviceLaptop';
|
|
106
122
|
export { default as DevicePhone } from './DevicePhone';
|
|
107
|
-
export { default as Devices } from './Devices';
|
|
108
123
|
export { default as DeviceTablet } from './DeviceTablet';
|
|
124
|
+
export { default as Devices } from './Devices';
|
|
109
125
|
export { default as Discuss } from './Discuss';
|
|
110
126
|
export { default as Dots } from './Dots';
|
|
111
127
|
export { default as DotsWhite } from './DotsWhite';
|
|
@@ -117,12 +133,15 @@ export { default as Dropdown } from './Dropdown';
|
|
|
117
133
|
export { default as DropdownClose } from './DropdownClose';
|
|
118
134
|
export { default as DropdownOpen } from './DropdownOpen';
|
|
119
135
|
export { default as Dropup } from './Dropup';
|
|
136
|
+
export { default as Ecolyo } from './Ecolyo';
|
|
120
137
|
export { default as ElectricBike } from './ElectricBike';
|
|
121
138
|
export { default as ElectricCar } from './ElectricCar';
|
|
122
139
|
export { default as ElectricScooter } from './ElectricScooter';
|
|
123
140
|
export { default as Email } from './Email';
|
|
124
141
|
export { default as EmailNotification } from './EmailNotification';
|
|
125
142
|
export { default as EmailOpen } from './EmailOpen';
|
|
143
|
+
export { default as Energy } from './Energy';
|
|
144
|
+
export { default as Energybreakdown } from './Energybreakdown';
|
|
126
145
|
export { default as Eu } from './Eu';
|
|
127
146
|
export { default as Euro } from './Euro';
|
|
128
147
|
export { default as Exchange } from './Exchange';
|
|
@@ -132,6 +151,8 @@ export { default as Export } from './Export';
|
|
|
132
151
|
export { default as Eye } from './Eye';
|
|
133
152
|
export { default as EyeClosed } from './EyeClosed';
|
|
134
153
|
export { default as FaceId } from './FaceId';
|
|
154
|
+
export { default as Fallback } from './Fallback';
|
|
155
|
+
export { default as Family } from './Family';
|
|
135
156
|
export { default as File } from './File';
|
|
136
157
|
export { default as FileAdd } from './FileAdd';
|
|
137
158
|
export { default as FileDuotone } from './FileDuotone';
|
|
@@ -155,6 +176,9 @@ export { default as FileTypeSlide } from './FileTypeSlide';
|
|
|
155
176
|
export { default as FileTypeText } from './FileTypeText';
|
|
156
177
|
export { default as FileTypeVideo } from './FileTypeVideo';
|
|
157
178
|
export { default as FileTypeZip } from './FileTypeZip';
|
|
179
|
+
export { default as Files } from './Files';
|
|
180
|
+
export { default as FilesPen } from './FilesPen';
|
|
181
|
+
export { default as FilesVersions } from './FilesVersions';
|
|
158
182
|
export { default as Filter } from './Filter';
|
|
159
183
|
export { default as Fingerprint } from './Fingerprint';
|
|
160
184
|
export { default as Fitness } from './Fitness';
|
|
@@ -184,7 +208,9 @@ export { default as Help } from './Help';
|
|
|
184
208
|
export { default as HelpOutlined } from './HelpOutlined';
|
|
185
209
|
export { default as History } from './History';
|
|
186
210
|
export { default as Home } from './Home';
|
|
211
|
+
export { default as HomePermissions } from './HomePermissions';
|
|
187
212
|
export { default as Hourglass } from './Hourglass';
|
|
213
|
+
export { default as Identities } from './Identities';
|
|
188
214
|
export { default as Image } from './Image';
|
|
189
215
|
export { default as Info } from './Info';
|
|
190
216
|
export { default as InfoOutlined } from './InfoOutlined';
|
|
@@ -192,6 +218,8 @@ export { default as Justice } from './Justice';
|
|
|
192
218
|
export { default as Key } from './Key';
|
|
193
219
|
export { default as Key2 } from './Key2';
|
|
194
220
|
export { default as Keychain } from './Keychain';
|
|
221
|
+
export { default as Konnectors } from './Konnectors';
|
|
222
|
+
export { default as KonnectorsResult } from './KonnectorsResult';
|
|
195
223
|
export { default as Label } from './Label';
|
|
196
224
|
export { default as LabelOutlined } from './LabelOutlined';
|
|
197
225
|
export { default as Laptop } from './Laptop';
|
|
@@ -205,6 +233,7 @@ export { default as LinkOut } from './LinkOut';
|
|
|
205
233
|
export { default as List } from './List';
|
|
206
234
|
export { default as ListMin } from './ListMin';
|
|
207
235
|
export { default as Location } from './Location';
|
|
236
|
+
export { default as LocationPermissions } from './LocationPermissions';
|
|
208
237
|
export { default as Lock } from './Lock';
|
|
209
238
|
export { default as LockScreen } from './LockScreen';
|
|
210
239
|
export { default as Logout } from './Logout';
|
|
@@ -233,29 +262,35 @@ export { default as Next } from './Next';
|
|
|
233
262
|
export { default as Note } from './Note';
|
|
234
263
|
export { default as Notes } from './Notes';
|
|
235
264
|
export { default as NotificationEmail } from './NotificationEmail';
|
|
265
|
+
export { default as Notifications } from './Notifications';
|
|
236
266
|
export { default as Number } from './Number';
|
|
237
267
|
export { default as Offline } from './Offline';
|
|
238
268
|
export { default as Online } from './Online';
|
|
239
269
|
export { default as OnlyOffice } from './OnlyOffice';
|
|
240
270
|
export { default as Openapp } from './Openapp';
|
|
241
271
|
export { default as Openwith } from './Openwith';
|
|
272
|
+
export { default as Opinions } from './Opinions';
|
|
242
273
|
export { default as Palette } from './Palette';
|
|
243
274
|
export { default as Paper } from './Paper';
|
|
244
275
|
export { default as Paperplane } from './Paperplane';
|
|
245
276
|
export { default as Papers } from './Papers';
|
|
246
277
|
export { default as Pass } from './Pass';
|
|
247
278
|
export { default as Password } from './Password';
|
|
279
|
+
export { default as Passwords } from './Passwords';
|
|
248
280
|
export { default as Pen } from './Pen';
|
|
249
281
|
export { default as People } from './People';
|
|
250
282
|
export { default as Peoples } from './Peoples';
|
|
251
283
|
export { default as Percent } from './Percent';
|
|
252
284
|
export { default as PercentCircle } from './PercentCircle';
|
|
285
|
+
export { default as Permissions } from './Permissions';
|
|
253
286
|
export { default as PersonAdd } from './PersonAdd';
|
|
254
287
|
export { default as PersonalData } from './PersonalData';
|
|
255
288
|
export { default as Phone } from './Phone';
|
|
256
289
|
export { default as PhoneDownload } from './PhoneDownload';
|
|
257
290
|
export { default as PhoneUpload } from './PhoneUpload';
|
|
258
291
|
export { default as Photos } from './Photos';
|
|
292
|
+
export { default as PhotosAlbum } from './PhotosAlbum';
|
|
293
|
+
export { default as PhotosSettings } from './PhotosSettings';
|
|
259
294
|
export { default as PieChart } from './PieChart';
|
|
260
295
|
export { default as Pin } from './Pin';
|
|
261
296
|
export { default as Plane } from './Plane';
|
|
@@ -265,6 +300,7 @@ export { default as PlusSmall } from './PlusSmall';
|
|
|
265
300
|
export { default as PopInside } from './PopInside';
|
|
266
301
|
export { default as Previous } from './Previous';
|
|
267
302
|
export { default as Printer } from './Printer';
|
|
303
|
+
export { default as Profile } from './Profile';
|
|
268
304
|
export { default as Qualify } from './Qualify';
|
|
269
305
|
export { default as RadioChecked } from './RadioChecked';
|
|
270
306
|
export { default as RadioUnchecked } from './RadioUnchecked';
|
|
@@ -283,6 +319,7 @@ export { default as RotateLeft } from './RotateLeft';
|
|
|
283
319
|
export { default as RotateRight } from './RotateRight';
|
|
284
320
|
export { default as SadCozy } from './SadCozy';
|
|
285
321
|
export { default as Safe } from './Safe';
|
|
322
|
+
export { default as SafePermissions } from './SafePermissions';
|
|
286
323
|
export { default as School } from './School';
|
|
287
324
|
export { default as Scooter } from './Scooter';
|
|
288
325
|
export { default as Security } from './Security';
|
|
@@ -290,15 +327,18 @@ export { default as SelectAll } from './SelectAll';
|
|
|
290
327
|
export { default as Send } from './Send';
|
|
291
328
|
export { default as Server } from './Server';
|
|
292
329
|
export { default as Setting } from './Setting';
|
|
330
|
+
export { default as Settings } from './Settings';
|
|
293
331
|
export { default as Share } from './Share';
|
|
294
332
|
export { default as ShareCircle } from './ShareCircle';
|
|
295
333
|
export { default as ShareExternal } from './ShareExternal';
|
|
296
334
|
export { default as ShareGrey08 } from './ShareGrey08';
|
|
297
335
|
export { default as ShareIos } from './ShareIos';
|
|
336
|
+
export { default as Sharings } from './Sharings';
|
|
298
337
|
export { default as Shield } from './Shield';
|
|
299
338
|
export { default as ShieldClean } from './ShieldClean';
|
|
300
339
|
export { default as ShieldInfected } from './ShieldInfected';
|
|
301
340
|
export { default as Shop } from './Shop';
|
|
341
|
+
export { default as Sinister } from './Sinister';
|
|
302
342
|
export { default as Sound } from './Sound';
|
|
303
343
|
export { default as Spinner } from './Spinner';
|
|
304
344
|
export { default as SportBag } from './SportBag';
|
|
@@ -315,20 +355,23 @@ export { default as Sync } from './Sync';
|
|
|
315
355
|
export { default as SyncCozy } from './SyncCozy';
|
|
316
356
|
export { default as Tab } from './Tab';
|
|
317
357
|
export { default as Tag } from './Tag';
|
|
358
|
+
export { default as Tags } from './Tags';
|
|
318
359
|
export { default as Target } from './Target';
|
|
319
360
|
export { default as Task } from './Task';
|
|
361
|
+
export { default as TaskToEffectuate } from './TaskToEffectuate';
|
|
320
362
|
export { default as Team } from './Team';
|
|
321
363
|
export { default as Telecom } from './Telecom';
|
|
322
364
|
export { default as Telephone } from './Telephone';
|
|
323
365
|
export { default as Text } from './Text';
|
|
324
366
|
export { default as TextInfo } from './TextInfo';
|
|
367
|
+
export { default as ToTheCloud } from './ToTheCloud';
|
|
325
368
|
export { default as Top } from './Top';
|
|
326
369
|
export { default as TopSelect } from './TopSelect';
|
|
327
|
-
export { default as ToTheCloud } from './ToTheCloud';
|
|
328
370
|
export { default as Train } from './Train';
|
|
329
371
|
export { default as Tram } from './Tram';
|
|
330
372
|
export { default as Trash } from './Trash';
|
|
331
373
|
export { default as TrashDuotone } from './TrashDuotone';
|
|
374
|
+
export { default as Triggers } from './Triggers';
|
|
332
375
|
export { default as Trophy } from './Trophy';
|
|
333
376
|
export { default as TwakeText } from './TwakeText';
|
|
334
377
|
export { default as TwakeWorkplace } from './TwakeWorkplace';
|
|
@@ -339,6 +382,7 @@ export { default as Unlock } from './Unlock';
|
|
|
339
382
|
export { default as Up } from './Up';
|
|
340
383
|
export { default as UpgradePlan } from './UpgradePlan';
|
|
341
384
|
export { default as Upload } from './Upload';
|
|
385
|
+
export { default as Versioning } from './Versioning';
|
|
342
386
|
export { default as Videos } from './Videos';
|
|
343
387
|
export { default as Walk } from './Walk';
|
|
344
388
|
export { default as Wallet } from './Wallet';
|
package/dist/Icons/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { default as Account } from './Account';
|
|
2
|
+
export { default as Accounts } from './Accounts';
|
|
2
3
|
export { default as Album } from './Album';
|
|
3
4
|
export { default as AlbumAdd } from './AlbumAdd';
|
|
4
5
|
export { default as AlbumRemove } from './AlbumRemove';
|
|
5
6
|
export { default as Answer } from './Answer';
|
|
6
7
|
export { default as Apple } from './Apple';
|
|
8
|
+
export { default as Apps } from './Apps';
|
|
7
9
|
export { default as Archive } from './Archive';
|
|
8
10
|
export { default as ArrowUp } from './ArrowUp';
|
|
9
11
|
export { default as Article } from './Article';
|
|
@@ -14,13 +16,18 @@ export { default as AssistantColor } from './AssistantColor';
|
|
|
14
16
|
export { default as Attachment } from './Attachment';
|
|
15
17
|
export { default as Attention } from './Attention';
|
|
16
18
|
export { default as Bank } from './Bank';
|
|
19
|
+
export { default as BankAccounts } from './BankAccounts';
|
|
17
20
|
export { default as BankCheck } from './BankCheck';
|
|
21
|
+
export { default as BankGroups } from './BankGroups';
|
|
22
|
+
export { default as BankOperations } from './BankOperations';
|
|
23
|
+
export { default as BankRecurrence } from './BankRecurrence';
|
|
18
24
|
export { default as Banking } from './Banking';
|
|
19
25
|
export { default as BankingAdd } from './BankingAdd';
|
|
20
26
|
export { default as Bell } from './Bell';
|
|
21
27
|
export { default as Benefit } from './Benefit';
|
|
22
28
|
export { default as Bike } from './Bike';
|
|
23
29
|
export { default as Bill } from './Bill';
|
|
30
|
+
export { default as BillPermissions } from './BillPermissions';
|
|
24
31
|
export { default as Bottom } from './Bottom';
|
|
25
32
|
export { default as BottomSelect } from './BottomSelect';
|
|
26
33
|
export { default as BrowserBrave } from './BrowserBrave';
|
|
@@ -32,23 +39,27 @@ export { default as BrowserFirefox } from './BrowserFirefox';
|
|
|
32
39
|
export { default as BrowserIe } from './BrowserIe';
|
|
33
40
|
export { default as BrowserOpera } from './BrowserOpera';
|
|
34
41
|
export { default as BrowserSafari } from './BrowserSafari';
|
|
42
|
+
export { default as BugReport } from './BugReport';
|
|
35
43
|
export { default as Burger } from './Burger';
|
|
36
44
|
export { default as Bus } from './Bus';
|
|
37
45
|
export { default as Calendar } from './Calendar';
|
|
38
46
|
export { default as CalendarApp } from './CalendarApp';
|
|
47
|
+
export { default as CalendarPermissions } from './CalendarPermissions';
|
|
39
48
|
export { default as Camera } from './Camera';
|
|
40
49
|
export { default as Car } from './Car';
|
|
41
50
|
export { default as CarbonCopy } from './CarbonCopy';
|
|
42
51
|
export { default as Carpooling } from './Carpooling';
|
|
43
52
|
export { default as Categories } from './Categories';
|
|
53
|
+
export { default as Category } from './Category';
|
|
44
54
|
export { default as Certified } from './Certified';
|
|
55
|
+
export { default as CertifiedPermissions } from './CertifiedPermissions';
|
|
45
56
|
export { default as Chat } from './Chat';
|
|
46
57
|
export { default as Check } from './Check';
|
|
47
|
-
export { default as Checkbox } from './Checkbox';
|
|
48
58
|
export { default as CheckCircle } from './CheckCircle';
|
|
49
59
|
export { default as CheckList } from './CheckList';
|
|
50
60
|
export { default as CheckSquare } from './CheckSquare';
|
|
51
61
|
export { default as CheckWhite } from './CheckWhite';
|
|
62
|
+
export { default as Checkbox } from './Checkbox';
|
|
52
63
|
export { default as Chess } from './Chess';
|
|
53
64
|
export { default as Child } from './Child';
|
|
54
65
|
export { default as CircleFilled } from './CircleFilled';
|
|
@@ -68,9 +79,14 @@ export { default as Comment } from './Comment';
|
|
|
68
79
|
export { default as Company } from './Company';
|
|
69
80
|
export { default as Compare } from './Compare';
|
|
70
81
|
export { default as Compass } from './Compass';
|
|
82
|
+
export { default as ConnectedClients } from './ConnectedClients';
|
|
71
83
|
export { default as Connector } from './Connector';
|
|
84
|
+
export { default as Consumption } from './Consumption';
|
|
72
85
|
export { default as Contacts } from './Contacts';
|
|
86
|
+
export { default as ContactsAccounts } from './ContactsAccounts';
|
|
87
|
+
export { default as ContactsGroups } from './ContactsGroups';
|
|
73
88
|
export { default as Contract } from './Contract';
|
|
89
|
+
export { default as ContractPermissions } from './ContractPermissions';
|
|
74
90
|
export { default as Contrast } from './Contrast';
|
|
75
91
|
export { default as Copy } from './Copy';
|
|
76
92
|
export { default as Cozy } from './Cozy';
|
|
@@ -95,17 +111,17 @@ export { default as CrossSmall } from './CrossSmall';
|
|
|
95
111
|
export { default as CrossWhite } from './CrossWhite';
|
|
96
112
|
export { default as Cube } from './Cube';
|
|
97
113
|
export { default as Dash } from './Dash';
|
|
98
|
-
export { default as Dashboard } from './Dashboard';
|
|
99
114
|
export { default as DashWhite } from './DashWhite';
|
|
100
|
-
export { default as
|
|
115
|
+
export { default as Dashboard } from './Dashboard';
|
|
101
116
|
export { default as DataControl } from './DataControl';
|
|
117
|
+
export { default as Database } from './Database';
|
|
102
118
|
export { default as Debit } from './Debit';
|
|
103
119
|
export { default as DesktopDownload } from './DesktopDownload';
|
|
104
120
|
export { default as DeviceBrowser } from './DeviceBrowser';
|
|
105
121
|
export { default as DeviceLaptop } from './DeviceLaptop';
|
|
106
122
|
export { default as DevicePhone } from './DevicePhone';
|
|
107
|
-
export { default as Devices } from './Devices';
|
|
108
123
|
export { default as DeviceTablet } from './DeviceTablet';
|
|
124
|
+
export { default as Devices } from './Devices';
|
|
109
125
|
export { default as Discuss } from './Discuss';
|
|
110
126
|
export { default as Dots } from './Dots';
|
|
111
127
|
export { default as DotsWhite } from './DotsWhite';
|
|
@@ -117,12 +133,15 @@ export { default as Dropdown } from './Dropdown';
|
|
|
117
133
|
export { default as DropdownClose } from './DropdownClose';
|
|
118
134
|
export { default as DropdownOpen } from './DropdownOpen';
|
|
119
135
|
export { default as Dropup } from './Dropup';
|
|
136
|
+
export { default as Ecolyo } from './Ecolyo';
|
|
120
137
|
export { default as ElectricBike } from './ElectricBike';
|
|
121
138
|
export { default as ElectricCar } from './ElectricCar';
|
|
122
139
|
export { default as ElectricScooter } from './ElectricScooter';
|
|
123
140
|
export { default as Email } from './Email';
|
|
124
141
|
export { default as EmailNotification } from './EmailNotification';
|
|
125
142
|
export { default as EmailOpen } from './EmailOpen';
|
|
143
|
+
export { default as Energy } from './Energy';
|
|
144
|
+
export { default as Energybreakdown } from './Energybreakdown';
|
|
126
145
|
export { default as Eu } from './Eu';
|
|
127
146
|
export { default as Euro } from './Euro';
|
|
128
147
|
export { default as Exchange } from './Exchange';
|
|
@@ -132,6 +151,8 @@ export { default as Export } from './Export';
|
|
|
132
151
|
export { default as Eye } from './Eye';
|
|
133
152
|
export { default as EyeClosed } from './EyeClosed';
|
|
134
153
|
export { default as FaceId } from './FaceId';
|
|
154
|
+
export { default as Fallback } from './Fallback';
|
|
155
|
+
export { default as Family } from './Family';
|
|
135
156
|
export { default as File } from './File';
|
|
136
157
|
export { default as FileAdd } from './FileAdd';
|
|
137
158
|
export { default as FileDuotone } from './FileDuotone';
|
|
@@ -155,6 +176,9 @@ export { default as FileTypeSlide } from './FileTypeSlide';
|
|
|
155
176
|
export { default as FileTypeText } from './FileTypeText';
|
|
156
177
|
export { default as FileTypeVideo } from './FileTypeVideo';
|
|
157
178
|
export { default as FileTypeZip } from './FileTypeZip';
|
|
179
|
+
export { default as Files } from './Files';
|
|
180
|
+
export { default as FilesPen } from './FilesPen';
|
|
181
|
+
export { default as FilesVersions } from './FilesVersions';
|
|
158
182
|
export { default as Filter } from './Filter';
|
|
159
183
|
export { default as Fingerprint } from './Fingerprint';
|
|
160
184
|
export { default as Fitness } from './Fitness';
|
|
@@ -184,7 +208,9 @@ export { default as Help } from './Help';
|
|
|
184
208
|
export { default as HelpOutlined } from './HelpOutlined';
|
|
185
209
|
export { default as History } from './History';
|
|
186
210
|
export { default as Home } from './Home';
|
|
211
|
+
export { default as HomePermissions } from './HomePermissions';
|
|
187
212
|
export { default as Hourglass } from './Hourglass';
|
|
213
|
+
export { default as Identities } from './Identities';
|
|
188
214
|
export { default as Image } from './Image';
|
|
189
215
|
export { default as Info } from './Info';
|
|
190
216
|
export { default as InfoOutlined } from './InfoOutlined';
|
|
@@ -192,6 +218,8 @@ export { default as Justice } from './Justice';
|
|
|
192
218
|
export { default as Key } from './Key';
|
|
193
219
|
export { default as Key2 } from './Key2';
|
|
194
220
|
export { default as Keychain } from './Keychain';
|
|
221
|
+
export { default as Konnectors } from './Konnectors';
|
|
222
|
+
export { default as KonnectorsResult } from './KonnectorsResult';
|
|
195
223
|
export { default as Label } from './Label';
|
|
196
224
|
export { default as LabelOutlined } from './LabelOutlined';
|
|
197
225
|
export { default as Laptop } from './Laptop';
|
|
@@ -205,6 +233,7 @@ export { default as LinkOut } from './LinkOut';
|
|
|
205
233
|
export { default as List } from './List';
|
|
206
234
|
export { default as ListMin } from './ListMin';
|
|
207
235
|
export { default as Location } from './Location';
|
|
236
|
+
export { default as LocationPermissions } from './LocationPermissions';
|
|
208
237
|
export { default as Lock } from './Lock';
|
|
209
238
|
export { default as LockScreen } from './LockScreen';
|
|
210
239
|
export { default as Logout } from './Logout';
|
|
@@ -233,29 +262,35 @@ export { default as Next } from './Next';
|
|
|
233
262
|
export { default as Note } from './Note';
|
|
234
263
|
export { default as Notes } from './Notes';
|
|
235
264
|
export { default as NotificationEmail } from './NotificationEmail';
|
|
265
|
+
export { default as Notifications } from './Notifications';
|
|
236
266
|
export { default as Number } from './Number';
|
|
237
267
|
export { default as Offline } from './Offline';
|
|
238
268
|
export { default as Online } from './Online';
|
|
239
269
|
export { default as OnlyOffice } from './OnlyOffice';
|
|
240
270
|
export { default as Openapp } from './Openapp';
|
|
241
271
|
export { default as Openwith } from './Openwith';
|
|
272
|
+
export { default as Opinions } from './Opinions';
|
|
242
273
|
export { default as Palette } from './Palette';
|
|
243
274
|
export { default as Paper } from './Paper';
|
|
244
275
|
export { default as Paperplane } from './Paperplane';
|
|
245
276
|
export { default as Papers } from './Papers';
|
|
246
277
|
export { default as Pass } from './Pass';
|
|
247
278
|
export { default as Password } from './Password';
|
|
279
|
+
export { default as Passwords } from './Passwords';
|
|
248
280
|
export { default as Pen } from './Pen';
|
|
249
281
|
export { default as People } from './People';
|
|
250
282
|
export { default as Peoples } from './Peoples';
|
|
251
283
|
export { default as Percent } from './Percent';
|
|
252
284
|
export { default as PercentCircle } from './PercentCircle';
|
|
285
|
+
export { default as Permissions } from './Permissions';
|
|
253
286
|
export { default as PersonAdd } from './PersonAdd';
|
|
254
287
|
export { default as PersonalData } from './PersonalData';
|
|
255
288
|
export { default as Phone } from './Phone';
|
|
256
289
|
export { default as PhoneDownload } from './PhoneDownload';
|
|
257
290
|
export { default as PhoneUpload } from './PhoneUpload';
|
|
258
291
|
export { default as Photos } from './Photos';
|
|
292
|
+
export { default as PhotosAlbum } from './PhotosAlbum';
|
|
293
|
+
export { default as PhotosSettings } from './PhotosSettings';
|
|
259
294
|
export { default as PieChart } from './PieChart';
|
|
260
295
|
export { default as Pin } from './Pin';
|
|
261
296
|
export { default as Plane } from './Plane';
|
|
@@ -265,6 +300,7 @@ export { default as PlusSmall } from './PlusSmall';
|
|
|
265
300
|
export { default as PopInside } from './PopInside';
|
|
266
301
|
export { default as Previous } from './Previous';
|
|
267
302
|
export { default as Printer } from './Printer';
|
|
303
|
+
export { default as Profile } from './Profile';
|
|
268
304
|
export { default as Qualify } from './Qualify';
|
|
269
305
|
export { default as RadioChecked } from './RadioChecked';
|
|
270
306
|
export { default as RadioUnchecked } from './RadioUnchecked';
|
|
@@ -283,6 +319,7 @@ export { default as RotateLeft } from './RotateLeft';
|
|
|
283
319
|
export { default as RotateRight } from './RotateRight';
|
|
284
320
|
export { default as SadCozy } from './SadCozy';
|
|
285
321
|
export { default as Safe } from './Safe';
|
|
322
|
+
export { default as SafePermissions } from './SafePermissions';
|
|
286
323
|
export { default as School } from './School';
|
|
287
324
|
export { default as Scooter } from './Scooter';
|
|
288
325
|
export { default as Security } from './Security';
|
|
@@ -290,15 +327,18 @@ export { default as SelectAll } from './SelectAll';
|
|
|
290
327
|
export { default as Send } from './Send';
|
|
291
328
|
export { default as Server } from './Server';
|
|
292
329
|
export { default as Setting } from './Setting';
|
|
330
|
+
export { default as Settings } from './Settings';
|
|
293
331
|
export { default as Share } from './Share';
|
|
294
332
|
export { default as ShareCircle } from './ShareCircle';
|
|
295
333
|
export { default as ShareExternal } from './ShareExternal';
|
|
296
334
|
export { default as ShareGrey08 } from './ShareGrey08';
|
|
297
335
|
export { default as ShareIos } from './ShareIos';
|
|
336
|
+
export { default as Sharings } from './Sharings';
|
|
298
337
|
export { default as Shield } from './Shield';
|
|
299
338
|
export { default as ShieldClean } from './ShieldClean';
|
|
300
339
|
export { default as ShieldInfected } from './ShieldInfected';
|
|
301
340
|
export { default as Shop } from './Shop';
|
|
341
|
+
export { default as Sinister } from './Sinister';
|
|
302
342
|
export { default as Sound } from './Sound';
|
|
303
343
|
export { default as Spinner } from './Spinner';
|
|
304
344
|
export { default as SportBag } from './SportBag';
|
|
@@ -315,20 +355,23 @@ export { default as Sync } from './Sync';
|
|
|
315
355
|
export { default as SyncCozy } from './SyncCozy';
|
|
316
356
|
export { default as Tab } from './Tab';
|
|
317
357
|
export { default as Tag } from './Tag';
|
|
358
|
+
export { default as Tags } from './Tags';
|
|
318
359
|
export { default as Target } from './Target';
|
|
319
360
|
export { default as Task } from './Task';
|
|
361
|
+
export { default as TaskToEffectuate } from './TaskToEffectuate';
|
|
320
362
|
export { default as Team } from './Team';
|
|
321
363
|
export { default as Telecom } from './Telecom';
|
|
322
364
|
export { default as Telephone } from './Telephone';
|
|
323
365
|
export { default as Text } from './Text';
|
|
324
366
|
export { default as TextInfo } from './TextInfo';
|
|
367
|
+
export { default as ToTheCloud } from './ToTheCloud';
|
|
325
368
|
export { default as Top } from './Top';
|
|
326
369
|
export { default as TopSelect } from './TopSelect';
|
|
327
|
-
export { default as ToTheCloud } from './ToTheCloud';
|
|
328
370
|
export { default as Train } from './Train';
|
|
329
371
|
export { default as Tram } from './Tram';
|
|
330
372
|
export { default as Trash } from './Trash';
|
|
331
373
|
export { default as TrashDuotone } from './TrashDuotone';
|
|
374
|
+
export { default as Triggers } from './Triggers';
|
|
332
375
|
export { default as Trophy } from './Trophy';
|
|
333
376
|
export { default as TwakeText } from './TwakeText';
|
|
334
377
|
export { default as TwakeWorkplace } from './TwakeWorkplace';
|
|
@@ -339,6 +382,7 @@ export { default as Unlock } from './Unlock';
|
|
|
339
382
|
export { default as Up } from './Up';
|
|
340
383
|
export { default as UpgradePlan } from './UpgradePlan';
|
|
341
384
|
export { default as Upload } from './Upload';
|
|
385
|
+
export { default as Versioning } from './Versioning';
|
|
342
386
|
export { default as Videos } from './Videos';
|
|
343
387
|
export { default as Walk } from './Walk';
|
|
344
388
|
export { default as Wallet } from './Wallet';
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { File } from '../Icons';
|
|
2
|
+
/**
|
|
3
|
+
* Maps MIME types to their corresponding icon components
|
|
4
|
+
*/
|
|
5
|
+
export declare const mimeToIcon: Record<string, (props: React.SVGProps<SVGSVGElement>) => JSX.Element>;
|
|
6
|
+
/**
|
|
7
|
+
* Default fallback icon when no specific icon is found
|
|
8
|
+
*/
|
|
9
|
+
export declare const defaultIcon: typeof File;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { File, FileTypeAudio, FileTypeCode, FileTypeImage, FileTypePdf, FileTypeSheet, FileTypeSlide, FileTypeText, FileTypeVideo, FileTypeZip } from '../Icons';
|
|
2
|
+
/**
|
|
3
|
+
* Maps MIME types to their corresponding icon components
|
|
4
|
+
*/
|
|
5
|
+
export const mimeToIcon = {
|
|
6
|
+
// PDF
|
|
7
|
+
'application/pdf': FileTypePdf,
|
|
8
|
+
// Images
|
|
9
|
+
'image/png': FileTypeImage,
|
|
10
|
+
'image/jpeg': FileTypeImage,
|
|
11
|
+
'image/jpg': FileTypeImage,
|
|
12
|
+
'image/gif': FileTypeImage,
|
|
13
|
+
'image/webp': FileTypeImage,
|
|
14
|
+
'image/svg+xml': FileTypeImage,
|
|
15
|
+
'image/bmp': FileTypeImage,
|
|
16
|
+
'image/tiff': FileTypeImage,
|
|
17
|
+
// Documents - Word
|
|
18
|
+
'application/msword': FileTypeText,
|
|
19
|
+
'application/rtf': FileTypeText,
|
|
20
|
+
'application/vnd.oasis.opendocument.text': FileTypeText,
|
|
21
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': FileTypeText,
|
|
22
|
+
// Documents - Excel/Sheets
|
|
23
|
+
'application/vnd.ms-excel': FileTypeSheet,
|
|
24
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': FileTypeSheet,
|
|
25
|
+
'application/vnd.oasis.opendocument.spreadsheet': FileTypeSheet,
|
|
26
|
+
'text/csv': FileTypeSheet,
|
|
27
|
+
// Documents - PowerPoint/Slides
|
|
28
|
+
'application/vnd.ms-powerpoint': FileTypeSlide,
|
|
29
|
+
'application/vnd.openxmlformats-officedocument.presentationml.presentation': FileTypeSlide,
|
|
30
|
+
'application/vnd.oasis.opendocument.presentation': FileTypeSlide,
|
|
31
|
+
// Text files
|
|
32
|
+
'text/plain': FileTypeText,
|
|
33
|
+
'text/html': FileTypeCode,
|
|
34
|
+
'text/css': FileTypeCode,
|
|
35
|
+
'text/javascript': FileTypeCode,
|
|
36
|
+
'text/jsx': FileTypeCode,
|
|
37
|
+
'application/json': FileTypeCode,
|
|
38
|
+
'application/xml': FileTypeCode,
|
|
39
|
+
// Archives
|
|
40
|
+
'application/zip': FileTypeZip,
|
|
41
|
+
'application/x-zip-compressed': FileTypeZip,
|
|
42
|
+
'application/x-rar-compressed': FileTypeZip,
|
|
43
|
+
'application/vnd.rar': FileTypeZip,
|
|
44
|
+
'application/x-7z-compressed': FileTypeZip,
|
|
45
|
+
'application/gzip': FileTypeZip,
|
|
46
|
+
'application/x-tar': FileTypeZip,
|
|
47
|
+
// Video
|
|
48
|
+
'video/mp4': FileTypeVideo,
|
|
49
|
+
'video/webm': FileTypeVideo,
|
|
50
|
+
'video/ogg': FileTypeVideo,
|
|
51
|
+
'video/quicktime': FileTypeVideo,
|
|
52
|
+
'video/x-msvideo': FileTypeVideo,
|
|
53
|
+
'video/x-matroska': FileTypeVideo,
|
|
54
|
+
'video/mpeg': FileTypeVideo,
|
|
55
|
+
// Audio
|
|
56
|
+
'audio/mpeg': FileTypeAudio,
|
|
57
|
+
'audio/mp3': FileTypeAudio,
|
|
58
|
+
'audio/wav': FileTypeAudio,
|
|
59
|
+
'audio/ogg': FileTypeAudio,
|
|
60
|
+
'audio/webm': FileTypeAudio,
|
|
61
|
+
'audio/aac': FileTypeAudio,
|
|
62
|
+
'audio/flac': FileTypeAudio,
|
|
63
|
+
'audio/x-flac': FileTypeAudio
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Default fallback icon when no specific icon is found
|
|
67
|
+
*/
|
|
68
|
+
export const defaultIcon = File;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the appropriate icon component for a given attachment
|
|
4
|
+
* Tries MIME type first, then falls back to filename lookup
|
|
5
|
+
* @param filename - The complete filename with the extension
|
|
6
|
+
* @param mimeType - The mime type of the file
|
|
7
|
+
* @returns React node representing the file type icon
|
|
8
|
+
*/
|
|
9
|
+
export declare function getFileTypeIcon(filename: string, mimeType?: string): (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { lookup } from 'mime-types';
|
|
2
|
+
import { mimeToIcon, defaultIcon } from './fileTypeIcons';
|
|
3
|
+
/**
|
|
4
|
+
* Returns the appropriate icon component for a given attachment
|
|
5
|
+
* Tries MIME type first, then falls back to filename lookup
|
|
6
|
+
* @param filename - The complete filename with the extension
|
|
7
|
+
* @param mimeType - The mime type of the file
|
|
8
|
+
* @returns React node representing the file type icon
|
|
9
|
+
*/
|
|
10
|
+
export function getFileTypeIcon(filename, mimeType) {
|
|
11
|
+
const resolvedMimeType = mimeType?.split(';')[0].trim().toLowerCase() || lookup(filename);
|
|
12
|
+
if (resolvedMimeType && mimeToIcon[resolvedMimeType]) {
|
|
13
|
+
return mimeToIcon[resolvedMimeType];
|
|
14
|
+
}
|
|
15
|
+
return defaultIcon;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linagora/twake-icons",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.4.0",
|
|
5
5
|
"description": "Icon library for Twake applications — SVG icons and illustrations",
|
|
6
6
|
"author": "Twake",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,9 +37,13 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"
|
|
40
|
+
"check:barrel": "node scripts/check-barrel.mjs",
|
|
41
|
+
"build": "npm run build:barrel && tsc",
|
|
42
|
+
"build:barrel": "node scripts/generate-barrel.mjs",
|
|
41
43
|
"build:doc": "storybook build --output-dir storybook-static",
|
|
44
|
+
"build:icons": "npm run svgo && npm run makeSvgr && npm run sprite",
|
|
42
45
|
"start": "tsc --watch",
|
|
46
|
+
"test": "vitest run",
|
|
43
47
|
"clean": "rm -rf dist",
|
|
44
48
|
"lint": "eslint src --ext .ts,.tsx",
|
|
45
49
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
@@ -47,7 +51,6 @@
|
|
|
47
51
|
"svgo": "svgo -r --folder assets",
|
|
48
52
|
"makeSvgr": "scripts/generate-svgr.sh",
|
|
49
53
|
"sprite": "scripts/make-sprite.sh",
|
|
50
|
-
"build:icons": "npm run svgo && npm run makeSvgr && npm run sprite",
|
|
51
54
|
"doc": "storybook dev -p 6007"
|
|
52
55
|
},
|
|
53
56
|
"peerDependencies": {
|
|
@@ -68,6 +71,11 @@
|
|
|
68
71
|
"storybook": "10.4.5",
|
|
69
72
|
"svgo": "4.0.1",
|
|
70
73
|
"svgstore-cli": "2.0.1",
|
|
71
|
-
"vite": "8.0.16"
|
|
74
|
+
"vite": "8.0.16",
|
|
75
|
+
"vitest": "4.1.5"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@types/mime-types": "^3.0.1",
|
|
79
|
+
"mime-types": "^3.0.2"
|
|
72
80
|
}
|
|
73
81
|
}
|