@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.cjs.js
CHANGED
|
@@ -25499,7 +25499,9 @@ var LineItem = function LineItem(_ref) {
|
|
|
25499
25499
|
var description = _ref.description,
|
|
25500
25500
|
subDescription = _ref.subDescription,
|
|
25501
25501
|
amount = _ref.amount,
|
|
25502
|
-
themeValues = _ref.themeValues
|
|
25502
|
+
themeValues = _ref.themeValues,
|
|
25503
|
+
_ref$quantity = _ref.quantity,
|
|
25504
|
+
quantity = _ref$quantity === void 0 ? null : _ref$quantity;
|
|
25503
25505
|
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
25504
25506
|
nowrap: true,
|
|
25505
25507
|
justify: "space-between",
|
|
@@ -25512,7 +25514,10 @@ var LineItem = function LineItem(_ref) {
|
|
|
25512
25514
|
}, description), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25513
25515
|
variant: themeValues.paragraphVariant,
|
|
25514
25516
|
weight: "400"
|
|
25515
|
-
}, subDescription)), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25517
|
+
}, subDescription)), !!quantity && /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25518
|
+
variant: themeValues.paragraphVariant,
|
|
25519
|
+
weight: themeValues.weightTitle
|
|
25520
|
+
}, "x".concat(quantity)), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25516
25521
|
variant: themeValues.paragraphVariant,
|
|
25517
25522
|
weight: "600",
|
|
25518
25523
|
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|