@norges-domstoler/dds-components 0.0.0-dev-20240219115135 → 0.0.0-dev-20240220114533

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.mjs CHANGED
@@ -14262,6 +14262,8 @@ var ToggleRadio = forwardRef73(
14262
14262
  name,
14263
14263
  onChange,
14264
14264
  checked,
14265
+ "aria-label": ariaLabel,
14266
+ "aria-labelledby": ariaLabelledBy,
14265
14267
  icon: icon12,
14266
14268
  label: label3,
14267
14269
  htmlProps,
@@ -14286,7 +14288,9 @@ var ToggleRadio = forwardRef73(
14286
14288
  name: name != null ? name : group4.name,
14287
14289
  onChange: handleChange,
14288
14290
  value,
14289
- checked: calculateChecked(value, group4, checked)
14291
+ checked: calculateChecked(value, group4, checked),
14292
+ "aria-label": ariaLabel,
14293
+ "aria-labelledby": ariaLabelledBy
14290
14294
  }
14291
14295
  ),
14292
14296
  /* @__PURE__ */ jsxs75(Content2, { $size: group4.size, $justIcon: !!icon12 && !label3, children: [