|
| 1 | +<script lang="ts" setup> |
| 2 | +import DsfrButton from '../DsfrButton.vue' |
| 3 | +</script> |
| 4 | + |
| 5 | +<template> |
| 6 | + <div class="flex gap-4 flex-end w-full"> |
| 7 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 8 | + <DsfrButton |
| 9 | + label="Bouton primaire" |
| 10 | + primary |
| 11 | + /> |
| 12 | + <DsfrButton |
| 13 | + label="Bouton secondaire" |
| 14 | + secondary |
| 15 | + /> |
| 16 | + <DsfrButton |
| 17 | + label="Bouton tertiaire" |
| 18 | + tertiary |
| 19 | + /> |
| 20 | + <DsfrButton |
| 21 | + label="Bouton tertiaire sans bordure" |
| 22 | + tertiary |
| 23 | + no-outline |
| 24 | + /> |
| 25 | + </div> |
| 26 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 27 | + <DsfrButton |
| 28 | + label="Petit bouton primaire" |
| 29 | + size="sm" |
| 30 | + primary |
| 31 | + /> |
| 32 | + <DsfrButton |
| 33 | + label="Petit bouton secondaire" |
| 34 | + size="sm" |
| 35 | + secondary |
| 36 | + /> |
| 37 | + <DsfrButton |
| 38 | + label="Petit bouton tertiaire" |
| 39 | + size="sm" |
| 40 | + tertiary |
| 41 | + /> |
| 42 | + <DsfrButton |
| 43 | + label="Petit bouton tertiaire sans bordure" |
| 44 | + size="sm" |
| 45 | + tertiary |
| 46 | + no-outline |
| 47 | + /> |
| 48 | + </div> |
| 49 | + </div> |
| 50 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 51 | + <DsfrButton |
| 52 | + label="Gros bouton primaire" |
| 53 | + size="lg" |
| 54 | + primary |
| 55 | + /> |
| 56 | + <DsfrButton |
| 57 | + label="Gros bouton secondaire" |
| 58 | + size="lg" |
| 59 | + secondary |
| 60 | + /> |
| 61 | + <DsfrButton |
| 62 | + label="Gros bouton tertiaire" |
| 63 | + size="lg" |
| 64 | + tertiary |
| 65 | + /> |
| 66 | + <DsfrButton |
| 67 | + label="Gros bouton tertiaire sans bordure" |
| 68 | + size="lg" |
| 69 | + tertiary |
| 70 | + no-outline |
| 71 | + /> |
| 72 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 73 | + <DsfrButton |
| 74 | + label="Bouton primaire avec icône DSFR" |
| 75 | + icon="fr-icon-moon-line" |
| 76 | + |
| 77 | + primary |
| 78 | + /> |
| 79 | + <DsfrButton |
| 80 | + label="Bouton secondaire avec icône DSFR" |
| 81 | + icon="fr-icon-moon-line" |
| 82 | + secondary |
| 83 | + /> |
| 84 | + <DsfrButton |
| 85 | + label="Bouton tertiaire avec icône DSFR" |
| 86 | + icon="fr-icon-moon-line" |
| 87 | + tertiary |
| 88 | + /> |
| 89 | + <DsfrButton |
| 90 | + label="Bouton tertiaire sans bordure avec icône DSFR" |
| 91 | + icon="fr-icon-moon-line" |
| 92 | + tertiary |
| 93 | + no-outline |
| 94 | + /> |
| 95 | + </div> |
| 96 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 97 | + <DsfrButton |
| 98 | + label="Bouton primaire avec icône oh-vue-icon" |
| 99 | + icon="ri-moon-line" |
| 100 | + |
| 101 | + primary |
| 102 | + /> |
| 103 | + <DsfrButton |
| 104 | + label="Bouton secondaire avec icône oh-vue-icon animée (spin)" |
| 105 | + :icon="{name: 'ri-refresh-line', animation: 'spin'}" |
| 106 | + secondary |
| 107 | + /> |
| 108 | + <DsfrButton |
| 109 | + label="Bouton tertiaire avec icône oh-vue-icon animée (spin-pulse)" |
| 110 | + :icon="{name: 'ri-moon-line', animation: 'spin-pulse'}" |
| 111 | + tertiary |
| 112 | + /> |
| 113 | + <DsfrButton |
| 114 | + label="Bouton 3re ss bordure avec icône OVI colorée avec couleur DSFR" |
| 115 | + title="Bouton tertiaire sans bordure avec icône oh-vue-icon colorée avec une couleur du DSFR" |
| 116 | + :icon="{name: 'ri-moon-line', fill: 'var(--success-425-625)'}" |
| 117 | + tertiary |
| 118 | + no-outline |
| 119 | + /> |
| 120 | + </div> |
| 121 | + <div class="flex gap-4 flex-end w-full"> |
| 122 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 123 | + <DsfrButton |
| 124 | + label="Bouton primaire icône seulement avec icône DSFR" |
| 125 | + icon="fr-icon-moon-line" |
| 126 | + icon-only |
| 127 | + primary |
| 128 | + /> |
| 129 | + <DsfrButton |
| 130 | + label="Bouton secondaire avec icône DSFR" |
| 131 | + icon="fr-icon-moon-line" |
| 132 | + icon-only |
| 133 | + secondary |
| 134 | + /> |
| 135 | + <DsfrButton |
| 136 | + label="Bouton tertiaire avec icône DSFR animée" |
| 137 | + icon="fr-icon-moon-line" |
| 138 | + icon-only |
| 139 | + tertiary |
| 140 | + /> |
| 141 | + <DsfrButton |
| 142 | + label="Bouton 3re ss bordure avec icône OVI colorée avec couleur DSFR" |
| 143 | + title="Bouton tertiaire sans bordure avec icône DSFR colorée avec une couleur du DSFR" |
| 144 | + icon="fr-icon-moon-line" |
| 145 | + icon-only |
| 146 | + tertiary |
| 147 | + no-outline |
| 148 | + /> |
| 149 | + </div> |
| 150 | + <div class="flex flex-col gap-4 flex-end w-full"> |
| 151 | + <DsfrButton |
| 152 | + label="Bouton primaire icône seulement avec icône oh-vue-icon" |
| 153 | + icon="ri-moon-line" |
| 154 | + icon-only |
| 155 | + |
| 156 | + primary |
| 157 | + /> |
| 158 | + <DsfrButton |
| 159 | + label="Bouton secondaire avec icône oh-vue-icon animée (spin)" |
| 160 | + :icon="{name: 'ri-refresh-line', animation: 'spin'}" |
| 161 | + icon-only |
| 162 | + secondary |
| 163 | + /> |
| 164 | + <DsfrButton |
| 165 | + label="Bouton tertiaire avec icône oh-vue-icon animée (spin-pulse)" |
| 166 | + :icon="{name: 'ri-moon-line', animation: 'spin-pulse'}" |
| 167 | + icon-only |
| 168 | + tertiary |
| 169 | + /> |
| 170 | + <DsfrButton |
| 171 | + label="Bouton 3re ss bordure avec icône OVI colorée avec couleur DSFR" |
| 172 | + title="Bouton tertiaire sans bordure avec icône oh-vue-icon colorée avec une couleur du DSFR" |
| 173 | + :icon="{name: 'ri-moon-line', fill: 'var(--success-425-625)'}" |
| 174 | + icon-only |
| 175 | + tertiary |
| 176 | + no-outline |
| 177 | + /> |
| 178 | + </div> |
| 179 | + </div> |
| 180 | + </div> |
| 181 | +</template> |
0 commit comments