-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(footer): language only for web component variations (#4772)
### Related Ticket(s) #4706 ### Description Introduced the Regular/Short variations of the footer with the Language Selector in Web Components. ### Changelog **New** - `<dds-language-selector>` introduced, extended from `<bx-combo-box>` <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "package: styles": Carbon Expressive --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information
1 parent
0b7cdbe
commit ebf603c
Showing
9 changed files
with
402 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
packages/web-components/src/components/footer/__stories__/language-list.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* @license | ||
* | ||
* Copyright IBM Corp. 2020, 2021 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
const languageList: string[] = [ | ||
'Arabic / عربية', | ||
'Bosnian / Bosanski', | ||
'Bulgarian / Български', | ||
'Catalan / Català', | ||
'Chinese Simplified / 简体中文', | ||
'Chinese Traditional / 繁體中文', | ||
'Croatian / Hrvatski', | ||
'Czech / Čeština', | ||
'Danish / Dansk', | ||
'Dutch / Nederlands', | ||
'English', | ||
'Finnish / Suomi', | ||
'French / Français', | ||
'German / Deutsch', | ||
'Greek / Ελληνικά', | ||
'Hebrew / עברית', | ||
'Hungarian / Magyar', | ||
'Italian / Italiano', | ||
'Japanese / 日本語', | ||
'Kazakh / Қазақша', | ||
'Korean / 한국어', | ||
'Macedonian / македонски', | ||
'Norwegian / Norsk', | ||
'Polish / polski', | ||
'Portuguese/Brazil/Brazil / Português/Brasil', | ||
'Portuguese/Portugal / Português/Portugal', | ||
'Romanian / Română', | ||
'Russian / Русский', | ||
'Serbian / srpski', | ||
'Slovak / Slovenčina', | ||
'Slovenian / Slovenščina', | ||
'Spanish / Español', | ||
'Swedish / Svenska', | ||
'Thai / ภาษาไทย', | ||
'Turkish / Türkçe', | ||
'Vietnamese / Tiếng Việt', | ||
]; | ||
|
||
export default languageList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/web-components/src/components/footer/footer-container.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.