ynotsoft-dynamic-form 1.0.59 → 1.0.60

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.
@@ -9414,40 +9414,52 @@ function pm({ field: e, formValues: t, handleChange: n, handleBlur: o, error: r
9414
9414
  ] }) });
9415
9415
  }
9416
9416
  function mm({ message: e }) {
9417
- return /* @__PURE__ */ c("div", { className: "rounded-lg bg-red-50 border border-red-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9418
- /* @__PURE__ */ c(qa, { "aria-hidden": "true", className: "size-5 text-red-500 shrink-0" }),
9419
- /* @__PURE__ */ c("span", { className: "text-sm font-medium text-red-900", children: e })
9420
- ] }) });
9417
+ return (
9418
+ // Error Alert
9419
+ /* @__PURE__ */ c("div", { className: "rounded-lg bg-red-50 border border-red-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9420
+ /* @__PURE__ */ c(qa, { "aria-hidden": "true", className: "size-5 text-red-500 shrink-0" }),
9421
+ /* @__PURE__ */ c("span", { className: "text-sm font-medium text-red-900", children: e })
9422
+ ] }) })
9423
+ );
9421
9424
  }
9422
9425
  function hm({ message: e }) {
9423
- return /* @__PURE__ */ c("div", { className: "rounded-lg bg-amber-50 border border-amber-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9424
- /* @__PURE__ */ c(
9425
- Ga,
9426
- {
9427
- "aria-hidden": "true",
9428
- className: "size-5 text-amber-600 shrink-0"
9429
- }
9430
- ),
9431
- /* @__PURE__ */ c("span", { className: "text-sm font-medium text-amber-900", children: e })
9432
- ] }) });
9426
+ return (
9427
+ // Warning Alert
9428
+ /* @__PURE__ */ c("div", { className: "rounded-lg bg-amber-50 border border-amber-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9429
+ /* @__PURE__ */ c(
9430
+ Ga,
9431
+ {
9432
+ "aria-hidden": "true",
9433
+ className: "size-5 text-amber-600 shrink-0"
9434
+ }
9435
+ ),
9436
+ /* @__PURE__ */ c("span", { className: "text-sm font-medium text-amber-900", children: e })
9437
+ ] }) })
9438
+ );
9433
9439
  }
9434
9440
  function gm({ message: e }) {
9435
- return /* @__PURE__ */ c("div", { className: "rounded-lg bg-green-50 border border-green-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9436
- /* @__PURE__ */ c(
9437
- Ka,
9438
- {
9439
- "aria-hidden": "true",
9440
- className: "size-5 text-green-600 shrink-0"
9441
- }
9442
- ),
9443
- /* @__PURE__ */ c("span", { className: "text-sm font-medium text-green-900", children: e })
9444
- ] }) });
9441
+ return (
9442
+ // Success Alert
9443
+ /* @__PURE__ */ c("div", { className: "rounded-lg bg-green-50 border border-green-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9444
+ /* @__PURE__ */ c(
9445
+ Ka,
9446
+ {
9447
+ "aria-hidden": "true",
9448
+ className: "size-5 text-green-600 shrink-0"
9449
+ }
9450
+ ),
9451
+ /* @__PURE__ */ c("span", { className: "text-sm font-medium text-green-900", children: e })
9452
+ ] }) })
9453
+ );
9445
9454
  }
9446
9455
  function bm({ message: e }) {
9447
- return /* @__PURE__ */ c("div", { className: "rounded-lg bg-blue-50 border border-blue-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9448
- /* @__PURE__ */ c(nl, { "aria-hidden": "true", className: "size-5 text-blue-600 shrink-0" }),
9449
- /* @__PURE__ */ c("span", { className: "text-sm font-medium text-blue-900", children: e })
9450
- ] }) });
9456
+ return (
9457
+ // Info Alert
9458
+ /* @__PURE__ */ c("div", { className: "rounded-lg bg-blue-50 border border-blue-100 p-4 shadow-sm", children: /* @__PURE__ */ _("div", { className: "flex items-center gap-3", children: [
9459
+ /* @__PURE__ */ c(nl, { "aria-hidden": "true", className: "size-5 text-blue-600 shrink-0" }),
9460
+ /* @__PURE__ */ c("span", { className: "text-sm font-medium text-blue-900", children: e })
9461
+ ] }) })
9462
+ );
9451
9463
  }
9452
9464
  function vm({ field: e }) {
9453
9465
  const { variant: t = "info", message: n, content: o } = e, r = n || o || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ynotsoft-dynamic-form",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "DynamicForm React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/dynamic-form.umd.cjs",