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

@lightningjs/ui

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/ui - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "@lightningjs/ui",
"version": "1.0.7",
"version": "1.0.8",
"description": "Standard UI components for Lightning",

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

@@ -127,3 +127,3 @@ import { CollectionWrapper, ItemWrapper, limitWithinRange } from "./helpers";

async reposition() {
repositionItems() {
const wrapper = this.wrapper;

@@ -178,2 +178,3 @@ if(!wrapper && wrapper.children.length) {

});
super.repositionItems();
}

@@ -180,0 +181,0 @@

@@ -16,3 +16,4 @@ import Lightning from "@lightningjs/core";

component.isAlive = true;
this.children = [{...component, w: this.w, h: this.h}];
const {w, h, margin, marginUp, marginBottom, marginRight, marginLeft} = this;
this.children = [{...component, w, h, margin, marginUp, marginRight, marginLeft, marginBottom}];
if(this.hasFocus()) {

@@ -19,0 +20,0 @@ this._refocus();

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