Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

v0.0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@novacbn novacbn released this 11 Mar 02:48
· 36 commits to master since this release

CHANGELOG

  • Added geraintluff/tv4 as a dependency for JSON Schema validation
  • Added format_css_declaration, format_css_reference, format_css_variable to util/shared/browser for handling CSS standardized formatting
  • Added map_classes, map_style, map_variables to util/shared/browser for handling mapping HTML and CSS properties to objects
  • Added format_dash_key to util/shared/string for transforming text into dash key-like strings
    • e.g. format_dash_key("This is a KeyYep") -> this-is-a-key-yep
  • Added format_tokens to util/shared/string for substituting %s tokens in a string, with the vararg spread
    • e.g. format_tokens("My name is %s! How are you, %s?", "Jeff", "Karen") -> My name is Jeff! How are you, Karen?
  • Added merged to stores/shared/merged for applying partials changes to an object over time
  • Added schema to stores/shared/schema for continuous JSON Schema validation for Svelte Store I/O
  • Intent to deprecate attribute_passthrough, class_passthrough, and html5_passthrough from actions/browser/element
    • Due to SSR not being possible with them, not being considered before
    • Use prop spreading to replace attribute_passthrough
    • Use map_classes from util/shared/browser to replace class_passthrough
  • Moved IJSONType from stores/browser/storage to util/shared/builtin
  • Updated storage to override Writable.set / Writable.update instead of handling Writable.subscribe
  • Fixed bug in storage, where if you set undefined, it would not update Store to reflect default value