@ohhwells/bridge 0.1.170 → 0.1.171

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/index.cjs CHANGED
@@ -17692,7 +17692,7 @@ function apiBase() {
17692
17692
  function bridgeVersion() {
17693
17693
  try {
17694
17694
  if (true) {
17695
- return "0.1.170";
17695
+ return "0.1.171";
17696
17696
  }
17697
17697
  } catch {
17698
17698
  }
@@ -17706,7 +17706,7 @@ function stampBridgeVersionOnDocument() {
17706
17706
  return;
17707
17707
  }
17708
17708
  try {
17709
- const v = true ? "0.1.170" : "";
17709
+ const v = true ? "0.1.171" : "";
17710
17710
  if (v) {
17711
17711
  document.documentElement.setAttribute("data-ohw-bridge-version", v);
17712
17712
  window.__OHW_BRIDGE_VERSION__ = v;
@@ -17867,7 +17867,9 @@ function isFieldRequired(wrapper) {
17867
17867
  function markFormFields(form) {
17868
17868
  form.querySelectorAll("input, textarea").forEach((input) => {
17869
17869
  const type = input.type;
17870
- if (type === "submit" || type === "button" || type === "reset" || type === "hidden") return;
17870
+ if (type === "submit" || type === "button" || type === "reset" || type === "hidden" || type === "checkbox" || type === "radio") {
17871
+ return;
17872
+ }
17871
17873
  if (getFieldWrapper(input)) return;
17872
17874
  let wrapper = input;
17873
17875
  while (wrapper.parentElement && wrapper.parentElement !== form && wrapper.parentElement.querySelectorAll("input, textarea").length === 1) {
@@ -32929,7 +32931,7 @@ function OhhwellsBridge() {
32929
32931
  postToParent2({
32930
32932
  type: "ow:ready",
32931
32933
  version: "1",
32932
- bridgeVersion: "0.1.170",
32934
+ bridgeVersion: "0.1.171",
32933
32935
  path: pathname,
32934
32936
  nodes: collectEditableNodes(editContentRef.current),
32935
32937
  sections