|
182 | 182 | "noTag": "If true and name prop is defined - header with name will not generate tag for content tab.", |
183 | 183 | "paperContainer": "If true - demo content will be wrapped in Paper component.", |
184 | 184 | "actions": "Array of additional actions. The actions will be displayed in the dropdown menu when you click the ExpandMore icon button.", |
185 | | - "p": "Padding of demo block in theme.spacing units.", |
186 | | - "m": "Margin of demo block in theme.spacing units.", |
| 185 | + "p": "Padding of demo block in _theme.spacing_ units.", |
| 186 | + "m": "Margin of demo block in _theme.spacing_ units.", |
| 187 | + "theme": "Code highlighting and background styling type.", |
| 188 | + "themeLight": "Code highlighting and background styling type when global theme in light mode.", |
| 189 | + "themeDark": "Code highlighting and background styling type when global theme in dark mode.", |
187 | 190 | "children": "Children of an element. Will be placed in demo block." |
188 | 191 | }, |
189 | 192 | "css": { |
|
206 | 209 | "props": { |
207 | 210 | "language": "Language name for code highlighter.", |
208 | 211 | "theme": "Code highlighting and background styling type.", |
| 212 | + "themeLight": "Code highlighting and background styling type when global theme in light mode.", |
| 213 | + "themeDark": "Code highlighting and background styling type when global theme in dark mode.", |
209 | 214 | "children": "Code to display in code highlighter." |
210 | 215 | }, |
211 | 216 | "css": { |
|
225 | 230 | "name": "Name of the group. Will be displayed on button in menu.", |
226 | 231 | "getData": "Callback, provided to get group data without context usage.", |
227 | 232 | "order": "As lower order as higher will be displayed menu item.", |
| 233 | + "defaultExpanded": "If true, menu group will be expanded on startup.", |
| 234 | + "children": "Children of an element." |
| 235 | + }, |
| 236 | + "css": {} |
| 237 | + }, |
| 238 | + "LandingAPI": { |
| 239 | + "searchDescription": "Landing - react component, designed to provide documentation with free style landing page.", |
| 240 | + "searchTags": { |
| 241 | + "page": "page", |
| 242 | + "landing": "landing", |
| 243 | + "container": "container" |
| 244 | + }, |
| 245 | + "props": { |
228 | 246 | "children": "Children of an element." |
229 | 247 | }, |
230 | 248 | "css": {} |
231 | 249 | }, |
| 250 | + "LangProviderAPI": { |
| 251 | + "searchDescription": "LangProvider - react component, designed to provide children with locale lang settings.", |
| 252 | + "searchTags": { |
| 253 | + "page": "page", |
| 254 | + "lang": "lang", |
| 255 | + "provider": "provider", |
| 256 | + "locale": "locale", |
| 257 | + "container": "container" |
| 258 | + }, |
| 259 | + "props": { |
| 260 | + "lang": "lang extension, will be merged with main lang. To main lang will be added fields from provider lang if in main lang they are not defined.", |
| 261 | + "children": "Children of an element." |
| 262 | + }, |
| 263 | + "css": {} |
| 264 | + }, |
| 265 | + "LocaleAPI": { |
| 266 | + "searchDescription": "Locale - react component, designed to provide user with flexible locale access.", |
| 267 | + "searchTags": { |
| 268 | + "locale": "locale", |
| 269 | + "lang": "lang" |
| 270 | + }, |
| 271 | + "props": { |
| 272 | + "path": "Path to the data in the Lang.locale. Exampele: \"hello/darkness/my\".", |
| 273 | + "children": "Children of an element. Will be displayed by default if can not load data from Lang." |
| 274 | + }, |
| 275 | + "css": {} |
| 276 | + }, |
| 277 | + "LinkAPI": { |
| 278 | + "searchDescription": "Link - react component, designed to create links to outside resource or inner docs page.", |
| 279 | + "searchTags": { |
| 280 | + "link": "link", |
| 281 | + "page": "page", |
| 282 | + "href": "href", |
| 283 | + "redirect": "redirect" |
| 284 | + }, |
| 285 | + "props": { |
| 286 | + "page": "Page route. Can be passed as string or as array of routes.", |
| 287 | + "href": "Link to external resource.", |
| 288 | + "children": "Children of an element. Will be displayed by default if can not load data from Lang." |
| 289 | + }, |
| 290 | + "css": { |
| 291 | + "root": "Styles applied to the root element." |
| 292 | + } |
| 293 | + }, |
232 | 294 | "ImageAPI": { |
233 | 295 | "searchDescription": "Image - react component, designed to show images. Image component uses lazy load technology.", |
234 | 296 | "searchTags": { |
|
242 | 304 | }, |
243 | 305 | "props": { |
244 | 306 | "src": "Source link. Used to define image path.", |
| 307 | + "placeholderSrc": "Src of low quality image, which will be displayed while main image is loading.", |
245 | 308 | "alt": "Alternative text. Will be displayed if image can not load.", |
246 | 309 | "fullWidth": "If true - image will be 100 percent wide.", |
| 310 | + "frame": "If true, image will be placed inside decorative border frame.", |
247 | 311 | "children": "Elements, which will appear in image caption." |
248 | 312 | }, |
249 | 313 | "css": { |
|
288 | 352 | "collapsedHeight": "Height of the component when it is collapsed.", |
289 | 353 | "actions": "Array of additional actions. The actions will be displayed in the dropdown menu when you click the ExpandMore icon button.", |
290 | 354 | "theme": "Code highlighting and background styling type.", |
| 355 | + "themeLight": "Code highlighting and background styling type when global theme in light mode.", |
| 356 | + "themeDark": "Code highlighting and background styling type when global theme in dark mode.", |
291 | 357 | "language": "Language name for code highlighter.", |
292 | 358 | "children": "Code to display in code highlighter. This code will appear in the Code block if component is expanded." |
293 | 359 | }, |
|
699 | 765 | "name": "Name of the docs. Needs for metadata. Will be displayed in app header. Also you can find this name near version label in side menu drawer.", |
700 | 766 | "version": "Version of the docs. Needs for metadata.", |
701 | 767 | "logo": "A path to the logo image, will be displayed in drawer near name and version.", |
| 768 | + "onNameClick": "Callback, designed to handle click on docs name in drawer badge.", |
| 769 | + "onVersionClick": "Callback, designed to handle click on docs version in drawer badge.", |
702 | 770 | "children": "Children of an element. Normally DocsMenu and DocsPages." |
703 | 771 | }, |
704 | 772 | "forwardRef": true, |
|
0 commit comments