formanitor 0.1.9 → 0.1.10

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
@@ -2099,6 +2099,10 @@ function fieldLabelClass(fieldDef, ...defaults) {
2099
2099
  return cn(...defaults, fieldDef.style?.classNames?.label);
2100
2100
  }
2101
2101
  function fieldControlClass(fieldDef, ...defaults) {
2102
+ const controlClass = fieldDef.style?.classNames?.control;
2103
+ if (fieldDef.style?.fullControl && controlClass) {
2104
+ return cn(controlClass);
2105
+ }
2102
2106
  return cn(...defaults, fieldDef.style?.classNames?.control);
2103
2107
  }
2104
2108
  function fieldDescriptionClass(fieldDef, ...defaults) {
@@ -4069,13 +4073,7 @@ function Upload3({
4069
4073
  /* @__PURE__ */ jsxRuntime.jsx("br", {}),
4070
4074
  "and medical records"
4071
4075
  ] }),
4072
- /* @__PURE__ */ jsxRuntime.jsx(
4073
- lucideReact.Upload,
4074
- {
4075
- size: 20,
4076
- className: "rotate-180 text-[#727272] mt-4"
4077
- }
4078
- ),
4076
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { size: 20, className: "text-[#727272] mt-4" }),
4079
4077
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs mt-1 text-text-shades-2", children: placeholder }),
4080
4078
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 text-10px leading-[140%] text-[#989898]", children: [
4081
4079
  "Supported formats - ",