@rilaykit/forms
Advanced tools
+2
-2
| { | ||
| "name": "@rilaykit/forms", | ||
| "version": "0.1.3", | ||
| "version": "0.1.4", | ||
| "private": false, | ||
@@ -40,3 +40,3 @@ "description": "Form building utilities and components for RilayKit", | ||
| "zustand": "^5.0.5", | ||
| "@rilaykit/core": "0.1.3" | ||
| "@rilaykit/core": "0.1.4" | ||
| }, | ||
@@ -43,0 +43,0 @@ "peerDependencies": { |
+8
-5
@@ -45,6 +45,7 @@ # @rilaykit/forms | ||
| ```tsx | ||
| import { form } from '@rilaykit/forms'; | ||
| import { required, email } from '@rilaykit/core'; | ||
| const loginForm = rilay | ||
| .form('login') | ||
| const loginForm = form | ||
| .create(rilay, 'login') | ||
| .add({ | ||
@@ -91,4 +92,6 @@ id: 'email', | ||
| ```tsx | ||
| const contactForm = rilay | ||
| .form('contact') | ||
| import { form } from '@rilaykit/forms'; | ||
| const contactForm = form | ||
| .create(rilay, 'contact') | ||
| .add( | ||
@@ -157,3 +160,3 @@ { id: 'firstName', type: 'input', props: { label: 'First Name' } }, | ||
| rilay.form('account') | ||
| form.create(rilay, 'account') | ||
| .add({ | ||
@@ -160,0 +163,0 @@ id: 'accountType', |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
154705
0.07%243
1.25%+ Added
- Removed
Updated