@digigov/ui 2.0.0-113e6661 → 2.0.0-298cfc51

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 (460) hide show
  1. package/app/Header/__stories__/WithServiceNameAndLogo/index.js +2 -2
  2. package/app/Header/__stories__/WithServiceNameAndLogo.js.map +2 -2
  3. package/app/Loader/index.d.ts +1 -1
  4. package/app/Loader/index.js +1 -1
  5. package/app/Loader/index.js.map +1 -1
  6. package/app/Loader/index.native/index.js +102 -0
  7. package/app/Loader/index.native/package.json +6 -0
  8. package/app/Loader/index.native.d.ts +3 -0
  9. package/app/Loader/index.native.js.map +7 -0
  10. package/app/Loader/index.web/index.js +2 -0
  11. package/{api → app/Loader/index.web}/package.json +1 -1
  12. package/app/Loader/index.web.d.ts +1 -0
  13. package/app/Loader/index.web.js.map +7 -0
  14. package/app/Masthead/Masthead.stories/index.js +2 -0
  15. package/app/Masthead/Masthead.stories.d.ts +1 -0
  16. package/app/Masthead/Masthead.stories.js.map +2 -2
  17. package/app/Masthead/__stories__/Default/index.js +1 -1
  18. package/app/Masthead/__stories__/Default.js.map +1 -1
  19. package/app/Masthead/__stories__/Secondary/index.js +13 -0
  20. package/app/Masthead/__stories__/Secondary/package.json +6 -0
  21. package/app/Masthead/__stories__/Secondary.d.ts +3 -0
  22. package/app/Masthead/__stories__/Secondary.js.map +7 -0
  23. package/app/Masthead/__stories__/WithElements/index.js +1 -5
  24. package/app/Masthead/__stories__/WithElements.js.map +2 -2
  25. package/app/Masthead/__stories__/WithLogo/index.js +1 -5
  26. package/app/Masthead/__stories__/WithLogo.js.map +2 -2
  27. package/app/Modal/auto/index.js +1 -1
  28. package/app/Modal/auto.js.map +2 -2
  29. package/app/Modal/index.d.ts +2 -2
  30. package/app/Modal/index.js +2 -2
  31. package/app/Modal/index.js.map +1 -1
  32. package/app/Modal/index.native/index.js +20 -0
  33. package/{api/APIErrors → app/Modal/index.native}/package.json +1 -1
  34. package/app/Modal/index.native.d.ts +7 -0
  35. package/app/Modal/index.native.js.map +7 -0
  36. package/app/Modal/{Modal → index.web}/index.js +3 -3
  37. package/{api/APIProvider → app/Modal/index.web}/package.json +1 -1
  38. package/app/Modal/{Modal.js.map → index.web.js.map} +2 -2
  39. package/app/QrCodeScanner/index.js.map +2 -2
  40. package/cjs/app/Header/__stories__/WithServiceNameAndLogo.js.map +3 -3
  41. package/cjs/app/Loader/index.js +3 -3
  42. package/cjs/app/Loader/index.js.map +2 -2
  43. package/cjs/app/Loader/index.native/index.js +135 -0
  44. package/cjs/app/Loader/index.native.js.map +7 -0
  45. package/cjs/app/Loader/index.web/index.js +22 -0
  46. package/cjs/app/Loader/index.web.js.map +7 -0
  47. package/cjs/app/Masthead/Masthead.stories/index.js +3 -0
  48. package/cjs/app/Masthead/Masthead.stories.js.map +2 -2
  49. package/cjs/app/Masthead/__stories__/Default/index.js +1 -1
  50. package/cjs/app/Masthead/__stories__/Default.js.map +1 -1
  51. package/cjs/app/Masthead/__stories__/Secondary/index.js +46 -0
  52. package/cjs/app/Masthead/__stories__/Secondary.js.map +7 -0
  53. package/cjs/app/Masthead/__stories__/WithElements/index.js +1 -1
  54. package/cjs/app/Masthead/__stories__/WithElements.js.map +2 -2
  55. package/cjs/app/Masthead/__stories__/WithLogo/index.js +1 -1
  56. package/cjs/app/Masthead/__stories__/WithLogo.js.map +2 -2
  57. package/cjs/app/Modal/auto/index.js +1 -1
  58. package/cjs/app/Modal/auto.js.map +2 -2
  59. package/cjs/app/Modal/index.js +3 -3
  60. package/cjs/app/Modal/index.js.map +2 -2
  61. package/cjs/{api/APIProvider → app/Modal/index.native}/index.js +20 -26
  62. package/cjs/app/Modal/index.native.js.map +7 -0
  63. package/cjs/app/Modal/{Modal → index.web}/index.js +6 -6
  64. package/cjs/app/Modal/{Modal.js.map → index.web.js.map} +2 -2
  65. package/cjs/app/QrCodeScanner/index.js.map +2 -2
  66. package/cjs/content/Table/Table.stories/index.js +3 -3
  67. package/cjs/content/Table/Table.stories.js.map +2 -2
  68. package/cjs/content/Table/__stories__/{Densed → Dense}/index.js +9 -9
  69. package/cjs/content/Table/__stories__/{Densed.js.map → Dense.js.map} +3 -3
  70. package/cjs/feedback/CopyToClipboard/__stories__/Default/index.js +1 -1
  71. package/cjs/feedback/CopyToClipboard/__stories__/Default.js.map +2 -2
  72. package/cjs/form/AutoComplete/index.js +29 -29
  73. package/cjs/form/AutoComplete/index.js.map +3 -3
  74. package/cjs/form/DateInputContainer/__stories__/MultipleQuestions/index.js +1 -1
  75. package/cjs/form/DateInputContainer/__stories__/MultipleQuestions.js.map +1 -1
  76. package/cjs/form/SearchContainer/SearchContainer.stories/index.js +46 -0
  77. package/cjs/form/SearchContainer/SearchContainer.stories.js.map +7 -0
  78. package/cjs/{api/APIErrors → form/SearchContainer/__stories__/Default}/index.js +12 -42
  79. package/cjs/form/SearchContainer/__stories__/Default.js.map +7 -0
  80. package/cjs/i18n/locales/el/index.js +7 -1
  81. package/cjs/i18n/locales/el.js.map +2 -2
  82. package/cjs/{layouts/Basic/Masthead → icons/IconBase}/index.js +8 -12
  83. package/cjs/icons/IconBase/index.js.map +7 -0
  84. package/cjs/{utils → icons}/SvgIcon/index.js +3 -5
  85. package/cjs/icons/SvgIcon/index.js.map +7 -0
  86. package/cjs/icons/index.js +5 -1
  87. package/cjs/icons/index.js.map +2 -2
  88. package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +7 -5
  89. package/cjs/layouts/Basic/Bottom/__stories__/Default.js.map +3 -3
  90. package/cjs/layouts/Basic/Container/__stories__/Default/index.js +6 -4
  91. package/cjs/layouts/Basic/Container/__stories__/Default.js.map +3 -3
  92. package/cjs/layouts/Basic/Main/__stories__/Default/index.js +6 -4
  93. package/cjs/layouts/Basic/Main/__stories__/Default.js.map +3 -3
  94. package/cjs/layouts/Basic/Top/__stories__/Default/index.js +6 -4
  95. package/cjs/layouts/Basic/Top/__stories__/Default.js.map +3 -3
  96. package/cjs/layouts/Basic/index.js +1 -3
  97. package/cjs/layouts/Basic/index.js.map +2 -2
  98. package/cjs/lazy/index.js +330 -1640
  99. package/cjs/lazy.js.map +2 -2
  100. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +3 -0
  101. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories.js.map +2 -2
  102. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +61 -0
  103. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  104. package/cjs/navigation/Breadcrumbs/__stories__/Auto/index.js +23 -9
  105. package/cjs/navigation/Breadcrumbs/__stories__/Auto.js.map +2 -2
  106. package/cjs/navigation/Breadcrumbs/__stories__/WithHook/index.js +29 -15
  107. package/cjs/navigation/Breadcrumbs/__stories__/WithHook.js.map +2 -2
  108. package/cjs/navigation/Breadcrumbs/__stories__/WithProvider/index.js +46 -0
  109. package/cjs/navigation/Breadcrumbs/__stories__/WithProvider.js.map +7 -0
  110. package/cjs/navigation/Breadcrumbs/auto/index.js +16 -10
  111. package/cjs/navigation/Breadcrumbs/auto.js.map +3 -3
  112. package/cjs/navigation/Breadcrumbs/hooks/index.js +41 -30
  113. package/cjs/navigation/Breadcrumbs/hooks.js.map +3 -3
  114. package/cjs/navigation/Breadcrumbs/index.js +4 -0
  115. package/cjs/navigation/Breadcrumbs/index.js.map +2 -2
  116. package/cjs/navigation/Breadcrumbs/utils.js.map +2 -2
  117. package/cjs/navigation/Drawer/__stories__/Auto/index.js +3 -1
  118. package/cjs/navigation/Drawer/__stories__/Auto.js.map +2 -2
  119. package/cjs/navigation/Drawer/__stories__/Default/index.js +2 -2
  120. package/cjs/navigation/Drawer/__stories__/Default.js.map +3 -3
  121. package/cjs/navigation/Link/__stories__/DarkBackground/index.js +1 -1
  122. package/cjs/navigation/Link/__stories__/DarkBackground.js.map +1 -1
  123. package/cjs/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +1 -1
  124. package/cjs/navigation/Link/__stories__/DarkBackgroundNoUnderline.js.map +1 -1
  125. package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +24 -24
  126. package/cjs/navigation/NavList/__stories__/UsingNavListAuto.js.map +3 -3
  127. package/cjs/navigation/NavList/__stories__/Vertical/index.js +25 -17
  128. package/cjs/navigation/NavList/__stories__/Vertical.js.map +2 -2
  129. package/cjs/navigation/Pagination/__stories__/Auto/index.js +7 -9
  130. package/cjs/navigation/Pagination/__stories__/Auto.js.map +3 -3
  131. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +2 -2
  132. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +2 -2
  133. package/cjs/navigation/Pagination/__stories__/WithInactiveValues/index.js +2 -2
  134. package/cjs/navigation/Pagination/__stories__/WithInactiveValues.js.map +2 -2
  135. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage/index.js +2 -2
  136. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage.js.map +2 -2
  137. package/cjs/registry/index.js +12 -22
  138. package/cjs/registry.js.map +2 -2
  139. package/cjs/utils/index.js +0 -2
  140. package/cjs/utils/index.js.map +2 -2
  141. package/content/Table/Table.stories/index.js +2 -2
  142. package/content/Table/Table.stories.d.ts +1 -1
  143. package/content/Table/Table.stories.js.map +2 -2
  144. package/content/Table/__stories__/{Densed → Dense}/index.js +5 -5
  145. package/content/Table/__stories__/Dense/package.json +6 -0
  146. package/content/Table/__stories__/Dense.d.ts +3 -0
  147. package/content/Table/__stories__/{Densed.js.map → Dense.js.map} +3 -3
  148. package/feedback/CopyToClipboard/__stories__/Default/index.js +1 -1
  149. package/feedback/CopyToClipboard/__stories__/Default.js.map +2 -2
  150. package/form/AutoComplete/index.d.ts +9 -9
  151. package/form/AutoComplete/index.js +10 -10
  152. package/form/AutoComplete/index.js.map +2 -2
  153. package/form/DateInputContainer/__stories__/MultipleQuestions/index.js +1 -1
  154. package/form/DateInputContainer/__stories__/MultipleQuestions.js.map +1 -1
  155. package/form/SearchContainer/SearchContainer.stories/index.js +13 -0
  156. package/form/SearchContainer/SearchContainer.stories/package.json +6 -0
  157. package/form/SearchContainer/SearchContainer.stories.d.ts +9 -0
  158. package/form/SearchContainer/SearchContainer.stories.js.map +7 -0
  159. package/form/SearchContainer/__stories__/Default/index.js +11 -0
  160. package/form/SearchContainer/__stories__/Default/package.json +6 -0
  161. package/form/SearchContainer/__stories__/Default.d.ts +3 -0
  162. package/form/SearchContainer/__stories__/Default.js.map +7 -0
  163. package/form/SearchContainer/index.test.d.ts +1 -0
  164. package/i18n/locales/el/index.js +7 -1
  165. package/i18n/locales/el.d.ts +6 -0
  166. package/i18n/locales/el.js.map +2 -2
  167. package/icons/IconBase/index.d.ts +3 -0
  168. package/icons/IconBase/index.js +7 -0
  169. package/icons/IconBase/index.js.map +7 -0
  170. package/{api/fetchAPI → icons/IconBase}/package.json +1 -1
  171. package/icons/SvgIcon/index.d.ts +3 -0
  172. package/icons/SvgIcon/index.js +7 -0
  173. package/icons/SvgIcon/index.js.map +7 -0
  174. package/{api/utils → icons/SvgIcon}/package.json +1 -1
  175. package/icons/index.d.ts +2 -0
  176. package/icons/index.js +2 -0
  177. package/icons/index.js.map +2 -2
  178. package/index.js +1 -1
  179. package/layouts/Basic/Bottom/__stories__/Default/index.js +7 -5
  180. package/layouts/Basic/Bottom/__stories__/Default.js.map +2 -2
  181. package/layouts/Basic/Container/__stories__/Default/index.js +6 -4
  182. package/layouts/Basic/Container/__stories__/Default.js.map +2 -2
  183. package/layouts/Basic/Main/__stories__/Default/index.js +6 -4
  184. package/layouts/Basic/Main/__stories__/Default.js.map +2 -2
  185. package/layouts/Basic/Top/__stories__/Default/index.js +6 -4
  186. package/layouts/Basic/Top/__stories__/Default.js.map +2 -2
  187. package/layouts/Basic/index.d.ts +0 -1
  188. package/layouts/Basic/index.js +0 -1
  189. package/layouts/Basic/index.js.map +2 -2
  190. package/lazy/index.js +330 -1640
  191. package/lazy.d.ts +18 -15
  192. package/lazy.js.map +2 -2
  193. package/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +2 -0
  194. package/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -0
  195. package/navigation/Breadcrumbs/Breadcrumbs.stories.js.map +2 -2
  196. package/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +28 -0
  197. package/navigation/Breadcrumbs/BreadcrumbsListItem/package.json +6 -0
  198. package/navigation/Breadcrumbs/BreadcrumbsListItem.d.ts +8 -0
  199. package/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  200. package/navigation/Breadcrumbs/__stories__/Auto/index.js +23 -9
  201. package/navigation/Breadcrumbs/__stories__/Auto.js.map +2 -2
  202. package/navigation/Breadcrumbs/__stories__/WithHook/index.js +29 -15
  203. package/navigation/Breadcrumbs/__stories__/WithHook.js.map +2 -2
  204. package/navigation/Breadcrumbs/__stories__/WithProvider/index.js +17 -0
  205. package/navigation/Breadcrumbs/__stories__/WithProvider/package.json +6 -0
  206. package/navigation/Breadcrumbs/__stories__/WithProvider.d.ts +3 -0
  207. package/navigation/Breadcrumbs/__stories__/WithProvider.js.map +7 -0
  208. package/navigation/Breadcrumbs/auto/index.js +24 -12
  209. package/navigation/Breadcrumbs/auto.d.ts +4 -4
  210. package/navigation/Breadcrumbs/auto.js.map +3 -3
  211. package/navigation/Breadcrumbs/hooks/index.js +41 -30
  212. package/navigation/Breadcrumbs/hooks.d.ts +5 -20
  213. package/navigation/Breadcrumbs/hooks.js.map +3 -3
  214. package/navigation/Breadcrumbs/index.d.ts +2 -0
  215. package/navigation/Breadcrumbs/index.js +2 -0
  216. package/navigation/Breadcrumbs/index.js.map +2 -2
  217. package/navigation/Breadcrumbs/utils.js.map +2 -2
  218. package/navigation/Drawer/__stories__/Auto/index.js +3 -1
  219. package/navigation/Drawer/__stories__/Auto.d.ts +1 -0
  220. package/navigation/Drawer/__stories__/Auto.js.map +2 -2
  221. package/navigation/Drawer/__stories__/Default/index.js +1 -1
  222. package/navigation/Drawer/__stories__/Default.js.map +2 -2
  223. package/navigation/Link/__stories__/DarkBackground/index.js +1 -1
  224. package/navigation/Link/__stories__/DarkBackground.js.map +1 -1
  225. package/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +1 -1
  226. package/navigation/Link/__stories__/DarkBackgroundNoUnderline.js.map +1 -1
  227. package/navigation/NavList/__stories__/UsingNavListAuto/index.js +24 -24
  228. package/navigation/NavList/__stories__/UsingNavListAuto.js.map +2 -2
  229. package/navigation/NavList/__stories__/Vertical/index.js +25 -17
  230. package/navigation/NavList/__stories__/Vertical.js.map +2 -2
  231. package/navigation/Pagination/__stories__/Auto/index.js +8 -12
  232. package/navigation/Pagination/__stories__/Auto.js.map +2 -2
  233. package/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +1 -1
  234. package/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +1 -1
  235. package/navigation/Pagination/__stories__/WithInactiveValues/index.js +1 -1
  236. package/navigation/Pagination/__stories__/WithInactiveValues.js.map +1 -1
  237. package/navigation/Pagination/__stories__/WithResultsPerPage/index.js +1 -1
  238. package/navigation/Pagination/__stories__/WithResultsPerPage.js.map +1 -1
  239. package/package.json +10 -8
  240. package/registry/index.js +12 -22
  241. package/registry.d.ts +7 -11
  242. package/registry.js.map +2 -2
  243. package/src/app/Footer/{index.mdx → doc.mdx} +7 -23
  244. package/src/app/Header/__snapshots__/index.spec.tsx.snap +42 -36
  245. package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +2 -2
  246. package/src/app/Header/doc.mdx +32 -0
  247. package/src/app/Loader/index.native.tsx +98 -0
  248. package/src/app/Loader/index.tsx +1 -1
  249. package/src/app/Loader/index.web.tsx +1 -0
  250. package/src/app/Masthead/Masthead.stories.js +1 -0
  251. package/src/app/Masthead/__stories__/Default.tsx +1 -1
  252. package/src/app/Masthead/__stories__/Secondary.tsx +26 -0
  253. package/src/app/Masthead/__stories__/WithElements.tsx +1 -5
  254. package/src/app/Masthead/__stories__/WithLogo.tsx +1 -5
  255. package/src/app/Masthead/{index.mdx → doc.mdx} +13 -1
  256. package/src/app/Masthead/index.test.tsx +4 -0
  257. package/src/app/Modal/auto.tsx +1 -1
  258. package/src/app/Modal/{index.mdx → doc.mdx} +9 -6
  259. package/src/app/Modal/index.native.tsx +17 -0
  260. package/src/app/Modal/index.tsx +2 -2
  261. package/src/app/NotFound/{index.mdx → doc.mdx} +2 -4
  262. package/src/app/Panel/{index.mdx → doc.mdx} +3 -1
  263. package/src/app/PhaseBannerHeader/{index.mdx → doc.mdx} +3 -5
  264. package/src/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +6 -10
  265. package/src/app/QrCodeScanner/index.tsx +1 -0
  266. package/src/app/QrCodeViewer/{index.mdx → doc.mdx} +4 -12
  267. package/src/app/Skeleton/doc.mdx +42 -0
  268. package/src/content/Accordion/__snapshots__/index.spec.tsx.snap +48 -147
  269. package/src/content/Accordion/{index.mdx → doc.mdx} +2 -13
  270. package/src/content/Blockquote/__snapshots__/index.spec.tsx.snap +6 -9
  271. package/src/content/Blockquote/{index.mdx → doc.mdx} +5 -5
  272. package/src/content/Card/doc.mdx +71 -0
  273. package/src/content/Chip/doc.mdx +34 -0
  274. package/src/content/Details/__snapshots__/index.spec.tsx.snap +32 -69
  275. package/src/content/Details/{index.mdx → doc.mdx} +1 -5
  276. package/src/content/List/__snapshots__/index.spec.tsx.snap +3 -3
  277. package/src/content/List/doc.mdx +28 -0
  278. package/src/content/StepNav/{index.mdx → doc.mdx} +5 -19
  279. package/src/content/SummaryList/__snapshots__/index.spec.tsx.snap +37 -89
  280. package/src/content/SummaryList/{index.mdx → doc.mdx} +6 -18
  281. package/src/content/Table/Table.stories.js +1 -1
  282. package/src/content/Table/__stories__/{Densed.tsx → Dense.tsx} +2 -2
  283. package/src/content/Table/doc.mdx +81 -0
  284. package/src/content/Table/index.test.tsx +3 -3
  285. package/src/content/TaskList/{index.mdx → doc.mdx} +4 -6
  286. package/src/content/Timeline/{index.mdx → doc.mdx} +4 -6
  287. package/src/feedback/CopyToClipboard/__stories__/Default.tsx +1 -1
  288. package/src/feedback/CopyToClipboard/doc.mdx +22 -0
  289. package/src/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +3 -3
  290. package/src/feedback/ErrorSummary/{index.mdx → doc.mdx} +6 -22
  291. package/src/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +1 -1
  292. package/src/feedback/NotificationBanner/{index.mdx → doc.mdx} +8 -19
  293. package/src/feedback/PhaseBanner/{index.mdx → doc.mdx} +2 -12
  294. package/src/feedback/WarningText/__snapshots__/index.spec.tsx.snap +3 -3
  295. package/src/feedback/WarningText/{index.mdx → doc.mdx} +8 -6
  296. package/src/form/AutoComplete/doc.mdx +50 -0
  297. package/src/form/AutoComplete/index.tsx +10 -10
  298. package/src/form/Button/__snapshots__/index.spec.tsx.snap +6 -10
  299. package/src/form/Button/{index.mdx → doc.mdx} +12 -27
  300. package/src/form/Checkbox/{index.mdx → doc.mdx} +10 -36
  301. package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +1 -1
  302. package/src/form/DateInputContainer/{index.mdx → doc.mdx} +7 -21
  303. package/src/form/ErrorMessage/{index.mdx → doc.mdx} +1 -5
  304. package/src/form/FileUpload/{index.mdx → doc.mdx} +2 -10
  305. package/src/form/RadioContainer/{index.mdx → doc.mdx} +10 -36
  306. package/src/form/SearchContainer/SearchContainer.stories.js +9 -0
  307. package/src/form/SearchContainer/__stories__/Default.tsx +13 -0
  308. package/src/form/SearchContainer/doc.mdx +16 -0
  309. package/src/form/SearchContainer/index.test.tsx +20 -0
  310. package/src/form/SelectContainer/{index.mdx → doc.mdx} +3 -19
  311. package/src/form/SingleCharacterInputs/{index.mdx → doc.mdx} +3 -11
  312. package/src/form/TextArea/doc.mdx +48 -0
  313. package/src/form/TextInput/{index.mdx → doc.mdx} +12 -44
  314. package/src/i18n/locales/el.ts +15 -8
  315. package/src/icons/IconBase/index.tsx +4 -0
  316. package/src/icons/SvgIcon/index.tsx +4 -0
  317. package/src/icons/index.tsx +2 -0
  318. package/src/layouts/Basic/Bottom/__stories__/Default.tsx +13 -9
  319. package/src/layouts/Basic/Bottom/{index.mdx → doc.mdx} +1 -5
  320. package/src/layouts/Basic/Container/__stories__/Default.tsx +15 -8
  321. package/src/layouts/Basic/Container/{index.mdx → doc.mdx} +1 -6
  322. package/src/layouts/Basic/Main/__stories__/Default.tsx +15 -8
  323. package/src/layouts/Basic/Main/{index.mdx → doc.mdx} +3 -5
  324. package/src/layouts/Basic/Top/__stories__/Default.tsx +13 -6
  325. package/src/layouts/Basic/Top/doc.mdx +19 -0
  326. package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +30 -102
  327. package/src/layouts/Basic/{index.mdx → doc.mdx} +7 -18
  328. package/src/layouts/Basic/index.tsx +0 -1
  329. package/src/layouts/Grid/doc.mdx +26 -0
  330. package/src/layouts/Stack/doc.mdx +38 -0
  331. package/src/lazy.js +333 -1642
  332. package/src/navigation/BackLink/{index.mdx → doc.mdx} +1 -5
  333. package/src/navigation/Breadcrumbs/Breadcrumbs.stories.js +1 -1
  334. package/src/navigation/Breadcrumbs/BreadcrumbsListItem.tsx +34 -0
  335. package/src/navigation/Breadcrumbs/__stories__/Auto.tsx +34 -19
  336. package/src/navigation/Breadcrumbs/__stories__/WithHook.tsx +41 -19
  337. package/src/navigation/Breadcrumbs/__stories__/WithProvider.tsx +28 -0
  338. package/src/navigation/Breadcrumbs/auto.tsx +35 -18
  339. package/src/navigation/Breadcrumbs/{index.mdx → doc.mdx} +5 -5
  340. package/src/navigation/Breadcrumbs/hooks.ts +47 -56
  341. package/src/navigation/Breadcrumbs/index.test.tsx +4 -0
  342. package/src/navigation/Breadcrumbs/index.tsx +2 -0
  343. package/src/navigation/Breadcrumbs/utils.ts +3 -3
  344. package/src/navigation/Drawer/__stories__/Auto.tsx +3 -1
  345. package/src/navigation/Drawer/__stories__/Default.tsx +2 -2
  346. package/src/navigation/Drawer/{index.mdx → doc.mdx} +5 -1
  347. package/src/navigation/Dropdown/{index.mdx → doc.mdx} +3 -15
  348. package/src/navigation/Link/__snapshots__/index.spec.tsx.snap +16 -30
  349. package/src/navigation/Link/__stories__/DarkBackground.tsx +1 -1
  350. package/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.tsx +1 -1
  351. package/src/navigation/Link/{index.mdx → doc.mdx} +7 -19
  352. package/src/navigation/NavList/__snapshots__/index.spec.tsx.snap +3 -3
  353. package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +27 -28
  354. package/src/navigation/NavList/__stories__/Vertical.tsx +16 -12
  355. package/src/navigation/NavList/{index.mdx → doc.mdx} +19 -22
  356. package/src/navigation/Pagination/__stories__/Auto.tsx +29 -31
  357. package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +1 -1
  358. package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +1 -1
  359. package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +1 -1
  360. package/src/navigation/Pagination/doc.mdx +32 -0
  361. package/src/navigation/Tabs/doc.mdx +47 -0
  362. package/src/registry.js +19 -28
  363. package/src/typography/CodeBlock/doc.mdx +30 -0
  364. package/src/typography/Heading/{index.mdx → doc.mdx} +3 -5
  365. package/src/typography/HeadingCaption/{index.mdx → doc.mdx} +5 -5
  366. package/src/typography/Hint/{index.mdx → doc.mdx} +4 -10
  367. package/src/typography/NormalText/doc.mdx +30 -0
  368. package/src/typography/Paragraph/doc.mdx +34 -0
  369. package/src/typography/Typography/doc.mdx +14 -0
  370. package/src/utils/VisuallyHidden/{index.mdx → doc.mdx} +3 -6
  371. package/src/utils/index.ts +0 -1
  372. package/utils/index.d.ts +0 -1
  373. package/utils/index.js +0 -1
  374. package/utils/index.js.map +2 -2
  375. package/api/APIErrors/index.js +0 -40
  376. package/api/APIErrors.d.ts +0 -23
  377. package/api/APIErrors.js.map +0 -7
  378. package/api/APIProvider/index.js +0 -24
  379. package/api/APIProvider.d.ts +0 -16
  380. package/api/APIProvider.js.map +0 -7
  381. package/api/fetchAPI/index.js +0 -29
  382. package/api/fetchAPI.d.ts +0 -14
  383. package/api/fetchAPI.js.map +0 -7
  384. package/api/index.d.ts +0 -8
  385. package/api/index.js +0 -12
  386. package/api/index.js.map +0 -7
  387. package/api/index.spec.d.ts +0 -1
  388. package/api/useResource/index.js +0 -79
  389. package/api/useResource/package.json +0 -6
  390. package/api/useResource.d.ts +0 -11
  391. package/api/useResource.js.map +0 -7
  392. package/api/useResourceAction/index.js +0 -74
  393. package/api/useResourceAction/package.json +0 -6
  394. package/api/useResourceAction.d.ts +0 -2
  395. package/api/useResourceAction.js.map +0 -7
  396. package/api/useResourceQuery/index.js +0 -149
  397. package/api/useResourceQuery/package.json +0 -6
  398. package/api/useResourceQuery.d.ts +0 -18
  399. package/api/useResourceQuery.js.map +0 -7
  400. package/api/utils/index.js +0 -131
  401. package/api/utils.d.ts +0 -10
  402. package/api/utils.js.map +0 -7
  403. package/app/Modal/Modal/package.json +0 -6
  404. package/cjs/api/APIErrors.js.map +0 -7
  405. package/cjs/api/APIProvider.js.map +0 -7
  406. package/cjs/api/fetchAPI/index.js +0 -49
  407. package/cjs/api/fetchAPI.js.map +0 -7
  408. package/cjs/api/index.js +0 -41
  409. package/cjs/api/index.js.map +0 -7
  410. package/cjs/api/useResource/index.js +0 -102
  411. package/cjs/api/useResource.js.map +0 -7
  412. package/cjs/api/useResourceAction/index.js +0 -97
  413. package/cjs/api/useResourceAction.js.map +0 -7
  414. package/cjs/api/useResourceQuery/index.js +0 -173
  415. package/cjs/api/useResourceQuery.js.map +0 -7
  416. package/cjs/api/utils/index.js +0 -157
  417. package/cjs/api/utils.js.map +0 -7
  418. package/cjs/layouts/Basic/Masthead/index.js.map +0 -7
  419. package/cjs/utils/SvgIcon/index.js.map +0 -7
  420. package/content/Table/__stories__/Densed/package.json +0 -6
  421. package/content/Table/__stories__/Densed.d.ts +0 -3
  422. package/layouts/Basic/Masthead/index.d.ts +0 -5
  423. package/layouts/Basic/Masthead/index.js +0 -9
  424. package/layouts/Basic/Masthead/index.js.map +0 -7
  425. package/layouts/Basic/Masthead/package.json +0 -6
  426. package/src/api/APIErrors.tsx +0 -46
  427. package/src/api/APIProvider.tsx +0 -31
  428. package/src/api/fetchAPI.ts +0 -43
  429. package/src/api/index.spec.tsx +0 -417
  430. package/src/api/index.tsx +0 -9
  431. package/src/api/introduction.md +0 -6
  432. package/src/api/useResource.tsx +0 -96
  433. package/src/api/useResourceAction.tsx +0 -80
  434. package/src/api/useResourceQuery.tsx +0 -178
  435. package/src/api/utils.tsx +0 -162
  436. package/src/app/Header/index.mdx +0 -49
  437. package/src/content/Card/index.mdx +0 -103
  438. package/src/content/Chip/index.mdx +0 -53
  439. package/src/content/List/index.mdx +0 -40
  440. package/src/content/Table/index.mdx +0 -111
  441. package/src/feedback/CopyToClipboard/index.mdx +0 -28
  442. package/src/form/AutoComplete/index.mdx +0 -70
  443. package/src/form/TextArea/index.mdx +0 -74
  444. package/src/govgr/Footer/index.mdx +0 -101
  445. package/src/layouts/Basic/Masthead/index.tsx +0 -5
  446. package/src/layouts/Basic/Top/index.mdx +0 -23
  447. package/src/layouts/Grid/index.mdx +0 -39
  448. package/src/navigation/Pagination/index.mdx +0 -48
  449. package/src/navigation/Tabs/index.mdx +0 -31
  450. package/src/typography/NormalText/index.mdx +0 -44
  451. package/src/typography/Paragraph/index.mdx +0 -32
  452. package/src/typography/Typography/index.mdx +0 -12
  453. package/src/utils/SvgIcon/index.tsx +0 -5
  454. package/utils/SvgIcon/index.d.ts +0 -4
  455. package/utils/SvgIcon/index.js +0 -8
  456. package/utils/SvgIcon/index.js.map +0 -7
  457. package/utils/SvgIcon/package.json +0 -6
  458. /package/app/Modal/{Modal.d.ts → index.web.d.ts} +0 -0
  459. /package/src/app/Modal/{Modal.tsx → index.web.tsx} +0 -0
  460. /package/src/utils/Base/{index.mdx → doc.mdx} +0 -0
@@ -1,111 +0,0 @@
1
- ---
2
- id: table
3
- title: Table
4
- ---
5
-
6
- # Table
7
-
8
- ## How to use
9
-
10
- <Story
11
- packageName="@digigov/ui"
12
- component="content/Table"
13
- story="Default.tsx"
14
- />
15
-
16
- ### Table with dark header
17
-
18
- <Story
19
- packageName="@digigov/ui"
20
- component="content/Table"
21
- story="DarkVariant.tsx"
22
- />
23
-
24
- ### Table captions
25
-
26
- Use the `<TableCaption>` element to describe a table in the same way you would use a heading. A caption helps users find, navigate and understand tables.
27
-
28
- <Story
29
- packageName="@digigov/ui"
30
- component="content/Table"
31
- story="TableCaptions.tsx"
32
- />
33
-
34
- ### Numbers in a table
35
-
36
- <Story
37
- packageName="@digigov/ui"
38
- component="content/Table"
39
- story="NumericDataType.tsx"
40
- />
41
-
42
- ### Zebra rows
43
-
44
- <Story
45
- packageName="@digigov/ui"
46
- component="content/Table"
47
- story="ZebraProp.tsx"
48
- />
49
-
50
- ### Rows with primary or secondary color
51
-
52
- The prop `color='primary'` or `color='secondary'` is only functional when Table component has `variant='default'`.
53
-
54
- <Story
55
- packageName="@digigov/ui"
56
- component="content/Table"
57
- story="RowColors.tsx"
58
- />
59
-
60
- ### Vertical lines
61
-
62
- <Story
63
- packageName="@digigov/ui"
64
- component="content/Table"
65
- story="VerticalBorders.tsx"
66
- />
67
-
68
- ### Dense tables
69
-
70
- <Story packageName="@digigov/ui" component="content/Table" story="Densed.tsx" />
71
-
72
- ### Custom column widths
73
-
74
- <Story
75
- packageName="@digigov/ui"
76
- component="content/Table"
77
- story="DefinedWidth.tsx"
78
- />
79
-
80
- ### No data
81
-
82
- <Story packageName="@digigov/ui" component="content/Table" story="NoData.tsx" />
83
-
84
- ### Using loader
85
-
86
- <Story
87
- packageName="@digigov/ui"
88
- component="content/Table"
89
- story="WithLoader.tsx"
90
- />
91
-
92
- ## Accessibility
93
-
94
- You can read more about the accessibility patterns used in our Table
95
- implementation in the ARIA Authoring Practices Guide (APG) at [Table](https://www.w3.org/WAI/ARIA/apg/patterns/table/) section.
96
-
97
- ## API
98
-
99
- See below for a complete reference to all of the props available to the components mentioned here.
100
-
101
- <ComponentProps componentName={[
102
- "TableContainer",
103
- "Table",
104
- "TableCaption",
105
- "TableHead",
106
- "TableRow",
107
- "TableBody",
108
- "TableHeadCell",
109
- "TableDataCell"
110
- ]
111
- } />
@@ -1,28 +0,0 @@
1
- ---
2
- id: copy-to-clipboard
3
- title: CopyToClipboard
4
- ---
5
-
6
- ## How to use
7
-
8
- ### Default
9
-
10
- <Story
11
- packageName="@digigov/ui"
12
- component="feedback/CopyToClipboard"
13
- story="Default.tsx"
14
- />
15
-
16
- ### Banner
17
-
18
- <Story
19
- packageName="@digigov/ui"
20
- component="feedback/CopyToClipboard"
21
- story="Banner.tsx"
22
- />
23
-
24
- ## API
25
-
26
- See below for a complete reference to all of the props available to the components mentioned here.
27
-
28
- <ComponentProps componentName={["CopyToClipboardContainer"]} />
@@ -1,70 +0,0 @@
1
- ---
2
- id: auto-complete
3
- title: AutoComplete
4
- ---
5
-
6
- Autocomplete is a feature in which an input field suggests a word based on user input. This allows users to quickly search
7
- through, select from large collections of options and help services get more consistent data.
8
-
9
- ## Usage
10
-
11
- ### AutoComplete
12
-
13
- <Story packageName="@digigov/ui" component="form/AutoComplete" story="Default.tsx" />
14
-
15
- ### AutoComplete with auto select
16
-
17
- <Story
18
- packageName="@digigov/ui"
19
- component="form/AutoComplete"
20
- story="WithAutoSelect.tsx"
21
- />
22
-
23
- ### AutoComplete with default value
24
-
25
- <Story
26
- packageName="@digigov/ui"
27
- component="form/AutoComplete"
28
- story="WithDefaultValue.tsx"
29
- />
30
-
31
- ### AutoComplete with placeholder
32
-
33
- <Story
34
- packageName="@digigov/ui"
35
- component="form/AutoComplete"
36
- story="WithPlaceHolder.tsx"
37
- />
38
-
39
- ### AutoComplete with all option's values
40
-
41
- <Story
42
- packageName="@digigov/ui"
43
- component="form/AutoComplete"
44
- story="WithShowAllValues.tsx"
45
- />
46
-
47
- ### AutoComplete with min length
48
-
49
- This is the minimum number of characters that should be entered before the autocomplete will attempt to suggest options(in above example is 2)
50
-
51
- <Story
52
- packageName="@digigov/ui"
53
- component="form/AutoComplete"
54
- story="WithMinLength.tsx"
55
- />
56
-
57
- ## API
58
-
59
- See below for a complete reference to all of the props available to the components mentioned here.
60
-
61
- <ComponentProps componentName={
62
- ["AutoCompleteWrapper",
63
- "AutoCompleteStatus",
64
- "AutoCompleteStatusWrapper",
65
- "AutoCompleteInputTypeahead",
66
- "AutoCompleteInput",
67
- "AutoCompleteResultList",
68
- "AutoCompleteResultListItem",
69
- "AutoCompleteAssistiveHint"
70
- ]} />
@@ -1,74 +0,0 @@
1
- ---
2
- id: text-area
3
- title: TextArea
4
- ---
5
-
6
- # TextArea
7
-
8
- ## How to use
9
-
10
- <Story
11
- packageName="@digigov/ui"
12
- component="form/TextArea"
13
- story="Default.tsx"
14
- />
15
-
16
- ### Use appropriately-sized textareas
17
-
18
- <Story
19
- packageName="@digigov/ui"
20
- component="form/TextArea"
21
- story="WithDeclaredRows.tsx"
22
- />
23
-
24
- ### If you’re asking more than one question on the page
25
-
26
- <Story
27
- packageName="@digigov/ui"
28
- component="form/TextArea"
29
- story="MultipleQuestions.tsx"
30
- />
31
-
32
- ### Limiting the number of characters
33
-
34
- If there’s a good reason to limit the number of characters users can enter, you can use the character count component.
35
-
36
- <Story
37
- packageName="@digigov/ui"
38
- component="form/TextArea"
39
- story="LimitedCharacters.tsx"
40
- />
41
-
42
- ### Hint text
43
-
44
- Use hint text for help that’s relevant to the majority of users, like how their information will be used, or where to find it.
45
-
46
- <Story
47
- packageName="@digigov/ui"
48
- component="form/TextArea"
49
- story="WithHint.tsx"
50
- />
51
-
52
- ### Error message
53
-
54
- Error messages should be styled like this:
55
-
56
- <Story
57
- packageName="@digigov/ui"
58
- component="form/TextArea"
59
- story="WithErrorMessage.tsx"
60
- />
61
-
62
- ### Disabled input
63
-
64
- <Story
65
- packageName="@digigov/ui"
66
- component="form/TextArea"
67
- story="DisabledInput.tsx"
68
- />
69
-
70
- ## API
71
-
72
- See below for a complete reference to all of the props available to the components mentioned here.
73
-
74
- <ComponentProps componentName={["TextArea"]} />
@@ -1,101 +0,0 @@
1
- ---
2
- title: Footer
3
- parent: docs/ui/components
4
- ---
5
-
6
- ## Default Footer
7
-
8
- #
9
-
10
- ```jsx
11
- import Bottom from '@digigov/ui/layouts/Basic';
12
- import GovGRFooter from '@digigov/ui/govgr/Footer';
13
- ```
14
-
15
- ### Example
16
-
17
- ```jsx live
18
- <Bottom>
19
- <GovGRFooter />
20
- </Bottom>
21
- ```
22
-
23
- ## Customizable Footer
24
-
25
- #
26
-
27
- ```jsx
28
- import Copyright from '@digigov/ui/govgr/Footer/Copyright';
29
- import LicenseCCSA from '@digigov/ui/govgr/Footer/LicenseCCSA';
30
- ```
31
-
32
- ### Example
33
-
34
- ```jsx live
35
- <Bottom>
36
- <GovGRFooter>
37
- <div>Custom info 1</div>
38
- <Copyright />
39
- <div>Custom info 2</div>
40
- <LicenseCCSA />
41
- <div>Custom info 3</div>
42
- </GovGRFooter>
43
- </Bottom>
44
- ```
45
-
46
- ## Using custom grid
47
-
48
- #
49
-
50
- ```jsx
51
- import Grid from '@digigov/ui/layouts/Grid';
52
- import Copyright from '@digigov/ui/govgr/Footer/Copyright';
53
- import LicenseCCSA from '@digigov/ui/govgr/Footer/LicenseCCSA';
54
- import HellenicRepublicLogo from '@digigov/ui/govgr/Footer/HellenicRepublicLogo';
55
- ```
56
-
57
- ### Example using custom Grid with composable components
58
-
59
- ```jsx
60
- <Bottom>
61
- <GovGRFooter>
62
- <Grid item xs={12} sm={8}>
63
- <Copyright />
64
- <LicenseCCSA />
65
- </Grid>
66
- <Grid item xs={12} sm={4}>
67
- <HellenicRepublicLogo />
68
- </Grid>
69
- </GovGRFooter>
70
- </Bottom>
71
- ```
72
-
73
- ## Asking users for feedback
74
-
75
- #
76
-
77
- ```jsx
78
- import { Feedback } from '@digigov/ui/govgr/Footer';
79
- ```
80
-
81
- ### Example for user feedback
82
-
83
- ```jsx live
84
- <Bottom>
85
- <Feedback />
86
- <GovGRFooter />
87
- </Bottom>
88
- ```
89
-
90
- ### Example for reporting bugs
91
-
92
- ```jsx live
93
- <Bottom>
94
- <Feedback reportBugs />
95
- <GovGRFooter />
96
- </Bottom>
97
- ```
98
-
99
- ## API
100
-
101
- See below for a complete reference to all of the props available to the components mentioned here.
@@ -1,5 +0,0 @@
1
- export * from '@digigov/react-core/Masthead';
2
- export * from '@digigov/react-core/MastheadBody';
3
- export * from '@digigov/react-core/MastheadLogo';
4
- import Masthead from '@digigov/react-core/Masthead';
5
- export default Masthead;
@@ -1,23 +0,0 @@
1
- ---
2
- id: top
3
- title: Top
4
- parent: docs/ui/components
5
- ---
6
-
7
- # Top
8
-
9
- The Top component is used to group the Header components.
10
-
11
- ## How to use
12
-
13
- <Story
14
- packageName="@digigov/ui"
15
- component="layouts/Basic/Top"
16
- story="Default.tsx"
17
- />
18
-
19
- ## API
20
-
21
- See below for a complete reference to all of the props available to the components mentioned here.
22
-
23
- <ComponentProps componentName={["Top"]} />
@@ -1,39 +0,0 @@
1
- ---
2
- id: grid
3
- title: Grid
4
- ---
5
-
6
- ## How to use
7
-
8
- Grid compoment is a layout system that allows you to design complex web page layouts with rows and columns.
9
-
10
-
11
- ### Default Grid
12
-
13
- <Story
14
- packageName="@digigov/ui"
15
- component="layouts/Grid"
16
- story="Default.tsx"
17
- />
18
-
19
- ### Responsive spacing Grid
20
-
21
- <Story
22
- packageName="@digigov/ui"
23
- component="layouts/Grid"
24
- story="ResponsiveSpacing.tsx"
25
- />
26
-
27
- ### Inline Grid
28
-
29
- <Story
30
- packageName="@digigov/ui"
31
- component="layouts/Grid"
32
- story="Inline.tsx"
33
- />
34
-
35
- ## API
36
-
37
- See below for a complete reference to all of the props available to the components mentioned here.
38
-
39
- <ComponentProps componentName={["Grid"]} />
@@ -1,48 +0,0 @@
1
- ---
2
- id: pagination
3
- title: Pagination
4
- ---
5
-
6
- ## How to use
7
-
8
- <Story
9
- packageName="@digigov/ui"
10
- component="navigation/Pagination"
11
- story="Default.tsx"
12
- />
13
-
14
- ## With inactive values
15
-
16
- <Story
17
- packageName="@digigov/ui"
18
- component="navigation/Pagination"
19
- story="WithInactiveValues.tsx"
20
- />
21
-
22
- ## With small fonts
23
-
24
- <Story
25
- packageName="@digigov/ui"
26
- component="navigation/Pagination"
27
- story="PaginationWithSmallFont.tsx"
28
- />
29
-
30
- ## With results per page
31
-
32
- <Story
33
- packageName="@digigov/ui"
34
- component="navigation/Pagination"
35
- story="WithResultsPerPage.tsx"
36
- />
37
-
38
- ## API
39
-
40
- See below for a complete reference to all of the props available to the components mentioned here.
41
-
42
- <ComponentProps componentName={
43
- [
44
- "Pagination",
45
- "PaginationLabel",
46
- "PaginationList",
47
- "PaginationListItem",
48
- ]} />
@@ -1,31 +0,0 @@
1
- ---
2
- id: tabs
3
- title: Tabs
4
- ---
5
-
6
- # Tabs
7
-
8
- ## How to use
9
-
10
- <Story
11
- packageName="@digigov/ui"
12
- component="navigation/Tabs"
13
- story="Default.tsx"
14
- />
15
-
16
- ## Accessibility
17
-
18
- You can read more about the accessibility patterns used in our Tabs
19
- implementation in the ARIA Authoring Practices Guide (APG) at [Tabs](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/) section.
20
-
21
- ## API
22
-
23
- See below for a complete reference to all of the props available to the components mentioned here.
24
-
25
- <ComponentProps componentName={
26
- ["Tabs",
27
- "TabsHeading",
28
- "TabsList",
29
- "TabsListItem",
30
- "TabsPanel",]} />
31
-
@@ -1,44 +0,0 @@
1
- ---
2
- id: normal-text
3
- title: NormalText
4
- ---
5
-
6
- ## How to use
7
-
8
- <Story
9
- packageName="@digigov/ui"
10
- component="typography/NormalText"
11
- story="Default.tsx"
12
- />
13
-
14
- ### Variants
15
-
16
- <Story
17
- packageName="@digigov/ui"
18
- component="typography/NormalText"
19
- story="Variants.tsx"
20
- />
21
-
22
- ## Font override classes
23
-
24
- ### Font size
25
-
26
- <Story
27
- packageName="@digigov/ui"
28
- component="typography/NormalText"
29
- story="FontSizes.tsx"
30
- />
31
-
32
- ### Font weight
33
-
34
- <Story
35
- packageName="@digigov/ui"
36
- component="typography/NormalText"
37
- story="FontWeight.tsx"
38
- />
39
-
40
- ## API
41
-
42
- See below for a complete reference to all of the props available to the components mentioned here.
43
-
44
- <ComponentProps componentName={["NormalText"]} />
@@ -1,32 +0,0 @@
1
- ---
2
- id: paragraph
3
- title: Paragraph
4
- ---
5
-
6
- ## How to use
7
-
8
- <Story packageName="@digigov/ui" component="typography/Paragraph" story="Default.tsx" />
9
-
10
- ### Lead paragraph
11
-
12
- <Story packageName="@digigov/ui" component="typography/Paragraph" story="LeadVariant.tsx" />
13
-
14
- ### Small paragraph
15
-
16
- <Story packageName="@digigov/ui" component="typography/Paragraph" story="SmallVariant.tsx" />
17
-
18
- ## Font override classes
19
-
20
- ### Font size
21
-
22
- <Story packageName="@digigov/ui" component="typography/Paragraph" story="FontSizes.tsx" />
23
-
24
- ### Font weight
25
-
26
- <Story packageName="@digigov/ui" component="typography/Paragraph" story="FontWeight.tsx" />
27
-
28
- ## API
29
-
30
- See below for a complete reference to all of the props available to the components mentioned here.
31
-
32
- <ComponentProps componentName={["Paragraph"]} />
@@ -1,12 +0,0 @@
1
- ---
2
- id: typography
3
- title: Typography
4
- ---
5
-
6
- Typography compoment is a HOC (Higher-Order Component) for typography components such as `NormalText` compoment.
7
-
8
- ## API
9
-
10
- See below for a complete reference to all of the props available to the components mentioned here.
11
-
12
- <ComponentProps componentName={["Typography"]} />
@@ -1,5 +0,0 @@
1
- export * from '@digigov/react-core/SvgIcon';
2
- export * from '@digigov/react-icons';
3
-
4
- import SvgIcon from '@digigov/react-core/SvgIcon';
5
- export default SvgIcon;
@@ -1,4 +0,0 @@
1
- export * from '@digigov/react-core/SvgIcon';
2
- export * from '@digigov/react-icons';
3
- import SvgIcon from '@digigov/react-core/SvgIcon';
4
- export default SvgIcon;
@@ -1,8 +0,0 @@
1
- export * from "@digigov/react-core/SvgIcon";
2
- export * from "@digigov/react-icons";
3
- import SvgIcon from "@digigov/react-core/SvgIcon";
4
- var SvgIcon_default = SvgIcon;
5
- export {
6
- SvgIcon_default as default
7
- };
8
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/utils/SvgIcon/index.tsx"],
4
- "sourcesContent": ["export * from '@digigov/react-core/SvgIcon';\nexport * from '@digigov/react-icons';\n\nimport SvgIcon from '@digigov/react-core/SvgIcon';\nexport default SvgIcon;\n"],
5
- "mappings": "AAAA,cAAc;AACd,cAAc;AAEd,OAAO,aAAa;AACpB,IAAO,kBAAQ;",
6
- "names": []
7
- }
@@ -1,6 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "module": "./index.js",
4
- "types": "./index.d.ts",
5
- "main": "../../cjs/utils/SvgIcon/index.js"
6
- }
File without changes
File without changes
File without changes