@npm_leadtech/legal-contracts-ui 0.93.3 → 0.93.5
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.
- package/dist/components/ContactBanner.js +1 -1
- package/dist/components/ElectronicSignatureTemplate.js +9 -8
- package/dist/components/Header.js +1 -1
- package/dist/components/index.d.ts +19 -0
- package/dist/components/useScroll.d.ts +2 -0
- package/dist/components/useToast.d.ts +17 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +7 -0
- package/dist/hooks/useScroll.d.ts +2 -0
- package/dist/hooks/useToast.d.ts +2 -0
- package/dist/hooks/useToast.js +37 -0
- package/dist/index.js +279 -0
- package/package.json +17 -1
- package/dist/shared/hooks/useToast.js +0 -31
- /package/dist/{shared/hooks → hooks}/useScroll.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { useScroll as r } from "../
|
|
3
|
+
import { useScroll as r } from "../hooks/useScroll.js";
|
|
4
4
|
import { SinglePhoneIcon as d } from "./SinglePhoneIcon.js";
|
|
5
5
|
const f = ({ contactText: s, phoneNumber: l, contactHoursText: t, contactHours: a }) => {
|
|
6
6
|
const i = r(10);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import "react";
|
|
3
|
+
import { ToastProvider as p } from "../hooks/useToast.js";
|
|
4
|
+
import { Hero2Section as s } from "./Hero2Section.js";
|
|
5
|
+
import { HowItWorksSection as c } from "./HowItWorksSection.js";
|
|
5
6
|
import { FastAndSimpleSection as x } from "./FastAndSimpleSection.js";
|
|
6
7
|
import { FeaturesSection as f } from "./FeaturesSection.js";
|
|
7
8
|
import { BannerTagSection as d } from "./BannerTagSection.js";
|
|
8
9
|
import { FaqSection as g } from "./FaqSection.js";
|
|
9
|
-
const
|
|
10
|
+
const b = ({
|
|
10
11
|
hero: r,
|
|
11
12
|
howItWorks: e,
|
|
12
13
|
fastAndSimple: i,
|
|
@@ -14,9 +15,9 @@ const T = ({
|
|
|
14
15
|
trustPilot: m,
|
|
15
16
|
signAndSend: a,
|
|
16
17
|
faq: n
|
|
17
|
-
}) => /* @__PURE__ */ o(
|
|
18
|
-
/* @__PURE__ */ o(
|
|
19
|
-
/* @__PURE__ */ o(
|
|
18
|
+
}) => /* @__PURE__ */ o(p, { children: /* @__PURE__ */ l("main", { className: "bg-neutral-25 w-full flex-1", children: [
|
|
19
|
+
/* @__PURE__ */ o(s, { ...r, variant: "esign" }),
|
|
20
|
+
/* @__PURE__ */ o(c, { ...e }),
|
|
20
21
|
/* @__PURE__ */ o(x, { ...i, variant: "esign" }),
|
|
21
22
|
/* @__PURE__ */ o(f, { ...t }),
|
|
22
23
|
/* @__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 }) }),
|
|
@@ -24,5 +25,5 @@ const T = ({
|
|
|
24
25
|
/* @__PURE__ */ o(g, { ...n, className: "mx-auto max-w-4xl px-4 py-16" })
|
|
25
26
|
] }) });
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
b as ElectronicSignatureTemplate
|
|
28
29
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { MobileMenu as o } from "./MobileMenu.js";
|
|
4
|
-
import { useScroll as c } from "../
|
|
4
|
+
import { useScroll as c } from "../hooks/useScroll.js";
|
|
5
5
|
import { NavMenu as s } from "./NavMenu.js";
|
|
6
6
|
import { LanguageSelector as p } from "./LanguageSelector.js";
|
|
7
7
|
import { ScalatorIcon as x } from "./ScalatorIcon.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ToastProps {
|
|
4
|
+
show: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
type?: 'success' | 'error' | 'default';
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare const ToastProvider: default_2.FC<{
|
|
13
|
+
children: default_2.ReactNode;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export declare const useScroll: (threshold?: number) => boolean;
|
|
17
|
+
|
|
18
|
+
export declare const useToast: () => (options: ToastProps) => void;
|
|
19
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ToastProps {
|
|
4
|
+
show: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
type?: 'success' | 'error' | 'default';
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export declare const ToastProvider: default_2.FC<{
|
|
13
|
+
children: default_2.ReactNode;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export declare const useToast: () => (options: ToastProps) => void;
|
|
17
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as h, useState as v, useCallback as a, useContext as w } from "react";
|
|
3
|
+
import { Toast as C } from "../components/Toast.js";
|
|
4
|
+
const n = h(void 0), y = ({ children: t }) => {
|
|
5
|
+
const [c, r] = v([]), d = a(({ title: e, message: o, type: s = "default", duration: u = 3e3, show: m, onClose: x }) => {
|
|
6
|
+
const T = Date.now();
|
|
7
|
+
r((f) => [...f, { id: T, title: e, message: o, type: s, duration: u, show: m, onClose: x }]);
|
|
8
|
+
}, []), l = a((e) => {
|
|
9
|
+
r((o) => o.filter((s) => s.id !== e));
|
|
10
|
+
}, []);
|
|
11
|
+
return /* @__PURE__ */ p(n, { value: { showToast: d }, children: [
|
|
12
|
+
t,
|
|
13
|
+
/* @__PURE__ */ i("div", { className: "fixed top-5 right-5 z-9999 flex flex-col gap-3", children: c.map((e) => /* @__PURE__ */ i(
|
|
14
|
+
C,
|
|
15
|
+
{
|
|
16
|
+
show: !0,
|
|
17
|
+
title: e.title,
|
|
18
|
+
message: e.message,
|
|
19
|
+
type: e.type,
|
|
20
|
+
duration: e.duration,
|
|
21
|
+
onClose: () => {
|
|
22
|
+
l(e.id);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
e.id
|
|
26
|
+
)) })
|
|
27
|
+
] });
|
|
28
|
+
}, P = () => {
|
|
29
|
+
const t = w(n);
|
|
30
|
+
if (!t)
|
|
31
|
+
throw new Error("useToast must be inside a ToastProvider");
|
|
32
|
+
return t.showToast;
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
y as ToastProvider,
|
|
36
|
+
P as useToast
|
|
37
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import './assets/style/themes.css';import './globals.css';/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { useScroll as m } from "./hooks/useScroll.js";
|
|
4
|
+
import { ToastProvider as p, useToast as f } from "./hooks/useToast.js";
|
|
5
|
+
import { AlternativeSubtypeDocument as c } from "./components/AlternativeSubtypeDocument.js";
|
|
6
|
+
import { AsideNavMenu as a } from "./components/AsideNavMenu.js";
|
|
7
|
+
import { Badge as l } from "./components/Badge.js";
|
|
8
|
+
import { BannerTagSection as S } from "./components/BannerTagSection.js";
|
|
9
|
+
import { BenefitsBar as g } from "./components/BenefitsBar.js";
|
|
10
|
+
import { BlogSection as P } from "./components/BlogSection.js";
|
|
11
|
+
import { Breadcrumb as T } from "./components/Breadcrumb.js";
|
|
12
|
+
import { BusinessIcon as h } from "./components/BusinessIcon.js";
|
|
13
|
+
import { Button as D } from "./components/Button.js";
|
|
14
|
+
import { CaFlagIcon as H } from "./components/CaFlagIcon.js";
|
|
15
|
+
import { Card as B } from "./components/Card.js";
|
|
16
|
+
import { CategoriesSection as w } from "./components/CategoriesSection.js";
|
|
17
|
+
import { Checkbox as L } from "./components/Checkbox.js";
|
|
18
|
+
import { ChevronDownIcon as W } from "./components/ChevronDownIcon.js";
|
|
19
|
+
import { ChevronRightIcon as O } from "./components/ChevronRightIcon.js";
|
|
20
|
+
import { CloseIcon as E } from "./components/CloseIcon.js";
|
|
21
|
+
import { CommunicationIcon as U } from "./components/CommunicationIcon.js";
|
|
22
|
+
import { ContactBanner as G } from "./components/ContactBanner.js";
|
|
23
|
+
import { ContactFormSection as Q } from "./components/ContactFormSection.js";
|
|
24
|
+
import { ContactMethodCard as z } from "./components/ContactMethodCard.js";
|
|
25
|
+
import { ContactMethodsSection as X } from "./components/ContactMethodsSection.js";
|
|
26
|
+
import { ContactUsSection as Z } from "./components/ContactUsSection.js";
|
|
27
|
+
import { ContentItem as $ } from "./components/ContentItem.js";
|
|
28
|
+
import { CtaSection as ro } from "./components/CtaSection.js";
|
|
29
|
+
import { DeFlagIcon as to } from "./components/DeFlagIcon.js";
|
|
30
|
+
import { DefaultSubtypeDocument as no } from "./components/DefaultSubtypeDocument.js";
|
|
31
|
+
import { DocEditFillIcon as fo } from "./components/DocEditFillIcon.js";
|
|
32
|
+
import { DocOutlineIcon as co } from "./components/DocOutlineIcon.js";
|
|
33
|
+
import { DocumentCategories as ao } from "./components/DocumentCategories.js";
|
|
34
|
+
import { DocumentItem as lo } from "./components/DocumentItem.js";
|
|
35
|
+
import { DocumentReviewUploadCard as So } from "./components/DocumentReviewUploadCard.js";
|
|
36
|
+
import { DocumentSection as go } from "./components/DocumentSection.js";
|
|
37
|
+
import { DoneCircleIcon as Co } from "./components/DoneCircleIcon.js";
|
|
38
|
+
import { EmploymentIcon as Fo } from "./components/EmploymentIcon.js";
|
|
39
|
+
import { EstatePlanningIcon as bo } from "./components/EstatePlanningIcon.js";
|
|
40
|
+
import { ExpertsSection as vo } from "./components/ExpertsSection.js";
|
|
41
|
+
import { FacebookIcon as Mo } from "./components/FacebookIcon.js";
|
|
42
|
+
import { FamilyIcon as ko } from "./components/FamilyIcon.js";
|
|
43
|
+
import { FaqItem as yo } from "./components/FaqItem.js";
|
|
44
|
+
import { FaqItemWrapper as No } from "./components/FaqItemWrapper.js";
|
|
45
|
+
import { FaqSection as Jo } from "./components/FaqSection.js";
|
|
46
|
+
import { FaqTeaserSection as qo } from "./components/FaqTeaserSection.js";
|
|
47
|
+
import { FastAndSimpleSection as Ro } from "./components/FastAndSimpleSection.js";
|
|
48
|
+
import { FeaturesSection as Ao } from "./components/FeaturesSection.js";
|
|
49
|
+
import { FillFormsIcon as Vo } from "./components/FillFormsIcon.js";
|
|
50
|
+
import { FinanceIcon as jo } from "./components/FinanceIcon.js";
|
|
51
|
+
import { Footer as Ko } from "./components/Footer.js";
|
|
52
|
+
import { FooterNav as Yo } from "./components/FooterNav.js";
|
|
53
|
+
import { FreeDocumentModal as _o } from "./components/FreeDocumentModal.js";
|
|
54
|
+
import { GbFlagIcon as or } from "./components/GbFlagIcon.js";
|
|
55
|
+
import { GuidelinesSection as er } from "./components/GuidelinesSection.js";
|
|
56
|
+
import { HamburgerIcon as mr } from "./components/HamburgerIcon.js";
|
|
57
|
+
import { Header as pr } from "./components/Header.js";
|
|
58
|
+
import { HelpGuideIcon as xr } from "./components/HelpGuideIcon.js";
|
|
59
|
+
import { Hero2Section as ir } from "./components/Hero2Section.js";
|
|
60
|
+
import { HeroSection as Ir } from "./components/HeroSection.js";
|
|
61
|
+
import { HighlightedText as sr } from "./components/HighlightedText.js";
|
|
62
|
+
import { HistoryIcon as ur } from "./components/HistoryIcon.js";
|
|
63
|
+
import { HowItWorksSection as dr } from "./components/HowItWorksSection.js";
|
|
64
|
+
import { ImageWithPreview as Cr } from "./components/ImageWithPreview.js";
|
|
65
|
+
import { InfoIcon as Fr } from "./components/InfoIcon.js";
|
|
66
|
+
import { Input as br } from "./components/Input.js";
|
|
67
|
+
import { InstagramIcon as vr } from "./components/InstagramIcon.js";
|
|
68
|
+
import { IntroSection as Mr } from "./components/IntroSection.js";
|
|
69
|
+
import { Item as kr } from "./components/Item.js";
|
|
70
|
+
import { JumboCard as yr } from "./components/JumboCard.js";
|
|
71
|
+
import { JumboDocs as Nr } from "./components/JumboDocs.js";
|
|
72
|
+
import { Jumbotron as Jr } from "./components/Jumbotron.js";
|
|
73
|
+
import { Jumbotron2 as qr } from "./components/Jumbotron2.js";
|
|
74
|
+
import { Jumbotron3 as Rr } from "./components/Jumbotron3.js";
|
|
75
|
+
import { LanguageSelector as Ar } from "./components/LanguageSelector.js";
|
|
76
|
+
import { LegalSection as Vr } from "./components/LegalSection.js";
|
|
77
|
+
import { LinkWrapper as jr } from "./components/LinkWrapper.js";
|
|
78
|
+
import { LinkedProducts as Kr } from "./components/LinkedProducts.js";
|
|
79
|
+
import { LinkedinIcon as Yr } from "./components/LinkedinIcon.js";
|
|
80
|
+
import { LocationIcon as _r } from "./components/LocationIcon.js";
|
|
81
|
+
import { MailFillIcon as oe } from "./components/MailFillIcon.js";
|
|
82
|
+
import { Markdown as ee } from "./components/Markdown.js";
|
|
83
|
+
import { MissionSection as me } from "./components/MissionSection.js";
|
|
84
|
+
import { MobileMenu as pe } from "./components/MobileMenu.js";
|
|
85
|
+
import { Modal as xe } from "./components/Modal.js";
|
|
86
|
+
import { MoreTemplatesSection as ie } from "./components/MoreTemplatesSection.js";
|
|
87
|
+
import { NavMenu as Ie } from "./components/NavMenu.js";
|
|
88
|
+
import { NavMenuItem as se } from "./components/NavMenuItem.js";
|
|
89
|
+
import { Note as ue } from "./components/Note.js";
|
|
90
|
+
import { PartnersSection as de } from "./components/PartnersSection.js";
|
|
91
|
+
import { PersonalIcon as Ce } from "./components/PersonalIcon.js";
|
|
92
|
+
import { PhoneTalkIcon as Fe } from "./components/PhoneTalkIcon.js";
|
|
93
|
+
import { PlusIcon as be } from "./components/PlusIcon.js";
|
|
94
|
+
import { Preform as ve } from "./components/Preform.js";
|
|
95
|
+
import { PreformOption as Me } from "./components/PreformOption.js";
|
|
96
|
+
import { PreviewDownload as ke } from "./components/PreviewDownload.js";
|
|
97
|
+
import { PreviewSection as ye } from "./components/PreviewSection.js";
|
|
98
|
+
import { PricingContactChannelsSection as Ne } from "./components/PricingContactChannelsSection.js";
|
|
99
|
+
import { PricingHeroSection as Je } from "./components/PricingHeroSection.js";
|
|
100
|
+
import { PricingOfferingsSection as qe } from "./components/PricingOfferingsSection.js";
|
|
101
|
+
import { PricingPlanCard as Re, PricingPremiumHighlight as Ue, PricingTrialHighlight as Ae } from "./components/PricingPlanCard.js";
|
|
102
|
+
import { PricingPlansSection as Ve } from "./components/PricingPlansSection.js";
|
|
103
|
+
import { PricingSupportTeaserSection as je } from "./components/PricingSupportTeaserSection.js";
|
|
104
|
+
import { PrintIcon as Ke } from "./components/PrintIcon.js";
|
|
105
|
+
import { PrivateIcon as Ye } from "./components/PrivateIcon.js";
|
|
106
|
+
import { ProcessSection as _e } from "./components/ProcessSection.js";
|
|
107
|
+
import { ProductInfo as ot } from "./components/ProductInfo.js";
|
|
108
|
+
import { QuestionIcon as et } from "./components/QuestionIcon.js";
|
|
109
|
+
import { RatafiaSection as mt } from "./components/RatafiaSection.js";
|
|
110
|
+
import { RealStateIcon as pt } from "./components/RealStateIcon.js";
|
|
111
|
+
import { SaveIcon as xt } from "./components/SaveIcon.js";
|
|
112
|
+
import { ScalatorIcon as it } from "./components/ScalatorIcon.js";
|
|
113
|
+
import { SearchBar as It } from "./components/SearchBar.js";
|
|
114
|
+
import { SearchIcon as st } from "./components/SearchIcon.js";
|
|
115
|
+
import { SectionHeading as ut } from "./components/SectionHeading.js";
|
|
116
|
+
import { Select as dt } from "./components/Select.js";
|
|
117
|
+
import { SinglePhoneIcon as Ct } from "./components/SinglePhoneIcon.js";
|
|
118
|
+
import { SparkIcon as Ft } from "./components/SparkIcon.js";
|
|
119
|
+
import { StarsIcon as bt } from "./components/StarsIcon.js";
|
|
120
|
+
import { Storyline as vt } from "./components/Storyline.js";
|
|
121
|
+
import { TableOfContents as Mt } from "./components/TableOfContents.js";
|
|
122
|
+
import { TableOfContentsWrapper as kt } from "./components/TableOfContentsWrapper.js";
|
|
123
|
+
import { Textarea as yt } from "./components/Textarea.js";
|
|
124
|
+
import { TikTokIcon as Nt } from "./components/TikTokIcon.js";
|
|
125
|
+
import { TimeIcon as Jt } from "./components/TimeIcon.js";
|
|
126
|
+
import { Toast as qt } from "./components/Toast.js";
|
|
127
|
+
import { Tooltips as Rt } from "./components/Tooltips.js";
|
|
128
|
+
import { TrustSection as At } from "./components/TrustSection.js";
|
|
129
|
+
import { TrustedBadge as Vt } from "./components/TrustedBadge.js";
|
|
130
|
+
import { TrustedIcon as jt } from "./components/TrustedIcon.js";
|
|
131
|
+
import { TryNowSection as Kt } from "./components/TryNowSection.js";
|
|
132
|
+
import { TwoColumnSection as Yt } from "./components/TwoColumnSection.js";
|
|
133
|
+
import { UnsubscribeSection as _t } from "./components/UnsubscribeSection.js";
|
|
134
|
+
import { UsFlagIcon as om } from "./components/UsFlagIcon.js";
|
|
135
|
+
import { ValuesSection as em } from "./components/ValuesSection.js";
|
|
136
|
+
import { VerifiedIcon as mm } from "./components/VerifiedIcon.js";
|
|
137
|
+
import { WeHelpSection as pm } from "./components/WeHelpSection.js";
|
|
138
|
+
import { getButtonClasses as xm } from "./components/Button.utils.js";
|
|
139
|
+
export {
|
|
140
|
+
c as AlternativeSubtypeDocument,
|
|
141
|
+
a as AsideNavMenu,
|
|
142
|
+
l as Badge,
|
|
143
|
+
S as BannerTagSection,
|
|
144
|
+
g as BenefitsBar,
|
|
145
|
+
P as BlogSection,
|
|
146
|
+
T as Breadcrumb,
|
|
147
|
+
h as BusinessIcon,
|
|
148
|
+
D as Button,
|
|
149
|
+
H as CaFlagIcon,
|
|
150
|
+
B as Card,
|
|
151
|
+
w as CategoriesSection,
|
|
152
|
+
L as Checkbox,
|
|
153
|
+
W as ChevronDownIcon,
|
|
154
|
+
O as ChevronRightIcon,
|
|
155
|
+
E as CloseIcon,
|
|
156
|
+
U as CommunicationIcon,
|
|
157
|
+
G as ContactBanner,
|
|
158
|
+
Q as ContactFormSection,
|
|
159
|
+
z as ContactMethodCard,
|
|
160
|
+
X as ContactMethodsSection,
|
|
161
|
+
Z as ContactUsSection,
|
|
162
|
+
$ as ContentItem,
|
|
163
|
+
ro as CtaSection,
|
|
164
|
+
to as DeFlagIcon,
|
|
165
|
+
no as DefaultSubtypeDocument,
|
|
166
|
+
fo as DocEditFillIcon,
|
|
167
|
+
co as DocOutlineIcon,
|
|
168
|
+
ao as DocumentCategories,
|
|
169
|
+
lo as DocumentItem,
|
|
170
|
+
So as DocumentReviewUploadCard,
|
|
171
|
+
go as DocumentSection,
|
|
172
|
+
Co as DoneCircleIcon,
|
|
173
|
+
Fo as EmploymentIcon,
|
|
174
|
+
bo as EstatePlanningIcon,
|
|
175
|
+
vo as ExpertsSection,
|
|
176
|
+
Mo as FacebookIcon,
|
|
177
|
+
ko as FamilyIcon,
|
|
178
|
+
yo as FaqItem,
|
|
179
|
+
No as FaqItemWrapper,
|
|
180
|
+
Jo as FaqSection,
|
|
181
|
+
qo as FaqTeaserSection,
|
|
182
|
+
Ro as FastAndSimpleSection,
|
|
183
|
+
Ao as FeaturesSection,
|
|
184
|
+
Vo as FillFormsIcon,
|
|
185
|
+
jo as FinanceIcon,
|
|
186
|
+
Ko as Footer,
|
|
187
|
+
Yo as FooterNav,
|
|
188
|
+
_o as FreeDocumentModal,
|
|
189
|
+
or as GbFlagIcon,
|
|
190
|
+
er as GuidelinesSection,
|
|
191
|
+
mr as HamburgerIcon,
|
|
192
|
+
pr as Header,
|
|
193
|
+
xr as HelpGuideIcon,
|
|
194
|
+
ir as Hero2Section,
|
|
195
|
+
Ir as HeroSection,
|
|
196
|
+
sr as HighlightedText,
|
|
197
|
+
ur as HistoryIcon,
|
|
198
|
+
dr as HowItWorksSection,
|
|
199
|
+
Cr as ImageWithPreview,
|
|
200
|
+
Fr as InfoIcon,
|
|
201
|
+
br as Input,
|
|
202
|
+
vr as InstagramIcon,
|
|
203
|
+
Mr as IntroSection,
|
|
204
|
+
kr as Item,
|
|
205
|
+
yr as JumboCard,
|
|
206
|
+
Nr as JumboDocs,
|
|
207
|
+
Jr as Jumbotron,
|
|
208
|
+
qr as Jumbotron2,
|
|
209
|
+
Rr as Jumbotron3,
|
|
210
|
+
Ar as LanguageSelector,
|
|
211
|
+
Vr as LegalSection,
|
|
212
|
+
jr as LinkWrapper,
|
|
213
|
+
Kr as LinkedProducts,
|
|
214
|
+
Yr as LinkedinIcon,
|
|
215
|
+
_r as LocationIcon,
|
|
216
|
+
oe as MailFillIcon,
|
|
217
|
+
ee as Markdown,
|
|
218
|
+
me as MissionSection,
|
|
219
|
+
pe as MobileMenu,
|
|
220
|
+
xe as Modal,
|
|
221
|
+
ie as MoreTemplatesSection,
|
|
222
|
+
Ie as NavMenu,
|
|
223
|
+
se as NavMenuItem,
|
|
224
|
+
ue as Note,
|
|
225
|
+
de as PartnersSection,
|
|
226
|
+
Ce as PersonalIcon,
|
|
227
|
+
Fe as PhoneTalkIcon,
|
|
228
|
+
be as PlusIcon,
|
|
229
|
+
ve as Preform,
|
|
230
|
+
Me as PreformOption,
|
|
231
|
+
ke as PreviewDownload,
|
|
232
|
+
ye as PreviewSection,
|
|
233
|
+
Ne as PricingContactChannelsSection,
|
|
234
|
+
Je as PricingHeroSection,
|
|
235
|
+
qe as PricingOfferingsSection,
|
|
236
|
+
Re as PricingPlanCard,
|
|
237
|
+
Ve as PricingPlansSection,
|
|
238
|
+
Ue as PricingPremiumHighlight,
|
|
239
|
+
je as PricingSupportTeaserSection,
|
|
240
|
+
Ae as PricingTrialHighlight,
|
|
241
|
+
Ke as PrintIcon,
|
|
242
|
+
Ye as PrivateIcon,
|
|
243
|
+
_e as ProcessSection,
|
|
244
|
+
ot as ProductInfo,
|
|
245
|
+
et as QuestionIcon,
|
|
246
|
+
mt as RatafiaSection,
|
|
247
|
+
pt as RealStateIcon,
|
|
248
|
+
xt as SaveIcon,
|
|
249
|
+
it as ScalatorIcon,
|
|
250
|
+
It as SearchBar,
|
|
251
|
+
st as SearchIcon,
|
|
252
|
+
ut as SectionHeading,
|
|
253
|
+
dt as Select,
|
|
254
|
+
Ct as SinglePhoneIcon,
|
|
255
|
+
Ft as SparkIcon,
|
|
256
|
+
bt as StarsIcon,
|
|
257
|
+
vt as Storyline,
|
|
258
|
+
Mt as TableOfContents,
|
|
259
|
+
kt as TableOfContentsWrapper,
|
|
260
|
+
yt as Textarea,
|
|
261
|
+
Nt as TikTokIcon,
|
|
262
|
+
Jt as TimeIcon,
|
|
263
|
+
qt as Toast,
|
|
264
|
+
p as ToastProvider,
|
|
265
|
+
Rt as Tooltips,
|
|
266
|
+
At as TrustSection,
|
|
267
|
+
Vt as TrustedBadge,
|
|
268
|
+
jt as TrustedIcon,
|
|
269
|
+
Kt as TryNowSection,
|
|
270
|
+
Yt as TwoColumnSection,
|
|
271
|
+
_t as UnsubscribeSection,
|
|
272
|
+
om as UsFlagIcon,
|
|
273
|
+
em as ValuesSection,
|
|
274
|
+
mm as VerifiedIcon,
|
|
275
|
+
pm as WeHelpSection,
|
|
276
|
+
xm as getButtonClasses,
|
|
277
|
+
m as useScroll,
|
|
278
|
+
f as useToast
|
|
279
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-contracts-ui",
|
|
3
|
-
"version": "0.93.
|
|
3
|
+
"version": "0.93.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"homepage": "https://bitbucket.org/grupoblidoo/legal-contracts-ui#readme",
|
|
11
11
|
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
},
|
|
12
16
|
"./globals.css": "./dist/globals.css",
|
|
13
17
|
"./components/Badge": {
|
|
14
18
|
"import": "./dist/components/Badge.js",
|
|
@@ -629,6 +633,18 @@
|
|
|
629
633
|
"./components/UnsubscribeTemplate": {
|
|
630
634
|
"import": "./dist/components/UnsubscribeTemplate.js",
|
|
631
635
|
"types": "./dist/components/UnsubscribeTemplate.d.ts"
|
|
636
|
+
},
|
|
637
|
+
"./hooks/index": {
|
|
638
|
+
"import": "./dist/hooks/index.js",
|
|
639
|
+
"types": "./dist/hooks/index.d.ts"
|
|
640
|
+
},
|
|
641
|
+
"./hooks/useScroll": {
|
|
642
|
+
"import": "./dist/hooks/useScroll.js",
|
|
643
|
+
"types": "./dist/hooks/useScroll.d.ts"
|
|
644
|
+
},
|
|
645
|
+
"./hooks/useToast": {
|
|
646
|
+
"import": "./dist/hooks/useToast.js",
|
|
647
|
+
"types": "./dist/hooks/useToast.d.ts"
|
|
632
648
|
}
|
|
633
649
|
},
|
|
634
650
|
"files": [
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as T, useCallback as i, createContext as h } from "react";
|
|
3
|
-
import { Toast as v } from "../../components/Toast.js";
|
|
4
|
-
const g = h(void 0), y = ({ children: a }) => {
|
|
5
|
-
const [n, s] = T([]), l = i(({ title: e, message: t, type: o = "default", duration: c = 3e3, show: m, onClose: p }) => {
|
|
6
|
-
const f = Date.now();
|
|
7
|
-
s((u) => [...u, { id: f, title: e, message: t, type: o, duration: c, show: m, onClose: p }]);
|
|
8
|
-
}, []), d = i((e) => {
|
|
9
|
-
s((t) => t.filter((o) => o.id !== e));
|
|
10
|
-
}, []);
|
|
11
|
-
return /* @__PURE__ */ x(g, { value: { showToast: l }, children: [
|
|
12
|
-
a,
|
|
13
|
-
/* @__PURE__ */ r("div", { className: "fixed top-5 right-5 z-9999 flex flex-col gap-3", children: n.map((e) => /* @__PURE__ */ r(
|
|
14
|
-
v,
|
|
15
|
-
{
|
|
16
|
-
show: !0,
|
|
17
|
-
title: e.title,
|
|
18
|
-
message: e.message,
|
|
19
|
-
type: e.type,
|
|
20
|
-
duration: e.duration,
|
|
21
|
-
onClose: () => {
|
|
22
|
-
d(e.id);
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
e.id
|
|
26
|
-
)) })
|
|
27
|
-
] });
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
y as ToastProvider
|
|
31
|
-
};
|
|
File without changes
|