@thecb/components 11.1.15-beta.0 → 11.1.15-beta.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.
package/dist/index.cjs.js CHANGED
@@ -47594,16 +47594,17 @@ var PartialAmountField = function PartialAmountField(_ref) {
47594
47594
  fieldActions = _ref.fieldActions,
47595
47595
  themeValues = _ref.themeValues;
47596
47596
  return /*#__PURE__*/React__default.createElement(FormInput$1, {
47597
- labelTextWhenNoError: lineItem.description,
47597
+ labelTextWhenNoError: createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47598
47598
  labelDisplayOverride: /*#__PURE__*/React__default.createElement(Stack, {
47599
47599
  childGap: "0px"
47600
47600
  }, /*#__PURE__*/React__default.createElement(Detail$1, {
47601
47601
  as: "label",
47602
+ "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47602
47603
  variant: themeValues.detailVariant,
47603
47604
  weight: themeValues.weightTitle
47604
47605
  }, /*#__PURE__*/React__default.createElement("span", null, lineItem.description)), /*#__PURE__*/React__default.createElement(Detail$1, {
47605
- id: lineItem.subDescription,
47606
47606
  as: "label",
47607
+ "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47607
47608
  variant: themeValues.detailVariant,
47608
47609
  weight: "400"
47609
47610
  }, lineItem.subDescription)),