feat : Ajout du composant téléphone

This commit is contained in:
2026-05-12 08:45:19 +02:00
parent 1ffe63827d
commit a1040d2a5e
22 changed files with 1201 additions and 155 deletions

View File

@@ -172,4 +172,14 @@ describe('MalioRadioButton', () => {
expect(wrapper.get('input').classes()).toContain('checked:border-black')
})
it('updates label color when toggled without v-model (uncontrolled)', async () => {
const wrapper = mountRadioButton({label: 'Option 1', value: 'a'})
expect(wrapper.get('.radio-text').classes()).toContain('text-m-muted')
await wrapper.get('input').trigger('change')
expect(wrapper.get('.radio-text').classes()).toContain('text-black')
})
})