@ohhwells/bridge 0.1.169-next.450 → 0.1.170-next.453

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
@@ -17880,7 +17880,7 @@ function apiBase() {
17880
17880
  function bridgeVersion() {
17881
17881
  try {
17882
17882
  if (true) {
17883
- return "0.1.169-next.450";
17883
+ return "0.1.170-next.453";
17884
17884
  }
17885
17885
  } catch {
17886
17886
  }
@@ -17894,7 +17894,7 @@ function stampBridgeVersionOnDocument() {
17894
17894
  return;
17895
17895
  }
17896
17896
  try {
17897
- const v = true ? "0.1.169-next.450" : "";
17897
+ const v = true ? "0.1.170-next.453" : "";
17898
17898
  if (v) {
17899
17899
  document.documentElement.setAttribute("data-ohw-bridge-version", v);
17900
17900
  window.__OHW_BRIDGE_VERSION__ = v;
@@ -18055,7 +18055,9 @@ function isFieldRequired(wrapper) {
18055
18055
  function markFormFields(form) {
18056
18056
  form.querySelectorAll("input, textarea").forEach((input) => {
18057
18057
  const type = input.type;
18058
- if (type === "submit" || type === "button" || type === "reset" || type === "hidden") return;
18058
+ if (type === "submit" || type === "button" || type === "reset" || type === "hidden" || type === "checkbox" || type === "radio") {
18059
+ return;
18060
+ }
18059
18061
  if (getFieldWrapper(input)) return;
18060
18062
  let wrapper = input;
18061
18063
  while (wrapper.parentElement && wrapper.parentElement !== form && wrapper.parentElement.querySelectorAll("input, textarea").length === 1) {
@@ -33141,7 +33143,7 @@ function OhhwellsBridge() {
33141
33143
  postToParent2({
33142
33144
  type: "ow:ready",
33143
33145
  version: "1",
33144
- bridgeVersion: "0.1.169-next.450",
33146
+ bridgeVersion: "0.1.170-next.453",
33145
33147
  path: pathname,
33146
33148
  nodes: collectEditableNodes(editContentRef.current),
33147
33149
  sections