-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
95 changed files
with
19,133 additions
and
12,149 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 1 | ||
update_configs: | ||
- package_manager: "python" | ||
directory: "/" | ||
update_schedule: "weekly" | ||
- package_manager: "javascript" | ||
directory: "/amundsen_application/static/" | ||
update_schedule: "weekly" |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { create } from '@storybook/theming/create'; | ||
|
||
export default create({ | ||
base: 'light', | ||
|
||
colorPrimary: '#9c9bff', // indigo30 | ||
colorSecondary: '#665aff', // indigo60 | ||
|
||
// UI | ||
appBg: '#fcfcff', // gray0 | ||
appContentBg: '#cacad9', // gray20 | ||
appBorderColor: '#63637b', // gray60 | ||
appBorderRadius: 4, | ||
|
||
// Typography | ||
fontBase: '"Open Sans", sans-serif', | ||
fontCode: '"Menlo-Bold", monospace', | ||
|
||
// Text colors | ||
textColor: '#292936', // gray100 | ||
textInverseColor: '#fcfcff', // gray0 | ||
|
||
// Toolbar default and active colors | ||
barTextColor: '#dcdcff', // indigo10 | ||
barSelectedColor: '#292936', // gray100 | ||
barBg: '#665aff', // indigo60 | ||
|
||
// Form colors | ||
inputBg: 'white', | ||
inputBorder: 'silver', | ||
inputTextColor: 'black', | ||
inputBorderRadius: 4, | ||
|
||
brandTitle: "Amundsen's Storybook", | ||
brandUrl: 'https://amundsen.lyft.net/', | ||
brandImage: | ||
'https://raw.githubusercontent.com/lyft/amundsen/master/docs/img/logos/amundsen_logo_on_light.svg?sanitize=true', | ||
}); |
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,11 @@ | ||
import merge from 'webpack-merge'; | ||
|
||
import devWebpackConfig from '../webpack.dev'; | ||
|
||
module.exports = { | ||
stories: ['../js/**/*.story.tsx'], | ||
addons: ['@storybook/addon-actions', '@storybook/addon-links'], | ||
webpackFinal: async (config) => { | ||
return merge(devWebpackConfig, config); | ||
}, | ||
}; |
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,17 @@ | ||
import { addons } from '@storybook/addons'; | ||
|
||
import amundsenTheme from './amundsenTheme'; | ||
|
||
addons.setConfig({ | ||
isFullscreen: false, | ||
showNav: true, | ||
showPanel: true, | ||
panelPosition: 'bottom', | ||
sidebarAnimations: true, | ||
enableShortcuts: true, | ||
isToolshown: true, | ||
theme: amundsenTheme, | ||
selectedPanel: undefined, | ||
initialActive: 'sidebar', | ||
showRoots: false, | ||
}); |
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,22 @@ | ||
import anysort from 'anysort'; | ||
import { addParameters } from '@storybook/react'; | ||
|
||
import '../css/styles.scss'; | ||
|
||
const categoriesOrder = [ | ||
'Overview/Introduction', | ||
'Attributes/**', | ||
'Components/**', | ||
]; | ||
|
||
addParameters({ | ||
options: { | ||
showRoots: true, | ||
storySort: (previous, next) => { | ||
const [previousStory, previousMeta] = previous; | ||
const [nextStory, nextMeta] = next; | ||
|
||
return anysort(previousMeta.kind, nextMeta.kind, categoriesOrder); | ||
}, | ||
}, | ||
}); |
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
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
Oops, something went wrong.