@npm_leadtech/legal-lib-components 7.19.1 → 7.19.2

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.
Files changed (192) hide show
  1. package/dist/css/styles.css +15 -30
  2. package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -1
  3. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -1
  4. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.d.ts +3 -0
  5. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.js +5 -0
  6. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.d.ts +1 -0
  7. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.js +21 -0
  8. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.ts +22 -0
  9. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.tsx +14 -0
  10. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.d.ts +4 -0
  11. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.ts +4 -0
  12. package/dist/src/components/atoms/ContactInformationHeader/index.d.ts +2 -0
  13. package/dist/src/components/atoms/ContactInformationHeader/index.js +2 -0
  14. package/dist/src/components/atoms/ContactInformationHeader/index.ts +2 -0
  15. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.d.ts +3 -0
  16. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.js +5 -0
  17. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.d.ts +5 -0
  18. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.js +8 -0
  19. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.ts +13 -0
  20. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.tsx +11 -0
  21. package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.d.ts +6 -0
  22. package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.ts +6 -0
  23. package/dist/src/components/atoms/MobileTrigger/index.d.ts +2 -0
  24. package/dist/src/components/atoms/MobileTrigger/index.js +2 -0
  25. package/dist/src/components/atoms/MobileTrigger/index.ts +2 -0
  26. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.d.ts +3 -0
  27. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.js +6 -0
  28. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.d.ts +1 -0
  29. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.js +17 -0
  30. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.ts +18 -0
  31. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.tsx +15 -0
  32. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.d.ts +3 -0
  33. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.ts +3 -0
  34. package/dist/src/components/atoms/PhoneNumberDisplay/index.d.ts +2 -0
  35. package/dist/src/components/atoms/PhoneNumberDisplay/index.js +2 -0
  36. package/dist/src/components/atoms/PhoneNumberDisplay/index.ts +2 -0
  37. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  38. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  39. package/dist/src/components/atoms/index.d.ts +3 -0
  40. package/dist/src/components/atoms/index.js +3 -0
  41. package/dist/src/components/atoms/index.ts +3 -0
  42. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
  43. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
  44. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.d.ts +3 -0
  45. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.js +5 -0
  46. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.d.ts +4 -0
  47. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.js +34 -0
  48. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.ts +38 -0
  49. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.tsx +18 -0
  50. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.d.ts +9 -0
  51. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.js +1 -0
  52. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.ts +10 -0
  53. package/dist/src/components/molecules/HelpPanelList/index.d.ts +2 -0
  54. package/dist/src/components/molecules/HelpPanelList/index.js +2 -0
  55. package/dist/src/components/molecules/HelpPanelList/index.ts +2 -0
  56. package/dist/src/components/molecules/HelpSection/HelpSection.d.ts +3 -0
  57. package/dist/src/components/molecules/HelpSection/HelpSection.js +5 -0
  58. package/dist/src/components/molecules/HelpSection/HelpSection.styled.d.ts +3 -0
  59. package/dist/src/components/molecules/HelpSection/HelpSection.styled.js +64 -0
  60. package/dist/src/components/molecules/HelpSection/HelpSection.styled.ts +66 -0
  61. package/dist/src/components/molecules/HelpSection/HelpSection.tsx +18 -0
  62. package/dist/src/components/molecules/HelpSection/HelpSectionProps.d.ts +6 -0
  63. package/dist/src/components/molecules/HelpSection/HelpSectionProps.js +1 -0
  64. package/dist/src/components/molecules/HelpSection/HelpSectionProps.ts +7 -0
  65. package/dist/src/components/molecules/HelpSection/index.d.ts +2 -0
  66. package/dist/src/components/molecules/HelpSection/index.js +2 -0
  67. package/dist/src/components/molecules/HelpSection/index.ts +2 -0
  68. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -1
  69. package/dist/src/components/molecules/SocialLinks/SocialLinks.js +1 -5
  70. package/dist/src/components/molecules/SocialLinks/SocialLinks.tsx +7 -11
  71. package/dist/src/components/molecules/TextInput/TextInput.scss +15 -31
  72. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +2 -13
  73. package/dist/src/components/molecules/index.d.ts +2 -2
  74. package/dist/src/components/molecules/index.js +2 -2
  75. package/dist/src/components/molecules/index.ts +2 -2
  76. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +3 -3
  77. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +1 -0
  78. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.ts +1 -0
  79. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +6 -4
  80. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +3 -2
  81. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +4 -2
  82. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.d.ts +3 -0
  83. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.js +7 -0
  84. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.d.ts +1 -0
  85. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.js +16 -0
  86. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.ts +17 -0
  87. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.tsx +15 -0
  88. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.d.ts +7 -0
  89. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.js +1 -0
  90. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.ts +8 -0
  91. package/dist/src/components/organisms/DesktopMenu/index.d.ts +2 -0
  92. package/dist/src/components/organisms/DesktopMenu/index.js +2 -0
  93. package/dist/src/components/organisms/DesktopMenu/index.ts +2 -0
  94. package/dist/src/components/organisms/MobileMenu/MobileMenu.d.ts +3 -0
  95. package/dist/src/components/organisms/MobileMenu/MobileMenu.js +9 -0
  96. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.d.ts +7 -0
  97. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.js +23 -0
  98. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.ts +30 -0
  99. package/dist/src/components/organisms/MobileMenu/MobileMenu.tsx +54 -0
  100. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.d.ts +16 -0
  101. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.js +1 -0
  102. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.ts +18 -0
  103. package/dist/src/components/organisms/MobileMenu/index.d.ts +2 -0
  104. package/dist/src/components/organisms/MobileMenu/index.js +2 -0
  105. package/dist/src/components/organisms/MobileMenu/index.ts +2 -0
  106. package/dist/src/components/organisms/MobilePanel/MobilePanel.d.ts +3 -0
  107. package/dist/src/components/organisms/MobilePanel/MobilePanel.js +4 -0
  108. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.d.ts +8 -0
  109. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.js +27 -0
  110. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.ts +35 -0
  111. package/dist/src/components/organisms/MobilePanel/MobilePanel.tsx +13 -0
  112. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.d.ts +7 -0
  113. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.js +1 -0
  114. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.ts +7 -0
  115. package/dist/src/components/organisms/MobilePanel/index.d.ts +2 -0
  116. package/dist/src/components/organisms/MobilePanel/index.js +2 -0
  117. package/dist/src/components/organisms/MobilePanel/index.ts +2 -0
  118. package/dist/src/components/organisms/index.d.ts +3 -0
  119. package/dist/src/components/organisms/index.js +3 -0
  120. package/dist/src/components/organisms/index.ts +3 -0
  121. package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +3 -3
  122. package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +3 -3
  123. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.d.ts +2 -2
  124. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +2 -2
  125. package/dist/src/components/sections/AppHeader/AppHeader.d.ts +4 -0
  126. package/dist/src/components/sections/AppHeader/AppHeader.js +8 -0
  127. package/dist/src/components/sections/AppHeader/AppHeader.scss +32 -0
  128. package/dist/src/components/sections/AppHeader/AppHeader.styled.d.ts +2 -0
  129. package/dist/src/components/sections/AppHeader/AppHeader.styled.js +35 -0
  130. package/dist/src/components/sections/AppHeader/AppHeader.styled.ts +36 -0
  131. package/dist/src/components/sections/AppHeader/AppHeader.tsx +58 -0
  132. package/dist/src/components/sections/AppHeader/AppHeaderProps.d.ts +26 -0
  133. package/dist/src/components/sections/AppHeader/AppHeaderProps.js +1 -0
  134. package/dist/src/components/sections/AppHeader/AppHeaderProps.ts +27 -0
  135. package/dist/src/components/sections/AppHeader/index.d.ts +2 -0
  136. package/dist/src/components/sections/AppHeader/index.js +2 -0
  137. package/dist/src/components/sections/AppHeader/index.ts +2 -0
  138. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -2
  139. package/dist/src/components/sections/ContactSection/ContactSection.styled.ts +0 -2
  140. package/dist/src/components/sections/index.d.ts +1 -0
  141. package/dist/src/components/sections/index.js +1 -0
  142. package/dist/src/components/sections/index.ts +1 -0
  143. package/dist/src/hooks/useIntersectionObserver.d.ts +5 -7
  144. package/dist/src/hooks/useIntersectionObserver.js +7 -5
  145. package/dist/src/hooks/useIntersectionObserver.tsx +10 -12
  146. package/dist/tsconfig.build.tsbuildinfo +1 -1
  147. package/package.json +2 -1
  148. package/dist/images/componentsSvg/InfoLocationSvg.d.ts +0 -2
  149. package/dist/images/componentsSvg/InfoLocationSvg.js +0 -4
  150. package/dist/images/componentsSvg/InfoLocationSvg.tsx +0 -14
  151. package/dist/images/componentsSvg/InfoMailSvg.d.ts +0 -2
  152. package/dist/images/componentsSvg/InfoMailSvg.js +0 -4
  153. package/dist/images/componentsSvg/InfoMailSvg.tsx +0 -12
  154. package/dist/images/componentsSvg/InfoPhoneSvg.d.ts +0 -2
  155. package/dist/images/componentsSvg/InfoPhoneSvg.js +0 -4
  156. package/dist/images/componentsSvg/InfoPhoneSvg.tsx +0 -12
  157. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.d.ts +0 -3
  158. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.js +0 -6
  159. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.d.ts +0 -1
  160. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.js +0 -23
  161. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.ts +0 -24
  162. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.tsx +0 -15
  163. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.d.ts +0 -4
  164. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.ts +0 -4
  165. package/dist/src/components/molecules/ContactInfoBox/index.d.ts +0 -2
  166. package/dist/src/components/molecules/ContactInfoBox/index.js +0 -1
  167. package/dist/src/components/molecules/ContactInfoBox/index.ts +0 -2
  168. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.d.ts +0 -3
  169. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.js +0 -6
  170. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.d.ts +0 -1
  171. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.js +0 -23
  172. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.ts +0 -24
  173. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.tsx +0 -15
  174. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.d.ts +0 -4
  175. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.ts +0 -4
  176. package/dist/src/components/molecules/ContactInfoBoxMobile/index.d.ts +0 -2
  177. package/dist/src/components/molecules/ContactInfoBoxMobile/index.js +0 -1
  178. package/dist/src/components/molecules/ContactInfoBoxMobile/index.ts +0 -2
  179. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.d.ts +0 -3
  180. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.js +0 -19
  181. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.d.ts +0 -1
  182. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.js +0 -77
  183. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.ts +0 -78
  184. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.tsx +0 -58
  185. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.d.ts +0 -7
  186. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.ts +0 -8
  187. package/dist/src/components/molecules/ContactInfoCard/index.d.ts +0 -2
  188. package/dist/src/components/molecules/ContactInfoCard/index.js +0 -2
  189. package/dist/src/components/molecules/ContactInfoCard/index.ts +0 -2
  190. /package/dist/src/components/{molecules/ContactInfoBox/ContactInfoBoxProps.types.js → atoms/ContactInformationHeader/ContactInformationHeaderProps.js} +0 -0
  191. /package/dist/src/components/{molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.js → atoms/MobileTrigger/MobileTriggerProps.js} +0 -0
  192. /package/dist/src/components/{molecules/ContactInfoCard/ContactInfoCardProps.js → atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.js} +0 -0
@@ -2070,9 +2070,6 @@ h2.react-datepicker__current-month {
2070
2070
  color: var(--neutral-neutral-1);
2071
2071
  font-weight: bold;
2072
2072
  }
2073
- .e-text .e-text__inner {
2074
- grid-row: 1;
2075
- }
2076
2073
  .e-text .form-group__label-icon {
2077
2074
  color: var(--neutral-neutral-1);
2078
2075
  font-weight: bold;
@@ -2157,8 +2154,6 @@ h2.react-datepicker__current-month {
2157
2154
  }
2158
2155
  .e-text--has-prefix {
2159
2156
  width: 100%;
2160
- display: grid;
2161
- grid-template-columns: 1fr;
2162
2157
  }
2163
2158
  @media (min-width: 575px) {
2164
2159
  .e-text--has-prefix {
@@ -2167,21 +2162,12 @@ h2.react-datepicker__current-month {
2167
2162
  }
2168
2163
  .e-text--has-prefix .has-currency-prefix {
2169
2164
  padding-left: 2rem;
2170
- grid-column: 1;
2171
- grid-row: 2;
2172
- align-self: center;
2173
2165
  }
2174
2166
  .e-text--has-prefix .has-currency-suffix {
2175
2167
  padding-right: 2rem;
2176
- grid-column: 1;
2177
- grid-row: 2;
2178
- align-self: center;
2179
2168
  }
2180
2169
  .e-text--has-prefix .has-percent-suffix {
2181
2170
  padding-left: 0.75rem;
2182
- grid-column: 1;
2183
- grid-row: 2;
2184
- align-self: center;
2185
2171
  }
2186
2172
  .e-text .input-icon {
2187
2173
  position: absolute;
@@ -2198,26 +2184,25 @@ h2.react-datepicker__current-month {
2198
2184
  border: none;
2199
2185
  }
2200
2186
  .e-text .input-icon-currency-suffix {
2201
- grid-column: 1;
2202
- grid-row: 2;
2203
- align-self: center;
2204
- margin-left: calc(100% - 30px);
2205
- width: fit-content;
2187
+ position: absolute;
2188
+ right: 10px;
2189
+ bottom: 10px;
2190
+ background: none;
2191
+ border: none;
2206
2192
  }
2207
2193
  .e-text .input-icon-currency-prefix {
2208
- grid-column: 1;
2209
- grid-row: 2;
2210
- align-self: center;
2211
- z-index: 1;
2212
- padding-left: 0.87rem;
2213
- width: fit-content;
2194
+ position: absolute;
2195
+ left: 10px;
2196
+ bottom: 10px;
2197
+ background: none;
2198
+ border: none;
2214
2199
  }
2215
2200
  .e-text .input-icon-percent-suffix {
2216
- grid-column: 1;
2217
- grid-row: 2;
2218
- align-self: center;
2219
- margin-left: calc(100% - 30px);
2220
- width: fit-content;
2201
+ position: absolute;
2202
+ right: 10px;
2203
+ bottom: 10px;
2204
+ background: none;
2205
+ border: none;
2221
2206
  }
2222
2207
  .e-text .formgroup--input__button {
2223
2208
  align-self: flex-start;
@@ -80,7 +80,7 @@ export const CardPaneStyled = styled.div `
80
80
  }
81
81
  &.pane--title--button {
82
82
  cursor: pointer;
83
- color: --neutral-neutral-2;
83
+ color: var(--primary-main);
84
84
  }
85
85
  }
86
86
  &--description {
@@ -81,7 +81,7 @@ export const CardPaneStyled = styled.div`
81
81
  }
82
82
  &.pane--title--button {
83
83
  cursor: pointer;
84
- color: --neutral-neutral-2;
84
+ color: var(--primary-main);
85
85
  }
86
86
  }
87
87
  &--description {
@@ -0,0 +1,3 @@
1
+ import { ContactInformationProps } from './ContactInformationHeaderProps';
2
+ import React from 'react';
3
+ export declare const ContactInformation: React.FC<ContactInformationProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ContactInformationStyled } from './ContactInformationHeader.styled';
3
+ export const ContactInformation = ({ phoneNumber, scheduleText }) => {
4
+ return (_jsxs(ContactInformationStyled, { children: [_jsx("a", { href: `tel:${phoneNumber}`, title: 'Call us', children: _jsx("strong", { children: phoneNumber }) }), _jsx("p", { children: scheduleText })] }));
5
+ };
@@ -0,0 +1 @@
1
+ export declare const ContactInformationStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,21 @@
1
+ import styled from 'styled-components';
2
+ export const ContactInformationStyled = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ padding: 1.5rem 0;
8
+ border-top: 1px solid var(--neutral-neutral-4);
9
+ a {
10
+ background-color: var(--button);
11
+ border: 2px solid var(--button);
12
+ color: var(--others-white);
13
+ font-weight: bold;
14
+ height: 100%;
15
+ border-radius: var(--s-border-radius);
16
+ padding: 0.5rem 1rem;
17
+ display: block;
18
+ text-align: center;
19
+ width: 80%;
20
+ }
21
+ `;
@@ -0,0 +1,22 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const ContactInformationStyled = styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ align-items: center;
7
+ justify-content: center;
8
+ padding: 1.5rem 0;
9
+ border-top: 1px solid var(--neutral-neutral-4);
10
+ a {
11
+ background-color: var(--button);
12
+ border: 2px solid var(--button);
13
+ color: var(--others-white);
14
+ font-weight: bold;
15
+ height: 100%;
16
+ border-radius: var(--s-border-radius);
17
+ padding: 0.5rem 1rem;
18
+ display: block;
19
+ text-align: center;
20
+ width: 80%;
21
+ }
22
+ `
@@ -0,0 +1,14 @@
1
+ import { ContactInformationProps } from './ContactInformationHeaderProps'
2
+ import { ContactInformationStyled } from './ContactInformationHeader.styled'
3
+ import React from 'react'
4
+
5
+ export const ContactInformation: React.FC<ContactInformationProps> = ({ phoneNumber, scheduleText }) => {
6
+ return (
7
+ <ContactInformationStyled>
8
+ <a href={`tel:${phoneNumber}`} title='Call us'>
9
+ <strong>{phoneNumber}</strong>
10
+ </a>
11
+ <p>{scheduleText}</p>
12
+ </ContactInformationStyled>
13
+ )
14
+ }
@@ -0,0 +1,4 @@
1
+ export interface ContactInformationProps {
2
+ phoneNumber?: string;
3
+ scheduleText?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface ContactInformationProps {
2
+ phoneNumber?: string
3
+ scheduleText?: string
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './ContactInformationHeader';
2
+ export * from './ContactInformationHeaderProps';
@@ -0,0 +1,2 @@
1
+ export * from './ContactInformationHeader';
2
+ export * from './ContactInformationHeaderProps';
@@ -0,0 +1,2 @@
1
+ export * from './ContactInformationHeader'
2
+ export * from './ContactInformationHeaderProps'
@@ -0,0 +1,3 @@
1
+ import { MobileTriggerProps } from './MobileTriggerProps';
2
+ import React from 'react';
3
+ export declare const MobileTrigger: React.FC<MobileTriggerProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { MobileTriggerStyled } from './MobileTrigger.styled';
3
+ export const MobileTrigger = ({ onClick, isActive, imageUrl, altText }) => {
4
+ return (_jsx(MobileTriggerStyled, { onClick: onClick, isActive: isActive, children: _jsx("img", { src: imageUrl, alt: altText }) }));
5
+ };
@@ -0,0 +1,5 @@
1
+ type MobileMenuTriggerProps = {
2
+ isActive: boolean;
3
+ };
4
+ export declare const MobileTriggerStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, MobileMenuTriggerProps>> & string;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ import styled from 'styled-components';
2
+ export const MobileTriggerStyled = styled.div `
3
+ border: 1px solid var(--neutral-neutral-3);
4
+ border-radius: 4px;
5
+ padding: 4px 8px;
6
+ cursor: pointer;
7
+ background-color: ${(props) => (props.isActive ? 'var(--primary-main)' : 'var(--others-white)')};
8
+ `;
@@ -0,0 +1,13 @@
1
+ import styled from 'styled-components'
2
+
3
+ type MobileMenuTriggerProps = {
4
+ isActive: boolean
5
+ }
6
+
7
+ export const MobileTriggerStyled = styled.div<MobileMenuTriggerProps>`
8
+ border: 1px solid var(--neutral-neutral-3);
9
+ border-radius: 4px;
10
+ padding: 4px 8px;
11
+ cursor: pointer;
12
+ background-color: ${(props) => (props.isActive ? 'var(--primary-main)' : 'var(--others-white)')};
13
+ `
@@ -0,0 +1,11 @@
1
+ import { MobileTriggerProps } from './MobileTriggerProps'
2
+ import { MobileTriggerStyled } from './MobileTrigger.styled'
3
+ import React from 'react'
4
+
5
+ export const MobileTrigger: React.FC<MobileTriggerProps> = ({ onClick, isActive, imageUrl, altText }) => {
6
+ return (
7
+ <MobileTriggerStyled onClick={onClick} isActive={isActive}>
8
+ <img src={imageUrl} alt={altText} />
9
+ </MobileTriggerStyled>
10
+ )
11
+ }
@@ -0,0 +1,6 @@
1
+ export interface MobileTriggerProps {
2
+ onClick: () => void;
3
+ isActive: boolean;
4
+ imageUrl: string;
5
+ altText: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export interface MobileTriggerProps {
2
+ onClick: () => void
3
+ isActive: boolean
4
+ imageUrl: string
5
+ altText: string
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from './MobileTrigger';
2
+ export * from './MobileTriggerProps';
@@ -0,0 +1,2 @@
1
+ export * from './MobileTrigger';
2
+ export * from './MobileTriggerProps';
@@ -0,0 +1,2 @@
1
+ export * from './MobileTrigger'
2
+ export * from './MobileTriggerProps'
@@ -0,0 +1,3 @@
1
+ import { PhoneNumberDisplayProps } from './PhoneNumberDisplayProps';
2
+ import React from 'react';
3
+ export declare const PhoneNumberDisplay: React.FC<PhoneNumberDisplayProps>;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { PhoneIcon } from './../../../../images/componentsSvg/PhoneIcon';
3
+ import { PhoneNumberDisplayStyled } from './PhoneNumberDisplay.styled';
4
+ export const PhoneNumberDisplay = ({ phoneNumber }) => {
5
+ return (_jsxs(PhoneNumberDisplayStyled, { children: [_jsx(PhoneIcon, { width: 16, height: 16, fill: '#6d7275' }), _jsx("p", { children: _jsx("strong", { children: phoneNumber }) })] }));
6
+ };
@@ -0,0 +1 @@
1
+ export declare const PhoneNumberDisplayStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,17 @@
1
+ import styled from 'styled-components';
2
+ export const PhoneNumberDisplayStyled = styled.nav `
3
+ display: flex;
4
+ align-items: center;
5
+ gap: 0.5rem;
6
+ color: var(--neutral-neutral-2);
7
+ p {
8
+ margin: 0;
9
+ }
10
+ border-right: 1px solid var(--neutral-neutral-3);
11
+ padding-right: 2rem;
12
+
13
+ @media (min-width: 721px) and (max-width: 849px) {
14
+ padding-right: 0;
15
+ border-right: none;
16
+ }
17
+ `;
@@ -0,0 +1,18 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const PhoneNumberDisplayStyled = styled.nav`
4
+ display: flex;
5
+ align-items: center;
6
+ gap: 0.5rem;
7
+ color: var(--neutral-neutral-2);
8
+ p {
9
+ margin: 0;
10
+ }
11
+ border-right: 1px solid var(--neutral-neutral-3);
12
+ padding-right: 2rem;
13
+
14
+ @media (min-width: 721px) and (max-width: 849px) {
15
+ padding-right: 0;
16
+ border-right: none;
17
+ }
18
+ `
@@ -0,0 +1,15 @@
1
+ import { PhoneIcon } from './../../../../images/componentsSvg/PhoneIcon'
2
+ import { PhoneNumberDisplayProps } from './PhoneNumberDisplayProps'
3
+ import { PhoneNumberDisplayStyled } from './PhoneNumberDisplay.styled'
4
+ import React from 'react'
5
+
6
+ export const PhoneNumberDisplay: React.FC<PhoneNumberDisplayProps> = ({ phoneNumber }) => {
7
+ return (
8
+ <PhoneNumberDisplayStyled>
9
+ <PhoneIcon width={16} height={16} fill='#6d7275' />
10
+ <p>
11
+ <strong>{phoneNumber}</strong>
12
+ </p>
13
+ </PhoneNumberDisplayStyled>
14
+ )
15
+ }
@@ -0,0 +1,3 @@
1
+ export interface PhoneNumberDisplayProps {
2
+ phoneNumber?: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface PhoneNumberDisplayProps {
2
+ phoneNumber?: string
3
+ }
@@ -0,0 +1,2 @@
1
+ export * from './PhoneNumberDisplay';
2
+ export * from './PhoneNumberDisplayProps';
@@ -0,0 +1,2 @@
1
+ export * from './PhoneNumberDisplay';
2
+ export * from './PhoneNumberDisplayProps';
@@ -0,0 +1,2 @@
1
+ export * from './PhoneNumberDisplay'
2
+ export * from './PhoneNumberDisplayProps'
@@ -152,7 +152,7 @@ export const SearchSelectStyled = styled.div `
152
152
  display: flex;
153
153
  align-content: center;
154
154
  position: absolute;
155
- bottom: -12px;
155
+ bottom: 0;
156
156
  margin-top: 0.5rem;
157
157
  color: var(--error-main);
158
158
 
@@ -153,7 +153,7 @@ export const SearchSelectStyled = styled.div`
153
153
  display: flex;
154
154
  align-content: center;
155
155
  position: absolute;
156
- bottom: -12px;
156
+ bottom: 0;
157
157
  margin-top: 0.5rem;
158
158
  color: var(--error-main);
159
159
 
@@ -66,3 +66,6 @@ export * from './TrustPilot';
66
66
  export * from './Video';
67
67
  export * from './WhyLawDistrictItems';
68
68
  export * from './WideInfoBar';
69
+ export * from './MobileTrigger';
70
+ export * from './PhoneNumberDisplay';
71
+ export * from './ContactInformationHeader';
@@ -66,3 +66,6 @@ export * from './TrustPilot';
66
66
  export * from './Video';
67
67
  export * from './WhyLawDistrictItems';
68
68
  export * from './WideInfoBar';
69
+ export * from './MobileTrigger';
70
+ export * from './PhoneNumberDisplay';
71
+ export * from './ContactInformationHeader';
@@ -66,3 +66,6 @@ export * from './TrustPilot'
66
66
  export * from './Video'
67
67
  export * from './WhyLawDistrictItems'
68
68
  export * from './WideInfoBar'
69
+ export * from './MobileTrigger'
70
+ export * from './PhoneNumberDisplay'
71
+ export * from './ContactInformationHeader'
@@ -13,7 +13,7 @@ export const ContactInformation = styled.div `
13
13
  margin-bottom: 1rem;
14
14
  width: 100%;
15
15
 
16
- @media (min-width: 768px) {
16
+ @media (min-width: 828px) {
17
17
  display: none;
18
18
  }
19
19
  }
@@ -14,7 +14,7 @@ export const ContactInformation = styled.div`
14
14
  margin-bottom: 1rem;
15
15
  width: 100%;
16
16
 
17
- @media (min-width: 768px) {
17
+ @media (min-width: 828px) {
18
18
  display: none;
19
19
  }
20
20
  }
@@ -0,0 +1,3 @@
1
+ import { HelpPanelListProps } from './HelpPanelListProps';
2
+ import React from 'react';
3
+ export declare const HelpPanelList: React.FC<HelpPanelListProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { HelpPanelLink, HelpPanelListStyled, HelpPanelListTitle, HelpPanelListWrapper } from './HelpPanelList.styled';
3
+ export const HelpPanelList = ({ title, items, homeUrl = '/' }) => {
4
+ return (_jsxs(HelpPanelListWrapper, { children: [_jsx(HelpPanelListTitle, { children: title }), _jsx(HelpPanelListStyled, { children: items.map((item) => (_jsx(HelpPanelLink, { title: item.title, children: _jsx("a", { href: `${homeUrl}${item.url}`, children: item.title }) }, item.title))) })] }));
5
+ };
@@ -0,0 +1,4 @@
1
+ export declare const HelpPanelListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
2
+ export declare const HelpPanelListWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const HelpPanelListTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
4
+ export declare const HelpPanelLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
@@ -0,0 +1,34 @@
1
+ import styled from 'styled-components';
2
+ export const HelpPanelListStyled = styled.ul `
3
+ display: flex;
4
+ flex-direction: column;
5
+ `;
6
+ export const HelpPanelListWrapper = styled.div `
7
+ padding: 1.5rem 0;
8
+ border-top: 1px solid var(--neutral-neutral-4);
9
+ `;
10
+ export const HelpPanelListTitle = styled.p `
11
+ font-weight: 600;
12
+ margin-bottom: 1rem;
13
+ padding-left: 0.25rem;
14
+ `;
15
+ export const HelpPanelLink = styled.li `
16
+ width: 100%;
17
+ margin-bottom: 0.5rem;
18
+ border-radius: 4px;
19
+ list-style: none;
20
+
21
+ &:hover {
22
+ background-color: var(--primary-main-light-5);
23
+ }
24
+
25
+ a {
26
+ display: block;
27
+ padding: 0.25rem;
28
+
29
+ background-color: transparent;
30
+
31
+ text-decoration: none;
32
+ color: inherit;
33
+ }
34
+ `;
@@ -0,0 +1,38 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const HelpPanelListStyled = styled.ul`
4
+ display: flex;
5
+ flex-direction: column;
6
+ `
7
+
8
+ export const HelpPanelListWrapper = styled.div`
9
+ padding: 1.5rem 0;
10
+ border-top: 1px solid var(--neutral-neutral-4);
11
+ `
12
+
13
+ export const HelpPanelListTitle = styled.p`
14
+ font-weight: 600;
15
+ margin-bottom: 1rem;
16
+ padding-left: 0.25rem;
17
+ `
18
+
19
+ export const HelpPanelLink = styled.li`
20
+ width: 100%;
21
+ margin-bottom: 0.5rem;
22
+ border-radius: 4px;
23
+ list-style: none;
24
+
25
+ &:hover {
26
+ background-color: var(--primary-main-light-5);
27
+ }
28
+
29
+ a {
30
+ display: block;
31
+ padding: 0.25rem;
32
+
33
+ background-color: transparent;
34
+
35
+ text-decoration: none;
36
+ color: inherit;
37
+ }
38
+ `
@@ -0,0 +1,18 @@
1
+ import { HelpPanelLink, HelpPanelListStyled, HelpPanelListTitle, HelpPanelListWrapper } from './HelpPanelList.styled'
2
+ import { HelpPanelListProps } from './HelpPanelListProps'
3
+ import React from 'react'
4
+
5
+ export const HelpPanelList: React.FC<HelpPanelListProps> = ({ title, items, homeUrl = '/' }) => {
6
+ return (
7
+ <HelpPanelListWrapper>
8
+ <HelpPanelListTitle>{title}</HelpPanelListTitle>
9
+ <HelpPanelListStyled>
10
+ {items.map((item) => (
11
+ <HelpPanelLink key={item.title} title={item.title}>
12
+ <a href={`${homeUrl}${item.url}`}>{item.title}</a>
13
+ </HelpPanelLink>
14
+ ))}
15
+ </HelpPanelListStyled>
16
+ </HelpPanelListWrapper>
17
+ )
18
+ }
@@ -0,0 +1,9 @@
1
+ export interface MenuItem {
2
+ title: string;
3
+ url: string;
4
+ }
5
+ export interface HelpPanelListProps {
6
+ title: string;
7
+ items: MenuItem[];
8
+ homeUrl?: string;
9
+ }
@@ -0,0 +1,10 @@
1
+ export interface MenuItem {
2
+ title: string
3
+ url: string
4
+ }
5
+
6
+ export interface HelpPanelListProps {
7
+ title: string
8
+ items: MenuItem[]
9
+ homeUrl?: string
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './HelpPanelList';
2
+ export * from './HelpPanelListProps';
@@ -0,0 +1,2 @@
1
+ export * from './HelpPanelList';
2
+ export * from './HelpPanelListProps';
@@ -0,0 +1,2 @@
1
+ export * from './HelpPanelList'
2
+ export * from './HelpPanelListProps'
@@ -0,0 +1,3 @@
1
+ import { HelpSectionProps } from './HelpSectionProps';
2
+ import React from 'react';
3
+ export declare const HelpSection: React.FC<HelpSectionProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { HelpSectionLink, HelpSectionList, HelpSectionStyled } from './HelpSection.styled';
3
+ export const HelpSection = ({ title, items, homeUrl = '/' }) => {
4
+ return (_jsxs(HelpSectionStyled, { children: [_jsx("p", { children: title }), _jsx(HelpSectionList, { children: items.map((item) => (_jsx(HelpSectionLink, { title: item.title, children: _jsx("a", { href: `${homeUrl}${item.url}`, children: item.title }) }, item.title))) })] }));
5
+ };
@@ -0,0 +1,3 @@
1
+ export declare const HelpSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const HelpSectionList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
3
+ export declare const HelpSectionLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;