@npm_leadtech/legal-contracts-ui 0.150.0 → 0.150.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.
@@ -34,7 +34,7 @@ const x = ({ variant: r, title: i, subtitle: s, items: o, cta: n }) => {
34
34
  {
35
35
  size: "large",
36
36
  variant: a[r].button,
37
- className: "text-medium w-full max-w-52 justify-center font-bold",
37
+ className: "text-medium w-full max-w-fit justify-center font-bold",
38
38
  children: n
39
39
  }
40
40
  )
@@ -1,12 +1,19 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import { PricingPlanCard as r } from "./PricingPlanCard.js";
3
- const s = ({ children: a, footnote: e }) => /* @__PURE__ */ c("div", { className: "flex h-fit flex-1 flex-col gap-3", children: [
4
- a,
5
- e ? /* @__PURE__ */ l("p", { className: "text-extra-small px-1 text-neutral-600", children: e }) : null
6
- ] }), m = ({ heading: a, columns: e }) => /* @__PURE__ */ l("section", { className: "bg-white px-6 py-12", children: /* @__PURE__ */ c("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
7
- /* @__PURE__ */ l("h2", { className: "text-super-large text-center font-bold text-neutral-800", children: a }),
8
- /* @__PURE__ */ l("div", { className: "grid gap-6 lg:grid-cols-3", children: e.map(({ plan: t, footnote: i }) => /* @__PURE__ */ l(s, { footnote: i, children: /* @__PURE__ */ l(r, { ...t }) }, t.title)) })
1
+ import { jsx as l, jsxs as n } from "react/jsx-runtime";
2
+ import { PricingPlanCard as i } from "./PricingPlanCard.js";
3
+ const o = ({
4
+ children: e,
5
+ footnote: a,
6
+ className: s
7
+ }) => /* @__PURE__ */ n("div", { className: `flex h-fit flex-1 flex-col gap-3 ${s || ""}`, children: [
8
+ e,
9
+ a ? /* @__PURE__ */ l("p", { className: "text-extra-small px-1 text-neutral-600", children: a }) : null
10
+ ] }), g = ({ heading: e, columns: a }) => /* @__PURE__ */ l("section", { className: "bg-white px-6 py-12", children: /* @__PURE__ */ n("div", { className: "mx-auto flex max-w-6xl flex-col gap-12", children: [
11
+ /* @__PURE__ */ l("h2", { className: "text-super-large text-center font-bold text-neutral-800", children: e }),
12
+ /* @__PURE__ */ l("div", { className: "grid gap-6 lg:grid-cols-3", children: a.map(({ plan: s, footnote: r }, t) => {
13
+ const c = t === a.length - 1 ? 3 - t % 3 : 1;
14
+ return /* @__PURE__ */ l(o, { footnote: r, className: c === 2 ? "lg:col-span-2" : c === 3 ? "lg:col-span-3" : "", children: /* @__PURE__ */ l(i, { ...s }) }, s.title);
15
+ }) })
9
16
  ] }) });
10
17
  export {
11
- m as PricingPlansSection
18
+ g as PricingPlansSection
12
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.150.0",
3
+ "version": "0.150.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",