@cucumber/react-components 20.1.0 → 21.0.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 (58) hide show
  1. package/README.md +3 -1
  2. package/dist/src/EnvelopesQueryContext.d.ts +1 -0
  3. package/dist/src/EnvelopesQueryContext.d.ts.map +1 -1
  4. package/dist/src/EnvelopesQueryContext.js +4 -0
  5. package/dist/src/EnvelopesQueryContext.js.map +1 -1
  6. package/dist/src/SearchQueryContext.d.ts +1 -1
  7. package/dist/src/SearchQueryContext.d.ts.map +1 -1
  8. package/dist/src/components/CucumberReact.d.ts +2 -2
  9. package/dist/src/components/CucumberReact.d.ts.map +1 -1
  10. package/dist/src/components/CucumberReact.js.map +1 -1
  11. package/dist/src/components/app/EnvelopesWrapper.d.ts +2 -2
  12. package/dist/src/components/app/EnvelopesWrapper.d.ts.map +1 -1
  13. package/dist/src/components/app/EnvelopesWrapper.js +1 -1
  14. package/dist/src/components/app/EnvelopesWrapper.js.map +1 -1
  15. package/dist/src/components/app/FilteredResults.d.ts.map +1 -1
  16. package/dist/src/components/app/FilteredResults.js +2 -3
  17. package/dist/src/components/app/FilteredResults.js.map +1 -1
  18. package/dist/src/components/app/HighLight.d.ts.map +1 -1
  19. package/dist/src/components/app/HighLight.js +2 -1
  20. package/dist/src/components/app/HighLight.js.map +1 -1
  21. package/dist/src/components/app/QueriesWrapper.d.ts +2 -2
  22. package/dist/src/components/app/QueriesWrapper.d.ts.map +1 -1
  23. package/dist/src/components/app/QueriesWrapper.js.map +1 -1
  24. package/dist/src/components/app/SearchBar.module.scss +4 -1
  25. package/dist/src/components/app/SearchWrapper.d.ts +2 -2
  26. package/dist/src/components/app/SearchWrapper.d.ts.map +1 -1
  27. package/dist/src/components/app/SearchWrapper.js.map +1 -1
  28. package/dist/src/components/app/remarkPlugins.d.ts +4 -0
  29. package/dist/src/components/app/remarkPlugins.d.ts.map +1 -0
  30. package/dist/src/components/app/remarkPlugins.js +9 -0
  31. package/dist/src/components/app/remarkPlugins.js.map +1 -0
  32. package/dist/src/components/customise/customRendering.d.ts +28 -20
  33. package/dist/src/components/customise/customRendering.d.ts.map +1 -1
  34. package/dist/src/components/customise/customRendering.js.map +1 -1
  35. package/dist/src/components/gherkin/Attachment.js +1 -11
  36. package/dist/src/components/gherkin/Attachment.js.map +1 -1
  37. package/dist/src/components/gherkin/Keyword.d.ts +3 -2
  38. package/dist/src/components/gherkin/Keyword.d.ts.map +1 -1
  39. package/dist/src/components/gherkin/Keyword.js +1 -1
  40. package/dist/src/components/gherkin/Keyword.js.map +1 -1
  41. package/dist/src/components/gherkin/StatusIcon.d.ts +2 -2
  42. package/dist/src/components/gherkin/StatusIcon.d.ts.map +1 -1
  43. package/dist/src/components/gherkin/StatusIcon.js.map +1 -1
  44. package/dist/src/components/gherkin/StepItem.d.ts +3 -3
  45. package/dist/src/components/gherkin/StepItem.d.ts.map +1 -1
  46. package/dist/src/components/gherkin/StepItem.js.map +1 -1
  47. package/dist/src/components/gherkin/StepsList.d.ts +4 -2
  48. package/dist/src/components/gherkin/StepsList.d.ts.map +1 -1
  49. package/dist/src/components/gherkin/StepsList.js.map +1 -1
  50. package/dist/src/countScenariosByStatuses.d.ts +2 -1
  51. package/dist/src/countScenariosByStatuses.d.ts.map +1 -1
  52. package/dist/src/countScenariosByStatuses.js +6 -3
  53. package/dist/src/countScenariosByStatuses.js.map +1 -1
  54. package/dist/tsconfig.build.tsbuildinfo +1 -1
  55. package/package.json +49 -58
  56. package/dist/src/stories/custom-classes.scss +0 -8
  57. package/dist/src/styles/tables.scss +0 -24
  58. package/dist/src/styles/theming.scss +0 -16
@@ -1,8 +0,0 @@
1
- .custom-docstring {
2
- font-weight: bold;
3
- font-style: italic;
4
- background-color: black;
5
- color: hotpink;
6
- text-shadow: 1px 1px 2px white;
7
- padding: 10px;
8
- }
@@ -1,24 +0,0 @@
1
- @import './theming';
2
-
3
- @mixin cucumber-table-style {
4
- border-collapse: collapse;
5
- margin: 0;
6
-
7
- thead tr {
8
- border-bottom: 6px solid transparent;
9
- }
10
-
11
- tr + tr {
12
- border-top: 6px solid transparent;
13
- }
14
-
15
- th, td {
16
- padding: 0.4em 0.6em;
17
- border-width: 2px;
18
- border-style: solid;
19
- border-top: none;
20
- border-bottom: none;
21
- border-color: $keywordColor;
22
- color: $parameterColor;
23
- }
24
- }
@@ -1,16 +0,0 @@
1
- $sansFamily: 'Inter var', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
2
- $monoFamily: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
3
- $backgroundColor: var(--cucumber-background-color, white);
4
- $textColor: var(--cucumber-text-color, #222);
5
- $anchorColor: var(--cucumber-anchor-color, #297bde);
6
- $keywordColor: var(--cucumber-keyword-color, #000080);
7
- $parameterColor: var(--cucumber-parameter-color, #297bde);
8
- $tagColor: var(--cucumber-tag-color, #808000);
9
- $docstringColor: var(--cucumber-docstring-color, #008080);
10
- $errorBackgroundColor: var(--cucumber-error-background-color, #fff0f0);
11
- $errorTextColor: var(--cucumber-error-text-color, #bd0a2b);
12
- $codeBackgroundColor: var(--cucumber-code-background-color, #f6f8fa);
13
- $codeTextColor: var(--cucumber-code-text-color, #666);
14
- $panelBackgroundColor: var(--cucumber-panel-background-color, #f4f4f4);
15
- $panelAccentColor: var(--cucumber-panel-accent-color, #e8e8e8);
16
- $panelTextColor: var(--cucumber-panel-text-color, #444);