@laerdal/life-react-components 1.9.9 → 1.10.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 (340) hide show
  1. package/dist/Accordion/AccordionItem.cjs +4 -3
  2. package/dist/Accordion/AccordionItem.cjs.map +1 -1
  3. package/dist/Accordion/AccordionItem.d.ts +0 -1
  4. package/dist/Accordion/AccordionItem.js +4 -3
  5. package/dist/Accordion/AccordionItem.js.map +1 -1
  6. package/dist/Accordion/AccordionMenu.cjs +5 -5
  7. package/dist/Accordion/AccordionMenu.cjs.map +1 -1
  8. package/dist/Accordion/AccordionMenu.d.ts +1 -2
  9. package/dist/Accordion/AccordionMenu.js +5 -5
  10. package/dist/Accordion/AccordionMenu.js.map +1 -1
  11. package/dist/Accordion/ContentAccordion.cjs +18 -15
  12. package/dist/Accordion/ContentAccordion.cjs.map +1 -1
  13. package/dist/Accordion/ContentAccordion.d.ts +1 -1
  14. package/dist/Accordion/ContentAccordion.js +19 -16
  15. package/dist/Accordion/ContentAccordion.js.map +1 -1
  16. package/dist/Accordion/styles.cjs +3 -5
  17. package/dist/Accordion/styles.cjs.map +1 -1
  18. package/dist/Accordion/styles.d.ts +0 -1
  19. package/dist/Accordion/styles.js +3 -5
  20. package/dist/Accordion/styles.js.map +1 -1
  21. package/dist/Breadcrumb/Breadcrumb.cjs +10 -46
  22. package/dist/Breadcrumb/Breadcrumb.cjs.map +1 -1
  23. package/dist/Breadcrumb/Breadcrumb.js +8 -43
  24. package/dist/Breadcrumb/Breadcrumb.js.map +1 -1
  25. package/dist/Breadcrumb/styles.cjs +55 -0
  26. package/dist/Breadcrumb/styles.cjs.map +1 -0
  27. package/dist/Breadcrumb/styles.d.ts +7 -0
  28. package/dist/Breadcrumb/styles.js +39 -0
  29. package/dist/Breadcrumb/styles.js.map +1 -0
  30. package/dist/Button/Button.cjs +11 -19
  31. package/dist/Button/Button.cjs.map +1 -1
  32. package/dist/Button/Button.js +11 -19
  33. package/dist/Button/Button.js.map +1 -1
  34. package/dist/Button/DualFunctionButton.cjs +1 -0
  35. package/dist/Button/DualFunctionButton.cjs.map +1 -1
  36. package/dist/Button/DualFunctionButton.js +1 -0
  37. package/dist/Button/DualFunctionButton.js.map +1 -1
  38. package/dist/Button/Iconbutton.cjs +2 -1
  39. package/dist/Button/Iconbutton.cjs.map +1 -1
  40. package/dist/Button/Iconbutton.d.ts +1 -0
  41. package/dist/Button/Iconbutton.js +1 -1
  42. package/dist/Button/Iconbutton.js.map +1 -1
  43. package/dist/Card/HorizontalCard/HorizontalCard.cjs +97 -0
  44. package/dist/Card/HorizontalCard/HorizontalCard.cjs.map +1 -0
  45. package/dist/Card/HorizontalCard/HorizontalCard.d.ts +4 -0
  46. package/dist/Card/HorizontalCard/HorizontalCard.js +74 -0
  47. package/dist/Card/HorizontalCard/HorizontalCard.js.map +1 -0
  48. package/dist/Card/HorizontalCard/HorizontalCardActions.cjs +124 -0
  49. package/dist/Card/HorizontalCard/HorizontalCardActions.cjs.map +1 -0
  50. package/dist/Card/HorizontalCard/HorizontalCardActions.d.ts +5 -0
  51. package/dist/Card/HorizontalCard/HorizontalCardActions.js +98 -0
  52. package/dist/Card/HorizontalCard/HorizontalCardActions.js.map +1 -0
  53. package/dist/Card/HorizontalCard/HorizontalCardBody.cjs +60 -0
  54. package/dist/Card/HorizontalCard/HorizontalCardBody.cjs.map +1 -0
  55. package/dist/Card/HorizontalCard/HorizontalCardBody.d.ts +5 -0
  56. package/dist/Card/HorizontalCard/HorizontalCardBody.js +40 -0
  57. package/dist/Card/HorizontalCard/HorizontalCardBody.js.map +1 -0
  58. package/dist/Card/HorizontalCard/HorizontalCardThumbnail.cjs +49 -0
  59. package/dist/Card/HorizontalCard/HorizontalCardThumbnail.cjs.map +1 -0
  60. package/dist/Card/HorizontalCard/HorizontalCardThumbnail.d.ts +5 -0
  61. package/dist/Card/HorizontalCard/HorizontalCardThumbnail.js +33 -0
  62. package/dist/Card/HorizontalCard/HorizontalCardThumbnail.js.map +1 -0
  63. package/dist/Card/HorizontalCard/index.cjs +33 -0
  64. package/dist/Card/HorizontalCard/index.cjs.map +1 -0
  65. package/dist/Card/HorizontalCard/index.d.ts +2 -0
  66. package/dist/Card/HorizontalCard/index.js +3 -0
  67. package/dist/Card/HorizontalCard/index.js.map +1 -0
  68. package/dist/Card/HorizontalCard/types.cjs +6 -0
  69. package/dist/Card/HorizontalCard/types.cjs.map +1 -0
  70. package/dist/Card/HorizontalCard/types.d.ts +40 -0
  71. package/dist/Card/HorizontalCard/types.js +2 -0
  72. package/dist/Card/HorizontalCard/types.js.map +1 -0
  73. package/dist/Card/{Card.cjs → VerticalCard/Card.cjs} +33 -9
  74. package/dist/Card/VerticalCard/Card.cjs.map +1 -0
  75. package/dist/Card/{Card.d.ts → VerticalCard/Card.d.ts} +2 -1
  76. package/dist/Card/{Card.js → VerticalCard/Card.js} +30 -8
  77. package/dist/Card/VerticalCard/Card.js.map +1 -0
  78. package/dist/Card/{CardBottomSection.cjs → VerticalCard/CardBottomSection.cjs} +42 -25
  79. package/dist/Card/VerticalCard/CardBottomSection.cjs.map +1 -0
  80. package/dist/Card/{CardBottomSection.d.ts → VerticalCard/CardBottomSection.d.ts} +4 -4
  81. package/dist/Card/{CardBottomSection.js → VerticalCard/CardBottomSection.js} +27 -11
  82. package/dist/Card/VerticalCard/CardBottomSection.js.map +1 -0
  83. package/dist/Card/{CardMiddleSection.cjs → VerticalCard/CardMiddleSection.cjs} +14 -13
  84. package/dist/Card/VerticalCard/CardMiddleSection.cjs.map +1 -0
  85. package/dist/Card/{CardMiddleSection.d.ts → VerticalCard/CardMiddleSection.d.ts} +2 -2
  86. package/dist/Card/{CardMiddleSection.js → VerticalCard/CardMiddleSection.js} +3 -2
  87. package/dist/Card/VerticalCard/CardMiddleSection.js.map +1 -0
  88. package/dist/Card/{CardTopSection.cjs → VerticalCard/CardTopSection.cjs} +14 -12
  89. package/dist/Card/VerticalCard/CardTopSection.cjs.map +1 -0
  90. package/dist/Card/{CardTopSection.d.ts → VerticalCard/CardTopSection.d.ts} +5 -5
  91. package/dist/Card/{CardTopSection.js → VerticalCard/CardTopSection.js} +12 -10
  92. package/dist/Card/VerticalCard/CardTopSection.js.map +1 -0
  93. package/dist/Card/VerticalCard/index.cjs +88 -0
  94. package/dist/Card/VerticalCard/index.cjs.map +1 -0
  95. package/dist/Card/VerticalCard/index.d.ts +7 -0
  96. package/dist/Card/VerticalCard/index.js +8 -0
  97. package/dist/Card/VerticalCard/index.js.map +1 -0
  98. package/dist/Card/index.cjs +8 -64
  99. package/dist/Card/index.cjs.map +1 -1
  100. package/dist/Card/index.d.ts +2 -7
  101. package/dist/Card/index.js +2 -7
  102. package/dist/Card/index.js.map +1 -1
  103. package/dist/Chips/ActionChip.cjs +24 -23
  104. package/dist/Chips/ActionChip.cjs.map +1 -1
  105. package/dist/Chips/ActionChip.js +24 -25
  106. package/dist/Chips/ActionChip.js.map +1 -1
  107. package/dist/Chips/ChipTypes.d.ts +3 -3
  108. package/dist/Chips/ChoiceChips.cjs +6 -2
  109. package/dist/Chips/ChoiceChips.cjs.map +1 -1
  110. package/dist/Chips/ChoiceChips.js +5 -2
  111. package/dist/Chips/ChoiceChips.js.map +1 -1
  112. package/dist/Chips/FilterChip.cjs +24 -23
  113. package/dist/Chips/FilterChip.cjs.map +1 -1
  114. package/dist/Chips/FilterChip.js +24 -25
  115. package/dist/Chips/FilterChip.js.map +1 -1
  116. package/dist/Chips/InputChip.cjs +42 -40
  117. package/dist/Chips/InputChip.cjs.map +1 -1
  118. package/dist/Chips/InputChip.js +41 -41
  119. package/dist/Chips/InputChip.js.map +1 -1
  120. package/dist/ChipsInput/ChipInputField.cjs +2 -0
  121. package/dist/ChipsInput/ChipInputField.cjs.map +1 -1
  122. package/dist/ChipsInput/ChipInputField.js +2 -0
  123. package/dist/ChipsInput/ChipInputField.js.map +1 -1
  124. package/dist/Dropdown/CommonStyling.cjs +1 -1
  125. package/dist/Dropdown/CommonStyling.cjs.map +1 -1
  126. package/dist/Dropdown/CommonStyling.js +1 -1
  127. package/dist/Dropdown/CommonStyling.js.map +1 -1
  128. package/dist/Dropdown/DropdownButton.cjs +3 -3
  129. package/dist/Dropdown/DropdownButton.cjs.map +1 -1
  130. package/dist/Dropdown/DropdownButton.d.ts +5 -1
  131. package/dist/Dropdown/DropdownButton.js +3 -4
  132. package/dist/Dropdown/DropdownButton.js.map +1 -1
  133. package/dist/Dropdown/DropdownFilter.cjs +1 -1
  134. package/dist/Dropdown/DropdownFilter.cjs.map +1 -1
  135. package/dist/Dropdown/DropdownFilter.js +1 -1
  136. package/dist/Dropdown/DropdownFilter.js.map +1 -1
  137. package/dist/Dropdown/index.cjs +4 -4
  138. package/dist/Dropdown/index.cjs.map +1 -1
  139. package/dist/Dropdown/index.d.ts +4 -5
  140. package/dist/Dropdown/index.js +4 -5
  141. package/dist/Dropdown/index.js.map +1 -1
  142. package/dist/Footer/Components/FooterNavSection.cjs +1 -0
  143. package/dist/Footer/Components/FooterNavSection.cjs.map +1 -1
  144. package/dist/Footer/Components/FooterNavSection.js +1 -0
  145. package/dist/Footer/Components/FooterNavSection.js.map +1 -1
  146. package/dist/Footer/Components/FooterNewsletterAndSocialSection.cjs +1 -0
  147. package/dist/Footer/Components/FooterNewsletterAndSocialSection.cjs.map +1 -1
  148. package/dist/Footer/Components/FooterNewsletterAndSocialSection.js +1 -0
  149. package/dist/Footer/Components/FooterNewsletterAndSocialSection.js.map +1 -1
  150. package/dist/Footer/Components/FooterTop.cjs +1 -0
  151. package/dist/Footer/Components/FooterTop.cjs.map +1 -1
  152. package/dist/Footer/Components/FooterTop.js +1 -0
  153. package/dist/Footer/Components/FooterTop.js.map +1 -1
  154. package/dist/Footer/Footer.cjs +3 -1
  155. package/dist/Footer/Footer.cjs.map +1 -1
  156. package/dist/Footer/Footer.js +3 -1
  157. package/dist/Footer/Footer.js.map +1 -1
  158. package/dist/Footer/SiteFooter.cjs +1 -0
  159. package/dist/Footer/SiteFooter.cjs.map +1 -1
  160. package/dist/Footer/SiteFooter.js +1 -0
  161. package/dist/Footer/SiteFooter.js.map +1 -1
  162. package/dist/GlobalNavigationBar/__tests__/GlobalNavigationBar.tests.d.ts +1 -0
  163. package/dist/GlobalNavigationBar/__tests__/Logo.tests.d.ts +1 -0
  164. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs +1 -1
  165. package/dist/GlobalNavigationBar/desktop/MainMenu.cjs.map +1 -1
  166. package/dist/GlobalNavigationBar/desktop/MainMenu.js +1 -1
  167. package/dist/GlobalNavigationBar/desktop/MainMenu.js.map +1 -1
  168. package/dist/GlobalNavigationBar/desktop/UserMenu.cjs +2 -2
  169. package/dist/GlobalNavigationBar/desktop/UserMenu.cjs.map +1 -1
  170. package/dist/GlobalNavigationBar/desktop/UserMenu.js +2 -2
  171. package/dist/GlobalNavigationBar/desktop/UserMenu.js.map +1 -1
  172. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs +1 -1
  173. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.cjs.map +1 -1
  174. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js +1 -1
  175. package/dist/GlobalNavigationBar/mobile/MobileMenuContent.js.map +1 -1
  176. package/dist/GlobalNavigationBar/mobile/MobileMenuHeader.cjs +5 -1
  177. package/dist/GlobalNavigationBar/mobile/MobileMenuHeader.cjs.map +1 -1
  178. package/dist/GlobalNavigationBar/mobile/MobileMenuHeader.d.ts +2 -0
  179. package/dist/GlobalNavigationBar/mobile/MobileMenuHeader.js +2 -2
  180. package/dist/GlobalNavigationBar/mobile/MobileMenuHeader.js.map +1 -1
  181. package/dist/InputFields/NumberField.cjs +139 -63
  182. package/dist/InputFields/NumberField.cjs.map +1 -1
  183. package/dist/InputFields/NumberField.d.ts +4 -1
  184. package/dist/InputFields/NumberField.js +138 -63
  185. package/dist/InputFields/NumberField.js.map +1 -1
  186. package/dist/InputFields/SearchBar.cjs +78 -7
  187. package/dist/InputFields/SearchBar.cjs.map +1 -1
  188. package/dist/InputFields/SearchBar.d.ts +9 -0
  189. package/dist/InputFields/SearchBar.js +75 -7
  190. package/dist/InputFields/SearchBar.js.map +1 -1
  191. package/dist/InputFields/components/SearchBarInput.cjs +6 -3
  192. package/dist/InputFields/components/SearchBarInput.cjs.map +1 -1
  193. package/dist/InputFields/components/SearchBarInput.d.ts +1 -0
  194. package/dist/InputFields/components/SearchBarInput.js +6 -3
  195. package/dist/InputFields/components/SearchBarInput.js.map +1 -1
  196. package/dist/InputFields/styling.cjs +1 -1
  197. package/dist/InputFields/styling.cjs.map +1 -1
  198. package/dist/InputFields/styling.js +1 -1
  199. package/dist/InputFields/styling.js.map +1 -1
  200. package/dist/List/ListRow.cjs +24 -3
  201. package/dist/List/ListRow.cjs.map +1 -1
  202. package/dist/List/ListRow.d.ts +3 -0
  203. package/dist/List/ListRow.js +22 -3
  204. package/dist/List/ListRow.js.map +1 -1
  205. package/dist/MenuItem/MenuItem.cjs +5 -5
  206. package/dist/MenuItem/MenuItem.cjs.map +1 -1
  207. package/dist/MenuItem/MenuItem.js +5 -5
  208. package/dist/MenuItem/MenuItem.js.map +1 -1
  209. package/dist/Modals/ModalContainer.cjs.map +1 -1
  210. package/dist/Modals/ModalContainer.js.map +1 -1
  211. package/dist/Popover/Popover.cjs +49 -46
  212. package/dist/Popover/Popover.cjs.map +1 -1
  213. package/dist/Popover/Popover.d.ts +1 -0
  214. package/dist/Popover/Popover.js +49 -45
  215. package/dist/Popover/Popover.js.map +1 -1
  216. package/dist/ProfileButton/ProfileButton.cjs +5 -3
  217. package/dist/ProfileButton/ProfileButton.cjs.map +1 -1
  218. package/dist/ProfileButton/ProfileButton.d.ts +3 -0
  219. package/dist/ProfileButton/ProfileButton.js +2 -2
  220. package/dist/ProfileButton/ProfileButton.js.map +1 -1
  221. package/dist/SideMenu/SideMenu.cjs +49 -0
  222. package/dist/SideMenu/SideMenu.cjs.map +1 -0
  223. package/dist/SideMenu/SideMenu.d.ts +4 -0
  224. package/dist/SideMenu/SideMenu.js +31 -0
  225. package/dist/SideMenu/SideMenu.js.map +1 -0
  226. package/dist/SideMenu/SideMenuBody.cjs +64 -0
  227. package/dist/SideMenu/SideMenuBody.cjs.map +1 -0
  228. package/dist/SideMenu/SideMenuBody.d.ts +2 -0
  229. package/dist/SideMenu/SideMenuBody.js +43 -0
  230. package/dist/SideMenu/SideMenuBody.js.map +1 -0
  231. package/dist/SideMenu/SideMenuFooter.cjs +74 -0
  232. package/dist/SideMenu/SideMenuFooter.cjs.map +1 -0
  233. package/dist/SideMenu/SideMenuFooter.d.ts +2 -0
  234. package/dist/SideMenu/SideMenuFooter.js +51 -0
  235. package/dist/SideMenu/SideMenuFooter.js.map +1 -0
  236. package/dist/SideMenu/SideMenuHeader.cjs +68 -0
  237. package/dist/SideMenu/SideMenuHeader.cjs.map +1 -0
  238. package/dist/SideMenu/SideMenuHeader.d.ts +2 -0
  239. package/dist/SideMenu/SideMenuHeader.js +48 -0
  240. package/dist/SideMenu/SideMenuHeader.js.map +1 -0
  241. package/dist/SideMenu/index.cjs +33 -0
  242. package/dist/SideMenu/index.cjs.map +1 -0
  243. package/dist/SideMenu/index.d.ts +2 -0
  244. package/dist/SideMenu/index.js +3 -0
  245. package/dist/SideMenu/index.js.map +1 -0
  246. package/dist/SideMenu/types.cjs +6 -0
  247. package/dist/SideMenu/types.cjs.map +1 -0
  248. package/dist/SideMenu/types.d.ts +27 -0
  249. package/dist/SideMenu/types.js +2 -0
  250. package/dist/SideMenu/types.js.map +1 -0
  251. package/dist/SkipToContent/SkipToContent.cjs +1 -3
  252. package/dist/SkipToContent/SkipToContent.cjs.map +1 -1
  253. package/dist/SkipToContent/SkipToContent.js +1 -1
  254. package/dist/SkipToContent/SkipToContent.js.map +1 -1
  255. package/dist/Switcher/MobileSwitcherMenu.cjs +1 -1
  256. package/dist/Switcher/MobileSwitcherMenu.cjs.map +1 -1
  257. package/dist/Switcher/MobileSwitcherMenu.js +1 -1
  258. package/dist/Switcher/MobileSwitcherMenu.js.map +1 -1
  259. package/dist/Switcher/SwitcherMenuItem.cjs +16 -16
  260. package/dist/Switcher/SwitcherMenuItem.cjs.map +1 -1
  261. package/dist/Switcher/SwitcherMenuItem.d.ts +9 -2
  262. package/dist/Switcher/SwitcherMenuItem.js +16 -10
  263. package/dist/Switcher/SwitcherMenuItem.js.map +1 -1
  264. package/dist/Table/Table.cjs +3 -3
  265. package/dist/Table/Table.cjs.map +1 -1
  266. package/dist/Table/Table.js +3 -3
  267. package/dist/Table/Table.js.map +1 -1
  268. package/dist/Table/TableBody.cjs +4 -2
  269. package/dist/Table/TableBody.cjs.map +1 -1
  270. package/dist/Table/TableBody.js +5 -3
  271. package/dist/Table/TableBody.js.map +1 -1
  272. package/dist/Table/TableFooter.cjs +5 -3
  273. package/dist/Table/TableFooter.cjs.map +1 -1
  274. package/dist/Table/TableFooter.js +5 -3
  275. package/dist/Table/TableFooter.js.map +1 -1
  276. package/dist/Table/TableStyles.cjs +17 -13
  277. package/dist/Table/TableStyles.cjs.map +1 -1
  278. package/dist/Table/TableStyles.d.ts +1 -0
  279. package/dist/Table/TableStyles.js +13 -12
  280. package/dist/Table/TableStyles.js.map +1 -1
  281. package/dist/Table/TableTypes.d.ts +4 -0
  282. package/dist/Tabs/HorizontalTabs.cjs +3 -1
  283. package/dist/Tabs/HorizontalTabs.cjs.map +1 -1
  284. package/dist/Tabs/HorizontalTabs.js +3 -1
  285. package/dist/Tabs/HorizontalTabs.js.map +1 -1
  286. package/dist/Tabs/__tests__/Tablist.tests.d.ts +2 -0
  287. package/dist/Toasters/Toast.cjs +1 -3
  288. package/dist/Toasters/Toast.cjs.map +1 -1
  289. package/dist/Toasters/Toast.js +1 -1
  290. package/dist/Toasters/Toast.js.map +1 -1
  291. package/dist/Toggles/ToggleButton.cjs +5 -2
  292. package/dist/Toggles/ToggleButton.cjs.map +1 -1
  293. package/dist/Toggles/ToggleButton.d.ts +2 -1
  294. package/dist/Toggles/ToggleButton.js +5 -2
  295. package/dist/Toggles/ToggleButton.js.map +1 -1
  296. package/dist/Toggles/ToggleSwitch.cjs +1 -0
  297. package/dist/Toggles/ToggleSwitch.cjs.map +1 -1
  298. package/dist/Toggles/ToggleSwitch.js +1 -0
  299. package/dist/Toggles/ToggleSwitch.js.map +1 -1
  300. package/dist/Tooltips/TooltipTypes.cjs.map +1 -1
  301. package/dist/Tooltips/TooltipTypes.d.ts +1 -1
  302. package/dist/Tooltips/TooltipTypes.js.map +1 -1
  303. package/dist/Tooltips/TooltipWrapper.cjs +19 -4
  304. package/dist/Tooltips/TooltipWrapper.cjs.map +1 -1
  305. package/dist/Tooltips/TooltipWrapper.d.ts +1 -1
  306. package/dist/Tooltips/TooltipWrapper.js +16 -4
  307. package/dist/Tooltips/TooltipWrapper.js.map +1 -1
  308. package/dist/common/ActionWithin.cjs.map +1 -1
  309. package/dist/common/ActionWithin.js.map +1 -1
  310. package/dist/index.cjs +14 -0
  311. package/dist/index.cjs.map +1 -1
  312. package/dist/index.d.ts +1 -0
  313. package/dist/index.js +1 -0
  314. package/dist/index.js.map +1 -1
  315. package/dist/styles/global.cjs +1 -1
  316. package/dist/styles/global.cjs.map +1 -1
  317. package/dist/styles/global.js +1 -1
  318. package/dist/styles/global.js.map +1 -1
  319. package/dist/styles/index.cjs +0 -7
  320. package/dist/styles/index.cjs.map +1 -1
  321. package/dist/styles/index.d.ts +0 -2
  322. package/dist/styles/index.js +0 -2
  323. package/dist/styles/index.js.map +1 -1
  324. package/dist/styles/typography.cjs +4 -9
  325. package/dist/styles/typography.cjs.map +1 -1
  326. package/dist/styles/typography.d.ts +0 -4
  327. package/dist/styles/typography.js +3 -8
  328. package/dist/styles/typography.js.map +1 -1
  329. package/dist/types.cjs.map +1 -1
  330. package/dist/types.d.ts +0 -8
  331. package/dist/types.js.map +1 -1
  332. package/package.json +6 -1
  333. package/dist/Card/Card.cjs.map +0 -1
  334. package/dist/Card/Card.js.map +0 -1
  335. package/dist/Card/CardBottomSection.cjs.map +0 -1
  336. package/dist/Card/CardBottomSection.js.map +0 -1
  337. package/dist/Card/CardMiddleSection.cjs.map +0 -1
  338. package/dist/Card/CardMiddleSection.js.map +0 -1
  339. package/dist/Card/CardTopSection.cjs.map +0 -1
  340. package/dist/Card/CardTopSection.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/common/ActionWithin.ts"],"names":["React","useActionWithin","ref","children","handleMouseEnter","e","current","classList","add","handleMouseLeave","remove","useEffect","child","addEventListener","removeEventListener"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,GAAD,EAAWC,QAAX,EAAuD;AAEpF,MAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB,CAACC,CAAD,EAAmB;AAC1CH,IAAAA,GAAG,CAACI,OAAJ,CAAYC,SAAZ,CAAsBC,GAAtB,CAA0B,eAA1B;AACD,GAFD;;AAIA,MAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB,CAACJ,CAAD,EAAmB;AAC1CH,IAAAA,GAAG,CAACI,OAAJ,CAAYC,SAAZ,CAAsBG,MAAtB,CAA6B,eAA7B;AACD,GAFD;;AAKAV,EAAAA,KAAK,CAACW,SAAN,CAAgB,YAAM;AAAA,+CACFR,QADE;AAAA;;AAAA;AACpB,0DAA4B;AAAA;;AAAA,YAAnBS,KAAmB;AAC1B,2BAAAA,KAAK,CAACN,OAAN,oEAAeO,gBAAf,CAAgC,YAAhC,EAA8CT,gBAA9C;AACA,2BAAAQ,KAAK,CAACN,OAAN,oEAAeO,gBAAf,CAAgC,YAAhC,EAA8CJ,gBAA9C;AACD;AAJmB;AAAA;AAAA;AAAA;AAAA;;AAMpB,WAAO,YAAM;AAAA,kDACON,QADP;AAAA;;AAAA;AACX,+DAA4B;AAAA;;AAAA,cAAnBS,KAAmB;AAC1B,4BAAAA,KAAK,CAACN,OAAN,kEAAeQ,mBAAf,CAAmC,YAAnC,EAAiDV,gBAAjD;AACA,6BAAAQ,KAAK,CAACN,OAAN,oEAAeQ,mBAAf,CAAmC,YAAnC,EAAiDL,gBAAjD;AACD;AAJU;AAAA;AAAA;AAAA;AAAA;AAKZ,KALD;AAMD,GAZD,EAYG,CAACN,QAAD,CAZH;AAaD,CAxBM","sourcesContent":["import React from 'react';\n\nexport const useActionWithin = (ref: any, children: React.MutableRefObject<any>[]) => {\n\n const handleMouseEnter = (e: MouseEvent) => {\n ref.current.classList.add('action-within');\n };\n\n const handleMouseLeave = (e: MouseEvent) => {\n ref.current.classList.remove('action-within');\n };\n\n\n React.useEffect(() => {\n for (let child of children) {\n child.current?.addEventListener('mouseenter', handleMouseEnter);\n child.current?.addEventListener('mouseleave', handleMouseLeave);\n }\n\n return () => {\n for (let child of children) {\n child.current?.removeEventListener('mouseenter', handleMouseEnter);\n child.current?.removeEventListener('mouseleave', handleMouseLeave);\n }\n };\n }, [children]);\n};\n"],"file":"ActionWithin.js"}
1
+ {"version":3,"sources":["../../src/common/ActionWithin.ts"],"names":["React","useActionWithin","ref","children","handleMouseEnter","e","current","classList","add","handleMouseLeave","remove","useEffect","child","addEventListener","removeEventListener"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,GAAD,EAAWC,QAAX,EAAuD;AAEpF,MAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB,CAACC,CAAD,EAAmB;AAC1CH,IAAAA,GAAG,CAACI,OAAJ,CAAYC,SAAZ,CAAsBC,GAAtB,CAA0B,eAA1B;AACD,GAFD;;AAIA,MAAMC,gBAAgB,GAAG,SAAnBA,gBAAmB,CAACJ,CAAD,EAAmB;AAC1CH,IAAAA,GAAG,CAACI,OAAJ,CAAYC,SAAZ,CAAsBG,MAAtB,CAA6B,eAA7B;AACD,GAFD;;AAIAV,EAAAA,KAAK,CAACW,SAAN,CAAgB,YAAM;AAAA,+CACFR,QADE;AAAA;;AAAA;AACpB,0DAA4B;AAAA;;AAAA,YAAnBS,KAAmB;AAC1B,2BAAAA,KAAK,CAACN,OAAN,oEAAeO,gBAAf,CAAgC,YAAhC,EAA8CT,gBAA9C;AACA,2BAAAQ,KAAK,CAACN,OAAN,oEAAeO,gBAAf,CAAgC,YAAhC,EAA8CJ,gBAA9C;AACD;AAJmB;AAAA;AAAA;AAAA;AAAA;;AAMpB,WAAO,YAAM;AAAA,kDACON,QADP;AAAA;;AAAA;AACX,+DAA4B;AAAA;;AAAA,cAAnBS,KAAmB;AAC1B,4BAAAA,KAAK,CAACN,OAAN,kEAAeQ,mBAAf,CAAmC,YAAnC,EAAiDV,gBAAjD;AACA,6BAAAQ,KAAK,CAACN,OAAN,oEAAeQ,mBAAf,CAAmC,YAAnC,EAAiDL,gBAAjD;AACD;AAJU;AAAA;AAAA;AAAA;AAAA;AAKZ,KALD;AAMD,GAZD,EAYG,CAACN,QAAD,CAZH;AAaD,CAvBM","sourcesContent":["import React from 'react';\n\nexport const useActionWithin = (ref: any, children: React.MutableRefObject<any>[]) => {\n\n const handleMouseEnter = (e: MouseEvent) => {\n ref.current.classList.add('action-within');\n };\n\n const handleMouseLeave = (e: MouseEvent) => {\n ref.current.classList.remove('action-within');\n };\n\n React.useEffect(() => {\n for (let child of children) {\n child.current?.addEventListener('mouseenter', handleMouseEnter);\n child.current?.addEventListener('mouseleave', handleMouseLeave);\n }\n\n return () => {\n for (let child of children) {\n child.current?.removeEventListener('mouseenter', handleMouseEnter);\n child.current?.removeEventListener('mouseleave', handleMouseLeave);\n }\n };\n }, [children]);\n};\n"],"file":"ActionWithin.js"}
package/dist/index.cjs CHANGED
@@ -602,4 +602,18 @@ Object.keys(_Popover).forEach(function (key) {
602
602
  }
603
603
  });
604
604
  });
605
+
606
+ var _SideMenu = require("./SideMenu");
607
+
608
+ Object.keys(_SideMenu).forEach(function (key) {
609
+ if (key === "default" || key === "__esModule") return;
610
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
611
+ if (key in exports && exports[key] === _SideMenu[key]) return;
612
+ Object.defineProperty(exports, key, {
613
+ enumerable: true,
614
+ get: function get() {
615
+ return _SideMenu[key];
616
+ }
617
+ });
618
+ });
605
619
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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A;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './styles';\nexport * from './icons';\nexport * from './types';\nexport * from './AuthPage';\nexport * from './Button';\nexport * from './Breadcrumb';\nexport * from './Chips';\nexport * from './SkipToContent';\nexport * from './Footer';\nexport * from './LoadingIndicator';\nexport * from './MiniProductCard';\nexport * from './NavItem';\nexport * from './Layouts';\nexport * from './GlobalNavigationBar';\nexport * from './Tabs';\nexport * from './Banners';\nexport * from './Toasters';\nexport * from './InputFields';\nexport * from './Dropdown';\nexport * from './Switcher';\nexport * from './LoadingPage';\nexport * from './List';\nexport * from './Modals';\nexport * from './Paginator';\nexport * from './Table';\nexport * from './Toggles';\nexport * from './HyperLink';\nexport * from './NotificationDot';\nexport * from './Accordion';\nexport * from './Tooltips';\nexport * from './common';\nexport * from './QuizButton';\nexport * from './LinearProgress';\nexport * from './SegmentControl';\nexport * from './Card';\nexport * from './MenuItem';\nexport * from './Tag';\nexport * from './Image';\nexport * from './ChipsInput';\nexport * from './Tile';\nexport * from './ProfileButton';\nexport {LaerdalLogo} from './assets';\nexport * from './Popover';"],"file":"index.cjs"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAA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AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './styles';\nexport * from './icons';\nexport * from './types';\nexport * from './AuthPage';\nexport * from './Button';\nexport * from './Breadcrumb';\nexport * from './Chips';\nexport * from './SkipToContent';\nexport * from './Footer';\nexport * from './LoadingIndicator';\nexport * from './MiniProductCard';\nexport * from './NavItem';\nexport * from './Layouts';\nexport * from './GlobalNavigationBar';\nexport * from './Tabs';\nexport * from './Banners';\nexport * from './Toasters';\nexport * from './InputFields';\nexport * from './Dropdown';\nexport * from './Switcher';\nexport * from './LoadingPage';\nexport * from './List';\nexport * from './Modals';\nexport * from './Paginator';\nexport * from './Table';\nexport * from './Toggles';\nexport * from './HyperLink';\nexport * from './NotificationDot';\nexport * from './Accordion';\nexport * from './Tooltips';\nexport * from './common';\nexport * from './QuizButton';\nexport * from './LinearProgress';\nexport * from './SegmentControl';\nexport * from './Card';\nexport * from './MenuItem';\nexport * from './Tag';\nexport * from './Image';\nexport * from './ChipsInput';\nexport * from './Tile';\nexport * from './ProfileButton';\nexport {LaerdalLogo} from './assets';\nexport * from './Popover';\nexport * from './SideMenu';\n"],"file":"index.cjs"}
package/dist/index.d.ts CHANGED
@@ -41,3 +41,4 @@ export * from './Tile';
41
41
  export * from './ProfileButton';
42
42
  export { LaerdalLogo } from './assets';
43
43
  export * from './Popover';
44
+ export * from './SideMenu';
package/dist/index.js CHANGED
@@ -41,4 +41,5 @@ export * from './Tile';
41
41
  export * from './ProfileButton';
42
42
  export { LaerdalLogo } from './assets';
43
43
  export * from './Popover';
44
+ export * from './SideMenu';
44
45
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["LaerdalLogo"],"mappings":"AAAA,cAAc,UAAd;AACA,cAAc,SAAd;AACA,cAAc,SAAd;AACA,cAAc,YAAd;AACA,cAAc,UAAd;AACA,cAAc,cAAd;AACA,cAAc,SAAd;AACA,cAAc,iBAAd;AACA,cAAc,UAAd;AACA,cAAc,oBAAd;AACA,cAAc,mBAAd;AACA,cAAc,WAAd;AACA,cAAc,WAAd;AACA,cAAc,uBAAd;AACA,cAAc,QAAd;AACA,cAAc,WAAd;AACA,cAAc,YAAd;AACA,cAAc,eAAd;AACA,cAAc,YAAd;AACA,cAAc,YAAd;AACA,cAAc,eAAd;AACA,cAAc,QAAd;AACA,cAAc,UAAd;AACA,cAAc,aAAd;AACA,cAAc,SAAd;AACA,cAAc,WAAd;AACA,cAAc,aAAd;AACA,cAAc,mBAAd;AACA,cAAc,aAAd;AACA,cAAc,YAAd;AACA,cAAc,UAAd;AACA,cAAc,cAAd;AACA,cAAc,kBAAd;AACA,cAAc,kBAAd;AACA,cAAc,QAAd;AACA,cAAc,YAAd;AACA,cAAc,OAAd;AACA,cAAc,SAAd;AACA,cAAc,cAAd;AACA,cAAc,QAAd;AACA,cAAc,iBAAd;AACA,SAAQA,WAAR,QAA0B,UAA1B;AACA,cAAc,WAAd","sourcesContent":["export * from './styles';\nexport * from './icons';\nexport * from './types';\nexport * from './AuthPage';\nexport * from './Button';\nexport * from './Breadcrumb';\nexport * from './Chips';\nexport * from './SkipToContent';\nexport * from './Footer';\nexport * from './LoadingIndicator';\nexport * from './MiniProductCard';\nexport * from './NavItem';\nexport * from './Layouts';\nexport * from './GlobalNavigationBar';\nexport * from './Tabs';\nexport * from './Banners';\nexport * from './Toasters';\nexport * from './InputFields';\nexport * from './Dropdown';\nexport * from './Switcher';\nexport * from './LoadingPage';\nexport * from './List';\nexport * from './Modals';\nexport * from './Paginator';\nexport * from './Table';\nexport * from './Toggles';\nexport * from './HyperLink';\nexport * from './NotificationDot';\nexport * from './Accordion';\nexport * from './Tooltips';\nexport * from './common';\nexport * from './QuizButton';\nexport * from './LinearProgress';\nexport * from './SegmentControl';\nexport * from './Card';\nexport * from './MenuItem';\nexport * from './Tag';\nexport * from './Image';\nexport * from './ChipsInput';\nexport * from './Tile';\nexport * from './ProfileButton';\nexport {LaerdalLogo} from './assets';\nexport * from './Popover';"],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["LaerdalLogo"],"mappings":"AAAA,cAAc,UAAd;AACA,cAAc,SAAd;AACA,cAAc,SAAd;AACA,cAAc,YAAd;AACA,cAAc,UAAd;AACA,cAAc,cAAd;AACA,cAAc,SAAd;AACA,cAAc,iBAAd;AACA,cAAc,UAAd;AACA,cAAc,oBAAd;AACA,cAAc,mBAAd;AACA,cAAc,WAAd;AACA,cAAc,WAAd;AACA,cAAc,uBAAd;AACA,cAAc,QAAd;AACA,cAAc,WAAd;AACA,cAAc,YAAd;AACA,cAAc,eAAd;AACA,cAAc,YAAd;AACA,cAAc,YAAd;AACA,cAAc,eAAd;AACA,cAAc,QAAd;AACA,cAAc,UAAd;AACA,cAAc,aAAd;AACA,cAAc,SAAd;AACA,cAAc,WAAd;AACA,cAAc,aAAd;AACA,cAAc,mBAAd;AACA,cAAc,aAAd;AACA,cAAc,YAAd;AACA,cAAc,UAAd;AACA,cAAc,cAAd;AACA,cAAc,kBAAd;AACA,cAAc,kBAAd;AACA,cAAc,QAAd;AACA,cAAc,YAAd;AACA,cAAc,OAAd;AACA,cAAc,SAAd;AACA,cAAc,cAAd;AACA,cAAc,QAAd;AACA,cAAc,iBAAd;AACA,SAAQA,WAAR,QAA0B,UAA1B;AACA,cAAc,WAAd;AACA,cAAc,YAAd","sourcesContent":["export * from './styles';\nexport * from './icons';\nexport * from './types';\nexport * from './AuthPage';\nexport * from './Button';\nexport * from './Breadcrumb';\nexport * from './Chips';\nexport * from './SkipToContent';\nexport * from './Footer';\nexport * from './LoadingIndicator';\nexport * from './MiniProductCard';\nexport * from './NavItem';\nexport * from './Layouts';\nexport * from './GlobalNavigationBar';\nexport * from './Tabs';\nexport * from './Banners';\nexport * from './Toasters';\nexport * from './InputFields';\nexport * from './Dropdown';\nexport * from './Switcher';\nexport * from './LoadingPage';\nexport * from './List';\nexport * from './Modals';\nexport * from './Paginator';\nexport * from './Table';\nexport * from './Toggles';\nexport * from './HyperLink';\nexport * from './NotificationDot';\nexport * from './Accordion';\nexport * from './Tooltips';\nexport * from './common';\nexport * from './QuizButton';\nexport * from './LinearProgress';\nexport * from './SegmentControl';\nexport * from './Card';\nexport * from './MenuItem';\nexport * from './Tag';\nexport * from './Image';\nexport * from './ChipsInput';\nexport * from './Tile';\nexport * from './ProfileButton';\nexport {LaerdalLogo} from './assets';\nexport * from './Popover';\nexport * from './SideMenu';\n"],"file":"index.js"}
@@ -9,7 +9,7 @@ exports.default = void 0;
9
9
 
10
10
  var _colors = _interopRequireDefault(require("./colors"));
11
11
 
12
- var globalStyles = "\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ".concat(_colors.default.black, ";\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ").concat(_colors.default.primary_100, " !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n");
12
+ var globalStyles = "\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ".concat(_colors.default.black, ";\n -webkit-font-smoothing: antialiased;\n }\n\n [lang^=\"ja\" i] {\n font-family: Lato, Noto Sans, Noto Sans JP, sans-serif;\n }\n \n [lang^=\"ko\" i] {\n font-family: Lato, Noto Sans, Noto Sans KR, sans-serif;\n }\n \n [lang^=\"zh\" i] {\n font-family: Lato, Noto Sans, Noto Sans SC, sans-serif;\n }\n \n [lang=\"zh-cht\" i],\n [lang=\"zh-hant\" i],\n [lang=\"zh-hk\" i],\n [lang=\"zh-mo\" i],\n [lang=\"zh-tw\" i] {\n font-family: Lato, Noto Sans, Noto Sans TC, sans-serif;\n }\n\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ").concat(_colors.default.primary_100, " !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n");
13
13
  var _default = globalStyles;
14
14
  exports.default = _default;
15
15
  //# sourceMappingURL=global.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/global.ts"],"names":["globalStyles","COLORS","black","primary_100"],"mappings":";;;;;;;;;AAAA;;AAEA,IAAMA,YAAY,4HAMLC,gBAAOC,KANF,6aAsCAD,gBAAOE,WAtCP,yMAAlB;eAmDeH,Y","sourcesContent":["import COLORS from './colors';\n\nconst globalStyles = `\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ${COLORS.black};\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ${COLORS.primary_100} !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n`;\n\nexport default globalStyles;\n"],"file":"global.cjs"}
1
+ {"version":3,"sources":["../../src/styles/global.ts"],"names":["globalStyles","COLORS","black","primary_100"],"mappings":";;;;;;;;;AAAA;;AAEA,IAAMA,YAAY,4HAMLC,gBAAOC,KANF,83BA2DAD,gBAAOE,WA3DP,yMAAlB;eAwEeH,Y","sourcesContent":["import COLORS from './colors';\n\nconst globalStyles = `\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ${COLORS.black};\n -webkit-font-smoothing: antialiased;\n }\n\n [lang^=\"ja\" i] {\n font-family: Lato, Noto Sans, Noto Sans JP, sans-serif;\n }\n \n [lang^=\"ko\" i] {\n font-family: Lato, Noto Sans, Noto Sans KR, sans-serif;\n }\n \n [lang^=\"zh\" i] {\n font-family: Lato, Noto Sans, Noto Sans SC, sans-serif;\n }\n \n [lang=\"zh-cht\" i],\n [lang=\"zh-hant\" i],\n [lang=\"zh-hk\" i],\n [lang=\"zh-mo\" i],\n [lang=\"zh-tw\" i] {\n font-family: Lato, Noto Sans, Noto Sans TC, sans-serif;\n }\n\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ${COLORS.primary_100} !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n`;\n\nexport default globalStyles;\n"],"file":"global.cjs"}
@@ -1,4 +1,4 @@
1
1
  import COLORS from './colors';
2
- var globalStyles = "\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ".concat(COLORS.black, ";\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ").concat(COLORS.primary_100, " !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n");
2
+ var globalStyles = "\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ".concat(COLORS.black, ";\n -webkit-font-smoothing: antialiased;\n }\n\n [lang^=\"ja\" i] {\n font-family: Lato, Noto Sans, Noto Sans JP, sans-serif;\n }\n \n [lang^=\"ko\" i] {\n font-family: Lato, Noto Sans, Noto Sans KR, sans-serif;\n }\n \n [lang^=\"zh\" i] {\n font-family: Lato, Noto Sans, Noto Sans SC, sans-serif;\n }\n \n [lang=\"zh-cht\" i],\n [lang=\"zh-hant\" i],\n [lang=\"zh-hk\" i],\n [lang=\"zh-mo\" i],\n [lang=\"zh-tw\" i] {\n font-family: Lato, Noto Sans, Noto Sans TC, sans-serif;\n }\n\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ").concat(COLORS.primary_100, " !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n");
3
3
  export default globalStyles;
4
4
  //# sourceMappingURL=global.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/global.ts"],"names":["COLORS","globalStyles","black","primary_100"],"mappings":"AAAA,OAAOA,MAAP,MAAmB,UAAnB;AAEA,IAAMC,YAAY,4HAMLD,MAAM,CAACE,KANF,6aAsCAF,MAAM,CAACG,WAtCP,yMAAlB;AAmDA,eAAeF,YAAf","sourcesContent":["import COLORS from './colors';\n\nconst globalStyles = `\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ${COLORS.black};\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ${COLORS.primary_100} !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n`;\n\nexport default globalStyles;\n"],"file":"global.js"}
1
+ {"version":3,"sources":["../../src/styles/global.ts"],"names":["COLORS","globalStyles","black","primary_100"],"mappings":"AAAA,OAAOA,MAAP,MAAmB,UAAnB;AAEA,IAAMC,YAAY,4HAMLD,MAAM,CAACE,KANF,83BA2DAF,MAAM,CAACG,WA3DP,yMAAlB;AAwEA,eAAeF,YAAf","sourcesContent":["import COLORS from './colors';\n\nconst globalStyles = `\n html,\n body {\n height: 100%;\n font-family: 'Lato', sans-serif;\n font-size: 18px;\n color: ${COLORS.black};\n -webkit-font-smoothing: antialiased;\n }\n\n [lang^=\"ja\" i] {\n font-family: Lato, Noto Sans, Noto Sans JP, sans-serif;\n }\n \n [lang^=\"ko\" i] {\n font-family: Lato, Noto Sans, Noto Sans KR, sans-serif;\n }\n \n [lang^=\"zh\" i] {\n font-family: Lato, Noto Sans, Noto Sans SC, sans-serif;\n }\n \n [lang=\"zh-cht\" i],\n [lang=\"zh-hant\" i],\n [lang=\"zh-hk\" i],\n [lang=\"zh-mo\" i],\n [lang=\"zh-tw\" i] {\n font-family: Lato, Noto Sans, Noto Sans TC, sans-serif;\n }\n\n\n body {\n margin: 0;\n padding: 0;\n }\n\n main,\n aside,\n details {\n display: block;\n }\n\n summary {\n display: block;\n }\n\n #root {\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n button,\n input,\n label {\n font-family: inherit;\n }\n\n .react-grid-item.react-grid-placeholder {\n background: ${COLORS.primary_100} !important;\n opacity: 1 !important;\n }\n\n .react-resizable-handle {\n background-image: none !important;\n }\n\n .react-resizable-handle::after {\n border: none !important;\n }\n`;\n\nexport default globalStyles;\n"],"file":"global.js"}
@@ -10,7 +10,6 @@ var _exportNames = {
10
10
  COLORS: true,
11
11
  BREAKPOINTS: true,
12
12
  BOXSHADOWS: true,
13
- TYPOGRAPHY: true,
14
13
  HeadlineXL: true,
15
14
  HeadlineL: true,
16
15
  HeadlineM: true,
@@ -291,12 +290,6 @@ Object.defineProperty(exports, "ParagraphXlStyling", {
291
290
  return _typography.ParagraphXlStyling;
292
291
  }
293
292
  });
294
- Object.defineProperty(exports, "TYPOGRAPHY", {
295
- enumerable: true,
296
- get: function get() {
297
- return _typography.TYPOGRAPHY;
298
- }
299
- });
300
293
  Object.defineProperty(exports, "Z_INDEXES", {
301
294
  enumerable: true,
302
295
  get: function get() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/index.ts"],"names":["scrollBarStyling","size","Size","Small","css","Medium","COLORS","neutral_100","neutral_500","primary_700","primary_800"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AAQA;;AACA;;AA2CA;;AAEA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AAjCO,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAmB;AAAA,MAACC,IAAD,uEAAkCC,YAAKC,KAAvC;AAAA,aAAiDC,qBAAjD,wjBAGnBH,IAAI,IAAIC,YAAKG,MAAb,GAAsB,KAAtB,GAA8B,KAHX,EAIlBJ,IAAI,IAAIC,YAAKG,MAAb,GAAsB,KAAtB,GAA8B,KAJZ,EAUdC,gBAAOC,WAVO,EAgBdD,gBAAOE,WAhBO,EAsBdF,gBAAOG,WAtBO,EA2BdH,gBAAOI,WA3BO;AAAA,CAAzB","sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nimport { TYPOGRAPHY } from './typography';\nimport { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';\nimport { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';\nimport { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';\nimport { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';\nimport { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';\nimport { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\n\nexport { TYPOGRAPHY };\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\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"file":"index.cjs"}
1
+ {"version":3,"sources":["../../src/styles/index.ts"],"names":["scrollBarStyling","size","Size","Small","css","Medium","COLORS","neutral_100","neutral_500","primary_700","primary_800"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AAEA;;AAOA;;AACA;;AA0CA;;AAEA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;AAjCO,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAmB;AAAA,MAACC,IAAD,uEAAkCC,YAAKC,KAAvC;AAAA,aAAiDC,qBAAjD,wjBAGnBH,IAAI,IAAIC,YAAKG,MAAb,GAAsB,KAAtB,GAA8B,KAHX,EAIlBJ,IAAI,IAAIC,YAAKG,MAAb,GAAsB,KAAtB,GAA8B,KAJZ,EAUdC,gBAAOC,WAVO,EAgBdD,gBAAOE,WAhBO,EAsBdF,gBAAOG,WAtBO,EA2BdH,gBAAOI,WA3BO;AAAA,CAAzB","sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nimport { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';\nimport { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';\nimport { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';\nimport { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';\nimport { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';\nimport { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\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\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"file":"index.cjs"}
@@ -1,7 +1,6 @@
1
1
  import COLORS from './colors';
2
2
  import BREAKPOINTS from './breakpoints';
3
3
  import { BOXSHADOWS } from './shadowstyles';
4
- import { TYPOGRAPHY } from './typography';
5
4
  import { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';
6
5
  import { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';
7
6
  import { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';
@@ -11,7 +10,6 @@ import { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling
11
10
  import globalStyles from './global';
12
11
  import { Size } from '../types';
13
12
  export { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };
14
- export { TYPOGRAPHY };
15
13
  export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
16
14
  export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
17
15
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
@@ -6,7 +6,6 @@ import { css } from 'styled-components';
6
6
  import COLORS from './colors';
7
7
  import BREAKPOINTS from './breakpoints';
8
8
  import { BOXSHADOWS } from './shadowstyles';
9
- import { TYPOGRAPHY } from './typography';
10
9
  import { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';
11
10
  import { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';
12
11
  import { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';
@@ -16,7 +15,6 @@ import { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling
16
15
  import globalStyles from './global';
17
16
  import { Size } from '../types';
18
17
  export { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };
19
- export { TYPOGRAPHY };
20
18
  export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
21
19
  export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
22
20
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/index.ts"],"names":["css","COLORS","BREAKPOINTS","BOXSHADOWS","TYPOGRAPHY","HeadlineXL","HeadlineL","HeadlineM","HeadlineS","HeadlineXS","HeadlineXXS","ParagraphTextStyle","ParagraphXL","ParagraphL","ParagraphM","ParagraphS","ParagraphXS","ComponentTextStyle","ComponentXL","ComponentL","ComponentM","ComponentS","ComponentXS","ComponentXXS","ComponentResponsive","ComponentXLStyling","ComponentLStyling","ComponentMStyling","ComponentSStyling","ComponentXSStyling","ComponentXXSStyling","ParagraphXlStyling","ParagraphLStyling","ParagraphMStyling","ParagraphSStyling","ParagraphXSStyling","HeadlineXLStyling","HeadlineLStyling","HeadlineMStyling","HeadlineSStyling","HeadlineXSStyling","HeadlineXXSStyling","globalStyles","Size","scrollBarStyling","size","Small","Medium","neutral_100","neutral_500","primary_700","primary_800","Z_INDEXES"],"mappings":";;;;AAAA,SAASA,GAAT,QAAoB,mBAApB;AACA,OAAOC,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AA8EC,WAA9E,EAA2FC,YAA3F,EAAyGC,mBAAzG;AACA,SAASC,kBAAT,EAA6BC,iBAA7B,EAAgDC,iBAAhD,EAAmEC,iBAAnE,EAAsFC,kBAAtF,EAA0GC,mBAA1G;AACA,SAASC,kBAAT,EAA6BC,iBAA7B,EAAgDC,iBAAhD,EAAmEC,iBAAnE,EAAsFC,kBAAtF;AACA,SAASC,iBAAT,EAA4BC,gBAA5B,EAA8CC,gBAA9C,EAAgEC,gBAAhE,EAAkFC,iBAAlF,EAAqGC,kBAArG;AAEA,OAAO,IAAMG,gBAAgB,GAAG,SAAnBA,gBAAmB;AAAA,MAACC,IAAD,uEAAkCF,IAAI,CAACG,KAAvC;AAAA,SAAiD9C,GAAjD,yiBAGnB6C,IAAI,IAAIF,IAAI,CAACI,MAAb,GAAsB,KAAtB,GAA8B,KAHX,EAIlBF,IAAI,IAAIF,IAAI,CAACI,MAAb,GAAsB,KAAtB,GAA8B,KAJZ,EAUd9C,MAAM,CAAC+C,WAVO,EAgBd/C,MAAM,CAACgD,WAhBO,EAsBdhD,MAAM,CAACiD,WAtBO,EA2BdjD,MAAM,CAACkD,WA3BO;AAAA,CAAzB;AA+BP,SAAQC,SAAR,QAAwB,aAAxB;AAEA,cAAc,gBAAd","sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nimport { TYPOGRAPHY } from './typography';\nimport { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';\nimport { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';\nimport { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';\nimport { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';\nimport { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';\nimport { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\n\nexport { TYPOGRAPHY };\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\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../src/styles/index.ts"],"names":["css","COLORS","BREAKPOINTS","BOXSHADOWS","HeadlineXL","HeadlineL","HeadlineM","HeadlineS","HeadlineXS","HeadlineXXS","ParagraphTextStyle","ParagraphXL","ParagraphL","ParagraphM","ParagraphS","ParagraphXS","ComponentTextStyle","ComponentXL","ComponentL","ComponentM","ComponentS","ComponentXS","ComponentXXS","ComponentResponsive","ComponentXLStyling","ComponentLStyling","ComponentMStyling","ComponentSStyling","ComponentXSStyling","ComponentXXSStyling","ParagraphXlStyling","ParagraphLStyling","ParagraphMStyling","ParagraphSStyling","ParagraphXSStyling","HeadlineXLStyling","HeadlineLStyling","HeadlineMStyling","HeadlineSStyling","HeadlineXSStyling","HeadlineXXSStyling","globalStyles","Size","scrollBarStyling","size","Small","Medium","neutral_100","neutral_500","primary_700","primary_800","Z_INDEXES"],"mappings":";;;;AAAA,SAASA,GAAT,QAAoB,mBAApB;AACA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,WAAP,MAAwB,eAAxB;AACA,SAASC,UAAT,QAA2B,gBAA3B;AAEA,SAASC,UAAT,EAAqBC,SAArB,EAAgCC,SAAhC,EAA2CC,SAA3C,EAAsDC,UAAtD,EAAkEC,WAAlE,QAAqF,cAArF;AACA,SAASC,kBAAT,EAA6BC,WAA7B,EAA0CC,UAA1C,EAAsDC,UAAtD,EAAkEC,UAAlE,EAA8EC,WAA9E,QAAiG,cAAjG;AACA,SAASC,kBAAT,EAA6BC,WAA7B,EAA0CC,UAA1C,EAAsDC,UAAtD,EAAkEC,UAAlE,EAA8EC,WAA9E,EAA2FC,YAA3F,EAAyGC,mBAAzG,QAAoI,cAApI;AACA,SAASC,kBAAT,EAA6BC,iBAA7B,EAAgDC,iBAAhD,EAAmEC,iBAAnE,EAAsFC,kBAAtF,EAA0GC,mBAA1G,QAAqI,cAArI;AACA,SAASC,kBAAT,EAA6BC,iBAA7B,EAAgDC,iBAAhD,EAAmEC,iBAAnE,EAAsFC,kBAAtF,QAAgH,cAAhH;AACA,SAASC,iBAAT,EAA4BC,gBAA5B,EAA8CC,gBAA9C,EAAgE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,cAAc,gBAAd","sourcesContent":["import { css } from 'styled-components';\nimport COLORS from './colors';\nimport BREAKPOINTS from './breakpoints';\nimport { BOXSHADOWS } from './shadowstyles';\n\nimport { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS } from './typography';\nimport { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS } from './typography';\nimport { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive } from './typography';\nimport { ComponentXLStyling, ComponentLStyling, ComponentMStyling, ComponentSStyling, ComponentXSStyling, ComponentXXSStyling } from './typography';\nimport { ParagraphXlStyling, ParagraphLStyling, ParagraphMStyling, ParagraphSStyling, ParagraphXSStyling } from './typography';\nimport { HeadlineXLStyling, HeadlineLStyling, HeadlineMStyling, HeadlineSStyling, HeadlineXSStyling, HeadlineXXSStyling } from './typography';\n\nimport globalStyles from './global';\nimport { Size } from '../types';\n\nexport { COLORS, BREAKPOINTS, BOXSHADOWS, globalStyles };\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\nexport const scrollBarStyling = (size: Size.Small | Size.Medium = Size.Small) => css`\n \n ::-webkit-scrollbar {\n width: ${size == Size.Medium ? '6px' : '4px'};\n height: ${size == Size.Medium ? '6px' : '4px'};\n cursor: pointer;\n }\n\n /* Track */\n ::-webkit-scrollbar-track {\n background: ${COLORS.neutral_100};\n border-radius: 6px;\n }\n\n /* Handle */\n ::-webkit-scrollbar-thumb {\n background: ${COLORS.neutral_500};\n border-radius: 4px;\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:hover {\n background: ${COLORS.primary_700};\n }\n\n /* Handle on hover */\n ::-webkit-scrollbar-thumb:active {\n background: ${COLORS.primary_800};\n }\n`;\n\nexport {Z_INDEXES} from './z-indexes'\n\nexport * from './focus-styles';\n"],"file":"index.js"}
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
- exports.TYPOGRAPHY = 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;
10
+ 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;
11
11
 
12
12
  var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
13
13
 
@@ -29,10 +29,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
29
29
 
30
30
  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; }
31
31
 
32
- var TYPOGRAPHY = {
33
- fontFamily: 'Lato, sans-serif'
34
- };
35
- exports.TYPOGRAPHY = TYPOGRAPHY;
36
32
  var TypographyBase = (0, _styledComponents.default)('div')(function (_ref) {
37
33
  var $color = _ref.$color,
38
34
  lineHeight = _ref.lineHeight,
@@ -42,7 +38,6 @@ var TypographyBase = (0, _styledComponents.default)('div')(function (_ref) {
42
38
  textTransform = _ref.textTransform,
43
39
  textDecorationLine = _ref.textDecorationLine;
44
40
  return {
45
- fontFamily: TYPOGRAPHY.fontFamily,
46
41
  fontSize: $fontSize,
47
42
  fontWeight: $fontWeight,
48
43
  lineHeight: lineHeight + 'px',
@@ -54,7 +49,7 @@ var TypographyBase = (0, _styledComponents.default)('div')(function (_ref) {
54
49
  });
55
50
 
56
51
  var HeadlineBaseStyling = function HeadlineBaseStyling(fontSize, lineHeight, color) {
57
- return (0, _styledComponents.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: 700;\n color: ", ";\n "])), TYPOGRAPHY.fontFamily, fontSize, lineHeight, color);
52
+ 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);
58
53
  };
59
54
 
60
55
  var HeadlineBase = (0, _styledComponents.default)(TypographyBase)(function (_ref2) {
@@ -193,7 +188,7 @@ var paragraphTextDecorationLine = function paragraphTextDecorationLine(textStyle
193
188
  };
194
189
 
195
190
  var ParagraphBaseStyling = function ParagraphBaseStyling(fontSize, lineHeight, textStyle, color) {
196
- return (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n "])), TYPOGRAPHY.fontFamily, fontSize, paragraphFontWeight(textStyle), lineHeight, paragraphFontStyle(textStyle), color);
191
+ 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);
197
192
  };
198
193
 
199
194
  var ParagraphXlStyling = function ParagraphXlStyling(textStyle, color) {
@@ -381,7 +376,7 @@ var componentTextTransformation = function componentTextTransformation(textStyle
381
376
  };
382
377
 
383
378
  var ComponentStyling = function ComponentStyling(fontSize, lineHeight, textStyle, color) {
384
- return (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n ", "\n "])), TYPOGRAPHY.fontFamily, fontSize, componentFontWeight(textStyle), lineHeight, componentFontStyle(textStyle), color === null ? '' : "color: ".concat(color || _.COLORS.black, ";"));
379
+ 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, ";"));
385
380
  };
386
381
 
387
382
  var ComponentXLStyling = function ComponentXLStyling(textStyle, color) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/styles/typography.tsx"],"names":["TYPOGRAPHY","fontFamily","TypographyBase","$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","Small","Medium","Large","XXSmall","XSmall"],"mappings":";;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;;;;;;;;;AAEA,IAAMA,UAAU,GAAG;AACjBC,EAAAA,UAAU,EAAE;AADK,CAAnB;;AAcA,IAAMC,cAAc,GAAG,+BAAO,KAAP,EAA+B;AAAA,MAAGC,MAAH,QAAGA,MAAH;AAAA,MAAWC,UAAX,QAAWA,UAAX;AAAA,MAAuBC,SAAvB,QAAuBA,SAAvB;AAAA,MAAkCC,WAAlC,QAAkCA,WAAlC;AAAA,MAA+CC,UAA/C,QAA+CA,UAA/C;AAAA,MAA2DC,aAA3D,QAA2DA,aAA3D;AAAA,MAA0EC,kBAA1E,QAA0EA,kBAA1E;AAAA,SAAoG;AACxJR,IAAAA,UAAU,EAAED,UAAU,CAACC,UADiI;AAExJS,IAAAA,QAAQ,EAAEL,SAF8I;AAGxJM,IAAAA,UAAU,EAAEL,WAH4I;AAIxJF,IAAAA,UAAU,EAAEA,UAAU,GAAG,IAJ+H;AAKxJI,IAAAA,aAAa,EAAEA,aAAa,GAAGA,aAAH,GAAmB,MALyG;AAMxJC,IAAAA,kBAAkB,EAAEA,kBAAkB,GAAGA,kBAAH,GAAwB,MAN0F;AAOxJG,IAAAA,SAAS,EAAEL,UAAU,GAAGA,UAAH,GAAgB,QAPmH;AAQxJM,IAAAA,KAAK,EAAEV,MAAM,GAAGA,MAAH,GAAYW,SAAOC;AARwH,GAApG;AAAA,CAA/B,CAAvB;;AAqBA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAsB,CAACN,QAAD,EAAmBN,UAAnB,EAAuCS,KAAvC,EAAyD;AACnF,aAAOI,qBAAP,wMACiBjB,UAAU,CAACC,UAD5B,EAEeS,QAFf,EAGiBN,UAHjB,EAKWS,KALX;AAOD,CARD;;AASA,IAAM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SAAKC,YAAKI,OAAV;AACE,0BAAO,qBAAC,YAAD;AAAc,QAAA,KAAK,EAAEtE,KAArB;AAA4B,QAAA,SAAS,EAAEwB,SAAvC;AAAkD,QAAA,QAAQ,EAAEU;AAA5D,QAAP;;AACF,SAAKgC,YAAKK,MAAV;AACE,0BAAO,qBAAC,WAAD;AAAa,QAAA,KAAK,EAAEvE,KAApB;AAA2B,QAAA,SAAS,EAAEwB,SAAtC;AAAiD,QAAA,QAAQ,EAAEU;AAA3D,QAAP;;AACF,SAAKgC,YAAKC,KAAV;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAEnE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;;AACF,SAAKgC,YAAKE,MAAV;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAEpE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;;AACF,SAAKgC,YAAKG,KAAV;AACA;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAErE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;AAXJ;AAaD,CAxBD;;;;AAtGElC,EAAAA,K;AACAmD,EAAAA,S;AACA3B,EAAAA,S","sourcesContent":["import React from 'react';\nimport styled, { css } from 'styled-components';\nimport { COLORS } from '.';\nimport { Property } from 'csstype';\nimport { Size } from '../types';\n\nconst TYPOGRAPHY = {\n fontFamily: 'Lato, sans-serif',\n};\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\nconst TypographyBase = styled('div')<ITypographyBase>(({ $color, lineHeight, $fontSize, $fontWeight, $fontStyle, textTransform, textDecorationLine }) => ({\n fontFamily: TYPOGRAPHY.fontFamily,\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-family: ${TYPOGRAPHY.fontFamily};\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};\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-family: ${TYPOGRAPHY.fontFamily};\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};\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-family: ${TYPOGRAPHY.fontFamily};\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 < 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 { TYPOGRAPHY };\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"],"file":"typography.cjs"}
1
+ {"version":3,"sources":["../../src/styles/typography.tsx"],"names":["TypographyBase","$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","Small","Medium","Large","XXSmall","XSmall"],"mappings":";;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;;;;;;;;;AAYA,IAAMA,cAAc,GAAG,+BAAO,KAAP,EAA+B;AAAA,MAAGC,MAAH,QAAGA,MAAH;AAAA,MAAWC,UAAX,QAAWA,UAAX;AAAA,MAAuBC,SAAvB,QAAuBA,SAAvB;AAAA,MAAkCC,WAAlC,QAAkCA,WAAlC;AAAA,MAA+CC,UAA/C,QAA+CA,UAA/C;AAAA,MAA2DC,aAA3D,QAA2DA,aAA3D;AAAA,MAA0EC,kBAA1E,QAA0EA,kBAA1E;AAAA,SAAoG;AACxJC,IAAAA,QAAQ,EAAEL,SAD8I;AAExJM,IAAAA,UAAU,EAAEL,WAF4I;AAGxJF,IAAAA,UAAU,EAAEA,UAAU,GAAG,IAH+H;AAIxJI,IAAAA,aAAa,EAAEA,aAAa,GAAGA,aAAH,GAAmB,MAJyG;AAKxJC,IAAAA,kBAAkB,EAAEA,kBAAkB,GAAGA,kBAAH,GAAwB,MAL0F;AAMxJG,IAAAA,SAAS,EAAEL,UAAU,GAAGA,UAAH,GAAgB,QANmH;AAOxJM,IAAAA,KAAK,EAAEV,MAAM,GAAGA,MAAH,GAAYW,SAAOC;AAPwH,GAApG;AAAA,CAA/B,CAAvB;;AAoBA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAsB,CAACN,QAAD,EAAmBN,UAAnB,EAAuCS,KAAvC,EAAyD;AACnF,aAAOI,qBAAP,gLACeP,QADf,EAEiBN,UAFjB,EAIWS,KAJX;AAMD,CAPD;;AAQA,IAAMK,YAAY,GAAG,+BAAOhB,cAAP,EAAsC;AAAA,MAAGC,MAAH,SAAGA,MAAH;AAAA,MAAWC,UAAX,SAAWA,UAAX;AAAA,MAAuBM,QAAvB,SAAuBA,QA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O,qBAAC,WAAD;AAAa,QAAA,KAAK,EAAEvE,KAApB;AAA2B,QAAA,SAAS,EAAEwB,SAAtC;AAAiD,QAAA,QAAQ,EAAEU;AAA3D,QAAP;;AACF,SAAKgC,YAAKC,KAAV;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAEnE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;;AACF,SAAKgC,YAAKE,MAAV;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAEpE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;;AACF,SAAKgC,YAAKG,KAAV;AACA;AACE,0BAAO,qBAAC,UAAD;AAAY,QAAA,KAAK,EAAErE,KAAnB;AAA0B,QAAA,SAAS,EAAEwB,SAArC;AAAgD,QAAA,QAAQ,EAAEU;AAA1D,QAAP;AAXJ;AAaD,CAxBD;;;;AArGElC,EAAAA,K;AACAmD,EAAAA,S;AACA3B,EAAAA,S","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\nconst 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};\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};\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 < 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"],"file":"typography.cjs"}
@@ -1,9 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Property } from 'csstype';
3
3
  import { Size } from '../types';
4
- declare const TYPOGRAPHY: {
5
- fontFamily: string;
6
- };
7
4
  interface ITypographyBase {
8
5
  $color?: string;
9
6
  lineHeight: number;
@@ -80,7 +77,6 @@ declare const ComponentResponsive: React.FunctionComponent<ComponentProps & {
80
77
  size?: Size;
81
78
  width: number;
82
79
  }>;
83
- export { TYPOGRAPHY };
84
80
  export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
85
81
  export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
86
82
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };
@@ -8,9 +8,6 @@ import styled, { css } from 'styled-components';
8
8
  import { COLORS } from '.';
9
9
  import { Size } from '../types';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
- var TYPOGRAPHY = {
12
- fontFamily: 'Lato, sans-serif'
13
- };
14
11
  var TypographyBase = styled('div')(function (_ref) {
15
12
  var $color = _ref.$color,
16
13
  lineHeight = _ref.lineHeight,
@@ -20,7 +17,6 @@ var TypographyBase = styled('div')(function (_ref) {
20
17
  textTransform = _ref.textTransform,
21
18
  textDecorationLine = _ref.textDecorationLine;
22
19
  return {
23
- fontFamily: TYPOGRAPHY.fontFamily,
24
20
  fontSize: $fontSize,
25
21
  fontWeight: $fontWeight,
26
22
  lineHeight: lineHeight + 'px',
@@ -32,7 +28,7 @@ var TypographyBase = styled('div')(function (_ref) {
32
28
  });
33
29
 
34
30
  var HeadlineBaseStyling = function HeadlineBaseStyling(fontSize, lineHeight, color) {
35
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n font-weight: 700;\n color: ", ";\n "])), TYPOGRAPHY.fontFamily, fontSize, lineHeight, color);
31
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: ", ";\n font-weight: 700;\n color: ", ";\n "])), fontSize, lineHeight, color);
36
32
  };
37
33
 
38
34
  var HeadlineBase = styled(TypographyBase)(function (_ref2) {
@@ -158,7 +154,7 @@ var paragraphTextDecorationLine = function paragraphTextDecorationLine(textStyle
158
154
  };
159
155
 
160
156
  var ParagraphBaseStyling = function ParagraphBaseStyling(fontSize, lineHeight, textStyle, color) {
161
- return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n color: ", ";\n "])), TYPOGRAPHY.fontFamily, fontSize, paragraphFontWeight(textStyle), lineHeight, paragraphFontStyle(textStyle), color);
157
+ 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);
162
158
  };
163
159
 
164
160
  var ParagraphXlStyling = function ParagraphXlStyling(textStyle, color) {
@@ -330,7 +326,7 @@ var componentTextTransformation = function componentTextTransformation(textStyle
330
326
  };
331
327
 
332
328
  var ComponentStyling = function ComponentStyling(fontSize, lineHeight, textStyle, color) {
333
- return css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-style: ", ";\n ", "\n "])), TYPOGRAPHY.fontFamily, fontSize, componentFontWeight(textStyle), lineHeight, componentFontStyle(textStyle), color === null ? '' : "color: ".concat(color || COLORS.black, ";"));
329
+ 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, ";"));
334
330
  };
335
331
 
336
332
  var ComponentXLStyling = function ComponentXLStyling(textStyle, color) {
@@ -567,7 +563,6 @@ ComponentResponsive.propTypes = {
567
563
  className: _pt.string,
568
564
  textStyle: _pt.oneOf([1, 2, 3, 4])
569
565
  };
570
- export { TYPOGRAPHY };
571
566
  export { HeadlineXL, HeadlineL, HeadlineM, HeadlineS, HeadlineXS, HeadlineXXS };
572
567
  export { ParagraphTextStyle, ParagraphXL, ParagraphL, ParagraphM, ParagraphS, ParagraphXS };
573
568
  export { ComponentTextStyle, ComponentXL, ComponentL, ComponentM, ComponentS, ComponentXS, ComponentXXS, ComponentResponsive };