bhl-forms 0.0.38 → 0.0.39
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/bhl-forms.es.js +14 -9
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +14 -9
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +7 -7
- package/dist/bhl-forms.umd.js +4 -4
- package/dist/forms/childAndFamily.es.js +125 -79
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/generalLegal.es.js +2449 -0
- package/dist/forms/generalLegal.iife.js +1 -0
- package/dist/forms/generalLegal.json +1 -0
- package/dist/forms/testForm.es.js +11 -17
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -17623,6 +17623,10 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
|
|
|
17623
17623
|
anchor.scrollIntoView(true);
|
|
17624
17624
|
}
|
|
17625
17625
|
}
|
|
17626
|
+
var step_values = null;
|
|
17627
|
+
if (stepHistory2.value.length > 0) {
|
|
17628
|
+
step_values = flattenObj(formNode.value[stepHistory2.value[stepHistory2.value.length - 1]] || {});
|
|
17629
|
+
}
|
|
17626
17630
|
var form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
|
|
17627
17631
|
if (typeof window._analytics !== "undefined") {
|
|
17628
17632
|
try {
|
|
@@ -17630,7 +17634,8 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
|
|
|
17630
17634
|
"form_source": "formkit",
|
|
17631
17635
|
"form_id": form_id,
|
|
17632
17636
|
"step_count": stepHistory2.value.length,
|
|
17633
|
-
"step_name": stepHistory2.value[stepHistory2.value.length - 1]
|
|
17637
|
+
"step_name": stepHistory2.value[stepHistory2.value.length - 1],
|
|
17638
|
+
"step_values": step_values
|
|
17634
17639
|
};
|
|
17635
17640
|
dbg(body);
|
|
17636
17641
|
window._analytics.track("form-step", body, {
|
|
@@ -17646,29 +17651,29 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
|
|
|
17646
17651
|
}
|
|
17647
17652
|
};
|
|
17648
17653
|
var textClassification = {
|
|
17649
|
-
label: "t-block t-mb-
|
|
17650
|
-
inner: "\n t-max-w-lg\n t-border\n t-border-gray-400\n formkit-invalid:t-border-red-500\n t-rounded
|
|
17654
|
+
label: "t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",
|
|
17655
|
+
inner: "\n t-max-w-lg\n t-border\n t-border-gray-400\n formkit-invalid:t-border-red-500\n t-rounded t-mb-1\n t-overflow-hidden\n focus-within:t-border-blue-500\n ",
|
|
17651
17656
|
input: "t-w-full t-h-10 t-px-3 t-border-none t-text-base t-text-gray-700 t-placeholder-gray-400"
|
|
17652
17657
|
};
|
|
17653
17658
|
var boxClassification = {
|
|
17654
17659
|
fieldset: "t-max-w-md t-border t-border-gray-400 t-rounded-md t-px-2 t-pb-1",
|
|
17655
|
-
legend: "t-font-
|
|
17660
|
+
legend: "t-font-semibold t-text-base",
|
|
17656
17661
|
wrapper: "t-flex t-items-center t-mb-1 t-cursor-pointer",
|
|
17657
17662
|
help: "t-mb-2",
|
|
17658
17663
|
input: "t-form-check-input t-appearance-none t-h-5 t-w-5 t-mr-2 t-border t-border-gray-500 t-rounded-sm t-bg-white checked:t-bg-blue-500 focus:t-outline-none focus:t-ring-0 t-transition t-duration-100",
|
|
17659
|
-
label: "t-text-
|
|
17664
|
+
label: "t-text-base t-text-gray-700"
|
|
17660
17665
|
};
|
|
17661
17666
|
var checkBoxClassification = {
|
|
17662
17667
|
fieldset: "t-max-w-md t-border t-border-gray-400 t-rounded-md t-px-2 t-pb-1",
|
|
17663
|
-
legend: "t-font-
|
|
17668
|
+
legend: "t-font-semibold t-text-base",
|
|
17664
17669
|
wrapper: "t-flex t-items-center t-mb-1 t-cursor-pointer",
|
|
17665
17670
|
help: "t-mb-2",
|
|
17666
17671
|
input: "t-h-5 t-w-5 t-mr-2 t-border t-border-gray-500 t-rounded-sm t-bg-white checked:t-bg-blue-500 focus:t-outline-none focus:t-ring-0 t-transition t-duration-100",
|
|
17667
|
-
label: "t-text-
|
|
17672
|
+
label: "t-text-base t-text-gray-700"
|
|
17668
17673
|
};
|
|
17669
17674
|
var buttonClassification = {
|
|
17670
17675
|
wrapper: "t-mb-1",
|
|
17671
|
-
input: "t-bg-red-500 hover:t-bg-red-600 t-text-white t-text-
|
|
17676
|
+
input: "t-bg-red-500 hover:t-bg-red-600 t-text-white t-text-xl t-font-normal t-py-4 t-px-9 sm:t-px-10 t-rounded",
|
|
17672
17677
|
outer: "t-mb-0"
|
|
17673
17678
|
};
|
|
17674
17679
|
var theme = {
|
|
@@ -17711,7 +17716,7 @@ var theme = {
|
|
|
17711
17716
|
tel: textClassification,
|
|
17712
17717
|
text: textClassification,
|
|
17713
17718
|
textarea: _objectSpread2(_objectSpread2({}, textClassification), {}, {
|
|
17714
|
-
input: "t-block t-w-full t-h-
|
|
17719
|
+
input: "t-block t-w-full t-h-48 t-px-3 t-pt-1 t-border-none t-text-base t-text-gray-700 t-placeholder-gray-400 placeholder:t-text-base focus:t-shadow-outline"
|
|
17715
17720
|
}),
|
|
17716
17721
|
time: textClassification,
|
|
17717
17722
|
url: textClassification,
|