bestax-mcp 1.18.48 → 1.18.49

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.11"
5
+ "version": "5.67.12"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -34,7 +34,7 @@
34
34
  "code": "<Notification color=\"warning\">\n <Strong>Warning!</Strong> This notification contains{' '}\n <Link href=\"#\">custom content</Link>.\n</Notification>"
35
35
  }
36
36
  ],
37
- "accessibility": "- **Delete button:** Includes `aria-label=\"Close notification\"` for screen readers.\n- **Keyboard:** The delete button is focusable and can be activated by keyboard.\n- **Content:** Use semantic HTML within the notification for best accessibility.\n- **Contrast:** A dark notification's text reads against its background the way a dark `Button`'s does, in both color schemes. That comes from bestax's stylesheets, as the `color` prop's description says.\n- **Announcements:** A notification shown through `notification` announces its message. `danger` and `warning` announce themselves: the message carries `role=\"alert\"` with `aria-live=\"assertive\"`, which screen readers reliably announce even though it arrives with its text. The rest are announced politely through a visually hidden `role=\"status\"` region that `NotificationContainer` keeps in the page from the moment it mounts, even with nothing showing, because a polite region that arrives already holding its text often isn't announced. A moment after one of those notifications appears, its message is written into the region, then cleared again shortly after.\n- **Testing:** A polite notification's message doesn't carry `role=\"status\"`, so `getByRole('status')` finds the container's region rather than the notification. Query the message text or `.notification` instead. A count or text [`Badge`](https://bestax.io/docs/api/components/badge) is a `role=\"status\"` node too, so with both on the page `getByRole('status')` matches more than one: find the badge by its accessible name, or use `getAllByRole`. While a message is in the region, the page also holds a second copy of its text, so a test that advances the clock past the announcement and then looks the message up by text can find both, and can still find the region's copy for a moment after the notification closes. Scope that query to the notification, for example with `within`.\n\n:::tip\nAlways provide clear, actionable text inside notifications.\n:::",
37
+ "accessibility": "- **Delete button:** Includes `aria-label=\"Close notification\"` for screen readers.\n- **Keyboard:** The delete button is focusable and can be activated by keyboard.\n- **Content:** Use semantic HTML within the notification for best accessibility.\n- **Contrast:** A dark or light notification's text reads against its background the way a dark or light `Button`'s does, in both color schemes. That comes from bestax's stylesheets, as the `color` prop's description says.\n- **Announcements:** A notification shown through `notification` announces its message. `danger` and `warning` announce themselves: the message carries `role=\"alert\"` with `aria-live=\"assertive\"`, which screen readers reliably announce even though it arrives with its text. The rest are announced politely through a visually hidden `role=\"status\"` region that `NotificationContainer` keeps in the page from the moment it mounts, even with nothing showing, because a polite region that arrives already holding its text often isn't announced. A moment after one of those notifications appears, its message is written into the region, then cleared again shortly after.\n- **Testing:** A polite notification's message doesn't carry `role=\"status\"`, so `getByRole('status')` finds the container's region rather than the notification. Query the message text or `.notification` instead. A count or text [`Badge`](https://bestax.io/docs/api/components/badge) is a `role=\"status\"` node too, so with both on the page `getByRole('status')` matches more than one: find the badge by its accessible name, or use `getAllByRole`. While a message is in the region, the page also holds a second copy of its text, so a test that advances the clock past the announcement and then looks the message up by text can find both, and can still find the region's copy for a moment after the notification closes. Scope that query to the notification, for example with `within`.\n\n:::tip\nAlways provide clear, actionable text inside notifications.\n:::",
38
38
  "related": ["Delete", "useBulmaClasses"],
39
39
  "storybook": "https://bestax.io/storybook/?path=/story/elements-notification--default",
40
40
  "summary": "The `Notification` component is a Bulma-styled alert/message area for providing feedback, warnings, or information to users.",
@@ -60,7 +60,7 @@
60
60
  "name": "color",
61
61
  "type": "Bulma color",
62
62
  "default": null,
63
- "description": "Bulma color modifier for the notification (renders `is-<color>`). Only `primary`, `link`, `info`, `success`, `warning`, `danger`, `black`, `white`, `light`, and `dark` have shipped CSS for `.notification`. Every other value the union accepts emits a class no CSS rule matches, so the notification renders unstyled; those log a console warning in development and will be removed from this union in the next major version. `dark` takes the dark color's own text and background from bestax's stylesheets, as a dark `Button` has. With Bulma's CSS alone, a dark notification's text inherits the color around it, which on a light page is one shade off its background.",
63
+ "description": "Bulma color modifier for the notification (renders `is-<color>`). Only `primary`, `link`, `info`, `success`, `warning`, `danger`, `black`, `white`, `light`, and `dark` have shipped CSS for `.notification`. Every other value the union accepts emits a class no CSS rule matches, so the notification renders unstyled; those log a console warning in development and will be removed from this union in the next major version. `dark` and `light` take their color's own text and background from bestax's stylesheets, as a dark or light `Button` has. With Bulma's CSS alone, their text inherits the color around it, which on a light page is one shade off a dark notification's background, and on a dark page is hard to read on a light one.",
64
64
  "required": false,
65
65
  "inherited": false,
66
66
  "deprecated": false,
@@ -80,7 +80,7 @@
80
80
  "name": "isLight",
81
81
  "type": "boolean",
82
82
  "default": "false",
83
- "description": "Use the light color variant. The dark color has none, so `color=\"dark\"` with `isLight` looks the same as without it, as a dark `Button` does.",
83
+ "description": "Use the light color variant. The light and dark colors have none, so `color=\"light\"` or `color=\"dark\"` with `isLight` looks the same as without it, as a light or dark `Button` does.",
84
84
  "required": false,
85
85
  "inherited": false,
86
86
  "deprecated": false
@@ -45,7 +45,7 @@
45
45
  "code": "import { Tags, Delete } from '@allxsmith/bestax-bulma';\n\n<Tags hasAddons>\n <Tag color=\"primary\" size=\"medium\">\n Tag with Delete\n <Delete onClick={() => alert('Tag deleted!')} />\n </Tag>\n</Tags>;"
46
46
  }
47
47
  ],
48
- "accessibility": "- **Delete buttons:** Use `aria-label` for delete tags for screen readers.\n- **Keyboard:** Delete tags are rendered as `<button>`, supporting keyboard activation.\n- **Semantics:** Use tags for supplemental information, not as primary headings.\n\n:::tip\nCombine `Tag` with `Tags` for grouped, multi-tag UIs.\n:::",
48
+ "accessibility": "- **Delete buttons:** Use `aria-label` for delete tags for screen readers.\n- **Keyboard:** Delete tags are rendered as `<button>`, supporting keyboard activation.\n- **Semantics:** Use tags for supplemental information, not as primary headings.\n- **Contrast:** A light tag's text reads against its background the way a light `Button`'s does, in both color schemes. That comes from bestax's stylesheets, as the `color` prop's description says.\n\n:::tip\nCombine `Tag` with `Tags` for grouped, multi-tag UIs.\n:::",
49
49
  "related": ["Delete", "Tags", "useBulmaClasses"],
50
50
  "storybook": "https://bestax.io/storybook/?path=/story/elements-tag--default",
51
51
  "summary": "The `Tag` component renders a Bulma-styled label or badge.",
@@ -71,7 +71,7 @@
71
71
  "name": "color",
72
72
  "type": "TagColor",
73
73
  "default": null,
74
- "description": "Bulma color modifier for the tag.",
74
+ "description": "Bulma color modifier for the tag. `light` takes the light color's own text from bestax's stylesheets. With Bulma's CSS alone, a light tag's text inherits the color around it, which on a dark page is hard to read.",
75
75
  "required": false,
76
76
  "inherited": false,
77
77
  "deprecated": false
@@ -89,7 +89,7 @@
89
89
  "name": "isLight",
90
90
  "type": "boolean",
91
91
  "default": "false",
92
- "description": "Use the light color variant.",
92
+ "description": "Use the light color variant. The light color has none, so `color=\"light\"` with `isLight` looks the same as without it.",
93
93
  "required": false,
94
94
  "inherited": false,
95
95
  "deprecated": false
@@ -120,7 +120,7 @@
120
120
  "name": "color",
121
121
  "type": "TagColor",
122
122
  "default": null,
123
- "description": "Bulma color modifier for the tag.",
123
+ "description": "Bulma color modifier for the tag. `light` takes the light color's own text from bestax's stylesheets. With Bulma's CSS alone, a light tag's text inherits the color around it, which on a dark page is hard to read.",
124
124
  "required": false,
125
125
  "inherited": false,
126
126
  "deprecated": false
@@ -138,7 +138,7 @@
138
138
  "name": "isLight",
139
139
  "type": "boolean",
140
140
  "default": "false",
141
- "description": "Use the light color variant.",
141
+ "description": "Use the light color variant. The light color has none, so `color=\"light\"` with `isLight` looks the same as without it.",
142
142
  "required": false,
143
143
  "inherited": false,
144
144
  "deprecated": false
@@ -94,7 +94,7 @@ is **more complete** than the docs page's Option C example, which omits several)
94
94
 
95
95
  **Elements** (`@allxsmith/bestax-bulma/scss/elements/<name>`): `button`, `colorswatch`,
96
96
  `delete`, `descriptionlist`, `iconbutton`, `kbd`, `linkbutton`, `loader`, `notification`,
97
- `progress`, `ringprogress`, `skeleton`, `stat`
97
+ `progress`, `ringprogress`, `skeleton`, `stat`, `tag`
98
98
 
99
99
  **Helpers** (`@allxsmith/bestax-bulma/scss/helpers/<name>`): `cursor`, `sizing`
100
100
 
@@ -232,10 +232,15 @@ Notes:
232
232
  `prefers-reduced-motion: reduce`, the same way and in either order.
233
233
  - `Notification` is stock Bulma too (`bulma/sass/elements/notification`). The `notification`
234
234
  extras partial pads the end of one with a close button (`hasDelete`, or a `Delete` passed in)
235
- so its text clears the button, and gives a dark one the dark color's own text and background,
236
- where Bulma's module lets its text inherit the color around it. Include it
237
- (`as bestax-notification`) next to the Bulma module in any build that shows a dismissible or a
238
- dark notification. It doesn't depend on the order of the two `@use` lines either.
235
+ so its text clears the button, and gives a dark or light one its color's own text and
236
+ background, where Bulma's module lets its text inherit the color around it. Include it
237
+ (`as bestax-notification`) next to the Bulma module in any build that shows a dismissible, dark
238
+ or light notification. It doesn't depend on the order of the two `@use` lines either.
239
+ - `Tag` is stock Bulma too (`bulma/sass/elements/tag`). The `tag` extras partial gives a light tag
240
+ the light color's own text, where Bulma's module lets its text inherit the color around it, which
241
+ on the dark scheme leaves it hard to read. Include it (`as bestax-tag`) next to the Bulma module
242
+ in any build that shows a light tag. It doesn't depend on the order of the two `@use` lines
243
+ either.
239
244
  - `Delete` is stock Bulma too, and it's the close button of `Notification`, `Message`, `Toast`, a
240
245
  `Modal` card, `AppFrame`'s drawer and the tags of `Taginput`, `Combobox`, `Dropzone` and
241
246
  `TreeSelect`. Bulma draws it in `bulma/sass/elements/delete`, and the modules of the components
@@ -760,12 +760,13 @@ passed as a direct child in browsers that support `:has()`. It is the padding fo
760
760
  button: a `Delete` passed in with a `size` gets it plus or minus the difference between the two
761
761
  sizes.
762
762
 
763
- A dark notification, with or without `isLight`, sets `--bulma-notification-background-l` and
764
- `--bulma-notification-color-l` to the dark color's own `--bulma-dark-l` and
765
- `--bulma-dark-invert-l`, so it reads as a dark button does. Bulma's dark variant of the dark color
766
- would otherwise give it text that inherits the color around it. That rule outranks a selector like
767
- `.notification.is-dark`, so set either variable on a dark notification through `style`. Bulma's own
768
- `--bulma-notification-*` variables set the rest.
763
+ A dark or light notification, with or without `isLight`, sets `--bulma-notification-background-l`
764
+ and `--bulma-notification-color-l` to that color's own `--bulma-dark-l` and
765
+ `--bulma-dark-invert-l`, or `--bulma-light-l` and `--bulma-light-invert-l`, so it reads as a dark
766
+ or light button does. Bulma's own variant of that color would otherwise give it text that inherits
767
+ the color around it. Those rules outrank a selector like `.notification.is-dark`, so set either
768
+ variable on a dark or light notification through `style`. Bulma's own `--bulma-notification-*`
769
+ variables set the rest.
769
770
 
770
771
  ### Numberinput
771
772
 
@@ -1015,6 +1016,14 @@ set on the root itself, since its own declaration wins over one on an ancestor.
1015
1016
  `--bulma-tabs-content-padding`, `--bulma-tabs-vertical-border-color`,
1016
1017
  `--bulma-tabs-vertical-border-width`, `--bulma-tabs-vertical-min-width`
1017
1018
 
1019
+ ### Tag
1020
+
1021
+ A light tag, with or without `isLight`, sets `--bulma-tag-color-l` to the light color's own
1022
+ `--bulma-light-invert-l`, so its text reads as a light button's does. Bulma's light variant of the
1023
+ light color would otherwise give it text that inherits the color around it. That rule outranks a
1024
+ selector like `.tag.is-light`, so set the variable on a light tag through `style`. Bulma's own
1025
+ `--bulma-tag-*` variables set the rest.
1026
+
1018
1027
  ### Taginput
1019
1028
 
1020
1029
  `--bulma-taginput-background`, `--bulma-taginput-border-color`, `--bulma-taginput-border-radius`,
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": 20405
165
+ "bytes": 20823
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": 74918
179
+ "bytes": 75421
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.48",
3
+ "version": "1.18.49",
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.11"
45
+ "@allxsmith/bestax-bulma": "^5.67.12"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.6.6",