clay-portal
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -8,5 +8,5 @@ 'use strict'; | ||
var _metalComponent = require('metal-component'); | ||
var _clayComponent = require('clay-component'); | ||
var _metalComponent2 = _interopRequireDefault(_metalComponent); | ||
var _clayComponent2 = _interopRequireDefault(_clayComponent); | ||
@@ -33,6 +33,6 @@ var _metalSoy = require('metal-soy'); | ||
* Metal ClayPortal component. | ||
* @extends Component | ||
* @extends ClayComponent | ||
*/ | ||
var ClayPortal = function (_Component) { | ||
_inherits(ClayPortal, _Component); | ||
var ClayPortal = function (_ClayComponent) { | ||
_inherits(ClayPortal, _ClayComponent); | ||
@@ -46,3 +46,3 @@ function ClayPortal() { | ||
return ClayPortal; | ||
}(_metalComponent2.default); | ||
}(_clayComponent2.default); | ||
@@ -64,3 +64,22 @@ /** | ||
*/ | ||
content: _metalState.Config.required() | ||
content: _metalState.Config.required(), | ||
/** | ||
* Data to add to the element. | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayPortal | ||
* @type {?object} | ||
*/ | ||
data: _metalState.Config.object(), | ||
/** | ||
* Object that wires events with default listeners | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayPortal | ||
* @review | ||
* @type {?(object|undefined)} | ||
*/ | ||
defaultEventHandler: _metalState.Config.object() | ||
}; | ||
@@ -67,0 +86,0 @@ |
{ | ||
"name": "clay-portal", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Metal ClayPortal component", | ||
@@ -31,2 +31,3 @@ "license": "BSD", | ||
"dependencies": { | ||
"clay-component": "^2.5.1", | ||
"metal": "^2.16.0", | ||
@@ -43,8 +44,8 @@ "metal-component": "^2.16.0", | ||
"babel-preset-env": "^1.6.0", | ||
"browserslist-config-clay": "^2.5.0", | ||
"clay-css": "^2.5.0", | ||
"browserslist-config-clay": "^2.5.1", | ||
"clay-css": "^2.5.1", | ||
"metal-dom": "^2.13.2", | ||
"metal-tools-soy": "^6.0.0", | ||
"webpack": "^3.0.0", | ||
"webpack-config-clay": "^2.5.0" | ||
"webpack-config-clay": "^2.5.1" | ||
}, | ||
@@ -54,3 +55,3 @@ "browserslist": [ | ||
], | ||
"gitHead": "0274003197fe979a381e7c82c5226166d54088a0" | ||
"gitHead": "086527d96ec2a7448d7b92d6f62746fbfb10d249" | ||
} |
@@ -1,2 +0,2 @@ | ||
import Component from 'metal-component'; | ||
import ClayComponent from 'clay-component'; | ||
import Soy from 'metal-soy'; | ||
@@ -9,5 +9,5 @@ import {Config} from 'metal-state'; | ||
* Metal ClayPortal component. | ||
* @extends Component | ||
* @extends ClayComponent | ||
*/ | ||
class ClayPortal extends Component {} | ||
class ClayPortal extends ClayComponent {} | ||
@@ -28,2 +28,21 @@ /** | ||
content: Config.required(), | ||
/** | ||
* Data to add to the element. | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayPortal | ||
* @type {?object} | ||
*/ | ||
data: Config.object(), | ||
/** | ||
* Object that wires events with default listeners | ||
* @default undefined | ||
* @instance | ||
* @memberof ClayPortal | ||
* @review | ||
* @type {?(object|undefined)} | ||
*/ | ||
defaultEventHandler: Config.object(), | ||
}; | ||
@@ -30,0 +49,0 @@ |
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
16919
244
5
+ Addedclay-component@^2.5.1
+ Addedclay-component@2.24.1(transitive)