desy-html 8.10.0 → 8.10.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/docs/index.html +4 -0
- package/package.json +1 -1
- package/src/js/aria/radioButton.js +1 -1
package/docs/index.html
CHANGED
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
<h2>Changelog (English)</h2>
|
|
40
40
|
<p>What's new in the latest version of desy-html</p>
|
|
41
|
+
<h3>v.8.10.1</h3>
|
|
42
|
+
<ul class="text-sm">
|
|
43
|
+
<li>Fixed a bug in conditionals in radios.</li>
|
|
44
|
+
</ul>
|
|
41
45
|
<h3>v.8.10.0</h3>
|
|
42
46
|
<ul class="text-sm">
|
|
43
47
|
<li>Updated to Tailwind CSS v3.3.5</li>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desy-html",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.1",
|
|
4
4
|
"description": "desy-html contains the code you need to start building a user interface for Gobierno de Aragón government webapps.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Desy (SDA Servicios Digitales de Aragón)",
|
|
@@ -27,7 +27,7 @@ export function RadioButton(aria) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
if(type === 'radio' && nodeName === 'INPUT') {
|
|
30
|
-
this.rootEl.querySelectorAll('.c-radios__conditional').forEach(item => {
|
|
30
|
+
this.rootEl.querySelectorAll('.c-radios__conditional-active, .c-radios__conditional-hidden').forEach(item => {
|
|
31
31
|
if(item.querySelector('input[type="radio"]').checked){
|
|
32
32
|
item.classList.remove('c-radios__conditional-hidden')
|
|
33
33
|
item.classList.add('c-radios__conditional-active')
|