@norges-domstoler/dds-components 13.3.0 → 13.5.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 (1123) hide show
  1. package/dist/bundle.css +1 -1
  2. package/dist/cjs/bundle.css +1 -1
  3. package/dist/cjs/components/BackLink/BackLink.d.ts +6 -6
  4. package/dist/cjs/components/BackLink/BackLink.stories.d.ts +18 -17
  5. package/dist/cjs/components/BackLink/BackLink.tokens.d.ts +8 -8
  6. package/dist/cjs/components/BackLink/index.d.ts +1 -1
  7. package/dist/cjs/components/Breadcrumbs/Breadcrumb.d.ts +3 -3
  8. package/dist/cjs/components/Breadcrumbs/Breadcrumb.tokens.d.ts +13 -13
  9. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  10. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -8
  11. package/dist/cjs/components/Breadcrumbs/index.d.ts +2 -2
  12. package/dist/cjs/components/Button/Button.d.ts +21 -21
  13. package/dist/cjs/components/Button/Button.stories.d.ts +64 -63
  14. package/dist/cjs/components/Button/Button.styles.d.ts +25 -25
  15. package/dist/cjs/components/Button/Button.tokens.d.ts +332 -332
  16. package/dist/cjs/components/Button/Button.types.d.ts +33 -33
  17. package/dist/cjs/components/Button/index.d.ts +2 -2
  18. package/dist/cjs/components/Card/Card.d.ts +26 -23
  19. package/dist/cjs/components/Card/Card.stories.d.ts +15 -12
  20. package/dist/cjs/components/Card/Card.tokens.d.ts +27 -27
  21. package/dist/cjs/components/Card/CardAccordion/CardAccordion.d.ts +18 -18
  22. package/dist/cjs/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -28
  23. package/dist/cjs/components/Card/CardAccordion/CardAccordionBody.d.ts +27 -27
  24. package/dist/cjs/components/Card/CardAccordion/CardAccordionHeader.d.ts +36 -36
  25. package/dist/cjs/components/Card/CardAccordion/useElementHeight.d.ts +1 -1
  26. package/dist/cjs/components/Card/index.d.ts +4 -4
  27. package/dist/cjs/components/Checkbox/Checkbox.d.ts +10 -10
  28. package/dist/cjs/components/Checkbox/Checkbox.stories.d.ts +50 -49
  29. package/dist/cjs/components/Checkbox/Checkbox.types.d.ts +15 -15
  30. package/dist/cjs/components/Checkbox/CheckboxGroup.d.ts +18 -16
  31. package/dist/cjs/components/Checkbox/CheckboxGroup.stories.d.ts +53 -50
  32. package/dist/cjs/components/Checkbox/CheckboxGroup.tokens.d.ts +13 -13
  33. package/dist/cjs/components/Checkbox/CheckboxGroupContext.d.ts +9 -9
  34. package/dist/cjs/components/Checkbox/index.d.ts +3 -3
  35. package/dist/cjs/components/Chip/Chip.d.ts +16 -16
  36. package/dist/cjs/components/Chip/Chip.stories.d.ts +20 -19
  37. package/dist/cjs/components/Chip/Chip.tokens.d.ts +14 -14
  38. package/dist/cjs/components/Chip/ChipGroup.d.ts +3 -3
  39. package/dist/cjs/components/Chip/ChipGroup.stories.d.ts +8 -7
  40. package/dist/cjs/components/Chip/index.d.ts +2 -2
  41. package/dist/cjs/components/Datepicker/Datepicker.d.ts +12 -12
  42. package/dist/cjs/components/Datepicker/Datepicker.stories.d.ts +53 -52
  43. package/dist/cjs/components/Datepicker/Datepicker.tokens.d.ts +27 -27
  44. package/dist/cjs/components/Datepicker/index.d.ts +1 -1
  45. package/dist/cjs/components/DescriptionList/DescriptionList.d.ts +23 -23
  46. package/dist/cjs/components/DescriptionList/DescriptionList.stories.d.ts +19 -18
  47. package/dist/cjs/components/DescriptionList/DescriptionList.tokens.d.ts +37 -37
  48. package/dist/cjs/components/DescriptionList/DescriptionListDesc.d.ts +15 -15
  49. package/dist/cjs/components/DescriptionList/DescriptionListGroup.d.ts +23 -23
  50. package/dist/cjs/components/DescriptionList/DescriptionListTerm.d.ts +3 -3
  51. package/dist/cjs/components/DescriptionList/index.d.ts +4 -4
  52. package/dist/cjs/components/Divider/Divider.d.ts +13 -13
  53. package/dist/cjs/components/Divider/Divider.stories.d.ts +15 -14
  54. package/dist/cjs/components/Divider/Divider.tokens.d.ts +13 -13
  55. package/dist/cjs/components/Divider/index.d.ts +1 -1
  56. package/dist/cjs/components/Drawer/Drawer.d.ts +50 -50
  57. package/dist/cjs/components/Drawer/Drawer.stories.d.ts +24 -23
  58. package/dist/cjs/components/Drawer/Drawer.tokens.d.ts +9 -9
  59. package/dist/cjs/components/Drawer/DrawerGroup.d.ts +15 -12
  60. package/dist/cjs/components/Drawer/index.d.ts +2 -2
  61. package/dist/cjs/components/EmptyContent/EmptyContent.d.ts +9 -6
  62. package/dist/cjs/components/EmptyContent/EmptyContent.stories.d.ts +16 -16
  63. package/dist/cjs/components/EmptyContent/index.d.ts +1 -1
  64. package/dist/cjs/components/FileUploader/ErrorList.d.ts +9 -10
  65. package/dist/cjs/components/FileUploader/File.d.ts +10 -11
  66. package/dist/cjs/components/FileUploader/FileUploader.d.ts +22 -20
  67. package/dist/cjs/components/FileUploader/FileUploader.stories.d.ts +28 -25
  68. package/dist/cjs/components/FileUploader/FileUploader.tokens.d.ts +25 -25
  69. package/dist/cjs/components/FileUploader/fileUploaderReducer.d.ts +33 -33
  70. package/dist/cjs/components/FileUploader/index.d.ts +1 -1
  71. package/dist/cjs/components/FileUploader/types.d.ts +10 -10
  72. package/dist/cjs/components/FileUploader/useFileUploader.d.ts +33 -33
  73. package/dist/cjs/components/FileUploader/utils.d.ts +7 -7
  74. package/dist/cjs/components/GlobalMessage/GlobalMessage.d.ts +27 -27
  75. package/dist/cjs/components/GlobalMessage/GlobalMessage.stories.d.ts +31 -30
  76. package/dist/cjs/components/GlobalMessage/GlobalMessage.tokens.d.ts +50 -50
  77. package/dist/cjs/components/GlobalMessage/index.d.ts +1 -1
  78. package/dist/cjs/components/Grid/Grid.context.d.ts +7 -7
  79. package/dist/cjs/components/Grid/Grid.d.ts +24 -21
  80. package/dist/cjs/components/Grid/Grid.stories.d.ts +11 -8
  81. package/dist/cjs/components/Grid/Grid.tokens.d.ts +82 -82
  82. package/dist/cjs/components/Grid/GridChild.d.ts +22 -19
  83. package/dist/cjs/components/Grid/index.d.ts +2 -2
  84. package/dist/cjs/components/Icon/Icon.d.ts +17 -14
  85. package/dist/cjs/components/Icon/Icon.stories.d.ts +21 -21
  86. package/dist/cjs/components/Icon/index.d.ts +1 -1
  87. package/dist/cjs/components/InlineEdit/InlineEdit.d.ts +5 -3
  88. package/dist/cjs/components/InlineEdit/InlineEdit.stories.d.ts +34 -33
  89. package/dist/cjs/components/InlineEdit/InlineEdit.styles.d.ts +20 -20
  90. package/dist/cjs/components/InlineEdit/InlineEdit.tokens.d.ts +27 -27
  91. package/dist/cjs/components/InlineEdit/InlineEdit.types.d.ts +35 -35
  92. package/dist/cjs/components/InlineEdit/InlineEdit.utils.d.ts +1 -2
  93. package/dist/cjs/components/InlineEdit/InlineEditInput.d.ts +2 -2
  94. package/dist/cjs/components/InlineEdit/InlineEditInput.stories.d.ts +37 -36
  95. package/dist/cjs/components/InlineEdit/InlineEditTextArea.d.ts +2 -2
  96. package/dist/cjs/components/InlineEdit/InlineEditTextArea.stories.d.ts +37 -36
  97. package/dist/cjs/components/InlineEdit/InlineInput.d.ts +4 -4
  98. package/dist/cjs/components/InlineEdit/InlineTextArea.d.ts +4 -4
  99. package/dist/cjs/components/InlineEdit/index.d.ts +3 -3
  100. package/dist/cjs/components/InputMessage/InputMessage.d.ts +17 -17
  101. package/dist/cjs/components/InputMessage/InputMessage.stories.d.ts +21 -20
  102. package/dist/cjs/components/InputMessage/InputMessage.tokens.d.ts +16 -16
  103. package/dist/cjs/components/InputMessage/index.d.ts +1 -1
  104. package/dist/cjs/components/InternalHeader/InternalHeader.d.ts +5 -3
  105. package/dist/cjs/components/InternalHeader/InternalHeader.stories.d.ts +47 -44
  106. package/dist/cjs/components/InternalHeader/InternalHeader.styles.d.ts +31 -31
  107. package/dist/cjs/components/InternalHeader/InternalHeader.tokens.d.ts +47 -47
  108. package/dist/cjs/components/InternalHeader/InternalHeader.types.d.ts +36 -36
  109. package/dist/cjs/components/InternalHeader/InternalHeaderListItem.d.ts +3 -3
  110. package/dist/cjs/components/InternalHeader/NavigationItem.d.ts +14 -14
  111. package/dist/cjs/components/InternalHeader/index.d.ts +2 -2
  112. package/dist/cjs/components/List/List.d.ts +21 -21
  113. package/dist/cjs/components/List/List.stories.d.ts +18 -17
  114. package/dist/cjs/components/List/List.tokens.d.ts +24 -24
  115. package/dist/cjs/components/List/ListItem.d.ts +3 -3
  116. package/dist/cjs/components/List/index.d.ts +2 -2
  117. package/dist/cjs/components/LocalMessage/LocalMessage.d.ts +37 -37
  118. package/dist/cjs/components/LocalMessage/LocalMessage.stories.d.ts +40 -39
  119. package/dist/cjs/components/LocalMessage/LocalMessage.tokens.d.ts +88 -88
  120. package/dist/cjs/components/LocalMessage/index.d.ts +1 -1
  121. package/dist/cjs/components/Modal/Modal.d.ts +30 -30
  122. package/dist/cjs/components/Modal/Modal.stories.d.ts +28 -27
  123. package/dist/cjs/components/Modal/Modal.tokens.d.ts +12 -12
  124. package/dist/cjs/components/Modal/ModalActions.d.ts +3 -3
  125. package/dist/cjs/components/Modal/ModalBody.d.ts +19 -19
  126. package/dist/cjs/components/Modal/index.d.ts +3 -3
  127. package/dist/cjs/components/OverflowMenu/OverflowMenu.d.ts +24 -24
  128. package/dist/cjs/components/OverflowMenu/OverflowMenu.stories.d.ts +27 -26
  129. package/dist/cjs/components/OverflowMenu/OverflowMenu.tokens.d.ts +34 -34
  130. package/dist/cjs/components/OverflowMenu/OverflowMenu.types.d.ts +37 -37
  131. package/dist/cjs/components/OverflowMenu/OverflowMenuGroup.d.ts +17 -14
  132. package/dist/cjs/components/OverflowMenu/OverflowMenuItem.d.ts +21 -21
  133. package/dist/cjs/components/OverflowMenu/index.d.ts +3 -3
  134. package/dist/cjs/components/Pagination/Pagination.d.ts +52 -52
  135. package/dist/cjs/components/Pagination/Pagination.stories.d.ts +48 -47
  136. package/dist/cjs/components/Pagination/Pagination.tokens.d.ts +14 -14
  137. package/dist/cjs/components/Pagination/index.d.ts +1 -1
  138. package/dist/cjs/components/Pagination/paginationGenerator.d.ts +1 -1
  139. package/dist/cjs/components/Popover/Popover.d.ts +60 -60
  140. package/dist/cjs/components/Popover/Popover.stories.d.ts +55 -54
  141. package/dist/cjs/components/Popover/Popover.tokens.d.ts +17 -17
  142. package/dist/cjs/components/Popover/PopoverGroup.d.ts +17 -14
  143. package/dist/cjs/components/Popover/index.d.ts +2 -2
  144. package/dist/cjs/components/ProgressTracker/ProgressTracker.context.d.ts +8 -8
  145. package/dist/cjs/components/ProgressTracker/ProgressTracker.d.ts +14 -14
  146. package/dist/cjs/components/ProgressTracker/ProgressTracker.stories.d.ts +45 -41
  147. package/dist/cjs/components/ProgressTracker/ProgressTracker.tokens.d.ts +72 -72
  148. package/dist/cjs/components/ProgressTracker/ProgressTrackerItem.d.ts +27 -25
  149. package/dist/cjs/components/ProgressTracker/index.d.ts +1 -1
  150. package/dist/cjs/components/RadioButton/RadioButton.d.ts +18 -18
  151. package/dist/cjs/components/RadioButton/RadioButton.stories.d.ts +52 -51
  152. package/dist/cjs/components/RadioButton/RadioButton.types.d.ts +12 -12
  153. package/dist/cjs/components/RadioButton/RadioButtonGroup.d.ts +56 -56
  154. package/dist/cjs/components/RadioButton/RadioButtonGroup.stories.d.ts +65 -64
  155. package/dist/cjs/components/RadioButton/RadioButtonGroupContext.d.ts +13 -13
  156. package/dist/cjs/components/RadioButton/index.d.ts +3 -3
  157. package/dist/cjs/components/ScrollableContainer/ScrollableContainer.d.ts +10 -8
  158. package/dist/cjs/components/ScrollableContainer/ScrollableContainer.stories.d.ts +18 -15
  159. package/dist/cjs/components/ScrollableContainer/ScrollableContainer.tokens.d.ts +25 -25
  160. package/dist/cjs/components/ScrollableContainer/Scrollbar.d.ts +10 -7
  161. package/dist/cjs/components/ScrollableContainer/index.d.ts +3 -3
  162. package/dist/cjs/components/ScrollableContainer/scrollbarStyling.d.ts +26 -26
  163. package/dist/cjs/components/Search/AutocompleteSearch.context.d.ts +12 -12
  164. package/dist/cjs/components/Search/Search.d.ts +21 -21
  165. package/dist/cjs/components/Search/Search.stories.d.ts +51 -47
  166. package/dist/cjs/components/Search/Search.tokens.d.ts +64 -64
  167. package/dist/cjs/components/Search/Search.utils.d.ts +9 -9
  168. package/dist/cjs/components/Search/SearchAutocompleteWrapper.d.ts +34 -31
  169. package/dist/cjs/components/Search/SearchSuggestions.d.ts +29 -29
  170. package/dist/cjs/components/Search/index.d.ts +10 -10
  171. package/dist/cjs/components/Select/CustomSelect.stories.d.ts +66 -66
  172. package/dist/cjs/components/Select/MultiSelect.stories.d.ts +75 -74
  173. package/dist/cjs/components/Select/Select.d.ts +37 -37
  174. package/dist/cjs/components/Select/Select.stories.d.ts +71 -70
  175. package/dist/cjs/components/Select/Select.styles.d.ts +18 -18
  176. package/dist/cjs/components/Select/Select.tokens.d.ts +143 -143
  177. package/dist/cjs/components/Select/index.d.ts +1 -1
  178. package/dist/cjs/components/SkipToContent/SkipToContent.d.ts +21 -21
  179. package/dist/cjs/components/SkipToContent/SkipToContent.stories.d.ts +33 -32
  180. package/dist/cjs/components/SkipToContent/SkipToContent.tokens.d.ts +14 -14
  181. package/dist/cjs/components/SkipToContent/index.d.ts +1 -1
  182. package/dist/cjs/components/Spinner/Spinner.d.ts +15 -13
  183. package/dist/cjs/components/Spinner/Spinner.stories.d.ts +26 -26
  184. package/dist/cjs/components/Spinner/index.d.ts +1 -1
  185. package/dist/cjs/components/SplitButton/SplitButton.d.ts +16 -16
  186. package/dist/cjs/components/SplitButton/SplitButton.stories.d.ts +10 -9
  187. package/dist/cjs/components/SplitButton/SplitButton.tokens.d.ts +7 -7
  188. package/dist/cjs/components/SplitButton/index.d.ts +1 -1
  189. package/dist/cjs/components/Stack/Stack.d.ts +39 -39
  190. package/dist/cjs/components/Stack/Stack.stories.d.ts +13 -11
  191. package/dist/cjs/components/Stack/Stack.tokens.d.ts +20 -20
  192. package/dist/cjs/components/Stack/index.d.ts +1 -1
  193. package/dist/cjs/components/Table/Body.d.ts +3 -3
  194. package/dist/cjs/components/Table/Cell.d.ts +15 -15
  195. package/dist/cjs/components/Table/Foot.d.ts +3 -3
  196. package/dist/cjs/components/Table/Head.d.ts +3 -3
  197. package/dist/cjs/components/Table/Row.d.ts +7 -7
  198. package/dist/cjs/components/Table/SortCell.d.ts +19 -19
  199. package/dist/cjs/components/Table/Table.d.ts +7 -7
  200. package/dist/cjs/components/Table/Table.stories.d.ts +56 -52
  201. package/dist/cjs/components/Table/Table.styles.d.ts +10 -10
  202. package/dist/cjs/components/Table/Table.tokens.d.ts +67 -67
  203. package/dist/cjs/components/Table/Table.types.d.ts +37 -37
  204. package/dist/cjs/components/Table/TableWrapper.d.ts +6 -3
  205. package/dist/cjs/components/Table/collapsible/CollapsibleRow.d.ts +7 -7
  206. package/dist/cjs/components/Table/collapsible/CollapsibleTable.d.ts +10 -10
  207. package/dist/cjs/components/Table/collapsible/CollapsibleTable.stories.d.ts +49 -48
  208. package/dist/cjs/components/Table/collapsible/Table.context.d.ts +10 -10
  209. package/dist/cjs/components/Table/index.d.ts +28 -28
  210. package/dist/cjs/components/Table/tableData.d.ts +17 -17
  211. package/dist/cjs/components/Tabs/Tab.d.ts +31 -31
  212. package/dist/cjs/components/Tabs/TabList.d.ts +3 -3
  213. package/dist/cjs/components/Tabs/TabPanel.d.ts +14 -14
  214. package/dist/cjs/components/Tabs/TabPanels.d.ts +3 -3
  215. package/dist/cjs/components/Tabs/Tabs.context.d.ts +15 -15
  216. package/dist/cjs/components/Tabs/Tabs.d.ts +27 -27
  217. package/dist/cjs/components/Tabs/Tabs.stories.d.ts +53 -11
  218. package/dist/cjs/components/Tabs/Tabs.tokens.d.ts +32 -32
  219. package/dist/cjs/components/Tabs/index.d.ts +5 -5
  220. package/dist/cjs/components/Tag/Tag.d.ts +17 -17
  221. package/dist/cjs/components/Tag/Tag.stories.d.ts +19 -18
  222. package/dist/cjs/components/Tag/Tag.tokens.d.ts +31 -31
  223. package/dist/cjs/components/Tag/index.d.ts +1 -1
  224. package/dist/cjs/components/TextArea/TextArea.d.ts +10 -10
  225. package/dist/cjs/components/TextArea/TextArea.stories.d.ts +52 -51
  226. package/dist/cjs/components/TextArea/TextArea.tokens.d.ts +5 -5
  227. package/dist/cjs/components/TextArea/index.d.ts +1 -1
  228. package/dist/cjs/components/TextInput/CharCounter.d.ts +7 -8
  229. package/dist/cjs/components/TextInput/TextInput.d.ts +10 -10
  230. package/dist/cjs/components/TextInput/TextInput.stories.d.ts +72 -71
  231. package/dist/cjs/components/TextInput/TextInput.styles.d.ts +17 -17
  232. package/dist/cjs/components/TextInput/TextInput.tokens.d.ts +37 -37
  233. package/dist/cjs/components/TextInput/TextInput.types.d.ts +21 -21
  234. package/dist/cjs/components/TextInput/index.d.ts +2 -2
  235. package/dist/cjs/components/ToggleBar/ToggleBar.context.d.ts +10 -10
  236. package/dist/cjs/components/ToggleBar/ToggleBar.d.ts +5 -3
  237. package/dist/cjs/components/ToggleBar/ToggleBar.stories.d.ts +23 -20
  238. package/dist/cjs/components/ToggleBar/ToggleBar.tokens.d.ts +84 -84
  239. package/dist/cjs/components/ToggleBar/ToggleBar.types.d.ts +19 -19
  240. package/dist/cjs/components/ToggleBar/ToggleRadio.d.ts +19 -19
  241. package/dist/cjs/components/ToggleBar/ToggleRadio.styles.d.ts +11 -11
  242. package/dist/cjs/components/ToggleBar/index.d.ts +3 -3
  243. package/dist/cjs/components/ToggleButton/ToggleButton.d.ts +7 -7
  244. package/dist/cjs/components/ToggleButton/ToggleButton.stories.d.ts +19 -18
  245. package/dist/cjs/components/ToggleButton/ToggleButton.tokens.d.ts +32 -32
  246. package/dist/cjs/components/ToggleButton/ToggleButton.types.d.ts +10 -10
  247. package/dist/cjs/components/ToggleButton/ToggleButtonGroup.d.ts +15 -13
  248. package/dist/cjs/components/ToggleButton/ToggleButtonGroup.stories.d.ts +11 -8
  249. package/dist/cjs/components/ToggleButton/index.d.ts +3 -3
  250. package/dist/cjs/components/Tooltip/Tooltip.d.ts +32 -32
  251. package/dist/cjs/components/Tooltip/Tooltip.stories.d.ts +35 -34
  252. package/dist/cjs/components/Tooltip/Tooltip.styles.d.ts +11 -11
  253. package/dist/cjs/components/Tooltip/Tooltip.tokens.d.ts +13 -13
  254. package/dist/cjs/components/Tooltip/index.d.ts +1 -1
  255. package/dist/cjs/components/Typography/Caption/Caption.d.ts +11 -11
  256. package/dist/cjs/components/Typography/Caption/Caption.stories.d.ts +29 -28
  257. package/dist/cjs/components/Typography/Caption/index.d.ts +1 -1
  258. package/dist/cjs/components/Typography/Heading/Heading.d.ts +22 -22
  259. package/dist/cjs/components/Typography/Heading/Heading.stories.d.ts +38 -37
  260. package/dist/cjs/components/Typography/Heading/index.d.ts +1 -1
  261. package/dist/cjs/components/Typography/Label/Label.d.ts +17 -17
  262. package/dist/cjs/components/Typography/Label/Label.stories.d.ts +33 -32
  263. package/dist/cjs/components/Typography/Label/index.d.ts +1 -1
  264. package/dist/cjs/components/Typography/Legend/Legend.d.ts +11 -11
  265. package/dist/cjs/components/Typography/Legend/Legend.stories.d.ts +29 -28
  266. package/dist/cjs/components/Typography/Legend/index.d.ts +1 -1
  267. package/dist/cjs/components/Typography/Link/Link.d.ts +23 -23
  268. package/dist/cjs/components/Typography/Link/Link.stories.d.ts +48 -47
  269. package/dist/cjs/components/Typography/Link/index.d.ts +1 -1
  270. package/dist/cjs/components/Typography/Paragraph/Paragraph.d.ts +17 -17
  271. package/dist/cjs/components/Typography/Paragraph/Paragraph.stories.d.ts +37 -36
  272. package/dist/cjs/components/Typography/Paragraph/index.d.ts +1 -1
  273. package/dist/cjs/components/Typography/Typography/Typography.d.ts +25 -25
  274. package/dist/cjs/components/Typography/Typography/Typography.stories.d.ts +64 -63
  275. package/dist/cjs/components/Typography/Typography/Typography.types.d.ts +36 -36
  276. package/dist/cjs/components/Typography/Typography/index.d.ts +2 -2
  277. package/dist/cjs/components/Typography/Typography.tokens.d.ts +448 -448
  278. package/dist/cjs/components/Typography/Typography.utils.d.ts +203 -203
  279. package/dist/cjs/components/Typography/index.d.ts +7 -7
  280. package/dist/cjs/components/Typography/stories/Examples.stories.d.ts +5 -5
  281. package/dist/cjs/components/Typography/stories/TypographyComponents.stories.d.ts +42 -42
  282. package/dist/cjs/components/Typography/stories/TypographyTypes.stories.d.ts +11 -10
  283. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.d.ts +14 -12
  284. package/dist/cjs/components/VisuallyHidden/VisuallyHidden.stories.d.ts +19 -16
  285. package/dist/cjs/components/VisuallyHidden/index.d.ts +1 -1
  286. package/dist/cjs/helpers/Backdrop/Backdrop.d.ts +5 -5
  287. package/dist/cjs/helpers/Backdrop/Backdrop.utils.d.ts +2 -2
  288. package/dist/cjs/helpers/Backdrop/index.d.ts +2 -2
  289. package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.d.ts +8 -9
  290. package/dist/cjs/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +7 -7
  291. package/dist/cjs/helpers/Chevron/index.d.ts +1 -1
  292. package/dist/cjs/helpers/HiddenInput/HiddenInput.d.ts +1 -1
  293. package/dist/cjs/helpers/HiddenInput/index.d.ts +1 -1
  294. package/dist/cjs/helpers/Input/Input.styles.d.ts +16 -16
  295. package/dist/cjs/helpers/Input/Input.tokens.d.ts +38 -38
  296. package/dist/cjs/helpers/Input/Input.types.d.ts +28 -28
  297. package/dist/cjs/helpers/Input/Input.utils.d.ts +5 -6
  298. package/dist/cjs/helpers/Input/index.d.ts +4 -4
  299. package/dist/cjs/helpers/Paper/Paper.d.ts +8 -8
  300. package/dist/cjs/helpers/Paper/Paper.tokens.d.ts +7 -7
  301. package/dist/cjs/helpers/Paper/index.d.ts +1 -1
  302. package/dist/cjs/helpers/RequiredMarker/RequiredMarker.d.ts +1 -2
  303. package/dist/cjs/helpers/RequiredMarker/index.d.ts +1 -1
  304. package/dist/cjs/helpers/ScreenSize/ScreenSize.utils.d.ts +7 -7
  305. package/dist/cjs/helpers/ScreenSize/index.d.ts +1 -1
  306. package/dist/cjs/helpers/SelectionControl/SelectionControl.styles.d.ts +20 -20
  307. package/dist/cjs/helpers/SelectionControl/SelectionControl.tokens.d.ts +94 -94
  308. package/dist/cjs/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -2
  309. package/dist/cjs/helpers/SelectionControl/index.d.ts +3 -3
  310. package/dist/cjs/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -2
  311. package/dist/cjs/helpers/TextOverflowEllipsis/index.d.ts +1 -1
  312. package/dist/cjs/helpers/index.d.ts +7 -7
  313. package/dist/cjs/helpers/styling/danger.d.ts +4 -4
  314. package/dist/cjs/helpers/styling/focus.d.ts +9 -9
  315. package/dist/cjs/helpers/styling/focusVisible.d.ts +37 -37
  316. package/dist/cjs/helpers/styling/hideInput.d.ts +7 -7
  317. package/dist/cjs/helpers/styling/hover.d.ts +12 -12
  318. package/dist/cjs/helpers/styling/index.d.ts +9 -9
  319. package/dist/cjs/helpers/styling/normalize.d.ts +5 -5
  320. package/dist/cjs/helpers/styling/removeButtonStyling.d.ts +9 -9
  321. package/dist/cjs/helpers/styling/removeListStyling.d.ts +5 -5
  322. package/dist/cjs/helpers/styling/selection.d.ts +4 -4
  323. package/dist/cjs/helpers/styling/visibilityTransition.d.ts +1 -1
  324. package/dist/cjs/hooks/index.d.ts +9 -9
  325. package/dist/cjs/hooks/useCombinedRefs.d.ts +20 -20
  326. package/dist/cjs/hooks/useFloatPosition.d.ts +48 -48
  327. package/dist/cjs/hooks/useFocusTrap.d.ts +16 -16
  328. package/dist/cjs/hooks/useIsMounted.d.ts +2 -2
  329. package/dist/cjs/hooks/useMountTransition.d.ts +33 -33
  330. package/dist/cjs/hooks/useOnClickOutside.d.ts +14 -14
  331. package/dist/cjs/hooks/useOnKeyDown.d.ts +14 -14
  332. package/dist/cjs/hooks/useReturnFocusOnBlur.d.ts +31 -31
  333. package/dist/cjs/hooks/useRoveFocus.d.ts +28 -28
  334. package/dist/cjs/hooks/useScreenSize.d.ts +20 -20
  335. package/dist/cjs/icons/icons.stories.d.ts +5 -5
  336. package/dist/cjs/icons/tsx/agreement.d.ts +2 -0
  337. package/dist/cjs/icons/tsx/apps.d.ts +2 -3
  338. package/dist/cjs/icons/tsx/archive.d.ts +2 -3
  339. package/dist/cjs/icons/tsx/arrowDown.d.ts +2 -3
  340. package/dist/cjs/icons/tsx/arrowLeft.d.ts +2 -3
  341. package/dist/cjs/icons/tsx/arrowRight.d.ts +2 -3
  342. package/dist/cjs/icons/tsx/arrowUp.d.ts +2 -3
  343. package/dist/cjs/icons/tsx/attachment.d.ts +2 -3
  344. package/dist/cjs/icons/tsx/barChart.d.ts +2 -3
  345. package/dist/cjs/icons/tsx/barChartBoxed.d.ts +2 -3
  346. package/dist/cjs/icons/tsx/block.d.ts +2 -3
  347. package/dist/cjs/icons/tsx/book.d.ts +2 -3
  348. package/dist/cjs/icons/tsx/build.d.ts +2 -3
  349. package/dist/cjs/icons/tsx/buildCircled.d.ts +2 -3
  350. package/dist/cjs/icons/tsx/calendar.d.ts +2 -3
  351. package/dist/cjs/icons/tsx/calendarMonth.d.ts +2 -3
  352. package/dist/cjs/icons/tsx/calendarViewDay.d.ts +2 -3
  353. package/dist/cjs/icons/tsx/calendarViewMonth.d.ts +2 -3
  354. package/dist/cjs/icons/tsx/calendarViewWeek.d.ts +2 -3
  355. package/dist/cjs/icons/tsx/call.d.ts +2 -3
  356. package/dist/cjs/icons/tsx/caring.d.ts +2 -0
  357. package/dist/cjs/icons/tsx/chat.d.ts +2 -3
  358. package/dist/cjs/icons/tsx/check.d.ts +2 -3
  359. package/dist/cjs/icons/tsx/checkCircled.d.ts +2 -3
  360. package/dist/cjs/icons/tsx/checklist.d.ts +2 -3
  361. package/dist/cjs/icons/tsx/chevronDown.d.ts +2 -3
  362. package/dist/cjs/icons/tsx/chevronFirst.d.ts +2 -3
  363. package/dist/cjs/icons/tsx/chevronLargeLeft.d.ts +2 -3
  364. package/dist/cjs/icons/tsx/chevronLargeRight.d.ts +2 -3
  365. package/dist/cjs/icons/tsx/chevronLast.d.ts +2 -3
  366. package/dist/cjs/icons/tsx/chevronLeft.d.ts +2 -3
  367. package/dist/cjs/icons/tsx/chevronRight.d.ts +2 -3
  368. package/dist/cjs/icons/tsx/chevronUp.d.ts +2 -3
  369. package/dist/cjs/icons/tsx/close.d.ts +2 -3
  370. package/dist/cjs/icons/tsx/closeCircled.d.ts +2 -3
  371. package/dist/cjs/icons/tsx/closeSmall.d.ts +2 -3
  372. package/dist/cjs/icons/tsx/cloud.d.ts +2 -3
  373. package/dist/cjs/icons/tsx/collapse.d.ts +2 -3
  374. package/dist/cjs/icons/tsx/comment.d.ts +2 -3
  375. package/dist/cjs/icons/tsx/copy.d.ts +2 -3
  376. package/dist/cjs/icons/tsx/court.d.ts +2 -3
  377. package/dist/cjs/icons/tsx/dateRange.d.ts +2 -3
  378. package/dist/cjs/icons/tsx/deaths.d.ts +2 -3
  379. package/dist/cjs/icons/tsx/doubleChevronLeft.d.ts +2 -3
  380. package/dist/cjs/icons/tsx/doubleChevronRight.d.ts +2 -3
  381. package/dist/cjs/icons/tsx/download.d.ts +2 -3
  382. package/dist/cjs/icons/tsx/downloadDone.d.ts +2 -3
  383. package/dist/cjs/icons/tsx/dragHandle.d.ts +2 -3
  384. package/dist/cjs/icons/tsx/edit.d.ts +2 -3
  385. package/dist/cjs/icons/tsx/error.d.ts +2 -3
  386. package/dist/cjs/icons/tsx/exclaim.d.ts +2 -3
  387. package/dist/cjs/icons/tsx/expand.d.ts +2 -3
  388. package/dist/cjs/icons/tsx/facebook.d.ts +2 -3
  389. package/dist/cjs/icons/tsx/family.d.ts +2 -3
  390. package/dist/cjs/icons/tsx/feedback.d.ts +2 -3
  391. package/dist/cjs/icons/tsx/file.d.ts +2 -3
  392. package/dist/cjs/icons/tsx/fileAdd.d.ts +2 -3
  393. package/dist/cjs/icons/tsx/fileText.d.ts +2 -3
  394. package/dist/cjs/icons/tsx/filter.d.ts +2 -3
  395. package/dist/cjs/icons/tsx/filterList.d.ts +2 -3
  396. package/dist/cjs/icons/tsx/filterListOff.d.ts +2 -3
  397. package/dist/cjs/icons/tsx/filterOff.d.ts +2 -3
  398. package/dist/cjs/icons/tsx/findInPage.d.ts +2 -3
  399. package/dist/cjs/icons/tsx/folder.d.ts +2 -3
  400. package/dist/cjs/icons/tsx/folderAdd.d.ts +2 -3
  401. package/dist/cjs/icons/tsx/fullsceenExit.d.ts +2 -3
  402. package/dist/cjs/icons/tsx/fullscreen.d.ts +2 -3
  403. package/dist/cjs/icons/tsx/gavel.d.ts +2 -3
  404. package/dist/cjs/icons/tsx/help.d.ts +2 -3
  405. package/dist/cjs/icons/tsx/helpFilled.d.ts +2 -3
  406. package/dist/cjs/icons/tsx/home.d.ts +2 -3
  407. package/dist/cjs/icons/tsx/hourglassBottom.d.ts +2 -3
  408. package/dist/cjs/icons/tsx/hourglassDisabled.d.ts +2 -3
  409. package/dist/cjs/icons/tsx/hourglassEmpty.d.ts +2 -3
  410. package/dist/cjs/icons/tsx/hourglassFull.d.ts +2 -3
  411. package/dist/cjs/icons/tsx/hourglassTop.d.ts +2 -3
  412. package/dist/cjs/icons/tsx/image.d.ts +2 -3
  413. package/dist/cjs/icons/tsx/index.d.ts +149 -146
  414. package/dist/cjs/icons/tsx/info.d.ts +2 -3
  415. package/dist/cjs/icons/tsx/instagram.d.ts +2 -3
  416. package/dist/cjs/icons/tsx/jordskifterett.d.ts +2 -3
  417. package/dist/cjs/icons/tsx/key.d.ts +2 -3
  418. package/dist/cjs/icons/tsx/lagmannsrett.d.ts +2 -3
  419. package/dist/cjs/icons/tsx/language.d.ts +2 -3
  420. package/dist/cjs/icons/tsx/libraryAdd.d.ts +2 -3
  421. package/dist/cjs/icons/tsx/lineChart.d.ts +2 -3
  422. package/dist/cjs/icons/tsx/link.d.ts +2 -3
  423. package/dist/cjs/icons/tsx/linkOff.d.ts +2 -3
  424. package/dist/cjs/icons/tsx/linkedIn.d.ts +2 -3
  425. package/dist/cjs/icons/tsx/list.d.ts +2 -3
  426. package/dist/cjs/icons/tsx/listAlt.d.ts +2 -3
  427. package/dist/cjs/icons/tsx/location.d.ts +2 -3
  428. package/dist/cjs/icons/tsx/lock.d.ts +2 -3
  429. package/dist/cjs/icons/tsx/lockOpen.d.ts +2 -3
  430. package/dist/cjs/icons/tsx/login.d.ts +2 -3
  431. package/dist/cjs/icons/tsx/logout.d.ts +2 -3
  432. package/dist/cjs/icons/tsx/mail.d.ts +2 -3
  433. package/dist/cjs/icons/tsx/mailOpen.d.ts +2 -3
  434. package/dist/cjs/icons/tsx/menu.d.ts +2 -3
  435. package/dist/cjs/icons/tsx/minus.d.ts +2 -3
  436. package/dist/cjs/icons/tsx/minusCircled.d.ts +2 -3
  437. package/dist/cjs/icons/tsx/moreHorizontal.d.ts +2 -3
  438. package/dist/cjs/icons/tsx/moreVertical.d.ts +2 -3
  439. package/dist/cjs/icons/tsx/notarial.d.ts +2 -3
  440. package/dist/cjs/icons/tsx/notifications.d.ts +2 -3
  441. package/dist/cjs/icons/tsx/notificationsOff.d.ts +2 -3
  442. package/dist/cjs/icons/tsx/onlineMeeting.d.ts +2 -3
  443. package/dist/cjs/icons/tsx/openExternal.d.ts +2 -3
  444. package/dist/cjs/icons/tsx/payout.d.ts +2 -0
  445. package/dist/cjs/icons/tsx/pdf.d.ts +2 -3
  446. package/dist/cjs/icons/tsx/person.d.ts +2 -3
  447. package/dist/cjs/icons/tsx/personAdd.d.ts +2 -3
  448. package/dist/cjs/icons/tsx/pin.d.ts +2 -3
  449. package/dist/cjs/icons/tsx/plus.d.ts +2 -3
  450. package/dist/cjs/icons/tsx/plusCircled.d.ts +2 -3
  451. package/dist/cjs/icons/tsx/print.d.ts +2 -3
  452. package/dist/cjs/icons/tsx/property.d.ts +2 -3
  453. package/dist/cjs/icons/tsx/publish.d.ts +2 -3
  454. package/dist/cjs/icons/tsx/questionAnswer.d.ts +2 -3
  455. package/dist/cjs/icons/tsx/receipt.d.ts +2 -3
  456. package/dist/cjs/icons/tsx/redo.d.ts +2 -3
  457. package/dist/cjs/icons/tsx/refresh.d.ts +2 -3
  458. package/dist/cjs/icons/tsx/replay.d.ts +2 -3
  459. package/dist/cjs/icons/tsx/search.d.ts +2 -3
  460. package/dist/cjs/icons/tsx/settings.d.ts +2 -3
  461. package/dist/cjs/icons/tsx/sms.d.ts +2 -3
  462. package/dist/cjs/icons/tsx/star.d.ts +2 -3
  463. package/dist/cjs/icons/tsx/starFilled.d.ts +2 -3
  464. package/dist/cjs/icons/tsx/starHalfFilled.d.ts +2 -3
  465. package/dist/cjs/icons/tsx/sync.d.ts +2 -3
  466. package/dist/cjs/icons/tsx/thumbdown.d.ts +2 -3
  467. package/dist/cjs/icons/tsx/thumbdownFilled.d.ts +2 -3
  468. package/dist/cjs/icons/tsx/thumbup.d.ts +2 -3
  469. package/dist/cjs/icons/tsx/thumbupFilled.d.ts +2 -3
  470. package/dist/cjs/icons/tsx/time.d.ts +2 -3
  471. package/dist/cjs/icons/tsx/tingrett.d.ts +2 -3
  472. package/dist/cjs/icons/tsx/tip.d.ts +2 -3
  473. package/dist/cjs/icons/tsx/trash.d.ts +2 -3
  474. package/dist/cjs/icons/tsx/trendingDown.d.ts +2 -3
  475. package/dist/cjs/icons/tsx/trendingUp.d.ts +2 -3
  476. package/dist/cjs/icons/tsx/twitter.d.ts +2 -3
  477. package/dist/cjs/icons/tsx/undo.d.ts +2 -3
  478. package/dist/cjs/icons/tsx/unfoldLess.d.ts +2 -3
  479. package/dist/cjs/icons/tsx/unfoldMore.d.ts +2 -3
  480. package/dist/cjs/icons/tsx/upload.d.ts +2 -3
  481. package/dist/cjs/icons/tsx/visibilityOff.d.ts +2 -3
  482. package/dist/cjs/icons/tsx/visibilityOn.d.ts +2 -3
  483. package/dist/cjs/icons/tsx/warning.d.ts +2 -3
  484. package/dist/cjs/icons/tsx/zoomIn.d.ts +2 -3
  485. package/dist/cjs/icons/tsx/zoomOut.d.ts +2 -3
  486. package/dist/cjs/icons/utils/StyledSvg.d.ts +4 -4
  487. package/dist/cjs/icons/utils/SvgWrapper.d.ts +2 -3
  488. package/dist/cjs/icons/utils/index.d.ts +2 -2
  489. package/dist/cjs/icons/utils/propTypes.d.ts +5 -5
  490. package/dist/cjs/index.d.ts +50 -50
  491. package/dist/cjs/index.js +604 -609
  492. package/dist/cjs/test/mocks/IntersectionObserver.d.ts +1 -1
  493. package/dist/cjs/test/mocks/ResizeObserver.d.ts +6 -6
  494. package/dist/cjs/types/BaseComponentProps.d.ts +58 -58
  495. package/dist/cjs/types/CheckboxPickedHTMLAttributes.d.ts +2 -2
  496. package/dist/cjs/types/Direction.d.ts +1 -1
  497. package/dist/cjs/types/index.d.ts +4 -4
  498. package/dist/cjs/types/utils.d.ts +15 -15
  499. package/dist/cjs/utils/color.d.ts +30 -30
  500. package/dist/cjs/utils/combineHandlers.d.ts +1 -1
  501. package/dist/cjs/utils/getFocusableElements.d.ts +2 -2
  502. package/dist/cjs/utils/getScrollbarSize.d.ts +1 -1
  503. package/dist/cjs/utils/idGenerator.d.ts +2 -2
  504. package/dist/cjs/utils/index.d.ts +7 -7
  505. package/dist/cjs/utils/searchFilter.d.ts +2 -2
  506. package/dist/cjs/utils/text.d.ts +2 -2
  507. package/dist/components/BackLink/BackLink.d.ts +6 -6
  508. package/dist/components/BackLink/BackLink.js +12 -19
  509. package/dist/components/BackLink/BackLink.stories.d.ts +18 -17
  510. package/dist/components/BackLink/BackLink.tokens.d.ts +8 -8
  511. package/dist/components/BackLink/index.d.ts +1 -1
  512. package/dist/components/Breadcrumbs/Breadcrumb.d.ts +3 -3
  513. package/dist/components/Breadcrumbs/Breadcrumb.js +12 -19
  514. package/dist/components/Breadcrumbs/Breadcrumb.tokens.d.ts +13 -13
  515. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  516. package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -2
  517. package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -8
  518. package/dist/components/Breadcrumbs/index.d.ts +2 -2
  519. package/dist/components/Button/Button.d.ts +21 -21
  520. package/dist/components/Button/Button.js +11 -14
  521. package/dist/components/Button/Button.stories.d.ts +64 -63
  522. package/dist/components/Button/Button.styles.d.ts +25 -25
  523. package/dist/components/Button/Button.tokens.d.ts +332 -332
  524. package/dist/components/Button/Button.types.d.ts +33 -33
  525. package/dist/components/Button/index.d.ts +2 -2
  526. package/dist/components/Card/Card.d.ts +26 -23
  527. package/dist/components/Card/Card.js +3 -4
  528. package/dist/components/Card/Card.stories.d.ts +15 -12
  529. package/dist/components/Card/Card.tokens.d.ts +27 -27
  530. package/dist/components/Card/CardAccordion/CardAccordion.d.ts +18 -18
  531. package/dist/components/Card/CardAccordion/CardAccordion.js +1 -0
  532. package/dist/components/Card/CardAccordion/CardAccordion.tokens.d.ts +28 -28
  533. package/dist/components/Card/CardAccordion/CardAccordionBody.d.ts +27 -27
  534. package/dist/components/Card/CardAccordion/CardAccordionBody.js +3 -4
  535. package/dist/components/Card/CardAccordion/CardAccordionHeader.d.ts +36 -36
  536. package/dist/components/Card/CardAccordion/CardAccordionHeader.js +5 -6
  537. package/dist/components/Card/CardAccordion/useElementHeight.d.ts +1 -1
  538. package/dist/components/Card/index.d.ts +4 -4
  539. package/dist/components/Checkbox/Checkbox.d.ts +10 -10
  540. package/dist/components/Checkbox/Checkbox.js +15 -11
  541. package/dist/components/Checkbox/Checkbox.stories.d.ts +50 -49
  542. package/dist/components/Checkbox/Checkbox.types.d.ts +15 -15
  543. package/dist/components/Checkbox/CheckboxGroup.d.ts +18 -16
  544. package/dist/components/Checkbox/CheckboxGroup.js +15 -12
  545. package/dist/components/Checkbox/CheckboxGroup.stories.d.ts +53 -50
  546. package/dist/components/Checkbox/CheckboxGroup.tokens.d.ts +13 -13
  547. package/dist/components/Checkbox/CheckboxGroupContext.d.ts +9 -9
  548. package/dist/components/Checkbox/index.d.ts +3 -3
  549. package/dist/components/Chip/Chip.d.ts +16 -16
  550. package/dist/components/Chip/Chip.js +2 -2
  551. package/dist/components/Chip/Chip.stories.d.ts +20 -19
  552. package/dist/components/Chip/Chip.tokens.d.ts +14 -14
  553. package/dist/components/Chip/ChipGroup.d.ts +3 -3
  554. package/dist/components/Chip/ChipGroup.js +2 -2
  555. package/dist/components/Chip/ChipGroup.stories.d.ts +8 -7
  556. package/dist/components/Chip/index.d.ts +2 -2
  557. package/dist/components/Datepicker/Datepicker.d.ts +12 -12
  558. package/dist/components/Datepicker/Datepicker.js +8 -4
  559. package/dist/components/Datepicker/Datepicker.stories.d.ts +53 -52
  560. package/dist/components/Datepicker/Datepicker.tokens.d.ts +27 -27
  561. package/dist/components/Datepicker/index.d.ts +1 -1
  562. package/dist/components/DescriptionList/DescriptionList.d.ts +23 -23
  563. package/dist/components/DescriptionList/DescriptionList.js +1 -0
  564. package/dist/components/DescriptionList/DescriptionList.stories.d.ts +19 -18
  565. package/dist/components/DescriptionList/DescriptionList.tokens.d.ts +37 -37
  566. package/dist/components/DescriptionList/DescriptionListDesc.d.ts +15 -15
  567. package/dist/components/DescriptionList/DescriptionListDesc.js +1 -0
  568. package/dist/components/DescriptionList/DescriptionListGroup.d.ts +23 -23
  569. package/dist/components/DescriptionList/DescriptionListGroup.js +1 -0
  570. package/dist/components/DescriptionList/DescriptionListTerm.d.ts +3 -3
  571. package/dist/components/DescriptionList/DescriptionListTerm.js +1 -0
  572. package/dist/components/DescriptionList/index.d.ts +4 -4
  573. package/dist/components/Divider/Divider.d.ts +13 -13
  574. package/dist/components/Divider/Divider.js +1 -0
  575. package/dist/components/Divider/Divider.stories.d.ts +15 -14
  576. package/dist/components/Divider/Divider.tokens.d.ts +13 -13
  577. package/dist/components/Divider/index.d.ts +1 -1
  578. package/dist/components/Drawer/Drawer.d.ts +50 -50
  579. package/dist/components/Drawer/Drawer.js +21 -17
  580. package/dist/components/Drawer/Drawer.stories.d.ts +24 -23
  581. package/dist/components/Drawer/Drawer.tokens.d.ts +9 -9
  582. package/dist/components/Drawer/DrawerGroup.d.ts +15 -12
  583. package/dist/components/Drawer/DrawerGroup.js +1 -0
  584. package/dist/components/Drawer/index.d.ts +2 -2
  585. package/dist/components/EmptyContent/EmptyContent.d.ts +9 -6
  586. package/dist/components/EmptyContent/EmptyContent.js +11 -19
  587. package/dist/components/EmptyContent/EmptyContent.stories.d.ts +16 -16
  588. package/dist/components/EmptyContent/index.d.ts +1 -1
  589. package/dist/components/FileUploader/ErrorList.d.ts +9 -10
  590. package/dist/components/FileUploader/File.d.ts +10 -11
  591. package/dist/components/FileUploader/FileUploader.d.ts +22 -20
  592. package/dist/components/FileUploader/FileUploader.js +15 -14
  593. package/dist/components/FileUploader/FileUploader.stories.d.ts +28 -25
  594. package/dist/components/FileUploader/FileUploader.tokens.d.ts +25 -25
  595. package/dist/components/FileUploader/fileUploaderReducer.d.ts +33 -33
  596. package/dist/components/FileUploader/index.d.ts +1 -1
  597. package/dist/components/FileUploader/types.d.ts +10 -10
  598. package/dist/components/FileUploader/useFileUploader.d.ts +33 -33
  599. package/dist/components/FileUploader/utils.d.ts +7 -7
  600. package/dist/components/GlobalMessage/GlobalMessage.d.ts +27 -27
  601. package/dist/components/GlobalMessage/GlobalMessage.js +13 -20
  602. package/dist/components/GlobalMessage/GlobalMessage.stories.d.ts +31 -30
  603. package/dist/components/GlobalMessage/GlobalMessage.tokens.d.ts +50 -50
  604. package/dist/components/GlobalMessage/index.d.ts +1 -1
  605. package/dist/components/Grid/Grid.context.d.ts +7 -7
  606. package/dist/components/Grid/Grid.d.ts +24 -21
  607. package/dist/components/Grid/Grid.js +6 -8
  608. package/dist/components/Grid/Grid.stories.d.ts +11 -8
  609. package/dist/components/Grid/Grid.tokens.d.ts +82 -82
  610. package/dist/components/Grid/GridChild.d.ts +22 -19
  611. package/dist/components/Grid/GridChild.js +2 -2
  612. package/dist/components/Grid/index.d.ts +2 -2
  613. package/dist/components/Icon/Icon.d.ts +17 -14
  614. package/dist/components/Icon/Icon.js +1 -0
  615. package/dist/components/Icon/Icon.stories.d.ts +21 -21
  616. package/dist/components/Icon/index.d.ts +1 -1
  617. package/dist/components/InlineEdit/InlineEdit.d.ts +5 -3
  618. package/dist/components/InlineEdit/InlineEdit.js +1 -0
  619. package/dist/components/InlineEdit/InlineEdit.stories.d.ts +34 -33
  620. package/dist/components/InlineEdit/InlineEdit.styles.d.ts +20 -20
  621. package/dist/components/InlineEdit/InlineEdit.tokens.d.ts +27 -27
  622. package/dist/components/InlineEdit/InlineEdit.types.d.ts +35 -35
  623. package/dist/components/InlineEdit/InlineEdit.utils.d.ts +1 -2
  624. package/dist/components/InlineEdit/InlineEdit.utils.js +3 -4
  625. package/dist/components/InlineEdit/InlineEditInput.d.ts +2 -2
  626. package/dist/components/InlineEdit/InlineEditInput.js +3 -4
  627. package/dist/components/InlineEdit/InlineEditInput.stories.d.ts +37 -36
  628. package/dist/components/InlineEdit/InlineEditTextArea.d.ts +2 -2
  629. package/dist/components/InlineEdit/InlineEditTextArea.js +3 -4
  630. package/dist/components/InlineEdit/InlineEditTextArea.stories.d.ts +37 -36
  631. package/dist/components/InlineEdit/InlineInput.d.ts +4 -4
  632. package/dist/components/InlineEdit/InlineInput.js +7 -8
  633. package/dist/components/InlineEdit/InlineTextArea.d.ts +4 -4
  634. package/dist/components/InlineEdit/InlineTextArea.js +7 -8
  635. package/dist/components/InlineEdit/index.d.ts +3 -3
  636. package/dist/components/InputMessage/InputMessage.d.ts +17 -17
  637. package/dist/components/InputMessage/InputMessage.js +10 -15
  638. package/dist/components/InputMessage/InputMessage.stories.d.ts +21 -20
  639. package/dist/components/InputMessage/InputMessage.tokens.d.ts +16 -16
  640. package/dist/components/InputMessage/index.d.ts +1 -1
  641. package/dist/components/InternalHeader/InternalHeader.d.ts +5 -3
  642. package/dist/components/InternalHeader/InternalHeader.js +19 -28
  643. package/dist/components/InternalHeader/InternalHeader.stories.d.ts +47 -44
  644. package/dist/components/InternalHeader/InternalHeader.styles.d.ts +31 -31
  645. package/dist/components/InternalHeader/InternalHeader.styles.js +1 -2
  646. package/dist/components/InternalHeader/InternalHeader.tokens.d.ts +47 -47
  647. package/dist/components/InternalHeader/InternalHeader.types.d.ts +36 -36
  648. package/dist/components/InternalHeader/InternalHeaderListItem.d.ts +3 -3
  649. package/dist/components/InternalHeader/NavigationItem.d.ts +14 -14
  650. package/dist/components/InternalHeader/NavigationItem.js +1 -2
  651. package/dist/components/InternalHeader/index.d.ts +2 -2
  652. package/dist/components/List/List.d.ts +21 -21
  653. package/dist/components/List/List.js +1 -0
  654. package/dist/components/List/List.stories.d.ts +18 -17
  655. package/dist/components/List/List.tokens.d.ts +24 -24
  656. package/dist/components/List/ListItem.d.ts +3 -3
  657. package/dist/components/List/ListItem.js +1 -0
  658. package/dist/components/List/index.d.ts +2 -2
  659. package/dist/components/LocalMessage/LocalMessage.d.ts +37 -37
  660. package/dist/components/LocalMessage/LocalMessage.js +10 -16
  661. package/dist/components/LocalMessage/LocalMessage.stories.d.ts +40 -39
  662. package/dist/components/LocalMessage/LocalMessage.tokens.d.ts +88 -88
  663. package/dist/components/LocalMessage/index.d.ts +1 -1
  664. package/dist/components/Modal/Modal.d.ts +30 -30
  665. package/dist/components/Modal/Modal.js +11 -7
  666. package/dist/components/Modal/Modal.stories.d.ts +28 -27
  667. package/dist/components/Modal/Modal.tokens.d.ts +12 -12
  668. package/dist/components/Modal/ModalActions.d.ts +3 -3
  669. package/dist/components/Modal/ModalActions.js +1 -0
  670. package/dist/components/Modal/ModalBody.d.ts +19 -19
  671. package/dist/components/Modal/ModalBody.js +4 -4
  672. package/dist/components/Modal/index.d.ts +3 -3
  673. package/dist/components/OverflowMenu/OverflowMenu.d.ts +24 -24
  674. package/dist/components/OverflowMenu/OverflowMenu.js +5 -6
  675. package/dist/components/OverflowMenu/OverflowMenu.stories.d.ts +27 -26
  676. package/dist/components/OverflowMenu/OverflowMenu.tokens.d.ts +34 -34
  677. package/dist/components/OverflowMenu/OverflowMenu.types.d.ts +37 -37
  678. package/dist/components/OverflowMenu/OverflowMenuGroup.d.ts +17 -14
  679. package/dist/components/OverflowMenu/OverflowMenuGroup.js +1 -0
  680. package/dist/components/OverflowMenu/OverflowMenuItem.d.ts +21 -21
  681. package/dist/components/OverflowMenu/OverflowMenuItem.js +5 -7
  682. package/dist/components/OverflowMenu/index.d.ts +3 -3
  683. package/dist/components/Pagination/Pagination.d.ts +52 -52
  684. package/dist/components/Pagination/Pagination.js +25 -37
  685. package/dist/components/Pagination/Pagination.stories.d.ts +48 -47
  686. package/dist/components/Pagination/Pagination.tokens.d.ts +14 -14
  687. package/dist/components/Pagination/index.d.ts +1 -1
  688. package/dist/components/Pagination/paginationGenerator.d.ts +1 -1
  689. package/dist/components/Popover/Popover.d.ts +60 -60
  690. package/dist/components/Popover/Popover.js +17 -14
  691. package/dist/components/Popover/Popover.stories.d.ts +55 -54
  692. package/dist/components/Popover/Popover.tokens.d.ts +17 -17
  693. package/dist/components/Popover/PopoverGroup.d.ts +17 -14
  694. package/dist/components/Popover/PopoverGroup.js +1 -0
  695. package/dist/components/Popover/index.d.ts +2 -2
  696. package/dist/components/ProgressTracker/ProgressTracker.context.d.ts +8 -8
  697. package/dist/components/ProgressTracker/ProgressTracker.d.ts +14 -14
  698. package/dist/components/ProgressTracker/ProgressTracker.js +4 -4
  699. package/dist/components/ProgressTracker/ProgressTracker.stories.d.ts +45 -41
  700. package/dist/components/ProgressTracker/ProgressTracker.tokens.d.ts +72 -72
  701. package/dist/components/ProgressTracker/ProgressTrackerItem.d.ts +27 -25
  702. package/dist/components/ProgressTracker/ProgressTrackerItem.js +9 -12
  703. package/dist/components/ProgressTracker/index.d.ts +1 -1
  704. package/dist/components/RadioButton/RadioButton.d.ts +18 -18
  705. package/dist/components/RadioButton/RadioButton.js +13 -9
  706. package/dist/components/RadioButton/RadioButton.stories.d.ts +52 -51
  707. package/dist/components/RadioButton/RadioButton.types.d.ts +12 -12
  708. package/dist/components/RadioButton/RadioButtonGroup.d.ts +56 -56
  709. package/dist/components/RadioButton/RadioButtonGroup.js +17 -14
  710. package/dist/components/RadioButton/RadioButtonGroup.stories.d.ts +65 -64
  711. package/dist/components/RadioButton/RadioButtonGroupContext.d.ts +13 -13
  712. package/dist/components/RadioButton/index.d.ts +3 -3
  713. package/dist/components/ScrollableContainer/ScrollableContainer.d.ts +10 -8
  714. package/dist/components/ScrollableContainer/ScrollableContainer.js +4 -4
  715. package/dist/components/ScrollableContainer/ScrollableContainer.stories.d.ts +18 -15
  716. package/dist/components/ScrollableContainer/ScrollableContainer.tokens.d.ts +25 -25
  717. package/dist/components/ScrollableContainer/Scrollbar.d.ts +10 -7
  718. package/dist/components/ScrollableContainer/Scrollbar.js +1 -0
  719. package/dist/components/ScrollableContainer/index.d.ts +3 -3
  720. package/dist/components/ScrollableContainer/scrollbarStyling.d.ts +26 -26
  721. package/dist/components/ScrollableContainer/scrollbarStyling.js +2 -2
  722. package/dist/components/Search/AutocompleteSearch.context.d.ts +12 -12
  723. package/dist/components/Search/Search.d.ts +21 -21
  724. package/dist/components/Search/Search.js +11 -8
  725. package/dist/components/Search/Search.stories.d.ts +51 -47
  726. package/dist/components/Search/Search.tokens.d.ts +64 -64
  727. package/dist/components/Search/Search.utils.d.ts +9 -9
  728. package/dist/components/Search/Search.utils.js +6 -6
  729. package/dist/components/Search/SearchAutocompleteWrapper.d.ts +34 -31
  730. package/dist/components/Search/SearchAutocompleteWrapper.js +4 -4
  731. package/dist/components/Search/SearchSuggestions.d.ts +29 -29
  732. package/dist/components/Search/SearchSuggestions.js +17 -15
  733. package/dist/components/Search/index.d.ts +10 -10
  734. package/dist/components/Select/CustomSelect.stories.d.ts +66 -66
  735. package/dist/components/Select/MultiSelect.stories.d.ts +75 -74
  736. package/dist/components/Select/Select.d.ts +37 -37
  737. package/dist/components/Select/Select.js +12 -8
  738. package/dist/components/Select/Select.stories.d.ts +71 -70
  739. package/dist/components/Select/Select.styles.d.ts +18 -18
  740. package/dist/components/Select/Select.tokens.d.ts +143 -143
  741. package/dist/components/Select/index.d.ts +1 -1
  742. package/dist/components/SkipToContent/SkipToContent.d.ts +21 -21
  743. package/dist/components/SkipToContent/SkipToContent.js +2 -2
  744. package/dist/components/SkipToContent/SkipToContent.stories.d.ts +33 -32
  745. package/dist/components/SkipToContent/SkipToContent.tokens.d.ts +14 -14
  746. package/dist/components/SkipToContent/index.d.ts +1 -1
  747. package/dist/components/Spinner/Spinner.d.ts +15 -13
  748. package/dist/components/Spinner/Spinner.js +4 -4
  749. package/dist/components/Spinner/Spinner.stories.d.ts +26 -26
  750. package/dist/components/Spinner/index.d.ts +1 -1
  751. package/dist/components/SplitButton/SplitButton.d.ts +16 -16
  752. package/dist/components/SplitButton/SplitButton.js +7 -8
  753. package/dist/components/SplitButton/SplitButton.stories.d.ts +10 -9
  754. package/dist/components/SplitButton/SplitButton.tokens.d.ts +7 -7
  755. package/dist/components/SplitButton/index.d.ts +1 -1
  756. package/dist/components/Stack/Stack.d.ts +39 -39
  757. package/dist/components/Stack/Stack.js +2 -0
  758. package/dist/components/Stack/Stack.stories.d.ts +13 -11
  759. package/dist/components/Stack/Stack.tokens.d.ts +20 -20
  760. package/dist/components/Stack/index.d.ts +1 -1
  761. package/dist/components/Table/Body.d.ts +3 -3
  762. package/dist/components/Table/Body.js +1 -0
  763. package/dist/components/Table/Cell.d.ts +15 -15
  764. package/dist/components/Table/Cell.js +1 -0
  765. package/dist/components/Table/Foot.d.ts +3 -3
  766. package/dist/components/Table/Foot.js +1 -0
  767. package/dist/components/Table/Head.d.ts +3 -3
  768. package/dist/components/Table/Head.js +1 -0
  769. package/dist/components/Table/Row.d.ts +7 -7
  770. package/dist/components/Table/Row.js +1 -0
  771. package/dist/components/Table/SortCell.d.ts +19 -19
  772. package/dist/components/Table/SortCell.js +4 -4
  773. package/dist/components/Table/Table.d.ts +7 -7
  774. package/dist/components/Table/Table.js +1 -0
  775. package/dist/components/Table/Table.stories.d.ts +56 -52
  776. package/dist/components/Table/Table.styles.d.ts +10 -10
  777. package/dist/components/Table/Table.tokens.d.ts +67 -67
  778. package/dist/components/Table/Table.types.d.ts +37 -37
  779. package/dist/components/Table/TableWrapper.d.ts +6 -3
  780. package/dist/components/Table/TableWrapper.js +1 -0
  781. package/dist/components/Table/collapsible/CollapsibleRow.d.ts +7 -7
  782. package/dist/components/Table/collapsible/CollapsibleRow.js +17 -22
  783. package/dist/components/Table/collapsible/CollapsibleTable.d.ts +10 -10
  784. package/dist/components/Table/collapsible/CollapsibleTable.js +4 -4
  785. package/dist/components/Table/collapsible/CollapsibleTable.stories.d.ts +49 -48
  786. package/dist/components/Table/collapsible/Table.context.d.ts +10 -10
  787. package/dist/components/Table/collapsible/Table.context.js +1 -1
  788. package/dist/components/Table/index.d.ts +28 -28
  789. package/dist/components/Table/tableData.d.ts +17 -17
  790. package/dist/components/Tabs/Tab.d.ts +31 -31
  791. package/dist/components/Tabs/Tab.js +1 -0
  792. package/dist/components/Tabs/TabList.d.ts +3 -3
  793. package/dist/components/Tabs/TabList.js +1 -0
  794. package/dist/components/Tabs/TabPanel.d.ts +14 -14
  795. package/dist/components/Tabs/TabPanel.js +1 -0
  796. package/dist/components/Tabs/TabPanels.d.ts +3 -3
  797. package/dist/components/Tabs/TabPanels.js +1 -0
  798. package/dist/components/Tabs/Tabs.context.d.ts +15 -15
  799. package/dist/components/Tabs/Tabs.d.ts +27 -27
  800. package/dist/components/Tabs/Tabs.js +5 -6
  801. package/dist/components/Tabs/Tabs.stories.d.ts +53 -11
  802. package/dist/components/Tabs/Tabs.tokens.d.ts +32 -32
  803. package/dist/components/Tabs/index.d.ts +5 -5
  804. package/dist/components/Tag/Tag.d.ts +17 -17
  805. package/dist/components/Tag/Tag.js +2 -2
  806. package/dist/components/Tag/Tag.stories.d.ts +19 -18
  807. package/dist/components/Tag/Tag.tokens.d.ts +31 -31
  808. package/dist/components/Tag/index.d.ts +1 -1
  809. package/dist/components/TextArea/TextArea.d.ts +10 -10
  810. package/dist/components/TextArea/TextArea.js +8 -4
  811. package/dist/components/TextArea/TextArea.stories.d.ts +52 -51
  812. package/dist/components/TextArea/TextArea.tokens.d.ts +5 -5
  813. package/dist/components/TextArea/index.d.ts +1 -1
  814. package/dist/components/TextInput/CharCounter.d.ts +7 -8
  815. package/dist/components/TextInput/CharCounter.js +6 -13
  816. package/dist/components/TextInput/TextInput.d.ts +10 -10
  817. package/dist/components/TextInput/TextInput.js +14 -12
  818. package/dist/components/TextInput/TextInput.stories.d.ts +72 -71
  819. package/dist/components/TextInput/TextInput.styles.d.ts +17 -17
  820. package/dist/components/TextInput/TextInput.tokens.d.ts +37 -37
  821. package/dist/components/TextInput/TextInput.types.d.ts +21 -21
  822. package/dist/components/TextInput/index.d.ts +2 -2
  823. package/dist/components/ToggleBar/ToggleBar.context.d.ts +10 -10
  824. package/dist/components/ToggleBar/ToggleBar.d.ts +5 -3
  825. package/dist/components/ToggleBar/ToggleBar.js +13 -20
  826. package/dist/components/ToggleBar/ToggleBar.stories.d.ts +23 -20
  827. package/dist/components/ToggleBar/ToggleBar.tokens.d.ts +84 -84
  828. package/dist/components/ToggleBar/ToggleBar.types.d.ts +19 -19
  829. package/dist/components/ToggleBar/ToggleRadio.d.ts +19 -19
  830. package/dist/components/ToggleBar/ToggleRadio.js +15 -16
  831. package/dist/components/ToggleBar/ToggleRadio.styles.d.ts +11 -11
  832. package/dist/components/ToggleBar/index.d.ts +3 -3
  833. package/dist/components/ToggleButton/ToggleButton.d.ts +7 -7
  834. package/dist/components/ToggleButton/ToggleButton.js +4 -4
  835. package/dist/components/ToggleButton/ToggleButton.stories.d.ts +19 -18
  836. package/dist/components/ToggleButton/ToggleButton.tokens.d.ts +32 -32
  837. package/dist/components/ToggleButton/ToggleButton.types.d.ts +10 -10
  838. package/dist/components/ToggleButton/ToggleButtonGroup.d.ts +15 -13
  839. package/dist/components/ToggleButton/ToggleButtonGroup.js +9 -15
  840. package/dist/components/ToggleButton/ToggleButtonGroup.stories.d.ts +11 -8
  841. package/dist/components/ToggleButton/index.d.ts +3 -3
  842. package/dist/components/Tooltip/Tooltip.d.ts +32 -32
  843. package/dist/components/Tooltip/Tooltip.js +2 -2
  844. package/dist/components/Tooltip/Tooltip.stories.d.ts +35 -34
  845. package/dist/components/Tooltip/Tooltip.styles.d.ts +11 -11
  846. package/dist/components/Tooltip/Tooltip.tokens.d.ts +13 -13
  847. package/dist/components/Tooltip/index.d.ts +1 -1
  848. package/dist/components/Typography/Caption/Caption.d.ts +11 -11
  849. package/dist/components/Typography/Caption/Caption.js +2 -2
  850. package/dist/components/Typography/Caption/Caption.stories.d.ts +29 -28
  851. package/dist/components/Typography/Caption/index.d.ts +1 -1
  852. package/dist/components/Typography/Heading/Heading.d.ts +22 -22
  853. package/dist/components/Typography/Heading/Heading.js +1 -0
  854. package/dist/components/Typography/Heading/Heading.stories.d.ts +38 -37
  855. package/dist/components/Typography/Heading/index.d.ts +1 -1
  856. package/dist/components/Typography/Label/Label.d.ts +17 -17
  857. package/dist/components/Typography/Label/Label.js +2 -2
  858. package/dist/components/Typography/Label/Label.stories.d.ts +33 -32
  859. package/dist/components/Typography/Label/index.d.ts +1 -1
  860. package/dist/components/Typography/Legend/Legend.d.ts +11 -11
  861. package/dist/components/Typography/Legend/Legend.js +2 -2
  862. package/dist/components/Typography/Legend/Legend.stories.d.ts +29 -28
  863. package/dist/components/Typography/Legend/index.d.ts +1 -1
  864. package/dist/components/Typography/Link/Link.d.ts +23 -23
  865. package/dist/components/Typography/Link/Link.js +1 -0
  866. package/dist/components/Typography/Link/Link.stories.d.ts +48 -47
  867. package/dist/components/Typography/Link/index.d.ts +1 -1
  868. package/dist/components/Typography/Paragraph/Paragraph.d.ts +17 -17
  869. package/dist/components/Typography/Paragraph/Paragraph.js +1 -0
  870. package/dist/components/Typography/Paragraph/Paragraph.stories.d.ts +37 -36
  871. package/dist/components/Typography/Paragraph/index.d.ts +1 -1
  872. package/dist/components/Typography/Typography/Typography.d.ts +25 -25
  873. package/dist/components/Typography/Typography/Typography.js +1 -0
  874. package/dist/components/Typography/Typography/Typography.stories.d.ts +64 -63
  875. package/dist/components/Typography/Typography/Typography.types.d.ts +36 -36
  876. package/dist/components/Typography/Typography/index.d.ts +2 -2
  877. package/dist/components/Typography/Typography.tokens.d.ts +448 -448
  878. package/dist/components/Typography/Typography.utils.d.ts +203 -203
  879. package/dist/components/Typography/index.d.ts +7 -7
  880. package/dist/components/Typography/stories/Examples.stories.d.ts +5 -5
  881. package/dist/components/Typography/stories/TypographyComponents.stories.d.ts +42 -42
  882. package/dist/components/Typography/stories/TypographyTypes.stories.d.ts +11 -10
  883. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +14 -12
  884. package/dist/components/VisuallyHidden/VisuallyHidden.js +2 -2
  885. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +19 -16
  886. package/dist/components/VisuallyHidden/index.d.ts +1 -1
  887. package/dist/helpers/Backdrop/Backdrop.d.ts +5 -5
  888. package/dist/helpers/Backdrop/Backdrop.utils.d.ts +2 -2
  889. package/dist/helpers/Backdrop/index.d.ts +2 -2
  890. package/dist/helpers/Chevron/AnimatedChevronUpDown.d.ts +8 -9
  891. package/dist/helpers/Chevron/AnimatedChevronUpDown.js +6 -8
  892. package/dist/helpers/Chevron/AnimatedChevronUpDown.styles.d.ts +7 -7
  893. package/dist/helpers/Chevron/index.d.ts +1 -1
  894. package/dist/helpers/HiddenInput/HiddenInput.d.ts +1 -1
  895. package/dist/helpers/HiddenInput/index.d.ts +1 -1
  896. package/dist/helpers/Input/Input.styles.d.ts +16 -16
  897. package/dist/helpers/Input/Input.tokens.d.ts +38 -38
  898. package/dist/helpers/Input/Input.types.d.ts +28 -28
  899. package/dist/helpers/Input/Input.utils.d.ts +5 -6
  900. package/dist/helpers/Input/index.d.ts +4 -4
  901. package/dist/helpers/Paper/Paper.d.ts +8 -8
  902. package/dist/helpers/Paper/Paper.tokens.d.ts +7 -7
  903. package/dist/helpers/Paper/index.d.ts +1 -1
  904. package/dist/helpers/RequiredMarker/RequiredMarker.d.ts +1 -2
  905. package/dist/helpers/RequiredMarker/index.d.ts +1 -1
  906. package/dist/helpers/ScreenSize/ScreenSize.utils.d.ts +7 -7
  907. package/dist/helpers/ScreenSize/index.d.ts +1 -1
  908. package/dist/helpers/SelectionControl/SelectionControl.styles.d.ts +20 -20
  909. package/dist/helpers/SelectionControl/SelectionControl.tokens.d.ts +94 -94
  910. package/dist/helpers/SelectionControl/SelectionControl.utils.d.ts +2 -2
  911. package/dist/helpers/SelectionControl/index.d.ts +3 -3
  912. package/dist/helpers/TextOverflowEllipsis/TextOverflowEllipsis.d.ts +2 -2
  913. package/dist/helpers/TextOverflowEllipsis/index.d.ts +1 -1
  914. package/dist/helpers/index.d.ts +7 -7
  915. package/dist/helpers/styling/danger.d.ts +4 -4
  916. package/dist/helpers/styling/focus.d.ts +9 -9
  917. package/dist/helpers/styling/focusVisible.d.ts +37 -37
  918. package/dist/helpers/styling/hideInput.d.ts +7 -7
  919. package/dist/helpers/styling/hover.d.ts +12 -12
  920. package/dist/helpers/styling/index.d.ts +9 -9
  921. package/dist/helpers/styling/normalize.d.ts +5 -5
  922. package/dist/helpers/styling/removeButtonStyling.d.ts +9 -9
  923. package/dist/helpers/styling/removeListStyling.d.ts +5 -5
  924. package/dist/helpers/styling/selection.d.ts +4 -4
  925. package/dist/helpers/styling/visibilityTransition.d.ts +1 -1
  926. package/dist/hooks/index.d.ts +9 -9
  927. package/dist/hooks/useCombinedRefs.d.ts +20 -20
  928. package/dist/hooks/useCombinedRefs.js +17 -17
  929. package/dist/hooks/useFloatPosition.d.ts +48 -48
  930. package/dist/hooks/useFocusTrap.d.ts +16 -16
  931. package/dist/hooks/useFocusTrap.js +13 -13
  932. package/dist/hooks/useIsMounted.d.ts +2 -2
  933. package/dist/hooks/useMountTransition.d.ts +33 -33
  934. package/dist/hooks/useMountTransition.js +31 -31
  935. package/dist/hooks/useOnClickOutside.d.ts +14 -14
  936. package/dist/hooks/useOnClickOutside.js +12 -12
  937. package/dist/hooks/useOnKeyDown.d.ts +14 -14
  938. package/dist/hooks/useOnKeyDown.js +12 -12
  939. package/dist/hooks/useReturnFocusOnBlur.d.ts +31 -31
  940. package/dist/hooks/useReturnFocusOnBlur.js +28 -28
  941. package/dist/hooks/useRoveFocus.d.ts +28 -28
  942. package/dist/hooks/useRoveFocus.js +23 -23
  943. package/dist/hooks/useScreenSize.d.ts +20 -20
  944. package/dist/hooks/useScreenSize.js +11 -11
  945. package/dist/icons/icons.stories.d.ts +5 -5
  946. package/dist/icons/tsx/agreement.d.ts +2 -0
  947. package/dist/icons/tsx/agreement.js +12 -0
  948. package/dist/icons/tsx/apps.d.ts +2 -3
  949. package/dist/icons/tsx/archive.d.ts +2 -3
  950. package/dist/icons/tsx/arrowDown.d.ts +2 -3
  951. package/dist/icons/tsx/arrowLeft.d.ts +2 -3
  952. package/dist/icons/tsx/arrowRight.d.ts +2 -3
  953. package/dist/icons/tsx/arrowUp.d.ts +2 -3
  954. package/dist/icons/tsx/attachment.d.ts +2 -3
  955. package/dist/icons/tsx/barChart.d.ts +2 -3
  956. package/dist/icons/tsx/barChartBoxed.d.ts +2 -3
  957. package/dist/icons/tsx/block.d.ts +2 -3
  958. package/dist/icons/tsx/book.d.ts +2 -3
  959. package/dist/icons/tsx/build.d.ts +2 -3
  960. package/dist/icons/tsx/buildCircled.d.ts +2 -3
  961. package/dist/icons/tsx/calendar.d.ts +2 -3
  962. package/dist/icons/tsx/calendarMonth.d.ts +2 -3
  963. package/dist/icons/tsx/calendarViewDay.d.ts +2 -3
  964. package/dist/icons/tsx/calendarViewMonth.d.ts +2 -3
  965. package/dist/icons/tsx/calendarViewWeek.d.ts +2 -3
  966. package/dist/icons/tsx/call.d.ts +2 -3
  967. package/dist/icons/tsx/caring.d.ts +2 -0
  968. package/dist/icons/tsx/caring.js +12 -0
  969. package/dist/icons/tsx/chat.d.ts +2 -3
  970. package/dist/icons/tsx/check.d.ts +2 -3
  971. package/dist/icons/tsx/checkCircled.d.ts +2 -3
  972. package/dist/icons/tsx/checklist.d.ts +2 -3
  973. package/dist/icons/tsx/chevronDown.d.ts +2 -3
  974. package/dist/icons/tsx/chevronFirst.d.ts +2 -3
  975. package/dist/icons/tsx/chevronLargeLeft.d.ts +2 -3
  976. package/dist/icons/tsx/chevronLargeRight.d.ts +2 -3
  977. package/dist/icons/tsx/chevronLast.d.ts +2 -3
  978. package/dist/icons/tsx/chevronLeft.d.ts +2 -3
  979. package/dist/icons/tsx/chevronRight.d.ts +2 -3
  980. package/dist/icons/tsx/chevronUp.d.ts +2 -3
  981. package/dist/icons/tsx/close.d.ts +2 -3
  982. package/dist/icons/tsx/closeCircled.d.ts +2 -3
  983. package/dist/icons/tsx/closeSmall.d.ts +2 -3
  984. package/dist/icons/tsx/cloud.d.ts +2 -3
  985. package/dist/icons/tsx/collapse.d.ts +2 -3
  986. package/dist/icons/tsx/comment.d.ts +2 -3
  987. package/dist/icons/tsx/copy.d.ts +2 -3
  988. package/dist/icons/tsx/court.d.ts +2 -3
  989. package/dist/icons/tsx/dateRange.d.ts +2 -3
  990. package/dist/icons/tsx/deaths.d.ts +2 -3
  991. package/dist/icons/tsx/doubleChevronLeft.d.ts +2 -3
  992. package/dist/icons/tsx/doubleChevronRight.d.ts +2 -3
  993. package/dist/icons/tsx/download.d.ts +2 -3
  994. package/dist/icons/tsx/downloadDone.d.ts +2 -3
  995. package/dist/icons/tsx/dragHandle.d.ts +2 -3
  996. package/dist/icons/tsx/edit.d.ts +2 -3
  997. package/dist/icons/tsx/error.d.ts +2 -3
  998. package/dist/icons/tsx/exclaim.d.ts +2 -3
  999. package/dist/icons/tsx/expand.d.ts +2 -3
  1000. package/dist/icons/tsx/facebook.d.ts +2 -3
  1001. package/dist/icons/tsx/family.d.ts +2 -3
  1002. package/dist/icons/tsx/feedback.d.ts +2 -3
  1003. package/dist/icons/tsx/file.d.ts +2 -3
  1004. package/dist/icons/tsx/fileAdd.d.ts +2 -3
  1005. package/dist/icons/tsx/fileText.d.ts +2 -3
  1006. package/dist/icons/tsx/filter.d.ts +2 -3
  1007. package/dist/icons/tsx/filterList.d.ts +2 -3
  1008. package/dist/icons/tsx/filterListOff.d.ts +2 -3
  1009. package/dist/icons/tsx/filterOff.d.ts +2 -3
  1010. package/dist/icons/tsx/findInPage.d.ts +2 -3
  1011. package/dist/icons/tsx/folder.d.ts +2 -3
  1012. package/dist/icons/tsx/folderAdd.d.ts +2 -3
  1013. package/dist/icons/tsx/fullsceenExit.d.ts +2 -3
  1014. package/dist/icons/tsx/fullscreen.d.ts +2 -3
  1015. package/dist/icons/tsx/gavel.d.ts +2 -3
  1016. package/dist/icons/tsx/help.d.ts +2 -3
  1017. package/dist/icons/tsx/helpFilled.d.ts +2 -3
  1018. package/dist/icons/tsx/home.d.ts +2 -3
  1019. package/dist/icons/tsx/hourglassBottom.d.ts +2 -3
  1020. package/dist/icons/tsx/hourglassDisabled.d.ts +2 -3
  1021. package/dist/icons/tsx/hourglassEmpty.d.ts +2 -3
  1022. package/dist/icons/tsx/hourglassFull.d.ts +2 -3
  1023. package/dist/icons/tsx/hourglassTop.d.ts +2 -3
  1024. package/dist/icons/tsx/image.d.ts +2 -3
  1025. package/dist/icons/tsx/index.d.ts +149 -146
  1026. package/dist/icons/tsx/info.d.ts +2 -3
  1027. package/dist/icons/tsx/instagram.d.ts +2 -3
  1028. package/dist/icons/tsx/jordskifterett.d.ts +2 -3
  1029. package/dist/icons/tsx/jordskifterett.js +1 -2
  1030. package/dist/icons/tsx/key.d.ts +2 -3
  1031. package/dist/icons/tsx/lagmannsrett.d.ts +2 -3
  1032. package/dist/icons/tsx/language.d.ts +2 -3
  1033. package/dist/icons/tsx/libraryAdd.d.ts +2 -3
  1034. package/dist/icons/tsx/lineChart.d.ts +2 -3
  1035. package/dist/icons/tsx/link.d.ts +2 -3
  1036. package/dist/icons/tsx/linkOff.d.ts +2 -3
  1037. package/dist/icons/tsx/linkedIn.d.ts +2 -3
  1038. package/dist/icons/tsx/list.d.ts +2 -3
  1039. package/dist/icons/tsx/listAlt.d.ts +2 -3
  1040. package/dist/icons/tsx/location.d.ts +2 -3
  1041. package/dist/icons/tsx/lock.d.ts +2 -3
  1042. package/dist/icons/tsx/lockOpen.d.ts +2 -3
  1043. package/dist/icons/tsx/login.d.ts +2 -3
  1044. package/dist/icons/tsx/logout.d.ts +2 -3
  1045. package/dist/icons/tsx/mail.d.ts +2 -3
  1046. package/dist/icons/tsx/mailOpen.d.ts +2 -3
  1047. package/dist/icons/tsx/menu.d.ts +2 -3
  1048. package/dist/icons/tsx/minus.d.ts +2 -3
  1049. package/dist/icons/tsx/minusCircled.d.ts +2 -3
  1050. package/dist/icons/tsx/moreHorizontal.d.ts +2 -3
  1051. package/dist/icons/tsx/moreVertical.d.ts +2 -3
  1052. package/dist/icons/tsx/notarial.d.ts +2 -3
  1053. package/dist/icons/tsx/notifications.d.ts +2 -3
  1054. package/dist/icons/tsx/notificationsOff.d.ts +2 -3
  1055. package/dist/icons/tsx/onlineMeeting.d.ts +2 -3
  1056. package/dist/icons/tsx/openExternal.d.ts +2 -3
  1057. package/dist/icons/tsx/payout.d.ts +2 -0
  1058. package/dist/icons/tsx/payout.js +12 -0
  1059. package/dist/icons/tsx/pdf.d.ts +2 -3
  1060. package/dist/icons/tsx/person.d.ts +2 -3
  1061. package/dist/icons/tsx/personAdd.d.ts +2 -3
  1062. package/dist/icons/tsx/pin.d.ts +2 -3
  1063. package/dist/icons/tsx/plus.d.ts +2 -3
  1064. package/dist/icons/tsx/plusCircled.d.ts +2 -3
  1065. package/dist/icons/tsx/print.d.ts +2 -3
  1066. package/dist/icons/tsx/property.d.ts +2 -3
  1067. package/dist/icons/tsx/publish.d.ts +2 -3
  1068. package/dist/icons/tsx/questionAnswer.d.ts +2 -3
  1069. package/dist/icons/tsx/receipt.d.ts +2 -3
  1070. package/dist/icons/tsx/redo.d.ts +2 -3
  1071. package/dist/icons/tsx/refresh.d.ts +2 -3
  1072. package/dist/icons/tsx/replay.d.ts +2 -3
  1073. package/dist/icons/tsx/search.d.ts +2 -3
  1074. package/dist/icons/tsx/settings.d.ts +2 -3
  1075. package/dist/icons/tsx/sms.d.ts +2 -3
  1076. package/dist/icons/tsx/star.d.ts +2 -3
  1077. package/dist/icons/tsx/starFilled.d.ts +2 -3
  1078. package/dist/icons/tsx/starHalfFilled.d.ts +2 -3
  1079. package/dist/icons/tsx/sync.d.ts +2 -3
  1080. package/dist/icons/tsx/thumbdown.d.ts +2 -3
  1081. package/dist/icons/tsx/thumbdownFilled.d.ts +2 -3
  1082. package/dist/icons/tsx/thumbup.d.ts +2 -3
  1083. package/dist/icons/tsx/thumbupFilled.d.ts +2 -3
  1084. package/dist/icons/tsx/time.d.ts +2 -3
  1085. package/dist/icons/tsx/tingrett.d.ts +2 -3
  1086. package/dist/icons/tsx/tip.d.ts +2 -3
  1087. package/dist/icons/tsx/trash.d.ts +2 -3
  1088. package/dist/icons/tsx/trendingDown.d.ts +2 -3
  1089. package/dist/icons/tsx/trendingUp.d.ts +2 -3
  1090. package/dist/icons/tsx/twitter.d.ts +2 -3
  1091. package/dist/icons/tsx/undo.d.ts +2 -3
  1092. package/dist/icons/tsx/unfoldLess.d.ts +2 -3
  1093. package/dist/icons/tsx/unfoldMore.d.ts +2 -3
  1094. package/dist/icons/tsx/upload.d.ts +2 -3
  1095. package/dist/icons/tsx/visibilityOff.d.ts +2 -3
  1096. package/dist/icons/tsx/visibilityOn.d.ts +2 -3
  1097. package/dist/icons/tsx/warning.d.ts +2 -3
  1098. package/dist/icons/tsx/zoomIn.d.ts +2 -3
  1099. package/dist/icons/tsx/zoomOut.d.ts +2 -3
  1100. package/dist/icons/utils/StyledSvg.d.ts +4 -4
  1101. package/dist/icons/utils/SvgWrapper.d.ts +2 -3
  1102. package/dist/icons/utils/index.d.ts +2 -2
  1103. package/dist/icons/utils/propTypes.d.ts +5 -5
  1104. package/dist/index.d.ts +50 -50
  1105. package/dist/index.js +3 -0
  1106. package/dist/styles/selection.css +1 -1
  1107. package/dist/test/mocks/IntersectionObserver.d.ts +1 -1
  1108. package/dist/test/mocks/ResizeObserver.d.ts +6 -6
  1109. package/dist/types/BaseComponentProps.d.ts +58 -58
  1110. package/dist/types/BaseComponentProps.js +28 -28
  1111. package/dist/types/CheckboxPickedHTMLAttributes.d.ts +2 -2
  1112. package/dist/types/Direction.d.ts +1 -1
  1113. package/dist/types/index.d.ts +4 -4
  1114. package/dist/types/utils.d.ts +15 -15
  1115. package/dist/utils/color.d.ts +30 -30
  1116. package/dist/utils/combineHandlers.d.ts +1 -1
  1117. package/dist/utils/getFocusableElements.d.ts +2 -2
  1118. package/dist/utils/getScrollbarSize.d.ts +1 -1
  1119. package/dist/utils/idGenerator.d.ts +2 -2
  1120. package/dist/utils/index.d.ts +7 -7
  1121. package/dist/utils/searchFilter.d.ts +2 -2
  1122. package/dist/utils/text.d.ts +2 -2
  1123. package/package.json +27 -38
@@ -1,36 +1,37 @@
1
- import { InlineEditTextAreaProps } from './InlineEdit.types';
2
- declare const _default: {
3
- title: string;
4
- component: import("react").ForwardRefExoticComponent<Omit<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, "onFocus" | "onBlur" | "onChange"> & Pick<import("./InlineEdit.types").InlineEditProps, "onFocus" | "onBlur" | "onChange" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "width" | "error" | "errorMessage" | "hideIcon"> & import("react").RefAttributes<HTMLTextAreaElement>>;
5
- argTypes: {
6
- emptiable: {
7
- control: {
8
- type: string;
9
- };
10
- };
11
- error: {
12
- control: {
13
- type: string;
14
- };
15
- };
16
- errorMessage: {
17
- control: {
18
- type: string;
19
- };
20
- };
21
- width: {
22
- control: {
23
- type: string;
24
- };
25
- };
26
- };
27
- parameters: {
28
- controls: {
29
- exclude: string[];
30
- };
31
- };
32
- };
33
- export default _default;
34
- export declare const Overview: (args: InlineEditTextAreaProps) => JSX.Element;
35
- export declare const Default: (args: InlineEditTextAreaProps) => JSX.Element;
36
- export declare const InTable: () => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { InlineEditTextAreaProps } from './InlineEdit.types';
3
+ declare const _default: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<Omit<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, "onFocus" | "onBlur" | "onChange"> & Pick<import("./InlineEdit.types").InlineEditProps, "onFocus" | "onBlur" | "onChange" | "onSetValue" | "emptiable"> & Pick<import("./InlineEdit.types").BaseInlineInputProps, "width" | "error" | "errorMessage" | "hideIcon"> & import("react").RefAttributes<HTMLTextAreaElement>>;
6
+ argTypes: {
7
+ emptiable: {
8
+ control: {
9
+ type: string;
10
+ };
11
+ };
12
+ error: {
13
+ control: {
14
+ type: string;
15
+ };
16
+ };
17
+ errorMessage: {
18
+ control: {
19
+ type: string;
20
+ };
21
+ };
22
+ width: {
23
+ control: {
24
+ type: string;
25
+ };
26
+ };
27
+ };
28
+ parameters: {
29
+ controls: {
30
+ exclude: string[];
31
+ };
32
+ };
33
+ };
34
+ export default _default;
35
+ export declare const Overview: (args: InlineEditTextAreaProps) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const Default: (args: InlineEditTextAreaProps) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const InTable: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes } from 'react';
2
- import { BaseInlineInputProps } from './InlineEdit.types';
3
- export type InlineInputProps = BaseInlineInputProps & InputHTMLAttributes<HTMLInputElement>;
4
- export declare const InlineInput: import("react").ForwardRefExoticComponent<BaseInlineInputProps & InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { BaseInlineInputProps } from './InlineEdit.types';
3
+ export type InlineInputProps = BaseInlineInputProps & InputHTMLAttributes<HTMLInputElement>;
4
+ export declare const InlineInput: import("react").ForwardRefExoticComponent<BaseInlineInputProps & InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,4 @@
1
- import { TextareaHTMLAttributes } from 'react';
2
- import { BaseInlineInputProps } from './InlineEdit.types';
3
- export type InlineTextAreaProps = BaseInlineInputProps & TextareaHTMLAttributes<HTMLTextAreaElement>;
4
- export declare const InlineTextArea: import("react").ForwardRefExoticComponent<BaseInlineInputProps & TextareaHTMLAttributes<HTMLTextAreaElement> & import("react").RefAttributes<HTMLTextAreaElement>>;
1
+ import { TextareaHTMLAttributes } from 'react';
2
+ import { BaseInlineInputProps } from './InlineEdit.types';
3
+ export type InlineTextAreaProps = BaseInlineInputProps & TextareaHTMLAttributes<HTMLTextAreaElement>;
4
+ export declare const InlineTextArea: import("react").ForwardRefExoticComponent<BaseInlineInputProps & TextareaHTMLAttributes<HTMLTextAreaElement> & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -1,3 +1,3 @@
1
- export * from './InlineEditTextArea';
2
- export * from './InlineEditInput';
3
- export type { InlineEditTextAreaProps, InlineEditInputProps, } from './InlineEdit.types';
1
+ export * from './InlineEditTextArea';
2
+ export * from './InlineEditInput';
3
+ export type { InlineEditTextAreaProps, InlineEditInputProps, } from './InlineEdit.types';
@@ -1,17 +1,17 @@
1
- /// <reference types="react" />
2
- import { BaseComponentProps } from '../../types';
3
- export type InputMessageType = 'error' | 'tip';
4
- export type InputMessageProps = BaseComponentProps<HTMLDivElement, {
5
- /** Meldingen som vises til brukeren. */
6
- message: string;
7
- /** Formålet med meldingen. Påvirker styling. */
8
- messageType: InputMessageType;
9
- }>;
10
- export declare const InputMessage: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
11
- /** Meldingen som vises til brukeren. */
12
- message: string;
13
- /** Formålet med meldingen. Påvirker styling. */
14
- messageType: InputMessageType;
15
- } & {
16
- htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
17
- } & import("react").RefAttributes<HTMLDivElement>>;
1
+ /// <reference types="react" />
2
+ import { BaseComponentProps } from '../../types';
3
+ export type InputMessageType = 'error' | 'tip';
4
+ export type InputMessageProps = BaseComponentProps<HTMLDivElement, {
5
+ /** Meldingen som vises til brukeren. */
6
+ message: string;
7
+ /** Formålet med meldingen. Påvirker styling. */
8
+ messageType: InputMessageType;
9
+ }>;
10
+ export declare const InputMessage: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
11
+ /** Meldingen som vises til brukeren. */
12
+ message: string;
13
+ /** Formålet med meldingen. Påvirker styling. */
14
+ messageType: InputMessageType;
15
+ } & {
16
+ htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
17
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,20 +1,21 @@
1
- import { InputMessageProps } from '.';
2
- declare const _default: {
3
- title: string;
4
- component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
5
- message: string;
6
- messageType: import("./InputMessage").InputMessageType;
7
- } & {
8
- htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
9
- } & import("react").RefAttributes<HTMLDivElement>>;
10
- argTypes: {
11
- message: {
12
- control: {
13
- type: string;
14
- };
15
- };
16
- };
17
- };
18
- export default _default;
19
- export declare const Overview: () => JSX.Element;
20
- export declare const Default: (args: InputMessageProps) => JSX.Element;
1
+ /// <reference types="react" />
2
+ import { InputMessageProps } from '.';
3
+ declare const _default: {
4
+ title: string;
5
+ component: import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "id" | "className"> & {
6
+ message: string;
7
+ messageType: import("./InputMessage").InputMessageType;
8
+ } & {
9
+ htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
10
+ } & import("react").RefAttributes<HTMLDivElement>>;
11
+ argTypes: {
12
+ message: {
13
+ control: {
14
+ type: string;
15
+ };
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ export declare const Overview: () => import("react/jsx-runtime").JSX.Element;
21
+ export declare const Default: (args: InputMessageProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,16 @@
1
- export declare const inputMessageTokens: {
2
- message: {
3
- tip: {
4
- backgroundColor: string;
5
- };
6
- error: {
7
- padding: string;
8
- color: string;
9
- backgroundColor: string;
10
- gap: string;
11
- };
12
- };
13
- icon: {
14
- marginTop: string;
15
- };
16
- };
1
+ export declare const inputMessageTokens: {
2
+ message: {
3
+ tip: {
4
+ backgroundColor: string;
5
+ };
6
+ error: {
7
+ padding: string;
8
+ color: string;
9
+ backgroundColor: string;
10
+ gap: string;
11
+ };
12
+ };
13
+ icon: {
14
+ marginTop: string;
15
+ };
16
+ };
@@ -1 +1 @@
1
- export * from './InputMessage';
1
+ export * from './InputMessage';
@@ -1,3 +1,5 @@
1
- /// <reference types="react" />
2
- import { InternalHeaderProps } from './InternalHeader.types';
3
- export declare const InternalHeader: (props: InternalHeaderProps) => JSX.Element;
1
+ import { InternalHeaderProps } from './InternalHeader.types';
2
+ export declare const InternalHeader: {
3
+ (props: InternalHeaderProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,44 +1,47 @@
1
- import { InternalHeaderProps } from '.';
2
- declare const _default: {
3
- title: string;
4
- component: (props: InternalHeaderProps) => JSX.Element;
5
- argTypes: {
6
- applicationName: {
7
- control: {
8
- type: string;
9
- };
10
- };
11
- applicationDesc: {
12
- control: {
13
- type: string;
14
- };
15
- };
16
- currentPageHref: {
17
- control: {
18
- type: string;
19
- };
20
- };
21
- smallScreen: {
22
- control: {
23
- type: string;
24
- };
25
- };
26
- };
27
- parameters: {
28
- controls: {
29
- exclude: string[];
30
- };
31
- };
32
- };
33
- export default _default;
34
- export declare const Overview: () => JSX.Element;
35
- export declare const Default: (args: InternalHeaderProps) => JSX.Element;
36
- export declare const WithNavigationAndContextMenu: (args: InternalHeaderProps) => JSX.Element;
37
- export declare const WithCurrentPage: (args: InternalHeaderProps) => JSX.Element;
38
- export declare const SmallScreenWithNavigation: (args: InternalHeaderProps) => JSX.Element;
39
- export declare const SmallScreenWithContextMenu: (args: InternalHeaderProps) => JSX.Element;
40
- export declare const SmallScreenWithNavigationAndContextMenu: (args: InternalHeaderProps) => JSX.Element;
41
- export declare const NoStoryHeading: (args: InternalHeaderProps) => JSX.Element;
42
- export declare const NoStoryHeadingSmallScreen: (args: InternalHeaderProps) => JSX.Element;
43
- export declare const NoStoryHeadingSmallScreenLong: (args: InternalHeaderProps) => JSX.Element;
44
- export declare const NonInteractiveUserOnly: (args: InternalHeaderProps) => JSX.Element;
1
+ import { InternalHeaderProps } from '.';
2
+ declare const _default: {
3
+ title: string;
4
+ component: {
5
+ (props: InternalHeaderProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ argTypes: {
9
+ applicationName: {
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ applicationDesc: {
15
+ control: {
16
+ type: string;
17
+ };
18
+ };
19
+ currentPageHref: {
20
+ control: {
21
+ type: string;
22
+ };
23
+ };
24
+ smallScreen: {
25
+ control: {
26
+ type: string;
27
+ };
28
+ };
29
+ };
30
+ parameters: {
31
+ controls: {
32
+ exclude: string[];
33
+ };
34
+ };
35
+ };
36
+ export default _default;
37
+ export declare const Overview: () => import("react/jsx-runtime").JSX.Element;
38
+ export declare const Default: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const WithNavigationAndContextMenu: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const WithCurrentPage: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
41
+ export declare const SmallScreenWithNavigation: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const SmallScreenWithContextMenu: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const SmallScreenWithNavigationAndContextMenu: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
44
+ export declare const NoStoryHeading: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
45
+ export declare const NoStoryHeadingSmallScreen: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
46
+ export declare const NoStoryHeadingSmallScreenLong: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
47
+ export declare const NonInteractiveUserOnly: (args: InternalHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,31 +1,31 @@
1
- /// <reference types="react" />
2
- import { InternalHeaderProps } from './InternalHeader.types';
3
- export declare const OuterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- type BannerProps = {
5
- hasContextMenu?: boolean;
6
- };
7
- export declare const BannerWrapper: import("styled-components").StyledComponent<"div", any, BannerProps, never>;
8
- export declare const BannerLeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const ApplicationNameWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const LovisaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const Navigation: import("styled-components").StyledComponent<"nav", any, {}, never>;
12
- type NavListProps = Pick<InternalHeaderProps, 'smallScreen'>;
13
- export declare const NavigationList: import("styled-components").StyledComponent<"ul", any, NavListProps, never>;
14
- export declare const ContextMenuGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
15
- export declare const StyledOverflowMenu: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
16
- items?: import("../OverflowMenu").OverflowMenuContextItem[] | undefined;
17
- userProps?: ({
18
- name: string;
19
- href?: string | undefined;
20
- } & (import("react").ButtonHTMLAttributes<HTMLButtonElement> | import("react").AnchorHTMLAttributes<HTMLAnchorElement>)) | undefined;
21
- navItems?: import("../OverflowMenu").OverflowMenuLinkItem[] | undefined;
22
- isOpen?: boolean | undefined;
23
- onClose?: (() => void) | undefined;
24
- onToggle?: (() => void) | undefined;
25
- anchorRef?: import("react").RefObject<HTMLButtonElement> | undefined;
26
- placement?: import("../..").Placement | undefined;
27
- offset?: number | undefined;
28
- } & {
29
- htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
30
- } & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
31
- export {};
1
+ /// <reference types="react" />
2
+ import { InternalHeaderProps } from './InternalHeader.types';
3
+ export declare const OuterContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ type BannerProps = {
5
+ hasContextMenu?: boolean;
6
+ };
7
+ export declare const BannerWrapper: import("styled-components").StyledComponent<"div", any, BannerProps, never>;
8
+ export declare const BannerLeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const ApplicationNameWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const LovisaWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const Navigation: import("styled-components").StyledComponent<"nav", any, {}, never>;
12
+ type NavListProps = Pick<InternalHeaderProps, 'smallScreen'>;
13
+ export declare const NavigationList: import("styled-components").StyledComponent<"ul", any, NavListProps, never>;
14
+ export declare const ContextMenuGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
15
+ export declare const StyledOverflowMenu: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className" | "id"> & {
16
+ items?: import("../OverflowMenu").OverflowMenuContextItem[] | undefined;
17
+ userProps?: ({
18
+ name: string;
19
+ href?: string | undefined;
20
+ } & (import("react").ButtonHTMLAttributes<HTMLButtonElement> | import("react").AnchorHTMLAttributes<HTMLAnchorElement>)) | undefined;
21
+ navItems?: import("../OverflowMenu").OverflowMenuLinkItem[] | undefined;
22
+ isOpen?: boolean | undefined;
23
+ onClose?: (() => void) | undefined;
24
+ onToggle?: (() => void) | undefined;
25
+ anchorRef?: import("react").RefObject<HTMLButtonElement> | undefined;
26
+ placement?: import("../..").Placement | undefined;
27
+ offset?: number | undefined;
28
+ } & {
29
+ htmlProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
30
+ } & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
31
+ export {};
@@ -1,47 +1,47 @@
1
- import { StaticTypographyType } from '../Typography';
2
- export declare const typographyTypes: {
3
- [k: string]: StaticTypographyType;
4
- };
5
- export declare const internalHeaderTokens: {
6
- navLink: {
7
- base: {
8
- color: string;
9
- backgroundColor: string;
10
- padding: string;
11
- };
12
- hover: {
13
- color: string;
14
- };
15
- active: {
16
- color: string;
17
- };
18
- current: {
19
- color: string;
20
- backgroundColor: string;
21
- };
22
- };
23
- outerContainer: {
24
- backgroundColor: string;
25
- };
26
- applicationNameWrapper: {
27
- padding: string;
28
- };
29
- lovisaWrapper: {
30
- padding: string;
31
- borderRight: string;
32
- };
33
- banner: {
34
- borderBottom: string;
35
- paddingRight: string;
36
- hasContextMenu: {
37
- paddingRight: string;
38
- };
39
- };
40
- navigation: {
41
- borderBottom: string;
42
- };
43
- contextGroup: {
44
- right: string;
45
- top: string;
46
- };
47
- };
1
+ import { StaticTypographyType } from '../Typography';
2
+ export declare const typographyTypes: {
3
+ [k: string]: StaticTypographyType;
4
+ };
5
+ export declare const internalHeaderTokens: {
6
+ navLink: {
7
+ base: {
8
+ color: string;
9
+ backgroundColor: string;
10
+ padding: string;
11
+ };
12
+ hover: {
13
+ color: string;
14
+ };
15
+ active: {
16
+ color: string;
17
+ };
18
+ current: {
19
+ color: string;
20
+ backgroundColor: string;
21
+ };
22
+ };
23
+ outerContainer: {
24
+ backgroundColor: string;
25
+ };
26
+ applicationNameWrapper: {
27
+ padding: string;
28
+ };
29
+ lovisaWrapper: {
30
+ padding: string;
31
+ borderRight: string;
32
+ };
33
+ banner: {
34
+ borderBottom: string;
35
+ paddingRight: string;
36
+ hasContextMenu: {
37
+ paddingRight: string;
38
+ };
39
+ };
40
+ navigation: {
41
+ borderBottom: string;
42
+ };
43
+ contextGroup: {
44
+ right: string;
45
+ top: string;
46
+ };
47
+ };
@@ -1,36 +1,36 @@
1
- import { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
- import { SvgIcon } from '../../icons/utils';
3
- import { BaseComponentProps } from '../../types';
4
- type NavigationLinkProps = {
5
- href: string;
6
- title: string;
7
- } & AnchorHTMLAttributes<HTMLAnchorElement>;
8
- type ContextMenuElementProps = {
9
- title: string;
10
- href?: string;
11
- icon?: SvgIcon;
12
- onClick?: () => void;
13
- } & (AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>);
14
- type InternaHeaderUserProps = {
15
- name: string;
16
- href?: string;
17
- };
18
- export type InternalHeaderProps = BaseComponentProps<HTMLDivElement, {
19
- /**Navn på applikasjonen. */
20
- applicationName?: string;
21
- /**Beskrivelse på applikasjonen ellen tittel på en underside. Tilgjengelig fram til Lovisa Next kommer. */
22
- applicationDesc?: string;
23
- /**Indikerer om versjonen for små skjermer skal vises. */
24
- smallScreen?: boolean;
25
- /**Info om brukeren. Dukker opp som punkt på toppen av kontekstmenyen med tekst oppgitt i name. Blir en lenke hvis href er oppgitt. */
26
- userProps?: InternaHeaderUserProps;
27
- /**Lenker som skal vises i navigasjonsmenyen. */
28
- navigationElements?: NavigationLinkProps[];
29
- /**Lenker eller knapper som skal vises i kontekstmenyen. Støtter ikon i tillegg til tekst. */
30
- contextMenuElements?: ContextMenuElementProps[];
31
- /**URL til siden i navigasjonen brukeren er på. Gir highlight til navigasjonselementet i navigationElements med samme URL. */
32
- currentPageHref?: string;
33
- /**Ekstra logikk som kjøres når currentPage endres. */
34
- onCurrentPageChange?: () => void;
35
- }>;
36
- export {};
1
+ import { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
+ import { SvgIcon } from '../../icons/utils';
3
+ import { BaseComponentProps } from '../../types';
4
+ type NavigationLinkProps = {
5
+ href: string;
6
+ title: string;
7
+ } & AnchorHTMLAttributes<HTMLAnchorElement>;
8
+ type ContextMenuElementProps = {
9
+ title: string;
10
+ href?: string;
11
+ icon?: SvgIcon;
12
+ onClick?: () => void;
13
+ } & (AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>);
14
+ type InternaHeaderUserProps = {
15
+ name: string;
16
+ href?: string;
17
+ };
18
+ export type InternalHeaderProps = BaseComponentProps<HTMLDivElement, {
19
+ /**Navn på applikasjonen. */
20
+ applicationName?: string;
21
+ /**Beskrivelse på applikasjonen ellen tittel på en underside. Tilgjengelig fram til Lovisa Next kommer. */
22
+ applicationDesc?: string;
23
+ /**Indikerer om versjonen for små skjermer skal vises. */
24
+ smallScreen?: boolean;
25
+ /**Info om brukeren. Dukker opp som punkt på toppen av kontekstmenyen med tekst oppgitt i name. Blir en lenke hvis href er oppgitt. */
26
+ userProps?: InternaHeaderUserProps;
27
+ /**Lenker som skal vises i navigasjonsmenyen. */
28
+ navigationElements?: NavigationLinkProps[];
29
+ /**Lenker eller knapper som skal vises i kontekstmenyen. Støtter ikon i tillegg til tekst. */
30
+ contextMenuElements?: ContextMenuElementProps[];
31
+ /**URL til siden i navigasjonen brukeren er på. Gir highlight til navigasjonselementet i navigationElements med samme URL. */
32
+ currentPageHref?: string;
33
+ /**Ekstra logikk som kjøres når currentPage endres. */
34
+ onCurrentPageChange?: () => void;
35
+ }>;
36
+ export {};
@@ -1,3 +1,3 @@
1
- import { HTMLAttributes } from 'react';
2
- export type InternalHeaderListItemProps = HTMLAttributes<HTMLLIElement>;
3
- export declare const InternalHeaderListItem: import("react").ForwardRefExoticComponent<InternalHeaderListItemProps & import("react").RefAttributes<HTMLLIElement>>;
1
+ import { HTMLAttributes } from 'react';
2
+ export type InternalHeaderListItemProps = HTMLAttributes<HTMLLIElement>;
3
+ export declare const InternalHeaderListItem: import("react").ForwardRefExoticComponent<InternalHeaderListItemProps & import("react").RefAttributes<HTMLLIElement>>;
@@ -1,14 +1,14 @@
1
- import { AnchorHTMLAttributes } from 'react';
2
- type LinkProps = {
3
- isCurrent?: boolean;
4
- };
5
- export declare const Link: import("styled-components").StyledComponent<"a", any, LinkProps, never>;
6
- export type NavigationItemProps = {
7
- title: string;
8
- isCurrent?: boolean;
9
- } & AnchorHTMLAttributes<HTMLAnchorElement>;
10
- export declare const NavigationItem: import("react").ForwardRefExoticComponent<{
11
- title: string;
12
- isCurrent?: boolean | undefined;
13
- } & AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
14
- export {};
1
+ import { AnchorHTMLAttributes } from 'react';
2
+ type LinkProps = {
3
+ isCurrent?: boolean;
4
+ };
5
+ export declare const Link: import("styled-components").StyledComponent<"a", any, LinkProps, never>;
6
+ export type NavigationItemProps = {
7
+ title: string;
8
+ isCurrent?: boolean;
9
+ } & AnchorHTMLAttributes<HTMLAnchorElement>;
10
+ export declare const NavigationItem: import("react").ForwardRefExoticComponent<{
11
+ title: string;
12
+ isCurrent?: boolean | undefined;
13
+ } & AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
14
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './InternalHeader';
2
- export * from './InternalHeader.types';
1
+ export * from './InternalHeader';
2
+ export * from './InternalHeader.types';