@xsolla/xui-context-menu 0.141.0 → 0.147.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/native/index.js +5 -5
- package/native/index.js.map +1 -1
- package/native/index.mjs +5 -5
- package/native/index.mjs.map +1 -1
- package/package.json +8 -8
- package/web/index.js +10 -10
- package/web/index.js.map +1 -1
- package/web/index.mjs +10 -10
- package/web/index.mjs.map +1 -1
- package/README.md +0 -336
package/web/index.mjs
CHANGED
|
@@ -8,14 +8,14 @@ import React8, {
|
|
|
8
8
|
useMemo
|
|
9
9
|
} from "react";
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// ../../foundation/primitives-web/src/Box.tsx
|
|
12
12
|
import React2 from "react";
|
|
13
13
|
import styled from "styled-components";
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// ../../foundation/primitives-web/src/filterDOMProps.ts
|
|
16
16
|
import React from "react";
|
|
17
17
|
|
|
18
|
-
//
|
|
18
|
+
// ../../../node_modules/@emotion/memoize/dist/memoize.esm.js
|
|
19
19
|
function memoize(fn) {
|
|
20
20
|
var cache = {};
|
|
21
21
|
return function(arg) {
|
|
@@ -25,7 +25,7 @@ function memoize(fn) {
|
|
|
25
25
|
}
|
|
26
26
|
var memoize_esm_default = memoize;
|
|
27
27
|
|
|
28
|
-
//
|
|
28
|
+
// ../../../node_modules/@emotion/is-prop-valid/dist/is-prop-valid.esm.js
|
|
29
29
|
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)-.*))$/;
|
|
30
30
|
var index = memoize_esm_default(
|
|
31
31
|
function(prop) {
|
|
@@ -35,7 +35,7 @@ var index = memoize_esm_default(
|
|
|
35
35
|
);
|
|
36
36
|
var is_prop_valid_esm_default = index;
|
|
37
37
|
|
|
38
|
-
//
|
|
38
|
+
// ../../foundation/primitives-web/src/filterDOMProps.ts
|
|
39
39
|
var ADDITIONAL_BLOCKED_PROPS = /* @__PURE__ */ new Set([
|
|
40
40
|
// RN-only event handlers (pass isPropValid's on* pattern)
|
|
41
41
|
"onPress",
|
|
@@ -81,7 +81,7 @@ function createFilteredElement(defaultTag) {
|
|
|
81
81
|
return Component;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
//
|
|
84
|
+
// ../../foundation/primitives-web/src/Box.tsx
|
|
85
85
|
import { jsx } from "react/jsx-runtime";
|
|
86
86
|
var FilteredDiv = createFilteredElement("div");
|
|
87
87
|
var StyledBox = styled(FilteredDiv)`
|
|
@@ -254,7 +254,7 @@ var Box = React2.forwardRef(
|
|
|
254
254
|
);
|
|
255
255
|
Box.displayName = "Box";
|
|
256
256
|
|
|
257
|
-
//
|
|
257
|
+
// ../../foundation/primitives-web/src/Text.tsx
|
|
258
258
|
import styled2 from "styled-components";
|
|
259
259
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
260
260
|
var FilteredSpan = createFilteredElement("span");
|
|
@@ -288,7 +288,7 @@ var Text = ({
|
|
|
288
288
|
);
|
|
289
289
|
};
|
|
290
290
|
|
|
291
|
-
//
|
|
291
|
+
// ../../foundation/primitives-web/src/Icon.tsx
|
|
292
292
|
import styled3 from "styled-components";
|
|
293
293
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
294
294
|
var FilteredDiv2 = createFilteredElement("div");
|
|
@@ -311,7 +311,7 @@ var Icon = ({ children, ...props }) => {
|
|
|
311
311
|
return /* @__PURE__ */ jsx3(StyledIcon, { ...props, children });
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
//
|
|
314
|
+
// ../../foundation/primitives-web/src/Input.tsx
|
|
315
315
|
import { forwardRef } from "react";
|
|
316
316
|
import styled4 from "styled-components";
|
|
317
317
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
@@ -1112,7 +1112,7 @@ ContextMenuSeparator.displayName = "ContextMenuSeparator";
|
|
|
1112
1112
|
import React7, { forwardRef as forwardRef7, useRef as useRef4, useEffect as useEffect4 } from "react";
|
|
1113
1113
|
import { useResolvedTheme as useResolvedTheme6 } from "@xsolla/xui-core";
|
|
1114
1114
|
|
|
1115
|
-
//
|
|
1115
|
+
// ../../foundation/icons-base/dist/web/index.mjs
|
|
1116
1116
|
import styled5 from "styled-components";
|
|
1117
1117
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
1118
1118
|
import { jsx as jsx22 } from "react/jsx-runtime";
|