@nysds/nys-radiobutton 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-radiobutton.d.ts +2 -0
- package/dist/nys-radiobutton.js +361 -1798
- package/dist/nys-radiobutton.js.map +1 -1
- package/dist/nys-radiogroup.d.ts +4 -2
- package/package.json +8 -6
package/dist/nys-radiogroup.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare class NysRadiogroup 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;
|
|
@@ -28,8 +29,9 @@ export declare class NysRadiogroup extends LitElement {
|
|
|
28
29
|
private _setValue;
|
|
29
30
|
private setRadioButtonRequire;
|
|
30
31
|
private _manageRequire;
|
|
31
|
-
private
|
|
32
|
-
|
|
32
|
+
private _initializeCheckedRadioValue;
|
|
33
|
+
/********************** Functions **********************/
|
|
34
|
+
private _updateRadioButtonsSize;
|
|
33
35
|
private _handleRadioButtonChange;
|
|
34
36
|
private _handleInvalid;
|
|
35
37
|
render(): import("lit-html").TemplateResult<1>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nysds/nys-radiobutton",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "The Radiobutton component from the NYS Design System.",
|
|
5
5
|
"module": "dist/nys-radiobutton.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -19,16 +19,18 @@
|
|
|
19
19
|
"build": "tsc --emitDeclarationOnly && vite build"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@nysds/nys-label": "^1.1.0",
|
|
23
|
-
"@nysds/nys-errormessage": "^1.1.0"
|
|
24
22
|
},
|
|
25
23
|
"peerDependencies": {
|
|
26
|
-
"lit": "^3.2.1"
|
|
24
|
+
"lit": "^3.2.1",
|
|
25
|
+
"@nysds/nys-label": "^1.1.2",
|
|
26
|
+
"@nysds/nys-errormessage": "^1.1.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"lit": "^3.2.1",
|
|
30
|
+
"@nysds/nys-label": "^1.1.2",
|
|
31
|
+
"@nysds/nys-errormessage": "^1.1.2",
|
|
30
32
|
"typescript": "^5.7.2",
|
|
31
|
-
"vite": "^6.
|
|
33
|
+
"vite": "^6.2.4"
|
|
32
34
|
},
|
|
33
35
|
"keywords": [
|
|
34
36
|
"new-york-state",
|