@npm_leadtech/legal-lib-components 2.45.9 → 2.45.11

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.
Files changed (22) hide show
  1. package/dist/cjs/index.js +4 -4
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +3 -2
  4. package/dist/cjs/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.d.ts +1 -0
  5. package/dist/cjs/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.d.ts +1 -1
  6. package/dist/cjs/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.d.ts +1 -1
  7. package/dist/cjs/src/components/molecules/index.d.ts +0 -1
  8. package/dist/esm/index.js +4 -4
  9. package/dist/esm/index.js.map +1 -1
  10. package/dist/esm/legal-lib-components.css +3 -2
  11. package/dist/esm/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.d.ts +1 -0
  12. package/dist/esm/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.d.ts +1 -1
  13. package/dist/esm/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.d.ts +1 -1
  14. package/dist/esm/src/components/molecules/index.d.ts +0 -1
  15. package/dist/index.d.ts +4 -5
  16. package/package.json +10 -11
  17. package/dist/cjs/src/components/molecules/TrustpilotMiniBox/TrustpilotMiniBox.d.ts +0 -2
  18. package/dist/cjs/src/components/molecules/TrustpilotMiniBox/index.d.ts +0 -1
  19. package/dist/cjs/src/components/molecules/TrustpilotMiniBox/useLoadTruspilot.d.ts +0 -2
  20. package/dist/esm/src/components/molecules/TrustpilotMiniBox/TrustpilotMiniBox.d.ts +0 -2
  21. package/dist/esm/src/components/molecules/TrustpilotMiniBox/index.d.ts +0 -1
  22. package/dist/esm/src/components/molecules/TrustpilotMiniBox/useLoadTruspilot.d.ts +0 -2
@@ -3992,7 +3992,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3992
3992
 
3993
3993
  .phone-mobile-contact-button {
3994
3994
  display: flex;
3995
- justify-content: center; }
3995
+ justify-content: center;
3996
+ margin-bottom: 1rem; }
3996
3997
  .phone-mobile-contact-button:before {
3997
3998
  content: '';
3998
3999
  width: 20px;
@@ -4003,7 +4004,7 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4003
4004
  .phone-mobile-contact-text {
4004
4005
  color: var(--neutral-neutral-2);
4005
4006
  text-align: center;
4006
- margin: 0.5rem 0 2rem; }
4007
+ margin: 0rem 0 2rem; }
4007
4008
 
4008
4009
  .popular-docs {
4009
4010
  width: 80%;
@@ -8,6 +8,7 @@ export interface DatePickerCustomProps {
8
8
  tooltip?: string;
9
9
  isValidGroup?: boolean;
10
10
  label?: string;
11
+ locale: string;
11
12
  isStartDate?: boolean;
12
13
  relatedDate?: Date;
13
14
  type?: string;
@@ -1,4 +1,4 @@
1
1
  export interface PhoneContactBoxDesktopProps {
2
- phone: string;
2
+ phones: string[];
3
3
  schedule: string;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  export interface PhoneContactBoxMobileProps {
2
- phone: string;
2
+ phones: string[];
3
3
  schedule: string;
4
4
  }
@@ -27,6 +27,5 @@ export * from './Snackbar';
27
27
  export * from './StepGetForm';
28
28
  export * from './TextInput';
29
29
  export * from './TooltipMenu';
30
- export * from './TrustpilotMiniBox';
31
30
  export * from './TrustworthyWebsites';
32
31
  export * from './TypeModulesList';
package/dist/index.d.ts CHANGED
@@ -130,6 +130,7 @@ interface DatePickerCustomProps {
130
130
  tooltip?: string;
131
131
  isValidGroup?: boolean;
132
132
  label?: string;
133
+ locale: string;
133
134
  isStartDate?: boolean;
134
135
  relatedDate?: Date;
135
136
  type?: string;
@@ -760,14 +761,14 @@ interface PaginationProps {
760
761
  declare const Pagination: FC<PaginationProps>;
761
762
 
762
763
  interface PhoneContactBoxDesktopProps {
763
- phone: string;
764
+ phones: string[];
764
765
  schedule: string;
765
766
  }
766
767
 
767
768
  declare const PhoneContactBoxDesktop: React$1.FC<PhoneContactBoxDesktopProps>;
768
769
 
769
770
  interface PhoneContactBoxMobileProps {
770
- phone: string;
771
+ phones: string[];
771
772
  schedule: string;
772
773
  }
773
774
 
@@ -863,8 +864,6 @@ interface TooltipMenuProps {
863
864
 
864
865
  declare const TooltipMenu: FC<TooltipMenuProps>;
865
866
 
866
- declare const TrustpilotMiniBox: React$1.FC;
867
-
868
867
  interface TrustworthyWebsitesProps {
869
868
  images: ImageStructure[];
870
869
  }
@@ -1220,4 +1219,4 @@ interface UseIsMobileOrTablePropsReturn {
1220
1219
  }
1221
1220
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
1222
1221
 
1223
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, AddButton, type AddButtonProps, AlsoKnownAs, type AlsoKnownAsProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, AsideMenuSection, type AsideMenuSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContactJumbotron, type ContactJumbotronProps, ContactSection, type ContactSectionProps, ContactUsPage, type ContactUsPageProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, DocumentTag, type DocumentTagProps, EmailContactBox, type EmailContactBoxProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, FaqGroup, type FaqGroupProps, FaqItem, type FaqItemProps, FaqSection, type FaqSectionProps, FaqsPage, type FaqsPageProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronSimplifiedSection, type JumbotronSimplifiedSectionProps, JumbotronStatic, type JumbotronStaticProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PopularDocs, PopularDocsItem, type PopularDocsItemProps, type PopularDocsProps, PricingCard, type PricingCardProps, ProductCategory, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, ShowMoreBox, type ShowMoreBoxProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, Tagline, type TaglineProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustpilotMiniBox, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useStateDataAccordionItem };
1222
+ export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, AddButton, type AddButtonProps, AlsoKnownAs, type AlsoKnownAsProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, AsideMenuSection, type AsideMenuSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContactJumbotron, type ContactJumbotronProps, ContactSection, type ContactSectionProps, ContactUsPage, type ContactUsPageProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, DocumentTag, type DocumentTagProps, EmailContactBox, type EmailContactBoxProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, FaqGroup, type FaqGroupProps, FaqItem, type FaqItemProps, FaqSection, type FaqSectionProps, FaqsPage, type FaqsPageProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronSimplifiedSection, type JumbotronSimplifiedSectionProps, JumbotronStatic, type JumbotronStaticProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PopularDocs, PopularDocsItem, type PopularDocsItemProps, type PopularDocsProps, PricingCard, type PricingCardProps, ProductCategory, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, ShowMoreBox, type ShowMoreBoxProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, Tagline, type TaglineProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useStateDataAccordionItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.45.9",
3
+ "version": "2.45.11",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -41,14 +41,13 @@
41
41
  "@rollup/plugin-image": "^3.0.3",
42
42
  "@rollup/plugin-node-resolve": "^15.2.3",
43
43
  "@rollup/plugin-typescript": "^11.1.5",
44
- "@storybook/addon-a11y": "^8.0.2",
45
- "@storybook/addon-actions": "^8.0.2",
46
- "@storybook/addon-controls": "^8.0.2",
47
- "@storybook/addon-essentials": "^8.0.2",
48
- "@storybook/addon-links": "^8.0.2",
49
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
50
- "@storybook/react": "^8.0.2",
51
- "@storybook/react-webpack5": "^8.0.2",
44
+ "@storybook/addon-a11y": "^7.6.9",
45
+ "@storybook/addon-actions": "^7.6.9",
46
+ "@storybook/addon-controls": "^7.6.9",
47
+ "@storybook/addon-essentials": "^7.6.9",
48
+ "@storybook/addon-links": "^7.6.9",
49
+ "@storybook/react": "^7.6.9",
50
+ "@storybook/react-webpack5": "^7.6.9",
52
51
  "@testing-library/jest-dom": "^6.1.4",
53
52
  "@testing-library/react": "^14.1.2",
54
53
  "@types/jest": "^29.5.10",
@@ -80,7 +79,7 @@
80
79
  "eslint-plugin-react": "^7.33.2",
81
80
  "eslint-plugin-react-hooks": "^4.6.0",
82
81
  "eslint-plugin-require-explicit-generics": "^1.0.0",
83
- "eslint-plugin-storybook": "^0.8.0",
82
+ "eslint-plugin-storybook": "^0.6.15",
84
83
  "gatsby-link": "^5.12.1",
85
84
  "gatsby-plugin-image": "^3.12.3",
86
85
  "husky": "^8.0.3",
@@ -108,7 +107,7 @@
108
107
  "rollup-plugin-uglify": "^6.0.4",
109
108
  "rollup-plugin-visualizer": "^5.9.3",
110
109
  "sass-loader": "13.3.2",
111
- "storybook": "^8.0.2",
110
+ "storybook": "^7.6.9",
112
111
  "style-loader": "^3.3.3",
113
112
  "ts-jest": "^29.1.1",
114
113
  "ts-node": "^10.9.1",
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TrustpilotMiniBox: React.FC;
@@ -1 +0,0 @@
1
- export * from './TrustpilotMiniBox';
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useLoadTruspilot: (trustpilotMiniBoxRef: React.RefObject<HTMLDivElement>) => void;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TrustpilotMiniBox: React.FC;
@@ -1 +0,0 @@
1
- export * from './TrustpilotMiniBox';
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const useLoadTruspilot: (trustpilotMiniBoxRef: React.RefObject<HTMLDivElement>) => void;