@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.
- package/dist/{component-spec-1z2ih4E3.js → component-spec-SKuywZqr.js} +36 -31
- package/dist/component-spec-SKuywZqr.js.map +1 -0
- package/dist/docs-proposal.d.ts +73 -1
- package/dist/explorations-github.d.ts +2 -0
- package/dist/index.js +111 -38
- package/dist/index.js.map +1 -1
- package/dist/node/index.js +3 -1
- package/dist/node/index.js.map +1 -1
- package/dist/products.d.ts +9 -0
- package/package.json +1 -1
- package/dist/component-spec-1z2ih4E3.js.map +0 -1
|
@@ -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
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
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-
|
|
3410
|
+
//# sourceMappingURL=component-spec-SKuywZqr.js.map
|