@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.
@@ -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 _initializeCheckedState;
32
- private updateRadioButtonsSize;
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.0",
4
- "description": "A radio button component from the NYS Design System.",
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.0.11"
33
+ "vite": "^6.2.4"
32
34
  },
33
35
  "keywords": [
34
36
  "new-york-state",