@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.
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+
3
+ interface IconWrapperProps {
4
+ /** Size of the wrapper */
5
+ size?: "xl" | "l" | "m" | "s" | "xs" | "xxs";
6
+ /** Shape of the wrapper */
7
+ shape?: "none" | "full" | "smooth";
8
+ /** Type of content being wrapped. Affects default styling. */
9
+ type?: "icon" | "label" | "image" | "avatar" | "brand" | "custom";
10
+ /** Children to be rendered inside the wrapper */
11
+ children?: React.ReactNode;
12
+ /** Background color override */
13
+ backgroundColor?: string;
14
+ /** Border color override */
15
+ borderColor?: string;
16
+ }
17
+ /**
18
+ * A universal container component used to display small visual elements in a consistent and scalable way.
19
+ * It ensures uniform sizing, alignment, and shapes across different types of content.
20
+ */
21
+ declare const IconWrapper: React.FC<IconWrapperProps>;
22
+
23
+ export { IconWrapper, type IconWrapperProps };
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+
3
+ interface IconWrapperProps {
4
+ /** Size of the wrapper */
5
+ size?: "xl" | "l" | "m" | "s" | "xs" | "xxs";
6
+ /** Shape of the wrapper */
7
+ shape?: "none" | "full" | "smooth";
8
+ /** Type of content being wrapped. Affects default styling. */
9
+ type?: "icon" | "label" | "image" | "avatar" | "brand" | "custom";
10
+ /** Children to be rendered inside the wrapper */
11
+ children?: React.ReactNode;
12
+ /** Background color override */
13
+ backgroundColor?: string;
14
+ /** Border color override */
15
+ borderColor?: string;
16
+ }
17
+ /**
18
+ * A universal container component used to display small visual elements in a consistent and scalable way.
19
+ * It ensures uniform sizing, alignment, and shapes across different types of content.
20
+ */
21
+ declare const IconWrapper: React.FC<IconWrapperProps>;
22
+
23
+ export { IconWrapper, type IconWrapperProps };
@@ -0,0 +1,507 @@
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-native/src/Box.tsx
38
+ var import_react_native = require("react-native");
39
+ var import_jsx_runtime = require("react/jsx-runtime");
40
+ var Box = ({
41
+ children,
42
+ onPress,
43
+ onLayout,
44
+ onMoveShouldSetResponder,
45
+ onResponderGrant,
46
+ onResponderMove,
47
+ onResponderRelease,
48
+ onResponderTerminate,
49
+ backgroundColor,
50
+ borderColor,
51
+ borderWidth,
52
+ borderBottomWidth,
53
+ borderBottomColor,
54
+ borderTopWidth,
55
+ borderTopColor,
56
+ borderLeftWidth,
57
+ borderLeftColor,
58
+ borderRightWidth,
59
+ borderRightColor,
60
+ borderRadius,
61
+ borderStyle,
62
+ height,
63
+ padding,
64
+ paddingHorizontal,
65
+ paddingVertical,
66
+ margin,
67
+ marginTop,
68
+ marginBottom,
69
+ marginLeft,
70
+ marginRight,
71
+ flexDirection,
72
+ alignItems,
73
+ justifyContent,
74
+ position,
75
+ top,
76
+ bottom,
77
+ left,
78
+ right,
79
+ width,
80
+ flex,
81
+ overflow,
82
+ zIndex,
83
+ hoverStyle,
84
+ pressStyle,
85
+ style,
86
+ "data-testid": dataTestId,
87
+ testID,
88
+ as,
89
+ src,
90
+ alt,
91
+ ...rest
92
+ }) => {
93
+ const getContainerStyle = (pressed) => ({
94
+ backgroundColor: pressed && pressStyle?.backgroundColor ? pressStyle.backgroundColor : backgroundColor,
95
+ borderColor,
96
+ borderWidth,
97
+ borderBottomWidth,
98
+ borderBottomColor,
99
+ borderTopWidth,
100
+ borderTopColor,
101
+ borderLeftWidth,
102
+ borderLeftColor,
103
+ borderRightWidth,
104
+ borderRightColor,
105
+ borderRadius,
106
+ borderStyle,
107
+ overflow,
108
+ zIndex,
109
+ height,
110
+ width,
111
+ padding,
112
+ paddingHorizontal,
113
+ paddingVertical,
114
+ margin,
115
+ marginTop,
116
+ marginBottom,
117
+ marginLeft,
118
+ marginRight,
119
+ flexDirection,
120
+ alignItems,
121
+ justifyContent,
122
+ position,
123
+ top,
124
+ bottom,
125
+ left,
126
+ right,
127
+ flex,
128
+ ...style
129
+ });
130
+ const finalTestID = dataTestId || testID;
131
+ const {
132
+ role,
133
+ tabIndex,
134
+ onKeyDown,
135
+ onKeyUp,
136
+ "aria-label": _ariaLabel,
137
+ "aria-labelledby": _ariaLabelledBy,
138
+ "aria-current": _ariaCurrent,
139
+ "aria-disabled": _ariaDisabled,
140
+ "aria-live": _ariaLive,
141
+ className,
142
+ "data-testid": _dataTestId,
143
+ ...nativeRest
144
+ } = rest;
145
+ if (as === "img" && src) {
146
+ const imageStyle = {
147
+ width,
148
+ height,
149
+ borderRadius,
150
+ position,
151
+ top,
152
+ bottom,
153
+ left,
154
+ right,
155
+ ...style
156
+ };
157
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
158
+ import_react_native.Image,
159
+ {
160
+ source: { uri: src },
161
+ style: imageStyle,
162
+ testID: finalTestID,
163
+ resizeMode: "cover",
164
+ ...nativeRest
165
+ }
166
+ );
167
+ }
168
+ if (onPress) {
169
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
170
+ import_react_native.Pressable,
171
+ {
172
+ onPress,
173
+ onLayout,
174
+ onMoveShouldSetResponder,
175
+ onResponderGrant,
176
+ onResponderMove,
177
+ onResponderRelease,
178
+ onResponderTerminate,
179
+ style: ({ pressed }) => getContainerStyle(pressed),
180
+ testID: finalTestID,
181
+ ...nativeRest,
182
+ children
183
+ }
184
+ );
185
+ }
186
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
187
+ import_react_native.View,
188
+ {
189
+ style: getContainerStyle(),
190
+ testID: finalTestID,
191
+ onLayout,
192
+ onMoveShouldSetResponder,
193
+ onResponderGrant,
194
+ onResponderMove,
195
+ onResponderRelease,
196
+ onResponderTerminate,
197
+ ...nativeRest,
198
+ children
199
+ }
200
+ );
201
+ };
202
+
203
+ // ../primitives-native/src/Text.tsx
204
+ var import_react_native2 = require("react-native");
205
+ var import_jsx_runtime2 = require("react/jsx-runtime");
206
+
207
+ // ../primitives-native/src/Spinner.tsx
208
+ var import_react_native3 = require("react-native");
209
+ var import_jsx_runtime3 = require("react/jsx-runtime");
210
+ var Spinner = ({
211
+ color,
212
+ size,
213
+ role,
214
+ "aria-label": ariaLabel,
215
+ "aria-live": ariaLive,
216
+ "aria-describedby": ariaDescribedBy,
217
+ testID
218
+ }) => {
219
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
220
+ import_react_native3.View,
221
+ {
222
+ accessible: true,
223
+ accessibilityRole: role === "status" ? "none" : void 0,
224
+ accessibilityLabel: ariaLabel,
225
+ accessibilityLiveRegion: ariaLive === "polite" ? "polite" : ariaLive === "assertive" ? "assertive" : "none",
226
+ testID,
227
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
228
+ import_react_native3.ActivityIndicator,
229
+ {
230
+ color,
231
+ size: typeof size === "number" ? size : "small"
232
+ }
233
+ )
234
+ }
235
+ );
236
+ };
237
+ Spinner.displayName = "Spinner";
238
+
239
+ // ../primitives-native/src/Icon.tsx
240
+ var import_react = __toESM(require("react"));
241
+ var import_react_native4 = require("react-native");
242
+ var import_jsx_runtime4 = require("react/jsx-runtime");
243
+
244
+ // ../primitives-native/src/Divider.tsx
245
+ var import_react_native5 = require("react-native");
246
+ var import_jsx_runtime5 = require("react/jsx-runtime");
247
+
248
+ // ../primitives-native/src/Input.tsx
249
+ var import_react2 = require("react");
250
+ var import_react_native6 = require("react-native");
251
+ var import_jsx_runtime6 = require("react/jsx-runtime");
252
+ var keyboardTypeMap = {
253
+ text: "default",
254
+ number: "numeric",
255
+ email: "email-address",
256
+ tel: "phone-pad",
257
+ url: "url",
258
+ decimal: "decimal-pad"
259
+ };
260
+ var inputModeToKeyboardType = {
261
+ none: "default",
262
+ text: "default",
263
+ decimal: "decimal-pad",
264
+ numeric: "number-pad",
265
+ tel: "phone-pad",
266
+ search: "default",
267
+ email: "email-address",
268
+ url: "url"
269
+ };
270
+ var autoCompleteToTextContentType = {
271
+ "one-time-code": "oneTimeCode",
272
+ email: "emailAddress",
273
+ username: "username",
274
+ password: "password",
275
+ "new-password": "newPassword",
276
+ tel: "telephoneNumber",
277
+ "postal-code": "postalCode",
278
+ name: "name"
279
+ };
280
+ var InputPrimitive = (0, import_react2.forwardRef)(
281
+ ({
282
+ value,
283
+ placeholder,
284
+ onChange,
285
+ onChangeText,
286
+ onFocus,
287
+ onBlur,
288
+ onKeyDown,
289
+ disabled,
290
+ secureTextEntry,
291
+ style,
292
+ color,
293
+ fontSize,
294
+ placeholderTextColor,
295
+ maxLength,
296
+ name,
297
+ type,
298
+ inputMode,
299
+ autoComplete,
300
+ id,
301
+ "aria-invalid": ariaInvalid,
302
+ "aria-describedby": ariaDescribedBy,
303
+ "aria-labelledby": ariaLabelledBy,
304
+ "aria-label": ariaLabel,
305
+ "aria-disabled": ariaDisabled,
306
+ "data-testid": dataTestId
307
+ }, ref) => {
308
+ const handleChangeText = (text) => {
309
+ onChangeText?.(text);
310
+ if (onChange) {
311
+ const syntheticEvent = {
312
+ target: { value: text },
313
+ currentTarget: { value: text },
314
+ type: "change",
315
+ nativeEvent: { text },
316
+ preventDefault: () => {
317
+ },
318
+ stopPropagation: () => {
319
+ },
320
+ isTrusted: false
321
+ };
322
+ onChange(syntheticEvent);
323
+ }
324
+ };
325
+ const keyboardType = inputMode ? inputModeToKeyboardType[inputMode] || "default" : type ? keyboardTypeMap[type] || "default" : "default";
326
+ const textContentType = autoComplete ? autoCompleteToTextContentType[autoComplete] : void 0;
327
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
328
+ import_react_native6.TextInput,
329
+ {
330
+ ref,
331
+ value,
332
+ placeholder,
333
+ onChangeText: handleChangeText,
334
+ onFocus,
335
+ onBlur,
336
+ onKeyPress: (e) => {
337
+ if (onKeyDown) {
338
+ onKeyDown({
339
+ key: e.nativeEvent.key,
340
+ preventDefault: () => {
341
+ }
342
+ });
343
+ }
344
+ },
345
+ editable: !disabled,
346
+ secureTextEntry: secureTextEntry || type === "password",
347
+ keyboardType,
348
+ textContentType,
349
+ style: [
350
+ {
351
+ color,
352
+ fontSize: typeof fontSize === "number" ? fontSize : void 0,
353
+ flex: 1,
354
+ padding: 0,
355
+ textAlign: style?.textAlign || "left"
356
+ },
357
+ style
358
+ ],
359
+ placeholderTextColor,
360
+ maxLength,
361
+ testID: dataTestId || id,
362
+ accessibilityLabel: ariaLabel,
363
+ accessibilityHint: ariaDescribedBy,
364
+ accessibilityState: {
365
+ disabled: disabled || ariaDisabled
366
+ },
367
+ accessible: true
368
+ }
369
+ );
370
+ }
371
+ );
372
+ InputPrimitive.displayName = "InputPrimitive";
373
+
374
+ // ../primitives-native/src/TextArea.tsx
375
+ var import_react3 = require("react");
376
+ var import_react_native7 = require("react-native");
377
+ var import_jsx_runtime7 = require("react/jsx-runtime");
378
+ var TextAreaPrimitive = (0, import_react3.forwardRef)(
379
+ ({
380
+ value,
381
+ placeholder,
382
+ onChange,
383
+ onChangeText,
384
+ onFocus,
385
+ onBlur,
386
+ onKeyDown,
387
+ disabled,
388
+ style,
389
+ color,
390
+ fontSize,
391
+ placeholderTextColor,
392
+ maxLength,
393
+ rows,
394
+ id,
395
+ "aria-invalid": ariaInvalid,
396
+ "aria-describedby": ariaDescribedBy,
397
+ "aria-labelledby": ariaLabelledBy,
398
+ "aria-label": ariaLabel,
399
+ "aria-disabled": ariaDisabled,
400
+ "data-testid": dataTestId
401
+ }, ref) => {
402
+ const handleChangeText = (text) => {
403
+ onChangeText?.(text);
404
+ if (onChange) {
405
+ const syntheticEvent = {
406
+ target: { value: text },
407
+ currentTarget: { value: text },
408
+ type: "change",
409
+ nativeEvent: { text },
410
+ preventDefault: () => {
411
+ },
412
+ stopPropagation: () => {
413
+ },
414
+ isTrusted: false
415
+ };
416
+ onChange(syntheticEvent);
417
+ }
418
+ };
419
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
420
+ import_react_native7.TextInput,
421
+ {
422
+ ref,
423
+ value,
424
+ placeholder,
425
+ onChangeText: handleChangeText,
426
+ onFocus,
427
+ onBlur,
428
+ onKeyPress: (e) => {
429
+ if (onKeyDown) {
430
+ onKeyDown({
431
+ key: e.nativeEvent.key,
432
+ preventDefault: () => {
433
+ }
434
+ });
435
+ }
436
+ },
437
+ editable: !disabled,
438
+ multiline: true,
439
+ numberOfLines: rows || 4,
440
+ style: [
441
+ {
442
+ color,
443
+ fontSize: typeof fontSize === "number" ? fontSize : void 0,
444
+ flex: 1,
445
+ padding: 0,
446
+ textAlignVertical: "top",
447
+ textAlign: style?.textAlign || "left"
448
+ },
449
+ style
450
+ ],
451
+ placeholderTextColor,
452
+ maxLength,
453
+ testID: dataTestId || id,
454
+ accessibilityLabel: ariaLabel,
455
+ accessibilityHint: ariaDescribedBy,
456
+ accessibilityState: {
457
+ disabled: disabled || ariaDisabled
458
+ },
459
+ accessible: true
460
+ }
461
+ );
462
+ }
463
+ );
464
+ TextAreaPrimitive.displayName = "TextAreaPrimitive";
465
+
466
+ // src/IconWrapper.tsx
467
+ var import_xui_core = require("@xsolla/xui-core");
468
+ var import_jsx_runtime8 = require("react/jsx-runtime");
469
+ var IconWrapper = ({
470
+ size = "m",
471
+ shape = "none",
472
+ type = "icon",
473
+ children,
474
+ backgroundColor,
475
+ borderColor
476
+ }) => {
477
+ const { theme } = (0, import_xui_core.useDesignSystem)();
478
+ const sizeConfig = theme.sizing.iconWrapper(size);
479
+ let borderRadius = 0;
480
+ if (shape === "full") {
481
+ borderRadius = 999;
482
+ } else if (shape === "smooth") {
483
+ borderRadius = Math.max(4, Math.floor(sizeConfig.size / 6));
484
+ }
485
+ const bg = backgroundColor || (shape === "none" ? "transparent" : theme.colors.background.secondary);
486
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
487
+ Box,
488
+ {
489
+ width: sizeConfig.size,
490
+ height: sizeConfig.size,
491
+ borderRadius,
492
+ backgroundColor: bg,
493
+ alignItems: "center",
494
+ justifyContent: "center",
495
+ overflow: "hidden",
496
+ borderColor,
497
+ borderWidth: borderColor ? 1 : 0,
498
+ position: "relative",
499
+ children
500
+ }
501
+ );
502
+ };
503
+ // Annotate the CommonJS export names for ESM import in node:
504
+ 0 && (module.exports = {
505
+ IconWrapper
506
+ });
507
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.tsx","../../../primitives-native/src/Box.tsx","../../../primitives-native/src/Text.tsx","../../../primitives-native/src/Spinner.tsx","../../../primitives-native/src/Icon.tsx","../../../primitives-native/src/Divider.tsx","../../../primitives-native/src/Input.tsx","../../../primitives-native/src/TextArea.tsx","../../src/IconWrapper.tsx"],"sourcesContent":["export * from \"./IconWrapper\";\n","import React from \"react\";\nimport {\n View,\n Pressable,\n Image,\n ViewStyle,\n ImageStyle,\n DimensionValue,\n AnimatableNumericValue,\n} from \"react-native\";\nimport { BoxProps } from \"@xsolla/xui-primitives-core\";\n\nexport const Box: React.FC<BoxProps> = ({\n children,\n onPress,\n onLayout,\n onMoveShouldSetResponder,\n onResponderGrant,\n onResponderMove,\n onResponderRelease,\n onResponderTerminate,\n backgroundColor,\n borderColor,\n borderWidth,\n borderBottomWidth,\n borderBottomColor,\n borderTopWidth,\n borderTopColor,\n borderLeftWidth,\n borderLeftColor,\n borderRightWidth,\n borderRightColor,\n borderRadius,\n borderStyle,\n height,\n padding,\n paddingHorizontal,\n paddingVertical,\n margin,\n marginTop,\n marginBottom,\n marginLeft,\n marginRight,\n flexDirection,\n alignItems,\n justifyContent,\n position,\n top,\n bottom,\n left,\n right,\n width,\n flex,\n overflow,\n zIndex,\n hoverStyle,\n pressStyle,\n style,\n \"data-testid\": dataTestId,\n testID,\n as,\n src,\n alt,\n ...rest\n}) => {\n const getContainerStyle = (pressed?: boolean): ViewStyle => ({\n backgroundColor:\n pressed && pressStyle?.backgroundColor\n ? pressStyle.backgroundColor\n : backgroundColor,\n borderColor,\n borderWidth,\n borderBottomWidth,\n borderBottomColor,\n borderTopWidth,\n borderTopColor,\n borderLeftWidth,\n borderLeftColor,\n borderRightWidth,\n borderRightColor,\n borderRadius: borderRadius as AnimatableNumericValue,\n borderStyle: borderStyle as ViewStyle[\"borderStyle\"],\n overflow,\n zIndex,\n height: height as DimensionValue,\n width: width as DimensionValue,\n padding: padding as DimensionValue,\n paddingHorizontal: paddingHorizontal as DimensionValue,\n paddingVertical: paddingVertical as DimensionValue,\n margin: margin as DimensionValue,\n marginTop: marginTop as DimensionValue,\n marginBottom: marginBottom as DimensionValue,\n marginLeft: marginLeft as DimensionValue,\n marginRight: marginRight as DimensionValue,\n flexDirection,\n alignItems,\n justifyContent,\n position: position as ViewStyle[\"position\"],\n top: top as DimensionValue,\n bottom: bottom as DimensionValue,\n left: left as DimensionValue,\n right: right as DimensionValue,\n flex,\n ...(style as ViewStyle),\n });\n\n const finalTestID = dataTestId || testID;\n\n // Destructure and drop web-only props from rest before passing to RN components\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const {\n role,\n tabIndex,\n onKeyDown,\n onKeyUp,\n \"aria-label\": _ariaLabel,\n \"aria-labelledby\": _ariaLabelledBy,\n \"aria-current\": _ariaCurrent,\n \"aria-disabled\": _ariaDisabled,\n \"aria-live\": _ariaLive,\n className,\n \"data-testid\": _dataTestId,\n ...nativeRest\n } = rest as Record<string, unknown>;\n\n // Handle as=\"img\" for React Native\n if (as === \"img\" && src) {\n const imageStyle: ImageStyle = {\n width: width as DimensionValue,\n height: height as DimensionValue,\n borderRadius: borderRadius as number,\n position: position as ImageStyle[\"position\"],\n top: top as DimensionValue,\n bottom: bottom as DimensionValue,\n left: left as DimensionValue,\n right: right as DimensionValue,\n ...(style as ImageStyle),\n };\n\n return (\n <Image\n source={{ uri: src }}\n style={imageStyle}\n testID={finalTestID}\n resizeMode=\"cover\"\n {...nativeRest}\n />\n );\n }\n\n if (onPress) {\n return (\n <Pressable\n onPress={onPress}\n onLayout={onLayout}\n onMoveShouldSetResponder={onMoveShouldSetResponder}\n onResponderGrant={onResponderGrant}\n onResponderMove={onResponderMove}\n onResponderRelease={onResponderRelease}\n onResponderTerminate={onResponderTerminate}\n style={({ pressed }) => getContainerStyle(pressed)}\n testID={finalTestID}\n {...nativeRest}\n >\n {children}\n </Pressable>\n );\n }\n\n return (\n <View\n style={getContainerStyle()}\n testID={finalTestID}\n onLayout={onLayout}\n onMoveShouldSetResponder={onMoveShouldSetResponder}\n onResponderGrant={onResponderGrant}\n onResponderMove={onResponderMove}\n onResponderRelease={onResponderRelease}\n onResponderTerminate={onResponderTerminate}\n {...nativeRest}\n >\n {children}\n </View>\n );\n};\n","import React from \"react\";\nimport { Text as RNText, TextStyle, AccessibilityRole } from \"react-native\";\nimport { TextProps } from \"@xsolla/xui-primitives-core\";\n\n// Map web roles to React Native accessibility roles\nconst roleMap: Record<string, AccessibilityRole> = {\n alert: \"alert\",\n heading: \"header\",\n button: \"button\",\n link: \"link\",\n text: \"text\",\n};\n\nexport const Text: React.FC<TextProps> = ({\n children,\n color,\n fontSize,\n fontWeight,\n fontFamily,\n id,\n role,\n ...props\n}) => {\n // Extract the first font name from a comma-separated list (e.g. for web-style font stacks)\n let resolvedFontFamily = fontFamily\n ? fontFamily.split(\",\")[0].replace(/['\"]/g, \"\").trim()\n : undefined;\n\n // On native, if we don't have the custom font loaded, it's better to use the system font\n // to avoid rendering issues or missing text.\n if (resolvedFontFamily === \"Pilat Wide Bold\") {\n resolvedFontFamily = undefined;\n }\n\n const style: TextStyle = {\n color,\n fontSize: typeof fontSize === \"number\" ? fontSize : undefined,\n fontWeight: fontWeight as TextStyle[\"fontWeight\"],\n fontFamily: resolvedFontFamily,\n textDecorationLine: props.textDecoration as TextStyle[\"textDecorationLine\"],\n };\n\n // Map role to React Native accessibilityRole\n const accessibilityRole = role ? roleMap[role] : undefined;\n\n return (\n <RNText style={style} testID={id} accessibilityRole={accessibilityRole}>\n {children}\n </RNText>\n );\n};\n","import type React from \"react\";\nimport { ActivityIndicator, View } from \"react-native\";\nimport type { SpinnerProps } from \"@xsolla/xui-primitives-core\";\n\nexport const Spinner: React.FC<SpinnerProps> = ({\n color,\n size,\n role,\n \"aria-label\": ariaLabel,\n \"aria-live\": ariaLive,\n \"aria-describedby\": ariaDescribedBy,\n testID,\n}) => {\n return (\n <View\n accessible={true}\n accessibilityRole={role === \"status\" ? \"none\" : undefined}\n accessibilityLabel={ariaLabel}\n accessibilityLiveRegion={\n ariaLive === \"polite\"\n ? \"polite\"\n : ariaLive === \"assertive\"\n ? \"assertive\"\n : \"none\"\n }\n testID={testID}\n >\n <ActivityIndicator\n color={color}\n size={typeof size === \"number\" ? size : \"small\"}\n />\n </View>\n );\n};\n\nSpinner.displayName = \"Spinner\";\n","import React from \"react\";\nimport { View, ViewStyle } from \"react-native\";\nimport { IconProps } from \"@xsolla/xui-primitives-core\";\n\nexport const Icon: React.FC<IconProps> = ({ children, color, size }) => {\n const style: ViewStyle = {\n width: typeof size === \"number\" ? size : undefined,\n height: typeof size === \"number\" ? size : undefined,\n alignItems: \"center\",\n justifyContent: \"center\",\n };\n\n // On native, we try to pass the color down to children (like Text primitives)\n // to mimic the CSS inheritance behavior of the web version.\n const childrenWithProps = React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n // @ts-ignore - passing color down to potential Text/Icon children\n return React.cloneElement(child, {\n color: child.props.color || color,\n // Also pass size if child seems to be an icon that needs it\n size: child.props.size || size,\n });\n }\n return child;\n });\n\n return <View style={style}>{childrenWithProps}</View>;\n};\n","import React from \"react\";\nimport { View, ViewStyle } from \"react-native\";\nimport { DividerProps } from \"@xsolla/xui-primitives-core\";\n\nexport const Divider: React.FC<DividerProps> = ({\n color,\n height,\n width,\n vertical,\n dashStroke,\n}) => {\n const style: ViewStyle = {\n backgroundColor: dashStroke\n ? \"transparent\"\n : color || \"rgba(255, 255, 255, 0.15)\",\n width: vertical ? (typeof width === \"number\" ? width : 1) : \"100%\",\n height: vertical ? \"100%\" : typeof height === \"number\" ? height : 1,\n ...(dashStroke && {\n borderStyle: \"dashed\",\n borderColor: color || \"rgba(255, 255, 255, 0.15)\",\n borderWidth: 0,\n ...(vertical\n ? { borderLeftWidth: typeof width === \"number\" ? width : 1 }\n : { borderTopWidth: typeof height === \"number\" ? height : 1 }),\n }),\n };\n\n return <View style={style} />;\n};\n","import React, { forwardRef } from \"react\";\nimport { TextInput as RNTextInput } from \"react-native\";\nimport { InputPrimitiveProps } from \"@xsolla/xui-primitives-core\";\n\n// Map web input types to React Native keyboard types\nconst keyboardTypeMap: Record<string, any> = {\n text: \"default\",\n number: \"numeric\",\n email: \"email-address\",\n tel: \"phone-pad\",\n url: \"url\",\n decimal: \"decimal-pad\",\n};\n\n// Map web inputMode to React Native keyboard types\nconst inputModeToKeyboardType: Record<string, any> = {\n none: \"default\",\n text: \"default\",\n decimal: \"decimal-pad\",\n numeric: \"number-pad\",\n tel: \"phone-pad\",\n search: \"default\",\n email: \"email-address\",\n url: \"url\",\n};\n\n// Map web autoComplete to React Native textContentType (iOS)\nconst autoCompleteToTextContentType: Record<string, any> = {\n \"one-time-code\": \"oneTimeCode\",\n email: \"emailAddress\",\n username: \"username\",\n password: \"password\",\n \"new-password\": \"newPassword\",\n tel: \"telephoneNumber\",\n \"postal-code\": \"postalCode\",\n name: \"name\",\n};\n\nexport const InputPrimitive = forwardRef<RNTextInput, 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 },\n ref\n ) => {\n const handleChangeText = (text: string) => {\n onChangeText?.(text);\n\n // Create a synthetic event for onChange compatibility\n // Include nativeEvent and no-op methods to prevent runtime errors\n // when consumers expect DOM-like event behavior\n if (onChange) {\n const syntheticEvent = {\n target: { value: text },\n currentTarget: { value: text },\n type: \"change\",\n nativeEvent: { text },\n preventDefault: () => {},\n stopPropagation: () => {},\n isTrusted: false,\n } as unknown as React.ChangeEvent<HTMLInputElement>;\n onChange(syntheticEvent);\n }\n };\n\n // Determine keyboard type - inputMode takes precedence over type\n const keyboardType = inputMode\n ? inputModeToKeyboardType[inputMode] || \"default\"\n : type\n ? keyboardTypeMap[type] || \"default\"\n : \"default\";\n\n // Determine textContentType for iOS autofill\n const textContentType = autoComplete\n ? autoCompleteToTextContentType[autoComplete]\n : undefined;\n\n return (\n <RNTextInput\n ref={ref}\n value={value}\n placeholder={placeholder}\n onChangeText={handleChangeText}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyPress={(e) => {\n // Map onKeyPress to onKeyDown for cross-platform compatibility\n // Include preventDefault to avoid runtime errors when consumers call it\n if (onKeyDown) {\n onKeyDown({\n key: e.nativeEvent.key,\n preventDefault: () => {},\n } as any);\n }\n }}\n editable={!disabled}\n secureTextEntry={secureTextEntry || type === \"password\"}\n keyboardType={keyboardType}\n textContentType={textContentType}\n style={[\n {\n color,\n fontSize: typeof fontSize === \"number\" ? fontSize : undefined,\n flex: 1,\n padding: 0,\n textAlign: (style as any)?.textAlign || \"left\",\n },\n style as any,\n ]}\n placeholderTextColor={placeholderTextColor}\n maxLength={maxLength}\n // React Native accessibility props\n testID={dataTestId || id}\n accessibilityLabel={ariaLabel}\n accessibilityHint={ariaDescribedBy}\n accessibilityState={{\n disabled: disabled || ariaDisabled,\n }}\n accessible={true}\n />\n );\n }\n);\n\nInputPrimitive.displayName = \"InputPrimitive\";\n","import React, { forwardRef } from \"react\";\nimport { TextInput as RNTextInput } from \"react-native\";\nimport { TextAreaPrimitiveProps } from \"@xsolla/xui-primitives-core\";\n\nexport const TextAreaPrimitive = forwardRef<\n RNTextInput,\n TextAreaPrimitiveProps\n>(\n (\n {\n value,\n placeholder,\n onChange,\n onChangeText,\n onFocus,\n onBlur,\n onKeyDown,\n disabled,\n style,\n color,\n fontSize,\n placeholderTextColor,\n maxLength,\n rows,\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 },\n ref\n ) => {\n const handleChangeText = (text: string) => {\n onChangeText?.(text);\n\n if (onChange) {\n const syntheticEvent = {\n target: { value: text },\n currentTarget: { value: text },\n type: \"change\",\n nativeEvent: { text },\n preventDefault: () => {},\n stopPropagation: () => {},\n isTrusted: false,\n } as unknown as React.ChangeEvent<HTMLTextAreaElement>;\n onChange(syntheticEvent);\n }\n };\n\n return (\n <RNTextInput\n ref={ref}\n value={value}\n placeholder={placeholder}\n onChangeText={handleChangeText}\n onFocus={onFocus}\n onBlur={onBlur}\n onKeyPress={(e) => {\n if (onKeyDown) {\n onKeyDown({\n key: e.nativeEvent.key,\n preventDefault: () => {},\n } as any);\n }\n }}\n editable={!disabled}\n multiline={true}\n numberOfLines={rows || 4}\n style={[\n {\n color,\n fontSize: typeof fontSize === \"number\" ? fontSize : undefined,\n flex: 1,\n padding: 0,\n textAlignVertical: \"top\",\n textAlign: (style as any)?.textAlign || \"left\",\n },\n style as any,\n ]}\n placeholderTextColor={placeholderTextColor}\n maxLength={maxLength}\n testID={dataTestId || id}\n accessibilityLabel={ariaLabel}\n accessibilityHint={ariaDescribedBy}\n accessibilityState={{\n disabled: disabled || ariaDisabled,\n }}\n accessible={true}\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;;;ACCA,0BAQO;AAmID;AAhIC,IAAM,MAA0B,CAAC;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,oBAAoB,CAAC,aAAkC;AAAA,IAC3D,iBACE,WAAW,YAAY,kBACnB,WA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C;AAAA,EAC5D;AAEA,QAAM,KACJ,oBACC,UAAU,SAAS,gBAAgB,MAAM,OAAO,WAAW;AAE9D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,WAAW;AAAA,MAClB,QAAQ,WAAW;AAAA,MACnB;AAAA,MACA,iBAAiB;AAAA,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":["import_react_native","import_jsx_runtime","import_react_native","import_jsx_runtime","import_react_native","import_jsx_runtime","import_react_native","import_jsx_runtime","import_react","import_react_native","import_jsx_runtime","RNTextInput","import_react","import_react_native","import_jsx_runtime","RNTextInput","import_jsx_runtime"]}