@npm_leadtech/legal-contracts-ui 0.26.1 → 0.26.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.
@@ -1,12 +1,11 @@
1
1
  import { FC } from 'react';
2
- import { ReactNode } from 'react';
3
2
 
4
3
  export declare const BenefitsBar: FC<BenefitsBarProps>;
5
4
 
6
5
  export declare interface BenefitsBarProps {
7
6
  benefits: {
8
- icon: ReactNode;
9
- label: string;
7
+ src: 'fillForms' | 'print' | 'time';
8
+ text: string;
10
9
  }[];
11
10
  }
12
11
 
@@ -1,9 +1,16 @@
1
- import { jsx as l, jsxs as r } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
2
  import "react";
3
- const s = ({ benefits: a }) => /* @__PURE__ */ l("div", { className: "flex bg-neutral-200 px-6 py-4 md:justify-center md:py-6 lg:py-4", children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-2 text-neutral-800 md:flex-row md:gap-12 lg:gap-20", children: a.map((e) => /* @__PURE__ */ r("div", { className: "flex items-center gap-4 md:gap-2", children: [
4
- e.icon,
5
- /* @__PURE__ */ l("p", { className: "text-medium whitespace-nowrap", children: e.label })
6
- ] }, e.label)) }) });
3
+ import { TimeIcon as m } from "./TimeIcon.js";
4
+ import { PrintIcon as a } from "./PrintIcon.js";
5
+ import { FillFormsIcon as t } from "./FillFormsIcon.js";
6
+ const l = {
7
+ fillForms: /* @__PURE__ */ e(t, { className: "size-6 md:size-10", "aria-hidden": !0 }),
8
+ print: /* @__PURE__ */ e(a, { className: "size-6 md:size-10", "aria-hidden": !0 }),
9
+ time: /* @__PURE__ */ e(m, { className: "size-6 md:size-10", "aria-hidden": !0 })
10
+ }, x = ({ benefits: i }) => /* @__PURE__ */ e("div", { className: "flex bg-neutral-200 px-6 py-4 md:justify-center md:py-6 lg:py-4", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2 text-neutral-800 md:flex-row md:gap-12 lg:gap-20", children: i.map((r) => /* @__PURE__ */ s("div", { className: "flex items-center gap-4 md:gap-2", children: [
11
+ l[r.src],
12
+ /* @__PURE__ */ e("p", { className: "text-medium whitespace-nowrap", children: r.text })
13
+ ] }, r.text)) }) });
7
14
  export {
8
- s as BenefitsBar
15
+ x as BenefitsBar
9
16
  };
@@ -4,8 +4,8 @@ import { ReactNode } from 'react';
4
4
 
5
5
  export interface BenefitsBarProps {
6
6
  benefits: {
7
- icon: ReactNode;
8
- label: string;
7
+ src: 'fillForms' | 'print' | 'time';
8
+ text: string;
9
9
  }[];
10
10
  }
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.26.1",
3
+ "version": "0.26.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",