@thecb/components 11.1.15-beta.0 → 11.1.15-beta.2

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,19 +47586,21 @@ 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
47593
  as: "label",
47594
+ "for": createIdFromString("".concat(lineItem.description, "-").concat(lineItem.subDescription)),
47594
47595
  variant: themeValues.detailVariant,
47595
47596
  weight: themeValues.weightTitle
47596
- }, /*#__PURE__*/React.createElement("span", null, lineItem.description)), /*#__PURE__*/React.createElement(Detail$1, {
47597
- id: lineItem.subDescription,
47598
- as: "label",
47597
+ }, /*#__PURE__*/React.createElement(Detail$1, {
47598
+ as: "span",
47599
47599
  variant: themeValues.detailVariant,
47600
47600
  weight: "400"
47601
- }, lineItem.subDescription)),
47601
+ }, lineItem.subDescription), /*#__PURE__*/React.createElement(Box, {
47602
+ padding: "0"
47603
+ }, lineItem.description))),
47602
47604
  key: lineItem.id,
47603
47605
  field: field,
47604
47606
  fieldActions: fieldActions,