@wise/dynamic-flow-client 3.21.1 → 3.21.2

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/build/main.mjs CHANGED
@@ -16913,9 +16913,10 @@ function OneOfSchema(props) {
16913
16913
  "form-group": true,
16914
16914
  "has-error": !changed && props.errors && !isEmpty(props.errors) || (props.submitted || changed && blurred) && validations.length
16915
16915
  };
16916
+ const isHidden = props.schema.hidden;
16916
16917
  const feedbackId = `${id}-feedback`;
16917
16918
  const labelId = `${id}-label`;
16918
- return /* @__PURE__ */ jsxs32(Fragment15, { children: [
16919
+ return !isHidden ? /* @__PURE__ */ jsxs32(Fragment15, { children: [
16919
16920
  (props.schema.oneOf.length > 1 || isConstSchema2(props.schema.oneOf[0])) && /* @__PURE__ */ jsxs32(Fragment15, { children: [
16920
16921
  props.schema.alert && /* @__PURE__ */ jsx91(DynamicAlert_default, { component: props.schema.alert }),
16921
16922
  /* @__PURE__ */ jsxs32("div", { className: (0, import_classnames11.default)(formGroupClasses), children: [
@@ -16966,7 +16967,7 @@ function OneOfSchema(props) {
16966
16967
  onPersistAsync: props.onPersistAsync
16967
16968
  }
16968
16969
  )
16969
- ] });
16970
+ ] }) : null;
16970
16971
  }
16971
16972
  function getTitleAndHelp(schema, forId, labelId) {
16972
16973
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.21.1",
3
+ "version": "3.21.2",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",
@@ -85,8 +85,8 @@
85
85
  "tsx": "4.19.1",
86
86
  "typescript": "5.6.2",
87
87
  "webpack": "5.95.0",
88
- "@wise/dynamic-flow-renderers": "0.0.0",
89
- "@wise/dynamic-flow-fixtures": "0.0.1"
88
+ "@wise/dynamic-flow-fixtures": "0.0.1",
89
+ "@wise/dynamic-flow-renderers": "0.0.0"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@transferwise/components": "^46.31",