Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix(exports): export new bannermessage component
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeinsch authored and cdaringe committed Oct 5, 2018
1 parent bf588fe commit 627b440
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"chokidar": "^2.0.3",
"condition-circle": "^2.0.1",
"coveralls": "^3.0.1",
"cross-env": "^5.2.0",
"execa": "^0.11.0",
"file-loader": "^1.1.11",
"fs-extra": "^7.0.0",
Expand All @@ -35,8 +36,8 @@
"react": "^16",
"react-dom": "^16",
"react-remarkable": "^1.1.1",
"react-styleguidist": "^7.0.9",
"react-router-dom": "^4.3.1",
"react-styleguidist": "^7.0.9",
"rucksack-css": "^1.0.2",
"semantic-release": "^15.4.0",
"semantic-ui-react": "^0.82.0",
Expand Down Expand Up @@ -64,7 +65,7 @@
"dev": "run-p watch:*",
"build": "node scripts/build",
"lint": "standard",
"test": "DEBUG=webjerk* snapjerk",
"test": "cross-env DEBUG=webjerk* snapjerk",
"prestyleguide:build": "run-p build write-styleguide-sections",
"ci:update-pull-request-with-styleguide": "surge-review --publish-dir styleguide --pull-request $CIRCLE_PULL_REQUEST",
"styleguide:build": "styleguidist build",
Expand Down
4 changes: 3 additions & 1 deletion src/components/BannerMessage/BannerMessageFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const BannerMessageFooter = props => {
function getAlignmentClass () {
const defaultAlignment = 'banner-message__footer-center'
if (center || (alignment && alignment === 'center')) return defaultAlignment
if (right || (alignment && alignment === 'right')) { return 'banner-message__footer-right' }
if (right || (alignment && alignment === 'right')) {
return 'banner-message__footer-right'
}
return defaultAlignment
}

Expand Down
1 change: 1 addition & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ export { default as ExpertCardUnstable } from './unstable/ExpertCard/ExpertCard'
export { default as LayoutUnstable } from './unstable/Layout/Layout'
export { default as LoginPageUnstable } from './unstable/LoginPage/LoginPage'
export { default as LoginPaneUnstable } from './unstable/LoginPane/LoginPane'
export { default as BannerMessage } from './BannerMessage/BannerMessage'
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2856,6 +2856,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
safe-buffer "^5.0.1"
sha.js "^2.4.8"

cross-env@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-5.2.0.tgz#6ecd4c015d5773e614039ee529076669b9d126f2"
dependencies:
cross-spawn "^6.0.5"
is-windows "^1.0.0"

[email protected], cross-spawn@^5.0.1, cross-spawn@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
Expand Down Expand Up @@ -6259,7 +6266,7 @@ is-whitespace-character@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed"

is-windows@^1.0.1, is-windows@^1.0.2:
is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"

Expand Down

0 comments on commit 627b440

Please sign in to comment.