@xsolla/xui-select 0.141.0 → 0.141.1

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,14 +1,14 @@
1
1
  // src/Select.tsx
2
2
  import React3, { useState, useRef, useEffect } from "react";
3
3
 
4
- // ../primitives-web/src/Box.tsx
4
+ // ../../foundation/primitives-web/src/Box.tsx
5
5
  import React2 from "react";
6
6
  import styled from "styled-components";
7
7
 
8
- // ../primitives-web/src/filterDOMProps.ts
8
+ // ../../foundation/primitives-web/src/filterDOMProps.ts
9
9
  import React from "react";
10
10
 
11
- // ../../node_modules/@emotion/memoize/dist/memoize.esm.js
11
+ // ../../../node_modules/@emotion/memoize/dist/memoize.esm.js
12
12
  function memoize(fn) {
13
13
  var cache = {};
14
14
  return function(arg) {
@@ -18,7 +18,7 @@ function memoize(fn) {
18
18
  }
19
19
  var memoize_esm_default = memoize;
20
20
 
21
- // ../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.esm.js
21
+ // ../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.esm.js
22
22
  var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;
23
23
  var index = memoize_esm_default(
24
24
  function(prop) {
@@ -28,7 +28,7 @@ var index = memoize_esm_default(
28
28
  );
29
29
  var is_prop_valid_esm_default = index;
30
30
 
31
- // ../primitives-web/src/filterDOMProps.ts
31
+ // ../../foundation/primitives-web/src/filterDOMProps.ts
32
32
  var ADDITIONAL_BLOCKED_PROPS = /* @__PURE__ */ new Set([
33
33
  // RN-only event handlers (pass isPropValid's on* pattern)
34
34
  "onPress",
@@ -74,7 +74,7 @@ function createFilteredElement(defaultTag) {
74
74
  return Component;
75
75
  }
76
76
 
77
- // ../primitives-web/src/Box.tsx
77
+ // ../../foundation/primitives-web/src/Box.tsx
78
78
  import { jsx } from "react/jsx-runtime";
79
79
  var FilteredDiv = createFilteredElement("div");
80
80
  var StyledBox = styled(FilteredDiv)`
@@ -247,7 +247,7 @@ var Box = React2.forwardRef(
247
247
  );
248
248
  Box.displayName = "Box";
249
249
 
250
- // ../primitives-web/src/Text.tsx
250
+ // ../../foundation/primitives-web/src/Text.tsx
251
251
  import styled2 from "styled-components";
252
252
  import { jsx as jsx2 } from "react/jsx-runtime";
253
253
  var FilteredSpan = createFilteredElement("span");
@@ -281,7 +281,7 @@ var Text = ({
281
281
  );
282
282
  };
283
283
 
284
- // ../primitives-web/src/Icon.tsx
284
+ // ../../foundation/primitives-web/src/Icon.tsx
285
285
  import styled3 from "styled-components";
286
286
  import { jsx as jsx3 } from "react/jsx-runtime";
287
287
  var FilteredDiv2 = createFilteredElement("div");
@@ -304,14 +304,14 @@ var Icon = ({ children, ...props }) => {
304
304
  return /* @__PURE__ */ jsx3(StyledIcon, { ...props, children });
305
305
  };
306
306
 
307
- // ../primitives-web/src/index.tsx
307
+ // ../../foundation/primitives-web/src/index.tsx
308
308
  var isWeb = true;
309
309
  var isNative = false;
310
310
 
311
311
  // src/Select.tsx
312
312
  import { useResolvedTheme } from "@xsolla/xui-core";
313
313
 
314
- // ../icons-base/dist/web/index.mjs
314
+ // ../../foundation/icons-base/dist/web/index.mjs
315
315
  import styled4 from "styled-components";
316
316
  import { jsx as jsx4 } from "react/jsx-runtime";
317
317
  import { jsx as jsx22 } from "react/jsx-runtime";