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,583 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Input",
|
|
3
|
+
"kind": "component",
|
|
4
|
+
"category": "form",
|
|
5
|
+
"slug": "form/input",
|
|
6
|
+
"docsUrl": "https://bestax.io/docs/api/form/input",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"title": "Default Input",
|
|
10
|
+
"code": "<Input label=\"Default\" placeholder=\"Default input\" />"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "Color Inputs",
|
|
14
|
+
"code": "<>\n <Input label=\"Primary\" color=\"primary\" placeholder=\"Primary input\" />\n <Input label=\"Link\" color=\"link\" placeholder=\"Link input\" />\n <Input label=\"Info\" color=\"info\" placeholder=\"Info input\" />\n <Input label=\"Success\" color=\"success\" placeholder=\"Success input\" />\n <Input label=\"Warning\" color=\"warning\" placeholder=\"Warning input\" />\n <Input label=\"Danger\" color=\"danger\" placeholder=\"Danger input\" />\n</>"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"title": "Sizes",
|
|
18
|
+
"code": "<>\n <Input label=\"Small\" size=\"small\" placeholder=\"Small input\" />\n <Input label=\"Normal\" placeholder=\"Normal input\" />\n <Input label=\"Medium\" size=\"medium\" placeholder=\"Medium input\" />\n <Input label=\"Large\" size=\"large\" placeholder=\"Large input\" />\n</>"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "Style: Rounded",
|
|
22
|
+
"code": "<Input label=\"Rounded\" isRounded placeholder=\"Rounded input\" />"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "States",
|
|
26
|
+
"code": "<>\n <Input label=\"Normal\" placeholder=\"Normal state\" />\n <Input label=\"Hover\" isHovered placeholder=\"Hovered state\" />\n <Input label=\"Focus\" isFocused placeholder=\"Focused state\" />\n <Input label=\"Loading\" isLoading placeholder=\"Loading state\" />\n</>"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Loading States by Size",
|
|
30
|
+
"code": "<>\n <Input\n label=\"Loading Small\"\n size=\"small\"\n controlSize=\"small\"\n isLoading\n placeholder=\"Loading small\"\n />\n <Input label=\"Loading Normal\" isLoading placeholder=\"Loading normal\" />\n <Input\n label=\"Loading Medium\"\n size=\"medium\"\n controlSize=\"medium\"\n isLoading\n placeholder=\"Loading medium\"\n />\n <Input\n label=\"Loading Large\"\n size=\"large\"\n controlSize=\"large\"\n isLoading\n placeholder=\"Loading large\"\n />\n</>"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"title": "Disabled & Read Only",
|
|
34
|
+
"code": "<>\n <Input label=\"Disabled\" disabled placeholder=\"Disabled input\" />\n <Input label=\"Read Only\" readOnly value=\"Read only value\" />\n</>"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"title": "Static State",
|
|
38
|
+
"code": "<>\n <Input horizontal label=\"Username\" isStatic value=\"Static value\" />\n <Input horizontal label=\"Password\" placeholder=\"Editable value\" />\n</>"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"title": "With Icons (Left and Right)",
|
|
42
|
+
"code": "<>\n <Input iconLeftName=\"user\" iconRightName=\"check\" placeholder=\"With icons\" />\n <Input\n iconLeftName=\"envelope\"\n iconRightName=\"exclamation-triangle\"\n placeholder=\"Another input\"\n />\n</>"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"title": "With Icons and Size Variations",
|
|
46
|
+
"code": "<>\n <Input\n size=\"small\"\n iconLeftName=\"user\"\n iconLeftSize=\"small\"\n iconRightName=\"check\"\n iconRightSize=\"small\"\n placeholder=\"Icons left/right small\"\n />\n <Input\n iconLeftName=\"user\"\n iconRightName=\"check\"\n placeholder=\"Icons left/right normal\"\n />\n <Input\n size=\"medium\"\n iconLeftName=\"user\"\n iconLeftSize=\"medium\"\n iconRightName=\"check\"\n iconRightSize=\"medium\"\n placeholder=\"Icons left/right medium\"\n />\n <Input\n size=\"large\"\n iconLeftName=\"user\"\n iconLeftSize=\"large\"\n iconRightName=\"check\"\n iconRightSize=\"large\"\n placeholder=\"Icons left/right large\"\n />\n</>"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"title": "Help Text Colors",
|
|
50
|
+
"code": "<>\n <Input\n label=\"Username\"\n color=\"success\"\n value=\"bulma\"\n message=\"This username is available\"\n messageColor=\"success\"\n iconLeftName=\"user\"\n iconRightName=\"check\"\n onChange={() => {}}\n />\n <Input\n label=\"Email\"\n type=\"email\"\n color=\"danger\"\n value=\"hello@\"\n message=\"This email is invalid\"\n messageColor=\"danger\"\n iconLeftName=\"envelope\"\n iconRightName=\"exclamation-triangle\"\n onChange={() => {}}\n />\n</>"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": "Form Addons",
|
|
54
|
+
"code": "<Field hasAddons>\n <Control isExpanded>\n <Input placeholder=\"Find a repository\" />\n </Control>\n <Control>\n <Button color=\"info\">Search</Button>\n </Control>\n</Field>"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"title": "Form Addons",
|
|
58
|
+
"code": "<Field hasAddons>\n <Control isExpanded>\n <Input placeholder=\"Your email\" />\n </Control>\n <Control>\n <Button isStatic>@gmail.com</Button>\n </Control>\n</Field>"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"title": "Form Addons",
|
|
62
|
+
"code": "<Field hasAddons>\n <Control>\n <Select aria-label=\"Country code\">\n <option>+1</option>\n <option>+44</option>\n <option>+33</option>\n </Select>\n </Control>\n <Control isExpanded>\n <Input type=\"tel\" placeholder=\"Your phone number\" />\n </Control>\n <Control>\n <Button color=\"primary\">Call</Button>\n </Control>\n</Field>"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"title": "Form Addons",
|
|
66
|
+
"code": "<Field hasAddons=\"centered\">\n <Control>\n <Button>Yes</Button>\n </Control>\n <Control>\n <Button>Maybe</Button>\n </Control>\n <Control>\n <Button>No</Button>\n </Control>\n</Field>"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"title": "Form Addons",
|
|
70
|
+
"code": "<Field hasAddons=\"right\">\n <Control>\n <Button>Yes</Button>\n </Control>\n <Control>\n <Button>Maybe</Button>\n </Control>\n <Control>\n <Button>No</Button>\n </Control>\n</Field>"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"title": "Form Group",
|
|
74
|
+
"code": "<Field grouped>\n <Control>\n <Button color=\"link\">Submit</Button>\n </Control>\n <Control>\n <Button>Cancel</Button>\n </Control>\n</Field>"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"title": "Form Group",
|
|
78
|
+
"code": "<Field grouped=\"centered\">\n <Control>\n <Button color=\"link\">Submit</Button>\n </Control>\n <Control>\n <Button>Cancel</Button>\n </Control>\n</Field>"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"title": "Form Group",
|
|
82
|
+
"code": "<Field grouped=\"right\">\n <Control>\n <Button color=\"link\">Submit</Button>\n </Control>\n <Control>\n <Button>Cancel</Button>\n </Control>\n</Field>"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"title": "Form Group",
|
|
86
|
+
"code": "<Field grouped>\n <Control isExpanded>\n <Input placeholder=\"Find a repository\" />\n </Control>\n <Control>\n <Button color=\"info\">Search</Button>\n </Control>\n</Field>"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"title": "Form Group",
|
|
90
|
+
"code": "<Field grouped=\"multiline\">\n {[\n 'One',\n 'Two',\n 'Three',\n 'Four',\n 'Five',\n 'Six',\n 'Seven',\n 'Eight',\n 'Nine',\n 'Ten',\n 'Eleven',\n 'Twelve',\n 'Thirteen',\n ].map(label => (\n <Control key={label}>\n <Button>{label}</Button>\n </Control>\n ))}\n</Field>"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"title": "Horizontal — Validation Error",
|
|
94
|
+
"code": "<Field horizontal label=\"Email\">\n <Field.Body>\n <Field>\n <Control iconLeftName=\"envelope\" iconRightName=\"exclamation-triangle\">\n <Input type=\"email\" color=\"danger\" value=\"hello@\" onChange={() => {}} />\n </Control>\n <p className=\"help is-danger\">This email is invalid</p>\n </Field>\n </Field.Body>\n</Field>"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": "Horizontal — Addons (Phone with Country Code)",
|
|
98
|
+
"code": "<Field horizontal label=\"Phone\">\n <Field.Body>\n <Field hasAddons>\n <Control>\n <Button isStatic>+44</Button>\n </Control>\n <Control isExpanded>\n <Input type=\"tel\" placeholder=\"Your phone number\" />\n </Control>\n </Field>\n </Field.Body>\n</Field>"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"title": "Horizontal — Submit Row",
|
|
102
|
+
"code": "<>\n <Field horizontal label=\"Name\">\n <Field.Body>\n <Field>\n <Control>\n <Input placeholder=\"Your name\" />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n <Field horizontal>\n <Field.Label />\n <Field.Body>\n <Field>\n <Control>\n <Button color=\"primary\">Submit</Button>\n </Control>\n </Field>\n </Field.Body>\n </Field>\n</>"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"title": "Disabled Fieldset",
|
|
106
|
+
"code": "<fieldset disabled>\n <Input label=\"Name\" placeholder=\"Your name\" />\n <Input label=\"Email\" type=\"email\" placeholder=\"Your email\" />\n</fieldset>"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"title": "Context-Aware Rendering",
|
|
110
|
+
"code": "<Input label=\"Username\" placeholder=\"Enter username\" />"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"title": "Context-Aware Rendering",
|
|
114
|
+
"code": "function example() {\n return (\n <Field horizontal label=\"Username\">\n <Field.Body>\n <Field>\n <Input placeholder=\"Enter username\" />\n </Field>\n </Field.Body>\n </Field>\n );\n}"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"title": "Context-Aware Rendering",
|
|
118
|
+
"code": "function example() {\n return (\n <Field horizontal label=\"Username\">\n <Field.Body>\n <Field>\n <Control iconLeftName=\"user\">\n <Input placeholder=\"Enter username\" />\n </Control>\n </Field>\n </Field.Body>\n </Field>\n );\n}"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"accessibility": "- Always provide a label. The `label` prop is automatically associated with the input (`htmlFor` plus a generated `id`, or your own `id` if you pass one), so clicking the label focuses the input and assistive technology announces it.\n- When composing with `Field` instead, the `Field`'s own `label` associates with the input automatically when the input sits directly in that labeled `Field` — a nested unlabeled `Field` (as in horizontal multi-field layouts) starts its own scope. Pass `labelProps={{ htmlFor }}` and a matching `id` for a stable id or to label across a nested `Field`.\n- Use the correct input `type` for semantics (`text`, `email`, etc.).",
|
|
122
|
+
"related": ["Control", "Field"],
|
|
123
|
+
"storybook": "https://bestax.io/storybook/?path=/story/form-input--default",
|
|
124
|
+
"summary": "The `Input` component provides a Bulma-styled text input, supporting colors, sizes, rounded corners, static/read-only state, hover/focus/loading states, and all Bulma helper props.",
|
|
125
|
+
"import": "import { Input, Field, Control } from '@allxsmith/bestax-bulma';",
|
|
126
|
+
"sourceFile": "bulma-ui/src/form/Input.tsx",
|
|
127
|
+
"rootClass": "input",
|
|
128
|
+
"parts": [
|
|
129
|
+
{
|
|
130
|
+
"path": "Input",
|
|
131
|
+
"summary": "The `Input` component provides a Bulma-styled text input, supporting colors, sizes, rounded corners, static/read-only state, hover/focus/loading states, and all Bulma helper props.",
|
|
132
|
+
"component": null,
|
|
133
|
+
"props": [
|
|
134
|
+
{
|
|
135
|
+
"name": "label",
|
|
136
|
+
"type": "React.ReactNode",
|
|
137
|
+
"default": null,
|
|
138
|
+
"description": "Field label. Automatically associated with the input via `htmlFor` — uses your `id` when provided, otherwise a generated one. Dropped inside an outer `Field`, whose own label associates instead when that `Field` generates a target id (not `grouped`/`hasAddons`, no explicit `labelProps.htmlFor`).",
|
|
139
|
+
"required": false,
|
|
140
|
+
"inherited": false,
|
|
141
|
+
"deprecated": false
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "labelSize",
|
|
145
|
+
"type": "'small' | 'normal' | 'medium' | 'large'",
|
|
146
|
+
"default": null,
|
|
147
|
+
"description": "Size for the label.",
|
|
148
|
+
"required": false,
|
|
149
|
+
"inherited": false,
|
|
150
|
+
"deprecated": false
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "labelProps",
|
|
154
|
+
"type": "React.LabelHTMLAttributes<HTMLLabelElement> & { [key: string]: unknown; }",
|
|
155
|
+
"default": null,
|
|
156
|
+
"description": "Props for the label element when the component renders its own `Field`; dropped inside an outer `Field` (use that `Field`'s `labelProps` instead). An explicit `htmlFor` key — even `undefined` — overrides the automatic association and no id is generated.",
|
|
157
|
+
"required": false,
|
|
158
|
+
"inherited": false,
|
|
159
|
+
"deprecated": false
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "horizontal",
|
|
163
|
+
"type": "boolean",
|
|
164
|
+
"default": "false",
|
|
165
|
+
"description": "Horizontal field layout.",
|
|
166
|
+
"required": false,
|
|
167
|
+
"inherited": false,
|
|
168
|
+
"deprecated": false
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "iconLeft",
|
|
172
|
+
"type": "IconProps",
|
|
173
|
+
"default": null,
|
|
174
|
+
"description": "Icon props for left icon.",
|
|
175
|
+
"required": false,
|
|
176
|
+
"inherited": false,
|
|
177
|
+
"deprecated": false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "iconRight",
|
|
181
|
+
"type": "IconProps",
|
|
182
|
+
"default": null,
|
|
183
|
+
"description": "Icon props for right icon.",
|
|
184
|
+
"required": false,
|
|
185
|
+
"inherited": false,
|
|
186
|
+
"deprecated": false
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "iconLeftName",
|
|
190
|
+
"type": "string",
|
|
191
|
+
"default": null,
|
|
192
|
+
"description": "Shortcut for left icon name.",
|
|
193
|
+
"required": false,
|
|
194
|
+
"inherited": false,
|
|
195
|
+
"deprecated": false
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "iconRightName",
|
|
199
|
+
"type": "string",
|
|
200
|
+
"default": null,
|
|
201
|
+
"description": "Shortcut for right icon name.",
|
|
202
|
+
"required": false,
|
|
203
|
+
"inherited": false,
|
|
204
|
+
"deprecated": false
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "iconLeftSize",
|
|
208
|
+
"type": "'small' | 'medium' | 'large'",
|
|
209
|
+
"default": null,
|
|
210
|
+
"description": "Shortcut for left icon size.",
|
|
211
|
+
"required": false,
|
|
212
|
+
"inherited": false,
|
|
213
|
+
"deprecated": false
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "iconRightSize",
|
|
217
|
+
"type": "'small' | 'medium' | 'large'",
|
|
218
|
+
"default": null,
|
|
219
|
+
"description": "Shortcut for right icon size.",
|
|
220
|
+
"required": false,
|
|
221
|
+
"inherited": false,
|
|
222
|
+
"deprecated": false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "hasIconsLeft",
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"default": "false",
|
|
228
|
+
"description": "Force left icon container.",
|
|
229
|
+
"required": false,
|
|
230
|
+
"inherited": false,
|
|
231
|
+
"deprecated": false
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "hasIconsRight",
|
|
235
|
+
"type": "boolean",
|
|
236
|
+
"default": "false",
|
|
237
|
+
"description": "Force right icon container.",
|
|
238
|
+
"required": false,
|
|
239
|
+
"inherited": false,
|
|
240
|
+
"deprecated": false
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "isLoading",
|
|
244
|
+
"type": "boolean",
|
|
245
|
+
"default": "false",
|
|
246
|
+
"description": "Shows loading indicator.",
|
|
247
|
+
"required": false,
|
|
248
|
+
"inherited": false,
|
|
249
|
+
"deprecated": false
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "isExpanded",
|
|
253
|
+
"type": "boolean",
|
|
254
|
+
"default": "false",
|
|
255
|
+
"description": "Expand the control.",
|
|
256
|
+
"required": false,
|
|
257
|
+
"inherited": false,
|
|
258
|
+
"deprecated": false
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "controlSize",
|
|
262
|
+
"type": "'small' | 'medium' | 'large'",
|
|
263
|
+
"default": null,
|
|
264
|
+
"description": "Control size.",
|
|
265
|
+
"required": false,
|
|
266
|
+
"inherited": false,
|
|
267
|
+
"deprecated": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "message",
|
|
271
|
+
"type": "React.ReactNode",
|
|
272
|
+
"default": null,
|
|
273
|
+
"description": "Help/validation message below the input.",
|
|
274
|
+
"required": false,
|
|
275
|
+
"inherited": false,
|
|
276
|
+
"deprecated": false
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "messageColor",
|
|
280
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger'",
|
|
281
|
+
"default": null,
|
|
282
|
+
"description": "Bulma color for the message.",
|
|
283
|
+
"required": false,
|
|
284
|
+
"inherited": false,
|
|
285
|
+
"deprecated": false
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "fieldClassName",
|
|
289
|
+
"type": "string",
|
|
290
|
+
"default": null,
|
|
291
|
+
"description": "Additional CSS classes for the Field.",
|
|
292
|
+
"required": false,
|
|
293
|
+
"inherited": false,
|
|
294
|
+
"deprecated": false
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "controlClassName",
|
|
298
|
+
"type": "string",
|
|
299
|
+
"default": null,
|
|
300
|
+
"description": "Additional CSS classes for the Control.",
|
|
301
|
+
"required": false,
|
|
302
|
+
"inherited": false,
|
|
303
|
+
"deprecated": false
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "color",
|
|
307
|
+
"type": "'primary' | 'link' | 'info' | 'success' | 'warning' | 'danger' | 'black' | 'dark' | 'light' | 'white'",
|
|
308
|
+
"default": null,
|
|
309
|
+
"description": "Bulma color modifier for the input.",
|
|
310
|
+
"required": false,
|
|
311
|
+
"inherited": true,
|
|
312
|
+
"deprecated": false
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "size",
|
|
316
|
+
"type": "'small' | 'medium' | 'large'",
|
|
317
|
+
"default": null,
|
|
318
|
+
"description": "Size modifier for the input.",
|
|
319
|
+
"required": false,
|
|
320
|
+
"inherited": true,
|
|
321
|
+
"deprecated": false
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "isRounded",
|
|
325
|
+
"type": "boolean",
|
|
326
|
+
"default": "false",
|
|
327
|
+
"description": "Rounded input corners.",
|
|
328
|
+
"required": false,
|
|
329
|
+
"inherited": true,
|
|
330
|
+
"deprecated": false
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "isStatic",
|
|
334
|
+
"type": "boolean",
|
|
335
|
+
"default": "false",
|
|
336
|
+
"description": "Renders input as static (read only, styled).",
|
|
337
|
+
"required": false,
|
|
338
|
+
"inherited": true,
|
|
339
|
+
"deprecated": false
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "isHovered",
|
|
343
|
+
"type": "boolean",
|
|
344
|
+
"default": "false",
|
|
345
|
+
"description": "Applies hovered state.",
|
|
346
|
+
"required": false,
|
|
347
|
+
"inherited": true,
|
|
348
|
+
"deprecated": false
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "isFocused",
|
|
352
|
+
"type": "boolean",
|
|
353
|
+
"default": "false",
|
|
354
|
+
"description": "Applies focused state.",
|
|
355
|
+
"required": false,
|
|
356
|
+
"inherited": true,
|
|
357
|
+
"deprecated": false
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"name": "className",
|
|
361
|
+
"type": "string",
|
|
362
|
+
"default": null,
|
|
363
|
+
"description": "Additional CSS classes to apply.",
|
|
364
|
+
"required": false,
|
|
365
|
+
"inherited": true,
|
|
366
|
+
"deprecated": false
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "disabled",
|
|
370
|
+
"type": "boolean",
|
|
371
|
+
"default": "false",
|
|
372
|
+
"description": "Disabled input.",
|
|
373
|
+
"required": false,
|
|
374
|
+
"inherited": true,
|
|
375
|
+
"deprecated": false
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "readOnly",
|
|
379
|
+
"type": "boolean",
|
|
380
|
+
"default": "false",
|
|
381
|
+
"description": "Read-only input.",
|
|
382
|
+
"required": false,
|
|
383
|
+
"inherited": true,
|
|
384
|
+
"deprecated": false
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "ref",
|
|
388
|
+
"type": "React.Ref<HTMLInputElement>",
|
|
389
|
+
"default": null,
|
|
390
|
+
"description": "Forwarded to the underlying element.",
|
|
391
|
+
"required": false,
|
|
392
|
+
"inherited": false,
|
|
393
|
+
"deprecated": false
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"extraProps": [],
|
|
397
|
+
"catchAll": "All standard <input> attributes and Bulma helper props",
|
|
398
|
+
"types": []
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"cssVars": [
|
|
402
|
+
{
|
|
403
|
+
"css": "--bulma-input-h",
|
|
404
|
+
"sass": "$input-h",
|
|
405
|
+
"default": "var(--bulma-scheme-h)",
|
|
406
|
+
"scope": "component"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"css": "--bulma-input-s",
|
|
410
|
+
"sass": "$input-s",
|
|
411
|
+
"default": "var(--bulma-scheme-s)",
|
|
412
|
+
"scope": "component"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"css": "--bulma-input-l",
|
|
416
|
+
"sass": "$input-l",
|
|
417
|
+
"default": "var(--bulma-scheme-main-l)",
|
|
418
|
+
"scope": "component"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"css": "--bulma-input-border-style",
|
|
422
|
+
"sass": "$input-border-style",
|
|
423
|
+
"default": "solid",
|
|
424
|
+
"scope": "component"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"css": "--bulma-input-border-width",
|
|
428
|
+
"sass": "$input-border-width",
|
|
429
|
+
"default": "var(--bulma-control-border-width)",
|
|
430
|
+
"scope": "component"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"css": "--bulma-input-border-l",
|
|
434
|
+
"sass": "$input-border-l",
|
|
435
|
+
"default": "var(--bulma-border-l)",
|
|
436
|
+
"scope": "component"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"css": "--bulma-input-border-l-delta",
|
|
440
|
+
"sass": "$input-border-l-delta",
|
|
441
|
+
"default": "0%",
|
|
442
|
+
"scope": "component"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"css": "--bulma-input-border-color",
|
|
446
|
+
"sass": "$input-border-color",
|
|
447
|
+
"default": "hsl(var(--bulma-input-h), var(--bulma-input-s), calc(var(--bulma-input-border-l) + var(--bulma-input-border-l-delta)))",
|
|
448
|
+
"scope": "component"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"css": "--bulma-input-hover-border-l-delta",
|
|
452
|
+
"sass": "$input-hover-border-l-delta",
|
|
453
|
+
"default": "var(--bulma-hover-border-l-delta)",
|
|
454
|
+
"scope": "component"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"css": "--bulma-input-active-border-l-delta",
|
|
458
|
+
"sass": "$input-active-border-l-delta",
|
|
459
|
+
"default": "var(--bulma-active-border-l-delta)",
|
|
460
|
+
"scope": "component"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"css": "--bulma-input-focus-h",
|
|
464
|
+
"sass": "$input-focus-h",
|
|
465
|
+
"default": "var(--bulma-focus-h)",
|
|
466
|
+
"scope": "component"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"css": "--bulma-input-focus-s",
|
|
470
|
+
"sass": "$input-focus-s",
|
|
471
|
+
"default": "var(--bulma-focus-s)",
|
|
472
|
+
"scope": "component"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"css": "--bulma-input-focus-l",
|
|
476
|
+
"sass": "$input-focus-l",
|
|
477
|
+
"default": "var(--bulma-focus-l)",
|
|
478
|
+
"scope": "component"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"css": "--bulma-input-focus-shadow-size",
|
|
482
|
+
"sass": "$input-focus-shadow-size",
|
|
483
|
+
"default": "var(--bulma-focus-shadow-size)",
|
|
484
|
+
"scope": "component"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"css": "--bulma-input-focus-shadow-alpha",
|
|
488
|
+
"sass": "$input-focus-shadow-alpha",
|
|
489
|
+
"default": "var(--bulma-focus-shadow-alpha)",
|
|
490
|
+
"scope": "component"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"css": "--bulma-input-color-l",
|
|
494
|
+
"sass": "$input-color-l",
|
|
495
|
+
"default": "var(--bulma-text-strong-l)",
|
|
496
|
+
"scope": "component"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"css": "--bulma-input-background-l",
|
|
500
|
+
"sass": "$input-background-l",
|
|
501
|
+
"default": "var(--bulma-scheme-main-l)",
|
|
502
|
+
"scope": "component"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"css": "--bulma-input-background-l-delta",
|
|
506
|
+
"sass": "$input-background-l-delta",
|
|
507
|
+
"default": "0%",
|
|
508
|
+
"scope": "component"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"css": "--bulma-input-height",
|
|
512
|
+
"sass": "$input-height",
|
|
513
|
+
"default": "var(--bulma-control-height)",
|
|
514
|
+
"scope": "component"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"css": "--bulma-input-shadow",
|
|
518
|
+
"sass": "$input-shadow",
|
|
519
|
+
"default": "inset 0 0.0625em 0.125em hsla(var(--bulma-scheme-h), var(--bulma-scheme-s), var(--bulma-scheme-invert-l), 0.05)",
|
|
520
|
+
"scope": "component"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"css": "--bulma-input-placeholder-color",
|
|
524
|
+
"sass": "$input-placeholder-color",
|
|
525
|
+
"default": "hsla(var(--bulma-text-h), var(--bulma-text-s), var(--bulma-text-strong-l), 0.3)",
|
|
526
|
+
"scope": "component"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"css": "--bulma-input-disabled-color",
|
|
530
|
+
"sass": "$input-disabled-color",
|
|
531
|
+
"default": "var(--bulma-text-weak)",
|
|
532
|
+
"scope": "component"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"css": "--bulma-input-disabled-background-color",
|
|
536
|
+
"sass": "$input-disabled-background-color",
|
|
537
|
+
"default": "var(--bulma-background)",
|
|
538
|
+
"scope": "component"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"css": "--bulma-input-disabled-border-color",
|
|
542
|
+
"sass": "$input-disabled-border-color",
|
|
543
|
+
"default": "var(--bulma-background)",
|
|
544
|
+
"scope": "component"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"css": "--bulma-input-disabled-placeholder-color",
|
|
548
|
+
"sass": "$input-disabled-placeholder-color",
|
|
549
|
+
"default": "hsla(var(--bulma-text-h), var(--bulma-text-s), var(--bulma-text-weak-l), 0.3)",
|
|
550
|
+
"scope": "component"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"css": "--bulma-input-arrow",
|
|
554
|
+
"sass": "$input-arrow",
|
|
555
|
+
"default": "var(--bulma-link)",
|
|
556
|
+
"scope": "component"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"css": "--bulma-input-icon-color",
|
|
560
|
+
"sass": "$input-icon-color",
|
|
561
|
+
"default": "var(--bulma-text-light)",
|
|
562
|
+
"scope": "component"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"css": "--bulma-input-icon-hover-color",
|
|
566
|
+
"sass": "$input-icon-hover-color",
|
|
567
|
+
"default": "var(--bulma-text-weak)",
|
|
568
|
+
"scope": "component"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"css": "--bulma-input-icon-focus-color",
|
|
572
|
+
"sass": "$input-icon-focus-color",
|
|
573
|
+
"default": "var(--bulma-link)",
|
|
574
|
+
"scope": "component"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"css": "--bulma-input-radius",
|
|
578
|
+
"sass": "$input-radius",
|
|
579
|
+
"default": "var(--bulma-radius)",
|
|
580
|
+
"scope": "component"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
}
|