@helsenorge/designsystem-react 1.0.0-beta106 → 1.0.0-beta110

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 (883) 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-48d39d0e.js +2 -0
  7. package/Close-48d39d0e.js.map +1 -0
  8. package/{FormGroup-b2b6efe0.js → FormGroup-f10939e6.js} +2 -2
  9. package/FormGroup-f10939e6.js.map +1 -0
  10. package/Input-01c967ac.js +2 -0
  11. package/Input-01c967ac.js.map +1 -0
  12. package/{Loader-bc13d060.js → Loader-bf89238f.js} +2 -2
  13. package/Loader-bf89238f.js.map +1 -0
  14. package/Modal-240f0699.js +2 -0
  15. package/Modal-240f0699.js.map +1 -0
  16. package/README.md +69 -69
  17. package/{RadioButton-c173d440.js → RadioButton-b0da1997.js} +2 -2
  18. package/RadioButton-b0da1997.js.map +1 -0
  19. package/{Textarea-78e20c9a.js → Textarea-648063a9.js} +2 -2
  20. package/Textarea-648063a9.js.map +1 -0
  21. package/{Title-9df559dd.js → Title-1d8708ea.js} +2 -2
  22. package/Title-1d8708ea.js.map +1 -0
  23. package/Validation-c196f3f2.js +2 -0
  24. package/Validation-c196f3f2.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 -160
  75. package/components/ExpanderList/styles.module.scss.d.ts +28 -28
  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 -26
  86. package/components/HighlightBox/index.d.ts +3 -3
  87. package/components/HighlightBox/index.js +1 -1
  88. package/components/HighlightBox/styles.module.scss +174 -174
  89. package/components/Icons/ActiveMonitoring.d.ts +4 -4
  90. package/components/Icons/ActiveMonitoring.js +1 -1
  91. package/components/Icons/AcupunctureBack.d.ts +4 -4
  92. package/components/Icons/AcupunctureBack.d.ts.map +1 -1
  93. package/components/Icons/AcupunctureBack.js +1 -1
  94. package/components/Icons/AdditionalIconInformation.js +263 -263
  95. package/components/Icons/AdditionalIconInformation.js.map +1 -1
  96. package/components/Icons/AlarmClock.d.ts +4 -4
  97. package/components/Icons/AlarmClock.d.ts.map +1 -1
  98. package/components/Icons/AlarmClock.js +1 -1
  99. package/components/Icons/AlertSignFill.d.ts +4 -4
  100. package/components/Icons/AlertSignFill.d.ts.map +1 -1
  101. package/components/Icons/AlertSignFill.js +1 -1
  102. package/components/Icons/AlertSignStroke.d.ts +4 -4
  103. package/components/Icons/AlertSignStroke.d.ts.map +1 -1
  104. package/components/Icons/AlertSignStroke.js +1 -1
  105. package/components/Icons/Amputation.d.ts +4 -4
  106. package/components/Icons/Amputation.js +1 -1
  107. package/components/Icons/Anxiety.d.ts +4 -4
  108. package/components/Icons/Anxiety.js +1 -1
  109. package/components/Icons/Apple.d.ts +4 -4
  110. package/components/Icons/Apple.js +1 -1
  111. package/components/Icons/Archive.d.ts +4 -4
  112. package/components/Icons/Archive.d.ts.map +1 -1
  113. package/components/Icons/Archive.js +1 -1
  114. package/components/Icons/ArmFlexing.d.ts +4 -4
  115. package/components/Icons/ArmFlexing.js +1 -1
  116. package/components/Icons/ArrowLeft.d.ts +4 -4
  117. package/components/Icons/ArrowLeft.d.ts.map +1 -1
  118. package/components/Icons/ArrowLeft.js +1 -1
  119. package/components/Icons/ArrowRight.d.ts +4 -4
  120. package/components/Icons/ArrowRight.d.ts.map +1 -1
  121. package/components/Icons/ArrowRight.js +1 -1
  122. package/components/Icons/ArrowUpRight.d.ts +4 -4
  123. package/components/Icons/ArrowUpRight.d.ts.map +1 -1
  124. package/components/Icons/ArrowUpRight.js +1 -1
  125. package/components/Icons/Attachment.d.ts +4 -4
  126. package/components/Icons/Attachment.d.ts.map +1 -1
  127. package/components/Icons/Attachment.js +1 -1
  128. package/components/Icons/Atv.d.ts +4 -4
  129. package/components/Icons/Atv.js +1 -1
  130. package/components/Icons/Avatar.d.ts +4 -4
  131. package/components/Icons/Avatar.d.ts.map +1 -1
  132. package/components/Icons/Avatar.js +1 -1
  133. package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
  134. package/components/Icons/AwakePersonOnPillow.js +1 -1
  135. package/components/Icons/Baby.d.ts +4 -4
  136. package/components/Icons/Baby.js +1 -1
  137. package/components/Icons/BandAid.d.ts +4 -4
  138. package/components/Icons/BandAid.js +1 -1
  139. package/components/Icons/BeerAndPills.d.ts +4 -4
  140. package/components/Icons/BeerAndPills.js +1 -1
  141. package/components/Icons/Bell.d.ts +4 -4
  142. package/components/Icons/Bell.js +1 -1
  143. package/components/Icons/Bike.d.ts +4 -4
  144. package/components/Icons/Bike.js +1 -1
  145. package/components/Icons/BirthControl.d.ts +4 -4
  146. package/components/Icons/BirthdayCake.d.ts +4 -4
  147. package/components/Icons/BirthdayCake.js +1 -1
  148. package/components/Icons/Boat.d.ts +4 -4
  149. package/components/Icons/Boat.js +1 -1
  150. package/components/Icons/Body.d.ts +4 -4
  151. package/components/Icons/Brain.d.ts +4 -4
  152. package/components/Icons/Brain.js +1 -1
  153. package/components/Icons/BreastReconstruction.d.ts +4 -4
  154. package/components/Icons/BreastReconstruction.js +1 -1
  155. package/components/Icons/BreastRemoval.d.ts +4 -4
  156. package/components/Icons/BreastRemoval.js +1 -1
  157. package/components/Icons/Breasts.d.ts +4 -4
  158. package/components/Icons/Breasts.js +1 -1
  159. package/components/Icons/BrokenHeart.d.ts +4 -4
  160. package/components/Icons/BrokenHeart.js +1 -1
  161. package/components/Icons/BrokenPuzzle.d.ts +4 -4
  162. package/components/Icons/BrokenPuzzle.js +1 -1
  163. package/components/Icons/Bus.d.ts +4 -4
  164. package/components/Icons/Bus.d.ts.map +1 -1
  165. package/components/Icons/Bus.js +1 -1
  166. package/components/Icons/Calendar.d.ts +4 -4
  167. package/components/Icons/Calendar.d.ts.map +1 -1
  168. package/components/Icons/Calendar.js +1 -1
  169. package/components/Icons/CalendarChange.d.ts +4 -4
  170. package/components/Icons/CalendarChange.d.ts.map +1 -1
  171. package/components/Icons/CalendarChange.js +1 -1
  172. package/components/Icons/CalendarCheck.d.ts +4 -4
  173. package/components/Icons/CalendarCheck.d.ts.map +1 -1
  174. package/components/Icons/CalendarCheck.js +1 -1
  175. package/components/Icons/CalendarEvent.d.ts +4 -4
  176. package/components/Icons/CalendarEvent.js +1 -1
  177. package/components/Icons/CalendarSave.d.ts +4 -4
  178. package/components/Icons/CalendarSave.d.ts.map +1 -1
  179. package/components/Icons/CalendarSave.js +1 -1
  180. package/components/Icons/Cancer.d.ts +4 -4
  181. package/components/Icons/Cancer.js +1 -1
  182. package/components/Icons/Car.d.ts +4 -4
  183. package/components/Icons/Car.js +1 -1
  184. package/components/Icons/Change.d.ts +4 -4
  185. package/components/Icons/Change.d.ts.map +1 -1
  186. package/components/Icons/Change.js +1 -1
  187. package/components/Icons/Check.d.ts +4 -4
  188. package/components/Icons/Check.d.ts.map +1 -1
  189. package/components/Icons/Check.js +1 -1
  190. package/components/Icons/CheckOutline.d.ts +4 -4
  191. package/components/Icons/CheckOutline.js +1 -1
  192. package/components/Icons/Chest.d.ts +4 -4
  193. package/components/Icons/Chest.js +1 -1
  194. package/components/Icons/ChevronDown.d.ts +4 -4
  195. package/components/Icons/ChevronDown.d.ts.map +1 -1
  196. package/components/Icons/ChevronDown.js +1 -1
  197. package/components/Icons/ChevronLeft.d.ts +4 -4
  198. package/components/Icons/ChevronLeft.d.ts.map +1 -1
  199. package/components/Icons/ChevronLeft.js +1 -1
  200. package/components/Icons/ChevronRight.d.ts +4 -4
  201. package/components/Icons/ChevronRight.d.ts.map +1 -1
  202. package/components/Icons/ChevronRight.js +1 -1
  203. package/components/Icons/ChevronUp.d.ts +4 -4
  204. package/components/Icons/ChevronUp.d.ts.map +1 -1
  205. package/components/Icons/ChevronUp.js +1 -1
  206. package/components/Icons/ChevronsDown.d.ts +4 -4
  207. package/components/Icons/ChevronsDown.d.ts.map +1 -1
  208. package/components/Icons/ChevronsDown.js +1 -1
  209. package/components/Icons/ChevronsUp.d.ts +4 -4
  210. package/components/Icons/ChevronsUp.d.ts.map +1 -1
  211. package/components/Icons/ChevronsUp.js +1 -1
  212. package/components/Icons/ChildPlaying.d.ts +4 -4
  213. package/components/Icons/ChildPlaying.js +1 -1
  214. package/components/Icons/Cigarette.d.ts +4 -4
  215. package/components/Icons/Cigarette.js +1 -1
  216. package/components/Icons/Contacts.d.ts +4 -4
  217. package/components/Icons/Contacts.d.ts.map +1 -1
  218. package/components/Icons/Contacts.js +1 -1
  219. package/components/Icons/Copy.d.ts +4 -4
  220. package/components/Icons/Copy.d.ts.map +1 -1
  221. package/components/Icons/Copy.js +1 -1
  222. package/components/Icons/CoronaCertificate.d.ts +4 -4
  223. package/components/Icons/CoronaCertificate.js +1 -1
  224. package/components/Icons/Coronavirus.d.ts +4 -4
  225. package/components/Icons/Coronavirus.js +1 -1
  226. package/components/Icons/Cough.d.ts +4 -4
  227. package/components/Icons/Cough.js +1 -1
  228. package/components/Icons/CriticalHealthInfo.d.ts +4 -4
  229. package/components/Icons/CriticalHealthInfo.js +1 -1
  230. package/components/Icons/Cross.d.ts +4 -4
  231. package/components/Icons/Cross.js +1 -1
  232. package/components/Icons/DataExchange.d.ts +4 -4
  233. package/components/Icons/DataReceived.d.ts +4 -4
  234. package/components/Icons/DataSent.d.ts +4 -4
  235. package/components/Icons/Depression.d.ts +4 -4
  236. package/components/Icons/Depression.js +1 -1
  237. package/components/Icons/DigestiveSystem.d.ts +4 -4
  238. package/components/Icons/DigestiveSystem.js +1 -1
  239. package/components/Icons/Dizzy.d.ts +4 -4
  240. package/components/Icons/Dizzy.js +1 -1
  241. package/components/Icons/Documents.d.ts +4 -4
  242. package/components/Icons/Documents.js +1 -1
  243. package/components/Icons/Dog.d.ts +4 -4
  244. package/components/Icons/Dog.js +1 -1
  245. package/components/Icons/DonorCard.d.ts +4 -4
  246. package/components/Icons/DonorCard.js +1 -1
  247. package/components/Icons/Download.d.ts +4 -4
  248. package/components/Icons/Download.d.ts.map +1 -1
  249. package/components/Icons/Download.js +1 -1
  250. package/components/Icons/Draft.d.ts +4 -4
  251. package/components/Icons/Draft.js +1 -1
  252. package/components/Icons/EChat.d.ts +4 -4
  253. package/components/Icons/EChat.d.ts.map +1 -1
  254. package/components/Icons/EChat.js +1 -1
  255. package/components/Icons/EarNoseThroat.d.ts +4 -4
  256. package/components/Icons/EarNoseThroat.js +1 -1
  257. package/components/Icons/ElderlyPerson.d.ts +4 -4
  258. package/components/Icons/ElderlyPerson.js +1 -1
  259. package/components/Icons/Embolization.d.ts +4 -4
  260. package/components/Icons/Embolization.js +1 -1
  261. package/components/Icons/EnterFullScreen.d.ts +4 -4
  262. package/components/Icons/EnterFullScreen.d.ts.map +1 -1
  263. package/components/Icons/EnterFullScreen.js +1 -1
  264. package/components/Icons/Envelope.d.ts +4 -4
  265. package/components/Icons/Envelope.d.ts.map +1 -1
  266. package/components/Icons/Envelope.js +1 -1
  267. package/components/Icons/Epilepsy.d.ts +4 -4
  268. package/components/Icons/Epilepsy.js +1 -1
  269. package/components/Icons/Eraser.d.ts +4 -4
  270. package/components/Icons/Eraser.d.ts.map +1 -1
  271. package/components/Icons/Eraser.js +1 -1
  272. package/components/Icons/ErrorSignFill.d.ts +4 -4
  273. package/components/Icons/ErrorSignFill.d.ts.map +1 -1
  274. package/components/Icons/ErrorSignFill.js +1 -1
  275. package/components/Icons/ErrorSignStroke.d.ts +4 -4
  276. package/components/Icons/ErrorSignStroke.d.ts.map +1 -1
  277. package/components/Icons/ErrorSignStroke.js +1 -1
  278. package/components/Icons/EuropeanHealthCard.d.ts +4 -4
  279. package/components/Icons/EuropeanHealthCard.js +1 -1
  280. package/components/Icons/ExitFullScreen.d.ts +4 -4
  281. package/components/Icons/ExitFullScreen.d.ts.map +1 -1
  282. package/components/Icons/ExitFullScreen.js +1 -1
  283. package/components/Icons/Eye.d.ts +4 -4
  284. package/components/Icons/Eye.d.ts.map +1 -1
  285. package/components/Icons/Eye.js +1 -1
  286. package/components/Icons/Facebook.d.ts +4 -4
  287. package/components/Icons/Facebook.js +1 -1
  288. package/components/Icons/Female.d.ts +4 -4
  289. package/components/Icons/Female.js +1 -1
  290. package/components/Icons/FemaleDoctor.d.ts +4 -4
  291. package/components/Icons/FemaleDoctor.js +1 -1
  292. package/components/Icons/Ferry.d.ts +4 -4
  293. package/components/Icons/Ferry.js +1 -1
  294. package/components/Icons/FingerBleed.d.ts +4 -4
  295. package/components/Icons/FingerBleed.js +1 -1
  296. package/components/Icons/FirstAidKit.d.ts +4 -4
  297. package/components/Icons/FirstAidKit.js +1 -1
  298. package/components/Icons/FloppyDisk.d.ts +4 -4
  299. package/components/Icons/Football.d.ts +4 -4
  300. package/components/Icons/Football.js +1 -1
  301. package/components/Icons/Form.d.ts +4 -4
  302. package/components/Icons/Form.d.ts.map +1 -1
  303. package/components/Icons/Form.js +1 -1
  304. package/components/Icons/Forward.d.ts +4 -4
  305. package/components/Icons/Forward.d.ts.map +1 -1
  306. package/components/Icons/Forward.js +1 -1
  307. package/components/Icons/Gallery.d.ts +4 -4
  308. package/components/Icons/Gallery.d.ts.map +1 -1
  309. package/components/Icons/Gallery.js +1 -1
  310. package/components/Icons/Garden.d.ts +4 -4
  311. package/components/Icons/Garden.js +1 -1
  312. package/components/Icons/GasCan.d.ts +4 -4
  313. package/components/Icons/GasCan.js +1 -1
  314. package/components/Icons/GenderIdentity.d.ts +4 -4
  315. package/components/Icons/Globe.d.ts +4 -4
  316. package/components/Icons/Globe.d.ts.map +1 -1
  317. package/components/Icons/Globe.js +1 -1
  318. package/components/Icons/HandWaving.d.ts +4 -4
  319. package/components/Icons/HandWaving.js +1 -1
  320. package/components/Icons/HandWithDisease.d.ts +4 -4
  321. package/components/Icons/HandWithDisease.js +1 -1
  322. package/components/Icons/HealthClinic.d.ts +4 -4
  323. package/components/Icons/HealthClinic.js +1 -1
  324. package/components/Icons/HealthWarning.d.ts +4 -4
  325. package/components/Icons/HealthWarning.js +1 -1
  326. package/components/Icons/Heart.d.ts +4 -4
  327. package/components/Icons/Heart.d.ts.map +1 -1
  328. package/components/Icons/Heart.js +1 -1
  329. package/components/Icons/HelpSign.d.ts +4 -4
  330. package/components/Icons/HelpSign.d.ts.map +1 -1
  331. package/components/Icons/HelpSign.js +1 -1
  332. package/components/Icons/HelpingHand.d.ts +4 -4
  333. package/components/Icons/HelpingHand.js +1 -1
  334. package/components/Icons/Hemodialysis.d.ts +4 -4
  335. package/components/Icons/Hemodialysis.js +1 -1
  336. package/components/Icons/Hiker.d.ts +4 -4
  337. package/components/Icons/Hiker.js +1 -1
  338. package/components/Icons/Hipprosthesis.d.ts +4 -4
  339. package/components/Icons/Hipprosthesis.js +1 -1
  340. package/components/Icons/History.d.ts +4 -4
  341. package/components/Icons/History.d.ts.map +1 -1
  342. package/components/Icons/History.js +1 -1
  343. package/components/Icons/HivAndAids.d.ts +4 -4
  344. package/components/Icons/HivAndAids.js +1 -1
  345. package/components/Icons/Home.d.ts +4 -4
  346. package/components/Icons/Home.d.ts.map +1 -1
  347. package/components/Icons/Home.js +1 -1
  348. package/components/Icons/Hormone.d.ts +4 -4
  349. package/components/Icons/Hormone.js +1 -1
  350. package/components/Icons/Hospital.d.ts +4 -4
  351. package/components/Icons/Hospital.d.ts.map +1 -1
  352. package/components/Icons/Hospital.js +1 -1
  353. package/components/Icons/Hourglass.d.ts +4 -4
  354. package/components/Icons/Hourglass.d.ts.map +1 -1
  355. package/components/Icons/Hourglass.js +1 -1
  356. package/components/Icons/Icon.d.ts +23 -22
  357. package/components/Icons/Icon.d.ts.map +1 -1
  358. package/components/Icons/Icon.js +1 -1
  359. package/components/Icons/ImgFile.d.ts +4 -4
  360. package/components/Icons/ImgFile.js +1 -1
  361. package/components/Icons/Inbox.d.ts +4 -4
  362. package/components/Icons/Inbox.js +1 -1
  363. package/components/Icons/InfoSignFill.d.ts +4 -4
  364. package/components/Icons/InfoSignFill.d.ts.map +1 -1
  365. package/components/Icons/InfoSignFill.js +1 -1
  366. package/components/Icons/InfoSignStroke.d.ts +4 -4
  367. package/components/Icons/InfoSignStroke.d.ts.map +1 -1
  368. package/components/Icons/InfoSignStroke.js +1 -1
  369. package/components/Icons/Instagram.d.ts +4 -4
  370. package/components/Icons/Instagram.js +1 -1
  371. package/components/Icons/Intravenous.d.ts +4 -4
  372. package/components/Icons/Intravenous.js +1 -1
  373. package/components/Icons/JointPain.d.ts +4 -4
  374. package/components/Icons/JointPain.js +1 -1
  375. package/components/Icons/Journal.d.ts +4 -4
  376. package/components/Icons/Journal.d.ts.map +1 -1
  377. package/components/Icons/Journal.js +1 -1
  378. package/components/Icons/JpgFile.d.ts +4 -4
  379. package/components/Icons/JpgFile.js +1 -1
  380. package/components/Icons/Kidney.d.ts +4 -4
  381. package/components/Icons/Kidney.js +1 -1
  382. package/components/Icons/KitchenScale.d.ts +4 -4
  383. package/components/Icons/KitchenScale.js +1 -1
  384. package/components/Icons/Kjernejournal.d.ts +4 -4
  385. package/components/Icons/Kjernejournal.js +1 -1
  386. package/components/Icons/Laboratory.d.ts +4 -4
  387. package/components/Icons/Laboratory.js +1 -1
  388. package/components/Icons/LaptopBlog.d.ts +4 -4
  389. package/components/Icons/LaptopBlog.js +1 -1
  390. package/components/Icons/LawBook.d.ts +4 -4
  391. package/components/Icons/LawBook.js +1 -1
  392. package/components/Icons/LightBulb.d.ts +4 -4
  393. package/components/Icons/LightBulb.js +1 -1
  394. package/components/Icons/List.d.ts +4 -4
  395. package/components/Icons/List.d.ts.map +1 -1
  396. package/components/Icons/List.js +1 -1
  397. package/components/Icons/Location.d.ts +4 -4
  398. package/components/Icons/Location.d.ts.map +1 -1
  399. package/components/Icons/Location.js +1 -1
  400. package/components/Icons/Lock.d.ts +4 -4
  401. package/components/Icons/Lock.d.ts.map +1 -1
  402. package/components/Icons/Lock.js +1 -1
  403. package/components/Icons/Lungs.d.ts +4 -4
  404. package/components/Icons/Lungs.js +1 -1
  405. package/components/Icons/Makeup.d.ts +4 -4
  406. package/components/Icons/Makeup.js +1 -1
  407. package/components/Icons/MaleDoctor.d.ts +4 -4
  408. package/components/Icons/MaleDoctor.js +1 -1
  409. package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
  410. package/components/Icons/MaleDoctorAndPerson.js +1 -1
  411. package/components/Icons/MaleGenitalia.d.ts +4 -4
  412. package/components/Icons/MaleGenitalia.js +1 -1
  413. package/components/Icons/Medicine.d.ts +4 -4
  414. package/components/Icons/Medicine.d.ts.map +1 -1
  415. package/components/Icons/Medicine.js +1 -1
  416. package/components/Icons/MedicineWarning.d.ts +4 -4
  417. package/components/Icons/MedicineWarning.js +1 -1
  418. package/components/Icons/MentalHealthAdult.d.ts +4 -4
  419. package/components/Icons/MentalHealthAdult.js +1 -1
  420. package/components/Icons/MentalHealthChild.d.ts +4 -4
  421. package/components/Icons/MentalHealthChild.js +1 -1
  422. package/components/Icons/Menu.d.ts +4 -4
  423. package/components/Icons/Menu.d.ts.map +1 -1
  424. package/components/Icons/Menu.js +1 -1
  425. package/components/Icons/Microscope.d.ts +4 -4
  426. package/components/Icons/Microscope.js +1 -1
  427. package/components/Icons/Minus.d.ts +4 -4
  428. package/components/Icons/Minus.d.ts.map +1 -1
  429. package/components/Icons/Minus.js +1 -1
  430. package/components/Icons/Mirror.d.ts +4 -4
  431. package/components/Icons/Mirror.js +1 -1
  432. package/components/Icons/MobilePhone.d.ts +4 -4
  433. package/components/Icons/MobilePhone.d.ts.map +1 -1
  434. package/components/Icons/MobilePhone.js +1 -1
  435. package/components/Icons/MotherHoldingBaby.d.ts +4 -4
  436. package/components/Icons/MotherHoldingBaby.js +1 -1
  437. package/components/Icons/MuscleBack.d.ts +4 -4
  438. package/components/Icons/MuscleBack.js +1 -1
  439. package/components/Icons/MuscleLeg.d.ts +4 -4
  440. package/components/Icons/MuscleLeg.js +1 -1
  441. package/components/Icons/Mushroom.d.ts +4 -4
  442. package/components/Icons/Mushroom.js +1 -1
  443. package/components/Icons/Music.d.ts +4 -4
  444. package/components/Icons/Music.js +1 -1
  445. package/components/Icons/MusselsAndSalt.d.ts +4 -4
  446. package/components/Icons/MusselsAndSalt.js +1 -1
  447. package/components/Icons/NoEye.d.ts +4 -4
  448. package/components/Icons/NoEye.d.ts.map +1 -1
  449. package/components/Icons/NoEye.js +1 -1
  450. package/components/Icons/NoFilter.d.ts +4 -4
  451. package/components/Icons/NoFilter.d.ts.map +1 -1
  452. package/components/Icons/NoFilter.js +1 -1
  453. package/components/Icons/Notepad.d.ts +4 -4
  454. package/components/Icons/Notepad.js +1 -1
  455. package/components/Icons/Osteotomy.d.ts +4 -4
  456. package/components/Icons/Osteotomy.js +1 -1
  457. package/components/Icons/PaintRoller.d.ts +4 -4
  458. package/components/Icons/PaintRoller.js +1 -1
  459. package/components/Icons/PaperPlane.d.ts +4 -4
  460. package/components/Icons/PaperPlane.d.ts.map +1 -1
  461. package/components/Icons/PaperPlane.js +1 -1
  462. package/components/Icons/PatientAndPerson.d.ts +4 -4
  463. package/components/Icons/PatientAndPerson.js +1 -1
  464. package/components/Icons/Pause.d.ts +4 -4
  465. package/components/Icons/Pause.d.ts.map +1 -1
  466. package/components/Icons/Pause.js +1 -1
  467. package/components/Icons/PdfFile.d.ts +4 -4
  468. package/components/Icons/PdfFile.js +1 -1
  469. package/components/Icons/Pencil.d.ts +4 -4
  470. package/components/Icons/Pencil.d.ts.map +1 -1
  471. package/components/Icons/Pencil.js +1 -1
  472. package/components/Icons/PeopleTalking.d.ts +4 -4
  473. package/components/Icons/PeopleTalking.js +1 -1
  474. package/components/Icons/Peritonealdialysis.d.ts +4 -4
  475. package/components/Icons/Peritonealdialysis.js +1 -1
  476. package/components/Icons/Person.d.ts +4 -4
  477. package/components/Icons/Person.js +1 -1
  478. package/components/Icons/PersonAndPatient.d.ts +4 -4
  479. package/components/Icons/PersonAndPatient.js +1 -1
  480. package/components/Icons/PersonInXRayMachine.d.ts +4 -4
  481. package/components/Icons/PersonInXRayMachine.js +1 -1
  482. package/components/Icons/PersonOverweight.d.ts +4 -4
  483. package/components/Icons/PersonOverweight.js +1 -1
  484. package/components/Icons/PersonRelaxing.d.ts +4 -4
  485. package/components/Icons/PersonRelaxing.js +1 -1
  486. package/components/Icons/PersonWithBrain.d.ts +4 -4
  487. package/components/Icons/PersonWithBrain.js +1 -1
  488. package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
  489. package/components/Icons/PersonWithBrokenArm.js +1 -1
  490. package/components/Icons/PersonWithCrutches.d.ts +4 -4
  491. package/components/Icons/PersonWithCrutches.js +1 -1
  492. package/components/Icons/PersonWithJaw.d.ts +4 -4
  493. package/components/Icons/PersonWithJaw.js +1 -1
  494. package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
  495. package/components/Icons/PersonWithMagnifyingGlass.js +1 -1
  496. package/components/Icons/PersonWithSenses.d.ts +4 -4
  497. package/components/Icons/PersonWithSenses.js +1 -1
  498. package/components/Icons/PersonWorking.d.ts +4 -4
  499. package/components/Icons/PersonWorking.js +1 -1
  500. package/components/Icons/PizzaSlice.d.ts +4 -4
  501. package/components/Icons/PizzaSlice.js +1 -1
  502. package/components/Icons/Plane.d.ts +4 -4
  503. package/components/Icons/Plane.js +1 -1
  504. package/components/Icons/Plant.d.ts +4 -4
  505. package/components/Icons/Plant.js +1 -1
  506. package/components/Icons/Play.d.ts +4 -4
  507. package/components/Icons/Play.d.ts.map +1 -1
  508. package/components/Icons/Play.js +1 -1
  509. package/components/Icons/PlusLarge.d.ts +4 -4
  510. package/components/Icons/PlusLarge.d.ts.map +1 -1
  511. package/components/Icons/PlusLarge.js +1 -1
  512. package/components/Icons/PlusSmall.d.ts +4 -4
  513. package/components/Icons/PlusSmall.d.ts.map +1 -1
  514. package/components/Icons/PlusSmall.js +1 -1
  515. package/components/Icons/PngFile.d.ts +4 -4
  516. package/components/Icons/PngFile.js +1 -1
  517. package/components/Icons/Podcast.d.ts +4 -4
  518. package/components/Icons/PoisonInformation.d.ts +4 -4
  519. package/components/Icons/PoisonInformation.js +1 -1
  520. package/components/Icons/Pregnant.d.ts +4 -4
  521. package/components/Icons/Pregnant.js +1 -1
  522. package/components/Icons/Printer.d.ts +4 -4
  523. package/components/Icons/Printer.d.ts.map +1 -1
  524. package/components/Icons/Printer.js +1 -1
  525. package/components/Icons/Psychosis.d.ts +4 -4
  526. package/components/Icons/Psychosis.js +1 -1
  527. package/components/Icons/Publication.d.ts +4 -4
  528. package/components/Icons/Publication.js +1 -1
  529. package/components/Icons/Puzzle.d.ts +4 -4
  530. package/components/Icons/Puzzle.js +1 -1
  531. package/components/Icons/QrCode.d.ts +4 -4
  532. package/components/Icons/QrCode.d.ts.map +1 -1
  533. package/components/Icons/QrCode.js +1 -1
  534. package/components/Icons/Quarrel.d.ts +4 -4
  535. package/components/Icons/RadioTherapy.d.ts +4 -4
  536. package/components/Icons/RadioTherapy.js +1 -1
  537. package/components/Icons/RadioactiveTreatment.d.ts +4 -4
  538. package/components/Icons/RadioactiveTreatment.js +1 -1
  539. package/components/Icons/Radioiodine.d.ts +4 -4
  540. package/components/Icons/Radioiodine.js +1 -1
  541. package/components/Icons/Receipt.d.ts +4 -4
  542. package/components/Icons/Receipt.js +1 -1
  543. package/components/Icons/Receptionist.d.ts +4 -4
  544. package/components/Icons/Receptionist.d.ts.map +1 -1
  545. package/components/Icons/Receptionist.js +1 -1
  546. package/components/Icons/Recovery.d.ts +4 -4
  547. package/components/Icons/Recovery.js +1 -1
  548. package/components/Icons/Referral.d.ts +4 -4
  549. package/components/Icons/Referral.d.ts.map +1 -1
  550. package/components/Icons/Referral.js +1 -1
  551. package/components/Icons/Refresh.d.ts +4 -4
  552. package/components/Icons/Refresh.d.ts.map +1 -1
  553. package/components/Icons/Refresh.js +1 -1
  554. package/components/Icons/Refund.d.ts +4 -4
  555. package/components/Icons/Refund.js +1 -1
  556. package/components/Icons/Reply.d.ts +4 -4
  557. package/components/Icons/Reply.d.ts.map +1 -1
  558. package/components/Icons/Reply.js +1 -1
  559. package/components/Icons/Rocket.d.ts +4 -4
  560. package/components/Icons/Rocket.js +1 -1
  561. package/components/Icons/RtfFile.d.ts +4 -4
  562. package/components/Icons/RtfFile.js +1 -1
  563. package/components/Icons/STDs.d.ts +4 -4
  564. package/components/Icons/Save.d.ts +4 -4
  565. package/components/Icons/Save.d.ts.map +1 -1
  566. package/components/Icons/Save.js +1 -1
  567. package/components/Icons/Scale.d.ts +4 -4
  568. package/components/Icons/Scale.js +1 -1
  569. package/components/Icons/Search.d.ts +4 -4
  570. package/components/Icons/Search.d.ts.map +1 -1
  571. package/components/Icons/Search.js +1 -1
  572. package/components/Icons/SectionSign.d.ts +4 -4
  573. package/components/Icons/SectionSign.d.ts.map +1 -1
  574. package/components/Icons/SectionSign.js +1 -1
  575. package/components/Icons/Settings.d.ts +4 -4
  576. package/components/Icons/Settings.d.ts.map +1 -1
  577. package/components/Icons/Settings.js +1 -1
  578. package/components/Icons/Sexualorientation.d.ts +4 -4
  579. package/components/Icons/ShakingHand.d.ts +4 -4
  580. package/components/Icons/ShakingHand.js +1 -1
  581. package/components/Icons/Share.d.ts +4 -4
  582. package/components/Icons/Share.d.ts.map +1 -1
  583. package/components/Icons/Share.js +1 -1
  584. package/components/Icons/Shield.d.ts +4 -4
  585. package/components/Icons/Shield.js +1 -1
  586. package/components/Icons/ShuntOperation.d.ts +4 -4
  587. package/components/Icons/ShuntOperation.js +1 -1
  588. package/components/Icons/Skeleton.d.ts +4 -4
  589. package/components/Icons/Skeleton.js +1 -1
  590. package/components/Icons/Skin.d.ts +4 -4
  591. package/components/Icons/Skin.js +1 -1
  592. package/components/Icons/Snake.d.ts +4 -4
  593. package/components/Icons/Snake.js +1 -1
  594. package/components/Icons/Snapchat.d.ts +4 -4
  595. package/components/Icons/Snapchat.js +1 -1
  596. package/components/Icons/SpeechBubble.d.ts +4 -4
  597. package/components/Icons/SpeechBubble.d.ts.map +1 -1
  598. package/components/Icons/SpeechBubble.js +1 -1
  599. package/components/Icons/Spray.d.ts +4 -4
  600. package/components/Icons/Spray.js +1 -1
  601. package/components/Icons/Stopwatch.d.ts +4 -4
  602. package/components/Icons/Stopwatch.d.ts.map +1 -1
  603. package/components/Icons/Stopwatch.js +1 -1
  604. package/components/Icons/SupportingPerson.d.ts +4 -4
  605. package/components/Icons/SupportingPerson.d.ts.map +1 -1
  606. package/components/Icons/SupportingPerson.js +1 -1
  607. package/components/Icons/Surgery.d.ts +4 -4
  608. package/components/Icons/Surgery.js +1 -1
  609. package/components/Icons/Syringe.d.ts +4 -4
  610. package/components/Icons/Syringe.d.ts.map +1 -1
  611. package/components/Icons/Syringe.js +1 -1
  612. package/components/Icons/Taxi.d.ts +4 -4
  613. package/components/Icons/Taxi.js +1 -1
  614. package/components/Icons/TeddyBear.d.ts +4 -4
  615. package/components/Icons/TeddyBear.js +1 -1
  616. package/components/Icons/Teenagers.d.ts +4 -4
  617. package/components/Icons/Teenagers.js +1 -1
  618. package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
  619. package/components/Icons/ThinkingAboutBaby.js +1 -1
  620. package/components/Icons/Ticket.d.ts +4 -4
  621. package/components/Icons/Ticket.js +1 -1
  622. package/components/Icons/TimePassing.d.ts +4 -4
  623. package/components/Icons/TimePassing.d.ts.map +1 -1
  624. package/components/Icons/TimePassing.js +1 -1
  625. package/components/Icons/Toolbox.d.ts +4 -4
  626. package/components/Icons/Toolbox.d.ts.map +1 -1
  627. package/components/Icons/Toolbox.js +1 -1
  628. package/components/Icons/Tooth.d.ts +4 -4
  629. package/components/Icons/Tooth.js +1 -1
  630. package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
  631. package/components/Icons/TotalKneeProsthesis.js +1 -1
  632. package/components/Icons/Train.d.ts +4 -4
  633. package/components/Icons/Train.js +1 -1
  634. package/components/Icons/Transplantation.d.ts +4 -4
  635. package/components/Icons/Transplantation.js +1 -1
  636. package/components/Icons/TrashCan.d.ts +4 -4
  637. package/components/Icons/TrashCan.d.ts.map +1 -1
  638. package/components/Icons/TrashCan.js +1 -1
  639. package/components/Icons/Twitter.d.ts +4 -4
  640. package/components/Icons/Twitter.js +1 -1
  641. package/components/Icons/Undo.d.ts +4 -4
  642. package/components/Icons/Undo.d.ts.map +1 -1
  643. package/components/Icons/Undo.js +1 -1
  644. package/components/Icons/UniProsthesis.d.ts +4 -4
  645. package/components/Icons/UniProsthesis.js +1 -1
  646. package/components/Icons/Upload.d.ts +4 -4
  647. package/components/Icons/Upload.d.ts.map +1 -1
  648. package/components/Icons/Upload.js +1 -1
  649. package/components/Icons/UserOrganization.d.ts +4 -4
  650. package/components/Icons/UserOrganization.js +1 -1
  651. package/components/Icons/Vaccine.d.ts +4 -4
  652. package/components/Icons/Vaccine.d.ts.map +1 -1
  653. package/components/Icons/Vaccine.js +1 -1
  654. package/components/Icons/VerticalDots.d.ts +4 -4
  655. package/components/Icons/VerticalDots.d.ts.map +1 -1
  656. package/components/Icons/VerticalDots.js +1 -1
  657. package/components/Icons/VideoCamera.d.ts +4 -4
  658. package/components/Icons/VideoCamera.d.ts.map +1 -1
  659. package/components/Icons/VideoCamera.js +1 -1
  660. package/components/Icons/VideoChat.d.ts +4 -4
  661. package/components/Icons/VideoChat.d.ts.map +1 -1
  662. package/components/Icons/VideoChat.js +1 -1
  663. package/components/Icons/Wallet.d.ts +4 -4
  664. package/components/Icons/Wallet.d.ts.map +1 -1
  665. package/components/Icons/Wallet.js +1 -1
  666. package/components/Icons/Watch.d.ts +4 -4
  667. package/components/Icons/Watch.d.ts.map +1 -1
  668. package/components/Icons/Watch.js +1 -1
  669. package/components/Icons/Website.d.ts +4 -4
  670. package/components/Icons/Website.js +1 -1
  671. package/components/Icons/Wheelchair.d.ts +4 -4
  672. package/components/Icons/Wheelchair.js +1 -1
  673. package/components/Icons/WheelchairActive.d.ts +4 -4
  674. package/components/Icons/WheelchairActive.js +1 -1
  675. package/components/Icons/Window.d.ts +4 -4
  676. package/components/Icons/Window.js +1 -1
  677. package/components/Icons/WordDocument.d.ts +4 -4
  678. package/components/Icons/WordDocument.js +1 -1
  679. package/components/Icons/WorkSuitcase.d.ts +4 -4
  680. package/components/Icons/WorkSuitcase.js +1 -1
  681. package/components/Icons/X.d.ts +4 -4
  682. package/components/Icons/X.d.ts.map +1 -1
  683. package/components/Icons/X.js +1 -1
  684. package/components/Icons/XOutline.d.ts +4 -4
  685. package/components/Icons/XOutline.js +1 -1
  686. package/components/Icons/XmlFile.d.ts +4 -4
  687. package/components/Icons/XmlFile.js +1 -1
  688. package/components/Icons/YouTube.d.ts +4 -4
  689. package/components/Icons/YouTube.js +1 -1
  690. package/components/Icons/Zoom.d.ts +4 -4
  691. package/components/Icons/Zoom.d.ts.map +1 -1
  692. package/components/Icons/Zoom.js +1 -1
  693. package/components/Icons/index.d.ts +4 -4
  694. package/components/Icons/index.js +1 -1
  695. package/components/Input/Input.d.ts +54 -54
  696. package/components/Input/index.d.ts +3 -3
  697. package/components/Input/index.js +1 -1
  698. package/components/Input/styles.module.scss +59 -59
  699. package/components/Input/styles.module.scss.d.ts +23 -23
  700. package/components/LinkList/LinkList.d.ts +41 -41
  701. package/components/LinkList/index.d.ts +3 -3
  702. package/components/LinkList/index.js +1 -1
  703. package/components/LinkList/styles.module.scss +147 -147
  704. package/components/LinkList/styles.module.scss.d.ts +26 -26
  705. package/components/List/List.d.ts +9 -9
  706. package/components/List/index.d.ts +3 -3
  707. package/components/List/index.js +1 -1
  708. package/components/List/styles.module.scss +11 -11
  709. package/components/List/styles.module.scss.d.ts +10 -10
  710. package/components/Loader/Loader.d.ts +32 -32
  711. package/components/Loader/Loader.d.ts.map +1 -1
  712. package/components/Loader/index.d.ts +3 -3
  713. package/components/Loader/index.js +1 -1
  714. package/components/Loader/styles.module.scss +194 -194
  715. package/components/Logo/Logo.d.ts +17 -17
  716. package/components/Logo/index.d.ts +3 -3
  717. package/components/Logo/index.js +1 -1
  718. package/components/Modal/Modal.d.ts +69 -69
  719. package/components/Modal/index.d.ts +3 -3
  720. package/components/Modal/index.js +1 -1
  721. package/components/Modal/styles.module.scss +245 -243
  722. package/components/Modal/styles.module.scss.d.ts +41 -41
  723. package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
  724. package/components/NotificationPanel/index.d.ts +3 -3
  725. package/components/NotificationPanel/index.js +1 -1
  726. package/components/NotificationPanel/styles.module.scss +153 -153
  727. package/components/NotificationPanel/styles.module.scss.d.ts +33 -33
  728. package/components/Portal/index.d.ts +12 -12
  729. package/components/Portal/index.js +1 -1
  730. package/components/RadioButton/RadioButton.d.ts +30 -30
  731. package/components/RadioButton/index.d.ts +3 -3
  732. package/components/RadioButton/index.js +1 -1
  733. package/components/RadioButton/styles.module.scss +236 -236
  734. package/components/RadioButton/styles.module.scss.d.ts +23 -23
  735. package/components/Slider/Slider.d.ts +19 -19
  736. package/components/Slider/SliderUtils.d.ts +40 -40
  737. package/components/Slider/index.d.ts +3 -3
  738. package/components/Slider/index.js +1 -1
  739. package/components/Slider/styles.module.scss +85 -85
  740. package/components/Slider/styles.module.scss.d.ts +19 -19
  741. package/components/Spacer/Spacer.d.ts +12 -12
  742. package/components/Spacer/index.d.ts +3 -3
  743. package/components/Spacer/index.js +1 -1
  744. package/components/Spacer/styles.module.scss +47 -47
  745. package/components/Spacer/styles.module.scss.d.ts +22 -22
  746. package/components/Textarea/Textarea.d.ts +36 -36
  747. package/components/Textarea/index.d.ts +3 -3
  748. package/components/Textarea/index.js +1 -1
  749. package/components/Textarea/styles.module.scss +57 -57
  750. package/components/Textarea/styles.module.scss.d.ts +26 -26
  751. package/components/Tile/Tile.d.ts +33 -33
  752. package/components/Tile/index.d.ts +3 -3
  753. package/components/Tile/index.js +1 -1
  754. package/components/Tile/styles.module.scss +115 -115
  755. package/components/Tile/styles.module.scss.d.ts +18 -18
  756. package/components/Title/Title.d.ts +25 -25
  757. package/components/Title/index.d.ts +3 -3
  758. package/components/Title/index.js +1 -1
  759. package/components/Title/styles.module.scss +27 -27
  760. package/components/Title/styles.module.scss.d.ts +15 -15
  761. package/components/Validation/Validation.d.ts +16 -16
  762. package/components/Validation/index.d.ts +3 -3
  763. package/components/Validation/index.js +1 -1
  764. package/components/Validation/styles.module.scss +18 -18
  765. package/components/Validation/styles.module.scss.d.ts +10 -10
  766. package/constants-075356e2.js +2 -0
  767. package/constants-075356e2.js.map +1 -0
  768. package/constants.d.ts +92 -91
  769. package/constants.d.ts.map +1 -1
  770. package/grid-c105cad1.js +2 -0
  771. package/grid-c105cad1.js.map +1 -0
  772. package/hoc/withBreakpoint/index.d.ts +4 -0
  773. package/hoc/withBreakpoint/index.d.ts.map +1 -0
  774. package/hoc/withBreakpoint/index.js +2 -0
  775. package/{components/__mocks__ → hoc/withBreakpoint}/index.js.map +0 -0
  776. package/hoc/withBreakpoint/withBreakpoint.d.ts +14 -0
  777. package/hoc/withBreakpoint/withBreakpoint.d.ts.map +1 -0
  778. package/hooks/focus-utils.d.ts +6 -6
  779. package/hooks/useBreakpoint.d.ts +13 -12
  780. package/hooks/useBreakpoint.d.ts.map +1 -1
  781. package/hooks/useFocusToggle.d.ts +13 -13
  782. package/hooks/useFocusTrap.d.ts +3 -3
  783. package/hooks/useHover.d.ts +11 -11
  784. package/hooks/useIcons.d.ts +3 -3
  785. package/hooks/useIntersectionObserver.d.ts +10 -10
  786. package/hooks/useIsVisible.d.ts +9 -9
  787. package/hooks/useLayoutEvent.d.ts +8 -8
  788. package/hooks/useLayoutEvent.d.ts.map +1 -1
  789. package/hooks/usePrevious.d.ts +7 -0
  790. package/hooks/usePrevious.d.ts.map +1 -0
  791. package/hooks/useSize.d.ts +8 -8
  792. package/hooks/useSticky.d.ts +20 -20
  793. package/hooks/useWindowSize.d.ts +4 -4
  794. package/hooks/useWindowSize.d.ts.map +1 -1
  795. package/index-d1c9177a.js +2 -0
  796. package/index-d1c9177a.js.map +1 -0
  797. package/index.d.ts +13 -12
  798. package/index.d.ts.map +1 -1
  799. package/index.js +1 -1
  800. package/package.json +2 -1
  801. package/scss/_body.scss +11 -11
  802. package/scss/_breakpoints.scss +16 -16
  803. package/scss/_font-settings.scss +8 -8
  804. package/scss/_fonts.scss +112 -112
  805. package/scss/_grid.scss +1 -1
  806. package/scss/_input.scss +176 -176
  807. package/scss/_palette.scss +136 -136
  808. package/scss/_print.scss +176 -176
  809. package/scss/_reset.scss +13 -13
  810. package/scss/_spacers.scss +40 -40
  811. package/scss/_title.scss +59 -59
  812. package/scss/helsenorge.scss +8 -8
  813. package/scss/typography.module.scss +154 -154
  814. package/theme/currys/color.d.ts +3 -3
  815. package/theme/currys/index.d.ts +2 -2
  816. package/theme/currys/spacing.d.ts +3 -3
  817. package/theme/grid.d.ts +21 -20
  818. package/theme/grid.d.ts.map +1 -1
  819. package/theme/index.d.ts +99 -98
  820. package/theme/index.d.ts.map +1 -1
  821. package/theme/palette.d.ts +67 -67
  822. package/theme/spacers.d.ts +18 -18
  823. package/useBreakpoint-8209ae3c.js +2 -0
  824. package/useBreakpoint-8209ae3c.js.map +1 -0
  825. package/{useHover-9710204a.js → useHover-507fb85a.js} +2 -2
  826. package/useHover-507fb85a.js.map +1 -0
  827. package/{useIsVisible-a1f67a11.js → useIsVisible-f5d49913.js} +2 -2
  828. package/useIsVisible-f5d49913.js.map +1 -0
  829. package/usePrevious-ae293b10.js +2 -0
  830. package/usePrevious-ae293b10.js.map +1 -0
  831. package/useSticky-a572c326.js +2 -0
  832. package/useSticky-a572c326.js.map +1 -0
  833. package/useWindowSize-58f26dea.js +2 -0
  834. package/useWindowSize-58f26dea.js.map +1 -0
  835. package/utils/debounce.d.ts +7 -7
  836. package/utils/uuid.d.ts +2 -2
  837. package/utils/viewport.d.ts +1 -1
  838. package/AlertSignFill-e607ff43.js +0 -2
  839. package/AlertSignFill-e607ff43.js.map +0 -1
  840. package/Button-397ff5a8.js +0 -2
  841. package/Button-397ff5a8.js.map +0 -1
  842. package/Check-6291ad09.js +0 -2
  843. package/Check-6291ad09.js.map +0 -1
  844. package/Checkbox-acd12b0c.js +0 -2
  845. package/Checkbox-acd12b0c.js.map +0 -1
  846. package/ChevronUp-4b6797ef.js +0 -2
  847. package/ChevronUp-4b6797ef.js.map +0 -1
  848. package/Close-060173de.js +0 -2
  849. package/Close-060173de.js.map +0 -1
  850. package/FormGroup-b2b6efe0.js.map +0 -1
  851. package/Icon-537c6b21.js +0 -2
  852. package/Icon-537c6b21.js.map +0 -1
  853. package/Input-59ca2467.js +0 -2
  854. package/Input-59ca2467.js.map +0 -1
  855. package/Loader-bc13d060.js.map +0 -1
  856. package/Modal-3c7f9f93.js +0 -2
  857. package/Modal-3c7f9f93.js.map +0 -1
  858. package/RadioButton-c173d440.js.map +0 -1
  859. package/Textarea-78e20c9a.js.map +0 -1
  860. package/Title-9df559dd.js.map +0 -1
  861. package/Validation-16a8bdcd.js +0 -2
  862. package/Validation-16a8bdcd.js.map +0 -1
  863. package/_rollupPluginBabelHelpers-b8ef6dd9.js +0 -2
  864. package/_rollupPluginBabelHelpers-b8ef6dd9.js.map +0 -1
  865. package/color-a10c7892.js +0 -2
  866. package/color-a10c7892.js.map +0 -1
  867. package/components/Modal/__mocks__/IntersectionObserver.d.ts +0 -6
  868. package/components/Modal/__mocks__/IntersectionObserver.d.ts.map +0 -1
  869. package/components/__mocks__/index.js +0 -2
  870. package/constants-eb74321e.js +0 -2
  871. package/constants-eb74321e.js.map +0 -1
  872. package/grid-11a70eb7.js +0 -2
  873. package/grid-11a70eb7.js.map +0 -1
  874. package/index-0e78dfa0.js +0 -2
  875. package/index-0e78dfa0.js.map +0 -1
  876. package/useBreakpoint-552af2b9.js +0 -2
  877. package/useBreakpoint-552af2b9.js.map +0 -1
  878. package/useHover-9710204a.js.map +0 -1
  879. package/useIsVisible-a1f67a11.js.map +0 -1
  880. package/useSticky-d61d1f0b.js +0 -2
  881. package/useSticky-d61d1f0b.js.map +0 -1
  882. package/useWindowSize-750f9b68.js +0 -2
  883. package/useWindowSize-750f9b68.js.map +0 -1
@@ -1,63 +1,63 @@
1
- @import '../../scss/_spacers.scss';
2
- @import '../../scss/_breakpoints.scss';
3
- @import '../../scss/_palette.scss';
4
-
5
- @mixin anchorlink {
6
- display: inline;
7
- -webkit-box-decoration-break: clone;
8
- box-decoration-break: clone;
9
- overflow-wrap: break-word;
10
- word-break: break-word;
11
- text-align: left;
12
- text-decoration: none;
13
- color: $blueberry600;
14
- padding: 0.15rem;
15
- border-bottom: 1px solid $neutral300;
16
-
17
- &:hover {
18
- cursor: pointer;
19
- color: $blueberry700;
20
- background-color: $blueberry50;
21
- border-bottom-color: $blueberry600;
22
- }
23
- &:focus {
24
- padding: 0 0 0.15rem 0;
25
- outline: none;
26
- border: 0.15rem solid $black;
27
- }
28
-
29
- &__icon {
30
- display: inline-block;
31
- vertical-align: bottom;
32
- margin-right: -0.4rem;
33
- margin-top: -2rem;
34
- margin-bottom: -0.3rem;
35
- }
36
- }
37
-
38
- @mixin anchorlink-font {
39
- font-size: 1.125rem;
40
- line-height: 1.875rem;
41
- font-weight: 400;
42
- @media (min-width: map-get($grid-breakpoints, md)) {
43
- font-size: 1.25rem;
44
- }
45
- }
46
-
47
- @mixin anchorlink-icon {
48
- &[target='_blank'] {
49
- &:after {
50
- content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='38px' height='38px' viewBox='0 0 48 48' fill='%2308667c'><polygon points='33.305,14.659,33.305,29.205,32.005,29.205,32.005,16.948,15.804,33.149,14.885,32.229,31.155,15.959,18.761,15.96,18.761,14.659' /></svg>");
51
- display: inline-block;
52
- vertical-align: bottom;
53
- margin-right: -0.4rem;
54
- margin-top: -2rem;
55
- margin-bottom: -0.8rem;
56
- }
57
- }
58
- }
59
-
60
- .anchorlink {
61
- @include anchorlink;
62
- @include anchorlink-font;
63
- }
1
+ @import '../../scss/_spacers.scss';
2
+ @import '../../scss/_breakpoints.scss';
3
+ @import '../../scss/_palette.scss';
4
+
5
+ @mixin anchorlink {
6
+ display: inline;
7
+ -webkit-box-decoration-break: clone;
8
+ box-decoration-break: clone;
9
+ overflow-wrap: break-word;
10
+ word-break: break-word;
11
+ text-align: left;
12
+ text-decoration: none;
13
+ color: $blueberry600;
14
+ padding: 0.15rem;
15
+ border-bottom: 1px solid $neutral300;
16
+
17
+ &:hover {
18
+ cursor: pointer;
19
+ color: $blueberry700;
20
+ background-color: $blueberry50;
21
+ border-bottom-color: $blueberry600;
22
+ }
23
+ &:focus {
24
+ padding: 0 0 0.15rem 0;
25
+ outline: none;
26
+ border: 0.15rem solid $black;
27
+ }
28
+
29
+ &__icon {
30
+ display: inline-block;
31
+ vertical-align: bottom;
32
+ margin-right: -0.4rem;
33
+ margin-top: -2rem;
34
+ margin-bottom: -0.3rem;
35
+ }
36
+ }
37
+
38
+ @mixin anchorlink-font {
39
+ font-size: 1.125rem;
40
+ line-height: 1.875rem;
41
+ font-weight: 400;
42
+ @media (min-width: map-get($grid-breakpoints, md)) {
43
+ font-size: 1.25rem;
44
+ }
45
+ }
46
+
47
+ @mixin anchorlink-icon {
48
+ &[target='_blank'] {
49
+ &:after {
50
+ content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='38px' height='38px' viewBox='0 0 48 48' fill='%2308667c'><polygon points='33.305,14.659,33.305,29.205,32.005,29.205,32.005,16.948,15.804,33.149,14.885,32.229,31.155,15.959,18.761,15.96,18.761,14.659' /></svg>");
51
+ display: inline-block;
52
+ vertical-align: bottom;
53
+ margin-right: -0.4rem;
54
+ margin-top: -2rem;
55
+ margin-bottom: -0.8rem;
56
+ }
57
+ }
58
+ }
59
+
60
+ .anchorlink {
61
+ @include anchorlink;
62
+ @include anchorlink-font;
63
+ }
@@ -1,10 +1,10 @@
1
- export type Styles = {
2
- anchorlink: string;
3
- anchorlink__icon: string;
4
- };
5
-
6
- export type ClassNames = keyof Styles;
7
-
8
- declare const styles: Styles;
9
-
10
- export default styles;
1
+ export type Styles = {
2
+ anchorlink: string;
3
+ anchorlink__icon: string;
4
+ };
5
+
6
+ export type ClassNames = keyof Styles;
7
+
8
+ declare const styles: Styles;
9
+
10
+ export default styles;
@@ -1,16 +1,16 @@
1
- import React from 'react';
2
- interface AvatarProps {
3
- /** Name to display in the avatar. Will be truncated to the first two characters. */
4
- children: string;
5
- /** Displays a check icon to indicated the selected state. */
6
- selected?: boolean;
7
- /** background and color will be determined on variant. */
8
- variant?: 'normal' | 'black';
9
- /** Adds custom classes to the element. */
10
- className?: string;
11
- /** Sets the data-testid attribute. */
12
- testId?: string;
13
- }
14
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLElement>>;
15
- export default Avatar;
1
+ import React from 'react';
2
+ interface AvatarProps {
3
+ /** Name to display in the avatar. Will be truncated to the first two characters. */
4
+ children: string;
5
+ /** Displays a check icon to indicated the selected state. */
6
+ selected?: boolean;
7
+ /** background and color will be determined on variant. */
8
+ variant?: 'normal' | 'black';
9
+ /** Adds custom classes to the element. */
10
+ className?: string;
11
+ /** Sets the data-testid attribute. */
12
+ testId?: string;
13
+ }
14
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLElement>>;
15
+ export default Avatar;
16
16
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1,4 +1,4 @@
1
- import Avatar from './Avatar';
2
- export * from './Avatar';
3
- export default Avatar;
1
+ import Avatar from './Avatar';
2
+ export * from './Avatar';
3
+ export default Avatar;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import a from"react";import{I as t}from"../../Icon-537c6b21.js";import{A as e,I as r}from"../../constants-eb74321e.js";import{C as s}from"../../Check-6291ad09.js";import{c as o}from"../../index-9b84fabc.js";import c from"./styles.module.scss";import{p as l}from"../../palette-f206f488.js";import"../../_tslib-51c8a283.js";var m=a.forwardRef((function(m,i){var n=m.children,d=m.className,f=void 0===d?"":d,p=m.selected,b=void 0!==p&&p,v=m.variant,u=void 0===v?"normal":v,j=m.testId,I=n.charAt(0).toLocaleUpperCase()+n.substring(1,2);return a.createElement("span",{className:o(c.avatar,b&&c["avatar--selected"],"black"===u&&c["avatar--black"],f),ref:i,"data-testid":j,"data-analyticsid":e.Avatar},b?a.createElement(t,{svgIcon:s,size:r.Small,color:"black"===u?l.neutral900:l.blueberry600}):I)}));export default m;
1
+ import a from"react";import{Icon as t}from"../Icons/Icon.js";import{A as r,I as e}from"../../constants-075356e2.js";import s from"../Icons/Check.js";import{c as o}from"../../index-9b84fabc.js";import c from"./styles.module.scss";import{p as l}from"../../palette-f206f488.js";import"../../_tslib-51c8a283.js";var m=a.forwardRef((function(m,i){var n=m.children,d=m.className,f=void 0===d?"":d,p=m.selected,v=void 0!==p&&p,b=m.variant,u=void 0===b?"normal":b,j=m.testId,I=n.charAt(0).toLocaleUpperCase()+n.substring(1,2);return a.createElement("span",{className:o(c.avatar,v&&c["avatar--selected"],"black"===u&&c["avatar--black"],f),ref:i,"data-testid":j,"data-analyticsid":r.Avatar},v?a.createElement(t,{svgIcon:s,size:e.Small,color:"black"===u?l.neutral900:l.blueberry600}):I)}));export default m;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,22 +1,22 @@
1
- @import '../../scss/_palette.scss';
2
-
3
- .avatar {
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- width: 3rem;
8
- height: 3rem;
9
- font-size: 1.5rem;
10
- font-weight: 600;
11
- background-color: $blueberry500;
12
- color: $white;
13
- &--selected {
14
- background-color: transparent;
15
- }
16
- &--black {
17
- background-color: $neutral900;
18
- }
19
- &--selected#{&}--black {
20
- background-color: transparent;
21
- }
22
- }
1
+ @import '../../scss/_palette.scss';
2
+
3
+ .avatar {
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ width: 3rem;
8
+ height: 3rem;
9
+ font-size: 1.5rem;
10
+ font-weight: 600;
11
+ background-color: $blueberry500;
12
+ color: $white;
13
+ &--selected {
14
+ background-color: transparent;
15
+ }
16
+ &--black {
17
+ background-color: $neutral900;
18
+ }
19
+ &--selected#{&}--black {
20
+ background-color: transparent;
21
+ }
22
+ }
@@ -1,11 +1,11 @@
1
- export type Styles = {
2
- avatar: string;
3
- 'avatar--black': string;
4
- 'avatar--selected': string;
5
- };
6
-
7
- export type ClassNames = keyof Styles;
8
-
9
- declare const styles: Styles;
10
-
11
- export default styles;
1
+ export type Styles = {
2
+ avatar: string;
3
+ 'avatar--black': string;
4
+ 'avatar--selected': string;
5
+ };
6
+
7
+ export type ClassNames = keyof Styles;
8
+
9
+ declare const styles: Styles;
10
+
11
+ export default styles;
@@ -1,17 +1,17 @@
1
- import React from 'react';
2
- import { PaletteNames } from '../../theme/palette';
3
- export declare type BadgeColors = PaletteNames;
4
- export declare type BadgeChildren = string | number;
5
- interface BadgeProps {
6
- /** Sets the content of the badge. */
7
- children: BadgeChildren;
8
- /** Adds custom classes to the element. */
9
- className?: string;
10
- /** Changes the badge background color. */
11
- color?: BadgeColors;
12
- /** Sets the data-testid attribute. */
13
- testId?: string;
14
- }
15
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>>;
16
- export default Badge;
1
+ import React from 'react';
2
+ import { PaletteNames } from '../../theme/palette';
3
+ export declare type BadgeColors = PaletteNames;
4
+ export declare type BadgeChildren = string | number;
5
+ interface BadgeProps {
6
+ /** Sets the content of the badge. */
7
+ children: BadgeChildren;
8
+ /** Adds custom classes to the element. */
9
+ className?: string;
10
+ /** Changes the badge background color. */
11
+ color?: BadgeColors;
12
+ /** Sets the data-testid attribute. */
13
+ testId?: string;
14
+ }
15
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>>;
16
+ export default Badge;
17
17
  //# sourceMappingURL=Badge.d.ts.map
@@ -1,4 +1,4 @@
1
- import Badge from './Badge';
2
- export * from './Badge';
3
- export default Badge;
1
+ import Badge from './Badge';
2
+ export * from './Badge';
3
+ export default Badge;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import{b as e}from"../../_rollupPluginBabelHelpers-b8ef6dd9.js";import a from"react";import{c as r}from"../../index-9b84fabc.js";import t from"./styles.module.scss";import{A as d}from"../../constants-eb74321e.js";var b=a.forwardRef((function(b,l){var s,i=b.children,o=b.className,n=void 0===o?"":o,c=b.color,m=void 0===c?"black":c,g=b.testId,f=i.toString().length>2,u=r(t.badge,(e(s={},t["badge--oversized"],f),e(s,t["badge--black"],"black"===m),e(s,t["badge--white"],"white"===m),e(s,t["badge--blueberry"],"blueberry"===m),e(s,t["badge--banana"],"banana"===m),e(s,t["badge--cherry"],"cherry"===m),e(s,t["badge--kiwi"],"kiwi"===m),e(s,t["badge--neutral"],"neutral"===m),e(s,t["badge--plum"],"plum"===m),s),n);return a.createElement("span",{className:u,ref:l,"data-testid":g,"data-analyticsid":d.Badge},i)}));export default b;
1
+ import{b as e}from"../../_rollupPluginBabelHelpers-6b3099b0.js";import a from"react";import{c as r}from"../../index-9b84fabc.js";import t from"./styles.module.scss";import{A as b}from"../../constants-075356e2.js";var d=a.forwardRef((function(d,l){var s,i=d.children,o=d.className,n=void 0===o?"":o,c=d.color,m=void 0===c?"black":c,g=d.testId,u=i.toString().length>2,f=r(t.badge,(e(s={},t["badge--oversized"],u),e(s,t["badge--black"],"black"===m),e(s,t["badge--white"],"white"===m),e(s,t["badge--blueberry"],"blueberry"===m),e(s,t["badge--banana"],"banana"===m),e(s,t["badge--cherry"],"cherry"===m),e(s,t["badge--kiwi"],"kiwi"===m),e(s,t["badge--neutral"],"neutral"===m),e(s,t["badge--plum"],"plum"===m),s),n);return a.createElement("span",{className:f,ref:l,"data-testid":g,"data-analyticsid":b.Badge},i)}));export default d;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,41 +1,41 @@
1
- @import '../../scss/_palette.scss';
2
-
3
- .badge {
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- font-size: 0.875rem;
8
- font-weight: 600;
9
- min-width: 1.375rem;
10
- height: 1.375rem;
11
- border-radius: 1rem;
12
- padding: 0;
13
- color: $white;
14
- background-color: $black;
15
-
16
- &--oversized {
17
- padding: 0 0.25rem;
18
- }
19
- &--white {
20
- color: $black;
21
- background-color: $white;
22
- }
23
- &--blueberry {
24
- background-color: $blueberry500;
25
- }
26
- &--banana {
27
- background-color: $banana500;
28
- }
29
- &--cherry {
30
- background-color: $cherry500;
31
- }
32
- &--kiwi {
33
- background-color: $kiwi500;
34
- }
35
- &--neutral {
36
- background-color: $neutral500;
37
- }
38
- &--plum {
39
- background-color: $plum500;
40
- }
41
- }
1
+ @import '../../scss/_palette.scss';
2
+
3
+ .badge {
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ font-size: 0.875rem;
8
+ font-weight: 600;
9
+ min-width: 1.375rem;
10
+ height: 1.375rem;
11
+ border-radius: 1rem;
12
+ padding: 0;
13
+ color: $white;
14
+ background-color: $black;
15
+
16
+ &--oversized {
17
+ padding: 0 0.25rem;
18
+ }
19
+ &--white {
20
+ color: $black;
21
+ background-color: $white;
22
+ }
23
+ &--blueberry {
24
+ background-color: $blueberry500;
25
+ }
26
+ &--banana {
27
+ background-color: $banana500;
28
+ }
29
+ &--cherry {
30
+ background-color: $cherry500;
31
+ }
32
+ &--kiwi {
33
+ background-color: $kiwi500;
34
+ }
35
+ &--neutral {
36
+ background-color: $neutral500;
37
+ }
38
+ &--plum {
39
+ background-color: $plum500;
40
+ }
41
+ }
@@ -1,17 +1,17 @@
1
- export type Styles = {
2
- badge: string;
3
- 'badge--banana': string;
4
- 'badge--blueberry': string;
5
- 'badge--cherry': string;
6
- 'badge--kiwi': string;
7
- 'badge--neutral': string;
8
- 'badge--oversized': string;
9
- 'badge--plum': string;
10
- 'badge--white': string;
11
- };
12
-
13
- export type ClassNames = keyof Styles;
14
-
15
- declare const styles: Styles;
16
-
17
- export default styles;
1
+ export type Styles = {
2
+ badge: string;
3
+ 'badge--banana': string;
4
+ 'badge--blueberry': string;
5
+ 'badge--cherry': string;
6
+ 'badge--kiwi': string;
7
+ 'badge--neutral': string;
8
+ 'badge--oversized': string;
9
+ 'badge--plum': string;
10
+ 'badge--white': string;
11
+ };
12
+
13
+ export type ClassNames = keyof Styles;
14
+
15
+ declare const styles: Styles;
16
+
17
+ export default styles;
@@ -1,42 +1,43 @@
1
- import React from 'react';
2
- import { HTMLButtonProps, HTMLAnchorProps } from '../../constants';
3
- export declare type ButtonIntents = 'primary' | 'warning' | 'danger';
4
- export declare type ButtonIntentsColors = 'blueberry' | 'banana' | 'cherry' | 'neutral' | 'white';
5
- export declare type ButtonTags = 'button' | 'a';
6
- export declare type ButtonVariants = 'fill' | 'outline' | 'borderless';
7
- interface IntentToColor {
8
- primary: ButtonIntentsColors;
9
- warning: ButtonIntentsColors;
10
- danger: ButtonIntentsColors;
11
- }
12
- export declare const intentToColor: IntentToColor;
13
- export interface ButtonProps extends HTMLButtonProps, HTMLAnchorProps {
14
- /** Gives a unique id to the button */
15
- id?: string;
16
- /** Sets the content of the button. */
17
- children: React.ReactNode;
18
- /** Adds custom classes to the element. */
19
- className?: string;
20
- /** Makes the button scale to full width of its parent element. */
21
- fluid?: boolean;
22
- /** Changes the intent of the button. Mostly changes the color profile. */
23
- intent?: ButtonIntents;
24
- /** Changes the color presentation for different backgrounds. */
25
- inverted?: boolean;
26
- /** Changes the underlying element of the button. */
27
- htmlMarkup?: ButtonTags;
28
- /** Changes the size of the button to large. */
29
- large?: boolean;
30
- /** Sets the button into a loading state displaying <Loader /> as content. */
31
- loading?: boolean;
32
- onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
33
- /** Changes the visual representation of the button. */
34
- variant?: ButtonVariants;
35
- /** Disables text wrapping and enables ellipsis. */
36
- ellipsis?: boolean;
37
- /** Sets the data-testid attribute. */
38
- testId?: string;
39
- }
40
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
41
- export default Button;
1
+ import React from 'react';
2
+ import { HTMLButtonProps, HTMLAnchorProps } from '../../constants';
3
+ export declare type ButtonIntents = 'primary' | 'warning' | 'danger';
4
+ export declare type ButtonIntentsColors = 'blueberry' | 'banana' | 'cherry' | 'neutral' | 'white';
5
+ export declare type ButtonTags = 'button' | 'a';
6
+ export declare type ButtonVariants = 'fill' | 'outline' | 'borderless';
7
+ interface IntentToColor {
8
+ primary: ButtonIntentsColors;
9
+ warning: ButtonIntentsColors;
10
+ danger: ButtonIntentsColors;
11
+ }
12
+ export declare const intentToColor: IntentToColor;
13
+ export interface ButtonProps extends HTMLButtonProps, HTMLAnchorProps {
14
+ /** Gives a unique id to the button */
15
+ id?: string;
16
+ /** Sets the content of the button. */
17
+ children: React.ReactNode;
18
+ /** Adds custom classes to the element. */
19
+ className?: string;
20
+ /** Makes the button scale to full width of its parent element. */
21
+ fluid?: boolean;
22
+ /** Changes the intent of the button. Mostly changes the color profile. */
23
+ intent?: ButtonIntents;
24
+ /** Changes the color presentation for different backgrounds. */
25
+ inverted?: boolean;
26
+ /** Changes the underlying element of the button. */
27
+ htmlMarkup?: ButtonTags;
28
+ /** Changes the size of the button to large. */
29
+ large?: boolean;
30
+ /** Sets the button into a loading state displaying <Loader /> as content. */
31
+ loading?: boolean;
32
+ /** Function that is called when clicked */
33
+ onClick?: (e?: React.MouseEvent<HTMLElement, MouseEvent> | React.FormEvent<{}> | React.KeyboardEvent<HTMLUListElement> | null) => void;
34
+ /** Changes the visual representation of the button. */
35
+ variant?: ButtonVariants;
36
+ /** Disables text wrapping and enables ellipsis. */
37
+ ellipsis?: boolean;
38
+ /** Sets the data-testid attribute. */
39
+ testId?: string;
40
+ }
41
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
42
+ export default Button;
42
43
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAe,MAAM,iBAAiB,CAAC;AAahF,oBAAY,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7D,oBAAY,mBAAmB,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAC1F,oBAAY,UAAU,GAAG,QAAQ,GAAG,GAAG,CAAC;AACxC,oBAAY,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAE/D,UAAU,aAAa;IACrB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,eAAe;IACnE,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,uDAAuD;IACvD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAeD,QAAA,MAAM,MAAM,2GA6JV,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,eAAe,EAAe,MAAM,iBAAiB,CAAC;AAahF,oBAAY,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC7D,oBAAY,mBAAmB,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAC1F,oBAAY,UAAU,GAAG,QAAQ,GAAG,GAAG,CAAC;AACxC,oBAAY,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC;AAE/D,UAAU,aAAa;IACrB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,MAAM,EAAE,mBAAmB,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,eAAe;IACnE,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACvI,uDAAuD;IACvD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAeD,QAAA,MAAM,MAAM,2GA6JV,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -200,7 +200,7 @@
200
200
  },
201
201
  "onClick": {
202
202
  "defaultValue": null,
203
- "description": "",
203
+ "description": "Function that is called when clicked",
204
204
  "name": "onClick",
205
205
  "parent": {
206
206
  "fileName": "src/components/Button/Button.tsx",
@@ -214,7 +214,7 @@
214
214
  ],
215
215
  "required": false,
216
216
  "type": {
217
- "name": "((e?: MouseEvent<HTMLElement, MouseEvent>) => void) | undefined"
217
+ "name": "((e?: MouseEvent<HTMLElement, MouseEvent> | FormEvent<{}> | KeyboardEvent<HTMLUListElement> | null) => void) | undefined"
218
218
  }
219
219
  },
220
220
  "variant": {
@@ -1,4 +1,4 @@
1
- import Button from './Button';
2
- export * from './Button';
3
- export default Button;
1
+ import Button from './Button';
2
+ export * from './Button';
3
+ export default Button;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- import{B as o}from"../../Button-397ff5a8.js";export{B as default,i as intentToColor}from"../../Button-397ff5a8.js";import"../../_rollupPluginBabelHelpers-b8ef6dd9.js";import"../../_tslib-51c8a283.js";import"react";import"../../constants-eb74321e.js";import"../../color-a10c7892.js";import"../../index-0e78dfa0.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";import"../../Icon-537c6b21.js";import"../../Loader-bc13d060.js";import"../../index-9b84fabc.js";import"../../uuid-fe7442b7.js";import"../Loader/styles.module.scss";import"../../useHover-9710204a.js";import"../../useWindowSize-750f9b68.js";import"./styles.module.scss";
1
+ import{B as o}from"../../Button-ed1c6e3f.js";export{B as default,i as intentToColor}from"../../Button-ed1c6e3f.js";import"../../_rollupPluginBabelHelpers-6b3099b0.js";import"../../_tslib-51c8a283.js";import"react";import"../../constants-075356e2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../Loader-bf89238f.js";import"../../index-9b84fabc.js";import"../../uuid-fe7442b7.js";import"../Loader/styles.module.scss";import"../../useHover-507fb85a.js";import"../../useWindowSize-58f26dea.js";import"./styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map