@npm_leadtech/legal-lib-components 2.21.2 → 2.21.4

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.
@@ -2864,19 +2864,26 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2864
2864
  .whyLawDistrictItems__item:first-child {
2865
2865
  margin-top: 0; } }
2866
2866
 
2867
- .messageInformation {
2867
+ .message-information {
2868
2868
  display: flex;
2869
+ justify-content: center;
2869
2870
  border-radius: 4px;
2870
2871
  background: var(--secondary-main-light-4);
2871
2872
  padding: 8px; }
2872
- .messageInformation__icon {
2873
+ @media (min-width: 960px) {
2874
+ .message-information {
2875
+ justify-content: flex-start; } }
2876
+ .message-information__icon {
2873
2877
  width: 24px;
2874
2878
  fill: var(--secondary-main-dark-1);
2875
2879
  margin-right: 8px; }
2876
- .messageInformation__icon svg {
2880
+ .message-information__icon svg {
2877
2881
  display: block; }
2878
- .messageInformation__text__time {
2879
- font-weight: bold; }
2882
+ .message-information__text {
2883
+ font-size: 0.875rem;
2884
+ letter-spacing: -0.3px; }
2885
+ .message-information__text__time {
2886
+ font-weight: bold; }
2880
2887
 
2881
2888
  .article {
2882
2889
  display: flex;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type CountDownMessageProps } from './CountDownMessage.types';
3
+ import './CountDownMessage.scss';
4
+ declare const CountDownMessage: FC<CountDownMessageProps>;
5
+ export default CountDownMessage;
@@ -0,0 +1,4 @@
1
+ export interface CountDownMessageProps {
2
+ text: string;
3
+ time?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as CountDownMessage } from './CountDownMessage';
2
+ export { type CountDownMessageProps } from './CountDownMessage.types';
@@ -1 +1,2 @@
1
1
  export { useIntersectionObserver } from './useIntersectionObserver';
2
+ export { useIsMobileOrTable } from './useIsMobileOrTable';
@@ -0,0 +1,7 @@
1
+ interface UseIsMobileOrTablePropsReturn {
2
+ isMobile: boolean;
3
+ isTablet: boolean;
4
+ load: boolean;
5
+ }
6
+ export declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
7
+ export {};
package/dist/index.d.ts CHANGED
@@ -870,4 +870,11 @@ declare function useIntersectionObserver({ options, defaultIntersecting }: {
870
870
  defaultIntersecting?: boolean | undefined;
871
871
  }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
872
872
 
873
- export { AboutUsContent, AboutUsContentProps, AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, AsSeeInContent, AsSeeInContentProps, AsSeeInSection, AsSeeInSectionProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, BottomOverlayMenuProps, BottomOverlayProps, BoxForm, BoxFormProps, BreadcrumItem, BreadcrumItemProps, Breadcrumb, BreadcrumbProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, ContinueEditingBanner, ContinueEditingBannerProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, ExpertCard, ExpertCardList, ExpertCardListProps, ExpertCardProps, ExpertsSection, ExpertsSectionProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, FreeDocModalContent, FreeDocModalContentProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, IconSvgURLWithThemeColor, IconSvgURLWithThemeColorProps, ImageStructure, InfoBox, InfoBoxProps, LatestApplication, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, MessageInformationProps, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PeopleSayAboutUsSection, PeopleSayAboutUsSectionProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, RichTextMedia, RichTextStrapi, RichTextStrapiProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarMobile, TopBarProps, Trustpilot as TrustPilot, TrustPilotProps, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, WhyLawDistrictItem, WhyLawDistrictItems, WhyLawDistrictItemsProps, WhyLawDistrictSection, WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver };
873
+ interface UseIsMobileOrTablePropsReturn {
874
+ isMobile: boolean;
875
+ isTablet: boolean;
876
+ load: boolean;
877
+ }
878
+ declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
879
+
880
+ export { AboutUsContent, AboutUsContentProps, AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, AsSeeInContent, AsSeeInContentProps, AsSeeInSection, AsSeeInSectionProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, BottomOverlayMenuProps, BottomOverlayProps, BoxForm, BoxFormProps, BreadcrumItem, BreadcrumItemProps, Breadcrumb, BreadcrumbProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, ContinueEditingBanner, ContinueEditingBannerProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, ExpertCard, ExpertCardList, ExpertCardListProps, ExpertCardProps, ExpertsSection, ExpertsSectionProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, FreeDocModalContent, FreeDocModalContentProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, IconSvgURLWithThemeColor, IconSvgURLWithThemeColorProps, ImageStructure, InfoBox, InfoBoxProps, LatestApplication, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, MessageInformationProps, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PeopleSayAboutUsSection, PeopleSayAboutUsSectionProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, RichTextMedia, RichTextStrapi, RichTextStrapiProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarMobile, TopBarProps, Trustpilot as TrustPilot, TrustPilotProps, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, WhyLawDistrictItem, WhyLawDistrictItems, WhyLawDistrictItemsProps, WhyLawDistrictSection, 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.21.2",
3
+ "version": "2.21.4",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",