@y14e/parent-checkbox 1.0.10 → 1.0.12

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
@@ -10,14 +10,14 @@ npm i @y14e/parent-checkbox
10
10
 
11
11
  ```ts
12
12
  // npm
13
- import ParentCheckbox from '@y14e/parent-checkbox';
13
+ import { ParentCheckbox } from '@y14e/parent-checkbox';
14
14
 
15
15
  // CDNs
16
- import ParentCheckbox from 'https://esm.sh/@y14e/parent-checkbox@1.0.10';
16
+ import { ParentCheckbox } from 'https://esm.sh/@y14e/parent-checkbox@1.0.12';
17
17
  // or
18
- import ParentCheckbox from 'https://cdn.jsdelivr.net/npm/@y14e/parent-checkbox@1.0.10/+esm';
18
+ import { ParentCheckbox } from 'https://cdn.jsdelivr.net/npm/@y14e/parent-checkbox@1.0.12/+esm';
19
19
  // or
20
- import ParentCheckbox from 'https://esm.unpkg.com/@y14e/parent-checkbox@1.0.10';
20
+ import { ParentCheckbox } from 'https://esm.unpkg.com/@y14e/parent-checkbox@1.0.12';
21
21
  ```
22
22
 
23
23
  ## Usage
@@ -39,6 +39,7 @@ Destroys the instance and cleans up all event listeners.
39
39
  checkbox.destroy();
40
40
  // => void
41
41
  ```
42
+
42
43
  ## Demo
43
44
 
44
45
  https://y14e.github.io/parent-checkbox/
package/dist/index.cjs CHANGED
@@ -63,11 +63,11 @@ var ParentCheckbox = class {
63
63
  * Parent Checkbox
64
64
  * WAI-ARIA compliant checkbox (mixed) pattern implementation in TypeScript.
65
65
  *
66
- * @version 1.0.10
66
+ * @version 1.0.12
67
67
  * @author Yusuke Kamiyamane
68
68
  * @license MIT
69
69
  * @copyright Copyright (c) Yusuke Kamiyamane
70
70
  * @see {@link https://github.com/y14e/parent-checkbox}
71
71
  */
72
72
 
73
- module.exports = ParentCheckbox;
73
+ exports.ParentCheckbox = ParentCheckbox;
package/dist/index.d.cts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Parent Checkbox
3
3
  * WAI-ARIA compliant checkbox (mixed) pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.0.10
5
+ * @version 1.0.12
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -14,4 +14,4 @@ declare class ParentCheckbox {
14
14
  destroy(): void;
15
15
  }
16
16
 
17
- export { ParentCheckbox as default };
17
+ export { ParentCheckbox };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Parent Checkbox
3
3
  * WAI-ARIA compliant checkbox (mixed) pattern implementation in TypeScript.
4
4
  *
5
- * @version 1.0.10
5
+ * @version 1.0.12
6
6
  * @author Yusuke Kamiyamane
7
7
  * @license MIT
8
8
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -14,4 +14,4 @@ declare class ParentCheckbox {
14
14
  destroy(): void;
15
15
  }
16
16
 
17
- export { ParentCheckbox as default };
17
+ export { ParentCheckbox };
package/dist/index.js CHANGED
@@ -61,11 +61,11 @@ var ParentCheckbox = class {
61
61
  * Parent Checkbox
62
62
  * WAI-ARIA compliant checkbox (mixed) pattern implementation in TypeScript.
63
63
  *
64
- * @version 1.0.10
64
+ * @version 1.0.12
65
65
  * @author Yusuke Kamiyamane
66
66
  * @license MIT
67
67
  * @copyright Copyright (c) Yusuke Kamiyamane
68
68
  * @see {@link https://github.com/y14e/parent-checkbox}
69
69
  */
70
70
 
71
- export { ParentCheckbox as default };
71
+ export { ParentCheckbox };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/parent-checkbox",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "WAI-ARIA compliant checkbox (mixed) pattern implementation in TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -49,5 +49,8 @@
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=18"
52
+ },
53
+ "allowScripts": {
54
+ "esbuild": true
52
55
  }
53
56
  }