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,592 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Tabs",
|
|
3
|
+
"kind": "component",
|
|
4
|
+
"category": "components",
|
|
5
|
+
"slug": "components/tabs",
|
|
6
|
+
"docsUrl": "https://bestax.io/docs/api/components/tabs",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Centered Alignment",
|
|
10
|
+
"code": "<Tabs align=\"centered\">\n <Tabs.List>\n <Tabs.Item active>\n <a>Home</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Profile</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Settings</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "Right Alignment",
|
|
14
|
+
"code": "<Tabs align=\"right\">\n <Tabs.List>\n <Tabs.Item>\n <a>Home</a>\n </Tabs.Item>\n <Tabs.Item active>\n <a>Profile</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Settings</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "With Icons",
|
|
18
|
+
"code": "<Tabs>\n <Tabs.List>\n <Tabs.Item active>\n <a>\n <Icon name=\"fas fa-image\" size=\"small\" />\n <span>Pictures</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-music\" size=\"small\" />\n <span>Music</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-film\" size=\"small\" />\n <span>Videos</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-file-alt\" size=\"small\" />\n <span>Documents</span>\n </a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "Small, Medium, and Large Tabs",
|
|
22
|
+
"code": "<>\n <Tabs size=\"small\">\n <Tabs.List>\n <Tabs.Item active>\n <a>Tab 1</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 2</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 3</a>\n </Tabs.Item>\n </Tabs.List>\n </Tabs>\n\n <Tabs size=\"medium\">\n <Tabs.List>\n <Tabs.Item active>\n <a>Tab 1</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 2</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 3</a>\n </Tabs.Item>\n </Tabs.List>\n </Tabs>\n\n <Tabs size=\"large\">\n <Tabs.List>\n <Tabs.Item active>\n <a>Tab 1</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 2</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Tab 3</a>\n </Tabs.Item>\n </Tabs.List>\n </Tabs>\n</>"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Boxed Tabs",
|
|
26
|
+
"code": "<Tabs boxed>\n <Tabs.List>\n <Tabs.Item active>\n <a>Overview</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Elements</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Components</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Toggle Tabs",
|
|
30
|
+
"code": "<Tabs toggle>\n <Tabs.List>\n <Tabs.Item active>\n <a>All</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Active</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Completed</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Toggle Rounded Tabs",
|
|
34
|
+
"code": "<Tabs toggle rounded>\n <Tabs.List>\n <Tabs.Item active>\n <a>All</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Active</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Completed</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "Fullwidth Tabs",
|
|
38
|
+
"code": "<Tabs fullwidth>\n <Tabs.List>\n <Tabs.Item active>\n <a>One</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Two</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Three</a>\n </Tabs.Item>\n <Tabs.Item>\n <a>Four</a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "Centered Boxed Tabs with Icons",
|
|
42
|
+
"code": "<Tabs align=\"centered\" boxed>\n <Tabs.List>\n <Tabs.Item active>\n <a>\n <Icon name=\"fas fa-home\" size=\"small\" />\n <span>Home</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-user\" size=\"small\" />\n <span>Profile</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-cog\" size=\"small\" />\n <span>Settings</span>\n </a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"title": "Toggle Fullwidth Tabs with Icons",
|
|
46
|
+
"code": "<Tabs toggle fullwidth>\n <Tabs.List>\n <Tabs.Item active>\n <a>\n <Icon name=\"fas fa-list\" size=\"small\" />\n <span>List</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-check\" size=\"small\" />\n <span>Done</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-times\" size=\"small\" />\n <span>Removed</span>\n </a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"title": "Centered Boxed Medium Tabs with Icons",
|
|
50
|
+
"code": "<Tabs align=\"centered\" boxed size=\"medium\">\n <Tabs.List>\n <Tabs.Item active>\n <a>\n <Icon name=\"fas fa-star\" size=\"small\" />\n <span>Favorites</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-clock\" size=\"small\" />\n <span>Recent</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-archive\" size=\"small\" />\n <span>Archive</span>\n </a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": "Toggle Fullwidth Large Tabs with Icons",
|
|
54
|
+
"code": "<Tabs toggle fullwidth size=\"large\">\n <Tabs.List>\n <Tabs.Item active>\n <a>\n <Icon name=\"fas fa-rocket\" size=\"small\" />\n <span>Launch</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-bell\" size=\"small\" />\n <span>Alerts</span>\n </a>\n </Tabs.Item>\n <Tabs.Item>\n <a>\n <Icon name=\"fas fa-cogs\" size=\"small\" />\n <span>Settings</span>\n </a>\n </Tabs.Item>\n </Tabs.List>\n</Tabs>"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"title": "Compound (dot-notation) usage",
|
|
58
|
+
"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>"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"accessibility": "- The tab list renders as a semantic `<ul>` and each item as `<li>`.\n- Use clear text or icons with labels for each tab.\n- Provide `aria-label` or screen-reader text for icon-only tabs.\n\n:::note\nTabs do not manage tab panels or keyboard focus automatically—implement those patterns as needed for your app.\n:::",
|
|
62
|
+
"related": ["Icon", "useBulmaClasses"],
|
|
63
|
+
"storybook": "https://bestax.io/storybook/?path=/story/components-tabs--alignment-centered",
|
|
64
|
+
"summary": "The `Tabs` component provides flexible and fully-featured Bulma tab navigation for your Bulma React UI.",
|
|
65
|
+
"import": "import { Tabs } from '@allxsmith/bestax-bulma';",
|
|
66
|
+
"sourceFile": "bulma-ui/src/components/Tabs.tsx",
|
|
67
|
+
"rootClass": "tabs",
|
|
68
|
+
"parts": [
|
|
69
|
+
{
|
|
70
|
+
"path": "Tabs",
|
|
71
|
+
"summary": "The `Tabs` component provides flexible and fully-featured Bulma tab navigation for your Bulma React UI.",
|
|
72
|
+
"component": null,
|
|
73
|
+
"props": [
|
|
74
|
+
{
|
|
75
|
+
"name": "align",
|
|
76
|
+
"type": "'centered' | 'right' | 'left'",
|
|
77
|
+
"default": null,
|
|
78
|
+
"description": "Tab alignment.",
|
|
79
|
+
"required": false,
|
|
80
|
+
"inherited": false,
|
|
81
|
+
"deprecated": false
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "size",
|
|
85
|
+
"type": "'small' | 'medium' | 'large'",
|
|
86
|
+
"default": null,
|
|
87
|
+
"description": "Tab size.",
|
|
88
|
+
"required": false,
|
|
89
|
+
"inherited": false,
|
|
90
|
+
"deprecated": false
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "fullwidth",
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"default": "false",
|
|
96
|
+
"description": "Tabs expand to fill the horizontal space.",
|
|
97
|
+
"required": false,
|
|
98
|
+
"inherited": false,
|
|
99
|
+
"deprecated": false
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "boxed",
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"default": "false",
|
|
105
|
+
"description": "Tabs use the boxed style.",
|
|
106
|
+
"required": false,
|
|
107
|
+
"inherited": false,
|
|
108
|
+
"deprecated": false
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "toggle",
|
|
112
|
+
"type": "boolean",
|
|
113
|
+
"default": "false",
|
|
114
|
+
"description": "Tabs use the toggle style.",
|
|
115
|
+
"required": false,
|
|
116
|
+
"inherited": false,
|
|
117
|
+
"deprecated": false
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "rounded",
|
|
121
|
+
"type": "boolean",
|
|
122
|
+
"default": "false",
|
|
123
|
+
"description": "Tabs use the rounded toggle style (only with `toggle`).",
|
|
124
|
+
"required": false,
|
|
125
|
+
"inherited": false,
|
|
126
|
+
"deprecated": false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "color",
|
|
130
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white'",
|
|
131
|
+
"default": null,
|
|
132
|
+
"description": "Bulma color for tab underlines and active state (renders `is-<color>`). Bulma ships no tabs color CSS, so this prop has never had a visual effect for any value. Passing it logs a console warning in development.",
|
|
133
|
+
"required": false,
|
|
134
|
+
"inherited": false,
|
|
135
|
+
"deprecated": true,
|
|
136
|
+
"deprecationNote": "No `.tabs.is-<color>` CSS exists; the prop renders unstyled and will be removed in the next major version."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "value",
|
|
140
|
+
"type": "number",
|
|
141
|
+
"default": null,
|
|
142
|
+
"description": "Controlled active tab index.",
|
|
143
|
+
"required": false,
|
|
144
|
+
"inherited": false,
|
|
145
|
+
"deprecated": false
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "onChange",
|
|
149
|
+
"type": "(index: number) => void",
|
|
150
|
+
"default": null,
|
|
151
|
+
"description": "Callback when active tab changes.",
|
|
152
|
+
"required": false,
|
|
153
|
+
"inherited": false,
|
|
154
|
+
"deprecated": false
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "defaultValue",
|
|
158
|
+
"type": "number",
|
|
159
|
+
"default": "0",
|
|
160
|
+
"description": "Initial active tab index (uncontrolled).",
|
|
161
|
+
"required": false,
|
|
162
|
+
"inherited": false,
|
|
163
|
+
"deprecated": false
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "vertical",
|
|
167
|
+
"type": "boolean",
|
|
168
|
+
"default": "false",
|
|
169
|
+
"description": "Renders tabs vertically.",
|
|
170
|
+
"required": false,
|
|
171
|
+
"inherited": false,
|
|
172
|
+
"deprecated": false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "side",
|
|
176
|
+
"type": "'left' | 'right'",
|
|
177
|
+
"default": null,
|
|
178
|
+
"description": "Side placement when `vertical` is true.",
|
|
179
|
+
"required": false,
|
|
180
|
+
"inherited": false,
|
|
181
|
+
"deprecated": false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "expanded",
|
|
185
|
+
"type": "boolean",
|
|
186
|
+
"default": "false",
|
|
187
|
+
"description": "Makes tabs take up the full width equally.",
|
|
188
|
+
"required": false,
|
|
189
|
+
"inherited": false,
|
|
190
|
+
"deprecated": false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "className",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"default": null,
|
|
196
|
+
"description": "Additional CSS classes.",
|
|
197
|
+
"required": false,
|
|
198
|
+
"inherited": false,
|
|
199
|
+
"deprecated": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "children",
|
|
203
|
+
"type": "React.ReactNode",
|
|
204
|
+
"default": null,
|
|
205
|
+
"description": "Tab list and tab items.",
|
|
206
|
+
"required": false,
|
|
207
|
+
"inherited": false,
|
|
208
|
+
"deprecated": false
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"extraProps": [],
|
|
212
|
+
"catchAll": "All standard <div> attributes and Bulma helper props",
|
|
213
|
+
"types": []
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"path": "Tabs.List",
|
|
217
|
+
"summary": "The `<ul>` container for tab items.",
|
|
218
|
+
"component": null,
|
|
219
|
+
"props": [
|
|
220
|
+
{
|
|
221
|
+
"name": "className",
|
|
222
|
+
"type": "string",
|
|
223
|
+
"default": null,
|
|
224
|
+
"description": "Additional CSS classes.",
|
|
225
|
+
"required": false,
|
|
226
|
+
"inherited": false,
|
|
227
|
+
"deprecated": false
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "children",
|
|
231
|
+
"type": "React.ReactNode",
|
|
232
|
+
"default": null,
|
|
233
|
+
"description": "Tab elements.",
|
|
234
|
+
"required": false,
|
|
235
|
+
"inherited": false,
|
|
236
|
+
"deprecated": false
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"extraProps": [],
|
|
240
|
+
"catchAll": "All standard <ul> attributes",
|
|
241
|
+
"types": []
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"path": "Tabs.Tab",
|
|
245
|
+
"summary": "Individual tab button. Consumes Tabs context for active state management. Renders `<a>` internally — consumers provide only the label text/children.",
|
|
246
|
+
"component": null,
|
|
247
|
+
"props": [
|
|
248
|
+
{
|
|
249
|
+
"name": "index",
|
|
250
|
+
"type": "number",
|
|
251
|
+
"default": null,
|
|
252
|
+
"description": "**Required.** Tab index for matching with content.",
|
|
253
|
+
"required": false,
|
|
254
|
+
"inherited": false,
|
|
255
|
+
"deprecated": false
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "disabled",
|
|
259
|
+
"type": "boolean",
|
|
260
|
+
"default": "false",
|
|
261
|
+
"description": "Disables the tab.",
|
|
262
|
+
"required": false,
|
|
263
|
+
"inherited": false,
|
|
264
|
+
"deprecated": false
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "icon",
|
|
268
|
+
"type": "string",
|
|
269
|
+
"default": null,
|
|
270
|
+
"description": "Icon name for the tab.",
|
|
271
|
+
"required": false,
|
|
272
|
+
"inherited": false,
|
|
273
|
+
"deprecated": false
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "iconLibrary",
|
|
277
|
+
"type": "'fa' | 'mdi' | 'ion' | 'material-icons' | 'material-symbols'",
|
|
278
|
+
"default": null,
|
|
279
|
+
"description": "Icon library to use.",
|
|
280
|
+
"required": false,
|
|
281
|
+
"inherited": false,
|
|
282
|
+
"deprecated": false
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "iconVariant",
|
|
286
|
+
"type": "string",
|
|
287
|
+
"default": null,
|
|
288
|
+
"description": "Icon style variant (e.g., 'solid', 'outlined', 'rounded').",
|
|
289
|
+
"required": false,
|
|
290
|
+
"inherited": false,
|
|
291
|
+
"deprecated": false
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "iconSize",
|
|
295
|
+
"type": "'small' | 'medium' | 'large'",
|
|
296
|
+
"default": "'small'",
|
|
297
|
+
"description": "Size of the tab icon.",
|
|
298
|
+
"required": false,
|
|
299
|
+
"inherited": false,
|
|
300
|
+
"deprecated": false
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "iconFeatures",
|
|
304
|
+
"type": "string | string[]",
|
|
305
|
+
"default": null,
|
|
306
|
+
"description": "Additional icon modifiers.",
|
|
307
|
+
"required": false,
|
|
308
|
+
"inherited": false,
|
|
309
|
+
"deprecated": false
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "className",
|
|
313
|
+
"type": "string",
|
|
314
|
+
"default": null,
|
|
315
|
+
"description": "Additional CSS classes.",
|
|
316
|
+
"required": false,
|
|
317
|
+
"inherited": false,
|
|
318
|
+
"deprecated": false
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "children",
|
|
322
|
+
"type": "React.ReactNode",
|
|
323
|
+
"default": null,
|
|
324
|
+
"description": "Tab label content.",
|
|
325
|
+
"required": false,
|
|
326
|
+
"inherited": false,
|
|
327
|
+
"deprecated": false
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"extraProps": [],
|
|
331
|
+
"catchAll": "All standard <li> attributes",
|
|
332
|
+
"types": []
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"path": "Tabs.Item",
|
|
336
|
+
"summary": "Each tab; accepts `active`, `onClick`, etc.",
|
|
337
|
+
"component": null,
|
|
338
|
+
"props": [
|
|
339
|
+
{
|
|
340
|
+
"name": "active",
|
|
341
|
+
"type": "boolean",
|
|
342
|
+
"default": "false",
|
|
343
|
+
"description": "Whether the tab is active.",
|
|
344
|
+
"required": false,
|
|
345
|
+
"inherited": false,
|
|
346
|
+
"deprecated": false
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "className",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"default": null,
|
|
352
|
+
"description": "Additional CSS classes.",
|
|
353
|
+
"required": false,
|
|
354
|
+
"inherited": false,
|
|
355
|
+
"deprecated": false
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "children",
|
|
359
|
+
"type": "React.ReactNode",
|
|
360
|
+
"default": null,
|
|
361
|
+
"description": "Tab content.",
|
|
362
|
+
"required": false,
|
|
363
|
+
"inherited": false,
|
|
364
|
+
"deprecated": false
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "onClick",
|
|
368
|
+
"type": "React.MouseEventHandler<HTMLLIElement>",
|
|
369
|
+
"default": null,
|
|
370
|
+
"description": "Click handler.",
|
|
371
|
+
"required": false,
|
|
372
|
+
"inherited": false,
|
|
373
|
+
"deprecated": false
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"extraProps": [],
|
|
377
|
+
"catchAll": "All standard <li> attributes",
|
|
378
|
+
"types": []
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"path": "Tabs.Content",
|
|
382
|
+
"summary": "Container for tab content panels. No custom props beyond `children` and standard `<div>` HTML attributes. Applies the `.tabs-content` class.",
|
|
383
|
+
"component": null,
|
|
384
|
+
"props": [
|
|
385
|
+
{
|
|
386
|
+
"name": "className",
|
|
387
|
+
"type": "string",
|
|
388
|
+
"default": null,
|
|
389
|
+
"description": "Additional CSS classes.",
|
|
390
|
+
"required": false,
|
|
391
|
+
"inherited": false,
|
|
392
|
+
"deprecated": false
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "children",
|
|
396
|
+
"type": "React.ReactNode",
|
|
397
|
+
"default": null,
|
|
398
|
+
"description": "TabContentItem elements.",
|
|
399
|
+
"required": false,
|
|
400
|
+
"inherited": false,
|
|
401
|
+
"deprecated": false
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"extraProps": [],
|
|
405
|
+
"catchAll": "All standard <div> attributes",
|
|
406
|
+
"types": []
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"path": "Tabs.Content.Item",
|
|
410
|
+
"summary": "Individual content panel. Shows/hides based on active tab from context.",
|
|
411
|
+
"component": null,
|
|
412
|
+
"props": [
|
|
413
|
+
{
|
|
414
|
+
"name": "index",
|
|
415
|
+
"type": "number",
|
|
416
|
+
"default": null,
|
|
417
|
+
"description": "**Required.** Tab index for matching with content.",
|
|
418
|
+
"required": false,
|
|
419
|
+
"inherited": false,
|
|
420
|
+
"deprecated": false
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "className",
|
|
424
|
+
"type": "string",
|
|
425
|
+
"default": null,
|
|
426
|
+
"description": "Additional CSS classes.",
|
|
427
|
+
"required": false,
|
|
428
|
+
"inherited": false,
|
|
429
|
+
"deprecated": false
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "children",
|
|
433
|
+
"type": "React.ReactNode",
|
|
434
|
+
"default": null,
|
|
435
|
+
"description": "Panel content.",
|
|
436
|
+
"required": false,
|
|
437
|
+
"inherited": false,
|
|
438
|
+
"deprecated": false
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"extraProps": [],
|
|
442
|
+
"catchAll": "All standard <div> attributes",
|
|
443
|
+
"types": []
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"cssVars": [
|
|
447
|
+
{
|
|
448
|
+
"css": "--bulma-tabs-border-bottom-color",
|
|
449
|
+
"sass": "$tabs-border-bottom-color",
|
|
450
|
+
"default": "var(--bulma-border)",
|
|
451
|
+
"scope": "component"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"css": "--bulma-tabs-border-bottom-style",
|
|
455
|
+
"sass": "$tabs-border-bottom-style",
|
|
456
|
+
"default": "solid",
|
|
457
|
+
"scope": "component"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"css": "--bulma-tabs-border-bottom-width",
|
|
461
|
+
"sass": "$tabs-border-bottom-width",
|
|
462
|
+
"default": "1px",
|
|
463
|
+
"scope": "component"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"css": "--bulma-tabs-link-color",
|
|
467
|
+
"sass": "$tabs-link-color",
|
|
468
|
+
"default": "var(--bulma-text)",
|
|
469
|
+
"scope": "component"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"css": "--bulma-tabs-link-hover-border-bottom-color",
|
|
473
|
+
"sass": "$tabs-link-hover-border-bottom-color",
|
|
474
|
+
"default": "var(--bulma-text-strong)",
|
|
475
|
+
"scope": "component"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"css": "--bulma-tabs-link-hover-color",
|
|
479
|
+
"sass": "$tabs-link-hover-color",
|
|
480
|
+
"default": "var(--bulma-text-strong)",
|
|
481
|
+
"scope": "component"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"css": "--bulma-tabs-link-active-border-bottom-color",
|
|
485
|
+
"sass": "$tabs-link-active-border-bottom-color",
|
|
486
|
+
"default": "var(--bulma-link-text)",
|
|
487
|
+
"scope": "component"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"css": "--bulma-tabs-link-active-color",
|
|
491
|
+
"sass": "$tabs-link-active-color",
|
|
492
|
+
"default": "var(--bulma-link-text)",
|
|
493
|
+
"scope": "component"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"css": "--bulma-tabs-link-padding",
|
|
497
|
+
"sass": "$tabs-link-padding",
|
|
498
|
+
"default": "0.5em 1em",
|
|
499
|
+
"scope": "component"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"css": "--bulma-tabs-boxed-link-radius",
|
|
503
|
+
"sass": "$tabs-boxed-link-radius",
|
|
504
|
+
"default": "var(--bulma-radius)",
|
|
505
|
+
"scope": "component"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"css": "--bulma-tabs-boxed-link-hover-background-color",
|
|
509
|
+
"sass": "$tabs-boxed-link-hover-background-color",
|
|
510
|
+
"default": "var(--bulma-background)",
|
|
511
|
+
"scope": "component"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"css": "--bulma-tabs-boxed-link-hover-border-bottom-color",
|
|
515
|
+
"sass": "$tabs-boxed-link-hover-border-bottom-color",
|
|
516
|
+
"default": "var(--bulma-border)",
|
|
517
|
+
"scope": "component"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"css": "--bulma-tabs-boxed-link-active-background-color",
|
|
521
|
+
"sass": "$tabs-boxed-link-active-background-color",
|
|
522
|
+
"default": "var(--bulma-scheme-main)",
|
|
523
|
+
"scope": "component"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"css": "--bulma-tabs-boxed-link-active-border-color",
|
|
527
|
+
"sass": "$tabs-boxed-link-active-border-color",
|
|
528
|
+
"default": "var(--bulma-border)",
|
|
529
|
+
"scope": "component"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"css": "--bulma-tabs-boxed-link-active-border-bottom-color",
|
|
533
|
+
"sass": "$tabs-boxed-link-active-border-bottom-color",
|
|
534
|
+
"default": "transparent",
|
|
535
|
+
"scope": "component"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"css": "--bulma-tabs-toggle-link-border-color",
|
|
539
|
+
"sass": "$tabs-toggle-link-border-color",
|
|
540
|
+
"default": "var(--bulma-border)",
|
|
541
|
+
"scope": "component"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"css": "--bulma-tabs-toggle-link-border-style",
|
|
545
|
+
"sass": "$tabs-toggle-link-border-style",
|
|
546
|
+
"default": "solid",
|
|
547
|
+
"scope": "component"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"css": "--bulma-tabs-toggle-link-border-width",
|
|
551
|
+
"sass": "$tabs-toggle-link-border-width",
|
|
552
|
+
"default": "1px",
|
|
553
|
+
"scope": "component"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"css": "--bulma-tabs-toggle-link-hover-background-color",
|
|
557
|
+
"sass": "$tabs-toggle-link-hover-background-color",
|
|
558
|
+
"default": "var(--bulma-background)",
|
|
559
|
+
"scope": "component"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"css": "--bulma-tabs-toggle-link-hover-border-color",
|
|
563
|
+
"sass": "$tabs-toggle-link-hover-border-color",
|
|
564
|
+
"default": "var(--bulma-border-hover)",
|
|
565
|
+
"scope": "component"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"css": "--bulma-tabs-toggle-link-radius",
|
|
569
|
+
"sass": "$tabs-toggle-link-radius",
|
|
570
|
+
"default": "var(--bulma-radius)",
|
|
571
|
+
"scope": "component"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"css": "--bulma-tabs-toggle-link-active-background-color",
|
|
575
|
+
"sass": "$tabs-toggle-link-active-background-color",
|
|
576
|
+
"default": "var(--bulma-link)",
|
|
577
|
+
"scope": "component"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"css": "--bulma-tabs-toggle-link-active-border-color",
|
|
581
|
+
"sass": "$tabs-toggle-link-active-border-color",
|
|
582
|
+
"default": "var(--bulma-link)",
|
|
583
|
+
"scope": "component"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"css": "--bulma-tabs-toggle-link-active-color",
|
|
587
|
+
"sass": "$tabs-toggle-link-active-color",
|
|
588
|
+
"default": "var(--bulma-link-invert)",
|
|
589
|
+
"scope": "component"
|
|
590
|
+
}
|
|
591
|
+
]
|
|
592
|
+
}
|