@npm_leadtech/legal-lib-components 5.12.10 → 5.12.12

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.
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button } from '../../atoms';
3
3
  import { SubtypeDocumentCardStyled } from './SubtypeDocumentCard.styled';
4
4
  const SubtypeDocumentCard = ({ title, productUrl, description, children, pdfButton, wordButton, createDocButton }) => {
5
- return (_jsxs(SubtypeDocumentCardStyled, { children: [_jsx("div", { className: 'image-container', children: children }), _jsxs("div", { className: 'content', children: [_jsx("a", { href: productUrl, children: _jsx("h1", { className: 'title', children: title }) }), _jsx("p", { className: 'description', children: description }), _jsxs("div", { className: 'buttons-container', children: [_jsx(Button, { ...createDocButton }), _jsxs("div", { className: 'downloadable-buttons', children: [_jsx(Button, { ...pdfButton }), _jsx(Button, { ...wordButton })] })] })] })] }));
5
+ return (_jsxs(SubtypeDocumentCardStyled, { className: 'subtype-document-card', children: [_jsx("div", { className: 'image-container', children: children }), _jsxs("div", { className: 'content', children: [_jsx("a", { href: productUrl, children: _jsx("h1", { className: 'title', children: title }) }), _jsx("p", { className: 'description', children: description }), _jsxs("div", { className: 'buttons-container', children: [_jsx(Button, { ...createDocButton }), _jsxs("div", { className: 'downloadable-buttons', children: [_jsx(Button, { ...pdfButton }), _jsx(Button, { ...wordButton })] })] })] })] }));
6
6
  };
7
7
  export default SubtypeDocumentCard;
@@ -14,6 +14,7 @@ export const SubtypeDocumentCardStyled = styled.div `
14
14
  opacity: 0px;
15
15
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
16
16
  background-color: var(--secondary-main-light-5);
17
+ margin-bottom: 1.5rem;
17
18
 
18
19
  .image-container {
19
20
  width: 70%;
@@ -15,6 +15,7 @@ export const SubtypeDocumentCardStyled = styled.div`
15
15
  opacity: 0px;
16
16
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
17
17
  background-color: var(--secondary-main-light-5);
18
+ margin-bottom: 1.5rem;
18
19
 
19
20
  .image-container {
20
21
  width: 70%;
@@ -15,7 +15,7 @@ const SubtypeDocumentCard: FC<SubtypeDocumentCardProps> = ({
15
15
  createDocButton
16
16
  }) => {
17
17
  return (
18
- <SubtypeDocumentCardStyled>
18
+ <SubtypeDocumentCardStyled className='subtype-document-card'>
19
19
  <div className='image-container'>{children}</div>
20
20
  <div className='content'>
21
21
  <a href={productUrl}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.12.10",
3
+ "version": "5.12.12",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",