@y14e/disclosure 2.1.1 → 2.1.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/README.md CHANGED
@@ -13,11 +13,11 @@ npm i @y14e/disclosure
13
13
  import { Disclosure } from '@y14e/disclosure';
14
14
 
15
15
  // CDNs
16
- import { Disclosure } from 'https://esm.sh/@y14e/disclosure@2.1.1';
16
+ import { Disclosure } from 'https://esm.sh/@y14e/disclosure@2.1.2';
17
17
  // or
18
- import { Disclosure } from 'https://cdn.jsdelivr.net/npm/@y14e/disclosure@2.1.1/+esm';
18
+ import { Disclosure } from 'https://cdn.jsdelivr.net/npm/@y14e/disclosure@2.1.2/+esm';
19
19
  // or
20
- import { Disclosure } from 'https://esm.unpkg.com/@y14e/disclosure@2.1.1';
20
+ import { Disclosure } from 'https://esm.unpkg.com/@y14e/disclosure@2.1.2';
21
21
  ```
22
22
 
23
23
  ## Usage
@@ -979,17 +979,6 @@ function waitAnimationFinish(animation) {
979
979
  (resolve) => animation.addEventListener("finish", () => resolve(), { once: true })
980
980
  );
981
981
  }
982
- /**
983
- * Disclosure
984
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
985
- * Using the <details> and <summary> element.
986
- *
987
- * @version 2.1.1
988
- * @author Yusuke Kamiyamane
989
- * @license MIT
990
- * @copyright Copyright (c) Yusuke Kamiyamane
991
- * @see {@link https://github.com/y14e/disclosure}
992
- */
993
982
  /*! Bundled license information:
994
983
 
995
984
  @y14e/attribute-utils/dist/index.js:
@@ -977,17 +977,6 @@ function waitAnimationFinish(animation) {
977
977
  (resolve) => animation.addEventListener("finish", () => resolve(), { once: true })
978
978
  );
979
979
  }
980
- /**
981
- * Disclosure
982
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
983
- * Using the <details> and <summary> element.
984
- *
985
- * @version 2.1.1
986
- * @author Yusuke Kamiyamane
987
- * @license MIT
988
- * @copyright Copyright (c) Yusuke Kamiyamane
989
- * @see {@link https://github.com/y14e/disclosure}
990
- */
991
980
  /*! Bundled license information:
992
981
 
993
982
  @y14e/attribute-utils/dist/index.js:
package/dist/index.cjs CHANGED
@@ -302,16 +302,5 @@ function waitAnimationFinish(animation) {
302
302
  (resolve) => animation.addEventListener("finish", () => resolve(), { once: true })
303
303
  );
304
304
  }
305
- /**
306
- * Disclosure
307
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
308
- * Using the <details> and <summary> element.
309
- *
310
- * @version 2.1.1
311
- * @author Yusuke Kamiyamane
312
- * @license MIT
313
- * @copyright Copyright (c) Yusuke Kamiyamane
314
- * @see {@link https://github.com/y14e/disclosure}
315
- */
316
305
 
317
306
  exports.Disclosure = Disclosure;
package/dist/index.d.cts CHANGED
@@ -1,14 +1,3 @@
1
- /**
2
- * Disclosure
3
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
4
- * Using the <details> and <summary> element.
5
- *
6
- * @version 2.1.1
7
- * @author Yusuke Kamiyamane
8
- * @license MIT
9
- * @copyright Copyright (c) Yusuke Kamiyamane
10
- * @see {@link https://github.com/y14e/disclosure}
11
- */
12
1
  interface DisclosureOptions {
13
2
  animation: {
14
3
  duration: number;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,3 @@
1
- /**
2
- * Disclosure
3
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
4
- * Using the <details> and <summary> element.
5
- *
6
- * @version 2.1.1
7
- * @author Yusuke Kamiyamane
8
- * @license MIT
9
- * @copyright Copyright (c) Yusuke Kamiyamane
10
- * @see {@link https://github.com/y14e/disclosure}
11
- */
12
1
  interface DisclosureOptions {
13
2
  animation: {
14
3
  duration: number;
package/dist/index.js CHANGED
@@ -300,16 +300,5 @@ function waitAnimationFinish(animation) {
300
300
  (resolve) => animation.addEventListener("finish", () => resolve(), { once: true })
301
301
  );
302
302
  }
303
- /**
304
- * Disclosure
305
- * WAI-ARIA compliant disclosure pattern implementation in TypeScript.
306
- * Using the <details> and <summary> element.
307
- *
308
- * @version 2.1.1
309
- * @author Yusuke Kamiyamane
310
- * @license MIT
311
- * @copyright Copyright (c) Yusuke Kamiyamane
312
- * @see {@link https://github.com/y14e/disclosure}
313
- */
314
303
 
315
304
  export { Disclosure };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/disclosure",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "WAI-ARIA compliant disclosure pattern implementation in TypeScript",
5
5
  "keywords": [
6
6
  "a11y",