@y14e/accordion 1.2.9 → 1.2.10
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/dist/index.cjs +3 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -155,8 +155,10 @@ var Accordion = class _Accordion {
|
|
|
155
155
|
const { signal } = this.#eventController;
|
|
156
156
|
saveAttributes(this.#triggerElements, [
|
|
157
157
|
"aria-controls",
|
|
158
|
+
"aria-disabled",
|
|
158
159
|
"aria-label",
|
|
159
160
|
"id",
|
|
161
|
+
"style",
|
|
160
162
|
"tabindex"
|
|
161
163
|
]);
|
|
162
164
|
this.#triggerElements.forEach((trigger, i) => {
|
|
@@ -351,7 +353,7 @@ function waitAnimationFinish(animation) {
|
|
|
351
353
|
* Accordion
|
|
352
354
|
* WAI-ARIA compliant accordion pattern implementation in TypeScript.
|
|
353
355
|
*
|
|
354
|
-
* @version 1.2.
|
|
356
|
+
* @version 1.2.10
|
|
355
357
|
* @author Yusuke Kamiyamane
|
|
356
358
|
* @license MIT
|
|
357
359
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -153,8 +153,10 @@ var Accordion = class _Accordion {
|
|
|
153
153
|
const { signal } = this.#eventController;
|
|
154
154
|
saveAttributes(this.#triggerElements, [
|
|
155
155
|
"aria-controls",
|
|
156
|
+
"aria-disabled",
|
|
156
157
|
"aria-label",
|
|
157
158
|
"id",
|
|
159
|
+
"style",
|
|
158
160
|
"tabindex"
|
|
159
161
|
]);
|
|
160
162
|
this.#triggerElements.forEach((trigger, i) => {
|
|
@@ -349,7 +351,7 @@ function waitAnimationFinish(animation) {
|
|
|
349
351
|
* Accordion
|
|
350
352
|
* WAI-ARIA compliant accordion pattern implementation in TypeScript.
|
|
351
353
|
*
|
|
352
|
-
* @version 1.2.
|
|
354
|
+
* @version 1.2.10
|
|
353
355
|
* @author Yusuke Kamiyamane
|
|
354
356
|
* @license MIT
|
|
355
357
|
* @copyright Copyright (c) Yusuke Kamiyamane
|