@npm_leadtech/legal-lib-components 2.6.9 → 2.6.10
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/images/componentsSvg/PhoneIcon24px.d.ts +2 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +45 -1
- package/dist/cjs/src/components/atoms/TopBarMobile/TopBarMobile.d.ts +8 -0
- package/dist/cjs/src/components/atoms/TopBarMobile/__stories__/TopBarMobile.stories.d.ts +7 -0
- package/dist/cjs/src/components/atoms/TopBarMobile/index.d.ts +1 -0
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/hooks/index.d.ts +1 -0
- package/dist/cjs/src/hooks/useIntersectionObserver.d.ts +4 -1
- package/dist/cjs/src/index.d.ts +1 -0
- package/dist/esm/images/componentsSvg/PhoneIcon24px.d.ts +2 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +45 -1
- package/dist/esm/src/components/atoms/TopBarMobile/TopBarMobile.d.ts +8 -0
- package/dist/esm/src/components/atoms/TopBarMobile/__stories__/TopBarMobile.stories.d.ts +7 -0
- package/dist/esm/src/components/atoms/TopBarMobile/index.d.ts +1 -0
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/hooks/index.d.ts +1 -0
- package/dist/esm/src/hooks/useIntersectionObserver.d.ts +4 -1
- package/dist/esm/src/index.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
|
@@ -2390,6 +2390,9 @@
|
|
|
2390
2390
|
@media (min-width: 720px) {
|
|
2391
2391
|
.top-bar-wrapper {
|
|
2392
2392
|
display: block; } }
|
|
2393
|
+
@media (max-width: 575px) {
|
|
2394
|
+
.top-bar-wrapper {
|
|
2395
|
+
display: block; } }
|
|
2393
2396
|
.top-bar-wrapper .top-bar {
|
|
2394
2397
|
display: flex;
|
|
2395
2398
|
background-color: #F8F9FA;
|
|
@@ -2400,10 +2403,19 @@
|
|
|
2400
2403
|
justify-content: center;
|
|
2401
2404
|
align-items: flex-end;
|
|
2402
2405
|
border: 1px solid #DBE1E5; }
|
|
2406
|
+
@media (max-width: 575px) {
|
|
2407
|
+
.top-bar-wrapper .top-bar {
|
|
2408
|
+
align-items: center; } }
|
|
2403
2409
|
.top-bar-wrapper .top-bar-content {
|
|
2404
2410
|
margin: 0 1rem 5px; }
|
|
2405
|
-
|
|
2411
|
+
@media (max-width: 575px) {
|
|
2412
|
+
.top-bar-wrapper .top-bar-content {
|
|
2413
|
+
margin: 0; } }
|
|
2414
|
+
.top-bar-wrapper .top-bar-content svg, .top-bar-wrapper .top-bar-content img {
|
|
2406
2415
|
vertical-align: middle; }
|
|
2416
|
+
.top-bar-wrapper .top-bar-content img {
|
|
2417
|
+
margin-right: 8px;
|
|
2418
|
+
display: inherit; }
|
|
2407
2419
|
|
|
2408
2420
|
.bottom-overlay-menu {
|
|
2409
2421
|
display: flex;
|
|
@@ -2426,6 +2438,38 @@
|
|
|
2426
2438
|
.bottom-overlay-menu ul li {
|
|
2427
2439
|
margin-bottom: 0; }
|
|
2428
2440
|
|
|
2441
|
+
.top-bar-mobile {
|
|
2442
|
+
background-color: #F3F7FA;
|
|
2443
|
+
display: flex;
|
|
2444
|
+
padding: 8px 16px;
|
|
2445
|
+
justify-content: space-between;
|
|
2446
|
+
align-items: center;
|
|
2447
|
+
border-radius: 4px;
|
|
2448
|
+
box-shadow: 0px 2px 6px 0px rgba(2, 55, 74, 0.25);
|
|
2449
|
+
font-size: 14px;
|
|
2450
|
+
line-height: 18px;
|
|
2451
|
+
letter-spacing: -0.3px;
|
|
2452
|
+
position: fixed;
|
|
2453
|
+
top: 8px;
|
|
2454
|
+
left: 8px;
|
|
2455
|
+
right: 8px; }
|
|
2456
|
+
.top-bar-mobile.fade-In {
|
|
2457
|
+
visibility: visible;
|
|
2458
|
+
opacity: 1;
|
|
2459
|
+
transition: visibility 0s linear 0s, opacity 300ms; }
|
|
2460
|
+
.top-bar-mobile.fade-Out {
|
|
2461
|
+
visibility: hidden;
|
|
2462
|
+
opacity: 0;
|
|
2463
|
+
transition: visibility 0s linear 300ms, opacity 300ms; }
|
|
2464
|
+
.top-bar-mobile > b {
|
|
2465
|
+
display: flex;
|
|
2466
|
+
justify-content: center;
|
|
2467
|
+
align-items: center; }
|
|
2468
|
+
.top-bar-mobile > b a {
|
|
2469
|
+
display: contents; }
|
|
2470
|
+
.top-bar-mobile > b img {
|
|
2471
|
+
margin-right: 8px; }
|
|
2472
|
+
|
|
2429
2473
|
.article {
|
|
2430
2474
|
display: flex;
|
|
2431
2475
|
flex-flow: row wrap;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from '@storybook/react';
|
|
2
|
+
import { TopBarMobile } from '../TopBarMobile';
|
|
3
|
+
declare const meta: Meta<typeof TopBarMobile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof TopBarMobile>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Big: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TopBarMobile } from './TopBarMobile';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useIntersectionObserver } from './useIntersectionObserver';
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
-
export declare function useIntersectionObserver(options
|
|
2
|
+
export declare function useIntersectionObserver({ options, defaultIntersecting }: {
|
|
3
|
+
options?: {} | undefined;
|
|
4
|
+
defaultIntersecting?: boolean | undefined;
|
|
5
|
+
}): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
|
package/dist/esm/src/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1, { FC, Component, ReactNode, MouseEventHandler } from 'react';
|
|
2
|
+
import React$1, { FC, Component, ReactNode, MouseEventHandler, RefObject } from 'react';
|
|
3
3
|
import { IGatsbyImageData } from 'gatsby-plugin-image';
|
|
4
4
|
|
|
5
5
|
interface AddButtonProps {
|
|
@@ -388,6 +388,12 @@ interface BottomOverlayMenuProps {
|
|
|
388
388
|
|
|
389
389
|
declare const BottomOverlayMenu: FC<BottomOverlayMenuProps>;
|
|
390
390
|
|
|
391
|
+
interface TopBarMobileProps {
|
|
392
|
+
children: React$1.ReactNode;
|
|
393
|
+
isVisible: boolean;
|
|
394
|
+
}
|
|
395
|
+
declare const TopBarMobile: React$1.FC<TopBarMobileProps>;
|
|
396
|
+
|
|
391
397
|
interface ArticleProps {
|
|
392
398
|
imageUrl: string;
|
|
393
399
|
title: string;
|
|
@@ -708,4 +714,9 @@ interface AsSeeInSectionProps {
|
|
|
708
714
|
|
|
709
715
|
declare const AsSeeInSection: FC<AsSeeInSectionProps>;
|
|
710
716
|
|
|
711
|
-
|
|
717
|
+
declare function useIntersectionObserver({ options, defaultIntersecting }: {
|
|
718
|
+
options?: {} | undefined;
|
|
719
|
+
defaultIntersecting?: boolean | undefined;
|
|
720
|
+
}): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
|
|
721
|
+
|
|
722
|
+
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, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, ImageStructure, 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, TopBarMobile, TopBarProps, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, useIntersectionObserver };
|