@factorialco/rjsf-f0 2.2.0 → 2.2.1
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/README.md +1 -1
- package/dist/rjsf-f0.cjs.js +2 -2
- package/dist/rjsf-f0.cjs.js.map +1 -1
- package/dist/rjsf-f0.es.js +1 -2
- package/dist/rjsf-f0.es.js.map +1 -1
- package/dist/src/templates/misc-templates.d.ts +6 -4
- package/dist/src/widgets/f0-field.d.ts +7 -5
- package/dist/styles.css +14 -2
- package/package.json +1 -1
package/dist/rjsf-f0.es.js
CHANGED
|
@@ -8999,7 +8999,7 @@ function mh({
|
|
|
8999
8999
|
fieldPathId: n
|
|
9000
9000
|
}) {
|
|
9001
9001
|
const t = e.filter(Boolean);
|
|
9002
|
-
return t.length
|
|
9002
|
+
return t.length === 0 ? null : /* @__PURE__ */ E("ul", { className: "rjsf-f0-errors", id: Ki(n), children: t.map((r, i) => /* @__PURE__ */ E("li", { children: typeof r == "string" ? /* @__PURE__ */ E(je, { components: { p: "span" }, children: r }) : r }, `${r}-${i}`)) });
|
|
9003
9003
|
}
|
|
9004
9004
|
function dh({ fieldPathId: e, help: n }) {
|
|
9005
9005
|
return n ? /* @__PURE__ */ E("div", { className: "rjsf-f0-help", id: Qi(e), children: n }) : null;
|
|
@@ -9333,7 +9333,6 @@ function ve({
|
|
|
9333
9333
|
onChange: h,
|
|
9334
9334
|
onBlur: g,
|
|
9335
9335
|
error: !!S,
|
|
9336
|
-
errorMessage: S,
|
|
9337
9336
|
required: l,
|
|
9338
9337
|
disabled: a || s,
|
|
9339
9338
|
hideLabel: !0
|