@digigov/ui 1.2.0-a7ffb5dc → 2.0.0-4be8f7cc

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 (431) hide show
  1. package/app/Footer/index.mdx +18 -5
  2. package/app/Header/index.mdx +7 -5
  3. package/app/Masthead/index.mdx +9 -4
  4. package/app/Modal/auto.d.ts +2 -2
  5. package/app/Modal/index.d.ts +2 -2
  6. package/app/Modal/index.js +1 -1
  7. package/app/Modal/index.mdx +11 -4
  8. package/app/NotFound/index.mdx +2 -0
  9. package/app/Panel/index.mdx +9 -4
  10. package/app/PhaseBannerHeader/index.mdx +4 -4
  11. package/app/QrCodeViewer/QRCode.stories.d.ts +1 -0
  12. package/app/QrCodeViewer/index.d.ts +1 -0
  13. package/app/QrCodeViewer/index.js +2 -1
  14. package/app/QrCodeViewer/index.mdx +4 -4
  15. package/app/Skeleton/Skeleton.stories/index.js +16 -0
  16. package/{utils/Kitchensink/AllComponents → app/Skeleton/Skeleton.stories}/package.json +1 -1
  17. package/app/Skeleton/Skeleton.stories.d.ts +17 -0
  18. package/app/Skeleton/__stories__/Button/index.js +9 -0
  19. package/{utils/Kitchensink/KitchensinkByLetter → app/Skeleton/__stories__/Button}/package.json +1 -1
  20. package/app/Skeleton/__stories__/Button.d.ts +3 -0
  21. package/app/Skeleton/__stories__/Circular/index.js +11 -0
  22. package/{utils/Kitchensink/KitchensinkComponent → app/Skeleton/__stories__/Circular}/package.json +1 -1
  23. package/app/Skeleton/__stories__/Circular.d.ts +3 -0
  24. package/app/Skeleton/__stories__/Default/index.js +7 -0
  25. package/app/Skeleton/__stories__/Default/package.json +6 -0
  26. package/app/Skeleton/__stories__/Default.d.ts +3 -0
  27. package/app/Skeleton/__stories__/NoAnimation/index.js +9 -0
  28. package/{utils/Kitchensink/KitchensinkByCategory → app/Skeleton/__stories__/NoAnimation}/package.json +1 -1
  29. package/app/Skeleton/__stories__/NoAnimation.d.ts +3 -0
  30. package/app/Skeleton/__stories__/Rectangular/index.js +10 -0
  31. package/app/Skeleton/__stories__/Rectangular/package.json +6 -0
  32. package/app/Skeleton/__stories__/Rectangular.d.ts +3 -0
  33. package/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +10 -0
  34. package/app/Skeleton/__stories__/SpecificWidthAndHeight/package.json +6 -0
  35. package/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +3 -0
  36. package/app/Skeleton/__stories__/UnderTypography/index.js +10 -0
  37. package/{form/AutoComplete/__stories__/WithInLine → app/Skeleton/__stories__/UnderTypography}/package.json +1 -1
  38. package/app/Skeleton/__stories__/UnderTypography.d.ts +3 -0
  39. package/app/Skeleton/__stories__/WithChildren/index.js +8 -0
  40. package/app/Skeleton/__stories__/WithChildren/package.json +6 -0
  41. package/app/Skeleton/__stories__/WithChildren.d.ts +3 -0
  42. package/app/Skeleton/index.d.ts +3 -0
  43. package/app/Skeleton/index.js +3 -0
  44. package/{misc/KitchenSink → app/Skeleton}/package.json +1 -1
  45. package/app/ThemeOptions/index.d.ts +2 -2
  46. package/cjs/app/Footer/index.mdx +18 -5
  47. package/cjs/app/Header/index.mdx +7 -5
  48. package/cjs/app/Masthead/index.mdx +9 -4
  49. package/cjs/app/Modal/index.js +1 -1
  50. package/cjs/app/Modal/index.mdx +11 -4
  51. package/cjs/app/NotFound/index.mdx +2 -0
  52. package/cjs/app/Panel/index.mdx +9 -4
  53. package/cjs/app/PhaseBannerHeader/index.mdx +4 -4
  54. package/cjs/app/QrCodeViewer/index.js +3 -2
  55. package/cjs/app/QrCodeViewer/index.mdx +4 -4
  56. package/cjs/app/Skeleton/Skeleton.stories/index.js +111 -0
  57. package/cjs/app/Skeleton/__stories__/Button/index.js +16 -0
  58. package/cjs/app/Skeleton/__stories__/Circular/index.js +18 -0
  59. package/cjs/app/Skeleton/__stories__/Default/index.js +14 -0
  60. package/cjs/app/Skeleton/__stories__/NoAnimation/index.js +16 -0
  61. package/cjs/app/Skeleton/__stories__/Rectangular/index.js +17 -0
  62. package/cjs/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +17 -0
  63. package/cjs/app/Skeleton/__stories__/UnderTypography/index.js +17 -0
  64. package/cjs/app/Skeleton/__stories__/WithChildren/index.js +15 -0
  65. package/cjs/app/Skeleton/index.js +23 -0
  66. package/cjs/content/Accordion/__stories__/Auto/index.js +2 -3
  67. package/cjs/content/Accordion/hooks/index.js +0 -1
  68. package/cjs/content/Accordion/index.mdx +9 -5
  69. package/cjs/content/Blockquote/index.mdx +3 -5
  70. package/cjs/content/Card/index.mdx +3 -5
  71. package/cjs/content/Chip/index.mdx +4 -5
  72. package/cjs/content/Details/index.mdx +3 -5
  73. package/cjs/content/List/__stories__/Default/index.js +1 -2
  74. package/cjs/content/List/index.mdx +3 -5
  75. package/cjs/content/SafeHTML/index.js +5 -8
  76. package/cjs/content/StepNav/index.mdx +28 -5
  77. package/cjs/content/SummaryList/index.mdx +10 -5
  78. package/cjs/content/Table/index.js +2 -2
  79. package/cjs/content/Table/index.mdx +13 -14
  80. package/cjs/content/TaskList/index.mdx +9 -5
  81. package/cjs/content/Timeline/index.mdx +10 -5
  82. package/cjs/feedback/CopyToClipboard/index.mdx +3 -5
  83. package/cjs/feedback/ErrorSummary/index.mdx +3 -5
  84. package/cjs/feedback/NotificationBanner/index.mdx +14 -5
  85. package/cjs/feedback/PhaseBanner/index.mdx +8 -5
  86. package/cjs/feedback/WarningText/index.mdx +5 -5
  87. package/cjs/form/AutoComplete/AutoComplete.stories/index.js +44 -8
  88. package/cjs/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
  89. package/cjs/form/AutoComplete/Status/index.js +12 -5
  90. package/cjs/form/AutoComplete/__stories__/Multiple/index.js +24 -0
  91. package/cjs/form/AutoComplete/__stories__/{WithInLine → MultipleShowingTwoSelected}/index.js +7 -6
  92. package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +23 -0
  93. package/cjs/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +26 -0
  94. package/cjs/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -1
  95. package/cjs/form/AutoComplete/index.js +312 -202
  96. package/cjs/form/AutoComplete/index.mdx +13 -20
  97. package/cjs/form/AutoComplete/utils/index.js +2 -1
  98. package/cjs/form/Button/index.mdx +3 -5
  99. package/cjs/form/Checkbox/index.mdx +3 -5
  100. package/cjs/form/DateInputContainer/index.mdx +3 -5
  101. package/cjs/form/ErrorMessage/index.mdx +3 -5
  102. package/cjs/form/FileUpload/index.mdx +3 -5
  103. package/cjs/form/RadioContainer/index.mdx +2 -14
  104. package/cjs/form/SelectContainer/index.mdx +3 -1
  105. package/cjs/form/SingleCharacterInputs/index.mdx +3 -5
  106. package/cjs/form/TextArea/index.mdx +3 -5
  107. package/cjs/form/TextInput/TextInput.stories/index.js +12 -0
  108. package/cjs/form/TextInput/__stories__/DisabledInputWithValue/index.js +31 -0
  109. package/cjs/form/TextInput/index.mdx +3 -5
  110. package/cjs/govgr/Footer/index.mdx +1 -1
  111. package/cjs/i18n/locales/el/index.js +2 -2
  112. package/cjs/i18n/locales/en/index.js +2 -2
  113. package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +22 -0
  114. package/cjs/layouts/Basic/Bottom/index.mdx +9 -28
  115. package/cjs/layouts/Basic/Container/__stories__/Default/index.js +20 -0
  116. package/cjs/layouts/Basic/Container/index.mdx +23 -0
  117. package/cjs/layouts/Basic/Main/__stories__/Default/index.js +20 -0
  118. package/cjs/layouts/Basic/Main/index.mdx +10 -47
  119. package/cjs/layouts/Basic/Top/__stories__/Default/index.js +20 -0
  120. package/cjs/layouts/Basic/Top/index.mdx +10 -55
  121. package/cjs/layouts/Basic/index.mdx +27 -25
  122. package/cjs/layouts/Grid/index.mdx +39 -0
  123. package/cjs/lazy/index.js +152 -134
  124. package/cjs/navigation/BackLink/index.mdx +4 -5
  125. package/cjs/navigation/Breadcrumbs/index.mdx +6 -5
  126. package/cjs/navigation/Drawer/index.mdx +4 -10
  127. package/cjs/navigation/Dropdown/Dropdown.stories/index.js +12 -0
  128. package/cjs/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
  129. package/cjs/navigation/Dropdown/__stories__/ScrollableContent/index.js +68 -0
  130. package/cjs/navigation/Dropdown/index.mdx +3 -5
  131. package/cjs/navigation/Link/index.mdx +5 -15
  132. package/cjs/navigation/NavList/__stories__/Default/index.js +14 -2
  133. package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +35 -2
  134. package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +35 -2
  135. package/cjs/navigation/NavList/__stories__/NavListWithoutNav/index.js +14 -2
  136. package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +37 -4
  137. package/cjs/navigation/NavList/__stories__/Vertical/index.js +14 -2
  138. package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +35 -2
  139. package/cjs/navigation/NavList/index.mdx +23 -7
  140. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +2 -2
  141. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage/index.js +2 -2
  142. package/cjs/navigation/Pagination/index.mdx +9 -5
  143. package/cjs/navigation/Tabs/index.mdx +9 -5
  144. package/cjs/registry/index.js +6 -12
  145. package/cjs/typography/Heading/index.mdx +3 -5
  146. package/cjs/typography/HeadingCaption/index.mdx +3 -5
  147. package/cjs/typography/Hint/index.mdx +3 -5
  148. package/cjs/typography/NormalText/index.mdx +3 -5
  149. package/cjs/typography/Paragraph/index.mdx +9 -30
  150. package/cjs/typography/Typography/index.js +23 -0
  151. package/cjs/typography/Typography/index.mdx +12 -0
  152. package/cjs/typography/index.js +11 -0
  153. package/cjs/utils/Base/index.mdx +13 -0
  154. package/cjs/utils/VisuallyHidden/index.mdx +10 -5
  155. package/content/Accordion/__stories__/Auto/index.js +2 -3
  156. package/content/Accordion/auto.d.ts +3 -3
  157. package/content/Accordion/hooks/index.js +0 -1
  158. package/content/Accordion/index.mdx +9 -5
  159. package/content/Blockquote/index.mdx +3 -5
  160. package/content/Card/index.mdx +3 -5
  161. package/content/Chip/index.mdx +4 -5
  162. package/content/Details/index.mdx +3 -5
  163. package/content/List/__stories__/Default/index.js +1 -2
  164. package/content/List/index.mdx +3 -5
  165. package/content/SafeHTML/index.d.ts +1 -1
  166. package/content/SafeHTML/index.js +5 -8
  167. package/content/StepNav/auto.d.ts +3 -3
  168. package/content/StepNav/index.mdx +28 -5
  169. package/content/SummaryList/index.mdx +10 -5
  170. package/content/Table/index.d.ts +1 -1
  171. package/content/Table/index.js +2 -2
  172. package/content/Table/index.mdx +13 -14
  173. package/content/TaskList/index.mdx +9 -5
  174. package/content/Timeline/index.mdx +10 -5
  175. package/feedback/CopyToClipboard/index.d.ts +1 -1
  176. package/feedback/CopyToClipboard/index.mdx +3 -5
  177. package/feedback/ErrorSummary/index.mdx +3 -5
  178. package/feedback/NotificationBanner/index.mdx +14 -5
  179. package/feedback/PhaseBanner/index.mdx +8 -5
  180. package/feedback/WarningText/index.mdx +5 -5
  181. package/form/AutoComplete/AutoComplete.stories/index.js +4 -1
  182. package/form/AutoComplete/AutoComplete.stories.d.ts +4 -1
  183. package/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
  184. package/form/AutoComplete/Status/index.d.ts +4 -2
  185. package/form/AutoComplete/Status/index.js +11 -4
  186. package/form/AutoComplete/__stories__/Multiple/index.js +17 -0
  187. package/form/AutoComplete/__stories__/Multiple/package.json +6 -0
  188. package/form/AutoComplete/__stories__/Multiple.d.ts +3 -0
  189. package/form/AutoComplete/__stories__/{WithInLine → MultipleShowingTwoSelected}/index.js +6 -5
  190. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected/package.json +6 -0
  191. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +3 -0
  192. package/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +16 -0
  193. package/form/AutoComplete/__stories__/MultipleWithDefaultValues/package.json +6 -0
  194. package/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +3 -0
  195. package/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +19 -0
  196. package/form/AutoComplete/__stories__/MultipleWithMinLength/package.json +6 -0
  197. package/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +3 -0
  198. package/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -1
  199. package/form/AutoComplete/index.d.ts +12 -18
  200. package/form/AutoComplete/index.js +295 -197
  201. package/form/AutoComplete/index.mdx +13 -20
  202. package/form/AutoComplete/utils/index.js +2 -1
  203. package/form/AutoComplete/utils.d.ts +1 -0
  204. package/form/Button/index.mdx +3 -5
  205. package/form/Checkbox/index.mdx +3 -5
  206. package/form/DateInputContainer/index.mdx +3 -5
  207. package/form/ErrorMessage/index.mdx +3 -5
  208. package/form/FileUpload/index.mdx +3 -5
  209. package/form/RadioContainer/index.mdx +2 -14
  210. package/form/SelectContainer/index.mdx +3 -1
  211. package/form/SingleCharacterInputs/index.mdx +3 -5
  212. package/form/TextArea/index.mdx +3 -5
  213. package/form/TextInput/TextInput.stories/index.js +1 -0
  214. package/form/TextInput/TextInput.stories.d.ts +1 -0
  215. package/form/TextInput/__stories__/DisabledInputWithValue/index.js +25 -0
  216. package/form/TextInput/__stories__/DisabledInputWithValue/package.json +6 -0
  217. package/form/TextInput/__stories__/DisabledInputWithValue.d.ts +3 -0
  218. package/form/TextInput/index.mdx +3 -5
  219. package/govgr/Footer/index.mdx +1 -1
  220. package/i18n/locales/el/index.js +2 -2
  221. package/i18n/locales/en/index.js +2 -2
  222. package/index.js +1 -1
  223. package/layouts/Basic/Bottom/__stories__/Default/index.js +15 -0
  224. package/layouts/Basic/Bottom/__stories__/Default/package.json +6 -0
  225. package/layouts/Basic/Bottom/__stories__/Default.d.ts +3 -0
  226. package/layouts/Basic/Bottom/index.mdx +9 -28
  227. package/layouts/Basic/Container/__stories__/Default/index.js +13 -0
  228. package/layouts/Basic/Container/__stories__/Default/package.json +6 -0
  229. package/layouts/Basic/Container/__stories__/Default.d.ts +3 -0
  230. package/layouts/Basic/Container/index.mdx +23 -0
  231. package/layouts/Basic/Main/__stories__/Default/index.js +13 -0
  232. package/layouts/Basic/Main/__stories__/Default/package.json +6 -0
  233. package/layouts/Basic/Main/__stories__/Default.d.ts +3 -0
  234. package/layouts/Basic/Main/index.mdx +10 -47
  235. package/layouts/Basic/Top/__stories__/Default/index.js +13 -0
  236. package/layouts/Basic/Top/__stories__/Default/package.json +6 -0
  237. package/layouts/Basic/Top/__stories__/Default.d.ts +3 -0
  238. package/layouts/Basic/Top/index.mdx +10 -55
  239. package/layouts/Basic/index.mdx +27 -25
  240. package/layouts/Grid/index.mdx +39 -0
  241. package/lazy/index.js +120 -106
  242. package/lazy.d.ts +269 -267
  243. package/navigation/BackLink/index.mdx +4 -5
  244. package/navigation/Breadcrumbs/index.mdx +6 -5
  245. package/navigation/Drawer/auto.d.ts +3 -3
  246. package/navigation/Drawer/index.mdx +4 -10
  247. package/navigation/Dropdown/Dropdown.stories/index.js +1 -0
  248. package/navigation/Dropdown/Dropdown.stories.d.ts +1 -0
  249. package/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
  250. package/navigation/Dropdown/__stories__/ScrollableContent/index.js +61 -0
  251. package/navigation/Dropdown/__stories__/ScrollableContent/package.json +6 -0
  252. package/navigation/Dropdown/__stories__/ScrollableContent.d.ts +3 -0
  253. package/navigation/Dropdown/index.d.ts +1 -1
  254. package/navigation/Dropdown/index.mdx +3 -5
  255. package/navigation/Link/index.mdx +5 -15
  256. package/navigation/NavList/__stories__/Default/index.js +13 -1
  257. package/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +34 -1
  258. package/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +34 -1
  259. package/navigation/NavList/__stories__/NavListWithoutNav/index.js +13 -1
  260. package/navigation/NavList/__stories__/UsingNavListAuto/index.js +35 -2
  261. package/navigation/NavList/__stories__/Vertical/index.js +13 -1
  262. package/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +34 -1
  263. package/navigation/NavList/index.mdx +23 -7
  264. package/navigation/NavList/types.d.ts +1 -2
  265. package/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +1 -1
  266. package/navigation/Pagination/__stories__/WithResultsPerPage/index.js +1 -1
  267. package/navigation/Pagination/auto.d.ts +4 -4
  268. package/navigation/Pagination/index.d.ts +2 -2
  269. package/navigation/Pagination/index.mdx +9 -5
  270. package/navigation/Tabs/auto.d.ts +2 -2
  271. package/navigation/Tabs/index.mdx +9 -5
  272. package/package.json +4 -6
  273. package/registry/index.js +6 -12
  274. package/registry.d.ts +4 -6
  275. package/src/app/Footer/index.mdx +18 -5
  276. package/src/app/Header/index.mdx +7 -5
  277. package/src/app/Masthead/index.mdx +9 -4
  278. package/src/app/Modal/index.mdx +11 -4
  279. package/src/app/Modal/index.tsx +1 -1
  280. package/src/app/NotFound/index.mdx +2 -0
  281. package/src/app/Panel/index.mdx +9 -4
  282. package/src/app/PhaseBannerHeader/index.mdx +4 -4
  283. package/src/app/QrCodeViewer/index.mdx +4 -4
  284. package/src/app/QrCodeViewer/index.tsx +2 -0
  285. package/src/app/Skeleton/Skeleton.stories.js +18 -0
  286. package/src/app/Skeleton/__stories__/Button.tsx +6 -0
  287. package/src/app/Skeleton/__stories__/Circular.tsx +8 -0
  288. package/src/app/Skeleton/__stories__/Default.tsx +6 -0
  289. package/src/app/Skeleton/__stories__/NoAnimation.tsx +6 -0
  290. package/src/app/Skeleton/__stories__/Rectangular.tsx +8 -0
  291. package/src/app/Skeleton/__stories__/SpecificWidthAndHeight.tsx +8 -0
  292. package/src/app/Skeleton/__stories__/UnderTypography.tsx +17 -0
  293. package/src/app/Skeleton/__stories__/WithChildren.tsx +11 -0
  294. package/src/app/Skeleton/index.tsx +4 -0
  295. package/src/app/ThemeOptions/index.tsx +1 -1
  296. package/src/content/Accordion/__stories__/Auto.tsx +2 -2
  297. package/src/content/Accordion/auto.tsx +1 -1
  298. package/src/content/Accordion/hooks.ts +0 -1
  299. package/src/content/Accordion/index.mdx +9 -5
  300. package/src/content/Blockquote/index.mdx +3 -5
  301. package/src/content/Card/index.mdx +3 -5
  302. package/src/content/Chip/index.mdx +4 -5
  303. package/src/content/Details/index.mdx +3 -5
  304. package/src/content/List/__stories__/Default.tsx +3 -4
  305. package/src/content/List/index.mdx +3 -5
  306. package/src/content/SafeHTML/index.tsx +3 -4
  307. package/src/content/StepNav/index.mdx +28 -5
  308. package/src/content/SummaryList/index.mdx +10 -5
  309. package/src/content/Table/index.mdx +13 -14
  310. package/src/content/Table/index.tsx +2 -2
  311. package/src/content/TaskList/index.mdx +9 -5
  312. package/src/content/Timeline/index.mdx +10 -5
  313. package/src/feedback/CopyToClipboard/index.mdx +3 -5
  314. package/src/feedback/ErrorSummary/index.mdx +3 -5
  315. package/src/feedback/NotificationBanner/index.mdx +14 -5
  316. package/src/feedback/PhaseBanner/index.mdx +8 -5
  317. package/src/feedback/WarningText/index.mdx +5 -5
  318. package/src/form/AutoComplete/AutoComplete.stories.js +4 -1
  319. package/src/form/AutoComplete/AutoComplete.stories.playwright.json +33 -0
  320. package/src/form/AutoComplete/Status/index.tsx +10 -6
  321. package/src/form/AutoComplete/__stories__/Multiple.tsx +18 -0
  322. package/src/form/AutoComplete/__stories__/{WithInLine.tsx → MultipleShowingTwoSelected.tsx} +3 -8
  323. package/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.tsx +16 -0
  324. package/src/form/AutoComplete/__stories__/MultipleWithMinLength.tsx +29 -0
  325. package/src/form/AutoComplete/__stories__/WithShowAllValues.tsx +0 -1
  326. package/src/form/AutoComplete/index.mdx +13 -20
  327. package/src/form/AutoComplete/index.tsx +351 -213
  328. package/src/form/AutoComplete/utils.ts +3 -2
  329. package/src/form/Button/index.mdx +3 -5
  330. package/src/form/Checkbox/index.mdx +3 -5
  331. package/src/form/DateInputContainer/index.mdx +3 -5
  332. package/src/form/ErrorMessage/index.mdx +3 -5
  333. package/src/form/FileUpload/index.mdx +3 -5
  334. package/src/form/RadioContainer/index.mdx +2 -14
  335. package/src/form/SelectContainer/index.mdx +3 -1
  336. package/src/form/SingleCharacterInputs/index.mdx +3 -5
  337. package/src/form/TextArea/index.mdx +3 -5
  338. package/src/form/TextInput/TextInput.stories.js +1 -0
  339. package/src/form/TextInput/__stories__/DisabledInputWithValue.tsx +27 -0
  340. package/src/form/TextInput/index.mdx +3 -5
  341. package/src/govgr/Footer/index.mdx +1 -1
  342. package/src/i18n/locales/el.ts +2 -2
  343. package/src/i18n/locales/en.ts +2 -2
  344. package/src/layouts/Basic/Bottom/__stories__/Default.tsx +35 -0
  345. package/src/layouts/Basic/Bottom/index.mdx +9 -28
  346. package/src/layouts/Basic/Container/__stories__/Default.tsx +30 -0
  347. package/src/layouts/Basic/Container/index.mdx +23 -0
  348. package/src/layouts/Basic/Main/__stories__/Default.tsx +30 -0
  349. package/src/layouts/Basic/Main/index.mdx +10 -47
  350. package/src/layouts/Basic/Top/__stories__/Default.tsx +28 -0
  351. package/src/layouts/Basic/Top/index.mdx +10 -55
  352. package/src/layouts/Basic/index.mdx +27 -25
  353. package/src/layouts/Grid/index.mdx +39 -0
  354. package/src/lazy.js +18 -16
  355. package/src/navigation/BackLink/index.mdx +4 -5
  356. package/src/navigation/Breadcrumbs/index.mdx +6 -5
  357. package/src/navigation/Drawer/index.mdx +4 -10
  358. package/src/navigation/Dropdown/Dropdown.stories.js +1 -0
  359. package/src/navigation/Dropdown/Dropdown.stories.playwright.json +16 -0
  360. package/src/navigation/Dropdown/__stories__/ScrollableContent.tsx +82 -0
  361. package/src/navigation/Dropdown/index.mdx +3 -5
  362. package/src/navigation/Link/index.mdx +5 -15
  363. package/src/navigation/NavList/__stories__/Default.tsx +18 -1
  364. package/src/navigation/NavList/__stories__/HorizontalWithDrawer.tsx +37 -1
  365. package/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.tsx +37 -1
  366. package/src/navigation/NavList/__stories__/NavListWithoutNav.tsx +18 -1
  367. package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +39 -2
  368. package/src/navigation/NavList/__stories__/Vertical.tsx +18 -1
  369. package/src/navigation/NavList/__stories__/VerticalWithoutDrawer.tsx +37 -1
  370. package/src/navigation/NavList/index.mdx +23 -7
  371. package/src/navigation/NavList/types.tsx +1 -2
  372. package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +1 -1
  373. package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +1 -1
  374. package/src/navigation/Pagination/index.mdx +9 -5
  375. package/src/navigation/Tabs/index.mdx +9 -5
  376. package/src/registry.js +6 -12
  377. package/src/typography/Heading/index.mdx +3 -5
  378. package/src/typography/HeadingCaption/index.mdx +3 -5
  379. package/src/typography/Hint/index.mdx +3 -5
  380. package/src/typography/NormalText/index.mdx +3 -5
  381. package/src/typography/Paragraph/index.mdx +9 -30
  382. package/src/typography/Typography/index.mdx +12 -0
  383. package/src/typography/Typography/index.tsx +4 -0
  384. package/src/typography/index.ts +1 -0
  385. package/src/utils/Base/index.mdx +13 -0
  386. package/src/utils/VisuallyHidden/index.mdx +10 -5
  387. package/typography/Heading/index.mdx +3 -5
  388. package/typography/HeadingCaption/index.mdx +3 -5
  389. package/typography/Hint/index.mdx +3 -5
  390. package/typography/NormalText/index.mdx +3 -5
  391. package/typography/Paragraph/index.mdx +9 -30
  392. package/typography/Typography/index.d.ts +3 -0
  393. package/typography/Typography/index.js +3 -0
  394. package/typography/Typography/index.mdx +12 -0
  395. package/typography/Typography/package.json +6 -0
  396. package/typography/index.d.ts +1 -0
  397. package/typography/index.js +2 -1
  398. package/utils/Base/index.mdx +13 -0
  399. package/utils/VisuallyHidden/index.mdx +10 -5
  400. package/cjs/content/List/List.stories.playwright.json +0 -27
  401. package/cjs/layouts/Basic/Masthead/index.mdx +0 -65
  402. package/cjs/misc/KitchenSink/index.js +0 -93
  403. package/cjs/utils/Kitchensink/AllComponents/index.js +0 -16
  404. package/cjs/utils/Kitchensink/KitchensinkByCategory/index.js +0 -39
  405. package/cjs/utils/Kitchensink/KitchensinkByLetter/index.js +0 -26
  406. package/cjs/utils/Kitchensink/KitchensinkComponent/index.js +0 -55
  407. package/cjs/utils/Kitchensink/KitchensinkDashboard/index.js +0 -47
  408. package/content/List/List.stories.playwright.json +0 -27
  409. package/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
  410. package/layouts/Basic/Masthead/index.mdx +0 -65
  411. package/misc/KitchenSink/index.d.ts +0 -8
  412. package/misc/KitchenSink/index.js +0 -8
  413. package/src/content/List/List.stories.playwright.json +0 -27
  414. package/src/layouts/Basic/Masthead/index.mdx +0 -65
  415. package/src/misc/KitchenSink/index.tsx +0 -8
  416. package/src/utils/Kitchensink/AllComponents.tsx +0 -6
  417. package/src/utils/Kitchensink/KitchensinkByCategory.tsx +0 -56
  418. package/src/utils/Kitchensink/KitchensinkByLetter.tsx +0 -35
  419. package/src/utils/Kitchensink/KitchensinkComponent.tsx +0 -70
  420. package/src/utils/Kitchensink/KitchensinkDashboard.tsx +0 -56
  421. package/utils/Kitchensink/AllComponents/index.js +0 -9
  422. package/utils/Kitchensink/AllComponents.d.ts +0 -2
  423. package/utils/Kitchensink/KitchensinkByCategory/index.js +0 -32
  424. package/utils/Kitchensink/KitchensinkByCategory.d.ts +0 -6
  425. package/utils/Kitchensink/KitchensinkByLetter/index.js +0 -19
  426. package/utils/Kitchensink/KitchensinkByLetter.d.ts +0 -6
  427. package/utils/Kitchensink/KitchensinkComponent/index.js +0 -45
  428. package/utils/Kitchensink/KitchensinkComponent.d.ts +0 -10
  429. package/utils/Kitchensink/KitchensinkDashboard/index.js +0 -40
  430. package/utils/Kitchensink/KitchensinkDashboard/package.json +0 -6
  431. package/utils/Kitchensink/KitchensinkDashboard.d.ts +0 -5
@@ -0,0 +1,3 @@
1
+ export * from '@digigov/react-core/Skeleton';
2
+ import Skeleton from '@digigov/react-core/Skeleton';
3
+ export default Skeleton;
@@ -0,0 +1,3 @@
1
+ export * from '@digigov/react-core/Skeleton';
2
+ import Skeleton from '@digigov/react-core/Skeleton';
3
+ export default Skeleton;
@@ -2,5 +2,5 @@
2
2
  "sideEffects": false,
3
3
  "module": "./index.js",
4
4
  "types": "./index.d.ts",
5
- "main": "../../cjs/misc/KitchenSink/index.js"
5
+ "main": "../../cjs/app/Skeleton/index.js"
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { BaseProps } from '@digigov/react-core';
2
+ import { BaseProps } from '@digigov/react-core/Base';
3
3
  export interface ThemeOptionsProps extends BaseProps<'form'> {
4
4
  colorsOption?: boolean;
5
5
  fontSizeOption?: boolean;
@@ -13,5 +13,5 @@ export interface ThemeOptionsProps extends BaseProps<'form'> {
13
13
  highlightLinksOptionTitleSize?: TitleSize;
14
14
  }
15
15
  type TitleSize = 'xl' | 'lg' | 'md' | 'sm' | 'hidden';
16
- export declare const ThemeOptions: React.ForwardRefExoticComponent<Pick<ThemeOptionsProps, "children" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "method" | "name" | "target" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "colorsOption" | "fontSizeOption" | "lineHeightOption" | "letterSpacingOption" | "highlightLinksOption" | "colorsOptionTitleSize" | "fontSizeOptionTitleSize" | "lineHeightOptionTitleSize" | "letterSpacingOptionTitleSize" | "highlightLinksOptionTitleSize"> & React.RefAttributes<HTMLFormElement>>;
16
+ export declare const ThemeOptions: React.ForwardRefExoticComponent<Pick<ThemeOptionsProps, "children" | "p" | "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "method" | "name" | "target" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "m" | "mt" | "mb" | "ml" | "mr" | "mx" | "my" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "pt" | "pb" | "pl" | "pr" | "px" | "py" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "colorsOption" | "fontSizeOption" | "lineHeightOption" | "letterSpacingOption" | "highlightLinksOption" | "colorsOptionTitleSize" | "fontSizeOptionTitleSize" | "lineHeightOptionTitleSize" | "letterSpacingOptionTitleSize" | "highlightLinksOptionTitleSize"> & React.RefAttributes<HTMLFormElement>>;
17
17
  export default ThemeOptions;
@@ -3,10 +3,6 @@ id: footer
3
3
  title: Footer
4
4
  ---
5
5
 
6
- ```bash
7
- import Footer from '@digigov/ui/app/Footer';
8
- ```
9
-
10
6
  ## How to use
11
7
 
12
8
  ### Default footer
@@ -47,4 +43,21 @@ import Footer from '@digigov/ui/app/Footer';
47
43
 
48
44
  ## API
49
45
 
50
- <PropTypes packageName="@digigov/ui" component="Footer" />
46
+ See below for a complete reference to all of the props available to the components mentioned here.
47
+
48
+ <ComponentProps componentName={[
49
+ "Footer",
50
+ "FooterContainer",
51
+ "FooterNavigation",
52
+ "FooterNavigationSection",
53
+ "FooterHeading",
54
+ "FooterList",
55
+ "FooterListItem",
56
+ "FooterLink",
57
+ "FooterInfo",
58
+ "FooterInfoSection",
59
+ "FooterContent",
60
+ "FooterContentLogos",
61
+ "FooterImage",
62
+ "CopyrightContainer"]}
63
+ />
@@ -3,10 +3,6 @@ id: header
3
3
  title: Header
4
4
  ---
5
5
 
6
- ```bash
7
- import Header from '@digigov/ui/app/Header';
8
- ```
9
-
10
6
  ## How to use
11
7
 
12
8
  ### Default header
@@ -44,4 +40,10 @@ import Header from '@digigov/ui/app/Header';
44
40
 
45
41
  ## API
46
42
 
47
- <PropTypes packageName="@digigov/ui" component="Header" />
43
+ See below for a complete reference to all of the props available to the components mentioned here.
44
+
45
+ <ComponentProps componentName={[
46
+ "Header",
47
+ "HeaderContent",
48
+ "HeaderSection",]}
49
+ />
@@ -5,9 +5,7 @@ title: Masthead
5
5
 
6
6
  # Masthead
7
7
 
8
- ```bash
9
- import Masthead from '@digigov/ui/app/Masthead';
10
- ```
8
+ The Masthead component is a set of features or layout that marks the page and delivers identifying information to web users.
11
9
 
12
10
  ## How to use
13
11
 
@@ -15,4 +13,11 @@ import Masthead from '@digigov/ui/app/Masthead';
15
13
 
16
14
  ## API
17
15
 
18
- <PropTypes packageName="@digigov/ui" component="Masthead" />
16
+ See below for a complete reference to all of the props available to the components mentioned here.
17
+
18
+ <ComponentProps componentName={[
19
+ "Masthead",
20
+ "MastheadBody",
21
+ "MastheadLogo",
22
+ ]}
23
+ />
@@ -116,7 +116,7 @@ var ModalBase = exports.ModalBase = /*#__PURE__*/_react["default"].forwardRef(fu
116
116
  return function () {
117
117
  lastModalElementInstance.removeEventListener('focus', handleFocus);
118
118
  };
119
- }, [open]);
119
+ }, []);
120
120
  return /*#__PURE__*/_react["default"].createElement(_ModalContainer["default"], (0, _extends2["default"])({
121
121
  open: open,
122
122
  role: "dialog",
@@ -3,9 +3,7 @@ id: modal
3
3
  title: Modal
4
4
  ---
5
5
 
6
- ```bash
7
- import Modal, {ModalHeading, ModalContent, ModalAction} from "@digigov/ui/app/Modal";
8
- ```
6
+ Modal is a dialog box/popup window which contains information or an action and it is displayed on top of the current page:
9
7
 
10
8
  ## How to use
11
9
 
@@ -30,4 +28,13 @@ implementation in the ARIA Authoring Practices Guide (APG) at
30
28
 
31
29
  ## API
32
30
 
33
- <PropTypes packageName="@digigov/ui" component="Modal" />
31
+ See below for a complete reference to all of the props available to the components mentioned here.
32
+
33
+ <ComponentProps componentName={[
34
+ "ModalContainer",
35
+ "Modal",
36
+ "ModalHeading",
37
+ "ModalContent",
38
+ "ModalAction"]}
39
+ />
40
+
@@ -13,4 +13,6 @@ import NotFound from '@digigov/ui/app/NotFound';
13
13
 
14
14
  ## API
15
15
 
16
+ See below for a complete reference to all of the props available to the components mentioned here.
17
+
16
18
  There are no available prop types for this component.
@@ -3,9 +3,8 @@ id: panel
3
3
  title: Panel
4
4
  ---
5
5
 
6
- ```bash
7
- import Panel from '@digigov/ui/app/Panel';
8
- ```
6
+ Panels are bordered boxes where you can place texts, lists, tables and other content.
7
+ Panels are similar to cards, but they don't include media.
9
8
 
10
9
  ## How to use
11
10
 
@@ -13,4 +12,10 @@ import Panel from '@digigov/ui/app/Panel';
13
12
 
14
13
  ## API
15
14
 
16
- <PropTypes packageName="@digigov/ui" component="Panel" />
15
+ See below for a complete reference to all of the props available to the components mentioned here.
16
+
17
+ <ComponentProps componentName={[
18
+ "Panel",
19
+ "PanelTitle",
20
+ "PanelBody"]}
21
+ />
@@ -3,9 +3,7 @@ id: phase-banner-header
3
3
  title: PhaseBannerHeader
4
4
  ---
5
5
 
6
- ```bash
7
- import PhaseBannerHeader from '@digigov/ui/app/PhaseBannerHeader';
8
- ```
6
+ Phase banner lets users know the service is still being worked on, and encourages the user to provide feedback to help improve it.
9
7
 
10
8
  ## How to use
11
9
 
@@ -17,4 +15,6 @@ import PhaseBannerHeader from '@digigov/ui/app/PhaseBannerHeader';
17
15
 
18
16
  ## API
19
17
 
20
- <PropTypes packageName="@digigov/ui" component="PhaseBannerHeader" />
18
+ See below for a complete reference to all of the props available to the components mentioned here.
19
+
20
+ <ComponentProps componentName={["PhaseBannerHeaderContainer"]} />
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.QrCodeViewer = void 0;
8
+ exports["default"] = exports.QrCodeViewer = void 0;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
@@ -149,4 +149,5 @@ var QrCodeViewer = exports.QrCodeViewer = /*#__PURE__*/_react["default"].forward
149
149
  return /*#__PURE__*/_react["default"].createElement(QrCodeViewerCanvas, (0, _extends2["default"])({}, props, {
150
150
  ref: ref
151
151
  }));
152
- });
152
+ });
153
+ var _default = exports["default"] = QrCodeViewer;
@@ -3,9 +3,7 @@ id: qr-code-viewer
3
3
  title: QrCodeViewer
4
4
  ---
5
5
 
6
- ```bash
7
- import QrCodeViewer from '@digigov/ui/app/QrCodeViewer';
8
- ```
6
+ QR codes are frequently used to track information and allow the users to access this information instantly.
9
7
 
10
8
  ## How to use
11
9
 
@@ -27,4 +25,6 @@ import QrCodeViewer from '@digigov/ui/app/QrCodeViewer';
27
25
 
28
26
  ## API
29
27
 
30
- <PropTypes packageName="@digigov/ui" component="QrCodeViewer" />
28
+ See below for a complete reference to all of the props available to the components mentioned here.
29
+
30
+ There are no available prop types for this component.
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ exports["default"] = void 0;
9
+ var _Skeleton = _interopRequireDefault(require("@digigov/ui/app/Skeleton"));
10
+ var _Default = require("@digigov/ui/app/Skeleton/__stories__/Default");
11
+ Object.keys(_Default).forEach(function (key) {
12
+ if (key === "default" || key === "__esModule") return;
13
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
14
+ if (key in exports && exports[key] === _Default[key]) return;
15
+ Object.defineProperty(exports, key, {
16
+ enumerable: true,
17
+ get: function get() {
18
+ return _Default[key];
19
+ }
20
+ });
21
+ });
22
+ var _Rectangular = require("@digigov/ui/app/Skeleton/__stories__/Rectangular");
23
+ Object.keys(_Rectangular).forEach(function (key) {
24
+ if (key === "default" || key === "__esModule") return;
25
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
26
+ if (key in exports && exports[key] === _Rectangular[key]) return;
27
+ Object.defineProperty(exports, key, {
28
+ enumerable: true,
29
+ get: function get() {
30
+ return _Rectangular[key];
31
+ }
32
+ });
33
+ });
34
+ var _Circular = require("@digigov/ui/app/Skeleton/__stories__/Circular");
35
+ Object.keys(_Circular).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
38
+ if (key in exports && exports[key] === _Circular[key]) return;
39
+ Object.defineProperty(exports, key, {
40
+ enumerable: true,
41
+ get: function get() {
42
+ return _Circular[key];
43
+ }
44
+ });
45
+ });
46
+ var _Button = require("@digigov/ui/app/Skeleton/__stories__/Button");
47
+ Object.keys(_Button).forEach(function (key) {
48
+ if (key === "default" || key === "__esModule") return;
49
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
50
+ if (key in exports && exports[key] === _Button[key]) return;
51
+ Object.defineProperty(exports, key, {
52
+ enumerable: true,
53
+ get: function get() {
54
+ return _Button[key];
55
+ }
56
+ });
57
+ });
58
+ var _NoAnimation = require("@digigov/ui/app/Skeleton/__stories__/NoAnimation");
59
+ Object.keys(_NoAnimation).forEach(function (key) {
60
+ if (key === "default" || key === "__esModule") return;
61
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
62
+ if (key in exports && exports[key] === _NoAnimation[key]) return;
63
+ Object.defineProperty(exports, key, {
64
+ enumerable: true,
65
+ get: function get() {
66
+ return _NoAnimation[key];
67
+ }
68
+ });
69
+ });
70
+ var _SpecificWidthAndHeight = require("@digigov/ui/app/Skeleton/__stories__/SpecificWidthAndHeight");
71
+ Object.keys(_SpecificWidthAndHeight).forEach(function (key) {
72
+ if (key === "default" || key === "__esModule") return;
73
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
74
+ if (key in exports && exports[key] === _SpecificWidthAndHeight[key]) return;
75
+ Object.defineProperty(exports, key, {
76
+ enumerable: true,
77
+ get: function get() {
78
+ return _SpecificWidthAndHeight[key];
79
+ }
80
+ });
81
+ });
82
+ var _UnderTypography = require("@digigov/ui/app/Skeleton/__stories__/UnderTypography");
83
+ Object.keys(_UnderTypography).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] === _UnderTypography[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function get() {
90
+ return _UnderTypography[key];
91
+ }
92
+ });
93
+ });
94
+ var _WithChildren = require("@digigov/ui/app/Skeleton/__stories__/WithChildren");
95
+ Object.keys(_WithChildren).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
98
+ if (key in exports && exports[key] === _WithChildren[key]) return;
99
+ Object.defineProperty(exports, key, {
100
+ enumerable: true,
101
+ get: function get() {
102
+ return _WithChildren[key];
103
+ }
104
+ });
105
+ });
106
+ var _default = exports["default"] = {
107
+ title: 'Digigov UI/app/Skeleton',
108
+ description: 'Use a set of Skeleton components to display placeholder content when data is loading.',
109
+ component: _Skeleton["default"],
110
+ displayName: 'Skeleton'
111
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Button = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
11
+ variant: "button"
12
+ });
13
+ var Button = exports.Button = function Button() {
14
+ return _ref;
15
+ };
16
+ var _default = exports["default"] = Button;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Circular = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
11
+ variant: "circular",
12
+ width: 100,
13
+ height: 100
14
+ });
15
+ var Circular = exports.Circular = function Circular() {
16
+ return _ref;
17
+ };
18
+ var _default = exports["default"] = Circular;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, null);
11
+ var Default = exports.Default = function Default() {
12
+ return _ref;
13
+ };
14
+ var _default = exports["default"] = Default;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.NoAnimation = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
11
+ animation: false
12
+ });
13
+ var NoAnimation = exports.NoAnimation = function NoAnimation() {
14
+ return _ref;
15
+ };
16
+ var _default = exports["default"] = NoAnimation;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.Rectangular = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
11
+ variant: "rectangular",
12
+ height: 150
13
+ });
14
+ var Rectangular = exports.Rectangular = function Rectangular() {
15
+ return _ref;
16
+ };
17
+ var _default = exports["default"] = Rectangular;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.SpecificWidthAndHeight = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, {
11
+ width: 200,
12
+ height: 200
13
+ });
14
+ var SpecificWidthAndHeight = exports.SpecificWidthAndHeight = function SpecificWidthAndHeight() {
15
+ return _ref;
16
+ };
17
+ var _default = exports["default"] = SpecificWidthAndHeight;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.UnderTypography = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _Heading = _interopRequireDefault(require("@digigov/ui/typography/Heading"));
11
+ var _Paragraph = require("@digigov/ui/typography/Paragraph");
12
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Heading["default"], null, /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, null));
13
+ var _ref2 = /*#__PURE__*/_react["default"].createElement(_Paragraph.Paragraph, null, /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, null));
14
+ var UnderTypography = exports.UnderTypography = function UnderTypography() {
15
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _ref, _ref2);
16
+ };
17
+ var _default = exports["default"] = UnderTypography;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.WithChildren = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Skeleton = require("@digigov/ui/app/Skeleton");
10
+ var _NormalText = require("@digigov/ui/typography/NormalText");
11
+ var _ref = /*#__PURE__*/_react["default"].createElement(_Skeleton.Skeleton, null, /*#__PURE__*/_react["default"].createElement(_NormalText.NormalText, null, "\u039A\u03B5\u03AF\u03BC\u03B5\u03BD\u03BF"));
12
+ var WithChildren = exports.WithChildren = function WithChildren() {
13
+ return _ref;
14
+ };
15
+ var _default = exports["default"] = WithChildren;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ exports["default"] = void 0;
9
+ var _Skeleton = _interopRequireWildcard(require("@digigov/react-core/cjs/Skeleton"));
10
+ Object.keys(_Skeleton).forEach(function (key) {
11
+ if (key === "default" || key === "__esModule") return;
12
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
13
+ if (key in exports && exports[key] === _Skeleton[key]) return;
14
+ Object.defineProperty(exports, key, {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _Skeleton[key];
18
+ }
19
+ });
20
+ });
21
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
22
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
23
+ var _default = exports["default"] = _Skeleton["default"];
@@ -6,15 +6,14 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports["default"] = exports.Auto = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _Accordion = require("@digigov/ui/content/Accordion/");
9
+ var _Accordion = require("@digigov/ui/content/Accordion");
10
10
  var _List = require("@digigov/ui/content/List/List");
11
11
  var _ListItem = require("@digigov/ui/content/List/ListItem");
12
12
  var _Link = require("@digigov/ui/navigation/Link");
13
13
  var _Hint = require("@digigov/ui/typography/Hint");
14
14
  var _Paragraph = require("@digigov/ui/typography/Paragraph");
15
15
  var _ref = /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionAuto, {
16
- defaultOpen: '1',
17
- singleOpen: true
16
+ defaultOpen: '1'
18
17
  }, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionControls, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionOpenAllButtonAuto, null, "Open all"), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionCloseAllButtonAuto, null, "Close all")), /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionAuto, {
19
18
  id: "0"
20
19
  }, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummary, null, /*#__PURE__*/_react["default"].createElement(_Accordion.AccordionSectionSummaryHeading, {
@@ -97,7 +97,6 @@ var useAccordion = exports.useAccordion = function useAccordion() {
97
97
  } else {
98
98
  var _e$target3;
99
99
  setCurrentOpen((0, _extends4["default"])({}, current, (0, _defineProperty2["default"])({}, id, (_e$target3 = e.target) === null || _e$target3 === void 0 ? void 0 : _e$target3.open)));
100
- console.log('current2 is', current);
101
100
  }
102
101
  };
103
102
  var onKeyDown = function onKeyDown(e) {
@@ -3,18 +3,19 @@ id: accordion
3
3
  title: Accordion
4
4
  ---
5
5
 
6
+
6
7
  # Accordion
7
8
 
9
+
10
+
8
11
  This component is currently experimental because adding a summary line with more than a few short words will likely make the button text too long, particularly for users of screen readers.
9
12
 
10
13
  The accordion component lets users show and hide sections of related content on a page.
11
14
 
12
- ```bash
13
- import Accordion from '@digigov/ui/content/Accordion';
14
- ```
15
-
16
15
  ## How to use
17
16
 
17
+ ### Default Accordion
18
+
18
19
  <Story
19
20
  packageName="@digigov/ui"
20
21
  component="content/Accordion"
@@ -38,4 +39,7 @@ implementation in the [ARIA Authoring Practices Guide (APG)](https://www.w3.org/
38
39
 
39
40
  ## API
40
41
 
41
- <PropTypes packageName="@digigov/ui" component="Accordion" />
42
+ See below for a complete reference to all of the props available to the components mentioned here.
43
+
44
+ <ComponentProps componentName={["Accordion", "AccordionSection","AccordionSectionSummary","AccordionSectionSummaryHeading","AccordionSectionContent"]} />
45
+
@@ -9,10 +9,6 @@ This component is currently experimental because adding a summary line with more
9
9
 
10
10
  The Blockquote component lets users show and hide sections of related content on a page.
11
11
 
12
- ```bash
13
- import Blockquote from '@digigov/ui/content/Blockquote';
14
- ```
15
-
16
12
  ## How to use
17
13
 
18
14
  <Story
@@ -23,4 +19,6 @@ import Blockquote from '@digigov/ui/content/Blockquote';
23
19
 
24
20
  ## API
25
21
 
26
- <PropTypes packageName="@digigov/ui" component="Blockquote" />
22
+ See below for a complete reference to all of the props available to the components mentioned here.
23
+
24
+ <ComponentProps componentName={["Blockquote"]} />