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

@pap-it/badge

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pap-it/badge - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

dist/src/component.d.ts

@@ -0,1 +1,2 @@

import { Size } from "@pap-it/system-utils";
import "@pap-it/typography/wc";

@@ -7,2 +8,3 @@ import { Base } from "@pap-it/system-base";

count: number;
size: Size;
render(): DocumentFragment;

@@ -9,0 +11,0 @@ }

12

dist/src/component.js

@@ -15,9 +15,10 @@ import { __decorate } from "tslib";

this.count = 0;
this.size = "medium";
}
render() {
return html `
<pap-box-template part="box" radius="circular">
<pap-typography variant="C4"><slot>${FormatNumber(this.count)}</slot></pap-typography>
</pap-box-template>
`;
<pap-box-template part="box" radius="circular">
<pap-typography variant="C4"><slot>${FormatNumber(this.count)}</slot></pap-typography>
</pap-box-template>
`;
}

@@ -29,1 +30,4 @@ }

], Badge.prototype, "count", void 0);
__decorate([
property({ rerender: false })
], Badge.prototype, "size", void 0);

@@ -1,1 +0,1 @@

export declare const style = ":host pap-box-template{background-color:var(--pap-color-bg, #FFFFFF);border:1px solid var(--pap-color-border, #C7CBD4);color:var(--pap-color-text, #29292F);display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-width:2rem;padding:var(--padding-smaller, 4px) var(--padding-small, 8px)}:host([mode=inactive]) pap-box-template{background-color:var(--pap-color-bg-secondary, #F6F7F8);border:1px solid var(--pap-color-border-secondary, #DADDE3);color:var(--pap-color-text-secondary, #6E7087)}";
export declare const style = ":host pap-box-template{background-color:var(--pap-color-bg, #FFFFFF);border:1px solid var(--pap-color-border, #C7CBD4);color:var(--pap-color-text, #29292F);height:100%;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-width:2rem;padding:var(--padding-smaller, 4px) var(--padding-small, 8px)}:host([mode=inactive]) pap-box-template{background-color:var(--pap-color-bg-secondary, #F6F7F8);border:1px solid var(--pap-color-border-secondary, #DADDE3);color:var(--pap-color-text-secondary, #6E7087)}:host([size=small]){height:var(--unit-size3, 16px)}:host([size=medium]){height:var(--field-size-smaller, 24px)}:host([size=large]){height:var(--field-size-small, 32px)}";

@@ -1,1 +0,1 @@

export const style = `:host pap-box-template{background-color:var(--pap-color-bg, #FFFFFF);border:1px solid var(--pap-color-border, #C7CBD4);color:var(--pap-color-text, #29292F);display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-width:2rem;padding:var(--padding-smaller, 4px) var(--padding-small, 8px)}:host([mode=inactive]) pap-box-template{background-color:var(--pap-color-bg-secondary, #F6F7F8);border:1px solid var(--pap-color-border-secondary, #DADDE3);color:var(--pap-color-text-secondary, #6E7087)}`;
export const style = `:host pap-box-template{background-color:var(--pap-color-bg, #FFFFFF);border:1px solid var(--pap-color-border, #C7CBD4);color:var(--pap-color-text, #29292F);height:100%;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-width:2rem;padding:var(--padding-smaller, 4px) var(--padding-small, 8px)}:host([mode=inactive]) pap-box-template{background-color:var(--pap-color-bg-secondary, #F6F7F8);border:1px solid var(--pap-color-border-secondary, #DADDE3);color:var(--pap-color-text-secondary, #6E7087)}:host([size=small]){height:var(--unit-size3, 16px)}:host([size=medium]){height:var(--field-size-smaller, 24px)}:host([size=large]){height:var(--field-size-small, 32px)}`;
{
"name": "@pap-it/badge",
"version": "1.0.9",
"version": "1.0.10",
"scripts": {

@@ -44,5 +44,5 @@ "init": "sh .scripts/init.sh",

"dependencies": {
"@pap-it/system-base": "1.0.9",
"@pap-it/templates-box": "1.0.9",
"@pap-it/typography": "1.0.9",
"@pap-it/system-base": "1.0.10",
"@pap-it/templates-box": "1.0.10",
"@pap-it/typography": "1.0.10",
"@pap-it/system-utils": "1.0.9"

@@ -52,3 +52,3 @@ },

"eslint": "^8.53.0",
"@pap-it/system-doc": "1.0.13",
"@pap-it/system-doc": "1.0.15",
"esbuild": "^0.17.18",

@@ -55,0 +55,0 @@ "node-html-parser": "^6.1.5",

@@ -5,4 +5,5 @@ # Badge

Version: 1.0.8
Version: Version: 1.0.10
## Development

@@ -9,0 +10,0 @@

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