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