bestax-mcp 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/data/catalog.json +1869 -0
- package/data/components/Autocomplete.json +604 -0
- package/data/components/Avatar.json +220 -0
- package/data/components/Avatars.json +294 -0
- package/data/components/Badge.json +261 -0
- package/data/components/Block.json +105 -0
- package/data/components/Box.json +157 -0
- package/data/components/Breadcrumb.json +155 -0
- package/data/components/Button.json +599 -0
- package/data/components/Buttons.json +533 -0
- package/data/components/Card.json +506 -0
- package/data/components/Carousel.json +512 -0
- package/data/components/Cell.json +154 -0
- package/data/components/Checkbox.json +176 -0
- package/data/components/Checkboxes.json +240 -0
- package/data/components/Code.json +128 -0
- package/data/components/Collapse.json +218 -0
- package/data/components/Column.json +284 -0
- package/data/components/Columns.json +542 -0
- package/data/components/ConfigProvider.json +16 -0
- package/data/components/Container.json +149 -0
- package/data/components/Content.json +228 -0
- package/data/components/Control.json +484 -0
- package/data/components/DateInput.json +872 -0
- package/data/components/DateTimeInput.json +952 -0
- package/data/components/Delete.json +153 -0
- package/data/components/Dialog.json +285 -0
- package/data/components/Divider.json +68 -0
- package/data/components/Dropdown.json +353 -0
- package/data/components/Emphasis.json +99 -0
- package/data/components/Field.json +539 -0
- package/data/components/Figure.json +143 -0
- package/data/components/File.json +403 -0
- package/data/components/Footer.json +109 -0
- package/data/components/Grid.json +357 -0
- package/data/components/Hero.json +340 -0
- package/data/components/Icon.json +232 -0
- package/data/components/IconText.json +307 -0
- package/data/components/Image.json +166 -0
- package/data/components/Input.json +583 -0
- package/data/components/Level.json +332 -0
- package/data/components/Link.json +154 -0
- package/data/components/LinkButton.json +247 -0
- package/data/components/ListItem.json +101 -0
- package/data/components/Loading.json +323 -0
- package/data/components/Media.json +345 -0
- package/data/components/Menu.json +317 -0
- package/data/components/Message.json +303 -0
- package/data/components/Modal.json +444 -0
- package/data/components/Navbar.json +996 -0
- package/data/components/Notification.json +165 -0
- package/data/components/Numberinput.json +364 -0
- package/data/components/OrderedList.json +189 -0
- package/data/components/Pagination.json +619 -0
- package/data/components/Panel.json +582 -0
- package/data/components/Paragraph.json +107 -0
- package/data/components/Pre.json +114 -0
- package/data/components/Progress.json +137 -0
- package/data/components/Radio.json +164 -0
- package/data/components/Radios.json +240 -0
- package/data/components/Rate.json +466 -0
- package/data/components/Reveal.json +177 -0
- package/data/components/Section.json +123 -0
- package/data/components/Select.json +526 -0
- package/data/components/Sidebar.json +488 -0
- package/data/components/Skeleton.json +162 -0
- package/data/components/Slider.json +534 -0
- package/data/components/Span.json +100 -0
- package/data/components/Steps.json +452 -0
- package/data/components/Strong.json +105 -0
- package/data/components/SubTitle.json +233 -0
- package/data/components/Switch.json +291 -0
- package/data/components/Table.json +490 -0
- package/data/components/Tabs.json +592 -0
- package/data/components/Tag.json +197 -0
- package/data/components/Taginput.json +587 -0
- package/data/components/Tags.json +181 -0
- package/data/components/TextArea.json +483 -0
- package/data/components/Theme.json +65 -0
- package/data/components/TimeInput.json +906 -0
- package/data/components/Title.json +240 -0
- package/data/components/Toast.json +308 -0
- package/data/components/Tooltip.json +212 -0
- package/data/components/UnorderedList.json +149 -0
- package/data/components/Valid value constants.json +16 -0
- package/data/components/classNames.json +65 -0
- package/data/components/useBulmaClasses.json +169 -0
- package/data/components/usePrefixedClassNames.json +25 -0
- package/data/skills/bestax-custom-component/SKILL.md +196 -0
- package/data/skills/bestax-custom-component/examples/stat-card.tsx +105 -0
- package/data/skills/bestax-custom-component/references/api.md +90 -0
- package/data/skills/bestax-custom-component/references/component-catalog.md +149 -0
- package/data/skills/bestax-custom-component/references/library-contributor.md +395 -0
- package/data/skills/bestax-custom-component/references/patterns.md +136 -0
- package/data/skills/bestax-form/SKILL.md +254 -0
- package/data/skills/bestax-form/references/api.md +103 -0
- package/data/skills/bestax-form/references/patterns.md +210 -0
- package/data/skills/bestax-icons/SKILL.md +80 -0
- package/data/skills/bestax-icons/examples/icon-usage.tsx +80 -0
- package/data/skills/bestax-icons/references/icon-libraries.md +131 -0
- package/data/skills/bestax-layout-scaffold/SKILL.md +196 -0
- package/data/skills/bestax-layout-scaffold/examples/app-shell.tsx +86 -0
- package/data/skills/bestax-layout-scaffold/examples/card-grid.tsx +106 -0
- package/data/skills/bestax-layout-scaffold/examples/centered.tsx +56 -0
- package/data/skills/bestax-layout-scaffold/examples/content-page.tsx +90 -0
- package/data/skills/bestax-layout-scaffold/examples/landing.tsx +122 -0
- package/data/skills/bestax-layout-scaffold/references/archetypes.md +246 -0
- package/data/skills/bestax-layout-scaffold/references/layout-components.md +269 -0
- package/data/skills/bestax-migrate/SKILL.md +78 -0
- package/data/skills/bestax-migrate/references/component-map.md +91 -0
- package/data/skills/bestax-migrate/references/css-migration.md +100 -0
- package/data/skills/bestax-migrate/references/prop-map.md +48 -0
- package/data/skills/bestax-migrate/references/unmappables.md +124 -0
- package/data/skills/bestax-optimize/SKILL.md +131 -0
- package/data/skills/bestax-optimize/references/modular-build.md +173 -0
- package/data/skills/bestax-theming/SKILL.md +117 -0
- package/data/skills/bestax-theming/examples/dark-mode.tsx +38 -0
- package/data/skills/bestax-theming/examples/theme-config.tsx +60 -0
- package/data/skills/bestax-theming/references/css-variables.md +466 -0
- package/data/skills/bestax-theming/references/themeable-components.md +119 -0
- package/data/skills.json +148 -0
- package/dist/data.d.ts +131 -0
- package/dist/data.d.ts.map +1 -0
- package/dist/data.js +111 -0
- package/dist/format.d.ts +37 -0
- package/dist/format.d.ts.map +1 -0
- package/dist/format.js +178 -0
- package/dist/helper-props.d.ts +57 -0
- package/dist/helper-props.d.ts.map +1 -0
- package/dist/helper-props.js +249 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/search.d.ts +32 -0
- package/dist/search.d.ts.map +1 -0
- package/dist/search.js +194 -0
- package/dist/server.d.ts +28 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +616 -0
- package/dist/version.d.ts +29 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +147 -0
- package/package.json +70 -0
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Carousel",
|
|
3
|
+
"kind": "component",
|
|
4
|
+
"category": "components",
|
|
5
|
+
"slug": "components/carousel",
|
|
6
|
+
"docsUrl": "https://bestax.io/docs/api/components/carousel",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Basic Carousel",
|
|
10
|
+
"code": "<Carousel indicatorStyle=\"dots\">\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 1</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 2</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 3</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "Auto-playing Carousel",
|
|
14
|
+
"code": "<Carousel autoplay interval={3000}>\n <CarouselItem>\n <Hero color=\"info\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Info</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"warning\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Warning</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Success</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "Indicator Styles",
|
|
18
|
+
"code": "function IndicatorExample() {\n const [style, setStyle] = useState('dots');\n return (\n <Block>\n <Buttons mb=\"4\">\n <Button\n onClick={() => setStyle('dots')}\n color={style === 'dots' ? 'primary' : undefined}\n >\n Dots\n </Button>\n <Button\n onClick={() => setStyle('circles')}\n color={style === 'circles' ? 'primary' : undefined}\n >\n Circles\n </Button>\n <Button\n onClick={() => setStyle('lines')}\n color={style === 'lines' ? 'primary' : undefined}\n >\n Lines\n </Button>\n <Button\n onClick={() => setStyle('bars')}\n color={style === 'bars' ? 'primary' : undefined}\n >\n Bars\n </Button>\n </Buttons>\n <Carousel indicatorStyle={style}>\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Slide 1</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\">Slide 2</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Slide 3</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n </Carousel>\n </Block>\n );\n}"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "Without Arrows",
|
|
22
|
+
"code": "<Carousel arrow={false}>\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Swipe or Click Dots</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"link\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Navigation Only</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Arrows on Hover",
|
|
26
|
+
"code": "<Carousel arrowHover>\n <CarouselItem>\n <Hero color=\"dark\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Hover to see arrows</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Slide 2</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\">Slide 3</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Transparent Arrow Buttons",
|
|
30
|
+
"code": "<Carousel arrowBackground={false}>\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 1</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 2</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 3</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Custom Arrow Icons",
|
|
34
|
+
"code": "<Carousel\n iconPrev=\"chevron-left\"\n iconNext=\"chevron-right\"\n iconLibrary=\"fa\"\n iconVariant=\"solid\"\n>\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 1</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 2</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 3</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "With Material Design Icons",
|
|
38
|
+
"code": "<Carousel iconPrev=\"arrow-left\" iconNext=\"arrow-right\" iconLibrary=\"mdi\">\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 1</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"success\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Title as=\"p\">Slide 2</Title>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n</Carousel>"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "Controlled Carousel",
|
|
42
|
+
"code": "function ControlledExample() {\n const [currentSlide, setCurrentSlide] = useState(0);\n return (\n <Block>\n <Buttons mb=\"4\">\n <Button\n onClick={() => setCurrentSlide(0)}\n color={currentSlide === 0 ? 'primary' : undefined}\n >\n 1\n </Button>\n <Button\n onClick={() => setCurrentSlide(1)}\n color={currentSlide === 1 ? 'primary' : undefined}\n >\n 2\n </Button>\n <Button\n onClick={() => setCurrentSlide(2)}\n color={currentSlide === 2 ? 'primary' : undefined}\n >\n 3\n </Button>\n </Buttons>\n <Carousel\n value={currentSlide}\n onChange={setCurrentSlide}\n indicator={false}\n >\n <CarouselItem>\n <Hero color=\"primary\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Slide 1</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\">Slide 2</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n <CarouselItem>\n <Hero color=\"danger\" size=\"medium\">\n <Hero.Body textAlign=\"centered\">\n <Paragraph textColor=\"white\">Slide 3</Paragraph>\n </Hero.Body>\n </Hero>\n </CarouselItem>\n </Carousel>\n <Paragraph mt=\"2\">Current slide: {currentSlide + 1}</Paragraph>\n </Block>\n );\n}"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"title": "Non-repeating Carousel",
|
|
46
|
+
"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>"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"accessibility": "- Uses `role=\"region\"` with `aria-roledescription=\"carousel\"`\n- Navigation arrows have `aria-label` for screen readers\n- Indicators use `role=\"tablist\"` and `role=\"tab\"` semantics\n- Keyboard navigation with arrow keys when focused\n- Previous/Next buttons are properly disabled at boundaries when not repeating",
|
|
50
|
+
"related": ["Modal", "Tabs"],
|
|
51
|
+
"storybook": "https://bestax.io/storybook/?path=/story/components-carousel",
|
|
52
|
+
"summary": "The `Carousel` component provides an image/content slider with navigation arrows and indicators.",
|
|
53
|
+
"import": "import { Carousel, CarouselItem } from '@allxsmith/bestax-bulma';",
|
|
54
|
+
"sourceFile": "bulma-ui/src/components/Carousel.tsx",
|
|
55
|
+
"rootClass": "carousel",
|
|
56
|
+
"parts": [
|
|
57
|
+
{
|
|
58
|
+
"path": "Carousel",
|
|
59
|
+
"summary": "The `Carousel` component provides an image/content slider with navigation arrows and indicators.",
|
|
60
|
+
"component": null,
|
|
61
|
+
"props": [
|
|
62
|
+
{
|
|
63
|
+
"name": "value",
|
|
64
|
+
"type": "number",
|
|
65
|
+
"default": "0",
|
|
66
|
+
"description": "Current active slide index (controlled).",
|
|
67
|
+
"required": false,
|
|
68
|
+
"inherited": false,
|
|
69
|
+
"deprecated": false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "autoplay",
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"default": "false",
|
|
75
|
+
"description": "Enable auto-play.",
|
|
76
|
+
"required": false,
|
|
77
|
+
"inherited": false,
|
|
78
|
+
"deprecated": false
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "interval",
|
|
82
|
+
"type": "number",
|
|
83
|
+
"default": "5000",
|
|
84
|
+
"description": "Auto-play interval in milliseconds. Default: 5000.",
|
|
85
|
+
"required": false,
|
|
86
|
+
"inherited": false,
|
|
87
|
+
"deprecated": false
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "pauseOnHover",
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"default": "true",
|
|
93
|
+
"description": "Pause auto-play on hover. Default: true.",
|
|
94
|
+
"required": false,
|
|
95
|
+
"inherited": false,
|
|
96
|
+
"deprecated": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "repeat",
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"default": "true",
|
|
102
|
+
"description": "Loop back to first slide after last. Default: true.",
|
|
103
|
+
"required": false,
|
|
104
|
+
"inherited": false,
|
|
105
|
+
"deprecated": false
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "hasDrag",
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"default": "true",
|
|
111
|
+
"description": "Enable drag/swipe navigation. Default: true.",
|
|
112
|
+
"required": false,
|
|
113
|
+
"inherited": false,
|
|
114
|
+
"deprecated": false
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "arrow",
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"default": "true",
|
|
120
|
+
"description": "Show navigation arrows. Default: true.",
|
|
121
|
+
"required": false,
|
|
122
|
+
"inherited": false,
|
|
123
|
+
"deprecated": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "arrowHover",
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"default": "false",
|
|
129
|
+
"description": "Only show arrows on hover.",
|
|
130
|
+
"required": false,
|
|
131
|
+
"inherited": false,
|
|
132
|
+
"deprecated": false
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "indicator",
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"default": "true",
|
|
138
|
+
"description": "Show slide indicators. Default: true.",
|
|
139
|
+
"required": false,
|
|
140
|
+
"inherited": false,
|
|
141
|
+
"deprecated": false
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "indicatorInside",
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"default": "false",
|
|
147
|
+
"description": "Position indicators inside carousel.",
|
|
148
|
+
"required": false,
|
|
149
|
+
"inherited": false,
|
|
150
|
+
"deprecated": false
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "indicatorPosition",
|
|
154
|
+
"type": "'bottom' | 'top'",
|
|
155
|
+
"default": "'bottom'",
|
|
156
|
+
"description": "Indicator position. Default: 'bottom'.",
|
|
157
|
+
"required": false,
|
|
158
|
+
"inherited": false,
|
|
159
|
+
"deprecated": false
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "indicatorStyle",
|
|
163
|
+
"type": "'circles' | 'dots' | 'lines' | 'bars'",
|
|
164
|
+
"default": "'dots'",
|
|
165
|
+
"description": "Indicator style. Default: 'dots'.",
|
|
166
|
+
"required": false,
|
|
167
|
+
"inherited": false,
|
|
168
|
+
"deprecated": false
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "iconPrev",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"default": null,
|
|
174
|
+
"description": "Icon name for the previous arrow button.",
|
|
175
|
+
"required": false,
|
|
176
|
+
"inherited": false,
|
|
177
|
+
"deprecated": false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "iconNext",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"default": null,
|
|
183
|
+
"description": "Icon name for the next arrow button.",
|
|
184
|
+
"required": false,
|
|
185
|
+
"inherited": false,
|
|
186
|
+
"deprecated": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "iconLibrary",
|
|
190
|
+
"type": "'fa' | 'mdi' | 'ion' | 'material-icons' | 'material-symbols'",
|
|
191
|
+
"default": null,
|
|
192
|
+
"description": "Icon library to use.",
|
|
193
|
+
"required": false,
|
|
194
|
+
"inherited": false,
|
|
195
|
+
"deprecated": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "iconVariant",
|
|
199
|
+
"type": "string",
|
|
200
|
+
"default": null,
|
|
201
|
+
"description": "Icon style variant (e.g., 'solid', 'outlined').",
|
|
202
|
+
"required": false,
|
|
203
|
+
"inherited": false,
|
|
204
|
+
"deprecated": false
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "iconSize",
|
|
208
|
+
"type": "'small' | 'medium' | 'large'",
|
|
209
|
+
"default": null,
|
|
210
|
+
"description": "Icon size modifier.",
|
|
211
|
+
"required": false,
|
|
212
|
+
"inherited": false,
|
|
213
|
+
"deprecated": false
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "iconFeatures",
|
|
217
|
+
"type": "string | string[]",
|
|
218
|
+
"default": null,
|
|
219
|
+
"description": "Additional icon modifiers.",
|
|
220
|
+
"required": false,
|
|
221
|
+
"inherited": false,
|
|
222
|
+
"deprecated": false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "arrowBackground",
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"default": "true",
|
|
228
|
+
"description": "Show semi-transparent background on arrow buttons. Set to `false` for icon-only arrows.",
|
|
229
|
+
"required": false,
|
|
230
|
+
"inherited": false,
|
|
231
|
+
"deprecated": false
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "arrowColor",
|
|
235
|
+
"type": "'light' | 'dark'",
|
|
236
|
+
"default": null,
|
|
237
|
+
"description": "Color theme for navigation arrows.",
|
|
238
|
+
"required": false,
|
|
239
|
+
"inherited": false,
|
|
240
|
+
"deprecated": false
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "ariaLabel",
|
|
244
|
+
"type": "string",
|
|
245
|
+
"default": "'Image carousel'",
|
|
246
|
+
"description": "Accessible label for the carousel region. Default: 'Image carousel'.",
|
|
247
|
+
"required": false,
|
|
248
|
+
"inherited": false,
|
|
249
|
+
"deprecated": false
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "onChange",
|
|
253
|
+
"type": "(value: number) => void",
|
|
254
|
+
"default": null,
|
|
255
|
+
"description": "Callback when slide changes.",
|
|
256
|
+
"required": false,
|
|
257
|
+
"inherited": false,
|
|
258
|
+
"deprecated": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "children",
|
|
262
|
+
"type": "React.ReactNode",
|
|
263
|
+
"default": null,
|
|
264
|
+
"description": "CarouselItem children.",
|
|
265
|
+
"required": false,
|
|
266
|
+
"inherited": false,
|
|
267
|
+
"deprecated": false
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"extraProps": [
|
|
271
|
+
{
|
|
272
|
+
"name": "className",
|
|
273
|
+
"type": "string",
|
|
274
|
+
"default": null,
|
|
275
|
+
"description": "Additional CSS classes.",
|
|
276
|
+
"required": false,
|
|
277
|
+
"inherited": false,
|
|
278
|
+
"deprecated": false
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "ref",
|
|
282
|
+
"type": "React.Ref<HTMLElement>",
|
|
283
|
+
"default": null,
|
|
284
|
+
"description": "Ref forwarded to the carousel element.",
|
|
285
|
+
"required": false,
|
|
286
|
+
"inherited": false,
|
|
287
|
+
"deprecated": false
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"catchAll": "All standard <div> attributes and Bulma helper props",
|
|
291
|
+
"types": []
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"cssVars": [
|
|
295
|
+
{
|
|
296
|
+
"css": "--bulma-carousel-arrow-size",
|
|
297
|
+
"sass": "$carousel-arrow-size",
|
|
298
|
+
"default": "48px",
|
|
299
|
+
"scope": "component"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"css": "--bulma-carousel-arrow-size-mobile",
|
|
303
|
+
"sass": "$carousel-arrow-size-mobile",
|
|
304
|
+
"default": "36px",
|
|
305
|
+
"scope": "component"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"css": "--bulma-carousel-arrow-background",
|
|
309
|
+
"sass": "$carousel-arrow-background",
|
|
310
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-main-l), 0.8)",
|
|
311
|
+
"scope": "component"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"css": "--bulma-carousel-arrow-background-hover",
|
|
315
|
+
"sass": "$carousel-arrow-background-hover",
|
|
316
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-main-l), 0.95)",
|
|
317
|
+
"scope": "component"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"css": "--bulma-carousel-arrow-color",
|
|
321
|
+
"sass": "$carousel-arrow-color",
|
|
322
|
+
"default": "var(--bulma-text)",
|
|
323
|
+
"scope": "component"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"css": "--bulma-carousel-arrow-disabled-opacity",
|
|
327
|
+
"sass": "$carousel-arrow-disabled-opacity",
|
|
328
|
+
"default": "0.3",
|
|
329
|
+
"scope": "component"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"css": "--bulma-carousel-arrow-offset",
|
|
333
|
+
"sass": "$carousel-arrow-offset",
|
|
334
|
+
"default": "1rem",
|
|
335
|
+
"scope": "component"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"css": "--bulma-carousel-arrow-offset-mobile",
|
|
339
|
+
"sass": "$carousel-arrow-offset-mobile",
|
|
340
|
+
"default": "0.5rem",
|
|
341
|
+
"scope": "component"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"css": "--bulma-carousel-arrow-icon-size",
|
|
345
|
+
"sass": "$carousel-arrow-icon-size",
|
|
346
|
+
"default": "24px",
|
|
347
|
+
"scope": "component"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"css": "--bulma-carousel-arrow-icon-size-mobile",
|
|
351
|
+
"sass": "$carousel-arrow-icon-size-mobile",
|
|
352
|
+
"default": "18px",
|
|
353
|
+
"scope": "component"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"css": "--bulma-carousel-arrow-radius",
|
|
357
|
+
"sass": "$carousel-arrow-radius",
|
|
358
|
+
"default": "var(--bulma-radius)",
|
|
359
|
+
"scope": "component"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"css": "--bulma-carousel-indicator-size",
|
|
363
|
+
"sass": "$carousel-indicator-size",
|
|
364
|
+
"default": "10px",
|
|
365
|
+
"scope": "component"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"css": "--bulma-carousel-indicator-size-mobile",
|
|
369
|
+
"sass": "$carousel-indicator-size-mobile",
|
|
370
|
+
"default": "8px",
|
|
371
|
+
"scope": "component"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"css": "--bulma-carousel-indicator-gap",
|
|
375
|
+
"sass": "$carousel-indicator-gap",
|
|
376
|
+
"default": "0.5rem",
|
|
377
|
+
"scope": "component"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"css": "--bulma-carousel-indicator-gap-mobile",
|
|
381
|
+
"sass": "$carousel-indicator-gap-mobile",
|
|
382
|
+
"default": "0.375rem",
|
|
383
|
+
"scope": "component"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"css": "--bulma-carousel-indicator-background",
|
|
387
|
+
"sass": "$carousel-indicator-background",
|
|
388
|
+
"default": "var(--bulma-border)",
|
|
389
|
+
"scope": "component"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"css": "--bulma-carousel-indicator-background-hover",
|
|
393
|
+
"sass": "$carousel-indicator-background-hover",
|
|
394
|
+
"default": "var(--bulma-border-hover)",
|
|
395
|
+
"scope": "component"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"css": "--bulma-carousel-indicator-background-active",
|
|
399
|
+
"sass": "$carousel-indicator-background-active",
|
|
400
|
+
"default": "var(--bulma-primary)",
|
|
401
|
+
"scope": "component"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"css": "--bulma-carousel-indicator-circle-size",
|
|
405
|
+
"sass": "$carousel-indicator-circle-size",
|
|
406
|
+
"default": "12px",
|
|
407
|
+
"scope": "component"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"css": "--bulma-carousel-indicator-line-width",
|
|
411
|
+
"sass": "$carousel-indicator-line-width",
|
|
412
|
+
"default": "30px",
|
|
413
|
+
"scope": "component"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"css": "--bulma-carousel-indicator-line-width-mobile",
|
|
417
|
+
"sass": "$carousel-indicator-line-width-mobile",
|
|
418
|
+
"default": "20px",
|
|
419
|
+
"scope": "component"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"css": "--bulma-carousel-indicator-line-height",
|
|
423
|
+
"sass": "$carousel-indicator-line-height",
|
|
424
|
+
"default": "4px",
|
|
425
|
+
"scope": "component"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"css": "--bulma-carousel-indicator-line-height-mobile",
|
|
429
|
+
"sass": "$carousel-indicator-line-height-mobile",
|
|
430
|
+
"default": "3px",
|
|
431
|
+
"scope": "component"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"css": "--bulma-carousel-indicator-line-radius",
|
|
435
|
+
"sass": "$carousel-indicator-line-radius",
|
|
436
|
+
"default": "var(--bulma-radius-small)",
|
|
437
|
+
"scope": "component"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"css": "--bulma-carousel-indicator-bar-width",
|
|
441
|
+
"sass": "$carousel-indicator-bar-width",
|
|
442
|
+
"default": "24px",
|
|
443
|
+
"scope": "component"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"css": "--bulma-carousel-indicator-bar-width-mobile",
|
|
447
|
+
"sass": "$carousel-indicator-bar-width-mobile",
|
|
448
|
+
"default": "16px",
|
|
449
|
+
"scope": "component"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"css": "--bulma-carousel-indicator-bar-height",
|
|
453
|
+
"sass": "$carousel-indicator-bar-height",
|
|
454
|
+
"default": "6px",
|
|
455
|
+
"scope": "component"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"css": "--bulma-carousel-indicator-bar-height-mobile",
|
|
459
|
+
"sass": "$carousel-indicator-bar-height-mobile",
|
|
460
|
+
"default": "4px",
|
|
461
|
+
"scope": "component"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"css": "--bulma-carousel-overlay-arrow-background",
|
|
465
|
+
"sass": "$carousel-overlay-arrow-background",
|
|
466
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-invert-l), 0.3)",
|
|
467
|
+
"scope": "component"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"css": "--bulma-carousel-overlay-arrow-background-hover",
|
|
471
|
+
"sass": "$carousel-overlay-arrow-background-hover",
|
|
472
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-invert-l), 0.5)",
|
|
473
|
+
"scope": "component"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"css": "--bulma-carousel-overlay-arrow-color",
|
|
477
|
+
"sass": "$carousel-overlay-arrow-color",
|
|
478
|
+
"default": "var(--bulma-scheme-main)",
|
|
479
|
+
"scope": "component"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"css": "--bulma-carousel-overlay-indicator-background",
|
|
483
|
+
"sass": "$carousel-overlay-indicator-background",
|
|
484
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-main-l), 0.5)",
|
|
485
|
+
"scope": "component"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"css": "--bulma-carousel-overlay-indicator-background-hover",
|
|
489
|
+
"sass": "$carousel-overlay-indicator-background-hover",
|
|
490
|
+
"default": "hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-main-l), 0.8)",
|
|
491
|
+
"scope": "component"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"css": "--bulma-carousel-overlay-indicator-background-active",
|
|
495
|
+
"sass": "$carousel-overlay-indicator-background-active",
|
|
496
|
+
"default": "var(--bulma-scheme-main)",
|
|
497
|
+
"scope": "component"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"css": "--bulma-carousel-transition-duration",
|
|
501
|
+
"sass": "$carousel-transition-duration",
|
|
502
|
+
"default": "var(--bulma-duration)",
|
|
503
|
+
"scope": "component"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"css": "--bulma-carousel-fade-duration",
|
|
507
|
+
"sass": "$carousel-fade-duration",
|
|
508
|
+
"default": "0.5s",
|
|
509
|
+
"scope": "component"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|