@digigov/ui 0.28.1 → 0.28.3

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 (704) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/README.md +1 -0
  3. package/admin/AutoComplete/AutoComplete.stories.d.ts +1 -0
  4. package/admin/AutoComplete/AutoComplete.stories.js +2 -1
  5. package/admin/AutoComplete/Status/index.d.ts +2 -2
  6. package/admin/AutoComplete/Status/index.js +4 -4
  7. package/admin/AutoComplete/index.d.ts +2 -2
  8. package/admin/AutoComplete/index.mdx +4 -0
  9. package/admin/CircularProgress/CircularProgress.stories.d.ts +2 -0
  10. package/admin/CircularProgress/CircularProgress.stories.js +3 -2
  11. package/admin/CircularProgress/__stories__/Default.js +1 -3
  12. package/admin/CopyToClipboard/CopyToClipboard.stories.d.ts +1 -1
  13. package/admin/CopyToClipboard/CopyToClipboard.stories.js +2 -15
  14. package/admin/CopyToClipboard/index.mdx +2 -2
  15. package/admin/Drawer/Drawer.stories.d.ts +7 -1
  16. package/admin/Drawer/Drawer.stories.js +25 -3
  17. package/admin/Drawer/__stories__/Default.js +7 -46
  18. package/admin/Drawer/index.mdx +4 -0
  19. package/admin/Dropdown/Dropdown.stories.d.ts +3 -0
  20. package/admin/Dropdown/Dropdown.stories.js +4 -1
  21. package/admin/Dropdown/__stories__/AlignRight.js +4 -3
  22. package/admin/Dropdown/__stories__/Default.js +5 -3
  23. package/admin/Dropdown/__stories__/PlacementTop.js +4 -3
  24. package/admin/Dropdown/index.d.ts +3 -2
  25. package/admin/Dropdown/index.js +12 -4
  26. package/admin/Dropdown/index.mdx +4 -1
  27. package/admin/Modal/Modal.stories.d.ts +3 -0
  28. package/admin/Modal/Modal.stories.js +4 -1
  29. package/admin/Modal/__stories__/AlertDialog.js +11 -31
  30. package/admin/Modal/__stories__/Default.js +10 -26
  31. package/admin/Modal/index.d.ts +2 -2
  32. package/admin/Modal/index.js +5 -5
  33. package/admin/Modal/index.mdx +4 -8
  34. package/admin/Pagination/Pagination.stories.d.ts +4 -0
  35. package/admin/Pagination/Pagination.stories.js +18 -1
  36. package/admin/Pagination/__stories__/Default.js +1 -27
  37. package/admin/Pagination/__stories__/PaginationSmall.d.ts +2 -0
  38. package/admin/Pagination/__stories__/PaginationSmall.js +61 -0
  39. package/admin/Pagination/index.d.ts +3 -2
  40. package/admin/Pagination/index.js +12 -4
  41. package/admin/Pagination/index.mdx +4 -0
  42. package/admin/StepNav/StepNav.stories.d.ts +2 -0
  43. package/admin/StepNav/StepNav.stories.js +3 -1
  44. package/admin/TaskList/TaskList.stories.d.ts +2 -0
  45. package/admin/TaskList/TaskList.stories.js +3 -1
  46. package/admin/TaskList/__stories__/Default.js +2 -2
  47. package/admin/Timeline/Timeline.stories.d.ts +2 -0
  48. package/admin/Timeline/Timeline.stories.js +3 -1
  49. package/admin/Timeline/__stories__/Default.js +3 -1
  50. package/app/Confirmation/Confirmation.mdx +4 -0
  51. package/app/Confirmation/Confirmation.stories.d.ts +5 -1
  52. package/app/Confirmation/Confirmation.stories.js +6 -3
  53. package/app/Confirmation/index.d.ts +3 -3
  54. package/app/Confirmation/index.js +44 -15
  55. package/app/Footer/Footer.mdx +4 -0
  56. package/app/Footer/Footer.stories.d.ts +5 -0
  57. package/app/Footer/Footer.stories.js +6 -2
  58. package/app/Footer/index.d.ts +2 -0
  59. package/app/Footer/index.js +28 -2
  60. package/app/Header/Header.stories.d.ts +4 -0
  61. package/app/Header/Header.stories.js +4 -0
  62. package/app/Header/index.mdx +4 -0
  63. package/app/I18nText.js +1 -0
  64. package/app/NotFound/NotFound.stories.d.ts +1 -0
  65. package/app/NotFound/NotFound.stories.js +2 -1
  66. package/app/NotFound/index.mdx +4 -0
  67. package/app/PageTitle.d.ts +5 -9
  68. package/app/PageTitle.js +57 -61
  69. package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +2 -0
  70. package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
  71. package/app/PhaseBannerHeader/index.mdx +4 -0
  72. package/app/QrCodeScanner/QrCodeScanner.stories.d.ts +1 -0
  73. package/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
  74. package/app/QrCodeScanner/index.d.ts +8 -1
  75. package/app/QrCodeScanner/index.js +3 -5
  76. package/app/QrCodeViewer/QRCode.stories.d.ts +1 -0
  77. package/app/QrCodeViewer/QRCode.stories.js +2 -1
  78. package/app/QrCodeViewer/index.d.ts +5 -7
  79. package/app/QrCodeViewer/index.js +2 -70
  80. package/app/QrCodeViewer/index.mdx +4 -0
  81. package/app/QrCodeViewer/types.d.ts +0 -1
  82. package/app/index.d.ts +2 -0
  83. package/app/index.js +26 -0
  84. package/core/Accordion/Accordion.stories.d.ts +5 -0
  85. package/core/Accordion/Accordion.stories.js +6 -2
  86. package/core/Accordion/Accordion.stories.playwright.json +1 -7
  87. package/core/Accordion/__stories__/Default.js +3 -1
  88. package/core/Accordion/__stories__/WithHints.js +3 -1
  89. package/core/Accordion/index.d.ts +6 -0
  90. package/core/Accordion/index.js +85 -6
  91. package/core/Accordion/index.mdx +4 -0
  92. package/core/BackLink/BackLink.stories.d.ts +1 -0
  93. package/core/BackLink/BackLink.stories.js +2 -1
  94. package/core/BackLink/index.mdx +4 -0
  95. package/core/Blockquote/Blockquote.stories.d.ts +3 -0
  96. package/core/Blockquote/Blockquote.stories.js +4 -1
  97. package/core/Blockquote/index.mdx +4 -0
  98. package/core/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -0
  99. package/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
  100. package/core/Breadcrumbs/breadcrumbs.mdx +4 -0
  101. package/core/Button/Button.stories.d.ts +3 -0
  102. package/core/Button/Button.stories.js +5 -2
  103. package/core/Button/index.mdx +4 -1
  104. package/core/Card/Card.stories.d.ts +4 -0
  105. package/core/Card/Card.stories.js +5 -1
  106. package/core/Card/__stories__/WithClickableContent.js +2 -2
  107. package/core/Card/card.mdx +4 -0
  108. package/core/Checkboxes/Checkbox.stories.d.ts +3 -0
  109. package/core/Checkboxes/Checkbox.stories.js +4 -1
  110. package/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
  111. package/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  112. package/core/Checkboxes/checkboxes.mdx +4 -0
  113. package/core/DateInput/DateInput.stories.d.ts +3 -0
  114. package/core/DateInput/DateInput.stories.js +4 -1
  115. package/core/DateInput/index.d.ts +2 -2
  116. package/core/DateInput/index.js +5 -5
  117. package/core/DateInput/index.mdx +5 -0
  118. package/core/Details/Details.stories.d.ts +3 -0
  119. package/core/Details/Details.stories.js +4 -1
  120. package/core/Details/index.d.ts +3 -3
  121. package/core/Details/index.js +44 -21
  122. package/core/Details/index.mdx +4 -0
  123. package/core/Divider/Divider.stories.d.ts +1 -0
  124. package/core/Divider/Divider.stories.js +2 -1
  125. package/core/Divider/index.js +1 -0
  126. package/core/ErrorMessage/ErrorMessage.stories.d.ts +3 -0
  127. package/core/ErrorMessage/ErrorMessage.stories.js +4 -1
  128. package/core/ErrorMessage/index.mdx +4 -0
  129. package/core/ErrorSummary/ErrorSummary.stories.d.ts +3 -0
  130. package/core/ErrorSummary/ErrorSummary.stories.js +4 -1
  131. package/core/ErrorSummary/__stories__/LinkedToInput.js +2 -2
  132. package/core/ErrorSummary/index.d.ts +1 -1
  133. package/core/ErrorSummary/index.js +19 -8
  134. package/core/ErrorSummary/index.mdx +4 -0
  135. package/core/Field/index.d.ts +2 -2
  136. package/core/Field/index.js +5 -5
  137. package/core/FileUpload/FileUpload.stories.d.ts +2 -0
  138. package/core/FileUpload/FileUpload.stories.js +3 -1
  139. package/core/FileUpload/index.mdx +4 -1
  140. package/core/Label/index.d.ts +2 -2
  141. package/core/Label/index.js +5 -5
  142. package/core/Link/Link.stories.d.ts +2 -0
  143. package/core/Link/Link.stories.js +3 -1
  144. package/core/Link/index.d.ts +3 -3
  145. package/core/Link/index.js +15 -6
  146. package/core/Link/link.mdx +4 -0
  147. package/core/List/List.d.ts +1 -1
  148. package/core/List/List.js +19 -8
  149. package/core/List/List.stories.d.ts +4 -0
  150. package/core/List/List.stories.js +5 -2
  151. package/core/List/index.mdx +4 -0
  152. package/core/Masthead/Masthead.stories.d.ts +4 -0
  153. package/core/Masthead/Masthead.stories.js +5 -1
  154. package/core/Masthead/masthead.mdx +4 -0
  155. package/core/NavList/NavList.stories.d.ts +3 -0
  156. package/core/NavList/NavList.stories.js +4 -1
  157. package/core/NavList/index.d.ts +3 -1
  158. package/core/NavList/index.js +26 -8
  159. package/core/NavList/index.mdx +4 -0
  160. package/core/NotificationBanner/NotificationBanner.stories.d.ts +4 -0
  161. package/core/NotificationBanner/NotificationBanner.stories.js +5 -1
  162. package/core/NotificationBanner/index.d.ts +3 -3
  163. package/core/NotificationBanner/index.js +8 -2
  164. package/core/NotificationBanner/index.mdx +4 -0
  165. package/core/PhaseBanner/PhaseBanner.stories.d.ts +3 -0
  166. package/core/PhaseBanner/PhaseBanner.stories.js +4 -1
  167. package/core/PhaseBanner/index.mdx +4 -0
  168. package/core/Radios/Radios.stories.d.ts +3 -0
  169. package/core/Radios/Radios.stories.js +4 -1
  170. package/core/Radios/__stories__/ConditionalReveal.js +1 -1
  171. package/core/Radios/index.d.ts +2 -2
  172. package/core/Radios/index.js +5 -5
  173. package/core/Radios/index.mdx +14 -0
  174. package/core/Select/Select.stories.d.ts +3 -0
  175. package/core/Select/Select.stories.js +4 -1
  176. package/core/Select/__stories__/Default.js +2 -2
  177. package/core/Select/__stories__/DisabledInput.js +2 -2
  178. package/core/Select/__stories__/WithHint.js +2 -2
  179. package/core/Select/index.d.ts +2 -2
  180. package/core/Select/index.js +5 -5
  181. package/core/Select/index.mdx +4 -0
  182. package/core/SummaryList/SummaryList.stories.d.ts +4 -0
  183. package/core/SummaryList/SummaryList.stories.js +5 -2
  184. package/core/SummaryList/index.mdx +4 -0
  185. package/core/Table/Table.stories.d.ts +4 -0
  186. package/core/Table/Table.stories.js +5 -2
  187. package/core/Table/__stories__/WithFloatingScroll.js +1 -27
  188. package/core/Table/index.d.ts +2 -0
  189. package/core/Table/index.js +23 -2
  190. package/core/Table/index.mdx +4 -1
  191. package/core/Tabs/Tabs.stories.d.ts +5 -0
  192. package/core/Tabs/Tabs.stories.js +6 -2
  193. package/core/Tabs/index.d.ts +5 -5
  194. package/core/Tabs/index.js +74 -36
  195. package/core/Tabs/index.mdx +4 -0
  196. package/core/TextArea/TextArea.stories.d.ts +3 -0
  197. package/core/TextArea/TextArea.stories.js +4 -1
  198. package/core/TextArea/__stories__/Default.js +2 -2
  199. package/core/TextArea/__stories__/DisabledInput.js +2 -2
  200. package/core/TextArea/__stories__/LimitedCharacters.js +2 -2
  201. package/core/TextArea/__stories__/MultipleQuestions.js +2 -2
  202. package/core/TextArea/__stories__/WithDeclaredRows.js +2 -2
  203. package/core/TextArea/__stories__/WithErrorMessage.js +2 -2
  204. package/core/TextArea/__stories__/WithHint.js +2 -2
  205. package/core/TextArea/index.mdx +4 -0
  206. package/core/TextInput/TextInput.stories.d.ts +3 -0
  207. package/core/TextInput/TextInput.stories.js +4 -1
  208. package/core/TextInput/__stories__/AskingForNumbers.js +2 -2
  209. package/core/TextInput/__stories__/Default.js +2 -2
  210. package/core/TextInput/__stories__/DisabledInput.js +2 -2
  211. package/core/TextInput/__stories__/FixedWidths.js +7 -7
  212. package/core/TextInput/__stories__/FluidWidths.js +7 -7
  213. package/core/TextInput/__stories__/MultipleQuestions.js +2 -2
  214. package/core/TextInput/__stories__/WithErrorMessage.js +2 -2
  215. package/core/TextInput/__stories__/WithHint.js +2 -2
  216. package/core/TextInput/index.mdx +4 -0
  217. package/core/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -0
  218. package/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
  219. package/core/VisuallyHidden/index.mdx +4 -1
  220. package/core/WarningText/WarningText.stories.d.ts +4 -0
  221. package/core/WarningText/WarningText.stories.js +5 -2
  222. package/core/WarningText/index.d.ts +1 -1
  223. package/core/WarningText/index.js +19 -8
  224. package/core/WarningText/index.mdx +4 -0
  225. package/core/index.d.ts +8 -5
  226. package/core/index.js +74 -65
  227. package/es/admin/AutoComplete/AutoComplete.stories.js +2 -1
  228. package/es/admin/AutoComplete/Status/index.js +4 -4
  229. package/es/admin/AutoComplete/index.mdx +4 -0
  230. package/es/admin/CircularProgress/CircularProgress.stories.js +3 -2
  231. package/es/admin/CircularProgress/__stories__/Default.js +1 -2
  232. package/es/admin/CopyToClipboard/CopyToClipboard.stories.js +3 -3
  233. package/es/admin/CopyToClipboard/index.mdx +2 -2
  234. package/es/admin/Drawer/Drawer.stories.js +8 -2
  235. package/es/admin/Drawer/__stories__/Default.js +8 -47
  236. package/es/admin/Drawer/index.mdx +4 -0
  237. package/es/admin/Dropdown/Dropdown.stories.js +4 -1
  238. package/es/admin/Dropdown/__stories__/AlignRight.js +4 -3
  239. package/es/admin/Dropdown/__stories__/Default.js +5 -3
  240. package/es/admin/Dropdown/__stories__/PlacementTop.js +4 -3
  241. package/es/admin/Dropdown/index.js +3 -2
  242. package/es/admin/Dropdown/index.mdx +4 -1
  243. package/es/admin/Modal/Modal.stories.js +4 -1
  244. package/es/admin/Modal/__stories__/AlertDialog.js +12 -31
  245. package/es/admin/Modal/__stories__/Default.js +11 -26
  246. package/es/admin/Modal/index.js +2 -2
  247. package/es/admin/Modal/index.mdx +4 -8
  248. package/es/admin/Pagination/Pagination.stories.js +6 -2
  249. package/es/admin/Pagination/__stories__/Default.js +1 -27
  250. package/es/admin/Pagination/__stories__/PaginationSmall.js +38 -0
  251. package/es/admin/Pagination/index.js +3 -2
  252. package/es/admin/Pagination/index.mdx +4 -0
  253. package/es/admin/StepNav/StepNav.stories.js +3 -1
  254. package/es/admin/TaskList/TaskList.stories.js +3 -1
  255. package/es/admin/TaskList/__stories__/Default.js +2 -2
  256. package/es/admin/Timeline/Timeline.stories.js +3 -1
  257. package/es/admin/Timeline/__stories__/Default.js +3 -2
  258. package/es/app/Confirmation/Confirmation.mdx +4 -0
  259. package/es/app/Confirmation/Confirmation.stories.js +6 -3
  260. package/es/app/Confirmation/index.js +4 -4
  261. package/es/app/Footer/Footer.mdx +4 -0
  262. package/es/app/Footer/Footer.stories.js +6 -2
  263. package/es/app/Footer/index.js +3 -1
  264. package/es/app/Header/Header.stories.js +4 -0
  265. package/es/app/Header/index.mdx +4 -0
  266. package/es/app/I18nText.js +1 -0
  267. package/es/app/NotFound/NotFound.stories.js +2 -1
  268. package/es/app/NotFound/index.mdx +4 -0
  269. package/es/app/PageTitle.js +6 -57
  270. package/es/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
  271. package/es/app/PhaseBannerHeader/index.mdx +4 -0
  272. package/es/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
  273. package/es/app/QrCodeScanner/index.js +3 -5
  274. package/es/app/QrCodeViewer/QRCode.stories.js +2 -1
  275. package/es/app/QrCodeViewer/index.js +2 -69
  276. package/es/app/QrCodeViewer/index.mdx +4 -0
  277. package/es/app/index.js +2 -0
  278. package/es/core/Accordion/Accordion.stories.js +6 -2
  279. package/es/core/Accordion/Accordion.stories.playwright.json +1 -7
  280. package/es/core/Accordion/__stories__/Default.js +3 -1
  281. package/es/core/Accordion/__stories__/WithHints.js +3 -1
  282. package/es/core/Accordion/index.js +6 -0
  283. package/es/core/Accordion/index.mdx +4 -0
  284. package/es/core/BackLink/BackLink.stories.js +2 -1
  285. package/es/core/BackLink/index.mdx +4 -0
  286. package/es/core/Blockquote/Blockquote.stories.js +4 -1
  287. package/es/core/Blockquote/index.mdx +4 -0
  288. package/es/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
  289. package/es/core/Breadcrumbs/breadcrumbs.mdx +4 -0
  290. package/es/core/Button/Button.stories.js +5 -2
  291. package/es/core/Button/index.mdx +4 -1
  292. package/es/core/Card/Card.stories.js +5 -1
  293. package/es/core/Card/__stories__/WithClickableContent.js +2 -2
  294. package/es/core/Card/card.mdx +4 -0
  295. package/es/core/Checkboxes/Checkbox.stories.js +4 -1
  296. package/es/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
  297. package/es/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  298. package/es/core/Checkboxes/checkboxes.mdx +4 -0
  299. package/es/core/DateInput/DateInput.stories.js +4 -1
  300. package/es/core/DateInput/index.js +2 -2
  301. package/es/core/DateInput/index.mdx +5 -0
  302. package/es/core/Details/Details.stories.js +4 -1
  303. package/es/core/Details/index.js +3 -3
  304. package/es/core/Details/index.mdx +4 -0
  305. package/es/core/Divider/Divider.stories.js +2 -1
  306. package/es/core/Divider/index.js +1 -0
  307. package/es/core/ErrorMessage/ErrorMessage.stories.js +4 -1
  308. package/es/core/ErrorMessage/index.mdx +4 -0
  309. package/es/core/ErrorSummary/ErrorSummary.stories.js +4 -1
  310. package/es/core/ErrorSummary/__stories__/LinkedToInput.js +4 -4
  311. package/es/core/ErrorSummary/index.js +1 -1
  312. package/es/core/ErrorSummary/index.mdx +4 -0
  313. package/es/core/Field/index.js +2 -2
  314. package/es/core/FileUpload/FileUpload.stories.js +3 -1
  315. package/es/core/FileUpload/index.mdx +4 -1
  316. package/es/core/Label/index.js +2 -2
  317. package/es/core/Link/Link.stories.js +3 -1
  318. package/es/core/Link/index.js +8 -6
  319. package/es/core/Link/link.mdx +4 -0
  320. package/es/core/List/List.js +1 -1
  321. package/es/core/List/List.stories.js +5 -2
  322. package/es/core/List/index.mdx +4 -0
  323. package/es/core/Masthead/Masthead.stories.js +5 -1
  324. package/es/core/Masthead/masthead.mdx +4 -0
  325. package/es/core/NavList/NavList.stories.js +4 -1
  326. package/es/core/NavList/index.js +4 -2
  327. package/es/core/NavList/index.mdx +4 -0
  328. package/es/core/NotificationBanner/NotificationBanner.stories.js +5 -1
  329. package/es/core/NotificationBanner/index.js +3 -3
  330. package/es/core/NotificationBanner/index.mdx +4 -0
  331. package/es/core/PhaseBanner/PhaseBanner.stories.js +4 -1
  332. package/es/core/PhaseBanner/index.mdx +4 -0
  333. package/es/core/Radios/Radios.stories.js +4 -1
  334. package/es/core/Radios/__stories__/ConditionalReveal.js +1 -1
  335. package/es/core/Radios/index.js +2 -2
  336. package/es/core/Radios/index.mdx +14 -0
  337. package/es/core/Select/Select.stories.js +4 -1
  338. package/es/core/Select/__stories__/Default.js +2 -2
  339. package/es/core/Select/__stories__/DisabledInput.js +2 -2
  340. package/es/core/Select/__stories__/WithHint.js +2 -2
  341. package/es/core/Select/index.js +2 -2
  342. package/es/core/Select/index.mdx +4 -0
  343. package/es/core/SummaryList/SummaryList.stories.js +5 -2
  344. package/es/core/SummaryList/index.mdx +4 -0
  345. package/es/core/Table/Table.stories.js +5 -2
  346. package/es/core/Table/__stories__/WithFloatingScroll.js +1 -27
  347. package/es/core/Table/index.js +3 -1
  348. package/es/core/Table/index.mdx +4 -1
  349. package/es/core/Tabs/Tabs.stories.js +6 -2
  350. package/es/core/Tabs/index.js +5 -5
  351. package/es/core/Tabs/index.mdx +4 -0
  352. package/es/core/TextArea/TextArea.stories.js +4 -1
  353. package/es/core/TextArea/__stories__/Default.js +4 -4
  354. package/es/core/TextArea/__stories__/DisabledInput.js +4 -4
  355. package/es/core/TextArea/__stories__/LimitedCharacters.js +4 -4
  356. package/es/core/TextArea/__stories__/MultipleQuestions.js +4 -4
  357. package/es/core/TextArea/__stories__/WithDeclaredRows.js +4 -4
  358. package/es/core/TextArea/__stories__/WithErrorMessage.js +4 -4
  359. package/es/core/TextArea/__stories__/WithHint.js +4 -4
  360. package/es/core/TextArea/index.mdx +4 -0
  361. package/es/core/TextInput/TextInput.stories.js +4 -1
  362. package/es/core/TextInput/__stories__/AskingForNumbers.js +4 -4
  363. package/es/core/TextInput/__stories__/Default.js +4 -4
  364. package/es/core/TextInput/__stories__/DisabledInput.js +4 -4
  365. package/es/core/TextInput/__stories__/FixedWidths.js +9 -9
  366. package/es/core/TextInput/__stories__/FluidWidths.js +9 -9
  367. package/es/core/TextInput/__stories__/MultipleQuestions.js +4 -4
  368. package/es/core/TextInput/__stories__/WithErrorMessage.js +5 -5
  369. package/es/core/TextInput/__stories__/WithHint.js +4 -4
  370. package/es/core/TextInput/index.mdx +4 -0
  371. package/es/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
  372. package/es/core/VisuallyHidden/index.mdx +4 -1
  373. package/es/core/WarningText/WarningText.stories.js +5 -2
  374. package/es/core/WarningText/index.js +1 -1
  375. package/es/core/WarningText/index.mdx +4 -0
  376. package/es/core/index.js +8 -5
  377. package/es/govgr/Footer/Copyright.js +3 -2
  378. package/es/govgr/Footer/index.mdx +4 -0
  379. package/es/index.js +2 -1
  380. package/es/layouts/Basic/Basic.stories.js +3 -1
  381. package/es/layouts/Basic/Bottom/index.js +1 -1
  382. package/es/layouts/Basic/Bottom/index.mdx +4 -0
  383. package/es/layouts/Basic/Main/index.js +1 -1
  384. package/es/layouts/Basic/Main/index.mdx +4 -0
  385. package/es/layouts/Basic/Masthead/index.js +2 -2
  386. package/es/layouts/Basic/Masthead/index.mdx +4 -0
  387. package/es/layouts/Basic/Top/index.js +2 -10
  388. package/es/layouts/Basic/Top/index.mdx +4 -0
  389. package/es/layouts/Basic/index.js +5 -3
  390. package/es/layouts/Basic/index.mdx +0 -6
  391. package/es/layouts/Grid/Grid.stories.js +3 -2
  392. package/es/layouts/Grid/__stories__/Default.js +2 -6
  393. package/es/registry.js +116 -2
  394. package/es/typography/Heading/Heading.stories.js +2 -1
  395. package/es/typography/Heading/index.js +1 -1
  396. package/es/typography/Heading/index.mdx +4 -0
  397. package/es/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
  398. package/es/typography/HeadingCaption/index.js +1 -1
  399. package/es/typography/HeadingCaption/index.mdx +4 -1
  400. package/es/typography/Hint/Hint.stories.js +2 -1
  401. package/es/typography/Hint/index.mdx +4 -1
  402. package/es/typography/NormalText/NormalText.stories.js +2 -1
  403. package/es/typography/NormalText/index.mdx +4 -1
  404. package/es/typography/Paragraph/Paragraph.stories.js +2 -1
  405. package/es/typography/Paragraph/index.mdx +4 -1
  406. package/es/typography/index.js +2 -4
  407. package/es/utils/Kitchensink/AllComponents.js +11 -0
  408. package/es/utils/Kitchensink/KitchensinkByCategory.js +42 -0
  409. package/es/utils/Kitchensink/KitchensinkByLetter.js +20 -0
  410. package/es/utils/Kitchensink/KitchensinkComponent.js +51 -0
  411. package/es/utils/Kitchensink/KitchensinkDashboard.js +50 -0
  412. package/es/utils/withDeprecation.js +15 -12
  413. package/esm/admin/AutoComplete/AutoComplete.stories.js +2 -1
  414. package/esm/admin/AutoComplete/Status/index.js +4 -4
  415. package/esm/admin/AutoComplete/index.mdx +4 -0
  416. package/esm/admin/CircularProgress/CircularProgress.stories.js +3 -2
  417. package/esm/admin/CircularProgress/__stories__/Default.js +1 -2
  418. package/esm/admin/CopyToClipboard/CopyToClipboard.stories.js +3 -3
  419. package/esm/admin/CopyToClipboard/index.mdx +2 -2
  420. package/esm/admin/Drawer/Drawer.stories.js +8 -2
  421. package/esm/admin/Drawer/__stories__/Default.js +8 -47
  422. package/esm/admin/Drawer/index.mdx +4 -0
  423. package/esm/admin/Dropdown/Dropdown.stories.js +4 -1
  424. package/esm/admin/Dropdown/__stories__/AlignRight.js +4 -3
  425. package/esm/admin/Dropdown/__stories__/Default.js +5 -3
  426. package/esm/admin/Dropdown/__stories__/PlacementTop.js +4 -3
  427. package/esm/admin/Dropdown/index.js +3 -2
  428. package/esm/admin/Dropdown/index.mdx +4 -1
  429. package/esm/admin/Modal/Modal.stories.js +4 -1
  430. package/esm/admin/Modal/__stories__/AlertDialog.js +12 -31
  431. package/esm/admin/Modal/__stories__/Default.js +11 -26
  432. package/esm/admin/Modal/index.js +2 -2
  433. package/esm/admin/Modal/index.mdx +4 -8
  434. package/esm/admin/Pagination/Pagination.stories.js +6 -2
  435. package/esm/admin/Pagination/__stories__/Default.js +1 -27
  436. package/esm/admin/Pagination/__stories__/PaginationSmall.js +38 -0
  437. package/esm/admin/Pagination/index.js +3 -2
  438. package/esm/admin/Pagination/index.mdx +4 -0
  439. package/esm/admin/StepNav/StepNav.stories.js +3 -1
  440. package/esm/admin/TaskList/TaskList.stories.js +3 -1
  441. package/esm/admin/TaskList/__stories__/Default.js +2 -2
  442. package/esm/admin/Timeline/Timeline.stories.js +3 -1
  443. package/esm/admin/Timeline/__stories__/Default.js +3 -2
  444. package/esm/app/Confirmation/Confirmation.mdx +4 -0
  445. package/esm/app/Confirmation/Confirmation.stories.js +6 -3
  446. package/esm/app/Confirmation/index.js +4 -4
  447. package/esm/app/Footer/Footer.mdx +4 -0
  448. package/esm/app/Footer/Footer.stories.js +6 -2
  449. package/esm/app/Footer/index.js +3 -1
  450. package/esm/app/Header/Header.stories.js +4 -0
  451. package/esm/app/Header/index.mdx +4 -0
  452. package/esm/app/I18nText.js +1 -0
  453. package/esm/app/NotFound/NotFound.stories.js +2 -1
  454. package/esm/app/NotFound/index.mdx +4 -0
  455. package/esm/app/PageTitle.js +6 -57
  456. package/esm/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -2
  457. package/esm/app/PhaseBannerHeader/index.mdx +4 -0
  458. package/esm/app/QrCodeScanner/QrCodeScanner.stories.js +2 -1
  459. package/esm/app/QrCodeScanner/index.js +3 -5
  460. package/esm/app/QrCodeViewer/QRCode.stories.js +2 -1
  461. package/esm/app/QrCodeViewer/index.js +2 -69
  462. package/esm/app/QrCodeViewer/index.mdx +4 -0
  463. package/esm/app/index.js +2 -0
  464. package/esm/core/Accordion/Accordion.stories.js +6 -2
  465. package/esm/core/Accordion/Accordion.stories.playwright.json +1 -7
  466. package/esm/core/Accordion/__stories__/Default.js +3 -1
  467. package/esm/core/Accordion/__stories__/WithHints.js +3 -1
  468. package/esm/core/Accordion/index.js +6 -0
  469. package/esm/core/Accordion/index.mdx +4 -0
  470. package/esm/core/BackLink/BackLink.stories.js +2 -1
  471. package/esm/core/BackLink/index.mdx +4 -0
  472. package/esm/core/Blockquote/Blockquote.stories.js +4 -1
  473. package/esm/core/Blockquote/index.mdx +4 -0
  474. package/esm/core/Breadcrumbs/Breadcrumbs.stories.js +4 -1
  475. package/esm/core/Breadcrumbs/breadcrumbs.mdx +4 -0
  476. package/esm/core/Button/Button.stories.js +5 -2
  477. package/esm/core/Button/index.mdx +4 -1
  478. package/esm/core/Card/Card.stories.js +5 -1
  479. package/esm/core/Card/__stories__/WithClickableContent.js +2 -2
  480. package/esm/core/Card/card.mdx +4 -0
  481. package/esm/core/Checkboxes/Checkbox.stories.js +4 -1
  482. package/esm/core/Checkboxes/__stories__/ConditionalReveal.js +1 -1
  483. package/esm/core/Checkboxes/__stories__/NoneAnswerWithError.js +2 -2
  484. package/esm/core/Checkboxes/checkboxes.mdx +4 -0
  485. package/esm/core/DateInput/DateInput.stories.js +4 -1
  486. package/esm/core/DateInput/index.js +2 -2
  487. package/esm/core/DateInput/index.mdx +5 -0
  488. package/esm/core/Details/Details.stories.js +4 -1
  489. package/esm/core/Details/index.js +3 -3
  490. package/esm/core/Details/index.mdx +4 -0
  491. package/esm/core/Divider/Divider.stories.js +2 -1
  492. package/esm/core/Divider/index.js +1 -0
  493. package/esm/core/ErrorMessage/ErrorMessage.stories.js +4 -1
  494. package/esm/core/ErrorMessage/index.mdx +4 -0
  495. package/esm/core/ErrorSummary/ErrorSummary.stories.js +4 -1
  496. package/esm/core/ErrorSummary/__stories__/LinkedToInput.js +4 -4
  497. package/esm/core/ErrorSummary/index.js +1 -1
  498. package/esm/core/ErrorSummary/index.mdx +4 -0
  499. package/esm/core/Field/index.js +2 -2
  500. package/esm/core/FileUpload/FileUpload.stories.js +3 -1
  501. package/esm/core/FileUpload/index.mdx +4 -1
  502. package/esm/core/Label/index.js +2 -2
  503. package/esm/core/Link/Link.stories.js +3 -1
  504. package/esm/core/Link/index.js +8 -6
  505. package/esm/core/Link/link.mdx +4 -0
  506. package/esm/core/List/List.js +1 -1
  507. package/esm/core/List/List.stories.js +5 -2
  508. package/esm/core/List/index.mdx +4 -0
  509. package/esm/core/Masthead/Masthead.stories.js +5 -1
  510. package/esm/core/Masthead/masthead.mdx +4 -0
  511. package/esm/core/NavList/NavList.stories.js +4 -1
  512. package/esm/core/NavList/index.js +4 -2
  513. package/esm/core/NavList/index.mdx +4 -0
  514. package/esm/core/NotificationBanner/NotificationBanner.stories.js +5 -1
  515. package/esm/core/NotificationBanner/index.js +3 -3
  516. package/esm/core/NotificationBanner/index.mdx +4 -0
  517. package/esm/core/PhaseBanner/PhaseBanner.stories.js +4 -1
  518. package/esm/core/PhaseBanner/index.mdx +4 -0
  519. package/esm/core/Radios/Radios.stories.js +4 -1
  520. package/esm/core/Radios/__stories__/ConditionalReveal.js +1 -1
  521. package/esm/core/Radios/index.js +2 -2
  522. package/esm/core/Radios/index.mdx +14 -0
  523. package/esm/core/Select/Select.stories.js +4 -1
  524. package/esm/core/Select/__stories__/Default.js +2 -2
  525. package/esm/core/Select/__stories__/DisabledInput.js +2 -2
  526. package/esm/core/Select/__stories__/WithHint.js +2 -2
  527. package/esm/core/Select/index.js +2 -2
  528. package/esm/core/Select/index.mdx +4 -0
  529. package/esm/core/SummaryList/SummaryList.stories.js +5 -2
  530. package/esm/core/SummaryList/index.mdx +4 -0
  531. package/esm/core/Table/Table.stories.js +5 -2
  532. package/esm/core/Table/__stories__/WithFloatingScroll.js +1 -27
  533. package/esm/core/Table/index.js +3 -1
  534. package/esm/core/Table/index.mdx +4 -1
  535. package/esm/core/Tabs/Tabs.stories.js +6 -2
  536. package/esm/core/Tabs/index.js +5 -5
  537. package/esm/core/Tabs/index.mdx +4 -0
  538. package/esm/core/TextArea/TextArea.stories.js +4 -1
  539. package/esm/core/TextArea/__stories__/Default.js +4 -4
  540. package/esm/core/TextArea/__stories__/DisabledInput.js +4 -4
  541. package/esm/core/TextArea/__stories__/LimitedCharacters.js +4 -4
  542. package/esm/core/TextArea/__stories__/MultipleQuestions.js +4 -4
  543. package/esm/core/TextArea/__stories__/WithDeclaredRows.js +4 -4
  544. package/esm/core/TextArea/__stories__/WithErrorMessage.js +4 -4
  545. package/esm/core/TextArea/__stories__/WithHint.js +4 -4
  546. package/esm/core/TextArea/index.mdx +4 -0
  547. package/esm/core/TextInput/TextInput.stories.js +4 -1
  548. package/esm/core/TextInput/__stories__/AskingForNumbers.js +4 -4
  549. package/esm/core/TextInput/__stories__/Default.js +4 -4
  550. package/esm/core/TextInput/__stories__/DisabledInput.js +4 -4
  551. package/esm/core/TextInput/__stories__/FixedWidths.js +9 -9
  552. package/esm/core/TextInput/__stories__/FluidWidths.js +9 -9
  553. package/esm/core/TextInput/__stories__/MultipleQuestions.js +4 -4
  554. package/esm/core/TextInput/__stories__/WithErrorMessage.js +5 -5
  555. package/esm/core/TextInput/__stories__/WithHint.js +4 -4
  556. package/esm/core/TextInput/index.mdx +4 -0
  557. package/esm/core/VisuallyHidden/VisuallyHidden.stories.js +2 -1
  558. package/esm/core/VisuallyHidden/index.mdx +4 -1
  559. package/esm/core/WarningText/WarningText.stories.js +5 -2
  560. package/esm/core/WarningText/index.js +1 -1
  561. package/esm/core/WarningText/index.mdx +4 -0
  562. package/esm/core/index.js +8 -5
  563. package/esm/govgr/Footer/Copyright.js +3 -2
  564. package/esm/govgr/Footer/index.mdx +4 -0
  565. package/esm/index.js +3 -2
  566. package/esm/layouts/Basic/Basic.stories.js +3 -1
  567. package/esm/layouts/Basic/Bottom/index.js +1 -1
  568. package/esm/layouts/Basic/Bottom/index.mdx +4 -0
  569. package/esm/layouts/Basic/Main/index.js +1 -1
  570. package/esm/layouts/Basic/Main/index.mdx +4 -0
  571. package/esm/layouts/Basic/Masthead/index.js +2 -2
  572. package/esm/layouts/Basic/Masthead/index.mdx +4 -0
  573. package/esm/layouts/Basic/Top/index.js +2 -10
  574. package/esm/layouts/Basic/Top/index.mdx +4 -0
  575. package/esm/layouts/Basic/index.js +5 -3
  576. package/esm/layouts/Basic/index.mdx +0 -6
  577. package/esm/layouts/Grid/Grid.stories.js +3 -2
  578. package/esm/layouts/Grid/__stories__/Default.js +2 -6
  579. package/esm/registry.js +116 -2
  580. package/esm/typography/Heading/Heading.stories.js +2 -1
  581. package/esm/typography/Heading/index.js +1 -1
  582. package/esm/typography/Heading/index.mdx +4 -0
  583. package/esm/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
  584. package/esm/typography/HeadingCaption/index.js +1 -1
  585. package/esm/typography/HeadingCaption/index.mdx +4 -1
  586. package/esm/typography/Hint/Hint.stories.js +2 -1
  587. package/esm/typography/Hint/index.mdx +4 -1
  588. package/esm/typography/NormalText/NormalText.stories.js +2 -1
  589. package/esm/typography/NormalText/index.mdx +4 -1
  590. package/esm/typography/Paragraph/Paragraph.stories.js +2 -1
  591. package/esm/typography/Paragraph/index.mdx +4 -1
  592. package/esm/typography/index.js +2 -4
  593. package/esm/utils/Kitchensink/AllComponents.js +11 -0
  594. package/esm/utils/Kitchensink/KitchensinkByCategory.js +42 -0
  595. package/esm/utils/Kitchensink/KitchensinkByLetter.js +20 -0
  596. package/esm/utils/Kitchensink/KitchensinkComponent.js +51 -0
  597. package/esm/utils/Kitchensink/KitchensinkDashboard.js +50 -0
  598. package/esm/utils/withDeprecation.js +15 -12
  599. package/govgr/Footer/Copyright.d.ts +2 -0
  600. package/govgr/Footer/Copyright.js +10 -3
  601. package/govgr/Footer/index.mdx +4 -0
  602. package/index.d.ts +1 -0
  603. package/index.js +13 -0
  604. package/layouts/Basic/Basic.stories.d.ts +2 -0
  605. package/layouts/Basic/Basic.stories.js +3 -1
  606. package/layouts/Basic/Bottom/index.d.ts +1 -1
  607. package/layouts/Basic/Bottom/index.js +19 -8
  608. package/layouts/Basic/Bottom/index.mdx +4 -0
  609. package/layouts/Basic/Content/index.d.ts +1 -3
  610. package/layouts/Basic/Main/index.d.ts +1 -1
  611. package/layouts/Basic/Main/index.js +19 -8
  612. package/layouts/Basic/Main/index.mdx +4 -0
  613. package/layouts/Basic/Masthead/index.d.ts +2 -2
  614. package/layouts/Basic/Masthead/index.js +31 -14
  615. package/layouts/Basic/Masthead/index.mdx +4 -0
  616. package/layouts/Basic/Top/index.d.ts +2 -2
  617. package/layouts/Basic/Top/index.js +19 -13
  618. package/layouts/Basic/Top/index.mdx +4 -0
  619. package/layouts/Basic/index.d.ts +4 -2
  620. package/layouts/Basic/index.js +48 -11
  621. package/layouts/Basic/index.mdx +0 -6
  622. package/layouts/Grid/Grid.stories.d.ts +2 -0
  623. package/layouts/Grid/Grid.stories.js +3 -2
  624. package/layouts/Grid/__stories__/Default.js +2 -6
  625. package/package.json +5 -5
  626. package/registry.d.ts +111 -1
  627. package/registry.js +176 -5
  628. package/typography/Heading/Heading.stories.d.ts +1 -0
  629. package/typography/Heading/Heading.stories.js +2 -1
  630. package/typography/Heading/index.d.ts +1 -1
  631. package/typography/Heading/index.mdx +4 -0
  632. package/typography/HeadingCaption/HeadingCaption.stories.d.ts +1 -0
  633. package/typography/HeadingCaption/HeadingCaption.stories.js +2 -1
  634. package/typography/HeadingCaption/index.d.ts +1 -1
  635. package/typography/HeadingCaption/index.mdx +4 -1
  636. package/typography/Hint/Hint.stories.d.ts +1 -0
  637. package/typography/Hint/Hint.stories.js +2 -1
  638. package/typography/Hint/index.mdx +4 -1
  639. package/typography/NormalText/NormalText.stories.d.ts +1 -0
  640. package/typography/NormalText/NormalText.stories.js +2 -1
  641. package/typography/NormalText/index.mdx +4 -1
  642. package/typography/Paragraph/Paragraph.stories.d.ts +1 -0
  643. package/typography/Paragraph/Paragraph.stories.js +2 -1
  644. package/typography/Paragraph/index.mdx +4 -1
  645. package/typography/index.d.ts +2 -4
  646. package/typography/index.js +31 -46
  647. package/utils/Kitchensink/AllComponents.d.ts +1 -0
  648. package/utils/Kitchensink/AllComponents.js +24 -0
  649. package/utils/Kitchensink/KitchensinkByCategory.d.ts +6 -0
  650. package/utils/Kitchensink/KitchensinkByCategory.js +56 -0
  651. package/utils/Kitchensink/KitchensinkByLetter.d.ts +5 -0
  652. package/utils/Kitchensink/KitchensinkByLetter.js +34 -0
  653. package/utils/Kitchensink/KitchensinkComponent.d.ts +10 -0
  654. package/utils/Kitchensink/KitchensinkComponent.js +68 -0
  655. package/utils/Kitchensink/KitchensinkDashboard.d.ts +4 -0
  656. package/utils/Kitchensink/KitchensinkDashboard.js +63 -0
  657. package/utils/withDeprecation.js +15 -12
  658. package/admin/CopyToClipboard/__stories__/MultipleCopies.d.ts +0 -2
  659. package/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -142
  660. package/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
  661. package/admin/Modal/Modal.stories.playwright.json +0 -37
  662. package/admin/Modal/__stories__/AlertDialog.test.d.ts +0 -1
  663. package/admin/Modal/__stories__/AlertDialog.test.js +0 -60
  664. package/core/Confirmation/Confirmation.stories.d.ts +0 -7
  665. package/core/Confirmation/Confirmation.stories.js +0 -30
  666. package/core/Confirmation/__stories__/Default.d.ts +0 -2
  667. package/core/Confirmation/__stories__/Default.js +0 -28
  668. package/core/Confirmation/confirmation.mdx +0 -19
  669. package/core/Confirmation/index.d.ts +0 -5
  670. package/core/Confirmation/index.js +0 -58
  671. package/core/ServiceBadge/index.mdx +0 -42
  672. package/es/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -120
  673. package/es/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
  674. package/es/admin/Modal/Modal.stories.playwright.json +0 -37
  675. package/es/admin/Modal/__stories__/AlertDialog.test.js +0 -53
  676. package/es/core/Confirmation/Confirmation.stories.js +0 -6
  677. package/es/core/Confirmation/__stories__/Default.js +0 -9
  678. package/es/core/Confirmation/confirmation.mdx +0 -19
  679. package/es/core/Confirmation/index.js +0 -5
  680. package/es/core/ServiceBadge/index.mdx +0 -42
  681. package/es/form/inputs/Input/index.mdx +0 -10
  682. package/es/layouts/Basic/Content/index.mdx +0 -50
  683. package/es/layouts/Basic/Side/index.mdx +0 -57
  684. package/es/router/index.mdx +0 -5
  685. package/es/typography/index.mdx +0 -5
  686. package/esm/admin/CopyToClipboard/__stories__/MultipleCopies.js +0 -120
  687. package/esm/admin/Dropdown/Dropdown.stories.playwright.json +0 -21
  688. package/esm/admin/Modal/Modal.stories.playwright.json +0 -37
  689. package/esm/admin/Modal/__stories__/AlertDialog.test.js +0 -53
  690. package/esm/core/Confirmation/Confirmation.stories.js +0 -6
  691. package/esm/core/Confirmation/__stories__/Default.js +0 -9
  692. package/esm/core/Confirmation/confirmation.mdx +0 -19
  693. package/esm/core/Confirmation/index.js +0 -5
  694. package/esm/core/ServiceBadge/index.mdx +0 -42
  695. package/esm/form/inputs/Input/index.mdx +0 -10
  696. package/esm/layouts/Basic/Content/index.mdx +0 -50
  697. package/esm/layouts/Basic/Side/index.mdx +0 -57
  698. package/esm/router/index.mdx +0 -5
  699. package/esm/typography/index.mdx +0 -5
  700. package/form/inputs/Input/index.mdx +0 -10
  701. package/layouts/Basic/Content/index.mdx +0 -50
  702. package/layouts/Basic/Side/index.mdx +0 -57
  703. package/router/index.mdx +0 -5
  704. package/typography/index.mdx +0 -5
package/app/index.js CHANGED
@@ -17,6 +17,32 @@ Object.keys(_App).forEach(function (key) {
17
17
  });
18
18
  });
19
19
 
20
+ var _Confirmation = require("@digigov/ui/app/Confirmation");
21
+
22
+ Object.keys(_Confirmation).forEach(function (key) {
23
+ if (key === "default" || key === "__esModule") return;
24
+ if (key in exports && exports[key] === _Confirmation[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _Confirmation[key];
29
+ }
30
+ });
31
+ });
32
+
33
+ var _Footer = require("@digigov/ui/app/Footer");
34
+
35
+ Object.keys(_Footer).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (key in exports && exports[key] === _Footer[key]) return;
38
+ Object.defineProperty(exports, key, {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _Footer[key];
42
+ }
43
+ });
44
+ });
45
+
20
46
  var _PageTitle = require("@digigov/ui/app/PageTitle");
21
47
 
22
48
  Object.keys(_PageTitle).forEach(function (key) {
@@ -1,7 +1,12 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const tags: string[];
4
+ export const description: string;
5
+ export const link: string;
3
6
  export { Accordion as component };
7
+ export const displayName: string;
4
8
  }
5
9
  export default _default;
6
10
  export * from "./__stories__/Default";
7
11
  export * from "./__stories__/WithHints";
12
+ import Accordion from "@digigov/ui/core/Accordion";
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
8
8
  var _exportNames = {};
9
9
  exports["default"] = void 0;
10
10
 
11
- var _core = _interopRequireDefault(require("@digigov/ui/core"));
11
+ var _Accordion = _interopRequireDefault(require("@digigov/ui/core/Accordion"));
12
12
 
13
13
  var _Default = require("./__stories__/Default");
14
14
 
@@ -39,6 +39,10 @@ Object.keys(_WithHints).forEach(function (key) {
39
39
  });
40
40
  var _default = {
41
41
  title: 'Digigov UI/core/Accordion',
42
- component: _core["default"]
42
+ tags: ["Experimental"],
43
+ description: "The accordion component lets users show and hide sections of related content on a page.",
44
+ link: "https://guide.services.gov.gr/docs/components/accordion",
45
+ component: _Accordion["default"],
46
+ displayName: 'Accordion'
43
47
  };
44
48
  exports["default"] = _default;
@@ -8,13 +8,7 @@
8
8
  {
9
9
  "name": "click",
10
10
  "args": {
11
- "selector": "html>body>div:nth-child(5)>div>details:nth-child(2)>summary"
12
- }
13
- },
14
- {
15
- "name": "click",
16
- "args": {
17
- "selector": "html>body>div:nth-child(5)>div>details:nth-child(2)>div>p"
11
+ "selector": "text=Δικαστήρια"
18
12
  }
19
13
  }
20
14
  ],
@@ -23,7 +23,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
23
23
 
24
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
- var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
26
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, {
27
+ open: true
28
+ }, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
27
29
  "aria-controls": "content1"
28
30
  }, "\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u03B4\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF")), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionContent, {
29
31
  id: "content1"
@@ -25,7 +25,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
25
25
 
26
26
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
27
 
28
- var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
28
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion["default"], null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSection, {
29
+ open: true
30
+ }, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
29
31
  "aria-controls": "content1"
30
32
  }, "\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u03B4\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF"), /*#__PURE__*/_react["default"].createElement(_Hint["default"], null, "\u0394\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03AD\u03C2 \u03BA\u03B1\u03B9 \u03B5\u03BE\u03C9\u03B4\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03AD\u03C2 \u03B4\u03B9\u03B1\u03C6\u03BF\u03C1\u03AD\u03C2 \u03BC\u03B5 \u03C4\u03BF \u0394\u03B7\u03BC\u03CC\u03C3\u03B9\u03BF, \u03B5\u03BA\u03BA\u03B1\u03B8\u03AC\u03C1\u03B9\u03C3\u03B7 \u03B4\u03B9\u03BA\u03B1\u03C3\u03C4\u03B9\u03BA\u03CE\u03BD \u03B4\u03B1\u03C0\u03B1\u03BD\u03CE\u03BD \u03BA.\u03AC.")), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionContent, {
31
33
  id: "content1"
@@ -18,6 +18,12 @@ export interface UseAccordionProps {
18
18
  export interface UseAccordionReturn extends UseTogglableSectionsReturn {
19
19
  }
20
20
  declare const useAccordion: (props: UseAccordionProps) => UseAccordionReturn;
21
+ export * from '@digigov/react-core/Accordion';
22
+ export * from '@digigov/react-core/AccordionControls';
23
+ export * from '@digigov/react-core/AccordionSection';
21
24
  export * from '@digigov/react-core/AccordionSectionHeader';
25
+ export * from '@digigov/react-core/AccordionSectionContent';
26
+ export * from '@digigov/react-core/AccordionSectionSummary';
27
+ export * from '@digigov/react-core/AccordionSectionSummaryHeading';
22
28
  export { Accordion, AccordionControls, AccordionSection, AccordionSectionContent, AccordionSectionSummary, AccordionSectionSummaryHeading, useAccordion, };
23
29
  export default Accordion;
@@ -2,6 +2,8 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
 
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
5
7
  Object.defineProperty(exports, "__esModule", {
6
8
  value: true
7
9
  });
@@ -62,17 +64,89 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
62
64
 
63
65
  var _react = _interopRequireDefault(require("react"));
64
66
 
65
- var _Accordion = _interopRequireDefault(require("@digigov/react-core/Accordion"));
67
+ var _Accordion = _interopRequireWildcard(require("@digigov/react-core/Accordion"));
68
+
69
+ Object.keys(_Accordion).forEach(function (key) {
70
+ if (key === "default" || key === "__esModule") return;
71
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
72
+ if (key in exports && exports[key] === _Accordion[key]) return;
73
+ Object.defineProperty(exports, key, {
74
+ enumerable: true,
75
+ get: function get() {
76
+ return _Accordion[key];
77
+ }
78
+ });
79
+ });
80
+
81
+ var _AccordionSection = _interopRequireWildcard(require("@digigov/react-core/AccordionSection"));
82
+
83
+ Object.keys(_AccordionSection).forEach(function (key) {
84
+ if (key === "default" || key === "__esModule") return;
85
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
86
+ if (key in exports && exports[key] === _AccordionSection[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function get() {
90
+ return _AccordionSection[key];
91
+ }
92
+ });
93
+ });
94
+
95
+ var _AccordionSectionContent = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionContent"));
96
+
97
+ Object.keys(_AccordionSectionContent).forEach(function (key) {
98
+ if (key === "default" || key === "__esModule") return;
99
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
100
+ if (key in exports && exports[key] === _AccordionSectionContent[key]) return;
101
+ Object.defineProperty(exports, key, {
102
+ enumerable: true,
103
+ get: function get() {
104
+ return _AccordionSectionContent[key];
105
+ }
106
+ });
107
+ });
108
+
109
+ var _AccordionSectionSummaryHeading = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionSummaryHeading"));
66
110
 
67
- var _AccordionSection = _interopRequireDefault(require("@digigov/react-core/AccordionSection"));
111
+ Object.keys(_AccordionSectionSummaryHeading).forEach(function (key) {
112
+ if (key === "default" || key === "__esModule") return;
113
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
114
+ if (key in exports && exports[key] === _AccordionSectionSummaryHeading[key]) return;
115
+ Object.defineProperty(exports, key, {
116
+ enumerable: true,
117
+ get: function get() {
118
+ return _AccordionSectionSummaryHeading[key];
119
+ }
120
+ });
121
+ });
68
122
 
69
- var _AccordionSectionContent = _interopRequireDefault(require("@digigov/react-core/AccordionSectionContent"));
123
+ var _AccordionSectionSummary = _interopRequireWildcard(require("@digigov/react-core/AccordionSectionSummary"));
70
124
 
71
- var _AccordionSectionSummaryHeading = _interopRequireDefault(require("@digigov/react-core/AccordionSectionSummaryHeading"));
125
+ Object.keys(_AccordionSectionSummary).forEach(function (key) {
126
+ if (key === "default" || key === "__esModule") return;
127
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
128
+ if (key in exports && exports[key] === _AccordionSectionSummary[key]) return;
129
+ Object.defineProperty(exports, key, {
130
+ enumerable: true,
131
+ get: function get() {
132
+ return _AccordionSectionSummary[key];
133
+ }
134
+ });
135
+ });
72
136
 
73
- var _AccordionSectionSummary = _interopRequireDefault(require("@digigov/react-core/AccordionSectionSummary"));
137
+ var _AccordionControls = _interopRequireWildcard(require("@digigov/react-core/AccordionControls"));
74
138
 
75
- var _AccordionControls = _interopRequireDefault(require("@digigov/react-core/AccordionControls"));
139
+ Object.keys(_AccordionControls).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
142
+ if (key in exports && exports[key] === _AccordionControls[key]) return;
143
+ Object.defineProperty(exports, key, {
144
+ enumerable: true,
145
+ get: function get() {
146
+ return _AccordionControls[key];
147
+ }
148
+ });
149
+ });
76
150
 
77
151
  var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
78
152
 
@@ -93,6 +167,11 @@ Object.keys(_AccordionSectionHeader).forEach(function (key) {
93
167
  });
94
168
  var _excluded = ["children"],
95
169
  _excluded2 = ["register", "setOpened", "opened", "registered"];
170
+
171
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
172
+
173
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
174
+
96
175
  var AccordionItemDetails = (0, _withDeprecation["default"])(_AccordionSectionContent["default"], {
97
176
  name: 'AccordionItemDetails',
98
177
  rename: 'AccordionSectionContent'
@@ -31,3 +31,7 @@ Accordions hide content, so the labels need to be clear. If necessary, you can a
31
31
 
32
32
  You can read more about the accessibility patterns used in our Accordion
33
33
  implementation in the [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/).
34
+
35
+ ## API
36
+
37
+ <PropTypes packageName="@digigov/ui" component="Accordion" />
@@ -1,6 +1,7 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
3
  export { BackLink as component };
4
+ export const displayName: string;
4
5
  }
5
6
  export default _default;
6
7
  export * from "./__stories__/Default";
@@ -25,6 +25,7 @@ Object.keys(_Default).forEach(function (key) {
25
25
  });
26
26
  var _default = {
27
27
  title: 'Digigov UI/core/BackLink',
28
- component: _BackLink["default"]
28
+ component: _BackLink["default"],
29
+ displayName: 'BackLink'
29
30
  };
30
31
  exports["default"] = _default;
@@ -14,3 +14,7 @@ import BackLink from "@digigov/ui/core/BackLink";
14
14
  ## How to use
15
15
 
16
16
  <Story packageName="@digigov/ui" component="core/BackLink" story="Default.tsx" />
17
+
18
+ ## API
19
+
20
+ <PropTypes packageName="@digigov/ui" component="BackLink" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { Blockquote as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "./__stories__/Default";
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
25
25
  });
26
26
  var _default = {
27
27
  title: 'Digigov UI/core/Blockquote',
28
- component: _Blockquote["default"]
28
+ description: "Use the inset text component to differentiate a block of text from the content that surrounds it",
29
+ link: "https://guide.services.gov.gr/docs/components/blockquote",
30
+ component: _Blockquote["default"],
31
+ displayName: 'Blockquote'
29
32
  };
30
33
  exports["default"] = _default;
@@ -21,3 +21,7 @@ import Blockquote from '@digigov/ui/core/Blockquote';
21
21
 
22
22
  <Story packageName="@digigov/ui" component="core/Blockquote" story="Default.tsx" />
23
23
 
24
+
25
+ ## API
26
+
27
+ <PropTypes packageName="@digigov/ui" component="Blockquote" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { Breadcrumbs as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "./__stories__/Default";
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
25
25
  });
26
26
  var _default = {
27
27
  title: 'Digigov UI/core/Breadcrumbs',
28
- component: _Breadcrumbs["default"]
28
+ description: 'Use the breadcrumbs component when you need to help users understand and move between the multiple levels of a website',
29
+ link: 'https://guide.services.gov.gr/docs/components/breadcrumbs',
30
+ component: _Breadcrumbs["default"],
31
+ displayName: 'Breadcrumbs'
29
32
  };
30
33
  exports["default"] = _default;
@@ -20,3 +20,7 @@ import Breadcrumbs from '@digigov/ui/core/Breadcrumbs';
20
20
  ## How to use
21
21
 
22
22
  <Story packageName="@digigov/ui" component="core/Breadcrumbs" story="Default.tsx" />
23
+
24
+ ## API
25
+
26
+ <PropTypes packageName="@digigov/ui" component="Breadcrumbs" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { Button as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "./__stories__/Primary";
@@ -166,7 +166,10 @@ Object.keys(_ThemeToggle).forEach(function (key) {
166
166
 
167
167
  /* eslint-disable digigov/no-relative-imports */
168
168
  var _default = {
169
- title: 'Digigov UI/Core/Button',
170
- component: _Button["default"]
169
+ title: 'Digigov UI/core/Button',
170
+ description: 'Use the button component to help users carry out an action',
171
+ link: 'https://guide.services.gov.gr/docs/components/button',
172
+ component: _Button["default"],
173
+ displayName: 'Button'
171
174
  };
172
175
  exports["default"] = _default;
@@ -94,4 +94,7 @@ Read more about [how to use the React types](/docs/api/Button)
94
94
 
95
95
  You can read more about the accessibility patterns used in our Select
96
96
  implementation in the ARIA Authoring Practices Guide (APG) at
97
- [Button](https://www.w3.org/WAI/ARIA/apg/patterns/button/) section.
97
+
98
+ ## API
99
+
100
+ <PropTypes packageName="@digigov/ui" component="Button" />
@@ -1,6 +1,10 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const tags: string[];
4
+ export const description: string;
5
+ export const link: string;
3
6
  export { Card as component };
7
+ export const displayName: string;
4
8
  }
5
9
  export default _default;
6
10
  export * from "@digigov/ui/core/Card/__stories__/Default";
@@ -137,6 +137,10 @@ Object.keys(_WithGroupButton).forEach(function (key) {
137
137
  });
138
138
  var _default = {
139
139
  title: 'Digigov UI/core/Card',
140
- component: _Card["default"]
140
+ tags: ["Experimental"],
141
+ description: 'Cards can be used to divide and organise interface content for better understandability and readability',
142
+ link: 'https://guide.services.gov.gr/docs/components/card',
143
+ component: _Card["default"],
144
+ displayName: 'Card'
141
145
  };
142
146
  exports["default"] = _default;
@@ -13,7 +13,7 @@ var _react = _interopRequireDefault(require("react"));
13
13
 
14
14
  var _Card = _interopRequireWildcard(require("@digigov/ui/core/Card"));
15
15
 
16
- var _reactCore = require("@digigov/react-core");
16
+ var _LinkBase = _interopRequireDefault(require("@digigov/react-core/LinkBase"));
17
17
 
18
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
19
 
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
21
21
 
22
22
  var _ref = /*#__PURE__*/_react["default"].createElement(_Card["default"], {
23
23
  callToAction: true
24
- }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeading, null, /*#__PURE__*/_react["default"].createElement(_reactCore.Link, {
24
+ }, /*#__PURE__*/_react["default"].createElement(_Card.CardHeading, null, /*#__PURE__*/_react["default"].createElement(_LinkBase["default"], {
25
25
  href: "#"
26
26
  }, "\u0393\u03B5\u03C9\u03C1\u03B3\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03BA\u03C4\u03B7\u03BD\u03BF\u03C4\u03C1\u03BF\u03C6\u03AF\u03B1")), /*#__PURE__*/_react["default"].createElement(_Card.CardText, null, "\u0394\u03B9\u03B1\u03B4\u03B9\u03BA\u03B1\u03C3\u03AF\u03B5\u03C2, \u03B5\u03C0\u03B9\u03B4\u03BF\u03C4\u03AE\u03C3\u03B5\u03B9\u03C2 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03B6\u03B7\u03BC\u03B9\u03CE\u03C3\u03B5\u03B9\u03C2 \u03B3\u03B9\u03B1 \u03C4\u03B7\u03BD \u03B3\u03B5\u03C9\u03C1\u03B3\u03B9\u03BA\u03AE, \u03BA\u03C4\u03B7\u03BD\u03BF\u03C4\u03C1\u03BF\u03C6\u03B9\u03BA\u03AE \u03AE \u03B1\u03BB\u03B9\u03B5\u03C5\u03C4\u03B9\u03BA\u03AE \u03C3\u03B1\u03C2 \u03B4\u03C1\u03B1\u03C3\u03C4\u03B7\u03C1\u03B9\u03CC\u03C4\u03B7\u03C4\u03B1."));
27
27
 
@@ -76,3 +76,7 @@ Cards also provides styles for actionable elements such as Buttons or Links.
76
76
  #### Card with a group of actions
77
77
 
78
78
  <Story packageName="@digigov/ui" component="core/Card" story="WithGroupButton.tsx" />
79
+
80
+ ## API
81
+
82
+ <PropTypes packageName="@digigov/ui" component="Card" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { Checkboxes as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "@digigov/ui/core/Checkboxes/__stories__/Default";
@@ -109,6 +109,9 @@ Object.keys(_ConditionalReveal).forEach(function (key) {
109
109
  });
110
110
  var _default = {
111
111
  title: 'Digigov UI/core/Checkboxes',
112
- component: _Checkboxes["default"]
112
+ description: 'Let users select one or more options by using the checkboxes component.',
113
+ link: 'https://guide.services.gov.gr/docs/components/checkboxes',
114
+ component: _Checkboxes["default"],
115
+ displayName: 'Checkboxes'
113
116
  };
114
117
  exports["default"] = _default;
@@ -28,7 +28,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], null,
28
28
  }, /*#__PURE__*/_react["default"].createElement(_Field.FieldsetLegend, null, "\u03A0\u03C9\u03C2 \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BA\u03BF\u03B9\u03BD\u03C9\u03BD\u03AE\u03C3\u03BF\u03C5\u03BC\u03B5 \u03BC\u03B1\u03B6\u03AF \u03C3\u03B1\u03C2;"), /*#__PURE__*/_react["default"].createElement(_Hint["default"], {
29
29
  id: "contact-hint"
30
30
  }, "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03AF\u03C0\u03C4\u03C9\u03C3\u03B7 \u03C3\u03B1\u03C2."), /*#__PURE__*/_react["default"].createElement(_Checkboxes["default"], null, /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
31
- checked: true,
31
+ defaultChecked: true,
32
32
  name: "email",
33
33
  value: "email"
34
34
  }, "Email"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxConditional, null, "Email address", /*#__PURE__*/_react["default"].createElement(_TextInput["default"], {
@@ -34,7 +34,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], {
34
34
  }, "\u0391\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AE \u03C5\u03C0\u03B7\u03BA\u03BF\u03CC\u03C4\u03B7\u03C4\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/_react["default"].createElement(_ErrorMessage["default"], {
35
35
  id: "travel-error"
36
36
  }, /*#__PURE__*/_react["default"].createElement(_VisuallyHidden["default"], null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2 \u03C3\u03C4\u03B9\u03C2 \u03BF\u03C0\u03BF\u03AF\u03B5\u03C2 \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5, \u03AE \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \xAB\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2\xBB."), /*#__PURE__*/_react["default"].createElement(_Checkboxes["default"], null, /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
37
- checked: true,
37
+ defaultChecked: true,
38
38
  name: "en",
39
39
  value: "en"
40
40
  }, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
@@ -43,7 +43,7 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_Field["default"], {
43
43
  }, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/_react["default"].createElement("div", {
44
44
  className: "govgr-checkboxes__divider"
45
45
  }, "\u03AE"), /*#__PURE__*/_react["default"].createElement(_Checkboxes.CheckboxItem, {
46
- checked: true,
46
+ defaultChecked: true,
47
47
  name: "none",
48
48
  value: "none"
49
49
  }, "\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2"))));
@@ -52,3 +52,7 @@ This might make 2 related questions easier to answer by grouping them on the sam
52
52
  <Story packageName="@digigov/ui" component="core/Checkboxes" story="ConditionalReveal.tsx" />
53
53
 
54
54
 
55
+
56
+ ## API
57
+
58
+ <PropTypes packageName="@digigov/ui" component="Checkbox" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { DateInput as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "@digigov/ui/core/DateInput/__stories__/Default";
@@ -67,6 +67,9 @@ Object.keys(_WithErrorMessageForSingleField).forEach(function (key) {
67
67
  });
68
68
  var _default = {
69
69
  title: 'Digigov UI/core/DateInput',
70
- component: _DateInput["default"]
70
+ description: "Use the date input component to help users enter a memorable date or one they can easily look up.",
71
+ link: "https://guide.services.gov.gr/docs/components/date-input",
72
+ component: _DateInput["default"],
73
+ displayName: 'DateInput'
71
74
  };
72
75
  exports["default"] = _default;
@@ -1,4 +1,4 @@
1
- export * from '@digigov/react-core/DateInput';
1
+ export * from '@digigov/react-core/DateInputContainer';
2
2
  export * from '@digigov/react-core/DateInputItem';
3
- import DateInput from '@digigov/react-core/DateInput';
3
+ import DateInput from '@digigov/react-core/DateInputContainer';
4
4
  export default DateInput;
@@ -8,16 +8,16 @@ Object.defineProperty(exports, "__esModule", {
8
8
  var _exportNames = {};
9
9
  exports["default"] = void 0;
10
10
 
11
- var _DateInput = _interopRequireWildcard(require("@digigov/react-core/DateInput"));
11
+ var _DateInputContainer = _interopRequireWildcard(require("@digigov/react-core/DateInputContainer"));
12
12
 
13
- Object.keys(_DateInput).forEach(function (key) {
13
+ Object.keys(_DateInputContainer).forEach(function (key) {
14
14
  if (key === "default" || key === "__esModule") return;
15
15
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
- if (key in exports && exports[key] === _DateInput[key]) return;
16
+ if (key in exports && exports[key] === _DateInputContainer[key]) return;
17
17
  Object.defineProperty(exports, key, {
18
18
  enumerable: true,
19
19
  get: function get() {
20
- return _DateInput[key];
20
+ return _DateInputContainer[key];
21
21
  }
22
22
  });
23
23
  });
@@ -40,5 +40,5 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
40
40
 
41
41
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
42
42
 
43
- var _default = _DateInput["default"];
43
+ var _default = _DateInputContainer["default"];
44
44
  exports["default"] = _default;
@@ -32,3 +32,8 @@ If you’re highlighting the whole date, style all the fields like this:
32
32
  If you’re highlighting just one field - either the day, month or year - only style the field that has an error. The error message must say which field has an error, like this:
33
33
 
34
34
  <Story packageName="@digigov/ui" component="core/DateInput" story="WithErrorMessageForSingleField.tsx" />
35
+
36
+ ## API
37
+
38
+ <PropTypes packageName="@digigov/ui" component="DateInputContainer" />
39
+ <PropTypes packageName="@digigov/ui" component="DateInputItem" />
@@ -1,6 +1,9 @@
1
1
  declare namespace _default {
2
2
  export const title: string;
3
+ export const description: string;
4
+ export const link: string;
3
5
  export { Details as component };
6
+ export const displayName: string;
4
7
  }
5
8
  export default _default;
6
9
  export * from "./__stories__/Default";
@@ -25,6 +25,9 @@ Object.keys(_Default).forEach(function (key) {
25
25
  });
26
26
  var _default = {
27
27
  title: 'Digigov UI/core/Details',
28
- component: _Details["default"]
28
+ description: 'Make a page easier to scan by letting users reveal more detailed information only if they need it.',
29
+ link: 'https://guide.services.gov.gr/docs/components/details',
30
+ component: _Details["default"],
31
+ displayName: 'Details'
29
32
  };
30
33
  exports["default"] = _default;
@@ -1,5 +1,5 @@
1
+ export * from '@digigov/react-core/Details';
2
+ export * from '@digigov/react-core/DetailsContent';
3
+ export * from '@digigov/react-core/DetailsSummary';
1
4
  import Details from '@digigov/react-core/Details';
2
- import DetailsContent from '@digigov/react-core/DetailsContent';
3
- import DetailsSummary from '@digigov/react-core/DetailsSummary';
4
- export { Details, DetailsContent, DetailsSummary };
5
5
  export default Details;