@cucumber/react-components 24.1.2 → 24.3.0

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 (425) hide show
  1. package/LICENSE +1 -1
  2. package/dist/src/CucumberQueryContext.d.ts +1 -2
  3. package/dist/src/CucumberQueryContext.d.ts.map +1 -1
  4. package/dist/src/CucumberQueryContext.js +2 -2
  5. package/dist/src/CucumberQueryContext.js.map +1 -1
  6. package/dist/src/GherkinQueryContext.d.ts +1 -2
  7. package/dist/src/GherkinQueryContext.d.ts.map +1 -1
  8. package/dist/src/GherkinQueryContext.js +2 -2
  9. package/dist/src/GherkinQueryContext.js.map +1 -1
  10. package/dist/src/SearchContext.d.ts +11 -5
  11. package/dist/src/SearchContext.d.ts.map +1 -1
  12. package/dist/src/SearchContext.js +4 -2
  13. package/dist/src/SearchContext.js.map +1 -1
  14. package/dist/src/ciCommitLink.d.ts +1 -1
  15. package/dist/src/ciCommitLink.d.ts.map +1 -1
  16. package/dist/src/ciCommitLink.js +1 -1
  17. package/dist/src/ciCommitLink.js.map +1 -1
  18. package/dist/src/components/app/CICommitLink.d.ts +2 -2
  19. package/dist/src/components/app/CICommitLink.d.ts.map +1 -1
  20. package/dist/src/components/app/CICommitLink.js +3 -8
  21. package/dist/src/components/app/CICommitLink.js.map +1 -1
  22. package/dist/src/components/app/CIJobLink.d.ts +2 -2
  23. package/dist/src/components/app/CIJobLink.d.ts.map +1 -1
  24. package/dist/src/components/app/CIJobLink.js +3 -7
  25. package/dist/src/components/app/CIJobLink.js.map +1 -1
  26. package/dist/src/components/app/ControlledSearchProvider.d.ts +2 -2
  27. package/dist/src/components/app/ControlledSearchProvider.d.ts.map +1 -1
  28. package/dist/src/components/app/ControlledSearchProvider.js +24 -2
  29. package/dist/src/components/app/ControlledSearchProvider.js.map +1 -1
  30. package/dist/src/components/app/CopyButton.d.ts +2 -1
  31. package/dist/src/components/app/CopyButton.d.ts.map +1 -1
  32. package/dist/src/components/app/CopyButton.js +4 -4
  33. package/dist/src/components/app/CopyButton.js.map +1 -1
  34. package/dist/src/components/app/DocumentAccordion.d.ts +3 -3
  35. package/dist/src/components/app/DocumentAccordion.d.ts.map +1 -1
  36. package/dist/src/components/app/DocumentAccordion.js +12 -20
  37. package/dist/src/components/app/DocumentAccordion.js.map +1 -1
  38. package/dist/src/components/app/DocumentAccordion.module.scss +15 -7
  39. package/dist/src/components/app/EnvelopesProvider.d.ts +2 -2
  40. package/dist/src/components/app/EnvelopesProvider.d.ts.map +1 -1
  41. package/dist/src/components/app/EnvelopesProvider.js +3 -2
  42. package/dist/src/components/app/EnvelopesProvider.js.map +1 -1
  43. package/dist/src/components/app/ExecutionSummary.d.ts +1 -1
  44. package/dist/src/components/app/ExecutionSummary.d.ts.map +1 -1
  45. package/dist/src/components/app/ExecutionSummary.js +3 -49
  46. package/dist/src/components/app/ExecutionSummary.js.map +1 -1
  47. package/dist/src/components/app/FilteredDocuments.d.ts +1 -1
  48. package/dist/src/components/app/FilteredDocuments.d.ts.map +1 -1
  49. package/dist/src/components/app/FilteredDocuments.js +4 -4
  50. package/dist/src/components/app/FilteredDocuments.js.map +1 -1
  51. package/dist/src/components/app/GherkinDocumentList.d.ts +3 -3
  52. package/dist/src/components/app/GherkinDocumentList.d.ts.map +1 -1
  53. package/dist/src/components/app/GherkinDocumentList.js +8 -9
  54. package/dist/src/components/app/GherkinDocumentList.js.map +1 -1
  55. package/dist/src/components/app/Header.d.ts +1 -1
  56. package/dist/src/components/app/Header.d.ts.map +1 -1
  57. package/dist/src/components/app/Header.js +4 -4
  58. package/dist/src/components/app/Header.js.map +1 -1
  59. package/dist/src/components/app/HealthChart.d.ts +1 -1
  60. package/dist/src/components/app/HealthChart.d.ts.map +1 -1
  61. package/dist/src/components/app/HealthChart.js +6 -7
  62. package/dist/src/components/app/HealthChart.js.map +1 -1
  63. package/dist/src/components/app/HighLight.d.ts +2 -2
  64. package/dist/src/components/app/HighLight.d.ts.map +1 -1
  65. package/dist/src/components/app/HighLight.js +15 -9
  66. package/dist/src/components/app/HighLight.js.map +1 -1
  67. package/dist/src/components/app/ImplementationIcon.d.ts +2 -2
  68. package/dist/src/components/app/ImplementationIcon.d.ts.map +1 -1
  69. package/dist/src/components/app/ImplementationIcon.js +2 -2
  70. package/dist/src/components/app/ImplementationIcon.js.map +1 -1
  71. package/dist/src/components/app/InMemorySearchProvider.d.ts +2 -2
  72. package/dist/src/components/app/InMemorySearchProvider.d.ts.map +1 -1
  73. package/dist/src/components/app/InMemorySearchProvider.js +3 -2
  74. package/dist/src/components/app/InMemorySearchProvider.js.map +1 -1
  75. package/dist/src/components/app/NavigationButton.d.ts +1 -1
  76. package/dist/src/components/app/NavigationButton.d.ts.map +1 -1
  77. package/dist/src/components/app/NavigationButton.js +2 -2
  78. package/dist/src/components/app/NavigationButton.js.map +1 -1
  79. package/dist/src/components/app/OSIcon.d.ts +2 -2
  80. package/dist/src/components/app/OSIcon.d.ts.map +1 -1
  81. package/dist/src/components/app/OSIcon.js +4 -4
  82. package/dist/src/components/app/OSIcon.js.map +1 -1
  83. package/dist/src/components/app/QueriesProvider.d.ts +3 -3
  84. package/dist/src/components/app/QueriesProvider.d.ts.map +1 -1
  85. package/dist/src/components/app/QueriesProvider.js +4 -3
  86. package/dist/src/components/app/QueriesProvider.js.map +1 -1
  87. package/dist/src/components/app/Report.d.ts +1 -1
  88. package/dist/src/components/app/Report.d.ts.map +1 -1
  89. package/dist/src/components/app/Report.js +2 -11
  90. package/dist/src/components/app/Report.js.map +1 -1
  91. package/dist/src/components/app/RuntimeIcon.d.ts +2 -2
  92. package/dist/src/components/app/RuntimeIcon.d.ts.map +1 -1
  93. package/dist/src/components/app/RuntimeIcon.js +4 -4
  94. package/dist/src/components/app/RuntimeIcon.js.map +1 -1
  95. package/dist/src/components/app/SearchBar.d.ts +1 -1
  96. package/dist/src/components/app/SearchBar.d.ts.map +1 -1
  97. package/dist/src/components/app/SearchBar.js +9 -24
  98. package/dist/src/components/app/SearchBar.js.map +1 -1
  99. package/dist/src/components/app/StatusesSummary.d.ts +1 -1
  100. package/dist/src/components/app/StatusesSummary.d.ts.map +1 -1
  101. package/dist/src/components/app/StatusesSummary.js +8 -11
  102. package/dist/src/components/app/StatusesSummary.js.map +1 -1
  103. package/dist/src/components/app/TestRunHooks.d.ts +1 -1
  104. package/dist/src/components/app/TestRunHooks.d.ts.map +1 -1
  105. package/dist/src/components/app/TestRunHooks.js +5 -5
  106. package/dist/src/components/app/TestRunHooks.js.map +1 -1
  107. package/dist/src/components/app/UrlSearchProvider.d.ts +1 -1
  108. package/dist/src/components/app/UrlSearchProvider.d.ts.map +1 -1
  109. package/dist/src/components/app/UrlSearchProvider.js +6 -3
  110. package/dist/src/components/app/UrlSearchProvider.js.map +1 -1
  111. package/dist/src/components/app/icons/CucumberLogo.d.ts +1 -1
  112. package/dist/src/components/app/icons/CucumberLogo.d.ts.map +1 -1
  113. package/dist/src/components/app/icons/CucumberLogo.js +2 -6
  114. package/dist/src/components/app/icons/CucumberLogo.js.map +1 -1
  115. package/dist/src/components/app/icons/Jvm.d.ts +1 -1
  116. package/dist/src/components/app/icons/Jvm.d.ts.map +1 -1
  117. package/dist/src/components/app/icons/Jvm.js +2 -7
  118. package/dist/src/components/app/icons/Jvm.js.map +1 -1
  119. package/dist/src/components/app/icons/Linux.d.ts +1 -1
  120. package/dist/src/components/app/icons/Linux.d.ts.map +1 -1
  121. package/dist/src/components/app/icons/Linux.js +2 -17
  122. package/dist/src/components/app/icons/Linux.js.map +1 -1
  123. package/dist/src/components/app/icons/MacOS.d.ts +1 -1
  124. package/dist/src/components/app/icons/MacOS.d.ts.map +1 -1
  125. package/dist/src/components/app/icons/MacOS.js +2 -3
  126. package/dist/src/components/app/icons/MacOS.js.map +1 -1
  127. package/dist/src/components/app/icons/NodeJs.d.ts +1 -1
  128. package/dist/src/components/app/icons/NodeJs.d.ts.map +1 -1
  129. package/dist/src/components/app/icons/NodeJs.js +2 -5
  130. package/dist/src/components/app/icons/NodeJs.js.map +1 -1
  131. package/dist/src/components/app/icons/Ruby.d.ts +1 -1
  132. package/dist/src/components/app/icons/Ruby.d.ts.map +1 -1
  133. package/dist/src/components/app/icons/Ruby.js +2 -3
  134. package/dist/src/components/app/icons/Ruby.js.map +1 -1
  135. package/dist/src/components/app/icons/Windows.d.ts +1 -1
  136. package/dist/src/components/app/icons/Windows.d.ts.map +1 -1
  137. package/dist/src/components/app/icons/Windows.js +2 -3
  138. package/dist/src/components/app/icons/Windows.js.map +1 -1
  139. package/dist/src/components/app/makeSetupString.d.ts +1 -1
  140. package/dist/src/components/app/makeSetupString.d.ts.map +1 -1
  141. package/dist/src/components/app/makeSetupString.js.map +1 -1
  142. package/dist/src/components/app/markdownComponents.d.ts +9 -0
  143. package/dist/src/components/app/markdownComponents.d.ts.map +1 -0
  144. package/dist/src/components/app/markdownComponents.js +6 -0
  145. package/dist/src/components/app/markdownComponents.js.map +1 -0
  146. package/dist/src/components/app/rehypePlugins.d.ts +2 -2
  147. package/dist/src/components/app/rehypePlugins.d.ts.map +1 -1
  148. package/dist/src/components/app/rehypePlugins.js.map +1 -1
  149. package/dist/src/components/app/remarkPlugins.d.ts +2 -2
  150. package/dist/src/components/app/remarkPlugins.d.ts.map +1 -1
  151. package/dist/src/components/app/remarkPlugins.js.map +1 -1
  152. package/dist/src/components/customise/CustomRendering.d.ts +18 -18
  153. package/dist/src/components/customise/CustomRendering.d.ts.map +1 -1
  154. package/dist/src/components/customise/CustomRendering.js +10 -9
  155. package/dist/src/components/customise/CustomRendering.js.map +1 -1
  156. package/dist/src/components/customise/CustomRendering.stories.scss +0 -17
  157. package/dist/src/components/gherkin/Anchor.d.ts +3 -3
  158. package/dist/src/components/gherkin/Anchor.d.ts.map +1 -1
  159. package/dist/src/components/gherkin/Anchor.js +3 -6
  160. package/dist/src/components/gherkin/Anchor.js.map +1 -1
  161. package/dist/src/components/gherkin/Background.d.ts +3 -3
  162. package/dist/src/components/gherkin/Background.d.ts.map +1 -1
  163. package/dist/src/components/gherkin/Background.js +4 -10
  164. package/dist/src/components/gherkin/Background.js.map +1 -1
  165. package/dist/src/components/gherkin/Children.d.ts +3 -3
  166. package/dist/src/components/gherkin/Children.d.ts.map +1 -1
  167. package/dist/src/components/gherkin/Children.js +3 -3
  168. package/dist/src/components/gherkin/Children.js.map +1 -1
  169. package/dist/src/components/gherkin/DataTable.d.ts +3 -3
  170. package/dist/src/components/gherkin/DataTable.d.ts.map +1 -1
  171. package/dist/src/components/gherkin/DataTable.js +4 -6
  172. package/dist/src/components/gherkin/DataTable.js.map +1 -1
  173. package/dist/src/components/gherkin/Description.d.ts +3 -3
  174. package/dist/src/components/gherkin/Description.d.ts.map +1 -1
  175. package/dist/src/components/gherkin/Description.js +3 -4
  176. package/dist/src/components/gherkin/Description.js.map +1 -1
  177. package/dist/src/components/gherkin/DocString.d.ts +3 -3
  178. package/dist/src/components/gherkin/DocString.d.ts.map +1 -1
  179. package/dist/src/components/gherkin/DocString.js +3 -4
  180. package/dist/src/components/gherkin/DocString.js.map +1 -1
  181. package/dist/src/components/gherkin/ErrorMessage.d.ts +2 -2
  182. package/dist/src/components/gherkin/ErrorMessage.d.ts.map +1 -1
  183. package/dist/src/components/gherkin/ErrorMessage.js +5 -3
  184. package/dist/src/components/gherkin/ErrorMessage.js.map +1 -1
  185. package/dist/src/components/gherkin/ErrorMessage.module.scss +17 -5
  186. package/dist/src/components/gherkin/Examples.d.ts +3 -3
  187. package/dist/src/components/gherkin/Examples.d.ts.map +1 -1
  188. package/dist/src/components/gherkin/Examples.js +7 -18
  189. package/dist/src/components/gherkin/Examples.js.map +1 -1
  190. package/dist/src/components/gherkin/Feature.d.ts +3 -3
  191. package/dist/src/components/gherkin/Feature.d.ts.map +1 -1
  192. package/dist/src/components/gherkin/Feature.js +14 -24
  193. package/dist/src/components/gherkin/Feature.js.map +1 -1
  194. package/dist/src/components/gherkin/GherkinDocument.d.ts +3 -3
  195. package/dist/src/components/gherkin/GherkinDocument.d.ts.map +1 -1
  196. package/dist/src/components/gherkin/GherkinDocument.js +3 -3
  197. package/dist/src/components/gherkin/GherkinDocument.js.map +1 -1
  198. package/dist/src/components/gherkin/Keyword.d.ts +2 -2
  199. package/dist/src/components/gherkin/Keyword.d.ts.map +1 -1
  200. package/dist/src/components/gherkin/Keyword.js +3 -3
  201. package/dist/src/components/gherkin/Keyword.js.map +1 -1
  202. package/dist/src/components/gherkin/Keyword.module.scss +0 -1
  203. package/dist/src/components/gherkin/Parameter.d.ts +3 -3
  204. package/dist/src/components/gherkin/Parameter.d.ts.map +1 -1
  205. package/dist/src/components/gherkin/Parameter.js +4 -4
  206. package/dist/src/components/gherkin/Parameter.js.map +1 -1
  207. package/dist/src/components/gherkin/Rule.d.ts +3 -3
  208. package/dist/src/components/gherkin/Rule.d.ts.map +1 -1
  209. package/dist/src/components/gherkin/Rule.js +11 -21
  210. package/dist/src/components/gherkin/Rule.js.map +1 -1
  211. package/dist/src/components/gherkin/Scenario.d.ts +3 -3
  212. package/dist/src/components/gherkin/Scenario.d.ts.map +1 -1
  213. package/dist/src/components/gherkin/Scenario.js +5 -14
  214. package/dist/src/components/gherkin/Scenario.js.map +1 -1
  215. package/dist/src/components/gherkin/StatusIcon.d.ts +2 -2
  216. package/dist/src/components/gherkin/StatusIcon.d.ts.map +1 -1
  217. package/dist/src/components/gherkin/StatusIcon.js +10 -10
  218. package/dist/src/components/gherkin/StatusIcon.js.map +1 -1
  219. package/dist/src/components/gherkin/StepsList.d.ts +1 -1
  220. package/dist/src/components/gherkin/StepsList.d.ts.map +1 -1
  221. package/dist/src/components/gherkin/StepsList.js +2 -2
  222. package/dist/src/components/gherkin/StepsList.js.map +1 -1
  223. package/dist/src/components/gherkin/Tags.d.ts +3 -3
  224. package/dist/src/components/gherkin/Tags.d.ts.map +1 -1
  225. package/dist/src/components/gherkin/Tags.js +4 -5
  226. package/dist/src/components/gherkin/Tags.js.map +1 -1
  227. package/dist/src/components/gherkin/Title.d.ts +3 -3
  228. package/dist/src/components/gherkin/Title.d.ts.map +1 -1
  229. package/dist/src/components/gherkin/Title.js +3 -4
  230. package/dist/src/components/gherkin/Title.js.map +1 -1
  231. package/dist/src/components/gherkin/attachment/Attachment.d.ts +3 -3
  232. package/dist/src/components/gherkin/attachment/Attachment.d.ts.map +1 -1
  233. package/dist/src/components/gherkin/attachment/Attachment.js +14 -17
  234. package/dist/src/components/gherkin/attachment/Attachment.js.map +1 -1
  235. package/dist/src/components/gherkin/attachment/Attachment.module.scss +15 -5
  236. package/dist/src/components/gherkin/attachment/Image.d.ts +4 -4
  237. package/dist/src/components/gherkin/attachment/Image.d.ts.map +1 -1
  238. package/dist/src/components/gherkin/attachment/Image.js +6 -8
  239. package/dist/src/components/gherkin/attachment/Image.js.map +1 -1
  240. package/dist/src/components/gherkin/attachment/Links.d.ts +3 -3
  241. package/dist/src/components/gherkin/attachment/Links.d.ts.map +1 -1
  242. package/dist/src/components/gherkin/attachment/Links.js +7 -10
  243. package/dist/src/components/gherkin/attachment/Links.js.map +1 -1
  244. package/dist/src/components/gherkin/attachment/Log.d.ts +3 -3
  245. package/dist/src/components/gherkin/attachment/Log.d.ts.map +1 -1
  246. package/dist/src/components/gherkin/attachment/Log.js +3 -3
  247. package/dist/src/components/gherkin/attachment/Log.js.map +1 -1
  248. package/dist/src/components/gherkin/attachment/Text.d.ts +3 -3
  249. package/dist/src/components/gherkin/attachment/Text.d.ts.map +1 -1
  250. package/dist/src/components/gherkin/attachment/Text.js +4 -6
  251. package/dist/src/components/gherkin/attachment/Text.js.map +1 -1
  252. package/dist/src/components/gherkin/attachment/Unknown.d.ts +2 -2
  253. package/dist/src/components/gherkin/attachment/Unknown.d.ts.map +1 -1
  254. package/dist/src/components/gherkin/attachment/Unknown.js +9 -17
  255. package/dist/src/components/gherkin/attachment/Unknown.js.map +1 -1
  256. package/dist/src/components/gherkin/attachment/Video.d.ts +3 -3
  257. package/dist/src/components/gherkin/attachment/Video.d.ts.map +1 -1
  258. package/dist/src/components/gherkin/attachment/Video.js +6 -10
  259. package/dist/src/components/gherkin/attachment/Video.js.map +1 -1
  260. package/dist/src/components/gherkin/attachment/attachmentFilename.d.ts +1 -1
  261. package/dist/src/components/gherkin/attachment/attachmentFilename.d.ts.map +1 -1
  262. package/dist/src/components/gherkin/attachment/attachmentFilename.js.map +1 -1
  263. package/dist/src/components/gherkin/attachment/base64Decode.d.ts +9 -1
  264. package/dist/src/components/gherkin/attachment/base64Decode.d.ts.map +1 -1
  265. package/dist/src/components/gherkin/attachment/base64Decode.js +17 -3
  266. package/dist/src/components/gherkin/attachment/base64Decode.js.map +1 -1
  267. package/dist/src/components/gherkin/attachment/useText.d.ts +1 -1
  268. package/dist/src/components/gherkin/attachment/useText.d.ts.map +1 -1
  269. package/dist/src/components/gherkin/attachment/useText.js +3 -3
  270. package/dist/src/components/gherkin/attachment/useText.js.map +1 -1
  271. package/dist/src/components/gherkin/composeHookStepTitle.d.ts +1 -1
  272. package/dist/src/components/gherkin/composeHookStepTitle.d.ts.map +1 -1
  273. package/dist/src/components/gherkin/composeHookStepTitle.js +1 -1
  274. package/dist/src/components/gherkin/composeHookStepTitle.js.map +1 -1
  275. package/dist/src/components/gherkin/composePickleStepTitle.d.ts +1 -1
  276. package/dist/src/components/gherkin/composePickleStepTitle.d.ts.map +1 -1
  277. package/dist/src/components/gherkin/composePickleStepTitle.js +2 -2
  278. package/dist/src/components/gherkin/composePickleStepTitle.js.map +1 -1
  279. package/dist/src/components/gherkin/statusName.d.ts +2 -2
  280. package/dist/src/components/gherkin/statusName.d.ts.map +1 -1
  281. package/dist/src/components/gherkin/statusName.js.map +1 -1
  282. package/dist/src/components/results/AmbiguousResult.d.ts +8 -0
  283. package/dist/src/components/results/AmbiguousResult.d.ts.map +1 -0
  284. package/dist/src/components/results/AmbiguousResult.js +11 -0
  285. package/dist/src/components/results/AmbiguousResult.js.map +1 -0
  286. package/dist/src/components/results/AmbiguousResult.module.scss +22 -0
  287. package/dist/src/components/results/FailedResult.d.ts +8 -0
  288. package/dist/src/components/results/FailedResult.d.ts.map +1 -0
  289. package/dist/src/components/results/FailedResult.js +15 -0
  290. package/dist/src/components/results/FailedResult.js.map +1 -0
  291. package/dist/src/components/results/PendingResult.d.ts +8 -0
  292. package/dist/src/components/results/PendingResult.d.ts.map +1 -0
  293. package/dist/src/components/results/PendingResult.js +12 -0
  294. package/dist/src/components/results/PendingResult.js.map +1 -0
  295. package/dist/src/components/results/ResultNote.d.ts +3 -0
  296. package/dist/src/components/results/ResultNote.d.ts.map +1 -0
  297. package/dist/src/components/results/ResultNote.js +6 -0
  298. package/dist/src/components/results/ResultNote.js.map +1 -0
  299. package/dist/src/components/results/ResultNote.module.scss +6 -0
  300. package/dist/src/components/results/SkippedResult.d.ts +8 -0
  301. package/dist/src/components/results/SkippedResult.d.ts.map +1 -0
  302. package/dist/src/components/results/SkippedResult.js +12 -0
  303. package/dist/src/components/results/SkippedResult.js.map +1 -0
  304. package/dist/src/components/results/SourceReference.d.ts +8 -0
  305. package/dist/src/components/results/SourceReference.d.ts.map +1 -0
  306. package/dist/src/components/results/SourceReference.js +13 -0
  307. package/dist/src/components/results/SourceReference.js.map +1 -0
  308. package/dist/src/components/results/SourceReference.module.scss +10 -0
  309. package/dist/src/components/results/TestCaseOutcome.d.ts +2 -2
  310. package/dist/src/components/results/TestCaseOutcome.d.ts.map +1 -1
  311. package/dist/src/components/results/TestCaseOutcome.js +5 -9
  312. package/dist/src/components/results/TestCaseOutcome.js.map +1 -1
  313. package/dist/src/components/results/TestRunHookOutcome.d.ts +2 -2
  314. package/dist/src/components/results/TestRunHookOutcome.d.ts.map +1 -1
  315. package/dist/src/components/results/TestRunHookOutcome.js +4 -13
  316. package/dist/src/components/results/TestRunHookOutcome.js.map +1 -1
  317. package/dist/src/components/results/TestStepAttachments.d.ts +2 -2
  318. package/dist/src/components/results/TestStepAttachments.d.ts.map +1 -1
  319. package/dist/src/components/results/TestStepAttachments.js +4 -5
  320. package/dist/src/components/results/TestStepAttachments.js.map +1 -1
  321. package/dist/src/components/results/TestStepDuration.d.ts +2 -2
  322. package/dist/src/components/results/TestStepDuration.d.ts.map +1 -1
  323. package/dist/src/components/results/TestStepDuration.js +4 -2
  324. package/dist/src/components/results/TestStepDuration.js.map +1 -1
  325. package/dist/src/components/results/TestStepOutcome.d.ts +2 -2
  326. package/dist/src/components/results/TestStepOutcome.d.ts.map +1 -1
  327. package/dist/src/components/results/TestStepOutcome.js +18 -27
  328. package/dist/src/components/results/TestStepOutcome.js.map +1 -1
  329. package/dist/src/components/results/TestStepOutcome.module.scss +1 -1
  330. package/dist/src/components/results/UndefinedResult.d.ts +8 -0
  331. package/dist/src/components/results/UndefinedResult.d.ts.map +1 -0
  332. package/dist/src/components/results/UndefinedResult.js +18 -0
  333. package/dist/src/components/results/UndefinedResult.js.map +1 -0
  334. package/dist/src/components/results/UndefinedResult.module.scss +14 -0
  335. package/dist/src/components/results/index.d.ts +1 -1
  336. package/dist/src/components/results/index.d.ts.map +1 -1
  337. package/dist/src/components/results/index.js +1 -1
  338. package/dist/src/components/results/index.js.map +1 -1
  339. package/dist/src/formatExecutionDuration.js.map +1 -1
  340. package/dist/src/hooks/helpers.js.map +1 -1
  341. package/dist/src/hooks/useFilteredDocuments.d.ts +2 -2
  342. package/dist/src/hooks/useFilteredDocuments.d.ts.map +1 -1
  343. package/dist/src/hooks/useFilteredDocuments.js +70 -18
  344. package/dist/src/hooks/useFilteredDocuments.js.map +1 -1
  345. package/dist/src/hooks/useMostSevereStatusByUri.js.map +1 -1
  346. package/dist/src/hooks/useQueries.d.ts +2 -2
  347. package/dist/src/hooks/useQueries.d.ts.map +1 -1
  348. package/dist/src/hooks/useQueries.js.map +1 -1
  349. package/dist/src/hooks/useResultStatistics.d.ts +3 -2
  350. package/dist/src/hooks/useResultStatistics.d.ts.map +1 -1
  351. package/dist/src/hooks/useResultStatistics.js +19 -2
  352. package/dist/src/hooks/useResultStatistics.js.map +1 -1
  353. package/dist/src/hooks/useSearch.d.ts +1 -1
  354. package/dist/src/hooks/useSearch.d.ts.map +1 -1
  355. package/dist/src/hooks/useSearch.js.map +1 -1
  356. package/dist/src/hooks/useTestCaseStarted.d.ts +6 -1
  357. package/dist/src/hooks/useTestCaseStarted.d.ts.map +1 -1
  358. package/dist/src/hooks/useTestCaseStarted.js +13 -10
  359. package/dist/src/hooks/useTestCaseStarted.js.map +1 -1
  360. package/dist/src/hooks/useTestRunHooks.d.ts +1 -1
  361. package/dist/src/hooks/useTestRunHooks.d.ts.map +1 -1
  362. package/dist/src/hooks/useTestRunHooks.js.map +1 -1
  363. package/dist/src/search/FeatureSearch.d.ts +12 -3
  364. package/dist/src/search/FeatureSearch.d.ts.map +1 -1
  365. package/dist/src/search/FeatureSearch.js +9 -17
  366. package/dist/src/search/FeatureSearch.js.map +1 -1
  367. package/dist/src/search/ScenarioLikeSearch.d.ts +8 -13
  368. package/dist/src/search/ScenarioLikeSearch.d.ts.map +1 -1
  369. package/dist/src/search/ScenarioLikeSearch.js +13 -17
  370. package/dist/src/search/ScenarioLikeSearch.js.map +1 -1
  371. package/dist/src/search/StepSearch.d.ts +9 -16
  372. package/dist/src/search/StepSearch.d.ts.map +1 -1
  373. package/dist/src/search/StepSearch.js +13 -17
  374. package/dist/src/search/StepSearch.js.map +1 -1
  375. package/dist/src/search/TextSearch.d.ts +11 -2
  376. package/dist/src/search/TextSearch.d.ts.map +1 -1
  377. package/dist/src/search/TextSearch.js +59 -52
  378. package/dist/src/search/TextSearch.js.map +1 -1
  379. package/dist/src/search/createSearchIndex.d.ts +7 -0
  380. package/dist/src/search/createSearchIndex.d.ts.map +1 -0
  381. package/dist/src/search/createSearchIndex.js +10 -0
  382. package/dist/src/search/createSearchIndex.js.map +1 -0
  383. package/dist/src/search/deriveLineageConstraints.d.ts +8 -0
  384. package/dist/src/search/deriveLineageConstraints.d.ts.map +1 -0
  385. package/dist/src/search/deriveLineageConstraints.js +38 -0
  386. package/dist/src/search/deriveLineageConstraints.js.map +1 -0
  387. package/dist/src/search/index.d.ts +3 -1
  388. package/dist/src/search/index.d.ts.map +1 -1
  389. package/dist/src/search/index.js +3 -1
  390. package/dist/src/search/index.js.map +1 -1
  391. package/dist/src/search/pruneGherkinDocuments.d.ts +24 -0
  392. package/dist/src/search/pruneGherkinDocuments.d.ts.map +1 -0
  393. package/dist/src/search/pruneGherkinDocuments.js +180 -0
  394. package/dist/src/search/pruneGherkinDocuments.js.map +1 -0
  395. package/dist/src/search/types.d.ts +39 -8
  396. package/dist/src/search/types.d.ts.map +1 -1
  397. package/dist/src/search/types.js +1 -1
  398. package/dist/src/search/types.js.map +1 -1
  399. package/dist/src/styles/statuses.scss +7 -13
  400. package/dist/src/toRepositoryId.d.ts +1 -1
  401. package/dist/src/toRepositoryId.d.ts.map +1 -1
  402. package/dist/src/toRepositoryId.js +7 -6
  403. package/dist/src/toRepositoryId.js.map +1 -1
  404. package/dist/tsconfig.build.tsbuildinfo +1 -1
  405. package/package.json +56 -71
  406. package/dist/src/components/results/TestStepResultDetails.d.ts +0 -4
  407. package/dist/src/components/results/TestStepResultDetails.d.ts.map +0 -1
  408. package/dist/src/components/results/TestStepResultDetails.js +0 -16
  409. package/dist/src/components/results/TestStepResultDetails.js.map +0 -1
  410. package/dist/src/countScenariosByStatuses.d.ts +0 -8
  411. package/dist/src/countScenariosByStatuses.d.ts.map +0 -1
  412. package/dist/src/countScenariosByStatuses.js +0 -22
  413. package/dist/src/countScenariosByStatuses.js.map +0 -1
  414. package/dist/src/filter/filterByStatus.d.ts +0 -5
  415. package/dist/src/filter/filterByStatus.d.ts.map +0 -1
  416. package/dist/src/filter/filterByStatus.js +0 -23
  417. package/dist/src/filter/filterByStatus.js.map +0 -1
  418. package/dist/src/search/Search.d.ts +0 -11
  419. package/dist/src/search/Search.d.ts.map +0 -1
  420. package/dist/src/search/Search.js +0 -46
  421. package/dist/src/search/Search.js.map +0 -1
  422. package/dist/src/search/TagSearch.d.ts +0 -4
  423. package/dist/src/search/TagSearch.d.ts.map +0 -1
  424. package/dist/src/search/TagSearch.js +0 -57
  425. package/dist/src/search/TagSearch.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { HighLight } from '../app/HighLight.js';
3
3
  import { useCustomRendering } from '../customise/index.js';
4
4
  import { Background } from './Background.js';
@@ -10,31 +10,21 @@ import { Scenario } from './Scenario.js';
10
10
  import { Tags } from './Tags.js';
11
11
  import { Title } from './Title.js';
12
12
  const DefaultRenderer = ({ feature }) => {
13
- return (React.createElement("section", null,
14
- React.createElement(Tags, { tags: feature.tags }),
15
- React.createElement(Title, { header: "h1", id: feature.name },
16
- React.createElement(Keyword, null,
17
- feature.keyword,
18
- ":"),
19
- React.createElement(HighLight, { text: feature.name })),
20
- React.createElement(Description, { description: feature.description }),
21
- React.createElement(Children, null, (feature.children || []).map((child, index) => {
22
- if (child.background) {
23
- return React.createElement(Background, { key: index, background: child.background });
24
- }
25
- else if (child.scenario) {
26
- return React.createElement(Scenario, { key: index, scenario: child.scenario });
27
- }
28
- else if (child.rule) {
29
- return React.createElement(Rule, { key: index, rule: child.rule });
30
- }
31
- else {
32
- throw new Error('Expected background, scenario or rule');
33
- }
34
- }))));
13
+ return (_jsxs("section", { children: [_jsx(Tags, { tags: feature.tags }), _jsxs(Title, { header: "h1", id: feature.name, children: [_jsxs(Keyword, { children: [feature.keyword, ":"] }), _jsx(HighLight, { text: feature.name })] }), _jsx(Description, { description: feature.description }), _jsx(Children, { children: (feature.children || []).map((child, index) => {
14
+ if (child.background) {
15
+ return _jsx(Background, { background: child.background }, index);
16
+ }
17
+ if (child.scenario) {
18
+ return _jsx(Scenario, { scenario: child.scenario }, index);
19
+ }
20
+ if (child.rule) {
21
+ return _jsx(Rule, { rule: child.rule }, index);
22
+ }
23
+ throw new Error('Expected background, scenario or rule');
24
+ }) })] }));
35
25
  };
36
26
  export const Feature = (props) => {
37
27
  const ResolvedRenderer = useCustomRendering('Feature', {}, DefaultRenderer);
38
- return React.createElement(ResolvedRenderer, { ...props });
28
+ return _jsx(ResolvedRenderer, { ...props });
39
29
  };
40
30
  //# sourceMappingURL=Feature.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Feature.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAkC,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAmC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACtE,OAAO,CACL;QACE,oBAAC,IAAI,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,GAAI;QAC5B,oBAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,OAAO,CAAC,IAAI;YACjC,oBAAC,OAAO;gBAAE,OAAO,CAAC,OAAO;oBAAY;YACrC,oBAAC,SAAS,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,GAAI,CAC3B;QACR,oBAAC,WAAW,IAAC,WAAW,EAAE,OAAO,CAAC,WAAW,GAAI;QACjD,oBAAC,QAAQ,QACN,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YAC7C,IAAI,KAAK,CAAC,UAAU,EAAE;gBACpB,OAAO,oBAAC,UAAU,IAAC,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,CAAA;aAChE;iBAAM,IAAI,KAAK,CAAC,QAAQ,EAAE;gBACzB,OAAO,oBAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAAA;aAC1D;iBAAM,IAAI,KAAK,CAAC,IAAI,EAAE;gBACrB,OAAO,oBAAC,IAAI,IAAC,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,GAAI,CAAA;aAC9C;iBAAM;gBACL,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;aACzD;QACH,CAAC,CAAC,CACO,CACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAA0C,CAAC,KAAK,EAAE,EAAE;IACtE,MAAM,gBAAgB,GAAG,kBAAkB,CAAe,SAAS,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IACzF,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport { DefaultComponent, FeatureProps, useCustomRendering } from '../customise/index.js'\nimport { Background } from './Background.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Keyword } from './Keyword.js'\nimport { Rule } from './Rule.js'\nimport { Scenario } from './Scenario.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<FeatureProps> = ({ feature }) => {\n return (\n <section>\n <Tags tags={feature.tags} />\n <Title header=\"h1\" id={feature.name}>\n <Keyword>{feature.keyword}:</Keyword>\n <HighLight text={feature.name} />\n </Title>\n <Description description={feature.description} />\n <Children>\n {(feature.children || []).map((child, index) => {\n if (child.background) {\n return <Background key={index} background={child.background} />\n } else if (child.scenario) {\n return <Scenario key={index} scenario={child.scenario} />\n } else if (child.rule) {\n return <Rule key={index} rule={child.rule} />\n } else {\n throw new Error('Expected background, scenario or rule')\n }\n })}\n </Children>\n </section>\n )\n}\n\nexport const Feature: React.FunctionComponent<FeatureProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<FeatureProps>('Feature', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Feature.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Feature.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAA4C,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AACpG,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAmC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACtE,OAAO,CACL,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,GAAI,EAC5B,MAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,OAAO,CAAC,IAAI,aACjC,MAAC,OAAO,eAAE,OAAO,CAAC,OAAO,SAAY,EACrC,KAAC,SAAS,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,GAAI,IAC3B,EACR,KAAC,WAAW,IAAC,WAAW,EAAE,OAAO,CAAC,WAAW,GAAI,EACjD,KAAC,QAAQ,cACN,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;oBAC7C,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;wBACrB,OAAO,KAAC,UAAU,IAAa,UAAU,EAAE,KAAK,CAAC,UAAU,IAAnC,KAAK,CAAkC,CAAA;oBACjE,CAAC;oBACD,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;wBACnB,OAAO,KAAC,QAAQ,IAAa,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAA/B,KAAK,CAA8B,CAAA;oBAC3D,CAAC;oBACD,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;wBACf,OAAO,KAAC,IAAI,IAAa,IAAI,EAAE,KAAK,CAAC,IAAI,IAAvB,KAAK,CAAsB,CAAA;oBAC/C,CAAC;oBACD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAA;gBAC1D,CAAC,CAAC,GACO,IACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAqB,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,gBAAgB,GAAG,kBAAkB,CAAe,SAAS,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IACzF,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport { type DefaultComponent, type FeatureProps, useCustomRendering } from '../customise/index.js'\nimport { Background } from './Background.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Keyword } from './Keyword.js'\nimport { Rule } from './Rule.js'\nimport { Scenario } from './Scenario.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<FeatureProps> = ({ feature }) => {\n return (\n <section>\n <Tags tags={feature.tags} />\n <Title header=\"h1\" id={feature.name}>\n <Keyword>{feature.keyword}:</Keyword>\n <HighLight text={feature.name} />\n </Title>\n <Description description={feature.description} />\n <Children>\n {(feature.children || []).map((child, index) => {\n if (child.background) {\n return <Background key={index} background={child.background} />\n }\n if (child.scenario) {\n return <Scenario key={index} scenario={child.scenario} />\n }\n if (child.rule) {\n return <Rule key={index} rule={child.rule} />\n }\n throw new Error('Expected background, scenario or rule')\n })}\n </Children>\n </section>\n )\n}\n\nexport const Feature: FC<FeatureProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<FeatureProps>('Feature', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { GherkinDocumentProps } from '../customise/index.js';
3
- export declare const GherkinDocument: React.FunctionComponent<GherkinDocumentProps>;
1
+ import type { FC } from 'react';
2
+ import { type GherkinDocumentProps } from '../customise/index.js';
3
+ export declare const GherkinDocument: FC<GherkinDocumentProps>;
4
4
  //# sourceMappingURL=GherkinDocument.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GherkinDocument.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/GherkinDocument.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,oBAAoB,EAAsB,MAAM,uBAAuB,CAAA;AAOhF,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAOzE,CAAA"}
1
+ {"version":3,"file":"GherkinDocument.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/GherkinDocument.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAAE,KAAK,oBAAoB,EAAsB,MAAM,uBAAuB,CAAA;AAOrF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAOpD,CAAA"}
@@ -1,11 +1,11 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCustomRendering } from '../customise/index.js';
3
3
  import { Feature } from './Feature.js';
4
4
  const DefaultRenderer = ({ gherkinDocument }) => {
5
- return gherkinDocument.feature ? React.createElement(Feature, { feature: gherkinDocument.feature }) : null;
5
+ return gherkinDocument.feature ? _jsx(Feature, { feature: gherkinDocument.feature }) : null;
6
6
  };
7
7
  export const GherkinDocument = (props) => {
8
8
  const ResolvedRenderer = useCustomRendering('GherkinDocument', {}, DefaultRenderer);
9
- return React.createElement(ResolvedRenderer, { ...props });
9
+ return _jsx(ResolvedRenderer, { ...props });
10
10
  };
11
11
  //# sourceMappingURL=GherkinDocument.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GherkinDocument.js","sourceRoot":"","sources":["../../../../src/components/gherkin/GherkinDocument.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAwB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,MAAM,eAAe,GAAkD,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE;IAC7F,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,oBAAC,OAAO,IAAC,OAAO,EAAE,eAAe,CAAC,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,CAAA;AACvF,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAkD,CAAC,KAAK,EAAE,EAAE;IACtF,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,iBAAiB,EACjB,EAAE,EACF,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport { GherkinDocumentProps, useCustomRendering } from '../customise/index.js'\nimport { Feature } from './Feature.js'\n\nconst DefaultRenderer: React.FunctionComponent<GherkinDocumentProps> = ({ gherkinDocument }) => {\n return gherkinDocument.feature ? <Feature feature={gherkinDocument.feature} /> : null\n}\n\nexport const GherkinDocument: React.FunctionComponent<GherkinDocumentProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<GherkinDocumentProps>(\n 'GherkinDocument',\n {},\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"GherkinDocument.js","sourceRoot":"","sources":["../../../../src/components/gherkin/GherkinDocument.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA6B,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,MAAM,eAAe,GAA6B,CAAC,EAAE,eAAe,EAAE,EAAE,EAAE;IACxE,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,OAAO,EAAE,eAAe,CAAC,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,CAAA;AACvF,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAA6B,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,iBAAiB,EACjB,EAAE,EACF,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport { type GherkinDocumentProps, useCustomRendering } from '../customise/index.js'\nimport { Feature } from './Feature.js'\n\nconst DefaultRenderer: FC<GherkinDocumentProps> = ({ gherkinDocument }) => {\n return gherkinDocument.feature ? <Feature feature={gherkinDocument.feature} /> : null\n}\n\nexport const GherkinDocument: FC<GherkinDocumentProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<GherkinDocumentProps>(\n 'GherkinDocument',\n {},\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { KeywordProps } from '../customise/index.js';
1
+ import type { FunctionComponent } from 'react';
2
+ import { type KeywordProps } from '../customise/index.js';
3
3
  export declare const Keyword: FunctionComponent<KeywordProps>;
4
4
  //# sourceMappingURL=Keyword.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Keyword.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Keyword.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAGL,YAAY,EAEb,MAAM,uBAAuB,CAAA;AAO9B,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAOnD,CAAA"}
1
+ {"version":3,"file":"Keyword.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Keyword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAE9C,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,uBAAuB,CAAA;AAO9B,eAAO,MAAM,OAAO,EAAE,iBAAiB,CAAC,YAAY,CAOnD,CAAA"}
@@ -1,11 +1,11 @@
1
- import React from 'react';
1
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCustomRendering, } from '../customise/index.js';
3
3
  import defaultStyles from './Keyword.module.scss';
4
4
  const DefaultRenderer = ({ children, styles }) => {
5
- return React.createElement("span", { className: styles.keyword }, children);
5
+ return _jsxs("span", { className: styles.keyword, children: [children, " "] });
6
6
  };
7
7
  export const Keyword = ({ children }) => {
8
8
  const ResolvedRenderer = useCustomRendering('Keyword', defaultStyles, DefaultRenderer);
9
- return React.createElement(ResolvedRenderer, null, children);
9
+ return _jsx(ResolvedRenderer, { children: children });
10
10
  };
11
11
  //# sourceMappingURL=Keyword.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Keyword.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Keyword.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAEhD,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,uBAAuB,CAAA;AAEjD,MAAM,eAAe,GAAmD,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;IAC/F,OAAO,8BAAM,SAAS,EAAE,MAAM,CAAC,OAAO,IAAG,QAAQ,CAAQ,CAAA;AAC3D,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAoC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,SAAS,EACT,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,gBAAgB,QAAE,QAAQ,CAAoB,CAAA;AACxD,CAAC,CAAA","sourcesContent":["import React, { FunctionComponent } from 'react'\n\nimport {\n DefaultComponent,\n KeywordClasses,\n KeywordProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './Keyword.module.scss'\n\nconst DefaultRenderer: DefaultComponent<KeywordProps, KeywordClasses> = ({ children, styles }) => {\n return <span className={styles.keyword}>{children}</span>\n}\n\nexport const Keyword: FunctionComponent<KeywordProps> = ({ children }) => {\n const ResolvedRenderer = useCustomRendering<KeywordProps, KeywordClasses>(\n 'Keyword',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer>{children}</ResolvedRenderer>\n}\n"]}
1
+ {"version":3,"file":"Keyword.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Keyword.tsx"],"names":[],"mappings":";AAEA,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,uBAAuB,CAAA;AAEjD,MAAM,eAAe,GAAmD,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE;IAC/F,OAAO,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAAG,QAAQ,SAAS,CAAA;AAC5D,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,OAAO,GAAoC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,SAAS,EACT,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,gBAAgB,cAAE,QAAQ,GAAoB,CAAA;AACxD,CAAC,CAAA","sourcesContent":["import type { FunctionComponent } from 'react'\n\nimport {\n type DefaultComponent,\n type KeywordClasses,\n type KeywordProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './Keyword.module.scss'\n\nconst DefaultRenderer: DefaultComponent<KeywordProps, KeywordClasses> = ({ children, styles }) => {\n return <span className={styles.keyword}>{children} </span>\n}\n\nexport const Keyword: FunctionComponent<KeywordProps> = ({ children }) => {\n const ResolvedRenderer = useCustomRendering<KeywordProps, KeywordClasses>(\n 'Keyword',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer>{children}</ResolvedRenderer>\n}\n"]}
@@ -3,5 +3,4 @@
3
3
  .keyword {
4
4
  font-weight: bold;
5
5
  color: theming.$keywordColor;
6
- margin-right: 0.25em;
7
6
  }
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { ParameterProps } from '../customise/index.js';
3
- export declare const Parameter: React.FunctionComponent<ParameterProps>;
1
+ import type { FC } from 'react';
2
+ import { type ParameterProps } from '../customise/index.js';
3
+ export declare const Parameter: FC<ParameterProps>;
4
4
  //# sourceMappingURL=Parameter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Parameter.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Parameter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAGL,cAAc,EAEf,MAAM,uBAAuB,CAAA;AAgB9B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAO7D,CAAA"}
1
+ {"version":3,"file":"Parameter.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Parameter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAA;AAU9B,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAOxC,CAAA"}
@@ -1,11 +1,11 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCustomRendering, } from '../customise/index.js';
3
3
  import defaultStyles from './Parameter.module.scss';
4
- const DefaultRenderer = ({ parameterTypeName, value, children, styles, }) => {
5
- return (React.createElement("span", { title: parameterTypeName, "aria-label": value, className: styles.parameter }, children));
4
+ const DefaultRenderer = ({ children, styles, }) => {
5
+ return _jsx("span", { className: styles.parameter, children: children });
6
6
  };
7
7
  export const Parameter = (props) => {
8
8
  const ResolvedRenderer = useCustomRendering('Parameter', defaultStyles, DefaultRenderer);
9
- return React.createElement(ResolvedRenderer, { ...props });
9
+ return _jsx(ResolvedRenderer, { ...props });
10
10
  };
11
11
  //# sourceMappingURL=Parameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Parameter.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Parameter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,yBAAyB,CAAA;AAEnD,MAAM,eAAe,GAAuD,CAAC,EAC3E,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,8BAAM,KAAK,EAAE,iBAAiB,gBAAc,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,IAC3E,QAAQ,CACJ,CACR,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAA4C,CAAC,KAAK,EAAE,EAAE;IAC1E,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,WAAW,EACX,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport {\n DefaultComponent,\n ParameterClasses,\n ParameterProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './Parameter.module.scss'\n\nconst DefaultRenderer: DefaultComponent<ParameterProps, ParameterClasses> = ({\n parameterTypeName,\n value,\n children,\n styles,\n}) => {\n return (\n <span title={parameterTypeName} aria-label={value} className={styles.parameter}>\n {children}\n </span>\n )\n}\n\nexport const Parameter: React.FunctionComponent<ParameterProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<ParameterProps, ParameterClasses>(\n 'Parameter',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Parameter.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Parameter.tsx"],"names":[],"mappings":";AAEA,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,yBAAyB,CAAA;AAEnD,MAAM,eAAe,GAAuD,CAAC,EAC3E,QAAQ,EACR,MAAM,GACP,EAAE,EAAE;IACH,OAAO,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,YAAG,QAAQ,GAAQ,CAAA;AAC7D,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAuB,CAAC,KAAK,EAAE,EAAE;IACrD,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,WAAW,EACX,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport {\n type DefaultComponent,\n type ParameterClasses,\n type ParameterProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './Parameter.module.scss'\n\nconst DefaultRenderer: DefaultComponent<ParameterProps, ParameterClasses> = ({\n children,\n styles,\n}) => {\n return <span className={styles.parameter}>{children}</span>\n}\n\nexport const Parameter: FC<ParameterProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<ParameterProps, ParameterClasses>(\n 'Parameter',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { RuleProps } from '../customise/index.js';
3
- export declare const Rule: React.FunctionComponent<RuleProps>;
1
+ import type { FC } from 'react';
2
+ import { type RuleProps } from '../customise/index.js';
3
+ export declare const Rule: FC<RuleProps>;
4
4
  //# sourceMappingURL=Rule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Rule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAoB,SAAS,EAAsB,MAAM,uBAAuB,CAAA;AAiCvF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAGnD,CAAA"}
1
+ {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Rule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAAyB,KAAK,SAAS,EAAsB,MAAM,uBAAuB,CAAA;AAiCjG,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAG9B,CAAA"}
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { HighLight } from '../app/HighLight.js';
3
3
  import { useCustomRendering } from '../customise/index.js';
4
4
  import { Background } from './Background.js';
@@ -9,28 +9,18 @@ import { Scenario } from './Scenario.js';
9
9
  import { Tags } from './Tags.js';
10
10
  import { Title } from './Title.js';
11
11
  const DefaultRenderer = ({ rule }) => {
12
- return (React.createElement("section", null,
13
- React.createElement(Tags, { tags: rule.tags }),
14
- React.createElement(Title, { header: "h2", id: rule.id },
15
- React.createElement(Keyword, null,
16
- rule.keyword,
17
- ":"),
18
- React.createElement(HighLight, { text: rule.name })),
19
- React.createElement(Description, { description: rule.description }),
20
- React.createElement(Children, null, (rule.children || []).map((child, index) => {
21
- if (child.background) {
22
- return React.createElement(Background, { key: index, background: child.background });
23
- }
24
- else if (child.scenario) {
25
- return React.createElement(Scenario, { key: index, scenario: child.scenario });
26
- }
27
- else {
28
- throw new Error('Expected background or scenario');
29
- }
30
- }))));
12
+ return (_jsxs("section", { children: [_jsx(Tags, { tags: rule.tags }), _jsxs(Title, { header: "h2", id: rule.id, children: [_jsxs(Keyword, { children: [rule.keyword, ":"] }), _jsx(HighLight, { text: rule.name })] }), _jsx(Description, { description: rule.description }), _jsx(Children, { children: (rule.children || []).map((child, index) => {
13
+ if (child.background) {
14
+ return _jsx(Background, { background: child.background }, index);
15
+ }
16
+ if (child.scenario) {
17
+ return _jsx(Scenario, { scenario: child.scenario }, index);
18
+ }
19
+ throw new Error('Expected background or scenario');
20
+ }) })] }));
31
21
  };
32
22
  export const Rule = (props) => {
33
23
  const ResolvedRenderer = useCustomRendering('Rule', {}, DefaultRenderer);
34
- return React.createElement(ResolvedRenderer, { ...props });
24
+ return _jsx(ResolvedRenderer, { ...props });
35
25
  };
36
26
  //# sourceMappingURL=Rule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Rule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAA+B,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAgC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAChE,OAAO,CACL;QACE,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI;QACzB,oBAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,IAAI,CAAC,EAAE;YAC5B,oBAAC,OAAO;gBAAE,IAAI,CAAC,OAAO;oBAAY;YAClC,oBAAC,SAAS,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CACxB;QACR,oBAAC,WAAW,IAAC,WAAW,EAAE,IAAI,CAAC,WAAW,GAAI;QAC9C,oBAAC,QAAQ,QACN,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YAC1C,IAAI,KAAK,CAAC,UAAU,EAAE;gBACpB,OAAO,oBAAC,UAAU,IAAC,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,GAAI,CAAA;aAChE;iBAAM,IAAI,KAAK,CAAC,QAAQ,EAAE;gBACzB,OAAO,oBAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,CAAA;aAC1D;iBAAM;gBACL,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAA;aACnD;QACH,CAAC,CAAC,CACO,CACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAuC,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,gBAAgB,GAAG,kBAAkB,CAAY,MAAM,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IACnF,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport { DefaultComponent, RuleProps, useCustomRendering } from '../customise/index.js'\nimport { Background } from './Background.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Keyword } from './Keyword.js'\nimport { Scenario } from './Scenario.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<RuleProps> = ({ rule }) => {\n return (\n <section>\n <Tags tags={rule.tags} />\n <Title header=\"h2\" id={rule.id}>\n <Keyword>{rule.keyword}:</Keyword>\n <HighLight text={rule.name} />\n </Title>\n <Description description={rule.description} />\n <Children>\n {(rule.children || []).map((child, index) => {\n if (child.background) {\n return <Background key={index} background={child.background} />\n } else if (child.scenario) {\n return <Scenario key={index} scenario={child.scenario} />\n } else {\n throw new Error('Expected background or scenario')\n }\n })}\n </Children>\n </section>\n )\n}\n\nexport const Rule: React.FunctionComponent<RuleProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<RuleProps>('Rule', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Rule.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAyC,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AACjG,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAgC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAChE,OAAO,CACL,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,EACzB,MAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,IAAI,CAAC,EAAE,aAC5B,MAAC,OAAO,eAAE,IAAI,CAAC,OAAO,SAAY,EAClC,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,IACxB,EACR,KAAC,WAAW,IAAC,WAAW,EAAE,IAAI,CAAC,WAAW,GAAI,EAC9C,KAAC,QAAQ,cACN,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;oBAC1C,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;wBACrB,OAAO,KAAC,UAAU,IAAa,UAAU,EAAE,KAAK,CAAC,UAAU,IAAnC,KAAK,CAAkC,CAAA;oBACjE,CAAC;oBACD,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;wBACnB,OAAO,KAAC,QAAQ,IAAa,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAA/B,KAAK,CAA8B,CAAA;oBAC3D,CAAC;oBACD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAA;gBACpD,CAAC,CAAC,GACO,IACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAkB,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,gBAAgB,GAAG,kBAAkB,CAAY,MAAM,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IACnF,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport { type DefaultComponent, type RuleProps, useCustomRendering } from '../customise/index.js'\nimport { Background } from './Background.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Keyword } from './Keyword.js'\nimport { Scenario } from './Scenario.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<RuleProps> = ({ rule }) => {\n return (\n <section>\n <Tags tags={rule.tags} />\n <Title header=\"h2\" id={rule.id}>\n <Keyword>{rule.keyword}:</Keyword>\n <HighLight text={rule.name} />\n </Title>\n <Description description={rule.description} />\n <Children>\n {(rule.children || []).map((child, index) => {\n if (child.background) {\n return <Background key={index} background={child.background} />\n }\n if (child.scenario) {\n return <Scenario key={index} scenario={child.scenario} />\n }\n throw new Error('Expected background or scenario')\n })}\n </Children>\n </section>\n )\n}\n\nexport const Rule: FC<RuleProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<RuleProps>('Rule', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { ScenarioProps } from '../customise/index.js';
3
- export declare const Scenario: React.FunctionComponent<ScenarioProps>;
1
+ import type { FC } from 'react';
2
+ import { type ScenarioProps } from '../customise/index.js';
3
+ export declare const Scenario: FC<ScenarioProps>;
4
4
  //# sourceMappingURL=Scenario.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scenario.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Scenario.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAoB,aAAa,EAAsB,MAAM,uBAAuB,CAAA;AAmC3F,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAG3D,CAAA"}
1
+ {"version":3,"file":"Scenario.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Scenario.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI/B,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,uBAAuB,CAAA;AA8B9B,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAGtC,CAAA"}
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTestCaseStarted } from '../../hooks/useTestCaseStarted.js';
3
3
  import { HighLight } from '../app/HighLight.js';
4
- import { useCustomRendering } from '../customise/index.js';
4
+ import { useCustomRendering, } from '../customise/index.js';
5
5
  import { TestCaseOutcome } from '../results/index.js';
6
6
  import { Children } from './Children.js';
7
7
  import { Description } from './Description.js';
@@ -12,20 +12,11 @@ import { Title } from './Title.js';
12
12
  const DefaultRenderer = ({ scenario }) => {
13
13
  const examplesList = scenario.examples || [];
14
14
  const testCaseStarted = useTestCaseStarted(scenario.id);
15
- return (React.createElement("section", null,
16
- React.createElement(Tags, { tags: scenario.tags }),
17
- React.createElement(Title, { header: "h2", id: scenario.id },
18
- React.createElement(Keyword, null,
19
- scenario.keyword,
20
- ":"),
21
- React.createElement(HighLight, { text: scenario.name })),
22
- React.createElement(Description, { description: scenario.description }),
23
- React.createElement(Children, null,
24
- testCaseStarted && React.createElement(TestCaseOutcome, { testCaseStarted: testCaseStarted }),
25
- examplesList.length > 0 && (React.createElement(React.Fragment, null, examplesList.map((examples, index) => (React.createElement(Examples, { key: index, examples: examples }))))))));
15
+ return (_jsxs("section", { children: [_jsx(Tags, { tags: scenario.tags }), _jsxs(Title, { header: "h2", id: scenario.id, children: [_jsxs(Keyword, { children: [scenario.keyword, ":"] }), _jsx(HighLight, { text: scenario.name })] }), _jsx(Description, { description: scenario.description }), _jsxs(Children, { children: [testCaseStarted && _jsx(TestCaseOutcome, { testCaseStarted: testCaseStarted }), examplesList.length > 0 &&
16
+ examplesList.map((examples, index) => _jsx(Examples, { examples: examples }, index))] })] }));
26
17
  };
27
18
  export const Scenario = (props) => {
28
19
  const ResolvedRenderer = useCustomRendering('Scenario', {}, DefaultRenderer);
29
- return React.createElement(ResolvedRenderer, { ...props });
20
+ return _jsx(ResolvedRenderer, { ...props });
30
21
  };
31
22
  //# sourceMappingURL=Scenario.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Scenario.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Scenario.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAmC,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAoC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACxE,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,IAAI,EAAE,CAAA;IAC5C,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;IAEvD,OAAO,CACL;QACE,oBAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAI;QAC7B,oBAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,QAAQ,CAAC,EAAE;YAChC,oBAAC,OAAO;gBAAE,QAAQ,CAAC,OAAO;oBAAY;YACtC,oBAAC,SAAS,IAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAI,CAC5B;QACR,oBAAC,WAAW,IAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,GAAI;QAClD,oBAAC,QAAQ;YACN,eAAe,IAAI,oBAAC,eAAe,IAAC,eAAe,EAAE,eAAe,GAAI;YACxE,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAC1B,0CACG,YAAY,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,CACrC,oBAAC,QAAQ,IAAC,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CAC7C,CAAC,CACD,CACJ,CACQ,CACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAA2C,CAAC,KAAK,EAAE,EAAE;IACxE,MAAM,gBAAgB,GAAG,kBAAkB,CAAgB,UAAU,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IAC3F,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport { useTestCaseStarted } from '../../hooks/useTestCaseStarted.js'\nimport { HighLight } from '../app/HighLight.js'\nimport { DefaultComponent, ScenarioProps, useCustomRendering } from '../customise/index.js'\nimport { TestCaseOutcome } from '../results/index.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Examples } from './Examples.js'\nimport { Keyword } from './Keyword.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<ScenarioProps> = ({ scenario }) => {\n const examplesList = scenario.examples || []\n const testCaseStarted = useTestCaseStarted(scenario.id)\n\n return (\n <section>\n <Tags tags={scenario.tags} />\n <Title header=\"h2\" id={scenario.id}>\n <Keyword>{scenario.keyword}:</Keyword>\n <HighLight text={scenario.name} />\n </Title>\n <Description description={scenario.description} />\n <Children>\n {testCaseStarted && <TestCaseOutcome testCaseStarted={testCaseStarted} />}\n {examplesList.length > 0 && (\n <>\n {examplesList.map((examples, index) => (\n <Examples key={index} examples={examples} />\n ))}\n </>\n )}\n </Children>\n </section>\n )\n}\n\nexport const Scenario: React.FunctionComponent<ScenarioProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<ScenarioProps>('Scenario', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Scenario.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Scenario.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAGL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,eAAe,GAAoC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACxE,MAAM,YAAY,GAAG,QAAQ,CAAC,QAAQ,IAAI,EAAE,CAAA;IAC5C,MAAM,eAAe,GAAG,kBAAkB,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;IAEvD,OAAO,CACL,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAI,EAC7B,MAAC,KAAK,IAAC,MAAM,EAAC,IAAI,EAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,aAChC,MAAC,OAAO,eAAE,QAAQ,CAAC,OAAO,SAAY,EACtC,KAAC,SAAS,IAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAI,IAC5B,EACR,KAAC,WAAW,IAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,GAAI,EAClD,MAAC,QAAQ,eACN,eAAe,IAAI,KAAC,eAAe,IAAC,eAAe,EAAE,eAAe,GAAI,EACxE,YAAY,CAAC,MAAM,GAAG,CAAC;wBACtB,YAAY,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAa,QAAQ,EAAE,QAAQ,IAAzB,KAAK,CAAwB,CAAC,IAC5E,IACH,CACX,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAsB,CAAC,KAAK,EAAE,EAAE;IACnD,MAAM,gBAAgB,GAAG,kBAAkB,CAAgB,UAAU,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;IAC3F,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport { useTestCaseStarted } from '../../hooks/useTestCaseStarted.js'\nimport { HighLight } from '../app/HighLight.js'\nimport {\n type DefaultComponent,\n type ScenarioProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport { TestCaseOutcome } from '../results/index.js'\nimport { Children } from './Children.js'\nimport { Description } from './Description.js'\nimport { Examples } from './Examples.js'\nimport { Keyword } from './Keyword.js'\nimport { Tags } from './Tags.js'\nimport { Title } from './Title.js'\n\nconst DefaultRenderer: DefaultComponent<ScenarioProps> = ({ scenario }) => {\n const examplesList = scenario.examples || []\n const testCaseStarted = useTestCaseStarted(scenario.id)\n\n return (\n <section>\n <Tags tags={scenario.tags} />\n <Title header=\"h2\" id={scenario.id}>\n <Keyword>{scenario.keyword}:</Keyword>\n <HighLight text={scenario.name} />\n </Title>\n <Description description={scenario.description} />\n <Children>\n {testCaseStarted && <TestCaseOutcome testCaseStarted={testCaseStarted} />}\n {examplesList.length > 0 &&\n examplesList.map((examples, index) => <Examples key={index} examples={examples} />)}\n </Children>\n </section>\n )\n}\n\nexport const Scenario: FC<ScenarioProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<ScenarioProps>('Scenario', {}, DefaultRenderer)\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
2
- import { StatusIconProps } from '../customise/index.js';
1
+ import type { FunctionComponent } from 'react';
2
+ import { type StatusIconProps } from '../customise/index.js';
3
3
  export declare const StatusIcon: FunctionComponent<StatusIconProps>;
4
4
  //# sourceMappingURL=StatusIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/StatusIcon.tsx"],"names":[],"mappings":"AAWA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,OAAO,EAGL,eAAe,EAEhB,MAAM,uBAAuB,CAAA;AAiB9B,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAOzD,CAAA"}
1
+ {"version":3,"file":"StatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/StatusIcon.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAE9C,OAAO,EAGL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAA;AAiB9B,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAOzD,CAAA"}
@@ -1,24 +1,24 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
1
2
  import { faCheckCircle, faInfoCircle, faPauseCircle, faQuestionCircle, faStopCircle, faTimesCircle, } from '@fortawesome/free-solid-svg-icons';
2
3
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3
- import React from 'react';
4
4
  import { useCustomRendering, } from '../customise/index.js';
5
5
  import defaultStyles from './StatusIcon.module.scss';
6
6
  const DefaultRenderer = ({ status, styles, }) => {
7
- return (React.createElement(FontAwesomeIcon, { icon: statusIcon(status), size: "1x", className: styles.icon, "data-status": status }));
7
+ return (_jsx(FontAwesomeIcon, { icon: statusIcon(status), size: "1x", className: styles.icon, "data-status": status }));
8
8
  };
9
9
  export const StatusIcon = (props) => {
10
10
  const Customised = useCustomRendering('StatusIcon', defaultStyles, DefaultRenderer);
11
- return React.createElement(Customised, { ...props });
11
+ return _jsx(Customised, { ...props });
12
12
  };
13
13
  const statusIcon = (status) => {
14
14
  return {
15
- ['PASSED']: faCheckCircle,
16
- ['SKIPPED']: faStopCircle,
17
- ['PENDING']: faPauseCircle,
18
- ['UNDEFINED']: faQuestionCircle,
19
- ['AMBIGUOUS']: faInfoCircle,
20
- ['FAILED']: faTimesCircle,
21
- ['UNKNOWN']: faQuestionCircle,
15
+ PASSED: faCheckCircle,
16
+ SKIPPED: faStopCircle,
17
+ PENDING: faPauseCircle,
18
+ UNDEFINED: faQuestionCircle,
19
+ AMBIGUOUS: faInfoCircle,
20
+ FAILED: faTimesCircle,
21
+ UNKNOWN: faQuestionCircle,
22
22
  }[status];
23
23
  };
24
24
  //# sourceMappingURL=StatusIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIcon.js","sourceRoot":"","sources":["../../../../src/components/gherkin/StatusIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GAEd,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,KAA4B,MAAM,OAAO,CAAA;AAEhD,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,0BAA0B,CAAA;AAEpD,MAAM,eAAe,GAAyD,CAAC,EAC7E,MAAM,EACN,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,eAAe,IACd,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,IAAI,EAAC,IAAI,EACT,SAAS,EAAE,MAAM,CAAC,IAAI,iBACT,MAAM,GACnB,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAuC,CAAC,KAAK,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,kBAAkB,CACnC,YAAY,EACZ,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,UAAU,OAAK,KAAK,GAAI,CAAA;AAClC,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,MAAqC,EAAkB,EAAE;IAC3E,OAAO;QACL,CAAC,QAAQ,CAAC,EAAE,aAAa;QACzB,CAAC,SAAS,CAAC,EAAE,YAAY;QACzB,CAAC,SAAS,CAAC,EAAE,aAAa;QAC1B,CAAC,WAAW,CAAC,EAAE,gBAAgB;QAC/B,CAAC,WAAW,CAAC,EAAE,YAAY;QAC3B,CAAC,QAAQ,CAAC,EAAE,aAAa;QACzB,CAAC,SAAS,CAAC,EAAE,gBAAgB;KAC9B,CAAC,MAAM,CAAC,CAAA;AACX,CAAC,CAAA","sourcesContent":["import * as messages from '@cucumber/messages'\nimport {\n faCheckCircle,\n faInfoCircle,\n faPauseCircle,\n faQuestionCircle,\n faStopCircle,\n faTimesCircle,\n IconDefinition,\n} from '@fortawesome/free-solid-svg-icons'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport React, { FunctionComponent } from 'react'\n\nimport {\n DefaultComponent,\n StatusIconClasses,\n StatusIconProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './StatusIcon.module.scss'\n\nconst DefaultRenderer: DefaultComponent<StatusIconProps, StatusIconClasses> = ({\n status,\n styles,\n}) => {\n return (\n <FontAwesomeIcon\n icon={statusIcon(status)}\n size=\"1x\"\n className={styles.icon}\n data-status={status}\n />\n )\n}\n\nexport const StatusIcon: FunctionComponent<StatusIconProps> = (props) => {\n const Customised = useCustomRendering<StatusIconProps, StatusIconClasses>(\n 'StatusIcon',\n defaultStyles,\n DefaultRenderer\n )\n return <Customised {...props} />\n}\n\nconst statusIcon = (status: messages.TestStepResultStatus): IconDefinition => {\n return {\n ['PASSED']: faCheckCircle,\n ['SKIPPED']: faStopCircle,\n ['PENDING']: faPauseCircle,\n ['UNDEFINED']: faQuestionCircle,\n ['AMBIGUOUS']: faInfoCircle,\n ['FAILED']: faTimesCircle,\n ['UNKNOWN']: faQuestionCircle,\n }[status]\n}\n"]}
1
+ {"version":3,"file":"StatusIcon.js","sourceRoot":"","sources":["../../../../src/components/gherkin/StatusIcon.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GAEd,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAGhE,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,0BAA0B,CAAA;AAEpD,MAAM,eAAe,GAAyD,CAAC,EAC7E,MAAM,EACN,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,KAAC,eAAe,IACd,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,IAAI,EAAC,IAAI,EACT,SAAS,EAAE,MAAM,CAAC,IAAI,iBACT,MAAM,GACnB,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAuC,CAAC,KAAK,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,kBAAkB,CACnC,YAAY,EACZ,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,UAAU,OAAK,KAAK,GAAI,CAAA;AAClC,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,MAA4B,EAAkB,EAAE;IAClE,OAAO;QACL,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,aAAa;QACtB,SAAS,EAAE,gBAAgB;QAC3B,SAAS,EAAE,YAAY;QACvB,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,gBAAgB;KAC1B,CAAC,MAAM,CAAC,CAAA;AACX,CAAC,CAAA","sourcesContent":["import type { TestStepResultStatus } from '@cucumber/messages'\nimport {\n faCheckCircle,\n faInfoCircle,\n faPauseCircle,\n faQuestionCircle,\n faStopCircle,\n faTimesCircle,\n type IconDefinition,\n} from '@fortawesome/free-solid-svg-icons'\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\nimport type { FunctionComponent } from 'react'\n\nimport {\n type DefaultComponent,\n type StatusIconClasses,\n type StatusIconProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './StatusIcon.module.scss'\n\nconst DefaultRenderer: DefaultComponent<StatusIconProps, StatusIconClasses> = ({\n status,\n styles,\n}) => {\n return (\n <FontAwesomeIcon\n icon={statusIcon(status)}\n size=\"1x\"\n className={styles.icon}\n data-status={status}\n />\n )\n}\n\nexport const StatusIcon: FunctionComponent<StatusIconProps> = (props) => {\n const Customised = useCustomRendering<StatusIconProps, StatusIconClasses>(\n 'StatusIcon',\n defaultStyles,\n DefaultRenderer\n )\n return <Customised {...props} />\n}\n\nconst statusIcon = (status: TestStepResultStatus): IconDefinition => {\n return {\n PASSED: faCheckCircle,\n SKIPPED: faStopCircle,\n PENDING: faPauseCircle,\n UNDEFINED: faQuestionCircle,\n AMBIGUOUS: faInfoCircle,\n FAILED: faTimesCircle,\n UNKNOWN: faQuestionCircle,\n }[status]\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { FunctionComponent, ReactNode } from 'react';
1
+ import type { FunctionComponent, ReactNode } from 'react';
2
2
  export declare const StepsList: FunctionComponent<{
3
3
  children: ReactNode;
4
4
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"StepsList.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/StepsList.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAI3D,eAAO,MAAM,SAAS,EAAE,iBAAiB,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAMhE,CAAA"}
1
+ {"version":3,"file":"StepsList.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/StepsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIzD,eAAO,MAAM,SAAS,EAAE,iBAAiB,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAMhE,CAAA"}
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import styles from './StepsList.module.scss';
3
3
  export const StepsList = ({ children }) => {
4
- return (React.createElement("ol", { "aria-label": "Steps", className: styles.steps }, children));
4
+ return (_jsx("ol", { "aria-label": "Steps", className: styles.steps, children: children }));
5
5
  };
6
6
  //# sourceMappingURL=StepsList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsList.js","sourceRoot":"","sources":["../../../../src/components/gherkin/StepsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAA;AAE3D,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAE5C,MAAM,CAAC,MAAM,SAAS,GAA+C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,0CAAe,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,IAC3C,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CAAA","sourcesContent":["import React, { FunctionComponent, ReactNode } from 'react'\n\nimport styles from './StepsList.module.scss'\n\nexport const StepsList: FunctionComponent<{ children: ReactNode }> = ({ children }) => {\n return (\n <ol aria-label=\"Steps\" className={styles.steps}>\n {children}\n </ol>\n )\n}\n"]}
1
+ {"version":3,"file":"StepsList.js","sourceRoot":"","sources":["../../../../src/components/gherkin/StepsList.tsx"],"names":[],"mappings":";AAEA,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAE5C,MAAM,CAAC,MAAM,SAAS,GAA+C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpF,OAAO,CACL,2BAAe,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,YAC3C,QAAQ,GACN,CACN,CAAA;AACH,CAAC,CAAA","sourcesContent":["import type { FunctionComponent, ReactNode } from 'react'\n\nimport styles from './StepsList.module.scss'\n\nexport const StepsList: FunctionComponent<{ children: ReactNode }> = ({ children }) => {\n return (\n <ol aria-label=\"Steps\" className={styles.steps}>\n {children}\n </ol>\n )\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TagsProps } from '../customise/index.js';
3
- export declare const Tags: React.FunctionComponent<TagsProps>;
1
+ import type { FC } from 'react';
2
+ import { type TagsProps } from '../customise/index.js';
3
+ export declare const Tags: FC<TagsProps>;
4
4
  //# sourceMappingURL=Tags.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAiC,SAAS,EAAsB,MAAM,uBAAuB,CAAA;AAkBpG,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,SAAS,CAOnD,CAAA"}
1
+ {"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAGL,KAAK,SAAS,EAEf,MAAM,uBAAuB,CAAA;AAkB9B,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAO9B,CAAA"}
@@ -1,16 +1,15 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { HighLight } from '../app/HighLight.js';
3
- import { useCustomRendering } from '../customise/index.js';
3
+ import { useCustomRendering, } from '../customise/index.js';
4
4
  import defaultStyles from './Tags.module.scss';
5
5
  const DefaultRenderer = ({ tags, styles }) => {
6
6
  if (!tags.length) {
7
7
  return null;
8
8
  }
9
- return (React.createElement("ul", { "aria-label": "Tags", className: styles.tags }, tags.map((tag, index) => (React.createElement("li", { className: styles.tag, key: index },
10
- React.createElement(HighLight, { text: tag.name }))))));
9
+ return (_jsx("ul", { "aria-label": "Tags", className: styles.tags, children: tags.map((tag, index) => (_jsx("li", { className: styles.tag, children: _jsx(HighLight, { text: tag.name }) }, index))) }));
11
10
  };
12
11
  export const Tags = (props) => {
13
12
  const ResolvedRenderer = useCustomRendering('Tags', defaultStyles, DefaultRenderer);
14
- return React.createElement(ResolvedRenderer, { ...props });
13
+ return _jsx(ResolvedRenderer, { ...props });
15
14
  };
16
15
  //# sourceMappingURL=Tags.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAA4C,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AACpG,OAAO,aAAa,MAAM,oBAAoB,CAAA;AAE9C,MAAM,eAAe,GAA6C,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE;IACrF,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;QAChB,OAAO,IAAI,CAAA;KACZ;IACD,OAAO,CACL,0CAAe,MAAM,EAAC,SAAS,EAAE,MAAM,CAAC,IAAI,IACzC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,4BAAI,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK;QACnC,oBAAC,SAAS,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,GAAI,CAC1B,CACN,CAAC,CACC,CACN,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAuC,CAAC,KAAK,EAAE,EAAE;IAChE,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,MAAM,EACN,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport { DefaultComponent, TagsClasses, TagsProps, useCustomRendering } from '../customise/index.js'\nimport defaultStyles from './Tags.module.scss'\n\nconst DefaultRenderer: DefaultComponent<TagsProps, TagsClasses> = ({ tags, styles }) => {\n if (!tags.length) {\n return null\n }\n return (\n <ul aria-label=\"Tags\" className={styles.tags}>\n {tags.map((tag, index) => (\n <li className={styles.tag} key={index}>\n <HighLight text={tag.name} />\n </li>\n ))}\n </ul>\n )\n}\n\nexport const Tags: React.FunctionComponent<TagsProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<TagsProps, TagsClasses>(\n 'Tags',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Tags.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,aAAa,MAAM,oBAAoB,CAAA;AAE9C,MAAM,eAAe,GAA6C,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE;IACrF,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,CACL,2BAAe,MAAM,EAAC,SAAS,EAAE,MAAM,CAAC,IAAI,YACzC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,aAAI,SAAS,EAAE,MAAM,CAAC,GAAG,YACvB,KAAC,SAAS,IAAC,IAAI,EAAE,GAAG,CAAC,IAAI,GAAI,IADC,KAAK,CAEhC,CACN,CAAC,GACC,CACN,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,IAAI,GAAkB,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,MAAM,EACN,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport { HighLight } from '../app/HighLight.js'\nimport {\n type DefaultComponent,\n type TagsClasses,\n type TagsProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport defaultStyles from './Tags.module.scss'\n\nconst DefaultRenderer: DefaultComponent<TagsProps, TagsClasses> = ({ tags, styles }) => {\n if (!tags.length) {\n return null\n }\n return (\n <ul aria-label=\"Tags\" className={styles.tags}>\n {tags.map((tag, index) => (\n <li className={styles.tag} key={index}>\n <HighLight text={tag.name} />\n </li>\n ))}\n </ul>\n )\n}\n\nexport const Tags: FC<TagsProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<TagsProps, TagsClasses>(\n 'Tags',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TitleProps } from '../customise/index.js';
3
- export declare const Title: React.FunctionComponent<TitleProps>;
1
+ import type { FC } from 'react';
2
+ import { type TitleProps } from '../customise/index.js';
3
+ export declare const Title: FC<TitleProps>;
4
4
  //# sourceMappingURL=Title.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAGL,UAAU,EAEX,MAAM,uBAAuB,CAAA;AAmB9B,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAOrD,CAAA"}
1
+ {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,EAGL,KAAK,UAAU,EAEhB,MAAM,uBAAuB,CAAA;AAmB9B,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAOhC,CAAA"}
@@ -1,13 +1,12 @@
1
- import React from 'react';
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useCustomRendering, } from '../customise/index.js';
3
3
  import { Anchor } from './Anchor.js';
4
4
  import defaultStyles from './Title.module.scss';
5
5
  const DefaultRenderer = ({ header: Header, id, children, styles, }) => {
6
- return (React.createElement(Anchor, { id: id },
7
- React.createElement(Header, { id: id, className: styles.title }, children)));
6
+ return (_jsx(Anchor, { id: id, children: _jsx(Header, { id: id, className: styles.title, children: children }) }));
8
7
  };
9
8
  export const Title = (props) => {
10
9
  const ResolvedRenderer = useCustomRendering('Title', defaultStyles, DefaultRenderer);
11
- return React.createElement(ResolvedRenderer, { ...props });
10
+ return _jsx(ResolvedRenderer, { ...props });
12
11
  };
13
12
  //# sourceMappingURL=Title.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAE/C,MAAM,eAAe,GAA+C,CAAC,EACnE,MAAM,EAAE,MAAM,EACd,EAAE,EACF,QAAQ,EACR,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,MAAM,IAAC,EAAE,EAAE,EAAE;QACZ,oBAAC,MAAM,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,IACpC,QAAQ,CACF,CACF,CACV,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,KAAK,GAAwC,CAAC,KAAK,EAAE,EAAE;IAClE,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,OAAO,EACP,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,oBAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import React from 'react'\n\nimport {\n DefaultComponent,\n TitleClasses,\n TitleProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport { Anchor } from './Anchor.js'\nimport defaultStyles from './Title.module.scss'\n\nconst DefaultRenderer: DefaultComponent<TitleProps, TitleClasses> = ({\n header: Header,\n id,\n children,\n styles,\n}) => {\n return (\n <Anchor id={id}>\n <Header id={id} className={styles.title}>\n {children}\n </Header>\n </Anchor>\n )\n}\n\nexport const Title: React.FunctionComponent<TitleProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<TitleProps, TitleClasses>(\n 'Title',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
1
+ {"version":3,"file":"Title.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Title.tsx"],"names":[],"mappings":";AAEA,OAAO,EAIL,kBAAkB,GACnB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAE/C,MAAM,eAAe,GAA+C,CAAC,EACnE,MAAM,EAAE,MAAM,EACd,EAAE,EACF,QAAQ,EACR,MAAM,GACP,EAAE,EAAE;IACH,OAAO,CACL,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,YACZ,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,YACpC,QAAQ,GACF,GACF,CACV,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,KAAK,GAAmB,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,gBAAgB,GAAG,kBAAkB,CACzC,OAAO,EACP,aAAa,EACb,eAAe,CAChB,CAAA;IACD,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAA;AACxC,CAAC,CAAA","sourcesContent":["import type { FC } from 'react'\n\nimport {\n type DefaultComponent,\n type TitleClasses,\n type TitleProps,\n useCustomRendering,\n} from '../customise/index.js'\nimport { Anchor } from './Anchor.js'\nimport defaultStyles from './Title.module.scss'\n\nconst DefaultRenderer: DefaultComponent<TitleProps, TitleClasses> = ({\n header: Header,\n id,\n children,\n styles,\n}) => {\n return (\n <Anchor id={id}>\n <Header id={id} className={styles.title}>\n {children}\n </Header>\n </Anchor>\n )\n}\n\nexport const Title: FC<TitleProps> = (props) => {\n const ResolvedRenderer = useCustomRendering<TitleProps, TitleClasses>(\n 'Title',\n defaultStyles,\n DefaultRenderer\n )\n return <ResolvedRenderer {...props} />\n}\n"]}
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { AttachmentProps } from '../../customise/index.js';
3
- export declare const Attachment: React.FunctionComponent<AttachmentProps>;
1
+ import type { FC } from 'react';
2
+ import { type AttachmentProps } from '../../customise/index.js';
3
+ export declare const Attachment: FC<AttachmentProps>;
4
4
  //# sourceMappingURL=Attachment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAEL,eAAe,EAGhB,MAAM,0BAA0B,CAAA;AA+BjC,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAW/D,CAAA"}
1
+ {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../../src/components/gherkin/attachment/Attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,OAAO,EAEL,KAAK,eAAe,EAGrB,MAAM,0BAA0B,CAAA;AAmCjC,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAW1C,CAAA"}