@hig/modal
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10
62566
5
1512
+ Added@hig/behaviors@1.1.2(transitive)
+ Added@hig/icon-button@2.6.3(transitive)
+ Added@hig/utils@0.4.1(transitive)
- Removed@hig/fonts@^1.0.1
- Removed@hig/fonts@1.1.0(transitive)
- Removed@hig/icon-button@1.0.2(transitive)
- Removed@hig/theme-context@2.1.3(transitive)
- Removedasap@2.0.6(transitive)
- Removedclassnames@2.5.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcreate-react-context@0.2.3(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updated@hig/icon-button@^2.0.1