-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #255 from City-of-Helsinki/fix/navigation-issue
[Fix] Navigation component name mangling issue
- Loading branch information
Showing
11 changed files
with
45 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "hds-core", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "Core styles for the Helsinki Design System", | ||
"author": "Anssi Lehtonen <[email protected]>", | ||
"contributors": [ | ||
|
@@ -29,7 +29,7 @@ | |
"@storybook/html": "6.0.19", | ||
"copyfiles": "2.2.0", | ||
"cssnano": "4.1.10", | ||
"hds-design-tokens": "0.13.1", | ||
"hds-design-tokens": "0.13.2", | ||
"normalize.css": "8.0.1", | ||
"postcss": "7.0.30", | ||
"postcss-cli": "7.1.1", | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "hds-design-tokens", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "Design tokens for the Helsinki Design System", | ||
"author": "Niclas Liimatainen <[email protected]>", | ||
"homepage": "https://github.com/City-of-Helsinki/helsinki-design-system#readme", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import React from 'react'; | ||
|
||
/** | ||
* Extends the React FunctionComponent type with the componentName key | ||
*/ | ||
export type FCWithName = React.FC & { componentName: string }; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,4 @@ export const NavigationSearch = ({ | |
</div> | ||
); | ||
}; | ||
NavigationSearch.displayName = 'NavigationSearch'; |
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 |
---|---|---|
|
@@ -89,3 +89,4 @@ export const NavigationUser = ({ | |
</div> | ||
); | ||
}; | ||
NavigationUser.componentName = 'NavigationUser'; |
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