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

@hig/modal

Package Overview
Dependencies
Maintainers
4
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/modal - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

37

build/index.es.js

@@ -93,37 +93,18 @@ import { keyframes, css } from 'emotion';

headerContent: {
headerContent: _extends({
margin: "0 " + themeData["modal.horizontalPadding"],
display: "flex",
justifyContent: "space-between",
".hig__icon-button.hig__icon-button--primary": _extends({
background: "transparent",
border: "none",
cursor: "pointer",
padding: 0,
height: "calc(" + headerFontSize + " * " + headerLinHeight + ")",
minWidth: "16px",
"svg *": {
fill: themeData["modal.textColor"]
},
"&:hover, &:focus": {
"svg *": {
fill: themeData["modal.textColor"]
},
"&:hover, &:focus": {
borderColor: "transparent",
backgroundColor: "transparent",
"svg *": {
fill: themeData["modal.textColor"]
}
},
"&:focus": {
outline: "none"
}
}
}, type === types.ALTERNATE && {
backgroundColor: themeData["modal.header.backgroundColor"]
}),
}, type === types.ALTERNATE && {
backgroundColor: themeData["modal.header.backgroundColor"]
})
},
body: {

@@ -130,0 +111,0 @@ display: "flex",

@@ -100,37 +100,18 @@ 'use strict';

headerContent: {
headerContent: _extends({
margin: "0 " + themeData["modal.horizontalPadding"],
display: "flex",
justifyContent: "space-between",
".hig__icon-button.hig__icon-button--primary": _extends({
background: "transparent",
border: "none",
cursor: "pointer",
padding: 0,
height: "calc(" + headerFontSize + " * " + headerLinHeight + ")",
minWidth: "16px",
"svg *": {
fill: themeData["modal.textColor"]
},
"&:hover, &:focus": {
"svg *": {
fill: themeData["modal.textColor"]
},
"&:hover, &:focus": {
borderColor: "transparent",
backgroundColor: "transparent",
"svg *": {
fill: themeData["modal.textColor"]
}
},
"&:focus": {
outline: "none"
}
}
}, type === types.ALTERNATE && {
backgroundColor: themeData["modal.header.backgroundColor"]
}),
}, type === types.ALTERNATE && {
backgroundColor: themeData["modal.header.backgroundColor"]
})
},
body: {

@@ -137,0 +118,0 @@ display: "flex",

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

# [@hig/modal-v2.0.4](https://github.com/Autodesk/hig/compare/@hig/modal@2.0.3...@hig/modal@2.0.4) (2019-04-25)
### Bug Fixes
* update icon-button dependency ([1526394](https://github.com/Autodesk/hig/commit/1526394))
# [@hig/modal-v2.0.3](https://github.com/Autodesk/hig/compare/@hig/modal@2.0.2...@hig/modal@2.0.3) (2019-03-27)

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

{
"name": "@hig/modal",
"version": "2.0.3",
"version": "2.0.4",
"description": "HIG Modal",

@@ -16,3 +16,2 @@ "author": "Autodesk Inc.",

"module": "build/index.es.js",
"style": "build/index.css",
"files": [

@@ -22,5 +21,4 @@ "build/*"

"dependencies": {
"@hig/icon-button": "^1.0.1",
"@hig/icon-button": "^2.0.1",
"@hig/icons": "^2.1.1",
"@hig/fonts": "^1.0.1",
"@hig/utils": "^0.3.0",

@@ -33,4 +31,4 @@ "@hig/typography": "^1.0.3",

"peerDependencies": {
"@hig/theme-context": "^2.1.3",
"@hig/theme-data": "^2.3.5",
"@hig/theme-context": "^3.0.0",
"@hig/theme-data": "^2.4.0",
"react": "^15.4.1 || ^16.3.2"

@@ -37,0 +35,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