Skip to content

Commit 2258b4d

Browse files
committed
docs: move link to description
1 parent 70ac0b1 commit 2258b4d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/components/chart/vegaLiteChart/vegaLiteChart.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
height: 100%;
44
}
55

6-
.rustic-vaga-lite-chart {
6+
.rustic-vega-lite-chart {
77
flex: 1;
88
}

src/components/chart/vegaLiteChart/vegaLiteChart.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('VegaLite Chart', () => {
2828
/>
2929
)
3030

31-
cy.get('[data-cy="vaga-lite-chart"]').should('exist')
31+
cy.get('[data-cy="vega-lite-chart"]').should('exist')
3232
})
3333

3434
const invalidSpec = {

src/components/chart/vegaLiteChart/vegaLiteChart.stories.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ export default meta
1515
meta.argTypes = {
1616
...meta.argTypes,
1717
theme: {
18+
description:
19+
'Refer to the [vega-themes](https://github.com/vega/vega-themes) documentation for more information.',
1820
table: {
1921
type: {
2022
summary: 'Theme object.\n',
2123
detail:
2224
'A theme object has the following fields:\n' +
2325
' light: A light theme string that is supported by vega-themes.\n' +
24-
' dark: A dark theme string that is supported by vega-themes.\n' +
25-
'Refer to the [vega-themes](https://github.com/vega/vega-themes) documentation for more information.',
26+
' dark: A dark theme string that is supported by vega-themes.',
2627
},
2728
},
2829
},

src/components/chart/vegaLiteChart/vegaLiteChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ function VegaLiteChart(props: VegaLiteChartData) {
5858
)}
5959
<div
6060
ref={chartRef}
61-
className="rustic-vaga-lite-chart"
62-
data-cy="vaga-lite-chart"
61+
className="rustic-vega-lite-chart"
62+
data-cy="vega-lite-chart"
6363
/>
6464
</Stack>
6565
)

0 commit comments

Comments
 (0)