2016-04-27 22:47:39 +03:00
|
|
|
|
// Type definitions for react-toolbox 0.16.2
|
2016-01-14 03:51:16 +03:00
|
|
|
|
// Project: http://react-toolbox.com/
|
2016-06-26 14:47:00 +03:00
|
|
|
|
// Definitions by: @xogeny (Michael M. Tiller), @hsrobflavorus (Robert Parker), @ixrock (Roman Karlov)
|
2016-01-14 03:51:16 +03:00
|
|
|
|
/* CHANGES
|
2016-06-26 14:47:00 +03:00
|
|
|
|
* 26/05/2015 Export components by names (not only defaults), added missing components exports
|
|
|
|
|
* 06/05/2016: Refactor into external module declarations (no more 'declare module ...')
|
|
|
|
|
* 04/27/2016: Updates for 0.16.2, added <Chip>, <Overlay>, and ActivableRendererFactory definitions, misc. tweaks and fixes.
|
|
|
|
|
* 02/03/2016:
|
|
|
|
|
* Fixed for TypeScript 1.8.0 stricter var declaration requirements (move `declare var ...` inside each individual module).
|
|
|
|
|
* Removed triple-slash reference to React to fix npm install compatibility (you'll need to make sure you're referencing react.d.ts somewhere in your project!).
|
|
|
|
|
* Hopefully fixed the default exports where applicable
|
|
|
|
|
* 01/13/2016: Minor changes, add a few missing props, add IconButton to react-toolbox/lib/button
|
|
|
|
|
* 12/21/2015: Fix "import * as Input from 'react-toolbox/lib/input'" style imports, which now correctly import only the necessary component(s).
|
|
|
|
|
* NOTE that you must use "import * as {Component Name}" not just "import {Component Name}" for this to work.
|
|
|
|
|
* 12/20/2015: Should be compatible with 0.14.0. Refactor modules into 'react-toolbox/lib/*' format.
|
|
|
|
|
Unfortunately importing them directly in that manner doesn't seem to work
|
|
|
|
|
i.e. "import Input from 'react-toolbox/lib/input'" resolves to undefined, whereas "import { Input } from 'react-toolbox'" works fine!
|
|
|
|
|
... Any ideas welcome!
|
|
|
|
|
* 12/20/2015: Add AppBar, Avatar, and refactor Card and its child Components to match the documentation.
|
|
|
|
|
* 12/18/2015: Update to react-toolbox 0.13.1 (from 0.12.11)
|
|
|
|
|
* 12/18/2015: Use JSDoc-style comments to provide Intellisense where supported
|
|
|
|
|
*/
|
2016-01-14 03:51:16 +03:00
|
|
|
|
/*
|
2016-06-26 14:47:00 +03:00
|
|
|
|
MISSING COMPONENTS (Contributions welcome)
|
|
|
|
|
* Ripple HOC
|
|
|
|
|
*/
|
2016-01-14 03:51:16 +03:00
|
|
|
|
|
2016-06-26 14:47:00 +03:00
|
|
|
|
export { default as ActivableRendererFactory } from 'react-toolbox/lib/hoc/ActivableRenderer';
|
2016-06-08 01:01:58 +03:00
|
|
|
|
|
2016-06-26 14:47:00 +03:00
|
|
|
|
export { AppBar } from 'react-toolbox/lib/app_bar'
|
|
|
|
|
export { Autocomplete } from 'react-toolbox/lib/autocomplete'
|
|
|
|
|
export { Avatar } from 'react-toolbox/lib/avatar'
|
|
|
|
|
export { Button, IconButton } from 'react-toolbox/lib/button'
|
|
|
|
|
export { Card, CardTitle, CardMedia, CardText, CardActions } from 'react-toolbox/lib/card'
|
|
|
|
|
export { Checkbox } from 'react-toolbox/lib/checkbox'
|
|
|
|
|
export { Chip } from 'react-toolbox/lib/chip'
|
|
|
|
|
export { DatePicker } from 'react-toolbox/lib/date_picker'
|
|
|
|
|
export { Dialog } from 'react-toolbox/lib/dialog'
|
|
|
|
|
export { Drawer } from 'react-toolbox/lib/drawer'
|
|
|
|
|
export { Dropdown } from 'react-toolbox/lib/dropdown'
|
|
|
|
|
export { FontIcon } from 'react-toolbox/lib/font_icon'
|
|
|
|
|
export { Input } from 'react-toolbox/lib/input'
|
|
|
|
|
export { Layout, Panel, NavDrawer, Sidebar } from 'react-toolbox/lib/layout'
|
|
|
|
|
export { Link } from 'react-toolbox/lib/link'
|
|
|
|
|
export { List, ListCheckbox, ListItem, ListDivider, ListSubHeader } from 'react-toolbox/lib/list'
|
|
|
|
|
export { Menu, MenuDivider, MenuItem, IconMenu } from 'react-toolbox/lib/menu'
|
|
|
|
|
export { Navigation } from 'react-toolbox/lib/navigation'
|
|
|
|
|
export { Overlay } from 'react-toolbox/lib/overlay'
|
|
|
|
|
export { ProgressBar } from 'react-toolbox/lib/progress_bar'
|
|
|
|
|
export { RadioButton, RadioGroup } from 'react-toolbox/lib/radio'
|
|
|
|
|
export { Ripple } from 'react-toolbox/lib/ripple'
|
|
|
|
|
export { Slider } from 'react-toolbox/lib/slider'
|
|
|
|
|
export { Snackbar } from 'react-toolbox/lib/snackbar'
|
|
|
|
|
export { Switch } from 'react-toolbox/lib/switch'
|
|
|
|
|
export { Tabs, Tab } from 'react-toolbox/lib/tabs'
|
|
|
|
|
export { TimePicker } from 'react-toolbox/lib/time_picker'
|
|
|
|
|
export { default as Tooltip } from 'react-toolbox/lib/tooltip'
|