bestax-mcp 1.18.43 → 1.18.44

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/data/catalog.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 2,
3
3
  "generatedFrom": {
4
4
  "package": "@allxsmith/bestax-bulma",
5
- "version": "5.67.6"
5
+ "version": "5.67.7"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -86,7 +86,10 @@ rbx has three shapes; all three flatten to bestax's per-viewport props.
86
86
  rbx's `forwardRefAs` puts `as` on **every** component. bestax declares it on a smaller set, and
87
87
  several of those narrow it to specific tags (`Footer` is `'footer' | 'div'`, `Control` is
88
88
  `'div' | 'p'`). The codemod passes `as` through only where bestax really accepts it, and TODOs it
89
- everywhere else:
89
+ everywhere else. A component it writes as plain markup takes its element from a literal `as`, and
90
+ keeps rbx's default with a `prop:as` TODO where it can't read the value.
91
+
92
+ The components that accept it:
90
93
 
91
94
  | bestax component | `as` accepts |
92
95
  | ---------------------------- | --------------------------------------------------------------------------------------- |
@@ -81,8 +81,8 @@ The same rule fires a second way: several bestax components accept `as` but narr
81
81
  tags Bulma's markup allows there, so a literal outside that union (`<Control as="span">`,
82
82
  `<Media as="section">`) is dropped and named. The TODO lists the tags that component renders.
83
83
 
84
- A dynamic `as` on a `Heading`, which becomes plain markup, is flagged too: the plain element
85
- takes rbx's default `<p>`.
84
+ A dynamic `as` on a component that becomes plain markup is flagged too: the plain element is the
85
+ one rbx rendered by default.
86
86
 
87
87
  ## `prop:href` — a link needs the anchor
88
88
 
@@ -45,7 +45,7 @@ codemod converts it; **Flagged** = it leaves a `TODO(bestax-migrate)` comment (s
45
45
 
46
46
  | RBC | bestax |
47
47
  | ----------------------------------------------------------- | ------------------------------------------------------------------------ |
48
- | `Breadcrumb.Item` | plain `<li><a href=…>` (`active` → `is-active`) |
48
+ | `Breadcrumb.Item` | plain `<li><a href=…>` (`active` → `is-active`), or the `renderAs` tag |
49
49
  | `Button.Group` | `Buttons` (`align="right"`→`isRight`); unknown or dynamic `size` flagged |
50
50
  | `Card.Header` / `.Title` / `.Icon` | `Card.Header` / `.Header.Title` / `.Header.Icon` |
51
51
  | `Card.Image` | `Card.Image` wrapping an inner `<Image>` |
@@ -34,7 +34,9 @@ this automatically for literal values; dynamic values get TODOs.
34
34
  `renderAs` becomes `as` on the components bestax declares one on: `Button`, `Title` and
35
35
  `SubTitle` (from `Heading`), `Image`, `Form.Control`, `Footer`, `Level`, `Level.Item`, `Media` and its
36
36
  `Item`s, `Menu.Item`, `Navbar.Item`, `Navbar.Link`, `Dropdown.Item`, `Container`, `Hero`,
37
- `Hero.Header`, `Hero.Footer`, `Panel` and `Panel.Block`. Everywhere else it is flagged.
37
+ `Hero.Header`, `Hero.Footer`, `Panel` and `Panel.Block`. Where a component becomes plain markup,
38
+ a literal `renderAs` names the element written, and one the codemod can't read leaves RBC's default
39
+ with a `prop:renderAs` TODO. Everywhere else it is flagged.
38
40
 
39
41
  bestax gives an element the attributes of the tag `as` names, and several components narrow
40
42
  `as` to the tags Bulma's markup allows there (`Footer` is `'footer' | 'div'`, `Control` is
@@ -74,11 +74,16 @@ Or keep the element and give the class a rule of your own. Bulma 0.9's was:
74
74
  }
75
75
  ```
76
76
 
77
- ## `prop:renderAs`, `prop:size`, `prop:weight` on a `heading` label
77
+ ## `prop:renderAs` — an element the codemod can't read
78
78
 
79
- A `renderAs`, `size` or `weight` the codemod can't read stays off the label's plain element, with
80
- a TODO. The element is RBC's default `<h1>`, so render the tag you meant yourself, and add the
81
- classes RBC wrote for the other two by hand:
79
+ Where a component becomes plain markup, a literal `renderAs` names the element written. One the
80
+ codemod can't read leaves the element RBC rendered by default, with this TODO, so render the tag
81
+ you meant yourself.
82
+
83
+ ## `prop:size`, `prop:weight` on a `heading` label
84
+
85
+ A `size` or `weight` the codemod can't read stays off the label's plain element, with a TODO. Add
86
+ the classes RBC wrote for them by hand:
82
87
 
83
88
  ```jsx
84
89
  <Heading heading size={size} weight={weight}>Tweets</Heading>
package/data/skills.json CHANGED
@@ -128,12 +128,12 @@
128
128
  {
129
129
  "id": "rbx-prop-map",
130
130
  "file": "references/rbx/prop-map.md",
131
- "bytes": 16213
131
+ "bytes": 16399
132
132
  },
133
133
  {
134
134
  "id": "rbx-unmappables",
135
135
  "file": "references/rbx/unmappables.md",
136
- "bytes": 16753
136
+ "bytes": 16759
137
137
  },
138
138
  {
139
139
  "id": "react-bulma-components-component-map",
@@ -143,12 +143,12 @@
143
143
  {
144
144
  "id": "react-bulma-components-prop-map",
145
145
  "file": "references/react-bulma-components/prop-map.md",
146
- "bytes": 8376
146
+ "bytes": 8545
147
147
  },
148
148
  {
149
149
  "id": "react-bulma-components-unmappables",
150
150
  "file": "references/react-bulma-components/unmappables.md",
151
- "bytes": 15288
151
+ "bytes": 15443
152
152
  }
153
153
  ],
154
154
  "examples": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bestax-mcp",
3
- "version": "1.18.43",
3
+ "version": "1.18.44",
4
4
  "mcpName": "io.github.allxsmith/bestax-mcp",
5
5
  "description": "MCP server for @allxsmith/bestax-bulma — component props, examples, CSS variables and agent skills, served offline from a version-pinned index",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@modelcontextprotocol/sdk": "^1.32.2",
44
44
  "zod": "^4.6.7",
45
- "@allxsmith/bestax-bulma": "^5.67.6"
45
+ "@allxsmith/bestax-bulma": "^5.67.7"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.6.6",