Socket
Socket
Sign inDemoInstall

@toptal/picasso-shared

Package Overview
Dependencies
Maintainers
1
Versions
766
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toptal/picasso-shared - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

package.json
{
"name": "@toptal/picasso-shared",
"version": "1.1.1",
"version": "1.1.2",
"description": "Shared types, utils for Picasso internal usage",

@@ -43,3 +43,3 @@ "author": "Toptal",

],
"gitHead": "bc309329a7f7bddec5446506cebfcb0aa1535c30"
"gitHead": "7c8aca0af1c0aaf5f5021474ee1f137fda7e94f1"
}

@@ -5,5 +5,5 @@ const sizes = {

input: {
height: '2.25em',
width: '18.75em',
padding: '0.625em'
height: '2.25rem',
width: '18.75rem',
padding: '0.625rem'
}

@@ -10,0 +10,0 @@ };

@@ -5,3 +5,3 @@ import { SnackbarProvider } from 'notistack';

// --- need to move to shared config
export const headerHeight = { default: '4.5em', smallAndMedium: '3em' };
export const headerHeight = { default: '4.5rem', smallAndMedium: '3rem' };
const MAX_NOTIFICATION_MESSAGES = 5;

@@ -8,0 +8,0 @@ const NotificationsProvider = ({ children, container }) => {

@@ -37,5 +37,5 @@ import { CSSProperties, FunctionComponent, AnchorHTMLAttributes, ButtonHTMLAttributes, RefAttributes, ForwardRefExoticComponent, ElementType, ComponentPropsWithRef } from 'react';

}
export declare const spacingToEm: (spacing: SpacingType) => string;
export declare const spacingToRem: (spacing: SpacingType) => string;
export declare type ButtonOrAnchorProps = AnchorHTMLAttributes<HTMLAnchorElement> & ButtonHTMLAttributes<HTMLButtonElement>;
export declare type ColorType = 'blue' | 'green' | 'red' | 'yellow' | 'light-grey' | 'grey' | 'dark-grey' | 'black' | 'inherit';
export {};

@@ -9,3 +9,3 @@ export var SpacingEnum;

})(SpacingEnum || (SpacingEnum = {}));
export const spacingToEm = (spacing) => typeof spacing === 'number' ? `${spacing}em` : `${SpacingEnum[spacing]}em`;
export const spacingToRem = (spacing) => typeof spacing === 'number' ? `${spacing}rem` : `${SpacingEnum[spacing]}rem`;
//# sourceMappingURL=types.js.map

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