Releases: thermage/thermage
Releases · thermage/thermage
0.14.1
0.14.0
- Added new element
Canvas
. - Added display
inline-block
for elements. - Added new magic class
text-overflow
. - Aded new chart border variants.
- Added ability to send elements styles array argument.
- Added ability to set element text vertical alignment.
- Improved calucations for non auto width elements.
- Fixed height style logic.
0.13.0
- Added new public method
textOverflow
for element. - Added ability to set variants of predefined and custom borders for
hr
element. - Improved box model with new text overflow and word wrap functionality for muli-line values.
- Improved calculations for text alignment center.
0.12.0
- Added
getEsc
for methodstripStyles
. - Fix terminal width detection for
hr
element. - Fix calculations for element width.
- Improve element styles definition.
- Redefine value length if clearfix is true.
- Redefine value and value length if value length is higher then width style.
- Update styles for
heading
element. - Removed unused helper functions.
0.11.0
- Added ability to set element custom borders.
- Added new base class
Styles
. - Added new base class
Screen
. - Added new base class
Cursor
. - Added new public static termage method:
getCsi
to get Control Sequence Introducer. - Added new public static termage method:
setCsi
to set Control Sequence Introducer. - Added new public static termage method:
getEsc
to get Control Sequence Escape. - Added new public static termage method:
setEsc
to set Control Sequence Escape. - Added new public static termage method:
getOsc
to get Operating System Command. - Added new public static termage method:
setOsc
to set Operating System Command. - Added new public element method
b
to set border style. - Added new public element method
bColor
to set border color. - Added new magic classes:
b
,b-color
.
BREAKING CHANGES
- Terminal public method
getWidth
changed to public static. - Terminal public method
setWidth
changed to public static. - Terminal public method
getHeight
changed to public static. - Terminal public method
setHeight
changed to public static. - Color public method
textColor
changed to public static and renamed toapplyForegroundColor
. - Color public method
bgColor
changed to public static and renamed toapplyBackgroundColor
. - Classes
Color
andTerminal
moved fromUtils
toBase
.
0.10.0
- Improved box model for elements with ability to manage element width, height, text alignment.
- Added ability to set text alignment
center
for base element. - Added ability to set text alignment
center
for hr element. - Added ability to set text alignment
center
for alert element. - Added new public terminal method
width
to set terminal inner width. - Added new public terminal method
height
to set terminal inner height. - Added new public element method
my
to set vertical margins. - Added new public element method
py
to set vertical paddings. - Added new public element method
pt
to set top padding. - Added new public element method
pb
to set bottom padding. - Added new public element method
mt
to set top margin. - Added new public element method
mb
to set bottom margin. - Added new public element method
h
to set element height. - Added ability to set
top
,right
,bottom
,left
margins with updated element methodm
. - Added ability to set
top
,right
,bottom
,left
paddings with updated element methodp
. - Added new magic classes:
strikethrough
,my
,py
,mt
,mb
,pt
,pb
,h
,m
,p
.
0.9.0
- Imrpoved box model for elements with ability do set element display state and width.
- Added new public element method
p
to set left and right paddings. - Added new public element method
m
to set left and right margins. - Added new public element method
d
to set display state. - Added new public element method
w
to set width. - Added new public element method
textAlign
to set text alignment. - Added new public element method
clearfix
to force element self-clear its children block elements linebreaks. - Added new magic classes
w
,d
,clearfix
,text-align
. - Fixes for Theme default color scheme.
- Tests improvements.
BREAKING CHANGES
- Removed shortcodes
[p]
,[px]
,[pr]
,[pl]
,[m]
,[mx]
,[mr]
,[ml]
0.8.0
- Added
Heading
element. - Added new element methods
styles
andgetStyles
. - Added new element methods
classes
andgetClasses
. - Added new theme method
getVariables
and changed logic for methodvariables
. - Added
classes
method to set element classes. - Fixed
getSaturation
method for non TRUECOLOR terminals. - Fixed margin and padding calculations using global
spacer
. - Fixes and improvements for Theming.
- Fixes and improvements for all Elements.
- Tests improvements.
BREAKING CHANGES
- Removed non semantic elements: blink, invisible, reverse. Use styles instead.
- Removed theme variables for margins and paddings, use spacer variable instead.
0.7.0
- Added new rendering framework agnostic logic instead of old symfony based.
- Added new powerful Shortcodes API with a lot of predefined shortcodes.
- Added RGB Colors support.
- Added magic classes pipeline for
Element
. - Added new method
dim
forElement
. - Added new method
strikethrough
forElement
. - Added new method
italic
forElement
. - Added new method
invisible
forElement
. - Added new element
Chart
. - Added new element
Bold
. - Added new element
Italic
. - Added new element
Reverse
. - Added new element
Paragraph
. - Added new element
Anchor
. - Added new element
Strikethrough
. - Added new element
Underline
. - Added new element
Div
. - Added new element
Span
. - Added new element
Hr
. - Added new element
Breakline
. - Added new element
Blink
. - Added a lot of new new helpers.
- Fixes and improvements for Theming.
- Fixes and improvements for all Elements.
- Tests improvements.