@altimateai/ui-components 0.0.72-beta1 → 0.0.72-beta2

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/CoachForm.js CHANGED
@@ -37595,7 +37595,12 @@ ${i}
37595
37595
  }
37596
37596
  ], AH = (t) => {
37597
37597
  const e = wH.find((n) => n.key === t.taskLabel);
37598
- return e != null && e.formComponent ? /* @__PURE__ */ k.jsx(e.formComponent, { ...t }) : /* @__PURE__ */ k.jsx(m$, { ...t });
37598
+ if (e != null && e.formComponent) {
37599
+ const n = typeof e.formComponent == "function" ? e.formComponent : e.formComponent.default;
37600
+ if (n)
37601
+ return /* @__PURE__ */ k.jsx(n, { ...t });
37602
+ }
37603
+ return /* @__PURE__ */ k.jsx(m$, { ...t });
37599
37604
  };
37600
37605
  export {
37601
37606
  H$ as $,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.72-beta1",
3
+ "version": "0.0.72-beta2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"