* Enhanced InputNumber props with HTMLInputElement attributes.
It is possibile to use additional props supported by the inner input
element:
```
const inputEl = <InputNumber autoFocus />
```
Before this commit the type checker did not recognize the `autoFocus`
prop.
Some attributes must be omitted because they conflict with props
defined on `InputNumberProps` interface
* Renamed type
Probably they conflicts with a reserved name?
@seehttps://travis-ci.org/ant-design/ant-design/jobs/381668406
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported interface 'InputNumberProps' has or is using private name 'OmitAttributes'.
* Replace InputNumber onKeyDown typing with the typed one.
Extending HTMLInputElement attributes the `onKeyDown` props now have a
better typing.
For example before this commit accessing to the event `key` attribute resulted
in a type error.
@seehttps://reactjs.org/docs/events.html#keyboard-events
* Exporting type OmitAttrs on InputNumber component.
This is an attempt to solve the ci error:
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported
> interface 'InputNumberProps' has or is using private name 'OmitAttrs'.
@seehttps://travis-ci.org/ant-design/ant-design/jobs/381678316
* Added missing API documentation
Added missing Divider API documentation.
* Corrected styling
Corrected styling on dash to match other documentation pages.
* Update index.tsx
Fix: if offsetTop === 0, it will get undefined, if offsetBottom is type of number, offsetMode will be { top: false, ... }
* Update index.tsx
* Improved Form component typings
With this fix you can use HTMLFormElement attributes on Form component
without getting TypeScript errors.
For example this code does not longer produce error for the additional
`autoComplete` prop:
```
const myForm = (
<Form autoComplete="off">
...
</Form>
)
```
* Fix onBlur / onChange typings with Input component
This improvement fix a typing issue incompatibility with
`react-final-form`
The incompatibility involve [this
line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20)
where the handler argument is a more specific SyntheticEvent