williamtroup/Heat.js
 Watch   
 Star   
 Fork   
2024-10-14 16:49:04
Heat.js

Heat.js v4.2.2 - General code improvements and security updates!

  • Updated all the NPM packages to the latest versions.
  • Added an ignore path for ".DS_Store" files when packing the NuGet package.
  • Updated the CSS to fix some of the new SASS rules causing compiler warnings.
  • The Binding Options and Configuration Options are now loaded using less memory (less overwrites).
  • General code improvements and refactors.
2024-09-02 22:17:53
Heat.js

Heat.js v4.2.1 - ES2000 support! Improved GUIDs! Fixes!

General Improvements:

  • Moved from ES2016 to ES2020.
  • Improved the event assignments, which are now single lines.
  • The GUIDs generated now used the "crypto.randomUUID()" instead of the custom-built one (this is now RFC4122-compliant).
  • Removed string concatenation usages, and replaced with string templates.

Fixes:

  • Fixed a fault that caused the title bar buttons to appear in different sizes (if the default font is unavailable).
  • Fixed a fault that prevented the multiple spaces used in type names from being replaced with underscores.
2024-08-20 23:52:48
Heat.js

Heat.js v4.2.0 - Current year button! Lots of improvements and fixes!

Binding Options:

  • Added a new option called "title.showCurrentYearButton" (defaults to true), which states if the "Current Year" button should be shown in the title bar.

Configuration Options:

  • Added a new option called "text.currentYearSymbolText", which states the symbol text to use for the "Current Year" button (defaults to "⏎").
  • Added a new option called "text.currentYearText", which states the text to use for the "Current Year" button (defaults to "Current Year").

UI Changes:

  • Added a new "Current Year" button to the title bar next to the "Next" button.

Improvements:

  • The width of the days calculated per view is now tracked per instance, instead of for all.
  • Added configuration settings to force types to be declared.
  • Updated to the latest versions of the NPM packages.
  • Moved more code into the shared files.
  • Improved type signatures and function signatures.

Fixes:

  • Fixed a fault that caused the "Next" button to fire the wrong custom trigger.
  • Fixed some warnings appearing in the console for input fields having no name/id attributes set.
2024-07-26 04:49:25
Heat.js

Heat.js v4.1.1 - UI improvements and fixes!

  • Added a background color and border to the configuration dialog.
  • Renamed some of the types to prevent collisions with other libraries.
  • Fixed a fault that caused the "Chart" view to use different heights when showing different years (due to a visible day issue).
2024-07-19 00:34:38
Heat.js

Heat.js v4.1.0 - UI improvements! Configuration improvements! Fixes!

UI Changes:

  • The title bar buttons now use symbols instead of text (to free up space), and use tooltips that use existing configuration settings.

Configuration:

  • BREAKING: All text configuration settings are now under a new section called "text".
  • Added a new option called "text.backButtonSymbolText", which states the symbol text to use for the "Back" button (defaults to "←").
  • Added a new option called "text.nextButtonSymbolText", which states the symbol text to use for the "Next" button (defaults to "→").
  • Added a new option called "text.refreshButtonSymbolText", which states the symbol text to use for the "Refresh" button (defaults to "↻").
  • Added a new option called "text.exportButtonSymbolText", which states the symbol text to use for the "Export" button (defaults to "↓").
  • Added a new option called "text.importButtonSymbolText", which states the symbol text to use for the "Import" button (defaults to "↑").

Improvements:

  • Fixed missing return types from the private functions.
  • The tooltip code is now in a separate file called "ts/areas/tooltip.ts".
  • The firing custom trigger code is now in a separate file called "ts/areas/trigger.ts".
  • The binding options code is now in a separate file called "options/binding.ts".
  • The configuration options code is now in a separate file called "options/config.ts".
  • The disabled background code is now in a separate file called "ts/area/disabled.ts".
  • Massive reorganization of all the .ts files in the project.
  • NPM package update.
  • Renames to prevent collisions with JSON and String.

Fixes:

  • Fixed an issue that caused the buttons in the display to use the wrong font.
2024-07-16 04:07:12
Heat.js

Heat.js v4.0.5 - Minor code improvements and package updates!

  • "addClass()" and "removeClass()" now use classList for handling the classes assigned to DOM elements.
  • Moved all string concatenation to use string templates.
  • Updated to the latest NPM packages.
2024-07-08 19:27:51
Heat.js

Heat.js v4.0.4 - New scripts! Removed deprecated methods! Import improvements! Code improvements!

  • Fixed CDN links pointing to the wrong version.
  • Added a "build-all" script option so that everything (including minimized versions) can be built with one command.
  • Minor CSS layout improvements.
  • Removed deprecated "cancelBubble" usages and replaced them with "stopPropagation()".
  • Rewritten "getStyleValueByName()" to use the modern implementation to get a style.
  • Fixed a type mismatch between the PublicApi structure and the implementation.
  • Improved more type implementations.
  • Internal storage date methods are now exported via the "DateTime.ts" module.
  • The "import" public API function will now show the select files dialog if no files are passed.
2024-07-06 21:17:50
Heat.js

Heat.js v4.0.3 - More type improvements, renames, package updates, and documentation improvements!

  • Renamed the "scss" folder to "sass".
  • Updated file headers to show the correct name of the file.
  • Added more strict types around variables and objects.
  • Updated packages.
  • Minor documentation updates.
2024-07-05 18:18:21
Heat.js

Heat.js v4.0.2 - Fixed warnings, and added stricter types!

  • Stricter types across the code base.
  • Updated documentation to reflect the TypeScript switch.
  • Fixed 800+ error messages due to export types allowing nulls.
  • Strict mode is now always on for all build modes.
2024-07-04 17:58:44
Heat.js

Heat.js v4.0.1 - Package fixes!

  • NuGet packages generated from the code are now 400KB in size instead of 36MB.
  • *.nupkg files are now ignored when an NPM package is built, or a NuGet file is built.