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

@lightningjs/ui-components

Package Overview
Dependencies
Maintainers
10
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/ui-components - npm Package Compare versions

Comparing version 2.14.3 to 2.14.4

2

package.json
{
"name": "@lightningjs/ui-components",
"version": "2.14.3",
"version": "2.14.4",
"description": "A shared library of helpful LightningJS components utilizing theme files to easily customize for any LightningJS application.",

@@ -5,0 +5,0 @@ "repository": {

@@ -296,4 +296,4 @@ /**

this._radius = 0;
this._pointerW = 0;
this._pointerH = 0;
this._pointerWidth = 0;
this._pointerHeight = 0;
this._strokeWidth = 0;

@@ -334,18 +334,18 @@ this._color = 'white';

set pointerW(pointerW) {
this._pointerW = pointerW;
set pointerWidth(pointerWidth) {
this._pointerWidth = pointerWidth;
this._changed();
}
get pointerW() {
return this._pointerW;
get pointerWidth() {
return this._pointerWidth;
}
set pointerH(pointerH) {
this._pointerH = pointerH;
set pointerHeight(pointerHeight) {
this._pointerHeight = pointerHeight;
this._changed();
}
get pointerH() {
return this._pointerH;
get pointerHeight() {
return this._pointerHeight;
}

@@ -376,4 +376,4 @@

radius = 0,
pointerW = 0,
pointerH = 0,
pointerWidth = 0,
pointerHeight = 0,
strokeWidth = 1,

@@ -400,3 +400,3 @@ color = 'white'

const bottomY = topY + h;
const bottomBubbleY = bottomY - pointerH;
const bottomBubbleY = bottomY - pointerHeight;
const isRadiusAnArray = Array.isArray(radius);

@@ -430,7 +430,7 @@ // start: top left

// bottom side, right of point
ctx.lineTo(w / 2 + pointerW / 2, bottomBubbleY);
ctx.lineTo(w / 2 + pointerWidth / 2, bottomBubbleY);
// point
ctx.arcTo(w / 2, bottomY, w / 2 - pointerW / 2, bottomBubbleY, 2);
ctx.lineTo(w / 2 - pointerW / 2, bottomBubbleY);
ctx.arcTo(w / 2, bottomY, w / 2 - pointerWidth / 2, bottomBubbleY, 2);
ctx.lineTo(w / 2 - pointerWidth / 2, bottomBubbleY);

@@ -469,4 +469,4 @@ // bottom side, left of point

_getLookupId() {
const { w, h, radius, pointerW, pointerH, color } = this;
return `__bubble_${w}x${h}_radius-${radius}_pointer-${pointerW}x${pointerH}_fill-${color}`;
const { w, h, radius, pointerWidth, pointerHeight, color } = this;
return `__bubble_${w}x${h}_radius-${radius}_pointer-${pointerWidth}x${pointerHeight}_fill-${color}`;
}

@@ -473,0 +473,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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