@npm_leadtech/legal-contracts-ui 0.24.7 → 0.24.9

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.
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { TrustedBadge as o } from "./TrustedBadge.js";
3
3
  import { PreformOption as d } from "./PreformOption.js";
4
4
  import { Button as i } from "./Button.js";
5
- const g = ({ trustedBadge: r, title: s, options: t, ctaLabel: m }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 pt-10 text-neutral-800 sm:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ a("div", { className: "relative flex flex-col gap-6 rounded bg-white px-6 pt-8 pb-6 shadow-md sm:items-center sm:gap-8 lg:px-26 xl:px-10", children: [
5
+ const g = ({ trustedBadge: r, title: t, options: m, ctaLabel: s }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 pt-10 text-neutral-800 sm:px-6 lg:px-8 xl:px-30", children: /* @__PURE__ */ a("div", { className: "relative mx-auto flex max-w-300 flex-col gap-6 rounded bg-white px-6 pt-8 pb-6 shadow-md sm:items-center sm:gap-8 lg:px-26 xl:px-10", children: [
6
6
  /* @__PURE__ */ e(o, { ...r }),
7
- /* @__PURE__ */ e("h2", { className: "text-medium sm:text-large font-bold", children: s }),
8
- /* @__PURE__ */ e("div", { className: "grid w-full grid-cols-2 gap-2 sm:grid-cols-4 sm:gap-4 xl:grid-cols-6", children: t.map((l) => /* @__PURE__ */ e(d, { ...l }, l.label)) }),
9
- /* @__PURE__ */ e(i, { className: "font-bold", size: "default", children: m })
7
+ /* @__PURE__ */ e("h2", { className: "text-medium sm:text-large font-bold", children: t }),
8
+ /* @__PURE__ */ e("div", { className: "grid w-full grid-cols-2 gap-2 sm:grid-cols-4 sm:gap-4 xl:grid-cols-6", children: m.map((l) => /* @__PURE__ */ e(d, { ...l }, l.label)) }),
9
+ /* @__PURE__ */ e(i, { className: "font-bold", size: "default", children: s })
10
10
  ] }) });
11
11
  export {
12
12
  g as Preform
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as l, Fragment as c } from "react/jsx-runtime";
2
2
  import { Note as r } from "./Note.js";
3
3
  import { HistoryIcon as i } from "./HistoryIcon.js";
4
- import { DoneCircleIcon as m } from "./DoneCircleIcon.js";
5
- import { DocOutlineIcon as o } from "./DocOutlineIcon.js";
6
- const u = ({ lastUpdate: s, reviewer: a, alsoKnownAs: n }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 text-neutral-800 md:px-8 xl:px-30", children: /* @__PURE__ */ e("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: /* @__PURE__ */ l("div", { className: "text-small flex flex-col gap-2 text-neutral-600", children: [
4
+ import { DoneCircleIcon as o } from "./DoneCircleIcon.js";
5
+ import { DocOutlineIcon as m } from "./DocOutlineIcon.js";
6
+ const u = ({ lastUpdate: s, reviewer: a, alsoKnownAs: n }) => /* @__PURE__ */ e("section", { className: "bg-neutral-25 px-6 py-4 text-neutral-800 lg:px-8 xl:px-30", children: /* @__PURE__ */ e("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: /* @__PURE__ */ l("div", { className: "text-small flex flex-col gap-2 text-neutral-600", children: [
7
7
  /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2 sm:gap-4", children: [
8
8
  /* @__PURE__ */ l(r, { children: [
9
9
  /* @__PURE__ */ e(i, { className: "size-4.5", fill: "var(--neutral-600)" }),
@@ -12,14 +12,14 @@ const u = ({ lastUpdate: s, reviewer: a, alsoKnownAs: n }) => /* @__PURE__ */ e(
12
12
  !!a && /* @__PURE__ */ l(c, { children: [
13
13
  /* @__PURE__ */ e("span", { className: "hidden h-5 w-px bg-neutral-600 sm:block", "aria-hidden": !0 }),
14
14
  /* @__PURE__ */ l(r, { children: [
15
- /* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--neutral-600)" }),
15
+ /* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
16
16
  a
17
17
  ] })
18
18
  ] })
19
19
  ] }),
20
20
  n.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
21
21
  /* @__PURE__ */ l(r, { children: [
22
- /* @__PURE__ */ e(o, { className: "size-4.5", fill: "var(--neutral-600)" }),
22
+ /* @__PURE__ */ e(m, { className: "size-4.5", fill: "var(--neutral-600)" }),
23
23
  " Also Known As:"
24
24
  ] }),
25
25
  n.map((t) => /* @__PURE__ */ e("span", { className: "text-small rounded border border-neutral-200 bg-white px-2 py-1", children: t }, t))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.24.7",
3
+ "version": "0.24.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -488,6 +488,7 @@
488
488
  "test": "vitest",
489
489
  "storybook": "storybook dev -p 6006",
490
490
  "build-storybook": "storybook build",
491
+ "prepublishOnly": "npm run build",
491
492
  "reinstall-force": "rm -Rf node_modules && pnpm install",
492
493
  "prepare-upgrade": "pnpm reinstall-force && pnpm build && pnpm chromatic && git add . && git commit -m \"$MSG\" --allow-empty && npm config set tag-version-prefix ''",
493
494
  "upgrade-patch": "pnpm prepare-upgrade && npm version patch -m \"Update patch version number\" && git push && git push --tags",