@npm_leadtech/legal-lib-components 7.56.1 → 7.58.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.
@@ -835,7 +835,7 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
835
835
  border: 2px solid var(--button);
836
836
  color: var(--others-white);
837
837
  font-weight: bold;
838
- height: 100%;
838
+ max-height: 100%;
839
839
  }
840
840
  .e-button.--primary-1:hover {
841
841
  background-color: var(--button-hover);
@@ -1853,7 +1853,7 @@ h2.react-datepicker__current-month {
1853
1853
  display: flex;
1854
1854
  height: 42px;
1855
1855
  justify-content: center;
1856
- width: 80px;
1856
+ min-width: 80px;
1857
1857
  }
1858
1858
  .e-radio.tabs .e-radio__inner .radio-item-container:hover {
1859
1859
  background: var(--neutral-neutral-4);
@@ -73,7 +73,7 @@ html[data-theme='lawdistrict'] {
73
73
  border: 2px solid var(--button);
74
74
  color: get-color(others, white);
75
75
  font-weight: bold;
76
- height: 100%;
76
+ max-height: 100%;
77
77
 
78
78
  &:hover {
79
79
  background-color: var(--button-hover);
@@ -41,7 +41,7 @@
41
41
  display: flex;
42
42
  height: 42px;
43
43
  justify-content: center;
44
- width: 80px;
44
+ min-width: 80px;
45
45
 
46
46
  &:hover {
47
47
  background: var(--neutral-neutral-4);
@@ -1,8 +1,8 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { ContactBarWrapperStyled, ContactBarWrapperText, ScheduleWrapper } from './InfoBarFooter.styled';
3
3
  import { IconWeb } from '../../../../images/componentsSvg/IconWeb';
4
4
  import { WideInfoBar } from '../../atoms/WideInfoBar';
5
5
  export const InfoBarFooter = ({ sitePhone, siteSchedule, securityText, guaranteeText, securityIconBlack, guaranteeIconGrey, isJonSnow = false, isAnonymousPayment = false }) => {
6
- return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment) && 'hidden'}`, children: [sitePhone && _jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [sitePhone && (_jsxs(_Fragment, { children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), ' - '] })), siteSchedule] }), _jsx("div", { className: 'no-mobile', children: sitePhone ? (_jsxs(_Fragment, { children: [_jsx("strong", { children: sitePhone }), " - ", siteSchedule] })) : (siteSchedule) })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
6
+ return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment) && 'hidden'}`, children: [sitePhone && _jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), sitePhone ? `${sitePhone} - ${siteSchedule}` : siteSchedule] }), _jsx("div", { className: 'no-mobile', children: sitePhone ? (_jsxs(_Fragment, { children: [_jsx("strong", { children: sitePhone }), " - ", siteSchedule] })) : (siteSchedule) })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
7
7
  };
8
8
  export default InfoBarFooter;
@@ -21,15 +21,10 @@ export const InfoBarFooter: React.FC<InfoBarFooterProps> = ({
21
21
  {sitePhone && <IconWeb />}
22
22
  <ScheduleWrapper>
23
23
  <div className='is-mobile'>
24
- {sitePhone && (
25
- <>
26
- <a className='phone' href={`tel:${sitePhone}`}>
27
- <strong>{sitePhone}</strong>
28
- </a>
29
- {' - '}
30
- </>
31
- )}
32
- {siteSchedule}
24
+ <a className='phone' href={`tel:${sitePhone}`}>
25
+ <strong>{sitePhone}</strong>
26
+ </a>
27
+ {sitePhone ? `${sitePhone} - ${siteSchedule}` : siteSchedule}
33
28
  </div>
34
29
  <div className='no-mobile'>
35
30
  {sitePhone ? (
@@ -8,6 +8,8 @@ export const CardFunctionalityStyled = styled.article `
8
8
  gap: var(--global-gap);
9
9
  padding: 1em;
10
10
  width: 100%;
11
+ justify-content: space-between;
12
+
11
13
  @media ${device.laptop} {
12
14
  width: 50%;
13
15
  }
@@ -53,7 +55,7 @@ export const CardFunctionalityStyled = styled.article `
53
55
 
54
56
  .tags {
55
57
  display: flex;
56
- gap: 2rem;
58
+ gap: 0.5rem;
57
59
  flex-wrap: wrap;
58
60
  }
59
61
  }
@@ -9,6 +9,8 @@ export const CardFunctionalityStyled = styled.article`
9
9
  gap: var(--global-gap);
10
10
  padding: 1em;
11
11
  width: 100%;
12
+ justify-content: space-between;
13
+
12
14
  @media ${device.laptop} {
13
15
  width: 50%;
14
16
  }
@@ -54,7 +56,7 @@ export const CardFunctionalityStyled = styled.article`
54
56
 
55
57
  .tags {
56
58
  display: flex;
57
- gap: 2rem;
59
+ gap: 0.5rem;
58
60
  flex-wrap: wrap;
59
61
  }
60
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.56.1",
3
+ "version": "7.58.0",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",