@primer/brand-mcp 0.77.1-rc.bd5b9efe → 0.78.0-rc.85e39cb4
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 +310 -6
- 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.
|
|
4
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedFromVersion": "0.78.0-rc.85e39cb4",
|
|
4
|
+
"generatedAt": "2026-10-08T09:41:01.026Z",
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
}
|
|
@@ -2756,6 +2839,12 @@
|
|
|
2756
2839
|
"type": "boolean",
|
|
2757
2840
|
"description": "Allows the SubNav to be used at full width, removing any internal padding and guttering.",
|
|
2758
2841
|
"required": false
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "menuLabels",
|
|
2845
|
+
"type": "Partial<SubNavMenuLabels>",
|
|
2846
|
+
"description": "Customizable accessible labels",
|
|
2847
|
+
"required": false
|
|
2759
2848
|
}
|
|
2760
2849
|
],
|
|
2761
2850
|
"examples": [
|
|
@@ -2945,6 +3034,11 @@
|
|
|
2945
3034
|
"type": "TooltipDirection",
|
|
2946
3035
|
"required": false
|
|
2947
3036
|
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "delay",
|
|
3039
|
+
"type": "TooltipDelay",
|
|
3040
|
+
"required": false
|
|
3041
|
+
},
|
|
2948
3042
|
{
|
|
2949
3043
|
"name": "text",
|
|
2950
3044
|
"type": "string",
|
|
@@ -7005,6 +7099,16 @@
|
|
|
7005
7099
|
"value": "var(--brand-color-accent-primary)",
|
|
7006
7100
|
"group": "functional"
|
|
7007
7101
|
},
|
|
7102
|
+
{
|
|
7103
|
+
"name": "--brand-ActionMenu-color-splitButton-divider-default",
|
|
7104
|
+
"value": "var(--brand-color-border-muted)",
|
|
7105
|
+
"group": "functional"
|
|
7106
|
+
},
|
|
7107
|
+
{
|
|
7108
|
+
"name": "--brand-ActionMenu-color-splitButton-divider-primary",
|
|
7109
|
+
"value": "var(--base-color-scale-green-7)",
|
|
7110
|
+
"group": "functional"
|
|
7111
|
+
},
|
|
7008
7112
|
{
|
|
7009
7113
|
"name": "--brand-ActionMenu-color-item-hover",
|
|
7010
7114
|
"value": "var(--base-color-scale-gray-1)",
|
|
@@ -7080,6 +7184,36 @@
|
|
|
7080
7184
|
"value": "var(--base-color-scale-gray-6)",
|
|
7081
7185
|
"group": "functional"
|
|
7082
7186
|
},
|
|
7187
|
+
{
|
|
7188
|
+
"name": "--brand-Button-icon-size-large",
|
|
7189
|
+
"value": "var(--base-size-20)",
|
|
7190
|
+
"group": "functional"
|
|
7191
|
+
},
|
|
7192
|
+
{
|
|
7193
|
+
"name": "--brand-Button-icon-size-medium",
|
|
7194
|
+
"value": "var(--base-size-16)",
|
|
7195
|
+
"group": "functional"
|
|
7196
|
+
},
|
|
7197
|
+
{
|
|
7198
|
+
"name": "--brand-Button-icon-size-small",
|
|
7199
|
+
"value": "var(--base-size-16)",
|
|
7200
|
+
"group": "functional"
|
|
7201
|
+
},
|
|
7202
|
+
{
|
|
7203
|
+
"name": "--brand-Button-control-size-large",
|
|
7204
|
+
"value": "var(--brand-control-large-size)",
|
|
7205
|
+
"group": "functional"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
"name": "--brand-Button-control-size-medium",
|
|
7209
|
+
"value": "var(--brand-control-medium-size)",
|
|
7210
|
+
"group": "functional"
|
|
7211
|
+
},
|
|
7212
|
+
{
|
|
7213
|
+
"name": "--brand-Button-control-size-small",
|
|
7214
|
+
"value": "var(--brand-control-small-size)",
|
|
7215
|
+
"group": "functional"
|
|
7216
|
+
},
|
|
7083
7217
|
{
|
|
7084
7218
|
"name": "--brand-button-primary-bgColor-rest",
|
|
7085
7219
|
"value": "var(--base-color-scale-green-6)",
|
|
@@ -8025,6 +8159,116 @@
|
|
|
8025
8159
|
"value": "var(--base-color-scale-yellow-5)",
|
|
8026
8160
|
"group": "functional"
|
|
8027
8161
|
},
|
|
8162
|
+
{
|
|
8163
|
+
"name": "--brand-IconButton-loadingIndicator-animationDuration-reducedMotion",
|
|
8164
|
+
"value": "1.6s",
|
|
8165
|
+
"group": "functional"
|
|
8166
|
+
},
|
|
8167
|
+
{
|
|
8168
|
+
"name": "--brand-IconButton-loadingIndicator-animationDuration-default",
|
|
8169
|
+
"value": "0.8s",
|
|
8170
|
+
"group": "functional"
|
|
8171
|
+
},
|
|
8172
|
+
{
|
|
8173
|
+
"name": "--brand-IconButton-icon-size-large",
|
|
8174
|
+
"value": "var(--brand-Button-icon-size-large)",
|
|
8175
|
+
"group": "functional"
|
|
8176
|
+
},
|
|
8177
|
+
{
|
|
8178
|
+
"name": "--brand-IconButton-icon-size-medium",
|
|
8179
|
+
"value": "var(--brand-Button-icon-size-large)",
|
|
8180
|
+
"group": "functional"
|
|
8181
|
+
},
|
|
8182
|
+
{
|
|
8183
|
+
"name": "--brand-IconButton-icon-size-small",
|
|
8184
|
+
"value": "var(--brand-Button-icon-size-small)",
|
|
8185
|
+
"group": "functional"
|
|
8186
|
+
},
|
|
8187
|
+
{
|
|
8188
|
+
"name": "--brand-IconButton-control-size-large",
|
|
8189
|
+
"value": "var(--brand-Button-control-size-large)",
|
|
8190
|
+
"group": "functional"
|
|
8191
|
+
},
|
|
8192
|
+
{
|
|
8193
|
+
"name": "--brand-IconButton-control-size-medium",
|
|
8194
|
+
"value": "var(--brand-Button-control-size-medium)",
|
|
8195
|
+
"group": "functional"
|
|
8196
|
+
},
|
|
8197
|
+
{
|
|
8198
|
+
"name": "--brand-IconButton-control-size-small",
|
|
8199
|
+
"value": "var(--brand-Button-control-size-small)",
|
|
8200
|
+
"group": "functional"
|
|
8201
|
+
},
|
|
8202
|
+
{
|
|
8203
|
+
"name": "--brand-IconButton-danger-fgColor-rest",
|
|
8204
|
+
"value": "var(--brand-color-danger-fg)",
|
|
8205
|
+
"group": "functional"
|
|
8206
|
+
},
|
|
8207
|
+
{
|
|
8208
|
+
"name": "--brand-IconButton-danger-fgColor-hover",
|
|
8209
|
+
"value": "var(--base-color-scale-white-0)",
|
|
8210
|
+
"group": "functional"
|
|
8211
|
+
},
|
|
8212
|
+
{
|
|
8213
|
+
"name": "--brand-IconButton-danger-fgColor-active",
|
|
8214
|
+
"value": "var(--base-color-scale-white-0)",
|
|
8215
|
+
"group": "functional"
|
|
8216
|
+
},
|
|
8217
|
+
{
|
|
8218
|
+
"name": "--brand-IconButton-danger-bgColor-rest",
|
|
8219
|
+
"value": "var(--brand-button-secondary-bgColor-rest)",
|
|
8220
|
+
"group": "functional"
|
|
8221
|
+
},
|
|
8222
|
+
{
|
|
8223
|
+
"name": "--brand-IconButton-danger-bgColor-hover",
|
|
8224
|
+
"value": "var(--brand-color-danger-emphasis)",
|
|
8225
|
+
"group": "functional"
|
|
8226
|
+
},
|
|
8227
|
+
{
|
|
8228
|
+
"name": "--brand-IconButton-danger-bgColor-active",
|
|
8229
|
+
"value": "var(--brand-color-danger-emphasis)",
|
|
8230
|
+
"group": "functional"
|
|
8231
|
+
},
|
|
8232
|
+
{
|
|
8233
|
+
"name": "--brand-IconButton-danger-borderColor-rest",
|
|
8234
|
+
"value": "var(--brand-button-secondary-borderColor-rest)",
|
|
8235
|
+
"group": "functional"
|
|
8236
|
+
},
|
|
8237
|
+
{
|
|
8238
|
+
"name": "--brand-IconButton-danger-borderColor-hover",
|
|
8239
|
+
"value": "var(--brand-color-danger-emphasis)",
|
|
8240
|
+
"group": "functional"
|
|
8241
|
+
},
|
|
8242
|
+
{
|
|
8243
|
+
"name": "--brand-IconButton-danger-borderColor-active",
|
|
8244
|
+
"value": "var(--brand-color-danger-emphasis)",
|
|
8245
|
+
"group": "functional"
|
|
8246
|
+
},
|
|
8247
|
+
{
|
|
8248
|
+
"name": "--brand-IconButton-inactive-fgColor",
|
|
8249
|
+
"value": "var(--brand-color-text-muted)",
|
|
8250
|
+
"group": "functional"
|
|
8251
|
+
},
|
|
8252
|
+
{
|
|
8253
|
+
"name": "--brand-IconButton-inactive-bgColor",
|
|
8254
|
+
"value": "var(--brand-color-canvas-subtle)",
|
|
8255
|
+
"group": "functional"
|
|
8256
|
+
},
|
|
8257
|
+
{
|
|
8258
|
+
"name": "--brand-IconButton-inactive-borderColor",
|
|
8259
|
+
"value": "var(--brand-color-canvas-subtle)",
|
|
8260
|
+
"group": "functional"
|
|
8261
|
+
},
|
|
8262
|
+
{
|
|
8263
|
+
"name": "--brand-IconButton-invisible-bgColor-rest",
|
|
8264
|
+
"value": "transparent",
|
|
8265
|
+
"group": "functional"
|
|
8266
|
+
},
|
|
8267
|
+
{
|
|
8268
|
+
"name": "--brand-IconButton-invisible-borderColor-rest",
|
|
8269
|
+
"value": "transparent",
|
|
8270
|
+
"group": "functional"
|
|
8271
|
+
},
|
|
8028
8272
|
{
|
|
8029
8273
|
"name": "--brand-IDE-height",
|
|
8030
8274
|
"value": "50rem",
|
|
@@ -8635,6 +8879,31 @@
|
|
|
8635
8879
|
"value": "1rem",
|
|
8636
8880
|
"group": "functional"
|
|
8637
8881
|
},
|
|
8882
|
+
{
|
|
8883
|
+
"name": "--brand-SubNav-offset-overflowMenu",
|
|
8884
|
+
"value": "0.25rem",
|
|
8885
|
+
"group": "functional"
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"name": "--brand-SubNav-height-overflowMenuItemMin",
|
|
8889
|
+
"value": "2.5rem",
|
|
8890
|
+
"group": "functional"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"name": "--brand-SubNav-height-overflowMenuInset",
|
|
8894
|
+
"value": "8rem",
|
|
8895
|
+
"group": "functional"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"name": "--brand-SubNav-width-overflowMenuMin",
|
|
8899
|
+
"value": "10rem",
|
|
8900
|
+
"group": "functional"
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"name": "--brand-SubNav-width-overflowMenuInset",
|
|
8904
|
+
"value": "2rem",
|
|
8905
|
+
"group": "functional"
|
|
8906
|
+
},
|
|
8638
8907
|
{
|
|
8639
8908
|
"name": "--brand-SubNav-width-subMenu",
|
|
8640
8909
|
"value": "18.75rem",
|
|
@@ -8645,6 +8914,41 @@
|
|
|
8645
8914
|
"value": "var(--brand-color-canvas-default)",
|
|
8646
8915
|
"group": "functional"
|
|
8647
8916
|
},
|
|
8917
|
+
{
|
|
8918
|
+
"name": "--brand-SubNav-overflowMenu-bgColor-rest",
|
|
8919
|
+
"value": "var(--brand-color-canvas-default)",
|
|
8920
|
+
"group": "functional"
|
|
8921
|
+
},
|
|
8922
|
+
{
|
|
8923
|
+
"name": "--brand-SubNav-overflowMenu-bgColor-hover",
|
|
8924
|
+
"value": "var(--brand-color-canvas-subtle)",
|
|
8925
|
+
"group": "functional"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"name": "--brand-SubNav-overflowMenu-fgColor-rest",
|
|
8929
|
+
"value": "var(--brand-color-text-muted)",
|
|
8930
|
+
"group": "functional"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
"name": "--brand-SubNav-overflowMenu-fgColor-hover",
|
|
8934
|
+
"value": "var(--brand-color-text-default)",
|
|
8935
|
+
"group": "functional"
|
|
8936
|
+
},
|
|
8937
|
+
{
|
|
8938
|
+
"name": "--brand-SubNav-overflowMenu-toggle-bgColor-rest",
|
|
8939
|
+
"value": "transparent",
|
|
8940
|
+
"group": "functional"
|
|
8941
|
+
},
|
|
8942
|
+
{
|
|
8943
|
+
"name": "--brand-SubNav-overflowMenu-toggle-bgColor-hover",
|
|
8944
|
+
"value": "var(--base-color-scale-gray-1)",
|
|
8945
|
+
"group": "functional"
|
|
8946
|
+
},
|
|
8947
|
+
{
|
|
8948
|
+
"name": "--brand-SubNav-overflowMenu-toggle-bgColor-active",
|
|
8949
|
+
"value": "var(--base-color-scale-gray-1)",
|
|
8950
|
+
"group": "functional"
|
|
8951
|
+
},
|
|
8648
8952
|
{
|
|
8649
8953
|
"name": "--brand-SubNav-color-link-rest",
|
|
8650
8954
|
"value": "var(--brand-color-text-default)",
|
|
@@ -8707,7 +9011,7 @@
|
|
|
8707
9011
|
},
|
|
8708
9012
|
{
|
|
8709
9013
|
"name": "--brand-SubdomainNavBar-border-nav-default",
|
|
8710
|
-
"value": "var(--base-color-scale-
|
|
9014
|
+
"value": "var(--base-color-scale-green-6)",
|
|
8711
9015
|
"group": "functional"
|
|
8712
9016
|
},
|
|
8713
9017
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/brand-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.0-rc.85e39cb4",
|
|
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",
|