@npm_leadtech/legal-lib-components 3.4.9 → 3.5.1

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.
@@ -3933,47 +3933,39 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3933
3933
  flex-direction: row; } }
3934
3934
 
3935
3935
  .faqItem {
3936
- display: flex;
3937
- padding: 1rem;
3938
- flex-direction: column;
3939
- align-items: flex-start;
3940
3936
  border-radius: 4px;
3941
3937
  background: var(--others-white);
3942
- box-shadow: 0 0.125rem 0.375rem 0 rgba(var(--primary-main-dark-1-rgb), 0.25);
3943
- position: relative; }
3938
+ box-shadow: 0 0.125rem 0.375rem 0 rgba(var(--primary-main-dark-1-rgb), 0.25); }
3944
3939
  .faqItem .fakeAnchor {
3945
3940
  position: absolute;
3946
3941
  left: 0;
3947
3942
  top: -135px; }
3943
+ .faqItem summary {
3944
+ list-style: none; }
3948
3945
  .faqItem .content {
3949
- margin: 0;
3950
- width: 100%; }
3951
- .faqItem .content.open {
3952
- display: flex;
3953
- flex-direction: column;
3954
- gap: 1rem; }
3955
- .faqItem .content.open .question svg {
3956
- transition: all 0.35s;
3957
- transform: rotate(90deg); }
3946
+ width: 100%;
3947
+ margin: 0; }
3958
3948
  .faqItem .content .question {
3959
3949
  display: flex;
3950
+ flex-flow: row nowrap;
3960
3951
  align-items: center;
3961
3952
  gap: 1rem;
3962
3953
  justify-content: space-between;
3954
+ padding: 1rem;
3963
3955
  cursor: pointer; }
3964
3956
  .faqItem .content .question .title {
3965
- flex: 1 0 0;
3966
3957
  color: var(--neutral-neutral-1);
3967
- font-size: 16px;
3968
- line-height: 22px;
3969
- letter-spacing: -0.3px; }
3958
+ font-size: 1rem;
3959
+ line-height: 1.5rem; }
3960
+ .faqItem .content .question svg {
3961
+ transition: all 0.35s; }
3970
3962
  .faqItem .content .answer {
3971
- display: none; }
3972
- .faqItem .content .answer.open {
3973
- display: block;
3974
- color: var(--neutral-neutral-1);
3975
- line-height: 22px;
3976
- letter-spacing: -0.3px; }
3963
+ color: var(--neutral-neutral-1);
3964
+ line-height: 22px;
3965
+ letter-spacing: -0.3px;
3966
+ padding: 0 1rem 1rem; }
3967
+ .faqItem.open .question svg {
3968
+ transform: rotate(90deg); }
3977
3969
 
3978
3970
  .feature-ratafia-card-list {
3979
3971
  display: flex;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type VideoProps } from './VideoProps.types';
3
+ declare const Video: ({ videoSrcURL, videoMimeType, title, controls, autoPlay, loop, muted, track }: VideoProps) => React.JSX.Element | null;
4
+ export default Video;
@@ -0,0 +1,17 @@
1
+ export interface VideoProps {
2
+ videoSrcURL: string;
3
+ videoMimeType?: string;
4
+ title?: string;
5
+ controls?: boolean;
6
+ autoPlay?: boolean;
7
+ loop?: boolean;
8
+ muted?: boolean;
9
+ width?: string;
10
+ height?: string;
11
+ track?: {
12
+ src: string;
13
+ kind: string;
14
+ srclang: string;
15
+ label: string;
16
+ };
17
+ }
@@ -0,0 +1,2 @@
1
+ export { default as Video } from './Video';
2
+ export { type VideoProps } from './VideoProps.types';
@@ -54,5 +54,6 @@ export * from './Tooltip';
54
54
  export * from './TopBar';
55
55
  export * from './TopBarMobile';
56
56
  export * from './TrustPilot';
57
+ export * from './Video';
57
58
  export * from './WhyLawDistrictItems';
58
59
  export * from './WideInfoBar';
package/dist/index.d.ts CHANGED
@@ -638,6 +638,26 @@ interface TrustPilotProps {
638
638
 
639
639
  declare const Trustpilot: FC<TrustPilotProps>;
640
640
 
641
+ interface VideoProps {
642
+ videoSrcURL: string;
643
+ videoMimeType?: string;
644
+ title?: string;
645
+ controls?: boolean;
646
+ autoPlay?: boolean;
647
+ loop?: boolean;
648
+ muted?: boolean;
649
+ width?: string;
650
+ height?: string;
651
+ track?: {
652
+ src: string;
653
+ kind: string;
654
+ srclang: string;
655
+ label: string;
656
+ };
657
+ }
658
+
659
+ declare const Video: ({ videoSrcURL, videoMimeType, title, controls, autoPlay, loop, muted, track }: VideoProps) => React$1.JSX.Element | null;
660
+
641
661
  interface WhyLawDistrictItemsProps {
642
662
  items: WhyLawDistrictItem[];
643
663
  }
@@ -1638,4 +1658,4 @@ interface UseIsMobileOrTablePropsReturn {
1638
1658
  }
1639
1659
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
1640
1660
 
1641
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, ActionButtonHeaderRatafiaCard, ActionButtonHeaderRatafiaCardList, type ActionButtonHeaderRatafiaCardListProps, type ActionButtonHeaderRatafiaCardProps, 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, BenefitRatafiaCard, BenefitRatafiaCardList, type BenefitRatafiaCardListProps, type BenefitRatafiaCardProps, BenefitsRatafiaSection, type BenefitsRatafiaSectionProps, 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, DisclaimerRatafia as DisclaimerKeyFactsResultRatafia, type DisclaimerProps, type DisclaimerRatafiaProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, DocumentTag, type DocumentTagProps, EmailContactBox, type EmailContactBoxProps, ErrorContentRatafia, type ErrorContentRatafiaProps, ErrorRatafiaPage, type ErrorRatafiaPageProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, FaqGroup, type FaqGroupProps, FaqItem, type FaqItemProps, FaqSection, type FaqSectionProps, FaqsPage, type FaqsPageProps, FeatureRatafiaCard, FeatureRatafiaCardList, type FeatureRatafiaCardListProps, type FeatureRatafiaCardProps, FeaturesRatafiaContent, type FeaturesRatafiaContentProps, FeaturesRatafiaSection, type FeaturesRatafiaSectionProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HeaderRatafia, type HeaderRatafiaProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, IconTextInfoSection, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronRatafiaContent, type JumbotronRatafiaContentProps, JumbotronRatafiaSection, type JumbotronRatafiaSectionProps, JumbotronSimplifiedSection, type JumbotronSimplifiedSectionProps, JumbotronStatic, type JumbotronStaticProps, KeyFactCardListRatafia, type KeyFactCardListRatafiaProps, KeyFactRatafiaCard, type KeyFactRatafiaCardProps, KeyFactsLoadingContentRatafia, type KeyFactsLoadingContentRatafiaProps, KeyFactsResultContentRatafia, type KeyFactsResultContentRatafiaProps, type KeyFactsResultProps, KeyFactsResultRatafiaPage, type KeyFactsResultRatafiaPageProps, LanguageSelector, LanguageSelectorMobile, type LanguageSelectorProps, type LatestApplication, LayoutRatafia, type LayoutRatafiaProps, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, type LenguageSelectorItem, ListStepsGetForm, type ListStepsGetFormProps, LoginRatafiaContent, type LoginRatafiaContentProps, LoginRatafiaPage, type LoginRatafiaPageProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MidBannerRatafiaContent, type MidBannerRatafiaContentProps, MidBannerRatafiaSample, type MidBannerRatafiaSampleProps, MidBannerRatafiaSection, type MidBannerRatafiaSectionProps, MobileBottomBar, type MobileBottomBarProps, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, NavMenuItem, type NavMenuItemProps, 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, RatafiaLandingPage, type RatafiaLandingPageProps, RemoveButton, type RemoveButtonProps, ReviewKeyFactsResultRatafia, type ReviewKeyFactsResultRatafiaProps, 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, StepRatafiaCard, StepRatafiaCardList, type StepRatafiaCardListProps, type StepRatafiaCardProps, StepsRatafiaContent, type StepsRatafiaContentProps, StepsRatafiaSection, type StepsRatafiaSectionProps, TagRatafiaItem, type TagRatafiaItemProps, Tagline, type TaglineProps, TagsRatafiaList, type TagsRatafiaListProps, 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, TryItRatafiaSection, type TryItRatafiaSectionProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, UploadRatafiaZone, type UploadRatafiaZoneProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useLanguageOptions, useLanguageSelected, useLanguagesSelector, useStateDataAccordionItem };
1661
+ export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, ActionButtonHeaderRatafiaCard, ActionButtonHeaderRatafiaCardList, type ActionButtonHeaderRatafiaCardListProps, type ActionButtonHeaderRatafiaCardProps, 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, BenefitRatafiaCard, BenefitRatafiaCardList, type BenefitRatafiaCardListProps, type BenefitRatafiaCardProps, BenefitsRatafiaSection, type BenefitsRatafiaSectionProps, 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, DisclaimerRatafia as DisclaimerKeyFactsResultRatafia, type DisclaimerProps, type DisclaimerRatafiaProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, DocumentTag, type DocumentTagProps, EmailContactBox, type EmailContactBoxProps, ErrorContentRatafia, type ErrorContentRatafiaProps, ErrorRatafiaPage, type ErrorRatafiaPageProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, FaqGroup, type FaqGroupProps, FaqItem, type FaqItemProps, FaqSection, type FaqSectionProps, FaqsPage, type FaqsPageProps, FeatureRatafiaCard, FeatureRatafiaCardList, type FeatureRatafiaCardListProps, type FeatureRatafiaCardProps, FeaturesRatafiaContent, type FeaturesRatafiaContentProps, FeaturesRatafiaSection, type FeaturesRatafiaSectionProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HeaderRatafia, type HeaderRatafiaProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, IconTextInfoSection, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronRatafiaContent, type JumbotronRatafiaContentProps, JumbotronRatafiaSection, type JumbotronRatafiaSectionProps, JumbotronSimplifiedSection, type JumbotronSimplifiedSectionProps, JumbotronStatic, type JumbotronStaticProps, KeyFactCardListRatafia, type KeyFactCardListRatafiaProps, KeyFactRatafiaCard, type KeyFactRatafiaCardProps, KeyFactsLoadingContentRatafia, type KeyFactsLoadingContentRatafiaProps, KeyFactsResultContentRatafia, type KeyFactsResultContentRatafiaProps, type KeyFactsResultProps, KeyFactsResultRatafiaPage, type KeyFactsResultRatafiaPageProps, LanguageSelector, LanguageSelectorMobile, type LanguageSelectorProps, type LatestApplication, LayoutRatafia, type LayoutRatafiaProps, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, type LenguageSelectorItem, ListStepsGetForm, type ListStepsGetFormProps, LoginRatafiaContent, type LoginRatafiaContentProps, LoginRatafiaPage, type LoginRatafiaPageProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MidBannerRatafiaContent, type MidBannerRatafiaContentProps, MidBannerRatafiaSample, type MidBannerRatafiaSampleProps, MidBannerRatafiaSection, type MidBannerRatafiaSectionProps, MobileBottomBar, type MobileBottomBarProps, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, NavMenuItem, type NavMenuItemProps, 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, RatafiaLandingPage, type RatafiaLandingPageProps, RemoveButton, type RemoveButtonProps, ReviewKeyFactsResultRatafia, type ReviewKeyFactsResultRatafiaProps, 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, StepRatafiaCard, StepRatafiaCardList, type StepRatafiaCardListProps, type StepRatafiaCardProps, StepsRatafiaContent, type StepsRatafiaContentProps, StepsRatafiaSection, type StepsRatafiaSectionProps, TagRatafiaItem, type TagRatafiaItemProps, Tagline, type TaglineProps, TagsRatafiaList, type TagsRatafiaListProps, 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, TryItRatafiaSection, type TryItRatafiaSectionProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, UploadRatafiaZone, type UploadRatafiaZoneProps, Video, type VideoProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useLanguageOptions, useLanguageSelected, useLanguagesSelector, useStateDataAccordionItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "3.4.9",
3
+ "version": "3.5.1",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.4.6",
6
6
  "@tippyjs/react": "4.2.6",
@@ -92,7 +92,7 @@
92
92
  "jest-sonar-reporter": "^2.0.0",
93
93
  "jest-svg-transformer": "^1.0.0",
94
94
  "lint-staged": "^15.2.7",
95
- "node-sass": "^8.0.0",
95
+ "node-sass": "^9.0.0",
96
96
  "path": "^0.12.7",
97
97
  "postcss": "^8.4.39",
98
98
  "postcss-loader": "^7.3.4",