@norges-domstoler/dds-components 13.6.0 → 13.6.1

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 (1019) hide show
  1. package/dist/_virtual/_rollupPluginBabelHelpers.js +1 -61
  2. package/dist/cjs/components/Breadcrumbs/Breadcrumb.tokens.d.ts +1 -1
  3. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  4. package/dist/cjs/components/Button/Button.d.ts +1 -1
  5. package/dist/cjs/components/Button/Button.stories.d.ts +1 -1
  6. package/dist/cjs/components/Button/Button.tokens.d.ts +1 -1
  7. package/dist/cjs/components/Button/Button.types.d.ts +2 -2
  8. package/dist/cjs/components/Card/Card.d.ts +1 -1
  9. package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +1 -1
  10. package/dist/cjs/components/Card/CardAccordion/CardAccordion.tokens.d.ts +1 -1
  11. package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -1
  12. package/dist/cjs/components/Card/CardAccordion/CardAccordionHeader.d.ts +2 -2
  13. package/dist/cjs/components/Chip/Chip.d.ts +1 -1
  14. package/dist/cjs/components/Chip/Chip.tokens.d.ts +1 -1
  15. package/dist/cjs/components/Datepicker/Datepicker.d.ts +1 -1
  16. package/dist/cjs/components/Datepicker/Datepicker.stories.d.ts +1 -1
  17. package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +1 -1
  18. package/dist/cjs/components/DescriptionList/DescriptionListDesc.d.ts +2 -2
  19. package/dist/cjs/components/DescriptionList/DescriptionListGroup.d.ts +1 -1
  20. package/dist/cjs/components/Divider/Divider.d.ts +1 -1
  21. package/dist/cjs/components/Drawer/Drawer.d.ts +1 -1
  22. package/dist/cjs/components/GlobalMessage/GlobalMessage.d.ts +1 -1
  23. package/dist/cjs/components/GlobalMessage/GlobalMessage.tokens.d.ts +2 -2
  24. package/dist/cjs/components/Grid/Grid.context.d.ts +1 -1
  25. package/dist/cjs/components/Grid/Grid.d.ts +2 -2
  26. package/dist/cjs/components/Grid/GridChild.d.ts +2 -2
  27. package/dist/cjs/components/InlineEdit/InlineEdit.styles.d.ts +4 -4
  28. package/dist/cjs/components/InputMessage/InputMessage.d.ts +1 -1
  29. package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +1 -1
  30. package/dist/cjs/components/InternalHeader/InternalHeader.tokens.d.ts +1 -1
  31. package/dist/cjs/components/InternalHeader/InternalHeader.types.d.ts +2 -2
  32. package/dist/cjs/components/List/List.d.ts +2 -2
  33. package/dist/cjs/components/LocalMessage/LocalMessage.d.ts +1 -1
  34. package/dist/cjs/components/LocalMessage/LocalMessage.tokens.d.ts +2 -2
  35. package/dist/cjs/components/Modal/Modal.d.ts +1 -1
  36. package/dist/cjs/components/Modal/ModalBody.d.ts +1 -1
  37. package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +1 -1
  38. package/dist/cjs/components/OverflowMenu/OverflowMenu.stories.d.ts +1 -1
  39. package/dist/cjs/components/OverflowMenu/OverflowMenu.tokens.d.ts +1 -1
  40. package/dist/cjs/components/OverflowMenu/OverflowMenu.types.d.ts +3 -3
  41. package/dist/cjs/components/OverflowMenu/OverflowMenuItem.d.ts +2 -2
  42. package/dist/cjs/components/Pagination/Pagination.d.ts +1 -1
  43. package/dist/cjs/components/Popover/Popover.d.ts +2 -2
  44. package/dist/cjs/components/Popover/Popover.stories.d.ts +1 -1
  45. package/dist/cjs/components/ProgressTracker/ProgressTracker.d.ts +1 -1
  46. package/dist/cjs/components/ProgressTracker/ProgressTracker.stories.d.ts +2 -2
  47. package/dist/cjs/components/ProgressTracker/ProgressTracker.tokens.d.ts +2 -2
  48. package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +2 -2
  49. package/dist/cjs/components/ScrollableContainer/ScrollableContainer.d.ts +1 -1
  50. package/dist/cjs/components/ScrollableContainer/Scrollbar.d.ts +1 -1
  51. package/dist/cjs/components/Search/Search.d.ts +1 -1
  52. package/dist/cjs/components/Search/Search.stories.d.ts +1 -1
  53. package/dist/cjs/components/Search/Search.tokens.d.ts +1 -1
  54. package/dist/cjs/components/Search/SearchSuggestions.d.ts +1 -1
  55. package/dist/cjs/components/Select/Select.d.ts +3 -3
  56. package/dist/cjs/components/Select/Select.styles.d.ts +2 -2
  57. package/dist/cjs/components/Select/Select.tokens.d.ts +2 -2
  58. package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.d.ts +1 -1
  59. package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.stories.d.ts +1 -1
  60. package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.types.d.ts +2 -2
  61. package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.d.ts +1 -1
  62. package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroupContext.d.ts +1 -0
  63. package/dist/{components → cjs/components/SelectionControl}/RadioButton/RadioButton.types.d.ts +1 -1
  64. package/dist/cjs/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroup.d.ts +1 -1
  65. package/dist/{components → cjs/components/SelectionControl}/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
  66. package/dist/cjs/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroupContext.d.ts +1 -0
  67. package/dist/{helpers → cjs/components}/SelectionControl/SelectionControl.styles.d.ts +1 -1
  68. package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +1 -1
  69. package/dist/cjs/components/Spinner/Spinner.d.ts +2 -2
  70. package/dist/cjs/components/SplitButton/SplitButton.d.ts +1 -1
  71. package/dist/cjs/components/Stack/Stack.d.ts +1 -1
  72. package/dist/cjs/components/Tabs/Tab.d.ts +2 -2
  73. package/dist/cjs/components/Tabs/TabPanel.d.ts +1 -1
  74. package/dist/cjs/components/Tabs/Tabs.context.d.ts +1 -1
  75. package/dist/cjs/components/Tabs/Tabs.d.ts +1 -1
  76. package/dist/cjs/components/Tabs/Tabs.stories.d.ts +2 -2
  77. package/dist/cjs/components/Tag/Tag.d.ts +1 -1
  78. package/dist/cjs/components/Tag/Tag.tokens.d.ts +1 -1
  79. package/dist/cjs/components/TextArea/TextArea.d.ts +8 -3
  80. package/dist/cjs/components/TextArea/TextArea.stories.d.ts +1 -1
  81. package/dist/cjs/components/TextInput/CharCounter.d.ts +1 -1
  82. package/dist/cjs/components/TextInput/TextInput.d.ts +3 -3
  83. package/dist/cjs/components/TextInput/TextInput.stories.d.ts +3 -3
  84. package/dist/cjs/components/TextInput/TextInput.styles.d.ts +4 -4
  85. package/dist/cjs/components/TextInput/TextInput.types.d.ts +2 -2
  86. package/dist/cjs/components/ToggleBar/ToggleBar.tokens.d.ts +1 -1
  87. package/dist/cjs/components/ToggleBar/ToggleBar.types.d.ts +1 -1
  88. package/dist/cjs/components/ToggleBar/ToggleRadio.d.ts +2 -2
  89. package/dist/cjs/components/ToggleButton/ToggleButton.d.ts +2 -2
  90. package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  91. package/dist/cjs/components/ToggleButton/ToggleButton.tokens.d.ts +1 -1
  92. package/dist/cjs/components/ToggleButton/ToggleButton.types.d.ts +3 -3
  93. package/dist/cjs/components/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  94. package/dist/cjs/components/Tooltip/Tooltip.d.ts +2 -2
  95. package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +1 -1
  96. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  97. package/dist/cjs/dds-core.d.ts +1 -0
  98. package/dist/cjs/dds-form.d.ts +2 -0
  99. package/dist/cjs/dds-icons.d.ts +2 -0
  100. package/dist/cjs/dds-typography.d.ts +2 -0
  101. package/dist/cjs/index.d.ts +6 -8
  102. package/dist/cjs/index.js +764 -3719
  103. package/dist/cjs/utils/icon.d.ts +3 -0
  104. package/dist/cjs/utils/renderInputMessage.d.ts +1 -0
  105. package/dist/components/BackLink/BackLink.js +3 -12
  106. package/dist/components/Breadcrumbs/Breadcrumb.js +1 -7
  107. package/dist/components/Breadcrumbs/Breadcrumb.tokens.d.ts +1 -1
  108. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  109. package/dist/components/Breadcrumbs/Breadcrumbs.js +5 -8
  110. package/dist/components/Button/Button.d.ts +1 -1
  111. package/dist/components/Button/Button.js +2 -2
  112. package/dist/components/Button/Button.stories.d.ts +1 -1
  113. package/dist/components/Button/Button.styles.js +3 -7
  114. package/dist/components/Button/Button.tokens.d.ts +1 -1
  115. package/dist/components/Button/Button.tokens.js +1 -2
  116. package/dist/components/Button/Button.types.d.ts +2 -2
  117. package/dist/components/Card/Card.d.ts +1 -1
  118. package/dist/components/Card/Card.js +3 -7
  119. package/dist/components/Card/CardAccordion/CardAccordion.d.ts +1 -1
  120. package/dist/components/Card/CardAccordion/CardAccordion.js +1 -1
  121. package/dist/components/Card/CardAccordion/CardAccordion.tokens.d.ts +1 -1
  122. package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +1 -1
  123. package/dist/components/Card/CardAccordion/CardAccordionBody.js +3 -4
  124. package/dist/components/Card/CardAccordion/CardAccordionHeader.d.ts +2 -2
  125. package/dist/components/Card/CardAccordion/CardAccordionHeader.js +2 -20
  126. package/dist/components/Chip/Chip.d.ts +1 -1
  127. package/dist/components/Chip/Chip.js +4 -6
  128. package/dist/components/Chip/Chip.tokens.d.ts +1 -1
  129. package/dist/components/Chip/ChipGroup.js +1 -1
  130. package/dist/components/Datepicker/Datepicker.d.ts +1 -1
  131. package/dist/components/Datepicker/Datepicker.js +5 -25
  132. package/dist/components/Datepicker/Datepicker.stories.d.ts +1 -1
  133. package/dist/components/DescriptionList/DescriptionList.d.ts +1 -1
  134. package/dist/components/DescriptionList/DescriptionList.js +1 -6
  135. package/dist/components/DescriptionList/DescriptionListDesc.d.ts +2 -2
  136. package/dist/components/DescriptionList/DescriptionListDesc.js +2 -2
  137. package/dist/components/DescriptionList/DescriptionListGroup.d.ts +1 -1
  138. package/dist/components/DescriptionList/DescriptionListGroup.js +1 -1
  139. package/dist/components/Divider/Divider.d.ts +1 -1
  140. package/dist/components/Divider/Divider.js +1 -1
  141. package/dist/components/Drawer/Drawer.d.ts +1 -1
  142. package/dist/components/Drawer/Drawer.js +4 -31
  143. package/dist/components/EmptyContent/EmptyContent.js +1 -7
  144. package/dist/components/Feedback/CommentComponent.js +3 -13
  145. package/dist/components/Feedback/Feedback.js +1 -7
  146. package/dist/components/Feedback/RatingComponent.js +2 -11
  147. package/dist/components/FileUploader/File.js +2 -5
  148. package/dist/components/FileUploader/FileUploader.js +3 -12
  149. package/dist/components/GlobalMessage/GlobalMessage.d.ts +1 -1
  150. package/dist/components/GlobalMessage/GlobalMessage.js +4 -13
  151. package/dist/components/GlobalMessage/GlobalMessage.tokens.d.ts +2 -2
  152. package/dist/components/GlobalMessage/GlobalMessage.tokens.js +1 -6
  153. package/dist/components/Grid/Grid.context.d.ts +1 -1
  154. package/dist/components/Grid/Grid.context.js +1 -3
  155. package/dist/components/Grid/Grid.d.ts +2 -2
  156. package/dist/components/Grid/Grid.js +1 -14
  157. package/dist/components/Grid/Grid.tokens.js +1 -4
  158. package/dist/components/Grid/GridChild.d.ts +2 -2
  159. package/dist/components/Grid/GridChild.js +1 -10
  160. package/dist/components/InlineEdit/InlineEdit.js +1 -5
  161. package/dist/components/InlineEdit/InlineEdit.styles.d.ts +4 -4
  162. package/dist/components/InlineEdit/InlineEdit.styles.js +1 -13
  163. package/dist/components/InlineEdit/InlineEditInput.js +1 -4
  164. package/dist/components/InlineEdit/InlineEditTextArea.js +1 -4
  165. package/dist/components/InlineEdit/InlineInput.js +4 -16
  166. package/dist/components/InlineEdit/InlineTextArea.js +4 -16
  167. package/dist/components/InputMessage/InputMessage.d.ts +1 -1
  168. package/dist/components/InputMessage/InputMessage.js +3 -11
  169. package/dist/components/InternalHeader/InternalHeader.js +3 -11
  170. package/dist/components/InternalHeader/InternalHeader.styles.d.ts +1 -1
  171. package/dist/components/InternalHeader/InternalHeader.styles.js +1 -5
  172. package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +1 -1
  173. package/dist/components/InternalHeader/InternalHeader.types.d.ts +2 -2
  174. package/dist/components/InternalHeader/NavigationItem.js +3 -7
  175. package/dist/components/List/List.d.ts +2 -2
  176. package/dist/components/List/List.js +5 -10
  177. package/dist/components/LocalMessage/LocalMessage.d.ts +1 -1
  178. package/dist/components/LocalMessage/LocalMessage.js +3 -17
  179. package/dist/components/LocalMessage/LocalMessage.tokens.d.ts +2 -2
  180. package/dist/components/LocalMessage/LocalMessage.tokens.js +1 -8
  181. package/dist/{helpers → components/Modal}/Backdrop/Backdrop.js +2 -2
  182. package/dist/components/Modal/Modal.d.ts +1 -1
  183. package/dist/components/Modal/Modal.js +6 -32
  184. package/dist/components/Modal/ModalBody.d.ts +1 -1
  185. package/dist/components/Modal/ModalBody.js +1 -1
  186. package/dist/components/OverflowMenu/OverflowMenu.d.ts +1 -1
  187. package/dist/components/OverflowMenu/OverflowMenu.js +2 -16
  188. package/dist/components/OverflowMenu/OverflowMenu.stories.d.ts +1 -1
  189. package/dist/components/OverflowMenu/OverflowMenu.tokens.d.ts +1 -1
  190. package/dist/components/OverflowMenu/OverflowMenu.tokens.js +1 -2
  191. package/dist/components/OverflowMenu/OverflowMenu.types.d.ts +3 -3
  192. package/dist/components/OverflowMenu/OverflowMenuItem.d.ts +2 -2
  193. package/dist/components/OverflowMenu/OverflowMenuItem.js +4 -14
  194. package/dist/components/Pagination/Pagination.d.ts +1 -1
  195. package/dist/components/Pagination/Pagination.js +3 -15
  196. package/dist/components/Popover/Popover.d.ts +2 -2
  197. package/dist/components/Popover/Popover.js +4 -31
  198. package/dist/components/Popover/Popover.stories.d.ts +1 -1
  199. package/dist/components/Popover/PopoverGroup.js +1 -4
  200. package/dist/components/ProgressTracker/ProgressTracker.d.ts +1 -1
  201. package/dist/components/ProgressTracker/ProgressTracker.js +1 -1
  202. package/dist/components/ProgressTracker/ProgressTracker.stories.d.ts +2 -2
  203. package/dist/components/ProgressTracker/ProgressTracker.tokens.d.ts +2 -2
  204. package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +2 -2
  205. package/dist/components/ProgressTracker/ProgressTrackerItem.js +4 -11
  206. package/dist/components/ScrollableContainer/ScrollableContainer.d.ts +1 -1
  207. package/dist/components/ScrollableContainer/ScrollableContainer.js +2 -6
  208. package/dist/components/ScrollableContainer/Scrollbar.d.ts +1 -1
  209. package/dist/components/ScrollableContainer/Scrollbar.js +1 -1
  210. package/dist/components/Search/Search.d.ts +1 -1
  211. package/dist/components/Search/Search.js +6 -26
  212. package/dist/components/Search/Search.stories.d.ts +1 -1
  213. package/dist/components/Search/Search.tokens.d.ts +1 -1
  214. package/dist/components/Search/SearchAutocompleteWrapper.js +1 -6
  215. package/dist/components/Search/SearchSuggestions.d.ts +1 -1
  216. package/dist/components/Search/SearchSuggestions.js +3 -30
  217. package/dist/components/Select/Select.d.ts +3 -3
  218. package/dist/components/Select/Select.js +5 -16
  219. package/dist/components/Select/Select.styles.d.ts +2 -2
  220. package/dist/components/Select/Select.styles.js +5 -8
  221. package/dist/components/Select/Select.tokens.d.ts +2 -2
  222. package/dist/components/Select/Select.tokens.js +1 -13
  223. package/dist/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.d.ts +1 -1
  224. package/dist/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.js +4 -22
  225. package/dist/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.stories.d.ts +1 -1
  226. package/dist/components/{Checkbox → SelectionControl/Checkbox}/Checkbox.types.d.ts +2 -2
  227. package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.d.ts +1 -1
  228. package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.js +4 -22
  229. package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroupContext.d.ts +1 -0
  230. package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButton.js +4 -21
  231. package/dist/{cjs/components → components/SelectionControl}/RadioButton/RadioButton.types.d.ts +1 -1
  232. package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroup.d.ts +1 -1
  233. package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroup.js +5 -23
  234. package/dist/{cjs/components → components/SelectionControl}/RadioButton/RadioButtonGroup.stories.d.ts +1 -1
  235. package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroupContext.d.ts +1 -0
  236. package/dist/{cjs/helpers → components}/SelectionControl/SelectionControl.styles.d.ts +1 -1
  237. package/dist/{helpers → components}/SelectionControl/SelectionControl.styles.js +5 -9
  238. package/dist/{helpers → components}/SelectionControl/SelectionControl.tokens.js +1 -6
  239. package/dist/components/SkipToContent/SkipToContent.d.ts +1 -1
  240. package/dist/components/SkipToContent/SkipToContent.js +3 -7
  241. package/dist/components/Spinner/Spinner.d.ts +2 -2
  242. package/dist/components/Spinner/Spinner.js +1 -2
  243. package/dist/components/SplitButton/SplitButton.d.ts +1 -1
  244. package/dist/components/SplitButton/SplitButton.js +1 -4
  245. package/dist/components/Stack/Stack.d.ts +1 -1
  246. package/dist/components/Stack/Stack.js +1 -1
  247. package/dist/components/Table/SortCell.js +4 -13
  248. package/dist/components/Table/Table.js +1 -5
  249. package/dist/components/Table/Table.styles.js +2 -6
  250. package/dist/components/Table/collapsible/CollapsibleRow.js +2 -18
  251. package/dist/components/Tabs/Tab.d.ts +2 -2
  252. package/dist/components/Tabs/Tab.js +4 -15
  253. package/dist/components/Tabs/TabList.js +2 -12
  254. package/dist/components/Tabs/TabPanel.d.ts +1 -1
  255. package/dist/components/Tabs/TabPanel.js +2 -6
  256. package/dist/components/Tabs/TabPanels.js +1 -4
  257. package/dist/components/Tabs/Tabs.context.d.ts +1 -1
  258. package/dist/components/Tabs/Tabs.d.ts +1 -1
  259. package/dist/components/Tabs/Tabs.js +1 -1
  260. package/dist/components/Tabs/Tabs.stories.d.ts +2 -2
  261. package/dist/components/Tag/Tag.d.ts +1 -1
  262. package/dist/components/Tag/Tag.js +3 -4
  263. package/dist/components/Tag/Tag.tokens.d.ts +1 -1
  264. package/dist/components/TextArea/TextArea.d.ts +8 -3
  265. package/dist/components/TextArea/TextArea.js +4 -16
  266. package/dist/components/TextArea/TextArea.stories.d.ts +1 -1
  267. package/dist/components/TextInput/CharCounter.d.ts +1 -1
  268. package/dist/components/TextInput/CharCounter.js +2 -8
  269. package/dist/components/TextInput/TextInput.d.ts +3 -3
  270. package/dist/components/TextInput/TextInput.js +7 -21
  271. package/dist/components/TextInput/TextInput.stories.d.ts +3 -3
  272. package/dist/components/TextInput/TextInput.styles.d.ts +4 -4
  273. package/dist/components/TextInput/TextInput.styles.js +3 -15
  274. package/dist/components/TextInput/TextInput.types.d.ts +2 -2
  275. package/dist/components/ToggleBar/ToggleBar.js +2 -15
  276. package/dist/components/ToggleBar/ToggleBar.tokens.d.ts +1 -1
  277. package/dist/components/ToggleBar/ToggleBar.tokens.js +1 -2
  278. package/dist/components/ToggleBar/ToggleBar.types.d.ts +1 -1
  279. package/dist/components/ToggleBar/ToggleRadio.d.ts +2 -2
  280. package/dist/components/ToggleBar/ToggleRadio.js +3 -13
  281. package/dist/components/ToggleBar/ToggleRadio.styles.js +3 -20
  282. package/dist/components/ToggleButton/ToggleButton.d.ts +2 -2
  283. package/dist/components/ToggleButton/ToggleButton.js +5 -20
  284. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +2 -2
  285. package/dist/components/ToggleButton/ToggleButton.tokens.d.ts +1 -1
  286. package/dist/components/ToggleButton/ToggleButton.tokens.js +1 -2
  287. package/dist/components/ToggleButton/ToggleButton.types.d.ts +3 -3
  288. package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +1 -1
  289. package/dist/components/ToggleButton/ToggleButtonGroup.js +2 -8
  290. package/dist/components/Tooltip/Tooltip.d.ts +2 -2
  291. package/dist/components/Tooltip/Tooltip.js +1 -7
  292. package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
  293. package/dist/components/Tooltip/Tooltip.styles.js +2 -20
  294. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  295. package/dist/components/VisuallyHidden/VisuallyHidden.js +1 -1
  296. package/dist/dds-core.d.ts +1 -0
  297. package/dist/dds-form.d.ts +2 -0
  298. package/dist/dds-icons.d.ts +2 -0
  299. package/dist/dds-typography.d.ts +2 -0
  300. package/dist/index.d.ts +6 -8
  301. package/dist/index.js +8 -172
  302. package/dist/utils/icon.d.ts +3 -0
  303. package/dist/utils/icon.js +12 -0
  304. package/dist/utils/renderInputMessage.d.ts +1 -0
  305. package/dist/utils/renderInputMessage.js +18 -0
  306. package/package.json +5 -1
  307. package/dist/assets/svg/openExternal.svg.js +0 -4
  308. package/dist/cjs/components/Icon/Icon.d.ts +0 -17
  309. package/dist/cjs/components/Icon/Icon.stories.d.ts +0 -21
  310. package/dist/cjs/components/Icon/index.d.ts +0 -1
  311. package/dist/cjs/components/Typography/Caption/Caption.d.ts +0 -11
  312. package/dist/cjs/components/Typography/Caption/Caption.stories.d.ts +0 -29
  313. package/dist/cjs/components/Typography/Caption/index.d.ts +0 -1
  314. package/dist/cjs/components/Typography/Heading/Heading.d.ts +0 -22
  315. package/dist/cjs/components/Typography/Heading/Heading.stories.d.ts +0 -38
  316. package/dist/cjs/components/Typography/Heading/index.d.ts +0 -1
  317. package/dist/cjs/components/Typography/Label/Label.d.ts +0 -17
  318. package/dist/cjs/components/Typography/Label/Label.stories.d.ts +0 -33
  319. package/dist/cjs/components/Typography/Label/index.d.ts +0 -1
  320. package/dist/cjs/components/Typography/Legend/Legend.d.ts +0 -11
  321. package/dist/cjs/components/Typography/Legend/Legend.stories.d.ts +0 -29
  322. package/dist/cjs/components/Typography/Legend/index.d.ts +0 -1
  323. package/dist/cjs/components/Typography/Link/Link.d.ts +0 -23
  324. package/dist/cjs/components/Typography/Link/Link.stories.d.ts +0 -48
  325. package/dist/cjs/components/Typography/Link/index.d.ts +0 -1
  326. package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +0 -17
  327. package/dist/cjs/components/Typography/Paragraph/Paragraph.stories.d.ts +0 -37
  328. package/dist/cjs/components/Typography/Paragraph/index.d.ts +0 -1
  329. package/dist/cjs/components/Typography/Typography/Typography.d.ts +0 -25
  330. package/dist/cjs/components/Typography/Typography/Typography.stories.d.ts +0 -64
  331. package/dist/cjs/components/Typography/Typography/Typography.types.d.ts +0 -36
  332. package/dist/cjs/components/Typography/Typography/index.d.ts +0 -2
  333. package/dist/cjs/components/Typography/Typography.tokens.d.ts +0 -448
  334. package/dist/cjs/components/Typography/Typography.utils.d.ts +0 -203
  335. package/dist/cjs/components/Typography/index.d.ts +0 -7
  336. package/dist/cjs/components/Typography/stories/Examples.stories.d.ts +0 -5
  337. package/dist/cjs/components/Typography/stories/TypographyComponents.stories.d.ts +0 -42
  338. package/dist/cjs/components/Typography/stories/TypographyTypes.stories.d.ts +0 -11
  339. package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.d.ts +0 -8
  340. package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +0 -7
  341. package/dist/cjs/helpers/Chevron/index.d.ts +0 -1
  342. package/dist/cjs/helpers/HiddenInput/HiddenInput.d.ts +0 -1
  343. package/dist/cjs/helpers/HiddenInput/index.d.ts +0 -1
  344. package/dist/cjs/helpers/Input/Input.styles.d.ts +0 -16
  345. package/dist/cjs/helpers/Input/Input.tokens.d.ts +0 -38
  346. package/dist/cjs/helpers/Input/Input.types.d.ts +0 -28
  347. package/dist/cjs/helpers/Input/Input.utils.d.ts +0 -5
  348. package/dist/cjs/helpers/Input/index.d.ts +0 -4
  349. package/dist/cjs/helpers/Paper/Paper.d.ts +0 -8
  350. package/dist/cjs/helpers/Paper/Paper.tokens.d.ts +0 -7
  351. package/dist/cjs/helpers/Paper/index.d.ts +0 -1
  352. package/dist/cjs/helpers/RequiredMarker/RequiredMarker.d.ts +0 -1
  353. package/dist/cjs/helpers/RequiredMarker/index.d.ts +0 -1
  354. package/dist/cjs/helpers/ScreenSize/ScreenSize.utils.d.ts +0 -7
  355. package/dist/cjs/helpers/ScreenSize/index.d.ts +0 -1
  356. package/dist/cjs/helpers/SelectionControl/index.d.ts +0 -3
  357. package/dist/cjs/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +0 -2
  358. package/dist/cjs/helpers/TextOverflowEllipsis/index.d.ts +0 -1
  359. package/dist/cjs/helpers/index.d.ts +0 -7
  360. package/dist/cjs/helpers/styling/danger.d.ts +0 -4
  361. package/dist/cjs/helpers/styling/focus.d.ts +0 -9
  362. package/dist/cjs/helpers/styling/focusVisible.d.ts +0 -37
  363. package/dist/cjs/helpers/styling/hideInput.d.ts +0 -7
  364. package/dist/cjs/helpers/styling/hover.d.ts +0 -12
  365. package/dist/cjs/helpers/styling/index.d.ts +0 -9
  366. package/dist/cjs/helpers/styling/normalize.d.ts +0 -5
  367. package/dist/cjs/helpers/styling/removeButtonStyling.d.ts +0 -9
  368. package/dist/cjs/helpers/styling/removeListStyling.d.ts +0 -5
  369. package/dist/cjs/helpers/styling/selection.d.ts +0 -4
  370. package/dist/cjs/helpers/styling/visibilityTransition.d.ts +0 -1
  371. package/dist/cjs/hooks/index.d.ts +0 -9
  372. package/dist/cjs/hooks/useCombinedRefs.d.ts +0 -20
  373. package/dist/cjs/hooks/useFloatPosition.d.ts +0 -48
  374. package/dist/cjs/hooks/useFocusTrap.d.ts +0 -16
  375. package/dist/cjs/hooks/useIsMounted.d.ts +0 -2
  376. package/dist/cjs/hooks/useMountTransition.d.ts +0 -33
  377. package/dist/cjs/hooks/useOnClickOutside.d.ts +0 -14
  378. package/dist/cjs/hooks/useOnKeyDown.d.ts +0 -14
  379. package/dist/cjs/hooks/useReturnFocusOnBlur.d.ts +0 -31
  380. package/dist/cjs/hooks/useRoveFocus.d.ts +0 -28
  381. package/dist/cjs/hooks/useScreenSize.d.ts +0 -20
  382. package/dist/cjs/icons/icons.stories.d.ts +0 -5
  383. package/dist/cjs/icons/tsx/agreement.d.ts +0 -2
  384. package/dist/cjs/icons/tsx/apps.d.ts +0 -2
  385. package/dist/cjs/icons/tsx/archive.d.ts +0 -2
  386. package/dist/cjs/icons/tsx/arrowDown.d.ts +0 -2
  387. package/dist/cjs/icons/tsx/arrowLeft.d.ts +0 -2
  388. package/dist/cjs/icons/tsx/arrowRight.d.ts +0 -2
  389. package/dist/cjs/icons/tsx/arrowUp.d.ts +0 -2
  390. package/dist/cjs/icons/tsx/attachment.d.ts +0 -2
  391. package/dist/cjs/icons/tsx/barChart.d.ts +0 -2
  392. package/dist/cjs/icons/tsx/barChartBoxed.d.ts +0 -2
  393. package/dist/cjs/icons/tsx/block.d.ts +0 -2
  394. package/dist/cjs/icons/tsx/book.d.ts +0 -2
  395. package/dist/cjs/icons/tsx/build.d.ts +0 -2
  396. package/dist/cjs/icons/tsx/buildCircled.d.ts +0 -2
  397. package/dist/cjs/icons/tsx/calendar.d.ts +0 -2
  398. package/dist/cjs/icons/tsx/calendarMonth.d.ts +0 -2
  399. package/dist/cjs/icons/tsx/calendarViewDay.d.ts +0 -2
  400. package/dist/cjs/icons/tsx/calendarViewMonth.d.ts +0 -2
  401. package/dist/cjs/icons/tsx/calendarViewWeek.d.ts +0 -2
  402. package/dist/cjs/icons/tsx/call.d.ts +0 -2
  403. package/dist/cjs/icons/tsx/caring.d.ts +0 -2
  404. package/dist/cjs/icons/tsx/chat.d.ts +0 -2
  405. package/dist/cjs/icons/tsx/check.d.ts +0 -2
  406. package/dist/cjs/icons/tsx/checkCircled.d.ts +0 -2
  407. package/dist/cjs/icons/tsx/checklist.d.ts +0 -2
  408. package/dist/cjs/icons/tsx/chevronDown.d.ts +0 -2
  409. package/dist/cjs/icons/tsx/chevronFirst.d.ts +0 -2
  410. package/dist/cjs/icons/tsx/chevronLargeLeft.d.ts +0 -2
  411. package/dist/cjs/icons/tsx/chevronLargeRight.d.ts +0 -2
  412. package/dist/cjs/icons/tsx/chevronLast.d.ts +0 -2
  413. package/dist/cjs/icons/tsx/chevronLeft.d.ts +0 -2
  414. package/dist/cjs/icons/tsx/chevronRight.d.ts +0 -2
  415. package/dist/cjs/icons/tsx/chevronUp.d.ts +0 -2
  416. package/dist/cjs/icons/tsx/close.d.ts +0 -2
  417. package/dist/cjs/icons/tsx/closeCircled.d.ts +0 -2
  418. package/dist/cjs/icons/tsx/closeSmall.d.ts +0 -2
  419. package/dist/cjs/icons/tsx/cloud.d.ts +0 -2
  420. package/dist/cjs/icons/tsx/collapse.d.ts +0 -2
  421. package/dist/cjs/icons/tsx/comment.d.ts +0 -2
  422. package/dist/cjs/icons/tsx/copy.d.ts +0 -2
  423. package/dist/cjs/icons/tsx/court.d.ts +0 -2
  424. package/dist/cjs/icons/tsx/dateRange.d.ts +0 -2
  425. package/dist/cjs/icons/tsx/deaths.d.ts +0 -2
  426. package/dist/cjs/icons/tsx/doubleChevronLeft.d.ts +0 -2
  427. package/dist/cjs/icons/tsx/doubleChevronRight.d.ts +0 -2
  428. package/dist/cjs/icons/tsx/download.d.ts +0 -2
  429. package/dist/cjs/icons/tsx/downloadDone.d.ts +0 -2
  430. package/dist/cjs/icons/tsx/dragHandle.d.ts +0 -2
  431. package/dist/cjs/icons/tsx/edit.d.ts +0 -2
  432. package/dist/cjs/icons/tsx/error.d.ts +0 -2
  433. package/dist/cjs/icons/tsx/exclaim.d.ts +0 -2
  434. package/dist/cjs/icons/tsx/expand.d.ts +0 -2
  435. package/dist/cjs/icons/tsx/facebook.d.ts +0 -2
  436. package/dist/cjs/icons/tsx/family.d.ts +0 -2
  437. package/dist/cjs/icons/tsx/feedback.d.ts +0 -2
  438. package/dist/cjs/icons/tsx/file.d.ts +0 -2
  439. package/dist/cjs/icons/tsx/fileAdd.d.ts +0 -2
  440. package/dist/cjs/icons/tsx/fileText.d.ts +0 -2
  441. package/dist/cjs/icons/tsx/filter.d.ts +0 -2
  442. package/dist/cjs/icons/tsx/filterList.d.ts +0 -2
  443. package/dist/cjs/icons/tsx/filterListOff.d.ts +0 -2
  444. package/dist/cjs/icons/tsx/filterOff.d.ts +0 -2
  445. package/dist/cjs/icons/tsx/findInPage.d.ts +0 -2
  446. package/dist/cjs/icons/tsx/folder.d.ts +0 -2
  447. package/dist/cjs/icons/tsx/folderAdd.d.ts +0 -2
  448. package/dist/cjs/icons/tsx/fullsceenExit.d.ts +0 -2
  449. package/dist/cjs/icons/tsx/fullscreen.d.ts +0 -2
  450. package/dist/cjs/icons/tsx/gavel.d.ts +0 -2
  451. package/dist/cjs/icons/tsx/help.d.ts +0 -2
  452. package/dist/cjs/icons/tsx/helpFilled.d.ts +0 -2
  453. package/dist/cjs/icons/tsx/home.d.ts +0 -2
  454. package/dist/cjs/icons/tsx/hourglassBottom.d.ts +0 -2
  455. package/dist/cjs/icons/tsx/hourglassDisabled.d.ts +0 -2
  456. package/dist/cjs/icons/tsx/hourglassEmpty.d.ts +0 -2
  457. package/dist/cjs/icons/tsx/hourglassFull.d.ts +0 -2
  458. package/dist/cjs/icons/tsx/hourglassTop.d.ts +0 -2
  459. package/dist/cjs/icons/tsx/image.d.ts +0 -2
  460. package/dist/cjs/icons/tsx/index.d.ts +0 -149
  461. package/dist/cjs/icons/tsx/info.d.ts +0 -2
  462. package/dist/cjs/icons/tsx/instagram.d.ts +0 -2
  463. package/dist/cjs/icons/tsx/jordskifterett.d.ts +0 -2
  464. package/dist/cjs/icons/tsx/key.d.ts +0 -2
  465. package/dist/cjs/icons/tsx/lagmannsrett.d.ts +0 -2
  466. package/dist/cjs/icons/tsx/language.d.ts +0 -2
  467. package/dist/cjs/icons/tsx/libraryAdd.d.ts +0 -2
  468. package/dist/cjs/icons/tsx/lineChart.d.ts +0 -2
  469. package/dist/cjs/icons/tsx/link.d.ts +0 -2
  470. package/dist/cjs/icons/tsx/linkOff.d.ts +0 -2
  471. package/dist/cjs/icons/tsx/linkedIn.d.ts +0 -2
  472. package/dist/cjs/icons/tsx/list.d.ts +0 -2
  473. package/dist/cjs/icons/tsx/listAlt.d.ts +0 -2
  474. package/dist/cjs/icons/tsx/location.d.ts +0 -2
  475. package/dist/cjs/icons/tsx/lock.d.ts +0 -2
  476. package/dist/cjs/icons/tsx/lockOpen.d.ts +0 -2
  477. package/dist/cjs/icons/tsx/login.d.ts +0 -2
  478. package/dist/cjs/icons/tsx/logout.d.ts +0 -2
  479. package/dist/cjs/icons/tsx/mail.d.ts +0 -2
  480. package/dist/cjs/icons/tsx/mailOpen.d.ts +0 -2
  481. package/dist/cjs/icons/tsx/menu.d.ts +0 -2
  482. package/dist/cjs/icons/tsx/minus.d.ts +0 -2
  483. package/dist/cjs/icons/tsx/minusCircled.d.ts +0 -2
  484. package/dist/cjs/icons/tsx/moreHorizontal.d.ts +0 -2
  485. package/dist/cjs/icons/tsx/moreVertical.d.ts +0 -2
  486. package/dist/cjs/icons/tsx/notarial.d.ts +0 -2
  487. package/dist/cjs/icons/tsx/notifications.d.ts +0 -2
  488. package/dist/cjs/icons/tsx/notificationsOff.d.ts +0 -2
  489. package/dist/cjs/icons/tsx/onlineMeeting.d.ts +0 -2
  490. package/dist/cjs/icons/tsx/openExternal.d.ts +0 -2
  491. package/dist/cjs/icons/tsx/payout.d.ts +0 -2
  492. package/dist/cjs/icons/tsx/pdf.d.ts +0 -2
  493. package/dist/cjs/icons/tsx/person.d.ts +0 -2
  494. package/dist/cjs/icons/tsx/personAdd.d.ts +0 -2
  495. package/dist/cjs/icons/tsx/pin.d.ts +0 -2
  496. package/dist/cjs/icons/tsx/plus.d.ts +0 -2
  497. package/dist/cjs/icons/tsx/plusCircled.d.ts +0 -2
  498. package/dist/cjs/icons/tsx/print.d.ts +0 -2
  499. package/dist/cjs/icons/tsx/property.d.ts +0 -2
  500. package/dist/cjs/icons/tsx/publish.d.ts +0 -2
  501. package/dist/cjs/icons/tsx/questionAnswer.d.ts +0 -2
  502. package/dist/cjs/icons/tsx/receipt.d.ts +0 -2
  503. package/dist/cjs/icons/tsx/redo.d.ts +0 -2
  504. package/dist/cjs/icons/tsx/refresh.d.ts +0 -2
  505. package/dist/cjs/icons/tsx/replay.d.ts +0 -2
  506. package/dist/cjs/icons/tsx/search.d.ts +0 -2
  507. package/dist/cjs/icons/tsx/settings.d.ts +0 -2
  508. package/dist/cjs/icons/tsx/sms.d.ts +0 -2
  509. package/dist/cjs/icons/tsx/star.d.ts +0 -2
  510. package/dist/cjs/icons/tsx/starFilled.d.ts +0 -2
  511. package/dist/cjs/icons/tsx/starHalfFilled.d.ts +0 -2
  512. package/dist/cjs/icons/tsx/sync.d.ts +0 -2
  513. package/dist/cjs/icons/tsx/thumbdown.d.ts +0 -2
  514. package/dist/cjs/icons/tsx/thumbdownFilled.d.ts +0 -2
  515. package/dist/cjs/icons/tsx/thumbup.d.ts +0 -2
  516. package/dist/cjs/icons/tsx/thumbupFilled.d.ts +0 -2
  517. package/dist/cjs/icons/tsx/time.d.ts +0 -2
  518. package/dist/cjs/icons/tsx/tingrett.d.ts +0 -2
  519. package/dist/cjs/icons/tsx/tip.d.ts +0 -2
  520. package/dist/cjs/icons/tsx/trash.d.ts +0 -2
  521. package/dist/cjs/icons/tsx/trendingDown.d.ts +0 -2
  522. package/dist/cjs/icons/tsx/trendingUp.d.ts +0 -2
  523. package/dist/cjs/icons/tsx/twitter.d.ts +0 -2
  524. package/dist/cjs/icons/tsx/undo.d.ts +0 -2
  525. package/dist/cjs/icons/tsx/unfoldLess.d.ts +0 -2
  526. package/dist/cjs/icons/tsx/unfoldMore.d.ts +0 -2
  527. package/dist/cjs/icons/tsx/upload.d.ts +0 -2
  528. package/dist/cjs/icons/tsx/visibilityOff.d.ts +0 -2
  529. package/dist/cjs/icons/tsx/visibilityOn.d.ts +0 -2
  530. package/dist/cjs/icons/tsx/warning.d.ts +0 -2
  531. package/dist/cjs/icons/tsx/zoomIn.d.ts +0 -2
  532. package/dist/cjs/icons/tsx/zoomOut.d.ts +0 -2
  533. package/dist/cjs/icons/utils/StyledSvg.d.ts +0 -4
  534. package/dist/cjs/icons/utils/SvgWrapper.d.ts +0 -2
  535. package/dist/cjs/icons/utils/index.d.ts +0 -2
  536. package/dist/cjs/icons/utils/propTypes.d.ts +0 -5
  537. package/dist/cjs/types/BaseComponentProps.d.ts +0 -58
  538. package/dist/cjs/types/CheckboxPickedHTMLAttributes.d.ts +0 -2
  539. package/dist/cjs/types/Direction.d.ts +0 -1
  540. package/dist/cjs/types/index.d.ts +0 -4
  541. package/dist/cjs/types/utils.d.ts +0 -15
  542. package/dist/cjs/utils/color.d.ts +0 -30
  543. package/dist/cjs/utils/combineHandlers.d.ts +0 -1
  544. package/dist/cjs/utils/getFocusableElements.d.ts +0 -2
  545. package/dist/cjs/utils/getScrollbarSize.d.ts +0 -1
  546. package/dist/cjs/utils/idGenerator.d.ts +0 -2
  547. package/dist/cjs/utils/index.d.ts +0 -7
  548. package/dist/cjs/utils/searchFilter.d.ts +0 -2
  549. package/dist/cjs/utils/text.d.ts +0 -2
  550. package/dist/components/Icon/Icon.d.ts +0 -17
  551. package/dist/components/Icon/Icon.js +0 -44
  552. package/dist/components/Icon/Icon.stories.d.ts +0 -21
  553. package/dist/components/Icon/index.d.ts +0 -1
  554. package/dist/components/Typography/Caption/Caption.d.ts +0 -11
  555. package/dist/components/Typography/Caption/Caption.js +0 -22
  556. package/dist/components/Typography/Caption/Caption.stories.d.ts +0 -29
  557. package/dist/components/Typography/Caption/index.d.ts +0 -1
  558. package/dist/components/Typography/Heading/Heading.d.ts +0 -22
  559. package/dist/components/Typography/Heading/Heading.js +0 -48
  560. package/dist/components/Typography/Heading/Heading.stories.d.ts +0 -38
  561. package/dist/components/Typography/Heading/index.d.ts +0 -1
  562. package/dist/components/Typography/Label/Label.d.ts +0 -17
  563. package/dist/components/Typography/Label/Label.js +0 -33
  564. package/dist/components/Typography/Label/Label.stories.d.ts +0 -33
  565. package/dist/components/Typography/Label/index.d.ts +0 -1
  566. package/dist/components/Typography/Legend/Legend.d.ts +0 -11
  567. package/dist/components/Typography/Legend/Legend.js +0 -22
  568. package/dist/components/Typography/Legend/Legend.stories.d.ts +0 -29
  569. package/dist/components/Typography/Legend/index.d.ts +0 -1
  570. package/dist/components/Typography/Link/Link.d.ts +0 -23
  571. package/dist/components/Typography/Link/Link.js +0 -39
  572. package/dist/components/Typography/Link/Link.stories.d.ts +0 -48
  573. package/dist/components/Typography/Link/index.d.ts +0 -1
  574. package/dist/components/Typography/Paragraph/Paragraph.d.ts +0 -17
  575. package/dist/components/Typography/Paragraph/Paragraph.js +0 -25
  576. package/dist/components/Typography/Paragraph/Paragraph.stories.d.ts +0 -37
  577. package/dist/components/Typography/Paragraph/index.d.ts +0 -1
  578. package/dist/components/Typography/Typography/Typography.d.ts +0 -25
  579. package/dist/components/Typography/Typography/Typography.js +0 -86
  580. package/dist/components/Typography/Typography/Typography.stories.d.ts +0 -64
  581. package/dist/components/Typography/Typography/Typography.types.d.ts +0 -36
  582. package/dist/components/Typography/Typography/index.d.ts +0 -2
  583. package/dist/components/Typography/Typography.tokens.d.ts +0 -448
  584. package/dist/components/Typography/Typography.tokens.js +0 -314
  585. package/dist/components/Typography/Typography.utils.d.ts +0 -203
  586. package/dist/components/Typography/Typography.utils.js +0 -69
  587. package/dist/components/Typography/index.d.ts +0 -7
  588. package/dist/components/Typography/stories/Examples.stories.d.ts +0 -5
  589. package/dist/components/Typography/stories/TypographyComponents.stories.d.ts +0 -42
  590. package/dist/components/Typography/stories/TypographyTypes.stories.d.ts +0 -11
  591. package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +0 -8
  592. package/dist/helpers/Chevron/AnimatedChevronUpDown.js +0 -31
  593. package/dist/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +0 -7
  594. package/dist/helpers/Chevron/AnimatedChevronUpDown.styles.js +0 -29
  595. package/dist/helpers/Chevron/index.d.ts +0 -1
  596. package/dist/helpers/HiddenInput/HiddenInput.d.ts +0 -1
  597. package/dist/helpers/HiddenInput/HiddenInput.js +0 -8
  598. package/dist/helpers/HiddenInput/index.d.ts +0 -1
  599. package/dist/helpers/Input/Input.styles.d.ts +0 -16
  600. package/dist/helpers/Input/Input.styles.js +0 -51
  601. package/dist/helpers/Input/Input.tokens.d.ts +0 -38
  602. package/dist/helpers/Input/Input.tokens.js +0 -51
  603. package/dist/helpers/Input/Input.types.d.ts +0 -28
  604. package/dist/helpers/Input/Input.utils.d.ts +0 -5
  605. package/dist/helpers/Input/Input.utils.js +0 -37
  606. package/dist/helpers/Input/index.d.ts +0 -4
  607. package/dist/helpers/Paper/Paper.d.ts +0 -8
  608. package/dist/helpers/Paper/Paper.js +0 -43
  609. package/dist/helpers/Paper/Paper.tokens.d.ts +0 -7
  610. package/dist/helpers/Paper/Paper.tokens.js +0 -15
  611. package/dist/helpers/Paper/index.d.ts +0 -1
  612. package/dist/helpers/RequiredMarker/RequiredMarker.d.ts +0 -1
  613. package/dist/helpers/RequiredMarker/RequiredMarker.js +0 -15
  614. package/dist/helpers/RequiredMarker/index.d.ts +0 -1
  615. package/dist/helpers/ScreenSize/ScreenSize.utils.d.ts +0 -7
  616. package/dist/helpers/ScreenSize/ScreenSize.utils.js +0 -21
  617. package/dist/helpers/ScreenSize/index.d.ts +0 -1
  618. package/dist/helpers/SelectionControl/index.d.ts +0 -3
  619. package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +0 -2
  620. package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.js +0 -12
  621. package/dist/helpers/TextOverflowEllipsis/index.d.ts +0 -1
  622. package/dist/helpers/index.d.ts +0 -7
  623. package/dist/helpers/styling/danger.d.ts +0 -4
  624. package/dist/helpers/styling/danger.js +0 -9
  625. package/dist/helpers/styling/focus.d.ts +0 -9
  626. package/dist/helpers/styling/focus.js +0 -14
  627. package/dist/helpers/styling/focusVisible.d.ts +0 -37
  628. package/dist/helpers/styling/focusVisible.js +0 -44
  629. package/dist/helpers/styling/hideInput.d.ts +0 -7
  630. package/dist/helpers/styling/hover.d.ts +0 -12
  631. package/dist/helpers/styling/hover.js +0 -18
  632. package/dist/helpers/styling/index.d.ts +0 -9
  633. package/dist/helpers/styling/normalize.d.ts +0 -5
  634. package/dist/helpers/styling/normalize.js +0 -6
  635. package/dist/helpers/styling/removeButtonStyling.d.ts +0 -9
  636. package/dist/helpers/styling/removeButtonStyling.js +0 -11
  637. package/dist/helpers/styling/removeListStyling.d.ts +0 -5
  638. package/dist/helpers/styling/removeListStyling.js +0 -7
  639. package/dist/helpers/styling/selection.d.ts +0 -4
  640. package/dist/helpers/styling/selection.js +0 -9
  641. package/dist/helpers/styling/visibilityTransition.d.ts +0 -1
  642. package/dist/helpers/styling/visibilityTransition.js +0 -7
  643. package/dist/hooks/index.d.ts +0 -9
  644. package/dist/hooks/useCombinedRefs.d.ts +0 -20
  645. package/dist/hooks/useCombinedRefs.js +0 -33
  646. package/dist/hooks/useFloatPosition.d.ts +0 -48
  647. package/dist/hooks/useFloatPosition.js +0 -91
  648. package/dist/hooks/useFocusTrap.d.ts +0 -16
  649. package/dist/hooks/useFocusTrap.js +0 -48
  650. package/dist/hooks/useIsMounted.d.ts +0 -2
  651. package/dist/hooks/useIsMounted.js +0 -16
  652. package/dist/hooks/useMountTransition.d.ts +0 -33
  653. package/dist/hooks/useMountTransition.js +0 -55
  654. package/dist/hooks/useOnClickOutside.d.ts +0 -14
  655. package/dist/hooks/useOnClickOutside.js +0 -38
  656. package/dist/hooks/useOnKeyDown.d.ts +0 -14
  657. package/dist/hooks/useOnKeyDown.js +0 -31
  658. package/dist/hooks/useReturnFocusOnBlur.d.ts +0 -31
  659. package/dist/hooks/useReturnFocusOnBlur.js +0 -60
  660. package/dist/hooks/useRoveFocus.d.ts +0 -28
  661. package/dist/hooks/useRoveFocus.js +0 -63
  662. package/dist/hooks/useScreenSize.d.ts +0 -20
  663. package/dist/hooks/useScreenSize.js +0 -61
  664. package/dist/icons/icons.stories.d.ts +0 -5
  665. package/dist/icons/tsx/agreement.d.ts +0 -2
  666. package/dist/icons/tsx/agreement.js +0 -12
  667. package/dist/icons/tsx/apps.d.ts +0 -2
  668. package/dist/icons/tsx/apps.js +0 -12
  669. package/dist/icons/tsx/archive.d.ts +0 -2
  670. package/dist/icons/tsx/archive.js +0 -14
  671. package/dist/icons/tsx/arrowDown.d.ts +0 -2
  672. package/dist/icons/tsx/arrowDown.js +0 -12
  673. package/dist/icons/tsx/arrowLeft.d.ts +0 -2
  674. package/dist/icons/tsx/arrowLeft.js +0 -12
  675. package/dist/icons/tsx/arrowRight.d.ts +0 -2
  676. package/dist/icons/tsx/arrowRight.js +0 -12
  677. package/dist/icons/tsx/arrowUp.d.ts +0 -2
  678. package/dist/icons/tsx/arrowUp.js +0 -12
  679. package/dist/icons/tsx/attachment.d.ts +0 -2
  680. package/dist/icons/tsx/attachment.js +0 -12
  681. package/dist/icons/tsx/barChart.d.ts +0 -2
  682. package/dist/icons/tsx/barChart.js +0 -12
  683. package/dist/icons/tsx/barChartBoxed.d.ts +0 -2
  684. package/dist/icons/tsx/barChartBoxed.js +0 -12
  685. package/dist/icons/tsx/block.d.ts +0 -2
  686. package/dist/icons/tsx/block.js +0 -12
  687. package/dist/icons/tsx/book.d.ts +0 -2
  688. package/dist/icons/tsx/book.js +0 -14
  689. package/dist/icons/tsx/build.d.ts +0 -2
  690. package/dist/icons/tsx/build.js +0 -12
  691. package/dist/icons/tsx/buildCircled.d.ts +0 -2
  692. package/dist/icons/tsx/buildCircled.js +0 -18
  693. package/dist/icons/tsx/calendar.d.ts +0 -2
  694. package/dist/icons/tsx/calendar.js +0 -12
  695. package/dist/icons/tsx/calendarMonth.d.ts +0 -2
  696. package/dist/icons/tsx/calendarMonth.js +0 -12
  697. package/dist/icons/tsx/calendarViewDay.d.ts +0 -2
  698. package/dist/icons/tsx/calendarViewDay.js +0 -12
  699. package/dist/icons/tsx/calendarViewMonth.d.ts +0 -2
  700. package/dist/icons/tsx/calendarViewMonth.js +0 -12
  701. package/dist/icons/tsx/calendarViewWeek.d.ts +0 -2
  702. package/dist/icons/tsx/calendarViewWeek.js +0 -12
  703. package/dist/icons/tsx/call.d.ts +0 -2
  704. package/dist/icons/tsx/call.js +0 -12
  705. package/dist/icons/tsx/caring.d.ts +0 -2
  706. package/dist/icons/tsx/caring.js +0 -12
  707. package/dist/icons/tsx/chat.d.ts +0 -2
  708. package/dist/icons/tsx/chat.js +0 -12
  709. package/dist/icons/tsx/check.d.ts +0 -2
  710. package/dist/icons/tsx/check.js +0 -12
  711. package/dist/icons/tsx/checkCircled.d.ts +0 -2
  712. package/dist/icons/tsx/checkCircled.js +0 -12
  713. package/dist/icons/tsx/checklist.d.ts +0 -2
  714. package/dist/icons/tsx/checklist.js +0 -12
  715. package/dist/icons/tsx/chevronDown.d.ts +0 -2
  716. package/dist/icons/tsx/chevronDown.js +0 -12
  717. package/dist/icons/tsx/chevronFirst.d.ts +0 -2
  718. package/dist/icons/tsx/chevronFirst.js +0 -12
  719. package/dist/icons/tsx/chevronLargeLeft.d.ts +0 -2
  720. package/dist/icons/tsx/chevronLargeLeft.js +0 -12
  721. package/dist/icons/tsx/chevronLargeRight.d.ts +0 -2
  722. package/dist/icons/tsx/chevronLargeRight.js +0 -12
  723. package/dist/icons/tsx/chevronLast.d.ts +0 -2
  724. package/dist/icons/tsx/chevronLast.js +0 -12
  725. package/dist/icons/tsx/chevronLeft.d.ts +0 -2
  726. package/dist/icons/tsx/chevronLeft.js +0 -12
  727. package/dist/icons/tsx/chevronRight.d.ts +0 -2
  728. package/dist/icons/tsx/chevronRight.js +0 -12
  729. package/dist/icons/tsx/chevronUp.d.ts +0 -2
  730. package/dist/icons/tsx/chevronUp.js +0 -12
  731. package/dist/icons/tsx/close.d.ts +0 -2
  732. package/dist/icons/tsx/close.js +0 -12
  733. package/dist/icons/tsx/closeCircled.d.ts +0 -2
  734. package/dist/icons/tsx/closeCircled.js +0 -12
  735. package/dist/icons/tsx/closeSmall.d.ts +0 -2
  736. package/dist/icons/tsx/closeSmall.js +0 -12
  737. package/dist/icons/tsx/cloud.d.ts +0 -2
  738. package/dist/icons/tsx/cloud.js +0 -12
  739. package/dist/icons/tsx/collapse.d.ts +0 -2
  740. package/dist/icons/tsx/collapse.js +0 -12
  741. package/dist/icons/tsx/comment.d.ts +0 -2
  742. package/dist/icons/tsx/comment.js +0 -12
  743. package/dist/icons/tsx/copy.d.ts +0 -2
  744. package/dist/icons/tsx/copy.js +0 -12
  745. package/dist/icons/tsx/court.d.ts +0 -2
  746. package/dist/icons/tsx/court.js +0 -12
  747. package/dist/icons/tsx/dateRange.d.ts +0 -2
  748. package/dist/icons/tsx/dateRange.js +0 -12
  749. package/dist/icons/tsx/deaths.d.ts +0 -2
  750. package/dist/icons/tsx/deaths.js +0 -12
  751. package/dist/icons/tsx/doubleChevronLeft.d.ts +0 -2
  752. package/dist/icons/tsx/doubleChevronLeft.js +0 -12
  753. package/dist/icons/tsx/doubleChevronRight.d.ts +0 -2
  754. package/dist/icons/tsx/doubleChevronRight.js +0 -12
  755. package/dist/icons/tsx/download.d.ts +0 -2
  756. package/dist/icons/tsx/download.js +0 -12
  757. package/dist/icons/tsx/downloadDone.d.ts +0 -2
  758. package/dist/icons/tsx/downloadDone.js +0 -12
  759. package/dist/icons/tsx/dragHandle.d.ts +0 -2
  760. package/dist/icons/tsx/dragHandle.js +0 -12
  761. package/dist/icons/tsx/edit.d.ts +0 -2
  762. package/dist/icons/tsx/edit.js +0 -12
  763. package/dist/icons/tsx/error.d.ts +0 -2
  764. package/dist/icons/tsx/error.js +0 -12
  765. package/dist/icons/tsx/exclaim.d.ts +0 -2
  766. package/dist/icons/tsx/exclaim.js +0 -12
  767. package/dist/icons/tsx/expand.d.ts +0 -2
  768. package/dist/icons/tsx/expand.js +0 -12
  769. package/dist/icons/tsx/facebook.d.ts +0 -2
  770. package/dist/icons/tsx/facebook.js +0 -12
  771. package/dist/icons/tsx/family.d.ts +0 -2
  772. package/dist/icons/tsx/family.js +0 -12
  773. package/dist/icons/tsx/feedback.d.ts +0 -2
  774. package/dist/icons/tsx/feedback.js +0 -12
  775. package/dist/icons/tsx/file.d.ts +0 -2
  776. package/dist/icons/tsx/file.js +0 -12
  777. package/dist/icons/tsx/fileAdd.d.ts +0 -2
  778. package/dist/icons/tsx/fileAdd.js +0 -12
  779. package/dist/icons/tsx/fileText.d.ts +0 -2
  780. package/dist/icons/tsx/fileText.js +0 -12
  781. package/dist/icons/tsx/filter.d.ts +0 -2
  782. package/dist/icons/tsx/filter.js +0 -12
  783. package/dist/icons/tsx/filterList.d.ts +0 -2
  784. package/dist/icons/tsx/filterList.js +0 -12
  785. package/dist/icons/tsx/filterListOff.d.ts +0 -2
  786. package/dist/icons/tsx/filterListOff.js +0 -12
  787. package/dist/icons/tsx/filterOff.d.ts +0 -2
  788. package/dist/icons/tsx/filterOff.js +0 -12
  789. package/dist/icons/tsx/findInPage.d.ts +0 -2
  790. package/dist/icons/tsx/findInPage.js +0 -12
  791. package/dist/icons/tsx/folder.d.ts +0 -2
  792. package/dist/icons/tsx/folder.js +0 -12
  793. package/dist/icons/tsx/folderAdd.d.ts +0 -2
  794. package/dist/icons/tsx/folderAdd.js +0 -12
  795. package/dist/icons/tsx/fullsceenExit.d.ts +0 -2
  796. package/dist/icons/tsx/fullsceenExit.js +0 -12
  797. package/dist/icons/tsx/fullscreen.d.ts +0 -2
  798. package/dist/icons/tsx/fullscreen.js +0 -12
  799. package/dist/icons/tsx/gavel.d.ts +0 -2
  800. package/dist/icons/tsx/gavel.js +0 -18
  801. package/dist/icons/tsx/help.d.ts +0 -2
  802. package/dist/icons/tsx/help.js +0 -12
  803. package/dist/icons/tsx/helpFilled.d.ts +0 -2
  804. package/dist/icons/tsx/helpFilled.js +0 -12
  805. package/dist/icons/tsx/home.d.ts +0 -2
  806. package/dist/icons/tsx/home.js +0 -12
  807. package/dist/icons/tsx/hourglassBottom.d.ts +0 -2
  808. package/dist/icons/tsx/hourglassBottom.js +0 -12
  809. package/dist/icons/tsx/hourglassDisabled.d.ts +0 -2
  810. package/dist/icons/tsx/hourglassDisabled.js +0 -12
  811. package/dist/icons/tsx/hourglassEmpty.d.ts +0 -2
  812. package/dist/icons/tsx/hourglassEmpty.js +0 -12
  813. package/dist/icons/tsx/hourglassFull.d.ts +0 -2
  814. package/dist/icons/tsx/hourglassFull.js +0 -12
  815. package/dist/icons/tsx/hourglassTop.d.ts +0 -2
  816. package/dist/icons/tsx/hourglassTop.js +0 -12
  817. package/dist/icons/tsx/image.d.ts +0 -2
  818. package/dist/icons/tsx/image.js +0 -12
  819. package/dist/icons/tsx/index.d.ts +0 -149
  820. package/dist/icons/tsx/info.d.ts +0 -2
  821. package/dist/icons/tsx/info.js +0 -12
  822. package/dist/icons/tsx/instagram.d.ts +0 -2
  823. package/dist/icons/tsx/instagram.js +0 -12
  824. package/dist/icons/tsx/jordskifterett.d.ts +0 -2
  825. package/dist/icons/tsx/jordskifterett.js +0 -24
  826. package/dist/icons/tsx/key.d.ts +0 -2
  827. package/dist/icons/tsx/key.js +0 -12
  828. package/dist/icons/tsx/lagmannsrett.d.ts +0 -2
  829. package/dist/icons/tsx/lagmannsrett.js +0 -12
  830. package/dist/icons/tsx/language.d.ts +0 -2
  831. package/dist/icons/tsx/language.js +0 -12
  832. package/dist/icons/tsx/libraryAdd.d.ts +0 -2
  833. package/dist/icons/tsx/libraryAdd.js +0 -12
  834. package/dist/icons/tsx/lineChart.d.ts +0 -2
  835. package/dist/icons/tsx/lineChart.js +0 -12
  836. package/dist/icons/tsx/link.d.ts +0 -2
  837. package/dist/icons/tsx/link.js +0 -12
  838. package/dist/icons/tsx/linkOff.d.ts +0 -2
  839. package/dist/icons/tsx/linkOff.js +0 -12
  840. package/dist/icons/tsx/linkedIn.d.ts +0 -2
  841. package/dist/icons/tsx/linkedIn.js +0 -14
  842. package/dist/icons/tsx/list.d.ts +0 -2
  843. package/dist/icons/tsx/list.js +0 -12
  844. package/dist/icons/tsx/listAlt.d.ts +0 -2
  845. package/dist/icons/tsx/listAlt.js +0 -12
  846. package/dist/icons/tsx/location.d.ts +0 -2
  847. package/dist/icons/tsx/location.js +0 -12
  848. package/dist/icons/tsx/lock.d.ts +0 -2
  849. package/dist/icons/tsx/lock.js +0 -12
  850. package/dist/icons/tsx/lockOpen.d.ts +0 -2
  851. package/dist/icons/tsx/lockOpen.js +0 -12
  852. package/dist/icons/tsx/login.d.ts +0 -2
  853. package/dist/icons/tsx/login.js +0 -12
  854. package/dist/icons/tsx/logout.d.ts +0 -2
  855. package/dist/icons/tsx/logout.js +0 -12
  856. package/dist/icons/tsx/mail.d.ts +0 -2
  857. package/dist/icons/tsx/mail.js +0 -12
  858. package/dist/icons/tsx/mailOpen.d.ts +0 -2
  859. package/dist/icons/tsx/mailOpen.js +0 -12
  860. package/dist/icons/tsx/menu.d.ts +0 -2
  861. package/dist/icons/tsx/menu.js +0 -12
  862. package/dist/icons/tsx/minus.d.ts +0 -2
  863. package/dist/icons/tsx/minus.js +0 -12
  864. package/dist/icons/tsx/minusCircled.d.ts +0 -2
  865. package/dist/icons/tsx/minusCircled.js +0 -12
  866. package/dist/icons/tsx/moreHorizontal.d.ts +0 -2
  867. package/dist/icons/tsx/moreHorizontal.js +0 -12
  868. package/dist/icons/tsx/moreVertical.d.ts +0 -2
  869. package/dist/icons/tsx/moreVertical.js +0 -12
  870. package/dist/icons/tsx/notarial.d.ts +0 -2
  871. package/dist/icons/tsx/notarial.js +0 -12
  872. package/dist/icons/tsx/notifications.d.ts +0 -2
  873. package/dist/icons/tsx/notifications.js +0 -12
  874. package/dist/icons/tsx/notificationsOff.d.ts +0 -2
  875. package/dist/icons/tsx/notificationsOff.js +0 -12
  876. package/dist/icons/tsx/onlineMeeting.d.ts +0 -2
  877. package/dist/icons/tsx/onlineMeeting.js +0 -12
  878. package/dist/icons/tsx/openExternal.d.ts +0 -2
  879. package/dist/icons/tsx/openExternal.js +0 -12
  880. package/dist/icons/tsx/payout.d.ts +0 -2
  881. package/dist/icons/tsx/payout.js +0 -12
  882. package/dist/icons/tsx/pdf.d.ts +0 -2
  883. package/dist/icons/tsx/pdf.js +0 -12
  884. package/dist/icons/tsx/person.d.ts +0 -2
  885. package/dist/icons/tsx/person.js +0 -12
  886. package/dist/icons/tsx/personAdd.d.ts +0 -2
  887. package/dist/icons/tsx/personAdd.js +0 -12
  888. package/dist/icons/tsx/pin.d.ts +0 -2
  889. package/dist/icons/tsx/pin.js +0 -12
  890. package/dist/icons/tsx/plus.d.ts +0 -2
  891. package/dist/icons/tsx/plus.js +0 -12
  892. package/dist/icons/tsx/plusCircled.d.ts +0 -2
  893. package/dist/icons/tsx/plusCircled.js +0 -12
  894. package/dist/icons/tsx/print.d.ts +0 -2
  895. package/dist/icons/tsx/print.js +0 -14
  896. package/dist/icons/tsx/property.d.ts +0 -2
  897. package/dist/icons/tsx/property.js +0 -14
  898. package/dist/icons/tsx/publish.d.ts +0 -2
  899. package/dist/icons/tsx/publish.js +0 -12
  900. package/dist/icons/tsx/questionAnswer.d.ts +0 -2
  901. package/dist/icons/tsx/questionAnswer.js +0 -12
  902. package/dist/icons/tsx/receipt.d.ts +0 -2
  903. package/dist/icons/tsx/receipt.js +0 -12
  904. package/dist/icons/tsx/redo.d.ts +0 -2
  905. package/dist/icons/tsx/redo.js +0 -12
  906. package/dist/icons/tsx/refresh.d.ts +0 -2
  907. package/dist/icons/tsx/refresh.js +0 -12
  908. package/dist/icons/tsx/replay.d.ts +0 -2
  909. package/dist/icons/tsx/replay.js +0 -12
  910. package/dist/icons/tsx/search.d.ts +0 -2
  911. package/dist/icons/tsx/search.js +0 -12
  912. package/dist/icons/tsx/settings.d.ts +0 -2
  913. package/dist/icons/tsx/settings.js +0 -12
  914. package/dist/icons/tsx/sms.d.ts +0 -2
  915. package/dist/icons/tsx/sms.js +0 -12
  916. package/dist/icons/tsx/star.d.ts +0 -2
  917. package/dist/icons/tsx/star.js +0 -12
  918. package/dist/icons/tsx/starFilled.d.ts +0 -2
  919. package/dist/icons/tsx/starFilled.js +0 -12
  920. package/dist/icons/tsx/starHalfFilled.d.ts +0 -2
  921. package/dist/icons/tsx/starHalfFilled.js +0 -12
  922. package/dist/icons/tsx/sync.d.ts +0 -2
  923. package/dist/icons/tsx/sync.js +0 -12
  924. package/dist/icons/tsx/thumbdown.d.ts +0 -2
  925. package/dist/icons/tsx/thumbdown.js +0 -12
  926. package/dist/icons/tsx/thumbdownFilled.d.ts +0 -2
  927. package/dist/icons/tsx/thumbdownFilled.js +0 -12
  928. package/dist/icons/tsx/thumbup.d.ts +0 -2
  929. package/dist/icons/tsx/thumbup.js +0 -12
  930. package/dist/icons/tsx/thumbupFilled.d.ts +0 -2
  931. package/dist/icons/tsx/thumbupFilled.js +0 -12
  932. package/dist/icons/tsx/time.d.ts +0 -2
  933. package/dist/icons/tsx/time.js +0 -12
  934. package/dist/icons/tsx/tingrett.d.ts +0 -2
  935. package/dist/icons/tsx/tingrett.js +0 -12
  936. package/dist/icons/tsx/tip.d.ts +0 -2
  937. package/dist/icons/tsx/tip.js +0 -12
  938. package/dist/icons/tsx/trash.d.ts +0 -2
  939. package/dist/icons/tsx/trash.js +0 -12
  940. package/dist/icons/tsx/trendingDown.d.ts +0 -2
  941. package/dist/icons/tsx/trendingDown.js +0 -12
  942. package/dist/icons/tsx/trendingUp.d.ts +0 -2
  943. package/dist/icons/tsx/trendingUp.js +0 -12
  944. package/dist/icons/tsx/twitter.d.ts +0 -2
  945. package/dist/icons/tsx/twitter.js +0 -12
  946. package/dist/icons/tsx/undo.d.ts +0 -2
  947. package/dist/icons/tsx/undo.js +0 -12
  948. package/dist/icons/tsx/unfoldLess.d.ts +0 -2
  949. package/dist/icons/tsx/unfoldLess.js +0 -12
  950. package/dist/icons/tsx/unfoldMore.d.ts +0 -2
  951. package/dist/icons/tsx/unfoldMore.js +0 -12
  952. package/dist/icons/tsx/upload.d.ts +0 -2
  953. package/dist/icons/tsx/upload.js +0 -12
  954. package/dist/icons/tsx/visibilityOff.d.ts +0 -2
  955. package/dist/icons/tsx/visibilityOff.js +0 -12
  956. package/dist/icons/tsx/visibilityOn.d.ts +0 -2
  957. package/dist/icons/tsx/visibilityOn.js +0 -12
  958. package/dist/icons/tsx/warning.d.ts +0 -2
  959. package/dist/icons/tsx/warning.js +0 -14
  960. package/dist/icons/tsx/zoomIn.d.ts +0 -2
  961. package/dist/icons/tsx/zoomIn.js +0 -12
  962. package/dist/icons/tsx/zoomOut.d.ts +0 -2
  963. package/dist/icons/tsx/zoomOut.js +0 -12
  964. package/dist/icons/utils/StyledSvg.d.ts +0 -4
  965. package/dist/icons/utils/StyledSvg.js +0 -21
  966. package/dist/icons/utils/SvgWrapper.d.ts +0 -2
  967. package/dist/icons/utils/SvgWrapper.js +0 -16
  968. package/dist/icons/utils/index.d.ts +0 -2
  969. package/dist/icons/utils/propTypes.d.ts +0 -5
  970. package/dist/types/BaseComponentProps.d.ts +0 -58
  971. package/dist/types/BaseComponentProps.js +0 -66
  972. package/dist/types/CheckboxPickedHTMLAttributes.d.ts +0 -2
  973. package/dist/types/Direction.d.ts +0 -1
  974. package/dist/types/index.d.ts +0 -4
  975. package/dist/types/utils.d.ts +0 -15
  976. package/dist/utils/color.d.ts +0 -30
  977. package/dist/utils/color.js +0 -38
  978. package/dist/utils/combineHandlers.d.ts +0 -1
  979. package/dist/utils/combineHandlers.js +0 -9
  980. package/dist/utils/getFocusableElements.d.ts +0 -2
  981. package/dist/utils/getFocusableElements.js +0 -5
  982. package/dist/utils/getScrollbarSize.d.ts +0 -1
  983. package/dist/utils/idGenerator.d.ts +0 -2
  984. package/dist/utils/idGenerator.js +0 -9
  985. package/dist/utils/index.d.ts +0 -7
  986. package/dist/utils/searchFilter.d.ts +0 -2
  987. package/dist/utils/searchFilter.js +0 -10
  988. package/dist/utils/text.d.ts +0 -2
  989. package/dist/utils/text.js +0 -5
  990. /package/dist/cjs/{helpers → components/Modal}/Backdrop/Backdrop.d.ts +0 -0
  991. /package/dist/cjs/{helpers → components/Modal}/Backdrop/Backdrop.utils.d.ts +0 -0
  992. /package/dist/cjs/{helpers → components/Modal}/Backdrop/index.d.ts +0 -0
  993. /package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.stories.d.ts +0 -0
  994. /package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.tokens.d.ts +0 -0
  995. /package/dist/cjs/components/{Checkbox → SelectionControl/Checkbox}/index.d.ts +0 -0
  996. /package/dist/cjs/components/{RadioButton → SelectionControl/RadioButton}/RadioButton.d.ts +0 -0
  997. /package/dist/cjs/components/{RadioButton → SelectionControl/RadioButton}/RadioButton.stories.d.ts +0 -0
  998. /package/dist/cjs/components/{RadioButton → SelectionControl/RadioButton}/index.d.ts +0 -0
  999. /package/dist/cjs/{helpers → components}/SelectionControl/SelectionControl.tokens.d.ts +0 -0
  1000. /package/dist/cjs/{helpers → components}/SelectionControl/SelectionControl.utils.d.ts +0 -0
  1001. /package/dist/{assets/svg → components/Datepicker}/calendar_today.svg.js +0 -0
  1002. /package/dist/{assets/svg → components/List}/bullets/jordskifterett_bullet1.svg.js +0 -0
  1003. /package/dist/{assets/svg → components/List}/bullets/lagmannsrett_bullet2.svg.js +0 -0
  1004. /package/dist/{assets/svg → components/List}/bullets/tingrett_bullet3.svg.js +0 -0
  1005. /package/dist/{helpers → components/Modal}/Backdrop/Backdrop.d.ts +0 -0
  1006. /package/dist/{helpers → components/Modal}/Backdrop/Backdrop.utils.d.ts +0 -0
  1007. /package/dist/{helpers → components/Modal}/Backdrop/Backdrop.utils.js +0 -0
  1008. /package/dist/{helpers → components/Modal}/Backdrop/index.d.ts +0 -0
  1009. /package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.stories.d.ts +0 -0
  1010. /package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroup.tokens.d.ts +0 -0
  1011. /package/dist/components/{Checkbox → SelectionControl/Checkbox}/CheckboxGroupContext.js +0 -0
  1012. /package/dist/components/{Checkbox → SelectionControl/Checkbox}/index.d.ts +0 -0
  1013. /package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButton.d.ts +0 -0
  1014. /package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButton.stories.d.ts +0 -0
  1015. /package/dist/components/{RadioButton → SelectionControl/RadioButton}/RadioButtonGroupContext.js +0 -0
  1016. /package/dist/components/{RadioButton → SelectionControl/RadioButton}/index.d.ts +0 -0
  1017. /package/dist/{helpers → components}/SelectionControl/SelectionControl.tokens.d.ts +0 -0
  1018. /package/dist/{helpers → components}/SelectionControl/SelectionControl.utils.d.ts +0 -0
  1019. /package/dist/{helpers → components}/SelectionControl/SelectionControl.utils.js +0 -0
@@ -1,448 +0,0 @@
1
- export declare const typographyTokens: {
2
- typographyType: {
3
- a: {
4
- base: {
5
- color: string;
6
- };
7
- margins: {
8
- marginTop: number;
9
- marginBottom: string;
10
- };
11
- hover: {
12
- color: string;
13
- };
14
- icon: {
15
- marginTop: string;
16
- marginLeft: string;
17
- };
18
- };
19
- headingSans01: {
20
- base: {
21
- color: string;
22
- font: {
23
- lineHeight: any;
24
- fontSize: string;
25
- letterSpacing: any;
26
- fontFamily: any;
27
- fontWeight: any;
28
- fontStyle: any;
29
- };
30
- };
31
- margins: {
32
- marginTop: number;
33
- marginBottom: string;
34
- paddingTop: string;
35
- };
36
- };
37
- headingSans02: {
38
- base: {
39
- color: string;
40
- font: {
41
- lineHeight: any;
42
- fontSize: string;
43
- letterSpacing: any;
44
- fontFamily: any;
45
- fontWeight: any;
46
- fontStyle: any;
47
- };
48
- };
49
- margins: {
50
- marginTop: number;
51
- marginBottom: string;
52
- paddingTop: string;
53
- };
54
- };
55
- headingSans03: {
56
- base: {
57
- color: string;
58
- font: {
59
- lineHeight: any;
60
- fontSize: string;
61
- letterSpacing: any;
62
- fontFamily: any;
63
- fontWeight: any;
64
- fontStyle: any;
65
- };
66
- };
67
- margins: {
68
- marginTop: number;
69
- marginBottom: string;
70
- paddingTop: string;
71
- };
72
- };
73
- headingSans04: {
74
- base: {
75
- color: string;
76
- font: {
77
- lineHeight: any;
78
- fontSize: string;
79
- letterSpacing: any;
80
- fontFamily: any;
81
- fontWeight: any;
82
- fontStyle: any;
83
- };
84
- };
85
- margins: {
86
- marginTop: number;
87
- marginBottom: string;
88
- paddingTop: string;
89
- };
90
- };
91
- headingSans05: {
92
- base: {
93
- color: string;
94
- font: {
95
- lineHeight: any;
96
- fontSize: string;
97
- letterSpacing: any;
98
- fontFamily: any;
99
- fontWeight: any;
100
- fontStyle: any;
101
- };
102
- };
103
- margins: {
104
- marginTop: number;
105
- marginBottom: string;
106
- paddingTop: string;
107
- };
108
- };
109
- headingSans06: {
110
- base: {
111
- color: string;
112
- font: {
113
- lineHeight: any;
114
- fontSize: string;
115
- letterSpacing: any;
116
- fontFamily: any;
117
- fontWeight: any;
118
- fontStyle: any;
119
- };
120
- };
121
- margins: {
122
- marginTop: number;
123
- marginBottom: string;
124
- paddingTop: string;
125
- };
126
- };
127
- headingSans07: {
128
- base: {
129
- color: string;
130
- font: {
131
- lineHeight: any;
132
- fontSize: string;
133
- letterSpacing: any;
134
- fontFamily: any;
135
- fontWeight: any;
136
- fontStyle: any;
137
- };
138
- };
139
- margins: {
140
- marginTop: number;
141
- marginBottom: string;
142
- paddingTop: string;
143
- };
144
- };
145
- headingSans08: {
146
- base: {
147
- color: string;
148
- font: {
149
- lineHeight: any;
150
- fontSize: string;
151
- letterSpacing: any;
152
- fontFamily: any;
153
- fontWeight: any;
154
- fontStyle: any;
155
- };
156
- };
157
- margins: {
158
- marginTop: number;
159
- marginBottom: string;
160
- paddingTop: string;
161
- };
162
- };
163
- bodySans01: {
164
- base: {
165
- color: string;
166
- font: {
167
- lineHeight: any;
168
- fontSize: string;
169
- letterSpacing: any;
170
- fontFamily: any;
171
- fontWeight: any;
172
- fontStyle: any;
173
- };
174
- };
175
- margins: {
176
- marginTop: number;
177
- marginBottom: string;
178
- };
179
- };
180
- bodySans02: {
181
- base: {
182
- color: string;
183
- font: {
184
- lineHeight: any;
185
- fontSize: string;
186
- letterSpacing: any;
187
- fontFamily: any;
188
- fontWeight: any;
189
- fontStyle: any;
190
- };
191
- };
192
- margins: {
193
- marginTop: number;
194
- marginBottom: string;
195
- };
196
- };
197
- bodySans03: {
198
- base: {
199
- color: string;
200
- font: {
201
- lineHeight: any;
202
- fontSize: string;
203
- letterSpacing: any;
204
- fontFamily: any;
205
- fontWeight: any;
206
- fontStyle: any;
207
- };
208
- };
209
- margins: {
210
- marginTop: number;
211
- marginBottom: string;
212
- };
213
- };
214
- bodySans04: {
215
- base: {
216
- color: string;
217
- font: {
218
- lineHeight: any;
219
- fontSize: string;
220
- letterSpacing: any;
221
- fontFamily: any;
222
- fontWeight: any;
223
- fontStyle: any;
224
- };
225
- };
226
- margins: {
227
- marginTop: number;
228
- marginBottom: string;
229
- };
230
- };
231
- leadSans01: {
232
- base: {
233
- color: string;
234
- font: {
235
- lineHeight: any;
236
- fontSize: string;
237
- letterSpacing: any;
238
- fontFamily: any;
239
- fontWeight: any;
240
- fontStyle: any;
241
- };
242
- };
243
- margins: {
244
- marginTop: number;
245
- marginBottom: string;
246
- };
247
- };
248
- leadSans02: {
249
- base: {
250
- color: string;
251
- font: {
252
- lineHeight: any;
253
- fontSize: string;
254
- letterSpacing: any;
255
- fontFamily: any;
256
- fontWeight: any;
257
- fontStyle: any;
258
- };
259
- };
260
- margins: {
261
- marginTop: number;
262
- marginBottom: string;
263
- };
264
- };
265
- leadSans03: {
266
- base: {
267
- color: string;
268
- font: {
269
- lineHeight: any;
270
- fontSize: string;
271
- letterSpacing: any;
272
- fontFamily: any;
273
- fontWeight: any;
274
- fontStyle: any;
275
- };
276
- };
277
- margins: {
278
- marginTop: number;
279
- marginBottom: string;
280
- };
281
- };
282
- leadSans04: {
283
- base: {
284
- color: string;
285
- font: {
286
- lineHeight: any;
287
- fontSize: string;
288
- letterSpacing: any;
289
- fontFamily: any;
290
- fontWeight: any;
291
- fontStyle: any;
292
- };
293
- };
294
- margins: {
295
- marginTop: number;
296
- marginBottom: string;
297
- };
298
- };
299
- leadSans05: {
300
- base: {
301
- color: string;
302
- font: {
303
- lineHeight: any;
304
- fontSize: string;
305
- letterSpacing: any;
306
- fontFamily: any;
307
- fontWeight: any;
308
- fontStyle: any;
309
- };
310
- };
311
- margins: {
312
- marginTop: number;
313
- marginBottom: string;
314
- };
315
- };
316
- supportingStyleLabel01: {
317
- base: {
318
- color: string;
319
- font: {
320
- lineHeight: any;
321
- fontSize: string;
322
- letterSpacing: any;
323
- fontFamily: any;
324
- fontWeight: any;
325
- fontStyle: any;
326
- };
327
- margin: number;
328
- };
329
- margins: {
330
- marginTop: string;
331
- marginBottom: string;
332
- };
333
- };
334
- supportingStyleHelperText01: {
335
- base: {
336
- color: string;
337
- font: {
338
- lineHeight: any;
339
- fontSize: string;
340
- letterSpacing: any;
341
- fontFamily: any;
342
- fontWeight: any;
343
- fontStyle: any;
344
- };
345
- margin: number;
346
- };
347
- margins: {
348
- marginTop: string;
349
- marginBottom: string;
350
- };
351
- };
352
- supportingStylePlaceholderText01: {
353
- base: {
354
- color: string;
355
- font: {
356
- lineHeight: any;
357
- fontSize: string;
358
- letterSpacing: any;
359
- fontFamily: any;
360
- fontWeight: any;
361
- fontStyle: any;
362
- };
363
- margin: number;
364
- };
365
- margins: {
366
- marginTop: string;
367
- marginBottom: string;
368
- };
369
- };
370
- supportingStylePlaceholderText02: {
371
- base: {
372
- color: string;
373
- font: {
374
- lineHeight: any;
375
- fontSize: string;
376
- letterSpacing: any;
377
- fontFamily: any;
378
- fontWeight: any;
379
- fontStyle: any;
380
- };
381
- margin: number;
382
- };
383
- margins: {
384
- marginTop: string;
385
- marginBottom: string;
386
- };
387
- };
388
- supportingStylePlaceholderText03: {
389
- base: {
390
- color: string;
391
- font: {
392
- lineHeight: any;
393
- fontSize: string;
394
- letterSpacing: any;
395
- fontFamily: any;
396
- fontWeight: any;
397
- fontStyle: any;
398
- };
399
- margin: number;
400
- };
401
- margins: {
402
- marginTop: string;
403
- marginBottom: string;
404
- };
405
- };
406
- supportingStyleTiny01: {
407
- base: {
408
- color: string;
409
- font: {
410
- lineHeight: any;
411
- fontSize: string;
412
- letterSpacing: any;
413
- fontFamily: any;
414
- fontWeight: any;
415
- fontStyle: any;
416
- };
417
- margin: number;
418
- };
419
- margins: {
420
- marginTop: string;
421
- marginBottom: string;
422
- };
423
- };
424
- supportingStyleTiny02: {
425
- base: {
426
- color: string;
427
- font: {
428
- lineHeight: any;
429
- fontSize: string;
430
- letterSpacing: any;
431
- fontFamily: any;
432
- fontWeight: any;
433
- fontStyle: any;
434
- };
435
- margin: number;
436
- };
437
- margins: {
438
- marginTop: string;
439
- marginBottom: string;
440
- };
441
- };
442
- };
443
- style: {
444
- bold: {
445
- fontWeight: number;
446
- };
447
- };
448
- };
@@ -1,203 +0,0 @@
1
- import { ElementType } from 'react';
2
- import { TypographyType, TypographyHeadingType, InlineElement, TypographyInteractionStyling, StaticTypographyType, TypographyBodyType } from './Typography/Typography.types';
3
- export declare const defaultTypographyType: TypographyBodyType;
4
- export declare const getFontStyling: (type: StaticTypographyType, withColor?: boolean) => {
5
- lineHeight: any;
6
- fontSize: string;
7
- letterSpacing: any;
8
- fontFamily: any;
9
- fontWeight: any;
10
- fontStyle: any;
11
- color: string | undefined;
12
- } | {
13
- lineHeight: any;
14
- fontSize: string;
15
- letterSpacing: any;
16
- fontFamily: any;
17
- fontWeight: any;
18
- fontStyle: any;
19
- color: string | undefined;
20
- } | {
21
- lineHeight: any;
22
- fontSize: string;
23
- letterSpacing: any;
24
- fontFamily: any;
25
- fontWeight: any;
26
- fontStyle: any;
27
- color: string | undefined;
28
- } | {
29
- lineHeight: any;
30
- fontSize: string;
31
- letterSpacing: any;
32
- fontFamily: any;
33
- fontWeight: any;
34
- fontStyle: any;
35
- color: string | undefined;
36
- } | {
37
- lineHeight: any;
38
- fontSize: string;
39
- letterSpacing: any;
40
- fontFamily: any;
41
- fontWeight: any;
42
- fontStyle: any;
43
- color: string | undefined;
44
- } | {
45
- lineHeight: any;
46
- fontSize: string;
47
- letterSpacing: any;
48
- fontFamily: any;
49
- fontWeight: any;
50
- fontStyle: any;
51
- color: string | undefined;
52
- } | {
53
- lineHeight: any;
54
- fontSize: string;
55
- letterSpacing: any;
56
- fontFamily: any;
57
- fontWeight: any;
58
- fontStyle: any;
59
- color: string | undefined;
60
- } | {
61
- lineHeight: any;
62
- fontSize: string;
63
- letterSpacing: any;
64
- fontFamily: any;
65
- fontWeight: any;
66
- fontStyle: any;
67
- color: string | undefined;
68
- } | {
69
- lineHeight: any;
70
- fontSize: string;
71
- letterSpacing: any;
72
- fontFamily: any;
73
- fontWeight: any;
74
- fontStyle: any;
75
- color: string | undefined;
76
- } | {
77
- lineHeight: any;
78
- fontSize: string;
79
- letterSpacing: any;
80
- fontFamily: any;
81
- fontWeight: any;
82
- fontStyle: any;
83
- color: string | undefined;
84
- } | {
85
- lineHeight: any;
86
- fontSize: string;
87
- letterSpacing: any;
88
- fontFamily: any;
89
- fontWeight: any;
90
- fontStyle: any;
91
- color: string | undefined;
92
- } | {
93
- lineHeight: any;
94
- fontSize: string;
95
- letterSpacing: any;
96
- fontFamily: any;
97
- fontWeight: any;
98
- fontStyle: any;
99
- color: string | undefined;
100
- } | {
101
- lineHeight: any;
102
- fontSize: string;
103
- letterSpacing: any;
104
- fontFamily: any;
105
- fontWeight: any;
106
- fontStyle: any;
107
- color: string | undefined;
108
- } | {
109
- lineHeight: any;
110
- fontSize: string;
111
- letterSpacing: any;
112
- fontFamily: any;
113
- fontWeight: any;
114
- fontStyle: any;
115
- color: string | undefined;
116
- } | {
117
- lineHeight: any;
118
- fontSize: string;
119
- letterSpacing: any;
120
- fontFamily: any;
121
- fontWeight: any;
122
- fontStyle: any;
123
- color: string | undefined;
124
- } | {
125
- lineHeight: any;
126
- fontSize: string;
127
- letterSpacing: any;
128
- fontFamily: any;
129
- fontWeight: any;
130
- fontStyle: any;
131
- color: string | undefined;
132
- } | {
133
- lineHeight: any;
134
- fontSize: string;
135
- letterSpacing: any;
136
- fontFamily: any;
137
- fontWeight: any;
138
- fontStyle: any;
139
- color: string | undefined;
140
- } | {
141
- lineHeight: any;
142
- fontSize: string;
143
- letterSpacing: any;
144
- fontFamily: any;
145
- fontWeight: any;
146
- fontStyle: any;
147
- color: string | undefined;
148
- } | {
149
- lineHeight: any;
150
- fontSize: string;
151
- letterSpacing: any;
152
- fontFamily: any;
153
- fontWeight: any;
154
- fontStyle: any;
155
- color: string | undefined;
156
- } | {
157
- lineHeight: any;
158
- fontSize: string;
159
- letterSpacing: any;
160
- fontFamily: any;
161
- fontWeight: any;
162
- fontStyle: any;
163
- color: string | undefined;
164
- } | {
165
- lineHeight: any;
166
- fontSize: string;
167
- letterSpacing: any;
168
- fontFamily: any;
169
- fontWeight: any;
170
- fontStyle: any;
171
- color: string | undefined;
172
- } | {
173
- lineHeight: any;
174
- fontSize: string;
175
- letterSpacing: any;
176
- fontFamily: any;
177
- fontWeight: any;
178
- fontStyle: any;
179
- color: string | undefined;
180
- } | {
181
- lineHeight: any;
182
- fontSize: string;
183
- letterSpacing: any;
184
- fontFamily: any;
185
- fontWeight: any;
186
- fontStyle: any;
187
- color: string | undefined;
188
- } | {
189
- lineHeight: any;
190
- fontSize: string;
191
- letterSpacing: any;
192
- fontFamily: any;
193
- fontWeight: any;
194
- fontStyle: any;
195
- color: string | undefined;
196
- };
197
- export declare const getElementType: (element: string) => ElementType;
198
- export declare const isHeading: (type: TypographyType) => type is TypographyHeadingType;
199
- export declare const inlineElements: ElementType[];
200
- export declare const isInlineElement: (as: ElementType) => as is InlineElement;
201
- export declare const getAdditionalFontStyle: (bold?: boolean, italic?: boolean, underline?: boolean) => import("styled-components").FlattenSimpleInterpolation;
202
- export declare const getMarginStyling: (typographyType: TypographyType, element: ElementType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
203
- export declare const getAnchorStyling: (external?: boolean, interactionStyling?: TypographyInteractionStyling, typographyType?: StaticTypographyType, withMargins?: boolean) => import("styled-components").FlattenSimpleInterpolation;
@@ -1,7 +0,0 @@
1
- export * from './Typography';
2
- export * from './Label';
3
- export * from './Paragraph';
4
- export * from './Heading';
5
- export * from './Link';
6
- export * from './Legend';
7
- export * from './Caption';
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- };
4
- export default _default;
5
- export declare const Article: () => import("react/jsx-runtime").JSX.Element;
@@ -1,42 +0,0 @@
1
- declare const _default: {
2
- title: string;
3
- argTypes: {
4
- typographyType: {
5
- control: {
6
- type: string;
7
- };
8
- };
9
- bold: {
10
- control: {
11
- type: string;
12
- };
13
- };
14
- italic: {
15
- control: {
16
- type: string;
17
- };
18
- };
19
- underline: {
20
- control: {
21
- type: string;
22
- };
23
- };
24
- withMargins: {
25
- control: {
26
- type: string;
27
- };
28
- };
29
- color: {
30
- control: {
31
- type: string;
32
- };
33
- };
34
- text: {
35
- control: {
36
- type: string;
37
- };
38
- };
39
- };
40
- };
41
- export default _default;
42
- export declare const ComponentsOverview: () => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- title: string;
4
- component: import("react").ForwardRefExoticComponent<import("..").TypographyProps & import("react").RefAttributes<HTMLElement>>;
5
- };
6
- export default _default;
7
- export declare const Body: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const Headings: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const Leads: () => import("react/jsx-runtime").JSX.Element;
10
- export declare const Supporting: () => import("react/jsx-runtime").JSX.Element;
11
- export declare const Link: () => import("react/jsx-runtime").JSX.Element;