@npm_leadtech/legal-lib-components 2.5.4 → 2.6.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.
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +37 -80
- package/dist/cjs/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +2 -0
- package/dist/cjs/src/components/molecules/NavBarDropDown/NavBarDropDown.d.ts +4 -0
- package/dist/cjs/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.d.ts +15 -0
- package/dist/cjs/src/components/molecules/NavBarDropDown/__stories__/NavBarDropDown.stories.d.ts +6 -0
- package/dist/cjs/src/components/molecules/NavBarDropDown/index.d.ts +2 -0
- package/dist/cjs/src/components/molecules/index.d.ts +1 -0
- package/dist/cjs/src/components/sections/index.d.ts +0 -1
- package/dist/cjs/src/hooks/useIntersectionObserver.d.ts +2 -0
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +37 -80
- package/dist/esm/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +2 -0
- package/dist/esm/src/components/molecules/NavBarDropDown/NavBarDropDown.d.ts +4 -0
- package/dist/esm/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.d.ts +15 -0
- package/dist/esm/src/components/molecules/NavBarDropDown/__stories__/NavBarDropDown.stories.d.ts +6 -0
- package/dist/esm/src/components/molecules/NavBarDropDown/index.d.ts +2 -0
- package/dist/esm/src/components/molecules/index.d.ts +1 -0
- package/dist/esm/src/components/sections/index.d.ts +0 -1
- package/dist/esm/src/hooks/useIntersectionObserver.d.ts +2 -0
- package/dist/index.d.ts +19 -13
- package/package.json +1 -1
- package/dist/cjs/src/components/organisms/GuidelinesContent/GuidelinesContent.d.ts +0 -5
- package/dist/cjs/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +0 -6
- package/dist/cjs/src/components/organisms/GuidelinesContent/__stories__/GuidelinesContent.stories.d.ts +0 -6
- package/dist/cjs/src/components/organisms/GuidelinesContent/index.d.ts +0 -2
- package/dist/cjs/src/components/sections/GuidelinesSection/GuidelinesSection.d.ts +0 -5
- package/dist/cjs/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.d.ts +0 -4
- package/dist/cjs/src/components/sections/GuidelinesSection/__stories__/GuidelinesSection.stories.d.ts +0 -6
- package/dist/cjs/src/components/sections/GuidelinesSection/index.d.ts +0 -2
- package/dist/esm/src/components/organisms/GuidelinesContent/GuidelinesContent.d.ts +0 -5
- package/dist/esm/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +0 -6
- package/dist/esm/src/components/organisms/GuidelinesContent/__stories__/GuidelinesContent.stories.d.ts +0 -6
- package/dist/esm/src/components/organisms/GuidelinesContent/index.d.ts +0 -2
- package/dist/esm/src/components/sections/GuidelinesSection/GuidelinesSection.d.ts +0 -5
- package/dist/esm/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.d.ts +0 -4
- package/dist/esm/src/components/sections/GuidelinesSection/__stories__/GuidelinesSection.stories.d.ts +0 -6
- package/dist/esm/src/components/sections/GuidelinesSection/index.d.ts +0 -2
|
@@ -1547,12 +1547,23 @@
|
|
|
1547
1547
|
.menu-items__spacing .menu-items__item:not(:last-child) {
|
|
1548
1548
|
margin-bottom: 0.5rem; }
|
|
1549
1549
|
|
|
1550
|
+
.menu-items__bullets {
|
|
1551
|
+
list-style-position: inside;
|
|
1552
|
+
list-style-type: disc; }
|
|
1553
|
+
|
|
1550
1554
|
.menu-items__item {
|
|
1551
1555
|
transition: background-color 0.3s ease;
|
|
1552
1556
|
border-radius: 4px;
|
|
1553
|
-
padding: 0.25rem 0.5rem;
|
|
1554
|
-
|
|
1555
|
-
|
|
1557
|
+
padding: 0.25rem 0.5rem; }
|
|
1558
|
+
.menu-items__item svg {
|
|
1559
|
+
vertical-align: bottom; }
|
|
1560
|
+
.menu-items__item.active {
|
|
1561
|
+
color: #078080;
|
|
1562
|
+
font-weight: 700;
|
|
1563
|
+
background-color: #E4F8F3; }
|
|
1564
|
+
.menu-items__item.inactive {
|
|
1565
|
+
color: #6D7275;
|
|
1566
|
+
font-weight: 400; }
|
|
1556
1567
|
.menu-items__item.disabled {
|
|
1557
1568
|
color: #B5BABD; }
|
|
1558
1569
|
.menu-items__item.disabled svg > g > g {
|
|
@@ -2799,6 +2810,29 @@
|
|
|
2799
2810
|
.menu-items-section__title-wrapper__title {
|
|
2800
2811
|
font-weight: bold; }
|
|
2801
2812
|
|
|
2813
|
+
.navbar-drop-down__container {
|
|
2814
|
+
position: absolute;
|
|
2815
|
+
width: 100%;
|
|
2816
|
+
height: 100vh;
|
|
2817
|
+
left: 0;
|
|
2818
|
+
right: 0;
|
|
2819
|
+
z-index: 2; }
|
|
2820
|
+
.navbar-drop-down__container__menu_items {
|
|
2821
|
+
background: white;
|
|
2822
|
+
padding: 1.5rem;
|
|
2823
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25); }
|
|
2824
|
+
.navbar-drop-down__container__menu_items ul li {
|
|
2825
|
+
margin-bottom: 1rem;
|
|
2826
|
+
padding: 0.5rem 1rem; }
|
|
2827
|
+
.navbar-drop-down__container__menu_items ul li:last-child {
|
|
2828
|
+
margin-bottom: 0; }
|
|
2829
|
+
.navbar-drop-down__container__shadow {
|
|
2830
|
+
position: absolute;
|
|
2831
|
+
background: #B5BABD;
|
|
2832
|
+
opacity: 0.4;
|
|
2833
|
+
width: 100%;
|
|
2834
|
+
height: 100vh; }
|
|
2835
|
+
|
|
2802
2836
|
.pagination {
|
|
2803
2837
|
align-items: center;
|
|
2804
2838
|
box-sizing: border-box;
|
|
@@ -3508,80 +3542,3 @@
|
|
|
3508
3542
|
@media (min-width: 960px) {
|
|
3509
3543
|
.about-us-section__sub-title {
|
|
3510
3544
|
font-size: 3rem; } }
|
|
3511
|
-
|
|
3512
|
-
.homeSteps__container {
|
|
3513
|
-
transform: translateY(0%); }
|
|
3514
|
-
@media (min-width: 575px) {
|
|
3515
|
-
.homeSteps__container {
|
|
3516
|
-
transform: translateY(0%); } }
|
|
3517
|
-
@media (min-width: 720px) {
|
|
3518
|
-
.homeSteps__container {
|
|
3519
|
-
transform: translateY(0%); } }
|
|
3520
|
-
.homeSteps__container .homeSteps {
|
|
3521
|
-
display: flex;
|
|
3522
|
-
flex-direction: column;
|
|
3523
|
-
align-items: center;
|
|
3524
|
-
padding-top: 2rem;
|
|
3525
|
-
padding-bottom: 2rem;
|
|
3526
|
-
position: relative; }
|
|
3527
|
-
.homeSteps__container .homeSteps .homeStepsItemsContainer {
|
|
3528
|
-
display: flex;
|
|
3529
|
-
justify-content: space-between;
|
|
3530
|
-
width: 100%;
|
|
3531
|
-
max-width: 888px;
|
|
3532
|
-
flex-flow: row wrap;
|
|
3533
|
-
padding: 0 1rem; }
|
|
3534
|
-
@media (min-width: 960px) {
|
|
3535
|
-
.homeSteps__container .homeSteps .homeStepsItemsContainer {
|
|
3536
|
-
flex-flow: row nowrap;
|
|
3537
|
-
padding: 0; } }
|
|
3538
|
-
|
|
3539
|
-
.guidelines-section {
|
|
3540
|
-
display: flex;
|
|
3541
|
-
flex-direction: column; }
|
|
3542
|
-
@media (min-width: 720px) {
|
|
3543
|
-
.guidelines-section {
|
|
3544
|
-
flex-flow: row nowrap; } }
|
|
3545
|
-
.guidelines-section__texts {
|
|
3546
|
-
flex-basis: 50%;
|
|
3547
|
-
display: flex;
|
|
3548
|
-
flex-direction: column;
|
|
3549
|
-
justify-content: center;
|
|
3550
|
-
margin-bottom: 1rem;
|
|
3551
|
-
margin-right: 0;
|
|
3552
|
-
color: #3D4042;
|
|
3553
|
-
font-style: normal;
|
|
3554
|
-
font-weight: 400;
|
|
3555
|
-
letter-spacing: -0.3px; }
|
|
3556
|
-
@media (min-width: 720px) {
|
|
3557
|
-
.guidelines-section__texts {
|
|
3558
|
-
margin-left: 3rem;
|
|
3559
|
-
margin-bottom: 0; } }
|
|
3560
|
-
.guidelines-section__texts__title {
|
|
3561
|
-
font-family: "Lora", serif;
|
|
3562
|
-
font-size: 28px;
|
|
3563
|
-
line-height: 42px;
|
|
3564
|
-
margin-bottom: 2rem;
|
|
3565
|
-
text-align: center; }
|
|
3566
|
-
@media (min-width: 720px) {
|
|
3567
|
-
.guidelines-section__texts__title {
|
|
3568
|
-
text-align: left; } }
|
|
3569
|
-
.guidelines-section__texts__body {
|
|
3570
|
-
font-family: "Inter", sans-serif;
|
|
3571
|
-
font-size: 16px;
|
|
3572
|
-
line-height: 22px; }
|
|
3573
|
-
.guidelines-section__texts__body a {
|
|
3574
|
-
color: #078080; }
|
|
3575
|
-
.guidelines-section__image {
|
|
3576
|
-
flex-basis: 50%;
|
|
3577
|
-
margin-bottom: 2rem; }
|
|
3578
|
-
.guidelines-section__image.big-devices {
|
|
3579
|
-
display: none; }
|
|
3580
|
-
@media (min-width: 720px) {
|
|
3581
|
-
.guidelines-section__image.big-devices {
|
|
3582
|
-
display: flex; } }
|
|
3583
|
-
.guidelines-section__image.is-mobile {
|
|
3584
|
-
display: flex; }
|
|
3585
|
-
@media (min-width: 720px) {
|
|
3586
|
-
.guidelines-section__image.is-mobile {
|
|
3587
|
-
display: none; } }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface List {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
content: string;
|
|
5
|
+
dataQA?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface NavBarDropDownProps {
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
hasBullets?: boolean;
|
|
10
|
+
initialActiveContent?: string;
|
|
11
|
+
setEnableScrollbarOnClose: React.Dispatch<React.SetStateAction<(() => void) | undefined>>;
|
|
12
|
+
setIsOpen: (open: boolean) => void;
|
|
13
|
+
list: List[];
|
|
14
|
+
}
|
|
15
|
+
export {};
|
package/dist/esm/src/components/molecules/NavBarDropDown/__stories__/NavBarDropDown.stories.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NavBarDropDown } from '../NavBarDropDown';
|
|
3
|
+
declare const meta: Meta<typeof NavBarDropDown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NavBarDropDown>;
|
|
6
|
+
export declare const Default: Story;
|
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,8 @@ declare const LogoText: FC<LogoTextProps>;
|
|
|
211
211
|
|
|
212
212
|
interface MenuItemProps {
|
|
213
213
|
spacing?: boolean;
|
|
214
|
+
hasBullets?: boolean;
|
|
215
|
+
initialActiveContent?: string;
|
|
214
216
|
list: MenuListItem[];
|
|
215
217
|
}
|
|
216
218
|
interface MenuListItem {
|
|
@@ -489,6 +491,22 @@ interface MenuItemsSectionProps {
|
|
|
489
491
|
|
|
490
492
|
declare const MenuItemsSection: FC<MenuItemsSectionProps>;
|
|
491
493
|
|
|
494
|
+
interface List {
|
|
495
|
+
onClick: () => void;
|
|
496
|
+
content: string;
|
|
497
|
+
dataQA?: string;
|
|
498
|
+
}
|
|
499
|
+
interface NavBarDropDownProps {
|
|
500
|
+
isOpen: boolean;
|
|
501
|
+
hasBullets?: boolean;
|
|
502
|
+
initialActiveContent?: string;
|
|
503
|
+
setEnableScrollbarOnClose: React.Dispatch<React.SetStateAction<(() => void) | undefined>>;
|
|
504
|
+
setIsOpen: (open: boolean) => void;
|
|
505
|
+
list: List[];
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
declare const NavBarDropDown: FC<NavBarDropDownProps>;
|
|
509
|
+
|
|
492
510
|
interface PaginationProps {
|
|
493
511
|
totalPages: number;
|
|
494
512
|
activePage: number;
|
|
@@ -644,16 +662,4 @@ interface AboutUsSectionProps {
|
|
|
644
662
|
|
|
645
663
|
declare const AboutUsSection: FC<AboutUsSectionProps>;
|
|
646
664
|
|
|
647
|
-
|
|
648
|
-
title: string;
|
|
649
|
-
image: React.ReactNode;
|
|
650
|
-
children: React.ReactNode;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
interface GuidelinesSectionProps {
|
|
654
|
-
contentGuidelines: GuidelinesContentProps;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
declare const GuidelinesSection: FC<GuidelinesSectionProps>;
|
|
658
|
-
|
|
659
|
-
export { AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, 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, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps };
|
|
665
|
+
export { AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, 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, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps };
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import GuidelinesContent from '../GuidelinesContent';
|
|
3
|
-
declare const meta: Meta<typeof GuidelinesContent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof GuidelinesContent>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import GuidelinesSection from '../GuidelinesSection';
|
|
3
|
-
declare const meta: Meta<typeof GuidelinesSection>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof GuidelinesSection>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import GuidelinesContent from '../GuidelinesContent';
|
|
3
|
-
declare const meta: Meta<typeof GuidelinesContent>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof GuidelinesContent>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import GuidelinesSection from '../GuidelinesSection';
|
|
3
|
-
declare const meta: Meta<typeof GuidelinesSection>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof GuidelinesSection>;
|
|
6
|
-
export declare const Default: Story;
|