@thecb/components 7.8.4 → 7.9.0-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
@@ -25491,7 +25491,9 @@ var LineItem = function LineItem(_ref) {
25491
25491
  var description = _ref.description,
25492
25492
  subDescription = _ref.subDescription,
25493
25493
  amount = _ref.amount,
25494
- themeValues = _ref.themeValues;
25494
+ themeValues = _ref.themeValues,
25495
+ _ref$quantity = _ref.quantity,
25496
+ quantity = _ref$quantity === void 0 ? null : _ref$quantity;
25495
25497
  return /*#__PURE__*/React.createElement(Cluster, {
25496
25498
  nowrap: true,
25497
25499
  justify: "space-between",
@@ -25504,7 +25506,10 @@ var LineItem = function LineItem(_ref) {
25504
25506
  }, description), /*#__PURE__*/React.createElement(Paragraph$1, {
25505
25507
  variant: themeValues.paragraphVariant,
25506
25508
  weight: "400"
25507
- }, subDescription)), /*#__PURE__*/React.createElement(Paragraph$1, {
25509
+ }, subDescription)), !!quantity && /*#__PURE__*/React.createElement(Paragraph$1, {
25510
+ variant: themeValues.paragraphVariant,
25511
+ weight: themeValues.weightTitle
25512
+ }, "x".concat(quantity)), /*#__PURE__*/React.createElement(Paragraph$1, {
25508
25513
  variant: themeValues.paragraphVariant,
25509
25514
  weight: "600",
25510
25515
  extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"