@rmwc/button
Advanced tools
Comparing version 14.0.0-alpha.0 to 14.0.1-alpha.0
@@ -13,8 +13,8 @@ "use strict"; | ||
*/ | ||
exports.Button = ripple_1.withRipple({ | ||
exports.Button = (0, ripple_1.withRipple)({ | ||
surface: false | ||
})(base_1.createComponent(function Button(props, ref) { | ||
})((0, base_1.createComponent)(function Button(props, ref) { | ||
var dense = props.dense, raised = props.raised, unelevated = props.unelevated, outlined = props.outlined, danger = props.danger, icon = props.icon, label = props.label, trailingIcon = props.trailingIcon, children = props.children, touch = props.touch, rest = tslib_1.__rest(props, ["dense", "raised", "unelevated", "outlined", "danger", "icon", "label", "trailingIcon", "children", "touch"]); | ||
var isTouch = touch_target_1.useIsWrappedTouchTarget(touch); | ||
var className = base_1.useClassNames(props, [ | ||
var isTouch = (0, touch_target_1.useIsWrappedTouchTarget)(touch); | ||
var className = (0, base_1.useClassNames)(props, [ | ||
'mdc-button', | ||
@@ -60,5 +60,5 @@ { | ||
/** An icon that goes inside of buttons. This is an instance of the Icon component. */ | ||
var ButtonIcon = base_1.createMemoComponent(function ButtonIcon(props, ref) { | ||
var className = base_1.useClassNames(props, ['mdc-button__icon']); | ||
var ButtonIcon = (0, base_1.createMemoComponent)(function ButtonIcon(props, ref) { | ||
var className = (0, base_1.useClassNames)(props, ['mdc-button__icon']); | ||
return react_1.default.createElement(icon_1.Icon, tslib_1.__assign({}, props, { className: className, ref: ref })); | ||
}); |
{ | ||
"name": "@rmwc/button", | ||
"version": "14.0.0-alpha.0", | ||
"version": "14.0.1-alpha.0", | ||
"description": "RMWC Button component", | ||
@@ -40,9 +40,9 @@ "main": "dist/index.js", | ||
"@material/button": "^14.0.0", | ||
"@rmwc/base": "^14.0.0-alpha.0", | ||
"@rmwc/icon": "^14.0.0-alpha.0", | ||
"@rmwc/provider": "^14.0.0-alpha.0", | ||
"@rmwc/ripple": "^14.0.0-alpha.0", | ||
"@rmwc/types": "^14.0.0-alpha.0" | ||
"@rmwc/base": "^14.0.1-alpha.0", | ||
"@rmwc/icon": "^14.0.1-alpha.0", | ||
"@rmwc/provider": "^14.0.1-alpha.0", | ||
"@rmwc/ripple": "^14.0.1-alpha.0", | ||
"@rmwc/types": "^14.0.1-alpha.0" | ||
}, | ||
"gitHead": "d9befec0e3b258864b71686eecd16c16feb43cf1" | ||
} |
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
23670
Updated@rmwc/base@^14.0.1-alpha.0
Updated@rmwc/icon@^14.0.1-alpha.0
Updated@rmwc/ripple@^14.0.1-alpha.0
Updated@rmwc/types@^14.0.1-alpha.0