@npm_leadtech/legal-contracts-ui 0.93.2 → 0.93.3

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.
@@ -13,7 +13,7 @@ export declare interface AboutUsTemplateProps {
13
13
  howWeHelp: WeHelpSectionProps;
14
14
  guidelines: GuidelinesSectionProps;
15
15
  experts: ExpertsSectionProps;
16
- trustPilot: TrustPilotSectionProps;
16
+ trustPilot: ReactNode;
17
17
  partners: PartnersSectionProps;
18
18
  cta: CtaSectionProps;
19
19
  contactUs: ContactUsSectionProps;
@@ -128,12 +128,6 @@ export interface StorylineProps {
128
128
  }[];
129
129
  }
130
130
 
131
- export interface TrustPilotSectionProps {
132
- trustPilot: React.ReactNode;
133
- content: string;
134
- title: string;
135
- }
136
-
137
131
  export interface ValuesSectionProps {
138
132
  title: string;
139
133
  children: ReactNode;
@@ -1,43 +1,42 @@
1
- import { jsxs as S, jsx as o } from "react/jsx-runtime";
2
- import { MissionSection as u } from "./MissionSection.js";
3
- import { ValuesSection as x } from "./ValuesSection.js";
4
- import { Storyline as b } from "./Storyline.js";
5
- import { WeHelpSection as d } from "./WeHelpSection.js";
6
- import { GuidelinesSection as j } from "./GuidelinesSection.js";
7
- import { ExpertsSection as y } from "./ExpertsSection.js";
8
- import { TrustPilotSection as C } from "./TrustPilotSection.js";
1
+ import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
+ import { MissionSection as S } from "./MissionSection.js";
3
+ import { ValuesSection as u } from "./ValuesSection.js";
4
+ import { Storyline as d } from "./Storyline.js";
5
+ import { WeHelpSection as b } from "./WeHelpSection.js";
6
+ import { GuidelinesSection as h } from "./GuidelinesSection.js";
7
+ import { ExpertsSection as w } from "./ExpertsSection.js";
9
8
  import { PartnersSection as N } from "./PartnersSection.js";
10
- import { CtaSection as P } from "./CtaSection.js";
11
- import { ContactUsSection as T } from "./ContactUsSection.js";
12
- import { Jumbotron2 as U } from "./Jumbotron2.js";
13
- import { IntroSection as g } from "./IntroSection.js";
14
- const v = ({
15
- jumbotron: t,
16
- intro: r,
9
+ import { CtaSection as j } from "./CtaSection.js";
10
+ import { ContactUsSection as y } from "./ContactUsSection.js";
11
+ import { Jumbotron2 as C } from "./Jumbotron2.js";
12
+ import { IntroSection as U } from "./IntroSection.js";
13
+ const W = ({
14
+ jumbotron: r,
15
+ intro: t,
17
16
  mission: m,
18
- coreValues: i,
19
- storyline: e,
17
+ coreValues: e,
18
+ storyline: i,
20
19
  howWeHelp: n,
21
- guidelines: p,
22
- experts: f,
23
- trustPilot: s,
24
- partners: c,
25
- cta: l,
20
+ guidelines: l,
21
+ experts: s,
22
+ trustPilot: c,
23
+ partners: f,
24
+ cta: p,
26
25
  contactUs: a
27
- }) => /* @__PURE__ */ S("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
28
- /* @__PURE__ */ o(U, { ...t }),
29
- /* @__PURE__ */ o(g, { ...r, className: "bg-primary-50" }),
30
- /* @__PURE__ */ o(u, { ...m }),
31
- /* @__PURE__ */ o(x, { ...i }),
32
- /* @__PURE__ */ o(b, { ...e }),
33
- /* @__PURE__ */ o(d, { ...n }),
26
+ }) => /* @__PURE__ */ x("main", { className: "mx-auto flex w-full flex-1 flex-col text-neutral-800", children: [
27
+ /* @__PURE__ */ o(C, { ...r }),
28
+ /* @__PURE__ */ o(U, { ...t, className: "bg-primary-50" }),
29
+ /* @__PURE__ */ o(S, { ...m }),
30
+ /* @__PURE__ */ o(u, { ...e }),
31
+ /* @__PURE__ */ o(d, { ...i }),
32
+ /* @__PURE__ */ o(b, { ...n }),
33
+ /* @__PURE__ */ o(h, { ...l }),
34
+ /* @__PURE__ */ o(w, { ...s }),
35
+ /* @__PURE__ */ o("div", { className: "w-full max-w-254 md:h-34", children: c }),
36
+ /* @__PURE__ */ o(N, { ...f }),
34
37
  /* @__PURE__ */ o(j, { ...p }),
35
- /* @__PURE__ */ o(y, { ...f }),
36
- /* @__PURE__ */ o(C, { ...s }),
37
- /* @__PURE__ */ o(N, { ...c }),
38
- /* @__PURE__ */ o(P, { ...l }),
39
- /* @__PURE__ */ o(T, { ...a })
38
+ /* @__PURE__ */ o(y, { ...a })
40
39
  ] });
41
40
  export {
42
- v as AboutUsTemplate
41
+ W as AboutUsTemplate
43
42
  };
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
4
4
 
5
5
  export interface AnchorProps extends React.ComponentProps<'a'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
6
+ variant?: 'default' | 'legal' | 'tooltip';
7
7
  }
8
8
 
@@ -1,24 +1,23 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import p from "clsx";
3
- const v = ({ children: o, variant: i = "default", className: c = "", ...e }) => {
4
- const t = e.href || "", r = t.toLowerCase(), l = r.startsWith("mailto:"), a = r.startsWith("tel:"), n = {
1
+ import { jsx as u } from "react/jsx-runtime";
2
+ import h from "clsx";
3
+ const v = ({ children: o, variant: i = "default", className: l = "", ...e }) => {
4
+ const t = e.href || "", r = t.toLowerCase(), c = r.startsWith("mailto:"), n = r.startsWith("tel:"), a = {
5
5
  default: "text-neutral-900 underline ",
6
- legal: "text-primary-700 cursor-pointer",
7
- "about-us": "text-primary-700 cursor-pointer"
8
- }, f = n[i] ?? n.default, s = t.startsWith("http") && !a && !l, u = (() => {
9
- if (!a) return t;
6
+ legal: "text-primary-700 cursor-pointer"
7
+ }, f = a[i] ?? a.default, s = t.startsWith("http") && !n && !c, d = (() => {
8
+ if (!n) return t;
10
9
  try {
11
10
  return decodeURIComponent(t).replace(/\s/g, "");
12
11
  } catch {
13
12
  return t.replace(/%20/g, "").replace(/\s/g, "");
14
13
  }
15
14
  })();
16
- return /* @__PURE__ */ d(
15
+ return /* @__PURE__ */ u(
17
16
  "a",
18
17
  {
19
18
  ...e,
20
- href: u,
21
- className: p(c, f),
19
+ href: d,
20
+ className: h(l, f),
22
21
  target: s ? "_blank" : void 0,
23
22
  rel: s ? "noopener noreferrer" : void 0,
24
23
  children: o
@@ -1,8 +1,4 @@
1
1
  import { JSX } from 'react/jsx-runtime';
2
2
 
3
- export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
4
-
5
- export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
7
- }
3
+ export declare const Blockquote: ({ children }: React.ComponentProps<"blockquote">) => JSX.Element;
8
4
 
@@ -1,8 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- const l = ({ children: t, variant: a = "default" }) => /* @__PURE__ */ r("blockquote", { className: {
3
- default: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic",
4
- "about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5"
5
- }[a], children: t });
2
+ const e = ({ children: o }) => /* @__PURE__ */ r("blockquote", { className: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic", children: o });
6
3
  export {
7
- l as Blockquote
4
+ e as Blockquote
8
5
  };
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import "react";
3
- import { useScroll as i } from "../shared/hooks/useScroll.js";
4
- import { InfoIcon as d } from "./InfoIcon.js";
5
- const h = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours: a }) => {
6
- const r = i(10);
3
+ import { useScroll as r } from "../shared/hooks/useScroll.js";
4
+ import { SinglePhoneIcon as d } from "./SinglePhoneIcon.js";
5
+ const f = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours: a }) => {
6
+ const i = r(10);
7
7
  return /* @__PURE__ */ e(
8
8
  "section",
9
9
  {
10
- className: `flex w-full justify-center border-b border-neutral-200 bg-neutral-50 px-4 transition-all duration-500 ease-in-out ${r ? "h-0 py-0" : "h-8.75 py-2"}`,
10
+ className: `flex w-full justify-center border-b border-neutral-200 bg-neutral-50 px-4 transition-all duration-500 ease-in-out ${i ? "h-0 py-0" : "h-8.75 py-2"}`,
11
11
  children: /* @__PURE__ */ n("div", { className: "flex flex-wrap items-center justify-center gap-4 text-center text-neutral-900 md:text-left", children: [
12
12
  s && /* @__PURE__ */ e("p", { className: "text-small hidden sm:block", children: s }),
13
13
  /* @__PURE__ */ e("div", { className: "h-5 w-5", children: /* @__PURE__ */ e(d, {}) }),
@@ -22,5 +22,5 @@ const h = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours:
22
22
  );
23
23
  };
24
24
  export {
25
- h as ContactBanner
25
+ f as ContactBanner
26
26
  };
@@ -1,27 +1,28 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { Hero2Section as s } from "./Hero2Section.js";
3
- import { HowItWorksSection as c } from "./HowItWorksSection.js";
4
- import { FastAndSimpleSection as p } from "./FastAndSimpleSection.js";
5
- import { FeaturesSection as x } from "./FeaturesSection.js";
6
- import { BannerTagSection as f } from "./BannerTagSection.js";
1
+ import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
+ import { ToastProvider as s } from "../shared/hooks/useToast.js";
3
+ import { Hero2Section as c } from "./Hero2Section.js";
4
+ import { HowItWorksSection as p } from "./HowItWorksSection.js";
5
+ import { FastAndSimpleSection as x } from "./FastAndSimpleSection.js";
6
+ import { FeaturesSection as f } from "./FeaturesSection.js";
7
+ import { BannerTagSection as d } from "./BannerTagSection.js";
7
8
  import { FaqSection as g } from "./FaqSection.js";
8
- const y = ({
9
- hero: o,
10
- howItWorks: t,
9
+ const T = ({
10
+ hero: r,
11
+ howItWorks: e,
11
12
  fastAndSimple: i,
12
- benefits: r,
13
+ benefits: t,
13
14
  trustPilot: m,
14
15
  signAndSend: a,
15
16
  faq: n
16
- }) => /* @__PURE__ */ l("main", { className: "bg-neutral-25 w-full flex-1", children: [
17
- /* @__PURE__ */ e(s, { ...o, variant: "esign" }),
18
- /* @__PURE__ */ e(c, { ...t }),
19
- /* @__PURE__ */ e(p, { ...i, variant: "esign" }),
20
- /* @__PURE__ */ e(x, { ...r }),
21
- /* @__PURE__ */ e("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ e("div", { className: "mx-auto w-full max-w-254 md:h-34", children: m }) }),
22
- /* @__PURE__ */ e(f, { ...a }),
23
- /* @__PURE__ */ e(g, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
24
- ] });
17
+ }) => /* @__PURE__ */ o(s, { children: /* @__PURE__ */ l("main", { className: "bg-neutral-25 w-full flex-1", children: [
18
+ /* @__PURE__ */ o(c, { ...r, variant: "esign" }),
19
+ /* @__PURE__ */ o(p, { ...e }),
20
+ /* @__PURE__ */ o(x, { ...i, variant: "esign" }),
21
+ /* @__PURE__ */ o(f, { ...t }),
22
+ /* @__PURE__ */ o("section", { className: "bg-white px-6 py-8 lg:px-8 lg:py-12 xl:px-0", children: /* @__PURE__ */ o("div", { className: "mx-auto w-full max-w-254 md:h-34", children: m }) }),
23
+ /* @__PURE__ */ o(d, { ...a }),
24
+ /* @__PURE__ */ o(g, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
25
+ ] }) });
25
26
  export {
26
- y as ElectronicSignatureTemplate
27
+ T as ElectronicSignatureTemplate
27
28
  };
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
4
4
 
5
5
  export interface Header2Props extends React.ComponentProps<'h2'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
6
+ variant?: 'default' | 'legal' | 'tooltip';
7
7
  }
8
8
 
@@ -1,12 +1,14 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsx as l } from "react/jsx-runtime";
2
2
  import "react";
3
- const n = (t) => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "none", viewBox: "0 0 20 20", ...t, children: /* @__PURE__ */ o(
3
+ const o = (C) => /* @__PURE__ */ l("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...C, children: /* @__PURE__ */ l(
4
4
  "path",
5
5
  {
6
- fill: "var(--neutral-900)",
7
- d: "M16.675 12.817a9.5 9.5 0 0 1-2.942-.467.81.81 0 0 0-.841.2l-1.309 1.642c-2.358-1.125-4.566-3.25-5.741-5.692l1.625-1.383a.85.85 0 0 0 .2-.85A9.3 9.3 0 0 1 7.2 3.325a.83.83 0 0 0-.825-.825H3.492c-.45 0-.992.2-.992.825C2.5 11.067 8.942 17.5 16.675 17.5c.592 0 .825-.525.825-.983v-2.875a.83.83 0 0 0-.825-.825"
6
+ fillRule: "evenodd",
7
+ clipRule: "evenodd",
8
+ d: "M2 12C2 6.47 6.47 2 12 2C17.53 2 22 6.47 22 12C22 17.53 17.53 22 12 22C6.47 22 2 17.53 2 12ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V12ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7Z",
9
+ fill: C.fill ?? "#1E2021"
8
10
  }
9
11
  ) });
10
12
  export {
11
- n as InfoIcon
13
+ o as InfoIcon
12
14
  };
@@ -6,6 +6,6 @@ export declare interface MarkdownProps {
6
6
  content: string;
7
7
  className?: string;
8
8
  useCustom?: boolean;
9
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
9
+ variant?: 'default' | 'legal' | 'tooltip';
10
10
  }
11
11
 
@@ -1,51 +1,51 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import a, { defaultUrlTransform as s } from "react-markdown";
3
- import i from "rehype-raw";
4
- import l from "remark-gfm";
5
- import { Anchor as f } from "./Anchor.js";
6
- import { Blockquote as c } from "./Blockquote.js";
7
- import { Code as d } from "./Code.js";
2
+ import a, { defaultUrlTransform as i } from "react-markdown";
3
+ import s from "rehype-raw";
4
+ import f from "remark-gfm";
5
+ import { Anchor as l } from "./Anchor.js";
6
+ import { Blockquote as d } from "./Blockquote.js";
7
+ import { Code as c } from "./Code.js";
8
8
  import { Header1 as h } from "./Header1.js";
9
9
  import { Header2 as u } from "./Header2.js";
10
10
  import { Header3 as C } from "./Header3.js";
11
- import { Header4 as b } from "./Header4.js";
12
- import { OrderedList as k } from "./OrderedList.js";
13
- import { Paragraph as T } from "./Paragraph.js";
14
- import { TableRow as w, TableHeader as g, TableData as H, Table as q } from "./Table.js";
15
- import { UnorderedList as x } from "./UnorderedList.js";
16
- import { Video as P } from "./Video.js";
17
- import { Emphasis as R } from "./Emphasis.js";
18
- import U from "clsx";
19
- const y = (m) => m.startsWith("tel:") ? m : s(m), v = ({ content: m, className: t = "", useCustom: n = !0, variant: e = "default" }) => {
11
+ import { Header4 as T } from "./Header4.js";
12
+ import { OrderedList as b } from "./OrderedList.js";
13
+ import { Paragraph as k } from "./Paragraph.js";
14
+ import { TableRow as w, TableHeader as g, TableData as H, Table as x } from "./Table.js";
15
+ import { UnorderedList as P } from "./UnorderedList.js";
16
+ import { Video as R } from "./Video.js";
17
+ import { Emphasis as U } from "./Emphasis.js";
18
+ import q from "clsx";
19
+ const y = (e) => e.startsWith("tel:") ? e : i(e), $ = ({ content: e, className: t = "", useCustom: n = !0, variant: m = "default" }) => {
20
20
  const p = {
21
21
  h1: h,
22
- h2: (o) => /* @__PURE__ */ r(u, { variant: e, ...o }),
22
+ h2: (o) => /* @__PURE__ */ r(u, { variant: m, ...o }),
23
23
  h3: C,
24
- h4: b,
25
- p: (o) => /* @__PURE__ */ r(T, { variant: e, ...o }),
26
- a: (o) => /* @__PURE__ */ r(f, { variant: e, ...o }),
27
- ul: (o) => /* @__PURE__ */ r(x, { variant: e, ...o }),
28
- ol: (o) => /* @__PURE__ */ r(k, { variant: e, ...o }),
29
- code: d,
30
- blockquote: (o) => /* @__PURE__ */ r(c, { variant: e, ...o }),
31
- video: P,
32
- table: q,
24
+ h4: T,
25
+ p: (o) => /* @__PURE__ */ r(k, { variant: m, ...o }),
26
+ a: (o) => /* @__PURE__ */ r(l, { variant: m, ...o }),
27
+ ul: (o) => /* @__PURE__ */ r(P, { variant: m, ...o }),
28
+ ol: (o) => /* @__PURE__ */ r(b, { variant: m, ...o }),
29
+ code: c,
30
+ blockquote: d,
31
+ video: R,
32
+ table: x,
33
33
  td: H,
34
34
  th: g,
35
35
  tr: w,
36
- em: R
36
+ em: U
37
37
  };
38
- return /* @__PURE__ */ r("div", { className: U("w-full min-w-0", t), children: /* @__PURE__ */ r(
38
+ return /* @__PURE__ */ r("div", { className: q("w-full min-w-0", t), children: /* @__PURE__ */ r(
39
39
  a,
40
40
  {
41
- rehypePlugins: [i],
42
- remarkPlugins: [l],
41
+ rehypePlugins: [s],
42
+ remarkPlugins: [f],
43
43
  urlTransform: y,
44
44
  components: n ? p : void 0,
45
- children: m
45
+ children: e
46
46
  }
47
47
  ) });
48
48
  };
49
49
  export {
50
- v as Markdown
50
+ $ as Markdown
51
51
  };
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
4
4
 
5
5
  export interface OrderedListProps extends React.ComponentProps<'ol'> {
6
- variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
6
+ variant?: 'default' | 'tooltip' | 'legal';
7
7
  }
8
8
 
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
4
4
 
5
5
  export interface ParagraphProps extends React.ComponentProps<'p'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
6
+ variant?: 'default' | 'legal' | 'tooltip';
7
7
  }
8
8
 
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, jsxs as l, Fragment as s } from "react/jsx-runtime";
2
2
  import { Note as a } 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";
4
+ import { DocOutlineIcon as m } from "./DocOutlineIcon.js";
5
+ import { DoneCircleIcon as o } from "./DoneCircleIcon.js";
6
6
  const u = ({ lastUpdate: n, reviewer: t, alsoKnownAs: r }) => /* @__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(a, { children: [
@@ -12,14 +12,14 @@ const u = ({ lastUpdate: n, reviewer: t, alsoKnownAs: r }) => /* @__PURE__ */ e(
12
12
  !!t && /* @__PURE__ */ l(s, { children: [
13
13
  /* @__PURE__ */ e("span", { className: "hidden h-5 w-px bg-neutral-600 sm:block", "aria-hidden": !0 }),
14
14
  /* @__PURE__ */ l(a, { 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
  t
17
17
  ] })
18
18
  ] })
19
19
  ] }),
20
20
  r.docs.length > 0 && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2", children: [
21
21
  /* @__PURE__ */ l(a, { 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
  " ",
24
24
  r.label
25
25
  ] }),
@@ -0,0 +1,4 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const SinglePhoneIcon: React_2.FC<React_2.SVGProps<SVGSVGElement>>;
4
+
@@ -0,0 +1,12 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import "react";
3
+ const n = (o) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", fill: "none", viewBox: "0 0 20 20", ...o, children: /* @__PURE__ */ l(
4
+ "path",
5
+ {
6
+ fill: "var(--neutral-900)",
7
+ d: "M16.675 12.817a9.5 9.5 0 0 1-2.942-.467.81.81 0 0 0-.841.2l-1.309 1.642c-2.358-1.125-4.566-3.25-5.741-5.692l1.625-1.383a.85.85 0 0 0 .2-.85A9.3 9.3 0 0 1 7.2 3.325a.83.83 0 0 0-.825-.825H3.492c-.45 0-.992.2-.992.825C2.5 11.067 8.942 17.5 16.675 17.5c.592 0 .825-.525.825-.983v-2.875a.83.83 0 0 0-.825-.825"
8
+ }
9
+ ) });
10
+ export {
11
+ n as SinglePhoneIcon
12
+ };
@@ -0,0 +1,13 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+
3
+ export declare const Toast: ({ show, title, message, type, onClose, duration }: ToastProps) => JSX.Element | undefined;
4
+
5
+ export declare interface ToastProps {
6
+ show: boolean;
7
+ title: string;
8
+ message: string;
9
+ type?: 'success' | 'error' | 'default';
10
+ onClose: () => void;
11
+ duration?: number;
12
+ }
13
+
@@ -0,0 +1,41 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { useEffect as a } from "react";
3
+ import { InfoIcon as c } from "./InfoIcon.js";
4
+ import { DoneCircleIcon as f } from "./DoneCircleIcon.js";
5
+ import { CloseIcon as d } from "./CloseIcon.js";
6
+ const g = {
7
+ success: {
8
+ icon: /* @__PURE__ */ e(f, { fill: "white", width: 24, height: 24 }),
9
+ bg: "bg-primary-500"
10
+ },
11
+ error: {
12
+ icon: /* @__PURE__ */ e(c, { fill: "white", width: 24, height: 24 }),
13
+ bg: "bg-error-500"
14
+ },
15
+ default: {
16
+ icon: /* @__PURE__ */ e(c, { fill: "white", width: 24, height: 24 }),
17
+ bg: "bg-neutral-500"
18
+ }
19
+ }, N = ({ show: l, title: n, message: s, type: m = "default", onClose: i, duration: t = 3e3 }) => {
20
+ a(() => {
21
+ const h = setTimeout(() => {
22
+ i();
23
+ }, t);
24
+ return () => {
25
+ clearTimeout(h);
26
+ };
27
+ }, [i, t]);
28
+ const r = g[m];
29
+ if (l)
30
+ return /* @__PURE__ */ o("div", { className: `animate-slide-in flex min-w-75 items-center gap-4 rounded px-4 py-2 shadow-lg ${r.bg}`, children: [
31
+ /* @__PURE__ */ e("div", { className: "shrink-0", children: r.icon }),
32
+ /* @__PURE__ */ o("div", { className: "flex grow flex-col text-sm text-white", children: [
33
+ /* @__PURE__ */ e("p", { className: "font-bold", children: n }),
34
+ /* @__PURE__ */ e("p", { children: s })
35
+ ] }),
36
+ /* @__PURE__ */ e("button", { onClick: i, className: "cursor-pointer", children: /* @__PURE__ */ e(d, { fill: "white", className: "h-4 w-4" }) })
37
+ ] });
38
+ };
39
+ export {
40
+ N as Toast
41
+ };
@@ -3,14 +3,10 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
4
4
 
5
5
  export interface AnchorProps extends React.ComponentProps<'a'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
6
+ variant?: 'default' | 'legal' | 'tooltip';
7
7
  }
8
8
 
9
- export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
10
-
11
- export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
12
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
13
- }
9
+ export declare const Blockquote: ({ children }: React.ComponentProps<"blockquote">) => JSX.Element;
14
10
 
15
11
  export declare const Code: ({ children, className }: React.ComponentProps<"code">) => JSX.Element;
16
12
 
@@ -21,7 +17,7 @@ export declare const Header1: ({ children }: React.ComponentProps<"h1">) => JSX.
21
17
  export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
22
18
 
23
19
  export interface Header2Props extends React.ComponentProps<'h2'> {
24
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
20
+ variant?: 'default' | 'legal' | 'tooltip';
25
21
  }
26
22
 
27
23
  export declare const Header3: ({ children }: React.ComponentProps<"h3">) => JSX.Element;
@@ -31,13 +27,13 @@ export declare const Header4: ({ children }: React.ComponentProps<"h4">) => JSX.
31
27
  export declare const OrderedList: ({ variant, children }: OrderedListProps) => JSX.Element;
32
28
 
33
29
  export interface OrderedListProps extends React.ComponentProps<'ol'> {
34
- variant?: 'default' | 'tooltip' | 'legal' | 'about-us';
30
+ variant?: 'default' | 'tooltip' | 'legal';
35
31
  }
36
32
 
37
33
  export declare const Paragraph: ({ variant, children }: ParagraphProps) => JSX.Element;
38
34
 
39
35
  export interface ParagraphProps extends React.ComponentProps<'p'> {
40
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
36
+ variant?: 'default' | 'legal' | 'tooltip';
41
37
  }
42
38
 
43
39
  export declare const Table: ({ children }: React.ComponentProps<"table">) => JSX.Element;
@@ -51,7 +47,7 @@ export declare const TableRow: ({ children }: React.ComponentProps<"tr">) => JSX
51
47
  export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
52
48
 
53
49
  export interface UnorderedListProps extends React.ComponentProps<'ul'> {
54
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
50
+ variant?: 'default' | 'tooltip' | 'legal';
55
51
  }
56
52
 
57
53
  export declare const Video: ({ children }: React.ComponentProps<"video">) => JSX.Element;
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const UnorderedList: ({ variant, children }: UnorderedListProps) => JSX.Element;
4
4
 
5
5
  export interface UnorderedListProps extends React.ComponentProps<'ul'> {
6
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
6
+ variant?: 'default' | 'tooltip' | 'legal';
7
7
  }
8
8
 
@@ -8,7 +8,7 @@ export interface MarkdownProps {
8
8
  content: string;
9
9
  className?: string;
10
10
  useCustom?: boolean;
11
- variant?: 'default' | 'legal' | 'tooltip' | 'about-us';
11
+ variant?: 'default' | 'legal' | 'tooltip';
12
12
  }
13
13
 
14
14
  export declare const UnsubscribeTemplate: FC<UnsubscribeTemplateProps>;