-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
1 parent
b9d69f2
commit db88e3d
Showing
104 changed files
with
6,273 additions
and
4,110 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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
dist/ | ||
flow-typed/ | ||
site/ | ||
coverage/ | ||
babel.config.js |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
[ignore] | ||
[untyped] | ||
# Issue with atlaskit/theme typing | ||
.*/node_modules/@atlaskit/theme | ||
|
||
[options] | ||
|
||
|
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
4 changes: 2 additions & 2 deletions
4
flow-typed/npm/@babel/plugin-proposal-class-properties_vx.x.x.js
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
4 changes: 2 additions & 2 deletions
4
flow-typed/npm/@babel/plugin-transform-modules-commonjs_vx.x.x.js
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 |
---|---|---|
@@ -0,0 +1,165 @@ | ||
// flow-typed signature: d87955256c0438e8d919bd2cfe5423e9 | ||
// flow-typed version: 028ef45280/@storybook/addon-options_v4.x.x/flow_>=v0.25.x | ||
|
||
declare module '@storybook/addon-options' { | ||
declare type Theme = { | ||
/** | ||
* applied to root `background` | ||
* @default: 'linear-gradient(to bottom right, black, gray' | ||
*/ | ||
mainBackground?: string, | ||
/** | ||
* applied to panels `border` | ||
* @default: '1px solid rgba(0,0,0,0.1)' | ||
*/ | ||
mainBorder?: string, | ||
/** | ||
* applied for most borders | ||
* @default: 'rgba(0,0,0,0.1)' | ||
*/ | ||
mainBorderColor?: string, | ||
/** | ||
* applied to panels, buttons, inputs | ||
* @default: 4 | ||
*/ | ||
mainBorderRadius?: string, | ||
/** | ||
* applied to panels `background` | ||
* @default: 'rgba(255,255,255,0.89)' | ||
*/ | ||
mainFill?: string, | ||
/** | ||
* applied to TabsBar `background` | ||
* @default: 'rgba(255,255,255,1)' | ||
*/ | ||
barFill?: string, | ||
/** | ||
* applied to Input `background` | ||
* @default: 'rgba(0,0,0,0.05)' | ||
*/ | ||
inputFill?: string, | ||
/** | ||
* applied to root `font-family` | ||
*/ | ||
mainTextFace?: string, | ||
/** | ||
* applied to root & buttons & input `color` | ||
* @default: black | ||
*/ | ||
mainTextColor?: string, | ||
/** | ||
* applied to root | ||
* @default: 13 | ||
*/ | ||
mainTextSize?: string, | ||
/** | ||
* applied in less important text | ||
* @default: 'rgba(0,0,0,0.4)' | ||
*/ | ||
dimmedTextColor?: string, | ||
/** | ||
* applied to indicate selection | ||
* @default: '#9fdaff' | ||
*/ | ||
highlightColor?: string, | ||
/** | ||
* applied to indicate positive | ||
* @default: '#0edf62' | ||
*/ | ||
successColor?: string, | ||
/** | ||
* applied to indicate negative | ||
* @default: '#ff3f3f' | ||
*/ | ||
failColor?: string, | ||
/** | ||
* applied to indicate ow-ow | ||
* @default: 'orange' | ||
*/ | ||
warnColor?: string, | ||
/** | ||
* applied to pre, | ||
*/ | ||
monoTextFace?: string, | ||
/** | ||
* applied to space panels | ||
* @default: 10 | ||
*/ | ||
layoutMargin?: string, | ||
/** | ||
* applied to overlay `background` | ||
* @default: 'linear-gradient(to bottom right, rgba(233, 233, 233, 0.6), rgba(255, 255, 255, 0.8))' | ||
*/ | ||
overlayBackground?: string, | ||
}; | ||
|
||
declare type Options = { | ||
theme?: Theme, | ||
/** | ||
* name to display in the top left corner | ||
*/ | ||
name?: string, | ||
/** | ||
* URL for name in top left corner to link to | ||
*/ | ||
url?: string, | ||
/** | ||
* show story component as full screen | ||
*/ | ||
goFullScreen?: boolean, | ||
/** | ||
* display panel that shows a list of stories | ||
*/ | ||
showStoriesPanel?: boolean, | ||
/** | ||
* display panel that shows addon configurations | ||
*/ | ||
showAddonPanel?: boolean, | ||
/** | ||
* display floating search box to search through stories | ||
*/ | ||
showSearchBox?: boolean, | ||
/** | ||
* show addon panel as a vertical panel on the right | ||
*/ | ||
addonPanelInRight?: boolean, | ||
/** | ||
* sorts stories | ||
*/ | ||
sortStoriesByKind?: boolean, | ||
/** | ||
* regex for finding the hierarchy separator | ||
* @example: | ||
* null - turn off hierarchy | ||
* /\// - split by `/` | ||
* /\./ - split by `.` | ||
* /\/|\./ - split by `/` or `.` | ||
*/ | ||
hierarchySeparator?: RegExp | string, | ||
/** | ||
* regex for finding the hierarchy root separator | ||
* @example: | ||
* null - turn off multiple hierarchy roots | ||
* /\|/ - split by `|` | ||
*/ | ||
hierarchyRootSeparator?: RegExp | string, | ||
/** | ||
* sidebar tree animations | ||
*/ | ||
sidebarAnimations?: boolean, | ||
/** | ||
* id to select an addon panel | ||
* The order of addons in the "Addon panel" is the same as you import them in 'addons.js'. | ||
* The first panel will be opened by default as you run Storybook | ||
*/ | ||
selectedAddonPanel?: string, | ||
/** | ||
* enable/disable shortcuts | ||
* @default true | ||
*/ | ||
enableShortcuts?: boolean, | ||
}; | ||
|
||
declare function setOptions(options: $Exact<Options>): void; // deprecated: use `withOptions` | ||
declare function withOptions(options: $Exact<Options>): void; | ||
} |
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,81 @@ | ||
// flow-typed signature: 81dc9300b3a07ebac0bbe937e70b3aa1 | ||
// flow-typed version: <<STUB>>/@storybook/addons_v^4.1.13/flow_v0.93.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* '@storybook/addons' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module '@storybook/addons' { | ||
declare module.exports: any; | ||
} | ||
|
||
/** | ||
* We include stubs for each file inside this npm package in case you need to | ||
* require those files directly. Feel free to delete any files that aren't | ||
* needed. | ||
*/ | ||
declare module '@storybook/addons/dist/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/dist/make-decorator' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/dist/make-decorator.test' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/dist/storybook-channel-mock' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/src/index' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/src/make-decorator' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/src/make-decorator.test' { | ||
declare module.exports: any; | ||
} | ||
|
||
declare module '@storybook/addons/src/storybook-channel-mock' { | ||
declare module.exports: any; | ||
} | ||
|
||
// Filename aliases | ||
declare module '@storybook/addons/dist/index.js' { | ||
declare module.exports: $Exports<'@storybook/addons/dist/index'>; | ||
} | ||
declare module '@storybook/addons/dist/make-decorator.js' { | ||
declare module.exports: $Exports<'@storybook/addons/dist/make-decorator'>; | ||
} | ||
declare module '@storybook/addons/dist/make-decorator.test.js' { | ||
declare module.exports: $Exports<'@storybook/addons/dist/make-decorator.test'>; | ||
} | ||
declare module '@storybook/addons/dist/storybook-channel-mock.js' { | ||
declare module.exports: $Exports<'@storybook/addons/dist/storybook-channel-mock'>; | ||
} | ||
declare module '@storybook/addons/src/index.js' { | ||
declare module.exports: $Exports<'@storybook/addons/src/index'>; | ||
} | ||
declare module '@storybook/addons/src/make-decorator.js' { | ||
declare module.exports: $Exports<'@storybook/addons/src/make-decorator'>; | ||
} | ||
declare module '@storybook/addons/src/make-decorator.test.js' { | ||
declare module.exports: $Exports<'@storybook/addons/src/make-decorator.test'>; | ||
} | ||
declare module '@storybook/addons/src/storybook-channel-mock.js' { | ||
declare module.exports: $Exports<'@storybook/addons/src/storybook-channel-mock'>; | ||
} |
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.