@xsolla/xui-icon-wrapper 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.
package/web/index.js ADDED
@@ -0,0 +1,508 @@
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
+ IconWrapper: () => IconWrapper
34
+ });
35
+ module.exports = __toCommonJS(index_exports);
36
+
37
+ // ../primitives-web/src/Box.tsx
38
+ var import_react = __toESM(require("react"));
39
+ var import_styled_components = __toESM(require("styled-components"));
40
+ var import_jsx_runtime = require("react/jsx-runtime");
41
+ var StyledBox = import_styled_components.default.div`
42
+ display: flex;
43
+ box-sizing: border-box;
44
+ background-color: ${(props) => props.backgroundColor || "transparent"};
45
+ border-color: ${(props) => props.borderColor || "transparent"};
46
+ border-width: ${(props) => typeof props.borderWidth === "number" ? `${props.borderWidth}px` : props.borderWidth || 0};
47
+
48
+ ${(props) => props.borderBottomWidth !== void 0 && `
49
+ border-bottom-width: ${typeof props.borderBottomWidth === "number" ? `${props.borderBottomWidth}px` : props.borderBottomWidth};
50
+ border-bottom-color: ${props.borderBottomColor || props.borderColor || "transparent"};
51
+ border-bottom-style: solid;
52
+ `}
53
+ ${(props) => props.borderTopWidth !== void 0 && `
54
+ border-top-width: ${typeof props.borderTopWidth === "number" ? `${props.borderTopWidth}px` : props.borderTopWidth};
55
+ border-top-color: ${props.borderTopColor || props.borderColor || "transparent"};
56
+ border-top-style: solid;
57
+ `}
58
+ ${(props) => props.borderLeftWidth !== void 0 && `
59
+ border-left-width: ${typeof props.borderLeftWidth === "number" ? `${props.borderLeftWidth}px` : props.borderLeftWidth};
60
+ border-left-color: ${props.borderLeftColor || props.borderColor || "transparent"};
61
+ border-left-style: solid;
62
+ `}
63
+ ${(props) => props.borderRightWidth !== void 0 && `
64
+ border-right-width: ${typeof props.borderRightWidth === "number" ? `${props.borderRightWidth}px` : props.borderRightWidth};
65
+ border-right-color: ${props.borderRightColor || props.borderColor || "transparent"};
66
+ border-right-style: solid;
67
+ `}
68
+
69
+ border-style: ${(props) => props.borderStyle || (props.borderWidth || props.borderBottomWidth || props.borderTopWidth || props.borderLeftWidth || props.borderRightWidth ? "solid" : "none")};
70
+ border-radius: ${(props) => typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius || 0};
71
+ height: ${(props) => typeof props.height === "number" ? `${props.height}px` : props.height || "auto"};
72
+ width: ${(props) => typeof props.width === "number" ? `${props.width}px` : props.width || "auto"};
73
+ min-width: ${(props) => typeof props.minWidth === "number" ? `${props.minWidth}px` : props.minWidth || "auto"};
74
+ min-height: ${(props) => typeof props.minHeight === "number" ? `${props.minHeight}px` : props.minHeight || "auto"};
75
+
76
+ padding: ${(props) => typeof props.padding === "number" ? `${props.padding}px` : props.padding || 0};
77
+ ${(props) => props.paddingHorizontal && `
78
+ padding-left: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
79
+ padding-right: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
80
+ `}
81
+ ${(props) => props.paddingVertical && `
82
+ padding-top: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
83
+ padding-bottom: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
84
+ `}
85
+ ${(props) => props.paddingTop !== void 0 && `padding-top: ${typeof props.paddingTop === "number" ? `${props.paddingTop}px` : props.paddingTop};`}
86
+ ${(props) => props.paddingBottom !== void 0 && `padding-bottom: ${typeof props.paddingBottom === "number" ? `${props.paddingBottom}px` : props.paddingBottom};`}
87
+ ${(props) => props.paddingLeft !== void 0 && `padding-left: ${typeof props.paddingLeft === "number" ? `${props.paddingLeft}px` : props.paddingLeft};`}
88
+ ${(props) => props.paddingRight !== void 0 && `padding-right: ${typeof props.paddingRight === "number" ? `${props.paddingRight}px` : props.paddingRight};`}
89
+
90
+ margin: ${(props) => typeof props.margin === "number" ? `${props.margin}px` : props.margin || 0};
91
+ ${(props) => props.marginTop !== void 0 && `margin-top: ${typeof props.marginTop === "number" ? `${props.marginTop}px` : props.marginTop};`}
92
+ ${(props) => props.marginBottom !== void 0 && `margin-bottom: ${typeof props.marginBottom === "number" ? `${props.marginBottom}px` : props.marginBottom};`}
93
+ ${(props) => props.marginLeft !== void 0 && `margin-left: ${typeof props.marginLeft === "number" ? `${props.marginLeft}px` : props.marginLeft};`}
94
+ ${(props) => props.marginRight !== void 0 && `margin-right: ${typeof props.marginRight === "number" ? `${props.marginRight}px` : props.marginRight};`}
95
+
96
+ flex-direction: ${(props) => props.flexDirection || "column"};
97
+ flex-wrap: ${(props) => props.flexWrap || "nowrap"};
98
+ align-items: ${(props) => props.alignItems || "stretch"};
99
+ justify-content: ${(props) => props.justifyContent || "flex-start"};
100
+ cursor: ${(props) => props.cursor ? props.cursor : props.onClick || props.onPress ? "pointer" : "inherit"};
101
+ position: ${(props) => props.position || "static"};
102
+ top: ${(props) => typeof props.top === "number" ? `${props.top}px` : props.top};
103
+ bottom: ${(props) => typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom};
104
+ left: ${(props) => typeof props.left === "number" ? `${props.left}px` : props.left};
105
+ right: ${(props) => typeof props.right === "number" ? `${props.right}px` : props.right};
106
+ flex: ${(props) => props.flex};
107
+ flex-shrink: ${(props) => props.flexShrink ?? 1};
108
+ gap: ${(props) => typeof props.gap === "number" ? `${props.gap}px` : props.gap || 0};
109
+ align-self: ${(props) => props.alignSelf || "auto"};
110
+ overflow: ${(props) => props.overflow || "visible"};
111
+ overflow-x: ${(props) => props.overflowX || "visible"};
112
+ overflow-y: ${(props) => props.overflowY || "visible"};
113
+ z-index: ${(props) => props.zIndex};
114
+ opacity: ${(props) => props.disabled ? 0.5 : 1};
115
+ pointer-events: ${(props) => props.disabled ? "none" : "auto"};
116
+
117
+ &:hover {
118
+ ${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
119
+ ${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
120
+ }
121
+
122
+ &:active {
123
+ ${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
124
+ }
125
+ `;
126
+ var Box = import_react.default.forwardRef(
127
+ ({
128
+ children,
129
+ onPress,
130
+ onKeyDown,
131
+ onKeyUp,
132
+ role,
133
+ "aria-label": ariaLabel,
134
+ "aria-labelledby": ariaLabelledBy,
135
+ "aria-current": ariaCurrent,
136
+ "aria-disabled": ariaDisabled,
137
+ "aria-live": ariaLive,
138
+ "aria-busy": ariaBusy,
139
+ "aria-describedby": ariaDescribedBy,
140
+ "aria-expanded": ariaExpanded,
141
+ "aria-haspopup": ariaHasPopup,
142
+ "aria-pressed": ariaPressed,
143
+ "aria-controls": ariaControls,
144
+ tabIndex,
145
+ as,
146
+ src,
147
+ alt,
148
+ type,
149
+ disabled,
150
+ id,
151
+ ...props
152
+ }, ref) => {
153
+ if (as === "img" && src) {
154
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
155
+ "img",
156
+ {
157
+ src,
158
+ alt: alt || "",
159
+ style: {
160
+ display: "block",
161
+ objectFit: "cover",
162
+ width: typeof props.width === "number" ? `${props.width}px` : props.width,
163
+ height: typeof props.height === "number" ? `${props.height}px` : props.height,
164
+ borderRadius: typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius,
165
+ position: props.position,
166
+ top: typeof props.top === "number" ? `${props.top}px` : props.top,
167
+ left: typeof props.left === "number" ? `${props.left}px` : props.left,
168
+ right: typeof props.right === "number" ? `${props.right}px` : props.right,
169
+ bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom
170
+ }
171
+ }
172
+ );
173
+ }
174
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
175
+ StyledBox,
176
+ {
177
+ ref,
178
+ as,
179
+ id,
180
+ type: as === "button" ? type || "button" : void 0,
181
+ disabled: as === "button" ? disabled : void 0,
182
+ onClick: onPress,
183
+ onKeyDown,
184
+ onKeyUp,
185
+ role,
186
+ "aria-label": ariaLabel,
187
+ "aria-labelledby": ariaLabelledBy,
188
+ "aria-current": ariaCurrent,
189
+ "aria-disabled": ariaDisabled,
190
+ "aria-busy": ariaBusy,
191
+ "aria-describedby": ariaDescribedBy,
192
+ "aria-expanded": ariaExpanded,
193
+ "aria-haspopup": ariaHasPopup,
194
+ "aria-pressed": ariaPressed,
195
+ "aria-controls": ariaControls,
196
+ "aria-live": ariaLive,
197
+ tabIndex: tabIndex !== void 0 ? tabIndex : void 0,
198
+ ...props,
199
+ children
200
+ }
201
+ );
202
+ }
203
+ );
204
+ Box.displayName = "Box";
205
+
206
+ // ../primitives-web/src/Text.tsx
207
+ var import_styled_components2 = __toESM(require("styled-components"));
208
+ var import_jsx_runtime2 = require("react/jsx-runtime");
209
+ var StyledText = import_styled_components2.default.span`
210
+ color: ${(props) => props.color || "inherit"};
211
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
212
+ font-weight: ${(props) => props.fontWeight || "normal"};
213
+ font-family: ${(props) => props.fontFamily || '"Pilat Wide Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important'};
214
+ line-height: ${(props) => typeof props.lineHeight === "number" ? `${props.lineHeight}px` : props.lineHeight || "inherit"};
215
+ white-space: ${(props) => props.whiteSpace || "normal"};
216
+ text-align: ${(props) => props.textAlign || "inherit"};
217
+ text-decoration: ${(props) => props.textDecoration || "none"};
218
+ `;
219
+
220
+ // ../primitives-web/src/Spinner.tsx
221
+ var import_styled_components3 = __toESM(require("styled-components"));
222
+ var import_jsx_runtime3 = require("react/jsx-runtime");
223
+ var rotate = import_styled_components3.keyframes`
224
+ from {
225
+ transform: rotate(0deg);
226
+ }
227
+ to {
228
+ transform: rotate(360deg);
229
+ }
230
+ `;
231
+ var StyledSpinner = import_styled_components3.default.div`
232
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
233
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
234
+ border: ${(props) => props.strokeWidth || 2}px solid
235
+ ${(props) => props.color || "currentColor"};
236
+ border-bottom-color: transparent;
237
+ border-radius: 50%;
238
+ display: inline-block;
239
+ box-sizing: border-box;
240
+ animation: ${rotate} 1s linear infinite;
241
+ `;
242
+ var Spinner = ({
243
+ role = "status",
244
+ "aria-label": ariaLabel,
245
+ "aria-live": ariaLive = "polite",
246
+ "aria-describedby": ariaDescribedBy,
247
+ testID,
248
+ ...props
249
+ }) => {
250
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
251
+ StyledSpinner,
252
+ {
253
+ role,
254
+ "aria-label": ariaLabel,
255
+ "aria-live": ariaLive,
256
+ "aria-describedby": ariaDescribedBy,
257
+ "data-testid": testID,
258
+ ...props
259
+ }
260
+ );
261
+ };
262
+ Spinner.displayName = "Spinner";
263
+
264
+ // ../primitives-web/src/Icon.tsx
265
+ var import_styled_components4 = __toESM(require("styled-components"));
266
+ var import_jsx_runtime4 = require("react/jsx-runtime");
267
+ var StyledIcon = import_styled_components4.default.div`
268
+ display: flex;
269
+ align-items: center;
270
+ justify-content: center;
271
+ width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
272
+ height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
273
+ color: ${(props) => props.color || "currentColor"};
274
+
275
+ svg {
276
+ width: 100%;
277
+ height: 100%;
278
+ fill: none;
279
+ stroke: currentColor;
280
+ }
281
+ `;
282
+
283
+ // ../primitives-web/src/Divider.tsx
284
+ var import_styled_components5 = __toESM(require("styled-components"));
285
+ var import_jsx_runtime5 = require("react/jsx-runtime");
286
+ var StyledDivider = import_styled_components5.default.div`
287
+ background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
288
+ width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
289
+ height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
290
+
291
+ ${(props) => props.dashStroke && `
292
+ border-style: dashed;
293
+ border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
294
+ border-width: 0;
295
+ ${props.vertical ? `
296
+ border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
297
+ height: 100%;
298
+ ` : `
299
+ border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
300
+ width: 100%;
301
+ `}
302
+ `}
303
+ `;
304
+
305
+ // ../primitives-web/src/Input.tsx
306
+ var import_react2 = require("react");
307
+ var import_styled_components6 = __toESM(require("styled-components"));
308
+ var import_jsx_runtime6 = require("react/jsx-runtime");
309
+ var StyledInput = import_styled_components6.default.input`
310
+ background: transparent;
311
+ border: none;
312
+ outline: none;
313
+ width: 100%;
314
+ height: 100%;
315
+ padding: 0;
316
+ margin: 0;
317
+ color: ${(props) => props.color || "inherit"};
318
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
319
+ font-family: inherit;
320
+ text-align: inherit;
321
+
322
+ &::placeholder {
323
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
324
+ }
325
+
326
+ &:disabled {
327
+ cursor: not-allowed;
328
+ }
329
+ `;
330
+ var InputPrimitive = (0, import_react2.forwardRef)(
331
+ ({
332
+ value,
333
+ placeholder,
334
+ onChange,
335
+ onChangeText,
336
+ onFocus,
337
+ onBlur,
338
+ onKeyDown,
339
+ disabled,
340
+ secureTextEntry,
341
+ style,
342
+ color,
343
+ fontSize,
344
+ placeholderTextColor,
345
+ maxLength,
346
+ name,
347
+ type,
348
+ inputMode,
349
+ autoComplete,
350
+ id,
351
+ "aria-invalid": ariaInvalid,
352
+ "aria-describedby": ariaDescribedBy,
353
+ "aria-labelledby": ariaLabelledBy,
354
+ "aria-label": ariaLabel,
355
+ "aria-disabled": ariaDisabled,
356
+ "data-testid": dataTestId,
357
+ ...rest
358
+ }, ref) => {
359
+ const handleChange = (e) => {
360
+ if (onChange) {
361
+ onChange(e);
362
+ }
363
+ if (onChangeText) {
364
+ onChangeText(e.target.value);
365
+ }
366
+ };
367
+ const inputValue = value !== void 0 ? value : "";
368
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
369
+ StyledInput,
370
+ {
371
+ ref,
372
+ id,
373
+ value: inputValue,
374
+ name,
375
+ placeholder,
376
+ onChange: handleChange,
377
+ onFocus,
378
+ onBlur,
379
+ onKeyDown,
380
+ disabled,
381
+ type: secureTextEntry ? "password" : type || "text",
382
+ inputMode,
383
+ autoComplete,
384
+ style,
385
+ color,
386
+ fontSize,
387
+ placeholderTextColor,
388
+ maxLength,
389
+ "aria-invalid": ariaInvalid,
390
+ "aria-describedby": ariaDescribedBy,
391
+ "aria-labelledby": ariaLabelledBy,
392
+ "aria-label": ariaLabel,
393
+ "aria-disabled": ariaDisabled,
394
+ "data-testid": dataTestId,
395
+ ...rest
396
+ }
397
+ );
398
+ }
399
+ );
400
+ InputPrimitive.displayName = "InputPrimitive";
401
+
402
+ // ../primitives-web/src/TextArea.tsx
403
+ var import_react3 = require("react");
404
+ var import_styled_components7 = __toESM(require("styled-components"));
405
+ var import_jsx_runtime7 = require("react/jsx-runtime");
406
+ var StyledTextArea = import_styled_components7.default.textarea`
407
+ background: transparent;
408
+ border: none;
409
+ outline: none;
410
+ width: 100%;
411
+ height: 100%;
412
+ padding: 0;
413
+ margin: 0;
414
+ color: ${(props) => props.color || "inherit"};
415
+ font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
416
+ font-family: inherit;
417
+ text-align: inherit;
418
+ resize: none;
419
+
420
+ &::placeholder {
421
+ color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
422
+ }
423
+
424
+ &:disabled {
425
+ cursor: not-allowed;
426
+ }
427
+ `;
428
+ var TextAreaPrimitive = (0, import_react3.forwardRef)(
429
+ ({
430
+ value,
431
+ placeholder,
432
+ onChangeText,
433
+ onFocus,
434
+ onBlur,
435
+ onKeyDown,
436
+ disabled,
437
+ style,
438
+ color,
439
+ fontSize,
440
+ placeholderTextColor,
441
+ maxLength,
442
+ rows
443
+ }, ref) => {
444
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
445
+ StyledTextArea,
446
+ {
447
+ ref,
448
+ value,
449
+ placeholder,
450
+ onChange: (e) => onChangeText?.(e.target.value),
451
+ onFocus,
452
+ onBlur,
453
+ onKeyDown,
454
+ disabled,
455
+ style,
456
+ color,
457
+ fontSize,
458
+ placeholderTextColor,
459
+ maxLength,
460
+ rows
461
+ }
462
+ );
463
+ }
464
+ );
465
+ TextAreaPrimitive.displayName = "TextAreaPrimitive";
466
+
467
+ // src/IconWrapper.tsx
468
+ var import_xui_core = require("@xsolla/xui-core");
469
+ var import_jsx_runtime8 = require("react/jsx-runtime");
470
+ var IconWrapper = ({
471
+ size = "m",
472
+ shape = "none",
473
+ type = "icon",
474
+ children,
475
+ backgroundColor,
476
+ borderColor
477
+ }) => {
478
+ const { theme } = (0, import_xui_core.useDesignSystem)();
479
+ const sizeConfig = theme.sizing.iconWrapper(size);
480
+ let borderRadius = 0;
481
+ if (shape === "full") {
482
+ borderRadius = 999;
483
+ } else if (shape === "smooth") {
484
+ borderRadius = Math.max(4, Math.floor(sizeConfig.size / 6));
485
+ }
486
+ const bg = backgroundColor || (shape === "none" ? "transparent" : theme.colors.background.secondary);
487
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
488
+ Box,
489
+ {
490
+ width: sizeConfig.size,
491
+ height: sizeConfig.size,
492
+ borderRadius,
493
+ backgroundColor: bg,
494
+ alignItems: "center",
495
+ justifyContent: "center",
496
+ overflow: "hidden",
497
+ borderColor,
498
+ borderWidth: borderColor ? 1 : 0,
499
+ position: "relative",
500
+ children
501
+ }
502
+ );
503
+ };
504
+ // Annotate the CommonJS export names for ESM import in node:
505
+ 0 && (module.exports = {
506
+ IconWrapper
507
+ });
508
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.tsx","../../../primitives-web/src/Box.tsx","../../../primitives-web/src/Text.tsx","../../../primitives-web/src/Spinner.tsx","../../../primitives-web/src/Icon.tsx","../../../primitives-web/src/Divider.tsx","../../../primitives-web/src/Input.tsx","../../../primitives-web/src/TextArea.tsx","../../src/IconWrapper.tsx"],"sourcesContent":["export * from \"./IconWrapper\";\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport type { BoxProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledBox = styled.div<BoxProps>`\n display: flex;\n box-sizing: border-box;\n background-color: ${(props) => props.backgroundColor || \"transparent\"};\n border-color: ${(props) => props.borderColor || \"transparent\"};\n border-width: ${(props) =>\n typeof props.borderWidth === \"number\"\n ? `${props.borderWidth}px`\n : props.borderWidth || 0};\n\n ${(props) =>\n props.borderBottomWidth !== undefined &&\n `\n border-bottom-width: ${typeof props.borderBottomWidth === \"number\" ? `${props.borderBottomWidth}px` : props.borderBottomWidth};\n border-bottom-color: ${props.borderBottomColor || props.borderColor || \"transparent\"};\n border-bottom-style: solid;\n `}\n ${(props) =>\n props.borderTopWidth !== undefined &&\n `\n border-top-width: ${typeof props.borderTopWidth === \"number\" ? `${props.borderTopWidth}px` : props.borderTopWidth};\n border-top-color: ${props.borderTopColor || props.borderColor || \"transparent\"};\n border-top-style: solid;\n `}\n ${(props) =>\n props.borderLeftWidth !== undefined &&\n `\n border-left-width: ${typeof props.borderLeftWidth === \"number\" ? `${props.borderLeftWidth}px` : props.borderLeftWidth};\n border-left-color: ${props.borderLeftColor || props.borderColor || \"transparent\"};\n border-left-style: solid;\n `}\n ${(props) =>\n props.borderRightWidth !== undefined &&\n `\n border-right-width: ${typeof props.borderRightWidth === \"number\" ? `${props.borderRightWidth}px` : props.borderRightWidth};\n border-right-color: ${props.borderRightColor || props.borderColor || \"transparent\"};\n border-right-style: solid;\n `}\n\n border-style: ${(props) =>\n props.borderStyle ||\n (props.borderWidth ||\n props.borderBottomWidth ||\n props.borderTopWidth ||\n props.borderLeftWidth ||\n props.borderRightWidth\n ? \"solid\"\n : \"none\")};\n border-radius: ${(props) =>\n typeof props.borderRadius === \"number\"\n ? `${props.borderRadius}px`\n : props.borderRadius || 0};\n height: ${(props) =>\n typeof props.height === \"number\"\n ? `${props.height}px`\n : props.height || \"auto\"};\n width: ${(props) =>\n typeof props.width === \"number\"\n ? `${props.width}px`\n : props.width || \"auto\"};\n min-width: ${(props) =>\n typeof props.minWidth === \"number\"\n ? `${props.minWidth}px`\n : props.minWidth || \"auto\"};\n min-height: ${(props) =>\n typeof props.minHeight === \"number\"\n ? `${props.minHeight}px`\n : props.minHeight || \"auto\"};\n\n padding: ${(props) =>\n typeof props.padding === \"number\"\n ? `${props.padding}px`\n : props.padding || 0};\n ${(props) =>\n props.paddingHorizontal &&\n `\n padding-left: ${typeof props.paddingHorizontal === \"number\" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};\n padding-right: ${typeof props.paddingHorizontal === \"number\" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};\n `}\n ${(props) =>\n props.paddingVertical &&\n `\n padding-top: ${typeof props.paddingVertical === \"number\" ? `${props.paddingVertical}px` : props.paddingVertical};\n padding-bottom: ${typeof props.paddingVertical === \"number\" ? `${props.paddingVertical}px` : props.paddingVertical};\n `}\n ${(props) =>\n props.paddingTop !== undefined &&\n `padding-top: ${typeof props.paddingTop === \"number\" ? `${props.paddingTop}px` : props.paddingTop};`}\n ${(props) =>\n props.paddingBottom !== undefined &&\n `padding-bottom: ${typeof props.paddingBottom === \"number\" ? `${props.paddingBottom}px` : props.paddingBottom};`}\n ${(props) =>\n props.paddingLeft !== undefined &&\n `padding-left: ${typeof props.paddingLeft === \"number\" ? `${props.paddingLeft}px` : props.paddingLeft};`}\n ${(props) =>\n props.paddingRight !== undefined &&\n `padding-right: ${typeof props.paddingRight === \"number\" ? `${props.paddingRight}px` : props.paddingRight};`}\n\n margin: ${(props) =>\n typeof props.margin === \"number\" ? `${props.margin}px` : props.margin || 0};\n ${(props) =>\n props.marginTop !== undefined &&\n `margin-top: ${typeof props.marginTop === \"number\" ? `${props.marginTop}px` : props.marginTop};`}\n ${(props) =>\n props.marginBottom !== undefined &&\n `margin-bottom: ${typeof props.marginBottom === \"number\" ? `${props.marginBottom}px` : props.marginBottom};`}\n ${(props) =>\n props.marginLeft !== undefined &&\n `margin-left: ${typeof props.marginLeft === \"number\" ? `${props.marginLeft}px` : props.marginLeft};`}\n ${(props) =>\n props.marginRight !== undefined &&\n `margin-right: ${typeof props.marginRight === \"number\" ? `${props.marginRight}px` : props.marginRight};`}\n\n flex-direction: ${(props) => props.flexDirection || \"column\"};\n flex-wrap: ${(props) => props.flexWrap || \"nowrap\"};\n align-items: ${(props) => props.alignItems || \"stretch\"};\n justify-content: ${(props) => props.justifyContent || \"flex-start\"};\n cursor: ${(props) =>\n props.cursor\n ? props.cursor\n : props.onClick || props.onPress\n ? \"pointer\"\n : \"inherit\"};\n position: ${(props) => props.position || \"static\"};\n top: ${(props) =>\n typeof props.top === \"number\" ? `${props.top}px` : props.top};\n bottom: ${(props) =>\n typeof props.bottom === \"number\" ? `${props.bottom}px` : props.bottom};\n left: ${(props) =>\n typeof props.left === \"number\" ? `${props.left}px` : props.left};\n right: ${(props) =>\n typeof props.right === \"number\" ? `${props.right}px` : props.right};\n flex: ${(props) => props.flex};\n flex-shrink: ${(props) => props.flexShrink ?? 1};\n gap: ${(props) =>\n typeof props.gap === \"number\" ? `${props.gap}px` : props.gap || 0};\n align-self: ${(props) => props.alignSelf || \"auto\"};\n overflow: ${(props) => props.overflow || \"visible\"};\n overflow-x: ${(props) => props.overflowX || \"visible\"};\n overflow-y: ${(props) => props.overflowY || \"visible\"};\n z-index: ${(props) => props.zIndex};\n opacity: ${(props) => (props.disabled ? 0.5 : 1)};\n pointer-events: ${(props) => (props.disabled ? \"none\" : \"auto\")};\n\n &:hover {\n ${(props) =>\n props.hoverStyle?.backgroundColor &&\n `background-color: ${props.hoverStyle.backgroundColor};`}\n ${(props) =>\n props.hoverStyle?.borderColor &&\n `border-color: ${props.hoverStyle.borderColor};`}\n }\n\n &:active {\n ${(props) =>\n props.pressStyle?.backgroundColor &&\n `background-color: ${props.pressStyle.backgroundColor};`}\n }\n`;\n\nexport const Box = React.forwardRef<\n HTMLDivElement | HTMLButtonElement,\n BoxProps\n>(\n (\n {\n children,\n onPress,\n onKeyDown,\n onKeyUp,\n role,\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-current\": ariaCurrent,\n \"aria-disabled\": ariaDisabled,\n \"aria-live\": ariaLive,\n \"aria-busy\": ariaBusy,\n \"aria-describedby\": ariaDescribedBy,\n \"aria-expanded\": ariaExpanded,\n \"aria-haspopup\": ariaHasPopup,\n \"aria-pressed\": ariaPressed,\n \"aria-controls\": ariaControls,\n tabIndex,\n as,\n src,\n alt,\n type,\n disabled,\n id,\n ...props\n },\n ref\n ) => {\n // Handle as=\"img\" for rendering images with proper border-radius\n if (as === \"img\" && src) {\n return (\n <img\n src={src}\n alt={alt || \"\"}\n style={{\n display: \"block\",\n objectFit: \"cover\",\n width:\n typeof props.width === \"number\"\n ? `${props.width}px`\n : props.width,\n height:\n typeof props.height === \"number\"\n ? `${props.height}px`\n : props.height,\n borderRadius:\n typeof props.borderRadius === \"number\"\n ? `${props.borderRadius}px`\n : props.borderRadius,\n position: props.position,\n top: typeof props.top === \"number\" ? `${props.top}px` : props.top,\n left:\n typeof props.left === \"number\" ? `${props.left}px` : props.left,\n right:\n typeof props.right === \"number\"\n ? `${props.right}px`\n : props.right,\n bottom:\n typeof props.bottom === \"number\"\n ? `${props.bottom}px`\n : props.bottom,\n }}\n />\n );\n }\n\n return (\n <StyledBox\n ref={ref}\n as={as}\n id={id}\n type={as === \"button\" ? type || \"button\" : undefined}\n disabled={as === \"button\" ? disabled : undefined}\n onClick={onPress}\n onKeyDown={onKeyDown}\n onKeyUp={onKeyUp}\n role={role}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n aria-current={ariaCurrent}\n aria-disabled={ariaDisabled}\n aria-busy={ariaBusy}\n aria-describedby={ariaDescribedBy}\n aria-expanded={ariaExpanded}\n aria-haspopup={ariaHasPopup}\n aria-pressed={ariaPressed}\n aria-controls={ariaControls}\n aria-live={ariaLive}\n tabIndex={tabIndex !== undefined ? tabIndex : undefined}\n {...props}\n >\n {children}\n </StyledBox>\n );\n }\n);\n\nBox.displayName = \"Box\";\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { TextProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledText = styled.span<TextProps>`\n color: ${(props) => props.color || \"inherit\"};\n font-size: ${(props) =>\n typeof props.fontSize === \"number\"\n ? `${props.fontSize}px`\n : props.fontSize || \"inherit\"};\n font-weight: ${(props) => props.fontWeight || \"normal\"};\n font-family: ${(props) =>\n props.fontFamily ||\n '\"Pilat Wide Bold\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif !important'};\n line-height: ${(props) =>\n typeof props.lineHeight === \"number\"\n ? `${props.lineHeight}px`\n : props.lineHeight || \"inherit\"};\n white-space: ${(props) => props.whiteSpace || \"normal\"};\n text-align: ${(props) => props.textAlign || \"inherit\"};\n text-decoration: ${(props) => props.textDecoration || \"none\"};\n`;\n\nexport const Text: React.FC<TextProps> = ({\n style,\n className,\n id,\n role,\n ...props\n}) => {\n return (\n <StyledText\n {...props}\n style={style}\n className={className}\n id={id}\n role={role}\n />\n );\n};\n","import React from \"react\";\nimport styled, { keyframes } from \"styled-components\";\nimport type { SpinnerProps } from \"@xsolla/xui-primitives-core\";\n\nconst rotate = keyframes`\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n`;\n\nconst StyledSpinner = styled.div<SpinnerProps>`\n width: ${(props) =>\n typeof props.size === \"number\" ? `${props.size}px` : props.size || \"24px\"};\n height: ${(props) =>\n typeof props.size === \"number\" ? `${props.size}px` : props.size || \"24px\"};\n border: ${(props) => props.strokeWidth || 2}px solid\n ${(props) => props.color || \"currentColor\"};\n border-bottom-color: transparent;\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: ${rotate} 1s linear infinite;\n`;\n\nexport const Spinner: React.FC<SpinnerProps> = ({\n role = \"status\",\n \"aria-label\": ariaLabel,\n \"aria-live\": ariaLive = \"polite\",\n \"aria-describedby\": ariaDescribedBy,\n testID,\n ...props\n}) => {\n return (\n <StyledSpinner\n role={role}\n aria-label={ariaLabel}\n aria-live={ariaLive}\n aria-describedby={ariaDescribedBy}\n data-testid={testID}\n {...props}\n />\n );\n};\n\nSpinner.displayName = \"Spinner\";\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { IconProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledIcon = styled.div<IconProps>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: ${(props) =>\n typeof props.size === \"number\" ? `${props.size}px` : props.size || \"24px\"};\n height: ${(props) =>\n typeof props.size === \"number\" ? `${props.size}px` : props.size || \"24px\"};\n color: ${(props) => props.color || \"currentColor\"};\n\n svg {\n width: 100%;\n height: 100%;\n fill: none;\n stroke: currentColor;\n }\n`;\n\nexport const Icon: React.FC<IconProps> = ({ children, ...props }) => {\n return <StyledIcon {...props}>{children}</StyledIcon>;\n};\n","import React from \"react\";\nimport styled from \"styled-components\";\nimport { DividerProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledDivider = styled.div<DividerProps>`\n background-color: ${(props) =>\n props.dashStroke\n ? \"transparent\"\n : props.color || \"rgba(255, 255, 255, 0.15)\"};\n width: ${(props) =>\n props.vertical\n ? typeof props.width === \"number\"\n ? `${props.width}px`\n : props.width || \"1px\"\n : \"100%\"};\n height: ${(props) =>\n props.vertical\n ? \"100%\"\n : typeof props.height === \"number\"\n ? `${props.height}px`\n : props.height || \"1px\"};\n\n ${(props) =>\n props.dashStroke &&\n `\n border-style: dashed;\n border-color: ${props.color || \"rgba(255, 255, 255, 0.15)\"};\n border-width: 0;\n ${\n props.vertical\n ? `\n border-left-width: ${typeof props.width === \"number\" ? `${props.width}px` : props.width || \"1px\"};\n height: 100%;\n `\n : `\n border-top-width: ${typeof props.height === \"number\" ? `${props.height}px` : props.height || \"1px\"};\n width: 100%;\n `\n }\n `}\n`;\n\nexport const Divider: React.FC<DividerProps> = (props) => {\n return <StyledDivider {...props} />;\n};\n","import React, { forwardRef } from \"react\";\nimport styled from \"styled-components\";\nimport { InputPrimitiveProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledInput = styled.input<InputPrimitiveProps>`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n color: ${(props) => props.color || \"inherit\"};\n font-size: ${(props) =>\n typeof props.fontSize === \"number\"\n ? `${props.fontSize}px`\n : props.fontSize || \"inherit\"};\n font-family: inherit;\n text-align: inherit;\n\n &::placeholder {\n color: ${(props) =>\n props.placeholderTextColor || \"rgba(255, 255, 255, 0.5)\"};\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n`;\n\nexport const InputPrimitive = forwardRef<HTMLInputElement, InputPrimitiveProps>(\n (\n {\n value,\n placeholder,\n onChange,\n onChangeText,\n onFocus,\n onBlur,\n onKeyDown,\n disabled,\n secureTextEntry,\n style,\n color,\n fontSize,\n placeholderTextColor,\n maxLength,\n name,\n type,\n inputMode,\n autoComplete,\n id,\n \"aria-invalid\": ariaInvalid,\n \"aria-describedby\": ariaDescribedBy,\n \"aria-labelledby\": ariaLabelledBy,\n \"aria-label\": ariaLabel,\n \"aria-disabled\": ariaDisabled,\n \"data-testid\": dataTestId,\n ...rest\n },\n ref\n ) => {\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (onChange) {\n onChange(e);\n }\n if (onChangeText) {\n onChangeText(e.target.value);\n }\n };\n\n // Always pass value to make it a controlled input\n const inputValue = value !== undefined ? value : \"\";\n\n return (\n <StyledInput\n ref={ref}\n id={id}\n value={inputValue}\n name={name}\n placeholder={placeholder}\n onChange={handleChange}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n disabled={disabled}\n type={secureTextEntry ? \"password\" : type || \"text\"}\n inputMode={inputMode}\n autoComplete={autoComplete}\n style={style}\n color={color}\n fontSize={fontSize}\n placeholderTextColor={placeholderTextColor}\n maxLength={maxLength}\n aria-invalid={ariaInvalid}\n aria-describedby={ariaDescribedBy}\n aria-labelledby={ariaLabelledBy}\n aria-label={ariaLabel}\n aria-disabled={ariaDisabled}\n data-testid={dataTestId}\n {...rest}\n />\n );\n }\n);\n\nInputPrimitive.displayName = \"InputPrimitive\";\n","import React, { forwardRef } from \"react\";\nimport styled from \"styled-components\";\nimport { TextAreaPrimitiveProps } from \"@xsolla/xui-primitives-core\";\n\nconst StyledTextArea = styled.textarea<TextAreaPrimitiveProps>`\n background: transparent;\n border: none;\n outline: none;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n color: ${(props) => props.color || \"inherit\"};\n font-size: ${(props) =>\n typeof props.fontSize === \"number\"\n ? `${props.fontSize}px`\n : props.fontSize || \"inherit\"};\n font-family: inherit;\n text-align: inherit;\n resize: none;\n\n &::placeholder {\n color: ${(props) =>\n props.placeholderTextColor || \"rgba(255, 255, 255, 0.5)\"};\n }\n\n &:disabled {\n cursor: not-allowed;\n }\n`;\n\nexport const TextAreaPrimitive = forwardRef<\n HTMLTextAreaElement,\n TextAreaPrimitiveProps\n>(\n (\n {\n value,\n placeholder,\n onChangeText,\n onFocus,\n onBlur,\n onKeyDown,\n disabled,\n style,\n color,\n fontSize,\n placeholderTextColor,\n maxLength,\n rows,\n },\n ref\n ) => {\n return (\n <StyledTextArea\n ref={ref}\n value={value}\n placeholder={placeholder}\n onChange={(e) => onChangeText?.(e.target.value)}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyDown={onKeyDown}\n disabled={disabled}\n style={style}\n color={color}\n fontSize={fontSize}\n placeholderTextColor={placeholderTextColor}\n maxLength={maxLength}\n rows={rows}\n />\n );\n }\n);\n\nTextAreaPrimitive.displayName = \"TextAreaPrimitive\";\n","import React from \"react\";\n// @ts-ignore - this will be resolved at build time\nimport { Box } from \"@xsolla/xui-primitives\";\nimport { useDesignSystem } from \"@xsolla/xui-core\";\n\nexport interface IconWrapperProps {\n /** Size of the wrapper */\n size?: \"xl\" | \"l\" | \"m\" | \"s\" | \"xs\" | \"xxs\";\n /** Shape of the wrapper */\n shape?: \"none\" | \"full\" | \"smooth\";\n /** Type of content being wrapped. Affects default styling. */\n type?: \"icon\" | \"label\" | \"image\" | \"avatar\" | \"brand\" | \"custom\";\n /** Children to be rendered inside the wrapper */\n children?: React.ReactNode;\n /** Background color override */\n backgroundColor?: string;\n /** Border color override */\n borderColor?: string;\n}\n\n/**\n * A universal container component used to display small visual elements in a consistent and scalable way.\n * It ensures uniform sizing, alignment, and shapes across different types of content.\n */\nexport const IconWrapper: React.FC<IconWrapperProps> = ({\n size = \"m\",\n shape = \"none\",\n type = \"icon\",\n children,\n backgroundColor,\n borderColor,\n}) => {\n const { theme } = useDesignSystem();\n\n // @ts-ignore\n const sizeConfig = theme.sizing.iconWrapper(size);\n\n let borderRadius = 0;\n if (shape === \"full\") {\n borderRadius = 999;\n } else if (shape === \"smooth\") {\n // \"Smooth\" is slightly rounded. We use a relative radius based on size.\n borderRadius = Math.max(4, Math.floor(sizeConfig.size / 6));\n }\n\n const bg =\n backgroundColor ||\n (shape === \"none\" ? \"transparent\" : theme.colors.background.secondary);\n\n return (\n <Box\n width={sizeConfig.size}\n height={sizeConfig.size}\n borderRadius={borderRadius}\n backgroundColor={bg}\n alignItems=\"center\"\n justifyContent=\"center\"\n overflow=\"hidden\"\n borderColor={borderColor}\n borderWidth={borderColor ? 1 : 0}\n position=\"relative\"\n >\n {children}\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAAkB;AAClB,+BAAmB;AAuMX;AApMR,IAAM,YAAY,yBAAAA,QAAO;AAAA;AAAA;AAAA,sBAGH,CAAC,UAAU,MAAM,mBAAmB,aAAa;AAAA,kBACrD,CAAC,UAAU,MAAM,eAAe,aAAa;AAAA,kBAC7C,CAAC,UACf,OAAO,MAAM,gBAAgB,WACzB,GAAG,MAAM,WAAW,OACpB,MAAM,eAAe,CAAC;AAAA;AAAA,IAE1B,CAAC,UACD,MAAM,sBAAsB,UAC5B;AAAA,2BACuB,OAAO,M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,MACjB,YAAW;AAAA,MACX,gBAAe;AAAA,MACf,UAAS;AAAA,MACT;AAAA,MACA,aAAa,cAAc,IAAI;AAAA,MAC/B,UAAS;AAAA,MAER;AAAA;AAAA,EACH;AAEJ;","names":["styled","React","import_styled_components","import_jsx_runtime","styled","import_styled_components","import_jsx_runtime","styled","import_styled_components","import_jsx_runtime","styled","import_styled_components","import_jsx_runtime","styled","import_react","import_styled_components","import_jsx_runtime","styled","import_react","import_styled_components","import_jsx_runtime","styled","import_jsx_runtime"]}