Skip to content

Changed component synonyms namings #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 15 additions & 43 deletions dev/src/shares/synonyms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,52 +4,24 @@ export type ComponentSynonyms = {

export const COMPONENT_SYNONYMS: ComponentSynonyms = {
accordion: ['Collapse'],
alert: ['Message', 'Alerts', 'Toaster', 'Snackbar'],
alert: ['Message'],
avatar: ['Persona'],
badge: ['Badges'],
breadcrumb: ['Breadcrumbs'],
button: ['Buttons', 'Button Icons'],
'button-group': ['Button group', 'Button Groups'],
'button-link': ['Button', 'Buttons', 'Button Icons'],
card: ['Cards'],
combobox: ['Autocomplete', 'Select', 'Dropdown'],
details: ['Disclosure', 'Collapse', 'Summary Detail'],
dialog: ['Modal', 'Modal dialog', 'Corner Dialog', 'Prompt'],
image: ['Img', 'Thumbnail'],
'input-date': [
'DatePicker',
'Datetime Picker',
'Date picker',
'Date',
'Calendar',
'Datepickers',
'Datetime Picker.Popup',
'Datepicker dialog',
],
'input-file': ['Upload', 'File input', 'File uploader', 'File', 'Filepicker', 'File Selector'],
'input-radio': ['ChoiceGroup', 'Radio', 'Radios', 'Radio Button', 'Radio Buttons'],
'input-range': ['Slider', 'Sliders', 'Range'],
'input-text': [
'Input',
'Textfield',
'FormControl',
'Text input',
'Text',
'Text Input',
'TextField',
'Text field',
'InputText',
'input',
'Text Field',
'TextInput',
],
modal: ['Modal', 'Modal dialog', 'Corner Dialog', 'Prompt'],
nav: ['Menu', 'Dropdowns (menu)'],
select: ['Autocomplete', 'Datalist', 'Select Menu', 'Combobox', 'Dropdown', 'Picker', 'Selection Dropdown'],
spin: ['Placeholder', 'Placeholders', 'Skeleton', 'Shimmer'],
table: ['Tables', 'Dynamic table', 'Data table', 'Data Tables', 'DetailsList', 'Tree Grid'],
tabs: ['Navs & tabs'],
toaster: ['Toast', 'Toasts', 'Notification'],
tooltip: ['Tooltips', 'Inline dialog', 'Popover'],
tree: ['List', 'List group', 'Ul', 'Ol'],
'input-date': ['Date Picker', 'Datetime Picker', 'Week Picker Month Picker', 'Time Picker', 'Calendar'],
'input-file': ['Upload', 'File Uploader', 'File Picker', 'File Selector'],
'input-radio': ['Choice Group', 'Radio Buttons'],
'input-range': ['Slider'],
'input-text': ['Text Field'],
modal: ['Dialog', 'Prompt'],
nav: ['Navigation', 'Menu', 'Sidebar', 'Dropdowns (menu)'],
select: ['Datalist', 'Dropdown'],
spin: ['Placeholder', 'Skeleton', 'Shimmer'],
table: ['Data Table', 'Details List', 'Data Grid'],
tabs: ['Navigation', 'Nav'],
toaster: ['Notification', 'Snackbar'],
tooltip: ['Inline Dialog', 'Popover'],
tree: ['List', 'Navigation'],
};
Loading