bhl-forms 0.0.36 → 0.0.37

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.
@@ -17626,12 +17626,14 @@ var fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
17626
17626
  var form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
17627
17627
  if (typeof window._analytics !== "undefined") {
17628
17628
  try {
17629
- window._analytics.track("form-step", {
17629
+ var body = {
17630
17630
  "form_source": "formkit",
17631
17631
  "form_id": form_id,
17632
- "step_name": stepHistory2[stepHistory2.length - 1],
17633
- "step_count": stepHistory2.length
17634
- }, {
17632
+ "step_count": stepHistory2.value.length,
17633
+ "step_name": stepHistory2.value[stepHistory2.value.length - 1]
17634
+ };
17635
+ dbg(body);
17636
+ window._analytics.track("form-step", body, {
17635
17637
  plugins: {
17636
17638
  "google-tag-manager": false
17637
17639
  }
@@ -17656,6 +17658,14 @@ var boxClassification = {
17656
17658
  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",
17657
17659
  label: "t-text-sm t-text-gray-700"
17658
17660
  };
17661
+ var checkBoxClassification = {
17662
+ fieldset: "t-max-w-md t-border t-border-gray-400 t-rounded-md t-px-2 t-pb-1",
17663
+ legend: "t-font-bold t-text-sm",
17664
+ wrapper: "t-flex t-items-center t-mb-1 t-cursor-pointer",
17665
+ help: "t-mb-2",
17666
+ 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-sm t-text-gray-700"
17668
+ };
17659
17669
  var buttonClassification = {
17660
17670
  wrapper: "t-mb-1",
17661
17671
  input: "t-bg-red-500 hover:t-bg-red-600 t-text-white t-text-lg t-font-normal t-py-4 t-px-7 sm:t-px-10 t-rounded",
@@ -17675,7 +17685,7 @@ var theme = {
17675
17685
  },
17676
17686
  date: textClassification,
17677
17687
  "datetime-local": textClassification,
17678
- checkbox: boxClassification,
17688
+ checkbox: checkBoxClassification,
17679
17689
  email: textClassification,
17680
17690
  file: {
17681
17691
  label: "t-block t-mb-1 t-font-bold t-text-sm",