Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hig/tooltip

Package Overview
Dependencies
Maintainers
7
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/tooltip - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

12

build/index.es.js

@@ -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 @@

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc