@digigov/react-experimental 2.0.0-cbc56209 → 2.0.0-daaf7bdf

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 (731) hide show
  1. package/FloatingButton/index.js +23 -23
  2. package/FloatingButton/index.js.map +7 -0
  3. package/Kitchensink/AllComponents/index.js +8 -9
  4. package/Kitchensink/AllComponents.js.map +7 -0
  5. package/Kitchensink/KitchensinkByCategory/index.js +47 -32
  6. package/Kitchensink/KitchensinkByCategory.js.map +7 -0
  7. package/Kitchensink/KitchensinkByLetter/index.js +26 -18
  8. package/Kitchensink/KitchensinkByLetter.js.map +7 -0
  9. package/Kitchensink/KitchensinkComponent/index.js +31 -44
  10. package/Kitchensink/KitchensinkComponent.js.map +7 -0
  11. package/Kitchensink/KitchensinkDashboard/index.js +43 -38
  12. package/Kitchensink/KitchensinkDashboard.js.map +7 -0
  13. package/Kitchensink/index.js +2 -1
  14. package/Kitchensink/index.js.map +7 -0
  15. package/OptionButtonBase/index.js +24 -23
  16. package/OptionButtonBase/index.js.map +7 -0
  17. package/OptionButtonSteps/index.js +34 -29
  18. package/OptionButtonSteps/index.js.map +7 -0
  19. package/cjs/FloatingButton/index.js +55 -29
  20. package/cjs/FloatingButton/index.js.map +7 -0
  21. package/cjs/Kitchensink/AllComponents/index.js +39 -14
  22. package/cjs/Kitchensink/AllComponents.js.map +7 -0
  23. package/cjs/Kitchensink/KitchensinkByCategory/index.js +75 -38
  24. package/cjs/Kitchensink/KitchensinkByCategory.js.map +7 -0
  25. package/cjs/Kitchensink/KitchensinkByLetter/index.js +58 -24
  26. package/cjs/Kitchensink/KitchensinkByLetter.js.map +7 -0
  27. package/cjs/Kitchensink/KitchensinkComponent/index.js +60 -53
  28. package/cjs/Kitchensink/KitchensinkComponent.js.map +7 -0
  29. package/cjs/Kitchensink/KitchensinkDashboard/index.js +75 -44
  30. package/cjs/Kitchensink/KitchensinkDashboard.js.map +7 -0
  31. package/cjs/Kitchensink/index.js +29 -59
  32. package/cjs/Kitchensink/index.js.map +7 -0
  33. package/cjs/OptionButtonBase/index.js +56 -29
  34. package/cjs/OptionButtonBase/index.js.map +7 -0
  35. package/cjs/OptionButtonSteps/index.js +66 -35
  36. package/cjs/OptionButtonSteps/index.js.map +7 -0
  37. package/cjs/index.js +27 -48
  38. package/cjs/index.js.map +7 -0
  39. package/index.js +6 -5
  40. package/index.js.map +7 -0
  41. package/libs/ui/src/api/APIErrors.d.ts +1 -0
  42. package/libs/ui/src/api/APIProvider.d.ts +1 -0
  43. package/libs/ui/src/api/fetchAPI.d.ts +1 -5
  44. package/libs/ui/src/api/index.d.ts +1 -2
  45. package/libs/ui/src/api/utils.d.ts +5 -1
  46. package/libs/ui/src/app/BannerContainer/BannerContainer.stories.d.ts +1 -1
  47. package/libs/ui/src/app/BannerContainer/__stories__/CookiesBanner.d.ts +2 -2
  48. package/libs/ui/src/app/Footer/Footer.stories.d.ts +8 -8
  49. package/libs/ui/src/app/Footer/__stories__/Default.d.ts +2 -2
  50. package/libs/ui/src/app/Footer/__stories__/DefaultCopyright.d.ts +2 -2
  51. package/libs/ui/src/app/Footer/__stories__/FooterAllInclusive.d.ts +2 -2
  52. package/libs/ui/src/app/Footer/__stories__/FooterWithLink.d.ts +2 -2
  53. package/libs/ui/src/app/Footer/__stories__/FooterWithLogo.d.ts +2 -2
  54. package/libs/ui/src/app/Footer/__stories__/FooterWithSecondaryNavigation.d.ts +2 -2
  55. package/libs/ui/src/app/Footer/__stories__/FooterWithText.d.ts +2 -2
  56. package/libs/ui/src/app/Footer/__stories__/YearCopyright.d.ts +2 -2
  57. package/libs/ui/src/app/Header/Header.stories.d.ts +5 -5
  58. package/libs/ui/src/app/Header/__stories__/Default.d.ts +2 -2
  59. package/libs/ui/src/app/Header/__stories__/WithHeaderNavigation.d.ts +2 -2
  60. package/libs/ui/src/app/Header/__stories__/WithNavigation.d.ts +2 -2
  61. package/libs/ui/src/app/Header/__stories__/WithServiceName.d.ts +2 -2
  62. package/libs/ui/src/app/Header/__stories__/WithServiceNameAndLogo.d.ts +2 -2
  63. package/libs/ui/src/app/Loader/Loader.stories.d.ts +2 -1
  64. package/libs/ui/src/app/Loader/__stories__/Default.d.ts +2 -2
  65. package/libs/ui/src/app/Loader/__stories__/FullPageLoader.d.ts +2 -0
  66. package/libs/ui/src/app/Masthead/Masthead.stories.d.ts +3 -3
  67. package/libs/ui/src/app/Masthead/__stories__/Default.d.ts +2 -2
  68. package/libs/ui/src/app/Masthead/__stories__/WithElements.d.ts +2 -2
  69. package/libs/ui/src/app/Masthead/__stories__/WithLogo.d.ts +2 -2
  70. package/libs/ui/src/app/Modal/Modal.d.ts +8 -0
  71. package/libs/ui/src/app/Modal/Modal.stories.d.ts +6 -5
  72. package/libs/ui/src/app/Modal/__stories__/AlertDialog.d.ts +2 -2
  73. package/libs/ui/src/app/Modal/__stories__/Auto.d.ts +2 -2
  74. package/libs/ui/src/app/Modal/__stories__/Default.d.ts +2 -2
  75. package/libs/ui/src/app/Modal/__stories__/Dense.d.ts +2 -2
  76. package/libs/ui/src/app/Modal/__stories__/WithHooks.d.ts +2 -2
  77. package/libs/ui/src/app/Modal/__stories__/WithoutModalGaps.d.ts +3 -0
  78. package/libs/ui/src/app/Modal/auto.d.ts +4 -4
  79. package/libs/ui/src/app/Modal/index.d.ts +2 -8
  80. package/libs/ui/src/app/NotFound/NotFound.stories.d.ts +1 -1
  81. package/libs/ui/src/app/NotFound/__stories__/Default.d.ts +2 -2
  82. package/libs/ui/src/app/OutdatedBrowserBanner/index.d.ts +0 -1
  83. package/libs/ui/src/app/Panel/Panel.stories.d.ts +1 -1
  84. package/libs/ui/src/app/Panel/__stories__/Default.d.ts +2 -2
  85. package/libs/ui/src/app/PhaseBannerHeader/PhaseBannerHeader.stories.d.ts +1 -1
  86. package/libs/ui/src/app/PhaseBannerHeader/__stories__/Default.d.ts +2 -2
  87. package/libs/ui/src/app/PhaseBannerHeader/index.d.ts +1 -1
  88. package/libs/ui/src/app/QrCodeScanner/QrCodeScanner.stories.d.ts +1 -1
  89. package/libs/ui/src/app/QrCodeScanner/__stories__/Default.d.ts +2 -2
  90. package/libs/ui/src/app/QrCodeScanner/index.d.ts +1 -0
  91. package/libs/ui/src/app/QrCodeViewer/QRCode.stories.d.ts +2 -2
  92. package/libs/ui/src/app/QrCodeViewer/__stories__/Custom.d.ts +2 -2
  93. package/libs/ui/src/app/QrCodeViewer/__stories__/Default.d.ts +2 -2
  94. package/libs/ui/src/app/Skeleton/Skeleton.stories.d.ts +17 -0
  95. package/libs/ui/src/app/Skeleton/__stories__/Button.d.ts +3 -0
  96. package/libs/ui/src/app/Skeleton/__stories__/Circular.d.ts +3 -0
  97. package/libs/ui/src/app/Skeleton/__stories__/Default.d.ts +3 -0
  98. package/libs/ui/src/app/Skeleton/__stories__/NoAnimation.d.ts +3 -0
  99. package/libs/ui/src/app/Skeleton/__stories__/Rectangular.d.ts +3 -0
  100. package/libs/ui/src/app/Skeleton/__stories__/SpecificWidthAndHeight.d.ts +3 -0
  101. package/libs/ui/src/app/Skeleton/__stories__/TextSizes.d.ts +3 -0
  102. package/libs/ui/src/app/Skeleton/__stories__/UnderTypography.d.ts +3 -0
  103. package/libs/ui/src/app/Skeleton/__stories__/WithChildren.d.ts +3 -0
  104. package/libs/ui/src/app/Skeleton/index.d.ts +3 -0
  105. package/libs/ui/src/app/ThemeOptions/index.d.ts +1 -1
  106. package/libs/ui/src/content/Accordion/Accordion.stories.d.ts +4 -4
  107. package/libs/ui/src/content/Accordion/__stories__/Auto.d.ts +2 -2
  108. package/libs/ui/src/content/Accordion/__stories__/Default.d.ts +2 -2
  109. package/libs/ui/src/content/Accordion/__stories__/WithHints.d.ts +2 -2
  110. package/libs/ui/src/content/Accordion/__stories__/WithHook.d.ts +2 -2
  111. package/libs/ui/src/content/Accordion/auto.d.ts +8 -7
  112. package/libs/ui/src/content/Accordion/hooks.d.ts +1 -1
  113. package/libs/ui/src/content/Accordion/index.d.ts +0 -1
  114. package/libs/ui/src/content/Blockquote/Blockquote.stories.d.ts +2 -2
  115. package/libs/ui/src/content/Blockquote/__stories__/Default.d.ts +2 -2
  116. package/libs/ui/src/content/Blockquote/__stories__/Dense.d.ts +2 -2
  117. package/libs/ui/src/content/Card/Card.stories.d.ts +11 -11
  118. package/libs/ui/src/content/Card/__stories__/Default.d.ts +2 -2
  119. package/libs/ui/src/content/Card/__stories__/Dense.d.ts +2 -2
  120. package/libs/ui/src/content/Card/__stories__/WithClickableContent.d.ts +2 -2
  121. package/libs/ui/src/content/Card/__stories__/WithClickableLink.d.ts +2 -2
  122. package/libs/ui/src/content/Card/__stories__/WithDarkBorder.d.ts +2 -2
  123. package/libs/ui/src/content/Card/__stories__/WithDarkTopBorder.d.ts +2 -2
  124. package/libs/ui/src/content/Card/__stories__/WithDivider.d.ts +2 -2
  125. package/libs/ui/src/content/Card/__stories__/WithGrayBorder.d.ts +2 -2
  126. package/libs/ui/src/content/Card/__stories__/WithGrayTopBorder.d.ts +2 -2
  127. package/libs/ui/src/content/Card/__stories__/WithGroupButton.d.ts +2 -2
  128. package/libs/ui/src/content/Card/__stories__/WithLink.d.ts +2 -2
  129. package/libs/ui/src/content/Chip/Chip.stories.d.ts +5 -5
  130. package/libs/ui/src/content/Chip/__stories__/ClickableChip.d.ts +2 -2
  131. package/libs/ui/src/content/Chip/__stories__/ClickableDeletableChip.d.ts +2 -2
  132. package/libs/ui/src/content/Chip/__stories__/Default.d.ts +2 -2
  133. package/libs/ui/src/content/Chip/__stories__/DeletableChip.d.ts +2 -2
  134. package/libs/ui/src/content/Chip/__stories__/GroupOfChips.d.ts +2 -2
  135. package/libs/ui/src/content/Details/Details.stories.d.ts +1 -1
  136. package/libs/ui/src/content/Details/__stories__/Default.d.ts +2 -2
  137. package/libs/ui/src/content/List/List.stories.d.ts +6 -6
  138. package/libs/ui/src/content/List/__stories__/BulletList.d.ts +2 -2
  139. package/libs/ui/src/content/List/__stories__/Default.d.ts +2 -2
  140. package/libs/ui/src/content/List/__stories__/HorizontalList.d.ts +2 -2
  141. package/libs/ui/src/content/List/__stories__/NestedBulletList.d.ts +2 -2
  142. package/libs/ui/src/content/List/__stories__/NumberedList.d.ts +2 -2
  143. package/libs/ui/src/content/List/__stories__/WithExtraSpace.d.ts +2 -2
  144. package/libs/ui/src/content/Markdown/Markdown.stories.d.ts +9 -0
  145. package/libs/ui/src/content/Markdown/__stories__/Default.d.ts +3 -0
  146. package/libs/ui/src/content/Markdown/index.d.ts +5 -2
  147. package/libs/ui/src/content/SafeHTML/SafeHTML.stories.d.ts +9 -0
  148. package/libs/ui/src/content/SafeHTML/__stories__/Default.d.ts +3 -0
  149. package/libs/ui/src/content/SafeHTML/index.d.ts +1 -1
  150. package/libs/ui/src/content/StepNav/StepNav.stories.d.ts +5 -5
  151. package/libs/ui/src/content/StepNav/__stories__/Auto.d.ts +2 -2
  152. package/libs/ui/src/content/StepNav/__stories__/Default.d.ts +2 -2
  153. package/libs/ui/src/content/StepNav/__stories__/Dense.d.ts +2 -2
  154. package/libs/ui/src/content/StepNav/__stories__/WithHints.d.ts +2 -2
  155. package/libs/ui/src/content/StepNav/__stories__/WithHook.d.ts +2 -2
  156. package/libs/ui/src/content/StepNav/auto.d.ts +7 -7
  157. package/libs/ui/src/content/StepNav/index.d.ts +0 -1
  158. package/libs/ui/src/content/SummaryList/SummaryList.stories.d.ts +15 -8
  159. package/libs/ui/src/content/SummaryList/__stories__/SummaryListExample.d.ts +14 -0
  160. package/libs/ui/src/content/Table/Table.stories.d.ts +18 -18
  161. package/libs/ui/src/content/Table/TableFloatingScroll.d.ts +2 -2
  162. package/libs/ui/src/content/Table/__stories__/DarkVariant.d.ts +2 -2
  163. package/libs/ui/src/content/Table/__stories__/DarkVariantWithVerticalHeaders.d.ts +2 -2
  164. package/libs/ui/src/content/Table/__stories__/Default.d.ts +2 -2
  165. package/libs/ui/src/content/Table/__stories__/DefinedWidth.d.ts +2 -2
  166. package/libs/ui/src/content/Table/__stories__/Densed.d.ts +2 -2
  167. package/libs/ui/src/content/Table/__stories__/Full.d.ts +2 -2
  168. package/libs/ui/src/content/Table/__stories__/MultipleProps.d.ts +2 -2
  169. package/libs/ui/src/content/Table/__stories__/NoData.d.ts +2 -2
  170. package/libs/ui/src/content/Table/__stories__/NumericDataType.d.ts +2 -2
  171. package/libs/ui/src/content/Table/__stories__/RowColors.d.ts +2 -2
  172. package/libs/ui/src/content/Table/__stories__/Stacked.d.ts +2 -2
  173. package/libs/ui/src/content/Table/__stories__/TableCaptions.d.ts +2 -2
  174. package/libs/ui/src/content/Table/__stories__/VerticalBorders.d.ts +2 -2
  175. package/libs/ui/src/content/Table/__stories__/VerticalHeaders.d.ts +2 -2
  176. package/libs/ui/src/content/Table/__stories__/WithFloatingScroll.d.ts +2 -2
  177. package/libs/ui/src/content/Table/__stories__/WithLoader.d.ts +2 -2
  178. package/libs/ui/src/content/Table/__stories__/WithSortFilters.d.ts +2 -2
  179. package/libs/ui/src/content/Table/__stories__/ZebraProp.d.ts +2 -2
  180. package/libs/ui/src/content/Table/hooks/useSort.d.ts +1 -1
  181. package/libs/ui/src/content/Table/index.d.ts +2 -2
  182. package/libs/ui/src/content/TaskList/TaskList.stories.d.ts +2 -2
  183. package/libs/ui/src/content/TaskList/__stories__/Default.d.ts +2 -2
  184. package/libs/ui/src/content/TaskList/__stories__/Dense.d.ts +2 -2
  185. package/libs/ui/src/content/Timeline/Timeline.stories.d.ts +2 -2
  186. package/libs/ui/src/content/Timeline/__stories__/Default.d.ts +2 -2
  187. package/libs/ui/src/content/Timeline/__stories__/Dense.d.ts +2 -2
  188. package/libs/ui/src/feedback/CopyToClipboard/CopyToClipboard.stories.d.ts +3 -3
  189. package/libs/ui/src/feedback/CopyToClipboard/__stories__/Banner.d.ts +2 -2
  190. package/libs/ui/src/feedback/CopyToClipboard/__stories__/Default.d.ts +2 -2
  191. package/libs/ui/src/feedback/CopyToClipboard/__stories__/Dense.d.ts +2 -2
  192. package/libs/ui/src/feedback/CopyToClipboard/index.d.ts +1 -1
  193. package/libs/ui/src/feedback/ErrorSummary/ErrorSummary.stories.d.ts +6 -6
  194. package/libs/ui/src/feedback/ErrorSummary/__stories__/Default.d.ts +2 -2
  195. package/libs/ui/src/feedback/ErrorSummary/__stories__/Dense.d.ts +2 -2
  196. package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToCheckbox.d.ts +2 -2
  197. package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToField.d.ts +2 -2
  198. package/libs/ui/src/feedback/ErrorSummary/__stories__/LinkedToInput.d.ts +2 -2
  199. package/libs/ui/src/feedback/ErrorSummary/__stories__/WithBackLinkAndButton.d.ts +2 -2
  200. package/libs/ui/src/feedback/NotificationBanner/NotificationBanner.stories.d.ts +3 -3
  201. package/libs/ui/src/feedback/NotificationBanner/__stories__/Default.d.ts +2 -2
  202. package/libs/ui/src/feedback/NotificationBanner/__stories__/Dense.d.ts +2 -2
  203. package/libs/ui/src/feedback/NotificationBanner/__stories__/Success.d.ts +2 -2
  204. package/libs/ui/src/feedback/PhaseBanner/PhaseBanner.stories.d.ts +2 -2
  205. package/libs/ui/src/feedback/PhaseBanner/__stories__/Default.d.ts +2 -2
  206. package/libs/ui/src/feedback/PhaseBanner/__stories__/Underlined.d.ts +2 -2
  207. package/libs/ui/src/feedback/WarningText/WarningText.stories.d.ts +3 -3
  208. package/libs/ui/src/feedback/WarningText/__stories__/AssistiveText.d.ts +2 -2
  209. package/libs/ui/src/feedback/WarningText/__stories__/Default.d.ts +2 -2
  210. package/libs/ui/src/feedback/WarningText/__stories__/Dense.d.ts +2 -2
  211. package/libs/ui/src/feedback/WarningText/index.d.ts +1 -0
  212. package/libs/ui/src/form/AutoComplete/AutoComplete.stories.d.ts +10 -7
  213. package/libs/ui/src/form/AutoComplete/Status/index.d.ts +4 -2
  214. package/libs/ui/src/form/AutoComplete/__stories__/Default.d.ts +2 -2
  215. package/libs/ui/src/form/AutoComplete/__stories__/Multiple.d.ts +3 -0
  216. package/libs/ui/src/form/AutoComplete/__stories__/MultipleShowingTwoSelected.d.ts +3 -0
  217. package/libs/ui/src/form/AutoComplete/__stories__/MultipleWithDefaultValues.d.ts +3 -0
  218. package/libs/ui/src/form/AutoComplete/__stories__/MultipleWithMinLength.d.ts +3 -0
  219. package/libs/ui/src/form/AutoComplete/__stories__/WithAutoSelect.d.ts +2 -2
  220. package/libs/ui/src/form/AutoComplete/__stories__/WithDefaultValue.d.ts +2 -2
  221. package/libs/ui/src/form/AutoComplete/__stories__/WithMinLength.d.ts +2 -2
  222. package/libs/ui/src/form/AutoComplete/__stories__/WithPlaceHolder.d.ts +2 -2
  223. package/libs/ui/src/form/AutoComplete/__stories__/WithShowAllValues.d.ts +2 -2
  224. package/libs/ui/src/form/AutoComplete/index.d.ts +13 -20
  225. package/libs/ui/src/form/AutoComplete/utils.d.ts +1 -0
  226. package/libs/ui/src/form/Button/Button.stories.d.ts +12 -12
  227. package/libs/ui/src/form/Button/ThemeToggleButton.d.ts +2 -2
  228. package/libs/ui/src/form/Button/__stories__/Back.d.ts +2 -2
  229. package/libs/ui/src/form/Button/__stories__/ButtonLinkButton.d.ts +2 -2
  230. package/libs/ui/src/form/Button/__stories__/CallToActionButton.d.ts +2 -2
  231. package/libs/ui/src/form/Button/__stories__/Dense.d.ts +2 -2
  232. package/libs/ui/src/form/Button/__stories__/Disabled.d.ts +2 -2
  233. package/libs/ui/src/form/Button/__stories__/GroupingButtons.d.ts +2 -2
  234. package/libs/ui/src/form/Button/__stories__/GroupingButtonsAndLinks.d.ts +2 -2
  235. package/libs/ui/src/form/Button/__stories__/Primary.d.ts +2 -2
  236. package/libs/ui/src/form/Button/__stories__/Secondary.d.ts +2 -2
  237. package/libs/ui/src/form/Button/__stories__/ThemeToggle.d.ts +2 -2
  238. package/libs/ui/src/form/Button/__stories__/Warning.d.ts +2 -2
  239. package/libs/ui/src/form/Button/__stories__/WithVariantLink.d.ts +2 -2
  240. package/libs/ui/src/form/Checkbox/Checkbox.stories.d.ts +10 -10
  241. package/libs/ui/src/form/Checkbox/__stories__/ConditionalReveal.d.ts +2 -2
  242. package/libs/ui/src/form/Checkbox/__stories__/Default.d.ts +2 -2
  243. package/libs/ui/src/form/Checkbox/__stories__/Dense.d.ts +2 -2
  244. package/libs/ui/src/form/Checkbox/__stories__/Inline.d.ts +2 -2
  245. package/libs/ui/src/form/Checkbox/__stories__/InlineWithDivider.d.ts +2 -2
  246. package/libs/ui/src/form/Checkbox/__stories__/MultipleQuestions.d.ts +2 -2
  247. package/libs/ui/src/form/Checkbox/__stories__/NoneAnswer.d.ts +2 -2
  248. package/libs/ui/src/form/Checkbox/__stories__/NoneAnswerWithError.d.ts +2 -2
  249. package/libs/ui/src/form/Checkbox/__stories__/WithErrorMessage.d.ts +2 -2
  250. package/libs/ui/src/form/Checkbox/__stories__/WithHint.d.ts +2 -2
  251. package/libs/ui/src/form/Checkbox/index.d.ts +1 -0
  252. package/libs/ui/src/form/DateInputContainer/DateInputContainer.stories.d.ts +5 -5
  253. package/libs/ui/src/form/DateInputContainer/__stories__/Default.d.ts +2 -2
  254. package/libs/ui/src/form/DateInputContainer/__stories__/Dense.d.ts +2 -2
  255. package/libs/ui/src/form/DateInputContainer/__stories__/MultipleQuestions.d.ts +2 -2
  256. package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessage.d.ts +2 -2
  257. package/libs/ui/src/form/DateInputContainer/__stories__/WithErrorMessageForSingleField.d.ts +2 -2
  258. package/libs/ui/src/form/ErrorMessage/ErrorMessage.stories.d.ts +3 -3
  259. package/libs/ui/src/form/ErrorMessage/__stories__/DateInputError.d.ts +2 -2
  260. package/libs/ui/src/form/ErrorMessage/__stories__/Default.d.ts +2 -2
  261. package/libs/ui/src/form/ErrorMessage/__stories__/ErrorMessageOnly.d.ts +2 -2
  262. package/libs/ui/src/form/FileUpload/FileUpload.stories.d.ts +2 -2
  263. package/libs/ui/src/form/FileUpload/__stories__/Default.d.ts +2 -2
  264. package/libs/ui/src/form/FileUpload/__stories__/WithErrorMessage.d.ts +2 -2
  265. package/libs/ui/src/form/RadioContainer/RadioContainer.stories.d.ts +10 -10
  266. package/libs/ui/src/form/RadioContainer/__stories__/ConditionalReveal.d.ts +2 -2
  267. package/libs/ui/src/form/RadioContainer/__stories__/Default.d.ts +2 -2
  268. package/libs/ui/src/form/RadioContainer/__stories__/Dense.d.ts +2 -2
  269. package/libs/ui/src/form/RadioContainer/__stories__/Inline.d.ts +2 -2
  270. package/libs/ui/src/form/RadioContainer/__stories__/InlineWithDivider.d.ts +2 -2
  271. package/libs/ui/src/form/RadioContainer/__stories__/MultipleQuestions.d.ts +2 -2
  272. package/libs/ui/src/form/RadioContainer/__stories__/NoneAnswer.d.ts +2 -2
  273. package/libs/ui/src/form/RadioContainer/__stories__/WithErrorMessage.d.ts +2 -2
  274. package/libs/ui/src/form/RadioContainer/__stories__/WithHints.d.ts +2 -2
  275. package/libs/ui/src/form/RadioContainer/__stories__/WithMediumLegend.d.ts +2 -2
  276. package/libs/ui/src/form/SelectContainer/SelectContainer.stories.d.ts +4 -4
  277. package/libs/ui/src/form/SelectContainer/__stories__/Default.d.ts +2 -2
  278. package/libs/ui/src/form/SelectContainer/__stories__/Dense.d.ts +2 -2
  279. package/libs/ui/src/form/SelectContainer/__stories__/DisabledInput.d.ts +2 -2
  280. package/libs/ui/src/form/SelectContainer/__stories__/WithHint.d.ts +2 -2
  281. package/libs/ui/src/form/SingleCharacterInputs/SingleCharacterInput.stories.d.ts +4 -4
  282. package/libs/ui/src/form/SingleCharacterInputs/__stories__/Default.d.ts +2 -2
  283. package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithDefaultError.d.ts +2 -2
  284. package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageInvalidCode.d.ts +2 -2
  285. package/libs/ui/src/form/SingleCharacterInputs/__stories__/WithErrorMessageLessDigit.d.ts +2 -2
  286. package/libs/ui/src/form/TextArea/TextArea.stories.d.ts +8 -8
  287. package/libs/ui/src/form/TextArea/__stories__/Default.d.ts +2 -2
  288. package/libs/ui/src/form/TextArea/__stories__/Dense.d.ts +2 -2
  289. package/libs/ui/src/form/TextArea/__stories__/DisabledInput.d.ts +2 -2
  290. package/libs/ui/src/form/TextArea/__stories__/LimitedCharacters.d.ts +2 -2
  291. package/libs/ui/src/form/TextArea/__stories__/MultipleQuestions.d.ts +2 -2
  292. package/libs/ui/src/form/TextArea/__stories__/WithDeclaredRows.d.ts +2 -2
  293. package/libs/ui/src/form/TextArea/__stories__/WithErrorMessage.d.ts +2 -2
  294. package/libs/ui/src/form/TextArea/__stories__/WithHint.d.ts +2 -2
  295. package/libs/ui/src/form/TextInput/TextInput.stories.d.ts +10 -10
  296. package/libs/ui/src/form/TextInput/__stories__/AskingForNumbers.d.ts +2 -2
  297. package/libs/ui/src/form/TextInput/__stories__/Default.d.ts +2 -2
  298. package/libs/ui/src/form/TextInput/__stories__/Dense.d.ts +2 -2
  299. package/libs/ui/src/form/TextInput/__stories__/DisabledInput.d.ts +2 -2
  300. package/libs/ui/src/form/TextInput/__stories__/DisabledInputWithValue.d.ts +2 -2
  301. package/libs/ui/src/form/TextInput/__stories__/FixedWidths.d.ts +2 -2
  302. package/libs/ui/src/form/TextInput/__stories__/FluidWidths.d.ts +2 -2
  303. package/libs/ui/src/form/TextInput/__stories__/MultipleQuestions.d.ts +2 -2
  304. package/libs/ui/src/form/TextInput/__stories__/WithErrorMessage.d.ts +2 -2
  305. package/libs/ui/src/form/TextInput/__stories__/WithHint.d.ts +2 -2
  306. package/libs/ui/src/govgr/Footer/Copyright.d.ts +1 -0
  307. package/libs/ui/src/i18n/I18nText.d.ts +1 -1
  308. package/libs/ui/src/icons/index.d.ts +1 -1
  309. package/libs/ui/src/layouts/Basic/Basic.stories.d.ts +4 -3
  310. package/libs/ui/src/layouts/Basic/__stories__/Default.d.ts +2 -2
  311. package/libs/ui/src/layouts/Basic/__stories__/MultipleRowsLayout.d.ts +2 -2
  312. package/libs/ui/src/layouts/Basic/__stories__/TwoThirdsOneThirdColumns.d.ts +2 -2
  313. package/libs/ui/src/layouts/Basic/__stories__/WithBasicLayout.d.ts +3 -0
  314. package/libs/ui/src/layouts/Grid/Grid.stories.d.ts +3 -3
  315. package/libs/ui/src/layouts/Grid/__stories__/Default.d.ts +2 -2
  316. package/libs/ui/src/layouts/Grid/__stories__/Inline.d.ts +2 -2
  317. package/libs/ui/src/layouts/Grid/__stories__/ResponsiveSpacing.d.ts +2 -2
  318. package/libs/ui/src/layouts/Screen/Screen.stories.d.ts +4 -4
  319. package/libs/ui/src/layouts/Screen/__stories__/Default.d.ts +2 -2
  320. package/libs/ui/src/layouts/Screen/__stories__/ScreenDown.d.ts +2 -2
  321. package/libs/ui/src/layouts/Screen/__stories__/ScreenUp.d.ts +2 -2
  322. package/libs/ui/src/layouts/Screen/__stories__/SpecificScreenSize.d.ts +2 -2
  323. package/libs/ui/src/layouts/Screen/index.d.ts +3 -2
  324. package/libs/ui/src/layouts/Stack/Stack.stories.d.ts +6 -6
  325. package/libs/ui/src/layouts/Stack/__stories__/AlignItems.d.ts +2 -2
  326. package/libs/ui/src/layouts/Stack/__stories__/Default.d.ts +2 -2
  327. package/libs/ui/src/layouts/Stack/__stories__/JustifyContent.d.ts +2 -2
  328. package/libs/ui/src/layouts/Stack/__stories__/NoWrap.d.ts +2 -2
  329. package/libs/ui/src/layouts/Stack/__stories__/Row.d.ts +2 -2
  330. package/libs/ui/src/layouts/Stack/__stories__/Spacing.d.ts +2 -2
  331. package/libs/ui/src/navigation/BackLink/BackLink.stories.d.ts +1 -1
  332. package/libs/ui/src/navigation/BackLink/__stories__/Default.d.ts +2 -2
  333. package/libs/ui/src/navigation/BackToTopLink/BackToTopLink.stories.d.ts +2 -2
  334. package/libs/ui/src/navigation/BackToTopLink/__stories__/Default.d.ts +2 -2
  335. package/libs/ui/src/navigation/BackToTopLink/__stories__/InMain.d.ts +2 -2
  336. package/libs/ui/src/navigation/Breadcrumbs/Breadcrumbs.stories.d.ts +4 -1
  337. package/libs/ui/src/navigation/Breadcrumbs/__stories__/Auto.d.ts +3 -0
  338. package/libs/ui/src/navigation/Breadcrumbs/__stories__/Default.d.ts +2 -2
  339. package/libs/ui/src/navigation/Breadcrumbs/__stories__/WithHook.d.ts +3 -0
  340. package/libs/ui/src/navigation/Breadcrumbs/__stories__/WithoutCurrentPage.d.ts +3 -0
  341. package/libs/ui/src/navigation/Breadcrumbs/auto.d.ts +16 -0
  342. package/libs/ui/src/navigation/Breadcrumbs/hooks.d.ts +26 -0
  343. package/libs/ui/src/navigation/Breadcrumbs/index.d.ts +1 -0
  344. package/libs/ui/src/navigation/Breadcrumbs/slug.d.ts +1 -0
  345. package/libs/ui/src/navigation/Breadcrumbs/utils.d.ts +1 -0
  346. package/libs/ui/src/navigation/Drawer/Drawer.stories.d.ts +3 -3
  347. package/libs/ui/src/navigation/Drawer/__stories__/Auto.d.ts +2 -2
  348. package/libs/ui/src/navigation/Drawer/__stories__/Default.d.ts +2 -2
  349. package/libs/ui/src/navigation/Drawer/__stories__/WithHook.d.ts +2 -2
  350. package/libs/ui/src/navigation/Drawer/auto.d.ts +6 -6
  351. package/libs/ui/src/navigation/Drawer/index.d.ts +0 -1
  352. package/libs/ui/src/navigation/Dropdown/Dropdown.stories.d.ts +11 -10
  353. package/libs/ui/src/navigation/Dropdown/__stories__/AlignRight.d.ts +2 -2
  354. package/libs/ui/src/navigation/Dropdown/__stories__/ContentPosition.d.ts +2 -2
  355. package/libs/ui/src/navigation/Dropdown/__stories__/Default.d.ts +2 -2
  356. package/libs/ui/src/navigation/Dropdown/__stories__/Dense.d.ts +2 -2
  357. package/libs/ui/src/navigation/Dropdown/__stories__/Disabled.d.ts +2 -2
  358. package/libs/ui/src/navigation/Dropdown/__stories__/PlacementTop.d.ts +2 -2
  359. package/libs/ui/src/navigation/Dropdown/__stories__/ScrollableContent.d.ts +3 -0
  360. package/libs/ui/src/navigation/Dropdown/__stories__/Secondary.d.ts +2 -2
  361. package/libs/ui/src/navigation/Dropdown/__stories__/VariantLink.d.ts +2 -2
  362. package/libs/ui/src/navigation/Dropdown/__stories__/Warning.d.ts +2 -2
  363. package/libs/ui/src/navigation/Dropdown/__stories__/WithIcons.d.ts +2 -2
  364. package/libs/ui/src/navigation/Dropdown/index.d.ts +1 -1
  365. package/libs/ui/src/navigation/Link/Link.stories.d.ts +7 -6
  366. package/libs/ui/src/navigation/Link/__stories__/DarkBackground.d.ts +2 -2
  367. package/libs/ui/src/navigation/Link/__stories__/DarkBackgroundNoUnderline.d.ts +2 -2
  368. package/libs/ui/src/navigation/Link/__stories__/Default.d.ts +2 -2
  369. package/libs/ui/src/navigation/Link/__stories__/ExternalLink.d.ts +2 -2
  370. package/libs/ui/src/navigation/Link/__stories__/NoUnderline.d.ts +2 -2
  371. package/libs/ui/src/navigation/Link/__stories__/OpensInNewTab.d.ts +2 -2
  372. package/libs/ui/src/navigation/Link/__stories__/WithProvider.d.ts +3 -0
  373. package/libs/ui/src/navigation/Link/index.d.ts +2 -3
  374. package/libs/ui/src/navigation/NavList/NavList.stories.d.ts +9 -8
  375. package/libs/ui/src/navigation/NavList/__stories__/Default.d.ts +2 -2
  376. package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithDrawer.d.ts +2 -2
  377. package/libs/ui/src/navigation/NavList/__stories__/HorizontalWithoutDrawer.d.ts +2 -2
  378. package/libs/ui/src/navigation/NavList/__stories__/NavListWithoutNav.d.ts +2 -2
  379. package/libs/ui/src/navigation/NavList/__stories__/UsingHeaderButton.d.ts +2 -2
  380. package/libs/ui/src/navigation/NavList/__stories__/UsingNavListAuto.d.ts +2 -2
  381. package/libs/ui/src/navigation/NavList/__stories__/Vertical.d.ts +2 -2
  382. package/libs/ui/src/navigation/NavList/__stories__/VerticalWithoutDrawer.d.ts +2 -2
  383. package/libs/ui/src/navigation/NavList/__stories__/WithBadge.d.ts +3 -0
  384. package/libs/ui/src/navigation/NavList/index.d.ts +2 -1
  385. package/libs/ui/src/navigation/NavList/types.d.ts +2 -3
  386. package/libs/ui/src/navigation/Pagination/Pagination.d.ts +39 -0
  387. package/libs/ui/src/navigation/Pagination/Pagination.stories.d.ts +7 -7
  388. package/libs/ui/src/navigation/Pagination/__stories__/Auto.d.ts +2 -2
  389. package/libs/ui/src/navigation/Pagination/__stories__/Default.d.ts +2 -2
  390. package/libs/ui/src/navigation/Pagination/__stories__/PaginationSmall.d.ts +2 -2
  391. package/libs/ui/src/navigation/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -2
  392. package/libs/ui/src/navigation/Pagination/__stories__/WithHook.d.ts +2 -2
  393. package/libs/ui/src/navigation/Pagination/__stories__/WithInactiveValues.d.ts +2 -2
  394. package/libs/ui/src/navigation/Pagination/__stories__/WithResultsPerPage.d.ts +2 -2
  395. package/libs/ui/src/navigation/Pagination/auto.d.ts +11 -8
  396. package/libs/ui/src/navigation/Pagination/hooks.d.ts +1 -1
  397. package/libs/ui/src/navigation/Pagination/index.d.ts +3 -40
  398. package/libs/ui/src/navigation/SkipLink/SkipLink.stories.d.ts +1 -1
  399. package/libs/ui/src/navigation/SkipLink/__stories__/Default.d.ts +2 -2
  400. package/libs/ui/src/navigation/Tabs/Tabs.stories.d.ts +4 -3
  401. package/libs/ui/src/navigation/Tabs/__stories__/Auto.d.ts +2 -2
  402. package/libs/ui/src/navigation/Tabs/__stories__/Default.d.ts +2 -2
  403. package/libs/ui/src/navigation/Tabs/__stories__/Dense.d.ts +2 -2
  404. package/libs/ui/src/navigation/Tabs/__stories__/UsingAccordion.d.ts +3 -0
  405. package/libs/ui/src/navigation/Tabs/auto.d.ts +6 -5
  406. package/libs/ui/src/navigation/Tabs/index.d.ts +0 -1
  407. package/libs/ui/src/registry.d.ts +16 -0
  408. package/libs/ui/src/typography/CodeBlock/CodeBlock.stories.d.ts +11 -0
  409. package/libs/ui/src/typography/CodeBlock/__stories__/Default.d.ts +3 -0
  410. package/libs/ui/src/typography/CodeBlock/__stories__/Highlighted.d.ts +3 -0
  411. package/libs/ui/src/typography/CodeBlock/__stories__/WithCopyToClipboard.d.ts +3 -0
  412. package/libs/ui/src/typography/CodeBlock/__stories__/WithPhaseBanner.d.ts +3 -0
  413. package/libs/ui/src/typography/CodeBlock/index.d.ts +14 -2
  414. package/libs/ui/src/typography/Heading/Heading.stories.d.ts +1 -1
  415. package/libs/ui/src/typography/Heading/__stories__/Default.d.ts +2 -2
  416. package/libs/ui/src/typography/HeadingCaption/HeadingCaption.stories.d.ts +2 -2
  417. package/libs/ui/src/typography/HeadingCaption/__stories__/Default.d.ts +2 -2
  418. package/libs/ui/src/typography/HeadingCaption/__stories__/NestedToTitle.d.ts +2 -2
  419. package/libs/ui/src/typography/Hint/Hint.stories.d.ts +2 -2
  420. package/libs/ui/src/typography/Hint/__stories__/Default.d.ts +2 -2
  421. package/libs/ui/src/typography/Hint/__stories__/FontSizes.d.ts +2 -2
  422. package/libs/ui/src/typography/NormalText/NormalText.stories.d.ts +4 -4
  423. package/libs/ui/src/typography/NormalText/__stories__/Default.d.ts +2 -2
  424. package/libs/ui/src/typography/NormalText/__stories__/FontSizes.d.ts +2 -2
  425. package/libs/ui/src/typography/NormalText/__stories__/FontWeight.d.ts +2 -2
  426. package/libs/ui/src/typography/NormalText/__stories__/Variants.d.ts +2 -2
  427. package/libs/ui/src/typography/Paragraph/Paragraph.stories.d.ts +5 -5
  428. package/libs/ui/src/typography/Paragraph/__stories__/Default.d.ts +2 -2
  429. package/libs/ui/src/typography/Paragraph/__stories__/FontSizes.d.ts +2 -2
  430. package/libs/ui/src/typography/Paragraph/__stories__/FontWeight.d.ts +2 -2
  431. package/libs/ui/src/typography/Paragraph/__stories__/LeadVariant.d.ts +2 -2
  432. package/libs/ui/src/typography/Paragraph/__stories__/SmallVariant.d.ts +2 -2
  433. package/libs/ui/src/utils/Base/index.d.ts +1 -0
  434. package/libs/ui/src/utils/TestVariant/index.d.ts +7 -0
  435. package/libs/ui/src/utils/VisuallyHidden/VisuallyHidden.stories.d.ts +1 -1
  436. package/libs/ui/src/utils/VisuallyHidden/__stories__/Default.d.ts +2 -2
  437. package/libs/ui/src/utils/hooks/useDebounce.d.ts +1 -1
  438. package/libs/ui/src/utils/hooks/useKeypress.d.ts +1 -1
  439. package/libs/ui/src/utils/hooks/useScreen.d.ts +1 -1
  440. package/libs-ui/react-core/src/Accordion/index.d.ts +1 -1
  441. package/libs-ui/react-core/src/AccordionControls/index.d.ts +1 -1
  442. package/libs-ui/react-core/src/AccordionSection/index.d.ts +1 -1
  443. package/libs-ui/react-core/src/AccordionSectionContent/index.d.ts +1 -1
  444. package/libs-ui/react-core/src/AccordionSectionSummary/index.d.ts +1 -1
  445. package/libs-ui/react-core/src/AccordionSectionSummaryHeading/index.d.ts +1 -1
  446. package/libs-ui/react-core/src/AdminAside/index.d.ts +3 -3
  447. package/libs-ui/react-core/src/AdminContainer/index.d.ts +8 -1
  448. package/libs-ui/react-core/src/AdminHeader/index.d.ts +4 -4
  449. package/libs-ui/react-core/src/AdminHeaderContent/index.d.ts +3 -3
  450. package/libs-ui/react-core/src/AdminLayout/index.d.ts +3 -8
  451. package/libs-ui/react-core/src/AdminMain/index.d.ts +3 -3
  452. package/libs-ui/react-core/src/AdminTopSection/index.d.ts +1 -1
  453. package/libs-ui/react-core/src/Aside/index.d.ts +1 -1
  454. package/libs-ui/react-core/src/AutoCompleteAssistiveHint/index.d.ts +1 -1
  455. package/libs-ui/react-core/src/AutoCompleteContainer/index.d.ts +22 -0
  456. package/libs-ui/react-core/src/AutoCompleteInput/index.d.ts +1 -9
  457. package/libs-ui/react-core/src/AutoCompleteInputTypeahead/index.d.ts +1 -1
  458. package/libs-ui/react-core/src/AutoCompleteMultipleInput/index.d.ts +9 -0
  459. package/libs-ui/react-core/src/AutoCompleteMultipleInputContainer/index.d.ts +12 -0
  460. package/libs-ui/react-core/src/AutoCompleteResultList/index.d.ts +1 -10
  461. package/libs-ui/react-core/src/AutoCompleteResultListItem/index.d.ts +1 -1
  462. package/libs-ui/react-core/src/AutoCompleteStatus/index.d.ts +2 -2
  463. package/libs-ui/react-core/src/AutoCompleteStatusContainer/index.d.ts +10 -0
  464. package/libs-ui/react-core/src/BackLink/index.d.ts +1 -1
  465. package/libs-ui/react-core/src/BackToTopContainer/index.d.ts +1 -1
  466. package/libs-ui/react-core/src/BackToTopLimit/index.d.ts +1 -1
  467. package/libs-ui/react-core/src/BackToTopLink/index.d.ts +1 -1
  468. package/libs-ui/react-core/src/BannerContainer/index.d.ts +1 -1
  469. package/libs-ui/react-core/src/Base/index.d.ts +2 -95
  470. package/libs-ui/react-core/src/Base/index.web.d.ts +97 -0
  471. package/libs-ui/react-core/src/Base/utils.d.ts +41 -0
  472. package/libs-ui/react-core/src/Blockquote/index.d.ts +1 -1
  473. package/libs-ui/react-core/src/Bottom/index.d.ts +1 -1
  474. package/libs-ui/react-core/src/BottomInfo/index.d.ts +1 -1
  475. package/libs-ui/react-core/src/BottomInfoContainer/index.d.ts +1 -1
  476. package/libs-ui/react-core/src/BottomInfoContent/index.d.ts +1 -1
  477. package/libs-ui/react-core/src/Breadcrumbs/index.d.ts +1 -1
  478. package/libs-ui/react-core/src/BreadcrumbsList/index.d.ts +1 -1
  479. package/libs-ui/react-core/src/BreadcrumbsListItem/index.d.ts +1 -1
  480. package/libs-ui/react-core/src/Button/index.d.ts +1 -1
  481. package/libs-ui/react-core/src/ButtonGroup/index.d.ts +1 -1
  482. package/libs-ui/react-core/src/ButtonLink/index.d.ts +1 -1
  483. package/libs-ui/react-core/src/CallToAction/index.d.ts +1 -1
  484. package/libs-ui/react-core/src/Card/index.d.ts +1 -1
  485. package/libs-ui/react-core/src/CardAction/index.d.ts +1 -1
  486. package/libs-ui/react-core/src/CardContent/index.d.ts +1 -1
  487. package/libs-ui/react-core/src/CardHeading/index.d.ts +1 -1
  488. package/libs-ui/react-core/src/Checkbox/index.d.ts +1 -1
  489. package/libs-ui/react-core/src/CheckboxConditional/index.d.ts +1 -1
  490. package/libs-ui/react-core/src/CheckboxItem/index.d.ts +1 -1
  491. package/libs-ui/react-core/src/CheckboxItemInput/index.d.ts +2 -0
  492. package/libs-ui/react-core/src/CheckboxItemInput/index.web.d.ts +10 -0
  493. package/libs-ui/react-core/src/Chip/index.d.ts +1 -1
  494. package/libs-ui/react-core/src/ChipContainer/index.d.ts +1 -1
  495. package/libs-ui/react-core/src/ChipHeading/index.d.ts +1 -1
  496. package/libs-ui/react-core/src/ChipKeyValue/index.d.ts +1 -1
  497. package/libs-ui/react-core/src/ChoiceDividerText/index.d.ts +1 -1
  498. package/libs-ui/react-core/src/CircularProgress/index.d.ts +1 -1
  499. package/libs-ui/react-core/src/CloseButton/index.d.ts +1 -1
  500. package/libs-ui/react-core/src/Code/index.d.ts +1 -1
  501. package/libs-ui/react-core/src/CodeBlockContainer/index.d.ts +10 -0
  502. package/libs-ui/react-core/src/CodeBlockContent/index.d.ts +10 -0
  503. package/libs-ui/react-core/src/CodeBlockHeader/index.d.ts +19 -0
  504. package/libs-ui/react-core/src/Container/index.d.ts +1 -1
  505. package/libs-ui/react-core/src/CopyToClipboardContainer/index.d.ts +2 -31
  506. package/libs-ui/react-core/src/CopyToClipboardContainer/index.web.d.ts +31 -0
  507. package/libs-ui/react-core/src/CopyToClipboardMessage/index.d.ts +2 -18
  508. package/libs-ui/react-core/src/CopyToClipboardMessage/index.web.d.ts +18 -0
  509. package/libs-ui/react-core/src/CopyrightContainer/index.d.ts +1 -1
  510. package/libs-ui/react-core/src/DateInputContainer/index.d.ts +1 -1
  511. package/libs-ui/react-core/src/DateInputItem/index.d.ts +2 -26
  512. package/libs-ui/react-core/src/DateInputItem/index.web.d.ts +26 -0
  513. package/libs-ui/react-core/src/Details/index.d.ts +2 -10
  514. package/libs-ui/react-core/src/Details/index.web.d.ts +10 -0
  515. package/libs-ui/react-core/src/DetailsContent/index.d.ts +1 -1
  516. package/libs-ui/react-core/src/DetailsSummary/index.d.ts +1 -1
  517. package/libs-ui/react-core/src/Drawer/index.d.ts +1 -1
  518. package/libs-ui/react-core/src/DrawerHeading/index.d.ts +1 -1
  519. package/libs-ui/react-core/src/DropdownBase/index.d.ts +1 -1
  520. package/libs-ui/react-core/src/DropdownButton/index.d.ts +1 -1
  521. package/libs-ui/react-core/src/DropdownContent/index.d.ts +9 -1
  522. package/libs-ui/react-core/src/ErrorMessage/index.d.ts +1 -1
  523. package/libs-ui/react-core/src/ErrorSummary/index.d.ts +1 -1
  524. package/libs-ui/react-core/src/FieldContainer/index.d.ts +1 -1
  525. package/libs-ui/react-core/src/Fieldset/index.d.ts +1 -1
  526. package/libs-ui/react-core/src/FieldsetLegend/index.d.ts +1 -1
  527. package/libs-ui/react-core/src/FileUpload/index.d.ts +1 -1
  528. package/libs-ui/react-core/src/FileUploadContainer/index.d.ts +1 -1
  529. package/libs-ui/react-core/src/FillableText/index.d.ts +1 -1
  530. package/libs-ui/react-core/src/FilterContainer/index.d.ts +1 -1
  531. package/libs-ui/react-core/src/FilterContent/index.d.ts +1 -1
  532. package/libs-ui/react-core/src/FilterHeadingContainer/index.d.ts +1 -1
  533. package/libs-ui/react-core/src/FilterOptionsSection/index.d.ts +1 -1
  534. package/libs-ui/react-core/src/FilterSelectedHeading/index.d.ts +1 -1
  535. package/libs-ui/react-core/src/FilterSelectedSection/index.d.ts +1 -1
  536. package/libs-ui/react-core/src/Footer/index.d.ts +1 -1
  537. package/libs-ui/react-core/src/FooterContainer/index.d.ts +1 -1
  538. package/libs-ui/react-core/src/FooterContent/index.d.ts +1 -1
  539. package/libs-ui/react-core/src/FooterContentLogos/index.d.ts +1 -1
  540. package/libs-ui/react-core/src/FooterHeading/index.d.ts +1 -1
  541. package/libs-ui/react-core/src/FooterImage/index.d.ts +1 -1
  542. package/libs-ui/react-core/src/FooterInfo/index.d.ts +1 -1
  543. package/libs-ui/react-core/src/FooterInfoSection/index.d.ts +1 -1
  544. package/libs-ui/react-core/src/FooterLink/index.d.ts +1 -1
  545. package/libs-ui/react-core/src/FooterList/index.d.ts +1 -1
  546. package/libs-ui/react-core/src/FooterListItem/index.d.ts +1 -1
  547. package/libs-ui/react-core/src/FooterNavigation/index.d.ts +1 -1
  548. package/libs-ui/react-core/src/FooterNavigationSection/index.d.ts +1 -1
  549. package/libs-ui/react-core/src/Form/index.d.ts +1 -1
  550. package/libs-ui/react-core/src/FullPageBackground/index.d.ts +1 -1
  551. package/libs-ui/react-core/src/GovGRLogo/index.d.ts +1 -1
  552. package/libs-ui/react-core/src/Grid/index.d.ts +1 -1
  553. package/libs-ui/react-core/src/Header/index.d.ts +1 -1
  554. package/libs-ui/react-core/src/HeaderContent/index.d.ts +1 -1
  555. package/libs-ui/react-core/src/HeaderLogo/index.d.ts +1 -1
  556. package/libs-ui/react-core/src/HeaderNavMenuContent/index.d.ts +1 -1
  557. package/libs-ui/react-core/src/HeaderSecondaryLogo/index.d.ts +1 -1
  558. package/libs-ui/react-core/src/HeaderSection/index.d.ts +1 -1
  559. package/libs-ui/react-core/src/HeaderTitle/index.d.ts +1 -1
  560. package/libs-ui/react-core/src/Heading/index.d.ts +1 -1
  561. package/libs-ui/react-core/src/HeadingCaption/index.d.ts +1 -1
  562. package/libs-ui/react-core/src/HellenicRepublicLogo/index.d.ts +1 -1
  563. package/libs-ui/react-core/src/Hidden/index.d.ts +1 -1
  564. package/libs-ui/react-core/src/Hint/index.d.ts +1 -1
  565. package/libs-ui/react-core/src/ImageLogo/index.d.ts +1 -1
  566. package/libs-ui/react-core/src/ImageLogoSet/index.d.ts +1 -1
  567. package/libs-ui/react-core/src/KitchenSinkAllComponents/index.d.ts +1 -1
  568. package/libs-ui/react-core/src/KitchenSinkCard/index.d.ts +1 -1
  569. package/libs-ui/react-core/src/KitchenSinkCategory/index.d.ts +1 -1
  570. package/libs-ui/react-core/src/KitchenSinkContent/index.d.ts +1 -1
  571. package/libs-ui/react-core/src/KitchenSinkContentInfo/index.d.ts +1 -1
  572. package/libs-ui/react-core/src/KitchenSinkContentTags/index.d.ts +1 -1
  573. package/libs-ui/react-core/src/KitchenSinkHeading/index.d.ts +1 -1
  574. package/libs-ui/react-core/src/KitchenSinkLetterContent/index.d.ts +1 -1
  575. package/libs-ui/react-core/src/LabelContainer/index.d.ts +1 -1
  576. package/libs-ui/react-core/src/LabelTitle/index.d.ts +1 -1
  577. package/libs-ui/react-core/src/LabeledText/index.d.ts +1 -1
  578. package/libs-ui/react-core/src/Layout/index.d.ts +1 -1
  579. package/libs-ui/react-core/src/LinkBase/index.d.ts +1 -1
  580. package/libs-ui/react-core/src/List/index.d.ts +1 -1
  581. package/libs-ui/react-core/src/ListItem/index.d.ts +1 -1
  582. package/libs-ui/react-core/src/LoaderContainer/index.d.ts +1 -1
  583. package/libs-ui/react-core/src/Main/index.d.ts +1 -1
  584. package/libs-ui/react-core/src/Masthead/index.d.ts +1 -1
  585. package/libs-ui/react-core/src/MastheadBody/index.d.ts +1 -1
  586. package/libs-ui/react-core/src/MastheadLogo/index.d.ts +1 -1
  587. package/libs-ui/react-core/src/ModalAction/index.d.ts +1 -1
  588. package/libs-ui/react-core/src/ModalContainer/index.d.ts +8 -1
  589. package/libs-ui/react-core/src/ModalContent/index.d.ts +1 -1
  590. package/libs-ui/react-core/src/ModalHeading/index.d.ts +1 -1
  591. package/libs-ui/react-core/src/Nav/index.d.ts +1 -1
  592. package/libs-ui/react-core/src/NavList/index.d.ts +1 -1
  593. package/libs-ui/react-core/src/NavListItemAction/index.d.ts +13 -1
  594. package/libs-ui/react-core/src/NavListItemActionContainer/index.d.ts +2 -10
  595. package/libs-ui/react-core/src/NavListItemActionContainer/index.web.d.ts +10 -0
  596. package/libs-ui/react-core/src/NavListItemBadge/index.d.ts +15 -0
  597. package/libs-ui/react-core/src/NavListItemButton/index.d.ts +1 -1
  598. package/libs-ui/react-core/src/NavListItemLink/index.d.ts +1 -1
  599. package/libs-ui/react-core/src/NavMenuContainer/index.d.ts +1 -1
  600. package/libs-ui/react-core/src/NavMenuContent/index.d.ts +1 -1
  601. package/libs-ui/react-core/src/NavMenuContentListBase/index.d.ts +1 -1
  602. package/libs-ui/react-core/src/NavMenuContentListItem/index.d.ts +1 -1
  603. package/libs-ui/react-core/src/NavMenuTitle/index.d.ts +1 -1
  604. package/libs-ui/react-core/src/NormalText/index.d.ts +1 -1
  605. package/libs-ui/react-core/src/NotificationBannerContainer/index.d.ts +1 -1
  606. package/libs-ui/react-core/src/NotificationBannerContent/index.d.ts +1 -1
  607. package/libs-ui/react-core/src/NotificationBannerHeader/index.d.ts +1 -1
  608. package/libs-ui/react-core/src/NotificationBannerHeading/index.d.ts +1 -1
  609. package/libs-ui/react-core/src/NotificationBannerLink/index.d.ts +2 -11
  610. package/libs-ui/react-core/src/NotificationBannerLink/index.web.d.ts +11 -0
  611. package/libs-ui/react-core/src/PageTitleCaption/index.d.ts +1 -1
  612. package/libs-ui/react-core/src/PageTitleContainer/index.d.ts +1 -1
  613. package/libs-ui/react-core/src/PageTitleHeading/index.d.ts +1 -1
  614. package/libs-ui/react-core/src/Pagination/index.d.ts +1 -1
  615. package/libs-ui/react-core/src/PaginationLabelContainer/index.d.ts +1 -1
  616. package/libs-ui/react-core/src/PaginationList/index.d.ts +1 -1
  617. package/libs-ui/react-core/src/PaginationListItem/index.d.ts +1 -1
  618. package/libs-ui/react-core/src/Panel/index.d.ts +1 -1
  619. package/libs-ui/react-core/src/PanelBody/index.d.ts +1 -1
  620. package/libs-ui/react-core/src/PanelTitle/index.d.ts +1 -1
  621. package/libs-ui/react-core/src/Paragraph/index.d.ts +1 -1
  622. package/libs-ui/react-core/src/PhaseBanner/index.d.ts +1 -1
  623. package/libs-ui/react-core/src/PhaseBannerHeaderContainer/index.d.ts +1 -1
  624. package/libs-ui/react-core/src/PhaseBannerTag/index.d.ts +2 -2
  625. package/libs-ui/react-core/src/PhaseBannerText/index.d.ts +1 -1
  626. package/libs-ui/react-core/src/RadioConditional/index.d.ts +1 -1
  627. package/libs-ui/react-core/src/RadioContainer/index.d.ts +1 -1
  628. package/libs-ui/react-core/src/RadioItem/index.d.ts +1 -1
  629. package/libs-ui/react-core/src/ResultsActionBar/index.d.ts +1 -1
  630. package/libs-ui/react-core/src/ResultsHeading/index.d.ts +1 -1
  631. package/libs-ui/react-core/src/ResultsHeadingActions/index.d.ts +1 -1
  632. package/libs-ui/react-core/src/SearchButton/index.d.ts +1 -1
  633. package/libs-ui/react-core/src/SearchContainer/index.d.ts +1 -1
  634. package/libs-ui/react-core/src/Section/index.d.ts +1 -1
  635. package/libs-ui/react-core/src/SectionBreak/index.d.ts +1 -1
  636. package/libs-ui/react-core/src/SelectContainer/index.d.ts +1 -1
  637. package/libs-ui/react-core/src/SelectOption/index.d.ts +1 -1
  638. package/libs-ui/react-core/src/SingleCharacterInput/index.d.ts +1 -1
  639. package/libs-ui/react-core/src/SingleCharacterInputs/index.d.ts +1 -1
  640. package/libs-ui/react-core/src/Skeleton/index.d.ts +49 -0
  641. package/libs-ui/react-core/src/SkipLink/index.d.ts +1 -1
  642. package/libs-ui/react-core/src/Stack/index.d.ts +1 -1
  643. package/libs-ui/react-core/src/StepNav/index.d.ts +1 -1
  644. package/libs-ui/react-core/src/StepNavAccordion/index.d.ts +1 -1
  645. package/libs-ui/react-core/src/StepNavAccordionContent/index.d.ts +1 -1
  646. package/libs-ui/react-core/src/StepNavAccordionHeadingText/index.d.ts +1 -1
  647. package/libs-ui/react-core/src/StepNavAccordionHeadingTitle/index.d.ts +1 -1
  648. package/libs-ui/react-core/src/StepNavAccordionSummary/index.d.ts +1 -1
  649. package/libs-ui/react-core/src/StepNavAccordionSummaryHeading/index.d.ts +1 -1
  650. package/libs-ui/react-core/src/StepNavCircleNumber/index.d.ts +1 -1
  651. package/libs-ui/react-core/src/StepNavControls/index.d.ts +1 -1
  652. package/libs-ui/react-core/src/StepNavList/index.d.ts +1 -1
  653. package/libs-ui/react-core/src/StepNavListItem/index.d.ts +1 -1
  654. package/libs-ui/react-core/src/SummaryList/index.d.ts +11 -2
  655. package/libs-ui/react-core/src/SummaryListItem/index.d.ts +1 -1
  656. package/libs-ui/react-core/src/SummaryListItemAction/index.d.ts +1 -1
  657. package/libs-ui/react-core/src/SummaryListItemKey/index.d.ts +15 -1
  658. package/libs-ui/react-core/src/SummaryListItemValue/index.d.ts +1 -1
  659. package/libs-ui/react-core/src/SvgIcon/index.d.ts +1 -1
  660. package/libs-ui/react-core/src/Table/index.d.ts +1 -1
  661. package/libs-ui/react-core/src/TableBody/index.d.ts +1 -1
  662. package/libs-ui/react-core/src/TableCaption/index.d.ts +1 -1
  663. package/libs-ui/react-core/src/TableContainer/index.d.ts +1 -1
  664. package/libs-ui/react-core/src/TableDataCell/index.d.ts +1 -1
  665. package/libs-ui/react-core/src/TableHead/index.d.ts +1 -1
  666. package/libs-ui/react-core/src/TableHeadCell/index.d.ts +1 -1
  667. package/libs-ui/react-core/src/TableLoaderBackground/index.d.ts +1 -1
  668. package/libs-ui/react-core/src/TableNoDataRow/index.d.ts +1 -1
  669. package/libs-ui/react-core/src/TableRow/index.d.ts +1 -1
  670. package/libs-ui/react-core/src/TableSortIconContainer/index.d.ts +1 -1
  671. package/libs-ui/react-core/src/Tabs/index.d.ts +1 -2
  672. package/libs-ui/react-core/src/TabsHeading/index.d.ts +1 -1
  673. package/libs-ui/react-core/src/TabsList/index.d.ts +1 -1
  674. package/libs-ui/react-core/src/TabsListItemBase/index.d.ts +1 -1
  675. package/libs-ui/react-core/src/TabsPanelBase/index.d.ts +1 -1
  676. package/libs-ui/react-core/src/TaskList/index.d.ts +1 -1
  677. package/libs-ui/react-core/src/TaskListItem/index.d.ts +1 -1
  678. package/libs-ui/react-core/src/TaskListItemContent/index.d.ts +1 -1
  679. package/libs-ui/react-core/src/TaskListItemHeading/index.d.ts +1 -1
  680. package/libs-ui/react-core/src/TaskListItemTag/index.d.ts +1 -1
  681. package/libs-ui/react-core/src/TextArea/index.d.ts +2 -24
  682. package/libs-ui/react-core/src/TextArea/index.web.d.ts +24 -0
  683. package/libs-ui/react-core/src/TextInput/index.d.ts +2 -46
  684. package/libs-ui/react-core/src/TextInput/index.web.d.ts +46 -0
  685. package/libs-ui/react-core/src/Timeline/index.d.ts +1 -1
  686. package/libs-ui/react-core/src/TimelineActions/index.d.ts +1 -1
  687. package/libs-ui/react-core/src/TimelineContent/index.d.ts +1 -1
  688. package/libs-ui/react-core/src/TimelineHeading/index.d.ts +1 -1
  689. package/libs-ui/react-core/src/TimelineItem/index.d.ts +1 -1
  690. package/libs-ui/react-core/src/Top/index.d.ts +1 -1
  691. package/libs-ui/react-core/src/Typography/index.d.ts +1 -1
  692. package/libs-ui/react-core/src/VisuallyHidden/index.d.ts +1 -1
  693. package/libs-ui/react-core/src/WarningText/index.d.ts +1 -1
  694. package/libs-ui/react-core/src/WarningTextAssistive/index.d.ts +15 -0
  695. package/libs-ui/react-experimental/src/FloatingButton/index.d.ts +1 -1
  696. package/libs-ui/react-experimental/src/Kitchensink/AllComponents.d.ts +2 -2
  697. package/libs-ui/react-experimental/src/Kitchensink/KitchensinkByCategory.d.ts +1 -1
  698. package/libs-ui/react-experimental/src/Kitchensink/KitchensinkByLetter.d.ts +2 -2
  699. package/libs-ui/react-experimental/src/Kitchensink/KitchensinkComponent.d.ts +1 -1
  700. package/libs-ui/react-experimental/src/Kitchensink/KitchensinkDashboard.d.ts +2 -2
  701. package/libs-ui/react-experimental/src/OptionButtonBase/index.d.ts +1 -1
  702. package/libs-ui/react-experimental/src/OptionButtonSteps/index.d.ts +1 -1
  703. package/libs-ui/react-icons/src/Base/index.d.ts +95 -0
  704. package/libs-ui/react-icons/src/Icon/index.d.ts +2 -2
  705. package/libs-ui/react-icons/src/SvgIcon/index.d.ts +37 -0
  706. package/package.json +7 -10
  707. package/src/FloatingButton/__snapshots__/index.test.tsx.snap +37 -0
  708. package/src/FloatingButton/index.test.tsx +4 -4
  709. package/src/OptionButtonBase/__snapshots__/index.test.tsx.snap +37 -0
  710. package/src/OptionButtonBase/index.test.tsx +4 -4
  711. package/src/OptionButtonSteps/__snapshots__/index.test.tsx.snap +84 -0
  712. package/src/OptionButtonSteps/index.test.tsx +6 -6
  713. package/FloatingButton/index.test/index.js +0 -19
  714. package/FloatingButton/index.test/package.json +0 -6
  715. package/OptionButtonBase/index.test/index.js +0 -19
  716. package/OptionButtonBase/index.test/package.json +0 -6
  717. package/OptionButtonSteps/index.test/index.js +0 -32
  718. package/OptionButtonSteps/index.test/package.json +0 -6
  719. package/cjs/FloatingButton/index.test/index.js +0 -22
  720. package/cjs/OptionButtonBase/index.test/index.js +0 -22
  721. package/cjs/OptionButtonSteps/index.test/index.js +0 -35
  722. package/libs/ui/src/content/SummaryList/__stories__/Default.d.ts +0 -3
  723. package/libs/ui/src/content/SummaryList/__stories__/RowVariations.d.ts +0 -3
  724. package/libs/ui/src/content/SummaryList/__stories__/WithActions.d.ts +0 -3
  725. package/libs/ui/src/content/SummaryList/__stories__/WithKeyAndAction.d.ts +0 -3
  726. package/libs/ui/src/content/SummaryList/__stories__/WithoutActions.d.ts +0 -3
  727. package/libs/ui/src/content/SummaryList/__stories__/WithoutBorders.d.ts +0 -3
  728. package/libs/ui/src/form/AutoComplete/__stories__/WithInLine.d.ts +0 -3
  729. package/libs-ui/react-core/src/AutoCompleteStatusWrapper/index.d.ts +0 -10
  730. package/libs-ui/react-core/src/AutoCompleteWrapper/index.d.ts +0 -22
  731. package/libs-ui/react-core/src/CodeBlock/index.d.ts +0 -10
@@ -0,0 +1,95 @@
1
+ import React from 'react';
2
+ type AsProp<C extends React.ElementType> = {
3
+ as?: C;
4
+ };
5
+ type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
6
+ type PolymorphicComponentProp<C extends React.ElementType, Props = Record<string, unknown>> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
7
+ type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = Record<string, unknown>> = PolymorphicComponentProp<C, Props> & {
8
+ ref?: any;
9
+ };
10
+ /**
11
+ * This is the updated component props using PolymorphicComponentPropWithRef
12
+ */
13
+ export type BaseProps<C extends React.ElementType> = PolymorphicComponentPropWithRef<C, {
14
+ /** margin is optional. It has not a default value. */
15
+ margin?: spacingValues;
16
+ /** marginTop is optional. It has not a default value. */
17
+ marginTop?: spacingValues;
18
+ /** marginBottom is optional. It has not a default value. */
19
+ marginBottom?: spacingValues;
20
+ /** marginLeft is optional. It has not a default value. */
21
+ marginLeft?: spacingValues;
22
+ /** marginRight is optional. It has not a default value. */
23
+ marginRight?: spacingValues;
24
+ /** Alternative for margin. Margin is optional. It has not a default value. */
25
+ m?: spacingValues;
26
+ /** Alternative for marginTop. MarginTop is optional. It has not a default value. */
27
+ mt?: spacingValues;
28
+ /** Alternative for marginBottom. MarginBottom is optional. It has not a default value. */
29
+ mb?: spacingValues;
30
+ /** Alternative for marginLeft. MarginLeft is optional. It has not a default value. */
31
+ ml?: spacingValues;
32
+ /** Alternative for marginRight. MarginRight is optional. It has not a default value. */
33
+ mr?: spacingValues;
34
+ /** Alternative for marginX. MarginX is optional. It has not a default value. */
35
+ mx?: spacingValues;
36
+ /** Alternative for marginY. MarginY is optional. It has not a default value. */
37
+ my?: spacingValues;
38
+ /** padding is optional. It has not a default value. */
39
+ padding?: spacingValues;
40
+ /** paddingTop is optional. It has not a default value. */
41
+ paddingTop?: spacingValues;
42
+ /** paddingBottom is optional. It has not a default value. */
43
+ paddingBottom?: spacingValues;
44
+ /** paddingLeft is optional. It has not a default value. */
45
+ paddingLeft?: spacingValues;
46
+ /** paddingRight is optional. It has not a default value. */
47
+ paddingRight?: spacingValues;
48
+ /** Alternative for padding. Padding is optional. It has not a default value. */
49
+ p?: spacingValues;
50
+ /** Alternative for paddingTop. PaddingTop is optional. It has not a default value. */
51
+ pt?: spacingValues;
52
+ /** Alternative for paddingBottom. PaddingBottom is optional. It has not a default value. */
53
+ pb?: spacingValues;
54
+ /** Alternative for paddingLeft. PaddingLeft is optional. It has not a default value. */
55
+ pl?: spacingValues;
56
+ /** Alternative for paddingRight. PaddingRight is optional. It has not a default value. */
57
+ pr?: spacingValues;
58
+ /** Alternative for paddingX. PaddingX is optional. It has not a default value. */
59
+ px?: spacingValues;
60
+ /** Alternative for paddingY. PaddingY is optional. It has not a default value. */
61
+ py?: spacingValues;
62
+ /** printHidden is optional. Default value is false. When true, the component is hidden at print. */
63
+ printHidden?: boolean;
64
+ /** printVisible is optional. When block, the component is displayed as block. When inline, the component is displayed as inline.*/
65
+ printVisible?: 'block' | 'inline';
66
+ /** Components will be hidden at all screen sizes. */
67
+ hidden?: boolean;
68
+ /** Components will be hidden from 'xs' screen size and up. */
69
+ xsUpHidden?: boolean;
70
+ /** Components will be hidden from 'sm' screen size and up. */
71
+ smUpHidden?: boolean;
72
+ /** Components will be hidden from 'md' screen size and up. */
73
+ mdUpHidden?: boolean;
74
+ /** Components will be hidden from 'lg' screen size and up. */
75
+ lgUpHidden?: boolean;
76
+ /** Components will be hidden from 'xl' screen size and up. */
77
+ xlUpHidden?: boolean;
78
+ /** Components will be hidden between xs and sm screen size. */
79
+ xsHidden?: boolean;
80
+ /** Components will be hidden between sm and md screen size. */
81
+ smHidden?: boolean;
82
+ /** Components will be hidden between md and lg screen size. */
83
+ mdHidden?: boolean;
84
+ /** Components will be hidden between lg and xl screen size. */
85
+ lgHidden?: boolean;
86
+ /** Components will be hidden between xl and 2xl screen size. */
87
+ xlHidden?: boolean;
88
+ }>;
89
+ type spacingValues = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96;
90
+ /**
91
+ * This is the type used in the type annotation for the component
92
+ */
93
+ type BaseComponent = <C extends React.ElementType = 'span'>(props: BaseProps<C>) => React.ReactNode | null;
94
+ export declare const Base: BaseComponent;
95
+ export default Base;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SvgIconProps } from '@digigov/react-core/SvgIcon';
2
+ import { SvgIconProps } from '@digigov/react-icons/SvgIcon';
3
3
  import type { IconTypes } from '@digigov/react-icons/icons';
4
4
  export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] & {
5
5
  /**
@@ -15,7 +15,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps & IconTypes[N] &
15
15
  */
16
16
  icon?: N;
17
17
  };
18
- type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactElement | null;
18
+ type IconComponent = <C extends keyof IconTypes>(props: IconProps<C>) => React.ReactNode | null;
19
19
  export type IconNames = keyof IconTypes;
20
20
  /**
21
21
  * Icon is used whenever we need a GOV.GR icon.
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import { BaseProps } from '@digigov/react-icons/Base';
3
+ export interface SvgIconProps extends BaseProps<'svg'> {
4
+ /**
5
+ * size is optional.
6
+ * size prop declares the size of the svg icon.
7
+ * @value 'xs'
8
+ * @value 'sm'
9
+ * @value 'md'
10
+ * @value 'lg'
11
+ * @value 'xl'
12
+ * @default 'sm'
13
+ */
14
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
15
+ /**
16
+ * color property styles svg icon with Gov.gr palette's basic colors.
17
+ * color property is optional.
18
+ * @value 'base-content'
19
+ * @value 'dark', always dark, among all themes
20
+ * @value 'white', always white, among all themes
21
+ * @value 'gray'
22
+ * @value 'primary'
23
+ * @value 'success'
24
+ * @value 'warning'
25
+ * @value 'error'
26
+ * @value 'focus', use only in focus state, in dark background
27
+ * @value 'info'
28
+ * @value 'link'
29
+ */
30
+ color?: 'base-content' | 'dark' | 'white' | 'gray' | 'primary' | 'success' | 'warning' | 'error' | 'focus' | 'info' | 'link';
31
+ }
32
+ /**
33
+ * Use SvgIcon as global svg component.
34
+ * SvgIcon can be used inside other svg components as children such as CheckIcon, CaretIcon etc.
35
+ */
36
+ export declare const SvgIcon: React.ForwardRefExoticComponent<Omit<SvgIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
37
+ export default SvgIcon;
package/package.json CHANGED
@@ -1,22 +1,19 @@
1
1
  {
2
2
  "name": "@digigov/react-experimental",
3
- "version": "2.0.0-cbc56209",
3
+ "version": "2.0.0-daaf7bdf",
4
4
  "description": "@digigov react experimental components",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
7
7
  "main": "./cjs/index.js",
8
8
  "module": "./index.js",
9
9
  "peerDependencies": {
10
- "@digigov/css": "2.0.0-cbc56209",
11
- "@digigov/react-icons": "2.0.0-cbc56209",
12
- "@digigov/ui": "2.0.0-cbc56209",
13
- "@digigov/react-core": "2.0.0-cbc56209",
10
+ "@digigov/css": "2.0.0-daaf7bdf",
11
+ "@digigov/react-icons": "2.0.0-daaf7bdf",
12
+ "@digigov/ui": "2.0.0-daaf7bdf",
13
+ "@digigov/react-core": "2.0.0-daaf7bdf",
14
14
  "clsx": "1.1.1",
15
- "react": "^16.8.0 || ^17.0.0",
16
- "react-dom": "^16.8.0 || ^17.0.0"
17
- },
18
- "dependencies": {
19
- "ts-morph": "18.0.0"
15
+ "react": ">=16.8.0 <19.0.0",
16
+ "react-dom": ">=16.8.0 <19.0.0"
20
17
  },
21
18
  "private": false,
22
19
  "typings": "./index.d.ts"
@@ -0,0 +1,37 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the FloatingButton with direction="left" 1`] = `
4
+ <body>
5
+ <div>
6
+ <button
7
+ class="ds-floating-btn--left ds-floating-btn ds-btn-primary ds-btn ds-print-hidden"
8
+ >
9
+ +
10
+ </button>
11
+ </div>
12
+ </body>
13
+ `;
14
+
15
+ exports[`renders the FloatingButton with direction="right" 1`] = `
16
+ <body>
17
+ <div>
18
+ <button
19
+ class="ds-floating-btn--right ds-floating-btn ds-btn-primary ds-btn ds-print-hidden"
20
+ >
21
+ +
22
+ </button>
23
+ </div>
24
+ </body>
25
+ `;
26
+
27
+ exports[`renders the FloatingButton with no props 1`] = `
28
+ <body>
29
+ <div>
30
+ <button
31
+ class="ds-floating-btn--right ds-floating-btn ds-btn-primary ds-btn ds-print-hidden"
32
+ >
33
+ +
34
+ </button>
35
+ </div>
36
+ </body>
37
+ `;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import FloatingButton from '@digigov/react-experimental/FloatingButton';
5
5
 
6
6
  it('renders the FloatingButton with no props', () => {
7
- expect(mount(<FloatingButton>+</FloatingButton>)).toMatchSnapshot();
7
+ expect(render(<FloatingButton>+</FloatingButton>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the FloatingButton with direction="right"', () => {
10
- expect(mount(<FloatingButton direction="right">+</FloatingButton>)).toMatchSnapshot();
10
+ expect(render(<FloatingButton direction="right">+</FloatingButton>).baseElement).toMatchSnapshot();
11
11
  });
12
12
  it('renders the FloatingButton with direction="left"', () => {
13
- expect(mount(<FloatingButton direction="left">+</FloatingButton>)).toMatchSnapshot();
13
+ expect(render(<FloatingButton direction="left">+</FloatingButton>).baseElement).toMatchSnapshot();
14
14
  });
@@ -0,0 +1,37 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the OptionButtonBase with selected=false 1`] = `
4
+ <body>
5
+ <div>
6
+ <button
7
+ class="ds-btn ds-option-btn"
8
+ >
9
+ +
10
+ </button>
11
+ </div>
12
+ </body>
13
+ `;
14
+
15
+ exports[`renders the OptionButtonBase with selected=true 1`] = `
16
+ <body>
17
+ <div>
18
+ <button
19
+ class="ds-option-btn--selected ds-btn ds-option-btn"
20
+ >
21
+ +
22
+ </button>
23
+ </div>
24
+ </body>
25
+ `;
26
+
27
+ exports[`renders the OptionButtonBase with no props 1`] = `
28
+ <body>
29
+ <div>
30
+ <button
31
+ class="ds-btn ds-option-btn"
32
+ >
33
+ +
34
+ </button>
35
+ </div>
36
+ </body>
37
+ `;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import OptionButtonBase from '@digigov/react-experimental/OptionButtonBase';
5
5
 
6
6
  it('renders the OptionButtonBase with no props', () => {
7
- expect(mount(<OptionButtonBase>+</OptionButtonBase>)).toMatchSnapshot();
7
+ expect(render(<OptionButtonBase>+</OptionButtonBase>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the OptionButtonBase with selected=true', () => {
10
- expect(mount(<OptionButtonBase selected={true}>+</OptionButtonBase>)).toMatchSnapshot();
10
+ expect(render(<OptionButtonBase selected={true}>+</OptionButtonBase>).baseElement).toMatchSnapshot();
11
11
  });
12
12
  it('renders the OptionButtonBase with selected=false', () => {
13
- expect(mount(<OptionButtonBase selected={false}>+</OptionButtonBase>)).toMatchSnapshot();
13
+ expect(render(<OptionButtonBase selected={false}>+</OptionButtonBase>).baseElement).toMatchSnapshot();
14
14
  });
@@ -0,0 +1,84 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`renders the OptionButtonSteps with activeStep=1 1`] = `
4
+ <body>
5
+ <div>
6
+ <div
7
+ class="ds-option-btn__steps"
8
+ />
9
+ </div>
10
+ </body>
11
+ `;
12
+
13
+ exports[`renders the OptionButtonSteps with no props 1`] = `
14
+ <body>
15
+ <div>
16
+ <div
17
+ class="ds-option-btn__steps"
18
+ />
19
+ </div>
20
+ </body>
21
+ `;
22
+
23
+ exports[`renders the OptionButtonSteps with steps="3" 1`] = `
24
+ <body>
25
+ <div>
26
+ <div
27
+ class="ds-option-btn__steps"
28
+ >
29
+ <div
30
+ class="ds-option-btn__step"
31
+ />
32
+ <div
33
+ class="ds-option-btn__step"
34
+ />
35
+ <div
36
+ class="ds-option-btn__step"
37
+ />
38
+ </div>
39
+ </div>
40
+ </body>
41
+ `;
42
+
43
+ exports[`renders the OptionButtonSteps with steps=3 activeStep=1 1`] = `
44
+ <body>
45
+ <div>
46
+ <div
47
+ class="ds-option-btn__steps"
48
+ >
49
+ <div
50
+ class="ds-option-btn__step--active ds-option-btn__step"
51
+ />
52
+ <div
53
+ class="ds-option-btn__step"
54
+ />
55
+ <div
56
+ class="ds-option-btn__step"
57
+ />
58
+ </div>
59
+ </div>
60
+ </body>
61
+ `;
62
+
63
+ exports[`renders the OptionButtonSteps with steps=4 1`] = `
64
+ <body>
65
+ <div>
66
+ <div
67
+ class="ds-option-btn__steps"
68
+ >
69
+ <div
70
+ class="ds-option-btn__step"
71
+ />
72
+ <div
73
+ class="ds-option-btn__step"
74
+ />
75
+ <div
76
+ class="ds-option-btn__step"
77
+ />
78
+ <div
79
+ class="ds-option-btn__step"
80
+ />
81
+ </div>
82
+ </div>
83
+ </body>
84
+ `;
@@ -1,20 +1,20 @@
1
1
  import React from 'react';
2
- import { mount } from 'enzyme';
2
+ import { render } from '@testing-library/react';
3
3
 
4
4
  import OptionButtonSteps from '@digigov/react-experimental/OptionButtonSteps';
5
5
 
6
6
  it('renders the OptionButtonSteps with no props', () => {
7
- expect(mount(<OptionButtonSteps>+</OptionButtonSteps>)).toMatchSnapshot();
7
+ expect(render(<OptionButtonSteps>+</OptionButtonSteps>).baseElement).toMatchSnapshot();
8
8
  });
9
9
  it('renders the OptionButtonSteps with steps="3"', () => {
10
- expect(mount(<OptionButtonSteps steps={3}>+</OptionButtonSteps>)).toMatchSnapshot();
10
+ expect(render(<OptionButtonSteps steps={3}>+</OptionButtonSteps>).baseElement).toMatchSnapshot();
11
11
  });
12
12
  it('renders the OptionButtonSteps with steps=4', () => {
13
- expect(mount(<OptionButtonSteps steps={4}>+</OptionButtonSteps>)).toMatchSnapshot();
13
+ expect(render(<OptionButtonSteps steps={4}>+</OptionButtonSteps>).baseElement).toMatchSnapshot();
14
14
  });
15
15
  it('renders the OptionButtonSteps with activeStep=1', () => {
16
- expect(mount(<OptionButtonSteps activeStep={1}>+</OptionButtonSteps>)).toMatchSnapshot();
16
+ expect(render(<OptionButtonSteps activeStep={1}>+</OptionButtonSteps>).baseElement).toMatchSnapshot();
17
17
  });
18
18
  it('renders the OptionButtonSteps with steps=3 activeStep=1', () => {
19
- expect(mount(<OptionButtonSteps steps={3} activeStep={1}>+</OptionButtonSteps>)).toMatchSnapshot();
19
+ expect(render(<OptionButtonSteps steps={3} activeStep={1}>+</OptionButtonSteps>).baseElement).toMatchSnapshot();
20
20
  });
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
- import FloatingButton from '@digigov/react-experimental/FloatingButton';
4
- var _ref = /*#__PURE__*/React.createElement(FloatingButton, null, "+");
5
- it('renders the FloatingButton with no props', function () {
6
- expect(mount(_ref)).toMatchSnapshot();
7
- });
8
- var _ref2 = /*#__PURE__*/React.createElement(FloatingButton, {
9
- direction: "right"
10
- }, "+");
11
- it('renders the FloatingButton with direction="right"', function () {
12
- expect(mount(_ref2)).toMatchSnapshot();
13
- });
14
- var _ref3 = /*#__PURE__*/React.createElement(FloatingButton, {
15
- direction: "left"
16
- }, "+");
17
- it('renders the FloatingButton with direction="left"', function () {
18
- expect(mount(_ref3)).toMatchSnapshot();
19
- });
@@ -1,6 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "module": "./index.js",
4
- "types": "./index.d.ts",
5
- "main": "../../cjs/FloatingButton/index.test/index.js"
6
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
- import OptionButtonBase from '@digigov/react-experimental/OptionButtonBase';
4
- var _ref = /*#__PURE__*/React.createElement(OptionButtonBase, null, "+");
5
- it('renders the OptionButtonBase with no props', function () {
6
- expect(mount(_ref)).toMatchSnapshot();
7
- });
8
- var _ref2 = /*#__PURE__*/React.createElement(OptionButtonBase, {
9
- selected: true
10
- }, "+");
11
- it('renders the OptionButtonBase with selected=true', function () {
12
- expect(mount(_ref2)).toMatchSnapshot();
13
- });
14
- var _ref3 = /*#__PURE__*/React.createElement(OptionButtonBase, {
15
- selected: false
16
- }, "+");
17
- it('renders the OptionButtonBase with selected=false', function () {
18
- expect(mount(_ref3)).toMatchSnapshot();
19
- });
@@ -1,6 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "module": "./index.js",
4
- "types": "./index.d.ts",
5
- "main": "../../cjs/OptionButtonBase/index.test/index.js"
6
- }
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import { mount } from 'enzyme';
3
- import OptionButtonSteps from '@digigov/react-experimental/OptionButtonSteps';
4
- var _ref = /*#__PURE__*/React.createElement(OptionButtonSteps, null, "+");
5
- it('renders the OptionButtonSteps with no props', function () {
6
- expect(mount(_ref)).toMatchSnapshot();
7
- });
8
- var _ref2 = /*#__PURE__*/React.createElement(OptionButtonSteps, {
9
- steps: 3
10
- }, "+");
11
- it('renders the OptionButtonSteps with steps="3"', function () {
12
- expect(mount(_ref2)).toMatchSnapshot();
13
- });
14
- var _ref3 = /*#__PURE__*/React.createElement(OptionButtonSteps, {
15
- steps: 4
16
- }, "+");
17
- it('renders the OptionButtonSteps with steps=4', function () {
18
- expect(mount(_ref3)).toMatchSnapshot();
19
- });
20
- var _ref4 = /*#__PURE__*/React.createElement(OptionButtonSteps, {
21
- activeStep: 1
22
- }, "+");
23
- it('renders the OptionButtonSteps with activeStep=1', function () {
24
- expect(mount(_ref4)).toMatchSnapshot();
25
- });
26
- var _ref5 = /*#__PURE__*/React.createElement(OptionButtonSteps, {
27
- steps: 3,
28
- activeStep: 1
29
- }, "+");
30
- it('renders the OptionButtonSteps with steps=3 activeStep=1', function () {
31
- expect(mount(_ref5)).toMatchSnapshot();
32
- });
@@ -1,6 +0,0 @@
1
- {
2
- "sideEffects": false,
3
- "module": "./index.js",
4
- "types": "./index.d.ts",
5
- "main": "../../cjs/OptionButtonSteps/index.test/index.js"
6
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _react = _interopRequireDefault(require("react"));
5
- var _enzyme = require("enzyme");
6
- var _FloatingButton = _interopRequireDefault(require("@digigov/react-experimental/FloatingButton"));
7
- var _ref = /*#__PURE__*/_react["default"].createElement(_FloatingButton["default"], null, "+");
8
- it('renders the FloatingButton with no props', function () {
9
- expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
10
- });
11
- var _ref2 = /*#__PURE__*/_react["default"].createElement(_FloatingButton["default"], {
12
- direction: "right"
13
- }, "+");
14
- it('renders the FloatingButton with direction="right"', function () {
15
- expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
- });
17
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_FloatingButton["default"], {
18
- direction: "left"
19
- }, "+");
20
- it('renders the FloatingButton with direction="left"', function () {
21
- expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
- });
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _react = _interopRequireDefault(require("react"));
5
- var _enzyme = require("enzyme");
6
- var _OptionButtonBase = _interopRequireDefault(require("@digigov/react-experimental/OptionButtonBase"));
7
- var _ref = /*#__PURE__*/_react["default"].createElement(_OptionButtonBase["default"], null, "+");
8
- it('renders the OptionButtonBase with no props', function () {
9
- expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
10
- });
11
- var _ref2 = /*#__PURE__*/_react["default"].createElement(_OptionButtonBase["default"], {
12
- selected: true
13
- }, "+");
14
- it('renders the OptionButtonBase with selected=true', function () {
15
- expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
- });
17
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_OptionButtonBase["default"], {
18
- selected: false
19
- }, "+");
20
- it('renders the OptionButtonBase with selected=false', function () {
21
- expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
- });
@@ -1,35 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _react = _interopRequireDefault(require("react"));
5
- var _enzyme = require("enzyme");
6
- var _OptionButtonSteps = _interopRequireDefault(require("@digigov/react-experimental/OptionButtonSteps"));
7
- var _ref = /*#__PURE__*/_react["default"].createElement(_OptionButtonSteps["default"], null, "+");
8
- it('renders the OptionButtonSteps with no props', function () {
9
- expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
10
- });
11
- var _ref2 = /*#__PURE__*/_react["default"].createElement(_OptionButtonSteps["default"], {
12
- steps: 3
13
- }, "+");
14
- it('renders the OptionButtonSteps with steps="3"', function () {
15
- expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
16
- });
17
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_OptionButtonSteps["default"], {
18
- steps: 4
19
- }, "+");
20
- it('renders the OptionButtonSteps with steps=4', function () {
21
- expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
22
- });
23
- var _ref4 = /*#__PURE__*/_react["default"].createElement(_OptionButtonSteps["default"], {
24
- activeStep: 1
25
- }, "+");
26
- it('renders the OptionButtonSteps with activeStep=1', function () {
27
- expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
28
- });
29
- var _ref5 = /*#__PURE__*/_react["default"].createElement(_OptionButtonSteps["default"], {
30
- steps: 3,
31
- activeStep: 1
32
- }, "+");
33
- it('renders the OptionButtonSteps with steps=3 activeStep=1', function () {
34
- expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
35
- });
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Default: () => JSX.Element;
3
- export default Default;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const RowVariations: () => JSX.Element;
3
- export default RowVariations;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WithActions: () => JSX.Element;
3
- export default WithActions;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WithKeyAndAction: () => JSX.Element;
3
- export default WithKeyAndAction;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WithoutActions: () => JSX.Element;
3
- export default WithoutActions;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WithoutBorders: () => JSX.Element;
3
- export default WithoutBorders;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WithInLine: () => JSX.Element;
3
- export default WithInLine;