@lab-anssi/ui-kit 1.21.0 → 1.21.3

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.
@@ -45,7 +45,7 @@ export let positionIcone = "sans";
45
45
  font-style: normal;
46
46
  font-weight: 500;
47
47
  }
48
- .bouton:focus {
48
+ .bouton:focus-visible {
49
49
  outline: 2px solid #0a76f6;
50
50
  outline-offset: 2px;
51
51
  }
@@ -115,10 +115,6 @@ export let positionIcone = "sans";
115
115
  .bouton.tertiaire:active, .bouton.tertiaire-sans-bordure:active {
116
116
  background: rgba(0, 0, 0, 0.08);
117
117
  }
118
- .bouton.tertiaire:focus, .bouton.tertiaire-sans-bordure:focus {
119
- outline: 2px solid #0a76f6;
120
- outline-offset: 2px;
121
- }
122
118
  .bouton.tertiaire {
123
119
  border: 1px solid #ddd;
124
120
  }
@@ -120,7 +120,7 @@ export let positionIcone = "sans";
120
120
  background: rgba(0, 0, 0, 0.08);
121
121
  }
122
122
 
123
- .lien:focus {
123
+ .lien:focus-visible {
124
124
  outline: 2px solid #0a76f6;
125
125
  outline-offset: 2px;
126
126
  }
@@ -136,7 +136,7 @@ export let positionIcone = "sans";
136
136
  font-weight: 500;
137
137
  }
138
138
 
139
- .bouton:focus {
139
+ .bouton:focus-visible {
140
140
  outline: 2px solid #0a76f6;
141
141
  outline-offset: 2px;
142
142
  }
@@ -225,11 +225,6 @@ export let positionIcone = "sans";
225
225
  background: rgba(0, 0, 0, 0.08);
226
226
  }
227
227
 
228
- .bouton.tertiaire:focus, .bouton.tertiaire-sans-bordure:focus {
229
- outline: 2px solid #0a76f6;
230
- outline-offset: 2px;
231
- }
232
-
233
228
  .bouton.tertiaire {
234
229
  border: 1px solid #ddd;
235
230
  }
@@ -33,7 +33,6 @@ const bascule = () => {
33
33
  style:background={couleurFond}
34
34
  style:color={couleurTexte}
35
35
  on:click={bascule}
36
- on:click
37
36
  >
38
37
  {label}
39
38
  </button>
@@ -64,7 +63,7 @@ const bascule = () => {
64
63
  padding: 4px 12px;
65
64
  border-radius: 16px;
66
65
  }
67
- .tag:focus {
66
+ .tag:focus-visible {
68
67
  outline: 2px solid #0a76f6;
69
68
  outline-offset: 2px;
70
69
  }
@@ -76,6 +75,7 @@ button.tag {
76
75
  display: inline-flex;
77
76
  position: relative;
78
77
  overflow: visible;
78
+ cursor: pointer;
79
79
  }
80
80
  button.tag:hover {
81
81
  background-color: var(--tag-selectionnable-couleur-fond-survol);
@@ -8,8 +8,6 @@ declare const __propDef: {
8
8
  type?: "defaut" | "selectionnable";
9
9
  };
10
10
  events: {
11
- click: MouseEvent;
12
- } & {
13
11
  [evt: string]: CustomEvent<any>;
14
12
  };
15
13
  slots: {};
@@ -9,7 +9,7 @@
9
9
  font-style: normal;
10
10
  font-weight: 500;
11
11
 
12
- &:focus {
12
+ &:focus-visible {
13
13
  outline: 2px solid #0a76f6;
14
14
  outline-offset: 2px;
15
15
  }
@@ -97,11 +97,6 @@
97
97
  &:active {
98
98
  background: rgb(0, 0, 0, 8%);
99
99
  }
100
-
101
- &:focus {
102
- outline: 2px solid #0a76f6;
103
- outline-offset: 2px;
104
- }
105
100
  }
106
101
 
107
102
  &.tertiaire {