Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828226

fbshipit-source-id: e6dd9946ae642a27ebc8a3f6dfce6773051f5a7a
This commit is contained in:
Daniel Büchele
2019-08-20 03:18:32 -07:00
committed by Facebook Github Bot
parent c1b718db8f
commit cd10856c3e
25 changed files with 24 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ import Glyph from './Glyph.js';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import electron from 'electron'; import electron from 'electron';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import {connect} from 'react-redux'; import {connect} from 'react-redux';
import {findDOMNode} from 'react-dom'; import {findDOMNode} from 'react-dom';
import {keyframes} from 'react-emotion'; import {keyframes} from 'react-emotion';

View File

@@ -7,7 +7,7 @@
import {Component} from 'react'; import {Component} from 'react';
import Box from './Box.js'; import Box from './Box.js';
import {colors} from './colors'; import {colors} from './colors.tsx';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
const FocusableBoxBorder = styled(Box)({ const FocusableBoxBorder = styled(Box)({

View File

@@ -6,7 +6,7 @@
*/ */
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
export const inputStyle = (compact: boolean) => ({ export const inputStyle = (compact: boolean) => ({
border: `1px solid ${colors.light15}`, border: `1px solid ${colors.light15}`,

View File

@@ -6,7 +6,7 @@
*/ */
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import {Component} from 'react'; import {Component} from 'react';
import {shell} from 'electron'; import {shell} from 'electron';

View File

@@ -9,7 +9,7 @@ import {Component} from 'react';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import Text from './Text.js'; import Text from './Text.js';
import FlexRow from './FlexRow.js'; import FlexRow from './FlexRow.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
type DataPoint = { type DataPoint = {
time: number, time: number,

View File

@@ -9,7 +9,7 @@ import React from 'react';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import FlexColumn from './FlexColumn.js'; import FlexColumn from './FlexColumn.js';
import FlexBox from './FlexBox.js'; import FlexBox from './FlexBox.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import Glyph from './Glyph.js'; import Glyph from './Glyph.js';
const BORDER = '1px solid #dddfe2'; const BORDER = '1px solid #dddfe2';

View File

@@ -8,7 +8,7 @@
import {PureComponent} from 'react'; import {PureComponent} from 'react';
import FlexColumn from './FlexColumn.js'; import FlexColumn from './FlexColumn.js';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
const Anchor = styled('img')({ const Anchor = styled('img')({
zIndex: 6, zIndex: 6,

View File

@@ -7,7 +7,7 @@
import Interactive from './Interactive.js'; import Interactive from './Interactive.js';
import FlexColumn from './FlexColumn.js'; import FlexColumn from './FlexColumn.js';
import {colors} from './colors'; import {colors} from './colors.tsx';
import {Component} from 'react'; import {Component} from 'react';
import styled from '../styled/index.js'; import styled from '../styled/index.js';

View File

@@ -5,7 +5,7 @@
* @format * @format
*/ */
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import Label from './Label.js'; import Label from './Label.js';
import styled from '../styled/index.js'; import styled from '../styled/index.js';

View File

@@ -7,7 +7,7 @@
import {Component} from 'react'; import {Component} from 'react';
import Text from './Text'; import Text from './Text';
import {colors} from './colors'; import {colors} from './colors.tsx';
import ManagedTable from './table/ManagedTable'; import ManagedTable from './table/ManagedTable';
import FlexRow from './FlexRow'; import FlexRow from './FlexRow';
import Glyph from './Glyph'; import Glyph from './Glyph';

View File

@@ -9,7 +9,7 @@ import FlexColumn from './FlexColumn.js';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import Orderable from './Orderable.js'; import Orderable from './Orderable.js';
import FlexRow from './FlexRow.js'; import FlexRow from './FlexRow.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import Tab from './Tab.js'; import Tab from './Tab.js';
const TabList = styled(FlexRow)({ const TabList = styled(FlexRow)({

View File

@@ -7,7 +7,7 @@
import React from 'react'; import React from 'react';
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import Text from './Text'; import Text from './Text';
export const StyledButton = styled('div')(props => ({ export const StyledButton = styled('div')(props => ({

View File

@@ -5,7 +5,7 @@
* @format * @format
*/ */
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import FlexRow from './FlexRow.js'; import FlexRow from './FlexRow.js';
import FlexBox from './FlexBox.js'; import FlexBox from './FlexBox.js';
import styled from '../styled/index.js'; import styled from '../styled/index.js';

View File

@@ -6,7 +6,7 @@
*/ */
import styled from '../styled/index.js'; import styled from '../styled/index.js';
import {colors} from './colors.js'; import {colors} from './colors.tsx';
import {Component} from 'react'; import {Component} from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';

View File

@@ -11,7 +11,7 @@ import styled from '../../styled/index.js';
import {SketchPicker} from 'react-color'; import {SketchPicker} from 'react-color';
import {Component, Fragment} from 'react'; import {Component, Fragment} from 'react';
import Popover from '../Popover.js'; import Popover from '../Popover.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import Input from '../Input.js'; import Input from '../Input.js';
const NullValue = styled('span')({ const NullValue = styled('span')({

View File

@@ -14,7 +14,7 @@ import DataPreview from './DataPreview.js';
import createPaste from '../../../fb-stubs/createPaste.tsx'; import createPaste from '../../../fb-stubs/createPaste.tsx';
import {reportInteraction} from '../../../utils/InteractionTracker.tsx'; import {reportInteraction} from '../../../utils/InteractionTracker.tsx';
import {getSortedKeys} from './utils.js'; import {getSortedKeys} from './utils.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import {clipboard} from 'electron'; import {clipboard} from 'electron';
const deepEqual = require('deep-equal'); const deepEqual = require('deep-equal');

View File

@@ -16,7 +16,7 @@ import {PureComponent, type Element as ReactElement} from 'react';
import FlexRow from '../FlexRow.js'; import FlexRow from '../FlexRow.js';
import FlexColumn from '../FlexColumn.js'; import FlexColumn from '../FlexColumn.js';
import Glyph from '../Glyph.js'; import Glyph from '../Glyph.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import Text from '../Text.js'; import Text from '../Text.js';
import styled from '../../styled/index.js'; import styled from '../../styled/index.js';
import {clipboard} from 'electron'; import {clipboard} from 'electron';

View File

@@ -10,7 +10,7 @@ import {PureComponent} from 'react';
import ContextMenu from '../ContextMenu.js'; import ContextMenu from '../ContextMenu.js';
import textContent from '../../../utils/textContent.tsx'; import textContent from '../../../utils/textContent.tsx';
import styled from '../../styled/index.js'; import styled from '../../styled/index.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
const FilterText = styled('div')({ const FilterText = styled('div')({
display: 'flex', display: 'flex',

View File

@@ -10,7 +10,7 @@ import {PureComponent} from 'react';
import Text from '../Text.js'; import Text from '../Text.js';
import styled from '../../styled/index.js'; import styled from '../../styled/index.js';
import {findDOMNode} from 'react-dom'; import {findDOMNode} from 'react-dom';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import electron from 'electron'; import electron from 'electron';
const Token = styled(Text)(props => ({ const Token = styled(Text)(props => ({

View File

@@ -11,7 +11,7 @@ import {PureComponent} from 'react';
import Toolbar from '../Toolbar.js'; import Toolbar from '../Toolbar.js';
import FlexRow from '../FlexRow.js'; import FlexRow from '../FlexRow.js';
import Input from '../Input.js'; import Input from '../Input.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import Text from '../Text.js'; import Text from '../Text.js';
import FlexBox from '../FlexBox.js'; import FlexBox from '../FlexBox.js';
import Glyph from '../Glyph.js'; import Glyph from '../Glyph.js';

View File

@@ -19,7 +19,7 @@ import {PureComponent} from 'react';
import ContextMenu from '../ContextMenu.js'; import ContextMenu from '../ContextMenu.js';
import Interactive from '../Interactive.js'; import Interactive from '../Interactive.js';
import styled from '../../styled/index.js'; import styled from '../../styled/index.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import FlexRow from '../FlexRow.js'; import FlexRow from '../FlexRow.js';

View File

@@ -16,7 +16,7 @@ import React from 'react';
import FilterRow from '../filter/FilterRow.js'; import FilterRow from '../filter/FilterRow.js';
import styled from '../../styled/index.js'; import styled from '../../styled/index.js';
import FlexRow from '../FlexRow.js'; import FlexRow from '../FlexRow.js';
import {colors} from '../colors.js'; import {colors} from '../colors.tsx';
import {normaliseColumnWidth} from './utils.js'; import {normaliseColumnWidth} from './utils.js';
import {DEFAULT_ROW_HEIGHT} from './types'; import {DEFAULT_ROW_HEIGHT} from './types';

View File

@@ -5,7 +5,7 @@
* @format * @format
*/ */
import {default as styled} from 'react-emotion'; import {default as styled} from 'react-emotion';
import {colors} from '../colors'; import {colors} from '../colors.tsx';
import {default as Text} from '../Text'; import {default as Text} from '../Text';
export type Value = export type Value =

View File

@@ -15,7 +15,7 @@ export {default as ButtonGroup} from './components/ButtonGroup.js';
export {default as ButtonGroupChain} from './components/ButtonGroupChain.js'; export {default as ButtonGroupChain} from './components/ButtonGroupChain.js';
// //
export {colors, darkColors, brandColors} from './components/colors.js'; export {colors, darkColors, brandColors} from './components/colors.tsx';
// //
export {default as Glyph} from './components/Glyph.js'; export {default as Glyph} from './components/Glyph.js';