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,490 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Table",
|
|
3
|
+
"kind": "component",
|
|
4
|
+
"category": "elements",
|
|
5
|
+
"slug": "elements/table",
|
|
6
|
+
"docsUrl": "https://bestax.io/docs/api/elements/table",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Default Table",
|
|
10
|
+
"code": "<Table>\n <Thead>\n <Tr>\n <Th>Name</Th>\n <Th>Age</Th>\n <Th>Role</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr>\n <Td>Alice</Td>\n <Td>30</Td>\n <Td>Engineer</Td>\n </Tr>\n <Tr>\n <Td>Bob</Td>\n <Td>28</Td>\n <Td>Designer</Td>\n </Tr>\n </Tbody>\n</Table>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "All Modifiers",
|
|
14
|
+
"code": "<Table isBordered isStriped isNarrow isHoverable isFullwidth isResponsive>\n <Thead>\n <Tr>\n <Th>Column 1</Th>\n <Th>Column 2</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr>\n <Td>Cell 1</Td>\n <Td>Cell 2</Td>\n </Tr>\n <Tr>\n <Td>Cell 3</Td>\n <Td>Cell 4</Td>\n </Tr>\n </Tbody>\n</Table>"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "Responsive Table (horizontal scroll on mobile)",
|
|
18
|
+
"code": "<Table isResponsive>\n <Thead>\n <Tr>\n {Array.from({ length: 20 }, (_, i) => (\n <Th key={`col-${i + 1}`}>Column {i + 1}</Th>\n ))}\n </Tr>\n </Thead>\n <Tbody>\n {Array.from({ length: 2 }, (_, row) => (\n <Tr key={row}>\n {Array.from({ length: 20 }, (_, col) => (\n <Td key={`cell-${row + 1}-${col + 1}`}>\n Cell {row + 1}-{col + 1}\n </Td>\n ))}\n </Tr>\n ))}\n </Tbody>\n</Table>"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "Colored Cells",
|
|
22
|
+
"code": "<Table isBordered isFullwidth>\n <Thead>\n <Tr>\n <Th>Cell Color</Th>\n <Th>Example</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr>\n <Td>Primary</Td>\n <Td color=\"primary\">Primary Colored Cell</Td>\n </Tr>\n <Tr>\n <Td>Success</Td>\n <Td color=\"success\">Success Colored Cell</Td>\n </Tr>\n {/* ...and so on for link, warning, danger, info, black, dark, light, white */}\n </Tbody>\n</Table>"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Highlighted Row",
|
|
26
|
+
"code": "<Table isFullwidth>\n <Thead>\n <Tr>\n <Th>Team</Th>\n <Th>Wins</Th>\n <Th>Losses</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr isSelected>\n <Td>Ice Wolves</Td>\n <Td>32</Td>\n <Td>8</Td>\n </Tr>\n <Tr>\n <Td>Frost Giants</Td>\n <Td>30</Td>\n <Td>9</Td>\n </Tr>\n </Tbody>\n</Table>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Custom Alignment and Width",
|
|
30
|
+
"code": "<Table>\n <Thead>\n <Tr>\n <Th isAligned=\"left\" width={200}>\n Name\n </Th>\n <Th isAligned=\"right\">Score</Th>\n </Tr>\n </Thead>\n <Tbody>\n <Tr>\n <Td>Jane Doe</Td>\n <Td>98</Td>\n </Tr>\n </Tbody>\n</Table>"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Compound (dot-notation) usage",
|
|
34
|
+
"code": "<Table isStriped>\n <Table.Thead>\n <Table.Tr>\n <Table.Th>Team</Table.Th>\n <Table.Th>Points</Table.Th>\n </Table.Tr>\n </Table.Thead>\n <Table.Tbody>\n <Table.Tr>\n <Table.Td>Maple Leafs</Table.Td>\n <Table.Td>98</Table.Td>\n </Table.Tr>\n </Table.Tbody>\n</Table>"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"accessibility": "- **Semantics:** Uses `<table>`, `<thead>`, `<tbody>`, `<tfoot>`, `<tr>`, `<th>`, and `<td>`—all proper HTML table elements.\n- **Responsive:** When using `isResponsive`, the table is wrapped in a scrollable container.\n- **Screen Readers:** Always use `<Th>` for header cells, and provide descriptive column headings.\n\n:::tip\nFor responsive tables, ensure your column headers are clear and concise for small screens.\n:::",
|
|
38
|
+
"related": ["Block", "useBulmaClasses"],
|
|
39
|
+
"storybook": "https://bestax.io/storybook/?path=/story/elements-table--default",
|
|
40
|
+
"summary": "The `Table` component and its subcomponents provide a highly composable, Bulma-styled table system for React.",
|
|
41
|
+
"import": "import { Table, Thead, Tbody, Tfoot, Tr, Th, Td } from '@allxsmith/bestax-bulma';",
|
|
42
|
+
"sourceFile": "bulma-ui/src/elements/Table.tsx",
|
|
43
|
+
"rootClass": "table",
|
|
44
|
+
"parts": [
|
|
45
|
+
{
|
|
46
|
+
"path": "Table",
|
|
47
|
+
"summary": "The `Table` component and its subcomponents provide a highly composable, Bulma-styled table system for React.",
|
|
48
|
+
"component": null,
|
|
49
|
+
"props": [
|
|
50
|
+
{
|
|
51
|
+
"name": "className",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"default": null,
|
|
54
|
+
"description": "Additional CSS classes to apply.",
|
|
55
|
+
"required": false,
|
|
56
|
+
"inherited": false,
|
|
57
|
+
"deprecated": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "isBordered",
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"default": "false",
|
|
63
|
+
"description": "Adds borders to all cells.",
|
|
64
|
+
"required": false,
|
|
65
|
+
"inherited": false,
|
|
66
|
+
"deprecated": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "isStriped",
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"default": "false",
|
|
72
|
+
"description": "Adds zebra-striping to rows.",
|
|
73
|
+
"required": false,
|
|
74
|
+
"inherited": false,
|
|
75
|
+
"deprecated": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "isNarrow",
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": "false",
|
|
81
|
+
"description": "Makes the table more compact by cutting cell padding in half.",
|
|
82
|
+
"required": false,
|
|
83
|
+
"inherited": false,
|
|
84
|
+
"deprecated": false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "isHoverable",
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"default": "false",
|
|
90
|
+
"description": "Adds a hover effect on rows.",
|
|
91
|
+
"required": false,
|
|
92
|
+
"inherited": false,
|
|
93
|
+
"deprecated": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "isFullwidth",
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"default": "false",
|
|
99
|
+
"description": "Makes the table span the full width of its parent.",
|
|
100
|
+
"required": false,
|
|
101
|
+
"inherited": false,
|
|
102
|
+
"deprecated": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "isResponsive",
|
|
106
|
+
"type": "boolean",
|
|
107
|
+
"default": "false",
|
|
108
|
+
"description": "Makes the table horizontally scrollable on small screens.",
|
|
109
|
+
"required": false,
|
|
110
|
+
"inherited": false,
|
|
111
|
+
"deprecated": false
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "children",
|
|
115
|
+
"type": "React.ReactNode",
|
|
116
|
+
"default": null,
|
|
117
|
+
"description": "Table content (should use subcomponents).",
|
|
118
|
+
"required": false,
|
|
119
|
+
"inherited": false,
|
|
120
|
+
"deprecated": false
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"extraProps": [],
|
|
124
|
+
"catchAll": "All standard <table> attributes and Bulma helper props",
|
|
125
|
+
"types": []
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"path": "Table.Thead",
|
|
129
|
+
"summary": "Thead component for rendering a styled Bulma table header. Supports Bulma helper classes for additional styling.",
|
|
130
|
+
"component": "Thead",
|
|
131
|
+
"props": [
|
|
132
|
+
{
|
|
133
|
+
"name": "className",
|
|
134
|
+
"type": "string",
|
|
135
|
+
"default": null,
|
|
136
|
+
"description": "Additional CSS classes to apply.",
|
|
137
|
+
"required": false,
|
|
138
|
+
"inherited": false,
|
|
139
|
+
"deprecated": false
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "children",
|
|
143
|
+
"type": "React.ReactNode",
|
|
144
|
+
"default": null,
|
|
145
|
+
"description": "Table header content (rows).",
|
|
146
|
+
"required": false,
|
|
147
|
+
"inherited": false,
|
|
148
|
+
"deprecated": false
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"extraProps": [],
|
|
152
|
+
"catchAll": "All standard <thead>/<tbody> attributes and Bulma helper props",
|
|
153
|
+
"types": []
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "Table.Tbody",
|
|
157
|
+
"summary": "Tbody component for rendering a styled Bulma table body. Supports Bulma helper classes for additional styling.",
|
|
158
|
+
"component": "Tbody",
|
|
159
|
+
"props": [
|
|
160
|
+
{
|
|
161
|
+
"name": "className",
|
|
162
|
+
"type": "string",
|
|
163
|
+
"default": null,
|
|
164
|
+
"description": "Additional CSS classes to apply.",
|
|
165
|
+
"required": false,
|
|
166
|
+
"inherited": false,
|
|
167
|
+
"deprecated": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "children",
|
|
171
|
+
"type": "React.ReactNode",
|
|
172
|
+
"default": null,
|
|
173
|
+
"description": "Table body content (rows).",
|
|
174
|
+
"required": false,
|
|
175
|
+
"inherited": false,
|
|
176
|
+
"deprecated": false
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"extraProps": [],
|
|
180
|
+
"catchAll": "All standard <thead>/<tbody> attributes and Bulma helper props",
|
|
181
|
+
"types": []
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"path": "Table.Tfoot",
|
|
185
|
+
"summary": "Tfoot component for rendering a styled Bulma table footer. Supports Bulma helper classes for additional styling.",
|
|
186
|
+
"component": "Tfoot",
|
|
187
|
+
"props": [
|
|
188
|
+
{
|
|
189
|
+
"name": "className",
|
|
190
|
+
"type": "string",
|
|
191
|
+
"default": null,
|
|
192
|
+
"description": "Additional CSS classes to apply.",
|
|
193
|
+
"required": false,
|
|
194
|
+
"inherited": false,
|
|
195
|
+
"deprecated": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "children",
|
|
199
|
+
"type": "React.ReactNode",
|
|
200
|
+
"default": null,
|
|
201
|
+
"description": "Table footer content (rows).",
|
|
202
|
+
"required": false,
|
|
203
|
+
"inherited": false,
|
|
204
|
+
"deprecated": false
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"extraProps": [],
|
|
208
|
+
"catchAll": "All standard <thead>/<tbody> attributes and Bulma helper props",
|
|
209
|
+
"types": []
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"path": "Table.Tr",
|
|
213
|
+
"summary": "Tr component for rendering a styled Bulma table row. Supports the is-selected modifier and color modifiers.",
|
|
214
|
+
"component": "Tr",
|
|
215
|
+
"props": [
|
|
216
|
+
{
|
|
217
|
+
"name": "className",
|
|
218
|
+
"type": "string",
|
|
219
|
+
"default": null,
|
|
220
|
+
"description": "Additional CSS classes to apply.",
|
|
221
|
+
"required": false,
|
|
222
|
+
"inherited": false,
|
|
223
|
+
"deprecated": false
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "isSelected",
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"default": "false",
|
|
229
|
+
"description": "Whether the row is selected (adds Bulma's is-selected class).",
|
|
230
|
+
"required": false,
|
|
231
|
+
"inherited": false,
|
|
232
|
+
"deprecated": false
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "color",
|
|
236
|
+
"type": "TableColor",
|
|
237
|
+
"default": null,
|
|
238
|
+
"description": "Bulma color modifier for the table row.",
|
|
239
|
+
"required": false,
|
|
240
|
+
"inherited": false,
|
|
241
|
+
"deprecated": false
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "children",
|
|
245
|
+
"type": "React.ReactNode",
|
|
246
|
+
"default": null,
|
|
247
|
+
"description": "Table row content (cells).",
|
|
248
|
+
"required": false,
|
|
249
|
+
"inherited": false,
|
|
250
|
+
"deprecated": false
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"extraProps": [],
|
|
254
|
+
"catchAll": "All standard <tr> attributes and Bulma helper props",
|
|
255
|
+
"types": [
|
|
256
|
+
{
|
|
257
|
+
"name": "TableColor",
|
|
258
|
+
"expansion": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white'",
|
|
259
|
+
"summary": "Valid color values for the Td component (Bulma table cell colors)."
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"path": "Table.Th",
|
|
265
|
+
"summary": "Th component for rendering a styled Bulma table header cell. Supports alignment, width, and color modifiers.",
|
|
266
|
+
"component": "Th",
|
|
267
|
+
"props": [
|
|
268
|
+
{
|
|
269
|
+
"name": "className",
|
|
270
|
+
"type": "string",
|
|
271
|
+
"default": null,
|
|
272
|
+
"description": "Additional CSS classes to apply.",
|
|
273
|
+
"required": false,
|
|
274
|
+
"inherited": false,
|
|
275
|
+
"deprecated": false
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "isAligned",
|
|
279
|
+
"type": "'left' | 'right' | 'centered'",
|
|
280
|
+
"default": null,
|
|
281
|
+
"description": "Text alignment for the header cell ('left', 'right', 'centered').",
|
|
282
|
+
"required": false,
|
|
283
|
+
"inherited": false,
|
|
284
|
+
"deprecated": false
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "width",
|
|
288
|
+
"type": "string | number",
|
|
289
|
+
"default": null,
|
|
290
|
+
"description": "Width of the header cell (e.g., '100px' or 100).",
|
|
291
|
+
"required": false,
|
|
292
|
+
"inherited": false,
|
|
293
|
+
"deprecated": false
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "color",
|
|
297
|
+
"type": "TableColor",
|
|
298
|
+
"default": null,
|
|
299
|
+
"description": "Bulma color modifier for the header cell.",
|
|
300
|
+
"required": false,
|
|
301
|
+
"inherited": false,
|
|
302
|
+
"deprecated": false
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "children",
|
|
306
|
+
"type": "React.ReactNode",
|
|
307
|
+
"default": null,
|
|
308
|
+
"description": "Table header cell content.",
|
|
309
|
+
"required": false,
|
|
310
|
+
"inherited": false,
|
|
311
|
+
"deprecated": false
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"extraProps": [],
|
|
315
|
+
"catchAll": "All standard <td>/<th> attributes and Bulma helper props",
|
|
316
|
+
"types": [
|
|
317
|
+
{
|
|
318
|
+
"name": "TableColor",
|
|
319
|
+
"expansion": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white'",
|
|
320
|
+
"summary": "Valid color values for the Td component (Bulma table cell colors)."
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"path": "Table.Td",
|
|
326
|
+
"summary": "Td component for rendering a styled Bulma table cell. Supports Bulma color modifiers and helper classes for additional styling.",
|
|
327
|
+
"component": "Td",
|
|
328
|
+
"props": [
|
|
329
|
+
{
|
|
330
|
+
"name": "className",
|
|
331
|
+
"type": "string",
|
|
332
|
+
"default": null,
|
|
333
|
+
"description": "Additional CSS classes to apply.",
|
|
334
|
+
"required": false,
|
|
335
|
+
"inherited": false,
|
|
336
|
+
"deprecated": false
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "color",
|
|
340
|
+
"type": "TableColor",
|
|
341
|
+
"default": null,
|
|
342
|
+
"description": "Bulma color modifier for the table cell.",
|
|
343
|
+
"required": false,
|
|
344
|
+
"inherited": false,
|
|
345
|
+
"deprecated": false
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "children",
|
|
349
|
+
"type": "React.ReactNode",
|
|
350
|
+
"default": null,
|
|
351
|
+
"description": "Table cell content.",
|
|
352
|
+
"required": false,
|
|
353
|
+
"inherited": false,
|
|
354
|
+
"deprecated": false
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"extraProps": [],
|
|
358
|
+
"catchAll": "All standard <td>/<th> attributes and Bulma helper props",
|
|
359
|
+
"types": [
|
|
360
|
+
{
|
|
361
|
+
"name": "TableColor",
|
|
362
|
+
"expansion": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white'",
|
|
363
|
+
"summary": "Valid color values for the Td component (Bulma table cell colors)."
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"cssVars": [
|
|
369
|
+
{
|
|
370
|
+
"css": "--bulma-table-color",
|
|
371
|
+
"sass": "$table-color",
|
|
372
|
+
"default": "var(--bulma-text-strong)",
|
|
373
|
+
"scope": "component"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"css": "--bulma-table-background-color",
|
|
377
|
+
"sass": "$table-background-color",
|
|
378
|
+
"default": "var(--bulma-scheme-main)",
|
|
379
|
+
"scope": "component"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"css": "--bulma-table-cell-border-color",
|
|
383
|
+
"sass": "$table-cell-border-color",
|
|
384
|
+
"default": "var(--bulma-border)",
|
|
385
|
+
"scope": "component"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"css": "--bulma-table-cell-border-style",
|
|
389
|
+
"sass": "$table-cell-border-style",
|
|
390
|
+
"default": "solid",
|
|
391
|
+
"scope": "component"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"css": "--bulma-table-cell-border-width",
|
|
395
|
+
"sass": "$table-cell-border-width",
|
|
396
|
+
"default": "0 0 1px",
|
|
397
|
+
"scope": "component"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"css": "--bulma-table-cell-padding",
|
|
401
|
+
"sass": "$table-cell-padding",
|
|
402
|
+
"default": "0.5em 0.75em",
|
|
403
|
+
"scope": "component"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"css": "--bulma-table-cell-heading-color",
|
|
407
|
+
"sass": "$table-cell-heading-color",
|
|
408
|
+
"default": "var(--bulma-text-strong)",
|
|
409
|
+
"scope": "component"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"css": "--bulma-table-cell-text-align",
|
|
413
|
+
"sass": "$table-cell-text-align",
|
|
414
|
+
"default": "left",
|
|
415
|
+
"scope": "component"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"css": "--bulma-table-head-cell-border-width",
|
|
419
|
+
"sass": "$table-head-cell-border-width",
|
|
420
|
+
"default": "0 0 2px",
|
|
421
|
+
"scope": "component"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"css": "--bulma-table-head-cell-color",
|
|
425
|
+
"sass": "$table-head-cell-color",
|
|
426
|
+
"default": "var(--bulma-text-strong)",
|
|
427
|
+
"scope": "component"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"css": "--bulma-table-foot-cell-border-width",
|
|
431
|
+
"sass": "$table-foot-cell-border-width",
|
|
432
|
+
"default": "2px 0 0",
|
|
433
|
+
"scope": "component"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"css": "--bulma-table-foot-cell-color",
|
|
437
|
+
"sass": "$table-foot-cell-color",
|
|
438
|
+
"default": "var(--bulma-text-strong)",
|
|
439
|
+
"scope": "component"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"css": "--bulma-table-head-background-color",
|
|
443
|
+
"sass": "$table-head-background-color",
|
|
444
|
+
"default": "transparent",
|
|
445
|
+
"scope": "component"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"css": "--bulma-table-body-background-color",
|
|
449
|
+
"sass": "$table-body-background-color",
|
|
450
|
+
"default": "transparent",
|
|
451
|
+
"scope": "component"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"css": "--bulma-table-foot-background-color",
|
|
455
|
+
"sass": "$table-foot-background-color",
|
|
456
|
+
"default": "transparent",
|
|
457
|
+
"scope": "component"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"css": "--bulma-table-row-hover-background-color",
|
|
461
|
+
"sass": "$table-row-hover-background-color",
|
|
462
|
+
"default": "var(--bulma-scheme-main-bis)",
|
|
463
|
+
"scope": "component"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"css": "--bulma-table-row-active-background-color",
|
|
467
|
+
"sass": "$table-row-active-background-color",
|
|
468
|
+
"default": "var(--bulma-primary)",
|
|
469
|
+
"scope": "component"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"css": "--bulma-table-row-active-color",
|
|
473
|
+
"sass": "$table-row-active-color",
|
|
474
|
+
"default": "var(--bulma-primary-invert)",
|
|
475
|
+
"scope": "component"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"css": "--bulma-table-striped-row-even-background-color",
|
|
479
|
+
"sass": "$table-striped-row-even-background-color",
|
|
480
|
+
"default": "var(--bulma-scheme-main-bis)",
|
|
481
|
+
"scope": "component"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"css": "--bulma-table-striped-row-even-hover-background-color",
|
|
485
|
+
"sass": "$table-striped-row-even-hover-background-color",
|
|
486
|
+
"default": "var(--bulma-scheme-main-ter)",
|
|
487
|
+
"scope": "component"
|
|
488
|
+
}
|
|
489
|
+
]
|
|
490
|
+
}
|