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

@volvo-cars/react-icons

Package Overview
Dependencies
Maintainers
8
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volvo-cars/react-icons - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/icon-button.d.ts

2

dist/index.d.ts
export type { IconType } from './icons';
export { Icon } from './icon';
export type { IconColor, IconProps } from './icon';
export { IconButton } from './icon-button';
export type { IconButtonProps, IconButtonColor, IconButtonVariant, } from './icon-button';
export { getIconSrc, setBaseUrl } from './config';
export { Wordmark } from './wordmark';
export type { WordmarkProps } from './wordmark';

2

dist/index.js

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

import{a,b as p,c as r,d as s}from"./chunk-PF2M2S37.js";import{forwardRef as n}from"react";import{jsx as i}from"react/jsx-runtime";var c=n(function({alt:t,height:o=8,...e},m){return i("img",{...e,ref:m,className:`wordmark text-primary ${e.className||""}`.trim(),width:o*13,height:o,src:r(),alt:t,style:{"--mask-url":`url('${r()}')`}})});export{s as Icon,c as Wordmark,p as getIconSrc,a as setBaseUrl};
import{a as I,b,c as u,d as m}from"./chunk-PF2M2S37.js";import{Children as d,cloneElement as B,forwardRef as h}from"react";import{jsx as e}from"react/jsx-runtime";var C=["neutral","destructive"],R=["filled","outlined","clear"],P=h(function({iconName:a,className:o,color:r="neutral",variant:n="filled","aria-label":l,...t},p){let c=R.includes(n)?`icon-button-${n}`:"icon-button-filled",i=C.includes(r)?r:"neutral",y=a.split("-").slice(0,-1).join("-"),s=()=>e(m,{type:`${y}-16`,color:"currentColor"});return t.children&&t.asChild&&d.count(t.children)===1?B(d.only(t.children),{...t,className:`${c} ${o||""}`,"aria-label":l,"data-color":i},e(s,{})):t.href?e("a",{ref:p,...t,className:`${c} ${o||""}`,"aria-label":l,"data-color":i,children:e(s,{})}):e("button",{ref:p,type:"button",...t,className:`${c} ${o||""}`,"aria-label":l,"data-color":i,children:e(s,{})})});import{forwardRef as g}from"react";import{jsx as E}from"react/jsx-runtime";var v=g(function({alt:a,height:o=8,...r},n){return E("img",{...r,ref:n,className:`wordmark text-primary ${r.className||""}`.trim(),width:o*13,height:o,src:u(),alt:a,style:{"--mask-url":`url('${u()}')`}})});export{m as Icon,P as IconButton,v as Wordmark,b as getIconSrc,I as setBaseUrl};
//# sourceMappingURL=index.js.map
{
"name": "@volvo-cars/react-icons",
"description": "React Icons",
"version": "0.4.0",
"version": "0.5.0",
"license": "UNLICENSED",

@@ -46,7 +46,7 @@ "sideEffects": false,

"devDependencies": {
"@types/react": "18.2.12",
"@types/react": "18.2.21",
"@volvo-cars/browserslist-config": "workspace:*",
"react": "18.2.0",
"tsup": "7.2.0",
"typescript": "5.1.6"
"typescript": "5.2.2"
},

@@ -53,0 +53,0 @@ "browserslist": [

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

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