@react-mdc/dialog
Advanced tools
Comparing version 0.1.0 to 0.1.2
@@ -0,5 +1,5 @@ | ||
"use strict"; | ||
/** | ||
* Foundation adapters. | ||
*/ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -6,0 +6,0 @@ var mdc_dialog_1 = require("@material/dialog/dist/mdc.dialog"); |
/// <reference types="react" /> | ||
import * as React from "react"; | ||
import * as PropTypes from "prop-types"; | ||
import { Map, Set } from "immutable"; | ||
@@ -35,3 +36,3 @@ import { DefaultComponent, MetaAdapter } from "@react-mdc/base/lib/meta"; | ||
static childContextTypes: { | ||
adapter: React.Requireable<any>; | ||
adapter: PropTypes.Requireable<any>; | ||
}; | ||
@@ -38,0 +39,0 @@ static defaultProps: { |
@@ -13,4 +13,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var React = require("react"); | ||
var classNames = require("classnames"); | ||
var PropTypes = require("prop-types"); | ||
var mdc_dialog_1 = require("@material/dialog/dist/mdc.dialog"); | ||
@@ -102,3 +102,3 @@ var immutable_1 = require("immutable"); | ||
Meta.childContextTypes = { | ||
adapter: React.PropTypes.instanceOf(adapter_1.FoundationAdapter), | ||
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter), | ||
}; | ||
@@ -105,0 +105,0 @@ Meta.defaultProps = { |
/// <reference types="react" /> | ||
import * as React from "react"; | ||
import { Map, Set } from "immutable"; | ||
import * as PropTypes from "prop-types"; | ||
import { DefaultComponent, MetaAdapter } from "@react-mdc/base/lib/meta"; | ||
@@ -23,3 +24,3 @@ import { FoundationAdapter } from "./adapter"; | ||
static contextTypes: { | ||
adapter: React.Validator<any>; | ||
adapter: PropTypes.Validator<any>; | ||
}; | ||
@@ -26,0 +27,0 @@ context: Context; |
@@ -13,5 +13,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var React = require("react"); | ||
var ReactDOM = require("react-dom"); | ||
var immutable_1 = require("immutable"); | ||
var PropTypes = require("prop-types"); | ||
var meta_1 = require("@react-mdc/base/lib/meta"); | ||
@@ -53,3 +53,3 @@ var mdc_dialog_1 = require("@material/dialog/dist/mdc.dialog"); | ||
Meta.contextTypes = { | ||
adapter: React.PropTypes.instanceOf(adapter_1.FoundationAdapter).isRequired, | ||
adapter: PropTypes.instanceOf(adapter_1.FoundationAdapter).isRequired, | ||
}; | ||
@@ -56,0 +56,0 @@ exports.Meta = Meta; |
{ | ||
"name": "@react-mdc/dialog", | ||
"description": "React wrapper of @material/dialog", | ||
"version": "0.1.0", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -10,9 +10,10 @@ "main": "lib/index", | ||
"type": "git", | ||
"url": "https://github.com/hardtack/react-material-components-web.git" | ||
"url": "https://github.com/react-mdc/react-material-components-web.git" | ||
}, | ||
"dependencies": { | ||
"@material/dialog": "^0.1.0", | ||
"@react-mdc/base": "^0.1.5", | ||
"@react-mdc/button": "^0.1.2", | ||
"@react-mdc/base": "^0.1.6", | ||
"@react-mdc/button": "^0.1.3", | ||
"@types/classnames": "0.0.32", | ||
"@types/prop-types": "^15.5.1", | ||
"@types/react": "^15.0.18", | ||
@@ -22,2 +23,3 @@ "@types/react-dom": "^0.14.23", | ||
"immutable": "^3.8.1", | ||
"prop-types": "^15.5.8", | ||
"react": "^15.4.2", | ||
@@ -24,0 +26,0 @@ "react-dom": "^15.4.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194854
1754
12
+ Added@types/prop-types@^15.5.1
+ Addedprop-types@^15.5.8
+ Added@types/prop-types@15.7.13(transitive)
Updated@react-mdc/base@^0.1.6
Updated@react-mdc/button@^0.1.3