@npm_leadtech/legal-lib-components 7.19.2 → 7.20.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.
Files changed (192) hide show
  1. package/dist/css/styles.css +30 -15
  2. package/dist/images/componentsSvg/InfoLocationSvg.d.ts +2 -0
  3. package/dist/images/componentsSvg/InfoLocationSvg.js +4 -0
  4. package/dist/images/componentsSvg/InfoLocationSvg.tsx +14 -0
  5. package/dist/images/componentsSvg/InfoMailSvg.d.ts +2 -0
  6. package/dist/images/componentsSvg/InfoMailSvg.js +4 -0
  7. package/dist/images/componentsSvg/InfoMailSvg.tsx +12 -0
  8. package/dist/images/componentsSvg/InfoPhoneSvg.d.ts +2 -0
  9. package/dist/images/componentsSvg/InfoPhoneSvg.js +4 -0
  10. package/dist/images/componentsSvg/InfoPhoneSvg.tsx +12 -0
  11. package/dist/src/components/atoms/CardPane/CardPane.styled.js +1 -1
  12. package/dist/src/components/atoms/CardPane/CardPane.styled.ts +1 -1
  13. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  14. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  15. package/dist/src/components/atoms/index.d.ts +0 -3
  16. package/dist/src/components/atoms/index.js +0 -3
  17. package/dist/src/components/atoms/index.ts +0 -3
  18. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
  19. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
  20. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.d.ts +3 -0
  21. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.js +6 -0
  22. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.d.ts +1 -0
  23. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.js +23 -0
  24. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.styled.ts +24 -0
  25. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBox.tsx +15 -0
  26. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.d.ts +4 -0
  27. package/dist/src/components/molecules/ContactInfoBox/ContactInfoBoxProps.types.ts +4 -0
  28. package/dist/src/components/molecules/ContactInfoBox/index.d.ts +2 -0
  29. package/dist/src/components/molecules/ContactInfoBox/index.js +1 -0
  30. package/dist/src/components/molecules/ContactInfoBox/index.ts +2 -0
  31. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.d.ts +3 -0
  32. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.js +6 -0
  33. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.d.ts +1 -0
  34. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.js +23 -0
  35. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.styled.ts +24 -0
  36. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobile.tsx +15 -0
  37. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.d.ts +4 -0
  38. package/dist/src/components/molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.ts +4 -0
  39. package/dist/src/components/molecules/ContactInfoBoxMobile/index.d.ts +2 -0
  40. package/dist/src/components/molecules/ContactInfoBoxMobile/index.js +1 -0
  41. package/dist/src/components/molecules/ContactInfoBoxMobile/index.ts +2 -0
  42. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.d.ts +3 -0
  43. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.js +19 -0
  44. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.d.ts +1 -0
  45. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.js +77 -0
  46. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.styled.ts +78 -0
  47. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCard.tsx +58 -0
  48. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.d.ts +7 -0
  49. package/dist/src/components/molecules/ContactInfoCard/ContactInfoCardProps.ts +8 -0
  50. package/dist/src/components/molecules/ContactInfoCard/index.d.ts +2 -0
  51. package/dist/src/components/molecules/ContactInfoCard/index.js +2 -0
  52. package/dist/src/components/molecules/ContactInfoCard/index.ts +2 -0
  53. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -1
  54. package/dist/src/components/molecules/SocialLinks/SocialLinks.js +5 -1
  55. package/dist/src/components/molecules/SocialLinks/SocialLinks.tsx +11 -7
  56. package/dist/src/components/molecules/TextInput/TextInput.scss +31 -15
  57. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +13 -2
  58. package/dist/src/components/molecules/index.d.ts +2 -2
  59. package/dist/src/components/molecules/index.js +2 -2
  60. package/dist/src/components/molecules/index.ts +2 -2
  61. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +3 -3
  62. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.js +0 -1
  63. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.styled.ts +0 -1
  64. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +4 -6
  65. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +2 -3
  66. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +2 -4
  67. package/dist/src/components/organisms/index.d.ts +0 -3
  68. package/dist/src/components/organisms/index.js +0 -3
  69. package/dist/src/components/organisms/index.ts +0 -3
  70. package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +3 -3
  71. package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +3 -3
  72. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.d.ts +2 -2
  73. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +2 -2
  74. package/dist/src/components/sections/ContactSection/ContactSection.styled.js +2 -0
  75. package/dist/src/components/sections/ContactSection/ContactSection.styled.ts +2 -0
  76. package/dist/src/components/sections/index.d.ts +0 -1
  77. package/dist/src/components/sections/index.js +0 -1
  78. package/dist/src/components/sections/index.ts +0 -1
  79. package/dist/src/hooks/useIntersectionObserver.d.ts +7 -5
  80. package/dist/src/hooks/useIntersectionObserver.js +5 -7
  81. package/dist/src/hooks/useIntersectionObserver.tsx +12 -10
  82. package/dist/tsconfig.build.tsbuildinfo +1 -1
  83. package/package.json +1 -2
  84. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.d.ts +0 -3
  85. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.js +0 -5
  86. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.d.ts +0 -1
  87. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.js +0 -21
  88. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.styled.ts +0 -22
  89. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeader.tsx +0 -14
  90. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.d.ts +0 -4
  91. package/dist/src/components/atoms/ContactInformationHeader/ContactInformationHeaderProps.ts +0 -4
  92. package/dist/src/components/atoms/ContactInformationHeader/index.d.ts +0 -2
  93. package/dist/src/components/atoms/ContactInformationHeader/index.js +0 -2
  94. package/dist/src/components/atoms/ContactInformationHeader/index.ts +0 -2
  95. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.d.ts +0 -3
  96. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.js +0 -5
  97. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.d.ts +0 -5
  98. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.js +0 -8
  99. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.styled.ts +0 -13
  100. package/dist/src/components/atoms/MobileTrigger/MobileTrigger.tsx +0 -11
  101. package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.d.ts +0 -6
  102. package/dist/src/components/atoms/MobileTrigger/MobileTriggerProps.ts +0 -6
  103. package/dist/src/components/atoms/MobileTrigger/index.d.ts +0 -2
  104. package/dist/src/components/atoms/MobileTrigger/index.js +0 -2
  105. package/dist/src/components/atoms/MobileTrigger/index.ts +0 -2
  106. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.d.ts +0 -3
  107. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.js +0 -6
  108. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.d.ts +0 -1
  109. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.js +0 -17
  110. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.ts +0 -18
  111. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.tsx +0 -15
  112. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.d.ts +0 -3
  113. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.ts +0 -3
  114. package/dist/src/components/atoms/PhoneNumberDisplay/index.d.ts +0 -2
  115. package/dist/src/components/atoms/PhoneNumberDisplay/index.js +0 -2
  116. package/dist/src/components/atoms/PhoneNumberDisplay/index.ts +0 -2
  117. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.d.ts +0 -3
  118. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.js +0 -5
  119. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.d.ts +0 -4
  120. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.js +0 -34
  121. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.styled.ts +0 -38
  122. package/dist/src/components/molecules/HelpPanelList/HelpPanelList.tsx +0 -18
  123. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.d.ts +0 -9
  124. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.js +0 -1
  125. package/dist/src/components/molecules/HelpPanelList/HelpPanelListProps.ts +0 -10
  126. package/dist/src/components/molecules/HelpPanelList/index.d.ts +0 -2
  127. package/dist/src/components/molecules/HelpPanelList/index.js +0 -2
  128. package/dist/src/components/molecules/HelpPanelList/index.ts +0 -2
  129. package/dist/src/components/molecules/HelpSection/HelpSection.d.ts +0 -3
  130. package/dist/src/components/molecules/HelpSection/HelpSection.js +0 -5
  131. package/dist/src/components/molecules/HelpSection/HelpSection.styled.d.ts +0 -3
  132. package/dist/src/components/molecules/HelpSection/HelpSection.styled.js +0 -64
  133. package/dist/src/components/molecules/HelpSection/HelpSection.styled.ts +0 -66
  134. package/dist/src/components/molecules/HelpSection/HelpSection.tsx +0 -18
  135. package/dist/src/components/molecules/HelpSection/HelpSectionProps.d.ts +0 -6
  136. package/dist/src/components/molecules/HelpSection/HelpSectionProps.js +0 -1
  137. package/dist/src/components/molecules/HelpSection/HelpSectionProps.ts +0 -7
  138. package/dist/src/components/molecules/HelpSection/index.d.ts +0 -2
  139. package/dist/src/components/molecules/HelpSection/index.js +0 -2
  140. package/dist/src/components/molecules/HelpSection/index.ts +0 -2
  141. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.d.ts +0 -3
  142. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.js +0 -7
  143. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.d.ts +0 -1
  144. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.js +0 -16
  145. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.styled.ts +0 -17
  146. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.tsx +0 -15
  147. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.d.ts +0 -7
  148. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.js +0 -1
  149. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.ts +0 -8
  150. package/dist/src/components/organisms/DesktopMenu/index.d.ts +0 -2
  151. package/dist/src/components/organisms/DesktopMenu/index.js +0 -2
  152. package/dist/src/components/organisms/DesktopMenu/index.ts +0 -2
  153. package/dist/src/components/organisms/MobileMenu/MobileMenu.d.ts +0 -3
  154. package/dist/src/components/organisms/MobileMenu/MobileMenu.js +0 -9
  155. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.d.ts +0 -7
  156. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.js +0 -23
  157. package/dist/src/components/organisms/MobileMenu/MobileMenu.styled.ts +0 -30
  158. package/dist/src/components/organisms/MobileMenu/MobileMenu.tsx +0 -54
  159. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.d.ts +0 -16
  160. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.js +0 -1
  161. package/dist/src/components/organisms/MobileMenu/MobileMenuProps.ts +0 -18
  162. package/dist/src/components/organisms/MobileMenu/index.d.ts +0 -2
  163. package/dist/src/components/organisms/MobileMenu/index.js +0 -2
  164. package/dist/src/components/organisms/MobileMenu/index.ts +0 -2
  165. package/dist/src/components/organisms/MobilePanel/MobilePanel.d.ts +0 -3
  166. package/dist/src/components/organisms/MobilePanel/MobilePanel.js +0 -4
  167. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.d.ts +0 -8
  168. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.js +0 -27
  169. package/dist/src/components/organisms/MobilePanel/MobilePanel.styled.ts +0 -35
  170. package/dist/src/components/organisms/MobilePanel/MobilePanel.tsx +0 -13
  171. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.d.ts +0 -7
  172. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.js +0 -1
  173. package/dist/src/components/organisms/MobilePanel/MobilePanelProps.ts +0 -7
  174. package/dist/src/components/organisms/MobilePanel/index.d.ts +0 -2
  175. package/dist/src/components/organisms/MobilePanel/index.js +0 -2
  176. package/dist/src/components/organisms/MobilePanel/index.ts +0 -2
  177. package/dist/src/components/sections/AppHeader/AppHeader.d.ts +0 -4
  178. package/dist/src/components/sections/AppHeader/AppHeader.js +0 -8
  179. package/dist/src/components/sections/AppHeader/AppHeader.scss +0 -32
  180. package/dist/src/components/sections/AppHeader/AppHeader.styled.d.ts +0 -2
  181. package/dist/src/components/sections/AppHeader/AppHeader.styled.js +0 -35
  182. package/dist/src/components/sections/AppHeader/AppHeader.styled.ts +0 -36
  183. package/dist/src/components/sections/AppHeader/AppHeader.tsx +0 -58
  184. package/dist/src/components/sections/AppHeader/AppHeaderProps.d.ts +0 -26
  185. package/dist/src/components/sections/AppHeader/AppHeaderProps.js +0 -1
  186. package/dist/src/components/sections/AppHeader/AppHeaderProps.ts +0 -27
  187. package/dist/src/components/sections/AppHeader/index.d.ts +0 -2
  188. package/dist/src/components/sections/AppHeader/index.js +0 -2
  189. package/dist/src/components/sections/AppHeader/index.ts +0 -2
  190. /package/dist/src/components/{atoms/ContactInformationHeader/ContactInformationHeaderProps.js → molecules/ContactInfoBox/ContactInfoBoxProps.types.js} +0 -0
  191. /package/dist/src/components/{atoms/MobileTrigger/MobileTriggerProps.js → molecules/ContactInfoBoxMobile/ContactInfoBoxMobileProps.types.js} +0 -0
  192. /package/dist/src/components/{atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.js → molecules/ContactInfoCard/ContactInfoCardProps.js} +0 -0
@@ -1,5 +0,0 @@
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 {};
@@ -1,8 +0,0 @@
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
- `;
@@ -1,13 +0,0 @@
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
- `
@@ -1,11 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
1
- export interface MobileTriggerProps {
2
- onClick: () => void;
3
- isActive: boolean;
4
- imageUrl: string;
5
- altText: string;
6
- }
@@ -1,6 +0,0 @@
1
- export interface MobileTriggerProps {
2
- onClick: () => void
3
- isActive: boolean
4
- imageUrl: string
5
- altText: string
6
- }
@@ -1,2 +0,0 @@
1
- export * from './MobileTrigger';
2
- export * from './MobileTriggerProps';
@@ -1,2 +0,0 @@
1
- export * from './MobileTrigger';
2
- export * from './MobileTriggerProps';
@@ -1,2 +0,0 @@
1
- export * from './MobileTrigger'
2
- export * from './MobileTriggerProps'
@@ -1,3 +0,0 @@
1
- import { PhoneNumberDisplayProps } from './PhoneNumberDisplayProps';
2
- import React from 'react';
3
- export declare const PhoneNumberDisplay: React.FC<PhoneNumberDisplayProps>;
@@ -1,6 +0,0 @@
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
- };
@@ -1 +0,0 @@
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;
@@ -1,17 +0,0 @@
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
- `;
@@ -1,18 +0,0 @@
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
- `
@@ -1,15 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- export interface PhoneNumberDisplayProps {
2
- phoneNumber?: string;
3
- }
@@ -1,3 +0,0 @@
1
- export interface PhoneNumberDisplayProps {
2
- phoneNumber?: string
3
- }
@@ -1,2 +0,0 @@
1
- export * from './PhoneNumberDisplay';
2
- export * from './PhoneNumberDisplayProps';
@@ -1,2 +0,0 @@
1
- export * from './PhoneNumberDisplay';
2
- export * from './PhoneNumberDisplayProps';
@@ -1,2 +0,0 @@
1
- export * from './PhoneNumberDisplay'
2
- export * from './PhoneNumberDisplayProps'
@@ -1,3 +0,0 @@
1
- import { HelpPanelListProps } from './HelpPanelListProps';
2
- import React from 'react';
3
- export declare const HelpPanelList: React.FC<HelpPanelListProps>;
@@ -1,5 +0,0 @@
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
- };
@@ -1,4 +0,0 @@
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;
@@ -1,34 +0,0 @@
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
- `;
@@ -1,38 +0,0 @@
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
- `
@@ -1,18 +0,0 @@
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
- }
@@ -1,9 +0,0 @@
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
- }
@@ -1,10 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- export * from './HelpPanelList';
2
- export * from './HelpPanelListProps';
@@ -1,2 +0,0 @@
1
- export * from './HelpPanelList';
2
- export * from './HelpPanelListProps';
@@ -1,2 +0,0 @@
1
- export * from './HelpPanelList'
2
- export * from './HelpPanelListProps'
@@ -1,3 +0,0 @@
1
- import { HelpSectionProps } from './HelpSectionProps';
2
- import React from 'react';
3
- export declare const HelpSection: React.FC<HelpSectionProps>;
@@ -1,5 +0,0 @@
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
- };
@@ -1,3 +0,0 @@
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;
@@ -1,64 +0,0 @@
1
- import arrowDown from '../../../../images/svg/arrow-down.svg';
2
- import styled from 'styled-components';
3
- export const HelpSectionStyled = styled.div `
4
- position: relative;
5
- display: inline-block;
6
- cursor: pointer;
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- margin-right: 1rem;
11
-
12
- p::before {
13
- position: absolute;
14
- content: '';
15
- background-image: url(${arrowDown});
16
- width: 1.5rem;
17
- height: 1.5rem;
18
- left: 100%;
19
- top: 0.2rem;
20
- font-weight: 700;
21
- }
22
-
23
- p {
24
- font-weight: 700;
25
- }
26
-
27
- &:hover > ul {
28
- display: block;
29
- }
30
- `;
31
- export const HelpSectionList = styled.ul `
32
- display: none;
33
- width: 150px;
34
- position: absolute;
35
- border-radius: 4px;
36
- padding: 0.5rem;
37
- top: 100%;
38
- background: var(--others-white);
39
- box-shadow: 0 0.25rem 0.5rem 0.25rem rgba(2, 55, 74, 0.2);
40
- flex-flow: column wrap;
41
- z-index: 1000;
42
- right: -1rem;
43
- gap: 0.5rem;
44
- `;
45
- export const HelpSectionLink = styled.li `
46
- width: 100%;
47
- margin-bottom: 0.5rem;
48
- border-radius: 4px;
49
- list-style: none;
50
-
51
- &:hover {
52
- background-color: var(--primary-main-light-5);
53
- }
54
-
55
- a {
56
- display: block;
57
- padding: 0.25rem;
58
-
59
- background-color: transparent;
60
-
61
- text-decoration: none;
62
- color: inherit;
63
- }
64
- `;
@@ -1,66 +0,0 @@
1
- import arrowDown from '../../../../images/svg/arrow-down.svg'
2
- import styled from 'styled-components'
3
-
4
- export const HelpSectionStyled = styled.div`
5
- position: relative;
6
- display: inline-block;
7
- cursor: pointer;
8
- display: flex;
9
- justify-content: center;
10
- align-items: center;
11
- margin-right: 1rem;
12
-
13
- p::before {
14
- position: absolute;
15
- content: '';
16
- background-image: url(${arrowDown});
17
- width: 1.5rem;
18
- height: 1.5rem;
19
- left: 100%;
20
- top: 0.2rem;
21
- font-weight: 700;
22
- }
23
-
24
- p {
25
- font-weight: 700;
26
- }
27
-
28
- &:hover > ul {
29
- display: block;
30
- }
31
- `
32
- export const HelpSectionList = styled.ul`
33
- display: none;
34
- width: 150px;
35
- position: absolute;
36
- border-radius: 4px;
37
- padding: 0.5rem;
38
- top: 100%;
39
- background: var(--others-white);
40
- box-shadow: 0 0.25rem 0.5rem 0.25rem rgba(2, 55, 74, 0.2);
41
- flex-flow: column wrap;
42
- z-index: 1000;
43
- right: -1rem;
44
- gap: 0.5rem;
45
- `
46
-
47
- export const HelpSectionLink = styled.li`
48
- width: 100%;
49
- margin-bottom: 0.5rem;
50
- border-radius: 4px;
51
- list-style: none;
52
-
53
- &:hover {
54
- background-color: var(--primary-main-light-5);
55
- }
56
-
57
- a {
58
- display: block;
59
- padding: 0.25rem;
60
-
61
- background-color: transparent;
62
-
63
- text-decoration: none;
64
- color: inherit;
65
- }
66
- `
@@ -1,18 +0,0 @@
1
- import { HelpSectionLink, HelpSectionList, HelpSectionStyled } from './HelpSection.styled'
2
- import { HelpSectionProps } from './HelpSectionProps'
3
- import React from 'react'
4
-
5
- export const HelpSection: React.FC<HelpSectionProps> = ({ title, items, homeUrl = '/' }) => {
6
- return (
7
- <HelpSectionStyled>
8
- <p>{title}</p>
9
- <HelpSectionList>
10
- {items.map((item) => (
11
- <HelpSectionLink key={item.title} title={item.title}>
12
- <a href={`${homeUrl}${item.url}`}>{item.title}</a>
13
- </HelpSectionLink>
14
- ))}
15
- </HelpSectionList>
16
- </HelpSectionStyled>
17
- )
18
- }
@@ -1,6 +0,0 @@
1
- import { MenuItem } from '../HelpPanelList/HelpPanelListProps';
2
- export interface HelpSectionProps {
3
- title: string;
4
- items: MenuItem[];
5
- homeUrl?: string;
6
- }
@@ -1,7 +0,0 @@
1
- import { MenuItem } from '../HelpPanelList/HelpPanelListProps'
2
-
3
- export interface HelpSectionProps {
4
- title: string
5
- items: MenuItem[]
6
- homeUrl?: string
7
- }
@@ -1,2 +0,0 @@
1
- export * from './HelpSection';
2
- export * from './HelpSectionProps';
@@ -1,2 +0,0 @@
1
- export * from './HelpSection';
2
- export * from './HelpSectionProps';
@@ -1,2 +0,0 @@
1
- export * from './HelpSection'
2
- export * from './HelpSectionProps'
@@ -1,3 +0,0 @@
1
- import { DesktopMenuProps } from './DesktopMenuProps';
2
- import React from 'react';
3
- export declare const DesktopMenu: React.FC<DesktopMenuProps>;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { DesktopMenuStyled } from './DesktopMenu.styled';
3
- import { HelpSection } from '../../molecules';
4
- import { PhoneNumberDisplay } from '../../atoms';
5
- export const DesktopMenu = ({ phoneNumber, menuList, userActions, homeUrl }) => {
6
- return (_jsxs(DesktopMenuStyled, { children: [phoneNumber && _jsx(PhoneNumberDisplay, { phoneNumber: phoneNumber }), menuList?.items?.length && _jsx(HelpSection, { ...menuList, homeUrl: homeUrl }), userActions] }));
7
- };
@@ -1 +0,0 @@
1
- export declare const DesktopMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -1,16 +0,0 @@
1
- import styled from 'styled-components';
2
- export const DesktopMenuStyled = styled.nav `
3
- display: flex;
4
- gap: 2rem;
5
- height: 100%;
6
- justify-content: center;
7
- align-items: center;
8
- @media (max-width: 720px) {
9
- display: none;
10
- }
11
- @media (min-width: 721px) and (max-width: 849px) {
12
- gap: 1rem;
13
- flex-direction: column;
14
- align-items: end;
15
- }
16
- `;
@@ -1,17 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const DesktopMenuStyled = styled.nav`
4
- display: flex;
5
- gap: 2rem;
6
- height: 100%;
7
- justify-content: center;
8
- align-items: center;
9
- @media (max-width: 720px) {
10
- display: none;
11
- }
12
- @media (min-width: 721px) and (max-width: 849px) {
13
- gap: 1rem;
14
- flex-direction: column;
15
- align-items: end;
16
- }
17
- `
@@ -1,15 +0,0 @@
1
- import { DesktopMenuProps } from './DesktopMenuProps'
2
- import { DesktopMenuStyled } from './DesktopMenu.styled'
3
- import { HelpSection } from '../../molecules'
4
- import { PhoneNumberDisplay } from '../../atoms'
5
- import React from 'react'
6
-
7
- export const DesktopMenu: React.FC<DesktopMenuProps> = ({ phoneNumber, menuList, userActions, homeUrl }) => {
8
- return (
9
- <DesktopMenuStyled>
10
- {phoneNumber && <PhoneNumberDisplay phoneNumber={phoneNumber} />}
11
- {menuList?.items?.length && <HelpSection {...menuList} homeUrl={homeUrl} />}
12
- {userActions}
13
- </DesktopMenuStyled>
14
- )
15
- }
@@ -1,7 +0,0 @@
1
- import { HelpSectionProps } from 'src/components/molecules/HelpSection';
2
- export interface DesktopMenuProps {
3
- phoneNumber: string;
4
- menuList?: HelpSectionProps;
5
- userActions: React.ReactNode;
6
- homeUrl: string;
7
- }
@@ -1,8 +0,0 @@
1
- import { HelpSectionProps } from 'src/components/molecules/HelpSection'
2
-
3
- export interface DesktopMenuProps {
4
- phoneNumber: string
5
- menuList?: HelpSectionProps
6
- userActions: React.ReactNode
7
- homeUrl: string
8
- }
@@ -1,2 +0,0 @@
1
- export * from './DesktopMenu';
2
- export * from './DesktopMenuProps';
@@ -1,2 +0,0 @@
1
- export * from './DesktopMenu';
2
- export * from './DesktopMenuProps';
@@ -1,2 +0,0 @@
1
- export * from './DesktopMenu'
2
- export * from './DesktopMenuProps'
@@ -1,3 +0,0 @@
1
- import { MobileMenuProps } from './MobileMenuProps';
2
- import React from 'react';
3
- export declare const MobileMenu: React.FC<MobileMenuProps>;