Skip to content

Commit

Permalink
Merge branch 'main' into fix/1255-link-active-state
Browse files Browse the repository at this point in the history
  • Loading branch information
zetareticoli authored Dec 13, 2024
2 parents 69bf56e + d2fd0ae commit 0d5f93c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api/componenti/chips.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"content": "\n<div class=\"chip chip-simple chip-lg chip-disabled\">\n <span class=\"chip-label\">Label disabilitata</span>\n</div>\n\n<div class=\"chip chip-lg chip-disabled\">\n <label class=\"chip-label\" for=\"chip-01\">Label disabilitata</label>\n <button id=\"chip-01\" disabled>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n\n<div class=\"chip chip-lg chip-disabled\">\n <svg class=\"icon icon-xs\"><use href=\"/dist/svg/sprites.svg#it-github\"></use></svg>\n <label class=\"chip-label\" for=\"chip-02\">Label disabilitata</label>\n <button id=\"chip-02\" disabled>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n\n<div class=\"chip chip-lg chip-disabled\">\n <div class=\"avatar size-xs\">\n <img src=\"https://randomuser.me/api/portraits/men/46.jpg\" alt=\"Mario Rossi\">\n </div>\n <label class=\"chip-label\" for=\"chip-03\">Label disabilitata</label>\n <button id=\"chip-03\" disabled>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n"
},
{
"name": "Gruppi",
"name": "Gruppi di Chip",
"content": "\n<div class=\"chip chip-simple\">\n <span class=\"chip-label\">Label</span>\n</div>\n<div class=\"chip\">\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n<div class=\"chip\">\n <svg class=\"icon icon-xs\"><use href=\"/dist/svg/sprites.svg#it-github\"></use></svg>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n<div class=\"chip\">\n <div class=\"avatar size-xs\">\n <img src=\"https://randomuser.me/api/portraits/men/46.jpg\" alt=\"Mario Rossi\">\n </div>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n\n<hr/>\n\n<div class=\"chip chip-lg chip-simple\">\n <span class=\"chip-label\">Label</span>\n</div>\n<div class=\"chip chip-lg\">\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n<div class=\"chip chip-lg\">\n <svg class=\"icon icon-xs\"><use href=\"/dist/svg/sprites.svg#it-github\"></use></svg>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n<div class=\"chip chip-lg\">\n <div class=\"avatar size-xs\">\n <img src=\"https://randomuser.me/api/portraits/men/46.jpg\" alt=\"Mario Rossi\">\n </div>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</div>\n"
},
{
"name": "Gruppi",
"name": "Gruppi di Chip con link",
"content": "\n<a href=\"#\" class=\"chip chip-simple chip-primary\">\n <span class=\"chip-label\">Label</span>\n</a>\n<a href=\"#\" class=\"chip chip-primary\">\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n<a href=\"#\" class=\"chip chip-primary\">\n <svg class=\"icon icon-xs\"><use href=\"/dist/svg/sprites.svg#it-github\"></use></svg>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n<a href=\"#\" class=\"chip chip-primary\">\n <div class=\"avatar size-xs\">\n <img src=\"https://randomuser.me/api/portraits/men/46.jpg\" alt=\"Mario Rossi\">\n </div>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n\n<hr/>\n\n<a href=\"#\" class=\"chip chip-lg chip-simple chip-primary\">\n <span class=\"chip-label\">Label</span>\n</a>\n<a href=\"#\" class=\"chip chip-lg chip-primary\">\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n<a href=\"#\" class=\"chip chip-lg chip-primary\">\n <svg class=\"icon icon-xs\"><use href=\"/dist/svg/sprites.svg#it-github\"></use></svg>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n<a href=\"#\" class=\"chip chip-lg chip-primary\">\n <div class=\"avatar size-xs\">\n <img src=\"https://randomuser.me/api/portraits/men/46.jpg\" alt=\"Mario Rossi\">\n </div>\n <span class=\"chip-label\">Label</span>\n <button>\n <svg class=\"icon\"><use href=\"/dist/svg/sprites.svg#it-close\"></use></svg>\n <span class=\"visually-hidden\">Elimina label</span>\n </button>\n</a>\n"
}
]
6 changes: 3 additions & 3 deletions docs/componenti/chips.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Aggiungendo la classe `.chip-disabled` al contenitore e l'attributo `disabled` a

I gruppi di chip vengono visualizzati in linea.

{% comment %}Example name: Gruppi{% endcomment %}
{% comment %}Example name: Gruppi di Chip{% endcomment %}
{% capture example %}
<div class="chip chip-simple">
<span class="chip-label">Label</span>
Expand Down Expand Up @@ -224,9 +224,9 @@ I gruppi di chip vengono visualizzati in linea.
</div>
{% endcapture %}{% include example.html content=example %}

### Gruppi di Chip link
### Gruppi di Chip con link

{% comment %}Example name: Gruppi{% endcomment %}
{% comment %}Example name: Gruppi di Chip con link{% endcomment %}
{% capture example %}
<a href="#" class="chip chip-simple chip-primary">
<span class="chip-label">Label</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/utilities/icone.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Per copiare il nome di un'icona rapidamente, fare click su di essa.
</small>
</div>
<div class="notification with-icon success" role="alert" aria-labelledby="copiednot-title" id="copiednot">
<h2 id="copiednot-title" class="h5 "><svg class="icon"><use href="/dist/svg/sprites.svg#it-check-circle"></use></svg>Nome dell'icona copiato negli appunti</h2>
<h2 id="copiednot-title" class="h5 no_toc"><svg class="icon"><use href="/dist/svg/sprites.svg#it-check-circle"></use></svg>Nome dell'icona copiato negli appunti</h2>
</div>

{% comment %}Example name: Icone disponibili{% endcomment %}
Expand Down

0 comments on commit 0d5f93c

Please sign in to comment.