kubai-icons 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import{defineIcon as _,f,OL as s,DEEP as h,rr as d,circ as o,at as i,scaleAt as p,bump as c}from"../element.js";var g=.16,n=d(7.5,1,16,23,8),l=_({name:"lock-keyhole",category:"security",tags:["keyhole","door lock","lock","secure"],svg:r=>`
2
- <g filter="${r.sh}"><g filter="${r.hi}"><path d="${n}" fill="${r.loS}"/></g></g>
3
- <path d="${n}" ${s}/>
4
- <g filter="${r.hi}"><path data-n="cf" d="${o(15.5,12.5,5)}" fill="${r.upS}"/></g>
5
- <path data-n="co" d="${o(15.5,12.5,5)}" ${s}/>
6
- <g data-n="hole" ${h}><circle cx="15.5" cy="11.2" r="1.8"/><path d="${d(14.6,11.4,1.8,4.2,.9)}"/></g>`,target:r=>({o:r?1:0}),draw(r,e){let a=-90*c(r.o),t=1-g*c(r.o);i(e.cf,{d:o(15.5,12.5,5*t)}),i(e.co,{d:o(15.5,12.5,5*t)}),i(e.hole,{transform:r.o?`rotate(${f(a)} 15.5 12.5) ${p(t,15.5,12.5)}`:`rotate(${f(a)} 15.5 12.5)`})}});import{icon as u}from"../element.js";var Q=u("lock-keyhole",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="#000"/></mask></defs><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><path data-n="cf" d="M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z" fill="url(#upS-__K__)"/></g><path data-n="co" d="M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z" fill="none"/><g data-n="hole" transform="rotate(0 15.5 12.5)" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"><circle cx="15.5" cy="11.2" r="1.8"/><path d="M14.6 12.3Q14.6 11.4 15.5 11.4L15.5 11.4Q16.4 11.4 16.4 12.3L16.4 14.7Q16.4 15.6 15.5 15.6L15.5 15.6Q14.6 15.6 14.6 14.7Z"/></g>',l.target,l.draw,0);export{Q as default};
1
+ import{defineIcon as c,OL as a,DEEP as n,rr as s,circ as e,at as i,scaleAt as d,bump as _}from"../element.js";var h=.16,f=s(7.5,1,16,23,8),l=c({name:"lock-keyhole",category:"security",tags:["keyhole","door lock","lock","secure"],svg:r=>`
2
+ <g filter="${r.sh}"><g filter="${r.hi}"><path d="${f}" fill="${r.loS}"/></g></g>
3
+ <path d="${f}" ${a}/>
4
+ <g filter="${r.hi}"><path data-n="cf" d="${e(15.5,12.5,5)}" fill="${r.upS}"/></g>
5
+ <path data-n="co" d="${e(15.5,12.5,5)}" ${a}/>
6
+ <g data-n="hole" ${n}><circle cx="15.5" cy="11.2" r="1.8"/><path d="${s(14.6,11.4,1.8,4.2,.9)}"/></g>`,target:r=>({o:r?1:0}),draw(r,o){let t=1-h*_(r.o);i(o.cf,{d:e(15.5,12.5,5*t)}),i(o.co,{d:e(15.5,12.5,5*t)}),i(o.hole,{transform:d(t,15.5,12.5)})}});import{icon as p}from"../element.js";var m=p("lock-keyhole",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="#000"/></mask></defs><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="none" stroke-width="1" data-under="0" stroke="url(#loS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" fill="url(#loS-__K__)" data-over="0"/></g></g><path d="M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g filter="url(#hi-__K__)"><path data-n="cf" d="M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z" fill="url(#upS-__K__)"/></g><path data-n="co" d="M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z" fill="none"/><g data-n="hole" transform="translate(15.5 12.5) scale(1 1) translate(-15.5 -12.5)" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"><circle cx="15.5" cy="11.2" r="1.8"/><path d="M14.6 12.3Q14.6 11.4 15.5 11.4L15.5 11.4Q16.4 11.4 16.4 12.3L16.4 14.7Q16.4 15.6 15.5 15.6L15.5 15.6Q14.6 15.6 14.6 14.7Z"/></g>',l.target,l.draw,0);export{m as default};
@@ -1,8 +1,8 @@
1
- import{defineIcon as s,KR as a,f as e,OL as f,rr as t,at as l,bump as n}from"../element.js";var o=s({name:"lock",category:"security",tags:["padlock","secure","private","password"],svg:r=>`
1
+ import{defineIcon as l,KR as o,f as i,OL as s,rr as e,at as f}from"../element.js";var t=l({name:"lock",category:"security",tags:["padlock","secure","private","password"],svg:r=>`
2
2
  <g data-n="shackle" filter="${r.sh}">
3
3
  <path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="3.2" stroke-linecap="round" data-t="stroke:#81B0FF"/>
4
4
  <path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="1" stroke-linecap="round" stroke="#fff" stroke-opacity=".45"/>
5
5
  </g>
6
- <g filter="${r.sh}"><g filter="${r.hi}"><path d="${t(5.6,11,19.8,12.6,a)}" fill="${r.upS}"/></g></g>
7
- <path d="${t(5.6,11,19.8,12.6,a)}" ${f}/>
8
- <g data-n="key" data-t="fill:#2F6FE0"><circle cx="15.5" cy="16.2" r="2.5"/><path d="${t(14.6,16.6,1.8,4.6,.9)}"/></g>`,target:r=>({sh:r?[-2.4,20]:[0,0],o:r?1:0}),draw(r,i){l(i.shackle,{transform:`translate(0 ${e(r.sh[0])}) rotate(${e(r.sh[1])} 20.5 12)`}),l(i.key,{transform:`rotate(${e(-90*n(r.o))} 15.5 16.2)`})}});import{icon as d}from"../element.js";var k=d("lock",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="#000"/></mask></defs><g data-n="shackle" filter="url(#sh-__K__)" transform="translate(0 0) rotate(0 20.5 12)"><path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="3.2" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-c,currentColor) 73.2%,#fff)"/><path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="1" stroke-linecap="round" stroke="#fff" stroke-opacity=".45"/></g><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g data-n="key" transform="rotate(0 15.5 16.2)" style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"><circle cx="15.5" cy="16.2" r="2.5"/><path d="M14.6 17.5Q14.6 16.6 15.5 16.6L15.5 16.6Q16.4 16.6 16.4 17.5L16.4 20.3Q16.4 21.2 15.5 21.2L15.5 21.2Q14.6 21.2 14.6 20.3Z"/></g>',o.target,o.draw,0);export{k as default};
6
+ <g filter="${r.sh}"><g filter="${r.hi}"><path d="${e(5.6,11,19.8,12.6,o)}" fill="${r.upS}"/></g></g>
7
+ <path d="${e(5.6,11,19.8,12.6,o)}" ${s}/>
8
+ <g data-t="fill:#2F6FE0"><circle cx="15.5" cy="16.2" r="2.5"/><path d="${e(14.6,16.6,1.8,4.6,.9)}"/></g>`,target:r=>({sh:r?[-2.4,20]:[0,0]}),draw(r,a){f(a.shackle,{transform:`translate(0 ${i(r.sh[0])}) rotate(${i(r.sh[1])} 20.5 12)`})}});import{icon as n}from"../element.js";var _=n("lock",'<defs><linearGradient id="loS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)"/></linearGradient><linearGradient id="upS-__K__" x1="0" y1="0" x2="0" y2="1"><stop offset="0" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)"/><stop offset="1" style="stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)"/></linearGradient><filter id="sh-__K__" x="-40%" y="-40%" width="180%" height="190%" color-interpolation-filters="sRGB"><feGaussianBlur in="SourceAlpha" stdDeviation="2"/><feOffset dy="2" result="o"/><feFlood style="flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)" flood-opacity="0.21"/><feComposite in2="o" operator="in"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge></filter><filter id="hi-__K__" x="-10%" y="-10%" width="120%" height="130%" color-interpolation-filters="sRGB"><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="a"/><feOffset in="a" dy="0.7"/><feGaussianBlur stdDeviation="0.35"/><feComposite in2="a" operator="arithmetic" k2="-1" k3="1"/><feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/><feBlend in2="SourceGraphic" mode="overlay"/></filter><mask id="ol-__K__-0" maskUnits="userSpaceOnUse" x="-40" y="-40" width="111" height="109"><rect x="-40" y="-40" width="111" height="109" fill="#fff"/><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="#000"/></mask></defs><g data-n="shackle" filter="url(#sh-__K__)" transform="translate(0 0) rotate(0 20.5 12)"><path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="3.2" stroke-linecap="round" style="stroke:color-mix(in srgb,var(--ki-c,currentColor) 73.2%,#fff)"/><path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="1" stroke-linecap="round" stroke="#fff" stroke-opacity=".45"/></g><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="none" stroke-width="1" data-under="0" stroke="url(#upS-__K__)"/><g filter="url(#sh-__K__)"><g filter="url(#hi-__K__)"><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" fill="url(#upS-__K__)" data-over="0"/></g></g><path d="M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z" mask="url(#ol-__K__-0)" fill="none" stroke-width="2" style="stroke:var(--ki-e,var(--ki-c,currentColor))"/><g style="fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)"><circle cx="15.5" cy="16.2" r="2.5"/><path d="M14.6 17.5Q14.6 16.6 15.5 16.6L15.5 16.6Q16.4 16.6 16.4 17.5L16.4 20.3Q16.4 21.2 15.5 21.2L15.5 21.2Q14.6 21.2 14.6 20.3Z"/></g>',t.target,t.draw,0);export{_ as default};
@@ -1,6 +1,6 @@
1
- import{defineIcon as h,f as l,OL as $,DEEP as i,rr as d,circ as o,at as c,scaleAt as n,bump as f}from"../kit.js";const s=.16,g=d(7.5,1,16,23,8);var k=h({name:"lock-keyhole",category:"security",tags:["keyhole","door lock","lock","secure"],svg:t=>`
2
- <g filter="${t.sh}"><g filter="${t.hi}"><path d="${g}" fill="${t.loS}"/></g></g>
3
- <path d="${g}" ${$}/>
1
+ import{defineIcon as $,OL as r,DEEP as g,rr as l,circ as o,at as a,scaleAt as h,bump as i}from"../kit.js";const f=.16,d=l(7.5,1,16,23,8);var s=$({name:"lock-keyhole",category:"security",tags:["keyhole","door lock","lock","secure"],svg:t=>`
2
+ <g filter="${t.sh}"><g filter="${t.hi}"><path d="${d}" fill="${t.loS}"/></g></g>
3
+ <path d="${d}" ${r}/>
4
4
  <g filter="${t.hi}"><path data-n="cf" d="${o(15.5,12.5,5)}" fill="${t.upS}"/></g>
5
- <path data-n="co" d="${o(15.5,12.5,5)}" ${$}/>
6
- <g data-n="hole" ${i}><circle cx="15.5" cy="11.2" r="1.8"/><path d="${d(14.6,11.4,1.8,4.2,.9)}"/></g>`,target:t=>({o:t?1:0}),draw(t,a){const r=-90*f(t.o),e=1-s*f(t.o);c(a.cf,{d:o(15.5,12.5,5*e)}),c(a.co,{d:o(15.5,12.5,5*e)}),c(a.hole,{transform:t.o?`rotate(${l(r)} 15.5 12.5) ${n(e,15.5,12.5)}`:`rotate(${l(r)} 15.5 12.5)`})}});export{k as default};
5
+ <path data-n="co" d="${o(15.5,12.5,5)}" ${r}/>
6
+ <g data-n="hole" ${g}><circle cx="15.5" cy="11.2" r="1.8"/><path d="${l(14.6,11.4,1.8,4.2,.9)}"/></g>`,target:t=>({o:t?1:0}),draw(t,c){const e=1-f*i(t.o);a(c.cf,{d:o(15.5,12.5,5*e)}),a(c.co,{d:o(15.5,12.5,5*e)}),a(c.hole,{transform:h(e,15.5,12.5)})}});export{s as default};
package/dist/defs/lock.js CHANGED
@@ -1,8 +1,8 @@
1
- import{defineIcon as l,KR as o,f as a,OL as d,rr as e,at as s,bump as i}from"../kit.js";var n=l({name:"lock",category:"security",tags:["padlock","secure","private","password"],svg:t=>`
1
+ import{defineIcon as s,KR as e,f as r,OL as l,rr as a,at as i}from"../kit.js";var c=s({name:"lock",category:"security",tags:["padlock","secure","private","password"],svg:t=>`
2
2
  <g data-n="shackle" filter="${t.sh}">
3
3
  <path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="3.2" stroke-linecap="round" data-t="stroke:#81B0FF"/>
4
4
  <path d="M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12" fill="none" stroke-width="1" stroke-linecap="round" stroke="#fff" stroke-opacity=".45"/>
5
5
  </g>
6
- <g filter="${t.sh}"><g filter="${t.hi}"><path d="${e(5.6,11,19.8,12.6,o)}" fill="${t.upS}"/></g></g>
7
- <path d="${e(5.6,11,19.8,12.6,o)}" ${d}/>
8
- <g data-n="key" data-t="fill:#2F6FE0"><circle cx="15.5" cy="16.2" r="2.5"/><path d="${e(14.6,16.6,1.8,4.6,.9)}"/></g>`,target:t=>({sh:t?[-2.4,20]:[0,0],o:t?1:0}),draw(t,r){s(r.shackle,{transform:`translate(0 ${a(t.sh[0])}) rotate(${a(t.sh[1])} 20.5 12)`}),s(r.key,{transform:`rotate(${a(-90*i(t.o))} 15.5 16.2)`})}});export{n as default};
6
+ <g filter="${t.sh}"><g filter="${t.hi}"><path d="${a(5.6,11,19.8,12.6,e)}" fill="${t.upS}"/></g></g>
7
+ <path d="${a(5.6,11,19.8,12.6,e)}" ${l}/>
8
+ <g data-t="fill:#2F6FE0"><circle cx="15.5" cy="16.2" r="2.5"/><path d="${a(14.6,16.6,1.8,4.6,.9)}"/></g>`,target:t=>({sh:t?[-2.4,20]:[0,0]}),draw(t,o){i(o.shackle,{transform:`translate(0 ${r(t.sh[0])}) rotate(${r(t.sh[1])} 20.5 12)`})}});export{c as default};
@@ -1 +1 @@
1
- import d from'../defs/lock-keyhole.js';import{icon as i}from'../icon.js';export default/*@__PURE__*/i("lock-keyhole","<defs><linearGradient id=\"loS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)\"/></linearGradient><linearGradient id=\"upS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)\"/></linearGradient><filter id=\"sh-__K__\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\" color-interpolation-filters=\"sRGB\"><feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"2\"/><feOffset dy=\"2\" result=\"o\"/><feFlood style=\"flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)\" flood-opacity=\"0.21\"/><feComposite in2=\"o\" operator=\"in\"/><feMerge><feMergeNode/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter><filter id=\"hi-__K__\" x=\"-10%\" y=\"-10%\" width=\"120%\" height=\"130%\" color-interpolation-filters=\"sRGB\"><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"a\"/><feOffset in=\"a\" dy=\"0.7\"/><feGaussianBlur stdDeviation=\"0.35\"/><feComposite in2=\"a\" operator=\"arithmetic\" k2=\"-1\" k3=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0\"/><feBlend in2=\"SourceGraphic\" mode=\"overlay\"/></filter><mask id=\"ol-__K__-0\" maskUnits=\"userSpaceOnUse\" x=\"-40\" y=\"-40\" width=\"111\" height=\"109\"><rect x=\"-40\" y=\"-40\" width=\"111\" height=\"109\" fill=\"#fff\"/><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"#000\"/></mask></defs><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"none\" stroke-width=\"1\" data-under=\"0\" stroke=\"url(#loS-__K__)\"/><g filter=\"url(#sh-__K__)\"><g filter=\"url(#hi-__K__)\"><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"url(#loS-__K__)\" data-over=\"0\"/></g></g><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" mask=\"url(#ol-__K__-0)\" fill=\"none\" stroke-width=\"2\" style=\"stroke:var(--ki-e,var(--ki-c,currentColor))\"/><g filter=\"url(#hi-__K__)\"><path data-n=\"cf\" d=\"M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z\" fill=\"url(#upS-__K__)\"/></g><path data-n=\"co\" d=\"M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z\" fill=\"none\"/><g data-n=\"hole\" transform=\"rotate(0 15.5 12.5)\" style=\"fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)\"><circle cx=\"15.5\" cy=\"11.2\" r=\"1.8\"/><path d=\"M14.6 12.3Q14.6 11.4 15.5 11.4L15.5 11.4Q16.4 11.4 16.4 12.3L16.4 14.7Q16.4 15.6 15.5 15.6L15.5 15.6Q14.6 15.6 14.6 14.7Z\"/></g>",d.target,d.draw,0);
1
+ import d from'../defs/lock-keyhole.js';import{icon as i}from'../icon.js';export default/*@__PURE__*/i("lock-keyhole","<defs><linearGradient id=\"loS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)\"/></linearGradient><linearGradient id=\"upS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)\"/></linearGradient><filter id=\"sh-__K__\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\" color-interpolation-filters=\"sRGB\"><feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"2\"/><feOffset dy=\"2\" result=\"o\"/><feFlood style=\"flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)\" flood-opacity=\"0.21\"/><feComposite in2=\"o\" operator=\"in\"/><feMerge><feMergeNode/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter><filter id=\"hi-__K__\" x=\"-10%\" y=\"-10%\" width=\"120%\" height=\"130%\" color-interpolation-filters=\"sRGB\"><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"a\"/><feOffset in=\"a\" dy=\"0.7\"/><feGaussianBlur stdDeviation=\"0.35\"/><feComposite in2=\"a\" operator=\"arithmetic\" k2=\"-1\" k3=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0\"/><feBlend in2=\"SourceGraphic\" mode=\"overlay\"/></filter><mask id=\"ol-__K__-0\" maskUnits=\"userSpaceOnUse\" x=\"-40\" y=\"-40\" width=\"111\" height=\"109\"><rect x=\"-40\" y=\"-40\" width=\"111\" height=\"109\" fill=\"#fff\"/><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"#000\"/></mask></defs><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"none\" stroke-width=\"1\" data-under=\"0\" stroke=\"url(#loS-__K__)\"/><g filter=\"url(#sh-__K__)\"><g filter=\"url(#hi-__K__)\"><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" fill=\"url(#loS-__K__)\" data-over=\"0\"/></g></g><path d=\"M7.5 9Q7.5 1 15.5 1L15.5 1Q23.5 1 23.5 9L23.5 16Q23.5 24 15.5 24L15.5 24Q7.5 24 7.5 16Z\" mask=\"url(#ol-__K__-0)\" fill=\"none\" stroke-width=\"2\" style=\"stroke:var(--ki-e,var(--ki-c,currentColor))\"/><g filter=\"url(#hi-__K__)\"><path data-n=\"cf\" d=\"M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z\" fill=\"url(#upS-__K__)\"/></g><path data-n=\"co\" d=\"M10.5 12.5A5 5 0 1 0 20.5 12.5A5 5 0 1 0 10.5 12.5Z\" fill=\"none\"/><g data-n=\"hole\" transform=\"translate(15.5 12.5) scale(1 1) translate(-15.5 -12.5)\" style=\"fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)\"><circle cx=\"15.5\" cy=\"11.2\" r=\"1.8\"/><path d=\"M14.6 12.3Q14.6 11.4 15.5 11.4L15.5 11.4Q16.4 11.4 16.4 12.3L16.4 14.7Q16.4 15.6 15.5 15.6L15.5 15.6Q14.6 15.6 14.6 14.7Z\"/></g>",d.target,d.draw,0);
@@ -1 +1 @@
1
- import d from'../defs/lock.js';import{icon as i}from'../icon.js';export default/*@__PURE__*/i("lock","<defs><linearGradient id=\"loS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)\"/></linearGradient><linearGradient id=\"upS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)\"/></linearGradient><filter id=\"sh-__K__\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\" color-interpolation-filters=\"sRGB\"><feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"2\"/><feOffset dy=\"2\" result=\"o\"/><feFlood style=\"flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)\" flood-opacity=\"0.21\"/><feComposite in2=\"o\" operator=\"in\"/><feMerge><feMergeNode/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter><filter id=\"hi-__K__\" x=\"-10%\" y=\"-10%\" width=\"120%\" height=\"130%\" color-interpolation-filters=\"sRGB\"><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"a\"/><feOffset in=\"a\" dy=\"0.7\"/><feGaussianBlur stdDeviation=\"0.35\"/><feComposite in2=\"a\" operator=\"arithmetic\" k2=\"-1\" k3=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0\"/><feBlend in2=\"SourceGraphic\" mode=\"overlay\"/></filter><mask id=\"ol-__K__-0\" maskUnits=\"userSpaceOnUse\" x=\"-40\" y=\"-40\" width=\"111\" height=\"109\"><rect x=\"-40\" y=\"-40\" width=\"111\" height=\"109\" fill=\"#fff\"/><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"#000\"/></mask></defs><g data-n=\"shackle\" filter=\"url(#sh-__K__)\" transform=\"translate(0 0) rotate(0 20.5 12)\"><path d=\"M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12\" fill=\"none\" stroke-width=\"3.2\" stroke-linecap=\"round\" style=\"stroke:color-mix(in srgb,var(--ki-c,currentColor) 73.2%,#fff)\"/><path d=\"M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12\" fill=\"none\" stroke-width=\"1\" stroke-linecap=\"round\" stroke=\"#fff\" stroke-opacity=\".45\"/></g><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"none\" stroke-width=\"1\" data-under=\"0\" stroke=\"url(#upS-__K__)\"/><g filter=\"url(#sh-__K__)\"><g filter=\"url(#hi-__K__)\"><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"url(#upS-__K__)\" data-over=\"0\"/></g></g><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" mask=\"url(#ol-__K__-0)\" fill=\"none\" stroke-width=\"2\" style=\"stroke:var(--ki-e,var(--ki-c,currentColor))\"/><g data-n=\"key\" transform=\"rotate(0 15.5 16.2)\" style=\"fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)\"><circle cx=\"15.5\" cy=\"16.2\" r=\"2.5\"/><path d=\"M14.6 17.5Q14.6 16.6 15.5 16.6L15.5 16.6Q16.4 16.6 16.4 17.5L16.4 20.3Q16.4 21.2 15.5 21.2L15.5 21.2Q14.6 21.2 14.6 20.3Z\"/></g>",d.target,d.draw,0);
1
+ import d from'../defs/lock.js';import{icon as i}from'../icon.js';export default/*@__PURE__*/i("lock","<defs><linearGradient id=\"loS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 62.9%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 74.7%,#fff)\"/></linearGradient><linearGradient id=\"upS-__K__\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 29.6%,#fff)\"/><stop offset=\"1\" style=\"stop-color:color-mix(in srgb,var(--ki-c,currentColor) 47.9%,#fff)\"/></linearGradient><filter id=\"sh-__K__\" x=\"-40%\" y=\"-40%\" width=\"180%\" height=\"190%\" color-interpolation-filters=\"sRGB\"><feGaussianBlur in=\"SourceAlpha\" stdDeviation=\"2\"/><feOffset dy=\"2\" result=\"o\"/><feFlood style=\"flood-color:color-mix(in srgb,var(--ki-c,currentColor) 67.8%,#fff)\" flood-opacity=\"0.21\"/><feComposite in2=\"o\" operator=\"in\"/><feMerge><feMergeNode/><feMergeNode in=\"SourceGraphic\"/></feMerge></filter><filter id=\"hi-__K__\" x=\"-10%\" y=\"-10%\" width=\"120%\" height=\"130%\" color-interpolation-filters=\"sRGB\"><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"a\"/><feOffset in=\"a\" dy=\"0.7\"/><feGaussianBlur stdDeviation=\"0.35\"/><feComposite in2=\"a\" operator=\"arithmetic\" k2=\"-1\" k3=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0\"/><feBlend in2=\"SourceGraphic\" mode=\"overlay\"/></filter><mask id=\"ol-__K__-0\" maskUnits=\"userSpaceOnUse\" x=\"-40\" y=\"-40\" width=\"111\" height=\"109\"><rect x=\"-40\" y=\"-40\" width=\"111\" height=\"109\" fill=\"#fff\"/><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"#000\"/></mask></defs><g data-n=\"shackle\" filter=\"url(#sh-__K__)\" transform=\"translate(0 0) rotate(0 20.5 12)\"><path d=\"M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12\" fill=\"none\" stroke-width=\"3.2\" stroke-linecap=\"round\" style=\"stroke:color-mix(in srgb,var(--ki-c,currentColor) 73.2%,#fff)\"/><path d=\"M10.5 12V7.6A5 5 0 0 1 20.5 7.6V12\" fill=\"none\" stroke-width=\"1\" stroke-linecap=\"round\" stroke=\"#fff\" stroke-opacity=\".45\"/></g><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"none\" stroke-width=\"1\" data-under=\"0\" stroke=\"url(#upS-__K__)\"/><g filter=\"url(#sh-__K__)\"><g filter=\"url(#hi-__K__)\"><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" fill=\"url(#upS-__K__)\" data-over=\"0\"/></g></g><path d=\"M5.6 13.2Q5.6 11 7.8 11L23.2 11Q25.4 11 25.4 13.2L25.4 21.4Q25.4 23.6 23.2 23.6L7.8 23.6Q5.6 23.6 5.6 21.4Z\" mask=\"url(#ol-__K__-0)\" fill=\"none\" stroke-width=\"2\" style=\"stroke:var(--ki-e,var(--ki-c,currentColor))\"/><g style=\"fill:color-mix(in srgb,var(--ki-e,var(--ki-c,currentColor)) 72.9%,#000)\"><circle cx=\"15.5\" cy=\"16.2\" r=\"2.5\"/><path d=\"M14.6 17.5Q14.6 16.6 15.5 16.6L15.5 16.6Q16.4 16.6 16.4 17.5L16.4 20.3Q16.4 21.2 15.5 21.2L15.5 21.2Q14.6 21.2 14.6 20.3Z\"/></g>",d.target,d.draw,0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kubai-icons",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Layered, colour-derived icons that move on hover. Framework-free core, web component and per-icon ES modules.",
5
5
  "license": "MIT",
6
6
  "type": "module",