bestax-mcp 1.18.41 → 1.18.42

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.
Files changed (36) hide show
  1. package/data/bulma-classes.json +3 -0
  2. package/data/catalog.json +65 -2
  3. package/data/components/Combobox.json +1 -1
  4. package/data/components/Control.json +6 -6
  5. package/data/components/DateInput.json +3 -3
  6. package/data/components/DateRangeInput.json +3 -3
  7. package/data/components/DateTimeInput.json +5 -5
  8. package/data/components/Dropdown.json +3 -3
  9. package/data/components/Field.json +6 -6
  10. package/data/components/HoverCard.json +2 -2
  11. package/data/components/Notification.json +3 -3
  12. package/data/components/Slider.json +1 -1
  13. package/data/components/Tabs.json +2 -2
  14. package/data/components/TextArea.json +1 -1
  15. package/data/components/TimeInput.json +3 -3
  16. package/data/components/useBulmaClasses.json +3 -3
  17. package/data/skills/bestax-form/references/api.md +5 -2
  18. package/data/skills/bestax-migrate/references/bulma-classes/unmappables.md +27 -0
  19. package/data/skills/bestax-migrate/references/rbx/unmappables.md +5 -2
  20. package/data/skills/bestax-migrate/references/react-bulma-components/component-map.md +34 -34
  21. package/data/skills/bestax-migrate/references/react-bulma-components/unmappables.md +20 -4
  22. package/data/skills/bestax-optimize/references/modular-build.md +4 -3
  23. package/data/skills/bestax-theming/references/css-variables.md +8 -1
  24. package/data/skills.json +7 -7
  25. package/dist/data.d.ts +13 -6
  26. package/dist/data.d.ts.map +1 -1
  27. package/dist/data.js +24 -21
  28. package/dist/format.d.ts +11 -1
  29. package/dist/format.d.ts.map +1 -1
  30. package/dist/format.js +24 -1
  31. package/dist/search.d.ts +7 -0
  32. package/dist/search.d.ts.map +1 -1
  33. package/dist/search.js +9 -0
  34. package/dist/server.d.ts.map +1 -1
  35. package/dist/server.js +75 -13
  36. package/package.json +2 -2
@@ -9697,6 +9697,9 @@
9697
9697
  },
9698
9698
  "legacy": {
9699
9699
  "tile": "Bulma v1 removed tiles; rebuild the layout with `Grid` and `Cell` (see the Bulma 0.9 to 1 guide)",
9700
+ "heading": "Bulma v1 dropped the `.heading` styles, so unless the project's own CSS gives `heading` a rule, it styles nothing now; restyle it with bestax helpers (e.g. `<Paragraph textSize=\"7\" textTransform=\"uppercase\" textWeight=\"semibold\" mb=\"1\">`) or a `.heading` rule of your own",
9701
+ "number": "Bulma v1 dropped `.number`, Bulma 0.9's rounded badge, so unless the project's own CSS gives `number` a rule (a code highlighter's does for `token number`), it styles nothing now; if the element needs that badge, give it a rule of your own",
9702
+ "is-variable": "Bulma v1 removed `is-variable`, so it styles nothing now; drop it, since v1's `is-0` to `is-8` set the gap of a `.columns` without it (bestax `Columns` writes them from its `gap` prop)",
9700
9703
  "is-marginless": "Bulma v1 removed `is-marginless`, so it styles nothing now; write v1's `m-0` in its place, or `m=\"0\"` on a bestax component. The codemod does that itself wherever the element converts",
9701
9704
  "is-paddingless": "Bulma v1 removed `is-paddingless`, so it styles nothing now; write v1's `p-0` in its place, or `p=\"0\"` on a bestax component. The codemod does that itself wherever the element converts"
9702
9705
  },
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.3"
5
+ "version": "5.67.5"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -3973,6 +3973,69 @@
3973
3973
  "component": "TreeView",
3974
3974
  "path": "TreeView.Item",
3975
3975
  "purpose": "One item in the tree: a row with its chevron, its box, its icon and its label, and, while it's open, a group of the items under it."
3976
- }
3976
+ },
3977
+ "createPrefixedClassNames": {
3978
+ "component": "usePrefixedClassNames",
3979
+ "purpose": "Bind the prefix once and reuse the returned function.",
3980
+ "section": "Reusable prefixer: `createPrefixedClassNames`"
3981
+ },
3982
+ "dialog": {
3983
+ "component": "Dialog",
3984
+ "purpose": "For showing dialogs from anywhere in your app, use the programmatic API.",
3985
+ "section": "Programmatic API"
3986
+ },
3987
+ "notification": {
3988
+ "component": "Notification",
3989
+ "purpose": "To show a notification from anywhere in your app, not just where you render one, use the `notification` API.",
3990
+ "section": "Programmatic API"
3991
+ },
3992
+ "prefixedClassNames": {
3993
+ "component": "usePrefixedClassNames",
3994
+ "purpose": "When you already know the prefix (or might not have one), pass it as the first argument.",
3995
+ "section": "Outside a component: `prefixedClassNames`"
3996
+ },
3997
+ "toast": {
3998
+ "component": "Toast",
3999
+ "purpose": "For showing toasts from anywhere in your app, use the programmatic API.",
4000
+ "section": "Programmatic API"
4001
+ },
4002
+ "useAppFrame": {
4003
+ "component": "AppFrame",
4004
+ "purpose": "`useAppFrame()` gives a control inside the frame the same state the burger has: `navOpen`, `navCollapsed`, `isDrawer`, a setter for each, `navId` for its…",
4005
+ "section": "A Toggle of Your Own"
4006
+ },
4007
+ "useConfig": {
4008
+ "component": "ConfigProvider",
4009
+ "purpose": "Returns the current configuration context values.",
4010
+ "section": "useConfig"
4011
+ },
4012
+ "useDataTable": {
4013
+ "component": "DataTable",
4014
+ "purpose": "`useDataTable` takes the same columns, data and state options as `DataTable` and returns the table.",
4015
+ "section": "The useDataTable Hook"
4016
+ },
4017
+ "useIsHydrated": {
4018
+ "component": "ClientOnly",
4019
+ "purpose": "Returns `false` during server rendering and during the hydrating client render, then `true` from the commit that follows.",
4020
+ "section": "useIsHydrated"
4021
+ },
4022
+ "useLocale": {
4023
+ "component": "LocaleProvider",
4024
+ "purpose": "Returns the `locale` and `dir` the nearest provider sets, both `undefined` outside one.",
4025
+ "section": "useLocale"
4026
+ },
4027
+ "useNumberFormat": {
4028
+ "component": "NumberFormatter",
4029
+ "purpose": "`useNumberFormat` returns a function that writes numbers the way `NumberFormatter` does, for the text JSX can't hold an element in: an `aria-label`, a…",
4030
+ "section": "The useNumberFormat Hook"
4031
+ },
4032
+ "useScrollSpy": {
4033
+ "component": "TableOfContents",
4034
+ "purpose": "`useScrollSpy` is what picks the current section, and it returns its id, or `null`.",
4035
+ "section": "The useScrollSpy Hook"
4036
+ },
4037
+ "validColors": { "component": "Valid value constants", "purpose": "" },
4038
+ "validSizes": { "component": "Valid value constants", "purpose": "" },
4039
+ "validViewports": { "component": "Valid value constants", "purpose": "" }
3977
4040
  }
3978
4041
  }
@@ -313,7 +313,7 @@
313
313
  "name": "position",
314
314
  "type": "'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'auto'",
315
315
  "default": "'bottom-left'",
316
- "description": "Where the menu opens against the field: below (`bottom-*`) or above (`top-*`), lined up with its left or right edge. `auto` picks the one that keeps the list in the viewport, preferring below. The same union Popover takes.",
316
+ "description": "Where the menu opens against the field: below (`bottom-*`) or above (`top-*`), lined up with its left or right edge. `auto` picks the one that keeps the list in the viewport, preferring below. The same union Popover takes. Left out, it opens below and lines up with the field's start edge, which is its right edge on a right-to-left page, so a menu wider than the field doesn't hang off the screen. A corner you pass stays physical, so `bottom-left` lines up the left edges on either page.",
317
317
  "required": false,
318
318
  "inherited": true,
319
319
  "deprecated": false
@@ -97,7 +97,7 @@
97
97
  "name": "hasIconsLeft",
98
98
  "type": "boolean",
99
99
  "default": "false",
100
- "description": "Adds left icon container.",
100
+ "description": "Adds left icon container. Over a `TextArea` the icon covers the text.",
101
101
  "required": false,
102
102
  "inherited": true,
103
103
  "deprecated": false
@@ -106,7 +106,7 @@
106
106
  "name": "hasIconsRight",
107
107
  "type": "boolean",
108
108
  "default": "false",
109
- "description": "Adds right icon container.",
109
+ "description": "Adds right icon container. Over a `TextArea` the icon covers the text.",
110
110
  "required": false,
111
111
  "inherited": true,
112
112
  "deprecated": false
@@ -171,7 +171,7 @@
171
171
  "name": "iconLeft",
172
172
  "type": "IconProps | React.ReactNode",
173
173
  "default": null,
174
- "description": "Icon props for left icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
174
+ "description": "Icon props for left icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Over a `TextArea` the icon covers the text. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
175
175
  "required": false,
176
176
  "inherited": true,
177
177
  "deprecated": false
@@ -180,7 +180,7 @@
180
180
  "name": "iconRight",
181
181
  "type": "IconProps | React.ReactNode",
182
182
  "default": null,
183
- "description": "Icon props for right icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
183
+ "description": "Icon props for right icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Over a `TextArea` the icon covers the text. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
184
184
  "required": false,
185
185
  "inherited": true,
186
186
  "deprecated": false
@@ -189,7 +189,7 @@
189
189
  "name": "iconLeftName",
190
190
  "type": "string",
191
191
  "default": null,
192
- "description": "Shortcut for left icon name.",
192
+ "description": "Shortcut for left icon name. Over a `TextArea` the icon covers the text.",
193
193
  "required": false,
194
194
  "inherited": true,
195
195
  "deprecated": false
@@ -207,7 +207,7 @@
207
207
  "name": "iconRightName",
208
208
  "type": "string",
209
209
  "default": null,
210
- "description": "Shortcut for right icon name.",
210
+ "description": "Shortcut for right icon name. Over a `TextArea` the icon covers the text.",
211
211
  "required": false,
212
212
  "inherited": true,
213
213
  "deprecated": false
@@ -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\"`.\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. 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.",
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. 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.",
@@ -618,7 +618,7 @@
618
618
  "name": "dayNames",
619
619
  "type": "string[]",
620
620
  "default": null,
621
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
621
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
622
622
  "required": false,
623
623
  "inherited": true,
624
624
  "deprecated": false
@@ -980,7 +980,7 @@
980
980
  "name": "dayNames",
981
981
  "type": "string[]",
982
982
  "default": null,
983
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
983
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
984
984
  "required": false,
985
985
  "inherited": false,
986
986
  "deprecated": false
@@ -46,7 +46,7 @@
46
46
  "code": "<Field label=\"Leave\">\n <Control iconLeftName=\"calendar-alt\">\n <DateRangeInput />\n </Control>\n</Field>"
47
47
  }
48
48
  ],
49
- "accessibility": "- The root is a `role=\"group\"` named by `label` through `aria-labelledby`, since the label names two inputs rather than one. Inside a labeled `Field`, that `Field`'s label names the group the same way, whether the `Field` holds `DateRangeInput` or a `DateRangeInputBase` you composed in a `Control` yourself, `inline` or not. An `aria-label` or `aria-labelledby` you give the group wins over either label.\n- Each input is a `role=\"combobox\"` with `aria-haspopup=\"dialog\"`, `aria-expanded` and `aria-controls`, and its own name: \"Start date\" or \"End date\", from the `labels` keys `rangeStart` and `rangeEnd`. The separator between them is hidden from assistive technology.\n- The popover is a `role=\"dialog\"` named \"Choose date range\" (`labels.chooseDateRange`). Opening it puts focus on the calendar's focused day, and closing it returns focus to the input you were last in, or to the start input.\n- The day grid is `aria-multiselectable`, and its days sit in a `role=\"row\"` per week. Every day of the range is `aria-selected`, both ends included. While the end is still being picked, only the start is: the preview is not a selection.\n- A `disabled` inline calendar puts `aria-disabled=\"true\"` on its grid and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` there instead, keeps its tab stop and keys, and picks nothing.\n- The start and end days are described as \"Start date\" and \"End date\", so moving onto either says which it is. While the end is still being picked, the day the range would end on is described as \"Choose as end date\" (`labels.rangePreviewEnd`).\n- A polite live region in the calendar states the range in words, such as \"Start date: June 10, 2024, End date: June 13, 2024\", and announces each pick. The grid points at it too, so moving into the grid reads the current range.\n- Everything else is the calendar `DateInput` uses: a roving `tabindex`, `aria-disabled` on disabled days and `aria-current=\"date\"` on today.\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.",
49
+ "accessibility": "- The root is a `role=\"group\"` named by `label` through `aria-labelledby`, since the label names two inputs rather than one. Inside a labeled `Field`, that `Field`'s label names the group the same way, whether the `Field` holds `DateRangeInput` or a `DateRangeInputBase` you composed in a `Control` yourself, `inline` or not. An `aria-label` or `aria-labelledby` you give the group wins over either label.\n- Each input is a `role=\"combobox\"` with `aria-haspopup=\"dialog\"`, `aria-expanded` and `aria-controls`, and its own name: \"Start date\" or \"End date\", from the `labels` keys `rangeStart` and `rangeEnd`. The separator between them is hidden from assistive technology.\n- The popover is a `role=\"dialog\"` named \"Choose date range\" (`labels.chooseDateRange`). Opening it puts focus on the calendar's focused day, and closing it returns focus to the input you were last in, or to the start input.\n- The day grid is `aria-multiselectable`, and its days sit in a `role=\"row\"` per week. Every day of the range is `aria-selected`, both ends included. While the end is still being picked, only the start is: the preview is not a selection.\n- A `disabled` inline calendar puts `aria-disabled=\"true\"` on its grid and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` there instead, keeps its tab stop and keys, and picks nothing.\n- The start and end days are described as \"Start date\" and \"End date\", so moving onto either says which it is. While the end is still being picked, the day the range would end on is described as \"Choose as end date\" (`labels.rangePreviewEnd`).\n- A polite live region in the calendar states the range in words, such as \"Start date: June 10, 2024, End date: June 13, 2024\", and announces each pick. The grid points at it too, so moving into the grid reads the current range.\n- Everything else is the calendar `DateInput` uses: a roving `tabindex`, weekday column headers named in full (or by your `dayNames`), `aria-disabled` on disabled days and `aria-current=\"date\"` on today.\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.",
50
50
  "related": ["DateInput", "DateTimeInput", "Field"],
51
51
  "storybook": "https://bestax.io/storybook/?path=/story/form-daterangeinput",
52
52
  "summary": "The `DateRangeInput` component is a form input for a start and end date, picked from one popover calendar or typed into two segmented inputs.",
@@ -486,7 +486,7 @@
486
486
  "name": "dayNames",
487
487
  "type": "string[]",
488
488
  "default": null,
489
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
489
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
490
490
  "required": false,
491
491
  "inherited": true,
492
492
  "deprecated": false
@@ -875,7 +875,7 @@
875
875
  "name": "dayNames",
876
876
  "type": "string[]",
877
877
  "default": null,
878
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
878
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
879
879
  "required": false,
880
880
  "inherited": false,
881
881
  "deprecated": false
@@ -170,7 +170,7 @@
170
170
  "code": "<DateTimeInput label=\"Input only\" popover={false} defaultValue={new Date()} />"
171
171
  }
172
172
  ],
173
- "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.\n- Closing the popover with `Escape`, the ✓ button or `Enter` on a time wheel 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. Closing it commits nothing by itself: an empty field stays empty, and leaving afterwards commits only what you typed, so seconds the display leaves out are kept.\n- Calendar uses `role=\"grid\"`; cells expose `aria-selected`, `aria-disabled`, and `aria-current=\"date\"` for today. On a server-rendered page, today gets it once the page hydrates, so the reader's clock decides which day.\n- Roving `tabindex` keeps a single day 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- A `disabled` inline panel puts `aria-disabled=\"true\"` on its grid and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` there instead, and keeps its tab stop and keys.\n- Each time wheel uses `role=\"spinbutton\"` with `aria-valuemin`, `aria-valuemax`, `aria-valuenow`, and `aria-valuetext`. The values drawn above and below are click targets hidden from assistive technology, which reads the value from the spinbutton.\n- In a 12-hour picker, AM/PM is one of those wheels, reading `AM` or `PM`. Its accessible name is `AM/PM` unless `labels.ampm` sets another.\n- The footer's confirm button exposes an accessible label (`Done`); the Reset button reverts your edits to the value the popover opened with.\n- Tab order walks from the calendar to the footer (Reset / ✓), and from the time wheels to the footer while they are open.\n- On a right-to-left page the launcher sits at the end of the line and the calendar icon at the start. The time wheels keep `dir=\"ltr\"`.",
173
+ "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.\n- Closing the popover with `Escape`, the ✓ button or `Enter` on a time wheel 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. Closing it commits nothing by itself: an empty field stays empty, and leaving afterwards commits only what you typed, so seconds the display leaves out are kept.\n- Calendar uses `role=\"grid\"`. 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 gets it once the page hydrates, so the reader's clock decides which day.\n- Roving `tabindex` keeps a single day 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- A `disabled` inline panel puts `aria-disabled=\"true\"` on its grid and disables every button in it. A `readOnly` one puts `aria-readonly=\"true\"` there instead, and keeps its tab stop and keys.\n- Each time wheel uses `role=\"spinbutton\"` with `aria-valuemin`, `aria-valuemax`, `aria-valuenow`, and `aria-valuetext`. The values drawn above and below are click targets hidden from assistive technology, which reads the value from the spinbutton.\n- In a 12-hour picker, AM/PM is one of those wheels, reading `AM` or `PM`. Its accessible name is `AM/PM` unless `labels.ampm` sets another.\n- The footer's confirm button exposes an accessible label (`Done`); the Reset button reverts your edits to the value the popover opened with, or on an `inline` picker, to the one described under [Inline](https://bestax.io/docs/api/form/datetime/datetimeinput#inline).\n- Tab order walks from the calendar to the footer (Reset / ✓), and from the time wheels to the footer while they are open.\n- On a right-to-left page the launcher sits at the end of the line and the calendar icon at the start. The time wheels keep `dir=\"ltr\"`.",
174
174
  "related": ["DateInput", "Input", "TimeInput"],
175
175
  "storybook": "https://bestax.io/storybook/?path=/story/form-datetimeinput",
176
176
  "summary": "The `DateTimeInput` combines a calendar and a time **wheel spinner** in a single popover — an iOS-style layout.",
@@ -475,7 +475,7 @@
475
475
  "name": "inline",
476
476
  "type": "boolean",
477
477
  "default": "false",
478
- "description": "Render the panel inline (no popover). On a server-rendered page it marks today once the page hydrates, by the browser's clock rather than the server's. With no `value` or `defaultValue` it opens on the month the clock reads, and around the end of a month the server's clock and the browser's can read different months, so give it a date both render the same.",
478
+ "description": "Render the panel inline (no popover). On a server-rendered page it marks today once the page hydrates, by the browser's clock rather than the server's. With no `value` or `defaultValue` it opens on the month the clock reads, and around the end of a month the server's clock and the browser's can read different months, so give it a date both render the same. Reset in its footer goes back to the value it mounted with, or, when controlled, to the latest `value` the parent set other than an echo of `onChange`. The ✓ beside it has no popover to close.",
479
479
  "required": false,
480
480
  "inherited": true,
481
481
  "deprecated": false
@@ -601,7 +601,7 @@
601
601
  "name": "dayNames",
602
602
  "type": "string[]",
603
603
  "default": null,
604
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
604
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
605
605
  "required": false,
606
606
  "inherited": true,
607
607
  "deprecated": false
@@ -900,7 +900,7 @@
900
900
  "name": "inline",
901
901
  "type": "boolean",
902
902
  "default": "false",
903
- "description": "Render the panel inline (no popover). On a server-rendered page it marks today once the page hydrates, by the browser's clock rather than the server's. With no `value` or `defaultValue` it opens on the month the clock reads, and around the end of a month the server's clock and the browser's can read different months, so give it a date both render the same.",
903
+ "description": "Render the panel inline (no popover). On a server-rendered page it marks today once the page hydrates, by the browser's clock rather than the server's. With no `value` or `defaultValue` it opens on the month the clock reads, and around the end of a month the server's clock and the browser's can read different months, so give it a date both render the same. Reset in its footer goes back to the value it mounted with, or, when controlled, to the latest `value` the parent set other than an echo of `onChange`. The ✓ beside it has no popover to close.",
904
904
  "required": false,
905
905
  "inherited": false,
906
906
  "deprecated": false
@@ -1026,7 +1026,7 @@
1026
1026
  "name": "dayNames",
1027
1027
  "type": "string[]",
1028
1028
  "default": null,
1029
- "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day.",
1029
+ "description": "Override the 7 day-name labels (in calendar order, post-rotation). They are shown exactly as given, from the first column, so they have to start on the day the week does. With them, an unset `firstDayOfWeek` stays Sunday even inside a `LocaleProvider`, so names written Sunday first keep matching their columns; to start on the locale's day, set `firstDayOfWeek` too and list the names from that day. They also name the columns for assistive technology. Without them each column is named by its full weekday in the picker's locale, which a server-rendered calendar adds once the page hydrates.",
1030
1030
  "required": false,
1031
1031
  "inherited": false,
1032
1032
  "deprecated": false
@@ -42,17 +42,17 @@
42
42
  "code": "<Dropdown label=\"Dropdown Menu\" active>\n <Dropdown.Item>First Item</Dropdown.Item>\n <Dropdown.Item>Second Item</Dropdown.Item>\n <Dropdown.Divider />\n <Dropdown.Item>Third Item</Dropdown.Item>\n</Dropdown>"
43
43
  }
44
44
  ],
45
- "accessibility": "- The trigger is a `<button>` with `aria-haspopup=\"true\"` and `aria-expanded`, and its\n `aria-controls` points at the menu, with or without an `id` on the Dropdown.\n- The menu is `role=\"menu\"`, and `aria-labelledby` names it after the trigger, so a screen\n reader moving into it hears the trigger's label. That makes the `label` the menu's name too,\n so a trigger that shows only an icon needs text a screen reader can read, as in the\n [split button](https://bestax.io/docs/api/components/dropdown#split-button).\n- Each item is `role=\"menuitem\"`. An item given `role=\"menuitemcheckbox\"` or\n `role=\"menuitemradio\"` stays in the arrow-key order.\n- A click between items, on a divider say, focuses the menu itself, so the arrow keys still\n reach the items from there.\n- `Dropdown.Item as=\"button\"` defaults to `type=\"button\"`, so a menu item inside a form doesn't\n submit it. Pass `type=\"submit\"` or `type=\"reset\"` and yours is used instead; any other value\n renders `type=\"button\"`.\n- Pressing outside an open menu closes it.\n\nThe keyboard follows the [WAI-ARIA Menu Button pattern](https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/).\nUnlike the pattern's menu items, each item is also a tab stop, so <kbd>Tab</kbd> from the\ntrigger of a `hoverable` menu the pointer holds open goes through its items.\n\n- On the trigger: <kbd>ArrowDown</kbd> or <kbd>Enter</kbd>/<kbd>Space</kbd> open the menu and\n focus the first item; <kbd>ArrowUp</kbd> opens the menu and focuses the last item;\n <kbd>Escape</kbd> closes an open menu. On the trigger of a menu that's already open,\n <kbd>ArrowDown</kbd>/<kbd>ArrowUp</kbd> focus the first/last item and\n <kbd>Enter</kbd>/<kbd>Space</kbd> close it.\n- Inside the menu: <kbd>ArrowDown</kbd>/<kbd>ArrowUp</kbd> move between items and wrap around;\n <kbd>Home</kbd>/<kbd>End</kbd> jump to the first/last item; <kbd>Escape</kbd> closes the menu\n and returns focus to the trigger; <kbd>Tab</kbd> closes the menu and lets focus continue\n naturally.\n- Typing a letter moves to the next item whose text starts with it, and typing it again cycles\n through the items that do. Letters typed in quick succession add up to one search, so\n <kbd>d</kbd> then <kbd>u</kbd> lands on \"Duplicate\" past \"Download\". Text hidden with\n `aria-hidden`, such as an icon's ligature name, doesn't count, and a new search starts each\n time the menu opens. Typing searches once focus is in the menu, where the trigger's keys\n above put it. A letter typed on the trigger itself does nothing.\n- On an item: <kbd>Enter</kbd> or <kbd>Space</kbd> activates it the way a click does, so its\n `onClick` runs and the menu closes unless `closeOnClick` is `false`. That includes the\n default anchor without an `href` and `as=\"div\"`, which the browser would not activate on\n its own. Holding the key down runs it once.\n- When running an item closes the menu, by click or by key, focus goes back to the trigger,\n as it does for <kbd>Escape</kbd>. An item whose `onClick` moves focus somewhere else keeps\n it there.\n- Disabled items (a `Dropdown.Item` rendered with a native `disabled` attribute or\n `aria-disabled=\"true\"`) and dividers are skipped by the arrow keys and by typing.\n- For a panel built around fields, [`Popover`](https://bestax.io/docs/api/components/popover) fits better: `role=\"menu\"` owns\n menu items, and the default `closeOnClick` shuts the menu on a click anywhere in it, a field\n included. Anything focusable you put in the menu anyway that isn't an item (a field, a\n button, a checkbox, a link without a menu-item role) keeps its own keys, so its arrows,\n <kbd>Home</kbd>, <kbd>End</kbd> and letters don't move to the items. A field needs\n `closeOnClick={false}`, or a click into it closes the menu. <kbd>Escape</kbd> and\n <kbd>Tab</kbd> still close the menu from any of them, except an <kbd>Escape</kbd> the\n control used itself by calling `preventDefault()` in its `onKeyDown`, such as an Autocomplete\n closing its list or a date picker closing its calendar.\n The next <kbd>Escape</kbd> closes the menu.",
45
+ "accessibility": "- The trigger is a `<button>` with `aria-haspopup=\"true\"` and `aria-expanded`, and its\n `aria-controls` points at the menu, with or without an `id` on the Dropdown.\n- The menu is `role=\"menu\"`, and `aria-labelledby` names it after the trigger, so a screen\n reader moving into it hears the trigger's label. That makes the `label` the menu's name too,\n so a trigger that shows only an icon needs text a screen reader can read, as in the\n [split button](https://bestax.io/docs/api/components/dropdown#split-button).\n- Each item is `role=\"menuitem\"`. An item given `role=\"menuitemcheckbox\"` or\n `role=\"menuitemradio\"` stays in the arrow-key order.\n- A click between items, on a divider say, focuses the menu itself, so the arrow keys still\n reach the items from there.\n- `Dropdown.Item as=\"button\"` defaults to `type=\"button\"`, so a menu item inside a form doesn't\n submit it. Pass `type=\"submit\"` or `type=\"reset\"` and yours is used instead; any other value\n renders `type=\"button\"`.\n- Pressing outside an open menu closes it.\n\nThe keyboard follows the [WAI-ARIA Menu Button pattern](https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/).\nUnlike the pattern's menu items, each item is also a tab stop, so <kbd>Tab</kbd> from the\ntrigger of a `hoverable` menu the pointer holds open goes through its items.\n\n- On the trigger: <kbd>ArrowDown</kbd> or <kbd>Enter</kbd>/<kbd>Space</kbd> open the menu and\n focus the first item; <kbd>ArrowUp</kbd> opens the menu and focuses the last item;\n <kbd>Escape</kbd> closes an open menu. On the trigger of a menu that's already open,\n <kbd>ArrowDown</kbd>/<kbd>ArrowUp</kbd> focus the first/last item and\n <kbd>Enter</kbd>/<kbd>Space</kbd> close it.\n- Inside the menu: <kbd>ArrowDown</kbd>/<kbd>ArrowUp</kbd> move between items and wrap around;\n <kbd>Home</kbd>/<kbd>End</kbd> jump to the first/last item; <kbd>Escape</kbd> closes the menu\n and returns focus to the trigger.\n- <kbd>Tab</kbd> in an open menu closes it and moves focus to the next tab stop after the\n Dropdown, and <kbd>Shift</kbd>+<kbd>Tab</kbd> closes it and focuses the trigger. Inside a\n focus trap, such as a `Modal`'s, a Dropdown with nothing after it sends Tab to the trap's\n first stop, as Tab from the trap's last stop does.\n- Typing a letter moves to the next item whose text starts with it, and typing it again cycles\n through the items that do. Letters typed in quick succession add up to one search, so\n <kbd>d</kbd> then <kbd>u</kbd> lands on \"Duplicate\" past \"Download\". Text hidden with\n `aria-hidden`, such as an icon's ligature name, doesn't count, and a new search starts each\n time the menu opens. Typing searches once focus is in the menu, where the trigger's keys\n above put it. A letter typed on the trigger itself does nothing.\n- On an item: <kbd>Enter</kbd> or <kbd>Space</kbd> activates it the way a click does, so its\n `onClick` runs and the menu closes unless `closeOnClick` is `false`. That includes the\n default anchor without an `href` and `as=\"div\"`, which the browser would not activate on\n its own. Holding the key down runs it once.\n- When running an item closes the menu, by click or by key, focus goes back to the trigger,\n as it does for <kbd>Escape</kbd>. An item whose `onClick` moves focus somewhere else keeps\n it there.\n- Disabled items (a `Dropdown.Item` rendered with a native `disabled` attribute or\n `aria-disabled=\"true\"`) and dividers are skipped by the arrow keys and by typing.\n- For a panel built around fields, [`Popover`](https://bestax.io/docs/api/components/popover) fits better: `role=\"menu\"` owns\n menu items, and the default `closeOnClick` shuts the menu on a click anywhere in it, a field\n included. Anything focusable you put in the menu anyway that isn't an item (a field, a\n button, a checkbox, a link without a menu-item role) keeps its own keys, so its arrows,\n <kbd>Home</kbd>, <kbd>End</kbd> and letters don't move to the items. A field needs\n `closeOnClick={false}`, or a click into it closes the menu. <kbd>Escape</kbd> and\n <kbd>Tab</kbd> still close the menu from any of them, except an <kbd>Escape</kbd> the\n control used itself by calling `preventDefault()` in its `onKeyDown`, such as an Autocomplete\n closing its list or a date picker closing its calendar.\n The next <kbd>Escape</kbd> closes the menu.",
46
46
  "related": ["Button", "ContextMenu", "Popover", "useBulmaClasses"],
47
47
  "storybook": "https://bestax.io/storybook/?path=/story/components-dropdown--default",
48
- "summary": "The `Dropdown` component provides Bulma's versatile dropdown menu for your Bulma React UI. Down, Enter and Space on the trigger open the menu on its first enabled item, and Up opens it on its last. On the trigger of a menu that's already open, Down and Up move focus to its first and last item. In the menu, the arrow keys, Home and End move between the items, and Enter and Space run the focused one the way a click does. Typing a letter moves to the next item whose text starts with it, skipping disabled ones, and letters typed in quick succession add up to one search. Typing searches once focus is in the menu, so a letter typed on the trigger does nothing. Escape closes the menu and focuses the trigger, and Tab closes it and lets focus move on. Anything focusable in the menu that isn't an item, such as a field, keeps its own keys apart from Escape and Tab, though an Escape it calls `preventDefault()` on in its own `onKeyDown` stays its own and leaves the menu open. For a panel built around fields, use `Popover`.",
48
+ "summary": "The `Dropdown` component provides Bulma's versatile dropdown menu for your Bulma React UI. Down, Enter and Space on the trigger open the menu on its first enabled item, and Up opens it on its last. On the trigger of a menu that's already open, Down and Up move focus to its first and last item. In the menu, the arrow keys, Home and End move between the items, and Enter and Space run the focused one the way a click does. Typing a letter moves to the next item whose text starts with it, skipping disabled ones, and letters typed in quick succession add up to one search. Typing searches once focus is in the menu, so a letter typed on the trigger does nothing. Escape closes the menu and focuses the trigger. Tab closes it and moves focus to the next tab stop after the Dropdown, wrapping inside a focus trap such as Modal's, and Shift+Tab closes it and focuses the trigger. Anything focusable in the menu that isn't an item, such as a field, keeps its own keys apart from Escape and Tab, though an Escape it calls `preventDefault()` on in its own `onKeyDown` stays its own and leaves the menu open. For a panel built around fields, use `Popover`.",
49
49
  "import": "import { Dropdown, Button, Field, Control, Span } from '@allxsmith/bestax-bulma';",
50
50
  "sourceFile": "bulma-ui/src/components/Dropdown.tsx",
51
51
  "rootClass": "dropdown",
52
52
  "parts": [
53
53
  {
54
54
  "path": "Dropdown",
55
- "summary": "The `Dropdown` component provides Bulma's versatile dropdown menu for your Bulma React UI. Down, Enter and Space on the trigger open the menu on its first enabled item, and Up opens it on its last. On the trigger of a menu that's already open, Down and Up move focus to its first and last item. In the menu, the arrow keys, Home and End move between the items, and Enter and Space run the focused one the way a click does. Typing a letter moves to the next item whose text starts with it, skipping disabled ones, and letters typed in quick succession add up to one search. Typing searches once focus is in the menu, so a letter typed on the trigger does nothing. Escape closes the menu and focuses the trigger, and Tab closes it and lets focus move on. Anything focusable in the menu that isn't an item, such as a field, keeps its own keys apart from Escape and Tab, though an Escape it calls `preventDefault()` on in its own `onKeyDown` stays its own and leaves the menu open. For a panel built around fields, use `Popover`.",
55
+ "summary": "The `Dropdown` component provides Bulma's versatile dropdown menu for your Bulma React UI. Down, Enter and Space on the trigger open the menu on its first enabled item, and Up opens it on its last. On the trigger of a menu that's already open, Down and Up move focus to its first and last item. In the menu, the arrow keys, Home and End move between the items, and Enter and Space run the focused one the way a click does. Typing a letter moves to the next item whose text starts with it, skipping disabled ones, and letters typed in quick succession add up to one search. Typing searches once focus is in the menu, so a letter typed on the trigger does nothing. Escape closes the menu and focuses the trigger. Tab closes it and moves focus to the next tab stop after the Dropdown, wrapping inside a focus trap such as Modal's, and Shift+Tab closes it and focuses the trigger. Anything focusable in the menu that isn't an item, such as a field, keeps its own keys apart from Escape and Tab, though an Escape it calls `preventDefault()` on in its own `onKeyDown` stays its own and leaves the menu open. For a panel built around fields, use `Popover`.",
56
56
  "component": null,
57
57
  "props": [
58
58
  {
@@ -386,7 +386,7 @@
386
386
  "name": "hasIconsLeft",
387
387
  "type": "boolean",
388
388
  "default": "false",
389
- "description": "Adds left icon container.",
389
+ "description": "Adds left icon container. Over a `TextArea` the icon covers the text.",
390
390
  "required": false,
391
391
  "inherited": true,
392
392
  "deprecated": false
@@ -395,7 +395,7 @@
395
395
  "name": "hasIconsRight",
396
396
  "type": "boolean",
397
397
  "default": "false",
398
- "description": "Adds right icon container.",
398
+ "description": "Adds right icon container. Over a `TextArea` the icon covers the text.",
399
399
  "required": false,
400
400
  "inherited": true,
401
401
  "deprecated": false
@@ -460,7 +460,7 @@
460
460
  "name": "iconLeft",
461
461
  "type": "IconProps | React.ReactNode",
462
462
  "default": null,
463
- "description": "Icon props for left icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
463
+ "description": "Icon props for left icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Over a `TextArea` the icon covers the text. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
464
464
  "required": false,
465
465
  "inherited": true,
466
466
  "deprecated": false
@@ -469,7 +469,7 @@
469
469
  "name": "iconRight",
470
470
  "type": "IconProps | React.ReactNode",
471
471
  "default": null,
472
- "description": "Icon props for right icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
472
+ "description": "Icon props for right icon, or a custom node (an inline SVG, a `react-icons` component, …) rendered in place of a class-based glyph. Over a `TextArea` the icon covers the text. Bulma gives control icons `pointer-events: none`, so a click lands on the input and a clickable node placed here never receives one. Put a button beside the input in its own addon `Control` instead.",
473
473
  "required": false,
474
474
  "inherited": true,
475
475
  "deprecated": false
@@ -478,7 +478,7 @@
478
478
  "name": "iconLeftName",
479
479
  "type": "string",
480
480
  "default": null,
481
- "description": "Shortcut for left icon name.",
481
+ "description": "Shortcut for left icon name. Over a `TextArea` the icon covers the text.",
482
482
  "required": false,
483
483
  "inherited": true,
484
484
  "deprecated": false
@@ -496,7 +496,7 @@
496
496
  "name": "iconRightName",
497
497
  "type": "string",
498
498
  "default": null,
499
- "description": "Shortcut for right icon name.",
499
+ "description": "Shortcut for right icon name. Over a `TextArea` the icon covers the text.",
500
500
  "required": false,
501
501
  "inherited": true,
502
502
  "deprecated": false
@@ -30,7 +30,7 @@
30
30
  "code": "function example() {\n const [open, setOpen] = useState(false);\n const [following, setFollowing] = useState(false);\n\n return (\n <>\n <Paragraph mb=\"3\">\n The card is {open ? 'open' : 'closed'}\n {following ? ', and you follow Ada' : ''}.\n </Paragraph>\n <HoverCard\n open={open}\n onOpenChange={setOpen}\n trigger={<Link href=\"#ada\">Ada Lovelace</Link>}\n >\n <Paragraph mb=\"3\">Analytical Engine team</Paragraph>\n <Button\n size=\"small\"\n color=\"primary\"\n onClick={() => {\n setFollowing(true);\n setOpen(false);\n }}\n >\n Follow\n </Button>\n </HoverCard>\n </>\n );\n}"
31
31
  }
32
32
  ],
33
- "accessibility": "`HoverCard` is built to\n[WCAG's Content on Hover or Focus](https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html)\ncriterion, condition by condition:\n\n- **Dismissible:** <kbd>Escape</kbd> closes the card wherever focus is, without you moving the\n pointer or focus. In controlled use it asks to close through `onOpenChange`, so the card closes\n when you set `open` to `false`. The keypress belongs to whatever has focus. When that's the card,\n its trigger or nothing, the card takes it, so a `Popover` or `Modal` around it stays open. When\n it's something else, such as a field elsewhere on the page or a `Modal` opened from the card, the\n card still closes and the key goes on to it. With one card inside another, the inner one closes\n first. Focus that was in the card goes back to the trigger, and the card stays closed until the\n pointer or focus leaves and comes back, or, with `openOnTap`, until the next tap on the trigger.\n- **Hoverable:** the pointer can move from the trigger onto the card. `closeDelay` covers the gap\n between them, and the card takes pointer events.\n- **Persistent:** no timer closes a card that's hovered or focused. Focus inside the card holds it\n however it got there. Whether a click focuses what it lands on is up to the browser, though:\n Safari and Firefox on macOS don't focus a button on click, so there a clicked button doesn't keep\n the card open once the pointer moves away.\n\nAnd around it:\n\n- Keyboard focus on the trigger opens the card, as hover does. Focus that a press brings doesn't,\n and neither does a touch pointer, so tapping the trigger on a phone just does what the trigger\n does. Clicking the trigger never toggles the card.\n- By default, then, a phone or tablet never opens the card, so whatever it shows has to be\n reachable from the trigger as well. `openOnTap` opens it with a tap, for a trigger with no tap\n action of its own. While a tap holds it open, a tap outside the trigger and the card closes it.\n- The trigger gets `aria-expanded` and `aria-controls`, which say it's expanded and name the card\n only while the card is on the page. It gets no role, no tab stop and no `aria-haspopup`, so the trigger element itself has to\n take focus, such as a link or a button. A link inside a `<span>` doesn't do, since focus comes\n back to the trigger and its ARIA is on it. A development build warns when the trigger can't take\n focus.\n- The card is a plain element with an `id` and no role. It isn't a dialog, since focus doesn't move\n into it, and it isn't a tooltip, since it can hold links. In place, a screen reader meets it\n right after the trigger, Tab goes from the trigger into its links and buttons, and tabbing past\n them closes it.\n- With `appendToBody` the card sits in the Tab order where its container is. By default that's\n the end of `<body>`, or of the `Modal`, `Dialog` or `Command.Dialog` it's in, so it comes last:\n Tab reaches it only after the rest of the page or the dialog, and focus leaving the trigger on\n the way closes it. In a dialog, a screen reader that honors its `aria-modal` reaches it there. Keyboard users can open it, read it and close it, so\n whatever it links to should be reachable from the page as well.\n- Opening the card moves no focus, and nothing traps it. Links and buttons belong in a card; a form\n belongs in a `Popover`, which opens on purpose and holds focus.\n- The fade-in is turned off under `prefers-reduced-motion: reduce`.",
33
+ "accessibility": "`HoverCard` is built to\n[WCAG's Content on Hover or Focus](https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus.html)\ncriterion, condition by condition:\n\n- **Dismissible:** <kbd>Escape</kbd> closes the card wherever focus is, without you moving the\n pointer or focus. In controlled use it asks to close through `onOpenChange`, so the card closes\n when you set `open` to `false`. The keypress belongs to whatever has focus. When that's the card,\n its trigger or nothing, the card takes it, so a `Popover` or `Modal` around it stays open. When\n it's something else, such as a field elsewhere on the page or a `Modal` opened from the card, the\n card still closes and the key goes on to it. With one card inside another, the inner one closes\n first. Focus that was in the card goes back to the trigger, and the card stays closed until the\n pointer or focus leaves and comes back, or, with `openOnTap`, until the next tap on the trigger.\n- **Hoverable:** the pointer can move from the trigger onto the card. `closeDelay` covers the gap\n between them, and the card takes pointer events.\n- **Persistent:** no timer closes a card that's hovered or focused. Focus inside the card holds it\n however it got there. Whether a click focuses what it lands on is up to the browser, though:\n Safari and Firefox on macOS don't focus a button on click, so there a clicked button doesn't keep\n the card open once the pointer moves away.\n\nAnd around it:\n\n- Keyboard focus on the trigger opens the card, as hover does. Focus that a press brings doesn't,\n and neither does a touch pointer, so tapping the trigger on a phone just does what the trigger\n does. Clicking the trigger never toggles the card.\n- By default, then, a phone or tablet never opens the card, so whatever it shows has to be\n reachable from the trigger as well. `openOnTap` opens it with a tap, for a trigger with no tap\n action of its own. While a tap holds it open, a tap outside the trigger and the card closes it.\n- The trigger gets `aria-expanded` and `aria-controls`, which say it's expanded and name the card\n only while the card is on the page. It gets no role, no tab stop and no `aria-haspopup`, so the trigger element itself has to\n take focus, such as a link or a button. A link inside a `<span>` doesn't do, since focus comes\n back to the trigger and its ARIA is on it. A development build warns when the trigger can't take\n focus.\n- The card is a plain element with an `id` and no role. It isn't a dialog, since focus doesn't move\n into it, and it isn't a tooltip, since it can hold links. In place, a screen reader meets it\n right after the trigger, Tab goes from the trigger into its links and buttons, and tabbing past\n them closes it.\n- With `appendToBody` the card sits in the Tab order where its container is. By default that's\n the end of `<body>`, or of the `Modal`, `Dialog` or `Command.Dialog` it's in, so it comes last:\n Tab reaches it only after the rest of the page or the dialog, and focus leaving the trigger on\n the way closes it. In a dialog, a screen reader that honors its `aria-modal` reaches it there. Keyboard users can open it, read it and close it, so\n whatever it links to should be reachable from the page as well.\n- Opening the card moves no focus, and nothing traps it. Links and buttons belong in a card; a form\n belongs in a `Popover`, which opens on purpose and holds focus.\n- The fade-in is turned off under `prefers-reduced-motion: reduce`.\n- On a right-to-left page a card with no `position` lines its right edge up with the trigger's, so\n a trigger at the start of the line doesn't push the card off the screen. A `position` you pass\n stays physical: `bottom-left` lines up the left edges on either page.",
34
34
  "related": ["Media", "Popover", "Portal", "Tooltip", "useBulmaClasses"],
35
35
  "storybook": "https://bestax.io/storybook/?path=/story/components-hovercard--default",
36
36
  "summary": "The `HoverCard` component shows a card previewing what's behind a link or a button while the pointer rests on it or keyboard focus is on it. Nothing moves focus when the card opens, and nothing traps it. In place, the card comes right after the trigger, so Tab goes from the trigger into its links and tabbing past them closes it. The pointer can move onto the card, Escape closes it from anywhere, and by default touch doesn't open it, so tapping the trigger just does what the trigger does. `openOnTap` opens it with a tap, for a trigger with no tap action of its own. For hints with nothing to click use `Tooltip`, and for content opened on purpose, such as a form, use `Popover`.",
@@ -110,7 +110,7 @@
110
110
  "name": "position",
111
111
  "type": "'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'auto'",
112
112
  "default": "'bottom-left'",
113
- "description": "Where the card opens against the trigger.",
113
+ "description": "Where the card opens against the trigger. Left out, it opens below and lines up with the trigger's start edge, which is its right edge on a right-to-left page, so a trigger at the start of the line doesn't push the card off the screen. A corner you pass stays physical, so `bottom-left` lines up the left edges on either page.",
114
114
  "required": false,
115
115
  "inherited": false,
116
116
  "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- **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 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:::",
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.",
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.",
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.",
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.",
84
84
  "required": false,
85
85
  "inherited": false,
86
86
  "deprecated": false
@@ -58,7 +58,7 @@
58
58
  "code": "function example() {\n return (\n <Field\n horizontal\n label=\"Volume\"\n labelProps={{ htmlFor: 'volume-field-control' }}\n >\n <Field.Body>\n <Field>\n <Control iconLeftName=\"volume-up\">\n <Slider\n id=\"volume-field-control\"\n defaultValue={50}\n color=\"primary\"\n />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n );\n}"
59
59
  }
60
60
  ],
61
- "accessibility": "- Uses native `<input type=\"range\">` element\n- The `label` prop, or the label of a `Field` the slider sits in, names its input.\n- In range mode the label starts each thumb's name, so `<Slider range label=\"Price range\" />` announces \"Price range Minimum value\" and \"Price range Maximum value\". Each thumb points `aria-labelledby` at the label and at a hidden span holding its own text, because an `aria-label` would outrank the label. The label's `for` still lands on the low thumb, so clicking the label focuses it.\n- `ariaLabel` wins over the label. In range mode each entry is that thumb's whole name, with no label in front, and an empty entry counts as unset.\n- An `aria-label` or `aria-labelledby` you pass straight to a range Slider names the whole Slider, so it takes the label's place at the start of both thumbs' names: `<Slider range aria-label=\"Budget\" />` announces \"Budget Minimum value\" and \"Budget Maximum value\". An `ariaLabel` entry still wins for its own thumb. To keep a label out of the thumbs' names altogether, pass `aria-labelledby={undefined}`, and they stay \"Minimum value\" and \"Maximum value\".\n- A `Field` label you wire by hand with `labelProps={{ htmlFor }}`, as in a horizontal form, gets no generated id, so give it one of your own there as well, as in `labelProps={{ htmlFor: 'price', id: 'price-label' }}`, and it starts both thumbs' names the same way. Without that `id` it reaches a range Slider only through its `for`, which the thumbs' default `aria-label` outranks, so they stay \"Minimum value\" and \"Maximum value\".\n- Has `aria-valuenow`, `aria-valuemin`, and `aria-valuemax` attributes\n- Fully keyboard accessible with arrow keys\n- Focus states clearly visible\n- On a right-to-left page the native range mirrors, and the fill, the tick marks and the value bubble follow it, so a value of 25 fills from the right. A vertical slider still fills from the bottom.",
61
+ "accessibility": "- Uses native `<input type=\"range\">` element\n- The `label` prop, or the label of a `Field` the slider sits in, names its input.\n- In range mode the label starts each thumb's name, so `<Slider range label=\"Price range\" />` announces \"Price range Minimum value\" and \"Price range Maximum value\". Each thumb points `aria-labelledby` at the label and at a hidden span holding its own text, because an `aria-label` would outrank the label. The label's `for` still lands on the low thumb, so clicking the label focuses it.\n- `ariaLabel` wins over the label. In range mode each entry is that thumb's whole name, with no label in front, and an empty entry counts as unset.\n- An `aria-label` or `aria-labelledby` you pass straight to a range Slider names the whole Slider, so it takes the label's place at the start of both thumbs' names: `<Slider range aria-label=\"Budget\" />` announces \"Budget Minimum value\" and \"Budget Maximum value\". An `ariaLabel` entry still wins for its own thumb. To keep a label out of the thumbs' names altogether, pass `aria-labelledby={undefined}`, and they stay \"Minimum value\" and \"Maximum value\".\n- A `Field` label you wire by hand with `labelProps={{ htmlFor }}`, as in a horizontal form, gets no generated id, so give it one of your own there as well, as in `labelProps={{ htmlFor: 'price', id: 'price-label' }}`, and it starts both thumbs' names the same way. Without that `id` it reaches a range Slider only through its `for`, which the thumbs' default `aria-label` outranks, so they stay \"Minimum value\" and \"Maximum value\".\n- Has `aria-valuenow`, `aria-valuemin`, and `aria-valuemax` attributes\n- Fully keyboard accessible with arrow keys\n- Focus states clearly visible\n- On a right-to-left page the native range mirrors, and the fill, the tick marks and the value bubble follow it, so a value of 25 fills from the right. A vertical slider still fills from the bottom.\n- In forced colors (Windows' contrast themes) the value bubble takes the page's own background, and every side of its arrow would be painted, drawing it as a square. bestax's styles outline the bubble in the system's text color there, and keep the arrow a triangle in that color, pointing at the thumb whichever side the bubble sits on.",
62
62
  "related": ["Numberinput", "Progress"],
63
63
  "storybook": "https://bestax.io/storybook/?path=/story/form-slider",
64
64
  "summary": "The `Slider` component provides a range slider input for selecting values within a range.",
@@ -62,7 +62,7 @@
62
62
  "code": "<Tabs>\n <Tabs.List>\n <Tabs.Tab index={0}>Overview</Tabs.Tab>\n <Tabs.Tab index={1}>Settings</Tabs.Tab>\n </Tabs.List>\n <Tabs.Content>\n <Tabs.Content.Item index={0}>Overview panel</Tabs.Content.Item>\n <Tabs.Content.Item index={1}>Settings panel</Tabs.Content.Item>\n </Tabs.Content>\n</Tabs>"
63
63
  }
64
64
  ],
65
- "accessibility": "Tabs built from `Tabs.Tab` follow the [WAI-ARIA tabs pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/), with manual activation.\n\n| Key | Action |\n| ------------------- | ----------------------------------------------------------------------------------------------- |\n| `Tab` / `Shift+Tab` | Enter the tab list on the selected tab, or leave it from whichever tab has focus |\n| `→` / `←` | Move focus to the next / previous tab, wrapping at either end |\n| `↓` / `↑` | Move focus to the next / previous tab in a `vertical` tab list (`→` and `←` keep working there) |\n| `Home` / `End` | Move focus to the first / last tab |\n| `Enter` / `Space` | Activate the focused tab: select it, show its panel and call `onChange` |\n\n- The tab list is a single tab stop. While focus is in it, the stop follows focus, and once focus leaves it returns to the selected tab.\n- Activation is manual: moving focus with the arrow keys, `Home` or `End` doesn't change the panel or call `onChange`. `Enter`, `Space` and a click do. A key press activates the tab through a click on it, so click listeners see keyboard activation too.\n- The arrow keys, `Home` and `End` skip disabled tabs. A disabled tab is marked `aria-disabled` and never takes the tab stop. When the selected tab is disabled, or no tab matches `value`, the enabled tab with the lowest `index` takes it, so the list can still be reached.\n- `Tabs.List` is the `tablist` (marked `aria-orientation=\"vertical\"` in a `vertical` layout), each `Tabs.Tab` is a `tab` with `aria-selected`, and each `Tabs.Content.Item` is a `tabpanel`. A tab names its panel in `aria-controls` and a panel names its tab in `aria-labelledby`, so the panel is announced with the tab's label. The ids are generated, and when you pass your own `id` to a tab or a panel, the other side follows it.\n- Panels aren't focusable themselves. When a panel holds nothing focusable, pass it `tabIndex={0}` so `Tab` moves from the tab list into it.\n- The focus ring shows for keyboard focus only, drawn inside the tab in Bulma's focus color, width and style (`--bulma-focus-h`, `--bulma-focus-s`, `--bulma-focus-l`, `--bulma-focus-width`, `--bulma-focus-style`). A disabled tab is dimmed, with a not-allowed cursor and no hover. Both come from the bestax extras (`extras.css`, or `bestax.css`, which includes them), the same styles that show and hide the panels.\n- Built from `Tabs.Item` with links inside, as in most examples above, the tabs are Bulma navigation and none of this applies: each link is its own tab stop and keeps the browser's link behavior.\n- Use clear text or icons with labels for each tab, and provide `aria-label` or screen-reader text for icon-only tabs.",
65
+ "accessibility": "Tabs built from `Tabs.Tab` follow the [WAI-ARIA tabs pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tabs/), with manual activation.\n\n| Key | Action |\n| ------------------- | ----------------------------------------------------------------------------------------------- |\n| `Tab` / `Shift+Tab` | Enter the tab list on the selected tab, or leave it from whichever tab has focus |\n| `→` / `←` | Move focus to the next / previous tab, wrapping at either end |\n| `↓` / `↑` | Move focus to the next / previous tab in a `vertical` tab list (`→` and `←` keep working there) |\n| `Home` / `End` | Move focus to the first / last tab |\n| `Enter` / `Space` | Activate the focused tab: select it, show its panel and call `onChange` |\n\n- The tab list is a single tab stop. While focus is in it, the stop follows focus, and once focus leaves it returns to the selected tab.\n- Activation is manual: moving focus with the arrow keys, `Home` or `End` doesn't change the panel or call `onChange`. `Enter`, `Space` and a click do. A key press activates the tab through a click on it, so click listeners see keyboard activation too.\n- The arrow keys, `Home` and `End` skip disabled tabs. A disabled tab is marked `aria-disabled` and never takes the tab stop. When the selected tab is disabled, or no tab matches `value`, the enabled tab with the lowest `index` takes it, so the list can still be reached.\n- `Tabs.List` is the `tablist` (marked `aria-orientation=\"vertical\"` in a `vertical` layout), each `Tabs.Tab` is a `tab` with `aria-selected`, and each `Tabs.Content.Item` is a `tabpanel`. A tab names its panel in `aria-controls` and a panel names its tab in `aria-labelledby`, so the panel is announced with the tab's label. The ids are generated, and when you pass your own `id` to a tab or a panel, the other side follows it.\n- Panels aren't focusable themselves. When a panel holds nothing focusable, pass it `tabIndex={0}` so `Tab` moves from the tab list into it.\n- The focus ring shows for keyboard focus only, drawn inside the tab in Bulma's focus color, width and style (`--bulma-focus-h`, `--bulma-focus-s`, `--bulma-focus-l`, `--bulma-focus-width`, `--bulma-focus-style`). A disabled tab is dimmed, with a not-allowed cursor and no hover. Both come from the bestax extras (`extras.css`, or `bestax.css`, which includes them), the same styles that show and hide the panels.\n- On a right-to-left page a `vertical` layout mirrors: `side=\"left\"` puts the tabs at the right, where the line starts, and `side=\"right\"` at the left. The line between the tabs and the panel, and the selected tab's mark on it, stay on the side that faces the panel.\n- Built from `Tabs.Item` with links inside, as in most examples above, the tabs are Bulma navigation and none of this applies: each link is its own tab stop and keeps the browser's link behavior.\n- Use clear text or icons with labels for each tab, and provide `aria-label` or screen-reader text for icon-only tabs.",
66
66
  "related": ["Icon", "useBulmaClasses"],
67
67
  "storybook": "https://bestax.io/storybook/?path=/story/components-tabs--alignment-centered",
68
68
  "summary": "The `Tabs` component provides flexible and fully-featured Bulma tab navigation for your Bulma React UI. Built from `Tabs.Tab`, the tabs follow the WAI-ARIA tabs pattern with manual activation: the tab list is a single tab stop, the arrow keys, Home and End move focus between tabs (skipping disabled ones), and Enter or Space activates the focused tab. Each tab names its `Tabs.Content.Item` in `aria-controls`, and each panel names its tab in `aria-labelledby`. Built from `Tabs.Item` with links inside, the tabs stay plain Bulma navigation.",
@@ -199,7 +199,7 @@
199
199
  "name": "side",
200
200
  "type": "'left' | 'right'",
201
201
  "default": null,
202
- "description": "Side placement when `vertical` is true.",
202
+ "description": "Side placement when `vertical` is true. The row follows the page's direction, so on a right-to-left page `left` puts the tabs at the right, where the line starts, and `right` puts them at the left.",
203
203
  "required": false,
204
204
  "inherited": false,
205
205
  "deprecated": false
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "title": "Context-Aware Rendering › With Field and Control Wrappers",
54
- "code": "function example() {\n return (\n <Field\n horizontal\n label=\"Message\"\n labelProps={{ htmlFor: 'message-field-control' }}\n >\n <Field.Body>\n <Field>\n <Control iconLeftName=\"comment\">\n <TextArea\n id=\"message-field-control\"\n placeholder=\"Enter your message\"\n />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n );\n}"
54
+ "code": "function example() {\n return (\n <Field\n horizontal\n label=\"Message\"\n labelProps={{ htmlFor: 'message-field-control' }}\n >\n <Field.Body>\n <Field>\n <Control>\n <TextArea\n id=\"message-field-control\"\n placeholder=\"Enter your message\"\n />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n );\n}"
55
55
  }
56
56
  ],
57
57
  "accessibility": "- Always provide a label. TextArea's `label` prop is automatically associated with the `<textarea>` (`htmlFor` plus a generated `id`, or your own `id` if you pass one).\n- When composing with `Field` instead, the `Field`'s own `label` associates with the textarea automatically when the textarea sits directly in that labeled `Field` and has no `id` of its own. A nested unlabeled `Field` (as in horizontal multi-field layouts) starts its own scope. With an `id` of your own, or across a nested `Field`, the label names the textarea only when you pass that `id` as `labelProps={{ htmlFor }}`.\n- Use the `rows` prop to set an appropriate height for your content.",
@@ -178,7 +178,7 @@
178
178
  "code": "function example() {\n return (\n <Field\n horizontal\n label=\"Time\"\n labelProps={{ htmlFor: 'time-field-control' }}\n >\n <Field.Body>\n <Field>\n <Control iconLeftName=\"clock\">\n <TimeInput id=\"time-field-control\" placeholder=\"HH:MM\" />\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.\n- Each spinner column has `role=\"spinbutton\"` with `aria-valuemin`, `aria-valuemax`, `aria-valuenow`, and `aria-valuetext`. The values drawn above and below are click targets hidden from assistive technology, which reads the value from the spinbutton.\n- In a 12-hour picker, AM/PM is one of those spinbutton columns rather than a toggle button. Its `aria-valuetext` reads `AM` or `PM`; `↑`, `PageUp` and `End` move it to PM, and `↓`, `PageDown` and `Home` move it to AM. It stops at either end instead of wrapping around. Its accessible name is `AM/PM` unless `labels.ampm` sets another.\n- Honors `prefers-reduced-motion`.\n- On a right-to-left page the launcher sits at the end of the line and the clock icon at the start. The wheels keep `dir=\"ltr\"`, so hours stay to the left of minutes.",
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.\n- Each spinner column has `role=\"spinbutton\"` with `aria-valuemin`, `aria-valuemax`, `aria-valuenow`, and `aria-valuetext`. The values drawn above and below are click targets hidden from assistive technology, which reads the value from the spinbutton.\n- In a 12-hour picker, AM/PM is one of those spinbutton columns rather than a toggle button. Its `aria-valuetext` reads `AM` or `PM`; `↑`, `PageUp` and `End` move it to PM, and `↓`, `PageDown` and `Home` move it to AM. It stops at either end instead of wrapping around. Its accessible name is `AM/PM` unless `labels.ampm` sets another.\n- A `readOnly` inline picker puts `aria-readonly=\"true\"` on each spinbutton and keeps them in the tab order.\n- Honors `prefers-reduced-motion`.\n- On a right-to-left page the launcher sits at the end of the line and the clock icon at the start. The wheels keep `dir=\"ltr\"`, so hours stay to the left of minutes.",
182
182
  "related": ["DateInput", "DateTimeInput", "Input"],
183
183
  "storybook": "https://bestax.io/storybook/?path=/story/form-timeinput",
184
184
  "summary": "The `TimeInput` component is a form input that opens a popover spinner for time-of-day selection.",
@@ -438,7 +438,7 @@
438
438
  "name": "readOnly",
439
439
  "type": "boolean",
440
440
  "default": "false",
441
- "description": "Make the input read-only.",
441
+ "description": "Make the input read-only. An `inline` picker's wheels keep their tab stops and carry `aria-readonly`, but no key, scroll, drag or click turns them, so the time can't change.",
442
442
  "required": false,
443
443
  "inherited": true,
444
444
  "deprecated": false
@@ -809,7 +809,7 @@
809
809
  "name": "readOnly",
810
810
  "type": "boolean",
811
811
  "default": "false",
812
- "description": "Make the input read-only.",
812
+ "description": "Make the input read-only. An `inline` picker's wheels keep their tab stops and carry `aria-readonly`, but no key, scroll, drag or click turns them, so the time can't change.",
813
813
  "required": false,
814
814
  "inherited": false,
815
815
  "deprecated": false