-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathelement-docs-map.ts
More file actions
34 lines (32 loc) · 1.31 KB
/
element-docs-map.ts
File metadata and controls
34 lines (32 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {COMPONENT_CUSTOM_ELEMENTS} from '../component-custom-elements.js';
/**
* A map of Markdown documentation file name to element entrypoints associated
* with that documentation.
*/
export const docsToElementMapping: {[key: string]: readonly string[]} = {
'button.md': COMPONENT_CUSTOM_ELEMENTS.button,
'checkbox.md': COMPONENT_CUSTOM_ELEMENTS.checkbox,
'chip.md': COMPONENT_CUSTOM_ELEMENTS.chips,
'dialog.md': COMPONENT_CUSTOM_ELEMENTS.dialog,
'divider.md': COMPONENT_CUSTOM_ELEMENTS.divider,
'elevation.md': COMPONENT_CUSTOM_ELEMENTS.elevation,
'fab.md': COMPONENT_CUSTOM_ELEMENTS.fab,
'focus-ring.md': COMPONENT_CUSTOM_ELEMENTS.focus,
'icon-button.md': COMPONENT_CUSTOM_ELEMENTS.iconButton,
'icon.md': COMPONENT_CUSTOM_ELEMENTS.icon,
'list.md': COMPONENT_CUSTOM_ELEMENTS.list,
'menu.md': COMPONENT_CUSTOM_ELEMENTS.menu,
'progress.md': COMPONENT_CUSTOM_ELEMENTS.progress,
'radio.md': COMPONENT_CUSTOM_ELEMENTS.radio,
'ripple.md': COMPONENT_CUSTOM_ELEMENTS.ripple,
'slider.md': COMPONENT_CUSTOM_ELEMENTS.slider,
'switch.md': COMPONENT_CUSTOM_ELEMENTS.switch,
'tabs.md': COMPONENT_CUSTOM_ELEMENTS.tabs,
'text-field.md': COMPONENT_CUSTOM_ELEMENTS.textField,
'select.md': COMPONENT_CUSTOM_ELEMENTS.select,
};