@xlabs-store/react 0.0.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/README.md ADDED
@@ -0,0 +1,42 @@
1
+ <p align="center">
2
+ <a href="https://xlabs.fint.vn">
3
+ <img width="80" src="https://xlabs.fint.vn/favicon.ico?favicon.c0779518.ico">
4
+ </a>
5
+ </p>
6
+
7
+ # @xlabs-store/react
8
+
9
+ Native React UI component library based on Design Tokens. Full support for modern React features including Hooks and Server Components.
10
+
11
+ [![npm version](https://img.shields.io/npm/v/@xlabs-store/react.svg?style=flat-square)](https://www.npmjs.com/package/@xlabs-store/react)
12
+ [![License](https://img.shields.io/npm/l/@xlabs-store/react.svg?style=flat-square)](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)
package/dist/README.md ADDED
@@ -0,0 +1,7 @@
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/).
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ export * from './lib/components';
2
+ export { message, notification, Modal, Modal as model } from '@xlabs/core';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,KAAK,IAAI,KAAK,EAAE,MAAM,aAAa,CAAC"}