@npm_leadtech/legal-lib-components 2.6.9 → 2.8.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.
@@ -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
- .top-bar-wrapper .top-bar-content svg {
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;
@@ -3473,9 +3517,8 @@
3473
3517
  font-size: 16px;
3474
3518
  line-height: 22px; }
3475
3519
  .guidelines-section__texts__body a {
3476
- color: #078080; }
3477
- .guidelines-section__texts__body #faqs-page {
3478
- font-weight: 400; }
3520
+ color: #078080;
3521
+ font-weight: 400 !important; }
3479
3522
 
3480
3523
  .guidelines-section__image {
3481
3524
  flex-basis: 50%;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './TopBarMobile.scss';
3
+ interface TopBarMobileProps {
4
+ children: React.ReactNode;
5
+ isVisible: boolean;
6
+ }
7
+ export declare const TopBarMobile: React.FC<TopBarMobileProps>;
8
+ export {};
@@ -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';
@@ -31,3 +31,4 @@ export * from './Toggle';
31
31
  export * from './Tooltip';
32
32
  export * from './TopBar';
33
33
  export * from './BottomOverlayMenu';
34
+ export * 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?: {}): [RefObject<HTMLDivElement>, boolean];
2
+ export declare function useIntersectionObserver({ options, defaultIntersecting }: {
3
+ options?: {} | undefined;
4
+ defaultIntersecting?: boolean | undefined;
5
+ }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
@@ -2,3 +2,4 @@ export * from './components/atoms';
2
2
  export * from './components/molecules';
3
3
  export * from './components/organisms';
4
4
  export * from './components/sections';
5
+ export * from './hooks';
@@ -1,6 +1,8 @@
1
1
  import { type FC } from 'react';
2
2
  interface PhoneIcon24pxProps {
3
3
  className?: string;
4
+ width?: string;
5
+ height?: string;
4
6
  }
5
7
  export declare const PhoneIcon24px: FC<PhoneIcon24pxProps>;
6
8
  export {};