@sumup-oss/icons 6.11.0 → 6.13.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/dist/index.js CHANGED
@@ -202,7 +202,6 @@ export { Basket } from "./Basket.js";
202
202
  export { Battery } from "./Battery.js";
203
203
  export { BatteryAlert } from "./BatteryAlert.js";
204
204
  export { Briefcase } from "./Briefcase.js";
205
- export { BrowserSecure } from "./BrowserSecure.js";
206
205
  export { Cafe } from "./Cafe.js";
207
206
  export { Calendar } from "./Calendar.js";
208
207
  export { Checkmark } from "./Checkmark.js";
@@ -226,7 +225,6 @@ export { Globe } from "./Globe.js";
226
225
  export { Health } from "./Health.js";
227
226
  export { Hospitality } from "./Hospitality.js";
228
227
  export { Id } from "./Id.js";
229
- export { Key } from "./Key.js";
230
228
  export { Language } from "./Language.js";
231
229
  export { Legal } from "./Legal.js";
232
230
  export { Like } from "./Like.js";
@@ -246,8 +244,6 @@ export { PrinterFailed } from "./PrinterFailed.js";
246
244
  export { Profile } from "./Profile.js";
247
245
  export { ProfileFilled } from "./ProfileFilled.js";
248
246
  export { Refunded } from "./Refunded.js";
249
- export { Secure } from "./Secure.js";
250
- export { SecurePayments } from "./SecurePayments.js";
251
247
  export { Services } from "./Services.js";
252
248
  export { Settings } from "./Settings.js";
253
249
  export { SettingsFilled } from "./SettingsFilled.js";
@@ -263,6 +259,15 @@ export { Unfavourite } from "./Unfavourite.js";
263
259
  export { Volume } from "./Volume.js";
264
260
  export { Contractors } from "./Contractors.js";
265
261
  export { Contractor } from "./Contractor.js";
262
+ export { BrowserSecure } from "./BrowserSecure.js";
263
+ export { CardSecurity } from "./CardSecurity.js";
264
+ export { Key } from "./Key.js";
265
+ export { Passkey } from "./Passkey.js";
266
+ export { Secure } from "./Secure.js";
267
+ export { SecurePayments } from "./SecurePayments.js";
268
+ export { SecurityTimeSensitive } from "./SecurityTimeSensitive.js";
269
+ export { TrustedCompany } from "./TrustedCompany.js";
270
+ export { Unlock } from "./Unlock.js";
266
271
  export { ArrowDown } from "./ArrowDown.js";
267
272
  export { ArrowLeft } from "./ArrowLeft.js";
268
273
  export { ArrowRight } from "./ArrowRight.js";
@@ -315,7 +320,6 @@ export { AccountFilled } from "./AccountFilled.js";
315
320
  export { Accounting } from "./Accounting.js";
316
321
  export { AccountingFilled } from "./AccountingFilled.js";
317
322
  export { Apps } from "./Apps.js";
318
- export { CardSecurity } from "./CardSecurity.js";
319
323
  export { CashAdvance } from "./CashAdvance.js";
320
324
  export { CashAdvanceFilled } from "./CashAdvanceFilled.js";
321
325
  export { CashDrawer } from "./CashDrawer.js";
@@ -407,3 +411,6 @@ export { Twitter } from "./Twitter.js";
407
411
  export { Unsplash } from "./Unsplash.js";
408
412
  export { WhatsApp } from "./WhatsApp.js";
409
413
  export { Youtube } from "./Youtube.js";
414
+ export * from "./components/Flag/Flag.js";
415
+ export * from "./components/PaymentMethod/PaymentMethod.js";
416
+ export * from "./components/CardScheme/CardScheme.js";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright 2026, SumUp Ltd.
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+ /**
16
+ * Always wrap in `process.env.NODE_ENV !== 'production'` to enable dead code
17
+ * elimination.
18
+ */
19
+ export declare function deprecate(componentName: string, message: string): void;
package/dist/logger.js ADDED
@@ -0,0 +1,27 @@
1
+ /* biome-ignore-all lint/suspicious/noConsole: It's okay in the logger */
2
+ /**
3
+ * Copyright 2026, SumUp Ltd.
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ const DEPRECATED = {};
17
+ /**
18
+ * Always wrap in `process.env.NODE_ENV !== 'production'` to enable dead code
19
+ * elimination.
20
+ */
21
+ export function deprecate(componentName, message) {
22
+ if (DEPRECATED[componentName]) {
23
+ return;
24
+ }
25
+ DEPRECATED[componentName] = true;
26
+ console.warn(new Error(`[${componentName}] ${message}`));
27
+ }
package/manifest.json CHANGED
@@ -3355,11 +3355,6 @@
3355
3355
  "category": "Miscellaneous",
3356
3356
  "size": "24"
3357
3357
  },
3358
- {
3359
- "name": "browser_secure",
3360
- "category": "Miscellaneous",
3361
- "size": "24"
3362
- },
3363
3358
  {
3364
3359
  "name": "cafe",
3365
3360
  "category": "Miscellaneous",
@@ -3507,11 +3502,6 @@
3507
3502
  "category": "Miscellaneous",
3508
3503
  "size": "24"
3509
3504
  },
3510
- {
3511
- "name": "key",
3512
- "category": "Miscellaneous",
3513
- "size": "24"
3514
- },
3515
3505
  {
3516
3506
  "name": "language",
3517
3507
  "category": "Miscellaneous",
@@ -3656,16 +3646,6 @@
3656
3646
  "category": "Miscellaneous",
3657
3647
  "size": "16"
3658
3648
  },
3659
- {
3660
- "name": "secure",
3661
- "category": "Miscellaneous",
3662
- "size": "24"
3663
- },
3664
- {
3665
- "name": "secure_payments",
3666
- "category": "Miscellaneous",
3667
- "size": "24"
3668
- },
3669
3649
  {
3670
3650
  "name": "services",
3671
3651
  "category": "Miscellaneous",
@@ -3766,6 +3746,51 @@
3766
3746
  "category": "Miscellaneous",
3767
3747
  "size": "24"
3768
3748
  },
3749
+ {
3750
+ "name": "browser_secure",
3751
+ "category": "Security",
3752
+ "size": "24"
3753
+ },
3754
+ {
3755
+ "name": "card_security",
3756
+ "category": "Security",
3757
+ "size": "24"
3758
+ },
3759
+ {
3760
+ "name": "key",
3761
+ "category": "Security",
3762
+ "size": "24"
3763
+ },
3764
+ {
3765
+ "name": "passkey",
3766
+ "category": "Security",
3767
+ "size": "24"
3768
+ },
3769
+ {
3770
+ "name": "secure",
3771
+ "category": "Security",
3772
+ "size": "24"
3773
+ },
3774
+ {
3775
+ "name": "secure_payments",
3776
+ "category": "Security",
3777
+ "size": "24"
3778
+ },
3779
+ {
3780
+ "name": "security_time_sensitive",
3781
+ "category": "Security",
3782
+ "size": "24"
3783
+ },
3784
+ {
3785
+ "name": "trusted_company",
3786
+ "category": "Security",
3787
+ "size": "24"
3788
+ },
3789
+ {
3790
+ "name": "unlock",
3791
+ "category": "Security",
3792
+ "size": "24"
3793
+ },
3769
3794
  {
3770
3795
  "name": "arrow_down",
3771
3796
  "category": "Navigation",
@@ -4257,11 +4282,6 @@
4257
4282
  "category": "Product and feature",
4258
4283
  "size": "24"
4259
4284
  },
4260
- {
4261
- "name": "card_security",
4262
- "category": "Product and feature",
4263
- "size": "24"
4264
- },
4265
4285
  {
4266
4286
  "name": "cash_advance",
4267
4287
  "category": "Product and feature",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "6.11.0",
3
+ "version": "6.13.0",
4
4
  "description": "A collection of icons by SumUp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "homepage": "https://github.com/sumup-oss/circuit-ui/tree/main/packages/icons/README.md",
32
32
  "scripts": {
33
33
  "start": "tsx watch ./scripts/build.ts",
34
- "build": "tsx ./scripts/build.ts",
34
+ "build": "tsx ./scripts/generate-constants.ts && tsc -p tsconfig.src.json && tsx ./scripts/build.ts",
35
35
  "test": "vitest",
36
36
  "lint": "foundry run eslint . --ext .ts,.tsx,.js,.jsx",
37
37
  "lint:fix": "npm run lint -- --fix",
@@ -42,8 +42,16 @@
42
42
  "@babel/preset-env": "^7.29.5",
43
43
  "@babel/preset-react": "^7.28.5",
44
44
  "@biomejs/js-api": "^6.0.0",
45
+ "@testing-library/jest-dom": "6.9.1",
46
+ "@testing-library/react": "^16.3.2",
45
47
  "@types/babel__core": "^7.20.5",
48
+ "@types/react": "^19.2.15",
49
+ "@types/react-dom": "^19.2.3",
46
50
  "fast-xml-parser": "^5.9.3",
51
+ "jest-axe": "^10.0.0",
52
+ "jsdom": "^29.0.2",
53
+ "react": "^19.2.6",
54
+ "react-dom": "^19.2.6",
47
55
  "tsx": "^4.22.3",
48
56
  "typescript": "^6.0.3",
49
57
  "vitest": "^4.1.5"
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M20.089 19a.79.79 0 0 0-.795-.79.79.79 0 0 0-.794.79c0 .433.352.789.794.79a.79.79 0 0 0 .795-.79M15.315 7.723A3.73 3.73 0 0 0 11.58 4a3.73 3.73 0 0 0-3.737 3.723 3.73 3.73 0 0 0 3.545 3.717l.192.004.192-.005a3.73 3.73 0 0 0 3.544-3.716M22.09 19a2.79 2.79 0 0 1-2.795 2.79 2.787 2.787 0 0 1-1-5.392v-4.553a1 1 0 0 1 2 0v.789h.795a1 1 0 0 1 0 2h-.795v1.764A2.79 2.79 0 0 1 22.089 19M17.315 7.723a5.7 5.7 0 0 1-2.184 4.49 8.6 8.6 0 0 1 1.667.996 1 1 0 0 1-1.215 1.589 6.59 6.59 0 0 0-6.916-.677 6.57 6.57 0 0 0-2.676 2.419A6.54 6.54 0 0 0 5 20a1 1 0 0 1-2 0c0-1.597.448-3.162 1.294-4.519a8.57 8.57 0 0 1 3.731-3.268 5.7 5.7 0 0 1-2.183-4.49C5.842 4.559 8.414 2 11.579 2s5.736 2.56 5.736 5.723"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M16 9.5a6 6 0 1 1 0 12 6 6 0 0 1 0-12M12 2c.429 0 .842.138 1.184.388l.141.113.009.008c1.423 1.28 3.373 2.191 4.791 2.191.443 0 .866.158 1.2.439l.136.128.123.14c.27.338.416.76.416 1.193V8a1 1 0 1 1-2 0V6.695c-2.05-.047-4.389-1.25-5.995-2.691L12 4l-.005.004v-.001C10.396 5.435 8.05 6.647 6 6.695v6.203c0 1.553.405 2.76 1.059 3.726.66.977 1.612 1.76 2.774 2.4a1 1 0 0 1-.966 1.752c-1.356-.747-2.58-1.725-3.465-3.032C4.511 16.427 4 14.825 4 12.898V6.6c0-.495.19-.975.54-1.333l.136-.128A1.86 1.86 0 0 1 5.875 4.7l.271-.01c1.389-.106 3.194-.99 4.521-2.181l.008-.008A2 2 0 0 1 12 2m4 9.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8m0 1.333a1 1 0 0 1 1 1v1.278l.863.541a1 1 0 1 1-1.06 1.696l-1.333-.833a1 1 0 0 1-.47-.848v-1.834a1 1 0 0 1 1-1"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M17.137 10.006a1.6 1.6 0 0 1 .764.272l.112.082.025.023c.765.668 1.785 1.112 2.462 1.112a1.5 1.5 0 0 1 .95.34l.11.1.1.11a1.5 1.5 0 0 1 .34.95v3.5c0 1.514-.542 2.7-1.419 3.6-.85.873-1.97 1.43-3.082 1.818l-.008.003a1.5 1.5 0 0 1-.982-.008v.001l-.013-.005-.01-.003c-1.107-.385-2.22-.94-3.066-1.805-.879-.9-1.42-2.088-1.42-3.602v-3.5l.008-.15a1.5 1.5 0 0 1 .432-.91l.11-.099a1.5 1.5 0 0 1 .95-.339c.676 0 1.701-.449 2.462-1.113l.023-.02A1.6 1.6 0 0 1 16.998 10zM15.6 3c.738 0 1.45.29 1.975.81s.824 1.227.824 1.967v.779h.8c.739 0 1.45.29 1.976.81.526.519.824 1.227.824 1.967q0 .132-.033.259l-.045.167a1 1 0 0 1-1.932-.518l.002-.01a.77.77 0 0 0-.222-.443.81.81 0 0 0-.57-.232h-1.8a1 1 0 0 1-1-1l.001-.029v-1.75a.77.77 0 0 0-.23-.545A.81.81 0 0 0 15.6 5H8.4a.81.81 0 0 0-.57.232.77.77 0 0 0-.23.545V19H9.5a1 1 0 0 1 0 2H4.8c-.739 0-1.45-.29-1.976-.809A2.77 2.77 0 0 1 2 18.223V12c0-.74.298-1.448.824-1.968a2.81 2.81 0 0 1 1.976-.81h.8V5.778c0-.74.299-1.448.825-1.967A2.81 2.81 0 0 1 8.4 3zm1.4 9.116c-.835.654-1.94 1.207-3.001 1.346v3.032c0 .986.334 1.674.852 2.204.515.528 1.256.937 2.156 1.264.892-.328 1.628-.736 2.141-1.263.518-.531.851-1.219.851-2.204v-3.033c-1.06-.138-2.16-.69-2.999-1.346M4.8 11.223a.81.81 0 0 0-.57.232A.77.77 0 0 0 4 12v6.223c0 .202.081.399.23.546A.81.81 0 0 0 4.8 19h.8v-7.777zm9-3.779a1 1 0 0 1 0 2h-3.6a1 1 0 1 1 0-2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="currentColor" d="M19 12.902a.79.79 0 0 0-.777-.8H5.777a.79.79 0 0 0-.777.8V19.2c0 .453.36.8.777.8h12.446a.79.79 0 0 0 .777-.8zm2 6.298c0 1.535-1.232 2.8-2.777 2.8H5.777C4.232 22 3 20.735 3 19.2v-6.298c0-1.534 1.232-2.8 2.777-2.8h.779v-2.6a5.53 5.53 0 0 1 1.4-3.685 5.406 5.406 0 0 1 7.278-.742 5.5 5.5 0 0 1 2.102 3.332 1 1 0 0 1-1.961.394 3.5 3.5 0 0 0-1.337-2.122 3.405 3.405 0 0 0-4.59.47 3.53 3.53 0 0 0-.892 2.353v2.6h9.667c1.545 0 2.777 1.266 2.777 2.8z"/></svg>