- 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
- 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
- 14.4 KB
- Fixed a bug for adding a url in css
- Fixed gradient bugs
- Simplified many "primitive types"
- 15.3 KB
- Fix global
sym
variable and globalpaddingArray
variable - Improved performance and file size
- Added more comments
- When
debug
is true, in the logged code, tags are split by new lines
- 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
andno-css
) - Parser will not bug out and infinity run with an invalid HTML
- 22.7 KB
- Fixed background on stack, now allowing the
image
type - Fixed
>
selector in template tags
- 22.6 KB
- Added support for multiple classes in css and
tag.class
- Added the
>
selector to css
- 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
- 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
- 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
- 21.1 KB
- Many improvements and bug fixes
- Errors display more information
- Users can make tag templates
- Most tag boolean attributes change
- 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
- 17.6 KB (html-widget.min.js file)
- Removed
symbol
andhr
tag from normal script - Now allows custom tags (also called add-ons)
symbol
andhr
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
- 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
- 16 KB
- Fixed image opacity
- Added the
style
tag which allows setting default styles for tags with css - Added the
class
attribute
- 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
- 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
- 11.3 KB
- Fixed URL setting on text
- 11.3 KB
- Added in pre-set fonts such as
lightRoundedSystemFont
- 10.9 KB
- Fixed issue with stacks nestled in stacks
- 10.9 KB
- Fixed alpha values when they were not specified in a hex
- 10.9 KB
- First release of HTML Widget