@npm_leadtech/legal-lib-components 2.31.7 → 2.32.0

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 (34) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +0 -4
  4. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  5. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +5 -0
  6. package/dist/cjs/src/components/atoms/MessageInformation/index.d.ts +1 -1
  7. package/dist/cjs/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +0 -2
  8. package/dist/cjs/src/components/atoms/index.d.ts +0 -1
  9. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  10. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +5 -0
  11. package/dist/cjs/src/components/molecules/CountDownMessage/index.d.ts +1 -1
  12. package/dist/esm/index.js +2 -2
  13. package/dist/esm/index.js.map +1 -1
  14. package/dist/esm/legal-lib-components.css +0 -4
  15. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.d.ts +1 -1
  16. package/dist/esm/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +5 -0
  17. package/dist/esm/src/components/atoms/MessageInformation/index.d.ts +1 -1
  18. package/dist/esm/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +0 -2
  19. package/dist/esm/src/components/atoms/index.d.ts +0 -1
  20. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.d.ts +1 -1
  21. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +5 -0
  22. package/dist/esm/src/components/molecules/CountDownMessage/index.d.ts +1 -1
  23. package/dist/index.d.ts +3 -12
  24. package/package.json +1 -1
  25. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +0 -4
  26. package/dist/cjs/src/components/atoms/ShowMoreStrapi/ShowMoreStrapi.d.ts +0 -4
  27. package/dist/cjs/src/components/atoms/ShowMoreStrapi/ShowMoreStrapiProps.d.ts +0 -5
  28. package/dist/cjs/src/components/atoms/ShowMoreStrapi/index.d.ts +0 -2
  29. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +0 -4
  30. package/dist/esm/src/components/atoms/MessageInformation/MessageInformation.types.d.ts +0 -4
  31. package/dist/esm/src/components/atoms/ShowMoreStrapi/ShowMoreStrapi.d.ts +0 -4
  32. package/dist/esm/src/components/atoms/ShowMoreStrapi/ShowMoreStrapiProps.d.ts +0 -5
  33. package/dist/esm/src/components/atoms/ShowMoreStrapi/index.d.ts +0 -2
  34. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessage.types.d.ts +0 -4
@@ -2957,10 +2957,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2957
2957
  .message-information__text__time {
2958
2958
  font-weight: bold; }
2959
2959
 
2960
- .show-more-strapi ul li,
2961
- .show-more-strapi ol li {
2962
- margin-bottom: 1rem; }
2963
-
2964
2960
  .article {
2965
2961
  display: flex;
2966
2962
  flex-flow: row wrap;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type MessageInformationProps } from './MessageInformation.types';
2
+ import { type MessageInformationProps } from './MessageInformationProps.types';
3
3
  import './MessageInformation.scss';
4
4
  declare const MessageInformation: FC<MessageInformationProps>;
5
5
  export default MessageInformation;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface MessageInformationProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as MessageInformation } from './MessageInformation';
2
- export { type MessageInformationProps } from './MessageInformation.types';
2
+ export { type MessageInformationProps } from './MessageInformationProps.types';
@@ -1,8 +1,6 @@
1
1
  import { type RichTextMedia } from './RichTextMedia';
2
2
  export interface RichTextStrapiProps {
3
3
  html?: string;
4
- showMoreTextShortResponse?: string;
5
- showMoreTextCompleteResponse?: string;
6
4
  className?: string;
7
5
  medias?: RichTextMedia[];
8
6
  }
@@ -41,4 +41,3 @@ export * from './WideInfoBar';
41
41
  export * from './TrustPilot';
42
42
  export * from './WhyLawDistrictItems';
43
43
  export * from './MessageInformation';
44
- export * from './ShowMoreStrapi';
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type CountDownMessageProps } from './CountDownMessage.types';
2
+ import { type CountDownMessageProps } from './CountDownMessageProps.types';
3
3
  import './CountDownMessage.scss';
4
4
  declare const CountDownMessage: FC<CountDownMessageProps>;
5
5
  export default CountDownMessage;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface CountDownMessageProps {
3
+ text: string | React.ReactNode;
4
+ time?: string;
5
+ }
@@ -1,2 +1,2 @@
1
1
  export { default as CountDownMessage } from './CountDownMessage';
2
- export { type CountDownMessageProps } from './CountDownMessage.types';
2
+ export { type CountDownMessageProps } from './CountDownMessageProps.types';
package/dist/index.d.ts CHANGED
@@ -343,8 +343,6 @@ interface RichTextMedia {
343
343
 
344
344
  interface RichTextStrapiProps {
345
345
  html?: string;
346
- showMoreTextShortResponse?: string;
347
- showMoreTextCompleteResponse?: string;
348
346
  className?: string;
349
347
  medias?: RichTextMedia[];
350
348
  }
@@ -479,19 +477,12 @@ interface WhyLawDistrictItem {
479
477
  declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
480
478
 
481
479
  interface MessageInformationProps {
482
- text: string;
480
+ text: string | React.ReactNode;
483
481
  time?: string;
484
482
  }
485
483
 
486
484
  declare const MessageInformation: FC<MessageInformationProps>;
487
485
 
488
- interface ShowMoreStrapiProps {
489
- children: React.ReactNode;
490
- className?: string;
491
- }
492
-
493
- declare const ShowMoreStrapi: FC<ShowMoreStrapiProps>;
494
-
495
486
  interface ArticleProps {
496
487
  imageUrl: string;
497
488
  title: string;
@@ -753,7 +744,7 @@ interface FreeDocModalContentProps {
753
744
  declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
754
745
 
755
746
  interface CountDownMessageProps {
756
- text: string;
747
+ text: string | React.ReactNode;
757
748
  time?: string;
758
749
  }
759
750
 
@@ -956,4 +947,4 @@ interface UseIsMobileOrTablePropsReturn {
956
947
  }
957
948
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
958
949
 
959
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, 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, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, 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, 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, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, ShowMoreStrapi, type ShowMoreStrapiProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, 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, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
950
+ export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, 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, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, 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, 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, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, 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, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.31.7",
3
+ "version": "2.32.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -1,4 +0,0 @@
1
- export interface MessageInformationProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type ShowMoreStrapiProps } from './ShowMoreStrapiProps';
3
- import './ShowMoreStrapi.scss';
4
- export declare const ShowMoreStrapi: FC<ShowMoreStrapiProps>;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ShowMoreStrapiProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
@@ -1,2 +0,0 @@
1
- export { ShowMoreStrapi } from './ShowMoreStrapi';
2
- export type { ShowMoreStrapiProps } from './ShowMoreStrapiProps';
@@ -1,4 +0,0 @@
1
- export interface CountDownMessageProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- export interface MessageInformationProps {
2
- text: string;
3
- time?: string;
4
- }
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type ShowMoreStrapiProps } from './ShowMoreStrapiProps';
3
- import './ShowMoreStrapi.scss';
4
- export declare const ShowMoreStrapi: FC<ShowMoreStrapiProps>;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ShowMoreStrapiProps {
3
- children: React.ReactNode;
4
- className?: string;
5
- }
@@ -1,2 +0,0 @@
1
- export { ShowMoreStrapi } from './ShowMoreStrapi';
2
- export type { ShowMoreStrapiProps } from './ShowMoreStrapiProps';
@@ -1,4 +0,0 @@
1
- export interface CountDownMessageProps {
2
- text: string;
3
- time?: string;
4
- }