@sumup-oss/icons 5.10.0 → 5.11.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.
Files changed (341) hide show
  1. package/README.md +34 -24
  2. package/dist/Accessibility.js +1 -28
  3. package/dist/Account.js +1 -28
  4. package/dist/Accounting.js +1 -28
  5. package/dist/ActivateCard.js +1 -28
  6. package/dist/Active.js +1 -28
  7. package/dist/Add.js +1 -28
  8. package/dist/AddEmployees.js +1 -28
  9. package/dist/AddItems.js +1 -28
  10. package/dist/Alarm.js +1 -28
  11. package/dist/Alelo.js +1 -28
  12. package/dist/Alert.js +1 -28
  13. package/dist/AlternativePaymentMethod.js +1 -28
  14. package/dist/AmericanExpress.js +1 -28
  15. package/dist/Apm.js +1 -28
  16. package/dist/ApplePay.js +1 -28
  17. package/dist/Apps.js +1 -28
  18. package/dist/Archive.js +1 -28
  19. package/dist/Area.js +1 -28
  20. package/dist/ArrowDown.js +1 -28
  21. package/dist/ArrowLeft.js +1 -28
  22. package/dist/ArrowRight.js +1 -28
  23. package/dist/ArrowSlanted.js +1 -28
  24. package/dist/ArrowUp.js +1 -28
  25. package/dist/Article.js +1 -28
  26. package/dist/Atm.js +1 -28
  27. package/dist/Attachment.js +1 -28
  28. package/dist/AutomaticBalanceTransfer.js +1 -28
  29. package/dist/BancoEstado.js +1 -28
  30. package/dist/Bancontact.js +1 -28
  31. package/dist/Bank.js +1 -28
  32. package/dist/Barcode.js +1 -28
  33. package/dist/Basket.js +1 -28
  34. package/dist/Battery.js +1 -28
  35. package/dist/BatteryAlert.js +1 -28
  36. package/dist/Bitcoin.js +1 -28
  37. package/dist/Blik.js +1 -28
  38. package/dist/Bluetooth.js +1 -28
  39. package/dist/Boleto.js +1 -28
  40. package/dist/Briefcase.js +1 -28
  41. package/dist/BrowserSecure.js +1 -28
  42. package/dist/BulkTransfer.js +1 -28
  43. package/dist/Cafe.js +1 -28
  44. package/dist/Calendar.js +1 -28
  45. package/dist/Callback.js +1 -28
  46. package/dist/Camera.js +1 -28
  47. package/dist/CardIn.js +1 -28
  48. package/dist/CardOut.js +1 -28
  49. package/dist/CardReaderAir.js +1 -28
  50. package/dist/CardReaderSolo.js +1 -28
  51. package/dist/CardReaderSoloLite.js +1 -28
  52. package/dist/CardSecurity.js +1 -28
  53. package/dist/CardUnknown.js +1 -28
  54. package/dist/Cash.js +1 -28
  55. package/dist/CashAdvance.js +1 -28
  56. package/dist/CashStack.js +1 -28
  57. package/dist/Challenge.js +1 -28
  58. package/dist/Checkmark.js +1 -28
  59. package/dist/Checkout.js +1 -28
  60. package/dist/Cheque.js +1 -28
  61. package/dist/ChevronDown.js +1 -28
  62. package/dist/ChevronLeft.js +1 -28
  63. package/dist/ChevronRight.js +1 -28
  64. package/dist/ChevronUp.js +1 -28
  65. package/dist/Close.js +1 -28
  66. package/dist/Clothing.js +1 -28
  67. package/dist/Code.js +1 -28
  68. package/dist/ColorCorrection.js +1 -28
  69. package/dist/ColorInversion.js +1 -28
  70. package/dist/Company.js +1 -28
  71. package/dist/Conecs.js +1 -28
  72. package/dist/Confirm.js +1 -28
  73. package/dist/ContactPicker.js +1 -28
  74. package/dist/Controls.js +1 -28
  75. package/dist/Cookie.js +1 -28
  76. package/dist/CookiePreferences.js +1 -28
  77. package/dist/Copy.js +1 -28
  78. package/dist/CreditNote.js +1 -28
  79. package/dist/Crop.js +1 -28
  80. package/dist/CustomAmount.js +1 -28
  81. package/dist/Customize.js +1 -28
  82. package/dist/Dankort.js +1 -28
  83. package/dist/DayView.js +1 -28
  84. package/dist/Delete.js +1 -28
  85. package/dist/DeliveryNote.js +1 -28
  86. package/dist/DinersClub.js +1 -28
  87. package/dist/DirectDebit.js +1 -28
  88. package/dist/Discount.js +1 -28
  89. package/dist/Discover.js +1 -28
  90. package/dist/Download.js +1 -28
  91. package/dist/DownloadCloud.js +1 -28
  92. package/dist/Drag.js +1 -28
  93. package/dist/DriverLicense.js +1 -28
  94. package/dist/Ec.js +1 -28
  95. package/dist/Edit.js +1 -28
  96. package/dist/Eftpos.js +1 -28
  97. package/dist/ElectronicInvoice.js +1 -28
  98. package/dist/Elo.js +1 -28
  99. package/dist/Elv.js +1 -28
  100. package/dist/Email.js +1 -28
  101. package/dist/EmailChat.js +1 -28
  102. package/dist/Employees.js +1 -28
  103. package/dist/Eps.js +1 -28
  104. package/dist/Expenses.js +1 -28
  105. package/dist/ExternalLink.js +1 -28
  106. package/dist/Facebook.js +1 -28
  107. package/dist/FacebookMessenger.js +1 -28
  108. package/dist/FasterPayments.js +1 -28
  109. package/dist/Favorite.js +1 -28
  110. package/dist/FeeCalculator.js +1 -28
  111. package/dist/FeesSummary.js +1 -28
  112. package/dist/File.js +1 -28
  113. package/dist/Filter.js +1 -28
  114. package/dist/FilterApplied.js +1 -28
  115. package/dist/FlagAe.js +1 -28
  116. package/dist/FlagAr.js +1 -28
  117. package/dist/FlagAt.js +1 -28
  118. package/dist/FlagAu.js +1 -28
  119. package/dist/FlagBe.js +1 -28
  120. package/dist/FlagBg.js +1 -28
  121. package/dist/FlagBr.js +1 -28
  122. package/dist/FlagCa.js +1 -28
  123. package/dist/FlagCh.js +1 -28
  124. package/dist/FlagCl.js +1 -28
  125. package/dist/FlagCo.js +1 -28
  126. package/dist/FlagCy.js +1 -28
  127. package/dist/FlagCz.js +1 -28
  128. package/dist/FlagDe.js +1 -28
  129. package/dist/FlagDk.js +1 -28
  130. package/dist/FlagEe.js +1 -28
  131. package/dist/FlagEs.js +1 -28
  132. package/dist/FlagFi.js +1 -28
  133. package/dist/FlagFr.js +1 -28
  134. package/dist/FlagGb.js +1 -28
  135. package/dist/FlagGr.js +1 -28
  136. package/dist/FlagHk.js +1 -28
  137. package/dist/FlagHr.js +1 -28
  138. package/dist/FlagHu.js +1 -28
  139. package/dist/FlagIe.js +1 -28
  140. package/dist/FlagIt.js +1 -28
  141. package/dist/FlagJa.js +1 -28
  142. package/dist/FlagJp.js +1 -28
  143. package/dist/FlagLt.js +1 -28
  144. package/dist/FlagLu.js +1 -28
  145. package/dist/FlagLv.js +1 -28
  146. package/dist/FlagMt.js +1 -28
  147. package/dist/FlagMx.js +1 -28
  148. package/dist/FlagMy.js +1 -28
  149. package/dist/FlagNl.js +1 -28
  150. package/dist/FlagNo.js +1 -28
  151. package/dist/FlagNz.js +1 -28
  152. package/dist/FlagPe.js +1 -28
  153. package/dist/FlagPl.js +1 -28
  154. package/dist/FlagPt.js +1 -28
  155. package/dist/FlagRo.js +1 -28
  156. package/dist/FlagSe.js +1 -28
  157. package/dist/FlagSg.js +1 -28
  158. package/dist/FlagSi.js +1 -28
  159. package/dist/FlagSk.js +1 -28
  160. package/dist/FlagUs.js +1 -28
  161. package/dist/FlashOff.js +1 -28
  162. package/dist/FlashOn.js +1 -28
  163. package/dist/Flashlight.js +1 -28
  164. package/dist/FlipCamera.js +1 -28
  165. package/dist/Freeze.js +1 -28
  166. package/dist/Gauge.js +1 -28
  167. package/dist/GeneralSettings.js +1 -28
  168. package/dist/GiftCard.js +1 -28
  169. package/dist/Girocard.js +1 -28
  170. package/dist/Giropay.js +1 -28
  171. package/dist/Globe.js +1 -28
  172. package/dist/GooglePay.js +1 -28
  173. package/dist/Grid.js +1 -28
  174. package/dist/HamburgerMenu.js +1 -28
  175. package/dist/Health.js +1 -28
  176. package/dist/Help.js +1 -28
  177. package/dist/Hide.js +1 -28
  178. package/dist/Hiper.js +1 -28
  179. package/dist/Hipercard.js +1 -28
  180. package/dist/History.js +1 -28
  181. package/dist/Home.js +1 -28
  182. package/dist/Hospitality.js +1 -28
  183. package/dist/Id.js +1 -28
  184. package/dist/Ideal.js +1 -28
  185. package/dist/Image.js +1 -28
  186. package/dist/Info.js +1 -28
  187. package/dist/Instagram.js +1 -28
  188. package/dist/Insurance.js +1 -28
  189. package/dist/Interac.js +1 -28
  190. package/dist/InterestOnBalance.js +1 -28
  191. package/dist/Inventory.js +1 -28
  192. package/dist/Invoice.js +1 -28
  193. package/dist/Items.js +1 -28
  194. package/dist/Jcb.js +1 -28
  195. package/dist/Key.js +1 -28
  196. package/dist/Klarna.js +1 -28
  197. package/dist/Language.js +1 -28
  198. package/dist/Laptop.js +1 -28
  199. package/dist/Legal.js +1 -28
  200. package/dist/Like.js +1 -28
  201. package/dist/Link.js +1 -28
  202. package/dist/Linkedin.js +1 -28
  203. package/dist/List.js +1 -28
  204. package/dist/LiveChat.js +1 -28
  205. package/dist/Location.js +1 -28
  206. package/dist/Login.js +1 -28
  207. package/dist/Logout.js +1 -28
  208. package/dist/Loja.js +1 -28
  209. package/dist/Maestro.js +1 -28
  210. package/dist/Manage.js +1 -28
  211. package/dist/Mastercard.js +1 -28
  212. package/dist/Mcc.js +1 -28
  213. package/dist/MealVoucher.js +1 -28
  214. package/dist/Messenger.js +1 -28
  215. package/dist/Minus.js +1 -28
  216. package/dist/MobilePhone.js +1 -28
  217. package/dist/MonthView.js +1 -28
  218. package/dist/Moon.js +1 -28
  219. package/dist/More.js +1 -28
  220. package/dist/MoreCircle.js +1 -28
  221. package/dist/Motorbike.js +1 -28
  222. package/dist/Mybank.js +1 -28
  223. package/dist/Nfc.js +1 -28
  224. package/dist/NfcPayment.js +1 -28
  225. package/dist/NoCosts.js +1 -28
  226. package/dist/NoSim.js +1 -28
  227. package/dist/NotificationCenter.js +1 -28
  228. package/dist/Notify.js +1 -28
  229. package/dist/NotifyCircle.js +1 -28
  230. package/dist/OnlinePayments.js +1 -28
  231. package/dist/OnlineStore.js +1 -28
  232. package/dist/Orders.js +1 -28
  233. package/dist/Package.js +1 -28
  234. package/dist/PaidOut.js +1 -28
  235. package/dist/ParcelLocker.js +1 -28
  236. package/dist/Passport.js +1 -28
  237. package/dist/Pause.js +1 -28
  238. package/dist/Paused.js +1 -28
  239. package/dist/PayPal.js +1 -28
  240. package/dist/PaymentLink.js +1 -28
  241. package/dist/PaymentMethods.js +1 -28
  242. package/dist/PayoutSettings.js +1 -28
  243. package/dist/Payouts.js +1 -28
  244. package/dist/Percentage.js +1 -28
  245. package/dist/Phone.js +1 -28
  246. package/dist/PhoneChat.js +1 -28
  247. package/dist/Pinterest.js +1 -28
  248. package/dist/Pix.js +1 -28
  249. package/dist/PixFull.js +1 -28
  250. package/dist/Play.js +1 -28
  251. package/dist/Plus.js +1 -28
  252. package/dist/PlusTier.js +1 -28
  253. package/dist/PostFinance.js +1 -28
  254. package/dist/PrintFailed.js +1 -28
  255. package/dist/Printer.js +1 -28
  256. package/dist/Profile.js +1 -28
  257. package/dist/Promote.js +1 -28
  258. package/dist/Przelewy24.js +1 -28
  259. package/dist/QrCode.js +1 -28
  260. package/dist/Random.js +1 -28
  261. package/dist/Receipt.js +1 -28
  262. package/dist/ReceiptAttached.js +1 -28
  263. package/dist/ReceiptMissing.js +1 -28
  264. package/dist/ReceiptSmart.js +1 -28
  265. package/dist/ReceiptUnreviewed.js +1 -28
  266. package/dist/RecurringInvoice.js +1 -28
  267. package/dist/RedCompra.js +1 -28
  268. package/dist/Refer.js +1 -28
  269. package/dist/ReferAFriend.js +1 -28
  270. package/dist/Refresh.js +1 -28
  271. package/dist/Refunded.js +1 -28
  272. package/dist/Remove.js +1 -28
  273. package/dist/Reports.js +1 -28
  274. package/dist/ResidencePermit.js +1 -28
  275. package/dist/Reward.js +1 -28
  276. package/dist/Sales.js +1 -28
  277. package/dist/SamsungPay.js +1 -28
  278. package/dist/Satispay.js +1 -28
  279. package/dist/Search.js +1 -28
  280. package/dist/Secure.js +1 -28
  281. package/dist/SecurePayments.js +1 -28
  282. package/dist/SelectAll.js +1 -28
  283. package/dist/Send.js +1 -28
  284. package/dist/Sepa.js +1 -28
  285. package/dist/Services.js +1 -28
  286. package/dist/Settings.js +1 -28
  287. package/dist/Share.js +1 -28
  288. package/dist/Shop.js +1 -28
  289. package/dist/SimCard.js +1 -28
  290. package/dist/Sodexo.js +1 -28
  291. package/dist/Sofort.js +1 -28
  292. package/dist/Sort.js +1 -28
  293. package/dist/Sparkles.js +1 -28
  294. package/dist/Stop.js +1 -28
  295. package/dist/Stopped.js +1 -28
  296. package/dist/StoreEditor.js +1 -28
  297. package/dist/SumUpCard.js +1 -28
  298. package/dist/SumUpConnect.js +1 -28
  299. package/dist/SumUpLogo.js +1 -28
  300. package/dist/SumUpLogomark.js +1 -28
  301. package/dist/SumupPay.js +1 -28
  302. package/dist/Sun.js +1 -28
  303. package/dist/Support.js +1 -28
  304. package/dist/Swile.js +1 -28
  305. package/dist/Tablet.js +1 -28
  306. package/dist/TapToPay.js +1 -28
  307. package/dist/Taxes.js +1 -28
  308. package/dist/ThumbDown.js +1 -28
  309. package/dist/ThumbUp.js +1 -28
  310. package/dist/Ticket.js +1 -28
  311. package/dist/Time.js +1 -28
  312. package/dist/Tipping.js +1 -28
  313. package/dist/Transactions.js +1 -28
  314. package/dist/TransferIn.js +1 -28
  315. package/dist/TransferOut.js +1 -28
  316. package/dist/Transit.js +1 -28
  317. package/dist/Truck.js +1 -28
  318. package/dist/Twitter.js +1 -28
  319. package/dist/Unfavorite.js +1 -28
  320. package/dist/UnionPay.js +1 -28
  321. package/dist/Upgrade.js +1 -28
  322. package/dist/Upload.js +1 -28
  323. package/dist/UploadCloud.js +1 -28
  324. package/dist/View.js +1 -28
  325. package/dist/VirtualTerminal.js +1 -28
  326. package/dist/Visa.js +1 -28
  327. package/dist/VisaElectron.js +1 -28
  328. package/dist/Volume.js +1 -28
  329. package/dist/Vpay.js +1 -28
  330. package/dist/Vr.js +1 -28
  331. package/dist/Webspace.js +1 -28
  332. package/dist/WeekView.js +1 -28
  333. package/dist/WhatsApp.js +1 -28
  334. package/dist/Wifi.js +1 -28
  335. package/dist/WireTransfer.js +1 -28
  336. package/dist/Youtube.js +1 -28
  337. package/dist/ZipFile.js +1 -28
  338. package/dist/helpers.js +3 -0
  339. package/dist/index.d.ts +344 -0
  340. package/dist/index.js +1 -0
  341. package/package.json +3 -3
package/README.md CHANGED
@@ -26,7 +26,7 @@ yarn add @sumup-oss/icons
26
26
 
27
27
  The easiest way to use an icon in [React](https://reactjs.org/) is to import it as a component. This approach works out of the box (no special loaders needed), is tree-shaking enabled, and comes with TypeScript typings included.
28
28
 
29
- ```jsx
29
+ ```tsx
30
30
  import { Check } from '@sumup-oss/icons';
31
31
 
32
32
  const SuccessMessage = ({ description }) => (
@@ -39,7 +39,7 @@ const SuccessMessage = ({ description }) => (
39
39
 
40
40
  Some icons have multiple sizes. They default to size '24', if supported, or to the smallest available size. Use the `size` prop to show one of the other sizes ('16' or '32') instead:
41
41
 
42
- ```jsx
42
+ ```tsx
43
43
  import { CircleCheckmark } from '@sumup-oss/icons';
44
44
 
45
45
  const SuccessMessage = ({ description }) => (
@@ -50,20 +50,24 @@ const SuccessMessage = ({ description }) => (
50
50
  );
51
51
  ```
52
52
 
53
- To change the color of an icon, set the `color` property in CSS. The color will [cascade down](https://css-tricks.com/cascading-svg-fill-color/) since the `fill` and `stroke` attributes of all monochrome icons are set to `currentColor`. Here's an example with a CSS-in-JS library:
53
+ To change the color of an icon, set the `color` property in CSS. The color will [cascade down](https://css-tricks.com/cascading-svg-fill-color/) since the `fill` and `stroke` attributes of all monochrome icons are set to `currentColor`. Here's an example using CSS Modules:
54
54
 
55
- ```jsx
56
- import styled from '@emotion/styled';
57
- import { Check } from '@sumup-oss/icons';
58
-
59
- const GreenCheck = styled(Check)`
55
+ ```css
56
+ /* SuccessMessage.module.css */
57
+ .icon {
60
58
  color: green;
61
- `;
59
+ }
60
+ ```
62
61
 
63
- const SuccessMessage = ({ description }) => (
62
+ ```tsx
63
+ // SuccessMessage.tsx
64
+ import { Check } from '@sumup-oss/icons';
65
+ import styles from './SuccessMessage.module.css';
66
+
67
+ const SuccessMessage = ({ message }) => (
64
68
  <div>
65
- <GreenCheck />
66
- <span>{description}</span>
69
+ <Check className={styles.icon} />
70
+ <span>{message}</span>
67
71
  </div>
68
72
  );
69
73
  ```
@@ -72,13 +76,13 @@ const SuccessMessage = ({ description }) => (
72
76
 
73
77
  Alternatively, it's possible to import the raw SVG files. Most bundlers require a special loader to make this work. For Webpack, we recommend the [file-loader](https://github.com/webpack-contrib/file-loader) which turns the import into a URL to the SVG.
74
78
 
75
- ```jsx
76
- import checkIcon from '@sumup-oss/icons/check_small.svg';
79
+ ```tsx
80
+ import checkIcon from '@sumup-oss/icons/check_24.svg';
77
81
 
78
- const SuccessMessage = ({ description }) => (
82
+ const SuccessMessage = ({ message }) => (
79
83
  <div>
80
- <img src={checkIcon} alt="" aria-hidden="true" />
81
- <span>{description}</span>
84
+ <img src={checkIcon} alt="" />
85
+ <span>{message}</span>
82
86
  </div>
83
87
  );
84
88
  ```
@@ -87,18 +91,24 @@ It is not possible to change the color of an external SVG using the `css` color
87
91
 
88
92
  ### Load from a URL
89
93
 
90
- The latest version of the icon library is [automatically deployed](https://circuit.sumup.com/icons/v2) to [Vercel](https://vercel.com/). The files are hosted behind a global CDN, so they load quickly for all users. You can load the icons from `https://circuit.sumup.com/icons/v2/<name>_<size>.svg`. Below are some examples:
94
+ The latest version of the icon library is [automatically deployed](https://circuit.sumup.com/icons/v2) to [Vercel](https://vercel.com/). The files are hosted behind a global CDN, so they load quickly for all users. Use the `getIconURL` helper function to obtain the full URL with type-safety:
95
+
96
+ ```tsx
97
+ import { getIconURL } from '@sumup-oss/icons';
91
98
 
92
- ```html
93
- <img
94
- src="https://circuit.sumup.com/icons/v2/checkmark_16.svg"
95
- alt="checkmark"
96
- />
99
+ const SuccessMessage = ({ message }) => (
100
+ <div>
101
+ <img src={getIconURL('check', '24')} alt="" />
102
+ <span>{message}</span>
103
+ </div>
104
+ );
97
105
  ```
98
106
 
107
+ Alternatively, you can manually construct the URL (`https://circuit.sumup.com/icons/v2/<name>_<size>.svg`). For example:
108
+
99
109
  ```css
100
110
  .icon {
101
- background-image: url('https://circuit.sumup.com/icons/v2/checkmark_16.svg');
111
+ background-image: url('https://circuit.sumup.com/icons/v2/check_24.svg');
102
112
  }
103
113
  ```
104
114
 
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -64,8 +38,7 @@ const sizeMap = {
64
38
  24: Accessibility24,
65
39
  };
66
40
  export function Accessibility(_ref) {
67
- let { size = "24" } = _ref,
68
- props = _objectWithoutProperties(_ref, _excluded);
41
+ let { size = "24", ...props } = _ref;
69
42
  const Icon = sizeMap[size] || sizeMap["24"];
70
43
  if (
71
44
  process.env.NODE_ENV !== "production" &&
package/dist/Account.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -62,8 +36,7 @@ const sizeMap = {
62
36
  24: Account24,
63
37
  };
64
38
  export function Account(_ref) {
65
- let { size = "24" } = _ref,
66
- props = _objectWithoutProperties(_ref, _excluded);
39
+ let { size = "24", ...props } = _ref;
67
40
  const Icon = sizeMap[size] || sizeMap["24"];
68
41
  if (
69
42
  process.env.NODE_ENV !== "production" &&
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -68,8 +42,7 @@ const sizeMap = {
68
42
  24: Accounting24,
69
43
  };
70
44
  export function Accounting(_ref) {
71
- let { size = "24" } = _ref,
72
- props = _objectWithoutProperties(_ref, _excluded);
45
+ let { size = "24", ...props } = _ref;
73
46
  const Icon = sizeMap[size] || sizeMap["24"];
74
47
  if (
75
48
  process.env.NODE_ENV !== "production" &&
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -72,8 +46,7 @@ const sizeMap = {
72
46
  24: ActivateCard24,
73
47
  };
74
48
  export function ActivateCard(_ref) {
75
- let { size = "24" } = _ref,
76
- props = _objectWithoutProperties(_ref, _excluded);
49
+ let { size = "24", ...props } = _ref;
77
50
  const Icon = sizeMap[size] || sizeMap["24"];
78
51
  if (
79
52
  process.env.NODE_ENV !== "production" &&
package/dist/Active.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -86,8 +60,7 @@ const sizeMap = {
86
60
  16: Active16,
87
61
  };
88
62
  export function Active(_ref) {
89
- let { size = "24" } = _ref,
90
- props = _objectWithoutProperties(_ref, _excluded);
63
+ let { size = "24", ...props } = _ref;
91
64
  const Icon = sizeMap[size] || sizeMap["24"];
92
65
  if (
93
66
  process.env.NODE_ENV !== "production" &&
package/dist/Add.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -86,8 +60,7 @@ const sizeMap = {
86
60
  16: Add16,
87
61
  };
88
62
  export function Add(_ref) {
89
- let { size = "24" } = _ref,
90
- props = _objectWithoutProperties(_ref, _excluded);
63
+ let { size = "24", ...props } = _ref;
91
64
  const Icon = sizeMap[size] || sizeMap["24"];
92
65
  if (
93
66
  process.env.NODE_ENV !== "production" &&
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -64,8 +38,7 @@ const sizeMap = {
64
38
  24: AddEmployees24,
65
39
  };
66
40
  export function AddEmployees(_ref) {
67
- let { size = "24" } = _ref,
68
- props = _objectWithoutProperties(_ref, _excluded);
41
+ let { size = "24", ...props } = _ref;
69
42
  const Icon = sizeMap[size] || sizeMap["24"];
70
43
  if (
71
44
  process.env.NODE_ENV !== "production" &&
package/dist/AddItems.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -68,8 +42,7 @@ const sizeMap = {
68
42
  * @deprecated Use the `Add` or `Items` icons instead.
69
43
  */
70
44
  export function AddItems(_ref) {
71
- let { size = "24" } = _ref,
72
- props = _objectWithoutProperties(_ref, _excluded);
45
+ let { size = "24", ...props } = _ref;
73
46
  const Icon = sizeMap[size] || sizeMap["24"];
74
47
  if (
75
48
  process.env.NODE_ENV !== "production" &&
package/dist/Alarm.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -64,8 +38,7 @@ const sizeMap = {
64
38
  24: Alarm24,
65
39
  };
66
40
  export function Alarm(_ref) {
67
- let { size = "24" } = _ref,
68
- props = _objectWithoutProperties(_ref, _excluded);
41
+ let { size = "24", ...props } = _ref;
69
42
  const Icon = sizeMap[size] || sizeMap["24"];
70
43
  if (
71
44
  process.env.NODE_ENV !== "production" &&
package/dist/Alelo.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -115,8 +89,7 @@ const sizeMap = {
115
89
  24: Alelo24,
116
90
  };
117
91
  export function Alelo(_ref) {
118
- let { size = "24" } = _ref,
119
- props = _objectWithoutProperties(_ref, _excluded);
92
+ let { size = "24", ...props } = _ref;
120
93
  const Icon = sizeMap[size] || sizeMap["24"];
121
94
  if (
122
95
  process.env.NODE_ENV !== "production" &&
package/dist/Alert.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -82,8 +56,7 @@ const sizeMap = {
82
56
  16: Alert16,
83
57
  };
84
58
  export function Alert(_ref) {
85
- let { size = "24" } = _ref,
86
- props = _objectWithoutProperties(_ref, _excluded);
59
+ let { size = "24", ...props } = _ref;
87
60
  const Icon = sizeMap[size] || sizeMap["24"];
88
61
  if (
89
62
  process.env.NODE_ENV !== "production" &&
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -100,8 +74,7 @@ const sizeMap = {
100
74
  32: AlternativePaymentMethod32,
101
75
  };
102
76
  export function AlternativePaymentMethod(_ref) {
103
- let { size = "32" } = _ref,
104
- props = _objectWithoutProperties(_ref, _excluded);
77
+ let { size = "32", ...props } = _ref;
105
78
  const Icon = sizeMap[size] || sizeMap["32"];
106
79
  if (
107
80
  process.env.NODE_ENV !== "production" &&
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -120,8 +94,7 @@ const sizeMap = {
120
94
  24: AmericanExpress24,
121
95
  };
122
96
  export function AmericanExpress(_ref) {
123
- let { size = "24" } = _ref,
124
- props = _objectWithoutProperties(_ref, _excluded);
97
+ let { size = "24", ...props } = _ref;
125
98
  const Icon = sizeMap[size] || sizeMap["24"];
126
99
  if (
127
100
  process.env.NODE_ENV !== "production" &&
package/dist/Apm.js CHANGED
@@ -1,29 +1,3 @@
1
- const _excluded = ["size"];
2
- function _objectWithoutProperties(e, t) {
3
- if (null == e) return {};
4
- var o,
5
- r,
6
- i = _objectWithoutPropertiesLoose(e, t);
7
- if (Object.getOwnPropertySymbols) {
8
- var n = Object.getOwnPropertySymbols(e);
9
- for (r = 0; r < n.length; r++)
10
- (o = n[r]),
11
- -1 === t.indexOf(o) &&
12
- {}.propertyIsEnumerable.call(e, o) &&
13
- (i[o] = e[o]);
14
- }
15
- return i;
16
- }
17
- function _objectWithoutPropertiesLoose(r, e) {
18
- if (null == r) return {};
19
- var t = {};
20
- for (var n in r)
21
- if ({}.hasOwnProperty.call(r, n)) {
22
- if (-1 !== e.indexOf(n)) continue;
23
- t[n] = r[n];
24
- }
25
- return t;
26
- }
27
1
  function _extends() {
28
2
  return (
29
3
  (_extends = Object.assign
@@ -72,8 +46,7 @@ const sizeMap = {
72
46
  * @deprecated Use the `AlternativePaymentMethod` icon instead.
73
47
  */
74
48
  export function Apm(_ref) {
75
- let { size = "32" } = _ref,
76
- props = _objectWithoutProperties(_ref, _excluded);
49
+ let { size = "32", ...props } = _ref;
77
50
  const Icon = sizeMap[size] || sizeMap["32"];
78
51
  if (
79
52
  process.env.NODE_ENV !== "production" &&