@norges-domstoler/dds-components 0.0.0-dev-20240216075654 → 0.0.0-dev-20240220114206

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.js CHANGED
@@ -14396,6 +14396,8 @@ var ToggleRadio = (0, import_react119.forwardRef)(
14396
14396
  name,
14397
14397
  onChange,
14398
14398
  checked,
14399
+ "aria-label": ariaLabel,
14400
+ "aria-labelledby": ariaLabelledBy,
14399
14401
  icon: icon12,
14400
14402
  label: label3,
14401
14403
  htmlProps,
@@ -14420,7 +14422,9 @@ var ToggleRadio = (0, import_react119.forwardRef)(
14420
14422
  name: name != null ? name : group4.name,
14421
14423
  onChange: handleChange,
14422
14424
  value,
14423
- checked: calculateChecked(value, group4, checked)
14425
+ checked: calculateChecked(value, group4, checked),
14426
+ "aria-label": ariaLabel,
14427
+ "aria-labelledby": ariaLabelledBy
14424
14428
  }
14425
14429
  ),
14426
14430
  /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(Content2, { $size: group4.size, $justIcon: !!icon12 && !label3, children: [