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

@aesthetic/system

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aesthetic/system - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

esm/index.js

@@ -150,3 +150,3 @@ import { deepMerge, objectLoop, hyphenate, isObject } from '@aesthetic/utils';

return value || null;
return value;
};

@@ -153,0 +153,0 @@

@@ -154,3 +154,3 @@ 'use strict';

return value || null;
return value;
};

@@ -157,0 +157,0 @@

@@ -40,3 +40,3 @@ import { Rule, Unit } from '@aesthetic/types';

*/
token(name: VariableName): unknown;
token<K extends VariableName>(name: K): Variables[K];
/**

@@ -43,0 +43,0 @@ * Return a `rem` unit equivalent for the current spacing type and unit.

@@ -380,2 +380,22 @@ import { Rule, Unit } from '@aesthetic/types';

'palette-success-fg-disabled': Hexcode;
'palette-failure-color-00': Hexcode;
'palette-failure-color-10': Hexcode;
'palette-failure-color-20': Hexcode;
'palette-failure-color-30': Hexcode;
'palette-failure-color-40': Hexcode;
'palette-failure-color-50': Hexcode;
'palette-failure-color-60': Hexcode;
'palette-failure-color-70': Hexcode;
'palette-failure-color-80': Hexcode;
'palette-failure-color-90': Hexcode;
'palette-failure-bg-base': Hexcode;
'palette-failure-bg-focused': Hexcode;
'palette-failure-bg-hovered': Hexcode;
'palette-failure-bg-selected': Hexcode;
'palette-failure-bg-disabled': Hexcode;
'palette-failure-fg-base': Hexcode;
'palette-failure-fg-focused': Hexcode;
'palette-failure-fg-hovered': Hexcode;
'palette-failure-fg-selected': Hexcode;
'palette-failure-fg-disabled': Hexcode;
}

@@ -385,3 +405,3 @@ export declare type Tokens = DesignTokens & ThemeTokens;

export declare type VariableName = keyof Variables;
export declare type TokenUtil = (name: VariableName) => unknown;
export declare type TokenUtil = <K extends VariableName>(name: K) => Variables[K];
export declare type VarUtil = (name: VariableName, ...fallbacks: (string | number)[]) => string;

@@ -388,0 +408,0 @@ export declare type UnitUtil = (...sizes: number[]) => Unit;

{
"name": "@aesthetic/system",
"version": "0.4.3",
"version": "0.4.4",
"description": "Web based building blocks for the Aesthetic design system.",

@@ -28,3 +28,3 @@ "keywords": [

},
"gitHead": "cfd88a991530d5f6eccebb751049529486d41623"
"gitHead": "82a1972ed52d4a98192cf711e12bee70ade249b4"
}

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