@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,94 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { FormMode } from '../../constants';
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import("./Textarea").TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
7
- parameters: {
8
- docs: {
9
- page: () => React.JSX.Element;
10
- description: {
11
- component: string;
12
- };
13
- };
14
- };
15
- args: {
16
- maxCharacters: number;
17
- maxText: string;
18
- width: undefined;
19
- mode: FormMode.onwhite;
20
- testId: string;
21
- transparent: false;
22
- disabled: false;
23
- minRows: number;
24
- maxRows: number;
25
- grow: true;
26
- errorText: string;
27
- autoFocus: false;
28
- readOnly: false;
29
- autoComplete: string;
30
- name: string;
31
- required: false;
32
- };
33
- argTypes: {
34
- placeholder: {
35
- control: string;
36
- };
37
- maxCharacters: {
38
- control: string;
39
- };
40
- maxText: {
41
- control: string;
42
- };
43
- width: {
44
- control: string;
45
- };
46
- mode: {
47
- control: string;
48
- options: typeof FormMode;
49
- };
50
- defaultValue: {
51
- control: string;
52
- };
53
- testId: {
54
- control: string;
55
- };
56
- transparent: {
57
- control: string;
58
- };
59
- disabled: {
60
- control: string;
61
- };
62
- minRows: {
63
- control: string;
64
- };
65
- maxRows: {
66
- control: string;
67
- };
68
- grow: {
69
- control: string;
70
- };
71
- errorText: {
72
- control: string;
73
- };
74
- autoFocus: {
75
- control: string;
76
- };
77
- readOnly: {
78
- control: string;
79
- };
80
- autoComplete: {
81
- control: string;
82
- };
83
- name: {
84
- control: string;
85
- };
86
- required: {
87
- control: string;
88
- };
89
- };
90
- };
91
- export default meta;
92
- type Story = StoryObj<typeof meta>;
93
- export declare const Default: Story;
94
- export declare const MaxCharacters: Story;
@@ -1,65 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: import("./Tile").TileCompound;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- title: React.JSX.Element;
16
- icon: React.JSX.Element;
17
- fixed: false;
18
- highlighted: false;
19
- href: string;
20
- description: string;
21
- };
22
- argTypes: {
23
- children: {
24
- control: string;
25
- };
26
- className: {
27
- control: string;
28
- description: string;
29
- };
30
- icon: {
31
- control: string;
32
- description: string;
33
- };
34
- title: {
35
- control: string;
36
- description: string;
37
- };
38
- highlighted: {
39
- control: string;
40
- description: string;
41
- };
42
- description: {
43
- control: string;
44
- description: string;
45
- };
46
- fixed: {
47
- control: string;
48
- description: string;
49
- };
50
- href: {
51
- control: string;
52
- };
53
- testId: {
54
- control: string;
55
- description: string;
56
- };
57
- };
58
- };
59
- export default meta;
60
- type Story = StoryObj<typeof meta>;
61
- export declare const Default: Story;
62
- export declare const External: Story;
63
- export declare const WrappedContainer: StoryObj;
64
- export declare const WithOnClick: Story;
65
- export declare const ReactChildren: Story;
@@ -1,40 +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("./Title").TitleProps & React.RefAttributes<HTMLHeadingElement>>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- children: string;
16
- htmlMarkup: "h1";
17
- margin: number;
18
- appearance: "title1";
19
- };
20
- argTypes: {
21
- children: {
22
- control: string;
23
- };
24
- htmlMarkup: {
25
- control: string;
26
- options: import("./Title").TitleTags[];
27
- };
28
- margin: {
29
- control: string;
30
- };
31
- appearance: {
32
- control: string;
33
- options: import("./Title").TitleAppearances[];
34
- };
35
- };
36
- };
37
- export default meta;
38
- type Story = StoryObj<typeof meta>;
39
- export declare const Default: Story;
40
- export declare const AllAppearances: Story;
@@ -1,34 +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("./Tooltip").TooltipProps>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- story: {
13
- inline: boolean;
14
- iframeHeight: string;
15
- };
16
- };
17
- };
18
- args: {
19
- children: string;
20
- description: string;
21
- };
22
- argTypes: {
23
- children: {
24
- control: string;
25
- };
26
- description: {
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 SingleExample: 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.ForwardRefExoticComponent<import("./Trigger").TriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- parameters: {
7
- docs: {
8
- page: () => React.JSX.Element;
9
- description: {
10
- component: string;
11
- };
12
- };
13
- };
14
- args: {
15
- ariaLabel: string;
16
- variant: "help";
17
- size: "medium";
18
- mode: "onlight";
19
- selected: false;
20
- htmlMarkup: "button";
21
- };
22
- argTypes: {
23
- ariaLabel: {
24
- control: string;
25
- };
26
- variant: {
27
- control: string;
28
- options: string[];
29
- };
30
- size: {
31
- control: string;
32
- options: string[];
33
- };
34
- mode: {
35
- control: string;
36
- options: string[];
37
- };
38
- selected: {
39
- control: string;
40
- };
41
- htmlMarkup: {
42
- control: string;
43
- options: string[];
44
- };
45
- };
46
- };
47
- export default meta;
48
- type Story = StoryObj<typeof meta>;
49
- export declare const Default: Story;
50
- export declare const HelpTrigger: Story;
51
- export declare const OnDark: Story;
52
- export declare const NextToText: Story;
@@ -1,37 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { FormSize } from '../../constants';
4
- declare const meta: {
5
- title: string;
6
- component: (props: import("../FormExample/FormExample").FormExampleProps) => JSX.Element;
7
- parameters: {
8
- docs: {
9
- page: () => React.JSX.Element;
10
- description: {
11
- component: string;
12
- markdown: string;
13
- };
14
- source: {
15
- code: string;
16
- language: string;
17
- };
18
- };
19
- };
20
- args: {
21
- size: FormSize.medium;
22
- };
23
- argTypes: {
24
- size: {
25
- control: string;
26
- options: typeof FormSize;
27
- };
28
- };
29
- };
30
- export default meta;
31
- type Story = StoryObj<typeof meta>;
32
- export declare const FormGroup: Story;
33
- export declare const Checkbox: Story;
34
- export declare const Radiobutton: Story;
35
- export declare const Textarea: Story;
36
- export declare const Input: Story;
37
- export declare const Select: Story;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- import { BreakpointProps } from './withBreakpoint';
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<Omit<BreakpointProps, "breakpoint">>;
7
- parameters: {
8
- docs: {
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,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- interface UseDelayedStateExampleProps {
4
- delay: number;
5
- }
6
- declare const meta: {
7
- title: string;
8
- component: React.FC<UseDelayedStateExampleProps>;
9
- parameters: {
10
- docs: {
11
- description: {
12
- component: string;
13
- };
14
- };
15
- };
16
- args: {
17
- delay: number;
18
- };
19
- argTypes: {
20
- delay: {
21
- control: string;
22
- };
23
- };
24
- };
25
- export default meta;
26
- type Story = StoryObj<typeof meta>;
27
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- interface UseIsVisibleExampleProps {
4
- threshold?: number;
5
- }
6
- declare const meta: {
7
- title: string;
8
- component: React.FC<UseIsVisibleExampleProps>;
9
- parameters: {
10
- docs: {
11
- description: {
12
- component: string;
13
- };
14
- };
15
- };
16
- args: {
17
- threshold: number;
18
- };
19
- argTypes: {
20
- threshold: {
21
- control: string;
22
- };
23
- };
24
- };
25
- export default meta;
26
- type Story = StoryObj<typeof meta>;
27
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: 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<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
17
- export declare const WithLeftRightNavigation: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { StoryObj } from '@storybook/react';
3
- declare const meta: {
4
- title: string;
5
- component: React.FC<{}>;
6
- parameters: {
7
- docs: {
8
- description: {
9
- component: string;
10
- };
11
- };
12
- };
13
- };
14
- export default meta;
15
- type Story = StoryObj<typeof meta>;
16
- export declare const Default: Story;