@xsolla/xui-button 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/Button.tsx
2
2
  import React3, { useState } 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/Spinner.tsx
284
+ // ../../foundation/primitives-web/src/Spinner.tsx
285
285
  import styled3, { keyframes } from "styled-components";
286
286
  import { jsx as jsx3 } from "react/jsx-runtime";
287
287
  var rotate = keyframes`
@@ -326,7 +326,7 @@ var Spinner = ({
326
326
  };
327
327
  Spinner.displayName = "Spinner";
328
328
 
329
- // ../primitives-web/src/Icon.tsx
329
+ // ../../foundation/primitives-web/src/Icon.tsx
330
330
  import styled4 from "styled-components";
331
331
  import { jsx as jsx4 } from "react/jsx-runtime";
332
332
  var FilteredDiv3 = createFilteredElement("div");