Switched to react-select fork

pull/14274/head
Torkel Ödegaard 7 years ago
parent 660c9fd467
commit 72b9cb9b9f
  1. 2
      package.json
  2. 4
      public/app/core/components/Select/IndicatorsContainer.tsx
  3. 4
      public/app/core/components/Select/NoOptionsMessage.tsx
  4. 2
      public/app/core/components/Select/PickerOption.tsx
  5. 6
      public/app/core/components/Select/Select.tsx
  6. 5
      public/app/core/components/TagFilter/TagFilter.tsx
  7. 2
      public/app/core/components/TagFilter/TagOption.tsx
  8. 2
      public/app/features/explore/Explore.tsx
  9. 1973
      yarn.lock

@ -155,7 +155,7 @@
"react-popper": "^1.3.0",
"react-highlight-words": "0.11.0",
"react-redux": "^5.0.7",
"react-select": "2.1.0",
"@torkelo/react-select": "2.1.1",
"react-sizeme": "^2.3.6",
"react-table": "^6.8.6",
"react-transition-group": "^2.2.1",

@ -1,5 +1,5 @@
import React from 'react';
import { components } from 'react-select';
import React from 'react';
import { components } from '@torkelo/react-select';
export const IndicatorsContainer = props => {
const isOpen = props.selectProps.menuIsOpen;

@ -1,6 +1,6 @@
import React from 'react';
import { components } from 'react-select';
import { OptionProps } from 'react-select/lib/components/Option';
import { components } from '@torkelo/react-select';
import { OptionProps } from '@torkelo/react-select/lib/components/Option';
export interface Props {
children: Element;

@ -1,5 +1,5 @@
import React from 'react';
import { components } from 'react-select';
import { components } from '@torkelo/react-select';
import { OptionProps } from 'react-select/lib/components/Option';
// https://github.com/JedWatson/react-select/issues/3038

@ -1,9 +1,9 @@
// Libraries
import classNames from 'classnames';
import React, { PureComponent } from 'react';
import { default as ReactSelect } from 'react-select';
import { default as ReactAsyncSelect } from 'react-select/lib/Async';
import { components } from 'react-select';
import { default as ReactSelect } from '@torkelo/react-select';
import { default as ReactAsyncSelect } from '@torkelo/react-select/lib/Async';
import { components } from '@torkelo/react-select';
// Components
import { Option, SingleValue } from './PickerOption';

@ -1,10 +1,11 @@
import React from 'react';
import AsyncSelect from 'react-select/lib/Async';
import AsyncSelect from '@torkelo/react-select/lib/Async';
import { TagOption } from './TagOption';
import { TagBadge } from './TagBadge';
import IndicatorsContainer from 'app/core/components/Select/IndicatorsContainer';
import NoOptionsMessage from 'app/core/components/Select/NoOptionsMessage';
import { components } from 'react-select';
import { components } from '@torkelo/react-select';
import ResetStyles from 'app/core/components/Select/ResetStyles';
export interface Props {

@ -1,5 +1,5 @@
import React from 'react';
import { components } from 'react-select';
import { components } from '@torkelo/react-select';
import { OptionProps } from 'react-select/lib/components/Option';
import { TagBadge } from './TagBadge';

@ -930,7 +930,7 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
</button>
</div>
<div className="navbar-buttons relative">
<button className="btn navbar-button--primary" onClick={this.onSubmit}>
<button className="btn navbar-button navbar-button--primary" onClick={this.onSubmit}>
Run Query{' '}
{loading ? <i className="fa fa-spinner fa-spin run-icon" /> : <i className="fa fa-level-down run-icon" />}
</button>

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save