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

@equinor/eds-tokens

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/eds-tokens - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

commonjs/node_modules/.modules.yaml

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Changelog

## [0.5.8] - 2021-05-06
### Changed
- Updates to internal types for tokens
## [0.5.7] - 2021-03-19

@@ -10,0 +16,0 @@

2

dist/types/src/types/borders.d.ts

@@ -13,4 +13,4 @@ export declare type Border = {

right?: Omit<Border, 'type'>;
bottom?: Omit<Border, 'radius'>;
bottom?: Omit<Border, 'radius | type'>;
};
export declare type Borders = Border | Bordergroup;
export declare type Clickbound = {
height: string;
width: string;
offset: {
top: string;
left: string;
width?: string;
offset?: {
top?: string;
left?: string;
};
};
import { Spacing, Borders, Typography, Outline, Clickbound, Pressed } from './index';
export declare type ComponentToken = {
maxHeight?: string;
minHeight?: string;
height?: string;
maxWidth?: string;
minWidth?: string;
width?: string;
boxShadow?: string;
background?: string;

@@ -11,9 +16,11 @@ spacings?: Spacing;

states?: {
active?: ComponentState;
disabled?: ComponentState;
focus?: ComponentState & {
active?: ComponentToken & {
outline?: Outline;
};
hover?: ComponentState;
pressed?: ComponentState & {
disabled?: ComponentToken;
focus?: ComponentToken & {
outline?: Outline;
};
hover?: ComponentToken;
pressed?: ComponentToken & {
pressed?: Pressed;

@@ -23,4 +30,5 @@ };

entities?: Record<string, ComponentToken>;
modes?: {
compact?: ComponentToken;
};
};
declare type ComponentState = Partial<Omit<ComponentToken, 'states'>>;
export {};
{
"name": "@equinor/eds-tokens",
"version": "0.5.7",
"version": "0.5.8",
"description": "Design tokens for the Equinor Design System",

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

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