@wirecore/wirelayer-blocks-react 0.1.2 → 0.2.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 +2 -0
- package/dist/sources/AuthForm.css +11 -0
- package/dist/sources/AuthLayout.css +2 -0
- package/dist/sources/ConditionBuilder.css +11 -0
- package/dist/sources/CtaSection.css +2 -0
- package/dist/sources/ModeToggle.css +2 -0
- package/dist/sources/SiteHeader.css +3 -0
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ pnpm add @wirecore/wirelayer-blocks-react @wirecore/wirelayer-react
|
|
|
18
18
|
import { ConditionBuilder } from '@wirecore/wirelayer-blocks-react';
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
The classes come with `@wirecore/wirelayer-react/styles.css`. With `styles-core.css` (smaller CSS file), import those of each block you use: `@import '@wirecore/wirelayer-blocks-react/sources/SiteHeader.css';`
|
|
22
|
+
|
|
21
23
|
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.
|
|
22
24
|
|
|
23
25
|
## License
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Classes of AuthForm – generated by scripts/sources.ts, do not edit */
|
|
2
|
+
@import '@wirecore/wirelayer-recipes/sources/authForm.css';
|
|
3
|
+
@import '@wirecore/wirelayer-recipes/sources/button.css';
|
|
4
|
+
@import '@wirecore/wirelayer-recipes/sources/checkbox.css';
|
|
5
|
+
@import '@wirecore/wirelayer-recipes/sources/field.css';
|
|
6
|
+
@import '@wirecore/wirelayer-recipes/sources/formErrorSummary.css';
|
|
7
|
+
@import '@wirecore/wirelayer-recipes/sources/input.css';
|
|
8
|
+
@import '@wirecore/wirelayer-recipes/sources/passwordInput.css';
|
|
9
|
+
@import '@wirecore/wirelayer-recipes/sources/pinInput.css';
|
|
10
|
+
@import '@wirecore/wirelayer-recipes/sources/spinner.css';
|
|
11
|
+
@import '@wirecore/wirelayer-recipes/sources/toggletip.css';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Classes of ConditionBuilder – generated by scripts/sources.ts, do not edit */
|
|
2
|
+
@import '@wirecore/wirelayer-recipes/sources/button.css';
|
|
3
|
+
@import '@wirecore/wirelayer-recipes/sources/checkbox.css';
|
|
4
|
+
@import '@wirecore/wirelayer-recipes/sources/conditionBuilder.css';
|
|
5
|
+
@import '@wirecore/wirelayer-recipes/sources/datePicker.css';
|
|
6
|
+
@import '@wirecore/wirelayer-recipes/sources/iconButton.css';
|
|
7
|
+
@import '@wirecore/wirelayer-recipes/sources/input.css';
|
|
8
|
+
@import '@wirecore/wirelayer-recipes/sources/multiSelect.css';
|
|
9
|
+
@import '@wirecore/wirelayer-recipes/sources/nativeSelect.css';
|
|
10
|
+
@import '@wirecore/wirelayer-recipes/sources/numberInput.css';
|
|
11
|
+
@import '@wirecore/wirelayer-recipes/sources/spinner.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-blocks-react",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Page blocks for React (site header, CTA section, mode toggle, sign-in form and layout) and the condition builder, built on @wirecore/wirelayer-react",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,20 +18,21 @@
|
|
|
18
18
|
".": {
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"default": "./dist/index.js"
|
|
21
|
-
}
|
|
21
|
+
},
|
|
22
|
+
"./sources/*": "./dist/sources/*"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"dist"
|
|
25
26
|
],
|
|
26
27
|
"peerDependencies": {
|
|
27
|
-
"@wirecore/wirelayer-react": "^0.
|
|
28
|
+
"@wirecore/wirelayer-react": "^0.3.1",
|
|
28
29
|
"react": "^19.0.0",
|
|
29
30
|
"react-dom": "^19.0.0",
|
|
30
|
-
"tailwindcss": "^4.
|
|
31
|
+
"tailwindcss": "^4.1.0"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"@ark-ui/react": "^5.39.3",
|
|
34
|
-
"@wirecore/wirelayer-recipes": "^0.
|
|
35
|
+
"@wirecore/wirelayer-recipes": "^0.3.1",
|
|
35
36
|
"lucide-react": "^1.59.0"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"@types/react": "^19.3.0",
|
|
41
42
|
"@types/react-dom": "^19.3.0",
|
|
42
43
|
"@vitejs/plugin-react": "^6.1.2",
|
|
43
|
-
"@wirecore/wirelayer-react": "0.
|
|
44
|
+
"@wirecore/wirelayer-react": "0.3.1",
|
|
44
45
|
"react": "^19.3.1",
|
|
45
46
|
"react-dom": "^19.3.1",
|
|
46
47
|
"tailwindcss": "^4.3.3",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"vite": "^8.3.4"
|
|
49
50
|
},
|
|
50
51
|
"scripts": {
|
|
51
|
-
"build": "vite build && tsc -p tsconfig.build.json",
|
|
52
|
+
"build": "vite build && tsc -p tsconfig.build.json && node ../../scripts/sources.ts components",
|
|
52
53
|
"typecheck": "tsc --noEmit"
|
|
53
54
|
}
|
|
54
55
|
}
|