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

sw-input

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sw-input - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

21

dist/sw-input.js

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

import { LitElement as a, html as h } from "lit";
import { property as r, customElement as m } from "lit/decorators.js";
var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, p = (u, s, o, l) => {
for (var t = l > 1 ? void 0 : l ? y(s, o) : s, i = u.length - 1, n; i >= 0; i--)
(n = u[i]) && (t = (l ? n(s, o, t) : n(t)) || t);
return l && t && v(s, o, t), t;
import { LitElement as u, html as m } from "lit";
import { property as r, customElement as h } from "lit/decorators.js";
var y = Object.defineProperty, v = Object.getOwnPropertyDescriptor, p = (a, l, i, s) => {
for (var t = s > 1 ? void 0 : s ? v(l, i) : l, o = a.length - 1, n; o >= 0; o--)
(n = a[o]) && (t = (s ? n(l, i, t) : n(t)) || t);
return s && t && y(l, i, t), t;
};
let e = class extends a {
let e = class extends u {
constructor() {

@@ -13,5 +13,6 @@ super(...arguments), this.typeInput = "text", this.id = "", this.name = "", this.value = "", this.labelText = "";

render() {
return h`
<label .for="${this.id}">${this.labelText}</label>
return m`
<label part="my-Label" .for="${this.id}">${this.labelText}</label>
<input
part="my-input"
.type="${this.typeInput}"

@@ -41,3 +42,3 @@ .id="${this.id}"

e = p([
m("sw-input")
h("sw-input")
], e);

@@ -44,0 +45,0 @@ export {

{
"name": "sw-input",
"private": false,
"version": "0.0.2",
"version": "0.0.3",
"type": "module",

@@ -6,0 +6,0 @@ "main": "dist/sw-input.js",

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