Skip to content

Commit 9fa8f99

Browse files
committed
fix: 🐛 Corrige l'oubli de l'export du composant Page d'erreur
1 parent e1df281 commit 9fa8f99

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/components/DsfrRadioButton/DsfrRadioButton.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('DsfrRadioButton', () => {
5757

5858
const labelEl = getByText(label)
5959
const inputRadio = getByDisplayValue(value)
60-
const imgEl = container.querySelector('.fr-radio-rich__img')
60+
const imgEl = container.querySelector('.fr-radio-rich__pictogram')
6161

6262
// Then
6363
expect(labelEl).toHaveClass('fr-label')

src/components/DsfrRadioButton/DsfrRadioButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const rich = computed(() => !!props.img)
6868
</label>
6969
<div
7070
v-if="img"
71-
class="fr-radio-rich__img"
71+
class="fr-radio-rich__pictogram"
7272
>
7373
<img
7474
:src="img"

src/components/DsfrTile/DsfrTile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const isExternalLink = computed(() => {
6161
</div>
6262
<div
6363
v-if="imgSrc"
64-
class="fr-tile__img"
64+
class="fr-tile__pictogram"
6565
>
6666
<img
6767
:src="imgSrc"

src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export { default as DsfrCard } from './DsfrCard/DsfrCard.vue'
1010
export { default as DsfrCheckbox } from './DsfrCheckbox/DsfrCheckbox.vue'
1111
export { default as DsfrCheckboxSet } from './DsfrCheckbox/DsfrCheckboxSet.vue'
1212
export { default as DsfrConsent } from './DsfrConsent/DsfrConsent.vue'
13+
export { default as DsfrErrorPage } from './DsfrErrorPage/DsfrErrorPage.vue'
1314
export { default as DsfrFieldset } from './DsfrFieldset/DsfrFieldset.vue'
1415
export { default as DsfrFileDownload } from './DsfrFileDownload/DsfrFileDownload.vue'
1516
export { default as DsfrFileDownloadList } from './DsfrFileDownload/DsfrFileDownloadList.vue'

0 commit comments

Comments
 (0)