bestax-mcp 1.18.56 → 1.18.58

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.
@@ -13108,6 +13108,7 @@
13108
13108
  "avatar": "Avatar",
13109
13109
  "avatars": "Avatars",
13110
13110
  "badge": "Badge",
13111
+ "calendar": "Calendar",
13111
13112
  "carousel": "Carousel",
13112
13113
  "styled-checkbox": "Checkbox",
13113
13114
  "checkbox-card": "CheckboxCard",
@@ -13126,6 +13127,8 @@
13126
13127
  "dropzone": "Dropzone",
13127
13128
  "empty-state": "EmptyState",
13128
13129
  "fieldset": "Fieldset",
13130
+ "float-button": "FloatButton",
13131
+ "float-buttons": "FloatButtons",
13129
13132
  "stack": "Stack",
13130
13133
  "hover-card": "HoverCard",
13131
13134
  "icon-button": "IconButton",
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.69.0"
5
+ "version": "5.71.0"
6
6
  },
7
7
  "docsBase": "https://bestax.io/docs",
8
8
  "categories": [
@@ -72,6 +72,8 @@
72
72
  "Dialog",
73
73
  "Dropdown",
74
74
  "EmptyState",
75
+ "FloatButton",
76
+ "FloatButtons",
75
77
  "HoverCard",
76
78
  "Lightbox",
77
79
  "Loading",
@@ -101,6 +103,7 @@
101
103
  "label": "Form",
102
104
  "components": [
103
105
  "Autocomplete",
106
+ "Calendar",
104
107
  "Checkbox",
105
108
  "CheckboxCard",
106
109
  "Checkboxes",
@@ -296,6 +299,17 @@
296
299
  "propCount": 104,
297
300
  "exampleCount": 8
298
301
  },
302
+ {
303
+ "name": "Calendar",
304
+ "kind": "component",
305
+ "category": "form",
306
+ "purpose": "The `Calendar` component shows months on the page, not behind an input, where a click picks a day or a range and each day can show what's on it.",
307
+ "slug": "form/datetime/calendar",
308
+ "import": "import { Calendar } from '@allxsmith/bestax-bulma';",
309
+ "compound": false,
310
+ "propCount": 30,
311
+ "exampleCount": 12
312
+ },
299
313
  {
300
314
  "name": "Card",
301
315
  "kind": "component",
@@ -747,6 +761,28 @@
747
761
  "propCount": 13,
748
762
  "exampleCount": 4
749
763
  },
764
+ {
765
+ "name": "FloatButton",
766
+ "kind": "component",
767
+ "category": "components",
768
+ "purpose": "The `FloatButton` component renders a round icon button that floats in a corner of the screen, with its name as a tooltip.",
769
+ "slug": "components/floatbutton",
770
+ "import": "import { FloatButton } from '@allxsmith/bestax-bulma';",
771
+ "compound": true,
772
+ "propCount": 61,
773
+ "exampleCount": 13
774
+ },
775
+ {
776
+ "name": "FloatButtons",
777
+ "kind": "component",
778
+ "category": "components",
779
+ "purpose": "The `FloatButtons` component stacks several float buttons in one corner of the screen, so none covers another.",
780
+ "slug": "components/floatbuttons",
781
+ "import": "import { FloatButtons, FloatButton } from '@allxsmith/bestax-bulma';",
782
+ "compound": false,
783
+ "propCount": 5,
784
+ "exampleCount": 3
785
+ },
750
786
  {
751
787
  "name": "Footer",
752
788
  "kind": "component",
@@ -1786,6 +1822,11 @@
1786
1822
  "--bulma-button-text-hover-background-color": ["Button"],
1787
1823
  "--bulma-button-text-hover-color": ["Button"],
1788
1824
  "--bulma-button-weight": ["Button"],
1825
+ "--bulma-calendar-background-color": ["Calendar"],
1826
+ "--bulma-calendar-border-color": ["Calendar"],
1827
+ "--bulma-calendar-months-gap": ["Calendar"],
1828
+ "--bulma-calendar-padding": ["Calendar"],
1829
+ "--bulma-calendar-radius": ["Calendar"],
1789
1830
  "--bulma-card-background-color": ["Card"],
1790
1831
  "--bulma-card-color": ["Card"],
1791
1832
  "--bulma-card-content-background-color": ["Card"],
@@ -1820,9 +1861,13 @@
1820
1861
  "--bulma-carousel-indicator-bar-height-mobile": ["Carousel"],
1821
1862
  "--bulma-carousel-indicator-bar-width": ["Carousel"],
1822
1863
  "--bulma-carousel-indicator-bar-width-mobile": ["Carousel"],
1864
+ "--bulma-carousel-indicator-border-color": ["Carousel"],
1865
+ "--bulma-carousel-indicator-border-color-hover": ["Carousel"],
1866
+ "--bulma-carousel-indicator-border-width": ["Carousel"],
1823
1867
  "--bulma-carousel-indicator-circle-size": ["Carousel"],
1824
1868
  "--bulma-carousel-indicator-gap": ["Carousel"],
1825
1869
  "--bulma-carousel-indicator-gap-mobile": ["Carousel"],
1870
+ "--bulma-carousel-indicator-line-border-width": ["Carousel"],
1826
1871
  "--bulma-carousel-indicator-line-height": ["Carousel"],
1827
1872
  "--bulma-carousel-indicator-line-height-mobile": ["Carousel"],
1828
1873
  "--bulma-carousel-indicator-line-radius": ["Carousel"],
@@ -2010,6 +2055,21 @@
2010
2055
  "DateRangeInput",
2011
2056
  "DateTimeInput"
2012
2057
  ],
2058
+ "--bulma-dateinput-cell-content-color": [
2059
+ "DateInput",
2060
+ "DateRangeInput",
2061
+ "DateTimeInput"
2062
+ ],
2063
+ "--bulma-dateinput-cell-content-loading-opacity": [
2064
+ "DateInput",
2065
+ "DateRangeInput",
2066
+ "DateTimeInput"
2067
+ ],
2068
+ "--bulma-dateinput-cell-content-size": [
2069
+ "DateInput",
2070
+ "DateRangeInput",
2071
+ "DateTimeInput"
2072
+ ],
2013
2073
  "--bulma-dateinput-cell-disabled-color": [
2014
2074
  "DateInput",
2015
2075
  "DateRangeInput",
@@ -2215,6 +2275,10 @@
2215
2275
  "--bulma-file-name-max-width": ["File"],
2216
2276
  "--bulma-file-radius": ["File"],
2217
2277
  "--bulma-file-s": ["File"],
2278
+ "--bulma-float-button-actions-gap": ["FloatButton"],
2279
+ "--bulma-float-button-shadow": ["FloatButton"],
2280
+ "--bulma-float-button-transition-duration": ["FloatButton"],
2281
+ "--bulma-float-buttons-gap": ["FloatButtons"],
2218
2282
  "--bulma-footer-background-color": ["Footer"],
2219
2283
  "--bulma-footer-color": ["Footer"],
2220
2284
  "--bulma-footer-padding": ["Footer"],
@@ -3587,6 +3651,16 @@
3587
3651
  "path": "Figure.Caption",
3588
3652
  "purpose": "FigureCaption component for rendering a styled figcaption element."
3589
3653
  },
3654
+ "FloatButtonBackToTop": {
3655
+ "component": "FloatButton",
3656
+ "path": "FloatButton.BackToTop",
3657
+ "purpose": "The `FloatButton.BackToTop` component is a float button that shows once the page has scrolled down, and takes it back to the top."
3658
+ },
3659
+ "FloatButtonSpeedDial": {
3660
+ "component": "FloatButton",
3661
+ "path": "FloatButton.SpeedDial",
3662
+ "purpose": "The `FloatButton.SpeedDial` component is a float button that opens a menu of related actions, which are FloatButtons."
3663
+ },
3590
3664
  "HeroBody": {
3591
3665
  "component": "Hero",
3592
3666
  "path": "Hero.Body",
@@ -43,6 +43,7 @@
43
43
  "Badge",
44
44
  "Box",
45
45
  "Button",
46
+ "FloatButton",
46
47
  "Modal",
47
48
  "Portal",
48
49
  "ScrollArea",
@@ -0,0 +1,409 @@
1
+ {
2
+ "name": "Calendar",
3
+ "kind": "component",
4
+ "category": "form",
5
+ "slug": "form/datetime/calendar",
6
+ "docsUrl": "https://bestax.io/docs/api/form/datetime/calendar",
7
+ "examples": [
8
+ {
9
+ "title": "Basic Calendar",
10
+ "code": "function example() {\n return <Calendar aria-label=\"Pick a day\" />;\n}"
11
+ },
12
+ {
13
+ "title": "Holding the Value",
14
+ "code": "function Agenda() {\n const [day, setDay] = React.useState<Date | null>(null);\n return (\n <Columns>\n <Column isNarrow>\n <Calendar aria-label=\"Show a day\" value={day} onChange={setDay} />\n </Column>\n <Column>\n <Title as=\"h3\" size=\"6\">\n {day ? day.toDateString() : 'Pick a day'}\n </Title>\n <Paragraph>\n {day && day.getDay() % 6 !== 0\n ? 'Stand-up at 9:30, design review at 14:00.'\n : 'Nothing on.'}\n </Paragraph>\n </Column>\n </Columns>\n );\n}"
15
+ },
16
+ {
17
+ "title": "Picking a Range",
18
+ "code": "import type { DateRangeValue } from '@allxsmith/bestax-bulma';\n\nfunction Stay() {\n const [stay, setStay] = React.useState<DateRangeValue>([null, null]);\n const [start, end] = stay;\n return (\n <Block>\n <Calendar\n aria-label=\"Your stay\"\n selectionMode=\"range\"\n monthsToShow={2}\n min={new Date()}\n value={stay}\n onChange={setStay}\n />\n <Paragraph mt=\"3\">\n {start && end\n ? `${start.toDateString()} to ${end.toDateString()}`\n : 'Pick a check-in day, then a check-out day.'}\n </Paragraph>\n </Block>\n );\n}"
19
+ },
20
+ {
21
+ "title": "Content in a Day",
22
+ "code": "function Fares() {\n const fare = (date: Date) => 60 + ((date.getDate() * 7) % 50);\n return (\n <Calendar\n aria-label=\"Pick a departure day\"\n dayTemplate={date => `$${fare(date)}`}\n getDayLabel={(date, label) => `${label}, $${fare(date)}`}\n />\n );\n}"
23
+ },
24
+ {
25
+ "title": "Loading Each Month",
26
+ "code": "function Slots() {\n const [month, setMonth] = React.useState(() => new Date());\n const [day, setDay] = React.useState<Date | null>(null);\n const [loading, setLoading] = React.useState(false);\n // Stands in for a fetch of the month's free slots.\n React.useEffect(() => {\n setLoading(true);\n const timer = setTimeout(() => setLoading(false), 600);\n return () => clearTimeout(timer);\n }, [month]);\n const slotsLeft = (date: Date) =>\n date.getDay() % 6 === 0 ? 0 : (date.getDate() % 5) + 1;\n return (\n <Calendar\n aria-label=\"Book a slot\"\n month={month}\n onMonthChange={setMonth}\n loading={loading}\n value={day}\n onChange={setDay}\n shouldDisableDate={date => slotsLeft(date) === 0}\n dayTemplate={date => slotsLeft(date) > 0 && `${slotsLeft(date)} left`}\n getDayLabel={(date, label) => `${label}, ${slotsLeft(date)} slots left`}\n />\n );\n}"
27
+ },
28
+ {
29
+ "title": "A Calendar You Only Read",
30
+ "code": "function Holidays() {\n const holidays: Record<string, string> = {\n '12-25': 'Christmas Day',\n '12-31': \"New Year's Eve\",\n };\n const holiday = (date: Date) =>\n holidays[`${date.getMonth() + 1}-${date.getDate()}`];\n return (\n <>\n <Title as=\"h2\" size=\"5\" id=\"holidays-heading\">\n Team holidays\n </Title>\n <Calendar\n aria-labelledby=\"holidays-heading\"\n readOnly\n defaultMonth={new Date(new Date().getFullYear(), 11, 1)}\n dayTemplate={date => holiday(date) && <Icon name=\"star\" size=\"small\" />}\n getDayLabel={(date, label) =>\n holiday(date) ? `${label}, ${holiday(date)}` : label\n }\n />\n </>\n );\n}"
31
+ },
32
+ {
33
+ "title": "Several Months",
34
+ "code": "<Calendar aria-label=\"Pick a day\" monthsToShow={3} />"
35
+ },
36
+ {
37
+ "title": "Months and Years",
38
+ "code": "function MonthAndYear() {\n return (\n <Columns>\n <Column isNarrow>\n <Calendar aria-label=\"Pick a month\" granularity=\"month\" />\n </Column>\n <Column isNarrow>\n <Calendar aria-label=\"Pick a year\" granularity=\"year\" />\n </Column>\n </Columns>\n );\n}"
39
+ },
40
+ {
41
+ "title": "Min, Max and Disabled Days",
42
+ "code": "function Weekdays() {\n const today = new Date();\n const inSixWeeks = new Date(\n today.getFullYear(),\n today.getMonth(),\n today.getDate() + 42\n );\n return (\n <Calendar\n aria-label=\"Pick a weekday\"\n min={today}\n max={inSixWeeks}\n shouldDisableDate={date => date.getDay() % 6 === 0}\n />\n );\n}"
43
+ },
44
+ {
45
+ "title": "Full Width",
46
+ "code": "function WideFares() {\n const fare = (date: Date) => 60 + ((date.getDate() * 7) % 50);\n return (\n <Calendar\n aria-label=\"Pick a departure day\"\n isFullwidth\n monthsToShow={2}\n dayTemplate={date => `from $${fare(date)}`}\n getDayLabel={(date, label) => `${label}, from $${fare(date)}`}\n />\n );\n}"
47
+ },
48
+ {
49
+ "title": "Sizes and Colors",
50
+ "code": "<Columns isMultiline>\n <Column isNarrow>\n <Calendar aria-label=\"Small\" size=\"small\" color=\"info\" />\n </Column>\n <Column isNarrow>\n <Calendar aria-label=\"Large\" size=\"large\" color=\"success\" />\n </Column>\n</Columns>"
51
+ },
52
+ {
53
+ "title": "Locale",
54
+ "code": "<Calendar\n aria-label=\"Choisir un jour\"\n locale=\"fr-FR\"\n firstDayOfWeek={1}\n labels={{ prevMonth: 'Mois précédent', nextMonth: 'Mois suivant' }}\n/>"
55
+ }
56
+ ],
57
+ "accessibility": "- The root is a `<div>`. An `aria-label` or `aria-labelledby` on it names the Calendar and makes it a `role=\"group\"`, and so does a labeled `Field` around it, whose label names it when you give it no name of your own.\n- Each month is a `role=\"grid\"` named by its month and year, its weeks `role=\"row\"`s and its days `button`s with `role=\"gridcell\"`. Picked days are `aria-selected`, and today has `aria-current=\"date\"`.\n- Each day is named by its full date in the Calendar's locale, such as \"Friday, November 20, 2026\", which `getDayLabel` extends. The weekday row is hidden from assistive technology, since every day's name carries its weekday, so moving down a week reads the whole date rather than \"27\". On a server-rendered page the full names arrive once the page hydrates.\n- What `dayTemplate` draws isn't read, since a day's name is its date: pair it with `getDayLabel`.\n- A range's ends are described as \"Start date\" and \"End date\", the day a pending range would end on as \"Choose as end date\", and a polite live region states the range in words as it's picked, as on `DateRangeInput`.\n- `readOnly` puts `aria-readonly=\"true\"` on the grids and keeps the tab stop and the keys. `disabled` puts `aria-disabled=\"true\"` on them and disables every button.\n- `loading` puts `aria-busy=\"true\"` on the grids and keeps the grid and its focus where they were.\n- A roving `tabindex` keeps one day focusable in the whole Calendar, whatever `monthsToShow` is. When the focused day is disabled, the tab stop moves to the nearest enabled day of the months on show.\n- Closing the year list, with a pick or `Escape`, puts focus back on the grid's tab stop.\n- On a right-to-left page the previous-month chevron points right.",
58
+ "related": ["DateInput", "DateRangeInput", "Fieldset"],
59
+ "storybook": "https://bestax.io/storybook/?path=/story/form-calendar",
60
+ "summary": "The `Calendar` component shows months on the page, not behind an input, where a click picks a day or a range and each day can show what's on it. It's the grid the date pickers draw, with no `Field`, label or hidden input: a form that posts a date uses `DateInput inline` instead.",
61
+ "import": "import { Calendar } from '@allxsmith/bestax-bulma';",
62
+ "sourceFile": "bulma-ui/src/form/Calendar.tsx",
63
+ "rootClass": "calendar",
64
+ "parts": [
65
+ {
66
+ "path": "Calendar",
67
+ "summary": "The `Calendar` component shows months on the page, not behind an input, where a click picks a day or a range and each day can show what's on it. It's the grid the date pickers draw, with no `Field`, label or hidden input: a form that posts a date uses `DateInput inline` instead.",
68
+ "component": null,
69
+ "props": [
70
+ {
71
+ "name": "selectionMode",
72
+ "type": "'single' | 'range'",
73
+ "default": "'single'",
74
+ "description": "How a click, Enter or Space picks: `'single'` picks one day, and `'range'` a range's start and then its end. The value's type follows it.",
75
+ "required": false,
76
+ "inherited": true,
77
+ "deprecated": false
78
+ },
79
+ {
80
+ "name": "value",
81
+ "type": "Date | null | DateRangeValue",
82
+ "default": null,
83
+ "description": "The picked day when you hold the state, or `null` for none: a `Date`, or with `selectionMode=\"range\"` a `[start, end]` pair, start first, where `[null, null]` is empty. Picking then only calls `onChange`, and nothing changes until you pass the new value. With neither this nor `defaultValue`, nothing shows as picked. A new value from outside doesn't turn the month on show: hold `month` to show it.",
84
+ "required": false,
85
+ "inherited": true,
86
+ "deprecated": false
87
+ },
88
+ {
89
+ "name": "defaultValue",
90
+ "type": "Date | null | DateRangeValue",
91
+ "default": null,
92
+ "description": "The value to begin with, when the Calendar holds its own state.",
93
+ "required": false,
94
+ "inherited": true,
95
+ "deprecated": false
96
+ },
97
+ {
98
+ "name": "onChange",
99
+ "type": "(value: Date | null) => void | (value: DateRangeValue) => void",
100
+ "default": null,
101
+ "description": "Called with what was picked: the day, typed as `DateInput`'s so one handler fits both, or with `selectionMode=\"range\"` both ends in one call, start first, once the second is picked.",
102
+ "required": false,
103
+ "inherited": true,
104
+ "deprecated": false
105
+ },
106
+ {
107
+ "name": "granularity",
108
+ "type": "'day' | 'month' | 'year'",
109
+ "default": "'day'",
110
+ "description": "`'month'` shows a year's months and `'year'` the year list, and a pick is the first day of that month or year, as on `DateInput`. Only a Calendar that picks one day takes it.",
111
+ "required": false,
112
+ "inherited": true,
113
+ "deprecated": false
114
+ },
115
+ {
116
+ "name": "month",
117
+ "type": "Date",
118
+ "default": null,
119
+ "description": "The month on show when you hold the state: any day in it, read as the month. With `monthsToShow`, the first of the months. Changing it from inside only calls `onMonthChange`, and nothing moves until you pass the new month. At `granularity=\"month\"` it's read as its year, the year the month grid shows, and at `\"year\"` it's the year the list opens on.",
120
+ "required": false,
121
+ "inherited": true,
122
+ "deprecated": false
123
+ },
124
+ {
125
+ "name": "defaultMonth",
126
+ "type": "Date",
127
+ "default": null,
128
+ "description": "The month on show to begin with, when the Calendar holds its own state. Unset, it's the month of `value` (a range's start), or else today's, moved inside `min` and `max`, and with `monthsToShow` the first month of a page they hold whole. On a server render today is the server's, so give this, `month` or a picked `value` there.",
129
+ "required": false,
130
+ "inherited": true,
131
+ "deprecated": false
132
+ },
133
+ {
134
+ "name": "onMonthChange",
135
+ "type": "(month: Date) => void",
136
+ "default": null,
137
+ "description": "Called with the first day of the new month on show, whenever a move takes focus past the months on show: the header's buttons, a key (an arrow, PageUp or PageDown, Home or End) crossing a month's edge, a click on a nearby month's day, or a pick in the year list. Load that month's data from here. At `granularity=\"month\"` it's called as the year on show changes, with 1 January of that year, and at `\"year\"` it isn't called, since the list shows every year.",
138
+ "required": false,
139
+ "inherited": true,
140
+ "deprecated": false
141
+ },
142
+ {
143
+ "name": "monthsToShow",
144
+ "type": "number",
145
+ "default": "1",
146
+ "description": "How many months show side by side, over the day grid. They wrap to a column where the width runs out, one previous and next pair moves them all by this many, and the arrow keys cross from one month into the next. The month grid and the year list show one panel whatever it is.",
147
+ "required": false,
148
+ "inherited": true,
149
+ "deprecated": false
150
+ },
151
+ {
152
+ "name": "dayTemplate",
153
+ "type": "(date: Date, state: CalendarDayState) => React.ReactNode",
154
+ "default": null,
155
+ "description": "Draws content inside a day's button, under its number: a dot, a count, a price. Phrasing content only, with nothing in it to click or focus. Say the same thing in `getDayLabel`: a day's name is its date, so a screen reader doesn't read what this draws.",
156
+ "required": false,
157
+ "inherited": true,
158
+ "deprecated": false
159
+ },
160
+ {
161
+ "name": "getDayLabel",
162
+ "type": "(date: Date, label: string) => string",
163
+ "default": null,
164
+ "description": "Returns a day's accessible name. `label` is the default, the full date in the Calendar's locale (\"Tuesday, October 20, 2026\"), so append to it: `` (date, label) => `${label}, 3 slots left` ``. On a server-rendered page the full-date names arrive once the page hydrates, as the pickers' full weekday names do, and until then a day is named by its number and the text `dayTemplate` draws.",
165
+ "required": false,
166
+ "inherited": true,
167
+ "deprecated": false
168
+ },
169
+ {
170
+ "name": "loading",
171
+ "type": "boolean",
172
+ "default": "false",
173
+ "description": "The month's data is on its way. The grids are `aria-busy` and the day content dims, while the days, their focus and the keys keep working.",
174
+ "required": false,
175
+ "inherited": true,
176
+ "deprecated": false
177
+ },
178
+ {
179
+ "name": "readOnly",
180
+ "type": "boolean",
181
+ "default": "false",
182
+ "description": "Days can be focused and read but not picked, and the grids are `aria-readonly`. For a calendar that only shows things.",
183
+ "required": false,
184
+ "inherited": true,
185
+ "deprecated": false
186
+ },
187
+ {
188
+ "name": "disabled",
189
+ "type": "boolean",
190
+ "default": "false",
191
+ "description": "Nothing can be focused or picked, and the month can't change. A `<Fieldset disabled>` around it does the same.",
192
+ "required": false,
193
+ "inherited": true,
194
+ "deprecated": false
195
+ },
196
+ {
197
+ "name": "isFullwidth",
198
+ "type": "boolean",
199
+ "default": "false",
200
+ "description": "Stretches the grid to the width of its container (Bulma's `is-fullwidth`).",
201
+ "required": false,
202
+ "inherited": true,
203
+ "deprecated": false
204
+ },
205
+ {
206
+ "name": "min",
207
+ "type": "Date",
208
+ "default": null,
209
+ "description": "Earliest day that can be picked. Days before it show disabled. One before year 1, or none, counts as the start of year 1.",
210
+ "required": false,
211
+ "inherited": true,
212
+ "deprecated": false
213
+ },
214
+ {
215
+ "name": "max",
216
+ "type": "Date",
217
+ "default": null,
218
+ "description": "Latest day that can be picked. Days after it show disabled.",
219
+ "required": false,
220
+ "inherited": true,
221
+ "deprecated": false
222
+ },
223
+ {
224
+ "name": "shouldDisableDate",
225
+ "type": "(date: Date) => boolean",
226
+ "default": null,
227
+ "description": "Rules days out, such as weekends. They show disabled and can't be picked.",
228
+ "required": false,
229
+ "inherited": true,
230
+ "deprecated": false
231
+ },
232
+ {
233
+ "name": "unselectableDates",
234
+ "type": "Date[]",
235
+ "default": null,
236
+ "description": "Days that can't be picked, matched by calendar day. Merged with `shouldDisableDate`.",
237
+ "required": false,
238
+ "inherited": true,
239
+ "deprecated": false
240
+ },
241
+ {
242
+ "name": "locale",
243
+ "type": "string",
244
+ "default": null,
245
+ "description": "BCP-47 locale for the day and month names, the digits the days and years are written in, and the days' accessible names. Unset, it's a `LocaleProvider`'s, and with neither, the runtime's, while the days and years keep plain digits. On a server render that is the server's, so the server and the browser can name the month and the weekdays in different languages: give a locale, here or through a `LocaleProvider`, where the two can differ.",
246
+ "required": false,
247
+ "inherited": true,
248
+ "deprecated": false
249
+ },
250
+ {
251
+ "name": "firstDayOfWeek",
252
+ "type": "0 | 1 | 2 | 3 | 4 | 5 | 6",
253
+ "default": "0",
254
+ "description": "Day the week starts on (0 = Sunday). Unset inside a `LocaleProvider`, it's the first day of the week in the Calendar's locale, and elsewhere, or with seven `dayNames` of your own, Sunday.",
255
+ "required": false,
256
+ "inherited": true,
257
+ "deprecated": false
258
+ },
259
+ {
260
+ "name": "dayNames",
261
+ "type": "string[]",
262
+ "default": null,
263
+ "description": "The seven day names, shown exactly as given from the first column, so they start on the day the week does, as on `DateInput`.",
264
+ "required": false,
265
+ "inherited": true,
266
+ "deprecated": false
267
+ },
268
+ {
269
+ "name": "monthNames",
270
+ "type": "string[]",
271
+ "default": null,
272
+ "description": "The twelve month names.",
273
+ "required": false,
274
+ "inherited": true,
275
+ "deprecated": false
276
+ },
277
+ {
278
+ "name": "nearbyMonthDays",
279
+ "type": "boolean",
280
+ "default": "true",
281
+ "description": "Shows the dimmed days of the months before and after, to fill each week.",
282
+ "required": false,
283
+ "inherited": true,
284
+ "deprecated": false
285
+ },
286
+ {
287
+ "name": "color",
288
+ "type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
289
+ "default": null,
290
+ "description": "Bulma color for the picked days. Today and the focus ring take its `-on-scheme` variant. Unset, the `--bulma-dateinput-*` variables decide, and they follow `primary`.",
291
+ "required": false,
292
+ "inherited": true,
293
+ "deprecated": false
294
+ },
295
+ {
296
+ "name": "size",
297
+ "type": "'small' | 'medium' | 'large'",
298
+ "default": null,
299
+ "description": "Size of the cells and their text.",
300
+ "required": false,
301
+ "inherited": true,
302
+ "deprecated": false
303
+ },
304
+ {
305
+ "name": "labels",
306
+ "type": "PickerLabels",
307
+ "default": null,
308
+ "description": "The visible and accessible strings, in your app's language, as on the date pickers.",
309
+ "required": false,
310
+ "inherited": true,
311
+ "deprecated": false
312
+ },
313
+ {
314
+ "name": "textColor",
315
+ "type": "Bulma color | 'inherit' | 'current'",
316
+ "default": null,
317
+ "description": "Text color helper.",
318
+ "required": false,
319
+ "inherited": true,
320
+ "deprecated": false,
321
+ "valuesRef": "helpers/valid-values"
322
+ },
323
+ {
324
+ "name": "bgColor",
325
+ "type": "Bulma color | 'inherit' | 'current'",
326
+ "default": null,
327
+ "description": "Background color helper.",
328
+ "required": false,
329
+ "inherited": true,
330
+ "deprecated": false,
331
+ "valuesRef": "helpers/valid-values"
332
+ },
333
+ {
334
+ "name": "className",
335
+ "type": "string",
336
+ "default": null,
337
+ "description": "Additional CSS classes.",
338
+ "required": false,
339
+ "inherited": true,
340
+ "deprecated": false
341
+ }
342
+ ],
343
+ "extraProps": [
344
+ {
345
+ "name": "ref",
346
+ "type": "React.Ref<HTMLDivElement>",
347
+ "default": null,
348
+ "description": "Forwarded to the root `<div>`.",
349
+ "required": false,
350
+ "inherited": false,
351
+ "deprecated": false
352
+ },
353
+ {
354
+ "name": "aria-label",
355
+ "type": "string",
356
+ "default": null,
357
+ "description": "Names the Calendar, which makes its root a `role=\"group\"`. Each month's grid keeps its own name, its month and year.",
358
+ "required": false,
359
+ "inherited": false,
360
+ "deprecated": false
361
+ },
362
+ {
363
+ "name": "aria-labelledby",
364
+ "type": "string",
365
+ "default": null,
366
+ "description": "The ids of what names the Calendar, such as a heading above it, which makes its root a `role=\"group\"`.",
367
+ "required": false,
368
+ "inherited": false,
369
+ "deprecated": false
370
+ }
371
+ ],
372
+ "catchAll": "All standard <div> attributes and Bulma helper props",
373
+ "types": []
374
+ }
375
+ ],
376
+ "cssVars": [
377
+ {
378
+ "css": "--bulma-calendar-months-gap",
379
+ "sass": "$calendar-months-gap",
380
+ "default": "var(--bulma-block-spacing)",
381
+ "scope": "root"
382
+ },
383
+ {
384
+ "css": "--bulma-calendar-padding",
385
+ "sass": "$calendar-padding",
386
+ "default": "0.75rem",
387
+ "scope": "root"
388
+ },
389
+ {
390
+ "css": "--bulma-calendar-background-color",
391
+ "sass": "$calendar-background-color",
392
+ "default": "var(--bulma-scheme-main)",
393
+ "scope": "root"
394
+ },
395
+ {
396
+ "css": "--bulma-calendar-border-color",
397
+ "sass": "$calendar-border-color",
398
+ "default": "var(--bulma-border)",
399
+ "scope": "root"
400
+ },
401
+ {
402
+ "css": "--bulma-calendar-radius",
403
+ "sass": "$calendar-radius",
404
+ "default": "var(--bulma-radius)",
405
+ "scope": "root"
406
+ }
407
+ ],
408
+ "cssVarsFrom": "DateInput"
409
+ }
@@ -70,7 +70,7 @@
70
70
  "code": "<Carousel repeat={false}>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">First (no previous)</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"warning\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph>Middle slide</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Last (no next)</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
71
71
  }
72
72
  ],
73
- "accessibility": "- Uses `role=\"region\"` with `aria-roledescription=\"carousel\"`\n- Each item is a `group` with `aria-roledescription=\"slide\"`, named for its place, such as \"2 of 6\". An item's own `aria-label` or `aria-labelledby` takes the place of that name\n- Items out of view are `aria-hidden` and `inert`, so screen readers skip them and nothing in them takes focus. With several in view, every item in view is exposed. The copies a loop adds at each end of the track follow the same rule, so where the view runs past the last item, the copies on screen are the ones exposed\n- The track is a polite live region, so what comes into view is announced, except while autoplay is moving it (`aria-live=\"off\"`)\n- Autoplay waits while the pointer is over the carousel (with `pauseOnHover`) and while focus is inside one of its items, so an item being read or used never moves out of view\n- When something else takes the item holding focus out of view (a swipe, a change of width that changes the count, a new controlled `value`, or the item's removal), focus moves to the first item in view rather than dropping to the page\n- Navigation arrows have `aria-label` for screen readers\n- Indicators use `role=\"tablist\"` and `role=\"tab\"` semantics, one for each position a step can land on\n- The Left and Right arrow keys move the carousel while focus is on its arrows or indicators. Inside an item they're left to the item's content, such as a field or a slider\n- Previous/Next buttons are properly disabled at boundaries when not repeating\n- On a right-to-left page the slides run from right to left. The previous arrow sits on the right, at the start of the line, and the next arrow on the left, and the built-in chevrons flip to match. An `iconPrev` or `iconNext` is drawn as you give it. <kbd>ArrowLeft</kbd> and a swipe to the right go to the next slide, the way the track moves.",
73
+ "accessibility": "- Uses `role=\"region\"` with `aria-roledescription=\"carousel\"`\n- Each item is a `group` with `aria-roledescription=\"slide\"`, named for its place, such as \"2 of 6\". An item's own `aria-label` or `aria-labelledby` takes the place of that name\n- Items out of view are `aria-hidden` and `inert`, so screen readers skip them and nothing in them takes focus. With several in view, every item in view is exposed. The copies a loop adds at each end of the track follow the same rule, so where the view runs past the last item, the copies on screen are the ones exposed\n- The track is a polite live region, so what comes into view is announced, except while autoplay is moving it (`aria-live=\"off\"`)\n- Autoplay waits while the pointer is over the carousel (with `pauseOnHover`) and while focus is inside one of its items, so an item being read or used never moves out of view\n- When something else takes the item holding focus out of view (a swipe, a change of width that changes the count, a new controlled `value`, or the item's removal), focus moves to the first item in view rather than dropping to the page\n- Navigation arrows have `aria-label` for screen readers\n- Indicators use `role=\"tablist\"` and `role=\"tab\"` semantics, one for each position a step can land on\n- The indicators below the slides hold 3:1 against the page on both schemes. A resting one is a ring in the scheme's weak text color, which turns its text color under the pointer, and the current one is filled in the primary color's on-scheme shade, so the current slide's stands out by its fill as well as its color. Forced colors (Windows' contrast themes), which replaces fills, fills it in the buttons' text color. Over the slides, what's under them decides their contrast\n- The Left and Right arrow keys move the carousel while focus is on its arrows or indicators. Inside an item they're left to the item's content, such as a field or a slider\n- Previous/Next buttons are properly disabled at boundaries when not repeating\n- On a right-to-left page the slides run from right to left. The previous arrow sits on the right, at the start of the line, and the next arrow on the left, and the built-in chevrons flip to match. An `iconPrev` or `iconNext` is drawn as you give it. <kbd>ArrowLeft</kbd> and a swipe to the right go to the next slide, the way the track moves.",
74
74
  "related": ["Modal", "Tabs"],
75
75
  "storybook": "https://bestax.io/storybook/?path=/story/components-carousel",
76
76
  "summary": "The `Carousel` component provides an image/content slider with navigation arrows and indicators.",
@@ -528,19 +528,43 @@
528
528
  {
529
529
  "css": "--bulma-carousel-indicator-background",
530
530
  "sass": "$carousel-indicator-background",
531
- "default": "var(--bulma-border)",
531
+ "default": "transparent",
532
532
  "scope": "root"
533
533
  },
534
534
  {
535
535
  "css": "--bulma-carousel-indicator-background-hover",
536
536
  "sass": "$carousel-indicator-background-hover",
537
- "default": "var(--bulma-border-hover)",
537
+ "default": "transparent",
538
538
  "scope": "root"
539
539
  },
540
540
  {
541
541
  "css": "--bulma-carousel-indicator-background-active",
542
542
  "sass": "$carousel-indicator-background-active",
543
- "default": "var(--bulma-primary)",
543
+ "default": "hsl(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-on-scheme-l))",
544
+ "scope": "root"
545
+ },
546
+ {
547
+ "css": "--bulma-carousel-indicator-border-color",
548
+ "sass": "$carousel-indicator-border-color",
549
+ "default": "var(--bulma-text-weak)",
550
+ "scope": "root"
551
+ },
552
+ {
553
+ "css": "--bulma-carousel-indicator-border-color-hover",
554
+ "sass": "$carousel-indicator-border-color-hover",
555
+ "default": "var(--bulma-text)",
556
+ "scope": "root"
557
+ },
558
+ {
559
+ "css": "--bulma-carousel-indicator-border-width",
560
+ "sass": "$carousel-indicator-border-width",
561
+ "default": "2px",
562
+ "scope": "root"
563
+ },
564
+ {
565
+ "css": "--bulma-carousel-indicator-line-border-width",
566
+ "sass": "$carousel-indicator-line-border-width",
567
+ "default": "1px",
544
568
  "scope": "root"
545
569
  },
546
570
  {