Skip to content

Commit 4b0d78a

Browse files
committed
(#6538) Changed component synonyms namings
1 parent 796ad97 commit 4b0d78a

File tree

1 file changed

+15
-43
lines changed

1 file changed

+15
-43
lines changed

dev/src/shares/synonyms.ts

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,24 @@ export type ComponentSynonyms = {
44

55
export const COMPONENT_SYNONYMS: ComponentSynonyms = {
66
accordion: ['Collapse'],
7-
alert: ['Message', 'Alerts', 'Toaster', 'Snackbar'],
7+
alert: ['Message'],
88
avatar: ['Persona'],
9-
badge: ['Badges'],
10-
breadcrumb: ['Breadcrumbs'],
11-
button: ['Buttons', 'Button Icons'],
12-
'button-group': ['Button group', 'Button Groups'],
13-
'button-link': ['Button', 'Buttons', 'Button Icons'],
14-
card: ['Cards'],
159
combobox: ['Autocomplete', 'Select', 'Dropdown'],
1610
details: ['Disclosure', 'Collapse', 'Summary Detail'],
1711
dialog: ['Modal', 'Modal dialog', 'Corner Dialog', 'Prompt'],
1812
image: ['Img', 'Thumbnail'],
19-
'input-date': [
20-
'DatePicker',
21-
'Datetime Picker',
22-
'Date picker',
23-
'Date',
24-
'Calendar',
25-
'Datepickers',
26-
'Datetime Picker.Popup',
27-
'Datepicker dialog',
28-
],
29-
'input-file': ['Upload', 'File input', 'File uploader', 'File', 'Filepicker', 'File Selector'],
30-
'input-radio': ['ChoiceGroup', 'Radio', 'Radios', 'Radio Button', 'Radio Buttons'],
31-
'input-range': ['Slider', 'Sliders', 'Range'],
32-
'input-text': [
33-
'Input',
34-
'Textfield',
35-
'FormControl',
36-
'Text input',
37-
'Text',
38-
'Text Input',
39-
'TextField',
40-
'Text field',
41-
'InputText',
42-
'input',
43-
'Text Field',
44-
'TextInput',
45-
],
46-
modal: ['Modal', 'Modal dialog', 'Corner Dialog', 'Prompt'],
47-
nav: ['Menu', 'Dropdowns (menu)'],
48-
select: ['Autocomplete', 'Datalist', 'Select Menu', 'Combobox', 'Dropdown', 'Picker', 'Selection Dropdown'],
49-
spin: ['Placeholder', 'Placeholders', 'Skeleton', 'Shimmer'],
50-
table: ['Tables', 'Dynamic table', 'Data table', 'Data Tables', 'DetailsList', 'Tree Grid'],
51-
tabs: ['Navs & tabs'],
52-
toaster: ['Toast', 'Toasts', 'Notification'],
53-
tooltip: ['Tooltips', 'Inline dialog', 'Popover'],
54-
tree: ['List', 'List group', 'Ul', 'Ol'],
13+
'input-date': ['Date Picker', 'Datetime Picker', 'Week Picker Month Picker', 'Time Picker', 'Calendar'],
14+
'input-file': ['Upload', 'File Uploader', 'File Picker', 'File Selector'],
15+
'input-radio': ['Choice Group', 'Radio Buttons'],
16+
'input-range': ['Slider'],
17+
'input-text': ['Text Field'],
18+
modal: ['Dialog', 'Prompt'],
19+
nav: ['Navigation', 'Menu', 'Sidebar', 'Dropdowns (menu)'],
20+
select: ['Datalist', 'Dropdown'],
21+
spin: ['Placeholder', 'Skeleton', 'Shimmer'],
22+
table: ['Data Table', 'Details List', 'Data Grid'],
23+
tabs: ['Navigation', 'Nav'],
24+
toaster: ['Notification', 'Snackbar'],
25+
tooltip: ['Inline Dialog', 'Popover'],
26+
tree: ['List', 'Navigation'],
5527
};

0 commit comments

Comments
 (0)