bestax-mcp 1.18.25 → 1.18.26
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
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"code": "<Table isStriped>\n <Table.Thead>\n <Table.Tr>\n <Table.Th>Team</Table.Th>\n <Table.Th>Points</Table.Th>\n </Table.Tr>\n </Table.Thead>\n <Table.Tbody>\n <Table.Tr>\n <Table.Td>Maple Leafs</Table.Td>\n <Table.Td>98</Table.Td>\n </Table.Tr>\n </Table.Tbody>\n</Table>"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
-
"accessibility": "- **Semantics:** Uses `<table>`, `<thead>`, `<tbody>`, `<tfoot>`, `<tr>`, `<th>`, and `<td>`—all proper HTML table elements.\n- **Responsive:** When using `isResponsive`, the table is wrapped in a scrollable container.\n- **Screen Readers:** Always use `<Th>` for header cells, and provide descriptive column headings.\n\n:::tip\nFor responsive tables, ensure your column headers are clear and concise for small screens.\n:::",
|
|
41
|
+
"accessibility": "- **Semantics:** Uses `<table>`, `<thead>`, `<tbody>`, `<tfoot>`, `<tr>`, `<th>`, and `<td>`—all proper HTML table elements.\n- **Responsive:** When using `isResponsive`, the table is wrapped in a scrollable container.\n- **Screen Readers:** Always use `<Th>` for header cells, and provide descriptive column headings.\n- **Right to left:** with `bestax.css` and its variants, a header cell aligns to the start of the line, as the body cells do, so on a right-to-left page both sit on the right. They build Bulma with `$table-cell-text-align: start`, where Bulma's own default, in the table below, is `left`. With `extras.css` and a Bulma of your own, set `$table-cell-text-align: start` in your Bulma build, or `--bulma-table-cell-text-align: start` on the table, to get the same. `isAligned` or an `align` attribute still sets a cell's own alignment.\n\n:::tip\nFor responsive tables, ensure your column headers are clear and concise for small screens.\n:::",
|
|
42
42
|
"related": ["Block", "useBulmaClasses"],
|
|
43
43
|
"storybook": "https://bestax.io/storybook/?path=/story/elements-table--default",
|
|
44
44
|
"summary": "The `Table` component and its subcomponents provide a highly composable, Bulma-styled table system for React.",
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"name": "isAligned",
|
|
293
293
|
"type": "'left' | 'right' | 'centered'",
|
|
294
294
|
"default": null,
|
|
295
|
-
"description": "Text alignment for the header cell ('left', 'right', 'centered').",
|
|
295
|
+
"description": "Text alignment for the header cell ('left', 'right', 'centered'). Without it, `bestax.css` and its variants align a header to the start of the line, as the body cells are, so it sits on the right on a right-to-left page.",
|
|
296
296
|
"required": false,
|
|
297
297
|
"inherited": false,
|
|
298
298
|
"deprecated": false
|
|
@@ -88,7 +88,8 @@ is **more complete** than the docs page's Option C example, which omits several)
|
|
|
88
88
|
**Form** (`@allxsmith/bestax-bulma/scss/form/<name>`):
|
|
89
89
|
`checkbox`, `checkboxcard`, `radio`, `radiocard`, `switch`, `slider`, `numberinput`, `pininput`,
|
|
90
90
|
`rate`, `autocomplete`, `combobox`, `taginput`, `picker-popover`, `dateinput`, `timeinput`,
|
|
91
|
-
`datetimeinput`, `daterangeinput`, `file`, `fieldset`, `dropzone`, `colorpicker`,
|
|
91
|
+
`datetimeinput`, `daterangeinput`, `file`, `fieldset`, `field`, `dropzone`, `colorpicker`,
|
|
92
|
+
`colorinput`
|
|
92
93
|
|
|
93
94
|
**Elements** (`@allxsmith/bestax-bulma/scss/elements/<name>`): `colorswatch`, `delete`,
|
|
94
95
|
`descriptionlist`, `kbd`, `linkbutton`, `loader`, `notification`, `progress`, `ringprogress`,
|
|
@@ -139,6 +140,16 @@ Notes:
|
|
|
139
140
|
@use '@allxsmith/bestax-bulma/scss/form/file' as bestax-file;
|
|
140
141
|
```
|
|
141
142
|
|
|
143
|
+
- The `field` partial **extends** stock Bulma's field (`bulma/sass/form/tools`): it puts the
|
|
144
|
+
`message` of a horizontal form component (`Input horizontal`, `Checkboxes horizontal`,
|
|
145
|
+
`Rate horizontal` and the rest) under its control, where Bulma's row would set it beside. An
|
|
146
|
+
app with one needs it next to `bulma/sass/form/tools`, in either order:
|
|
147
|
+
|
|
148
|
+
```scss
|
|
149
|
+
@use 'bulma/sass/form/tools';
|
|
150
|
+
@use '@allxsmith/bestax-bulma/scss/form/field';
|
|
151
|
+
```
|
|
152
|
+
|
|
142
153
|
- `Dropzone`'s zone is Bulma's file widget, so an app using it needs `bulma/sass/form/file` and the
|
|
143
154
|
`file` partial (its keyboard focus ring) next to `scss/form/dropzone`, plus
|
|
144
155
|
`bulma/sass/elements/delete` and the `delete` partial for the remove buttons and
|
|
@@ -186,6 +197,17 @@ Notes:
|
|
|
186
197
|
(`bulma/sass/components/modal`) and `Tag isDelete` (`bulma/sass/elements/tag`) with them, so
|
|
187
198
|
include it (`as bestax-delete`) in any build that shows a close button. Its rules win over
|
|
188
199
|
Bulma's either way, so the order of the `@use` lines does not matter.
|
|
200
|
+
- `Table` is stock Bulma (`bulma/sass/elements/table`), and `DataTable` renders one. The prebuilt
|
|
201
|
+
stylesheets build it with `$table-cell-text-align: start`, so header cells line up with the
|
|
202
|
+
body cells under them on a right-to-left page, where Bulma's default, `left`, keeps them on the
|
|
203
|
+
left. A build with a table gets the same by configuring the module where it loads it:
|
|
204
|
+
|
|
205
|
+
```scss
|
|
206
|
+
@use 'bulma/sass/elements/table' with (
|
|
207
|
+
$table-cell-text-align: start
|
|
208
|
+
);
|
|
209
|
+
```
|
|
210
|
+
|
|
189
211
|
- Stock-Bulma form controls still need their Bulma module (`bulma/sass/form/…`); the extras
|
|
190
212
|
form partials above style only the bestax-specific behavior.
|
|
191
213
|
- Bulma component modules pull their own internal sub-elements — e.g.
|
|
@@ -67,7 +67,9 @@ If compiling Bulma's Sass yourself, set the SCSS variables before the CSS variab
|
|
|
67
67
|
);
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
(The library itself ships `$primary: #1e6b99` — HSL `202 / 67% / 36%` — this way
|
|
70
|
+
(The library itself ships `$primary: #1e6b99` — HSL `202 / 67% / 36%` — this way, and
|
|
71
|
+
`$table-cell-text-align: start`, so table header cells line up with the body cells under them on
|
|
72
|
+
a right-to-left page, where Bulma's default is `left`.)
|
|
71
73
|
|
|
72
74
|
## Colors — override the H/S/L trio to recolor
|
|
73
75
|
|
package/data/skills.json
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
{
|
|
163
163
|
"id": "modular-build",
|
|
164
164
|
"file": "references/modular-build.md",
|
|
165
|
-
"bytes":
|
|
165
|
+
"bytes": 15849
|
|
166
166
|
}
|
|
167
167
|
],
|
|
168
168
|
"examples": []
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
{
|
|
177
177
|
"id": "css-variables",
|
|
178
178
|
"file": "references/css-variables.md",
|
|
179
|
-
"bytes":
|
|
179
|
+
"bytes": 64506
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"id": "themeable-components",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bestax-mcp",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.26",
|
|
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.57.
|
|
45
|
+
"@allxsmith/bestax-bulma": "^5.57.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^26.6.6",
|