Chore update project for new package validator (#91)
* chore: updates for new validator package and landing-page app * docs: update packages examples * chore: bump patch, update docs
10
README.md
|
@ -15,11 +15,11 @@
|
||||||
<br />
|
<br />
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
| Packages | Version | Docs | Description |
|
| Packages | Version | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| [@astro-reactive/form](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/form/README.md) | [](https://www.npmjs.com/package/@astro-reactive/form) | 🛠 | generate a dynamic form which can be modified programatically |
|
| [@astro-reactive/form](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/form/README.md) | [](https://www.npmjs.com/package/@astro-reactive/form) | generate a dynamic form which can be modified programatically |
|
||||||
| [@astro-reactive/validator](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/validator/README.md)|  | 🛠 | set up validators for your form easily |
|
| [@astro-reactive/validator](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/validator/README.md)| [](https://www.npmjs.com/package/@astro-reactive/validator) | set up validators for your form easily |
|
||||||
| astro-reactive-datagrid | 🛠 | 🛠 | generate a dynamic datagrid or table of values |
|
| astro-reactive-datagrid | 🛠 | generate a dynamic datagrid or table of values |
|
||||||
|
|
||||||
# HACKTOBERFEST 2022
|
# HACKTOBERFEST 2022
|
||||||
|
|
||||||
|
|
|
@ -13,11 +13,11 @@ layout: ../../layouts/MainLayout.astro
|
||||||
|
|
||||||
Let your data build your UI. Blazing-fast, reactive user interfaces with native [Astro](https://astro.build) components and architecture.
|
Let your data build your UI. Blazing-fast, reactive user interfaces with native [Astro](https://astro.build) components and architecture.
|
||||||
|
|
||||||
| Packages | Version | Docs | Description |
|
| Packages | Version | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| [@astro-reactive/form](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/form/README.md) | [](https://www.npmjs.com/package/@astro-reactive/form) | 🛠 | generate a dynamic form which can be modified programatically |
|
| [@astro-reactive/form](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/form/README.md) | [](https://www.npmjs.com/package/@astro-reactive/form) | generate a dynamic form which can be modified programatically |
|
||||||
| [@astro-reactive/validator](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/validator/README.md)|  | 🛠 | set up validators for your form easily |
|
| [@astro-reactive/validator](https://github.com/ayoayco/astro-reactive-library/blob/main/packages/validator/README.md)| [](https://www.npmjs.com/package/@astro-reactive/validator) | set up validators for your form easily |
|
||||||
| astro-reactive-datagrid | 🛠 | 🛠 | generate a dynamic datagrid or table of values |
|
| astro-reactive-datagrid | 🛠 | generate a dynamic datagrid or table of values |
|
||||||
|
|
||||||
# Running locally
|
# Running locally
|
||||||
|
|
||||||
|
|
|
@ -25,5 +25,17 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"micromodal": "^0.4.10",
|
"micromodal": "^0.4.10",
|
||||||
"tailwindcss": "^3.1.8"
|
"tailwindcss": "^3.1.8"
|
||||||
}
|
},
|
||||||
|
"description": "[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)",
|
||||||
|
"main": "index.js",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/ayoayco/astro-reactive-library.git"
|
||||||
|
},
|
||||||
|
"author": "Ayo Ayco",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/ayoayco/astro-reactive-library/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme"
|
||||||
}
|
}
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 323 KiB After Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
4
landing-page/.vscode/extensions.json
vendored
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"recommendations": ["astro-build.astro-vscode", "bradlc.vscode-tailwindcss"],
|
|
||||||
"unwantedRecommendations": []
|
|
||||||
}
|
|
11
landing-page/.vscode/launch.json
vendored
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"command": "./node_modules/.bin/astro dev",
|
|
||||||
"name": "Development server",
|
|
||||||
"request": "launch",
|
|
||||||
"type": "node-terminal"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
8344
package-lock.json
generated
|
@ -17,6 +17,7 @@
|
||||||
"start": "npm run dev -w apps/demo",
|
"start": "npm run dev -w apps/demo",
|
||||||
"dev": "npm run dev -w apps/demo",
|
"dev": "npm run dev -w apps/demo",
|
||||||
"docs": "npm run dev -w apps/docs",
|
"docs": "npm run dev -w apps/docs",
|
||||||
|
"landing-page": "npm run dev -w apps/landing-page",
|
||||||
"test": "npm run test --workspaces --if-present",
|
"test": "npm run test --workspaces --if-present",
|
||||||
"lint": "npm run lint --workspaces --if-present",
|
"lint": "npm run lint --workspaces --if-present",
|
||||||
"lint:fix": "npm run lint:fix --workspaces --if-present",
|
"lint:fix": "npm run lint:fix --workspaces --if-present",
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
"packages/form",
|
"packages/form",
|
||||||
"packages/validator",
|
"packages/validator",
|
||||||
"apps/demo",
|
"apps/demo",
|
||||||
"apps/docs"
|
"apps/docs",
|
||||||
|
"apps/landing-page"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,7 @@ Use in an Astro page:
|
||||||
|
|
||||||
```astro
|
```astro
|
||||||
---
|
---
|
||||||
import { FormControl, FormGroup } from "@astro-reactive/form/core";
|
import Form, { FormControl, FormGroup } from "@astro-reactive/form";
|
||||||
import Form from "@astro-reactive/form";
|
|
||||||
|
|
||||||
// create a form group
|
// create a form group
|
||||||
const form = new FormGroup([
|
const form = new FormGroup([
|
||||||
|
@ -105,3 +104,6 @@ Currently this only supports very basic form creation, but the goal of the proje
|
||||||
... and so much more
|
... and so much more
|
||||||
|
|
||||||
_All contributions are welcome. Let's make the fastest web form component powered by Astro_
|
_All contributions are welcome. Let's make the fastest web form component powered by Astro_
|
||||||
|
|
||||||
|
# Older Versions
|
||||||
|
Older versions can be found [here](https://www.npmjs.com/package/astro-reactive-form).
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astro-reactive/form",
|
"name": "@astro-reactive/form",
|
||||||
"description": "The Reactive Form component for Astro 🔥",
|
"description": "The Reactive Form component for Astro 🔥",
|
||||||
"version": "0.4.1",
|
"version": "0.4.4",
|
||||||
"repository": "https://github.com/ayoayco/astro-reactive-library",
|
"repository": "https://github.com/ayoayco/astro-reactive-library",
|
||||||
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme",
|
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme",
|
||||||
"author": {
|
"author": {
|
||||||
|
|
|
@ -25,8 +25,7 @@ Use in an Astro page:
|
||||||
|
|
||||||
```astro
|
```astro
|
||||||
---
|
---
|
||||||
import { FormControl, FormGroup } from "@astro-reactive/form/core";
|
import Form, { FormControl, FormGroup } from "@astro-reactive/form";
|
||||||
import Form from "@astro-reactive/form";
|
|
||||||
import { Validators } from "@astro-reactive/validator";
|
import { Validators } from "@astro-reactive/validator";
|
||||||
|
|
||||||
const form = new FormGroup([
|
const form = new FormGroup([
|
||||||
|
@ -78,7 +77,6 @@ form.get('is-awesome')?.setValue("checked");
|
||||||
```
|
```
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
Result of example above:
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@astro-reactive/validator",
|
"name": "@astro-reactive/validator",
|
||||||
"description": "Form validation library for Astro 🔥",
|
"description": "Form validation library for Astro 🔥",
|
||||||
"version": "0.0.1",
|
"version": "0.0.3",
|
||||||
"repository": "https://github.com/ayoayco/astro-reactive-library",
|
"repository": "https://github.com/ayoayco/astro-reactive-library",
|
||||||
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme",
|
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme",
|
||||||
"author": {
|
"author": {
|
||||||
|
|