@xsolla/xui-primitives-native 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 +2 -2
package/README.md
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
# @xsolla/xui-primitives-native
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
yarn add @xsolla/xui-primitives-native
|
|
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-native';
|
|
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
|
+
React Native implementations of XUI primitive components.
|
|
23
6
|
|
|
24
7
|
## Exports
|
|
25
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-primitives-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.100.0",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"module": "./index.mjs",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"react-native": "*"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@xsolla/xui-primitives-core": "0.
|
|
15
|
+
"@xsolla/xui-primitives-core": "0.100.0",
|
|
16
16
|
"lucide-react-native": "^0.470.0",
|
|
17
17
|
"react-native-svg": "^15.10.1"
|
|
18
18
|
},
|