@dnanpm/styleguide 1.9.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/build/cjs/components/Accordion/Accordion.d.ts +27 -15
  2. package/build/cjs/components/Accordion/Accordion.js +29 -12
  3. package/build/cjs/components/Accordion/AccordionItem.d.ts +14 -29
  4. package/build/cjs/components/Accordion/AccordionItem.js +32 -52
  5. package/build/cjs/components/AmountSelector/AmountSelector.js +16 -9
  6. package/build/cjs/components/Buttons/ButtonBasicStyles.d.ts +37 -30
  7. package/build/cjs/components/Buttons/ButtonBasicStyles.js +14 -18
  8. package/build/cjs/components/Buttons/ButtonDefault.js +6 -2
  9. package/build/cjs/components/Buttons/ButtonIcon.js +9 -2
  10. package/build/cjs/components/Buttons/ButtonIconPrimary.js +9 -2
  11. package/build/cjs/components/Buttons/ButtonIconPrimaryStyles.d.ts +37 -30
  12. package/build/cjs/components/Buttons/ButtonIconStyles.d.ts +37 -30
  13. package/build/cjs/components/Buttons/ButtonIconStyles.js +2 -6
  14. package/build/cjs/components/Buttons/ButtonPrimary.js +6 -2
  15. package/build/cjs/components/Buttons/ButtonPrimaryStyles.d.ts +37 -30
  16. package/build/cjs/components/Buttons/ButtonSecondary.js +7 -3
  17. package/build/cjs/components/Buttons/ButtonSecondaryStyles.d.ts +37 -30
  18. package/build/cjs/components/Buttons/ButtonTertiary.js +7 -3
  19. package/build/cjs/components/Buttons/ButtonTertiaryStyles.d.ts +37 -30
  20. package/build/cjs/components/Buttons/CloseButton.d.ts +37 -30
  21. package/build/cjs/components/Card/Card.js +4 -2
  22. package/build/cjs/components/Card/CardRow.js +3 -3
  23. package/build/cjs/components/Checkbox/Checkbox.d.ts +38 -12
  24. package/build/cjs/components/Checkbox/Checkbox.js +39 -70
  25. package/build/cjs/components/DnaLogo/DnaLogo.d.ts +37 -40
  26. package/build/cjs/components/EmptyState/EmptyState.d.ts +5 -1
  27. package/build/cjs/components/EmptyState/EmptyState.js +11 -3
  28. package/build/cjs/components/Footer/Components/FooterComponents.js +11 -7
  29. package/build/cjs/components/Helper/Helper.js +2 -1
  30. package/build/cjs/components/Icon/Icon.d.ts +46 -115
  31. package/build/cjs/components/Icon/Icon.js +37 -18
  32. package/build/cjs/components/Icon/Icons.d.ts +219 -317
  33. package/build/cjs/components/Icon/Icons.js +1 -374
  34. package/build/cjs/components/Icons/Small/hlArrowBackSmall.d.ts +12 -0
  35. package/build/cjs/components/Icons/Small/hlArrowBackSmall.js +24 -0
  36. package/build/cjs/components/Icons/Small/hlArrowForwardSmall.d.ts +12 -0
  37. package/build/cjs/components/Icons/Small/hlArrowForwardSmall.js +24 -0
  38. package/build/cjs/components/Icons/Small/hlArrowUnderSmall.d.ts +8 -0
  39. package/build/cjs/components/Icons/Small/hlArrowUnderSmall.js +19 -0
  40. package/build/cjs/components/Icons/Small/hlCalendarSmall.d.ts +4 -0
  41. package/build/cjs/components/Icons/Small/hlCalendarSmall.js +14 -0
  42. package/build/cjs/components/Icons/Small/hlChevronDownSmall.d.ts +4 -0
  43. package/build/cjs/components/Icons/Small/hlChevronDownSmall.js +14 -0
  44. package/build/cjs/components/Icons/Small/hlChevronLeftSmall.d.ts +4 -0
  45. package/build/cjs/components/Icons/Small/hlChevronLeftSmall.js +14 -0
  46. package/build/cjs/components/Icons/Small/hlChevronRightSmall.d.ts +4 -0
  47. package/build/cjs/components/Icons/Small/hlChevronRightSmall.js +14 -0
  48. package/build/cjs/components/Icons/Small/hlChevronUpSmall.d.ts +4 -0
  49. package/build/cjs/components/Icons/Small/hlChevronUpSmall.js +14 -0
  50. package/build/cjs/components/Icons/Small/hlClockSmall.d.ts +4 -0
  51. package/build/cjs/components/Icons/Small/hlClockSmall.js +15 -0
  52. package/build/cjs/components/Icons/Small/hlDownloadSmall.d.ts +4 -0
  53. package/build/cjs/components/Icons/Small/hlDownloadSmall.js +16 -0
  54. package/build/cjs/components/Icons/Small/hlExternalSmall.d.ts +4 -0
  55. package/build/cjs/components/Icons/Small/hlExternalSmall.js +14 -0
  56. package/build/cjs/components/Icons/Small/hlUploadSmall.d.ts +4 -0
  57. package/build/cjs/components/Icons/Small/hlUploadSmall.js +16 -0
  58. package/build/cjs/components/Icons/Social/facebook.d.ts +4 -0
  59. package/build/cjs/components/Icons/Social/facebook.js +14 -0
  60. package/build/cjs/components/Icons/Social/instagram.d.ts +4 -0
  61. package/build/cjs/components/Icons/Social/instagram.js +14 -0
  62. package/build/cjs/components/Icons/Social/linkedin.d.ts +4 -0
  63. package/build/cjs/components/Icons/Social/linkedin.js +14 -0
  64. package/build/cjs/components/Icons/Social/tiktok.d.ts +4 -0
  65. package/build/cjs/components/Icons/Social/tiktok.js +14 -0
  66. package/build/cjs/components/Icons/Social/twitter.d.ts +4 -0
  67. package/build/cjs/components/Icons/Social/twitter.js +14 -0
  68. package/build/cjs/components/Icons/Social/youtube.d.ts +4 -0
  69. package/build/cjs/components/Icons/Social/youtube.js +14 -0
  70. package/build/cjs/components/Icons/hl404.d.ts +4 -0
  71. package/build/cjs/components/Icons/hl404.js +14 -0
  72. package/build/cjs/components/Icons/hl4gSim.d.ts +4 -0
  73. package/build/cjs/components/Icons/hl4gSim.js +14 -0
  74. package/build/cjs/components/Icons/hl5gSim.d.ts +4 -0
  75. package/build/cjs/components/Icons/hl5gSim.js +14 -0
  76. package/build/cjs/components/Icons/hlBattery.d.ts +4 -0
  77. package/build/cjs/components/Icons/hlBattery.js +16 -0
  78. package/build/cjs/components/Icons/hlBell.d.ts +4 -0
  79. package/build/cjs/components/Icons/hlBell.js +14 -0
  80. package/build/cjs/components/Icons/hlCalendar.d.ts +4 -0
  81. package/build/cjs/components/Icons/hlCalendar.js +25 -0
  82. package/build/cjs/components/Icons/hlCall.d.ts +4 -0
  83. package/build/cjs/components/Icons/hlCall.js +14 -0
  84. package/build/cjs/components/Icons/hlCameraBack.d.ts +4 -0
  85. package/build/cjs/components/Icons/hlCameraBack.js +16 -0
  86. package/build/cjs/components/Icons/hlCameraFront.d.ts +4 -0
  87. package/build/cjs/components/Icons/hlCameraFront.js +15 -0
  88. package/build/cjs/components/Icons/hlCart.d.ts +4 -0
  89. package/build/cjs/components/Icons/hlCart.js +16 -0
  90. package/build/cjs/components/Icons/hlCartEmpty.d.ts +4 -0
  91. package/build/cjs/components/Icons/hlCartEmpty.js +16 -0
  92. package/build/cjs/components/Icons/hlChat.d.ts +4 -0
  93. package/build/cjs/components/Icons/hlChat.js +17 -0
  94. package/build/cjs/components/Icons/hlCheck.d.ts +4 -0
  95. package/build/cjs/components/Icons/hlCheck.js +14 -0
  96. package/build/cjs/components/Icons/hlChevronDown.d.ts +4 -0
  97. package/build/cjs/components/Icons/hlChevronDown.js +14 -0
  98. package/build/cjs/components/Icons/hlChevronLeft.d.ts +4 -0
  99. package/build/cjs/components/Icons/hlChevronLeft.js +14 -0
  100. package/build/cjs/components/Icons/hlChevronRight.d.ts +4 -0
  101. package/build/cjs/components/Icons/hlChevronRight.js +14 -0
  102. package/build/cjs/components/Icons/hlChevronUp.d.ts +4 -0
  103. package/build/cjs/components/Icons/hlChevronUp.js +14 -0
  104. package/build/cjs/components/Icons/hlCompensation.d.ts +4 -0
  105. package/build/cjs/components/Icons/hlCompensation.js +14 -0
  106. package/build/cjs/components/Icons/hlCookie.d.ts +4 -0
  107. package/build/cjs/components/Icons/hlCookie.js +14 -0
  108. package/build/cjs/components/Icons/hlCopy.d.ts +4 -0
  109. package/build/cjs/components/Icons/hlCopy.js +15 -0
  110. package/build/cjs/components/Icons/hlCoupon.d.ts +4 -0
  111. package/build/cjs/components/Icons/hlCoupon.js +16 -0
  112. package/build/cjs/components/Icons/hlDelivery.d.ts +4 -0
  113. package/build/cjs/components/Icons/hlDelivery.js +14 -0
  114. package/build/cjs/components/Icons/hlDigiturva.d.ts +4 -0
  115. package/build/cjs/components/Icons/hlDigiturva.js +14 -0
  116. package/build/cjs/components/Icons/hlDisplaySize.d.ts +4 -0
  117. package/build/cjs/components/Icons/hlDisplaySize.js +16 -0
  118. package/build/cjs/components/Icons/hlDocument.d.ts +4 -0
  119. package/build/cjs/components/Icons/hlDocument.js +15 -0
  120. package/build/cjs/components/Icons/hlDownload.d.ts +4 -0
  121. package/build/cjs/components/Icons/hlDownload.js +16 -0
  122. package/build/cjs/components/Icons/hlEnvelope.d.ts +4 -0
  123. package/build/cjs/components/Icons/hlEnvelope.js +14 -0
  124. package/build/cjs/components/Icons/hlError.d.ts +4 -0
  125. package/build/cjs/components/Icons/hlError.js +16 -0
  126. package/build/cjs/components/Icons/hlEuro.d.ts +4 -0
  127. package/build/cjs/components/Icons/hlEuro.js +14 -0
  128. package/build/cjs/components/Icons/hlExclamationMark.d.ts +4 -0
  129. package/build/cjs/components/Icons/hlExclamationMark.js +14 -0
  130. package/build/cjs/components/Icons/hlExpand.d.ts +4 -0
  131. package/build/cjs/components/Icons/hlExpand.js +14 -0
  132. package/build/cjs/components/Icons/hlExternal.d.ts +4 -0
  133. package/build/cjs/components/Icons/hlExternal.js +14 -0
  134. package/build/cjs/components/Icons/hlEyeClosed.d.ts +4 -0
  135. package/build/cjs/components/Icons/hlEyeClosed.js +14 -0
  136. package/build/cjs/components/Icons/hlEyeOpen.d.ts +4 -0
  137. package/build/cjs/components/Icons/hlEyeOpen.js +15 -0
  138. package/build/cjs/components/Icons/hlFaceId.d.ts +4 -0
  139. package/build/cjs/components/Icons/hlFaceId.js +14 -0
  140. package/build/cjs/components/Icons/hlFastDelivery.d.ts +4 -0
  141. package/build/cjs/components/Icons/hlFastDelivery.js +14 -0
  142. package/build/cjs/components/Icons/hlFingerprint.d.ts +4 -0
  143. package/build/cjs/components/Icons/hlFingerprint.js +18 -0
  144. package/build/cjs/components/Icons/hlGlobe.d.ts +4 -0
  145. package/build/cjs/components/Icons/hlGlobe.js +14 -0
  146. package/build/cjs/components/Icons/hlHeadphones.d.ts +4 -0
  147. package/build/cjs/components/Icons/hlHeadphones.js +14 -0
  148. package/build/cjs/components/Icons/hlHeadset.d.ts +4 -0
  149. package/build/cjs/components/Icons/hlHeadset.js +16 -0
  150. package/build/cjs/components/Icons/hlHeart.d.ts +4 -0
  151. package/build/cjs/components/Icons/hlHeart.js +14 -0
  152. package/build/cjs/components/Icons/hlHome.d.ts +4 -0
  153. package/build/cjs/components/Icons/hlHome.js +14 -0
  154. package/build/cjs/components/Icons/hlImage.d.ts +4 -0
  155. package/build/cjs/components/Icons/hlImage.js +14 -0
  156. package/build/cjs/components/Icons/hlInfo.d.ts +4 -0
  157. package/build/cjs/components/Icons/hlInfo.js +16 -0
  158. package/build/cjs/components/Icons/hlInstallment.d.ts +4 -0
  159. package/build/cjs/components/Icons/hlInstallment.js +15 -0
  160. package/build/cjs/components/Icons/hlIotSim.d.ts +4 -0
  161. package/build/cjs/components/Icons/hlIotSim.js +15 -0
  162. package/build/cjs/components/Icons/hlLock.d.ts +4 -0
  163. package/build/cjs/components/Icons/hlLock.js +16 -0
  164. package/build/cjs/components/Icons/hlMagnifyingGlass.d.ts +4 -0
  165. package/build/cjs/components/Icons/hlMagnifyingGlass.js +15 -0
  166. package/build/cjs/components/Icons/hlMarker.d.ts +4 -0
  167. package/build/cjs/components/Icons/hlMarker.js +15 -0
  168. package/build/cjs/components/Icons/hlMemory.d.ts +4 -0
  169. package/build/cjs/components/Icons/hlMemory.js +15 -0
  170. package/build/cjs/components/Icons/hlMenu.d.ts +4 -0
  171. package/build/cjs/components/Icons/hlMenu.js +14 -0
  172. package/build/cjs/components/Icons/hlMinimize.d.ts +4 -0
  173. package/build/cjs/components/Icons/hlMinimize.js +14 -0
  174. package/build/cjs/components/Icons/hlMinus.d.ts +4 -0
  175. package/build/cjs/components/Icons/hlMinus.js +14 -0
  176. package/build/cjs/components/Icons/hlMobileData.d.ts +4 -0
  177. package/build/cjs/components/Icons/hlMobileData.js +14 -0
  178. package/build/cjs/components/Icons/hlMobilePayment.d.ts +4 -0
  179. package/build/cjs/components/Icons/hlMobilePayment.js +16 -0
  180. package/build/cjs/components/Icons/hlModem.d.ts +4 -0
  181. package/build/cjs/components/Icons/hlModem.js +18 -0
  182. package/build/cjs/components/Icons/hlMore.d.ts +4 -0
  183. package/build/cjs/components/Icons/hlMore.js +16 -0
  184. package/build/cjs/components/Icons/hlOs.d.ts +4 -0
  185. package/build/cjs/components/Icons/hlOs.js +15 -0
  186. package/build/cjs/components/Icons/hlPackage.d.ts +4 -0
  187. package/build/cjs/components/Icons/hlPackage.js +14 -0
  188. package/build/cjs/components/Icons/hlPaperclip.d.ts +4 -0
  189. package/build/cjs/components/Icons/hlPaperclip.js +14 -0
  190. package/build/cjs/components/Icons/hlPaytime.d.ts +4 -0
  191. package/build/cjs/components/Icons/hlPaytime.js +14 -0
  192. package/build/cjs/components/Icons/hlPen.d.ts +4 -0
  193. package/build/cjs/components/Icons/hlPen.js +14 -0
  194. package/build/cjs/components/Icons/hlPerson.d.ts +4 -0
  195. package/build/cjs/components/Icons/hlPerson.js +14 -0
  196. package/build/cjs/components/Icons/hlPhone.d.ts +4 -0
  197. package/build/cjs/components/Icons/hlPhone.js +15 -0
  198. package/build/cjs/components/Icons/hlPlus.d.ts +4 -0
  199. package/build/cjs/components/Icons/hlPlus.js +15 -0
  200. package/build/cjs/components/Icons/hlPrepaid.d.ts +4 -0
  201. package/build/cjs/components/Icons/hlPrepaid.js +14 -0
  202. package/build/cjs/components/Icons/hlProcessor.d.ts +4 -0
  203. package/build/cjs/components/Icons/hlProcessor.js +15 -0
  204. package/build/cjs/components/Icons/hlServices.d.ts +4 -0
  205. package/build/cjs/components/Icons/hlServices.js +14 -0
  206. package/build/cjs/components/Icons/hlSettings.d.ts +4 -0
  207. package/build/cjs/components/Icons/hlSettings.js +14 -0
  208. package/build/cjs/components/Icons/hlShield.d.ts +4 -0
  209. package/build/cjs/components/Icons/hlShield.js +15 -0
  210. package/build/cjs/components/Icons/hlSim.d.ts +4 -0
  211. package/build/cjs/components/Icons/hlSim.js +15 -0
  212. package/build/cjs/components/Icons/hlSimSimple.d.ts +4 -0
  213. package/build/cjs/components/Icons/hlSimSimple.js +16 -0
  214. package/build/cjs/components/Icons/hlSmile.d.ts +4 -0
  215. package/build/cjs/components/Icons/hlSmile.js +17 -0
  216. package/build/cjs/components/Icons/hlSpeechBubble.d.ts +4 -0
  217. package/build/cjs/components/Icons/hlSpeechBubble.js +15 -0
  218. package/build/cjs/components/Icons/hlSquaretrade.d.ts +4 -0
  219. package/build/cjs/components/Icons/hlSquaretrade.js +14 -0
  220. package/build/cjs/components/Icons/hlStar.d.ts +4 -0
  221. package/build/cjs/components/Icons/hlStar.js +14 -0
  222. package/build/cjs/components/Icons/hlStarFilled.d.ts +4 -0
  223. package/build/cjs/components/Icons/hlStarFilled.js +14 -0
  224. package/build/cjs/components/Icons/hlTrash.d.ts +4 -0
  225. package/build/cjs/components/Icons/hlTrash.js +15 -0
  226. package/build/cjs/components/Icons/hlTv.d.ts +4 -0
  227. package/build/cjs/components/Icons/hlTv.js +14 -0
  228. package/build/cjs/components/Icons/hlUnlock.d.ts +4 -0
  229. package/build/cjs/components/Icons/hlUnlock.js +16 -0
  230. package/build/cjs/components/Icons/hlUpload.d.ts +4 -0
  231. package/build/cjs/components/Icons/hlUpload.js +16 -0
  232. package/build/cjs/components/Icons/hlWarning.d.ts +4 -0
  233. package/build/cjs/components/Icons/hlWarning.js +16 -0
  234. package/build/cjs/components/Icons/hlWifi.d.ts +4 -0
  235. package/build/cjs/components/Icons/hlWifi.js +16 -0
  236. package/build/cjs/components/Icons/hlX.d.ts +4 -0
  237. package/build/cjs/components/Icons/hlX.js +14 -0
  238. package/build/cjs/components/Icons/index.d.ts +102 -0
  239. package/build/cjs/components/Icons/index.js +216 -0
  240. package/build/cjs/components/Input/Input.d.ts +102 -13
  241. package/build/cjs/components/Input/Input.js +59 -58
  242. package/build/cjs/components/Label/Label.js +2 -3
  243. package/build/cjs/components/LabelText/LabelText.d.ts +38 -30
  244. package/build/cjs/components/LabelText/LabelText.js +1 -1
  245. package/build/cjs/components/MainNavigation/ChildComponents/BusinessMenu.js +1 -1
  246. package/build/cjs/components/MainNavigation/ChildComponents/DesktopMenu.js +30 -12
  247. package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +37 -30
  248. package/build/cjs/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +10 -7
  249. package/build/cjs/components/MainNavigation/ChildComponents/LanguageSelector.js +4 -4
  250. package/build/cjs/components/MainNavigation/ChildComponents/LoginTooltip.js +2 -1
  251. package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +37 -30
  252. package/build/cjs/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +16 -19
  253. package/build/cjs/components/MainNavigation/ChildComponents/MinicartTooltip.js +2 -1
  254. package/build/cjs/components/MainNavigation/ChildComponents/MobileMenu.js +7 -6
  255. package/build/cjs/components/MainNavigation/ChildComponents/PageSearch.js +4 -3
  256. package/build/cjs/components/MainNavigation/ChildComponents/Ribbon.js +5 -6
  257. package/build/cjs/components/MainNavigation/MainNavigation.js +4 -17
  258. package/build/cjs/components/MainNavigation/globalNavStyles.d.ts +148 -120
  259. package/build/cjs/components/MainNavigation/globalNavStyles.js +1 -1
  260. package/build/cjs/components/Modal/Modal.js +2 -1
  261. package/build/cjs/components/Notification/Notification.d.ts +1 -5
  262. package/build/cjs/components/Notification/Notification.js +12 -7
  263. package/build/cjs/components/NotificationBadge/NotificationBadge.d.ts +37 -30
  264. package/build/cjs/components/NotificationBadge/NotificationBadge.js +1 -1
  265. package/build/cjs/components/PixelLoader/PixelLoaderStyles.d.ts +74 -60
  266. package/build/cjs/components/ProgressIndicator/ProgressIndicator.js +14 -10
  267. package/build/cjs/components/RadioButton/RadioButton.d.ts +33 -17
  268. package/build/cjs/components/RadioButton/RadioButton.js +13 -57
  269. package/build/cjs/components/ReadMore/ReadMore.js +7 -12
  270. package/build/cjs/components/Ribbon/Ribbon.js +4 -3
  271. package/build/cjs/components/Search/Search.d.ts +21 -2
  272. package/build/cjs/components/Search/Search.js +26 -7
  273. package/build/cjs/components/SecondaryNavigation/SecondaryNavigation.js +25 -26
  274. package/build/cjs/components/Selectbox/Selectbox.d.ts +104 -13
  275. package/build/cjs/components/Selectbox/Selectbox.js +61 -57
  276. package/build/cjs/components/Tabs/Tab.d.ts +37 -30
  277. package/build/cjs/components/Tabs/Tab.js +3 -2
  278. package/build/cjs/components/Tabs/Tabs.d.ts +40 -30
  279. package/build/cjs/components/Textarea/Textarea.js +4 -3
  280. package/build/cjs/components/Tooltip/Tooltip.d.ts +37 -30
  281. package/build/cjs/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +74 -60
  282. package/build/cjs/components/TooltipMenu/TooltipMenu.d.ts +13 -4
  283. package/build/cjs/components/TooltipMenu/TooltipMenu.js +10 -5
  284. package/build/cjs/components/index.d.ts +5 -2
  285. package/build/cjs/index.js +430 -2
  286. package/build/cjs/themes/globalStyles.d.ts +174 -60
  287. package/build/cjs/themes/globalStyles.js +133 -143
  288. package/build/cjs/themes/styled.d.ts +259 -210
  289. package/build/cjs/themes/theme.d.ts +37 -30
  290. package/build/cjs/themes/themeComponents/buttons.d.ts +1 -6
  291. package/build/cjs/themes/themeComponents/buttons.js +1 -6
  292. package/build/cjs/themes/themeComponents/fontFamily.d.ts +3 -1
  293. package/build/cjs/themes/themeComponents/fontFamily.js +3 -1
  294. package/build/cjs/themes/themeComponents/fontSize.d.ts +18 -15
  295. package/build/cjs/themes/themeComponents/fontSize.js +20 -14
  296. package/build/cjs/themes/themeComponents/lineHeight.d.ts +19 -12
  297. package/build/cjs/themes/themeComponents/lineHeight.js +21 -11
  298. package/build/es/components/Accordion/Accordion.d.ts +27 -15
  299. package/build/es/components/Accordion/Accordion.js +29 -12
  300. package/build/es/components/Accordion/AccordionItem.d.ts +14 -29
  301. package/build/es/components/Accordion/AccordionItem.js +34 -54
  302. package/build/es/components/AmountSelector/AmountSelector.js +16 -9
  303. package/build/es/components/Buttons/ButtonBasicStyles.d.ts +37 -30
  304. package/build/es/components/Buttons/ButtonBasicStyles.js +14 -18
  305. package/build/es/components/Buttons/ButtonDefault.js +6 -2
  306. package/build/es/components/Buttons/ButtonIcon.js +9 -2
  307. package/build/es/components/Buttons/ButtonIconPrimary.js +9 -2
  308. package/build/es/components/Buttons/ButtonIconPrimaryStyles.d.ts +37 -30
  309. package/build/es/components/Buttons/ButtonIconStyles.d.ts +37 -30
  310. package/build/es/components/Buttons/ButtonIconStyles.js +2 -6
  311. package/build/es/components/Buttons/ButtonPrimary.js +6 -2
  312. package/build/es/components/Buttons/ButtonPrimaryStyles.d.ts +37 -30
  313. package/build/es/components/Buttons/ButtonSecondary.js +7 -3
  314. package/build/es/components/Buttons/ButtonSecondaryStyles.d.ts +37 -30
  315. package/build/es/components/Buttons/ButtonTertiary.js +7 -3
  316. package/build/es/components/Buttons/ButtonTertiaryStyles.d.ts +37 -30
  317. package/build/es/components/Buttons/CloseButton.d.ts +37 -30
  318. package/build/es/components/Card/Card.js +4 -2
  319. package/build/es/components/Card/CardRow.js +3 -3
  320. package/build/es/components/Checkbox/Checkbox.d.ts +38 -12
  321. package/build/es/components/Checkbox/Checkbox.js +41 -72
  322. package/build/es/components/DnaLogo/DnaLogo.d.ts +37 -40
  323. package/build/es/components/EmptyState/EmptyState.d.ts +5 -1
  324. package/build/es/components/EmptyState/EmptyState.js +11 -3
  325. package/build/es/components/Footer/Components/FooterComponents.js +11 -7
  326. package/build/es/components/Helper/Helper.js +2 -1
  327. package/build/es/components/Icon/Icon.d.ts +46 -115
  328. package/build/es/components/Icon/Icon.js +35 -17
  329. package/build/es/components/Icon/Icons.d.ts +219 -317
  330. package/build/es/components/Icon/Icons.js +2 -280
  331. package/build/es/components/Icons/Small/hlArrowBackSmall.d.ts +12 -0
  332. package/build/es/components/Icons/Small/hlArrowBackSmall.js +15 -0
  333. package/build/es/components/Icons/Small/hlArrowForwardSmall.d.ts +12 -0
  334. package/build/es/components/Icons/Small/hlArrowForwardSmall.js +15 -0
  335. package/build/es/components/Icons/Small/hlArrowUnderSmall.d.ts +8 -0
  336. package/build/es/components/Icons/Small/hlArrowUnderSmall.js +11 -0
  337. package/build/es/components/Icons/Small/hlCalendarSmall.d.ts +4 -0
  338. package/build/es/components/Icons/Small/hlCalendarSmall.js +6 -0
  339. package/build/es/components/Icons/Small/hlChevronDownSmall.d.ts +4 -0
  340. package/build/es/components/Icons/Small/hlChevronDownSmall.js +6 -0
  341. package/build/es/components/Icons/Small/hlChevronLeftSmall.d.ts +4 -0
  342. package/build/es/components/Icons/Small/hlChevronLeftSmall.js +6 -0
  343. package/build/es/components/Icons/Small/hlChevronRightSmall.d.ts +4 -0
  344. package/build/es/components/Icons/Small/hlChevronRightSmall.js +6 -0
  345. package/build/es/components/Icons/Small/hlChevronUpSmall.d.ts +4 -0
  346. package/build/es/components/Icons/Small/hlChevronUpSmall.js +6 -0
  347. package/build/es/components/Icons/Small/hlClockSmall.d.ts +4 -0
  348. package/build/es/components/Icons/Small/hlClockSmall.js +7 -0
  349. package/build/es/components/Icons/Small/hlDownloadSmall.d.ts +4 -0
  350. package/build/es/components/Icons/Small/hlDownloadSmall.js +8 -0
  351. package/build/es/components/Icons/Small/hlExternalSmall.d.ts +4 -0
  352. package/build/es/components/Icons/Small/hlExternalSmall.js +6 -0
  353. package/build/es/components/Icons/Small/hlUploadSmall.d.ts +4 -0
  354. package/build/es/components/Icons/Small/hlUploadSmall.js +8 -0
  355. package/build/es/components/Icons/Social/facebook.d.ts +4 -0
  356. package/build/es/components/Icons/Social/facebook.js +6 -0
  357. package/build/es/components/Icons/Social/instagram.d.ts +4 -0
  358. package/build/es/components/Icons/Social/instagram.js +6 -0
  359. package/build/es/components/Icons/Social/linkedin.d.ts +4 -0
  360. package/build/es/components/Icons/Social/linkedin.js +6 -0
  361. package/build/es/components/Icons/Social/tiktok.d.ts +4 -0
  362. package/build/es/components/Icons/Social/tiktok.js +6 -0
  363. package/build/es/components/Icons/Social/twitter.d.ts +4 -0
  364. package/build/es/components/Icons/Social/twitter.js +6 -0
  365. package/build/es/components/Icons/Social/youtube.d.ts +4 -0
  366. package/build/es/components/Icons/Social/youtube.js +6 -0
  367. package/build/es/components/Icons/hl404.d.ts +4 -0
  368. package/build/es/components/Icons/hl404.js +6 -0
  369. package/build/es/components/Icons/hl4gSim.d.ts +4 -0
  370. package/build/es/components/Icons/hl4gSim.js +6 -0
  371. package/build/es/components/Icons/hl5gSim.d.ts +4 -0
  372. package/build/es/components/Icons/hl5gSim.js +6 -0
  373. package/build/es/components/Icons/hlBattery.d.ts +4 -0
  374. package/build/es/components/Icons/hlBattery.js +8 -0
  375. package/build/es/components/Icons/hlBell.d.ts +4 -0
  376. package/build/es/components/Icons/hlBell.js +6 -0
  377. package/build/es/components/Icons/hlCalendar.d.ts +4 -0
  378. package/build/es/components/Icons/hlCalendar.js +17 -0
  379. package/build/es/components/Icons/hlCall.d.ts +4 -0
  380. package/build/es/components/Icons/hlCall.js +6 -0
  381. package/build/es/components/Icons/hlCameraBack.d.ts +4 -0
  382. package/build/es/components/Icons/hlCameraBack.js +8 -0
  383. package/build/es/components/Icons/hlCameraFront.d.ts +4 -0
  384. package/build/es/components/Icons/hlCameraFront.js +7 -0
  385. package/build/es/components/Icons/hlCart.d.ts +4 -0
  386. package/build/es/components/Icons/hlCart.js +8 -0
  387. package/build/es/components/Icons/hlCartEmpty.d.ts +4 -0
  388. package/build/es/components/Icons/hlCartEmpty.js +8 -0
  389. package/build/es/components/Icons/hlChat.d.ts +4 -0
  390. package/build/es/components/Icons/hlChat.js +9 -0
  391. package/build/es/components/Icons/hlCheck.d.ts +4 -0
  392. package/build/es/components/Icons/hlCheck.js +6 -0
  393. package/build/es/components/Icons/hlChevronDown.d.ts +4 -0
  394. package/build/es/components/Icons/hlChevronDown.js +6 -0
  395. package/build/es/components/Icons/hlChevronLeft.d.ts +4 -0
  396. package/build/es/components/Icons/hlChevronLeft.js +6 -0
  397. package/build/es/components/Icons/hlChevronRight.d.ts +4 -0
  398. package/build/es/components/Icons/hlChevronRight.js +6 -0
  399. package/build/es/components/Icons/hlChevronUp.d.ts +4 -0
  400. package/build/es/components/Icons/hlChevronUp.js +6 -0
  401. package/build/es/components/Icons/hlCompensation.d.ts +4 -0
  402. package/build/es/components/Icons/hlCompensation.js +6 -0
  403. package/build/es/components/Icons/hlCookie.d.ts +4 -0
  404. package/build/es/components/Icons/hlCookie.js +6 -0
  405. package/build/es/components/Icons/hlCopy.d.ts +4 -0
  406. package/build/es/components/Icons/hlCopy.js +7 -0
  407. package/build/es/components/Icons/hlCoupon.d.ts +4 -0
  408. package/build/es/components/Icons/hlCoupon.js +8 -0
  409. package/build/es/components/Icons/hlDelivery.d.ts +4 -0
  410. package/build/es/components/Icons/hlDelivery.js +6 -0
  411. package/build/es/components/Icons/hlDigiturva.d.ts +4 -0
  412. package/build/es/components/Icons/hlDigiturva.js +6 -0
  413. package/build/es/components/Icons/hlDisplaySize.d.ts +4 -0
  414. package/build/es/components/Icons/hlDisplaySize.js +8 -0
  415. package/build/es/components/Icons/hlDocument.d.ts +4 -0
  416. package/build/es/components/Icons/hlDocument.js +7 -0
  417. package/build/es/components/Icons/hlDownload.d.ts +4 -0
  418. package/build/es/components/Icons/hlDownload.js +8 -0
  419. package/build/es/components/Icons/hlEnvelope.d.ts +4 -0
  420. package/build/es/components/Icons/hlEnvelope.js +6 -0
  421. package/build/es/components/Icons/hlError.d.ts +4 -0
  422. package/build/es/components/Icons/hlError.js +8 -0
  423. package/build/es/components/Icons/hlEuro.d.ts +4 -0
  424. package/build/es/components/Icons/hlEuro.js +6 -0
  425. package/build/es/components/Icons/hlExclamationMark.d.ts +4 -0
  426. package/build/es/components/Icons/hlExclamationMark.js +6 -0
  427. package/build/es/components/Icons/hlExpand.d.ts +4 -0
  428. package/build/es/components/Icons/hlExpand.js +6 -0
  429. package/build/es/components/Icons/hlExternal.d.ts +4 -0
  430. package/build/es/components/Icons/hlExternal.js +6 -0
  431. package/build/es/components/Icons/hlEyeClosed.d.ts +4 -0
  432. package/build/es/components/Icons/hlEyeClosed.js +6 -0
  433. package/build/es/components/Icons/hlEyeOpen.d.ts +4 -0
  434. package/build/es/components/Icons/hlEyeOpen.js +7 -0
  435. package/build/es/components/Icons/hlFaceId.d.ts +4 -0
  436. package/build/es/components/Icons/hlFaceId.js +6 -0
  437. package/build/es/components/Icons/hlFastDelivery.d.ts +4 -0
  438. package/build/es/components/Icons/hlFastDelivery.js +6 -0
  439. package/build/es/components/Icons/hlFingerprint.d.ts +4 -0
  440. package/build/es/components/Icons/hlFingerprint.js +10 -0
  441. package/build/es/components/Icons/hlGlobe.d.ts +4 -0
  442. package/build/es/components/Icons/hlGlobe.js +6 -0
  443. package/build/es/components/Icons/hlHeadphones.d.ts +4 -0
  444. package/build/es/components/Icons/hlHeadphones.js +6 -0
  445. package/build/es/components/Icons/hlHeadset.d.ts +4 -0
  446. package/build/es/components/Icons/hlHeadset.js +8 -0
  447. package/build/es/components/Icons/hlHeart.d.ts +4 -0
  448. package/build/es/components/Icons/hlHeart.js +6 -0
  449. package/build/es/components/Icons/hlHome.d.ts +4 -0
  450. package/build/es/components/Icons/hlHome.js +6 -0
  451. package/build/es/components/Icons/hlImage.d.ts +4 -0
  452. package/build/es/components/Icons/hlImage.js +6 -0
  453. package/build/es/components/Icons/hlInfo.d.ts +4 -0
  454. package/build/es/components/Icons/hlInfo.js +8 -0
  455. package/build/es/components/Icons/hlInstallment.d.ts +4 -0
  456. package/build/es/components/Icons/hlInstallment.js +7 -0
  457. package/build/es/components/Icons/hlIotSim.d.ts +4 -0
  458. package/build/es/components/Icons/hlIotSim.js +7 -0
  459. package/build/es/components/Icons/hlLock.d.ts +4 -0
  460. package/build/es/components/Icons/hlLock.js +8 -0
  461. package/build/es/components/Icons/hlMagnifyingGlass.d.ts +4 -0
  462. package/build/es/components/Icons/hlMagnifyingGlass.js +7 -0
  463. package/build/es/components/Icons/hlMarker.d.ts +4 -0
  464. package/build/es/components/Icons/hlMarker.js +7 -0
  465. package/build/es/components/Icons/hlMemory.d.ts +4 -0
  466. package/build/es/components/Icons/hlMemory.js +7 -0
  467. package/build/es/components/Icons/hlMenu.d.ts +4 -0
  468. package/build/es/components/Icons/hlMenu.js +6 -0
  469. package/build/es/components/Icons/hlMinimize.d.ts +4 -0
  470. package/build/es/components/Icons/hlMinimize.js +6 -0
  471. package/build/es/components/Icons/hlMinus.d.ts +4 -0
  472. package/build/es/components/Icons/hlMinus.js +6 -0
  473. package/build/es/components/Icons/hlMobileData.d.ts +4 -0
  474. package/build/es/components/Icons/hlMobileData.js +6 -0
  475. package/build/es/components/Icons/hlMobilePayment.d.ts +4 -0
  476. package/build/es/components/Icons/hlMobilePayment.js +8 -0
  477. package/build/es/components/Icons/hlModem.d.ts +4 -0
  478. package/build/es/components/Icons/hlModem.js +10 -0
  479. package/build/es/components/Icons/hlMore.d.ts +4 -0
  480. package/build/es/components/Icons/hlMore.js +8 -0
  481. package/build/es/components/Icons/hlOs.d.ts +4 -0
  482. package/build/es/components/Icons/hlOs.js +7 -0
  483. package/build/es/components/Icons/hlPackage.d.ts +4 -0
  484. package/build/es/components/Icons/hlPackage.js +6 -0
  485. package/build/es/components/Icons/hlPaperclip.d.ts +4 -0
  486. package/build/es/components/Icons/hlPaperclip.js +6 -0
  487. package/build/es/components/Icons/hlPaytime.d.ts +4 -0
  488. package/build/es/components/Icons/hlPaytime.js +6 -0
  489. package/build/es/components/Icons/hlPen.d.ts +4 -0
  490. package/build/es/components/Icons/hlPen.js +6 -0
  491. package/build/es/components/Icons/hlPerson.d.ts +4 -0
  492. package/build/es/components/Icons/hlPerson.js +6 -0
  493. package/build/es/components/Icons/hlPhone.d.ts +4 -0
  494. package/build/es/components/Icons/hlPhone.js +7 -0
  495. package/build/es/components/Icons/hlPlus.d.ts +4 -0
  496. package/build/es/components/Icons/hlPlus.js +7 -0
  497. package/build/es/components/Icons/hlPrepaid.d.ts +4 -0
  498. package/build/es/components/Icons/hlPrepaid.js +6 -0
  499. package/build/es/components/Icons/hlProcessor.d.ts +4 -0
  500. package/build/es/components/Icons/hlProcessor.js +7 -0
  501. package/build/es/components/Icons/hlServices.d.ts +4 -0
  502. package/build/es/components/Icons/hlServices.js +6 -0
  503. package/build/es/components/Icons/hlSettings.d.ts +4 -0
  504. package/build/es/components/Icons/hlSettings.js +6 -0
  505. package/build/es/components/Icons/hlShield.d.ts +4 -0
  506. package/build/es/components/Icons/hlShield.js +7 -0
  507. package/build/es/components/Icons/hlSim.d.ts +4 -0
  508. package/build/es/components/Icons/hlSim.js +7 -0
  509. package/build/es/components/Icons/hlSimSimple.d.ts +4 -0
  510. package/build/es/components/Icons/hlSimSimple.js +8 -0
  511. package/build/es/components/Icons/hlSmile.d.ts +4 -0
  512. package/build/es/components/Icons/hlSmile.js +9 -0
  513. package/build/es/components/Icons/hlSpeechBubble.d.ts +4 -0
  514. package/build/es/components/Icons/hlSpeechBubble.js +7 -0
  515. package/build/es/components/Icons/hlSquaretrade.d.ts +4 -0
  516. package/build/es/components/Icons/hlSquaretrade.js +6 -0
  517. package/build/es/components/Icons/hlStar.d.ts +4 -0
  518. package/build/es/components/Icons/hlStar.js +6 -0
  519. package/build/es/components/Icons/hlStarFilled.d.ts +4 -0
  520. package/build/es/components/Icons/hlStarFilled.js +6 -0
  521. package/build/es/components/Icons/hlTrash.d.ts +4 -0
  522. package/build/es/components/Icons/hlTrash.js +7 -0
  523. package/build/es/components/Icons/hlTv.d.ts +4 -0
  524. package/build/es/components/Icons/hlTv.js +6 -0
  525. package/build/es/components/Icons/hlUnlock.d.ts +4 -0
  526. package/build/es/components/Icons/hlUnlock.js +8 -0
  527. package/build/es/components/Icons/hlUpload.d.ts +4 -0
  528. package/build/es/components/Icons/hlUpload.js +8 -0
  529. package/build/es/components/Icons/hlWarning.d.ts +4 -0
  530. package/build/es/components/Icons/hlWarning.js +8 -0
  531. package/build/es/components/Icons/hlWifi.d.ts +4 -0
  532. package/build/es/components/Icons/hlWifi.js +8 -0
  533. package/build/es/components/Icons/hlX.d.ts +4 -0
  534. package/build/es/components/Icons/hlX.js +6 -0
  535. package/build/es/components/Icons/index.d.ts +102 -0
  536. package/build/es/components/Icons/index.js +102 -0
  537. package/build/es/components/Input/Input.d.ts +102 -13
  538. package/build/es/components/Input/Input.js +59 -58
  539. package/build/es/components/Label/Label.js +2 -3
  540. package/build/es/components/LabelText/LabelText.d.ts +38 -30
  541. package/build/es/components/LabelText/LabelText.js +1 -1
  542. package/build/es/components/MainNavigation/ChildComponents/BusinessMenu.js +1 -1
  543. package/build/es/components/MainNavigation/ChildComponents/DesktopMenu.js +31 -13
  544. package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.d.ts +37 -30
  545. package/build/es/components/MainNavigation/ChildComponents/HeaderNavigationElements.js +10 -7
  546. package/build/es/components/MainNavigation/ChildComponents/LanguageSelector.js +4 -4
  547. package/build/es/components/MainNavigation/ChildComponents/LoginTooltip.js +2 -1
  548. package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.d.ts +37 -30
  549. package/build/es/components/MainNavigation/ChildComponents/MainNavTooltipMenuExportedStyles.js +17 -20
  550. package/build/es/components/MainNavigation/ChildComponents/MinicartTooltip.js +2 -1
  551. package/build/es/components/MainNavigation/ChildComponents/MobileMenu.js +8 -7
  552. package/build/es/components/MainNavigation/ChildComponents/PageSearch.js +4 -3
  553. package/build/es/components/MainNavigation/ChildComponents/Ribbon.js +5 -6
  554. package/build/es/components/MainNavigation/MainNavigation.js +5 -17
  555. package/build/es/components/MainNavigation/globalNavStyles.d.ts +148 -120
  556. package/build/es/components/MainNavigation/globalNavStyles.js +1 -1
  557. package/build/es/components/Modal/Modal.js +2 -1
  558. package/build/es/components/Notification/Notification.d.ts +1 -5
  559. package/build/es/components/Notification/Notification.js +12 -7
  560. package/build/es/components/NotificationBadge/NotificationBadge.d.ts +37 -30
  561. package/build/es/components/NotificationBadge/NotificationBadge.js +1 -1
  562. package/build/es/components/PixelLoader/PixelLoaderStyles.d.ts +74 -60
  563. package/build/es/components/ProgressIndicator/ProgressIndicator.js +14 -10
  564. package/build/es/components/RadioButton/RadioButton.d.ts +33 -17
  565. package/build/es/components/RadioButton/RadioButton.js +13 -57
  566. package/build/es/components/ReadMore/ReadMore.js +7 -12
  567. package/build/es/components/Ribbon/Ribbon.js +4 -3
  568. package/build/es/components/Search/Search.d.ts +21 -2
  569. package/build/es/components/Search/Search.js +26 -7
  570. package/build/es/components/SecondaryNavigation/SecondaryNavigation.js +25 -26
  571. package/build/es/components/Selectbox/Selectbox.d.ts +104 -13
  572. package/build/es/components/Selectbox/Selectbox.js +62 -58
  573. package/build/es/components/Tabs/Tab.d.ts +37 -30
  574. package/build/es/components/Tabs/Tab.js +3 -2
  575. package/build/es/components/Tabs/Tabs.d.ts +40 -30
  576. package/build/es/components/Textarea/Textarea.js +4 -3
  577. package/build/es/components/Tooltip/Tooltip.d.ts +37 -30
  578. package/build/es/components/TooltipMenu/ChildComponents/TooltipMenuExportedStyles.d.ts +74 -60
  579. package/build/es/components/TooltipMenu/TooltipMenu.d.ts +13 -4
  580. package/build/es/components/TooltipMenu/TooltipMenu.js +10 -5
  581. package/build/es/components/index.d.ts +5 -2
  582. package/build/es/index.js +104 -1
  583. package/build/es/themes/globalStyles.d.ts +174 -60
  584. package/build/es/themes/globalStyles.js +135 -146
  585. package/build/es/themes/styled.d.ts +259 -210
  586. package/build/es/themes/theme.d.ts +37 -30
  587. package/build/es/themes/themeComponents/buttons.d.ts +1 -6
  588. package/build/es/themes/themeComponents/buttons.js +1 -6
  589. package/build/es/themes/themeComponents/fontFamily.d.ts +3 -1
  590. package/build/es/themes/themeComponents/fontFamily.js +3 -1
  591. package/build/es/themes/themeComponents/fontSize.d.ts +18 -15
  592. package/build/es/themes/themeComponents/fontSize.js +20 -14
  593. package/build/es/themes/themeComponents/lineHeight.d.ts +19 -12
  594. package/build/es/themes/themeComponents/lineHeight.js +21 -11
  595. package/package.json +3 -4
  596. package/build/cjs/components/Accordion/index.d.ts +0 -2
  597. package/build/es/components/Accordion/index.d.ts +0 -2
@@ -11,12 +11,7 @@ declare const ButtonIconPrimaryStyles: import("styled-components").StyledCompone
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const ButtonIconPrimaryStyles: import("styled-components").StyledCompone
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const ButtonIconPrimaryStyles: import("styled-components").StyledCompone
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, import("./ButtonBasicStyles").ButtonProps & {
@@ -11,12 +11,7 @@ declare const ButtonIconStyles: import("styled-components").StyledComponent<"but
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const ButtonIconStyles: import("styled-components").StyledComponent<"but
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const ButtonIconStyles: import("styled-components").StyledComponent<"but
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, import("./ButtonBasicStyles").ButtonProps & {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var styled = require('../../themes/styled.js');
6
- var ButtonBasicStyles = require('./ButtonBasicStyles.js');
7
6
  var styledUtils = require('../../utils/styledUtils.js');
7
+ var ButtonBasicStyles = require('./ButtonBasicStyles.js');
8
8
 
9
9
  const ButtonIconStyles = styled['default'](ButtonBasicStyles['default']) `
10
10
  border: none;
@@ -23,11 +23,7 @@ const ButtonIconStyles = styled['default'](ButtonBasicStyles['default']) `
23
23
  &:disabled {
24
24
  background: none;
25
25
  }
26
- svg {
27
- height: ${p => (p.small ? '1.25em' : '1.5em')};
28
- width: ${p => (p.small ? '1.25em' : '1.5em')};
29
- }
30
- span {
26
+ span.dnasg-icon + span {
31
27
  margin-left: 0.5rem;
32
28
  display: ${({ showTextMobile }) => (showTextMobile ? 'block' : 'none')};
33
29
  ${styledUtils.media.sm `
@@ -3,14 +3,18 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var ButtonPrimaryStyles = require('./ButtonPrimaryStyles.js');
6
+ var styled = require('../../themes/styled.js');
7
7
  var PixelLoader = require('../PixelLoader/PixelLoader.js');
8
+ var ButtonPrimaryStyles = require('./ButtonPrimaryStyles.js');
8
9
 
9
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
11
 
11
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
13
 
13
14
  const noop = () => { }; // tslint:disable-line
15
+ const StyledPixelLoader = styled['default'](PixelLoader.PixelLoader) `
16
+ display: inline-flex;
17
+ `;
14
18
  /** @visibleName Button primary */
15
19
  const ButtonPrimary = (props) => {
16
20
  const { children, fullWidth, small, loading = false, darkBg, onClick, onMouseDown, disabled = false, className, 'data-testid': dataTestId, 'data-no-close': dataNoClose, 'data-track-value': dataTrackValue, type, } = props;
@@ -20,7 +24,7 @@ const ButtonPrimary = (props) => {
20
24
  // https://github.com/styled-components/styled-components/pull/2093
21
25
  loading: loading ? loading.toString() : undefined, darkBg: darkBg, disabled: disabled, onClick: !disabled || !loading ? onClick : noop, onMouseDown: (!disabled || !loading) && onMouseDown ? onMouseDown : noop, className: className, "data-testid": dataTestId, "data-no-close": dataNoClose, "data-track-value": dataTrackValue, type: type },
22
26
  !loading && (React__default['default'].createElement("span", { "data-testid": dataTestId && `${dataTestId}-text`, "data-no-close": dataNoClose }, children)),
23
- loading && React__default['default'].createElement(PixelLoader.PixelLoader, null)));
27
+ loading && React__default['default'].createElement(StyledPixelLoader, null)));
24
28
  };
25
29
 
26
30
  exports.default = ButtonPrimary;
@@ -11,12 +11,7 @@ declare const ButtonPrimaryStyles: import("styled-components").StyledComponent<"
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const ButtonPrimaryStyles: import("styled-components").StyledComponent<"
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const ButtonPrimaryStyles: import("styled-components").StyledComponent<"
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, import("./ButtonBasicStyles").ButtonProps, never>;
@@ -3,15 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var ButtonSecondaryStyles = require('./ButtonSecondaryStyles.js');
7
- var PixelLoader = require('../PixelLoader/PixelLoader.js');
6
+ var styled = require('../../themes/styled.js');
8
7
  var theme = require('../../themes/theme.js');
8
+ var PixelLoader = require('../PixelLoader/PixelLoader.js');
9
+ var ButtonSecondaryStyles = require('./ButtonSecondaryStyles.js');
9
10
 
10
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
12
 
12
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
14
 
14
15
  const noop = () => { }; // tslint:disable-line
16
+ const StyledPixelLoader = styled['default'](PixelLoader.PixelLoader) `
17
+ display: inline-flex;
18
+ `;
15
19
  /** @visibleName Button secondary */
16
20
  const ButtonSecondary = (props) => {
17
21
  const { children, className, fullWidth, small, loading = false, darkBg, onClick, onMouseDown, disabled = false, 'data-testid': dataTestId, 'data-no-close': dataNoClose, 'data-track-value': dataTrackValue, type, } = props;
@@ -21,7 +25,7 @@ const ButtonSecondary = (props) => {
21
25
  // https://github.com/styled-components/styled-components/pull/2093
22
26
  loading: loading ? loading.toString() : undefined, darkBg: darkBg, disabled: disabled, onClick: !disabled || !loading ? onClick : noop, onMouseDown: (!disabled || !loading) && onMouseDown ? onMouseDown : noop, className: className, "data-testid": dataTestId, "data-no-close": dataNoClose, "data-track-value": dataTrackValue, type: type },
23
27
  !loading && (React__default['default'].createElement("span", { "data-testid": dataTestId && `${dataTestId}-text`, "data-no-close": dataNoClose }, children)),
24
- loading && React__default['default'].createElement(PixelLoader.PixelLoader, { color: darkBg ? theme['default'].color.white : theme['default'].color.hotPink })));
28
+ loading && (React__default['default'].createElement(StyledPixelLoader, { color: darkBg ? theme['default'].color.white : theme['default'].color.hotPink }))));
25
29
  };
26
30
 
27
31
  exports.default = ButtonSecondary;
@@ -11,12 +11,7 @@ declare const ButtonSecondaryStyles: import("styled-components").StyledComponent
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const ButtonSecondaryStyles: import("styled-components").StyledComponent
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const ButtonSecondaryStyles: import("styled-components").StyledComponent
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, import("./ButtonBasicStyles").ButtonProps, never>;
@@ -3,15 +3,19 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var ButtonTertiaryStyles = require('./ButtonTertiaryStyles.js');
7
- var PixelLoader = require('../PixelLoader/PixelLoader.js');
6
+ var styled = require('../../themes/styled.js');
8
7
  var theme = require('../../themes/theme.js');
8
+ var PixelLoader = require('../PixelLoader/PixelLoader.js');
9
+ var ButtonTertiaryStyles = require('./ButtonTertiaryStyles.js');
9
10
 
10
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
12
 
12
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
14
 
14
15
  const noop = () => { }; // tslint:disable-line
16
+ const StyledPixelLoader = styled['default'](PixelLoader.PixelLoader) `
17
+ display: inline-flex;
18
+ `;
15
19
  /** @visibleName Button tertiary */
16
20
  const ButtonTertiary = (props) => {
17
21
  const { children, className, fullWidth, small, loading = false, darkBg, onClick, onMouseDown, disabled = false, 'data-testid': dataTestId, 'data-no-close': dataNoClose, 'data-track-value': dataTrackValue, type, } = props;
@@ -21,7 +25,7 @@ const ButtonTertiary = (props) => {
21
25
  // https://github.com/styled-components/styled-components/pull/2093
22
26
  loading: loading ? loading.toString() : undefined, darkBg: darkBg, disabled: disabled, onClick: !disabled || !loading ? onClick : noop, onMouseDown: (!disabled || !loading) && onMouseDown ? onMouseDown : noop, className: className, "data-testid": dataTestId, "data-no-close": dataNoClose, "data-track-value": dataTrackValue, type: type },
23
27
  !loading && (React__default['default'].createElement("span", { "data-testid": dataTestId && `${dataTestId}-text`, "data-no-close": dataNoClose }, children)),
24
- loading && React__default['default'].createElement(PixelLoader.PixelLoader, { color: darkBg ? theme['default'].color.black : theme['default'].color.white })));
28
+ loading && (React__default['default'].createElement(StyledPixelLoader, { color: darkBg ? theme['default'].color.black : theme['default'].color.white }))));
25
29
  };
26
30
 
27
31
  exports.default = ButtonTertiary;
@@ -11,12 +11,7 @@ declare const ButtonTertiaryStyles: import("styled-components").StyledComponent<
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const ButtonTertiaryStyles: import("styled-components").StyledComponent<
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const ButtonTertiaryStyles: import("styled-components").StyledComponent<
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, import("./ButtonBasicStyles").ButtonProps, never>;
@@ -11,12 +11,7 @@ declare const CloseButton: import("styled-components").StyledComponent<"a", {
11
11
  };
12
12
  breakpoints: import("../../themes/themeComponents/breakpoints").ViewBreakpoints;
13
13
  button: {
14
- buttonBorderWidth: string;
15
- buttonPadding: string;
16
- smallButtonPadding: string;
17
- buttonLineHeight: string;
18
- buttonWidth: string;
19
- buttonSmallWidth: string;
14
+ border: string;
20
15
  };
21
16
  color: {
22
17
  black: string;
@@ -47,22 +42,27 @@ declare const CloseButton: import("styled-components").StyledComponent<"a", {
47
42
  gray5: string;
48
43
  };
49
44
  fontFamily: {
50
- baseFontFamily: string;
45
+ default: string;
46
+ heading: string;
47
+ numerals: string;
51
48
  };
52
49
  fontSize: {
53
- defaultFontSize: string;
54
- smallFontSize: string;
55
- extraSmallFontSize: string;
56
- xsFontSize: string;
57
- xxsFontSize: string;
58
- h1FontSize: string;
59
- h2FontSize: string;
60
- h2MobileFontSize: string;
61
- h3FontSize: string;
62
- h4FontSize: string;
63
- h5FontSize: string;
64
- heroBannerTitleFontSize: string;
65
- heroBannerTitleMobileFontSize: string;
50
+ default: string;
51
+ xl: string;
52
+ l: string;
53
+ s: string;
54
+ xs: string;
55
+ h1XL: string;
56
+ h1L: string;
57
+ h1M: string;
58
+ h1S: string;
59
+ h2M: string;
60
+ h2S: string;
61
+ h3: string;
62
+ h4: string;
63
+ h5: string;
64
+ h1: string;
65
+ h2: string;
66
66
  };
67
67
  fontWeight: {
68
68
  book: number;
@@ -78,16 +78,23 @@ declare const CloseButton: import("styled-components").StyledComponent<"a", {
78
78
  gutter: string;
79
79
  };
80
80
  lineHeight: {
81
- defaultLineHeight: string;
82
- paragraphLineHeight: string;
83
- heroBannerLineHeight: string;
84
- heroBannerMobileLineHeight: string;
85
- h1LineHeight: string;
86
- h2LineHeight: string;
87
- h2MobileLineHeight: string;
88
- h3LineHeight: string;
89
- h4LineHeight: string;
90
- h5LineHeight: string;
81
+ default: string;
82
+ xl: string;
83
+ s: string;
84
+ xs: string;
85
+ xxs: string;
86
+ auto: string;
87
+ h1XL: string;
88
+ h1L: string;
89
+ h1M: string;
90
+ h1S: string;
91
+ h2M: string;
92
+ h2S: string;
93
+ h3: string;
94
+ h4: string;
95
+ h5: string;
96
+ h1: string;
97
+ h2: string;
91
98
  };
92
99
  media: Record<string | number, (l: TemplateStringsArray, ...p: any[]) => string>;
93
100
  }, {}, never>;