@sumup-oss/icons 7.0.0-next.3 → 7.0.0-next.4

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.
@@ -0,0 +1,65 @@
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
+ import React from "react";
28
+ import { jsx as _jsx } from "react/jsx-runtime";
29
+ var CalendarCoins24 = function CalendarCoins24(props) {
30
+ return /*#__PURE__*/ _jsx("svg", {
31
+ xmlns: "http://www.w3.org/2000/svg",
32
+ width: "24",
33
+ height: "24",
34
+ fill: "none",
35
+ viewBox: "0 0 24 24",
36
+ ...props,
37
+ children: /*#__PURE__*/ _jsx("path", {
38
+ fill: "currentColor",
39
+ d: "M17.539 12.923h.922a.923.923 0 0 1 0 1.846h-2.706a.4.4 0 0 0-.063.23.4.4 0 0 0 .063.232h1.783c.565 0 1.052.281 1.374.684.318.397.473.9.473 1.393 0 .492-.155.995-.473 1.392-.322.403-.809.684-1.373.684v.924h-1.847v-.924h-.923a.923.923 0 0 1 0-1.846h2.706a.4.4 0 0 0 .063-.23.4.4 0 0 0-.063-.231h-1.783c-.564 0-1.051-.282-1.373-.684A2.24 2.24 0 0 1 13.846 15c0-.492.155-.995.473-1.393.322-.402.809-.684 1.373-.684V12h1.846zm-3.11-11.538c.51 0 .923.413.923.923v.738h1.555c.684 0 1.34.274 1.822.759a2.6 2.6 0 0 1 .753 1.825v4.559a.923.923 0 0 1-1.846 0v-.312H4.616v7.385c0 .197.078.385.215.523a.72.72 0 0 0 .513.215h6.097a.923.923 0 0 1 0 1.846H5.344a2.57 2.57 0 0 1-1.822-.759 2.6 2.6 0 0 1-.753-1.825V5.63c0-.683.27-1.34.753-1.825a2.57 2.57 0 0 1 1.822-.76h1.555v-.737a.923.923 0 0 1 1.846 0v.738h4.761v-.738c0-.51.414-.923.923-.923M5.344 4.892a.72.72 0 0 0-.513.215.74.74 0 0 0-.216.523v2.4h13.02v-2.4a.74.74 0 0 0-.215-.523.73.73 0 0 0-.514-.215h-1.553v.738a.923.923 0 0 1-1.847 0v-.738H8.745v.738a.923.923 0 1 1-1.846 0v-.738z",
40
+ }),
41
+ });
42
+ };
43
+ const CalendarCoinsSizeMap = {
44
+ 24: CalendarCoins24,
45
+ };
46
+ export function CalendarCoins(_ref) {
47
+ let _ref$size = _ref.size,
48
+ size = _ref$size === void 0 ? "24" : _ref$size,
49
+ props = _objectWithoutProperties(_ref, _excluded);
50
+ const Icon = CalendarCoinsSizeMap[size] || CalendarCoinsSizeMap["24"];
51
+ if (
52
+ process.env.NODE_ENV !== "production" &&
53
+ process.env.NODE_ENV !== "test" &&
54
+ !CalendarCoinsSizeMap[size]
55
+ ) {
56
+ console.warn(
57
+ new Error(
58
+ `The '${size}' size is not supported by the 'CalendarCoins' icon. Please use one of the available sizes: '24'.`,
59
+ ),
60
+ );
61
+ }
62
+ return /*#__PURE__*/ _jsx(Icon, {
63
+ ...props,
64
+ });
65
+ }
@@ -25,33 +25,7 @@ function _objectWithoutPropertiesLoose(r, e) {
25
25
  return t;
26
26
  }
27
27
  import React from "react";
28
- var CardUnknown32 = function CardUnknown32(props) {
29
- return /*#__PURE__*/ _jsxs("svg", {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- width: "32",
32
- height: "24",
33
- fill: "none",
34
- viewBox: "0 0 32 24",
35
- ...props,
36
- children: [
37
- /*#__PURE__*/ _jsx("rect", {
38
- width: "31",
39
- height: "23",
40
- x: ".5",
41
- y: ".5",
42
- fill: "#fff",
43
- stroke: "#ccc",
44
- rx: "3.5",
45
- }),
46
- /*#__PURE__*/ _jsx("path", {
47
- fill: "currentColor",
48
- fillRule: "evenodd",
49
- d: "M22.374 18.76c.506 0 .916.41.916.915v.009a.916.916 0 0 1-1.832 0v-.009c0-.506.41-.916.916-.916m.184-14.66c1.505 0 2.564 1.324 2.564 2.748v4.123a.916.916 0 0 1-1.832 0v-.458H8.632v5.496c0 .6.417.916.733.916h9.344v1.832H9.365c-1.505 0-2.565-1.323-2.565-2.748V6.85C6.8 5.422 7.86 4.1 9.365 4.1zm-1.6 8.6a2.84 2.84 0 0 1 3.296.396l.17.171.057.068c.335.447.641 1.006.641 1.742 0 1.084-.816 1.781-1.32 2.12a5.4 5.4 0 0 1-1.012.533l-.076.03-.024.009-.011.004h-.002l-.303-.864.302.864a.916.916 0 0 1-.691-1.694l.085-.035q.001 0 .005-.002l.04-.015q.058-.022.164-.07c.141-.064.323-.159.498-.277.413-.278.513-.498.513-.603 0-.173-.057-.34-.25-.605a1.006 1.006 0 0 0-1.216-.16l-.047.026c-.111.056-.272.22-.416.507a.917.917 0 0 1-1.64-.82c.224-.444.614-1.014 1.236-1.325M9.364 5.933c-.316 0-.733.317-.733.916V8.68H23.29V6.848c0-.599-.416-.916-.732-.916z",
50
- clipRule: "evenodd",
51
- }),
52
- ],
53
- });
54
- };
28
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
55
29
  var CardUnknown24 = function CardUnknown24(props) {
56
30
  return /*#__PURE__*/ _jsxs("svg", {
57
31
  xmlns: "http://www.w3.org/2000/svg",
@@ -72,9 +46,7 @@ var CardUnknown24 = function CardUnknown24(props) {
72
46
  ],
73
47
  });
74
48
  };
75
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
76
49
  const CardUnknownSizeMap = {
77
- 32: CardUnknown32,
78
50
  24: CardUnknown24,
79
51
  };
80
52
  export function CardUnknown(_ref) {
@@ -89,7 +61,7 @@ export function CardUnknown(_ref) {
89
61
  ) {
90
62
  console.warn(
91
63
  new Error(
92
- `The '${size}' size is not supported by the 'CardUnknown' icon. Please use one of the available sizes: '24', '32'.`,
64
+ `The '${size}' size is not supported by the 'CardUnknown' icon. Please use one of the available sizes: '24'.`,
93
65
  ),
94
66
  );
95
67
  }
package/dist/Pix.js CHANGED
@@ -25,63 +25,7 @@ function _objectWithoutPropertiesLoose(r, e) {
25
25
  return t;
26
26
  }
27
27
  import React from "react";
28
- var Pix32 = function Pix32(props) {
29
- return /*#__PURE__*/ _jsxs("svg", {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- width: "32",
32
- height: "24",
33
- fill: "none",
34
- viewBox: "0 0 32 24",
35
- ...props,
36
- children: [
37
- /*#__PURE__*/ _jsxs("g", {
38
- clipPath: "url(#pix_32_svg__a)",
39
- children: [
40
- /*#__PURE__*/ _jsx("rect", {
41
- width: "32",
42
- height: "24",
43
- fill: "#fff",
44
- rx: "4",
45
- }),
46
- /*#__PURE__*/ _jsx("rect", {
47
- width: "31",
48
- height: "23",
49
- x: ".5",
50
- y: ".5",
51
- fill: "#fff",
52
- stroke: "#ccc",
53
- rx: "3.5",
54
- }),
55
- /*#__PURE__*/ _jsx("path", {
56
- fill: "#32bcad",
57
- fillRule: "evenodd",
58
- d: "M15.759 13.296c.19-.19.52-.19.709 0l2.7 2.7c.5.499 1.163.774 1.87.774h.324l-3.428 3.43a2.735 2.735 0 0 1-3.868 0l-3.418-3.42h.53c.707 0 1.371-.275 1.87-.774zm-5.877-5.31q.065.027.139.028h1.158c.487 0 .964.197 1.308.542l2.71 2.71c.253.252.584.379.916.379s.664-.127.916-.38l2.7-2.7c.345-.344.821-.541 1.308-.541h.943a.4.4 0 0 0 .147-.03l2.072 2.073a2.735 2.735 0 0 1 0 3.867l-2.072 2.072a.4.4 0 0 0-.147-.03h-.943c-.487 0-.963-.198-1.307-.542l-2.7-2.7c-.49-.489-1.343-.489-1.833 0l-2.71 2.71a1.86 1.86 0 0 1-1.308.541H10.02a.4.4 0 0 0-.14.029l-2.08-2.08a2.735 2.735 0 0 1 0-3.867zm4.185-4.185a2.735 2.735 0 0 1 3.867 0l3.428 3.43h-.325c-.706 0-1.37.274-1.869.773l-2.7 2.7a.5.5 0 0 1-.71 0l-2.71-2.71c-.498-.499-1.163-.774-1.87-.774h-.53z",
59
- clipRule: "evenodd",
60
- }),
61
- ],
62
- }),
63
- /*#__PURE__*/ _jsx("rect", {
64
- width: "31",
65
- height: "23",
66
- x: ".5",
67
- y: ".5",
68
- stroke: "#ccc",
69
- rx: "3.5",
70
- }),
71
- /*#__PURE__*/ _jsx("defs", {
72
- children: /*#__PURE__*/ _jsx("clipPath", {
73
- id: "pix_32_svg__a",
74
- children: /*#__PURE__*/ _jsx("rect", {
75
- width: "32",
76
- height: "24",
77
- fill: "#fff",
78
- rx: "4",
79
- }),
80
- }),
81
- }),
82
- ],
83
- });
84
- };
28
+ import { jsx as _jsx } from "react/jsx-runtime";
85
29
  var Pix24 = function Pix24(props) {
86
30
  return /*#__PURE__*/ _jsx("svg", {
87
31
  xmlns: "http://www.w3.org/2000/svg",
@@ -96,9 +40,7 @@ var Pix24 = function Pix24(props) {
96
40
  }),
97
41
  });
98
42
  };
99
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
100
43
  const PixSizeMap = {
101
- 32: Pix32,
102
44
  24: Pix24,
103
45
  };
104
46
  export function Pix(_ref) {
@@ -113,7 +55,7 @@ export function Pix(_ref) {
113
55
  ) {
114
56
  console.warn(
115
57
  new Error(
116
- `The '${size}' size is not supported by the 'Pix' icon. Please use one of the available sizes: '24', '32'.`,
58
+ `The '${size}' size is not supported by the 'Pix' icon. Please use one of the available sizes: '24'.`,
117
59
  ),
118
60
  );
119
61
  }
@@ -0,0 +1,61 @@
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
+ import { type HTMLAttributes } from 'react';
16
+ import type { CARD_SCHEMES } from './constants.js';
17
+ type CardSchemeName = (typeof CARD_SCHEMES)[number];
18
+ export type CardSchemeProps = HTMLAttributes<HTMLImageElement> & {
19
+ /**
20
+ * The name of the card scheme.
21
+ */
22
+ name: CardSchemeName;
23
+ /**
24
+ * The alt text for the card scheme logo. Pass an empty string to hide
25
+ * purely decorative logos from assistive technology.
26
+ */
27
+ alt: string;
28
+ /**
29
+ * Choose from 3 sizes.
30
+ * @default m
31
+ */
32
+ size?: 's' | 'm' | 'l';
33
+ /**
34
+ * Additional class name to apply to the image.
35
+ */
36
+ className?: string;
37
+ };
38
+ /**
39
+ * Renders the logo of a card scheme as an image, loaded from a URL.
40
+ */
41
+ export declare const CardScheme: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & {
42
+ /**
43
+ * The name of the card scheme.
44
+ */
45
+ name: CardSchemeName;
46
+ /**
47
+ * The alt text for the card scheme logo. Pass an empty string to hide
48
+ * purely decorative logos from assistive technology.
49
+ */
50
+ alt: string;
51
+ /**
52
+ * Choose from 3 sizes.
53
+ * @default m
54
+ */
55
+ size?: "s" | "m" | "l";
56
+ /**
57
+ * Additional class name to apply to the image.
58
+ */
59
+ className?: string;
60
+ } & import("react").RefAttributes<HTMLImageElement>>;
61
+ export {};
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
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
+ import { forwardRef } from 'react';
17
+ import { getIconURL } from '../../helpers.js';
18
+ import { ICON_SIZES } from '../../icon-sizes.js';
19
+ /**
20
+ * Renders the logo of a card scheme as an image, loaded from a URL.
21
+ */
22
+ export const CardScheme = forwardRef(({ name, alt, style, size = 'm', ...props }, ref) => {
23
+ const sizeValue = ICON_SIZES[size];
24
+ return (_jsx("img", { ref: ref, style: {
25
+ width: sizeValue,
26
+ height: `calc(${sizeValue} * 3 / 4)`,
27
+ ...style,
28
+ }, src: getIconURL(name, '32'), ...props, alt: alt }));
29
+ });
30
+ CardScheme.displayName = 'CardScheme';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export declare const CARD_SCHEMES: readonly ["alelo", "alternative_payment_method", "american_express", "apple_pay", "bancomat", "bancontact", "boleto", "card_unknown", "conecs", "diners_club", "discover", "eftpos", "elo", "elv", "girocard", "google_pay", "hipercard", "ideal", "interac", "jcb", "klarna", "maestro", "mastercard", "pay_pal", "pix", "pluxee", "sodexo", "sumup_card_scheme", "sumup_pay", "sumup_scheme", "swile", "ticket", "union_pay", "visa", "visa_electron", "vpay", "vr"];
@@ -0,0 +1,44 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export const CARD_SCHEMES = [
7
+ "alelo",
8
+ "alternative_payment_method",
9
+ "american_express",
10
+ "apple_pay",
11
+ "bancomat",
12
+ "bancontact",
13
+ "boleto",
14
+ "card_unknown",
15
+ "conecs",
16
+ "diners_club",
17
+ "discover",
18
+ "eftpos",
19
+ "elo",
20
+ "elv",
21
+ "girocard",
22
+ "google_pay",
23
+ "hipercard",
24
+ "ideal",
25
+ "interac",
26
+ "jcb",
27
+ "klarna",
28
+ "maestro",
29
+ "mastercard",
30
+ "pay_pal",
31
+ "pix",
32
+ "pluxee",
33
+ "sodexo",
34
+ "sumup_card_scheme",
35
+ "sumup_pay",
36
+ "sumup_scheme",
37
+ "swile",
38
+ "ticket",
39
+ "union_pay",
40
+ "visa",
41
+ "visa_electron",
42
+ "vpay",
43
+ "vr",
44
+ ];
@@ -0,0 +1,66 @@
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
+ import { type HTMLAttributes } from 'react';
16
+ import type { FLAGS } from './constants.js';
17
+ type CountryCode = (typeof FLAGS)[number];
18
+ type WithSize = {
19
+ /**
20
+ * Choose from 3 sizes.
21
+ */
22
+ size?: 's' | 'm' | 'l';
23
+ width?: never;
24
+ height?: never;
25
+ };
26
+ type WithHeightWidth = {
27
+ /**
28
+ * The width of the flag image.
29
+ * @deprecated Use the `size` prop instead.
30
+ */
31
+ width?: number;
32
+ height?: never;
33
+ size?: never;
34
+ } | {
35
+ /**
36
+ * The height of the flag image.
37
+ * @deprecated Use the `size` prop instead.
38
+ */
39
+ height?: number;
40
+ width?: never;
41
+ size?: never;
42
+ };
43
+ export type FlagProps = HTMLAttributes<HTMLImageElement> & {
44
+ /**
45
+ * The code of the country flag to display, e.g. `'DE'`.
46
+ */
47
+ countryCode: CountryCode;
48
+ /**
49
+ * The alt text for the flag image. Pass an empty string to hide purely
50
+ * decorative flags from assistive technology.
51
+ */
52
+ alt: string;
53
+ /**
54
+ * Additional class name to apply to the flag wrapper.
55
+ */
56
+ className?: string;
57
+ /**
58
+ * Additional class name to apply to the flag's inner image.
59
+ */
60
+ imageClassName?: string;
61
+ } & (WithSize | WithHeightWidth);
62
+ /**
63
+ * Renders an SVG icon of a flag. Flags are sourced from: https://flagicons.lipis.dev/
64
+ */
65
+ export declare const Flag: import("react").ForwardRefExoticComponent<FlagProps & import("react").RefAttributes<HTMLImageElement>>;
66
+ export {};
@@ -0,0 +1,64 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
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
+ import { forwardRef } from 'react';
17
+ import { getIconURL } from '../../helpers.js';
18
+ import { ICON_SIZES } from '../../icon-sizes.js';
19
+ import { deprecate } from '../../logger.js';
20
+ const ASPECT_RATIO = 4 / 3;
21
+ // Inline styles can't use an `@supports` feature query, so `aspect-ratio`
22
+ // is applied as a progressive enhancement with no fallback for browsers
23
+ // that don't support it.
24
+ const WRAPPER_STYLE = {
25
+ display: 'flex',
26
+ alignItems: 'center',
27
+ justifyContent: 'center',
28
+ aspectRatio: '1 / 1',
29
+ };
30
+ const IMAGE_STYLE = {
31
+ border: '0.5px solid #ccc',
32
+ borderRadius: '2px',
33
+ };
34
+ /**
35
+ * Renders an SVG icon of a flag. Flags are sourced from: https://flagicons.lipis.dev/
36
+ */
37
+ export const Flag = forwardRef(({ countryCode, alt, className, imageClassName, style, size, width, height, ...props }, ref) => {
38
+ const flagName = `flag_${countryCode.toLowerCase()}`;
39
+ if (process.env.NODE_ENV !== 'production' && (width || height)) {
40
+ deprecate('Flag', 'The `width` and `height` props are deprecated. Use the `size` prop instead.');
41
+ }
42
+ if (size) {
43
+ const sizeValue = ICON_SIZES[size];
44
+ return (_jsx("div", { className: className, style: WRAPPER_STYLE, children: _jsx("img", { ref: ref, className: imageClassName, style: {
45
+ ...IMAGE_STYLE,
46
+ width: sizeValue,
47
+ height: `calc(${sizeValue} * 3 / 4)`,
48
+ ...style,
49
+ }, src: getIconURL(flagName), ...props, alt: alt }) }));
50
+ }
51
+ // default dimensions
52
+ const dimensions = { width: 16, height: 12 };
53
+ // for a consistent aspect ratio
54
+ if (height) {
55
+ dimensions.height = height;
56
+ dimensions.width = height * ASPECT_RATIO;
57
+ }
58
+ if (width) {
59
+ dimensions.width = width;
60
+ dimensions.height = width / ASPECT_RATIO;
61
+ }
62
+ return (_jsx("div", { className: className, style: WRAPPER_STYLE, children: _jsx("img", { ref: ref, className: imageClassName, style: { ...IMAGE_STYLE, ...style }, height: `${dimensions.height}px`, width: `${dimensions.width}px`, src: getIconURL(flagName), ...props, alt: alt }) }));
63
+ });
64
+ Flag.displayName = 'Flag';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export declare const FLAGS: readonly ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CP", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DG", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ES-CT", "ET", "EU", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "IC", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PC", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "UN", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "XX", "YE", "YT", "ZA", "ZM", "ZW"];
@@ -0,0 +1,265 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export const FLAGS = [
7
+ "AD",
8
+ "AE",
9
+ "AF",
10
+ "AG",
11
+ "AI",
12
+ "AL",
13
+ "AM",
14
+ "AO",
15
+ "AQ",
16
+ "AR",
17
+ "AS",
18
+ "AT",
19
+ "AU",
20
+ "AW",
21
+ "AX",
22
+ "AZ",
23
+ "BA",
24
+ "BB",
25
+ "BD",
26
+ "BE",
27
+ "BF",
28
+ "BG",
29
+ "BH",
30
+ "BI",
31
+ "BJ",
32
+ "BL",
33
+ "BM",
34
+ "BN",
35
+ "BO",
36
+ "BQ",
37
+ "BR",
38
+ "BS",
39
+ "BT",
40
+ "BV",
41
+ "BW",
42
+ "BY",
43
+ "BZ",
44
+ "CA",
45
+ "CC",
46
+ "CD",
47
+ "CF",
48
+ "CG",
49
+ "CH",
50
+ "CI",
51
+ "CK",
52
+ "CL",
53
+ "CM",
54
+ "CN",
55
+ "CO",
56
+ "CP",
57
+ "CR",
58
+ "CU",
59
+ "CV",
60
+ "CW",
61
+ "CX",
62
+ "CY",
63
+ "CZ",
64
+ "DE",
65
+ "DG",
66
+ "DJ",
67
+ "DK",
68
+ "DM",
69
+ "DO",
70
+ "DZ",
71
+ "EC",
72
+ "EE",
73
+ "EG",
74
+ "EH",
75
+ "ER",
76
+ "ES",
77
+ "ES-CT",
78
+ "ET",
79
+ "EU",
80
+ "FI",
81
+ "FJ",
82
+ "FK",
83
+ "FM",
84
+ "FO",
85
+ "FR",
86
+ "GA",
87
+ "GB",
88
+ "GD",
89
+ "GE",
90
+ "GF",
91
+ "GG",
92
+ "GH",
93
+ "GI",
94
+ "GL",
95
+ "GM",
96
+ "GN",
97
+ "GP",
98
+ "GQ",
99
+ "GR",
100
+ "GS",
101
+ "GT",
102
+ "GU",
103
+ "GW",
104
+ "GY",
105
+ "HK",
106
+ "HM",
107
+ "HN",
108
+ "HR",
109
+ "HT",
110
+ "HU",
111
+ "IC",
112
+ "ID",
113
+ "IE",
114
+ "IL",
115
+ "IM",
116
+ "IN",
117
+ "IO",
118
+ "IQ",
119
+ "IR",
120
+ "IS",
121
+ "IT",
122
+ "JE",
123
+ "JM",
124
+ "JO",
125
+ "JP",
126
+ "KE",
127
+ "KG",
128
+ "KH",
129
+ "KI",
130
+ "KM",
131
+ "KN",
132
+ "KP",
133
+ "KR",
134
+ "KW",
135
+ "KY",
136
+ "KZ",
137
+ "LA",
138
+ "LB",
139
+ "LC",
140
+ "LI",
141
+ "LK",
142
+ "LR",
143
+ "LS",
144
+ "LT",
145
+ "LU",
146
+ "LV",
147
+ "LY",
148
+ "MA",
149
+ "MC",
150
+ "MD",
151
+ "ME",
152
+ "MF",
153
+ "MG",
154
+ "MH",
155
+ "MK",
156
+ "ML",
157
+ "MM",
158
+ "MN",
159
+ "MO",
160
+ "MP",
161
+ "MQ",
162
+ "MR",
163
+ "MS",
164
+ "MT",
165
+ "MU",
166
+ "MV",
167
+ "MW",
168
+ "MX",
169
+ "MY",
170
+ "MZ",
171
+ "NA",
172
+ "NC",
173
+ "NE",
174
+ "NF",
175
+ "NG",
176
+ "NI",
177
+ "NL",
178
+ "NO",
179
+ "NP",
180
+ "NR",
181
+ "NU",
182
+ "NZ",
183
+ "OM",
184
+ "PA",
185
+ "PC",
186
+ "PE",
187
+ "PF",
188
+ "PG",
189
+ "PH",
190
+ "PK",
191
+ "PL",
192
+ "PM",
193
+ "PN",
194
+ "PR",
195
+ "PS",
196
+ "PT",
197
+ "PW",
198
+ "PY",
199
+ "QA",
200
+ "RE",
201
+ "RO",
202
+ "RS",
203
+ "RU",
204
+ "RW",
205
+ "SA",
206
+ "SB",
207
+ "SC",
208
+ "SD",
209
+ "SE",
210
+ "SG",
211
+ "SH",
212
+ "SI",
213
+ "SJ",
214
+ "SK",
215
+ "SL",
216
+ "SM",
217
+ "SN",
218
+ "SO",
219
+ "SR",
220
+ "SS",
221
+ "ST",
222
+ "SV",
223
+ "SX",
224
+ "SY",
225
+ "SZ",
226
+ "TC",
227
+ "TD",
228
+ "TF",
229
+ "TG",
230
+ "TH",
231
+ "TJ",
232
+ "TK",
233
+ "TL",
234
+ "TM",
235
+ "TN",
236
+ "TO",
237
+ "TR",
238
+ "TT",
239
+ "TV",
240
+ "TW",
241
+ "TZ",
242
+ "UA",
243
+ "UG",
244
+ "UM",
245
+ "UN",
246
+ "US",
247
+ "UY",
248
+ "UZ",
249
+ "VA",
250
+ "VC",
251
+ "VE",
252
+ "VG",
253
+ "VI",
254
+ "VN",
255
+ "VU",
256
+ "WF",
257
+ "WS",
258
+ "XK",
259
+ "XX",
260
+ "YE",
261
+ "YT",
262
+ "ZA",
263
+ "ZM",
264
+ "ZW",
265
+ ];
@@ -0,0 +1,61 @@
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
+ import { type HTMLAttributes } from 'react';
16
+ import type { PAYMENT_METHODS } from './constants.js';
17
+ type PaymentMethodName = (typeof PAYMENT_METHODS)[number];
18
+ export type PaymentMethodProps = HTMLAttributes<HTMLImageElement> & {
19
+ /**
20
+ * The name of the payment method.
21
+ */
22
+ name: PaymentMethodName;
23
+ /**
24
+ * The alt text for the payment method logo. Pass an empty string to hide
25
+ * purely decorative logos from assistive technology.
26
+ */
27
+ alt: string;
28
+ /**
29
+ * Choose from 3 sizes.
30
+ * @default m
31
+ */
32
+ size?: 's' | 'm' | 'l';
33
+ /**
34
+ * Additional class name to apply to the image.
35
+ */
36
+ className?: string;
37
+ };
38
+ /**
39
+ * Renders the logo of a payment method as an image, loaded from a URL.
40
+ */
41
+ export declare const PaymentMethod: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLImageElement> & {
42
+ /**
43
+ * The name of the payment method.
44
+ */
45
+ name: PaymentMethodName;
46
+ /**
47
+ * The alt text for the payment method logo. Pass an empty string to hide
48
+ * purely decorative logos from assistive technology.
49
+ */
50
+ alt: string;
51
+ /**
52
+ * Choose from 3 sizes.
53
+ * @default m
54
+ */
55
+ size?: "s" | "m" | "l";
56
+ /**
57
+ * Additional class name to apply to the image.
58
+ */
59
+ className?: string;
60
+ } & import("react").RefAttributes<HTMLImageElement>>;
61
+ export {};
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
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
+ import { forwardRef } from 'react';
17
+ import { getIconURL } from '../../helpers.js';
18
+ import { ICON_SIZES } from '../../icon-sizes.js';
19
+ /**
20
+ * Renders the logo of a payment method as an image, loaded from a URL.
21
+ */
22
+ export const PaymentMethod = forwardRef(({ name, alt, style, size = 'm', ...props }, ref) => (_jsx("img", { ref: ref, style: { height: ICON_SIZES[size], width: 'auto', ...style }, src: getIconURL(name, '24'), ...props, alt: alt })));
23
+ PaymentMethod.displayName = 'PaymentMethod';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export declare const PAYMENT_METHODS: readonly ["alelo", "american_express", "apple_pay", "banco_estado", "bancontact", "bitcoin", "blik", "boleto", "conecs", "dankort", "diners_club", "discover", "ec", "eftpos", "elo", "elv", "eps", "faster_payments", "girocard", "giropay", "google_pay", "hiper", "hipercard", "ideal", "interac", "iris", "jcb", "klarna", "maestro", "mastercard", "mybank", "nfc_payment", "pay_pal", "pix_full", "post_finance", "przelewy24", "red_compra", "samsung_pay", "satispay", "sepa", "sodexo", "sofort", "split", "swile", "ticket", "twint", "union_pay", "visa", "visa_electron", "vpay", "vr"];
@@ -0,0 +1,58 @@
1
+ /**
2
+ * This file is auto-generated from manifest.json by `npm run build`.
3
+ * Do not edit it by hand, your changes will be overwritten.
4
+ * To add or remove an entry, edit manifest.json instead.
5
+ */
6
+ export const PAYMENT_METHODS = [
7
+ "alelo",
8
+ "american_express",
9
+ "apple_pay",
10
+ "banco_estado",
11
+ "bancontact",
12
+ "bitcoin",
13
+ "blik",
14
+ "boleto",
15
+ "conecs",
16
+ "dankort",
17
+ "diners_club",
18
+ "discover",
19
+ "ec",
20
+ "eftpos",
21
+ "elo",
22
+ "elv",
23
+ "eps",
24
+ "faster_payments",
25
+ "girocard",
26
+ "giropay",
27
+ "google_pay",
28
+ "hiper",
29
+ "hipercard",
30
+ "ideal",
31
+ "interac",
32
+ "iris",
33
+ "jcb",
34
+ "klarna",
35
+ "maestro",
36
+ "mastercard",
37
+ "mybank",
38
+ "nfc_payment",
39
+ "pay_pal",
40
+ "pix_full",
41
+ "post_finance",
42
+ "przelewy24",
43
+ "red_compra",
44
+ "samsung_pay",
45
+ "satispay",
46
+ "sepa",
47
+ "sodexo",
48
+ "sofort",
49
+ "split",
50
+ "swile",
51
+ "ticket",
52
+ "twint",
53
+ "union_pay",
54
+ "visa",
55
+ "visa_electron",
56
+ "vpay",
57
+ "vr",
58
+ ];
@@ -0,0 +1,15 @@
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
+ export declare function getIconURL(name: string, size?: string): string;
@@ -0,0 +1,15 @@
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
+ export declare const ICON_SIZES: Record<'s' | 'm' | 'l', string>;
@@ -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
+ export const ICON_SIZES = {
16
+ s: 'var(--cui-icon-sizes-s)',
17
+ m: 'var(--cui-icon-sizes-m)',
18
+ l: 'var(--cui-icon-sizes-l)',
19
+ };
package/dist/index.d.ts CHANGED
@@ -124,6 +124,10 @@ declare const ZoomOut: IconComponentType<"24">;
124
124
 
125
125
  declare const PlusTier: IconComponentType<"16" | "24" | "32">;
126
126
 
127
+ declare const CardUnknown: IconComponentType<"24">;
128
+
129
+ declare const Pix: IconComponentType<"24">;
130
+
127
131
  declare const Callback: IconComponentType<"24">;
128
132
 
129
133
  declare const Email: IconComponentType<"24">;
@@ -240,6 +244,8 @@ declare const Cafe: IconComponentType<"24">;
240
244
 
241
245
  declare const Calendar: IconComponentType<"24">;
242
246
 
247
+ declare const CalendarCoins: IconComponentType<"24">;
248
+
243
249
  declare const Checkmark: IconComponentType<"16" | "24">;
244
250
 
245
251
  declare const Cheque: IconComponentType<"24">;
@@ -637,6 +643,8 @@ export {
637
643
  ZoomIn,
638
644
  ZoomOut,
639
645
  PlusTier,
646
+ CardUnknown,
647
+ Pix,
640
648
  Callback,
641
649
  Email,
642
650
  LiveChat,
@@ -695,6 +703,7 @@ export {
695
703
  Briefcase,
696
704
  Cafe,
697
705
  Calendar,
706
+ CalendarCoins,
698
707
  Checkmark,
699
708
  Cheque,
700
709
  Clothing,
@@ -965,6 +974,7 @@ export type IconName =
965
974
  | "email"
966
975
  | "live_chat"
967
976
  | "phone"
977
+ | "flag_ad"
968
978
  | "flag_ae"
969
979
  | "flag_af"
970
980
  | "flag_ag"
@@ -1276,6 +1286,7 @@ export type IconName =
1276
1286
  | "briefcase"
1277
1287
  | "cafe"
1278
1288
  | "calendar"
1289
+ | "calendar_coins"
1279
1290
  | "checkmark"
1280
1291
  | "cheque"
1281
1292
  | "clothing"
@@ -1577,6 +1588,7 @@ type Icons = {
1577
1588
  email: "24";
1578
1589
  live_chat: "24";
1579
1590
  phone: "24";
1591
+ flag_ad: "480";
1580
1592
  flag_ae: "480";
1581
1593
  flag_af: "480";
1582
1594
  flag_ag: "480";
@@ -1888,6 +1900,7 @@ type Icons = {
1888
1900
  briefcase: "24";
1889
1901
  cafe: "24";
1890
1902
  calendar: "24";
1903
+ calendar_coins: "24";
1891
1904
  checkmark: "16" | "24";
1892
1905
  cheque: "24";
1893
1906
  clothing: "24";
@@ -2086,3 +2099,7 @@ export function getIconURL<Name extends IconName>(
2086
2099
  name: Name,
2087
2100
  size?: Icons[Name],
2088
2101
  ): string;
2102
+
2103
+ export * from "./components/Flag/Flag.js";
2104
+ export * from "./components/PaymentMethod/PaymentMethod.js";
2105
+ export * from "./components/CardScheme/CardScheme.js";
package/dist/index.js CHANGED
@@ -115,6 +115,7 @@ export { BatteryAlert } from "./BatteryAlert.js";
115
115
  export { Briefcase } from "./Briefcase.js";
116
116
  export { Cafe } from "./Cafe.js";
117
117
  export { Calendar } from "./Calendar.js";
118
+ export { CalendarCoins } from "./CalendarCoins.js";
118
119
  export { Checkmark } from "./Checkmark.js";
119
120
  export { Cheque } from "./Cheque.js";
120
121
  export { Clothing } from "./Clothing.js";
@@ -285,3 +286,6 @@ export { Twitter } from "./Twitter.js";
285
286
  export { Unsplash } from "./Unsplash.js";
286
287
  export { WhatsApp } from "./WhatsApp.js";
287
288
  export { Youtube } from "./Youtube.js";
289
+ export * from "./components/Flag/Flag.js";
290
+ export * from "./components/PaymentMethod/PaymentMethod.js";
291
+ 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
@@ -1310,7 +1310,6 @@
1310
1310
 
1311
1311
  {
1312
1312
  "category": "Flag",
1313
- "inactive": true,
1314
1313
  "keywords": ["Andorra"],
1315
1314
  "name": "flag_ad",
1316
1315
  "size": "480"
@@ -3172,6 +3171,11 @@
3172
3171
  "category": "Miscellaneous",
3173
3172
  "size": "24"
3174
3173
  },
3174
+ {
3175
+ "name": "calendar_coins",
3176
+ "category": "Miscellaneous",
3177
+ "size": "24"
3178
+ },
3175
3179
  {
3176
3180
  "name": "checkmark",
3177
3181
  "category": "Miscellaneous",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sumup-oss/icons",
3
- "version": "7.0.0-next.3",
3
+ "version": "7.0.0-next.4",
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",
46
- "fast-xml-parser": "^5.9.3",
48
+ "@types/react": "^19.2.15",
49
+ "@types/react-dom": "^19.2.3",
50
+ "fast-xml-parser": "^5.10.1",
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,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path fill="currentColor" d="M17.539 12.923h.922a.923.923 0 0 1 0 1.846h-2.706a.4.4 0 0 0-.063.23.4.4 0 0 0 .063.232h1.783c.565 0 1.052.281 1.374.684.318.397.473.9.473 1.393 0 .492-.155.995-.473 1.392-.322.403-.809.684-1.373.684v.924h-1.847v-.924h-.923a.923.923 0 0 1 0-1.846h2.706a.4.4 0 0 0 .063-.23.4.4 0 0 0-.063-.231h-1.783c-.564 0-1.051-.282-1.373-.684A2.24 2.24 0 0 1 13.846 15c0-.492.155-.995.473-1.393.322-.402.809-.684 1.373-.684V12h1.846zm-3.11-11.538c.51 0 .923.413.923.923v.738h1.555c.684 0 1.34.274 1.822.759a2.6 2.6 0 0 1 .753 1.825v4.559a.923.923 0 0 1-1.846 0v-.312H4.616v7.385c0 .197.078.385.215.523a.72.72 0 0 0 .513.215h6.097a.923.923 0 0 1 0 1.846H5.344a2.57 2.57 0 0 1-1.822-.759 2.6 2.6 0 0 1-.753-1.825V5.63c0-.683.27-1.34.753-1.825a2.57 2.57 0 0 1 1.822-.76h1.555v-.737a.923.923 0 0 1 1.846 0v.738h4.761v-.738c0-.51.414-.923.923-.923M5.344 4.892a.72.72 0 0 0-.513.215.74.74 0 0 0-.216.523v2.4h13.02v-2.4a.74.74 0 0 0-.215-.523.73.73 0 0 0-.514-.215h-1.553v.738a.923.923 0 0 1-1.847 0v-.738H8.745v.738a.923.923 0 1 1-1.846 0v-.738z"/>
3
+ </svg>