desy-html 5.2.1 → 5.2.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 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.5.2.2</h3>
42
+ <ul class="text-sm">
43
+ <li>Minor fixes.</li>
44
+ </ul>
41
45
  <h3>v.5.2.1</h3>
42
46
  <ul class="text-sm">
43
47
  <li>Docs improvements.</li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "desy-html",
3
- "version": "5.2.1",
3
+ "version": "5.2.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)",
@@ -1,3 +1,4 @@
1
+ <!-- toggle -->
1
2
  <div
2
3
  x-data="{
3
4
  pressed: {{ params.pressed if params.pressed else 'false' }},
@@ -34,4 +35,5 @@
34
35
  <span :class="pressed ? 'hidden' : ''">{{ params.offState.html | safe if params.offState.html else params.offState.text }}</span>
35
36
  <span :class="pressed ? '' : 'hidden'">{{ params.onState.html | safe if params.onState.html else params.onState.text }}</span>
36
37
  </button>
37
- </div>
38
+ </div>
39
+ <!-- /toggle -->
@@ -1,4 +1,4 @@
1
- <!-- status -->
1
+ <!-- tooltip -->
2
2
  {% set idButton = params.id + "-button" %}
3
3
  {% set idTooltip = params.id + "-tooltip" %}
4
4
  <div id="{{ params.id }}" data-module="c-tooltip" {% if params.classes %}class="{{ params.classes }}"{% endif %} {%- if params.attributes %}{% for attribute, value in params.attributes %} {{attribute}}="{{value}}"{% endfor %}{% endif %}>
@@ -37,4 +37,4 @@
37
37
  {% endif %}
38
38
  </div>
39
39
  </div>
40
- <!-- /status -->
40
+ <!-- /tooltip -->