Skip to content

Commit

Permalink
updating flowtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon committed Feb 4, 2020
1 parent adb3957 commit 8eede2e
Show file tree
Hide file tree
Showing 74 changed files with 3,418 additions and 3,756 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[ignore]
# Creating lots of invalid files
.*/node_modules/jsonlint-mod/.*
# .*/node_modules/@emotion/.*

[libs]
./flow-typed/custom/
Expand Down
1 change: 1 addition & 0 deletions .storybook/decorator/global-styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import styled from '@emotion/styled';
import { colors } from '@atlaskit/theme';
import { grid } from '../../stories/src/constants';

// $ExpectError - not sure why
const GlobalStyles = styled.div`
min-height: 100vh;
color: ${colors.N900};
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/@atlaskit/css-reset_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 9305900b84fbe5f4f715b19125bbdece
// flow-typed version: <<STUB>>/@atlaskit/css-reset_v^5.0.9/flow_v0.109.0
// flow-typed signature: 9bd96871f7bfae2bd1e656bbd6660608
// flow-typed version: <<STUB>>/@atlaskit/css-reset_v^5.0.9/flow_v0.110.1

/**
* This is an autogenerated libdef stub for:
Expand Down
297 changes: 297 additions & 0 deletions flow-typed/npm/@atlaskit/theme_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
// flow-typed signature: 6347194133e49b25a98feec719ba6d4b
// flow-typed version: <<STUB>>/@atlaskit/theme_v^9.5.0/flow_v0.110.1

/**
* This is an autogenerated libdef stub for:
*
* '@atlaskit/theme'
*
* 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 '@atlaskit/theme' {
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 '@atlaskit/theme/dist/cjs/color-palettes' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/colors' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components/Appearance' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components/AtlaskitThemeProvider' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components/Context' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components/Reset' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/components/Theme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/constants' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/elevation' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/hoc' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/math' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/types' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/typography' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/utils/createTheme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/utils/getTheme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/utils/math' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/cjs/utils/themed' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/color-palettes' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/colors' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components/Appearance' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components/AtlaskitThemeProvider' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components/Context' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components/Reset' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/components/Theme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/constants' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/elevation' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/hoc' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/math' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/types' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/typography' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/utils/createTheme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/utils/getTheme' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/utils/math' {
declare module.exports: any;
}

declare module '@atlaskit/theme/dist/esm/utils/themed' {
declare module.exports: any;
}

// Filename aliases
declare module '@atlaskit/theme/dist/cjs/color-palettes.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/color-palettes'>;
}
declare module '@atlaskit/theme/dist/cjs/colors.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/colors'>;
}
declare module '@atlaskit/theme/dist/cjs/components.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components'>;
}
declare module '@atlaskit/theme/dist/cjs/components/Appearance.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components/Appearance'>;
}
declare module '@atlaskit/theme/dist/cjs/components/AtlaskitThemeProvider.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components/AtlaskitThemeProvider'>;
}
declare module '@atlaskit/theme/dist/cjs/components/Context.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components/Context'>;
}
declare module '@atlaskit/theme/dist/cjs/components/Reset.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components/Reset'>;
}
declare module '@atlaskit/theme/dist/cjs/components/Theme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/components/Theme'>;
}
declare module '@atlaskit/theme/dist/cjs/constants.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/constants'>;
}
declare module '@atlaskit/theme/dist/cjs/elevation.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/elevation'>;
}
declare module '@atlaskit/theme/dist/cjs/hoc.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/hoc'>;
}
declare module '@atlaskit/theme/dist/cjs/index' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs'>;
}
declare module '@atlaskit/theme/dist/cjs/index.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs'>;
}
declare module '@atlaskit/theme/dist/cjs/math.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/math'>;
}
declare module '@atlaskit/theme/dist/cjs/types.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/types'>;
}
declare module '@atlaskit/theme/dist/cjs/typography.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/typography'>;
}
declare module '@atlaskit/theme/dist/cjs/utils/createTheme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/utils/createTheme'>;
}
declare module '@atlaskit/theme/dist/cjs/utils/getTheme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/utils/getTheme'>;
}
declare module '@atlaskit/theme/dist/cjs/utils/math.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/utils/math'>;
}
declare module '@atlaskit/theme/dist/cjs/utils/themed.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/cjs/utils/themed'>;
}
declare module '@atlaskit/theme/dist/esm/color-palettes.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/color-palettes'>;
}
declare module '@atlaskit/theme/dist/esm/colors.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/colors'>;
}
declare module '@atlaskit/theme/dist/esm/components.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components'>;
}
declare module '@atlaskit/theme/dist/esm/components/Appearance.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components/Appearance'>;
}
declare module '@atlaskit/theme/dist/esm/components/AtlaskitThemeProvider.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components/AtlaskitThemeProvider'>;
}
declare module '@atlaskit/theme/dist/esm/components/Context.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components/Context'>;
}
declare module '@atlaskit/theme/dist/esm/components/Reset.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components/Reset'>;
}
declare module '@atlaskit/theme/dist/esm/components/Theme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/components/Theme'>;
}
declare module '@atlaskit/theme/dist/esm/constants.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/constants'>;
}
declare module '@atlaskit/theme/dist/esm/elevation.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/elevation'>;
}
declare module '@atlaskit/theme/dist/esm/hoc.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/hoc'>;
}
declare module '@atlaskit/theme/dist/esm/index' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm'>;
}
declare module '@atlaskit/theme/dist/esm/index.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm'>;
}
declare module '@atlaskit/theme/dist/esm/math.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/math'>;
}
declare module '@atlaskit/theme/dist/esm/types.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/types'>;
}
declare module '@atlaskit/theme/dist/esm/typography.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/typography'>;
}
declare module '@atlaskit/theme/dist/esm/utils/createTheme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/utils/createTheme'>;
}
declare module '@atlaskit/theme/dist/esm/utils/getTheme.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/utils/getTheme'>;
}
declare module '@atlaskit/theme/dist/esm/utils/math.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/utils/math'>;
}
declare module '@atlaskit/theme/dist/esm/utils/themed.js' {
declare module.exports: $Exports<'@atlaskit/theme/dist/esm/utils/themed'>;
}
Loading

0 comments on commit 8eede2e

Please sign in to comment.