@primer/brand-mcp 0.77.1-rc.bd5b9efe → 0.78.0-rc.6fbe9fb5

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 +243 -5
  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.77.1-rc.bd5b9efe",
4
- "generatedAt": "2026-09-29T12:39:46.017Z",
3
+ "generatedFromVersion": "0.78.0-rc.6fbe9fb5",
4
+ "generatedAt": "2026-10-05T16:42:34.069Z",
5
5
  "components": [
6
6
  {
7
7
  "name": "Hero",
@@ -274,6 +274,83 @@
274
274
  "click"
275
275
  ]
276
276
  },
277
+ {
278
+ "name": "IconButton",
279
+ "module": "@primer/react-brand",
280
+ "subcomponents": [],
281
+ "props": [
282
+ {
283
+ "name": "as",
284
+ "type": "C",
285
+ "required": false
286
+ },
287
+ {
288
+ "name": "variant",
289
+ "type": "IconButtonVariant",
290
+ "required": false
291
+ },
292
+ {
293
+ "name": "icon",
294
+ "type": "Icon",
295
+ "required": true
296
+ },
297
+ {
298
+ "name": "aria-label",
299
+ "type": "string",
300
+ "required": true
301
+ },
302
+ {
303
+ "name": "description",
304
+ "type": "string",
305
+ "required": false
306
+ },
307
+ {
308
+ "name": "inactive",
309
+ "type": "boolean",
310
+ "required": false
311
+ },
312
+ {
313
+ "name": "loading",
314
+ "type": "boolean",
315
+ "required": false
316
+ },
317
+ {
318
+ "name": "loadingAnnouncement",
319
+ "type": "string",
320
+ "required": false
321
+ },
322
+ {
323
+ "name": "rounded",
324
+ "type": "boolean",
325
+ "required": false
326
+ },
327
+ {
328
+ "name": "size",
329
+ "type": "IconButtonSize",
330
+ "required": false
331
+ },
332
+ {
333
+ "name": "tooltipDirection",
334
+ "type": "TooltipDirection",
335
+ "required": false
336
+ }
337
+ ],
338
+ "examples": [
339
+ {
340
+ "title": "IconButton example",
341
+ "code": "<Stack direction=\"vertical\" alignItems=\"flex-start\" gap=\"condensed\">\n <div role=\"group\" aria-label=\"Text formatting\">\n <ButtonGroup variant=\"joined\" buttonSize=\"small\">\n <IconButton\n icon={BoldIcon}\n aria-label=\"Bold\"\n aria-pressed={activeFormats.includes('bold')}\n variant={activeFormats.includes('bold') ? 'primary' : 'secondary'}\n onClick={() => toggleFormat('bold')}\n />\n <IconButton\n icon={ItalicIcon}\n aria-label=\"Italic\"\n aria-pressed={activeFormats.includes('italic')}\n variant={activeFormats.includes('italic') ? 'primary' : 'secondary'}\n onClick={() => toggleFormat('italic')}\n />\n <IconButton\n icon={ListUnorderedIcon}\n aria-label=\"Bulleted list\"\n aria-pressed={activeFormats.includes('bulleted list')}\n variant={activeFormats.includes('bulleted list') ? 'primary' : 'secondary'}\n onClick={() => toggleFormat('bulleted list')}\n />\n </ButtonGroup>\n </div>\n <Text as=\"p\" size=\"100\" variant=\"muted\" aria-live=\"polite\">\n {activeFormats.length > 0 ? `Selected: ${activeFormats.join(', ')}` : 'No formatting selected'}\n </Text>\n</Stack>",
342
+ "source": "story"
343
+ }
344
+ ],
345
+ "description": "Use an icon button to represent an action with an Octicon instead of a visible text label.",
346
+ "keywords": [
347
+ "action",
348
+ "button",
349
+ "control",
350
+ "icon",
351
+ "interactive"
352
+ ]
353
+ },
277
354
  {
278
355
  "name": "ButtonGroup",
279
356
  "module": "@primer/react-brand",
@@ -297,6 +374,11 @@
297
374
  "a"
298
375
  ],
299
376
  "required": false
377
+ },
378
+ {
379
+ "name": "variant",
380
+ "type": "ButtonGroupVariant",
381
+ "required": false
300
382
  }
301
383
  ],
302
384
  "examples": [
@@ -1076,7 +1158,7 @@
1076
1158
  },
1077
1159
  {
1078
1160
  "name": "size",
1079
- "type": "FormInputSizes",
1161
+ "type": "TextInputSize",
1080
1162
  "description": "Applies alternative sizing to the input",
1081
1163
  "required": false
1082
1164
  },
@@ -1990,6 +2072,7 @@
1990
2072
  "module": "@primer/react-brand",
1991
2073
  "subcomponents": [
1992
2074
  "ActionMenu.Button",
2075
+ "ActionMenu.IconButton",
1993
2076
  "ActionMenu.Item",
1994
2077
  "ActionMenu.Overlay",
1995
2078
  "ActionMenu.testIds"
@@ -2029,7 +2112,7 @@
2029
2112
  },
2030
2113
  {
2031
2114
  "name": "size",
2032
- "type": "ActionMenuSizes",
2115
+ "type": "ActionMenuSize",
2033
2116
  "description": "Size configuratin of the ActionMenu",
2034
2117
  "required": false
2035
2118
  },
@@ -2041,7 +2124,7 @@
2041
2124
  },
2042
2125
  {
2043
2126
  "name": "mode",
2044
- "type": "ActionMenuButtonModes",
2127
+ "type": "ActionMenuButtonMode",
2045
2128
  "description": "Alternative behavior for the button and menu items - `default`: The button and menu items behave as a standard button and menu item. - `split-button`: The button behaves as a split button, and the menu items behave as links.",
2046
2129
  "required": false
2047
2130
  }
@@ -2945,6 +3028,11 @@
2945
3028
  "type": "TooltipDirection",
2946
3029
  "required": false
2947
3030
  },
3031
+ {
3032
+ "name": "delay",
3033
+ "type": "TooltipDelay",
3034
+ "required": false
3035
+ },
2948
3036
  {
2949
3037
  "name": "text",
2950
3038
  "type": "string",
@@ -7005,6 +7093,16 @@
7005
7093
  "value": "var(--brand-color-accent-primary)",
7006
7094
  "group": "functional"
7007
7095
  },
7096
+ {
7097
+ "name": "--brand-ActionMenu-color-splitButton-divider-default",
7098
+ "value": "var(--brand-color-border-muted)",
7099
+ "group": "functional"
7100
+ },
7101
+ {
7102
+ "name": "--brand-ActionMenu-color-splitButton-divider-primary",
7103
+ "value": "var(--base-color-scale-green-7)",
7104
+ "group": "functional"
7105
+ },
7008
7106
  {
7009
7107
  "name": "--brand-ActionMenu-color-item-hover",
7010
7108
  "value": "var(--base-color-scale-gray-1)",
@@ -7080,6 +7178,36 @@
7080
7178
  "value": "var(--base-color-scale-gray-6)",
7081
7179
  "group": "functional"
7082
7180
  },
7181
+ {
7182
+ "name": "--brand-Button-icon-size-large",
7183
+ "value": "var(--base-size-20)",
7184
+ "group": "functional"
7185
+ },
7186
+ {
7187
+ "name": "--brand-Button-icon-size-medium",
7188
+ "value": "var(--base-size-16)",
7189
+ "group": "functional"
7190
+ },
7191
+ {
7192
+ "name": "--brand-Button-icon-size-small",
7193
+ "value": "var(--base-size-16)",
7194
+ "group": "functional"
7195
+ },
7196
+ {
7197
+ "name": "--brand-Button-control-size-large",
7198
+ "value": "var(--brand-control-large-size)",
7199
+ "group": "functional"
7200
+ },
7201
+ {
7202
+ "name": "--brand-Button-control-size-medium",
7203
+ "value": "var(--brand-control-medium-size)",
7204
+ "group": "functional"
7205
+ },
7206
+ {
7207
+ "name": "--brand-Button-control-size-small",
7208
+ "value": "var(--brand-control-small-size)",
7209
+ "group": "functional"
7210
+ },
7083
7211
  {
7084
7212
  "name": "--brand-button-primary-bgColor-rest",
7085
7213
  "value": "var(--base-color-scale-green-6)",
@@ -8025,6 +8153,116 @@
8025
8153
  "value": "var(--base-color-scale-yellow-5)",
8026
8154
  "group": "functional"
8027
8155
  },
8156
+ {
8157
+ "name": "--brand-IconButton-loadingIndicator-animationDuration-reducedMotion",
8158
+ "value": "1.6s",
8159
+ "group": "functional"
8160
+ },
8161
+ {
8162
+ "name": "--brand-IconButton-loadingIndicator-animationDuration-default",
8163
+ "value": "0.8s",
8164
+ "group": "functional"
8165
+ },
8166
+ {
8167
+ "name": "--brand-IconButton-icon-size-large",
8168
+ "value": "var(--brand-Button-icon-size-large)",
8169
+ "group": "functional"
8170
+ },
8171
+ {
8172
+ "name": "--brand-IconButton-icon-size-medium",
8173
+ "value": "var(--brand-Button-icon-size-large)",
8174
+ "group": "functional"
8175
+ },
8176
+ {
8177
+ "name": "--brand-IconButton-icon-size-small",
8178
+ "value": "var(--brand-Button-icon-size-small)",
8179
+ "group": "functional"
8180
+ },
8181
+ {
8182
+ "name": "--brand-IconButton-control-size-large",
8183
+ "value": "var(--brand-Button-control-size-large)",
8184
+ "group": "functional"
8185
+ },
8186
+ {
8187
+ "name": "--brand-IconButton-control-size-medium",
8188
+ "value": "var(--brand-Button-control-size-medium)",
8189
+ "group": "functional"
8190
+ },
8191
+ {
8192
+ "name": "--brand-IconButton-control-size-small",
8193
+ "value": "var(--brand-Button-control-size-small)",
8194
+ "group": "functional"
8195
+ },
8196
+ {
8197
+ "name": "--brand-IconButton-danger-fgColor-rest",
8198
+ "value": "var(--brand-color-danger-fg)",
8199
+ "group": "functional"
8200
+ },
8201
+ {
8202
+ "name": "--brand-IconButton-danger-fgColor-hover",
8203
+ "value": "var(--base-color-scale-white-0)",
8204
+ "group": "functional"
8205
+ },
8206
+ {
8207
+ "name": "--brand-IconButton-danger-fgColor-active",
8208
+ "value": "var(--base-color-scale-white-0)",
8209
+ "group": "functional"
8210
+ },
8211
+ {
8212
+ "name": "--brand-IconButton-danger-bgColor-rest",
8213
+ "value": "var(--brand-button-secondary-bgColor-rest)",
8214
+ "group": "functional"
8215
+ },
8216
+ {
8217
+ "name": "--brand-IconButton-danger-bgColor-hover",
8218
+ "value": "var(--brand-color-danger-emphasis)",
8219
+ "group": "functional"
8220
+ },
8221
+ {
8222
+ "name": "--brand-IconButton-danger-bgColor-active",
8223
+ "value": "var(--brand-color-danger-emphasis)",
8224
+ "group": "functional"
8225
+ },
8226
+ {
8227
+ "name": "--brand-IconButton-danger-borderColor-rest",
8228
+ "value": "var(--brand-button-secondary-borderColor-rest)",
8229
+ "group": "functional"
8230
+ },
8231
+ {
8232
+ "name": "--brand-IconButton-danger-borderColor-hover",
8233
+ "value": "var(--brand-color-danger-emphasis)",
8234
+ "group": "functional"
8235
+ },
8236
+ {
8237
+ "name": "--brand-IconButton-danger-borderColor-active",
8238
+ "value": "var(--brand-color-danger-emphasis)",
8239
+ "group": "functional"
8240
+ },
8241
+ {
8242
+ "name": "--brand-IconButton-inactive-fgColor",
8243
+ "value": "var(--brand-color-text-muted)",
8244
+ "group": "functional"
8245
+ },
8246
+ {
8247
+ "name": "--brand-IconButton-inactive-bgColor",
8248
+ "value": "var(--brand-color-canvas-subtle)",
8249
+ "group": "functional"
8250
+ },
8251
+ {
8252
+ "name": "--brand-IconButton-inactive-borderColor",
8253
+ "value": "var(--brand-color-canvas-subtle)",
8254
+ "group": "functional"
8255
+ },
8256
+ {
8257
+ "name": "--brand-IconButton-invisible-bgColor-rest",
8258
+ "value": "transparent",
8259
+ "group": "functional"
8260
+ },
8261
+ {
8262
+ "name": "--brand-IconButton-invisible-borderColor-rest",
8263
+ "value": "transparent",
8264
+ "group": "functional"
8265
+ },
8028
8266
  {
8029
8267
  "name": "--brand-IDE-height",
8030
8268
  "value": "50rem",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-mcp",
3
- "version": "0.77.1-rc.bd5b9efe",
3
+ "version": "0.78.0-rc.6fbe9fb5",
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",