@page-speed/forms 0.7.6 → 0.7.7

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/dist/inputs.cjs CHANGED
@@ -1,53 +1,53 @@
1
1
  'use strict';
2
2
 
3
- var chunkK7ZHLPLX_cjs = require('./chunk-K7ZHLPLX.cjs');
3
+ var chunkDDPQKEUI_cjs = require('./chunk-DDPQKEUI.cjs');
4
4
  var chunkIGI4JJKE_cjs = require('./chunk-IGI4JJKE.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "Checkbox", {
9
9
  enumerable: true,
10
- get: function () { return chunkK7ZHLPLX_cjs.Checkbox; }
10
+ get: function () { return chunkDDPQKEUI_cjs.Checkbox; }
11
11
  });
12
12
  Object.defineProperty(exports, "CheckboxGroup", {
13
13
  enumerable: true,
14
- get: function () { return chunkK7ZHLPLX_cjs.CheckboxGroup; }
14
+ get: function () { return chunkDDPQKEUI_cjs.CheckboxGroup; }
15
15
  });
16
16
  Object.defineProperty(exports, "DatePicker", {
17
17
  enumerable: true,
18
- get: function () { return chunkK7ZHLPLX_cjs.DatePicker; }
18
+ get: function () { return chunkDDPQKEUI_cjs.DatePicker; }
19
19
  });
20
20
  Object.defineProperty(exports, "DateRangePicker", {
21
21
  enumerable: true,
22
- get: function () { return chunkK7ZHLPLX_cjs.DateRangePicker; }
22
+ get: function () { return chunkDDPQKEUI_cjs.DateRangePicker; }
23
23
  });
24
24
  Object.defineProperty(exports, "FileInput", {
25
25
  enumerable: true,
26
- get: function () { return chunkK7ZHLPLX_cjs.FileInput; }
26
+ get: function () { return chunkDDPQKEUI_cjs.FileInput; }
27
27
  });
28
28
  Object.defineProperty(exports, "MultiSelect", {
29
29
  enumerable: true,
30
- get: function () { return chunkK7ZHLPLX_cjs.MultiSelect; }
30
+ get: function () { return chunkDDPQKEUI_cjs.MultiSelect; }
31
31
  });
32
32
  Object.defineProperty(exports, "Radio", {
33
33
  enumerable: true,
34
- get: function () { return chunkK7ZHLPLX_cjs.Radio; }
34
+ get: function () { return chunkDDPQKEUI_cjs.Radio; }
35
35
  });
36
36
  Object.defineProperty(exports, "Select", {
37
37
  enumerable: true,
38
- get: function () { return chunkK7ZHLPLX_cjs.Select; }
38
+ get: function () { return chunkDDPQKEUI_cjs.Select; }
39
39
  });
40
40
  Object.defineProperty(exports, "Switch", {
41
41
  enumerable: true,
42
- get: function () { return chunkK7ZHLPLX_cjs.Switch; }
42
+ get: function () { return chunkDDPQKEUI_cjs.Switch; }
43
43
  });
44
44
  Object.defineProperty(exports, "TextArea", {
45
45
  enumerable: true,
46
- get: function () { return chunkK7ZHLPLX_cjs.TextArea; }
46
+ get: function () { return chunkDDPQKEUI_cjs.TextArea; }
47
47
  });
48
48
  Object.defineProperty(exports, "TimePicker", {
49
49
  enumerable: true,
50
- get: function () { return chunkK7ZHLPLX_cjs.TimePicker; }
50
+ get: function () { return chunkDDPQKEUI_cjs.TimePicker; }
51
51
  });
52
52
  Object.defineProperty(exports, "TextInput", {
53
53
  enumerable: true,
package/dist/inputs.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Checkbox, CheckboxGroup, DatePicker, DateRangePicker, FileInput, MultiSelect, Radio, Select, Switch, TextArea, TimePicker } from './chunk-DSK3VLIV.js';
1
+ export { Checkbox, CheckboxGroup, DatePicker, DateRangePicker, FileInput, MultiSelect, Radio, Select, Switch, TextArea, TimePicker } from './chunk-RNVK2DOS.js';
2
2
  export { TextInput } from './chunk-EQKN2OPX.js';
3
3
  //# sourceMappingURL=inputs.js.map
4
4
  //# sourceMappingURL=inputs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkT2SLAP65_cjs = require('./chunk-T2SLAP65.cjs');
4
- var chunkK7ZHLPLX_cjs = require('./chunk-K7ZHLPLX.cjs');
4
+ var chunkDDPQKEUI_cjs = require('./chunk-DDPQKEUI.cjs');
5
5
  var chunkIGI4JJKE_cjs = require('./chunk-IGI4JJKE.cjs');
6
6
  var React2 = require('react');
7
7
  var icon = require('@page-speed/icon');
@@ -709,7 +709,7 @@ function DynamicFormField({
709
709
  "aria-label": field.label
710
710
  }
711
711
  ), field.type === "textarea" && /* @__PURE__ */ React2__namespace.createElement(
712
- chunkK7ZHLPLX_cjs.TextArea,
712
+ chunkDDPQKEUI_cjs.TextArea,
713
713
  {
714
714
  ...formField,
715
715
  id: fieldId,
@@ -720,7 +720,7 @@ function DynamicFormField({
720
720
  "aria-label": field.label
721
721
  }
722
722
  ), field.type === "select" && field.options && /* @__PURE__ */ React2__namespace.createElement(
723
- chunkK7ZHLPLX_cjs.Select,
723
+ chunkDDPQKEUI_cjs.Select,
724
724
  {
725
725
  ...formField,
726
726
  id: fieldId,
@@ -731,7 +731,7 @@ function DynamicFormField({
731
731
  "aria-label": field.label
732
732
  }
733
733
  ), field.type === "multi-select" && field.options && /* @__PURE__ */ React2__namespace.createElement(
734
- chunkK7ZHLPLX_cjs.MultiSelect,
734
+ chunkDDPQKEUI_cjs.MultiSelect,
735
735
  {
736
736
  ...formField,
737
737
  id: fieldId,
@@ -742,7 +742,7 @@ function DynamicFormField({
742
742
  "aria-label": field.label
743
743
  }
744
744
  ), field.type === "radio" && field.options && /* @__PURE__ */ React2__namespace.createElement(
745
- chunkK7ZHLPLX_cjs.Radio,
745
+ chunkDDPQKEUI_cjs.Radio,
746
746
  {
747
747
  ...formField,
748
748
  id: fieldId,
@@ -756,7 +756,7 @@ function DynamicFormField({
756
756
  "aria-label": field.label
757
757
  }
758
758
  ), field.type === "checkbox" && /* @__PURE__ */ React2__namespace.createElement(
759
- chunkK7ZHLPLX_cjs.Checkbox,
759
+ chunkDDPQKEUI_cjs.Checkbox,
760
760
  {
761
761
  ...formField,
762
762
  id: fieldId,
@@ -770,7 +770,7 @@ function DynamicFormField({
770
770
  "aria-label": field.label
771
771
  }
772
772
  ), field.type === "checkbox-group" && field.options && /* @__PURE__ */ React2__namespace.createElement(
773
- chunkK7ZHLPLX_cjs.CheckboxGroup,
773
+ chunkDDPQKEUI_cjs.CheckboxGroup,
774
774
  {
775
775
  ...formField,
776
776
  id: fieldId,
@@ -784,7 +784,7 @@ function DynamicFormField({
784
784
  "aria-label": field.label
785
785
  }
786
786
  ), (field.type === "date-picker" || field.type === "date") && /* @__PURE__ */ React2__namespace.createElement(
787
- chunkK7ZHLPLX_cjs.DatePicker,
787
+ chunkDDPQKEUI_cjs.DatePicker,
788
788
  {
789
789
  ...formField,
790
790
  id: fieldId,
@@ -794,7 +794,7 @@ function DynamicFormField({
794
794
  "aria-label": field.label
795
795
  }
796
796
  ), field.type === "date-range" && /* @__PURE__ */ React2__namespace.createElement(
797
- chunkK7ZHLPLX_cjs.DateRangePicker,
797
+ chunkDDPQKEUI_cjs.DateRangePicker,
798
798
  {
799
799
  ...formField,
800
800
  id: fieldId,
@@ -804,7 +804,7 @@ function DynamicFormField({
804
804
  "aria-label": field.label
805
805
  }
806
806
  ), field.type === "time" && /* @__PURE__ */ React2__namespace.createElement(
807
- chunkK7ZHLPLX_cjs.TimePicker,
807
+ chunkDDPQKEUI_cjs.TimePicker,
808
808
  {
809
809
  ...formField,
810
810
  id: fieldId,
@@ -814,7 +814,7 @@ function DynamicFormField({
814
814
  "aria-label": field.label
815
815
  }
816
816
  ), field.type === "file" && /* @__PURE__ */ React2__namespace.createElement(
817
- chunkK7ZHLPLX_cjs.FileInput,
817
+ chunkDDPQKEUI_cjs.FileInput,
818
818
  {
819
819
  ...formField,
820
820
  id: fieldId,
@@ -975,7 +975,7 @@ function FormEngine(props) {
975
975
  "div",
976
976
  {
977
977
  className: chunkIGI4JJKE_cjs.cn(
978
- "grid grid-cols-12 space-y-8 gap-x-6 md:gap-x-8",
978
+ "grid grid-cols-12 gap-6 md:gap-10",
979
979
  styleRules?.fieldsContainer
980
980
  )
981
981
  },