New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@spark-ui/icon

Package Overview
Dependencies
Maintainers
7
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/icon - npm Package Compare versions

Comparing version 1.7.7 to 1.7.8

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [1.7.8](https://github.com/adevinta/spark/compare/@spark-ui/icon@1.7.7...@spark-ui/icon@1.7.8) (2023-07-26)
**Note:** Version bump only for package @spark-ui/icon
## [1.7.7](https://github.com/adevinta/spark/compare/@spark-ui/icon@1.7.6...@spark-ui/icon@1.7.7) (2023-07-10)

@@ -8,0 +12,0 @@

12

dist/Icon.d.ts

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

import { ReactNode } from 'react';
import { ComponentPropsWithoutRef, ReactNode } from 'react';
import { IconVariantsProps } from './Icon.styles';
export interface IconProps extends IconVariantsProps, React.SVGProps<SVGElement> {
export interface IconProps extends IconVariantsProps, ComponentPropsWithoutRef<'svg'> {
/**

@@ -14,5 +14,5 @@ * The svg icon that will be wrapped

}
export declare function Icon({ label, className, size, intent, children, ...others }: IconProps): JSX.Element;
export declare namespace Icon {
var displayName: string;
}
export declare const Icon: {
({ label, className, size, intent, children, ...others }: IconProps): JSX.Element;
displayName: string;
};

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

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("@spark-ui/visually-hidden"),t=require("@spark-ui/internal-utils"),m=require("class-variance-authority").cva(["fill-current"],{variants:{intent:t.makeVariants({current:["text-current"],primary:["text-primary"],secondary:["text-secondary"],success:["text-success"],alert:["text-alert"],error:["text-error"],info:["text-info"],neutral:["text-neutral"]}),size:t.makeVariants({current:["u-current-font-size"],sm:["w-sz-16","h-sz-16"],md:["w-sz-24","h-sz-24"],lg:["w-sz-32","h-sz-32"],xl:["w-sz-40","h-sz-40"]})}});function n({label:r,className:a,size:s="current",intent:l="current",children:c,...i}){const u=e.Children.only(c);return e.createElement(e.Fragment,null,e.cloneElement(u,{className:m({className:a,size:s,intent:l}),"data-spark-component":"icon","aria-hidden":"true",focusable:"false",...i}),r&&e.createElement(o.VisuallyHidden,null,r))}n.displayName="Icon",exports.Icon=n;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=require("@spark-ui/visually-hidden"),t=require("@spark-ui/internal-utils"),m=require("class-variance-authority").cva(["fill-current"],{variants:{intent:t.makeVariants({current:["text-current"],primary:["text-primary"],secondary:["text-secondary"],success:["text-success"],alert:["text-alert"],error:["text-error"],info:["text-info"],neutral:["text-neutral"]}),size:t.makeVariants({current:["u-current-font-size"],sm:["w-sz-16","h-sz-16"],md:["w-sz-24","h-sz-24"],lg:["w-sz-32","h-sz-32"],xl:["w-sz-40","h-sz-40"]})}}),n=({label:r,className:a,size:s="current",intent:l="current",children:c,...i})=>{const u=e.Children.only(c);return e.createElement(e.Fragment,null,e.cloneElement(u,{className:m({className:a,size:s,intent:l}),"data-spark-component":"icon","aria-hidden":"true",focusable:"false",...i}),r&&e.createElement(o.VisuallyHidden,null,r))};n.displayName="Icon",exports.Icon=n;
{
"name": "@spark-ui/icon",
"version": "1.7.7",
"version": "1.7.8",
"description": "Accessible icon wrapper",

@@ -33,3 +33,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "ef8f12a41596f286a4f49bedf98d170cfce33b90"
"gitHead": "82252e2a8dcbfff3b8d94959e54b7e54be7976ca"
}

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