codevdesign 0.0.44 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@
17
17
  cols="12"
18
18
  class="pa-0 ma-0"
19
19
  >
20
- {{ texte }}
20
+ <span v-html="texte"></span>
21
21
  </v-col>
22
22
  </v-row>
23
23
  </v-form>
@@ -24,7 +24,7 @@
24
24
  style="font-size: 24px; white-space: normal; word-break: break-word"
25
25
  >
26
26
  <slot name="titre"></slot>
27
- <div class="headline">{{ titre }}</div>
27
+ <div class="headline"><span v-html="titre"></span></div>
28
28
  </v-card-title>
29
29
 
30
30
  <v-card-text class="pa-0 ma-0 pb-6 pr-6">
@@ -25,26 +25,33 @@
25
25
  @click="retournerMenu"
26
26
  /></slot>
27
27
 
28
- <!-- Titre -->
29
- <slot name="titre"
30
- ><span class="pl-3"> {{ props.titre }}</span></slot
31
- >
32
-
33
- <!-- État -->
34
- <slot name="etat">
35
- <span
36
- v-if="monEtat?.afficher"
37
- class="pl-10"
28
+ <div class="titre-bloc">
29
+ <!-- Titre -->
30
+ <slot name="titre"
31
+ ><span class="pl-3"> {{ props.titre }}</span></slot
38
32
  >
39
- <v-btn
40
- size="small"
41
- :color="monEtat.couleur"
42
- variant="tonal"
33
+
34
+ <!-- État -->
35
+ <slot name="etat">
36
+ <span
37
+ v-if="monEtat?.afficher"
38
+ class="pl-10"
43
39
  >
44
- {{ monEtat.texte }}
45
- </v-btn>
46
- </span></slot
47
- >
40
+ <v-btn
41
+ size="small"
42
+ :color="monEtat.couleur"
43
+ variant="tonal"
44
+ >
45
+ {{ monEtat.texte }}
46
+ </v-btn>
47
+ </span></slot
48
+ >
49
+
50
+ <!-- Sous-titre -->
51
+ <slot name="soustitre"
52
+ ><span class="pl-3 soustitre"> {{ props.soustitre }}</span></slot
53
+ >
54
+ </div>
48
55
  </v-toolbar-title>
49
56
  </v-col>
50
57
  </v-row>
@@ -68,6 +75,7 @@
68
75
 
69
76
  const props = defineProps<{
70
77
  titre: string
78
+ soustitre?: string
71
79
  retour?: string
72
80
  etat?: EnteteEtat
73
81
  }>()
@@ -102,6 +110,17 @@
102
110
  font-weight: bold;
103
111
  margin-bottom: 15px;
104
112
  }
113
+ .soustitre {
114
+ display: block;
115
+ font-size: 1rem;
116
+ color: #223654;
117
+ font-weight: normal;
118
+ }
119
+ .titre-bloc {
120
+ display: inline-block;
121
+ vertical-align: middle;
122
+ padding-left: 12px;
123
+ }
105
124
  .v-icon:hover {
106
125
  color: #095797 !important;
107
126
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codevdesign",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "description": "Composants Vuetify 3 pour les projets Codev",
5
5
  "files": [
6
6
  "./**/*.vue",