@thecb/components 11.1.14 → 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.esm.js CHANGED
@@ -47586,16 +47586,17 @@ var PartialAmountField = function PartialAmountField(_ref) {
47586
47586
  fieldActions = _ref.fieldActions,
47587
47587
  themeValues = _ref.themeValues;
47588
47588
  return /*#__PURE__*/React.createElement(FormInput$1, {
47589
- labelTextWhenNoError: lineItem.description,
47589
+ labelTextWhenNoError: createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47590
47590
  labelDisplayOverride: /*#__PURE__*/React.createElement(Stack, {
47591
47591
  childGap: "0px"
47592
47592
  }, /*#__PURE__*/React.createElement(Detail$1, {
47593
- as: "h3",
47593
+ as: "label",
47594
+ "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47594
47595
  variant: themeValues.detailVariant,
47595
47596
  weight: themeValues.weightTitle
47596
47597
  }, /*#__PURE__*/React.createElement("span", null, lineItem.description)), /*#__PURE__*/React.createElement(Detail$1, {
47597
- id: lineItem.subDescription,
47598
- as: "p",
47598
+ as: "label",
47599
+ "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47599
47600
  variant: themeValues.detailVariant,
47600
47601
  weight: "400"
47601
47602
  }, lineItem.subDescription)),