Socket
Socket
Sign inDemoInstall

@hig/icon-button

Package Overview
Dependencies
Maintainers
4
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/icon-button - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

12

build/index.es.js

@@ -8,7 +8,7 @@ import React, { Component } from 'react';

var surfaces = Object.freeze({
SURFACELEVEL100: "1",
SURFACELEVEL200: "2",
SURFACELEVEL250: "2.5",
SURFACELEVEL300: "3",
SURFACELEVEL350: "3.5"
SURFACELEVEL100: 100,
SURFACELEVEL200: 200,
SURFACELEVEL250: 250,
SURFACELEVEL300: 300,
SURFACELEVEL350: 350
});

@@ -54,3 +54,3 @@

return {
backgroundColor: surfaceLevel <= 2.5 ? themeData["iconButton.pressed.level100To250.backgroundColor"] : themeData["iconButton.pressed.level300To350.backgroundColor"],
backgroundColor: surfaceLevel <= 250 ? themeData["iconButton.pressed.level100To250.backgroundColor"] : themeData["iconButton.pressed.level300To350.backgroundColor"],
transitionDuration: "0.1s, 0.1s",

@@ -57,0 +57,0 @@ "& svg *": {

@@ -15,7 +15,7 @@ 'use strict';

var surfaces = Object.freeze({
SURFACELEVEL100: "1",
SURFACELEVEL200: "2",
SURFACELEVEL250: "2.5",
SURFACELEVEL300: "3",
SURFACELEVEL350: "3.5"
SURFACELEVEL100: 100,
SURFACELEVEL200: 200,
SURFACELEVEL250: 250,
SURFACELEVEL300: 300,
SURFACELEVEL350: 350
});

@@ -61,3 +61,3 @@

return {
backgroundColor: surfaceLevel <= 2.5 ? themeData["iconButton.pressed.level100To250.backgroundColor"] : themeData["iconButton.pressed.level300To350.backgroundColor"],
backgroundColor: surfaceLevel <= 250 ? themeData["iconButton.pressed.level100To250.backgroundColor"] : themeData["iconButton.pressed.level300To350.backgroundColor"],
transitionDuration: "0.1s, 0.1s",

@@ -64,0 +64,0 @@ "& svg *": {

@@ -0,1 +1,8 @@

# [@hig/icon-button-v2.1.1](https://github.com/Autodesk/hig/compare/@hig/icon-button@2.1.0...@hig/icon-button@2.1.1) (2019-05-07)
### Bug Fixes
* need correct surface level values ([500dffc](https://github.com/Autodesk/hig/commit/500dffc))
# [@hig/icon-button-v2.1.0](https://github.com/Autodesk/hig/compare/@hig/icon-button@2.0.1...@hig/icon-button@2.1.0) (2019-05-03)

@@ -2,0 +9,0 @@

{
"name": "@hig/icon-button",
"version": "2.1.0",
"version": "2.1.1",
"description": "HIG IconButton component",

@@ -34,3 +34,3 @@ "author": "Autodesk Inc.",

"@hig/theme-context": "^3.0.0",
"@hig/theme-data": "^2.4.0",
"@hig/theme-data": "^2.5.0",
"react": "^15.4.1 || ^16.3.2"

@@ -37,0 +37,0 @@ },

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