@npm_leadtech/legal-lib-components 5.31.7 → 5.31.9
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/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +5 -1
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.ts +5 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.js +0 -1
- package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx +0 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const CardFunctionalityStyled = styled.article `
|
|
3
4
|
border-radius: var(--global-border-radius);
|
|
@@ -6,7 +7,10 @@ export const CardFunctionalityStyled = styled.article `
|
|
|
6
7
|
flex-direction: column;
|
|
7
8
|
gap: var(--global-gap);
|
|
8
9
|
padding: 1em;
|
|
9
|
-
width:
|
|
10
|
+
width: 100%;
|
|
11
|
+
@media ${device.laptop} {
|
|
12
|
+
width: 50%;
|
|
13
|
+
}
|
|
10
14
|
|
|
11
15
|
.content-tags {
|
|
12
16
|
display: flex;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const CardFunctionalityStyled = styled.article`
|
|
@@ -7,7 +8,10 @@ export const CardFunctionalityStyled = styled.article`
|
|
|
7
8
|
flex-direction: column;
|
|
8
9
|
gap: var(--global-gap);
|
|
9
10
|
padding: 1em;
|
|
10
|
-
width:
|
|
11
|
+
width: 100%;
|
|
12
|
+
@media ${device.laptop} {
|
|
13
|
+
width: 50%;
|
|
14
|
+
}
|
|
11
15
|
|
|
12
16
|
.content-tags {
|
|
13
17
|
display: flex;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CardFunctionality } from '../../organisms';
|
|
3
3
|
import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled';
|
|
4
|
-
// import './FunctionalityCardsSection.scss'
|
|
5
4
|
export const FunctionalityCardsSection = ({ cards = [] }) => {
|
|
6
5
|
if (cards.length === 0)
|
|
7
6
|
return null;
|
package/dist/src/components/sections/FunctionalityCardsSection/FunctionalityCardsSection.tsx
CHANGED
|
@@ -3,7 +3,6 @@ import React from 'react'
|
|
|
3
3
|
import { CardFunctionality } from '../../organisms'
|
|
4
4
|
import { type FunctionalityCardsSectionProps } from './FunctionalityCardsSectionProps'
|
|
5
5
|
import { FunctionalityCardsSectionStyled } from './FunctionalityCardsSection.styled'
|
|
6
|
-
// import './FunctionalityCardsSection.scss'
|
|
7
6
|
|
|
8
7
|
export const FunctionalityCardsSection: React.FC<FunctionalityCardsSectionProps> = ({ cards = [] }) => {
|
|
9
8
|
if (cards.length === 0) return null
|