@rmwc/badge
Advanced tools
Comparing version 14.0.0-alpha.0 to 14.0.1-alpha.0
@@ -8,7 +8,7 @@ "use strict"; | ||
/** A Badge component for indicating alerts or counts. */ | ||
exports.Badge = base_1.createComponent(function Badge(props, ref) { | ||
exports.Badge = (0, base_1.createComponent)(function Badge(props, ref) { | ||
var _a = props.align, align = _a === void 0 ? 'end' : _a, label = props.label, style = props.style, exited = props.exited, inset = props.inset, rest = tslib_1.__rest(props, ["align", "label", "style", "exited", "inset"]); | ||
var className = base_1.useClassNames(props, [ | ||
var className = (0, base_1.useClassNames)(props, [ | ||
'rmwc-badge', | ||
"rmwc-badge--align-" + align, | ||
"rmwc-badge--align-".concat(align), | ||
{ | ||
@@ -24,6 +24,6 @@ 'rmwc-badge--no-content': !(label !== null && label !== void 0 ? label : false), | ||
/** An anchor component for badges. */ | ||
exports.BadgeAnchor = base_1.createComponent(function BadgeAnchor(props, ref) { | ||
exports.BadgeAnchor = (0, base_1.createComponent)(function BadgeAnchor(props, ref) { | ||
var children = props.children, rest = tslib_1.__rest(props, ["children"]); | ||
var className = base_1.useClassNames(props, ['rmwc-badge-anchor']); | ||
var className = (0, base_1.useClassNames)(props, ['rmwc-badge-anchor']); | ||
return (react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, rest, { className: className, ref: ref }), children)); | ||
}); |
@@ -9,3 +9,3 @@ import { __assign, __rest } from "tslib"; | ||
'rmwc-badge', | ||
"rmwc-badge--align-" + align, | ||
"rmwc-badge--align-".concat(align), | ||
{ | ||
@@ -12,0 +12,0 @@ 'rmwc-badge--no-content': !(label !== null && label !== void 0 ? label : false), |
{ | ||
"name": "@rmwc/badge", | ||
"version": "14.0.0-alpha.0", | ||
"version": "14.0.1-alpha.0", | ||
"description": "RMWC badge component", | ||
@@ -39,6 +39,6 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@rmwc/base": "^14.0.0-alpha.0", | ||
"@rmwc/types": "^14.0.0-alpha.0" | ||
"@rmwc/base": "^14.0.1-alpha.0", | ||
"@rmwc/types": "^14.0.1-alpha.0" | ||
}, | ||
"gitHead": "bf098adc2571ee1641ef20d79f38fb64e9ff186e" | ||
} |
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
32695
Updated@rmwc/base@^14.0.1-alpha.0
Updated@rmwc/types@^14.0.1-alpha.0