@nysds/nys-checkbox 1.1.0 → 1.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/dist/index.d.ts +1 -0
- package/dist/nys-checkbox.d.ts +3 -1
- package/dist/nys-checkbox.js +602 -2676
- package/dist/nys-checkbox.js.map +1 -1
- package/dist/nys-checkboxgroup.d.ts +5 -1
- package/package.json +10 -7
|
@@ -5,6 +5,7 @@ export declare class NysCheckboxgroup extends LitElement {
|
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
7
7
|
required: boolean;
|
|
8
|
+
optional: boolean;
|
|
8
9
|
showError: boolean;
|
|
9
10
|
errorMessage: string;
|
|
10
11
|
label: string;
|
|
@@ -20,10 +21,13 @@ export declare class NysCheckboxgroup extends LitElement {
|
|
|
20
21
|
constructor();
|
|
21
22
|
connectedCallback(): void;
|
|
22
23
|
disconnectedCallback(): void;
|
|
24
|
+
firstUpdated(): void;
|
|
23
25
|
updated(changedProperties: Map<string | symbol, unknown>): void;
|
|
24
26
|
/********************** Functions **********************/
|
|
27
|
+
private _setGroupExist;
|
|
25
28
|
private _handleInvalid;
|
|
26
|
-
private
|
|
29
|
+
private _setupCheckboxRequired;
|
|
30
|
+
private _handleCheckboxChange;
|
|
27
31
|
private _manageCheckboxRequired;
|
|
28
32
|
private updateCheckboxSize;
|
|
29
33
|
render(): import("lit-html").TemplateResult<1>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/nys-checkbox",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "The Checkbox component from the NYS Design System.",
|
|
5
5
|
"module": "dist/nys-checkbox.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -19,17 +19,20 @@
|
|
|
19
19
|
"build": "tsc --emitDeclarationOnly && vite build"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@nysds/nys-icon": "^1.1.0",
|
|
23
|
-
"@nysds/nys-label": "^1.1.0",
|
|
24
|
-
"@nysds/nys-errormessage": "^1.1.0"
|
|
25
22
|
},
|
|
26
23
|
"peerDependencies": {
|
|
27
|
-
"lit": "^3.2.1"
|
|
24
|
+
"lit": "^3.2.1",
|
|
25
|
+
"@nysds/nys-icon": "^1.1.2",
|
|
26
|
+
"@nysds/nys-label": "^1.1.2",
|
|
27
|
+
"@nysds/nys-errormessage": "^1.1.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"lit": "^3.2.1",
|
|
31
|
+
"@nysds/nys-icon": "^1.1.2",
|
|
32
|
+
"@nysds/nys-label": "^1.1.2",
|
|
33
|
+
"@nysds/nys-errormessage": "^1.1.2",
|
|
31
34
|
"typescript": "^5.7.2",
|
|
32
|
-
"vite": "^6.
|
|
35
|
+
"vite": "^6.2.4"
|
|
33
36
|
},
|
|
34
37
|
"keywords": [
|
|
35
38
|
"new-york-state",
|