@hig/radio-button
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -86,4 +86,5 @@ import React, { Component } from 'react'; | ||
// write css rules to handle both cases | ||
var borderColor = hasFocus && !hasHover ? themeData["checkbox.focus.borderColor"] : themeData["checkbox.borderColor"]; | ||
var checkedInnerShadow = "inset 0 0 0 " + themeData["checkbox.pressed.halo.width"] + " " + themeData["checkbox.checked.backgroundColor"]; | ||
var uncheckedInnerShadow = "inset 0 0 0 " + themeData["checkbox.borderWidth"] + " \n " + themeData["checkbox.borderColor"] + "\n "; | ||
var uncheckedInnerShadow = "inset 0 0 0 " + themeData["checkbox.borderWidth"] + " \n " + borderColor + "\n "; | ||
var outerShadow = "0 0 0 0px transparent"; | ||
@@ -90,0 +91,0 @@ |
@@ -93,4 +93,5 @@ 'use strict'; | ||
// write css rules to handle both cases | ||
var borderColor = hasFocus && !hasHover ? themeData["checkbox.focus.borderColor"] : themeData["checkbox.borderColor"]; | ||
var checkedInnerShadow = "inset 0 0 0 " + themeData["checkbox.pressed.halo.width"] + " " + themeData["checkbox.checked.backgroundColor"]; | ||
var uncheckedInnerShadow = "inset 0 0 0 " + themeData["checkbox.borderWidth"] + " \n " + themeData["checkbox.borderColor"] + "\n "; | ||
var uncheckedInnerShadow = "inset 0 0 0 " + themeData["checkbox.borderWidth"] + " \n " + borderColor + "\n "; | ||
var outerShadow = "0 0 0 0px transparent"; | ||
@@ -97,0 +98,0 @@ |
@@ -0,1 +1,9 @@ | ||
# [@hig/radio-button-v1.0.7](https://github.com/Autodesk/hig/compare/@hig/radio-button@1.0.6...@hig/radio-button@1.0.7) (2019-06-07) | ||
### Bug Fixes | ||
* use correct border color for focused unselected state ([b3d9d7d](https://github.com/Autodesk/hig/commit/b3d9d7d)) | ||
* use proper border color in focus state ([c539639](https://github.com/Autodesk/hig/commit/c539639)) | ||
# [@hig/radio-button-v1.0.6](https://github.com/Autodesk/hig/compare/@hig/radio-button@1.0.5...@hig/radio-button@1.0.6) (2019-05-22) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "@hig/radio-button", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "HIG Radio Button", | ||
@@ -27,3 +27,3 @@ "author": "Autodesk Inc.", | ||
"@hig/theme-context": "^3.0.0", | ||
"@hig/theme-data": "^2.6.0", | ||
"@hig/theme-data": "^2.7.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -30,0 +30,0 @@ }, |
35272
698