@npm_leadtech/legal-lib-components 2.37.1 → 2.37.3

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 (28) hide show
  1. package/dist/cjs/images/componentsSvg/SymbolDoc.d.ts +2 -0
  2. package/dist/cjs/index.js +3 -3
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/legal-lib-components.css +31 -28
  5. package/dist/cjs/src/components/atoms/DocumentTag/DocumentTag.d.ts +4 -0
  6. package/dist/cjs/src/components/atoms/DocumentTag/DocumentTagProps.d.ts +3 -0
  7. package/dist/cjs/src/components/atoms/DocumentTag/index.d.ts +2 -0
  8. package/dist/cjs/src/components/atoms/index.d.ts +1 -1
  9. package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +1 -1
  10. package/dist/cjs/src/components/molecules/index.d.ts +1 -1
  11. package/dist/esm/images/componentsSvg/SymbolDoc.d.ts +2 -0
  12. package/dist/esm/index.js +3 -3
  13. package/dist/esm/index.js.map +1 -1
  14. package/dist/esm/legal-lib-components.css +31 -28
  15. package/dist/esm/src/components/atoms/DocumentTag/DocumentTag.d.ts +4 -0
  16. package/dist/esm/src/components/atoms/DocumentTag/DocumentTagProps.d.ts +3 -0
  17. package/dist/esm/src/components/atoms/DocumentTag/index.d.ts +2 -0
  18. package/dist/esm/src/components/atoms/index.d.ts +1 -1
  19. package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +1 -1
  20. package/dist/esm/src/components/molecules/index.d.ts +1 -1
  21. package/dist/index.d.ts +11 -11
  22. package/package.json +9 -9
  23. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +0 -5
  24. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +0 -3
  25. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/index.d.ts +0 -2
  26. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +0 -5
  27. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +0 -3
  28. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/index.d.ts +0 -2
@@ -1790,6 +1790,17 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1790
1790
  .document-status.--is-new .icon {
1791
1791
  margin-right: 1.4rem; }
1792
1792
 
1793
+ .document-tag {
1794
+ background: var(--others-white);
1795
+ border: 1px solid var(--neutral-neutral-4);
1796
+ border-radius: 4px;
1797
+ color: var(--neutral-neutral-2);
1798
+ font-size: 0.875rem;
1799
+ letter-spacing: -0.3px;
1800
+ line-height: 1.15rem;
1801
+ padding: 4px 8px;
1802
+ white-space: nowrap; }
1803
+
1793
1804
  .expert-card {
1794
1805
  display: flex;
1795
1806
  align-items: center;
@@ -3007,17 +3018,26 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3007
3018
  .message-information__text__time.regular {
3008
3019
  font-weight: 400; }
3009
3020
 
3010
- .also-known-as-list-item {
3011
- display: inline-block;
3012
- margin: 0 8px 8px 0; }
3013
- .also-known-as-list-item__text {
3014
- font-size: 0.875rem;
3015
- line-height: 1.15;
3016
- color: var(--neutral-neutral-2);
3017
- padding: 4px 8px;
3018
- border-radius: 4px;
3019
- border: 1px solid var(--neutral-neutral-4);
3020
- background: var(--others-white); }
3021
+ .also-known-as {
3022
+ display: flex;
3023
+ align-items: center;
3024
+ gap: 0.5rem;
3025
+ flex-wrap: wrap; }
3026
+ .also-known-as .title {
3027
+ display: flex;
3028
+ align-items: center;
3029
+ gap: 0.25rem;
3030
+ flex-wrap: nowrap; }
3031
+ .also-known-as .title svg {
3032
+ width: 18px;
3033
+ height: 18px;
3034
+ fill: var(--secondary-main-dark-1); }
3035
+ .also-known-as .title .text {
3036
+ color: var(--Neutral-600, #6d7275);
3037
+ font-size: 0.875rem;
3038
+ line-height: 18px;
3039
+ letter-spacing: -0.3px;
3040
+ white-space: nowrap; }
3021
3041
 
3022
3042
  .article {
3023
3043
  display: flex;
@@ -4200,23 +4220,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4200
4220
  .trustworthy-websites__image {
4201
4221
  margin: 1.5rem; }
4202
4222
 
4203
- @media (min-width: 720px) {
4204
- .also-known-as {
4205
- display: flex; } }
4206
-
4207
- .also-known-as__title {
4208
- font-size: 0.875rem;
4209
- color: var(--neutral-neutral-2);
4210
- margin-bottom: 8px; }
4211
- .also-known-as__title__content {
4212
- display: flex; }
4213
- .also-known-as__title__text {
4214
- padding-left: 4px; }
4215
- @media (min-width: 720px) {
4216
- .also-known-as__title {
4217
- flex: 0 0 auto;
4218
- width: 130px; } }
4219
-
4220
4223
  .about-us-content {
4221
4224
  display: flex;
4222
4225
  flex-flow: row wrap;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type DocumentTagProps } from './DocumentTagProps';
3
+ import './DocumentTag.scss';
4
+ export declare const DocumentTag: React.FC<DocumentTagProps>;
@@ -0,0 +1,3 @@
1
+ export interface DocumentTagProps {
2
+ text: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { DocumentTag } from './DocumentTag';
2
+ export { type DocumentTagProps } from './DocumentTagProps';
@@ -12,6 +12,7 @@ export * from './DialogMenuIcon';
12
12
  export * from './Disclaimer';
13
13
  export * from './Divider';
14
14
  export * from './DocumentStatus';
15
+ export * from './DocumentTag';
15
16
  export * from './ExpertCard';
16
17
  export * from './FormFaq';
17
18
  export * from './GoogleButton';
@@ -43,4 +44,3 @@ export * from './WideInfoBar';
43
44
  export * from './TrustPilot';
44
45
  export * from './WhyLawDistrictItems';
45
46
  export * from './MessageInformation';
46
- export * from './AlsoKnownAsListItem';
@@ -1,4 +1,4 @@
1
1
  export interface AlsoKnownAsProps {
2
2
  title: string;
3
- items: string[];
3
+ documents: string[];
4
4
  }
@@ -1,3 +1,4 @@
1
+ export * from './AlsoKnownAs';
1
2
  export * from './Article';
2
3
  export * from './BaseBoxList';
3
4
  export * from './BottomFixedBar';
@@ -23,4 +24,3 @@ export * from './StepGetForm';
23
24
  export * from './TextInput';
24
25
  export * from './TooltipMenu';
25
26
  export * from './TrustworthyWebsites';
26
- export * from './AlsoKnownAs';
package/dist/index.d.ts CHANGED
@@ -173,6 +173,12 @@ interface DocumentStatusProps {
173
173
 
174
174
  declare const DocumentStatus: FC<DocumentStatusProps>;
175
175
 
176
+ interface DocumentTagProps {
177
+ text: string;
178
+ }
179
+
180
+ declare const DocumentTag: React$1.FC<DocumentTagProps>;
181
+
176
182
  interface ExpertCardProps {
177
183
  title: string;
178
184
  description: string;
@@ -500,11 +506,12 @@ interface MessageInformationProps {
500
506
 
501
507
  declare const MessageInformation: FC<MessageInformationProps>;
502
508
 
503
- interface AlsoKnownAsListItemProps {
504
- text: string;
509
+ interface AlsoKnownAsProps {
510
+ title: string;
511
+ documents: string[];
505
512
  }
506
513
 
507
- declare const AlsoKnownAs$1: FC<AlsoKnownAsListItemProps>;
514
+ declare const AlsoKnownAs: FC<AlsoKnownAsProps>;
508
515
 
509
516
  interface ArticleProps {
510
517
  imageUrl: string;
@@ -805,13 +812,6 @@ interface ImageStructure {
805
812
 
806
813
  declare const TrustworthyWebsites: FC<TrustworthyWebsitesProps>;
807
814
 
808
- interface AlsoKnownAsProps {
809
- title: string;
810
- items: string[];
811
- }
812
-
813
- declare const AlsoKnownAs: FC<AlsoKnownAsProps>;
814
-
815
815
  interface AboutUsContentProps {
816
816
  children: React.ReactNode;
817
817
  image: React.ReactNode;
@@ -1082,4 +1082,4 @@ interface UseIsMobileOrTablePropsReturn {
1082
1082
  }
1083
1083
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
1084
1084
 
1085
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, AlsoKnownAs, AlsoKnownAs$1 as AlsoKnownAsListItem, type AlsoKnownAsListItemProps, 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, 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, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PricingCard, type PricingCardProps, 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, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
1085
+ export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, 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, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PricingCard, type PricingCardProps, 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, 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.37.1",
3
+ "version": "2.37.3",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -41,13 +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": "^7.6.7",
45
- "@storybook/addon-actions": "^7.6.7",
46
- "@storybook/addon-controls": "^7.6.7",
47
- "@storybook/addon-essentials": "^7.6.7",
48
- "@storybook/addon-links": "^7.6.7",
49
- "@storybook/react": "^7.6.7",
50
- "@storybook/react-webpack5": "^7.6.7",
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",
51
51
  "@testing-library/jest-dom": "^6.1.4",
52
52
  "@testing-library/react": "^14.1.2",
53
53
  "@types/jest": "^29.5.10",
@@ -107,7 +107,7 @@
107
107
  "rollup-plugin-uglify": "^6.0.4",
108
108
  "rollup-plugin-visualizer": "^5.9.3",
109
109
  "sass-loader": "13.3.2",
110
- "storybook": "^7.6.7",
110
+ "storybook": "^7.6.9",
111
111
  "style-loader": "^3.3.3",
112
112
  "ts-jest": "^29.1.1",
113
113
  "ts-node": "^10.9.1",
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';
3
- import './AlsoKnownAsListItem.scss';
4
- declare const AlsoKnownAs: FC<AlsoKnownAsListItemProps>;
5
- export default AlsoKnownAs;
@@ -1,3 +0,0 @@
1
- export interface AlsoKnownAsListItemProps {
2
- text: string;
3
- }
@@ -1,2 +0,0 @@
1
- export { default as AlsoKnownAsListItem } from './AlsoKnownAsListItem';
2
- export { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';
@@ -1,5 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';
3
- import './AlsoKnownAsListItem.scss';
4
- declare const AlsoKnownAs: FC<AlsoKnownAsListItemProps>;
5
- export default AlsoKnownAs;
@@ -1,3 +0,0 @@
1
- export interface AlsoKnownAsListItemProps {
2
- text: string;
3
- }
@@ -1,2 +0,0 @@
1
- export { default as AlsoKnownAsListItem } from './AlsoKnownAsListItem';
2
- export { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';