@hig/tooltip
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -1776,2 +1776,4 @@ import React, { Component } from 'react'; | ||
var _extends$10 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
/** hig-gray-60 */ | ||
@@ -1781,4 +1783,12 @@ var COLOR = "#393939"; | ||
/* eslint-disable-next-line no-unused-vars */ | ||
function stylesheetOverride(stylesheet, props, themeData) { | ||
return _extends$10({}, stylesheet, { | ||
pointerBorder: { fill: COLOR }, | ||
pointerBody: { fill: COLOR } | ||
}); | ||
} | ||
function PointerPresenter() { | ||
return React.createElement(Pointer, { size: SIZE, backgroundColor: COLOR, borderColor: COLOR }); | ||
return React.createElement(Pointer, { size: SIZE, stylesheet: stylesheetOverride }); | ||
} | ||
@@ -1785,0 +1795,0 @@ PointerPresenter.__docgenInfo = { |
@@ -1783,2 +1783,4 @@ 'use strict'; | ||
var _extends$10 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
/** hig-gray-60 */ | ||
@@ -1788,4 +1790,12 @@ var COLOR = "#393939"; | ||
/* eslint-disable-next-line no-unused-vars */ | ||
function stylesheetOverride(stylesheet, props, themeData) { | ||
return _extends$10({}, stylesheet, { | ||
pointerBorder: { fill: COLOR }, | ||
pointerBody: { fill: COLOR } | ||
}); | ||
} | ||
function PointerPresenter() { | ||
return React__default.createElement(Flyout.Pointer, { size: SIZE, backgroundColor: COLOR, borderColor: COLOR }); | ||
return React__default.createElement(Flyout.Pointer, { size: SIZE, stylesheet: stylesheetOverride }); | ||
} | ||
@@ -1792,0 +1802,0 @@ PointerPresenter.__docgenInfo = { |
@@ -0,1 +1,8 @@ | ||
# [@hig/tooltip-v0.3.0](https://github.com/Autodesk/hig/compare/@hig/tooltip@0.2.0...@hig/tooltip@0.3.0) (2018-12-11) | ||
### Features | ||
* add stylesheet override for flyout pointer ([947651f](https://github.com/Autodesk/hig/commit/947651f)) | ||
# [@hig/tooltip-v0.2.0](https://github.com/Autodesk/hig/compare/@hig/tooltip@0.1.1...@hig/tooltip@0.2.0) (2018-09-26) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/tooltip", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "HIG Tooltip", | ||
@@ -30,3 +30,3 @@ "author": "Autodesk Inc.", | ||
"devDependencies": { | ||
"@hig/babel-preset": "^0.1.0", | ||
"@hig/babel-preset": "^0.1.1", | ||
"@hig/eslint-config": "^0.1.0", | ||
@@ -36,3 +36,3 @@ "@hig/jest-preset": "^0.1.0", | ||
"@hig/semantic-release-config": "^0.1.0", | ||
"@hig/styles": "^0.2.3" | ||
"@hig/styles": "^0.3.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
148265
4205