@wirecore/wirelayer-react 0.1.0 → 0.1.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 +37 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/WireCore/WireLayer/main/assets/wirelayer.svg" alt="" width="56" height="56" />
|
|
2
|
+
|
|
3
|
+
# @wirecore/wirelayer-react
|
|
4
|
+
|
|
5
|
+
Around 180 accessible React components on Ark UI and Tailwind CSS v4 – forms, DataTable, charts, editor, scheduler, overlays, navigation and more, with the same API as `@wirecore/wirelayer-vue`.
|
|
6
|
+
|
|
7
|
+
[Storybook](https://wirecore.github.io/WireLayer/) · [GitHub](https://github.com/WireCore/WireLayer) · [Changelog](./CHANGELOG.md)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pnpm add @wirecore/wirelayer-react
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```css
|
|
18
|
+
@import 'tailwindcss';
|
|
19
|
+
@import '@wirecore/wirelayer-react/styles.css';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
import { Button, Field, Input } from '@wirecore/wirelayer-react';
|
|
24
|
+
|
|
25
|
+
<Field label="Email" required>
|
|
26
|
+
<Input type="email" value={email} onChange={(e) => setEmail(e.target.value)} />
|
|
27
|
+
</Field>
|
|
28
|
+
<Button>Start project</Button>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Optional subpaths with their own peer dependencies: `/form` (TanStack Form), `/data-table`, `/virtual`, `/chart` (Chart.js), `/editor` (Tiptap), `/code` (Shiki), `/pdf` (pdf.js), `/locales/<code>`. Setup for Next.js: Storybook › Getting started.
|
|
32
|
+
|
|
33
|
+
Part of [WireLayer](https://github.com/WireCore/WireLayer) – one look and one API for Vue, React, React Native and HTML, accessible according to WCAG 2.2 AA.
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
[MIT](./LICENSE) – Copyright (c) 2026 WireCore GmbH
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "WireLayer components for React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
"dependencies": {
|
|
158
158
|
"@ark-ui/react": "^5.39.3",
|
|
159
159
|
"@internationalized/date": "^3.12.4",
|
|
160
|
-
"@wirecore/wirelayer-recipes": "^0.1.
|
|
161
|
-
"@wirecore/wirelayer-tokens": "^0.1.
|
|
160
|
+
"@wirecore/wirelayer-recipes": "^0.1.1",
|
|
161
|
+
"@wirecore/wirelayer-tokens": "^0.1.1",
|
|
162
162
|
"lucide-react": "^1.59.0"
|
|
163
163
|
},
|
|
164
164
|
"devDependencies": {
|