@lub-crm/forms 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @lub/forms
1
+ # @lub-crm/forms
2
2
 
3
3
  Embeddable form library for Lub CRM. Render dynamic forms that integrate with Lub CRM for lead capture and data collection.
4
4
 
@@ -18,9 +18,9 @@ Embeddable form library for Lub CRM. Render dynamic forms that integrate with Lu
18
18
  ### NPM Package (React Apps)
19
19
 
20
20
  ```bash
21
- npm install @lub/forms
21
+ npm install @lub-crm/forms
22
22
  # or
23
- bun add @lub/forms
23
+ bun add @lub-crm/forms
24
24
  ```
25
25
 
26
26
  ### Script Tag (Standalone)
@@ -47,8 +47,8 @@ For pages that already have React loaded:
47
47
  ### React Component
48
48
 
49
49
  ```tsx
50
- import { LubForm } from "@lub/forms";
51
- import "@lub/forms/styles";
50
+ import { LubForm } from "@lub-crm/forms";
51
+ import "@lub-crm/forms/styles";
52
52
 
53
53
  function ContactPage() {
54
54
  return (
@@ -215,7 +215,7 @@ conditional_logic: {
215
215
  Register custom field types for advanced use cases:
216
216
 
217
217
  ```tsx
218
- import { registerFieldComponent } from "@lub/forms";
218
+ import { registerFieldComponent } from "@lub-crm/forms";
219
219
 
220
220
  registerFieldComponent("rating", ({ field, register, error }) => (
221
221
  <div className="rating-field">
@@ -235,7 +235,7 @@ registerFieldComponent("rating", ({ field, register, error }) => (
235
235
  Use the client directly for custom integrations:
236
236
 
237
237
  ```tsx
238
- import { LubFormsClient } from "@lub/forms";
238
+ import { LubFormsClient } from "@lub-crm/forms";
239
239
 
240
240
  const client = new LubFormsClient("https://api.lub.marketing");
241
241
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lub-crm/forms",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "Embeddable form library for Lub CRM",
6
6
  "main": "./dist/lub-forms.umd.js",