-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use gap instead of Space in ActionMenuItemContent. - CheckboxMenu popover now longer has blue outline. - Remove unused CSS class in Chip CSS module. - Update font-size and font-weight of Heading level h4-h6 as per design. - Show all Heading variants in overview story. - Pass correct props down to anchor element in MenuButtonLink. - Update icons to Stena icons in NavBar stories. - Update color of nav bar notification button when there are no notifications. - Use Stena icon in notification button, instead of FA. - Notification now has white background, and round corners.
- Loading branch information
1 parent
6318af4
commit 4c7e1ee
Showing
12 changed files
with
66 additions
and
71 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
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
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 |
---|---|---|
|
@@ -18,6 +18,8 @@ import { | |
FlatButton, | ||
Icon, | ||
PrimaryButton, | ||
stenaCog, | ||
stenaSignOut, | ||
WithBadge, | ||
} from "@stenajs-webui/elements"; | ||
import * as React from "react"; | ||
|
@@ -48,8 +50,6 @@ import { | |
import { faAngleDoubleLeft } from "@fortawesome/free-solid-svg-icons/faAngleDoubleLeft"; | ||
import { faThumbtack } from "@fortawesome/free-solid-svg-icons/faThumbtack"; | ||
import { NavBarUserButton } from "./NavBarUserButton"; | ||
import { faCog } from "@fortawesome/free-solid-svg-icons/faCog"; | ||
import { faSignOutAlt } from "@fortawesome/free-solid-svg-icons/faSignOutAlt"; | ||
import { NavBarNotificationButton } from "./NavBarNotificationButton"; | ||
import { NavBarSearchField } from "./NavBarSearchField"; | ||
|
||
|
@@ -253,8 +253,8 @@ export const UserButton = () => ( | |
<> | ||
<ActionMenuItemContent label={"[email protected]"} /> | ||
<ActionMenuSeparator /> | ||
<ActionMenuItem leftIcon={faCog} label={"Manage account"} /> | ||
<ActionMenuItem leftIcon={faSignOutAlt} label={"Logout"} /> | ||
<ActionMenuItem leftIcon={stenaCog} label={"Manage account"} /> | ||
<ActionMenuItem leftIcon={stenaSignOut} label={"Logout"} /> | ||
</> | ||
)} | ||
/> | ||
|
@@ -268,8 +268,8 @@ export const UserButton = () => ( | |
<> | ||
<ActionMenuItemContent label={"[email protected]"} /> | ||
<ActionMenuSeparator /> | ||
<ActionMenuItem leftIcon={faCog} label={"Manage account"} /> | ||
<ActionMenuItem leftIcon={faSignOutAlt} label={"Logout"} /> | ||
<ActionMenuItem leftIcon={stenaCog} label={"Manage account"} /> | ||
<ActionMenuItem leftIcon={stenaSignOut} label={"Logout"} /> | ||
</> | ||
)} | ||
/> | ||
|
4 changes: 1 addition & 3 deletions
4
packages/panels/src/components/nav-bar/NavBarNotificationButton.module.css
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
15 changes: 9 additions & 6 deletions
15
packages/panels/src/components/notifications/Notification.tsx
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