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

@firestitch/badge

Package Overview
Dependencies
Maintainers
7
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firestitch/badge - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

0

app/components/badge/badge.component.d.ts

@@ -0,0 +0,0 @@ import { OnChanges, OnInit } from '@angular/core';

@@ -0,0 +0,0 @@ import * as i0 from "@angular/core";

2

bundles/firestitch-badge.umd.js

@@ -72,3 +72,3 @@ (function (global, factory) {

FsBadgeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsBadgeComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
FsBadgeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-block;height:20px;border-radius:3px;text-align:center}.fs-badge.fs-badge-text{line-height:20px;text-transform:uppercase;padding:1px 4px 1px 3px;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;line-height:32px;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}.fs-badge .material-icons{line-height:95%;vertical-align:middle}\n"], components: [{ type: i1__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
FsBadgeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-flex;height:20px;align-items:center;justify-content:center;border-radius:3px;vertical-align:bottom}.fs-badge.fs-badge-text{text-transform:uppercase;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}\n"], components: [{ type: i1__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3__namespace.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsBadgeComponent, decorators: [{

@@ -75,0 +75,0 @@ type: i0.Component,

@@ -47,3 +47,3 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';

FsBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
FsBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-block;height:20px;border-radius:3px;text-align:center}.fs-badge.fs-badge-text{line-height:20px;text-transform:uppercase;padding:1px 4px 1px 3px;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;line-height:32px;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}.fs-badge .material-icons{line-height:95%;vertical-align:middle}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
FsBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-flex;height:20px;align-items:center;justify-content:center;border-radius:3px;vertical-align:bottom}.fs-badge.fs-badge-text{text-transform:uppercase;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsBadgeComponent, decorators: [{

@@ -78,2 +78,2 @@ type: Component,

}] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9jb21wb25lbnRzL2JhZGdlL2JhZGdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7Ozs7O0FBUzdGLE1BQU0sT0FBTyxnQkFBZ0I7SUFpQjNCO1FBZGdCLFNBQUksR0FBRyxFQUFFLENBQUM7UUFHVixVQUFLLEdBQUcsUUFBUSxDQUFDO1FBTzFCLFdBQU0sR0FBUSxFQUFFLENBQUM7UUFFakIsY0FBUyxHQUFRLEVBQUUsQ0FBQztJQUVYLENBQUM7SUFFVixRQUFRLEtBQUssQ0FBQztJQUVkLFdBQVcsQ0FBQyxPQUFPO1FBRXhCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUM7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@angular/core';

FsBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
FsBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-block;height:20px;border-radius:3px;text-align:center}.fs-badge.fs-badge-text{line-height:20px;text-transform:uppercase;padding:1px 4px 1px 3px;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;line-height:32px;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}.fs-badge .material-icons{line-height:95%;vertical-align:middle}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
FsBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FsBadgeComponent, selector: "fs-badge", inputs: { color: "color", text: "text", tooltip: "tooltip", size: "size", shape: "shape", image: "image", icon: "icon", iconSize: "iconSize", iconColor: "iconColor", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fs-badge\"\n [ngClass]=\"{ 'fs-badge-circle': shape === 'circle', 'fs-badge-image': type === 'image', 'fs-badge-text': type === 'text' }\"\n [ngStyle]=\"styles\"\n [matTooltip]=\"tooltip\">\n <mat-icon *ngIf=\"!image && icon\" [ngStyle]=\"iconStyle\">{{ icon }}</mat-icon>\n <ng-container *ngIf=\"!image && text\">{{ text }}</ng-container>\n</div>\n", styles: [".fs-badge{display:inline-flex;height:20px;align-items:center;justify-content:center;border-radius:3px;vertical-align:bottom}.fs-badge.fs-badge-text{text-transform:uppercase;min-width:45px;color:#fff;font-size:14px}.fs-badge.fs-badge-circle{min-width:32px;height:32px;width:32px;padding:0;border-radius:50%}.fs-badge.fs-badge-image{background-repeat:no-repeat;background-size:cover;background-position:50% 50%}\n"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsBadgeComponent, decorators: [{

@@ -54,0 +54,0 @@ type: Component,

@@ -0,0 +0,0 @@ /**

{
"name": "@firestitch/badge",
"version": "12.0.0",
"version": "12.0.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

export { FsBadgeModule } from './app/fs-badge.module';
export { FsBadgeComponent } from './app/components/badge/badge.component';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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