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

degen

Package Overview
Dependencies
Maintainers
1
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.1-beta.1 to 0.0.1-beta.2

1

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

@@ -7,2 +7,3 @@ import * as React from 'react';

declare type BaseProps = {
/** Centers text and reserves space for icon and spinner. */
center?: true;

@@ -9,0 +10,0 @@ children: NativeButtonProps['children'];

6

dist/types/components/ThemeProvider/ThemeProvider.d.ts

@@ -16,7 +16,7 @@ import * as React from 'react';

export declare type ThemeProviderProps = {
/** Default accent name. @default blue */
/** Default accent name. */
defaultAccent?: Accent;
/** Default mode name. @default light */
/** Default mode name. */
defaultMode?: Mode;
/** Element to bind theme. @default :root */
/** Element to bind theme. */
element?: string | HTMLElement;

@@ -23,0 +23,0 @@ /** Forced mode name for the current page */

@@ -6,2 +6,2 @@ export { atoms } from './atoms';

export { vars } from './vars.css';
export { rgb, getAccentText, getModeColors } from './utils';
export { getAccentText, getModeColors, motionSafe, rgb } from './utils';

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

import { StyleRule } from '@vanilla-extract/css';
import { CSSVarFunction } from '@vanilla-extract/private';

@@ -7,1 +8,6 @@ import { Accent } from '~/tokens';

export declare const getVarName: (_value: string | null, path: string[]) => string;
export declare const motionSafe: (style: StyleRule) => {
'@media': {
'(prefers-reduced-motion: no-preference)': StyleRule;
};
};

@@ -54,2 +54,3 @@ export declare type Mode = 'light' | 'dark';

foregroundSecondaryHover: string;
foregroundTertiary: string;
groupBorder: string;

@@ -59,2 +60,4 @@ text: string;

textSecondaryHover: string;
textTertiary: string;
textTertiaryHover: string;
};

@@ -67,2 +70,3 @@ dark: {

foregroundSecondaryHover: string;
foregroundTertiary: string;
groupBorder: string;

@@ -72,3 +76,5 @@ text: string;

textSecondaryHover: string;
textTertiary: string;
textTertiaryHover: string;
};
};

@@ -116,2 +116,3 @@ export declare const tokens: {

foregroundSecondaryHover: string;
foregroundTertiary: string;
groupBorder: string;

@@ -121,2 +122,4 @@ text: string;

textSecondaryHover: string;
textTertiary: string;
textTertiaryHover: string;
};

@@ -129,2 +132,3 @@ dark: {

foregroundSecondaryHover: string;
foregroundTertiary: string;
groupBorder: string;

@@ -134,2 +138,4 @@ text: string;

textSecondaryHover: string;
textTertiary: string;
textTertiaryHover: string;
};

@@ -136,0 +142,0 @@ };

{
"name": "degen",
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.2",
"description": "Design system for Mirror.xyz",

@@ -37,3 +37,3 @@ "main": "./dist/index.cjs.js",

"dependencies": {
"@vanilla-extract/css": "^1.6.1",
"@vanilla-extract/css": "^1.6.2",
"@vanilla-extract/css-utils": "^0.1.1",

@@ -47,11 +47,11 @@ "@vanilla-extract/dynamic": "^2.0.0",

"devDependencies": {
"@jest/types": "^27.2.4",
"@testing-library/dom": "^8.7.2",
"@jest/types": "^27.2.5",
"@testing-library/dom": "^8.9.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@testing-library/user-event": "^13.2.1",
"@types/glob": "^7",
"@types/node": "^16.10.2",
"@types/react": "^17.0.27",
"@testing-library/user-event": "^13.3.0",
"@types/glob": "^7.1.4",
"@types/node": "^16.10.9",
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",

@@ -61,6 +61,6 @@ "@types/rimraf": "^3.0.2",

"@vanilla-extract/private": "^1.0.1",
"@vanilla-extract/vite-plugin": "^2.1.1",
"@vanilla-extract/vite-plugin": "^2.1.3",
"deepmerge": "^4.2.2",
"glob": "^7.2.0",
"jest": "^27.2.4",
"jest": "^27.2.5",
"jest-watch-typeahead": "^1.0.0",

@@ -71,6 +71,6 @@ "react": "^17.0.2",

"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"vite": "^2.6.2",
"vite-plugin-dts": "^0.8.2",
"vite-tsconfig-paths": "^3.3.14"
"ts-node": "^10.3.0",
"vite": "^2.6.7",
"vite-plugin-dts": "^0.8.3",
"vite-tsconfig-paths": "^3.3.17"
},

@@ -77,0 +77,0 @@ "peerDependencies": {

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

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

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