@amalto/action-button
Advanced tools
Comparing version 1.9.19 to 1.9.20
import * as React from 'react'; | ||
declare module ActionButton { | ||
interface Props extends React.Props<ActionButton> { | ||
interface Props extends React.ClassAttributes<ActionButton> { | ||
clickAction?: React.EventHandler<React.MouseEvent<Element>>; | ||
@@ -5,0 +5,0 @@ iconClass?: string; |
@@ -6,6 +6,8 @@ "use strict"; | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -16,7 +18,23 @@ function __() { this.constructor = d; } | ||
})(); | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
@@ -43,4 +61,4 @@ }; | ||
} | ||
return (React.createElement("span", { className: classnames_1.default('action-icon-button', this.props.btnClass, { 'disabled': this.props.disabled }), onClick: handleClick, "data-toggle": "tooltip", "data-original-title": this.props.disabled ? this.props.disabledTooltipText : this.props.tooltipText }, | ||
React.createElement("span", { className: classnames_1.default(this.props.iconClass, this.props.colorClass) }))); | ||
return (React.createElement("span", { className: (0, classnames_1.default)('action-icon-button', this.props.btnClass, { 'disabled': this.props.disabled }), onClick: handleClick, "data-toggle": "tooltip", "data-original-title": this.props.disabled ? this.props.disabledTooltipText : this.props.tooltipText }, | ||
React.createElement("span", { className: (0, classnames_1.default)(this.props.iconClass, this.props.colorClass) }))); | ||
}; | ||
@@ -47,0 +65,0 @@ return ActionButton; |
@@ -5,3 +5,3 @@ { | ||
"description": "Customizable action button.", | ||
"version": "1.9.19", | ||
"version": "1.9.20", | ||
"license": "MIT", | ||
@@ -43,10 +43,10 @@ "repository": { | ||
"enzyme-adapter-react-15": "1.3.0", | ||
"nyc": "^13.2.0", | ||
"nyc": "^15.1.0", | ||
"path": "0.12.7", | ||
"react-addons-test-utils": "15.6.2", | ||
"react-test-renderer": "15.6.2", | ||
"sinon": "4.2.2", | ||
"source-map-loader": "0.2.4", | ||
"ts-loader": "6.2.1", | ||
"typescript": "3.7.2", | ||
"sinon": "4.5.0", | ||
"source-map-loader": "4.0.0", | ||
"ts-loader": "8.4.0", | ||
"typescript": "4.7.4", | ||
"webpack": "4.41.2" | ||
@@ -83,3 +83,3 @@ }, | ||
}, | ||
"gitHead": "08b20828287c7a3564ba34dce6a4deadae1629e0" | ||
"gitHead": "12c99fb318e38ad8e32a51c4880c49fa1d703cd1" | ||
} |
@@ -19,3 +19,3 @@ const { resolve } = require('path'); | ||
resolve: { | ||
extensions: ['.webpack.js', '.ts', '.tsx', '.js', '.jsx', '.json'] | ||
extensions: ['.webpack.js', '.ts', '.tsx', '.js', '.jsx', '.json'], | ||
}, | ||
@@ -43,5 +43,2 @@ | ||
devtool: 'source-map', | ||
node: { | ||
fs: 'empty' | ||
} | ||
}; |
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
14427
251