@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 +5 -4
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -1
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
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.
|
|
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
|
|
71
|
+
export { ParentCheckbox };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@y14e/parent-checkbox",
|
|
3
|
-
"version": "1.0.
|
|
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
|
}
|