Releases: felixmariotto/three-mesh-ui
v6.4.0
What's Changed
- Feature/justification spacing by @swingingtom in #158
- deprecate and split
alignContent
property in favor ofalignItems
andtextAlign
properties - added
space-betwen
,space-around
andspace-evenly
- deprecate and split
- Js build update by @swingingtom in #163
- set three as external in order to reduce build weight and avoid multiple three versions
- Bump url-parse from 1.5.3 to 1.5.10 by @dependabot in #165
- Bump follow-redirects from 1.14.4 to 1.14.8 by @dependabot in #159
- white space nowrap & pre by @swingingtom in #176
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #175
- Feature/update webpack 5 by @swingingtom in #180
- lint everytime
- error overlay on devserver
- build module and build minified
Full Changelog: v6.3.2...v6.4.0
v6.3.2
Allow export of computed lines in InlineManager
What's Changed
- export lines generated by inlines manager by @swingingtom in #167
Full Changelog: v6.3.1...v6.3.2
v6.3.1
fix onAfterUpdate by @felixmariotto in #143
refactor MaterialManager by @felixmariotto in #144
add default borderOpacity by @felixmariotto in #145
uniformize syntax + clean up by @swingingtom in #152
TypeScript + fixes
- basic TypeScript support (@enijar)
- bug fix (@GoncaloBastos)
- performance improvement (@JoeCoppola-HIA)
best fit + fixes
- new feature: best fit (@GoncaloBastos)
- new example for best fit (@GoncaloBastos)
- bug fixes (@swingingtom)
- new font files (@felixmariotto)
new example link: https://felixmariotto.github.io/three-mesh-ui/#best_fit
antialiasing + perf improvement
- Performance optimization (@GoncaloBastos)
- Improve frames antialiasing (@felixmariotto)
- Improve text antialiasing (@hybridherbst @felixmariotto)
- New example for antialiasing (@hybridherbst)
- Lazy-initialize default texture (@felixmariotto)
New example: https://felixmariotto.github.io/three-mesh-ui/#antialiasing
diff: v6.0.3...v6.1.0
Add borders support
Add support for borders + a new example to showcase it.
Boders example : https://felixmariotto.github.io/three-mesh-ui/#border
New API :
block.set( {
borderRadius: 0.1,
borderWidth: 0.1,
borderColor: new THREE.Color( 'blue' )
} );
Diff : v4.7.4...v5.0.0
support texture blending with backgroundColor and backgroundOpacity attributes
It is now possible to modify your background textures with the backgroundColor and backgroundOpacity attributes.
The InlineBlock live example has been updated to showcase this.
const myBlock = new ThreeMeshUI.InlineBlock({
height: 1,
width: 1,
backgroundTexture: texture,
backgroundColor: new THREE.Color( 0x00ff00 ),
backgroundOpacity: 0.3
})
update to r118 + bug fixes
convert to ES class
- convert to ES classes
- update comments for intellisense