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

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 (135) hide show
  1. package/dist/Accordion/ContentAccordion.cjs +3 -5
  2. package/dist/Accordion/ContentAccordion.cjs.map +1 -1
  3. package/dist/Accordion/ContentAccordion.d.ts +1 -1
  4. package/dist/Accordion/ContentAccordion.js +3 -5
  5. package/dist/Accordion/ContentAccordion.js.map +1 -1
  6. package/dist/AuthPage/AuthPage.cjs +21 -43
  7. package/dist/AuthPage/AuthPage.cjs.map +1 -1
  8. package/dist/AuthPage/AuthPage.d.ts +4 -28
  9. package/dist/AuthPage/AuthPage.js +21 -44
  10. package/dist/AuthPage/AuthPage.js.map +1 -1
  11. package/dist/AuthPage/ScreenSetsContainer.cjs +2 -3
  12. package/dist/AuthPage/ScreenSetsContainer.cjs.map +1 -1
  13. package/dist/AuthPage/ScreenSetsContainer.js +2 -3
  14. package/dist/AuthPage/ScreenSetsContainer.js.map +1 -1
  15. package/dist/AuthPage/index.cjs +0 -38
  16. package/dist/AuthPage/index.cjs.map +1 -1
  17. package/dist/AuthPage/index.d.ts +1 -3
  18. package/dist/AuthPage/index.js +1 -3
  19. package/dist/AuthPage/index.js.map +1 -1
  20. package/dist/Banners/Banner.cjs +1 -1
  21. package/dist/Banners/Banner.cjs.map +1 -1
  22. package/dist/Banners/Banner.js +1 -1
  23. package/dist/Banners/Banner.js.map +1 -1
  24. package/dist/Banners/OverviewBanner.cjs +1 -2
  25. package/dist/Banners/OverviewBanner.cjs.map +1 -1
  26. package/dist/Banners/OverviewBanner.js +1 -2
  27. package/dist/Banners/OverviewBanner.js.map +1 -1
  28. package/dist/Footer/Components/FooterNavSection.cjs +1 -1
  29. package/dist/Footer/Components/FooterNavSection.cjs.map +1 -1
  30. package/dist/Footer/Components/FooterNavSection.js +1 -1
  31. package/dist/Footer/Components/FooterNavSection.js.map +1 -1
  32. package/dist/Footer/SiteFooter.cjs +1 -1
  33. package/dist/Footer/SiteFooter.cjs.map +1 -1
  34. package/dist/Footer/SiteFooter.js +1 -1
  35. package/dist/Footer/SiteFooter.js.map +1 -1
  36. package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs +12 -7
  37. package/dist/GlobalNavigationBar/GlobalNavigationBar.cjs.map +1 -1
  38. package/dist/GlobalNavigationBar/GlobalNavigationBar.d.ts +2 -1
  39. package/dist/GlobalNavigationBar/GlobalNavigationBar.js +12 -7
  40. package/dist/GlobalNavigationBar/GlobalNavigationBar.js.map +1 -1
  41. package/dist/GlobalNavigationBar/Logo.cjs +3 -3
  42. package/dist/GlobalNavigationBar/Logo.cjs.map +1 -1
  43. package/dist/GlobalNavigationBar/Logo.js +3 -3
  44. package/dist/GlobalNavigationBar/Logo.js.map +1 -1
  45. package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs +1 -1
  46. package/dist/GlobalNavigationBar/desktop/DesktopActions.cjs.map +1 -1
  47. package/dist/GlobalNavigationBar/desktop/DesktopActions.js +1 -1
  48. package/dist/GlobalNavigationBar/desktop/DesktopActions.js.map +1 -1
  49. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs +1 -1
  50. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs.map +1 -1
  51. package/dist/GlobalNavigationBar/desktop/MainMenu.js +1 -1
  52. package/dist/GlobalNavigationBar/desktop/MainMenu.js.map +1 -1
  53. package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs +1 -1
  54. package/dist/GlobalNavigationBar/desktop/RightSideNav.cjs.map +1 -1
  55. package/dist/GlobalNavigationBar/desktop/RightSideNav.js +1 -1
  56. package/dist/GlobalNavigationBar/desktop/RightSideNav.js.map +1 -1
  57. package/dist/GlobalNavigationBar/desktop/UserMenu.cjs.map +1 -1
  58. package/dist/GlobalNavigationBar/desktop/UserMenu.js.map +1 -1
  59. package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs +2 -2
  60. package/dist/GlobalNavigationBar/mobile/CommonStyles.cjs.map +1 -1
  61. package/dist/GlobalNavigationBar/mobile/CommonStyles.js +3 -5
  62. package/dist/GlobalNavigationBar/mobile/CommonStyles.js.map +1 -1
  63. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs +1 -1
  64. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs.map +1 -1
  65. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js +2 -2
  66. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js.map +1 -1
  67. package/dist/InputFields/DatepickerField.d.ts +1 -1
  68. package/dist/InputFields/NumberField.d.ts +1 -1
  69. package/dist/InputFields/PasswordField.d.ts +1 -1
  70. package/dist/InputFields/TextField.d.ts +1 -1
  71. package/dist/Layouts/index.cjs +17 -9
  72. package/dist/Layouts/index.cjs.map +1 -1
  73. package/dist/Layouts/index.d.ts +1 -0
  74. package/dist/Layouts/index.js +17 -9
  75. package/dist/Layouts/index.js.map +1 -1
  76. package/dist/NavItem/NavItem.cjs +2 -6
  77. package/dist/NavItem/NavItem.cjs.map +1 -1
  78. package/dist/NavItem/NavItem.js +3 -7
  79. package/dist/NavItem/NavItem.js.map +1 -1
  80. package/dist/Panel/Panel.cjs +138 -0
  81. package/dist/Panel/Panel.cjs.map +1 -0
  82. package/dist/Panel/Panel.d.ts +29 -0
  83. package/dist/Panel/Panel.js +131 -0
  84. package/dist/Panel/Panel.js.map +1 -0
  85. package/dist/Panel/index.cjs +17 -0
  86. package/dist/Panel/index.cjs.map +1 -0
  87. package/dist/Panel/index.d.ts +1 -0
  88. package/dist/Panel/index.js +2 -0
  89. package/dist/Panel/index.js.map +1 -0
  90. package/dist/Tabs/TabLink.cjs.map +1 -1
  91. package/dist/Tabs/TabLink.js.map +1 -1
  92. package/dist/common/NavigationHelper.cjs +2 -3
  93. package/dist/common/NavigationHelper.cjs.map +1 -1
  94. package/dist/common/NavigationHelper.js +1 -2
  95. package/dist/common/NavigationHelper.js.map +1 -1
  96. package/dist/index.cjs +12 -0
  97. package/dist/index.cjs.map +1 -1
  98. package/dist/index.d.ts +1 -0
  99. package/dist/index.js +1 -0
  100. package/dist/index.js.map +1 -1
  101. package/dist/styles/breakpoints.cjs +2 -4
  102. package/dist/styles/breakpoints.cjs.map +1 -1
  103. package/dist/styles/breakpoints.d.ts +0 -2
  104. package/dist/styles/breakpoints.js +2 -4
  105. package/dist/styles/breakpoints.js.map +1 -1
  106. package/dist/styles/global.cjs +2 -1
  107. package/dist/styles/global.cjs.map +1 -1
  108. package/dist/styles/global.js +2 -1
  109. package/dist/styles/global.js.map +1 -1
  110. package/dist/styles/index.cjs +11 -259
  111. package/dist/styles/index.cjs.map +1 -1
  112. package/dist/styles/index.d.ts +1 -12
  113. package/dist/styles/index.js +1 -12
  114. package/dist/styles/index.js.map +1 -1
  115. package/dist/styles/typography.cjs +53 -301
  116. package/dist/styles/typography.cjs.map +1 -1
  117. package/dist/styles/typography.d.ts +7 -45
  118. package/dist/styles/typography.js +45 -281
  119. package/dist/styles/typography.js.map +1 -1
  120. package/package.json +2 -1
  121. package/dist/AuthPage/Information.cjs +0 -26
  122. package/dist/AuthPage/Information.cjs.map +0 -1
  123. package/dist/AuthPage/Information.d.ts +0 -7
  124. package/dist/AuthPage/Information.js +0 -14
  125. package/dist/AuthPage/Information.js.map +0 -1
  126. package/dist/AuthPage/_AuthPageSection.cjs +0 -15
  127. package/dist/AuthPage/_AuthPageSection.cjs.map +0 -1
  128. package/dist/AuthPage/_AuthPageSection.d.ts +0 -2
  129. package/dist/AuthPage/_AuthPageSection.js +0 -7
  130. package/dist/AuthPage/_AuthPageSection.js.map +0 -1
  131. package/dist/AuthPage/screenSetsErrorMessages.cjs +0 -13
  132. package/dist/AuthPage/screenSetsErrorMessages.cjs.map +0 -1
  133. package/dist/AuthPage/screenSetsErrorMessages.d.ts +0 -5
  134. package/dist/AuthPage/screenSetsErrorMessages.js +0 -6
  135. package/dist/AuthPage/screenSetsErrorMessages.js.map +0 -1
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.TypographyBase = exports.ParagraphXlStyling = exports.ParagraphXSStyling = exports.ParagraphXS = exports.ParagraphXL = exports.ParagraphTextStyle = exports.ParagraphSStyling = exports.ParagraphS = exports.ParagraphMStyling = exports.ParagraphM = exports.ParagraphLStyling = exports.ParagraphL = exports.HeadlineXXSStyling = exports.HeadlineXXS = exports.HeadlineXSStyling = exports.HeadlineXS = exports.HeadlineXLStyling = exports.HeadlineXL = exports.HeadlineSStyling = exports.HeadlineS = exports.HeadlineMStyling = exports.HeadlineM = exports.HeadlineLStyling = exports.HeadlineL = exports.ComponentXXSStyling = exports.ComponentXXS = exports.ComponentXSStyling = exports.ComponentXS = exports.ComponentXLStyling = exports.ComponentXL = exports.ComponentTextStyle = exports.ComponentSStyling = exports.ComponentS = exports.ComponentResponsive = exports.ComponentMStyling = exports.ComponentM = exports.ComponentLStyling = exports.ComponentL = void 0;
8
+ exports.UpperCaseTypography = exports.UpperCase = exports.TypographyBase = exports.Typography = exports.QuoteTypography = exports.Quote = exports.NoteTypography = exports.Note = exports.ComponentXXSStyling = exports.ComponentXXS = exports.ComponentXSStyling = exports.ComponentXS = exports.ComponentXLStyling = exports.ComponentXL = exports.ComponentTextStyle = exports.ComponentSStyling = exports.ComponentS = exports.ComponentResponsive = exports.ComponentMStyling = exports.ComponentM = exports.ComponentLStyling = exports.ComponentL = void 0;
9
9
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
  var _react = _interopRequireDefault(require("react"));
@@ -13,7 +13,7 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
13
13
  var _ = require(".");
14
14
  var _types = require("../types");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
16
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
17
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
19
  var TypographyBase = (0, _styledComponents.default)('div')(function (_ref) {
@@ -35,268 +35,6 @@ var TypographyBase = (0, _styledComponents.default)('div')(function (_ref) {
35
35
  };
36
36
  });
37
37
  exports.TypographyBase = TypographyBase;
38
- var HeadlineBaseStyling = function HeadlineBaseStyling(fontSize, lineHeight, color) {
39
- return (0, _styledComponents.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", ";\n line-height: ", ";\n font-weight: 700;\n color: ", ";\n "])), fontSize, lineHeight, color);
40
- };
41
- var HeadlineBase = (0, _styledComponents.default)(TypographyBase)(function (_ref2) {
42
- var $color = _ref2.$color,
43
- lineHeight = _ref2.lineHeight,
44
- fontSize = _ref2.fontSize;
45
- return {
46
- fontSize: fontSize,
47
- fontWeight: 700,
48
- lineHeight: lineHeight,
49
- color: $color
50
- };
51
- });
52
- var HeadlineXLStyling = function HeadlineXLStyling(color) {
53
- return HeadlineBaseStyling('48px', '64px', color);
54
- };
55
- exports.HeadlineXLStyling = HeadlineXLStyling;
56
- var HeadlineXL = (0, _styledComponents.default)(HeadlineBase)(function (_ref3) {
57
- var $color = _ref3.$color;
58
- return {
59
- fontSize: '48px',
60
- lineHeight: '64px',
61
- color: $color
62
- };
63
- });
64
- exports.HeadlineXL = HeadlineXL;
65
- var HeadlineLStyling = function HeadlineLStyling(color) {
66
- return HeadlineBaseStyling('40px', '52px', color);
67
- };
68
- exports.HeadlineLStyling = HeadlineLStyling;
69
- var HeadlineL = (0, _styledComponents.default)(HeadlineBase)(function (_ref4) {
70
- var $color = _ref4.$color;
71
- return {
72
- fontSize: '40px',
73
- lineHeight: '52px',
74
- color: $color
75
- };
76
- });
77
- exports.HeadlineL = HeadlineL;
78
- var HeadlineMStyling = function HeadlineMStyling(color) {
79
- return HeadlineBaseStyling('32px', '40px', color);
80
- };
81
- exports.HeadlineMStyling = HeadlineMStyling;
82
- var HeadlineM = (0, _styledComponents.default)(HeadlineBase)(function (_ref5) {
83
- var $color = _ref5.$color;
84
- return {
85
- fontSize: '32px',
86
- lineHeight: '40px',
87
- color: $color
88
- };
89
- });
90
- exports.HeadlineM = HeadlineM;
91
- var HeadlineSStyling = function HeadlineSStyling(color) {
92
- return HeadlineBaseStyling('28px', '36px', color);
93
- };
94
- exports.HeadlineSStyling = HeadlineSStyling;
95
- var HeadlineS = (0, _styledComponents.default)(HeadlineBase)(function (_ref6) {
96
- var $color = _ref6.$color;
97
- return {
98
- fontSize: '28px',
99
- lineHeight: '36px',
100
- color: $color
101
- };
102
- });
103
- exports.HeadlineS = HeadlineS;
104
- var HeadlineXSStyling = function HeadlineXSStyling(color) {
105
- return HeadlineBaseStyling('24px', '32px', color);
106
- };
107
- exports.HeadlineXSStyling = HeadlineXSStyling;
108
- var HeadlineXS = (0, _styledComponents.default)(HeadlineBase)(function (_ref7) {
109
- var $color = _ref7.$color;
110
- return {
111
- fontSize: '24px',
112
- lineHeight: '32px',
113
- color: $color
114
- };
115
- });
116
- exports.HeadlineXS = HeadlineXS;
117
- var HeadlineXXSStyling = function HeadlineXXSStyling(color) {
118
- return HeadlineBaseStyling('20px', '24px', color);
119
- };
120
- exports.HeadlineXXSStyling = HeadlineXXSStyling;
121
- var HeadlineXXS = (0, _styledComponents.default)(HeadlineBase)(function (_ref8) {
122
- var $color = _ref8.$color;
123
- return {
124
- fontSize: '20px',
125
- lineHeight: '24px',
126
- color: $color
127
- };
128
- });
129
- exports.HeadlineXXS = HeadlineXXS;
130
- var ParagraphStyling = (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\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"])));
131
- var ParagraphBase = (0, _styledComponents.default)(TypographyBase)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\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) {
132
- return props.marginBetweenParagraphs || '0';
133
- }, ParagraphStyling);
134
- var ParagraphTextStyle;
135
- exports.ParagraphTextStyle = ParagraphTextStyle;
136
- (function (ParagraphTextStyle) {
137
- ParagraphTextStyle[ParagraphTextStyle["Regular"] = 1] = "Regular";
138
- ParagraphTextStyle[ParagraphTextStyle["Bold"] = 2] = "Bold";
139
- ParagraphTextStyle[ParagraphTextStyle["Italic"] = 3] = "Italic";
140
- ParagraphTextStyle[ParagraphTextStyle["Underline"] = 4] = "Underline";
141
- })(ParagraphTextStyle || (exports.ParagraphTextStyle = ParagraphTextStyle = {}));
142
- var paragraphFontWeight = function paragraphFontWeight(textStyle) {
143
- var fontWeight = 400;
144
- if (textStyle === ParagraphTextStyle.Bold) {
145
- fontWeight = 700;
146
- }
147
- return fontWeight;
148
- };
149
- var paragraphFontStyle = function paragraphFontStyle(textStyle) {
150
- var fontStyle = textStyle && textStyle === ParagraphTextStyle.Italic ? 'italic' : '';
151
- return fontStyle;
152
- };
153
- var paragraphTextDecorationLine = function paragraphTextDecorationLine(textStyle) {
154
- var textDecoration = textStyle && textStyle === ParagraphTextStyle.Underline ? 'underline' : 'none';
155
- return textDecoration;
156
- };
157
- var ParagraphBaseStyling = function ParagraphBaseStyling(fontSize, lineHeight, textStyle, color) {
158
- return (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n "])), fontSize, paragraphFontWeight(textStyle), lineHeight, paragraphFontStyle(textStyle), color);
159
- };
160
- var ParagraphXlStyling = function ParagraphXlStyling(textStyle, color) {
161
- return ParagraphBaseStyling('24px', '36px', textStyle, color);
162
- };
163
- exports.ParagraphXlStyling = ParagraphXlStyling;
164
- var ParagraphXL = function ParagraphXL(_ref9) {
165
- var color = _ref9.color,
166
- textStyle = _ref9.textStyle,
167
- children = _ref9.children;
168
- var fontWeight = paragraphFontWeight(textStyle);
169
- var fontStyle = paragraphFontStyle(textStyle);
170
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
171
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParagraphBase, {
172
- $color: color,
173
- lineHeight: 36,
174
- $fontSize: 24,
175
- $fontWeight: fontWeight,
176
- $fontStyle: fontStyle,
177
- textDecorationLine: textDecorationLine,
178
- marginBetweenParagraphs: "18px",
179
- children: children
180
- });
181
- };
182
- exports.ParagraphXL = ParagraphXL;
183
- ParagraphXL.propTypes = {
184
- color: _propTypes.default.string,
185
- textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
186
- children: _propTypes.default.node
187
- };
188
- var ParagraphLStyling = function ParagraphLStyling(textStyle, color) {
189
- return ParagraphBaseStyling('20px', '32px', textStyle, color);
190
- };
191
- exports.ParagraphLStyling = ParagraphLStyling;
192
- var ParagraphL = function ParagraphL(_ref10) {
193
- var color = _ref10.color,
194
- textStyle = _ref10.textStyle,
195
- children = _ref10.children;
196
- var fontWeight = paragraphFontWeight(textStyle);
197
- var fontStyle = paragraphFontStyle(textStyle);
198
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
199
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParagraphBase, {
200
- $color: color,
201
- lineHeight: 32,
202
- $fontSize: 20,
203
- $fontWeight: fontWeight,
204
- $fontStyle: fontStyle,
205
- textDecorationLine: textDecorationLine,
206
- marginBetweenParagraphs: "16px",
207
- children: children
208
- });
209
- };
210
- exports.ParagraphL = ParagraphL;
211
- ParagraphL.propTypes = {
212
- color: _propTypes.default.string,
213
- textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
214
- children: _propTypes.default.node
215
- };
216
- var ParagraphMStyling = function ParagraphMStyling(textStyle, color) {
217
- return ParagraphBaseStyling('18px', '28px', textStyle, color);
218
- };
219
- exports.ParagraphMStyling = ParagraphMStyling;
220
- var ParagraphM = function ParagraphM(_ref11) {
221
- var color = _ref11.color,
222
- textStyle = _ref11.textStyle,
223
- children = _ref11.children;
224
- var fontWeight = paragraphFontWeight(textStyle);
225
- var fontStyle = paragraphFontStyle(textStyle);
226
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
227
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParagraphBase, {
228
- $color: color,
229
- lineHeight: 28,
230
- $fontSize: 18,
231
- $fontWeight: fontWeight,
232
- $fontStyle: fontStyle,
233
- textDecorationLine: textDecorationLine,
234
- marginBetweenParagraphs: "14px",
235
- children: children
236
- });
237
- };
238
- exports.ParagraphM = ParagraphM;
239
- ParagraphM.propTypes = {
240
- color: _propTypes.default.string,
241
- textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
242
- children: _propTypes.default.node
243
- };
244
- var ParagraphSStyling = function ParagraphSStyling(textStyle, color) {
245
- return ParagraphBaseStyling('16px', '24px', textStyle, color);
246
- };
247
- exports.ParagraphSStyling = ParagraphSStyling;
248
- var ParagraphS = function ParagraphS(_ref12) {
249
- var color = _ref12.color,
250
- textStyle = _ref12.textStyle,
251
- children = _ref12.children;
252
- var fontWeight = paragraphFontWeight(textStyle);
253
- var fontStyle = paragraphFontStyle(textStyle);
254
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
255
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParagraphBase, {
256
- $color: color,
257
- lineHeight: 24,
258
- $fontSize: 16,
259
- $fontWeight: fontWeight,
260
- $fontStyle: fontStyle,
261
- textDecorationLine: textDecorationLine,
262
- marginBetweenParagraphs: "12px",
263
- children: children
264
- });
265
- };
266
- exports.ParagraphS = ParagraphS;
267
- ParagraphS.propTypes = {
268
- color: _propTypes.default.string,
269
- textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
270
- children: _propTypes.default.node
271
- };
272
- var ParagraphXSStyling = function ParagraphXSStyling(textStyle, color) {
273
- return ParagraphBaseStyling('14px', '20px', textStyle, color);
274
- };
275
- exports.ParagraphXSStyling = ParagraphXSStyling;
276
- var ParagraphXS = function ParagraphXS(_ref13) {
277
- var color = _ref13.color,
278
- textStyle = _ref13.textStyle,
279
- children = _ref13.children;
280
- var fontWeight = paragraphFontWeight(textStyle);
281
- var fontStyle = paragraphFontStyle(textStyle);
282
- var textDecorationLine = paragraphTextDecorationLine(textStyle);
283
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(ParagraphBase, {
284
- $color: color,
285
- lineHeight: 20,
286
- $fontSize: 14,
287
- $fontWeight: fontWeight,
288
- $fontStyle: fontStyle,
289
- textDecorationLine: textDecorationLine,
290
- marginBetweenParagraphs: "10px",
291
- children: children
292
- });
293
- };
294
- exports.ParagraphXS = ParagraphXS;
295
- ParagraphXS.propTypes = {
296
- color: _propTypes.default.string,
297
- textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
298
- children: _propTypes.default.node
299
- };
300
38
  var ComponentTextStyle;
301
39
  exports.ComponentTextStyle = ComponentTextStyle;
302
40
  (function (ComponentTextStyle) {
@@ -321,17 +59,17 @@ var componentTextTransformation = function componentTextTransformation(textStyle
321
59
  return fontStyle;
322
60
  };
323
61
  var ComponentStyling = function ComponentStyling(fontSize, lineHeight, textStyle, color) {
324
- return (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\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, ";"));
62
+ return (0, _styledComponents.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\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, ";"));
325
63
  };
326
64
  var ComponentXLStyling = function ComponentXLStyling(textStyle, color) {
327
65
  return ComponentStyling('24px', '28px', textStyle, color);
328
66
  };
329
67
  exports.ComponentXLStyling = ComponentXLStyling;
330
- var ComponentXL = function ComponentXL(_ref14) {
331
- var color = _ref14.color,
332
- textStyle = _ref14.textStyle,
333
- children = _ref14.children,
334
- className = _ref14.className;
68
+ var ComponentXL = function ComponentXL(_ref2) {
69
+ var color = _ref2.color,
70
+ textStyle = _ref2.textStyle,
71
+ children = _ref2.children,
72
+ className = _ref2.className;
335
73
  var fontWeight = componentFontWeight(textStyle);
336
74
  var fontStyle = componentFontStyle(textStyle);
337
75
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(TypographyBase, {
@@ -355,11 +93,11 @@ var ComponentLStyling = function ComponentLStyling(textStyle, color) {
355
93
  return ComponentStyling('20px', '24px', textStyle, color);
356
94
  };
357
95
  exports.ComponentLStyling = ComponentLStyling;
358
- var ComponentL = function ComponentL(_ref15) {
359
- var color = _ref15.color,
360
- textStyle = _ref15.textStyle,
361
- children = _ref15.children,
362
- className = _ref15.className;
96
+ var ComponentL = function ComponentL(_ref3) {
97
+ var color = _ref3.color,
98
+ textStyle = _ref3.textStyle,
99
+ children = _ref3.children,
100
+ className = _ref3.className;
363
101
  var fontWeight = componentFontWeight(textStyle);
364
102
  var fontStyle = componentFontStyle(textStyle);
365
103
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(TypographyBase, {
@@ -383,11 +121,11 @@ var ComponentMStyling = function ComponentMStyling(textStyle, color) {
383
121
  return ComponentStyling('18px', '24px', textStyle, color);
384
122
  };
385
123
  exports.ComponentMStyling = ComponentMStyling;
386
- var ComponentM = function ComponentM(_ref16) {
387
- var color = _ref16.color,
388
- textStyle = _ref16.textStyle,
389
- children = _ref16.children,
390
- className = _ref16.className;
124
+ var ComponentM = function ComponentM(_ref4) {
125
+ var color = _ref4.color,
126
+ textStyle = _ref4.textStyle,
127
+ children = _ref4.children,
128
+ className = _ref4.className;
391
129
  var fontWeight = componentFontWeight(textStyle);
392
130
  var fontStyle = componentFontStyle(textStyle);
393
131
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(TypographyBase, {
@@ -411,11 +149,11 @@ var ComponentSStyling = function ComponentSStyling(textStyle, color) {
411
149
  return ComponentStyling('16px', '20px', textStyle, color);
412
150
  };
413
151
  exports.ComponentSStyling = ComponentSStyling;
414
- var ComponentS = function ComponentS(_ref17) {
415
- var color = _ref17.color,
416
- textStyle = _ref17.textStyle,
417
- children = _ref17.children,
418
- className = _ref17.className;
152
+ var ComponentS = function ComponentS(_ref5) {
153
+ var color = _ref5.color,
154
+ textStyle = _ref5.textStyle,
155
+ children = _ref5.children,
156
+ className = _ref5.className;
419
157
  var fontWeight = componentFontWeight(textStyle);
420
158
  var fontStyle = componentFontStyle(textStyle);
421
159
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(TypographyBase, {
@@ -439,11 +177,11 @@ var ComponentXSStyling = function ComponentXSStyling(textStyle, color) {
439
177
  return ComponentStyling('14px', '16px', textStyle, color);
440
178
  };
441
179
  exports.ComponentXSStyling = ComponentXSStyling;
442
- var ComponentXS = function ComponentXS(_ref18) {
443
- var color = _ref18.color,
444
- textStyle = _ref18.textStyle,
445
- children = _ref18.children,
446
- className = _ref18.className;
180
+ var ComponentXS = function ComponentXS(_ref6) {
181
+ var color = _ref6.color,
182
+ textStyle = _ref6.textStyle,
183
+ children = _ref6.children,
184
+ className = _ref6.className;
447
185
  var fontWeight = componentFontWeight(textStyle);
448
186
  var fontStyle = componentFontStyle(textStyle);
449
187
  var textTransform = componentTextTransformation(textStyle);
@@ -469,11 +207,11 @@ var ComponentXXSStyling = function ComponentXXSStyling(textStyle, color) {
469
207
  return ComponentStyling('12px', '16px', textStyle, color);
470
208
  };
471
209
  exports.ComponentXXSStyling = ComponentXXSStyling;
472
- var ComponentXXS = function ComponentXXS(_ref19) {
473
- var color = _ref19.color,
474
- textStyle = _ref19.textStyle,
475
- children = _ref19.children,
476
- className = _ref19.className;
210
+ var ComponentXXS = function ComponentXXS(_ref7) {
211
+ var color = _ref7.color,
212
+ textStyle = _ref7.textStyle,
213
+ children = _ref7.children,
214
+ className = _ref7.className;
477
215
  var fontWeight = componentFontWeight(textStyle);
478
216
  var fontStyle = componentFontStyle(textStyle);
479
217
  var textTransform = componentTextTransformation(textStyle);
@@ -495,12 +233,12 @@ ComponentXXS.propTypes = {
495
233
  textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
496
234
  children: _propTypes.default.node
497
235
  };
498
- var ComponentResponsive = function ComponentResponsive(_ref20) {
499
- var color = _ref20.color,
500
- textStyle = _ref20.textStyle,
501
- children = _ref20.children,
502
- size = _ref20.size,
503
- width = _ref20.width;
236
+ var ComponentResponsive = function ComponentResponsive(_ref8) {
237
+ var color = _ref8.color,
238
+ textStyle = _ref8.textStyle,
239
+ children = _ref8.children,
240
+ size = _ref8.size,
241
+ width = _ref8.width;
504
242
  var fontsize = size;
505
243
  if (!size) {
506
244
  if (width == -1) {
@@ -554,4 +292,18 @@ ComponentResponsive.propTypes = {
554
292
  textStyle: _propTypes.default.oneOf([1, 2, 3, 4]),
555
293
  children: _propTypes.default.node
556
294
  };
295
+ var Typography = (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\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"])));
296
+ exports.Typography = Typography;
297
+ var QuoteTypography = (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 1.5rem;\n line-height: 150%;\n margin-bottom: 0.75rem;\n"])));
298
+ exports.QuoteTypography = QuoteTypography;
299
+ var NoteTypography = (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 0.75rem;\n line-height: 150%;\n margin-bottom: 0.375rem;\n"])));
300
+ exports.NoteTypography = NoteTypography;
301
+ var UpperCaseTypography = (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-size: 0.75rem;\n line-height: 150%;\n font-weight: 700;\n text-transform: uppercase;\n"])));
302
+ exports.UpperCaseTypography = UpperCaseTypography;
303
+ var Note = _styledComponents.default.p(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n"])), NoteTypography);
304
+ exports.Note = Note;
305
+ var Quote = _styledComponents.default.p(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n"])), QuoteTypography);
306
+ exports.Quote = Quote;
307
+ var UpperCase = _styledComponents.default.p(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n"])), UpperCaseTypography);
308
+ exports.UpperCase = UpperCase;
557
309
  //# sourceMappingURL=typography.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.cjs","names":["TypographyBase","styled","$color","lineHeight","$fontSize","$fontWeight","$fontStyle","textTransform","textDecorationLine","fontSize","fontWeight","fontStyle","color","COLORS","black","HeadlineBaseStyling","css","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","Size","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;AACA;AACA;AAEA;AAAgC;AAAA;AAAA;AAAA;AAYzB,IAAMA,cAAc,GAAG,IAAAC,yBAAM,EAAC,KAAK,CAAC,CAAkB;EAAA,IAAGC,MAAM,QAANA,MAAM;IAAEC,UAAU,QAA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AAS,EAAEwB,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAG;IACjF,KAAKgC,WAAI,CAACK,MAAM;MACd,oBAAO,qBAAC,WAAW;QAAC,KAAK,EAAEvE,KAAM;QAAC,SAAS,EAAEwB,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAG;IAChF,KAAKgC,WAAI,CAACE,KAAK;MACb,oBAAO,qBAAC,UAAU;QAAC,KAAK,EAAEpE,KAAM;QAAC,SAAS,EAAEwB,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAG;IAC/E,KAAKgC,WAAI,CAACC,MAAM;MACd,oBAAO,qBAAC,UAAU;QAAC,KAAK,EAAEnE,KAAM;QAAC,SAAS,EAAEwB,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAG;IAC/E,KAAKgC,WAAI,CAACG,KAAK;IACf;MACE,oBAAO,qBAAC,UAAU;QAAC,KAAK,EAAErE,KAAM;QAAC,SAAS,EAAEwB,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAG;EAAC;AAEpF,CAAC;AAAC;AAAA;EAhIAlC,KAAK;EACLmD,SAAS;EACT3B,SAAS;EACTU,QAAQ;AAAA"}
1
+ {"version":3,"file":"typography.cjs","names":["TypographyBase","styled","$color","lineHeight","$fontSize","$fontWeight","$fontStyle","textTransform","textDecorationLine","fontSize","fontWeight","fontStyle","color","COLORS","black","ComponentTextStyle","componentFontWeight","textStyle","Bold","UppercaseBold","componentFontStyle","Italic","componentTextTransformation","ComponentStyling","css","ComponentXLStyling","ComponentXL","children","className","ComponentLStyling","ComponentL","ComponentMStyling","ComponentM","ComponentSStyling","ComponentS","ComponentXSStyling","ComponentXS","ComponentXXSStyling","ComponentXXS","ComponentResponsive","size","width","fontsize","Size","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;AACA;AACA;AAEA;AAA8B;AAAA;AAAA;AAAA;AAYvB,IAAMA,cAAc,GAAG,IAAAC,yBAAM,EAAC,KAAK,CAAC,CAAkB;EAAA,IACGC,MAAM,QAANA,MAAM;IACNC,UAAU,QAAVA,UAAU;IACVC,SAAS,QAATA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AC,KAAK,EAAElC,KAAM;QAAC,SAAS,EAAEK,SAAU;QAAC,QAAQ,EAAEU;MAAS,EAAE;EAAC;AAEnF,CAAC;AAAC;AAAA;EA5IAf,KAAK;EACLgB,SAAS;EACTX,SAAS;EACTU,QAAQ;AAAA;AA2IH,IAAMsB,UAAU,OAAGzB,qBAAG,ulCA+E5B;AAAC;AAEK,IAAM0B,eAAe,OAAG1B,qBAAG,+JAIjC;AAAC;AAEK,IAAM2B,cAAc,OAAG3B,qBAAG,iKAIhC;AAAC;AAEK,IAAM4B,mBAAmB,OAAG5B,qBAAG,wLAKrC;AAAC;AAEK,IAAM6B,IAAI,GAAGpD,yBAAM,CAACqD,CAAC,gGACxBH,cAAc,CACjB;AAAC;AAEK,IAAMI,KAAK,GAAGtD,yBAAM,CAACqD,CAAC,gGACzBJ,eAAe,CAClB;AAAC;AAEK,IAAMM,SAAS,GAAGvD,yBAAM,CAACqD,CAAC,gGAC7BF,mBAAmB,CACtB;AAAC"}
@@ -11,47 +11,6 @@ interface ITypographyBase {
11
11
  textDecorationLine?: Property.TextDecorationLine;
12
12
  }
13
13
  export declare const TypographyBase: import("styled-components").StyledComponent<"div", any, ITypographyBase, never>;
14
- interface IHeadline {
15
- $color?: string;
16
- }
17
- interface IHeadlineBase {
18
- $color?: string;
19
- lineHeight: number;
20
- fontSize: number;
21
- }
22
- declare const HeadlineXLStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
23
- declare const HeadlineXL: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
24
- declare const HeadlineLStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
25
- declare const HeadlineL: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
26
- declare const HeadlineMStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
27
- declare const HeadlineM: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
28
- declare const HeadlineSStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
29
- declare const HeadlineS: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
30
- declare const HeadlineXSStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
31
- declare const HeadlineXS: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
32
- declare const HeadlineXXSStyling: (color: string) => import("styled-components").FlattenSimpleInterpolation;
33
- declare const HeadlineXXS: import("styled-components").StyledComponent<"div", any, ITypographyBase & IHeadlineBase & IHeadline, never>;
34
- declare enum ParagraphTextStyle {
35
- Regular = 1,
36
- Bold = 2,
37
- Italic = 3,
38
- Underline = 4
39
- }
40
- type ParagraphProps = {
41
- color?: string;
42
- textStyle?: ParagraphTextStyle;
43
- children?: React.ReactNode;
44
- };
45
- declare const ParagraphXlStyling: (textStyle: ParagraphTextStyle, color: string) => import("styled-components").FlattenSimpleInterpolation;
46
- declare const ParagraphXL: React.FunctionComponent<ParagraphProps>;
47
- declare const ParagraphLStyling: (textStyle: ParagraphTextStyle, color: string) => import("styled-components").FlattenSimpleInterpolation;
48
- declare const ParagraphL: React.FunctionComponent<ParagraphProps>;
49
- declare const ParagraphMStyling: (textStyle: ParagraphTextStyle, color: string) => import("styled-components").FlattenSimpleInterpolation;
50
- declare const ParagraphM: React.FunctionComponent<ParagraphProps>;
51
- declare const ParagraphSStyling: (textStyle: ParagraphTextStyle, color: string) => import("styled-components").FlattenSimpleInterpolation;
52
- declare const ParagraphS: React.FunctionComponent<ParagraphProps>;
53
- declare const ParagraphXSStyling: (textStyle: ParagraphTextStyle, color: string) => import("styled-components").FlattenSimpleInterpolation;
54
- declare const ParagraphXS: React.FunctionComponent<ParagraphProps>;
55
14
  declare enum ComponentTextStyle {
56
15
  Regular = 1,
57
16
  Bold = 2,
@@ -80,9 +39,12 @@ declare const ComponentResponsive: React.FunctionComponent<ComponentProps & {
80
39
  size?: Size;
81
40
  width: number;
82
41
  }>;
83
- export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
84
- export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
42
+ export declare const Typography: import("styled-components").FlattenSimpleInterpolation;
43
+ export declare const QuoteTypography: import("styled-components").FlattenSimpleInterpolation;
44
+ export declare const NoteTypography: import("styled-components").FlattenSimpleInterpolation;
45
+ export declare const UpperCaseTypography: import("styled-components").FlattenSimpleInterpolation;
46
+ export declare const Note: import("styled-components").StyledComponent<"p", any, {}, never>;
47
+ export declare const Quote: import("styled-components").StyledComponent<"p", any, {}, never>;
48
+ export declare const UpperCase: import("styled-components").StyledComponent<"p", any, {}, never>;
85
49
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
86
50
  export { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling };
87
- export { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling };
88
- export { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling };