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

mds-input

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mds-input - npm Package Compare versions

Comparing version 0.0.1-beta.1 to 0.0.1-beta.2

18

dist/mds-input.js

@@ -42,3 +42,3 @@ /**

*/
var B;
var V;
const z = window, G = z.trustedTypes, gt = G ? G.emptyScript : "", Q = z.reactiveElementPolyfillSupport, K = { toAttribute(r, t) {

@@ -72,3 +72,3 @@ switch (t) {

return e;
} }, lt = (r, t) => t !== r && (t == t || r == r), V = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: lt };
} }, lt = (r, t) => t !== r && (t == t || r == r), B = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: lt };
let w = class extends HTMLElement {

@@ -90,3 +90,3 @@ constructor() {

}
static createProperty(t, e = V) {
static createProperty(t, e = B) {
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {

@@ -106,3 +106,3 @@ const i = typeof t == "symbol" ? Symbol() : "__" + t, o = this.getPropertyDescriptor(t, i, e);

static getPropertyOptions(t) {
return this.elementProperties.get(t) || V;
return this.elementProperties.get(t) || B;
}

@@ -176,3 +176,3 @@ static finalize() {

}
_$EO(t, e, i = V) {
_$EO(t, e, i = B) {
var o;

@@ -256,3 +256,3 @@ const s = this.constructor._$Ep(t, i);

};
w.finalized = !0, w.elementProperties = /* @__PURE__ */ new Map(), w.elementStyles = [], w.shadowRootOptions = { mode: "open" }, Q == null || Q({ ReactiveElement: w }), ((B = z.reactiveElementVersions) !== null && B !== void 0 ? B : z.reactiveElementVersions = []).push("1.6.1");
w.finalized = !0, w.elementProperties = /* @__PURE__ */ new Map(), w.elementStyles = [], w.shadowRootOptions = { mode: "open" }, Q == null || Q({ ReactiveElement: w }), ((V = z.reactiveElementVersions) !== null && V !== void 0 ? V : z.reactiveElementVersions = []).push("1.6.1");
/**

@@ -755,3 +755,4 @@ * @license

}
// add the following methods to make your Custom Element participate // in form validation
// add the following methods to make your Custom Element participate
// in form validation
get validity() {

@@ -772,2 +773,5 @@ return this.internals.validity;

}
formResetCallback() {
this.inputElement && (this.internals.setFormValue(""), this.inputElement.value = "", this.dispatchEvent(new CustomEvent("inputResetEvent", { bubbles: !0, detail: { input: this.inputElement } })));
}
render() {

@@ -774,0 +778,0 @@ const r = this.getValue(), t = this.buildInput(r), e = this.buildDatalist();

{
"name": "mds-input",
"private": false,
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.2",
"type": "module",

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

@@ -110,2 +110,3 @@ import { LitElement } from 'lit';

reportValidity(): boolean;
formResetCallback(): void;
render(): import("lit-html").TemplateResult<1>;

@@ -112,0 +113,0 @@ }

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