bestax-mcp 1.18.49 → 1.18.50
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
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"code": "function example() {\n return (\n <Field\n horizontal\n label=\"Date\"\n labelProps={{ htmlFor: 'date-field-control' }}\n >\n <Field.Body>\n <Field>\n <Control iconLeftName=\"calendar-alt\">\n <DateInput id=\"date-field-control\" placeholder=\"YYYY-MM-DD\" />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n );\n}"
|
|
179
179
|
}
|
|
180
180
|
],
|
|
181
|
-
"accessibility": "- Trigger uses `role=\"combobox\"` with `aria-haspopup=\"dialog\"`, `aria-expanded`, and `aria-controls`.\n- Popover panel has `role=\"dialog\"` with an accessible name. Opening it puts focus on the focused date, month or year.\n- Closing the popover with `Escape` or a pick returns focus to the input, whether the input or the launcher opened it. Under `openOnFocus` that returning focus leaves the popover closed; focusing or clicking the input again opens it. Dismissing without a pick commits nothing: an empty field stays empty, and leaving afterwards commits only what you typed.\n- Calendar uses `role=\"grid\"` with cells as `role=\"gridcell\"`. Its first row holds the weekday names as `role=\"columnheader\"`s, each named by the full weekday in the picker's locale, so a screen reader can name the weekday as focus moves to another column. A server-rendered calendar adds those full names once the page hydrates, and with `dayNames` the columns are named by the names you give instead. Each day keeps its number as its name.\n- Cells expose `aria-selected`, `aria-disabled`, and `aria-current=\"date\"` for today. On a server-rendered page, today's day, month and year get it once the page hydrates, so the reader's clock decides which.\n- A `disabled` inline calendar puts `aria-disabled=\"true\"` on its grid or year list and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` on the grid or year list it picks from, and keeps its tab stop and keys.\n- Roving `tabindex` keeps a single grid cell focusable at a time, and focus moves with it, inline as in the popover. When the focused date is disabled, that cell is the nearest enabled day of the month.\n- The month grid is a `role=\"grid\"` of `role=\"row\"`s, labelled by the year in its header. Each month cell carries the full month name as its accessible name, `aria-current=\"date\"` for this month and `aria-disabled` for a month with no selectable day.\n- The year list is a `role=\"listbox\"
|
|
181
|
+
"accessibility": "- Trigger uses `role=\"combobox\"` with `aria-haspopup=\"dialog\"`, `aria-expanded`, and `aria-controls`.\n- Popover panel has `role=\"dialog\"` with an accessible name. Opening it puts focus on the focused date, month or year.\n- Closing the popover with `Escape` or a pick returns focus to the input, whether the input or the launcher opened it. Under `openOnFocus` that returning focus leaves the popover closed; focusing or clicking the input again opens it. Dismissing without a pick commits nothing: an empty field stays empty, and leaving afterwards commits only what you typed.\n- Calendar uses `role=\"grid\"` with cells as `role=\"gridcell\"`. Its first row holds the weekday names as `role=\"columnheader\"`s, each named by the full weekday in the picker's locale, so a screen reader can name the weekday as focus moves to another column. A server-rendered calendar adds those full names once the page hydrates, and with `dayNames` the columns are named by the names you give instead. Each day keeps its number as its name.\n- Cells expose `aria-selected`, `aria-disabled`, and `aria-current=\"date\"` for today. On a server-rendered page, today's day, month and year get it once the page hydrates, so the reader's clock decides which.\n- A `disabled` inline calendar puts `aria-disabled=\"true\"` on its grid or year list and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` on the grid or year list it picks from, and keeps its tab stop and keys.\n- Roving `tabindex` keeps a single grid cell focusable at a time, and focus moves with it, inline as in the popover. When the focused date is disabled, that cell is the nearest enabled day of the month.\n- The month grid is a `role=\"grid\"` of `role=\"row\"`s, labelled by the year in its header. Each month cell carries the full month name as its accessible name, `aria-current=\"date\"` for this month and `aria-disabled` for a month with no selectable day.\n- The year list is a `role=\"listbox\"`, named by the `chooseYear` label where it is the selection surface and by the heading that opens it otherwise. As the selection surface its options take `aria-selected` from the value's year rather than from focus, which roves through the list. When the focused year is disabled, the nearest enabled year takes the tab stop, so `Tab` still reaches the list.\n- The launcher and popover are named \"Choose month\" or \"Choose year\" to match the granularity; override them, and the month grid's \"Previous year\" / \"Next year\" buttons, through `labels` (`chooseMonth`, `chooseYear`, `prevYear`, `nextYear`).\n- Honors `prefers-reduced-motion` (skip popover fade-in).\n- On a right-to-left page the launcher sits at the end of the line and the calendar icon at the start, and the previous-month chevron points right. The month names follow the page.",
|
|
182
182
|
"related": ["DateTimeInput", "Input", "TimeInput"],
|
|
183
183
|
"storybook": "https://bestax.io/storybook/?path=/story/form-dateinput",
|
|
184
184
|
"summary": "The `DateInput` component is a form input that opens a popover calendar for date selection.",
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
"name": "monthNames",
|
|
628
628
|
"type": "string[]",
|
|
629
629
|
"default": null,
|
|
630
|
-
"description": "Override the 12 month-name labels.",
|
|
630
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
631
631
|
"required": false,
|
|
632
632
|
"inherited": true,
|
|
633
633
|
"deprecated": false
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"name": "monthNames",
|
|
991
991
|
"type": "string[]",
|
|
992
992
|
"default": null,
|
|
993
|
-
"description": "Override the 12 month-name labels.",
|
|
993
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
994
994
|
"required": false,
|
|
995
995
|
"inherited": false,
|
|
996
996
|
"deprecated": false
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
"name": "monthNames",
|
|
496
496
|
"type": "string[]",
|
|
497
497
|
"default": null,
|
|
498
|
-
"description": "Override the 12 month-name labels.",
|
|
498
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
499
499
|
"required": false,
|
|
500
500
|
"inherited": true,
|
|
501
501
|
"deprecated": false
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
"name": "monthNames",
|
|
886
886
|
"type": "string[]",
|
|
887
887
|
"default": null,
|
|
888
|
-
"description": "Override the 12 month-name labels.",
|
|
888
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
889
889
|
"required": false,
|
|
890
890
|
"inherited": false,
|
|
891
891
|
"deprecated": false
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
"name": "monthNames",
|
|
611
611
|
"type": "string[]",
|
|
612
612
|
"default": null,
|
|
613
|
-
"description": "Override the 12 month-name labels.",
|
|
613
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
614
614
|
"required": false,
|
|
615
615
|
"inherited": true,
|
|
616
616
|
"deprecated": false
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
"name": "monthNames",
|
|
1037
1037
|
"type": "string[]",
|
|
1038
1038
|
"default": null,
|
|
1039
|
-
"description": "Override the 12 month-name labels.",
|
|
1039
|
+
"description": "Override the 12 month-name labels. With them the day grid's heading reads the name, a space and the year, whatever order the locale writes a month and its year in.",
|
|
1040
1040
|
"required": false,
|
|
1041
1041
|
"inherited": false,
|
|
1042
1042
|
"deprecated": false
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"code": "<Steps value={1}>\n <Steps.Step label=\"Account\" />\n <Steps.Step label=\"Profile\" />\n <Steps.Step label=\"Complete\" />\n</Steps>"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"accessibility": "- The active step has `aria-current=\"step\"`, on its list item, or on its button when it's clickable\n- A clickable step stays a list item and puts its marker and label in a `<button type=\"button\">` inside it, so the list keeps its list items and assistive technology can count them. The button takes Tab, Enter and Space, and the focus ring goes around the whole step, which is what you can click\n- The list has `role=\"list\"`. That's the role a `<ul>` already has, set again for Safari, whose WebKit stops exposing a `<ul>` as a list once its markers are hidden, as they are here, unless the role is written out\n- Use descriptive labels for each step\n- The step markers show completion state with checkmarks\n- In forced colors (Windows' contrast themes), the lines and a completed step's fill are drawn in the theme's text color, and the current step's marker gets an outline, so completed, current and upcoming steps still look different without color",
|
|
49
|
+
"accessibility": "- The active step has `aria-current=\"step\"`, on its list item, or on its button when it's clickable\n- A clickable step stays a list item and puts its marker and label in a `<button type=\"button\">` inside it, so the list keeps its list items and assistive technology can count them. The button takes Tab, Enter and Space, and the focus ring goes around the whole step, which is what you can click\n- The list has `role=\"list\"`. That's the role a `<ul>` already has, set again for Safari, whose WebKit stops exposing a `<ul>` as a list once its markers are hidden, as they are here, unless the role is written out\n- Use descriptive labels for each step\n- The step markers show completion state with checkmarks\n- In forced colors (Windows' contrast themes), the lines and a completed step's fill are drawn in the theme's text color, and the current step's marker gets an outline, so completed, current and upcoming steps still look different without color\n- Steps with no `color` are drawn in Bulma's `text-weak`, and a `color` draws the current and completed steps in its `-on-scheme` variant, the one Bulma adjusts for text on the scheme's background, with a completed step's mark in the page's color. A step's number clears WCAG's 4.5:1, and its marker 3:1, against Bulma's page background in light and dark mode. When a `Theme` changes a color's hue, saturation or lightness, set that color's on-scheme lightness with it, as [Label and Text Lightnesses](https://bestax.io/docs/api/helpers/theme#label-and-text-lightnesses) shows",
|
|
50
50
|
"related": ["Progress", "Timeline"],
|
|
51
51
|
"storybook": "https://bestax.io/storybook/?path=/story/components-steps",
|
|
52
52
|
"summary": "The `Steps` component provides a multi-step progress indicator for wizard flows, checkout processes, or any multi-step workflow.",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"name": "color",
|
|
91
91
|
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
92
92
|
"default": null,
|
|
93
|
-
"description": "Color variant.",
|
|
93
|
+
"description": "Color variant. The current and completed steps take the color's `-on-scheme` variant, the shade Bulma adjusts to read on the page in either scheme, so a pale color such as `warning` is drawn darker on a light page.",
|
|
94
94
|
"required": false,
|
|
95
95
|
"inherited": false,
|
|
96
96
|
"deprecated": false
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
{
|
|
372
372
|
"css": "--bulma-steps-default-color",
|
|
373
373
|
"sass": "$steps-default-color",
|
|
374
|
-
"default": "var(--bulma-
|
|
374
|
+
"default": "var(--bulma-text-weak)",
|
|
375
375
|
"scope": "root"
|
|
376
376
|
},
|
|
377
377
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bestax-mcp",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.50",
|
|
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,13 +42,13 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
44
44
|
"zod": "^4.6.7",
|
|
45
|
-
"@allxsmith/bestax-bulma": "^5.67.
|
|
45
|
+
"@allxsmith/bestax-bulma": "^5.67.13"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^26.6.6",
|
|
49
|
-
"@vitest/coverage-istanbul": "^5.0
|
|
49
|
+
"@vitest/coverage-istanbul": "^5.1.0",
|
|
50
50
|
"typescript": "^6.0.3",
|
|
51
|
-
"vitest": "^5.0
|
|
51
|
+
"vitest": "^5.1.0"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|