Skip to content

Releases: thermage/thermage

0.14.1

07 Dec 17:28
Compare
Choose a tag to compare
  • Fixed Canvas element notice: undefined variable $result.
  • Fixed Element vertical text align position.

0.14.0

02 Dec 18:55
Compare
Choose a tag to compare
  • 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

26 Nov 16:30
Compare
Choose a tag to compare
  • 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

21 Nov 07:40
Compare
Choose a tag to compare
  • Added getEsc for method stripStyles.
  • 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

17 Nov 09:21
Compare
Choose a tag to compare
  • 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 to applyForegroundColor.
  • Color public method bgColor changed to public static and renamed to applyBackgroundColor.
  • Classes Color and Terminal moved from Utils to Base.

0.10.0

09 Nov 15:55
Compare
Choose a tag to compare
  • 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 method m.
  • Added ability to set top, right, bottom, left paddings with updated element method p.
  • Added new magic classes: strikethrough, my, py, mt, mb, pt, pb, h, m, p.

0.9.0

05 Nov 09:09
Compare
Choose a tag to compare
  • 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

27 Oct 14:50
Compare
Choose a tag to compare
  • Added Heading element.
  • Added new element methods styles and getStyles.
  • Added new element methods classes and getClasses.
  • Added new theme method getVariables and changed logic for method variables.
  • 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

21 Oct 19:22
Compare
Choose a tag to compare
  • 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 for Element.
  • Added new method strikethrough for Element.
  • Added new method italic for Element.
  • Added new method invisible for Element.
  • 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.

0.6.0

08 Oct 07:43
Compare
Choose a tag to compare
  • Added theme support for components: Alert, Rule.
  • Added new extended color scheme.