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

@responsive-ui/icon

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@responsive-ui/icon - npm Package Compare versions

Comparing version 0.16.0 to 1.0.0-alpha.0

18

lib/cjs/index.js

@@ -195,3 +195,3 @@ 'use strict';

after_update: [],
context: new Map(parent_component ? parent_component.$$.context : []),
context: new Map(parent_component ? parent_component.$$.context : options.context || []),
// everything else

@@ -264,3 +264,3 @@ callbacks: blank_object(),

/* components/icon/src/Icon.svelte generated by Svelte v3.35.0 */
/* components/icon/src/Icon.svelte generated by Svelte v3.38.2 */

@@ -285,3 +285,3 @@ function create_if_block_5(ctx) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -322,3 +322,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -363,3 +363,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -414,3 +414,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -499,3 +499,3 @@ m(target, anchor) {

attr(svg, "stroke-linejoin", "round");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -544,3 +544,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -580,3 +580,3 @@ m(target, anchor) {

if (if_block) if_block.c();
attr(span, "class", "responsive-ui-icon svelte-1ijgepv");
attr(span, "class", "responsive-ui-icon svelte-2o8tyv");
attr(span, "style", /*style*/ ctx[2]);

@@ -583,0 +583,0 @@ },

@@ -193,3 +193,3 @@ function noop() { }

after_update: [],
context: new Map(parent_component ? parent_component.$$.context : []),
context: new Map(parent_component ? parent_component.$$.context : options.context || []),
// everything else

@@ -262,3 +262,3 @@ callbacks: blank_object(),

/* components/icon/src/Icon.svelte generated by Svelte v3.35.0 */
/* components/icon/src/Icon.svelte generated by Svelte v3.38.2 */

@@ -283,3 +283,3 @@ function create_if_block_5(ctx) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -320,3 +320,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -361,3 +361,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -412,3 +412,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -497,3 +497,3 @@ m(target, anchor) {

attr(svg, "stroke-linejoin", "round");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -542,3 +542,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -578,3 +578,3 @@ m(target, anchor) {

if (if_block) if_block.c();
attr(span, "class", "responsive-ui-icon svelte-1ijgepv");
attr(span, "class", "responsive-ui-icon svelte-2o8tyv");
attr(span, "style", /*style*/ ctx[2]);

@@ -581,0 +581,0 @@ },

@@ -196,3 +196,3 @@ var Icon = (function () {

after_update: [],
context: new Map(parent_component ? parent_component.$$.context : []),
context: new Map(parent_component ? parent_component.$$.context : options.context || []),
// everything else

@@ -265,3 +265,3 @@ callbacks: blank_object(),

/* components/icon/src/Icon.svelte generated by Svelte v3.35.0 */
/* components/icon/src/Icon.svelte generated by Svelte v3.38.2 */

@@ -286,3 +286,3 @@ function create_if_block_5(ctx) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -323,3 +323,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -364,3 +364,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -415,3 +415,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -500,3 +500,3 @@ m(target, anchor) {

attr(svg, "stroke-linejoin", "round");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -545,3 +545,3 @@ m(target, anchor) {

attr(svg, "xml:space", "preserve");
attr(svg, "class", "svelte-1ijgepv");
attr(svg, "class", "svelte-2o8tyv");
},

@@ -581,3 +581,3 @@ m(target, anchor) {

if (if_block) if_block.c();
attr(span, "class", "responsive-ui-icon svelte-1ijgepv");
attr(span, "class", "responsive-ui-icon svelte-2o8tyv");
attr(span, "style", /*style*/ ctx[2]);

@@ -584,0 +584,0 @@ },

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

!function(){function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function e(n,t){return(e=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,e){return!e||"object"!==r(e)&&"function"!=typeof e?t(n):e}function i(n){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function u(n,t){if(n){if("string"==typeof n)return c(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(n,t):void 0}}function f(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n)){var e=[],r=!0,o=!1,i=void 0;try{for(var c,u=n[Symbol.iterator]();!(r=(c=u.next()).done)&&(e.push(c.value),!t||e.length!==t);r=!0);}catch(n){o=!0,i=n}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return e}}(n,t)||u(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(n){return function(n){if(Array.isArray(n))return c(n)}(n)||function(n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(n))return Array.from(n)}(n)||u(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function s(){}function p(n){return n()}function y(){return Object.create(null)}function v(n){n.forEach(p)}function d(n){return"function"==typeof n}function h(n,t){return n!=n?t==t:n!==t||n&&"object"===r(n)||"function"==typeof n}function m(n,t){n.appendChild(t)}function w(n,t,e){n.insertBefore(t,e||null)}function g(n){n.parentNode.removeChild(n)}function x(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function b(n,t,e){null==e?n.removeAttribute(t):n.getAttribute(t)!==e&&n.setAttribute(t,e)}function j(n){return Array.from(n.childNodes)}function k(n,t,e,r){n.style.setProperty(t,e,r?"important":"")}var S;function $(n){S=n}var A=[],O=[],_=[],E=[],L=Promise.resolve(),B=!1;function P(n){_.push(n)}var R=!1,C=new Set;function I(){if(!R){R=!0;do{for(var n=0;n<A.length;n+=1){var t=A[n];$(t),M(t.$$)}for($(null),A.length=0;O.length;)O.pop()();for(var e=0;e<_.length;e+=1){var r=_[e];C.has(r)||(C.add(r),r())}_.length=0}while(A.length);for(;E.length;)E.pop()();B=!1,R=!1,C.clear()}}function M(n){if(null!==n.fragment){n.update(),v(n.before_update);var t=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(P)}}var z=new Set;function H(n,t){n&&n.i&&(z.delete(n),n.i(t))}function N(n,t,e,r){var o=n.$$,i=o.fragment,c=o.on_mount,u=o.on_destroy,f=o.after_update;i&&i.m(t,e),r||P((function(){var t=c.map(p).filter(d);u?u.push.apply(u,l(t)):v(t),n.$$.on_mount=[]})),f.forEach(P)}function T(n,t){-1===n.$$.dirty[0]&&(A.push(n),B||(B=!0,L.then(I)),n.$$.dirty.fill(0)),n.$$.dirty[t/31|0]|=1<<t%31}function V(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,r=i(n);if(t){var c=i(this).constructor;e=Reflect.construct(r,arguments,c)}else e=r.apply(this,arguments);return o(this,e)}}function U(n){var t,e;return{c:function(){t=x("svg"),b(e=x("path"),"d","M1.119 16.841a1.118 1.118 0 01-1.111-1.127c0-.619.492-1.111\n 1.111-1.111h13.475V1.127A1.133 1.133 0 0115.722 0c.619 0 1.111.508 1.111\n 1.127v13.476h13.475c.619 0 1.127.492 1.127 1.111s-.508 1.127-1.127\n 1.127H16.833v13.476c0 .619-.492 1.127-1.111 1.127a1.131 1.131 0\n 01-1.127-1.127V16.841H1.119z"),b(e,"fill",n[0]),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"x","0"),b(t,"y","0"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 31.444 31.444"),b(t,"xml:space","preserve"),b(t,"class","svelte-1ijgepv")},m:function(n,r){w(n,t,r),m(t,e)},p:function(n,t){1&t&&b(e,"fill",n[0])},d:function(n){n&&g(t)}}}function q(n){var t,e;return{c:function(){t=x("svg"),b(e=x("path"),"d","M1.111 16.832A1.117 1.117 0 010 15.706c0-.619.492-1.111\n 1.111-1.111H30.3c.619 0 1.127.492 1.127 1.111s-.508 1.127-1.127\n 1.127H1.111z"),b(e,"fill",n[0]),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"x","0"),b(t,"y","0"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 31.427 31.427"),b(t,"xml:space","preserve"),b(t,"class","svelte-1ijgepv")},m:function(n,r){w(n,t,r),m(t,e)},p:function(n,t){1&t&&b(e,"fill",n[0])},d:function(n){n&&g(t)}}}function D(n){var t,e,r;return{c:function(){t=x("svg"),e=x("g"),b(r=x("path"),"d","M617.858,370.896L221.513,9.705c-13.006-12.94-34.099-12.94-47.105,0c-13.006,12.939-13.006,33.934,0,46.874\n l372.447,339.438L174.441,735.454c-13.006,12.94-13.006,33.935,0,46.874s34.099,12.939,47.104,0l396.346-361.191\n c6.932-6.898,9.904-16.043,9.441-25.087C627.763,386.972,624.792,377.828,617.858,370.896z"),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"stroke",n[0]),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 792.033 792.033"),k(t,"enable-background","new 0 0 792.033 792.033"),b(t,"xml:space","preserve"),b(t,"class","svelte-1ijgepv")},m:function(n,o){w(n,t,o),m(t,e),m(e,r)},p:function(n,e){1&e&&b(t,"stroke",n[0])},d:function(n){n&&g(t)}}}function F(n){var t,e,r,o,i;return{c:function(){t=x("svg"),e=x("g"),r=x("circle"),o=x("circle"),i=x("circle"),b(r,"cx","42.667"),b(r,"cy","213.333"),b(r,"r","42.667"),b(o,"cx","213.333"),b(o,"cy","213.333"),b(o,"r","42.667"),b(i,"cx","384"),b(i,"cy","213.333"),b(i,"r","42.667"),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 426.667 426.667"),k(t,"enable-background","new 0 0 426.667 426.667"),b(t,"xml:space","preserve"),b(t,"class","svelte-1ijgepv")},m:function(n,c){w(n,t,c),m(t,e),m(e,r),m(e,o),m(e,i)},p:s,d:function(n){n&&g(t)}}}function G(n){var t,e,r,o,i,c,u,f,l,a;return{c:function(){t=x("svg"),e=x("line"),r=x("line"),o=x("line"),i=x("line"),c=x("line"),u=x("line"),f=x("line"),l=x("line"),a=x("line"),b(e,"x1","4"),b(e,"y1","21"),b(e,"x2","4"),b(e,"y2","14"),b(r,"x1","4"),b(r,"y1","10"),b(r,"x2","4"),b(r,"y2","3"),b(o,"x1","12"),b(o,"y1","21"),b(o,"x2","12"),b(o,"y2","12"),b(i,"x1","12"),b(i,"y1","8"),b(i,"x2","12"),b(i,"y2","3"),b(c,"x1","20"),b(c,"y1","21"),b(c,"x2","20"),b(c,"y2","16"),b(u,"x1","20"),b(u,"y1","12"),b(u,"x2","20"),b(u,"y2","3"),b(f,"x1","1"),b(f,"y1","14"),b(f,"x2","7"),b(f,"y2","14"),b(l,"x1","9"),b(l,"y1","8"),b(l,"x2","15"),b(l,"y2","8"),b(a,"x1","17"),b(a,"y1","16"),b(a,"x2","23"),b(a,"y2","16"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"viewBox","0 0 24 24"),b(t,"fill","none"),b(t,"stroke",n[0]),b(t,"stroke-width","2"),b(t,"stroke-linecap","round"),b(t,"stroke-linejoin","round"),b(t,"class","svelte-1ijgepv")},m:function(n,s){w(n,t,s),m(t,e),m(t,r),m(t,o),m(t,i),m(t,c),m(t,u),m(t,f),m(t,l),m(t,a)},p:function(n,e){1&e&&b(t,"stroke",n[0])},d:function(n){n&&g(t)}}}function J(n){var t,e,r;return{c:function(){t=x("svg"),e=x("g"),b(r=x("path"),"d","M228.929,205.01L404.596,29.343c6.78-6.548,6.968-17.352,0.42-24.132c-6.548-6.78-17.352-6.968-24.132-0.42\n c-0.142,0.137-0.282,0.277-0.42,0.42L204.796,180.878L29.129,5.21c-6.78-6.548-17.584-6.36-24.132,0.42\n c-6.388,6.614-6.388,17.099,0,23.713L180.664,205.01L4.997,380.677c-6.663,6.664-6.663,17.468,0,24.132\n c6.664,6.662,17.468,6.662,24.132,0l175.667-175.667l175.667,175.667c6.78,6.548,17.584,6.36,24.132-0.42\n c6.387-6.614,6.387-17.099,0-23.712L228.929,205.01z"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 408 408"),k(t,"enable-background","new 0 0 408 408"),b(t,"xml:space","preserve"),b(t,"class","svelte-1ijgepv")},m:function(n,o){w(n,t,o),m(t,e),m(e,r)},p:s,d:function(n){n&&g(t)}}}function K(n){var t,e,r;function o(n,t){return"x"===n[1]?J:"filter"===n[1]?G:"more"===n[1]?F:"right-arrow"===n[1]?D:"minus"==n[1]?q:"plus"==n[1]?U:void 0}var i=o(n),c=i&&i(n);return{c:function(){var e;e="span",t=document.createElement(e),c&&c.c(),b(t,"class","responsive-ui-icon svelte-1ijgepv"),b(t,"style",n[2])},m:function(o,i){var u,f,l,a;w(o,t,i),c&&c.m(t,null),e||(u=t,f="click",l=n[3],u.addEventListener(f,l,a),r=function(){return u.removeEventListener(f,l,a)},e=!0)},p:function(n,e){var r=f(e,1)[0];i===(i=o(n))&&c?c.p(n,r):(c&&c.d(1),(c=i&&i(n))&&(c.c(),c.m(t,null))),4&r&&b(t,"style",n[2])},i:s,o:s,d:function(n){n&&g(t),c&&c.d(),e=!1,r()}}}function Q(n,t,e){var r=t.stroke,o=void 0===r?"#000":r,i=t.type,c=void 0===i?"":i,u=t.style,f=void 0===u?"":u;return n.$$set=function(n){"stroke"in n&&e(0,o=n.stroke),"type"in n&&e(1,c=n.type),"style"in n&&e(2,f=n.style)},[o,c,f,function(t){!function(n,t){var e=n.$$.callbacks[t.type];e&&e.slice().forEach((function(n){return n(t)}))}(n,t)}]}}();
!function(){function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function e(n,t){return(e=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,e){return!e||"object"!==r(e)&&"function"!=typeof e?t(n):e}function i(n){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function u(n,t){if(n){if("string"==typeof n)return c(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(n,t):void 0}}function l(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null!=e){var r,o,i=[],c=!0,u=!1;try{for(e=e.call(n);!(c=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);c=!0);}catch(n){u=!0,o=n}finally{try{c||null==e.return||e.return()}finally{if(u)throw o}}return i}}(n,t)||u(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(n){return function(n){if(Array.isArray(n))return c(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||u(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function s(){}function y(n){return n()}function p(){return Object.create(null)}function v(n){n.forEach(y)}function h(n){return"function"==typeof n}function d(n,t){return n!=n?t==t:n!==t||n&&"object"===r(n)||"function"==typeof n}function m(n,t){n.appendChild(t)}function w(n,t,e){n.insertBefore(t,e||null)}function x(n){n.parentNode.removeChild(n)}function g(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function b(n,t,e){null==e?n.removeAttribute(t):n.getAttribute(t)!==e&&n.setAttribute(t,e)}function k(n){return Array.from(n.childNodes)}function $(n,t,e,r){n.style.setProperty(t,e,r?"important":"")}var S;function A(n){S=n}var _=[],j=[],O=[],E=[],L=Promise.resolve(),B=!1;function P(n){O.push(n)}var R=!1,C=new Set;function I(){if(!R){R=!0;do{for(var n=0;n<_.length;n+=1){var t=_[n];A(t),M(t.$$)}for(A(null),_.length=0;j.length;)j.pop()();for(var e=0;e<O.length;e+=1){var r=O[e];C.has(r)||(C.add(r),r())}O.length=0}while(_.length);for(;E.length;)E.pop()();B=!1,R=!1,C.clear()}}function M(n){if(null!==n.fragment){n.update(),v(n.before_update);var t=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(P)}}var z=new Set;function H(n,t){n&&n.i&&(z.delete(n),n.i(t))}function N(n,t,e,r){var o=n.$$,i=o.fragment,c=o.on_mount,u=o.on_destroy,l=o.after_update;i&&i.m(t,e),r||P((function(){var t=c.map(y).filter(h);u?u.push.apply(u,f(t)):v(t),n.$$.on_mount=[]})),l.forEach(P)}function T(n,t){-1===n.$$.dirty[0]&&(_.push(n),B||(B=!0,L.then(I)),n.$$.dirty.fill(0)),n.$$.dirty[t/31|0]|=1<<t%31}function V(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,r=i(n);if(t){var c=i(this).constructor;e=Reflect.construct(r,arguments,c)}else e=r.apply(this,arguments);return o(this,e)}}function U(n){var t,e;return{c:function(){t=g("svg"),b(e=g("path"),"d","M1.119 16.841a1.118 1.118 0 01-1.111-1.127c0-.619.492-1.111\n 1.111-1.111h13.475V1.127A1.133 1.133 0 0115.722 0c.619 0 1.111.508 1.111\n 1.127v13.476h13.475c.619 0 1.127.492 1.127 1.111s-.508 1.127-1.127\n 1.127H16.833v13.476c0 .619-.492 1.127-1.111 1.127a1.131 1.131 0\n 01-1.127-1.127V16.841H1.119z"),b(e,"fill",n[0]),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"x","0"),b(t,"y","0"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 31.444 31.444"),b(t,"xml:space","preserve"),b(t,"class","svelte-2o8tyv")},m:function(n,r){w(n,t,r),m(t,e)},p:function(n,t){1&t&&b(e,"fill",n[0])},d:function(n){n&&x(t)}}}function q(n){var t,e;return{c:function(){t=g("svg"),b(e=g("path"),"d","M1.111 16.832A1.117 1.117 0 010 15.706c0-.619.492-1.111\n 1.111-1.111H30.3c.619 0 1.127.492 1.127 1.111s-.508 1.127-1.127\n 1.127H1.111z"),b(e,"fill",n[0]),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"x","0"),b(t,"y","0"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 31.427 31.427"),b(t,"xml:space","preserve"),b(t,"class","svelte-2o8tyv")},m:function(n,r){w(n,t,r),m(t,e)},p:function(n,t){1&t&&b(e,"fill",n[0])},d:function(n){n&&x(t)}}}function D(n){var t,e,r;return{c:function(){t=g("svg"),e=g("g"),b(r=g("path"),"d","M617.858,370.896L221.513,9.705c-13.006-12.94-34.099-12.94-47.105,0c-13.006,12.939-13.006,33.934,0,46.874\n l372.447,339.438L174.441,735.454c-13.006,12.94-13.006,33.935,0,46.874s34.099,12.939,47.104,0l396.346-361.191\n c6.932-6.898,9.904-16.043,9.441-25.087C627.763,386.972,624.792,377.828,617.858,370.896z"),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"stroke",n[0]),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 792.033 792.033"),$(t,"enable-background","new 0 0 792.033 792.033"),b(t,"xml:space","preserve"),b(t,"class","svelte-2o8tyv")},m:function(n,o){w(n,t,o),m(t,e),m(e,r)},p:function(n,e){1&e&&b(t,"stroke",n[0])},d:function(n){n&&x(t)}}}function F(n){var t,e,r,o,i;return{c:function(){t=g("svg"),e=g("g"),r=g("circle"),o=g("circle"),i=g("circle"),b(r,"cx","42.667"),b(r,"cy","213.333"),b(r,"r","42.667"),b(o,"cx","213.333"),b(o,"cy","213.333"),b(o,"r","42.667"),b(i,"cx","384"),b(i,"cy","213.333"),b(i,"r","42.667"),b(t,"version","1.1"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"width","100%"),b(t,"height","100%"),b(t,"viewBox","0 0 426.667 426.667"),$(t,"enable-background","new 0 0 426.667 426.667"),b(t,"xml:space","preserve"),b(t,"class","svelte-2o8tyv")},m:function(n,c){w(n,t,c),m(t,e),m(e,r),m(e,o),m(e,i)},p:s,d:function(n){n&&x(t)}}}function G(n){var t,e,r,o,i,c,u,l,f,a;return{c:function(){t=g("svg"),e=g("line"),r=g("line"),o=g("line"),i=g("line"),c=g("line"),u=g("line"),l=g("line"),f=g("line"),a=g("line"),b(e,"x1","4"),b(e,"y1","21"),b(e,"x2","4"),b(e,"y2","14"),b(r,"x1","4"),b(r,"y1","10"),b(r,"x2","4"),b(r,"y2","3"),b(o,"x1","12"),b(o,"y1","21"),b(o,"x2","12"),b(o,"y2","12"),b(i,"x1","12"),b(i,"y1","8"),b(i,"x2","12"),b(i,"y2","3"),b(c,"x1","20"),b(c,"y1","21"),b(c,"x2","20"),b(c,"y2","16"),b(u,"x1","20"),b(u,"y1","12"),b(u,"x2","20"),b(u,"y2","3"),b(l,"x1","1"),b(l,"y1","14"),b(l,"x2","7"),b(l,"y2","14"),b(f,"x1","9"),b(f,"y1","8"),b(f,"x2","15"),b(f,"y2","8"),b(a,"x1","17"),b(a,"y1","16"),b(a,"x2","23"),b(a,"y2","16"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"viewBox","0 0 24 24"),b(t,"fill","none"),b(t,"stroke",n[0]),b(t,"stroke-width","2"),b(t,"stroke-linecap","round"),b(t,"stroke-linejoin","round"),b(t,"class","svelte-2o8tyv")},m:function(n,s){w(n,t,s),m(t,e),m(t,r),m(t,o),m(t,i),m(t,c),m(t,u),m(t,l),m(t,f),m(t,a)},p:function(n,e){1&e&&b(t,"stroke",n[0])},d:function(n){n&&x(t)}}}function J(n){var t,e,r;return{c:function(){t=g("svg"),e=g("g"),b(r=g("path"),"d","M228.929,205.01L404.596,29.343c6.78-6.548,6.968-17.352,0.42-24.132c-6.548-6.78-17.352-6.968-24.132-0.42\n c-0.142,0.137-0.282,0.277-0.42,0.42L204.796,180.878L29.129,5.21c-6.78-6.548-17.584-6.36-24.132,0.42\n c-6.388,6.614-6.388,17.099,0,23.713L180.664,205.01L4.997,380.677c-6.663,6.664-6.663,17.468,0,24.132\n c6.664,6.662,17.468,6.662,24.132,0l175.667-175.667l175.667,175.667c6.78,6.548,17.584,6.36,24.132-0.42\n c6.387-6.614,6.387-17.099,0-23.712L228.929,205.01z"),b(t,"xmlns","http://www.w3.org/2000/svg"),b(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b(t,"x","0px"),b(t,"y","0px"),b(t,"viewBox","0 0 408 408"),$(t,"enable-background","new 0 0 408 408"),b(t,"xml:space","preserve"),b(t,"class","svelte-2o8tyv")},m:function(n,o){w(n,t,o),m(t,e),m(e,r)},p:s,d:function(n){n&&x(t)}}}function K(n){var t,e,r;function o(n,t){return"x"===n[1]?J:"filter"===n[1]?G:"more"===n[1]?F:"right-arrow"===n[1]?D:"minus"==n[1]?q:"plus"==n[1]?U:void 0}var i=o(n),c=i&&i(n);return{c:function(){var e;e="span",t=document.createElement(e),c&&c.c(),b(t,"class","responsive-ui-icon svelte-2o8tyv"),b(t,"style",n[2])},m:function(o,i){var u,l,f,a;w(o,t,i),c&&c.m(t,null),e||(u=t,l="click",f=n[3],u.addEventListener(l,f,a),r=function(){return u.removeEventListener(l,f,a)},e=!0)},p:function(n,e){var r=l(e,1)[0];i===(i=o(n))&&c?c.p(n,r):(c&&c.d(1),(c=i&&i(n))&&(c.c(),c.m(t,null))),4&r&&b(t,"style",n[2])},i:s,o:s,d:function(n){n&&x(t),c&&c.d(),e=!1,r()}}}function Q(n,t,e){var r=t.stroke,o=void 0===r?"#000":r,i=t.type,c=void 0===i?"":i,u=t.style,l=void 0===u?"":u;return n.$$set=function(n){"stroke"in n&&e(0,o=n.stroke),"type"in n&&e(1,c=n.type),"style"in n&&e(2,l=n.style)},[o,c,l,function(t){!function(n,t){var e=n.$$.callbacks[t.type];e&&e.slice().forEach((function(n){return n(t)}))}(n,t)}]}}();
{
"name": "@responsive-ui/icon",
"version": "0.16.0",
"version": "1.0.0-alpha.0",
"description": "A icon component of responsive-ui.",

@@ -48,3 +48,3 @@ "author": "Si3nLoong <sianloong90@gmail.com> (https://github.com/si3nloong)",

},
"gitHead": "b210b3d3b96aa0862fc36fd2c8be281a09694b4d"
"gitHead": "4bb395a8d082fdb75dd798a481f33d10c348d457"
}
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