bestax-mcp 1.18.70 → 1.18.71

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.73.10"
5
+ "version": "5.73.11"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -63,7 +63,7 @@
63
63
  "code": "<Badge content={<Icon name=\"check\" />} color=\"success\">\n <Avatar name=\"Ada Lovelace\" />\n</Badge>"
64
64
  }
65
65
  ],
66
- "accessibility": "- A count/text badge exposes `role=\"status\"` and an `aria-label` announcing its content.\n- At `content={0}` without `showZero`, the pill is visually hidden but stays mounted as an\n empty `role=\"status\"` node, so a later `0 -> 1` change mutates an existing live region and\n is reliably announced (a live region inserted already populated often isn't).\n- A bare number in a `role=\"status\"` span is not enough context on its own — put the full\n meaning on the anchor itself, e.g. `<Icon ariaLabel=\"Inbox, 4 unread messages\" />` rather than\n relying on the badge to read out just \"4\".\n- A decorative `dot` badge is `aria-hidden`.\n- `pulse` respects `prefers-reduced-motion: reduce` and renders without animation.\n- Note the two hide mechanisms differ: the Bulma `visibility=\"invisible\"` helper hides the whole\n wrapper (anchor included), while the `invisible` **prop** hides only the badge pill.",
66
+ "accessibility": "- A count/text badge exposes `role=\"status\"` and an `aria-label` announcing its content.\n- At `content={0}` without `showZero`, the pill is visually hidden but stays mounted as an\n empty `role=\"status\"` node, so a later `0 -> 1` change mutates an existing live region and\n is reliably announced (a live region inserted already populated often isn't).\n- A bare number in a `role=\"status\"` span is not enough context on its own — put the full\n meaning on the anchor itself, e.g. `<Icon ariaLabel=\"Inbox, 4 unread messages\" />` rather than\n relying on the badge to read out just \"4\".\n- A decorative `dot` badge is `aria-hidden`.\n- `pulse` respects `prefers-reduced-motion: reduce` and renders without animation.\n- **Forced colors:** a badge is drawn as a fill with a ring, and forced colors (Windows' contrast\n themes) paints the fill in the page's own color and drops the ring, so bestax's styles draw a\n count or text badge's edge in the system's text color there, and fill a dot in it, with its ring\n in the page's color. A pulsing badge pulses in the same color. A badge's text stays in the\n contrast theme's colors.\n- Note the two hide mechanisms differ: the Bulma `visibility=\"invisible\"` helper hides the whole\n wrapper (anchor included), while the `invisible` **prop** hides only the badge pill.",
67
67
  "related": ["Avatar", "Icon", "Tag", "useBulmaClasses"],
68
68
  "storybook": "https://bestax.io/storybook/?path=/story/components-badge--unread-count",
69
69
  "summary": "The `Badge` component is a small status/count indicator overlaid on the corner of another element, or rendered standalone.",
@@ -116,7 +116,7 @@
116
116
  "name": "dot",
117
117
  "type": "boolean",
118
118
  "default": "false",
119
- "description": "Render a small dot with no content.",
119
+ "description": "Render a small dot with no content. In forced colors (Windows' contrast themes) a dot is filled in the system's text color, whatever its `color` or a background helper says, so it shows there.",
120
120
  "required": false,
121
121
  "inherited": false,
122
122
  "deprecated": false
@@ -70,7 +70,7 @@
70
70
  "code": "<Carousel repeat={false}>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">First (no previous)</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"warning\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph>Middle slide</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Last (no next)</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
71
71
  }
72
72
  ],
73
- "accessibility": "- Uses `role=\"region\"` with `aria-roledescription=\"carousel\"`\n- Each item is a `group` with `aria-roledescription=\"slide\"`, named for its place, such as \"2 of 6\". An item's own `aria-label` or `aria-labelledby` takes the place of that name\n- Items out of view are `aria-hidden` and `inert`, so screen readers skip them and nothing in them takes focus. With several in view, every item in view is exposed. The copies a loop adds at each end of the track follow the same rule, so where the view runs past the last item, the copies on screen are the ones exposed\n- The track is a polite live region, so what comes into view is announced, except while autoplay is moving it (`aria-live=\"off\"`)\n- Autoplay waits while the pointer is over the carousel (with `pauseOnHover`) and while focus is anywhere inside it, on an item, an arrow or an indicator, so nothing moves while someone reads or works it. A browser that leaves focus on an arrow or an indicator a click pressed keeps it waiting until focus moves on. It's a pause, not a stop: once the pointer and focus leave, autoplay goes on\n- When something else takes the item holding focus out of view (a swipe, a change of width that changes the count, a new controlled `value`, or the item's removal), focus moves to the first item in view rather than dropping to the page\n- Navigation arrows have `aria-label` for screen readers\n- With `arrowBackground={false}`, an arrow with keyboard focus shows Bulma's focus outline, as a ghost `Button` does, in the overlay look too. With `arrowHover`, an arrow shows while keyboard focus is on it\n- Indicators use `role=\"tablist\"` and `role=\"tab\"` semantics, one for each position a step can land on\n- The indicators take Bulma's look: a resting dot, line or bar is filled in the border color and the current one in the primary color, and a circle is a ring in the border color, filled when current. A resting one falls short of the 3:1 against the page that WCAG asks of a graphic. For that, set `--bulma-carousel-indicator-border-color` to a color such as `var(--bulma-text-weak)` on a class you pass through `className`, with the carousel's class in the selector (`.carousel.my-carousel`, `.bestax-carousel.my-carousel` under the prefixed flavor) so it wins whatever order the stylesheets load in. It draws a ring at each resting indicator's edge, circles included, and leaves the current one, and the dots, lines and bars in the overlay look, as they are. Forced colors (Windows' contrast themes) replaces the fills, so there each indicator shows its ring in the buttons' text color and the current one is filled in it.\n- The Left and Right arrow keys move the carousel while focus is on its arrows or indicators. Inside an item they're left to the item's content, such as a field or a slider\n- Previous/Next buttons are properly disabled at boundaries when not repeating\n- On a right-to-left page the slides run from right to left. The previous arrow sits on the right, at the start of the line, and the next arrow on the left, and the built-in chevrons flip to match. An `iconPrev` or `iconNext` is drawn as you give it. <kbd>ArrowLeft</kbd> and a swipe to the right go to the next slide, the way the track moves.",
73
+ "accessibility": "- Uses `role=\"region\"` with `aria-roledescription=\"carousel\"`\n- Each item is a `group` with `aria-roledescription=\"slide\"`, named for its place, such as \"2 of 6\". An item's own `aria-label` or `aria-labelledby` takes the place of that name\n- Items out of view are `aria-hidden` and `inert`, so screen readers skip them and nothing in them takes focus. With several in view, every item in view is exposed. The copies a loop adds at each end of the track follow the same rule, so where the view runs past the last item, the copies on screen are the ones exposed\n- The track is a polite live region, so what comes into view is announced, except while autoplay is moving it (`aria-live=\"off\"`)\n- Autoplay waits while the pointer is over the carousel (with `pauseOnHover`) and while focus is anywhere inside it, on an item, an arrow or an indicator, so nothing moves while someone reads or works it. A browser that leaves focus on an arrow or an indicator a click pressed keeps it waiting until focus moves on. It's a pause, not a stop: once the pointer and focus leave, autoplay goes on\n- When something else takes the item holding focus out of view (a swipe, a change of width that changes the count, a new controlled `value`, or the item's removal), focus moves to the first item in view rather than dropping to the page\n- Navigation arrows have `aria-label` for screen readers\n- With `arrowBackground={false}`, an arrow with keyboard focus shows Bulma's focus outline, as a ghost `Button` does, in the overlay look too. With `arrowHover`, an arrow shows while keyboard focus is on it\n- Indicators use `role=\"tablist\"` and `role=\"tab\"` semantics, one for each position a step can land on\n- The indicators take Bulma's look: a resting dot, line or bar is filled in the border color and the current one in the primary color, and a circle is a ring in the border color, filled when current. A resting one falls short of the 3:1 against the page that WCAG asks of a graphic. For that, set `--bulma-carousel-indicator-border-color` to a color such as `var(--bulma-text-weak)` on a class you pass through `className`, with the carousel's class in the selector (`.carousel.my-carousel`, `.bestax-carousel.my-carousel` under the prefixed flavor) so it wins whatever order the stylesheets load in. It draws a ring at each resting indicator's edge, circles included, and leaves the current one, and the dots, lines and bars in the overlay look, as they are. Forced colors (Windows' contrast themes) replaces the fills, so there each indicator shows its ring in the buttons' text color and the current one is filled in it.\n- The Left and Right arrow keys move the carousel while focus is on its arrows or indicators. Inside an item they're left to the item's content, such as a field or a slider\n- Previous/Next buttons are disabled at the ends when not repeating. When the one holding focus is disabled, focus moves to the current indicator, or to the other arrow when there are no indicators. When a focused arrow or indicator goes away, as an indicator does when a change of width leaves fewer positions, focus moves to the current indicator, an arrow that works, or the first item in view, rather than dropping to the page\n- On a right-to-left page the slides run from right to left. The previous arrow sits on the right, at the start of the line, and the next arrow on the left, and the built-in chevrons flip to match. An `iconPrev` or `iconNext` is drawn as you give it. <kbd>ArrowLeft</kbd> and a swipe to the right go to the next slide, the way the track moves.",
74
74
  "related": ["Modal", "Tabs"],
75
75
  "storybook": "https://bestax.io/storybook/?path=/story/components-carousel",
76
76
  "summary": "The `Carousel` component provides an image/content slider with navigation arrows and indicators.",
@@ -123,7 +123,7 @@
123
123
  "name": "repeat",
124
124
  "type": "boolean",
125
125
  "default": "true",
126
- "description": "Loop back to the first position after the last. Default: true. With several items in view, the view runs on past the last item into the first ones, so it can show the end and the start side by side. Only loops when some item is out of view.",
126
+ "description": "Loop back to the first position after the last. Default: true. With several items in view, the view runs on past the last item into the first ones, so it can show the end and the start side by side. Only loops when some item is out of view. Without it, the arrows are disabled at the ends, and focus on the one disabled moves to the current indicator, or to the other arrow when there are no indicators.",
127
127
  "required": false,
128
128
  "inherited": false,
129
129
  "deprecated": false
@@ -23,7 +23,7 @@
23
23
  },
24
24
  {
25
25
  "title": "Highlighted Row",
26
- "code": "<Table isFullwidth>\n <Thead>\n <Tr>\n <Th>Team</Th>\n <Th>Wins</Th>\n <Th>Losses</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr isSelected>\n <Td>Ice Wolves</Td>\n <Td>32</Td>\n <Td>8</Td>\n </Tr>\n <Tr>\n <Td>Frost Giants</Td>\n <Td>30</Td>\n <Td>9</Td>\n </Tr>\n </Tbody>\n</Table>"
26
+ "code": "<Table isFullwidth>\n <Thead>\n <Tr>\n <Th>Team</Th>\n <Th>Wins</Th>\n <Th>Losses</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr isSelected>\n <Th scope=\"row\">Ice Wolves (your team)</Th>\n <Td>32</Td>\n <Td>8</Td>\n </Tr>\n <Tr>\n <Th scope=\"row\">Frost Giants</Th>\n <Td>30</Td>\n <Td>9</Td>\n </Tr>\n </Tbody>\n</Table>"
27
27
  },
28
28
  {
29
29
  "title": "Custom Alignment and Width",
@@ -31,14 +31,14 @@
31
31
  },
32
32
  {
33
33
  "title": "A Column of Checkboxes",
34
- "code": "function example() {\n const teams = ['Ice Wolves', 'Frost Giants', 'Snow Owls'];\n const [picked, setPicked] = useState(['Ice Wolves']);\n const toggle = (team: string) =>\n setPicked(current =>\n current.includes(team)\n ? current.filter(name => name !== team)\n : [...current, team]\n );\n\n return (\n <Table isFullwidth>\n <Thead>\n <Tr>\n <Th isNarrow>\n <Span visibility=\"sr-only\">Picked</Span>\n </Th>\n <Th>Team</Th>\n </Tr>\n </Thead>\n <Tbody>\n {teams.map(team => (\n <Tr key={team} isSelected={picked.includes(team)}>\n <Td isNarrow isVcentered>\n <Checkbox\n aria-label={`Pick ${team}`}\n checked={picked.includes(team)}\n onChange={() => toggle(team)}\n />\n </Td>\n <Td isVcentered>{team}</Td>\n </Tr>\n ))}\n </Tbody>\n </Table>\n );\n}"
34
+ "code": "function example() {\n const teams = ['Ice Wolves', 'Frost Giants', 'Snow Owls'];\n const [picked, setPicked] = useState(['Ice Wolves']);\n const toggle = (team: string) =>\n setPicked(current =>\n current.includes(team)\n ? current.filter(name => name !== team)\n : [...current, team]\n );\n\n return (\n <Table isFullwidth>\n <Thead>\n <Tr>\n <Th isNarrow>\n <Span visibility=\"sr-only\">Picked</Span>\n </Th>\n <Th>Team</Th>\n </Tr>\n </Thead>\n <Tbody>\n {teams.map(team => (\n <Tr key={team} isSelected={picked.includes(team)}>\n <Td isNarrow isVcentered>\n <Checkbox\n aria-label={`Pick ${team}`}\n checked={picked.includes(team)}\n onChange={() => toggle(team)}\n />\n </Td>\n <Th scope=\"row\" isVcentered>\n {team}\n </Th>\n </Tr>\n ))}\n </Tbody>\n </Table>\n );\n}"
35
35
  },
36
36
  {
37
37
  "title": "Compound (dot-notation) usage",
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:** with `isResponsive`, the table is wrapped in Bulma's scrollable `.table-container`. While the table overflows it, the container is a region with a tab stop, named by the table's own `aria-label` or `aria-labelledby`, so a keyboard user can reach and scroll it, Safari included. The `elements/table` partial, which `bestax.css` and `extras.css` carry, draws Bulma's focus ring just inside it on keyboard focus. While the table fits, it's a plain `div` with no tab stop, though one that has focus keeps its tab stop until focus leaves. A development build warns when a table overflows with no name.\n- **Forced colors:** Bulma marks a selected row or cell (`Tr isSelected`, or a cell with Bulma's `is-selected` class) with a fill and a text color, which forced colors replaces, so there the `elements/table` partial draws a double line just inside it in the system's highlight color, which moves nothing. A selected row or cell given a `tabIndex` keeps the double line while it has keyboard focus, in the system's text color, so it still reads as selected and the focus shows.\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:::",
41
+ "accessibility": "- **Semantics:** Uses `<table>`, `<thead>`, `<tbody>`, `<tfoot>`, `<tr>`, `<th>`, and `<td>`—all proper HTML table elements.\n- **Responsive:** with `isResponsive`, the table is wrapped in Bulma's scrollable `.table-container`. While the table overflows it, the container is a region with a tab stop, named by the table's own `aria-label` or `aria-labelledby`, so a keyboard user can reach and scroll it, Safari included. The `elements/table` partial, which `bestax.css` and `extras.css` carry, draws Bulma's focus ring just inside it on keyboard focus. While the table fits, it's a plain `div` with no tab stop, though one that has focus keeps its tab stop until focus leaves. A development build warns when a table overflows with no name.\n- **Forced colors:** Bulma marks a selected row or cell (`Tr isSelected`, or a cell with Bulma's `is-selected` class) with a fill and a text color, which forced colors replaces, so there the `elements/table` partial draws a double line just inside it in the system's highlight color, which moves nothing. A selected row or cell given a `tabIndex` keeps the double line while it has keyboard focus, in the system's text color, so it still reads as selected and the focus shows.\n- **Screen Readers:** Always use `<Th>` for header cells, and provide descriptive column headings. Make the cell that names a row its header too (`Th` with `scope=\"row\"`).\n- **Selected rows:** `isSelected` is a look, which assistive tech doesn't announce. Say in a highlighted row why it stands out, as in [Highlighted Row](https://bestax.io/docs/api/elements/table#highlighted-row), and give rows a user picks a checkbox named for the row, as in [A Column of Checkboxes](https://bestax.io/docs/api/elements/table#a-column-of-checkboxes).\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.",
@@ -240,7 +240,7 @@
240
240
  "name": "isSelected",
241
241
  "type": "boolean",
242
242
  "default": "false",
243
- "description": "Whether the row is selected (adds Bulma's is-selected class). It's a look only: it says nothing to assistive tech, so pair it with a checkbox named for the row when the selection matters. Forced colors replaces its fill, so there the `elements/table` partial draws a double line just inside the row's edge in the system's highlight color instead. A bestax `Checkbox` or `Radio` placed straight in one of the row's cells takes the row's text color, so a checked one shows on the row's fill. One in a menu or a table nested in a cell, or in a cell with a `color` of its own, keeps its own colors, since it sits on that surface instead, and so does every one in a row with a `color`, whose cells paint that color over the fill.",
243
+ "description": "Whether the row is selected (adds Bulma's is-selected class). It's a look only: it says nothing to assistive tech, so pair it with a checkbox named for the row when the selection matters, and say in the row why it stands out when it marks something else, such as a search result. Forced colors replaces its fill, so there the `elements/table` partial draws a double line just inside the row's edge in the system's highlight color instead. A bestax `Checkbox` or `Radio` placed straight in one of the row's cells takes the row's text color, so a checked one shows on the row's fill. One in a menu or a table nested in a cell, or in a cell with a `color` of its own, keeps its own colors, since it sits on that surface instead, and so does every one in a row with a `color`, whose cells paint that color over the fill.",
244
244
  "required": false,
245
245
  "inherited": false,
246
246
  "deprecated": false
@@ -185,7 +185,8 @@ Notes:
185
185
  @use '@allxsmith/bestax-bulma/scss/components/panel' as bestax-panel;
186
186
  ```
187
187
 
188
- - The `file` partial **extends** stock Bulma file (File's keyboard focus ring, and the rounded
188
+ - The `file` partial **extends** stock Bulma file (File's keyboard focus ring, a file dropped on
189
+ its button or name reaching its input, which Bulma's module draws them over, and the rounded
189
190
  corners of a boxed `hasName` File with no name to show), so an app using `File` needs both, in
190
191
  either order:
191
192
 
@@ -274,7 +275,7 @@ Notes:
274
275
  `bulma/sass/base/skeleton`). The `progress` and `skeleton` extras partials
275
276
  (`as bestax-progress`, `as bestax-skeleton`) stop the indeterminate bar's sweep and the
276
277
  skeleton pulse (`Skeleton`, the `skeleton` prop, `hasSkeleton`) under
277
- `prefers-reduced-motion: reduce`, the same way and in either order. The `progress` partial
278
+ `prefers-reduced-motion: reduce`, in either order. The `progress` partial
278
279
  also keeps the bar drawn in forced colors, its fill and an edge in the text color, where
279
280
  Bulma's module leaves the whole bar the page's color. The `skeleton` partial keeps each shape
280
281
  drawn there too, in `GrayText`, with the text Bulma hides still hidden, where Bulma's module
@@ -305,6 +305,10 @@ their variables through `className` (see their entries below).
305
305
  | `--bulma-badge-dot-size` | `0.65em` |
306
306
  | `--bulma-badge-inset-circle` / `--bulma-badge-animation-duration` | `12%` / `1.4s` |
307
307
 
308
+ In forced colors a badge's fill and `--bulma-badge-ring-color` don't show: a count or text badge
309
+ takes a `CanvasText` edge, and a dot a `CanvasText` fill with its ring in `Canvas`, whatever its
310
+ color or a background helper says.
311
+
308
312
  The remaining extras register the variables below — names only; each default lives in the
309
313
  component's SCSS partial under `bulma-ui/src/scss/` as a `$<name> !default` variable. The same
310
314
  own-selector override rule applies.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bestax-mcp",
3
- "version": "1.18.70",
3
+ "version": "1.18.71",
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.73.10"
45
+ "@allxsmith/bestax-bulma": "^5.73.11"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.6.6",