@hig/modal
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -25,3 +25,2 @@ import { keyframes, css } from 'emotion'; | ||
var MODAL_HEADER_LAYER = 1002; | ||
var MODAL_SHADOW_MASK_LAYER = 1003; | ||
var MODAL_LAYER = 10001; | ||
@@ -136,23 +135,3 @@ | ||
position: "relative", | ||
minHeight: themeData["modal.body.height"], | ||
"&::before": { | ||
backgroundColor: themeData["modal.window.backgroundColor"], | ||
content: "''", | ||
display: "block", | ||
height: "16px", | ||
position: "relative", | ||
margin: "0 " + themeData["modal.horizontalPadding"], | ||
zIndex: MODAL_SHADOW_MASK_LAYER | ||
}, | ||
"&::after": { | ||
backgroundColor: themeData["modal.window.backgroundColor"], | ||
content: "''", | ||
display: "block", | ||
height: "16px", | ||
position: "relative", | ||
margin: "0 " + themeData["modal.horizontalPadding"], | ||
zIndex: MODAL_SHADOW_MASK_LAYER | ||
} | ||
minHeight: themeData["modal.body.height"] | ||
}, | ||
@@ -165,3 +144,3 @@ | ||
overflowY: "auto", | ||
padding: "0 " + themeData["modal.horizontalPadding"] | ||
padding: themeData["modal.horizontalPadding"] | ||
} | ||
@@ -219,3 +198,4 @@ } | ||
function (_ref) { | ||
var metadata = _ref.metadata; | ||
var resolvedRoles = _ref.resolvedRoles, | ||
metadata = _ref.metadata; | ||
@@ -234,3 +214,4 @@ var closeIcon = metadata.densityId === "medium-density" ? React.createElement(CloseMUI, null) : React.createElement(CloseSUI, null); | ||
fontSize: styles.header.fontSize, | ||
lineHeight: styles.header.lineHeight | ||
fontWeight: resolvedRoles["basics.fontWeights.medium"], | ||
lineHeight: "inherit" | ||
} | ||
@@ -237,0 +218,0 @@ }, |
@@ -32,3 +32,2 @@ 'use strict'; | ||
var MODAL_HEADER_LAYER = 1002; | ||
var MODAL_SHADOW_MASK_LAYER = 1003; | ||
var MODAL_LAYER = 10001; | ||
@@ -143,23 +142,3 @@ | ||
position: "relative", | ||
minHeight: themeData["modal.body.height"], | ||
"&::before": { | ||
backgroundColor: themeData["modal.window.backgroundColor"], | ||
content: "''", | ||
display: "block", | ||
height: "16px", | ||
position: "relative", | ||
margin: "0 " + themeData["modal.horizontalPadding"], | ||
zIndex: MODAL_SHADOW_MASK_LAYER | ||
}, | ||
"&::after": { | ||
backgroundColor: themeData["modal.window.backgroundColor"], | ||
content: "''", | ||
display: "block", | ||
height: "16px", | ||
position: "relative", | ||
margin: "0 " + themeData["modal.horizontalPadding"], | ||
zIndex: MODAL_SHADOW_MASK_LAYER | ||
} | ||
minHeight: themeData["modal.body.height"] | ||
}, | ||
@@ -172,3 +151,3 @@ | ||
overflowY: "auto", | ||
padding: "0 " + themeData["modal.horizontalPadding"] | ||
padding: themeData["modal.horizontalPadding"] | ||
} | ||
@@ -226,3 +205,4 @@ } | ||
function (_ref) { | ||
var metadata = _ref.metadata; | ||
var resolvedRoles = _ref.resolvedRoles, | ||
metadata = _ref.metadata; | ||
@@ -241,3 +221,4 @@ var closeIcon = metadata.densityId === "medium-density" ? React__default.createElement(icons.CloseMUI, null) : React__default.createElement(icons.CloseSUI, null); | ||
fontSize: styles.header.fontSize, | ||
lineHeight: styles.header.lineHeight | ||
fontWeight: resolvedRoles["basics.fontWeights.medium"], | ||
lineHeight: "inherit" | ||
} | ||
@@ -244,0 +225,0 @@ }, |
@@ -0,1 +1,8 @@ | ||
# [@hig/modal-v2.0.3](https://github.com/Autodesk/hig/compare/@hig/modal@2.0.2...@hig/modal@2.0.3) (2019-03-27) | ||
### Bug Fixes | ||
* header font-weight, line height & body padding ([828d5d7](https://github.com/Autodesk/hig/commit/828d5d7)) | ||
# [@hig/modal-v2.0.2](https://github.com/Autodesk/hig/compare/@hig/modal@2.0.1...@hig/modal@2.0.2) (2019-03-20) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/modal", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "HIG Modal", | ||
@@ -32,3 +32,3 @@ "author": "Autodesk Inc.", | ||
"@hig/theme-context": "^2.1.3", | ||
"@hig/theme-data": "^2.3.4", | ||
"@hig/theme-data": "^2.3.5", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -35,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
74142
1746