@norges-domstoler/dds-components 11.3.2 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (443) hide show
  1. package/README.md +0 -1
  2. package/dist/cjs/components/BackLink/BackLink.d.ts +6 -0
  3. package/dist/cjs/components/BackLink/BackLink.stories.d.ts +17 -0
  4. package/dist/cjs/components/BackLink/BackLink.tokens.d.ts +8 -0
  5. package/dist/cjs/components/BackLink/index.d.ts +1 -0
  6. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +3 -12
  7. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -16
  8. package/dist/cjs/components/Button/Button.d.ts +1 -0
  9. package/dist/cjs/components/Button/Button.stories.d.ts +3 -3
  10. package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +1 -0
  11. package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -0
  12. package/dist/cjs/components/Checkbox/Checkbox.d.ts +1 -0
  13. package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +2 -2
  14. package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +1 -0
  15. package/dist/cjs/components/Chip/Chip.d.ts +1 -0
  16. package/dist/cjs/components/Datepicker/Datepicker.d.ts +1 -0
  17. package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +1 -0
  18. package/dist/cjs/components/DescriptionList/DescriptionListDesc.d.ts +1 -0
  19. package/dist/cjs/components/DescriptionList/DescriptionListGroup.d.ts +1 -0
  20. package/dist/cjs/components/Divider/Divider.d.ts +1 -0
  21. package/dist/cjs/components/FileUploader/ErrorList.d.ts +1 -0
  22. package/dist/cjs/components/FileUploader/File.d.ts +1 -0
  23. package/dist/cjs/components/FileUploader/FileUploader.d.ts +1 -0
  24. package/dist/cjs/components/FileUploader/utils.d.ts +1 -0
  25. package/dist/cjs/components/GlobalMessage/GlobalMessage.d.ts +1 -0
  26. package/dist/cjs/components/Grid/Grid.context.d.ts +1 -0
  27. package/dist/cjs/components/Icon/Icon.d.ts +1 -0
  28. package/dist/cjs/components/InlineEdit/InlineEdit.d.ts +1 -0
  29. package/dist/cjs/components/InlineEdit/InlineEdit.utils.d.ts +1 -0
  30. package/dist/cjs/components/InlineEdit/InlineEditInput.d.ts +1 -0
  31. package/dist/cjs/components/InlineEdit/InlineEditTextArea.d.ts +1 -0
  32. package/dist/cjs/components/InputMessage/InputMessage.d.ts +1 -0
  33. package/dist/cjs/components/InternalHeader/InternalHeader.d.ts +1 -0
  34. package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +1 -0
  35. package/dist/cjs/components/List/List.d.ts +1 -0
  36. package/dist/cjs/components/LocalMessage/LocalMessage.d.ts +1 -0
  37. package/dist/cjs/components/Modal/ModalBody.d.ts +1 -0
  38. package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +1 -0
  39. package/dist/cjs/components/ProgressTracker/ProgressTracker.context.d.ts +1 -0
  40. package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +1 -0
  41. package/dist/cjs/components/RadioButton/RadioButton.d.ts +1 -0
  42. package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +3 -3
  43. package/dist/cjs/components/ScrollableContainer/ScrollableContainer.d.ts +1 -0
  44. package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +1 -0
  45. package/dist/cjs/components/Spinner/Spinner.d.ts +1 -0
  46. package/dist/cjs/components/SplitButton/SplitButton.d.ts +1 -0
  47. package/dist/cjs/components/Stack/Stack.d.ts +1 -0
  48. package/dist/cjs/components/Stack/Stack.stories.d.ts +1 -0
  49. package/dist/cjs/components/Table/Row.d.ts +1 -0
  50. package/dist/cjs/components/Table/Table.d.ts +1 -0
  51. package/dist/cjs/components/Table/collapsible/CollapsibleRow.d.ts +1 -0
  52. package/dist/cjs/components/Table/collapsible/CollapsibleTable.d.ts +1 -0
  53. package/dist/cjs/components/Table/collapsible/Table.context.d.ts +1 -0
  54. package/dist/cjs/components/Tabs/TabPanel.d.ts +1 -0
  55. package/dist/cjs/components/Tag/Tag.d.ts +1 -0
  56. package/dist/cjs/components/TextInput/CharCounter.d.ts +1 -0
  57. package/dist/cjs/components/ToggleBar/ToggleBar.d.ts +1 -0
  58. package/dist/cjs/components/ToggleButton/ToggleButton.d.ts +1 -0
  59. package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  60. package/dist/cjs/components/ToggleButton/ToggleButtonGroup.d.ts +1 -0
  61. package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +2 -2
  62. package/dist/cjs/components/Typography/Caption/Caption.d.ts +1 -0
  63. package/dist/cjs/components/Typography/Heading/Heading.d.ts +1 -0
  64. package/dist/cjs/components/Typography/Legend/Legend.d.ts +1 -0
  65. package/dist/cjs/components/Typography/Link/Link.stories.d.ts +3 -3
  66. package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +1 -0
  67. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.d.ts +1 -0
  68. package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.d.ts +1 -0
  69. package/dist/cjs/helpers/Input/Input.utils.d.ts +1 -0
  70. package/dist/cjs/helpers/RequiredMarker/RequiredMarker.d.ts +1 -0
  71. package/dist/cjs/hooks/useFloatPosition.d.ts +1 -0
  72. package/dist/cjs/icons/tsx/apps.d.ts +1 -0
  73. package/dist/cjs/icons/tsx/archive.d.ts +1 -0
  74. package/dist/cjs/icons/tsx/arrowDown.d.ts +1 -0
  75. package/dist/cjs/icons/tsx/arrowLeft.d.ts +1 -0
  76. package/dist/cjs/icons/tsx/arrowRight.d.ts +1 -0
  77. package/dist/cjs/icons/tsx/arrowUp.d.ts +1 -0
  78. package/dist/cjs/icons/tsx/attachment.d.ts +1 -0
  79. package/dist/cjs/icons/tsx/barChart.d.ts +1 -0
  80. package/dist/cjs/icons/tsx/barChartBoxed.d.ts +1 -0
  81. package/dist/cjs/icons/tsx/block.d.ts +1 -0
  82. package/dist/cjs/icons/tsx/book.d.ts +1 -0
  83. package/dist/cjs/icons/tsx/build.d.ts +1 -0
  84. package/dist/cjs/icons/tsx/buildCircled.d.ts +1 -0
  85. package/dist/cjs/icons/tsx/calendar.d.ts +1 -0
  86. package/dist/cjs/icons/tsx/calendarMonth.d.ts +1 -0
  87. package/dist/cjs/icons/tsx/calendarViewDay.d.ts +1 -0
  88. package/dist/cjs/icons/tsx/calendarViewMonth.d.ts +1 -0
  89. package/dist/cjs/icons/tsx/calendarViewWeek.d.ts +1 -0
  90. package/dist/cjs/icons/tsx/call.d.ts +1 -0
  91. package/dist/cjs/icons/tsx/chat.d.ts +1 -0
  92. package/dist/cjs/icons/tsx/check.d.ts +1 -0
  93. package/dist/cjs/icons/tsx/checkCircled.d.ts +1 -0
  94. package/dist/cjs/icons/tsx/checklist.d.ts +1 -0
  95. package/dist/cjs/icons/tsx/chevronDown.d.ts +1 -0
  96. package/dist/cjs/icons/tsx/chevronFirst.d.ts +1 -0
  97. package/dist/cjs/icons/tsx/chevronLargeLeft.d.ts +1 -0
  98. package/dist/cjs/icons/tsx/chevronLargeRight.d.ts +1 -0
  99. package/dist/cjs/icons/tsx/chevronLast.d.ts +1 -0
  100. package/dist/cjs/icons/tsx/chevronLeft.d.ts +1 -0
  101. package/dist/cjs/icons/tsx/chevronRight.d.ts +1 -0
  102. package/dist/cjs/icons/tsx/chevronUp.d.ts +1 -0
  103. package/dist/cjs/icons/tsx/close.d.ts +1 -0
  104. package/dist/cjs/icons/tsx/closeCircled.d.ts +1 -0
  105. package/dist/cjs/icons/tsx/closeSmall.d.ts +1 -0
  106. package/dist/cjs/icons/tsx/cloud.d.ts +1 -0
  107. package/dist/cjs/icons/tsx/collapse.d.ts +1 -0
  108. package/dist/cjs/icons/tsx/comment.d.ts +1 -0
  109. package/dist/cjs/icons/tsx/copy.d.ts +1 -0
  110. package/dist/cjs/icons/tsx/court.d.ts +1 -0
  111. package/dist/cjs/icons/tsx/dateRange.d.ts +1 -0
  112. package/dist/cjs/icons/tsx/deaths.d.ts +1 -0
  113. package/dist/cjs/icons/tsx/doubleChevronLeft.d.ts +1 -0
  114. package/dist/cjs/icons/tsx/doubleChevronRight.d.ts +1 -0
  115. package/dist/cjs/icons/tsx/download.d.ts +1 -0
  116. package/dist/cjs/icons/tsx/downloadDone.d.ts +1 -0
  117. package/dist/cjs/icons/tsx/dragHandle.d.ts +1 -0
  118. package/dist/cjs/icons/tsx/edit.d.ts +1 -0
  119. package/dist/cjs/icons/tsx/error.d.ts +1 -0
  120. package/dist/cjs/icons/tsx/exclaim.d.ts +1 -0
  121. package/dist/cjs/icons/tsx/expand.d.ts +1 -0
  122. package/dist/cjs/icons/tsx/facebook.d.ts +1 -0
  123. package/dist/cjs/icons/tsx/family.d.ts +1 -0
  124. package/dist/cjs/icons/tsx/feedback.d.ts +1 -0
  125. package/dist/cjs/icons/tsx/file.d.ts +1 -0
  126. package/dist/cjs/icons/tsx/fileAdd.d.ts +1 -0
  127. package/dist/cjs/icons/tsx/fileText.d.ts +1 -0
  128. package/dist/cjs/icons/tsx/filter.d.ts +1 -0
  129. package/dist/cjs/icons/tsx/filterList.d.ts +1 -0
  130. package/dist/cjs/icons/tsx/filterListOff.d.ts +1 -0
  131. package/dist/cjs/icons/tsx/filterOff.d.ts +1 -0
  132. package/dist/cjs/icons/tsx/findInPage.d.ts +1 -0
  133. package/dist/cjs/icons/tsx/folder.d.ts +1 -0
  134. package/dist/cjs/icons/tsx/folderAdd.d.ts +1 -0
  135. package/dist/cjs/icons/tsx/fullsceenExit.d.ts +1 -0
  136. package/dist/cjs/icons/tsx/fullscreen.d.ts +1 -0
  137. package/dist/cjs/icons/tsx/gavel.d.ts +1 -0
  138. package/dist/cjs/icons/tsx/help.d.ts +1 -0
  139. package/dist/cjs/icons/tsx/helpFilled.d.ts +1 -0
  140. package/dist/cjs/icons/tsx/home.d.ts +1 -0
  141. package/dist/cjs/icons/tsx/image.d.ts +1 -0
  142. package/dist/cjs/icons/tsx/info.d.ts +1 -0
  143. package/dist/cjs/icons/tsx/instagram.d.ts +1 -0
  144. package/dist/cjs/icons/tsx/jordskifterett.d.ts +1 -0
  145. package/dist/cjs/icons/tsx/key.d.ts +1 -0
  146. package/dist/cjs/icons/tsx/lagmannsrett.d.ts +1 -0
  147. package/dist/cjs/icons/tsx/language.d.ts +1 -0
  148. package/dist/cjs/icons/tsx/libraryAdd.d.ts +1 -0
  149. package/dist/cjs/icons/tsx/lineChart.d.ts +1 -0
  150. package/dist/cjs/icons/tsx/link.d.ts +1 -0
  151. package/dist/cjs/icons/tsx/linkOff.d.ts +1 -0
  152. package/dist/cjs/icons/tsx/linkedIn.d.ts +1 -0
  153. package/dist/cjs/icons/tsx/list.d.ts +1 -0
  154. package/dist/cjs/icons/tsx/listAlt.d.ts +1 -0
  155. package/dist/cjs/icons/tsx/location.d.ts +1 -0
  156. package/dist/cjs/icons/tsx/lock.d.ts +1 -0
  157. package/dist/cjs/icons/tsx/lockOpen.d.ts +1 -0
  158. package/dist/cjs/icons/tsx/login.d.ts +1 -0
  159. package/dist/cjs/icons/tsx/logout.d.ts +1 -0
  160. package/dist/cjs/icons/tsx/mail.d.ts +1 -0
  161. package/dist/cjs/icons/tsx/mailOpen.d.ts +1 -0
  162. package/dist/cjs/icons/tsx/menu.d.ts +1 -0
  163. package/dist/cjs/icons/tsx/minus.d.ts +1 -0
  164. package/dist/cjs/icons/tsx/minusCircled.d.ts +1 -0
  165. package/dist/cjs/icons/tsx/moreHorizontal.d.ts +1 -0
  166. package/dist/cjs/icons/tsx/moreVertical.d.ts +1 -0
  167. package/dist/cjs/icons/tsx/notarial.d.ts +1 -0
  168. package/dist/cjs/icons/tsx/notifications.d.ts +1 -0
  169. package/dist/cjs/icons/tsx/notificationsOff.d.ts +1 -0
  170. package/dist/cjs/icons/tsx/onlineMeeting.d.ts +1 -0
  171. package/dist/cjs/icons/tsx/openExternal.d.ts +1 -0
  172. package/dist/cjs/icons/tsx/pdf.d.ts +1 -0
  173. package/dist/cjs/icons/tsx/person.d.ts +1 -0
  174. package/dist/cjs/icons/tsx/personAdd.d.ts +1 -0
  175. package/dist/cjs/icons/tsx/pin.d.ts +1 -0
  176. package/dist/cjs/icons/tsx/plus.d.ts +1 -0
  177. package/dist/cjs/icons/tsx/plusCircled.d.ts +1 -0
  178. package/dist/cjs/icons/tsx/print.d.ts +1 -0
  179. package/dist/cjs/icons/tsx/property.d.ts +1 -0
  180. package/dist/cjs/icons/tsx/publish.d.ts +1 -0
  181. package/dist/cjs/icons/tsx/questionAnswer.d.ts +1 -0
  182. package/dist/cjs/icons/tsx/receipt.d.ts +1 -0
  183. package/dist/cjs/icons/tsx/redo.d.ts +1 -0
  184. package/dist/cjs/icons/tsx/refresh.d.ts +1 -0
  185. package/dist/cjs/icons/tsx/replay.d.ts +1 -0
  186. package/dist/cjs/icons/tsx/search.d.ts +1 -0
  187. package/dist/cjs/icons/tsx/settings.d.ts +1 -0
  188. package/dist/cjs/icons/tsx/sms.d.ts +1 -0
  189. package/dist/cjs/icons/tsx/star.d.ts +1 -0
  190. package/dist/cjs/icons/tsx/starFilled.d.ts +1 -0
  191. package/dist/cjs/icons/tsx/sync.d.ts +1 -0
  192. package/dist/cjs/icons/tsx/time.d.ts +1 -0
  193. package/dist/cjs/icons/tsx/tingrett.d.ts +1 -0
  194. package/dist/cjs/icons/tsx/tip.d.ts +1 -0
  195. package/dist/cjs/icons/tsx/trash.d.ts +1 -0
  196. package/dist/cjs/icons/tsx/trendingDown.d.ts +1 -0
  197. package/dist/cjs/icons/tsx/trendingUp.d.ts +1 -0
  198. package/dist/cjs/icons/tsx/twitter.d.ts +1 -0
  199. package/dist/cjs/icons/tsx/undo.d.ts +1 -0
  200. package/dist/cjs/icons/tsx/unfoldLess.d.ts +1 -0
  201. package/dist/cjs/icons/tsx/unfoldMore.d.ts +1 -0
  202. package/dist/cjs/icons/tsx/upload.d.ts +1 -0
  203. package/dist/cjs/icons/tsx/visibilityOff.d.ts +1 -0
  204. package/dist/cjs/icons/tsx/visibilityOn.d.ts +1 -0
  205. package/dist/cjs/icons/tsx/warning.d.ts +1 -0
  206. package/dist/cjs/icons/tsx/zoomIn.d.ts +1 -0
  207. package/dist/cjs/icons/tsx/zoomOut.d.ts +1 -0
  208. package/dist/cjs/icons/utils/SvgWrapper.d.ts +1 -0
  209. package/dist/cjs/index.d.ts +1 -1
  210. package/dist/cjs/index.js +654 -974
  211. package/dist/cjs/test/mocks/IntersectionObserver.d.ts +1 -0
  212. package/dist/components/BackLink/BackLink.d.ts +6 -0
  213. package/dist/components/BackLink/BackLink.js +47 -0
  214. package/dist/components/BackLink/BackLink.stories.d.ts +17 -0
  215. package/dist/components/BackLink/BackLink.tokens.d.ts +8 -0
  216. package/dist/components/BackLink/BackLink.tokens.js +16 -0
  217. package/dist/components/BackLink/index.d.ts +1 -0
  218. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -12
  219. package/dist/components/Breadcrumbs/Breadcrumbs.js +3 -10
  220. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -16
  221. package/dist/components/Button/Button.d.ts +1 -0
  222. package/dist/components/Button/Button.stories.d.ts +3 -3
  223. package/dist/components/Card/CardAccordion/CardAccordion.d.ts +1 -0
  224. package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -0
  225. package/dist/components/Checkbox/Checkbox.d.ts +1 -0
  226. package/dist/components/Checkbox/Checkbox.stories.d.ts +2 -2
  227. package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -0
  228. package/dist/components/Chip/Chip.d.ts +1 -0
  229. package/dist/components/Datepicker/Datepicker.d.ts +1 -0
  230. package/dist/components/DescriptionList/DescriptionList.d.ts +1 -0
  231. package/dist/components/DescriptionList/DescriptionListDesc.d.ts +1 -0
  232. package/dist/components/DescriptionList/DescriptionListGroup.d.ts +1 -0
  233. package/dist/components/Divider/Divider.d.ts +1 -0
  234. package/dist/components/FileUploader/ErrorList.d.ts +1 -0
  235. package/dist/components/FileUploader/File.d.ts +1 -0
  236. package/dist/components/FileUploader/FileUploader.d.ts +1 -0
  237. package/dist/components/FileUploader/utils.d.ts +1 -0
  238. package/dist/components/GlobalMessage/GlobalMessage.d.ts +1 -0
  239. package/dist/components/Grid/Grid.context.d.ts +1 -0
  240. package/dist/components/Icon/Icon.d.ts +1 -0
  241. package/dist/components/InlineEdit/InlineEdit.d.ts +1 -0
  242. package/dist/components/InlineEdit/InlineEdit.utils.d.ts +1 -0
  243. package/dist/components/InlineEdit/InlineEditInput.d.ts +1 -0
  244. package/dist/components/InlineEdit/InlineEditTextArea.d.ts +1 -0
  245. package/dist/components/InputMessage/InputMessage.d.ts +1 -0
  246. package/dist/components/InternalHeader/InternalHeader.d.ts +1 -0
  247. package/dist/components/InternalHeader/InternalHeader.styles.d.ts +1 -0
  248. package/dist/components/List/List.d.ts +1 -0
  249. package/dist/components/LocalMessage/LocalMessage.d.ts +1 -0
  250. package/dist/components/Modal/ModalBody.d.ts +1 -0
  251. package/dist/components/OverflowMenu/OverflowMenu.d.ts +1 -0
  252. package/dist/components/ProgressTracker/ProgressTracker.context.d.ts +1 -0
  253. package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +1 -0
  254. package/dist/components/RadioButton/RadioButton.d.ts +1 -0
  255. package/dist/components/RadioButton/RadioButton.stories.d.ts +3 -3
  256. package/dist/components/ScrollableContainer/ScrollableContainer.d.ts +1 -0
  257. package/dist/components/SkipToContent/SkipToContent.d.ts +1 -0
  258. package/dist/components/Spinner/Spinner.d.ts +1 -0
  259. package/dist/components/SplitButton/SplitButton.d.ts +1 -0
  260. package/dist/components/Stack/Stack.d.ts +1 -0
  261. package/dist/components/Stack/Stack.stories.d.ts +1 -0
  262. package/dist/components/Table/Row.d.ts +1 -0
  263. package/dist/components/Table/Table.d.ts +1 -0
  264. package/dist/components/Table/collapsible/CollapsibleRow.d.ts +1 -0
  265. package/dist/components/Table/collapsible/CollapsibleTable.d.ts +1 -0
  266. package/dist/components/Table/collapsible/Table.context.d.ts +1 -0
  267. package/dist/components/Tabs/TabPanel.d.ts +1 -0
  268. package/dist/components/Tag/Tag.d.ts +1 -0
  269. package/dist/components/TextInput/CharCounter.d.ts +1 -0
  270. package/dist/components/ToggleBar/ToggleBar.d.ts +1 -0
  271. package/dist/components/ToggleButton/ToggleButton.d.ts +1 -0
  272. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  273. package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +1 -0
  274. package/dist/components/Tooltip/Tooltip.stories.d.ts +2 -2
  275. package/dist/components/Typography/Caption/Caption.d.ts +1 -0
  276. package/dist/components/Typography/Heading/Heading.d.ts +1 -0
  277. package/dist/components/Typography/Legend/Legend.d.ts +1 -0
  278. package/dist/components/Typography/Link/Link.stories.d.ts +3 -3
  279. package/dist/components/Typography/Paragraph/Paragraph.d.ts +1 -0
  280. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -0
  281. package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +1 -0
  282. package/dist/helpers/Input/Input.utils.d.ts +1 -0
  283. package/dist/helpers/RequiredMarker/RequiredMarker.d.ts +1 -0
  284. package/dist/hooks/useFloatPosition.d.ts +1 -0
  285. package/dist/icons/tsx/apps.d.ts +1 -0
  286. package/dist/icons/tsx/archive.d.ts +1 -0
  287. package/dist/icons/tsx/arrowDown.d.ts +1 -0
  288. package/dist/icons/tsx/arrowLeft.d.ts +1 -0
  289. package/dist/icons/tsx/arrowRight.d.ts +1 -0
  290. package/dist/icons/tsx/arrowUp.d.ts +1 -0
  291. package/dist/icons/tsx/attachment.d.ts +1 -0
  292. package/dist/icons/tsx/barChart.d.ts +1 -0
  293. package/dist/icons/tsx/barChartBoxed.d.ts +1 -0
  294. package/dist/icons/tsx/block.d.ts +1 -0
  295. package/dist/icons/tsx/book.d.ts +1 -0
  296. package/dist/icons/tsx/build.d.ts +1 -0
  297. package/dist/icons/tsx/buildCircled.d.ts +1 -0
  298. package/dist/icons/tsx/calendar.d.ts +1 -0
  299. package/dist/icons/tsx/calendarMonth.d.ts +1 -0
  300. package/dist/icons/tsx/calendarViewDay.d.ts +1 -0
  301. package/dist/icons/tsx/calendarViewMonth.d.ts +1 -0
  302. package/dist/icons/tsx/calendarViewWeek.d.ts +1 -0
  303. package/dist/icons/tsx/call.d.ts +1 -0
  304. package/dist/icons/tsx/chat.d.ts +1 -0
  305. package/dist/icons/tsx/check.d.ts +1 -0
  306. package/dist/icons/tsx/checkCircled.d.ts +1 -0
  307. package/dist/icons/tsx/checklist.d.ts +1 -0
  308. package/dist/icons/tsx/chevronDown.d.ts +1 -0
  309. package/dist/icons/tsx/chevronFirst.d.ts +1 -0
  310. package/dist/icons/tsx/chevronLargeLeft.d.ts +1 -0
  311. package/dist/icons/tsx/chevronLargeRight.d.ts +1 -0
  312. package/dist/icons/tsx/chevronLast.d.ts +1 -0
  313. package/dist/icons/tsx/chevronLeft.d.ts +1 -0
  314. package/dist/icons/tsx/chevronRight.d.ts +1 -0
  315. package/dist/icons/tsx/chevronUp.d.ts +1 -0
  316. package/dist/icons/tsx/close.d.ts +1 -0
  317. package/dist/icons/tsx/closeCircled.d.ts +1 -0
  318. package/dist/icons/tsx/closeSmall.d.ts +1 -0
  319. package/dist/icons/tsx/cloud.d.ts +1 -0
  320. package/dist/icons/tsx/collapse.d.ts +1 -0
  321. package/dist/icons/tsx/comment.d.ts +1 -0
  322. package/dist/icons/tsx/copy.d.ts +1 -0
  323. package/dist/icons/tsx/court.d.ts +1 -0
  324. package/dist/icons/tsx/dateRange.d.ts +1 -0
  325. package/dist/icons/tsx/deaths.d.ts +1 -0
  326. package/dist/icons/tsx/doubleChevronLeft.d.ts +1 -0
  327. package/dist/icons/tsx/doubleChevronRight.d.ts +1 -0
  328. package/dist/icons/tsx/download.d.ts +1 -0
  329. package/dist/icons/tsx/downloadDone.d.ts +1 -0
  330. package/dist/icons/tsx/dragHandle.d.ts +1 -0
  331. package/dist/icons/tsx/edit.d.ts +1 -0
  332. package/dist/icons/tsx/error.d.ts +1 -0
  333. package/dist/icons/tsx/exclaim.d.ts +1 -0
  334. package/dist/icons/tsx/expand.d.ts +1 -0
  335. package/dist/icons/tsx/facebook.d.ts +1 -0
  336. package/dist/icons/tsx/family.d.ts +1 -0
  337. package/dist/icons/tsx/feedback.d.ts +1 -0
  338. package/dist/icons/tsx/file.d.ts +1 -0
  339. package/dist/icons/tsx/fileAdd.d.ts +1 -0
  340. package/dist/icons/tsx/fileText.d.ts +1 -0
  341. package/dist/icons/tsx/filter.d.ts +1 -0
  342. package/dist/icons/tsx/filterList.d.ts +1 -0
  343. package/dist/icons/tsx/filterListOff.d.ts +1 -0
  344. package/dist/icons/tsx/filterOff.d.ts +1 -0
  345. package/dist/icons/tsx/findInPage.d.ts +1 -0
  346. package/dist/icons/tsx/folder.d.ts +1 -0
  347. package/dist/icons/tsx/folderAdd.d.ts +1 -0
  348. package/dist/icons/tsx/fullsceenExit.d.ts +1 -0
  349. package/dist/icons/tsx/fullscreen.d.ts +1 -0
  350. package/dist/icons/tsx/gavel.d.ts +1 -0
  351. package/dist/icons/tsx/help.d.ts +1 -0
  352. package/dist/icons/tsx/helpFilled.d.ts +1 -0
  353. package/dist/icons/tsx/home.d.ts +1 -0
  354. package/dist/icons/tsx/image.d.ts +1 -0
  355. package/dist/icons/tsx/info.d.ts +1 -0
  356. package/dist/icons/tsx/instagram.d.ts +1 -0
  357. package/dist/icons/tsx/jordskifterett.d.ts +1 -0
  358. package/dist/icons/tsx/key.d.ts +1 -0
  359. package/dist/icons/tsx/lagmannsrett.d.ts +1 -0
  360. package/dist/icons/tsx/language.d.ts +1 -0
  361. package/dist/icons/tsx/libraryAdd.d.ts +1 -0
  362. package/dist/icons/tsx/lineChart.d.ts +1 -0
  363. package/dist/icons/tsx/link.d.ts +1 -0
  364. package/dist/icons/tsx/linkOff.d.ts +1 -0
  365. package/dist/icons/tsx/linkedIn.d.ts +1 -0
  366. package/dist/icons/tsx/list.d.ts +1 -0
  367. package/dist/icons/tsx/listAlt.d.ts +1 -0
  368. package/dist/icons/tsx/location.d.ts +1 -0
  369. package/dist/icons/tsx/lock.d.ts +1 -0
  370. package/dist/icons/tsx/lockOpen.d.ts +1 -0
  371. package/dist/icons/tsx/login.d.ts +1 -0
  372. package/dist/icons/tsx/logout.d.ts +1 -0
  373. package/dist/icons/tsx/mail.d.ts +1 -0
  374. package/dist/icons/tsx/mailOpen.d.ts +1 -0
  375. package/dist/icons/tsx/menu.d.ts +1 -0
  376. package/dist/icons/tsx/minus.d.ts +1 -0
  377. package/dist/icons/tsx/minusCircled.d.ts +1 -0
  378. package/dist/icons/tsx/moreHorizontal.d.ts +1 -0
  379. package/dist/icons/tsx/moreVertical.d.ts +1 -0
  380. package/dist/icons/tsx/notarial.d.ts +1 -0
  381. package/dist/icons/tsx/notifications.d.ts +1 -0
  382. package/dist/icons/tsx/notificationsOff.d.ts +1 -0
  383. package/dist/icons/tsx/onlineMeeting.d.ts +1 -0
  384. package/dist/icons/tsx/openExternal.d.ts +1 -0
  385. package/dist/icons/tsx/pdf.d.ts +1 -0
  386. package/dist/icons/tsx/person.d.ts +1 -0
  387. package/dist/icons/tsx/personAdd.d.ts +1 -0
  388. package/dist/icons/tsx/pin.d.ts +1 -0
  389. package/dist/icons/tsx/plus.d.ts +1 -0
  390. package/dist/icons/tsx/plusCircled.d.ts +1 -0
  391. package/dist/icons/tsx/print.d.ts +1 -0
  392. package/dist/icons/tsx/property.d.ts +1 -0
  393. package/dist/icons/tsx/publish.d.ts +1 -0
  394. package/dist/icons/tsx/questionAnswer.d.ts +1 -0
  395. package/dist/icons/tsx/receipt.d.ts +1 -0
  396. package/dist/icons/tsx/redo.d.ts +1 -0
  397. package/dist/icons/tsx/refresh.d.ts +1 -0
  398. package/dist/icons/tsx/replay.d.ts +1 -0
  399. package/dist/icons/tsx/search.d.ts +1 -0
  400. package/dist/icons/tsx/settings.d.ts +1 -0
  401. package/dist/icons/tsx/sms.d.ts +1 -0
  402. package/dist/icons/tsx/star.d.ts +1 -0
  403. package/dist/icons/tsx/starFilled.d.ts +1 -0
  404. package/dist/icons/tsx/sync.d.ts +1 -0
  405. package/dist/icons/tsx/time.d.ts +1 -0
  406. package/dist/icons/tsx/tingrett.d.ts +1 -0
  407. package/dist/icons/tsx/tip.d.ts +1 -0
  408. package/dist/icons/tsx/trash.d.ts +1 -0
  409. package/dist/icons/tsx/trendingDown.d.ts +1 -0
  410. package/dist/icons/tsx/trendingUp.d.ts +1 -0
  411. package/dist/icons/tsx/twitter.d.ts +1 -0
  412. package/dist/icons/tsx/undo.d.ts +1 -0
  413. package/dist/icons/tsx/unfoldLess.d.ts +1 -0
  414. package/dist/icons/tsx/unfoldMore.d.ts +1 -0
  415. package/dist/icons/tsx/upload.d.ts +1 -0
  416. package/dist/icons/tsx/visibilityOff.d.ts +1 -0
  417. package/dist/icons/tsx/visibilityOn.d.ts +1 -0
  418. package/dist/icons/tsx/warning.d.ts +1 -0
  419. package/dist/icons/tsx/zoomIn.d.ts +1 -0
  420. package/dist/icons/tsx/zoomOut.d.ts +1 -0
  421. package/dist/icons/utils/SvgWrapper.d.ts +1 -0
  422. package/dist/index.d.ts +1 -1
  423. package/dist/index.js +1 -2
  424. package/dist/test/mocks/IntersectionObserver.d.ts +1 -0
  425. package/package.json +7 -27
  426. package/dist/cjs/components/FormGenerator/FormGenerator.d.ts +0 -5
  427. package/dist/cjs/components/FormGenerator/FormGenerator.examples.d.ts +0 -5
  428. package/dist/cjs/components/FormGenerator/FormGenerator.stories.d.ts +0 -10
  429. package/dist/cjs/components/FormGenerator/FormGenerator.styles.d.ts +0 -10
  430. package/dist/cjs/components/FormGenerator/FormGenerator.tokens.d.ts +0 -19
  431. package/dist/cjs/components/FormGenerator/FormGenerator.types.d.ts +0 -223
  432. package/dist/cjs/components/FormGenerator/index.d.ts +0 -2
  433. package/dist/components/FormGenerator/FormGenerator.d.ts +0 -5
  434. package/dist/components/FormGenerator/FormGenerator.examples.d.ts +0 -5
  435. package/dist/components/FormGenerator/FormGenerator.js +0 -316
  436. package/dist/components/FormGenerator/FormGenerator.stories.d.ts +0 -10
  437. package/dist/components/FormGenerator/FormGenerator.styles.d.ts +0 -10
  438. package/dist/components/FormGenerator/FormGenerator.styles.js +0 -48
  439. package/dist/components/FormGenerator/FormGenerator.tokens.d.ts +0 -19
  440. package/dist/components/FormGenerator/FormGenerator.tokens.js +0 -21
  441. package/dist/components/FormGenerator/FormGenerator.types.d.ts +0 -223
  442. package/dist/components/FormGenerator/FormGenerator.types.js +0 -33
  443. package/dist/components/FormGenerator/index.d.ts +0 -2
package/README.md CHANGED
@@ -48,7 +48,6 @@ Tilgjengelige komponenter:
48
48
  - Divider
49
49
  - Drawer
50
50
  - FileUploader
51
- - FormGenerator
52
51
  - GlobalMessage
53
52
  - Grid
54
53
  - Icon
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export type BackLinkProps = {
3
+ label: string;
4
+ href: string;
5
+ };
6
+ export declare const BackLink: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,17 @@
1
+ import { BackLinkProps } from '.';
2
+ declare const _default: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<BackLinkProps & import("react").RefAttributes<HTMLElement>>;
5
+ argTypes: {
6
+ label: {
7
+ control: string;
8
+ defaultValue: string;
9
+ };
10
+ href: {
11
+ control: string;
12
+ defaultValue: string;
13
+ };
14
+ };
15
+ };
16
+ export default _default;
17
+ export declare const Default: (args: BackLinkProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const backLinkTokens: {
2
+ icon: {
3
+ color: string;
4
+ };
5
+ nav: {
6
+ gap: string;
7
+ };
8
+ };
@@ -0,0 +1 @@
1
+ export * from './BackLink';
@@ -1,13 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
- export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement, {
3
- /** Spesifiserer om versjonen for små skjermer skal vises; den viser `<Breadcrumb />` kun til den forrige siden. */
4
- smallScreen?: boolean;
5
- }>;
6
- export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLElement>, "className" | "id"> & {
7
- /** Spesifiserer om versjonen for små skjermer skal vises; den viser `<Breadcrumb />` kun til den forrige siden. */
8
- smallScreen?: boolean | undefined;
9
- } & {
10
- children?: import("react").ReactNode;
11
- } & {
12
- htmlProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
13
- } & import("react").RefAttributes<HTMLElement>>;
3
+ export type BreadcrumbsProps = BaseComponentPropsWithChildren<HTMLElement>;
4
+ export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Pick<BreadcrumbsProps, string> & import("react").RefAttributes<HTMLElement>>;
@@ -1,22 +1,8 @@
1
1
  import { BreadcrumbsProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLElement>, "className" | "id"> & {
5
- smallScreen?: boolean | undefined;
6
- } & {
7
- children?: import("react").ReactNode;
8
- } & {
9
- htmlProps?: import("react").HTMLAttributes<HTMLElement> | undefined;
10
- } & import("react").RefAttributes<HTMLElement>>;
11
- argTypes: {
12
- smallScreen: {
13
- control: {
14
- type: string;
15
- };
16
- };
17
- };
4
+ component: import("react").ForwardRefExoticComponent<Pick<BreadcrumbsProps, string> & import("react").RefAttributes<HTMLElement>>;
5
+ argTypes: {};
18
6
  };
19
7
  export default _default;
20
- export declare const Overview: (args: BreadcrumbsProps) => JSX.Element;
21
8
  export declare const Default: (args: BreadcrumbsProps) => JSX.Element;
22
- export declare const SmallScreen: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Button: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "onFocus" | "onBlur" | "type">, "id" | "className"> & {
2
3
  size?: import("./Button.types").ButtonSize | undefined;
3
4
  label?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import { ButtonProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onFocus" | "onBlur" | "onClick">, "className" | "id"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type">, "className" | "id"> & {
5
5
  size?: import("./Button.types").ButtonSize | undefined;
6
6
  label?: string | undefined;
7
7
  purpose?: import("./Button.types").ButtonPurpose | undefined;
@@ -13,12 +13,12 @@ declare const _default: {
13
13
  href?: string | undefined;
14
14
  target?: string | undefined;
15
15
  } & {
16
- type?: "button" | "submit" | "reset" | undefined;
17
16
  onFocus?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
18
17
  onBlur?: import("react").FocusEventHandler<HTMLButtonElement> | undefined;
19
18
  onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
19
+ type?: "button" | "submit" | "reset" | undefined;
20
20
  } & {
21
- htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type" | "onFocus" | "onBlur" | "onClick"> | undefined;
21
+ htmlProps?: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onFocus" | "onBlur" | "onClick" | "type"> | undefined;
22
22
  } & import("react").RefAttributes<HTMLButtonElement>>;
23
23
  argTypes: {
24
24
  label: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../../types';
2
3
  export type CardAccordionProps = BaseComponentPropsWithChildren<HTMLDivElement, {
3
4
  /**Spesifiserer om body skal være utvidet ved innlastning. */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { BaseComponentPropsWithChildren } from '../../../types';
3
4
  export type CardAccordionBodyProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Checkbox: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "name" | "checked" | "defaultChecked" | "value" | "defaultValue" | "onChange" | "onBlur">, "id" | "className"> & {
2
3
  label?: string | undefined;
3
4
  error?: boolean | undefined;
@@ -1,14 +1,14 @@
1
1
  import { CheckboxProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "value" | "checked">, "className" | "id"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "className" | "id"> & {
5
5
  label?: string | undefined;
6
6
  error?: boolean | undefined;
7
7
  disabled?: boolean | undefined;
8
8
  readOnly?: boolean | undefined;
9
9
  indeterminate?: boolean | undefined;
10
10
  } & import("../../types").CheckboxPickedHTMLAttributes & {
11
- htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "value" | "checked"> | undefined;
11
+ htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
12
12
  } & import("react").RefAttributes<HTMLInputElement>>;
13
13
  argTypes: {
14
14
  label: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren, Direction } from '../../types';
2
3
  export type CheckboxGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
3
4
  /**Ledetekst for gruppen. */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentProps } from '../../types';
2
3
  export type ChipProps = BaseComponentProps<HTMLDivElement, {
3
4
  /** Teksten som vises i komponenten. */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from '../../helpers';
2
3
  type DatepickerType = 'date' | 'datetime-local';
3
4
  export type DatepickerProps = Omit<InputProps, 'type'> & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  export type DescriptionListAppearance = 'small' | 'bold';
3
4
  export type DescriptionListProps = BaseComponentPropsWithChildren<HTMLDListElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  import { SvgIcon } from '../../icons/utils';
3
4
  export type DescriptionListDescProps = BaseComponentPropsWithChildren<HTMLElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { BaseComponentPropsWithChildren } from '../../types';
3
4
  export type DescriptionListGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentProps } from '../../types';
2
3
  export type DividerColor = 'primary' | 'primaryLighter';
3
4
  export type DividerProps = BaseComponentProps<HTMLHRElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type ErrorListProps = {
2
3
  errors: {
3
4
  id: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileUploaderFile } from './fileUploaderReducer';
2
3
  type FileProps = {
3
4
  parentId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FileList } from './types';
2
3
  import { FileUploaderHookProps } from './useFileUploader';
3
4
  import { Property } from 'csstype';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const preventDefaults: (event: React.BaseSyntheticEvent) => void;
2
3
  export declare const isDragEvent: (event: unknown) => event is import("react").DragEvent<unknown>;
3
4
  export declare const isEventWithFiles: (event: React.DragEvent<unknown> | React.ChangeEvent<HTMLInputElement>) => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  export type GlobalMessagePurpose = 'info' | 'warning' | 'danger';
3
4
  export type GlobalMessageProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScreenSize } from '../../hooks';
2
3
  export type GridContextProps = {
3
4
  screenSize: ScreenSize;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { BaseComponentProps } from '../../types';
3
4
  import { SvgIcon } from '../../icons/utils/propTypes';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { InlineEditProps } from './InlineEdit.types';
2
3
  export declare const InlineEdit: (props: InlineEditProps) => JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const inlineEditVisuallyHidden: (id: string, emptiable?: boolean) => JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const InlineEditInput: import("react").ForwardRefExoticComponent<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "width" | "onChange" | "onFocus" | "onBlur"> & Pick<import("./InlineEdit.types").InlineEditProps, "onChange" | "onFocus" | "onBlur" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "width" | "error" | "errorMessage" | "hideIcon"> & import("react").RefAttributes<HTMLInputElement>>;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const InlineEditTextArea: import("react").ForwardRefExoticComponent<Omit<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "onFocus" | "onBlur"> & Pick<import("./InlineEdit.types").InlineEditProps, "onChange" | "onFocus" | "onBlur" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "error" | "errorMessage" | "width" | "hideIcon"> & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentProps } from '../../types';
2
3
  export type InputMessageType = 'error' | 'tip';
3
4
  export type InputMessageProps = BaseComponentProps<HTMLDivElement, {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { InternalHeaderProps } from './InternalHeader.types';
2
3
  export declare const InternalHeader: (props: InternalHeaderProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InternalHeaderProps } from './InternalHeader.types';
2
3
  export declare const OuterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
4
  type BannerProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TypographyBodyType } from '../Typography';
2
3
  import { BaseComponentPropsWithChildren } from '../../types';
3
4
  export type ListType = 'ordered' | 'unordered';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { BaseComponentPropsWithChildren } from '../../types';
3
4
  export type LocalMessagePurpose = 'info' | 'warning' | 'danger' | 'confidential' | 'success' | 'tips';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  import { Property } from 'csstype';
3
4
  export type ModalBodyProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { OverflowMenuContextItem } from '.';
2
3
  type ContainerProps = {
3
4
  isOpen: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type ProgressTrackerContextType = {
2
3
  activeStep: number;
3
4
  handleStepChange?: (index: number) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SvgIcon } from '../../icons/utils';
2
3
  import { BaseComponentPropsWithChildren } from '../../types';
3
4
  type BaseItemProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const RadioButton: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "readOnly" | "checked" | "value" | "required" | "onChange" | "aria-describedby">, "id" | "className"> & {
2
3
  label?: string | undefined;
3
4
  disabled?: boolean | undefined;
@@ -1,14 +1,14 @@
1
1
  import { RadioButtonProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "aria-describedby" | "onChange" | "value" | "checked" | "readOnly" | "required">, "className" | "id"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required">, "className" | "id"> & {
5
5
  label?: string | undefined;
6
6
  disabled?: boolean | undefined;
7
7
  error?: boolean | undefined;
8
8
  } & {
9
- name?: string | undefined;
10
9
  'aria-describedby'?: string | undefined;
11
10
  onChange?: import("react").ChangeEventHandler<HTMLInputElement> | undefined;
11
+ name?: string | undefined;
12
12
  value?: string | number | readonly string[] | undefined;
13
13
  checked?: boolean | undefined;
14
14
  readOnly?: boolean | undefined;
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  } & {
17
17
  children?: import("react").ReactNode;
18
18
  } & {
19
- htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "aria-describedby" | "onChange" | "value" | "checked" | "readOnly" | "required"> | undefined;
19
+ htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-describedby" | "onChange" | "name" | "value" | "checked" | "readOnly" | "required"> | undefined;
20
20
  } & import("react").RefAttributes<HTMLInputElement>>;
21
21
  argTypes: {
22
22
  label: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  import { Property } from 'csstype';
3
4
  export type ScrollableContainerProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { BaseComponentProps } from '../../types';
3
4
  export type SkipToContentProps = BaseComponentProps<HTMLAnchorElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { TextColor } from '../../utils';
3
4
  import { BaseComponentProps } from '../../types';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExtractStrict } from '../../types';
2
3
  import { ButtonProps, ButtonPurpose, ButtonSize } from '../Button';
3
4
  import { OverflowMenuButtonItem } from '../OverflowMenu';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { stackTokens } from './Stack.tokens';
2
3
  import { BaseComponentPropsWithChildren } from '../../types';
3
4
  type Align = 'stretch' | 'center' | 'flex-start' | 'flex-end';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ComponentMeta } from '@storybook/react';
2
3
  import { StackProps } from './Stack';
3
4
  declare const _default: ComponentMeta<import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & Omit<import("./Stack").StackStyleProps, "direction"> & {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const Row: import("react").ForwardRefExoticComponent<{
2
3
  type?: import("./Table.types").TableRowType | undefined;
3
4
  mode?: import("./Table.types").RowMode | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TableDensity } from './Table.types';
2
3
  export declare const Table: import("react").ForwardRefExoticComponent<{
3
4
  density?: TableDensity | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const CollapsibleRow: import("react").ForwardRefExoticComponent<{
2
3
  type?: import("..").TableRowType | undefined;
3
4
  mode?: import("../Table.types").RowMode | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const CollapsibleTable: import("react").ForwardRefExoticComponent<{
2
3
  isCollapsed?: boolean | undefined;
3
4
  headerValues: import("../Table.types").HeaderValues;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { HeaderValues } from '../Table.types';
2
3
  type CollapsibleTableContextProps = {
3
4
  isCollapsed?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  export type TabPanelProps = BaseComponentPropsWithChildren<HTMLDivElement, {
3
4
  /** Spesifiserer om panelet skal vises basert på aktiv fane. */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentProps } from '../../types';
2
3
  export type TagPurpose = 'success' | 'info' | 'danger' | 'warning' | 'default';
3
4
  export type TagProps = BaseComponentProps<HTMLSpanElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentProps } from '../../types';
2
3
  type Props = BaseComponentProps<HTMLElement, {
3
4
  current: number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { ToggleBarProps } from './ToggleBar.types';
2
3
  export declare const ToggleBar: <T extends string | number = string>(props: ToggleBarProps<T>) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const ToggleButton: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "checked" | "value">, "className" | "id"> & {
2
3
  label?: string | undefined;
3
4
  icon?: import("../../icons/utils").SvgIcon | undefined;
@@ -1,11 +1,11 @@
1
1
  import { ToggleButtonProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "value" | "checked">, "className" | "id"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked">, "className" | "id"> & {
5
5
  label?: string | undefined;
6
6
  icon?: import("../../icons/utils").SvgIcon | undefined;
7
7
  } & import("../../types").CheckboxPickedHTMLAttributes & {
8
- htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "name" | "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "value" | "checked"> | undefined;
8
+ htmlProps?: Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "defaultChecked" | "defaultValue" | "aria-describedby" | "onBlur" | "onChange" | "name" | "value" | "checked"> | undefined;
9
9
  } & import("react").RefAttributes<HTMLInputElement>>;
10
10
  argTypes: {
11
11
  label: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  type Direction = 'row' | 'column';
3
4
  export type ToggleButtonGroupProps = BaseComponentPropsWithChildren<HTMLDivElement, {
@@ -1,7 +1,7 @@
1
1
  import { TooltipProps } from '.';
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "style" | "children" | "onMouseLeave" | "onMouseOver">, "className" | "id"> & {
4
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver">, "className" | "id"> & {
5
5
  text: string;
6
6
  placement?: import("../..").Placement | undefined;
7
7
  children: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> & import("react").RefAttributes<HTMLElement>;
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
13
13
  onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
14
14
  } & {
15
- htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "style" | "children" | "onMouseLeave" | "onMouseOver"> | undefined;
15
+ htmlProps?: Omit<import("react").HTMLAttributes<HTMLDivElement>, "children" | "style" | "onMouseLeave" | "onMouseOver"> | undefined;
16
16
  } & import("react").RefAttributes<HTMLDivElement>>;
17
17
  argTypes: {
18
18
  text: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../../types';
2
3
  import { BaseTypographyProps } from '../Typography';
3
4
  export type CaptionProps = BaseComponentPropsWithChildren<HTMLTableCaptionElement, BaseTypographyProps>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../../types';
2
3
  import { BaseTypographyProps, TypographyHeadingType } from '../Typography';
3
4
  export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../../types';
2
3
  import { BaseTypographyProps } from '../Typography';
3
4
  export type LegendProps = BaseComponentPropsWithChildren<HTMLLegendElement, BaseTypographyProps>;
@@ -4,7 +4,7 @@ type StoryTProps = {
4
4
  } & LinkProps;
5
5
  declare const _default: {
6
6
  title: string;
7
- component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "href" | "target">, "className" | "id"> & {
7
+ component: import("react").ForwardRefExoticComponent<Pick<Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target">, "className" | "id"> & {
8
8
  external?: boolean | undefined;
9
9
  typographyType?: ("bodySans01" | "bodySans02" | "bodySans03" | "bodySans04") | undefined;
10
10
  } & {
@@ -12,11 +12,11 @@ declare const _default: {
12
12
  } & {
13
13
  children?: import("react").ReactNode;
14
14
  } & Pick<import("react").HTMLAttributes<HTMLElement>, "style"> & {
15
- onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
16
15
  href?: string | undefined;
16
+ onClick?: import("react").MouseEventHandler<HTMLAnchorElement> | undefined;
17
17
  target?: import("react").HTMLAttributeAnchorTarget | undefined;
18
18
  } & {
19
- htmlProps?: Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "href" | "target"> | undefined;
19
+ htmlProps?: Omit<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "onClick" | "target"> | undefined;
20
20
  } & import("react").RefAttributes<HTMLAnchorElement>>;
21
21
  argTypes: {
22
22
  typographyType: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../../types';
2
3
  import { BaseTypographyProps, TypographyBodyType, TypographyLeadType } from '../Typography';
3
4
  export type ParagraphProps = BaseComponentPropsWithChildren<HTMLParagraphElement, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseComponentPropsWithChildren } from '../../types';
2
3
  type VisuallyHiddenDivProps = BaseComponentPropsWithChildren<HTMLDivElement, {
3
4
  as: 'div';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  type SvgChevronProps = {
3
4
  isUp?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSize } from '../../components/Icon';
2
3
  import { InputSize } from './Input.types';
3
4
  export declare const getFormInputIconSize: (componentSize: InputSize) => IconSize;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const RequiredMarker: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Strategy } from '@floating-ui/react-dom';
2
3
  export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
3
4
  interface UseFloatPositionOptions {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SvgProps } from '../utils/propTypes';
2
3
  export declare function AppsIcon(props: SvgProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SvgProps } from '../utils/propTypes';
2
3
  export declare function ArchiveIcon(props: SvgProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SvgProps } from '../utils/propTypes';
2
3
  export declare function ArrowDownIcon(props: SvgProps): JSX.Element;