Commit 381377b
committed
refactor(DsfrCard): ♻️ utilise defineSlots et corrige optional chaining
- Améliorer la documentation des slots avec JSDoc
- Corriger l'utilisation non sécurisée de l'optional chaining dans goToTargetLink
- Ajout de defineSlots avec JSDoc pour start-details et end-details
- Refactorisation de goToTargetLink pour éviter les erreurs avec optional chaining
- Ajout du contrôle select pour titleTag avec options h1-h6 dans les stories1 parent a580e52 commit 381377b
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
30 | 44 | | |
31 | 45 | | |
32 | 46 | | |
| |||
46 | 60 | | |
47 | 61 | | |
48 | 62 | | |
49 | | - | |
| 63 | + | |
| 64 | + | |
50 | 65 | | |
51 | 66 | | |
52 | 67 | | |
| |||
0 commit comments