From 812e2c29d3b53c3868f3dac6c04b257dd78327db Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Wed, 1 Nov 2017 22:32:20 -0700 Subject: [PATCH] gt - Update storybook - Update APM theme cdn - Reorder stories by name --- .storybook/config.js | 2 +- .storybook/preview-head.html | 2 +- stories/index.js | 53 ++++++++++++++++-------------------- 3 files changed, 26 insertions(+), 31 deletions(-) diff --git a/.storybook/config.js b/.storybook/config.js index a61a4d2e6..296cdfe44 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -32,7 +32,7 @@ const ThemeLink = props => { } const THEMES = [ - { name: 'APM/Saffron', url: 'https://s3-us-west-2.amazonaws.com/appfolio-frontend-dev/styles/bootstrap-saffron.min.css' }, + { name: 'APM/Saffron', url: 'http://pa.cdn.appfolio.com/appfolio/assets/styles/saffron/bootstrap-saffron.min.css' }, { name: 'MyCase', url: 'https://s3.amazonaws.com/com.mycaseinc.dev-share/paulus/bootstrap-mycase.min.20170628.css' }, { name: 'APM/Saffron 3 Preview', url: 'https://s3-us-west-2.amazonaws.com/appfolio-frontend-dev/styles/preview/bootstrap-saffron.min.css' }, { name: 'Bootstrap default', url: 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css' }, diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 15f1a36ec..b9cfd00cb 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/stories/index.js b/stories/index.js index 5bdeee176..b0ebadf55 100644 --- a/stories/index.js +++ b/stories/index.js @@ -1,49 +1,44 @@ import './Welcome'; - -// Basic import './Layout'; -import './Buttons'; -import './Card'; -import './Flag'; -import './Icon'; -import './Alerts'; -import './HelpBubble'; -import './LabelBadge'; -import './Modal'; -import './Nav'; -import './Popover'; -import './Progress'; -import './SortableTable'; -import './Table'; -import './Tooltip'; - -// Form fields -import './Forms'; -import './Address'; -import './CurrencyInput'; -import './CreditCardNumber'; -import './DateInput'; -import './FormRow'; -import './InputGroup'; -import './MonthInput'; -import './Select'; -// APM import './ActivityLog'; +import './Address'; +import './Alerts'; import './BlockPanel'; +import './Buttons'; import './Callout'; +import './Card'; +import './CreditCardNumber'; +import './CurrencyInput'; import './Datapair'; +import './DateInput'; import './ExpandableSection'; import './FeatureBanner'; import './FilterList'; +import './Flag'; +import './FormRow'; +import './Forms'; import './HasManyFields'; +import './HelpBubble'; +import './Icon'; import './InfoBox'; +import './InputGroup'; +import './LabelBadge'; +import './Modal'; +import './MonthInput'; +import './Nav'; import './Note'; import './Notes'; import './Paginator'; +import './Popover'; +import './Progress'; +import './Select'; +import './SortableTable'; +import './Spinner'; import './Steps'; import './SummaryBox'; -import './Spinner'; +import './Table'; +import './Tooltip'; import './Waiting'; import './More';