@types/react-bootstrap
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -15,3 +15,3 @@ // Type definitions for react-bootstrap | ||
// ---------------------------------------- | ||
interface ButtonProps extends React.HTMLAttributes { | ||
interface ButtonProps extends React.HTMLAttributes<{}> { | ||
@@ -32,3 +32,3 @@ // Optional | ||
// ---------------------------------------- | ||
interface ButtonToolbarProps extends React.HTMLAttributes { | ||
interface ButtonToolbarProps extends React.HTMLAttributes<{}> { | ||
@@ -47,3 +47,3 @@ // Optional | ||
// ---------------------------------------- | ||
interface ButtonGroupProps extends React.HTMLAttributes { | ||
interface ButtonGroupProps extends React.HTMLAttributes<{}> { | ||
// Optional | ||
@@ -61,3 +61,3 @@ block?: boolean; | ||
// ---------------------------------------- | ||
interface DropdownButtonProps extends React.HTMLAttributes { | ||
interface DropdownButtonProps extends React.HTMLAttributes<{}> { | ||
bsStyle?: string; | ||
@@ -76,3 +76,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface SplitButtonProps extends React.HTMLAttributes { | ||
interface SplitButtonProps extends React.HTMLAttributes<{}> { | ||
bsStyle?: string; | ||
@@ -89,3 +89,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface MenuItemProps extends React.HTMLAttributes { | ||
interface MenuItemProps extends React.HTMLAttributes<{}> { | ||
active?: boolean; | ||
@@ -101,3 +101,3 @@ divider?: boolean; | ||
// ---------------------------------------- | ||
interface PanelProps extends React.HTMLAttributes { | ||
interface PanelProps extends React.HTMLAttributes<{}> { | ||
bsSize?: string; | ||
@@ -117,3 +117,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface AccordionProps extends React.HTMLAttributes { | ||
interface AccordionProps extends React.HTMLAttributes<{}> { | ||
bsSize?: string; | ||
@@ -133,3 +133,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface PanelGroupProps extends React.HTMLAttributes { | ||
interface PanelGroupProps extends React.HTMLAttributes<{}>{ | ||
accordion?: boolean; | ||
@@ -146,3 +146,3 @@ activeKey?: any; | ||
// ---------------------------------------- | ||
interface ModalDialogProps extends React.HTMLAttributes { | ||
interface ModalDialogProps extends React.HTMLAttributes<{}>{ | ||
// TODO: Add more specific type | ||
@@ -155,3 +155,3 @@ } | ||
// ---------------------------------------- | ||
interface ModalHeaderProps extends React.HTMLAttributes { | ||
interface ModalHeaderProps extends React.HTMLAttributes<{}>{ | ||
closeButton?: boolean; | ||
@@ -167,3 +167,3 @@ modalClassName?: string; | ||
// ---------------------------------------- | ||
interface ModalTitleProps extends React.HTMLAttributes { | ||
interface ModalTitleProps extends React.HTMLAttributes<{}>{ | ||
modalClassName?: string; | ||
@@ -176,3 +176,3 @@ } | ||
// ---------------------------------------- | ||
interface ModalBodyProps extends React.HTMLAttributes { | ||
interface ModalBodyProps extends React.HTMLAttributes<{}>{ | ||
modalClassName?: string; | ||
@@ -185,3 +185,3 @@ } | ||
// ---------------------------------------- | ||
interface ModalFooterProps extends React.HTMLAttributes { | ||
interface ModalFooterProps extends React.HTMLAttributes<{}>{ | ||
modalClassName?: string; | ||
@@ -194,3 +194,3 @@ } | ||
// ---------------------------------------- | ||
interface ModalProps extends React.HTMLAttributes { | ||
interface ModalProps extends React.HTMLAttributes<{}>{ | ||
// Required | ||
@@ -256,3 +256,3 @@ onHide: Function; | ||
// ---------------------------------------- | ||
interface TooltipProps extends React.HTMLAttributes { | ||
interface TooltipProps extends React.HTMLAttributes<{}>{ | ||
// Optional | ||
@@ -272,3 +272,3 @@ arrowOffsetLeft?: number | string; | ||
// ---------------------------------------- | ||
interface PopoverProps extends React.HTMLAttributes { | ||
interface PopoverProps extends React.HTMLAttributes<{}>{ | ||
// Optional | ||
@@ -310,3 +310,3 @@ arrowOffsetLeft?: number | string; | ||
// ---------------------------------------- | ||
interface ProgressBarProps extends React.HTMLAttributes { | ||
interface ProgressBarProps extends React.HTMLAttributes<{}>{ | ||
// Optional | ||
@@ -329,3 +329,3 @@ active?: boolean; | ||
// TODO: This one turned into a union of two different types | ||
interface NavProps extends React.HTMLAttributes { | ||
interface NavProps extends React.HTMLAttributes<{}>{ | ||
// Optional | ||
@@ -352,3 +352,3 @@ activeHref?: string; | ||
// ---------------------------------------- | ||
interface NavItemProps extends React.HTMLAttributes { | ||
interface NavItemProps extends React.HTMLAttributes<{}>{ | ||
active?: boolean; | ||
@@ -377,3 +377,3 @@ brand?: any; // TODO: Add more specific type | ||
// ---------------------------------------- | ||
interface NavbarBrandProps extends React.HTMLAttributes { | ||
interface NavbarBrandProps extends React.HTMLAttributes<{}>{ | ||
} | ||
@@ -392,3 +392,3 @@ class NavbarBrand extends React.Component<NavbarBrandProps, {}> { | ||
// ---------------------------------------- | ||
interface NavbarHeaderProps extends React.HTMLAttributes { | ||
interface NavbarHeaderProps extends React.HTMLAttributes<{}>{ | ||
} | ||
@@ -407,3 +407,3 @@ type NavbarHeader = React.ClassicComponent<NavbarHeaderProps, {}>; | ||
// ---------------------------------------- | ||
interface NavbarProps extends React.HTMLAttributes { | ||
interface NavbarProps extends React.HTMLAttributes<{}>{ | ||
brand?: any; // TODO: Add more specific type | ||
@@ -435,3 +435,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface NavDropdownProps extends React.HTMLAttributes { | ||
interface NavDropdownProps extends React.HTMLAttributes<{}>{ | ||
eventKey?: any; | ||
@@ -444,3 +444,3 @@ } | ||
// ---------------------------------------- | ||
interface TabsProps extends React.HTMLAttributes { | ||
interface TabsProps extends React.HTMLAttributes<{}>{ | ||
activeKey?: any; | ||
@@ -459,3 +459,3 @@ animation?: boolean; | ||
// ---------------------------------------- | ||
interface TabProps extends React.HTMLAttributes { | ||
interface TabProps extends React.HTMLAttributes<{}>{ | ||
animation?: boolean; | ||
@@ -469,3 +469,3 @@ eventKey?: any; // TODO: Add more specific type | ||
// ---------------------------------------- | ||
interface PagerProps extends React.HTMLAttributes { | ||
interface PagerProps extends React.HTMLAttributes<{}>{ | ||
} | ||
@@ -477,3 +477,3 @@ type Pager = React.ClassicComponent<PagerProps, {}>; | ||
// ---------------------------------------- | ||
interface PageItemProps extends React.HTMLAttributes { | ||
interface PageItemProps extends React.HTMLAttributes<{}>{ | ||
eventKey?: any; | ||
@@ -488,3 +488,3 @@ next?: boolean; | ||
// ---------------------------------------- | ||
interface PaginationProps extends React.HTMLAttributes { | ||
interface PaginationProps extends React.HTMLAttributes<{}>{ | ||
activePage?: number; | ||
@@ -507,3 +507,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface AlertProps extends React.HTMLAttributes { | ||
interface AlertProps extends React.HTMLAttributes<{}>{ | ||
bsSize?: string; | ||
@@ -520,3 +520,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface CarouselProps extends React.HTMLAttributes { | ||
interface CarouselProps extends React.HTMLAttributes<{}>{ | ||
activeIndex?: number; | ||
@@ -541,3 +541,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface CarouselItemProps extends React.HTMLAttributes { | ||
interface CarouselItemProps extends React.HTMLAttributes<{}>{ | ||
active?: boolean; | ||
@@ -556,3 +556,3 @@ animtateIn?: boolean; | ||
// ---------------------------------------- | ||
interface GridProps extends React.HTMLAttributes { | ||
interface GridProps extends React.HTMLAttributes<{}>{ | ||
componentClass?: any; // TODO: Add more specific type | ||
@@ -566,3 +566,3 @@ fluid?: boolean; | ||
// ---------------------------------------- | ||
interface RowProps extends React.HTMLAttributes { | ||
interface RowProps extends React.HTMLAttributes<{}>{ | ||
componentClass?: any; // TODO: Add more specific type | ||
@@ -575,3 +575,3 @@ } | ||
// ---------------------------------------- | ||
interface ColProps extends React.HTMLAttributes { | ||
interface ColProps extends React.HTMLAttributes<{}>{ | ||
componentClass?: any; // TODO: Add more specific type | ||
@@ -604,3 +604,3 @@ lg?: number; | ||
// ---------------------------------------- | ||
interface ThumbnailProps extends React.HTMLAttributes { | ||
interface ThumbnailProps extends React.HTMLAttributes<{}>{ | ||
bsSize?: string; | ||
@@ -614,3 +614,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface ListGroupProps extends React.HTMLAttributes { | ||
interface ListGroupProps extends React.HTMLAttributes<{}>{ | ||
fill?: boolean; // TODO: Add more specific type | ||
@@ -623,3 +623,3 @@ } | ||
// ---------------------------------------- | ||
interface ListGroupItemProps extends React.HTMLAttributes { | ||
interface ListGroupItemProps extends React.HTMLAttributes<{}>{ | ||
active?: any; | ||
@@ -638,3 +638,3 @@ bsSize?: string; | ||
// ---------------------------------------- | ||
interface LabelProps extends React.HTMLAttributes { | ||
interface LabelProps extends React.HTMLAttributes<{}>{ | ||
bsSize?: string; | ||
@@ -648,3 +648,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface BadgeProps extends React.HTMLAttributes { | ||
interface BadgeProps extends React.HTMLAttributes<{}>{ | ||
pullRight?: boolean; | ||
@@ -657,3 +657,3 @@ } | ||
// ---------------------------------------- | ||
interface JumbotronProps extends React.HTMLAttributes { | ||
interface JumbotronProps extends React.HTMLAttributes<{}>{ | ||
componentClass?: any; // TODO: Add more specific type | ||
@@ -666,3 +666,3 @@ } | ||
// ---------------------------------------- | ||
interface PageHeaderProps extends React.HTMLAttributes { | ||
interface PageHeaderProps extends React.HTMLAttributes<{}>{ | ||
} | ||
@@ -674,3 +674,3 @@ class PageHeader extends React.Component<PageHeaderProps, {}> { | ||
// ---------------------------------------- | ||
interface WellProps extends React.HTMLAttributes { | ||
interface WellProps extends React.HTMLAttributes<{}>{ | ||
bsSize?: string; | ||
@@ -684,3 +684,3 @@ bsStyle?: string; | ||
// ---------------------------------------- | ||
interface GlyphiconProps extends React.HTMLAttributes { | ||
interface GlyphiconProps extends React.HTMLAttributes<{}>{ | ||
// Required | ||
@@ -694,3 +694,3 @@ glyph: string; | ||
// ---------------------------------------- | ||
interface TableProps extends React.HTMLAttributes { | ||
interface TableProps extends React.HTMLAttributes<{}>{ | ||
bordered?: boolean; | ||
@@ -707,3 +707,3 @@ condensed?: boolean; | ||
// ---------------------------------------- | ||
interface InputProps extends React.HTMLAttributes { | ||
interface InputProps extends React.HTMLAttributes<{}>{ | ||
defaultValue?:string; | ||
@@ -729,3 +729,3 @@ addonAfter?: any; // TODO: Add more specific type | ||
// ---------------------------------------- | ||
interface ButtonInputProps extends React.HTMLAttributes { | ||
interface ButtonInputProps extends React.HTMLAttributes<{}>{ | ||
addonAfter?: any; // TODO: Add more specific type | ||
@@ -752,3 +752,3 @@ addonBefore?: any; // TODO: Add more specific type | ||
interface StaticProps extends React.HTMLAttributes {} | ||
interface StaticProps extends React.HTMLAttributes<{}>{} | ||
interface Static extends React.ReactElement<StaticProps> { } | ||
@@ -755,0 +755,0 @@ interface StaticClass extends React.ComponentClass<StaticProps> { } |
{ | ||
"name": "@types/react-bootstrap", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "TypeScript definitions for react-bootstrap", | ||
"license": "MIT", | ||
"author": "Walker Burgin <https://github.com/walkerburgin>, Vincent Siao <https://github.com/vsiao>", | ||
"main": "", | ||
"scripts": {}, | ||
"author": "Walker Burgin <https://github.com/walkerburgin>, Vincent Siao <https://github.com/vsiao>", | ||
"repository": { | ||
@@ -12,7 +12,7 @@ "type": "git", | ||
}, | ||
"license": "MIT", | ||
"typings": "index.d.ts", | ||
"scripts": {}, | ||
"dependencies": { | ||
"@types/react": "0.14.*" | ||
} | ||
}, | ||
"typings": "index.d.ts" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 14 Jul 2016 13:52:49 GMT | ||
* Last updated: Tue, 19 Jul 2016 13:07:25 GMT | ||
* File structure: DeclareModule | ||
@@ -14,0 +14,0 @@ * Library Dependencies: react |
@@ -23,3 +23,4 @@ { | ||
], | ||
"contentHash": "9c7f55df24e8ae03292877ccda5b02f6a16eb25e31c94272c4d845a40c643e74" | ||
"hasPackageJson": false, | ||
"contentHash": "74aedd463fff88c750c9ac55cd180f5b0067f3c691122ccc7d6c5e7ea39a64bc" | ||
} |
28083
728