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

degen

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degen - npm Package Compare versions

Comparing version 0.0.60 to 0.0.61

20

dist/types/components/Button/Button.d.ts

@@ -5,10 +5,5 @@ import * as React from 'react';

import * as styles from './styles.css';
declare type NativeButtonProps = React.AllHTMLAttributes<HTMLButtonElement>;
declare type NativeAnchorProps = React.AllHTMLAttributes<HTMLAnchorElement>;
declare type BaseProps = {
/** Centers text and reserves space for icon and spinner */
center?: boolean;
children: NativeButtonProps['children'];
/** Marks as unusable */
disabled?: boolean;
/** Adds ReactNode before children */

@@ -24,10 +19,5 @@ prefix?: ReactNodeNoStrings;

suffix?: ReactNodeNoStrings;
tabIndex?: NativeButtonProps['tabIndex'];
type?: NativeButtonProps['type'];
variant?: styles.Variant;
width?: BoxProps['width'];
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
};
} & Pick<JSX.IntrinsicElements['button'], 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'children' | 'disabled' | 'type' | 'tabIndex'>;
declare type WithTone = {

@@ -43,11 +33,5 @@ tone?: styles.Tone;

as?: 'a';
href?: string;
rel?: NativeAnchorProps['rel'];
target?: NativeAnchorProps['target'];
};
} & Pick<JSX.IntrinsicElements['a'], 'href' | 'rel' | 'target'>;
declare type WithoutAnchor = {
as?: 'button';
href?: never;
rel?: never;
target?: never;
};

@@ -54,0 +38,0 @@ export declare type Props = BaseProps & (WithTone | WithoutTone) & (WithAnchor | WithoutAnchor);

2

package.json
{
"name": "degen",
"version": "0.0.60",
"version": "0.0.61",
"description": "Design system for Mirror.xyz",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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