@bridge-ds/core 0.7.0 → 0.8.0

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.
@@ -564,6 +564,10 @@ const DEFAULT_PRODUCTS = [
564
564
  ];
565
565
  const PRODUCT_LABEL_PREFIX = "product: ";
566
566
  const productLabel = (key) => `${PRODUCT_LABEL_PREFIX}${key}`;
567
+ function productMarks(products, p) {
568
+ if (p.key === defaultProduct(products).key) return { labels: [], line: "" };
569
+ return { labels: [productLabel(p.key)], line: `**Product:** ${p.name}` };
570
+ }
567
571
  function productsOf(config) {
568
572
  const list2 = config?.products;
569
573
  return Array.isArray(list2) && list2.length ? list2 : DEFAULT_PRODUCTS;
@@ -3348,36 +3352,37 @@ export {
3348
3352
  previewUrl as c2,
3349
3353
  productForPlace as c3,
3350
3354
  productLabel as c4,
3351
- productOfBranch as c5,
3352
- productProblems as c6,
3353
- productsOf as c7,
3354
- projectOfLabel as c8,
3355
- protectedBranchesOf as c9,
3356
- renderedColor as ca,
3357
- rightsProblems as cb,
3358
- runLayeredContrast as cc,
3359
- sameProducts as cd,
3360
- sameToken as ce,
3361
- shipPolicy as cf,
3362
- snapshotUrl as cg,
3363
- summarizeTokenChange as ch,
3364
- tarballAssetName as ci,
3365
- tarballUrl as cj,
3366
- teamKey as ck,
3367
- teamKeyOf as cl,
3368
- teamUnreadableMessage as cm,
3369
- teamsIn as cn,
3370
- titleOf as co,
3371
- toChangeSummary as cp,
3372
- toMap as cq,
3373
- tokenBump as cr,
3374
- tokenHistory as cs,
3375
- tokenNode as ct,
3376
- unreadableTeams as cu,
3377
- valueIn as cv,
3378
- variantName as cw,
3379
- versionTimeline as cx,
3380
- visualImpactProblems as cy,
3355
+ productMarks as c5,
3356
+ productOfBranch as c6,
3357
+ productProblems as c7,
3358
+ productsOf as c8,
3359
+ projectOfLabel as c9,
3360
+ protectedBranchesOf as ca,
3361
+ renderedColor as cb,
3362
+ rightsProblems as cc,
3363
+ runLayeredContrast as cd,
3364
+ sameProducts as ce,
3365
+ sameToken as cf,
3366
+ shipPolicy as cg,
3367
+ snapshotUrl as ch,
3368
+ summarizeTokenChange as ci,
3369
+ tarballAssetName as cj,
3370
+ tarballUrl as ck,
3371
+ teamKey as cl,
3372
+ teamKeyOf as cm,
3373
+ teamUnreadableMessage as cn,
3374
+ teamsIn as co,
3375
+ titleOf as cp,
3376
+ toChangeSummary as cq,
3377
+ toMap as cr,
3378
+ tokenBump as cs,
3379
+ tokenHistory as ct,
3380
+ tokenNode as cu,
3381
+ unreadableTeams as cv,
3382
+ valueIn as cw,
3383
+ variantName as cx,
3384
+ versionTimeline as cy,
3385
+ visualImpactProblems as cz,
3381
3386
  buildReport as d,
3382
3387
  prNumberFromSubject as e,
3383
3388
  variantKeyOf as f,
@@ -3402,4 +3407,4 @@ export {
3402
3407
  TIER_AXIS as y,
3403
3408
  findReferenceProblems as z
3404
3409
  };
3405
- //# sourceMappingURL=component-spec-1z2ih4E3.js.map
3410
+ //# sourceMappingURL=component-spec-SKuywZqr.js.map