dap-design-system 0.56.0 → 0.56.1

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.
@@ -79,6 +79,10 @@ export default class DapDSRadioButton extends LabeledChoiceElement {
79
79
  private readonly input;
80
80
  /** Whether the radio button is focusable */
81
81
  focusable: boolean;
82
+ /** Position in set — set by radio-group for correct screen reader counting */
83
+ posInSet?: number;
84
+ /** Set size — set by radio-group for correct screen reader counting */
85
+ setSize?: number;
82
86
  /** Whether the radio button should prevent the default action */
83
87
  preventDefault: boolean;
84
88
  /** Whether the radio button is readonly */
@@ -91,12 +95,10 @@ export default class DapDSRadioButton extends LabeledChoiceElement {
91
95
  type: 'normal' | 'background';
92
96
  static readonly styles: import('lit').CSSResult;
93
97
  constructor();
94
- /**
95
- * Gets the aria-describedby attribute value by combining description and feedback IDs.
96
- * @returns {string | undefined} Space-separated IDs or undefined if none exist
97
- * @private
98
- */
99
- private getAriaDescribedBy;
98
+ connectedCallback(): void;
99
+ disconnectedCallback(): void;
100
+ private _onHostKeydown;
101
+ private _syncHostAria;
100
102
  /**
101
103
  * Handles click events on the radio button.
102
104
  * Manages the checked state and emits change events.
@@ -110,23 +112,8 @@ export default class DapDSRadioButton extends LabeledChoiceElement {
110
112
  * @private
111
113
  */
112
114
  private handleInput;
113
- /**
114
- * Handles keyboard events on the radio button.
115
- * Provides enhanced keyboard navigation and accessibility.
116
- * @param {KeyboardEvent} event - The keyboard event
117
- * @private
118
- */
119
- private handleKeyDown;
120
115
  get focusElement(): HTMLInputElement;
121
- /**
122
- * Programmatically focuses the radio button input element.
123
- * @public
124
- */
125
116
  focus(): void;
126
- /**
127
- * Programmatically blurs the radio button input element.
128
- * @public
129
- */
130
117
  blur(): void;
131
118
  /**
132
119
  * Handles invalid events on the radio button input.