@xsolla/xui-primitives-web 0.99.0 → 0.100.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 +2 -19
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
# @xsolla/xui-primitives-web
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
yarn add @xsolla/xui-primitives-web
|
|
9
|
-
```
|
|
3
|
+
> **Internal package — do not use directly.** This package is used internally to build toolkit components. Consumers should use the published components (e.g. `@xsolla/xui-button`, `@xsolla/xui-controls`).
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```tsx
|
|
14
|
-
import { Box, Text, Input } from '@xsolla/xui-primitives-web';
|
|
15
|
-
|
|
16
|
-
const MyComponent = () => (
|
|
17
|
-
<Box flexDirection="row" gap={8} padding={16}>
|
|
18
|
-
<Text fontSize={16} color="#fff">Hello</Text>
|
|
19
|
-
<Input value={value} onChangeText={setValue} placeholder="Type here" />
|
|
20
|
-
</Box>
|
|
21
|
-
);
|
|
22
|
-
```
|
|
5
|
+
Web implementations of XUI primitive components, built with styled-components.
|
|
23
6
|
|
|
24
7
|
## Exports
|
|
25
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-primitives-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.0",
|
|
4
|
+
"description": "Internal web primitives for the Xsolla UI Toolkit. Not intended for direct consumer use.",
|
|
4
5
|
"main": "./index.js",
|
|
5
6
|
"module": "./index.mjs",
|
|
6
7
|
"types": "./index.d.ts",
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
"styled-components": "^4.0.0"
|
|
14
15
|
},
|
|
15
16
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-primitives-core": "0.
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.100.0",
|
|
17
18
|
"lucide-react": "^0.470.0"
|
|
18
19
|
},
|
|
19
20
|
"devDependencies": {
|