`
- Upgrade to cucumber-messages 8.0.0
## 3.0.0 - 2019-11-15
+
### Changed
+
- Only display accordion
- Upgrade to cucumber-messages 7.0.0
- Extract lookup logic to cucumber-query 1.0.0
### Removed
+
- Removed the side nav
## 2.0.1 - 2019-10-18
+
### Changed
+
- Upgrade to cucumber-messages 6.0.2
## 2.0.0 - 2019-10-10
## 1.1.0 - 2019-08-29
+
### Fixed
+
- Better layout and styling
- Better results aggregation
- Better support for empty/malformed Gherkin documents
## 1.0.0 - 2019-08-23
+
### Added
+
- First release
[Unreleased]: https://github.com/cucumber/cucumber-react/compare/v24.5.0...HEAD
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d3216ed8..840835f5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -36,4 +36,4 @@ If you need a sample for a use case that isn't covered by the CCK, you can add a
3. Add the `.ndjson` file to the `samples` directory in this repo
4. Run `npm run prepare` to regenerate the TypeScript files
-(Please ensure your sample doesn't contain any secrets, proprietary or sensitive information before you commit it!)
\ No newline at end of file
+(Please ensure your sample doesn't contain any secrets, proprietary or sensitive information before you commit it!)
diff --git a/README.md b/README.md
index 85c13684..4a1d95d3 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ The source code for the screenshot above is:
```jsx
import { EnvelopesProvider, FilteredDocuments } from '@cucumber/react-components'
-
+;
```
@@ -44,7 +44,7 @@ The standard styling comes without any extra providers or configuration. There a
You can provide your own theme with a small amount of CSS. Target the element above your highest-level usage of the components:
```jsx
-
+;
@@ -92,11 +92,13 @@ Let's say you want to do something totally different with the typography of doc
Then, you can provide an `overrides` prop to the `CustomRendering` component, in the form of an object that declares which class names you're going to override and what with:
```jsx
-
+;
@@ -112,14 +114,16 @@ To change the rendering of some components entirely, you can selectively provide
Staying with the doc string example, you can use the same `overrides` prop, but this time instead of an object with class names, you provide a React functional component, giving you full control over the rendering:
```jsx
- (
- <>
- I am going to render this doc string in a textarea:
-
- >
- )
-}}>
+; (
+ <>
+ I am going to render this doc string in a textarea:
+
+ >
+ ),
+ }}
+>
diff --git a/package-lock.json b/package-lock.json
index cdf7c3aa..d6012cc9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -422,9 +422,9 @@
}
},
"node_modules/@biomejs/biome": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.15.tgz",
- "integrity": "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.3.tgz",
+ "integrity": "sha512-va/0xPku7wnfzv+D8Zpdm5uKiGJWiV8neqoEPnRjvNQQwhl4tVXS4fETs4H0CCB2rGeqJ4cu9y4iOZOnOYKAUA==",
"dev": true,
"license": "MIT OR Apache-2.0",
"bin": {
@@ -438,20 +438,56 @@
"url": "https://opencollective.com/biome"
},
"optionalDependencies": {
- "@biomejs/cli-darwin-arm64": "2.5.15",
- "@biomejs/cli-darwin-x64": "2.5.15",
- "@biomejs/cli-linux-arm64": "2.5.15",
- "@biomejs/cli-linux-arm64-musl": "2.5.15",
- "@biomejs/cli-linux-x64": "2.5.15",
- "@biomejs/cli-linux-x64-musl": "2.5.15",
- "@biomejs/cli-win32-arm64": "2.5.15",
- "@biomejs/cli-win32-x64": "2.5.15"
+ "@biomejs/cli-android-arm64": "2.6.3",
+ "@biomejs/cli-android-x64": "2.6.3",
+ "@biomejs/cli-darwin-arm64": "2.6.3",
+ "@biomejs/cli-darwin-x64": "2.6.3",
+ "@biomejs/cli-linux-arm64": "2.6.3",
+ "@biomejs/cli-linux-arm64-musl": "2.6.3",
+ "@biomejs/cli-linux-x64": "2.6.3",
+ "@biomejs/cli-linux-x64-musl": "2.6.3",
+ "@biomejs/cli-win32-arm64": "2.6.3",
+ "@biomejs/cli-win32-x64": "2.6.3"
+ }
+ },
+ "node_modules/@biomejs/cli-android-arm64": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.3.tgz",
+ "integrity": "sha512-5JD7QQDEHxdeEb4sftEHG+lsuUyu8Cob/hVLqRELbgGlFl68Rldv/PPi2k4dRjERZ/EItJ3O6Xmv8lqsEtUBiw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
+ }
+ },
+ "node_modules/@biomejs/cli-android-x64": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.3.tgz",
+ "integrity": "sha512-70WOGKCgpT+Uqg6LFdTLqefV54/DypdZg+LnBQDO6AWvkgXO+9xhVClajQyDsIHYjnXMtI1pRO5sP+zMXlS/bw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT OR Apache-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=14.21.3"
}
},
"node_modules/@biomejs/cli-darwin-arm64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.15.tgz",
- "integrity": "sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.3.tgz",
+ "integrity": "sha512-ezf+XEKeyJ2yYlBhrzyEEHLvfRYrhtNKc6maLzR/WcAcBccb4RVDeFxsymjBve2LO0bpIMRUAiS90D4bUBRT0A==",
"cpu": [
"arm64"
],
@@ -466,9 +502,9 @@
}
},
"node_modules/@biomejs/cli-darwin-x64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.15.tgz",
- "integrity": "sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.3.tgz",
+ "integrity": "sha512-Lg2tFdg4elJo+7i707PpLMs6N1hATVt4kqDo6MD/q/VnPs8rsKReKXsz1TA5GNdfRVAQNJ5GRiyK2EwNptK+MA==",
"cpu": [
"x64"
],
@@ -483,9 +519,9 @@
}
},
"node_modules/@biomejs/cli-linux-arm64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.15.tgz",
- "integrity": "sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.3.tgz",
+ "integrity": "sha512-8Stcvq98n1gs9VyLKuaWrnsd8kbXE2nKDAHtuLHGSYdGyNWN5JIIm5a28xdnmgdKzKHmiDgYyATetkEv7+zGow==",
"cpu": [
"arm64"
],
@@ -503,9 +539,9 @@
}
},
"node_modules/@biomejs/cli-linux-arm64-musl": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.15.tgz",
- "integrity": "sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.3.tgz",
+ "integrity": "sha512-dYU70A89OFHzakQPE9VOPbE60JNcQt4mtxvUGQl+EgTkGtqCFxLD2RUn1SbiMu8Mu5xFscS1bfYDpoasaUrqNA==",
"cpu": [
"arm64"
],
@@ -523,9 +559,9 @@
}
},
"node_modules/@biomejs/cli-linux-x64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.15.tgz",
- "integrity": "sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.3.tgz",
+ "integrity": "sha512-CShmx0bO6BngywT3minv8K1xsQX1ig1vsBqYTLnmDY3mBiDYHlaLRIsdHoM1pEU9dV3BN5a0uiH0IGDtYh9TWA==",
"cpu": [
"x64"
],
@@ -543,9 +579,9 @@
}
},
"node_modules/@biomejs/cli-linux-x64-musl": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.15.tgz",
- "integrity": "sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.3.tgz",
+ "integrity": "sha512-j6eFjUcWSphmgVTbrobEMA0wdbfNHKrGi8hRsFkc17jeS1n7nHwFACxp6jWqe9sxQqyFAeyOgt2/1bOGVcbATA==",
"cpu": [
"x64"
],
@@ -563,9 +599,9 @@
}
},
"node_modules/@biomejs/cli-win32-arm64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.15.tgz",
- "integrity": "sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.3.tgz",
+ "integrity": "sha512-00SthDxBPwNiT7IL/mOneif6fiEU1PXK875zhr+InpeZjovY1mF5tCuDhXo1Hh0GYyiKHKzLbItzn58SAyLhJQ==",
"cpu": [
"arm64"
],
@@ -580,9 +616,9 @@
}
},
"node_modules/@biomejs/cli-win32-x64": {
- "version": "2.5.15",
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.15.tgz",
- "integrity": "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.3.tgz",
+ "integrity": "sha512-GhtOPphBWlnCepqpNk/w5eGN5oGRCzL20EbAkL1XCIpyboeVC9R642noyT43l8LSenGS4qz9IL8sKPfwY37V/Q==",
"cpu": [
"x64"
],
diff --git a/src/components/app/CopyButton.module.scss b/src/components/app/CopyButton.module.scss
index 1011bc64..65476571 100644
--- a/src/components/app/CopyButton.module.scss
+++ b/src/components/app/CopyButton.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.button {
background-color: transparent;
diff --git a/src/components/app/DocumentAccordion.module.scss b/src/components/app/DocumentAccordion.module.scss
index 87c956d8..d3b6cf25 100644
--- a/src/components/app/DocumentAccordion.module.scss
+++ b/src/components/app/DocumentAccordion.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.icon {
padding-top: 0.35em;
@@ -43,7 +43,7 @@
transform-origin: center center;
transition: transform 0.2s linear;
- .button[aria-expanded='true'] & {
+ .button[aria-expanded="true"] & {
transform: rotate(90deg);
}
}
diff --git a/src/components/app/ExecutionSummary.module.scss b/src/components/app/ExecutionSummary.module.scss
index 61b35654..35b4f106 100644
--- a/src/components/app/ExecutionSummary.module.scss
+++ b/src/components/app/ExecutionSummary.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.conjunction {
color: theming.$codeTextColor;
diff --git a/src/components/app/Header.module.scss b/src/components/app/Header.module.scss
index a5a8112a..ac8a572b 100644
--- a/src/components/app/Header.module.scss
+++ b/src/components/app/Header.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.section {
display: flex;
diff --git a/src/components/app/HealthChart.module.scss b/src/components/app/HealthChart.module.scss
index 02e5faa1..ed3e1ebe 100644
--- a/src/components/app/HealthChart.module.scss
+++ b/src/components/app/HealthChart.module.scss
@@ -1,8 +1,8 @@
-@use '../../styles/statuses';
+@use "../../styles/statuses";
.segment {
@each $name, $color in statuses.$statusColors {
- &[data-status='#{$name}'] {
+ &[data-status="#{$name}"] {
stroke: $color;
}
}
diff --git a/src/components/app/NavigationButton.module.scss b/src/components/app/NavigationButton.module.scss
index 7ffab7b7..db345c87 100644
--- a/src/components/app/NavigationButton.module.scss
+++ b/src/components/app/NavigationButton.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.navigationButton {
display: flex;
diff --git a/src/components/app/SearchBar.module.scss b/src/components/app/SearchBar.module.scss
index ac46c79a..9f1f9025 100644
--- a/src/components/app/SearchBar.module.scss
+++ b/src/components/app/SearchBar.module.scss
@@ -1,6 +1,6 @@
-@use 'sass:color';
-@use '../../styles/theming';
-@use '../../styles/statuses';
+@use "sass:color";
+@use "../../styles/theming";
+@use "../../styles/statuses";
.field {
box-sizing: border-box;
@@ -51,7 +51,7 @@
cursor: pointer;
@each $name, $color in statuses.$statusColors {
- &[data-status='#{$name}'] {
+ &[data-status="#{$name}"] {
background-color: color.adjust($color, $alpha: -0.666);
svg {
diff --git a/src/components/app/StatusesSummary.module.scss b/src/components/app/StatusesSummary.module.scss
index 020c7ad7..da28d50e 100644
--- a/src/components/app/StatusesSummary.module.scss
+++ b/src/components/app/StatusesSummary.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/statuses';
+@use "../../styles/statuses";
.statusesList {
list-style: none;
@@ -20,7 +20,7 @@
text-transform: uppercase;
@each $name, $color in statuses.$statusColors {
- &[data-status='#{$name}'] {
+ &[data-status="#{$name}"] {
background-color: $color;
}
}
diff --git a/src/components/customise/CustomRendering.spec.tsx b/src/components/customise/CustomRendering.spec.tsx
index 745af12d..c3151dbd 100644
--- a/src/components/customise/CustomRendering.spec.tsx
+++ b/src/components/customise/CustomRendering.spec.tsx
@@ -5,6 +5,14 @@ import { expect } from 'chai'
import { Tags } from '../gherkin/index.js'
import { type Customised, CustomRendering, type TagsClasses, type TagsProps } from './index.js'
+const TotallyCustomTags = () => {
+ return Totally custom!
+}
+
+const DeferringTags: Customised = (props) => {
+ return
+}
+
describe('custom rendering and theming', () => {
it('uses the generated class names from built-in styles by default', () => {
const tags: Tag[] = [
@@ -94,14 +102,10 @@ describe('custom rendering and theming', () => {
},
]
- const CustomComponent = () => {
- return Totally custom!
- }
-
const { container } = render(
@@ -123,14 +127,10 @@ describe('custom rendering and theming', () => {
},
]
- const CustomComponent: Customised = (props) => {
- return
- }
-
const { getByRole } = render(
diff --git a/src/components/gherkin/Anchor.module.scss b/src/components/gherkin/Anchor.module.scss
index 0beb2710..bbb707c5 100644
--- a/src/components/gherkin/Anchor.module.scss
+++ b/src/components/gherkin/Anchor.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.wrapper {
position: relative;
diff --git a/src/components/gherkin/Children.module.scss b/src/components/gherkin/Children.module.scss
index ff580f68..3c603bf9 100644
--- a/src/components/gherkin/Children.module.scss
+++ b/src/components/gherkin/Children.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.children {
padding: 0;
diff --git a/src/components/gherkin/DataTable.module.scss b/src/components/gherkin/DataTable.module.scss
index 4da98b0d..40f61bb5 100644
--- a/src/components/gherkin/DataTable.module.scss
+++ b/src/components/gherkin/DataTable.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/tables';
+@use "../../styles/tables";
.table {
@include tables.cucumber-table-style;
diff --git a/src/components/gherkin/Description.module.scss b/src/components/gherkin/Description.module.scss
index 7b9c888f..3f4a9dec 100644
--- a/src/components/gherkin/Description.module.scss
+++ b/src/components/gherkin/Description.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.content {
padding: 0;
diff --git a/src/components/gherkin/DocString.module.scss b/src/components/gherkin/DocString.module.scss
index ed857e7b..8fdc5ac7 100644
--- a/src/components/gherkin/DocString.module.scss
+++ b/src/components/gherkin/DocString.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.docString {
color: theming.$docstringColor;
diff --git a/src/components/gherkin/ErrorMessage.module.scss b/src/components/gherkin/ErrorMessage.module.scss
index 3d39d330..7ea35ef2 100644
--- a/src/components/gherkin/ErrorMessage.module.scss
+++ b/src/components/gherkin/ErrorMessage.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.copyButton {
position: absolute;
diff --git a/src/components/gherkin/Examples.module.scss b/src/components/gherkin/Examples.module.scss
index ba0971bb..0b2742be 100644
--- a/src/components/gherkin/Examples.module.scss
+++ b/src/components/gherkin/Examples.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.example {
margin-left: 1em;
diff --git a/src/components/gherkin/Keyword.module.scss b/src/components/gherkin/Keyword.module.scss
index c6a1005b..1226bedf 100644
--- a/src/components/gherkin/Keyword.module.scss
+++ b/src/components/gherkin/Keyword.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.keyword {
font-weight: bold;
diff --git a/src/components/gherkin/Parameter.module.scss b/src/components/gherkin/Parameter.module.scss
index dabbb684..7e24b811 100644
--- a/src/components/gherkin/Parameter.module.scss
+++ b/src/components/gherkin/Parameter.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.parameter {
font-weight: normal; // TODO should we need this if parent can always be normal?
diff --git a/src/components/gherkin/StatusIcon.module.scss b/src/components/gherkin/StatusIcon.module.scss
index e75953cd..a4cf730d 100644
--- a/src/components/gherkin/StatusIcon.module.scss
+++ b/src/components/gherkin/StatusIcon.module.scss
@@ -1,8 +1,8 @@
-@use 'sass:color';
-@use '../../styles/statuses';
+@use "sass:color";
+@use "../../styles/statuses";
.icon {
@each $name, $color in statuses.$statusColors {
- &[data-status='#{$name}'] {
+ &[data-status="#{$name}"] {
color: color.adjust($color, $alpha: -0.25);
}
}
diff --git a/src/components/gherkin/Tags.module.scss b/src/components/gherkin/Tags.module.scss
index 196d5ce4..57a086f9 100644
--- a/src/components/gherkin/Tags.module.scss
+++ b/src/components/gherkin/Tags.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.tags {
padding: 0;
diff --git a/src/components/gherkin/attachment/Attachment.module.scss b/src/components/gherkin/attachment/Attachment.module.scss
index f5820a28..94765b73 100644
--- a/src/components/gherkin/attachment/Attachment.module.scss
+++ b/src/components/gherkin/attachment/Attachment.module.scss
@@ -1,4 +1,4 @@
-@use '../../../styles/theming';
+@use "../../../styles/theming";
.copyButton {
position: absolute;
@@ -26,7 +26,7 @@
padding-left: 3.25em;
&::before {
- content: 'Log';
+ content: "Log";
position: absolute;
top: 0.666em;
left: 0.75em;
diff --git a/src/components/results/AmbiguousResult.module.scss b/src/components/results/AmbiguousResult.module.scss
index a91bc5e9..5257e37b 100644
--- a/src/components/results/AmbiguousResult.module.scss
+++ b/src/components/results/AmbiguousResult.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.definitions {
padding: 0;
diff --git a/src/components/results/SourceReference.module.scss b/src/components/results/SourceReference.module.scss
index 7357e120..8401d160 100644
--- a/src/components/results/SourceReference.module.scss
+++ b/src/components/results/SourceReference.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.sourceReference {
background-color: theming.$codeBackgroundColor;
diff --git a/src/components/results/TestCaseOutcome.module.scss b/src/components/results/TestCaseOutcome.module.scss
index 47ee5b75..272b8c82 100644
--- a/src/components/results/TestCaseOutcome.module.scss
+++ b/src/components/results/TestCaseOutcome.module.scss
@@ -1,7 +1,8 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.container {
> * + * {
+ // biome-ignore lint/complexity/noImportantStyles: needed to override child margins
margin-top: 0.25rem !important;
}
}
@@ -12,6 +13,7 @@
margin: 0;
> * + * {
+ // biome-ignore lint/complexity/noImportantStyles: needed to override child margins
margin-top: 0.25rem !important;
}
}
diff --git a/src/components/results/TestRunHookOutcome.module.scss b/src/components/results/TestRunHookOutcome.module.scss
index be318e50..4ec4960c 100644
--- a/src/components/results/TestRunHookOutcome.module.scss
+++ b/src/components/results/TestRunHookOutcome.module.scss
@@ -31,6 +31,7 @@
// bits of detail (doc string, data table, error, attachments) get consistent spacing between them
> * {
+ // biome-ignore lint/complexity/noImportantStyles: needed to override child margins
margin-top: 0.25rem !important;
}
}
diff --git a/src/components/results/TestStepAttachments.module.scss b/src/components/results/TestStepAttachments.module.scss
index 802008c9..57256fa6 100644
--- a/src/components/results/TestStepAttachments.module.scss
+++ b/src/components/results/TestStepAttachments.module.scss
@@ -4,6 +4,7 @@
margin: 0;
> * + * {
+ // biome-ignore lint/complexity/noImportantStyles: needed to override child margins
margin-top: 0.25rem !important;
}
}
diff --git a/src/components/results/TestStepDuration.module.scss b/src/components/results/TestStepDuration.module.scss
index 8080dac0..ec1e25f1 100644
--- a/src/components/results/TestStepDuration.module.scss
+++ b/src/components/results/TestStepDuration.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.duration {
display: inline-block;
diff --git a/src/components/results/TestStepOutcome.module.scss b/src/components/results/TestStepOutcome.module.scss
index 3a5de098..aca77c83 100644
--- a/src/components/results/TestStepOutcome.module.scss
+++ b/src/components/results/TestStepOutcome.module.scss
@@ -31,6 +31,7 @@
// bits of detail (doc string, data table, error, attachments) get consistent spacing between them
> * {
+ // biome-ignore lint/complexity/noImportantStyles: needed to override child margins
margin-top: 0.25rem !important;
}
}
diff --git a/src/components/results/UndefinedResult.module.scss b/src/components/results/UndefinedResult.module.scss
index 45889854..f3c21245 100644
--- a/src/components/results/UndefinedResult.module.scss
+++ b/src/components/results/UndefinedResult.module.scss
@@ -1,4 +1,4 @@
-@use '../../styles/theming';
+@use "../../styles/theming";
.snippets {
position: relative;
diff --git a/src/styles/statuses.scss b/src/styles/statuses.scss
index eef397a2..c761ebb5 100644
--- a/src/styles/statuses.scss
+++ b/src/styles/statuses.scss
@@ -1,8 +1,8 @@
$statusColors:
- 'PASSED' oklch(72.3% 0.219 149.579) /* green-500 */,
- 'SKIPPED' oklch(79.5% 0.184 86.047) /* yellow-500 */,
- 'PENDING' oklch(71.5% 0.143 215.221) /* cyan-500 */,
- 'UNDEFINED' oklch(62.3% 0.214 259.815) /* blue-500 */,
- 'AMBIGUOUS' oklch(66.7% 0.295 322.15) /* fuchsia-500 */,
- 'FAILED' oklch(63.7% 0.237 25.331) /* red-500 */,
- 'UNKNOWN' oklch(55.4% 0.046 257.417) /* slate-500 */;
+ "PASSED" oklch(72.3% 0.219 149.579) /* green-500 */,
+ "SKIPPED" oklch(79.5% 0.184 86.047) /* yellow-500 */,
+ "PENDING" oklch(71.5% 0.143 215.221) /* cyan-500 */,
+ "UNDEFINED" oklch(62.3% 0.214 259.815) /* blue-500 */,
+ "AMBIGUOUS" oklch(66.7% 0.295 322.15) /* fuchsia-500 */,
+ "FAILED" oklch(63.7% 0.237 25.331) /* red-500 */,
+ "UNKNOWN" oklch(55.4% 0.046 257.417) /* slate-500 */;
diff --git a/src/styles/tables.scss b/src/styles/tables.scss
index 1ab89fc5..5330102f 100644
--- a/src/styles/tables.scss
+++ b/src/styles/tables.scss
@@ -1,4 +1,4 @@
-@use 'theming';
+@use "theming";
@mixin cucumber-table-style {
border-collapse: collapse;
diff --git a/src/styles/theming.scss b/src/styles/theming.scss
index 8cce490a..c110473b 100644
--- a/src/styles/theming.scss
+++ b/src/styles/theming.scss
@@ -8,9 +8,6 @@ $errorBackgroundColor: var(--cucumber-error-background-color, oklch(97.1% 0.013
$errorTextColor: var(--cucumber-error-text-color, oklch(44.4% 0.177 26.899)); // red-800
$codeBackgroundColor: var(--cucumber-code-background-color, oklch(98.4% 0.003 247.858)); // slate-50
$codeTextColor: var(--cucumber-code-text-color, oklch(27.9% 0.041 260.031)); // slate-800
-$panelBackgroundColor: var(
- --cucumber-panel-background-color,
- oklch(96.8% 0.007 247.896)
-); // slate-100
+$panelBackgroundColor: var(--cucumber-panel-background-color, oklch(96.8% 0.007 247.896)); // slate-100
$panelAccentColor: var(--cucumber-panel-accent-color, oklch(92.9% 0.013 255.508)); // slate-200
$panelTextColor: var(--cucumber-panel-text-color, oklch(27.9% 0.041 260.031)); // slate-800