@helsenorge/designsystem-react 1.0.0-beta105 → 1.0.0-beta109

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 (888) hide show
  1. package/Button-ed1c6e3f.js +2 -0
  2. package/Button-ed1c6e3f.js.map +1 -0
  3. package/CHANGELOG.md +52 -52
  4. package/Checkbox-8e590de0.js +2 -0
  5. package/Checkbox-8e590de0.js.map +1 -0
  6. package/Close-403016b0.js +2 -0
  7. package/Close-403016b0.js.map +1 -0
  8. package/{FormGroup-0577b07f.js → FormGroup-fbf475ed.js} +2 -2
  9. package/FormGroup-fbf475ed.js.map +1 -0
  10. package/Input-cd0319e0.js +2 -0
  11. package/Input-cd0319e0.js.map +1 -0
  12. package/{Loader-fa16a352.js → Loader-bf89238f.js} +2 -2
  13. package/Loader-bf89238f.js.map +1 -0
  14. package/Modal-1776ded7.js +2 -0
  15. package/Modal-1776ded7.js.map +1 -0
  16. package/README.md +69 -69
  17. package/{RadioButton-fe4bbd36.js → RadioButton-b0da1997.js} +2 -2
  18. package/RadioButton-b0da1997.js.map +1 -0
  19. package/{Textarea-e1d1144c.js → Textarea-648063a9.js} +2 -2
  20. package/Textarea-648063a9.js.map +1 -0
  21. package/{Title-af53f589.js → Title-1d8708ea.js} +2 -2
  22. package/Title-1d8708ea.js.map +1 -0
  23. package/Validation-df81209c.js +2 -0
  24. package/Validation-df81209c.js.map +1 -0
  25. package/_rollupPluginBabelHelpers-6b3099b0.js +2 -0
  26. package/_rollupPluginBabelHelpers-6b3099b0.js.map +1 -0
  27. package/color-e7d082c1.js +2 -0
  28. package/color-e7d082c1.js.map +1 -0
  29. package/components/AnchorLink/AnchorLink.d.ts +18 -18
  30. package/components/AnchorLink/index.d.ts +3 -3
  31. package/components/AnchorLink/index.js +1 -1
  32. package/components/AnchorLink/styles.module.scss +63 -63
  33. package/components/AnchorLink/styles.module.scss.d.ts +10 -10
  34. package/components/Avatar/Avatar.d.ts +15 -15
  35. package/components/Avatar/index.d.ts +3 -3
  36. package/components/Avatar/index.js +1 -1
  37. package/components/Avatar/styles.module.scss +22 -22
  38. package/components/Avatar/styles.module.scss.d.ts +11 -11
  39. package/components/Badge/Badge.d.ts +16 -16
  40. package/components/Badge/index.d.ts +3 -3
  41. package/components/Badge/index.js +1 -1
  42. package/components/Badge/styles.module.scss +41 -41
  43. package/components/Badge/styles.module.scss.d.ts +17 -17
  44. package/components/Button/Button.d.ts +42 -41
  45. package/components/Button/Button.d.ts.map +1 -1
  46. package/components/Button/componentdata.json +2 -2
  47. package/components/Button/index.d.ts +3 -3
  48. package/components/Button/index.js +1 -1
  49. package/components/Button/styles.module.scss +434 -434
  50. package/components/Button/styles.module.scss.d.ts +34 -34
  51. package/components/ButtonWithModal/ButtonWithModal.d.ts +10 -10
  52. package/components/ButtonWithModal/index.d.ts +3 -3
  53. package/components/ButtonWithModal/index.js +1 -1
  54. package/components/Checkbox/Checkbox.d.ts +30 -30
  55. package/components/Checkbox/index.d.ts +3 -3
  56. package/components/Checkbox/index.js +1 -1
  57. package/components/Checkbox/styles.module.scss +204 -204
  58. package/components/Checkbox/styles.module.scss.d.ts +26 -26
  59. package/components/Close/Close.d.ts +11 -11
  60. package/components/Close/index.d.ts +3 -3
  61. package/components/Close/index.js +1 -1
  62. package/components/Close/styles.module.scss +32 -32
  63. package/components/Close/styles.module.scss.d.ts +9 -9
  64. package/components/Expander/Expander.d.ts +32 -32
  65. package/components/Expander/Expander.d.ts.map +1 -1
  66. package/components/Expander/index.d.ts +3 -3
  67. package/components/Expander/index.js +1 -1
  68. package/components/Expander/styles.module.scss +165 -165
  69. package/components/Expander/styles.module.scss.d.ts +42 -42
  70. package/components/ExpanderList/ExpanderList.d.ts +47 -45
  71. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  72. package/components/ExpanderList/index.d.ts +3 -3
  73. package/components/ExpanderList/index.js +1 -1
  74. package/components/ExpanderList/styles.module.scss +160 -155
  75. package/components/ExpanderList/styles.module.scss.d.ts +28 -27
  76. package/components/FormExample/FormExample.d.ts +15 -15
  77. package/components/FormExample/index.d.ts +3 -3
  78. package/components/FormExample/index.js +1 -1
  79. package/components/FormExample/index.js.map +1 -1
  80. package/components/FormGroup/FormGroup.d.ts +24 -24
  81. package/components/FormGroup/index.d.ts +3 -3
  82. package/components/FormGroup/index.js +1 -1
  83. package/components/FormGroup/styles.module.scss +67 -67
  84. package/components/FormGroup/styles.module.scss.d.ts +16 -16
  85. package/components/HighlightBox/HighlightBox.d.ts +26 -23
  86. package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
  87. package/components/HighlightBox/componentdata.json +19 -0
  88. package/components/HighlightBox/index.d.ts +3 -3
  89. package/components/HighlightBox/index.js +1 -1
  90. package/components/HighlightBox/styles.module.scss +174 -89
  91. package/components/Icons/ActiveMonitoring.d.ts +4 -4
  92. package/components/Icons/ActiveMonitoring.js +1 -1
  93. package/components/Icons/AcupunctureBack.d.ts +4 -4
  94. package/components/Icons/AcupunctureBack.d.ts.map +1 -1
  95. package/components/Icons/AcupunctureBack.js +1 -1
  96. package/components/Icons/AdditionalIconInformation.js +263 -263
  97. package/components/Icons/AdditionalIconInformation.js.map +1 -1
  98. package/components/Icons/AlarmClock.d.ts +4 -4
  99. package/components/Icons/AlarmClock.d.ts.map +1 -1
  100. package/components/Icons/AlarmClock.js +1 -1
  101. package/components/Icons/AlertSignFill.d.ts +4 -4
  102. package/components/Icons/AlertSignFill.d.ts.map +1 -1
  103. package/components/Icons/AlertSignFill.js +1 -1
  104. package/components/Icons/AlertSignStroke.d.ts +4 -4
  105. package/components/Icons/AlertSignStroke.d.ts.map +1 -1
  106. package/components/Icons/AlertSignStroke.js +1 -1
  107. package/components/Icons/Amputation.d.ts +4 -4
  108. package/components/Icons/Amputation.js +1 -1
  109. package/components/Icons/Anxiety.d.ts +4 -4
  110. package/components/Icons/Anxiety.js +1 -1
  111. package/components/Icons/Apple.d.ts +4 -4
  112. package/components/Icons/Apple.js +1 -1
  113. package/components/Icons/Archive.d.ts +4 -4
  114. package/components/Icons/Archive.d.ts.map +1 -1
  115. package/components/Icons/Archive.js +1 -1
  116. package/components/Icons/ArmFlexing.d.ts +4 -4
  117. package/components/Icons/ArmFlexing.js +1 -1
  118. package/components/Icons/ArrowLeft.d.ts +4 -4
  119. package/components/Icons/ArrowLeft.d.ts.map +1 -1
  120. package/components/Icons/ArrowLeft.js +1 -1
  121. package/components/Icons/ArrowRight.d.ts +4 -4
  122. package/components/Icons/ArrowRight.d.ts.map +1 -1
  123. package/components/Icons/ArrowRight.js +1 -1
  124. package/components/Icons/ArrowUpRight.d.ts +4 -4
  125. package/components/Icons/ArrowUpRight.d.ts.map +1 -1
  126. package/components/Icons/ArrowUpRight.js +1 -1
  127. package/components/Icons/Attachment.d.ts +4 -4
  128. package/components/Icons/Attachment.d.ts.map +1 -1
  129. package/components/Icons/Attachment.js +1 -1
  130. package/components/Icons/Atv.d.ts +4 -4
  131. package/components/Icons/Atv.js +1 -1
  132. package/components/Icons/Avatar.d.ts +4 -4
  133. package/components/Icons/Avatar.d.ts.map +1 -1
  134. package/components/Icons/Avatar.js +1 -1
  135. package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
  136. package/components/Icons/AwakePersonOnPillow.js +1 -1
  137. package/components/Icons/Baby.d.ts +4 -4
  138. package/components/Icons/Baby.js +1 -1
  139. package/components/Icons/BandAid.d.ts +4 -4
  140. package/components/Icons/BandAid.js +1 -1
  141. package/components/Icons/BeerAndPills.d.ts +4 -4
  142. package/components/Icons/BeerAndPills.js +1 -1
  143. package/components/Icons/Bell.d.ts +4 -4
  144. package/components/Icons/Bell.js +1 -1
  145. package/components/Icons/Bike.d.ts +4 -4
  146. package/components/Icons/Bike.js +1 -1
  147. package/components/Icons/BirthControl.d.ts +4 -4
  148. package/components/Icons/BirthdayCake.d.ts +4 -4
  149. package/components/Icons/BirthdayCake.js +1 -1
  150. package/components/Icons/Boat.d.ts +4 -4
  151. package/components/Icons/Boat.js +1 -1
  152. package/components/Icons/Body.d.ts +4 -4
  153. package/components/Icons/Brain.d.ts +4 -4
  154. package/components/Icons/Brain.js +1 -1
  155. package/components/Icons/BreastReconstruction.d.ts +4 -4
  156. package/components/Icons/BreastReconstruction.js +1 -1
  157. package/components/Icons/BreastRemoval.d.ts +4 -4
  158. package/components/Icons/BreastRemoval.js +1 -1
  159. package/components/Icons/Breasts.d.ts +4 -4
  160. package/components/Icons/Breasts.js +1 -1
  161. package/components/Icons/BrokenHeart.d.ts +4 -4
  162. package/components/Icons/BrokenHeart.js +1 -1
  163. package/components/Icons/BrokenPuzzle.d.ts +4 -4
  164. package/components/Icons/BrokenPuzzle.js +1 -1
  165. package/components/Icons/Bus.d.ts +4 -4
  166. package/components/Icons/Bus.d.ts.map +1 -1
  167. package/components/Icons/Bus.js +1 -1
  168. package/components/Icons/Calendar.d.ts +4 -4
  169. package/components/Icons/Calendar.d.ts.map +1 -1
  170. package/components/Icons/Calendar.js +1 -1
  171. package/components/Icons/CalendarChange.d.ts +4 -4
  172. package/components/Icons/CalendarChange.d.ts.map +1 -1
  173. package/components/Icons/CalendarChange.js +1 -1
  174. package/components/Icons/CalendarCheck.d.ts +4 -4
  175. package/components/Icons/CalendarCheck.d.ts.map +1 -1
  176. package/components/Icons/CalendarCheck.js +1 -1
  177. package/components/Icons/CalendarEvent.d.ts +4 -4
  178. package/components/Icons/CalendarEvent.js +1 -1
  179. package/components/Icons/CalendarSave.d.ts +4 -4
  180. package/components/Icons/CalendarSave.d.ts.map +1 -1
  181. package/components/Icons/CalendarSave.js +1 -1
  182. package/components/Icons/Cancer.d.ts +4 -4
  183. package/components/Icons/Cancer.js +1 -1
  184. package/components/Icons/Car.d.ts +4 -4
  185. package/components/Icons/Car.js +1 -1
  186. package/components/Icons/Change.d.ts +4 -4
  187. package/components/Icons/Change.d.ts.map +1 -1
  188. package/components/Icons/Change.js +1 -1
  189. package/components/Icons/Check.d.ts +4 -4
  190. package/components/Icons/Check.d.ts.map +1 -1
  191. package/components/Icons/Check.js +1 -1
  192. package/components/Icons/CheckOutline.d.ts +4 -4
  193. package/components/Icons/CheckOutline.js +1 -1
  194. package/components/Icons/Chest.d.ts +4 -4
  195. package/components/Icons/Chest.js +1 -1
  196. package/components/Icons/ChevronDown.d.ts +4 -4
  197. package/components/Icons/ChevronDown.d.ts.map +1 -1
  198. package/components/Icons/ChevronDown.js +1 -1
  199. package/components/Icons/ChevronLeft.d.ts +4 -4
  200. package/components/Icons/ChevronLeft.d.ts.map +1 -1
  201. package/components/Icons/ChevronLeft.js +1 -1
  202. package/components/Icons/ChevronRight.d.ts +4 -4
  203. package/components/Icons/ChevronRight.d.ts.map +1 -1
  204. package/components/Icons/ChevronRight.js +1 -1
  205. package/components/Icons/ChevronUp.d.ts +4 -4
  206. package/components/Icons/ChevronUp.d.ts.map +1 -1
  207. package/components/Icons/ChevronUp.js +1 -1
  208. package/components/Icons/ChevronsDown.d.ts +4 -4
  209. package/components/Icons/ChevronsDown.d.ts.map +1 -1
  210. package/components/Icons/ChevronsDown.js +1 -1
  211. package/components/Icons/ChevronsUp.d.ts +4 -4
  212. package/components/Icons/ChevronsUp.d.ts.map +1 -1
  213. package/components/Icons/ChevronsUp.js +1 -1
  214. package/components/Icons/ChildPlaying.d.ts +4 -4
  215. package/components/Icons/ChildPlaying.js +1 -1
  216. package/components/Icons/Cigarette.d.ts +4 -4
  217. package/components/Icons/Cigarette.js +1 -1
  218. package/components/Icons/Contacts.d.ts +4 -4
  219. package/components/Icons/Contacts.d.ts.map +1 -1
  220. package/components/Icons/Contacts.js +1 -1
  221. package/components/Icons/Copy.d.ts +4 -4
  222. package/components/Icons/Copy.d.ts.map +1 -1
  223. package/components/Icons/Copy.js +1 -1
  224. package/components/Icons/CoronaCertificate.d.ts +4 -4
  225. package/components/Icons/CoronaCertificate.js +1 -1
  226. package/components/Icons/Coronavirus.d.ts +4 -4
  227. package/components/Icons/Coronavirus.js +1 -1
  228. package/components/Icons/Cough.d.ts +4 -4
  229. package/components/Icons/Cough.js +1 -1
  230. package/components/Icons/CriticalHealthInfo.d.ts +4 -4
  231. package/components/Icons/CriticalHealthInfo.js +1 -1
  232. package/components/Icons/Cross.d.ts +4 -4
  233. package/components/Icons/Cross.js +1 -1
  234. package/components/Icons/DataExchange.d.ts +4 -4
  235. package/components/Icons/DataReceived.d.ts +4 -4
  236. package/components/Icons/DataSent.d.ts +4 -4
  237. package/components/Icons/Depression.d.ts +4 -4
  238. package/components/Icons/Depression.js +1 -1
  239. package/components/Icons/DigestiveSystem.d.ts +4 -4
  240. package/components/Icons/DigestiveSystem.js +1 -1
  241. package/components/Icons/Dizzy.d.ts +4 -4
  242. package/components/Icons/Dizzy.js +1 -1
  243. package/components/Icons/Documents.d.ts +4 -4
  244. package/components/Icons/Documents.js +1 -1
  245. package/components/Icons/Dog.d.ts +4 -4
  246. package/components/Icons/Dog.js +1 -1
  247. package/components/Icons/DonorCard.d.ts +4 -4
  248. package/components/Icons/DonorCard.js +1 -1
  249. package/components/Icons/Download.d.ts +4 -4
  250. package/components/Icons/Download.d.ts.map +1 -1
  251. package/components/Icons/Download.js +1 -1
  252. package/components/Icons/Draft.d.ts +4 -4
  253. package/components/Icons/Draft.js +1 -1
  254. package/components/Icons/EChat.d.ts +4 -4
  255. package/components/Icons/EChat.d.ts.map +1 -1
  256. package/components/Icons/EChat.js +1 -1
  257. package/components/Icons/EarNoseThroat.d.ts +4 -4
  258. package/components/Icons/EarNoseThroat.js +1 -1
  259. package/components/Icons/ElderlyPerson.d.ts +4 -4
  260. package/components/Icons/ElderlyPerson.js +1 -1
  261. package/components/Icons/Embolization.d.ts +4 -4
  262. package/components/Icons/Embolization.js +1 -1
  263. package/components/Icons/EnterFullScreen.d.ts +4 -4
  264. package/components/Icons/EnterFullScreen.d.ts.map +1 -1
  265. package/components/Icons/EnterFullScreen.js +1 -1
  266. package/components/Icons/Envelope.d.ts +4 -4
  267. package/components/Icons/Envelope.d.ts.map +1 -1
  268. package/components/Icons/Envelope.js +1 -1
  269. package/components/Icons/Epilepsy.d.ts +4 -4
  270. package/components/Icons/Epilepsy.js +1 -1
  271. package/components/Icons/Eraser.d.ts +4 -4
  272. package/components/Icons/Eraser.d.ts.map +1 -1
  273. package/components/Icons/Eraser.js +1 -1
  274. package/components/Icons/ErrorSignFill.d.ts +4 -4
  275. package/components/Icons/ErrorSignFill.d.ts.map +1 -1
  276. package/components/Icons/ErrorSignFill.js +1 -1
  277. package/components/Icons/ErrorSignStroke.d.ts +4 -4
  278. package/components/Icons/ErrorSignStroke.d.ts.map +1 -1
  279. package/components/Icons/ErrorSignStroke.js +1 -1
  280. package/components/Icons/EuropeanHealthCard.d.ts +4 -4
  281. package/components/Icons/EuropeanHealthCard.js +1 -1
  282. package/components/Icons/ExitFullScreen.d.ts +4 -4
  283. package/components/Icons/ExitFullScreen.d.ts.map +1 -1
  284. package/components/Icons/ExitFullScreen.js +1 -1
  285. package/components/Icons/Eye.d.ts +4 -4
  286. package/components/Icons/Eye.d.ts.map +1 -1
  287. package/components/Icons/Eye.js +1 -1
  288. package/components/Icons/Facebook.d.ts +4 -4
  289. package/components/Icons/Facebook.js +1 -1
  290. package/components/Icons/Female.d.ts +4 -4
  291. package/components/Icons/Female.js +1 -1
  292. package/components/Icons/FemaleDoctor.d.ts +4 -4
  293. package/components/Icons/FemaleDoctor.js +1 -1
  294. package/components/Icons/Ferry.d.ts +4 -4
  295. package/components/Icons/Ferry.js +1 -1
  296. package/components/Icons/FingerBleed.d.ts +4 -4
  297. package/components/Icons/FingerBleed.js +1 -1
  298. package/components/Icons/FirstAidKit.d.ts +4 -4
  299. package/components/Icons/FirstAidKit.js +1 -1
  300. package/components/Icons/FloppyDisk.d.ts +4 -4
  301. package/components/Icons/Football.d.ts +4 -4
  302. package/components/Icons/Football.js +1 -1
  303. package/components/Icons/Form.d.ts +4 -4
  304. package/components/Icons/Form.d.ts.map +1 -1
  305. package/components/Icons/Form.js +1 -1
  306. package/components/Icons/Forward.d.ts +4 -4
  307. package/components/Icons/Forward.d.ts.map +1 -1
  308. package/components/Icons/Forward.js +1 -1
  309. package/components/Icons/Gallery.d.ts +4 -4
  310. package/components/Icons/Gallery.d.ts.map +1 -1
  311. package/components/Icons/Gallery.js +1 -1
  312. package/components/Icons/Garden.d.ts +4 -4
  313. package/components/Icons/Garden.js +1 -1
  314. package/components/Icons/GasCan.d.ts +4 -4
  315. package/components/Icons/GasCan.js +1 -1
  316. package/components/Icons/GenderIdentity.d.ts +4 -4
  317. package/components/Icons/Globe.d.ts +4 -4
  318. package/components/Icons/Globe.d.ts.map +1 -1
  319. package/components/Icons/Globe.js +1 -1
  320. package/components/Icons/HandWaving.d.ts +4 -4
  321. package/components/Icons/HandWaving.js +1 -1
  322. package/components/Icons/HandWithDisease.d.ts +4 -4
  323. package/components/Icons/HandWithDisease.js +1 -1
  324. package/components/Icons/HealthClinic.d.ts +4 -4
  325. package/components/Icons/HealthClinic.js +1 -1
  326. package/components/Icons/HealthWarning.d.ts +4 -4
  327. package/components/Icons/HealthWarning.js +1 -1
  328. package/components/Icons/Heart.d.ts +4 -4
  329. package/components/Icons/Heart.d.ts.map +1 -1
  330. package/components/Icons/Heart.js +1 -1
  331. package/components/Icons/HelpSign.d.ts +4 -4
  332. package/components/Icons/HelpSign.d.ts.map +1 -1
  333. package/components/Icons/HelpSign.js +1 -1
  334. package/components/Icons/HelpingHand.d.ts +4 -4
  335. package/components/Icons/HelpingHand.js +1 -1
  336. package/components/Icons/Hemodialysis.d.ts +4 -4
  337. package/components/Icons/Hemodialysis.js +1 -1
  338. package/components/Icons/Hiker.d.ts +4 -4
  339. package/components/Icons/Hiker.js +1 -1
  340. package/components/Icons/Hipprosthesis.d.ts +4 -4
  341. package/components/Icons/Hipprosthesis.js +1 -1
  342. package/components/Icons/History.d.ts +4 -4
  343. package/components/Icons/History.d.ts.map +1 -1
  344. package/components/Icons/History.js +1 -1
  345. package/components/Icons/HivAndAids.d.ts +4 -4
  346. package/components/Icons/HivAndAids.js +1 -1
  347. package/components/Icons/Home.d.ts +4 -4
  348. package/components/Icons/Home.d.ts.map +1 -1
  349. package/components/Icons/Home.js +1 -1
  350. package/components/Icons/Hormone.d.ts +4 -4
  351. package/components/Icons/Hormone.js +1 -1
  352. package/components/Icons/Hospital.d.ts +4 -4
  353. package/components/Icons/Hospital.d.ts.map +1 -1
  354. package/components/Icons/Hospital.js +1 -1
  355. package/components/Icons/Hourglass.d.ts +4 -4
  356. package/components/Icons/Hourglass.d.ts.map +1 -1
  357. package/components/Icons/Hourglass.js +1 -1
  358. package/components/Icons/Icon.d.ts +23 -22
  359. package/components/Icons/Icon.d.ts.map +1 -1
  360. package/components/Icons/Icon.js +1 -1
  361. package/components/Icons/ImgFile.d.ts +4 -4
  362. package/components/Icons/ImgFile.js +1 -1
  363. package/components/Icons/Inbox.d.ts +4 -4
  364. package/components/Icons/Inbox.js +1 -1
  365. package/components/Icons/InfoSignFill.d.ts +4 -4
  366. package/components/Icons/InfoSignFill.d.ts.map +1 -1
  367. package/components/Icons/InfoSignFill.js +1 -1
  368. package/components/Icons/InfoSignStroke.d.ts +4 -4
  369. package/components/Icons/InfoSignStroke.d.ts.map +1 -1
  370. package/components/Icons/InfoSignStroke.js +1 -1
  371. package/components/Icons/Instagram.d.ts +4 -4
  372. package/components/Icons/Instagram.js +1 -1
  373. package/components/Icons/Intravenous.d.ts +4 -4
  374. package/components/Icons/Intravenous.js +1 -1
  375. package/components/Icons/JointPain.d.ts +4 -4
  376. package/components/Icons/JointPain.js +1 -1
  377. package/components/Icons/Journal.d.ts +4 -4
  378. package/components/Icons/Journal.d.ts.map +1 -1
  379. package/components/Icons/Journal.js +1 -1
  380. package/components/Icons/JpgFile.d.ts +4 -4
  381. package/components/Icons/JpgFile.js +1 -1
  382. package/components/Icons/Kidney.d.ts +4 -4
  383. package/components/Icons/Kidney.js +1 -1
  384. package/components/Icons/KitchenScale.d.ts +4 -4
  385. package/components/Icons/KitchenScale.js +1 -1
  386. package/components/Icons/Kjernejournal.d.ts +4 -4
  387. package/components/Icons/Kjernejournal.js +1 -1
  388. package/components/Icons/Laboratory.d.ts +4 -4
  389. package/components/Icons/Laboratory.js +1 -1
  390. package/components/Icons/LaptopBlog.d.ts +4 -4
  391. package/components/Icons/LaptopBlog.js +1 -1
  392. package/components/Icons/LawBook.d.ts +4 -4
  393. package/components/Icons/LawBook.js +1 -1
  394. package/components/Icons/LightBulb.d.ts +4 -4
  395. package/components/Icons/LightBulb.js +1 -1
  396. package/components/Icons/List.d.ts +4 -4
  397. package/components/Icons/List.d.ts.map +1 -1
  398. package/components/Icons/List.js +1 -1
  399. package/components/Icons/Location.d.ts +4 -4
  400. package/components/Icons/Location.d.ts.map +1 -1
  401. package/components/Icons/Location.js +1 -1
  402. package/components/Icons/Lock.d.ts +4 -4
  403. package/components/Icons/Lock.d.ts.map +1 -1
  404. package/components/Icons/Lock.js +1 -1
  405. package/components/Icons/Lungs.d.ts +4 -4
  406. package/components/Icons/Lungs.js +1 -1
  407. package/components/Icons/Makeup.d.ts +4 -4
  408. package/components/Icons/Makeup.js +1 -1
  409. package/components/Icons/MaleDoctor.d.ts +4 -4
  410. package/components/Icons/MaleDoctor.js +1 -1
  411. package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
  412. package/components/Icons/MaleDoctorAndPerson.js +1 -1
  413. package/components/Icons/MaleGenitalia.d.ts +4 -4
  414. package/components/Icons/MaleGenitalia.js +1 -1
  415. package/components/Icons/Medicine.d.ts +4 -4
  416. package/components/Icons/Medicine.d.ts.map +1 -1
  417. package/components/Icons/Medicine.js +1 -1
  418. package/components/Icons/MedicineWarning.d.ts +4 -4
  419. package/components/Icons/MedicineWarning.js +1 -1
  420. package/components/Icons/MentalHealthAdult.d.ts +4 -4
  421. package/components/Icons/MentalHealthAdult.js +1 -1
  422. package/components/Icons/MentalHealthChild.d.ts +4 -4
  423. package/components/Icons/MentalHealthChild.js +1 -1
  424. package/components/Icons/Menu.d.ts +4 -4
  425. package/components/Icons/Menu.d.ts.map +1 -1
  426. package/components/Icons/Menu.js +1 -1
  427. package/components/Icons/Microscope.d.ts +4 -4
  428. package/components/Icons/Microscope.js +1 -1
  429. package/components/Icons/Minus.d.ts +4 -4
  430. package/components/Icons/Minus.d.ts.map +1 -1
  431. package/components/Icons/Minus.js +1 -1
  432. package/components/Icons/Mirror.d.ts +4 -4
  433. package/components/Icons/Mirror.js +1 -1
  434. package/components/Icons/MobilePhone.d.ts +4 -4
  435. package/components/Icons/MobilePhone.d.ts.map +1 -1
  436. package/components/Icons/MobilePhone.js +1 -1
  437. package/components/Icons/MotherHoldingBaby.d.ts +4 -4
  438. package/components/Icons/MotherHoldingBaby.js +1 -1
  439. package/components/Icons/MuscleBack.d.ts +4 -4
  440. package/components/Icons/MuscleBack.js +1 -1
  441. package/components/Icons/MuscleLeg.d.ts +4 -4
  442. package/components/Icons/MuscleLeg.js +1 -1
  443. package/components/Icons/Mushroom.d.ts +4 -4
  444. package/components/Icons/Mushroom.js +1 -1
  445. package/components/Icons/Music.d.ts +4 -4
  446. package/components/Icons/Music.js +1 -1
  447. package/components/Icons/MusselsAndSalt.d.ts +4 -4
  448. package/components/Icons/MusselsAndSalt.js +1 -1
  449. package/components/Icons/NoEye.d.ts +4 -4
  450. package/components/Icons/NoEye.d.ts.map +1 -1
  451. package/components/Icons/NoEye.js +1 -1
  452. package/components/Icons/NoFilter.d.ts +4 -4
  453. package/components/Icons/NoFilter.d.ts.map +1 -1
  454. package/components/Icons/NoFilter.js +1 -1
  455. package/components/Icons/Notepad.d.ts +4 -4
  456. package/components/Icons/Notepad.js +1 -1
  457. package/components/Icons/Osteotomy.d.ts +4 -4
  458. package/components/Icons/Osteotomy.js +1 -1
  459. package/components/Icons/PaintRoller.d.ts +4 -4
  460. package/components/Icons/PaintRoller.js +1 -1
  461. package/components/Icons/PaperPlane.d.ts +4 -4
  462. package/components/Icons/PaperPlane.d.ts.map +1 -1
  463. package/components/Icons/PaperPlane.js +1 -1
  464. package/components/Icons/PatientAndPerson.d.ts +4 -4
  465. package/components/Icons/PatientAndPerson.js +1 -1
  466. package/components/Icons/Pause.d.ts +4 -4
  467. package/components/Icons/Pause.d.ts.map +1 -1
  468. package/components/Icons/Pause.js +1 -1
  469. package/components/Icons/PdfFile.d.ts +4 -4
  470. package/components/Icons/PdfFile.js +1 -1
  471. package/components/Icons/Pencil.d.ts +4 -4
  472. package/components/Icons/Pencil.d.ts.map +1 -1
  473. package/components/Icons/Pencil.js +1 -1
  474. package/components/Icons/PeopleTalking.d.ts +4 -4
  475. package/components/Icons/PeopleTalking.js +1 -1
  476. package/components/Icons/Peritonealdialysis.d.ts +4 -4
  477. package/components/Icons/Peritonealdialysis.js +1 -1
  478. package/components/Icons/Person.d.ts +4 -4
  479. package/components/Icons/Person.js +1 -1
  480. package/components/Icons/PersonAndPatient.d.ts +4 -4
  481. package/components/Icons/PersonAndPatient.js +1 -1
  482. package/components/Icons/PersonInXRayMachine.d.ts +4 -4
  483. package/components/Icons/PersonInXRayMachine.js +1 -1
  484. package/components/Icons/PersonOverweight.d.ts +4 -4
  485. package/components/Icons/PersonOverweight.js +1 -1
  486. package/components/Icons/PersonRelaxing.d.ts +4 -4
  487. package/components/Icons/PersonRelaxing.js +1 -1
  488. package/components/Icons/PersonWithBrain.d.ts +4 -4
  489. package/components/Icons/PersonWithBrain.js +1 -1
  490. package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
  491. package/components/Icons/PersonWithBrokenArm.js +1 -1
  492. package/components/Icons/PersonWithCrutches.d.ts +4 -4
  493. package/components/Icons/PersonWithCrutches.js +1 -1
  494. package/components/Icons/PersonWithJaw.d.ts +4 -4
  495. package/components/Icons/PersonWithJaw.js +1 -1
  496. package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
  497. package/components/Icons/PersonWithMagnifyingGlass.js +1 -1
  498. package/components/Icons/PersonWithSenses.d.ts +4 -4
  499. package/components/Icons/PersonWithSenses.js +1 -1
  500. package/components/Icons/PersonWorking.d.ts +4 -4
  501. package/components/Icons/PersonWorking.js +1 -1
  502. package/components/Icons/PizzaSlice.d.ts +4 -4
  503. package/components/Icons/PizzaSlice.js +1 -1
  504. package/components/Icons/Plane.d.ts +4 -4
  505. package/components/Icons/Plane.js +1 -1
  506. package/components/Icons/Plant.d.ts +4 -4
  507. package/components/Icons/Plant.js +1 -1
  508. package/components/Icons/Play.d.ts +4 -4
  509. package/components/Icons/Play.d.ts.map +1 -1
  510. package/components/Icons/Play.js +1 -1
  511. package/components/Icons/PlusLarge.d.ts +4 -4
  512. package/components/Icons/PlusLarge.d.ts.map +1 -1
  513. package/components/Icons/PlusLarge.js +1 -1
  514. package/components/Icons/PlusSmall.d.ts +4 -4
  515. package/components/Icons/PlusSmall.d.ts.map +1 -1
  516. package/components/Icons/PlusSmall.js +1 -1
  517. package/components/Icons/PngFile.d.ts +4 -4
  518. package/components/Icons/PngFile.js +1 -1
  519. package/components/Icons/Podcast.d.ts +4 -4
  520. package/components/Icons/PoisonInformation.d.ts +4 -4
  521. package/components/Icons/PoisonInformation.js +1 -1
  522. package/components/Icons/Pregnant.d.ts +4 -4
  523. package/components/Icons/Pregnant.js +1 -1
  524. package/components/Icons/Printer.d.ts +4 -4
  525. package/components/Icons/Printer.d.ts.map +1 -1
  526. package/components/Icons/Printer.js +1 -1
  527. package/components/Icons/Psychosis.d.ts +4 -4
  528. package/components/Icons/Psychosis.js +1 -1
  529. package/components/Icons/Publication.d.ts +4 -4
  530. package/components/Icons/Publication.js +1 -1
  531. package/components/Icons/Puzzle.d.ts +4 -4
  532. package/components/Icons/Puzzle.js +1 -1
  533. package/components/Icons/QrCode.d.ts +4 -4
  534. package/components/Icons/QrCode.d.ts.map +1 -1
  535. package/components/Icons/QrCode.js +1 -1
  536. package/components/Icons/Quarrel.d.ts +4 -4
  537. package/components/Icons/RadioTherapy.d.ts +4 -4
  538. package/components/Icons/RadioTherapy.js +1 -1
  539. package/components/Icons/RadioactiveTreatment.d.ts +4 -4
  540. package/components/Icons/RadioactiveTreatment.js +1 -1
  541. package/components/Icons/Radioiodine.d.ts +4 -4
  542. package/components/Icons/Radioiodine.js +1 -1
  543. package/components/Icons/Receipt.d.ts +4 -4
  544. package/components/Icons/Receipt.js +1 -1
  545. package/components/Icons/Receptionist.d.ts +4 -4
  546. package/components/Icons/Receptionist.d.ts.map +1 -1
  547. package/components/Icons/Receptionist.js +1 -1
  548. package/components/Icons/Recovery.d.ts +4 -4
  549. package/components/Icons/Recovery.js +1 -1
  550. package/components/Icons/Referral.d.ts +4 -4
  551. package/components/Icons/Referral.d.ts.map +1 -1
  552. package/components/Icons/Referral.js +1 -1
  553. package/components/Icons/Refresh.d.ts +4 -4
  554. package/components/Icons/Refresh.d.ts.map +1 -1
  555. package/components/Icons/Refresh.js +1 -1
  556. package/components/Icons/Refund.d.ts +4 -4
  557. package/components/Icons/Refund.js +1 -1
  558. package/components/Icons/Reply.d.ts +4 -4
  559. package/components/Icons/Reply.d.ts.map +1 -1
  560. package/components/Icons/Reply.js +1 -1
  561. package/components/Icons/Rocket.d.ts +4 -4
  562. package/components/Icons/Rocket.js +1 -1
  563. package/components/Icons/RtfFile.d.ts +4 -4
  564. package/components/Icons/RtfFile.js +1 -1
  565. package/components/Icons/STDs.d.ts +4 -4
  566. package/components/Icons/Save.d.ts +4 -4
  567. package/components/Icons/Save.d.ts.map +1 -1
  568. package/components/Icons/Save.js +1 -1
  569. package/components/Icons/Scale.d.ts +4 -4
  570. package/components/Icons/Scale.js +1 -1
  571. package/components/Icons/Search.d.ts +4 -4
  572. package/components/Icons/Search.d.ts.map +1 -1
  573. package/components/Icons/Search.js +1 -1
  574. package/components/Icons/SectionSign.d.ts +4 -4
  575. package/components/Icons/SectionSign.d.ts.map +1 -1
  576. package/components/Icons/SectionSign.js +1 -1
  577. package/components/Icons/Settings.d.ts +4 -4
  578. package/components/Icons/Settings.d.ts.map +1 -1
  579. package/components/Icons/Settings.js +1 -1
  580. package/components/Icons/Sexualorientation.d.ts +4 -4
  581. package/components/Icons/ShakingHand.d.ts +4 -4
  582. package/components/Icons/ShakingHand.js +1 -1
  583. package/components/Icons/Share.d.ts +4 -4
  584. package/components/Icons/Share.d.ts.map +1 -1
  585. package/components/Icons/Share.js +1 -1
  586. package/components/Icons/Shield.d.ts +4 -4
  587. package/components/Icons/Shield.js +1 -1
  588. package/components/Icons/ShuntOperation.d.ts +4 -4
  589. package/components/Icons/ShuntOperation.js +1 -1
  590. package/components/Icons/Skeleton.d.ts +4 -4
  591. package/components/Icons/Skeleton.js +1 -1
  592. package/components/Icons/Skin.d.ts +4 -4
  593. package/components/Icons/Skin.js +1 -1
  594. package/components/Icons/Snake.d.ts +4 -4
  595. package/components/Icons/Snake.js +1 -1
  596. package/components/Icons/Snapchat.d.ts +4 -4
  597. package/components/Icons/Snapchat.js +1 -1
  598. package/components/Icons/SpeechBubble.d.ts +4 -4
  599. package/components/Icons/SpeechBubble.d.ts.map +1 -1
  600. package/components/Icons/SpeechBubble.js +1 -1
  601. package/components/Icons/Spray.d.ts +4 -4
  602. package/components/Icons/Spray.js +1 -1
  603. package/components/Icons/Stopwatch.d.ts +4 -4
  604. package/components/Icons/Stopwatch.d.ts.map +1 -1
  605. package/components/Icons/Stopwatch.js +1 -1
  606. package/components/Icons/SupportingPerson.d.ts +4 -4
  607. package/components/Icons/SupportingPerson.d.ts.map +1 -1
  608. package/components/Icons/SupportingPerson.js +1 -1
  609. package/components/Icons/Surgery.d.ts +4 -4
  610. package/components/Icons/Surgery.js +1 -1
  611. package/components/Icons/Syringe.d.ts +4 -4
  612. package/components/Icons/Syringe.d.ts.map +1 -1
  613. package/components/Icons/Syringe.js +1 -1
  614. package/components/Icons/Taxi.d.ts +4 -4
  615. package/components/Icons/Taxi.js +1 -1
  616. package/components/Icons/TeddyBear.d.ts +4 -4
  617. package/components/Icons/TeddyBear.js +1 -1
  618. package/components/Icons/Teenagers.d.ts +4 -4
  619. package/components/Icons/Teenagers.js +1 -1
  620. package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
  621. package/components/Icons/ThinkingAboutBaby.js +1 -1
  622. package/components/Icons/Ticket.d.ts +4 -4
  623. package/components/Icons/Ticket.js +1 -1
  624. package/components/Icons/TimePassing.d.ts +4 -4
  625. package/components/Icons/TimePassing.d.ts.map +1 -1
  626. package/components/Icons/TimePassing.js +1 -1
  627. package/components/Icons/Toolbox.d.ts +4 -4
  628. package/components/Icons/Toolbox.d.ts.map +1 -1
  629. package/components/Icons/Toolbox.js +1 -1
  630. package/components/Icons/Tooth.d.ts +4 -4
  631. package/components/Icons/Tooth.js +1 -1
  632. package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
  633. package/components/Icons/TotalKneeProsthesis.js +1 -1
  634. package/components/Icons/Train.d.ts +4 -4
  635. package/components/Icons/Train.js +1 -1
  636. package/components/Icons/Transplantation.d.ts +4 -4
  637. package/components/Icons/Transplantation.js +1 -1
  638. package/components/Icons/TrashCan.d.ts +4 -4
  639. package/components/Icons/TrashCan.d.ts.map +1 -1
  640. package/components/Icons/TrashCan.js +1 -1
  641. package/components/Icons/Twitter.d.ts +4 -4
  642. package/components/Icons/Twitter.js +1 -1
  643. package/components/Icons/Undo.d.ts +4 -4
  644. package/components/Icons/Undo.d.ts.map +1 -1
  645. package/components/Icons/Undo.js +1 -1
  646. package/components/Icons/UniProsthesis.d.ts +4 -4
  647. package/components/Icons/UniProsthesis.js +1 -1
  648. package/components/Icons/Upload.d.ts +4 -4
  649. package/components/Icons/Upload.d.ts.map +1 -1
  650. package/components/Icons/Upload.js +1 -1
  651. package/components/Icons/UserOrganization.d.ts +4 -4
  652. package/components/Icons/UserOrganization.js +1 -1
  653. package/components/Icons/Vaccine.d.ts +4 -4
  654. package/components/Icons/Vaccine.d.ts.map +1 -1
  655. package/components/Icons/Vaccine.js +1 -1
  656. package/components/Icons/VerticalDots.d.ts +4 -4
  657. package/components/Icons/VerticalDots.d.ts.map +1 -1
  658. package/components/Icons/VerticalDots.js +1 -1
  659. package/components/Icons/VideoCamera.d.ts +4 -4
  660. package/components/Icons/VideoCamera.d.ts.map +1 -1
  661. package/components/Icons/VideoCamera.js +1 -1
  662. package/components/Icons/VideoChat.d.ts +4 -4
  663. package/components/Icons/VideoChat.d.ts.map +1 -1
  664. package/components/Icons/VideoChat.js +1 -1
  665. package/components/Icons/Wallet.d.ts +4 -4
  666. package/components/Icons/Wallet.d.ts.map +1 -1
  667. package/components/Icons/Wallet.js +1 -1
  668. package/components/Icons/Watch.d.ts +4 -4
  669. package/components/Icons/Watch.d.ts.map +1 -1
  670. package/components/Icons/Watch.js +1 -1
  671. package/components/Icons/Website.d.ts +4 -4
  672. package/components/Icons/Website.js +1 -1
  673. package/components/Icons/Wheelchair.d.ts +4 -4
  674. package/components/Icons/Wheelchair.js +1 -1
  675. package/components/Icons/WheelchairActive.d.ts +4 -4
  676. package/components/Icons/WheelchairActive.js +1 -1
  677. package/components/Icons/Window.d.ts +4 -4
  678. package/components/Icons/Window.js +1 -1
  679. package/components/Icons/WordDocument.d.ts +4 -4
  680. package/components/Icons/WordDocument.js +1 -1
  681. package/components/Icons/WorkSuitcase.d.ts +4 -4
  682. package/components/Icons/WorkSuitcase.js +1 -1
  683. package/components/Icons/X.d.ts +4 -4
  684. package/components/Icons/X.d.ts.map +1 -1
  685. package/components/Icons/X.js +1 -1
  686. package/components/Icons/XOutline.d.ts +4 -4
  687. package/components/Icons/XOutline.js +1 -1
  688. package/components/Icons/XmlFile.d.ts +4 -4
  689. package/components/Icons/XmlFile.js +1 -1
  690. package/components/Icons/YouTube.d.ts +4 -4
  691. package/components/Icons/YouTube.js +1 -1
  692. package/components/Icons/Zoom.d.ts +4 -4
  693. package/components/Icons/Zoom.d.ts.map +1 -1
  694. package/components/Icons/Zoom.js +1 -1
  695. package/components/Icons/index.d.ts +4 -4
  696. package/components/Icons/index.js +1 -1
  697. package/components/Input/Input.d.ts +54 -54
  698. package/components/Input/index.d.ts +3 -3
  699. package/components/Input/index.js +1 -1
  700. package/components/Input/styles.module.scss +59 -59
  701. package/components/Input/styles.module.scss.d.ts +23 -23
  702. package/components/LinkList/LinkList.d.ts +41 -41
  703. package/components/LinkList/index.d.ts +3 -3
  704. package/components/LinkList/index.js +1 -1
  705. package/components/LinkList/styles.module.scss +147 -147
  706. package/components/LinkList/styles.module.scss.d.ts +26 -26
  707. package/components/List/List.d.ts +9 -9
  708. package/components/List/index.d.ts +3 -3
  709. package/components/List/index.js +1 -1
  710. package/components/List/styles.module.scss +11 -11
  711. package/components/List/styles.module.scss.d.ts +10 -10
  712. package/components/Loader/Loader.d.ts +32 -32
  713. package/components/Loader/Loader.d.ts.map +1 -1
  714. package/components/Loader/index.d.ts +3 -3
  715. package/components/Loader/index.js +1 -1
  716. package/components/Loader/styles.module.scss +194 -194
  717. package/components/Logo/Logo.d.ts +17 -17
  718. package/components/Logo/index.d.ts +3 -3
  719. package/components/Logo/index.js +1 -1
  720. package/components/Modal/Modal.d.ts +69 -69
  721. package/components/Modal/index.d.ts +3 -3
  722. package/components/Modal/index.js +1 -1
  723. package/components/Modal/styles.module.scss +245 -243
  724. package/components/Modal/styles.module.scss.d.ts +41 -41
  725. package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
  726. package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
  727. package/components/NotificationPanel/componentdata.json +1 -1
  728. package/components/NotificationPanel/index.d.ts +3 -3
  729. package/components/NotificationPanel/index.js +1 -1
  730. package/components/NotificationPanel/styles.module.scss +153 -138
  731. package/components/NotificationPanel/styles.module.scss.d.ts +33 -34
  732. package/components/Portal/index.d.ts +12 -12
  733. package/components/Portal/index.js +1 -1
  734. package/components/RadioButton/RadioButton.d.ts +30 -30
  735. package/components/RadioButton/index.d.ts +3 -3
  736. package/components/RadioButton/index.js +1 -1
  737. package/components/RadioButton/styles.module.scss +236 -236
  738. package/components/RadioButton/styles.module.scss.d.ts +23 -23
  739. package/components/Slider/Slider.d.ts +19 -19
  740. package/components/Slider/SliderUtils.d.ts +40 -40
  741. package/components/Slider/index.d.ts +3 -3
  742. package/components/Slider/index.js +1 -1
  743. package/components/Slider/styles.module.scss +85 -85
  744. package/components/Slider/styles.module.scss.d.ts +19 -19
  745. package/components/Spacer/Spacer.d.ts +12 -12
  746. package/components/Spacer/index.d.ts +3 -3
  747. package/components/Spacer/index.js +1 -1
  748. package/components/Spacer/styles.module.scss +47 -47
  749. package/components/Spacer/styles.module.scss.d.ts +22 -22
  750. package/components/Textarea/Textarea.d.ts +36 -36
  751. package/components/Textarea/index.d.ts +3 -3
  752. package/components/Textarea/index.js +1 -1
  753. package/components/Textarea/styles.module.scss +57 -57
  754. package/components/Textarea/styles.module.scss.d.ts +26 -26
  755. package/components/Tile/Tile.d.ts +33 -33
  756. package/components/Tile/index.d.ts +3 -3
  757. package/components/Tile/index.js +1 -1
  758. package/components/Tile/styles.module.scss +115 -115
  759. package/components/Tile/styles.module.scss.d.ts +18 -18
  760. package/components/Title/Title.d.ts +25 -25
  761. package/components/Title/index.d.ts +3 -3
  762. package/components/Title/index.js +1 -1
  763. package/components/Title/styles.module.scss +27 -27
  764. package/components/Title/styles.module.scss.d.ts +15 -15
  765. package/components/Validation/Validation.d.ts +16 -16
  766. package/components/Validation/index.d.ts +3 -3
  767. package/components/Validation/index.js +1 -1
  768. package/components/Validation/styles.module.scss +18 -18
  769. package/components/Validation/styles.module.scss.d.ts +10 -10
  770. package/constants-075356e2.js +2 -0
  771. package/constants-075356e2.js.map +1 -0
  772. package/constants.d.ts +92 -90
  773. package/constants.d.ts.map +1 -1
  774. package/grid-c105cad1.js +2 -0
  775. package/grid-c105cad1.js.map +1 -0
  776. package/hoc/withBreakpoint/index.d.ts +4 -0
  777. package/hoc/withBreakpoint/index.d.ts.map +1 -0
  778. package/hoc/withBreakpoint/index.js +2 -0
  779. package/{components/__mocks__ → hoc/withBreakpoint}/index.js.map +0 -0
  780. package/hoc/withBreakpoint/withBreakpoint.d.ts +14 -0
  781. package/hoc/withBreakpoint/withBreakpoint.d.ts.map +1 -0
  782. package/hooks/focus-utils.d.ts +6 -6
  783. package/hooks/useBreakpoint.d.ts +13 -12
  784. package/hooks/useBreakpoint.d.ts.map +1 -1
  785. package/hooks/useFocusToggle.d.ts +13 -13
  786. package/hooks/useFocusTrap.d.ts +3 -3
  787. package/hooks/useHover.d.ts +11 -11
  788. package/hooks/useIcons.d.ts +3 -3
  789. package/hooks/useIntersectionObserver.d.ts +10 -10
  790. package/hooks/useIsVisible.d.ts +9 -9
  791. package/hooks/useLayoutEvent.d.ts +8 -8
  792. package/hooks/useLayoutEvent.d.ts.map +1 -1
  793. package/hooks/usePrevious.d.ts +7 -0
  794. package/hooks/usePrevious.d.ts.map +1 -0
  795. package/hooks/useSize.d.ts +9 -0
  796. package/hooks/useSize.d.ts.map +1 -0
  797. package/hooks/useSticky.d.ts +20 -20
  798. package/hooks/useWindowSize.d.ts +4 -4
  799. package/hooks/useWindowSize.d.ts.map +1 -1
  800. package/index-d1c9177a.js +2 -0
  801. package/index-d1c9177a.js.map +1 -0
  802. package/index.d.ts +13 -11
  803. package/index.d.ts.map +1 -1
  804. package/index.js +1 -1
  805. package/package.json +2 -1
  806. package/scss/_body.scss +11 -11
  807. package/scss/_breakpoints.scss +16 -16
  808. package/scss/_font-settings.scss +8 -8
  809. package/scss/_fonts.scss +112 -112
  810. package/scss/_grid.scss +1 -1
  811. package/scss/_input.scss +176 -176
  812. package/scss/_palette.scss +136 -136
  813. package/scss/_print.scss +176 -176
  814. package/scss/_reset.scss +13 -13
  815. package/scss/_spacers.scss +40 -40
  816. package/scss/_title.scss +59 -59
  817. package/scss/helsenorge.scss +8 -8
  818. package/scss/typography.module.scss +154 -154
  819. package/theme/currys/color.d.ts +3 -3
  820. package/theme/currys/index.d.ts +2 -2
  821. package/theme/currys/spacing.d.ts +3 -3
  822. package/theme/grid.d.ts +21 -20
  823. package/theme/grid.d.ts.map +1 -1
  824. package/theme/index.d.ts +99 -98
  825. package/theme/index.d.ts.map +1 -1
  826. package/theme/palette.d.ts +67 -67
  827. package/theme/spacers.d.ts +18 -18
  828. package/useBreakpoint-3186b97e.js +2 -0
  829. package/useBreakpoint-3186b97e.js.map +1 -0
  830. package/{useHover-9710204a.js → useHover-507fb85a.js} +2 -2
  831. package/useHover-507fb85a.js.map +1 -0
  832. package/{useIsVisible-a1f67a11.js → useIsVisible-f5d49913.js} +2 -2
  833. package/useIsVisible-f5d49913.js.map +1 -0
  834. package/usePrevious-ae293b10.js +2 -0
  835. package/usePrevious-ae293b10.js.map +1 -0
  836. package/useSticky-a572c326.js +2 -0
  837. package/useSticky-a572c326.js.map +1 -0
  838. package/useWindowSize-58f26dea.js +2 -0
  839. package/useWindowSize-58f26dea.js.map +1 -0
  840. package/utils/debounce.d.ts +7 -7
  841. package/utils/uuid.d.ts +2 -2
  842. package/utils/viewport.d.ts +1 -1
  843. package/AlertSignFill-e607ff43.js +0 -2
  844. package/AlertSignFill-e607ff43.js.map +0 -1
  845. package/Button-f26a558e.js +0 -2
  846. package/Button-f26a558e.js.map +0 -1
  847. package/Check-6291ad09.js +0 -2
  848. package/Check-6291ad09.js.map +0 -1
  849. package/Checkbox-798282e4.js +0 -2
  850. package/Checkbox-798282e4.js.map +0 -1
  851. package/ChevronUp-4b6797ef.js +0 -2
  852. package/ChevronUp-4b6797ef.js.map +0 -1
  853. package/Close-35ad7d35.js +0 -2
  854. package/Close-35ad7d35.js.map +0 -1
  855. package/FormGroup-0577b07f.js.map +0 -1
  856. package/Icon-89da8de4.js +0 -2
  857. package/Icon-89da8de4.js.map +0 -1
  858. package/Input-19650c24.js +0 -2
  859. package/Input-19650c24.js.map +0 -1
  860. package/Loader-fa16a352.js.map +0 -1
  861. package/Modal-1bae215e.js +0 -2
  862. package/Modal-1bae215e.js.map +0 -1
  863. package/RadioButton-fe4bbd36.js.map +0 -1
  864. package/Textarea-e1d1144c.js.map +0 -1
  865. package/Title-af53f589.js.map +0 -1
  866. package/Validation-fd3f7f58.js +0 -2
  867. package/Validation-fd3f7f58.js.map +0 -1
  868. package/_rollupPluginBabelHelpers-b8ef6dd9.js +0 -2
  869. package/_rollupPluginBabelHelpers-b8ef6dd9.js.map +0 -1
  870. package/color-a10c7892.js +0 -2
  871. package/color-a10c7892.js.map +0 -1
  872. package/components/Modal/__mocks__/IntersectionObserver.d.ts +0 -6
  873. package/components/Modal/__mocks__/IntersectionObserver.d.ts.map +0 -1
  874. package/components/__mocks__/index.js +0 -2
  875. package/constants-ad6c82db.js +0 -2
  876. package/constants-ad6c82db.js.map +0 -1
  877. package/grid-11a70eb7.js +0 -2
  878. package/grid-11a70eb7.js.map +0 -1
  879. package/index-0e78dfa0.js +0 -2
  880. package/index-0e78dfa0.js.map +0 -1
  881. package/useBreakpoint-552af2b9.js +0 -2
  882. package/useBreakpoint-552af2b9.js.map +0 -1
  883. package/useHover-9710204a.js.map +0 -1
  884. package/useIsVisible-a1f67a11.js.map +0 -1
  885. package/useSticky-194f2b78.js +0 -2
  886. package/useSticky-194f2b78.js.map +0 -1
  887. package/useWindowSize-750f9b68.js +0 -2
  888. package/useWindowSize-750f9b68.js.map +0 -1
@@ -1,46 +1,48 @@
1
- import React from 'react';
2
- import { PaletteNames } from '../../theme/palette';
3
- export declare type ExpanderListColors = PaletteNames;
4
- export declare type ExpanderType = React.ForwardRefExoticComponent<ExpanderProps & React.RefAttributes<HTMLLIElement>>;
5
- export interface ExpanderListCompound extends React.ForwardRefExoticComponent<ExpanderListProps & React.RefAttributes<HTMLUListElement>> {
6
- Expander: ExpanderType;
7
- }
8
- interface ExpanderListProps {
9
- /** Toggles accordion functionality for the expanders. */
10
- accordion?: boolean;
11
- /** Toggles the bottom border of the last child element. */
12
- bottomBorder?: boolean;
13
- /** Items in the ExpanderList */
14
- children: React.ReactNode;
15
- /** Toggles padding of child elements */
16
- childPadding?: boolean;
17
- /** Adds custom classes to the element. */
18
- className?: string;
19
- /** Changes the link list background color on hover. */
20
- color?: ExpanderListColors;
21
- /** Changes the font size. */
22
- large?: boolean;
23
- /** Opens the first item in the list. */
24
- isOpen?: boolean;
25
- /** Toggles the top border of the first child element. */
26
- topBorder?: boolean;
27
- /** Sets the data-testid attribute. */
28
- testId?: string;
29
- }
30
- declare type Modify<T, R> = Omit<T, keyof R> & R;
31
- declare type ExpanderProps = Modify<React.HTMLAttributes<HTMLButtonElement>, {
32
- id?: string;
33
- title: JSX.Element | string;
34
- children: React.ReactNode;
35
- className?: string;
36
- color?: ExpanderListColors;
37
- icon?: React.ReactElement;
38
- padding?: boolean;
39
- isExpanded?: boolean;
40
- large?: boolean;
41
- testId?: string;
42
- handleExpanderClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
43
- }>;
44
- export declare const ExpanderList: ExpanderListCompound;
45
- export default ExpanderList;
1
+ import React from 'react';
2
+ import { PaletteNames } from '../../theme/palette';
3
+ export declare type ExpanderListColors = PaletteNames;
4
+ export declare type ExpanderType = React.ForwardRefExoticComponent<ExpanderProps & React.RefAttributes<HTMLLIElement>>;
5
+ export interface ExpanderListCompound extends React.ForwardRefExoticComponent<ExpanderListProps & React.RefAttributes<HTMLUListElement>> {
6
+ Expander: ExpanderType;
7
+ }
8
+ interface ExpanderListProps {
9
+ /** Toggles accordion functionality for the expanders. */
10
+ accordion?: boolean;
11
+ /** Toggles the bottom border of the last child element. */
12
+ bottomBorder?: boolean;
13
+ /** Items in the ExpanderList */
14
+ children: React.ReactNode;
15
+ /** Toggles padding of child elements */
16
+ childPadding?: boolean;
17
+ /** Adds custom classes to the element. */
18
+ className?: string;
19
+ /** Changes the link list background color on hover. */
20
+ color?: ExpanderListColors;
21
+ /** Changes the font size. */
22
+ large?: boolean;
23
+ /** Opens the first item in the list. */
24
+ isOpen?: boolean;
25
+ /** Toggles the top border of the first child element. */
26
+ topBorder?: boolean;
27
+ /** Sets the data-testid attribute. */
28
+ testId?: string;
29
+ }
30
+ declare type Modify<T, R> = Omit<T, keyof R> & R;
31
+ declare type ExpanderProps = Modify<React.HTMLAttributes<HTMLButtonElement>, {
32
+ id?: string;
33
+ title: JSX.Element | string;
34
+ children: React.ReactNode;
35
+ className?: string;
36
+ color?: ExpanderListColors;
37
+ icon?: React.ReactElement;
38
+ padding?: boolean;
39
+ expanded?: boolean;
40
+ large?: boolean;
41
+ testId?: string;
42
+ handleExpanderClick?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
43
+ /** Called when expander is open/closed. */
44
+ onExpand?: (isExpanded: boolean) => void;
45
+ }>;
46
+ export declare const ExpanderList: ExpanderListCompound;
47
+ export default ExpanderList;
46
48
  //# sourceMappingURL=ExpanderList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpanderList.d.ts","sourceRoot":"","sources":["../../../src/components/ExpanderList/ExpanderList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAanD,oBAAY,kBAAkB,GAAG,YAAY,CAAC;AAC9C,oBAAY,YAAY,GAAG,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AAE/G,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACtI,QAAQ,EAAE,YAAY,CAAC;CACxB;AAMD,UAAU,iBAAiB;IACzB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gCAAgC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wCAAwC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;AAEzC,aAAK,aAAa,GAAG,MAAM,CACzB,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACvC;IACE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;CAClF,CACF,CAAC;AAwDF,eAAO,MAAM,YAAY,sBAoEC,CAAC;AAK3B,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ExpanderList.d.ts","sourceRoot":"","sources":["../../../src/components/ExpanderList/ExpanderList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAcnD,oBAAY,kBAAkB,GAAG,YAAY,CAAC;AAC9C,oBAAY,YAAY,GAAG,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AAE/G,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IACtI,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,UAAU,iBAAiB;IACzB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gCAAgC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wCAAwC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;AAEzC,aAAK,aAAa,GAAG,MAAM,CACzB,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACvC;IACE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACjF,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CACF,CAAC;AAyEF,eAAO,MAAM,YAAY,sBAoEC,CAAC;AAK3B,eAAe,YAAY,CAAC"}
@@ -1,4 +1,4 @@
1
- import ExpanderList from './ExpanderList';
2
- export * from './ExpanderList';
3
- export default ExpanderList;
1
+ import ExpanderList from './ExpanderList';
2
+ export * from './ExpanderList';
3
+ export default ExpanderList;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import{_ as e,b as n}from"../../_rollupPluginBabelHelpers-b8ef6dd9.js";import t,{useState as a,useEffect as i}from"react";import{I as r}from"../../Icon-89da8de4.js";import{A as o,I as d}from"../../constants-ad6c82db.js";import{C as s,a as l}from"../../ChevronUp-4b6797ef.js";import{u as c}from"../../useHover-9710204a.js";import{u as m,B as p}from"../../useBreakpoint-552af2b9.js";import{c as u}from"../../index-9b84fabc.js";import f from"./styles.module.scss";import"../../_tslib-51c8a283.js";import"../../grid-11a70eb7.js";var x=t.forwardRef((function(e,a){var i,x=e.id,v=e.children,g=e.padding,E=void 0===g||g,_=e.color,b=void 0===_?"neutral":_,h=e.className,k=void 0===h?"":h,j=e.icon,N=e.large,C=void 0!==N&&N,w=e.title,H=e.isExpanded,I=void 0!==H&&H,y=e.testId,B=e.handleExpanderClick,O=c(),R=O.hoverRef,S=O.isHovered,z=m(),L=u(f["expander-list-link"],f["expander-list-link--".concat(b)],(n(i={},f["expander-list-link--closed"],!I),n(i,f["expander-list-link--large"],C),i)),P=u(f["expander-list-link__main-content"],E?f["expander-list-link__main-content--padding"]:"");return t.createElement("li",{className:k,ref:a},t.createElement("button",{id:x,onClick:B,"data-testid":y,"data-analyticsid":o.Expander,className:L,ref:R},j&&t.createElement("span",{className:f["expander-list-link__icon"]},t.cloneElement(j,{size:z===p.xs?d.XSmall:d.Small,isHovered:S})),t.createElement("span",{className:f["expander-list-link__title"]},w),t.createElement("span",{className:f["expander-list-link__chevron"]},t.createElement(r,{size:d.XSmall,svgIcon:I?s:l,isHovered:S}))),I?t.createElement("div",{className:P},v):null)})),v=t.forwardRef((function(r,d){var s=r.children,l=r.childPadding,c=void 0===l||l,m=r.large,p=r.isOpen,v=void 0!==p&&p,g=r.color,E=r.className,_=void 0===E?"":E,b=r.accordion,h=void 0!==b&&b,k=r.topBorder,j=void 0===k||k,N=r.bottomBorder,C=void 0===N||N,w=r.testId,H=a({}),I=e(H,2),y=I[0],B=I[1],O=a(),R=e(O,2),S=R[0],z=R[1],L=t.Children.count(s),P=u(f["expander-list"],_);return i((function(){var e,n,t,a,i;!h||!S||(e=S.getBoundingClientRect(),n=e.top,t=e.left,a=e.bottom,i=e.right,n>=0&&t>=0&&a<=(window.innerHeight||document.documentElement.clientHeight)&&i<=(window.innerWidth||document.documentElement.clientWidth))||S.scrollIntoView()}),[h,S]),i((function(){if(v){var e="expander-0";B((function(t){return h?n({},e,!t[e]):Object.assign(Object.assign({},t),n({},e,!t[e]))}))}}),[v]),t.createElement("ul",{className:P,ref:d,"data-testid":w,"data-analyticsid":o.ExpanderList},t.Children.map(s,(function(e,a){if(e.type===x){var i=y["expander-".concat(a)],r=function(e){var t;return u(f["expander-list__item"],(n(t={},f["expander-list__item--top"],0===e&&j),n(t,f["expander-list__item--no-bottom"],e===L-1&&!C),t))}(a);return t.cloneElement(e,{id:"expander-".concat(a),key:"expander-".concat(a),isExpanded:i,padding:c,color:g,large:m,"aria-expanded":i,className:r,handleExpanderClick:function(e){return function(e,t){B((function(e){return h?n({},t,!e[t]):Object.assign(Object.assign({},e),n({},t,!e[t]))})),z(e.currentTarget)}(e,"expander-".concat(a))}})}return e})))}));v.Expander=x,x.displayName="ExpanderList.Expander";export default v;export{v as ExpanderList};
1
+ import{_ as e,b as n}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import t,{useState as a,useEffect as i}from"react";import{Icon as r}from"../Icons/Icon.js";import{A as o,I as d}from"../../constants-075356e2.js";import s from"../Icons/ChevronUp.js";import l from"../Icons/ChevronDown.js";import{u as c}from"../../useHover-507fb85a.js";import{u as m}from"../../usePrevious-ae293b10.js";import{u as p,B as u}from"../../useBreakpoint-3186b97e.js";import{c as f}from"../../index-9b84fabc.js";import x from"./styles.module.scss";import"../../_tslib-51c8a283.js";import"../../grid-c105cad1.js";var v=t.forwardRef((function(v,g){var E,_=v.id,b=v.children,h=v.padding,j=void 0===h||h,k=v.color,N=void 0===k?"neutral":k,I=v.className,w=void 0===I?"":I,C=v.icon,H=v.large,y=void 0!==H&&H,B=v.title,O=v.expanded,R=void 0!==O&&O,L=v.testId,P=v.handleExpanderClick,S=v.onExpand,z=a(R),W=e(z,2),X=W[0],A=W[1],D=m(X),T=c(),U=T.hoverRef,V=T.isHovered,q=p(),F=f(x["expander-list-link"],x["expander-list-link--".concat(N)],(n(E={},x["expander-list-link--closed"],!X),n(E,x["expander-list-link--large"],y),E)),G=f(x["expander-list-link__main-content"],X&&x["expander-list-link__main-content--expanded"],j?x["expander-list-link__main-content--padding"]:"");return i((function(){R!==X&&A(R)}),[R]),i((function(){S&&X!==!!D&&S(X)}),[X,S]),t.createElement("li",{className:w,ref:g},t.createElement("button",{id:_,onClick:P,"data-testid":L,"data-analyticsid":o.ExpanderListExpander,className:F,ref:U,"aria-expanded":X},C&&t.createElement("span",{className:x["expander-list-link__icon"]},t.cloneElement(C,{size:q===u.xs?d.XSmall:d.Small,isHovered:V})),t.createElement("span",{className:x["expander-list-link__title"]},B),t.createElement("span",{className:x["expander-list-link__chevron"]},t.createElement(r,{size:d.XSmall,svgIcon:X?s:l,isHovered:V}))),t.createElement("div",{className:G},b))})),g=t.forwardRef((function(r,d){var s=r.children,l=r.childPadding,c=void 0===l||l,m=r.large,p=r.isOpen,u=void 0!==p&&p,g=r.color,E=r.className,_=void 0===E?"":E,b=r.accordion,h=void 0!==b&&b,j=r.topBorder,k=void 0===j||j,N=r.bottomBorder,I=void 0===N||N,w=r.testId,C=a({}),H=e(C,2),y=H[0],B=H[1],O=a(),R=e(O,2),L=R[0],P=R[1],S=t.Children.count(s),z=f(x["expander-list"],_);return i((function(){var e,n,t,a,i;!h||!L||(e=L.getBoundingClientRect(),n=e.top,t=e.left,a=e.bottom,i=e.right,n>=0&&t>=0&&a<=(window.innerHeight||document.documentElement.clientHeight)&&i<=(window.innerWidth||document.documentElement.clientWidth))||L.scrollIntoView()}),[h,L]),i((function(){if(u){var e="expander-0";B((function(t){return h?n({},e,!t[e]):Object.assign(Object.assign({},t),n({},e,!t[e]))}))}}),[u]),t.createElement("ul",{className:z,ref:d,"data-testid":w,"data-analyticsid":o.ExpanderList},t.Children.map(s,(function(e,a){if(e.type===v){var i=y["expander-".concat(a)],r=function(e){var t;return f(x["expander-list__item"],(n(t={},x["expander-list__item--top"],0===e&&k),n(t,x["expander-list__item--no-bottom"],e===S-1&&!I),t))}(a);return t.cloneElement(e,{id:"expander-".concat(a),key:"expander-".concat(a),expanded:i,padding:c,color:g,large:m,"aria-expanded":i,className:r,handleExpanderClick:function(e){return function(e,t){B((function(e){return h?n({},t,!e[t]):Object.assign(Object.assign({},e),n({},t,!e[t]))})),P(e.currentTarget)}(e,"expander-".concat(a))}})}return e})))}));g.Expander=v,v.displayName="ExpanderList.Expander";export default g;export{g as ExpanderList};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,155 +1,160 @@
1
- @import '../../scss/_spacers.scss';
2
- @import '../../scss/_breakpoints.scss';
3
- @import '../../scss/_font-settings.scss';
4
- @import '../../scss/_palette.scss';
5
-
6
- .expander-list {
7
- list-style: none;
8
- padding: 0;
9
- width: inherit;
10
- margin: 0;
11
-
12
- &__item {
13
- border: 0;
14
- border-bottom: 1px solid $neutral500;
15
-
16
- &--top {
17
- border-top: 1px solid $neutral500;
18
- }
19
-
20
- &--no-bottom {
21
- border-bottom: 0;
22
- }
23
- }
24
- }
25
-
26
- .expander-list-link {
27
- padding: getSpacer(2xs) 0 getSpacer(2xs) 0;
28
- font-size: $font-size-sm;
29
- line-height: $lineheight-size-sm;
30
- @media (min-width: map-get($grid-breakpoints, md)) {
31
- padding-left: getSpacer(2xs);
32
- padding-right: getSpacer(2xs);
33
- font-size: $font-size-md;
34
- line-height: $lineheight-size-md;
35
- }
36
- display: flex;
37
- cursor: pointer;
38
- font-weight: 600;
39
- font-family: inherit;
40
- text-decoration: none;
41
- justify-content: space-between;
42
- align-items: center;
43
- letter-spacing: unset;
44
- color: $black;
45
- border: 0;
46
- width: 100%;
47
- outline: none;
48
-
49
- &--banana {
50
- background-color: $banana100;
51
-
52
- &:hover,
53
- &:focus {
54
- background-color: $banana100;
55
- }
56
- }
57
- &--blueberry {
58
- background-color: $blueberry100;
59
-
60
- &:hover,
61
- &:focus {
62
- background-color: $blueberry100;
63
- }
64
- }
65
- &--cherry {
66
- background-color: $cherry100;
67
-
68
- &:hover,
69
- &:focus {
70
- background-color: $cherry100;
71
- }
72
- }
73
- &--kiwi {
74
- background-color: $kiwi100;
75
-
76
- &:hover,
77
- &:focus {
78
- background-color: $kiwi100;
79
- }
80
- }
81
- &--neutral {
82
- background-color: $neutral100;
83
-
84
- &:hover,
85
- &:focus {
86
- background-color: $neutral100;
87
- }
88
- }
89
- &--plum {
90
- background-color: $plum100;
91
-
92
- &:hover,
93
- &:focus {
94
- background-color: $plum100;
95
- }
96
- }
97
- &--white {
98
- background-color: $neutral50;
99
-
100
- &:hover,
101
- &:focus {
102
- background-color: $neutral50;
103
- }
104
- }
105
-
106
- &--closed:not(:hover, :focus) {
107
- background-color: transparent;
108
- }
109
-
110
- &:focus {
111
- outline: none;
112
- }
113
-
114
- &--large {
115
- font-size: $font-size-lg;
116
- line-height: $lineheight-size-lg;
117
- }
118
-
119
- &__title {
120
- color: $black;
121
- display: flex;
122
- align-items: center;
123
- text-align: left;
124
- border-bottom: 1px solid transparent;
125
-
126
- :focus > & {
127
- border-color: $black;
128
- }
129
- }
130
-
131
- &__icon {
132
- display: flex;
133
- align-items: center;
134
- margin-right: getSpacer(2xs);
135
- }
136
-
137
- &__chevron {
138
- display: flex;
139
- align-items: center;
140
- margin-left: auto;
141
- padding-left: getSpacer(2xs);
142
- }
143
-
144
- &__main-content {
145
- padding: 0;
146
-
147
- &--padding {
148
- padding: getSpacer(m) 0 getSpacer(m) 0;
149
- @media (min-width: map-get($grid-breakpoints, md)) {
150
- padding-left: getSpacer(2xs);
151
- padding-right: getSpacer(2xs);
152
- }
153
- }
154
- }
155
- }
1
+ @import '../../scss/_spacers.scss';
2
+ @import '../../scss/_breakpoints.scss';
3
+ @import '../../scss/_font-settings.scss';
4
+ @import '../../scss/_palette.scss';
5
+
6
+ .expander-list {
7
+ list-style: none;
8
+ padding: 0;
9
+ width: inherit;
10
+ margin: 0;
11
+
12
+ &__item {
13
+ border: 0;
14
+ border-bottom: 1px solid $neutral500;
15
+
16
+ &--top {
17
+ border-top: 1px solid $neutral500;
18
+ }
19
+
20
+ &--no-bottom {
21
+ border-bottom: 0;
22
+ }
23
+ }
24
+ }
25
+
26
+ .expander-list-link {
27
+ padding: getSpacer(2xs) 0 getSpacer(2xs) 0;
28
+ font-size: $font-size-sm;
29
+ line-height: $lineheight-size-sm;
30
+ @media (min-width: map-get($grid-breakpoints, md)) {
31
+ padding-left: getSpacer(2xs);
32
+ padding-right: getSpacer(2xs);
33
+ font-size: $font-size-md;
34
+ line-height: $lineheight-size-md;
35
+ }
36
+ display: flex;
37
+ cursor: pointer;
38
+ font-weight: 600;
39
+ font-family: inherit;
40
+ text-decoration: none;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+ letter-spacing: unset;
44
+ color: $black;
45
+ border: 0;
46
+ width: 100%;
47
+ outline: none;
48
+
49
+ &--banana {
50
+ background-color: $banana100;
51
+
52
+ &:hover,
53
+ &:focus {
54
+ background-color: $banana100;
55
+ }
56
+ }
57
+ &--blueberry {
58
+ background-color: $blueberry100;
59
+
60
+ &:hover,
61
+ &:focus {
62
+ background-color: $blueberry100;
63
+ }
64
+ }
65
+ &--cherry {
66
+ background-color: $cherry100;
67
+
68
+ &:hover,
69
+ &:focus {
70
+ background-color: $cherry100;
71
+ }
72
+ }
73
+ &--kiwi {
74
+ background-color: $kiwi100;
75
+
76
+ &:hover,
77
+ &:focus {
78
+ background-color: $kiwi100;
79
+ }
80
+ }
81
+ &--neutral {
82
+ background-color: $neutral100;
83
+
84
+ &:hover,
85
+ &:focus {
86
+ background-color: $neutral100;
87
+ }
88
+ }
89
+ &--plum {
90
+ background-color: $plum100;
91
+
92
+ &:hover,
93
+ &:focus {
94
+ background-color: $plum100;
95
+ }
96
+ }
97
+ &--white {
98
+ background-color: $neutral50;
99
+
100
+ &:hover,
101
+ &:focus {
102
+ background-color: $neutral50;
103
+ }
104
+ }
105
+
106
+ &--closed:not(:hover, :focus) {
107
+ background-color: transparent;
108
+ }
109
+
110
+ &:focus {
111
+ outline: none;
112
+ }
113
+
114
+ &--large {
115
+ font-size: $font-size-lg;
116
+ line-height: $lineheight-size-lg;
117
+ }
118
+
119
+ &__title {
120
+ color: $black;
121
+ display: flex;
122
+ align-items: center;
123
+ text-align: left;
124
+ border-bottom: 1px solid transparent;
125
+
126
+ :focus > & {
127
+ border-color: $black;
128
+ }
129
+ }
130
+
131
+ &__icon {
132
+ display: flex;
133
+ align-items: center;
134
+ margin-right: getSpacer(2xs);
135
+ }
136
+
137
+ &__chevron {
138
+ display: flex;
139
+ align-items: center;
140
+ margin-left: auto;
141
+ padding-left: getSpacer(2xs);
142
+ }
143
+
144
+ &__main-content {
145
+ padding: 0;
146
+ display: none;
147
+
148
+ &--expanded {
149
+ display: block;
150
+ }
151
+
152
+ &--padding {
153
+ padding: getSpacer(m) 0 getSpacer(m) 0;
154
+ @media (min-width: map-get($grid-breakpoints, md)) {
155
+ padding-left: getSpacer(2xs);
156
+ padding-right: getSpacer(2xs);
157
+ }
158
+ }
159
+ }
160
+ }
@@ -1,27 +1,28 @@
1
- export type Styles = {
2
- 'expander-list': string;
3
- 'expander-list__item': string;
4
- 'expander-list__item--no-bottom': string;
5
- 'expander-list__item--top': string;
6
- 'expander-list-link': string;
7
- 'expander-list-link__chevron': string;
8
- 'expander-list-link__icon': string;
9
- 'expander-list-link__main-content': string;
10
- 'expander-list-link__main-content--padding': string;
11
- 'expander-list-link__title': string;
12
- 'expander-list-link--banana': string;
13
- 'expander-list-link--blueberry': string;
14
- 'expander-list-link--cherry': string;
15
- 'expander-list-link--closed': string;
16
- 'expander-list-link--kiwi': string;
17
- 'expander-list-link--large': string;
18
- 'expander-list-link--neutral': string;
19
- 'expander-list-link--plum': string;
20
- 'expander-list-link--white': string;
21
- };
22
-
23
- export type ClassNames = keyof Styles;
24
-
25
- declare const styles: Styles;
26
-
27
- export default styles;
1
+ export type Styles = {
2
+ 'expander-list': string;
3
+ 'expander-list__item': string;
4
+ 'expander-list__item--no-bottom': string;
5
+ 'expander-list__item--top': string;
6
+ 'expander-list-link': string;
7
+ 'expander-list-link__chevron': string;
8
+ 'expander-list-link__icon': string;
9
+ 'expander-list-link__main-content': string;
10
+ 'expander-list-link__main-content--expanded': string;
11
+ 'expander-list-link__main-content--padding': string;
12
+ 'expander-list-link__title': string;
13
+ 'expander-list-link--banana': string;
14
+ 'expander-list-link--blueberry': string;
15
+ 'expander-list-link--cherry': string;
16
+ 'expander-list-link--closed': string;
17
+ 'expander-list-link--kiwi': string;
18
+ 'expander-list-link--large': string;
19
+ 'expander-list-link--neutral': string;
20
+ 'expander-list-link--plum': string;
21
+ 'expander-list-link--white': string;
22
+ };
23
+
24
+ export type ClassNames = keyof Styles;
25
+
26
+ declare const styles: Styles;
27
+
28
+ export default styles;
@@ -1,16 +1,16 @@
1
- /// <reference types="react" />
2
- import { FormVariant } from '../../constants';
3
- interface FormExampleProps {
4
- exampleType: FormExampleVariants;
5
- variant?: keyof typeof FormVariant;
6
- }
7
- export declare enum FormExampleVariants {
8
- formgroup = "formgroup",
9
- checkbox = "checkbox",
10
- radiobutton = "radiobutton",
11
- textarea = "textarea",
12
- input = "input"
13
- }
14
- export declare const FormExample: (props: FormExampleProps) => JSX.Element;
15
- export default FormExample;
1
+ /// <reference types="react" />
2
+ import { FormVariant } from '../../constants';
3
+ interface FormExampleProps {
4
+ exampleType: FormExampleVariants;
5
+ variant?: keyof typeof FormVariant;
6
+ }
7
+ export declare enum FormExampleVariants {
8
+ formgroup = "formgroup",
9
+ checkbox = "checkbox",
10
+ radiobutton = "radiobutton",
11
+ textarea = "textarea",
12
+ input = "input"
13
+ }
14
+ export declare const FormExample: (props: FormExampleProps) => JSX.Element;
15
+ export default FormExample;
16
16
  //# sourceMappingURL=FormExample.d.ts.map
@@ -1,4 +1,4 @@
1
- import FormExample from './FormExample';
2
- export * from './FormExample';
3
- export default FormExample;
1
+ import FormExample from './FormExample';
2
+ export * from './FormExample';
3
+ export default FormExample;
4
4
  //# sourceMappingURL=index.d.ts.map