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

troika-core

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-core - npm Package Versions

1245

0.33.0

Diff

Changelog

Source

0.33.0 (2020-10-02)

Bug Fixes

  • add "sideEffects":false to package.json files to assist treeshaking (61109b2)
  • add PURE annotations to make troika-three-text treeshakeable (8e76b5c)
  • remove redundant "browser" and defunct "jsnext:main" fields from package.json files (0abec40)
  • troika-three-text: make color prop only apply to that instance when sharing a base material (da0f995)

Features

  • troika-three-text: modifications to the base material are now picked up automatically (fc81d3a)
  • troika-three-utils: add chained option to createDerivedMaterial (2bfaa9c)
lojjic
published 0.32.0 •

Changelog

Source

0.32.0 (2020-09-16)

Bug Fixes

Features

  • added boundingBox calculation (140e9e8)
lojjic
published 0.31.0 •

Changelog

Source

0.31.0 (2020-08-11)

Bug Fixes

  • troika-3d-ui: remove stray circular import (06be563)
  • move Three.js peerDependency from troika-3d to troika-three-utils (96b6fc8)

Features

  • troika-3d: expose some new props for scene background and color management (5209f66)
lojjic
published 0.30.0 •

Changelog

Source

0.30.0 (2020-07-16)

Bug Fixes

  • troika-worker-utils: decrease main thread message level from warn to log (d7cee6d)

Features

  • troika-three-text: add support for textIndent (b689c0c)
  • extract flexbox layout logic to a new troika-flex-layout package (1b52fc9), closes #53
lojjic
published 0.29.0 •

Changelog

Source

0.29.0 (2020-07-06)

Bug Fixes

  • troika-three-utils: fix program switching when double-deriving materials (89ed2f8)
  • troika-xr: ensure correct initial transform of gltf objects on load (49287f3)

Features

  • troika-3d-text: add sdfGlyphSize option on TextMesh (978ef53), closes #58
  • troika-three-text: promote standalone text to a new troika-three-text package (995f2eb), closes #47
lojjic
published 0.28.0 •

Changelog

Source

0.28.0 (2020-06-09)

Bug Fixes

  • troika-3d-text: fix cloning of TextMesh (13df49b), closes #60
  • troika-3d-text: prevent double-derivation of text material (ef8cffa), closes #59

Features

  • troika-3d-text: add glyphGeometryDetail parameter (1f7a11f), closes #52
lojjic
published 0.27.0 •

Changelog

Source

0.27.0 (2020-06-02)

Bug Fixes

  • troika-3d-text: prevent error when transpiling down to es5 (7264b0c), closes #51

Features

  • troika-3d: add three.js r117 to supported version range (2761f39)
  • troika-core: add update convenience method to all facades (7403be1)
  • troika-examples: flexbox example: globe pokes through bg, add scrollable lists (074c620)
lojjic
published 0.26.0 •

Changelog

Source

0.26.0 (2020-05-24)

Bug Fixes

  • troika-3d-text: #46 fix error on script load when document not present (1b005ec)

Features

  • examples: add example showing a resizable flexbox layout (8f4d50d)
  • troika-3d-text: experimental colorRanges feature (c4971c3)
  • troika-worker-utils: add main thread fallback when web workers are not allowed (c754d0b)
lojjic
published 0.25.0 •

Changelog

Source

0.25.0 (2020-05-19)

Bug Fixes

  • troika-3d: fix error in InstancingManager on uniforms with default value of 0 (8d2cc83)
  • troika-3d: fix errors due to excessively deep BoundingSphereOctrees (a4b5797), closes #42
  • troika-3d-text: avoid error if something tries to set textMaterial.shadowSide (c09a3c1)

Features

  • troika-3d-text: add events fired on text sync start and completion (3e7d4e0)
  • troika-3d-text: add original input parameters to textRenderInfo object (e1ef963)
  • troika-3d-text: publicly expose getCaretAtPoint and getSelectionRects functions (669b256)

Performance Improvements

  • troika-3d-text: improve speed of glyph SDF generation by ~15-20% (3718997)
lojjic
published 0.24.0 •

Changelog

Source

0.24.0 (2020-04-27)

Bug Fixes

  • troika-3d: default Plane and Circle primitives' side and shadowSide to DoubleSide (7704b0a)
  • troika-3d-text: change GlyphSegmentsQuadtree to not use class (7e4db6c)
  • troika-three-utils: allow use of the timeUniform within glsl functions (7354b9e)

Features

  • troika-3d-text: add preloadFont utility (acedd3c), closes #39
  • troika-3d-text: add enhanced anchorX and anchorY config properties (b58f7b9), closes #38
  • troika-3d-text: add some useful font metrics to textRenderInfo result (c7b14b8)

Performance Improvements

  • troika-3d-text: major speed/memory improvement in text layout (1b65b33)
  • troika-3d-text: micro optimizations in text layout (c786397)
  • troika-3d-text: optimize rendering of very long clipped text blocks (c66fbec)
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