@npm_leadtech/legal-contracts-ui 0.176.4 → 0.176.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.
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const LeadGateErrorModal: FC<LeadGateErrorModalProps>;
4
+
5
+ export declare interface LeadGateErrorModalProps {
6
+ heading: string;
7
+ description: string;
8
+ ctaLabel: string;
9
+ onRetry?: () => void;
10
+ }
11
+
@@ -2,7 +2,7 @@ import { ClearIcon as e } from "./ClearIcon.js";
2
2
  import { Button as t } from "./Button.js";
3
3
  import { Markdown as n } from "./Markdown.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- //#region lib/components/molecules/LeadGateError.tsx
5
+ //#region lib/components/molecules/LeadGateErrorModal.tsx
6
6
  var a = ({ heading: a, description: o, ctaLabel: s, onRetry: c }) => /* @__PURE__ */ i("div", {
7
7
  className: "mt-4 flex w-full flex-col",
8
8
  children: [/* @__PURE__ */ r("span", { className: "h-px w-full bg-neutral-200" }), /* @__PURE__ */ i("div", {
@@ -38,4 +38,4 @@ var a = ({ heading: a, description: o, ctaLabel: s, onRetry: c }) => /* @__PURE_
38
38
  })]
39
39
  });
40
40
  //#endregion
41
- export { a as LeadGateError };
41
+ export { a as LeadGateErrorModal };
@@ -1,15 +1,15 @@
1
1
  import { FC } from 'react';
2
2
  import { ReactNode } from 'react';
3
3
 
4
- export declare const LeadGateSuccess: FC<LeadGateSuccessProps>;
5
-
6
4
  export interface LeadGateSuccessFeatureItemProps {
7
5
  icon?: ReactNode;
8
6
  title: string;
9
7
  description: string;
10
8
  }
11
9
 
12
- export declare interface LeadGateSuccessProps {
10
+ export declare const LeadGateSuccessModal: FC<LeadGateSuccessModalProps>;
11
+
12
+ export declare interface LeadGateSuccessModalProps {
13
13
  subtitle: string;
14
14
  featureItems: LeadGateSuccessFeatureItemProps[];
15
15
  ctaLabel: string;
@@ -3,7 +3,7 @@ import { Button as t } from "./Button.js";
3
3
  import { Markdown as n } from "./Markdown.js";
4
4
  import { LeadGateSuccessFeatureItem as r } from "./LeadGateSuccessFeatureItem.js";
5
5
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- //#region lib/components/molecules/LeadGateSuccess.tsx
6
+ //#region lib/components/molecules/LeadGateSuccessModal.tsx
7
7
  var o = ({ subtitle: o, featureItems: s, ctaLabel: c, footer: l, illustration: u, onCtaClick: d }) => /* @__PURE__ */ a("div", {
8
8
  className: "mt-6 flex w-full flex-col gap-6",
9
9
  children: [
@@ -42,4 +42,4 @@ var o = ({ subtitle: o, featureItems: s, ctaLabel: c, footer: l, illustration: u
42
42
  ]
43
43
  });
44
44
  //#endregion
45
- export { o as LeadGateSuccess };
45
+ export { o as LeadGateSuccessModal };
@@ -791,9 +791,9 @@ export declare interface LawGeniusStepCardProps {
791
791
  iconAlt?: string;
792
792
  }
793
793
 
794
- export declare const LeadGateError: FC<LeadGateErrorProps>;
794
+ export declare const LeadGateErrorModal: FC<LeadGateErrorModalProps>;
795
795
 
796
- export declare interface LeadGateErrorProps {
796
+ export declare interface LeadGateErrorModalProps {
797
797
  heading: string;
798
798
  description: string;
799
799
  ctaLabel: string;
@@ -827,8 +827,6 @@ export declare interface LeadGateModalProps {
827
827
  onSubmit?: () => void;
828
828
  }
829
829
 
830
- export declare const LeadGateSuccess: FC<LeadGateSuccessProps>;
831
-
832
830
  export declare const LeadGateSuccessFeatureItem: FC<LeadGateSuccessFeatureItemProps>;
833
831
 
834
832
  export declare interface LeadGateSuccessFeatureItemProps {
@@ -837,7 +835,9 @@ export declare interface LeadGateSuccessFeatureItemProps {
837
835
  description: string;
838
836
  }
839
837
 
840
- export declare interface LeadGateSuccessProps {
838
+ export declare const LeadGateSuccessModal: FC<LeadGateSuccessModalProps>;
839
+
840
+ export declare interface LeadGateSuccessModalProps {
841
841
  subtitle: string;
842
842
  featureItems: LeadGateSuccessFeatureItemProps[];
843
843
  ctaLabel: string;
package/dist/index.js CHANGED
@@ -98,10 +98,10 @@ import { Tooltips as Ve } from "./components/Tooltips.js";
98
98
  import { FreeDocumentModal as He } from "./components/FreeDocumentModal.js";
99
99
  import { Article as Ue } from "./components/Article.js";
100
100
  import { ContinueEditingBanner as We } from "./components/ContinueEditingBanner.js";
101
- import { LeadGateError as Ge } from "./components/LeadGateError.js";
101
+ import { LeadGateErrorModal as Ge } from "./components/LeadGateErrorModal.js";
102
102
  import { LeadGateModal as Ke } from "./components/LeadGateModal.js";
103
103
  import { LeadGateSuccessFeatureItem as qe } from "./components/LeadGateSuccessFeatureItem.js";
104
- import { LeadGateSuccess as Je } from "./components/LeadGateSuccess.js";
104
+ import { LeadGateSuccessModal as Je } from "./components/LeadGateSuccessModal.js";
105
105
  import { BlogSection as Ye } from "./components/BlogSection.js";
106
106
  import { AsideNavMenu as Xe } from "./components/AsideNavMenu.js";
107
107
  import { BenefitsBar as Ze } from "./components/BenefitsBar.js";
@@ -150,4 +150,4 @@ import { ContactFormSection as Vt } from "./components/ContactFormSection.js";
150
150
  import { ContactMethodsSection as Ht } from "./components/ContactMethodsSection.js";
151
151
  import { JumboDocs as Ut } from "./components/JumboDocs.js";
152
152
  import { TrustPilotSection as Wt } from "./components/TrustPilotSection.js";
153
- export { i as AddIcon, Re as AlternativeSubtypeDocument, Ue as Article, Xe as AsideNavMenu, e as Badge, jt as BannerTagSection, Ze as BenefitsBar, Ye as BlogSection, Q as Breadcrumb, y as BusinessIcon, ee as Button, B as CaFlagIcon, Qe as CategoriesSection, X as CheckIcon, ce as Checkbox, c as ChevronDownIcon, l as ChevronRightIcon, J as ClearIcon, N as CloseIcon, D as CommunicationIcon, $e as ContactBanner, Vt as ContactFormSection, Le as ContactMethodCard, Ht as ContactMethodsSection, It as ContactUsSection, he as ContentItem, We as ContinueEditingBanner, ge as CookiesBar, Nt as CtaFeatureTag, Pt as CtaSample, Ft as CtaSection, H as DeFlagIcon, ze as DefaultSubtypeDocument, O as DocEditFillIcon, I as DocOutlineIcon, zt as DocumentCategories, Ie as DocumentItem, Be as DocumentReviewUploadCard, Bt as DocumentSection, T as DoneCircleIcon, q as DoneIcon, x as EmploymentIcon, _ as EstatePlanningIcon, Ot as ExpertsSection, t as FacebookIcon, b as FamilyIcon, ve as FaqItem, _e as FaqItemWrapper, et as FaqSection, tt as FaqTeaserSection, kt as FastAndSimpleSection, At as FeaturesSection, L as FillFormsIcon, h as FinanceIcon, nt as Footer, ye as FooterNav, He as FreeDocumentModal, V as GbFlagIcon, Dt as GuidelinesSection, M as HamburgerIcon, it as Header, E as HelpGuideIcon, ot as Hero2Section, be as HeroImageShell, at as HeroSection, te as HighlightedText, F as HistoryIcon, st as HowItWorksSection, pe as ImageWithPreview, u as InfoIcon, ae as Input, s as InstagramIcon, St as IntroSection, ne as Item, Rt as JumboCard, Ut as JumboDocs, ct as Jumbotron, lt as Jumbotron2, ut as Jumbotron3, xe as LanguageSelector, Se as LawGeniusImageShell, Ce as LawGeniusStepCard, Ge as LeadGateError, Ke as LeadGateModal, Je as LeadGateSuccess, qe as LeadGateSuccessFeatureItem, le as LinkWrapper, me as LinkedProducts, o as LinkedinIcon, P as LocationIcon, j as MailFillIcon, ie as Markdown, Ct as MissionSection, rt as MobileMenu, ue as Modal, dt as MoreTemplatesSection, we as NavMenu, re as NavMenuItem, Mt as PartnersSection, v as PersonalIcon, fe as PhoneButton, r as PhoneIcon, k as PhoneTalkIcon, A as PlusIcon, ht as Preform, Ee as PreformOption, De as PreviewDownload, gt as PreviewSection, ft as PricingOfferingsSection, Te as PricingPlanCard, pt as PricingPlansSection, mt as PricingSupportTeaserSection, R as PrintIcon, C as PrivateIcon, _t as ProcessSection, vt as ProductInfo, G as QuestionIcon, Y as QuestionOutlineIcon, yt as RatafiaSection, g as RealStateIcon, Oe as ResourcesImageShell, m as SaveIcon, U as ScalatorIcon, ke as SearchBar, d as SearchIcon, Ae as SectionHeading, Z as SecurityIcon, oe as Select, K as SinglePhoneIcon, W as SparkIcon, S as StarsIcon, je as StepImageShell, Tt as Storyline, Ne as TableOfContents, Me as TableOfContentsWrapper, se as Textarea, n as TikTokIcon, z as TimeIcon, de as Toast, Ve as Tooltips, Wt as TrustPilotSection, bt as TrustSection, Pe as TrustedBadge, p as TrustedIcon, xt as TryNowSection, Fe as TwoColumnSection, Lt as UnsubscribeSection, f as UsFlagIcon, wt as ValuesSection, w as VerifiedIcon, Et as WeHelpSection, a as ZoomIcon, $ as getButtonClasses };
153
+ export { i as AddIcon, Re as AlternativeSubtypeDocument, Ue as Article, Xe as AsideNavMenu, e as Badge, jt as BannerTagSection, Ze as BenefitsBar, Ye as BlogSection, Q as Breadcrumb, y as BusinessIcon, ee as Button, B as CaFlagIcon, Qe as CategoriesSection, X as CheckIcon, ce as Checkbox, c as ChevronDownIcon, l as ChevronRightIcon, J as ClearIcon, N as CloseIcon, D as CommunicationIcon, $e as ContactBanner, Vt as ContactFormSection, Le as ContactMethodCard, Ht as ContactMethodsSection, It as ContactUsSection, he as ContentItem, We as ContinueEditingBanner, ge as CookiesBar, Nt as CtaFeatureTag, Pt as CtaSample, Ft as CtaSection, H as DeFlagIcon, ze as DefaultSubtypeDocument, O as DocEditFillIcon, I as DocOutlineIcon, zt as DocumentCategories, Ie as DocumentItem, Be as DocumentReviewUploadCard, Bt as DocumentSection, T as DoneCircleIcon, q as DoneIcon, x as EmploymentIcon, _ as EstatePlanningIcon, Ot as ExpertsSection, t as FacebookIcon, b as FamilyIcon, ve as FaqItem, _e as FaqItemWrapper, et as FaqSection, tt as FaqTeaserSection, kt as FastAndSimpleSection, At as FeaturesSection, L as FillFormsIcon, h as FinanceIcon, nt as Footer, ye as FooterNav, He as FreeDocumentModal, V as GbFlagIcon, Dt as GuidelinesSection, M as HamburgerIcon, it as Header, E as HelpGuideIcon, ot as Hero2Section, be as HeroImageShell, at as HeroSection, te as HighlightedText, F as HistoryIcon, st as HowItWorksSection, pe as ImageWithPreview, u as InfoIcon, ae as Input, s as InstagramIcon, St as IntroSection, ne as Item, Rt as JumboCard, Ut as JumboDocs, ct as Jumbotron, lt as Jumbotron2, ut as Jumbotron3, xe as LanguageSelector, Se as LawGeniusImageShell, Ce as LawGeniusStepCard, Ge as LeadGateErrorModal, Ke as LeadGateModal, qe as LeadGateSuccessFeatureItem, Je as LeadGateSuccessModal, le as LinkWrapper, me as LinkedProducts, o as LinkedinIcon, P as LocationIcon, j as MailFillIcon, ie as Markdown, Ct as MissionSection, rt as MobileMenu, ue as Modal, dt as MoreTemplatesSection, we as NavMenu, re as NavMenuItem, Mt as PartnersSection, v as PersonalIcon, fe as PhoneButton, r as PhoneIcon, k as PhoneTalkIcon, A as PlusIcon, ht as Preform, Ee as PreformOption, De as PreviewDownload, gt as PreviewSection, ft as PricingOfferingsSection, Te as PricingPlanCard, pt as PricingPlansSection, mt as PricingSupportTeaserSection, R as PrintIcon, C as PrivateIcon, _t as ProcessSection, vt as ProductInfo, G as QuestionIcon, Y as QuestionOutlineIcon, yt as RatafiaSection, g as RealStateIcon, Oe as ResourcesImageShell, m as SaveIcon, U as ScalatorIcon, ke as SearchBar, d as SearchIcon, Ae as SectionHeading, Z as SecurityIcon, oe as Select, K as SinglePhoneIcon, W as SparkIcon, S as StarsIcon, je as StepImageShell, Tt as Storyline, Ne as TableOfContents, Me as TableOfContentsWrapper, se as Textarea, n as TikTokIcon, z as TimeIcon, de as Toast, Ve as Tooltips, Wt as TrustPilotSection, bt as TrustSection, Pe as TrustedBadge, p as TrustedIcon, xt as TryNowSection, Fe as TwoColumnSection, Lt as UnsubscribeSection, f as UsFlagIcon, wt as ValuesSection, w as VerifiedIcon, Et as WeHelpSection, a as ZoomIcon, $ as getButtonClasses };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.176.4",
3
+ "version": "0.176.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -354,22 +354,22 @@
354
354
  "import": "./dist/components/LawGeniusStepCard.js",
355
355
  "types": "./dist/components/LawGeniusStepCard.d.ts"
356
356
  },
357
- "./components/LeadGateError": {
358
- "import": "./dist/components/LeadGateError.js",
359
- "types": "./dist/components/LeadGateError.d.ts"
357
+ "./components/LeadGateErrorModal": {
358
+ "import": "./dist/components/LeadGateErrorModal.js",
359
+ "types": "./dist/components/LeadGateErrorModal.d.ts"
360
360
  },
361
361
  "./components/LeadGateModal": {
362
362
  "import": "./dist/components/LeadGateModal.js",
363
363
  "types": "./dist/components/LeadGateModal.d.ts"
364
364
  },
365
- "./components/LeadGateSuccess": {
366
- "import": "./dist/components/LeadGateSuccess.js",
367
- "types": "./dist/components/LeadGateSuccess.d.ts"
368
- },
369
365
  "./components/LeadGateSuccessFeatureItem": {
370
366
  "import": "./dist/components/LeadGateSuccessFeatureItem.js",
371
367
  "types": "./dist/components/LeadGateSuccessFeatureItem.d.ts"
372
368
  },
369
+ "./components/LeadGateSuccessModal": {
370
+ "import": "./dist/components/LeadGateSuccessModal.js",
371
+ "types": "./dist/components/LeadGateSuccessModal.d.ts"
372
+ },
373
373
  "./components/LinkedProducts": {
374
374
  "import": "./dist/components/LinkedProducts.js",
375
375
  "types": "./dist/components/LinkedProducts.d.ts"
@@ -717,27 +717,6 @@
717
717
  "bugs": {
718
718
  "url": "https://bitbucket.org/grupoblidoo/legal-contracts-ui/issues"
719
719
  },
720
- "scripts": {
721
- "dev": "vite",
722
- "build": "tsc --project tsconfig.build.json && vite build && cp lib/globals-core.css dist/globals.css",
723
- "sonar:scan": "bash scripts/sonar.sh",
724
- "sonar": "pnpm test && pnpm sonar:scan",
725
- "chromatic": "npx chromatic --project-token=chpt_f2cdc115a03f4c9",
726
- "yalc-push": "pnpm build && yalc push",
727
- "format": "prettier --write .",
728
- "prettier": "prettier --check .",
729
- "eslint": "eslint . --quiet",
730
- "test": "vitest run --coverage",
731
- "test:watch": "vitest --coverage",
732
- "storybook": "storybook dev -p 6006",
733
- "build-storybook": "storybook build",
734
- "reinstall-force": "rm -Rf node_modules && pnpm install",
735
- "prepare-upgrade": "pnpm reinstall-force && pnpm build && pnpm chromatic && git add . && git commit -m \"$MSG\" --allow-empty && npm config set tag-version-prefix ''",
736
- "upgrade-patch": "pnpm prepare-upgrade && npm version patch -m \"Update patch version number\" && git push && git push --tags",
737
- "upgrade-minor": "pnpm prepare-upgrade && npm version minor -m \"Update minor version number\" && git push && git push --tags",
738
- "upgrade-major": "pnpm prepare-upgrade && npm version major -m \"Update major version number\" && git push && git push --tags",
739
- "prepare": "husky"
740
- },
741
720
  "dependencies": {
742
721
  "clsx": "^2.1.1",
743
722
  "react-markdown": "^10.1.0",
@@ -809,17 +788,30 @@
809
788
  "@ast-grep/napi-linux-x64-gnu": "^0.44.1",
810
789
  "@rollup/rollup-linux-x64-gnu": "^4.62.2"
811
790
  },
812
- "pnpm": {
813
- "onlyBuiltDependencies": [
814
- "esbuild",
815
- "unrs-resolver"
816
- ]
817
- },
818
791
  "lint-staged": {
819
792
  "**/*": [
820
793
  "eslint --fix",
821
794
  "prettier --write --ignore-unknown"
822
795
  ]
823
796
  },
824
- "packageManager": "pnpm@10.28.0+sha512.05df71d1421f21399e053fde567cea34d446fa02c76571441bfc1c7956e98e363088982d940465fd34480d4d90a0668bc12362f8aa88000a64e83d0b0e47be48"
825
- }
797
+ "scripts": {
798
+ "dev": "vite",
799
+ "build": "tsc --project tsconfig.build.json && vite build && cp lib/globals-core.css dist/globals.css",
800
+ "sonar:scan": "bash scripts/sonar.sh",
801
+ "sonar": "pnpm test && pnpm sonar:scan",
802
+ "chromatic": "npx chromatic --project-token=chpt_f2cdc115a03f4c9",
803
+ "yalc-push": "pnpm build && yalc push",
804
+ "format": "prettier --write .",
805
+ "prettier": "prettier --check .",
806
+ "eslint": "eslint . --quiet",
807
+ "test": "vitest run --coverage",
808
+ "test:watch": "vitest --coverage",
809
+ "storybook": "storybook dev -p 6006",
810
+ "build-storybook": "storybook build",
811
+ "reinstall-force": "rm -Rf node_modules && pnpm install",
812
+ "prepare-upgrade": "pnpm reinstall-force && pnpm build && pnpm chromatic && git add . && git commit -m \"$MSG\" --allow-empty && npm config set tag-version-prefix ''",
813
+ "upgrade-patch": "pnpm prepare-upgrade && npm version patch -m \"Update patch version number\" && git push && git push --tags",
814
+ "upgrade-minor": "pnpm prepare-upgrade && npm version minor -m \"Update minor version number\" && git push && git push --tags",
815
+ "upgrade-major": "pnpm prepare-upgrade && npm version major -m \"Update major version number\" && git push && git push --tags"
816
+ }
817
+ }
@@ -1,11 +0,0 @@
1
- import { FC } from 'react';
2
-
3
- export declare const LeadGateError: FC<LeadGateErrorProps>;
4
-
5
- export declare interface LeadGateErrorProps {
6
- heading: string;
7
- description: string;
8
- ctaLabel: string;
9
- onRetry?: () => void;
10
- }
11
-