@helsenorge/designsystem-react 1.0.0-beta137 → 1.0.0-beta140

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 (393) hide show
  1. package/{AlertSignFill-a4281dbe.js → AlertSignFill-5df5b7c7.js} +2 -2
  2. package/AlertSignFill-5df5b7c7.js.map +1 -0
  3. package/{AlertSignStroke-dee7da33.js → AlertSignStroke-32f09751.js} +2 -2
  4. package/AlertSignStroke-32f09751.js.map +1 -0
  5. package/AnchorLink-d5aca698.js +2 -0
  6. package/AnchorLink-d5aca698.js.map +1 -0
  7. package/ArrowDown-88b2c27a.js +2 -0
  8. package/ArrowDown-88b2c27a.js.map +1 -0
  9. package/{ArrowRight-1ccb58be.js → ArrowRight-43c97f7a.js} +2 -2
  10. package/ArrowRight-43c97f7a.js.map +1 -0
  11. package/ArrowUp-e7787d9c.js +2 -0
  12. package/ArrowUp-e7787d9c.js.map +1 -0
  13. package/{ArrowUpRight-209b1749.js → ArrowUpRight-5be53e0d.js} +2 -2
  14. package/ArrowUpRight-5be53e0d.js.map +1 -0
  15. package/{Badge-b651a9fc.js → Badge-eebcb720.js} +2 -2
  16. package/Badge-eebcb720.js.map +1 -0
  17. package/{Button-41d2f9a6.js → Button-78f848e6.js} +2 -2
  18. package/Button-78f848e6.js.map +1 -0
  19. package/{Calendar-926618b6.js → Calendar-a9aa98de.js} +2 -2
  20. package/Calendar-a9aa98de.js.map +1 -0
  21. package/{Check-026c98a8.js → Check-fdf95f67.js} +2 -2
  22. package/Check-fdf95f67.js.map +1 -0
  23. package/{Checkbox-2cffb399.js → Checkbox-b0815d04.js} +2 -2
  24. package/Checkbox-b0815d04.js.map +1 -0
  25. package/{ChevronDown-d799367a.js → ChevronDown-2b3daace.js} +2 -2
  26. package/ChevronDown-2b3daace.js.map +1 -0
  27. package/{ChevronRight-5087373d.js → ChevronRight-5ab9349b.js} +2 -2
  28. package/ChevronRight-5ab9349b.js.map +1 -0
  29. package/{ChevronUp-ed252eb6.js → ChevronUp-dfafe27b.js} +2 -2
  30. package/ChevronUp-dfafe27b.js.map +1 -0
  31. package/{Close-1846777e.js → Close-08d48540.js} +2 -2
  32. package/Close-08d48540.js.map +1 -0
  33. package/FormGroup-c32db99d.js +2 -0
  34. package/FormGroup-c32db99d.js.map +1 -0
  35. package/FormLayout-1a6866fe.js +2 -0
  36. package/FormLayout-1a6866fe.js.map +1 -0
  37. package/{Group-777dfb43.js → Group-71b8ae99.js} +2 -2
  38. package/Group-71b8ae99.js.map +1 -0
  39. package/HelpBubble-2efa4680.js +2 -0
  40. package/HelpBubble-2efa4680.js.map +1 -0
  41. package/{Hospital-8d5ea230.js → Hospital-e9e6a0b3.js} +2 -2
  42. package/Hospital-e9e6a0b3.js.map +1 -0
  43. package/{Icon-91bb7737.js → Icon-d69d65b3.js} +2 -2
  44. package/Icon-d69d65b3.js.map +1 -0
  45. package/{InfoSignStroke-0c13eebe.js → InfoSignStroke-f10d62aa.js} +2 -2
  46. package/InfoSignStroke-f10d62aa.js.map +1 -0
  47. package/Input-9ccf3867.js +2 -0
  48. package/Input-9ccf3867.js.map +1 -0
  49. package/{Loader-7a90b2b8.js → Loader-06293a27.js} +2 -2
  50. package/Loader-06293a27.js.map +1 -0
  51. package/{Modal-9b7c8a39.js → Modal-3ed00fd4.js} +2 -2
  52. package/Modal-3ed00fd4.js.map +1 -0
  53. package/{NoAccess-14f5700e.js → NoAccess-53a59f7d.js} +2 -2
  54. package/NoAccess-53a59f7d.js.map +1 -0
  55. package/Panel-1ce6fe37.js +2 -0
  56. package/Panel-1ce6fe37.js.map +1 -0
  57. package/{Pencil-d3aeffa1.js → Pencil-dd3fe667.js} +2 -2
  58. package/Pencil-dd3fe667.js.map +1 -0
  59. package/{PlusSmall-5b12d79f.js → PlusSmall-430bf03a.js} +2 -2
  60. package/PlusSmall-430bf03a.js.map +1 -0
  61. package/{RadioButton-3e95b8fa.js → RadioButton-3ce7a88d.js} +2 -2
  62. package/RadioButton-3ce7a88d.js.map +1 -0
  63. package/TableBody-eac2c23b.js +2 -0
  64. package/TableBody-eac2c23b.js.map +1 -0
  65. package/TableCell-cc644eb5.js +2 -0
  66. package/TableCell-cc644eb5.js.map +1 -0
  67. package/TableExpandedRow-44b09912.js +2 -0
  68. package/TableExpandedRow-44b09912.js.map +1 -0
  69. package/TableExpanderCell-015d3db2.js +2 -0
  70. package/TableExpanderCell-015d3db2.js.map +1 -0
  71. package/TableHead-5ed58948.js +2 -0
  72. package/TableHead-5ed58948.js.map +1 -0
  73. package/TableHeadCell-84651910.js +2 -0
  74. package/TableHeadCell-84651910.js.map +1 -0
  75. package/TableRow-19db3001.js +2 -0
  76. package/TableRow-19db3001.js.map +1 -0
  77. package/Textarea-56a24cb9.js +2 -0
  78. package/Textarea-56a24cb9.js.map +1 -0
  79. package/Title-01820508.js +2 -0
  80. package/Title-01820508.js.map +1 -0
  81. package/Tooltip-d8293023.js +2 -0
  82. package/Tooltip-d8293023.js.map +1 -0
  83. package/{Undo-d7e73ddf.js → Undo-cc42e7d0.js} +2 -2
  84. package/Undo-cc42e7d0.js.map +1 -0
  85. package/Validation-087d9955.js +2 -0
  86. package/Validation-087d9955.js.map +1 -0
  87. package/{Watch-b2904174.js → Watch-3d5fc351.js} +2 -2
  88. package/Watch-3d5fc351.js.map +1 -0
  89. package/{X-b4f72c96.js → X-867957f2.js} +2 -2
  90. package/X-867957f2.js.map +1 -0
  91. package/components/AnchorLink/AnchorLink.d.ts +7 -2
  92. package/components/AnchorLink/AnchorLink.d.ts.map +1 -1
  93. package/components/AnchorLink/componentdata.json +51 -1
  94. package/components/AnchorLink/index.js +1 -1
  95. package/components/AnchorLink/styles.module.scss +26 -8
  96. package/components/AnchorLink/styles.module.scss.d.ts +1 -0
  97. package/components/Avatar/index.js +1 -1
  98. package/components/Badge/index.js +1 -1
  99. package/components/Button/Button.d.ts +1 -1
  100. package/components/Button/Button.d.ts.map +1 -1
  101. package/components/Button/componentdata.json +1 -1
  102. package/components/Button/index.js +1 -1
  103. package/components/ButtonWithModal/index.js +1 -1
  104. package/components/Checkbox/index.js +1 -1
  105. package/components/Close/index.js +1 -1
  106. package/components/Dropdown/index.js +1 -1
  107. package/components/Expander/Expander.d.ts +1 -1
  108. package/components/Expander/Expander.d.ts.map +1 -1
  109. package/components/Expander/componentdata.json +1 -1
  110. package/components/Expander/index.js +1 -1
  111. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  112. package/components/ExpanderList/index.js +1 -1
  113. package/components/ExpanderList/styles.module.scss +14 -3
  114. package/components/ExpanderList/styles.module.scss.d.ts +3 -0
  115. package/components/FormExample/index.js +1 -1
  116. package/components/FormGroup/index.js +1 -1
  117. package/components/FormGroup/styles.module.scss +0 -1
  118. package/components/FormLayout/index.js +1 -1
  119. package/components/HelpBubble/HelpBubble.d.ts +4 -0
  120. package/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  121. package/components/HelpBubble/componentdata.json +38 -0
  122. package/components/HelpBubble/index.js +1 -1
  123. package/components/HelpBubble/styles.module.scss +4 -0
  124. package/components/HelpBubble/styles.module.scss.d.ts +2 -0
  125. package/components/HelpBubbleExample/componentdata.json +38 -0
  126. package/components/HelpBubbleExample/index.js +1 -1
  127. package/components/HighlightBox/index.js +1 -1
  128. package/components/Icons/AcupunctureBack.js +1 -1
  129. package/components/Icons/AlarmClock.js +1 -1
  130. package/components/Icons/AlertSignFill.js +1 -1
  131. package/components/Icons/AlertSignStroke.js +1 -1
  132. package/components/Icons/Archive.js +1 -1
  133. package/components/Icons/ArrowDown.d.ts +5 -0
  134. package/components/Icons/ArrowDown.d.ts.map +1 -0
  135. package/components/Icons/ArrowDown.js +2 -0
  136. package/components/Icons/ArrowDown.js.map +1 -0
  137. package/components/Icons/ArrowLeft.js +1 -1
  138. package/components/Icons/ArrowRight.js +1 -1
  139. package/components/Icons/ArrowUp.d.ts +5 -0
  140. package/components/Icons/ArrowUp.d.ts.map +1 -0
  141. package/components/Icons/ArrowUp.js +2 -0
  142. package/components/Icons/ArrowUp.js.map +1 -0
  143. package/components/Icons/ArrowUpRight.js +1 -1
  144. package/components/Icons/Attachment.js +1 -1
  145. package/components/Icons/Avatar.js +1 -1
  146. package/components/Icons/Bus.js +1 -1
  147. package/components/Icons/Calendar.js +1 -1
  148. package/components/Icons/CalendarChange.js +1 -1
  149. package/components/Icons/CalendarCheck.js +1 -1
  150. package/components/Icons/CalendarSave.js +1 -1
  151. package/components/Icons/Change.js +1 -1
  152. package/components/Icons/Check.js +1 -1
  153. package/components/Icons/CheckFill.js +1 -1
  154. package/components/Icons/ChevronDown.js +1 -1
  155. package/components/Icons/ChevronLeft.js +1 -1
  156. package/components/Icons/ChevronRight.js +1 -1
  157. package/components/Icons/ChevronUp.js +1 -1
  158. package/components/Icons/ChevronsDown.js +1 -1
  159. package/components/Icons/ChevronsUp.js +1 -1
  160. package/components/Icons/Contacts.js +1 -1
  161. package/components/Icons/Copy.js +1 -1
  162. package/components/Icons/Download.js +1 -1
  163. package/components/Icons/EChat.js +1 -1
  164. package/components/Icons/EnterFullScreen.js +1 -1
  165. package/components/Icons/Envelope.js +1 -1
  166. package/components/Icons/Eraser.js +1 -1
  167. package/components/Icons/ErrorSignFill.js +1 -1
  168. package/components/Icons/ErrorSignStroke.js +1 -1
  169. package/components/Icons/ExitFullScreen.js +1 -1
  170. package/components/Icons/Eye.js +1 -1
  171. package/components/Icons/Form.js +1 -1
  172. package/components/Icons/Forward.js +1 -1
  173. package/components/Icons/Gallery.js +1 -1
  174. package/components/Icons/Globe.js +1 -1
  175. package/components/Icons/Group.js +1 -1
  176. package/components/Icons/Heart.js +1 -1
  177. package/components/Icons/HelpSign.js +1 -1
  178. package/components/Icons/History.js +1 -1
  179. package/components/Icons/Home.js +1 -1
  180. package/components/Icons/Hospital.js +1 -1
  181. package/components/Icons/Hourglass.js +1 -1
  182. package/components/Icons/Icon.js +1 -1
  183. package/components/Icons/InfoSignFill.js +1 -1
  184. package/components/Icons/InfoSignStroke.js +1 -1
  185. package/components/Icons/Journal.js +1 -1
  186. package/components/Icons/List.js +1 -1
  187. package/components/Icons/Location.js +1 -1
  188. package/components/Icons/Lock.js +1 -1
  189. package/components/Icons/Medicine.js +1 -1
  190. package/components/Icons/Menu.js +1 -1
  191. package/components/Icons/Minus.js +1 -1
  192. package/components/Icons/MobilePhone.js +1 -1
  193. package/components/Icons/NoAccess.js +1 -1
  194. package/components/Icons/NoEye.js +1 -1
  195. package/components/Icons/NoFilter.js +1 -1
  196. package/components/Icons/PaperPlane.js +1 -1
  197. package/components/Icons/Pause.js +1 -1
  198. package/components/Icons/Pencil.js +1 -1
  199. package/components/Icons/Play.js +1 -1
  200. package/components/Icons/PlusLarge.js +1 -1
  201. package/components/Icons/PlusSmall.js +1 -1
  202. package/components/Icons/Printer.js +1 -1
  203. package/components/Icons/QrCode.js +1 -1
  204. package/components/Icons/Receptionist.js +1 -1
  205. package/components/Icons/Referral.js +1 -1
  206. package/components/Icons/Refresh.js +1 -1
  207. package/components/Icons/Reply.js +1 -1
  208. package/components/Icons/Save.js +1 -1
  209. package/components/Icons/Search.js +1 -1
  210. package/components/Icons/SectionSign.js +1 -1
  211. package/components/Icons/Settings.js +1 -1
  212. package/components/Icons/Share.js +1 -1
  213. package/components/Icons/SpeechBubble.js +1 -1
  214. package/components/Icons/Stopwatch.js +1 -1
  215. package/components/Icons/SupportingPerson.js +1 -1
  216. package/components/Icons/Syringe.js +1 -1
  217. package/components/Icons/TimePassing.js +1 -1
  218. package/components/Icons/Toolbox.js +1 -1
  219. package/components/Icons/TrashCan.js +1 -1
  220. package/components/Icons/Undo.js +1 -1
  221. package/components/Icons/Upload.js +1 -1
  222. package/components/Icons/Vaccine.js +1 -1
  223. package/components/Icons/VerticalDots.js +1 -1
  224. package/components/Icons/VideoCamera.js +1 -1
  225. package/components/Icons/VideoChat.js +1 -1
  226. package/components/Icons/Wallet.js +1 -1
  227. package/components/Icons/Watch.js +1 -1
  228. package/components/Icons/X.js +1 -1
  229. package/components/Icons/Zoom.js +1 -1
  230. package/components/Icons/index.js +1 -1
  231. package/components/Input/Input.d.ts +3 -0
  232. package/components/Input/Input.d.ts.map +1 -1
  233. package/components/Input/componentdata.json +19 -0
  234. package/components/Input/index.js +1 -1
  235. package/components/Input/styles.module.scss +1 -1
  236. package/components/LinkList/LinkList.d.ts +4 -1
  237. package/components/LinkList/LinkList.d.ts.map +1 -1
  238. package/components/LinkList/index.js +1 -1
  239. package/components/LinkList/styles.module.scss +7 -1
  240. package/components/LinkList/styles.module.scss.d.ts +1 -0
  241. package/components/List/index.js +1 -1
  242. package/components/Loader/index.js +1 -1
  243. package/components/Logo/index.js +1 -1
  244. package/components/Modal/index.js +1 -1
  245. package/components/NotificationPanel/index.js +1 -1
  246. package/components/NotificationPanel/styles.module.scss.d.ts +1 -0
  247. package/components/Panel/Panel.d.ts +12 -0
  248. package/components/Panel/Panel.d.ts.map +1 -1
  249. package/components/Panel/componentdata.json +131 -0
  250. package/components/Panel/index.js +1 -1
  251. package/components/PanelList/index.js +1 -1
  252. package/components/Portal/index.js +1 -1
  253. package/components/RadioButton/index.js +1 -1
  254. package/components/Slider/index.js +1 -1
  255. package/components/Spacer/index.js +1 -1
  256. package/components/StatusDot/index.js +1 -1
  257. package/components/Table/Table.d.ts +20 -0
  258. package/components/Table/Table.d.ts.map +1 -0
  259. package/components/Table/TableBody.d.ts +10 -0
  260. package/components/Table/TableBody.d.ts.map +1 -0
  261. package/components/Table/TableBody.js +2 -0
  262. package/components/Table/TableBody.js.map +1 -0
  263. package/components/Table/TableCell.d.ts +21 -0
  264. package/components/Table/TableCell.d.ts.map +1 -0
  265. package/components/Table/TableCell.js +2 -0
  266. package/components/Table/TableCell.js.map +1 -0
  267. package/components/Table/TableExpandedRow.d.ts +18 -0
  268. package/components/Table/TableExpandedRow.d.ts.map +1 -0
  269. package/components/Table/TableExpandedRow.js +2 -0
  270. package/components/Table/TableExpandedRow.js.map +1 -0
  271. package/components/Table/TableExpanderCell.d.ts +16 -0
  272. package/components/Table/TableExpanderCell.d.ts.map +1 -0
  273. package/components/Table/TableExpanderCell.js +2 -0
  274. package/components/Table/TableExpanderCell.js.map +1 -0
  275. package/components/Table/TableHead.d.ts +17 -0
  276. package/components/Table/TableHead.d.ts.map +1 -0
  277. package/components/Table/TableHead.js +2 -0
  278. package/components/Table/TableHead.js.map +1 -0
  279. package/components/Table/TableHeadCell.d.ts +22 -0
  280. package/components/Table/TableHeadCell.d.ts.map +1 -0
  281. package/components/Table/TableHeadCell.js +2 -0
  282. package/components/Table/TableHeadCell.js.map +1 -0
  283. package/components/Table/TableRow.d.ts +22 -0
  284. package/components/Table/TableRow.d.ts.map +1 -0
  285. package/components/Table/TableRow.js +2 -0
  286. package/components/Table/TableRow.js.map +1 -0
  287. package/components/Table/collapseTwoCol.scss +144 -0
  288. package/components/Table/componentdata.json +137 -0
  289. package/components/Table/index.d.ts +11 -0
  290. package/components/Table/index.d.ts.map +1 -0
  291. package/components/Table/index.js +2 -0
  292. package/components/Table/index.js.map +1 -0
  293. package/components/Table/styles.module.scss +136 -0
  294. package/components/Tag/index.js +1 -1
  295. package/components/TagList/index.js +1 -1
  296. package/components/Textarea/Textarea.d.ts +2 -0
  297. package/components/Textarea/Textarea.d.ts.map +1 -1
  298. package/components/Textarea/componentdata.json +19 -0
  299. package/components/Textarea/index.js +1 -1
  300. package/components/Tile/Tile.d.ts +3 -0
  301. package/components/Tile/Tile.d.ts.map +1 -1
  302. package/components/Tile/componentdata.json +31 -0
  303. package/components/Tile/index.js +1 -1
  304. package/components/Tile/styles.module.scss +5 -1
  305. package/components/Tile/styles.module.scss.d.ts +1 -0
  306. package/components/Title/Title.d.ts +1 -1
  307. package/components/Title/Title.d.ts.map +1 -1
  308. package/components/Title/componentdata.json +164 -1
  309. package/components/Title/index.js +1 -1
  310. package/components/Tooltip/Tooltip.d.ts +18 -0
  311. package/components/Tooltip/Tooltip.d.ts.map +1 -0
  312. package/components/Tooltip/componentdata.json +65 -0
  313. package/components/Tooltip/index.d.ts +4 -0
  314. package/components/Tooltip/index.d.ts.map +1 -0
  315. package/components/Tooltip/index.js +2 -0
  316. package/components/Tooltip/index.js.map +1 -0
  317. package/components/Tooltip/styles.module.scss +18 -0
  318. package/components/Tooltip/styles.module.scss.d.ts +9 -0
  319. package/components/TooltipExample/TooltipExample.d.ts +5 -0
  320. package/components/TooltipExample/TooltipExample.d.ts.map +1 -0
  321. package/components/TooltipExample/componentdata.json +65 -0
  322. package/components/TooltipExample/index.d.ts +4 -0
  323. package/components/TooltipExample/index.d.ts.map +1 -0
  324. package/components/TooltipExample/index.js +2 -0
  325. package/components/TooltipExample/index.js.map +1 -0
  326. package/components/Validation/index.js +1 -1
  327. package/{constants-1371e04f.js → constants-dbdea596.js} +2 -2
  328. package/constants-dbdea596.js.map +1 -0
  329. package/constants.d.ts +2 -0
  330. package/constants.d.ts.map +1 -1
  331. package/hooks/useHover.d.ts.map +1 -1
  332. package/hooks/useSize.d.ts.map +1 -1
  333. package/index-28ed5ede.js +2 -0
  334. package/index-28ed5ede.js.map +1 -0
  335. package/index.js +1 -1
  336. package/package.json +1 -1
  337. package/scss/_breakpoints.scss +6 -0
  338. package/useHover-18479690.js +2 -0
  339. package/useHover-18479690.js.map +1 -0
  340. package/{useSticky-445a0370.js → useSticky-432642c9.js} +2 -2
  341. package/useSticky-432642c9.js.map +1 -0
  342. package/utils/loremtext.d.ts +3 -0
  343. package/utils/loremtext.d.ts.map +1 -0
  344. package/AlertSignFill-a4281dbe.js.map +0 -1
  345. package/AlertSignStroke-dee7da33.js.map +0 -1
  346. package/AnchorLink-9d160426.js +0 -2
  347. package/AnchorLink-9d160426.js.map +0 -1
  348. package/ArrowRight-1ccb58be.js.map +0 -1
  349. package/ArrowUpRight-209b1749.js.map +0 -1
  350. package/Badge-b651a9fc.js.map +0 -1
  351. package/Button-41d2f9a6.js.map +0 -1
  352. package/Calendar-926618b6.js.map +0 -1
  353. package/Check-026c98a8.js.map +0 -1
  354. package/Checkbox-2cffb399.js.map +0 -1
  355. package/ChevronDown-d799367a.js.map +0 -1
  356. package/ChevronRight-5087373d.js.map +0 -1
  357. package/ChevronUp-ed252eb6.js.map +0 -1
  358. package/Close-1846777e.js.map +0 -1
  359. package/FormGroup-172ed911.js +0 -2
  360. package/FormGroup-172ed911.js.map +0 -1
  361. package/FormLayout-6563dba9.js +0 -2
  362. package/FormLayout-6563dba9.js.map +0 -1
  363. package/Group-777dfb43.js.map +0 -1
  364. package/HelpBubble-de54b956.js +0 -2
  365. package/HelpBubble-de54b956.js.map +0 -1
  366. package/Hospital-8d5ea230.js.map +0 -1
  367. package/Icon-91bb7737.js.map +0 -1
  368. package/InfoSignStroke-0c13eebe.js.map +0 -1
  369. package/Input-95c3e662.js +0 -2
  370. package/Input-95c3e662.js.map +0 -1
  371. package/Loader-7a90b2b8.js.map +0 -1
  372. package/Modal-9b7c8a39.js.map +0 -1
  373. package/NoAccess-14f5700e.js.map +0 -1
  374. package/Panel-4cd6abfc.js +0 -2
  375. package/Panel-4cd6abfc.js.map +0 -1
  376. package/Pencil-d3aeffa1.js.map +0 -1
  377. package/PlusSmall-5b12d79f.js.map +0 -1
  378. package/RadioButton-3e95b8fa.js.map +0 -1
  379. package/Textarea-74180432.js +0 -2
  380. package/Textarea-74180432.js.map +0 -1
  381. package/Title-761aecc5.js +0 -2
  382. package/Title-761aecc5.js.map +0 -1
  383. package/Undo-d7e73ddf.js.map +0 -1
  384. package/Validation-b51b75ab.js +0 -2
  385. package/Validation-b51b75ab.js.map +0 -1
  386. package/Watch-b2904174.js.map +0 -1
  387. package/X-b4f72c96.js.map +0 -1
  388. package/constants-1371e04f.js.map +0 -1
  389. package/index-5f313f08.js +0 -2
  390. package/index-5f313f08.js.map +0 -1
  391. package/useHover-b995a0e6.js +0 -2
  392. package/useHover-b995a0e6.js.map +0 -1
  393. package/useSticky-445a0370.js.map +0 -1
@@ -1,3 +1,166 @@
1
1
  {
2
- "props": {}
2
+ "props": {
3
+ "id": {
4
+ "defaultValue": null,
5
+ "description": "Gives a unique id to the title",
6
+ "name": "id",
7
+ "parent": {
8
+ "fileName": "src/components/Title/Title.tsx",
9
+ "name": "TitleProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "src/components/Title/Title.tsx",
14
+ "name": "TitleProps"
15
+ }
16
+ ],
17
+ "required": false,
18
+ "type": {
19
+ "name": "string"
20
+ }
21
+ },
22
+ "className": {
23
+ "defaultValue": null,
24
+ "description": "Adds custom classes to the element.",
25
+ "name": "className",
26
+ "parent": {
27
+ "fileName": "src/components/Title/Title.tsx",
28
+ "name": "TitleProps"
29
+ },
30
+ "declarations": [
31
+ {
32
+ "fileName": "src/components/Title/Title.tsx",
33
+ "name": "TitleProps"
34
+ }
35
+ ],
36
+ "required": false,
37
+ "type": {
38
+ "name": "string"
39
+ }
40
+ },
41
+ "margin": {
42
+ "defaultValue": null,
43
+ "description": "Adds top and bottom margin in rem.",
44
+ "name": "margin",
45
+ "parent": {
46
+ "fileName": "src/components/Title/Title.tsx",
47
+ "name": "TitleProps"
48
+ },
49
+ "declarations": [
50
+ {
51
+ "fileName": "src/components/Title/Title.tsx",
52
+ "name": "TitleProps"
53
+ }
54
+ ],
55
+ "required": false,
56
+ "type": {
57
+ "name": "number | TitleMargin"
58
+ }
59
+ },
60
+ "htmlMarkup": {
61
+ "defaultValue": null,
62
+ "description": "Changes the underlying element of the title.",
63
+ "name": "htmlMarkup",
64
+ "parent": {
65
+ "fileName": "src/components/Title/Title.tsx",
66
+ "name": "TitleProps"
67
+ },
68
+ "declarations": [
69
+ {
70
+ "fileName": "src/components/Title/Title.tsx",
71
+ "name": "TitleProps"
72
+ }
73
+ ],
74
+ "required": false,
75
+ "type": {
76
+ "name": "enum",
77
+ "raw": "TitleTags | undefined",
78
+ "value": [
79
+ {
80
+ "value": "undefined"
81
+ },
82
+ {
83
+ "value": "\"h1\""
84
+ },
85
+ {
86
+ "value": "\"h2\""
87
+ },
88
+ {
89
+ "value": "\"h3\""
90
+ },
91
+ {
92
+ "value": "\"h4\""
93
+ },
94
+ {
95
+ "value": "\"h5\""
96
+ },
97
+ {
98
+ "value": "\"span\""
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ "appearance": {
104
+ "defaultValue": null,
105
+ "description": "Changes the appearance of the title.",
106
+ "name": "appearance",
107
+ "parent": {
108
+ "fileName": "src/components/Title/Title.tsx",
109
+ "name": "TitleProps"
110
+ },
111
+ "declarations": [
112
+ {
113
+ "fileName": "src/components/Title/Title.tsx",
114
+ "name": "TitleProps"
115
+ }
116
+ ],
117
+ "required": false,
118
+ "type": {
119
+ "name": "enum",
120
+ "raw": "TitleAppearances | undefined",
121
+ "value": [
122
+ {
123
+ "value": "undefined"
124
+ },
125
+ {
126
+ "value": "\"titleFeature\""
127
+ },
128
+ {
129
+ "value": "\"title1\""
130
+ },
131
+ {
132
+ "value": "\"title2\""
133
+ },
134
+ {
135
+ "value": "\"title3\""
136
+ },
137
+ {
138
+ "value": "\"title4\""
139
+ },
140
+ {
141
+ "value": "\"title5\""
142
+ }
143
+ ]
144
+ }
145
+ },
146
+ "testId": {
147
+ "defaultValue": null,
148
+ "description": "Sets the data-testid attribute.",
149
+ "name": "testId",
150
+ "parent": {
151
+ "fileName": "src/components/Title/Title.tsx",
152
+ "name": "TitleProps"
153
+ },
154
+ "declarations": [
155
+ {
156
+ "fileName": "src/components/Title/Title.tsx",
157
+ "name": "TitleProps"
158
+ }
159
+ ],
160
+ "required": false,
161
+ "type": {
162
+ "name": "string"
163
+ }
164
+ }
165
+ }
3
166
  }
@@ -1,2 +1,2 @@
1
- export{T as default,i as instanceOfTitleMargin}from"../../Title-761aecc5.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-1371e04f.js";
1
+ export{T as Title,T as default,i as instanceOfTitleMargin}from"../../Title-01820508.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../index-d1c0552c.js";import"./styles.module.scss";import"../../constants-dbdea596.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,18 @@
1
+ import React, { ReactChild, ReactChildren, ReactNode } from 'react';
2
+ export interface TooltipProps {
3
+ /**Ordet som skal ha en tilhørende hjelpeblubb */
4
+ children: ReactNode;
5
+ /**Teksten som skal vises i hjelpeblubben */
6
+ description: ReactNode;
7
+ /**Valgfri test-id */
8
+ testId?: string;
9
+ }
10
+ export declare const Tooltip: React.FC<TooltipProps>;
11
+ interface ContextProps {
12
+ children: ReactChild | ReactChildren;
13
+ }
14
+ export declare const useTooltipOpen: () => boolean;
15
+ export declare const useTooltipOpenToggle: () => () => void;
16
+ export declare const TooltipOpenProvider: ({ children }: ContextProps) => JSX.Element;
17
+ export default Tooltip;
18
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2C,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQ7G,MAAM,WAAW,YAAY;IAC3B,iDAAiD;IACjD,QAAQ,EAAE,SAAS,CAAC;IACpB,4CAA4C;IAC5C,WAAW,EAAE,SAAS,CAAC;IACvB,qBAAqB;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAuF1C,CAAC;AAKF,UAAU,YAAY;IACpB,QAAQ,EAAE,UAAU,GAAG,aAAa,CAAC;CACtC;AACD,eAAO,MAAM,cAAc,eAE1B,CAAC;AACF,eAAO,MAAM,oBAAoB,kBAEhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,iBAAkB,YAAY,gBAY7D,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,65 @@
1
+ {
2
+ "props": {
3
+ "children": {
4
+ "defaultValue": null,
5
+ "description": "Ordet som skal ha en tilhørende hjelpeblubb",
6
+ "name": "children",
7
+ "parent": {
8
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
9
+ "name": "TooltipProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
14
+ "name": "TooltipProps"
15
+ },
16
+ {
17
+ "fileName": "designsystem/node_modules/@types/react/index.d.ts",
18
+ "name": "TypeLiteral"
19
+ }
20
+ ],
21
+ "required": false,
22
+ "type": {
23
+ "name": "ReactNode"
24
+ }
25
+ },
26
+ "description": {
27
+ "defaultValue": null,
28
+ "description": "Teksten som skal vises i hjelpeblubben",
29
+ "name": "description",
30
+ "parent": {
31
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
32
+ "name": "TooltipProps"
33
+ },
34
+ "declarations": [
35
+ {
36
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
37
+ "name": "TooltipProps"
38
+ }
39
+ ],
40
+ "required": true,
41
+ "type": {
42
+ "name": "ReactNode"
43
+ }
44
+ },
45
+ "testId": {
46
+ "defaultValue": null,
47
+ "description": "Valgfri test-id",
48
+ "name": "testId",
49
+ "parent": {
50
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
51
+ "name": "TooltipProps"
52
+ },
53
+ "declarations": [
54
+ {
55
+ "fileName": "src/components/Tooltip/Tooltip.tsx",
56
+ "name": "TooltipProps"
57
+ }
58
+ ],
59
+ "required": false,
60
+ "type": {
61
+ "name": "string"
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,4 @@
1
+ import Tooltip from './Tooltip';
2
+ export * from './Tooltip';
3
+ export default Tooltip;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ export{T as Tooltip,b as TooltipOpenProvider,T as default,u as useTooltipOpen,a as useTooltipOpenToggle}from"../../Tooltip-d8293023.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"react";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-2efa4680.js";import"../../index-d1c0552c.js";import"../../AnchorLink-d5aca698.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-5be53e0d.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useHover-18479690.js";import"../AnchorLink/styles.module.scss";import"../../Close-08d48540.js";import"../../X-867957f2.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../HelpBubble/styles.module.scss";import"./styles.module.scss";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ @import '../../scss/_palette.scss';
2
+ @import '../../scss/_spacers.scss';
3
+
4
+ .word {
5
+ position: relative;
6
+ display: inline-block;
7
+ -webkit-text-decoration: underline dashed $plum400;
8
+ text-decoration: underline 0.15rem dashed $plum400;
9
+
10
+ &:hover {
11
+ cursor: help;
12
+ }
13
+
14
+ &:focus-visible {
15
+ box-shadow: 0 0 0 getSpacer(4xs) $black;
16
+ outline: none;
17
+ }
18
+ }
@@ -0,0 +1,9 @@
1
+ export type Styles = {
2
+ word: string;
3
+ };
4
+
5
+ export type ClassNames = keyof Styles;
6
+
7
+ declare const styles: Styles;
8
+
9
+ export default styles;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TooltipProps } from '../Tooltip';
3
+ declare const TooltipExample: React.FC<TooltipProps>;
4
+ export default TooltipExample;
5
+ //# sourceMappingURL=TooltipExample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TooltipExample.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipExample/TooltipExample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAgB,EAAE,YAAY,EAAuB,MAAM,YAAY,CAAC;AAGxE,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAc1C,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,65 @@
1
+ {
2
+ "props": {
3
+ "children": {
4
+ "defaultValue": null,
5
+ "description": "Ordet som skal ha en tilhørende hjelpeblubb",
6
+ "name": "children",
7
+ "parent": {
8
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
9
+ "name": "TooltipProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
14
+ "name": "TooltipProps"
15
+ },
16
+ {
17
+ "fileName": "designsystem/node_modules/@types/react/index.d.ts",
18
+ "name": "TypeLiteral"
19
+ }
20
+ ],
21
+ "required": false,
22
+ "type": {
23
+ "name": "ReactNode"
24
+ }
25
+ },
26
+ "description": {
27
+ "defaultValue": null,
28
+ "description": "Teksten som skal vises i hjelpeblubben",
29
+ "name": "description",
30
+ "parent": {
31
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
32
+ "name": "TooltipProps"
33
+ },
34
+ "declarations": [
35
+ {
36
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
37
+ "name": "TooltipProps"
38
+ }
39
+ ],
40
+ "required": true,
41
+ "type": {
42
+ "name": "ReactNode"
43
+ }
44
+ },
45
+ "testId": {
46
+ "defaultValue": null,
47
+ "description": "Valgfri test-id",
48
+ "name": "testId",
49
+ "parent": {
50
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
51
+ "name": "TooltipProps"
52
+ },
53
+ "declarations": [
54
+ {
55
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
56
+ "name": "TooltipProps"
57
+ }
58
+ ],
59
+ "required": false,
60
+ "type": {
61
+ "name": "string"
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,4 @@
1
+ import TooltipExample from './TooltipExample';
2
+ export * from './TooltipExample';
3
+ export default TooltipExample;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipExample/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,eAAe,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import{b as i,T as t}from"../../Tooltip-d8293023.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-2efa4680.js";import"../../index-d1c0552c.js";import"../../AnchorLink-d5aca698.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-5be53e0d.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useHover-18479690.js";import"../AnchorLink/styles.module.scss";import"../../Close-08d48540.js";import"../../X-867957f2.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../HelpBubble/styles.module.scss";import"../Tooltip/styles.module.scss";var s="Dolore quis tempor culpa exercitation laboris. Enim enim pariatur veniam nisi ad quis fugiat magna occaecat nisi. Excepteur ad ad duis quis mollit ex. Laboris duis velit eu eiusmod ea in ex aliqua. Est proident proident dolor veniam nostrud aliquip occaecat dolore sunt laboris nisi ipsum Lorem nisi. Magna sunt ex occaecat amet id. Eiusmod magna Lorem proident est occaecat pariatur sunt esse nostrud. Mollit reprehenderit velit veniam amet ipsum veniam et. Dolor sunt adipisicing enim dolore quis qui occaecat esse quis ut fugiat laboris. ",o=function(o){return e.createElement(i,null,e.createElement(e.Fragment,null,e.createElement(t,Object.assign({},o),"Et tooltip her.")," "+s,"Dette er ",e.createElement(t,Object.assign({},o),o.children)," som skal ha nærmere forklaring.",s,e.createElement(t,Object.assign({},o),"Enda et tooltip her.")))};export{o as default};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export{V as Validation,V as default}from"../../Validation-b51b75ab.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-172ed911.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-2cffb399.js";import"../../uuid-11037462.js";import"../../Check-026c98a8.js";import"../../Icon-91bb7737.js";import"../../_tslib-b219470a.js";import"../../constants-1371e04f.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-3e95b8fa.js";import"../RadioButton/styles.module.scss";import"../../Input-95c3e662.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-761aecc5.js";import"../Title/styles.module.scss";import"../../FormLayout-6563dba9.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
1
+ export{V as Validation,V as default}from"../../Validation-087d9955.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-c32db99d.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-b0815d04.js";import"../../uuid-11037462.js";import"../../Check-fdf95f67.js";import"../../Icon-d69d65b3.js";import"../../_tslib-b219470a.js";import"../../constants-dbdea596.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-3ce7a88d.js";import"../RadioButton/styles.module.scss";import"../../Input-9ccf3867.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-01820508.js";import"../Title/styles.module.scss";import"../../FormLayout-1a6866fe.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- var a,o,n,e,r,t;!function(a){a[a.XXSmall=24]="XXSmall",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.Dropdown="dropdown",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.FormLayout="form-layout",a.HelpBubble="help-bubble",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.Panel="panel",a.PanelList="panel-list",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.StatusDot="status-dot",a.Tag="tag",a.TagList="tag-list",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Validation="validation"}(r||(r={})),function(a){a.Enter="Enter",a.Escape="Escape",a.ArrowDown="ArrowDown",a.ArrowUp="ArrowUp",a.Home="Home",a.End="End"}(t||(t={}));export{r as A,n as F,a as I,t as K,o as Z,e as a};
2
- //# sourceMappingURL=constants-1371e04f.js.map
1
+ var a,o,e,n,t,r;!function(a){a[a.XXSmall=24]="XXSmall",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"}(e||(e={})),function(a){a.normal="normal",a.bigform="bigform"}(n||(n={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Dropdown="dropdown",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.FormLayout="form-layout",a.HelpBubble="help-bubble",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.Panel="panel",a.PanelList="panel-list",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.StatusDot="status-dot",a.Table="table",a.Tag="tag",a.TagList="tag-list",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Tooltip="tooltip",a.Validation="validation"}(t||(t={})),function(a){a.Enter="Enter",a.Escape="Escape",a.ArrowDown="ArrowDown",a.ArrowUp="ArrowUp",a.Home="Home",a.End="End"}(r||(r={}));export{t as A,e as F,a as I,r as K,o as Z,n as a};
2
+ //# sourceMappingURL=constants-dbdea596.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-dbdea596.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/constants.d.ts CHANGED
@@ -93,11 +93,13 @@ export declare enum AnalyticsId {
93
93
  Slider = "slider",
94
94
  Spacer = "spacer",
95
95
  StatusDot = "status-dot",
96
+ Table = "table",
96
97
  Tag = "tag",
97
98
  TagList = "tag-list",
98
99
  Textarea = "textarea",
99
100
  Tile = "tile",
100
101
  Title = "title",
102
+ Tooltip = "tooltip",
101
103
  Validation = "validation"
102
104
  }
103
105
  export declare enum KeyboardEventKey {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,OAAO,KAAK;IACZ,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,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,W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AO,MAAM,QAAQ,uHAA+F,OAAO;;;CA0B1H,CAAC"}
1
+ {"version":3,"file":"useHover.d.ts","sourceRoot":"","sources":["../../src/hooks/useHover.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/D;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,uHAA+F,OAAO;;;CAuB1H,CAAC"}
@@ -1 +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
+ {"version":3,"file":"useSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useSize.ts"],"names":[],"mappings":";AAGA;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mFAkCnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"./constants-dbdea596.js";function n(n){var a=n.children,o=n.parent,i=n.className,c=n.testId,d=t.useMemo((function(){return document.createElement("div")}),[]);return d.setAttribute("data-analyticsid",r.Portal),c&&d.setAttribute("data-testid",c),t.useEffect((function(){var t=o&&o.appendChild?o:document.body,e=["portal-container"];return i&&i.split(" ").forEach((function(t){return e.push(t)})),e.forEach((function(t){return d.classList.add(t)})),t.appendChild(d),function(){t.removeChild(d)}}),[d,o,i]),e(a,d)}export{n as P};
2
+ //# sourceMappingURL=index-28ed5ede.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-28ed5ede.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-b995a0e6.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-445a0370.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";import{_ as e}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as s,useEffect as r}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-1371e04f.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var o=function(o){var u=s(),a=e(u,2),t=a[0],i=a[1];return r((function(){var e=new ResizeObserver((function(e){i(e[0].target.getBoundingClientRect())}));return(null==o?void 0:o.current)&&e.observe(null==o?void 0:o.current),e.disconnect}),[o]),t};export{o as useSize};
1
+ export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-18479690.js";import{d as e}from"./useSticky-432642c9.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-432642c9.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";import{_ as s,a as r}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as o,useEffect as n}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-dbdea596.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var i=function(t){var u=o(),a=s(u,2),i=a[0],c=a[1];return n((function(){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver((function(e){c(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&o.observe(null==t?void 0:t.current),o.disconnect}if("object"===("undefined"==typeof window?"undefined":r(window))){var n=["layoutchange","resize","orientationchange"],u=e((function(){(null==t?void 0:t.current)&&c(t.current.getBoundingClientRect())}),10),a=s(u,2),i=a[0],d=a[1];return n.forEach((function(e){return window.addEventListener(e,i)})),i(),function(){d(),n.forEach((function(e){return window.removeEventListener(e,i)}))}}}),[t]),i};export{i 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-beta137",
4
+ "version": "1.0.0-beta140",
5
5
  "description": "The official design system for Helsenorge built with React.",
6
6
  "repository": {
7
7
  "type": "tfs",
@@ -11,6 +11,12 @@ $grid-breakpoints: (
11
11
  xl: 1450px,
12
12
  );
13
13
 
14
+ $grid-max-breakpoints: (
15
+ xs: map-get($grid-breakpoints, sm) - 0.02,
16
+ sm: map-get($grid-breakpoints, md) - 0.02,
17
+ md: map-get($grid-breakpoints, lg) - 0.02,
18
+ );
19
+
14
20
  $container-max-widths: (
15
21
  sm: 528px,
16
22
  md: 612px,
@@ -0,0 +1,2 @@
1
+ import{_ as n}from"./_rollupPluginBabelHelpers-0f007973.js";import{useRef as r,useState as e,useEffect as o}from"react";var t=function(t,u){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],f=t||r(null),c=e(!1),l=n(c,2),v=l[0],a=l[1];return o((function(){var n=f.current,r=function(){return a(!0)},e=function(){return a(!1)},o=["mouseenter",i?"focusin":""],t=["mouseleave",i?"focusout":""];return o.forEach((function(e){return null==n?void 0:n.addEventListener(e,r)})),t.forEach((function(r){return null==n?void 0:n.addEventListener(r,e)})),function(){o.forEach((function(e){return null==n?void 0:n.removeEventListener(e,r)})),t.forEach((function(r){return null==n?void 0:n.removeEventListener(r,e)}))}}),[f,u]),{hoverRef:f,isHovered:v}};export{t as u};
2
+ //# sourceMappingURL=useHover-18479690.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHover-18479690.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{a as n,_ as i}from"./_rollupPluginBabelHelpers-0f007973.js";import{useEffect as t,useState as e}from"react";function o(n,i,t){var e;return[function(){var o=this,r=arguments,u=function(){e=null,t||n.apply(o,r)},a=t&&!e;e&&clearTimeout(e),e=setTimeout(u,i),a&&n.apply(o,r)},function(){e&&clearTimeout(e)}]}var r=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["layoutchange","resize","orientationchange"],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;t((function(){if("object"===("undefined"==typeof window?"undefined":n(window))){var t=o(e,u),a=i(t,2),d=a[0],c=a[1];return r.forEach((function(n){return window.addEventListener(n,d)})),d(),function(){c(),r.forEach((function(n){return window.removeEventListener(n,d)}))}}}),[])},u=function(n,t){var o=e(!1),u=i(o,2),a=u[0],d=u[1],c=e(!1),l=i(c,2),f=l[0],v=l[1],s=e(),g=i(s,2),h=g[0],p=g[1],w=e(),m=i(w,2),y=m[0],E=m[1];return r((function(){var i,e,o,r=(null===(i=n.current)||void 0===i?void 0:i.getBoundingClientRect())||{},u=r.top,a=void 0===u?0:u,c=r.width,l=void 0===c?0:c,f=r.bottom,s=void 0===f?0:f,g=null!==(o=null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().height)&&void 0!==o?o:0;d(a<=0),v(s<=g),E(l),p(g)}),["resize","scroll"]),{isOutsideWindow:a,isLeavingWindow:f,offsetHeight:h,contentWidth:y}};export{u as a,r as u};
2
- //# sourceMappingURL=useSticky-445a0370.js.map
1
+ import{a as n,_ as i}from"./_rollupPluginBabelHelpers-0f007973.js";import{useEffect as t,useState as e}from"react";function o(n,i,t){var e;return[function(){var o=this,r=arguments,u=function(){e=null,t||n.apply(o,r)},a=t&&!e;e&&clearTimeout(e),e=setTimeout(u,i),a&&n.apply(o,r)},function(){e&&clearTimeout(e)}]}var r=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["layoutchange","resize","orientationchange"],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;t((function(){if("object"===("undefined"==typeof window?"undefined":n(window))){var t=o(e,u),a=i(t,2),d=a[0],c=a[1];return r.forEach((function(n){return window.addEventListener(n,d)})),d(),function(){c(),r.forEach((function(n){return window.removeEventListener(n,d)}))}}}),[])},u=function(n,t){var o=e(!1),u=i(o,2),a=u[0],d=u[1],c=e(!1),l=i(c,2),f=l[0],v=l[1],s=e(),g=i(s,2),h=g[0],p=g[1],w=e(),m=i(w,2),y=m[0],E=m[1];return r((function(){var i,e,o,r=(null===(i=n.current)||void 0===i?void 0:i.getBoundingClientRect())||{},u=r.top,a=void 0===u?0:u,c=r.width,l=void 0===c?0:c,f=r.bottom,s=void 0===f?0:f,g=null!==(o=null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().height)&&void 0!==o?o:0;d(a<=0),v(s<=g),E(l),p(g)}),["resize","scroll"]),{isOutsideWindow:a,isLeavingWindow:f,offsetHeight:h,contentWidth:y}};export{u as a,o as d,r as u};
2
+ //# sourceMappingURL=useSticky-432642c9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSticky-432642c9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare const loremText = "Dolore quis tempor culpa exercitation laboris. Enim enim pariatur veniam nisi ad quis fugiat magna occaecat nisi. Excepteur ad ad duis quis mollit ex. Laboris duis velit eu eiusmod ea in ex aliqua. Est proident proident dolor veniam nostrud aliquip occaecat dolore sunt laboris nisi ipsum Lorem nisi. Magna sunt ex occaecat amet id. Eiusmod magna Lorem proident est occaecat pariatur sunt esse nostrud. Mollit reprehenderit velit veniam amet ipsum veniam et. Dolor sunt adipisicing enim dolore quis qui occaecat esse quis ut fugiat laboris. ";
2
+ export default loremText;
3
+ //# sourceMappingURL=loremtext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loremtext.d.ts","sourceRoot":"","sources":["../../src/utils/loremtext.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,kiBAC2gB,CAAC;AAEliB,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertSignFill-a4281dbe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertSignStroke-dee7da33.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import r from"react";import{I as e}from"./Icon-91bb7737.js";import{A as o,I as s}from"./constants-1371e04f.js";import{A as a}from"./ArrowUpRight-209b1749.js";import{g as t}from"./color-e7d082c1.js";import{u as i}from"./useHover-b995a0e6.js";import n from"./components/AnchorLink/styles.module.scss";import{c}from"./index-d1c0552c.js";var m=r.forwardRef((function(m,l){var d=m.id,f=m.href,p=m.children,v=m.className,h=m.target,b=void 0===h?"_self":h,u=m.testId,j="_blank"===b,A=i(l,void 0,!1),g=A.hoverRef,k=A.isHovered,I=c(n.anchorlink,null!=v?v:"");return r.createElement("a",{id:d,href:f,className:I,target:b,rel:j?"noopener noreferrer":void 0,ref:g,"data-testid":u,"data-analyticsid":o.AnchorLink},p,j&&r.createElement(e,{className:n.anchorlink__icon,svgIcon:a,color:t("blueberry",600),hoverColor:t("blueberry",700),size:s.XSmall,isHovered:k}))}));export{m as A};
2
- //# sourceMappingURL=AnchorLink-9d160426.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnchorLink-9d160426.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowRight-1ccb58be.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowUpRight-209b1749.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Badge-b651a9fc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button-41d2f9a6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Calendar-926618b6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Check-026c98a8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox-2cffb399.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronDown-d799367a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronRight-5087373d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronUp-ed252eb6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Close-1846777e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{d as e}from"./_rollupPluginBabelHelpers-0f007973.js";import r from"react";import{c as a}from"./index-d1c0552c.js";import t from"./components/FormGroup/styles.module.scss";import{C as o}from"./Checkbox-2cffb399.js";import{F as m,a as l,A as n}from"./constants-1371e04f.js";import{R as i}from"./RadioButton-3e95b8fa.js";import{I as p}from"./Input-95c3e662.js";import{T as s}from"./Title-761aecc5.js";import{F as d}from"./FormLayout-6563dba9.js";var f=r.forwardRef((function(f,c){var u,g,v,_=f.className,E=f.mode,b=void 0===E?m.onwhite:E,h=f.variant,w=void 0===h?l.normal:h,y=f.error,N=f.name,j=f.htmlMarkup,k=void 0===j?"fieldset":j,F=b===m.ondark,x=w===l.bigform,C=a(t["form-group-wrapper"],(e(u={},t["form-group-wrapper--on-dark"],F),e(u,t["form-group-wrapper--invalid"],y),u),_),I=a(t["form-group-wrapper__title"],(e(g={},t["form-group-wrapper__title--on-dark"],F&&!y),e(g,t["form-group-wrapper__title--bigform"],x),g)),B=a(t["form-group"],e({},t["form-group--invalid"],y)),O=a(t["form-group-wrapper__errors"],e({},t["form-group-wrapper__errors--bigform"],x)),R=a(t["field-set__legend"],(e(v={},t["field-set__legend--on-dark"],F&&!y),e(v,t["field-set__legend--bigform"],x),v)),T=function e(a){if(a.type===d)return r.cloneElement(a,{variant:w,mapHelper:e});if(a.type===o){var t=a.type===o;return r.cloneElement(a,{name:null!=N?N:t.valueOf.name,mode:b,variant:w,error:!!y})}if(a.type===i){var m=a.type===i;return r.cloneElement(a,{name:null!=N?N:m.valueOf.name,mode:b,variant:w,error:!!y})}if(a.type===p){var l=a.type===p;return r.cloneElement(a,{name:null!=N?N:l.valueOf.name,mode:b,variant:w,error:!!y})}return a};return r.createElement("div",{"data-testid":f.testId,"data-analyticsid":n.FormGroup,className:C,ref:c,tabIndex:-1},f.title&&r.createElement(s,{className:I,htmlMarkup:"h4",appearance:"title4",margin:{marginTop:0,marginBottom:2}},f.title),r.createElement("div",{className:B},y&&r.createElement("p",{className:O},y),"div"===k&&r.createElement("div",{id:f.title,className:t["field-set"]},f.legend&&r.createElement("h5",{className:R},f.legend),r.Children.map(f.children,T)),"fieldset"===k&&r.createElement("fieldset",{name:f.title,className:t["field-set"]},f.legend&&r.createElement("legend",{className:R},f.legend),r.Children.map(f.children,T))))}));export{f as F};
2
- //# sourceMappingURL=FormGroup-172ed911.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormGroup-172ed911.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}