@stella-source/stellasource-dsl 0.2.2 → 0.2.3

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/cjs/index.js CHANGED
@@ -21512,12 +21512,12 @@ const Sync = ({ dataTestId, onClick, className, id, showTime = false, labelPosit
21512
21512
  a$j.createElement(CustomLabel, { htmlFor: id, id: `${id}-label`, labelValue: showTime ? `Last Updated at ${time}` : "" })));
21513
21513
  };
21514
21514
 
21515
- var QuoteVariants;
21515
+ exports.QuoteVariants = void 0;
21516
21516
  (function (QuoteVariants) {
21517
21517
  QuoteVariants["TOTAL_PRICE"] = "total-price";
21518
21518
  QuoteVariants["TOTAL_WEIGHT"] = "total-weight";
21519
- })(QuoteVariants || (QuoteVariants = {}));
21520
- var QuoteCategory;
21519
+ })(exports.QuoteVariants || (exports.QuoteVariants = {}));
21520
+ exports.QuoteCategory = void 0;
21521
21521
  (function (QuoteCategory) {
21522
21522
  QuoteCategory["ITEM"] = "/item";
21523
21523
  QuoteCategory["HOUR"] = "/hr";
@@ -21525,11 +21525,11 @@ var QuoteCategory;
21525
21525
  QuoteCategory["LBS"] = "lbs";
21526
21526
  QuoteCategory["KG"] = "kg";
21527
21527
  QuoteCategory["TON"] = "ton";
21528
- })(QuoteCategory || (QuoteCategory = {}));
21529
- var TableUnitsAndTotalsLeftCategory;
21528
+ })(exports.QuoteCategory || (exports.QuoteCategory = {}));
21529
+ exports.TableUnitsAndTotalsLeftCategory = void 0;
21530
21530
  (function (TableUnitsAndTotalsLeftCategory) {
21531
21531
  TableUnitsAndTotalsLeftCategory["US_CURRENCY"] = "$";
21532
- })(TableUnitsAndTotalsLeftCategory || (TableUnitsAndTotalsLeftCategory = {}));
21532
+ })(exports.TableUnitsAndTotalsLeftCategory || (exports.TableUnitsAndTotalsLeftCategory = {}));
21533
21533
 
21534
21534
  const Container = styled.div `
21535
21535
  display: flex;
@@ -21563,8 +21563,8 @@ const SubHeaderText = styled.span `
21563
21563
  line-height: normal;
21564
21564
  `;
21565
21565
 
21566
- const TableUnitsAndTotals = ({ id, className, value, subValue, variant, leftCategory = TableUnitsAndTotalsLeftCategory.US_CURRENCY, rightCategory, }) => {
21567
- const isWeight = variant === QuoteVariants.TOTAL_WEIGHT;
21566
+ const TableUnitsAndTotals = ({ id, className, value, subValue, variant, leftCategory = exports.TableUnitsAndTotalsLeftCategory.US_CURRENCY, rightCategory, }) => {
21567
+ const isWeight = variant === exports.QuoteVariants.TOTAL_WEIGHT;
21568
21568
  const leftCategoryValue = isWeight ? "" : leftCategory;
21569
21569
  const header = (leftCategoryValue ?? "") +
21570
21570
  formatNumberWithDecimals(value, 2, false) +