a-frame-components
Advanced tools
Comparing version 1.0.35 to 1.0.37
@@ -1,3 +0,3 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GetBackgroundColor } from "../../painter/systems/ui"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GetBackgroundColor } from "../../react/systems/ui"; | ||
export default function () { | ||
@@ -4,0 +4,0 @@ AFRAME.registerComponent('base-interactive', { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
export default function () { | ||
@@ -3,0 +3,0 @@ var THREE = window.THREE; |
@@ -1,4 +0,4 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GrabAndDropEvents, setInputDevice } from "../../painter/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GrabAndDropEvents, setInputDevice } from "../../react/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_orange_light } from "../vars"; | ||
@@ -5,0 +5,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
export default function () { | ||
@@ -3,0 +3,0 @@ var THREE = window.THREE; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -37,5 +37,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import { AFRAME } from "../../painter/root"; | ||
import { GrabAndDropEvents, calculateEndPoint, customEventListener, getInputDevice, lerp3, setInputDevice, } from "../../painter/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GrabAndDropEvents, calculateEndPoint, customEventListener, getInputDevice, lerp3, setInputDevice, } from "../../react/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
export default function () { | ||
@@ -42,0 +42,0 @@ var THREE = window.THREE; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
var THREE = window.THREE; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -18,3 +18,3 @@ import bevelbox from "./bevelbox"; | ||
import imageCube from "./image-cube"; | ||
import catalogImage from "../../painter/components/catalog-image"; | ||
import catalogImage from "../../react/components/catalog-image"; | ||
import baseInteractive from "./base-interactive"; | ||
@@ -24,4 +24,4 @@ import menuContainer from "./menu-container"; | ||
import modelItem from "./model-item"; | ||
import flashRed from "../../painter/components/flash-red"; | ||
import canvasImage from "../../painter/components/canvas-image"; | ||
import flashRed from "../../react/components/flash-red"; | ||
import canvasImage from "../../react/components/canvas-image"; | ||
import radioComponent from "./radio"; | ||
@@ -28,0 +28,0 @@ import dualArcs from "./dual-arcs"; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
export default function () { | ||
@@ -3,0 +3,0 @@ AFRAME.registerComponent('gui-interactable', { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
export default function () { | ||
@@ -3,0 +3,0 @@ AFRAME.registerComponent('gui-item', { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey_dark, key_offwhite } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,3 +0,3 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GetColor } from "../../painter/systems/ui"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GetColor } from "../../react/systems/ui"; | ||
export default function () { | ||
@@ -4,0 +4,0 @@ AFRAME.registerComponent('model-item', { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -12,3 +12,3 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { createContainer, createInteractiveButton } from "../../util"; | ||
@@ -15,0 +15,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
export default function () { | ||
@@ -3,0 +3,0 @@ var THREE = window.THREE; |
@@ -12,3 +12,3 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { IK, } from './three-ik'; | ||
@@ -15,0 +15,0 @@ export default function () { |
@@ -12,6 +12,6 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { createText } from "../../util"; | ||
import { key_orange, key_offwhite, key_grey, key_white, key_grey_light } from "../vars"; | ||
import interactionMixin from "../../painter/components/interaction-mixin"; | ||
import interactionMixin from "../../react/components/interaction-mixin"; | ||
export default function () { | ||
@@ -18,0 +18,0 @@ AFRAME.registerComponent('gui-slider', __assign(__assign({ schema: { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_offwhite, key_grey, key_grey_light, key_grey_dark } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -12,6 +12,6 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
import { AFRAME } from "../../painter/root"; | ||
import interactionMixin from "../../painter/components/interaction-mixin"; | ||
import { PAINTER_CONSTANTS } from "../../painter/constants"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import interactionMixin from "../../react/components/interaction-mixin"; | ||
import { PAINTER_CONSTANTS } from "../../react/constants"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
var Transformation = /** @class */ (function () { | ||
@@ -18,0 +18,0 @@ function Transformation() { |
import { Text } from 'troika-three-text'; | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
var THREE = window.THREE; | ||
@@ -4,0 +4,0 @@ export var COMPONENT_NAME = 'troika-text'; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_offwhite, key_grey, key_white, key_grey_light } from "../vars"; | ||
@@ -3,0 +3,0 @@ var THREE = window.THREE; |
@@ -37,3 +37,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
import painter from "./painter"; | ||
import painter from "./react"; | ||
export function load() { | ||
@@ -40,0 +40,0 @@ return __awaiter(this, void 0, void 0, function () { |
{ | ||
"name": "a-frame-components", | ||
"version": "1.0.35", | ||
"version": "1.0.37", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,3 +0,3 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GetBackgroundColor } from "../../painter/systems/ui"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GetBackgroundColor } from "../../react/systems/ui"; | ||
import { key_grey, key_grey_dark, key_grey_light, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,4 +0,4 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GrabAndDropEvents, GrabStartDetails, setInputDevice } from "../../painter/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GrabAndDropEvents, GrabStartDetails, setInputDevice } from "../../react/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_orange_light } from "../vars"; | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_offwhite, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GrabAndDropEvents, GrabOutDetails, GrabOverDetails, calculateEndPoint, customEventListener, getInputDevice, lerp3, setInputDevice, } from "../../painter/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GrabAndDropEvents, GrabOutDetails, GrabOverDetails, calculateEndPoint, customEventListener, getInputDevice, lerp3, setInputDevice, } from "../../react/systems/grabanddrop"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
export default function () { | ||
@@ -5,0 +5,0 @@ const THREE: any = (window as any).THREE; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
const THREE: any = (window as any).THREE; | ||
@@ -3,0 +3,0 @@ |
@@ -18,3 +18,3 @@ import bevelbox from "./bevelbox"; | ||
import imageCube from "./image-cube"; | ||
import catalogImage from "../../painter/components/catalog-image"; | ||
import catalogImage from "../../react/components/catalog-image"; | ||
import baseInteractive from "./base-interactive"; | ||
@@ -24,4 +24,4 @@ import menuContainer from "./menu-container"; | ||
import modelItem from "./model-item"; | ||
import flashRed from "../../painter/components/flash-red"; | ||
import canvasImage from "../../painter/components/canvas-image"; | ||
import flashRed from "../../react/components/flash-red"; | ||
import canvasImage from "../../react/components/canvas-image"; | ||
import radioComponent from "./radio"; | ||
@@ -28,0 +28,0 @@ import dualArcs from "./dual-arcs"; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_grey_dark, key_offwhite, key_orange, key_white } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey_dark, key_offwhite } from "../vars"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { GetColor } from "../../painter/systems/ui"; | ||
import { AFRAME } from "../../react/root"; | ||
import { GetColor } from "../../react/systems/ui"; | ||
export default function () { | ||
@@ -4,0 +4,0 @@ AFRAME.registerComponent('model-item', { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_grey, key_orange } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { createContainer, createInteractiveButton } from "../../util"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
@@ -3,0 +3,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { IK, } from './three-ik'; | ||
@@ -3,0 +3,0 @@ import { Vector3 } from 'three'; |
@@ -1,5 +0,5 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { createText } from "../../util"; | ||
import { key_orange, key_offwhite, key_grey, key_white, key_grey_light } from "../vars"; | ||
import interactionMixin from "../../painter/components/interaction-mixin"; | ||
import interactionMixin from "../../react/components/interaction-mixin"; | ||
@@ -6,0 +6,0 @@ export default function () { |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_offwhite, key_grey, key_grey_light, key_grey_dark } from "../vars"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,5 +0,5 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import interactionMixin from "../../painter/components/interaction-mixin"; | ||
import { PAINTER_CONSTANTS } from "../../painter/constants"; | ||
import { raiseCustomEvent } from "../../painter/util"; | ||
import { AFRAME } from "../../react/root"; | ||
import interactionMixin from "../../react/components/interaction-mixin"; | ||
import { PAINTER_CONSTANTS } from "../../react/constants"; | ||
import { raiseCustomEvent } from "../../react/util"; | ||
@@ -6,0 +6,0 @@ type Point = { |
import { Text } from 'troika-three-text' | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_offwhite, key_grey, key_white, key_grey_light } from "../vars"; | ||
@@ -4,0 +4,0 @@ const THREE: any = (window as any).THREE; |
@@ -1,2 +0,2 @@ | ||
import { AFRAME } from "../../painter/root"; | ||
import { AFRAME } from "../../react/root"; | ||
import { key_orange, key_offwhite, key_grey, key_white, key_grey_light } from "../vars"; | ||
@@ -3,0 +3,0 @@ const THREE: any = (window as any).THREE; |
@@ -1,4 +0,4 @@ | ||
import painter from "./painter"; | ||
import painter from "./react"; | ||
export async function load() { | ||
return painter(); | ||
} |
@@ -448,2 +448,3 @@ export interface Container { | ||
} | ||
export function createText(text, { color, fontFamily }) { | ||
@@ -545,2 +546,3 @@ var textEntity = document.createElement("a-entity"); | ||
} | ||
export const btnstyle: any = { | ||
@@ -547,0 +549,0 @@ display: 'inline-block', |
@@ -734,3 +734,8 @@ // aframe.d.ts | ||
}; | ||
'a-container': { | ||
alignment: string, // flexStart, flexEnd, center | ||
direction: string, // vertical, horizontal | ||
margin: string,// top right bottom left | ||
}; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1655884
171
28137
3