bestax-mcp 1.18.51 → 1.18.52

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.68.1"
5
+ "version": "5.68.2"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -46,7 +46,7 @@
46
46
  "code": "function example() {\n function Stage({\n name,\n icon,\n children,\n }: {\n name: string;\n icon: string;\n children?: React.ReactNode;\n }) {\n return (\n <Timeline.Item title={name} icon={icon}>\n {children}\n </Timeline.Item>\n );\n }\n\n return (\n <Timeline titleAs=\"h3\" active={1} color=\"success\">\n <Stage name=\"Build\" icon=\"hammer\">\n <Paragraph>All tests passed.</Paragraph>\n </Stage>\n <Stage name=\"Deploy to staging\" icon=\"server\">\n <Paragraph>\n Rolling out. <Link href=\"#logs\">See the logs</Link>\n </Paragraph>\n </Stage>\n <Stage name=\"Deploy to production\" icon=\"globe\" />\n </Timeline>\n );\n}"
47
47
  }
48
48
  ],
49
- "accessibility": "- **A list:** it's an `<ol>`, since a timeline's order is its meaning, with `role=\"list\"`. Safari\n stops treating a list as one once its numbers are hidden, and the role keeps it a list there, so\n a screen reader says how many events there are and where each one is.\n- **Headings:** each title is a heading, `h2` unless `titleAs` says otherwise, so screen reader\n users can move from event to event. Pick the level under the heading the timeline sits beneath:\n an `h3` under an `h2`. In a busy feed, `titleAs=\"p\"` makes them plain lines.\n- **States in words and shapes:** the current item has `aria-current=\"step\"`. A completed item's\n title ends with \"completed\", an upcoming one's with \"upcoming\", and the pending one's with \"in\n progress\", in visually hidden text, so its heading reads \"Packed completed\". Set the words in\n your app's language with `completedLabel`, `upcomingLabel` and `pendingLabel`. Each state has a\n shape of its own as well as a color.\n- **Contrast:** a marker with no `color`, in a record or not reached yet, is Bulma's `text-weak`,\n and progress and a `color` are drawn in the color's on-scheme lightness, the one Bulma adjusts\n for text on the scheme's background. A marker's ring or dot clears WCAG 1.4.11's 3:1 against\n Bulma's page background in light and dark mode. When a `Theme` changes a color's hue,\n saturation or lightness, set that color's on-scheme lightness with it, as\n [Label and Text Lightnesses](https://bestax.io/docs/api/helpers/theme#label-and-text-lightnesses) shows.\n- **Decoration:** the markers are hidden from assistive tech, an `Icon` with an `ariaLabel`\n included, and the line is drawn by CSS. Say what a color or an icon means in the title.\n- **The time:** a screen reader mostly reads the text, so the time's words carry the whole date.\n `dateTime` puts the same moment in a `<time datetime>` for machines, and for the readers that\n speak it.\n- **Motion:** the pending ring turns, and stands still for users who ask for less motion. Its open\n shape is the cue either way.\n- **Forced colors:** every line, dot, ring and halo is a border or an outline, so in Windows high\n contrast mode they keep their shapes, and the pending ring stays open.\n- **Not interactive and not live:** it has no tab stop and no keys, and links or buttons in an\n item work as they do anywhere. It announces nothing when it changes, so keep a status region\n beside one that changes on screen, as in [A Timeline That Changes](https://bestax.io/docs/api/components/timeline#a-timeline-that-changes).\n- **A record first:** design systems with user research behind them, the UK's\n [MOJ](https://design-patterns.service.justice.gov.uk/components/timeline/) and\n [HMRC](https://design.tax.service.gov.uk/hmrc-design-patterns/timeline/), use a timeline for a\n record and advise against using one as a progress indicator. That's why a record is the default.\n `active` is for something that moves on its own and is only reported to the user. For a journey\n the user moves through, where they may go back, use [`Steps`](https://bestax.io/docs/api/components/steps).",
49
+ "accessibility": "- **A list:** it's an `<ol>`, since a timeline's order is its meaning, with `role=\"list\"`. Safari\n stops treating a list as one once its numbers are hidden, and the role keeps it a list there, so\n a screen reader says how many events there are and where each one is.\n- **Headings:** each title is a heading, `h2` unless `titleAs` says otherwise, so screen reader\n users can move from event to event. Pick the level under the heading the timeline sits beneath:\n an `h3` under an `h2`. In a busy feed, `titleAs=\"p\"` makes them plain lines.\n- **States in words and shapes:** the current item has `aria-current=\"step\"`. A completed item's\n title ends with \"completed\", an upcoming one's with \"upcoming\", and the pending one's with \"in\n progress\", in visually hidden text, so its heading reads \"Packed completed\". Set the words in\n your app's language with `completedLabel`, `upcomingLabel` and `pendingLabel`. Each state has a\n shape of its own as well as a color.\n- **Contrast:** a marker with no `color`, in a record or not reached yet, is Bulma's `text-weak`,\n and progress and a `color` are drawn in the color's on-scheme lightness, the one Bulma adjusts\n for text on the scheme's background. A marker's ring or dot clears WCAG 1.4.11's 3:1 against\n Bulma's page background in light and dark mode. When a `Theme` changes a color's hue,\n saturation or lightness, set that color's on-scheme lightness with it, as\n [Label and Text Lightnesses](https://bestax.io/docs/api/helpers/theme#label-and-text-lightnesses) shows.\n- **Decoration:** the markers are hidden from assistive tech, an `Icon` with an `ariaLabel`\n included, and the line is drawn by CSS. Say what a color or an icon means in the title.\n- **The time:** a screen reader mostly reads the text, so the time's words carry the whole date.\n `dateTime` puts the same moment in a `<time datetime>` for machines, and for the readers that\n speak it.\n- **Motion:** the pending ring turns, and stands still for users who ask for less motion. Its open\n shape is the cue either way.\n- **In a colored Notification:** a timeline with no `color` draws its markers in the\n Notification's text color, as its titles are, so there its states differ by their shapes and by\n the line, which is drawn in that color up to the current item. A `color` you set is kept.\n- **Forced colors:** every line, dot, ring and halo is a border or an outline, so in Windows high\n contrast mode they keep their shapes, and the pending ring stays open.\n- **Not interactive and not live:** it has no tab stop and no keys, and links or buttons in an\n item work as they do anywhere. It announces nothing when it changes, so keep a status region\n beside one that changes on screen, as in [A Timeline That Changes](https://bestax.io/docs/api/components/timeline#a-timeline-that-changes).\n- **A record first:** design systems with user research behind them, the UK's\n [MOJ](https://design-patterns.service.justice.gov.uk/components/timeline/) and\n [HMRC](https://design.tax.service.gov.uk/hmrc-design-patterns/timeline/), use a timeline for a\n record and advise against using one as a progress indicator. That's why a record is the default.\n `active` is for something that moves on its own and is only reported to the user. For a journey\n the user moves through, where they may go back, use [`Steps`](https://bestax.io/docs/api/components/steps).",
50
50
  "related": ["Card", "Icon", "Steps", "Title", "useBulmaClasses"],
51
51
  "storybook": "https://bestax.io/storybook/?path=/story/components-timeline--default",
52
52
  "summary": "The `Timeline` component renders a list of events in the order they happened, each with a marker on a line down the side. By default it's a record, an order's history, a ticket's activity or a changelog, and it marks nothing. With `active` it marks progress, for something that moves along on its own and is reported to the user: a parcel, a deployment, a claim. That reads oldest first, and `pending` ends it on what's under way. A journey the user moves through themselves, like a wizard or a checkout, is `Steps`. It's an `<ol role=\"list\">`, so it stays a list in Safari with its numbers hidden, and each title is a heading at the level `titleAs` sets. The markers are decoration and hidden from assistive tech, so the states are read as words: `aria-current=\"step\"` on the current item, and \"completed\", \"upcoming\" or \"in progress\" after the other titles, in the language the label props set. Nothing here is a control or a live region, so a timeline that changes on screen keeps a `role=\"status\"` region beside it.",
@@ -117,7 +117,7 @@
117
117
  "name": "color",
118
118
  "type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
119
119
  "default": null,
120
- "description": "The markers' color, and the color of progress with `active`. Neutral without it, and Bulma's `link` for progress. Drawn in the color's on-scheme shade, the one Bulma adjusts to read on the page in either scheme, so a pale color such as `warning` is darker on a light page. The markers are hidden from assistive tech, so say what a color means in the words too.",
120
+ "description": "The markers' color, and the color of progress with `active`. Neutral without it, and Bulma's `link` for progress. Drawn in the color's on-scheme shade, the one Bulma adjusts to read on the page in either scheme, so a pale color such as `warning` is darker on a light page. The markers are hidden from assistive tech, so say what a color means in the words too. In a colored Notification, leave it off: the markers then take the Notification's text color, as the titles do, while a color you set is kept even where it doesn't stand out from the Notification's.",
121
121
  "required": false,
122
122
  "inherited": false,
123
123
  "deprecated": false
@@ -7,26 +7,26 @@ differ, not the vocabulary. What follows is only what actually changes.
7
7
 
8
8
  rbx mixes these into every component via `HelpersProps`.
9
9
 
10
- | rbx | bestax-bulma | note |
11
- | --------------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
12
- | `backgroundColor` | `bgColor` | rename only |
13
- | `textColor` | `textColor` | flagged on a component that takes none (`Tag`, `Table`, `Menu`, `Tabs`, `Hero`, `Input`, `Select`, `TextArea`, `File` and others) |
14
- | `textAlign` | `textAlign` | unchanged — both use `centered`/`justified`/`left`/`right` |
15
- | `textWeight` | `textWeight` | unchanged |
16
- | `textTransform` | `textTransform` | unchanged |
17
- | `textSize={4}` | `textSize="4"` | number → string |
18
- | `italic` | `textTransform="italic"` | |
19
- | `pull="left"` | `float="left"` | |
20
- | `clearfix`, `overlay`, `relative` | same | unchanged booleans |
21
- | `clipped` | `overflow="clipped"` | |
22
- | `hidden` | `visibility="hidden"` | |
23
- | `invisible` | `visibility="invisible"` | |
24
- | `srOnly` | `visibility="sr-only"` | |
25
- | `marginless` | `m="0"` | Bulma v1 removed `is-marginless` |
26
- | `paddingless` | `p="0"` | Bulma v1 removed `is-paddingless` |
27
- | `radiusless` | `radius="radiusless"` | |
28
- | `shadowless` | `shadow="shadowless"` | |
29
- | `unselectable` | `interaction="unselectable"` | |
10
+ | rbx | bestax-bulma | note |
11
+ | --------------------------------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
12
+ | `backgroundColor` | `bgColor` | kept as `backgroundColor` on a component that takes only that (`Tag`, `Menu`, `Dropdown`, `Input`, `Select`, `TextArea`, `File`), and flagged on one that takes neither (`Notification`, `Table`, `Tabs`, `Checkbox`, `Radio` and others) |
13
+ | `textColor` | `textColor` | flagged on a component that takes none (`Tag`, `Table`, `Menu`, `Tabs`, `Hero`, `Input`, `Select`, `TextArea`, `File` and others) |
14
+ | `textAlign` | `textAlign` | unchanged — both use `centered`/`justified`/`left`/`right` |
15
+ | `textWeight` | `textWeight` | unchanged |
16
+ | `textTransform` | `textTransform` | unchanged |
17
+ | `textSize={4}` | `textSize="4"` | number → string |
18
+ | `italic` | `textTransform="italic"` | |
19
+ | `pull="left"` | `float="left"` | |
20
+ | `clearfix`, `overlay`, `relative` | same | unchanged booleans |
21
+ | `clipped` | `overflow="clipped"` | |
22
+ | `hidden` | `visibility="hidden"` | |
23
+ | `invisible` | `visibility="invisible"` | |
24
+ | `srOnly` | `visibility="sr-only"` | |
25
+ | `marginless` | `m="0"` | Bulma v1 removed `is-marginless` |
26
+ | `paddingless` | `p="0"` | Bulma v1 removed `is-paddingless` |
27
+ | `radiusless` | `radius="radiusless"` | |
28
+ | `shadowless` | `shadow="shadowless"` | |
29
+ | `unselectable` | `interaction="unselectable"` | |
30
30
 
31
31
  Every name in rbx's `colors` and `shades` unions exists in bestax verbatim.
32
32
 
@@ -261,6 +261,7 @@ The same TODO marks a `Title` that sets `size` and `textSize` both: drop `size`
261
261
  | `prop:managed` | bestax components are uncontrolled; drive the `Modal` with `active` and `onClose` |
262
262
  | `prop:document` on `Modal` | bestax portals via `portal`, but it takes `true`, a selector or an element rather than a `Document` — see [Modal: what carries over](#modal-what-carries-over) |
263
263
  | `prop:document` on `Navbar` | bestax's `Navbar` has no `document` prop; drop it |
264
+ | `prop:backgroundColor` | `Notification`, `Table` and its parts, `Tabs`, `Checkbox`, `Radio`, `Progress` and the other components that take neither `bgColor` nor `backgroundColor` keep it as written; move the color to a `has-background-*` class in `className` |
264
265
  | `prop:textColor` | `Tag`, `Table` and its parts, `Menu` and its parts, `Tabs`, `Hero`, `Dropdown`, `Input`, `Select`, `TextArea`, `File` and the other components with no `textColor` keep it as written; move the color to a `has-text-*` class in `className` |
265
266
  | `badgeOutlined`, `badgeRounded`, `badgeSize` | bestax's `Badge` has no outline, pill or size variant |
266
267
  | `tooltipResponsive` | bestax's `Tooltip` has one `position` for all viewports |
@@ -6,28 +6,28 @@ this automatically for literal values; dynamic values get TODOs.
6
6
 
7
7
  ## Renames and value changes
8
8
 
9
- | RBC | bestax |
10
- | --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
11
- | `renderAs` | `as` — **only** where bestax declares one ([listed below](#renderas--as-and-the-props-that-follow-it)); elsewhere flagged |
12
- | `domRef` | flagged — rename to `ref` on the components that forward one, else use a DOM child |
13
- | `backgroundColor` | `bgColor` |
14
- | `textColor` | `textColor`, flagged on a component that takes none (`Tag`, `Table`, `Menu`, `Tabs`, `Hero`, `Input`, `Select`, `TextArea`, `File` and others) |
15
- | `colorVariant` | flagged — for `light`, use `isLight` or a color shade |
16
- | `textSize={4}` | `textSize="4"` (string union `'1'`–`'7'`) |
17
- | `textAlign="center"` | `textAlign="centered"` (`justify`→`justified`) |
18
- | `textFamily` | `fontFamily` |
19
- | `italic` | `textTransform="italic"` |
20
- | `m/mt/…/py={3}` | `m="3"` (string union `'0'`–`'6'`) |
21
- | `pull="right"` | `float="right"` |
22
- | `marginless` / `paddingless` | `m="0"` / `p="0"` |
23
- | `clipped` | `overflow="clipped"` |
24
- | `radiusless` / `shadowless` | `radius="radiusless"` / `shadow="shadowless"` |
25
- | `unselectable` | `interaction="unselectable"` |
26
- | `hidden` / `invisible` / `srOnly` | `visibility="hidden"` / `"invisible"` / `"sr-only"` |
27
- | `display="hidden"` | `visibility="hidden"` |
28
- | `display="relative"` | boolean `relative` |
29
- | flexbox props | same names/values (`flexDirection`, `justifyContent`, …) |
30
- | `clearfix`, `overlay` | same |
9
+ | RBC | bestax |
10
+ | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11
+ | `renderAs` | `as` — **only** where bestax declares one ([listed below](#renderas--as-and-the-props-that-follow-it)); elsewhere flagged |
12
+ | `domRef` | flagged — rename to `ref` on the components that forward one, else use a DOM child |
13
+ | `backgroundColor` | `bgColor`, or `backgroundColor` on a component that takes only that (`Tag`, `Menu`, `Dropdown`, `Input`, `Select`, `TextArea`, `File`), and flagged on one that takes neither (`Notification`, `Table`, `Tabs`, `Checkbox`, `Radio` and others) |
14
+ | `textColor` | `textColor`, flagged on a component that takes none (`Tag`, `Table`, `Menu`, `Tabs`, `Hero`, `Input`, `Select`, `TextArea`, `File` and others) |
15
+ | `colorVariant` | flagged — for `light`, use `isLight` or a color shade |
16
+ | `textSize={4}` | `textSize="4"` (string union `'1'`–`'7'`) |
17
+ | `textAlign="center"` | `textAlign="centered"` (`justify`→`justified`) |
18
+ | `textFamily` | `fontFamily` |
19
+ | `italic` | `textTransform="italic"` |
20
+ | `m/mt/…/py={3}` | `m="3"` (string union `'0'`–`'6'`) |
21
+ | `pull="right"` | `float="right"` |
22
+ | `marginless` / `paddingless` | `m="0"` / `p="0"` |
23
+ | `clipped` | `overflow="clipped"` |
24
+ | `radiusless` / `shadowless` | `radius="radiusless"` / `shadow="shadowless"` |
25
+ | `unselectable` | `interaction="unselectable"` |
26
+ | `hidden` / `invisible` / `srOnly` | `visibility="hidden"` / `"invisible"` / `"sr-only"` |
27
+ | `display="hidden"` | `visibility="hidden"` |
28
+ | `display="relative"` | boolean `relative` |
29
+ | flexbox props | same names/values (`flexDirection`, `justifyContent`, …) |
30
+ | `clearfix`, `overlay` | same |
31
31
 
32
32
  ## `renderAs` → `as`, and the props that follow it
33
33
 
@@ -183,6 +183,13 @@ bestax `Button` colors are the semantic set + `text`/`ghost`. For shades use
183
183
  - Bulma v1 removed `is-bold` hero gradients — delete `gradient` or restyle with CSS.
184
184
  - `halfheight` has no bestax size; use `size="medium"` or a CSS height.
185
185
 
186
+ ## `prop:backgroundColor` — a component with no background color prop
187
+
188
+ `backgroundColor` becomes `bgColor`, or stays `backgroundColor` on a component that takes only
189
+ that. `Notification`, `Table` and its parts, `Tabs`, `Checkbox`, `Radio`, `Progress`, the
190
+ `Modal.Card` parts and the other components that take neither keep it as written with a TODO:
191
+ move the color to a `has-background-*` class in `className`.
192
+
186
193
  ## `prop:textColor` — a component with no `textColor` prop
187
194
 
188
195
  `textColor` carries over as written, except on a component whose bestax props have none:
@@ -1069,6 +1069,11 @@ scales them all.
1069
1069
  `--bulma-timeline-time-color`, `--bulma-timeline-time-size`, `--bulma-timeline-title-color`,
1070
1070
  `--bulma-timeline-title-weight`
1071
1071
 
1072
+ In a colored `Notification`, a timeline with no color sets its neutral, active and icon colors to
1073
+ the Notification's text color and its marker and icon backgrounds to the Notification's
1074
+ background, unless it's on a Box or a Card there. To retheme one there, set these on the timeline
1075
+ itself, through its `style` or a class loaded after bestax's stylesheet, or give it a `color`.
1076
+
1072
1077
  ### Toast
1073
1078
 
1074
1079
  `--bulma-toast-action-hover-opacity`, `--bulma-toast-action-radius`,
@@ -111,7 +111,7 @@ Shades (`colorShade` / `backgroundColorShade`): `00, 05, 10, … 95, invert, lig
111
111
  | `Taginput` | `primary \| link \| info \| success \| warning \| danger` | `small \| medium \| large` | also `tagColor` (the 6 + `dark \| light`) for the tags |
112
112
  | `TextArea` | `primary \| link \| info \| success \| warning \| danger \| black \| dark \| light \| white` | `small \| medium \| large` | — |
113
113
  | `TimeInput` | `primary \| link \| info \| success \| warning \| danger` | `small \| medium \| large` | — |
114
- | `Timeline` | `primary \| link \| info \| success \| warning \| danger` (the markers and the progress, never the text) | no `size` (sized in `em`; size it with `textSize`) | `Timeline.Item` takes `color` too, over the root's; neutral with no `color`, and progress in `link`; retheme through `--bulma-timeline-*` |
114
+ | `Timeline` | `primary \| link \| info \| success \| warning \| danger` (the markers and the progress, never the text) | no `size` (sized in `em`; size it with `textSize`) | `Timeline.Item` takes `color` too, over the root's; with no `color`, neutral and progress in `link`, or in a colored Notification its text color; retheme through `--bulma-timeline-*` |
115
115
  | `ToggleButton` | `primary \| link \| info \| success \| warning \| danger` | `small \| normal \| medium \| large` | fills only while pressed (default `link`); **no `isLight`/`isOutlined`/`isInverted`/`textColor`/`bgColor`** |
116
116
  | `Tooltip` | `primary \| link \| info \| success \| warning \| danger \| dark \| light` | `small \| medium \| large` | — |
117
117
  | `TreeSelect` | `primary \| link \| info \| success \| warning \| danger` (the field) | `small \| medium \| large` | sizes the field and the tree; the panel is the picker popover's, the tree `TreeView`'s; `--bulma-tree-select-*` |
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": 17819
131
+ "bytes": 19899
132
132
  },
133
133
  {
134
134
  "id": "rbx-unmappables",
135
135
  "file": "references/rbx/unmappables.md",
136
- "bytes": 17059
136
+ "bytes": 17359
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": 9007
146
+ "bytes": 11141
147
147
  },
148
148
  {
149
149
  "id": "react-bulma-components-unmappables",
150
150
  "file": "references/react-bulma-components/unmappables.md",
151
- "bytes": 15829
151
+ "bytes": 16243
152
152
  }
153
153
  ],
154
154
  "examples": []
@@ -176,7 +176,7 @@
176
176
  {
177
177
  "id": "css-variables",
178
178
  "file": "references/css-variables.md",
179
- "bytes": 76081
179
+ "bytes": 76461
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.51",
3
+ "version": "1.18.52",
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.68.1"
45
+ "@allxsmith/bestax-bulma": "^5.68.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.6.6",