Skip to content

Latest commit

 

History

History
153 lines (109 loc) · 4.37 KB

Changelog.md

File metadata and controls

153 lines (109 loc) · 4.37 KB

Changelog

6.11

  • 14.1 KB
  • Fixed an error where the program would try to add css properties that are not in the mapping object, practically rendering the * selector useless

6.10

  • 14.1 KB
  • Small improvements and refactoring
  • Allow for css properties and html attributes to be camelCase or kebab-case
  • Updated file structure by removing html-widget-extended and the module file

6.02

  • 14.4 KB
  • Fixed a bug for adding a url in css
  • Fixed gradient bugs
  • Simplified many "primitive types"

6.01

  • 15.3 KB
  • Fix global sym variable and global paddingArray variable
  • Improved performance and file size
  • Added more comments
  • When debug is true, in the logged code, tags are split by new lines

6.00

  • 20.4 KB
  • Changed the HTML parsing system to use the native XMLParser
    • Reduced the size and increased speed
    • Self-closing tags now need to end with a forward-slash (<img/>)
    • Templates do not need to specify if they are self-closing (all tags technically are)
    • Boolean attributes need to have a value attached to them (including children and no-css)
    • Parser will not bug out and infinity run with an invalid HTML

5.11

  • 22.7 KB
  • Fixed background on stack, now allowing the image type
  • Fixed > selector in template tags

5.10

  • 22.6 KB
  • Added support for multiple classes in css and tag.class
  • Added the > selector to css

5.03

  • 21.9 KB
  • Instead of throwing an error, it will be ignored when a property is attempted to be applied to a tag and not in the mapping. Previously an error was raised, but that makes the * selector useless. This also makes it possible to share classes through different tags
  • An error text was fixed

5.02

  • 21.9 KB
  • Fixed a bug with the children of stack elements being forced on the widget, not the stack
  • Added commas to css selectors
  • Added validation for the image type
  • Improved validation for padding and url type

5.01

  • 21.5 KB
  • Improved error messages
  • Logged code is now indented to show nestled tags
  • Fixed an issue where you would need the addons parameter to run the function
  • Fixed some error messages to work with template tags

5.00

  • 21.1 KB
  • Many improvements and bug fixes
  • Errors display more information
  • Users can make tag templates
  • Most tag boolean attributes change

4.1

  • 17.9 KB
  • Improvements for the possibility of adding more add-ons (mostly those that use a canvas/DrawContext)
  • Improvements to other aspects of add-ons
  • Fixed a bug that would create an impropor css/attribute order

4.0

  • 17.6 KB (html-widget.min.js file)
  • Removed symbol and hr tag from normal script
  • Now allows custom tags (also called add-ons)
  • symbol and hr custom tag syntax can be found in their separate modules. All base tags and add-ons combined in the same code can be found in the html-widget-expanded.js file.
  • symbol named attribute changes to inner text

3.10

  • 17.2 KB
  • Fixed error messages to encompass properties as well as the attributes
  • Fixed boolean attributes and css boolean properties
  • Comments are now parsed into the debug code
  • Added support for pre-set fonts based on its contents like caption1
  • Added support for the use-default-padding attribute
  • Added degree directions and colour locations to the background-gradient attribute

3.00

  • 16 KB
  • Fixed image opacity
  • Added the style tag which allows setting default styles for tags with css
  • Added the class attribute

2.10

  • 14.2 KB
  • Removed logging of text when setting a gradient
  • Colours have now changed to support all HTML colours including hsl, hsla, rgb, rgba, hex and css colour names like red
  • Light mode/ dark mode colours have changed to be separated by hyphens instead of commas and do not need to go in brackets when in a gradient

2.00

  • 14.7 KB
  • Fixed a bug preventing line breaks in the text tag
  • Removed logged text when making a gradient
  • Gradients now support css directions (to left)
  • Added a hr element
  • Added a date element

1.11

  • 11.3 KB
  • Fixed URL setting on text

1.10

  • 11.3 KB
  • Added in pre-set fonts such as lightRoundedSystemFont

1.02

  • 10.9 KB
  • Fixed issue with stacks nestled in stacks

1.01

  • 10.9 KB
  • Fixed alpha values when they were not specified in a hex

1.00

  • 10.9 KB
  • First release of HTML Widget