formanitor 0.1.9 → 0.1.11
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 +9 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.mjs +9 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/styles/index.css +35 -2
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) {
|
|
@@ -2259,7 +2263,10 @@ function buildRichTextExtensions(placeholder, tables) {
|
|
|
2259
2263
|
return [
|
|
2260
2264
|
...base,
|
|
2261
2265
|
extensionTable.Table.configure({
|
|
2262
|
-
resizable:
|
|
2266
|
+
resizable: true,
|
|
2267
|
+
/** Wider hit zone along column borders (default 5px). */
|
|
2268
|
+
handleWidth: 8,
|
|
2269
|
+
cellMinWidth: 50
|
|
2263
2270
|
}),
|
|
2264
2271
|
extensionTable.TableRow,
|
|
2265
2272
|
extensionTable.TableHeader,
|
|
@@ -4069,13 +4076,7 @@ function Upload3({
|
|
|
4069
4076
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
4070
4077
|
"and medical records"
|
|
4071
4078
|
] }),
|
|
4072
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4073
|
-
lucideReact.Upload,
|
|
4074
|
-
{
|
|
4075
|
-
size: 20,
|
|
4076
|
-
className: "rotate-180 text-[#727272] mt-4"
|
|
4077
|
-
}
|
|
4078
|
-
),
|
|
4079
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Upload, { size: 20, className: "text-[#727272] mt-4" }),
|
|
4079
4080
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs mt-1 text-text-shades-2", children: placeholder }),
|
|
4080
4081
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 text-10px leading-[140%] text-[#989898]", children: [
|
|
4081
4082
|
"Supported formats - ",
|