@vtmn/svelte
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -352,3 +352,3 @@ (function (global, factory) { | ||
attr(label, "class", "vtmn-text-input_label"); | ||
attr(label, "for", /*id*/ ctx[0]); | ||
attr(label, "for", /*identifier*/ ctx[0]); | ||
}, | ||
@@ -362,4 +362,4 @@ m(target, anchor) { | ||
if (dirty & /*id*/ 1) { | ||
attr(label, "for", /*id*/ ctx[0]); | ||
if (dirty & /*identifier*/ 1) { | ||
attr(label, "for", /*identifier*/ ctx[0]); | ||
} | ||
@@ -407,3 +407,3 @@ }, | ||
{ type: "text" }, | ||
{ id: /*id*/ ctx[0] }, | ||
{ identifier: /*identifier*/ ctx[0] }, | ||
{ disabled: /*disabled*/ ctx[3] }, | ||
@@ -459,3 +459,3 @@ { placeholder: /*placeholder*/ ctx[2] }, | ||
{ type: "text" }, | ||
dirty & /*id*/ 1 && { id: /*id*/ ctx[0] }, | ||
dirty & /*identifier*/ 1 && { identifier: /*identifier*/ ctx[0] }, | ||
dirty & /*disabled*/ 8 && { disabled: /*disabled*/ ctx[3] }, | ||
@@ -496,5 +496,5 @@ dirty & /*placeholder*/ 4 && { placeholder: /*placeholder*/ ctx[2] }, | ||
function instance($$self, $$props, $$invalidate) { | ||
const omit_props_names = ["id","labelText","placeholder","disabled","helperText","valid","error"]; | ||
const omit_props_names = ["identifier","labelText","placeholder","disabled","helperText","valid","error"]; | ||
let $$restProps = compute_rest_props($$props, omit_props_names); | ||
let { id } = $$props; | ||
let { identifier } = $$props; | ||
let { labelText } = $$props; | ||
@@ -510,3 +510,3 @@ let { placeholder } = $$props; | ||
$$invalidate(7, $$restProps = compute_rest_props($$props, omit_props_names)); | ||
if ("id" in $$new_props) $$invalidate(0, id = $$new_props.id); | ||
if ("identifier" in $$new_props) $$invalidate(0, identifier = $$new_props.identifier); | ||
if ("labelText" in $$new_props) $$invalidate(1, labelText = $$new_props.labelText); | ||
@@ -520,3 +520,12 @@ if ("placeholder" in $$new_props) $$invalidate(2, placeholder = $$new_props.placeholder); | ||
return [id, labelText, placeholder, disabled, helperText, valid, error, $$restProps]; | ||
return [ | ||
identifier, | ||
labelText, | ||
placeholder, | ||
disabled, | ||
helperText, | ||
valid, | ||
error, | ||
$$restProps | ||
]; | ||
} | ||
@@ -529,3 +538,3 @@ | ||
init(this, options, instance, create_fragment, safe_not_equal, { | ||
id: 0, | ||
identifier: 0, | ||
labelText: 1, | ||
@@ -532,0 +541,0 @@ placeholder: 2, |
{ | ||
"name": "@vtmn/svelte", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Decathlon Design System - Vitamin Svelte library", | ||
@@ -53,3 +53,3 @@ "keywords": [ | ||
], | ||
"gitHead": "5a34d8e342cedd179c16762481346e4e1a8e3b66" | ||
"gitHead": "8dfd9dd2426463627867626eec5a15e4c135b4db" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143475
3799