feat(ui) : required cohérent + astérisque label + sanitisation email (MUI-41) #60

Merged
tristan merged 51 commits from feature/MUI-41-props-required-asterisque-dans-le-label-sur-les-co into develop 2026-06-04 06:42:20 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit cc03559dcf - Show all commits
@@ -17,4 +17,9 @@ describe('MalioRequiredMark', () => {
const wrapper = mount(RequiredMark)
expect(wrapper.get('[data-test="required-mark"]').classes()).toContain('text-m-danger')
})
it('rend l\'astérisque à 16px', () => {
const wrapper = mount(RequiredMark)
expect(wrapper.get('[data-test="required-mark"]').classes()).toContain('text-[16px]')
})
})
+1 -1
View File
@@ -2,7 +2,7 @@
<span
data-test="required-mark"
aria-hidden="true"
class="ml-0.5 select-none text-m-danger"
class="ml-0.5 select-none text-[16px] leading-none text-m-danger"
>*</span>
</template>