Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/badge

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/badge - npm Package Compare versions

Comparing version 14.0.0-alpha.0 to 14.0.1-alpha.0

10

dist/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc