@transferwise/icons 2.13.0 → 2.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/icons",
3
- "version": "2.13.0",
3
+ "version": "2.17.0",
4
4
  "description": "TransferWise SVG icons",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
package/CHANGELOG.md DELETED
@@ -1,487 +0,0 @@
1
- # v2.13.0
2
-
3
- ## New Email & Phone icon
4
-
5
- # v2.12.0
6
-
7
- ## New Navigate Away icon
8
-
9
- # v2.11.0
10
-
11
- ## New Shield icon
12
-
13
- # v2.10.0
14
-
15
- ## New version of icon for Wise Card icon
16
-
17
- New Icon usage
18
- ```js
19
- // Angular
20
- <tw-card-wise />
21
-
22
- // React
23
- <CardWise />
24
- ```
25
-
26
- **Note:** Please use it it instead of old one
27
-
28
- ```js
29
- // Angular
30
- <tw-card-transferwise />
31
-
32
- // React
33
- <CardTransferwise />
34
- ```
35
-
36
- # v2.9.0
37
-
38
- ## Add Business category icons
39
- - `contract-services`
40
- - `cost-of-goods-sold`
41
- - `insurance`
42
- - `marketing`
43
- - `office-expenses`
44
- - `owners-withdrawal`
45
- - `rent`
46
- - `sales-and-royalties`
47
- - `software-and-web-hosting`
48
- - `tax`
49
- - `travel`
50
-
51
- # v2.8.0
52
-
53
- ## Add Team icon
54
-
55
- # v2.7.0
56
-
57
- ## Update Direct Debits icon
58
-
59
- - Previous `direct-debits` icon is renamed to `calendar`.
60
- - Adds new `direct-debits` icon.
61
-
62
- # v2.6.0
63
-
64
- ## Updates payment method icons
65
-
66
- Adds iDEAL, Trustly and FPX. Updates Klarna.
67
-
68
- # v2.5.1
69
-
70
- ## Adds focusable="false" to SVGs
71
-
72
- IE11 doesn't support tabindex for SVGs, as a result they appear in the focus order by default and keyboard users will tab into them, resulting in a disorienting experience. Adding this property fixes that.
73
-
74
- See: https://www.scottohara.me/blog/2019/05/22/contextual-images-svgs-and-a11y.html
75
-
76
- # v2.5.0
77
-
78
- ## Add filled version of pending-circle
79
-
80
- # v2.4.2
81
-
82
- ## Folder restructure
83
-
84
- - `icons/` -> `src/icons`
85
- - `scripts/` -> `src/build-scripts`
86
-
87
- # v2.4.1
88
-
89
- ## Migrate on `main` branch
90
-
91
- # v2.4.0
92
-
93
- ## Add `data-testid` prop for React icon components
94
-
95
- # v2.3.0
96
-
97
- ## Generic icon component for Angular set
98
-
99
- Example:
100
-
101
- ```js
102
- <tw-icon name="'bank'" size="24"></tw-icon>
103
- ```
104
-
105
- # v2.2.0
106
-
107
- ## Use 16 size as default for angular icons components
108
-
109
- # v2.1.0
110
-
111
- ## Use babel to transpile angular bundle
112
-
113
- # v2.0.1
114
-
115
- ## Demo page for the icons
116
-
117
- Check out the demo page here
118
- https://transferwise.github.io/icons/
119
-
120
- The demo page allows consumers to preview icons in different variants and the main TransferWise colors, find them by name and check out renamed ones.
121
-
122
- # v2.0.0
123
-
124
- ## Icons v2 official release
125
-
126
- # v2.0.0-beta.7
127
-
128
- ## Add a11y attributes
129
-
130
- # v2.0.0-beta.6
131
-
132
- ## Add missing `tw-icon` class names to angular component templates
133
-
134
- # v2.0.0-beta.5
135
-
136
- ## Add common `tw-icon` class name to angular component template
137
-
138
- Add `tw-icon` class, that was missing from the template that is used to generate all the angularJS commponents.
139
- Now each angularJS component will have the general class name and the scoped one: e.g. `tw-icon tw-icon-activity`
140
-
141
- # v2.0.0-beta.4
142
-
143
- ## Add Activity Category icons
144
-
145
- The fill color for the source icons were changed to `#00BAFF`, some paths were tweaked, and 16 new icons were added:
146
-
147
- - `bills`
148
- - `card-transferwise`
149
- - `charity`
150
- - `defrost`
151
- - `eating-out`
152
- - `entertainment`
153
- - `expenses`
154
- - `family`
155
- - `general`
156
- - `groceries`
157
- - `holidays`
158
- - `investments`
159
- - `personal-care`
160
- - `salary`
161
- - `savings`
162
- - `transport`
163
-
164
- # v2.0.0-beta.3
165
-
166
- ## Fix angularJS component names
167
-
168
- The `-icon` suffix was missing for each angular icon, when they were added to the `twIconsModule` angular module.
169
- Now the module declaration includes the `Icon` suffix at the end
170
-
171
- ```js
172
- .component("tw${icon.componentName}Icon", ${icon.componentName}IconComponent)
173
- ...
174
- ```
175
-
176
- # v2.0.0-beta.2
177
-
178
- ## Add angularJS support
179
-
180
- The library now distributes an AngularJS module for all the icons.
181
- To use it in your angularJs app, just import the module
182
-
183
- ```js
184
- import { TwIconsModule } from '@transferwise/icons/lib/angular';
185
-
186
- angular.module('app', [TwIconsModule]);
187
- ```
188
-
189
- and in your angularJs template use the icons
190
-
191
- ```html
192
- <tw-activity-icon size="16" filled="true"></tw-activity-icon>
193
- <tw-alert-circle-icon size="24"></tw-alert-circle-icon>
194
- ```
195
-
196
- # v2.0.0-beta.1
197
-
198
- ## ICONS v2
199
-
200
- The new TransferWise icon set
201
- Changes:
202
-
203
- - Replace old icons
204
- - Update build process with custom scripts
205
- - Add rollup to create UMD and ES bundles
206
-
207
- # v1.5.0
208
-
209
- ## Adds `messenger` icon
210
-
211
- # v1.4.0
212
-
213
- ## Adds `recurring` icon
214
-
215
- # v1.3.0
216
-
217
- ## Adds `back` icon
218
-
219
- # v1.2.0
220
-
221
- ## Adds `myinfo` icon
222
-
223
- # v1.1.0
224
-
225
- ## Adds `copy` icon
226
-
227
- # v1.0.0
228
-
229
- ## Increases weight of Close icon
230
-
231
- Change weight of Close icon to match most common usage on all platforms. We're aware of the inconsistency it brings to the current set, it's an interim solution while we redesign all icons.
232
-
233
- # v0.14.0
234
-
235
- ## Move dependencies to devDependencies
236
-
237
- - When installing in a consumer, we were installing `phantomjs` as well, since `create-svg-icon-sprite` was depending on it. However this project has zero dependencies, everything can be a devDependency
238
- - Adds `eslint-config`
239
-
240
- # v0.13.2
241
-
242
- ## Fixes security issue
243
-
244
- Bumps npm-run-all version which fixes security issue raised by flatmap-stream
245
-
246
- # v0.13.1
247
-
248
- ## Fixes fast-flag causing error in React
249
-
250
- Because of a `path` contained a `class` attribute which is forbidden in React.
251
-
252
- # v0.13.0
253
-
254
- ## Adds `linkedin` icon
255
-
256
- # v0.12.0
257
-
258
- ## Adds `instagram` icon
259
-
260
- # v0.11.2
261
-
262
- ## Adds inline-block display to .tw-icon
263
-
264
- As we're using a newer version of `create-svg-icon-sprite`,
265
- the SVG itself does not have the property any more.
266
-
267
- # v0.11.1
268
-
269
- ## Fixes react folder missing from NPM package
270
-
271
- # v0.11.0
272
-
273
- ## Adds `pin` icon
274
-
275
- # v0.10.0
276
-
277
- ## Adds exposing React modules for every icon
278
-
279
- We now build a React module for every icon in the `icons` directory and place them in `react/` directory
280
- using `create-svg-icon-sprite` release: https://github.com/transferwise/create-svg-icon-sprite/releases/tag/v1.2.1
281
-
282
- The icons can be imported individually, allowing us to minimize our app sizes.
283
-
284
- For example:
285
-
286
- ```js
287
- ...
288
- import TransferIcon from '@transferwise/icons/react/transfer';
289
-
290
- const YourComponent = () => (
291
- ...
292
- <TransferIcon size="sm" />
293
- ...
294
- );
295
- ```
296
-
297
- The `size` prop should be one of the sizes defined in `styles.css` (`sm`, `md`, `lg`, `xl`, or `xxl`),
298
- which should also be imported for consistency.
299
-
300
- The component also passes any other `className` and `style` values to the icon, so you can style them further,
301
- for example for a large blue icon:
302
-
303
- ```js
304
- <TransferIcon size="lg" className="text-info" />
305
- ```
306
-
307
- # v0.9.0
308
-
309
- ## Adds `minus` icon
310
-
311
- Adds `minus` icon, created from `top-up` (plus sign)
312
-
313
- # v0.8.0
314
-
315
- ## Adds versioned deployment to AWS
316
-
317
- The assets will be deployed to:
318
-
319
- <https://daw291njkc3ao.cloudfront.net/icons/0.8.0/sprite.svg> (SVG sprite itself)
320
- <https://daw291njkc3ao.cloudfront.net/icons/0.8.0/svg-icon-sprite.js> (sprite string script)
321
- <https://daw291njkc3ao.cloudfront.net/icons/0.8.0/svg-icon-sprite-version.js> (sprite version script)
322
- <https://daw291njkc3ao.cloudfront.net/icons/0.8.0/icons.min.css> (styles)
323
-
324
- Where `0.8.0` is the version or `latest`.
325
-
326
- # v0.7.0
327
-
328
- ## Adds controls for modifying icon sizes and color in demo
329
-
330
- Change introduced here:
331
- https://github.com/transferwise/create-svg-icon-sprite/releases/tag/v1.1.0
332
-
333
- ![image](https://user-images.githubusercontent.com/5443561/34956743-5f968d44-fa22-11e7-8ecb-82e8a6ad729e.png)
334
-
335
- # v0.6.0
336
-
337
- ## Makes icons current color, aligns small icons with text
338
-
339
- The `.tw-icon` will now by default be current color so it's easily changeable
340
- by giving utility classes to parents, f.e. `.text-info` in Bootstrap.
341
-
342
- The `.tw-icon-sm` now has a `-2px` margin to align it nicely with body text.
343
-
344
- # v0.5.0
345
-
346
- ## Adds entry point for module-based environments, adds README, fixes `tw-icon-xl` and `tw-icon-xxl`
347
-
348
- You can now
349
-
350
- ```js
351
- import { iconSprite } from '@transferwise/icons';
352
- ```
353
-
354
- Also, `.tw-icon-xl` is now `40px` and `.tw-icon-xxl` is now `48px`.
355
-
356
- # v0.4.0
357
-
358
- ## Exposes SVG string as an UMD script
359
-
360
- Change introduced here:
361
- https://github.com/transferwise/create-svg-icon-sprite/releases/tag/v0.2.0
362
-
363
- # v0.3.1
364
-
365
- ## Use separated `create-svg-icon-sprite` package
366
-
367
- The https://github.com/transferwise/create-svg-icon-sprite package was separated
368
- to simplify this repository for designers and to allow other people/companies to use the same process.
369
-
370
- # v0.3.0
371
-
372
- ## Initial set of icons
373
-
374
- - ach
375
- - active-card
376
- - activity
377
- - add-profile
378
- - alert-circle
379
- - alert
380
- - atm
381
- - balance
382
- - bank
383
- - barcode
384
- - batch
385
- - bin
386
- - book
387
- - briefcase
388
- - camera
389
- - card-back
390
- - card-front
391
- - chat
392
- - chip-pin
393
- - close-circle
394
- - close
395
- - coins
396
- - collapse
397
- - comments
398
- - contactless
399
- - convert
400
- - cs
401
- - document
402
- - documents
403
- - down-arrow
404
- - down
405
- - download
406
- - drivers-licence
407
- - e-comm
408
- - edit
409
- - email
410
- - emoji
411
- - exchange-rate
412
- - exchange
413
- - expand
414
- - eye-off
415
- - eye-on
416
- - facebook-2
417
- - facebook
418
- - fast-flag
419
- - feedback
420
- - fingerprint
421
- - globe
422
- - google
423
- - graph
424
- - help-circle
425
- - help
426
- - home
427
- - id
428
- - inactive-card
429
- - invite
430
- - klarna
431
- - left-arrow
432
- - left
433
- - lightning
434
- - link
435
- - lock
436
- - login
437
- - logout
438
- - menu
439
- - mobile
440
- - money
441
- - multi-currency
442
- - new
443
- - notification-active
444
- - notification
445
- - passport
446
- - pending-circle
447
- - pending
448
- - phone
449
- - picture
450
- - pips
451
- - profile
452
- - receipt
453
- - receive
454
- - recipients
455
- - refresh
456
- - remove-profile
457
- - right-arrow
458
- - right
459
- - search
460
- - send
461
- - settings
462
- - star
463
- - tick-circle
464
- - tick
465
- - top-up
466
- - transfer
467
- - twitter
468
- - two-step
469
- - unlock
470
- - up-arrow
471
- - up
472
- - upload
473
- - verified
474
- - whatsapp
475
-
476
- # v0.2.1
477
-
478
- ## Fix build and edit demo style
479
-
480
- Previously, any file (even `.DS_Store`, f.e.) resulted in an entry in the icons demo.
481
- We now filter to `.svg` files only.
482
-
483
- The demo also now has a blue period in the title, which, by the way, is now sentence-case.
484
-
485
- # v0.2.0
486
-
487
- ## Initial release