diff --git a/bestax-mcp/data/catalog.json b/bestax-mcp/data/catalog.json
index a8eeebf77..a09719c6f 100644
--- a/bestax-mcp/data/catalog.json
+++ b/bestax-mcp/data/catalog.json
@@ -139,8 +139,8 @@
"slug": "components/avatar",
"import": "import { Avatar } from '@allxsmith/bestax-bulma';",
"compound": false,
- "propCount": 14,
- "exampleCount": 7
+ "propCount": 15,
+ "exampleCount": 8
},
{
"name": "Avatars",
@@ -150,7 +150,7 @@
"slug": "components/avatars",
"import": "import { Avatars, Avatar } from '@allxsmith/bestax-bulma';",
"compound": true,
- "propCount": 22,
+ "propCount": 23,
"exampleCount": 8
},
{
@@ -205,7 +205,7 @@
"slug": "elements/button",
"import": "import { Button } from '@allxsmith/bestax-bulma';",
"compound": false,
- "propCount": 23,
+ "propCount": 19,
"exampleCount": 25
},
{
@@ -216,7 +216,7 @@
"slug": "elements/buttons",
"import": "import { Buttons } from '@allxsmith/bestax-bulma';",
"compound": true,
- "propCount": 53,
+ "propCount": 45,
"exampleCount": 8
},
{
@@ -569,7 +569,7 @@
"import": "import { Link } from '@allxsmith/bestax-bulma';",
"compound": false,
"propCount": 6,
- "exampleCount": 11
+ "exampleCount": 12
},
{
"name": "LinkButton",
@@ -579,7 +579,7 @@
"slug": "elements/linkbutton",
"import": "import { LinkButton } from '@allxsmith/bestax-bulma';",
"compound": false,
- "propCount": 21,
+ "propCount": 17,
"exampleCount": 10
},
{
@@ -623,8 +623,8 @@
"slug": "components/menu",
"import": "import { Menu } from '@allxsmith/bestax-bulma';",
"compound": true,
- "propCount": 11,
- "exampleCount": 5
+ "propCount": 16,
+ "exampleCount": 6
},
{
"name": "Message",
@@ -788,7 +788,7 @@
"slug": "components/reveal",
"import": "import { Reveal } from '@allxsmith/bestax-bulma';",
"compound": false,
- "propCount": 9,
+ "propCount": 11,
"exampleCount": 5
},
{
diff --git a/bestax-mcp/data/components/Avatar.json b/bestax-mcp/data/components/Avatar.json
index 610c7aabf..96db68ec4 100644
--- a/bestax-mcp/data/components/Avatar.json
+++ b/bestax-mcp/data/components/Avatar.json
@@ -32,6 +32,10 @@
{
"title": "Forwarding Props to the Image",
"code": "
Rendered element: {tag ?? '—'}
\n >\n );\n}" } ], "accessibility": "- Image avatars use `alt` (falling back to `name`) for their accessible name.\n- Initials/icon avatars expose `role=\"img\"` and `aria-label` (from `alt`/`name`) — unless\n rendered as a link or button, where the native link/button role and `aria-label` are used\n instead.\n- **Decorative avatars:** pass an explicit `alt=\"\"` when the avatar repeats information\n already visible next to it (e.g. beside the author's name in a comment row). The image\n stays decorative and an initials/icon avatar is skipped entirely (`aria-hidden`), avoiding\n double-speak. The opt-out never applies to a link/button avatar — an interactive element\n always keeps an accessible name (from `name`, or a generic `\"Avatar\"` fallback).\n- A link/button avatar with no `alt`/`name` (e.g. an API that returns only a photo URL) still\n gets an `aria-label` fallback rather than rendering a nameless control.\n- `as=\"button\"` defaults to `type=\"button\"`, so a clickable avatar inside a form doesn't\n submit it.\n- The default fallback icon is `aria-hidden`.", @@ -47,6 +51,15 @@ "summary": "The `Avatar` component represents a person or entity as a compact image.", "component": null, "props": [ + { + "name": "as", + "type": "React.ElementType", + "default": null, + "description": "Element/component to render as. Defaults to `'a'` when `href` is set, else `'figure'`.", + "required": false, + "inherited": false, + "deprecated": false + }, { "name": "className", "type": "string", @@ -128,15 +141,6 @@ "inherited": false, "deprecated": false }, - { - "name": "as", - "type": "React.ElementType", - "default": null, - "description": "Element/component to render as. Defaults to `'a'` when `href` is set, else `'figure'`.", - "required": false, - "inherited": false, - "deprecated": false - }, { "name": "href", "type": "string", @@ -172,10 +176,29 @@ "required": false, "inherited": false, "deprecated": false + }, + { + "name": "style", + "type": "React.CSSProperties", + "default": null, + "description": "Inline styles, merged after the size style.", + "required": false, + "inherited": false, + "deprecated": false + } + ], + "extraProps": [ + { + "name": "ref", + "type": "PolymorphicRef