@xsolla/xui-xsolla-com 0.0.0-stage → 0.237.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/README.md +19 -2
- package/native/index.d.mts +2 -0
- package/native/index.d.ts +2 -0
- package/native/index.js +19 -0
- package/native/index.js.map +1 -0
- package/native/index.mjs +1 -0
- package/native/index.mjs.map +1 -0
- package/package.json +43 -3
- package/web/index.d.mts +2 -0
- package/web/index.d.ts +2 -0
- package/web/index.js +19 -0
- package/web/index.js.map +1 -0
- package/web/index.mjs +1 -0
- package/web/index.mjs.map +1 -0
package/README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @xsolla/xui-xsolla-com
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Xsolla.com (corporate site) block library for the Xsolla UI Toolkit.
|
|
4
|
+
|
|
5
|
+
This is the aggregator for the `packages/xsolla-com/*` tier. It re-exports every
|
|
6
|
+
`@xsolla/xui-xsolla-com-<block>` package. Blocks target the `corpsite-light` /
|
|
7
|
+
`corpsite-dark` themes and the `corpsite` product context:
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { XUIProvider } from "@xsolla/xui-core";
|
|
11
|
+
|
|
12
|
+
<XUIProvider initialMode="corpsite-light" initialProductContext="corpsite">
|
|
13
|
+
{/* xsolla.com blocks */}
|
|
14
|
+
</XUIProvider>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Figma source: Corpsite Design System → Sections
|
|
18
|
+
(https://www.figma.com/design/dr1i4E3L0P2tdDXwsDBnhi/Corpsite-Design-System?node-id=11717-9407).
|
|
19
|
+
|
|
20
|
+
Storybook: `yarn storybook:xsolla-com` (port 6011).
|
package/native/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/index.tsx
|
|
17
|
+
var index_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(index_exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.tsx"],"sourcesContent":["/**\n * @xsolla/xui-xsolla-com — Xsolla.com (corporate site) block library.\n *\n * Aggregator for the `packages/xsolla-com/*` tier (XUITSD-137). Block packages\n * (`@xsolla/xui-xsolla-com-<block>`) are re-exported here as they are imported\n * from the Corpsite Design System \"Sections\" Figma page.\n */\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/native/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-xsolla-com",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.237.0",
|
|
4
|
+
"main": "./web/index.js",
|
|
5
|
+
"types": "./web/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build:web": "PLATFORM=web tsup",
|
|
8
|
+
"build:native": "PLATFORM=native tsup"
|
|
9
|
+
},
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"react": ">=16.8.0",
|
|
12
|
+
"styled-components": ">=4"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
16
|
+
"esbuild-plugin-alias": "^0.2.1",
|
|
17
|
+
"tsup": "^8.0.0",
|
|
18
|
+
"vitest": "^4.0.18"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"module": "./web/index.mjs",
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"react-native": "./native/index.js",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"react-native": {
|
|
27
|
+
"types": "./native/index.d.ts",
|
|
28
|
+
"import": "./native/index.mjs",
|
|
29
|
+
"require": "./native/index.js"
|
|
30
|
+
},
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./web/index.d.ts",
|
|
33
|
+
"default": "./web/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./web/index.d.ts",
|
|
37
|
+
"default": "./web/index.js"
|
|
38
|
+
},
|
|
39
|
+
"default": {
|
|
40
|
+
"types": "./web/index.d.ts",
|
|
41
|
+
"default": "./web/index.js"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {}
|
|
6
46
|
}
|
package/web/index.d.mts
ADDED
package/web/index.d.ts
ADDED
package/web/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/index.tsx
|
|
17
|
+
var index_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(index_exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
package/web/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.tsx"],"sourcesContent":["/**\n * @xsolla/xui-xsolla-com — Xsolla.com (corporate site) block library.\n *\n * Aggregator for the `packages/xsolla-com/*` tier (XUITSD-137). Block packages\n * (`@xsolla/xui-xsolla-com-<block>`) are re-exported here as they are imported\n * from the Corpsite Design System \"Sections\" Figma page.\n */\nexport {};\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/web/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|