@thecb/components 9.2.10-beta.4 → 9.2.10-beta.5

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.cjs.js CHANGED
@@ -22203,7 +22203,7 @@ var Checkbox = function Checkbox(_ref4) {
22203
22203
  disabledStyles: themeValues.disabledStyles,
22204
22204
  disabledCheckedStyles: themeValues.disabledCheckedStyles,
22205
22205
  focusedStyles: themeValues.focusedStyles,
22206
- "aria-label": checkboxAriaLabel || "".concat(title, " checkbox")
22206
+ "aria-labelledby": "".concat(name, "_title_id")
22207
22207
  }, /*#__PURE__*/React__default.createElement(CheckboxIcon, {
22208
22208
  viewBox: "0 0 24 24",
22209
22209
  disabled: disabled,
@@ -22215,6 +22215,7 @@ var Checkbox = function Checkbox(_ref4) {
22215
22215
  variant: "p",
22216
22216
  weight: themeValues.textFontWeight,
22217
22217
  color: themeValues.textColor,
22218
+ id: "".concat(name, "_title_id"),
22218
22219
  extraStyles: textExtraStyles ? "".concat(textExtraStyles, " ").concat(disabled && "color: #6e727e; background-color: #f7f7f7;", " ") : "margin-left: 1rem ".concat(disabled && "color: #6e727e; background-color: #f7f7f7;")
22219
22220
  }, title)));
22220
22221
  };