@laerdal/life-react-components 2.3.1-dev.1.full → 2.3.1-dev.10

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 (250) hide show
  1. package/dist/Accordion/AccordionItem.cjs +2 -1
  2. package/dist/Accordion/AccordionItem.cjs.map +1 -1
  3. package/dist/Accordion/AccordionItem.js +2 -1
  4. package/dist/Accordion/AccordionItem.js.map +1 -1
  5. package/dist/Accordion/ContentAccordion.cjs +3 -5
  6. package/dist/Accordion/ContentAccordion.cjs.map +1 -1
  7. package/dist/Accordion/ContentAccordion.d.ts +1 -1
  8. package/dist/Accordion/ContentAccordion.js +3 -5
  9. package/dist/Accordion/ContentAccordion.js.map +1 -1
  10. package/dist/Accordion/styles.cjs +8 -4
  11. package/dist/Accordion/styles.cjs.map +1 -1
  12. package/dist/Accordion/styles.js +8 -4
  13. package/dist/Accordion/styles.js.map +1 -1
  14. package/dist/AuthPage/AuthPage.cjs +21 -43
  15. package/dist/AuthPage/AuthPage.cjs.map +1 -1
  16. package/dist/AuthPage/AuthPage.d.ts +4 -28
  17. package/dist/AuthPage/AuthPage.js +21 -44
  18. package/dist/AuthPage/AuthPage.js.map +1 -1
  19. package/dist/AuthPage/ScreenSetsContainer.cjs +2 -3
  20. package/dist/AuthPage/ScreenSetsContainer.cjs.map +1 -1
  21. package/dist/AuthPage/ScreenSetsContainer.js +2 -3
  22. package/dist/AuthPage/ScreenSetsContainer.js.map +1 -1
  23. package/dist/AuthPage/index.cjs +0 -38
  24. package/dist/AuthPage/index.cjs.map +1 -1
  25. package/dist/AuthPage/index.d.ts +1 -3
  26. package/dist/AuthPage/index.js +1 -3
  27. package/dist/AuthPage/index.js.map +1 -1
  28. package/dist/Banners/Banner.cjs +1 -1
  29. package/dist/Banners/Banner.cjs.map +1 -1
  30. package/dist/Banners/Banner.js +1 -1
  31. package/dist/Banners/Banner.js.map +1 -1
  32. package/dist/Banners/OverviewBanner.cjs +1 -2
  33. package/dist/Banners/OverviewBanner.cjs.map +1 -1
  34. package/dist/Banners/OverviewBanner.js +1 -2
  35. package/dist/Banners/OverviewBanner.js.map +1 -1
  36. package/dist/Button/Iconbutton.cjs.map +1 -1
  37. package/dist/Button/Iconbutton.d.ts +1 -1
  38. package/dist/Button/Iconbutton.js.map +1 -1
  39. package/dist/Card/HorizontalCard/types.cjs.map +1 -1
  40. package/dist/Card/HorizontalCard/types.d.ts +1 -1
  41. package/dist/Card/HorizontalCard/types.js.map +1 -1
  42. package/dist/Dropdown/BasicDropdown.cjs +17 -5
  43. package/dist/Dropdown/BasicDropdown.cjs.map +1 -1
  44. package/dist/Dropdown/BasicDropdown.d.ts +1 -0
  45. package/dist/Dropdown/BasicDropdown.js +17 -5
  46. package/dist/Dropdown/BasicDropdown.js.map +1 -1
  47. package/dist/Dropdown/CommonStyling.cjs +6 -3
  48. package/dist/Dropdown/CommonStyling.cjs.map +1 -1
  49. package/dist/Dropdown/CommonStyling.d.ts +3 -1
  50. package/dist/Dropdown/CommonStyling.js +6 -3
  51. package/dist/Dropdown/CommonStyling.js.map +1 -1
  52. package/dist/Dropdown/DropdownContent.cjs +1 -1
  53. package/dist/Dropdown/DropdownContent.js +1 -1
  54. package/dist/Dropdown/DropdownFilter.cjs +11 -1
  55. package/dist/Dropdown/DropdownFilter.cjs.map +1 -1
  56. package/dist/Dropdown/DropdownFilter.js +11 -1
  57. package/dist/Dropdown/DropdownFilter.js.map +1 -1
  58. package/dist/Footer/Components/FooterNavSection.cjs +1 -1
  59. package/dist/Footer/Components/FooterNavSection.cjs.map +1 -1
  60. package/dist/Footer/Components/FooterNavSection.js +1 -1
  61. package/dist/Footer/Components/FooterNavSection.js.map +1 -1
  62. package/dist/Footer/Components/FooterNewsletterAndSocialSection.cjs.map +1 -1
  63. package/dist/Footer/Components/FooterNewsletterAndSocialSection.js.map +1 -1
  64. package/dist/Footer/SiteFooter.cjs +30 -19
  65. package/dist/Footer/SiteFooter.cjs.map +1 -1
  66. package/dist/Footer/SiteFooter.d.ts +3 -1
  67. package/dist/Footer/SiteFooter.js +31 -19
  68. package/dist/Footer/SiteFooter.js.map +1 -1
  69. package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs +15 -8
  70. package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs.map +1 -1
  71. package/dist/GlobalNavigationBar/GlobalNavigationBar.d.ts +2 -1
  72. package/dist/GlobalNavigationBar/GlobalNavigationBar.js +15 -8
  73. package/dist/GlobalNavigationBar/GlobalNavigationBar.js.map +1 -1
  74. package/dist/GlobalNavigationBar/Logo.cjs +3 -3
  75. package/dist/GlobalNavigationBar/Logo.cjs.map +1 -1
  76. package/dist/GlobalNavigationBar/Logo.js +3 -3
  77. package/dist/GlobalNavigationBar/Logo.js.map +1 -1
  78. package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs +1 -1
  79. package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs.map +1 -1
  80. package/dist/GlobalNavigationBar/desktop/DesktopActions.js +1 -1
  81. package/dist/GlobalNavigationBar/desktop/DesktopActions.js.map +1 -1
  82. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.cjs +6 -1
  83. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.cjs.map +1 -1
  84. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.d.ts +4 -0
  85. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.js +5 -4
  86. package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.js.map +1 -1
  87. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs +146 -56
  88. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs.map +1 -1
  89. package/dist/GlobalNavigationBar/desktop/MainMenu.d.ts +2 -2
  90. package/dist/GlobalNavigationBar/desktop/MainMenu.js +146 -56
  91. package/dist/GlobalNavigationBar/desktop/MainMenu.js.map +1 -1
  92. package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs +1 -1
  93. package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs.map +1 -1
  94. package/dist/GlobalNavigationBar/desktop/RightSideNav.js +1 -1
  95. package/dist/GlobalNavigationBar/desktop/RightSideNav.js.map +1 -1
  96. package/dist/GlobalNavigationBar/desktop/SubMenu.cjs +176 -0
  97. package/dist/GlobalNavigationBar/desktop/SubMenu.cjs.map +1 -0
  98. package/dist/GlobalNavigationBar/desktop/SubMenu.d.ts +18 -0
  99. package/dist/GlobalNavigationBar/desktop/SubMenu.js +166 -0
  100. package/dist/GlobalNavigationBar/desktop/SubMenu.js.map +1 -0
  101. package/dist/GlobalNavigationBar/desktop/UserMenu.cjs.map +1 -1
  102. package/dist/GlobalNavigationBar/desktop/UserMenu.js.map +1 -1
  103. package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs +2 -2
  104. package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs.map +1 -1
  105. package/dist/GlobalNavigationBar/mobile/CommonStyles.js +3 -5
  106. package/dist/GlobalNavigationBar/mobile/CommonStyles.js.map +1 -1
  107. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs +1 -1
  108. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs.map +1 -1
  109. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js +2 -2
  110. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js.map +1 -1
  111. package/dist/GlobalNavigationBar/types.cjs.map +1 -1
  112. package/dist/GlobalNavigationBar/types.d.ts +12 -2
  113. package/dist/GlobalNavigationBar/types.js.map +1 -1
  114. package/dist/GlobalNavigationBar/utils.cjs +17 -0
  115. package/dist/GlobalNavigationBar/utils.cjs.map +1 -0
  116. package/dist/GlobalNavigationBar/utils.d.ts +2 -0
  117. package/dist/GlobalNavigationBar/utils.js +10 -0
  118. package/dist/GlobalNavigationBar/utils.js.map +1 -0
  119. package/dist/InputFields/DatepickerField.cjs +18 -5
  120. package/dist/InputFields/DatepickerField.cjs.map +1 -1
  121. package/dist/InputFields/DatepickerField.d.ts +1 -1
  122. package/dist/InputFields/DatepickerField.js +18 -5
  123. package/dist/InputFields/DatepickerField.js.map +1 -1
  124. package/dist/InputFields/DatepickerFieldHeader.cjs.map +1 -1
  125. package/dist/InputFields/DatepickerFieldHeader.js.map +1 -1
  126. package/dist/InputFields/NumberField.cjs +14 -4
  127. package/dist/InputFields/NumberField.cjs.map +1 -1
  128. package/dist/InputFields/NumberField.d.ts +1 -1
  129. package/dist/InputFields/NumberField.js +14 -4
  130. package/dist/InputFields/NumberField.js.map +1 -1
  131. package/dist/InputFields/PasswordField.d.ts +1 -1
  132. package/dist/InputFields/TextField.cjs +12 -3
  133. package/dist/InputFields/TextField.cjs.map +1 -1
  134. package/dist/InputFields/TextField.d.ts +1 -1
  135. package/dist/InputFields/TextField.js +12 -3
  136. package/dist/InputFields/TextField.js.map +1 -1
  137. package/dist/InputFields/styling.cjs +7 -3
  138. package/dist/InputFields/styling.cjs.map +1 -1
  139. package/dist/InputFields/styling.d.ts +1 -0
  140. package/dist/InputFields/styling.js +7 -3
  141. package/dist/InputFields/styling.js.map +1 -1
  142. package/dist/Layouts/index.cjs +18 -12
  143. package/dist/Layouts/index.cjs.map +1 -1
  144. package/dist/Layouts/index.d.ts +1 -1
  145. package/dist/Layouts/index.js +17 -10
  146. package/dist/Layouts/index.js.map +1 -1
  147. package/dist/NavItem/NavItem.cjs +4 -7
  148. package/dist/NavItem/NavItem.cjs.map +1 -1
  149. package/dist/NavItem/NavItem.d.ts +1 -0
  150. package/dist/NavItem/NavItem.js +3 -7
  151. package/dist/NavItem/NavItem.js.map +1 -1
  152. package/dist/NavItem/NestedNavItem.cjs +38 -0
  153. package/dist/NavItem/NestedNavItem.cjs.map +1 -0
  154. package/dist/NavItem/NestedNavItem.d.ts +13 -0
  155. package/dist/NavItem/NestedNavItem.js +28 -0
  156. package/dist/NavItem/NestedNavItem.js.map +1 -0
  157. package/dist/Paginator/Paginator.cjs.map +1 -1
  158. package/dist/Paginator/Paginator.js.map +1 -1
  159. package/dist/Panel/Panel.cjs +138 -0
  160. package/dist/Panel/Panel.cjs.map +1 -0
  161. package/dist/Panel/Panel.d.ts +29 -0
  162. package/dist/Panel/Panel.js +131 -0
  163. package/dist/Panel/Panel.js.map +1 -0
  164. package/dist/Panel/index.cjs +17 -0
  165. package/dist/Panel/index.cjs.map +1 -0
  166. package/dist/Panel/index.d.ts +1 -0
  167. package/dist/Panel/index.js +2 -0
  168. package/dist/Panel/index.js.map +1 -0
  169. package/dist/Table/Table.cjs +1 -1
  170. package/dist/Table/Table.js +1 -1
  171. package/dist/Table/TableFooter.cjs.map +1 -1
  172. package/dist/Table/TableFooter.js.map +1 -1
  173. package/dist/Tabs/TabLink.cjs +39 -14
  174. package/dist/Tabs/TabLink.cjs.map +1 -1
  175. package/dist/Tabs/TabLink.d.ts +6 -1
  176. package/dist/Tabs/TabLink.js +39 -14
  177. package/dist/Tabs/TabLink.js.map +1 -1
  178. package/dist/Tabs/VerticalTabs.cjs +2 -0
  179. package/dist/Tabs/VerticalTabs.cjs.map +1 -1
  180. package/dist/Tabs/VerticalTabs.d.ts +1 -0
  181. package/dist/Tabs/VerticalTabs.js +2 -0
  182. package/dist/Tabs/VerticalTabs.js.map +1 -1
  183. package/dist/Tile/TileHeader.cjs +3 -3
  184. package/dist/Tile/TileHeader.cjs.map +1 -1
  185. package/dist/Tile/TileHeader.js +3 -3
  186. package/dist/Tile/TileHeader.js.map +1 -1
  187. package/dist/Tooltips/TooltipOverflow.cjs +117 -0
  188. package/dist/Tooltips/TooltipOverflow.cjs.map +1 -0
  189. package/dist/Tooltips/TooltipOverflow.d.ts +10 -0
  190. package/dist/Tooltips/TooltipOverflow.js +107 -0
  191. package/dist/Tooltips/TooltipOverflow.js.map +1 -0
  192. package/dist/Tooltips/TooltipStyles.cjs +5 -2
  193. package/dist/Tooltips/TooltipStyles.cjs.map +1 -1
  194. package/dist/Tooltips/TooltipStyles.d.ts +1 -0
  195. package/dist/Tooltips/TooltipStyles.js +5 -2
  196. package/dist/Tooltips/TooltipStyles.js.map +1 -1
  197. package/dist/assets/index.cjs.map +1 -1
  198. package/dist/assets/index.js.map +1 -1
  199. package/dist/common/ActionWithin.cjs +1 -1
  200. package/dist/common/ActionWithin.js +1 -1
  201. package/dist/common/FocusVisible.cjs +1 -1
  202. package/dist/common/FocusVisible.js +1 -1
  203. package/dist/common/NavigationHelper.cjs +2 -3
  204. package/dist/common/NavigationHelper.cjs.map +1 -1
  205. package/dist/common/NavigationHelper.js +1 -2
  206. package/dist/common/NavigationHelper.js.map +1 -1
  207. package/dist/icons/systemicons/LoadingMedium.cjs.map +1 -1
  208. package/dist/icons/systemicons/LoadingMedium.js.map +1 -1
  209. package/dist/icons/systemicons/LoadingSmall.cjs.map +1 -1
  210. package/dist/icons/systemicons/LoadingSmall.js.map +1 -1
  211. package/dist/index.cjs +12 -0
  212. package/dist/index.cjs.map +1 -1
  213. package/dist/index.d.ts +1 -0
  214. package/dist/index.js +1 -0
  215. package/dist/index.js.map +1 -1
  216. package/dist/styles/breakpoints.cjs +2 -4
  217. package/dist/styles/breakpoints.cjs.map +1 -1
  218. package/dist/styles/breakpoints.d.ts +0 -2
  219. package/dist/styles/breakpoints.js +2 -4
  220. package/dist/styles/breakpoints.js.map +1 -1
  221. package/dist/styles/global.cjs +2 -1
  222. package/dist/styles/global.cjs.map +1 -1
  223. package/dist/styles/global.js +2 -1
  224. package/dist/styles/global.js.map +1 -1
  225. package/dist/styles/index.cjs +11 -259
  226. package/dist/styles/index.cjs.map +1 -1
  227. package/dist/styles/index.d.ts +1 -12
  228. package/dist/styles/index.js +1 -12
  229. package/dist/styles/index.js.map +1 -1
  230. package/dist/styles/typography.cjs +53 -301
  231. package/dist/styles/typography.cjs.map +1 -1
  232. package/dist/styles/typography.d.ts +7 -45
  233. package/dist/styles/typography.js +45 -281
  234. package/dist/styles/typography.js.map +1 -1
  235. package/package.json +3 -1
  236. package/dist/AuthPage/Information.cjs +0 -26
  237. package/dist/AuthPage/Information.cjs.map +0 -1
  238. package/dist/AuthPage/Information.d.ts +0 -7
  239. package/dist/AuthPage/Information.js +0 -14
  240. package/dist/AuthPage/Information.js.map +0 -1
  241. package/dist/AuthPage/_AuthPageSection.cjs +0 -15
  242. package/dist/AuthPage/_AuthPageSection.cjs.map +0 -1
  243. package/dist/AuthPage/_AuthPageSection.d.ts +0 -2
  244. package/dist/AuthPage/_AuthPageSection.js +0 -7
  245. package/dist/AuthPage/_AuthPageSection.js.map +0 -1
  246. package/dist/AuthPage/screenSetsErrorMessages.cjs +0 -13
  247. package/dist/AuthPage/screenSetsErrorMessages.cjs.map +0 -1
  248. package/dist/AuthPage/screenSetsErrorMessages.d.ts +0 -5
  249. package/dist/AuthPage/screenSetsErrorMessages.js +0 -6
  250. package/dist/AuthPage/screenSetsErrorMessages.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
2
  import _pt from "prop-types";
3
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
4
4
  import React from 'react';
5
5
  import styled, { css } from 'styled-components';
6
6
  import { COLORS } from '.';
@@ -24,245 +24,6 @@ export var TypographyBase = styled('div')(function (_ref) {
24
24
  color: $color ? $color : COLORS.black
25
25
  };
26
26
  });
27
- var HeadlineBaseStyling = function HeadlineBaseStyling(fontSize, lineHeight, color) {
28
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-weight: 700;\n color: ", ";\n "])), fontSize, lineHeight, color);
29
- };
30
- var HeadlineBase = styled(TypographyBase)(function (_ref2) {
31
- var $color = _ref2.$color,
32
- lineHeight = _ref2.lineHeight,
33
- fontSize = _ref2.fontSize;
34
- return {
35
- fontSize: fontSize,
36
- fontWeight: 700,
37
- lineHeight: lineHeight,
38
- color: $color
39
- };
40
- });
41
- var HeadlineXLStyling = function HeadlineXLStyling(color) {
42
- return HeadlineBaseStyling('48px', '64px', color);
43
- };
44
- var HeadlineXL = styled(HeadlineBase)(function (_ref3) {
45
- var $color = _ref3.$color;
46
- return {
47
- fontSize: '48px',
48
- lineHeight: '64px',
49
- color: $color
50
- };
51
- });
52
- var HeadlineLStyling = function HeadlineLStyling(color) {
53
- return HeadlineBaseStyling('40px', '52px', color);
54
- };
55
- var HeadlineL = styled(HeadlineBase)(function (_ref4) {
56
- var $color = _ref4.$color;
57
- return {
58
- fontSize: '40px',
59
- lineHeight: '52px',
60
- color: $color
61
- };
62
- });
63
- var HeadlineMStyling = function HeadlineMStyling(color) {
64
- return HeadlineBaseStyling('32px', '40px', color);
65
- };
66
- var HeadlineM = styled(HeadlineBase)(function (_ref5) {
67
- var $color = _ref5.$color;
68
- return {
69
- fontSize: '32px',
70
- lineHeight: '40px',
71
- color: $color
72
- };
73
- });
74
- var HeadlineSStyling = function HeadlineSStyling(color) {
75
- return HeadlineBaseStyling('28px', '36px', color);
76
- };
77
- var HeadlineS = styled(HeadlineBase)(function (_ref6) {
78
- var $color = _ref6.$color;
79
- return {
80
- fontSize: '28px',
81
- lineHeight: '36px',
82
- color: $color
83
- };
84
- });
85
- var HeadlineXSStyling = function HeadlineXSStyling(color) {
86
- return HeadlineBaseStyling('24px', '32px', color);
87
- };
88
- var HeadlineXS = styled(HeadlineBase)(function (_ref7) {
89
- var $color = _ref7.$color;
90
- return {
91
- fontSize: '24px',
92
- lineHeight: '32px',
93
- color: $color
94
- };
95
- });
96
- var HeadlineXXSStyling = function HeadlineXXSStyling(color) {
97
- return HeadlineBaseStyling('20px', '24px', color);
98
- };
99
- var HeadlineXXS = styled(HeadlineBase)(function (_ref8) {
100
- var $color = _ref8.$color;
101
- return {
102
- fontSize: '20px',
103
- lineHeight: '24px',
104
- color: $color
105
- };
106
- });
107
- var ParagraphStyling = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n :lang(ja-jp) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n :lang(ko-kr) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n :lang(zh-CN) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 34em;\n }\n"])));
108
- var ParagraphBase = styled(TypographyBase)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n p {\n margin-block-start: 0;\n margin-block-end: 0;\n }\n p:not(:only-of-type) {\n margin-bottom: ", ";\n }\n ", "\n"])), function (props) {
109
- return props.marginBetweenParagraphs || '0';
110
- }, ParagraphStyling);
111
- var ParagraphTextStyle;
112
- (function (ParagraphTextStyle) {
113
- ParagraphTextStyle[ParagraphTextStyle["Regular"] = 1] = "Regular";
114
- ParagraphTextStyle[ParagraphTextStyle["Bold"] = 2] = "Bold";
115
- ParagraphTextStyle[ParagraphTextStyle["Italic"] = 3] = "Italic";
116
- ParagraphTextStyle[ParagraphTextStyle["Underline"] = 4] = "Underline";
117
- })(ParagraphTextStyle || (ParagraphTextStyle = {}));
118
- var paragraphFontWeight = function paragraphFontWeight(textStyle) {
119
- var fontWeight = 400;
120
- if (textStyle === ParagraphTextStyle.Bold) {
121
- fontWeight = 700;
122
- }
123
- return fontWeight;
124
- };
125
- var paragraphFontStyle = function paragraphFontStyle(textStyle) {
126
- var fontStyle = textStyle && textStyle === ParagraphTextStyle.Italic ? 'italic' : '';
127
- return fontStyle;
128
- };
129
- var paragraphTextDecorationLine = function paragraphTextDecorationLine(textStyle) {
130
- var textDecoration = textStyle && textStyle === ParagraphTextStyle.Underline ? 'underline' : 'none';
131
- return textDecoration;
132
- };
133
- var ParagraphBaseStyling = function ParagraphBaseStyling(fontSize, lineHeight, textStyle, color) {
134
- return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n "])), fontSize, paragraphFontWeight(textStyle), lineHeight, paragraphFontStyle(textStyle), color);
135
- };
136
- var ParagraphXlStyling = function ParagraphXlStyling(textStyle, color) {
137
- return ParagraphBaseStyling('24px', '36px', textStyle, color);
138
- };
139
- var ParagraphXL = function ParagraphXL(_ref9) {
140
- var color = _ref9.color,
141
- textStyle = _ref9.textStyle,
142
- children = _ref9.children;
143
- var fontWeight = paragraphFontWeight(textStyle);
144
- var fontStyle = paragraphFontStyle(textStyle);
145
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
146
- return /*#__PURE__*/_jsx(ParagraphBase, {
147
- $color: color,
148
- lineHeight: 36,
149
- $fontSize: 24,
150
- $fontWeight: fontWeight,
151
- $fontStyle: fontStyle,
152
- textDecorationLine: textDecorationLine,
153
- marginBetweenParagraphs: "18px",
154
- children: children
155
- });
156
- };
157
- ParagraphXL.propTypes = {
158
- color: _pt.string,
159
- textStyle: _pt.oneOf([1, 2, 3, 4]),
160
- children: _pt.node
161
- };
162
- var ParagraphLStyling = function ParagraphLStyling(textStyle, color) {
163
- return ParagraphBaseStyling('20px', '32px', textStyle, color);
164
- };
165
- var ParagraphL = function ParagraphL(_ref10) {
166
- var color = _ref10.color,
167
- textStyle = _ref10.textStyle,
168
- children = _ref10.children;
169
- var fontWeight = paragraphFontWeight(textStyle);
170
- var fontStyle = paragraphFontStyle(textStyle);
171
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
172
- return /*#__PURE__*/_jsx(ParagraphBase, {
173
- $color: color,
174
- lineHeight: 32,
175
- $fontSize: 20,
176
- $fontWeight: fontWeight,
177
- $fontStyle: fontStyle,
178
- textDecorationLine: textDecorationLine,
179
- marginBetweenParagraphs: "16px",
180
- children: children
181
- });
182
- };
183
- ParagraphL.propTypes = {
184
- color: _pt.string,
185
- textStyle: _pt.oneOf([1, 2, 3, 4]),
186
- children: _pt.node
187
- };
188
- var ParagraphMStyling = function ParagraphMStyling(textStyle, color) {
189
- return ParagraphBaseStyling('18px', '28px', textStyle, color);
190
- };
191
- var ParagraphM = function ParagraphM(_ref11) {
192
- var color = _ref11.color,
193
- textStyle = _ref11.textStyle,
194
- children = _ref11.children;
195
- var fontWeight = paragraphFontWeight(textStyle);
196
- var fontStyle = paragraphFontStyle(textStyle);
197
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
198
- return /*#__PURE__*/_jsx(ParagraphBase, {
199
- $color: color,
200
- lineHeight: 28,
201
- $fontSize: 18,
202
- $fontWeight: fontWeight,
203
- $fontStyle: fontStyle,
204
- textDecorationLine: textDecorationLine,
205
- marginBetweenParagraphs: "14px",
206
- children: children
207
- });
208
- };
209
- ParagraphM.propTypes = {
210
- color: _pt.string,
211
- textStyle: _pt.oneOf([1, 2, 3, 4]),
212
- children: _pt.node
213
- };
214
- var ParagraphSStyling = function ParagraphSStyling(textStyle, color) {
215
- return ParagraphBaseStyling('16px', '24px', textStyle, color);
216
- };
217
- var ParagraphS = function ParagraphS(_ref12) {
218
- var color = _ref12.color,
219
- textStyle = _ref12.textStyle,
220
- children = _ref12.children;
221
- var fontWeight = paragraphFontWeight(textStyle);
222
- var fontStyle = paragraphFontStyle(textStyle);
223
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
224
- return /*#__PURE__*/_jsx(ParagraphBase, {
225
- $color: color,
226
- lineHeight: 24,
227
- $fontSize: 16,
228
- $fontWeight: fontWeight,
229
- $fontStyle: fontStyle,
230
- textDecorationLine: textDecorationLine,
231
- marginBetweenParagraphs: "12px",
232
- children: children
233
- });
234
- };
235
- ParagraphS.propTypes = {
236
- color: _pt.string,
237
- textStyle: _pt.oneOf([1, 2, 3, 4]),
238
- children: _pt.node
239
- };
240
- var ParagraphXSStyling = function ParagraphXSStyling(textStyle, color) {
241
- return ParagraphBaseStyling('14px', '20px', textStyle, color);
242
- };
243
- var ParagraphXS = function ParagraphXS(_ref13) {
244
- var color = _ref13.color,
245
- textStyle = _ref13.textStyle,
246
- children = _ref13.children;
247
- var fontWeight = paragraphFontWeight(textStyle);
248
- var fontStyle = paragraphFontStyle(textStyle);
249
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
250
- return /*#__PURE__*/_jsx(ParagraphBase, {
251
- $color: color,
252
- lineHeight: 20,
253
- $fontSize: 14,
254
- $fontWeight: fontWeight,
255
- $fontStyle: fontStyle,
256
- textDecorationLine: textDecorationLine,
257
- marginBetweenParagraphs: "10px",
258
- children: children
259
- });
260
- };
261
- ParagraphXS.propTypes = {
262
- color: _pt.string,
263
- textStyle: _pt.oneOf([1, 2, 3, 4]),
264
- children: _pt.node
265
- };
266
27
  var ComponentTextStyle;
267
28
  (function (ComponentTextStyle) {
268
29
  ComponentTextStyle[ComponentTextStyle["Regular"] = 1] = "Regular";
@@ -286,16 +47,16 @@ var componentTextTransformation = function componentTextTransformation(textStyle
286
47
  return fontStyle;
287
48
  };
288
49
  var ComponentStyling = function ComponentStyling(fontSize, lineHeight, textStyle, color) {
289
- return css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n ", "\n "])), fontSize, componentFontWeight(textStyle), lineHeight, componentFontStyle(textStyle), color === null ? '' : "color: ".concat(color || COLORS.black, ";"));
50
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n ", "\n "])), fontSize, componentFontWeight(textStyle), lineHeight, componentFontStyle(textStyle), color === null ? '' : "color: ".concat(color || COLORS.black, ";"));
290
51
  };
291
52
  var ComponentXLStyling = function ComponentXLStyling(textStyle, color) {
292
53
  return ComponentStyling('24px', '28px', textStyle, color);
293
54
  };
294
- var ComponentXL = function ComponentXL(_ref14) {
295
- var color = _ref14.color,
296
- textStyle = _ref14.textStyle,
297
- children = _ref14.children,
298
- className = _ref14.className;
55
+ var ComponentXL = function ComponentXL(_ref2) {
56
+ var color = _ref2.color,
57
+ textStyle = _ref2.textStyle,
58
+ children = _ref2.children,
59
+ className = _ref2.className;
299
60
  var fontWeight = componentFontWeight(textStyle);
300
61
  var fontStyle = componentFontStyle(textStyle);
301
62
  return /*#__PURE__*/_jsx(TypographyBase, {
@@ -317,11 +78,11 @@ ComponentXL.propTypes = {
317
78
  var ComponentLStyling = function ComponentLStyling(textStyle, color) {
318
79
  return ComponentStyling('20px', '24px', textStyle, color);
319
80
  };
320
- var ComponentL = function ComponentL(_ref15) {
321
- var color = _ref15.color,
322
- textStyle = _ref15.textStyle,
323
- children = _ref15.children,
324
- className = _ref15.className;
81
+ var ComponentL = function ComponentL(_ref3) {
82
+ var color = _ref3.color,
83
+ textStyle = _ref3.textStyle,
84
+ children = _ref3.children,
85
+ className = _ref3.className;
325
86
  var fontWeight = componentFontWeight(textStyle);
326
87
  var fontStyle = componentFontStyle(textStyle);
327
88
  return /*#__PURE__*/_jsx(TypographyBase, {
@@ -343,11 +104,11 @@ ComponentL.propTypes = {
343
104
  var ComponentMStyling = function ComponentMStyling(textStyle, color) {
344
105
  return ComponentStyling('18px', '24px', textStyle, color);
345
106
  };
346
- var ComponentM = function ComponentM(_ref16) {
347
- var color = _ref16.color,
348
- textStyle = _ref16.textStyle,
349
- children = _ref16.children,
350
- className = _ref16.className;
107
+ var ComponentM = function ComponentM(_ref4) {
108
+ var color = _ref4.color,
109
+ textStyle = _ref4.textStyle,
110
+ children = _ref4.children,
111
+ className = _ref4.className;
351
112
  var fontWeight = componentFontWeight(textStyle);
352
113
  var fontStyle = componentFontStyle(textStyle);
353
114
  return /*#__PURE__*/_jsx(TypographyBase, {
@@ -369,11 +130,11 @@ ComponentM.propTypes = {
369
130
  var ComponentSStyling = function ComponentSStyling(textStyle, color) {
370
131
  return ComponentStyling('16px', '20px', textStyle, color);
371
132
  };
372
- var ComponentS = function ComponentS(_ref17) {
373
- var color = _ref17.color,
374
- textStyle = _ref17.textStyle,
375
- children = _ref17.children,
376
- className = _ref17.className;
133
+ var ComponentS = function ComponentS(_ref5) {
134
+ var color = _ref5.color,
135
+ textStyle = _ref5.textStyle,
136
+ children = _ref5.children,
137
+ className = _ref5.className;
377
138
  var fontWeight = componentFontWeight(textStyle);
378
139
  var fontStyle = componentFontStyle(textStyle);
379
140
  return /*#__PURE__*/_jsx(TypographyBase, {
@@ -395,11 +156,11 @@ ComponentS.propTypes = {
395
156
  var ComponentXSStyling = function ComponentXSStyling(textStyle, color) {
396
157
  return ComponentStyling('14px', '16px', textStyle, color);
397
158
  };
398
- var ComponentXS = function ComponentXS(_ref18) {
399
- var color = _ref18.color,
400
- textStyle = _ref18.textStyle,
401
- children = _ref18.children,
402
- className = _ref18.className;
159
+ var ComponentXS = function ComponentXS(_ref6) {
160
+ var color = _ref6.color,
161
+ textStyle = _ref6.textStyle,
162
+ children = _ref6.children,
163
+ className = _ref6.className;
403
164
  var fontWeight = componentFontWeight(textStyle);
404
165
  var fontStyle = componentFontStyle(textStyle);
405
166
  var textTransform = componentTextTransformation(textStyle);
@@ -423,11 +184,11 @@ ComponentXS.propTypes = {
423
184
  var ComponentXXSStyling = function ComponentXXSStyling(textStyle, color) {
424
185
  return ComponentStyling('12px', '16px', textStyle, color);
425
186
  };
426
- var ComponentXXS = function ComponentXXS(_ref19) {
427
- var color = _ref19.color,
428
- textStyle = _ref19.textStyle,
429
- children = _ref19.children,
430
- className = _ref19.className;
187
+ var ComponentXXS = function ComponentXXS(_ref7) {
188
+ var color = _ref7.color,
189
+ textStyle = _ref7.textStyle,
190
+ children = _ref7.children,
191
+ className = _ref7.className;
431
192
  var fontWeight = componentFontWeight(textStyle);
432
193
  var fontStyle = componentFontStyle(textStyle);
433
194
  var textTransform = componentTextTransformation(textStyle);
@@ -448,12 +209,12 @@ ComponentXXS.propTypes = {
448
209
  textStyle: _pt.oneOf([1, 2, 3, 4]),
449
210
  children: _pt.node
450
211
  };
451
- var ComponentResponsive = function ComponentResponsive(_ref20) {
452
- var color = _ref20.color,
453
- textStyle = _ref20.textStyle,
454
- children = _ref20.children,
455
- size = _ref20.size,
456
- width = _ref20.width;
212
+ var ComponentResponsive = function ComponentResponsive(_ref8) {
213
+ var color = _ref8.color,
214
+ textStyle = _ref8.textStyle,
215
+ children = _ref8.children,
216
+ size = _ref8.size,
217
+ width = _ref8.width;
457
218
  var fontsize = size;
458
219
  if (!size) {
459
220
  if (width == -1) {
@@ -506,10 +267,13 @@ ComponentResponsive.propTypes = {
506
267
  textStyle: _pt.oneOf([1, 2, 3, 4]),
507
268
  children: _pt.node
508
269
  };
509
- export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
510
- export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
270
+ export var Typography = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n"])));
271
+ export var QuoteTypography = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n"])));
272
+ export var NoteTypography = css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n"])));
273
+ export var UpperCaseTypography = css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n"])));
274
+ export var Note = styled.p(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n ", "\n"])), NoteTypography);
275
+ export var Quote = styled.p(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n"])), QuoteTypography);
276
+ export var UpperCase = styled.p(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", "\n"])), UpperCaseTypography);
511
277
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
512
278
  export { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling };
513
- export { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling };
514
- export { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling };
515
279
  //# sourceMappingURL=typography.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","names":["React","styled","css","COLORS","Size","TypographyBase","$color","lineHeight","$fontSize","$fontWeight","$fontStyle","textTransform","textDecorationLine","fontSize","fontWeight","fontStyle","color","black","HeadlineBaseStyling","HeadlineBase","HeadlineXLStyling","HeadlineXL","HeadlineLStyling","HeadlineL","HeadlineMStyling","HeadlineM","HeadlineSStyling","HeadlineS","HeadlineXSStyling","HeadlineXS","HeadlineXXSStyling","HeadlineXXS","ParagraphStyling","ParagraphBase","props","marginBetweenParagraphs","ParagraphTextStyle","paragraphFontWeight","textStyle","Bold","paragraphFontStyle","Italic","paragraphTextDecorationLine","textDecoration","Underline","ParagraphBaseStyling","ParagraphXlStyling","ParagraphXL","children","ParagraphLStyling","ParagraphL","ParagraphMStyling","ParagraphM","ParagraphSStyling","ParagraphS","ParagraphXSStyling","ParagraphXS","ComponentTextStyle","componentFontWeight","UppercaseBold","componentFontStyle","componentTextTransformation","ComponentStyling","ComponentXLStyling","ComponentXL","className","ComponentLStyling","ComponentL","ComponentMStyling","ComponentM","ComponentSStyling","ComponentS","ComponentXSStyling","ComponentXS","ComponentXXSStyling","ComponentXXS","ComponentResponsive","size","width","fontsize","Medium","Small","Large","XXSmall","XSmall"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React from 'react';\nimport styled, { css } from 'styled-components';\nimport { COLORS } from '.';\nimport { Property } from 'csstype';\nimport { Size } from '../types';\n\ninterface ITypographyBase {\n $color?: string;\n lineHeight: number;\n $fontSize: number;\n $fontWeight: number;\n $fontStyle?: string;\n textTransform?: Property.TextTransform;\n textDecorationLine?: Property.TextDecorationLine;\n}\n\nexport const TypographyBase = styled('div')<ITypographyBase>(({ $color, lineHeight, $fontSize, $fontWeight, $fontStyle, textTransform, textDecorationLine }) => ({\n fontSize: $fontSize,\n fontWeight: $fontWeight,\n lineHeight: lineHeight + 'px',\n textTransform: textTransform ? textTransform : 'none',\n textDecorationLine: textDecorationLine ? textDecorationLine : 'none',\n fontStyle: $fontStyle ? $fontStyle : 'normal',\n color: $color ? $color : COLORS.black,\n}));\n\ninterface IHeadline {\n $color?: string;\n}\n\ninterface IHeadlineBase {\n $color?: string;\n lineHeight: number;\n fontSize: number;\n}\n\nconst HeadlineBaseStyling = (fontSize: string, lineHeight: string, color: string) => {\n return css`\n font-size: ${fontSize};\n line-height: ${lineHeight};\n font-weight: 700;\n color: ${color};\n `;\n};\nconst HeadlineBase = styled(TypographyBase)<IHeadlineBase>(({ $color, lineHeight, fontSize }) => ({\n fontSize: fontSize,\n fontWeight: 700,\n lineHeight: lineHeight,\n color: $color,\n}));\n\nconst HeadlineXLStyling = (color: string) => HeadlineBaseStyling('48px', '64px', color);\nconst HeadlineXL = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '48px',\n lineHeight: '64px',\n color: $color,\n}));\n\nconst HeadlineLStyling = (color: string) => HeadlineBaseStyling('40px', '52px', color);\nconst HeadlineL = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '40px',\n lineHeight: '52px',\n color: $color,\n}));\n\nconst HeadlineMStyling = (color: string) => HeadlineBaseStyling('32px', '40px', color);\nconst HeadlineM = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '32px',\n lineHeight: '40px',\n color: $color,\n}));\n\nconst HeadlineSStyling = (color: string) => HeadlineBaseStyling('28px', '36px', color);\nconst HeadlineS = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '28px',\n lineHeight: '36px',\n color: $color,\n}));\n\nconst HeadlineXSStyling = (color: string) => HeadlineBaseStyling('24px', '32px', color);\nconst HeadlineXS = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '24px',\n lineHeight: '32px',\n color: $color,\n}));\n\nconst HeadlineXXSStyling = (color: string) => HeadlineBaseStyling('20px', '24px', color);\nconst HeadlineXXS = styled(HeadlineBase)<IHeadline>(({ $color }) => ({\n fontSize: '20px',\n lineHeight: '24px',\n color: $color,\n}));\n\nconst ParagraphStyling = css`\n :lang(ja-jp) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n :lang(ko-kr) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n :lang(zh-CN) > h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 30em;\n }\n h1,\n h2,\n h3,\n h4,\n p,\n span {\n max-width: 34em;\n }\n`;\n\ninterface IParagraphBase {\n color?: string;\n lineHeight: number;\n $fontSize: number;\n marginBetweenParagraphs?: string;\n}\n\nconst ParagraphBase = styled(TypographyBase)<IParagraphBase>`\n p {\n margin-block-start: 0;\n margin-block-end: 0;\n }\n p:not(:only-of-type) {\n margin-bottom: ${(props) => props.marginBetweenParagraphs || '0'};\n }\n ${ParagraphStyling}\n`;\n\ninterface IParagraph {\n color?: string;\n}\n\nenum ParagraphTextStyle {\n Regular = 1,\n Bold,\n Italic,\n Underline,\n}\n\ntype ParagraphProps = {\n color?: string;\n textStyle?: ParagraphTextStyle;\n children?: React.ReactNode;\n};\n\nconst paragraphFontWeight = (textStyle?: ParagraphTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ParagraphTextStyle.Bold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst paragraphFontStyle = (textStyle?: ParagraphTextStyle) => {\n let fontStyle = textStyle && textStyle === ParagraphTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst paragraphTextDecorationLine = (textStyle?: ParagraphTextStyle): Property.TextDecorationLine => {\n let textDecoration: Property.TextDecorationLine = textStyle && textStyle === ParagraphTextStyle.Underline ? 'underline' : 'none';\n return textDecoration;\n};\n\nconst ParagraphBaseStyling = (fontSize: string, lineHeight: string, textStyle: ParagraphTextStyle, color: string) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${paragraphFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${paragraphFontStyle(textStyle)};\n color: ${color};\n `;\n};\n\nconst ParagraphXlStyling = (textStyle: ParagraphTextStyle, color: string) => ParagraphBaseStyling('24px', '36px', textStyle, color);\nconst ParagraphXL: React.FunctionComponent<ParagraphProps> = ({ color, textStyle, children }) => {\n let fontWeight = paragraphFontWeight(textStyle);\n let fontStyle = paragraphFontStyle(textStyle);\n let textDecorationLine = paragraphTextDecorationLine(textStyle);\n return (\n <ParagraphBase\n $color={color}\n lineHeight={36}\n $fontSize={24}\n $fontWeight={fontWeight}\n $fontStyle={fontStyle}\n textDecorationLine={textDecorationLine}\n marginBetweenParagraphs=\"18px\">\n {children}\n </ParagraphBase>\n );\n};\n\nconst ParagraphLStyling = (textStyle: ParagraphTextStyle, color: string) => ParagraphBaseStyling('20px', '32px', textStyle, color);\nconst ParagraphL: React.FunctionComponent<ParagraphProps> = ({ color, textStyle, children }) => {\n let fontWeight = paragraphFontWeight(textStyle);\n let fontStyle = paragraphFontStyle(textStyle);\n let textDecorationLine = paragraphTextDecorationLine(textStyle);\n return (\n <ParagraphBase\n $color={color}\n lineHeight={32}\n $fontSize={20}\n $fontWeight={fontWeight}\n $fontStyle={fontStyle}\n textDecorationLine={textDecorationLine}\n marginBetweenParagraphs=\"16px\">\n {children}\n </ParagraphBase>\n );\n};\n\nconst ParagraphMStyling = (textStyle: ParagraphTextStyle, color: string) => ParagraphBaseStyling('18px', '28px', textStyle, color);\nconst ParagraphM: React.FunctionComponent<ParagraphProps> = ({ color, textStyle, children }) => {\n let fontWeight = paragraphFontWeight(textStyle);\n let fontStyle = paragraphFontStyle(textStyle);\n let textDecorationLine = paragraphTextDecorationLine(textStyle);\n return (\n <ParagraphBase\n $color={color}\n lineHeight={28}\n $fontSize={18}\n $fontWeight={fontWeight}\n $fontStyle={fontStyle}\n textDecorationLine={textDecorationLine}\n marginBetweenParagraphs=\"14px\">\n {children}\n </ParagraphBase>\n );\n};\n\nconst ParagraphSStyling = (textStyle: ParagraphTextStyle, color: string) => ParagraphBaseStyling('16px', '24px', textStyle, color);\nconst ParagraphS: React.FunctionComponent<ParagraphProps> = ({ color, textStyle, children }) => {\n let fontWeight = paragraphFontWeight(textStyle);\n let fontStyle = paragraphFontStyle(textStyle);\n let textDecorationLine = paragraphTextDecorationLine(textStyle);\n return (\n <ParagraphBase\n $color={color}\n lineHeight={24}\n $fontSize={16}\n $fontWeight={fontWeight}\n $fontStyle={fontStyle}\n textDecorationLine={textDecorationLine}\n marginBetweenParagraphs=\"12px\">\n {children}\n </ParagraphBase>\n );\n};\n\nconst ParagraphXSStyling = (textStyle: ParagraphTextStyle, color: string) => ParagraphBaseStyling('14px', '20px', textStyle, color);\nconst ParagraphXS: React.FunctionComponent<ParagraphProps> = ({ color, textStyle, children }) => {\n let fontWeight = paragraphFontWeight(textStyle);\n let fontStyle = paragraphFontStyle(textStyle);\n let textDecorationLine = paragraphTextDecorationLine(textStyle);\n return (\n <ParagraphBase\n $color={color}\n lineHeight={20}\n $fontSize={14}\n $fontWeight={fontWeight}\n $fontStyle={fontStyle}\n textDecorationLine={textDecorationLine}\n marginBetweenParagraphs=\"10px\">\n {children}\n </ParagraphBase>\n );\n};\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${color === null ? '' : `color: ${color || COLORS.black};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={28} $fontSize={24} $fontWeight={fontWeight} $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={24} $fontSize={20} $fontWeight={fontWeight} $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={24} $fontSize={18} $fontWeight={fontWeight} $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={20} $fontSize={16} $fontWeight={fontWeight} $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={16} $fontSize={14} $fontWeight={fontWeight} $fontStyle={fontStyle} textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({ color, textStyle, children, className }) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={16} $fontSize={12} $fontWeight={fontWeight} $fontStyle={fontStyle} textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({ color, textStyle, children, size, width }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children} />;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children} />;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children} />;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children} />;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children} />;\n }\n};\n\nexport { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };\nexport { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };\nexport { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };\nexport { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling };\nexport { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling };\nexport { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling };\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,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AAEE,gBAAgB,EAAEE,iBAAiB,EAAEE,kBAAkB"}
1
+ {"version":3,"file":"typography.js","names":["React","styled","css","COLORS","Size","TypographyBase","$color","lineHeight","$fontSize","$fontWeight","$fontStyle","textTransform","textDecorationLine","fontSize","fontWeight","fontStyle","color","black","ComponentTextStyle","componentFontWeight","textStyle","Bold","UppercaseBold","componentFontStyle","Italic","componentTextTransformation","ComponentStyling","ComponentXLStyling","ComponentXL","children","className","ComponentLStyling","ComponentL","ComponentMStyling","ComponentM","ComponentSStyling","ComponentS","ComponentXSStyling","ComponentXS","ComponentXXSStyling","ComponentXXS","ComponentResponsive","size","width","fontsize","Medium","Small","Large","XXSmall","XSmall","Typography","QuoteTypography","NoteTypography","UpperCaseTypography","Note","p","Quote","UpperCase"],"sources":["../../src/styles/typography.tsx"],"sourcesContent":["import React from 'react';\nimport styled, {css} from 'styled-components';\nimport {COLORS} from '.';\nimport {Property} from 'csstype';\nimport {Size} from '../types';\n\ninterface ITypographyBase {\n $color?: string;\n lineHeight: number;\n $fontSize: number;\n $fontWeight: number;\n $fontStyle?: string;\n textTransform?: Property.TextTransform;\n textDecorationLine?: Property.TextDecorationLine;\n}\n\nexport const TypographyBase = styled('div')<ITypographyBase>(({\n $color,\n lineHeight,\n $fontSize,\n $fontWeight,\n $fontStyle,\n textTransform,\n textDecorationLine\n }) => ({\n fontSize: $fontSize,\n fontWeight: $fontWeight,\n lineHeight: lineHeight + 'px',\n textTransform: textTransform ? textTransform : 'none',\n textDecorationLine: textDecorationLine ? textDecorationLine : 'none',\n fontStyle: $fontStyle ? $fontStyle : 'normal',\n color: $color ? $color : COLORS.black,\n}));\n\nenum ComponentTextStyle {\n Regular = 1,\n Bold,\n Italic,\n UppercaseBold,\n}\n\ntype ComponentProps = {\n color?: string;\n className?: string;\n textStyle?: ComponentTextStyle;\n children?: React.ReactNode;\n};\n\nconst componentFontWeight = (textStyle?: ComponentTextStyle) => {\n let fontWeight = 400;\n if (textStyle === ComponentTextStyle.Bold || textStyle === ComponentTextStyle.UppercaseBold) {\n fontWeight = 700;\n }\n return fontWeight;\n};\n\nconst componentFontStyle = (textStyle?: ComponentTextStyle) => {\n let fontStyle = textStyle && textStyle === ComponentTextStyle.Italic ? 'italic' : '';\n return fontStyle;\n};\n\nconst componentTextTransformation = (textStyle?: ComponentTextStyle): Property.TextTransform => {\n let fontStyle: Property.TextTransform = textStyle && textStyle === ComponentTextStyle.UppercaseBold ? 'uppercase' : 'none';\n return fontStyle;\n};\n\nconst ComponentStyling = (fontSize: string, lineHeight: string, textStyle: ComponentTextStyle, color: string | undefined | null) => {\n return css`\n font-size: ${fontSize};\n font-weight: ${componentFontWeight(textStyle)};\n line-height: ${lineHeight};\n font-style: ${componentFontStyle(textStyle)};\n ${color === null ? '' : `color: ${color || COLORS.black};`}\n `;\n};\n\nconst ComponentXLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('24px', '28px', textStyle, color);\nconst ComponentXL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={28} $fontSize={24} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentLStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('20px', '24px', textStyle, color);\nconst ComponentL: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={24} $fontSize={20} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentMStyling = (textStyle: ComponentTextStyle, color: string | undefined | null) => ComponentStyling('18px', '24px', textStyle, color);\nconst ComponentM: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={24} $fontSize={18} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('16px', '20px', textStyle, color);\nconst ComponentS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={20} $fontSize={16} $fontWeight={fontWeight}\n $fontStyle={fontStyle}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('14px', '16px', textStyle, color);\nconst ComponentXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={16} $fontSize={14} $fontWeight={fontWeight}\n $fontStyle={fontStyle} textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentXXSStyling = (textStyle: ComponentTextStyle, color: string | null) => ComponentStyling('12px', '16px', textStyle, color);\nconst ComponentXXS: React.FunctionComponent<ComponentProps> = ({color, textStyle, children, className}) => {\n let fontWeight = componentFontWeight(textStyle);\n let fontStyle = componentFontStyle(textStyle);\n let textTransform = componentTextTransformation(textStyle);\n return (\n <TypographyBase className={className} $color={color} lineHeight={16} $fontSize={12} $fontWeight={fontWeight}\n $fontStyle={fontStyle} textTransform={textTransform}>\n {children}\n </TypographyBase>\n );\n};\n\nconst ComponentResponsive: React.FunctionComponent<ComponentProps & { size?: Size; width: number }> = ({\n color,\n textStyle,\n children,\n size,\n width\n }) => {\n let fontsize = size;\n if (!size) {\n if (width == -1) {\n fontsize = Size.Medium;\n } else if (width < 768) {\n fontsize = Size.Small;\n } else if (width < 992) {\n fontsize = Size.Medium;\n } else {\n fontsize = Size.Large;\n }\n }\n switch (fontsize) {\n case Size.XXSmall:\n return <ComponentXXS color={color} textStyle={textStyle} children={children}/>;\n case Size.XSmall:\n return <ComponentXS color={color} textStyle={textStyle} children={children}/>;\n case Size.Small:\n return <ComponentS color={color} textStyle={textStyle} children={children}/>;\n case Size.Medium:\n return <ComponentM color={color} textStyle={textStyle} children={children}/>;\n case Size.Large:\n default:\n return <ComponentL color={color} textStyle={textStyle} children={children}/>;\n }\n};\n\nexport const Typography = css`\n html {\n font-size: 100%;\n }\n\n @media (min-width: 48rem) {\n html {\n font-size: 112.5%;\n }\n }\n\n @media (min-width: 80rem) {\n html {\n font-size: 125%;\n }\n }\n\n h1, h2, h3, h4, h5, h6 {\n font-weight: 700;\n line-height: 120%;\n margin: 0;\n }\n\n h1 {\n font-size: 3rem;\n }\n\n h2 {\n font-size: 2.5rem;\n }\n\n h3 {\n font-size: 2rem;\n }\n\n h4 {\n font-size: 1.75rem;\n }\n\n h5 {\n font-size: 1.5rem;\n }\n\n h6 {\n font-size: 1.25rem;\n }\n\n p {\n font-size: 1rem;\n line-height: 150%;\n margin: 0 0 0.5rem;\n }\n\n p:last-of-type {\n margin-bottom: 0;\n }\n\n\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 34rem;\n }\n\n :lang(ja-jp) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(ko-kr) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n\n :lang(zh-CN) {\n h1, h2, h3, h4, h5, h6, p, span {\n max-width: 30rem;\n }\n }\n`;\n\nexport const QuoteTypography = css`\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n`;\n\nexport const NoteTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n`;\n\nexport const UpperCaseTypography = css`\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n`;\n\nexport const Note = styled.p`\n ${NoteTypography}\n`;\n\nexport const Quote = styled.p`\n ${QuoteTypography}\n`;\n\nexport const UpperCase = styled.p`\n ${UpperCaseTypography}\n`;\n\nexport {\n ComponentTextStyle,\n ComponentXL,\n ComponentL,\n ComponentM,\n ComponentS,\n ComponentXS,\n ComponentXXS,\n ComponentResponsive\n};\nexport {\n ComponentXLStyling,\n ComponentLStyling,\n ComponentMStyling,\n ComponentSStyling,\n ComponentXSStyling,\n ComponentXXSStyling\n};\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,IAAGC,GAAG,QAAO,mBAAmB;AAC7C,SAAQC,MAAM,QAAO,GAAG;AAExB,SAAQC,IAAI,QAAO,UAAU;AAAC;AAY9B,OAAO,IAAMC,cAAc,GAAGJ,MAAM,CAAC,KAAK,CAAC,CAAkB;EAAA,IACGK,MAAM,QAANA,MAAM;IACNC,UAAU,QAAVA,UAAU;IACVC,SAAS,QAATA,SAAS;IACTC,WAAW,QAAXA,WAAW;IACXC,UAAU,QAAVA,UAAU;IACVC,aAAa,QAAbA,aAAa;IACbC,kBAAkB,QAAlBA,kBAAkB;EAAA,OACb;IACnEC,QAAQ,EAAEL,SAAS;IACnBM,UAAU,EAAEL,WAAW;IACvBF,UAAU,EAAEA,UAAU,GAAG,IAAI;IAC7BI,aAAa,EAAEA,aAAa,GAAGA,aAAa,GAAG,MAAM;IACrDC,kBAAkB,EAAEA,kBAAkB,GAAGA,kBAAkB,GAAG,MAAM;IACpEG,SAAS,EAAEL,UAAU,GAAGA,UAAU,GAAG,QAAQ;IAC7CM,KAAK,EAAEV,MAAM,GAAGA,MAAM,GAAGH,MAAM,CAACc;EAClC,CAAC;AAAA,CAAC,CAAC;AAAC,IAECC,kBAAkB;AAAA,WAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;EAAlBA,kBAAkB,CAAlBA,kBAAkB;E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,YAAY,EACZC,mBAAmB;AAErB,SACEd,kBAAkB,EAClBI,iBAAiB,EACjBE,iBAAiB,EACjBE,iBAAiB,EACjBE,kBAAkB,EAClBE,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laerdal/life-react-components",
3
- "version": "2.3.1-dev.1.full",
3
+ "version": "2.3.1-dev.10",
4
4
  "private": false,
5
5
  "author": "Erik Martirosyan <erik.martirosyan@laerdal.com>",
6
6
  "contributors": [],
@@ -52,6 +52,7 @@
52
52
  ]
53
53
  },
54
54
  "dependencies": {
55
+ "@babel/runtime": "^7.19.0",
55
56
  "@laerdal/figma-svg": "^3.0.1",
56
57
  "@types/node": "^18.0.6",
57
58
  "@types/react": "^17.0.47",
@@ -63,6 +64,7 @@
63
64
  "react-dom": "^17.0.2",
64
65
  "react-inlinesvg": "^3.0.0",
65
66
  "react-modal": "^3.15.1",
67
+ "react-resize-detector": "^7.1.2",
66
68
  "rooks": "^7.1.1",
67
69
  "styled-components": "^5.3.5",
68
70
  "typescript": "^4.8.2"
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.InformationText = exports.InformationImage = exports.InformationHeader = exports.InformationContent = exports.InformationContainer = void 0;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
- var _styledComponents = _interopRequireDefault(require("styled-components"));
10
- var _AuthPageSection = _interopRequireDefault(require("./_AuthPageSection"));
11
- var _styles = require("../styles");
12
- var _typography = require("../styles/typography");
13
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
14
- var InformationContainer = (0, _styledComponents.default)(_AuthPageSection.default)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: none;\n background: ", ";\n\n ", " {\n display: flex;\n padding-top: 56px;\n }\n"])), function (props) {
15
- return props.$color;
16
- }, _styles.BREAKPOINTS.MEDIUM);
17
- exports.InformationContainer = InformationContainer;
18
- var InformationContent = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n align-self: center;\n align-items: center;\n text-align: center;\n max-width: 100%;\n\n ", " {\n align-self: flex-end;\n margin-right: 48px;\n }\n"])), _styles.BREAKPOINTS.LARGE);
19
- exports.InformationContent = InformationContent;
20
- var InformationHeader = _styledComponents.default.h2(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n font-weight: 300;\n margin-bottom: 0;\n"])), (0, _typography.HeadlineXLStyling)(_styles.COLORS.black));
21
- exports.InformationHeader = InformationHeader;
22
- var InformationText = _styledComponents.default.p(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n margin: 8px 0;\n"])), (0, _typography.ParagraphLStyling)(_styles.ParagraphTextStyle.Regular, _styles.COLORS.neutral_600));
23
- exports.InformationText = InformationText;
24
- var InformationImage = _styledComponents.default.img(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n height: 275px;\n max-width: 100%;\n"])));
25
- exports.InformationImage = InformationImage;
26
- //# sourceMappingURL=Information.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Information.cjs","names":["InformationContainer","styled","AuthPageSection","props","$color","BREAKPOINTS","MEDIUM","InformationContent","div","LARGE","InformationHeader","h2","HeadlineXLStyling","COLORS","black","InformationText","p","ParagraphLStyling","ParagraphTextStyle","Regular","neutral_600","InformationImage","img"],"sources":["../../src/AuthPage/Information.tsx"],"sourcesContent":["import * as React from 'react';\nimport styled from 'styled-components';\nimport AuthPageSection from './_AuthPageSection';\nimport { BREAKPOINTS, COLORS, ComponentTextStyle, HeadlineXL, ParagraphTextStyle } from '../styles';\nimport { ComponentLStyling, HeadlineXLStyling, ParagraphLStyling } from '../styles/typography';\n\nexport const InformationContainer = styled(AuthPageSection)<{ $color: string }>`\n display: none;\n background: ${(props) => props.$color};\n\n ${BREAKPOINTS.MEDIUM} {\n display: flex;\n padding-top: 56px;\n }\n`;\n\nexport const InformationContent = styled.div`\n display: flex;\n flex-direction: column;\n align-self: center;\n align-items: center;\n text-align: center;\n max-width: 100%;\n\n ${BREAKPOINTS.LARGE} {\n align-self: flex-end;\n margin-right: 48px;\n }\n`;\n\nexport const InformationHeader = styled.h2`\n ${HeadlineXLStyling(COLORS.black)}\n font-weight: 300;\n margin-bottom: 0;\n`;\n\nexport const InformationText = styled.p`\n ${ParagraphLStyling(ParagraphTextStyle.Regular, COLORS.neutral_600)}\n margin: 8px 0;\n`;\n\nexport const InformationImage = styled.img`\n height: 275px;\n max-width: 100%;\n`;\n"],"mappings":";;;;;;;;AACA;AACA;AACA;AACA;AAA+F;AAExF,IAAMA,oBAAoB,GAAG,IAAAC,yBAAM,EAACC,wBAAe,CAAC,0LAE3C,UAACC,KAAK;EAAA,OAAKA,KAAK,CAACC,MAAM;AAAA,GAEnCC,mBAAW,CAACC,MAAM,CAIrB;AAAC;AAEK,IAAMC,kBAAkB,GAAGN,yBAAM,CAACO,GAAG,oSAQxCH,mBAAW,CAACI,KAAK,CAIpB;AAAC;AAEK,IAAMC,iBAAiB,GAAGT,yBAAM,CAACU,EAAE,0IACtC,IAAAC,6BAAiB,EAACC,cAAM,CAACC,KAAK,CAAC,CAGlC;AAAC;AAEK,IAAMC,eAAe,GAAGd,yBAAM,CAACe,CAAC,kHACnC,IAAAC,6BAAiB,EAACC,0BAAkB,CAACC,OAAO,EAAEN,cAAM,CAACO,WAAW,CAAC,CAEpE;AAAC;AAEK,IAAMC,gBAAgB,GAAGpB,yBAAM,CAACqB,GAAG,6HAGzC;AAAC"}
@@ -1,7 +0,0 @@
1
- export declare const InformationContainer: import("styled-components").StyledComponent<"section", any, {
2
- $color: string;
3
- }, never>;
4
- export declare const InformationContent: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const InformationHeader: import("styled-components").StyledComponent<"h2", any, {}, never>;
6
- export declare const InformationText: import("styled-components").StyledComponent<"p", any, {}, never>;
7
- export declare const InformationImage: import("styled-components").StyledComponent<"img", any, {}, never>;
@@ -1,14 +0,0 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
3
- import styled from 'styled-components';
4
- import AuthPageSection from './_AuthPageSection';
5
- import { BREAKPOINTS, COLORS, ParagraphTextStyle } from '../styles';
6
- import { HeadlineXLStyling, ParagraphLStyling } from '../styles/typography';
7
- export var InformationContainer = styled(AuthPageSection)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: none;\n background: ", ";\n\n ", " {\n display: flex;\n padding-top: 56px;\n }\n"])), function (props) {
8
- return props.$color;
9
- }, BREAKPOINTS.MEDIUM);
10
- export var InformationContent = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-self: center;\n align-items: center;\n text-align: center;\n max-width: 100%;\n\n ", " {\n align-self: flex-end;\n margin-right: 48px;\n }\n"])), BREAKPOINTS.LARGE);
11
- export var InformationHeader = styled.h2(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n font-weight: 300;\n margin-bottom: 0;\n"])), HeadlineXLStyling(COLORS.black));
12
- export var InformationText = styled.p(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n margin: 8px 0;\n"])), ParagraphLStyling(ParagraphTextStyle.Regular, COLORS.neutral_600));
13
- export var InformationImage = styled.img(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n height: 275px;\n max-width: 100%;\n"])));
14
- //# sourceMappingURL=Information.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Information.js","names":["styled","AuthPageSection","BREAKPOINTS","COLORS","ParagraphTextStyle","HeadlineXLStyling","ParagraphLStyling","InformationContainer","props","$color","MEDIUM","InformationContent","div","LARGE","InformationHeader","h2","black","InformationText","p","Regular","neutral_600","InformationImage","img"],"sources":["../../src/AuthPage/Information.tsx"],"sourcesContent":["import * as React from 'react';\nimport styled from 'styled-components';\nimport AuthPageSection from './_AuthPageSection';\nimport { BREAKPOINTS, COLORS, ComponentTextStyle, HeadlineXL, ParagraphTextStyle } from '../styles';\nimport { ComponentLStyling, HeadlineXLStyling, ParagraphLStyling } from '../styles/typography';\n\nexport const InformationContainer = styled(AuthPageSection)<{ $color: string }>`\n display: none;\n background: ${(props) => props.$color};\n\n ${BREAKPOINTS.MEDIUM} {\n display: flex;\n padding-top: 56px;\n }\n`;\n\nexport const InformationContent = styled.div`\n display: flex;\n flex-direction: column;\n align-self: center;\n align-items: center;\n text-align: center;\n max-width: 100%;\n\n ${BREAKPOINTS.LARGE} {\n align-self: flex-end;\n margin-right: 48px;\n }\n`;\n\nexport const InformationHeader = styled.h2`\n ${HeadlineXLStyling(COLORS.black)}\n font-weight: 300;\n margin-bottom: 0;\n`;\n\nexport const InformationText = styled.p`\n ${ParagraphLStyling(ParagraphTextStyle.Regular, COLORS.neutral_600)}\n margin: 8px 0;\n`;\n\nexport const InformationImage = styled.img`\n height: 275px;\n max-width: 100%;\n`;\n"],"mappings":";;AACA,OAAOA,MAAM,MAAM,mBAAmB;AACtC,OAAOC,eAAe,MAAM,oBAAoB;AAChD,SAASC,WAAW,EAAEC,MAAM,EAAkCC,kBAAkB,QAAQ,WAAW;AACnG,SAA4BC,iBAAiB,EAAEC,iBAAiB,QAAQ,sBAAsB;AAE9F,OAAO,IAAMC,oBAAoB,GAAGP,MAAM,CAACC,eAAe,CAAC,4KAE3C,UAACO,KAAK;EAAA,OAAKA,KAAK,CAACC,MAAM;AAAA,GAEnCP,WAAW,CAACQ,MAAM,CAIrB;AAED,OAAO,IAAMC,kBAAkB,GAAGX,MAAM,CAACY,GAAG,sRAQxCV,WAAW,CAACW,KAAK,CAIpB;AAED,OAAO,IAAMC,iBAAiB,GAAGd,MAAM,CAACe,EAAE,4HACtCV,iBAAiB,CAACF,MAAM,CAACa,KAAK,CAAC,CAGlC;AAED,OAAO,IAAMC,eAAe,GAAGjB,MAAM,CAACkB,CAAC,oGACnCZ,iBAAiB,CAACF,kBAAkB,CAACe,OAAO,EAAEhB,MAAM,CAACiB,WAAW,CAAC,CAEpE;AAED,OAAO,IAAMC,gBAAgB,GAAGrB,MAAM,CAACsB,GAAG,+GAGzC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
9
- var _styledComponents = _interopRequireDefault(require("styled-components"));
10
- var _styles = require("../styles");
11
- var _templateObject;
12
- var AuthPageSection = _styledComponents.default.section(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex: 1;\n flex-direction: column;\n\n ", " {\n padding: 24px;\n width: calc(50% - 48px);\n }\n"])), _styles.BREAKPOINTS.MEDIUM);
13
- var _default = AuthPageSection;
14
- exports.default = _default;
15
- //# sourceMappingURL=_AuthPageSection.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_AuthPageSection.cjs","names":["AuthPageSection","styled","section","BREAKPOINTS","MEDIUM"],"sources":["../../src/AuthPage/_AuthPageSection.tsx"],"sourcesContent":["import styled from 'styled-components';\nimport { BREAKPOINTS } from '../styles';\n\nconst AuthPageSection = styled.section`\n display: flex;\n flex: 1;\n flex-direction: column;\n\n ${BREAKPOINTS.MEDIUM} {\n padding: 24px;\n width: calc(50% - 48px);\n }\n`;\n\nexport default AuthPageSection;\n"],"mappings":";;;;;;;;AAAA;AACA;AAAwC;AAExC,IAAMA,eAAe,GAAGC,yBAAM,CAACC,OAAO,kNAKlCC,mBAAW,CAACC,MAAM,CAIrB;AAAC,eAEaJ,eAAe;AAAA"}
@@ -1,2 +0,0 @@
1
- declare const AuthPageSection: import("styled-components").StyledComponent<"section", any, {}, never>;
2
- export default AuthPageSection;