Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Merge branch 'next'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuz committed Sep 18, 2016
2 parents 52ef74a + 899ff57 commit 4abe7e1
Show file tree
Hide file tree
Showing 30 changed files with 1,750 additions and 1,070 deletions.
20 changes: 2 additions & 18 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
{
"stage": 0,
"optional": "runtime",
"env": {
"development": {
"plugins": [
"react-transform"
],
"extra": {
"react-transform": {
"transforms": [{
"transform": "react-transform-hmr",
"imports": ["react"],
"locals": ["module"]
}]
}
}
}
}
"presets": ["es2015", "stage-0", "react"],
"plugins": ["transform-runtime"]
}
74 changes: 37 additions & 37 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"parser": "babel-eslint",
"rules": {
"no-undef": [2],
"no-trailing-spaces": [1],
"space-before-blocks": [2, "always"],
"no-unused-expressions": [0],
"no-underscore-dangle": [0],
"quote-props": [1, "as-needed"],
"no-multi-spaces": [0],
"no-unused-vars": [1],
"no-loop-func": [0],
"key-spacing": [0],
"max-len": [1, 100],
"strict": [0],
"eol-last": [1],
"no-console": [1],
"indent": [1, 2],
"quotes": [1, "single", "avoid-escape"],
"jsx-quotes": 1,
"curly": [0],
"no-undef": ["error"],
"no-trailing-spaces": ["warn"],
"space-before-blocks": ["warn", "always"],
"no-unused-expressions": ["off"],
"no-underscore-dangle": ["off"],
"quote-props": ["warn", "as-needed"],
"no-multi-spaces": ["off"],
"no-unused-vars": ["warn"],
"no-loop-func": ["off"],
"key-spacing": ["off"],
"max-len": ["warn", 100],
"strict": ["off"],
"eol-last": ["warn"],
"no-console": ["warn"],
"indent": ["warn", 2],
"quotes": ["warn", "single", "avoid-escape"],
"jsx-quotes": ["warn", "prefer-single"],
"curly": ["off"],

"react/jsx-boolean-value": 1,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 0,
"react/no-unknown-property": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/wrap-multilines": 1,
"react/jsx-boolean-value": "warn",
"react/jsx-no-undef": "error",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/no-did-mount-set-state": "warn",
"react/no-did-update-set-state": "warn",
"react/no-multi-comp": "off",
"react/no-unknown-property": "warn",
"react/react-in-jsx-scope": "warn",
"react/self-closing-comp": "warn",
"react/wrap-multilines": "warn",

"generator-star-spacing": 0,
"new-cap": 0,
"object-curly-spacing": 0,
"object-shorthand": 0,
"generator-star-spacing": "off",
"new-cap": "off",
"object-curly-spacing": "off",
"object-shorthand": "off",

"babel/generator-star-spacing": 1,
"babel/new-cap": 1,
"babel/object-curly-spacing": [1, "always"],
"babel/object-shorthand": 1
"babel/generator-star-spacing": "warn",
"babel/new-cap": "warn",
"babel/object-curly-spacing": ["warn", "always"],
"babel/object-shorthand": "warn"
},
"plugins": [
"react",
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules
npm-debug.log
.DS_Store
lib
local.config.json
247 changes: 247 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
0.5.0 / 2016-09-18
------------------
* IE11 fixes

0.5.0-beta2 / 2016-09-17
------------------------
* Just some refactoring
* API changed - `registerInput` goes as a third parameter now:
```jsx
<Autocomplete
value={value}
options={countries}
onChange={e => onChange(e.target.value)}
>
{(inputProps, otherProps, registerInput) =>
<FormControl
ref={c => registerInput(ReactDOM.findDOMNode(c))}
type='text'
{...inputProps}
/>
}
</Autocomplete>
```

0.5.0-beta1 / 2016-09-11
------------------------

* Auto-resolving `input` node is deprecated - now you have to provide it yourself, i.e.:
```jsx
<Autocomplete
value={value}
options={countries}
onChange={e => onChange(e.target.value)}
>
{(inputProps, { registerInput }) =>
<FormControl
ref={c => registerInput(ReactDOM.findDOMNode(c))}
type='text'
{...inputProps}
/>
}
</Autocomplete>
```
* `onValueChange` is deprecated - use `onSelect` instead
* Components do not proxy props anymore (unless these props are used in component)
* Not-so-themeable [react-date-picker](https://github.com/Hacker0x01/react-date-picker) is replaced with [react-day-picker-themeable](https://github.com/alexkuz/react-day-picker-themeable), this library no longer depends on `jss`
* `DatePicker` and `Dropdown` are now themeable (via [react-base16-styling](https://github.com/alexkuz/react-base16-styling))

0.4.12 / 2016-06-20
-------------------

* 0.4.12
* upgrade moment for DatePicker

0.4.11 / 2016-05-16
-------------------

* 0.4.11
* fix managing null value in dropdown

0.4.10 / 2016-05-01
-------------------

* 0.4.10
* fix bluring Dropdown
* fix disabled option
* 0.4.9
* remove a hack (proposed in [#13](https://github.com/alexkuz/react-input-enhancements/issues/13))

0.4.8 / 2016-03-18
------------------

* 0.4.8
* better async dropdown update

0.4.7 / 2016-03-10
------------------

* 0.4.7
* fix dependencies

0.4.6 / 2016-03-10
------------------

* 0.4.6
* sync options changes with input text

0.4.5 / 2016-01-29
------------------

* 0.4.5
* fix weird react error on dropdown options traversing

0.4.4 / 2016-01-13
------------------

* 0.4.4
* allow function as option label

0.4.3 / 2016-01-12
------------------

* Merge branch 'master' of https://github.com/alexkuz/react-input-enhancements
* 0.4.3
* some refactoring
* Merge pull request [#4](https://github.com/alexkuz/react-input-enhancements/issues/4) from nadav-dav/master
moved react-pure-renderer from devDependencies to dependencies
* moved react-pure-renderer from devDependencies to dependencies

0.4.2 / 2015-12-29
------------------

* 0.4.2
* consistent Autocomplete/Dropdown options parsing

0.4.1 / 2015-12-28
------------------

* 0.4.1
* fix: proper autocomplete for emptyish values
* Update README.md
* update demo

0.4.0 / 2015-12-26
------------------

* 0.4.0
* datepicker

0.3.11 / 2015-12-24
-------------------

* 0.3.11
* proxy onRenderCaret in dropdown

0.3.10 / 2015-12-24
-------------------

* 0.3.10
* merge branches
* build demo
* DatePicker (WIP)

0.3.9 / 2015-12-21
------------------

* 0.3.9
* fix sorting and autocompleting
* build demo
* reset Dropdown state value on losing focus
* controlled mode for Dropdown
* DatePicker (WIP)
* refactor Dropdown - extract InputPopup

0.3.8 / 2015-12-18
------------------

* 0.3.8
* call Mask.onChange with updated value

0.3.7 / 2015-12-18
------------------

* 0.3.7
* remove hmr from production version

0.3.6 / 2015-12-17
------------------

* 0.3.6
* fix dead loop in Dropdown

0.3.5 / 2015-12-15
------------------

* 0.3.5
* fix dropdown initializing

0.3.4 / 2015-12-15
------------------

* Merge branch 'master' of https://github.com/alexkuz/react-input-enhancements
* 0.3.4
* fix dropdown value reset
* Update README.md

0.3.3 / 2015-12-14
------------------

* 0.3.3
* make dropdown more stable

0.3.2 / 2015-12-14
------------------

* 0.3.2
* fix dropdown onValueChange event

0.3.1 / 2015-12-14
------------------

* 0.3.1
* add keywords
* 0.3.0
* rearrange files
* add Mask; Dropdown fixes

0.2.0 / 2015-12-09
------------------

* 0.2.0
* rebuild
* oups!; back to first version

0.1.4 / 2015-12-09
------------------

* 0.1.4
* tune dropdown header style

0.1.3 / 2015-12-09
------------------

* 0.1.3
* fix dropdown options key

0.1.2 / 2015-12-09
------------------

* 0.1.2
* dropdown fixes
* update build
* 0.1.1
* dropdown caret styling

0.1.0 / 2015-12-08
------------------

* build demo
* update demo code
* first version
* some fixes, dropdown layout (WIP)
* update build
* fix demo build
* update readme
* init
* Initial commit
Loading

0 comments on commit 4abe7e1

Please sign in to comment.