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,539 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Field",
|
|
3
|
+
"kind": "component",
|
|
4
|
+
"category": "form",
|
|
5
|
+
"slug": "form/field",
|
|
6
|
+
"docsUrl": "https://bestax.io/docs/api/form/field",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"title": "With Checkbox",
|
|
10
|
+
"code": "<Field label=\"Stay Signed In\">\n <Checkbox>Stay Signed In</Checkbox>\n</Field>"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "With Checkbox and Custom Label (with link)",
|
|
14
|
+
"code": "<Field label=\"Agreement\">\n <Checkbox>\n I have read and agree to the{' '}\n <a href=\"#\" target=\"_blank\" rel=\"noopener noreferrer\">\n terms and conditions\n </a>\n .\n </Checkbox>\n</Field>"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "With Grouped Checkboxes",
|
|
18
|
+
"code": "<Field label=\"Chores\">\n <Checkboxes>\n <Checkbox>Make the bed</Checkbox>\n <Checkbox>Brush teeth</Checkbox>\n <Checkbox>Do homework</Checkbox>\n </Checkboxes>\n</Field>"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "With File",
|
|
22
|
+
"code": "<Field label=\"Upload Resume\">\n <File label=\"Choose a file...\" />\n</Field>"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "With Input (Default)",
|
|
26
|
+
"code": "<Field label=\"Default\">\n <Control>\n <Input placeholder=\"Default input\" />\n </Control>\n</Field>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "With Input (Sizes)",
|
|
30
|
+
"code": "<>\n <Field label=\"Small\">\n <Control>\n <Input size=\"small\" placeholder=\"Small input\" />\n </Control>\n </Field>\n\n <Field label=\"Normal\">\n <Control>\n <Input placeholder=\"Normal input\" />\n </Control>\n </Field>\n\n <Field label=\"Medium\">\n <Control>\n <Input size=\"medium\" placeholder=\"Medium input\" />\n </Control>\n </Field>\n\n <Field label=\"Large\">\n <Control>\n <Input size=\"large\" placeholder=\"Large input\" />\n </Control>\n </Field>\n</>"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "With Input (Rounded)",
|
|
34
|
+
"code": "<Field label=\"Rounded\">\n <Control>\n <Input isRounded placeholder=\"Rounded input\" />\n </Control>\n</Field>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "With Input (States)",
|
|
38
|
+
"code": "<>\n <Field label=\"Normal\">\n <Control>\n <Input placeholder=\"Normal state\" />\n </Control>\n </Field>\n\n <Field label=\"Hover\">\n <Control>\n <Input isHovered placeholder=\"Hovered state\" />\n </Control>\n </Field>\n\n <Field label=\"Focus\">\n <Control>\n <Input isFocused placeholder=\"Focused state\" />\n </Control>\n </Field>\n\n <Field label=\"Loading\">\n <Control isLoading>\n <Input placeholder=\"Loading state\" />\n </Control>\n </Field>\n</>"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "With Input (Disabled & Read Only)",
|
|
42
|
+
"code": "<>\n <Field label=\"Disabled\">\n <Control>\n <Input disabled placeholder=\"Disabled input\" />\n </Control>\n </Field>\n\n <Field label=\"Read Only\">\n <Control>\n <Input readOnly value=\"Read only value\" />\n </Control>\n </Field>\n</>"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"title": "With Input (Static, Horizontal)",
|
|
46
|
+
"code": "<>\n <Field horizontal label=\"Username\">\n <Control>\n <Input isStatic value=\"Static value\" />\n </Control>\n </Field>\n <Field horizontal label=\"Password\">\n <Control>\n <Input placeholder=\"Editable value\" />\n </Control>\n </Field>\n</>"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"title": "With Input (Icons)",
|
|
50
|
+
"code": "<Field>\n <Control\n hasIconsLeft\n hasIconsRight\n iconLeft={{ name: 'user' }}\n iconRight={{ name: 'check' }}\n >\n <Input placeholder=\"With icons\" />\n </Control>\n</Field>"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": "With Radio",
|
|
54
|
+
"code": "<Field label=\"Pet\">\n <Control>\n <Radio name=\"pet\">Cat</Radio>\n <Radio name=\"pet\" defaultChecked>\n Dog\n </Radio>\n </Control>\n</Field>"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"title": "With Grouped Radios",
|
|
58
|
+
"code": "<Field label=\"Event Response\">\n <Radios>\n <Radio name=\"event\" disabled>\n Attend\n </Radio>\n <Radio name=\"event\" disabled>\n Decline\n </Radio>\n <Radio name=\"event\" disabled>\n Tentative\n </Radio>\n </Radios>\n</Field>"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "With Select",
|
|
62
|
+
"code": "<Field label=\"Default\">\n <Control>\n <Select>\n <option value=\"\">Please select</option>\n <option value=\"option1\">Option 1</option>\n <option value=\"option2\">Option 2</option>\n </Select>\n </Control>\n</Field>"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"title": "With Select (Multi Select)",
|
|
66
|
+
"code": "<>\n <Field label=\"Multi Select\">\n <Control>\n <Select multiple multipleSize={10}>\n <option value=\"huck\">Huckleberry Finn</option>\n <option value=\"tom\">Tom Sawyer</option>\n <option value=\"becky\">Becky Thatcher</option>\n <option value=\"jim\">Jim</option>\n <option value=\"pap\">Pap Finn</option>\n <option value=\"duke\">The Duke</option>\n <option value=\"king\">The King</option>\n <option value=\"widow\">Widow Douglas</option>\n <option value=\"judge\">Judge Thatcher</option>\n <option value=\"sid\">Sid Sawyer</option>\n </Select>\n </Control>\n </Field>\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n <br />\n</>"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"title": "With Select (Colors, Sizes, Rounded, Loading, Icons)",
|
|
70
|
+
"code": "<>\n <Field label=\"Primary\">\n <Control>\n <Select color=\"primary\">\n <option value=\"1\">Option 1</option>\n <option value=\"2\">Option 2</option>\n </Select>\n </Control>\n </Field>\n\n <Field label=\"Rounded\">\n <Control>\n <Select isRounded>\n <option value=\"\">Please select</option>\n <option value=\"option1\">Option 1</option>\n <option value=\"option2\">Option 2</option>\n </Select>\n </Control>\n </Field>\n\n <Field label=\"With Icons\">\n <Control hasIconsLeft iconLeft={{ name: 'person' }}>\n <Select>\n <option value=\"huck\">Huckleberry Finn</option>\n <option value=\"tom\">Tom Sawyer</option>\n </Select>\n </Control>\n </Field>\n\n <Field label=\"Loading\">\n <Control isLoading>\n <Select isLoading>\n <option value=\"\">Please select</option>\n <option value=\"option1\">Option 1</option>\n <option value=\"option2\">Option 2</option>\n </Select>\n </Control>\n </Field>\n</>"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"title": "With TextArea",
|
|
74
|
+
"code": "<Field label=\"Default\">\n <Control>\n <TextArea placeholder=\"Carpe Diem\" />\n </Control>\n</Field>"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"title": "With TextArea (Rows, Colors, Sizes, States, Loading, Fixed Size)",
|
|
78
|
+
"code": "<>\n <Field label=\"Rows\">\n <Control>\n <TextArea rows={8} placeholder=\"8 rows\" />\n </Control>\n </Field>\n\n <Field label=\"Primary\">\n <Control>\n <TextArea color=\"primary\" placeholder=\"Primary (color='primary')\" />\n </Control>\n </Field>\n\n <Field label=\"Small\">\n <Control>\n <TextArea size=\"small\" placeholder=\"Small\" />\n </Control>\n </Field>\n\n <Field label=\"Hover\">\n <Control>\n <TextArea isHovered placeholder=\"Hovered state\" />\n </Control>\n </Field>\n\n <Field label=\"Loading\">\n <Control isLoading>\n <TextArea placeholder=\"Loading state\" />\n </Control>\n </Field>\n\n <Field label=\"Fixed Size\">\n <Control>\n <TextArea hasFixedSize placeholder=\"Fixed size textarea\" rows={3} />\n </Control>\n </Field>\n</>"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"title": "Grouped Controls",
|
|
82
|
+
"code": "<Field grouped>\n <Control>\n <Input placeholder=\"First\" />\n </Control>\n <Control>\n <Input placeholder=\"Second\" />\n </Control>\n</Field>"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"title": "Compound (dot-notation) usage",
|
|
86
|
+
"code": "<Field horizontal>\n <Field.Label>Name</Field.Label>\n <Field.Body>\n <Field.Control>\n <Input placeholder=\"Jane Doe\" />\n </Field.Control>\n </Field.Body>\n</Field>"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"accessibility": "- The `label` prop is automatically associated with a single composed `InputBase`, `SelectBase`, or `TextAreaBase` (or an `Input`, `Select`, or `TextArea` nested inside — other convenience inputs don't adopt): the label points at a generated id the control adopts, so clicking it focuses the control and assistive technology announces it.\n- Pass `labelProps={{ htmlFor }}` and a matching `id` when you want a stable id of your own; pass `labelProps={{ htmlFor: undefined }}` to opt out of the association entirely.\n- Association is skipped for `grouped`/`hasAddons` fields (they hold several controls). A labeled Field whose content is not one of the adopting controls (e.g. a checkbox group) renders its `for` unmatched — functionally the same as an unassociated label; label such groups via their own `label` prop instead.\n- Grouped/horizontal layouts use Bulma’s grid for layout.\n- Always use the `label` prop or a custom label for clarity.",
|
|
90
|
+
"related": [
|
|
91
|
+
"Checkbox",
|
|
92
|
+
"Checkboxes",
|
|
93
|
+
"Control",
|
|
94
|
+
"File",
|
|
95
|
+
"Input",
|
|
96
|
+
"Radio",
|
|
97
|
+
"Radios",
|
|
98
|
+
"Select",
|
|
99
|
+
"TextArea"
|
|
100
|
+
],
|
|
101
|
+
"storybook": "https://bestax.io/storybook/?path=/story/form-input--default",
|
|
102
|
+
"summary": "The `Field` component is a Bulma-styled form field container.",
|
|
103
|
+
"import": "import { Field } from '@allxsmith/bestax-bulma';",
|
|
104
|
+
"sourceFile": "bulma-ui/src/form/Field.tsx",
|
|
105
|
+
"rootClass": "field",
|
|
106
|
+
"parts": [
|
|
107
|
+
{
|
|
108
|
+
"path": "Field",
|
|
109
|
+
"summary": "The `Field` component is a Bulma-styled form field container.",
|
|
110
|
+
"component": null,
|
|
111
|
+
"props": [
|
|
112
|
+
{
|
|
113
|
+
"name": "horizontal",
|
|
114
|
+
"type": "boolean",
|
|
115
|
+
"default": "false",
|
|
116
|
+
"description": "Renders the field as horizontal (label and control side by side).",
|
|
117
|
+
"required": false,
|
|
118
|
+
"inherited": false,
|
|
119
|
+
"deprecated": false
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "grouped",
|
|
123
|
+
"type": "boolean | 'centered' | 'right' | 'multiline'",
|
|
124
|
+
"default": null,
|
|
125
|
+
"description": "Group controls in a row (optionally centered, right, or multiline).",
|
|
126
|
+
"required": false,
|
|
127
|
+
"inherited": false,
|
|
128
|
+
"deprecated": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "hasAddons",
|
|
132
|
+
"type": "boolean | 'centered' | 'right'",
|
|
133
|
+
"default": null,
|
|
134
|
+
"description": "Group controls as addons (optionally centered or right-aligned).",
|
|
135
|
+
"required": false,
|
|
136
|
+
"inherited": false,
|
|
137
|
+
"deprecated": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "narrow",
|
|
141
|
+
"type": "boolean",
|
|
142
|
+
"default": "false",
|
|
143
|
+
"description": "Constrains the field to its content's width (used inside horizontal field bodies).",
|
|
144
|
+
"required": false,
|
|
145
|
+
"inherited": false,
|
|
146
|
+
"deprecated": false
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "label",
|
|
150
|
+
"type": "React.ReactNode",
|
|
151
|
+
"default": null,
|
|
152
|
+
"description": "Field label, rendered above the widget. Automatically associated with a single composed `InputBase`, `SelectBase`, or `TextAreaBase` via a generated id and `htmlFor`. Pass `labelProps={{ htmlFor }}` to wire your own `id`, or `labelProps={{ htmlFor: undefined }}` to opt out. Skipped for `grouped`/`hasAddons` fields (multiple controls).",
|
|
153
|
+
"required": false,
|
|
154
|
+
"inherited": false,
|
|
155
|
+
"deprecated": false
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "labelSize",
|
|
159
|
+
"type": "'small' | 'normal' | 'medium' | 'large'",
|
|
160
|
+
"default": null,
|
|
161
|
+
"description": "Size for the label.",
|
|
162
|
+
"required": false,
|
|
163
|
+
"inherited": false,
|
|
164
|
+
"deprecated": false
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "labelProps",
|
|
168
|
+
"type": "React.LabelHTMLAttributes<HTMLLabelElement> & { [key: string]: unknown; }",
|
|
169
|
+
"default": null,
|
|
170
|
+
"description": "Props for the label element. An explicit `htmlFor` key — even set to `undefined` — takes over the association.",
|
|
171
|
+
"required": false,
|
|
172
|
+
"inherited": false,
|
|
173
|
+
"deprecated": false
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "textColor",
|
|
177
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
178
|
+
"default": null,
|
|
179
|
+
"description": "Text color for the field.",
|
|
180
|
+
"required": false,
|
|
181
|
+
"inherited": false,
|
|
182
|
+
"deprecated": false,
|
|
183
|
+
"valuesRef": "helpers/valid-values"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "color",
|
|
187
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
188
|
+
"default": null,
|
|
189
|
+
"description": "Bulma color for the field.",
|
|
190
|
+
"required": false,
|
|
191
|
+
"inherited": false,
|
|
192
|
+
"deprecated": false
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "bgColor",
|
|
196
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
197
|
+
"default": null,
|
|
198
|
+
"description": "Background color for the field.",
|
|
199
|
+
"required": false,
|
|
200
|
+
"inherited": false,
|
|
201
|
+
"deprecated": false,
|
|
202
|
+
"valuesRef": "helpers/valid-values"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "className",
|
|
206
|
+
"type": "string",
|
|
207
|
+
"default": null,
|
|
208
|
+
"description": "Additional CSS classes.",
|
|
209
|
+
"required": false,
|
|
210
|
+
"inherited": false,
|
|
211
|
+
"deprecated": false
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "children",
|
|
215
|
+
"type": "React.ReactNode",
|
|
216
|
+
"default": null,
|
|
217
|
+
"description": "Field content.",
|
|
218
|
+
"required": false,
|
|
219
|
+
"inherited": false,
|
|
220
|
+
"deprecated": false
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"extraProps": [],
|
|
224
|
+
"catchAll": "All standard <div> attributes and Bulma helper props",
|
|
225
|
+
"types": []
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"path": "Field.Label",
|
|
229
|
+
"summary": "FieldLabel component for rendering a Bulma field label.",
|
|
230
|
+
"component": null,
|
|
231
|
+
"props": [
|
|
232
|
+
{
|
|
233
|
+
"name": "size",
|
|
234
|
+
"type": "'small' | 'normal' | 'medium' | 'large'",
|
|
235
|
+
"default": null,
|
|
236
|
+
"description": "Size for the field label.",
|
|
237
|
+
"required": false,
|
|
238
|
+
"inherited": false,
|
|
239
|
+
"deprecated": false
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "textColor",
|
|
243
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
244
|
+
"default": null,
|
|
245
|
+
"description": "Text color for the label.",
|
|
246
|
+
"required": false,
|
|
247
|
+
"inherited": false,
|
|
248
|
+
"deprecated": false,
|
|
249
|
+
"valuesRef": "helpers/valid-values"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "color",
|
|
253
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
254
|
+
"default": null,
|
|
255
|
+
"description": "Bulma color for the label.",
|
|
256
|
+
"required": false,
|
|
257
|
+
"inherited": false,
|
|
258
|
+
"deprecated": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "bgColor",
|
|
262
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
263
|
+
"default": null,
|
|
264
|
+
"description": "Background color for the label.",
|
|
265
|
+
"required": false,
|
|
266
|
+
"inherited": false,
|
|
267
|
+
"deprecated": false,
|
|
268
|
+
"valuesRef": "helpers/valid-values"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "className",
|
|
272
|
+
"type": "string",
|
|
273
|
+
"default": null,
|
|
274
|
+
"description": "Additional CSS classes.",
|
|
275
|
+
"required": false,
|
|
276
|
+
"inherited": false,
|
|
277
|
+
"deprecated": false
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "children",
|
|
281
|
+
"type": "React.ReactNode",
|
|
282
|
+
"default": null,
|
|
283
|
+
"description": "Field label content.",
|
|
284
|
+
"required": false,
|
|
285
|
+
"inherited": false,
|
|
286
|
+
"deprecated": false
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"extraProps": [],
|
|
290
|
+
"catchAll": "All standard <div> attributes and Bulma helper props",
|
|
291
|
+
"types": []
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"path": "Field.Body",
|
|
295
|
+
"summary": "FieldBody component for rendering Bulma field body.",
|
|
296
|
+
"component": null,
|
|
297
|
+
"props": [
|
|
298
|
+
{
|
|
299
|
+
"name": "textColor",
|
|
300
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
301
|
+
"default": null,
|
|
302
|
+
"description": "Text color for the field body.",
|
|
303
|
+
"required": false,
|
|
304
|
+
"inherited": false,
|
|
305
|
+
"deprecated": false,
|
|
306
|
+
"valuesRef": "helpers/valid-values"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "color",
|
|
310
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
311
|
+
"default": null,
|
|
312
|
+
"description": "Bulma color for the field body.",
|
|
313
|
+
"required": false,
|
|
314
|
+
"inherited": false,
|
|
315
|
+
"deprecated": false
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "bgColor",
|
|
319
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
320
|
+
"default": null,
|
|
321
|
+
"description": "Background color for the field body.",
|
|
322
|
+
"required": false,
|
|
323
|
+
"inherited": false,
|
|
324
|
+
"deprecated": false,
|
|
325
|
+
"valuesRef": "helpers/valid-values"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "className",
|
|
329
|
+
"type": "string",
|
|
330
|
+
"default": null,
|
|
331
|
+
"description": "Additional CSS classes.",
|
|
332
|
+
"required": false,
|
|
333
|
+
"inherited": false,
|
|
334
|
+
"deprecated": false
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "children",
|
|
338
|
+
"type": "React.ReactNode",
|
|
339
|
+
"default": null,
|
|
340
|
+
"description": "Field body content.",
|
|
341
|
+
"required": false,
|
|
342
|
+
"inherited": false,
|
|
343
|
+
"deprecated": false
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"extraProps": [],
|
|
347
|
+
"catchAll": "All standard <div> attributes and Bulma helper props",
|
|
348
|
+
"types": []
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"path": "Field.Control",
|
|
352
|
+
"summary": "The `Control` component is a Bulma-styled wrapper for form controls (`Input`, `Select`, `TextArea`, etc.), supporting icons (left/right), loading state, expansion, size, and Bulma helper props for layout and color.",
|
|
353
|
+
"component": "Control",
|
|
354
|
+
"props": [
|
|
355
|
+
{
|
|
356
|
+
"name": "as",
|
|
357
|
+
"type": "'div' | 'p'",
|
|
358
|
+
"default": "'div'",
|
|
359
|
+
"description": "Element type for the control (`div` by default).",
|
|
360
|
+
"required": false,
|
|
361
|
+
"inherited": false,
|
|
362
|
+
"deprecated": false
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "ref",
|
|
366
|
+
"type": "React.Ref<HTMLDivElement> | React.Ref<HTMLParagraphElement>",
|
|
367
|
+
"default": null,
|
|
368
|
+
"description": "Ref for the control element.",
|
|
369
|
+
"required": false,
|
|
370
|
+
"inherited": false,
|
|
371
|
+
"deprecated": false
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "hasIconsLeft",
|
|
375
|
+
"type": "boolean",
|
|
376
|
+
"default": "false",
|
|
377
|
+
"description": "Adds left icon container.",
|
|
378
|
+
"required": false,
|
|
379
|
+
"inherited": true,
|
|
380
|
+
"deprecated": false
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "hasIconsRight",
|
|
384
|
+
"type": "boolean",
|
|
385
|
+
"default": "false",
|
|
386
|
+
"description": "Adds right icon container.",
|
|
387
|
+
"required": false,
|
|
388
|
+
"inherited": true,
|
|
389
|
+
"deprecated": false
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "isLoading",
|
|
393
|
+
"type": "boolean",
|
|
394
|
+
"default": "false",
|
|
395
|
+
"description": "Shows loading indicator.",
|
|
396
|
+
"required": false,
|
|
397
|
+
"inherited": true,
|
|
398
|
+
"deprecated": false
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "isExpanded",
|
|
402
|
+
"type": "boolean",
|
|
403
|
+
"default": "false",
|
|
404
|
+
"description": "Makes the control expand to fill available space.",
|
|
405
|
+
"required": false,
|
|
406
|
+
"inherited": true,
|
|
407
|
+
"deprecated": false
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "size",
|
|
411
|
+
"type": "'small' | 'medium' | 'large'",
|
|
412
|
+
"default": null,
|
|
413
|
+
"description": "Sets the control size.",
|
|
414
|
+
"required": false,
|
|
415
|
+
"inherited": true,
|
|
416
|
+
"deprecated": false
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "textColor",
|
|
420
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
421
|
+
"default": null,
|
|
422
|
+
"description": "Sets text color.",
|
|
423
|
+
"required": false,
|
|
424
|
+
"inherited": true,
|
|
425
|
+
"deprecated": false,
|
|
426
|
+
"valuesRef": "helpers/valid-values"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "color",
|
|
430
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
431
|
+
"default": null,
|
|
432
|
+
"description": "Bulma color for the control.",
|
|
433
|
+
"required": false,
|
|
434
|
+
"inherited": true,
|
|
435
|
+
"deprecated": false
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "bgColor",
|
|
439
|
+
"type": "Bulma color | 'inherit' | 'current'",
|
|
440
|
+
"default": null,
|
|
441
|
+
"description": "Background color.",
|
|
442
|
+
"required": false,
|
|
443
|
+
"inherited": true,
|
|
444
|
+
"deprecated": false,
|
|
445
|
+
"valuesRef": "helpers/valid-values"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "iconLeft",
|
|
449
|
+
"type": "IconProps",
|
|
450
|
+
"default": null,
|
|
451
|
+
"description": "Icon props for left icon.",
|
|
452
|
+
"required": false,
|
|
453
|
+
"inherited": true,
|
|
454
|
+
"deprecated": false
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "iconRight",
|
|
458
|
+
"type": "IconProps",
|
|
459
|
+
"default": null,
|
|
460
|
+
"description": "Icon props for right icon.",
|
|
461
|
+
"required": false,
|
|
462
|
+
"inherited": true,
|
|
463
|
+
"deprecated": false
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "iconLeftName",
|
|
467
|
+
"type": "string",
|
|
468
|
+
"default": null,
|
|
469
|
+
"description": "Shortcut for left icon name.",
|
|
470
|
+
"required": false,
|
|
471
|
+
"inherited": true,
|
|
472
|
+
"deprecated": false
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"name": "iconLeftSize",
|
|
476
|
+
"type": "'small' | 'medium' | 'large'",
|
|
477
|
+
"default": null,
|
|
478
|
+
"description": "Shortcut for left icon size.",
|
|
479
|
+
"required": false,
|
|
480
|
+
"inherited": true,
|
|
481
|
+
"deprecated": false
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "iconRightName",
|
|
485
|
+
"type": "string",
|
|
486
|
+
"default": null,
|
|
487
|
+
"description": "Shortcut for right icon name.",
|
|
488
|
+
"required": false,
|
|
489
|
+
"inherited": true,
|
|
490
|
+
"deprecated": false
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "iconRightSize",
|
|
494
|
+
"type": "'small' | 'medium' | 'large'",
|
|
495
|
+
"default": null,
|
|
496
|
+
"description": "Shortcut for right icon size.",
|
|
497
|
+
"required": false,
|
|
498
|
+
"inherited": true,
|
|
499
|
+
"deprecated": false
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "className",
|
|
503
|
+
"type": "string",
|
|
504
|
+
"default": null,
|
|
505
|
+
"description": "Additional CSS classes to apply.",
|
|
506
|
+
"required": false,
|
|
507
|
+
"inherited": true,
|
|
508
|
+
"deprecated": false
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "children",
|
|
512
|
+
"type": "React.ReactNode",
|
|
513
|
+
"default": null,
|
|
514
|
+
"description": "Content inside the control.",
|
|
515
|
+
"required": false,
|
|
516
|
+
"inherited": true,
|
|
517
|
+
"deprecated": false
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"extraProps": [],
|
|
521
|
+
"catchAll": "All standard <div> / <p> attributes and Bulma helper props",
|
|
522
|
+
"types": []
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"cssVars": [
|
|
526
|
+
{
|
|
527
|
+
"css": "--bulma-field-block-spacing",
|
|
528
|
+
"sass": "$field-block-spacing",
|
|
529
|
+
"default": "0.75rem",
|
|
530
|
+
"scope": "global"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"css": "--bulma-block-spacing",
|
|
534
|
+
"sass": null,
|
|
535
|
+
"default": "var(--bulma-field-block-spacing)",
|
|
536
|
+
"scope": "component"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
}
|