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

a-frame-components

Package Overview
Dependencies
Maintainers
1
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-frame-components - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

4

dist/gui/components/base-interactive.js

@@ -16,2 +16,3 @@ import { AFRAME } from "../../painter/root";

checked: { type: 'boolean', default: false },
title: { type: 'string', default: '' },
radiosizecoef: { type: 'number', default: 1 },

@@ -69,3 +70,3 @@ fontSize: { type: 'number', default: 0.2 },

default:
this.setText(data.value);
this.setText(data.title || data.value);
break;

@@ -250,2 +251,3 @@ }

'value': 'base-interactive.value',
'title': 'base-interactive.title',
'active': 'base-interactive.active',

@@ -252,0 +254,0 @@ 'checked': 'base-interactive.checked',

@@ -58,3 +58,3 @@ import { AFRAME } from "../../painter/root";

this.positionChildren(containerGuiItem);
var _a = this.createEntryPanel(), entity = _a.entity, entryPanel = _a.entryPanel;
var _a = this.createEntryPanel(), entity = _a.entity, bucket = _a.bucket, entryPanel = _a.entryPanel;
var _b = this.getInitialCursor(containerGuiItem), cursorX = _b.cursorX, cursorY = _b.cursorY;

@@ -99,4 +99,6 @@ var _c = this.getChildPositions({

var entity = document.createElement('a-entity');
var entity2 = document.createElement('a-entity');
entity.appendChild(entryPanel);
return { entity: entity, entryPanel: entryPanel };
entity.appendChild(entity2);
return { entity: entity, bucket: entity2, entryPanel: entryPanel };
},

@@ -103,0 +105,0 @@ getInitialCursor: function (containerGuiItem) {

{
"name": "a-frame-components",
"version": "1.0.23",
"version": "1.0.24",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -18,2 +18,3 @@ import { AFRAME } from "../../painter/root";

checked: { type: 'boolean', default: false },
title: { type: 'string', default: '' },
radiosizecoef: { type: 'number', default: 1 },

@@ -71,3 +72,3 @@ fontSize: { type: 'number', default: 0.2 },

default:
this.setText(data.value);
this.setText(data.title || data.value);
break;

@@ -281,2 +282,3 @@ }

'value': 'base-interactive.value',
'title': 'base-interactive.title',
'active': 'base-interactive.active',

@@ -283,0 +285,0 @@ 'checked': 'base-interactive.checked',

@@ -63,3 +63,3 @@ import { AFRAME } from "../../painter/root";

this.positionChildren(containerGuiItem);
let { entity, entryPanel } = this.createEntryPanel();
let { entity, bucket, entryPanel } = this.createEntryPanel();
let { cursorX, cursorY } = this.getInitialCursor(containerGuiItem);

@@ -106,4 +106,6 @@ let { x, y, z } = this.getChildPositions({

let entity = document.createElement('a-entity');
let entity2 = document.createElement('a-entity');
entity.appendChild(entryPanel);
return { entity, entryPanel };
entity.appendChild(entity2);
return { entity, bucket: entity2, entryPanel };
},

@@ -110,0 +112,0 @@ getInitialCursor: function (containerGuiItem: any) {

@@ -12,2 +12,3 @@ // aframe.d.ts

on?: string;
title?: string;
value?: string;

@@ -14,0 +15,0 @@ active?: boolean;

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