@primer/brand-mcp 0.82.0 → 0.83.0-rc.88fbbd7d

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.
Files changed (2) hide show
  1. package/dist/catalog.json +14 -15
  2. 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.82.0",
4
- "generatedAt": "2026-11-27T15:23:33.188Z",
3
+ "generatedFromVersion": "0.83.0-rc.88fbbd7d",
4
+ "generatedAt": "2026-11-30T20:04:39.788Z",
5
5
  "components": [
6
6
  {
7
7
  "name": "Hero",
@@ -1790,33 +1790,32 @@
1790
1790
  "subcomponents": [
1791
1791
  "AnchorNav.Link",
1792
1792
  "AnchorNav.Action",
1793
- "AnchorNav.SecondaryAction",
1794
1793
  "AnchorNav.testIds"
1795
1794
  ],
1796
1795
  "props": [
1797
1796
  {
1798
1797
  "name": "children",
1799
1798
  "type": "React.ReactNode[]",
1800
- "description": "Accepts all of `AnchorNav.Item` and `AnchorNav.Action` child components.",
1799
+ "description": "Accepts up to nine `AnchorNav.Link` and one `AnchorNav.Action` child components.",
1801
1800
  "required": true
1802
1801
  },
1803
1802
  {
1804
- "name": "enableDefaultBgColor",
1803
+ "name": "hideUntilSticky",
1805
1804
  "type": "boolean",
1806
- "description": "Enable the idle state background color, which is transparent by default.",
1805
+ "description": "When true, the anchor nav will hide until it is sticky.",
1807
1806
  "required": false
1808
1807
  },
1809
1808
  {
1810
- "name": "hideUntilSticky",
1811
- "type": "boolean",
1812
- "description": "When true, the anchor nav will hide until it is sticky.",
1809
+ "name": "menuLabels",
1810
+ "type": "Partial<AnchorNavMenuLabels>",
1811
+ "description": "Overrides the default accessible labels. Use this to localize them.",
1813
1812
  "required": false
1814
1813
  }
1815
1814
  ],
1816
1815
  "examples": [
1817
1816
  {
1818
1817
  "title": "AnchorNav example",
1819
- "code": "<div style={{backgroundColor: 'var(--brand-color-canvas-default)'}}>\n <RedlineBackground height={75}></RedlineBackground>\n <AnchorNav>\n {data.map((link, index) => (\n <AnchorNav.Link href={link} key={index}>\n {link}\n </AnchorNav.Link>\n ))}\n <AnchorNav.Action size=\"medium\" href=\"#\">\n Primary action\n </AnchorNav.Action>\n <AnchorNav.SecondaryAction size=\"medium\" href=\"#\">\n Secondary action\n </AnchorNav.SecondaryAction>\n </AnchorNav>\n <Stack\n direction=\"vertical\"\n justifyContent=\"space-around\"\n gap=\"none\"\n style={{marginBottom: '100px'}}\n padding=\"none\"\n >\n {data.map(key => (\n <RedlineBackground key={key}>\n <Stack\n key={key}\n id={key}\n direction=\"vertical\"\n style={{\n padding: `${1000 / 2}px var(--base-size-24)`,\n }}\n >\n <Heading>First action as primary</Heading>\n <Text as=\"p\">\n AnchorNav is a component that allows users to navigate to different sections of a page.\n </Text>\n </Stack>\n </RedlineBackground>\n ))}\n </Stack>\n</div>",
1818
+ "code": "<AnchorNav.Link key={section} href={`#${section}`} target=\"_self\">\n {translate(section)}\n</AnchorNav.Link>",
1820
1819
  "source": "story"
1821
1820
  }
1822
1821
  ],
@@ -7374,13 +7373,13 @@
7374
7373
  "group": "functional"
7375
7374
  },
7376
7375
  {
7377
- "name": "--brand-AnchorNav-link-underline-default",
7378
- "value": "var(--base-color-scale-gray-4)",
7376
+ "name": "--brand-AnchorNav-height",
7377
+ "value": "var(--base-size-60)",
7379
7378
  "group": "functional"
7380
7379
  },
7381
7380
  {
7382
- "name": "--brand-AnchorNav-link-underline-pressed",
7383
- "value": "var(--base-color-scale-black-0)",
7381
+ "name": "--brand-AnchorNav-link-underline-default",
7382
+ "value": "var(--base-color-scale-green-5)",
7384
7383
  "group": "functional"
7385
7384
  },
7386
7385
  {
@@ -9450,7 +9449,7 @@
9450
9449
  },
9451
9450
  {
9452
9451
  "name": "--brand-Tabs-item-underline-rest",
9453
- "value": "var(--base-color-scale-black-0)",
9452
+ "value": "var(--base-color-scale-green-5)",
9454
9453
  "group": "functional"
9455
9454
  },
9456
9455
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-mcp",
3
- "version": "0.82.0",
3
+ "version": "0.83.0-rc.88fbbd7d",
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",