@xlabs-store/react 0.0.1 → 0.0.2
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 +7 -42
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -0
- package/dist/index.mjs +17434 -11002
- package/dist/lib/components.d.ts +338 -209
- package/dist/lib/components.d.ts.map +1 -1
- package/dist/package.json +40 -25
- package/dist/styles.css +2 -1
- package/package.json +40 -43
- package/dist/README.md +0 -7
package/README.md
CHANGED
|
@@ -1,42 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Native React UI component library based on Design Tokens. Full support for modern React features including Hooks and Server Components.
|
|
10
|
-
|
|
11
|
-
[](https://www.npmjs.com/package/@xlabs-store/react)
|
|
12
|
-
[](https://github.com/fint-vn/xlabs/blob/main/LICENSE)
|
|
13
|
-
|
|
14
|
-
<p align="center">
|
|
15
|
-
<img src="https://user-images.githubusercontent.com/507615/209472919-6f7e8561-be8c-4b0b-9976-eb3c692aa20a.png" width="100%" />
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
## 📦 Installation
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npm install @xlabs-store/react
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## ⌨️ Usage
|
|
25
|
-
|
|
26
|
-
```jsx
|
|
27
|
-
import { Button } from '@xlabs-store/react';
|
|
28
|
-
import '@xlabs-store/core/dist/styles.css';
|
|
29
|
-
|
|
30
|
-
const App = () => (
|
|
31
|
-
<Button type="primary">React Button</Button>
|
|
32
|
-
);
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## 🚀 Native Performance
|
|
36
|
-
|
|
37
|
-
Each component is optimized specifically for React through advanced serialization and event management, ensuring the lowest possible memory footprint and highest re-rendering performance.
|
|
38
|
-
|
|
39
|
-
## 🔗 Links
|
|
40
|
-
|
|
41
|
-
- [Official Documentation](https://xlabs.fint.vn)
|
|
42
|
-
- [Main Repository (Mono-repo)](../../README.md)
|
|
1
|
+
# react
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Running unit tests
|
|
6
|
+
|
|
7
|
+
Run `nx test react` to execute the unit tests via [Vitest](https://vitest.dev/).
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,mBAAmB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC"}
|