Skip to content

Commit

Permalink
Don't run text fields through build hybrid by default
Browse files Browse the repository at this point in the history
- There are inherent collisions/weirdness when we pass an `onChange`
	from the reducer but the consumer is trying to manually handle
	`onChangeDebounced`.
  • Loading branch information
jondlm committed May 5, 2016
1 parent cc82e23 commit b65ee7d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { default as DropMenuDumb } from './components/DropMenu/DropMenu';
import { default as ExpanderDumb } from './components/Expander/Expander';
import { default as SingleSelectDumb } from './components/SingleSelect/SingleSelect';
import { default as TabsDumb } from './components/Tabs/Tabs';
import { default as TextFieldDumb } from './components/TextField/TextField'
import { default as ValidatedTextFieldDumb } from './components/ValidatedTextField/ValidatedTextField';
import { default as VerticalListMenuDumb } from './components/VerticalListMenu/VerticalListMenu';
import { default as RadioGroupDumb } from './components/RadioGroup/RadioGroup';

Expand All @@ -19,8 +17,6 @@ const Expander = buildHybridComponent(ExpanderDumb);
const RadioGroup = buildHybridComponent(RadioGroupDumb);
const SingleSelect = buildHybridComponent(SingleSelectDumb);
const Tabs = buildHybridComponent(TabsDumb);
const TextField = buildHybridComponent(TextFieldDumb);
const ValidatedTextField = buildHybridComponent(ValidatedTextFieldDumb);
const VerticalListMenu = buildHybridComponent(VerticalListMenuDumb);

// dumb components
Expand Down Expand Up @@ -58,6 +54,8 @@ import StickySection from './components/StickySection/StickySection';
import SuccessIcon from './components/Icon/SuccessIcon/SuccessIcon';
import Switch from './components/Switch/Switch';
import Table from './components/Table/Table';
import TextField from './components/TextField/TextField';
import ValidatedTextField from './components/ValidatedTextField/ValidatedTextField';
import Validation from './components/Validation/Validation';
import WarningIcon from './components/Icon/WarningIcon/WarningIcon';

Expand Down Expand Up @@ -126,9 +124,7 @@ export {
Tabs,
TabsDumb,
TextField,
TextFieldDumb,
ValidatedTextField,
ValidatedTextFieldDumb,
Validation,
VerticalListMenu,
VerticalListMenuDumb,
Expand Down

0 comments on commit b65ee7d

Please sign in to comment.