formanitor 0.1.0 → 0.1.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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4146,7 +4146,7 @@ var FormFileUploadWidget = ({
|
|
|
4146
4146
|
)
|
|
4147
4147
|
}
|
|
4148
4148
|
),
|
|
4149
|
-
listLayout && rows.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-2 mt-
|
|
4149
|
+
listLayout && rows.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-2 !mt-5 list-none p-0 m-0", children: rows.map((row) => /* @__PURE__ */ jsxs(
|
|
4150
4150
|
"li",
|
|
4151
4151
|
{
|
|
4152
4152
|
className: "flex items-center justify-between rounded-md bg-white/50 px-3 py-2.5 text-sm text-[#191919] font-normal tracking-[-0.28px]",
|
|
@@ -4157,9 +4157,9 @@ var FormFileUploadWidget = ({
|
|
|
4157
4157
|
{
|
|
4158
4158
|
type: "button",
|
|
4159
4159
|
disabled: disabled || isUploading,
|
|
4160
|
-
onClick: () => removeFileAt(row.index),
|
|
4161
|
-
className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-gray-400 text-white hover:bg-gray-500 disabled:opacity-50",
|
|
4162
4160
|
"aria-label": `Remove ${row.label}`,
|
|
4161
|
+
onClick: () => removeFileAt(row.index),
|
|
4162
|
+
className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-gray-400 text-white hover:bg-gray-500 disabled:opacity-50",
|
|
4163
4163
|
children: /* @__PURE__ */ jsx(X, { size: 14, strokeWidth: 2.5 })
|
|
4164
4164
|
}
|
|
4165
4165
|
)
|
|
@@ -16198,7 +16198,7 @@ var FormControls = ({
|
|
|
16198
16198
|
"div",
|
|
16199
16199
|
{
|
|
16200
16200
|
className: cn(
|
|
16201
|
-
"flex gap-4 border-t
|
|
16201
|
+
"flex gap-4 border-t p-4 items-center",
|
|
16202
16202
|
showWorkflowStatus ? "justify-between" : useWideActions ? "flex-col sm:flex-row sm:justify-stretch sm:gap-4" : "justify-end",
|
|
16203
16203
|
className
|
|
16204
16204
|
),
|