@algodomain/smart-forms 0.1.7 → 0.1.9

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkWIBCOQPP_cjs = require('./chunk-WIBCOQPP.cjs');
3
+ var chunkWUYS7DMR_cjs = require('./chunk-WUYS7DMR.cjs');
4
4
  var zod = require('zod');
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var reactRouterDom = require('react-router-dom');
@@ -14,7 +14,7 @@ var FieldEmail = ({
14
14
  ...props
15
15
  }) => {
16
16
  return /* @__PURE__ */ jsxRuntime.jsx(
17
- chunkWIBCOQPP_cjs.SmartInput,
17
+ chunkWUYS7DMR_cjs.SmartInput,
18
18
  {
19
19
  field,
20
20
  label,
@@ -36,7 +36,7 @@ var FieldPhone = ({
36
36
  ...props
37
37
  }) => {
38
38
  return /* @__PURE__ */ jsxRuntime.jsx(
39
- chunkWIBCOQPP_cjs.SmartInput,
39
+ chunkWUYS7DMR_cjs.SmartInput,
40
40
  {
41
41
  field,
42
42
  label,
@@ -58,7 +58,7 @@ var FieldFirstName = ({
58
58
  ...props
59
59
  }) => {
60
60
  return /* @__PURE__ */ jsxRuntime.jsx(
61
- chunkWIBCOQPP_cjs.SmartInput,
61
+ chunkWUYS7DMR_cjs.SmartInput,
62
62
  {
63
63
  field,
64
64
  label,
@@ -80,7 +80,7 @@ var FieldLastName = ({
80
80
  ...props
81
81
  }) => {
82
82
  return /* @__PURE__ */ jsxRuntime.jsx(
83
- chunkWIBCOQPP_cjs.SmartInput,
83
+ chunkWUYS7DMR_cjs.SmartInput,
84
84
  {
85
85
  field,
86
86
  label,
@@ -102,7 +102,7 @@ var FieldFullName = ({
102
102
  ...props
103
103
  }) => {
104
104
  return /* @__PURE__ */ jsxRuntime.jsx(
105
- chunkWIBCOQPP_cjs.SmartInput,
105
+ chunkWUYS7DMR_cjs.SmartInput,
106
106
  {
107
107
  field,
108
108
  label,
@@ -176,7 +176,7 @@ var FieldPassword = ({
176
176
  ))
177
177
  ] }),
178
178
  /* @__PURE__ */ jsxRuntime.jsx(
179
- chunkWIBCOQPP_cjs.SmartInput,
179
+ chunkWUYS7DMR_cjs.SmartInput,
180
180
  {
181
181
  field,
182
182
  type: "password",
@@ -198,7 +198,7 @@ var FieldConfirmPassword = ({
198
198
  ...props
199
199
  }) => {
200
200
  return /* @__PURE__ */ jsxRuntime.jsx(
201
- chunkWIBCOQPP_cjs.SmartInput,
201
+ chunkWUYS7DMR_cjs.SmartInput,
202
202
  {
203
203
  field,
204
204
  label,
@@ -222,7 +222,7 @@ var FieldAge = ({
222
222
  ...props
223
223
  }) => {
224
224
  return /* @__PURE__ */ jsxRuntime.jsx(
225
- chunkWIBCOQPP_cjs.SmartInput,
225
+ chunkWUYS7DMR_cjs.SmartInput,
226
226
  {
227
227
  field,
228
228
  label,
@@ -248,7 +248,7 @@ var FieldStreetAddress = ({
248
248
  ...props
249
249
  }) => {
250
250
  return /* @__PURE__ */ jsxRuntime.jsx(
251
- chunkWIBCOQPP_cjs.SmartInput,
251
+ chunkWUYS7DMR_cjs.SmartInput,
252
252
  {
253
253
  field,
254
254
  label,
@@ -270,7 +270,7 @@ var FieldCity = ({
270
270
  ...props
271
271
  }) => {
272
272
  return /* @__PURE__ */ jsxRuntime.jsx(
273
- chunkWIBCOQPP_cjs.SmartInput,
273
+ chunkWUYS7DMR_cjs.SmartInput,
274
274
  {
275
275
  field,
276
276
  label,
@@ -292,7 +292,7 @@ var FieldZipCode = ({
292
292
  ...props
293
293
  }) => {
294
294
  return /* @__PURE__ */ jsxRuntime.jsx(
295
- chunkWIBCOQPP_cjs.SmartInput,
295
+ chunkWUYS7DMR_cjs.SmartInput,
296
296
  {
297
297
  field,
298
298
  label,
@@ -314,7 +314,7 @@ var FieldState = ({
314
314
  ...props
315
315
  }) => {
316
316
  return /* @__PURE__ */ jsxRuntime.jsx(
317
- chunkWIBCOQPP_cjs.SmartInput,
317
+ chunkWUYS7DMR_cjs.SmartInput,
318
318
  {
319
319
  field,
320
320
  label,
@@ -339,7 +339,7 @@ var FieldMessage = ({
339
339
  ...props
340
340
  }) => {
341
341
  return /* @__PURE__ */ jsxRuntime.jsx(
342
- chunkWIBCOQPP_cjs.SmartInput,
342
+ chunkWUYS7DMR_cjs.SmartInput,
343
343
  {
344
344
  field,
345
345
  label,
@@ -364,7 +364,7 @@ var FieldComments = ({
364
364
  ...props
365
365
  }) => {
366
366
  return /* @__PURE__ */ jsxRuntime.jsx(
367
- chunkWIBCOQPP_cjs.SmartInput,
367
+ chunkWUYS7DMR_cjs.SmartInput,
368
368
  {
369
369
  field,
370
370
  label,
@@ -380,15 +380,15 @@ var FieldComments = ({
380
380
 
381
381
  Object.defineProperty(exports, "SmartFormProvider", {
382
382
  enumerable: true,
383
- get: function () { return chunkWIBCOQPP_cjs.SmartFormProvider; }
383
+ get: function () { return chunkWUYS7DMR_cjs.SmartFormProvider; }
384
384
  });
385
385
  Object.defineProperty(exports, "useFormField", {
386
386
  enumerable: true,
387
- get: function () { return chunkWIBCOQPP_cjs.useFormField; }
387
+ get: function () { return chunkWUYS7DMR_cjs.useFormField; }
388
388
  });
389
389
  Object.defineProperty(exports, "useSmartForm", {
390
390
  enumerable: true,
391
- get: function () { return chunkWIBCOQPP_cjs.useSmartForm; }
391
+ get: function () { return chunkWUYS7DMR_cjs.useSmartForm; }
392
392
  });
393
393
  exports.FieldAge = FieldAge;
394
394
  exports.FieldCity = FieldCity;
@@ -1,5 +1,5 @@
1
- import { SmartInput } from './chunk-RHECLW3K.js';
2
- export { SmartFormProvider, useFormField, useSmartForm } from './chunk-RHECLW3K.js';
1
+ import { SmartInput } from './chunk-6VKQ7EMR.js';
2
+ export { SmartFormProvider, useFormField, useSmartForm } from './chunk-6VKQ7EMR.js';
3
3
  import { z } from 'zod';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
5
5
  import { Link } from 'react-router-dom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algodomain/smart-forms",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "A powerful React form framework with smart fields, multi-tab support, and seamless API integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -8,19 +8,19 @@
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
+ "types": "./dist/index.d.ts",
11
12
  "import": "./dist/index.js",
12
- "require": "./dist/index.cjs",
13
- "types": "./dist/index.d.ts"
13
+ "require": "./dist/index.cjs"
14
14
  },
15
15
  "./fields": {
16
+ "types": "./dist/fields.d.ts",
16
17
  "import": "./dist/fields.js",
17
- "require": "./dist/fields.cjs",
18
- "types": "./dist/fields.d.ts"
18
+ "require": "./dist/fields.cjs"
19
19
  },
20
20
  "./opinionated": {
21
+ "types": "./dist/opinionated.d.ts",
21
22
  "import": "./dist/opinionated.js",
22
- "require": "./dist/opinionated.cjs",
23
- "types": "./dist/opinionated.d.ts"
23
+ "require": "./dist/opinionated.cjs"
24
24
  },
25
25
  "./style.css": "./dist/style.css"
26
26
  },
@@ -88,6 +88,7 @@
88
88
  "class-variance-authority": "^0.7.1",
89
89
  "clsx": "^2.1.1",
90
90
  "cmdk": "^1.1.1",
91
+ "motion": "^12.26.2",
91
92
  "react-day-picker": "^9.11.3",
92
93
  "tailwind-merge": "^3.4.0"
93
94
  }