@xsolla/xui-logos-xsolla 0.64.0-pr56.1768440195

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,88 @@
1
+ import React, { CSSProperties } from 'react';
2
+
3
+ /**
4
+ * Logo variant - full logo with text or just the icon
5
+ */
6
+ type LogoVariant = "full" | "icon";
7
+ /**
8
+ * Logo color variants matching brand guidelines
9
+ */
10
+ type LogoColor = "black" | "brand" | "white";
11
+ /**
12
+ * Logo size presets
13
+ * - xs: 18px height
14
+ * - s: 24px height (default)
15
+ * - m: 32px height
16
+ */
17
+ type LogoSize = "xs" | "s" | "m";
18
+ /**
19
+ * Size values in pixels for each preset
20
+ */
21
+ declare const LOGO_SIZES: Record<LogoSize, number>;
22
+ /**
23
+ * Brand colors in hex values
24
+ */
25
+ declare const LOGO_COLORS: Record<LogoColor, string>;
26
+ /**
27
+ * Props for the XsollaLogo component
28
+ */
29
+ interface XsollaLogoProps {
30
+ /**
31
+ * Logo variant - 'full' shows icon + text, 'icon' shows only the icon
32
+ * @default 'full'
33
+ */
34
+ variant?: LogoVariant;
35
+ /**
36
+ * Logo color
37
+ * @default 'brand'
38
+ */
39
+ color?: LogoColor;
40
+ /**
41
+ * Logo size - preset name or custom pixel height
42
+ * @default 's' (24px)
43
+ */
44
+ size?: LogoSize | number;
45
+ /**
46
+ * Additional CSS class name
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Additional inline styles
51
+ */
52
+ style?: CSSProperties;
53
+ /**
54
+ * Test ID for testing purposes
55
+ */
56
+ "data-testid"?: string;
57
+ /**
58
+ * Accessible label for screen readers
59
+ */
60
+ "aria-label"?: string;
61
+ /**
62
+ * Whether to hide from screen readers
63
+ */
64
+ "aria-hidden"?: boolean;
65
+ /**
66
+ * React Native accessibility label
67
+ */
68
+ accessibilityLabel?: string;
69
+ }
70
+
71
+ /**
72
+ * Xsolla brand logo component
73
+ *
74
+ * @example
75
+ * // Full logo in brand color (default)
76
+ * <Xsolla />
77
+ *
78
+ * @example
79
+ * // Icon only
80
+ * <Xsolla variant="icon" />
81
+ *
82
+ * @example
83
+ * // Black color, medium size
84
+ * <Xsolla color="black" size="m" />
85
+ */
86
+ declare const Xsolla: React.FC<XsollaLogoProps>;
87
+
88
+ export { LOGO_COLORS, LOGO_SIZES, type LogoColor, type LogoSize, type LogoVariant, Xsolla, type XsollaLogoProps, Xsolla as default };
@@ -0,0 +1,88 @@
1
+ import React, { CSSProperties } from 'react';
2
+
3
+ /**
4
+ * Logo variant - full logo with text or just the icon
5
+ */
6
+ type LogoVariant = "full" | "icon";
7
+ /**
8
+ * Logo color variants matching brand guidelines
9
+ */
10
+ type LogoColor = "black" | "brand" | "white";
11
+ /**
12
+ * Logo size presets
13
+ * - xs: 18px height
14
+ * - s: 24px height (default)
15
+ * - m: 32px height
16
+ */
17
+ type LogoSize = "xs" | "s" | "m";
18
+ /**
19
+ * Size values in pixels for each preset
20
+ */
21
+ declare const LOGO_SIZES: Record<LogoSize, number>;
22
+ /**
23
+ * Brand colors in hex values
24
+ */
25
+ declare const LOGO_COLORS: Record<LogoColor, string>;
26
+ /**
27
+ * Props for the XsollaLogo component
28
+ */
29
+ interface XsollaLogoProps {
30
+ /**
31
+ * Logo variant - 'full' shows icon + text, 'icon' shows only the icon
32
+ * @default 'full'
33
+ */
34
+ variant?: LogoVariant;
35
+ /**
36
+ * Logo color
37
+ * @default 'brand'
38
+ */
39
+ color?: LogoColor;
40
+ /**
41
+ * Logo size - preset name or custom pixel height
42
+ * @default 's' (24px)
43
+ */
44
+ size?: LogoSize | number;
45
+ /**
46
+ * Additional CSS class name
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Additional inline styles
51
+ */
52
+ style?: CSSProperties;
53
+ /**
54
+ * Test ID for testing purposes
55
+ */
56
+ "data-testid"?: string;
57
+ /**
58
+ * Accessible label for screen readers
59
+ */
60
+ "aria-label"?: string;
61
+ /**
62
+ * Whether to hide from screen readers
63
+ */
64
+ "aria-hidden"?: boolean;
65
+ /**
66
+ * React Native accessibility label
67
+ */
68
+ accessibilityLabel?: string;
69
+ }
70
+
71
+ /**
72
+ * Xsolla brand logo component
73
+ *
74
+ * @example
75
+ * // Full logo in brand color (default)
76
+ * <Xsolla />
77
+ *
78
+ * @example
79
+ * // Icon only
80
+ * <Xsolla variant="icon" />
81
+ *
82
+ * @example
83
+ * // Black color, medium size
84
+ * <Xsolla color="black" size="m" />
85
+ */
86
+ declare const Xsolla: React.FC<XsollaLogoProps>;
87
+
88
+ export { LOGO_COLORS, LOGO_SIZES, type LogoColor, type LogoSize, type LogoVariant, Xsolla, type XsollaLogoProps, Xsolla as default };
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.tsx
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ LOGO_COLORS: () => LOGO_COLORS,
24
+ LOGO_SIZES: () => LOGO_SIZES,
25
+ Xsolla: () => Xsolla,
26
+ default: () => index_default
27
+ });
28
+ module.exports = __toCommonJS(index_exports);
29
+
30
+ // src/XsollaLogo.native.tsx
31
+ var import_react_native = require("react-native");
32
+ var import_react_native_svg = require("react-native-svg");
33
+
34
+ // src/types.ts
35
+ var LOGO_SIZES = {
36
+ xs: 18,
37
+ s: 24,
38
+ m: 32
39
+ };
40
+ var LOGO_COLORS = {
41
+ black: "#000000",
42
+ brand: "#80EAFF",
43
+ white: "#FFFFFF"
44
+ };
45
+
46
+ // src/XsollaLogo.native.tsx
47
+ var import_jsx_runtime = require("react/jsx-runtime");
48
+ var FULL_LOGO_ASPECT_RATIO = 116 / 24;
49
+ var ICON_ASPECT_RATIO = 1;
50
+ var XsollaLogo = ({
51
+ variant = "full",
52
+ color = "brand",
53
+ size = "s",
54
+ fullContent: fullContent2,
55
+ iconContent: iconContent2,
56
+ style,
57
+ "aria-label": ariaLabel,
58
+ "aria-hidden": ariaHidden,
59
+ accessibilityLabel
60
+ }) => {
61
+ const height = typeof size === "number" ? size : LOGO_SIZES[size];
62
+ const aspectRatio = variant === "full" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;
63
+ const width = Math.round(height * aspectRatio);
64
+ const content = variant === "full" ? fullContent2 : iconContent2;
65
+ const svgContent = content[color];
66
+ const defaultAriaLabel = variant === "full" ? "Xsolla logo" : "Xsolla icon";
67
+ const label = accessibilityLabel || ariaLabel || defaultAriaLabel;
68
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
69
+ import_react_native.View,
70
+ {
71
+ style: [{ width, height }, style],
72
+ accessible: !ariaHidden,
73
+ accessibilityRole: "image",
74
+ accessibilityLabel: ariaHidden ? void 0 : label,
75
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.SvgXml, { xml: svgContent, width: "100%", height: "100%" })
76
+ }
77
+ );
78
+ };
79
+
80
+ // src/index.tsx
81
+ var import_jsx_runtime2 = require("react/jsx-runtime");
82
+ var fullContent = {
83
+ black: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Black, Size=M [32], Icon=Left"><g id="Vector"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="black"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="black"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="black"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="black"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="black"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="black"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="black"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="black"/></g></g></svg>`,
84
+ brand: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="#80EAFF"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="#80EAFF"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="#80EAFF"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="#80EAFF"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="#80EAFF"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="#80EAFF"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="#80EAFF"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="#80EAFF"/></svg>`,
85
+ white: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="white"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="white"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="white"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="white"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="white"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="white"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="white"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="white"/></svg>`
86
+ };
87
+ var iconContent = {
88
+ black: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="black"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="black"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="black"/></svg>`,
89
+ brand: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Blue, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="#80EAFF"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="#80EAFF"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="#80EAFF"/></g></g></svg>`,
90
+ white: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=White, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="white"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="white"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="white"/></g></g></svg>`
91
+ };
92
+ var Xsolla = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
93
+ XsollaLogo,
94
+ {
95
+ ...props,
96
+ fullContent,
97
+ iconContent
98
+ }
99
+ );
100
+ var index_default = Xsolla;
101
+ // Annotate the CommonJS export names for ESM import in node:
102
+ 0 && (module.exports = {
103
+ LOGO_COLORS,
104
+ LOGO_SIZES,
105
+ Xsolla
106
+ });
107
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.tsx","../../src/XsollaLogo.native.tsx","../../src/types.ts"],"sourcesContent":["// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { XsollaLogo as XsollaLogoBase } from \"./XsollaLogo\";\nimport type {\n XsollaLogoProps,\n LogoVariant,\n LogoColor,\n LogoSize,\n} from \"./types\";\nexport { LOGO_SIZES, LOGO_COLORS } from \"./types\";\nexport type { XsollaLogoProps, LogoVariant, LogoColor, LogoSize };\n\n// Full logo SVG content by color\nconst fullContent = {\n black: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Black, Size=M [32], Icon=Left\"><g id=\"Vector\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"black\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"black\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"black\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"black\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"black\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"black\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"black\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"black\"/></g></g></svg>`,\n brand: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"#80EAFF\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"#80EAFF\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"#80EAFF\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"#80EAFF\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"#80EAFF\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"#80EAFF\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"#80EAFF\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"#80EAFF\"/></svg>`,\n white: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"white\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"white\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"white\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"white\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"white\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"white\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"white\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"white\"/></svg>`,\n};\n\n// Icon SVG content by color\nconst iconContent = {\n black: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"black\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"black\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"black\"/></svg>`,\n brand: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Blue, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"#80EAFF\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"#80EAFF\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"#80EAFF\"/></g></g></svg>`,\n white: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=White, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"white\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"white\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"white\"/></g></g></svg>`,\n};\n\n/**\n * Xsolla brand logo component\n *\n * @example\n * // Full logo in brand color (default)\n * <Xsolla />\n *\n * @example\n * // Icon only\n * <Xsolla variant=\"icon\" />\n *\n * @example\n * // Black color, medium size\n * <Xsolla color=\"black\" size=\"m\" />\n */\nexport const Xsolla: React.FC<XsollaLogoProps> = (props) => (\n <XsollaLogoBase\n {...props}\n fullContent={fullContent}\n iconContent={iconContent}\n />\n);\n\n// Default export for convenience\nexport default Xsolla;\n","import React from \"react\";\nimport { View } from \"react-native\";\nimport { SvgXml } from \"react-native-svg\";\nimport type { XsollaLogoInternalProps, LogoSize } from \"./types\";\nimport { LOGO_SIZES } from \"./types\";\n\n// Full logo aspect ratio (approximately 4.84:1 based on Figma - 116x24)\nconst FULL_LOGO_ASPECT_RATIO = 116 / 24;\n\n// Icon aspect ratio (1:1)\nconst ICON_ASPECT_RATIO = 1;\n\nexport const XsollaLogo: React.FC<XsollaLogoInternalProps> = ({\n variant = \"full\",\n color = \"brand\",\n size = \"s\",\n fullContent,\n iconContent,\n style,\n \"aria-label\": ariaLabel,\n \"aria-hidden\": ariaHidden,\n accessibilityLabel,\n}) => {\n // Resolve size to pixels\n const height = typeof size === \"number\" ? size : LOGO_SIZES[size as LogoSize];\n\n // Calculate width based on variant\n const aspectRatio =\n variant === \"full\" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;\n const width = Math.round(height * aspectRatio);\n\n // Get the appropriate SVG content\n const content = variant === \"full\" ? fullContent : iconContent;\n const svgContent = content[color];\n\n // Default aria-label based on variant\n const defaultAriaLabel = variant === \"full\" ? \"Xsolla logo\" : \"Xsolla icon\";\n const label = accessibilityLabel || ariaLabel || defaultAriaLabel;\n\n return (\n <View\n style={[{ width, height }, style]}\n accessible={!ariaHidden}\n accessibilityRole=\"image\"\n accessibilityLabel={ariaHidden ? undefined : label}\n >\n <SvgXml xml={svgContent} width=\"100%\" height=\"100%\" />\n </View>\n );\n};\n","import type { CSSProperties } from \"react\";\n\n/**\n * Logo variant - full logo with text or just the icon\n */\nexport type LogoVariant = \"full\" | \"icon\";\n\n/**\n * Logo color variants matching brand guidelines\n */\nexport type LogoColor = \"black\" | \"brand\" | \"white\";\n\n/**\n * Logo size presets\n * - xs: 18px height\n * - s: 24px height (default)\n * - m: 32px height\n */\nexport type LogoSize = \"xs\" | \"s\" | \"m\";\n\n/**\n * Size values in pixels for each preset\n */\nexport const LOGO_SIZES: Record<LogoSize, number> = {\n xs: 18,\n s: 24,\n m: 32,\n};\n\n/**\n * Brand colors in hex values\n */\nexport const LOGO_COLORS: Record<LogoColor, string> = {\n black: \"#000000\",\n brand: \"#80EAFF\",\n white: \"#FFFFFF\",\n};\n\n/**\n * Props for the XsollaLogo component\n */\nexport interface XsollaLogoProps {\n /**\n * Logo variant - 'full' shows icon + text, 'icon' shows only the icon\n * @default 'full'\n */\n variant?: LogoVariant;\n\n /**\n * Logo color\n * @default 'brand'\n */\n color?: LogoColor;\n\n /**\n * Logo size - preset name or custom pixel height\n * @default 's' (24px)\n */\n size?: LogoSize | number;\n\n /**\n * Additional CSS class name\n */\n className?: string;\n\n /**\n * Additional inline styles\n */\n style?: CSSProperties;\n\n /**\n * Test ID for testing purposes\n */\n \"data-testid\"?: string;\n\n /**\n * Accessible label for screen readers\n */\n \"aria-label\"?: string;\n\n /**\n * Whether to hide from screen readers\n */\n \"aria-hidden\"?: boolean;\n\n /**\n * React Native accessibility label\n */\n accessibilityLabel?: string;\n}\n\n/**\n * Internal props passed to the logo component including SVG content\n */\nexport interface XsollaLogoInternalProps extends XsollaLogoProps {\n /**\n * SVG content for full logo variants (keyed by color)\n */\n fullContent: Record<LogoColor, string>;\n\n /**\n * SVG content for icon-only variants (keyed by color)\n */\n iconContent: Record<LogoColor, string>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,0BAAqB;AACrB,8BAAuB;;;ACqBhB,IAAM,aAAuC;AAAA,EAClD,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AACL;AAKO,IAAM,cAAyC;AAAA,EACpD,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;ADUM;AAvCN,IAAM,yBAAyB,MAAM;AAGrC,IAAM,oBAAoB;AAEnB,IAAM,aAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,eAAe;AAAA,EACf;AACF,MAAM;AAEJ,QAAM,SAAS,OAAO,SAAS,WAAW,OAAO,WAAW,IAAgB;AAG5E,QAAM,cACJ,YAAY,SAAS,yBAAyB;AAChD,QAAM,QAAQ,KAAK,MAAM,SAAS,WAAW;AAG7C,QAAM,UAAU,YAAY,SAASD,eAAcC;AACnD,QAAM,aAAa,QAAQ,KAAK;AAGhC,QAAM,mBAAmB,YAAY,SAAS,gBAAgB;AAC9D,QAAM,QAAQ,sBAAsB,aAAa;AAEjD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,CAAC,EAAE,OAAO,OAAO,GAAG,KAAK;AAAA,MAChC,YAAY,CAAC;AAAA,MACb,mBAAkB;AAAA,MAClB,oBAAoB,aAAa,SAAY;AAAA,MAE7C,sDAAC,kCAAO,KAAK,YAAY,OAAM,QAAO,QAAO,QAAO;AAAA;AAAA,EACtD;AAEJ;;;ADPE,IAAAC,sBAAA;AA7BF,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAGA,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAiBO,IAAM,SAAoC,CAAC,UAChD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;AAIF,IAAO,gBAAQ;","names":["fullContent","iconContent","import_jsx_runtime"]}
@@ -0,0 +1,78 @@
1
+ // src/XsollaLogo.native.tsx
2
+ import { View } from "react-native";
3
+ import { SvgXml } from "react-native-svg";
4
+
5
+ // src/types.ts
6
+ var LOGO_SIZES = {
7
+ xs: 18,
8
+ s: 24,
9
+ m: 32
10
+ };
11
+ var LOGO_COLORS = {
12
+ black: "#000000",
13
+ brand: "#80EAFF",
14
+ white: "#FFFFFF"
15
+ };
16
+
17
+ // src/XsollaLogo.native.tsx
18
+ import { jsx } from "react/jsx-runtime";
19
+ var FULL_LOGO_ASPECT_RATIO = 116 / 24;
20
+ var ICON_ASPECT_RATIO = 1;
21
+ var XsollaLogo = ({
22
+ variant = "full",
23
+ color = "brand",
24
+ size = "s",
25
+ fullContent: fullContent2,
26
+ iconContent: iconContent2,
27
+ style,
28
+ "aria-label": ariaLabel,
29
+ "aria-hidden": ariaHidden,
30
+ accessibilityLabel
31
+ }) => {
32
+ const height = typeof size === "number" ? size : LOGO_SIZES[size];
33
+ const aspectRatio = variant === "full" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;
34
+ const width = Math.round(height * aspectRatio);
35
+ const content = variant === "full" ? fullContent2 : iconContent2;
36
+ const svgContent = content[color];
37
+ const defaultAriaLabel = variant === "full" ? "Xsolla logo" : "Xsolla icon";
38
+ const label = accessibilityLabel || ariaLabel || defaultAriaLabel;
39
+ return /* @__PURE__ */ jsx(
40
+ View,
41
+ {
42
+ style: [{ width, height }, style],
43
+ accessible: !ariaHidden,
44
+ accessibilityRole: "image",
45
+ accessibilityLabel: ariaHidden ? void 0 : label,
46
+ children: /* @__PURE__ */ jsx(SvgXml, { xml: svgContent, width: "100%", height: "100%" })
47
+ }
48
+ );
49
+ };
50
+
51
+ // src/index.tsx
52
+ import { jsx as jsx2 } from "react/jsx-runtime";
53
+ var fullContent = {
54
+ black: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Black, Size=M [32], Icon=Left"><g id="Vector"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="black"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="black"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="black"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="black"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="black"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="black"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="black"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="black"/></g></g></svg>`,
55
+ brand: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="#80EAFF"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="#80EAFF"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="#80EAFF"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="#80EAFF"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="#80EAFF"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="#80EAFF"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="#80EAFF"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="#80EAFF"/></svg>`,
56
+ white: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="white"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="white"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="white"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="white"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="white"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="white"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="white"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="white"/></svg>`
57
+ };
58
+ var iconContent = {
59
+ black: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="black"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="black"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="black"/></svg>`,
60
+ brand: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Blue, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="#80EAFF"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="#80EAFF"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="#80EAFF"/></g></g></svg>`,
61
+ white: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=White, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="white"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="white"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="white"/></g></g></svg>`
62
+ };
63
+ var Xsolla = (props) => /* @__PURE__ */ jsx2(
64
+ XsollaLogo,
65
+ {
66
+ ...props,
67
+ fullContent,
68
+ iconContent
69
+ }
70
+ );
71
+ var index_default = Xsolla;
72
+ export {
73
+ LOGO_COLORS,
74
+ LOGO_SIZES,
75
+ Xsolla,
76
+ index_default as default
77
+ };
78
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/XsollaLogo.native.tsx","../../src/types.ts","../../src/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { View } from \"react-native\";\nimport { SvgXml } from \"react-native-svg\";\nimport type { XsollaLogoInternalProps, LogoSize } from \"./types\";\nimport { LOGO_SIZES } from \"./types\";\n\n// Full logo aspect ratio (approximately 4.84:1 based on Figma - 116x24)\nconst FULL_LOGO_ASPECT_RATIO = 116 / 24;\n\n// Icon aspect ratio (1:1)\nconst ICON_ASPECT_RATIO = 1;\n\nexport const XsollaLogo: React.FC<XsollaLogoInternalProps> = ({\n variant = \"full\",\n color = \"brand\",\n size = \"s\",\n fullContent,\n iconContent,\n style,\n \"aria-label\": ariaLabel,\n \"aria-hidden\": ariaHidden,\n accessibilityLabel,\n}) => {\n // Resolve size to pixels\n const height = typeof size === \"number\" ? size : LOGO_SIZES[size as LogoSize];\n\n // Calculate width based on variant\n const aspectRatio =\n variant === \"full\" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;\n const width = Math.round(height * aspectRatio);\n\n // Get the appropriate SVG content\n const content = variant === \"full\" ? fullContent : iconContent;\n const svgContent = content[color];\n\n // Default aria-label based on variant\n const defaultAriaLabel = variant === \"full\" ? \"Xsolla logo\" : \"Xsolla icon\";\n const label = accessibilityLabel || ariaLabel || defaultAriaLabel;\n\n return (\n <View\n style={[{ width, height }, style]}\n accessible={!ariaHidden}\n accessibilityRole=\"image\"\n accessibilityLabel={ariaHidden ? undefined : label}\n >\n <SvgXml xml={svgContent} width=\"100%\" height=\"100%\" />\n </View>\n );\n};\n","import type { CSSProperties } from \"react\";\n\n/**\n * Logo variant - full logo with text or just the icon\n */\nexport type LogoVariant = \"full\" | \"icon\";\n\n/**\n * Logo color variants matching brand guidelines\n */\nexport type LogoColor = \"black\" | \"brand\" | \"white\";\n\n/**\n * Logo size presets\n * - xs: 18px height\n * - s: 24px height (default)\n * - m: 32px height\n */\nexport type LogoSize = \"xs\" | \"s\" | \"m\";\n\n/**\n * Size values in pixels for each preset\n */\nexport const LOGO_SIZES: Record<LogoSize, number> = {\n xs: 18,\n s: 24,\n m: 32,\n};\n\n/**\n * Brand colors in hex values\n */\nexport const LOGO_COLORS: Record<LogoColor, string> = {\n black: \"#000000\",\n brand: \"#80EAFF\",\n white: \"#FFFFFF\",\n};\n\n/**\n * Props for the XsollaLogo component\n */\nexport interface XsollaLogoProps {\n /**\n * Logo variant - 'full' shows icon + text, 'icon' shows only the icon\n * @default 'full'\n */\n variant?: LogoVariant;\n\n /**\n * Logo color\n * @default 'brand'\n */\n color?: LogoColor;\n\n /**\n * Logo size - preset name or custom pixel height\n * @default 's' (24px)\n */\n size?: LogoSize | number;\n\n /**\n * Additional CSS class name\n */\n className?: string;\n\n /**\n * Additional inline styles\n */\n style?: CSSProperties;\n\n /**\n * Test ID for testing purposes\n */\n \"data-testid\"?: string;\n\n /**\n * Accessible label for screen readers\n */\n \"aria-label\"?: string;\n\n /**\n * Whether to hide from screen readers\n */\n \"aria-hidden\"?: boolean;\n\n /**\n * React Native accessibility label\n */\n accessibilityLabel?: string;\n}\n\n/**\n * Internal props passed to the logo component including SVG content\n */\nexport interface XsollaLogoInternalProps extends XsollaLogoProps {\n /**\n * SVG content for full logo variants (keyed by color)\n */\n fullContent: Record<LogoColor, string>;\n\n /**\n * SVG content for icon-only variants (keyed by color)\n */\n iconContent: Record<LogoColor, string>;\n}\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { XsollaLogo as XsollaLogoBase } from \"./XsollaLogo\";\nimport type {\n XsollaLogoProps,\n LogoVariant,\n LogoColor,\n LogoSize,\n} from \"./types\";\nexport { LOGO_SIZES, LOGO_COLORS } from \"./types\";\nexport type { XsollaLogoProps, LogoVariant, LogoColor, LogoSize };\n\n// Full logo SVG content by color\nconst fullContent = {\n black: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Black, Size=M [32], Icon=Left\"><g id=\"Vector\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"black\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"black\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"black\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"black\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"black\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"black\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"black\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"black\"/></g></g></svg>`,\n brand: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"#80EAFF\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"#80EAFF\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"#80EAFF\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"#80EAFF\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"#80EAFF\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"#80EAFF\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"#80EAFF\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"#80EAFF\"/></svg>`,\n white: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"white\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"white\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"white\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"white\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"white\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"white\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"white\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"white\"/></svg>`,\n};\n\n// Icon SVG content by color\nconst iconContent = {\n black: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"black\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"black\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"black\"/></svg>`,\n brand: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Blue, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"#80EAFF\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"#80EAFF\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"#80EAFF\"/></g></g></svg>`,\n white: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=White, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"white\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"white\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"white\"/></g></g></svg>`,\n};\n\n/**\n * Xsolla brand logo component\n *\n * @example\n * // Full logo in brand color (default)\n * <Xsolla />\n *\n * @example\n * // Icon only\n * <Xsolla variant=\"icon\" />\n *\n * @example\n * // Black color, medium size\n * <Xsolla color=\"black\" size=\"m\" />\n */\nexport const Xsolla: React.FC<XsollaLogoProps> = (props) => (\n <XsollaLogoBase\n {...props}\n fullContent={fullContent}\n iconContent={iconContent}\n />\n);\n\n// Default export for convenience\nexport default Xsolla;\n"],"mappings":";AACA,SAAS,YAAY;AACrB,SAAS,cAAc;;;ACqBhB,IAAM,aAAuC;AAAA,EAClD,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AACL;AAKO,IAAM,cAAyC;AAAA,EACpD,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;ADUM;AAvCN,IAAM,yBAAyB,MAAM;AAGrC,IAAM,oBAAoB;AAEnB,IAAM,aAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA,cAAc;AAAA,EACd,eAAe;AAAA,EACf;AACF,MAAM;AAEJ,QAAM,SAAS,OAAO,SAAS,WAAW,OAAO,WAAW,IAAgB;AAG5E,QAAM,cACJ,YAAY,SAAS,yBAAyB;AAChD,QAAM,QAAQ,KAAK,MAAM,SAAS,WAAW;AAG7C,QAAM,UAAU,YAAY,SAASD,eAAcC;AACnD,QAAM,aAAa,QAAQ,KAAK;AAGhC,QAAM,mBAAmB,YAAY,SAAS,gBAAgB;AAC9D,QAAM,QAAQ,sBAAsB,aAAa;AAEjD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,CAAC,EAAE,OAAO,OAAO,GAAG,KAAK;AAAA,MAChC,YAAY,CAAC;AAAA,MACb,mBAAkB;AAAA,MAClB,oBAAoB,aAAa,SAAY;AAAA,MAE7C,8BAAC,UAAO,KAAK,YAAY,OAAM,QAAO,QAAO,QAAO;AAAA;AAAA,EACtD;AAEJ;;;AEPE,gBAAAC,YAAA;AA7BF,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAGA,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAiBO,IAAM,SAAoC,CAAC,UAChD,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;AAIF,IAAO,gBAAQ;","names":["fullContent","iconContent","jsx"]}
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@xsolla/xui-logos-xsolla",
3
+ "version": "0.64.0-pr56.1768440195",
4
+ "main": "./web/index.js",
5
+ "types": "./web/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "react-native": {
9
+ "types": "./native/index.d.ts",
10
+ "import": "./native/index.mjs",
11
+ "require": "./native/index.js"
12
+ },
13
+ "import": {
14
+ "types": "./web/index.d.ts",
15
+ "default": "./web/index.mjs"
16
+ },
17
+ "require": {
18
+ "types": "./web/index.d.ts",
19
+ "default": "./web/index.js"
20
+ },
21
+ "default": {
22
+ "types": "./web/index.d.ts",
23
+ "default": "./web/index.js"
24
+ }
25
+ }
26
+ },
27
+ "sideEffects": false,
28
+ "peerDependencies": {
29
+ "react": ">=16",
30
+ "react-native": ">=0.60.0",
31
+ "react-native-svg": ">=12.0.0",
32
+ "styled-components": ">=5.0.0"
33
+ },
34
+ "peerDependenciesMeta": {
35
+ "react-native": {
36
+ "optional": true
37
+ },
38
+ "react-native-svg": {
39
+ "optional": true
40
+ },
41
+ "styled-components": {
42
+ "optional": true
43
+ }
44
+ },
45
+ "devDependencies": {
46
+ "tsup": "^8.0.0",
47
+ "typescript": "^5.0.0"
48
+ },
49
+ "scripts": {
50
+ "generate": "node scripts/generate-logos.js",
51
+ "build": "yarn generate && yarn build:web && yarn build:native",
52
+ "build:web": "PLATFORM=web tsup",
53
+ "build:native": "PLATFORM=native tsup",
54
+ "dev": "PLATFORM=web tsup --watch"
55
+ },
56
+ "license": "MIT",
57
+ "module": "./web/index.mjs",
58
+ "react-native": "./native/index.js"
59
+ }
@@ -0,0 +1,88 @@
1
+ import React, { CSSProperties } from 'react';
2
+
3
+ /**
4
+ * Logo variant - full logo with text or just the icon
5
+ */
6
+ type LogoVariant = "full" | "icon";
7
+ /**
8
+ * Logo color variants matching brand guidelines
9
+ */
10
+ type LogoColor = "black" | "brand" | "white";
11
+ /**
12
+ * Logo size presets
13
+ * - xs: 18px height
14
+ * - s: 24px height (default)
15
+ * - m: 32px height
16
+ */
17
+ type LogoSize = "xs" | "s" | "m";
18
+ /**
19
+ * Size values in pixels for each preset
20
+ */
21
+ declare const LOGO_SIZES: Record<LogoSize, number>;
22
+ /**
23
+ * Brand colors in hex values
24
+ */
25
+ declare const LOGO_COLORS: Record<LogoColor, string>;
26
+ /**
27
+ * Props for the XsollaLogo component
28
+ */
29
+ interface XsollaLogoProps {
30
+ /**
31
+ * Logo variant - 'full' shows icon + text, 'icon' shows only the icon
32
+ * @default 'full'
33
+ */
34
+ variant?: LogoVariant;
35
+ /**
36
+ * Logo color
37
+ * @default 'brand'
38
+ */
39
+ color?: LogoColor;
40
+ /**
41
+ * Logo size - preset name or custom pixel height
42
+ * @default 's' (24px)
43
+ */
44
+ size?: LogoSize | number;
45
+ /**
46
+ * Additional CSS class name
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Additional inline styles
51
+ */
52
+ style?: CSSProperties;
53
+ /**
54
+ * Test ID for testing purposes
55
+ */
56
+ "data-testid"?: string;
57
+ /**
58
+ * Accessible label for screen readers
59
+ */
60
+ "aria-label"?: string;
61
+ /**
62
+ * Whether to hide from screen readers
63
+ */
64
+ "aria-hidden"?: boolean;
65
+ /**
66
+ * React Native accessibility label
67
+ */
68
+ accessibilityLabel?: string;
69
+ }
70
+
71
+ /**
72
+ * Xsolla brand logo component
73
+ *
74
+ * @example
75
+ * // Full logo in brand color (default)
76
+ * <Xsolla />
77
+ *
78
+ * @example
79
+ * // Icon only
80
+ * <Xsolla variant="icon" />
81
+ *
82
+ * @example
83
+ * // Black color, medium size
84
+ * <Xsolla color="black" size="m" />
85
+ */
86
+ declare const Xsolla: React.FC<XsollaLogoProps>;
87
+
88
+ export { LOGO_COLORS, LOGO_SIZES, type LogoColor, type LogoSize, type LogoVariant, Xsolla, type XsollaLogoProps, Xsolla as default };
package/web/index.d.ts ADDED
@@ -0,0 +1,88 @@
1
+ import React, { CSSProperties } from 'react';
2
+
3
+ /**
4
+ * Logo variant - full logo with text or just the icon
5
+ */
6
+ type LogoVariant = "full" | "icon";
7
+ /**
8
+ * Logo color variants matching brand guidelines
9
+ */
10
+ type LogoColor = "black" | "brand" | "white";
11
+ /**
12
+ * Logo size presets
13
+ * - xs: 18px height
14
+ * - s: 24px height (default)
15
+ * - m: 32px height
16
+ */
17
+ type LogoSize = "xs" | "s" | "m";
18
+ /**
19
+ * Size values in pixels for each preset
20
+ */
21
+ declare const LOGO_SIZES: Record<LogoSize, number>;
22
+ /**
23
+ * Brand colors in hex values
24
+ */
25
+ declare const LOGO_COLORS: Record<LogoColor, string>;
26
+ /**
27
+ * Props for the XsollaLogo component
28
+ */
29
+ interface XsollaLogoProps {
30
+ /**
31
+ * Logo variant - 'full' shows icon + text, 'icon' shows only the icon
32
+ * @default 'full'
33
+ */
34
+ variant?: LogoVariant;
35
+ /**
36
+ * Logo color
37
+ * @default 'brand'
38
+ */
39
+ color?: LogoColor;
40
+ /**
41
+ * Logo size - preset name or custom pixel height
42
+ * @default 's' (24px)
43
+ */
44
+ size?: LogoSize | number;
45
+ /**
46
+ * Additional CSS class name
47
+ */
48
+ className?: string;
49
+ /**
50
+ * Additional inline styles
51
+ */
52
+ style?: CSSProperties;
53
+ /**
54
+ * Test ID for testing purposes
55
+ */
56
+ "data-testid"?: string;
57
+ /**
58
+ * Accessible label for screen readers
59
+ */
60
+ "aria-label"?: string;
61
+ /**
62
+ * Whether to hide from screen readers
63
+ */
64
+ "aria-hidden"?: boolean;
65
+ /**
66
+ * React Native accessibility label
67
+ */
68
+ accessibilityLabel?: string;
69
+ }
70
+
71
+ /**
72
+ * Xsolla brand logo component
73
+ *
74
+ * @example
75
+ * // Full logo in brand color (default)
76
+ * <Xsolla />
77
+ *
78
+ * @example
79
+ * // Icon only
80
+ * <Xsolla variant="icon" />
81
+ *
82
+ * @example
83
+ * // Black color, medium size
84
+ * <Xsolla color="black" size="m" />
85
+ */
86
+ declare const Xsolla: React.FC<XsollaLogoProps>;
87
+
88
+ export { LOGO_COLORS, LOGO_SIZES, type LogoColor, type LogoSize, type LogoVariant, Xsolla, type XsollaLogoProps, Xsolla as default };
package/web/index.js ADDED
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.tsx
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ LOGO_COLORS: () => LOGO_COLORS,
34
+ LOGO_SIZES: () => LOGO_SIZES,
35
+ Xsolla: () => Xsolla,
36
+ default: () => index_default
37
+ });
38
+ module.exports = __toCommonJS(index_exports);
39
+
40
+ // src/XsollaLogo.tsx
41
+ var import_styled_components = __toESM(require("styled-components"));
42
+
43
+ // src/types.ts
44
+ var LOGO_SIZES = {
45
+ xs: 18,
46
+ s: 24,
47
+ m: 32
48
+ };
49
+ var LOGO_COLORS = {
50
+ black: "#000000",
51
+ brand: "#80EAFF",
52
+ white: "#FFFFFF"
53
+ };
54
+
55
+ // src/XsollaLogo.tsx
56
+ var import_jsx_runtime = require("react/jsx-runtime");
57
+ var StyledLogo = import_styled_components.default.div`
58
+ display: inline-flex;
59
+ align-items: center;
60
+ justify-content: center;
61
+ height: ${(props) => props.$height}px;
62
+ width: ${(props) => props.$width}px;
63
+
64
+ svg {
65
+ width: 100%;
66
+ height: 100%;
67
+ }
68
+ `;
69
+ var FULL_LOGO_ASPECT_RATIO = 116 / 24;
70
+ var ICON_ASPECT_RATIO = 1;
71
+ var XsollaLogo = ({
72
+ variant = "full",
73
+ color = "brand",
74
+ size = "s",
75
+ fullContent: fullContent2,
76
+ iconContent: iconContent2,
77
+ className,
78
+ style,
79
+ "data-testid": testId,
80
+ "aria-label": ariaLabel,
81
+ "aria-hidden": ariaHidden
82
+ }) => {
83
+ const height = typeof size === "number" ? size : LOGO_SIZES[size];
84
+ const aspectRatio = variant === "full" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;
85
+ const width = Math.round(height * aspectRatio);
86
+ const content = variant === "full" ? fullContent2 : iconContent2;
87
+ const svgContent = content[color];
88
+ const defaultAriaLabel = variant === "full" ? "Xsolla logo" : "Xsolla icon";
89
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
90
+ StyledLogo,
91
+ {
92
+ $height: height,
93
+ $width: width,
94
+ className,
95
+ style,
96
+ "data-testid": testId,
97
+ role: ariaLabel || !ariaHidden ? "img" : void 0,
98
+ "aria-label": ariaLabel || defaultAriaLabel,
99
+ "aria-hidden": ariaHidden,
100
+ dangerouslySetInnerHTML: { __html: svgContent }
101
+ }
102
+ );
103
+ };
104
+
105
+ // src/index.tsx
106
+ var import_jsx_runtime2 = require("react/jsx-runtime");
107
+ var fullContent = {
108
+ black: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Black, Size=M [32], Icon=Left"><g id="Vector"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="black"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="black"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="black"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="black"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="black"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="black"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="black"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="black"/></g></g></svg>`,
109
+ brand: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="#80EAFF"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="#80EAFF"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="#80EAFF"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="#80EAFF"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="#80EAFF"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="#80EAFF"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="#80EAFF"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="#80EAFF"/></svg>`,
110
+ white: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="white"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="white"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="white"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="white"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="white"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="white"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="white"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="white"/></svg>`
111
+ };
112
+ var iconContent = {
113
+ black: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="black"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="black"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="black"/></svg>`,
114
+ brand: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Blue, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="#80EAFF"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="#80EAFF"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="#80EAFF"/></g></g></svg>`,
115
+ white: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=White, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="white"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="white"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="white"/></g></g></svg>`
116
+ };
117
+ var Xsolla = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
118
+ XsollaLogo,
119
+ {
120
+ ...props,
121
+ fullContent,
122
+ iconContent
123
+ }
124
+ );
125
+ var index_default = Xsolla;
126
+ // Annotate the CommonJS export names for ESM import in node:
127
+ 0 && (module.exports = {
128
+ LOGO_COLORS,
129
+ LOGO_SIZES,
130
+ Xsolla
131
+ });
132
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.tsx","../../src/XsollaLogo.tsx","../../src/types.ts"],"sourcesContent":["// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { XsollaLogo as XsollaLogoBase } from \"./XsollaLogo\";\nimport type {\n XsollaLogoProps,\n LogoVariant,\n LogoColor,\n LogoSize,\n} from \"./types\";\nexport { LOGO_SIZES, LOGO_COLORS } from \"./types\";\nexport type { XsollaLogoProps, LogoVariant, LogoColor, LogoSize };\n\n// Full logo SVG content by color\nconst fullContent = {\n black: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Black, Size=M [32], Icon=Left\"><g id=\"Vector\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"black\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"black\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"black\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"black\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"black\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"black\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"black\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"black\"/></g></g></svg>`,\n brand: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"#80EAFF\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"#80EAFF\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"#80EAFF\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"#80EAFF\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"#80EAFF\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"#80EAFF\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"#80EAFF\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"#80EAFF\"/></svg>`,\n white: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"white\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"white\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"white\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"white\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"white\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"white\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"white\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"white\"/></svg>`,\n};\n\n// Icon SVG content by color\nconst iconContent = {\n black: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"black\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"black\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"black\"/></svg>`,\n brand: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Blue, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"#80EAFF\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"#80EAFF\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"#80EAFF\"/></g></g></svg>`,\n white: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=White, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"white\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"white\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"white\"/></g></g></svg>`,\n};\n\n/**\n * Xsolla brand logo component\n *\n * @example\n * // Full logo in brand color (default)\n * <Xsolla />\n *\n * @example\n * // Icon only\n * <Xsolla variant=\"icon\" />\n *\n * @example\n * // Black color, medium size\n * <Xsolla color=\"black\" size=\"m\" />\n */\nexport const Xsolla: React.FC<XsollaLogoProps> = (props) => (\n <XsollaLogoBase\n {...props}\n fullContent={fullContent}\n iconContent={iconContent}\n />\n);\n\n// Default export for convenience\nexport default Xsolla;\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport type { XsollaLogoInternalProps, LogoSize } from \"./types\";\nimport { LOGO_SIZES } from \"./types\";\n\nconst StyledLogo = styled.div<{ $height: number; $width: number }>`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ${(props) => props.$height}px;\n width: ${(props) => props.$width}px;\n\n svg {\n width: 100%;\n height: 100%;\n }\n`;\n\n// Full logo aspect ratio (approximately 4.84:1 based on Figma - 116x24)\nconst FULL_LOGO_ASPECT_RATIO = 116 / 24;\n\n// Icon aspect ratio (1:1)\nconst ICON_ASPECT_RATIO = 1;\n\nexport const XsollaLogo: React.FC<XsollaLogoInternalProps> = ({\n variant = \"full\",\n color = \"brand\",\n size = \"s\",\n fullContent,\n iconContent,\n className,\n style,\n \"data-testid\": testId,\n \"aria-label\": ariaLabel,\n \"aria-hidden\": ariaHidden,\n}) => {\n // Resolve size to pixels\n const height = typeof size === \"number\" ? size : LOGO_SIZES[size as LogoSize];\n\n // Calculate width based on variant\n const aspectRatio =\n variant === \"full\" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;\n const width = Math.round(height * aspectRatio);\n\n // Get the appropriate SVG content\n const content = variant === \"full\" ? fullContent : iconContent;\n const svgContent = content[color];\n\n // Default aria-label based on variant\n const defaultAriaLabel = variant === \"full\" ? \"Xsolla logo\" : \"Xsolla icon\";\n\n return (\n <StyledLogo\n $height={height}\n $width={width}\n className={className}\n style={style}\n data-testid={testId}\n role={ariaLabel || !ariaHidden ? \"img\" : undefined}\n aria-label={ariaLabel || defaultAriaLabel}\n aria-hidden={ariaHidden}\n dangerouslySetInnerHTML={{ __html: svgContent }}\n />\n );\n};\n","import type { CSSProperties } from \"react\";\n\n/**\n * Logo variant - full logo with text or just the icon\n */\nexport type LogoVariant = \"full\" | \"icon\";\n\n/**\n * Logo color variants matching brand guidelines\n */\nexport type LogoColor = \"black\" | \"brand\" | \"white\";\n\n/**\n * Logo size presets\n * - xs: 18px height\n * - s: 24px height (default)\n * - m: 32px height\n */\nexport type LogoSize = \"xs\" | \"s\" | \"m\";\n\n/**\n * Size values in pixels for each preset\n */\nexport const LOGO_SIZES: Record<LogoSize, number> = {\n xs: 18,\n s: 24,\n m: 32,\n};\n\n/**\n * Brand colors in hex values\n */\nexport const LOGO_COLORS: Record<LogoColor, string> = {\n black: \"#000000\",\n brand: \"#80EAFF\",\n white: \"#FFFFFF\",\n};\n\n/**\n * Props for the XsollaLogo component\n */\nexport interface XsollaLogoProps {\n /**\n * Logo variant - 'full' shows icon + text, 'icon' shows only the icon\n * @default 'full'\n */\n variant?: LogoVariant;\n\n /**\n * Logo color\n * @default 'brand'\n */\n color?: LogoColor;\n\n /**\n * Logo size - preset name or custom pixel height\n * @default 's' (24px)\n */\n size?: LogoSize | number;\n\n /**\n * Additional CSS class name\n */\n className?: string;\n\n /**\n * Additional inline styles\n */\n style?: CSSProperties;\n\n /**\n * Test ID for testing purposes\n */\n \"data-testid\"?: string;\n\n /**\n * Accessible label for screen readers\n */\n \"aria-label\"?: string;\n\n /**\n * Whether to hide from screen readers\n */\n \"aria-hidden\"?: boolean;\n\n /**\n * React Native accessibility label\n */\n accessibilityLabel?: string;\n}\n\n/**\n * Internal props passed to the logo component including SVG content\n */\nexport interface XsollaLogoInternalProps extends XsollaLogoProps {\n /**\n * SVG content for full logo variants (keyed by color)\n */\n fullContent: Record<LogoColor, string>;\n\n /**\n * SVG content for icon-only variants (keyed by color)\n */\n iconContent: Record<LogoColor, string>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCA,+BAAmB;;;ACsBZ,IAAM,aAAuC;AAAA,EAClD,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AACL;AAKO,IAAM,cAAyC;AAAA,EACpD,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;ADgBI;AA/CJ,IAAM,aAAa,yBAAAA,QAAO;AAAA;AAAA;AAAA;AAAA,YAId,CAAC,UAAU,MAAM,OAAO;AAAA,WACzB,CAAC,UAAU,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASlC,IAAM,yBAAyB,MAAM;AAGrC,IAAM,oBAAoB;AAEnB,IAAM,aAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,cAAc;AAAA,EACd,eAAe;AACjB,MAAM;AAEJ,QAAM,SAAS,OAAO,SAAS,WAAW,OAAO,WAAW,IAAgB;AAG5E,QAAM,cACJ,YAAY,SAAS,yBAAyB;AAChD,QAAM,QAAQ,KAAK,MAAM,SAAS,WAAW;AAG7C,QAAM,UAAU,YAAY,SAASD,eAAcC;AACnD,QAAM,aAAa,QAAQ,KAAK;AAGhC,QAAM,mBAAmB,YAAY,SAAS,gBAAgB;AAE9D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MACb,MAAM,aAAa,CAAC,aAAa,QAAQ;AAAA,MACzC,cAAY,aAAa;AAAA,MACzB,eAAa;AAAA,MACb,yBAAyB,EAAE,QAAQ,WAAW;AAAA;AAAA,EAChD;AAEJ;;;ADtBE,IAAAC,sBAAA;AA7BF,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAGA,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAiBO,IAAM,SAAoC,CAAC,UAChD;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;AAIF,IAAO,gBAAQ;","names":["styled","fullContent","iconContent","import_jsx_runtime"]}
package/web/index.mjs ADDED
@@ -0,0 +1,93 @@
1
+ // src/XsollaLogo.tsx
2
+ import styled from "styled-components";
3
+
4
+ // src/types.ts
5
+ var LOGO_SIZES = {
6
+ xs: 18,
7
+ s: 24,
8
+ m: 32
9
+ };
10
+ var LOGO_COLORS = {
11
+ black: "#000000",
12
+ brand: "#80EAFF",
13
+ white: "#FFFFFF"
14
+ };
15
+
16
+ // src/XsollaLogo.tsx
17
+ import { jsx } from "react/jsx-runtime";
18
+ var StyledLogo = styled.div`
19
+ display: inline-flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ height: ${(props) => props.$height}px;
23
+ width: ${(props) => props.$width}px;
24
+
25
+ svg {
26
+ width: 100%;
27
+ height: 100%;
28
+ }
29
+ `;
30
+ var FULL_LOGO_ASPECT_RATIO = 116 / 24;
31
+ var ICON_ASPECT_RATIO = 1;
32
+ var XsollaLogo = ({
33
+ variant = "full",
34
+ color = "brand",
35
+ size = "s",
36
+ fullContent: fullContent2,
37
+ iconContent: iconContent2,
38
+ className,
39
+ style,
40
+ "data-testid": testId,
41
+ "aria-label": ariaLabel,
42
+ "aria-hidden": ariaHidden
43
+ }) => {
44
+ const height = typeof size === "number" ? size : LOGO_SIZES[size];
45
+ const aspectRatio = variant === "full" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;
46
+ const width = Math.round(height * aspectRatio);
47
+ const content = variant === "full" ? fullContent2 : iconContent2;
48
+ const svgContent = content[color];
49
+ const defaultAriaLabel = variant === "full" ? "Xsolla logo" : "Xsolla icon";
50
+ return /* @__PURE__ */ jsx(
51
+ StyledLogo,
52
+ {
53
+ $height: height,
54
+ $width: width,
55
+ className,
56
+ style,
57
+ "data-testid": testId,
58
+ role: ariaLabel || !ariaHidden ? "img" : void 0,
59
+ "aria-label": ariaLabel || defaultAriaLabel,
60
+ "aria-hidden": ariaHidden,
61
+ dangerouslySetInnerHTML: { __html: svgContent }
62
+ }
63
+ );
64
+ };
65
+
66
+ // src/index.tsx
67
+ import { jsx as jsx2 } from "react/jsx-runtime";
68
+ var fullContent = {
69
+ black: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Black, Size=M [32], Icon=Left"><g id="Vector"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="black"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="black"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="black"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="black"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="black"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="black"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="black"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="black"/></g></g></svg>`,
70
+ brand: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="#80EAFF"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="#80EAFF"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="#80EAFF"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="#80EAFF"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="#80EAFF"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="#80EAFF"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="#80EAFF"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="#80EAFF"/></svg>`,
71
+ white: `<svg viewBox="0 0 155 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z" fill="white"/><path d="M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z" fill="white"/><path d="M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z" fill="white"/><path d="M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z" fill="white"/><path d="M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z" fill="white"/><path d="M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z" fill="white"/><path d="M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z" fill="white"/><path d="M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z" fill="white"/></svg>`
72
+ };
73
+ var iconContent = {
74
+ black: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="black"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="black"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="black"/></svg>`,
75
+ brand: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=Blue, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="#80EAFF"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="#80EAFF"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="#80EAFF"/></g></g></svg>`,
76
+ white: `<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><g id="Colour=White, Size=M [32], Icon=None"><g id="Vector"><path d="M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z" fill="white"/><path d="M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z" fill="white"/><path d="M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z" fill="white"/></g></g></svg>`
77
+ };
78
+ var Xsolla = (props) => /* @__PURE__ */ jsx2(
79
+ XsollaLogo,
80
+ {
81
+ ...props,
82
+ fullContent,
83
+ iconContent
84
+ }
85
+ );
86
+ var index_default = Xsolla;
87
+ export {
88
+ LOGO_COLORS,
89
+ LOGO_SIZES,
90
+ Xsolla,
91
+ index_default as default
92
+ };
93
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/XsollaLogo.tsx","../../src/types.ts","../../src/index.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"styled-components\";\nimport type { XsollaLogoInternalProps, LogoSize } from \"./types\";\nimport { LOGO_SIZES } from \"./types\";\n\nconst StyledLogo = styled.div<{ $height: number; $width: number }>`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: ${(props) => props.$height}px;\n width: ${(props) => props.$width}px;\n\n svg {\n width: 100%;\n height: 100%;\n }\n`;\n\n// Full logo aspect ratio (approximately 4.84:1 based on Figma - 116x24)\nconst FULL_LOGO_ASPECT_RATIO = 116 / 24;\n\n// Icon aspect ratio (1:1)\nconst ICON_ASPECT_RATIO = 1;\n\nexport const XsollaLogo: React.FC<XsollaLogoInternalProps> = ({\n variant = \"full\",\n color = \"brand\",\n size = \"s\",\n fullContent,\n iconContent,\n className,\n style,\n \"data-testid\": testId,\n \"aria-label\": ariaLabel,\n \"aria-hidden\": ariaHidden,\n}) => {\n // Resolve size to pixels\n const height = typeof size === \"number\" ? size : LOGO_SIZES[size as LogoSize];\n\n // Calculate width based on variant\n const aspectRatio =\n variant === \"full\" ? FULL_LOGO_ASPECT_RATIO : ICON_ASPECT_RATIO;\n const width = Math.round(height * aspectRatio);\n\n // Get the appropriate SVG content\n const content = variant === \"full\" ? fullContent : iconContent;\n const svgContent = content[color];\n\n // Default aria-label based on variant\n const defaultAriaLabel = variant === \"full\" ? \"Xsolla logo\" : \"Xsolla icon\";\n\n return (\n <StyledLogo\n $height={height}\n $width={width}\n className={className}\n style={style}\n data-testid={testId}\n role={ariaLabel || !ariaHidden ? \"img\" : undefined}\n aria-label={ariaLabel || defaultAriaLabel}\n aria-hidden={ariaHidden}\n dangerouslySetInnerHTML={{ __html: svgContent }}\n />\n );\n};\n","import type { CSSProperties } from \"react\";\n\n/**\n * Logo variant - full logo with text or just the icon\n */\nexport type LogoVariant = \"full\" | \"icon\";\n\n/**\n * Logo color variants matching brand guidelines\n */\nexport type LogoColor = \"black\" | \"brand\" | \"white\";\n\n/**\n * Logo size presets\n * - xs: 18px height\n * - s: 24px height (default)\n * - m: 32px height\n */\nexport type LogoSize = \"xs\" | \"s\" | \"m\";\n\n/**\n * Size values in pixels for each preset\n */\nexport const LOGO_SIZES: Record<LogoSize, number> = {\n xs: 18,\n s: 24,\n m: 32,\n};\n\n/**\n * Brand colors in hex values\n */\nexport const LOGO_COLORS: Record<LogoColor, string> = {\n black: \"#000000\",\n brand: \"#80EAFF\",\n white: \"#FFFFFF\",\n};\n\n/**\n * Props for the XsollaLogo component\n */\nexport interface XsollaLogoProps {\n /**\n * Logo variant - 'full' shows icon + text, 'icon' shows only the icon\n * @default 'full'\n */\n variant?: LogoVariant;\n\n /**\n * Logo color\n * @default 'brand'\n */\n color?: LogoColor;\n\n /**\n * Logo size - preset name or custom pixel height\n * @default 's' (24px)\n */\n size?: LogoSize | number;\n\n /**\n * Additional CSS class name\n */\n className?: string;\n\n /**\n * Additional inline styles\n */\n style?: CSSProperties;\n\n /**\n * Test ID for testing purposes\n */\n \"data-testid\"?: string;\n\n /**\n * Accessible label for screen readers\n */\n \"aria-label\"?: string;\n\n /**\n * Whether to hide from screen readers\n */\n \"aria-hidden\"?: boolean;\n\n /**\n * React Native accessibility label\n */\n accessibilityLabel?: string;\n}\n\n/**\n * Internal props passed to the logo component including SVG content\n */\nexport interface XsollaLogoInternalProps extends XsollaLogoProps {\n /**\n * SVG content for full logo variants (keyed by color)\n */\n fullContent: Record<LogoColor, string>;\n\n /**\n * SVG content for icon-only variants (keyed by color)\n */\n iconContent: Record<LogoColor, string>;\n}\n","// Auto-generated - do not edit manually\nimport React from \"react\";\nimport { XsollaLogo as XsollaLogoBase } from \"./XsollaLogo\";\nimport type {\n XsollaLogoProps,\n LogoVariant,\n LogoColor,\n LogoSize,\n} from \"./types\";\nexport { LOGO_SIZES, LOGO_COLORS } from \"./types\";\nexport type { XsollaLogoProps, LogoVariant, LogoColor, LogoSize };\n\n// Full logo SVG content by color\nconst fullContent = {\n black: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Black, Size=M [32], Icon=Left\"><g id=\"Vector\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"black\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"black\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"black\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"black\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"black\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"black\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"black\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"black\"/></g></g></svg>`,\n brand: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"#80EAFF\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"#80EAFF\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"#80EAFF\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"#80EAFF\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"#80EAFF\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"#80EAFF\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"#80EAFF\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"#80EAFF\"/></svg>`,\n white: `<svg viewBox=\"0 0 155 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M28.5308 8.91228C26.2721 8.35088 25.5663 7.75439 24.9311 5.78947C23.7276 2 21.2925 0 17.8693 0C14.446 0 12.0109 2 10.811 5.78947C10.1757 7.75439 9.46992 8.35088 7.21128 8.91228C3.36452 9.85965 1 12.4912 1 16C1 19.5088 3.36452 22.1404 7.21128 23.0877C9.46992 23.6491 10.1757 24.2456 10.811 26.2105C12.0109 30 14.446 32 17.8693 32C21.2925 32 23.7276 30 24.9275 26.2105C25.5628 24.2456 26.2686 23.6491 28.5273 23.0877C32.374 22.1404 34.7385 19.5088 34.7385 16C34.7385 12.4912 32.374 9.85965 28.5273 8.91228H28.5308ZM23.41 21.4035C21.0808 21.4035 19.0339 19.7193 18.5398 17.6491H17.2693C16.7399 19.6842 14.693 21.4035 12.3638 21.4035C9.5758 21.4035 7.31715 19.1228 7.31715 16.3509C7.31715 13.5789 9.5758 11.3333 12.3638 11.3333C14.6578 11.3333 16.7399 13.0175 17.2693 15.0526H18.5398C19.0692 12.9825 21.1161 11.3333 23.41 11.3333C26.198 11.3333 28.492 13.5789 28.492 16.3509C28.492 19.1228 26.198 21.4035 23.41 21.4035Z\" fill=\"white\"/><path d=\"M25.4572 14.351H21.3987V18.3861H25.4572V14.351Z\" fill=\"white\"/><path d=\"M14.4107 14.351H10.3522V18.3861H14.4107V14.351Z\" fill=\"white\"/><path d=\"M58.5461 3.71916H52.476L46.6847 11.5788L40.8299 3.71916H34.4774L43.5402 15.7858L34.0539 28.2806H40.1593L46.4765 19.7121L52.8642 28.2806H59.2519L49.6245 15.4981L58.5461 3.71916Z\" fill=\"white\"/><path d=\"M64.1361 10.7718L70.1003 3.71916H63.9596L60.7834 7.43846C59.7599 8.66653 59.2659 9.8946 59.2659 11.2279C59.2659 12.5613 59.7599 13.7542 60.7834 15.0174L65.6183 21.0525L59.9364 28.2806H66.2183L69.0063 24.7718C70.065 23.4385 70.5591 22.1753 70.5591 20.8069C70.5591 19.4385 70.065 18.1753 69.0063 16.842L64.1361 10.7718Z\" fill=\"white\"/><path d=\"M85.6001 3.15789C78.3654 3.15789 72.6835 8.80702 72.6835 16C72.6835 23.193 78.3654 28.8421 85.6001 28.8421C92.8348 28.8421 98.5168 23.193 98.5168 16C98.5168 8.80702 92.8348 3.15789 85.6001 3.15789ZM85.6001 23.9298C81.2593 23.9298 77.9772 20.5263 77.9772 16C77.9772 11.4737 81.2593 8.07018 85.6001 8.07018C89.9409 8.07018 93.223 11.4737 93.223 16C93.223 20.5263 89.9409 23.9298 85.6001 23.9298Z\" fill=\"white\"/><path d=\"M97.4019 3.71916L110.675 28.2806H116.886L103.617 3.71916H97.4019Z\" fill=\"white\"/><path d=\"M140.193 3.71916H136.487L126.376 23.1051L115.902 3.71916H109.69L122.96 28.2841H153L140.189 3.71916H140.193ZM131.561 23.7192L138.227 10.5297L144.883 23.7192H131.561Z\" fill=\"white\"/></svg>`,\n};\n\n// Icon SVG content by color\nconst iconContent = {\n black: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"black\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"black\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"black\"/></svg>`,\n brand: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=Blue, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"#80EAFF\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"#80EAFF\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"#80EAFF\"/></g></g></svg>`,\n white: `<svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"100%\"><g id=\"Colour=White, Size=M [32], Icon=None\"><g id=\"Vector\"><path d=\"M26.1121 9.23909C23.9699 8.70353 23.3004 8.13449 22.6979 6.26001C21.5565 2.64495 19.2469 0.737 16 0.737C12.7531 0.737 10.4435 2.64495 9.30544 6.26001C8.70293 8.13449 8.03347 8.70353 5.89121 9.23909C2.24268 10.1429 0 12.6533 0 16.0006C0 19.3479 2.24268 21.8583 5.89121 22.7621C8.03347 23.2977 8.70293 23.8667 9.30544 25.7412C10.4435 29.3562 12.7531 31.2642 16 31.2642C19.2469 31.2642 21.5565 29.3562 22.6946 25.7412C23.2971 23.8667 23.9665 23.2977 26.1088 22.7621C29.7573 21.8583 32 19.3479 32 16.0006C32 12.6533 29.7573 10.1429 26.1088 9.23909H26.1121ZM21.2552 21.1554C19.046 21.1554 17.1046 19.5487 16.636 17.5738H15.431C14.9289 19.5152 12.9874 21.1554 10.7782 21.1554C8.13389 21.1554 5.99163 18.9797 5.99163 16.3353C5.99163 13.691 8.13389 11.5487 10.7782 11.5487C12.954 11.5487 14.9289 13.1554 15.431 15.0968H16.636C17.1381 13.1219 19.0795 11.5487 21.2552 11.5487C23.8996 11.5487 26.0753 13.691 26.0753 16.3353C26.0753 18.9797 23.8996 21.1554 21.2552 21.1554Z\" fill=\"white\"/><path d=\"M23.1969 14.4275H19.3475V18.2769H23.1969V14.4275Z\" fill=\"white\"/><path d=\"M12.7197 14.4275H8.87029V18.2769H12.7197V14.4275Z\" fill=\"white\"/></g></g></svg>`,\n};\n\n/**\n * Xsolla brand logo component\n *\n * @example\n * // Full logo in brand color (default)\n * <Xsolla />\n *\n * @example\n * // Icon only\n * <Xsolla variant=\"icon\" />\n *\n * @example\n * // Black color, medium size\n * <Xsolla color=\"black\" size=\"m\" />\n */\nexport const Xsolla: React.FC<XsollaLogoProps> = (props) => (\n <XsollaLogoBase\n {...props}\n fullContent={fullContent}\n iconContent={iconContent}\n />\n);\n\n// Default export for convenience\nexport default Xsolla;\n"],"mappings":";AACA,OAAO,YAAY;;;ACsBZ,IAAM,aAAuC;AAAA,EAClD,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AACL;AAKO,IAAM,cAAyC;AAAA,EACpD,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;ADgBI;AA/CJ,IAAM,aAAa,OAAO;AAAA;AAAA;AAAA;AAAA,YAId,CAAC,UAAU,MAAM,OAAO;AAAA,WACzB,CAAC,UAAU,MAAM,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASlC,IAAM,yBAAyB,MAAM;AAGrC,IAAM,oBAAoB;AAEnB,IAAM,aAAgD,CAAC;AAAA,EAC5D,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAAA;AAAA,EACA,aAAAC;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,cAAc;AAAA,EACd,eAAe;AACjB,MAAM;AAEJ,QAAM,SAAS,OAAO,SAAS,WAAW,OAAO,WAAW,IAAgB;AAG5E,QAAM,cACJ,YAAY,SAAS,yBAAyB;AAChD,QAAM,QAAQ,KAAK,MAAM,SAAS,WAAW;AAG7C,QAAM,UAAU,YAAY,SAASD,eAAcC;AACnD,QAAM,aAAa,QAAQ,KAAK;AAGhC,QAAM,mBAAmB,YAAY,SAAS,gBAAgB;AAE9D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS;AAAA,MACT,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,MACA,eAAa;AAAA,MACb,MAAM,aAAa,CAAC,aAAa,QAAQ;AAAA,MACzC,cAAY,aAAa;AAAA,MACzB,eAAa;AAAA,MACb,yBAAyB,EAAE,QAAQ,WAAW;AAAA;AAAA,EAChD;AAEJ;;;AEtBE,gBAAAC,YAAA;AA7BF,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAGA,IAAM,cAAc;AAAA,EAClB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;AAiBO,IAAM,SAAoC,CAAC,UAChD,gBAAAA;AAAA,EAAC;AAAA;AAAA,IACE,GAAG;AAAA,IACJ;AAAA,IACA;AAAA;AACF;AAIF,IAAO,gBAAQ;","names":["fullContent","iconContent","jsx"]}