@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.
- package/dist/css/styles.css +15 -30
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -1
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -1
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.d.ts +3 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.js +5 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.d.ts +1 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.js +21 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.ts +22 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.tsx +14 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.d.ts +4 -0
- package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.ts +4 -0
- package/dist/src/components/atoms/ContactInformationHeader/index.d.ts +2 -0
- package/dist/src/components/atoms/ContactInformationHeader/index.js +2 -0
- package/dist/src/components/atoms/ContactInformationHeader/index.ts +2 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.d.ts +3 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.js +5 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.d.ts +5 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.js +8 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.ts +13 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTrigger.tsx +11 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.d.ts +6 -0
- package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.ts +6 -0
- package/dist/src/components/atoms/MobileTrigger/index.d.ts +2 -0
- package/dist/src/components/atoms/MobileTrigger/index.js +2 -0
- package/dist/src/components/atoms/MobileTrigger/index.ts +2 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.d.ts +3 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.js +6 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.d.ts +1 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.js +17 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.ts +18 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.tsx +15 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.d.ts +3 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.ts +3 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/index.d.ts +2 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/index.js +2 -0
- package/dist/src/components/atoms/PhoneNumberDisplay/index.ts +2 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
- package/dist/src/components/atoms/index.d.ts +3 -0
- package/dist/src/components/atoms/index.js +3 -0
- package/dist/src/components/atoms/index.ts +3 -0
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.d.ts +3 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.js +5 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.d.ts +4 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.js +34 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.ts +38 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelList.tsx +18 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.d.ts +9 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.js +1 -0
- package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.ts +10 -0
- package/dist/src/components/molecules/HelpPanelList/index.d.ts +2 -0
- package/dist/src/components/molecules/HelpPanelList/index.js +2 -0
- package/dist/src/components/molecules/HelpPanelList/index.ts +2 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.d.ts +3 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.js +5 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.styled.d.ts +3 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.styled.js +64 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.styled.ts +66 -0
- package/dist/src/components/molecules/HelpSection/HelpSection.tsx +18 -0
- package/dist/src/components/molecules/HelpSection/HelpSectionProps.d.ts +6 -0
- package/dist/src/components/molecules/HelpSection/HelpSectionProps.js +1 -0
- package/dist/src/components/molecules/HelpSection/HelpSectionProps.ts +7 -0
- package/dist/src/components/molecules/HelpSection/index.d.ts +2 -0
- package/dist/src/components/molecules/HelpSection/index.js +2 -0
- package/dist/src/components/molecules/HelpSection/index.ts +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -1
- package/dist/src/components/molecules/SocialLinks/SocialLinks.js +1 -5
- package/dist/src/components/molecules/SocialLinks/SocialLinks.tsx +7 -11
- package/dist/src/components/molecules/TextInput/TextInput.scss +15 -31
- package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +2 -13
- package/dist/src/components/molecules/index.d.ts +2 -2
- package/dist/src/components/molecules/index.js +2 -2
- package/dist/src/components/molecules/index.ts +2 -2
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +3 -3
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +1 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.ts +1 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +6 -4
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +3 -2
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +4 -2
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.d.ts +3 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.js +7 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.d.ts +1 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.js +16 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.ts +17 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenu.tsx +15 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.d.ts +7 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.js +1 -0
- package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.ts +8 -0
- package/dist/src/components/organisms/DesktopMenu/index.d.ts +2 -0
- package/dist/src/components/organisms/DesktopMenu/index.js +2 -0
- package/dist/src/components/organisms/DesktopMenu/index.ts +2 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.d.ts +3 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.js +9 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.d.ts +7 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.js +23 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.ts +30 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenu.tsx +54 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenuProps.d.ts +16 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenuProps.js +1 -0
- package/dist/src/components/organisms/MobileMenu/MobileMenuProps.ts +18 -0
- package/dist/src/components/organisms/MobileMenu/index.d.ts +2 -0
- package/dist/src/components/organisms/MobileMenu/index.js +2 -0
- package/dist/src/components/organisms/MobileMenu/index.ts +2 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.d.ts +3 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.js +4 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.d.ts +8 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.js +27 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.ts +35 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanel.tsx +13 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanelProps.d.ts +7 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanelProps.js +1 -0
- package/dist/src/components/organisms/MobilePanel/MobilePanelProps.ts +7 -0
- package/dist/src/components/organisms/MobilePanel/index.d.ts +2 -0
- package/dist/src/components/organisms/MobilePanel/index.js +2 -0
- package/dist/src/components/organisms/MobilePanel/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +3 -0
- package/dist/src/components/organisms/index.js +3 -0
- package/dist/src/components/organisms/index.ts +3 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +3 -3
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +3 -3
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.d.ts +2 -2
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +2 -2
- package/dist/src/components/sections/AppHeader/AppHeader.d.ts +4 -0
- package/dist/src/components/sections/AppHeader/AppHeader.js +8 -0
- package/dist/src/components/sections/AppHeader/AppHeader.scss +32 -0
- package/dist/src/components/sections/AppHeader/AppHeader.styled.d.ts +2 -0
- package/dist/src/components/sections/AppHeader/AppHeader.styled.js +35 -0
- package/dist/src/components/sections/AppHeader/AppHeader.styled.ts +36 -0
- package/dist/src/components/sections/AppHeader/AppHeader.tsx +58 -0
- package/dist/src/components/sections/AppHeader/AppHeaderProps.d.ts +26 -0
- package/dist/src/components/sections/AppHeader/AppHeaderProps.js +1 -0
- package/dist/src/components/sections/AppHeader/AppHeaderProps.ts +27 -0
- package/dist/src/components/sections/AppHeader/index.d.ts +2 -0
- package/dist/src/components/sections/AppHeader/index.js +2 -0
- package/dist/src/components/sections/AppHeader/index.ts +2 -0
- package/dist/src/components/sections/ContactSection/ContactSection.styled.js +0 -2
- package/dist/src/components/sections/ContactSection/ContactSection.styled.ts +0 -2
- package/dist/src/components/sections/index.d.ts +1 -0
- package/dist/src/components/sections/index.js +1 -0
- package/dist/src/components/sections/index.ts +1 -0
- package/dist/src/hooks/useIntersectionObserver.d.ts +5 -7
- package/dist/src/hooks/useIntersectionObserver.js +7 -5
- package/dist/src/hooks/useIntersectionObserver.tsx +10 -12
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/dist/images/componentsSvg/InfoLocationSvg.d.ts +0 -2
- package/dist/images/componentsSvg/InfoLocationSvg.js +0 -4
- package/dist/images/componentsSvg/InfoLocationSvg.tsx +0 -14
- package/dist/images/componentsSvg/InfoMailSvg.d.ts +0 -2
- package/dist/images/componentsSvg/InfoMailSvg.js +0 -4
- package/dist/images/componentsSvg/InfoMailSvg.tsx +0 -12
- package/dist/images/componentsSvg/InfoPhoneSvg.d.ts +0 -2
- package/dist/images/componentsSvg/InfoPhoneSvg.js +0 -4
- package/dist/images/componentsSvg/InfoPhoneSvg.tsx +0 -12
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.d.ts +0 -3
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.js +0 -6
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.js +0 -23
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.ts +0 -24
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.tsx +0 -15
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.d.ts +0 -4
- package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.ts +0 -4
- package/dist/src/components/molecules/ContactInfoBox/index.d.ts +0 -2
- package/dist/src/components/molecules/ContactInfoBox/index.js +0 -1
- package/dist/src/components/molecules/ContactInfoBox/index.ts +0 -2
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.d.ts +0 -3
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.js +0 -6
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.js +0 -23
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.ts +0 -24
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.tsx +0 -15
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.d.ts +0 -4
- package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.ts +0 -4
- package/dist/src/components/molecules/ContactInfoBoxMobile/index.d.ts +0 -2
- package/dist/src/components/molecules/ContactInfoBoxMobile/index.js +0 -1
- package/dist/src/components/molecules/ContactInfoBoxMobile/index.ts +0 -2
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.d.ts +0 -3
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.js +0 -19
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.js +0 -77
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.ts +0 -78
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.tsx +0 -58
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.d.ts +0 -7
- package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.ts +0 -8
- package/dist/src/components/molecules/ContactInfoCard/index.d.ts +0 -2
- package/dist/src/components/molecules/ContactInfoCard/index.js +0 -2
- package/dist/src/components/molecules/ContactInfoCard/index.ts +0 -2
- /package/dist/src/components/{molecules/ContactInfoBox/ContactInfoBoxProps.types.js → atoms/ContactInformationHeader/ContactInformationHeaderProps.js} +0 -0
- /package/dist/src/components/{molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.js → atoms/MobileTrigger/MobileTriggerProps.js} +0 -0
- /package/dist/src/components/{molecules/ContactInfoCard/ContactInfoCardProps.js → atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.js} +0 -0
package/dist/css/styles.css
CHANGED
|
@@ -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
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
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
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
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
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
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;
|
|
@@ -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
|
+
};
|
package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.d.ts
ADDED
|
@@ -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,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
|
+
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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|