@helsenorge/designsystem-react 7.12.0 → 7.13.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 (357) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/_virtual/dynamic-import-helper.js +11 -4
  3. package/_virtual/dynamic-import-helper.js.map +1 -1
  4. package/_virtual/index.js +2 -2
  5. package/components/AnchorLink/AnchorLink.js +16 -16
  6. package/components/AnchorLink/AnchorLink.js.map +1 -1
  7. package/components/Avatar/Avatar.js +9 -9
  8. package/components/Avatar/Avatar.js.map +1 -1
  9. package/components/Badge/Badge.js +7 -7
  10. package/components/Badge/Badge.js.map +1 -1
  11. package/components/Badge/NotificationBadge.js +5 -5
  12. package/components/Badge/NotificationBadge.js.map +1 -1
  13. package/components/Button/Button.js +23 -23
  14. package/components/Button/Button.js.map +1 -1
  15. package/components/ButtonWithModal/ButtonWithModal.js +5 -5
  16. package/components/ButtonWithModal/ButtonWithModal.js.map +1 -1
  17. package/components/Checkbox/Checkbox.js +41 -42
  18. package/components/Checkbox/Checkbox.js.map +1 -1
  19. package/components/Checkbox/index.js +2 -3
  20. package/components/Checkbox/index.js.map +1 -1
  21. package/components/Checkbox/styles.module.scss +2 -2
  22. package/components/Close/Close.js +9 -9
  23. package/components/Close/Close.js.map +1 -1
  24. package/components/DictionaryTrigger/DictionaryTrigger.js +14 -15
  25. package/components/DictionaryTrigger/DictionaryTrigger.js.map +1 -1
  26. package/components/DictionaryTrigger/styles.module.scss +1 -2
  27. package/components/Dropdown/Dropdown.js +24 -24
  28. package/components/Dropdown/Dropdown.js.map +1 -1
  29. package/components/Dropdown/styles.module.scss +1 -1
  30. package/components/Duolist/Duolist.d.ts +3 -0
  31. package/components/Duolist/Duolist.js +45 -36
  32. package/components/Duolist/Duolist.js.map +1 -1
  33. package/components/Duolist/index.js +5 -5
  34. package/components/Duolist/styles.module.scss +4 -0
  35. package/components/Duolist/styles.module.scss.d.ts +1 -0
  36. package/components/EmptyState/EmptyState.js +3 -3
  37. package/components/EmptyState/EmptyState.js.map +1 -1
  38. package/components/EmptyState/NobodyHome.js +3 -3
  39. package/components/EmptyState/NobodyHome.js.map +1 -1
  40. package/components/ErrorWrapper/ErrorWrapper.js +4 -4
  41. package/components/ErrorWrapper/ErrorWrapper.js.map +1 -1
  42. package/components/ErrorWrapper/index.js +2 -3
  43. package/components/ErrorWrapper/index.js.map +1 -1
  44. package/components/Expander/Expander.js +10 -10
  45. package/components/Expander/Expander.js.map +1 -1
  46. package/components/Expander/styles.module.scss +1 -1
  47. package/components/ExpanderHierarchy/Expander.js +5 -5
  48. package/components/ExpanderHierarchy/Expander.js.map +1 -1
  49. package/components/ExpanderHierarchy/ExpanderButton.js +7 -7
  50. package/components/ExpanderHierarchy/ExpanderButton.js.map +1 -1
  51. package/components/ExpanderHierarchy/ExpanderHierarchy.js +13 -14
  52. package/components/ExpanderHierarchy/ExpanderHierarchy.js.map +1 -1
  53. package/components/ExpanderHierarchy/expander.module.scss +2 -2
  54. package/components/ExpanderList/ExpanderList.js +34 -35
  55. package/components/ExpanderList/ExpanderList.js.map +1 -1
  56. package/components/ExpanderList/index.js +2 -3
  57. package/components/ExpanderList/index.js.map +1 -1
  58. package/components/ExpanderList/styles.module.scss +1 -1
  59. package/components/FormExample/FormExample.d.ts +0 -1
  60. package/components/FormExample/FormExample.js +12 -12
  61. package/components/FormExample/FormExample.js.map +1 -1
  62. package/components/FormExample/index.js +5 -5
  63. package/components/FormGroup/FormGroup.js +37 -38
  64. package/components/FormGroup/FormGroup.js.map +1 -1
  65. package/components/FormGroup/index.js +2 -3
  66. package/components/FormGroup/index.js.map +1 -1
  67. package/components/FormLayout/FormLayout.js +16 -17
  68. package/components/FormLayout/FormLayout.js.map +1 -1
  69. package/components/FormLayout/index.js +4 -4
  70. package/components/GridExample/GridExample.js +3 -3
  71. package/components/GridExample/GridExample.js.map +1 -1
  72. package/components/GridExample/index.js +3 -4
  73. package/components/GridExample/index.js.map +1 -1
  74. package/components/HelpBubble/HelpBubble.js +26 -27
  75. package/components/HelpBubble/HelpBubble.js.map +1 -1
  76. package/components/HelpBubble/styles.module.scss +1 -1
  77. package/components/HelpBubbleExample/HelpBubbleExample.js +3 -3
  78. package/components/HelpBubbleExample/HelpBubbleExample.js.map +1 -1
  79. package/components/HelpPanel/HelpPanel.js +11 -11
  80. package/components/HelpPanel/HelpPanel.js.map +1 -1
  81. package/components/HelpQuestion/HelpQuestion.js +16 -17
  82. package/components/HelpQuestion/HelpQuestion.js.map +1 -1
  83. package/components/HighlightBox/HighlightBox.js +16 -16
  84. package/components/HighlightBox/HighlightBox.js.map +1 -1
  85. package/components/HighlightBox/styles.module.scss +4 -4
  86. package/components/HorizontalScroll/HorizontalScroll.js +4 -4
  87. package/components/HorizontalScroll/HorizontalScroll.js.map +1 -1
  88. package/components/HorizontalScroll/index.js +2 -3
  89. package/components/HorizontalScroll/index.js.map +1 -1
  90. package/components/Illustration/Illustration.js +16 -17
  91. package/components/Illustration/Illustration.js.map +1 -1
  92. package/components/Illustration/index.js +5 -5
  93. package/components/Input/Input.js +65 -67
  94. package/components/Input/Input.js.map +1 -1
  95. package/components/Label/Label.js +16 -16
  96. package/components/Label/Label.js.map +1 -1
  97. package/components/LazyIcon/ErrorBoundary.js +7 -8
  98. package/components/LazyIcon/ErrorBoundary.js.map +1 -1
  99. package/components/LazyIcon/LazyIcon.js +4 -4
  100. package/components/LazyIcon/LazyIcon.js.map +1 -1
  101. package/components/LazyIcon/index.js +3 -3
  102. package/components/LazyIllustration/LazyIllustration.js +10 -10
  103. package/components/LazyIllustration/LazyIllustration.js.map +1 -1
  104. package/components/LazyIllustration/index.js +5 -5
  105. package/components/LinkList/LinkList.js +36 -37
  106. package/components/LinkList/LinkList.js.map +1 -1
  107. package/components/LinkList/index.js +2 -3
  108. package/components/LinkList/index.js.map +1 -1
  109. package/components/List/List.js +7 -8
  110. package/components/List/List.js.map +1 -1
  111. package/components/ListHeader/ListHeader.js +1 -1
  112. package/components/ListHeader/ListHeader.js.map +1 -1
  113. package/components/ListHeader/ListHeaderText/ListHeaderText.js +18 -19
  114. package/components/ListHeader/ListHeaderText/ListHeaderText.js.map +1 -1
  115. package/components/ListHeader/ListHeaderText/index.js +2 -3
  116. package/components/ListHeader/ListHeaderText/index.js.map +1 -1
  117. package/components/Loader/Loader.js +2 -2
  118. package/components/Loader/Loader.js.map +1 -1
  119. package/components/Logo/Logo.js +5 -5
  120. package/components/Logo/Logo.js.map +1 -1
  121. package/components/MaxCharacters/MaxCharacters.js +5 -5
  122. package/components/MaxCharacters/MaxCharacters.js.map +1 -1
  123. package/components/Modal/Modal.js +32 -33
  124. package/components/Modal/Modal.js.map +1 -1
  125. package/components/Modal/styles.module.scss +8 -8
  126. package/components/NotificationPanel/NotificationPanel.js +14 -14
  127. package/components/NotificationPanel/NotificationPanel.js.map +1 -1
  128. package/components/NotificationPanel/styles.module.scss +3 -3
  129. package/components/Panel/Panel.js +25 -25
  130. package/components/Panel/Panel.js.map +1 -1
  131. package/components/Panel/styles.module.scss +3 -3
  132. package/components/PanelList/PanelList.js +8 -8
  133. package/components/PanelList/PanelList.js.map +1 -1
  134. package/components/PopMenu/PopMenu.js +14 -14
  135. package/components/PopMenu/PopMenu.js.map +1 -1
  136. package/components/PopMenu/index.js +3 -3
  137. package/components/PopOver/PopOver.js +27 -28
  138. package/components/PopOver/PopOver.js.map +1 -1
  139. package/components/Portal/index.js.map +1 -1
  140. package/components/Progressbar/Progressbar.js +13 -13
  141. package/components/Progressbar/Progressbar.js.map +1 -1
  142. package/components/PromoPanel/PromoPanel.js +16 -16
  143. package/components/PromoPanel/PromoPanel.js.map +1 -1
  144. package/components/RadioButton/RadioButton.js +52 -53
  145. package/components/RadioButton/RadioButton.js.map +1 -1
  146. package/components/RadioButton/index.js +4 -4
  147. package/components/RadioButton/styles.module.scss +2 -2
  148. package/components/Select/Select.js +21 -21
  149. package/components/Select/Select.js.map +1 -1
  150. package/components/Select/index.js +2 -3
  151. package/components/Select/index.js.map +1 -1
  152. package/components/ServiceMessage/ServiceMessage.js +30 -30
  153. package/components/ServiceMessage/ServiceMessage.js.map +1 -1
  154. package/components/ServiceMessage/styles.module.scss +10 -10
  155. package/components/SharingStatus/SharingStatus.js +7 -7
  156. package/components/SharingStatus/SharingStatus.js.map +1 -1
  157. package/components/Slider/Slider.js +15 -17
  158. package/components/Slider/Slider.js.map +1 -1
  159. package/components/Slider/index.js +2 -3
  160. package/components/Slider/index.js.map +1 -1
  161. package/components/Spacer/Spacer.js +4 -4
  162. package/components/Spacer/Spacer.js.map +1 -1
  163. package/components/StatusDot/StatusDot.js +8 -8
  164. package/components/StatusDot/StatusDot.js.map +1 -1
  165. package/components/Step/Step.js +10 -10
  166. package/components/Step/Step.js.map +1 -1
  167. package/components/StepButtons/StepButtons.js +4 -4
  168. package/components/StepButtons/StepButtons.js.map +1 -1
  169. package/components/StepButtons/index.js +2 -3
  170. package/components/StepButtons/index.js.map +1 -1
  171. package/components/Stepper/Dot.js +3 -3
  172. package/components/Stepper/Dot.js.map +1 -1
  173. package/components/Stepper/DotList.js +4 -4
  174. package/components/Stepper/DotList.js.map +1 -1
  175. package/components/Stepper/Stepper.js +10 -10
  176. package/components/Stepper/Stepper.js.map +1 -1
  177. package/components/Table/Table.js +1 -1
  178. package/components/Table/TableBody/TableBody.js +3 -3
  179. package/components/Table/TableBody/TableBody.js.map +1 -1
  180. package/components/Table/TableBody/index.js +3 -4
  181. package/components/Table/TableBody/index.js.map +1 -1
  182. package/components/Table/TableCell/TableCell.js +10 -10
  183. package/components/Table/TableCell/TableCell.js.map +1 -1
  184. package/components/Table/TableCell/index.js +4 -4
  185. package/components/Table/TableExpandedRow/TableExpandedRow.js +8 -8
  186. package/components/Table/TableExpandedRow/TableExpandedRow.js.map +1 -1
  187. package/components/Table/TableExpandedRow/index.js +3 -4
  188. package/components/Table/TableExpandedRow/index.js.map +1 -1
  189. package/components/Table/TableExpanderCell/TableExpanderCell.js +3 -3
  190. package/components/Table/TableExpanderCell/TableExpanderCell.js.map +1 -1
  191. package/components/Table/TableExpanderCell/TableExpanderCellMobile.js +11 -11
  192. package/components/Table/TableExpanderCell/TableExpanderCellMobile.js.map +1 -1
  193. package/components/Table/TableExpanderCell/index.js +3 -4
  194. package/components/Table/TableExpanderCell/index.js.map +1 -1
  195. package/components/Table/TableHead/TableHead.js +9 -9
  196. package/components/Table/TableHead/TableHead.js.map +1 -1
  197. package/components/Table/TableHead/index.js +4 -4
  198. package/components/Table/TableHeadCell/TableHeadCell.js +15 -15
  199. package/components/Table/TableHeadCell/TableHeadCell.js.map +1 -1
  200. package/components/Table/TableHeadCell/index.js +4 -4
  201. package/components/Table/TableRow/TableRow.js +16 -16
  202. package/components/Table/TableRow/TableRow.js.map +1 -1
  203. package/components/Table/TableRow/index.js +3 -4
  204. package/components/Table/TableRow/index.js.map +1 -1
  205. package/components/Table/styles.module.scss +3 -3
  206. package/components/Table/utils.d.ts +1 -1
  207. package/components/Tabs/Tab.js +2 -2
  208. package/components/Tabs/Tab.js.map +1 -1
  209. package/components/Tabs/TabList/TabList.js +43 -38
  210. package/components/Tabs/TabList/TabList.js.map +1 -1
  211. package/components/Tabs/TabList/styles.module.scss +14 -4
  212. package/components/Tabs/TabPanel/TabPanel.d.ts +5 -1
  213. package/components/Tabs/TabPanel/TabPanel.js +13 -9
  214. package/components/Tabs/TabPanel/TabPanel.js.map +1 -1
  215. package/components/Tabs/TabPanel/styles.module.scss +48 -6
  216. package/components/Tabs/TabPanel/styles.module.scss.d.ts +4 -0
  217. package/components/Tabs/Tabs.d.ts +8 -4
  218. package/components/Tabs/Tabs.js +85 -16
  219. package/components/Tabs/Tabs.js.map +1 -1
  220. package/components/Tabs/styles.module.scss +38 -2
  221. package/components/Tabs/styles.module.scss.d.ts +7 -1
  222. package/components/Tag/Tag.js +3 -3
  223. package/components/Tag/Tag.js.map +1 -1
  224. package/components/TagList/TagList.js +1 -1
  225. package/components/TagList/TagList.js.map +1 -1
  226. package/components/Textarea/Textarea.js +48 -49
  227. package/components/Textarea/Textarea.js.map +1 -1
  228. package/components/Tile/Tile.js +14 -15
  229. package/components/Tile/Tile.js.map +1 -1
  230. package/components/Tile/index.js +2 -3
  231. package/components/Tile/index.js.map +1 -1
  232. package/components/Title/Title.js +10 -10
  233. package/components/Title/Title.js.map +1 -1
  234. package/components/Title/index.js +4 -4
  235. package/components/Tooltip/Tooltip.js +4 -4
  236. package/components/Tooltip/Tooltip.js.map +1 -1
  237. package/components/Tooltip/TooltipWord/TooltipWord.js +17 -18
  238. package/components/Tooltip/TooltipWord/TooltipWord.js.map +1 -1
  239. package/components/Tooltip/index.js +5 -5
  240. package/components/TooltipExample/TooltipExample.js +4 -4
  241. package/components/TooltipExample/TooltipExample.js.map +1 -1
  242. package/components/Trigger/HelpSign.js +3 -3
  243. package/components/Trigger/HelpSign.js.map +1 -1
  244. package/components/Trigger/Trigger.js +25 -26
  245. package/components/Trigger/Trigger.js.map +1 -1
  246. package/components/Validation/ErrorList.js +5 -5
  247. package/components/Validation/ErrorList.js.map +1 -1
  248. package/components/Validation/ErrorListItem.js +8 -8
  249. package/components/Validation/ErrorListItem.js.map +1 -1
  250. package/components/Validation/Validation.js +13 -14
  251. package/components/Validation/Validation.js.map +1 -1
  252. package/components/Validation/ValidationSummary.js +4 -4
  253. package/components/Validation/ValidationSummary.js.map +1 -1
  254. package/components/Validation/index.js +3 -4
  255. package/components/Validation/index.js.map +1 -1
  256. package/components/Validation/types.d.ts +0 -1
  257. package/constants.d.ts +2 -1
  258. package/constants.js +1 -1
  259. package/constants.js.map +1 -1
  260. package/hooks/useIcons.d.ts +0 -1
  261. package/hooks/useIcons.js +1 -1
  262. package/hooks/useLayoutEvent.js +1 -2
  263. package/hooks/useLayoutEvent.js.map +1 -1
  264. package/hooks/useSticky.d.ts +1 -1
  265. package/package.json +1 -1
  266. package/scss/_palette.scss +1 -0
  267. package/scss/typography.module.scss +1 -1
  268. package/scss/typography.module.scss.d.ts +1 -1
  269. package/scss/typography.stories.tsx +157 -0
  270. package/theme/currys/color.d.ts +1 -1
  271. package/utils/accessibility.d.ts +2 -1
  272. package/utils/accessibility.js +1 -1
  273. package/utils/accessibility.js.map +1 -1
  274. package/utils/component.d.ts +3 -3
  275. package/utils/refs.d.ts +1 -2
  276. package/_virtual/index2.js +0 -5
  277. package/_virtual/index2.js.map +0 -1
  278. package/_virtual/index3.js +0 -5
  279. package/_virtual/index3.js.map +0 -1
  280. package/components/AnchorLink/AnchorLink.stories.d.ts +0 -31
  281. package/components/Avatar/Avatar.stories.d.ts +0 -36
  282. package/components/Badge/Badge.stories.d.ts +0 -42
  283. package/components/Button/Button.stories.d.ts +0 -56
  284. package/components/Checkbox/Checkbox.stories.d.ts +0 -54
  285. package/components/Close/Close.stories.d.ts +0 -29
  286. package/components/DictionaryTrigger/DictionaryTrigger.stories.d.ts +0 -30
  287. package/components/Dropdown/Dropdown.stories.d.ts +0 -67
  288. package/components/Duolist/Duolist.stories.d.ts +0 -32
  289. package/components/EmptyState/EmptyState.stories.d.ts +0 -26
  290. package/components/Expander/Expander.stories.d.ts +0 -60
  291. package/components/ExpanderHierarchy/ExpanderHierarchy.stories.d.ts +0 -44
  292. package/components/ExpanderList/ExpanderList.stories.d.ts +0 -59
  293. package/components/FormGroup/FormGroup.stories.d.ts +0 -50
  294. package/components/FormLayout/FormLayout.stories.d.ts +0 -32
  295. package/components/HelpBubble/HelpBubble.stories.d.ts +0 -46
  296. package/components/HelpPanel/HelpPanel.stories.d.ts +0 -31
  297. package/components/HelpQuestion/HelpQuestion.stories.d.ts +0 -29
  298. package/components/HighlightBox/HighlightBox.stories.d.ts +0 -42
  299. package/components/Icon/Icon.stories.d.ts +0 -38
  300. package/components/Illustration/Illustration.stories.d.ts +0 -34
  301. package/components/Illustration/Illustrations.stories.d.ts +0 -41
  302. package/components/Input/Input.stories.d.ts +0 -94
  303. package/components/Label/Label.stories.d.ts +0 -25
  304. package/components/LazyIcon/LazyIcon.stories.d.ts +0 -25
  305. package/components/LazyIllustration/LazyIllustration.stories.d.ts +0 -38
  306. package/components/LinkList/LinkList.stories.d.ts +0 -49
  307. package/components/List/List.stories.d.ts +0 -52
  308. package/components/Loader/Loader.stories.d.ts +0 -31
  309. package/components/Logo/Logo.stories.d.ts +0 -37
  310. package/components/Modal/Modal.stories.d.ts +0 -76
  311. package/components/NotificationPanel/NotificationPanel.stories.d.ts +0 -60
  312. package/components/Panel/Panel.stories.d.ts +0 -89
  313. package/components/PanelList/PanelList.stories.d.ts +0 -27
  314. package/components/PopMenu/PopMenu.stories.d.ts +0 -39
  315. package/components/PopOver/PopOver.stories.d.ts +0 -38
  316. package/components/Progressbar/Progressbar.stories.d.ts +0 -43
  317. package/components/PromoPanel/PromoPanel.stories.d.ts +0 -45
  318. package/components/RadioButton/RadioButton.stories.d.ts +0 -57
  319. package/components/Select/Select.stories.d.ts +0 -38
  320. package/components/ServiceMessage/ServiceMessage.stories.d.ts +0 -71
  321. package/components/SharingStatus/SharingStatus.stories.d.ts +0 -31
  322. package/components/Slider/Slider.stories.d.ts +0 -52
  323. package/components/Spacer/Spacer.stories.d.ts +0 -17
  324. package/components/StatusDot/StatusDot.stories.d.ts +0 -31
  325. package/components/Step/Step.stories.d.ts +0 -32
  326. package/components/StepButtons/StepButtons.stories.d.ts +0 -19
  327. package/components/Stepper/Stepper.stories.d.ts +0 -38
  328. package/components/Table/Table.stories.d.ts +0 -90
  329. package/components/Tabs/Tabs.stories.d.ts +0 -50
  330. package/components/Tag/Tag.stories.d.ts +0 -48
  331. package/components/TagList/TagList.stories.d.ts +0 -17
  332. package/components/Textarea/Textarea.stories.d.ts +0 -94
  333. package/components/Tile/Tile.stories.d.ts +0 -65
  334. package/components/Title/Title.stories.d.ts +0 -40
  335. package/components/Tooltip/Tooltip.stories.d.ts +0 -34
  336. package/components/Trigger/Trigger.stories.d.ts +0 -52
  337. package/components/Validation/Validation.stories.d.ts +0 -37
  338. package/hoc/withBreakpoint/withBreakpoint.stories.d.ts +0 -17
  339. package/hooks/useBreakpoint.stories.d.ts +0 -16
  340. package/hooks/useDelayedState.stories.d.ts +0 -27
  341. package/hooks/useElementList.stories.d.ts +0 -16
  342. package/hooks/useFocusToggle.stories.d.ts +0 -16
  343. package/hooks/useFocusTrap.stories.d.ts +0 -16
  344. package/hooks/useFocusableElements.stories.d.ts +0 -16
  345. package/hooks/useHover.stories.d.ts +0 -16
  346. package/hooks/useIntersectionObserver.stories.d.ts +0 -16
  347. package/hooks/useInterval.stories.d.ts +0 -16
  348. package/hooks/useIsVisible.stories.d.ts +0 -27
  349. package/hooks/useKeyboardEvent.stories.d.ts +0 -16
  350. package/hooks/useLayoutEvent.stories.d.ts +0 -16
  351. package/hooks/useOutsideEvent.stories.d.ts +0 -16
  352. package/hooks/usePseudoClasses.stories.d.ts +0 -16
  353. package/hooks/useResizeObserver.stories.d.ts +0 -16
  354. package/hooks/useRovingFocus.stories.d.ts +0 -17
  355. package/hooks/useSize.stories.d.ts +0 -16
  356. package/hooks/useSticky.stories.d.ts +0 -16
  357. package/hooks/useUuid.stories.d.ts +0 -16
@@ -1,43 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { ProgressBarMode, ProgressbarSize } from './Progressbar';
4
- declare const meta: {
5
- title: string;
6
- component: React.FC<import("./Progressbar").ProgressbarProps>;
7
- parameters: {
8
- docs: {
9
- description: {
10
- component: string;
11
- };
12
- page: () => React.JSX.Element;
13
- };
14
- };
15
- args: {
16
- value: number;
17
- size: ProgressbarSize.large;
18
- mode: ProgressBarMode.onlight;
19
- };
20
- argTypes: {
21
- value: {
22
- control: string;
23
- };
24
- size: {
25
- control: string;
26
- options: string[];
27
- };
28
- mode: {
29
- control: string;
30
- options: string[];
31
- };
32
- ariaLabel: {
33
- control: string;
34
- };
35
- };
36
- };
37
- export default meta;
38
- type Story = StoryObj<typeof meta>;
39
- export declare const Default: Story;
40
- export declare const Animated: Story;
41
- export declare const Modes: Story;
42
- export declare const OverlayScreen: Story;
43
- export declare const OverlayParent: Story;
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./PromoPanel").PromoPanelProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- title: string;
16
- children: string;
17
- href: string;
18
- target: "_parent";
19
- color: "neutral";
20
- illustration: "Doctor";
21
- };
22
- argTypes: {
23
- title: {
24
- control: string;
25
- };
26
- children: {
27
- control: string;
28
- };
29
- href: {
30
- control: string;
31
- };
32
- color: {
33
- control: string;
34
- options: string[];
35
- };
36
- illustration: {
37
- control: string;
38
- options: string[];
39
- };
40
- };
41
- };
42
- export default meta;
43
- type Story = StoryObj<typeof meta>;
44
- export declare const Default: Story;
45
- export declare const CustomLinkComponent: Story;
@@ -1,57 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { FormMode, FormSize } from '../../constants';
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import("./RadioButton").RadioButtonProps & React.RefAttributes<HTMLInputElement>>;
7
- parameters: {
8
- docs: {
9
- page: () => React.JSX.Element;
10
- description: {
11
- component: string;
12
- };
13
- };
14
- };
15
- args: {
16
- label: string;
17
- defaultChecked: false;
18
- disabled: false;
19
- mode: FormMode.onwhite;
20
- size: FormSize.medium;
21
- name: string;
22
- value: string;
23
- required: false;
24
- };
25
- argTypes: {
26
- label: {
27
- control: string;
28
- };
29
- defaultChecked: {
30
- control: string;
31
- };
32
- disabled: {
33
- control: string;
34
- };
35
- mode: {
36
- control: string;
37
- options: typeof FormMode;
38
- };
39
- size: {
40
- control: string;
41
- options: typeof FormSize;
42
- };
43
- name: {
44
- control: string;
45
- };
46
- value: {
47
- control: string;
48
- };
49
- required: {
50
- control: string;
51
- };
52
- };
53
- };
54
- export default meta;
55
- type Story = StoryObj<typeof meta>;
56
- export declare const Default: Story;
57
- export declare const Large: Story;
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.ForwardRefExoticComponent<import("./Select").SelectProps & React.RefAttributes<HTMLSelectElement>>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- children: React.JSX.Element;
16
- label: React.JSX.Element;
17
- name: string;
18
- onChange: import("@storybook/addon-actions").HandlerFunction;
19
- disabled: false;
20
- autoComplete: string;
21
- };
22
- argTypes: {
23
- disabled: {
24
- control: string;
25
- };
26
- autoComplete: {
27
- control: string;
28
- };
29
- };
30
- };
31
- export default meta;
32
- type Story = StoryObj<typeof meta>;
33
- export declare const Default: Story;
34
- export declare const DefaultValue: Story;
35
- export declare const Disabled: Story;
36
- export declare const Concepts: Story;
37
- export declare const Modes: Story;
38
- export declare const Width: Story;
@@ -1,71 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./ServiceMessage").ServiceMessageProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- label: string;
16
- info: string;
17
- extraInfo: string;
18
- dismissable: true;
19
- expanderOpenFromStart: true;
20
- urlTitle: string;
21
- url: string;
22
- target: "_parent";
23
- closeBtnText: string;
24
- variant: "error";
25
- testId: string;
26
- };
27
- argTypes: {
28
- label: {
29
- control: string;
30
- };
31
- info: {
32
- control: string;
33
- };
34
- extraInfo: {
35
- control: string;
36
- };
37
- dismissable: {
38
- control: string;
39
- };
40
- expanderOpenFromStart: {
41
- control: string;
42
- };
43
- urlTitle: {
44
- control: string;
45
- };
46
- url: {
47
- control: string;
48
- };
49
- target: {
50
- control: string;
51
- options: string[];
52
- };
53
- closeBtnText: {
54
- control: string;
55
- };
56
- variant: {
57
- control: string;
58
- options: string[];
59
- };
60
- testId: {
61
- control: string;
62
- };
63
- };
64
- };
65
- export default meta;
66
- type Story = StoryObj<typeof meta>;
67
- export declare const Default: Story;
68
- export declare const ReadMore: Story;
69
- export declare const DismissableWithContent: Story;
70
- export declare const DismissableLabelOnly: Story;
71
- export declare const LabelOnly: Story;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./SharingStatus").SharingStatusProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- children: string;
16
- };
17
- argTypes: {
18
- children: {
19
- control: string;
20
- };
21
- wrapText: {
22
- control: string;
23
- };
24
- };
25
- };
26
- export default meta;
27
- type Story = StoryObj<typeof meta>;
28
- export declare const Default: Story;
29
- export declare const WrapText: Story;
30
- export declare const DifferentIcons: Story;
31
- export declare const AllColors: Story;
@@ -1,52 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./Slider").SliderProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- title: string;
16
- disabled: false;
17
- };
18
- argTypes: {
19
- title: {
20
- control: string;
21
- };
22
- labelLeft: {
23
- control: string;
24
- };
25
- labelRight: {
26
- control: string;
27
- };
28
- ariaLabel: {
29
- control: string;
30
- };
31
- disabled: {
32
- control: string;
33
- };
34
- selected: {
35
- control: string;
36
- };
37
- step: {
38
- control: string;
39
- };
40
- value: {
41
- control: string;
42
- };
43
- };
44
- };
45
- export default meta;
46
- type Story = StoryObj<typeof meta>;
47
- export declare const Default: Story;
48
- export declare const NotSelected: Story;
49
- export declare const Steps: Story;
50
- export declare const StepLabel: Story;
51
- export declare const StepEmoji: Story;
52
- export declare const CombinedData: Story;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.ForwardRefExoticComponent<import("./Spacer").SpacerProps & React.RefAttributes<HTMLElement>>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- };
15
- export default meta;
16
- type Story = StoryObj<typeof meta>;
17
- export declare const Default: Story;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { StatusDotVariant } from './StatusDot';
4
- declare const meta: {
5
- title: string;
6
- component: React.FC<import("./StatusDot").StatusDotProps>;
7
- parameters: {
8
- docs: {
9
- page: () => React.JSX.Element;
10
- description: {
11
- component: string;
12
- };
13
- };
14
- };
15
- args: {
16
- variant: StatusDotVariant.info;
17
- text: string;
18
- };
19
- argTypes: {
20
- variant: {
21
- control: string;
22
- options: typeof StatusDotVariant;
23
- };
24
- text: {
25
- control: string;
26
- };
27
- };
28
- };
29
- export default meta;
30
- type Story = StoryObj<typeof meta>;
31
- export declare const Default: Story;
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./Step").StepProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- children: string;
16
- stickyButtons: false;
17
- };
18
- argTypes: {
19
- stickyButtons: {
20
- control: string;
21
- };
22
- };
23
- };
24
- export default meta;
25
- type Story = StoryObj<typeof meta>;
26
- export declare const Default: Story;
27
- export declare const StickyButtons: Story;
28
- export declare const StickyButtonsNoSiblings: Story;
29
- export declare const NoNavigation: Story;
30
- export declare const WithStepButtons: Story;
31
- export declare const AdditionalButtons: Story;
32
- export declare const Locked: Story;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./StepButtons").StepButtonsProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- argTypes: {};
15
- };
16
- export default meta;
17
- type Story = StoryObj<typeof meta>;
18
- export declare const Default: Story;
19
- export declare const AdditionalButtons: Story;
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./Stepper").StepperProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- ariaLabel: string;
16
- };
17
- argTypes: {
18
- ariaLabel: {
19
- control: string;
20
- };
21
- ariaLabelledById: {
22
- control: string;
23
- };
24
- value: {
25
- control: string;
26
- };
27
- min: {
28
- control: string;
29
- };
30
- max: {
31
- control: string;
32
- };
33
- };
34
- };
35
- export default meta;
36
- type Story = StoryObj<typeof meta>;
37
- export declare const Dots: Story;
38
- export declare const Smooth: Story;
@@ -1,90 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { ResponsiveTableVariant, Table, HeaderCategory, ModeType } from './';
4
- type TableWithAndCustomArgs = React.ComponentProps<typeof Table> & {
5
- breakpoint: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
6
- variant: ResponsiveTableVariant;
7
- fallbackVariant: ResponsiveTableVariant;
8
- headerCategory: HeaderCategory;
9
- };
10
- declare const meta: {
11
- title: string;
12
- component: React.FC<import("./Table").Props>;
13
- parameters: {
14
- docs: {
15
- page: () => React.JSX.Element;
16
- description: {
17
- component: string;
18
- };
19
- };
20
- };
21
- args: {
22
- breakpoint: "xl";
23
- variant: ResponsiveTableVariant.none;
24
- fallbackVariant: ResponsiveTableVariant.none;
25
- headerCategory: HeaderCategory.normal;
26
- mode: ModeType.normal;
27
- scrollAriaLabel: string;
28
- };
29
- argTypes: {
30
- breakpoint: {
31
- control: string;
32
- options: string[];
33
- };
34
- variant: {
35
- control: string;
36
- options: typeof ResponsiveTableVariant;
37
- };
38
- fallbackVariant: {
39
- control: string;
40
- options: typeof ResponsiveTableVariant;
41
- };
42
- headerCategory: {
43
- control: string;
44
- options: typeof HeaderCategory;
45
- };
46
- mode: {
47
- control: string;
48
- options: typeof ModeType;
49
- };
50
- scrollAriaLabel: {
51
- control: string;
52
- };
53
- scrollAriaLabelledById: {
54
- control: string;
55
- };
56
- };
57
- };
58
- export default meta;
59
- type Story = StoryObj<TableWithAndCustomArgs>;
60
- export declare const Default: Story;
61
- export declare const Compact: Story;
62
- export declare const DefaultResponsiveConfig: Story;
63
- export declare const SimpleResponsiveConfig: Story;
64
- export declare const SortableAndExpandable: Story;
65
- export declare const NestedExpandableBlockTables: Story;
66
- export declare const ExtraData: Story;
67
- export declare const Irregular: Story;
68
- export interface Legekontor {
69
- Navn: string | JSX.Element;
70
- Adresse: string;
71
- }
72
- export interface FastlegeAvtale {
73
- AntallPlasser: number;
74
- LedigePlasser: number;
75
- Fastlege: Fastlege;
76
- Legekontor: Legekontor;
77
- Avtaledato: string;
78
- Valgbar: boolean;
79
- Fellesliste: boolean;
80
- VentelisteTilgjengelig: boolean;
81
- AntallPaVenteliste: number;
82
- }
83
- export interface Fastlege {
84
- Stillingsprosent: string | null;
85
- Autorisert: string | null;
86
- Fornavn: string;
87
- Etternavn: string;
88
- Alder: string;
89
- Kjonn: string;
90
- }
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./Tabs").TabsProps> & {
6
- Tab: React.FC<import("./Tab").TabProps>;
7
- };
8
- subcomponents: {
9
- Tab: React.FC<import("./Tab").TabProps>;
10
- };
11
- parameters: {
12
- docs: {
13
- description: {
14
- component: string;
15
- };
16
- page: () => React.JSX.Element;
17
- };
18
- };
19
- args: {
20
- color: "white";
21
- type: "normal";
22
- };
23
- argTypes: {
24
- color: {
25
- control: string;
26
- options: string[];
27
- description: string;
28
- };
29
- testId: {
30
- control: string;
31
- description: string;
32
- };
33
- type: {
34
- control: string;
35
- options: string[];
36
- describtion: string;
37
- };
38
- activeTab: {
39
- control: string;
40
- description: string;
41
- };
42
- };
43
- };
44
- export default meta;
45
- type Story = StoryObj<typeof meta>;
46
- export declare const Default: Story;
47
- export declare const WithIcon: Story;
48
- export declare const Framed: Story;
49
- export declare const Colors: Story;
50
- export declare const Controlled: Story;
@@ -1,48 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { TagAction, TagSize, TagVariant } from './Tag';
4
- declare const meta: {
5
- title: string;
6
- component: React.FC<import("./Tag").TagProps>;
7
- parameters: {
8
- docs: {
9
- page: () => React.JSX.Element;
10
- description: {
11
- component: string;
12
- };
13
- };
14
- };
15
- args: {
16
- children: string;
17
- size: TagSize.medium;
18
- color: "blueberry";
19
- variant: TagVariant.normal;
20
- action: TagAction.remove;
21
- };
22
- argTypes: {
23
- children: {
24
- control: string;
25
- };
26
- size: {
27
- control: string;
28
- options: typeof TagSize;
29
- };
30
- color: {
31
- control: string;
32
- options: string[];
33
- };
34
- variant: {
35
- control: string;
36
- options: typeof TagVariant;
37
- };
38
- action: {
39
- control: string;
40
- options: typeof TagAction;
41
- };
42
- };
43
- };
44
- export default meta;
45
- type Story = StoryObj<typeof meta>;
46
- export declare const Default: Story;
47
- export declare const WithIcon: Story;
48
- export declare const Action: Story;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<import("./TagList").TagListPropsProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- };
15
- export default meta;
16
- type Story = StoryObj<typeof meta>;
17
- export declare const Default: Story;