@hig/timestamp
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -6,3 +6,3 @@ import React, { Component } from 'react'; | ||
function stylesheet(props, themeData, theme) { | ||
function stylesheet(props, themeData) { | ||
var customStylesheet = props.stylesheet; | ||
@@ -12,7 +12,7 @@ | ||
timestamp: { | ||
color: theme === "hig-light" ? "#4b6b8f" : themeData["colorScheme.textColorDim"], | ||
fontFamily: themeData["basics.fontFamilies.main"], | ||
fontSize: "12px", | ||
fontWeight: themeData["basics.fontWeights.regular"], | ||
lineHeight: "18px", | ||
color: themeData["timestamp.fontColor"], | ||
fontFamily: themeData["timestamp.fontFamily"], | ||
fontSize: themeData["timestamp.fontSize"], | ||
fontWeight: themeData["timestamp.fontWeight"], | ||
lineHeight: themeData["timestamp.lineHeight"], | ||
margin: 0 | ||
@@ -22,3 +22,3 @@ } | ||
return customStylesheet ? customStylesheet(styles, props, themeData, theme) : styles; | ||
return customStylesheet ? customStylesheet(styles, props, themeData) : styles; | ||
} | ||
@@ -25,0 +25,0 @@ |
@@ -13,3 +13,3 @@ 'use strict'; | ||
function stylesheet(props, themeData, theme) { | ||
function stylesheet(props, themeData) { | ||
var customStylesheet = props.stylesheet; | ||
@@ -19,7 +19,7 @@ | ||
timestamp: { | ||
color: theme === "hig-light" ? "#4b6b8f" : themeData["colorScheme.textColorDim"], | ||
fontFamily: themeData["basics.fontFamilies.main"], | ||
fontSize: "12px", | ||
fontWeight: themeData["basics.fontWeights.regular"], | ||
lineHeight: "18px", | ||
color: themeData["timestamp.fontColor"], | ||
fontFamily: themeData["timestamp.fontFamily"], | ||
fontSize: themeData["timestamp.fontSize"], | ||
fontWeight: themeData["timestamp.fontWeight"], | ||
lineHeight: themeData["timestamp.lineHeight"], | ||
margin: 0 | ||
@@ -29,3 +29,3 @@ } | ||
return customStylesheet ? customStylesheet(styles, props, themeData, theme) : styles; | ||
return customStylesheet ? customStylesheet(styles, props, themeData) : styles; | ||
} | ||
@@ -32,0 +32,0 @@ |
@@ -0,1 +1,8 @@ | ||
# [@hig/timestamp-v1.1.1](https://github.com/Autodesk/hig/compare/@hig/timestamp@1.1.0...@hig/timestamp@1.1.1) (2020-05-12) | ||
### Bug Fixes | ||
* stop using deprecated theme-data roles ([6818763](https://github.com/Autodesk/hig/commit/6818763)) | ||
# [@hig/timestamp-v1.1.0](https://github.com/Autodesk/hig/compare/@hig/timestamp@1.0.2...@hig/timestamp@1.1.0) (2019-10-10) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/timestamp", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "HIG Timestamp", | ||
@@ -34,3 +34,3 @@ "author": "Autodesk Inc.", | ||
"@hig/theme-context": "^3.0.0", | ||
"@hig/theme-data": "^2.12.0", | ||
"@hig/theme-data": "^2.16.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -37,0 +37,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
16861