@digigov/ui 2.0.0-cbc56209 → 2.0.0-d2ffc726

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 (3382) hide show
  1. package/app/App/index.js +11 -10
  2. package/app/App.js.map +7 -0
  3. package/app/BannerContainer/BannerContainer.stories.d.ts +1 -1
  4. package/app/BannerContainer/__stories__/CookiesBanner.d.ts +2 -2
  5. package/app/BannerContainer/index.js +7 -3
  6. package/app/BannerContainer/index.js.map +7 -0
  7. package/app/BannerContainer/index.test.d.ts +1 -0
  8. package/app/BottomInfo/index.js +9 -5
  9. package/app/BottomInfo/index.js.map +7 -0
  10. package/app/CloseButton/index.js +7 -3
  11. package/app/CloseButton/index.js.map +7 -0
  12. package/app/FilterContainer/index.js +15 -11
  13. package/app/FilterContainer/index.js.map +7 -0
  14. package/app/Footer/Footer.stories.d.ts +53 -9
  15. package/app/Footer/FooterLink/index.js +17 -0
  16. package/app/Footer/FooterLink/package.json +6 -0
  17. package/app/Footer/FooterLink.d.ts +7 -0
  18. package/app/Footer/FooterLink.js.map +7 -0
  19. package/app/Footer/__stories__/Default.d.ts +2 -2
  20. package/app/Footer/__stories__/DefaultCopyright.d.ts +2 -2
  21. package/app/Footer/__stories__/FooterAllInclusive.d.ts +2 -2
  22. package/app/Footer/__stories__/FooterWithLink.d.ts +2 -2
  23. package/app/Footer/__stories__/FooterWithLogo.d.ts +2 -2
  24. package/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +2 -2
  25. package/app/Footer/__stories__/FooterWithText.d.ts +2 -2
  26. package/app/Footer/__stories__/YearCopyright.d.ts +2 -2
  27. package/app/Footer/index.d.ts +1 -1
  28. package/app/Footer/index.js +19 -15
  29. package/app/Footer/index.js.map +7 -0
  30. package/app/Footer/index.test.d.ts +1 -0
  31. package/app/Footer/interaction.test.d.ts +1 -0
  32. package/app/Header/Header.stories.d.ts +57 -6
  33. package/app/Header/HeaderContent/index.js +7 -3
  34. package/app/Header/HeaderContent.js.map +7 -0
  35. package/app/Header/HeaderLogo/index.js +17 -3
  36. package/app/Header/HeaderLogo.d.ts +6 -2
  37. package/app/Header/HeaderLogo.js.map +7 -0
  38. package/app/Header/HeaderNavMenuContent/index.js +7 -3
  39. package/app/Header/HeaderNavMenuContent.js.map +7 -0
  40. package/app/Header/HeaderSecondaryLogo/index.js +15 -3
  41. package/app/Header/HeaderSecondaryLogo.d.ts +6 -2
  42. package/app/Header/HeaderSecondaryLogo.js.map +7 -0
  43. package/app/Header/HeaderSection/index.js +7 -3
  44. package/app/Header/HeaderSection.js.map +7 -0
  45. package/app/Header/HeaderTitle/index.js +15 -3
  46. package/app/Header/HeaderTitle.d.ts +6 -2
  47. package/app/Header/HeaderTitle.js.map +7 -0
  48. package/app/Header/__stories__/Default.d.ts +2 -2
  49. package/app/Header/__stories__/WithHeaderNavigation.d.ts +2 -2
  50. package/app/Header/__stories__/WithNavigation.d.ts +2 -2
  51. package/app/Header/__stories__/WithServiceName.d.ts +2 -2
  52. package/app/Header/__stories__/WithServiceNameAndLogo.d.ts +2 -2
  53. package/app/Header/index.js +13 -9
  54. package/app/Header/index.js.map +7 -0
  55. package/app/Header/index.test.d.ts +1 -0
  56. package/app/Header/interaction.test.d.ts +1 -0
  57. package/app/Loader/Loader.stories.d.ts +47 -2
  58. package/app/Loader/__stories__/AccessibilityLoader.d.ts +3 -0
  59. package/app/Loader/__stories__/Default.d.ts +2 -2
  60. package/app/Loader/__stories__/FullPageLoader.d.ts +3 -0
  61. package/app/Loader/__stories__/Secondary.d.ts +3 -0
  62. package/app/Loader/__stories__/Sizes.d.ts +3 -0
  63. package/app/Loader/index.d.ts +1 -1
  64. package/app/Loader/index.js +9 -5
  65. package/app/Loader/index.js.map +7 -0
  66. package/app/Loader/index.native/index.js +102 -0
  67. package/app/Loader/index.native/package.json +6 -0
  68. package/app/Loader/index.native.d.ts +3 -0
  69. package/app/Loader/index.native.js.map +7 -0
  70. package/app/Loader/index.test.d.ts +1 -0
  71. package/app/Loader/index.web/index.js +18 -0
  72. package/app/Loader/index.web/package.json +6 -0
  73. package/app/Loader/index.web.d.ts +19 -0
  74. package/app/Loader/index.web.js.map +7 -0
  75. package/app/Masthead/Masthead.stories.d.ts +34 -4
  76. package/app/Masthead/__stories__/Default.d.ts +2 -2
  77. package/app/Masthead/__stories__/Secondary.d.ts +3 -0
  78. package/app/Masthead/__stories__/WithElements.d.ts +2 -2
  79. package/app/Masthead/__stories__/WithLogo.d.ts +2 -2
  80. package/app/Masthead/index.js +9 -5
  81. package/app/Masthead/index.js.map +7 -0
  82. package/app/Masthead/index.test.d.ts +1 -0
  83. package/app/Masthead/interaction.test.d.ts +1 -0
  84. package/app/Modal/Modal.stories.d.ts +28 -6
  85. package/app/Modal/__stories__/AlertDialog.d.ts +2 -2
  86. package/app/Modal/__stories__/Auto.d.ts +2 -2
  87. package/app/Modal/__stories__/Default.d.ts +2 -2
  88. package/app/Modal/__stories__/Dense.d.ts +2 -2
  89. package/app/Modal/__stories__/WithHooks.d.ts +2 -2
  90. package/app/Modal/__stories__/WithoutModalGaps.d.ts +3 -0
  91. package/app/Modal/auto/index.js +49 -53
  92. package/app/Modal/auto.d.ts +4 -4
  93. package/app/Modal/auto.js.map +7 -0
  94. package/app/Modal/hooks/index.js +56 -53
  95. package/app/Modal/hooks.d.ts +2 -2
  96. package/app/Modal/hooks.js.map +7 -0
  97. package/app/Modal/index.d.ts +2 -8
  98. package/app/Modal/index.js +13 -58
  99. package/app/Modal/index.js.map +7 -0
  100. package/app/Modal/index.native/index.js +20 -0
  101. package/app/Modal/index.native/package.json +6 -0
  102. package/app/Modal/index.native.d.ts +7 -0
  103. package/app/Modal/index.native.js.map +7 -0
  104. package/app/Modal/index.test.d.ts +1 -0
  105. package/app/Modal/index.web/index.js +51 -0
  106. package/app/Modal/index.web/package.json +6 -0
  107. package/app/Modal/index.web.d.ts +8 -0
  108. package/app/Modal/index.web.js.map +7 -0
  109. package/app/Modal/interaction.test.d.ts +1 -0
  110. package/app/NotFound/NotFound.stories.d.ts +3 -1
  111. package/app/NotFound/__stories__/Default.d.ts +2 -2
  112. package/app/NotFound/index.js +14 -10
  113. package/app/NotFound/index.js.map +7 -0
  114. package/app/NotFound/index.test.d.ts +1 -0
  115. package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +283 -166
  116. package/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +7 -0
  117. package/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck/index.js +22 -20
  118. package/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.js.map +7 -0
  119. package/app/OutdatedBrowserBanner/index.d.ts +1 -1
  120. package/app/OutdatedBrowserBanner/index.js +17 -21
  121. package/app/OutdatedBrowserBanner/index.js.map +7 -0
  122. package/app/PageTitleContainer/index.js +9 -5
  123. package/app/PageTitleContainer/index.js.map +7 -0
  124. package/app/Panel/Panel.stories.d.ts +3 -1
  125. package/app/Panel/__stories__/Default.d.ts +2 -2
  126. package/app/Panel/index.js +9 -5
  127. package/app/Panel/index.js.map +7 -0
  128. package/app/Panel/index.test.d.ts +1 -0
  129. package/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +3 -1
  130. package/app/PhaseBannerHeader/__stories__/Default.d.ts +2 -2
  131. package/app/PhaseBannerHeader/index.d.ts +2 -2
  132. package/app/PhaseBannerHeader/index.js +14 -17
  133. package/app/PhaseBannerHeader/index.js.map +7 -0
  134. package/app/PhaseBannerHeader/index.test.d.ts +1 -0
  135. package/app/QrCodeScanner/QrCodeScanner.stories.d.ts +1 -1
  136. package/app/QrCodeScanner/__stories__/Default.d.ts +2 -2
  137. package/app/QrCodeScanner/index.d.ts +1 -0
  138. package/app/QrCodeScanner/index.js +49 -50
  139. package/app/QrCodeScanner/index.js.map +7 -0
  140. package/app/QrCodeViewer/QRCode.stories.d.ts +4 -2
  141. package/app/QrCodeViewer/__stories__/Custom.d.ts +2 -2
  142. package/app/QrCodeViewer/__stories__/Default.d.ts +2 -2
  143. package/app/QrCodeViewer/index.js +94 -97
  144. package/app/QrCodeViewer/index.js.map +7 -0
  145. package/app/QrCodeViewer/index.test.d.ts +1 -0
  146. package/app/QrCodeViewer/qrcodegen/index.js +993 -943
  147. package/app/QrCodeViewer/qrcodegen.js.map +7 -0
  148. package/app/QrCodeViewer/types/index.js +1 -1
  149. package/app/QrCodeViewer/types.d.ts +6 -6
  150. package/app/QrCodeViewer/types.js.map +7 -0
  151. package/app/QrCodeViewer/utils/index.js +42 -54
  152. package/app/QrCodeViewer/utils.js.map +7 -0
  153. package/app/Skeleton/Skeleton.stories.d.ts +75 -0
  154. package/app/Skeleton/__stories__/Button.d.ts +3 -0
  155. package/app/Skeleton/__stories__/Circular.d.ts +3 -0
  156. package/app/Skeleton/__stories__/Default.d.ts +3 -0
  157. package/app/Skeleton/__stories__/NoAnimation.d.ts +3 -0
  158. package/app/Skeleton/__stories__/Rectangular.d.ts +3 -0
  159. package/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +3 -0
  160. package/app/Skeleton/__stories__/TextSizes.d.ts +3 -0
  161. package/app/Skeleton/__stories__/UnderTypography.d.ts +3 -0
  162. package/app/Skeleton/__stories__/WithChildren.d.ts +3 -0
  163. package/app/Skeleton/index.d.ts +3 -0
  164. package/app/Skeleton/index.js +7 -0
  165. package/app/Skeleton/index.js.map +7 -0
  166. package/app/Skeleton/index.test.d.ts +1 -0
  167. package/app/Skeleton/package.json +6 -0
  168. package/app/ThemeOptions/index.d.ts +1 -1
  169. package/app/ThemeOptions/index.js +156 -206
  170. package/app/ThemeOptions/index.js.map +7 -0
  171. package/app/hooks/useFontSize/index.js +21 -7
  172. package/app/hooks/useFontSize.js.map +7 -0
  173. package/app/hooks/useHighlightLinks/index.js +29 -24
  174. package/app/hooks/useHighlightLinks.js.map +7 -0
  175. package/app/hooks/useLetterSpacing/index.js +17 -7
  176. package/app/hooks/useLetterSpacing.js.map +7 -0
  177. package/app/hooks/useLineHeight/index.js +21 -7
  178. package/app/hooks/useLineHeight.js.map +7 -0
  179. package/app/hooks/useNotificationArea/index.js +76 -0
  180. package/app/hooks/useNotificationArea/package.json +6 -0
  181. package/app/hooks/useNotificationArea.d.ts +1 -0
  182. package/app/hooks/useNotificationArea.js.map +7 -0
  183. package/app/hooks/useTheme/index.js +39 -30
  184. package/app/hooks/useTheme.js.map +7 -0
  185. package/app/hooks/useVariantVars/index.js +18 -17
  186. package/app/hooks/useVariantVars.js.map +7 -0
  187. package/app/index.js +17 -16
  188. package/app/index.js.map +7 -0
  189. package/cjs/app/App/index.js +43 -18
  190. package/cjs/app/App.js.map +7 -0
  191. package/cjs/app/BannerContainer/index.js +38 -13
  192. package/cjs/app/BannerContainer/index.js.map +7 -0
  193. package/cjs/app/BottomInfo/index.js +41 -38
  194. package/cjs/app/BottomInfo/index.js.map +7 -0
  195. package/cjs/app/CloseButton/index.js +39 -21
  196. package/cjs/app/CloseButton/index.js.map +7 -0
  197. package/cjs/app/FilterContainer/index.js +57 -119
  198. package/cjs/app/FilterContainer/index.js.map +7 -0
  199. package/cjs/app/Footer/FooterLink/index.js +50 -0
  200. package/cjs/app/Footer/FooterLink.js.map +7 -0
  201. package/cjs/app/Footer/index.js +63 -165
  202. package/cjs/app/Footer/index.js.map +7 -0
  203. package/cjs/app/Header/HeaderContent/index.js +38 -13
  204. package/cjs/app/Header/HeaderContent.js.map +7 -0
  205. package/cjs/app/Header/HeaderLogo/index.js +48 -21
  206. package/cjs/app/Header/HeaderLogo.js.map +7 -0
  207. package/cjs/app/Header/HeaderNavMenuContent/index.js +38 -13
  208. package/cjs/app/Header/HeaderNavMenuContent.js.map +7 -0
  209. package/cjs/app/Header/HeaderSecondaryLogo/index.js +46 -13
  210. package/cjs/app/Header/HeaderSecondaryLogo.js.map +7 -0
  211. package/cjs/app/Header/HeaderSection/index.js +39 -21
  212. package/cjs/app/Header/HeaderSection.js.map +7 -0
  213. package/cjs/app/Header/HeaderTitle/index.js +46 -21
  214. package/cjs/app/Header/HeaderTitle.js.map +7 -0
  215. package/cjs/app/Header/index.js +53 -95
  216. package/cjs/app/Header/index.js.map +7 -0
  217. package/cjs/app/Loader/index.js +43 -45
  218. package/cjs/app/Loader/index.js.map +7 -0
  219. package/cjs/app/Loader/index.native/index.js +135 -0
  220. package/cjs/app/Loader/index.native.js.map +7 -0
  221. package/cjs/app/Loader/index.web/index.js +53 -0
  222. package/cjs/app/Loader/index.web.js.map +7 -0
  223. package/cjs/app/Masthead/index.js +43 -45
  224. package/cjs/app/Masthead/index.js.map +7 -0
  225. package/cjs/app/Modal/auto/index.js +85 -62
  226. package/cjs/app/Modal/auto.js.map +7 -0
  227. package/cjs/app/Modal/hooks/index.js +88 -62
  228. package/cjs/app/Modal/hooks.js.map +7 -0
  229. package/cjs/app/Modal/index.js +51 -134
  230. package/cjs/app/Modal/index.js.map +7 -0
  231. package/cjs/app/Modal/index.native/index.js +53 -0
  232. package/cjs/app/Modal/index.native.js.map +7 -0
  233. package/cjs/app/Modal/index.web/index.js +85 -0
  234. package/cjs/app/Modal/index.web.js.map +7 -0
  235. package/cjs/app/NotFound/index.js +46 -16
  236. package/cjs/app/NotFound/index.js.map +7 -0
  237. package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion/index.js +305 -173
  238. package/cjs/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.js.map +7 -0
  239. package/cjs/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck/index.js +54 -27
  240. package/cjs/app/OutdatedBrowserBanner/hooks/useOutdatedBrowserCheck.js.map +7 -0
  241. package/cjs/app/OutdatedBrowserBanner/index.js +50 -41
  242. package/cjs/app/OutdatedBrowserBanner/index.js.map +7 -0
  243. package/cjs/app/PageTitleContainer/index.js +43 -45
  244. package/cjs/app/PageTitleContainer/index.js.map +7 -0
  245. package/cjs/app/Panel/index.js +43 -45
  246. package/cjs/app/Panel/index.js.map +7 -0
  247. package/cjs/app/PhaseBannerHeader/index.js +46 -23
  248. package/cjs/app/PhaseBannerHeader/index.js.map +7 -0
  249. package/cjs/app/QrCodeScanner/index.js +81 -61
  250. package/cjs/app/QrCodeScanner/index.js.map +7 -0
  251. package/cjs/app/QrCodeViewer/index.js +127 -112
  252. package/cjs/app/QrCodeViewer/index.js.map +7 -0
  253. package/cjs/app/QrCodeViewer/qrcodegen/index.js +1013 -948
  254. package/cjs/app/QrCodeViewer/qrcodegen.js.map +7 -0
  255. package/cjs/app/QrCodeViewer/types/index.js +16 -5
  256. package/cjs/app/QrCodeViewer/types.js.map +7 -0
  257. package/cjs/app/QrCodeViewer/utils/index.js +65 -60
  258. package/cjs/app/QrCodeViewer/utils.js.map +7 -0
  259. package/cjs/app/Skeleton/index.js +41 -0
  260. package/cjs/app/Skeleton/index.js.map +7 -0
  261. package/cjs/app/ThemeOptions/index.js +185 -215
  262. package/cjs/app/ThemeOptions/index.js.map +7 -0
  263. package/cjs/app/hooks/useFontSize/index.js +54 -14
  264. package/cjs/app/hooks/useFontSize.js.map +7 -0
  265. package/cjs/app/hooks/useHighlightLinks/index.js +51 -30
  266. package/cjs/app/hooks/useHighlightLinks.js.map +7 -0
  267. package/cjs/app/hooks/useLetterSpacing/index.js +50 -14
  268. package/cjs/app/hooks/useLetterSpacing.js.map +7 -0
  269. package/cjs/app/hooks/useLineHeight/index.js +54 -14
  270. package/cjs/app/hooks/useLineHeight.js.map +7 -0
  271. package/cjs/app/hooks/useNotificationArea/index.js +99 -0
  272. package/cjs/app/hooks/useNotificationArea.js.map +7 -0
  273. package/cjs/app/hooks/useTheme/index.js +61 -36
  274. package/cjs/app/hooks/useTheme.js.map +7 -0
  275. package/cjs/app/hooks/useVariantVars/index.js +36 -23
  276. package/cjs/app/hooks/useVariantVars.js.map +7 -0
  277. package/cjs/app/index.js +52 -181
  278. package/cjs/app/index.js.map +7 -0
  279. package/cjs/content/Accordion/auto/index.js +94 -61
  280. package/cjs/content/Accordion/auto.js.map +7 -0
  281. package/cjs/content/Accordion/hooks/index.js +142 -125
  282. package/cjs/content/Accordion/hooks.js.map +7 -0
  283. package/cjs/content/Accordion/index.js +53 -108
  284. package/cjs/content/Accordion/index.js.map +7 -0
  285. package/cjs/content/Blockquote/index.js +39 -21
  286. package/cjs/content/Blockquote/index.js.map +7 -0
  287. package/cjs/content/Card/index.js +45 -57
  288. package/cjs/content/Card/index.js.map +7 -0
  289. package/cjs/content/Chip/index.js +45 -57
  290. package/cjs/content/Chip/index.js.map +7 -0
  291. package/cjs/content/Details/index.js +43 -45
  292. package/cjs/content/Details/index.js.map +7 -0
  293. package/cjs/content/FillableText/index.js +41 -33
  294. package/cjs/content/FillableText/index.js.map +7 -0
  295. package/cjs/content/List/List/index.js +39 -21
  296. package/cjs/content/List/List.js.map +7 -0
  297. package/cjs/content/List/ListItem/index.js +38 -13
  298. package/cjs/content/List/ListItem.js.map +7 -0
  299. package/cjs/content/List/index.js +29 -33
  300. package/cjs/content/List/index.js.map +7 -0
  301. package/cjs/content/Markdown/index.js +48 -16
  302. package/cjs/content/Markdown/index.js.map +7 -0
  303. package/cjs/content/Markdown/useMarkdownToHTML/index.js +82 -63
  304. package/cjs/content/Markdown/useMarkdownToHTML.js.map +7 -0
  305. package/cjs/content/SafeHTML/index.js +101 -81
  306. package/cjs/content/SafeHTML/index.js.map +7 -0
  307. package/cjs/content/StepNav/auto/index.js +91 -60
  308. package/cjs/content/StepNav/auto.js.map +7 -0
  309. package/cjs/content/StepNav/index.js +71 -129
  310. package/cjs/content/StepNav/index.js.map +7 -0
  311. package/cjs/content/SummaryList/index.js +37 -66
  312. package/cjs/content/SummaryList/index.js.map +7 -0
  313. package/cjs/content/Table/TableFloatingScroll/index.js +90 -75
  314. package/cjs/content/Table/TableFloatingScroll.js.map +7 -0
  315. package/cjs/content/Table/hooks/useSort/index.js +39 -27
  316. package/cjs/content/Table/hooks/useSort.js.map +7 -0
  317. package/cjs/content/Table/index.js +151 -249
  318. package/cjs/content/Table/index.js.map +7 -0
  319. package/cjs/content/TaskList/index.js +47 -69
  320. package/cjs/content/TaskList/index.js.map +7 -0
  321. package/cjs/content/Timeline/index.js +47 -69
  322. package/cjs/content/Timeline/index.js.map +7 -0
  323. package/cjs/content/index.js +44 -137
  324. package/cjs/content/index.js.map +7 -0
  325. package/cjs/custom.d/index.js +1 -1
  326. package/cjs/custom.d.js.map +7 -0
  327. package/cjs/feedback/CopyToClipboard/index.js +74 -62
  328. package/cjs/feedback/CopyToClipboard/index.js.map +7 -0
  329. package/cjs/feedback/ErrorSummary/index.js +39 -21
  330. package/cjs/feedback/ErrorSummary/index.js.map +7 -0
  331. package/cjs/feedback/NotificationBanner/index.js +62 -60
  332. package/cjs/feedback/NotificationBanner/index.js.map +7 -0
  333. package/cjs/feedback/PhaseBanner/index.js +45 -57
  334. package/cjs/feedback/PhaseBanner/index.js.map +7 -0
  335. package/cjs/feedback/WarningText/index.js +42 -21
  336. package/cjs/feedback/WarningText/index.js.map +7 -0
  337. package/cjs/feedback/index.js +29 -59
  338. package/cjs/feedback/index.js.map +7 -0
  339. package/cjs/form/AutoComplete/Status/index.js +112 -135
  340. package/cjs/form/AutoComplete/Status/index.js.map +7 -0
  341. package/cjs/form/AutoComplete/__stories__/utils/index.js +1 -1
  342. package/cjs/form/AutoComplete/__stories__/utils.js.map +7 -0
  343. package/cjs/form/AutoComplete/index.js +638 -599
  344. package/cjs/form/AutoComplete/index.js.map +7 -0
  345. package/cjs/form/AutoComplete/utils/index.js +311 -34
  346. package/cjs/form/AutoComplete/utils.js.map +7 -0
  347. package/cjs/form/Button/ButtonLink/index.js +48 -21
  348. package/cjs/form/Button/ButtonLink.js.map +7 -0
  349. package/cjs/form/Button/CallToAction/index.js +46 -21
  350. package/cjs/form/Button/CallToAction.js.map +7 -0
  351. package/cjs/form/Button/ThemeToggleButton/index.js +71 -43
  352. package/cjs/form/Button/ThemeToggleButton.js.map +7 -0
  353. package/cjs/form/Button/index.js +56 -81
  354. package/cjs/form/Button/index.js.map +7 -0
  355. package/cjs/form/Checkbox/index.js +45 -45
  356. package/cjs/form/Checkbox/index.js.map +7 -0
  357. package/cjs/form/DateInputContainer/index.js +41 -33
  358. package/cjs/form/DateInputContainer/index.js.map +7 -0
  359. package/cjs/form/ErrorMessage/index.js +39 -21
  360. package/cjs/form/ErrorMessage/index.js.map +7 -0
  361. package/cjs/form/FieldContainer/index.js +43 -45
  362. package/cjs/form/FieldContainer/index.js.map +7 -0
  363. package/cjs/form/FileUpload/index.js +41 -33
  364. package/cjs/form/FileUpload/index.js.map +7 -0
  365. package/cjs/form/Form/index.js +38 -13
  366. package/cjs/form/Form/index.js.map +7 -0
  367. package/cjs/form/LabelContainer/index.js +41 -33
  368. package/cjs/form/LabelContainer/index.js.map +7 -0
  369. package/cjs/form/RadioContainer/index.js +45 -57
  370. package/cjs/form/RadioContainer/index.js.map +7 -0
  371. package/cjs/form/SearchContainer/index.js +43 -45
  372. package/cjs/form/SearchContainer/index.js.map +7 -0
  373. package/cjs/form/SelectContainer/index.js +41 -33
  374. package/cjs/form/SelectContainer/index.js.map +7 -0
  375. package/cjs/form/SingleCharacterInputs/index.js +41 -33
  376. package/cjs/form/SingleCharacterInputs/index.js.map +7 -0
  377. package/cjs/form/TextArea/index.js +39 -21
  378. package/cjs/form/TextArea/index.js.map +7 -0
  379. package/cjs/form/TextInput/index.js +39 -21
  380. package/cjs/form/TextInput/index.js.map +7 -0
  381. package/cjs/form/index.js +50 -170
  382. package/cjs/form/index.js.map +7 -0
  383. package/cjs/govgr/Footer/Copyright/index.js +78 -44
  384. package/cjs/govgr/Footer/Copyright.js.map +7 -0
  385. package/cjs/govgr/Footer/HellenicRepublicLogo/index.js +38 -13
  386. package/cjs/govgr/Footer/HellenicRepublicLogo.js.map +7 -0
  387. package/cjs/govgr/Footer/LicenseCCSA/index.js +53 -20
  388. package/cjs/govgr/Footer/LicenseCCSA.js.map +7 -0
  389. package/cjs/govgr/Footer/index.js +58 -24
  390. package/cjs/govgr/Footer/index.js.map +7 -0
  391. package/cjs/govgr/Footer/logo/index.js +23 -6
  392. package/cjs/govgr/Footer/logo.js.map +7 -0
  393. package/cjs/govgr/Footer/logos/logo-el/index.js +23 -6
  394. package/cjs/govgr/Footer/logos/logo-el.js.map +7 -0
  395. package/cjs/govgr/Footer/logos/logo-en/index.js +23 -6
  396. package/cjs/govgr/Footer/logos/logo-en.js.map +7 -0
  397. package/cjs/govgr/GovGRLogo/index.js +47 -12
  398. package/cjs/govgr/GovGRLogo/index.js.map +7 -0
  399. package/cjs/govgr/GovGRLogo/logo/index.js +23 -6
  400. package/cjs/govgr/GovGRLogo/logo.js.map +7 -0
  401. package/cjs/govgr/images/govgr-logo-base64/index.js +23 -6
  402. package/cjs/govgr/images/govgr-logo-base64.js.map +7 -0
  403. package/cjs/govgr/images/govgr-logo-blue-base64/index.js +23 -6
  404. package/cjs/govgr/images/govgr-logo-blue-base64.js.map +7 -0
  405. package/cjs/govgr/images/greek-government-base64/index.js +23 -6
  406. package/cjs/govgr/images/greek-government-base64.js.map +7 -0
  407. package/cjs/govgr/images/grnet-logo-base64/index.js +23 -6
  408. package/cjs/govgr/images/grnet-logo-base64.js.map +7 -0
  409. package/cjs/govgr/images/index.js +29 -59
  410. package/cjs/govgr/images/index.js.map +7 -0
  411. package/cjs/govgr/images/minedu-logo-base64/index.js +23 -6
  412. package/cjs/govgr/images/minedu-logo-base64.js.map +7 -0
  413. package/cjs/govgr/images/minedu-logo-black-base64/index.js +23 -6
  414. package/cjs/govgr/images/minedu-logo-black-base64.js.map +7 -0
  415. package/cjs/govgr/index.js +29 -59
  416. package/cjs/govgr/index.js.map +7 -0
  417. package/cjs/i18n/I18nText/index.js +71 -41
  418. package/cjs/i18n/I18nText.js.map +7 -0
  419. package/cjs/i18n/index.js +85 -38
  420. package/cjs/i18n/index.js.map +7 -0
  421. package/cjs/i18n/locales/el/index.js +149 -81
  422. package/cjs/i18n/locales/el.js.map +7 -0
  423. package/cjs/i18n/locales/en/index.js +145 -77
  424. package/cjs/i18n/locales/en.js.map +7 -0
  425. package/cjs/icons/Icon/index.js +43 -45
  426. package/cjs/icons/Icon/index.js.map +7 -0
  427. package/cjs/icons/IconBase/index.js +41 -0
  428. package/cjs/icons/IconBase/index.js.map +7 -0
  429. package/cjs/icons/ImageLogo/index.js +39 -21
  430. package/cjs/icons/ImageLogo/index.js.map +7 -0
  431. package/cjs/icons/ImageLogoSet/index.js +39 -21
  432. package/cjs/icons/ImageLogoSet/index.js.map +7 -0
  433. package/cjs/icons/SvgIcon/index.js +41 -0
  434. package/cjs/icons/SvgIcon/index.js.map +7 -0
  435. package/cjs/icons/index.js +75 -25
  436. package/cjs/icons/index.js.map +7 -0
  437. package/cjs/index.js +42 -126
  438. package/cjs/index.js.map +7 -0
  439. package/cjs/layouts/Admin/index.js +53 -95
  440. package/cjs/layouts/Admin/index.js.map +7 -0
  441. package/cjs/layouts/Basic/Aside/index.js +39 -21
  442. package/cjs/layouts/Basic/Aside/index.js.map +7 -0
  443. package/cjs/layouts/Basic/Bottom/index.js +39 -21
  444. package/cjs/layouts/Basic/Bottom/index.js.map +7 -0
  445. package/cjs/layouts/Basic/Container/index.js +39 -21
  446. package/cjs/layouts/Basic/Container/index.js.map +7 -0
  447. package/cjs/layouts/Basic/Main/index.js +39 -21
  448. package/cjs/layouts/Basic/Main/index.js.map +7 -0
  449. package/cjs/layouts/Basic/Top/index.js +39 -21
  450. package/cjs/layouts/Basic/Top/index.js.map +7 -0
  451. package/cjs/layouts/Basic/index.js +51 -95
  452. package/cjs/layouts/Basic/index.js.map +7 -0
  453. package/cjs/layouts/Grid/index.js +38 -13
  454. package/cjs/layouts/Grid/index.js.map +7 -0
  455. package/cjs/layouts/Hidden/index.js +40 -15
  456. package/cjs/layouts/Hidden/index.js.map +7 -0
  457. package/cjs/layouts/Screen/index.js +51 -23
  458. package/cjs/layouts/Screen/index.js.map +7 -0
  459. package/cjs/layouts/Section/index.js +39 -21
  460. package/cjs/layouts/Section/index.js.map +7 -0
  461. package/cjs/layouts/SectionBreak/index.js +39 -21
  462. package/cjs/layouts/SectionBreak/index.js.map +7 -0
  463. package/cjs/layouts/Stack/index.js +40 -8
  464. package/cjs/layouts/Stack/index.js.map +7 -0
  465. package/cjs/layouts/index.js +61 -115
  466. package/cjs/layouts/index.js.map +7 -0
  467. package/cjs/lazy.js +377 -0
  468. package/cjs/lazy.js.map +7 -0
  469. package/cjs/navigation/BackLink/index.js +48 -21
  470. package/cjs/navigation/BackLink/index.js.map +7 -0
  471. package/cjs/navigation/BackToTopLink/index.js +78 -89
  472. package/cjs/navigation/BackToTopLink/index.js.map +7 -0
  473. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +61 -0
  474. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  475. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItemLink/index.js +48 -0
  476. package/cjs/navigation/Breadcrumbs/BreadcrumbsListItemLink.js.map +7 -0
  477. package/cjs/navigation/Breadcrumbs/auto/index.js +79 -0
  478. package/cjs/navigation/Breadcrumbs/auto.js.map +7 -0
  479. package/cjs/navigation/Breadcrumbs/hooks/index.js +74 -0
  480. package/cjs/navigation/Breadcrumbs/hooks.js.map +7 -0
  481. package/cjs/navigation/Breadcrumbs/index.js +49 -45
  482. package/cjs/navigation/Breadcrumbs/index.js.map +7 -0
  483. package/cjs/navigation/Breadcrumbs/slug/index.js +120 -0
  484. package/cjs/navigation/Breadcrumbs/slug.js.map +7 -0
  485. package/cjs/navigation/Breadcrumbs/utils/index.js +52 -0
  486. package/cjs/navigation/Breadcrumbs/utils.js.map +7 -0
  487. package/cjs/navigation/Drawer/auto/index.js +100 -65
  488. package/cjs/navigation/Drawer/auto.js.map +7 -0
  489. package/cjs/navigation/Drawer/hooks/index.js +76 -50
  490. package/cjs/navigation/Drawer/hooks.js.map +7 -0
  491. package/cjs/navigation/Drawer/index.js +41 -45
  492. package/cjs/navigation/Drawer/index.js.map +7 -0
  493. package/cjs/navigation/Dropdown/index.js +117 -127
  494. package/cjs/navigation/Dropdown/index.js.map +7 -0
  495. package/cjs/navigation/Link/index.js +56 -37
  496. package/cjs/navigation/Link/index.js.map +7 -0
  497. package/cjs/navigation/NavList/Nav/index.js +39 -21
  498. package/cjs/navigation/NavList/Nav.js.map +7 -0
  499. package/cjs/navigation/NavList/NavList/index.js +39 -21
  500. package/cjs/navigation/NavList/NavList.js.map +7 -0
  501. package/cjs/navigation/NavList/NavListAuto/index.js +75 -50
  502. package/cjs/navigation/NavList/NavListAuto/index.js.map +7 -0
  503. package/cjs/navigation/NavList/NavListItemAction/index.js +66 -0
  504. package/cjs/navigation/NavList/NavListItemAction.js.map +7 -0
  505. package/cjs/navigation/NavList/NavListItemLink/index.js +48 -0
  506. package/cjs/navigation/NavList/NavListItemLink.js.map +7 -0
  507. package/cjs/navigation/NavList/NavMenuContentList/index.js +83 -64
  508. package/cjs/navigation/NavList/NavMenuContentList.js.map +7 -0
  509. package/cjs/navigation/NavList/hooks/useNavList/index.js +54 -43
  510. package/cjs/navigation/NavList/hooks/useNavList.js.map +7 -0
  511. package/cjs/navigation/NavList/hooks/useTogglableNav/index.js +174 -166
  512. package/cjs/navigation/NavList/hooks/useTogglableNav.js.map +7 -0
  513. package/cjs/navigation/NavList/index.js +71 -191
  514. package/cjs/navigation/NavList/index.js.map +7 -0
  515. package/cjs/navigation/NavList/types/index.js +16 -5
  516. package/cjs/navigation/NavList/types.js.map +7 -0
  517. package/cjs/navigation/Pagination/Pagination/index.js +81 -0
  518. package/cjs/navigation/Pagination/Pagination.js.map +7 -0
  519. package/cjs/navigation/Pagination/auto/index.js +113 -68
  520. package/cjs/navigation/Pagination/auto.js.map +7 -0
  521. package/cjs/navigation/Pagination/hooks/index.js +73 -68
  522. package/cjs/navigation/Pagination/hooks.js.map +7 -0
  523. package/cjs/navigation/Pagination/index.js +50 -145
  524. package/cjs/navigation/Pagination/index.js.map +7 -0
  525. package/cjs/navigation/SkipLink/index.js +38 -13
  526. package/cjs/navigation/SkipLink/index.js.map +7 -0
  527. package/cjs/navigation/Tabs/auto/index.js +67 -50
  528. package/cjs/navigation/Tabs/auto.js.map +7 -0
  529. package/cjs/navigation/Tabs/hooks/index.js +109 -78
  530. package/cjs/navigation/Tabs/hooks.js.map +7 -0
  531. package/cjs/navigation/Tabs/index.js +51 -95
  532. package/cjs/navigation/Tabs/index.js.map +7 -0
  533. package/cjs/navigation/index.js +38 -104
  534. package/cjs/navigation/index.js.map +7 -0
  535. package/cjs/registry.js +433 -0
  536. package/cjs/registry.js.map +7 -0
  537. package/cjs/typography/Code/index.js +39 -21
  538. package/cjs/typography/Code/index.js.map +7 -0
  539. package/cjs/typography/CodeBlock/index.js +128 -20
  540. package/cjs/typography/CodeBlock/index.js.map +7 -0
  541. package/cjs/typography/Heading/index.js +39 -21
  542. package/cjs/typography/Heading/index.js.map +7 -0
  543. package/cjs/typography/HeadingCaption/index.js +39 -21
  544. package/cjs/typography/HeadingCaption/index.js.map +7 -0
  545. package/cjs/typography/Hint/index.js +39 -21
  546. package/cjs/typography/Hint/index.js.map +7 -0
  547. package/cjs/typography/NormalText/index.js +39 -21
  548. package/cjs/typography/NormalText/index.js.map +7 -0
  549. package/cjs/typography/Paragraph/index.js +39 -21
  550. package/cjs/typography/Paragraph/index.js.map +7 -0
  551. package/cjs/typography/Typography/index.js +39 -21
  552. package/cjs/typography/Typography/index.js.map +7 -0
  553. package/cjs/typography/index.js +31 -70
  554. package/cjs/typography/index.js.map +7 -0
  555. package/cjs/utils/Base/index.js +42 -21
  556. package/cjs/utils/Base/index.js.map +7 -0
  557. package/cjs/utils/TestVariant/index.js +56 -0
  558. package/cjs/utils/TestVariant/index.js.map +7 -0
  559. package/cjs/utils/Typography/index.js +38 -13
  560. package/cjs/utils/Typography/index.js.map +7 -0
  561. package/cjs/utils/VisuallyHidden/index.js +39 -21
  562. package/cjs/utils/VisuallyHidden/index.js.map +7 -0
  563. package/cjs/utils/hooks/useDebounce/index.js +59 -37
  564. package/cjs/utils/hooks/useDebounce.js.map +7 -0
  565. package/cjs/utils/hooks/useKeypress/index.js +42 -17
  566. package/cjs/utils/hooks/useKeypress.js.map +7 -0
  567. package/cjs/utils/hooks/useLatest/index.js +37 -15
  568. package/cjs/utils/hooks/useLatest.js.map +7 -0
  569. package/cjs/utils/hooks/useScreen/index.js +39 -57
  570. package/cjs/utils/hooks/useScreen.js.map +7 -0
  571. package/cjs/utils/hooks/useScreen.native/index.js +70 -0
  572. package/cjs/utils/hooks/useScreen.native.js.map +7 -0
  573. package/cjs/utils/hooks/useScreen.web/index.js +93 -0
  574. package/cjs/utils/hooks/useScreen.web.js.map +7 -0
  575. package/cjs/utils/hooks/useSearch/index.js +45 -22
  576. package/cjs/utils/hooks/useSearch.js.map +7 -0
  577. package/cjs/utils/hooks/useTogglableTab/index.js +83 -67
  578. package/cjs/utils/hooks/useTogglableTab.js.map +7 -0
  579. package/cjs/utils/index.js +23 -37
  580. package/cjs/utils/index.js.map +7 -0
  581. package/cjs/utils/withDeprecation/index.js +83 -57
  582. package/cjs/utils/withDeprecation.js.map +7 -0
  583. package/content/Accordion/Accordion.stories.d.ts +95 -5
  584. package/content/Accordion/__stories__/Auto.d.ts +2 -2
  585. package/content/Accordion/__stories__/Default.d.ts +2 -2
  586. package/content/Accordion/__stories__/WithHints.d.ts +2 -2
  587. package/content/Accordion/__stories__/WithHook.d.ts +2 -2
  588. package/content/Accordion/auto/index.js +62 -52
  589. package/content/Accordion/auto.d.ts +8 -8
  590. package/content/Accordion/auto.js.map +7 -0
  591. package/content/Accordion/hooks/index.js +110 -116
  592. package/content/Accordion/hooks.d.ts +1 -1
  593. package/content/Accordion/hooks.js.map +7 -0
  594. package/content/Accordion/index.d.ts +0 -1
  595. package/content/Accordion/index.js +13 -11
  596. package/content/Accordion/index.js.map +7 -0
  597. package/content/Accordion/index.test.d.ts +1 -0
  598. package/content/Accordion/interaction.test.d.ts +1 -0
  599. package/content/Blockquote/Blockquote.stories.d.ts +31 -2
  600. package/content/Blockquote/__stories__/Default.d.ts +2 -2
  601. package/content/Blockquote/__stories__/Dense.d.ts +2 -2
  602. package/content/Blockquote/index.js +7 -3
  603. package/content/Blockquote/index.js.map +7 -0
  604. package/content/Blockquote/index.test.d.ts +1 -0
  605. package/content/Card/Card.stories.d.ts +138 -12
  606. package/content/Card/__stories__/Default.d.ts +2 -2
  607. package/content/Card/__stories__/Dense.d.ts +2 -2
  608. package/content/Card/__stories__/WithClickableContent.d.ts +2 -2
  609. package/content/Card/__stories__/WithClickableLink.d.ts +2 -2
  610. package/content/Card/__stories__/WithDarkBorder.d.ts +2 -2
  611. package/content/Card/__stories__/WithDarkTopBorder.d.ts +2 -2
  612. package/content/Card/__stories__/WithDivider.d.ts +2 -2
  613. package/content/Card/__stories__/WithGrayBorder.d.ts +2 -2
  614. package/content/Card/__stories__/WithGrayTopBorder.d.ts +2 -2
  615. package/content/Card/__stories__/WithGroupButton.d.ts +2 -2
  616. package/content/Card/__stories__/WithLink.d.ts +2 -2
  617. package/content/Card/index.js +10 -6
  618. package/content/Card/index.js.map +7 -0
  619. package/content/Card/index.test.d.ts +1 -0
  620. package/content/Card/interaction.test.d.ts +1 -0
  621. package/content/Chip/Chip.stories.d.ts +43 -5
  622. package/content/Chip/__stories__/ClickableChip.d.ts +2 -2
  623. package/content/Chip/__stories__/ClickableDeletableChip.d.ts +2 -2
  624. package/content/Chip/__stories__/Default.d.ts +2 -2
  625. package/content/Chip/__stories__/DeletableChip.d.ts +2 -2
  626. package/content/Chip/__stories__/GroupOfChips.d.ts +2 -2
  627. package/content/Chip/index.js +10 -6
  628. package/content/Chip/index.js.map +7 -0
  629. package/content/Chip/index.test.d.ts +1 -0
  630. package/content/Details/Details.stories.d.ts +3 -1
  631. package/content/Details/__stories__/Default.d.ts +2 -2
  632. package/content/Details/index.js +9 -5
  633. package/content/Details/index.js.map +7 -0
  634. package/content/Details/index.test.d.ts +1 -0
  635. package/content/Details/interaction.test.d.ts +1 -0
  636. package/content/FillableText/index.js +8 -4
  637. package/content/FillableText/index.js.map +7 -0
  638. package/content/List/List/index.js +7 -3
  639. package/content/List/List.js.map +7 -0
  640. package/content/List/List.stories.d.ts +59 -7
  641. package/content/List/ListItem/index.js +7 -3
  642. package/content/List/ListItem.js.map +7 -0
  643. package/content/List/__stories__/BulletList.d.ts +2 -2
  644. package/content/List/__stories__/Default.d.ts +2 -2
  645. package/content/List/__stories__/HorizontalList.d.ts +2 -2
  646. package/content/List/__stories__/NestedBulletList.d.ts +2 -2
  647. package/content/List/__stories__/NumberedList.d.ts +2 -2
  648. package/content/List/__stories__/WithExtraSpace.d.ts +2 -2
  649. package/content/List/index.js +7 -3
  650. package/content/List/index.js.map +7 -0
  651. package/content/List/index.test.d.ts +1 -0
  652. package/content/Markdown/Markdown.stories.d.ts +9 -0
  653. package/content/Markdown/__stories__/Default.d.ts +3 -0
  654. package/content/Markdown/index.d.ts +5 -2
  655. package/content/Markdown/index.js +16 -10
  656. package/content/Markdown/index.js.map +7 -0
  657. package/content/Markdown/index.test.d.ts +1 -0
  658. package/content/Markdown/useMarkdownToHTML/index.js +60 -61
  659. package/content/Markdown/useMarkdownToHTML.js.map +7 -0
  660. package/content/SafeHTML/SafeHTML.stories.d.ts +9 -0
  661. package/content/SafeHTML/__stories__/Default.d.ts +3 -0
  662. package/content/SafeHTML/index.d.ts +2 -2
  663. package/content/SafeHTML/index.js +67 -71
  664. package/content/SafeHTML/index.js.map +7 -0
  665. package/content/SafeHTML/index.test.d.ts +1 -0
  666. package/content/StepNav/StepNav.stories.d.ts +7 -5
  667. package/content/StepNav/__stories__/Auto.d.ts +2 -2
  668. package/content/StepNav/__stories__/Default.d.ts +2 -2
  669. package/content/StepNav/__stories__/Dense.d.ts +2 -2
  670. package/content/StepNav/__stories__/WithHints.d.ts +2 -2
  671. package/content/StepNav/__stories__/WithHook.d.ts +2 -2
  672. package/content/StepNav/auto/index.js +59 -52
  673. package/content/StepNav/auto.d.ts +8 -9
  674. package/content/StepNav/auto.js.map +7 -0
  675. package/content/StepNav/index.d.ts +0 -1
  676. package/content/StepNav/index.js +29 -16
  677. package/content/StepNav/index.js.map +7 -0
  678. package/content/StepNav/index.test.d.ts +1 -0
  679. package/content/StepNav/interaction.test.d.ts +1 -0
  680. package/content/SummaryList/SummaryList.stories.d.ts +22 -8
  681. package/content/SummaryList/__stories__/Default.d.ts +2 -2
  682. package/content/SummaryList/__stories__/RowVariations.d.ts +2 -2
  683. package/content/SummaryList/__stories__/SummaryListExample.d.ts +15 -0
  684. package/content/SummaryList/__stories__/WithActions.d.ts +2 -2
  685. package/content/SummaryList/__stories__/WithError.d.ts +3 -0
  686. package/content/SummaryList/__stories__/WithKeyAndAction.d.ts +2 -2
  687. package/content/SummaryList/__stories__/WithNoLastBorder.d.ts +3 -0
  688. package/content/SummaryList/__stories__/WithoutActions.d.ts +2 -2
  689. package/content/SummaryList/__stories__/WithoutBorders.d.ts +2 -2
  690. package/content/SummaryList/index.js +11 -7
  691. package/content/SummaryList/index.js.map +7 -0
  692. package/content/SummaryList/index.test.d.ts +1 -0
  693. package/content/SummaryList/interaction.test.d.ts +1 -0
  694. package/content/Table/Table.stories.d.ts +156 -19
  695. package/content/Table/TableFloatingScroll/index.js +59 -66
  696. package/content/Table/TableFloatingScroll.d.ts +2 -2
  697. package/content/Table/TableFloatingScroll.js.map +7 -0
  698. package/content/Table/__stories__/DarkVariant.d.ts +2 -2
  699. package/content/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +2 -2
  700. package/content/Table/__stories__/Default.d.ts +2 -2
  701. package/content/Table/__stories__/DefinedWidth.d.ts +2 -2
  702. package/content/Table/__stories__/Dense.d.ts +3 -0
  703. package/content/Table/__stories__/Full.d.ts +2 -2
  704. package/content/Table/__stories__/MultipleProps.d.ts +2 -2
  705. package/content/Table/__stories__/NoData.d.ts +2 -2
  706. package/content/Table/__stories__/NumericDataType.d.ts +2 -2
  707. package/content/Table/__stories__/RowColors.d.ts +2 -2
  708. package/content/Table/__stories__/Stacked.d.ts +2 -2
  709. package/content/Table/__stories__/TableCaptions.d.ts +2 -2
  710. package/content/Table/__stories__/UsingHighlights.d.ts +3 -0
  711. package/content/Table/__stories__/VerticalBorders.d.ts +2 -2
  712. package/content/Table/__stories__/VerticalHeaders.d.ts +2 -2
  713. package/content/Table/__stories__/WithFloatingScroll.d.ts +2 -2
  714. package/content/Table/__stories__/WithLoader.d.ts +2 -2
  715. package/content/Table/__stories__/WithSortFilters.d.ts +2 -2
  716. package/content/Table/__stories__/ZebraProp.d.ts +2 -2
  717. package/content/Table/hooks/useSort/index.js +17 -22
  718. package/content/Table/hooks/useSort.d.ts +1 -1
  719. package/content/Table/hooks/useSort.js.map +7 -0
  720. package/content/Table/index.d.ts +2 -2
  721. package/content/Table/index.js +108 -95
  722. package/content/Table/index.js.map +7 -0
  723. package/content/Table/index.test.d.ts +1 -0
  724. package/content/Table/interaction.test.d.ts +1 -0
  725. package/content/TaskList/TaskList.stories.d.ts +4 -2
  726. package/content/TaskList/__stories__/Default.d.ts +2 -2
  727. package/content/TaskList/__stories__/Dense.d.ts +2 -2
  728. package/content/TaskList/index.js +11 -7
  729. package/content/TaskList/index.js.map +7 -0
  730. package/content/TaskList/index.test.d.ts +1 -0
  731. package/content/Timeline/Timeline.stories.d.ts +4 -2
  732. package/content/Timeline/__stories__/Default.d.ts +2 -2
  733. package/content/Timeline/__stories__/Dense.d.ts +2 -2
  734. package/content/Timeline/index.js +11 -7
  735. package/content/Timeline/index.js.map +7 -0
  736. package/content/Timeline/index.test.d.ts +1 -0
  737. package/content/index.js +13 -12
  738. package/content/index.js.map +7 -0
  739. package/custom.d/index.js +1 -0
  740. package/custom.d.js.map +7 -0
  741. package/feedback/CopyToClipboard/CopyToClipboard.stories.d.ts +86 -4
  742. package/feedback/CopyToClipboard/__stories__/Banner.d.ts +2 -2
  743. package/feedback/CopyToClipboard/__stories__/Default.d.ts +2 -2
  744. package/feedback/CopyToClipboard/__stories__/Dense.d.ts +2 -2
  745. package/feedback/CopyToClipboard/index.d.ts +1 -1
  746. package/feedback/CopyToClipboard/index.js +41 -42
  747. package/feedback/CopyToClipboard/index.js.map +7 -0
  748. package/feedback/CopyToClipboard/index.test.d.ts +1 -0
  749. package/feedback/CopyToClipboard/interaction.test.d.ts +1 -0
  750. package/feedback/ErrorSummary/ErrorSummary.stories.d.ts +51 -7
  751. package/feedback/ErrorSummary/__stories__/Default.d.ts +2 -2
  752. package/feedback/ErrorSummary/__stories__/Dense.d.ts +2 -2
  753. package/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.d.ts +3 -0
  754. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +2 -2
  755. package/feedback/ErrorSummary/__stories__/LinkedToField.d.ts +2 -2
  756. package/feedback/ErrorSummary/__stories__/LinkedToInput.d.ts +2 -2
  757. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -2
  758. package/feedback/ErrorSummary/index.js +7 -3
  759. package/feedback/ErrorSummary/index.js.map +7 -0
  760. package/feedback/ErrorSummary/index.test.d.ts +1 -0
  761. package/feedback/ErrorSummary/interaction.test.d.ts +1 -0
  762. package/feedback/NotificationBanner/NotificationBanner.stories.d.ts +65 -3
  763. package/feedback/NotificationBanner/__stories__/Default.d.ts +2 -2
  764. package/feedback/NotificationBanner/__stories__/Dense.d.ts +2 -2
  765. package/feedback/NotificationBanner/__stories__/Expanded.d.ts +3 -0
  766. package/feedback/NotificationBanner/__stories__/Success.d.ts +2 -2
  767. package/feedback/NotificationBanner/index.js +26 -25
  768. package/feedback/NotificationBanner/index.js.map +7 -0
  769. package/feedback/NotificationBanner/index.test.d.ts +1 -0
  770. package/feedback/NotificationBanner/interaction.test.d.ts +1 -0
  771. package/feedback/PhaseBanner/PhaseBanner.stories.d.ts +34 -3
  772. package/feedback/PhaseBanner/__stories__/Default.d.ts +2 -2
  773. package/feedback/PhaseBanner/__stories__/Underlined.d.ts +2 -2
  774. package/feedback/PhaseBanner/index.js +10 -6
  775. package/feedback/PhaseBanner/index.js.map +7 -0
  776. package/feedback/PhaseBanner/index.test.d.ts +1 -0
  777. package/feedback/PhaseBanner/interaction.test.d.ts +1 -0
  778. package/feedback/WarningText/WarningText.stories.d.ts +50 -3
  779. package/feedback/WarningText/__stories__/AssistiveText.d.ts +2 -2
  780. package/feedback/WarningText/__stories__/Default.d.ts +2 -2
  781. package/feedback/WarningText/__stories__/Dense.d.ts +2 -2
  782. package/feedback/WarningText/index.d.ts +1 -0
  783. package/feedback/WarningText/index.js +9 -3
  784. package/feedback/WarningText/index.js.map +7 -0
  785. package/feedback/WarningText/index.test.d.ts +1 -0
  786. package/feedback/index.js +6 -5
  787. package/feedback/index.js.map +7 -0
  788. package/form/AutoComplete/AutoComplete.stories.d.ts +135 -7
  789. package/form/AutoComplete/Status/index.d.ts +9 -7
  790. package/form/AutoComplete/Status/index.js +79 -116
  791. package/form/AutoComplete/Status/index.js.map +7 -0
  792. package/form/AutoComplete/__stories__/Default.d.ts +2 -2
  793. package/form/AutoComplete/__stories__/Multiple.d.ts +3 -0
  794. package/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +3 -0
  795. package/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +3 -0
  796. package/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +3 -0
  797. package/form/AutoComplete/__stories__/WithAutoSelect.d.ts +2 -2
  798. package/form/AutoComplete/__stories__/WithCustomValue.d.ts +3 -0
  799. package/form/AutoComplete/__stories__/WithDefaultValue.d.ts +2 -2
  800. package/form/AutoComplete/__stories__/WithHint.d.ts +3 -0
  801. package/form/AutoComplete/__stories__/WithMinLength.d.ts +2 -2
  802. package/form/AutoComplete/__stories__/WithPlaceHolder.d.ts +2 -2
  803. package/form/AutoComplete/__stories__/WithShowAllValues.d.ts +2 -2
  804. package/form/AutoComplete/__stories__/utils/index.js +1 -0
  805. package/form/AutoComplete/__stories__/utils.js.map +7 -0
  806. package/form/AutoComplete/index.d.ts +24 -31
  807. package/form/AutoComplete/index.js +603 -556
  808. package/form/AutoComplete/index.js.map +7 -0
  809. package/form/AutoComplete/index.test.d.ts +1 -0
  810. package/form/AutoComplete/interaction.test.d.ts +1 -0
  811. package/form/AutoComplete/utils/index.js +288 -29
  812. package/form/AutoComplete/utils.d.ts +1 -0
  813. package/form/AutoComplete/utils.js.map +7 -0
  814. package/form/Button/Button.stories.d.ts +73 -14
  815. package/form/Button/ButtonLink/index.js +17 -3
  816. package/form/Button/ButtonLink.d.ts +6 -2
  817. package/form/Button/ButtonLink.js.map +7 -0
  818. package/form/Button/CallToAction/index.js +15 -3
  819. package/form/Button/CallToAction.d.ts +6 -2
  820. package/form/Button/CallToAction.js.map +7 -0
  821. package/form/Button/ThemeToggleButton/index.js +39 -34
  822. package/form/Button/ThemeToggleButton.d.ts +2 -2
  823. package/form/Button/ThemeToggleButton.js.map +7 -0
  824. package/form/Button/__stories__/Back.d.ts +2 -2
  825. package/form/Button/__stories__/ButtonLinkButton.d.ts +2 -2
  826. package/form/Button/__stories__/CallToActionButton.d.ts +2 -2
  827. package/form/Button/__stories__/Dense.d.ts +2 -2
  828. package/form/Button/__stories__/Disabled.d.ts +2 -2
  829. package/form/Button/__stories__/GroupingButtons.d.ts +2 -2
  830. package/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +2 -2
  831. package/form/Button/__stories__/Primary.d.ts +9 -2
  832. package/form/Button/__stories__/Secondary.d.ts +2 -2
  833. package/form/Button/__stories__/ThemeToggle.d.ts +2 -2
  834. package/form/Button/__stories__/Warning.d.ts +2 -2
  835. package/form/Button/__stories__/WithVariantLink.d.ts +2 -2
  836. package/form/Button/index.js +19 -16
  837. package/form/Button/index.js.map +7 -0
  838. package/form/Button/index.test.d.ts +1 -0
  839. package/form/Button/interaction.test.d.ts +1 -0
  840. package/form/Checkbox/Checkbox.stories.d.ts +178 -11
  841. package/form/Checkbox/__stories__/ConditionalReveal.d.ts +2 -2
  842. package/form/Checkbox/__stories__/Default.d.ts +2 -2
  843. package/form/Checkbox/__stories__/Dense.d.ts +2 -2
  844. package/form/Checkbox/__stories__/Inline.d.ts +2 -2
  845. package/form/Checkbox/__stories__/InlineWithDivider.d.ts +2 -2
  846. package/form/Checkbox/__stories__/MultipleQuestions.d.ts +2 -2
  847. package/form/Checkbox/__stories__/NoneAnswer.d.ts +2 -2
  848. package/form/Checkbox/__stories__/NoneAnswerWithError.d.ts +2 -2
  849. package/form/Checkbox/__stories__/WithErrorMessage.d.ts +2 -2
  850. package/form/Checkbox/__stories__/WithHint.d.ts +2 -2
  851. package/form/Checkbox/index.d.ts +1 -0
  852. package/form/Checkbox/index.js +10 -5
  853. package/form/Checkbox/index.js.map +7 -0
  854. package/form/Checkbox/index.test.d.ts +1 -0
  855. package/form/Checkbox/interaction.test.d.ts +1 -0
  856. package/form/DateInputContainer/DateInputContainer.stories.d.ts +148 -6
  857. package/form/DateInputContainer/__stories__/Default.d.ts +2 -2
  858. package/form/DateInputContainer/__stories__/Dense.d.ts +2 -2
  859. package/form/DateInputContainer/__stories__/MultipleQuestions.d.ts +2 -2
  860. package/form/DateInputContainer/__stories__/WithErrorMessage.d.ts +2 -2
  861. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.d.ts +2 -2
  862. package/form/DateInputContainer/index.js +8 -4
  863. package/form/DateInputContainer/index.js.map +7 -0
  864. package/form/DateInputContainer/index.test.d.ts +1 -0
  865. package/form/DateInputContainer/interaction.test.d.ts +1 -0
  866. package/form/ErrorMessage/ErrorMessage.stories.d.ts +38 -3
  867. package/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -2
  868. package/form/ErrorMessage/__stories__/Default.d.ts +2 -2
  869. package/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -2
  870. package/form/ErrorMessage/index.js +7 -3
  871. package/form/ErrorMessage/index.js.map +7 -0
  872. package/form/ErrorMessage/index.test.d.ts +1 -0
  873. package/form/FieldContainer/index.js +9 -5
  874. package/form/FieldContainer/index.js.map +7 -0
  875. package/form/FileUpload/FileUpload.stories.d.ts +5 -2
  876. package/form/FileUpload/__stories__/Default.d.ts +2 -2
  877. package/form/FileUpload/__stories__/WithErrorMessage.d.ts +2 -2
  878. package/form/FileUpload/__stories__/WithVariantLink.d.ts +3 -0
  879. package/form/FileUpload/index.js +8 -4
  880. package/form/FileUpload/index.js.map +7 -0
  881. package/form/FileUpload/index.test.d.ts +1 -0
  882. package/form/Form/index.js +7 -3
  883. package/form/Form/index.js.map +7 -0
  884. package/form/LabelContainer/index.js +8 -4
  885. package/form/LabelContainer/index.js.map +7 -0
  886. package/form/RadioContainer/RadioContainer.stories.d.ts +186 -11
  887. package/form/RadioContainer/__stories__/ConditionalReveal.d.ts +2 -2
  888. package/form/RadioContainer/__stories__/Default.d.ts +2 -2
  889. package/form/RadioContainer/__stories__/Dense.d.ts +2 -2
  890. package/form/RadioContainer/__stories__/Inline.d.ts +2 -2
  891. package/form/RadioContainer/__stories__/InlineWithDivider.d.ts +2 -2
  892. package/form/RadioContainer/__stories__/MultipleQuestions.d.ts +2 -2
  893. package/form/RadioContainer/__stories__/NoneAnswer.d.ts +2 -2
  894. package/form/RadioContainer/__stories__/WithErrorMessage.d.ts +2 -2
  895. package/form/RadioContainer/__stories__/WithHints.d.ts +2 -2
  896. package/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -2
  897. package/form/RadioContainer/index.js +10 -6
  898. package/form/RadioContainer/index.js.map +7 -0
  899. package/form/RadioContainer/index.test.d.ts +1 -0
  900. package/form/RadioContainer/interaction.test.d.ts +1 -0
  901. package/form/SearchContainer/SearchContainer.stories.d.ts +11 -0
  902. package/form/SearchContainer/__stories__/Default.d.ts +3 -0
  903. package/form/SearchContainer/index.js +9 -5
  904. package/form/SearchContainer/index.js.map +7 -0
  905. package/form/SearchContainer/index.test.d.ts +1 -0
  906. package/form/SelectContainer/SelectContainer.stories.d.ts +141 -5
  907. package/form/SelectContainer/__stories__/Default.d.ts +2 -2
  908. package/form/SelectContainer/__stories__/Dense.d.ts +2 -2
  909. package/form/SelectContainer/__stories__/DisabledInput.d.ts +2 -2
  910. package/form/SelectContainer/__stories__/WithHint.d.ts +2 -2
  911. package/form/SelectContainer/index.js +8 -4
  912. package/form/SelectContainer/index.js.map +7 -0
  913. package/form/SelectContainer/index.test.d.ts +1 -0
  914. package/form/SelectContainer/interaction.test.d.ts +1 -0
  915. package/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +114 -5
  916. package/form/SingleCharacterInputs/__stories__/Default.d.ts +2 -2
  917. package/form/SingleCharacterInputs/__stories__/WithDefaultError.d.ts +2 -2
  918. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.d.ts +2 -2
  919. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.d.ts +2 -2
  920. package/form/SingleCharacterInputs/index.js +8 -4
  921. package/form/SingleCharacterInputs/index.js.map +7 -0
  922. package/form/SingleCharacterInputs/index.test.d.ts +1 -0
  923. package/form/TextArea/TextArea.stories.d.ts +127 -9
  924. package/form/TextArea/__stories__/Default.d.ts +2 -2
  925. package/form/TextArea/__stories__/Dense.d.ts +2 -2
  926. package/form/TextArea/__stories__/DisabledInput.d.ts +2 -2
  927. package/form/TextArea/__stories__/LimitedCharacters.d.ts +2 -2
  928. package/form/TextArea/__stories__/MultipleQuestions.d.ts +2 -2
  929. package/form/TextArea/__stories__/WithDeclaredRows.d.ts +2 -2
  930. package/form/TextArea/__stories__/WithErrorMessage.d.ts +2 -2
  931. package/form/TextArea/__stories__/WithHint.d.ts +2 -2
  932. package/form/TextArea/index.js +7 -3
  933. package/form/TextArea/index.js.map +7 -0
  934. package/form/TextArea/index.test.d.ts +1 -0
  935. package/form/TextArea/interaction.test.d.ts +1 -0
  936. package/form/TextInput/TextInput.stories.d.ts +130 -10
  937. package/form/TextInput/__stories__/AskingForNumbers.d.ts +2 -2
  938. package/form/TextInput/__stories__/Default.d.ts +2 -2
  939. package/form/TextInput/__stories__/Dense.d.ts +2 -2
  940. package/form/TextInput/__stories__/DisabledInput.d.ts +2 -2
  941. package/form/TextInput/__stories__/DisabledInputWithValue.d.ts +2 -2
  942. package/form/TextInput/__stories__/FixedWidths.d.ts +2 -2
  943. package/form/TextInput/__stories__/FluidWidths.d.ts +2 -2
  944. package/form/TextInput/__stories__/MultipleQuestions.d.ts +2 -2
  945. package/form/TextInput/__stories__/WithErrorMessage.d.ts +2 -2
  946. package/form/TextInput/__stories__/WithHint.d.ts +2 -2
  947. package/form/TextInput/index.js +7 -3
  948. package/form/TextInput/index.js.map +7 -0
  949. package/form/TextInput/index.test.d.ts +1 -0
  950. package/form/TextInput/interaction.test.d.ts +1 -0
  951. package/form/index.js +16 -15
  952. package/form/index.js.map +7 -0
  953. package/govgr/Footer/Copyright/index.js +45 -33
  954. package/govgr/Footer/Copyright.d.ts +1 -0
  955. package/govgr/Footer/Copyright.js.map +7 -0
  956. package/govgr/Footer/HellenicRepublicLogo/index.js +7 -3
  957. package/govgr/Footer/HellenicRepublicLogo.js.map +7 -0
  958. package/govgr/Footer/LicenseCCSA/index.js +21 -14
  959. package/govgr/Footer/LicenseCCSA.js.map +7 -0
  960. package/govgr/Footer/index.js +26 -18
  961. package/govgr/Footer/index.js.map +7 -0
  962. package/govgr/Footer/logo/index.js +5 -1
  963. package/govgr/Footer/logo.js.map +7 -0
  964. package/govgr/Footer/logos/logo-el/index.js +5 -1
  965. package/govgr/Footer/logos/logo-el.js.map +7 -0
  966. package/govgr/Footer/logos/logo-en/index.js +5 -1
  967. package/govgr/Footer/logos/logo-en.js.map +7 -0
  968. package/govgr/GovGRLogo/index.d.ts +6 -2
  969. package/govgr/GovGRLogo/index.js +17 -3
  970. package/govgr/GovGRLogo/index.js.map +7 -0
  971. package/govgr/GovGRLogo/logo/index.js +5 -1
  972. package/govgr/GovGRLogo/logo.js.map +7 -0
  973. package/govgr/images/govgr-logo-base64/index.js +5 -1
  974. package/govgr/images/govgr-logo-base64.js.map +7 -0
  975. package/govgr/images/govgr-logo-blue-base64/index.js +5 -1
  976. package/govgr/images/govgr-logo-blue-base64.js.map +7 -0
  977. package/govgr/images/greek-government-base64/index.js +5 -1
  978. package/govgr/images/greek-government-base64.js.map +7 -0
  979. package/govgr/images/grnet-logo-base64/index.js +5 -1
  980. package/govgr/images/grnet-logo-base64.js.map +7 -0
  981. package/govgr/images/index.js +6 -5
  982. package/govgr/images/index.js.map +7 -0
  983. package/govgr/images/minedu-logo-base64/index.js +5 -1
  984. package/govgr/images/minedu-logo-base64.js.map +7 -0
  985. package/govgr/images/minedu-logo-black-base64/index.js +5 -1
  986. package/govgr/images/minedu-logo-black-base64.js.map +7 -0
  987. package/govgr/index.js +6 -5
  988. package/govgr/index.js.map +7 -0
  989. package/i18n/I18nText/index.js +39 -35
  990. package/i18n/I18nText.d.ts +1 -1
  991. package/i18n/I18nText.js.map +7 -0
  992. package/i18n/index.js +46 -28
  993. package/i18n/index.js.map +7 -0
  994. package/i18n/locales/el/index.js +131 -76
  995. package/i18n/locales/el.d.ts +52 -1
  996. package/i18n/locales/el.js.map +7 -0
  997. package/i18n/locales/en/index.js +127 -72
  998. package/i18n/locales/en.d.ts +51 -0
  999. package/i18n/locales/en.js.map +7 -0
  1000. package/icons/Icon/index.js +9 -5
  1001. package/icons/Icon/index.js.map +7 -0
  1002. package/icons/IconBase/index.d.ts +3 -0
  1003. package/icons/IconBase/index.js +7 -0
  1004. package/icons/IconBase/index.js.map +7 -0
  1005. package/icons/IconBase/package.json +6 -0
  1006. package/icons/ImageLogo/index.js +7 -3
  1007. package/icons/ImageLogo/index.js.map +7 -0
  1008. package/icons/ImageLogoSet/index.js +7 -3
  1009. package/icons/ImageLogoSet/index.js.map +7 -0
  1010. package/icons/SvgIcon/index.d.ts +3 -0
  1011. package/icons/SvgIcon/index.js +7 -0
  1012. package/icons/SvgIcon/index.js.map +7 -0
  1013. package/icons/SvgIcon/package.json +6 -0
  1014. package/icons/index.d.ts +3 -1
  1015. package/icons/index.js +52 -2
  1016. package/icons/index.js.map +7 -0
  1017. package/index.js +13 -12
  1018. package/index.js.map +7 -0
  1019. package/layouts/Admin/index.js +13 -9
  1020. package/layouts/Admin/index.js.map +7 -0
  1021. package/layouts/Basic/Aside/index.js +7 -3
  1022. package/layouts/Basic/Aside/index.js.map +7 -0
  1023. package/layouts/Basic/Basic.stories.d.ts +6 -3
  1024. package/layouts/Basic/Bottom/__stories__/Default.d.ts +2 -2
  1025. package/layouts/Basic/Bottom/index.js +7 -3
  1026. package/layouts/Basic/Bottom/index.js.map +7 -0
  1027. package/layouts/Basic/Container/__stories__/Default.d.ts +2 -2
  1028. package/layouts/Basic/Container/index.js +7 -3
  1029. package/layouts/Basic/Container/index.js.map +7 -0
  1030. package/layouts/Basic/Main/__stories__/Default.d.ts +2 -2
  1031. package/layouts/Basic/Main/index.js +7 -3
  1032. package/layouts/Basic/Main/index.js.map +7 -0
  1033. package/layouts/Basic/Top/__stories__/Default.d.ts +2 -2
  1034. package/layouts/Basic/Top/index.js +7 -3
  1035. package/layouts/Basic/Top/index.js.map +7 -0
  1036. package/layouts/Basic/__stories__/Default.d.ts +2 -2
  1037. package/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +2 -2
  1038. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +2 -2
  1039. package/layouts/Basic/__stories__/WithBasicLayout.d.ts +3 -0
  1040. package/layouts/Basic/index.d.ts +0 -1
  1041. package/layouts/Basic/index.js +12 -9
  1042. package/layouts/Basic/index.js.map +7 -0
  1043. package/layouts/Basic/index.test.d.ts +1 -0
  1044. package/layouts/Grid/Grid.stories.d.ts +87 -3
  1045. package/layouts/Grid/__stories__/Default.d.ts +2 -2
  1046. package/layouts/Grid/__stories__/Inline.d.ts +2 -2
  1047. package/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +2 -2
  1048. package/layouts/Grid/index.js +7 -3
  1049. package/layouts/Grid/index.js.map +7 -0
  1050. package/layouts/Grid/index.test.d.ts +1 -0
  1051. package/layouts/Hidden/Hidden.stories.d.ts +115 -0
  1052. package/layouts/Hidden/index.d.ts +2 -0
  1053. package/layouts/Hidden/index.js +7 -1
  1054. package/layouts/Hidden/index.js.map +7 -0
  1055. package/layouts/Screen/Screen.stories.d.ts +4 -4
  1056. package/layouts/Screen/__stories__/Default.d.ts +2 -2
  1057. package/layouts/Screen/__stories__/ScreenDown.d.ts +2 -2
  1058. package/layouts/Screen/__stories__/ScreenUp.d.ts +2 -2
  1059. package/layouts/Screen/__stories__/SpecificScreenSize.d.ts +2 -2
  1060. package/layouts/Screen/index.d.ts +3 -2
  1061. package/layouts/Screen/index.js +20 -15
  1062. package/layouts/Screen/index.js.map +7 -0
  1063. package/layouts/Screen/index.test.d.ts +1 -0
  1064. package/layouts/Section/index.js +7 -3
  1065. package/layouts/Section/index.js.map +7 -0
  1066. package/layouts/SectionBreak/index.js +7 -3
  1067. package/layouts/SectionBreak/index.js.map +7 -0
  1068. package/layouts/Stack/Stack.stories.d.ts +84 -6
  1069. package/layouts/Stack/__stories__/AlignItems.d.ts +2 -2
  1070. package/layouts/Stack/__stories__/Default.d.ts +2 -2
  1071. package/layouts/Stack/__stories__/JustifyContent.d.ts +2 -2
  1072. package/layouts/Stack/__stories__/NoWrap.d.ts +2 -2
  1073. package/layouts/Stack/__stories__/Row.d.ts +2 -2
  1074. package/layouts/Stack/__stories__/Spacing.d.ts +2 -2
  1075. package/layouts/Stack/index.d.ts +1 -0
  1076. package/layouts/Stack/index.js +7 -2
  1077. package/layouts/Stack/index.js.map +7 -0
  1078. package/layouts/Stack/index.test.d.ts +1 -0
  1079. package/layouts/index.js +19 -11
  1080. package/layouts/index.js.map +7 -0
  1081. package/lazy/index.js +342 -2227
  1082. package/navigation/BackLink/BackLink.stories.d.ts +3 -1
  1083. package/navigation/BackLink/__stories__/Default.d.ts +2 -2
  1084. package/navigation/BackLink/index.d.ts +6 -2
  1085. package/navigation/BackLink/index.js +17 -3
  1086. package/navigation/BackLink/index.js.map +7 -0
  1087. package/navigation/BackLink/index.test.d.ts +1 -0
  1088. package/navigation/BackLink/interaction.test.d.ts +1 -0
  1089. package/navigation/BackToTopLink/BackToTopLink.stories.d.ts +4 -2
  1090. package/navigation/BackToTopLink/__stories__/Default.d.ts +2 -2
  1091. package/navigation/BackToTopLink/__stories__/InMain.d.ts +2 -2
  1092. package/navigation/BackToTopLink/index.js +44 -48
  1093. package/navigation/BackToTopLink/index.js.map +7 -0
  1094. package/navigation/BackToTopLink/index.test.d.ts +1 -0
  1095. package/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +7 -1
  1096. package/navigation/Breadcrumbs/BreadcrumbsListItem/index.js +30 -0
  1097. package/navigation/Breadcrumbs/BreadcrumbsListItem/package.json +6 -0
  1098. package/navigation/Breadcrumbs/BreadcrumbsListItem.d.ts +8 -0
  1099. package/navigation/Breadcrumbs/BreadcrumbsListItem.js.map +7 -0
  1100. package/navigation/Breadcrumbs/BreadcrumbsListItemLink/index.js +15 -0
  1101. package/navigation/Breadcrumbs/BreadcrumbsListItemLink/package.json +6 -0
  1102. package/navigation/Breadcrumbs/BreadcrumbsListItemLink.d.ts +7 -0
  1103. package/navigation/Breadcrumbs/BreadcrumbsListItemLink.js.map +7 -0
  1104. package/navigation/Breadcrumbs/__stories__/Auto.d.ts +3 -0
  1105. package/navigation/Breadcrumbs/__stories__/Default.d.ts +2 -2
  1106. package/navigation/Breadcrumbs/__stories__/WithHook.d.ts +3 -0
  1107. package/navigation/Breadcrumbs/__stories__/WithProvider.d.ts +3 -0
  1108. package/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.d.ts +3 -0
  1109. package/navigation/Breadcrumbs/auto/index.js +49 -0
  1110. package/navigation/Breadcrumbs/auto/package.json +6 -0
  1111. package/navigation/Breadcrumbs/auto.d.ts +14 -0
  1112. package/navigation/Breadcrumbs/auto.js.map +7 -0
  1113. package/navigation/Breadcrumbs/hooks/index.js +51 -0
  1114. package/navigation/Breadcrumbs/hooks/package.json +6 -0
  1115. package/navigation/Breadcrumbs/hooks.d.ts +11 -0
  1116. package/navigation/Breadcrumbs/hooks.js.map +7 -0
  1117. package/navigation/Breadcrumbs/index.d.ts +4 -1
  1118. package/navigation/Breadcrumbs/index.js +12 -5
  1119. package/navigation/Breadcrumbs/index.js.map +7 -0
  1120. package/navigation/Breadcrumbs/index.test.d.ts +1 -0
  1121. package/navigation/Breadcrumbs/interaction.test.d.ts +1 -0
  1122. package/navigation/Breadcrumbs/slug/index.js +97 -0
  1123. package/navigation/Breadcrumbs/slug/package.json +6 -0
  1124. package/navigation/Breadcrumbs/slug.d.ts +1 -0
  1125. package/navigation/Breadcrumbs/slug.js.map +7 -0
  1126. package/navigation/Breadcrumbs/utils/index.js +29 -0
  1127. package/navigation/Breadcrumbs/utils/package.json +6 -0
  1128. package/navigation/Breadcrumbs/utils.d.ts +1 -0
  1129. package/navigation/Breadcrumbs/utils.js.map +7 -0
  1130. package/navigation/Drawer/Drawer.stories.d.ts +5 -3
  1131. package/navigation/Drawer/__stories__/Auto.d.ts +3 -2
  1132. package/navigation/Drawer/__stories__/Default.d.ts +2 -2
  1133. package/navigation/Drawer/__stories__/WithHook.d.ts +2 -2
  1134. package/navigation/Drawer/auto/index.js +67 -57
  1135. package/navigation/Drawer/auto.d.ts +6 -6
  1136. package/navigation/Drawer/auto.js.map +7 -0
  1137. package/navigation/Drawer/hooks/index.js +44 -41
  1138. package/navigation/Drawer/hooks.js.map +7 -0
  1139. package/navigation/Drawer/index.d.ts +0 -1
  1140. package/navigation/Drawer/index.js +8 -5
  1141. package/navigation/Drawer/index.js.map +7 -0
  1142. package/navigation/Drawer/index.test.d.ts +1 -0
  1143. package/navigation/Dropdown/Dropdown.stories.d.ts +88 -11
  1144. package/navigation/Dropdown/__stories__/AlignRight.d.ts +2 -2
  1145. package/navigation/Dropdown/__stories__/ContentPosition.d.ts +2 -2
  1146. package/navigation/Dropdown/__stories__/Default.d.ts +2 -2
  1147. package/navigation/Dropdown/__stories__/Dense.d.ts +2 -2
  1148. package/navigation/Dropdown/__stories__/Disabled.d.ts +2 -2
  1149. package/navigation/Dropdown/__stories__/PlacementTop.d.ts +2 -2
  1150. package/navigation/Dropdown/__stories__/ScrollableContent.d.ts +3 -0
  1151. package/navigation/Dropdown/__stories__/Secondary.d.ts +2 -2
  1152. package/navigation/Dropdown/__stories__/VariantLink.d.ts +2 -2
  1153. package/navigation/Dropdown/__stories__/Warning.d.ts +2 -2
  1154. package/navigation/Dropdown/__stories__/WithIcons.d.ts +2 -2
  1155. package/navigation/Dropdown/index.d.ts +1 -1
  1156. package/navigation/Dropdown/index.js +84 -89
  1157. package/navigation/Dropdown/index.js.map +7 -0
  1158. package/navigation/Dropdown/index.test.d.ts +1 -0
  1159. package/navigation/Dropdown/interaction.test.d.ts +1 -0
  1160. package/navigation/Link/Link.stories.d.ts +9 -6
  1161. package/navigation/Link/__stories__/DarkBackground.d.ts +2 -2
  1162. package/navigation/Link/__stories__/DarkBackgroundNoUnderline.d.ts +2 -2
  1163. package/navigation/Link/__stories__/Default.d.ts +2 -2
  1164. package/navigation/Link/__stories__/ExternalLink.d.ts +2 -2
  1165. package/navigation/Link/__stories__/NoUnderline.d.ts +2 -2
  1166. package/navigation/Link/__stories__/OpensInNewTab.d.ts +2 -2
  1167. package/navigation/Link/__stories__/WithProvider.d.ts +3 -0
  1168. package/navigation/Link/index.d.ts +2 -3
  1169. package/navigation/Link/index.js +22 -26
  1170. package/navigation/Link/index.js.map +7 -0
  1171. package/navigation/Link/index.test.d.ts +1 -0
  1172. package/navigation/Link/interaction.test.d.ts +1 -0
  1173. package/navigation/NavList/Nav/index.js +7 -3
  1174. package/navigation/NavList/Nav.js.map +7 -0
  1175. package/navigation/NavList/NavList/index.js +7 -3
  1176. package/navigation/NavList/NavList.js.map +7 -0
  1177. package/navigation/NavList/NavList.stories.d.ts +11 -8
  1178. package/navigation/NavList/NavListAuto/index.js +51 -44
  1179. package/navigation/NavList/NavListAuto/index.js.map +7 -0
  1180. package/navigation/NavList/NavListItemAction/index.js +37 -0
  1181. package/navigation/NavList/NavListItemAction/package.json +6 -0
  1182. package/navigation/NavList/NavListItemAction.d.ts +27 -0
  1183. package/navigation/NavList/NavListItemAction.js.map +7 -0
  1184. package/navigation/NavList/NavListItemLink/index.js +15 -0
  1185. package/navigation/NavList/NavListItemLink/package.json +6 -0
  1186. package/navigation/NavList/NavListItemLink.d.ts +7 -0
  1187. package/navigation/NavList/NavListItemLink.js.map +7 -0
  1188. package/navigation/NavList/NavMenuContentList/index.js +50 -43
  1189. package/navigation/NavList/NavMenuContentList.js.map +7 -0
  1190. package/navigation/NavList/__stories__/Default.d.ts +2 -2
  1191. package/navigation/NavList/__stories__/HorizontalWithDrawer.d.ts +2 -2
  1192. package/navigation/NavList/__stories__/HorizontalWithoutDrawer.d.ts +2 -2
  1193. package/navigation/NavList/__stories__/NavListWithoutNav.d.ts +2 -2
  1194. package/navigation/NavList/__stories__/UsingHeaderButton.d.ts +2 -2
  1195. package/navigation/NavList/__stories__/UsingNavListAuto.d.ts +2 -2
  1196. package/navigation/NavList/__stories__/Vertical.d.ts +2 -2
  1197. package/navigation/NavList/__stories__/VerticalWithoutDrawer.d.ts +2 -2
  1198. package/navigation/NavList/__stories__/WithBadge.d.ts +3 -0
  1199. package/navigation/NavList/hooks/useNavList/index.js +34 -37
  1200. package/navigation/NavList/hooks/useNavList.js.map +7 -0
  1201. package/navigation/NavList/hooks/useTogglableNav/index.js +152 -159
  1202. package/navigation/NavList/hooks/useTogglableNav.js.map +7 -0
  1203. package/navigation/NavList/index.d.ts +3 -2
  1204. package/navigation/NavList/index.js +22 -17
  1205. package/navigation/NavList/index.js.map +7 -0
  1206. package/navigation/NavList/index.test.d.ts +1 -0
  1207. package/navigation/NavList/interaction.test.d.ts +1 -0
  1208. package/navigation/NavList/types/index.js +1 -1
  1209. package/navigation/NavList/types.d.ts +2 -3
  1210. package/navigation/NavList/types.js.map +7 -0
  1211. package/navigation/Pagination/Pagination/index.js +48 -0
  1212. package/navigation/Pagination/Pagination/package.json +6 -0
  1213. package/navigation/Pagination/Pagination.d.ts +39 -0
  1214. package/navigation/Pagination/Pagination.js.map +7 -0
  1215. package/navigation/Pagination/Pagination.stories.d.ts +9 -7
  1216. package/navigation/Pagination/__stories__/Auto.d.ts +2 -2
  1217. package/navigation/Pagination/__stories__/Default.d.ts +2 -2
  1218. package/navigation/Pagination/__stories__/PaginationSmall.d.ts +2 -2
  1219. package/navigation/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -2
  1220. package/navigation/Pagination/__stories__/WithHook.d.ts +2 -2
  1221. package/navigation/Pagination/__stories__/WithInactiveValues.d.ts +2 -2
  1222. package/navigation/Pagination/__stories__/WithResultsPerPage.d.ts +2 -2
  1223. package/navigation/Pagination/auto/index.js +84 -59
  1224. package/navigation/Pagination/auto.d.ts +11 -8
  1225. package/navigation/Pagination/auto.js.map +7 -0
  1226. package/navigation/Pagination/hooks/index.js +51 -62
  1227. package/navigation/Pagination/hooks.d.ts +1 -1
  1228. package/navigation/Pagination/hooks.js.map +7 -0
  1229. package/navigation/Pagination/index.d.ts +3 -40
  1230. package/navigation/Pagination/index.js +13 -72
  1231. package/navigation/Pagination/index.js.map +7 -0
  1232. package/navigation/Pagination/index.test.d.ts +1 -0
  1233. package/navigation/Pagination/interaction.test.d.ts +1 -0
  1234. package/navigation/SkipLink/SkipLink.stories.d.ts +3 -1
  1235. package/navigation/SkipLink/__stories__/Default.d.ts +2 -2
  1236. package/navigation/SkipLink/index.js +7 -3
  1237. package/navigation/SkipLink/index.js.map +7 -0
  1238. package/navigation/SkipLink/index.test.d.ts +1 -0
  1239. package/navigation/Tabs/Tabs.stories.d.ts +5 -3
  1240. package/navigation/Tabs/__stories__/Auto.d.ts +2 -2
  1241. package/navigation/Tabs/__stories__/Default.d.ts +2 -2
  1242. package/navigation/Tabs/__stories__/Dense.d.ts +2 -2
  1243. package/navigation/Tabs/__stories__/UsingAccordion.d.ts +3 -0
  1244. package/navigation/Tabs/auto/index.js +37 -41
  1245. package/navigation/Tabs/auto.d.ts +6 -5
  1246. package/navigation/Tabs/auto.js.map +7 -0
  1247. package/navigation/Tabs/hooks/index.js +77 -69
  1248. package/navigation/Tabs/hooks.d.ts +1 -1
  1249. package/navigation/Tabs/hooks.js.map +7 -0
  1250. package/navigation/Tabs/index.d.ts +0 -1
  1251. package/navigation/Tabs/index.js +12 -9
  1252. package/navigation/Tabs/index.js.map +7 -0
  1253. package/navigation/Tabs/index.test.d.ts +1 -0
  1254. package/navigation/Tabs/interaction.test.d.ts +1 -0
  1255. package/navigation/index.js +10 -9
  1256. package/navigation/index.js.map +7 -0
  1257. package/package.json +14 -13
  1258. package/registry/index.js +268 -363
  1259. package/src/app/BannerContainer/BannerContainer.stories.js +1 -1
  1260. package/src/app/BannerContainer/__stories__/CookiesBanner.tsx +2 -22
  1261. package/src/app/BannerContainer/index.test.tsx +24 -0
  1262. package/src/app/Footer/Footer.stories.jsx +182 -0
  1263. package/src/app/Footer/FooterLink.tsx +20 -0
  1264. package/src/app/Footer/__stories__/Default.tsx +1 -1
  1265. package/src/app/Footer/__stories__/DefaultCopyright.tsx +1 -1
  1266. package/src/app/Footer/__stories__/FooterAllInclusive.tsx +1 -1
  1267. package/src/app/Footer/__stories__/FooterWithLink.tsx +1 -1
  1268. package/src/app/Footer/__stories__/FooterWithLogo.tsx +1 -1
  1269. package/src/app/Footer/__stories__/FooterWithSecondaryNavigation.tsx +1 -1
  1270. package/src/app/Footer/__stories__/FooterWithText.tsx +10 -7
  1271. package/src/app/Footer/__stories__/YearCopyright.tsx +1 -1
  1272. package/src/app/Footer/doc.mdx +47 -0
  1273. package/src/app/Footer/index.test.tsx +52 -0
  1274. package/src/app/Footer/index.tsx +1 -1
  1275. package/src/app/Footer/interaction.test.tsx +25 -0
  1276. package/src/app/Header/Header.stories.jsx +105 -0
  1277. package/src/app/Header/HeaderLogo.tsx +18 -2
  1278. package/src/app/Header/HeaderSecondaryLogo.tsx +20 -2
  1279. package/src/app/Header/HeaderTitle.tsx +20 -2
  1280. package/src/app/Header/__snapshots__/index.spec.tsx.snap +43 -37
  1281. package/src/app/Header/__stories__/Default.tsx +1 -1
  1282. package/src/app/Header/__stories__/WithHeaderNavigation.tsx +1 -1
  1283. package/src/app/Header/__stories__/WithNavigation.tsx +1 -1
  1284. package/src/app/Header/__stories__/WithServiceName.tsx +1 -1
  1285. package/src/app/Header/__stories__/WithServiceNameAndLogo.tsx +3 -3
  1286. package/src/app/Header/doc.mdx +32 -0
  1287. package/src/app/Header/index.spec.tsx +13 -9
  1288. package/src/app/Header/index.test.tsx +40 -0
  1289. package/src/app/Header/interaction.test.tsx +44 -0
  1290. package/src/app/Loader/Loader.stories.jsx +54 -0
  1291. package/src/app/Loader/__stories__/AccessibilityLoader.tsx +27 -0
  1292. package/src/app/Loader/__stories__/Default.tsx +1 -1
  1293. package/src/app/Loader/__stories__/FullPageLoader.tsx +20 -0
  1294. package/src/app/Loader/__stories__/Secondary.tsx +11 -0
  1295. package/src/app/Loader/__stories__/Sizes.tsx +18 -0
  1296. package/src/app/Loader/doc.mdx +39 -0
  1297. package/src/app/Loader/index.native.tsx +98 -0
  1298. package/src/app/Loader/index.test.tsx +40 -0
  1299. package/src/app/Loader/index.tsx +1 -1
  1300. package/src/app/Loader/index.web.tsx +39 -0
  1301. package/src/app/Masthead/Masthead.stories.jsx +66 -0
  1302. package/src/app/Masthead/__stories__/Default.tsx +2 -2
  1303. package/src/app/Masthead/__stories__/Secondary.tsx +26 -0
  1304. package/src/app/Masthead/__stories__/WithElements.tsx +2 -6
  1305. package/src/app/Masthead/__stories__/WithLogo.tsx +2 -6
  1306. package/src/app/Masthead/doc.mdx +35 -0
  1307. package/src/app/Masthead/index.test.tsx +36 -0
  1308. package/src/app/Masthead/interaction.test.tsx +19 -0
  1309. package/src/app/Modal/Modal.stories.jsx +64 -0
  1310. package/src/app/Modal/__stories__/AlertDialog.tsx +2 -2
  1311. package/src/app/Modal/__stories__/Auto.tsx +4 -6
  1312. package/src/app/Modal/__stories__/Default.tsx +2 -2
  1313. package/src/app/Modal/__stories__/Dense.tsx +2 -2
  1314. package/src/app/Modal/__stories__/WithHooks.tsx +2 -2
  1315. package/src/app/Modal/__stories__/WithoutModalGaps.tsx +52 -0
  1316. package/src/app/Modal/auto.tsx +12 -16
  1317. package/src/app/Modal/doc.mdx +43 -0
  1318. package/src/app/Modal/hooks.ts +8 -8
  1319. package/src/app/Modal/index.native.tsx +17 -0
  1320. package/src/app/Modal/index.test.tsx +44 -0
  1321. package/src/app/Modal/index.tsx +2 -58
  1322. package/src/app/Modal/index.web.tsx +54 -0
  1323. package/src/app/Modal/interaction.test.tsx +54 -0
  1324. package/src/app/NotFound/NotFound.stories.js +4 -1
  1325. package/src/app/NotFound/__stories__/Default.tsx +1 -1
  1326. package/src/app/NotFound/doc.mdx +16 -0
  1327. package/src/app/NotFound/index.test.tsx +24 -0
  1328. package/src/app/OutdatedBrowserBanner/hooks/evaluateBrowserVersion.ts +2 -2
  1329. package/src/app/OutdatedBrowserBanner/index.tsx +1 -1
  1330. package/src/app/Panel/Panel.stories.js +4 -1
  1331. package/src/app/Panel/__stories__/Default.tsx +1 -1
  1332. package/src/app/Panel/doc.mdx +23 -0
  1333. package/src/app/Panel/index.test.tsx +24 -0
  1334. package/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.js +4 -1
  1335. package/src/app/PhaseBannerHeader/__stories__/Default.tsx +1 -1
  1336. package/src/app/PhaseBannerHeader/doc.mdx +18 -0
  1337. package/src/app/PhaseBannerHeader/index.test.tsx +24 -0
  1338. package/src/app/PhaseBannerHeader/index.tsx +1 -1
  1339. package/src/app/QrCodeScanner/QrCodeScanner.stories.js +1 -1
  1340. package/src/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +6 -10
  1341. package/src/app/QrCodeScanner/__stories__/Default.tsx +2 -2
  1342. package/src/app/QrCodeScanner/index.spec.tsx +3 -3
  1343. package/src/app/QrCodeScanner/index.tsx +10 -4
  1344. package/src/app/QrCodeViewer/QRCode.stories.js +5 -2
  1345. package/src/app/QrCodeViewer/__stories__/Custom.tsx +1 -1
  1346. package/src/app/QrCodeViewer/__stories__/Default.tsx +1 -1
  1347. package/src/app/QrCodeViewer/doc.mdx +22 -0
  1348. package/src/app/QrCodeViewer/index.test.tsx +28 -0
  1349. package/src/app/QrCodeViewer/index.tsx +4 -4
  1350. package/src/app/QrCodeViewer/qrcodegen.ts +3 -3
  1351. package/src/app/QrCodeViewer/types.ts +10 -5
  1352. package/src/app/QrCodeViewer/utils.ts +1 -1
  1353. package/src/app/Skeleton/Skeleton.stories.js +51 -0
  1354. package/src/app/Skeleton/__stories__/Button.tsx +6 -0
  1355. package/src/app/Skeleton/__stories__/Circular.tsx +8 -0
  1356. package/src/app/Skeleton/__stories__/Default.tsx +6 -0
  1357. package/src/app/Skeleton/__stories__/NoAnimation.tsx +6 -0
  1358. package/src/app/Skeleton/__stories__/Rectangular.tsx +8 -0
  1359. package/src/app/Skeleton/__stories__/SpecificWidthAndHeight.tsx +8 -0
  1360. package/src/app/Skeleton/__stories__/TextSizes.tsx +14 -0
  1361. package/src/app/Skeleton/__stories__/UnderTypography.tsx +17 -0
  1362. package/src/app/Skeleton/__stories__/WithChildren.tsx +11 -0
  1363. package/src/app/Skeleton/doc.mdx +42 -0
  1364. package/src/app/Skeleton/index.test.tsx +56 -0
  1365. package/src/app/Skeleton/index.tsx +4 -0
  1366. package/src/app/ThemeOptions/index.tsx +6 -15
  1367. package/src/app/hooks/useHighlightLinks.ts +3 -4
  1368. package/src/app/hooks/useNotificationArea.tsx +105 -0
  1369. package/src/app/hooks/useTheme.ts +4 -3
  1370. package/src/content/Accordion/Accordion.stories.jsx +96 -0
  1371. package/src/content/Accordion/__snapshots__/index.spec.tsx.snap +48 -147
  1372. package/src/content/Accordion/__stories__/Auto.tsx +6 -4
  1373. package/src/content/Accordion/__stories__/Default.tsx +1 -1
  1374. package/src/content/Accordion/__stories__/WithHints.tsx +1 -1
  1375. package/src/content/Accordion/__stories__/WithHook.tsx +1 -1
  1376. package/src/content/Accordion/auto.tsx +8 -7
  1377. package/src/content/Accordion/doc.mdx +33 -0
  1378. package/src/content/Accordion/hooks.ts +5 -5
  1379. package/src/content/Accordion/index.spec.tsx +3 -3
  1380. package/src/content/Accordion/index.test.tsx +36 -0
  1381. package/src/content/Accordion/index.tsx +0 -2
  1382. package/src/content/Accordion/interaction.test.tsx +19 -0
  1383. package/src/content/Blockquote/Blockquote.stories.js +25 -2
  1384. package/src/content/Blockquote/__snapshots__/index.spec.tsx.snap +6 -9
  1385. package/src/content/Blockquote/__stories__/Default.tsx +1 -1
  1386. package/src/content/Blockquote/__stories__/Dense.tsx +1 -1
  1387. package/src/content/Blockquote/doc.mdx +24 -0
  1388. package/src/content/Blockquote/index.spec.tsx +2 -2
  1389. package/src/content/Blockquote/index.test.tsx +28 -0
  1390. package/src/content/Card/Card.stories.jsx +120 -0
  1391. package/src/content/Card/__stories__/Default.tsx +1 -1
  1392. package/src/content/Card/__stories__/Dense.tsx +1 -1
  1393. package/src/content/Card/__stories__/WithClickableContent.tsx +1 -1
  1394. package/src/content/Card/__stories__/WithClickableLink.tsx +1 -1
  1395. package/src/content/Card/__stories__/WithDarkBorder.tsx +1 -1
  1396. package/src/content/Card/__stories__/WithDarkTopBorder.tsx +1 -1
  1397. package/src/content/Card/__stories__/WithDivider.tsx +1 -1
  1398. package/src/content/Card/__stories__/WithGrayBorder.tsx +1 -1
  1399. package/src/content/Card/__stories__/WithGrayTopBorder.tsx +1 -1
  1400. package/src/content/Card/__stories__/WithGroupButton.tsx +1 -1
  1401. package/src/content/Card/__stories__/WithLink.tsx +1 -1
  1402. package/src/content/Card/doc.mdx +71 -0
  1403. package/src/content/Card/index.test.tsx +64 -0
  1404. package/src/content/Card/interaction.test.tsx +19 -0
  1405. package/src/content/Chip/Chip.stories.js +30 -5
  1406. package/src/content/Chip/__stories__/ClickableChip.tsx +1 -1
  1407. package/src/content/Chip/__stories__/ClickableDeletableChip.tsx +1 -1
  1408. package/src/content/Chip/__stories__/Default.tsx +1 -1
  1409. package/src/content/Chip/__stories__/DeletableChip.tsx +1 -1
  1410. package/src/content/Chip/__stories__/GroupOfChips.tsx +1 -1
  1411. package/src/content/Chip/doc.mdx +34 -0
  1412. package/src/content/Chip/index.test.tsx +40 -0
  1413. package/src/content/Details/Details.stories.js +4 -1
  1414. package/src/content/Details/__snapshots__/index.spec.tsx.snap +32 -69
  1415. package/src/content/Details/__stories__/Default.tsx +1 -1
  1416. package/src/content/Details/doc.mdx +23 -0
  1417. package/src/content/Details/index.spec.tsx +5 -5
  1418. package/src/content/Details/index.test.tsx +24 -0
  1419. package/src/content/Details/interaction.test.tsx +19 -0
  1420. package/src/content/List/List.stories.jsx +63 -0
  1421. package/src/content/List/__snapshots__/index.spec.tsx.snap +14 -4
  1422. package/src/content/List/__stories__/BulletList.tsx +1 -1
  1423. package/src/content/List/__stories__/Default.tsx +4 -10
  1424. package/src/content/List/__stories__/HorizontalList.tsx +1 -1
  1425. package/src/content/List/__stories__/NestedBulletList.tsx +1 -1
  1426. package/src/content/List/__stories__/NumberedList.tsx +1 -1
  1427. package/src/content/List/__stories__/WithExtraSpace.tsx +1 -1
  1428. package/src/content/List/doc.mdx +28 -0
  1429. package/src/content/List/index.test.tsx +44 -0
  1430. package/src/content/Markdown/Markdown.stories.js +8 -0
  1431. package/src/content/Markdown/__stories__/Default.tsx +42 -0
  1432. package/src/content/Markdown/index.test.tsx +24 -0
  1433. package/src/content/Markdown/index.tsx +9 -3
  1434. package/src/content/SafeHTML/SafeHTML.stories.js +8 -0
  1435. package/src/content/SafeHTML/__stories__/Default.tsx +42 -0
  1436. package/src/content/SafeHTML/index.test.tsx +24 -0
  1437. package/src/content/SafeHTML/index.tsx +4 -5
  1438. package/src/content/StepNav/StepNav.stories.js +8 -5
  1439. package/src/content/StepNav/__stories__/Auto.tsx +4 -2
  1440. package/src/content/StepNav/__stories__/Default.tsx +1 -1
  1441. package/src/content/StepNav/__stories__/Dense.tsx +1 -1
  1442. package/src/content/StepNav/__stories__/WithHints.tsx +1 -1
  1443. package/src/content/StepNav/__stories__/WithHook.tsx +1 -1
  1444. package/src/content/StepNav/auto.tsx +7 -5
  1445. package/src/content/StepNav/doc.mdx +39 -0
  1446. package/src/content/StepNav/index.test.tsx +40 -0
  1447. package/src/content/StepNav/index.tsx +0 -1
  1448. package/src/content/StepNav/interaction.test.tsx +30 -0
  1449. package/src/content/SummaryList/SummaryList.stories.js +26 -9
  1450. package/src/content/SummaryList/__snapshots__/index.spec.tsx.snap +37 -89
  1451. package/src/content/SummaryList/__stories__/Default.tsx +1 -1
  1452. package/src/content/SummaryList/__stories__/RowVariations.tsx +1 -1
  1453. package/src/content/SummaryList/__stories__/SummaryListExample.tsx +82 -0
  1454. package/src/content/SummaryList/__stories__/WithActions.tsx +1 -1
  1455. package/src/content/SummaryList/__stories__/WithError.tsx +48 -0
  1456. package/src/content/SummaryList/__stories__/WithKeyAndAction.tsx +1 -1
  1457. package/src/content/SummaryList/__stories__/WithNoLastBorder.tsx +46 -0
  1458. package/src/content/SummaryList/__stories__/WithoutActions.tsx +1 -1
  1459. package/src/content/SummaryList/__stories__/WithoutBorders.tsx +1 -1
  1460. package/src/content/SummaryList/doc.mdx +39 -0
  1461. package/src/content/SummaryList/index.spec.tsx +3 -3
  1462. package/src/content/SummaryList/index.test.tsx +56 -0
  1463. package/src/content/SummaryList/interaction.test.tsx +24 -0
  1464. package/src/content/Table/Table.stories.jsx +236 -0
  1465. package/src/content/Table/TableFloatingScroll.tsx +8 -4
  1466. package/src/content/Table/__stories__/DarkVariant.tsx +1 -1
  1467. package/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.tsx +1 -1
  1468. package/src/content/Table/__stories__/Default.tsx +1 -1
  1469. package/src/content/Table/__stories__/DefinedWidth.tsx +1 -1
  1470. package/src/content/Table/__stories__/Dense.tsx +129 -0
  1471. package/src/content/Table/__stories__/Full.tsx +1 -1
  1472. package/src/content/Table/__stories__/MultipleProps.tsx +1 -1
  1473. package/src/content/Table/__stories__/NoData.tsx +1 -1
  1474. package/src/content/Table/__stories__/NumericDataType.tsx +1 -1
  1475. package/src/content/Table/__stories__/RowColors.tsx +1 -1
  1476. package/src/content/Table/__stories__/Stacked.tsx +1 -1
  1477. package/src/content/Table/__stories__/TableCaptions.tsx +1 -1
  1478. package/src/content/Table/__stories__/UsingHighlights.tsx +82 -0
  1479. package/src/content/Table/__stories__/VerticalBorders.tsx +1 -1
  1480. package/src/content/Table/__stories__/VerticalHeaders.tsx +1 -1
  1481. package/src/content/Table/__stories__/WithFloatingScroll.tsx +1 -1
  1482. package/src/content/Table/__stories__/WithLoader.tsx +4 -4
  1483. package/src/content/Table/__stories__/WithSortFilters.tsx +1 -1
  1484. package/src/content/Table/__stories__/ZebraProp.tsx +1 -1
  1485. package/src/content/Table/doc.mdx +81 -0
  1486. package/src/content/Table/hooks/useSort.tsx +3 -3
  1487. package/src/content/Table/index.test.tsx +99 -0
  1488. package/src/content/Table/index.tsx +6 -9
  1489. package/src/content/Table/interaction.test.tsx +44 -0
  1490. package/src/content/TaskList/TaskList.stories.js +5 -2
  1491. package/src/content/TaskList/__stories__/Default.tsx +1 -1
  1492. package/src/content/TaskList/__stories__/Dense.tsx +1 -1
  1493. package/src/content/TaskList/doc.mdx +28 -0
  1494. package/src/content/TaskList/index.test.tsx +28 -0
  1495. package/src/content/Timeline/Timeline.stories.js +5 -2
  1496. package/src/content/Timeline/__stories__/Default.tsx +1 -1
  1497. package/src/content/Timeline/__stories__/Dense.tsx +1 -1
  1498. package/src/content/Timeline/doc.mdx +31 -0
  1499. package/src/content/Timeline/index.test.tsx +28 -0
  1500. package/src/doc.mdx +49 -0
  1501. package/src/feedback/CopyToClipboard/CopyToClipboard.stories.jsx +73 -0
  1502. package/src/feedback/CopyToClipboard/__stories__/Banner.tsx +1 -1
  1503. package/src/feedback/CopyToClipboard/__stories__/Default.tsx +2 -2
  1504. package/src/feedback/CopyToClipboard/__stories__/Dense.tsx +1 -1
  1505. package/src/feedback/CopyToClipboard/doc.mdx +24 -0
  1506. package/src/feedback/CopyToClipboard/index.test.tsx +32 -0
  1507. package/src/feedback/CopyToClipboard/index.tsx +1 -1
  1508. package/src/feedback/CopyToClipboard/interaction.test.tsx +51 -0
  1509. package/src/feedback/ErrorSummary/ErrorSummary.stories.jsx +70 -0
  1510. package/src/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +14 -4
  1511. package/src/feedback/ErrorSummary/__stories__/Default.tsx +1 -1
  1512. package/src/feedback/ErrorSummary/__stories__/Dense.tsx +1 -1
  1513. package/src/feedback/ErrorSummary/__stories__/ErrorGroupLinkedToInput.tsx +47 -0
  1514. package/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.tsx +1 -1
  1515. package/src/feedback/ErrorSummary/__stories__/LinkedToField.tsx +1 -1
  1516. package/src/feedback/ErrorSummary/__stories__/LinkedToInput.tsx +2 -3
  1517. package/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.tsx +1 -1
  1518. package/src/feedback/ErrorSummary/doc.mdx +38 -0
  1519. package/src/feedback/ErrorSummary/index.test.tsx +48 -0
  1520. package/src/feedback/ErrorSummary/interaction.test.tsx +21 -0
  1521. package/src/feedback/NotificationBanner/NotificationBanner.stories.js +43 -4
  1522. package/src/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +25 -15
  1523. package/src/feedback/NotificationBanner/__stories__/Default.tsx +1 -1
  1524. package/src/feedback/NotificationBanner/__stories__/Dense.tsx +1 -1
  1525. package/src/feedback/NotificationBanner/__stories__/Expanded.tsx +27 -0
  1526. package/src/feedback/NotificationBanner/__stories__/Success.tsx +1 -1
  1527. package/src/feedback/NotificationBanner/doc.mdx +45 -0
  1528. package/src/feedback/NotificationBanner/index.test.tsx +36 -0
  1529. package/src/feedback/NotificationBanner/interaction.test.tsx +39 -0
  1530. package/src/feedback/PhaseBanner/PhaseBanner.stories.jsx +50 -0
  1531. package/src/feedback/PhaseBanner/__stories__/Default.tsx +1 -1
  1532. package/src/feedback/PhaseBanner/__stories__/Underlined.tsx +1 -1
  1533. package/src/feedback/PhaseBanner/doc.mdx +27 -0
  1534. package/src/feedback/PhaseBanner/index.test.tsx +28 -0
  1535. package/src/feedback/PhaseBanner/interaction.test.tsx +19 -0
  1536. package/src/feedback/WarningText/WarningText.stories.js +34 -3
  1537. package/src/feedback/WarningText/__snapshots__/index.spec.tsx.snap +14 -4
  1538. package/src/feedback/WarningText/__stories__/AssistiveText.tsx +1 -1
  1539. package/src/feedback/WarningText/__stories__/Default.tsx +1 -1
  1540. package/src/feedback/WarningText/__stories__/Dense.tsx +1 -1
  1541. package/src/feedback/WarningText/doc.mdx +27 -0
  1542. package/src/feedback/WarningText/index.test.tsx +32 -0
  1543. package/src/feedback/WarningText/index.tsx +1 -0
  1544. package/src/form/AutoComplete/AutoComplete.stories.jsx +109 -0
  1545. package/src/form/AutoComplete/Status/index.tsx +15 -11
  1546. package/src/form/AutoComplete/__stories__/Default.tsx +1 -1
  1547. package/src/form/AutoComplete/__stories__/Multiple.tsx +23 -0
  1548. package/src/form/AutoComplete/__stories__/MultipleShowingTwoSelected.tsx +22 -0
  1549. package/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.tsx +22 -0
  1550. package/src/form/AutoComplete/__stories__/MultipleWithMinLength.tsx +29 -0
  1551. package/src/form/AutoComplete/__stories__/WithAutoSelect.tsx +2 -18
  1552. package/src/form/AutoComplete/__stories__/WithCustomValue.tsx +28 -0
  1553. package/src/form/AutoComplete/__stories__/WithDefaultValue.tsx +2 -7
  1554. package/src/form/AutoComplete/__stories__/WithHint.tsx +16 -0
  1555. package/src/form/AutoComplete/__stories__/WithMinLength.tsx +1 -1
  1556. package/src/form/AutoComplete/__stories__/WithPlaceHolder.tsx +1 -1
  1557. package/src/form/AutoComplete/__stories__/WithShowAllValues.tsx +2 -7
  1558. package/src/form/AutoComplete/doc.mdx +51 -0
  1559. package/src/form/AutoComplete/index.test.tsx +68 -0
  1560. package/src/form/AutoComplete/index.tsx +424 -240
  1561. package/src/form/AutoComplete/interaction.test.tsx +30 -0
  1562. package/src/form/AutoComplete/utils.ts +5 -4
  1563. package/src/form/Button/Button.stories.js +57 -14
  1564. package/src/form/Button/ButtonLink.tsx +18 -2
  1565. package/src/form/Button/CallToAction.tsx +20 -2
  1566. package/src/form/Button/__snapshots__/index.spec.tsx.snap +6 -10
  1567. package/src/form/Button/__stories__/Back.tsx +1 -1
  1568. package/src/form/Button/__stories__/ButtonLinkButton.tsx +1 -1
  1569. package/src/form/Button/__stories__/CallToActionButton.tsx +1 -1
  1570. package/src/form/Button/__stories__/Dense.tsx +1 -1
  1571. package/src/form/Button/__stories__/Disabled.tsx +1 -1
  1572. package/src/form/Button/__stories__/GroupingButtons.tsx +1 -1
  1573. package/src/form/Button/__stories__/GroupingButtonsAndLinks.tsx +1 -1
  1574. package/src/form/Button/__stories__/Primary.tsx +24 -2
  1575. package/src/form/Button/__stories__/Secondary.tsx +1 -1
  1576. package/src/form/Button/__stories__/ThemeToggle.tsx +1 -1
  1577. package/src/form/Button/__stories__/Warning.tsx +1 -1
  1578. package/src/form/Button/__stories__/WithVariantLink.tsx +1 -1
  1579. package/src/form/Button/doc.mdx +107 -0
  1580. package/src/form/Button/index.spec.tsx +2 -2
  1581. package/src/form/Button/index.test.tsx +68 -0
  1582. package/src/form/Button/interaction.test.tsx +94 -0
  1583. package/src/form/Checkbox/Checkbox.stories.jsx +153 -0
  1584. package/src/form/Checkbox/__stories__/ConditionalReveal.tsx +1 -1
  1585. package/src/form/Checkbox/__stories__/Default.tsx +1 -1
  1586. package/src/form/Checkbox/__stories__/Dense.tsx +1 -1
  1587. package/src/form/Checkbox/__stories__/Inline.tsx +1 -1
  1588. package/src/form/Checkbox/__stories__/InlineWithDivider.tsx +1 -1
  1589. package/src/form/Checkbox/__stories__/MultipleQuestions.tsx +1 -1
  1590. package/src/form/Checkbox/__stories__/NoneAnswer.tsx +1 -1
  1591. package/src/form/Checkbox/__stories__/NoneAnswerWithError.tsx +1 -1
  1592. package/src/form/Checkbox/__stories__/WithErrorMessage.tsx +1 -1
  1593. package/src/form/Checkbox/__stories__/WithHint.tsx +1 -1
  1594. package/src/form/Checkbox/doc.mdx +57 -0
  1595. package/src/form/Checkbox/index.test.tsx +60 -0
  1596. package/src/form/Checkbox/index.tsx +1 -0
  1597. package/src/form/Checkbox/interaction.test.tsx +48 -0
  1598. package/src/form/DateInputContainer/DateInputContainer.stories.jsx +118 -0
  1599. package/src/form/DateInputContainer/__stories__/Default.tsx +1 -1
  1600. package/src/form/DateInputContainer/__stories__/Dense.tsx +1 -1
  1601. package/src/form/DateInputContainer/__stories__/MultipleQuestions.tsx +2 -2
  1602. package/src/form/DateInputContainer/__stories__/WithErrorMessage.tsx +1 -1
  1603. package/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.tsx +1 -1
  1604. package/src/form/DateInputContainer/doc.mdx +32 -0
  1605. package/src/form/DateInputContainer/index.test.tsx +40 -0
  1606. package/src/form/DateInputContainer/interaction.test.tsx +46 -0
  1607. package/src/form/ErrorMessage/ErrorMessage.stories.jsx +45 -0
  1608. package/src/form/ErrorMessage/__stories__/DateInputError.tsx +1 -1
  1609. package/src/form/ErrorMessage/__stories__/Default.tsx +1 -1
  1610. package/src/form/ErrorMessage/__stories__/ErrorMessageOnly.tsx +1 -1
  1611. package/src/form/ErrorMessage/doc.mdx +19 -0
  1612. package/src/form/ErrorMessage/index.test.tsx +32 -0
  1613. package/src/form/FileUpload/FileUpload.stories.js +6 -2
  1614. package/src/form/FileUpload/__stories__/Default.tsx +1 -1
  1615. package/src/form/FileUpload/__stories__/WithErrorMessage.tsx +1 -1
  1616. package/src/form/FileUpload/__stories__/WithVariantLink.tsx +24 -0
  1617. package/src/form/FileUpload/doc.mdx +22 -0
  1618. package/src/form/FileUpload/index.test.tsx +32 -0
  1619. package/src/form/RadioContainer/RadioContainer.stories.jsx +160 -0
  1620. package/src/form/RadioContainer/__stories__/ConditionalReveal.tsx +1 -1
  1621. package/src/form/RadioContainer/__stories__/Default.tsx +1 -1
  1622. package/src/form/RadioContainer/__stories__/Dense.tsx +1 -1
  1623. package/src/form/RadioContainer/__stories__/Inline.tsx +1 -1
  1624. package/src/form/RadioContainer/__stories__/InlineWithDivider.tsx +1 -1
  1625. package/src/form/RadioContainer/__stories__/MultipleQuestions.tsx +1 -1
  1626. package/src/form/RadioContainer/__stories__/NoneAnswer.tsx +1 -1
  1627. package/src/form/RadioContainer/__stories__/WithErrorMessage.tsx +1 -1
  1628. package/src/form/RadioContainer/__stories__/WithHints.tsx +1 -1
  1629. package/src/form/RadioContainer/__stories__/WithMediumLegend.tsx +1 -1
  1630. package/src/form/RadioContainer/doc.mdx +58 -0
  1631. package/src/form/RadioContainer/index.test.tsx +60 -0
  1632. package/src/form/RadioContainer/interaction.test.tsx +40 -0
  1633. package/src/form/SearchContainer/SearchContainer.stories.js +12 -0
  1634. package/src/form/SearchContainer/__stories__/Default.tsx +15 -0
  1635. package/src/form/SearchContainer/doc.mdx +16 -0
  1636. package/src/form/SearchContainer/index.test.tsx +24 -0
  1637. package/src/form/SelectContainer/SelectContainer.stories.jsx +110 -0
  1638. package/src/form/SelectContainer/__stories__/Default.tsx +1 -1
  1639. package/src/form/SelectContainer/__stories__/Dense.tsx +1 -1
  1640. package/src/form/SelectContainer/__stories__/DisabledInput.tsx +1 -1
  1641. package/src/form/SelectContainer/__stories__/WithHint.tsx +1 -1
  1642. package/src/form/SelectContainer/doc.mdx +34 -0
  1643. package/src/form/SelectContainer/index.test.tsx +36 -0
  1644. package/src/form/SelectContainer/interaction.test.tsx +22 -0
  1645. package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.jsx +133 -0
  1646. package/src/form/SingleCharacterInputs/__stories__/Default.tsx +1 -1
  1647. package/src/form/SingleCharacterInputs/__stories__/WithDefaultError.tsx +1 -1
  1648. package/src/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.tsx +1 -1
  1649. package/src/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.tsx +1 -1
  1650. package/src/form/SingleCharacterInputs/doc.mdx +22 -0
  1651. package/src/form/SingleCharacterInputs/index.test.tsx +36 -0
  1652. package/src/form/TextArea/TextArea.stories.jsx +120 -0
  1653. package/src/form/TextArea/__stories__/Default.tsx +2 -3
  1654. package/src/form/TextArea/__stories__/Dense.tsx +1 -1
  1655. package/src/form/TextArea/__stories__/DisabledInput.tsx +2 -3
  1656. package/src/form/TextArea/__stories__/LimitedCharacters.tsx +2 -3
  1657. package/src/form/TextArea/__stories__/MultipleQuestions.tsx +1 -1
  1658. package/src/form/TextArea/__stories__/WithDeclaredRows.tsx +2 -3
  1659. package/src/form/TextArea/__stories__/WithErrorMessage.tsx +2 -3
  1660. package/src/form/TextArea/__stories__/WithHint.tsx +2 -3
  1661. package/src/form/TextArea/doc.mdx +48 -0
  1662. package/src/form/TextArea/index.test.tsx +52 -0
  1663. package/src/form/TextArea/interaction.test.tsx +53 -0
  1664. package/src/form/TextInput/TextInput.stories.jsx +128 -0
  1665. package/src/form/TextInput/__stories__/AskingForNumbers.tsx +2 -3
  1666. package/src/form/TextInput/__stories__/Default.tsx +2 -3
  1667. package/src/form/TextInput/__stories__/Dense.tsx +1 -1
  1668. package/src/form/TextInput/__stories__/DisabledInput.tsx +2 -3
  1669. package/src/form/TextInput/__stories__/DisabledInputWithValue.tsx +5 -6
  1670. package/src/form/TextInput/__stories__/FixedWidths.tsx +2 -3
  1671. package/src/form/TextInput/__stories__/FluidWidths.tsx +2 -3
  1672. package/src/form/TextInput/__stories__/MultipleQuestions.tsx +1 -1
  1673. package/src/form/TextInput/__stories__/WithErrorMessage.tsx +2 -3
  1674. package/src/form/TextInput/__stories__/WithHint.tsx +2 -3
  1675. package/src/form/TextInput/doc.mdx +58 -0
  1676. package/src/form/TextInput/index.test.tsx +60 -0
  1677. package/src/form/TextInput/interaction.test.tsx +40 -0
  1678. package/src/govgr/Footer/Copyright.tsx +1 -0
  1679. package/src/govgr/GovGRLogo/index.tsx +17 -2
  1680. package/src/i18n/index.tsx +17 -4
  1681. package/src/i18n/locales/el.ts +92 -12
  1682. package/src/i18n/locales/en.ts +64 -8
  1683. package/src/icons/IconBase/index.tsx +4 -0
  1684. package/src/icons/SvgIcon/index.tsx +4 -0
  1685. package/src/icons/index.tsx +26 -1
  1686. package/src/layouts/Basic/Basic.stories.js +7 -3
  1687. package/src/layouts/Basic/Bottom/__stories__/Default.tsx +14 -10
  1688. package/src/layouts/Basic/Bottom/doc.mdx +18 -0
  1689. package/src/layouts/Basic/Container/__stories__/Default.tsx +16 -9
  1690. package/src/layouts/Basic/Container/doc.mdx +18 -0
  1691. package/src/layouts/Basic/Main/__stories__/Default.tsx +16 -9
  1692. package/src/layouts/Basic/Main/doc.mdx +19 -0
  1693. package/src/layouts/Basic/Top/__stories__/Default.tsx +14 -7
  1694. package/src/layouts/Basic/Top/doc.mdx +19 -0
  1695. package/src/layouts/Basic/__snapshots__/index.spec.tsx.snap +30 -102
  1696. package/src/layouts/Basic/__stories__/Default.tsx +1 -1
  1697. package/src/layouts/Basic/__stories__/MultipleRowsLayout.tsx +2 -1
  1698. package/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.tsx +1 -1
  1699. package/src/layouts/Basic/__stories__/WithBasicLayout.tsx +20 -0
  1700. package/src/layouts/Basic/doc.mdx +29 -0
  1701. package/src/layouts/Basic/index.spec.tsx +3 -3
  1702. package/src/layouts/Basic/index.test.tsx +36 -0
  1703. package/src/layouts/Basic/index.tsx +0 -1
  1704. package/src/layouts/Grid/Grid.stories.jsx +143 -0
  1705. package/src/layouts/Grid/__stories__/Default.tsx +1 -1
  1706. package/src/layouts/Grid/__stories__/Inline.tsx +1 -1
  1707. package/src/layouts/Grid/__stories__/ResponsiveSpacing.tsx +1 -1
  1708. package/src/layouts/Grid/doc.mdx +26 -0
  1709. package/src/layouts/Grid/index.test.tsx +32 -0
  1710. package/src/layouts/Hidden/Hidden.stories.jsx +62 -0
  1711. package/src/layouts/Hidden/index.tsx +3 -0
  1712. package/src/layouts/Screen/Screen.stories.js +4 -4
  1713. package/src/layouts/Screen/__stories__/Default.tsx +5 -5
  1714. package/src/layouts/Screen/__stories__/ScreenDown.tsx +2 -2
  1715. package/src/layouts/Screen/__stories__/ScreenUp.tsx +2 -2
  1716. package/src/layouts/Screen/__stories__/SpecificScreenSize.tsx +2 -2
  1717. package/src/layouts/Screen/index.test.tsx +36 -0
  1718. package/src/layouts/Screen/index.tsx +43 -18
  1719. package/src/layouts/Stack/Stack.stories.jsx +104 -0
  1720. package/src/layouts/Stack/__stories__/AlignItems.tsx +2 -2
  1721. package/src/layouts/Stack/__stories__/Default.tsx +2 -2
  1722. package/src/layouts/Stack/__stories__/JustifyContent.tsx +2 -2
  1723. package/src/layouts/Stack/__stories__/NoWrap.tsx +2 -2
  1724. package/src/layouts/Stack/__stories__/Row.tsx +2 -2
  1725. package/src/layouts/Stack/__stories__/Spacing.tsx +2 -2
  1726. package/src/layouts/Stack/doc.mdx +38 -0
  1727. package/src/layouts/Stack/index.test.tsx +44 -0
  1728. package/src/layouts/Stack/index.tsx +1 -0
  1729. package/src/lazy.js +343 -321
  1730. package/src/navigation/BackLink/BackLink.stories.js +4 -1
  1731. package/src/navigation/BackLink/__stories__/Default.tsx +1 -1
  1732. package/src/navigation/BackLink/doc.mdx +19 -0
  1733. package/src/navigation/BackLink/index.test.tsx +24 -0
  1734. package/src/navigation/BackLink/index.tsx +19 -2
  1735. package/src/navigation/BackLink/interaction.test.tsx +19 -0
  1736. package/src/navigation/BackToTopLink/BackToTopLink.stories.js +6 -2
  1737. package/src/navigation/BackToTopLink/__stories__/Default.tsx +1 -1
  1738. package/src/navigation/BackToTopLink/__stories__/InMain.tsx +1 -1
  1739. package/src/navigation/BackToTopLink/doc.mdx +22 -0
  1740. package/src/navigation/BackToTopLink/index.test.tsx +28 -0
  1741. package/src/navigation/BackToTopLink/index.tsx +1 -2
  1742. package/src/navigation/Breadcrumbs/Breadcrumbs.stories.js +8 -1
  1743. package/src/navigation/Breadcrumbs/BreadcrumbsListItem.tsx +36 -0
  1744. package/src/navigation/Breadcrumbs/BreadcrumbsListItemLink.tsx +22 -0
  1745. package/src/navigation/Breadcrumbs/__stories__/Auto.tsx +201 -0
  1746. package/src/navigation/Breadcrumbs/__stories__/Default.tsx +3 -3
  1747. package/src/navigation/Breadcrumbs/__stories__/WithHook.tsx +219 -0
  1748. package/src/navigation/Breadcrumbs/__stories__/WithProvider.tsx +28 -0
  1749. package/src/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.tsx +20 -0
  1750. package/src/navigation/Breadcrumbs/auto.tsx +71 -0
  1751. package/src/navigation/Breadcrumbs/doc.mdx +36 -0
  1752. package/src/navigation/Breadcrumbs/hooks.ts +66 -0
  1753. package/src/navigation/Breadcrumbs/index.test.tsx +40 -0
  1754. package/src/navigation/Breadcrumbs/index.tsx +6 -1
  1755. package/src/navigation/Breadcrumbs/interaction.test.tsx +56 -0
  1756. package/src/navigation/Breadcrumbs/slug.ts +141 -0
  1757. package/src/navigation/Breadcrumbs/utils.ts +39 -0
  1758. package/src/navigation/Drawer/Drawer.stories.js +6 -3
  1759. package/src/navigation/Drawer/__stories__/Auto.tsx +5 -3
  1760. package/src/navigation/Drawer/__stories__/Default.tsx +4 -5
  1761. package/src/navigation/Drawer/__stories__/WithHook.tsx +1 -1
  1762. package/src/navigation/Drawer/auto.tsx +12 -10
  1763. package/src/navigation/Drawer/doc.mdx +18 -0
  1764. package/src/navigation/Drawer/hooks.ts +6 -6
  1765. package/src/navigation/Drawer/index.test.tsx +32 -0
  1766. package/src/navigation/Drawer/index.tsx +0 -1
  1767. package/src/navigation/Dropdown/Dropdown.stories.jsx +118 -0
  1768. package/src/navigation/Dropdown/__stories__/AlignRight.tsx +2 -3
  1769. package/src/navigation/Dropdown/__stories__/ContentPosition.tsx +1 -1
  1770. package/src/navigation/Dropdown/__stories__/Default.tsx +2 -3
  1771. package/src/navigation/Dropdown/__stories__/Dense.tsx +2 -3
  1772. package/src/navigation/Dropdown/__stories__/Disabled.tsx +2 -3
  1773. package/src/navigation/Dropdown/__stories__/PlacementTop.tsx +2 -3
  1774. package/src/navigation/Dropdown/__stories__/ScrollableContent.tsx +82 -0
  1775. package/src/navigation/Dropdown/__stories__/Secondary.tsx +1 -1
  1776. package/src/navigation/Dropdown/__stories__/VariantLink.tsx +2 -3
  1777. package/src/navigation/Dropdown/__stories__/Warning.tsx +1 -1
  1778. package/src/navigation/Dropdown/__stories__/WithIcons.tsx +1 -1
  1779. package/src/navigation/Dropdown/doc.mdx +56 -0
  1780. package/src/navigation/Dropdown/index.test.tsx +64 -0
  1781. package/src/navigation/Dropdown/interaction.test.tsx +86 -0
  1782. package/src/navigation/Link/Link.stories.js +10 -6
  1783. package/src/navigation/Link/__snapshots__/index.spec.tsx.snap +16 -30
  1784. package/src/navigation/Link/__stories__/DarkBackground.tsx +2 -2
  1785. package/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.tsx +2 -2
  1786. package/src/navigation/Link/__stories__/Default.tsx +1 -1
  1787. package/src/navigation/Link/__stories__/ExternalLink.tsx +1 -1
  1788. package/src/navigation/Link/__stories__/NoUnderline.tsx +1 -1
  1789. package/src/navigation/Link/__stories__/OpensInNewTab.tsx +1 -1
  1790. package/src/navigation/Link/__stories__/WithProvider.tsx +20 -0
  1791. package/src/navigation/Link/doc.mdx +38 -0
  1792. package/src/navigation/Link/index.spec.tsx +4 -4
  1793. package/src/navigation/Link/index.test.tsx +48 -0
  1794. package/src/navigation/Link/index.tsx +14 -10
  1795. package/src/navigation/Link/interaction.test.tsx +55 -0
  1796. package/src/navigation/NavList/NavList.stories.js +12 -8
  1797. package/src/navigation/NavList/NavListAuto/index.tsx +10 -8
  1798. package/src/navigation/NavList/NavListItemAction.tsx +69 -0
  1799. package/src/navigation/NavList/NavListItemLink.tsx +22 -0
  1800. package/src/navigation/NavList/__snapshots__/index.spec.tsx.snap +14 -4
  1801. package/src/navigation/NavList/__stories__/Default.tsx +12 -12
  1802. package/src/navigation/NavList/__stories__/HorizontalWithDrawer.tsx +25 -25
  1803. package/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.tsx +25 -25
  1804. package/src/navigation/NavList/__stories__/NavListWithoutNav.tsx +12 -12
  1805. package/src/navigation/NavList/__stories__/UsingHeaderButton.tsx +1 -1
  1806. package/src/navigation/NavList/__stories__/UsingNavListAuto.tsx +28 -29
  1807. package/src/navigation/NavList/__stories__/Vertical.tsx +17 -13
  1808. package/src/navigation/NavList/__stories__/VerticalWithoutDrawer.tsx +25 -25
  1809. package/src/navigation/NavList/__stories__/WithBadge.tsx +55 -0
  1810. package/src/navigation/NavList/doc.mdx +59 -0
  1811. package/src/navigation/NavList/hooks/useTogglableNav.tsx +3 -2
  1812. package/src/navigation/NavList/index.test.tsx +56 -0
  1813. package/src/navigation/NavList/index.tsx +4 -2
  1814. package/src/navigation/NavList/interaction.test.tsx +57 -0
  1815. package/src/navigation/NavList/types.tsx +2 -3
  1816. package/src/navigation/Pagination/Pagination.stories.js +11 -9
  1817. package/src/navigation/Pagination/Pagination.tsx +121 -0
  1818. package/src/navigation/Pagination/__stories__/Auto.tsx +31 -31
  1819. package/src/navigation/Pagination/__stories__/Default.tsx +1 -1
  1820. package/src/navigation/Pagination/__stories__/PaginationSmall.tsx +1 -1
  1821. package/src/navigation/Pagination/__stories__/PaginationWithSmallFont.tsx +2 -3
  1822. package/src/navigation/Pagination/__stories__/WithHook.tsx +1 -1
  1823. package/src/navigation/Pagination/__stories__/WithInactiveValues.tsx +2 -2
  1824. package/src/navigation/Pagination/__stories__/WithResultsPerPage.tsx +2 -3
  1825. package/src/navigation/Pagination/auto.tsx +9 -6
  1826. package/src/navigation/Pagination/doc.mdx +41 -0
  1827. package/src/navigation/Pagination/hooks.ts +3 -3
  1828. package/src/navigation/Pagination/index.test.tsx +48 -0
  1829. package/src/navigation/Pagination/index.tsx +3 -123
  1830. package/src/navigation/Pagination/interaction.test.tsx +21 -0
  1831. package/src/navigation/SkipLink/SkipLink.stories.js +5 -1
  1832. package/src/navigation/SkipLink/__stories__/Default.tsx +1 -1
  1833. package/src/navigation/SkipLink/doc.mdx +19 -0
  1834. package/src/navigation/SkipLink/index.test.tsx +24 -0
  1835. package/src/navigation/Tabs/Tabs.stories.js +7 -4
  1836. package/src/navigation/Tabs/__stories__/Auto.tsx +3 -5
  1837. package/src/navigation/Tabs/__stories__/Default.tsx +111 -42
  1838. package/src/navigation/Tabs/__stories__/Dense.tsx +2 -4
  1839. package/src/navigation/Tabs/__stories__/UsingAccordion.tsx +277 -0
  1840. package/src/navigation/Tabs/auto.tsx +10 -6
  1841. package/src/navigation/Tabs/doc.mdx +47 -0
  1842. package/src/navigation/Tabs/hooks.ts +11 -9
  1843. package/src/navigation/Tabs/index.test.tsx +36 -0
  1844. package/src/navigation/Tabs/index.tsx +0 -1
  1845. package/src/navigation/Tabs/interaction.test.tsx +23 -0
  1846. package/src/registry.js +252 -356
  1847. package/src/typography/Code/index.tsx +1 -1
  1848. package/src/typography/CodeBlock/CodeBlock.stories.js +37 -0
  1849. package/src/typography/CodeBlock/__stories__/Default.tsx +23 -0
  1850. package/src/typography/CodeBlock/__stories__/Highlighted.tsx +27 -0
  1851. package/src/typography/CodeBlock/__stories__/WithCopyToClipboard.tsx +27 -0
  1852. package/src/typography/CodeBlock/__stories__/WithPhaseBanner.tsx +32 -0
  1853. package/src/typography/CodeBlock/doc.mdx +30 -0
  1854. package/src/typography/CodeBlock/index.test.tsx +36 -0
  1855. package/src/typography/CodeBlock/index.tsx +125 -3
  1856. package/src/typography/Heading/Heading.stories.js +16 -1
  1857. package/src/typography/Heading/__stories__/Default.tsx +1 -1
  1858. package/src/typography/Heading/doc.mdx +16 -0
  1859. package/src/typography/Heading/index.test.tsx +24 -0
  1860. package/src/typography/HeadingCaption/HeadingCaption.stories.js +14 -2
  1861. package/src/typography/HeadingCaption/__stories__/Default.tsx +1 -1
  1862. package/src/typography/HeadingCaption/__stories__/NestedToTitle.tsx +1 -1
  1863. package/src/typography/HeadingCaption/doc.mdx +20 -0
  1864. package/src/typography/HeadingCaption/index.test.tsx +28 -0
  1865. package/src/typography/Hint/Hint.stories.js +16 -2
  1866. package/src/typography/Hint/__stories__/Default.tsx +1 -1
  1867. package/src/typography/Hint/__stories__/FontSizes.tsx +5 -5
  1868. package/src/typography/Hint/doc.mdx +20 -0
  1869. package/src/typography/Hint/index.test.tsx +28 -0
  1870. package/src/typography/NormalText/NormalText.stories.js +17 -4
  1871. package/src/typography/NormalText/__stories__/Default.tsx +1 -1
  1872. package/src/typography/NormalText/__stories__/FontSizes.tsx +1 -1
  1873. package/src/typography/NormalText/__stories__/FontWeight.tsx +1 -1
  1874. package/src/typography/NormalText/__stories__/Variants.tsx +1 -1
  1875. package/src/typography/NormalText/doc.mdx +30 -0
  1876. package/src/typography/NormalText/index.test.tsx +36 -0
  1877. package/src/typography/Paragraph/Paragraph.stories.js +31 -5
  1878. package/src/typography/Paragraph/__stories__/Default.tsx +1 -1
  1879. package/src/typography/Paragraph/__stories__/FontSizes.tsx +1 -1
  1880. package/src/typography/Paragraph/__stories__/FontWeight.tsx +1 -1
  1881. package/src/typography/Paragraph/__stories__/LeadVariant.tsx +3 -1
  1882. package/src/typography/Paragraph/__stories__/SmallVariant.tsx +3 -1
  1883. package/src/typography/Paragraph/doc.mdx +34 -0
  1884. package/src/typography/Paragraph/index.test.tsx +40 -0
  1885. package/src/typography/Typography/doc.mdx +14 -0
  1886. package/src/typography/Typography/index.tsx +1 -1
  1887. package/src/utils/Base/doc.mdx +66 -0
  1888. package/src/utils/Base/index.tsx +1 -0
  1889. package/src/utils/TestVariant/index.tsx +25 -0
  1890. package/src/utils/VisuallyHidden/VisuallyHidden.stories.js +4 -1
  1891. package/src/utils/VisuallyHidden/__stories__/Default.tsx +1 -1
  1892. package/src/utils/VisuallyHidden/doc.mdx +21 -0
  1893. package/src/utils/VisuallyHidden/index.test.tsx +24 -0
  1894. package/src/utils/hooks/useDebounce.ts +5 -5
  1895. package/src/utils/hooks/useLatest.ts +1 -1
  1896. package/src/utils/hooks/useScreen.native.ts +35 -0
  1897. package/src/utils/hooks/useScreen.ts +2 -45
  1898. package/src/utils/hooks/useScreen.web.ts +56 -0
  1899. package/src/utils/hooks/useSearch.ts +2 -3
  1900. package/src/utils/index.ts +0 -1
  1901. package/stories-registry/index.js +755 -0
  1902. package/stories-registry/package.json +6 -0
  1903. package/typography/Code/index.js +7 -3
  1904. package/typography/Code/index.js.map +7 -0
  1905. package/typography/CodeBlock/CodeBlock.stories.d.ts +24 -0
  1906. package/typography/CodeBlock/__stories__/Default.d.ts +3 -0
  1907. package/typography/CodeBlock/__stories__/Highlighted.d.ts +3 -0
  1908. package/typography/CodeBlock/__stories__/WithCopyToClipboard.d.ts +3 -0
  1909. package/typography/CodeBlock/__stories__/WithPhaseBanner.d.ts +3 -0
  1910. package/typography/CodeBlock/index.d.ts +14 -2
  1911. package/typography/CodeBlock/index.js +94 -3
  1912. package/typography/CodeBlock/index.js.map +7 -0
  1913. package/typography/CodeBlock/index.test.d.ts +1 -0
  1914. package/typography/Heading/Heading.stories.d.ts +13 -1
  1915. package/typography/Heading/__stories__/Default.d.ts +2 -2
  1916. package/typography/Heading/index.js +7 -3
  1917. package/typography/Heading/index.js.map +7 -0
  1918. package/typography/Heading/index.test.d.ts +1 -0
  1919. package/typography/HeadingCaption/HeadingCaption.stories.d.ts +12 -2
  1920. package/typography/HeadingCaption/__stories__/Default.d.ts +2 -2
  1921. package/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +2 -2
  1922. package/typography/HeadingCaption/index.js +7 -3
  1923. package/typography/HeadingCaption/index.js.map +7 -0
  1924. package/typography/HeadingCaption/index.test.d.ts +1 -0
  1925. package/typography/Hint/Hint.stories.d.ts +13 -2
  1926. package/typography/Hint/__stories__/Default.d.ts +2 -2
  1927. package/typography/Hint/__stories__/FontSizes.d.ts +2 -2
  1928. package/typography/Hint/index.js +7 -3
  1929. package/typography/Hint/index.js.map +7 -0
  1930. package/typography/Hint/index.test.d.ts +1 -0
  1931. package/typography/NormalText/NormalText.stories.d.ts +14 -4
  1932. package/typography/NormalText/__stories__/Default.d.ts +2 -2
  1933. package/typography/NormalText/__stories__/FontSizes.d.ts +2 -2
  1934. package/typography/NormalText/__stories__/FontWeight.d.ts +2 -2
  1935. package/typography/NormalText/__stories__/Variants.d.ts +2 -2
  1936. package/typography/NormalText/index.js +7 -3
  1937. package/typography/NormalText/index.js.map +7 -0
  1938. package/typography/NormalText/index.test.d.ts +1 -0
  1939. package/typography/Paragraph/Paragraph.stories.d.ts +44 -5
  1940. package/typography/Paragraph/__stories__/Default.d.ts +2 -2
  1941. package/typography/Paragraph/__stories__/FontSizes.d.ts +2 -2
  1942. package/typography/Paragraph/__stories__/FontWeight.d.ts +2 -2
  1943. package/typography/Paragraph/__stories__/LeadVariant.d.ts +2 -2
  1944. package/typography/Paragraph/__stories__/SmallVariant.d.ts +2 -2
  1945. package/typography/Paragraph/index.js +7 -3
  1946. package/typography/Paragraph/index.js.map +7 -0
  1947. package/typography/Paragraph/index.test.d.ts +1 -0
  1948. package/typography/Typography/index.js +7 -3
  1949. package/typography/Typography/index.js.map +7 -0
  1950. package/typography/index.js +7 -6
  1951. package/typography/index.js.map +7 -0
  1952. package/utils/Base/index.d.ts +1 -0
  1953. package/utils/Base/index.js +9 -3
  1954. package/utils/Base/index.js.map +7 -0
  1955. package/utils/TestVariant/index.d.ts +7 -0
  1956. package/utils/TestVariant/index.js +23 -0
  1957. package/utils/TestVariant/index.js.map +7 -0
  1958. package/utils/TestVariant/package.json +6 -0
  1959. package/utils/Typography/index.js +7 -3
  1960. package/utils/Typography/index.js.map +7 -0
  1961. package/utils/VisuallyHidden/VisuallyHidden.stories.d.ts +3 -1
  1962. package/utils/VisuallyHidden/__stories__/Default.d.ts +2 -2
  1963. package/utils/VisuallyHidden/index.js +7 -3
  1964. package/utils/VisuallyHidden/index.js.map +7 -0
  1965. package/utils/VisuallyHidden/index.test.d.ts +1 -0
  1966. package/utils/hooks/useDebounce/index.js +26 -28
  1967. package/utils/hooks/useDebounce.d.ts +2 -2
  1968. package/utils/hooks/useDebounce.js.map +7 -0
  1969. package/utils/hooks/useKeypress/index.js +20 -12
  1970. package/utils/hooks/useKeypress.d.ts +1 -1
  1971. package/utils/hooks/useKeypress.js.map +7 -0
  1972. package/utils/hooks/useLatest/index.js +9 -6
  1973. package/utils/hooks/useLatest.d.ts +1 -1
  1974. package/utils/hooks/useLatest.js.map +7 -0
  1975. package/utils/hooks/useScreen/index.js +6 -51
  1976. package/utils/hooks/useScreen.d.ts +2 -7
  1977. package/utils/hooks/useScreen.js.map +7 -0
  1978. package/utils/hooks/useScreen.native/index.js +35 -0
  1979. package/utils/hooks/useScreen.native/package.json +6 -0
  1980. package/utils/hooks/useScreen.native.d.ts +8 -0
  1981. package/utils/hooks/useScreen.native.js.map +7 -0
  1982. package/utils/hooks/useScreen.web/index.js +58 -0
  1983. package/utils/hooks/useScreen.web/package.json +6 -0
  1984. package/utils/hooks/useScreen.web.d.ts +8 -0
  1985. package/utils/hooks/useScreen.web.js.map +7 -0
  1986. package/utils/hooks/useSearch/index.js +24 -16
  1987. package/utils/hooks/useSearch.d.ts +2 -2
  1988. package/utils/hooks/useSearch.js.map +7 -0
  1989. package/utils/hooks/useTogglableTab/index.js +61 -60
  1990. package/utils/hooks/useTogglableTab.js.map +7 -0
  1991. package/utils/index.d.ts +0 -1
  1992. package/utils/index.js +3 -3
  1993. package/utils/index.js.map +7 -0
  1994. package/utils/withDeprecation/index.js +56 -52
  1995. package/utils/withDeprecation.js.map +7 -0
  1996. package/api/APIErrors/index.js +0 -77
  1997. package/api/APIErrors/package.json +0 -6
  1998. package/api/APIErrors.d.ts +0 -22
  1999. package/api/APIProvider/index.js +0 -25
  2000. package/api/APIProvider/package.json +0 -6
  2001. package/api/APIProvider.d.ts +0 -15
  2002. package/api/fetchAPI/index.js +0 -42
  2003. package/api/fetchAPI/package.json +0 -6
  2004. package/api/fetchAPI.d.ts +0 -18
  2005. package/api/index.d.ts +0 -9
  2006. package/api/index.js +0 -13
  2007. package/api/index.spec/index.js +0 -468
  2008. package/api/index.spec/package.json +0 -6
  2009. package/api/index.spec.d.ts +0 -1
  2010. package/api/introduction.md +0 -6
  2011. package/api/package.json +0 -6
  2012. package/api/useResource/index.js +0 -109
  2013. package/api/useResource/package.json +0 -6
  2014. package/api/useResource.d.ts +0 -11
  2015. package/api/useResourceAction/index.js +0 -121
  2016. package/api/useResourceAction/package.json +0 -6
  2017. package/api/useResourceAction.d.ts +0 -2
  2018. package/api/useResourceQuery/index.js +0 -184
  2019. package/api/useResourceQuery/package.json +0 -6
  2020. package/api/useResourceQuery.d.ts +0 -18
  2021. package/api/utils/index.js +0 -190
  2022. package/api/utils/package.json +0 -6
  2023. package/api/utils.d.ts +0 -6
  2024. package/app/BannerContainer/BannerContainer.stories/index.js +0 -9
  2025. package/app/BannerContainer/BannerContainer.stories/package.json +0 -6
  2026. package/app/BannerContainer/__stories__/CookiesBanner/index.js +0 -16
  2027. package/app/BannerContainer/__stories__/CookiesBanner/package.json +0 -6
  2028. package/app/Footer/Footer.stories/index.js +0 -17
  2029. package/app/Footer/Footer.stories/package.json +0 -6
  2030. package/app/Footer/Footer.stories.playwright.json +0 -27
  2031. package/app/Footer/__stories__/Default/index.js +0 -7
  2032. package/app/Footer/__stories__/Default/package.json +0 -6
  2033. package/app/Footer/__stories__/DefaultCopyright/index.js +0 -17
  2034. package/app/Footer/__stories__/DefaultCopyright/package.json +0 -6
  2035. package/app/Footer/__stories__/FooterAllInclusive/index.js +0 -66
  2036. package/app/Footer/__stories__/FooterAllInclusive/package.json +0 -6
  2037. package/app/Footer/__stories__/FooterWithLink/index.js +0 -28
  2038. package/app/Footer/__stories__/FooterWithLink/package.json +0 -6
  2039. package/app/Footer/__stories__/FooterWithLogo/index.js +0 -26
  2040. package/app/Footer/__stories__/FooterWithLogo/package.json +0 -6
  2041. package/app/Footer/__stories__/FooterWithSecondaryNavigation/index.js +0 -48
  2042. package/app/Footer/__stories__/FooterWithSecondaryNavigation/package.json +0 -6
  2043. package/app/Footer/__stories__/FooterWithText/index.js +0 -29
  2044. package/app/Footer/__stories__/FooterWithText/package.json +0 -6
  2045. package/app/Footer/__stories__/YearCopyright/index.js +0 -21
  2046. package/app/Footer/__stories__/YearCopyright/package.json +0 -6
  2047. package/app/Footer/index.mdx +0 -63
  2048. package/app/Header/Header.stories/index.js +0 -18
  2049. package/app/Header/Header.stories/package.json +0 -6
  2050. package/app/Header/Header.stories.playwright.json +0 -49
  2051. package/app/Header/__snapshots__/index.spec.tsx.snap +0 -55
  2052. package/app/Header/__stories__/Default/index.js +0 -12
  2053. package/app/Header/__stories__/Default/package.json +0 -6
  2054. package/app/Header/__stories__/WithHeaderNavigation/index.js +0 -35
  2055. package/app/Header/__stories__/WithHeaderNavigation/package.json +0 -6
  2056. package/app/Header/__stories__/WithNavigation/index.js +0 -53
  2057. package/app/Header/__stories__/WithNavigation/package.json +0 -6
  2058. package/app/Header/__stories__/WithServiceName/index.js +0 -13
  2059. package/app/Header/__stories__/WithServiceName/package.json +0 -6
  2060. package/app/Header/__stories__/WithServiceNameAndLogo/index.js +0 -18
  2061. package/app/Header/__stories__/WithServiceNameAndLogo/package.json +0 -6
  2062. package/app/Header/index.mdx +0 -49
  2063. package/app/Header/index.spec/index.js +0 -25
  2064. package/app/Header/index.spec/package.json +0 -6
  2065. package/app/Loader/Loader.stories/index.js +0 -7
  2066. package/app/Loader/Loader.stories/package.json +0 -6
  2067. package/app/Loader/__stories__/Default/index.js +0 -7
  2068. package/app/Loader/__stories__/Default/package.json +0 -6
  2069. package/app/Masthead/Masthead.stories/index.js +0 -12
  2070. package/app/Masthead/Masthead.stories/package.json +0 -6
  2071. package/app/Masthead/Masthead.stories.playwright.json +0 -21
  2072. package/app/Masthead/__stories__/Default/index.js +0 -13
  2073. package/app/Masthead/__stories__/Default/package.json +0 -6
  2074. package/app/Masthead/__stories__/WithElements/index.js +0 -19
  2075. package/app/Masthead/__stories__/WithElements/package.json +0 -6
  2076. package/app/Masthead/__stories__/WithLogo/index.js +0 -17
  2077. package/app/Masthead/__stories__/WithLogo/package.json +0 -6
  2078. package/app/Masthead/index.mdx +0 -23
  2079. package/app/Modal/Modal.stories/index.js +0 -13
  2080. package/app/Modal/Modal.stories/package.json +0 -6
  2081. package/app/Modal/Modal.stories.playwright.json +0 -53
  2082. package/app/Modal/__stories__/AlertDialog/index.js +0 -39
  2083. package/app/Modal/__stories__/AlertDialog/package.json +0 -6
  2084. package/app/Modal/__stories__/Auto/index.js +0 -45
  2085. package/app/Modal/__stories__/Auto/package.json +0 -6
  2086. package/app/Modal/__stories__/Default/index.js +0 -37
  2087. package/app/Modal/__stories__/Default/package.json +0 -6
  2088. package/app/Modal/__stories__/Dense/index.js +0 -38
  2089. package/app/Modal/__stories__/Dense/package.json +0 -6
  2090. package/app/Modal/__stories__/WithHooks/index.js +0 -29
  2091. package/app/Modal/__stories__/WithHooks/package.json +0 -6
  2092. package/app/Modal/index.mdx +0 -40
  2093. package/app/NotFound/NotFound.stories/index.js +0 -7
  2094. package/app/NotFound/NotFound.stories/package.json +0 -6
  2095. package/app/NotFound/__stories__/Default/index.js +0 -7
  2096. package/app/NotFound/__stories__/Default/package.json +0 -6
  2097. package/app/NotFound/index.mdx +0 -18
  2098. package/app/Panel/Panel.stories/index.js +0 -9
  2099. package/app/Panel/Panel.stories/package.json +0 -6
  2100. package/app/Panel/__stories__/Default/index.js +0 -7
  2101. package/app/Panel/__stories__/Default/package.json +0 -6
  2102. package/app/Panel/index.mdx +0 -21
  2103. package/app/PhaseBannerHeader/PhaseBannerHeader.stories/index.js +0 -7
  2104. package/app/PhaseBannerHeader/PhaseBannerHeader.stories/package.json +0 -6
  2105. package/app/PhaseBannerHeader/__stories__/Default/index.js +0 -10
  2106. package/app/PhaseBannerHeader/__stories__/Default/package.json +0 -6
  2107. package/app/PhaseBannerHeader/index.mdx +0 -20
  2108. package/app/QrCodeScanner/QrCodeScanner.stories/index.js +0 -7
  2109. package/app/QrCodeScanner/QrCodeScanner.stories/package.json +0 -6
  2110. package/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -13
  2111. package/app/QrCodeScanner/__stories__/Default/index.js +0 -51
  2112. package/app/QrCodeScanner/__stories__/Default/package.json +0 -6
  2113. package/app/QrCodeScanner/index.spec/index.js +0 -15
  2114. package/app/QrCodeScanner/index.spec/package.json +0 -6
  2115. package/app/QrCodeViewer/QRCode.stories/index.js +0 -8
  2116. package/app/QrCodeViewer/QRCode.stories/package.json +0 -6
  2117. package/app/QrCodeViewer/__stories__/Custom/index.js +0 -22
  2118. package/app/QrCodeViewer/__stories__/Custom/package.json +0 -6
  2119. package/app/QrCodeViewer/__stories__/Default/index.js +0 -9
  2120. package/app/QrCodeViewer/__stories__/Default/package.json +0 -6
  2121. package/app/QrCodeViewer/index.mdx +0 -30
  2122. package/cjs/api/APIErrors/index.js +0 -83
  2123. package/cjs/api/APIProvider/index.js +0 -34
  2124. package/cjs/api/fetchAPI/index.js +0 -50
  2125. package/cjs/api/index.js +0 -88
  2126. package/cjs/api/index.spec/index.js +0 -472
  2127. package/cjs/api/introduction.md +0 -6
  2128. package/cjs/api/useResource/index.js +0 -116
  2129. package/cjs/api/useResourceAction/index.js +0 -128
  2130. package/cjs/api/useResourceQuery/index.js +0 -192
  2131. package/cjs/api/utils/index.js +0 -200
  2132. package/cjs/app/BannerContainer/BannerContainer.stories/index.js +0 -28
  2133. package/cjs/app/BannerContainer/__stories__/CookiesBanner/index.js +0 -26
  2134. package/cjs/app/Footer/Footer.stories/index.js +0 -113
  2135. package/cjs/app/Footer/Footer.stories.playwright.json +0 -27
  2136. package/cjs/app/Footer/__stories__/Default/index.js +0 -14
  2137. package/cjs/app/Footer/__stories__/DefaultCopyright/index.js +0 -24
  2138. package/cjs/app/Footer/__stories__/FooterAllInclusive/index.js +0 -73
  2139. package/cjs/app/Footer/__stories__/FooterWithLink/index.js +0 -35
  2140. package/cjs/app/Footer/__stories__/FooterWithLogo/index.js +0 -33
  2141. package/cjs/app/Footer/__stories__/FooterWithSecondaryNavigation/index.js +0 -55
  2142. package/cjs/app/Footer/__stories__/FooterWithText/index.js +0 -36
  2143. package/cjs/app/Footer/__stories__/YearCopyright/index.js +0 -28
  2144. package/cjs/app/Footer/index.mdx +0 -63
  2145. package/cjs/app/Header/Header.stories/index.js +0 -81
  2146. package/cjs/app/Header/Header.stories.playwright.json +0 -49
  2147. package/cjs/app/Header/__snapshots__/index.spec.tsx.snap +0 -55
  2148. package/cjs/app/Header/__stories__/Default/index.js +0 -19
  2149. package/cjs/app/Header/__stories__/WithHeaderNavigation/index.js +0 -42
  2150. package/cjs/app/Header/__stories__/WithNavigation/index.js +0 -63
  2151. package/cjs/app/Header/__stories__/WithServiceName/index.js +0 -20
  2152. package/cjs/app/Header/__stories__/WithServiceNameAndLogo/index.js +0 -25
  2153. package/cjs/app/Header/index.mdx +0 -49
  2154. package/cjs/app/Header/index.spec/index.js +0 -30
  2155. package/cjs/app/Loader/Loader.stories/index.js +0 -26
  2156. package/cjs/app/Loader/__stories__/Default/index.js +0 -14
  2157. package/cjs/app/Masthead/Masthead.stories/index.js +0 -53
  2158. package/cjs/app/Masthead/Masthead.stories.playwright.json +0 -21
  2159. package/cjs/app/Masthead/__stories__/Default/index.js +0 -20
  2160. package/cjs/app/Masthead/__stories__/WithElements/index.js +0 -26
  2161. package/cjs/app/Masthead/__stories__/WithLogo/index.js +0 -24
  2162. package/cjs/app/Masthead/index.mdx +0 -23
  2163. package/cjs/app/Modal/Modal.stories/index.js +0 -76
  2164. package/cjs/app/Modal/Modal.stories.playwright.json +0 -53
  2165. package/cjs/app/Modal/__stories__/AlertDialog/index.js +0 -49
  2166. package/cjs/app/Modal/__stories__/Auto/index.js +0 -52
  2167. package/cjs/app/Modal/__stories__/Default/index.js +0 -47
  2168. package/cjs/app/Modal/__stories__/Dense/index.js +0 -48
  2169. package/cjs/app/Modal/__stories__/WithHooks/index.js +0 -36
  2170. package/cjs/app/Modal/index.mdx +0 -40
  2171. package/cjs/app/NotFound/NotFound.stories/index.js +0 -26
  2172. package/cjs/app/NotFound/__stories__/Default/index.js +0 -14
  2173. package/cjs/app/NotFound/index.mdx +0 -18
  2174. package/cjs/app/Panel/Panel.stories/index.js +0 -28
  2175. package/cjs/app/Panel/__stories__/Default/index.js +0 -14
  2176. package/cjs/app/Panel/index.mdx +0 -21
  2177. package/cjs/app/PhaseBannerHeader/PhaseBannerHeader.stories/index.js +0 -26
  2178. package/cjs/app/PhaseBannerHeader/__stories__/Default/index.js +0 -17
  2179. package/cjs/app/PhaseBannerHeader/index.mdx +0 -20
  2180. package/cjs/app/QrCodeScanner/QrCodeScanner.stories/index.js +0 -26
  2181. package/cjs/app/QrCodeScanner/__snapshots__/index.spec.tsx.snap +0 -13
  2182. package/cjs/app/QrCodeScanner/__stories__/Default/index.js +0 -61
  2183. package/cjs/app/QrCodeScanner/index.spec/index.js +0 -21
  2184. package/cjs/app/QrCodeViewer/QRCode.stories/index.js +0 -38
  2185. package/cjs/app/QrCodeViewer/__stories__/Custom/index.js +0 -29
  2186. package/cjs/app/QrCodeViewer/__stories__/Default/index.js +0 -16
  2187. package/cjs/app/QrCodeViewer/index.mdx +0 -30
  2188. package/cjs/content/Accordion/Accordion.stories/index.js +0 -65
  2189. package/cjs/content/Accordion/Accordion.stories.playwright.json +0 -21
  2190. package/cjs/content/Accordion/__snapshots__/index.spec.tsx.snap +0 -157
  2191. package/cjs/content/Accordion/__stories__/Auto/index.js +0 -45
  2192. package/cjs/content/Accordion/__stories__/Default/index.js +0 -36
  2193. package/cjs/content/Accordion/__stories__/WithHints/index.js +0 -37
  2194. package/cjs/content/Accordion/__stories__/WithHook/index.js +0 -58
  2195. package/cjs/content/Accordion/index.mdx +0 -45
  2196. package/cjs/content/Accordion/index.spec/index.js +0 -22
  2197. package/cjs/content/Blockquote/Blockquote.stories/index.js +0 -40
  2198. package/cjs/content/Blockquote/__snapshots__/index.spec.tsx.snap +0 -16
  2199. package/cjs/content/Blockquote/__stories__/Default/index.js +0 -14
  2200. package/cjs/content/Blockquote/__stories__/Dense/index.js +0 -16
  2201. package/cjs/content/Blockquote/index.mdx +0 -24
  2202. package/cjs/content/Blockquote/index.spec/index.js +0 -13
  2203. package/cjs/content/Card/Card.stories/index.js +0 -149
  2204. package/cjs/content/Card/Card.stories.playwright.json +0 -21
  2205. package/cjs/content/Card/__stories__/Default/index.js +0 -15
  2206. package/cjs/content/Card/__stories__/Dense/index.js +0 -19
  2207. package/cjs/content/Card/__stories__/WithClickableContent/index.js +0 -19
  2208. package/cjs/content/Card/__stories__/WithClickableLink/index.js +0 -17
  2209. package/cjs/content/Card/__stories__/WithDarkBorder/index.js +0 -18
  2210. package/cjs/content/Card/__stories__/WithDarkTopBorder/index.js +0 -18
  2211. package/cjs/content/Card/__stories__/WithDivider/index.js +0 -17
  2212. package/cjs/content/Card/__stories__/WithGrayBorder/index.js +0 -18
  2213. package/cjs/content/Card/__stories__/WithGrayTopBorder/index.js +0 -18
  2214. package/cjs/content/Card/__stories__/WithGroupButton/index.js +0 -16
  2215. package/cjs/content/Card/__stories__/WithLink/index.js +0 -15
  2216. package/cjs/content/Card/index.mdx +0 -103
  2217. package/cjs/content/Chip/Chip.stories/index.js +0 -74
  2218. package/cjs/content/Chip/__stories__/ClickableChip/index.js +0 -17
  2219. package/cjs/content/Chip/__stories__/ClickableDeletableChip/index.js +0 -20
  2220. package/cjs/content/Chip/__stories__/Default/index.js +0 -14
  2221. package/cjs/content/Chip/__stories__/DeletableChip/index.js +0 -17
  2222. package/cjs/content/Chip/__stories__/GroupOfChips/index.js +0 -17
  2223. package/cjs/content/Chip/index.mdx +0 -53
  2224. package/cjs/content/Details/Details.stories/index.js +0 -28
  2225. package/cjs/content/Details/Details.stories.playwright.json +0 -27
  2226. package/cjs/content/Details/__snapshots__/index.spec.tsx.snap +0 -81
  2227. package/cjs/content/Details/__stories__/Default/index.js +0 -14
  2228. package/cjs/content/Details/index.mdx +0 -27
  2229. package/cjs/content/Details/index.spec/index.js +0 -18
  2230. package/cjs/content/List/List.stories/index.js +0 -88
  2231. package/cjs/content/List/__snapshots__/index.spec.tsx.snap +0 -7
  2232. package/cjs/content/List/__stories__/BulletList/index.js +0 -17
  2233. package/cjs/content/List/__stories__/Default/index.js +0 -15
  2234. package/cjs/content/List/__stories__/HorizontalList/index.js +0 -18
  2235. package/cjs/content/List/__stories__/NestedBulletList/index.js +0 -25
  2236. package/cjs/content/List/__stories__/NumberedList/index.js +0 -17
  2237. package/cjs/content/List/__stories__/WithExtraSpace/index.js +0 -17
  2238. package/cjs/content/List/index.mdx +0 -40
  2239. package/cjs/content/List/index.spec/index.js +0 -12
  2240. package/cjs/content/StepNav/StepNav.stories/index.js +0 -75
  2241. package/cjs/content/StepNav/StepNav.stories.playwright.json +0 -33
  2242. package/cjs/content/StepNav/__stories__/Auto/index.js +0 -136
  2243. package/cjs/content/StepNav/__stories__/Default/index.js +0 -176
  2244. package/cjs/content/StepNav/__stories__/Dense/index.js +0 -178
  2245. package/cjs/content/StepNav/__stories__/WithHints/index.js +0 -185
  2246. package/cjs/content/StepNav/__stories__/WithHook/index.js +0 -144
  2247. package/cjs/content/StepNav/index.mdx +0 -53
  2248. package/cjs/content/SummaryList/SummaryList.stories/index.js +0 -88
  2249. package/cjs/content/SummaryList/SummaryList.stories.playwright.json +0 -27
  2250. package/cjs/content/SummaryList/__snapshots__/index.spec.tsx.snap +0 -97
  2251. package/cjs/content/SummaryList/__stories__/Default/index.js +0 -22
  2252. package/cjs/content/SummaryList/__stories__/RowVariations/index.js +0 -37
  2253. package/cjs/content/SummaryList/__stories__/WithActions/index.js +0 -28
  2254. package/cjs/content/SummaryList/__stories__/WithKeyAndAction/index.js +0 -25
  2255. package/cjs/content/SummaryList/__stories__/WithoutActions/index.js +0 -14
  2256. package/cjs/content/SummaryList/__stories__/WithoutBorders/index.js +0 -24
  2257. package/cjs/content/SummaryList/index.mdx +0 -51
  2258. package/cjs/content/SummaryList/index.spec/index.js +0 -12
  2259. package/cjs/content/Table/Table.stories/index.js +0 -232
  2260. package/cjs/content/Table/Table.stories.playwright.json +0 -37
  2261. package/cjs/content/Table/__stories__/DarkVariant/index.js +0 -54
  2262. package/cjs/content/Table/__stories__/DarkVariantWithVerticalHeaders/index.js +0 -54
  2263. package/cjs/content/Table/__stories__/Default/index.js +0 -48
  2264. package/cjs/content/Table/__stories__/DefinedWidth/index.js +0 -50
  2265. package/cjs/content/Table/__stories__/Densed/index.js +0 -109
  2266. package/cjs/content/Table/__stories__/Full/index.js +0 -98
  2267. package/cjs/content/Table/__stories__/MultipleProps/index.js +0 -78
  2268. package/cjs/content/Table/__stories__/NoData/index.js +0 -16
  2269. package/cjs/content/Table/__stories__/NumericDataType/index.js +0 -68
  2270. package/cjs/content/Table/__stories__/RowColors/index.js +0 -67
  2271. package/cjs/content/Table/__stories__/Stacked/index.js +0 -50
  2272. package/cjs/content/Table/__stories__/TableCaptions/index.js +0 -22
  2273. package/cjs/content/Table/__stories__/VerticalBorders/index.js +0 -54
  2274. package/cjs/content/Table/__stories__/VerticalHeaders/index.js +0 -48
  2275. package/cjs/content/Table/__stories__/WithFloatingScroll/index.js +0 -79
  2276. package/cjs/content/Table/__stories__/WithLoader/index.js +0 -73
  2277. package/cjs/content/Table/__stories__/WithSortFilters/index.js +0 -107
  2278. package/cjs/content/Table/__stories__/ZebraProp/index.js +0 -54
  2279. package/cjs/content/Table/index.mdx +0 -111
  2280. package/cjs/content/TaskList/TaskList.stories/index.js +0 -39
  2281. package/cjs/content/TaskList/__stories__/Default/index.js +0 -76
  2282. package/cjs/content/TaskList/__stories__/Dense/index.js +0 -78
  2283. package/cjs/content/TaskList/index.mdx +0 -30
  2284. package/cjs/content/Timeline/Timeline.stories/index.js +0 -39
  2285. package/cjs/content/Timeline/__stories__/Default/index.js +0 -126
  2286. package/cjs/content/Timeline/__stories__/Dense/index.js +0 -128
  2287. package/cjs/content/Timeline/index.mdx +0 -33
  2288. package/cjs/feedback/CopyToClipboard/CopyToClipboard.stories/index.js +0 -50
  2289. package/cjs/feedback/CopyToClipboard/CopyToClipboard.stories.playwright.json +0 -53
  2290. package/cjs/feedback/CopyToClipboard/__stories__/Banner/index.js +0 -21
  2291. package/cjs/feedback/CopyToClipboard/__stories__/Default/index.js +0 -27
  2292. package/cjs/feedback/CopyToClipboard/__stories__/Dense/index.js +0 -25
  2293. package/cjs/feedback/CopyToClipboard/index.mdx +0 -28
  2294. package/cjs/feedback/ErrorSummary/ErrorSummary.stories/index.js +0 -88
  2295. package/cjs/feedback/ErrorSummary/ErrorSummary.stories.playwright.json +0 -27
  2296. package/cjs/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -7
  2297. package/cjs/feedback/ErrorSummary/__stories__/Default/index.js +0 -18
  2298. package/cjs/feedback/ErrorSummary/__stories__/Dense/index.js +0 -20
  2299. package/cjs/feedback/ErrorSummary/__stories__/LinkedToCheckbox/index.js +0 -35
  2300. package/cjs/feedback/ErrorSummary/__stories__/LinkedToField/index.js +0 -36
  2301. package/cjs/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +0 -34
  2302. package/cjs/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/index.js +0 -40
  2303. package/cjs/feedback/ErrorSummary/index.mdx +0 -54
  2304. package/cjs/feedback/ErrorSummary/index.spec/index.js +0 -12
  2305. package/cjs/feedback/NotificationBanner/NotificationBanner.stories/index.js +0 -53
  2306. package/cjs/feedback/NotificationBanner/NotificationBanner.stories.playwright.json +0 -49
  2307. package/cjs/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -23
  2308. package/cjs/feedback/NotificationBanner/__stories__/Default/index.js +0 -19
  2309. package/cjs/feedback/NotificationBanner/__stories__/Dense/index.js +0 -20
  2310. package/cjs/feedback/NotificationBanner/__stories__/Success/index.js +0 -20
  2311. package/cjs/feedback/NotificationBanner/index.mdx +0 -47
  2312. package/cjs/feedback/NotificationBanner/index.spec/index.js +0 -23
  2313. package/cjs/feedback/PhaseBanner/PhaseBanner.stories/index.js +0 -40
  2314. package/cjs/feedback/PhaseBanner/PhaseBanner.stories.playwright.json +0 -21
  2315. package/cjs/feedback/PhaseBanner/__stories__/Default/index.js +0 -17
  2316. package/cjs/feedback/PhaseBanner/__stories__/Underlined/index.js +0 -19
  2317. package/cjs/feedback/PhaseBanner/index.mdx +0 -37
  2318. package/cjs/feedback/WarningText/WarningText.stories/index.js +0 -52
  2319. package/cjs/feedback/WarningText/__snapshots__/index.spec.tsx.snap +0 -7
  2320. package/cjs/feedback/WarningText/__stories__/AssistiveText/index.js +0 -16
  2321. package/cjs/feedback/WarningText/__stories__/Default/index.js +0 -14
  2322. package/cjs/feedback/WarningText/__stories__/Dense/index.js +0 -16
  2323. package/cjs/feedback/WarningText/index.mdx +0 -25
  2324. package/cjs/feedback/WarningText/index.spec/index.js +0 -12
  2325. package/cjs/form/AutoComplete/AutoComplete.stories/index.js +0 -98
  2326. package/cjs/form/AutoComplete/__stories__/Default/index.js +0 -21
  2327. package/cjs/form/AutoComplete/__stories__/WithAutoSelect/index.js +0 -36
  2328. package/cjs/form/AutoComplete/__stories__/WithDefaultValue/index.js +0 -22
  2329. package/cjs/form/AutoComplete/__stories__/WithInLine/index.js +0 -22
  2330. package/cjs/form/AutoComplete/__stories__/WithMinLength/index.js +0 -23
  2331. package/cjs/form/AutoComplete/__stories__/WithPlaceHolder/index.js +0 -22
  2332. package/cjs/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -22
  2333. package/cjs/form/AutoComplete/index.mdx +0 -78
  2334. package/cjs/form/Button/Button.stories/index.js +0 -160
  2335. package/cjs/form/Button/Button.stories.playwright.json +0 -115
  2336. package/cjs/form/Button/__snapshots__/index.spec.tsx.snap +0 -17
  2337. package/cjs/form/Button/__stories__/Back/index.js +0 -18
  2338. package/cjs/form/Button/__stories__/ButtonLinkButton/index.js +0 -22
  2339. package/cjs/form/Button/__stories__/CallToActionButton/index.js +0 -19
  2340. package/cjs/form/Button/__stories__/Dense/index.js +0 -17
  2341. package/cjs/form/Button/__stories__/Disabled/index.js +0 -18
  2342. package/cjs/form/Button/__stories__/GroupingButtons/index.js +0 -16
  2343. package/cjs/form/Button/__stories__/GroupingButtonsAndLinks/index.js +0 -17
  2344. package/cjs/form/Button/__stories__/Primary/index.js +0 -16
  2345. package/cjs/form/Button/__stories__/Secondary/index.js +0 -17
  2346. package/cjs/form/Button/__stories__/ThemeToggle/index.js +0 -14
  2347. package/cjs/form/Button/__stories__/Warning/index.js +0 -17
  2348. package/cjs/form/Button/__stories__/WithVariantLink/index.js +0 -19
  2349. package/cjs/form/Button/index.mdx +0 -111
  2350. package/cjs/form/Button/index.spec/index.js +0 -13
  2351. package/cjs/form/Checkbox/Checkbox.stories/index.js +0 -136
  2352. package/cjs/form/Checkbox/Checkbox.stories.playwright.json +0 -55
  2353. package/cjs/form/Checkbox/__stories__/ConditionalReveal/index.js +0 -31
  2354. package/cjs/form/Checkbox/__stories__/Default/index.js +0 -29
  2355. package/cjs/form/Checkbox/__stories__/Dense/index.js +0 -31
  2356. package/cjs/form/Checkbox/__stories__/Inline/index.js +0 -28
  2357. package/cjs/form/Checkbox/__stories__/InlineWithDivider/index.js +0 -29
  2358. package/cjs/form/Checkbox/__stories__/MultipleQuestions/index.js +0 -31
  2359. package/cjs/form/Checkbox/__stories__/NoneAnswer/index.js +0 -25
  2360. package/cjs/form/Checkbox/__stories__/NoneAnswerWithError/index.js +0 -31
  2361. package/cjs/form/Checkbox/__stories__/WithErrorMessage/index.js +0 -32
  2362. package/cjs/form/Checkbox/__stories__/WithHint/index.js +0 -32
  2363. package/cjs/form/Checkbox/index.mdx +0 -83
  2364. package/cjs/form/DateInputContainer/DateInputContainer.stories/index.js +0 -76
  2365. package/cjs/form/DateInputContainer/DateInputContainer.stories.playwright.json +0 -61
  2366. package/cjs/form/DateInputContainer/__stories__/Default/index.js +0 -29
  2367. package/cjs/form/DateInputContainer/__stories__/Dense/index.js +0 -28
  2368. package/cjs/form/DateInputContainer/__stories__/MultipleQuestions/index.js +0 -29
  2369. package/cjs/form/DateInputContainer/__stories__/WithErrorMessage/index.js +0 -40
  2370. package/cjs/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/index.js +0 -37
  2371. package/cjs/form/DateInputContainer/index.mdx +0 -46
  2372. package/cjs/form/ErrorMessage/ErrorMessage.stories/index.js +0 -52
  2373. package/cjs/form/ErrorMessage/__stories__/DateInputError/index.js +0 -29
  2374. package/cjs/form/ErrorMessage/__stories__/Default/index.js +0 -37
  2375. package/cjs/form/ErrorMessage/__stories__/ErrorMessageOnly/index.js +0 -17
  2376. package/cjs/form/ErrorMessage/index.mdx +0 -23
  2377. package/cjs/form/FileUpload/FileUpload.stories/index.js +0 -39
  2378. package/cjs/form/FileUpload/__stories__/Default/index.js +0 -22
  2379. package/cjs/form/FileUpload/__stories__/WithErrorMessage/index.js +0 -26
  2380. package/cjs/form/FileUpload/index.mdx +0 -30
  2381. package/cjs/form/RadioContainer/RadioContainer.stories/index.js +0 -136
  2382. package/cjs/form/RadioContainer/RadioContainer.stories.playwright.json +0 -49
  2383. package/cjs/form/RadioContainer/__stories__/ConditionalReveal/index.js +0 -31
  2384. package/cjs/form/RadioContainer/__stories__/Default/index.js +0 -27
  2385. package/cjs/form/RadioContainer/__stories__/Dense/index.js +0 -29
  2386. package/cjs/form/RadioContainer/__stories__/Inline/index.js +0 -28
  2387. package/cjs/form/RadioContainer/__stories__/InlineWithDivider/index.js +0 -29
  2388. package/cjs/form/RadioContainer/__stories__/MultipleQuestions/index.js +0 -31
  2389. package/cjs/form/RadioContainer/__stories__/NoneAnswer/index.js +0 -29
  2390. package/cjs/form/RadioContainer/__stories__/WithErrorMessage/index.js +0 -34
  2391. package/cjs/form/RadioContainer/__stories__/WithHints/index.js +0 -34
  2392. package/cjs/form/RadioContainer/__stories__/WithMediumLegend/index.js +0 -29
  2393. package/cjs/form/RadioContainer/index.mdx +0 -84
  2394. package/cjs/form/SelectContainer/SelectContainer.stories/index.js +0 -64
  2395. package/cjs/form/SelectContainer/SelectContainer.stories.playwright.json +0 -21
  2396. package/cjs/form/SelectContainer/__stories__/Default/index.js +0 -27
  2397. package/cjs/form/SelectContainer/__stories__/Dense/index.js +0 -28
  2398. package/cjs/form/SelectContainer/__stories__/DisabledInput/index.js +0 -29
  2399. package/cjs/form/SelectContainer/__stories__/WithHint/index.js +0 -31
  2400. package/cjs/form/SelectContainer/index.mdx +0 -50
  2401. package/cjs/form/SingleCharacterInputs/SingleCharacterInput.stories/index.js +0 -64
  2402. package/cjs/form/SingleCharacterInputs/__stories__/Default/index.js +0 -40
  2403. package/cjs/form/SingleCharacterInputs/__stories__/WithDefaultError/index.js +0 -44
  2404. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/index.js +0 -54
  2405. package/cjs/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/index.js +0 -48
  2406. package/cjs/form/SingleCharacterInputs/index.mdx +0 -30
  2407. package/cjs/form/TextArea/TextArea.stories/index.js +0 -112
  2408. package/cjs/form/TextArea/TextArea.stories.playwright.json +0 -59
  2409. package/cjs/form/TextArea/__stories__/Default/index.js +0 -20
  2410. package/cjs/form/TextArea/__stories__/Dense/index.js +0 -19
  2411. package/cjs/form/TextArea/__stories__/DisabledInput/index.js +0 -25
  2412. package/cjs/form/TextArea/__stories__/LimitedCharacters/index.js +0 -28
  2413. package/cjs/form/TextArea/__stories__/MultipleQuestions/index.js +0 -22
  2414. package/cjs/form/TextArea/__stories__/WithDeclaredRows/index.js +0 -25
  2415. package/cjs/form/TextArea/__stories__/WithErrorMessage/index.js +0 -31
  2416. package/cjs/form/TextArea/__stories__/WithHint/index.js +0 -24
  2417. package/cjs/form/TextArea/index.mdx +0 -74
  2418. package/cjs/form/TextInput/TextInput.stories/index.js +0 -136
  2419. package/cjs/form/TextInput/TextInput.stories.playwright.json +0 -43
  2420. package/cjs/form/TextInput/__stories__/AskingForNumbers/index.js +0 -26
  2421. package/cjs/form/TextInput/__stories__/Default/index.js +0 -20
  2422. package/cjs/form/TextInput/__stories__/Dense/index.js +0 -19
  2423. package/cjs/form/TextInput/__stories__/DisabledInput/index.js +0 -25
  2424. package/cjs/form/TextInput/__stories__/DisabledInputWithValue/index.js +0 -31
  2425. package/cjs/form/TextInput/__stories__/FixedWidths/index.js +0 -46
  2426. package/cjs/form/TextInput/__stories__/FluidWidths/index.js +0 -46
  2427. package/cjs/form/TextInput/__stories__/MultipleQuestions/index.js +0 -18
  2428. package/cjs/form/TextInput/__stories__/WithErrorMessage/index.js +0 -31
  2429. package/cjs/form/TextInput/__stories__/WithHint/index.js +0 -24
  2430. package/cjs/form/TextInput/index.mdx +0 -90
  2431. package/cjs/govgr/Footer/index.mdx +0 -103
  2432. package/cjs/govgr/GovGRLogo/govgr-logo.svg +0 -1
  2433. package/cjs/introduction.md +0 -11
  2434. package/cjs/layouts/Basic/Basic.stories/index.js +0 -51
  2435. package/cjs/layouts/Basic/Bottom/__stories__/Default/index.js +0 -22
  2436. package/cjs/layouts/Basic/Bottom/index.mdx +0 -22
  2437. package/cjs/layouts/Basic/Container/__stories__/Default/index.js +0 -20
  2438. package/cjs/layouts/Basic/Container/index.mdx +0 -23
  2439. package/cjs/layouts/Basic/Main/__stories__/Default/index.js +0 -20
  2440. package/cjs/layouts/Basic/Main/index.mdx +0 -21
  2441. package/cjs/layouts/Basic/Masthead/index.js +0 -47
  2442. package/cjs/layouts/Basic/Top/__stories__/Default/index.js +0 -20
  2443. package/cjs/layouts/Basic/Top/index.mdx +0 -23
  2444. package/cjs/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -109
  2445. package/cjs/layouts/Basic/__stories__/Default/index.js +0 -17
  2446. package/cjs/layouts/Basic/__stories__/MultipleRowsLayout/index.js +0 -20
  2447. package/cjs/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/index.js +0 -20
  2448. package/cjs/layouts/Basic/index.mdx +0 -42
  2449. package/cjs/layouts/Basic/index.spec/index.js +0 -13
  2450. package/cjs/layouts/Grid/Grid.stories/index.js +0 -50
  2451. package/cjs/layouts/Grid/__stories__/Default/index.js +0 -80
  2452. package/cjs/layouts/Grid/__stories__/Inline/index.js +0 -81
  2453. package/cjs/layouts/Grid/__stories__/ResponsiveSpacing/index.js +0 -79
  2454. package/cjs/layouts/Grid/index.mdx +0 -39
  2455. package/cjs/layouts/Screen/Screen.stories/index.js +0 -62
  2456. package/cjs/layouts/Screen/__stories__/Default/index.js +0 -25
  2457. package/cjs/layouts/Screen/__stories__/ScreenDown/index.js +0 -16
  2458. package/cjs/layouts/Screen/__stories__/ScreenUp/index.js +0 -16
  2459. package/cjs/layouts/Screen/__stories__/SpecificScreenSize/index.js +0 -16
  2460. package/cjs/layouts/Stack/Stack.stories/index.js +0 -86
  2461. package/cjs/layouts/Stack/__stories__/AlignItems/index.js +0 -72
  2462. package/cjs/layouts/Stack/__stories__/Default/index.js +0 -29
  2463. package/cjs/layouts/Stack/__stories__/JustifyContent/index.js +0 -89
  2464. package/cjs/layouts/Stack/__stories__/NoWrap/index.js +0 -31
  2465. package/cjs/layouts/Stack/__stories__/Row/index.js +0 -30
  2466. package/cjs/layouts/Stack/__stories__/Spacing/index.js +0 -60
  2467. package/cjs/lazy/index.js +0 -2875
  2468. package/cjs/navigation/BackLink/BackLink.stories/index.js +0 -26
  2469. package/cjs/navigation/BackLink/BackLink.stories.playwright.json +0 -21
  2470. package/cjs/navigation/BackLink/__stories__/Default/index.js +0 -17
  2471. package/cjs/navigation/BackLink/index.mdx +0 -23
  2472. package/cjs/navigation/BackToTopLink/BackToTopLink.stories/index.js +0 -38
  2473. package/cjs/navigation/BackToTopLink/__stories__/Default/index.js +0 -17
  2474. package/cjs/navigation/BackToTopLink/__stories__/InMain/index.js +0 -21
  2475. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +0 -28
  2476. package/cjs/navigation/Breadcrumbs/Breadcrumbs.stories.playwright.json +0 -33
  2477. package/cjs/navigation/Breadcrumbs/__stories__/Default/index.js +0 -26
  2478. package/cjs/navigation/Breadcrumbs/index.mdx +0 -32
  2479. package/cjs/navigation/Drawer/Drawer.stories/index.js +0 -52
  2480. package/cjs/navigation/Drawer/__stories__/Auto/index.js +0 -82
  2481. package/cjs/navigation/Drawer/__stories__/Default/index.js +0 -88
  2482. package/cjs/navigation/Drawer/__stories__/WithHook/index.js +0 -83
  2483. package/cjs/navigation/Drawer/index.mdx +0 -14
  2484. package/cjs/navigation/Dropdown/Dropdown.stories/index.js +0 -136
  2485. package/cjs/navigation/Dropdown/Dropdown.stories.playwright.json +0 -69
  2486. package/cjs/navigation/Dropdown/__stories__/AlignRight/index.js +0 -60
  2487. package/cjs/navigation/Dropdown/__stories__/ContentPosition/index.js +0 -104
  2488. package/cjs/navigation/Dropdown/__stories__/Default/index.js +0 -46
  2489. package/cjs/navigation/Dropdown/__stories__/Dense/index.js +0 -54
  2490. package/cjs/navigation/Dropdown/__stories__/Disabled/index.js +0 -48
  2491. package/cjs/navigation/Dropdown/__stories__/PlacementTop/index.js +0 -64
  2492. package/cjs/navigation/Dropdown/__stories__/Secondary/index.js +0 -35
  2493. package/cjs/navigation/Dropdown/__stories__/VariantLink/index.js +0 -47
  2494. package/cjs/navigation/Dropdown/__stories__/Warning/index.js +0 -35
  2495. package/cjs/navigation/Dropdown/__stories__/WithIcons/index.js +0 -100
  2496. package/cjs/navigation/Dropdown/index.mdx +0 -40
  2497. package/cjs/navigation/Link/Link.stories/index.js +0 -87
  2498. package/cjs/navigation/Link/Link.stories.playwright.json +0 -65
  2499. package/cjs/navigation/Link/__snapshots__/index.spec.tsx.snap +0 -38
  2500. package/cjs/navigation/Link/__stories__/DarkBackground/index.js +0 -24
  2501. package/cjs/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +0 -25
  2502. package/cjs/navigation/Link/__stories__/Default/index.js +0 -18
  2503. package/cjs/navigation/Link/__stories__/ExternalLink/index.js +0 -19
  2504. package/cjs/navigation/Link/__stories__/NoUnderline/index.js +0 -19
  2505. package/cjs/navigation/Link/__stories__/OpensInNewTab/index.js +0 -18
  2506. package/cjs/navigation/Link/index.mdx +0 -50
  2507. package/cjs/navigation/Link/index.spec/index.js +0 -21
  2508. package/cjs/navigation/NavList/NavList.stories/index.js +0 -112
  2509. package/cjs/navigation/NavList/NavList.stories.playwright.json +0 -53
  2510. package/cjs/navigation/NavList/__snapshots__/index.spec.tsx.snap +0 -7
  2511. package/cjs/navigation/NavList/__stories__/Default/index.js +0 -49
  2512. package/cjs/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +0 -104
  2513. package/cjs/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +0 -81
  2514. package/cjs/navigation/NavList/__stories__/NavLinksOneLevel.json +0 -17
  2515. package/cjs/navigation/NavList/__stories__/NavLinksWithSubmenu.json +0 -36
  2516. package/cjs/navigation/NavList/__stories__/NavListWithoutNav/index.js +0 -36
  2517. package/cjs/navigation/NavList/__stories__/UsingHeaderButton/index.js +0 -73
  2518. package/cjs/navigation/NavList/__stories__/UsingNavListAuto/index.js +0 -74
  2519. package/cjs/navigation/NavList/__stories__/Vertical/index.js +0 -51
  2520. package/cjs/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +0 -81
  2521. package/cjs/navigation/NavList/index.mdx +0 -60
  2522. package/cjs/navigation/NavList/index.spec/index.js +0 -12
  2523. package/cjs/navigation/Pagination/Pagination.stories/index.js +0 -100
  2524. package/cjs/navigation/Pagination/Pagination.stories.playwright.json +0 -27
  2525. package/cjs/navigation/Pagination/__stories__/Auto/index.js +0 -52
  2526. package/cjs/navigation/Pagination/__stories__/Default/index.js +0 -70
  2527. package/cjs/navigation/Pagination/__stories__/PaginationSmall/index.js +0 -39
  2528. package/cjs/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +0 -49
  2529. package/cjs/navigation/Pagination/__stories__/WithHook/index.js +0 -60
  2530. package/cjs/navigation/Pagination/__stories__/WithInactiveValues/index.js +0 -72
  2531. package/cjs/navigation/Pagination/__stories__/WithResultsPerPage/index.js +0 -45
  2532. package/cjs/navigation/Pagination/index.mdx +0 -48
  2533. package/cjs/navigation/SkipLink/SkipLink.stories/index.js +0 -27
  2534. package/cjs/navigation/SkipLink/__stories__/Default/index.js +0 -16
  2535. package/cjs/navigation/Tabs/Tabs.stories/index.js +0 -53
  2536. package/cjs/navigation/Tabs/Tabs.stories.playwright.json +0 -27
  2537. package/cjs/navigation/Tabs/__stories__/Auto/index.js +0 -39
  2538. package/cjs/navigation/Tabs/__stories__/Default/index.js +0 -50
  2539. package/cjs/navigation/Tabs/__stories__/Dense/index.js +0 -37
  2540. package/cjs/navigation/Tabs/index.mdx +0 -31
  2541. package/cjs/registry/index.js +0 -507
  2542. package/cjs/test-utils/delay/index.js +0 -35
  2543. package/cjs/typography/Heading/Heading.stories/index.js +0 -26
  2544. package/cjs/typography/Heading/__stories__/Default/index.js +0 -30
  2545. package/cjs/typography/Heading/index.mdx +0 -18
  2546. package/cjs/typography/HeadingCaption/HeadingCaption.stories/index.js +0 -38
  2547. package/cjs/typography/HeadingCaption/__stories__/Default/index.js +0 -35
  2548. package/cjs/typography/HeadingCaption/__stories__/NestedToTitle/index.js +0 -20
  2549. package/cjs/typography/HeadingCaption/index.mdx +0 -20
  2550. package/cjs/typography/Hint/Hint.stories/index.js +0 -38
  2551. package/cjs/typography/Hint/__stories__/Default/index.js +0 -14
  2552. package/cjs/typography/Hint/__stories__/FontSizes/index.js +0 -23
  2553. package/cjs/typography/Hint/index.mdx +0 -26
  2554. package/cjs/typography/NormalText/NormalText.stories/index.js +0 -62
  2555. package/cjs/typography/NormalText/__stories__/Default/index.js +0 -14
  2556. package/cjs/typography/NormalText/__stories__/FontSizes/index.js +0 -53
  2557. package/cjs/typography/NormalText/__stories__/FontWeight/index.js +0 -23
  2558. package/cjs/typography/NormalText/__stories__/Variants/index.js +0 -23
  2559. package/cjs/typography/NormalText/index.mdx +0 -44
  2560. package/cjs/typography/Paragraph/Paragraph.stories/index.js +0 -74
  2561. package/cjs/typography/Paragraph/__stories__/Default/index.js +0 -14
  2562. package/cjs/typography/Paragraph/__stories__/FontSizes/index.js +0 -34
  2563. package/cjs/typography/Paragraph/__stories__/FontWeight/index.js +0 -19
  2564. package/cjs/typography/Paragraph/__stories__/LeadVariant/index.js +0 -16
  2565. package/cjs/typography/Paragraph/__stories__/SmallVariant/index.js +0 -16
  2566. package/cjs/typography/Paragraph/index.mdx +0 -32
  2567. package/cjs/typography/Typography/index.mdx +0 -12
  2568. package/cjs/utils/Base/index.mdx +0 -13
  2569. package/cjs/utils/SvgIcon/index.js +0 -35
  2570. package/cjs/utils/VisuallyHidden/VisuallyHidden.stories/index.js +0 -26
  2571. package/cjs/utils/VisuallyHidden/__stories__/Default/index.js +0 -20
  2572. package/cjs/utils/VisuallyHidden/index.mdx +0 -24
  2573. package/content/Accordion/Accordion.stories/index.js +0 -13
  2574. package/content/Accordion/Accordion.stories/package.json +0 -6
  2575. package/content/Accordion/Accordion.stories.playwright.json +0 -21
  2576. package/content/Accordion/__snapshots__/index.spec.tsx.snap +0 -157
  2577. package/content/Accordion/__stories__/Auto/index.js +0 -38
  2578. package/content/Accordion/__stories__/Auto/package.json +0 -6
  2579. package/content/Accordion/__stories__/Default/index.js +0 -29
  2580. package/content/Accordion/__stories__/Default/package.json +0 -6
  2581. package/content/Accordion/__stories__/WithHints/index.js +0 -30
  2582. package/content/Accordion/__stories__/WithHints/package.json +0 -6
  2583. package/content/Accordion/__stories__/WithHook/index.js +0 -51
  2584. package/content/Accordion/__stories__/WithHook/package.json +0 -6
  2585. package/content/Accordion/index.mdx +0 -45
  2586. package/content/Accordion/index.spec/index.js +0 -17
  2587. package/content/Accordion/index.spec/package.json +0 -6
  2588. package/content/Blockquote/Blockquote.stories/index.js +0 -10
  2589. package/content/Blockquote/Blockquote.stories/package.json +0 -6
  2590. package/content/Blockquote/__snapshots__/index.spec.tsx.snap +0 -16
  2591. package/content/Blockquote/__stories__/Default/index.js +0 -7
  2592. package/content/Blockquote/__stories__/Default/package.json +0 -6
  2593. package/content/Blockquote/__stories__/Dense/index.js +0 -9
  2594. package/content/Blockquote/__stories__/Dense/package.json +0 -6
  2595. package/content/Blockquote/index.mdx +0 -24
  2596. package/content/Blockquote/index.spec/index.js +0 -7
  2597. package/content/Blockquote/index.spec/package.json +0 -6
  2598. package/content/Card/Card.stories/index.js +0 -20
  2599. package/content/Card/Card.stories/package.json +0 -6
  2600. package/content/Card/Card.stories.playwright.json +0 -21
  2601. package/content/Card/__stories__/Default/index.js +0 -8
  2602. package/content/Card/__stories__/Default/package.json +0 -6
  2603. package/content/Card/__stories__/Dense/index.js +0 -12
  2604. package/content/Card/__stories__/Dense/package.json +0 -6
  2605. package/content/Card/__stories__/WithClickableContent/index.js +0 -12
  2606. package/content/Card/__stories__/WithClickableContent/package.json +0 -6
  2607. package/content/Card/__stories__/WithClickableLink/index.js +0 -10
  2608. package/content/Card/__stories__/WithClickableLink/package.json +0 -6
  2609. package/content/Card/__stories__/WithDarkBorder/index.js +0 -11
  2610. package/content/Card/__stories__/WithDarkBorder/package.json +0 -6
  2611. package/content/Card/__stories__/WithDarkTopBorder/index.js +0 -11
  2612. package/content/Card/__stories__/WithDarkTopBorder/package.json +0 -6
  2613. package/content/Card/__stories__/WithDivider/index.js +0 -10
  2614. package/content/Card/__stories__/WithDivider/package.json +0 -6
  2615. package/content/Card/__stories__/WithGrayBorder/index.js +0 -11
  2616. package/content/Card/__stories__/WithGrayBorder/package.json +0 -6
  2617. package/content/Card/__stories__/WithGrayTopBorder/index.js +0 -11
  2618. package/content/Card/__stories__/WithGrayTopBorder/package.json +0 -6
  2619. package/content/Card/__stories__/WithGroupButton/index.js +0 -9
  2620. package/content/Card/__stories__/WithGroupButton/package.json +0 -6
  2621. package/content/Card/__stories__/WithLink/index.js +0 -8
  2622. package/content/Card/__stories__/WithLink/package.json +0 -6
  2623. package/content/Card/index.mdx +0 -103
  2624. package/content/Chip/Chip.stories/index.js +0 -11
  2625. package/content/Chip/Chip.stories/package.json +0 -6
  2626. package/content/Chip/__stories__/ClickableChip/index.js +0 -10
  2627. package/content/Chip/__stories__/ClickableChip/package.json +0 -6
  2628. package/content/Chip/__stories__/ClickableDeletableChip/index.js +0 -13
  2629. package/content/Chip/__stories__/ClickableDeletableChip/package.json +0 -6
  2630. package/content/Chip/__stories__/Default/index.js +0 -7
  2631. package/content/Chip/__stories__/Default/package.json +0 -6
  2632. package/content/Chip/__stories__/DeletableChip/index.js +0 -10
  2633. package/content/Chip/__stories__/DeletableChip/package.json +0 -6
  2634. package/content/Chip/__stories__/GroupOfChips/index.js +0 -7
  2635. package/content/Chip/__stories__/GroupOfChips/package.json +0 -6
  2636. package/content/Chip/index.mdx +0 -53
  2637. package/content/Details/Details.stories/index.js +0 -9
  2638. package/content/Details/Details.stories/package.json +0 -6
  2639. package/content/Details/Details.stories.playwright.json +0 -27
  2640. package/content/Details/__snapshots__/index.spec.tsx.snap +0 -81
  2641. package/content/Details/__stories__/Default/index.js +0 -7
  2642. package/content/Details/__stories__/Default/package.json +0 -6
  2643. package/content/Details/index.mdx +0 -27
  2644. package/content/Details/index.spec/index.js +0 -13
  2645. package/content/Details/index.spec/package.json +0 -6
  2646. package/content/List/List.stories/index.js +0 -14
  2647. package/content/List/List.stories/package.json +0 -6
  2648. package/content/List/__snapshots__/index.spec.tsx.snap +0 -7
  2649. package/content/List/__stories__/BulletList/index.js +0 -10
  2650. package/content/List/__stories__/BulletList/package.json +0 -6
  2651. package/content/List/__stories__/Default/index.js +0 -8
  2652. package/content/List/__stories__/Default/package.json +0 -6
  2653. package/content/List/__stories__/HorizontalList/index.js +0 -11
  2654. package/content/List/__stories__/HorizontalList/package.json +0 -6
  2655. package/content/List/__stories__/NestedBulletList/index.js +0 -18
  2656. package/content/List/__stories__/NestedBulletList/package.json +0 -6
  2657. package/content/List/__stories__/NumberedList/index.js +0 -10
  2658. package/content/List/__stories__/NumberedList/package.json +0 -6
  2659. package/content/List/__stories__/WithExtraSpace/index.js +0 -10
  2660. package/content/List/__stories__/WithExtraSpace/package.json +0 -6
  2661. package/content/List/index.mdx +0 -40
  2662. package/content/List/index.spec/index.js +0 -6
  2663. package/content/List/index.spec/package.json +0 -6
  2664. package/content/StepNav/StepNav.stories/index.js +0 -12
  2665. package/content/StepNav/StepNav.stories/package.json +0 -6
  2666. package/content/StepNav/StepNav.stories.playwright.json +0 -33
  2667. package/content/StepNav/__stories__/Auto/index.js +0 -129
  2668. package/content/StepNav/__stories__/Auto/package.json +0 -6
  2669. package/content/StepNav/__stories__/Default/index.js +0 -166
  2670. package/content/StepNav/__stories__/Default/package.json +0 -6
  2671. package/content/StepNav/__stories__/Dense/index.js +0 -168
  2672. package/content/StepNav/__stories__/Dense/package.json +0 -6
  2673. package/content/StepNav/__stories__/WithHints/index.js +0 -175
  2674. package/content/StepNav/__stories__/WithHints/package.json +0 -6
  2675. package/content/StepNav/__stories__/WithHook/index.js +0 -137
  2676. package/content/StepNav/__stories__/WithHook/package.json +0 -6
  2677. package/content/StepNav/index.mdx +0 -53
  2678. package/content/SummaryList/SummaryList.stories/index.js +0 -14
  2679. package/content/SummaryList/SummaryList.stories/package.json +0 -6
  2680. package/content/SummaryList/SummaryList.stories.playwright.json +0 -27
  2681. package/content/SummaryList/__snapshots__/index.spec.tsx.snap +0 -97
  2682. package/content/SummaryList/__stories__/Default/index.js +0 -15
  2683. package/content/SummaryList/__stories__/Default/package.json +0 -6
  2684. package/content/SummaryList/__stories__/RowVariations/index.js +0 -30
  2685. package/content/SummaryList/__stories__/RowVariations/package.json +0 -6
  2686. package/content/SummaryList/__stories__/WithActions/index.js +0 -18
  2687. package/content/SummaryList/__stories__/WithActions/package.json +0 -6
  2688. package/content/SummaryList/__stories__/WithKeyAndAction/index.js +0 -18
  2689. package/content/SummaryList/__stories__/WithKeyAndAction/package.json +0 -6
  2690. package/content/SummaryList/__stories__/WithoutActions/index.js +0 -7
  2691. package/content/SummaryList/__stories__/WithoutActions/package.json +0 -6
  2692. package/content/SummaryList/__stories__/WithoutBorders/index.js +0 -17
  2693. package/content/SummaryList/__stories__/WithoutBorders/package.json +0 -6
  2694. package/content/SummaryList/index.mdx +0 -51
  2695. package/content/SummaryList/index.spec/index.js +0 -7
  2696. package/content/SummaryList/index.spec/package.json +0 -6
  2697. package/content/Table/Table.stories/index.js +0 -26
  2698. package/content/Table/Table.stories/package.json +0 -6
  2699. package/content/Table/Table.stories.playwright.json +0 -37
  2700. package/content/Table/__stories__/DarkVariant/index.js +0 -47
  2701. package/content/Table/__stories__/DarkVariant/package.json +0 -6
  2702. package/content/Table/__stories__/DarkVariantWithVerticalHeaders/index.js +0 -47
  2703. package/content/Table/__stories__/DarkVariantWithVerticalHeaders/package.json +0 -6
  2704. package/content/Table/__stories__/Default/index.js +0 -41
  2705. package/content/Table/__stories__/Default/package.json +0 -6
  2706. package/content/Table/__stories__/DefinedWidth/index.js +0 -43
  2707. package/content/Table/__stories__/DefinedWidth/package.json +0 -6
  2708. package/content/Table/__stories__/Densed/index.js +0 -102
  2709. package/content/Table/__stories__/Densed/package.json +0 -6
  2710. package/content/Table/__stories__/Densed.d.ts +0 -3
  2711. package/content/Table/__stories__/Full/index.js +0 -91
  2712. package/content/Table/__stories__/Full/package.json +0 -6
  2713. package/content/Table/__stories__/MultipleProps/index.js +0 -71
  2714. package/content/Table/__stories__/MultipleProps/package.json +0 -6
  2715. package/content/Table/__stories__/NoData/index.js +0 -9
  2716. package/content/Table/__stories__/NoData/package.json +0 -6
  2717. package/content/Table/__stories__/NumericDataType/index.js +0 -61
  2718. package/content/Table/__stories__/NumericDataType/package.json +0 -6
  2719. package/content/Table/__stories__/RowColors/index.js +0 -60
  2720. package/content/Table/__stories__/RowColors/package.json +0 -6
  2721. package/content/Table/__stories__/Stacked/index.js +0 -43
  2722. package/content/Table/__stories__/Stacked/package.json +0 -6
  2723. package/content/Table/__stories__/TableCaptions/index.js +0 -15
  2724. package/content/Table/__stories__/TableCaptions/package.json +0 -6
  2725. package/content/Table/__stories__/VerticalBorders/index.js +0 -47
  2726. package/content/Table/__stories__/VerticalBorders/package.json +0 -6
  2727. package/content/Table/__stories__/VerticalHeaders/index.js +0 -41
  2728. package/content/Table/__stories__/VerticalHeaders/package.json +0 -6
  2729. package/content/Table/__stories__/WithFloatingScroll/index.js +0 -69
  2730. package/content/Table/__stories__/WithFloatingScroll/package.json +0 -6
  2731. package/content/Table/__stories__/WithLoader/index.js +0 -65
  2732. package/content/Table/__stories__/WithLoader/package.json +0 -6
  2733. package/content/Table/__stories__/WithSortFilters/index.js +0 -100
  2734. package/content/Table/__stories__/WithSortFilters/package.json +0 -6
  2735. package/content/Table/__stories__/ZebraProp/index.js +0 -47
  2736. package/content/Table/__stories__/ZebraProp/package.json +0 -6
  2737. package/content/Table/index.mdx +0 -111
  2738. package/content/TaskList/TaskList.stories/index.js +0 -9
  2739. package/content/TaskList/TaskList.stories/package.json +0 -6
  2740. package/content/TaskList/__stories__/Default/index.js +0 -69
  2741. package/content/TaskList/__stories__/Default/package.json +0 -6
  2742. package/content/TaskList/__stories__/Dense/index.js +0 -71
  2743. package/content/TaskList/__stories__/Dense/package.json +0 -6
  2744. package/content/TaskList/index.mdx +0 -30
  2745. package/content/Timeline/Timeline.stories/index.js +0 -9
  2746. package/content/Timeline/Timeline.stories/package.json +0 -6
  2747. package/content/Timeline/__stories__/Default/index.js +0 -119
  2748. package/content/Timeline/__stories__/Default/package.json +0 -6
  2749. package/content/Timeline/__stories__/Dense/index.js +0 -121
  2750. package/content/Timeline/__stories__/Dense/package.json +0 -6
  2751. package/content/Timeline/index.mdx +0 -33
  2752. package/feedback/CopyToClipboard/CopyToClipboard.stories/index.js +0 -9
  2753. package/feedback/CopyToClipboard/CopyToClipboard.stories/package.json +0 -6
  2754. package/feedback/CopyToClipboard/CopyToClipboard.stories.playwright.json +0 -53
  2755. package/feedback/CopyToClipboard/__stories__/Banner/index.js +0 -14
  2756. package/feedback/CopyToClipboard/__stories__/Banner/package.json +0 -6
  2757. package/feedback/CopyToClipboard/__stories__/Default/index.js +0 -20
  2758. package/feedback/CopyToClipboard/__stories__/Default/package.json +0 -6
  2759. package/feedback/CopyToClipboard/__stories__/Dense/index.js +0 -18
  2760. package/feedback/CopyToClipboard/__stories__/Dense/package.json +0 -6
  2761. package/feedback/CopyToClipboard/index.mdx +0 -28
  2762. package/feedback/ErrorSummary/ErrorSummary.stories/index.js +0 -14
  2763. package/feedback/ErrorSummary/ErrorSummary.stories/package.json +0 -6
  2764. package/feedback/ErrorSummary/ErrorSummary.stories.playwright.json +0 -27
  2765. package/feedback/ErrorSummary/__snapshots__/index.spec.tsx.snap +0 -7
  2766. package/feedback/ErrorSummary/__stories__/Default/index.js +0 -11
  2767. package/feedback/ErrorSummary/__stories__/Default/package.json +0 -6
  2768. package/feedback/ErrorSummary/__stories__/Dense/index.js +0 -13
  2769. package/feedback/ErrorSummary/__stories__/Dense/package.json +0 -6
  2770. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox/index.js +0 -28
  2771. package/feedback/ErrorSummary/__stories__/LinkedToCheckbox/package.json +0 -6
  2772. package/feedback/ErrorSummary/__stories__/LinkedToField/index.js +0 -29
  2773. package/feedback/ErrorSummary/__stories__/LinkedToField/package.json +0 -6
  2774. package/feedback/ErrorSummary/__stories__/LinkedToInput/index.js +0 -28
  2775. package/feedback/ErrorSummary/__stories__/LinkedToInput/package.json +0 -6
  2776. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/index.js +0 -33
  2777. package/feedback/ErrorSummary/__stories__/WithBackLinkAndButton/package.json +0 -6
  2778. package/feedback/ErrorSummary/index.mdx +0 -54
  2779. package/feedback/ErrorSummary/index.spec/index.js +0 -6
  2780. package/feedback/ErrorSummary/index.spec/package.json +0 -6
  2781. package/feedback/NotificationBanner/NotificationBanner.stories/index.js +0 -12
  2782. package/feedback/NotificationBanner/NotificationBanner.stories/package.json +0 -6
  2783. package/feedback/NotificationBanner/NotificationBanner.stories.playwright.json +0 -49
  2784. package/feedback/NotificationBanner/__snapshots__/index.spec.tsx.snap +0 -23
  2785. package/feedback/NotificationBanner/__stories__/Default/index.js +0 -12
  2786. package/feedback/NotificationBanner/__stories__/Default/package.json +0 -6
  2787. package/feedback/NotificationBanner/__stories__/Dense/index.js +0 -13
  2788. package/feedback/NotificationBanner/__stories__/Dense/package.json +0 -6
  2789. package/feedback/NotificationBanner/__stories__/Success/index.js +0 -13
  2790. package/feedback/NotificationBanner/__stories__/Success/package.json +0 -6
  2791. package/feedback/NotificationBanner/index.mdx +0 -47
  2792. package/feedback/NotificationBanner/index.spec/index.js +0 -17
  2793. package/feedback/NotificationBanner/index.spec/package.json +0 -6
  2794. package/feedback/PhaseBanner/PhaseBanner.stories/index.js +0 -10
  2795. package/feedback/PhaseBanner/PhaseBanner.stories/package.json +0 -6
  2796. package/feedback/PhaseBanner/PhaseBanner.stories.playwright.json +0 -21
  2797. package/feedback/PhaseBanner/__stories__/Default/index.js +0 -10
  2798. package/feedback/PhaseBanner/__stories__/Default/package.json +0 -6
  2799. package/feedback/PhaseBanner/__stories__/Underlined/index.js +0 -12
  2800. package/feedback/PhaseBanner/__stories__/Underlined/package.json +0 -6
  2801. package/feedback/PhaseBanner/index.mdx +0 -37
  2802. package/feedback/WarningText/WarningText.stories/index.js +0 -11
  2803. package/feedback/WarningText/WarningText.stories/package.json +0 -6
  2804. package/feedback/WarningText/__snapshots__/index.spec.tsx.snap +0 -7
  2805. package/feedback/WarningText/__stories__/AssistiveText/index.js +0 -9
  2806. package/feedback/WarningText/__stories__/AssistiveText/package.json +0 -6
  2807. package/feedback/WarningText/__stories__/Default/index.js +0 -7
  2808. package/feedback/WarningText/__stories__/Default/package.json +0 -6
  2809. package/feedback/WarningText/__stories__/Dense/index.js +0 -9
  2810. package/feedback/WarningText/__stories__/Dense/package.json +0 -6
  2811. package/feedback/WarningText/index.mdx +0 -25
  2812. package/feedback/WarningText/index.spec/index.js +0 -6
  2813. package/feedback/WarningText/index.spec/package.json +0 -6
  2814. package/form/AutoComplete/AutoComplete.stories/index.js +0 -13
  2815. package/form/AutoComplete/AutoComplete.stories/package.json +0 -6
  2816. package/form/AutoComplete/__stories__/Default/index.js +0 -14
  2817. package/form/AutoComplete/__stories__/Default/package.json +0 -6
  2818. package/form/AutoComplete/__stories__/WithAutoSelect/index.js +0 -29
  2819. package/form/AutoComplete/__stories__/WithAutoSelect/package.json +0 -6
  2820. package/form/AutoComplete/__stories__/WithDefaultValue/index.js +0 -15
  2821. package/form/AutoComplete/__stories__/WithDefaultValue/package.json +0 -6
  2822. package/form/AutoComplete/__stories__/WithInLine/index.js +0 -15
  2823. package/form/AutoComplete/__stories__/WithInLine/package.json +0 -6
  2824. package/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
  2825. package/form/AutoComplete/__stories__/WithMinLength/index.js +0 -16
  2826. package/form/AutoComplete/__stories__/WithMinLength/package.json +0 -6
  2827. package/form/AutoComplete/__stories__/WithPlaceHolder/index.js +0 -15
  2828. package/form/AutoComplete/__stories__/WithPlaceHolder/package.json +0 -6
  2829. package/form/AutoComplete/__stories__/WithShowAllValues/index.js +0 -15
  2830. package/form/AutoComplete/__stories__/WithShowAllValues/package.json +0 -6
  2831. package/form/AutoComplete/index.mdx +0 -78
  2832. package/form/Button/Button.stories/index.js +0 -20
  2833. package/form/Button/Button.stories/package.json +0 -6
  2834. package/form/Button/Button.stories.playwright.json +0 -115
  2835. package/form/Button/__snapshots__/index.spec.tsx.snap +0 -17
  2836. package/form/Button/__stories__/Back/index.js +0 -11
  2837. package/form/Button/__stories__/Back/package.json +0 -6
  2838. package/form/Button/__stories__/ButtonLinkButton/index.js +0 -16
  2839. package/form/Button/__stories__/ButtonLinkButton/package.json +0 -6
  2840. package/form/Button/__stories__/CallToActionButton/index.js +0 -12
  2841. package/form/Button/__stories__/CallToActionButton/package.json +0 -6
  2842. package/form/Button/__stories__/Dense/index.js +0 -10
  2843. package/form/Button/__stories__/Dense/package.json +0 -6
  2844. package/form/Button/__stories__/Disabled/index.js +0 -11
  2845. package/form/Button/__stories__/Disabled/package.json +0 -6
  2846. package/form/Button/__stories__/GroupingButtons/index.js +0 -9
  2847. package/form/Button/__stories__/GroupingButtons/package.json +0 -6
  2848. package/form/Button/__stories__/GroupingButtonsAndLinks/index.js +0 -10
  2849. package/form/Button/__stories__/GroupingButtonsAndLinks/package.json +0 -6
  2850. package/form/Button/__stories__/Primary/index.js +0 -9
  2851. package/form/Button/__stories__/Primary/package.json +0 -6
  2852. package/form/Button/__stories__/Secondary/index.js +0 -10
  2853. package/form/Button/__stories__/Secondary/package.json +0 -6
  2854. package/form/Button/__stories__/ThemeToggle/index.js +0 -7
  2855. package/form/Button/__stories__/ThemeToggle/package.json +0 -6
  2856. package/form/Button/__stories__/Warning/index.js +0 -10
  2857. package/form/Button/__stories__/Warning/package.json +0 -6
  2858. package/form/Button/__stories__/WithVariantLink/index.js +0 -12
  2859. package/form/Button/__stories__/WithVariantLink/package.json +0 -6
  2860. package/form/Button/index.mdx +0 -111
  2861. package/form/Button/index.spec/index.js +0 -7
  2862. package/form/Button/index.spec/package.json +0 -6
  2863. package/form/Checkbox/Checkbox.stories/index.js +0 -18
  2864. package/form/Checkbox/Checkbox.stories/package.json +0 -6
  2865. package/form/Checkbox/Checkbox.stories.playwright.json +0 -55
  2866. package/form/Checkbox/__stories__/ConditionalReveal/index.js +0 -24
  2867. package/form/Checkbox/__stories__/ConditionalReveal/package.json +0 -6
  2868. package/form/Checkbox/__stories__/Default/index.js +0 -22
  2869. package/form/Checkbox/__stories__/Default/package.json +0 -6
  2870. package/form/Checkbox/__stories__/Dense/index.js +0 -24
  2871. package/form/Checkbox/__stories__/Dense/package.json +0 -6
  2872. package/form/Checkbox/__stories__/Inline/index.js +0 -21
  2873. package/form/Checkbox/__stories__/Inline/package.json +0 -6
  2874. package/form/Checkbox/__stories__/InlineWithDivider/index.js +0 -22
  2875. package/form/Checkbox/__stories__/InlineWithDivider/package.json +0 -6
  2876. package/form/Checkbox/__stories__/MultipleQuestions/index.js +0 -24
  2877. package/form/Checkbox/__stories__/MultipleQuestions/package.json +0 -6
  2878. package/form/Checkbox/__stories__/NoneAnswer/index.js +0 -18
  2879. package/form/Checkbox/__stories__/NoneAnswer/package.json +0 -6
  2880. package/form/Checkbox/__stories__/NoneAnswerWithError/index.js +0 -24
  2881. package/form/Checkbox/__stories__/NoneAnswerWithError/package.json +0 -6
  2882. package/form/Checkbox/__stories__/WithErrorMessage/index.js +0 -25
  2883. package/form/Checkbox/__stories__/WithErrorMessage/package.json +0 -6
  2884. package/form/Checkbox/__stories__/WithHint/index.js +0 -25
  2885. package/form/Checkbox/__stories__/WithHint/package.json +0 -6
  2886. package/form/Checkbox/index.mdx +0 -83
  2887. package/form/DateInputContainer/DateInputContainer.stories/index.js +0 -13
  2888. package/form/DateInputContainer/DateInputContainer.stories/package.json +0 -6
  2889. package/form/DateInputContainer/DateInputContainer.stories.playwright.json +0 -61
  2890. package/form/DateInputContainer/__stories__/Default/index.js +0 -22
  2891. package/form/DateInputContainer/__stories__/Default/package.json +0 -6
  2892. package/form/DateInputContainer/__stories__/Dense/index.js +0 -21
  2893. package/form/DateInputContainer/__stories__/Dense/package.json +0 -6
  2894. package/form/DateInputContainer/__stories__/MultipleQuestions/index.js +0 -22
  2895. package/form/DateInputContainer/__stories__/MultipleQuestions/package.json +0 -6
  2896. package/form/DateInputContainer/__stories__/WithErrorMessage/index.js +0 -33
  2897. package/form/DateInputContainer/__stories__/WithErrorMessage/package.json +0 -6
  2898. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/index.js +0 -30
  2899. package/form/DateInputContainer/__stories__/WithErrorMessageForSingleField/package.json +0 -6
  2900. package/form/DateInputContainer/index.mdx +0 -46
  2901. package/form/ErrorMessage/ErrorMessage.stories/index.js +0 -11
  2902. package/form/ErrorMessage/ErrorMessage.stories/package.json +0 -6
  2903. package/form/ErrorMessage/__stories__/DateInputError/index.js +0 -22
  2904. package/form/ErrorMessage/__stories__/DateInputError/package.json +0 -6
  2905. package/form/ErrorMessage/__stories__/Default/index.js +0 -30
  2906. package/form/ErrorMessage/__stories__/Default/package.json +0 -6
  2907. package/form/ErrorMessage/__stories__/ErrorMessageOnly/index.js +0 -10
  2908. package/form/ErrorMessage/__stories__/ErrorMessageOnly/package.json +0 -6
  2909. package/form/ErrorMessage/index.mdx +0 -23
  2910. package/form/FileUpload/FileUpload.stories/index.js +0 -9
  2911. package/form/FileUpload/FileUpload.stories/package.json +0 -6
  2912. package/form/FileUpload/__stories__/Default/index.js +0 -15
  2913. package/form/FileUpload/__stories__/Default/package.json +0 -6
  2914. package/form/FileUpload/__stories__/WithErrorMessage/index.js +0 -19
  2915. package/form/FileUpload/__stories__/WithErrorMessage/package.json +0 -6
  2916. package/form/FileUpload/index.mdx +0 -30
  2917. package/form/RadioContainer/RadioContainer.stories/index.js +0 -18
  2918. package/form/RadioContainer/RadioContainer.stories/package.json +0 -6
  2919. package/form/RadioContainer/RadioContainer.stories.playwright.json +0 -49
  2920. package/form/RadioContainer/__stories__/ConditionalReveal/index.js +0 -24
  2921. package/form/RadioContainer/__stories__/ConditionalReveal/package.json +0 -6
  2922. package/form/RadioContainer/__stories__/Default/index.js +0 -20
  2923. package/form/RadioContainer/__stories__/Default/package.json +0 -6
  2924. package/form/RadioContainer/__stories__/Dense/index.js +0 -22
  2925. package/form/RadioContainer/__stories__/Dense/package.json +0 -6
  2926. package/form/RadioContainer/__stories__/Inline/index.js +0 -21
  2927. package/form/RadioContainer/__stories__/Inline/package.json +0 -6
  2928. package/form/RadioContainer/__stories__/InlineWithDivider/index.js +0 -22
  2929. package/form/RadioContainer/__stories__/InlineWithDivider/package.json +0 -6
  2930. package/form/RadioContainer/__stories__/MultipleQuestions/index.js +0 -24
  2931. package/form/RadioContainer/__stories__/MultipleQuestions/package.json +0 -6
  2932. package/form/RadioContainer/__stories__/NoneAnswer/index.js +0 -22
  2933. package/form/RadioContainer/__stories__/NoneAnswer/package.json +0 -6
  2934. package/form/RadioContainer/__stories__/WithErrorMessage/index.js +0 -27
  2935. package/form/RadioContainer/__stories__/WithErrorMessage/package.json +0 -6
  2936. package/form/RadioContainer/__stories__/WithHints/index.js +0 -27
  2937. package/form/RadioContainer/__stories__/WithHints/package.json +0 -6
  2938. package/form/RadioContainer/__stories__/WithMediumLegend/index.js +0 -22
  2939. package/form/RadioContainer/__stories__/WithMediumLegend/package.json +0 -6
  2940. package/form/RadioContainer/index.mdx +0 -84
  2941. package/form/SelectContainer/SelectContainer.stories/index.js +0 -12
  2942. package/form/SelectContainer/SelectContainer.stories/package.json +0 -6
  2943. package/form/SelectContainer/SelectContainer.stories.playwright.json +0 -21
  2944. package/form/SelectContainer/__stories__/Default/index.js +0 -20
  2945. package/form/SelectContainer/__stories__/Default/package.json +0 -6
  2946. package/form/SelectContainer/__stories__/Dense/index.js +0 -21
  2947. package/form/SelectContainer/__stories__/Dense/package.json +0 -6
  2948. package/form/SelectContainer/__stories__/DisabledInput/index.js +0 -22
  2949. package/form/SelectContainer/__stories__/DisabledInput/package.json +0 -6
  2950. package/form/SelectContainer/__stories__/WithHint/index.js +0 -24
  2951. package/form/SelectContainer/__stories__/WithHint/package.json +0 -6
  2952. package/form/SelectContainer/index.mdx +0 -50
  2953. package/form/SingleCharacterInputs/SingleCharacterInput.stories/index.js +0 -12
  2954. package/form/SingleCharacterInputs/SingleCharacterInput.stories/package.json +0 -6
  2955. package/form/SingleCharacterInputs/__stories__/Default/index.js +0 -33
  2956. package/form/SingleCharacterInputs/__stories__/Default/package.json +0 -6
  2957. package/form/SingleCharacterInputs/__stories__/WithDefaultError/index.js +0 -37
  2958. package/form/SingleCharacterInputs/__stories__/WithDefaultError/package.json +0 -6
  2959. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/index.js +0 -47
  2960. package/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode/package.json +0 -6
  2961. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/index.js +0 -41
  2962. package/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit/package.json +0 -6
  2963. package/form/SingleCharacterInputs/index.mdx +0 -30
  2964. package/form/TextArea/TextArea.stories/index.js +0 -16
  2965. package/form/TextArea/TextArea.stories/package.json +0 -6
  2966. package/form/TextArea/TextArea.stories.playwright.json +0 -59
  2967. package/form/TextArea/__stories__/Default/index.js +0 -14
  2968. package/form/TextArea/__stories__/Default/package.json +0 -6
  2969. package/form/TextArea/__stories__/Dense/index.js +0 -12
  2970. package/form/TextArea/__stories__/Dense/package.json +0 -6
  2971. package/form/TextArea/__stories__/DisabledInput/index.js +0 -19
  2972. package/form/TextArea/__stories__/DisabledInput/package.json +0 -6
  2973. package/form/TextArea/__stories__/LimitedCharacters/index.js +0 -22
  2974. package/form/TextArea/__stories__/LimitedCharacters/package.json +0 -6
  2975. package/form/TextArea/__stories__/MultipleQuestions/index.js +0 -15
  2976. package/form/TextArea/__stories__/MultipleQuestions/package.json +0 -6
  2977. package/form/TextArea/__stories__/WithDeclaredRows/index.js +0 -19
  2978. package/form/TextArea/__stories__/WithDeclaredRows/package.json +0 -6
  2979. package/form/TextArea/__stories__/WithErrorMessage/index.js +0 -25
  2980. package/form/TextArea/__stories__/WithErrorMessage/package.json +0 -6
  2981. package/form/TextArea/__stories__/WithHint/index.js +0 -18
  2982. package/form/TextArea/__stories__/WithHint/package.json +0 -6
  2983. package/form/TextArea/index.mdx +0 -74
  2984. package/form/TextInput/TextInput.stories/index.js +0 -18
  2985. package/form/TextInput/TextInput.stories/package.json +0 -6
  2986. package/form/TextInput/TextInput.stories.playwright.json +0 -43
  2987. package/form/TextInput/__stories__/AskingForNumbers/index.js +0 -20
  2988. package/form/TextInput/__stories__/AskingForNumbers/package.json +0 -6
  2989. package/form/TextInput/__stories__/Default/index.js +0 -14
  2990. package/form/TextInput/__stories__/Default/package.json +0 -6
  2991. package/form/TextInput/__stories__/Dense/index.js +0 -12
  2992. package/form/TextInput/__stories__/Dense/package.json +0 -6
  2993. package/form/TextInput/__stories__/DisabledInput/index.js +0 -19
  2994. package/form/TextInput/__stories__/DisabledInput/package.json +0 -6
  2995. package/form/TextInput/__stories__/DisabledInputWithValue/index.js +0 -25
  2996. package/form/TextInput/__stories__/DisabledInputWithValue/package.json +0 -6
  2997. package/form/TextInput/__stories__/FixedWidths/index.js +0 -40
  2998. package/form/TextInput/__stories__/FixedWidths/package.json +0 -6
  2999. package/form/TextInput/__stories__/FluidWidths/index.js +0 -40
  3000. package/form/TextInput/__stories__/FluidWidths/package.json +0 -6
  3001. package/form/TextInput/__stories__/MultipleQuestions/index.js +0 -11
  3002. package/form/TextInput/__stories__/MultipleQuestions/package.json +0 -6
  3003. package/form/TextInput/__stories__/WithErrorMessage/index.js +0 -25
  3004. package/form/TextInput/__stories__/WithErrorMessage/package.json +0 -6
  3005. package/form/TextInput/__stories__/WithHint/index.js +0 -18
  3006. package/form/TextInput/__stories__/WithHint/package.json +0 -6
  3007. package/form/TextInput/index.mdx +0 -90
  3008. package/govgr/Footer/index.mdx +0 -103
  3009. package/govgr/GovGRLogo/govgr-logo.svg +0 -1
  3010. package/introduction.md +0 -11
  3011. package/layouts/Basic/Basic.stories/index.js +0 -10
  3012. package/layouts/Basic/Basic.stories/package.json +0 -6
  3013. package/layouts/Basic/Bottom/__stories__/Default/index.js +0 -15
  3014. package/layouts/Basic/Bottom/__stories__/Default/package.json +0 -6
  3015. package/layouts/Basic/Bottom/index.mdx +0 -22
  3016. package/layouts/Basic/Container/__stories__/Default/index.js +0 -13
  3017. package/layouts/Basic/Container/__stories__/Default/package.json +0 -6
  3018. package/layouts/Basic/Container/index.mdx +0 -23
  3019. package/layouts/Basic/Main/__stories__/Default/index.js +0 -13
  3020. package/layouts/Basic/Main/__stories__/Default/package.json +0 -6
  3021. package/layouts/Basic/Main/index.mdx +0 -21
  3022. package/layouts/Basic/Masthead/index.d.ts +0 -5
  3023. package/layouts/Basic/Masthead/index.js +0 -5
  3024. package/layouts/Basic/Masthead/package.json +0 -6
  3025. package/layouts/Basic/Top/__stories__/Default/index.js +0 -13
  3026. package/layouts/Basic/Top/__stories__/Default/package.json +0 -6
  3027. package/layouts/Basic/Top/index.mdx +0 -23
  3028. package/layouts/Basic/__snapshots__/index.spec.tsx.snap +0 -109
  3029. package/layouts/Basic/__stories__/Default/index.js +0 -10
  3030. package/layouts/Basic/__stories__/Default/package.json +0 -6
  3031. package/layouts/Basic/__stories__/MultipleRowsLayout/index.js +0 -13
  3032. package/layouts/Basic/__stories__/MultipleRowsLayout/package.json +0 -6
  3033. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/index.js +0 -13
  3034. package/layouts/Basic/__stories__/TwoThirdsOneThirdColumns/package.json +0 -6
  3035. package/layouts/Basic/index.mdx +0 -42
  3036. package/layouts/Basic/index.spec/index.js +0 -8
  3037. package/layouts/Basic/index.spec/package.json +0 -6
  3038. package/layouts/Grid/Grid.stories/index.js +0 -9
  3039. package/layouts/Grid/Grid.stories/package.json +0 -6
  3040. package/layouts/Grid/__stories__/Default/index.js +0 -73
  3041. package/layouts/Grid/__stories__/Default/package.json +0 -6
  3042. package/layouts/Grid/__stories__/Inline/index.js +0 -74
  3043. package/layouts/Grid/__stories__/Inline/package.json +0 -6
  3044. package/layouts/Grid/__stories__/ResponsiveSpacing/index.js +0 -72
  3045. package/layouts/Grid/__stories__/ResponsiveSpacing/package.json +0 -6
  3046. package/layouts/Grid/index.mdx +0 -39
  3047. package/layouts/Screen/Screen.stories/index.js +0 -10
  3048. package/layouts/Screen/Screen.stories/package.json +0 -6
  3049. package/layouts/Screen/__stories__/Default/index.js +0 -18
  3050. package/layouts/Screen/__stories__/Default/package.json +0 -6
  3051. package/layouts/Screen/__stories__/ScreenDown/index.js +0 -9
  3052. package/layouts/Screen/__stories__/ScreenDown/package.json +0 -6
  3053. package/layouts/Screen/__stories__/ScreenUp/index.js +0 -9
  3054. package/layouts/Screen/__stories__/ScreenUp/package.json +0 -6
  3055. package/layouts/Screen/__stories__/SpecificScreenSize/index.js +0 -9
  3056. package/layouts/Screen/__stories__/SpecificScreenSize/package.json +0 -6
  3057. package/layouts/Stack/Stack.stories/index.js +0 -12
  3058. package/layouts/Stack/Stack.stories/package.json +0 -6
  3059. package/layouts/Stack/__stories__/AlignItems/index.js +0 -65
  3060. package/layouts/Stack/__stories__/AlignItems/package.json +0 -6
  3061. package/layouts/Stack/__stories__/Default/index.js +0 -22
  3062. package/layouts/Stack/__stories__/Default/package.json +0 -6
  3063. package/layouts/Stack/__stories__/JustifyContent/index.js +0 -82
  3064. package/layouts/Stack/__stories__/JustifyContent/package.json +0 -6
  3065. package/layouts/Stack/__stories__/NoWrap/index.js +0 -24
  3066. package/layouts/Stack/__stories__/NoWrap/package.json +0 -6
  3067. package/layouts/Stack/__stories__/Row/index.js +0 -23
  3068. package/layouts/Stack/__stories__/Row/package.json +0 -6
  3069. package/layouts/Stack/__stories__/Spacing/index.js +0 -53
  3070. package/layouts/Stack/__stories__/Spacing/package.json +0 -6
  3071. package/lazy.d.ts +0 -346
  3072. package/navigation/BackLink/BackLink.stories/index.js +0 -7
  3073. package/navigation/BackLink/BackLink.stories/package.json +0 -6
  3074. package/navigation/BackLink/BackLink.stories.playwright.json +0 -21
  3075. package/navigation/BackLink/__stories__/Default/index.js +0 -10
  3076. package/navigation/BackLink/__stories__/Default/package.json +0 -6
  3077. package/navigation/BackLink/index.mdx +0 -23
  3078. package/navigation/BackToTopLink/BackToTopLink.stories/index.js +0 -8
  3079. package/navigation/BackToTopLink/BackToTopLink.stories/package.json +0 -6
  3080. package/navigation/BackToTopLink/__stories__/Default/index.js +0 -10
  3081. package/navigation/BackToTopLink/__stories__/Default/package.json +0 -6
  3082. package/navigation/BackToTopLink/__stories__/InMain/index.js +0 -11
  3083. package/navigation/BackToTopLink/__stories__/InMain/package.json +0 -6
  3084. package/navigation/Breadcrumbs/Breadcrumbs.stories/index.js +0 -9
  3085. package/navigation/Breadcrumbs/Breadcrumbs.stories/package.json +0 -6
  3086. package/navigation/Breadcrumbs/Breadcrumbs.stories.playwright.json +0 -33
  3087. package/navigation/Breadcrumbs/__stories__/Default/index.js +0 -19
  3088. package/navigation/Breadcrumbs/__stories__/Default/package.json +0 -6
  3089. package/navigation/Breadcrumbs/index.mdx +0 -32
  3090. package/navigation/Drawer/Drawer.stories/index.js +0 -11
  3091. package/navigation/Drawer/Drawer.stories/package.json +0 -6
  3092. package/navigation/Drawer/__stories__/Auto/index.js +0 -75
  3093. package/navigation/Drawer/__stories__/Auto/package.json +0 -6
  3094. package/navigation/Drawer/__stories__/Default/index.js +0 -79
  3095. package/navigation/Drawer/__stories__/Default/package.json +0 -6
  3096. package/navigation/Drawer/__stories__/WithHook/index.js +0 -76
  3097. package/navigation/Drawer/__stories__/WithHook/package.json +0 -6
  3098. package/navigation/Drawer/index.mdx +0 -14
  3099. package/navigation/Dropdown/Dropdown.stories/index.js +0 -18
  3100. package/navigation/Dropdown/Dropdown.stories/package.json +0 -6
  3101. package/navigation/Dropdown/Dropdown.stories.playwright.json +0 -69
  3102. package/navigation/Dropdown/__stories__/AlignRight/index.js +0 -54
  3103. package/navigation/Dropdown/__stories__/AlignRight/package.json +0 -6
  3104. package/navigation/Dropdown/__stories__/ContentPosition/index.js +0 -97
  3105. package/navigation/Dropdown/__stories__/ContentPosition/package.json +0 -6
  3106. package/navigation/Dropdown/__stories__/Default/index.js +0 -40
  3107. package/navigation/Dropdown/__stories__/Default/package.json +0 -6
  3108. package/navigation/Dropdown/__stories__/Dense/index.js +0 -48
  3109. package/navigation/Dropdown/__stories__/Dense/package.json +0 -6
  3110. package/navigation/Dropdown/__stories__/Disabled/index.js +0 -42
  3111. package/navigation/Dropdown/__stories__/Disabled/package.json +0 -6
  3112. package/navigation/Dropdown/__stories__/PlacementTop/index.js +0 -58
  3113. package/navigation/Dropdown/__stories__/PlacementTop/package.json +0 -6
  3114. package/navigation/Dropdown/__stories__/Secondary/index.js +0 -28
  3115. package/navigation/Dropdown/__stories__/Secondary/package.json +0 -6
  3116. package/navigation/Dropdown/__stories__/VariantLink/index.js +0 -41
  3117. package/navigation/Dropdown/__stories__/VariantLink/package.json +0 -6
  3118. package/navigation/Dropdown/__stories__/Warning/index.js +0 -28
  3119. package/navigation/Dropdown/__stories__/Warning/package.json +0 -6
  3120. package/navigation/Dropdown/__stories__/WithIcons/index.js +0 -93
  3121. package/navigation/Dropdown/__stories__/WithIcons/package.json +0 -6
  3122. package/navigation/Dropdown/index.mdx +0 -40
  3123. package/navigation/Link/Link.stories/index.js +0 -13
  3124. package/navigation/Link/Link.stories/package.json +0 -6
  3125. package/navigation/Link/Link.stories.playwright.json +0 -65
  3126. package/navigation/Link/__snapshots__/index.spec.tsx.snap +0 -38
  3127. package/navigation/Link/__stories__/DarkBackground/index.js +0 -17
  3128. package/navigation/Link/__stories__/DarkBackground/package.json +0 -6
  3129. package/navigation/Link/__stories__/DarkBackgroundNoUnderline/index.js +0 -18
  3130. package/navigation/Link/__stories__/DarkBackgroundNoUnderline/package.json +0 -6
  3131. package/navigation/Link/__stories__/Default/index.js +0 -11
  3132. package/navigation/Link/__stories__/Default/package.json +0 -6
  3133. package/navigation/Link/__stories__/ExternalLink/index.js +0 -12
  3134. package/navigation/Link/__stories__/ExternalLink/package.json +0 -6
  3135. package/navigation/Link/__stories__/NoUnderline/index.js +0 -12
  3136. package/navigation/Link/__stories__/NoUnderline/package.json +0 -6
  3137. package/navigation/Link/__stories__/OpensInNewTab/index.js +0 -11
  3138. package/navigation/Link/__stories__/OpensInNewTab/package.json +0 -6
  3139. package/navigation/Link/index.mdx +0 -50
  3140. package/navigation/Link/index.spec/index.js +0 -16
  3141. package/navigation/Link/index.spec/package.json +0 -6
  3142. package/navigation/NavList/NavList.stories/index.js +0 -16
  3143. package/navigation/NavList/NavList.stories/package.json +0 -6
  3144. package/navigation/NavList/NavList.stories.playwright.json +0 -53
  3145. package/navigation/NavList/__snapshots__/index.spec.tsx.snap +0 -7
  3146. package/navigation/NavList/__stories__/Default/index.js +0 -39
  3147. package/navigation/NavList/__stories__/Default/package.json +0 -6
  3148. package/navigation/NavList/__stories__/HorizontalWithDrawer/index.js +0 -94
  3149. package/navigation/NavList/__stories__/HorizontalWithDrawer/package.json +0 -6
  3150. package/navigation/NavList/__stories__/HorizontalWithoutDrawer/index.js +0 -71
  3151. package/navigation/NavList/__stories__/HorizontalWithoutDrawer/package.json +0 -6
  3152. package/navigation/NavList/__stories__/NavLinksOneLevel.json +0 -17
  3153. package/navigation/NavList/__stories__/NavLinksWithSubmenu.json +0 -36
  3154. package/navigation/NavList/__stories__/NavListWithoutNav/index.js +0 -29
  3155. package/navigation/NavList/__stories__/NavListWithoutNav/package.json +0 -6
  3156. package/navigation/NavList/__stories__/UsingHeaderButton/index.js +0 -63
  3157. package/navigation/NavList/__stories__/UsingHeaderButton/package.json +0 -6
  3158. package/navigation/NavList/__stories__/UsingNavListAuto/index.js +0 -67
  3159. package/navigation/NavList/__stories__/UsingNavListAuto/package.json +0 -6
  3160. package/navigation/NavList/__stories__/Vertical/index.js +0 -41
  3161. package/navigation/NavList/__stories__/Vertical/package.json +0 -6
  3162. package/navigation/NavList/__stories__/VerticalWithoutDrawer/index.js +0 -74
  3163. package/navigation/NavList/__stories__/VerticalWithoutDrawer/package.json +0 -6
  3164. package/navigation/NavList/index.mdx +0 -60
  3165. package/navigation/NavList/index.spec/index.js +0 -6
  3166. package/navigation/NavList/index.spec/package.json +0 -6
  3167. package/navigation/Pagination/Pagination.stories/index.js +0 -15
  3168. package/navigation/Pagination/Pagination.stories/package.json +0 -6
  3169. package/navigation/Pagination/Pagination.stories.playwright.json +0 -27
  3170. package/navigation/Pagination/__stories__/Auto/index.js +0 -46
  3171. package/navigation/Pagination/__stories__/Auto/package.json +0 -6
  3172. package/navigation/Pagination/__stories__/Default/index.js +0 -63
  3173. package/navigation/Pagination/__stories__/Default/package.json +0 -6
  3174. package/navigation/Pagination/__stories__/PaginationSmall/index.js +0 -32
  3175. package/navigation/Pagination/__stories__/PaginationSmall/package.json +0 -6
  3176. package/navigation/Pagination/__stories__/PaginationWithSmallFont/index.js +0 -42
  3177. package/navigation/Pagination/__stories__/PaginationWithSmallFont/package.json +0 -6
  3178. package/navigation/Pagination/__stories__/WithHook/index.js +0 -53
  3179. package/navigation/Pagination/__stories__/WithHook/package.json +0 -6
  3180. package/navigation/Pagination/__stories__/WithInactiveValues/index.js +0 -65
  3181. package/navigation/Pagination/__stories__/WithInactiveValues/package.json +0 -6
  3182. package/navigation/Pagination/__stories__/WithResultsPerPage/index.js +0 -38
  3183. package/navigation/Pagination/__stories__/WithResultsPerPage/package.json +0 -6
  3184. package/navigation/Pagination/index.mdx +0 -48
  3185. package/navigation/SkipLink/SkipLink.stories/index.js +0 -8
  3186. package/navigation/SkipLink/SkipLink.stories/package.json +0 -6
  3187. package/navigation/SkipLink/__stories__/Default/index.js +0 -9
  3188. package/navigation/SkipLink/__stories__/Default/package.json +0 -6
  3189. package/navigation/Tabs/Tabs.stories/index.js +0 -12
  3190. package/navigation/Tabs/Tabs.stories/package.json +0 -6
  3191. package/navigation/Tabs/Tabs.stories.playwright.json +0 -27
  3192. package/navigation/Tabs/__stories__/Auto/index.js +0 -31
  3193. package/navigation/Tabs/__stories__/Auto/package.json +0 -6
  3194. package/navigation/Tabs/__stories__/Default/index.js +0 -42
  3195. package/navigation/Tabs/__stories__/Default/package.json +0 -6
  3196. package/navigation/Tabs/__stories__/Dense/index.js +0 -29
  3197. package/navigation/Tabs/__stories__/Dense/package.json +0 -6
  3198. package/navigation/Tabs/index.mdx +0 -31
  3199. package/registry.d.ts +0 -303
  3200. package/src/api/APIErrors.tsx +0 -44
  3201. package/src/api/APIProvider.tsx +0 -27
  3202. package/src/api/fetchAPI.ts +0 -45
  3203. package/src/api/index.spec.tsx +0 -419
  3204. package/src/api/index.tsx +0 -16
  3205. package/src/api/introduction.md +0 -6
  3206. package/src/api/useResource.tsx +0 -96
  3207. package/src/api/useResourceAction.tsx +0 -80
  3208. package/src/api/useResourceQuery.tsx +0 -177
  3209. package/src/api/utils.tsx +0 -157
  3210. package/src/app/Footer/Footer.stories.js +0 -18
  3211. package/src/app/Footer/Footer.stories.playwright.json +0 -27
  3212. package/src/app/Footer/index.mdx +0 -63
  3213. package/src/app/Header/Header.stories.js +0 -20
  3214. package/src/app/Header/Header.stories.playwright.json +0 -49
  3215. package/src/app/Header/index.mdx +0 -49
  3216. package/src/app/Loader/Loader.stories.js +0 -7
  3217. package/src/app/Masthead/Masthead.stories.js +0 -13
  3218. package/src/app/Masthead/Masthead.stories.playwright.json +0 -21
  3219. package/src/app/Masthead/index.mdx +0 -23
  3220. package/src/app/Modal/Modal.stories.js +0 -15
  3221. package/src/app/Modal/Modal.stories.playwright.json +0 -53
  3222. package/src/app/Modal/index.mdx +0 -40
  3223. package/src/app/NotFound/index.mdx +0 -18
  3224. package/src/app/Panel/index.mdx +0 -21
  3225. package/src/app/PhaseBannerHeader/index.mdx +0 -20
  3226. package/src/app/QrCodeViewer/index.mdx +0 -30
  3227. package/src/content/Accordion/Accordion.stories.js +0 -14
  3228. package/src/content/Accordion/Accordion.stories.playwright.json +0 -21
  3229. package/src/content/Accordion/index.mdx +0 -45
  3230. package/src/content/Blockquote/index.mdx +0 -24
  3231. package/src/content/Card/Card.stories.js +0 -21
  3232. package/src/content/Card/Card.stories.playwright.json +0 -21
  3233. package/src/content/Card/index.mdx +0 -103
  3234. package/src/content/Chip/index.mdx +0 -53
  3235. package/src/content/Details/Details.stories.playwright.json +0 -27
  3236. package/src/content/Details/index.mdx +0 -27
  3237. package/src/content/List/List.stories.js +0 -15
  3238. package/src/content/List/index.mdx +0 -40
  3239. package/src/content/StepNav/StepNav.stories.playwright.json +0 -33
  3240. package/src/content/StepNav/index.mdx +0 -53
  3241. package/src/content/SummaryList/SummaryList.stories.playwright.json +0 -27
  3242. package/src/content/SummaryList/index.mdx +0 -51
  3243. package/src/content/Table/Table.stories.js +0 -27
  3244. package/src/content/Table/Table.stories.playwright.json +0 -37
  3245. package/src/content/Table/__stories__/Densed.tsx +0 -129
  3246. package/src/content/Table/index.mdx +0 -111
  3247. package/src/content/TaskList/index.mdx +0 -30
  3248. package/src/content/Timeline/index.mdx +0 -33
  3249. package/src/feedback/CopyToClipboard/CopyToClipboard.stories.js +0 -9
  3250. package/src/feedback/CopyToClipboard/CopyToClipboard.stories.playwright.json +0 -53
  3251. package/src/feedback/CopyToClipboard/index.mdx +0 -28
  3252. package/src/feedback/ErrorSummary/ErrorSummary.stories.js +0 -15
  3253. package/src/feedback/ErrorSummary/ErrorSummary.stories.playwright.json +0 -27
  3254. package/src/feedback/ErrorSummary/index.mdx +0 -54
  3255. package/src/feedback/NotificationBanner/NotificationBanner.stories.playwright.json +0 -49
  3256. package/src/feedback/NotificationBanner/index.mdx +0 -47
  3257. package/src/feedback/PhaseBanner/PhaseBanner.stories.js +0 -11
  3258. package/src/feedback/PhaseBanner/PhaseBanner.stories.playwright.json +0 -21
  3259. package/src/feedback/PhaseBanner/index.mdx +0 -37
  3260. package/src/feedback/WarningText/index.mdx +0 -25
  3261. package/src/form/AutoComplete/AutoComplete.stories.js +0 -13
  3262. package/src/form/AutoComplete/__stories__/WithInLine.tsx +0 -21
  3263. package/src/form/AutoComplete/index.mdx +0 -78
  3264. package/src/form/Button/Button.stories.playwright.json +0 -115
  3265. package/src/form/Button/index.mdx +0 -111
  3266. package/src/form/Checkbox/Checkbox.stories.js +0 -19
  3267. package/src/form/Checkbox/Checkbox.stories.playwright.json +0 -55
  3268. package/src/form/Checkbox/index.mdx +0 -83
  3269. package/src/form/DateInputContainer/DateInputContainer.stories.js +0 -14
  3270. package/src/form/DateInputContainer/DateInputContainer.stories.playwright.json +0 -61
  3271. package/src/form/DateInputContainer/index.mdx +0 -46
  3272. package/src/form/ErrorMessage/ErrorMessage.stories.js +0 -12
  3273. package/src/form/ErrorMessage/index.mdx +0 -23
  3274. package/src/form/FileUpload/index.mdx +0 -30
  3275. package/src/form/RadioContainer/RadioContainer.stories.js +0 -19
  3276. package/src/form/RadioContainer/RadioContainer.stories.playwright.json +0 -49
  3277. package/src/form/RadioContainer/index.mdx +0 -84
  3278. package/src/form/SelectContainer/SelectContainer.stories.js +0 -13
  3279. package/src/form/SelectContainer/SelectContainer.stories.playwright.json +0 -21
  3280. package/src/form/SelectContainer/index.mdx +0 -50
  3281. package/src/form/SingleCharacterInputs/SingleCharacterInput.stories.js +0 -13
  3282. package/src/form/SingleCharacterInputs/index.mdx +0 -30
  3283. package/src/form/TextArea/TextArea.stories.js +0 -17
  3284. package/src/form/TextArea/TextArea.stories.playwright.json +0 -59
  3285. package/src/form/TextArea/index.mdx +0 -74
  3286. package/src/form/TextInput/TextInput.stories.js +0 -19
  3287. package/src/form/TextInput/TextInput.stories.playwright.json +0 -43
  3288. package/src/form/TextInput/index.mdx +0 -90
  3289. package/src/govgr/Footer/index.mdx +0 -103
  3290. package/src/layouts/Basic/Bottom/index.mdx +0 -22
  3291. package/src/layouts/Basic/Container/index.mdx +0 -23
  3292. package/src/layouts/Basic/Main/index.mdx +0 -21
  3293. package/src/layouts/Basic/Masthead/index.tsx +0 -5
  3294. package/src/layouts/Basic/Top/index.mdx +0 -23
  3295. package/src/layouts/Basic/index.mdx +0 -42
  3296. package/src/layouts/Grid/Grid.stories.js +0 -9
  3297. package/src/layouts/Grid/index.mdx +0 -39
  3298. package/src/layouts/Stack/Stack.stories.js +0 -12
  3299. package/src/navigation/BackLink/BackLink.stories.playwright.json +0 -21
  3300. package/src/navigation/BackLink/index.mdx +0 -23
  3301. package/src/navigation/Breadcrumbs/Breadcrumbs.stories.playwright.json +0 -33
  3302. package/src/navigation/Breadcrumbs/index.mdx +0 -32
  3303. package/src/navigation/Drawer/index.mdx +0 -14
  3304. package/src/navigation/Dropdown/Dropdown.stories.js +0 -20
  3305. package/src/navigation/Dropdown/Dropdown.stories.playwright.json +0 -69
  3306. package/src/navigation/Dropdown/index.mdx +0 -40
  3307. package/src/navigation/Link/Link.stories.playwright.json +0 -65
  3308. package/src/navigation/Link/index.mdx +0 -50
  3309. package/src/navigation/NavList/NavList.stories.playwright.json +0 -53
  3310. package/src/navigation/NavList/__stories__/NavLinksOneLevel.json +0 -17
  3311. package/src/navigation/NavList/__stories__/NavLinksWithSubmenu.json +0 -36
  3312. package/src/navigation/NavList/index.mdx +0 -60
  3313. package/src/navigation/Pagination/Pagination.stories.playwright.json +0 -27
  3314. package/src/navigation/Pagination/index.mdx +0 -48
  3315. package/src/navigation/Tabs/Tabs.stories.playwright.json +0 -27
  3316. package/src/navigation/Tabs/index.mdx +0 -31
  3317. package/src/test-utils/delay.ts +0 -9
  3318. package/src/typography/Heading/index.mdx +0 -18
  3319. package/src/typography/HeadingCaption/index.mdx +0 -20
  3320. package/src/typography/Hint/index.mdx +0 -26
  3321. package/src/typography/NormalText/index.mdx +0 -44
  3322. package/src/typography/Paragraph/index.mdx +0 -32
  3323. package/src/typography/Typography/index.mdx +0 -12
  3324. package/src/utils/Base/index.mdx +0 -13
  3325. package/src/utils/SvgIcon/index.tsx +0 -5
  3326. package/src/utils/VisuallyHidden/index.mdx +0 -24
  3327. package/test-utils/delay/index.js +0 -27
  3328. package/test-utils/delay/package.json +0 -6
  3329. package/test-utils/delay.d.ts +0 -2
  3330. package/typography/Heading/Heading.stories/index.js +0 -7
  3331. package/typography/Heading/Heading.stories/package.json +0 -6
  3332. package/typography/Heading/__stories__/Default/index.js +0 -23
  3333. package/typography/Heading/__stories__/Default/package.json +0 -6
  3334. package/typography/Heading/index.mdx +0 -18
  3335. package/typography/HeadingCaption/HeadingCaption.stories/index.js +0 -8
  3336. package/typography/HeadingCaption/HeadingCaption.stories/package.json +0 -6
  3337. package/typography/HeadingCaption/__stories__/Default/index.js +0 -28
  3338. package/typography/HeadingCaption/__stories__/Default/package.json +0 -6
  3339. package/typography/HeadingCaption/__stories__/NestedToTitle/index.js +0 -13
  3340. package/typography/HeadingCaption/__stories__/NestedToTitle/package.json +0 -6
  3341. package/typography/HeadingCaption/index.mdx +0 -20
  3342. package/typography/Hint/Hint.stories/index.js +0 -8
  3343. package/typography/Hint/Hint.stories/package.json +0 -6
  3344. package/typography/Hint/__stories__/Default/index.js +0 -7
  3345. package/typography/Hint/__stories__/Default/package.json +0 -6
  3346. package/typography/Hint/__stories__/FontSizes/index.js +0 -16
  3347. package/typography/Hint/__stories__/FontSizes/package.json +0 -6
  3348. package/typography/Hint/index.mdx +0 -26
  3349. package/typography/NormalText/NormalText.stories/index.js +0 -10
  3350. package/typography/NormalText/NormalText.stories/package.json +0 -6
  3351. package/typography/NormalText/__stories__/Default/index.js +0 -7
  3352. package/typography/NormalText/__stories__/Default/package.json +0 -6
  3353. package/typography/NormalText/__stories__/FontSizes/index.js +0 -46
  3354. package/typography/NormalText/__stories__/FontSizes/package.json +0 -6
  3355. package/typography/NormalText/__stories__/FontWeight/index.js +0 -16
  3356. package/typography/NormalText/__stories__/FontWeight/package.json +0 -6
  3357. package/typography/NormalText/__stories__/Variants/index.js +0 -16
  3358. package/typography/NormalText/__stories__/Variants/package.json +0 -6
  3359. package/typography/NormalText/index.mdx +0 -44
  3360. package/typography/Paragraph/Paragraph.stories/index.js +0 -11
  3361. package/typography/Paragraph/Paragraph.stories/package.json +0 -6
  3362. package/typography/Paragraph/__stories__/Default/index.js +0 -7
  3363. package/typography/Paragraph/__stories__/Default/package.json +0 -6
  3364. package/typography/Paragraph/__stories__/FontSizes/index.js +0 -27
  3365. package/typography/Paragraph/__stories__/FontSizes/package.json +0 -6
  3366. package/typography/Paragraph/__stories__/FontWeight/index.js +0 -12
  3367. package/typography/Paragraph/__stories__/FontWeight/package.json +0 -6
  3368. package/typography/Paragraph/__stories__/LeadVariant/index.js +0 -9
  3369. package/typography/Paragraph/__stories__/LeadVariant/package.json +0 -6
  3370. package/typography/Paragraph/__stories__/SmallVariant/index.js +0 -9
  3371. package/typography/Paragraph/__stories__/SmallVariant/package.json +0 -6
  3372. package/typography/Paragraph/index.mdx +0 -32
  3373. package/typography/Typography/index.mdx +0 -12
  3374. package/utils/Base/index.mdx +0 -13
  3375. package/utils/SvgIcon/index.d.ts +0 -4
  3376. package/utils/SvgIcon/index.js +0 -4
  3377. package/utils/SvgIcon/package.json +0 -6
  3378. package/utils/VisuallyHidden/VisuallyHidden.stories/index.js +0 -7
  3379. package/utils/VisuallyHidden/VisuallyHidden.stories/package.json +0 -6
  3380. package/utils/VisuallyHidden/__stories__/Default/index.js +0 -13
  3381. package/utils/VisuallyHidden/__stories__/Default/package.json +0 -6
  3382. package/utils/VisuallyHidden/index.mdx +0 -24
@@ -1,64 +1,17 @@
1
- /* eslint-disable */
2
1
  /**
3
2
  * @license QR Code generator library (TypeScript)
4
3
  * Copyright (c) Project Nayuki.
5
4
  * SPDX-License-Identifier: MIT
6
5
  */
7
-
8
- 'use strict';
9
-
10
- // eslint-disable-next-line @typescript-eslint/no-namespace
11
- import _createClass from "@babel/runtime/helpers/createClass";
12
- import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
13
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
14
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
6
  var qrcodegen;
17
- (function (_qrcodegen) {
18
- /*---- QR Code symbol class ----*/
19
- /*
20
- * A QR Code symbol, which is a type of two-dimension barcode.
21
- * Invented by Denso Wave and described in the ISO/IEC 18004 standard.
22
- * Instances of this class represent an immutable square grid of dark and light cells.
23
- * The class provides static factory functions to create a QR Code from text or binary data.
24
- * The class covers the QR Code Model 2 specification, supporting all versions (sizes)
25
- * from 1 to 40, all 4 error correction levels, and 4 character encoding modes.
26
- *
27
- * Ways to create a QR Code object:
28
- * - High level: Take the payload data and call QrCode.encodeText() or QrCode.encodeBinary().
29
- * - Mid level: Custom-make the list of segments and call QrCode.encodeSegments().
30
- * - Low level: Custom-make the array of data codeword bytes (including
31
- * segment headers and final padding, excluding error correction codewords),
32
- * supply the appropriate version number, and call the QrCode() constructor.
33
- * (Note that all ways require supplying the desired error correction level.)
34
- */
35
- var QrCode = /*#__PURE__*/function () {
7
+ ((qrcodegen2) => {
8
+ class QrCode {
36
9
  /*-- Constructor (low level) and fields --*/
37
-
38
10
  // Creates a new QR Code with the given version number,
39
11
  // error correction level, data codeword bytes, and mask number.
40
12
  // This is a low-level API that most users should not use directly.
41
13
  // A mid-level API is the encodeSegments() function.
42
- function QrCode(
43
- // The version number of this QR Code, which is between 1 and 40 (inclusive).
44
- // This determines the size of this barcode.
45
- version,
46
- // The error correction level used in this QR Code.
47
- errorCorrectionLevel, dataCodewords, msk) {
48
- _classCallCheck(this, QrCode);
49
- /*-- Fields --*/
50
- // The version number of this QR Code, which is between 1 and 40 (inclusive).
51
- // This determines the size of this barcode.
52
- this.version = void 0;
53
- // The error correction level used in this QR Code.
54
- this.errorCorrectionLevel = void 0;
55
- // The width and height of this QR Code, measured in modules, between
56
- // 21 and 177 (inclusive). This is equal to version * 4 + 17.
57
- this.size = void 0;
58
- // The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive).
59
- // Even if a QR Code is created with automatic masking requested (mask = -1),
60
- // the resulting object still has a mask value between 0 and 7.
61
- this.mask = void 0;
14
+ constructor(version, errorCorrectionLevel, dataCodewords, msk) {
62
15
  // The modules of this QR Code (false = light, true = dark).
63
16
  // Immutable after constructor finishes. Accessed through getModule().
64
17
  this.modules = [];
@@ -66,978 +19,1075 @@ var qrcodegen;
66
19
  this.isFunction = [];
67
20
  this.version = version;
68
21
  this.errorCorrectionLevel = errorCorrectionLevel;
69
- // Check scalar arguments
70
- if (version < QrCode.MIN_VERSION || version > QrCode.MAX_VERSION) throw new RangeError('Version value out of range');
71
- if (msk < -1 || msk > 7) throw new RangeError('Mask value out of range');
22
+ if (version < QrCode.MIN_VERSION || version > QrCode.MAX_VERSION)
23
+ throw new RangeError("Version value out of range");
24
+ if (msk < -1 || msk > 7) throw new RangeError("Mask value out of range");
72
25
  this.size = version * 4 + 17;
73
-
74
- // Initialize both grids to be size*size arrays of Boolean false
75
- var row = [];
76
- for (var i = 0; i < this.size; i++) row.push(false);
77
- for (var _i = 0; _i < this.size; _i++) {
78
- this.modules.push(row.slice()); // Initially all light
26
+ const row = [];
27
+ for (let i = 0; i < this.size; i++) row.push(false);
28
+ for (let i = 0; i < this.size; i++) {
29
+ this.modules.push(row.slice());
79
30
  this.isFunction.push(row.slice());
80
31
  }
81
-
82
- // Compute ECC, draw modules
83
32
  this.drawFunctionPatterns();
84
- var allCodewords = this.addEccAndInterleave(dataCodewords);
33
+ const allCodewords = this.addEccAndInterleave(dataCodewords);
85
34
  this.drawCodewords(allCodewords);
86
-
87
- // Do masking
88
35
  if (msk == -1) {
89
- // Automatically choose best mask
90
- var minPenalty = 1000000000;
91
- for (var _i2 = 0; _i2 < 8; _i2++) {
92
- this.applyMask(_i2);
93
- this.drawFormatBits(_i2);
94
- var penalty = this.getPenaltyScore();
36
+ let minPenalty = 1e9;
37
+ for (let i = 0; i < 8; i++) {
38
+ this.applyMask(i);
39
+ this.drawFormatBits(i);
40
+ const penalty = this.getPenaltyScore();
95
41
  if (penalty < minPenalty) {
96
- msk = _i2;
42
+ msk = i;
97
43
  minPenalty = penalty;
98
44
  }
99
- this.applyMask(_i2); // Undoes the mask due to XOR
45
+ this.applyMask(i);
100
46
  }
101
47
  }
102
48
  assert(0 <= msk && msk <= 7);
103
49
  this.mask = msk;
104
- this.applyMask(msk); // Apply the final choice of mask
105
- this.drawFormatBits(msk); // Overwrite old format bits
106
-
50
+ this.applyMask(msk);
51
+ this.drawFormatBits(msk);
107
52
  this.isFunction = [];
108
53
  }
109
-
54
+ /*-- Static factory functions (high level) --*/
55
+ // Returns a QR Code representing the given Unicode text string at the given error correction level.
56
+ // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
57
+ // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
58
+ // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the
59
+ // ecl argument if it can be done without increasing the version.
60
+ static encodeText(text, ecl) {
61
+ const segs = qrcodegen2.QrSegment.makeSegments(text);
62
+ return QrCode.encodeSegments(segs, ecl);
63
+ }
64
+ // Returns a QR Code representing the given binary data at the given error correction level.
65
+ // This function always encodes using the binary segment mode, not any text mode. The maximum number of
66
+ // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.
67
+ // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
68
+ static encodeBinary(data, ecl) {
69
+ const seg = qrcodegen2.QrSegment.makeBytes(data);
70
+ return QrCode.encodeSegments([seg], ecl);
71
+ }
72
+ /*-- Static factory functions (mid level) --*/
73
+ // Returns a QR Code representing the given segments with the given encoding parameters.
74
+ // The smallest possible QR Code version within the given range is automatically
75
+ // chosen for the output. Iff boostEcl is true, then the ECC level of the result
76
+ // may be higher than the ecl argument if it can be done without increasing the
77
+ // version. The mask number is either between 0 to 7 (inclusive) to force that
78
+ // mask, or -1 to automatically choose an appropriate mask (which may be slow).
79
+ // This function allows the user to create a custom sequence of segments that switches
80
+ // between modes (such as alphanumeric and byte) to encode text in less space.
81
+ // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
82
+ static encodeSegments(segs, ecl, minVersion = 1, maxVersion = 40, mask = -1, boostEcl = true) {
83
+ if (!(QrCode.MIN_VERSION <= minVersion && minVersion <= maxVersion && maxVersion <= QrCode.MAX_VERSION) || mask < -1 || mask > 7)
84
+ throw new RangeError("Invalid value");
85
+ let version;
86
+ let dataUsedBits;
87
+ for (version = minVersion; ; version++) {
88
+ const dataCapacityBits2 = QrCode.getNumDataCodewords(version, ecl) * 8;
89
+ const usedBits = QrSegment.getTotalBits(segs, version);
90
+ if (usedBits <= dataCapacityBits2) {
91
+ dataUsedBits = usedBits;
92
+ break;
93
+ }
94
+ if (version >= maxVersion)
95
+ throw new RangeError("Data too long");
96
+ }
97
+ for (const newEcl of [
98
+ QrCode.Ecc.MEDIUM,
99
+ QrCode.Ecc.QUARTILE,
100
+ QrCode.Ecc.HIGH
101
+ ]) {
102
+ if (boostEcl && dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8)
103
+ ecl = newEcl;
104
+ }
105
+ const bb = [];
106
+ for (const seg of segs) {
107
+ appendBits(seg.mode.modeBits, 4, bb);
108
+ appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);
109
+ for (const b of seg.getData()) bb.push(b);
110
+ }
111
+ assert(bb.length == dataUsedBits);
112
+ const dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8;
113
+ assert(bb.length <= dataCapacityBits);
114
+ appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);
115
+ appendBits(0, (8 - bb.length % 8) % 8, bb);
116
+ assert(bb.length % 8 == 0);
117
+ for (let padByte = 236; bb.length < dataCapacityBits; padByte ^= 236 ^ 17)
118
+ appendBits(padByte, 8, bb);
119
+ const dataCodewords = [];
120
+ while (dataCodewords.length * 8 < bb.length) dataCodewords.push(0);
121
+ bb.forEach(
122
+ (b, i) => dataCodewords[i >>> 3] |= b << 7 - (i & 7)
123
+ );
124
+ return new QrCode(version, ecl, dataCodewords, mask);
125
+ }
110
126
  /*-- Accessor methods --*/
111
-
112
127
  // Returns the color of the module (pixel) at the given coordinates, which is false
113
128
  // for light or true for dark. The top left corner has the coordinates (x=0, y=0).
114
129
  // If the given coordinates are out of bounds, then false (light) is returned.
115
- _createClass(QrCode, [{
116
- key: "getModule",
117
- value: function getModule(x, y) {
118
- return 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x];
119
- }
120
-
121
- // Modified to expose modules for easy access
122
- }, {
123
- key: "getModules",
124
- value: function getModules() {
125
- return this.modules;
130
+ getModule(x, y) {
131
+ return 0 <= x && x < this.size && 0 <= y && y < this.size && this.modules[y][x];
132
+ }
133
+ // Modified to expose modules for easy access
134
+ getModules() {
135
+ return this.modules;
136
+ }
137
+ /*-- Private helper methods for constructor: Drawing function modules --*/
138
+ // Reads this object's version field, and draws and marks all function modules.
139
+ drawFunctionPatterns() {
140
+ for (let i = 0; i < this.size; i++) {
141
+ this.setFunctionModule(6, i, i % 2 == 0);
142
+ this.setFunctionModule(i, 6, i % 2 == 0);
126
143
  }
127
-
128
- /*-- Private helper methods for constructor: Drawing function modules --*/
129
-
130
- // Reads this object's version field, and draws and marks all function modules.
131
- }, {
132
- key: "drawFunctionPatterns",
133
- value: function drawFunctionPatterns() {
134
- // Draw horizontal and vertical timing patterns
135
- for (var i = 0; i < this.size; i++) {
136
- this.setFunctionModule(6, i, i % 2 == 0);
137
- this.setFunctionModule(i, 6, i % 2 == 0);
138
- }
139
-
140
- // Draw 3 finder patterns (all corners except bottom right; overwrites some timing modules)
141
- this.drawFinderPattern(3, 3);
142
- this.drawFinderPattern(this.size - 4, 3);
143
- this.drawFinderPattern(3, this.size - 4);
144
-
145
- // Draw numerous alignment patterns
146
- var alignPatPos = this.getAlignmentPatternPositions();
147
- var numAlign = alignPatPos.length;
148
- for (var _i3 = 0; _i3 < numAlign; _i3++) {
149
- for (var j = 0; j < numAlign; j++) {
150
- // Don't draw on the three finder corners
151
- if (!(_i3 == 0 && j == 0 || _i3 == 0 && j == numAlign - 1 || _i3 == numAlign - 1 && j == 0)) this.drawAlignmentPattern(alignPatPos[_i3], alignPatPos[j]);
152
- }
144
+ this.drawFinderPattern(3, 3);
145
+ this.drawFinderPattern(this.size - 4, 3);
146
+ this.drawFinderPattern(3, this.size - 4);
147
+ const alignPatPos = this.getAlignmentPatternPositions();
148
+ const numAlign = alignPatPos.length;
149
+ for (let i = 0; i < numAlign; i++) {
150
+ for (let j = 0; j < numAlign; j++) {
151
+ if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0))
152
+ this.drawAlignmentPattern(alignPatPos[i], alignPatPos[j]);
153
153
  }
154
-
155
- // Draw configuration data
156
- this.drawFormatBits(0); // Dummy mask value; overwritten later in the constructor
157
- this.drawVersion();
158
154
  }
159
-
160
- // Draws two copies of the format bits (with its own error correction code)
161
- // based on the given mask and this object's error correction level field.
162
- }, {
163
- key: "drawFormatBits",
164
- value: function drawFormatBits(mask) {
165
- // Calculate error correction code and pack bits
166
- var data = this.errorCorrectionLevel.formatBits << 3 | mask; // errCorrLvl is uint2, mask is uint3
167
- var rem = data;
168
- for (var i = 0; i < 10; i++) rem = rem << 1 ^ (rem >>> 9) * 0x537;
169
- var bits = (data << 10 | rem) ^ 0x5412; // uint15
170
- assert(bits >>> 15 == 0);
171
-
172
- // Draw first copy
173
- for (var _i4 = 0; _i4 <= 5; _i4++) this.setFunctionModule(8, _i4, getBit(bits, _i4));
174
- this.setFunctionModule(8, 7, getBit(bits, 6));
175
- this.setFunctionModule(8, 8, getBit(bits, 7));
176
- this.setFunctionModule(7, 8, getBit(bits, 8));
177
- for (var _i5 = 9; _i5 < 15; _i5++) this.setFunctionModule(14 - _i5, 8, getBit(bits, _i5));
178
-
179
- // Draw second copy
180
- for (var _i6 = 0; _i6 < 8; _i6++) this.setFunctionModule(this.size - 1 - _i6, 8, getBit(bits, _i6));
181
- for (var _i7 = 8; _i7 < 15; _i7++) this.setFunctionModule(8, this.size - 15 + _i7, getBit(bits, _i7));
182
- this.setFunctionModule(8, this.size - 8, true); // Always dark
183
- }
184
-
185
- // Draws two copies of the version bits (with its own error correction code),
186
- // based on this object's version field, iff 7 <= version <= 40.
187
- }, {
188
- key: "drawVersion",
189
- value: function drawVersion() {
190
- if (this.version < 7) return;
191
-
192
- // Calculate error correction code and pack bits
193
- var rem = this.version; // version is uint6, in the range [7, 40]
194
- for (var i = 0; i < 12; i++) rem = rem << 1 ^ (rem >>> 11) * 0x1f25;
195
- var bits = this.version << 12 | rem; // uint18
196
- assert(bits >>> 18 == 0);
197
-
198
- // Draw two copies
199
- for (var _i8 = 0; _i8 < 18; _i8++) {
200
- var color = getBit(bits, _i8);
201
- var a = this.size - 11 + _i8 % 3;
202
- var b = Math.floor(_i8 / 3);
203
- this.setFunctionModule(a, b, color);
204
- this.setFunctionModule(b, a, color);
205
- }
155
+ this.drawFormatBits(0);
156
+ this.drawVersion();
157
+ }
158
+ // Draws two copies of the format bits (with its own error correction code)
159
+ // based on the given mask and this object's error correction level field.
160
+ drawFormatBits(mask) {
161
+ const data = this.errorCorrectionLevel.formatBits << 3 | mask;
162
+ let rem = data;
163
+ for (let i = 0; i < 10; i++) rem = rem << 1 ^ (rem >>> 9) * 1335;
164
+ const bits = (data << 10 | rem) ^ 21522;
165
+ assert(bits >>> 15 == 0);
166
+ for (let i = 0; i <= 5; i++)
167
+ this.setFunctionModule(8, i, getBit(bits, i));
168
+ this.setFunctionModule(8, 7, getBit(bits, 6));
169
+ this.setFunctionModule(8, 8, getBit(bits, 7));
170
+ this.setFunctionModule(7, 8, getBit(bits, 8));
171
+ for (let i = 9; i < 15; i++)
172
+ this.setFunctionModule(14 - i, 8, getBit(bits, i));
173
+ for (let i = 0; i < 8; i++)
174
+ this.setFunctionModule(this.size - 1 - i, 8, getBit(bits, i));
175
+ for (let i = 8; i < 15; i++)
176
+ this.setFunctionModule(8, this.size - 15 + i, getBit(bits, i));
177
+ this.setFunctionModule(8, this.size - 8, true);
178
+ }
179
+ // Draws two copies of the version bits (with its own error correction code),
180
+ // based on this object's version field, iff 7 <= version <= 40.
181
+ drawVersion() {
182
+ if (this.version < 7) return;
183
+ let rem = this.version;
184
+ for (let i = 0; i < 12; i++) rem = rem << 1 ^ (rem >>> 11) * 7973;
185
+ const bits = this.version << 12 | rem;
186
+ assert(bits >>> 18 == 0);
187
+ for (let i = 0; i < 18; i++) {
188
+ const color = getBit(bits, i);
189
+ const a = this.size - 11 + i % 3;
190
+ const b = Math.floor(i / 3);
191
+ this.setFunctionModule(a, b, color);
192
+ this.setFunctionModule(b, a, color);
206
193
  }
207
-
208
- // Draws a 9*9 finder pattern including the border separator,
209
- // with the center module at (x, y). Modules can be out of bounds.
210
- }, {
211
- key: "drawFinderPattern",
212
- value: function drawFinderPattern(x, y) {
213
- for (var dy = -4; dy <= 4; dy++) {
214
- for (var dx = -4; dx <= 4; dx++) {
215
- var dist = Math.max(Math.abs(dx), Math.abs(dy)); // Chebyshev/infinity norm
216
- var xx = x + dx;
217
- var yy = y + dy;
218
- if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size) this.setFunctionModule(xx, yy, dist != 2 && dist != 4);
219
- }
194
+ }
195
+ // Draws a 9*9 finder pattern including the border separator,
196
+ // with the center module at (x, y). Modules can be out of bounds.
197
+ drawFinderPattern(x, y) {
198
+ for (let dy = -4; dy <= 4; dy++) {
199
+ for (let dx = -4; dx <= 4; dx++) {
200
+ const dist = Math.max(Math.abs(dx), Math.abs(dy));
201
+ const xx = x + dx;
202
+ const yy = y + dy;
203
+ if (0 <= xx && xx < this.size && 0 <= yy && yy < this.size)
204
+ this.setFunctionModule(xx, yy, dist != 2 && dist != 4);
220
205
  }
221
206
  }
222
-
223
- // Draws a 5*5 alignment pattern, with the center module
224
- // at (x, y). All modules must be in bounds.
225
- }, {
226
- key: "drawAlignmentPattern",
227
- value: function drawAlignmentPattern(x, y) {
228
- for (var dy = -2; dy <= 2; dy++) {
229
- for (var dx = -2; dx <= 2; dx++) this.setFunctionModule(x + dx, y + dy, Math.max(Math.abs(dx), Math.abs(dy)) != 1);
230
- }
207
+ }
208
+ // Draws a 5*5 alignment pattern, with the center module
209
+ // at (x, y). All modules must be in bounds.
210
+ drawAlignmentPattern(x, y) {
211
+ for (let dy = -2; dy <= 2; dy++) {
212
+ for (let dx = -2; dx <= 2; dx++)
213
+ this.setFunctionModule(
214
+ x + dx,
215
+ y + dy,
216
+ Math.max(Math.abs(dx), Math.abs(dy)) != 1
217
+ );
231
218
  }
232
-
233
- // Sets the color of a module and marks it as a function module.
234
- // Only used by the constructor. Coordinates must be in bounds.
235
- }, {
236
- key: "setFunctionModule",
237
- value: function setFunctionModule(x, y, isDark) {
238
- this.modules[y][x] = isDark;
239
- this.isFunction[y][x] = true;
219
+ }
220
+ // Sets the color of a module and marks it as a function module.
221
+ // Only used by the constructor. Coordinates must be in bounds.
222
+ setFunctionModule(x, y, isDark) {
223
+ this.modules[y][x] = isDark;
224
+ this.isFunction[y][x] = true;
225
+ }
226
+ /*-- Private helper methods for constructor: Codewords and masking --*/
227
+ // Returns a new byte string representing the given data with the appropriate error correction
228
+ // codewords appended to it, based on this object's version and error correction level.
229
+ addEccAndInterleave(data) {
230
+ const ver = this.version;
231
+ const ecl = this.errorCorrectionLevel;
232
+ if (data.length != QrCode.getNumDataCodewords(ver, ecl))
233
+ throw new RangeError("Invalid argument");
234
+ const numBlocks = QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];
235
+ const blockEccLen = QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];
236
+ const rawCodewords = Math.floor(
237
+ QrCode.getNumRawDataModules(ver) / 8
238
+ );
239
+ const numShortBlocks = numBlocks - rawCodewords % numBlocks;
240
+ const shortBlockLen = Math.floor(rawCodewords / numBlocks);
241
+ const blocks = [];
242
+ const rsDiv = QrCode.reedSolomonComputeDivisor(blockEccLen);
243
+ for (let i = 0, k = 0; i < numBlocks; i++) {
244
+ const dat = data.slice(
245
+ k,
246
+ k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1)
247
+ );
248
+ k += dat.length;
249
+ const ecc = QrCode.reedSolomonComputeRemainder(dat, rsDiv);
250
+ if (i < numShortBlocks) dat.push(0);
251
+ blocks.push(dat.concat(ecc));
240
252
  }
241
-
242
- /*-- Private helper methods for constructor: Codewords and masking --*/
243
-
244
- // Returns a new byte string representing the given data with the appropriate error correction
245
- // codewords appended to it, based on this object's version and error correction level.
246
- }, {
247
- key: "addEccAndInterleave",
248
- value: function addEccAndInterleave(data) {
249
- var ver = this.version;
250
- var ecl = this.errorCorrectionLevel;
251
- if (data.length != QrCode.getNumDataCodewords(ver, ecl)) throw new RangeError('Invalid argument');
252
-
253
- // Calculate parameter numbers
254
- var numBlocks = QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];
255
- var blockEccLen = QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver];
256
- var rawCodewords = Math.floor(QrCode.getNumRawDataModules(ver) / 8);
257
- var numShortBlocks = numBlocks - rawCodewords % numBlocks;
258
- var shortBlockLen = Math.floor(rawCodewords / numBlocks);
259
-
260
- // Split data into blocks and append ECC to each block
261
- var blocks = [];
262
- var rsDiv = QrCode.reedSolomonComputeDivisor(blockEccLen);
263
- for (var i = 0, k = 0; i < numBlocks; i++) {
264
- var dat = data.slice(k, k + shortBlockLen - blockEccLen + (i < numShortBlocks ? 0 : 1));
265
- k += dat.length;
266
- var ecc = QrCode.reedSolomonComputeRemainder(dat, rsDiv);
267
- if (i < numShortBlocks) dat.push(0);
268
- blocks.push(dat.concat(ecc));
269
- }
270
-
271
- // Interleave (not concatenate) the bytes from every block into a single sequence
272
- var result = [];
273
- var _loop = function _loop(_i9) {
274
- blocks.forEach(function (block, j) {
275
- // Skip the padding byte in short blocks
276
- if (_i9 != shortBlockLen - blockEccLen || j >= numShortBlocks) result.push(block[_i9]);
277
- });
278
- };
279
- for (var _i9 = 0; _i9 < blocks[0].length; _i9++) {
280
- _loop(_i9);
281
- }
282
- assert(result.length == rawCodewords);
283
- return result;
253
+ const result = [];
254
+ for (let i = 0; i < blocks[0].length; i++) {
255
+ blocks.forEach((block, j) => {
256
+ if (i != shortBlockLen - blockEccLen || j >= numShortBlocks)
257
+ result.push(block[i]);
258
+ });
284
259
  }
285
-
286
- // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
287
- // data area of this QR Code. Function modules need to be marked off before this is called.
288
- }, {
289
- key: "drawCodewords",
290
- value: function drawCodewords(data) {
291
- if (data.length != Math.floor(QrCode.getNumRawDataModules(this.version) / 8)) throw new RangeError('Invalid argument');
292
- var i = 0; // Bit index into the data
293
- // Do the funny zigzag scan
294
- for (var right = this.size - 1; right >= 1; right -= 2) {
295
- // Index of right column in each column pair
296
- if (right == 6) right = 5;
297
- for (var vert = 0; vert < this.size; vert++) {
298
- // Vertical counter
299
- for (var j = 0; j < 2; j++) {
300
- var x = right - j; // Actual x coordinate
301
- var upward = (right + 1 & 2) == 0;
302
- var y = upward ? this.size - 1 - vert : vert; // Actual y coordinate
303
- if (!this.isFunction[y][x] && i < data.length * 8) {
304
- this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));
305
- i++;
306
- }
307
- // If this QR Code has any remainder bits (0 to 7), they were assigned as
308
- // 0/false/light by the constructor and are left unchanged by this method
260
+ assert(result.length == rawCodewords);
261
+ return result;
262
+ }
263
+ // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
264
+ // data area of this QR Code. Function modules need to be marked off before this is called.
265
+ drawCodewords(data) {
266
+ if (data.length != Math.floor(QrCode.getNumRawDataModules(this.version) / 8))
267
+ throw new RangeError("Invalid argument");
268
+ let i = 0;
269
+ for (let right = this.size - 1; right >= 1; right -= 2) {
270
+ if (right == 6) right = 5;
271
+ for (let vert = 0; vert < this.size; vert++) {
272
+ for (let j = 0; j < 2; j++) {
273
+ const x = right - j;
274
+ const upward = (right + 1 & 2) == 0;
275
+ const y = upward ? this.size - 1 - vert : vert;
276
+ if (!this.isFunction[y][x] && i < data.length * 8) {
277
+ this.modules[y][x] = getBit(data[i >>> 3], 7 - (i & 7));
278
+ i++;
309
279
  }
310
280
  }
311
281
  }
312
- assert(i == data.length * 8);
313
282
  }
314
-
315
- // XORs the codeword modules in this QR Code with the given mask pattern.
316
- // The function modules must be marked and the codeword bits must be drawn
317
- // before masking. Due to the arithmetic of XOR, calling applyMask() with
318
- // the same mask value a second time will undo the mask. A final well-formed
319
- // QR Code needs exactly one (not zero, two, etc.) mask applied.
320
- }, {
321
- key: "applyMask",
322
- value: function applyMask(mask) {
323
- if (mask < 0 || mask > 7) throw new RangeError('Mask value out of range');
324
- for (var y = 0; y < this.size; y++) {
325
- for (var x = 0; x < this.size; x++) {
326
- var invert = void 0;
327
- switch (mask) {
328
- case 0:
329
- invert = (x + y) % 2 == 0;
330
- break;
331
- case 1:
332
- invert = y % 2 == 0;
333
- break;
334
- case 2:
335
- invert = x % 3 == 0;
336
- break;
337
- case 3:
338
- invert = (x + y) % 3 == 0;
339
- break;
340
- case 4:
341
- invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;
342
- break;
343
- case 5:
344
- invert = x * y % 2 + x * y % 3 == 0;
345
- break;
346
- case 6:
347
- invert = (x * y % 2 + x * y % 3) % 2 == 0;
348
- break;
349
- case 7:
350
- invert = ((x + y) % 2 + x * y % 3) % 2 == 0;
351
- break;
352
- default:
353
- throw new Error('Unreachable');
354
- }
355
- if (!this.isFunction[y][x] && invert) this.modules[y][x] = !this.modules[y][x];
283
+ assert(i == data.length * 8);
284
+ }
285
+ // XORs the codeword modules in this QR Code with the given mask pattern.
286
+ // The function modules must be marked and the codeword bits must be drawn
287
+ // before masking. Due to the arithmetic of XOR, calling applyMask() with
288
+ // the same mask value a second time will undo the mask. A final well-formed
289
+ // QR Code needs exactly one (not zero, two, etc.) mask applied.
290
+ applyMask(mask) {
291
+ if (mask < 0 || mask > 7) throw new RangeError("Mask value out of range");
292
+ for (let y = 0; y < this.size; y++) {
293
+ for (let x = 0; x < this.size; x++) {
294
+ let invert;
295
+ switch (mask) {
296
+ case 0:
297
+ invert = (x + y) % 2 == 0;
298
+ break;
299
+ case 1:
300
+ invert = y % 2 == 0;
301
+ break;
302
+ case 2:
303
+ invert = x % 3 == 0;
304
+ break;
305
+ case 3:
306
+ invert = (x + y) % 3 == 0;
307
+ break;
308
+ case 4:
309
+ invert = (Math.floor(x / 3) + Math.floor(y / 2)) % 2 == 0;
310
+ break;
311
+ case 5:
312
+ invert = x * y % 2 + x * y % 3 == 0;
313
+ break;
314
+ case 6:
315
+ invert = (x * y % 2 + x * y % 3) % 2 == 0;
316
+ break;
317
+ case 7:
318
+ invert = ((x + y) % 2 + x * y % 3) % 2 == 0;
319
+ break;
320
+ default:
321
+ throw new Error("Unreachable");
356
322
  }
323
+ if (!this.isFunction[y][x] && invert)
324
+ this.modules[y][x] = !this.modules[y][x];
357
325
  }
358
326
  }
359
-
360
- // Calculates and returns the penalty score based on state of this QR Code's current modules.
361
- // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
362
- }, {
363
- key: "getPenaltyScore",
364
- value: function getPenaltyScore() {
365
- var result = 0;
366
-
367
- // Adjacent modules in row having same color, and finder-like patterns
368
- for (var y = 0; y < this.size; y++) {
369
- var runColor = false;
370
- var runX = 0;
371
- var runHistory = [0, 0, 0, 0, 0, 0, 0];
372
- for (var x = 0; x < this.size; x++) {
373
- if (this.modules[y][x] == runColor) {
374
- runX++;
375
- if (runX == 5) result += QrCode.PENALTY_N1;else if (runX > 5) result++;
376
- } else {
377
- this.finderPenaltyAddHistory(runX, runHistory);
378
- if (!runColor) result += this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;
379
- runColor = this.modules[y][x];
380
- runX = 1;
381
- }
382
- }
383
- result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * QrCode.PENALTY_N3;
384
- }
385
- // Adjacent modules in column having same color, and finder-like patterns
386
- for (var _x = 0; _x < this.size; _x++) {
387
- var _runColor = false;
388
- var runY = 0;
389
- var _runHistory = [0, 0, 0, 0, 0, 0, 0];
390
- for (var _y = 0; _y < this.size; _y++) {
391
- if (this.modules[_y][_x] == _runColor) {
392
- runY++;
393
- if (runY == 5) result += QrCode.PENALTY_N1;else if (runY > 5) result++;
394
- } else {
395
- this.finderPenaltyAddHistory(runY, _runHistory);
396
- if (!_runColor) result += this.finderPenaltyCountPatterns(_runHistory) * QrCode.PENALTY_N3;
397
- _runColor = this.modules[_y][_x];
398
- runY = 1;
399
- }
400
- }
401
- result += this.finderPenaltyTerminateAndCount(_runColor, runY, _runHistory) * QrCode.PENALTY_N3;
402
- }
403
-
404
- // 2*2 blocks of modules having same color
405
- for (var _y2 = 0; _y2 < this.size - 1; _y2++) {
406
- for (var _x2 = 0; _x2 < this.size - 1; _x2++) {
407
- var color = this.modules[_y2][_x2];
408
- if (color == this.modules[_y2][_x2 + 1] && color == this.modules[_y2 + 1][_x2] && color == this.modules[_y2 + 1][_x2 + 1]) result += QrCode.PENALTY_N2;
409
- }
410
- }
411
-
412
- // Balance of dark and light modules
413
- var dark = 0;
414
- var _iterator = _createForOfIteratorHelper(this.modules),
415
- _step;
416
- try {
417
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
418
- var row = _step.value;
419
- dark = row.reduce(function (sum, color) {
420
- return sum + (color ? 1 : 0);
421
- }, dark);
327
+ }
328
+ // Calculates and returns the penalty score based on state of this QR Code's current modules.
329
+ // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
330
+ getPenaltyScore() {
331
+ let result = 0;
332
+ for (let y = 0; y < this.size; y++) {
333
+ let runColor = false;
334
+ let runX = 0;
335
+ const runHistory = [0, 0, 0, 0, 0, 0, 0];
336
+ for (let x = 0; x < this.size; x++) {
337
+ if (this.modules[y][x] == runColor) {
338
+ runX++;
339
+ if (runX == 5) result += QrCode.PENALTY_N1;
340
+ else if (runX > 5) result++;
341
+ } else {
342
+ this.finderPenaltyAddHistory(runX, runHistory);
343
+ if (!runColor)
344
+ result += this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;
345
+ runColor = this.modules[y][x];
346
+ runX = 1;
422
347
  }
423
- } catch (err) {
424
- _iterator.e(err);
425
- } finally {
426
- _iterator.f();
427
- }
428
- var total = this.size * this.size; // Note that size is odd, so dark/total != 1/2
429
- // Compute the smallest integer k >= 0 such that (45-5k)% <= dark/total <= (55+5k)%
430
- var k = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;
431
- assert(0 <= k && k <= 9);
432
- result += k * QrCode.PENALTY_N4;
433
- assert(0 <= result && result <= 2568888); // Non-tight upper bound based on default values of PENALTY_N1, ..., N4
434
- return result;
435
- }
436
-
437
- /*-- Private helper functions --*/
438
-
439
- // Returns an ascending list of positions of alignment patterns for this version number.
440
- // Each position is in the range [0,177), and are used on both the x and y axes.
441
- // This could be implemented as lookup table of 40 variable-length lists of integers.
442
- }, {
443
- key: "getAlignmentPatternPositions",
444
- value: function getAlignmentPatternPositions() {
445
- if (this.version == 1) return [];else {
446
- var numAlign = Math.floor(this.version / 7) + 2;
447
- var step = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;
448
- var result = [6];
449
- for (var pos = this.size - 7; result.length < numAlign; pos -= step) result.splice(1, 0, pos);
450
- return result;
451
- }
452
- }
453
-
454
- // Returns the number of data bits that can be stored in a QR Code of the given version number, after
455
- // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
456
- // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
457
- }, {
458
- key: "finderPenaltyCountPatterns",
459
- value:
460
- // Can only be called immediately after a light run is added, and
461
- // returns either 0, 1, or 2. A helper function for getPenaltyScore().
462
- function finderPenaltyCountPatterns(runHistory) {
463
- var n = runHistory[1];
464
- assert(n <= this.size * 3);
465
- var core = n > 0 && runHistory[2] == n && runHistory[3] == n * 3 && runHistory[4] == n && runHistory[5] == n;
466
- return (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) + (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0);
467
- }
468
-
469
- // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().
470
- }, {
471
- key: "finderPenaltyTerminateAndCount",
472
- value: function finderPenaltyTerminateAndCount(currentRunColor, currentRunLength, runHistory) {
473
- if (currentRunColor) {
474
- // Terminate dark run
475
- this.finderPenaltyAddHistory(currentRunLength, runHistory);
476
- currentRunLength = 0;
477
348
  }
478
- currentRunLength += this.size; // Add light border to final run
479
- this.finderPenaltyAddHistory(currentRunLength, runHistory);
480
- return this.finderPenaltyCountPatterns(runHistory);
481
- }
482
-
483
- // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
484
- }, {
485
- key: "finderPenaltyAddHistory",
486
- value: function finderPenaltyAddHistory(currentRunLength, runHistory) {
487
- if (runHistory[0] == 0) currentRunLength += this.size; // Add light border to initial run
488
- runHistory.pop();
489
- runHistory.unshift(currentRunLength);
349
+ result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * QrCode.PENALTY_N3;
490
350
  }
491
-
492
- /*-- Constants and tables --*/
493
-
494
- // The minimum version number supported in the QR Code Model 2 standard.
495
- }], [{
496
- key: "encodeText",
497
- value: /*-- Static factory functions (high level) --*/
498
-
499
- // Returns a QR Code representing the given Unicode text string at the given error correction level.
500
- // As a conservative upper bound, this function is guaranteed to succeed for strings that have 738 or fewer
501
- // Unicode code points (not UTF-16 code units) if the low error correction level is used. The smallest possible
502
- // QR Code version is automatically chosen for the output. The ECC level of the result may be higher than the
503
- // ecl argument if it can be done without increasing the version.
504
- function encodeText(text, ecl) {
505
- var segs = qrcodegen.QrSegment.makeSegments(text);
506
- return QrCode.encodeSegments(segs, ecl);
507
- }
508
-
509
- // Returns a QR Code representing the given binary data at the given error correction level.
510
- // This function always encodes using the binary segment mode, not any text mode. The maximum number of
511
- // bytes allowed is 2953. The smallest possible QR Code version is automatically chosen for the output.
512
- // The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
513
- }, {
514
- key: "encodeBinary",
515
- value: function encodeBinary(data, ecl) {
516
- var seg = qrcodegen.QrSegment.makeBytes(data);
517
- return QrCode.encodeSegments([seg], ecl);
518
- }
519
-
520
- /*-- Static factory functions (mid level) --*/
521
-
522
- // Returns a QR Code representing the given segments with the given encoding parameters.
523
- // The smallest possible QR Code version within the given range is automatically
524
- // chosen for the output. Iff boostEcl is true, then the ECC level of the result
525
- // may be higher than the ecl argument if it can be done without increasing the
526
- // version. The mask number is either between 0 to 7 (inclusive) to force that
527
- // mask, or -1 to automatically choose an appropriate mask (which may be slow).
528
- // This function allows the user to create a custom sequence of segments that switches
529
- // between modes (such as alphanumeric and byte) to encode text in less space.
530
- // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
531
- }, {
532
- key: "encodeSegments",
533
- value: function encodeSegments(segs, ecl) {
534
- var minVersion = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
535
- var maxVersion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 40;
536
- var mask = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : -1;
537
- var boostEcl = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;
538
- if (!(QrCode.MIN_VERSION <= minVersion && minVersion <= maxVersion && maxVersion <= QrCode.MAX_VERSION) || mask < -1 || mask > 7) throw new RangeError('Invalid value');
539
-
540
- // Find the minimal version number to use
541
- var version;
542
- var dataUsedBits;
543
- for (version = minVersion;; version++) {
544
- var _dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits available
545
- var usedBits = QrSegment.getTotalBits(segs, version);
546
- if (usedBits <= _dataCapacityBits) {
547
- dataUsedBits = usedBits;
548
- break; // This version number is found to be suitable
549
- }
550
- if (version >= maxVersion)
551
- // All versions in the range could not fit the given data
552
- throw new RangeError('Data too long');
553
- }
554
-
555
- // Increase the error correction level while the data still fits in the current version number
556
- for (var _i10 = 0, _arr = [QrCode.Ecc.MEDIUM, QrCode.Ecc.QUARTILE, QrCode.Ecc.HIGH]; _i10 < _arr.length; _i10++) {
557
- var newEcl = _arr[_i10];
558
- // From low to high
559
- if (boostEcl && dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8) ecl = newEcl;
560
- }
561
-
562
- // Concatenate all segments to create the data bit string
563
- var bb = [];
564
- var _iterator2 = _createForOfIteratorHelper(segs),
565
- _step2;
566
- try {
567
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
568
- var seg = _step2.value;
569
- appendBits(seg.mode.modeBits, 4, bb);
570
- appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);
571
- var _iterator3 = _createForOfIteratorHelper(seg.getData()),
572
- _step3;
573
- try {
574
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
575
- var b = _step3.value;
576
- bb.push(b);
577
- }
578
- } catch (err) {
579
- _iterator3.e(err);
580
- } finally {
581
- _iterator3.f();
582
- }
351
+ for (let x = 0; x < this.size; x++) {
352
+ let runColor = false;
353
+ let runY = 0;
354
+ const runHistory = [0, 0, 0, 0, 0, 0, 0];
355
+ for (let y = 0; y < this.size; y++) {
356
+ if (this.modules[y][x] == runColor) {
357
+ runY++;
358
+ if (runY == 5) result += QrCode.PENALTY_N1;
359
+ else if (runY > 5) result++;
360
+ } else {
361
+ this.finderPenaltyAddHistory(runY, runHistory);
362
+ if (!runColor)
363
+ result += this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3;
364
+ runColor = this.modules[y][x];
365
+ runY = 1;
583
366
  }
584
- } catch (err) {
585
- _iterator2.e(err);
586
- } finally {
587
- _iterator2.f();
588
367
  }
589
- assert(bb.length == dataUsedBits);
590
-
591
- // Add terminator and pad up to a byte if applicable
592
- var dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8;
593
- assert(bb.length <= dataCapacityBits);
594
- appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb);
595
- appendBits(0, (8 - bb.length % 8) % 8, bb);
596
- assert(bb.length % 8 == 0);
597
-
598
- // Pad with alternating bytes until data capacity is reached
599
- for (var padByte = 0xec; bb.length < dataCapacityBits; padByte ^= 0xec ^ 0x11) appendBits(padByte, 8, bb);
600
-
601
- // Pack bits into bytes in big endian
602
- var dataCodewords = [];
603
- while (dataCodewords.length * 8 < bb.length) dataCodewords.push(0);
604
- bb.forEach(function (b, i) {
605
- return dataCodewords[i >>> 3] |= b << 7 - (i & 7);
606
- });
607
-
608
- // Create the QR Code object
609
- return new QrCode(version, ecl, dataCodewords, mask);
368
+ result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * QrCode.PENALTY_N3;
610
369
  }
611
- }, {
612
- key: "getNumRawDataModules",
613
- value: function getNumRawDataModules(ver) {
614
- if (ver < QrCode.MIN_VERSION || ver > QrCode.MAX_VERSION) throw new RangeError('Version number out of range');
615
- var result = (16 * ver + 128) * ver + 64;
616
- if (ver >= 2) {
617
- var numAlign = Math.floor(ver / 7) + 2;
618
- result -= (25 * numAlign - 10) * numAlign - 55;
619
- if (ver >= 7) result -= 36;
370
+ for (let y = 0; y < this.size - 1; y++) {
371
+ for (let x = 0; x < this.size - 1; x++) {
372
+ const color = this.modules[y][x];
373
+ if (color == this.modules[y][x + 1] && color == this.modules[y + 1][x] && color == this.modules[y + 1][x + 1])
374
+ result += QrCode.PENALTY_N2;
620
375
  }
621
- assert(208 <= result && result <= 29648);
376
+ }
377
+ let dark = 0;
378
+ for (const row of this.modules)
379
+ dark = row.reduce((sum, color) => sum + (color ? 1 : 0), dark);
380
+ const total = this.size * this.size;
381
+ const k = Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1;
382
+ assert(0 <= k && k <= 9);
383
+ result += k * QrCode.PENALTY_N4;
384
+ assert(0 <= result && result <= 2568888);
385
+ return result;
386
+ }
387
+ /*-- Private helper functions --*/
388
+ // Returns an ascending list of positions of alignment patterns for this version number.
389
+ // Each position is in the range [0,177), and are used on both the x and y axes.
390
+ // This could be implemented as lookup table of 40 variable-length lists of integers.
391
+ getAlignmentPatternPositions() {
392
+ if (this.version == 1) return [];
393
+ else {
394
+ const numAlign = Math.floor(this.version / 7) + 2;
395
+ const step = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;
396
+ const result = [6];
397
+ for (let pos = this.size - 7; result.length < numAlign; pos -= step)
398
+ result.splice(1, 0, pos);
622
399
  return result;
623
400
  }
624
-
625
- // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any
626
- // QR Code of the given version number and error correction level, with remainder bits discarded.
627
- // This stateless pure function could be implemented as a (40*4)-cell lookup table.
628
- }, {
629
- key: "getNumDataCodewords",
630
- value: function getNumDataCodewords(ver, ecl) {
631
- return Math.floor(QrCode.getNumRawDataModules(ver) / 8) - QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] * QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];
401
+ }
402
+ // Returns the number of data bits that can be stored in a QR Code of the given version number, after
403
+ // all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
404
+ // The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
405
+ static getNumRawDataModules(ver) {
406
+ if (ver < QrCode.MIN_VERSION || ver > QrCode.MAX_VERSION)
407
+ throw new RangeError("Version number out of range");
408
+ let result = (16 * ver + 128) * ver + 64;
409
+ if (ver >= 2) {
410
+ const numAlign = Math.floor(ver / 7) + 2;
411
+ result -= (25 * numAlign - 10) * numAlign - 55;
412
+ if (ver >= 7) result -= 36;
632
413
  }
633
-
634
- // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
635
- // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
636
- }, {
637
- key: "reedSolomonComputeDivisor",
638
- value: function reedSolomonComputeDivisor(degree) {
639
- if (degree < 1 || degree > 255) throw new RangeError('Degree out of range');
640
- // Polynomial coefficients are stored from highest to lowest power, excluding the leading term which is always 1.
641
- // For example the polynomial x^3 + 255x^2 + 8x + 93 is stored as the uint8 array [255, 8, 93].
642
- var result = [];
643
- for (var i = 0; i < degree - 1; i++) result.push(0);
644
- result.push(1); // Start off with the monomial x^0
645
-
646
- // Compute the product polynomial (x - r^0) * (x - r^1) * (x - r^2) * ... * (x - r^{degree-1}),
647
- // and drop the highest monomial term which is always 1x^degree.
648
- // Note that r = 0x02, which is a generator element of this field GF(2^8/0x11D).
649
- var root = 1;
650
- for (var _i11 = 0; _i11 < degree; _i11++) {
651
- // Multiply the current product by (x - r^i)
652
- for (var j = 0; j < result.length; j++) {
653
- result[j] = QrCode.reedSolomonMultiply(result[j], root);
654
- if (j + 1 < result.length) result[j] ^= result[j + 1];
655
- }
656
- root = QrCode.reedSolomonMultiply(root, 0x02);
414
+ assert(208 <= result && result <= 29648);
415
+ return result;
416
+ }
417
+ // Returns the number of 8-bit data (i.e. not error correction) codewords contained in any
418
+ // QR Code of the given version number and error correction level, with remainder bits discarded.
419
+ // This stateless pure function could be implemented as a (40*4)-cell lookup table.
420
+ static getNumDataCodewords(ver, ecl) {
421
+ return Math.floor(QrCode.getNumRawDataModules(ver) / 8) - QrCode.ECC_CODEWORDS_PER_BLOCK[ecl.ordinal][ver] * QrCode.NUM_ERROR_CORRECTION_BLOCKS[ecl.ordinal][ver];
422
+ }
423
+ // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
424
+ // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
425
+ static reedSolomonComputeDivisor(degree) {
426
+ if (degree < 1 || degree > 255)
427
+ throw new RangeError("Degree out of range");
428
+ const result = [];
429
+ for (let i = 0; i < degree - 1; i++) result.push(0);
430
+ result.push(1);
431
+ let root = 1;
432
+ for (let i = 0; i < degree; i++) {
433
+ for (let j = 0; j < result.length; j++) {
434
+ result[j] = QrCode.reedSolomonMultiply(result[j], root);
435
+ if (j + 1 < result.length) result[j] ^= result[j + 1];
657
436
  }
658
- return result;
437
+ root = QrCode.reedSolomonMultiply(root, 2);
659
438
  }
660
-
661
- // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
662
- }, {
663
- key: "reedSolomonComputeRemainder",
664
- value: function reedSolomonComputeRemainder(data, divisor) {
665
- var result = divisor.map(function (_) {
666
- return 0;
667
- });
668
- var _iterator4 = _createForOfIteratorHelper(data),
669
- _step4;
670
- try {
671
- var _loop2 = function _loop2() {
672
- var b = _step4.value;
673
- // Polynomial division
674
- var factor = b ^ result.shift();
675
- result.push(0);
676
- divisor.forEach(function (coef, i) {
677
- return result[i] ^= QrCode.reedSolomonMultiply(coef, factor);
678
- });
679
- };
680
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
681
- _loop2();
682
- }
683
- } catch (err) {
684
- _iterator4.e(err);
685
- } finally {
686
- _iterator4.f();
687
- }
688
- return result;
439
+ return result;
440
+ }
441
+ // Returns the Reed-Solomon error correction codeword for the given data and divisor polynomials.
442
+ static reedSolomonComputeRemainder(data, divisor) {
443
+ const result = divisor.map((_) => 0);
444
+ for (const b of data) {
445
+ const factor = b ^ result.shift();
446
+ result.push(0);
447
+ divisor.forEach(
448
+ (coef, i) => result[i] ^= QrCode.reedSolomonMultiply(coef, factor)
449
+ );
689
450
  }
690
-
691
- // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
692
- // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
693
- }, {
694
- key: "reedSolomonMultiply",
695
- value: function reedSolomonMultiply(x, y) {
696
- if (x >>> 8 != 0 || y >>> 8 != 0) throw new RangeError('Byte out of range');
697
- // Russian peasant multiplication
698
- var z = 0;
699
- for (var i = 7; i >= 0; i--) {
700
- z = z << 1 ^ (z >>> 7) * 0x11d;
701
- z ^= (y >>> i & 1) * x;
702
- }
703
- assert(z >>> 8 == 0);
704
- return z;
451
+ return result;
452
+ }
453
+ // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
454
+ // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
455
+ static reedSolomonMultiply(x, y) {
456
+ if (x >>> 8 != 0 || y >>> 8 != 0)
457
+ throw new RangeError("Byte out of range");
458
+ let z = 0;
459
+ for (let i = 7; i >= 0; i--) {
460
+ z = z << 1 ^ (z >>> 7) * 285;
461
+ z ^= (y >>> i & 1) * x;
462
+ }
463
+ assert(z >>> 8 == 0);
464
+ return z;
465
+ }
466
+ // Can only be called immediately after a light run is added, and
467
+ // returns either 0, 1, or 2. A helper function for getPenaltyScore().
468
+ finderPenaltyCountPatterns(runHistory) {
469
+ const n = runHistory[1];
470
+ assert(n <= this.size * 3);
471
+ const core = n > 0 && runHistory[2] == n && runHistory[3] == n * 3 && runHistory[4] == n && runHistory[5] == n;
472
+ return (core && runHistory[0] >= n * 4 && runHistory[6] >= n ? 1 : 0) + (core && runHistory[6] >= n * 4 && runHistory[0] >= n ? 1 : 0);
473
+ }
474
+ // Must be called at the end of a line (row or column) of modules. A helper function for getPenaltyScore().
475
+ finderPenaltyTerminateAndCount(currentRunColor, currentRunLength, runHistory) {
476
+ if (currentRunColor) {
477
+ this.finderPenaltyAddHistory(currentRunLength, runHistory);
478
+ currentRunLength = 0;
705
479
  }
706
- }]);
707
- return QrCode;
708
- }();
709
- QrCode.MIN_VERSION = 1;
710
- // The maximum version number supported in the QR Code Model 2 standard.
711
- QrCode.MAX_VERSION = 40;
712
- // For use in getPenaltyScore(), when evaluating which mask is best.
713
- QrCode.PENALTY_N1 = 3;
714
- QrCode.PENALTY_N2 = 3;
715
- QrCode.PENALTY_N3 = 40;
716
- QrCode.PENALTY_N4 = 10;
717
- QrCode.ECC_CODEWORDS_PER_BLOCK = [
718
- // Version: (note that index 0 is for padding, and is set to an illegal value)
719
- //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
720
- [-1, 7, 10, 15, 20, 26, 18, 20, 24, 30, 18, 20, 24, 26, 30, 22, 24, 28, 30, 28, 28, 28, 28, 30, 30, 26, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
721
- // Low
722
- [-1, 10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24, 28, 28, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28],
723
- // Medium
724
- [-1, 13, 22, 18, 26, 18, 24, 18, 22, 20, 24, 28, 26, 24, 20, 30, 24, 28, 28, 26, 30, 28, 30, 30, 30, 30, 28, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30],
725
- // Quartile
726
- [-1, 17, 28, 22, 16, 22, 28, 26, 26, 24, 28, 24, 28, 22, 24, 24, 30, 28, 28, 26, 28, 30, 24, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30] // High
727
- ];
728
- QrCode.NUM_ERROR_CORRECTION_BLOCKS = [
729
- // Version: (note that index 0 is for padding, and is set to an illegal value)
730
- //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
731
- [-1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 4, 6, 6, 6, 6, 7, 8, 8, 9, 9, 10, 12, 12, 12, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 24, 25],
732
- // Low
733
- [-1, 1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10, 10, 11, 13, 14, 16, 17, 17, 18, 20, 21, 23, 25, 26, 28, 29, 31, 33, 35, 37, 38, 40, 43, 45, 47, 49],
734
- // Medium
735
- [-1, 1, 1, 2, 2, 4, 4, 6, 6, 8, 8, 8, 10, 12, 16, 12, 17, 16, 18, 21, 20, 23, 23, 25, 27, 29, 34, 34, 35, 38, 40, 43, 45, 48, 51, 53, 56, 59, 62, 65, 68],
736
- // Quartile
737
- [-1, 1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81] // High
738
- ];
739
- _qrcodegen.QrCode = QrCode;
740
- // Appends the given number of low-order bits of the given value
741
- // to the given buffer. Requires 0 <= len <= 31 and 0 <= val < 2^len.
480
+ currentRunLength += this.size;
481
+ this.finderPenaltyAddHistory(currentRunLength, runHistory);
482
+ return this.finderPenaltyCountPatterns(runHistory);
483
+ }
484
+ // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
485
+ finderPenaltyAddHistory(currentRunLength, runHistory) {
486
+ if (runHistory[0] == 0) currentRunLength += this.size;
487
+ runHistory.pop();
488
+ runHistory.unshift(currentRunLength);
489
+ }
490
+ static {
491
+ /*-- Constants and tables --*/
492
+ // The minimum version number supported in the QR Code Model 2 standard.
493
+ this.MIN_VERSION = 1;
494
+ }
495
+ static {
496
+ // The maximum version number supported in the QR Code Model 2 standard.
497
+ this.MAX_VERSION = 40;
498
+ }
499
+ static {
500
+ // For use in getPenaltyScore(), when evaluating which mask is best.
501
+ this.PENALTY_N1 = 3;
502
+ }
503
+ static {
504
+ this.PENALTY_N2 = 3;
505
+ }
506
+ static {
507
+ this.PENALTY_N3 = 40;
508
+ }
509
+ static {
510
+ this.PENALTY_N4 = 10;
511
+ }
512
+ static {
513
+ this.ECC_CODEWORDS_PER_BLOCK = [
514
+ // Version: (note that index 0 is for padding, and is set to an illegal value)
515
+ //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
516
+ [
517
+ -1,
518
+ 7,
519
+ 10,
520
+ 15,
521
+ 20,
522
+ 26,
523
+ 18,
524
+ 20,
525
+ 24,
526
+ 30,
527
+ 18,
528
+ 20,
529
+ 24,
530
+ 26,
531
+ 30,
532
+ 22,
533
+ 24,
534
+ 28,
535
+ 30,
536
+ 28,
537
+ 28,
538
+ 28,
539
+ 28,
540
+ 30,
541
+ 30,
542
+ 26,
543
+ 28,
544
+ 30,
545
+ 30,
546
+ 30,
547
+ 30,
548
+ 30,
549
+ 30,
550
+ 30,
551
+ 30,
552
+ 30,
553
+ 30,
554
+ 30,
555
+ 30,
556
+ 30,
557
+ 30
558
+ ],
559
+ // Low
560
+ [
561
+ -1,
562
+ 10,
563
+ 16,
564
+ 26,
565
+ 18,
566
+ 24,
567
+ 16,
568
+ 18,
569
+ 22,
570
+ 22,
571
+ 26,
572
+ 30,
573
+ 22,
574
+ 22,
575
+ 24,
576
+ 24,
577
+ 28,
578
+ 28,
579
+ 26,
580
+ 26,
581
+ 26,
582
+ 26,
583
+ 28,
584
+ 28,
585
+ 28,
586
+ 28,
587
+ 28,
588
+ 28,
589
+ 28,
590
+ 28,
591
+ 28,
592
+ 28,
593
+ 28,
594
+ 28,
595
+ 28,
596
+ 28,
597
+ 28,
598
+ 28,
599
+ 28,
600
+ 28,
601
+ 28
602
+ ],
603
+ // Medium
604
+ [
605
+ -1,
606
+ 13,
607
+ 22,
608
+ 18,
609
+ 26,
610
+ 18,
611
+ 24,
612
+ 18,
613
+ 22,
614
+ 20,
615
+ 24,
616
+ 28,
617
+ 26,
618
+ 24,
619
+ 20,
620
+ 30,
621
+ 24,
622
+ 28,
623
+ 28,
624
+ 26,
625
+ 30,
626
+ 28,
627
+ 30,
628
+ 30,
629
+ 30,
630
+ 30,
631
+ 28,
632
+ 30,
633
+ 30,
634
+ 30,
635
+ 30,
636
+ 30,
637
+ 30,
638
+ 30,
639
+ 30,
640
+ 30,
641
+ 30,
642
+ 30,
643
+ 30,
644
+ 30,
645
+ 30
646
+ ],
647
+ // Quartile
648
+ [
649
+ -1,
650
+ 17,
651
+ 28,
652
+ 22,
653
+ 16,
654
+ 22,
655
+ 28,
656
+ 26,
657
+ 26,
658
+ 24,
659
+ 28,
660
+ 24,
661
+ 28,
662
+ 22,
663
+ 24,
664
+ 24,
665
+ 30,
666
+ 28,
667
+ 28,
668
+ 26,
669
+ 28,
670
+ 30,
671
+ 24,
672
+ 30,
673
+ 30,
674
+ 30,
675
+ 30,
676
+ 30,
677
+ 30,
678
+ 30,
679
+ 30,
680
+ 30,
681
+ 30,
682
+ 30,
683
+ 30,
684
+ 30,
685
+ 30,
686
+ 30,
687
+ 30,
688
+ 30,
689
+ 30
690
+ ]
691
+ // High
692
+ ];
693
+ }
694
+ static {
695
+ this.NUM_ERROR_CORRECTION_BLOCKS = [
696
+ // Version: (note that index 0 is for padding, and is set to an illegal value)
697
+ //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
698
+ [
699
+ -1,
700
+ 1,
701
+ 1,
702
+ 1,
703
+ 1,
704
+ 1,
705
+ 2,
706
+ 2,
707
+ 2,
708
+ 2,
709
+ 4,
710
+ 4,
711
+ 4,
712
+ 4,
713
+ 4,
714
+ 6,
715
+ 6,
716
+ 6,
717
+ 6,
718
+ 7,
719
+ 8,
720
+ 8,
721
+ 9,
722
+ 9,
723
+ 10,
724
+ 12,
725
+ 12,
726
+ 12,
727
+ 13,
728
+ 14,
729
+ 15,
730
+ 16,
731
+ 17,
732
+ 18,
733
+ 19,
734
+ 19,
735
+ 20,
736
+ 21,
737
+ 22,
738
+ 24,
739
+ 25
740
+ ],
741
+ // Low
742
+ [
743
+ -1,
744
+ 1,
745
+ 1,
746
+ 1,
747
+ 2,
748
+ 2,
749
+ 4,
750
+ 4,
751
+ 4,
752
+ 5,
753
+ 5,
754
+ 5,
755
+ 8,
756
+ 9,
757
+ 9,
758
+ 10,
759
+ 10,
760
+ 11,
761
+ 13,
762
+ 14,
763
+ 16,
764
+ 17,
765
+ 17,
766
+ 18,
767
+ 20,
768
+ 21,
769
+ 23,
770
+ 25,
771
+ 26,
772
+ 28,
773
+ 29,
774
+ 31,
775
+ 33,
776
+ 35,
777
+ 37,
778
+ 38,
779
+ 40,
780
+ 43,
781
+ 45,
782
+ 47,
783
+ 49
784
+ ],
785
+ // Medium
786
+ [
787
+ -1,
788
+ 1,
789
+ 1,
790
+ 2,
791
+ 2,
792
+ 4,
793
+ 4,
794
+ 6,
795
+ 6,
796
+ 8,
797
+ 8,
798
+ 8,
799
+ 10,
800
+ 12,
801
+ 16,
802
+ 12,
803
+ 17,
804
+ 16,
805
+ 18,
806
+ 21,
807
+ 20,
808
+ 23,
809
+ 23,
810
+ 25,
811
+ 27,
812
+ 29,
813
+ 34,
814
+ 34,
815
+ 35,
816
+ 38,
817
+ 40,
818
+ 43,
819
+ 45,
820
+ 48,
821
+ 51,
822
+ 53,
823
+ 56,
824
+ 59,
825
+ 62,
826
+ 65,
827
+ 68
828
+ ],
829
+ // Quartile
830
+ [
831
+ -1,
832
+ 1,
833
+ 1,
834
+ 2,
835
+ 4,
836
+ 4,
837
+ 4,
838
+ 5,
839
+ 6,
840
+ 8,
841
+ 8,
842
+ 11,
843
+ 11,
844
+ 16,
845
+ 16,
846
+ 18,
847
+ 16,
848
+ 19,
849
+ 21,
850
+ 25,
851
+ 25,
852
+ 25,
853
+ 34,
854
+ 30,
855
+ 32,
856
+ 35,
857
+ 37,
858
+ 40,
859
+ 42,
860
+ 45,
861
+ 48,
862
+ 51,
863
+ 54,
864
+ 57,
865
+ 60,
866
+ 63,
867
+ 66,
868
+ 70,
869
+ 74,
870
+ 77,
871
+ 81
872
+ ]
873
+ // High
874
+ ];
875
+ }
876
+ }
877
+ qrcodegen2.QrCode = QrCode;
742
878
  function appendBits(val, len, bb) {
743
- if (len < 0 || len > 31 || val >>> len != 0) throw new RangeError('Value out of range');
744
- for (var i = len - 1; i >= 0; i-- // Append bit by bit
745
- ) bb.push(val >>> i & 1);
879
+ if (len < 0 || len > 31 || val >>> len != 0)
880
+ throw new RangeError("Value out of range");
881
+ for (let i = len - 1; i >= 0; i--)
882
+ bb.push(val >>> i & 1);
746
883
  }
747
-
748
- // Returns true iff the i'th bit of x is set to 1.
749
884
  function getBit(x, i) {
750
885
  return (x >>> i & 1) != 0;
751
886
  }
752
-
753
- // Throws an exception if the given condition is false.
754
887
  function assert(cond) {
755
- if (!cond) throw new Error('Assertion error');
888
+ if (!cond) throw new Error("Assertion error");
756
889
  }
757
-
758
- /*---- Data segment class ----*/
759
-
760
- /*
761
- * A segment of character/binary/control data in a QR Code symbol.
762
- * Instances of this class are immutable.
763
- * The mid-level way to create a segment is to take the payload data
764
- * and call a static factory function such as QrSegment.makeNumeric().
765
- * The low-level way to create a segment is to custom-make the bit buffer
766
- * and call the QrSegment() constructor with appropriate values.
767
- * This segment class imposes no length restrictions, but QR Codes have restrictions.
768
- * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data.
769
- * Any segment longer than this is meaningless for the purpose of generating QR Codes.
770
- */
771
- var QrSegment = /*#__PURE__*/function () {
890
+ class QrSegment {
891
+ /*-- Static factory functions (mid level) --*/
892
+ // Returns a segment representing the given binary data encoded in
893
+ // byte mode. All input byte arrays are acceptable. Any text string
894
+ // can be converted to UTF-8 bytes and encoded as a byte mode segment.
895
+ static makeBytes(data) {
896
+ const bb = [];
897
+ for (const b of data) appendBits(b, 8, bb);
898
+ return new QrSegment(QrSegment.Mode.BYTE, data.length, bb);
899
+ }
900
+ // Returns a segment representing the given string of decimal digits encoded in numeric mode.
901
+ static makeNumeric(digits) {
902
+ if (!QrSegment.isNumeric(digits))
903
+ throw new RangeError("String contains non-numeric characters");
904
+ const bb = [];
905
+ for (let i = 0; i < digits.length; ) {
906
+ const n = Math.min(digits.length - i, 3);
907
+ appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);
908
+ i += n;
909
+ }
910
+ return new QrSegment(QrSegment.Mode.NUMERIC, digits.length, bb);
911
+ }
912
+ // Returns a segment representing the given text string encoded in alphanumeric mode.
913
+ // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
914
+ // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
915
+ static makeAlphanumeric(text) {
916
+ if (!QrSegment.isAlphanumeric(text))
917
+ throw new RangeError(
918
+ "String contains unencodable characters in alphanumeric mode"
919
+ );
920
+ const bb = [];
921
+ let i;
922
+ for (i = 0; i + 2 <= text.length; i += 2) {
923
+ let temp = QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;
924
+ temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));
925
+ appendBits(temp, 11, bb);
926
+ }
927
+ if (i < text.length)
928
+ appendBits(
929
+ QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)),
930
+ 6,
931
+ bb
932
+ );
933
+ return new QrSegment(QrSegment.Mode.ALPHANUMERIC, text.length, bb);
934
+ }
935
+ // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
936
+ // The result may use various segment modes and switch modes to optimize the length of the bit stream.
937
+ static makeSegments(text) {
938
+ if (text == "") return [];
939
+ else if (QrSegment.isNumeric(text)) return [QrSegment.makeNumeric(text)];
940
+ else if (QrSegment.isAlphanumeric(text))
941
+ return [QrSegment.makeAlphanumeric(text)];
942
+ else return [QrSegment.makeBytes(QrSegment.toUtf8ByteArray(text))];
943
+ }
944
+ // Returns a segment representing an Extended Channel Interpretation
945
+ // (ECI) designator with the given assignment value.
946
+ static makeEci(assignVal) {
947
+ const bb = [];
948
+ if (assignVal < 0)
949
+ throw new RangeError("ECI assignment value out of range");
950
+ else if (assignVal < 1 << 7) appendBits(assignVal, 8, bb);
951
+ else if (assignVal < 1 << 14) {
952
+ appendBits(2, 2, bb);
953
+ appendBits(assignVal, 14, bb);
954
+ } else if (assignVal < 1e6) {
955
+ appendBits(6, 3, bb);
956
+ appendBits(assignVal, 21, bb);
957
+ } else throw new RangeError("ECI assignment value out of range");
958
+ return new QrSegment(QrSegment.Mode.ECI, 0, bb);
959
+ }
960
+ // Tests whether the given string can be encoded as a segment in numeric mode.
961
+ // A string is encodable iff each character is in the range 0 to 9.
962
+ static isNumeric(text) {
963
+ return QrSegment.NUMERIC_REGEX.test(text);
964
+ }
965
+ // Tests whether the given string can be encoded as a segment in alphanumeric mode.
966
+ // A string is encodable iff each character is in the following set: 0 to 9, A to Z
967
+ // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
968
+ static isAlphanumeric(text) {
969
+ return QrSegment.ALPHANUMERIC_REGEX.test(text);
970
+ }
772
971
  // Creates a new QR Code segment with the given attributes and data.
773
972
  // The character count (numChars) must agree with the mode and the bit buffer length,
774
973
  // but the constraint isn't checked. The given bit buffer is cloned and stored.
775
- function QrSegment(
776
- // The mode indicator of this segment.
777
- mode,
778
- // The length of this segment's unencoded data. Measured in characters for
779
- // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.
780
- // Always zero or positive. Not the same as the data's bit length.
781
- numChars,
782
- // The data bits of this segment. Accessed through getData().
783
- bitData) {
784
- _classCallCheck(this, QrSegment);
785
- /*-- Constructor (low level) and fields --*/
786
- this.mode = void 0;
787
- // The length of this segment's unencoded data. Measured in characters for
788
- // numeric/alphanumeric/kanji mode, bytes for byte mode, and 0 for ECI mode.
789
- // Always zero or positive. Not the same as the data's bit length.
790
- this.numChars = void 0;
791
- // The data bits of this segment. Accessed through getData().
792
- this.bitData = void 0;
974
+ constructor(mode, numChars, bitData) {
793
975
  this.mode = mode;
794
976
  this.numChars = numChars;
795
977
  this.bitData = bitData;
796
- if (numChars < 0) throw new RangeError('Invalid argument');
797
- this.bitData = bitData.slice(); // Make defensive copy
978
+ if (numChars < 0) throw new RangeError("Invalid argument");
979
+ this.bitData = bitData.slice();
798
980
  }
799
-
800
981
  /*-- Methods --*/
801
-
802
982
  // Returns a new copy of the data bits of this segment.
803
- _createClass(QrSegment, [{
804
- key: "getData",
805
- value: function getData() {
806
- return this.bitData.slice(); // Make defensive copy
983
+ getData() {
984
+ return this.bitData.slice();
985
+ }
986
+ // (Package-private) Calculates and returns the number of bits needed to encode the given segments at
987
+ // the given version. The result is infinity if a segment has too many characters to fit its length field.
988
+ static getTotalBits(segs, version) {
989
+ let result = 0;
990
+ for (const seg of segs) {
991
+ const ccbits = seg.mode.numCharCountBits(version);
992
+ if (seg.numChars >= 1 << ccbits) return Infinity;
993
+ result += 4 + ccbits + seg.bitData.length;
807
994
  }
808
-
809
- // (Package-private) Calculates and returns the number of bits needed to encode the given segments at
810
- // the given version. The result is infinity if a segment has too many characters to fit its length field.
811
- }], [{
812
- key: "makeBytes",
813
- value: /*-- Static factory functions (mid level) --*/
814
-
815
- // Returns a segment representing the given binary data encoded in
816
- // byte mode. All input byte arrays are acceptable. Any text string
817
- // can be converted to UTF-8 bytes and encoded as a byte mode segment.
818
- function makeBytes(data) {
819
- var bb = [];
820
- var _iterator5 = _createForOfIteratorHelper(data),
821
- _step5;
822
- try {
823
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
824
- var b = _step5.value;
825
- appendBits(b, 8, bb);
826
- }
827
- } catch (err) {
828
- _iterator5.e(err);
829
- } finally {
830
- _iterator5.f();
995
+ return result;
996
+ }
997
+ // Returns a new array of bytes representing the given string encoded in UTF-8.
998
+ static toUtf8ByteArray(str) {
999
+ str = encodeURI(str);
1000
+ const result = [];
1001
+ for (let i = 0; i < str.length; i++) {
1002
+ if (str.charAt(i) != "%") result.push(str.charCodeAt(i));
1003
+ else {
1004
+ result.push(parseInt(str.substr(i + 1, 2), 16));
1005
+ i += 2;
831
1006
  }
832
- return new QrSegment(QrSegment.Mode.BYTE, data.length, bb);
833
1007
  }
834
-
835
- // Returns a segment representing the given string of decimal digits encoded in numeric mode.
836
- }, {
837
- key: "makeNumeric",
838
- value: function makeNumeric(digits) {
839
- if (!QrSegment.isNumeric(digits)) throw new RangeError('String contains non-numeric characters');
840
- var bb = [];
841
- for (var i = 0; i < digits.length;) {
842
- // Consume up to 3 digits per iteration
843
- var n = Math.min(digits.length - i, 3);
844
- appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb);
845
- i += n;
846
- }
847
- return new QrSegment(QrSegment.Mode.NUMERIC, digits.length, bb);
1008
+ return result;
1009
+ }
1010
+ static {
1011
+ /*-- Constants --*/
1012
+ // Describes precisely all strings that are encodable in numeric mode.
1013
+ this.NUMERIC_REGEX = /^[0-9]*$/;
1014
+ }
1015
+ static {
1016
+ // Describes precisely all strings that are encodable in alphanumeric mode.
1017
+ this.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/;
1018
+ }
1019
+ static {
1020
+ // The set of all legal characters in alphanumeric mode,
1021
+ // where each character value maps to the index in the string.
1022
+ this.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
1023
+ }
1024
+ }
1025
+ qrcodegen2.QrSegment = QrSegment;
1026
+ })(qrcodegen || (qrcodegen = {}));
1027
+ ((qrcodegen2) => {
1028
+ let QrCode;
1029
+ ((QrCode2) => {
1030
+ class Ecc {
1031
+ static {
1032
+ /*-- Constants --*/
1033
+ this.LOW = new Ecc(0, 1);
848
1034
  }
849
-
850
- // Returns a segment representing the given text string encoded in alphanumeric mode.
851
- // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
852
- // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
853
- }, {
854
- key: "makeAlphanumeric",
855
- value: function makeAlphanumeric(text) {
856
- if (!QrSegment.isAlphanumeric(text)) throw new RangeError('String contains unencodable characters in alphanumeric mode');
857
- var bb = [];
858
- var i;
859
- for (i = 0; i + 2 <= text.length; i += 2) {
860
- // Process groups of 2
861
- var temp = QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)) * 45;
862
- temp += QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i + 1));
863
- appendBits(temp, 11, bb);
864
- }
865
- if (i < text.length)
866
- // 1 character remaining
867
- appendBits(QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb);
868
- return new QrSegment(QrSegment.Mode.ALPHANUMERIC, text.length, bb);
1035
+ static {
1036
+ // The QR Code can tolerate about 7% erroneous codewords
1037
+ this.MEDIUM = new Ecc(1, 0);
869
1038
  }
870
-
871
- // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
872
- // The result may use various segment modes and switch modes to optimize the length of the bit stream.
873
- }, {
874
- key: "makeSegments",
875
- value: function makeSegments(text) {
876
- // Select the most efficient segment encoding automatically
877
- if (text == '') return [];else if (QrSegment.isNumeric(text)) return [QrSegment.makeNumeric(text)];else if (QrSegment.isAlphanumeric(text)) return [QrSegment.makeAlphanumeric(text)];else return [QrSegment.makeBytes(QrSegment.toUtf8ByteArray(text))];
1039
+ static {
1040
+ // The QR Code can tolerate about 15% erroneous codewords
1041
+ this.QUARTILE = new Ecc(2, 3);
878
1042
  }
879
-
880
- // Returns a segment representing an Extended Channel Interpretation
881
- // (ECI) designator with the given assignment value.
882
- }, {
883
- key: "makeEci",
884
- value: function makeEci(assignVal) {
885
- var bb = [];
886
- if (assignVal < 0) throw new RangeError('ECI assignment value out of range');else if (assignVal < 1 << 7) appendBits(assignVal, 8, bb);else if (assignVal < 1 << 14) {
887
- appendBits(2, 2, bb);
888
- appendBits(assignVal, 14, bb);
889
- } else if (assignVal < 1000000) {
890
- appendBits(6, 3, bb);
891
- appendBits(assignVal, 21, bb);
892
- } else throw new RangeError('ECI assignment value out of range');
893
- return new QrSegment(QrSegment.Mode.ECI, 0, bb);
1043
+ static {
1044
+ // The QR Code can tolerate about 25% erroneous codewords
1045
+ this.HIGH = new Ecc(3, 2);
894
1046
  }
895
-
896
- // Tests whether the given string can be encoded as a segment in numeric mode.
897
- // A string is encodable iff each character is in the range 0 to 9.
898
- }, {
899
- key: "isNumeric",
900
- value: function isNumeric(text) {
901
- return QrSegment.NUMERIC_REGEX.test(text);
1047
+ constructor(ordinal, formatBits) {
1048
+ this.ordinal = ordinal;
1049
+ this.formatBits = formatBits;
902
1050
  }
903
-
904
- // Tests whether the given string can be encoded as a segment in alphanumeric mode.
905
- // A string is encodable iff each character is in the following set: 0 to 9, A to Z
906
- // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
907
- }, {
908
- key: "isAlphanumeric",
909
- value: function isAlphanumeric(text) {
910
- return QrSegment.ALPHANUMERIC_REGEX.test(text);
1051
+ }
1052
+ QrCode2.Ecc = Ecc;
1053
+ })(QrCode = qrcodegen2.QrCode || (qrcodegen2.QrCode = {}));
1054
+ })(qrcodegen || (qrcodegen = {}));
1055
+ ((qrcodegen2) => {
1056
+ let QrSegment;
1057
+ ((QrSegment2) => {
1058
+ class Mode {
1059
+ static {
1060
+ /*-- Constants --*/
1061
+ this.NUMERIC = new Mode(1, [10, 12, 14]);
911
1062
  }
912
- }, {
913
- key: "getTotalBits",
914
- value: function getTotalBits(segs, version) {
915
- var result = 0;
916
- var _iterator6 = _createForOfIteratorHelper(segs),
917
- _step6;
918
- try {
919
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
920
- var seg = _step6.value;
921
- var ccbits = seg.mode.numCharCountBits(version);
922
- if (seg.numChars >= 1 << ccbits) return Infinity; // The segment's length doesn't fit the field's bit width
923
- result += 4 + ccbits + seg.bitData.length;
924
- }
925
- } catch (err) {
926
- _iterator6.e(err);
927
- } finally {
928
- _iterator6.f();
929
- }
930
- return result;
1063
+ static {
1064
+ this.ALPHANUMERIC = new Mode(2, [9, 11, 13]);
931
1065
  }
932
-
933
- // Returns a new array of bytes representing the given string encoded in UTF-8.
934
- }, {
935
- key: "toUtf8ByteArray",
936
- value: function toUtf8ByteArray(str) {
937
- str = encodeURI(str);
938
- var result = [];
939
- for (var i = 0; i < str.length; i++) {
940
- if (str.charAt(i) != '%') result.push(str.charCodeAt(i));else {
941
- result.push(parseInt(str.substr(i + 1, 2), 16));
942
- i += 2;
943
- }
944
- }
945
- return result;
1066
+ static {
1067
+ this.BYTE = new Mode(4, [8, 16, 16]);
946
1068
  }
947
-
948
- /*-- Constants --*/
949
-
950
- // Describes precisely all strings that are encodable in numeric mode.
951
- }]);
952
- return QrSegment;
953
- }();
954
- QrSegment.NUMERIC_REGEX = /^[0-9]*$/;
955
- // Describes precisely all strings that are encodable in alphanumeric mode.
956
- QrSegment.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/;
957
- // The set of all legal characters in alphanumeric mode,
958
- // where each character value maps to the index in the string.
959
- QrSegment.ALPHANUMERIC_CHARSET = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:';
960
- _qrcodegen.QrSegment = QrSegment;
961
- })(qrcodegen || (qrcodegen = {}));
962
- /*---- Public helper enumeration ----*/
963
- // eslint-disable-next-line @typescript-eslint/no-namespace
964
- (function (_qrcodegen2) {
965
- var QrCode;
966
- (function (_QrCode, _Ecc) {
967
- /*
968
- * The error correction level in a QR Code symbol. Immutable.
969
- */
970
- var Ecc = /*#__PURE__*/_createClass(function Ecc(
971
- // In the range 0 to 3 (unsigned 2-bit integer).
972
- ordinal,
973
- // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).
974
- formatBits) {
975
- _classCallCheck(this, Ecc);
976
- // The QR Code can tolerate about 30% erroneous codewords
977
- /*-- Constructor and fields --*/
978
- // In the range 0 to 3 (unsigned 2-bit integer).
979
- this.ordinal = void 0;
980
- // (Package-private) In the range 0 to 3 (unsigned 2-bit integer).
981
- this.formatBits = void 0;
982
- this.ordinal = ordinal;
983
- this.formatBits = formatBits;
984
- });
985
- _Ecc = Ecc;
986
- /*-- Constants --*/
987
- Ecc.LOW = new _Ecc(0, 1);
988
- // The QR Code can tolerate about 7% erroneous codewords
989
- Ecc.MEDIUM = new _Ecc(1, 0);
990
- // The QR Code can tolerate about 15% erroneous codewords
991
- Ecc.QUARTILE = new _Ecc(2, 3);
992
- // The QR Code can tolerate about 25% erroneous codewords
993
- Ecc.HIGH = new _Ecc(3, 2);
994
- _QrCode.Ecc = Ecc;
995
- })(QrCode || (QrCode = _qrcodegen2.QrCode || (_qrcodegen2.QrCode = {})));
996
- })(qrcodegen || (qrcodegen = {}));
997
- /*---- Public helper enumeration ----*/
998
- // eslint-disable-next-line @typescript-eslint/no-namespace
999
- (function (_qrcodegen3) {
1000
- var QrSegment;
1001
- (function (_QrSegment, _Mode) {
1002
- /*
1003
- * Describes how a segment's data bits are interpreted. Immutable.
1004
- */
1005
- var Mode = /*#__PURE__*/function () {
1006
- function Mode(
1007
- // The mode indicator bits, which is a uint4 value (range 0 to 15).
1008
- modeBits,
1009
- // Number of character count bits for three different version ranges.
1010
- numBitsCharCount) {
1011
- _classCallCheck(this, Mode);
1012
- /*-- Constructor and fields --*/
1013
- // The mode indicator bits, which is a uint4 value (range 0 to 15).
1014
- this.modeBits = void 0;
1015
- // Number of character count bits for three different version ranges.
1016
- this.numBitsCharCount = void 0;
1069
+ static {
1070
+ this.KANJI = new Mode(8, [8, 10, 12]);
1071
+ }
1072
+ static {
1073
+ this.ECI = new Mode(7, [0, 0, 0]);
1074
+ }
1075
+ constructor(modeBits, numBitsCharCount) {
1017
1076
  this.modeBits = modeBits;
1018
1077
  this.numBitsCharCount = numBitsCharCount;
1019
1078
  }
1020
-
1021
1079
  /*-- Method --*/
1022
-
1023
1080
  // (Package-private) Returns the bit width of the character count field for a segment in
1024
1081
  // this mode in a QR Code at the given version number. The result is in the range [0, 16].
1025
- _createClass(Mode, [{
1026
- key: "numCharCountBits",
1027
- value: function numCharCountBits(ver) {
1028
- return this.numBitsCharCount[Math.floor((ver + 7) / 17)];
1029
- }
1030
- }]);
1031
- return Mode;
1032
- }();
1033
- _Mode = Mode;
1034
- /*-- Constants --*/
1035
- Mode.NUMERIC = new _Mode(0x1, [10, 12, 14]);
1036
- Mode.ALPHANUMERIC = new _Mode(0x2, [9, 11, 13]);
1037
- Mode.BYTE = new _Mode(0x4, [8, 16, 16]);
1038
- Mode.KANJI = new _Mode(0x8, [8, 10, 12]);
1039
- Mode.ECI = new _Mode(0x7, [0, 0, 0]);
1040
- _QrSegment.Mode = Mode;
1041
- })(QrSegment || (QrSegment = _qrcodegen3.QrSegment || (_qrcodegen3.QrSegment = {})));
1042
- })(qrcodegen || (qrcodegen = {})); // Modification to export for actual use
1043
- export default qrcodegen;
1082
+ numCharCountBits(ver) {
1083
+ return this.numBitsCharCount[Math.floor((ver + 7) / 17)];
1084
+ }
1085
+ }
1086
+ QrSegment2.Mode = Mode;
1087
+ })(QrSegment = qrcodegen2.QrSegment || (qrcodegen2.QrSegment = {}));
1088
+ })(qrcodegen || (qrcodegen = {}));
1089
+ var qrcodegen_default = qrcodegen;
1090
+ export {
1091
+ qrcodegen_default as default
1092
+ };
1093
+ //# sourceMappingURL=qrcodegen.js.map