@npm_leadtech/legal-contracts-ui 0.177.1 → 0.177.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.
@@ -75,14 +75,17 @@ var s = ({ dataQa: s, label: c, id: l, name: u, type: d = "text", placeholder: f
75
75
  }),
76
76
  _ && /* @__PURE__ */ a("p", {
77
77
  id: `${l}-error-message`,
78
- className: "text-small text-error-500 flex items-start gap-1",
79
- children: [/* @__PURE__ */ i(e, {
80
- className: "shrink-0",
81
- width: 20,
82
- height: 20,
83
- fill: "var(--color-error-500)",
84
- "aria-hidden": "true"
85
- }), v]
78
+ className: "text-small text-error-500 flex items-center gap-1",
79
+ children: [
80
+ /* @__PURE__ */ i(e, {
81
+ width: 20,
82
+ height: 20,
83
+ fill: "var(--color-error-500)",
84
+ "aria-hidden": "true"
85
+ }),
86
+ " ",
87
+ v
88
+ ]
86
89
  })
87
90
  ]
88
91
  });
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  //#region lib/components/molecules/LeadGateSuccessFeatureItem.tsx
3
3
  var n = ({ icon: n, title: r, description: i }) => /* @__PURE__ */ t("li", {
4
4
  className: "flex items-start gap-4",
5
- children: [n == null ? null : /* @__PURE__ */ e("span", {
5
+ children: [n != null && /* @__PURE__ */ e("span", {
6
6
  className: "mt-0.5 shrink-0",
7
7
  children: n
8
8
  }), /* @__PURE__ */ t("div", {
@@ -37,7 +37,7 @@ var o = ({ trigger: o, children: s, isOpen: c, setIsOpen: l, showClose: u, onTri
37
37
  }), /* @__PURE__ */ r("div", {
38
38
  className: "pointer-events-none relative flex max-h-screen w-full items-start justify-center overflow-y-auto px-6 py-24",
39
39
  children: /* @__PURE__ */ i("div", {
40
- className: "pointer-events-auto relative shrink-0",
40
+ className: "pointer-events-auto relative",
41
41
  children: [u && /* @__PURE__ */ r("button", {
42
42
  type: "button",
43
43
  className: "absolute top-4 right-4 z-10 cursor-pointer rounded-full p-2 transition-colors hover:bg-neutral-100 focus:outline-none",
@@ -45,14 +45,17 @@ var a = ({ dataQa: a, label: o, id: s, name: c, required: l = !1, placeholder: u
45
45
  }),
46
46
  p && /* @__PURE__ */ r("p", {
47
47
  id: `${s}-error-message`,
48
- className: "text-small text-error-500 flex items-start gap-1",
49
- children: [/* @__PURE__ */ n(t, {
50
- className: "shrink-0",
51
- width: 20,
52
- height: 20,
53
- fill: "var(--color-error-500)",
54
- "aria-hidden": "true"
55
- }), m]
48
+ className: "text-small text-error-500 flex items-center gap-1",
49
+ children: [
50
+ /* @__PURE__ */ n(t, {
51
+ width: 20,
52
+ height: 20,
53
+ fill: "var(--color-error-500)",
54
+ "aria-hidden": "true"
55
+ }),
56
+ " ",
57
+ m
58
+ ]
56
59
  })
57
60
  ]
58
61
  });
@@ -28,14 +28,17 @@ var i = ({ dataQa: i, label: a, id: o, name: s, required: c = !1, placeholder: l
28
28
  }),
29
29
  u && /* @__PURE__ */ n("p", {
30
30
  id: `${o}-error-message`,
31
- className: "text-small text-error-500 flex items-start gap-1",
32
- children: [/* @__PURE__ */ t(e, {
33
- className: "shrink-0",
34
- width: 20,
35
- height: 20,
36
- fill: "var(--color-error-500)",
37
- "aria-hidden": "true"
38
- }), d]
31
+ className: "text-small text-error-500 flex items-center gap-1",
32
+ children: [
33
+ /* @__PURE__ */ t(e, {
34
+ width: 20,
35
+ height: 20,
36
+ fill: "var(--color-error-500)",
37
+ "aria-hidden": "true"
38
+ }),
39
+ " ",
40
+ d
41
+ ]
39
42
  })
40
43
  ]
41
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.177.1",
3
+ "version": "0.177.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",