@helsenorge/designsystem-react 1.0.0-beta104 → 1.0.0-beta108

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 (511) hide show
  1. package/Button-7e82091f.js +2 -0
  2. package/Button-7e82091f.js.map +1 -0
  3. package/CHANGELOG.md +52 -52
  4. package/Checkbox-f2418dc5.js +2 -0
  5. package/Checkbox-f2418dc5.js.map +1 -0
  6. package/Close-d81081c8.js +2 -0
  7. package/Close-d81081c8.js.map +1 -0
  8. package/FormGroup-af33981a.js +2 -0
  9. package/FormGroup-af33981a.js.map +1 -0
  10. package/Input-31d7accc.js +2 -0
  11. package/Input-31d7accc.js.map +1 -0
  12. package/{Loader-fa16a352.js → Loader-bc13d060.js} +2 -2
  13. package/Loader-bc13d060.js.map +1 -0
  14. package/Modal-ff546be0.js +2 -0
  15. package/Modal-ff546be0.js.map +1 -0
  16. package/README.md +69 -69
  17. package/{RadioButton-fe4bbd36.js → RadioButton-c173d440.js} +2 -2
  18. package/RadioButton-c173d440.js.map +1 -0
  19. package/{Textarea-e1d1144c.js → Textarea-78e20c9a.js} +2 -2
  20. package/Textarea-78e20c9a.js.map +1 -0
  21. package/{Title-af53f589.js → Title-9df559dd.js} +2 -2
  22. package/Title-9df559dd.js.map +1 -0
  23. package/{Validation-fd3f7f58.js → Validation-4041c083.js} +2 -2
  24. package/Validation-4041c083.js.map +1 -0
  25. package/components/AnchorLink/AnchorLink.d.ts +18 -18
  26. package/components/AnchorLink/index.d.ts +3 -3
  27. package/components/AnchorLink/index.js +1 -1
  28. package/components/AnchorLink/styles.module.scss +63 -63
  29. package/components/AnchorLink/styles.module.scss.d.ts +10 -10
  30. package/components/Avatar/Avatar.d.ts +15 -15
  31. package/components/Avatar/index.d.ts +3 -3
  32. package/components/Avatar/index.js +1 -1
  33. package/components/Avatar/styles.module.scss +22 -22
  34. package/components/Avatar/styles.module.scss.d.ts +11 -11
  35. package/components/Badge/Badge.d.ts +16 -16
  36. package/components/Badge/index.d.ts +3 -3
  37. package/components/Badge/index.js +1 -1
  38. package/components/Badge/styles.module.scss +41 -41
  39. package/components/Badge/styles.module.scss.d.ts +17 -17
  40. package/components/Button/Button.d.ts +42 -39
  41. package/components/Button/Button.d.ts.map +1 -1
  42. package/components/Button/componentdata.json +21 -2
  43. package/components/Button/index.d.ts +3 -3
  44. package/components/Button/index.js +1 -1
  45. package/components/Button/styles.module.scss +434 -434
  46. package/components/Button/styles.module.scss.d.ts +34 -34
  47. package/components/ButtonWithModal/ButtonWithModal.d.ts +10 -10
  48. package/components/ButtonWithModal/index.d.ts +3 -3
  49. package/components/ButtonWithModal/index.js +1 -1
  50. package/components/Checkbox/Checkbox.d.ts +30 -30
  51. package/components/Checkbox/index.d.ts +3 -3
  52. package/components/Checkbox/index.js +1 -1
  53. package/components/Checkbox/styles.module.scss +204 -204
  54. package/components/Checkbox/styles.module.scss.d.ts +26 -26
  55. package/components/Close/Close.d.ts +11 -11
  56. package/components/Close/index.d.ts +3 -3
  57. package/components/Close/index.js +1 -1
  58. package/components/Close/styles.module.scss +32 -32
  59. package/components/Close/styles.module.scss.d.ts +9 -9
  60. package/components/Expander/Expander.d.ts +32 -32
  61. package/components/Expander/Expander.d.ts.map +1 -1
  62. package/components/Expander/index.d.ts +3 -3
  63. package/components/Expander/index.js +1 -1
  64. package/components/Expander/styles.module.scss +165 -165
  65. package/components/Expander/styles.module.scss.d.ts +42 -42
  66. package/components/ExpanderList/ExpanderList.d.ts +47 -45
  67. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  68. package/components/ExpanderList/index.d.ts +3 -3
  69. package/components/ExpanderList/index.js +1 -1
  70. package/components/ExpanderList/styles.module.scss +160 -155
  71. package/components/ExpanderList/styles.module.scss.d.ts +28 -27
  72. package/components/FormExample/FormExample.d.ts +15 -15
  73. package/components/FormExample/index.d.ts +3 -3
  74. package/components/FormExample/index.js +1 -1
  75. package/components/FormExample/index.js.map +1 -1
  76. package/components/FormGroup/FormGroup.d.ts +24 -24
  77. package/components/FormGroup/index.d.ts +3 -3
  78. package/components/FormGroup/index.js +1 -1
  79. package/components/FormGroup/styles.module.scss +67 -67
  80. package/components/FormGroup/styles.module.scss.d.ts +16 -16
  81. package/components/HighlightBox/HighlightBox.d.ts +26 -23
  82. package/components/HighlightBox/HighlightBox.d.ts.map +1 -1
  83. package/components/HighlightBox/componentdata.json +19 -0
  84. package/components/HighlightBox/index.d.ts +3 -3
  85. package/components/HighlightBox/index.js +1 -1
  86. package/components/HighlightBox/styles.module.scss +174 -89
  87. package/components/Icons/ActiveMonitoring.d.ts +4 -4
  88. package/components/Icons/AcupunctureBack.d.ts +4 -4
  89. package/components/Icons/AcupunctureBack.js +1 -1
  90. package/components/Icons/AdditionalIconInformation.js +263 -263
  91. package/components/Icons/AdditionalIconInformation.js.map +1 -1
  92. package/components/Icons/AlarmClock.d.ts +4 -4
  93. package/components/Icons/AlertSignFill.d.ts +4 -4
  94. package/components/Icons/AlertSignStroke.d.ts +4 -4
  95. package/components/Icons/Amputation.d.ts +4 -4
  96. package/components/Icons/Anxiety.d.ts +4 -4
  97. package/components/Icons/Apple.d.ts +4 -4
  98. package/components/Icons/Archive.d.ts +4 -4
  99. package/components/Icons/ArmFlexing.d.ts +4 -4
  100. package/components/Icons/ArrowLeft.d.ts +4 -4
  101. package/components/Icons/ArrowRight.d.ts +4 -4
  102. package/components/Icons/ArrowUpRight.d.ts +4 -4
  103. package/components/Icons/Attachment.d.ts +4 -4
  104. package/components/Icons/Atv.d.ts +4 -4
  105. package/components/Icons/Avatar.d.ts +4 -4
  106. package/components/Icons/AwakePersonOnPillow.d.ts +4 -4
  107. package/components/Icons/Baby.d.ts +4 -4
  108. package/components/Icons/BandAid.d.ts +4 -4
  109. package/components/Icons/BeerAndPills.d.ts +4 -4
  110. package/components/Icons/Bell.d.ts +4 -4
  111. package/components/Icons/Bike.d.ts +4 -4
  112. package/components/Icons/BirthControl.d.ts +4 -4
  113. package/components/Icons/BirthdayCake.d.ts +4 -4
  114. package/components/Icons/Boat.d.ts +4 -4
  115. package/components/Icons/Body.d.ts +4 -4
  116. package/components/Icons/Brain.d.ts +4 -4
  117. package/components/Icons/BreastReconstruction.d.ts +4 -4
  118. package/components/Icons/BreastRemoval.d.ts +4 -4
  119. package/components/Icons/Breasts.d.ts +4 -4
  120. package/components/Icons/BrokenHeart.d.ts +4 -4
  121. package/components/Icons/BrokenPuzzle.d.ts +4 -4
  122. package/components/Icons/Bus.d.ts +4 -4
  123. package/components/Icons/Calendar.d.ts +4 -4
  124. package/components/Icons/CalendarChange.d.ts +4 -4
  125. package/components/Icons/CalendarCheck.d.ts +4 -4
  126. package/components/Icons/CalendarEvent.d.ts +4 -4
  127. package/components/Icons/CalendarSave.d.ts +4 -4
  128. package/components/Icons/Cancer.d.ts +4 -4
  129. package/components/Icons/Car.d.ts +4 -4
  130. package/components/Icons/Change.d.ts +4 -4
  131. package/components/Icons/Check.d.ts +4 -4
  132. package/components/Icons/CheckOutline.d.ts +4 -4
  133. package/components/Icons/Chest.d.ts +4 -4
  134. package/components/Icons/ChevronDown.d.ts +4 -4
  135. package/components/Icons/ChevronLeft.d.ts +4 -4
  136. package/components/Icons/ChevronRight.d.ts +4 -4
  137. package/components/Icons/ChevronUp.d.ts +4 -4
  138. package/components/Icons/ChevronsDown.d.ts +4 -4
  139. package/components/Icons/ChevronsUp.d.ts +4 -4
  140. package/components/Icons/ChildPlaying.d.ts +4 -4
  141. package/components/Icons/Cigarette.d.ts +4 -4
  142. package/components/Icons/Contacts.d.ts +4 -4
  143. package/components/Icons/Copy.d.ts +4 -4
  144. package/components/Icons/CoronaCertificate.d.ts +4 -4
  145. package/components/Icons/Coronavirus.d.ts +4 -4
  146. package/components/Icons/Cough.d.ts +4 -4
  147. package/components/Icons/CriticalHealthInfo.d.ts +4 -4
  148. package/components/Icons/Cross.d.ts +4 -4
  149. package/components/Icons/DataExchange.d.ts +4 -4
  150. package/components/Icons/DataReceived.d.ts +4 -4
  151. package/components/Icons/DataSent.d.ts +4 -4
  152. package/components/Icons/Depression.d.ts +4 -4
  153. package/components/Icons/DigestiveSystem.d.ts +4 -4
  154. package/components/Icons/Dizzy.d.ts +4 -4
  155. package/components/Icons/Documents.d.ts +4 -4
  156. package/components/Icons/Dog.d.ts +4 -4
  157. package/components/Icons/DonorCard.d.ts +4 -4
  158. package/components/Icons/Download.d.ts +4 -4
  159. package/components/Icons/Draft.d.ts +4 -4
  160. package/components/Icons/EChat.d.ts +4 -4
  161. package/components/Icons/EarNoseThroat.d.ts +4 -4
  162. package/components/Icons/ElderlyPerson.d.ts +4 -4
  163. package/components/Icons/Embolization.d.ts +4 -4
  164. package/components/Icons/EnterFullScreen.d.ts +4 -4
  165. package/components/Icons/Envelope.d.ts +4 -4
  166. package/components/Icons/Epilepsy.d.ts +4 -4
  167. package/components/Icons/Eraser.d.ts +4 -4
  168. package/components/Icons/ErrorSignFill.d.ts +4 -4
  169. package/components/Icons/ErrorSignStroke.d.ts +4 -4
  170. package/components/Icons/EuropeanHealthCard.d.ts +4 -4
  171. package/components/Icons/ExitFullScreen.d.ts +4 -4
  172. package/components/Icons/Eye.d.ts +4 -4
  173. package/components/Icons/Facebook.d.ts +4 -4
  174. package/components/Icons/Female.d.ts +4 -4
  175. package/components/Icons/FemaleDoctor.d.ts +4 -4
  176. package/components/Icons/Ferry.d.ts +4 -4
  177. package/components/Icons/FingerBleed.d.ts +4 -4
  178. package/components/Icons/FirstAidKit.d.ts +4 -4
  179. package/components/Icons/FloppyDisk.d.ts +4 -4
  180. package/components/Icons/Football.d.ts +4 -4
  181. package/components/Icons/Form.d.ts +4 -4
  182. package/components/Icons/Forward.d.ts +4 -4
  183. package/components/Icons/Gallery.d.ts +4 -4
  184. package/components/Icons/Garden.d.ts +4 -4
  185. package/components/Icons/GasCan.d.ts +4 -4
  186. package/components/Icons/GenderIdentity.d.ts +4 -4
  187. package/components/Icons/Globe.d.ts +4 -4
  188. package/components/Icons/HandWaving.d.ts +4 -4
  189. package/components/Icons/HandWithDisease.d.ts +4 -4
  190. package/components/Icons/HealthClinic.d.ts +4 -4
  191. package/components/Icons/HealthWarning.d.ts +4 -4
  192. package/components/Icons/Heart.d.ts +4 -4
  193. package/components/Icons/HelpSign.d.ts +4 -4
  194. package/components/Icons/HelpingHand.d.ts +4 -4
  195. package/components/Icons/Hemodialysis.d.ts +4 -4
  196. package/components/Icons/Hiker.d.ts +4 -4
  197. package/components/Icons/Hipprosthesis.d.ts +4 -4
  198. package/components/Icons/History.d.ts +4 -4
  199. package/components/Icons/HivAndAids.d.ts +4 -4
  200. package/components/Icons/Home.d.ts +4 -4
  201. package/components/Icons/Hormone.d.ts +4 -4
  202. package/components/Icons/Hospital.d.ts +4 -4
  203. package/components/Icons/Hourglass.d.ts +4 -4
  204. package/components/Icons/Icon.d.ts +22 -22
  205. package/components/Icons/Icon.js +1 -1
  206. package/components/Icons/ImgFile.d.ts +4 -4
  207. package/components/Icons/Inbox.d.ts +4 -4
  208. package/components/Icons/InfoSignFill.d.ts +4 -4
  209. package/components/Icons/InfoSignStroke.d.ts +4 -4
  210. package/components/Icons/Instagram.d.ts +4 -4
  211. package/components/Icons/Intravenous.d.ts +4 -4
  212. package/components/Icons/JointPain.d.ts +4 -4
  213. package/components/Icons/Journal.d.ts +4 -4
  214. package/components/Icons/JpgFile.d.ts +4 -4
  215. package/components/Icons/Kidney.d.ts +4 -4
  216. package/components/Icons/KitchenScale.d.ts +4 -4
  217. package/components/Icons/Kjernejournal.d.ts +4 -4
  218. package/components/Icons/Laboratory.d.ts +4 -4
  219. package/components/Icons/LaptopBlog.d.ts +4 -4
  220. package/components/Icons/LawBook.d.ts +4 -4
  221. package/components/Icons/LightBulb.d.ts +4 -4
  222. package/components/Icons/List.d.ts +4 -4
  223. package/components/Icons/Location.d.ts +4 -4
  224. package/components/Icons/Lock.d.ts +4 -4
  225. package/components/Icons/Lungs.d.ts +4 -4
  226. package/components/Icons/Makeup.d.ts +4 -4
  227. package/components/Icons/MaleDoctor.d.ts +4 -4
  228. package/components/Icons/MaleDoctorAndPerson.d.ts +4 -4
  229. package/components/Icons/MaleGenitalia.d.ts +4 -4
  230. package/components/Icons/Medicine.d.ts +4 -4
  231. package/components/Icons/MedicineWarning.d.ts +4 -4
  232. package/components/Icons/MentalHealthAdult.d.ts +4 -4
  233. package/components/Icons/MentalHealthChild.d.ts +4 -4
  234. package/components/Icons/Menu.d.ts +4 -4
  235. package/components/Icons/Microscope.d.ts +4 -4
  236. package/components/Icons/Minus.d.ts +4 -4
  237. package/components/Icons/Mirror.d.ts +4 -4
  238. package/components/Icons/MobilePhone.d.ts +4 -4
  239. package/components/Icons/MotherHoldingBaby.d.ts +4 -4
  240. package/components/Icons/MuscleBack.d.ts +4 -4
  241. package/components/Icons/MuscleLeg.d.ts +4 -4
  242. package/components/Icons/Mushroom.d.ts +4 -4
  243. package/components/Icons/Music.d.ts +4 -4
  244. package/components/Icons/MusselsAndSalt.d.ts +4 -4
  245. package/components/Icons/NoEye.d.ts +4 -4
  246. package/components/Icons/NoEye.js +1 -1
  247. package/components/Icons/NoFilter.d.ts +4 -4
  248. package/components/Icons/Notepad.d.ts +4 -4
  249. package/components/Icons/Osteotomy.d.ts +4 -4
  250. package/components/Icons/PaintRoller.d.ts +4 -4
  251. package/components/Icons/PaperPlane.d.ts +4 -4
  252. package/components/Icons/PatientAndPerson.d.ts +4 -4
  253. package/components/Icons/Pause.d.ts +4 -4
  254. package/components/Icons/PdfFile.d.ts +4 -4
  255. package/components/Icons/Pencil.d.ts +4 -4
  256. package/components/Icons/PeopleTalking.d.ts +4 -4
  257. package/components/Icons/Peritonealdialysis.d.ts +4 -4
  258. package/components/Icons/Person.d.ts +4 -4
  259. package/components/Icons/PersonAndPatient.d.ts +4 -4
  260. package/components/Icons/PersonInXRayMachine.d.ts +4 -4
  261. package/components/Icons/PersonOverweight.d.ts +4 -4
  262. package/components/Icons/PersonRelaxing.d.ts +4 -4
  263. package/components/Icons/PersonWithBrain.d.ts +4 -4
  264. package/components/Icons/PersonWithBrokenArm.d.ts +4 -4
  265. package/components/Icons/PersonWithCrutches.d.ts +4 -4
  266. package/components/Icons/PersonWithJaw.d.ts +4 -4
  267. package/components/Icons/PersonWithMagnifyingGlass.d.ts +4 -4
  268. package/components/Icons/PersonWithSenses.d.ts +4 -4
  269. package/components/Icons/PersonWorking.d.ts +4 -4
  270. package/components/Icons/PizzaSlice.d.ts +4 -4
  271. package/components/Icons/Plane.d.ts +4 -4
  272. package/components/Icons/Plant.d.ts +4 -4
  273. package/components/Icons/Play.d.ts +4 -4
  274. package/components/Icons/PlusLarge.d.ts +4 -4
  275. package/components/Icons/PlusSmall.d.ts +4 -4
  276. package/components/Icons/PngFile.d.ts +4 -4
  277. package/components/Icons/Podcast.d.ts +4 -4
  278. package/components/Icons/PoisonInformation.d.ts +4 -4
  279. package/components/Icons/Pregnant.d.ts +4 -4
  280. package/components/Icons/Printer.d.ts +4 -4
  281. package/components/Icons/Psychosis.d.ts +4 -4
  282. package/components/Icons/Publication.d.ts +4 -4
  283. package/components/Icons/Puzzle.d.ts +4 -4
  284. package/components/Icons/QrCode.d.ts +4 -4
  285. package/components/Icons/Quarrel.d.ts +4 -4
  286. package/components/Icons/RadioTherapy.d.ts +4 -4
  287. package/components/Icons/RadioactiveTreatment.d.ts +4 -4
  288. package/components/Icons/Radioiodine.d.ts +4 -4
  289. package/components/Icons/Receipt.d.ts +4 -4
  290. package/components/Icons/Receptionist.d.ts +4 -4
  291. package/components/Icons/Recovery.d.ts +4 -4
  292. package/components/Icons/Referral.d.ts +4 -4
  293. package/components/Icons/Refresh.d.ts +4 -4
  294. package/components/Icons/Refund.d.ts +4 -4
  295. package/components/Icons/Reply.d.ts +4 -4
  296. package/components/Icons/Rocket.d.ts +4 -4
  297. package/components/Icons/RtfFile.d.ts +4 -4
  298. package/components/Icons/STDs.d.ts +4 -4
  299. package/components/Icons/Save.d.ts +4 -4
  300. package/components/Icons/Scale.d.ts +4 -4
  301. package/components/Icons/Search.d.ts +4 -4
  302. package/components/Icons/SectionSign.d.ts +4 -4
  303. package/components/Icons/SectionSign.js +1 -1
  304. package/components/Icons/Settings.d.ts +4 -4
  305. package/components/Icons/Sexualorientation.d.ts +4 -4
  306. package/components/Icons/ShakingHand.d.ts +4 -4
  307. package/components/Icons/Share.d.ts +4 -4
  308. package/components/Icons/Shield.d.ts +4 -4
  309. package/components/Icons/ShuntOperation.d.ts +4 -4
  310. package/components/Icons/Skeleton.d.ts +4 -4
  311. package/components/Icons/Skin.d.ts +4 -4
  312. package/components/Icons/Snake.d.ts +4 -4
  313. package/components/Icons/Snapchat.d.ts +4 -4
  314. package/components/Icons/SpeechBubble.d.ts +4 -4
  315. package/components/Icons/SpeechBubble.js +1 -1
  316. package/components/Icons/Spray.d.ts +4 -4
  317. package/components/Icons/Stopwatch.d.ts +4 -4
  318. package/components/Icons/SupportingPerson.d.ts +4 -4
  319. package/components/Icons/SupportingPerson.js +1 -1
  320. package/components/Icons/Surgery.d.ts +4 -4
  321. package/components/Icons/Syringe.d.ts +4 -4
  322. package/components/Icons/Syringe.js +1 -1
  323. package/components/Icons/Taxi.d.ts +4 -4
  324. package/components/Icons/TeddyBear.d.ts +4 -4
  325. package/components/Icons/Teenagers.d.ts +4 -4
  326. package/components/Icons/ThinkingAboutBaby.d.ts +4 -4
  327. package/components/Icons/Ticket.d.ts +4 -4
  328. package/components/Icons/TimePassing.d.ts +4 -4
  329. package/components/Icons/Toolbox.d.ts +4 -4
  330. package/components/Icons/Tooth.d.ts +4 -4
  331. package/components/Icons/TotalKneeProsthesis.d.ts +4 -4
  332. package/components/Icons/Train.d.ts +4 -4
  333. package/components/Icons/Transplantation.d.ts +4 -4
  334. package/components/Icons/TrashCan.d.ts +4 -4
  335. package/components/Icons/Twitter.d.ts +4 -4
  336. package/components/Icons/Undo.d.ts +4 -4
  337. package/components/Icons/UniProsthesis.d.ts +4 -4
  338. package/components/Icons/Upload.d.ts +4 -4
  339. package/components/Icons/UserOrganization.d.ts +4 -4
  340. package/components/Icons/Vaccine.d.ts +4 -4
  341. package/components/Icons/VerticalDots.d.ts +4 -4
  342. package/components/Icons/VideoCamera.d.ts +4 -4
  343. package/components/Icons/VideoChat.d.ts +4 -4
  344. package/components/Icons/Wallet.d.ts +4 -4
  345. package/components/Icons/Watch.d.ts +4 -4
  346. package/components/Icons/Website.d.ts +4 -4
  347. package/components/Icons/Wheelchair.d.ts +4 -4
  348. package/components/Icons/WheelchairActive.d.ts +4 -4
  349. package/components/Icons/Window.d.ts +4 -4
  350. package/components/Icons/WordDocument.d.ts +4 -4
  351. package/components/Icons/WorkSuitcase.d.ts +4 -4
  352. package/components/Icons/X.d.ts +4 -4
  353. package/components/Icons/XOutline.d.ts +4 -4
  354. package/components/Icons/XmlFile.d.ts +4 -4
  355. package/components/Icons/YouTube.d.ts +4 -4
  356. package/components/Icons/Zoom.d.ts +4 -4
  357. package/components/Icons/index.d.ts +4 -4
  358. package/components/Icons/index.js +1 -1
  359. package/components/Input/Input.d.ts +54 -54
  360. package/components/Input/index.d.ts +3 -3
  361. package/components/Input/index.js +1 -1
  362. package/components/Input/styles.module.scss +59 -59
  363. package/components/Input/styles.module.scss.d.ts +23 -23
  364. package/components/LinkList/LinkList.d.ts +41 -41
  365. package/components/LinkList/index.d.ts +3 -3
  366. package/components/LinkList/index.js +1 -1
  367. package/components/LinkList/styles.module.scss +147 -147
  368. package/components/LinkList/styles.module.scss.d.ts +26 -26
  369. package/components/List/List.d.ts +9 -9
  370. package/components/List/index.d.ts +3 -3
  371. package/components/List/index.js +1 -1
  372. package/components/List/styles.module.scss +11 -11
  373. package/components/List/styles.module.scss.d.ts +10 -10
  374. package/components/Loader/Loader.d.ts +32 -32
  375. package/components/Loader/Loader.d.ts.map +1 -1
  376. package/components/Loader/index.d.ts +3 -3
  377. package/components/Loader/index.js +1 -1
  378. package/components/Loader/styles.module.scss +194 -194
  379. package/components/Logo/Logo.d.ts +17 -17
  380. package/components/Logo/index.d.ts +3 -3
  381. package/components/Logo/index.js +1 -1
  382. package/components/Modal/Modal.d.ts +69 -69
  383. package/components/Modal/__mocks__/IntersectionObserver.d.ts +5 -5
  384. package/components/Modal/index.d.ts +3 -3
  385. package/components/Modal/index.js +1 -1
  386. package/components/Modal/styles.module.scss +243 -243
  387. package/components/Modal/styles.module.scss.d.ts +41 -41
  388. package/components/NotificationPanel/NotificationPanel.d.ts +47 -47
  389. package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
  390. package/components/NotificationPanel/componentdata.json +1 -1
  391. package/components/NotificationPanel/index.d.ts +3 -3
  392. package/components/NotificationPanel/index.js +1 -1
  393. package/components/NotificationPanel/styles.module.scss +153 -138
  394. package/components/NotificationPanel/styles.module.scss.d.ts +33 -34
  395. package/components/Portal/index.d.ts +12 -12
  396. package/components/Portal/index.js +1 -1
  397. package/components/RadioButton/RadioButton.d.ts +30 -30
  398. package/components/RadioButton/index.d.ts +3 -3
  399. package/components/RadioButton/index.js +1 -1
  400. package/components/RadioButton/styles.module.scss +236 -236
  401. package/components/RadioButton/styles.module.scss.d.ts +23 -23
  402. package/components/Slider/Slider.d.ts +19 -19
  403. package/components/Slider/SliderUtils.d.ts +40 -40
  404. package/components/Slider/index.d.ts +3 -3
  405. package/components/Slider/index.js +1 -1
  406. package/components/Slider/styles.module.scss +85 -85
  407. package/components/Slider/styles.module.scss.d.ts +19 -19
  408. package/components/Spacer/Spacer.d.ts +12 -12
  409. package/components/Spacer/index.d.ts +3 -3
  410. package/components/Spacer/index.js +1 -1
  411. package/components/Spacer/styles.module.scss +47 -47
  412. package/components/Spacer/styles.module.scss.d.ts +22 -22
  413. package/components/Textarea/Textarea.d.ts +36 -36
  414. package/components/Textarea/index.d.ts +3 -3
  415. package/components/Textarea/index.js +1 -1
  416. package/components/Textarea/styles.module.scss +57 -57
  417. package/components/Textarea/styles.module.scss.d.ts +26 -26
  418. package/components/Tile/Tile.d.ts +33 -33
  419. package/components/Tile/index.d.ts +3 -3
  420. package/components/Tile/index.js +1 -1
  421. package/components/Tile/styles.module.scss +115 -115
  422. package/components/Tile/styles.module.scss.d.ts +18 -18
  423. package/components/Title/Title.d.ts +25 -25
  424. package/components/Title/index.d.ts +3 -3
  425. package/components/Title/index.js +1 -1
  426. package/components/Title/styles.module.scss +27 -27
  427. package/components/Title/styles.module.scss.d.ts +15 -15
  428. package/components/Validation/Validation.d.ts +16 -16
  429. package/components/Validation/index.d.ts +3 -3
  430. package/components/Validation/index.js +1 -1
  431. package/components/Validation/styles.module.scss +18 -18
  432. package/components/Validation/styles.module.scss.d.ts +10 -10
  433. package/constants-eb74321e.js +2 -0
  434. package/constants-eb74321e.js.map +1 -0
  435. package/constants.d.ts +91 -90
  436. package/constants.d.ts.map +1 -1
  437. package/hooks/focus-utils.d.ts +6 -6
  438. package/hooks/useBreakpoint.d.ts +12 -12
  439. package/hooks/useFocusToggle.d.ts +13 -13
  440. package/hooks/useFocusTrap.d.ts +3 -3
  441. package/hooks/useHover.d.ts +11 -11
  442. package/hooks/useIcons.d.ts +3 -3
  443. package/hooks/useIntersectionObserver.d.ts +10 -10
  444. package/hooks/useIsVisible.d.ts +9 -9
  445. package/hooks/useLayoutEvent.d.ts +8 -8
  446. package/hooks/usePrevious.d.ts +7 -0
  447. package/hooks/usePrevious.d.ts.map +1 -0
  448. package/hooks/useSize.d.ts +9 -0
  449. package/hooks/useSize.d.ts.map +1 -0
  450. package/hooks/useSticky.d.ts +20 -20
  451. package/hooks/useWindowSize.d.ts +4 -4
  452. package/index.d.ts +13 -11
  453. package/index.d.ts.map +1 -1
  454. package/index.js +1 -1
  455. package/package.json +1 -1
  456. package/scss/_body.scss +11 -11
  457. package/scss/_breakpoints.scss +16 -16
  458. package/scss/_font-settings.scss +8 -8
  459. package/scss/_fonts.scss +112 -112
  460. package/scss/_grid.scss +1 -1
  461. package/scss/_input.scss +176 -176
  462. package/scss/_palette.scss +136 -136
  463. package/scss/_print.scss +176 -176
  464. package/scss/_reset.scss +13 -13
  465. package/scss/_spacers.scss +40 -40
  466. package/scss/_title.scss +59 -59
  467. package/scss/helsenorge.scss +8 -8
  468. package/scss/typography.module.scss +154 -154
  469. package/theme/currys/color.d.ts +3 -3
  470. package/theme/currys/index.d.ts +2 -2
  471. package/theme/currys/spacing.d.ts +3 -3
  472. package/theme/grid.d.ts +20 -20
  473. package/theme/index.d.ts +98 -98
  474. package/theme/palette.d.ts +67 -67
  475. package/theme/spacers.d.ts +18 -18
  476. package/usePrevious-ae293b10.js +2 -0
  477. package/usePrevious-ae293b10.js.map +1 -0
  478. package/useSticky-d61d1f0b.js +2 -0
  479. package/useSticky-d61d1f0b.js.map +1 -0
  480. package/utils/debounce.d.ts +7 -7
  481. package/utils/uuid.d.ts +2 -2
  482. package/utils/viewport.d.ts +1 -1
  483. package/AlertSignFill-e607ff43.js +0 -2
  484. package/AlertSignFill-e607ff43.js.map +0 -1
  485. package/Button-d5147e38.js +0 -2
  486. package/Button-d5147e38.js.map +0 -1
  487. package/Check-6291ad09.js +0 -2
  488. package/Check-6291ad09.js.map +0 -1
  489. package/Checkbox-798282e4.js +0 -2
  490. package/Checkbox-798282e4.js.map +0 -1
  491. package/ChevronUp-4b6797ef.js +0 -2
  492. package/ChevronUp-4b6797ef.js.map +0 -1
  493. package/Close-35ad7d35.js +0 -2
  494. package/Close-35ad7d35.js.map +0 -1
  495. package/FormGroup-0577b07f.js +0 -2
  496. package/FormGroup-0577b07f.js.map +0 -1
  497. package/Icon-89da8de4.js +0 -2
  498. package/Icon-89da8de4.js.map +0 -1
  499. package/Input-19650c24.js +0 -2
  500. package/Input-19650c24.js.map +0 -1
  501. package/Loader-fa16a352.js.map +0 -1
  502. package/Modal-ad02991b.js +0 -2
  503. package/Modal-ad02991b.js.map +0 -1
  504. package/RadioButton-fe4bbd36.js.map +0 -1
  505. package/Textarea-e1d1144c.js.map +0 -1
  506. package/Title-af53f589.js.map +0 -1
  507. package/Validation-fd3f7f58.js.map +0 -1
  508. package/constants-ad6c82db.js +0 -2
  509. package/constants-ad6c82db.js.map +0 -1
  510. package/useSticky-194f2b78.js +0 -2
  511. package/useSticky-194f2b78.js.map +0 -1
@@ -1,10 +1,10 @@
1
- export type Styles = {
2
- 'form-group-wrapper--error-sibling': string;
3
- validation__errors: 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
+ 'form-group-wrapper--error-sibling': string;
3
+ validation__errors: string;
4
+ };
5
+
6
+ export type ClassNames = keyof Styles;
7
+
8
+ declare const styles: Styles;
9
+
10
+ export default styles;
@@ -0,0 +1,2 @@
1
+ var a,o,n,e,i;!function(a){a[a.XSmall=38]="XSmall",a[a.Small=48]="Small",a[a.Medium=64]="Medium",a[a.Large=80]="Large",a[a.XLarge=130]="XLarge"}(a||(a={})),function(a){a[a.Modal=13e5]="Modal",a[a.ExpanderTrigger=1e4]="ExpanderTrigger"}(o||(o={})),function(a){a.onwhite="onwhite",a.ongrey="ongrey",a.onblueberry="onblueberry",a.ondark="ondark",a.oninvalid="oninvalid"}(n||(n={})),function(a){a.normal="normal",a.bigform="bigform"}(e||(e={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.HighlightBox="highlight-box",a.Icon="icon",a.Input="input",a.Link="link",a.LinkList="link-list",a.List="list",a.Loader="loader",a.Logo="logo",a.Modal="modal",a.NotificationPanel="notification-panel",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Validation="validation"}(i||(i={}));export{i as A,n as F,a as I,o as Z,e as a};
2
+ //# sourceMappingURL=constants-eb74321e.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-eb74321e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/constants.d.ts CHANGED
@@ -1,91 +1,92 @@
1
- export declare enum IconSize {
2
- XSmall = 38,
3
- Small = 48,
4
- Medium = 64,
5
- Large = 80,
6
- XLarge = 130
7
- }
8
- export declare enum ZIndex {
9
- Modal = 1300000,
10
- ExpanderTrigger = 10000
11
- }
12
- export interface HTMLButtonProps {
13
- autoFocus?: boolean;
14
- disabled?: boolean;
15
- form?: string;
16
- formAction?: string;
17
- formEncType?: string;
18
- formMethod?: string;
19
- formNoValidate?: boolean;
20
- formTarget?: string;
21
- name?: string;
22
- type?: 'submit' | 'reset' | 'button' | string;
23
- value?: string | string[] | number;
24
- }
25
- export interface HTMLTextareaProps {
26
- autoFocus?: boolean;
27
- disabled?: boolean;
28
- form?: string;
29
- formNoValidate?: boolean;
30
- formTarget?: string;
31
- name?: string;
32
- id?: string;
33
- autocomplete?: 'off' | 'on';
34
- placeholder?: string;
35
- readonly?: boolean;
36
- required?: boolean;
37
- spellcheck?: 'true' | 'default' | 'false';
38
- 'aria-invalid'?: boolean;
39
- }
40
- export interface HTMLAnchorProps {
41
- download?: string;
42
- href?: string;
43
- hrefLang?: string;
44
- media?: string;
45
- ping?: string;
46
- rel?: string;
47
- target?: string;
48
- referrerPolicy?: '' | 'same-origin' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
49
- }
50
- export declare type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;
51
- export declare enum FormMode {
52
- onwhite = "onwhite",
53
- ongrey = "ongrey",
54
- onblueberry = "onblueberry",
55
- ondark = "ondark",
56
- oninvalid = "oninvalid"
57
- }
58
- export declare enum FormVariant {
59
- normal = "normal",
60
- bigform = "bigform"
61
- }
62
- export declare enum AnalyticsId {
63
- AnchorLink = "anchor-link",
64
- Avatar = "avatar",
65
- Badge = "badge",
66
- Button = "button",
67
- Checkbox = "checkbox",
68
- Close = "close",
69
- Expander = "expander",
70
- ExpanderList = "expander-list",
71
- FormGroup = "form-group",
72
- HighlightBox = "highlight-box",
73
- Icon = "icon",
74
- Input = "input",
75
- Link = "link",
76
- LinkList = "link-list",
77
- List = "list",
78
- Loader = "loader",
79
- Logo = "logo",
80
- Modal = "modal",
81
- NotificationPanel = "notification-panel",
82
- Portal = "portal",
83
- RadioButton = "radio-button",
84
- Slider = "slider",
85
- Spacer = "spacer",
86
- Textarea = "textarea",
87
- Tile = "tile",
88
- Title = "title",
89
- Validation = "validation"
90
- }
1
+ export declare enum IconSize {
2
+ XSmall = 38,
3
+ Small = 48,
4
+ Medium = 64,
5
+ Large = 80,
6
+ XLarge = 130
7
+ }
8
+ export declare enum ZIndex {
9
+ Modal = 1300000,
10
+ ExpanderTrigger = 10000
11
+ }
12
+ export interface HTMLButtonProps {
13
+ autoFocus?: boolean;
14
+ disabled?: boolean;
15
+ form?: string;
16
+ formAction?: string;
17
+ formEncType?: string;
18
+ formMethod?: string;
19
+ formNoValidate?: boolean;
20
+ formTarget?: string;
21
+ name?: string;
22
+ type?: 'submit' | 'reset' | 'button' | string;
23
+ value?: string | string[] | number;
24
+ }
25
+ export interface HTMLTextareaProps {
26
+ autoFocus?: boolean;
27
+ disabled?: boolean;
28
+ form?: string;
29
+ formNoValidate?: boolean;
30
+ formTarget?: string;
31
+ name?: string;
32
+ id?: string;
33
+ autocomplete?: 'off' | 'on';
34
+ placeholder?: string;
35
+ readonly?: boolean;
36
+ required?: boolean;
37
+ spellcheck?: 'true' | 'default' | 'false';
38
+ 'aria-invalid'?: boolean;
39
+ }
40
+ export interface HTMLAnchorProps {
41
+ download?: string;
42
+ href?: string;
43
+ hrefLang?: string;
44
+ media?: string;
45
+ ping?: string;
46
+ rel?: string;
47
+ target?: string;
48
+ referrerPolicy?: '' | 'same-origin' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
49
+ }
50
+ export declare type ButtonVariant = 'secondary' | 'tertiary' | string | undefined | null;
51
+ export declare enum FormMode {
52
+ onwhite = "onwhite",
53
+ ongrey = "ongrey",
54
+ onblueberry = "onblueberry",
55
+ ondark = "ondark",
56
+ oninvalid = "oninvalid"
57
+ }
58
+ export declare enum FormVariant {
59
+ normal = "normal",
60
+ bigform = "bigform"
61
+ }
62
+ export declare enum AnalyticsId {
63
+ AnchorLink = "anchor-link",
64
+ Avatar = "avatar",
65
+ Badge = "badge",
66
+ Button = "button",
67
+ Checkbox = "checkbox",
68
+ Close = "close",
69
+ Expander = "expander",
70
+ ExpanderList = "expander-list",
71
+ ExpanderListExpander = "expander-list-expander",
72
+ FormGroup = "form-group",
73
+ HighlightBox = "highlight-box",
74
+ Icon = "icon",
75
+ Input = "input",
76
+ Link = "link",
77
+ LinkList = "link-list",
78
+ List = "list",
79
+ Loader = "loader",
80
+ Logo = "logo",
81
+ Modal = "modal",
82
+ NotificationPanel = "notification-panel",
83
+ Portal = "portal",
84
+ RadioButton = "radio-button",
85
+ Slider = "slider",
86
+ Spacer = "spacer",
87
+ Textarea = "textarea",
88
+ Tile = "tile",
89
+ Title = "title",
90
+ Validation = "validation"
91
+ }
91
92
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,MAAM;CACb;AAED,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,eAAe,QAAQ;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAA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AG,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AAEjF,oBAAY,QAAQ;IAClB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,oBAAY,WAAW;IACrB,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,YAAY,kBAAkB;IAC9B,oBAAoB,2BAA2B;IAC/C,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,QAAQ,cAAc;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,iBAAiB,uBAAuB;IACxC,MAAM,WAAW;IACjB,WAAW,iBAAiB;IAC5B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B"}
@@ -1,7 +1,7 @@
1
- /**
2
- * Kopi fra core-frontend (focus-utils.tsx)
3
- * Returnerer document.activeElement (element in focus), uavhengig av om den er i document-dom eller shadow-dom
4
- * @param element HtmlElement som den skal søke i
5
- */
6
- export declare const getDocumentActiveElement: (element: string | HTMLElement) => Element | null;
1
+ /**
2
+ * Kopi fra core-frontend (focus-utils.tsx)
3
+ * Returnerer document.activeElement (element in focus), uavhengig av om den er i document-dom eller shadow-dom
4
+ * @param element HtmlElement som den skal søke i
5
+ */
6
+ export declare const getDocumentActiveElement: (element: string | HTMLElement) => Element | null;
7
7
  //# sourceMappingURL=focus-utils.d.ts.map
@@ -1,13 +1,13 @@
1
- export declare enum Breakpoint {
2
- xs,
3
- sm,
4
- md,
5
- lg,
6
- xl
7
- }
8
- /**
9
- * Lytt på endringer i breakpoint basert på media queries. Trigger re-render bare når breakpoint er endret.
10
- * @returns Gjeldende breakpoint
11
- */
12
- export declare const useBreakpoint: () => Breakpoint | undefined;
1
+ export declare enum Breakpoint {
2
+ xs,
3
+ sm,
4
+ md,
5
+ lg,
6
+ xl
7
+ }
8
+ /**
9
+ * Lytt på endringer i breakpoint basert på media queries. Trigger re-render bare når breakpoint er endret.
10
+ * @returns Gjeldende breakpoint
11
+ */
12
+ export declare const useBreakpoint: () => Breakpoint | undefined;
13
13
  //# sourceMappingURL=useBreakpoint.d.ts.map
@@ -1,14 +1,14 @@
1
- import React from 'react';
2
- export declare const FOCUSABLE_SELECTORS: string;
3
- /**
4
- * Skru av og på fokus på fokuserbare elementer slik at de kan være en del av DOMen, men samtidig
5
- * ikke kunne fokuseres/tabbes til med tastaturet.
6
- *
7
- * Bruker MutationObserver slik at eventuelle nye elementer som legges til også vil miste/få fokus.
8
- *
9
- * @param ref Alle barn av dette elementet vil sjekkes for om de er fokuserbare
10
- * @param allowFocus Om elementene skal være fokuserbare eller ikke
11
- * @returns Liste med potensielt fokuserbare elementer
12
- */
13
- export declare const useFocusToggle: (ref: React.RefObject<HTMLElement>, allowFocus?: boolean | undefined) => NodeListOf<HTMLElement> | undefined;
1
+ import React from 'react';
2
+ export declare const FOCUSABLE_SELECTORS: string;
3
+ /**
4
+ * Skru av og på fokus på fokuserbare elementer slik at de kan være en del av DOMen, men samtidig
5
+ * ikke kunne fokuseres/tabbes til med tastaturet.
6
+ *
7
+ * Bruker MutationObserver slik at eventuelle nye elementer som legges til også vil miste/få fokus.
8
+ *
9
+ * @param ref Alle barn av dette elementet vil sjekkes for om de er fokuserbare
10
+ * @param allowFocus Om elementene skal være fokuserbare eller ikke
11
+ * @returns Liste med potensielt fokuserbare elementer
12
+ */
13
+ export declare const useFocusToggle: (ref: React.RefObject<HTMLElement>, allowFocus?: boolean | undefined) => NodeListOf<HTMLElement> | undefined;
14
14
  //# sourceMappingURL=useFocusToggle.d.ts.map
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- export declare function useFocusTrap(): React.MutableRefObject<HTMLDivElement | null>;
3
- export default useFocusTrap;
1
+ import React from 'react';
2
+ export declare function useFocusTrap(): React.MutableRefObject<HTMLDivElement | null>;
3
+ export default useFocusTrap;
4
4
  //# sourceMappingURL=useFocusTrap.d.ts.map
@@ -1,12 +1,12 @@
1
- import { RefObject } from 'react';
2
- /** ref: Reference object for the trigger of the hover state
3
- *
4
- * condition: Additional boolean condition to trigger the useEffect checking for hover.
5
- *
6
- * includeFocus: If focusing the ref should count as a hover or not. True by default.
7
- */
8
- export declare const useHover: <T extends HTMLElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
9
- hoverRef: RefObject<T>;
10
- isHovered: boolean;
11
- };
1
+ import { RefObject } from 'react';
2
+ /** ref: Reference object for the trigger of the hover state
3
+ *
4
+ * condition: Additional boolean condition to trigger the useEffect checking for hover.
5
+ *
6
+ * includeFocus: If focusing the ref should count as a hover or not. True by default.
7
+ */
8
+ export declare const useHover: <T extends HTMLElement>(ref?: RefObject<T> | undefined, condition?: boolean | undefined, includeFocus?: boolean) => {
9
+ hoverRef: RefObject<T>;
10
+ isHovered: boolean;
11
+ };
12
12
  //# sourceMappingURL=useHover.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- import { IconProps } from '../components/Icons';
3
- export declare const useIcons: (children: import("react").ReactNode[]) => (string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactElement<IconProps, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null | undefined)[];
1
+ /// <reference types="react" />
2
+ import { IconProps } from '../components/Icons';
3
+ export declare const useIcons: (children: import("react").ReactNode[]) => (string | number | boolean | {} | import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactElement<IconProps, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | null | undefined)[];
4
4
  //# sourceMappingURL=useIcons.d.ts.map
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- /**
3
- * Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback
4
- * når elementet er i ferd med å forsvinne ut av vinduet.
5
- *
6
- * @param ref Element som skal observeres
7
- * @param callback Kalles når en endring i intersection er observert
8
- * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres
9
- */
10
- export declare const useIntersectionObserver: (ref: import("react").RefObject<HTMLElement>, callback: IntersectionObserverCallback, options?: IntersectionObserverInit | undefined) => void;
1
+ /// <reference types="react" />
2
+ /**
3
+ * Lytt på endringer i synligheten (intersection) til et HTML-element. F.eks. kan du bruke denne til å kalle en callback
4
+ * når elementet er i ferd med å forsvinne ut av vinduet.
5
+ *
6
+ * @param ref Element som skal observeres
7
+ * @param callback Kalles når en endring i intersection er observert
8
+ * @param options Objekt med options for IntersectionObserver, f.eks. threshold for å bestemme når callbacken skal fyres
9
+ */
10
+ export declare const useIntersectionObserver: (ref: import("react").RefObject<HTMLElement>, callback: IntersectionObserverCallback, options?: IntersectionObserverInit | undefined) => void;
11
11
  //# sourceMappingURL=useIntersectionObserver.d.ts.map
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
2
- /**
3
- * Sjekk om et HTML-element er synlig i vinduet, eller ikke.
4
- *
5
- * @param ref Element som skal observeres
6
- * @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)
7
- * @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke
8
- */
9
- export declare const useIsVisible: (ref: import("react").RefObject<HTMLElement>, threshold?: number) => boolean;
1
+ /// <reference types="react" />
2
+ /**
3
+ * Sjekk om et HTML-element er synlig i vinduet, eller ikke.
4
+ *
5
+ * @param ref Element som skal observeres
6
+ * @param threshold Hvor synlig må elementet være? Default = 1 (helt synlig)
7
+ * @returns true hvis objektet er synlig lik threshold eller mer, false hvis ikke
8
+ */
9
+ export declare const useIsVisible: (ref: import("react").RefObject<HTMLElement>, threshold?: number) => boolean;
10
10
  //# sourceMappingURL=useIsVisible.d.ts.map
@@ -1,9 +1,9 @@
1
- /**
2
- * Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.
3
- *
4
- * @param callback Kalles for hver event
5
- * @param events Liste med events som skal lyttes på
6
- * @param debounceMs Begrens kall til callback til x antall ms
7
- */
8
- export declare const useLayoutEvent: (callback: () => void, events?: string[], debounceMs?: number) => void;
1
+ /**
2
+ * Lytt på ulike layout-events som har betydning for rendring og størrelse på elementer.
3
+ *
4
+ * @param callback Kalles for hver event
5
+ * @param events Liste med events som skal lyttes på
6
+ * @param debounceMs Begrens kall til callback til x antall ms
7
+ */
8
+ export declare const useLayoutEvent: (callback: () => void, events?: string[], debounceMs?: number) => void;
9
9
  //# sourceMappingURL=useLayoutEvent.d.ts.map
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Brukes f.eks. i forbindelse med useState for å kunne sammenlikne ny verdi med gammel.
3
+ * @param value Verdi du ønsker å ta vare på
4
+ * @returns Forrige verdi
5
+ */
6
+ export declare const usePrevious: <T>(value: T) => T | undefined;
7
+ //# sourceMappingURL=usePrevious.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../src/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,WAAW,gCAQvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Lytt på endringer i størrelse på et element
4
+ *
5
+ * @param ref Element som skal observeres.
6
+ * @returns Object med høyde, bredde, x og y til elementet
7
+ */
8
+ export declare const useSize: (ref?: import("react").RefObject<HTMLElement> | undefined) => DOMRect | undefined;
9
+ //# sourceMappingURL=useSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useSize.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mFAanB,CAAC"}
@@ -1,21 +1,21 @@
1
- import React from 'react';
2
- interface UseStickReturnValues {
3
- /** Toppen av elementet er utenfor vinduet */
4
- isOutsideWindow: boolean;
5
- /** Innholdet er på vei helt ut av vinduet */
6
- isLeavingWindow: boolean;
7
- /** Høyde på det sticky elementet i pixler */
8
- offsetHeight: number | undefined;
9
- /** Bredden til innholdet i pixler */
10
- contentWidth: number | undefined;
11
- }
12
- /**
13
- * Sett et element til sticky hvis et annet element er delvis utenfor vinduet
14
- *
15
- * @param contentRef Element som sjekkes om det er utenfor eller innenfor vinduet
16
- * @param stickyRef Element som skal bli sticky
17
- * @returns Properties som kan brukes til å sette elementet sticky eller absolute
18
- */
19
- export declare const useSticky: (contentRef: React.RefObject<HTMLElement>, stickyRef: React.RefObject<HTMLElement>) => UseStickReturnValues;
20
- export {};
1
+ import React from 'react';
2
+ interface UseStickReturnValues {
3
+ /** Toppen av elementet er utenfor vinduet */
4
+ isOutsideWindow: boolean;
5
+ /** Innholdet er på vei helt ut av vinduet */
6
+ isLeavingWindow: boolean;
7
+ /** Høyde på det sticky elementet i pixler */
8
+ offsetHeight: number | undefined;
9
+ /** Bredden til innholdet i pixler */
10
+ contentWidth: number | undefined;
11
+ }
12
+ /**
13
+ * Sett et element til sticky hvis et annet element er delvis utenfor vinduet
14
+ *
15
+ * @param contentRef Element som sjekkes om det er utenfor eller innenfor vinduet
16
+ * @param stickyRef Element som skal bli sticky
17
+ * @returns Properties som kan brukes til å sette elementet sticky eller absolute
18
+ */
19
+ export declare const useSticky: (contentRef: React.RefObject<HTMLElement>, stickyRef: React.RefObject<HTMLElement>) => UseStickReturnValues;
20
+ export {};
21
21
  //# sourceMappingURL=useSticky.d.ts.map
@@ -1,5 +1,5 @@
1
- export declare function useWindowSize(): {
2
- width: number | undefined;
3
- height: number | undefined;
4
- };
1
+ export declare function useWindowSize(): {
2
+ width: number | undefined;
3
+ height: number | undefined;
4
+ };
5
5
  //# sourceMappingURL=useWindowSize.d.ts.map
package/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
- export { theme } from './theme';
2
- export { useBreakpoint, Breakpoint } from './hooks/useBreakpoint';
3
- export { useFocusToggle } from './hooks/useFocusToggle';
4
- export { useFocusTrap } from './hooks/useFocusTrap';
5
- export { useHover } from './hooks/useHover';
6
- export { useIntersectionObserver } from './hooks/useIntersectionObserver';
7
- export { useIsVisible } from './hooks/useIsVisible';
8
- export { useLayoutEvent } from './hooks/useLayoutEvent';
9
- export { useSticky } from './hooks/useSticky';
10
- export { useWindowSize } from './hooks/useWindowSize';
11
- export * from './constants';
1
+ export { theme } from './theme';
2
+ export { useBreakpoint, Breakpoint } from './hooks/useBreakpoint';
3
+ export { useFocusToggle } from './hooks/useFocusToggle';
4
+ export { useFocusTrap } from './hooks/useFocusTrap';
5
+ export { useHover } from './hooks/useHover';
6
+ export { useIntersectionObserver } from './hooks/useIntersectionObserver';
7
+ export { useIsVisible } from './hooks/useIsVisible';
8
+ export { useLayoutEvent } from './hooks/useLayoutEvent';
9
+ export { usePrevious } from './hooks/usePrevious';
10
+ export { useSticky } from './hooks/useSticky';
11
+ export { useWindowSize } from './hooks/useWindowSize';
12
+ export { useSize } from './hooks/useSize';
13
+ export * from './constants';
12
14
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,M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.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-552af2b9.js";export{u as useFocusToggle,a as useLayoutEvent,b as useSticky}from"./useSticky-194f2b78.js";export{u as useFocusTrap,a as useIntersectionObserver,b as useIsVisible}from"./useIsVisible-a1f67a11.js";export{u as useHover}from"./useHover-9710204a.js";export{u as useWindowSize}from"./useWindowSize-750f9b68.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,Z as ZIndex}from"./constants-ad6c82db.js";import"./palette-f206f488.js";import"./grid-11a70eb7.js";import"./_rollupPluginBabelHelpers-b8ef6dd9.js";import"react";
1
+ export{t as theme}from"./index-0e78dfa0.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-552af2b9.js";import{_ as e}from"./_rollupPluginBabelHelpers-b8ef6dd9.js";import{useState as n,useEffect as o}from"react";export{u as useFocusTrap,a as useIntersectionObserver,b as useIsVisible}from"./useIsVisible-a1f67a11.js";export{u as useHover}from"./useHover-9710204a.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-d61d1f0b.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";export{u as useWindowSize}from"./useWindowSize-750f9b68.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,Z as ZIndex}from"./constants-eb74321e.js";import"./palette-f206f488.js";import"./grid-11a70eb7.js";var r=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'].join(","),i=function(t,a){var i=n(),s=e(i,2),u=s[0],d=s[1];return o((function(){var e=function(){var e,n=null===(e=t.current)||void 0===e?void 0:e.querySelectorAll(r);d(n)},n=new MutationObserver(e);return(null==t?void 0:t.current)&&n.observe(t.current,{subtree:!0,childList:!0}),e(),function(){n.disconnect()}}),[t]),o((function(){a?null==u||u.forEach((function(e){var t=e.getAttribute("data-tabindex");t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})):null==u||u.forEach((function(e){e.hasAttribute("tabindex")&&e.setAttribute("data-tabindex","".concat(e.tabIndex)),e.tabIndex=-1}))}),[a,u]),u},s=function(t){var r=n(),a=e(r,2),i=a[0],s=a[1];return o((function(){var e=new ResizeObserver((function(e){s(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&e.observe(null==t?void 0:t.current),e.disconnect}),[t]),i};export{i as useFocusToggle,s as useSize};
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@helsenorge/designsystem-react",
3
3
  "sideEffects": false,
4
- "version": "1.0.0-beta104",
4
+ "version": "1.0.0-beta108",
5
5
  "description": "The official design system for Helsenorge built with React.",
6
6
  "repository": {
7
7
  "type": "tfs",
package/scss/_body.scss CHANGED
@@ -1,11 +1,11 @@
1
- body {
2
- font-family: 'Source Sans Pro', Arial, Verdana, sans-serif;
3
- background-color: $neutral50;
4
- color: $black;
5
- font-size: $font-size-sm;
6
- line-height: $lineheight-size-sm;
7
- @include media-breakpoint-up(md) {
8
- font-size: $font-size-md;
9
- line-height: $lineheight-size-md;
10
- }
11
- }
1
+ body {
2
+ font-family: 'Source Sans Pro', Arial, Verdana, sans-serif;
3
+ background-color: $neutral50;
4
+ color: $black;
5
+ font-size: $font-size-sm;
6
+ line-height: $lineheight-size-sm;
7
+ @include media-breakpoint-up(md) {
8
+ font-size: $font-size-md;
9
+ line-height: $lineheight-size-md;
10
+ }
11
+ }
@@ -1,16 +1,16 @@
1
- $grid-gutter-width: map-get($spacers, 5);
2
-
3
- $grid-breakpoints: (
4
- null: 0,
5
- xs: 360px,
6
- sm: 564px,
7
- md: 768px,
8
- lg: 1088px,
9
- xl: 1450px,
10
- );
11
-
12
- $container-max-widths: (
13
- sm: 528px,
14
- md: 612px,
15
- lg: 1056px,
16
- );
1
+ $grid-gutter-width: map-get($spacers, 5);
2
+
3
+ $grid-breakpoints: (
4
+ null: 0,
5
+ xs: 360px,
6
+ sm: 564px,
7
+ md: 768px,
8
+ lg: 1088px,
9
+ xl: 1450px,
10
+ );
11
+
12
+ $container-max-widths: (
13
+ sm: 528px,
14
+ md: 612px,
15
+ lg: 1056px,
16
+ );
@@ -1,8 +1,8 @@
1
- $font-size-xs: 1rem; // 16px
2
- $font-size-sm: 1.125rem; // 18px
3
- $font-size-md: 1.25rem; // 20px
4
- $font-size-lg: 1.5rem; // 24px
5
- $lineheight-size-xs: 1.5rem; // 28px
6
- $lineheight-size-sm: 1.75rem; // 28px
7
- $lineheight-size-md: 1.875rem; // 30px
8
- $lineheight-size-lg: 2rem; // 32px
1
+ $font-size-xs: 1rem; // 16px
2
+ $font-size-sm: 1.125rem; // 18px
3
+ $font-size-md: 1.25rem; // 20px
4
+ $font-size-lg: 1.5rem; // 24px
5
+ $lineheight-size-xs: 1.5rem; // 28px
6
+ $lineheight-size-sm: 1.75rem; // 28px
7
+ $lineheight-size-md: 1.875rem; // 30px
8
+ $lineheight-size-lg: 2rem; // 32px