desy-html 8.10.0 → 8.10.2
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 +8 -0
- package/package.json +3 -3
- package/src/js/aria/radioButton.js +1 -1
package/docs/index.html
CHANGED
|
@@ -38,6 +38,14 @@
|
|
|
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.2</h3>
|
|
42
|
+
<ul class="text-sm">
|
|
43
|
+
<li>Updated Tailwind CSS form and typography plugins.</li>
|
|
44
|
+
</ul>
|
|
45
|
+
<h3>v.8.10.1</h3>
|
|
46
|
+
<ul class="text-sm">
|
|
47
|
+
<li>Fixed a bug in conditionals in radios.</li>
|
|
48
|
+
</ul>
|
|
41
49
|
<h3>v.8.10.0</h3>
|
|
42
50
|
<ul class="text-sm">
|
|
43
51
|
<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.2",
|
|
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)",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"backstop-test:test": "backstop test --config=test/backstop_config/backstop.config.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tailwindcss/forms": "
|
|
36
|
-
"@tailwindcss/typography": "
|
|
35
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
36
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
37
37
|
"autoprefixer": "^10.0.2",
|
|
38
38
|
"hex-rgb": "^5.0.0",
|
|
39
39
|
"highlight.js": "^11.7.0",
|
|
@@ -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')
|