@arclux/arc-ui 1.5.1 → 1.5.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/package.json +1 -1
- package/src/content/accordion.js +8 -3
package/package.json
CHANGED
package/src/content/accordion.js
CHANGED
|
@@ -55,10 +55,13 @@ export class ArcAccordion extends LitElement {
|
|
|
55
55
|
|
|
56
56
|
.accordion__chevron {
|
|
57
57
|
color: var(--text-muted);
|
|
58
|
-
|
|
58
|
+
width: 18px;
|
|
59
|
+
height: 18px;
|
|
59
60
|
transition: transform 300ms ease;
|
|
60
61
|
flex-shrink: 0;
|
|
61
|
-
display: inline-
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
.accordion__trigger[aria-expanded="true"] .accordion__chevron {
|
|
@@ -136,7 +139,9 @@ export class ArcAccordion extends LitElement {
|
|
|
136
139
|
@click=${() => this._toggle(i)}
|
|
137
140
|
>
|
|
138
141
|
<span>${item.question}</span>
|
|
139
|
-
<
|
|
142
|
+
<svg class="accordion__chevron" viewBox="0 0 16 16" fill="none" aria-hidden="true">
|
|
143
|
+
<path d="M4 6l4 4 4-4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
144
|
+
</svg>
|
|
140
145
|
</button>
|
|
141
146
|
<div class="accordion__content ${isOpen ? 'is-open' : ''}">
|
|
142
147
|
<div class="accordion__body">
|