@npm_leadtech/legal-lib-components 2.5.3 → 2.5.4

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.
@@ -3509,6 +3509,33 @@
3509
3509
  .about-us-section__sub-title {
3510
3510
  font-size: 3rem; } }
3511
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
+
3512
3539
  .guidelines-section {
3513
3540
  display: flex;
3514
3541
  flex-direction: column; }
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type GuidelinesContentProps } from './GuidelinesContentProps.types';
3
+ import './GuidelinesContent.scss';
4
+ declare const GuidelinesContent: FC<GuidelinesContentProps>;
5
+ export default GuidelinesContent;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface GuidelinesContentProps {
3
+ title: string;
4
+ image: React.ReactNode;
5
+ children: React.ReactNode;
6
+ }
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1,2 @@
1
+ export { default as GuidelinesContent } from './GuidelinesContent';
2
+ export { type GuidelinesContentProps } from './GuidelinesContentProps.types';
@@ -1,6 +1,4 @@
1
- /// <reference types="react" />
1
+ import { type GuidelinesContentProps } from '../../organisms/GuidelinesContent';
2
2
  export interface GuidelinesSectionProps {
3
- title: string;
4
- image: React.ReactNode;
5
- children?: string | React.ReactNode;
3
+ contentGuidelines: GuidelinesContentProps;
6
4
  }
package/dist/index.d.ts CHANGED
@@ -644,10 +644,14 @@ interface AboutUsSectionProps {
644
644
 
645
645
  declare const AboutUsSection: FC<AboutUsSectionProps>;
646
646
 
647
- interface GuidelinesSectionProps {
647
+ interface GuidelinesContentProps {
648
648
  title: string;
649
649
  image: React.ReactNode;
650
- children?: string | React.ReactNode;
650
+ children: React.ReactNode;
651
+ }
652
+
653
+ interface GuidelinesSectionProps {
654
+ contentGuidelines: GuidelinesContentProps;
651
655
  }
652
656
 
653
657
  declare const GuidelinesSection: FC<GuidelinesSectionProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",