@nice-digital/nds-checkbox 1.2.5 → 1.2.8
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/nds-checkbox.d.ts +2 -0
- package/package.json +47 -46
package/nds-checkbox.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ declare module "@nice-digital/nds-checkbox" {
|
|
|
2
2
|
import React = require("react");
|
|
3
3
|
|
|
4
4
|
export interface CheckboxProps {
|
|
5
|
+
/** Allow any additional props to be passed and applied to the checkbox */
|
|
6
|
+
[prop: string]: unknown;
|
|
5
7
|
/** The name attribute for the checkbox */
|
|
6
8
|
name: string;
|
|
7
9
|
/** The label for the checkbox. If none supplied will use the value */
|
package/package.json
CHANGED
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"name": "@nice-digital/nds-checkbox",
|
|
3
|
+
"version": "1.2.8",
|
|
4
|
+
"description": "Checkbox component for the NICE Design System",
|
|
5
|
+
"author": "Warren Keith <warren.keith@nice.org.uk>",
|
|
6
|
+
"homepage": "https://design-system.nice.org.uk/",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "lib/Checkbox.js",
|
|
9
|
+
"module": "es/Checkbox.js",
|
|
10
|
+
"style": "scss/checkbox.scss",
|
|
11
|
+
"types": "nds-checkbox.d.ts",
|
|
12
|
+
"directories": {
|
|
13
|
+
"lib": "lib",
|
|
14
|
+
"test": "__tests__"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"lib",
|
|
18
|
+
"es",
|
|
19
|
+
"scss",
|
|
20
|
+
"*.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"registry": "https://registry.npmjs.org/",
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/nice-digital/nice-design-system.git"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/nice-digital/nice-design-system/issues"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@nice-digital/nds-core": "^1.2.8",
|
|
38
|
+
"classnames": "^2.2.6",
|
|
39
|
+
"prop-types": "^15.7.2"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"react": "^16 || ^17",
|
|
43
|
+
"react-dom": "^16 || ^17"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@babel/cli": "^7.5.0"
|
|
47
|
+
},
|
|
48
|
+
"gitHead": "b7a494e092ea0306d9de8633c08d2c2b0fc302b0"
|
|
48
49
|
}
|