@simplexable/ui 0.1.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 +21 -0
- package/dist/index.js +11151 -0
- package/dist/styles.css +2 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @simplexable/ui
|
|
2
|
+
|
|
3
|
+
`@simplexable/ui` is a small, reusable React component library for Simplexable applications. It is intentionally independent of any consuming application repository.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm run dev
|
|
9
|
+
npm run build
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
The first command starts the Vite demo workbench. The build command produces the reusable library in `dist/`.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```jsx
|
|
17
|
+
import { Button } from '@simplexable/ui';
|
|
18
|
+
import '@simplexable/ui/styles.css';
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Keep this package independent from consuming application repositories: components must not import application code, configuration, routing, contexts, API helpers, or assets from them.
|