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

@vtmn/svelte

Package Overview
Dependencies
Maintainers
2
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtmn/svelte - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

36

dist/VtmnLink.js

@@ -379,4 +379,4 @@ (function (global, factory) {

let current;
const default_slot_template = /*#slots*/ ctx[4].default;
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[3], null);
const default_slot_template = /*#slots*/ ctx[5].default;
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[4], null);

@@ -388,6 +388,7 @@ let a_levels = [

`vtmn-link_size--${/*size*/ ctx[0]}`,
/*isStandalone*/ ctx[1] && "vtmn-link--standalone"
/*standalone*/ ctx[1] && "vtmn-link--standalone",
/*standalone*/ ctx[1] && /*iconAlong*/ ctx[2] && "vtmn-link--icon-along"
].filter(Boolean).join(" ")
},
/*$$restProps*/ ctx[2]
/*$$restProps*/ ctx[3]
];

@@ -418,4 +419,4 @@

if (default_slot) {
if (default_slot.p && (!current || dirty & /*$$scope*/ 8)) {
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[3], dirty, null, null);
if (default_slot.p && (!current || dirty & /*$$scope*/ 16)) {
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[4], dirty, null, null);
}

@@ -425,8 +426,9 @@ }

set_attributes(a, a_data = get_spread_update(a_levels, [
(!current || dirty & /*size, isStandalone*/ 3 && a_class_value !== (a_class_value = [
(!current || dirty & /*size, standalone, iconAlong*/ 7 && a_class_value !== (a_class_value = [
"vtmn-link",
`vtmn-link_size--${/*size*/ ctx[0]}`,
/*isStandalone*/ ctx[1] && "vtmn-link--standalone"
/*standalone*/ ctx[1] && "vtmn-link--standalone",
/*standalone*/ ctx[1] && /*iconAlong*/ ctx[2] && "vtmn-link--icon-along"
].filter(Boolean).join(" "))) && { class: a_class_value },
dirty & /*$$restProps*/ 4 && /*$$restProps*/ ctx[2]
dirty & /*$$restProps*/ 8 && /*$$restProps*/ ctx[3]
]));

@@ -451,17 +453,19 @@ },

function instance($$self, $$props, $$invalidate) {
const omit_props_names = ["size","isStandalone"];
const omit_props_names = ["size","standalone","iconAlong"];
let $$restProps = compute_rest_props($$props, omit_props_names);
let { $$slots: slots = {}, $$scope } = $$props;
let { size = "medium" } = $$props;
let { isStandalone = false } = $$props;
let { standalone = false } = $$props;
let { iconAlong = false } = $$props;
$$self.$$set = $$new_props => {
$$props = assign(assign({}, $$props), exclude_internal_props($$new_props));
$$invalidate(2, $$restProps = compute_rest_props($$props, omit_props_names));
$$invalidate(3, $$restProps = compute_rest_props($$props, omit_props_names));
if ("size" in $$new_props) $$invalidate(0, size = $$new_props.size);
if ("isStandalone" in $$new_props) $$invalidate(1, isStandalone = $$new_props.isStandalone);
if ("$$scope" in $$new_props) $$invalidate(3, $$scope = $$new_props.$$scope);
if ("standalone" in $$new_props) $$invalidate(1, standalone = $$new_props.standalone);
if ("iconAlong" in $$new_props) $$invalidate(2, iconAlong = $$new_props.iconAlong);
if ("$$scope" in $$new_props) $$invalidate(4, $$scope = $$new_props.$$scope);
};
return [size, isStandalone, $$restProps, $$scope, slots];
return [size, standalone, iconAlong, $$restProps, $$scope, slots];
}

@@ -472,3 +476,3 @@

super();
init(this, options, instance, create_fragment, safe_not_equal, { size: 0, isStandalone: 1 });
init(this, options, instance, create_fragment, safe_not_equal, { size: 0, standalone: 1, iconAlong: 2 });
}

@@ -475,0 +479,0 @@ }

{
"name": "@vtmn/svelte",
"version": "0.3.12",
"version": "0.3.13",
"description": "Decathlon Design System - Vitamin Svelte library",

@@ -52,3 +52,3 @@ "keywords": [

],
"gitHead": "cb1e770544bff7b0de6158c36766846d1d54042a"
"gitHead": "43c5b73d5c0af036d042c089086762ffdddc2298"
}

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