@npm_leadtech/legal-lib-components 2.21.1 → 2.21.2

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.
@@ -1960,38 +1960,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1960
1960
  border-radius: 5px;
1961
1961
  font-family: "Inter", sans-serif; }
1962
1962
 
1963
- .native-datepicker {
1964
- max-width: 55%;
1965
- width: 100%;
1966
- display: flex;
1967
- flex-flow: column;
1968
- margin-bottom: 2rem; }
1969
- .native-datepicker__inner {
1970
- margin-bottom: 0.5rem; }
1971
- .native-datepicker__label {
1972
- font-weight: bold; }
1973
- .native-datepicker input {
1974
- color: var(--neutral-main);
1975
- border-radius: 4px;
1976
- font-size: 1rem;
1977
- background-color: var(--neutral-neutral-4);
1978
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48IS0tR2VuZXJhdG9yOiBza2V0Y2h0b29sIDYwICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tLS0+PHRpdGxlPjNEODAzNjU0LUI3NjEtNEZEQy05MThDLTc1QzUwMjdEODcyMDwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPjxkZWZzPjxwYXRoIGQ9Ik0yMiwzIEwxOSwzIEwxOSwxIEwxNywxIEwxNywzIEw3LDMgTDcsMSBMNSwxIEw1LDMgTDIsMyBMMiwyMyBMMjIsMjMgTDIyLDMgWiBNMjAsMjEgTDQsMjEgTDQsOCBMMjAsOCBMMjAsMjEgWiIgaWQ9InBhdGgtMSIvPjwvZGVmcz48ZyBpZD0iQXNzZXQtQXJ0Ym9hcmQtUGFnZSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgaWQ9Imljb24vbmF2aWdhdGlvbi9leHBhbmRfbW9yZV8yNHB4LWljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiPjxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj48dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiLz48L21hc2s+PGcgaWQ9Imljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxnIGlkPSLihrMtQ29sb3ItY29sb3ItLy1JY29ucy0vLUJsYWNrLS8tSW5hY3RpdmUiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzQzNDM0MyI+PHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9nPjwvZz48L2c+PC9zdmc+);
1979
- background-position: 95% 50%;
1980
- background-repeat: no-repeat;
1981
- height: 40px;
1982
- width: 100%;
1983
- padding: .75rem;
1984
- padding-right: 1.8rem;
1985
- transition: box-shadow .3s ease;
1986
- box-shadow: 0 0 0 0 var(--primary-main-light-4);
1987
- margin: .0005em;
1988
- border: none; }
1989
- .native-datepicker input::-webkit-calendar-picker-indicator {
1990
- background: transparent; }
1991
- .native-datepicker input:focus {
1992
- outline: none;
1993
- box-shadow: 0 0 0 2px var(--primary-main-light-1); }
1994
-
1995
1963
  .paypal-button {
1996
1964
  padding: 0;
1997
1965
  border: none;
@@ -2896,6 +2864,20 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2896
2864
  .whyLawDistrictItems__item:first-child {
2897
2865
  margin-top: 0; } }
2898
2866
 
2867
+ .messageInformation {
2868
+ display: flex;
2869
+ border-radius: 4px;
2870
+ background: var(--secondary-main-light-4);
2871
+ padding: 8px; }
2872
+ .messageInformation__icon {
2873
+ width: 24px;
2874
+ fill: var(--secondary-main-dark-1);
2875
+ margin-right: 8px; }
2876
+ .messageInformation__icon svg {
2877
+ display: block; }
2878
+ .messageInformation__text__time {
2879
+ font-weight: bold; }
2880
+
2899
2881
  .article {
2900
2882
  display: flex;
2901
2883
  flex-flow: row wrap;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type MessageInformationProps } from './MessageInformation.types';
3
+ import './MessageInformation.scss';
4
+ declare const MessageInformation: FC<MessageInformationProps>;
5
+ export default MessageInformation;
@@ -0,0 +1,4 @@
1
+ export interface MessageInformationProps {
2
+ text: string;
3
+ time?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as MessageInformation } from './MessageInformation';
2
+ export { type MessageInformationProps } from './MessageInformation.types';
@@ -22,7 +22,6 @@ export * from './Logo';
22
22
  export * from './LogoText';
23
23
  export * from './MenuItems';
24
24
  export * from './Message';
25
- export * from './NativeDatePicker';
26
25
  export * from './PaypalButton';
27
26
  export * from './ProgressBar';
28
27
  export * from './Radio';
@@ -40,3 +39,4 @@ export * from './TopBarMobile';
40
39
  export * from './WideInfoBar';
41
40
  export * from './TrustPilot';
42
41
  export * from './WhyLawDistrictItems';
42
+ export * from './MessageInformation';
package/dist/index.d.ts CHANGED
@@ -263,21 +263,6 @@ interface MessageProps {
263
263
 
264
264
  declare const Message: FC<MessageProps>;
265
265
 
266
- interface DateObject {
267
- target: {
268
- name: string;
269
- value: Date;
270
- };
271
- }
272
- interface NativeDatePickerProps {
273
- onChange: (dateObect: DateObject) => void;
274
- name: string;
275
- value?: string;
276
- label?: string;
277
- }
278
-
279
- declare const NativeDatePicker: FC<NativeDatePickerProps>;
280
-
281
266
  interface PaypalButtonProps {
282
267
  onClickButton: () => void;
283
268
  }
@@ -484,6 +469,13 @@ interface WhyLawDistrictItem {
484
469
 
485
470
  declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
486
471
 
472
+ interface MessageInformationProps {
473
+ text: string;
474
+ time?: string;
475
+ }
476
+
477
+ declare const MessageInformation: FC<MessageInformationProps>;
478
+
487
479
  interface ArticleProps {
488
480
  imageUrl: string;
489
481
  title: string;
@@ -878,4 +870,4 @@ declare function useIntersectionObserver({ options, defaultIntersecting }: {
878
870
  defaultIntersecting?: boolean | undefined;
879
871
  }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
880
872
 
881
- 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, MessageProps, MobileBottomBar, MobileBottomBarProps, NativeDatePicker, NativeDatePickerProps, 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
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.21.1",
3
+ "version": "2.21.2",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type NativeDatePickerProps } from './NativeDatePickerProps.types';
3
- import './NativeDatePicker.scss';
4
- export declare const NativeDatePicker: FC<NativeDatePickerProps>;
@@ -1,13 +0,0 @@
1
- interface DateObject {
2
- target: {
3
- name: string;
4
- value: Date;
5
- };
6
- }
7
- export interface NativeDatePickerProps {
8
- onChange: (dateObect: DateObject) => void;
9
- name: string;
10
- value?: string;
11
- label?: string;
12
- }
13
- export {};
@@ -1,2 +0,0 @@
1
- export { NativeDatePicker } from './NativeDatePicker';
2
- export { type NativeDatePickerProps } from './NativeDatePickerProps.types';
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type NativeDatePickerProps } from './NativeDatePickerProps.types';
3
- import './NativeDatePicker.scss';
4
- export declare const NativeDatePicker: FC<NativeDatePickerProps>;
@@ -1,13 +0,0 @@
1
- interface DateObject {
2
- target: {
3
- name: string;
4
- value: Date;
5
- };
6
- }
7
- export interface NativeDatePickerProps {
8
- onChange: (dateObect: DateObject) => void;
9
- name: string;
10
- value?: string;
11
- label?: string;
12
- }
13
- export {};
@@ -1,2 +0,0 @@
1
- export { NativeDatePicker } from './NativeDatePicker';
2
- export { type NativeDatePickerProps } from './NativeDatePickerProps.types';