@xsolla/xui-multi-select 0.89.0 → 0.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/MultiSelect.tsx
2
- import { forwardRef as forwardRef8, useRef as useRef4, useEffect as useEffect3 } from "react";
2
+ import { forwardRef as forwardRef4, useRef as useRef4, useEffect as useEffect3 } from "react";
3
3
 
4
4
  // ../primitives-web/src/Box.tsx
5
5
  import React from "react";
@@ -202,54 +202,10 @@ var Text = ({
202
202
  );
203
203
  };
204
204
 
205
- // ../primitives-web/src/Spinner.tsx
206
- import styled3, { keyframes } from "styled-components";
207
- import { jsx as jsx3 } from "react/jsx-runtime";
208
- var rotate = keyframes`
209
- from {
210
- transform: rotate(0deg);
211
- }
212
- to {
213
- transform: rotate(360deg);
214
- }
215
- `;
216
- var StyledSpinner = styled3.div`
217
- width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
218
- height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
219
- border: ${(props) => props.strokeWidth || 2}px solid
220
- ${(props) => props.color || "currentColor"};
221
- border-bottom-color: transparent;
222
- border-radius: 50%;
223
- display: inline-block;
224
- box-sizing: border-box;
225
- animation: ${rotate} 1s linear infinite;
226
- `;
227
- var Spinner = ({
228
- role = "status",
229
- "aria-label": ariaLabel,
230
- "aria-live": ariaLive = "polite",
231
- "aria-describedby": ariaDescribedBy,
232
- testID,
233
- ...props
234
- }) => {
235
- return /* @__PURE__ */ jsx3(
236
- StyledSpinner,
237
- {
238
- role,
239
- "aria-label": ariaLabel,
240
- "aria-live": ariaLive,
241
- "aria-describedby": ariaDescribedBy,
242
- "data-testid": testID,
243
- ...props
244
- }
245
- );
246
- };
247
- Spinner.displayName = "Spinner";
248
-
249
205
  // ../primitives-web/src/Icon.tsx
250
- import styled4 from "styled-components";
251
- import { jsx as jsx4 } from "react/jsx-runtime";
252
- var StyledIcon = styled4.div`
206
+ import styled3 from "styled-components";
207
+ import { jsx as jsx3 } from "react/jsx-runtime";
208
+ var StyledIcon = styled3.div`
253
209
  display: flex;
254
210
  align-items: center;
255
211
  justify-content: center;
@@ -265,210 +221,26 @@ var StyledIcon = styled4.div`
265
221
  }
266
222
  `;
267
223
  var Icon = ({ children, ...props }) => {
268
- return /* @__PURE__ */ jsx4(StyledIcon, { ...props, children });
224
+ return /* @__PURE__ */ jsx3(StyledIcon, { ...props, children });
269
225
  };
270
226
 
271
- // ../primitives-web/src/Divider.tsx
272
- import styled5 from "styled-components";
273
- import { jsx as jsx5 } from "react/jsx-runtime";
274
- var StyledDivider = styled5.div`
275
- background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
276
- width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
277
- height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
278
-
279
- ${(props) => props.dashStroke && `
280
- border-style: dashed;
281
- border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
282
- border-width: 0;
283
- ${props.vertical ? `
284
- border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
285
- height: 100%;
286
- ` : `
287
- border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
288
- width: 100%;
289
- `}
290
- `}
291
- `;
292
-
293
- // ../primitives-web/src/Input.tsx
294
- import { forwardRef } from "react";
295
- import styled6 from "styled-components";
296
- import { jsx as jsx6 } from "react/jsx-runtime";
297
- var StyledInput = styled6.input`
298
- background: transparent;
299
- border: none;
300
- outline: none;
301
- width: 100%;
302
- height: 100%;
303
- padding: 0;
304
- margin: 0;
305
- color: ${(props) => props.color || "inherit"};
306
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
307
- font-family: inherit;
308
- text-align: inherit;
309
-
310
- &::placeholder {
311
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
312
- }
313
-
314
- &:disabled {
315
- cursor: not-allowed;
316
- }
317
- `;
318
- var InputPrimitive = forwardRef(
319
- ({
320
- value,
321
- placeholder,
322
- onChange,
323
- onChangeText,
324
- onFocus,
325
- onBlur,
326
- onKeyDown,
327
- disabled,
328
- secureTextEntry,
329
- style,
330
- color,
331
- fontSize,
332
- placeholderTextColor,
333
- maxLength,
334
- name,
335
- type,
336
- inputMode,
337
- autoComplete,
338
- id,
339
- "aria-invalid": ariaInvalid,
340
- "aria-describedby": ariaDescribedBy,
341
- "aria-labelledby": ariaLabelledBy,
342
- "aria-label": ariaLabel,
343
- "aria-disabled": ariaDisabled,
344
- "data-testid": dataTestId,
345
- ...rest
346
- }, ref) => {
347
- const handleChange = (e) => {
348
- if (onChange) {
349
- onChange(e);
350
- }
351
- if (onChangeText) {
352
- onChangeText(e.target.value);
353
- }
354
- };
355
- const inputValue = value !== void 0 ? value : "";
356
- return /* @__PURE__ */ jsx6(
357
- StyledInput,
358
- {
359
- ref,
360
- id,
361
- value: inputValue,
362
- name,
363
- placeholder,
364
- onChange: handleChange,
365
- onFocus,
366
- onBlur,
367
- onKeyDown,
368
- disabled,
369
- type: secureTextEntry ? "password" : type || "text",
370
- inputMode,
371
- autoComplete,
372
- style,
373
- color,
374
- fontSize,
375
- placeholderTextColor,
376
- maxLength,
377
- "aria-invalid": ariaInvalid,
378
- "aria-describedby": ariaDescribedBy,
379
- "aria-labelledby": ariaLabelledBy,
380
- "aria-label": ariaLabel,
381
- "aria-disabled": ariaDisabled,
382
- "data-testid": dataTestId,
383
- ...rest
384
- }
385
- );
386
- }
387
- );
388
- InputPrimitive.displayName = "InputPrimitive";
389
-
390
- // ../primitives-web/src/TextArea.tsx
391
- import { forwardRef as forwardRef2 } from "react";
392
- import styled7 from "styled-components";
393
- import { jsx as jsx7 } from "react/jsx-runtime";
394
- var StyledTextArea = styled7.textarea`
395
- background: transparent;
396
- border: none;
397
- outline: none;
398
- width: 100%;
399
- height: 100%;
400
- padding: 0;
401
- margin: 0;
402
- color: ${(props) => props.color || "inherit"};
403
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
404
- font-family: inherit;
405
- text-align: inherit;
406
- resize: none;
407
-
408
- &::placeholder {
409
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
410
- }
411
-
412
- &:disabled {
413
- cursor: not-allowed;
414
- }
415
- `;
416
- var TextAreaPrimitive = forwardRef2(
417
- ({
418
- value,
419
- placeholder,
420
- onChangeText,
421
- onFocus,
422
- onBlur,
423
- onKeyDown,
424
- disabled,
425
- style,
426
- color,
427
- fontSize,
428
- placeholderTextColor,
429
- maxLength,
430
- rows
431
- }, ref) => {
432
- return /* @__PURE__ */ jsx7(
433
- StyledTextArea,
434
- {
435
- ref,
436
- value,
437
- placeholder,
438
- onChange: (e) => onChangeText?.(e.target.value),
439
- onFocus,
440
- onBlur,
441
- onKeyDown,
442
- disabled,
443
- style,
444
- color,
445
- fontSize,
446
- placeholderTextColor,
447
- maxLength,
448
- rows
449
- }
450
- );
451
- }
452
- );
453
- TextAreaPrimitive.displayName = "TextAreaPrimitive";
454
-
455
227
  // src/MultiSelect.tsx
456
228
  import { useDesignSystem as useDesignSystem4 } from "@xsolla/xui-core";
457
229
 
458
230
  // src/MultiSelectControl.tsx
459
- import { forwardRef as forwardRef7, useRef as useRef2 } from "react";
231
+ import { forwardRef as forwardRef3, useRef as useRef2 } from "react";
460
232
  import { useDesignSystem as useDesignSystem3 } from "@xsolla/xui-core";
461
233
 
462
234
  // ../icons-base/dist/web/index.mjs
463
- import styled8 from "styled-components";
464
- import { jsx as jsx8 } from "react/jsx-runtime";
235
+ import styled4 from "styled-components";
236
+ import { jsx as jsx4 } from "react/jsx-runtime";
465
237
  import { jsx as jsx22 } from "react/jsx-runtime";
466
238
  import { jsx as jsx32 } from "react/jsx-runtime";
467
239
  import { jsx as jsx42 } from "react/jsx-runtime";
468
- import { jsx as jsx52 } from "react/jsx-runtime";
469
- import { jsx as jsx62 } from "react/jsx-runtime";
470
- import { jsx as jsx72 } from "react/jsx-runtime";
471
- import { jsx as jsx82 } from "react/jsx-runtime";
240
+ import { jsx as jsx5 } from "react/jsx-runtime";
241
+ import { jsx as jsx6 } from "react/jsx-runtime";
242
+ import { jsx as jsx7 } from "react/jsx-runtime";
243
+ import { jsx as jsx8 } from "react/jsx-runtime";
472
244
  import { jsx as jsx9 } from "react/jsx-runtime";
473
245
  import { jsx as jsx10 } from "react/jsx-runtime";
474
246
  import { jsx as jsx11 } from "react/jsx-runtime";
@@ -512,7 +284,7 @@ import { jsx as jsx48 } from "react/jsx-runtime";
512
284
  import { jsx as jsx49 } from "react/jsx-runtime";
513
285
  import { jsx as jsx50 } from "react/jsx-runtime";
514
286
  import { jsx as jsx51 } from "react/jsx-runtime";
515
- import { jsx as jsx522 } from "react/jsx-runtime";
287
+ import { jsx as jsx52 } from "react/jsx-runtime";
516
288
  import { jsx as jsx53 } from "react/jsx-runtime";
517
289
  import { jsx as jsx54 } from "react/jsx-runtime";
518
290
  import { jsx as jsx55 } from "react/jsx-runtime";
@@ -522,7 +294,7 @@ import { jsx as jsx58 } from "react/jsx-runtime";
522
294
  import { jsx as jsx59 } from "react/jsx-runtime";
523
295
  import { jsx as jsx60 } from "react/jsx-runtime";
524
296
  import { jsx as jsx61 } from "react/jsx-runtime";
525
- import { jsx as jsx622 } from "react/jsx-runtime";
297
+ import { jsx as jsx62 } from "react/jsx-runtime";
526
298
  import { jsx as jsx63 } from "react/jsx-runtime";
527
299
  import { jsx as jsx64 } from "react/jsx-runtime";
528
300
  import { jsx as jsx65 } from "react/jsx-runtime";
@@ -532,7 +304,7 @@ import { jsx as jsx68 } from "react/jsx-runtime";
532
304
  import { jsx as jsx69 } from "react/jsx-runtime";
533
305
  import { jsx as jsx70 } from "react/jsx-runtime";
534
306
  import { jsx as jsx71 } from "react/jsx-runtime";
535
- import { jsx as jsx722 } from "react/jsx-runtime";
307
+ import { jsx as jsx72 } from "react/jsx-runtime";
536
308
  import { jsx as jsx73 } from "react/jsx-runtime";
537
309
  import { jsx as jsx74 } from "react/jsx-runtime";
538
310
  import { jsx as jsx75 } from "react/jsx-runtime";
@@ -542,7 +314,7 @@ import { jsx as jsx78 } from "react/jsx-runtime";
542
314
  import { jsx as jsx79 } from "react/jsx-runtime";
543
315
  import { jsx as jsx80 } from "react/jsx-runtime";
544
316
  import { jsx as jsx81 } from "react/jsx-runtime";
545
- import { jsx as jsx822 } from "react/jsx-runtime";
317
+ import { jsx as jsx82 } from "react/jsx-runtime";
546
318
  import { jsx as jsx83 } from "react/jsx-runtime";
547
319
  import { jsx as jsx84 } from "react/jsx-runtime";
548
320
  import { jsx as jsx85 } from "react/jsx-runtime";
@@ -842,7 +614,7 @@ import { jsx as jsx378 } from "react/jsx-runtime";
842
614
  import { jsx as jsx379 } from "react/jsx-runtime";
843
615
  import { jsx as jsx380 } from "react/jsx-runtime";
844
616
  import { jsx as jsx381 } from "react/jsx-runtime";
845
- var StyledIcon2 = styled8.div`
617
+ var StyledIcon2 = styled4.div`
846
618
  display: inline-flex;
847
619
  align-items: center;
848
620
  justify-content: center;
@@ -869,7 +641,7 @@ var BaseIcon = ({
869
641
  }) => {
870
642
  const svgContent = variant === "line" ? lineContent381 : solidContent381;
871
643
  const sizeValue = typeof size === "number" ? `${size}px` : size;
872
- return /* @__PURE__ */ jsx8(
644
+ return /* @__PURE__ */ jsx4(
873
645
  StyledIcon2,
874
646
  {
875
647
  $size: sizeValue,
@@ -906,46 +678,21 @@ import {
906
678
  } from "react";
907
679
 
908
680
  // ../tag/dist/web/index.mjs
909
- import React4 from "react";
910
- import styled10 from "styled-components";
911
- import { jsx as jsx384 } from "react/jsx-runtime";
912
- import styled23 from "styled-components";
681
+ import React2 from "react";
682
+ import styled6 from "styled-components";
683
+ import { jsx as jsx383 } from "react/jsx-runtime";
684
+ import styled22 from "styled-components";
913
685
  import { jsx as jsx2101 } from "react/jsx-runtime";
914
- import styled33, { keyframes as keyframes3 } from "styled-components";
915
- import { jsx as jsx385 } from "react/jsx-runtime";
916
- import styled43 from "styled-components";
917
- import { jsx as jsx411 } from "react/jsx-runtime";
918
- import styled53 from "styled-components";
919
- import { jsx as jsx511 } from "react/jsx-runtime";
920
- import { forwardRef as forwardRef6 } from "react";
921
- import styled63 from "styled-components";
922
- import { jsx as jsx611 } from "react/jsx-runtime";
923
- import { forwardRef as forwardRef23 } from "react";
924
- import styled73 from "styled-components";
925
- import { jsx as jsx711 } from "react/jsx-runtime";
686
+ import styled32 from "styled-components";
687
+ import { jsx as jsx384 } from "react/jsx-runtime";
926
688
  import { useDesignSystem } from "@xsolla/xui-core";
927
689
 
928
690
  // ../icons/dist/web/index.mjs
929
- import React3 from "react";
930
- import styled9 from "styled-components";
691
+ import styled5 from "styled-components";
931
692
  import { jsx as jsx382 } from "react/jsx-runtime";
932
- import styled22 from "styled-components";
933
- import { jsx as jsx2100 } from "react/jsx-runtime";
934
- import styled32, { keyframes as keyframes2 } from "styled-components";
935
- import { jsx as jsx383 } from "react/jsx-runtime";
936
- import styled42 from "styled-components";
937
- import { jsx as jsx410 } from "react/jsx-runtime";
938
- import styled52 from "styled-components";
939
- import { jsx as jsx510 } from "react/jsx-runtime";
940
- import { forwardRef as forwardRef5 } from "react";
941
- import styled62 from "styled-components";
942
- import { jsx as jsx610 } from "react/jsx-runtime";
943
- import { forwardRef as forwardRef22 } from "react";
944
- import styled72 from "styled-components";
945
- import { jsx as jsx710 } from "react/jsx-runtime";
946
693
 
947
694
  // ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
948
- import { forwardRef as forwardRef4, createElement as createElement2 } from "react";
695
+ import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
949
696
 
950
697
  // ../../node_modules/lucide-react/dist/esm/shared/src/utils.js
951
698
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
@@ -954,7 +701,7 @@ var mergeClasses = (...classes) => classes.filter((className, index, array) => {
954
701
  }).join(" ").trim();
955
702
 
956
703
  // ../../node_modules/lucide-react/dist/esm/Icon.js
957
- import { forwardRef as forwardRef3, createElement } from "react";
704
+ import { forwardRef, createElement } from "react";
958
705
 
959
706
  // ../../node_modules/lucide-react/dist/esm/defaultAttributes.js
960
707
  var defaultAttributes = {
@@ -970,7 +717,7 @@ var defaultAttributes = {
970
717
  };
971
718
 
972
719
  // ../../node_modules/lucide-react/dist/esm/Icon.js
973
- var Icon2 = forwardRef3(
720
+ var Icon2 = forwardRef(
974
721
  ({
975
722
  color = "currentColor",
976
723
  size = 24,
@@ -1003,7 +750,7 @@ var Icon2 = forwardRef3(
1003
750
 
1004
751
  // ../../node_modules/lucide-react/dist/esm/createLucideIcon.js
1005
752
  var createLucideIcon = (iconName, iconNode) => {
1006
- const Component = forwardRef4(
753
+ const Component = forwardRef2(
1007
754
  ({ className, ...props }, ref) => createElement2(Icon2, {
1008
755
  ref,
1009
756
  iconNode,
@@ -1022,222 +769,8 @@ var X = createLucideIcon("X", [
1022
769
  ]);
1023
770
 
1024
771
  // ../icons/dist/web/index.mjs
1025
- import { jsx as jsx810 } from "react/jsx-runtime";
1026
- var StyledBox2 = styled9.div`
1027
- display: flex;
1028
- box-sizing: border-box;
1029
- background-color: ${(props) => props.backgroundColor || "transparent"};
1030
- border-color: ${(props) => props.borderColor || "transparent"};
1031
- border-width: ${(props) => typeof props.borderWidth === "number" ? `${props.borderWidth}px` : props.borderWidth || 0};
1032
-
1033
- ${(props) => props.borderBottomWidth !== void 0 && `
1034
- border-bottom-width: ${typeof props.borderBottomWidth === "number" ? `${props.borderBottomWidth}px` : props.borderBottomWidth};
1035
- border-bottom-color: ${props.borderBottomColor || props.borderColor || "transparent"};
1036
- border-bottom-style: solid;
1037
- `}
1038
- ${(props) => props.borderTopWidth !== void 0 && `
1039
- border-top-width: ${typeof props.borderTopWidth === "number" ? `${props.borderTopWidth}px` : props.borderTopWidth};
1040
- border-top-color: ${props.borderTopColor || props.borderColor || "transparent"};
1041
- border-top-style: solid;
1042
- `}
1043
- ${(props) => props.borderLeftWidth !== void 0 && `
1044
- border-left-width: ${typeof props.borderLeftWidth === "number" ? `${props.borderLeftWidth}px` : props.borderLeftWidth};
1045
- border-left-color: ${props.borderLeftColor || props.borderColor || "transparent"};
1046
- border-left-style: solid;
1047
- `}
1048
- ${(props) => props.borderRightWidth !== void 0 && `
1049
- border-right-width: ${typeof props.borderRightWidth === "number" ? `${props.borderRightWidth}px` : props.borderRightWidth};
1050
- border-right-color: ${props.borderRightColor || props.borderColor || "transparent"};
1051
- border-right-style: solid;
1052
- `}
1053
-
1054
- border-style: ${(props) => props.borderStyle || (props.borderWidth || props.borderBottomWidth || props.borderTopWidth || props.borderLeftWidth || props.borderRightWidth ? "solid" : "none")};
1055
- border-radius: ${(props) => typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius || 0};
1056
- height: ${(props) => typeof props.height === "number" ? `${props.height}px` : props.height || "auto"};
1057
- width: ${(props) => typeof props.width === "number" ? `${props.width}px` : props.width || "auto"};
1058
- min-width: ${(props) => typeof props.minWidth === "number" ? `${props.minWidth}px` : props.minWidth || "auto"};
1059
- min-height: ${(props) => typeof props.minHeight === "number" ? `${props.minHeight}px` : props.minHeight || "auto"};
1060
-
1061
- padding: ${(props) => typeof props.padding === "number" ? `${props.padding}px` : props.padding || 0};
1062
- ${(props) => props.paddingHorizontal && `
1063
- padding-left: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
1064
- padding-right: ${typeof props.paddingHorizontal === "number" ? `${props.paddingHorizontal}px` : props.paddingHorizontal};
1065
- `}
1066
- ${(props) => props.paddingVertical && `
1067
- padding-top: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
1068
- padding-bottom: ${typeof props.paddingVertical === "number" ? `${props.paddingVertical}px` : props.paddingVertical};
1069
- `}
1070
- ${(props) => props.paddingTop !== void 0 && `padding-top: ${typeof props.paddingTop === "number" ? `${props.paddingTop}px` : props.paddingTop};`}
1071
- ${(props) => props.paddingBottom !== void 0 && `padding-bottom: ${typeof props.paddingBottom === "number" ? `${props.paddingBottom}px` : props.paddingBottom};`}
1072
- ${(props) => props.paddingLeft !== void 0 && `padding-left: ${typeof props.paddingLeft === "number" ? `${props.paddingLeft}px` : props.paddingLeft};`}
1073
- ${(props) => props.paddingRight !== void 0 && `padding-right: ${typeof props.paddingRight === "number" ? `${props.paddingRight}px` : props.paddingRight};`}
1074
-
1075
- margin: ${(props) => typeof props.margin === "number" ? `${props.margin}px` : props.margin || 0};
1076
- ${(props) => props.marginTop !== void 0 && `margin-top: ${typeof props.marginTop === "number" ? `${props.marginTop}px` : props.marginTop};`}
1077
- ${(props) => props.marginBottom !== void 0 && `margin-bottom: ${typeof props.marginBottom === "number" ? `${props.marginBottom}px` : props.marginBottom};`}
1078
- ${(props) => props.marginLeft !== void 0 && `margin-left: ${typeof props.marginLeft === "number" ? `${props.marginLeft}px` : props.marginLeft};`}
1079
- ${(props) => props.marginRight !== void 0 && `margin-right: ${typeof props.marginRight === "number" ? `${props.marginRight}px` : props.marginRight};`}
1080
-
1081
- flex-direction: ${(props) => props.flexDirection || "column"};
1082
- flex-wrap: ${(props) => props.flexWrap || "nowrap"};
1083
- align-items: ${(props) => props.alignItems || "stretch"};
1084
- justify-content: ${(props) => props.justifyContent || "flex-start"};
1085
- cursor: ${(props) => props.cursor ? props.cursor : props.onClick || props.onPress ? "pointer" : "inherit"};
1086
- position: ${(props) => props.position || "static"};
1087
- top: ${(props) => typeof props.top === "number" ? `${props.top}px` : props.top};
1088
- bottom: ${(props) => typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom};
1089
- left: ${(props) => typeof props.left === "number" ? `${props.left}px` : props.left};
1090
- right: ${(props) => typeof props.right === "number" ? `${props.right}px` : props.right};
1091
- flex: ${(props) => props.flex};
1092
- flex-shrink: ${(props) => props.flexShrink ?? 1};
1093
- gap: ${(props) => typeof props.gap === "number" ? `${props.gap}px` : props.gap || 0};
1094
- align-self: ${(props) => props.alignSelf || "auto"};
1095
- overflow: ${(props) => props.overflow || "visible"};
1096
- overflow-x: ${(props) => props.overflowX || "visible"};
1097
- overflow-y: ${(props) => props.overflowY || "visible"};
1098
- z-index: ${(props) => props.zIndex};
1099
- opacity: ${(props) => props.disabled ? 0.5 : 1};
1100
- pointer-events: ${(props) => props.disabled ? "none" : "auto"};
1101
-
1102
- &:hover {
1103
- ${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
1104
- ${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
1105
- }
1106
-
1107
- &:active {
1108
- ${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
1109
- }
1110
- `;
1111
- var Box2 = React3.forwardRef(
1112
- ({
1113
- children,
1114
- onPress,
1115
- onKeyDown,
1116
- onKeyUp,
1117
- role,
1118
- "aria-label": ariaLabel,
1119
- "aria-labelledby": ariaLabelledBy,
1120
- "aria-current": ariaCurrent,
1121
- "aria-disabled": ariaDisabled,
1122
- "aria-live": ariaLive,
1123
- "aria-busy": ariaBusy,
1124
- "aria-describedby": ariaDescribedBy,
1125
- "aria-expanded": ariaExpanded,
1126
- "aria-haspopup": ariaHasPopup,
1127
- "aria-pressed": ariaPressed,
1128
- "aria-controls": ariaControls,
1129
- tabIndex,
1130
- as,
1131
- src,
1132
- alt,
1133
- type,
1134
- disabled,
1135
- id,
1136
- ...props
1137
- }, ref) => {
1138
- if (as === "img" && src) {
1139
- return /* @__PURE__ */ jsx382(
1140
- "img",
1141
- {
1142
- src,
1143
- alt: alt || "",
1144
- style: {
1145
- display: "block",
1146
- objectFit: "cover",
1147
- width: typeof props.width === "number" ? `${props.width}px` : props.width,
1148
- height: typeof props.height === "number" ? `${props.height}px` : props.height,
1149
- borderRadius: typeof props.borderRadius === "number" ? `${props.borderRadius}px` : props.borderRadius,
1150
- position: props.position,
1151
- top: typeof props.top === "number" ? `${props.top}px` : props.top,
1152
- left: typeof props.left === "number" ? `${props.left}px` : props.left,
1153
- right: typeof props.right === "number" ? `${props.right}px` : props.right,
1154
- bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom
1155
- }
1156
- }
1157
- );
1158
- }
1159
- return /* @__PURE__ */ jsx382(
1160
- StyledBox2,
1161
- {
1162
- ref,
1163
- as,
1164
- id,
1165
- type: as === "button" ? type || "button" : void 0,
1166
- disabled: as === "button" ? disabled : void 0,
1167
- onClick: onPress,
1168
- onKeyDown,
1169
- onKeyUp,
1170
- role,
1171
- "aria-label": ariaLabel,
1172
- "aria-labelledby": ariaLabelledBy,
1173
- "aria-current": ariaCurrent,
1174
- "aria-disabled": ariaDisabled,
1175
- "aria-busy": ariaBusy,
1176
- "aria-describedby": ariaDescribedBy,
1177
- "aria-expanded": ariaExpanded,
1178
- "aria-haspopup": ariaHasPopup,
1179
- "aria-pressed": ariaPressed,
1180
- "aria-controls": ariaControls,
1181
- "aria-live": ariaLive,
1182
- tabIndex: tabIndex !== void 0 ? tabIndex : void 0,
1183
- ...props,
1184
- children
1185
- }
1186
- );
1187
- }
1188
- );
1189
- Box2.displayName = "Box";
1190
- var StyledText2 = styled22.span`
1191
- color: ${(props) => props.color || "inherit"};
1192
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1193
- font-weight: ${(props) => props.fontWeight || "normal"};
1194
- font-family: ${(props) => props.fontFamily || '"Pilat Wide Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important'};
1195
- line-height: ${(props) => typeof props.lineHeight === "number" ? `${props.lineHeight}px` : props.lineHeight || "inherit"};
1196
- white-space: ${(props) => props.whiteSpace || "normal"};
1197
- text-align: ${(props) => props.textAlign || "inherit"};
1198
- text-decoration: ${(props) => props.textDecoration || "none"};
1199
- `;
1200
- var rotate2 = keyframes2`
1201
- from {
1202
- transform: rotate(0deg);
1203
- }
1204
- to {
1205
- transform: rotate(360deg);
1206
- }
1207
- `;
1208
- var StyledSpinner2 = styled32.div`
1209
- width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
1210
- height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
1211
- border: ${(props) => props.strokeWidth || 2}px solid
1212
- ${(props) => props.color || "currentColor"};
1213
- border-bottom-color: transparent;
1214
- border-radius: 50%;
1215
- display: inline-block;
1216
- box-sizing: border-box;
1217
- animation: ${rotate2} 1s linear infinite;
1218
- `;
1219
- var Spinner2 = ({
1220
- role = "status",
1221
- "aria-label": ariaLabel,
1222
- "aria-live": ariaLive = "polite",
1223
- "aria-describedby": ariaDescribedBy,
1224
- testID,
1225
- ...props
1226
- }) => {
1227
- return /* @__PURE__ */ jsx383(
1228
- StyledSpinner2,
1229
- {
1230
- role,
1231
- "aria-label": ariaLabel,
1232
- "aria-live": ariaLive,
1233
- "aria-describedby": ariaDescribedBy,
1234
- "data-testid": testID,
1235
- ...props
1236
- }
1237
- );
1238
- };
1239
- Spinner2.displayName = "Spinner";
1240
- var StyledIcon3 = styled42.div`
772
+ import { jsx as jsx2100 } from "react/jsx-runtime";
773
+ var StyledIcon3 = styled5.div`
1241
774
  display: flex;
1242
775
  align-items: center;
1243
776
  justify-content: center;
@@ -1253,183 +786,13 @@ var StyledIcon3 = styled42.div`
1253
786
  }
1254
787
  `;
1255
788
  var Icon3 = ({ children, ...props }) => {
1256
- return /* @__PURE__ */ jsx410(StyledIcon3, { ...props, children });
789
+ return /* @__PURE__ */ jsx382(StyledIcon3, { ...props, children });
1257
790
  };
1258
- var StyledDivider2 = styled52.div`
1259
- background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
1260
- width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
1261
- height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
1262
-
1263
- ${(props) => props.dashStroke && `
1264
- border-style: dashed;
1265
- border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
1266
- border-width: 0;
1267
- ${props.vertical ? `
1268
- border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
1269
- height: 100%;
1270
- ` : `
1271
- border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
1272
- width: 100%;
1273
- `}
1274
- `}
1275
- `;
1276
- var StyledInput2 = styled62.input`
1277
- background: transparent;
1278
- border: none;
1279
- outline: none;
1280
- width: 100%;
1281
- height: 100%;
1282
- padding: 0;
1283
- margin: 0;
1284
- color: ${(props) => props.color || "inherit"};
1285
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1286
- font-family: inherit;
1287
- text-align: inherit;
1288
-
1289
- &::placeholder {
1290
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
1291
- }
1292
-
1293
- &:disabled {
1294
- cursor: not-allowed;
1295
- }
1296
- `;
1297
- var InputPrimitive2 = forwardRef5(
1298
- ({
1299
- value,
1300
- placeholder,
1301
- onChange,
1302
- onChangeText,
1303
- onFocus,
1304
- onBlur,
1305
- onKeyDown,
1306
- disabled,
1307
- secureTextEntry,
1308
- style,
1309
- color,
1310
- fontSize,
1311
- placeholderTextColor,
1312
- maxLength,
1313
- name,
1314
- type,
1315
- inputMode,
1316
- autoComplete,
1317
- id,
1318
- "aria-invalid": ariaInvalid,
1319
- "aria-describedby": ariaDescribedBy,
1320
- "aria-labelledby": ariaLabelledBy,
1321
- "aria-label": ariaLabel,
1322
- "aria-disabled": ariaDisabled,
1323
- "data-testid": dataTestId,
1324
- ...rest
1325
- }, ref) => {
1326
- const handleChange = (e) => {
1327
- if (onChange) {
1328
- onChange(e);
1329
- }
1330
- if (onChangeText) {
1331
- onChangeText(e.target.value);
1332
- }
1333
- };
1334
- const inputValue = value !== void 0 ? value : "";
1335
- return /* @__PURE__ */ jsx610(
1336
- StyledInput2,
1337
- {
1338
- ref,
1339
- id,
1340
- value: inputValue,
1341
- name,
1342
- placeholder,
1343
- onChange: handleChange,
1344
- onFocus,
1345
- onBlur,
1346
- onKeyDown,
1347
- disabled,
1348
- type: secureTextEntry ? "password" : type || "text",
1349
- inputMode,
1350
- autoComplete,
1351
- style,
1352
- color,
1353
- fontSize,
1354
- placeholderTextColor,
1355
- maxLength,
1356
- "aria-invalid": ariaInvalid,
1357
- "aria-describedby": ariaDescribedBy,
1358
- "aria-labelledby": ariaLabelledBy,
1359
- "aria-label": ariaLabel,
1360
- "aria-disabled": ariaDisabled,
1361
- "data-testid": dataTestId,
1362
- ...rest
1363
- }
1364
- );
1365
- }
1366
- );
1367
- InputPrimitive2.displayName = "InputPrimitive";
1368
- var StyledTextArea2 = styled72.textarea`
1369
- background: transparent;
1370
- border: none;
1371
- outline: none;
1372
- width: 100%;
1373
- height: 100%;
1374
- padding: 0;
1375
- margin: 0;
1376
- color: ${(props) => props.color || "inherit"};
1377
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1378
- font-family: inherit;
1379
- text-align: inherit;
1380
- resize: none;
1381
-
1382
- &::placeholder {
1383
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
1384
- }
1385
-
1386
- &:disabled {
1387
- cursor: not-allowed;
1388
- }
1389
- `;
1390
- var TextAreaPrimitive2 = forwardRef22(
1391
- ({
1392
- value,
1393
- placeholder,
1394
- onChangeText,
1395
- onFocus,
1396
- onBlur,
1397
- onKeyDown,
1398
- disabled,
1399
- style,
1400
- color,
1401
- fontSize,
1402
- placeholderTextColor,
1403
- maxLength,
1404
- rows
1405
- }, ref) => {
1406
- return /* @__PURE__ */ jsx710(
1407
- StyledTextArea2,
1408
- {
1409
- ref,
1410
- value,
1411
- placeholder,
1412
- onChange: (e) => onChangeText?.(e.target.value),
1413
- onFocus,
1414
- onBlur,
1415
- onKeyDown,
1416
- disabled,
1417
- style,
1418
- color,
1419
- fontSize,
1420
- placeholderTextColor,
1421
- maxLength,
1422
- rows
1423
- }
1424
- );
1425
- }
1426
- );
1427
- TextAreaPrimitive2.displayName = "TextAreaPrimitive";
1428
- var X2 = (props) => /* @__PURE__ */ jsx810(Icon3, { ...props, children: /* @__PURE__ */ jsx810(X, { size: "100%" }) });
791
+ var X2 = (props) => /* @__PURE__ */ jsx2100(Icon3, { ...props, children: /* @__PURE__ */ jsx2100(X, { size: "100%" }) });
1429
792
 
1430
793
  // ../tag/dist/web/index.mjs
1431
- import { jsx as jsx811, jsxs } from "react/jsx-runtime";
1432
- var StyledBox3 = styled10.div`
794
+ import { jsx as jsx410, jsxs } from "react/jsx-runtime";
795
+ var StyledBox2 = styled6.div`
1433
796
  display: flex;
1434
797
  box-sizing: border-box;
1435
798
  background-color: ${(props) => props.backgroundColor || "transparent"};
@@ -1514,7 +877,7 @@ var StyledBox3 = styled10.div`
1514
877
  ${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
1515
878
  }
1516
879
  `;
1517
- var Box3 = React4.forwardRef(
880
+ var Box2 = React2.forwardRef(
1518
881
  ({
1519
882
  children,
1520
883
  onPress,
@@ -1542,7 +905,7 @@ var Box3 = React4.forwardRef(
1542
905
  ...props
1543
906
  }, ref) => {
1544
907
  if (as === "img" && src) {
1545
- return /* @__PURE__ */ jsx384(
908
+ return /* @__PURE__ */ jsx383(
1546
909
  "img",
1547
910
  {
1548
911
  src,
@@ -1562,8 +925,8 @@ var Box3 = React4.forwardRef(
1562
925
  }
1563
926
  );
1564
927
  }
1565
- return /* @__PURE__ */ jsx384(
1566
- StyledBox3,
928
+ return /* @__PURE__ */ jsx383(
929
+ StyledBox2,
1567
930
  {
1568
931
  ref,
1569
932
  as,
@@ -1592,8 +955,8 @@ var Box3 = React4.forwardRef(
1592
955
  );
1593
956
  }
1594
957
  );
1595
- Box3.displayName = "Box";
1596
- var StyledText3 = styled23.span`
958
+ Box2.displayName = "Box";
959
+ var StyledText2 = styled22.span`
1597
960
  color: ${(props) => props.color || "inherit"};
1598
961
  font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1599
962
  font-weight: ${(props) => props.fontWeight || "normal"};
@@ -1611,7 +974,7 @@ var Text2 = ({
1611
974
  ...props
1612
975
  }) => {
1613
976
  return /* @__PURE__ */ jsx2101(
1614
- StyledText3,
977
+ StyledText2,
1615
978
  {
1616
979
  ...props,
1617
980
  style,
@@ -1621,47 +984,7 @@ var Text2 = ({
1621
984
  }
1622
985
  );
1623
986
  };
1624
- var rotate3 = keyframes3`
1625
- from {
1626
- transform: rotate(0deg);
1627
- }
1628
- to {
1629
- transform: rotate(360deg);
1630
- }
1631
- `;
1632
- var StyledSpinner3 = styled33.div`
1633
- width: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
1634
- height: ${(props) => typeof props.size === "number" ? `${props.size}px` : props.size || "24px"};
1635
- border: ${(props) => props.strokeWidth || 2}px solid
1636
- ${(props) => props.color || "currentColor"};
1637
- border-bottom-color: transparent;
1638
- border-radius: 50%;
1639
- display: inline-block;
1640
- box-sizing: border-box;
1641
- animation: ${rotate3} 1s linear infinite;
1642
- `;
1643
- var Spinner3 = ({
1644
- role = "status",
1645
- "aria-label": ariaLabel,
1646
- "aria-live": ariaLive = "polite",
1647
- "aria-describedby": ariaDescribedBy,
1648
- testID,
1649
- ...props
1650
- }) => {
1651
- return /* @__PURE__ */ jsx385(
1652
- StyledSpinner3,
1653
- {
1654
- role,
1655
- "aria-label": ariaLabel,
1656
- "aria-live": ariaLive,
1657
- "aria-describedby": ariaDescribedBy,
1658
- "data-testid": testID,
1659
- ...props
1660
- }
1661
- );
1662
- };
1663
- Spinner3.displayName = "Spinner";
1664
- var StyledIcon4 = styled43.div`
987
+ var StyledIcon4 = styled32.div`
1665
988
  display: flex;
1666
989
  align-items: center;
1667
990
  justify-content: center;
@@ -1677,178 +1000,8 @@ var StyledIcon4 = styled43.div`
1677
1000
  }
1678
1001
  `;
1679
1002
  var Icon4 = ({ children, ...props }) => {
1680
- return /* @__PURE__ */ jsx411(StyledIcon4, { ...props, children });
1003
+ return /* @__PURE__ */ jsx384(StyledIcon4, { ...props, children });
1681
1004
  };
1682
- var StyledDivider3 = styled53.div`
1683
- background-color: ${(props) => props.dashStroke ? "transparent" : props.color || "rgba(255, 255, 255, 0.15)"};
1684
- width: ${(props) => props.vertical ? typeof props.width === "number" ? `${props.width}px` : props.width || "1px" : "100%"};
1685
- height: ${(props) => props.vertical ? "100%" : typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
1686
-
1687
- ${(props) => props.dashStroke && `
1688
- border-style: dashed;
1689
- border-color: ${props.color || "rgba(255, 255, 255, 0.15)"};
1690
- border-width: 0;
1691
- ${props.vertical ? `
1692
- border-left-width: ${typeof props.width === "number" ? `${props.width}px` : props.width || "1px"};
1693
- height: 100%;
1694
- ` : `
1695
- border-top-width: ${typeof props.height === "number" ? `${props.height}px` : props.height || "1px"};
1696
- width: 100%;
1697
- `}
1698
- `}
1699
- `;
1700
- var StyledInput3 = styled63.input`
1701
- background: transparent;
1702
- border: none;
1703
- outline: none;
1704
- width: 100%;
1705
- height: 100%;
1706
- padding: 0;
1707
- margin: 0;
1708
- color: ${(props) => props.color || "inherit"};
1709
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1710
- font-family: inherit;
1711
- text-align: inherit;
1712
-
1713
- &::placeholder {
1714
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
1715
- }
1716
-
1717
- &:disabled {
1718
- cursor: not-allowed;
1719
- }
1720
- `;
1721
- var InputPrimitive3 = forwardRef6(
1722
- ({
1723
- value,
1724
- placeholder,
1725
- onChange,
1726
- onChangeText,
1727
- onFocus,
1728
- onBlur,
1729
- onKeyDown,
1730
- disabled,
1731
- secureTextEntry,
1732
- style,
1733
- color,
1734
- fontSize,
1735
- placeholderTextColor,
1736
- maxLength,
1737
- name,
1738
- type,
1739
- inputMode,
1740
- autoComplete,
1741
- id,
1742
- "aria-invalid": ariaInvalid,
1743
- "aria-describedby": ariaDescribedBy,
1744
- "aria-labelledby": ariaLabelledBy,
1745
- "aria-label": ariaLabel,
1746
- "aria-disabled": ariaDisabled,
1747
- "data-testid": dataTestId,
1748
- ...rest
1749
- }, ref) => {
1750
- const handleChange = (e) => {
1751
- if (onChange) {
1752
- onChange(e);
1753
- }
1754
- if (onChangeText) {
1755
- onChangeText(e.target.value);
1756
- }
1757
- };
1758
- const inputValue = value !== void 0 ? value : "";
1759
- return /* @__PURE__ */ jsx611(
1760
- StyledInput3,
1761
- {
1762
- ref,
1763
- id,
1764
- value: inputValue,
1765
- name,
1766
- placeholder,
1767
- onChange: handleChange,
1768
- onFocus,
1769
- onBlur,
1770
- onKeyDown,
1771
- disabled,
1772
- type: secureTextEntry ? "password" : type || "text",
1773
- inputMode,
1774
- autoComplete,
1775
- style,
1776
- color,
1777
- fontSize,
1778
- placeholderTextColor,
1779
- maxLength,
1780
- "aria-invalid": ariaInvalid,
1781
- "aria-describedby": ariaDescribedBy,
1782
- "aria-labelledby": ariaLabelledBy,
1783
- "aria-label": ariaLabel,
1784
- "aria-disabled": ariaDisabled,
1785
- "data-testid": dataTestId,
1786
- ...rest
1787
- }
1788
- );
1789
- }
1790
- );
1791
- InputPrimitive3.displayName = "InputPrimitive";
1792
- var StyledTextArea3 = styled73.textarea`
1793
- background: transparent;
1794
- border: none;
1795
- outline: none;
1796
- width: 100%;
1797
- height: 100%;
1798
- padding: 0;
1799
- margin: 0;
1800
- color: ${(props) => props.color || "inherit"};
1801
- font-size: ${(props) => typeof props.fontSize === "number" ? `${props.fontSize}px` : props.fontSize || "inherit"};
1802
- font-family: inherit;
1803
- text-align: inherit;
1804
- resize: none;
1805
-
1806
- &::placeholder {
1807
- color: ${(props) => props.placeholderTextColor || "rgba(255, 255, 255, 0.5)"};
1808
- }
1809
-
1810
- &:disabled {
1811
- cursor: not-allowed;
1812
- }
1813
- `;
1814
- var TextAreaPrimitive3 = forwardRef23(
1815
- ({
1816
- value,
1817
- placeholder,
1818
- onChangeText,
1819
- onFocus,
1820
- onBlur,
1821
- onKeyDown,
1822
- disabled,
1823
- style,
1824
- color,
1825
- fontSize,
1826
- placeholderTextColor,
1827
- maxLength,
1828
- rows
1829
- }, ref) => {
1830
- return /* @__PURE__ */ jsx711(
1831
- StyledTextArea3,
1832
- {
1833
- ref,
1834
- value,
1835
- placeholder,
1836
- onChange: (e) => onChangeText?.(e.target.value),
1837
- onFocus,
1838
- onBlur,
1839
- onKeyDown,
1840
- disabled,
1841
- style,
1842
- color,
1843
- fontSize,
1844
- placeholderTextColor,
1845
- maxLength,
1846
- rows
1847
- }
1848
- );
1849
- }
1850
- );
1851
- TextAreaPrimitive3.displayName = "TextAreaPrimitive";
1852
1005
  var Tag = ({
1853
1006
  size = "md",
1854
1007
  tone = "primary",
@@ -1909,7 +1062,7 @@ var Tag = ({
1909
1062
  };
1910
1063
  const { bg, text } = resolveColors();
1911
1064
  return /* @__PURE__ */ jsxs(
1912
- Box3,
1065
+ Box2,
1913
1066
  {
1914
1067
  backgroundColor: bg,
1915
1068
  borderRadius: sizeStyles.radius,
@@ -1925,8 +1078,8 @@ var Tag = ({
1925
1078
  whiteSpace: "nowrap"
1926
1079
  },
1927
1080
  children: [
1928
- icon && /* @__PURE__ */ jsx811(Icon4, { size: sizeStyles.iconSize, color: text, children: icon }),
1929
- /* @__PURE__ */ jsx811(
1081
+ icon && /* @__PURE__ */ jsx410(Icon4, { size: sizeStyles.iconSize, color: text, children: icon }),
1082
+ /* @__PURE__ */ jsx410(
1930
1083
  Text2,
1931
1084
  {
1932
1085
  color: text,
@@ -1940,7 +1093,7 @@ var Tag = ({
1940
1093
  children
1941
1094
  }
1942
1095
  ),
1943
- onRemove && /* @__PURE__ */ jsx811(Box3, { onPress: onRemove, children: /* @__PURE__ */ jsx811(X2, { size: sizeStyles.iconSize, color: text }) })
1096
+ onRemove && /* @__PURE__ */ jsx410(Box2, { onPress: onRemove, children: /* @__PURE__ */ jsx410(X2, { size: sizeStyles.iconSize, color: text }) })
1944
1097
  ]
1945
1098
  }
1946
1099
  );
@@ -1948,7 +1101,7 @@ var Tag = ({
1948
1101
 
1949
1102
  // src/useMultiSelectControl.tsx
1950
1103
  import { useDesignSystem as useDesignSystem2 } from "@xsolla/xui-core";
1951
- import { jsx as jsx386, jsxs as jsxs2 } from "react/jsx-runtime";
1104
+ import { jsx as jsx385, jsxs as jsxs2 } from "react/jsx-runtime";
1952
1105
  var COUNT_ITEM_VALUE = "count-item";
1953
1106
  var useMultiSelectControl = ({
1954
1107
  variant,
@@ -2008,7 +1161,7 @@ var useMultiSelectControl = ({
2008
1161
  };
2009
1162
  const setPlaceholder = () => {
2010
1163
  setSelectedContent(
2011
- /* @__PURE__ */ jsx386(
1164
+ /* @__PURE__ */ jsx385(
2012
1165
  Text,
2013
1166
  {
2014
1167
  color: theme.colors.control.input.placeholder,
@@ -2059,7 +1212,7 @@ var useMultiSelectControl = ({
2059
1212
  const isCount = item.value === COUNT_ITEM_VALUE;
2060
1213
  const isReducable = index === 0 && displayStateRef.current === 3 /* Render */ && displayedItemsCount === 0 || flexible;
2061
1214
  if (variant === "tag") {
2062
- return /* @__PURE__ */ jsx386(
1215
+ return /* @__PURE__ */ jsx385(
2063
1216
  Box,
2064
1217
  {
2065
1218
  onPress: !isCount ? (e) => {
@@ -2071,7 +1224,7 @@ var useMultiSelectControl = ({
2071
1224
  opacity: disabled ? 0.5 : 1,
2072
1225
  cursor: disabled || isCount ? "not-allowed" : "pointer"
2073
1226
  },
2074
- children: /* @__PURE__ */ jsx386(
1227
+ children: /* @__PURE__ */ jsx385(
2075
1228
  Tag,
2076
1229
  {
2077
1230
  size,
@@ -2191,8 +1344,8 @@ var useMultiSelectControl = ({
2191
1344
  };
2192
1345
 
2193
1346
  // src/MultiSelectControl.tsx
2194
- import { jsx as jsx387, jsxs as jsxs3 } from "react/jsx-runtime";
2195
- var MultiSelectControl = forwardRef7(
1347
+ import { jsx as jsx386, jsxs as jsxs3 } from "react/jsx-runtime";
1348
+ var MultiSelectControl = forwardRef3(
2196
1349
  ({
2197
1350
  variant = "tag",
2198
1351
  flexible = true,
@@ -2292,8 +1445,8 @@ var MultiSelectControl = forwardRef7(
2292
1445
  gap: 8,
2293
1446
  style: { minWidth: 0 },
2294
1447
  children: [
2295
- iconLeft && /* @__PURE__ */ jsx387(Icon, { size: sizeStyles.iconSize, color: iconColor, variant: "line", children: iconLeft }),
2296
- /* @__PURE__ */ jsx387(
1448
+ iconLeft && /* @__PURE__ */ jsx386(Icon, { size: sizeStyles.iconSize, color: iconColor, variant: "line", children: iconLeft }),
1449
+ /* @__PURE__ */ jsx386(
2297
1450
  Box,
2298
1451
  {
2299
1452
  ref: itemsRef,
@@ -2313,7 +1466,7 @@ var MultiSelectControl = forwardRef7(
2313
1466
  }
2314
1467
  ),
2315
1468
  /* @__PURE__ */ jsxs3(Box, { flexDirection: "row", alignItems: "center", gap: 4, children: [
2316
- extraClear && selectedItems.length > 0 && !isDisable && /* @__PURE__ */ jsx387(
1469
+ extraClear && selectedItems.length > 0 && !isDisable && /* @__PURE__ */ jsx386(
2317
1470
  Box,
2318
1471
  {
2319
1472
  onPress: (e) => {
@@ -2321,17 +1474,17 @@ var MultiSelectControl = forwardRef7(
2321
1474
  removeAllValues();
2322
1475
  },
2323
1476
  style: { cursor: "pointer" },
2324
- children: /* @__PURE__ */ jsx387(Remove, { size: 18, color: iconColor, variant: "line" })
1477
+ children: /* @__PURE__ */ jsx386(Remove, { size: 18, color: iconColor, variant: "line" })
2325
1478
  }
2326
1479
  ),
2327
- isError && /* @__PURE__ */ jsx387(
1480
+ isError && /* @__PURE__ */ jsx386(
2328
1481
  ExclamationMarkCr,
2329
1482
  {
2330
1483
  size: 18,
2331
1484
  color: theme.colors.content.alert.primary
2332
1485
  }
2333
1486
  ),
2334
- iconRight ? iconRight : isOpen ? /* @__PURE__ */ jsx387(ChevronUp, { size: 18, color: iconColor, variant: "line" }) : /* @__PURE__ */ jsx387(ChevronDown, { size: 18, color: iconColor })
1487
+ iconRight ? iconRight : isOpen ? /* @__PURE__ */ jsx386(ChevronUp, { size: 18, color: iconColor, variant: "line" }) : /* @__PURE__ */ jsx386(ChevronDown, { size: 18, color: iconColor })
2335
1488
  ] })
2336
1489
  ]
2337
1490
  }
@@ -2432,8 +1585,8 @@ var useMultiSelect = ({
2432
1585
  };
2433
1586
 
2434
1587
  // src/MultiSelect.tsx
2435
- import { Fragment, jsx as jsx388, jsxs as jsxs4 } from "react/jsx-runtime";
2436
- var MultiSelect = forwardRef8(
1588
+ import { Fragment, jsx as jsx387, jsxs as jsxs4 } from "react/jsx-runtime";
1589
+ var MultiSelect = forwardRef4(
2437
1590
  ({
2438
1591
  options,
2439
1592
  errorMessage,
@@ -2497,7 +1650,7 @@ var MultiSelect = forwardRef8(
2497
1650
  onChoose(newValues.map(String));
2498
1651
  };
2499
1652
  return /* @__PURE__ */ jsxs4(Box, { flexDirection: "column", gap: sizeStyles.fieldGap, children: [
2500
- label && /* @__PURE__ */ jsx388(
1653
+ label && /* @__PURE__ */ jsx387(
2501
1654
  Text,
2502
1655
  {
2503
1656
  color: theme.colors.content.secondary,
@@ -2514,7 +1667,7 @@ var MultiSelect = forwardRef8(
2514
1667
  position: "relative"
2515
1668
  },
2516
1669
  children: [
2517
- /* @__PURE__ */ jsx388(
1670
+ /* @__PURE__ */ jsx387(
2518
1671
  MultiSelectControl,
2519
1672
  {
2520
1673
  ref: controlRef,
@@ -2539,7 +1692,7 @@ var MultiSelect = forwardRef8(
2539
1692
  }
2540
1693
  ),
2541
1694
  isOpen && !isDisable && /* @__PURE__ */ jsxs4(Fragment, { children: [
2542
- /* @__PURE__ */ jsx388(
1695
+ /* @__PURE__ */ jsx387(
2543
1696
  Box,
2544
1697
  {
2545
1698
  style: {
@@ -2554,7 +1707,7 @@ var MultiSelect = forwardRef8(
2554
1707
  onPress: onClose
2555
1708
  }
2556
1709
  ),
2557
- /* @__PURE__ */ jsx388(
1710
+ /* @__PURE__ */ jsx387(
2558
1711
  Box,
2559
1712
  {
2560
1713
  ref: menuRef,
@@ -2578,7 +1731,7 @@ var MultiSelect = forwardRef8(
2578
1731
  children: menuItems.map((item, _index) => {
2579
1732
  const brandColors = theme.colors.control.brand.primary;
2580
1733
  const contentColors = theme.colors.content;
2581
- return /* @__PURE__ */ jsx388(
1734
+ return /* @__PURE__ */ jsx387(
2582
1735
  Box,
2583
1736
  {
2584
1737
  paddingHorizontal: sizeStyles.paddingHorizontal,
@@ -2599,7 +1752,7 @@ var MultiSelect = forwardRef8(
2599
1752
  cursor: item.disabled ? "not-allowed" : "pointer",
2600
1753
  opacity: item.disabled ? 0.5 : 1
2601
1754
  },
2602
- children: /* @__PURE__ */ jsx388(
1755
+ children: /* @__PURE__ */ jsx387(
2603
1756
  Text,
2604
1757
  {
2605
1758
  color: item.checked ? contentColors.on.brand : theme.colors.content.secondary,
@@ -2618,7 +1771,7 @@ var MultiSelect = forwardRef8(
2618
1771
  ]
2619
1772
  }
2620
1773
  ),
2621
- errorMessage && /* @__PURE__ */ jsx388(
1774
+ errorMessage && /* @__PURE__ */ jsx387(
2622
1775
  Text,
2623
1776
  {
2624
1777
  color: theme.colors.content.alert.primary,