bestax-mcp 1.18.48 → 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 +1 -1
- package/data/components/DateInput.json +3 -3
- package/data/components/DateRangeInput.json +2 -2
- package/data/components/DateTimeInput.json +2 -2
- package/data/components/Notification.json +3 -3
- package/data/components/Steps.json +3 -3
- package/data/components/Tag.json +3 -3
- package/data/components/Tags.json +2 -2
- package/data/skills/bestax-optimize/references/modular-build.md +10 -5
- package/data/skills/bestax-theming/references/css-variables.md +15 -6
- package/data/skills.json +2 -2
- package/package.json +4 -4
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
|
|
@@ -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`
|
|
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
|
|
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
|
|
@@ -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/data/components/Tag.json
CHANGED
|
@@ -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
|
|
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
|
|
238
|
-
|
|
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`
|
|
764
|
-
`--bulma-notification-color-l` to
|
|
765
|
-
`--bulma-dark-invert-l`, so it reads as a dark
|
|
766
|
-
|
|
767
|
-
`.notification.is-dark`, so set either
|
|
768
|
-
`--bulma-notification-*`
|
|
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":
|
|
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":
|
|
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.
|
|
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"
|