@volvo-cars/react-icons
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -1,2 +0,2 @@ | ||
import{a as h,b as g,c as s,d}from"./chunk-IAQIKXX7.js";import{Children as y,cloneElement as P,forwardRef as b}from"react";import{jsx as n}from"react/jsx-runtime";var B=b(function({iconName:i,className:o="",color:t,variant:r="outlined",bleed:f,disabled:m,...e},u){let l={className:`icon-button-${r} ${o}`.trim(),"data-color":t==="neutral"?void 0:t,"data-bleed":f&&r==="clear"?!0:void 0,"aria-disabled":m||void 0},c=()=>n(d,{type:`${i}-16`,color:"currentColor"});if(e.children&&e.asChild){let{children:a,asChild:k,...v}=e;return P(y.only(a),{...v,...l},n(c,{}))}else return e.href?n("a",{ref:u,...e,...l,children:n(c,{})}):n("button",{ref:u,type:"button",...e,...l,onClick:a=>{m?a.preventDefault():e.onClick&&e.onClick(a)},children:n(c,{})})});import{forwardRef as E}from"react";import{jsx as I}from"react/jsx-runtime";var H=E(function({alt:i,height:o=8,...t},r){return I("img",{...t,ref:r,className:`wordmark text-primary ${t.className||""}`.trim(),width:o*13,height:o,src:s(),alt:i,style:{"--mask-url":`url('${s()}')`}})});export{d as Icon,B as IconButton,H as Wordmark,g as getIconSrc,h as setBaseUrl}; | ||
import{a as h,b as g,c as s,d}from"./chunk-IAQIKXX7.js";import{Children as y,cloneElement as P,forwardRef as b}from"react";import{jsx as n}from"react/jsx-runtime";var B=b(function({iconName:i,className:o="",color:t,variant:r="outlined",bleed:f,disabled:m,...e},u){let l={className:`icon-button-${r} ${o}`.trim(),"data-color":t==="neutral"?void 0:t,"data-bleed":f&&r==="clear"?!0:void 0,"aria-disabled":m||e["aria-disabled"]||void 0},c=()=>n(d,{type:`${i}-16`,color:"currentColor"});if(e.children&&e.asChild){let{children:a,asChild:k,...v}=e;return P(y.only(a),{...v,...l},n(c,{}))}else return e.href?n("a",{ref:u,...e,...l,children:n(c,{})}):n("button",{ref:u,type:"button",...e,...l,onClick:a=>{m?a.preventDefault():e.onClick&&e.onClick(a)},children:n(c,{})})});import{forwardRef as E}from"react";import{jsx as I}from"react/jsx-runtime";var H=E(function({alt:i,height:o=8,...t},r){return I("img",{...t,ref:r,className:`wordmark text-primary ${t.className||""}`.trim(),width:o*13,height:o,src:s(),alt:i,style:{"--mask-url":`url('${s()}')`}})});export{d as Icon,B as IconButton,H as Wordmark,g as getIconSrc,h as setBaseUrl}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@volvo-cars/react-icons", | ||
"description": "React Icons", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"license": "UNLICENSED", | ||
@@ -6,0 +6,0 @@ "sideEffects": false, |
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
136776