@primer/brand-mcp 0.77.0-rc.d45b2bb1 → 0.77.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/catalog.json +16 -5
- package/package.json +1 -1
package/dist/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"brandPackage": "@primer/react-brand",
|
|
3
|
-
"generatedFromVersion": "0.77.0
|
|
4
|
-
"generatedAt": "2026-09-
|
|
3
|
+
"generatedFromVersion": "0.77.0",
|
|
4
|
+
"generatedAt": "2026-09-28T08:36:54.282Z",
|
|
5
5
|
"components": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Hero",
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
"examples": [
|
|
395
395
|
{
|
|
396
396
|
"title": "River example",
|
|
397
|
-
"code": "
|
|
397
|
+
"code": "<Section>\n <Stack padding=\"none\">\n <River variant=\"gridline\" align=\"start\">\n <River.Visual\n style={{\n backgroundImage: `url(${placeholderBg})`,\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n }}\n >\n <picture>\n <source srcSet={placeholderImageCropped} media=\"(max-width: 47.99rem)\" />\n <img src={placeholderImage} alt=\"GitHub Copilot agent mode in VS Code\" />\n </picture>\n </River.Visual>\n <River.Content>\n <EyebrowText>Feature</EyebrowText>\n <Heading>GridLine with custom background</Heading>\n <Text>\n The gridline variant creates a full-bleed visual container that can be enhanced with a custom animated\n background using the ref prop on River.Visual.\n </Text>\n <Link href=\"#\">Learn more</Link>\n </River.Content>\n </River>\n <River variant=\"gridline\" align=\"start\">\n <River.Visual\n style={{\n backgroundImage: `url(${placeholderBg})`,\n backgroundPosition: 'center',\n backgroundSize: 'cover',\n }}\n >\n <picture>\n <source srcSet={placeholderImageCropped} media=\"(max-width: 47.99rem)\" />\n <img src={placeholderImage} alt=\"GitHub Copilot agent mode in VS Code\" />\n </picture>\n </River.Visual>\n <River.Content>\n <EyebrowText>Feature</EyebrowText>\n <Heading>GridLine with custom background</Heading>\n <Text>\n The gridline variant creates a full-bleed visual container that can be enhanced with a custom animated\n background using the ref prop on River.Visual.\n </Text>\n <Link href=\"#\">Learn more</Link>\n </River.Content>\n </River>\n </Stack>\n</Section>",
|
|
398
398
|
"source": "story"
|
|
399
399
|
}
|
|
400
400
|
],
|
|
@@ -2996,6 +2996,12 @@
|
|
|
2996
2996
|
"description": "The HTML element used to render the section.",
|
|
2997
2997
|
"required": false
|
|
2998
2998
|
},
|
|
2999
|
+
{
|
|
3000
|
+
"name": "variant",
|
|
3001
|
+
"type": "SectionVariant",
|
|
3002
|
+
"description": "The visual variant of the section.",
|
|
3003
|
+
"required": false
|
|
3004
|
+
},
|
|
2999
3005
|
{
|
|
3000
3006
|
"name": "paddingBlockStart",
|
|
3001
3007
|
"type": "PaddingVariants | ResponsivePaddingVariantsMap",
|
|
@@ -3041,7 +3047,7 @@
|
|
|
3041
3047
|
{
|
|
3042
3048
|
"name": "rounded",
|
|
3043
3049
|
"type": "boolean",
|
|
3044
|
-
"description": "Adds rounded corners to the top of the section.",
|
|
3050
|
+
"description": "Adds rounded corners to the top of the section. Not supported with the `gridline` variant.",
|
|
3045
3051
|
"required": false
|
|
3046
3052
|
},
|
|
3047
3053
|
{
|
|
@@ -3054,7 +3060,7 @@
|
|
|
3054
3060
|
"examples": [
|
|
3055
3061
|
{
|
|
3056
3062
|
"title": "Section example",
|
|
3057
|
-
"code": "
|
|
3063
|
+
"code": "<Stack direction=\"vertical\" padding=\"none\">\n <Section variant=\"gridline\">\n <SectionIntro>\n <SectionIntro.Heading>Gridline section</SectionIntro.Heading>\n <SectionIntro.Description>\n Gridlines span the section and the content area gains responsive lateral padding.\n </SectionIntro.Description>\n </SectionIntro>\n </Section>\n <Section variant=\"gridline\">\n <SectionIntro>\n <SectionIntro.Heading>Another gridline section</SectionIntro.Heading>\n </SectionIntro>\n </Section>\n</Stack>",
|
|
3058
3064
|
"source": "story"
|
|
3059
3065
|
}
|
|
3060
3066
|
],
|
|
@@ -8589,6 +8595,11 @@
|
|
|
8589
8595
|
"value": "var(--brand-color-canvas-default)",
|
|
8590
8596
|
"group": "functional"
|
|
8591
8597
|
},
|
|
8598
|
+
{
|
|
8599
|
+
"name": "--brand-Section-variant-gridline-paddingInline",
|
|
8600
|
+
"value": "var(--base-size-20)",
|
|
8601
|
+
"group": "functional"
|
|
8602
|
+
},
|
|
8592
8603
|
{
|
|
8593
8604
|
"name": "--brand-Section-container-maxWidth",
|
|
8594
8605
|
"value": "80rem",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/brand-mcp",
|
|
3
|
-
"version": "0.77.0
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server that helps AI agents use Primer Brand (@primer/react-brand) correctly when building GitHub marketing and landing pages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"primer",
|