@cucumber/react-components 22.0.0 → 22.2.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 (74) hide show
  1. package/dist/src/components/CucumberReact.js +1 -1
  2. package/dist/src/components/CucumberReact.js.map +1 -1
  3. package/dist/src/components/customise/customRendering.d.ts +3 -2
  4. package/dist/src/components/customise/customRendering.d.ts.map +1 -1
  5. package/dist/src/components/customise/customRendering.js.map +1 -1
  6. package/dist/src/components/gherkin/ErrorMessage.d.ts +2 -2
  7. package/dist/src/components/gherkin/ErrorMessage.d.ts.map +1 -1
  8. package/dist/src/components/gherkin/ErrorMessage.js +4 -4
  9. package/dist/src/components/gherkin/ErrorMessage.js.map +1 -1
  10. package/dist/src/components/gherkin/GherkinStep.js +3 -3
  11. package/dist/src/components/gherkin/GherkinStep.js.map +1 -1
  12. package/dist/src/components/gherkin/HookStep.js +3 -3
  13. package/dist/src/components/gherkin/HookStep.js.map +1 -1
  14. package/dist/src/components/gherkin/attachment/Attachment.d.ts +4 -0
  15. package/dist/src/components/gherkin/attachment/Attachment.d.ts.map +1 -0
  16. package/dist/src/components/gherkin/attachment/Attachment.js +44 -0
  17. package/dist/src/components/gherkin/attachment/Attachment.js.map +1 -0
  18. package/dist/src/components/gherkin/{Attachment.module.scss → attachment/Attachment.module.scss} +17 -1
  19. package/dist/src/components/gherkin/attachment/Image.d.ts +8 -0
  20. package/dist/src/components/gherkin/attachment/Image.d.ts.map +1 -0
  21. package/dist/src/components/gherkin/attachment/Image.js +18 -0
  22. package/dist/src/components/gherkin/attachment/Image.js.map +1 -0
  23. package/dist/src/components/gherkin/attachment/Log.d.ts +8 -0
  24. package/dist/src/components/gherkin/attachment/Log.d.ts.map +1 -0
  25. package/dist/src/components/gherkin/attachment/Log.js +12 -0
  26. package/dist/src/components/gherkin/attachment/Log.js.map +1 -0
  27. package/dist/src/components/gherkin/attachment/Text.d.ts +9 -0
  28. package/dist/src/components/gherkin/attachment/Text.d.ts.map +1 -0
  29. package/dist/src/components/gherkin/attachment/Text.js +18 -0
  30. package/dist/src/components/gherkin/attachment/Text.js.map +1 -0
  31. package/dist/src/components/gherkin/attachment/Unknown.d.ts +4 -0
  32. package/dist/src/components/gherkin/attachment/Unknown.d.ts.map +1 -0
  33. package/dist/src/components/gherkin/attachment/Unknown.js +69 -0
  34. package/dist/src/components/gherkin/attachment/Unknown.js.map +1 -0
  35. package/dist/src/components/gherkin/attachment/Video.d.ts +6 -0
  36. package/dist/src/components/gherkin/attachment/Video.d.ts.map +1 -0
  37. package/dist/src/components/gherkin/attachment/Video.js +20 -0
  38. package/dist/src/components/gherkin/attachment/Video.js.map +1 -0
  39. package/dist/src/components/gherkin/attachment/attachmentFilename.d.ts.map +1 -0
  40. package/dist/src/components/gherkin/attachment/attachmentFilename.js.map +1 -0
  41. package/dist/src/components/gherkin/attachment/base64Decode.d.ts +2 -0
  42. package/dist/src/components/gherkin/attachment/base64Decode.d.ts.map +1 -0
  43. package/dist/src/components/gherkin/attachment/base64Decode.js +5 -0
  44. package/dist/src/components/gherkin/attachment/base64Decode.js.map +1 -0
  45. package/dist/src/components/gherkin/attachment/index.d.ts +2 -0
  46. package/dist/src/components/gherkin/attachment/index.d.ts.map +1 -0
  47. package/dist/src/components/gherkin/attachment/index.js +2 -0
  48. package/dist/src/components/gherkin/attachment/index.js.map +1 -0
  49. package/dist/src/components/gherkin/attachment/useText.d.ts +8 -0
  50. package/dist/src/components/gherkin/attachment/useText.d.ts.map +1 -0
  51. package/dist/src/components/gherkin/attachment/useText.js +28 -0
  52. package/dist/src/components/gherkin/attachment/useText.js.map +1 -0
  53. package/dist/src/components/gherkin/index.d.ts +1 -1
  54. package/dist/src/components/gherkin/index.d.ts.map +1 -1
  55. package/dist/src/components/gherkin/index.js +1 -1
  56. package/dist/src/components/gherkin/index.js.map +1 -1
  57. package/dist/src/components/results/TestStepResultDetails.d.ts +4 -0
  58. package/dist/src/components/results/TestStepResultDetails.d.ts.map +1 -0
  59. package/dist/src/components/results/TestStepResultDetails.js +16 -0
  60. package/dist/src/components/results/TestStepResultDetails.js.map +1 -0
  61. package/dist/src/components/results/index.d.ts +2 -0
  62. package/dist/src/components/results/index.d.ts.map +1 -0
  63. package/dist/src/components/results/index.js +2 -0
  64. package/dist/src/components/results/index.js.map +1 -0
  65. package/dist/tsconfig.build.tsbuildinfo +1 -1
  66. package/package.json +12 -13
  67. package/dist/src/components/gherkin/Attachment.d.ts +0 -5
  68. package/dist/src/components/gherkin/Attachment.d.ts.map +0 -1
  69. package/dist/src/components/gherkin/Attachment.js +0 -125
  70. package/dist/src/components/gherkin/Attachment.js.map +0 -1
  71. package/dist/src/components/gherkin/attachmentFilename.d.ts.map +0 -1
  72. package/dist/src/components/gherkin/attachmentFilename.js.map +0 -1
  73. /package/dist/src/components/gherkin/{attachmentFilename.d.ts → attachment/attachmentFilename.d.ts} +0 -0
  74. /package/dist/src/components/gherkin/{attachmentFilename.js → attachment/attachmentFilename.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cucumber/react-components",
3
- "version": "22.0.0",
3
+ "version": "22.2.0",
4
4
  "description": "React components for Cucumber",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -22,14 +22,13 @@
22
22
  "build": "ladle build",
23
23
  "eslint-fix": "eslint --ext ts,tsx --max-warnings 0 --fix src test-utils",
24
24
  "eslint": "eslint --ext ts,tsx --max-warnings 0 src test-utils",
25
- "upgrade": "npm-check-updates --upgrade",
26
25
  "pretty-quick-staged": "pretty-quick --staged"
27
26
  },
28
27
  "dependencies": {
29
- "@cucumber/gherkin-utils": "^8.0.0",
30
- "@cucumber/messages": "^21.0.0",
31
- "@cucumber/query": "^12.0.0",
32
- "@cucumber/tag-expressions": "^5.0.0",
28
+ "@cucumber/gherkin-utils": "8.0.6",
29
+ "@cucumber/messages": "24.0.1",
30
+ "@cucumber/query": "12.0.1",
31
+ "@cucumber/tag-expressions": "6.1.0",
33
32
  "@fortawesome/fontawesome-svg-core": "6.2.1",
34
33
  "@fortawesome/free-solid-svg-icons": "6.2.1",
35
34
  "@fortawesome/react-fontawesome": "0.2.0",
@@ -43,6 +42,7 @@
43
42
  "highlight-words": "1.2.2",
44
43
  "mime": "^3.0.0",
45
44
  "react-accessible-accordion": "5.0.0",
45
+ "react-error-boundary": "^4.0.13",
46
46
  "react-markdown": "6.0.3",
47
47
  "rehype-raw": "5.1.0",
48
48
  "rehype-sanitize": "4.0.0",
@@ -55,11 +55,11 @@
55
55
  "react-dom": "~18"
56
56
  },
57
57
  "devDependencies": {
58
- "@cucumber/compatibility-kit": "^12.0.0",
59
- "@cucumber/fake-cucumber": "^16.0.0",
60
- "@cucumber/gherkin": "^26.0.0",
61
- "@cucumber/gherkin-streams": "^5.0.1",
62
- "@cucumber/message-streams": "^4.0.1",
58
+ "@cucumber/compatibility-kit": "15.0.0",
59
+ "@cucumber/fake-cucumber": "16.4.0",
60
+ "@cucumber/gherkin": "28.0.0",
61
+ "@cucumber/gherkin-streams": "5.0.1",
62
+ "@cucumber/message-streams": "4.0.1",
63
63
  "@ladle/react": "^2.4.5",
64
64
  "@testing-library/react": "14.1.2",
65
65
  "@testing-library/user-event": "14.5.1",
@@ -84,7 +84,7 @@
84
84
  "eslint": "8.32.0",
85
85
  "eslint-config-prettier": "8.6.0",
86
86
  "eslint-plugin-import": "2.27.4",
87
- "eslint-plugin-node": "11.1.0",
87
+ "eslint-plugin-n": "14.0.0",
88
88
  "eslint-plugin-prettier": "4.2.1",
89
89
  "eslint-plugin-react": "7.32.0",
90
90
  "eslint-plugin-react-hooks": "4.6.0",
@@ -108,7 +108,6 @@
108
108
  "typescript": "4.9.4"
109
109
  },
110
110
  "overrides": {
111
- "@cucumber/messages": "^21.0.0",
112
111
  "uuid": "9.0.0"
113
112
  },
114
113
  "bugs": {
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { AttachmentClasses, AttachmentProps, DefaultComponent } from '../customise/index.js';
3
- export declare const DefaultRenderer: DefaultComponent<AttachmentProps, AttachmentClasses>;
4
- export declare const Attachment: React.FunctionComponent<AttachmentProps>;
5
- //# sourceMappingURL=Attachment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/Attachment.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+C,MAAM,OAAO,CAAA;AAGnE,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAEjB,MAAM,uBAAuB,CAAA;AAK9B,eAAO,MAAM,eAAe,EAAE,gBAAgB,CAAC,eAAe,EAAE,iBAAiB,CAiBhF,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAO/D,CAAA"}
@@ -1,125 +0,0 @@
1
- import { AttachmentContentEncoding } from '@cucumber/messages';
2
- import { faPaperclip } from '@fortawesome/free-solid-svg-icons';
3
- import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4
- // @ts-ignore
5
- import Convert from 'ansi-to-html';
6
- import React, { useCallback, useEffect, useState } from 'react';
7
- import { NavigationButton } from '../app/NavigationButton.js';
8
- import { useCustomRendering, } from '../customise/index.js';
9
- import defaultStyles from './Attachment.module.scss';
10
- import { attachmentFilename } from './attachmentFilename.js';
11
- import { ErrorMessage } from './ErrorMessage.js';
12
- export const DefaultRenderer = ({ attachment, styles, }) => {
13
- if (attachment.mediaType.match(/^image\//)) {
14
- return image(attachment, styles);
15
- }
16
- else if (attachment.mediaType.match(/^video\//)) {
17
- return video(attachment);
18
- }
19
- else if (attachment.mediaType == 'text/x.cucumber.log+plain') {
20
- return text(attachment, prettyANSI, true, styles);
21
- }
22
- else if (attachment.mediaType.match(/^text\//)) {
23
- return text(attachment, (s) => s, false, styles);
24
- }
25
- else if (attachment.mediaType.match(/^application\/json/)) {
26
- return text(attachment, prettyJSON, false, styles);
27
- }
28
- else {
29
- return React.createElement(Unknown, { attachment: attachment });
30
- }
31
- };
32
- export const Attachment = (props) => {
33
- const ResolvedRenderer = useCustomRendering('Attachment', defaultStyles, DefaultRenderer);
34
- return React.createElement(ResolvedRenderer, { ...props });
35
- };
36
- const Unknown = ({ attachment }) => {
37
- const [downloadUrl, setDownloadUrl] = useState();
38
- useEffect(() => () => cleanupDownloadUrl(downloadUrl), [downloadUrl]);
39
- const filename = attachmentFilename(attachment);
40
- const onClick = useCallback(() => {
41
- let href;
42
- if (downloadUrl) {
43
- href = downloadUrl;
44
- }
45
- else {
46
- const createdUrl = createDownloadUrl(attachment);
47
- setDownloadUrl(createdUrl);
48
- href = createdUrl;
49
- }
50
- const anchor = document.createElement('a');
51
- anchor.href = href;
52
- anchor.download = filename;
53
- anchor.click();
54
- }, [attachment, filename, downloadUrl]);
55
- return (React.createElement(NavigationButton, { onClick: onClick },
56
- React.createElement(FontAwesomeIcon, { icon: faPaperclip }),
57
- "Download ",
58
- filename));
59
- };
60
- function createDownloadUrl(attachment) {
61
- console.debug('Creating download url');
62
- const body = attachment.contentEncoding === AttachmentContentEncoding.BASE64
63
- ? base64Decode(attachment.body)
64
- : attachment.body;
65
- const bytes = Uint8Array.from(body, (m) => m.codePointAt(0));
66
- const file = new File([bytes], 'attachment', {
67
- type: attachment.mediaType,
68
- });
69
- return URL.createObjectURL(file);
70
- }
71
- function cleanupDownloadUrl(url) {
72
- if (url) {
73
- console.debug('Revoking download url');
74
- URL.revokeObjectURL(url);
75
- }
76
- }
77
- function image(attachment, classes) {
78
- if (attachment.contentEncoding !== 'BASE64') {
79
- return (React.createElement(ErrorMessage, { message: `Couldn't display ${attachment.mediaType} image because it wasn't base64 encoded` }));
80
- }
81
- const attachmentTitle = attachment.fileName ?? 'Attached Image (' + attachment.mediaType + ')';
82
- return (React.createElement("details", null,
83
- React.createElement("summary", null, attachmentTitle),
84
- React.createElement("img", { alt: "Embedded Image", src: `data:${attachment.mediaType};base64,${attachment.body}`, className: classes.image })));
85
- }
86
- function video(attachment) {
87
- const attachmentTitle = attachment.fileName ?? 'Attached Video (' + attachment.mediaType + ')';
88
- if (attachment.contentEncoding !== 'BASE64') {
89
- return (React.createElement(ErrorMessage, { message: `Couldn't display ${attachment.mediaType} video because it wasn't base64 encoded` }));
90
- }
91
- return (React.createElement("details", null,
92
- React.createElement("summary", null, attachmentTitle),
93
- React.createElement("video", { controls: true },
94
- React.createElement("source", { src: `data:${attachment.mediaType};base64,${attachment.body}` }),
95
- "Your browser is unable to display video")));
96
- }
97
- function base64Decode(body) {
98
- return atob(body);
99
- }
100
- function text(attachment, prettify, dangerouslySetInnerHTML, classes) {
101
- const body = attachment.contentEncoding === 'IDENTITY' ? attachment.body : base64Decode(attachment.body);
102
- const attachmentTitle = attachment.fileName ?? 'Attached Text (' + attachment.mediaType + ')';
103
- if (dangerouslySetInnerHTML) {
104
- return (React.createElement("details", null,
105
- React.createElement("summary", null, attachmentTitle),
106
- React.createElement("pre", { className: classes.text },
107
- React.createElement("span", { dangerouslySetInnerHTML: { __html: prettify(body) } }))));
108
- }
109
- return (React.createElement("details", null,
110
- React.createElement("summary", null, attachmentTitle),
111
- React.createElement("pre", { className: classes.text },
112
- React.createElement("span", null, prettify(body)))));
113
- }
114
- function prettyJSON(s) {
115
- try {
116
- return JSON.stringify(JSON.parse(s), null, 2);
117
- }
118
- catch (ignore) {
119
- return s;
120
- }
121
- }
122
- function prettyANSI(s) {
123
- return new Convert().toHtml(s);
124
- }
125
- //# sourceMappingURL=Attachment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../../../src/components/gherkin/Attachment.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,aAAa;AACb,OAAO,OAAO,MAAM,cAAc,CAAA;AAClC,OAAO,KAAK,EAAE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H,CAAC;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,IAAI;QACF,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA;KAC9C;IAAC,OAAO,MAAM,EAAE;QACf,OAAO,CAAC,CAAA;KACT;AACH,CAAC;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,IAAI,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;AAChC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachmentFilename.d.ts","sourceRoot":"","sources":["../../../../src/components/gherkin/attachmentFilename.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAG/C,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CASjE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachmentFilename.js","sourceRoot":"","sources":["../../../../src/components/gherkin/attachmentFilename.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,MAAM,CAAA;AAE5B,MAAM,UAAU,kBAAkB,CAAC,UAAsB;IACvD,IAAI,UAAU,CAAC,QAAQ,EAAE;QACvB,OAAO,UAAU,CAAC,QAAQ,CAAA;KAC3B;IACD,MAAM,SAAS,GAAG,SAAS,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IAC9D,IAAI,SAAS,EAAE;QACb,OAAO,cAAc,SAAS,EAAE,CAAA;KACjC;IACD,OAAO,YAAY,CAAA;AACrB,CAAC"}