diff --git a/package.json b/package.json index 74d5e54..723378c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "skeleton-ui-react", - "version": "0.6.0", + "version": "0.6.1", "description": "React SPA Starter Project", "main": "index.js", "repository": "git@github.com:leanstacks/skeleton-ui-react.git", diff --git a/src/app.js b/src/app.js index 74a9539..663cae8 100644 --- a/src/app.js +++ b/src/app.js @@ -42,7 +42,10 @@ if (technologiesLastUpdated.add(1, 'hours').isBefore(moment())) { // Fetch Data using API store.dispatch(startSetTechnologies()).then(() => { console.log('startSetTechnologies success'); - renderApp(); + // Simulate API Latency -- Remove in Production + setTimeout(() => { + renderApp(); + }, 2000); }).catch((err) => { //TODO Handle API Failure console.log('startSetTechnologies failure'); diff --git a/src/components/BusyIndicator.js b/src/components/BusyIndicator.js index 67496c4..d8a2e51 100644 --- a/src/components/BusyIndicator.js +++ b/src/components/BusyIndicator.js @@ -3,27 +3,28 @@ import React from 'react'; const getSizeClass = (size) => { switch (size) { case 'xl': - return 'busy-indicator--xl'; + return 'h1'; case 'lg': - return 'busy-indicator--lg'; + return 'lead'; case 'sm': - return 'busy-indicator--sm'; + return 'small'; default: - return 'busy-indicator--md'; + return ''; }; }; const BusyIndicator = (props) => { - const icon = props.icon || 'fa-circle-o-notch'; + const icon = props.icon || 'fa-circle-notch'; return ( -