@digigov/ui 2.0.0-daaf7bdf → 2.0.0-e20fed09

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 (3235) hide show
  1. package/app/BannerContainer/__stories__/CookiesBanner.d.ts +1 -1
  2. package/app/Footer/Footer.stories.d.ts +45 -1
  3. package/app/Footer/FooterLink/index.js +17 -0
  4. package/app/Footer/FooterLink/package.json +6 -0
  5. package/app/Footer/FooterLink.d.ts +7 -0
  6. package/app/Footer/FooterLink.js.map +7 -0
  7. package/app/Footer/__stories__/Default.d.ts +1 -1
  8. package/app/Footer/__stories__/DefaultCopyright.d.ts +1 -1
  9. package/app/Footer/__stories__/FooterAllInclusive.d.ts +1 -1
  10. package/app/Footer/__stories__/FooterWithLink.d.ts +1 -1
  11. package/app/Footer/__stories__/FooterWithLogo.d.ts +1 -1
  12. package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +1 -1
  13. package/app/Footer/__stories__/FooterWithText.d.ts +1 -1
  14. package/app/Footer/__stories__/YearCopyright.d.ts +1 -1
  15. package/app/Footer/index.d.ts +1 -1
  16. package/app/Footer/index.js +1 -1
  17. package/app/Footer/index.js.map +1 -1
  18. package/app/Header/Header.stories.d.ts +52 -1
  19. package/app/Header/HeaderLogo/index.js +12 -2
  20. package/app/Header/HeaderLogo.d.ts +6 -2
  21. package/app/Header/HeaderLogo.js.map +3 -3
  22. package/app/Header/HeaderSecondaryLogo/index.js +9 -1
  23. package/app/Header/HeaderSecondaryLogo.d.ts +6 -2
  24. package/app/Header/HeaderSecondaryLogo.js.map +3 -3
  25. package/app/Header/HeaderTitle/index.js +10 -2
  26. package/app/Header/HeaderTitle.d.ts +6 -2
  27. package/app/Header/HeaderTitle.js.map +3 -3
  28. package/app/Header/__stories__/Default.d.ts +1 -1
  29. package/app/Header/__stories__/WithHeaderNavigation.d.ts +1 -1
  30. package/app/Header/__stories__/WithNavigation.d.ts +1 -1
  31. package/app/Header/__stories__/WithServiceName.d.ts +1 -1
  32. package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +1 -1
  33. package/app/Loader/Loader.stories.d.ts +1 -0
  34. package/app/Loader/__stories__/AccessibilityLoader.d.ts +3 -0
  35. package/app/Loader/__stories__/Default.d.ts +1 -1
  36. package/app/Loader/__stories__/FullPageLoader.d.ts +1 -1
  37. package/app/Loader/index.d.ts +1 -1
  38. package/app/Loader/index.js +1 -1
  39. package/app/Loader/index.js.map +1 -1
  40. package/app/Loader/index.native/index.js +102 -0
  41. package/app/Loader/index.native/package.json +6 -0
  42. package/app/Loader/index.native.d.ts +3 -0
  43. package/app/Loader/index.native.js.map +7 -0
  44. package/app/Loader/index.web/index.js +18 -0
  45. package/app/Loader/index.web/package.json +6 -0
  46. package/app/Loader/index.web.d.ts +19 -0
  47. package/app/Loader/index.web.js.map +7 -0
  48. package/app/Masthead/Masthead.stories.d.ts +3 -0
  49. package/app/Masthead/__stories__/Default.d.ts +1 -1
  50. package/app/Masthead/__stories__/Secondary.d.ts +3 -0
  51. package/app/Masthead/__stories__/WithElements.d.ts +1 -1
  52. package/app/Masthead/__stories__/WithLogo.d.ts +1 -1
  53. package/app/Modal/Modal.stories.d.ts +2 -0
  54. package/app/Modal/__stories__/AlertDialog.d.ts +1 -1
  55. package/app/Modal/__stories__/Auto.d.ts +1 -1
  56. package/app/Modal/__stories__/Default.d.ts +1 -1
  57. package/app/Modal/__stories__/Dense.d.ts +1 -1
  58. package/app/Modal/__stories__/WithHooks.d.ts +1 -1
  59. package/app/Modal/__stories__/WithoutModalGaps.d.ts +1 -1
  60. package/app/Modal/auto/index.js +1 -1
  61. package/app/Modal/auto.js.map +2 -2
  62. package/app/Modal/hooks/index.js +2 -6
  63. package/app/Modal/hooks.d.ts +2 -2
  64. package/app/Modal/hooks.js.map +2 -2
  65. package/app/Modal/index.d.ts +2 -2
  66. package/app/Modal/index.js +2 -2
  67. package/app/Modal/index.js.map +1 -1
  68. package/app/Modal/index.native/index.js +20 -0
  69. package/app/Modal/index.native/package.json +6 -0
  70. package/app/Modal/index.native.d.ts +7 -0
  71. package/app/Modal/index.native.js.map +7 -0
  72. package/app/Modal/index.web/index.js +51 -0
  73. package/app/Modal/index.web/package.json +6 -0
  74. package/app/Modal/index.web.js.map +7 -0
  75. package/app/NotFound/NotFound.stories.d.ts +2 -0
  76. package/app/NotFound/__stories__/Default.d.ts +1 -1
  77. package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +2 -2
  78. package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +2 -2
  79. package/app/OutdatedBrowserBanner/index.d.ts +1 -0
  80. package/app/OutdatedBrowserBanner/index.js.map +2 -2
  81. package/app/Panel/Panel.stories.d.ts +2 -0
  82. package/app/Panel/__stories__/Default.d.ts +1 -1
  83. package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +2 -0
  84. package/app/PhaseBannerHeader/__stories__/Default.d.ts +1 -1
  85. package/app/PhaseBannerHeader/index.d.ts +1 -1
  86. package/app/PhaseBannerHeader/index.js.map +2 -2
  87. package/app/QrCodeScanner/__stories__/Default.d.ts +1 -1
  88. package/app/QrCodeScanner/index.js +1 -1
  89. package/app/QrCodeScanner/index.js.map +2 -2
  90. package/app/QrCodeViewer/QRCode.stories.d.ts +2 -0
  91. package/app/QrCodeViewer/__stories__/Custom.d.ts +1 -1
  92. package/app/QrCodeViewer/__stories__/Default.d.ts +1 -1
  93. package/app/QrCodeViewer/index.js +1 -1
  94. package/app/QrCodeViewer/index.js.map +2 -2
  95. package/app/QrCodeViewer/qrcodegen.js.map +1 -1
  96. package/app/QrCodeViewer/types.d.ts +6 -6
  97. package/app/QrCodeViewer/utils.js.map +2 -2
  98. package/app/Skeleton/Skeleton.stories.d.ts +58 -0
  99. package/app/Skeleton/__stories__/Button.d.ts +1 -1
  100. package/app/Skeleton/__stories__/Circular.d.ts +1 -1
  101. package/app/Skeleton/__stories__/Default.d.ts +1 -1
  102. package/app/Skeleton/__stories__/NoAnimation.d.ts +1 -1
  103. package/app/Skeleton/__stories__/Rectangular.d.ts +1 -1
  104. package/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +1 -1
  105. package/app/Skeleton/__stories__/TextSizes.d.ts +1 -1
  106. package/app/Skeleton/__stories__/UnderTypography.d.ts +1 -1
  107. package/app/Skeleton/__stories__/WithChildren.d.ts +1 -1
  108. package/app/ThemeOptions/index.js +0 -4
  109. package/app/ThemeOptions/index.js.map +2 -2
  110. package/app/hooks/useHighlightLinks.js.map +2 -2
  111. package/app/hooks/useNotificationArea/index.js +76 -0
  112. package/app/hooks/useNotificationArea/package.json +6 -0
  113. package/app/hooks/useNotificationArea.d.ts +1 -0
  114. package/app/hooks/useNotificationArea.js.map +7 -0
  115. package/app/hooks/useTheme/index.js +3 -1
  116. package/app/hooks/useTheme.js.map +2 -2
  117. package/cjs/app/Footer/FooterLink/index.js +50 -0
  118. package/cjs/app/Footer/FooterLink.js.map +7 -0
  119. package/cjs/app/Footer/index.js +3 -3
  120. package/cjs/app/Footer/index.js.map +2 -2
  121. package/cjs/app/Header/HeaderLogo/index.js +13 -4
  122. package/cjs/app/Header/HeaderLogo.js.map +3 -3
  123. package/cjs/app/Header/HeaderSecondaryLogo/index.js +12 -4
  124. package/cjs/app/Header/HeaderSecondaryLogo.js.map +3 -3
  125. package/cjs/app/Header/HeaderTitle/index.js +11 -4
  126. package/cjs/app/Header/HeaderTitle.js.map +3 -3
  127. package/cjs/app/Loader/index.js +3 -3
  128. package/cjs/app/Loader/index.js.map +2 -2
  129. package/cjs/app/Loader/index.native/index.js +135 -0
  130. package/cjs/app/Loader/index.native.js.map +7 -0
  131. package/cjs/app/Loader/index.web/index.js +53 -0
  132. package/cjs/app/Loader/index.web.js.map +7 -0
  133. package/cjs/app/Modal/auto/index.js +1 -1
  134. package/cjs/app/Modal/auto.js.map +2 -2
  135. package/cjs/app/Modal/hooks/index.js +2 -6
  136. package/cjs/app/Modal/hooks.js.map +2 -2
  137. package/cjs/app/Modal/index.js +3 -3
  138. package/cjs/app/Modal/index.js.map +2 -2
  139. package/cjs/app/Modal/index.native/index.js +53 -0
  140. package/cjs/app/Modal/index.native.js.map +7 -0
  141. package/cjs/app/Modal/index.web/index.js +85 -0
  142. package/cjs/app/Modal/index.web.js.map +7 -0
  143. package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +2 -2
  144. package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +2 -2
  145. package/cjs/app/OutdatedBrowserBanner/index.js.map +2 -2
  146. package/cjs/app/PhaseBannerHeader/index.js.map +2 -2
  147. package/cjs/app/QrCodeScanner/index.js +1 -1
  148. package/cjs/app/QrCodeScanner/index.js.map +2 -2
  149. package/cjs/app/QrCodeViewer/index.js +1 -1
  150. package/cjs/app/QrCodeViewer/index.js.map +2 -2
  151. package/cjs/app/QrCodeViewer/qrcodegen.js.map +1 -1
  152. package/cjs/app/QrCodeViewer/types.js.map +1 -1
  153. package/cjs/app/QrCodeViewer/utils.js.map +2 -2
  154. package/cjs/app/ThemeOptions/index.js +0 -4
  155. package/cjs/app/ThemeOptions/index.js.map +2 -2
  156. package/cjs/app/hooks/useHighlightLinks.js.map +2 -2
  157. package/cjs/app/hooks/useNotificationArea/index.js +99 -0
  158. package/cjs/app/hooks/useNotificationArea.js.map +7 -0
  159. package/cjs/app/hooks/useTheme/index.js +3 -1
  160. package/cjs/app/hooks/useTheme.js.map +2 -2
  161. package/cjs/content/Accordion/auto.js.map +2 -2
  162. package/cjs/content/Accordion/hooks.js.map +1 -1
  163. package/cjs/content/Accordion/index.js.map +2 -2
  164. package/cjs/content/Markdown/index.js +4 -1
  165. package/cjs/content/Markdown/index.js.map +2 -2
  166. package/cjs/content/SafeHTML/index.js.map +2 -2
  167. package/cjs/content/StepNav/auto/index.js +2 -2
  168. package/cjs/content/StepNav/auto.js.map +3 -3
  169. package/cjs/content/Table/TableFloatingScroll.js.map +2 -2
  170. package/cjs/content/Table/hooks/useSort/index.js +1 -2
  171. package/cjs/content/Table/hooks/useSort.js.map +3 -3
  172. package/cjs/content/Table/index.js +5 -5
  173. package/cjs/content/Table/index.js.map +2 -2
  174. package/cjs/feedback/CopyToClipboard/index.js +1 -1
  175. package/cjs/feedback/CopyToClipboard/index.js.map +2 -2
  176. package/cjs/form/AutoComplete/Status/index.js.map +2 -2
  177. package/cjs/form/AutoComplete/index.js +93 -69
  178. package/cjs/form/AutoComplete/index.js.map +3 -3
  179. package/cjs/form/Button/ButtonLink/index.js +13 -4
  180. package/cjs/form/Button/ButtonLink.js.map +3 -3
  181. package/cjs/form/Button/CallToAction/index.js +11 -4
  182. package/cjs/form/Button/CallToAction.js.map +3 -3
  183. package/cjs/govgr/GovGRLogo/index.js +14 -4
  184. package/cjs/govgr/GovGRLogo/index.js.map +3 -3
  185. package/cjs/i18n/index.js +19 -2
  186. package/cjs/i18n/index.js.map +2 -2
  187. package/cjs/i18n/locales/el/index.js +60 -9
  188. package/cjs/i18n/locales/el.js.map +2 -2
  189. package/cjs/i18n/locales/en/index.js +55 -4
  190. package/cjs/i18n/locales/en.js.map +2 -2
  191. package/cjs/icons/IconBase/index.js +41 -0
  192. package/cjs/icons/IconBase/index.js.map +7 -0
  193. package/cjs/icons/SvgIcon/index.js +41 -0
  194. package/cjs/icons/SvgIcon/index.js.map +7 -0
  195. package/cjs/icons/index.js +5 -1
  196. package/cjs/icons/index.js.map +2 -2
  197. package/cjs/layouts/Basic/index.js +1 -3
  198. package/cjs/layouts/Basic/index.js.map +2 -2
  199. package/cjs/layouts/Screen/index.js.map +1 -1
  200. package/cjs/layouts/Stack/index.js +6 -0
  201. package/cjs/layouts/Stack/index.js.map +2 -2
  202. package/cjs/lazy.js +377 -0
  203. package/cjs/lazy.js.map +3 -3
  204. package/cjs/navigation/BackLink/index.js +13 -4
  205. package/cjs/navigation/BackLink/index.js.map +3 -3
  206. package/cjs/navigation/BackToTopLink/index.js +1 -3
  207. package/cjs/navigation/BackToTopLink/index.js.map +2 -2
  208. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +61 -0
  209. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  210. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItemLink/index.js +48 -0
  211. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItemLink.js.map +7 -0
  212. package/cjs/navigation/Breadcrumbs/auto/index.js +16 -10
  213. package/cjs/navigation/Breadcrumbs/auto.js.map +3 -3
  214. package/cjs/navigation/Breadcrumbs/hooks/index.js +41 -30
  215. package/cjs/navigation/Breadcrumbs/hooks.js.map +3 -3
  216. package/cjs/navigation/Breadcrumbs/index.js +6 -2
  217. package/cjs/navigation/Breadcrumbs/index.js.map +2 -2
  218. package/cjs/navigation/Breadcrumbs/slug/index.js +1 -1
  219. package/cjs/navigation/Breadcrumbs/slug.js.map +2 -2
  220. package/cjs/navigation/Breadcrumbs/utils.js.map +2 -2
  221. package/cjs/navigation/Drawer/hooks/index.js +2 -6
  222. package/cjs/navigation/Drawer/hooks.js.map +2 -2
  223. package/cjs/navigation/Link/index.js +6 -2
  224. package/cjs/navigation/Link/index.js.map +2 -2
  225. package/cjs/navigation/NavList/NavListAuto/index.js +7 -13
  226. package/cjs/navigation/NavList/NavListAuto/index.js.map +3 -3
  227. package/cjs/navigation/NavList/NavListItemAction/index.js +66 -0
  228. package/cjs/navigation/NavList/NavListItemAction.js.map +7 -0
  229. package/cjs/navigation/NavList/NavListItemLink/index.js +48 -0
  230. package/cjs/navigation/NavList/NavListItemLink.js.map +7 -0
  231. package/cjs/navigation/NavList/hooks/useTogglableNav/index.js +2 -2
  232. package/cjs/navigation/NavList/hooks/useTogglableNav.js.map +2 -2
  233. package/cjs/navigation/NavList/index.js +4 -4
  234. package/cjs/navigation/NavList/index.js.map +2 -2
  235. package/cjs/navigation/Pagination/hooks/index.js +2 -2
  236. package/cjs/navigation/Pagination/hooks.js.map +2 -2
  237. package/cjs/navigation/Tabs/hooks/index.js +1 -1
  238. package/cjs/navigation/Tabs/hooks.js.map +2 -2
  239. package/cjs/registry.js +433 -0
  240. package/cjs/registry.js.map +3 -3
  241. package/cjs/typography/Code/index.js.map +1 -1
  242. package/cjs/typography/CodeBlock/index.js +1 -2
  243. package/cjs/typography/CodeBlock/index.js.map +2 -2
  244. package/cjs/typography/Typography/index.js.map +1 -1
  245. package/cjs/utils/hooks/useDebounce/index.js +3 -3
  246. package/cjs/utils/hooks/useDebounce.js.map +2 -2
  247. package/cjs/utils/hooks/useLatest.js.map +2 -2
  248. package/cjs/utils/hooks/useScreen/index.js +5 -47
  249. package/cjs/utils/hooks/useScreen.js.map +3 -3
  250. package/cjs/utils/hooks/useScreen.native/index.js +70 -0
  251. package/cjs/utils/hooks/useScreen.native.js.map +7 -0
  252. package/cjs/utils/hooks/useScreen.web/index.js +93 -0
  253. package/cjs/utils/hooks/useScreen.web.js.map +7 -0
  254. package/cjs/utils/hooks/useSearch.js.map +2 -2
  255. package/cjs/utils/index.js +0 -2
  256. package/cjs/utils/index.js.map +2 -2
  257. package/content/Accordion/Accordion.stories.d.ts +91 -1
  258. package/content/Accordion/__stories__/Auto.d.ts +1 -1
  259. package/content/Accordion/__stories__/Default.d.ts +1 -1
  260. package/content/Accordion/__stories__/WithHints.d.ts +1 -1
  261. package/content/Accordion/__stories__/WithHook.d.ts +1 -1
  262. package/content/Accordion/auto.d.ts +1 -2
  263. package/content/Accordion/auto.js.map +2 -2
  264. package/content/Accordion/hooks.js.map +1 -1
  265. package/content/Accordion/index.js.map +2 -2
  266. package/content/Blockquote/Blockquote.stories.d.ts +29 -0
  267. package/content/Blockquote/__stories__/Default.d.ts +1 -1
  268. package/content/Blockquote/__stories__/Dense.d.ts +1 -1
  269. package/content/Card/Card.stories.d.ts +127 -1
  270. package/content/Card/__stories__/Default.d.ts +1 -1
  271. package/content/Card/__stories__/Dense.d.ts +1 -1
  272. package/content/Card/__stories__/WithClickableContent.d.ts +1 -1
  273. package/content/Card/__stories__/WithClickableLink.d.ts +1 -1
  274. package/content/Card/__stories__/WithDarkBorder.d.ts +1 -1
  275. package/content/Card/__stories__/WithDarkTopBorder.d.ts +1 -1
  276. package/content/Card/__stories__/WithDivider.d.ts +1 -1
  277. package/content/Card/__stories__/WithGrayBorder.d.ts +1 -1
  278. package/content/Card/__stories__/WithGrayTopBorder.d.ts +1 -1
  279. package/content/Card/__stories__/WithGroupButton.d.ts +1 -1
  280. package/content/Card/__stories__/WithLink.d.ts +1 -1
  281. package/content/Chip/Chip.stories.d.ts +38 -0
  282. package/content/Chip/__stories__/ClickableChip.d.ts +1 -1
  283. package/content/Chip/__stories__/ClickableDeletableChip.d.ts +1 -1
  284. package/content/Chip/__stories__/Default.d.ts +1 -1
  285. package/content/Chip/__stories__/DeletableChip.d.ts +1 -1
  286. package/content/Chip/__stories__/GroupOfChips.d.ts +1 -1
  287. package/content/Details/Details.stories.d.ts +2 -0
  288. package/content/Details/__stories__/Default.d.ts +1 -1
  289. package/content/List/List.stories.d.ts +53 -1
  290. package/content/List/__stories__/BulletList.d.ts +1 -1
  291. package/content/List/__stories__/Default.d.ts +1 -1
  292. package/content/List/__stories__/HorizontalList.d.ts +1 -1
  293. package/content/List/__stories__/NestedBulletList.d.ts +1 -1
  294. package/content/List/__stories__/NumberedList.d.ts +1 -1
  295. package/content/List/__stories__/WithExtraSpace.d.ts +1 -1
  296. package/content/Markdown/__stories__/Default.d.ts +1 -1
  297. package/content/Markdown/index.d.ts +1 -1
  298. package/content/Markdown/index.js +4 -1
  299. package/content/Markdown/index.js.map +2 -2
  300. package/content/SafeHTML/__stories__/Default.d.ts +1 -1
  301. package/content/SafeHTML/index.d.ts +1 -1
  302. package/content/SafeHTML/index.js.map +2 -2
  303. package/content/StepNav/StepNav.stories.d.ts +2 -0
  304. package/content/StepNav/__stories__/Auto.d.ts +1 -1
  305. package/content/StepNav/__stories__/Default.d.ts +1 -1
  306. package/content/StepNav/__stories__/Dense.d.ts +1 -1
  307. package/content/StepNav/__stories__/WithHints.d.ts +1 -1
  308. package/content/StepNav/__stories__/WithHook.d.ts +1 -1
  309. package/content/StepNav/auto/index.js +3 -1
  310. package/content/StepNav/auto.d.ts +1 -2
  311. package/content/StepNav/auto.js.map +2 -2
  312. package/content/SummaryList/SummaryList.stories.d.ts +2 -0
  313. package/content/SummaryList/__stories__/Default.d.ts +1 -1
  314. package/content/SummaryList/__stories__/RowVariations.d.ts +1 -1
  315. package/content/SummaryList/__stories__/WithActions.d.ts +1 -1
  316. package/content/SummaryList/__stories__/WithKeyAndAction.d.ts +1 -1
  317. package/content/SummaryList/__stories__/WithNoLastBorder.d.ts +1 -1
  318. package/content/SummaryList/__stories__/WithoutActions.d.ts +1 -1
  319. package/content/SummaryList/__stories__/WithoutBorders.d.ts +1 -1
  320. package/content/Table/Table.stories.d.ts +127 -2
  321. package/content/Table/TableFloatingScroll.js.map +2 -2
  322. package/content/Table/__stories__/DarkVariant.d.ts +1 -1
  323. package/content/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +1 -1
  324. package/content/Table/__stories__/Default.d.ts +1 -1
  325. package/content/Table/__stories__/DefinedWidth.d.ts +1 -1
  326. package/content/Table/__stories__/Dense.d.ts +3 -0
  327. package/content/Table/__stories__/Full.d.ts +1 -1
  328. package/content/Table/__stories__/MultipleProps.d.ts +1 -1
  329. package/content/Table/__stories__/NoData.d.ts +1 -1
  330. package/content/Table/__stories__/NumericDataType.d.ts +1 -1
  331. package/content/Table/__stories__/RowColors.d.ts +1 -1
  332. package/content/Table/__stories__/Stacked.d.ts +1 -1
  333. package/content/Table/__stories__/TableCaptions.d.ts +1 -1
  334. package/content/Table/__stories__/VerticalBorders.d.ts +1 -1
  335. package/content/Table/__stories__/VerticalHeaders.d.ts +1 -1
  336. package/content/Table/__stories__/WithFloatingScroll.d.ts +1 -1
  337. package/content/Table/__stories__/WithLoader.d.ts +1 -1
  338. package/content/Table/__stories__/WithSortFilters.d.ts +1 -1
  339. package/content/Table/__stories__/ZebraProp.d.ts +1 -1
  340. package/content/Table/hooks/useSort/index.js +1 -2
  341. package/content/Table/hooks/useSort.js.map +2 -2
  342. package/content/Table/index.js +5 -5
  343. package/content/Table/index.js.map +2 -2
  344. package/content/TaskList/TaskList.stories.d.ts +2 -0
  345. package/content/TaskList/__stories__/Default.d.ts +1 -1
  346. package/content/TaskList/__stories__/Dense.d.ts +1 -1
  347. package/content/Timeline/Timeline.stories.d.ts +2 -0
  348. package/content/Timeline/__stories__/Default.d.ts +1 -1
  349. package/content/Timeline/__stories__/Dense.d.ts +1 -1
  350. package/feedback/CopyToClipboard/CopyToClipboard.stories.d.ts +83 -1
  351. package/feedback/CopyToClipboard/__stories__/Banner.d.ts +1 -1
  352. package/feedback/CopyToClipboard/__stories__/Default.d.ts +1 -1
  353. package/feedback/CopyToClipboard/__stories__/Dense.d.ts +1 -1
  354. package/feedback/CopyToClipboard/index.js +1 -1
  355. package/feedback/CopyToClipboard/index.js.map +2 -2
  356. package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +45 -1
  357. package/feedback/ErrorSummary/__stories__/Default.d.ts +1 -1
  358. package/feedback/ErrorSummary/__stories__/Dense.d.ts +1 -1
  359. package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.d.ts +3 -0
  360. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +1 -1
  361. package/feedback/ErrorSummary/__stories__/LinkedToField.d.ts +1 -1
  362. package/feedback/ErrorSummary/__stories__/LinkedToInput.d.ts +1 -1
  363. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +1 -1
  364. package/feedback/NotificationBanner/NotificationBanner.stories.d.ts +62 -0
  365. package/feedback/NotificationBanner/__stories__/Default.d.ts +1 -1
  366. package/feedback/NotificationBanner/__stories__/Dense.d.ts +1 -1
  367. package/feedback/NotificationBanner/__stories__/Expanded.d.ts +3 -0
  368. package/feedback/NotificationBanner/__stories__/Success.d.ts +1 -1
  369. package/feedback/PhaseBanner/PhaseBanner.stories.d.ts +32 -1
  370. package/feedback/PhaseBanner/__stories__/Default.d.ts +1 -1
  371. package/feedback/PhaseBanner/__stories__/Underlined.d.ts +1 -1
  372. package/feedback/WarningText/WarningText.stories.d.ts +47 -0
  373. package/feedback/WarningText/__stories__/AssistiveText.d.ts +1 -1
  374. package/feedback/WarningText/__stories__/Default.d.ts +1 -1
  375. package/feedback/WarningText/__stories__/Dense.d.ts +1 -1
  376. package/form/AutoComplete/AutoComplete.stories.d.ts +125 -0
  377. package/form/AutoComplete/Status/index.d.ts +5 -5
  378. package/form/AutoComplete/Status/index.js.map +2 -2
  379. package/form/AutoComplete/__stories__/Default.d.ts +1 -1
  380. package/form/AutoComplete/__stories__/Multiple.d.ts +1 -1
  381. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +1 -1
  382. package/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +1 -1
  383. package/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +1 -1
  384. package/form/AutoComplete/__stories__/WithAutoSelect.d.ts +1 -1
  385. package/form/AutoComplete/__stories__/WithCustomValue.d.ts +3 -0
  386. package/form/AutoComplete/__stories__/WithDefaultValue.d.ts +1 -1
  387. package/form/AutoComplete/__stories__/WithHint.d.ts +3 -0
  388. package/form/AutoComplete/__stories__/WithMinLength.d.ts +1 -1
  389. package/form/AutoComplete/__stories__/WithPlaceHolder.d.ts +1 -1
  390. package/form/AutoComplete/__stories__/WithShowAllValues.d.ts +1 -1
  391. package/form/AutoComplete/index.d.ts +15 -15
  392. package/form/AutoComplete/index.js +76 -51
  393. package/form/AutoComplete/index.js.map +2 -2
  394. package/form/Button/Button.stories.d.ts +61 -2
  395. package/form/Button/ButtonLink/index.js +12 -2
  396. package/form/Button/ButtonLink.d.ts +6 -2
  397. package/form/Button/ButtonLink.js.map +3 -3
  398. package/form/Button/CallToAction/index.js +10 -2
  399. package/form/Button/CallToAction.d.ts +6 -2
  400. package/form/Button/CallToAction.js.map +3 -3
  401. package/form/Button/__stories__/Back.d.ts +1 -1
  402. package/form/Button/__stories__/ButtonLinkButton.d.ts +1 -1
  403. package/form/Button/__stories__/CallToActionButton.d.ts +1 -1
  404. package/form/Button/__stories__/Dense.d.ts +1 -1
  405. package/form/Button/__stories__/Disabled.d.ts +1 -1
  406. package/form/Button/__stories__/GroupingButtons.d.ts +1 -1
  407. package/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +1 -1
  408. package/form/Button/__stories__/Primary.d.ts +8 -1
  409. package/form/Button/__stories__/Secondary.d.ts +1 -1
  410. package/form/Button/__stories__/ThemeToggle.d.ts +1 -1
  411. package/form/Button/__stories__/Warning.d.ts +1 -1
  412. package/form/Button/__stories__/WithVariantLink.d.ts +1 -1
  413. package/form/Checkbox/Checkbox.stories.d.ts +168 -1
  414. package/form/Checkbox/__stories__/ConditionalReveal.d.ts +1 -1
  415. package/form/Checkbox/__stories__/Default.d.ts +1 -1
  416. package/form/Checkbox/__stories__/Dense.d.ts +1 -1
  417. package/form/Checkbox/__stories__/Inline.d.ts +1 -1
  418. package/form/Checkbox/__stories__/InlineWithDivider.d.ts +1 -1
  419. package/form/Checkbox/__stories__/MultipleQuestions.d.ts +1 -1
  420. package/form/Checkbox/__stories__/NoneAnswer.d.ts +1 -1
  421. package/form/Checkbox/__stories__/NoneAnswerWithError.d.ts +1 -1
  422. package/form/Checkbox/__stories__/WithErrorMessage.d.ts +1 -1
  423. package/form/Checkbox/__stories__/WithHint.d.ts +1 -1
  424. package/form/DateInputContainer/DateInputContainer.stories.d.ts +143 -1
  425. package/form/DateInputContainer/__stories__/Default.d.ts +1 -1
  426. package/form/DateInputContainer/__stories__/Dense.d.ts +1 -1
  427. package/form/DateInputContainer/__stories__/MultipleQuestions.d.ts +1 -1
  428. package/form/DateInputContainer/__stories__/WithErrorMessage.d.ts +1 -1
  429. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.d.ts +1 -1
  430. package/form/ErrorMessage/ErrorMessage.stories.d.ts +35 -0
  431. package/form/ErrorMessage/__stories__/DateInputError.d.ts +1 -1
  432. package/form/ErrorMessage/__stories__/Default.d.ts +1 -1
  433. package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +1 -1
  434. package/form/FileUpload/FileUpload.stories.d.ts +3 -0
  435. package/form/FileUpload/__stories__/Default.d.ts +1 -1
  436. package/form/FileUpload/__stories__/WithErrorMessage.d.ts +1 -1
  437. package/form/FileUpload/__stories__/WithVariantLink.d.ts +3 -0
  438. package/form/RadioContainer/RadioContainer.stories.d.ts +176 -1
  439. package/form/RadioContainer/__stories__/ConditionalReveal.d.ts +1 -1
  440. package/form/RadioContainer/__stories__/Default.d.ts +1 -1
  441. package/form/RadioContainer/__stories__/Dense.d.ts +1 -1
  442. package/form/RadioContainer/__stories__/Inline.d.ts +1 -1
  443. package/form/RadioContainer/__stories__/InlineWithDivider.d.ts +1 -1
  444. package/form/RadioContainer/__stories__/MultipleQuestions.d.ts +1 -1
  445. package/form/RadioContainer/__stories__/NoneAnswer.d.ts +1 -1
  446. package/form/RadioContainer/__stories__/WithErrorMessage.d.ts +1 -1
  447. package/form/RadioContainer/__stories__/WithHints.d.ts +1 -1
  448. package/form/RadioContainer/__stories__/WithMediumLegend.d.ts +1 -1
  449. package/form/SearchContainer/SearchContainer.stories.d.ts +11 -0
  450. package/form/SearchContainer/__stories__/Default.d.ts +3 -0
  451. package/form/SearchContainer/index.test.d.ts +1 -0
  452. package/form/SelectContainer/SelectContainer.stories.d.ts +137 -1
  453. package/form/SelectContainer/__stories__/Default.d.ts +1 -1
  454. package/form/SelectContainer/__stories__/Dense.d.ts +1 -1
  455. package/form/SelectContainer/__stories__/DisabledInput.d.ts +1 -1
  456. package/form/SelectContainer/__stories__/WithHint.d.ts +1 -1
  457. package/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +110 -1
  458. package/form/SingleCharacterInputs/__stories__/Default.d.ts +1 -1
  459. package/form/SingleCharacterInputs/__stories__/WithDefaultError.d.ts +1 -1
  460. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.d.ts +1 -1
  461. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.d.ts +1 -1
  462. package/form/TextArea/TextArea.stories.d.ts +119 -1
  463. package/form/TextArea/__stories__/Default.d.ts +1 -1
  464. package/form/TextArea/__stories__/Dense.d.ts +1 -1
  465. package/form/TextArea/__stories__/DisabledInput.d.ts +1 -1
  466. package/form/TextArea/__stories__/LimitedCharacters.d.ts +1 -1
  467. package/form/TextArea/__stories__/MultipleQuestions.d.ts +1 -1
  468. package/form/TextArea/__stories__/WithDeclaredRows.d.ts +1 -1
  469. package/form/TextArea/__stories__/WithErrorMessage.d.ts +1 -1
  470. package/form/TextArea/__stories__/WithHint.d.ts +1 -1
  471. package/form/TextInput/TextInput.stories.d.ts +120 -0
  472. package/form/TextInput/__stories__/AskingForNumbers.d.ts +1 -1
  473. package/form/TextInput/__stories__/Default.d.ts +1 -1
  474. package/form/TextInput/__stories__/Dense.d.ts +1 -1
  475. package/form/TextInput/__stories__/DisabledInput.d.ts +1 -1
  476. package/form/TextInput/__stories__/DisabledInputWithValue.d.ts +1 -1
  477. package/form/TextInput/__stories__/FixedWidths.d.ts +1 -1
  478. package/form/TextInput/__stories__/FluidWidths.d.ts +1 -1
  479. package/form/TextInput/__stories__/MultipleQuestions.d.ts +1 -1
  480. package/form/TextInput/__stories__/WithErrorMessage.d.ts +1 -1
  481. package/form/TextInput/__stories__/WithHint.d.ts +1 -1
  482. package/govgr/GovGRLogo/index.d.ts +6 -2
  483. package/govgr/GovGRLogo/index.js +11 -1
  484. package/govgr/GovGRLogo/index.js.map +3 -3
  485. package/i18n/index.js +19 -2
  486. package/i18n/index.js.map +2 -2
  487. package/i18n/locales/el/index.js +60 -9
  488. package/i18n/locales/el.d.ts +52 -1
  489. package/i18n/locales/el.js.map +2 -2
  490. package/i18n/locales/en/index.js +55 -4
  491. package/i18n/locales/en.d.ts +51 -0
  492. package/i18n/locales/en.js.map +2 -2
  493. package/icons/IconBase/index.d.ts +3 -0
  494. package/icons/IconBase/index.js +7 -0
  495. package/icons/IconBase/index.js.map +7 -0
  496. package/icons/IconBase/package.json +6 -0
  497. package/icons/SvgIcon/index.d.ts +3 -0
  498. package/icons/SvgIcon/index.js +7 -0
  499. package/icons/SvgIcon/index.js.map +7 -0
  500. package/icons/SvgIcon/package.json +6 -0
  501. package/icons/index.d.ts +2 -0
  502. package/icons/index.js +2 -0
  503. package/icons/index.js.map +2 -2
  504. package/index.js +1 -1
  505. package/layouts/Basic/Basic.stories.d.ts +2 -0
  506. package/layouts/Basic/Bottom/__stories__/Default.d.ts +1 -1
  507. package/layouts/Basic/Container/__stories__/Default.d.ts +1 -1
  508. package/layouts/Basic/Main/__stories__/Default.d.ts +1 -1
  509. package/layouts/Basic/Top/__stories__/Default.d.ts +1 -1
  510. package/layouts/Basic/__stories__/Default.d.ts +1 -1
  511. package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +1 -1
  512. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +1 -1
  513. package/layouts/Basic/__stories__/WithBasicLayout.d.ts +1 -1
  514. package/layouts/Basic/index.d.ts +0 -1
  515. package/layouts/Basic/index.js +0 -1
  516. package/layouts/Basic/index.js.map +2 -2
  517. package/layouts/Grid/Grid.stories.d.ts +2 -0
  518. package/layouts/Grid/__stories__/Default.d.ts +1 -1
  519. package/layouts/Grid/__stories__/Inline.d.ts +1 -1
  520. package/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +1 -1
  521. package/layouts/Screen/__stories__/Default.d.ts +1 -1
  522. package/layouts/Screen/__stories__/ScreenDown.d.ts +1 -1
  523. package/layouts/Screen/__stories__/ScreenUp.d.ts +1 -1
  524. package/layouts/Screen/__stories__/SpecificScreenSize.d.ts +1 -1
  525. package/layouts/Screen/index.js.map +1 -1
  526. package/layouts/Stack/Stack.stories.d.ts +2 -0
  527. package/layouts/Stack/__stories__/AlignItems.d.ts +1 -1
  528. package/layouts/Stack/__stories__/Default.d.ts +1 -1
  529. package/layouts/Stack/__stories__/JustifyContent.d.ts +1 -1
  530. package/layouts/Stack/__stories__/NoWrap.d.ts +1 -1
  531. package/layouts/Stack/__stories__/Row.d.ts +1 -1
  532. package/layouts/Stack/__stories__/Spacing.d.ts +1 -1
  533. package/layouts/Stack/index.d.ts +1 -0
  534. package/layouts/Stack/index.js +1 -0
  535. package/layouts/Stack/index.js.map +2 -2
  536. package/lazy/index.js +343 -1646
  537. package/navigation/BackLink/BackLink.stories.d.ts +2 -0
  538. package/navigation/BackLink/__stories__/Default.d.ts +1 -1
  539. package/navigation/BackLink/index.d.ts +6 -2
  540. package/navigation/BackLink/index.js +12 -2
  541. package/navigation/BackLink/index.js.map +3 -3
  542. package/navigation/BackToTopLink/__stories__/Default.d.ts +1 -1
  543. package/navigation/BackToTopLink/__stories__/InMain.d.ts +1 -1
  544. package/navigation/BackToTopLink/index.js +1 -3
  545. package/navigation/BackToTopLink/index.js.map +2 -2
  546. package/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +3 -0
  547. package/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +30 -0
  548. package/navigation/Breadcrumbs/BreadcrumbsListItem/package.json +6 -0
  549. package/navigation/Breadcrumbs/BreadcrumbsListItem.d.ts +8 -0
  550. package/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  551. package/navigation/Breadcrumbs/BreadcrumbsListItemLink/index.js +15 -0
  552. package/navigation/Breadcrumbs/BreadcrumbsListItemLink/package.json +6 -0
  553. package/navigation/Breadcrumbs/BreadcrumbsListItemLink.d.ts +7 -0
  554. package/navigation/Breadcrumbs/BreadcrumbsListItemLink.js.map +7 -0
  555. package/navigation/Breadcrumbs/__stories__/Auto.d.ts +1 -1
  556. package/navigation/Breadcrumbs/__stories__/Default.d.ts +1 -1
  557. package/navigation/Breadcrumbs/__stories__/WithHook.d.ts +1 -1
  558. package/navigation/Breadcrumbs/__stories__/WithProvider.d.ts +3 -0
  559. package/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.d.ts +1 -1
  560. package/navigation/Breadcrumbs/auto/index.js +24 -12
  561. package/navigation/Breadcrumbs/auto.d.ts +4 -6
  562. package/navigation/Breadcrumbs/auto.js.map +3 -3
  563. package/navigation/Breadcrumbs/hooks/index.js +41 -30
  564. package/navigation/Breadcrumbs/hooks.d.ts +5 -20
  565. package/navigation/Breadcrumbs/hooks.js.map +3 -3
  566. package/navigation/Breadcrumbs/index.d.ts +3 -1
  567. package/navigation/Breadcrumbs/index.js +3 -1
  568. package/navigation/Breadcrumbs/index.js.map +2 -2
  569. package/navigation/Breadcrumbs/slug/index.js +1 -1
  570. package/navigation/Breadcrumbs/slug.js.map +2 -2
  571. package/navigation/Breadcrumbs/utils.js.map +2 -2
  572. package/navigation/Drawer/Drawer.stories.d.ts +2 -0
  573. package/navigation/Drawer/__stories__/Auto.d.ts +2 -1
  574. package/navigation/Drawer/__stories__/Default.d.ts +1 -1
  575. package/navigation/Drawer/__stories__/WithHook.d.ts +1 -1
  576. package/navigation/Drawer/hooks/index.js +2 -6
  577. package/navigation/Drawer/hooks.js.map +2 -2
  578. package/navigation/Dropdown/Dropdown.stories.d.ts +2 -0
  579. package/navigation/Dropdown/__stories__/AlignRight.d.ts +1 -1
  580. package/navigation/Dropdown/__stories__/ContentPosition.d.ts +1 -1
  581. package/navigation/Dropdown/__stories__/Default.d.ts +1 -1
  582. package/navigation/Dropdown/__stories__/Dense.d.ts +1 -1
  583. package/navigation/Dropdown/__stories__/Disabled.d.ts +1 -1
  584. package/navigation/Dropdown/__stories__/PlacementTop.d.ts +1 -1
  585. package/navigation/Dropdown/__stories__/ScrollableContent.d.ts +1 -1
  586. package/navigation/Dropdown/__stories__/Secondary.d.ts +1 -1
  587. package/navigation/Dropdown/__stories__/VariantLink.d.ts +1 -1
  588. package/navigation/Dropdown/__stories__/Warning.d.ts +1 -1
  589. package/navigation/Dropdown/__stories__/WithIcons.d.ts +1 -1
  590. package/navigation/Link/Link.stories.d.ts +2 -0
  591. package/navigation/Link/__stories__/DarkBackground.d.ts +1 -1
  592. package/navigation/Link/__stories__/DarkBackgroundNoUnderline.d.ts +1 -1
  593. package/navigation/Link/__stories__/Default.d.ts +1 -1
  594. package/navigation/Link/__stories__/ExternalLink.d.ts +1 -1
  595. package/navigation/Link/__stories__/NoUnderline.d.ts +1 -1
  596. package/navigation/Link/__stories__/OpensInNewTab.d.ts +1 -1
  597. package/navigation/Link/__stories__/WithProvider.d.ts +1 -1
  598. package/navigation/Link/index.js +6 -2
  599. package/navigation/Link/index.js.map +2 -2
  600. package/navigation/NavList/NavList.stories.d.ts +2 -0
  601. package/navigation/NavList/NavListAuto/index.js +10 -8
  602. package/navigation/NavList/NavListAuto/index.js.map +2 -2
  603. package/navigation/NavList/NavListItemAction/index.js +37 -0
  604. package/navigation/NavList/NavListItemAction/package.json +6 -0
  605. package/navigation/NavList/NavListItemAction.d.ts +27 -0
  606. package/navigation/NavList/NavListItemAction.js.map +7 -0
  607. package/navigation/NavList/NavListItemLink/index.js +15 -0
  608. package/navigation/NavList/NavListItemLink/package.json +6 -0
  609. package/navigation/NavList/NavListItemLink.d.ts +7 -0
  610. package/navigation/NavList/NavListItemLink.js.map +7 -0
  611. package/navigation/NavList/__stories__/Default.d.ts +1 -1
  612. package/navigation/NavList/__stories__/HorizontalWithDrawer.d.ts +1 -1
  613. package/navigation/NavList/__stories__/HorizontalWithoutDrawer.d.ts +1 -1
  614. package/navigation/NavList/__stories__/NavListWithoutNav.d.ts +1 -1
  615. package/navigation/NavList/__stories__/UsingHeaderButton.d.ts +1 -1
  616. package/navigation/NavList/__stories__/UsingNavListAuto.d.ts +1 -1
  617. package/navigation/NavList/__stories__/Vertical.d.ts +1 -1
  618. package/navigation/NavList/__stories__/VerticalWithoutDrawer.d.ts +1 -1
  619. package/navigation/NavList/__stories__/WithBadge.d.ts +1 -1
  620. package/navigation/NavList/hooks/useTogglableNav/index.js +2 -2
  621. package/navigation/NavList/hooks/useTogglableNav.js.map +2 -2
  622. package/navigation/NavList/index.d.ts +2 -2
  623. package/navigation/NavList/index.js +2 -2
  624. package/navigation/NavList/index.js.map +2 -2
  625. package/navigation/Pagination/Pagination.stories.d.ts +2 -0
  626. package/navigation/Pagination/__stories__/Auto.d.ts +1 -1
  627. package/navigation/Pagination/__stories__/Default.d.ts +1 -1
  628. package/navigation/Pagination/__stories__/PaginationSmall.d.ts +1 -1
  629. package/navigation/Pagination/__stories__/PaginationWithSmallFont.d.ts +1 -1
  630. package/navigation/Pagination/__stories__/WithHook.d.ts +1 -1
  631. package/navigation/Pagination/__stories__/WithInactiveValues.d.ts +1 -1
  632. package/navigation/Pagination/__stories__/WithResultsPerPage.d.ts +1 -1
  633. package/navigation/Pagination/hooks/index.js +2 -2
  634. package/navigation/Pagination/hooks.js.map +2 -2
  635. package/navigation/SkipLink/__stories__/Default.d.ts +1 -1
  636. package/navigation/Tabs/Tabs.stories.d.ts +1 -0
  637. package/navigation/Tabs/__stories__/Auto.d.ts +1 -1
  638. package/navigation/Tabs/__stories__/Default.d.ts +1 -1
  639. package/navigation/Tabs/__stories__/Dense.d.ts +1 -1
  640. package/navigation/Tabs/__stories__/UsingAccordion.d.ts +1 -1
  641. package/navigation/Tabs/hooks/index.js +1 -1
  642. package/navigation/Tabs/hooks.d.ts +1 -1
  643. package/navigation/Tabs/hooks.js.map +2 -2
  644. package/package.json +12 -10
  645. package/registry/index.js +254 -380
  646. package/src/app/BannerContainer/__stories__/CookiesBanner.tsx +1 -1
  647. package/src/app/BannerContainer/index.test.tsx +4 -0
  648. package/src/app/Footer/Footer.stories.jsx +182 -0
  649. package/src/app/Footer/FooterLink.tsx +20 -0
  650. package/src/app/Footer/__stories__/Default.tsx +1 -1
  651. package/src/app/Footer/__stories__/DefaultCopyright.tsx +1 -1
  652. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +1 -1
  653. package/src/app/Footer/__stories__/FooterWithLink.tsx +1 -1
  654. package/src/app/Footer/__stories__/FooterWithLogo.tsx +1 -1
  655. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +1 -1
  656. package/src/app/Footer/__stories__/FooterWithText.tsx +10 -7
  657. package/src/app/Footer/__stories__/YearCopyright.tsx +1 -1
  658. package/src/app/Footer/doc.mdx +47 -0
  659. package/src/app/Footer/index.test.tsx +4 -0
  660. package/src/app/Footer/index.tsx +1 -1
  661. package/src/app/Footer/interaction.test.tsx +15 -7
  662. package/src/app/Header/Header.stories.jsx +105 -0
  663. package/src/app/Header/HeaderLogo.tsx +18 -2
  664. package/src/app/Header/HeaderSecondaryLogo.tsx +20 -2
  665. package/src/app/Header/HeaderTitle.tsx +20 -2
  666. package/src/app/Header/__snapshots__/index.spec.tsx.snap +43 -37
  667. package/src/app/Header/__stories__/Default.tsx +1 -1
  668. package/src/app/Header/__stories__/WithHeaderNavigation.tsx +1 -1
  669. package/src/app/Header/__stories__/WithNavigation.tsx +1 -1
  670. package/src/app/Header/__stories__/WithServiceName.tsx +1 -1
  671. package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +3 -3
  672. package/src/app/Header/doc.mdx +32 -0
  673. package/src/app/Header/index.spec.tsx +1 -1
  674. package/src/app/Header/index.test.tsx +4 -0
  675. package/src/app/Header/interaction.test.tsx +30 -17
  676. package/src/app/Loader/Loader.stories.js +1 -0
  677. package/src/app/Loader/__stories__/AccessibilityLoader.tsx +27 -0
  678. package/src/app/Loader/__stories__/Default.tsx +1 -1
  679. package/src/app/Loader/__stories__/FullPageLoader.tsx +1 -1
  680. package/src/app/Loader/index.native.tsx +98 -0
  681. package/src/app/Loader/index.test.tsx +8 -0
  682. package/src/app/Loader/index.tsx +1 -1
  683. package/src/app/Loader/index.web.tsx +39 -0
  684. package/src/app/Masthead/Masthead.stories.js +4 -0
  685. package/src/app/Masthead/__stories__/Default.tsx +2 -2
  686. package/src/app/Masthead/__stories__/Secondary.tsx +26 -0
  687. package/src/app/Masthead/__stories__/WithElements.tsx +2 -6
  688. package/src/app/Masthead/__stories__/WithLogo.tsx +2 -6
  689. package/src/app/Masthead/doc.mdx +35 -0
  690. package/src/app/Masthead/index.test.tsx +8 -0
  691. package/src/app/Masthead/interaction.test.tsx +10 -6
  692. package/src/app/Modal/Modal.stories.js +4 -2
  693. package/src/app/Modal/__stories__/AlertDialog.tsx +1 -1
  694. package/src/app/Modal/__stories__/Auto.tsx +2 -6
  695. package/src/app/Modal/__stories__/Default.tsx +1 -1
  696. package/src/app/Modal/__stories__/Dense.tsx +1 -1
  697. package/src/app/Modal/__stories__/WithHooks.tsx +1 -1
  698. package/src/app/Modal/__stories__/WithoutModalGaps.tsx +1 -1
  699. package/src/app/Modal/auto.tsx +1 -1
  700. package/src/app/Modal/doc.mdx +43 -0
  701. package/src/app/Modal/hooks.ts +8 -8
  702. package/src/app/Modal/index.native.tsx +17 -0
  703. package/src/app/Modal/index.test.tsx +4 -0
  704. package/src/app/Modal/index.tsx +2 -2
  705. package/src/app/Modal/index.web.tsx +54 -0
  706. package/src/app/Modal/interaction.test.tsx +34 -21
  707. package/src/app/NotFound/NotFound.stories.js +3 -0
  708. package/src/app/NotFound/__stories__/Default.tsx +1 -1
  709. package/src/app/NotFound/doc.mdx +16 -0
  710. package/src/app/NotFound/index.test.tsx +4 -0
  711. package/src/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.ts +2 -2
  712. package/src/app/OutdatedBrowserBanner/index.tsx +1 -1
  713. package/src/app/Panel/Panel.stories.js +3 -0
  714. package/src/app/Panel/__stories__/Default.tsx +1 -1
  715. package/src/app/Panel/doc.mdx +23 -0
  716. package/src/app/Panel/index.test.tsx +4 -0
  717. package/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +3 -0
  718. package/src/app/PhaseBannerHeader/__stories__/Default.tsx +1 -1
  719. package/src/app/PhaseBannerHeader/doc.mdx +18 -0
  720. package/src/app/PhaseBannerHeader/index.test.tsx +4 -0
  721. package/src/app/PhaseBannerHeader/index.tsx +1 -1
  722. package/src/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +6 -10
  723. package/src/app/QrCodeScanner/__stories__/Default.tsx +2 -2
  724. package/src/app/QrCodeScanner/index.tsx +2 -1
  725. package/src/app/QrCodeViewer/QRCode.stories.js +3 -0
  726. package/src/app/QrCodeViewer/__stories__/Custom.tsx +1 -1
  727. package/src/app/QrCodeViewer/__stories__/Default.tsx +1 -1
  728. package/src/app/QrCodeViewer/doc.mdx +22 -0
  729. package/src/app/QrCodeViewer/index.test.tsx +4 -0
  730. package/src/app/QrCodeViewer/index.tsx +4 -4
  731. package/src/app/QrCodeViewer/qrcodegen.ts +3 -3
  732. package/src/app/QrCodeViewer/types.ts +10 -5
  733. package/src/app/QrCodeViewer/utils.ts +1 -1
  734. package/src/app/Skeleton/Skeleton.stories.js +33 -0
  735. package/src/app/Skeleton/__stories__/Button.tsx +1 -1
  736. package/src/app/Skeleton/__stories__/Circular.tsx +1 -1
  737. package/src/app/Skeleton/__stories__/Default.tsx +1 -1
  738. package/src/app/Skeleton/__stories__/NoAnimation.tsx +1 -1
  739. package/src/app/Skeleton/__stories__/Rectangular.tsx +1 -1
  740. package/src/app/Skeleton/__stories__/SpecificWidthAndHeight.tsx +2 -2
  741. package/src/app/Skeleton/__stories__/TextSizes.tsx +1 -1
  742. package/src/app/Skeleton/__stories__/UnderTypography.tsx +1 -1
  743. package/src/app/Skeleton/__stories__/WithChildren.tsx +1 -1
  744. package/src/app/Skeleton/doc.mdx +42 -0
  745. package/src/app/Skeleton/index.test.tsx +4 -0
  746. package/src/app/ThemeOptions/index.tsx +6 -15
  747. package/src/app/hooks/useHighlightLinks.ts +3 -4
  748. package/src/app/hooks/useNotificationArea.tsx +105 -0
  749. package/src/app/hooks/useTheme.ts +4 -3
  750. package/src/content/Accordion/Accordion.stories.jsx +96 -0
  751. package/src/content/Accordion/__snapshots__/index.spec.tsx.snap +48 -147
  752. package/src/content/Accordion/__stories__/Auto.tsx +2 -2
  753. package/src/content/Accordion/__stories__/Default.tsx +1 -1
  754. package/src/content/Accordion/__stories__/WithHints.tsx +1 -1
  755. package/src/content/Accordion/__stories__/WithHook.tsx +1 -1
  756. package/src/content/Accordion/auto.tsx +1 -2
  757. package/src/content/Accordion/doc.mdx +34 -0
  758. package/src/content/Accordion/hooks.ts +1 -1
  759. package/src/content/Accordion/index.test.tsx +4 -0
  760. package/src/content/Accordion/index.tsx +0 -1
  761. package/src/content/Accordion/interaction.test.tsx +10 -6
  762. package/src/content/Blockquote/Blockquote.stories.js +23 -0
  763. package/src/content/Blockquote/__snapshots__/index.spec.tsx.snap +6 -9
  764. package/src/content/Blockquote/__stories__/Default.tsx +1 -1
  765. package/src/content/Blockquote/__stories__/Dense.tsx +1 -1
  766. package/src/content/Blockquote/doc.mdx +24 -0
  767. package/src/content/Blockquote/index.test.tsx +4 -0
  768. package/src/content/Card/Card.stories.jsx +120 -0
  769. package/src/content/Card/__stories__/Default.tsx +1 -1
  770. package/src/content/Card/__stories__/Dense.tsx +1 -1
  771. package/src/content/Card/__stories__/WithClickableContent.tsx +1 -1
  772. package/src/content/Card/__stories__/WithClickableLink.tsx +1 -1
  773. package/src/content/Card/__stories__/WithDarkBorder.tsx +1 -1
  774. package/src/content/Card/__stories__/WithDarkTopBorder.tsx +1 -1
  775. package/src/content/Card/__stories__/WithDivider.tsx +1 -1
  776. package/src/content/Card/__stories__/WithGrayBorder.tsx +1 -1
  777. package/src/content/Card/__stories__/WithGrayTopBorder.tsx +1 -1
  778. package/src/content/Card/__stories__/WithGroupButton.tsx +1 -1
  779. package/src/content/Card/__stories__/WithLink.tsx +1 -1
  780. package/src/content/Card/doc.mdx +71 -0
  781. package/src/content/Card/index.test.tsx +4 -0
  782. package/src/content/Card/interaction.test.tsx +10 -6
  783. package/src/content/Chip/Chip.stories.js +25 -0
  784. package/src/content/Chip/__stories__/ClickableChip.tsx +1 -1
  785. package/src/content/Chip/__stories__/ClickableDeletableChip.tsx +1 -1
  786. package/src/content/Chip/__stories__/Default.tsx +1 -1
  787. package/src/content/Chip/__stories__/DeletableChip.tsx +1 -1
  788. package/src/content/Chip/__stories__/GroupOfChips.tsx +1 -1
  789. package/src/content/Chip/doc.mdx +34 -0
  790. package/src/content/Chip/index.test.tsx +4 -0
  791. package/src/content/Details/Details.stories.js +3 -0
  792. package/src/content/Details/__snapshots__/index.spec.tsx.snap +32 -69
  793. package/src/content/Details/__stories__/Default.tsx +1 -1
  794. package/src/content/Details/doc.mdx +23 -0
  795. package/src/content/Details/index.test.tsx +4 -0
  796. package/src/content/Details/interaction.test.tsx +10 -6
  797. package/src/content/List/List.stories.jsx +63 -0
  798. package/src/content/List/__snapshots__/index.spec.tsx.snap +14 -4
  799. package/src/content/List/__stories__/BulletList.tsx +1 -1
  800. package/src/content/List/__stories__/Default.tsx +4 -10
  801. package/src/content/List/__stories__/HorizontalList.tsx +1 -1
  802. package/src/content/List/__stories__/NestedBulletList.tsx +1 -1
  803. package/src/content/List/__stories__/NumberedList.tsx +1 -1
  804. package/src/content/List/__stories__/WithExtraSpace.tsx +1 -1
  805. package/src/content/List/doc.mdx +28 -0
  806. package/src/content/List/index.test.tsx +4 -0
  807. package/src/content/Markdown/Markdown.stories.js +1 -2
  808. package/src/content/Markdown/__stories__/Default.tsx +4 -3
  809. package/src/content/Markdown/index.test.tsx +4 -0
  810. package/src/content/Markdown/index.tsx +9 -3
  811. package/src/content/SafeHTML/SafeHTML.stories.js +1 -2
  812. package/src/content/SafeHTML/__stories__/Default.tsx +5 -4
  813. package/src/content/SafeHTML/index.test.tsx +4 -0
  814. package/src/content/SafeHTML/index.tsx +3 -3
  815. package/src/content/StepNav/StepNav.stories.js +3 -0
  816. package/src/content/StepNav/__stories__/Auto.tsx +1 -2
  817. package/src/content/StepNav/__stories__/Default.tsx +1 -1
  818. package/src/content/StepNav/__stories__/Dense.tsx +1 -1
  819. package/src/content/StepNav/__stories__/WithHints.tsx +1 -1
  820. package/src/content/StepNav/__stories__/WithHook.tsx +1 -1
  821. package/src/content/StepNav/auto.tsx +5 -3
  822. package/src/content/StepNav/doc.mdx +39 -0
  823. package/src/content/StepNav/index.test.tsx +4 -0
  824. package/src/content/StepNav/interaction.test.tsx +20 -8
  825. package/src/content/SummaryList/SummaryList.stories.js +3 -0
  826. package/src/content/SummaryList/__snapshots__/index.spec.tsx.snap +37 -89
  827. package/src/content/SummaryList/__stories__/Default.tsx +1 -1
  828. package/src/content/SummaryList/__stories__/RowVariations.tsx +1 -1
  829. package/src/content/SummaryList/__stories__/WithActions.tsx +1 -1
  830. package/src/content/SummaryList/__stories__/WithKeyAndAction.tsx +1 -1
  831. package/src/content/SummaryList/__stories__/WithNoLastBorder.tsx +1 -1
  832. package/src/content/SummaryList/__stories__/WithoutActions.tsx +1 -1
  833. package/src/content/SummaryList/__stories__/WithoutBorders.tsx +1 -1
  834. package/src/content/SummaryList/doc.mdx +39 -0
  835. package/src/content/SummaryList/index.test.tsx +4 -0
  836. package/src/content/SummaryList/interaction.test.tsx +15 -8
  837. package/src/content/Table/Table.stories.jsx +219 -0
  838. package/src/content/Table/TableFloatingScroll.tsx +0 -1
  839. package/src/content/Table/__stories__/DarkVariant.tsx +1 -1
  840. package/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.tsx +1 -1
  841. package/src/content/Table/__stories__/Default.tsx +1 -1
  842. package/src/content/Table/__stories__/DefinedWidth.tsx +1 -1
  843. package/src/content/Table/__stories__/Dense.tsx +129 -0
  844. package/src/content/Table/__stories__/Full.tsx +1 -1
  845. package/src/content/Table/__stories__/MultipleProps.tsx +1 -1
  846. package/src/content/Table/__stories__/NoData.tsx +1 -1
  847. package/src/content/Table/__stories__/NumericDataType.tsx +1 -1
  848. package/src/content/Table/__stories__/RowColors.tsx +1 -1
  849. package/src/content/Table/__stories__/Stacked.tsx +1 -1
  850. package/src/content/Table/__stories__/TableCaptions.tsx +1 -1
  851. package/src/content/Table/__stories__/VerticalBorders.tsx +1 -1
  852. package/src/content/Table/__stories__/VerticalHeaders.tsx +1 -1
  853. package/src/content/Table/__stories__/WithFloatingScroll.tsx +1 -1
  854. package/src/content/Table/__stories__/WithLoader.tsx +3 -4
  855. package/src/content/Table/__stories__/WithSortFilters.tsx +1 -1
  856. package/src/content/Table/__stories__/ZebraProp.tsx +1 -1
  857. package/src/content/Table/doc.mdx +81 -0
  858. package/src/content/Table/hooks/useSort.tsx +1 -2
  859. package/src/content/Table/index.test.tsx +7 -3
  860. package/src/content/Table/index.tsx +5 -5
  861. package/src/content/Table/interaction.test.tsx +27 -15
  862. package/src/content/TaskList/TaskList.stories.js +3 -0
  863. package/src/content/TaskList/__stories__/Default.tsx +1 -1
  864. package/src/content/TaskList/__stories__/Dense.tsx +1 -1
  865. package/src/content/TaskList/doc.mdx +28 -0
  866. package/src/content/TaskList/index.test.tsx +4 -0
  867. package/src/content/Timeline/Timeline.stories.js +3 -0
  868. package/src/content/Timeline/__stories__/Default.tsx +1 -1
  869. package/src/content/Timeline/__stories__/Dense.tsx +1 -1
  870. package/src/content/Timeline/doc.mdx +31 -0
  871. package/src/content/Timeline/index.test.tsx +4 -0
  872. package/src/doc.mdx +49 -0
  873. package/src/feedback/CopyToClipboard/CopyToClipboard.stories.jsx +73 -0
  874. package/src/feedback/CopyToClipboard/__stories__/Banner.tsx +1 -1
  875. package/src/feedback/CopyToClipboard/__stories__/Default.tsx +2 -2
  876. package/src/feedback/CopyToClipboard/__stories__/Dense.tsx +1 -1
  877. package/src/feedback/CopyToClipboard/doc.mdx +24 -0
  878. package/src/feedback/CopyToClipboard/index.test.tsx +4 -0
  879. package/src/feedback/CopyToClipboard/index.tsx +1 -1
  880. package/src/feedback/CopyToClipboard/interaction.test.tsx +30 -20
  881. package/src/feedback/ErrorSummary/ErrorSummary.stories.jsx +70 -0
  882. package/src/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +14 -4
  883. package/src/feedback/ErrorSummary/__stories__/Default.tsx +1 -1
  884. package/src/feedback/ErrorSummary/__stories__/Dense.tsx +1 -1
  885. package/src/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.tsx +47 -0
  886. package/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.tsx +1 -1
  887. package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +1 -1
  888. package/src/feedback/ErrorSummary/__stories__/LinkedToInput.tsx +2 -3
  889. package/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.tsx +1 -1
  890. package/src/feedback/ErrorSummary/doc.mdx +38 -0
  891. package/src/feedback/ErrorSummary/index.test.tsx +8 -0
  892. package/src/feedback/ErrorSummary/interaction.test.tsx +11 -7
  893. package/src/feedback/NotificationBanner/NotificationBanner.stories.js +40 -1
  894. package/src/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +25 -15
  895. package/src/feedback/NotificationBanner/__stories__/Default.tsx +1 -1
  896. package/src/feedback/NotificationBanner/__stories__/Dense.tsx +1 -1
  897. package/src/feedback/NotificationBanner/__stories__/Expanded.tsx +27 -0
  898. package/src/feedback/NotificationBanner/__stories__/Success.tsx +1 -1
  899. package/src/feedback/NotificationBanner/doc.mdx +48 -0
  900. package/src/feedback/NotificationBanner/index.test.tsx +8 -0
  901. package/src/feedback/NotificationBanner/interaction.test.tsx +22 -15
  902. package/src/feedback/PhaseBanner/PhaseBanner.stories.jsx +50 -0
  903. package/src/feedback/PhaseBanner/__stories__/Default.tsx +1 -1
  904. package/src/feedback/PhaseBanner/__stories__/Underlined.tsx +1 -1
  905. package/src/feedback/PhaseBanner/doc.mdx +27 -0
  906. package/src/feedback/PhaseBanner/index.test.tsx +4 -0
  907. package/src/feedback/PhaseBanner/interaction.test.tsx +10 -6
  908. package/src/feedback/WarningText/WarningText.stories.js +31 -0
  909. package/src/feedback/WarningText/__snapshots__/index.spec.tsx.snap +14 -4
  910. package/src/feedback/WarningText/__stories__/AssistiveText.tsx +1 -1
  911. package/src/feedback/WarningText/__stories__/Default.tsx +1 -1
  912. package/src/feedback/WarningText/__stories__/Dense.tsx +1 -1
  913. package/src/feedback/WarningText/doc.mdx +27 -0
  914. package/src/feedback/WarningText/index.test.tsx +4 -0
  915. package/src/form/AutoComplete/AutoComplete.stories.jsx +109 -0
  916. package/src/form/AutoComplete/Status/index.tsx +5 -5
  917. package/src/form/AutoComplete/__stories__/Default.tsx +1 -1
  918. package/src/form/AutoComplete/__stories__/Multiple.tsx +7 -2
  919. package/src/form/AutoComplete/__stories__/MultipleShowingTwoSelected.tsx +8 -2
  920. package/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.tsx +8 -2
  921. package/src/form/AutoComplete/__stories__/MultipleWithMinLength.tsx +3 -3
  922. package/src/form/AutoComplete/__stories__/WithAutoSelect.tsx +2 -18
  923. package/src/form/AutoComplete/__stories__/WithCustomValue.tsx +28 -0
  924. package/src/form/AutoComplete/__stories__/WithDefaultValue.tsx +2 -7
  925. package/src/form/AutoComplete/__stories__/WithHint.tsx +16 -0
  926. package/src/form/AutoComplete/__stories__/WithMinLength.tsx +1 -1
  927. package/src/form/AutoComplete/__stories__/WithPlaceHolder.tsx +1 -1
  928. package/src/form/AutoComplete/__stories__/WithShowAllValues.tsx +2 -6
  929. package/src/form/AutoComplete/doc.mdx +51 -0
  930. package/src/form/AutoComplete/index.test.tsx +12 -0
  931. package/src/form/AutoComplete/index.tsx +99 -70
  932. package/src/form/AutoComplete/interaction.test.tsx +20 -8
  933. package/src/form/Button/Button.stories.js +45 -2
  934. package/src/form/Button/ButtonLink.tsx +18 -2
  935. package/src/form/Button/CallToAction.tsx +20 -2
  936. package/src/form/Button/__snapshots__/index.spec.tsx.snap +6 -10
  937. package/src/form/Button/__stories__/Back.tsx +1 -1
  938. package/src/form/Button/__stories__/ButtonLinkButton.tsx +1 -1
  939. package/src/form/Button/__stories__/CallToActionButton.tsx +1 -1
  940. package/src/form/Button/__stories__/Dense.tsx +1 -1
  941. package/src/form/Button/__stories__/Disabled.tsx +1 -1
  942. package/src/form/Button/__stories__/GroupingButtons.tsx +1 -1
  943. package/src/form/Button/__stories__/GroupingButtonsAndLinks.tsx +1 -1
  944. package/src/form/Button/__stories__/Primary.tsx +24 -2
  945. package/src/form/Button/__stories__/Secondary.tsx +1 -1
  946. package/src/form/Button/__stories__/ThemeToggle.tsx +1 -1
  947. package/src/form/Button/__stories__/Warning.tsx +1 -1
  948. package/src/form/Button/__stories__/WithVariantLink.tsx +1 -1
  949. package/src/form/Button/doc.mdx +96 -0
  950. package/src/form/Button/index.test.tsx +4 -0
  951. package/src/form/Button/interaction.test.tsx +58 -39
  952. package/src/form/Checkbox/Checkbox.stories.jsx +153 -0
  953. package/src/form/Checkbox/__stories__/ConditionalReveal.tsx +1 -1
  954. package/src/form/Checkbox/__stories__/Default.tsx +1 -1
  955. package/src/form/Checkbox/__stories__/Dense.tsx +1 -1
  956. package/src/form/Checkbox/__stories__/Inline.tsx +1 -1
  957. package/src/form/Checkbox/__stories__/InlineWithDivider.tsx +1 -1
  958. package/src/form/Checkbox/__stories__/MultipleQuestions.tsx +1 -1
  959. package/src/form/Checkbox/__stories__/NoneAnswer.tsx +1 -1
  960. package/src/form/Checkbox/__stories__/NoneAnswerWithError.tsx +1 -1
  961. package/src/form/Checkbox/__stories__/WithErrorMessage.tsx +1 -1
  962. package/src/form/Checkbox/__stories__/WithHint.tsx +1 -1
  963. package/src/form/Checkbox/doc.mdx +57 -0
  964. package/src/form/Checkbox/index.test.tsx +4 -0
  965. package/src/form/Checkbox/interaction.test.tsx +33 -17
  966. package/src/form/DateInputContainer/DateInputContainer.stories.jsx +118 -0
  967. package/src/form/DateInputContainer/__stories__/Default.tsx +1 -1
  968. package/src/form/DateInputContainer/__stories__/Dense.tsx +1 -1
  969. package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +2 -2
  970. package/src/form/DateInputContainer/__stories__/WithErrorMessage.tsx +1 -1
  971. package/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +1 -1
  972. package/src/form/DateInputContainer/doc.mdx +32 -0
  973. package/src/form/DateInputContainer/index.test.tsx +4 -0
  974. package/src/form/DateInputContainer/interaction.test.tsx +8 -0
  975. package/src/form/ErrorMessage/ErrorMessage.stories.jsx +45 -0
  976. package/src/form/ErrorMessage/__stories__/DateInputError.tsx +1 -1
  977. package/src/form/ErrorMessage/__stories__/Default.tsx +1 -1
  978. package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +1 -1
  979. package/src/form/ErrorMessage/doc.mdx +19 -0
  980. package/src/form/ErrorMessage/index.test.tsx +4 -0
  981. package/src/form/FileUpload/FileUpload.stories.js +4 -0
  982. package/src/form/FileUpload/__stories__/Default.tsx +1 -1
  983. package/src/form/FileUpload/__stories__/WithErrorMessage.tsx +1 -1
  984. package/src/form/FileUpload/__stories__/WithVariantLink.tsx +24 -0
  985. package/src/form/FileUpload/doc.mdx +22 -0
  986. package/src/form/FileUpload/index.test.tsx +8 -0
  987. package/src/form/RadioContainer/RadioContainer.stories.jsx +160 -0
  988. package/src/form/RadioContainer/__stories__/ConditionalReveal.tsx +1 -1
  989. package/src/form/RadioContainer/__stories__/Default.tsx +1 -1
  990. package/src/form/RadioContainer/__stories__/Dense.tsx +1 -1
  991. package/src/form/RadioContainer/__stories__/Inline.tsx +1 -1
  992. package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +1 -1
  993. package/src/form/RadioContainer/__stories__/MultipleQuestions.tsx +1 -1
  994. package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +1 -1
  995. package/src/form/RadioContainer/__stories__/WithErrorMessage.tsx +1 -1
  996. package/src/form/RadioContainer/__stories__/WithHints.tsx +1 -1
  997. package/src/form/RadioContainer/__stories__/WithMediumLegend.tsx +1 -1
  998. package/src/form/RadioContainer/doc.mdx +58 -0
  999. package/src/form/RadioContainer/index.test.tsx +4 -0
  1000. package/src/form/RadioContainer/interaction.test.tsx +24 -15
  1001. package/src/form/SearchContainer/SearchContainer.stories.js +12 -0
  1002. package/src/form/SearchContainer/__stories__/Default.tsx +15 -0
  1003. package/src/form/SearchContainer/doc.mdx +16 -0
  1004. package/src/form/SearchContainer/index.test.tsx +24 -0
  1005. package/src/form/SelectContainer/SelectContainer.stories.jsx +110 -0
  1006. package/src/form/SelectContainer/__stories__/Default.tsx +1 -1
  1007. package/src/form/SelectContainer/__stories__/Dense.tsx +1 -1
  1008. package/src/form/SelectContainer/__stories__/DisabledInput.tsx +1 -1
  1009. package/src/form/SelectContainer/__stories__/WithHint.tsx +1 -1
  1010. package/src/form/SelectContainer/doc.mdx +34 -0
  1011. package/src/form/SelectContainer/index.test.tsx +4 -0
  1012. package/src/form/SelectContainer/interaction.test.tsx +14 -7
  1013. package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.jsx +133 -0
  1014. package/src/form/SingleCharacterInputs/__stories__/Default.tsx +1 -1
  1015. package/src/form/SingleCharacterInputs/__stories__/WithDefaultError.tsx +1 -1
  1016. package/src/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.tsx +1 -1
  1017. package/src/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.tsx +1 -1
  1018. package/src/form/SingleCharacterInputs/doc.mdx +22 -0
  1019. package/src/form/SingleCharacterInputs/index.test.tsx +4 -0
  1020. package/src/form/TextArea/TextArea.stories.jsx +120 -0
  1021. package/src/form/TextArea/__stories__/Default.tsx +2 -3
  1022. package/src/form/TextArea/__stories__/Dense.tsx +1 -1
  1023. package/src/form/TextArea/__stories__/DisabledInput.tsx +2 -3
  1024. package/src/form/TextArea/__stories__/LimitedCharacters.tsx +2 -3
  1025. package/src/form/TextArea/__stories__/MultipleQuestions.tsx +1 -1
  1026. package/src/form/TextArea/__stories__/WithDeclaredRows.tsx +2 -3
  1027. package/src/form/TextArea/__stories__/WithErrorMessage.tsx +2 -3
  1028. package/src/form/TextArea/__stories__/WithHint.tsx +2 -3
  1029. package/src/form/TextArea/doc.mdx +48 -0
  1030. package/src/form/TextArea/index.test.tsx +4 -0
  1031. package/src/form/TextArea/interaction.test.tsx +12 -0
  1032. package/src/form/TextInput/TextInput.stories.jsx +128 -0
  1033. package/src/form/TextInput/__stories__/AskingForNumbers.tsx +2 -3
  1034. package/src/form/TextInput/__stories__/Default.tsx +2 -3
  1035. package/src/form/TextInput/__stories__/Dense.tsx +1 -1
  1036. package/src/form/TextInput/__stories__/DisabledInput.tsx +2 -3
  1037. package/src/form/TextInput/__stories__/DisabledInputWithValue.tsx +5 -6
  1038. package/src/form/TextInput/__stories__/FixedWidths.tsx +2 -3
  1039. package/src/form/TextInput/__stories__/FluidWidths.tsx +2 -3
  1040. package/src/form/TextInput/__stories__/MultipleQuestions.tsx +1 -1
  1041. package/src/form/TextInput/__stories__/WithErrorMessage.tsx +2 -3
  1042. package/src/form/TextInput/__stories__/WithHint.tsx +2 -3
  1043. package/src/form/TextInput/doc.mdx +58 -0
  1044. package/src/form/TextInput/index.test.tsx +4 -0
  1045. package/src/form/TextInput/interaction.test.tsx +8 -0
  1046. package/src/govgr/GovGRLogo/index.tsx +17 -2
  1047. package/src/i18n/index.tsx +15 -2
  1048. package/src/i18n/locales/el.ts +93 -13
  1049. package/src/i18n/locales/en.ts +64 -8
  1050. package/src/icons/IconBase/index.tsx +4 -0
  1051. package/src/icons/SvgIcon/index.tsx +4 -0
  1052. package/src/icons/index.tsx +3 -1
  1053. package/src/layouts/Basic/Basic.stories.js +4 -1
  1054. package/src/layouts/Basic/Bottom/__stories__/Default.tsx +14 -10
  1055. package/src/layouts/Basic/Bottom/doc.mdx +18 -0
  1056. package/src/layouts/Basic/Container/__stories__/Default.tsx +16 -9
  1057. package/src/layouts/Basic/Container/doc.mdx +18 -0
  1058. package/src/layouts/Basic/Main/__stories__/Default.tsx +16 -9
  1059. package/src/layouts/Basic/Main/doc.mdx +19 -0
  1060. package/src/layouts/Basic/Top/__stories__/Default.tsx +14 -7
  1061. package/src/layouts/Basic/Top/doc.mdx +19 -0
  1062. package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +30 -102
  1063. package/src/layouts/Basic/__stories__/Default.tsx +1 -1
  1064. package/src/layouts/Basic/__stories__/MultipleRowsLayout.tsx +1 -1
  1065. package/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.tsx +1 -1
  1066. package/src/layouts/Basic/__stories__/WithBasicLayout.tsx +3 -3
  1067. package/src/layouts/Basic/doc.mdx +31 -0
  1068. package/src/layouts/Basic/index.spec.tsx +1 -1
  1069. package/src/layouts/Basic/index.test.tsx +4 -0
  1070. package/src/layouts/Basic/index.tsx +0 -1
  1071. package/src/layouts/Grid/Grid.stories.js +3 -0
  1072. package/src/layouts/Grid/__stories__/Default.tsx +1 -1
  1073. package/src/layouts/Grid/__stories__/Inline.tsx +1 -1
  1074. package/src/layouts/Grid/__stories__/ResponsiveSpacing.tsx +1 -1
  1075. package/src/layouts/Grid/doc.mdx +26 -0
  1076. package/src/layouts/Grid/index.test.tsx +4 -0
  1077. package/src/layouts/Screen/Screen.stories.js +1 -1
  1078. package/src/layouts/Screen/__stories__/Default.tsx +5 -5
  1079. package/src/layouts/Screen/__stories__/ScreenDown.tsx +2 -2
  1080. package/src/layouts/Screen/__stories__/ScreenUp.tsx +2 -2
  1081. package/src/layouts/Screen/__stories__/SpecificScreenSize.tsx +2 -2
  1082. package/src/layouts/Screen/index.test.tsx +4 -0
  1083. package/src/layouts/Screen/index.tsx +0 -1
  1084. package/src/layouts/Stack/Stack.stories.js +3 -0
  1085. package/src/layouts/Stack/__stories__/AlignItems.tsx +2 -2
  1086. package/src/layouts/Stack/__stories__/Default.tsx +2 -2
  1087. package/src/layouts/Stack/__stories__/JustifyContent.tsx +2 -2
  1088. package/src/layouts/Stack/__stories__/NoWrap.tsx +2 -2
  1089. package/src/layouts/Stack/__stories__/Row.tsx +2 -2
  1090. package/src/layouts/Stack/__stories__/Spacing.tsx +2 -2
  1091. package/src/layouts/Stack/doc.mdx +38 -0
  1092. package/src/layouts/Stack/index.test.tsx +4 -0
  1093. package/src/layouts/Stack/index.tsx +1 -0
  1094. package/src/lazy.js +341 -1640
  1095. package/src/navigation/BackLink/BackLink.stories.js +3 -0
  1096. package/src/navigation/BackLink/__stories__/Default.tsx +1 -1
  1097. package/src/navigation/BackLink/doc.mdx +19 -0
  1098. package/src/navigation/BackLink/index.test.tsx +4 -0
  1099. package/src/navigation/BackLink/index.tsx +19 -2
  1100. package/src/navigation/BackLink/interaction.test.tsx +10 -6
  1101. package/src/navigation/BackToTopLink/__stories__/Default.tsx +1 -1
  1102. package/src/navigation/BackToTopLink/__stories__/InMain.tsx +1 -1
  1103. package/src/navigation/BackToTopLink/index.test.tsx +4 -0
  1104. package/src/navigation/BackToTopLink/index.tsx +1 -2
  1105. package/src/navigation/Breadcrumbs/Breadcrumbs.stories.js +4 -1
  1106. package/src/navigation/Breadcrumbs/BreadcrumbsListItem.tsx +36 -0
  1107. package/src/navigation/Breadcrumbs/BreadcrumbsListItemLink.tsx +22 -0
  1108. package/src/navigation/Breadcrumbs/__stories__/Auto.tsx +37 -21
  1109. package/src/navigation/Breadcrumbs/__stories__/Default.tsx +1 -1
  1110. package/src/navigation/Breadcrumbs/__stories__/WithHook.tsx +44 -20
  1111. package/src/navigation/Breadcrumbs/__stories__/WithProvider.tsx +28 -0
  1112. package/src/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.tsx +1 -1
  1113. package/src/navigation/Breadcrumbs/auto.tsx +35 -19
  1114. package/src/navigation/Breadcrumbs/doc.mdx +32 -0
  1115. package/src/navigation/Breadcrumbs/hooks.ts +47 -56
  1116. package/src/navigation/Breadcrumbs/index.test.tsx +8 -0
  1117. package/src/navigation/Breadcrumbs/index.tsx +3 -1
  1118. package/src/navigation/Breadcrumbs/interaction.test.tsx +31 -17
  1119. package/src/navigation/Breadcrumbs/slug.ts +3 -3
  1120. package/src/navigation/Breadcrumbs/utils.ts +5 -5
  1121. package/src/navigation/Drawer/Drawer.stories.js +3 -0
  1122. package/src/navigation/Drawer/__stories__/Auto.tsx +4 -2
  1123. package/src/navigation/Drawer/__stories__/Default.tsx +4 -5
  1124. package/src/navigation/Drawer/__stories__/WithHook.tsx +1 -1
  1125. package/src/navigation/Drawer/doc.mdx +18 -0
  1126. package/src/navigation/Drawer/hooks.ts +6 -6
  1127. package/src/navigation/Drawer/index.test.tsx +4 -0
  1128. package/src/navigation/Dropdown/Dropdown.stories.js +4 -2
  1129. package/src/navigation/Dropdown/__stories__/AlignRight.tsx +2 -3
  1130. package/src/navigation/Dropdown/__stories__/ContentPosition.tsx +1 -1
  1131. package/src/navigation/Dropdown/__stories__/Default.tsx +2 -3
  1132. package/src/navigation/Dropdown/__stories__/Dense.tsx +2 -3
  1133. package/src/navigation/Dropdown/__stories__/Disabled.tsx +2 -3
  1134. package/src/navigation/Dropdown/__stories__/PlacementTop.tsx +2 -3
  1135. package/src/navigation/Dropdown/__stories__/ScrollableContent.tsx +2 -2
  1136. package/src/navigation/Dropdown/__stories__/Secondary.tsx +1 -1
  1137. package/src/navigation/Dropdown/__stories__/VariantLink.tsx +2 -3
  1138. package/src/navigation/Dropdown/__stories__/Warning.tsx +1 -1
  1139. package/src/navigation/Dropdown/__stories__/WithIcons.tsx +1 -1
  1140. package/src/navigation/Dropdown/doc.mdx +34 -0
  1141. package/src/navigation/Dropdown/index.test.tsx +4 -0
  1142. package/src/navigation/Dropdown/interaction.test.tsx +54 -35
  1143. package/src/navigation/Link/Link.stories.js +3 -0
  1144. package/src/navigation/Link/__snapshots__/index.spec.tsx.snap +16 -30
  1145. package/src/navigation/Link/__stories__/DarkBackground.tsx +2 -2
  1146. package/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.tsx +2 -2
  1147. package/src/navigation/Link/__stories__/Default.tsx +1 -1
  1148. package/src/navigation/Link/__stories__/ExternalLink.tsx +1 -1
  1149. package/src/navigation/Link/__stories__/NoUnderline.tsx +1 -1
  1150. package/src/navigation/Link/__stories__/OpensInNewTab.tsx +1 -1
  1151. package/src/navigation/Link/__stories__/WithProvider.tsx +6 -2
  1152. package/src/navigation/Link/doc.mdx +38 -0
  1153. package/src/navigation/Link/index.test.tsx +4 -0
  1154. package/src/navigation/Link/index.tsx +10 -5
  1155. package/src/navigation/Link/interaction.test.tsx +32 -22
  1156. package/src/navigation/NavList/NavList.stories.js +3 -0
  1157. package/src/navigation/NavList/NavListAuto/index.tsx +10 -8
  1158. package/src/navigation/NavList/NavListItemAction.tsx +69 -0
  1159. package/src/navigation/NavList/NavListItemLink.tsx +22 -0
  1160. package/src/navigation/NavList/__snapshots__/index.spec.tsx.snap +14 -4
  1161. package/src/navigation/NavList/__stories__/Default.tsx +12 -12
  1162. package/src/navigation/NavList/__stories__/HorizontalWithDrawer.tsx +25 -25
  1163. package/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.tsx +25 -25
  1164. package/src/navigation/NavList/__stories__/NavListWithoutNav.tsx +12 -12
  1165. package/src/navigation/NavList/__stories__/UsingHeaderButton.tsx +1 -1
  1166. package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +28 -29
  1167. package/src/navigation/NavList/__stories__/Vertical.tsx +17 -13
  1168. package/src/navigation/NavList/__stories__/VerticalWithoutDrawer.tsx +25 -25
  1169. package/src/navigation/NavList/__stories__/WithBadge.tsx +13 -13
  1170. package/src/navigation/NavList/doc.mdx +59 -0
  1171. package/src/navigation/NavList/hooks/useTogglableNav.tsx +2 -2
  1172. package/src/navigation/NavList/index.test.tsx +4 -0
  1173. package/src/navigation/NavList/index.tsx +3 -2
  1174. package/src/navigation/NavList/interaction.test.tsx +12 -0
  1175. package/src/navigation/Pagination/Pagination.stories.js +4 -2
  1176. package/src/navigation/Pagination/__stories__/Auto.tsx +30 -32
  1177. package/src/navigation/Pagination/__stories__/Default.tsx +1 -1
  1178. package/src/navigation/Pagination/__stories__/PaginationSmall.tsx +1 -1
  1179. package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +2 -3
  1180. package/src/navigation/Pagination/__stories__/WithHook.tsx +1 -1
  1181. package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +2 -2
  1182. package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +2 -3
  1183. package/src/navigation/Pagination/doc.mdx +37 -0
  1184. package/src/navigation/Pagination/hooks.ts +2 -2
  1185. package/src/navigation/Pagination/index.test.tsx +4 -0
  1186. package/src/navigation/Pagination/interaction.test.tsx +11 -7
  1187. package/src/navigation/SkipLink/__stories__/Default.tsx +1 -1
  1188. package/src/navigation/SkipLink/index.test.tsx +4 -0
  1189. package/src/navigation/Tabs/Tabs.stories.js +3 -1
  1190. package/src/navigation/Tabs/__stories__/Auto.tsx +2 -6
  1191. package/src/navigation/Tabs/__stories__/Default.tsx +111 -44
  1192. package/src/navigation/Tabs/__stories__/Dense.tsx +2 -5
  1193. package/src/navigation/Tabs/__stories__/UsingAccordion.tsx +132 -45
  1194. package/src/navigation/Tabs/doc.mdx +47 -0
  1195. package/src/navigation/Tabs/hooks.ts +7 -12
  1196. package/src/navigation/Tabs/index.test.tsx +4 -0
  1197. package/src/navigation/Tabs/interaction.test.tsx +13 -7
  1198. package/src/registry.js +247 -374
  1199. package/src/typography/Code/index.tsx +1 -1
  1200. package/src/typography/CodeBlock/CodeBlock.stories.js +3 -0
  1201. package/src/typography/CodeBlock/__stories__/Default.tsx +1 -1
  1202. package/src/typography/CodeBlock/__stories__/Highlighted.tsx +1 -1
  1203. package/src/typography/CodeBlock/__stories__/WithCopyToClipboard.tsx +1 -1
  1204. package/src/typography/CodeBlock/__stories__/WithPhaseBanner.tsx +1 -1
  1205. package/src/typography/CodeBlock/doc.mdx +30 -0
  1206. package/src/typography/CodeBlock/index.test.tsx +4 -0
  1207. package/src/typography/CodeBlock/index.tsx +14 -12
  1208. package/src/typography/Heading/Heading.stories.js +3 -0
  1209. package/src/typography/Heading/__stories__/Default.tsx +1 -1
  1210. package/src/typography/Heading/doc.mdx +16 -0
  1211. package/src/typography/Heading/index.test.tsx +4 -0
  1212. package/src/typography/HeadingCaption/HeadingCaption.stories.js +3 -0
  1213. package/src/typography/HeadingCaption/__stories__/Default.tsx +1 -1
  1214. package/src/typography/HeadingCaption/__stories__/NestedToTitle.tsx +1 -1
  1215. package/src/typography/HeadingCaption/doc.mdx +20 -0
  1216. package/src/typography/HeadingCaption/index.test.tsx +4 -0
  1217. package/src/typography/Hint/Hint.stories.js +3 -0
  1218. package/src/typography/Hint/__stories__/Default.tsx +1 -1
  1219. package/src/typography/Hint/__stories__/FontSizes.tsx +1 -1
  1220. package/src/typography/Hint/doc.mdx +20 -0
  1221. package/src/typography/Hint/index.test.tsx +4 -0
  1222. package/src/typography/NormalText/NormalText.stories.js +3 -0
  1223. package/src/typography/NormalText/__stories__/Default.tsx +1 -1
  1224. package/src/typography/NormalText/__stories__/FontSizes.tsx +1 -1
  1225. package/src/typography/NormalText/__stories__/FontWeight.tsx +1 -1
  1226. package/src/typography/NormalText/__stories__/Variants.tsx +1 -1
  1227. package/src/typography/NormalText/doc.mdx +30 -0
  1228. package/src/typography/NormalText/index.test.tsx +4 -0
  1229. package/src/typography/Paragraph/Paragraph.stories.js +3 -0
  1230. package/src/typography/Paragraph/__stories__/Default.tsx +1 -1
  1231. package/src/typography/Paragraph/__stories__/FontSizes.tsx +1 -1
  1232. package/src/typography/Paragraph/__stories__/FontWeight.tsx +1 -1
  1233. package/src/typography/Paragraph/__stories__/LeadVariant.tsx +3 -1
  1234. package/src/typography/Paragraph/__stories__/SmallVariant.tsx +3 -1
  1235. package/src/typography/Paragraph/doc.mdx +34 -0
  1236. package/src/typography/Paragraph/index.test.tsx +4 -0
  1237. package/src/typography/Typography/doc.mdx +14 -0
  1238. package/src/typography/Typography/index.tsx +1 -1
  1239. package/src/utils/Base/doc.mdx +66 -0
  1240. package/src/utils/VisuallyHidden/VisuallyHidden.stories.js +3 -0
  1241. package/src/utils/VisuallyHidden/__stories__/Default.tsx +1 -1
  1242. package/src/utils/VisuallyHidden/doc.mdx +21 -0
  1243. package/src/utils/VisuallyHidden/index.test.tsx +4 -0
  1244. package/src/utils/hooks/useDebounce.ts +5 -5
  1245. package/src/utils/hooks/useLatest.ts +1 -1
  1246. package/src/utils/hooks/useScreen.native.ts +35 -0
  1247. package/src/utils/hooks/useScreen.ts +2 -45
  1248. package/src/utils/hooks/useScreen.web.ts +56 -0
  1249. package/src/utils/hooks/useSearch.ts +2 -3
  1250. package/src/utils/index.ts +0 -1
  1251. package/stories-registry/index.js +745 -0
  1252. package/stories-registry/package.json +6 -0
  1253. package/typography/Code/index.js.map +1 -1
  1254. package/typography/CodeBlock/CodeBlock.stories.d.ts +2 -0
  1255. package/typography/CodeBlock/__stories__/Default.d.ts +1 -1
  1256. package/typography/CodeBlock/__stories__/Highlighted.d.ts +1 -1
  1257. package/typography/CodeBlock/__stories__/WithCopyToClipboard.d.ts +1 -1
  1258. package/typography/CodeBlock/__stories__/WithPhaseBanner.d.ts +1 -1
  1259. package/typography/CodeBlock/index.d.ts +1 -1
  1260. package/typography/CodeBlock/index.js +1 -2
  1261. package/typography/CodeBlock/index.js.map +2 -2
  1262. package/typography/Heading/Heading.stories.d.ts +2 -0
  1263. package/typography/Heading/__stories__/Default.d.ts +1 -1
  1264. package/typography/HeadingCaption/HeadingCaption.stories.d.ts +2 -0
  1265. package/typography/HeadingCaption/__stories__/Default.d.ts +1 -1
  1266. package/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +1 -1
  1267. package/typography/Hint/Hint.stories.d.ts +2 -0
  1268. package/typography/Hint/__stories__/Default.d.ts +1 -1
  1269. package/typography/Hint/__stories__/FontSizes.d.ts +1 -1
  1270. package/typography/NormalText/NormalText.stories.d.ts +2 -0
  1271. package/typography/NormalText/__stories__/Default.d.ts +1 -1
  1272. package/typography/NormalText/__stories__/FontSizes.d.ts +1 -1
  1273. package/typography/NormalText/__stories__/FontWeight.d.ts +1 -1
  1274. package/typography/NormalText/__stories__/Variants.d.ts +1 -1
  1275. package/typography/Paragraph/Paragraph.stories.d.ts +2 -0
  1276. package/typography/Paragraph/__stories__/Default.d.ts +1 -1
  1277. package/typography/Paragraph/__stories__/FontSizes.d.ts +1 -1
  1278. package/typography/Paragraph/__stories__/FontWeight.d.ts +1 -1
  1279. package/typography/Paragraph/__stories__/LeadVariant.d.ts +1 -1
  1280. package/typography/Paragraph/__stories__/SmallVariant.d.ts +1 -1
  1281. package/typography/Typography/index.js.map +1 -1
  1282. package/utils/VisuallyHidden/VisuallyHidden.stories.d.ts +2 -0
  1283. package/utils/VisuallyHidden/__stories__/Default.d.ts +1 -1
  1284. package/utils/hooks/useDebounce/index.js +3 -3
  1285. package/utils/hooks/useDebounce.d.ts +1 -1
  1286. package/utils/hooks/useDebounce.js.map +2 -2
  1287. package/utils/hooks/useLatest.d.ts +1 -1
  1288. package/utils/hooks/useLatest.js.map +2 -2
  1289. package/utils/hooks/useScreen/index.js +3 -44
  1290. package/utils/hooks/useScreen.d.ts +2 -7
  1291. package/utils/hooks/useScreen.js.map +3 -3
  1292. package/utils/hooks/useScreen.native/index.js +35 -0
  1293. package/utils/hooks/useScreen.native/package.json +6 -0
  1294. package/utils/hooks/useScreen.native.d.ts +8 -0
  1295. package/utils/hooks/useScreen.native.js.map +7 -0
  1296. package/utils/hooks/useScreen.web/index.js +58 -0
  1297. package/utils/hooks/useScreen.web/package.json +6 -0
  1298. package/utils/hooks/useScreen.web.d.ts +8 -0
  1299. package/utils/hooks/useScreen.web.js.map +7 -0
  1300. package/utils/hooks/useSearch.d.ts +2 -2
  1301. package/utils/hooks/useSearch.js.map +2 -2
  1302. package/utils/index.d.ts +0 -1
  1303. package/utils/index.js +0 -1
  1304. package/utils/index.js.map +2 -2
  1305. package/api/APIErrors/index.js +0 -40
  1306. package/api/APIErrors/package.json +0 -6
  1307. package/api/APIErrors.d.ts +0 -23
  1308. package/api/APIErrors.js.map +0 -7
  1309. package/api/APIProvider/index.js +0 -24
  1310. package/api/APIProvider/package.json +0 -6
  1311. package/api/APIProvider.d.ts +0 -16
  1312. package/api/APIProvider.js.map +0 -7
  1313. package/api/fetchAPI/index.js +0 -29
  1314. package/api/fetchAPI/package.json +0 -6
  1315. package/api/fetchAPI.d.ts +0 -14
  1316. package/api/fetchAPI.js.map +0 -7
  1317. package/api/index.d.ts +0 -8
  1318. package/api/index.js +0 -12
  1319. package/api/index.js.map +0 -7
  1320. package/api/index.spec.d.ts +0 -1
  1321. package/api/package.json +0 -6
  1322. package/api/useResource/index.js +0 -79
  1323. package/api/useResource/package.json +0 -6
  1324. package/api/useResource.d.ts +0 -11
  1325. package/api/useResource.js.map +0 -7
  1326. package/api/useResourceAction/index.js +0 -74
  1327. package/api/useResourceAction/package.json +0 -6
  1328. package/api/useResourceAction.d.ts +0 -2
  1329. package/api/useResourceAction.js.map +0 -7
  1330. package/api/useResourceQuery/index.js +0 -149
  1331. package/api/useResourceQuery/package.json +0 -6
  1332. package/api/useResourceQuery.d.ts +0 -18
  1333. package/api/useResourceQuery.js.map +0 -7
  1334. package/api/utils/index.js +0 -131
  1335. package/api/utils/package.json +0 -6
  1336. package/api/utils.d.ts +0 -10
  1337. package/api/utils.js.map +0 -7
  1338. package/app/BannerContainer/BannerContainer.stories/index.js +0 -14
  1339. package/app/BannerContainer/BannerContainer.stories/package.json +0 -6
  1340. package/app/BannerContainer/BannerContainer.stories.js.map +0 -7
  1341. package/app/BannerContainer/__stories__/CookiesBanner/index.js +0 -16
  1342. package/app/BannerContainer/__stories__/CookiesBanner/package.json +0 -6
  1343. package/app/BannerContainer/__stories__/CookiesBanner.js.map +0 -7
  1344. package/app/Footer/Footer.stories/index.js +0 -29
  1345. package/app/Footer/Footer.stories/package.json +0 -6
  1346. package/app/Footer/Footer.stories.js.map +0 -7
  1347. package/app/Footer/__stories__/Default/index.js +0 -9
  1348. package/app/Footer/__stories__/Default/package.json +0 -6
  1349. package/app/Footer/__stories__/Default.js.map +0 -7
  1350. package/app/Footer/__stories__/DefaultCopyright/index.js +0 -23
  1351. package/app/Footer/__stories__/DefaultCopyright/package.json +0 -6
  1352. package/app/Footer/__stories__/DefaultCopyright.js.map +0 -7
  1353. package/app/Footer/__stories__/FooterAllInclusive/index.js +0 -32
  1354. package/app/Footer/__stories__/FooterAllInclusive/package.json +0 -6
  1355. package/app/Footer/__stories__/FooterAllInclusive.js.map +0 -7
  1356. package/app/Footer/__stories__/FooterWithLink/index.js +0 -24
  1357. package/app/Footer/__stories__/FooterWithLink/package.json +0 -6
  1358. package/app/Footer/__stories__/FooterWithLink.js.map +0 -7
  1359. package/app/Footer/__stories__/FooterWithLogo/index.js +0 -25
  1360. package/app/Footer/__stories__/FooterWithLogo/package.json +0 -6
  1361. package/app/Footer/__stories__/FooterWithLogo.js.map +0 -7
  1362. package/app/Footer/__stories__/FooterWithSecondaryNavigation/index.js +0 -28
  1363. package/app/Footer/__stories__/FooterWithSecondaryNavigation/package.json +0 -6
  1364. package/app/Footer/__stories__/FooterWithSecondaryNavigation.js.map +0 -7
  1365. package/app/Footer/__stories__/FooterWithText/index.js +0 -23
  1366. package/app/Footer/__stories__/FooterWithText/package.json +0 -6
  1367. package/app/Footer/__stories__/FooterWithText.js.map +0 -7
  1368. package/app/Footer/__stories__/YearCopyright/index.js +0 -23
  1369. package/app/Footer/__stories__/YearCopyright/package.json +0 -6
  1370. package/app/Footer/__stories__/YearCopyright.js.map +0 -7
  1371. package/app/Header/Header.stories/index.js +0 -27
  1372. package/app/Header/Header.stories/package.json +0 -6
  1373. package/app/Header/Header.stories.js.map +0 -7
  1374. package/app/Header/__stories__/Default/index.js +0 -12
  1375. package/app/Header/__stories__/Default/package.json +0 -6
  1376. package/app/Header/__stories__/Default.js.map +0 -7
  1377. package/app/Header/__stories__/WithHeaderNavigation/index.js +0 -25
  1378. package/app/Header/__stories__/WithHeaderNavigation/package.json +0 -6
  1379. package/app/Header/__stories__/WithHeaderNavigation.js.map +0 -7
  1380. package/app/Header/__stories__/WithNavigation/index.js +0 -32
  1381. package/app/Header/__stories__/WithNavigation/package.json +0 -6
  1382. package/app/Header/__stories__/WithNavigation.js.map +0 -7
  1383. package/app/Header/__stories__/WithServiceName/index.js +0 -13
  1384. package/app/Header/__stories__/WithServiceName/package.json +0 -6
  1385. package/app/Header/__stories__/WithServiceName.js.map +0 -7
  1386. package/app/Header/__stories__/WithServiceNameAndLogo/index.js +0 -17
  1387. package/app/Header/__stories__/WithServiceNameAndLogo/package.json +0 -6
  1388. package/app/Header/__stories__/WithServiceNameAndLogo.js.map +0 -7
  1389. package/app/Loader/Loader.stories/index.js +0 -14
  1390. package/app/Loader/Loader.stories/package.json +0 -6
  1391. package/app/Loader/Loader.stories.js.map +0 -7
  1392. package/app/Loader/__stories__/Default/index.js +0 -11
  1393. package/app/Loader/__stories__/Default/package.json +0 -6
  1394. package/app/Loader/__stories__/Default.js.map +0 -7
  1395. package/app/Loader/__stories__/FullPageLoader/index.js +0 -13
  1396. package/app/Loader/__stories__/FullPageLoader/package.json +0 -6
  1397. package/app/Loader/__stories__/FullPageLoader.js.map +0 -7
  1398. package/app/Masthead/Masthead.stories/index.js +0 -19
  1399. package/app/Masthead/Masthead.stories/package.json +0 -6
  1400. package/app/Masthead/Masthead.stories.js.map +0 -7
  1401. package/app/Masthead/__stories__/Default/index.js +0 -13
  1402. package/app/Masthead/__stories__/Default/package.json +0 -6
  1403. package/app/Masthead/__stories__/Default.js.map +0 -7
  1404. package/app/Masthead/__stories__/WithElements/index.js +0 -20
  1405. package/app/Masthead/__stories__/WithElements/package.json +0 -6
  1406. package/app/Masthead/__stories__/WithElements.js.map +0 -7
  1407. package/app/Masthead/__stories__/WithLogo/index.js +0 -18
  1408. package/app/Masthead/__stories__/WithLogo/package.json +0 -6
  1409. package/app/Masthead/__stories__/WithLogo.js.map +0 -7
  1410. package/app/Modal/Modal/index.js +0 -51
  1411. package/app/Modal/Modal/package.json +0 -6
  1412. package/app/Modal/Modal.js.map +0 -7
  1413. package/app/Modal/Modal.stories/index.js +0 -24
  1414. package/app/Modal/Modal.stories/package.json +0 -6
  1415. package/app/Modal/Modal.stories.js.map +0 -7
  1416. package/app/Modal/__stories__/AlertDialog/index.js +0 -48
  1417. package/app/Modal/__stories__/AlertDialog/package.json +0 -6
  1418. package/app/Modal/__stories__/AlertDialog.js.map +0 -7
  1419. package/app/Modal/__stories__/Auto/index.js +0 -24
  1420. package/app/Modal/__stories__/Auto/package.json +0 -6
  1421. package/app/Modal/__stories__/Auto.js.map +0 -7
  1422. package/app/Modal/__stories__/Default/index.js +0 -38
  1423. package/app/Modal/__stories__/Default/package.json +0 -6
  1424. package/app/Modal/__stories__/Default.js.map +0 -7
  1425. package/app/Modal/__stories__/Dense/index.js +0 -38
  1426. package/app/Modal/__stories__/Dense/package.json +0 -6
  1427. package/app/Modal/__stories__/Dense.js.map +0 -7
  1428. package/app/Modal/__stories__/WithHooks/index.js +0 -33
  1429. package/app/Modal/__stories__/WithHooks/package.json +0 -6
  1430. package/app/Modal/__stories__/WithHooks.js.map +0 -7
  1431. package/app/Modal/__stories__/WithoutModalGaps/index.js +0 -38
  1432. package/app/Modal/__stories__/WithoutModalGaps/package.json +0 -6
  1433. package/app/Modal/__stories__/WithoutModalGaps.js.map +0 -7
  1434. package/app/NotFound/NotFound.stories/index.js +0 -12
  1435. package/app/NotFound/NotFound.stories/package.json +0 -6
  1436. package/app/NotFound/NotFound.stories.js.map +0 -7
  1437. package/app/NotFound/__stories__/Default/index.js +0 -9
  1438. package/app/NotFound/__stories__/Default/package.json +0 -6
  1439. package/app/NotFound/__stories__/Default.js.map +0 -7
  1440. package/app/Panel/Panel.stories/index.js +0 -14
  1441. package/app/Panel/Panel.stories/package.json +0 -6
  1442. package/app/Panel/Panel.stories.js.map +0 -7
  1443. package/app/Panel/__stories__/Default/index.js +0 -9
  1444. package/app/Panel/__stories__/Default/package.json +0 -6
  1445. package/app/Panel/__stories__/Default.js.map +0 -7
  1446. package/app/PhaseBannerHeader/PhaseBannerHeader.stories/index.js +0 -12
  1447. package/app/PhaseBannerHeader/PhaseBannerHeader.stories/package.json +0 -6
  1448. package/app/PhaseBannerHeader/PhaseBannerHeader.stories.js.map +0 -7
  1449. package/app/PhaseBannerHeader/__stories__/Default/index.js +0 -15
  1450. package/app/PhaseBannerHeader/__stories__/Default/package.json +0 -6
  1451. package/app/PhaseBannerHeader/__stories__/Default.js.map +0 -7
  1452. package/app/QrCodeScanner/QrCodeScanner.stories/index.js +0 -12
  1453. package/app/QrCodeScanner/QrCodeScanner.stories/package.json +0 -6
  1454. package/app/QrCodeScanner/QrCodeScanner.stories.js.map +0 -7
  1455. package/app/QrCodeScanner/__stories__/Default/index.js +0 -41
  1456. package/app/QrCodeScanner/__stories__/Default/package.json +0 -6
  1457. package/app/QrCodeScanner/__stories__/Default.js.map +0 -7
  1458. package/app/QrCodeViewer/QRCode.stories/index.js +0 -14
  1459. package/app/QrCodeViewer/QRCode.stories/package.json +0 -6
  1460. package/app/QrCodeViewer/QRCode.stories.js.map +0 -7
  1461. package/app/QrCodeViewer/__stories__/Custom/index.js +0 -28
  1462. package/app/QrCodeViewer/__stories__/Custom/package.json +0 -6
  1463. package/app/QrCodeViewer/__stories__/Custom.js.map +0 -7
  1464. package/app/QrCodeViewer/__stories__/Default/index.js +0 -9
  1465. package/app/QrCodeViewer/__stories__/Default/package.json +0 -6
  1466. package/app/QrCodeViewer/__stories__/Default.js.map +0 -7
  1467. package/app/Skeleton/Skeleton.stories/index.js +0 -29
  1468. package/app/Skeleton/Skeleton.stories/package.json +0 -6
  1469. package/app/Skeleton/Skeleton.stories.js.map +0 -7
  1470. package/app/Skeleton/__stories__/Button/index.js +0 -9
  1471. package/app/Skeleton/__stories__/Button/package.json +0 -6
  1472. package/app/Skeleton/__stories__/Button.js.map +0 -7
  1473. package/app/Skeleton/__stories__/Circular/index.js +0 -9
  1474. package/app/Skeleton/__stories__/Circular/package.json +0 -6
  1475. package/app/Skeleton/__stories__/Circular.js.map +0 -7
  1476. package/app/Skeleton/__stories__/Default/index.js +0 -9
  1477. package/app/Skeleton/__stories__/Default/package.json +0 -6
  1478. package/app/Skeleton/__stories__/Default.js.map +0 -7
  1479. package/app/Skeleton/__stories__/NoAnimation/index.js +0 -9
  1480. package/app/Skeleton/__stories__/NoAnimation/package.json +0 -6
  1481. package/app/Skeleton/__stories__/NoAnimation.js.map +0 -7
  1482. package/app/Skeleton/__stories__/Rectangular/index.js +0 -9
  1483. package/app/Skeleton/__stories__/Rectangular/package.json +0 -6
  1484. package/app/Skeleton/__stories__/Rectangular.js.map +0 -7
  1485. package/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +0 -9
  1486. package/app/Skeleton/__stories__/SpecificWidthAndHeight/package.json +0 -6
  1487. package/app/Skeleton/__stories__/SpecificWidthAndHeight.js.map +0 -7
  1488. package/app/Skeleton/__stories__/TextSizes/index.js +0 -9
  1489. package/app/Skeleton/__stories__/TextSizes/package.json +0 -6
  1490. package/app/Skeleton/__stories__/TextSizes.js.map +0 -7
  1491. package/app/Skeleton/__stories__/UnderTypography/index.js +0 -11
  1492. package/app/Skeleton/__stories__/UnderTypography/package.json +0 -6
  1493. package/app/Skeleton/__stories__/UnderTypography.js.map +0 -7
  1494. package/app/Skeleton/__stories__/WithChildren/index.js +0 -10
  1495. package/app/Skeleton/__stories__/WithChildren/package.json +0 -6
  1496. package/app/Skeleton/__stories__/WithChildren.js.map +0 -7
  1497. package/cjs/api/APIErrors/index.js +0 -74
  1498. package/cjs/api/APIErrors.js.map +0 -7
  1499. package/cjs/api/APIProvider/index.js +0 -59
  1500. package/cjs/api/APIProvider.js.map +0 -7
  1501. package/cjs/api/fetchAPI/index.js +0 -49
  1502. package/cjs/api/fetchAPI.js.map +0 -7
  1503. package/cjs/api/index.js +0 -41
  1504. package/cjs/api/index.js.map +0 -7
  1505. package/cjs/api/useResource/index.js +0 -102
  1506. package/cjs/api/useResource.js.map +0 -7
  1507. package/cjs/api/useResourceAction/index.js +0 -97
  1508. package/cjs/api/useResourceAction.js.map +0 -7
  1509. package/cjs/api/useResourceQuery/index.js +0 -173
  1510. package/cjs/api/useResourceQuery.js.map +0 -7
  1511. package/cjs/api/utils/index.js +0 -157
  1512. package/cjs/api/utils.js.map +0 -7
  1513. package/cjs/app/BannerContainer/BannerContainer.stories/index.js +0 -47
  1514. package/cjs/app/BannerContainer/BannerContainer.stories.js.map +0 -7
  1515. package/cjs/app/BannerContainer/__stories__/CookiesBanner/index.js +0 -49
  1516. package/cjs/app/BannerContainer/__stories__/CookiesBanner.js.map +0 -7
  1517. package/cjs/app/Footer/Footer.stories/index.js +0 -69
  1518. package/cjs/app/Footer/Footer.stories.js.map +0 -7
  1519. package/cjs/app/Footer/__stories__/Default/index.js +0 -42
  1520. package/cjs/app/Footer/__stories__/Default.js.map +0 -7
  1521. package/cjs/app/Footer/__stories__/DefaultCopyright/index.js +0 -47
  1522. package/cjs/app/Footer/__stories__/DefaultCopyright.js.map +0 -7
  1523. package/cjs/app/Footer/__stories__/FooterAllInclusive/index.js +0 -51
  1524. package/cjs/app/Footer/__stories__/FooterAllInclusive.js.map +0 -7
  1525. package/cjs/app/Footer/__stories__/FooterWithLink/index.js +0 -48
  1526. package/cjs/app/Footer/__stories__/FooterWithLink.js.map +0 -7
  1527. package/cjs/app/Footer/__stories__/FooterWithLogo/index.js +0 -50
  1528. package/cjs/app/Footer/__stories__/FooterWithLogo.js.map +0 -7
  1529. package/cjs/app/Footer/__stories__/FooterWithSecondaryNavigation/index.js +0 -49
  1530. package/cjs/app/Footer/__stories__/FooterWithSecondaryNavigation.js.map +0 -7
  1531. package/cjs/app/Footer/__stories__/FooterWithText/index.js +0 -48
  1532. package/cjs/app/Footer/__stories__/FooterWithText.js.map +0 -7
  1533. package/cjs/app/Footer/__stories__/YearCopyright/index.js +0 -47
  1534. package/cjs/app/Footer/__stories__/YearCopyright.js.map +0 -7
  1535. package/cjs/app/Header/Header.stories/index.js +0 -64
  1536. package/cjs/app/Header/Header.stories.js.map +0 -7
  1537. package/cjs/app/Header/__stories__/Default/index.js +0 -45
  1538. package/cjs/app/Header/__stories__/Default.js.map +0 -7
  1539. package/cjs/app/Header/__stories__/WithHeaderNavigation/index.js +0 -54
  1540. package/cjs/app/Header/__stories__/WithHeaderNavigation.js.map +0 -7
  1541. package/cjs/app/Header/__stories__/WithNavigation/index.js +0 -65
  1542. package/cjs/app/Header/__stories__/WithNavigation.js.map +0 -7
  1543. package/cjs/app/Header/__stories__/WithServiceName/index.js +0 -46
  1544. package/cjs/app/Header/__stories__/WithServiceName.js.map +0 -7
  1545. package/cjs/app/Header/__stories__/WithServiceNameAndLogo/index.js +0 -50
  1546. package/cjs/app/Header/__stories__/WithServiceNameAndLogo.js.map +0 -7
  1547. package/cjs/app/Loader/Loader.stories/index.js +0 -48
  1548. package/cjs/app/Loader/Loader.stories.js.map +0 -7
  1549. package/cjs/app/Loader/__stories__/Default/index.js +0 -44
  1550. package/cjs/app/Loader/__stories__/Default.js.map +0 -7
  1551. package/cjs/app/Loader/__stories__/FullPageLoader/index.js +0 -42
  1552. package/cjs/app/Loader/__stories__/FullPageLoader.js.map +0 -7
  1553. package/cjs/app/Masthead/Masthead.stories/index.js +0 -54
  1554. package/cjs/app/Masthead/Masthead.stories.js.map +0 -7
  1555. package/cjs/app/Masthead/__stories__/Default/index.js +0 -46
  1556. package/cjs/app/Masthead/__stories__/Default.js.map +0 -7
  1557. package/cjs/app/Masthead/__stories__/WithElements/index.js +0 -49
  1558. package/cjs/app/Masthead/__stories__/WithElements.js.map +0 -7
  1559. package/cjs/app/Masthead/__stories__/WithLogo/index.js +0 -47
  1560. package/cjs/app/Masthead/__stories__/WithLogo.js.map +0 -7
  1561. package/cjs/app/Modal/Modal/index.js +0 -85
  1562. package/cjs/app/Modal/Modal.js.map +0 -7
  1563. package/cjs/app/Modal/Modal.stories/index.js +0 -62
  1564. package/cjs/app/Modal/Modal.stories.js.map +0 -7
  1565. package/cjs/app/Modal/__stories__/AlertDialog/index.js +0 -76
  1566. package/cjs/app/Modal/__stories__/AlertDialog.js.map +0 -7
  1567. package/cjs/app/Modal/__stories__/Auto/index.js +0 -49
  1568. package/cjs/app/Modal/__stories__/Auto.js.map +0 -7
  1569. package/cjs/app/Modal/__stories__/Default/index.js +0 -66
  1570. package/cjs/app/Modal/__stories__/Default.js.map +0 -7
  1571. package/cjs/app/Modal/__stories__/Dense/index.js +0 -66
  1572. package/cjs/app/Modal/__stories__/Dense.js.map +0 -7
  1573. package/cjs/app/Modal/__stories__/WithHooks/index.js +0 -61
  1574. package/cjs/app/Modal/__stories__/WithHooks.js.map +0 -7
  1575. package/cjs/app/Modal/__stories__/WithoutModalGaps/index.js +0 -66
  1576. package/cjs/app/Modal/__stories__/WithoutModalGaps.js.map +0 -7
  1577. package/cjs/app/NotFound/NotFound.stories/index.js +0 -45
  1578. package/cjs/app/NotFound/NotFound.stories.js.map +0 -7
  1579. package/cjs/app/NotFound/__stories__/Default/index.js +0 -42
  1580. package/cjs/app/NotFound/__stories__/Default.js.map +0 -7
  1581. package/cjs/app/Panel/Panel.stories/index.js +0 -47
  1582. package/cjs/app/Panel/Panel.stories.js.map +0 -7
  1583. package/cjs/app/Panel/__stories__/Default/index.js +0 -42
  1584. package/cjs/app/Panel/__stories__/Default.js.map +0 -7
  1585. package/cjs/app/PhaseBannerHeader/PhaseBannerHeader.stories/index.js +0 -45
  1586. package/cjs/app/PhaseBannerHeader/PhaseBannerHeader.stories.js.map +0 -7
  1587. package/cjs/app/PhaseBannerHeader/__stories__/Default/index.js +0 -48
  1588. package/cjs/app/PhaseBannerHeader/__stories__/Default.js.map +0 -7
  1589. package/cjs/app/QrCodeScanner/QrCodeScanner.stories/index.js +0 -45
  1590. package/cjs/app/QrCodeScanner/QrCodeScanner.stories.js.map +0 -7
  1591. package/cjs/app/QrCodeScanner/__stories__/Default/index.js +0 -74
  1592. package/cjs/app/QrCodeScanner/__stories__/Default.js.map +0 -7
  1593. package/cjs/app/QrCodeViewer/QRCode.stories/index.js +0 -48
  1594. package/cjs/app/QrCodeViewer/QRCode.stories.js.map +0 -7
  1595. package/cjs/app/QrCodeViewer/__stories__/Custom/index.js +0 -61
  1596. package/cjs/app/QrCodeViewer/__stories__/Custom.js.map +0 -7
  1597. package/cjs/app/QrCodeViewer/__stories__/Default/index.js +0 -42
  1598. package/cjs/app/QrCodeViewer/__stories__/Default.js.map +0 -7
  1599. package/cjs/app/Skeleton/Skeleton.stories/index.js +0 -70
  1600. package/cjs/app/Skeleton/Skeleton.stories.js.map +0 -7
  1601. package/cjs/app/Skeleton/__stories__/Button/index.js +0 -42
  1602. package/cjs/app/Skeleton/__stories__/Button.js.map +0 -7
  1603. package/cjs/app/Skeleton/__stories__/Circular/index.js +0 -42
  1604. package/cjs/app/Skeleton/__stories__/Circular.js.map +0 -7
  1605. package/cjs/app/Skeleton/__stories__/Default/index.js +0 -42
  1606. package/cjs/app/Skeleton/__stories__/Default.js.map +0 -7
  1607. package/cjs/app/Skeleton/__stories__/NoAnimation/index.js +0 -42
  1608. package/cjs/app/Skeleton/__stories__/NoAnimation.js.map +0 -7
  1609. package/cjs/app/Skeleton/__stories__/Rectangular/index.js +0 -42
  1610. package/cjs/app/Skeleton/__stories__/Rectangular.js.map +0 -7
  1611. package/cjs/app/Skeleton/__stories__/SpecificWidthAndHeight/index.js +0 -42
  1612. package/cjs/app/Skeleton/__stories__/SpecificWidthAndHeight.js.map +0 -7
  1613. package/cjs/app/Skeleton/__stories__/TextSizes/index.js +0 -42
  1614. package/cjs/app/Skeleton/__stories__/TextSizes.js.map +0 -7
  1615. package/cjs/app/Skeleton/__stories__/UnderTypography/index.js +0 -44
  1616. package/cjs/app/Skeleton/__stories__/UnderTypography.js.map +0 -7
  1617. package/cjs/app/Skeleton/__stories__/WithChildren/index.js +0 -43
  1618. package/cjs/app/Skeleton/__stories__/WithChildren.js.map +0 -7
  1619. package/cjs/content/Accordion/Accordion.stories/index.js +0 -57
  1620. package/cjs/content/Accordion/Accordion.stories.js.map +0 -7
  1621. package/cjs/content/Accordion/__stories__/Auto/index.js +0 -50
  1622. package/cjs/content/Accordion/__stories__/Auto.js.map +0 -7
  1623. package/cjs/content/Accordion/__stories__/Default/index.js +0 -46
  1624. package/cjs/content/Accordion/__stories__/Default.js.map +0 -7
  1625. package/cjs/content/Accordion/__stories__/WithHints/index.js +0 -47
  1626. package/cjs/content/Accordion/__stories__/WithHints.js.map +0 -7
  1627. package/cjs/content/Accordion/__stories__/WithHook/index.js +0 -55
  1628. package/cjs/content/Accordion/__stories__/WithHook.js.map +0 -7
  1629. package/cjs/content/Blockquote/Blockquote.stories/index.js +0 -50
  1630. package/cjs/content/Blockquote/Blockquote.stories.js.map +0 -7
  1631. package/cjs/content/Blockquote/__stories__/Default/index.js +0 -42
  1632. package/cjs/content/Blockquote/__stories__/Default.js.map +0 -7
  1633. package/cjs/content/Blockquote/__stories__/Dense/index.js +0 -42
  1634. package/cjs/content/Blockquote/__stories__/Dense.js.map +0 -7
  1635. package/cjs/content/Card/Card.stories/index.js +0 -78
  1636. package/cjs/content/Card/Card.stories.js.map +0 -7
  1637. package/cjs/content/Card/__stories__/Default/index.js +0 -43
  1638. package/cjs/content/Card/__stories__/Default.js.map +0 -7
  1639. package/cjs/content/Card/__stories__/Dense/index.js +0 -43
  1640. package/cjs/content/Card/__stories__/Dense.js.map +0 -7
  1641. package/cjs/content/Card/__stories__/WithClickableContent/index.js +0 -43
  1642. package/cjs/content/Card/__stories__/WithClickableContent.js.map +0 -7
  1643. package/cjs/content/Card/__stories__/WithClickableLink/index.js +0 -43
  1644. package/cjs/content/Card/__stories__/WithClickableLink.js.map +0 -7
  1645. package/cjs/content/Card/__stories__/WithDarkBorder/index.js +0 -43
  1646. package/cjs/content/Card/__stories__/WithDarkBorder.js.map +0 -7
  1647. package/cjs/content/Card/__stories__/WithDarkTopBorder/index.js +0 -43
  1648. package/cjs/content/Card/__stories__/WithDarkTopBorder.js.map +0 -7
  1649. package/cjs/content/Card/__stories__/WithDivider/index.js +0 -43
  1650. package/cjs/content/Card/__stories__/WithDivider.js.map +0 -7
  1651. package/cjs/content/Card/__stories__/WithGrayBorder/index.js +0 -43
  1652. package/cjs/content/Card/__stories__/WithGrayBorder.js.map +0 -7
  1653. package/cjs/content/Card/__stories__/WithGrayTopBorder/index.js +0 -43
  1654. package/cjs/content/Card/__stories__/WithGrayTopBorder.js.map +0 -7
  1655. package/cjs/content/Card/__stories__/WithGroupButton/index.js +0 -44
  1656. package/cjs/content/Card/__stories__/WithGroupButton.js.map +0 -7
  1657. package/cjs/content/Card/__stories__/WithLink/index.js +0 -43
  1658. package/cjs/content/Card/__stories__/WithLink.js.map +0 -7
  1659. package/cjs/content/Chip/Chip.stories/index.js +0 -57
  1660. package/cjs/content/Chip/Chip.stories.js.map +0 -7
  1661. package/cjs/content/Chip/__stories__/ClickableChip/index.js +0 -50
  1662. package/cjs/content/Chip/__stories__/ClickableChip.js.map +0 -7
  1663. package/cjs/content/Chip/__stories__/ClickableDeletableChip/index.js +0 -53
  1664. package/cjs/content/Chip/__stories__/ClickableDeletableChip.js.map +0 -7
  1665. package/cjs/content/Chip/__stories__/Default/index.js +0 -42
  1666. package/cjs/content/Chip/__stories__/Default.js.map +0 -7
  1667. package/cjs/content/Chip/__stories__/DeletableChip/index.js +0 -50
  1668. package/cjs/content/Chip/__stories__/DeletableChip.js.map +0 -7
  1669. package/cjs/content/Chip/__stories__/GroupOfChips/index.js +0 -42
  1670. package/cjs/content/Chip/__stories__/GroupOfChips.js.map +0 -7
  1671. package/cjs/content/Details/Details.stories/index.js +0 -47
  1672. package/cjs/content/Details/Details.stories.js.map +0 -7
  1673. package/cjs/content/Details/__stories__/Default/index.js +0 -42
  1674. package/cjs/content/Details/__stories__/Default.js.map +0 -7
  1675. package/cjs/content/List/List.stories/index.js +0 -62
  1676. package/cjs/content/List/List.stories.js.map +0 -7
  1677. package/cjs/content/List/__stories__/BulletList/index.js +0 -43
  1678. package/cjs/content/List/__stories__/BulletList.js.map +0 -7
  1679. package/cjs/content/List/__stories__/Default/index.js +0 -43
  1680. package/cjs/content/List/__stories__/Default.js.map +0 -7
  1681. package/cjs/content/List/__stories__/HorizontalList/index.js +0 -44
  1682. package/cjs/content/List/__stories__/HorizontalList.js.map +0 -7
  1683. package/cjs/content/List/__stories__/NestedBulletList/index.js +0 -43
  1684. package/cjs/content/List/__stories__/NestedBulletList.js.map +0 -7
  1685. package/cjs/content/List/__stories__/NumberedList/index.js +0 -43
  1686. package/cjs/content/List/__stories__/NumberedList.js.map +0 -7
  1687. package/cjs/content/List/__stories__/WithExtraSpace/index.js +0 -43
  1688. package/cjs/content/List/__stories__/WithExtraSpace.js.map +0 -7
  1689. package/cjs/content/Markdown/Markdown.stories/index.js +0 -46
  1690. package/cjs/content/Markdown/Markdown.stories.js.map +0 -7
  1691. package/cjs/content/Markdown/__stories__/Default/index.js +0 -63
  1692. package/cjs/content/Markdown/__stories__/Default.js.map +0 -7
  1693. package/cjs/content/SafeHTML/SafeHTML.stories/index.js +0 -46
  1694. package/cjs/content/SafeHTML/SafeHTML.stories.js.map +0 -7
  1695. package/cjs/content/SafeHTML/__stories__/Default/index.js +0 -61
  1696. package/cjs/content/SafeHTML/__stories__/Default.js.map +0 -7
  1697. package/cjs/content/StepNav/StepNav.stories/index.js +0 -58
  1698. package/cjs/content/StepNav/StepNav.stories.js.map +0 -7
  1699. package/cjs/content/StepNav/__stories__/Auto/index.js +0 -164
  1700. package/cjs/content/StepNav/__stories__/Auto.js.map +0 -7
  1701. package/cjs/content/StepNav/__stories__/Default/index.js +0 -206
  1702. package/cjs/content/StepNav/__stories__/Default.js.map +0 -7
  1703. package/cjs/content/StepNav/__stories__/Dense/index.js +0 -206
  1704. package/cjs/content/StepNav/__stories__/Dense.js.map +0 -7
  1705. package/cjs/content/StepNav/__stories__/WithHints/index.js +0 -207
  1706. package/cjs/content/StepNav/__stories__/WithHints.js.map +0 -7
  1707. package/cjs/content/StepNav/__stories__/WithHook/index.js +0 -167
  1708. package/cjs/content/StepNav/__stories__/WithHook.js.map +0 -7
  1709. package/cjs/content/SummaryList/SummaryList.stories/index.js +0 -49
  1710. package/cjs/content/SummaryList/SummaryList.stories.js.map +0 -7
  1711. package/cjs/content/SummaryList/__stories__/Default/index.js +0 -44
  1712. package/cjs/content/SummaryList/__stories__/Default.js.map +0 -7
  1713. package/cjs/content/SummaryList/__stories__/RowVariations/index.js +0 -44
  1714. package/cjs/content/SummaryList/__stories__/RowVariations.js.map +0 -7
  1715. package/cjs/content/SummaryList/__stories__/SummaryListExample/index.js +0 -70
  1716. package/cjs/content/SummaryList/__stories__/SummaryListExample.js.map +0 -7
  1717. package/cjs/content/SummaryList/__stories__/WithActions/index.js +0 -45
  1718. package/cjs/content/SummaryList/__stories__/WithActions.js.map +0 -7
  1719. package/cjs/content/SummaryList/__stories__/WithKeyAndAction/index.js +0 -47
  1720. package/cjs/content/SummaryList/__stories__/WithKeyAndAction.js.map +0 -7
  1721. package/cjs/content/SummaryList/__stories__/WithNoLastBorder/index.js +0 -44
  1722. package/cjs/content/SummaryList/__stories__/WithNoLastBorder.js.map +0 -7
  1723. package/cjs/content/SummaryList/__stories__/WithoutActions/index.js +0 -42
  1724. package/cjs/content/SummaryList/__stories__/WithoutActions.js.map +0 -7
  1725. package/cjs/content/SummaryList/__stories__/WithoutBorders/index.js +0 -44
  1726. package/cjs/content/SummaryList/__stories__/WithoutBorders.js.map +0 -7
  1727. package/cjs/content/Table/Table.stories/index.js +0 -98
  1728. package/cjs/content/Table/Table.stories.js.map +0 -7
  1729. package/cjs/content/Table/__stories__/DarkVariant/index.js +0 -74
  1730. package/cjs/content/Table/__stories__/DarkVariant.js.map +0 -7
  1731. package/cjs/content/Table/__stories__/DarkVariantWithVerticalHeaders/index.js +0 -74
  1732. package/cjs/content/Table/__stories__/DarkVariantWithVerticalHeaders.js.map +0 -7
  1733. package/cjs/content/Table/__stories__/Default/index.js +0 -69
  1734. package/cjs/content/Table/__stories__/Default.js.map +0 -7
  1735. package/cjs/content/Table/__stories__/DefinedWidth/index.js +0 -69
  1736. package/cjs/content/Table/__stories__/DefinedWidth.js.map +0 -7
  1737. package/cjs/content/Table/__stories__/Densed/index.js +0 -131
  1738. package/cjs/content/Table/__stories__/Densed.js.map +0 -7
  1739. package/cjs/content/Table/__stories__/Full/index.js +0 -143
  1740. package/cjs/content/Table/__stories__/Full.js.map +0 -7
  1741. package/cjs/content/Table/__stories__/MultipleProps/index.js +0 -111
  1742. package/cjs/content/Table/__stories__/MultipleProps.js.map +0 -7
  1743. package/cjs/content/Table/__stories__/NoData/index.js +0 -44
  1744. package/cjs/content/Table/__stories__/NoData.js.map +0 -7
  1745. package/cjs/content/Table/__stories__/NumericDataType/index.js +0 -104
  1746. package/cjs/content/Table/__stories__/NumericDataType.js.map +0 -7
  1747. package/cjs/content/Table/__stories__/RowColors/index.js +0 -94
  1748. package/cjs/content/Table/__stories__/RowColors.js.map +0 -7
  1749. package/cjs/content/Table/__stories__/Stacked/index.js +0 -69
  1750. package/cjs/content/Table/__stories__/Stacked.js.map +0 -7
  1751. package/cjs/content/Table/__stories__/TableCaptions/index.js +0 -44
  1752. package/cjs/content/Table/__stories__/TableCaptions.js.map +0 -7
  1753. package/cjs/content/Table/__stories__/VerticalBorders/index.js +0 -74
  1754. package/cjs/content/Table/__stories__/VerticalBorders.js.map +0 -7
  1755. package/cjs/content/Table/__stories__/VerticalHeaders/index.js +0 -69
  1756. package/cjs/content/Table/__stories__/VerticalHeaders.js.map +0 -7
  1757. package/cjs/content/Table/__stories__/WithFloatingScroll/index.js +0 -83
  1758. package/cjs/content/Table/__stories__/WithFloatingScroll.js.map +0 -7
  1759. package/cjs/content/Table/__stories__/WithLoader/index.js +0 -90
  1760. package/cjs/content/Table/__stories__/WithLoader.js.map +0 -7
  1761. package/cjs/content/Table/__stories__/WithSortFilters/index.js +0 -143
  1762. package/cjs/content/Table/__stories__/WithSortFilters.js.map +0 -7
  1763. package/cjs/content/Table/__stories__/ZebraProp/index.js +0 -74
  1764. package/cjs/content/Table/__stories__/ZebraProp.js.map +0 -7
  1765. package/cjs/content/TaskList/TaskList.stories/index.js +0 -49
  1766. package/cjs/content/TaskList/TaskList.stories.js.map +0 -7
  1767. package/cjs/content/TaskList/__stories__/Default/index.js +0 -112
  1768. package/cjs/content/TaskList/__stories__/Default.js.map +0 -7
  1769. package/cjs/content/TaskList/__stories__/Dense/index.js +0 -112
  1770. package/cjs/content/TaskList/__stories__/Dense.js.map +0 -7
  1771. package/cjs/content/Timeline/Timeline.stories/index.js +0 -49
  1772. package/cjs/content/Timeline/Timeline.stories.js.map +0 -7
  1773. package/cjs/content/Timeline/__stories__/Default/index.js +0 -161
  1774. package/cjs/content/Timeline/__stories__/Default.js.map +0 -7
  1775. package/cjs/content/Timeline/__stories__/Dense/index.js +0 -161
  1776. package/cjs/content/Timeline/__stories__/Dense.js.map +0 -7
  1777. package/cjs/feedback/CopyToClipboard/CopyToClipboard.stories/index.js +0 -51
  1778. package/cjs/feedback/CopyToClipboard/CopyToClipboard.stories.js.map +0 -7
  1779. package/cjs/feedback/CopyToClipboard/__stories__/Banner/index.js +0 -53
  1780. package/cjs/feedback/CopyToClipboard/__stories__/Banner.js.map +0 -7
  1781. package/cjs/feedback/CopyToClipboard/__stories__/Default/index.js +0 -58
  1782. package/cjs/feedback/CopyToClipboard/__stories__/Default.js.map +0 -7
  1783. package/cjs/feedback/CopyToClipboard/__stories__/Dense/index.js +0 -56
  1784. package/cjs/feedback/CopyToClipboard/__stories__/Dense.js.map +0 -7
  1785. package/cjs/feedback/ErrorSummary/ErrorSummary.stories/index.js +0 -62
  1786. package/cjs/feedback/ErrorSummary/ErrorSummary.stories.js.map +0 -7
  1787. package/cjs/feedback/ErrorSummary/__stories__/Default/index.js +0 -44
  1788. package/cjs/feedback/ErrorSummary/__stories__/Default.js.map +0 -7
  1789. package/cjs/feedback/ErrorSummary/__stories__/Dense/index.js +0 -44
  1790. package/cjs/feedback/ErrorSummary/__stories__/Dense.js.map +0 -7
  1791. package/cjs/feedback/ErrorSummary/__stories__/LinkedToCheckbox/index.js +0 -49
  1792. package/cjs/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js.map +0 -7
  1793. package/cjs/feedback/ErrorSummary/__stories__/LinkedToField/index.js +0 -49
  1794. package/cjs/feedback/ErrorSummary/__stories__/LinkedToField.js.map +0 -7
  1795. package/cjs/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +0 -51
  1796. package/cjs/feedback/ErrorSummary/__stories__/LinkedToInput.js.map +0 -7
  1797. package/cjs/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/index.js +0 -51
  1798. package/cjs/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js.map +0 -7
  1799. package/cjs/feedback/NotificationBanner/NotificationBanner.stories/index.js +0 -54
  1800. package/cjs/feedback/NotificationBanner/NotificationBanner.stories.js.map +0 -7
  1801. package/cjs/feedback/NotificationBanner/__stories__/Default/index.js +0 -52
  1802. package/cjs/feedback/NotificationBanner/__stories__/Default.js.map +0 -7
  1803. package/cjs/feedback/NotificationBanner/__stories__/Dense/index.js +0 -53
  1804. package/cjs/feedback/NotificationBanner/__stories__/Dense.js.map +0 -7
  1805. package/cjs/feedback/NotificationBanner/__stories__/Success/index.js +0 -53
  1806. package/cjs/feedback/NotificationBanner/__stories__/Success.js.map +0 -7
  1807. package/cjs/feedback/PhaseBanner/PhaseBanner.stories/index.js +0 -50
  1808. package/cjs/feedback/PhaseBanner/PhaseBanner.stories.js.map +0 -7
  1809. package/cjs/feedback/PhaseBanner/__stories__/Default/index.js +0 -43
  1810. package/cjs/feedback/PhaseBanner/__stories__/Default.js.map +0 -7
  1811. package/cjs/feedback/PhaseBanner/__stories__/Underlined/index.js +0 -43
  1812. package/cjs/feedback/PhaseBanner/__stories__/Underlined.js.map +0 -7
  1813. package/cjs/feedback/WarningText/WarningText.stories/index.js +0 -53
  1814. package/cjs/feedback/WarningText/WarningText.stories.js.map +0 -7
  1815. package/cjs/feedback/WarningText/__stories__/AssistiveText/index.js +0 -42
  1816. package/cjs/feedback/WarningText/__stories__/AssistiveText.js.map +0 -7
  1817. package/cjs/feedback/WarningText/__stories__/Default/index.js +0 -42
  1818. package/cjs/feedback/WarningText/__stories__/Default.js.map +0 -7
  1819. package/cjs/feedback/WarningText/__stories__/Dense/index.js +0 -42
  1820. package/cjs/feedback/WarningText/__stories__/Dense.js.map +0 -7
  1821. package/cjs/form/AutoComplete/AutoComplete.stories/index.js +0 -72
  1822. package/cjs/form/AutoComplete/AutoComplete.stories.js.map +0 -7
  1823. package/cjs/form/AutoComplete/__stories__/Default/index.js +0 -45
  1824. package/cjs/form/AutoComplete/__stories__/Default.js.map +0 -7
  1825. package/cjs/form/AutoComplete/__stories__/Multiple/index.js +0 -45
  1826. package/cjs/form/AutoComplete/__stories__/Multiple.js.map +0 -7
  1827. package/cjs/form/AutoComplete/__stories__/MultipleShowingTwoSelected/index.js +0 -45
  1828. package/cjs/form/AutoComplete/__stories__/MultipleShowingTwoSelected.js.map +0 -7
  1829. package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +0 -45
  1830. package/cjs/form/AutoComplete/__stories__/MultipleWithDefaultValues.js.map +0 -7
  1831. package/cjs/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +0 -55
  1832. package/cjs/form/AutoComplete/__stories__/MultipleWithMinLength.js.map +0 -7
  1833. package/cjs/form/AutoComplete/__stories__/WithAutoSelect/index.js +0 -61
  1834. package/cjs/form/AutoComplete/__stories__/WithAutoSelect.js.map +0 -7
  1835. package/cjs/form/AutoComplete/__stories__/WithDefaultValue/index.js +0 -53
  1836. package/cjs/form/AutoComplete/__stories__/WithDefaultValue.js.map +0 -7
  1837. package/cjs/form/AutoComplete/__stories__/WithMinLength/index.js +0 -54
  1838. package/cjs/form/AutoComplete/__stories__/WithMinLength.js.map +0 -7
  1839. package/cjs/form/AutoComplete/__stories__/WithPlaceHolder/index.js +0 -53
  1840. package/cjs/form/AutoComplete/__stories__/WithPlaceHolder.js.map +0 -7
  1841. package/cjs/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -52
  1842. package/cjs/form/AutoComplete/__stories__/WithShowAllValues.js.map +0 -7
  1843. package/cjs/form/Button/Button.stories/index.js +0 -80
  1844. package/cjs/form/Button/Button.stories.js.map +0 -7
  1845. package/cjs/form/Button/__stories__/Back/index.js +0 -42
  1846. package/cjs/form/Button/__stories__/Back.js.map +0 -7
  1847. package/cjs/form/Button/__stories__/ButtonLinkButton/index.js +0 -51
  1848. package/cjs/form/Button/__stories__/ButtonLinkButton.js.map +0 -7
  1849. package/cjs/form/Button/__stories__/CallToActionButton/index.js +0 -51
  1850. package/cjs/form/Button/__stories__/CallToActionButton.js.map +0 -7
  1851. package/cjs/form/Button/__stories__/Dense/index.js +0 -42
  1852. package/cjs/form/Button/__stories__/Dense.js.map +0 -7
  1853. package/cjs/form/Button/__stories__/Disabled/index.js +0 -42
  1854. package/cjs/form/Button/__stories__/Disabled.js.map +0 -7
  1855. package/cjs/form/Button/__stories__/GroupingButtons/index.js +0 -42
  1856. package/cjs/form/Button/__stories__/GroupingButtons.js.map +0 -7
  1857. package/cjs/form/Button/__stories__/GroupingButtonsAndLinks/index.js +0 -43
  1858. package/cjs/form/Button/__stories__/GroupingButtonsAndLinks.js.map +0 -7
  1859. package/cjs/form/Button/__stories__/Primary/index.js +0 -42
  1860. package/cjs/form/Button/__stories__/Primary.js.map +0 -7
  1861. package/cjs/form/Button/__stories__/Secondary/index.js +0 -42
  1862. package/cjs/form/Button/__stories__/Secondary.js.map +0 -7
  1863. package/cjs/form/Button/__stories__/ThemeToggle/index.js +0 -42
  1864. package/cjs/form/Button/__stories__/ThemeToggle.js.map +0 -7
  1865. package/cjs/form/Button/__stories__/Warning/index.js +0 -44
  1866. package/cjs/form/Button/__stories__/Warning.js.map +0 -7
  1867. package/cjs/form/Button/__stories__/WithVariantLink/index.js +0 -52
  1868. package/cjs/form/Button/__stories__/WithVariantLink.js.map +0 -7
  1869. package/cjs/form/Checkbox/Checkbox.stories/index.js +0 -74
  1870. package/cjs/form/Checkbox/Checkbox.stories.js.map +0 -7
  1871. package/cjs/form/Checkbox/__stories__/ConditionalReveal/index.js +0 -45
  1872. package/cjs/form/Checkbox/__stories__/ConditionalReveal.js.map +0 -7
  1873. package/cjs/form/Checkbox/__stories__/Default/index.js +0 -44
  1874. package/cjs/form/Checkbox/__stories__/Default.js.map +0 -7
  1875. package/cjs/form/Checkbox/__stories__/Dense/index.js +0 -44
  1876. package/cjs/form/Checkbox/__stories__/Dense.js.map +0 -7
  1877. package/cjs/form/Checkbox/__stories__/Inline/index.js +0 -44
  1878. package/cjs/form/Checkbox/__stories__/Inline.js.map +0 -7
  1879. package/cjs/form/Checkbox/__stories__/InlineWithDivider/index.js +0 -44
  1880. package/cjs/form/Checkbox/__stories__/InlineWithDivider.js.map +0 -7
  1881. package/cjs/form/Checkbox/__stories__/MultipleQuestions/index.js +0 -44
  1882. package/cjs/form/Checkbox/__stories__/MultipleQuestions.js.map +0 -7
  1883. package/cjs/form/Checkbox/__stories__/NoneAnswer/index.js +0 -43
  1884. package/cjs/form/Checkbox/__stories__/NoneAnswer.js.map +0 -7
  1885. package/cjs/form/Checkbox/__stories__/NoneAnswerWithError/index.js +0 -45
  1886. package/cjs/form/Checkbox/__stories__/NoneAnswerWithError.js.map +0 -7
  1887. package/cjs/form/Checkbox/__stories__/WithErrorMessage/index.js +0 -46
  1888. package/cjs/form/Checkbox/__stories__/WithErrorMessage.js.map +0 -7
  1889. package/cjs/form/Checkbox/__stories__/WithHint/index.js +0 -44
  1890. package/cjs/form/Checkbox/__stories__/WithHint.js.map +0 -7
  1891. package/cjs/form/DateInputContainer/DateInputContainer.stories/index.js +0 -59
  1892. package/cjs/form/DateInputContainer/DateInputContainer.stories.js.map +0 -7
  1893. package/cjs/form/DateInputContainer/__stories__/Default/index.js +0 -44
  1894. package/cjs/form/DateInputContainer/__stories__/Default.js.map +0 -7
  1895. package/cjs/form/DateInputContainer/__stories__/Dense/index.js +0 -43
  1896. package/cjs/form/DateInputContainer/__stories__/Dense.js.map +0 -7
  1897. package/cjs/form/DateInputContainer/__stories__/MultipleQuestions/index.js +0 -44
  1898. package/cjs/form/DateInputContainer/__stories__/MultipleQuestions.js.map +0 -7
  1899. package/cjs/form/DateInputContainer/__stories__/WithErrorMessage/index.js +0 -46
  1900. package/cjs/form/DateInputContainer/__stories__/WithErrorMessage.js.map +0 -7
  1901. package/cjs/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/index.js +0 -46
  1902. package/cjs/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js.map +0 -7
  1903. package/cjs/form/ErrorMessage/ErrorMessage.stories/index.js +0 -53
  1904. package/cjs/form/ErrorMessage/ErrorMessage.stories.js.map +0 -7
  1905. package/cjs/form/ErrorMessage/__stories__/DateInputError/index.js +0 -46
  1906. package/cjs/form/ErrorMessage/__stories__/DateInputError.js.map +0 -7
  1907. package/cjs/form/ErrorMessage/__stories__/Default/index.js +0 -46
  1908. package/cjs/form/ErrorMessage/__stories__/Default.js.map +0 -7
  1909. package/cjs/form/ErrorMessage/__stories__/ErrorMessageOnly/index.js +0 -43
  1910. package/cjs/form/ErrorMessage/__stories__/ErrorMessageOnly.js.map +0 -7
  1911. package/cjs/form/FileUpload/FileUpload.stories/index.js +0 -49
  1912. package/cjs/form/FileUpload/FileUpload.stories.js.map +0 -7
  1913. package/cjs/form/FileUpload/__stories__/Default/index.js +0 -44
  1914. package/cjs/form/FileUpload/__stories__/Default.js.map +0 -7
  1915. package/cjs/form/FileUpload/__stories__/WithErrorMessage/index.js +0 -46
  1916. package/cjs/form/FileUpload/__stories__/WithErrorMessage.js.map +0 -7
  1917. package/cjs/form/RadioContainer/RadioContainer.stories/index.js +0 -74
  1918. package/cjs/form/RadioContainer/RadioContainer.stories.js.map +0 -7
  1919. package/cjs/form/RadioContainer/__stories__/ConditionalReveal/index.js +0 -45
  1920. package/cjs/form/RadioContainer/__stories__/ConditionalReveal.js.map +0 -7
  1921. package/cjs/form/RadioContainer/__stories__/Default/index.js +0 -43
  1922. package/cjs/form/RadioContainer/__stories__/Default.js.map +0 -7
  1923. package/cjs/form/RadioContainer/__stories__/Dense/index.js +0 -43
  1924. package/cjs/form/RadioContainer/__stories__/Dense.js.map +0 -7
  1925. package/cjs/form/RadioContainer/__stories__/Inline/index.js +0 -44
  1926. package/cjs/form/RadioContainer/__stories__/Inline.js.map +0 -7
  1927. package/cjs/form/RadioContainer/__stories__/InlineWithDivider/index.js +0 -44
  1928. package/cjs/form/RadioContainer/__stories__/InlineWithDivider.js.map +0 -7
  1929. package/cjs/form/RadioContainer/__stories__/MultipleQuestions/index.js +0 -44
  1930. package/cjs/form/RadioContainer/__stories__/MultipleQuestions.js.map +0 -7
  1931. package/cjs/form/RadioContainer/__stories__/NoneAnswer/index.js +0 -43
  1932. package/cjs/form/RadioContainer/__stories__/NoneAnswer.js.map +0 -7
  1933. package/cjs/form/RadioContainer/__stories__/WithErrorMessage/index.js +0 -46
  1934. package/cjs/form/RadioContainer/__stories__/WithErrorMessage.js.map +0 -7
  1935. package/cjs/form/RadioContainer/__stories__/WithHints/index.js +0 -53
  1936. package/cjs/form/RadioContainer/__stories__/WithHints.js.map +0 -7
  1937. package/cjs/form/RadioContainer/__stories__/WithMediumLegend/index.js +0 -43
  1938. package/cjs/form/RadioContainer/__stories__/WithMediumLegend.js.map +0 -7
  1939. package/cjs/form/SelectContainer/SelectContainer.stories/index.js +0 -56
  1940. package/cjs/form/SelectContainer/SelectContainer.stories.js.map +0 -7
  1941. package/cjs/form/SelectContainer/__stories__/Default/index.js +0 -44
  1942. package/cjs/form/SelectContainer/__stories__/Default.js.map +0 -7
  1943. package/cjs/form/SelectContainer/__stories__/Dense/index.js +0 -44
  1944. package/cjs/form/SelectContainer/__stories__/Dense.js.map +0 -7
  1945. package/cjs/form/SelectContainer/__stories__/DisabledInput/index.js +0 -56
  1946. package/cjs/form/SelectContainer/__stories__/DisabledInput.js.map +0 -7
  1947. package/cjs/form/SelectContainer/__stories__/WithHint/index.js +0 -56
  1948. package/cjs/form/SelectContainer/__stories__/WithHint.js.map +0 -7
  1949. package/cjs/form/SingleCharacterInputs/SingleCharacterInput.stories/index.js +0 -56
  1950. package/cjs/form/SingleCharacterInputs/SingleCharacterInput.stories.js.map +0 -7
  1951. package/cjs/form/SingleCharacterInputs/__stories__/Default/index.js +0 -44
  1952. package/cjs/form/SingleCharacterInputs/__stories__/Default.js.map +0 -7
  1953. package/cjs/form/SingleCharacterInputs/__stories__/WithDefaultError/index.js +0 -46
  1954. package/cjs/form/SingleCharacterInputs/__stories__/WithDefaultError.js.map +0 -7
  1955. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/index.js +0 -46
  1956. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.js.map +0 -7
  1957. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/index.js +0 -46
  1958. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.js.map +0 -7
  1959. package/cjs/form/TextArea/TextArea.stories/index.js +0 -68
  1960. package/cjs/form/TextArea/TextArea.stories.js.map +0 -7
  1961. package/cjs/form/TextArea/__stories__/Default/index.js +0 -45
  1962. package/cjs/form/TextArea/__stories__/Default.js.map +0 -7
  1963. package/cjs/form/TextArea/__stories__/Dense/index.js +0 -44
  1964. package/cjs/form/TextArea/__stories__/Dense.js.map +0 -7
  1965. package/cjs/form/TextArea/__stories__/DisabledInput/index.js +0 -53
  1966. package/cjs/form/TextArea/__stories__/DisabledInput.js.map +0 -7
  1967. package/cjs/form/TextArea/__stories__/LimitedCharacters/index.js +0 -46
  1968. package/cjs/form/TextArea/__stories__/LimitedCharacters.js.map +0 -7
  1969. package/cjs/form/TextArea/__stories__/MultipleQuestions/index.js +0 -45
  1970. package/cjs/form/TextArea/__stories__/MultipleQuestions.js.map +0 -7
  1971. package/cjs/form/TextArea/__stories__/WithDeclaredRows/index.js +0 -53
  1972. package/cjs/form/TextArea/__stories__/WithDeclaredRows.js.map +0 -7
  1973. package/cjs/form/TextArea/__stories__/WithErrorMessage/index.js +0 -47
  1974. package/cjs/form/TextArea/__stories__/WithErrorMessage.js.map +0 -7
  1975. package/cjs/form/TextArea/__stories__/WithHint/index.js +0 -46
  1976. package/cjs/form/TextArea/__stories__/WithHint.js.map +0 -7
  1977. package/cjs/form/TextInput/TextInput.stories/index.js +0 -74
  1978. package/cjs/form/TextInput/TextInput.stories.js.map +0 -7
  1979. package/cjs/form/TextInput/__stories__/AskingForNumbers/index.js +0 -54
  1980. package/cjs/form/TextInput/__stories__/AskingForNumbers.js.map +0 -7
  1981. package/cjs/form/TextInput/__stories__/Default/index.js +0 -45
  1982. package/cjs/form/TextInput/__stories__/Default.js.map +0 -7
  1983. package/cjs/form/TextInput/__stories__/Dense/index.js +0 -44
  1984. package/cjs/form/TextInput/__stories__/Dense.js.map +0 -7
  1985. package/cjs/form/TextInput/__stories__/DisabledInput/index.js +0 -53
  1986. package/cjs/form/TextInput/__stories__/DisabledInput.js.map +0 -7
  1987. package/cjs/form/TextInput/__stories__/DisabledInputWithValue/index.js +0 -55
  1988. package/cjs/form/TextInput/__stories__/DisabledInputWithValue.js.map +0 -7
  1989. package/cjs/form/TextInput/__stories__/FixedWidths/index.js +0 -45
  1990. package/cjs/form/TextInput/__stories__/FixedWidths.js.map +0 -7
  1991. package/cjs/form/TextInput/__stories__/FluidWidths/index.js +0 -45
  1992. package/cjs/form/TextInput/__stories__/FluidWidths.js.map +0 -7
  1993. package/cjs/form/TextInput/__stories__/MultipleQuestions/index.js +0 -44
  1994. package/cjs/form/TextInput/__stories__/MultipleQuestions.js.map +0 -7
  1995. package/cjs/form/TextInput/__stories__/WithErrorMessage/index.js +0 -54
  1996. package/cjs/form/TextInput/__stories__/WithErrorMessage.js.map +0 -7
  1997. package/cjs/form/TextInput/__stories__/WithHint/index.js +0 -46
  1998. package/cjs/form/TextInput/__stories__/WithHint.js.map +0 -7
  1999. package/cjs/layouts/Basic/Basic.stories/index.js +0 -55
  2000. package/cjs/layouts/Basic/Basic.stories.js.map +0 -7
  2001. package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +0 -50
  2002. package/cjs/layouts/Basic/Bottom/__stories__/Default.js.map +0 -7
  2003. package/cjs/layouts/Basic/Container/__stories__/Default/index.js +0 -48
  2004. package/cjs/layouts/Basic/Container/__stories__/Default.js.map +0 -7
  2005. package/cjs/layouts/Basic/Main/__stories__/Default/index.js +0 -48
  2006. package/cjs/layouts/Basic/Main/__stories__/Default.js.map +0 -7
  2007. package/cjs/layouts/Basic/Masthead/index.js +0 -45
  2008. package/cjs/layouts/Basic/Masthead/index.js.map +0 -7
  2009. package/cjs/layouts/Basic/Top/__stories__/Default/index.js +0 -48
  2010. package/cjs/layouts/Basic/Top/__stories__/Default.js.map +0 -7
  2011. package/cjs/layouts/Basic/__stories__/Default/index.js +0 -45
  2012. package/cjs/layouts/Basic/__stories__/Default.js.map +0 -7
  2013. package/cjs/layouts/Basic/__stories__/MultipleRowsLayout/index.js +0 -46
  2014. package/cjs/layouts/Basic/__stories__/MultipleRowsLayout.js.map +0 -7
  2015. package/cjs/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/index.js +0 -46
  2016. package/cjs/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js.map +0 -7
  2017. package/cjs/layouts/Basic/__stories__/WithBasicLayout/index.js +0 -47
  2018. package/cjs/layouts/Basic/__stories__/WithBasicLayout.js.map +0 -7
  2019. package/cjs/layouts/Grid/Grid.stories/index.js +0 -51
  2020. package/cjs/layouts/Grid/Grid.stories.js.map +0 -7
  2021. package/cjs/layouts/Grid/__stories__/Default/index.js +0 -45
  2022. package/cjs/layouts/Grid/__stories__/Default.js.map +0 -7
  2023. package/cjs/layouts/Grid/__stories__/Inline/index.js +0 -45
  2024. package/cjs/layouts/Grid/__stories__/Inline.js.map +0 -7
  2025. package/cjs/layouts/Grid/__stories__/ResponsiveSpacing/index.js +0 -59
  2026. package/cjs/layouts/Grid/__stories__/ResponsiveSpacing.js.map +0 -7
  2027. package/cjs/layouts/Screen/Screen.stories/index.js +0 -54
  2028. package/cjs/layouts/Screen/Screen.stories.js.map +0 -7
  2029. package/cjs/layouts/Screen/__stories__/Default/index.js +0 -44
  2030. package/cjs/layouts/Screen/__stories__/Default.js.map +0 -7
  2031. package/cjs/layouts/Screen/__stories__/ScreenDown/index.js +0 -44
  2032. package/cjs/layouts/Screen/__stories__/ScreenDown.js.map +0 -7
  2033. package/cjs/layouts/Screen/__stories__/ScreenUp/index.js +0 -44
  2034. package/cjs/layouts/Screen/__stories__/ScreenUp.js.map +0 -7
  2035. package/cjs/layouts/Screen/__stories__/SpecificScreenSize/index.js +0 -44
  2036. package/cjs/layouts/Screen/__stories__/SpecificScreenSize.js.map +0 -7
  2037. package/cjs/layouts/Stack/Stack.stories/index.js +0 -60
  2038. package/cjs/layouts/Stack/Stack.stories.js.map +0 -7
  2039. package/cjs/layouts/Stack/__stories__/AlignItems/index.js +0 -45
  2040. package/cjs/layouts/Stack/__stories__/AlignItems.js.map +0 -7
  2041. package/cjs/layouts/Stack/__stories__/Default/index.js +0 -45
  2042. package/cjs/layouts/Stack/__stories__/Default.js.map +0 -7
  2043. package/cjs/layouts/Stack/__stories__/JustifyContent/index.js +0 -45
  2044. package/cjs/layouts/Stack/__stories__/JustifyContent.js.map +0 -7
  2045. package/cjs/layouts/Stack/__stories__/NoWrap/index.js +0 -45
  2046. package/cjs/layouts/Stack/__stories__/NoWrap.js.map +0 -7
  2047. package/cjs/layouts/Stack/__stories__/Row/index.js +0 -45
  2048. package/cjs/layouts/Stack/__stories__/Row.js.map +0 -7
  2049. package/cjs/layouts/Stack/__stories__/Spacing/index.js +0 -45
  2050. package/cjs/layouts/Stack/__stories__/Spacing.js.map +0 -7
  2051. package/cjs/lazy/index.js +0 -1676
  2052. package/cjs/navigation/BackLink/BackLink.stories/index.js +0 -45
  2053. package/cjs/navigation/BackLink/BackLink.stories.js.map +0 -7
  2054. package/cjs/navigation/BackLink/__stories__/Default/index.js +0 -42
  2055. package/cjs/navigation/BackLink/__stories__/Default.js.map +0 -7
  2056. package/cjs/navigation/BackToTopLink/BackToTopLink.stories/index.js +0 -48
  2057. package/cjs/navigation/BackToTopLink/BackToTopLink.stories.js.map +0 -7
  2058. package/cjs/navigation/BackToTopLink/__stories__/Default/index.js +0 -42
  2059. package/cjs/navigation/BackToTopLink/__stories__/Default.js.map +0 -7
  2060. package/cjs/navigation/BackToTopLink/__stories__/InMain/index.js +0 -44
  2061. package/cjs/navigation/BackToTopLink/__stories__/InMain.js.map +0 -7
  2062. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +0 -56
  2063. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories.js.map +0 -7
  2064. package/cjs/navigation/Breadcrumbs/__stories__/Auto/index.js +0 -187
  2065. package/cjs/navigation/Breadcrumbs/__stories__/Auto.js.map +0 -7
  2066. package/cjs/navigation/Breadcrumbs/__stories__/Default/index.js +0 -42
  2067. package/cjs/navigation/Breadcrumbs/__stories__/Default.js.map +0 -7
  2068. package/cjs/navigation/Breadcrumbs/__stories__/WithHook/index.js +0 -194
  2069. package/cjs/navigation/Breadcrumbs/__stories__/WithHook.js.map +0 -7
  2070. package/cjs/navigation/Breadcrumbs/__stories__/WithoutCurrentPage/index.js +0 -42
  2071. package/cjs/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.js.map +0 -7
  2072. package/cjs/navigation/Drawer/Drawer.stories/index.js +0 -53
  2073. package/cjs/navigation/Drawer/Drawer.stories.js.map +0 -7
  2074. package/cjs/navigation/Drawer/__stories__/Auto/index.js +0 -106
  2075. package/cjs/navigation/Drawer/__stories__/Auto.js.map +0 -7
  2076. package/cjs/navigation/Drawer/__stories__/Default/index.js +0 -104
  2077. package/cjs/navigation/Drawer/__stories__/Default.js.map +0 -7
  2078. package/cjs/navigation/Drawer/__stories__/WithHook/index.js +0 -118
  2079. package/cjs/navigation/Drawer/__stories__/WithHook.js.map +0 -7
  2080. package/cjs/navigation/Dropdown/Dropdown.stories/index.js +0 -77
  2081. package/cjs/navigation/Dropdown/Dropdown.stories.js.map +0 -7
  2082. package/cjs/navigation/Dropdown/__stories__/AlignRight/index.js +0 -68
  2083. package/cjs/navigation/Dropdown/__stories__/AlignRight.js.map +0 -7
  2084. package/cjs/navigation/Dropdown/__stories__/ContentPosition/index.js +0 -80
  2085. package/cjs/navigation/Dropdown/__stories__/ContentPosition.js.map +0 -7
  2086. package/cjs/navigation/Dropdown/__stories__/Default/index.js +0 -57
  2087. package/cjs/navigation/Dropdown/__stories__/Default.js.map +0 -7
  2088. package/cjs/navigation/Dropdown/__stories__/Dense/index.js +0 -58
  2089. package/cjs/navigation/Dropdown/__stories__/Dense.js.map +0 -7
  2090. package/cjs/navigation/Dropdown/__stories__/Disabled/index.js +0 -57
  2091. package/cjs/navigation/Dropdown/__stories__/Disabled.js.map +0 -7
  2092. package/cjs/navigation/Dropdown/__stories__/PlacementTop/index.js +0 -68
  2093. package/cjs/navigation/Dropdown/__stories__/PlacementTop.js.map +0 -7
  2094. package/cjs/navigation/Dropdown/__stories__/ScrollableContent/index.js +0 -102
  2095. package/cjs/navigation/Dropdown/__stories__/ScrollableContent.js.map +0 -7
  2096. package/cjs/navigation/Dropdown/__stories__/Secondary/index.js +0 -53
  2097. package/cjs/navigation/Dropdown/__stories__/Secondary.js.map +0 -7
  2098. package/cjs/navigation/Dropdown/__stories__/VariantLink/index.js +0 -58
  2099. package/cjs/navigation/Dropdown/__stories__/VariantLink.js.map +0 -7
  2100. package/cjs/navigation/Dropdown/__stories__/Warning/index.js +0 -53
  2101. package/cjs/navigation/Dropdown/__stories__/Warning.js.map +0 -7
  2102. package/cjs/navigation/Dropdown/__stories__/WithIcons/index.js +0 -82
  2103. package/cjs/navigation/Dropdown/__stories__/WithIcons.js.map +0 -7
  2104. package/cjs/navigation/Link/Link.stories/index.js +0 -64
  2105. package/cjs/navigation/Link/Link.stories.js.map +0 -7
  2106. package/cjs/navigation/Link/__stories__/DarkBackground/index.js +0 -52
  2107. package/cjs/navigation/Link/__stories__/DarkBackground.js.map +0 -7
  2108. package/cjs/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +0 -53
  2109. package/cjs/navigation/Link/__stories__/DarkBackgroundNoUnderline.js.map +0 -7
  2110. package/cjs/navigation/Link/__stories__/Default/index.js +0 -42
  2111. package/cjs/navigation/Link/__stories__/Default.js.map +0 -7
  2112. package/cjs/navigation/Link/__stories__/ExternalLink/index.js +0 -51
  2113. package/cjs/navigation/Link/__stories__/ExternalLink.js.map +0 -7
  2114. package/cjs/navigation/Link/__stories__/NoUnderline/index.js +0 -51
  2115. package/cjs/navigation/Link/__stories__/NoUnderline.js.map +0 -7
  2116. package/cjs/navigation/Link/__stories__/OpensInNewTab/index.js +0 -42
  2117. package/cjs/navigation/Link/__stories__/OpensInNewTab.js.map +0 -7
  2118. package/cjs/navigation/Link/__stories__/WithProvider/index.js +0 -45
  2119. package/cjs/navigation/Link/__stories__/WithProvider.js.map +0 -7
  2120. package/cjs/navigation/NavList/NavList.stories/index.js +0 -71
  2121. package/cjs/navigation/NavList/NavList.stories.js.map +0 -7
  2122. package/cjs/navigation/NavList/__stories__/Default/index.js +0 -80
  2123. package/cjs/navigation/NavList/__stories__/Default.js.map +0 -7
  2124. package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +0 -125
  2125. package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer.js.map +0 -7
  2126. package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +0 -117
  2127. package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer.js.map +0 -7
  2128. package/cjs/navigation/NavList/__stories__/NavListWithoutNav/index.js +0 -63
  2129. package/cjs/navigation/NavList/__stories__/NavListWithoutNav.js.map +0 -7
  2130. package/cjs/navigation/NavList/__stories__/UsingHeaderButton/index.js +0 -74
  2131. package/cjs/navigation/NavList/__stories__/UsingHeaderButton.js.map +0 -7
  2132. package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +0 -97
  2133. package/cjs/navigation/NavList/__stories__/UsingNavListAuto.js.map +0 -7
  2134. package/cjs/navigation/NavList/__stories__/Vertical/index.js +0 -73
  2135. package/cjs/navigation/NavList/__stories__/Vertical.js.map +0 -7
  2136. package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +0 -120
  2137. package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer.js.map +0 -7
  2138. package/cjs/navigation/NavList/__stories__/WithBadge/index.js +0 -82
  2139. package/cjs/navigation/NavList/__stories__/WithBadge.js.map +0 -7
  2140. package/cjs/navigation/Pagination/Pagination.stories/index.js +0 -65
  2141. package/cjs/navigation/Pagination/Pagination.stories.js.map +0 -7
  2142. package/cjs/navigation/Pagination/__stories__/Auto/index.js +0 -71
  2143. package/cjs/navigation/Pagination/__stories__/Auto.js.map +0 -7
  2144. package/cjs/navigation/Pagination/__stories__/Default/index.js +0 -46
  2145. package/cjs/navigation/Pagination/__stories__/Default.js.map +0 -7
  2146. package/cjs/navigation/Pagination/__stories__/PaginationSmall/index.js +0 -46
  2147. package/cjs/navigation/Pagination/__stories__/PaginationSmall.js.map +0 -7
  2148. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +0 -47
  2149. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +0 -7
  2150. package/cjs/navigation/Pagination/__stories__/WithHook/index.js +0 -83
  2151. package/cjs/navigation/Pagination/__stories__/WithHook.js.map +0 -7
  2152. package/cjs/navigation/Pagination/__stories__/WithInactiveValues/index.js +0 -46
  2153. package/cjs/navigation/Pagination/__stories__/WithInactiveValues.js.map +0 -7
  2154. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage/index.js +0 -47
  2155. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage.js.map +0 -7
  2156. package/cjs/navigation/SkipLink/SkipLink.stories/index.js +0 -46
  2157. package/cjs/navigation/SkipLink/SkipLink.stories.js.map +0 -7
  2158. package/cjs/navigation/SkipLink/__stories__/Default/index.js +0 -43
  2159. package/cjs/navigation/SkipLink/__stories__/Default.js.map +0 -7
  2160. package/cjs/navigation/Tabs/Tabs.stories/index.js +0 -57
  2161. package/cjs/navigation/Tabs/Tabs.stories.js.map +0 -7
  2162. package/cjs/navigation/Tabs/__stories__/Auto/index.js +0 -49
  2163. package/cjs/navigation/Tabs/__stories__/Auto.js.map +0 -7
  2164. package/cjs/navigation/Tabs/__stories__/Default/index.js +0 -51
  2165. package/cjs/navigation/Tabs/__stories__/Default.js.map +0 -7
  2166. package/cjs/navigation/Tabs/__stories__/Dense/index.js +0 -50
  2167. package/cjs/navigation/Tabs/__stories__/Dense.js.map +0 -7
  2168. package/cjs/navigation/Tabs/__stories__/UsingAccordion/index.js +0 -65
  2169. package/cjs/navigation/Tabs/__stories__/UsingAccordion.js.map +0 -7
  2170. package/cjs/registry/index.js +0 -562
  2171. package/cjs/test-utils/delay/index.js +0 -35
  2172. package/cjs/test-utils/delay.js.map +0 -7
  2173. package/cjs/typography/CodeBlock/CodeBlock.stories/index.js +0 -54
  2174. package/cjs/typography/CodeBlock/CodeBlock.stories.js.map +0 -7
  2175. package/cjs/typography/CodeBlock/__stories__/Default/index.js +0 -57
  2176. package/cjs/typography/CodeBlock/__stories__/Default.js.map +0 -7
  2177. package/cjs/typography/CodeBlock/__stories__/Highlighted/index.js +0 -57
  2178. package/cjs/typography/CodeBlock/__stories__/Highlighted.js.map +0 -7
  2179. package/cjs/typography/CodeBlock/__stories__/WithCopyToClipboard/index.js +0 -57
  2180. package/cjs/typography/CodeBlock/__stories__/WithCopyToClipboard.js.map +0 -7
  2181. package/cjs/typography/CodeBlock/__stories__/WithPhaseBanner/index.js +0 -66
  2182. package/cjs/typography/CodeBlock/__stories__/WithPhaseBanner.js.map +0 -7
  2183. package/cjs/typography/Heading/Heading.stories/index.js +0 -45
  2184. package/cjs/typography/Heading/Heading.stories.js.map +0 -7
  2185. package/cjs/typography/Heading/__stories__/Default/index.js +0 -42
  2186. package/cjs/typography/Heading/__stories__/Default.js.map +0 -7
  2187. package/cjs/typography/HeadingCaption/HeadingCaption.stories/index.js +0 -48
  2188. package/cjs/typography/HeadingCaption/HeadingCaption.stories.js.map +0 -7
  2189. package/cjs/typography/HeadingCaption/__stories__/Default/index.js +0 -43
  2190. package/cjs/typography/HeadingCaption/__stories__/Default.js.map +0 -7
  2191. package/cjs/typography/HeadingCaption/__stories__/NestedToTitle/index.js +0 -43
  2192. package/cjs/typography/HeadingCaption/__stories__/NestedToTitle.js.map +0 -7
  2193. package/cjs/typography/Hint/Hint.stories/index.js +0 -48
  2194. package/cjs/typography/Hint/Hint.stories.js.map +0 -7
  2195. package/cjs/typography/Hint/__stories__/Default/index.js +0 -42
  2196. package/cjs/typography/Hint/__stories__/Default.js.map +0 -7
  2197. package/cjs/typography/Hint/__stories__/FontSizes/index.js +0 -42
  2198. package/cjs/typography/Hint/__stories__/FontSizes.js.map +0 -7
  2199. package/cjs/typography/NormalText/NormalText.stories/index.js +0 -54
  2200. package/cjs/typography/NormalText/NormalText.stories.js.map +0 -7
  2201. package/cjs/typography/NormalText/__stories__/Default/index.js +0 -42
  2202. package/cjs/typography/NormalText/__stories__/Default.js.map +0 -7
  2203. package/cjs/typography/NormalText/__stories__/FontSizes/index.js +0 -43
  2204. package/cjs/typography/NormalText/__stories__/FontSizes.js.map +0 -7
  2205. package/cjs/typography/NormalText/__stories__/FontWeight/index.js +0 -43
  2206. package/cjs/typography/NormalText/__stories__/FontWeight.js.map +0 -7
  2207. package/cjs/typography/NormalText/__stories__/Variants/index.js +0 -43
  2208. package/cjs/typography/NormalText/__stories__/Variants.js.map +0 -7
  2209. package/cjs/typography/Paragraph/Paragraph.stories/index.js +0 -57
  2210. package/cjs/typography/Paragraph/Paragraph.stories.js.map +0 -7
  2211. package/cjs/typography/Paragraph/__stories__/Default/index.js +0 -42
  2212. package/cjs/typography/Paragraph/__stories__/Default.js.map +0 -7
  2213. package/cjs/typography/Paragraph/__stories__/FontSizes/index.js +0 -42
  2214. package/cjs/typography/Paragraph/__stories__/FontSizes.js.map +0 -7
  2215. package/cjs/typography/Paragraph/__stories__/FontWeight/index.js +0 -42
  2216. package/cjs/typography/Paragraph/__stories__/FontWeight.js.map +0 -7
  2217. package/cjs/typography/Paragraph/__stories__/LeadVariant/index.js +0 -42
  2218. package/cjs/typography/Paragraph/__stories__/LeadVariant.js.map +0 -7
  2219. package/cjs/typography/Paragraph/__stories__/SmallVariant/index.js +0 -42
  2220. package/cjs/typography/Paragraph/__stories__/SmallVariant.js.map +0 -7
  2221. package/cjs/utils/SvgIcon/index.js +0 -43
  2222. package/cjs/utils/SvgIcon/index.js.map +0 -7
  2223. package/cjs/utils/VisuallyHidden/VisuallyHidden.stories/index.js +0 -45
  2224. package/cjs/utils/VisuallyHidden/VisuallyHidden.stories.js.map +0 -7
  2225. package/cjs/utils/VisuallyHidden/__stories__/Default/index.js +0 -45
  2226. package/cjs/utils/VisuallyHidden/__stories__/Default.js.map +0 -7
  2227. package/content/Accordion/Accordion.stories/index.js +0 -21
  2228. package/content/Accordion/Accordion.stories/package.json +0 -6
  2229. package/content/Accordion/Accordion.stories.js.map +0 -7
  2230. package/content/Accordion/__stories__/Auto/index.js +0 -27
  2231. package/content/Accordion/__stories__/Auto/package.json +0 -6
  2232. package/content/Accordion/__stories__/Auto.js.map +0 -7
  2233. package/content/Accordion/__stories__/Default/index.js +0 -19
  2234. package/content/Accordion/__stories__/Default/package.json +0 -6
  2235. package/content/Accordion/__stories__/Default.js.map +0 -7
  2236. package/content/Accordion/__stories__/WithHints/index.js +0 -20
  2237. package/content/Accordion/__stories__/WithHints/package.json +0 -6
  2238. package/content/Accordion/__stories__/WithHints.js.map +0 -7
  2239. package/content/Accordion/__stories__/WithHook/index.js +0 -29
  2240. package/content/Accordion/__stories__/WithHook/package.json +0 -6
  2241. package/content/Accordion/__stories__/WithHook.js.map +0 -7
  2242. package/content/Blockquote/Blockquote.stories/index.js +0 -16
  2243. package/content/Blockquote/Blockquote.stories/package.json +0 -6
  2244. package/content/Blockquote/Blockquote.stories.js.map +0 -7
  2245. package/content/Blockquote/__stories__/Default/index.js +0 -9
  2246. package/content/Blockquote/__stories__/Default/package.json +0 -6
  2247. package/content/Blockquote/__stories__/Default.js.map +0 -7
  2248. package/content/Blockquote/__stories__/Dense/index.js +0 -9
  2249. package/content/Blockquote/__stories__/Dense/package.json +0 -6
  2250. package/content/Blockquote/__stories__/Dense.js.map +0 -7
  2251. package/content/Card/Card.stories/index.js +0 -35
  2252. package/content/Card/Card.stories/package.json +0 -6
  2253. package/content/Card/Card.stories.js.map +0 -7
  2254. package/content/Card/__stories__/Default/index.js +0 -15
  2255. package/content/Card/__stories__/Default/package.json +0 -6
  2256. package/content/Card/__stories__/Default.js.map +0 -7
  2257. package/content/Card/__stories__/Dense/index.js +0 -15
  2258. package/content/Card/__stories__/Dense/package.json +0 -6
  2259. package/content/Card/__stories__/Dense.js.map +0 -7
  2260. package/content/Card/__stories__/WithClickableContent/index.js +0 -10
  2261. package/content/Card/__stories__/WithClickableContent/package.json +0 -6
  2262. package/content/Card/__stories__/WithClickableContent.js.map +0 -7
  2263. package/content/Card/__stories__/WithClickableLink/index.js +0 -10
  2264. package/content/Card/__stories__/WithClickableLink/package.json +0 -6
  2265. package/content/Card/__stories__/WithClickableLink.js.map +0 -7
  2266. package/content/Card/__stories__/WithDarkBorder/index.js +0 -15
  2267. package/content/Card/__stories__/WithDarkBorder/package.json +0 -6
  2268. package/content/Card/__stories__/WithDarkBorder.js.map +0 -7
  2269. package/content/Card/__stories__/WithDarkTopBorder/index.js +0 -15
  2270. package/content/Card/__stories__/WithDarkTopBorder/package.json +0 -6
  2271. package/content/Card/__stories__/WithDarkTopBorder.js.map +0 -7
  2272. package/content/Card/__stories__/WithDivider/index.js +0 -15
  2273. package/content/Card/__stories__/WithDivider/package.json +0 -6
  2274. package/content/Card/__stories__/WithDivider.js.map +0 -7
  2275. package/content/Card/__stories__/WithGrayBorder/index.js +0 -15
  2276. package/content/Card/__stories__/WithGrayBorder/package.json +0 -6
  2277. package/content/Card/__stories__/WithGrayBorder.js.map +0 -7
  2278. package/content/Card/__stories__/WithGrayTopBorder/index.js +0 -15
  2279. package/content/Card/__stories__/WithGrayTopBorder/package.json +0 -6
  2280. package/content/Card/__stories__/WithGrayTopBorder.js.map +0 -7
  2281. package/content/Card/__stories__/WithGroupButton/index.js +0 -16
  2282. package/content/Card/__stories__/WithGroupButton/package.json +0 -6
  2283. package/content/Card/__stories__/WithGroupButton.js.map +0 -7
  2284. package/content/Card/__stories__/WithLink/index.js +0 -15
  2285. package/content/Card/__stories__/WithLink/package.json +0 -6
  2286. package/content/Card/__stories__/WithLink.js.map +0 -7
  2287. package/content/Chip/Chip.stories/index.js +0 -20
  2288. package/content/Chip/Chip.stories/package.json +0 -6
  2289. package/content/Chip/Chip.stories.js.map +0 -7
  2290. package/content/Chip/__stories__/ClickableChip/index.js +0 -17
  2291. package/content/Chip/__stories__/ClickableChip/package.json +0 -6
  2292. package/content/Chip/__stories__/ClickableChip.js.map +0 -7
  2293. package/content/Chip/__stories__/ClickableDeletableChip/index.js +0 -20
  2294. package/content/Chip/__stories__/ClickableDeletableChip/package.json +0 -6
  2295. package/content/Chip/__stories__/ClickableDeletableChip.js.map +0 -7
  2296. package/content/Chip/__stories__/Default/index.js +0 -9
  2297. package/content/Chip/__stories__/Default/package.json +0 -6
  2298. package/content/Chip/__stories__/Default.js.map +0 -7
  2299. package/content/Chip/__stories__/DeletableChip/index.js +0 -17
  2300. package/content/Chip/__stories__/DeletableChip/package.json +0 -6
  2301. package/content/Chip/__stories__/DeletableChip.js.map +0 -7
  2302. package/content/Chip/__stories__/GroupOfChips/index.js +0 -9
  2303. package/content/Chip/__stories__/GroupOfChips/package.json +0 -6
  2304. package/content/Chip/__stories__/GroupOfChips.js.map +0 -7
  2305. package/content/Details/Details.stories/index.js +0 -14
  2306. package/content/Details/Details.stories/package.json +0 -6
  2307. package/content/Details/Details.stories.js.map +0 -7
  2308. package/content/Details/__stories__/Default/index.js +0 -13
  2309. package/content/Details/__stories__/Default/package.json +0 -6
  2310. package/content/Details/__stories__/Default.js.map +0 -7
  2311. package/content/List/List.stories/index.js +0 -24
  2312. package/content/List/List.stories/package.json +0 -6
  2313. package/content/List/List.stories.js.map +0 -7
  2314. package/content/List/__stories__/BulletList/index.js +0 -10
  2315. package/content/List/__stories__/BulletList/package.json +0 -6
  2316. package/content/List/__stories__/BulletList.js.map +0 -7
  2317. package/content/List/__stories__/Default/index.js +0 -10
  2318. package/content/List/__stories__/Default/package.json +0 -6
  2319. package/content/List/__stories__/Default.js.map +0 -7
  2320. package/content/List/__stories__/HorizontalList/index.js +0 -11
  2321. package/content/List/__stories__/HorizontalList/package.json +0 -6
  2322. package/content/List/__stories__/HorizontalList.js.map +0 -7
  2323. package/content/List/__stories__/NestedBulletList/index.js +0 -10
  2324. package/content/List/__stories__/NestedBulletList/package.json +0 -6
  2325. package/content/List/__stories__/NestedBulletList.js.map +0 -7
  2326. package/content/List/__stories__/NumberedList/index.js +0 -10
  2327. package/content/List/__stories__/NumberedList/package.json +0 -6
  2328. package/content/List/__stories__/NumberedList.js.map +0 -7
  2329. package/content/List/__stories__/WithExtraSpace/index.js +0 -10
  2330. package/content/List/__stories__/WithExtraSpace/package.json +0 -6
  2331. package/content/List/__stories__/WithExtraSpace.js.map +0 -7
  2332. package/content/Markdown/Markdown.stories/index.js +0 -13
  2333. package/content/Markdown/Markdown.stories/package.json +0 -6
  2334. package/content/Markdown/Markdown.stories.js.map +0 -7
  2335. package/content/Markdown/__stories__/Default/index.js +0 -30
  2336. package/content/Markdown/__stories__/Default/package.json +0 -6
  2337. package/content/Markdown/__stories__/Default.js.map +0 -7
  2338. package/content/SafeHTML/SafeHTML.stories/index.js +0 -13
  2339. package/content/SafeHTML/SafeHTML.stories/package.json +0 -6
  2340. package/content/SafeHTML/SafeHTML.stories.js.map +0 -7
  2341. package/content/SafeHTML/__stories__/Default/index.js +0 -28
  2342. package/content/SafeHTML/__stories__/Default/package.json +0 -6
  2343. package/content/SafeHTML/__stories__/Default.js.map +0 -7
  2344. package/content/StepNav/StepNav.stories/index.js +0 -21
  2345. package/content/StepNav/StepNav.stories/package.json +0 -6
  2346. package/content/StepNav/StepNav.stories.js.map +0 -7
  2347. package/content/StepNav/__stories__/Auto/index.js +0 -152
  2348. package/content/StepNav/__stories__/Auto/package.json +0 -6
  2349. package/content/StepNav/__stories__/Auto.js.map +0 -7
  2350. package/content/StepNav/__stories__/Default/index.js +0 -191
  2351. package/content/StepNav/__stories__/Default/package.json +0 -6
  2352. package/content/StepNav/__stories__/Default.js.map +0 -7
  2353. package/content/StepNav/__stories__/Dense/index.js +0 -191
  2354. package/content/StepNav/__stories__/Dense/package.json +0 -6
  2355. package/content/StepNav/__stories__/Dense.js.map +0 -7
  2356. package/content/StepNav/__stories__/WithHints/index.js +0 -192
  2357. package/content/StepNav/__stories__/WithHints/package.json +0 -6
  2358. package/content/StepNav/__stories__/WithHints.js.map +0 -7
  2359. package/content/StepNav/__stories__/WithHook/index.js +0 -153
  2360. package/content/StepNav/__stories__/WithHook/package.json +0 -6
  2361. package/content/StepNav/__stories__/WithHook.js.map +0 -7
  2362. package/content/SummaryList/SummaryList.stories/index.js +0 -26
  2363. package/content/SummaryList/SummaryList.stories/package.json +0 -6
  2364. package/content/SummaryList/SummaryList.stories.js.map +0 -7
  2365. package/content/SummaryList/__stories__/Default/index.js +0 -17
  2366. package/content/SummaryList/__stories__/Default/package.json +0 -6
  2367. package/content/SummaryList/__stories__/Default.js.map +0 -7
  2368. package/content/SummaryList/__stories__/RowVariations/index.js +0 -17
  2369. package/content/SummaryList/__stories__/RowVariations/package.json +0 -6
  2370. package/content/SummaryList/__stories__/RowVariations.js.map +0 -7
  2371. package/content/SummaryList/__stories__/SummaryListExample/index.js +0 -43
  2372. package/content/SummaryList/__stories__/SummaryListExample/package.json +0 -6
  2373. package/content/SummaryList/__stories__/SummaryListExample.js.map +0 -7
  2374. package/content/SummaryList/__stories__/WithActions/index.js +0 -18
  2375. package/content/SummaryList/__stories__/WithActions/package.json +0 -6
  2376. package/content/SummaryList/__stories__/WithActions.js.map +0 -7
  2377. package/content/SummaryList/__stories__/WithKeyAndAction/index.js +0 -19
  2378. package/content/SummaryList/__stories__/WithKeyAndAction/package.json +0 -6
  2379. package/content/SummaryList/__stories__/WithKeyAndAction.js.map +0 -7
  2380. package/content/SummaryList/__stories__/WithNoLastBorder/index.js +0 -17
  2381. package/content/SummaryList/__stories__/WithNoLastBorder/package.json +0 -6
  2382. package/content/SummaryList/__stories__/WithNoLastBorder.js.map +0 -7
  2383. package/content/SummaryList/__stories__/WithoutActions/index.js +0 -14
  2384. package/content/SummaryList/__stories__/WithoutActions/package.json +0 -6
  2385. package/content/SummaryList/__stories__/WithoutActions.js.map +0 -7
  2386. package/content/SummaryList/__stories__/WithoutBorders/index.js +0 -17
  2387. package/content/SummaryList/__stories__/WithoutBorders/package.json +0 -6
  2388. package/content/SummaryList/__stories__/WithoutBorders.js.map +0 -7
  2389. package/content/Table/Table.stories/index.js +0 -48
  2390. package/content/Table/Table.stories/package.json +0 -6
  2391. package/content/Table/Table.stories.js.map +0 -7
  2392. package/content/Table/__stories__/DarkVariant/index.js +0 -50
  2393. package/content/Table/__stories__/DarkVariant/package.json +0 -6
  2394. package/content/Table/__stories__/DarkVariant.js.map +0 -7
  2395. package/content/Table/__stories__/DarkVariantWithVerticalHeaders/index.js +0 -50
  2396. package/content/Table/__stories__/DarkVariantWithVerticalHeaders/package.json +0 -6
  2397. package/content/Table/__stories__/DarkVariantWithVerticalHeaders.js.map +0 -7
  2398. package/content/Table/__stories__/Default/index.js +0 -45
  2399. package/content/Table/__stories__/Default/package.json +0 -6
  2400. package/content/Table/__stories__/Default.js.map +0 -7
  2401. package/content/Table/__stories__/DefinedWidth/index.js +0 -45
  2402. package/content/Table/__stories__/DefinedWidth/package.json +0 -6
  2403. package/content/Table/__stories__/DefinedWidth.js.map +0 -7
  2404. package/content/Table/__stories__/Densed/index.js +0 -107
  2405. package/content/Table/__stories__/Densed/package.json +0 -6
  2406. package/content/Table/__stories__/Densed.d.ts +0 -3
  2407. package/content/Table/__stories__/Densed.js.map +0 -7
  2408. package/content/Table/__stories__/Full/index.js +0 -119
  2409. package/content/Table/__stories__/Full/package.json +0 -6
  2410. package/content/Table/__stories__/Full.js.map +0 -7
  2411. package/content/Table/__stories__/MultipleProps/index.js +0 -87
  2412. package/content/Table/__stories__/MultipleProps/package.json +0 -6
  2413. package/content/Table/__stories__/MultipleProps.js.map +0 -7
  2414. package/content/Table/__stories__/NoData/index.js +0 -20
  2415. package/content/Table/__stories__/NoData/package.json +0 -6
  2416. package/content/Table/__stories__/NoData.js.map +0 -7
  2417. package/content/Table/__stories__/NumericDataType/index.js +0 -80
  2418. package/content/Table/__stories__/NumericDataType/package.json +0 -6
  2419. package/content/Table/__stories__/NumericDataType.js.map +0 -7
  2420. package/content/Table/__stories__/RowColors/index.js +0 -70
  2421. package/content/Table/__stories__/RowColors/package.json +0 -6
  2422. package/content/Table/__stories__/RowColors.js.map +0 -7
  2423. package/content/Table/__stories__/Stacked/index.js +0 -45
  2424. package/content/Table/__stories__/Stacked/package.json +0 -6
  2425. package/content/Table/__stories__/Stacked.js.map +0 -7
  2426. package/content/Table/__stories__/TableCaptions/index.js +0 -11
  2427. package/content/Table/__stories__/TableCaptions/package.json +0 -6
  2428. package/content/Table/__stories__/TableCaptions.js.map +0 -7
  2429. package/content/Table/__stories__/VerticalBorders/index.js +0 -50
  2430. package/content/Table/__stories__/VerticalBorders/package.json +0 -6
  2431. package/content/Table/__stories__/VerticalBorders.js.map +0 -7
  2432. package/content/Table/__stories__/VerticalHeaders/index.js +0 -45
  2433. package/content/Table/__stories__/VerticalHeaders/package.json +0 -6
  2434. package/content/Table/__stories__/VerticalHeaders.js.map +0 -7
  2435. package/content/Table/__stories__/WithFloatingScroll/index.js +0 -61
  2436. package/content/Table/__stories__/WithFloatingScroll/package.json +0 -6
  2437. package/content/Table/__stories__/WithFloatingScroll.js.map +0 -7
  2438. package/content/Table/__stories__/WithLoader/index.js +0 -67
  2439. package/content/Table/__stories__/WithLoader/package.json +0 -6
  2440. package/content/Table/__stories__/WithLoader.js.map +0 -7
  2441. package/content/Table/__stories__/WithSortFilters/index.js +0 -121
  2442. package/content/Table/__stories__/WithSortFilters/package.json +0 -6
  2443. package/content/Table/__stories__/WithSortFilters.js.map +0 -7
  2444. package/content/Table/__stories__/ZebraProp/index.js +0 -50
  2445. package/content/Table/__stories__/ZebraProp/package.json +0 -6
  2446. package/content/Table/__stories__/ZebraProp.js.map +0 -7
  2447. package/content/TaskList/TaskList.stories/index.js +0 -15
  2448. package/content/TaskList/TaskList.stories/package.json +0 -6
  2449. package/content/TaskList/TaskList.stories.js.map +0 -7
  2450. package/content/TaskList/__stories__/Default/index.js +0 -90
  2451. package/content/TaskList/__stories__/Default/package.json +0 -6
  2452. package/content/TaskList/__stories__/Default.js.map +0 -7
  2453. package/content/TaskList/__stories__/Dense/index.js +0 -90
  2454. package/content/TaskList/__stories__/Dense/package.json +0 -6
  2455. package/content/TaskList/__stories__/Dense.js.map +0 -7
  2456. package/content/Timeline/Timeline.stories/index.js +0 -15
  2457. package/content/Timeline/Timeline.stories/package.json +0 -6
  2458. package/content/Timeline/Timeline.stories.js.map +0 -7
  2459. package/content/Timeline/__stories__/Default/index.js +0 -140
  2460. package/content/Timeline/__stories__/Default/package.json +0 -6
  2461. package/content/Timeline/__stories__/Default.js.map +0 -7
  2462. package/content/Timeline/__stories__/Dense/index.js +0 -140
  2463. package/content/Timeline/__stories__/Dense/package.json +0 -6
  2464. package/content/Timeline/__stories__/Dense.js.map +0 -7
  2465. package/feedback/CopyToClipboard/CopyToClipboard.stories/index.js +0 -16
  2466. package/feedback/CopyToClipboard/CopyToClipboard.stories/package.json +0 -6
  2467. package/feedback/CopyToClipboard/CopyToClipboard.stories.js.map +0 -7
  2468. package/feedback/CopyToClipboard/__stories__/Banner/index.js +0 -20
  2469. package/feedback/CopyToClipboard/__stories__/Banner/package.json +0 -6
  2470. package/feedback/CopyToClipboard/__stories__/Banner.js.map +0 -7
  2471. package/feedback/CopyToClipboard/__stories__/Default/index.js +0 -25
  2472. package/feedback/CopyToClipboard/__stories__/Default/package.json +0 -6
  2473. package/feedback/CopyToClipboard/__stories__/Default.js.map +0 -7
  2474. package/feedback/CopyToClipboard/__stories__/Dense/index.js +0 -23
  2475. package/feedback/CopyToClipboard/__stories__/Dense/package.json +0 -6
  2476. package/feedback/CopyToClipboard/__stories__/Dense.js.map +0 -7
  2477. package/feedback/ErrorSummary/ErrorSummary.stories/index.js +0 -24
  2478. package/feedback/ErrorSummary/ErrorSummary.stories/package.json +0 -6
  2479. package/feedback/ErrorSummary/ErrorSummary.stories.js.map +0 -7
  2480. package/feedback/ErrorSummary/__stories__/Default/index.js +0 -11
  2481. package/feedback/ErrorSummary/__stories__/Default/package.json +0 -6
  2482. package/feedback/ErrorSummary/__stories__/Default.js.map +0 -7
  2483. package/feedback/ErrorSummary/__stories__/Dense/index.js +0 -11
  2484. package/feedback/ErrorSummary/__stories__/Dense/package.json +0 -6
  2485. package/feedback/ErrorSummary/__stories__/Dense.js.map +0 -7
  2486. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox/index.js +0 -20
  2487. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox/package.json +0 -6
  2488. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.js.map +0 -7
  2489. package/feedback/ErrorSummary/__stories__/LinkedToField/index.js +0 -23
  2490. package/feedback/ErrorSummary/__stories__/LinkedToField/package.json +0 -6
  2491. package/feedback/ErrorSummary/__stories__/LinkedToField.js.map +0 -7
  2492. package/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +0 -18
  2493. package/feedback/ErrorSummary/__stories__/LinkedToInput/package.json +0 -6
  2494. package/feedback/ErrorSummary/__stories__/LinkedToInput.js.map +0 -7
  2495. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/index.js +0 -25
  2496. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/package.json +0 -6
  2497. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.js.map +0 -7
  2498. package/feedback/NotificationBanner/NotificationBanner.stories/index.js +0 -19
  2499. package/feedback/NotificationBanner/NotificationBanner.stories/package.json +0 -6
  2500. package/feedback/NotificationBanner/NotificationBanner.stories.js.map +0 -7
  2501. package/feedback/NotificationBanner/__stories__/Default/index.js +0 -19
  2502. package/feedback/NotificationBanner/__stories__/Default/package.json +0 -6
  2503. package/feedback/NotificationBanner/__stories__/Default.js.map +0 -7
  2504. package/feedback/NotificationBanner/__stories__/Dense/index.js +0 -20
  2505. package/feedback/NotificationBanner/__stories__/Dense/package.json +0 -6
  2506. package/feedback/NotificationBanner/__stories__/Dense.js.map +0 -7
  2507. package/feedback/NotificationBanner/__stories__/Success/index.js +0 -20
  2508. package/feedback/NotificationBanner/__stories__/Success/package.json +0 -6
  2509. package/feedback/NotificationBanner/__stories__/Success.js.map +0 -7
  2510. package/feedback/PhaseBanner/PhaseBanner.stories/index.js +0 -16
  2511. package/feedback/PhaseBanner/PhaseBanner.stories/package.json +0 -6
  2512. package/feedback/PhaseBanner/PhaseBanner.stories.js.map +0 -7
  2513. package/feedback/PhaseBanner/__stories__/Default/index.js +0 -14
  2514. package/feedback/PhaseBanner/__stories__/Default/package.json +0 -6
  2515. package/feedback/PhaseBanner/__stories__/Default.js.map +0 -7
  2516. package/feedback/PhaseBanner/__stories__/Underlined/index.js +0 -14
  2517. package/feedback/PhaseBanner/__stories__/Underlined/package.json +0 -6
  2518. package/feedback/PhaseBanner/__stories__/Underlined.js.map +0 -7
  2519. package/feedback/WarningText/WarningText.stories/index.js +0 -18
  2520. package/feedback/WarningText/WarningText.stories/package.json +0 -6
  2521. package/feedback/WarningText/WarningText.stories.js.map +0 -7
  2522. package/feedback/WarningText/__stories__/AssistiveText/index.js +0 -9
  2523. package/feedback/WarningText/__stories__/AssistiveText/package.json +0 -6
  2524. package/feedback/WarningText/__stories__/AssistiveText.js.map +0 -7
  2525. package/feedback/WarningText/__stories__/Default/index.js +0 -9
  2526. package/feedback/WarningText/__stories__/Default/package.json +0 -6
  2527. package/feedback/WarningText/__stories__/Default.js.map +0 -7
  2528. package/feedback/WarningText/__stories__/Dense/index.js +0 -9
  2529. package/feedback/WarningText/__stories__/Dense/package.json +0 -6
  2530. package/feedback/WarningText/__stories__/Dense.js.map +0 -7
  2531. package/form/AutoComplete/AutoComplete.stories/index.js +0 -30
  2532. package/form/AutoComplete/AutoComplete.stories/package.json +0 -6
  2533. package/form/AutoComplete/AutoComplete.stories.js.map +0 -7
  2534. package/form/AutoComplete/__stories__/Default/index.js +0 -12
  2535. package/form/AutoComplete/__stories__/Default/package.json +0 -6
  2536. package/form/AutoComplete/__stories__/Default.js.map +0 -7
  2537. package/form/AutoComplete/__stories__/Multiple/index.js +0 -12
  2538. package/form/AutoComplete/__stories__/Multiple/package.json +0 -6
  2539. package/form/AutoComplete/__stories__/Multiple.js.map +0 -7
  2540. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected/index.js +0 -12
  2541. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected/package.json +0 -6
  2542. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.js.map +0 -7
  2543. package/form/AutoComplete/__stories__/MultipleWithDefaultValues/index.js +0 -12
  2544. package/form/AutoComplete/__stories__/MultipleWithDefaultValues/package.json +0 -6
  2545. package/form/AutoComplete/__stories__/MultipleWithDefaultValues.js.map +0 -7
  2546. package/form/AutoComplete/__stories__/MultipleWithMinLength/index.js +0 -22
  2547. package/form/AutoComplete/__stories__/MultipleWithMinLength/package.json +0 -6
  2548. package/form/AutoComplete/__stories__/MultipleWithMinLength.js.map +0 -7
  2549. package/form/AutoComplete/__stories__/WithAutoSelect/index.js +0 -28
  2550. package/form/AutoComplete/__stories__/WithAutoSelect/package.json +0 -6
  2551. package/form/AutoComplete/__stories__/WithAutoSelect.js.map +0 -7
  2552. package/form/AutoComplete/__stories__/WithDefaultValue/index.js +0 -20
  2553. package/form/AutoComplete/__stories__/WithDefaultValue/package.json +0 -6
  2554. package/form/AutoComplete/__stories__/WithDefaultValue.js.map +0 -7
  2555. package/form/AutoComplete/__stories__/WithMinLength/index.js +0 -21
  2556. package/form/AutoComplete/__stories__/WithMinLength/package.json +0 -6
  2557. package/form/AutoComplete/__stories__/WithMinLength.js.map +0 -7
  2558. package/form/AutoComplete/__stories__/WithPlaceHolder/index.js +0 -20
  2559. package/form/AutoComplete/__stories__/WithPlaceHolder/package.json +0 -6
  2560. package/form/AutoComplete/__stories__/WithPlaceHolder.js.map +0 -7
  2561. package/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -19
  2562. package/form/AutoComplete/__stories__/WithShowAllValues/package.json +0 -6
  2563. package/form/AutoComplete/__stories__/WithShowAllValues.js.map +0 -7
  2564. package/form/Button/Button.stories/index.js +0 -36
  2565. package/form/Button/Button.stories/package.json +0 -6
  2566. package/form/Button/Button.stories.js.map +0 -7
  2567. package/form/Button/__stories__/Back/index.js +0 -9
  2568. package/form/Button/__stories__/Back/package.json +0 -6
  2569. package/form/Button/__stories__/Back.js.map +0 -7
  2570. package/form/Button/__stories__/ButtonLinkButton/index.js +0 -18
  2571. package/form/Button/__stories__/ButtonLinkButton/package.json +0 -6
  2572. package/form/Button/__stories__/ButtonLinkButton.js.map +0 -7
  2573. package/form/Button/__stories__/CallToActionButton/index.js +0 -18
  2574. package/form/Button/__stories__/CallToActionButton/package.json +0 -6
  2575. package/form/Button/__stories__/CallToActionButton.js.map +0 -7
  2576. package/form/Button/__stories__/Dense/index.js +0 -9
  2577. package/form/Button/__stories__/Dense/package.json +0 -6
  2578. package/form/Button/__stories__/Dense.js.map +0 -7
  2579. package/form/Button/__stories__/Disabled/index.js +0 -9
  2580. package/form/Button/__stories__/Disabled/package.json +0 -6
  2581. package/form/Button/__stories__/Disabled.js.map +0 -7
  2582. package/form/Button/__stories__/GroupingButtons/index.js +0 -9
  2583. package/form/Button/__stories__/GroupingButtons/package.json +0 -6
  2584. package/form/Button/__stories__/GroupingButtons.js.map +0 -7
  2585. package/form/Button/__stories__/GroupingButtonsAndLinks/index.js +0 -10
  2586. package/form/Button/__stories__/GroupingButtonsAndLinks/package.json +0 -6
  2587. package/form/Button/__stories__/GroupingButtonsAndLinks.js.map +0 -7
  2588. package/form/Button/__stories__/Primary/index.js +0 -9
  2589. package/form/Button/__stories__/Primary/package.json +0 -6
  2590. package/form/Button/__stories__/Primary.js.map +0 -7
  2591. package/form/Button/__stories__/Secondary/index.js +0 -9
  2592. package/form/Button/__stories__/Secondary/package.json +0 -6
  2593. package/form/Button/__stories__/Secondary.js.map +0 -7
  2594. package/form/Button/__stories__/ThemeToggle/index.js +0 -9
  2595. package/form/Button/__stories__/ThemeToggle/package.json +0 -6
  2596. package/form/Button/__stories__/ThemeToggle.js.map +0 -7
  2597. package/form/Button/__stories__/Warning/index.js +0 -11
  2598. package/form/Button/__stories__/Warning/package.json +0 -6
  2599. package/form/Button/__stories__/Warning.js.map +0 -7
  2600. package/form/Button/__stories__/WithVariantLink/index.js +0 -19
  2601. package/form/Button/__stories__/WithVariantLink/package.json +0 -6
  2602. package/form/Button/__stories__/WithVariantLink.js.map +0 -7
  2603. package/form/Checkbox/Checkbox.stories/index.js +0 -32
  2604. package/form/Checkbox/Checkbox.stories/package.json +0 -6
  2605. package/form/Checkbox/Checkbox.stories.js.map +0 -7
  2606. package/form/Checkbox/__stories__/ConditionalReveal/index.js +0 -20
  2607. package/form/Checkbox/__stories__/ConditionalReveal/package.json +0 -6
  2608. package/form/Checkbox/__stories__/ConditionalReveal.js.map +0 -7
  2609. package/form/Checkbox/__stories__/Default/index.js +0 -15
  2610. package/form/Checkbox/__stories__/Default/package.json +0 -6
  2611. package/form/Checkbox/__stories__/Default.js.map +0 -7
  2612. package/form/Checkbox/__stories__/Dense/index.js +0 -15
  2613. package/form/Checkbox/__stories__/Dense/package.json +0 -6
  2614. package/form/Checkbox/__stories__/Dense.js.map +0 -7
  2615. package/form/Checkbox/__stories__/Inline/index.js +0 -15
  2616. package/form/Checkbox/__stories__/Inline/package.json +0 -6
  2617. package/form/Checkbox/__stories__/Inline.js.map +0 -7
  2618. package/form/Checkbox/__stories__/InlineWithDivider/index.js +0 -15
  2619. package/form/Checkbox/__stories__/InlineWithDivider/package.json +0 -6
  2620. package/form/Checkbox/__stories__/InlineWithDivider.js.map +0 -7
  2621. package/form/Checkbox/__stories__/MultipleQuestions/index.js +0 -15
  2622. package/form/Checkbox/__stories__/MultipleQuestions/package.json +0 -6
  2623. package/form/Checkbox/__stories__/MultipleQuestions.js.map +0 -7
  2624. package/form/Checkbox/__stories__/NoneAnswer/index.js +0 -14
  2625. package/form/Checkbox/__stories__/NoneAnswer/package.json +0 -6
  2626. package/form/Checkbox/__stories__/NoneAnswer.js.map +0 -7
  2627. package/form/Checkbox/__stories__/NoneAnswerWithError/index.js +0 -16
  2628. package/form/Checkbox/__stories__/NoneAnswerWithError/package.json +0 -6
  2629. package/form/Checkbox/__stories__/NoneAnswerWithError.js.map +0 -7
  2630. package/form/Checkbox/__stories__/WithErrorMessage/index.js +0 -17
  2631. package/form/Checkbox/__stories__/WithErrorMessage/package.json +0 -6
  2632. package/form/Checkbox/__stories__/WithErrorMessage.js.map +0 -7
  2633. package/form/Checkbox/__stories__/WithHint/index.js +0 -15
  2634. package/form/Checkbox/__stories__/WithHint/package.json +0 -6
  2635. package/form/Checkbox/__stories__/WithHint.js.map +0 -7
  2636. package/form/DateInputContainer/DateInputContainer.stories/index.js +0 -22
  2637. package/form/DateInputContainer/DateInputContainer.stories/package.json +0 -6
  2638. package/form/DateInputContainer/DateInputContainer.stories.js.map +0 -7
  2639. package/form/DateInputContainer/__stories__/Default/index.js +0 -18
  2640. package/form/DateInputContainer/__stories__/Default/package.json +0 -6
  2641. package/form/DateInputContainer/__stories__/Default.js.map +0 -7
  2642. package/form/DateInputContainer/__stories__/Dense/index.js +0 -17
  2643. package/form/DateInputContainer/__stories__/Dense/package.json +0 -6
  2644. package/form/DateInputContainer/__stories__/Dense.js.map +0 -7
  2645. package/form/DateInputContainer/__stories__/MultipleQuestions/index.js +0 -18
  2646. package/form/DateInputContainer/__stories__/MultipleQuestions/package.json +0 -6
  2647. package/form/DateInputContainer/__stories__/MultipleQuestions.js.map +0 -7
  2648. package/form/DateInputContainer/__stories__/WithErrorMessage/index.js +0 -20
  2649. package/form/DateInputContainer/__stories__/WithErrorMessage/package.json +0 -6
  2650. package/form/DateInputContainer/__stories__/WithErrorMessage.js.map +0 -7
  2651. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/index.js +0 -20
  2652. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/package.json +0 -6
  2653. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.js.map +0 -7
  2654. package/form/ErrorMessage/ErrorMessage.stories/index.js +0 -18
  2655. package/form/ErrorMessage/ErrorMessage.stories/package.json +0 -6
  2656. package/form/ErrorMessage/ErrorMessage.stories.js.map +0 -7
  2657. package/form/ErrorMessage/__stories__/DateInputError/index.js +0 -20
  2658. package/form/ErrorMessage/__stories__/DateInputError/package.json +0 -6
  2659. package/form/ErrorMessage/__stories__/DateInputError.js.map +0 -7
  2660. package/form/ErrorMessage/__stories__/Default/index.js +0 -17
  2661. package/form/ErrorMessage/__stories__/Default/package.json +0 -6
  2662. package/form/ErrorMessage/__stories__/Default.js.map +0 -7
  2663. package/form/ErrorMessage/__stories__/ErrorMessageOnly/index.js +0 -10
  2664. package/form/ErrorMessage/__stories__/ErrorMessageOnly/package.json +0 -6
  2665. package/form/ErrorMessage/__stories__/ErrorMessageOnly.js.map +0 -7
  2666. package/form/FileUpload/FileUpload.stories/index.js +0 -15
  2667. package/form/FileUpload/FileUpload.stories/package.json +0 -6
  2668. package/form/FileUpload/FileUpload.stories.js.map +0 -7
  2669. package/form/FileUpload/__stories__/Default/index.js +0 -15
  2670. package/form/FileUpload/__stories__/Default/package.json +0 -6
  2671. package/form/FileUpload/__stories__/Default.js.map +0 -7
  2672. package/form/FileUpload/__stories__/WithErrorMessage/index.js +0 -17
  2673. package/form/FileUpload/__stories__/WithErrorMessage/package.json +0 -6
  2674. package/form/FileUpload/__stories__/WithErrorMessage.js.map +0 -7
  2675. package/form/RadioContainer/RadioContainer.stories/index.js +0 -32
  2676. package/form/RadioContainer/RadioContainer.stories/package.json +0 -6
  2677. package/form/RadioContainer/RadioContainer.stories.js.map +0 -7
  2678. package/form/RadioContainer/__stories__/ConditionalReveal/index.js +0 -20
  2679. package/form/RadioContainer/__stories__/ConditionalReveal/package.json +0 -6
  2680. package/form/RadioContainer/__stories__/ConditionalReveal.js.map +0 -7
  2681. package/form/RadioContainer/__stories__/Default/index.js +0 -14
  2682. package/form/RadioContainer/__stories__/Default/package.json +0 -6
  2683. package/form/RadioContainer/__stories__/Default.js.map +0 -7
  2684. package/form/RadioContainer/__stories__/Dense/index.js +0 -14
  2685. package/form/RadioContainer/__stories__/Dense/package.json +0 -6
  2686. package/form/RadioContainer/__stories__/Dense.js.map +0 -7
  2687. package/form/RadioContainer/__stories__/Inline/index.js +0 -15
  2688. package/form/RadioContainer/__stories__/Inline/package.json +0 -6
  2689. package/form/RadioContainer/__stories__/Inline.js.map +0 -7
  2690. package/form/RadioContainer/__stories__/InlineWithDivider/index.js +0 -15
  2691. package/form/RadioContainer/__stories__/InlineWithDivider/package.json +0 -6
  2692. package/form/RadioContainer/__stories__/InlineWithDivider.js.map +0 -7
  2693. package/form/RadioContainer/__stories__/MultipleQuestions/index.js +0 -15
  2694. package/form/RadioContainer/__stories__/MultipleQuestions/package.json +0 -6
  2695. package/form/RadioContainer/__stories__/MultipleQuestions.js.map +0 -7
  2696. package/form/RadioContainer/__stories__/NoneAnswer/index.js +0 -14
  2697. package/form/RadioContainer/__stories__/NoneAnswer/package.json +0 -6
  2698. package/form/RadioContainer/__stories__/NoneAnswer.js.map +0 -7
  2699. package/form/RadioContainer/__stories__/WithErrorMessage/index.js +0 -17
  2700. package/form/RadioContainer/__stories__/WithErrorMessage/package.json +0 -6
  2701. package/form/RadioContainer/__stories__/WithErrorMessage.js.map +0 -7
  2702. package/form/RadioContainer/__stories__/WithHints/index.js +0 -24
  2703. package/form/RadioContainer/__stories__/WithHints/package.json +0 -6
  2704. package/form/RadioContainer/__stories__/WithHints.js.map +0 -7
  2705. package/form/RadioContainer/__stories__/WithMediumLegend/index.js +0 -14
  2706. package/form/RadioContainer/__stories__/WithMediumLegend/package.json +0 -6
  2707. package/form/RadioContainer/__stories__/WithMediumLegend.js.map +0 -7
  2708. package/form/SelectContainer/SelectContainer.stories/index.js +0 -20
  2709. package/form/SelectContainer/SelectContainer.stories/package.json +0 -6
  2710. package/form/SelectContainer/SelectContainer.stories.js.map +0 -7
  2711. package/form/SelectContainer/__stories__/Default/index.js +0 -14
  2712. package/form/SelectContainer/__stories__/Default/package.json +0 -6
  2713. package/form/SelectContainer/__stories__/Default.js.map +0 -7
  2714. package/form/SelectContainer/__stories__/Dense/index.js +0 -14
  2715. package/form/SelectContainer/__stories__/Dense/package.json +0 -6
  2716. package/form/SelectContainer/__stories__/Dense.js.map +0 -7
  2717. package/form/SelectContainer/__stories__/DisabledInput/index.js +0 -26
  2718. package/form/SelectContainer/__stories__/DisabledInput/package.json +0 -6
  2719. package/form/SelectContainer/__stories__/DisabledInput.js.map +0 -7
  2720. package/form/SelectContainer/__stories__/WithHint/index.js +0 -26
  2721. package/form/SelectContainer/__stories__/WithHint/package.json +0 -6
  2722. package/form/SelectContainer/__stories__/WithHint.js.map +0 -7
  2723. package/form/SingleCharacterInputs/SingleCharacterInput.stories/index.js +0 -20
  2724. package/form/SingleCharacterInputs/SingleCharacterInput.stories/package.json +0 -6
  2725. package/form/SingleCharacterInputs/SingleCharacterInput.stories.js.map +0 -7
  2726. package/form/SingleCharacterInputs/__stories__/Default/index.js +0 -18
  2727. package/form/SingleCharacterInputs/__stories__/Default/package.json +0 -6
  2728. package/form/SingleCharacterInputs/__stories__/Default.js.map +0 -7
  2729. package/form/SingleCharacterInputs/__stories__/WithDefaultError/index.js +0 -20
  2730. package/form/SingleCharacterInputs/__stories__/WithDefaultError/package.json +0 -6
  2731. package/form/SingleCharacterInputs/__stories__/WithDefaultError.js.map +0 -7
  2732. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/index.js +0 -20
  2733. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/package.json +0 -6
  2734. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.js.map +0 -7
  2735. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/index.js +0 -20
  2736. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/package.json +0 -6
  2737. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.js.map +0 -7
  2738. package/form/TextArea/TextArea.stories/index.js +0 -28
  2739. package/form/TextArea/TextArea.stories/package.json +0 -6
  2740. package/form/TextArea/TextArea.stories.js.map +0 -7
  2741. package/form/TextArea/__stories__/Default/index.js +0 -12
  2742. package/form/TextArea/__stories__/Default/package.json +0 -6
  2743. package/form/TextArea/__stories__/Default.js.map +0 -7
  2744. package/form/TextArea/__stories__/Dense/index.js +0 -11
  2745. package/form/TextArea/__stories__/Dense/package.json +0 -6
  2746. package/form/TextArea/__stories__/Dense.js.map +0 -7
  2747. package/form/TextArea/__stories__/DisabledInput/index.js +0 -20
  2748. package/form/TextArea/__stories__/DisabledInput/package.json +0 -6
  2749. package/form/TextArea/__stories__/DisabledInput.js.map +0 -7
  2750. package/form/TextArea/__stories__/LimitedCharacters/index.js +0 -13
  2751. package/form/TextArea/__stories__/LimitedCharacters/package.json +0 -6
  2752. package/form/TextArea/__stories__/LimitedCharacters.js.map +0 -7
  2753. package/form/TextArea/__stories__/MultipleQuestions/index.js +0 -12
  2754. package/form/TextArea/__stories__/MultipleQuestions/package.json +0 -6
  2755. package/form/TextArea/__stories__/MultipleQuestions.js.map +0 -7
  2756. package/form/TextArea/__stories__/WithDeclaredRows/index.js +0 -20
  2757. package/form/TextArea/__stories__/WithDeclaredRows/package.json +0 -6
  2758. package/form/TextArea/__stories__/WithDeclaredRows.js.map +0 -7
  2759. package/form/TextArea/__stories__/WithErrorMessage/index.js +0 -14
  2760. package/form/TextArea/__stories__/WithErrorMessage/package.json +0 -6
  2761. package/form/TextArea/__stories__/WithErrorMessage.js.map +0 -7
  2762. package/form/TextArea/__stories__/WithHint/index.js +0 -13
  2763. package/form/TextArea/__stories__/WithHint/package.json +0 -6
  2764. package/form/TextArea/__stories__/WithHint.js.map +0 -7
  2765. package/form/TextInput/TextInput.stories/index.js +0 -32
  2766. package/form/TextInput/TextInput.stories/package.json +0 -6
  2767. package/form/TextInput/TextInput.stories.js.map +0 -7
  2768. package/form/TextInput/__stories__/AskingForNumbers/index.js +0 -21
  2769. package/form/TextInput/__stories__/AskingForNumbers/package.json +0 -6
  2770. package/form/TextInput/__stories__/AskingForNumbers.js.map +0 -7
  2771. package/form/TextInput/__stories__/Default/index.js +0 -12
  2772. package/form/TextInput/__stories__/Default/package.json +0 -6
  2773. package/form/TextInput/__stories__/Default.js.map +0 -7
  2774. package/form/TextInput/__stories__/Dense/index.js +0 -11
  2775. package/form/TextInput/__stories__/Dense/package.json +0 -6
  2776. package/form/TextInput/__stories__/Dense.js.map +0 -7
  2777. package/form/TextInput/__stories__/DisabledInput/index.js +0 -20
  2778. package/form/TextInput/__stories__/DisabledInput/package.json +0 -6
  2779. package/form/TextInput/__stories__/DisabledInput.js.map +0 -7
  2780. package/form/TextInput/__stories__/DisabledInputWithValue/index.js +0 -22
  2781. package/form/TextInput/__stories__/DisabledInputWithValue/package.json +0 -6
  2782. package/form/TextInput/__stories__/DisabledInputWithValue.js.map +0 -7
  2783. package/form/TextInput/__stories__/FixedWidths/index.js +0 -12
  2784. package/form/TextInput/__stories__/FixedWidths/package.json +0 -6
  2785. package/form/TextInput/__stories__/FixedWidths.js.map +0 -7
  2786. package/form/TextInput/__stories__/FluidWidths/index.js +0 -12
  2787. package/form/TextInput/__stories__/FluidWidths/package.json +0 -6
  2788. package/form/TextInput/__stories__/FluidWidths.js.map +0 -7
  2789. package/form/TextInput/__stories__/MultipleQuestions/index.js +0 -11
  2790. package/form/TextInput/__stories__/MultipleQuestions/package.json +0 -6
  2791. package/form/TextInput/__stories__/MultipleQuestions.js.map +0 -7
  2792. package/form/TextInput/__stories__/WithErrorMessage/index.js +0 -21
  2793. package/form/TextInput/__stories__/WithErrorMessage/package.json +0 -6
  2794. package/form/TextInput/__stories__/WithErrorMessage.js.map +0 -7
  2795. package/form/TextInput/__stories__/WithHint/index.js +0 -13
  2796. package/form/TextInput/__stories__/WithHint/package.json +0 -6
  2797. package/form/TextInput/__stories__/WithHint.js.map +0 -7
  2798. package/layouts/Basic/Basic.stories/index.js +0 -19
  2799. package/layouts/Basic/Basic.stories/package.json +0 -6
  2800. package/layouts/Basic/Basic.stories.js.map +0 -7
  2801. package/layouts/Basic/Bottom/__stories__/Default/index.js +0 -17
  2802. package/layouts/Basic/Bottom/__stories__/Default/package.json +0 -6
  2803. package/layouts/Basic/Bottom/__stories__/Default.js.map +0 -7
  2804. package/layouts/Basic/Container/__stories__/Default/index.js +0 -15
  2805. package/layouts/Basic/Container/__stories__/Default/package.json +0 -6
  2806. package/layouts/Basic/Container/__stories__/Default.js.map +0 -7
  2807. package/layouts/Basic/Main/__stories__/Default/index.js +0 -15
  2808. package/layouts/Basic/Main/__stories__/Default/package.json +0 -6
  2809. package/layouts/Basic/Main/__stories__/Default.js.map +0 -7
  2810. package/layouts/Basic/Masthead/index.d.ts +0 -5
  2811. package/layouts/Basic/Masthead/index.js +0 -9
  2812. package/layouts/Basic/Masthead/index.js.map +0 -7
  2813. package/layouts/Basic/Masthead/package.json +0 -6
  2814. package/layouts/Basic/Top/__stories__/Default/index.js +0 -15
  2815. package/layouts/Basic/Top/__stories__/Default/package.json +0 -6
  2816. package/layouts/Basic/Top/__stories__/Default.js.map +0 -7
  2817. package/layouts/Basic/__stories__/Default/index.js +0 -12
  2818. package/layouts/Basic/__stories__/Default/package.json +0 -6
  2819. package/layouts/Basic/__stories__/Default.js.map +0 -7
  2820. package/layouts/Basic/__stories__/MultipleRowsLayout/index.js +0 -13
  2821. package/layouts/Basic/__stories__/MultipleRowsLayout/package.json +0 -6
  2822. package/layouts/Basic/__stories__/MultipleRowsLayout.js.map +0 -7
  2823. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/index.js +0 -13
  2824. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/package.json +0 -6
  2825. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.js.map +0 -7
  2826. package/layouts/Basic/__stories__/WithBasicLayout/index.js +0 -14
  2827. package/layouts/Basic/__stories__/WithBasicLayout/package.json +0 -6
  2828. package/layouts/Basic/__stories__/WithBasicLayout.js.map +0 -7
  2829. package/layouts/Grid/Grid.stories/index.js +0 -16
  2830. package/layouts/Grid/Grid.stories/package.json +0 -6
  2831. package/layouts/Grid/Grid.stories.js.map +0 -7
  2832. package/layouts/Grid/__stories__/Default/index.js +0 -12
  2833. package/layouts/Grid/__stories__/Default/package.json +0 -6
  2834. package/layouts/Grid/__stories__/Default.js.map +0 -7
  2835. package/layouts/Grid/__stories__/Inline/index.js +0 -12
  2836. package/layouts/Grid/__stories__/Inline/package.json +0 -6
  2837. package/layouts/Grid/__stories__/Inline.js.map +0 -7
  2838. package/layouts/Grid/__stories__/ResponsiveSpacing/index.js +0 -26
  2839. package/layouts/Grid/__stories__/ResponsiveSpacing/package.json +0 -6
  2840. package/layouts/Grid/__stories__/ResponsiveSpacing.js.map +0 -7
  2841. package/layouts/Screen/Screen.stories/index.js +0 -18
  2842. package/layouts/Screen/Screen.stories/package.json +0 -6
  2843. package/layouts/Screen/Screen.stories.js.map +0 -7
  2844. package/layouts/Screen/__stories__/Default/index.js +0 -11
  2845. package/layouts/Screen/__stories__/Default/package.json +0 -6
  2846. package/layouts/Screen/__stories__/Default.js.map +0 -7
  2847. package/layouts/Screen/__stories__/ScreenDown/index.js +0 -11
  2848. package/layouts/Screen/__stories__/ScreenDown/package.json +0 -6
  2849. package/layouts/Screen/__stories__/ScreenDown.js.map +0 -7
  2850. package/layouts/Screen/__stories__/ScreenUp/index.js +0 -11
  2851. package/layouts/Screen/__stories__/ScreenUp/package.json +0 -6
  2852. package/layouts/Screen/__stories__/ScreenUp.js.map +0 -7
  2853. package/layouts/Screen/__stories__/SpecificScreenSize/index.js +0 -11
  2854. package/layouts/Screen/__stories__/SpecificScreenSize/package.json +0 -6
  2855. package/layouts/Screen/__stories__/SpecificScreenSize.js.map +0 -7
  2856. package/layouts/Stack/Stack.stories/index.js +0 -22
  2857. package/layouts/Stack/Stack.stories/package.json +0 -6
  2858. package/layouts/Stack/Stack.stories.js.map +0 -7
  2859. package/layouts/Stack/__stories__/AlignItems/index.js +0 -12
  2860. package/layouts/Stack/__stories__/AlignItems/package.json +0 -6
  2861. package/layouts/Stack/__stories__/AlignItems.js.map +0 -7
  2862. package/layouts/Stack/__stories__/Default/index.js +0 -12
  2863. package/layouts/Stack/__stories__/Default/package.json +0 -6
  2864. package/layouts/Stack/__stories__/Default.js.map +0 -7
  2865. package/layouts/Stack/__stories__/JustifyContent/index.js +0 -12
  2866. package/layouts/Stack/__stories__/JustifyContent/package.json +0 -6
  2867. package/layouts/Stack/__stories__/JustifyContent.js.map +0 -7
  2868. package/layouts/Stack/__stories__/NoWrap/index.js +0 -12
  2869. package/layouts/Stack/__stories__/NoWrap/package.json +0 -6
  2870. package/layouts/Stack/__stories__/NoWrap.js.map +0 -7
  2871. package/layouts/Stack/__stories__/Row/index.js +0 -12
  2872. package/layouts/Stack/__stories__/Row/package.json +0 -6
  2873. package/layouts/Stack/__stories__/Row.js.map +0 -7
  2874. package/layouts/Stack/__stories__/Spacing/index.js +0 -12
  2875. package/layouts/Stack/__stories__/Spacing/package.json +0 -6
  2876. package/layouts/Stack/__stories__/Spacing.js.map +0 -7
  2877. package/lazy.d.ts +0 -358
  2878. package/lazy.js.map +0 -7
  2879. package/navigation/BackLink/BackLink.stories/index.js +0 -12
  2880. package/navigation/BackLink/BackLink.stories/package.json +0 -6
  2881. package/navigation/BackLink/BackLink.stories.js.map +0 -7
  2882. package/navigation/BackLink/__stories__/Default/index.js +0 -9
  2883. package/navigation/BackLink/__stories__/Default/package.json +0 -6
  2884. package/navigation/BackLink/__stories__/Default.js.map +0 -7
  2885. package/navigation/BackToTopLink/BackToTopLink.stories/index.js +0 -14
  2886. package/navigation/BackToTopLink/BackToTopLink.stories/package.json +0 -6
  2887. package/navigation/BackToTopLink/BackToTopLink.stories.js.map +0 -7
  2888. package/navigation/BackToTopLink/__stories__/Default/index.js +0 -9
  2889. package/navigation/BackToTopLink/__stories__/Default/package.json +0 -6
  2890. package/navigation/BackToTopLink/__stories__/Default.js.map +0 -7
  2891. package/navigation/BackToTopLink/__stories__/InMain/index.js +0 -13
  2892. package/navigation/BackToTopLink/__stories__/InMain/package.json +0 -6
  2893. package/navigation/BackToTopLink/__stories__/InMain.js.map +0 -7
  2894. package/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +0 -20
  2895. package/navigation/Breadcrumbs/Breadcrumbs.stories/package.json +0 -6
  2896. package/navigation/Breadcrumbs/Breadcrumbs.stories.js.map +0 -7
  2897. package/navigation/Breadcrumbs/__stories__/Auto/index.js +0 -158
  2898. package/navigation/Breadcrumbs/__stories__/Auto/package.json +0 -6
  2899. package/navigation/Breadcrumbs/__stories__/Auto.js.map +0 -7
  2900. package/navigation/Breadcrumbs/__stories__/Default/index.js +0 -13
  2901. package/navigation/Breadcrumbs/__stories__/Default/package.json +0 -6
  2902. package/navigation/Breadcrumbs/__stories__/Default.js.map +0 -7
  2903. package/navigation/Breadcrumbs/__stories__/WithHook/index.js +0 -165
  2904. package/navigation/Breadcrumbs/__stories__/WithHook/package.json +0 -6
  2905. package/navigation/Breadcrumbs/__stories__/WithHook.js.map +0 -7
  2906. package/navigation/Breadcrumbs/__stories__/WithoutCurrentPage/index.js +0 -13
  2907. package/navigation/Breadcrumbs/__stories__/WithoutCurrentPage/package.json +0 -6
  2908. package/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.js.map +0 -7
  2909. package/navigation/Drawer/Drawer.stories/index.js +0 -18
  2910. package/navigation/Drawer/Drawer.stories/package.json +0 -6
  2911. package/navigation/Drawer/Drawer.stories.js.map +0 -7
  2912. package/navigation/Drawer/__stories__/Auto/index.js +0 -86
  2913. package/navigation/Drawer/__stories__/Auto/package.json +0 -6
  2914. package/navigation/Drawer/__stories__/Auto.js.map +0 -7
  2915. package/navigation/Drawer/__stories__/Default/index.js +0 -71
  2916. package/navigation/Drawer/__stories__/Default/package.json +0 -6
  2917. package/navigation/Drawer/__stories__/Default.js.map +0 -7
  2918. package/navigation/Drawer/__stories__/WithHook/index.js +0 -93
  2919. package/navigation/Drawer/__stories__/WithHook/package.json +0 -6
  2920. package/navigation/Drawer/__stories__/WithHook.js.map +0 -7
  2921. package/navigation/Dropdown/Dropdown.stories/index.js +0 -34
  2922. package/navigation/Dropdown/Dropdown.stories/package.json +0 -6
  2923. package/navigation/Dropdown/Dropdown.stories.js.map +0 -7
  2924. package/navigation/Dropdown/__stories__/AlignRight/index.js +0 -39
  2925. package/navigation/Dropdown/__stories__/AlignRight/package.json +0 -6
  2926. package/navigation/Dropdown/__stories__/AlignRight.js.map +0 -7
  2927. package/navigation/Dropdown/__stories__/ContentPosition/index.js +0 -51
  2928. package/navigation/Dropdown/__stories__/ContentPosition/package.json +0 -6
  2929. package/navigation/Dropdown/__stories__/ContentPosition.js.map +0 -7
  2930. package/navigation/Dropdown/__stories__/Default/index.js +0 -28
  2931. package/navigation/Dropdown/__stories__/Default/package.json +0 -6
  2932. package/navigation/Dropdown/__stories__/Default.js.map +0 -7
  2933. package/navigation/Dropdown/__stories__/Dense/index.js +0 -29
  2934. package/navigation/Dropdown/__stories__/Dense/package.json +0 -6
  2935. package/navigation/Dropdown/__stories__/Dense.js.map +0 -7
  2936. package/navigation/Dropdown/__stories__/Disabled/index.js +0 -28
  2937. package/navigation/Dropdown/__stories__/Disabled/package.json +0 -6
  2938. package/navigation/Dropdown/__stories__/Disabled.js.map +0 -7
  2939. package/navigation/Dropdown/__stories__/PlacementTop/index.js +0 -39
  2940. package/navigation/Dropdown/__stories__/PlacementTop/package.json +0 -6
  2941. package/navigation/Dropdown/__stories__/PlacementTop.js.map +0 -7
  2942. package/navigation/Dropdown/__stories__/ScrollableContent/index.js +0 -73
  2943. package/navigation/Dropdown/__stories__/ScrollableContent/package.json +0 -6
  2944. package/navigation/Dropdown/__stories__/ScrollableContent.js.map +0 -7
  2945. package/navigation/Dropdown/__stories__/Secondary/index.js +0 -24
  2946. package/navigation/Dropdown/__stories__/Secondary/package.json +0 -6
  2947. package/navigation/Dropdown/__stories__/Secondary.js.map +0 -7
  2948. package/navigation/Dropdown/__stories__/VariantLink/index.js +0 -29
  2949. package/navigation/Dropdown/__stories__/VariantLink/package.json +0 -6
  2950. package/navigation/Dropdown/__stories__/VariantLink.js.map +0 -7
  2951. package/navigation/Dropdown/__stories__/Warning/index.js +0 -24
  2952. package/navigation/Dropdown/__stories__/Warning/package.json +0 -6
  2953. package/navigation/Dropdown/__stories__/Warning.js.map +0 -7
  2954. package/navigation/Dropdown/__stories__/WithIcons/index.js +0 -54
  2955. package/navigation/Dropdown/__stories__/WithIcons/package.json +0 -6
  2956. package/navigation/Dropdown/__stories__/WithIcons.js.map +0 -7
  2957. package/navigation/Link/Link.stories/index.js +0 -25
  2958. package/navigation/Link/Link.stories/package.json +0 -6
  2959. package/navigation/Link/Link.stories.js.map +0 -7
  2960. package/navigation/Link/__stories__/DarkBackground/index.js +0 -19
  2961. package/navigation/Link/__stories__/DarkBackground/package.json +0 -6
  2962. package/navigation/Link/__stories__/DarkBackground.js.map +0 -7
  2963. package/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +0 -20
  2964. package/navigation/Link/__stories__/DarkBackgroundNoUnderline/package.json +0 -6
  2965. package/navigation/Link/__stories__/DarkBackgroundNoUnderline.js.map +0 -7
  2966. package/navigation/Link/__stories__/Default/index.js +0 -9
  2967. package/navigation/Link/__stories__/Default/package.json +0 -6
  2968. package/navigation/Link/__stories__/Default.js.map +0 -7
  2969. package/navigation/Link/__stories__/ExternalLink/index.js +0 -18
  2970. package/navigation/Link/__stories__/ExternalLink/package.json +0 -6
  2971. package/navigation/Link/__stories__/ExternalLink.js.map +0 -7
  2972. package/navigation/Link/__stories__/NoUnderline/index.js +0 -18
  2973. package/navigation/Link/__stories__/NoUnderline/package.json +0 -6
  2974. package/navigation/Link/__stories__/NoUnderline.js.map +0 -7
  2975. package/navigation/Link/__stories__/OpensInNewTab/index.js +0 -9
  2976. package/navigation/Link/__stories__/OpensInNewTab/package.json +0 -6
  2977. package/navigation/Link/__stories__/OpensInNewTab.js.map +0 -7
  2978. package/navigation/Link/__stories__/WithProvider/index.js +0 -12
  2979. package/navigation/Link/__stories__/WithProvider/package.json +0 -6
  2980. package/navigation/Link/__stories__/WithProvider.js.map +0 -7
  2981. package/navigation/NavList/NavList.stories/index.js +0 -30
  2982. package/navigation/NavList/NavList.stories/package.json +0 -6
  2983. package/navigation/NavList/NavList.stories.js.map +0 -7
  2984. package/navigation/NavList/__stories__/Default/index.js +0 -52
  2985. package/navigation/NavList/__stories__/Default/package.json +0 -6
  2986. package/navigation/NavList/__stories__/Default.js.map +0 -7
  2987. package/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +0 -102
  2988. package/navigation/NavList/__stories__/HorizontalWithDrawer/package.json +0 -6
  2989. package/navigation/NavList/__stories__/HorizontalWithDrawer.js.map +0 -7
  2990. package/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +0 -94
  2991. package/navigation/NavList/__stories__/HorizontalWithoutDrawer/package.json +0 -6
  2992. package/navigation/NavList/__stories__/HorizontalWithoutDrawer.js.map +0 -7
  2993. package/navigation/NavList/__stories__/NavListWithoutNav/index.js +0 -34
  2994. package/navigation/NavList/__stories__/NavListWithoutNav/package.json +0 -6
  2995. package/navigation/NavList/__stories__/NavListWithoutNav.js.map +0 -7
  2996. package/navigation/NavList/__stories__/UsingHeaderButton/index.js +0 -53
  2997. package/navigation/NavList/__stories__/UsingHeaderButton/package.json +0 -6
  2998. package/navigation/NavList/__stories__/UsingHeaderButton.js.map +0 -7
  2999. package/navigation/NavList/__stories__/UsingNavListAuto/index.js +0 -64
  3000. package/navigation/NavList/__stories__/UsingNavListAuto/package.json +0 -6
  3001. package/navigation/NavList/__stories__/UsingNavListAuto.js.map +0 -7
  3002. package/navigation/NavList/__stories__/Vertical/index.js +0 -45
  3003. package/navigation/NavList/__stories__/Vertical/package.json +0 -6
  3004. package/navigation/NavList/__stories__/Vertical.js.map +0 -7
  3005. package/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +0 -96
  3006. package/navigation/NavList/__stories__/VerticalWithoutDrawer/package.json +0 -6
  3007. package/navigation/NavList/__stories__/VerticalWithoutDrawer.js.map +0 -7
  3008. package/navigation/NavList/__stories__/WithBadge/index.js +0 -54
  3009. package/navigation/NavList/__stories__/WithBadge/package.json +0 -6
  3010. package/navigation/NavList/__stories__/WithBadge.js.map +0 -7
  3011. package/navigation/Pagination/Pagination.stories/index.js +0 -26
  3012. package/navigation/Pagination/Pagination.stories/package.json +0 -6
  3013. package/navigation/Pagination/Pagination.stories.js.map +0 -7
  3014. package/navigation/Pagination/__stories__/Auto/index.js +0 -46
  3015. package/navigation/Pagination/__stories__/Auto/package.json +0 -6
  3016. package/navigation/Pagination/__stories__/Auto.js.map +0 -7
  3017. package/navigation/Pagination/__stories__/Default/index.js +0 -18
  3018. package/navigation/Pagination/__stories__/Default/package.json +0 -6
  3019. package/navigation/Pagination/__stories__/Default.js.map +0 -7
  3020. package/navigation/Pagination/__stories__/PaginationSmall/index.js +0 -18
  3021. package/navigation/Pagination/__stories__/PaginationSmall/package.json +0 -6
  3022. package/navigation/Pagination/__stories__/PaginationSmall.js.map +0 -7
  3023. package/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +0 -22
  3024. package/navigation/Pagination/__stories__/PaginationWithSmallFont/package.json +0 -6
  3025. package/navigation/Pagination/__stories__/PaginationWithSmallFont.js.map +0 -7
  3026. package/navigation/Pagination/__stories__/WithHook/index.js +0 -56
  3027. package/navigation/Pagination/__stories__/WithHook/package.json +0 -6
  3028. package/navigation/Pagination/__stories__/WithHook.js.map +0 -7
  3029. package/navigation/Pagination/__stories__/WithInactiveValues/index.js +0 -18
  3030. package/navigation/Pagination/__stories__/WithInactiveValues/package.json +0 -6
  3031. package/navigation/Pagination/__stories__/WithInactiveValues.js.map +0 -7
  3032. package/navigation/Pagination/__stories__/WithResultsPerPage/index.js +0 -22
  3033. package/navigation/Pagination/__stories__/WithResultsPerPage/package.json +0 -6
  3034. package/navigation/Pagination/__stories__/WithResultsPerPage.js.map +0 -7
  3035. package/navigation/SkipLink/SkipLink.stories/index.js +0 -13
  3036. package/navigation/SkipLink/SkipLink.stories/package.json +0 -6
  3037. package/navigation/SkipLink/SkipLink.stories.js.map +0 -7
  3038. package/navigation/SkipLink/__stories__/Default/index.js +0 -10
  3039. package/navigation/SkipLink/__stories__/Default/package.json +0 -6
  3040. package/navigation/SkipLink/__stories__/Default.js.map +0 -7
  3041. package/navigation/Tabs/Tabs.stories/index.js +0 -21
  3042. package/navigation/Tabs/Tabs.stories/package.json +0 -6
  3043. package/navigation/Tabs/Tabs.stories.js.map +0 -7
  3044. package/navigation/Tabs/__stories__/Auto/index.js +0 -29
  3045. package/navigation/Tabs/__stories__/Auto/package.json +0 -6
  3046. package/navigation/Tabs/__stories__/Auto.js.map +0 -7
  3047. package/navigation/Tabs/__stories__/Default/index.js +0 -32
  3048. package/navigation/Tabs/__stories__/Default/package.json +0 -6
  3049. package/navigation/Tabs/__stories__/Default.js.map +0 -7
  3050. package/navigation/Tabs/__stories__/Dense/index.js +0 -31
  3051. package/navigation/Tabs/__stories__/Dense/package.json +0 -6
  3052. package/navigation/Tabs/__stories__/Dense.js.map +0 -7
  3053. package/navigation/Tabs/__stories__/UsingAccordion/index.js +0 -52
  3054. package/navigation/Tabs/__stories__/UsingAccordion/package.json +0 -6
  3055. package/navigation/Tabs/__stories__/UsingAccordion.js.map +0 -7
  3056. package/registry.d.ts +0 -319
  3057. package/registry.js.map +0 -7
  3058. package/src/api/APIErrors.tsx +0 -46
  3059. package/src/api/APIProvider.tsx +0 -31
  3060. package/src/api/fetchAPI.ts +0 -43
  3061. package/src/api/index.spec.tsx +0 -417
  3062. package/src/api/index.tsx +0 -9
  3063. package/src/api/introduction.md +0 -6
  3064. package/src/api/useResource.tsx +0 -96
  3065. package/src/api/useResourceAction.tsx +0 -80
  3066. package/src/api/useResourceQuery.tsx +0 -178
  3067. package/src/api/utils.tsx +0 -162
  3068. package/src/app/Footer/Footer.stories.js +0 -18
  3069. package/src/app/Footer/index.mdx +0 -63
  3070. package/src/app/Header/Header.stories.js +0 -20
  3071. package/src/app/Header/index.mdx +0 -49
  3072. package/src/app/Masthead/index.mdx +0 -23
  3073. package/src/app/Modal/Modal.tsx +0 -56
  3074. package/src/app/Modal/index.mdx +0 -40
  3075. package/src/app/NotFound/index.mdx +0 -18
  3076. package/src/app/Panel/index.mdx +0 -21
  3077. package/src/app/PhaseBannerHeader/index.mdx +0 -20
  3078. package/src/app/QrCodeViewer/index.mdx +0 -30
  3079. package/src/content/Accordion/Accordion.stories.js +0 -14
  3080. package/src/content/Accordion/index.mdx +0 -45
  3081. package/src/content/Blockquote/index.mdx +0 -24
  3082. package/src/content/Card/Card.stories.js +0 -21
  3083. package/src/content/Card/index.mdx +0 -103
  3084. package/src/content/Chip/index.mdx +0 -53
  3085. package/src/content/Details/index.mdx +0 -27
  3086. package/src/content/List/List.stories.js +0 -15
  3087. package/src/content/List/index.mdx +0 -40
  3088. package/src/content/StepNav/index.mdx +0 -53
  3089. package/src/content/SummaryList/index.mdx +0 -51
  3090. package/src/content/Table/Table.stories.js +0 -27
  3091. package/src/content/Table/__stories__/Densed.tsx +0 -129
  3092. package/src/content/Table/index.mdx +0 -111
  3093. package/src/content/TaskList/index.mdx +0 -30
  3094. package/src/content/Timeline/index.mdx +0 -33
  3095. package/src/feedback/CopyToClipboard/CopyToClipboard.stories.js +0 -9
  3096. package/src/feedback/CopyToClipboard/index.mdx +0 -28
  3097. package/src/feedback/ErrorSummary/ErrorSummary.stories.js +0 -15
  3098. package/src/feedback/ErrorSummary/index.mdx +0 -54
  3099. package/src/feedback/NotificationBanner/index.mdx +0 -47
  3100. package/src/feedback/PhaseBanner/PhaseBanner.stories.js +0 -11
  3101. package/src/feedback/PhaseBanner/index.mdx +0 -37
  3102. package/src/feedback/WarningText/index.mdx +0 -25
  3103. package/src/form/AutoComplete/AutoComplete.stories.js +0 -16
  3104. package/src/form/AutoComplete/index.mdx +0 -70
  3105. package/src/form/Button/index.mdx +0 -111
  3106. package/src/form/Checkbox/Checkbox.stories.js +0 -19
  3107. package/src/form/Checkbox/index.mdx +0 -83
  3108. package/src/form/DateInputContainer/DateInputContainer.stories.js +0 -14
  3109. package/src/form/DateInputContainer/index.mdx +0 -46
  3110. package/src/form/ErrorMessage/ErrorMessage.stories.js +0 -12
  3111. package/src/form/ErrorMessage/index.mdx +0 -23
  3112. package/src/form/FileUpload/index.mdx +0 -30
  3113. package/src/form/RadioContainer/RadioContainer.stories.js +0 -19
  3114. package/src/form/RadioContainer/index.mdx +0 -84
  3115. package/src/form/SelectContainer/SelectContainer.stories.js +0 -13
  3116. package/src/form/SelectContainer/index.mdx +0 -50
  3117. package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.js +0 -13
  3118. package/src/form/SingleCharacterInputs/index.mdx +0 -30
  3119. package/src/form/TextArea/TextArea.stories.js +0 -17
  3120. package/src/form/TextArea/index.mdx +0 -74
  3121. package/src/form/TextInput/TextInput.stories.js +0 -19
  3122. package/src/form/TextInput/index.mdx +0 -90
  3123. package/src/govgr/Footer/index.mdx +0 -101
  3124. package/src/layouts/Basic/Bottom/index.mdx +0 -22
  3125. package/src/layouts/Basic/Container/index.mdx +0 -23
  3126. package/src/layouts/Basic/Main/index.mdx +0 -21
  3127. package/src/layouts/Basic/Masthead/index.tsx +0 -5
  3128. package/src/layouts/Basic/Top/index.mdx +0 -23
  3129. package/src/layouts/Basic/index.mdx +0 -42
  3130. package/src/layouts/Grid/index.mdx +0 -39
  3131. package/src/navigation/BackLink/index.mdx +0 -23
  3132. package/src/navigation/Breadcrumbs/index.mdx +0 -32
  3133. package/src/navigation/Drawer/index.mdx +0 -14
  3134. package/src/navigation/Dropdown/index.mdx +0 -40
  3135. package/src/navigation/Link/index.mdx +0 -50
  3136. package/src/navigation/NavList/index.mdx +0 -60
  3137. package/src/navigation/Pagination/index.mdx +0 -48
  3138. package/src/navigation/Tabs/index.mdx +0 -31
  3139. package/src/test-utils/delay.ts +0 -9
  3140. package/src/typography/Heading/index.mdx +0 -18
  3141. package/src/typography/HeadingCaption/index.mdx +0 -20
  3142. package/src/typography/Hint/index.mdx +0 -26
  3143. package/src/typography/NormalText/index.mdx +0 -44
  3144. package/src/typography/Paragraph/index.mdx +0 -32
  3145. package/src/typography/Typography/index.mdx +0 -12
  3146. package/src/utils/Base/index.mdx +0 -13
  3147. package/src/utils/SvgIcon/index.tsx +0 -5
  3148. package/src/utils/VisuallyHidden/index.mdx +0 -24
  3149. package/test-utils/delay/index.js +0 -12
  3150. package/test-utils/delay/package.json +0 -6
  3151. package/test-utils/delay.d.ts +0 -2
  3152. package/test-utils/delay.js.map +0 -7
  3153. package/typography/CodeBlock/CodeBlock.stories/index.js +0 -18
  3154. package/typography/CodeBlock/CodeBlock.stories/package.json +0 -6
  3155. package/typography/CodeBlock/CodeBlock.stories.js.map +0 -7
  3156. package/typography/CodeBlock/__stories__/Default/index.js +0 -24
  3157. package/typography/CodeBlock/__stories__/Default/package.json +0 -6
  3158. package/typography/CodeBlock/__stories__/Default.js.map +0 -7
  3159. package/typography/CodeBlock/__stories__/Highlighted/index.js +0 -24
  3160. package/typography/CodeBlock/__stories__/Highlighted/package.json +0 -6
  3161. package/typography/CodeBlock/__stories__/Highlighted.js.map +0 -7
  3162. package/typography/CodeBlock/__stories__/WithCopyToClipboard/index.js +0 -24
  3163. package/typography/CodeBlock/__stories__/WithCopyToClipboard/package.json +0 -6
  3164. package/typography/CodeBlock/__stories__/WithCopyToClipboard.js.map +0 -7
  3165. package/typography/CodeBlock/__stories__/WithPhaseBanner/index.js +0 -33
  3166. package/typography/CodeBlock/__stories__/WithPhaseBanner/package.json +0 -6
  3167. package/typography/CodeBlock/__stories__/WithPhaseBanner.js.map +0 -7
  3168. package/typography/Heading/Heading.stories/index.js +0 -12
  3169. package/typography/Heading/Heading.stories/package.json +0 -6
  3170. package/typography/Heading/Heading.stories.js.map +0 -7
  3171. package/typography/Heading/__stories__/Default/index.js +0 -9
  3172. package/typography/Heading/__stories__/Default/package.json +0 -6
  3173. package/typography/Heading/__stories__/Default.js.map +0 -7
  3174. package/typography/HeadingCaption/HeadingCaption.stories/index.js +0 -14
  3175. package/typography/HeadingCaption/HeadingCaption.stories/package.json +0 -6
  3176. package/typography/HeadingCaption/HeadingCaption.stories.js.map +0 -7
  3177. package/typography/HeadingCaption/__stories__/Default/index.js +0 -10
  3178. package/typography/HeadingCaption/__stories__/Default/package.json +0 -6
  3179. package/typography/HeadingCaption/__stories__/Default.js.map +0 -7
  3180. package/typography/HeadingCaption/__stories__/NestedToTitle/index.js +0 -10
  3181. package/typography/HeadingCaption/__stories__/NestedToTitle/package.json +0 -6
  3182. package/typography/HeadingCaption/__stories__/NestedToTitle.js.map +0 -7
  3183. package/typography/Hint/Hint.stories/index.js +0 -14
  3184. package/typography/Hint/Hint.stories/package.json +0 -6
  3185. package/typography/Hint/Hint.stories.js.map +0 -7
  3186. package/typography/Hint/__stories__/Default/index.js +0 -9
  3187. package/typography/Hint/__stories__/Default/package.json +0 -6
  3188. package/typography/Hint/__stories__/Default.js.map +0 -7
  3189. package/typography/Hint/__stories__/FontSizes/index.js +0 -9
  3190. package/typography/Hint/__stories__/FontSizes/package.json +0 -6
  3191. package/typography/Hint/__stories__/FontSizes.js.map +0 -7
  3192. package/typography/NormalText/NormalText.stories/index.js +0 -18
  3193. package/typography/NormalText/NormalText.stories/package.json +0 -6
  3194. package/typography/NormalText/NormalText.stories.js.map +0 -7
  3195. package/typography/NormalText/__stories__/Default/index.js +0 -9
  3196. package/typography/NormalText/__stories__/Default/package.json +0 -6
  3197. package/typography/NormalText/__stories__/Default.js.map +0 -7
  3198. package/typography/NormalText/__stories__/FontSizes/index.js +0 -10
  3199. package/typography/NormalText/__stories__/FontSizes/package.json +0 -6
  3200. package/typography/NormalText/__stories__/FontSizes.js.map +0 -7
  3201. package/typography/NormalText/__stories__/FontWeight/index.js +0 -10
  3202. package/typography/NormalText/__stories__/FontWeight/package.json +0 -6
  3203. package/typography/NormalText/__stories__/FontWeight.js.map +0 -7
  3204. package/typography/NormalText/__stories__/Variants/index.js +0 -10
  3205. package/typography/NormalText/__stories__/Variants/package.json +0 -6
  3206. package/typography/NormalText/__stories__/Variants.js.map +0 -7
  3207. package/typography/Paragraph/Paragraph.stories/index.js +0 -20
  3208. package/typography/Paragraph/Paragraph.stories/package.json +0 -6
  3209. package/typography/Paragraph/Paragraph.stories.js.map +0 -7
  3210. package/typography/Paragraph/__stories__/Default/index.js +0 -9
  3211. package/typography/Paragraph/__stories__/Default/package.json +0 -6
  3212. package/typography/Paragraph/__stories__/Default.js.map +0 -7
  3213. package/typography/Paragraph/__stories__/FontSizes/index.js +0 -9
  3214. package/typography/Paragraph/__stories__/FontSizes/package.json +0 -6
  3215. package/typography/Paragraph/__stories__/FontSizes.js.map +0 -7
  3216. package/typography/Paragraph/__stories__/FontWeight/index.js +0 -9
  3217. package/typography/Paragraph/__stories__/FontWeight/package.json +0 -6
  3218. package/typography/Paragraph/__stories__/FontWeight.js.map +0 -7
  3219. package/typography/Paragraph/__stories__/LeadVariant/index.js +0 -9
  3220. package/typography/Paragraph/__stories__/LeadVariant/package.json +0 -6
  3221. package/typography/Paragraph/__stories__/LeadVariant.js.map +0 -7
  3222. package/typography/Paragraph/__stories__/SmallVariant/index.js +0 -9
  3223. package/typography/Paragraph/__stories__/SmallVariant/package.json +0 -6
  3224. package/typography/Paragraph/__stories__/SmallVariant.js.map +0 -7
  3225. package/utils/SvgIcon/index.d.ts +0 -4
  3226. package/utils/SvgIcon/index.js +0 -8
  3227. package/utils/SvgIcon/index.js.map +0 -7
  3228. package/utils/SvgIcon/package.json +0 -6
  3229. package/utils/VisuallyHidden/VisuallyHidden.stories/index.js +0 -12
  3230. package/utils/VisuallyHidden/VisuallyHidden.stories/package.json +0 -6
  3231. package/utils/VisuallyHidden/VisuallyHidden.stories.js.map +0 -7
  3232. package/utils/VisuallyHidden/__stories__/Default/index.js +0 -12
  3233. package/utils/VisuallyHidden/__stories__/Default/package.json +0 -6
  3234. package/utils/VisuallyHidden/__stories__/Default.js.map +0 -7
  3235. /package/app/Modal/{Modal.d.ts → index.web.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/PhaseBannerHeader/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\nimport HeaderContent from '@digigov/react-core/HeaderContent';\nimport PhaseBanner from '@digigov/react-core/PhaseBanner';\nimport PhaseBannerHeaderContainer from '@digigov/react-core/PhaseBannerHeaderContainer';\nimport PhaseBannerTag from '@digigov/react-core/PhaseBannerTag';\nimport PhaseBannerText from '@digigov/react-core/PhaseBannerText';\n\ntype DivElementAttributes = JSX.IntrinsicElements['div'];\nexport interface PhaseBannerHeaderProps extends DivElementAttributes {\n tag?: string;\n text?: string;\n}\n\nexport const PhaseBannerHeader = React.forwardRef<\n HTMLDivElement,\n PhaseBannerHeaderProps\n>(function PhaseBannerHeader({ text, tag, ...props }, ref) {\n return (\n <PhaseBannerHeaderContainer {...props} ref={ref}>\n <HeaderContent>\n <PhaseBanner>\n <PhaseBannerTag>{tag}</PhaseBannerTag>\n <PhaseBannerText>{text}</PhaseBannerText>\n </PhaseBanner>\n </HeaderContent>\n </PhaseBannerHeaderContainer>\n );\n});\n\nexport default PhaseBannerHeader;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,2BAA0B;AAC1B,yBAAwB;AACxB,wCAAuC;AACvC,4BAA2B;AAC3B,6BAA4B;AAQrB,MAAM,oBAAoB,aAAAA,QAAM,WAGrC,SAASC,mBAAkB,EAAE,MAAM,KAAK,GAAG,MAAM,GAAG,KAAK;AACzD,SACE,6BAAAD,QAAA,cAAC,kCAAAE,SAAA,EAA4B,GAAG,OAAO,OACrC,6BAAAF,QAAA,cAAC,qBAAAG,SAAA,MACC,6BAAAH,QAAA,cAAC,mBAAAI,SAAA,MACC,6BAAAJ,QAAA,cAAC,sBAAAK,SAAA,MAAgB,GAAI,GACrB,6BAAAL,QAAA,cAAC,uBAAAM,SAAA,MAAiB,IAAK,CACzB,CACF,CACF;AAEJ,CAAC;AAED,IAAO,4BAAQ;",
4
+ "sourcesContent": ["import React, { type JSX } from 'react';\nimport HeaderContent from '@digigov/react-core/HeaderContent';\nimport PhaseBanner from '@digigov/react-core/PhaseBanner';\nimport PhaseBannerHeaderContainer from '@digigov/react-core/PhaseBannerHeaderContainer';\nimport PhaseBannerTag from '@digigov/react-core/PhaseBannerTag';\nimport PhaseBannerText from '@digigov/react-core/PhaseBannerText';\n\ntype DivElementAttributes = JSX.IntrinsicElements['div'];\nexport interface PhaseBannerHeaderProps extends DivElementAttributes {\n tag?: string;\n text?: string;\n}\n\nexport const PhaseBannerHeader = React.forwardRef<\n HTMLDivElement,\n PhaseBannerHeaderProps\n>(function PhaseBannerHeader({ text, tag, ...props }, ref) {\n return (\n <PhaseBannerHeaderContainer {...props} ref={ref}>\n <HeaderContent>\n <PhaseBanner>\n <PhaseBannerTag>{tag}</PhaseBannerTag>\n <PhaseBannerText>{text}</PhaseBannerText>\n </PhaseBanner>\n </HeaderContent>\n </PhaseBannerHeaderContainer>\n );\n});\n\nexport default PhaseBannerHeader;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgC;AAChC,2BAA0B;AAC1B,yBAAwB;AACxB,wCAAuC;AACvC,4BAA2B;AAC3B,6BAA4B;AAQrB,MAAM,oBAAoB,aAAAA,QAAM,WAGrC,SAASC,mBAAkB,EAAE,MAAM,KAAK,GAAG,MAAM,GAAG,KAAK;AACzD,SACE,6BAAAD,QAAA,cAAC,kCAAAE,SAAA,EAA4B,GAAG,OAAO,OACrC,6BAAAF,QAAA,cAAC,qBAAAG,SAAA,MACC,6BAAAH,QAAA,cAAC,mBAAAI,SAAA,MACC,6BAAAJ,QAAA,cAAC,sBAAAK,SAAA,MAAgB,GAAI,GACrB,6BAAAL,QAAA,cAAC,uBAAAM,SAAA,MAAiB,IAAK,CACzB,CACF,CACF;AAEJ,CAAC;AAED,IAAO,4BAAQ;",
6
6
  "names": ["React", "PhaseBannerHeader", "PhaseBannerHeaderContainer", "HeaderContent", "PhaseBanner", "PhaseBannerTag", "PhaseBannerText"]
7
7
  }
@@ -58,7 +58,7 @@ In order to be safe, you can:
58
58
  if (dataType === "url") {
59
59
  try {
60
60
  new URL(data);
61
- } catch (e) {
61
+ } catch {
62
62
  return onError(
63
63
  new Error(
64
64
  "@digigov-ui XSS Validation failed: qr code payload should follow the pattern `https://dilosi.services.gov.gr/show/:reference_code`"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/QrCodeScanner/index.tsx"],
4
- "sourcesContent": ["import React from 'react';\n\nconst QrReader = React.lazy(() => import('@uides/react-qr-reader'));\n\nexport interface QrCodeScannerProps {\n style?: React.CSSProperties;\n dataType?: 'url' | 'text';\n legacyMode?: boolean;\n validate?: (...args) => boolean;\n onScan: (...args) => void;\n onError: (err: any, data: any) => void;\n onLoad?: (...args) => void;\n onImageLoad?: (...args) => void;\n delay?: number;\n facingMode?: 'user' | 'environment';\n showViewFinder?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\n/**\n * QRCodeScanner assumes that the data provided inside the QR code image,\n * are a HTTP link, thus it uses the `encodeURI` function to escape\n * all scanned data that will be forwarded to the `onScan` function\n *\n * When a QR code is scanned, before we run the `onScan` callback function,\n * we do the following:\n *\n * 1. Run a validator function provided in the props of QrCodeScanner component\n * that receives the *raw* scanned data and returns a boolean type. (eg. check\n * if it's a gov.gr subdomain, or that it matches the current domain)\n * 2. If the validator returns `true`, then construct a URL object from the data provided\n * and check if the protocol is `https` and the `origin` is the same as the origin of this page\n * 2. Automatically fallback to the `onError` callback function, if the validation or url check fail\n * 3. Finally, run `onScan` callback function with the scanned data encoded as a URI.\n *\n */\n\nexport const QrCodeScanner: React.FC<QrCodeScannerProps> = ({\n children,\n validate,\n onScan,\n onError,\n dataType = 'url',\n legacyMode = false,\n ...props\n}) => {\n if (dataType === 'text') {\n console.warn(\n `Security Warning! The \\`text\\` dataType could be used to inject XSS code to your application database or user DOM.\n\nIn order to be safe, you can:\n1. Use a sanitizer function inside the \\`onScan\\` callback function that makes sure the data is not posing a threat to your app\n2. Contact @digigov-ui for any further details and feature requests.\n3. Read more about xss https://owasp.org/www-community/attacks/xss/\n`\n );\n }\n const handleOnScan = (data) => {\n if (data) {\n if (dataType === 'url') {\n try {\n new URL(data);\n } catch (e) {\n return onError(\n new Error(\n '@digigov-ui XSS Validation failed: qr code payload should follow the pattern `https://dilosi.services.gov.gr/show/:reference_code`'\n ),\n data\n );\n }\n }\n // run a validator function provided by the application code\n if (validate && !validate(data)) {\n return onError(\n new Error('Custom QR Code payload validation failed'),\n data\n );\n }\n // proceed with application defined callback function\n onScan(data);\n }\n };\n return (\n <>\n <QrReader\n delay={100}\n onError={onError}\n onScan={handleOnScan}\n legacyMode={legacyMode}\n {...props}\n />\n {children}\n </>\n );\n};\n\nexport default QrCodeScanner;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAElB,MAAM,WAAW,aAAAA,QAAM,KAAK,MAAM,OAAO,wBAAwB,CAAC;AAoC3D,MAAM,gBAA8C,CAAC;AAAA,EAC1D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX,aAAa;AAAA,EACb,GAAG;AACL,MAAM;AACJ,MAAI,aAAa,QAAQ;AACvB,YAAQ;AAAA,MACN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOF;AAAA,EACF;AACA,QAAM,eAAe,CAAC,SAAS;AAC7B,QAAI,MAAM;AACR,UAAI,aAAa,OAAO;AACtB,YAAI;AACF,cAAI,IAAI,IAAI;AAAA,QACd,SAAS,GAAG;AACV,iBAAO;AAAA,YACL,IAAI;AAAA,cACF;AAAA,YACF;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAEA,UAAI,YAAY,CAAC,SAAS,IAAI,GAAG;AAC/B,eAAO;AAAA,UACL,IAAI,MAAM,0CAA0C;AAAA,UACpD;AAAA,QACF;AAAA,MACF;AAEA,aAAO,IAAI;AAAA,IACb;AAAA,EACF;AACA,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACC,GAAG;AAAA;AAAA,EACN,GACC,QACH;AAEJ;AAEA,IAAO,wBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\n\n// @ts-ignore\nconst QrReader = React.lazy(() => import('@uides/react-qr-reader'));\n\nexport interface QrCodeScannerProps {\n style?: React.CSSProperties;\n dataType?: 'url' | 'text';\n legacyMode?: boolean;\n validate?: (...args) => boolean;\n onScan: (...args) => void;\n onError: (err: any, data: any) => void;\n onLoad?: (...args) => void;\n onImageLoad?: (...args) => void;\n delay?: number;\n facingMode?: 'user' | 'environment';\n showViewFinder?: boolean;\n className?: string;\n children?: React.ReactNode;\n}\n\n/**\n * QRCodeScanner assumes that the data provided inside the QR code image,\n * are a HTTP link, thus it uses the `encodeURI` function to escape\n * all scanned data that will be forwarded to the `onScan` function\n *\n * When a QR code is scanned, before we run the `onScan` callback function,\n * we do the following:\n *\n * 1. Run a validator function provided in the props of QrCodeScanner component\n * that receives the *raw* scanned data and returns a boolean type. (eg. check\n * if it's a gov.gr subdomain, or that it matches the current domain)\n * 2. If the validator returns `true`, then construct a URL object from the data provided\n * and check if the protocol is `https` and the `origin` is the same as the origin of this page\n * 2. Automatically fallback to the `onError` callback function, if the validation or url check fail\n * 3. Finally, run `onScan` callback function with the scanned data encoded as a URI.\n *\n */\n\nexport const QrCodeScanner: React.FC<QrCodeScannerProps> = ({\n children,\n validate,\n onScan,\n onError,\n dataType = 'url',\n legacyMode = false,\n ...props\n}) => {\n if (dataType === 'text') {\n console.warn(\n `Security Warning! The \\`text\\` dataType could be used to inject XSS code to your application database or user DOM.\n\nIn order to be safe, you can:\n1. Use a sanitizer function inside the \\`onScan\\` callback function that makes sure the data is not posing a threat to your app\n2. Contact @digigov-ui for any further details and feature requests.\n3. Read more about xss https://owasp.org/www-community/attacks/xss/\n`\n );\n }\n const handleOnScan = (data) => {\n if (data) {\n if (dataType === 'url') {\n try {\n new URL(data);\n } catch {\n return onError(\n new Error(\n '@digigov-ui XSS Validation failed: qr code payload should follow the pattern `https://dilosi.services.gov.gr/show/:reference_code`'\n ),\n data\n );\n }\n }\n // run a validator function provided by the application code\n if (validate && !validate(data)) {\n return onError(\n new Error('Custom QR Code payload validation failed'),\n data\n );\n }\n // proceed with application defined callback function\n onScan(data);\n }\n };\n return (\n <>\n <QrReader\n delay={100}\n onError={onError}\n onScan={handleOnScan}\n legacyMode={legacyMode}\n {...props}\n />\n {children}\n </>\n );\n};\n\nexport default QrCodeScanner;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAGlB,MAAM,WAAW,aAAAA,QAAM,KAAK,MAAM,OAAO,wBAAwB,CAAC;AAoC3D,MAAM,gBAA8C,CAAC;AAAA,EAC1D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX,aAAa;AAAA,EACb,GAAG;AACL,MAAM;AACJ,MAAI,aAAa,QAAQ;AACvB,YAAQ;AAAA,MACN;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOF;AAAA,EACF;AACA,QAAM,eAAe,CAAC,SAAS;AAC7B,QAAI,MAAM;AACR,UAAI,aAAa,OAAO;AACtB,YAAI;AACF,cAAI,IAAI,IAAI;AAAA,QACd,QAAQ;AACN,iBAAO;AAAA,YACL,IAAI;AAAA,cACF;AAAA,YACF;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAEA,UAAI,YAAY,CAAC,SAAS,IAAI,GAAG;AAC/B,eAAO;AAAA,UACL,IAAI,MAAM,0CAA0C;AAAA,UACpD;AAAA,QACF;AAAA,MACF;AAEA,aAAO,IAAI;AAAA,IACb;AAAA,EACF;AACA,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACC,GAAG;AAAA;AAAA,EACN,GACC,QACH;AAEJ;AAEA,IAAO,wBAAQ;",
6
6
  "names": ["React"]
7
7
  }
@@ -42,7 +42,7 @@ const DEFAULT_INCLUDEMARGIN = false;
42
42
  const SUPPORTS_PATH2D = function() {
43
43
  try {
44
44
  new Path2D().addPath(new Path2D());
45
- } catch (e) {
45
+ } catch {
46
46
  return false;
47
47
  }
48
48
  return true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/QrCodeViewer/index.tsx"],
4
- "sourcesContent": ["import React, { useRef, useEffect, useState } from 'react';\nimport qrcodegen from '@digigov/ui/app/QrCodeViewer/qrcodegen';\nimport { QRPropsCanvas } from '@digigov/ui/app/QrCodeViewer/types';\nimport {\n generatePath,\n excavateModules,\n getImageSettings,\n MARGIN_SIZE,\n} from '@digigov/ui/app/QrCodeViewer/utils';\n\nconst DEFAULT_SIZE = 128;\nconst DEFAULT_LEVEL = 'L';\nconst DEFAULT_BGCOLOR = '#FFFFFF';\nconst DEFAULT_FGCOLOR = '#000000';\nconst DEFAULT_INCLUDEMARGIN = false;\n\nconst SUPPORTS_PATH2D = (function () {\n try {\n new Path2D().addPath(new Path2D());\n } catch (e) {\n return false;\n }\n return true;\n})();\nconst ERROR_LEVEL_MAP: { [index: string]: qrcodegen.QrCode.Ecc } = {\n L: qrcodegen.QrCode.Ecc.LOW,\n M: qrcodegen.QrCode.Ecc.MEDIUM,\n Q: qrcodegen.QrCode.Ecc.QUARTILE,\n H: qrcodegen.QrCode.Ecc.HIGH,\n};\nconst QrCodeViewerCanvas = React.forwardRef(function QrCodeViewerCanvas(\n props: QRPropsCanvas,\n ref: any\n) {\n const {\n value,\n size = DEFAULT_SIZE,\n level = DEFAULT_LEVEL,\n bgColor = DEFAULT_BGCOLOR,\n fgColor = DEFAULT_FGCOLOR,\n includeMargin = DEFAULT_INCLUDEMARGIN,\n style,\n imageSettings,\n ...otherProps\n } = props;\n const imgSrc = imageSettings?.src;\n const _canvasRef = useRef<HTMLCanvasElement>(null);\n const _canvas = ref || _canvasRef;\n const _image = useRef<HTMLImageElement>(null);\n // We're just using this state to trigger rerenders when images load. We\n // Don't actually read the value anywhere. A smarter use of useEffect would\n // depend on this value.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [isImgLoaded, setIsImageLoaded] = useState(false);\n\n useEffect(() => {\n // Always update the canvas. It's cheap enough and we want to be correct\n // with the current state.\n if (_canvas.current !== null) {\n const canvas = _canvas.current;\n\n const ctx = canvas.getContext('2d');\n if (!ctx) {\n return;\n }\n\n let cells = qrcodegen.QrCode.encodeText(\n value,\n ERROR_LEVEL_MAP[level]\n ).getModules();\n\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const calculatedImageSettings = getImageSettings(\n cells,\n size,\n includeMargin,\n imageSettings\n );\n\n const image = _image.current;\n const haveImageToRender =\n calculatedImageSettings != null &&\n image !== null &&\n image.complete &&\n image.naturalHeight !== 0 &&\n image.naturalWidth !== 0;\n\n if (haveImageToRender && calculatedImageSettings) {\n if (calculatedImageSettings.excavation != null) {\n cells = excavateModules(cells, calculatedImageSettings.excavation);\n }\n }\n\n // We're going to scale this so that the number of drawable units\n // matches the number of cells. This avoids rounding issues, but does\n // result in some potentially unwanted single pixel issues between\n // blocks, only in environments that don't support Path2D.\n const pixelRatio = window.devicePixelRatio || 1;\n canvas.height = canvas.width = size * pixelRatio;\n const scale = (size / numCells) * pixelRatio;\n ctx.scale(scale, scale);\n\n // Draw solid background, only paint dark modules.\n ctx.fillStyle = bgColor;\n ctx.fillRect(0, 0, numCells, numCells);\n\n ctx.fillStyle = fgColor;\n if (SUPPORTS_PATH2D) {\n // $FlowFixMe: Path2D c'tor doesn't support args yet.\n ctx.fill(new Path2D(generatePath(cells, margin)));\n } else {\n cells.forEach(function (row, rdx) {\n row.forEach(function (cell, cdx) {\n if (cell) {\n ctx.fillRect(cdx + margin, rdx + margin, 1, 1);\n }\n });\n });\n }\n\n if (haveImageToRender && calculatedImageSettings) {\n if (image instanceof HTMLImageElement) {\n ctx.drawImage(\n image,\n calculatedImageSettings.x + margin,\n calculatedImageSettings.y + margin,\n calculatedImageSettings.w,\n calculatedImageSettings.h\n );\n }\n }\n }\n });\n\n // Ensure we mark image loaded as false here so we trigger updating the\n // canvas in our other effect.\n useEffect(() => {\n setIsImageLoaded(false);\n }, [imgSrc, isImgLoaded]);\n\n const canvasStyle = { height: size, width: size, ...style };\n let img;\n if (imgSrc != null) {\n img = (\n <img\n src={imgSrc}\n key={imgSrc}\n style={{ display: 'none' }}\n onLoad={() => {\n setIsImageLoaded(true);\n }}\n ref={_image}\n />\n );\n }\n return (\n <>\n <canvas\n style={canvasStyle}\n height={size}\n width={size}\n ref={_canvas}\n {...otherProps}\n />\n {img}\n </>\n );\n});\n\nexport interface QrCodeViewerProps extends QRPropsCanvas {}\n\nexport const QrCodeViewer = React.forwardRef(function QrCodeViewer(\n props: QrCodeViewerProps,\n ref\n) {\n return <QrCodeViewerCanvas {...props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;AAAA,EACxB,GAAG,CAAC,QAAQ,WAAW,CAAC;AAExB,QAAM,cAAc,EAAE,QAAQ,MAAM,OAAO,MAAM,GAAG,MAAM;AAC1D,MAAI;AACJ,MAAI,UAAU,MAAM;AAClB,UACE,6BAAAC,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,KAAK;AAAA,QACL,KAAK;AAAA,QACL,OAAO,EAAE,SAAS,OAAO;AAAA,QACzB,QAAQ,MAAM;AACZ,2BAAiB,IAAI;AAAA,QACvB;AAAA,QACA,KAAK;AAAA;AAAA,IACP;AAAA,EAEJ;AACA,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,KAAK;AAAA,MACJ,GAAG;AAAA;AAAA,EACN,GACC,GACH;AAEJ,CAAC;AAIM,MAAM,eAAe,aAAAA,QAAM,WAAW,SAASE,cACpD,OACA,KACA;AACA,SAAO,6BAAAF,QAAA,cAAC,sBAAoB,GAAG,OAAO,KAAU;AAClD,CAAC;AAED,IAAO,uBAAQ;",
4
+ "sourcesContent": ["import React, { useRef, useEffect, useState } from 'react';\nimport qrcodegen from '@digigov/ui/app/QrCodeViewer/qrcodegen';\nimport { QRPropsCanvas } from '@digigov/ui/app/QrCodeViewer/types';\nimport {\n generatePath,\n excavateModules,\n getImageSettings,\n MARGIN_SIZE,\n} from '@digigov/ui/app/QrCodeViewer/utils';\n\nconst DEFAULT_SIZE = 128;\nconst DEFAULT_LEVEL = 'L';\nconst DEFAULT_BGCOLOR = '#FFFFFF';\nconst DEFAULT_FGCOLOR = '#000000';\nconst DEFAULT_INCLUDEMARGIN = false;\n\nconst SUPPORTS_PATH2D = (function () {\n try {\n new Path2D().addPath(new Path2D());\n } catch {\n return false;\n }\n return true;\n})();\nconst ERROR_LEVEL_MAP: Record<string, qrcodegen.QrCode.Ecc> = {\n L: qrcodegen.QrCode.Ecc.LOW,\n M: qrcodegen.QrCode.Ecc.MEDIUM,\n Q: qrcodegen.QrCode.Ecc.QUARTILE,\n H: qrcodegen.QrCode.Ecc.HIGH,\n};\nconst QrCodeViewerCanvas = React.forwardRef(function QrCodeViewerCanvas(\n props: QRPropsCanvas,\n ref: any\n) {\n const {\n value,\n size = DEFAULT_SIZE,\n level = DEFAULT_LEVEL,\n bgColor = DEFAULT_BGCOLOR,\n fgColor = DEFAULT_FGCOLOR,\n includeMargin = DEFAULT_INCLUDEMARGIN,\n style,\n imageSettings,\n ...otherProps\n } = props;\n const imgSrc = imageSettings?.src;\n const _canvasRef = useRef<HTMLCanvasElement>(null);\n const _canvas = ref || _canvasRef;\n const _image = useRef<HTMLImageElement>(null);\n // We're just using this state to trigger rerenders when images load. We\n // Don't actually read the value anywhere. A smarter use of useEffect would\n // depend on this value.\n\n const [isImgLoaded, setIsImageLoaded] = useState(false);\n\n useEffect(() => {\n // Always update the canvas. It's cheap enough and we want to be correct\n // with the current state.\n if (_canvas.current !== null) {\n const canvas = _canvas.current;\n\n const ctx = canvas.getContext('2d');\n if (!ctx) {\n return;\n }\n\n let cells = qrcodegen.QrCode.encodeText(\n value,\n ERROR_LEVEL_MAP[level]\n ).getModules();\n\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const calculatedImageSettings = getImageSettings(\n cells,\n size,\n includeMargin,\n imageSettings\n );\n\n const image = _image.current;\n const haveImageToRender =\n calculatedImageSettings != null &&\n image !== null &&\n image.complete &&\n image.naturalHeight !== 0 &&\n image.naturalWidth !== 0;\n\n if (haveImageToRender && calculatedImageSettings) {\n if (calculatedImageSettings.excavation != null) {\n cells = excavateModules(cells, calculatedImageSettings.excavation);\n }\n }\n\n // We're going to scale this so that the number of drawable units\n // matches the number of cells. This avoids rounding issues, but does\n // result in some potentially unwanted single pixel issues between\n // blocks, only in environments that don't support Path2D.\n const pixelRatio = window.devicePixelRatio || 1;\n canvas.height = canvas.width = size * pixelRatio;\n const scale = (size / numCells) * pixelRatio;\n ctx.scale(scale, scale);\n\n // Draw solid background, only paint dark modules.\n ctx.fillStyle = bgColor;\n ctx.fillRect(0, 0, numCells, numCells);\n\n ctx.fillStyle = fgColor;\n if (SUPPORTS_PATH2D) {\n // $FlowFixMe: Path2D c'tor doesn't support args yet.\n ctx.fill(new Path2D(generatePath(cells, margin)));\n } else {\n cells.forEach(function (row, rdx) {\n row.forEach(function (cell, cdx) {\n if (cell) {\n ctx.fillRect(cdx + margin, rdx + margin, 1, 1);\n }\n });\n });\n }\n\n if (haveImageToRender && calculatedImageSettings) {\n if (image instanceof HTMLImageElement) {\n ctx.drawImage(\n image,\n calculatedImageSettings.x + margin,\n calculatedImageSettings.y + margin,\n calculatedImageSettings.w,\n calculatedImageSettings.h\n );\n }\n }\n }\n });\n\n // Ensure we mark image loaded as false here so we trigger updating the\n // canvas in our other effect.\n useEffect(() => {\n setIsImageLoaded(false);\n }, [imgSrc, isImgLoaded]);\n\n const canvasStyle = { height: size, width: size, ...style };\n let img;\n if (imgSrc != null) {\n img = (\n <img\n src={imgSrc}\n key={imgSrc}\n style={{ display: 'none' }}\n onLoad={() => {\n setIsImageLoaded(true);\n }}\n ref={_image}\n />\n );\n }\n return (\n <>\n <canvas\n style={canvasStyle}\n height={size}\n width={size}\n ref={_canvas}\n {...otherProps}\n />\n {img}\n </>\n );\n});\n\nexport interface QrCodeViewerProps extends QRPropsCanvas {}\n\nexport const QrCodeViewer = React.forwardRef(function QrCodeViewer(\n props: QrCodeViewerProps,\n ref\n) {\n return <QrCodeViewerCanvas {...props} ref={ref} />;\n});\n\nexport default QrCodeViewer;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAmD;AACnD,uBAAsB;AAEtB,mBAKO;AAEP,MAAM,eAAe;AACrB,MAAM,gBAAgB;AACtB,MAAM,kBAAkB;AACxB,MAAM,kBAAkB;AACxB,MAAM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;AAAA,QACzB,QAAQ,MAAM;AACZ,2BAAiB,IAAI;AAAA,QACvB;AAAA,QACA,KAAK;AAAA;AAAA,IACP;AAAA,EAEJ;AACA,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACE,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,OAAO;AAAA,MACP,KAAK;AAAA,MACJ,GAAG;AAAA;AAAA,EACN,GACC,GACH;AAEJ,CAAC;AAIM,MAAM,eAAe,aAAAA,QAAM,WAAW,SAASE,cACpD,OACA,KACA;AACA,SAAO,6BAAAF,QAAA,cAAC,sBAAoB,GAAG,OAAO,KAAU;AAClD,CAAC;AAED,IAAO,uBAAQ;",
6
6
  "names": ["qrcodegen", "React", "QrCodeViewerCanvas", "QrCodeViewer"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/QrCodeViewer/qrcodegen.ts"],
4
- "sourcesContent": ["/* eslint-disable */\n/**\n * @license QR Code generator library (TypeScript)\n * Copyright (c) Project Nayuki.\n * SPDX-License-Identifier: MIT\n */\n\n'use strict';\n// eslint-disable-next-line @typescript-eslint/no-namespace\nnamespace qrcodegen {\n type bit = number;\n type byte = number;\n type int = number;\n\n /*---- QR Code symbol class ----*/\n\n /*\n * A QR Code symbol, which is a type of two-dimension barcode.\n * Invented by Denso Wave and described in the ISO/IEC 18004 standard.\n * Instances of this class represent an immutable square grid of dark and light cells.\n * The class provides static factory functions to create a QR Code from text or binary data.\n * The class covers the QR Code Model 2 specification, supporting all versions (sizes)\n * from 1 to 40, all 4 error correction levels, and 4 character encoding modes.\n *\n * Ways to create a QR Code object:\n * - High level: Take the payload data and call QrCode.encodeText() or QrCode.encodeBinary().\n * - Mid level: Custom-make the list of segments and call QrCode.encodeSegments().\n * - Low level: Custom-make the array of data codeword bytes (including\n * segment headers and final padding, excluding error correction codewords),\n * supply the appropriate version number, and call the QrCode() constructor.\n * (Note that all ways require supplying the desired error correction level.)\n */\n export class QrCode {\n /*-- Static factory functions (high level) --*/\n\n // Returns a QR Code representing the given Unicode text string at the given error correction level.\n // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer\n // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible\n // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the\n // ecl argument if it can be done without increasing the version.\n public static encodeText(text: string, ecl: QrCode.Ecc): QrCode {\n const segs: Array<QrSegment> = qrcodegen.QrSegment.makeSegments(text);\n return QrCode.encodeSegments(segs, ecl);\n }\n\n // Returns a QR Code representing the given binary data at the given error correction level.\n // This function always encodes using the binary segment mode, not any text mode. The maximum number of\n // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.\n // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.\n public static encodeBinary(\n data: Readonly<Array<byte>>,\n ecl: QrCode.Ecc\n ): QrCode {\n const seg: QrSegment = qrcodegen.QrSegment.makeBytes(data);\n return QrCode.encodeSegments([seg], ecl);\n }\n\n /*-- Static factory functions (mid level) --*/\n\n // Returns a QR Code representing the given segments with the given encoding parameters.\n // The smallest possible QR Code version within the given range is automatically\n // chosen for the output. Iff boostEcl is true, then the ECC level of the result\n // may be higher than the ecl argument if it can be done without increasing the\n // version. The mask number is either between 0 to 7 (inclusive) to force that\n // mask, or -1 to automatically choose an appropriate mask (which may be slow).\n // This function allows the user to create a custom sequence of segments that switches\n // between modes (such as alphanumeric and byte) to encode text in less space.\n // This is a mid-level API; the high-level API is encodeText() and encodeBinary().\n public static encodeSegments(\n segs: Readonly<Array<QrSegment>>,\n ecl: QrCode.Ecc,\n minVersion: int = 1,\n maxVersion: int = 40,\n mask: int = -1,\n boostEcl = true\n ): QrCode {\n if (\n !(\n QrCode.MIN_VERSION <= minVersion &&\n minVersion <= maxVersion &&\n maxVersion <= QrCode.MAX_VERSION\n ) ||\n mask < -1 ||\n mask > 7\n )\n throw new RangeError('Invalid value');\n\n // Find the minimal version number to use\n let version: int;\n let dataUsedBits: int;\n for (version = minVersion; ; version++) {\n const dataCapacityBits: int =\n QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits available\n const usedBits: number = QrSegment.getTotalBits(segs, version);\n if (usedBits <= dataCapacityBits) {\n dataUsedBits = usedBits;\n break; // This version number is found to be suitable\n }\n if (version >= maxVersion)\n // All versions in the range could not fit the given data\n throw new RangeError('Data too long');\n }\n\n // Increase the error correction level while the data still fits in the current version number\n for (const newEcl of [\n QrCode.Ecc.MEDIUM,\n QrCode.Ecc.QUARTILE,\n QrCode.Ecc.HIGH,\n ]) {\n // From low to high\n if (\n boostEcl &&\n dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8\n )\n ecl = newEcl;\n }\n\n // Concatenate all segments to create the data bit string\n const bb: Array<bit> = [];\n for (const seg of segs) {\n appendBits(seg.mode.modeBits, 4, bb);\n appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);\n for (const b of seg.getData()) bb.push(b);\n }\n assert(bb.length == dataUsedBits);\n\n // Add terminator and pad up to a byte if applicable\n const dataCapacityBits: int =\n QrCode.getNumDataCodewords(version, ecl) * 8;\n assert(bb.length <= dataCapacityBits);\n appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);\n appendBits(0, (8 - (bb.length % 8)) % 8, bb);\n assert(bb.length % 8 == 0);\n\n // Pad with alternating bytes until data capacity is reached\n for (\n let padByte = 0xec;\n bb.length < dataCapacityBits;\n padByte ^= 0xec ^ 0x11\n )\n appendBits(padByte, 8, bb);\n\n // Pack bits into bytes in big endian\n const dataCodewords: Array<byte> = [];\n while (dataCodewords.length * 8 < bb.length) dataCodewords.push(0);\n bb.forEach(\n (b: bit, i: int) => (dataCodewords[i >>> 3] |= b << (7 - (i & 7)))\n );\n\n // Create the QR Code object\n return new QrCode(version, ecl, dataCodewords, mask);\n }\n\n /*-- Fields --*/\n // The version number of this QR Code, which is between 1 and 40 (inclusive).\n // This determines the size of this barcode.\n public readonly version: int;\n\n // The error correction level used in this QR Code.\n public readonly errorCorrectionLevel: QrCode.Ecc;\n\n // The width and height of this QR Code, measured in modules, between\n // 21 and 177 (inclusive). This is equal to version * 4 + 17.\n public readonly size: int;\n\n // The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive).\n // Even if a QR Code is created with automatic masking requested (mask = -1),\n // the resulting object still has a mask value between 0 and 7.\n public readonly mask: int;\n\n // The modules of this QR Code (false = light, true = dark).\n // Immutable after constructor finishes. Accessed through getModule().\n private readonly modules: Array<Array<boolean>> = [];\n\n // Indicates function modules that are not subjected to masking. Discarded when constructor finishes.\n private readonly isFunction: Array<Array<boolean>> = [];\n\n /*-- Constructor (low level) and fields --*/\n\n // Creates a new QR Code with the given version number,\n // error correction level, data codeword bytes, and mask number.\n // This is a low-level API that most users should not use directly.\n // A mid-level API is the encodeSegments() function.\n public constructor(\n // The version number of this QR Code, which is between 1 and 40 (inclusive).\n // This determines the size of this barcode.\n version: int,\n\n // The error correction level used in this QR Code.\n errorCorrectionLevel: QrCode.Ecc,\n\n dataCodewords: Readonly<Array<byte>>,\n\n msk: int\n ) {\n this.version = version;\n this.errorCorrectionLevel = errorCorrectionLevel;\n // Check scalar arguments\n if (version < QrCode.MIN_VERSION || version > QrCode.MAX_VERSION)\n throw new RangeError('Version value out of range');\n if (msk < -1 || msk > 7) throw new RangeError('Mask value out of range');\n this.size = version * 4 + 17;\n\n // Initialize both grids to be size*size arrays of Boolean false\n const row: Array<boolean> = [];\n for (let i = 0; i < this.size; i++) row.push(false);\n for (let i = 0; i < this.size; i++) {\n this.modules.push(row.slice()); // Initially all light\n this.isFunction.push(row.slice());\n }\n\n // Compute ECC, draw modules\n this.drawFunctionPatterns();\n const allCodewords: Array<byte> = this.addEccAndInterleave(dataCodewords);\n this.drawCodewords(allCodewords);\n\n // Do masking\n if (msk == -1) {\n // Automatically choose best mask\n let minPenalty: int = 1000000000;\n for (let i = 0; i < 8; i++) {\n this.applyMask(i);\n this.drawFormatBits(i);\n const penalty: int = this.getPenaltyScore();\n if (penalty < minPenalty) {\n msk = i;\n minPenalty = penalty;\n }\n this.applyMask(i); // Undoes the mask due to XOR\n }\n }\n assert(0 <= msk && msk <= 7);\n this.mask = msk;\n this.applyMask(msk); // Apply the final choice of mask\n this.drawFormatBits(msk); // Overwrite old format bits\n\n this.isFunction = [];\n }\n\n /*-- Accessor methods --*/\n\n // Returns the color of the module (pixel) at the given coordinates, which is false\n // for light or true for dark. The top left corner has the coordinates (x=0, y=0).\n // If the given coordinates are out of bounds, then false (light) is returned.\n public getModule(x: int, y: int): boolean {\n return (\n 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x]\n );\n }\n\n // Modified to expose modules for easy access\n public getModules() {\n return this.modules;\n }\n\n /*-- Private helper methods for constructor: Drawing function modules --*/\n\n // Reads this object's version field, and draws and marks all function modules.\n private drawFunctionPatterns(): void {\n // Draw horizontal and vertical timing patterns\n for (let i = 0; i < this.size; i++) {\n this.setFunctionModule(6, i, i % 2 == 0);\n this.setFunctionModule(i, 6, i % 2 == 0);\n }\n\n // Draw 3 finder patterns (all corners except bottom right; overwrites some timing modules)\n this.drawFinderPattern(3, 3);\n this.drawFinderPattern(this.size - 4, 3);\n this.drawFinderPattern(3, this.size - 4);\n\n // Draw numerous alignment patterns\n const alignPatPos: Array<int> = this.getAlignmentPatternPositions();\n const numAlign: int = alignPatPos.length;\n for (let i = 0; i < numAlign; i++) {\n for (let j = 0; j < numAlign; j++) {\n // Don't draw on the three finder corners\n if (\n !(\n (i == 0 && j == 0) ||\n (i == 0 && j == numAlign - 1) ||\n (i == numAlign - 1 && j == 0)\n )\n )\n this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);\n }\n }\n\n // Draw configuration data\n this.drawFormatBits(0); // Dummy mask value; overwritten later in the constructor\n this.drawVersion();\n }\n\n // Draws two copies of the format bits (with its own error correction code)\n // based on the given mask and this object's error correction level field.\n private drawFormatBits(mask: int): void {\n // Calculate error correction code and pack bits\n const data: int = (this.errorCorrectionLevel.formatBits << 3) | mask; // errCorrLvl is uint2, mask is uint3\n let rem: int = data;\n for (let i = 0; i < 10; i++) rem = (rem << 1) ^ ((rem >>> 9) * 0x537);\n const bits = ((data << 10) | rem) ^ 0x5412; // uint15\n assert(bits >>> 15 == 0);\n\n // Draw first copy\n for (let i = 0; i <= 5; i++)\n this.setFunctionModule(8, i, getBit(bits, i));\n this.setFunctionModule(8, 7, getBit(bits, 6));\n this.setFunctionModule(8, 8, getBit(bits, 7));\n this.setFunctionModule(7, 8, getBit(bits, 8));\n for (let i = 9; i < 15; i++)\n this.setFunctionModule(14 - i, 8, getBit(bits, i));\n\n // Draw second copy\n for (let i = 0; i < 8; i++)\n this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));\n for (let i = 8; i < 15; i++)\n this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));\n this.setFunctionModule(8, this.size - 8, true); // Always dark\n }\n\n // Draws two copies of the version bits (with its own error correction code),\n // based on this object's version field, iff 7 <= version <= 40.\n private drawVersion(): void {\n if (this.version < 7) return;\n\n // Calculate error correction code and pack bits\n let rem: int = this.version; // version is uint6, in the range [7, 40]\n for (let i = 0; i < 12; i++) rem = (rem << 1) ^ ((rem >>> 11) * 0x1f25);\n const bits: int = (this.version << 12) | rem; // uint18\n assert(bits >>> 18 == 0);\n\n // Draw two copies\n for (let i = 0; i < 18; i++) {\n const color: boolean = getBit(bits, i);\n const a: int = this.size - 11 + (i % 3);\n const b: int = Math.floor(i / 3);\n this.setFunctionModule(a, b, color);\n this.setFunctionModule(b, a, color);\n }\n }\n\n // Draws a 9*9 finder pattern including the border separator,\n // with the center module at (x, y). Modules can be out of bounds.\n private drawFinderPattern(x: int, y: int): void {\n for (let dy = -4; dy <= 4; dy++) {\n for (let dx = -4; dx <= 4; dx++) {\n const dist: int = Math.max(Math.abs(dx), Math.abs(dy)); // Chebyshev/infinity norm\n const xx: int = x + dx;\n const yy: int = y + dy;\n if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size)\n this.setFunctionModule(xx, yy, dist != 2 && dist != 4);\n }\n }\n }\n\n // Draws a 5*5 alignment pattern, with the center module\n // at (x, y). All modules must be in bounds.\n private drawAlignmentPattern(x: int, y: int): void {\n for (let dy = -2; dy <= 2; dy++) {\n for (let dx = -2; dx <= 2; dx++)\n this.setFunctionModule(\n x + dx,\n y + dy,\n Math.max(Math.abs(dx), Math.abs(dy)) != 1\n );\n }\n }\n\n // Sets the color of a module and marks it as a function module.\n // Only used by the constructor. Coordinates must be in bounds.\n private setFunctionModule(x: int, y: int, isDark: boolean): void {\n this.modules[y][x] = isDark;\n this.isFunction[y][x] = true;\n }\n\n /*-- Private helper methods for constructor: Codewords and masking --*/\n\n // Returns a new byte string representing the given data with the appropriate error correction\n // codewords appended to it, based on this object's version and error correction level.\n private addEccAndInterleave(data: Readonly<Array<byte>>): Array<byte> {\n const ver: int = this.version;\n const ecl: QrCode.Ecc = this.errorCorrectionLevel;\n if (data.length != QrCode.getNumDataCodewords(ver, ecl))\n throw new RangeError('Invalid argument');\n\n // Calculate parameter numbers\n const numBlocks: int =\n QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n const blockEccLen: int = QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];\n const rawCodewords: int = Math.floor(\n QrCode.getNumRawDataModules(ver) / 8\n );\n const numShortBlocks: int = numBlocks - (rawCodewords % numBlocks);\n const shortBlockLen: int = Math.floor(rawCodewords / numBlocks);\n\n // Split data into blocks and append ECC to each block\n const blocks: Array<Array<byte>> = [];\n const rsDiv: Array<byte> = QrCode.reedSolomonComputeDivisor(blockEccLen);\n for (let i = 0, k = 0; i < numBlocks; i++) {\n const dat: Array<byte> = data.slice(\n k,\n k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1)\n );\n k += dat.length;\n const ecc: Array<byte> = QrCode.reedSolomonComputeRemainder(dat, rsDiv);\n if (i < numShortBlocks) dat.push(0);\n blocks.push(dat.concat(ecc));\n }\n\n // Interleave (not concatenate) the bytes from every block into a single sequence\n const result: Array<byte> = [];\n for (let i = 0; i < blocks[0].length; i++) {\n blocks.forEach((block, j) => {\n // Skip the padding byte in short blocks\n if (i != shortBlockLen - blockEccLen || j >= numShortBlocks)\n result.push(block[i]);\n });\n }\n assert(result.length == rawCodewords);\n return result;\n }\n\n // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire\n // data area of this QR Code. Function modules need to be marked off before this is called.\n private drawCodewords(data: Readonly<Array<byte>>): void {\n if (\n data.length != Math.floor(QrCode.getNumRawDataModules(this.version) / 8)\n )\n throw new RangeError('Invalid argument');\n let i: int = 0; // Bit index into the data\n // Do the funny zigzag scan\n for (let right = this.size - 1; right >= 1; right -= 2) {\n // Index of right column in each column pair\n if (right == 6) right = 5;\n for (let vert = 0; vert < this.size; vert++) {\n // Vertical counter\n for (let j = 0; j < 2; j++) {\n const x: int = right - j; // Actual x coordinate\n const upward: boolean = ((right + 1) & 2) == 0;\n const y: int = upward ? this.size - 1 - vert : vert; // Actual y coordinate\n if (!this.isFunction[y][x] && i < data.length * 8) {\n this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));\n i++;\n }\n // If this QR Code has any remainder bits (0 to 7), they were assigned as\n // 0/false/light by the constructor and are left unchanged by this method\n }\n }\n }\n assert(i == data.length * 8);\n }\n\n // XORs the codeword modules in this QR Code with the given mask pattern.\n // The function modules must be marked and the codeword bits must be drawn\n // before masking. Due to the arithmetic of XOR, calling applyMask() with\n // the same mask value a second time will undo the mask. A final well-formed\n // QR Code needs exactly one (not zero, two, etc.) mask applied.\n private applyMask(mask: int): void {\n if (mask < 0 || mask > 7) throw new RangeError('Mask value out of range');\n for (let y = 0; y < this.size; y++) {\n for (let x = 0; x < this.size; x++) {\n let invert: boolean;\n switch (mask) {\n case 0:\n invert = (x + y) % 2 == 0;\n break;\n case 1:\n invert = y % 2 == 0;\n break;\n case 2:\n invert = x % 3 == 0;\n break;\n case 3:\n invert = (x + y) % 3 == 0;\n break;\n case 4:\n invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;\n break;\n case 5:\n invert = ((x * y) % 2) + ((x * y) % 3) == 0;\n break;\n case 6:\n invert = (((x * y) % 2) + ((x * y) % 3)) % 2 == 0;\n break;\n case 7:\n invert = (((x + y) % 2) + ((x * y) % 3)) % 2 == 0;\n break;\n default:\n throw new Error('Unreachable');\n }\n if (!this.isFunction[y][x] && invert)\n this.modules[y][x] = !this.modules[y][x];\n }\n }\n }\n\n // Calculates and returns the penalty score based on state of this QR Code's current modules.\n // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.\n private getPenaltyScore(): int {\n let result: int = 0;\n\n // Adjacent modules in row having same color, and finder-like patterns\n for (let y = 0; y < this.size; y++) {\n let runColor = false;\n let runX = 0;\n const runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let x = 0; x < this.size; x++) {\n if (this.modules[y][x] == runColor) {\n runX++;\n if (runX == 5) result += QrCode.PENALTY_N1;\n else if (runX > 5) result++;\n } else {\n this.finderPenaltyAddHistory(runX, runHistory);\n if (!runColor)\n result +=\n this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runX = 1;\n }\n }\n result +=\n this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) *\n QrCode.PENALTY_N3;\n }\n // Adjacent modules in column having same color, and finder-like patterns\n for (let x = 0; x < this.size; x++) {\n let runColor = false;\n let runY = 0;\n const runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let y = 0; y < this.size; y++) {\n if (this.modules[y][x] == runColor) {\n runY++;\n if (runY == 5) result += QrCode.PENALTY_N1;\n else if (runY > 5) result++;\n } else {\n this.finderPenaltyAddHistory(runY, runHistory);\n if (!runColor)\n result +=\n this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runY = 1;\n }\n }\n result +=\n this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) *\n QrCode.PENALTY_N3;\n }\n\n // 2*2 blocks of modules having same color\n for (let y = 0; y < this.size - 1; y++) {\n for (let x = 0; x < this.size - 1; x++) {\n const color: boolean = this.modules[y][x];\n if (\n color == this.modules[y][x + 1] &&\n color == this.modules[y + 1][x] &&\n color == this.modules[y + 1][x + 1]\n )\n result += QrCode.PENALTY_N2;\n }\n }\n\n // Balance of dark and light modules\n let dark: int = 0;\n for (const row of this.modules)\n dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);\n const total: int = this.size * this.size; // Note that size is odd, so dark/total != 1/2\n // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)%\n const k: int = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;\n assert(0 <= k && k <= 9);\n result += k * QrCode.PENALTY_N4;\n assert(0 <= result && result <= 2568888); // Non-tight upper bound based on default values of PENALTY_N1, ..., N4\n return result;\n }\n\n /*-- Private helper functions --*/\n\n // Returns an ascending list of positions of alignment patterns for this version number.\n // Each position is in the range [0,177), and are used on both the x and y axes.\n // This could be implemented as lookup table of 40 variable-length lists of integers.\n private getAlignmentPatternPositions(): Array<int> {\n if (this.version == 1) return [];\n else {\n const numAlign: int = Math.floor(this.version / 7) + 2;\n const step: int =\n this.version == 32\n ? 26\n : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;\n const result: Array<int> = [6];\n for (let pos = this.size - 7; result.length < numAlign; pos -= step)\n result.splice(1, 0, pos);\n return result;\n }\n }\n\n // Returns the number of data bits that can be stored in a QR Code of the given version number, after\n // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.\n // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.\n private static getNumRawDataModules(ver: int): int {\n if (ver < QrCode.MIN_VERSION || ver > QrCode.MAX_VERSION)\n throw new RangeError('Version number out of range');\n let result: int = (16 * ver + 128) * ver + 64;\n if (ver >= 2) {\n const numAlign: int = Math.floor(ver / 7) + 2;\n result -= (25 * numAlign - 10) * numAlign - 55;\n if (ver >= 7) result -= 36;\n }\n assert(208 <= result && result <= 29648);\n return result;\n }\n\n // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any\n // QR Code of the given version number and error correction level, with remainder bits discarded.\n // This stateless pure function could be implemented as a (40*4)-cell lookup table.\n private static getNumDataCodewords(ver: int, ecl: QrCode.Ecc): int {\n return (\n Math.floor(QrCode.getNumRawDataModules(ver) / 8) -\n QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] *\n QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver]\n );\n }\n\n // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be\n // implemented as a lookup table over all possible parameter values, instead of as an algorithm.\n private static reedSolomonComputeDivisor(degree: int): Array<byte> {\n if (degree < 1 || degree > 255)\n throw new RangeError('Degree out of range');\n // Polynomial coefficients are stored from highest to lowest power, excluding the leading term which is always 1.\n // For example the polynomial x^3 + 255x^2 + 8x + 93 is stored as the uint8 array [255, 8, 93].\n const result: Array<byte> = [];\n for (let i = 0; i < degree - 1; i++) result.push(0);\n result.push(1); // Start off with the monomial x^0\n\n // Compute the product polynomial (x - r^0) * (x - r^1) * (x - r^2) * ... * (x - r^{degree-1}),\n // and drop the highest monomial term which is always 1x^degree.\n // Note that r = 0x02, which is a generator element of this field GF(2^8/0x11D).\n let root = 1;\n for (let i = 0; i < degree; i++) {\n // Multiply the current product by (x - r^i)\n for (let j = 0; j < result.length; j++) {\n result[j] = QrCode.reedSolomonMultiply(result[j], root);\n if (j + 1 < result.length) result[j] ^= result[j + 1];\n }\n root = QrCode.reedSolomonMultiply(root, 0x02);\n }\n return result;\n }\n\n // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.\n private static reedSolomonComputeRemainder(\n data: Readonly<Array<byte>>,\n divisor: Readonly<Array<byte>>\n ): Array<byte> {\n const result: Array<byte> = divisor.map((_) => 0);\n for (const b of data) {\n // Polynomial division\n const factor: byte = b ^ (result.shift() as byte);\n result.push(0);\n divisor.forEach(\n (coef, i) => (result[i] ^= QrCode.reedSolomonMultiply(coef, factor))\n );\n }\n return result;\n }\n\n // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result\n // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.\n private static reedSolomonMultiply(x: byte, y: byte): byte {\n if (x >>> 8 != 0 || y >>> 8 != 0)\n throw new RangeError('Byte out of range');\n // Russian peasant multiplication\n let z: int = 0;\n for (let i = 7; i >= 0; i--) {\n z = (z << 1) ^ ((z >>> 7) * 0x11d);\n z ^= ((y >>> i) & 1) * x;\n }\n assert(z >>> 8 == 0);\n return z as byte;\n }\n\n // Can only be called immediately after a light run is added, and\n // returns either 0, 1, or 2. A helper function for getPenaltyScore().\n private finderPenaltyCountPatterns(runHistory: Readonly<Array<int>>): int {\n const n: int = runHistory[1];\n assert(n <= this.size * 3);\n const core: boolean =\n n > 0 &&\n runHistory[2] == n &&\n runHistory[3] == n * 3 &&\n runHistory[4] == n &&\n runHistory[5] == n;\n return (\n (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) +\n (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0)\n );\n }\n\n // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().\n private finderPenaltyTerminateAndCount(\n currentRunColor: boolean,\n currentRunLength: int,\n runHistory: Array<int>\n ): int {\n if (currentRunColor) {\n // Terminate dark run\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n currentRunLength = 0;\n }\n currentRunLength += this.size; // Add light border to final run\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n return this.finderPenaltyCountPatterns(runHistory);\n }\n\n // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().\n private finderPenaltyAddHistory(\n currentRunLength: int,\n runHistory: Array<int>\n ): void {\n if (runHistory[0] == 0) currentRunLength += this.size; // Add light border to initial run\n runHistory.pop();\n runHistory.unshift(currentRunLength);\n }\n\n /*-- Constants and tables --*/\n\n // The minimum version number supported in the QR Code Model 2 standard.\n public static readonly MIN_VERSION: int = 1;\n // The maximum version number supported in the QR Code Model 2 standard.\n public static readonly MAX_VERSION: int = 40;\n\n // For use in getPenaltyScore(), when evaluating which mask is best.\n private static readonly PENALTY_N1: int = 3;\n private static readonly PENALTY_N2: int = 3;\n private static readonly PENALTY_N3: int = 40;\n private static readonly PENALTY_N4: int = 10;\n\n private static readonly ECC_CODEWORDS_PER_BLOCK: Array<Array<int>> = [\n // Version: (note that index 0 is for padding, and is set to an illegal value)\n //0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level\n [\n -1,\n 7,\n 10,\n 15,\n 20,\n 26,\n 18,\n 20,\n 24,\n 30,\n 18,\n 20,\n 24,\n 26,\n 30,\n 22,\n 24,\n 28,\n 30,\n 28,\n 28,\n 28,\n 28,\n 30,\n 30,\n 26,\n 28,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // Low\n [\n -1,\n 10,\n 16,\n 26,\n 18,\n 24,\n 16,\n 18,\n 22,\n 22,\n 26,\n 30,\n 22,\n 22,\n 24,\n 24,\n 28,\n 28,\n 26,\n 26,\n 26,\n 26,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n ], // Medium\n [\n -1,\n 13,\n 22,\n 18,\n 26,\n 18,\n 24,\n 18,\n 22,\n 20,\n 24,\n 28,\n 26,\n 24,\n 20,\n 30,\n 24,\n 28,\n 28,\n 26,\n 30,\n 28,\n 30,\n 30,\n 30,\n 30,\n 28,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // Quartile\n [\n -1,\n 17,\n 28,\n 22,\n 16,\n 22,\n 28,\n 26,\n 26,\n 24,\n 28,\n 24,\n 28,\n 22,\n 24,\n 24,\n 30,\n 28,\n 28,\n 26,\n 28,\n 30,\n 24,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // High\n ];\n\n private static readonly NUM_ERROR_CORRECTION_BLOCKS: Array<Array<int>> = [\n // Version: (note that index 0 is for padding, and is set to an illegal value)\n //0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level\n [\n -1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 2,\n 2,\n 2,\n 2,\n 4,\n 4,\n 4,\n 4,\n 4,\n 6,\n 6,\n 6,\n 6,\n 7,\n 8,\n 8,\n 9,\n 9,\n 10,\n 12,\n 12,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 19,\n 20,\n 21,\n 22,\n 24,\n 25,\n ], // Low\n [\n -1,\n 1,\n 1,\n 1,\n 2,\n 2,\n 4,\n 4,\n 4,\n 5,\n 5,\n 5,\n 8,\n 9,\n 9,\n 10,\n 10,\n 11,\n 13,\n 14,\n 16,\n 17,\n 17,\n 18,\n 20,\n 21,\n 23,\n 25,\n 26,\n 28,\n 29,\n 31,\n 33,\n 35,\n 37,\n 38,\n 40,\n 43,\n 45,\n 47,\n 49,\n ], // Medium\n [\n -1,\n 1,\n 1,\n 2,\n 2,\n 4,\n 4,\n 6,\n 6,\n 8,\n 8,\n 8,\n 10,\n 12,\n 16,\n 12,\n 17,\n 16,\n 18,\n 21,\n 20,\n 23,\n 23,\n 25,\n 27,\n 29,\n 34,\n 34,\n 35,\n 38,\n 40,\n 43,\n 45,\n 48,\n 51,\n 53,\n 56,\n 59,\n 62,\n 65,\n 68,\n ], // Quartile\n [\n -1,\n 1,\n 1,\n 2,\n 4,\n 4,\n 4,\n 5,\n 6,\n 8,\n 8,\n 11,\n 11,\n 16,\n 16,\n 18,\n 16,\n 19,\n 21,\n 25,\n 25,\n 25,\n 34,\n 30,\n 32,\n 35,\n 37,\n 40,\n 42,\n 45,\n 48,\n 51,\n 54,\n 57,\n 60,\n 63,\n 66,\n 70,\n 74,\n 77,\n 81,\n ], // High\n ];\n }\n\n // Appends the given number of low-order bits of the given value\n // to the given buffer. Requires 0 <= len <= 31 and 0 <= val < 2^len.\n function appendBits(val: int, len: int, bb: Array<bit>): void {\n if (len < 0 || len > 31 || val >>> len != 0)\n throw new RangeError('Value out of range');\n for (\n let i = len - 1;\n i >= 0;\n i-- // Append bit by bit\n )\n bb.push((val >>> i) & 1);\n }\n\n // Returns true iff the i'th bit of x is set to 1.\n function getBit(x: int, i: int): boolean {\n return ((x >>> i) & 1) != 0;\n }\n\n // Throws an exception if the given condition is false.\n function assert(cond: boolean): void {\n if (!cond) throw new Error('Assertion error');\n }\n\n /*---- Data segment class ----*/\n\n /*\n * A segment of character/binary/control data in a QR Code symbol.\n * Instances of this class are immutable.\n * The mid-level way to create a segment is to take the payload data\n * and call a static factory function such as QrSegment.makeNumeric().\n * The low-level way to create a segment is to custom-make the bit buffer\n * and call the QrSegment() constructor with appropriate values.\n * This segment class imposes no length restrictions, but QR Codes have restrictions.\n * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data.\n * Any segment longer than this is meaningless for the purpose of generating QR Codes.\n */\n export class QrSegment {\n /*-- Static factory functions (mid level) --*/\n\n // Returns a segment representing the given binary data encoded in\n // byte mode. All input byte arrays are acceptable. Any text string\n // can be converted to UTF-8 bytes and encoded as a byte mode segment.\n public static makeBytes(data: Readonly<Array<byte>>): QrSegment {\n const bb: Array<bit> = [];\n for (const b of data) appendBits(b, 8, bb);\n return new QrSegment(QrSegment.Mode.BYTE, data.length, bb);\n }\n\n // Returns a segment representing the given string of decimal digits encoded in numeric mode.\n public static makeNumeric(digits: string): QrSegment {\n if (!QrSegment.isNumeric(digits))\n throw new RangeError('String contains non-numeric characters');\n const bb: Array<bit> = [];\n for (let i = 0; i < digits.length; ) {\n // Consume up to 3 digits per iteration\n const n: int = Math.min(digits.length - i, 3);\n appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);\n i += n;\n }\n return new QrSegment(QrSegment.Mode.NUMERIC, digits.length, bb);\n }\n\n // Returns a segment representing the given text string encoded in alphanumeric mode.\n // The characters allowed are: 0 to 9, A to Z (uppercase only), space,\n // dollar, percent, asterisk, plus, hyphen, period, slash, colon.\n public static makeAlphanumeric(text: string): QrSegment {\n if (!QrSegment.isAlphanumeric(text))\n throw new RangeError(\n 'String contains unencodable characters in alphanumeric mode'\n );\n const bb: Array<bit> = [];\n let i: int;\n for (i = 0; i + 2 <= text.length; i += 2) {\n // Process groups of 2\n let temp: int =\n QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;\n temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));\n appendBits(temp, 11, bb);\n }\n if (i < text.length)\n // 1 character remaining\n appendBits(\n QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)),\n 6,\n bb\n );\n return new QrSegment(QrSegment.Mode.ALPHANUMERIC, text.length, bb);\n }\n\n // Returns a new mutable list of zero or more segments to represent the given Unicode text string.\n // The result may use various segment modes and switch modes to optimize the length of the bit stream.\n public static makeSegments(text: string): Array<QrSegment> {\n // Select the most efficient segment encoding automatically\n if (text == '') return [];\n else if (QrSegment.isNumeric(text)) return [QrSegment.makeNumeric(text)];\n else if (QrSegment.isAlphanumeric(text))\n return [QrSegment.makeAlphanumeric(text)];\n else return [QrSegment.makeBytes(QrSegment.toUtf8ByteArray(text))];\n }\n\n // Returns a segment representing an Extended Channel Interpretation\n // (ECI) designator with the given assignment value.\n public static makeEci(assignVal: int): QrSegment {\n const bb: Array<bit> = [];\n if (assignVal < 0)\n throw new RangeError('ECI assignment value out of range');\n else if (assignVal < 1 << 7) appendBits(assignVal, 8, bb);\n else if (assignVal < 1 << 14) {\n appendBits(0b10, 2, bb);\n appendBits(assignVal, 14, bb);\n } else if (assignVal < 1000000) {\n appendBits(0b110, 3, bb);\n appendBits(assignVal, 21, bb);\n } else throw new RangeError('ECI assignment value out of range');\n return new QrSegment(QrSegment.Mode.ECI, 0, bb);\n }\n\n // Tests whether the given string can be encoded as a segment in numeric mode.\n // A string is encodable iff each character is in the range 0 to 9.\n public static isNumeric(text: string): boolean {\n return QrSegment.NUMERIC_REGEX.test(text);\n }\n\n // Tests whether the given string can be encoded as a segment in alphanumeric mode.\n // A string is encodable iff each character is in the following set: 0 to 9, A to Z\n // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.\n public static isAlphanumeric(text: string): boolean {\n return QrSegment.ALPHANUMERIC_REGEX.test(text);\n }\n\n /*-- Constructor (low level) and fields --*/\n public readonly mode: QrSegment.Mode;\n\n // The length of this segment's unencoded data. Measured in characters for\n // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.\n // Always zero or positive. Not the same as the data's bit length.\n public readonly numChars: int;\n\n // The data bits of this segment. Accessed through getData().\n private readonly bitData: Array<bit>;\n\n // Creates a new QR Code segment with the given attributes and data.\n // The character count (numChars) must agree with the mode and the bit buffer length,\n // but the constraint isn't checked. The given bit buffer is cloned and stored.\n public constructor(\n // The mode indicator of this segment.\n mode: QrSegment.Mode,\n\n // The length of this segment's unencoded data. Measured in characters for\n // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.\n // Always zero or positive. Not the same as the data's bit length.\n numChars: int,\n\n // The data bits of this segment. Accessed through getData().\n bitData: Array<bit>\n ) {\n this.mode = mode;\n this.numChars = numChars;\n this.bitData = bitData;\n if (numChars < 0) throw new RangeError('Invalid argument');\n this.bitData = bitData.slice(); // Make defensive copy\n }\n\n /*-- Methods --*/\n\n // Returns a new copy of the data bits of this segment.\n public getData(): Array<bit> {\n return this.bitData.slice(); // Make defensive copy\n }\n\n // (Package-private) Calculates and returns the number of bits needed to encode the given segments at\n // the given version. The result is infinity if a segment has too many characters to fit its length field.\n public static getTotalBits(\n segs: Readonly<Array<QrSegment>>,\n version: int\n ): number {\n let result = 0;\n for (const seg of segs) {\n const ccbits: int = seg.mode.numCharCountBits(version);\n if (seg.numChars >= 1 << ccbits) return Infinity; // The segment's length doesn't fit the field's bit width\n result += 4 + ccbits + seg.bitData.length;\n }\n return result;\n }\n\n // Returns a new array of bytes representing the given string encoded in UTF-8.\n private static toUtf8ByteArray(str: string): Array<byte> {\n str = encodeURI(str);\n const result: Array<byte> = [];\n for (let i = 0; i < str.length; i++) {\n if (str.charAt(i) != '%') result.push(str.charCodeAt(i));\n else {\n result.push(parseInt(str.substr(i + 1, 2), 16));\n i += 2;\n }\n }\n return result;\n }\n\n /*-- Constants --*/\n\n // Describes precisely all strings that are encodable in numeric mode.\n private static readonly NUMERIC_REGEX: RegExp = /^[0-9]*$/;\n\n // Describes precisely all strings that are encodable in alphanumeric mode.\n private static readonly ALPHANUMERIC_REGEX: RegExp = /^[A-Z0-9 $%*+.\\/:-]*$/;\n\n // The set of all legal characters in alphanumeric mode,\n // where each character value maps to the index in the string.\n private static readonly ALPHANUMERIC_CHARSET: string =\n '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:';\n }\n}\n\n/*---- Public helper enumeration ----*/\n// eslint-disable-next-line @typescript-eslint/no-namespace\nnamespace qrcodegen.QrCode {\n type int = number;\n\n /*\n * The error correction level in a QR Code symbol. Immutable.\n */\n export class Ecc {\n /*-- Constants --*/\n\n public static readonly LOW = new Ecc(0, 1); // The QR Code can tolerate about 7% erroneous codewords\n public static readonly MEDIUM = new Ecc(1, 0); // The QR Code can tolerate about 15% erroneous codewords\n public static readonly QUARTILE = new Ecc(2, 3); // The QR Code can tolerate about 25% erroneous codewords\n public static readonly HIGH = new Ecc(3, 2); // The QR Code can tolerate about 30% erroneous codewords\n\n /*-- Constructor and fields --*/\n\n // In the range 0 to 3 (unsigned 2-bit integer).\n public readonly ordinal: int;\n // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).\n public readonly formatBits: int;\n private constructor(\n // In the range 0 to 3 (unsigned 2-bit integer).\n ordinal: int,\n // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).\n formatBits: int\n ) {\n this.ordinal = ordinal;\n this.formatBits = formatBits;\n }\n }\n}\n\n/*---- Public helper enumeration ----*/\n// eslint-disable-next-line @typescript-eslint/no-namespace\nnamespace qrcodegen.QrSegment {\n type int = number;\n\n /*\n * Describes how a segment's data bits are interpreted. Immutable.\n */\n export class Mode {\n /*-- Constants --*/\n\n public static readonly NUMERIC = new Mode(0x1, [10, 12, 14]);\n public static readonly ALPHANUMERIC = new Mode(0x2, [9, 11, 13]);\n public static readonly BYTE = new Mode(0x4, [8, 16, 16]);\n public static readonly KANJI = new Mode(0x8, [8, 10, 12]);\n public static readonly ECI = new Mode(0x7, [0, 0, 0]);\n\n /*-- Constructor and fields --*/\n\n // The mode indicator bits, which is a uint4 value (range 0 to 15).\n public readonly modeBits: int;\n // Number of character count bits for three different version ranges.\n private readonly numBitsCharCount: [int, int, int];\n\n private constructor(\n // The mode indicator bits, which is a uint4 value (range 0 to 15).\n modeBits: int,\n // Number of character count bits for three different version ranges.\n numBitsCharCount: [int, int, int]\n ) {\n this.modeBits = modeBits;\n this.numBitsCharCount = numBitsCharCount;\n }\n\n /*-- Method --*/\n\n // (Package-private) Returns the bit width of the character count field for a segment in\n // this mode in a QR Code at the given version number. The result is in the range [0, 16].\n public numCharCountBits(ver: int): int {\n return this.numBitsCharCount[Math.floor((ver + 7) / 17)];\n }\n }\n}\n\n// Modification to export for actual use\nexport default qrcodegen;\n"],
4
+ "sourcesContent": ["/* eslint-disable */\n/**\n * @license QR Code generator library (TypeScript)\n * Copyright (c) Project Nayuki.\n * SPDX-License-Identifier: MIT\n */\n\n'use strict';\n \nnamespace qrcodegen {\n type bit = number;\n type byte = number;\n type int = number;\n\n /*---- QR Code symbol class ----*/\n\n /*\n * A QR Code symbol, which is a type of two-dimension barcode.\n * Invented by Denso Wave and described in the ISO/IEC 18004 standard.\n * Instances of this class represent an immutable square grid of dark and light cells.\n * The class provides static factory functions to create a QR Code from text or binary data.\n * The class covers the QR Code Model 2 specification, supporting all versions (sizes)\n * from 1 to 40, all 4 error correction levels, and 4 character encoding modes.\n *\n * Ways to create a QR Code object:\n * - High level: Take the payload data and call QrCode.encodeText() or QrCode.encodeBinary().\n * - Mid level: Custom-make the list of segments and call QrCode.encodeSegments().\n * - Low level: Custom-make the array of data codeword bytes (including\n * segment headers and final padding, excluding error correction codewords),\n * supply the appropriate version number, and call the QrCode() constructor.\n * (Note that all ways require supplying the desired error correction level.)\n */\n export class QrCode {\n /*-- Static factory functions (high level) --*/\n\n // Returns a QR Code representing the given Unicode text string at the given error correction level.\n // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer\n // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible\n // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the\n // ecl argument if it can be done without increasing the version.\n public static encodeText(text: string, ecl: QrCode.Ecc): QrCode {\n const segs: Array<QrSegment> = qrcodegen.QrSegment.makeSegments(text);\n return QrCode.encodeSegments(segs, ecl);\n }\n\n // Returns a QR Code representing the given binary data at the given error correction level.\n // This function always encodes using the binary segment mode, not any text mode. The maximum number of\n // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.\n // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.\n public static encodeBinary(\n data: Readonly<Array<byte>>,\n ecl: QrCode.Ecc\n ): QrCode {\n const seg: QrSegment = qrcodegen.QrSegment.makeBytes(data);\n return QrCode.encodeSegments([seg], ecl);\n }\n\n /*-- Static factory functions (mid level) --*/\n\n // Returns a QR Code representing the given segments with the given encoding parameters.\n // The smallest possible QR Code version within the given range is automatically\n // chosen for the output. Iff boostEcl is true, then the ECC level of the result\n // may be higher than the ecl argument if it can be done without increasing the\n // version. The mask number is either between 0 to 7 (inclusive) to force that\n // mask, or -1 to automatically choose an appropriate mask (which may be slow).\n // This function allows the user to create a custom sequence of segments that switches\n // between modes (such as alphanumeric and byte) to encode text in less space.\n // This is a mid-level API; the high-level API is encodeText() and encodeBinary().\n public static encodeSegments(\n segs: Readonly<Array<QrSegment>>,\n ecl: QrCode.Ecc,\n minVersion: int = 1,\n maxVersion: int = 40,\n mask: int = -1,\n boostEcl = true\n ): QrCode {\n if (\n !(\n QrCode.MIN_VERSION <= minVersion &&\n minVersion <= maxVersion &&\n maxVersion <= QrCode.MAX_VERSION\n ) ||\n mask < -1 ||\n mask > 7\n )\n throw new RangeError('Invalid value');\n\n // Find the minimal version number to use\n let version: int;\n let dataUsedBits: int;\n for (version = minVersion; ; version++) {\n const dataCapacityBits: int =\n QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits available\n const usedBits: number = QrSegment.getTotalBits(segs, version);\n if (usedBits <= dataCapacityBits) {\n dataUsedBits = usedBits;\n break; // This version number is found to be suitable\n }\n if (version >= maxVersion)\n // All versions in the range could not fit the given data\n throw new RangeError('Data too long');\n }\n\n // Increase the error correction level while the data still fits in the current version number\n for (const newEcl of [\n QrCode.Ecc.MEDIUM,\n QrCode.Ecc.QUARTILE,\n QrCode.Ecc.HIGH,\n ]) {\n // From low to high\n if (\n boostEcl &&\n dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8\n )\n ecl = newEcl;\n }\n\n // Concatenate all segments to create the data bit string\n const bb: Array<bit> = [];\n for (const seg of segs) {\n appendBits(seg.mode.modeBits, 4, bb);\n appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);\n for (const b of seg.getData()) bb.push(b);\n }\n assert(bb.length == dataUsedBits);\n\n // Add terminator and pad up to a byte if applicable\n const dataCapacityBits: int =\n QrCode.getNumDataCodewords(version, ecl) * 8;\n assert(bb.length <= dataCapacityBits);\n appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);\n appendBits(0, (8 - (bb.length % 8)) % 8, bb);\n assert(bb.length % 8 == 0);\n\n // Pad with alternating bytes until data capacity is reached\n for (\n let padByte = 0xec;\n bb.length < dataCapacityBits;\n padByte ^= 0xec ^ 0x11\n )\n appendBits(padByte, 8, bb);\n\n // Pack bits into bytes in big endian\n const dataCodewords: Array<byte> = [];\n while (dataCodewords.length * 8 < bb.length) dataCodewords.push(0);\n bb.forEach(\n (b: bit, i: int) => (dataCodewords[i >>> 3] |= b << (7 - (i & 7)))\n );\n\n // Create the QR Code object\n return new QrCode(version, ecl, dataCodewords, mask);\n }\n\n /*-- Fields --*/\n // The version number of this QR Code, which is between 1 and 40 (inclusive).\n // This determines the size of this barcode.\n public readonly version: int;\n\n // The error correction level used in this QR Code.\n public readonly errorCorrectionLevel: QrCode.Ecc;\n\n // The width and height of this QR Code, measured in modules, between\n // 21 and 177 (inclusive). This is equal to version * 4 + 17.\n public readonly size: int;\n\n // The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive).\n // Even if a QR Code is created with automatic masking requested (mask = -1),\n // the resulting object still has a mask value between 0 and 7.\n public readonly mask: int;\n\n // The modules of this QR Code (false = light, true = dark).\n // Immutable after constructor finishes. Accessed through getModule().\n private readonly modules: Array<Array<boolean>> = [];\n\n // Indicates function modules that are not subjected to masking. Discarded when constructor finishes.\n private readonly isFunction: Array<Array<boolean>> = [];\n\n /*-- Constructor (low level) and fields --*/\n\n // Creates a new QR Code with the given version number,\n // error correction level, data codeword bytes, and mask number.\n // This is a low-level API that most users should not use directly.\n // A mid-level API is the encodeSegments() function.\n public constructor(\n // The version number of this QR Code, which is between 1 and 40 (inclusive).\n // This determines the size of this barcode.\n version: int,\n\n // The error correction level used in this QR Code.\n errorCorrectionLevel: QrCode.Ecc,\n\n dataCodewords: Readonly<Array<byte>>,\n\n msk: int\n ) {\n this.version = version;\n this.errorCorrectionLevel = errorCorrectionLevel;\n // Check scalar arguments\n if (version < QrCode.MIN_VERSION || version > QrCode.MAX_VERSION)\n throw new RangeError('Version value out of range');\n if (msk < -1 || msk > 7) throw new RangeError('Mask value out of range');\n this.size = version * 4 + 17;\n\n // Initialize both grids to be size*size arrays of Boolean false\n const row: Array<boolean> = [];\n for (let i = 0; i < this.size; i++) row.push(false);\n for (let i = 0; i < this.size; i++) {\n this.modules.push(row.slice()); // Initially all light\n this.isFunction.push(row.slice());\n }\n\n // Compute ECC, draw modules\n this.drawFunctionPatterns();\n const allCodewords: Array<byte> = this.addEccAndInterleave(dataCodewords);\n this.drawCodewords(allCodewords);\n\n // Do masking\n if (msk == -1) {\n // Automatically choose best mask\n let minPenalty: int = 1000000000;\n for (let i = 0; i < 8; i++) {\n this.applyMask(i);\n this.drawFormatBits(i);\n const penalty: int = this.getPenaltyScore();\n if (penalty < minPenalty) {\n msk = i;\n minPenalty = penalty;\n }\n this.applyMask(i); // Undoes the mask due to XOR\n }\n }\n assert(0 <= msk && msk <= 7);\n this.mask = msk;\n this.applyMask(msk); // Apply the final choice of mask\n this.drawFormatBits(msk); // Overwrite old format bits\n\n this.isFunction = [];\n }\n\n /*-- Accessor methods --*/\n\n // Returns the color of the module (pixel) at the given coordinates, which is false\n // for light or true for dark. The top left corner has the coordinates (x=0, y=0).\n // If the given coordinates are out of bounds, then false (light) is returned.\n public getModule(x: int, y: int): boolean {\n return (\n 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x]\n );\n }\n\n // Modified to expose modules for easy access\n public getModules() {\n return this.modules;\n }\n\n /*-- Private helper methods for constructor: Drawing function modules --*/\n\n // Reads this object's version field, and draws and marks all function modules.\n private drawFunctionPatterns(): void {\n // Draw horizontal and vertical timing patterns\n for (let i = 0; i < this.size; i++) {\n this.setFunctionModule(6, i, i % 2 == 0);\n this.setFunctionModule(i, 6, i % 2 == 0);\n }\n\n // Draw 3 finder patterns (all corners except bottom right; overwrites some timing modules)\n this.drawFinderPattern(3, 3);\n this.drawFinderPattern(this.size - 4, 3);\n this.drawFinderPattern(3, this.size - 4);\n\n // Draw numerous alignment patterns\n const alignPatPos: Array<int> = this.getAlignmentPatternPositions();\n const numAlign: int = alignPatPos.length;\n for (let i = 0; i < numAlign; i++) {\n for (let j = 0; j < numAlign; j++) {\n // Don't draw on the three finder corners\n if (\n !(\n (i == 0 && j == 0) ||\n (i == 0 && j == numAlign - 1) ||\n (i == numAlign - 1 && j == 0)\n )\n )\n this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);\n }\n }\n\n // Draw configuration data\n this.drawFormatBits(0); // Dummy mask value; overwritten later in the constructor\n this.drawVersion();\n }\n\n // Draws two copies of the format bits (with its own error correction code)\n // based on the given mask and this object's error correction level field.\n private drawFormatBits(mask: int): void {\n // Calculate error correction code and pack bits\n const data: int = (this.errorCorrectionLevel.formatBits << 3) | mask; // errCorrLvl is uint2, mask is uint3\n let rem: int = data;\n for (let i = 0; i < 10; i++) rem = (rem << 1) ^ ((rem >>> 9) * 0x537);\n const bits = ((data << 10) | rem) ^ 0x5412; // uint15\n assert(bits >>> 15 == 0);\n\n // Draw first copy\n for (let i = 0; i <= 5; i++)\n this.setFunctionModule(8, i, getBit(bits, i));\n this.setFunctionModule(8, 7, getBit(bits, 6));\n this.setFunctionModule(8, 8, getBit(bits, 7));\n this.setFunctionModule(7, 8, getBit(bits, 8));\n for (let i = 9; i < 15; i++)\n this.setFunctionModule(14 - i, 8, getBit(bits, i));\n\n // Draw second copy\n for (let i = 0; i < 8; i++)\n this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));\n for (let i = 8; i < 15; i++)\n this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));\n this.setFunctionModule(8, this.size - 8, true); // Always dark\n }\n\n // Draws two copies of the version bits (with its own error correction code),\n // based on this object's version field, iff 7 <= version <= 40.\n private drawVersion(): void {\n if (this.version < 7) return;\n\n // Calculate error correction code and pack bits\n let rem: int = this.version; // version is uint6, in the range [7, 40]\n for (let i = 0; i < 12; i++) rem = (rem << 1) ^ ((rem >>> 11) * 0x1f25);\n const bits: int = (this.version << 12) | rem; // uint18\n assert(bits >>> 18 == 0);\n\n // Draw two copies\n for (let i = 0; i < 18; i++) {\n const color: boolean = getBit(bits, i);\n const a: int = this.size - 11 + (i % 3);\n const b: int = Math.floor(i / 3);\n this.setFunctionModule(a, b, color);\n this.setFunctionModule(b, a, color);\n }\n }\n\n // Draws a 9*9 finder pattern including the border separator,\n // with the center module at (x, y). Modules can be out of bounds.\n private drawFinderPattern(x: int, y: int): void {\n for (let dy = -4; dy <= 4; dy++) {\n for (let dx = -4; dx <= 4; dx++) {\n const dist: int = Math.max(Math.abs(dx), Math.abs(dy)); // Chebyshev/infinity norm\n const xx: int = x + dx;\n const yy: int = y + dy;\n if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size)\n this.setFunctionModule(xx, yy, dist != 2 && dist != 4);\n }\n }\n }\n\n // Draws a 5*5 alignment pattern, with the center module\n // at (x, y). All modules must be in bounds.\n private drawAlignmentPattern(x: int, y: int): void {\n for (let dy = -2; dy <= 2; dy++) {\n for (let dx = -2; dx <= 2; dx++)\n this.setFunctionModule(\n x + dx,\n y + dy,\n Math.max(Math.abs(dx), Math.abs(dy)) != 1\n );\n }\n }\n\n // Sets the color of a module and marks it as a function module.\n // Only used by the constructor. Coordinates must be in bounds.\n private setFunctionModule(x: int, y: int, isDark: boolean): void {\n this.modules[y][x] = isDark;\n this.isFunction[y][x] = true;\n }\n\n /*-- Private helper methods for constructor: Codewords and masking --*/\n\n // Returns a new byte string representing the given data with the appropriate error correction\n // codewords appended to it, based on this object's version and error correction level.\n private addEccAndInterleave(data: Readonly<Array<byte>>): Array<byte> {\n const ver: int = this.version;\n const ecl: QrCode.Ecc = this.errorCorrectionLevel;\n if (data.length != QrCode.getNumDataCodewords(ver, ecl))\n throw new RangeError('Invalid argument');\n\n // Calculate parameter numbers\n const numBlocks: int =\n QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];\n const blockEccLen: int = QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];\n const rawCodewords: int = Math.floor(\n QrCode.getNumRawDataModules(ver) / 8\n );\n const numShortBlocks: int = numBlocks - (rawCodewords % numBlocks);\n const shortBlockLen: int = Math.floor(rawCodewords / numBlocks);\n\n // Split data into blocks and append ECC to each block\n const blocks: Array<Array<byte>> = [];\n const rsDiv: Array<byte> = QrCode.reedSolomonComputeDivisor(blockEccLen);\n for (let i = 0, k = 0; i < numBlocks; i++) {\n const dat: Array<byte> = data.slice(\n k,\n k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1)\n );\n k += dat.length;\n const ecc: Array<byte> = QrCode.reedSolomonComputeRemainder(dat, rsDiv);\n if (i < numShortBlocks) dat.push(0);\n blocks.push(dat.concat(ecc));\n }\n\n // Interleave (not concatenate) the bytes from every block into a single sequence\n const result: Array<byte> = [];\n for (let i = 0; i < blocks[0].length; i++) {\n blocks.forEach((block, j) => {\n // Skip the padding byte in short blocks\n if (i != shortBlockLen - blockEccLen || j >= numShortBlocks)\n result.push(block[i]);\n });\n }\n assert(result.length == rawCodewords);\n return result;\n }\n\n // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire\n // data area of this QR Code. Function modules need to be marked off before this is called.\n private drawCodewords(data: Readonly<Array<byte>>): void {\n if (\n data.length != Math.floor(QrCode.getNumRawDataModules(this.version) / 8)\n )\n throw new RangeError('Invalid argument');\n let i: int = 0; // Bit index into the data\n // Do the funny zigzag scan\n for (let right = this.size - 1; right >= 1; right -= 2) {\n // Index of right column in each column pair\n if (right == 6) right = 5;\n for (let vert = 0; vert < this.size; vert++) {\n // Vertical counter\n for (let j = 0; j < 2; j++) {\n const x: int = right - j; // Actual x coordinate\n const upward: boolean = ((right + 1) & 2) == 0;\n const y: int = upward ? this.size - 1 - vert : vert; // Actual y coordinate\n if (!this.isFunction[y][x] && i < data.length * 8) {\n this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));\n i++;\n }\n // If this QR Code has any remainder bits (0 to 7), they were assigned as\n // 0/false/light by the constructor and are left unchanged by this method\n }\n }\n }\n assert(i == data.length * 8);\n }\n\n // XORs the codeword modules in this QR Code with the given mask pattern.\n // The function modules must be marked and the codeword bits must be drawn\n // before masking. Due to the arithmetic of XOR, calling applyMask() with\n // the same mask value a second time will undo the mask. A final well-formed\n // QR Code needs exactly one (not zero, two, etc.) mask applied.\n private applyMask(mask: int): void {\n if (mask < 0 || mask > 7) throw new RangeError('Mask value out of range');\n for (let y = 0; y < this.size; y++) {\n for (let x = 0; x < this.size; x++) {\n let invert: boolean;\n switch (mask) {\n case 0:\n invert = (x + y) % 2 == 0;\n break;\n case 1:\n invert = y % 2 == 0;\n break;\n case 2:\n invert = x % 3 == 0;\n break;\n case 3:\n invert = (x + y) % 3 == 0;\n break;\n case 4:\n invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;\n break;\n case 5:\n invert = ((x * y) % 2) + ((x * y) % 3) == 0;\n break;\n case 6:\n invert = (((x * y) % 2) + ((x * y) % 3)) % 2 == 0;\n break;\n case 7:\n invert = (((x + y) % 2) + ((x * y) % 3)) % 2 == 0;\n break;\n default:\n throw new Error('Unreachable');\n }\n if (!this.isFunction[y][x] && invert)\n this.modules[y][x] = !this.modules[y][x];\n }\n }\n }\n\n // Calculates and returns the penalty score based on state of this QR Code's current modules.\n // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.\n private getPenaltyScore(): int {\n let result: int = 0;\n\n // Adjacent modules in row having same color, and finder-like patterns\n for (let y = 0; y < this.size; y++) {\n let runColor = false;\n let runX = 0;\n const runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let x = 0; x < this.size; x++) {\n if (this.modules[y][x] == runColor) {\n runX++;\n if (runX == 5) result += QrCode.PENALTY_N1;\n else if (runX > 5) result++;\n } else {\n this.finderPenaltyAddHistory(runX, runHistory);\n if (!runColor)\n result +=\n this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runX = 1;\n }\n }\n result +=\n this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) *\n QrCode.PENALTY_N3;\n }\n // Adjacent modules in column having same color, and finder-like patterns\n for (let x = 0; x < this.size; x++) {\n let runColor = false;\n let runY = 0;\n const runHistory = [0, 0, 0, 0, 0, 0, 0];\n for (let y = 0; y < this.size; y++) {\n if (this.modules[y][x] == runColor) {\n runY++;\n if (runY == 5) result += QrCode.PENALTY_N1;\n else if (runY > 5) result++;\n } else {\n this.finderPenaltyAddHistory(runY, runHistory);\n if (!runColor)\n result +=\n this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;\n runColor = this.modules[y][x];\n runY = 1;\n }\n }\n result +=\n this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) *\n QrCode.PENALTY_N3;\n }\n\n // 2*2 blocks of modules having same color\n for (let y = 0; y < this.size - 1; y++) {\n for (let x = 0; x < this.size - 1; x++) {\n const color: boolean = this.modules[y][x];\n if (\n color == this.modules[y][x + 1] &&\n color == this.modules[y + 1][x] &&\n color == this.modules[y + 1][x + 1]\n )\n result += QrCode.PENALTY_N2;\n }\n }\n\n // Balance of dark and light modules\n let dark: int = 0;\n for (const row of this.modules)\n dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);\n const total: int = this.size * this.size; // Note that size is odd, so dark/total != 1/2\n // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)%\n const k: int = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;\n assert(0 <= k && k <= 9);\n result += k * QrCode.PENALTY_N4;\n assert(0 <= result && result <= 2568888); // Non-tight upper bound based on default values of PENALTY_N1, ..., N4\n return result;\n }\n\n /*-- Private helper functions --*/\n\n // Returns an ascending list of positions of alignment patterns for this version number.\n // Each position is in the range [0,177), and are used on both the x and y axes.\n // This could be implemented as lookup table of 40 variable-length lists of integers.\n private getAlignmentPatternPositions(): Array<int> {\n if (this.version == 1) return [];\n else {\n const numAlign: int = Math.floor(this.version / 7) + 2;\n const step: int =\n this.version == 32\n ? 26\n : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;\n const result: Array<int> = [6];\n for (let pos = this.size - 7; result.length < numAlign; pos -= step)\n result.splice(1, 0, pos);\n return result;\n }\n }\n\n // Returns the number of data bits that can be stored in a QR Code of the given version number, after\n // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.\n // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.\n private static getNumRawDataModules(ver: int): int {\n if (ver < QrCode.MIN_VERSION || ver > QrCode.MAX_VERSION)\n throw new RangeError('Version number out of range');\n let result: int = (16 * ver + 128) * ver + 64;\n if (ver >= 2) {\n const numAlign: int = Math.floor(ver / 7) + 2;\n result -= (25 * numAlign - 10) * numAlign - 55;\n if (ver >= 7) result -= 36;\n }\n assert(208 <= result && result <= 29648);\n return result;\n }\n\n // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any\n // QR Code of the given version number and error correction level, with remainder bits discarded.\n // This stateless pure function could be implemented as a (40*4)-cell lookup table.\n private static getNumDataCodewords(ver: int, ecl: QrCode.Ecc): int {\n return (\n Math.floor(QrCode.getNumRawDataModules(ver) / 8) -\n QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] *\n QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver]\n );\n }\n\n // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be\n // implemented as a lookup table over all possible parameter values, instead of as an algorithm.\n private static reedSolomonComputeDivisor(degree: int): Array<byte> {\n if (degree < 1 || degree > 255)\n throw new RangeError('Degree out of range');\n // Polynomial coefficients are stored from highest to lowest power, excluding the leading term which is always 1.\n // For example the polynomial x^3 + 255x^2 + 8x + 93 is stored as the uint8 array [255, 8, 93].\n const result: Array<byte> = [];\n for (let i = 0; i < degree - 1; i++) result.push(0);\n result.push(1); // Start off with the monomial x^0\n\n // Compute the product polynomial (x - r^0) * (x - r^1) * (x - r^2) * ... * (x - r^{degree-1}),\n // and drop the highest monomial term which is always 1x^degree.\n // Note that r = 0x02, which is a generator element of this field GF(2^8/0x11D).\n let root = 1;\n for (let i = 0; i < degree; i++) {\n // Multiply the current product by (x - r^i)\n for (let j = 0; j < result.length; j++) {\n result[j] = QrCode.reedSolomonMultiply(result[j], root);\n if (j + 1 < result.length) result[j] ^= result[j + 1];\n }\n root = QrCode.reedSolomonMultiply(root, 0x02);\n }\n return result;\n }\n\n // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.\n private static reedSolomonComputeRemainder(\n data: Readonly<Array<byte>>,\n divisor: Readonly<Array<byte>>\n ): Array<byte> {\n const result: Array<byte> = divisor.map((_) => 0);\n for (const b of data) {\n // Polynomial division\n const factor: byte = b ^ (result.shift() as byte);\n result.push(0);\n divisor.forEach(\n (coef, i) => (result[i] ^= QrCode.reedSolomonMultiply(coef, factor))\n );\n }\n return result;\n }\n\n // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result\n // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.\n private static reedSolomonMultiply(x: byte, y: byte): byte {\n if (x >>> 8 != 0 || y >>> 8 != 0)\n throw new RangeError('Byte out of range');\n // Russian peasant multiplication\n let z: int = 0;\n for (let i = 7; i >= 0; i--) {\n z = (z << 1) ^ ((z >>> 7) * 0x11d);\n z ^= ((y >>> i) & 1) * x;\n }\n assert(z >>> 8 == 0);\n return z as byte;\n }\n\n // Can only be called immediately after a light run is added, and\n // returns either 0, 1, or 2. A helper function for getPenaltyScore().\n private finderPenaltyCountPatterns(runHistory: Readonly<Array<int>>): int {\n const n: int = runHistory[1];\n assert(n <= this.size * 3);\n const core: boolean =\n n > 0 &&\n runHistory[2] == n &&\n runHistory[3] == n * 3 &&\n runHistory[4] == n &&\n runHistory[5] == n;\n return (\n (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) +\n (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0)\n );\n }\n\n // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().\n private finderPenaltyTerminateAndCount(\n currentRunColor: boolean,\n currentRunLength: int,\n runHistory: Array<int>\n ): int {\n if (currentRunColor) {\n // Terminate dark run\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n currentRunLength = 0;\n }\n currentRunLength += this.size; // Add light border to final run\n this.finderPenaltyAddHistory(currentRunLength, runHistory);\n return this.finderPenaltyCountPatterns(runHistory);\n }\n\n // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().\n private finderPenaltyAddHistory(\n currentRunLength: int,\n runHistory: Array<int>\n ): void {\n if (runHistory[0] == 0) currentRunLength += this.size; // Add light border to initial run\n runHistory.pop();\n runHistory.unshift(currentRunLength);\n }\n\n /*-- Constants and tables --*/\n\n // The minimum version number supported in the QR Code Model 2 standard.\n public static readonly MIN_VERSION: int = 1;\n // The maximum version number supported in the QR Code Model 2 standard.\n public static readonly MAX_VERSION: int = 40;\n\n // For use in getPenaltyScore(), when evaluating which mask is best.\n private static readonly PENALTY_N1: int = 3;\n private static readonly PENALTY_N2: int = 3;\n private static readonly PENALTY_N3: int = 40;\n private static readonly PENALTY_N4: int = 10;\n\n private static readonly ECC_CODEWORDS_PER_BLOCK: Array<Array<int>> = [\n // Version: (note that index 0 is for padding, and is set to an illegal value)\n //0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level\n [\n -1,\n 7,\n 10,\n 15,\n 20,\n 26,\n 18,\n 20,\n 24,\n 30,\n 18,\n 20,\n 24,\n 26,\n 30,\n 22,\n 24,\n 28,\n 30,\n 28,\n 28,\n 28,\n 28,\n 30,\n 30,\n 26,\n 28,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // Low\n [\n -1,\n 10,\n 16,\n 26,\n 18,\n 24,\n 16,\n 18,\n 22,\n 22,\n 26,\n 30,\n 22,\n 22,\n 24,\n 24,\n 28,\n 28,\n 26,\n 26,\n 26,\n 26,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n 28,\n ], // Medium\n [\n -1,\n 13,\n 22,\n 18,\n 26,\n 18,\n 24,\n 18,\n 22,\n 20,\n 24,\n 28,\n 26,\n 24,\n 20,\n 30,\n 24,\n 28,\n 28,\n 26,\n 30,\n 28,\n 30,\n 30,\n 30,\n 30,\n 28,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // Quartile\n [\n -1,\n 17,\n 28,\n 22,\n 16,\n 22,\n 28,\n 26,\n 26,\n 24,\n 28,\n 24,\n 28,\n 22,\n 24,\n 24,\n 30,\n 28,\n 28,\n 26,\n 28,\n 30,\n 24,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n 30,\n ], // High\n ];\n\n private static readonly NUM_ERROR_CORRECTION_BLOCKS: Array<Array<int>> = [\n // Version: (note that index 0 is for padding, and is set to an illegal value)\n //0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 Error correction level\n [\n -1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 2,\n 2,\n 2,\n 2,\n 4,\n 4,\n 4,\n 4,\n 4,\n 6,\n 6,\n 6,\n 6,\n 7,\n 8,\n 8,\n 9,\n 9,\n 10,\n 12,\n 12,\n 12,\n 13,\n 14,\n 15,\n 16,\n 17,\n 18,\n 19,\n 19,\n 20,\n 21,\n 22,\n 24,\n 25,\n ], // Low\n [\n -1,\n 1,\n 1,\n 1,\n 2,\n 2,\n 4,\n 4,\n 4,\n 5,\n 5,\n 5,\n 8,\n 9,\n 9,\n 10,\n 10,\n 11,\n 13,\n 14,\n 16,\n 17,\n 17,\n 18,\n 20,\n 21,\n 23,\n 25,\n 26,\n 28,\n 29,\n 31,\n 33,\n 35,\n 37,\n 38,\n 40,\n 43,\n 45,\n 47,\n 49,\n ], // Medium\n [\n -1,\n 1,\n 1,\n 2,\n 2,\n 4,\n 4,\n 6,\n 6,\n 8,\n 8,\n 8,\n 10,\n 12,\n 16,\n 12,\n 17,\n 16,\n 18,\n 21,\n 20,\n 23,\n 23,\n 25,\n 27,\n 29,\n 34,\n 34,\n 35,\n 38,\n 40,\n 43,\n 45,\n 48,\n 51,\n 53,\n 56,\n 59,\n 62,\n 65,\n 68,\n ], // Quartile\n [\n -1,\n 1,\n 1,\n 2,\n 4,\n 4,\n 4,\n 5,\n 6,\n 8,\n 8,\n 11,\n 11,\n 16,\n 16,\n 18,\n 16,\n 19,\n 21,\n 25,\n 25,\n 25,\n 34,\n 30,\n 32,\n 35,\n 37,\n 40,\n 42,\n 45,\n 48,\n 51,\n 54,\n 57,\n 60,\n 63,\n 66,\n 70,\n 74,\n 77,\n 81,\n ], // High\n ];\n }\n\n // Appends the given number of low-order bits of the given value\n // to the given buffer. Requires 0 <= len <= 31 and 0 <= val < 2^len.\n function appendBits(val: int, len: int, bb: Array<bit>): void {\n if (len < 0 || len > 31 || val >>> len != 0)\n throw new RangeError('Value out of range');\n for (\n let i = len - 1;\n i >= 0;\n i-- // Append bit by bit\n )\n bb.push((val >>> i) & 1);\n }\n\n // Returns true iff the i'th bit of x is set to 1.\n function getBit(x: int, i: int): boolean {\n return ((x >>> i) & 1) != 0;\n }\n\n // Throws an exception if the given condition is false.\n function assert(cond: boolean): void {\n if (!cond) throw new Error('Assertion error');\n }\n\n /*---- Data segment class ----*/\n\n /*\n * A segment of character/binary/control data in a QR Code symbol.\n * Instances of this class are immutable.\n * The mid-level way to create a segment is to take the payload data\n * and call a static factory function such as QrSegment.makeNumeric().\n * The low-level way to create a segment is to custom-make the bit buffer\n * and call the QrSegment() constructor with appropriate values.\n * This segment class imposes no length restrictions, but QR Codes have restrictions.\n * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data.\n * Any segment longer than this is meaningless for the purpose of generating QR Codes.\n */\n export class QrSegment {\n /*-- Static factory functions (mid level) --*/\n\n // Returns a segment representing the given binary data encoded in\n // byte mode. All input byte arrays are acceptable. Any text string\n // can be converted to UTF-8 bytes and encoded as a byte mode segment.\n public static makeBytes(data: Readonly<Array<byte>>): QrSegment {\n const bb: Array<bit> = [];\n for (const b of data) appendBits(b, 8, bb);\n return new QrSegment(QrSegment.Mode.BYTE, data.length, bb);\n }\n\n // Returns a segment representing the given string of decimal digits encoded in numeric mode.\n public static makeNumeric(digits: string): QrSegment {\n if (!QrSegment.isNumeric(digits))\n throw new RangeError('String contains non-numeric characters');\n const bb: Array<bit> = [];\n for (let i = 0; i < digits.length; ) {\n // Consume up to 3 digits per iteration\n const n: int = Math.min(digits.length - i, 3);\n appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);\n i += n;\n }\n return new QrSegment(QrSegment.Mode.NUMERIC, digits.length, bb);\n }\n\n // Returns a segment representing the given text string encoded in alphanumeric mode.\n // The characters allowed are: 0 to 9, A to Z (uppercase only), space,\n // dollar, percent, asterisk, plus, hyphen, period, slash, colon.\n public static makeAlphanumeric(text: string): QrSegment {\n if (!QrSegment.isAlphanumeric(text))\n throw new RangeError(\n 'String contains unencodable characters in alphanumeric mode'\n );\n const bb: Array<bit> = [];\n let i: int;\n for (i = 0; i + 2 <= text.length; i += 2) {\n // Process groups of 2\n let temp: int =\n QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;\n temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));\n appendBits(temp, 11, bb);\n }\n if (i < text.length)\n // 1 character remaining\n appendBits(\n QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)),\n 6,\n bb\n );\n return new QrSegment(QrSegment.Mode.ALPHANUMERIC, text.length, bb);\n }\n\n // Returns a new mutable list of zero or more segments to represent the given Unicode text string.\n // The result may use various segment modes and switch modes to optimize the length of the bit stream.\n public static makeSegments(text: string): Array<QrSegment> {\n // Select the most efficient segment encoding automatically\n if (text == '') return [];\n else if (QrSegment.isNumeric(text)) return [QrSegment.makeNumeric(text)];\n else if (QrSegment.isAlphanumeric(text))\n return [QrSegment.makeAlphanumeric(text)];\n else return [QrSegment.makeBytes(QrSegment.toUtf8ByteArray(text))];\n }\n\n // Returns a segment representing an Extended Channel Interpretation\n // (ECI) designator with the given assignment value.\n public static makeEci(assignVal: int): QrSegment {\n const bb: Array<bit> = [];\n if (assignVal < 0)\n throw new RangeError('ECI assignment value out of range');\n else if (assignVal < 1 << 7) appendBits(assignVal, 8, bb);\n else if (assignVal < 1 << 14) {\n appendBits(0b10, 2, bb);\n appendBits(assignVal, 14, bb);\n } else if (assignVal < 1000000) {\n appendBits(0b110, 3, bb);\n appendBits(assignVal, 21, bb);\n } else throw new RangeError('ECI assignment value out of range');\n return new QrSegment(QrSegment.Mode.ECI, 0, bb);\n }\n\n // Tests whether the given string can be encoded as a segment in numeric mode.\n // A string is encodable iff each character is in the range 0 to 9.\n public static isNumeric(text: string): boolean {\n return QrSegment.NUMERIC_REGEX.test(text);\n }\n\n // Tests whether the given string can be encoded as a segment in alphanumeric mode.\n // A string is encodable iff each character is in the following set: 0 to 9, A to Z\n // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.\n public static isAlphanumeric(text: string): boolean {\n return QrSegment.ALPHANUMERIC_REGEX.test(text);\n }\n\n /*-- Constructor (low level) and fields --*/\n public readonly mode: QrSegment.Mode;\n\n // The length of this segment's unencoded data. Measured in characters for\n // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.\n // Always zero or positive. Not the same as the data's bit length.\n public readonly numChars: int;\n\n // The data bits of this segment. Accessed through getData().\n private readonly bitData: Array<bit>;\n\n // Creates a new QR Code segment with the given attributes and data.\n // The character count (numChars) must agree with the mode and the bit buffer length,\n // but the constraint isn't checked. The given bit buffer is cloned and stored.\n public constructor(\n // The mode indicator of this segment.\n mode: QrSegment.Mode,\n\n // The length of this segment's unencoded data. Measured in characters for\n // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.\n // Always zero or positive. Not the same as the data's bit length.\n numChars: int,\n\n // The data bits of this segment. Accessed through getData().\n bitData: Array<bit>\n ) {\n this.mode = mode;\n this.numChars = numChars;\n this.bitData = bitData;\n if (numChars < 0) throw new RangeError('Invalid argument');\n this.bitData = bitData.slice(); // Make defensive copy\n }\n\n /*-- Methods --*/\n\n // Returns a new copy of the data bits of this segment.\n public getData(): Array<bit> {\n return this.bitData.slice(); // Make defensive copy\n }\n\n // (Package-private) Calculates and returns the number of bits needed to encode the given segments at\n // the given version. The result is infinity if a segment has too many characters to fit its length field.\n public static getTotalBits(\n segs: Readonly<Array<QrSegment>>,\n version: int\n ): number {\n let result = 0;\n for (const seg of segs) {\n const ccbits: int = seg.mode.numCharCountBits(version);\n if (seg.numChars >= 1 << ccbits) return Infinity; // The segment's length doesn't fit the field's bit width\n result += 4 + ccbits + seg.bitData.length;\n }\n return result;\n }\n\n // Returns a new array of bytes representing the given string encoded in UTF-8.\n private static toUtf8ByteArray(str: string): Array<byte> {\n str = encodeURI(str);\n const result: Array<byte> = [];\n for (let i = 0; i < str.length; i++) {\n if (str.charAt(i) != '%') result.push(str.charCodeAt(i));\n else {\n result.push(parseInt(str.substr(i + 1, 2), 16));\n i += 2;\n }\n }\n return result;\n }\n\n /*-- Constants --*/\n\n // Describes precisely all strings that are encodable in numeric mode.\n private static readonly NUMERIC_REGEX: RegExp = /^[0-9]*$/;\n\n // Describes precisely all strings that are encodable in alphanumeric mode.\n private static readonly ALPHANUMERIC_REGEX: RegExp = /^[A-Z0-9 $%*+.\\/:-]*$/;\n\n // The set of all legal characters in alphanumeric mode,\n // where each character value maps to the index in the string.\n private static readonly ALPHANUMERIC_CHARSET: string =\n '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:';\n }\n}\n\n/*---- Public helper enumeration ----*/\n \nnamespace qrcodegen.QrCode {\n type int = number;\n\n /*\n * The error correction level in a QR Code symbol. Immutable.\n */\n export class Ecc {\n /*-- Constants --*/\n\n public static readonly LOW = new Ecc(0, 1); // The QR Code can tolerate about 7% erroneous codewords\n public static readonly MEDIUM = new Ecc(1, 0); // The QR Code can tolerate about 15% erroneous codewords\n public static readonly QUARTILE = new Ecc(2, 3); // The QR Code can tolerate about 25% erroneous codewords\n public static readonly HIGH = new Ecc(3, 2); // The QR Code can tolerate about 30% erroneous codewords\n\n /*-- Constructor and fields --*/\n\n // In the range 0 to 3 (unsigned 2-bit integer).\n public readonly ordinal: int;\n // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).\n public readonly formatBits: int;\n private constructor(\n // In the range 0 to 3 (unsigned 2-bit integer).\n ordinal: int,\n // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).\n formatBits: int\n ) {\n this.ordinal = ordinal;\n this.formatBits = formatBits;\n }\n }\n}\n\n/*---- Public helper enumeration ----*/\n \nnamespace qrcodegen.QrSegment {\n type int = number;\n\n /*\n * Describes how a segment's data bits are interpreted. Immutable.\n */\n export class Mode {\n /*-- Constants --*/\n\n public static readonly NUMERIC = new Mode(0x1, [10, 12, 14]);\n public static readonly ALPHANUMERIC = new Mode(0x2, [9, 11, 13]);\n public static readonly BYTE = new Mode(0x4, [8, 16, 16]);\n public static readonly KANJI = new Mode(0x8, [8, 10, 12]);\n public static readonly ECI = new Mode(0x7, [0, 0, 0]);\n\n /*-- Constructor and fields --*/\n\n // The mode indicator bits, which is a uint4 value (range 0 to 15).\n public readonly modeBits: int;\n // Number of character count bits for three different version ranges.\n private readonly numBitsCharCount: [int, int, int];\n\n private constructor(\n // The mode indicator bits, which is a uint4 value (range 0 to 15).\n modeBits: int,\n // Number of character count bits for three different version ranges.\n numBitsCharCount: [int, int, int]\n ) {\n this.modeBits = modeBits;\n this.numBitsCharCount = numBitsCharCount;\n }\n\n /*-- Method --*/\n\n // (Package-private) Returns the bit width of the character count field for a segment in\n // this mode in a QR Code at the given version number. The result is in the range [0, 16].\n public numCharCountBits(ver: int): int {\n return this.numBitsCharCount[Math.floor((ver + 7) / 17)];\n }\n }\n}\n\n// Modification to export for actual use\nexport default qrcodegen;\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAU;AAAA,CAAV,CAAUA,eAAV;AAAA,EAuBS,MAAM,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAuJX,YAGL,SAGA,sBAEA,eAEA,KACA;AAtBF;AAAA;AAAA,WAAiB,UAAiC,CAAC;AAGnD;AAAA,WAAiB,aAAoC,CAAC;AAoBpD,WAAK,UAAU;AACf,WAAK,uBAAuB;AAE5B,UAAI,UAAU,OAAO,eAAe,UAAU,OAAO;AACnD,cAAM,IAAI,WAAW,4BAA4B;AACnD,UAAI,MAAM,MAAM,MAAM,EAAG,OAAM,IAAI,WAAW,yBAAyB;AACvE,WAAK,OAAO,UAAU,IAAI;AAG1B,YAAM,MAAsB,CAAC;AAC7B,eAAS,IAAI,GAAG,IAAI,KAAK,MAAM,IAAK,KAAI,KAAK,KAAK;AAClD,eAAS,IAAI,GAAG,IAAI,KAAK,MAAM,KAAK;AAClC,aAAK,QAAQ,KAAK,IAAI,MAAM,CAAC;AAC7B,aAAK,WAAW,KAAK,IAAI,MAAM,CAAC;AAAA,MAClC;AAGA,WAAK,qBAAqB;AAC1B,YAAM,e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C1C;AAAA,WAAwB,aAAkB;AAAA;AAAA,IAE1C;AAAA,WAAwB,0BAA6C;AAAA;AAAA;AAAA,QAGnE;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,MACF;AAAA;AAAA,IAEA;AAAA,WAAwB,8BAAiD;AAAA;AAAA;AAAA,QAGvE;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF;AAAA;AAAA,QACA;AAAA,UACE;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;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M,IAAI,KAAK,GAAK,CAAC,GAAG,GAAG,CAAC,CAAC;AAAA;AAAA,MAS5C,YAEN,UAEA,kBACA;AACA,aAAK,WAAW;AAChB,aAAK,mBAAmB;AAAA,MAC1B;AAAA;AAAA;AAAA;AAAA,MAMO,iBAAiB,KAAe;AACrC,eAAO,KAAK,iBAAiB,KAAK,OAAO,MAAM,KAAK,EAAE,CAAC;AAAA,MACzD;AAAA,IACF;AAjCO,IAAAA,WAAM;AAAA,KANK,YAAAH,WAAA,cAAAA,WAAA;AAAA,GAAV;AA2CV,IAAO,oBAAQ;",
6
6
  "names": ["qrcodegen", "dataCapacityBits", "QrCode", "QrSegment"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/QrCodeViewer/types.ts"],
4
- "sourcesContent": ["import type { CSSProperties } from 'react';\nimport qrcodegen from '@digigov/ui/app/QrCodeViewer/qrcodegen';\n\nexport type QRProps = {\n value: string;\n size?: number;\n // Should be a real enum, but doesn't seem to be compatible with real code.\n level?: string;\n bgColor?: string;\n fgColor?: string;\n style?: CSSProperties;\n includeMargin?: boolean;\n imageSettings?: ImageSettings;\n};\n\nexport type QRPropsCanvas = QRProps &\n React.CanvasHTMLAttributes<HTMLCanvasElement>;\n\nexport type Modules = ReturnType<qrcodegen.QrCode['getModules']>;\n\nexport type Excavation = { x: number; y: number; w: number; h: number };\n\nexport type ImageSettings = {\n src: string;\n height: number;\n width: number;\n excavate: boolean;\n x?: number;\n y?: number;\n};\n"],
4
+ "sourcesContent": ["import type { CSSProperties } from 'react';\nimport qrcodegen from '@digigov/ui/app/QrCodeViewer/qrcodegen';\n\nexport interface QRProps {\n value: string;\n size?: number;\n // Should be a real enum, but doesn't seem to be compatible with real code.\n level?: string;\n bgColor?: string;\n fgColor?: string;\n style?: CSSProperties;\n includeMargin?: boolean;\n imageSettings?: ImageSettings;\n}\n\nexport type QRPropsCanvas = QRProps &\n React.CanvasHTMLAttributes<HTMLCanvasElement>;\n\nexport type Modules = ReturnType<qrcodegen.QrCode['getModules']>;\n\nexport interface Excavation {\n x: number;\n y: number;\n w: number;\n h: number;\n}\n\nexport interface ImageSettings {\n src: string;\n height: number;\n width: number;\n excavate: boolean;\n x?: number;\n y?: number;\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/QrCodeViewer/utils.ts"],
4
- "sourcesContent": ["import {\n Modules,\n Excavation,\n ImageSettings,\n} from '@digigov/ui/app/QrCodeViewer/types';\n\nconst DEFAULT_IMG_SCALE = 0.1;\nexport const MARGIN_SIZE = 4;\nexport function generatePath(modules: Modules, margin = 0): string {\n const ops: Array<string> = [];\n modules.forEach(function (row, y) {\n let start: number | null = null;\n row.forEach(function (cell, x) {\n if (!cell && start !== null) {\n // M0 0h7v1H0z injects the space with the move and drops the comma,\n // saving a char per operation\n ops.push(\n `M${start + margin} ${y + margin}h${x - start}v1H${start + margin}z`\n );\n start = null;\n return;\n }\n\n // end of row, clean up or skip\n if (x === row.length - 1) {\n if (!cell) {\n // We would have closed the op above already so this can only mean\n // 2+ light modules in a row.\n return;\n }\n if (start === null) {\n // Just a single dark module.\n ops.push(`M${x + margin},${y + margin} h1v1H${x + margin}z`);\n } else {\n // Otherwise finish the current line.\n ops.push(\n `M${start + margin},${y + margin} h${x + 1 - start}v1H${\n start + margin\n }z`\n );\n }\n return;\n }\n\n if (cell && start === null) {\n start = x;\n }\n });\n });\n return ops.join('');\n}\n\n// We could just do this in generatePath, except that we want to support\n// non-Path2D canvas, so we need to keep it an explicit step.\nexport function excavateModules(\n modules: Modules,\n excavation: Excavation\n): Modules {\n return modules.slice().map((row, y) => {\n if (y < excavation.y || y >= excavation.y + excavation.h) {\n return row;\n }\n return row.map((cell, x) => {\n if (x < excavation.x || x >= excavation.x + excavation.w) {\n return cell;\n }\n return false;\n });\n });\n}\n\nexport function getImageSettings(\n cells: Modules,\n size: number,\n includeMargin: boolean,\n imageSettings?: ImageSettings\n): null | {\n x: number;\n y: number;\n h: number;\n w: number;\n excavation: Excavation | null;\n} {\n if (imageSettings == null) {\n return null;\n }\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const defaultSize = Math.floor(size * DEFAULT_IMG_SCALE);\n const scale = numCells / size;\n const w = (imageSettings.width || defaultSize) * scale;\n const h = (imageSettings.height || defaultSize) * scale;\n const x =\n imageSettings.x == null\n ? cells.length / 2 - w / 2\n : imageSettings.x * scale;\n const y =\n imageSettings.y == null\n ? cells.length / 2 - h / 2\n : imageSettings.y * scale;\n\n let excavation;\n if (imageSettings.excavate) {\n const floorX = Math.floor(x);\n const floorY = Math.floor(y);\n const ceilW = Math.ceil(w + x - floorX);\n const ceilH = Math.ceil(h + y - floorY);\n excavation = { x: floorX, y: floorY, w: ceilW, h: ceilH };\n }\n\n return { x, y, h, w, excavation };\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,MAAM,oBAAoB;AACnB,MAAM,cAAc;AACpB,SAAS,aAAa,SAAkB,SAAS,GAAW;AACjE,QAAM,MAAqB,CAAC;AAC5B,UAAQ,QAAQ,SAAU,KAAK,GAAG;AAChC,QAAI,QAAuB;AAC3B,QAAI,QAAQ,SAAU,MAAM,GAAG;AAC7B,UAAI,CAAC,QAAQ,UAAU,MAAM;AAG3B,YAAI;AAAA,UACF,IAAI,QAAQ,MAAM,IAAI,IAAI,MAAM,IAAI,IAAI,KAAK,MAAM,QAAQ,MAAM;AAAA,QACnE;AACA,gBAAQ;AACR;AAAA,MACF;AAGA,UAAI,MAAM,IAAI,SAAS,GAAG;AACxB,YAAI,CAAC,MAAM;AAGT;AAAA,QACF;AACA,YAAI,UAAU,MAAM;AAElB,cAAI,KAAK,IAAI,IAAI,MAAM,IAAI,IAAI,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AQ,KAAK,KAAK,IAAI,IAAI,MAAM;AACtC,UAAM,QAAQ,KAAK,KAAK,IAAI,IAAI,MAAM;AACtC,iBAAa,EAAE,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;AAAA,EAC1D;AAEA,SAAO,EAAE,GAAG,GAAG,GAAG,GAAG,WAAW;AAClC;",
4
+ "sourcesContent": ["import {\n Modules,\n Excavation,\n ImageSettings,\n} from '@digigov/ui/app/QrCodeViewer/types';\n\nconst DEFAULT_IMG_SCALE = 0.1;\nexport const MARGIN_SIZE = 4;\nexport function generatePath(modules: Modules, margin = 0): string {\n const ops: string[] = [];\n modules.forEach(function (row, y) {\n let start: number | null = null;\n row.forEach(function (cell, x) {\n if (!cell && start !== null) {\n // M0 0h7v1H0z injects the space with the move and drops the comma,\n // saving a char per operation\n ops.push(\n `M${start + margin} ${y + margin}h${x - start}v1H${start + margin}z`\n );\n start = null;\n return;\n }\n\n // end of row, clean up or skip\n if (x === row.length - 1) {\n if (!cell) {\n // We would have closed the op above already so this can only mean\n // 2+ light modules in a row.\n return;\n }\n if (start === null) {\n // Just a single dark module.\n ops.push(`M${x + margin},${y + margin} h1v1H${x + margin}z`);\n } else {\n // Otherwise finish the current line.\n ops.push(\n `M${start + margin},${y + margin} h${x + 1 - start}v1H${\n start + margin\n }z`\n );\n }\n return;\n }\n\n if (cell && start === null) {\n start = x;\n }\n });\n });\n return ops.join('');\n}\n\n// We could just do this in generatePath, except that we want to support\n// non-Path2D canvas, so we need to keep it an explicit step.\nexport function excavateModules(\n modules: Modules,\n excavation: Excavation\n): Modules {\n return modules.slice().map((row, y) => {\n if (y < excavation.y || y >= excavation.y + excavation.h) {\n return row;\n }\n return row.map((cell, x) => {\n if (x < excavation.x || x >= excavation.x + excavation.w) {\n return cell;\n }\n return false;\n });\n });\n}\n\nexport function getImageSettings(\n cells: Modules,\n size: number,\n includeMargin: boolean,\n imageSettings?: ImageSettings\n): null | {\n x: number;\n y: number;\n h: number;\n w: number;\n excavation: Excavation | null;\n} {\n if (imageSettings == null) {\n return null;\n }\n const margin = includeMargin ? MARGIN_SIZE : 0;\n const numCells = cells.length + margin * 2;\n const defaultSize = Math.floor(size * DEFAULT_IMG_SCALE);\n const scale = numCells / size;\n const w = (imageSettings.width || defaultSize) * scale;\n const h = (imageSettings.height || defaultSize) * scale;\n const x =\n imageSettings.x == null\n ? cells.length / 2 - w / 2\n : imageSettings.x * scale;\n const y =\n imageSettings.y == null\n ? cells.length / 2 - h / 2\n : imageSettings.y * scale;\n\n let excavation;\n if (imageSettings.excavate) {\n const floorX = Math.floor(x);\n const floorY = Math.floor(y);\n const ceilW = Math.ceil(w + x - floorX);\n const ceilH = Math.ceil(h + y - floorY);\n excavation = { x: floorX, y: floorY, w: ceilW, h: ceilH };\n }\n\n return { x, y, h, w, excavation };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,MAAM,oBAAoB;AACnB,MAAM,cAAc;AACpB,SAAS,aAAa,SAAkB,SAAS,GAAW;AACjE,QAAM,MAAgB,CAAC;AACvB,UAAQ,QAAQ,SAAU,KAAK,GAAG;AAChC,QAAI,QAAuB;AAC3B,QAAI,QAAQ,SAAU,MAAM,GAAG;AAC7B,UAAI,CAAC,QAAQ,UAAU,MAAM;AAG3B,YAAI;AAAA,UACF,IAAI,QAAQ,MAAM,IAAI,IAAI,MAAM,IAAI,IAAI,KAAK,MAAM,QAAQ,MAAM;AAAA,QACnE;AACA,gBAAQ;AACR;AAAA,MACF;AAGA,UAAI,MAAM,IAAI,SAAS,GAAG;AACxB,YAAI,CAAC,MAAM;AAGT;AAAA,QACF;AACA,YAAI,UAAU,MAAM;AAElB,cAAI,KAAK,IAAI,IAAI,MAAM,IAAI,IAAI,MAAM,SAAS,IAAI,MAAM,GAAG;AAAA,QAC7D,OAAO;AAEL,cAAI;AAAA,YACF,IAAI,QAAQ,MAAM,IAAI,IAAI,M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AAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;AAAA,EAC1D;AAEA,SAAO,EAAE,GAAG,GAAG,GAAG,GAAG,WAAW;AAClC;",
6
6
  "names": []
7
7
  }
@@ -54,10 +54,6 @@ const ThemeOptions = import_react.default.forwardRef(function ThemeOptions2({
54
54
  letterSpacingOption = true,
55
55
  highlightLinksOption = true,
56
56
  colorsOptionTitleSize = "sm",
57
- fontSizeOptionTitleSize = "sm",
58
- lineHeightOptionTitleSize = "sm",
59
- letterSpacingOptionTitleSize = "sm",
60
- highlightLinksOptionTitleSize = "sm",
61
57
  className,
62
58
  ...props
63
59
  }, ref) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/ThemeOptions/index.tsx"],
4
- "sourcesContent": ["import React, { useState } from 'react';\nimport clsx from 'clsx';\nimport { BaseProps } from '@digigov/react-core/Base';\nimport useFontSize, {\n FontSizeOptions,\n} from '@digigov/ui/app/hooks/useFontSize';\nimport useHighlightLinks, {\n HighlightLinksOptions,\n} from '@digigov/ui/app/hooks/useHighlightLinks';\nimport useLetterSpacing, {\n LetterSpacingOptions,\n} from '@digigov/ui/app/hooks/useLetterSpacing';\nimport useLineHeight, {\n LineHeightOptions,\n} from '@digigov/ui/app/hooks/useLineHeight';\nimport useTheme, { ThemeSelectOptions } from '@digigov/ui/app/hooks/useTheme';\nimport Button from '@digigov/ui/form/Button';\nimport FieldContainer, {\n Fieldset,\n FieldsetLegend,\n} from '@digigov/ui/form/FieldContainer';\nimport Form from '@digigov/ui/form/Form';\nimport { RadioContainer, RadioItem } from '@digigov/ui/form/RadioContainer';\nimport SectionBreak from '@digigov/ui/layouts/SectionBreak';\n\nimport { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';\n\nexport interface ThemeOptionsProps extends BaseProps<'form'> {\n colorsOption?: boolean;\n fontSizeOption?: boolean;\n lineHeightOption?: boolean;\n letterSpacingOption?: boolean;\n highlightLinksOption?: boolean;\n\n colorsOptionTitleSize?: TitleSize;\n fontSizeOptionTitleSize?: TitleSize;\n lineHeightOptionTitleSize?: TitleSize;\n letterSpacingOptionTitleSize?: TitleSize;\n highlightLinksOptionTitleSize?: TitleSize;\n}\n\ntype TitleSize = 'xl' | 'lg' | 'md' | 'sm' | 'hidden';\n\nconst FieldsetLegendTitle = ({ titleSize, titleValue }) => {\n return (\n <>\n {titleSize === 'hidden' ? (\n <FieldsetLegend>\n <VisuallyHidden>{titleValue}</VisuallyHidden>\n </FieldsetLegend>\n ) : (\n <FieldsetLegend size={titleSize}>{titleValue}</FieldsetLegend>\n )}\n </>\n );\n};\n\n// export const ThemeOptions = () => {\nexport const ThemeOptions = React.forwardRef<\n HTMLFormElement,\n ThemeOptionsProps\n>(function ThemeOptions(\n {\n colorsOption = true,\n fontSizeOption = true,\n lineHeightOption = true,\n letterSpacingOption = true,\n highlightLinksOption = true,\n\n colorsOptionTitleSize = 'sm',\n fontSizeOptionTitleSize = 'sm',\n lineHeightOptionTitleSize = 'sm',\n letterSpacingOptionTitleSize = 'sm',\n highlightLinksOptionTitleSize = 'sm',\n\n className,\n ...props\n },\n ref\n) {\n const [theme, changeTheme] = useTheme();\n const [selectedTheme, setSelectedTheme] = useState<ThemeSelectOptions>(\n theme || 'auto'\n );\n const [fontSize, changeFontSize] = useFontSize();\n const [selectedFontSize, setSelectedFontSize] = useState<FontSizeOptions>(\n fontSize || 'default'\n );\n const [lineHeight, changeLineHeight] = useLineHeight();\n const [selectedLineHeight, setSelectedLineHeight] = useState<\n LineHeightOptions\n >(lineHeight || 'default');\n const [letterSpacing, changeLetterSpacing] = useLetterSpacing();\n const [selectedLetterSpacing, setSelectedLetterSpacing] = useState<\n LetterSpacingOptions\n >(letterSpacing || 'default');\n\n const [highlightLinks, changeHighlightLinks] = useHighlightLinks();\n const [selectedHighlightLinks, setSelectedHighlightLinks] = useState<\n HighlightLinksOptions\n >(highlightLinks || 'default');\n\n function handleOptions() {\n changeTheme(selectedTheme);\n changeFontSize(selectedFontSize);\n changeLineHeight(selectedLineHeight);\n changeLetterSpacing(selectedLetterSpacing);\n changeHighlightLinks(selectedHighlightLinks);\n }\n function resetOptions() {\n setSelectedTheme('light');\n setSelectedFontSize('default');\n setSelectedLineHeight('default');\n setSelectedLetterSpacing('default');\n setSelectedHighlightLinks('default');\n }\n function optionsHasChanged() {\n if (\n theme != selectedTheme ||\n fontSize != selectedFontSize ||\n lineHeight != selectedLineHeight ||\n letterSpacing != selectedLetterSpacing ||\n highlightLinks != selectedHighlightLinks\n ) {\n return true;\n } else {\n return false;\n }\n }\n\n return (\n <Form {...props} ref={ref} className={clsx(className)}>\n {colorsOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegendTitle\n titleSize={colorsOptionTitleSize}\n titleValue=\"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B8\u03AD\u03BC\u03B1\u03C4\u03BF\u03C2\"\n />\n <RadioContainer>\n <RadioItem\n name=\"theme_mode\"\n value=\"light\"\n onChange={() => setSelectedTheme('light')}\n checked={selectedTheme === 'light'}\n >\n \u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC \u03B8\u03AD\u03BC\u03B1\n </RadioItem>\n <RadioItem\n name=\"theme_mode\"\n value=\"dark\"\n onChange={() => setSelectedTheme('dark')}\n checked={selectedTheme === 'dark'}\n >\n \u03A3\u03BA\u03BF\u03CD\u03C1\u03BF \u03B8\u03AD\u03BC\u03B1\n </RadioItem>\n <RadioItem\n name=\"theme_mode\"\n value=\"auto\"\n onChange={() => setSelectedTheme('auto')}\n checked={selectedTheme === 'auto'}\n >\n \u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03C3\u03C5\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03BF\u03C2\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {fontSizeOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u039C\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AC\u03C4\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"font-size\"\n value=\"no\"\n onChange={() => setSelectedFontSize('default')}\n checked={selectedFontSize === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03CC (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"font-size\"\n value=\"yes\"\n onChange={() => {\n setSelectedFontSize('large');\n }}\n checked={selectedFontSize === 'large'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03BF\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {lineHeightOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u038E\u03C8\u03BF\u03C2 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AE\u03C2 \u03BA\u03B5\u03B9\u03BC\u03AD\u03BD\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"line-height\"\n value=\"no\"\n onChange={() => setSelectedLineHeight('default')}\n checked={selectedLineHeight === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03CC (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"line-height\"\n value=\"yes\"\n onChange={() => {\n setSelectedLineHeight('large');\n }}\n checked={selectedLineHeight === 'large'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03BF\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {letterSpacingOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u0391\u03C0\u03CC\u03C3\u03C4\u03B1\u03C3\u03B7 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AC\u03C4\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"letter-spacing\"\n value=\"no\"\n onChange={() => setSelectedLetterSpacing('default')}\n checked={selectedLetterSpacing === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"letter-spacing\"\n value=\"yes\"\n onChange={() => {\n setSelectedLetterSpacing('extra');\n }}\n checked={selectedLetterSpacing === 'extra'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03B7\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {highlightLinksOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u0388\u03BD\u03C4\u03BF\u03BD\u03B7 \u03B5\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7 \u03C3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BC\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"highlight-links\"\n value=\"no\"\n onChange={() => setSelectedHighlightLinks('default')}\n checked={selectedHighlightLinks === 'default'}\n >\n \u038C\u03C7\u03B9 (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"highlight-links\"\n value=\"yes\"\n onChange={() => {\n setSelectedHighlightLinks('highlight');\n }}\n checked={selectedHighlightLinks === 'highlight'}\n >\n \u039D\u03B1\u03B9\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n <Button onClick={resetOptions} variant=\"link\">\n \u0395\u03C0\u03B1\u03BD\u03B1\u03C6\u03BF\u03C1\u03AC \u03CC\u03BB\u03C9\u03BD \u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD\n </Button>\n <SectionBreak visible={false} />\n <Button onClick={handleOptions} disabled={!optionsHasChanged()}>\n \u0395\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE\n </Button>\n </Form>\n );\n});\nexport default ThemeOptions;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgC;AAChC,kBAAiB;AAEjB,yBAEO;AACP,+BAEO;AACP,8BAEO;AACP,2BAEO;AACP,sBAA6C;AAC7C,oBAAmB;AACnB,4BAGO;AACP,kBAAiB;AACjB,4BAA0C;AAC1C,0BAAyB;AAEzB,4BAA+B;AAkB/B,MAAM,sBAAsB,CAAC,EAAE,WAAW,WAAW,MAAM;AACzD,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACG,cAAc,WACb,6BAAAA,QAAA,cAAC,4CACC,6BAAAA,QAAA,cAAC,4CAAgB,UAAW,CAC9B,IAEA,6BAAAA,QAAA,cAAC,wCAAe,MAAM,aAAY,UAAW,CAEjD;AAEJ;AAGO,MAAM,eAAe,aAAAA,QAAM,WAGhC,SAASC,cACT;AAAA,EACE,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EAEvB,wBAAwB;AAAA,EACxB,0BAA0B;AAAA,EAC1B,4BAA4B;AAAA,EAC5B,+BAA+B;AAAA,EAC/B,gCAAgC;AAAA,EAEhC;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,CAAC,OAAO,WAAW,QAAI,gBAAAC,SAAS;AACtC,QAAM,CAAC,eAAe,gBAAgB,QAAI;AAAA,IACxC,SAAS;AAAA,EACX;AACA,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A,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,OAAM;AAAA,MACN,UAAU,MAAM;AACd,kCAA0B,WAAW;AAAA,MACvC;AAAA,MACA,SAAS,2BAA2B;AAAA;AAAA,IACrC;AAAA,EAED,CACF,CACF,CACF,GAEF,6BAAAA,QAAA,cAAC,cAAAU,SAAA,EAAO,SAAS,cAAc,SAAQ,UAAO,qJAE9C,GACA,6BAAAV,QAAA,cAAC,oBAAAW,SAAA,EAAa,SAAS,OAAO,GAC9B,6BAAAX,QAAA,cAAC,cAAAU,SAAA,EAAO,SAAS,eAAe,UAAU,CAAC,kBAAkB,KAAG,kDAEhE,CACF;AAEJ,CAAC;AACD,IAAO,uBAAQ;",
4
+ "sourcesContent": ["import React, { useState } from 'react';\nimport clsx from 'clsx';\nimport { BaseProps } from '@digigov/react-core/Base';\nimport useFontSize, {\n FontSizeOptions,\n} from '@digigov/ui/app/hooks/useFontSize';\nimport useHighlightLinks, {\n HighlightLinksOptions,\n} from '@digigov/ui/app/hooks/useHighlightLinks';\nimport useLetterSpacing, {\n LetterSpacingOptions,\n} from '@digigov/ui/app/hooks/useLetterSpacing';\nimport useLineHeight, {\n LineHeightOptions,\n} from '@digigov/ui/app/hooks/useLineHeight';\nimport useTheme, { ThemeSelectOptions } from '@digigov/ui/app/hooks/useTheme';\nimport Button from '@digigov/ui/form/Button';\nimport FieldContainer, {\n Fieldset,\n FieldsetLegend,\n} from '@digigov/ui/form/FieldContainer';\nimport Form from '@digigov/ui/form/Form';\nimport { RadioContainer, RadioItem } from '@digigov/ui/form/RadioContainer';\nimport SectionBreak from '@digigov/ui/layouts/SectionBreak';\n\nimport { VisuallyHidden } from '@digigov/ui/utils/VisuallyHidden';\n\nexport interface ThemeOptionsProps extends BaseProps<'form'> {\n colorsOption?: boolean;\n fontSizeOption?: boolean;\n lineHeightOption?: boolean;\n letterSpacingOption?: boolean;\n highlightLinksOption?: boolean;\n\n colorsOptionTitleSize?: TitleSize;\n fontSizeOptionTitleSize?: TitleSize;\n lineHeightOptionTitleSize?: TitleSize;\n letterSpacingOptionTitleSize?: TitleSize;\n highlightLinksOptionTitleSize?: TitleSize;\n}\n\ntype TitleSize = 'xl' | 'lg' | 'md' | 'sm' | 'hidden';\n\nconst FieldsetLegendTitle = ({ titleSize, titleValue }) => {\n return (\n <>\n {titleSize === 'hidden' ? (\n <FieldsetLegend>\n <VisuallyHidden>{titleValue}</VisuallyHidden>\n </FieldsetLegend>\n ) : (\n <FieldsetLegend size={titleSize}>{titleValue}</FieldsetLegend>\n )}\n </>\n );\n};\n\n// export const ThemeOptions = () => {\nexport const ThemeOptions = React.forwardRef<\n HTMLFormElement,\n ThemeOptionsProps\n>(function ThemeOptions(\n {\n colorsOption = true,\n fontSizeOption = true,\n lineHeightOption = true,\n letterSpacingOption = true,\n highlightLinksOption = true,\n colorsOptionTitleSize = 'sm',\n className,\n ...props\n },\n ref\n) {\n const [theme, changeTheme] = useTheme();\n const [selectedTheme, setSelectedTheme] = useState<ThemeSelectOptions>(\n theme || 'auto'\n );\n const [fontSize, changeFontSize] = useFontSize();\n const [selectedFontSize, setSelectedFontSize] = useState<FontSizeOptions>(\n fontSize || 'default'\n );\n const [lineHeight, changeLineHeight] = useLineHeight();\n const [selectedLineHeight, setSelectedLineHeight] =\n useState<LineHeightOptions>(lineHeight || 'default');\n const [letterSpacing, changeLetterSpacing] = useLetterSpacing();\n const [selectedLetterSpacing, setSelectedLetterSpacing] =\n useState<LetterSpacingOptions>(letterSpacing || 'default');\n\n const [highlightLinks, changeHighlightLinks] = useHighlightLinks();\n const [selectedHighlightLinks, setSelectedHighlightLinks] =\n useState<HighlightLinksOptions>(highlightLinks || 'default');\n\n function handleOptions() {\n changeTheme(selectedTheme);\n changeFontSize(selectedFontSize);\n changeLineHeight(selectedLineHeight);\n changeLetterSpacing(selectedLetterSpacing);\n changeHighlightLinks(selectedHighlightLinks);\n }\n function resetOptions() {\n setSelectedTheme('light');\n setSelectedFontSize('default');\n setSelectedLineHeight('default');\n setSelectedLetterSpacing('default');\n setSelectedHighlightLinks('default');\n }\n function optionsHasChanged() {\n if (\n theme != selectedTheme ||\n fontSize != selectedFontSize ||\n lineHeight != selectedLineHeight ||\n letterSpacing != selectedLetterSpacing ||\n highlightLinks != selectedHighlightLinks\n ) {\n return true;\n } else {\n return false;\n }\n }\n\n return (\n <Form {...props} ref={ref} className={clsx(className)}>\n {colorsOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegendTitle\n titleSize={colorsOptionTitleSize}\n titleValue=\"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B8\u03AD\u03BC\u03B1\u03C4\u03BF\u03C2\"\n />\n <RadioContainer>\n <RadioItem\n name=\"theme_mode\"\n value=\"light\"\n onChange={() => setSelectedTheme('light')}\n checked={selectedTheme === 'light'}\n >\n \u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC \u03B8\u03AD\u03BC\u03B1\n </RadioItem>\n <RadioItem\n name=\"theme_mode\"\n value=\"dark\"\n onChange={() => setSelectedTheme('dark')}\n checked={selectedTheme === 'dark'}\n >\n \u03A3\u03BA\u03BF\u03CD\u03C1\u03BF \u03B8\u03AD\u03BC\u03B1\n </RadioItem>\n <RadioItem\n name=\"theme_mode\"\n value=\"auto\"\n onChange={() => setSelectedTheme('auto')}\n checked={selectedTheme === 'auto'}\n >\n \u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03C3\u03C5\u03C3\u03C4\u03AE\u03BC\u03B1\u03C4\u03BF\u03C2\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {fontSizeOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u039C\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AC\u03C4\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"font-size\"\n value=\"no\"\n onChange={() => setSelectedFontSize('default')}\n checked={selectedFontSize === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03CC (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"font-size\"\n value=\"yes\"\n onChange={() => {\n setSelectedFontSize('large');\n }}\n checked={selectedFontSize === 'large'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03BF\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {lineHeightOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u038E\u03C8\u03BF\u03C2 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AE\u03C2 \u03BA\u03B5\u03B9\u03BC\u03AD\u03BD\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"line-height\"\n value=\"no\"\n onChange={() => setSelectedLineHeight('default')}\n checked={selectedLineHeight === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03CC (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"line-height\"\n value=\"yes\"\n onChange={() => {\n setSelectedLineHeight('large');\n }}\n checked={selectedLineHeight === 'large'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03BF\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {letterSpacingOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u0391\u03C0\u03CC\u03C3\u03C4\u03B1\u03C3\u03B7 \u03B3\u03C1\u03B1\u03BC\u03BC\u03AC\u03C4\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"letter-spacing\"\n value=\"no\"\n onChange={() => setSelectedLetterSpacing('default')}\n checked={selectedLetterSpacing === 'default'}\n >\n \u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"letter-spacing\"\n value=\"yes\"\n onChange={() => {\n setSelectedLetterSpacing('extra');\n }}\n checked={selectedLetterSpacing === 'extra'}\n >\n \u039C\u03B5\u03B3\u03B1\u03BB\u03CD\u03C4\u03B5\u03C1\u03B7\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n {highlightLinksOption && (\n <FieldContainer marginBottom={4}>\n <Fieldset>\n <FieldsetLegend size=\"sm\">\u0388\u03BD\u03C4\u03BF\u03BD\u03B7 \u03B5\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7 \u03C3\u03C5\u03BD\u03B4\u03AD\u03C3\u03BC\u03C9\u03BD</FieldsetLegend>\n <RadioContainer layout=\"horizontal\">\n <RadioItem\n name=\"highlight-links\"\n value=\"no\"\n onChange={() => setSelectedHighlightLinks('default')}\n checked={selectedHighlightLinks === 'default'}\n >\n \u038C\u03C7\u03B9 (\u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE)\n </RadioItem>\n <RadioItem\n name=\"highlight-links\"\n value=\"yes\"\n onChange={() => {\n setSelectedHighlightLinks('highlight');\n }}\n checked={selectedHighlightLinks === 'highlight'}\n >\n \u039D\u03B1\u03B9\n </RadioItem>\n </RadioContainer>\n </Fieldset>\n </FieldContainer>\n )}\n <Button onClick={resetOptions} variant=\"link\">\n \u0395\u03C0\u03B1\u03BD\u03B1\u03C6\u03BF\u03C1\u03AC \u03CC\u03BB\u03C9\u03BD \u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD\n </Button>\n <SectionBreak visible={false} />\n <Button onClick={handleOptions} disabled={!optionsHasChanged()}>\n \u0395\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE\n </Button>\n </Form>\n );\n});\nexport default ThemeOptions;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgC;AAChC,kBAAiB;AAEjB,yBAEO;AACP,+BAEO;AACP,8BAEO;AACP,2BAEO;AACP,sBAA6C;AAC7C,oBAAmB;AACnB,4BAGO;AACP,kBAAiB;AACjB,4BAA0C;AAC1C,0BAAyB;AAEzB,4BAA+B;AAkB/B,MAAM,sBAAsB,CAAC,EAAE,WAAW,WAAW,MAAM;AACzD,SACE,6BAAAA,QAAA,2BAAAA,QAAA,gBACG,cAAc,WACb,6BAAAA,QAAA,cAAC,4CACC,6BAAAA,QAAA,cAAC,4CAAgB,UAAW,CAC9B,IAEA,6BAAAA,QAAA,cAAC,wCAAe,MAAM,aAAY,UAAW,CAEjD;AAEJ;AAGO,MAAM,eAAe,aAAAA,QAAM,WAGhC,SAASC,cACT;AAAA,EACE,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,CAAC,OAAO,WAAW,QAAI,gBAAAC,SAAS;AACtC,QAAM,CAAC,eAAe,gBAAgB,QAAI;AAAA,IACxC,SAAS;AAAA,EACX;AACA,QAAM,CAAC,UAAU,cAAc,QAAI,mBAAAC,SAAY;AAC/C,QAAM,CAAC,kBAAkB,mBAAmB,QAAI;AAAA,IAC9C,YAAY;AAAA,EACd;AACA,QAAM,CAAC,YAAY,gBAAgB,QAAI,qBAAAC,SAAc;AACrD,QAAM,CAAC,oBAAoB,qBAAqB,QAC9C,uBAA4B,cAAc,SAAS;AACrD,QA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AAc,SAAQ,UAAO,qJAE9C,GACA,6BAAAV,QAAA,cAAC,oBAAAW,SAAA,EAAa,SAAS,OAAO,GAC9B,6BAAAX,QAAA,cAAC,cAAAU,SAAA,EAAO,SAAS,eAAe,UAAU,CAAC,kBAAkB,KAAG,kDAEhE,CACF;AAEJ,CAAC;AACD,IAAO,uBAAQ;",
6
6
  "names": ["React", "ThemeOptions", "useTheme", "useFontSize", "useLineHeight", "useLetterSpacing", "useHighlightLinks", "Form", "clsx", "FieldContainer", "Button", "SectionBreak"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/app/hooks/useHighlightLinks.ts"],
4
- "sourcesContent": ["import { useState, useEffect } from 'react';\n\nexport type HighlightLinksOptions = 'default' | 'highlight';\nexport type StoredHighlightLinksOptions = HighlightLinksOptions | null;\n\nexport type UseHighlightLinksResult = [\n HighlightLinksOptions,\n (selectedHighlightLinks: HighlightLinksOptions) => void\n];\n\nexport const useHighlightLinks = (): UseHighlightLinksResult => {\n const storedHighlightLinks = localStorage.getItem(\n '--theme-highlight-links'\n ) as StoredHighlightLinksOptions;\n\n const [highlightLinks, changeHighlightLinks] = useState<\n HighlightLinksOptions\n >(storedHighlightLinks || 'default');\n\n useEffect(() => {\n if (highlightLinks === 'highlight') {\n document.documentElement.classList.add(`ds-highlight-links`);\n } else {\n document.documentElement.classList.remove(`ds-highlight-links`);\n }\n localStorage.setItem('--theme-highlight-links', highlightLinks);\n }, [highlightLinks]);\n\n useEffect(() => {\n const beforePrintListener = () => {\n document.documentElement.classList.remove(`ds-highlight-links`);\n };\n const afterPrintListener = () => {\n document.documentElement.classList.add(\n localStorage.getItem('--theme-highlight-links') === 'highlight'\n ? `ds-highlight-links`\n : ''\n );\n };\n window.addEventListener('beforeprint', beforePrintListener);\n window.addEventListener('afterprint', afterPrintListener);\n return () => {\n window.removeEventListener('beforeprint', beforePrintListener);\n window.removeEventListener('afterprint', afterPrintListener);\n };\n }, []);\n\n return [highlightLinks, changeHighlightLinks];\n};\n\nexport default useHighlightLinks;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAoC;AAU7B,MAAM,oBAAoB,MAA+B;AAC9D,QAAM,uBAAuB,aAAa;AAAA,IACxC;AAAA,EACF;AAEA,QAAM,CAAC,gBAAgB,oBAAoB,QAAI,uBAE7C,wBAAwB,SAAS;AAEnC,8BAAU,MAAM;AACd,QAAI,mBAAmB,aAAa;AAClC,eAAS,gBAAgB,UAAU,IAAI,oBAAoB;AAAA,IAC7D,OAAO;AACL,eAAS,gBAAgB,UAAU,OAAO,oBAAoB;AAAA,IAChE;AACA,iBAAa,QAAQ,2BAA2B,cAAc;AAAA,EAChE,GAAG,CAAC,cAAc,CAAC;AAEnB,8BAAU,MAAM;AACd,UAAM,sBAAsB,MAAM;AAChC,eAAS,gBAAgB,UAAU,OAAO,oBAAoB;AAAA,IAChE;AACA,UAAM,qBAAqB,MAAM;AAC/B,eAAS,gBAAgB,UAAU;AAAA,QACjC,aAAa,QAAQ,yBAAyB,MAAM,cAChD,uBACA;AAAA,MACN;AAAA,IACF;AACA,WAAO,iBAAiB,eAAe,mBAAmB;AAC1D,WAAO,iBAAiB,cAAc,kBAAkB;AACxD,WAAO,MAAM;AACX,aAAO,oBAAoB,eAAe,mBAAmB;AAC7D,aAAO,oBAAoB,cAAc,kBAAkB;AAAA,IAC7D;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SAAO,CAAC,gBAAgB,oBAAoB;AAC9C;AAEA,IAAO,4BAAQ;",
4
+ "sourcesContent": ["import { useState, useEffect } from 'react';\n\nexport type HighlightLinksOptions = 'default' | 'highlight';\nexport type StoredHighlightLinksOptions = HighlightLinksOptions | null;\n\nexport type UseHighlightLinksResult = [\n HighlightLinksOptions,\n (selectedHighlightLinks: HighlightLinksOptions) => void,\n];\n\nexport const useHighlightLinks = (): UseHighlightLinksResult => {\n const storedHighlightLinks = localStorage.getItem(\n '--theme-highlight-links'\n ) as StoredHighlightLinksOptions;\n\n const [highlightLinks, changeHighlightLinks] =\n useState<HighlightLinksOptions>(storedHighlightLinks || 'default');\n\n useEffect(() => {\n if (highlightLinks === 'highlight') {\n document.documentElement.classList.add(`ds-highlight-links`);\n } else {\n document.documentElement.classList.remove(`ds-highlight-links`);\n }\n localStorage.setItem('--theme-highlight-links', highlightLinks);\n }, [highlightLinks]);\n\n useEffect(() => {\n const beforePrintListener = () => {\n document.documentElement.classList.remove(`ds-highlight-links`);\n };\n const afterPrintListener = () => {\n document.documentElement.classList.add(\n localStorage.getItem('--theme-highlight-links') === 'highlight'\n ? `ds-highlight-links`\n : ''\n );\n };\n window.addEventListener('beforeprint', beforePrintListener);\n window.addEventListener('afterprint', afterPrintListener);\n return () => {\n window.removeEventListener('beforeprint', beforePrintListener);\n window.removeEventListener('afterprint', afterPrintListener);\n };\n }, []);\n\n return [highlightLinks, changeHighlightLinks];\n};\n\nexport default useHighlightLinks;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAoC;AAU7B,MAAM,oBAAoB,MAA+B;AAC9D,QAAM,uBAAuB,aAAa;AAAA,IACxC;AAAA,EACF;AAEA,QAAM,CAAC,gBAAgB,oBAAoB,QACzC,uBAAgC,wBAAwB,SAAS;AAEnE,8BAAU,MAAM;AACd,QAAI,mBAAmB,aAAa;AAClC,eAAS,gBAAgB,UAAU,IAAI,oBAAoB;AAAA,IAC7D,OAAO;AACL,eAAS,gBAAgB,UAAU,OAAO,oBAAoB;AAAA,IAChE;AACA,iBAAa,QAAQ,2BAA2B,cAAc;AAAA,EAChE,GAAG,CAAC,cAAc,CAAC;AAEnB,8BAAU,MAAM;AACd,UAAM,sBAAsB,MAAM;AAChC,eAAS,gBAAgB,UAAU,OAAO,oBAAoB;AAAA,IAChE;AACA,UAAM,qBAAqB,MAAM;AAC/B,eAAS,gBAAgB,UAAU;AAAA,QACjC,aAAa,QAAQ,yBAAyB,MAAM,cAChD,uBACA;AAAA,MACN;AAAA,IACF;AACA,WAAO,iBAAiB,eAAe,mBAAmB;AAC1D,WAAO,iBAAiB,cAAc,kBAAkB;AACxD,WAAO,MAAM;AACX,aAAO,oBAAoB,eAAe,mBAAmB;AAC7D,aAAO,oBAAoB,cAAc,kBAAkB;AAAA,IAC7D;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,SAAO,CAAC,gBAAgB,oBAAoB;AAC9C;AAEA,IAAO,4BAAQ;",
6
6
  "names": []
7
7
  }