@1024pix/pix-ui 28.0.0 → 28.0.1
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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Pix-UI Changelog
|
|
2
2
|
|
|
3
|
+
## v28.0.1 (06/03/2023)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### :coffee: Autre
|
|
7
|
+
- [#355](https://github.com/1024pix/pix-ui/pull/355) [BUG] Corrige le PixCheckbox pour éviter de cacher l'input en utilisant la propriété screenReaderOnly
|
|
8
|
+
|
|
3
9
|
## v28.0.0 (06/03/2023)
|
|
4
10
|
|
|
5
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<label class="pix-checkbox {{
|
|
1
|
+
<label class="pix-checkbox {{@class}}" for={{@id}}>
|
|
2
2
|
<input
|
|
3
3
|
id={{@id}}
|
|
4
4
|
type="checkbox"
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
/>
|
|
9
9
|
|
|
10
10
|
{{#if (has-block)}}
|
|
11
|
-
<span
|
|
11
|
+
<span
|
|
12
|
+
class="pix-checkbox__label
|
|
13
|
+
{{if @screenReaderOnly 'screen-reader-only'}}
|
|
14
|
+
{{this.labelSizeClass}}"
|
|
15
|
+
>{{yield}}</span>
|
|
12
16
|
{{else}}
|
|
13
17
|
yield required to give a label for PixCheckBox
|
|
14
18
|
{{@id}}.
|