|
171 | 171 | } |
172 | 172 | }, |
173 | 173 | "DemoWithCodeAPI": { |
174 | | - "pageAbout": "The API documentation of the DemoWithCode React component. Learn more about the props and the CSS customization points.", |
175 | | - "pageSearchDescription": "DemoWithCode - react component, designed to create code blocks with interactive demo.", |
176 | | - "ComponentNameText": "The DemoWithCode name can be used for providing default props or style overriders at the theme level.", |
177 | | - "enableProps": true, |
178 | | - "props": [ |
179 | | - { |
180 | | - "name": "name", |
181 | | - "type": "string", |
182 | | - "default": "", |
183 | | - "description": "Name of the component. Will be displayed in H3 header if defined." |
184 | | - }, |
185 | | - { |
186 | | - "name": "code", |
187 | | - "type": "string", |
188 | | - "default": "", |
189 | | - "description": "Code to display in inner Code block." |
190 | | - }, |
191 | | - { |
192 | | - "name": "ratio", |
193 | | - "type": "AspectRatio", |
194 | | - "default": "", |
195 | | - "description": "If defined, demo field will keep input aspect ratio." |
196 | | - }, |
197 | | - { |
198 | | - "name": "defaultExpanded", |
199 | | - "type": "boolean", |
200 | | - "default": "false", |
201 | | - "description": "If true - code area will be expanded on startup." |
202 | | - }, |
203 | | - { |
204 | | - "name": "noTag", |
205 | | - "type": "boolean", |
206 | | - "default": "false", |
207 | | - "description": "If true and name prop is defined - header with name will not generate tag for content tab." |
208 | | - }, |
209 | | - { |
210 | | - "name": "paperContainer", |
211 | | - "type": "boolean", |
212 | | - "default": "false", |
213 | | - "description": "If true - demo content will be wrapped in Paper component." |
214 | | - }, |
215 | | - { |
216 | | - "name": "actions", |
217 | | - "type": "DemoCodeAction[]", |
218 | | - "default": "", |
219 | | - "description": "Array of additional actions. The actions will be displayed in the dropdown menu when you click the ExpandMore icon button." |
220 | | - }, |
221 | | - { |
222 | | - "name": "children", |
223 | | - "type": "node", |
224 | | - "default": "", |
225 | | - "description": "Children of an element. Will be placed in demo block." |
226 | | - } |
227 | | - ], |
228 | | - "forwardRef": true, |
229 | | - "enableCss": true, |
| 174 | + "searchDescription": "DemoWithCode - react component, designed to create code blocks with interactive demo.", |
| 175 | + "searchTags": { |
| 176 | + "demo": "demo", |
| 177 | + "with": "with", |
| 178 | + "api": "api", |
| 179 | + "showing": "showing", |
| 180 | + "code": "code" |
| 181 | + }, |
| 182 | + "props": { |
| 183 | + "name": "Name of the component. Will be displayed in H3 header if defined.", |
| 184 | + "code": "Code to display in inner Code block.", |
| 185 | + "ratio": "If defined, demo field will keep input aspect ratio.", |
| 186 | + "defaultExpanded": "If true - code area will be expanded on startup.", |
| 187 | + "noTag": "If true and name prop is defined - header with name will not generate tag for content tab.", |
| 188 | + "paperContainer": "If true - demo content will be wrapped in Paper component.", |
| 189 | + "actions": "Array of additional actions. The actions will be displayed in the dropdown menu when you click the ExpandMore icon button.", |
| 190 | + "children": "Children of an element. Will be placed in demo block." |
| 191 | + }, |
230 | 192 | "css": { |
231 | 193 | "root": "Styles applied to the root element.", |
232 | 194 | "collapse": "Styles applied to the Collapse element, which contains code.", |
|
237 | 199 | } |
238 | 200 | }, |
239 | 201 | "CodeAPI": { |
240 | | - "pageAbout": "The API documentation of the Code React component. Learn more about the props and the CSS customization points.", |
241 | | - "pageSearchDescription": "Code - react component, designed to create code blocks.", |
242 | | - "ComponentNameText": "The Code name can be used for providing default props or style overriders at the theme level.", |
243 | | - "enableProps": true, |
244 | | - "props": [ |
245 | | - { |
246 | | - "name": "language", |
247 | | - "type": "string", |
248 | | - "default": "\"javascript\"", |
249 | | - "description": "Language name for code highlighter." |
250 | | - }, |
251 | | - { |
252 | | - "name": "theme", |
253 | | - "type": "\"light\"", |
254 | | - "default": "\"light\" | \"dark\" | \"darcula\"", |
255 | | - "description": "Code highlighting and background styling type." |
256 | | - }, |
257 | | - { |
258 | | - "name": "children", |
259 | | - "type": "string", |
260 | | - "default": "", |
261 | | - "description": "Code to display in code highlighter." |
262 | | - } |
263 | | - ], |
264 | | - "enableCss": true, |
| 202 | + "searchDescription": "Code - react component, designed to create code blocks.", |
| 203 | + "searchTags": { |
| 204 | + "code": "code", |
| 205 | + "highlight": "highlight", |
| 206 | + "language": "language", |
| 207 | + "api": "api" |
| 208 | + }, |
| 209 | + "props": { |
| 210 | + "language": "Language name for code highlighter.", |
| 211 | + "theme": "Code highlighting and background styling type.", |
| 212 | + "children": "Code to display in code highlighter." |
| 213 | + }, |
265 | 214 | "css": { |
266 | 215 | "root": "Styles applied to the root element.", |
267 | 216 | "highlighterContainer": "Styles applied to the code highlighter container." |
|
432 | 381 | } |
433 | 382 | }, |
434 | 383 | "BlockAPI": { |
435 | | - "pageAbout": "The API documentation of the Block React component. Learn more about the props and the CSS customization points.", |
436 | | - "pageSearchDescription": "Block - react component, designed to show slided information blocks, such as tips, notes, etc.", |
437 | | - "ComponentNameText": "The Block name can be used for providing default props or style overriders at the theme level.", |
438 | | - "enableProps": true, |
439 | | - "props": [ |
440 | | - { |
441 | | - "name": "color", |
442 | | - "type": "\"dark\" | \"light\"", |
443 | | - "default": "\"light\"", |
444 | | - "description": "Color styling, which will be applied to block." |
445 | | - }, |
446 | | - { |
447 | | - "name": "children", |
448 | | - "type": "node", |
449 | | - "default": "", |
450 | | - "description": "Children of an element." |
451 | | - } |
452 | | - ], |
453 | | - "forwardRef": true, |
454 | | - "enableCss": true, |
| 384 | + "searchDescription": "Block - react component, designed to show slided information blocks, such as tips, notes, etc.", |
| 385 | + "searchTags": { |
| 386 | + "block": "block", |
| 387 | + "tip": "tip", |
| 388 | + "slided": "slided", |
| 389 | + "separated": "separated", |
| 390 | + "blockquote": "blockquote", |
| 391 | + "quote": "quote" |
| 392 | + }, |
| 393 | + "props": { |
| 394 | + "color": "Color styling, which will be applied to block.", |
| 395 | + "children": "Children of an element." |
| 396 | + }, |
455 | 397 | "css": { |
456 | 398 | "root": "Styles applied to the root element.", |
457 | 399 | "colorLight": "Styles applied to the root element when prop color equals \"light\"", |
458 | 400 | "colorDark": "Styles applied to the root element when prop color equals \"dark\"" |
459 | 401 | } |
460 | 402 | }, |
461 | 403 | "CodeSpanAPI": { |
462 | | - "pageAbout": "The API documentation of the CodeSpan React component. Learn more about the props and the CSS customization points.", |
463 | | - "pageSearchDescription": "CodeSpan - react component, designed to show code in monospace font inside inline code block.", |
464 | | - "ComponentNameText": "The CodeSpan name can be used for providing default props or style overriders at the theme level.", |
465 | | - "enableProps": true, |
466 | | - "props": [ |
467 | | - { |
468 | | - "name": "color", |
469 | | - "type": "\"default\" | \"primary\" | \"secondary\" | \"grey\"", |
470 | | - "default": "\"default\"", |
471 | | - "description": "Background color of the inline code block." |
472 | | - }, |
473 | | - { |
474 | | - "name": "text", |
475 | | - "type": "\"white\" | \"black\" | \"inherit\"", |
476 | | - "default": "\"inherit\"", |
477 | | - "description": "Text color of code." |
478 | | - }, |
479 | | - { |
480 | | - "name": "children", |
481 | | - "type": "node", |
482 | | - "default": "", |
483 | | - "description": "Children of an element." |
484 | | - } |
485 | | - ], |
| 404 | + "searchDescription": "CodeSpan - react component, designed to show code in monospace font inside inline code block.", |
| 405 | + "searchTags": { |
| 406 | + "code": "code", |
| 407 | + "span": "span", |
| 408 | + "inline": "inline", |
| 409 | + "component": "component", |
| 410 | + "block": "block" |
| 411 | + }, |
| 412 | + "props": { |
| 413 | + "color": "Background color of the inline code block.", |
| 414 | + "text": "Text color of code.", |
| 415 | + "children": "Children of an element." |
| 416 | + }, |
486 | 417 | "forwardRef": true, |
487 | 418 | "enableCss": true, |
488 | 419 | "css": { |
|
867 | 798 | } |
868 | 799 | }, |
869 | 800 | "BoldAPI": { |
870 | | - "pageAbout": "The API documentation of the Bold React component. Learn more about the props and the CSS customization points.", |
871 | | - "pageSearchDescription": "Bold - react component, designed to create tables.", |
872 | | - "ComponentNameText": "The Bold name can be used for providing default props or style overriders at the theme level.", |
873 | | - "enableProps": true, |
874 | | - "props": [ |
875 | | - { |
876 | | - "name": "children", |
877 | | - "type": "node", |
878 | | - "default": "", |
879 | | - "description": "The content of the component." |
880 | | - } |
881 | | - ], |
882 | | - "forwardRef": true, |
883 | | - "enableCss": true, |
| 801 | + "searchDescription": "Bold - react component, designed to create tables.", |
| 802 | + "searchTags": { |
| 803 | + "bold": "bold", |
| 804 | + "font": "font", |
| 805 | + "text": "text", |
| 806 | + "styling": "styling", |
| 807 | + "api": "api" |
| 808 | + }, |
| 809 | + "props": { |
| 810 | + "children": "The content of the component." |
| 811 | + }, |
884 | 812 | "css": { |
885 | 813 | "root": "Styles applied to the root element.", |
886 | 814 | "bold": "Styles applied to the root element with bold text styling." |
887 | 815 | } |
888 | 816 | }, |
889 | 817 | "AutoDocsMenuAPI": { |
890 | | - "pageAbout": "The API documentation of the AutoDocsMenu React component. Learn more about the props and the CSS customization points.", |
891 | | - "pageSearchDescription": "AutoDocsMenu - react component, designed create tables.", |
892 | | - "ComponentNameText": "The AutoDocsMenu name can be used for providing default props or style overriders at the theme level.", |
893 | | - "enableProps": true, |
894 | | - "props": [ |
895 | | - { |
896 | | - "name": "layoutData", |
897 | | - "type": "PagesGroupData", |
898 | | - "default": "", |
899 | | - "description": "Pages and groups hierarchy data." |
900 | | - } |
901 | | - ], |
902 | | - "forwardRef": true, |
903 | | - "enableCss": false, |
904 | | - "css": {}, |
905 | | - "noCssText": "This component is service and doesn't have any styles." |
| 818 | + "searchTags": { |
| 819 | + "api": "api", |
| 820 | + "auto": "auto", |
| 821 | + "docs": "docs", |
| 822 | + "menu": "menu", |
| 823 | + "layout": "layout" |
| 824 | + }, |
| 825 | + "searchDescription": "AutoDocsMenu React component API page.", |
| 826 | + "props": { |
| 827 | + "layoutData": "Pages and groups hierarchy data." |
| 828 | + }, |
| 829 | + "css": {} |
906 | 830 | }, |
907 | 831 | "LanguageSelectorAPI": { |
908 | 832 | "pageAbout": "The API documentation of the LanguageSelector React component. Learn more about the props and the CSS customization points.", |
|
1474 | 1398 | "summary": "The API documentation of the &&name React component. Learn more about the props and the CSS customization points.", |
1475 | 1399 | "importDifferenceText": "You can learn more about the difference by [reading this guide](https://material-ui.com/guides/minimizing-bundle-size/).", |
1476 | 1400 | "customization": "You can override the style of the component thanks to one of these customization points: \n* With a rule name of the [```classes``` object prop](https://material-ui.com/customization/components/#overriding-styles-with-classes). \n* With a [global class name](https://material-ui.com/customization/components/#overriding-styles-with-global-class-names). \n* With a theme and an [```overrides``` property](https://material-ui.com/customization/globals/#css). \n\n\n If that's not sufficient, you can check the implementation of the component for more detail.", |
1477 | | - "componentName": "## Component name \nThe ___&&name___ name can be used for providing [default props](https://material-ui.com/customization/globals/#default-props) or [style overrides](https://material-ui.com/customization/globals/#css) at the theme level.", |
| 1401 | + "componentName": "## Component name \nThe ```&&name``` name can be used for providing [default props](https://material-ui.com/customization/globals/#default-props) or [style overrides](https://material-ui.com/customization/globals/#css) at the theme level.", |
1478 | 1402 | "refText": "The ```ref``` is forwarded to the root element.", |
1479 | 1403 | "propsText": "Any other props supplied will be provided to the root element (native element)." |
1480 | 1404 | } |
|
0 commit comments