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

@festicket/react-aria-tooltip

Package Overview
Dependencies
Maintainers
9
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@festicket/react-aria-tooltip - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

dist/react-aria-tooltip.js

@@ -186,3 +186,3 @@ 'use strict';

ReactARIAToolTip.propTypes = {
message: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object, _propTypes2.default.element]).isRequired,
message: _propTypes2.default.string.isRequired,
direction: _propTypes2.default.string,

@@ -189,0 +189,0 @@ duration: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]),

@@ -49,3 +49,3 @@ 'use strict';

ToolTipContent.propTypes = {
message: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object, _propTypes2.default.element]).isRequired,
message: _propTypes2.default.string.isRequired,
direction: _propTypes2.default.string.isRequired,

@@ -52,0 +52,0 @@ active: _propTypes2.default.bool.isRequired,

@@ -25,11 +25,2 @@ 'use strict';

var getMessage = function getMessage(message) {
if (typeof message === 'string') return _react2.default.createElement(
'p',
null,
message
);
return message;
};
var TooltipMessage = function TooltipMessage(_ref) {

@@ -40,6 +31,10 @@ var className = _ref.className,

if (typeof message === 'string') return _react2.default.createElement(
return _react2.default.createElement(
'div',
{ className: className + ' ra-tooltip-message' },
getMessage(message)
_react2.default.createElement(
'p',
null,
message
)
);

@@ -51,3 +46,3 @@ };

TooltipMessage.propTypes = {
message: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object, _propTypes2.default.element]).isRequired
message: _propTypes2.default.string.isRequired
};

@@ -54,0 +49,0 @@

{
"name": "@festicket/react-aria-tooltip",
"version": "1.2.0",
"version": "1.3.0",
"description": "ReactJS ARIA tooltip component",

@@ -32,7 +32,7 @@ "main": "index.js",

"dependencies": {
"prop-types": "15.6.0",
"styled-components": "^2.4.0"
"prop-types": "15.6.0"
},
"peerDependencies": {
"react": "^16.0"
"react": "^16.0",
"styled-components": "^2.4.0"
},

@@ -39,0 +39,0 @@ "devDependencies": {

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