Skip to content

Releases: litejs/ui

Release v25.1.0

11 Jan 10:51
v25.1.0
6f042eb
Compare
Choose a tag to compare

New Features:

  • Add shift+wheel as alternative for rotate (Lauri Rooden)
  • Add 'name' binding (Lauri Rooden)
  • Add namespace to expand (Lauri Rooden)
  • Add missing kb toggle comments (Lauri Rooden)

Removed Features:

  • Remove rarely used svg tags with better alternatives (Lauri Rooden)
  • Remove 'item in list' custom syntax to allow native javascript (Lauri Rooden)
  • Drop next-sibling combinator (+) support from templates (Lauri Rooden)
  • ! Drop El.next and El.prev (Lauri Rooden)

Fixes:

  • Fix cleaning up replacement elements (Lauri Rooden)
  • Update $s to newly created scope (Lauri Rooden)

Enhancements:

  • Use single global bindOnce (Lauri Rooden)
  • Upgrade libs (Lauri Rooden)
  • Improve binding operator matching (Lauri Rooden)
  • Move templateRe inside viewParse (Lauri Rooden)
  • Use loop to format (Lauri Rooden)
  • Upgrade libs (Lauri Rooden)
  • css: Extract .anim to own file (Lauri Rooden)
  • Blur all elements (Lauri Rooden)
  • css: Increase .lg .lg-* specificity (Lauri Rooden)
  • Improve tests (Lauri Rooden)
  • Accept CRLF as template line ending (Lauri Rooden)

v24.11.0

12 Nov 19:06
v24.11.0
Compare
Choose a tag to compare

New Features:

  • Add en as default locale when none defined (Lauri Rooden)
  • Add swap support to $b.el (Lauri Rooden)
  • Add El.nearest utility function (Lauri Rooden)
  • css: Add .lX classes for push-left-units (Lauri Rooden)
  • Add scope back to if render (Lauri Rooden)
  • Add empty icons to examples (Lauri Rooden)
  • i18n: Add date extension (Lauri Rooden)
  • i18n: Add num extension (Lauri Rooden)
  • i18n: Add format.ext (Lauri Rooden)
  • Add markup to core (Lauri Rooden)
  • Add wrapper function for xhr.ui (Lauri Rooden)
  • Add quote utility function (Lauri Rooden)

Removed Features:

  • Drop isStr(fn) from El.on (Lauri Rooden)
  • Remove $s only from Elements (Lauri Rooden)
  • css: Remove duplicated spacing classes .p00 (Lauri Rooden)
  • css: Use only child selector to remove nested grid spacing (Lauri Rooden)
  • test: Remove old files (Lauri Rooden)

Fixes:

  • Fix emit returned listener count (Lauri Rooden)
  • Fix $b.each to handle array content change (Lauri Rooden)
  • Fix getExt cache (Lauri Rooden)
  • test: Fix changing language (Lauri Rooden)
  • Fix possible prototype-pollution (Lauri Rooden)

Enhancements:

  • Add tests (Lauri Rooden)
  • Pass opts+txt to raw plugins as common case (Lauri Rooden)
  • Reduce variable write (Lauri Rooden)
  • Use el scope to resolve classes in $b.is (Lauri Rooden)
  • Rearrange code (Lauri Rooden)
  • doc: Update html examples (Lauri Rooden)
  • Update svg test view (Lauri Rooden)
  • Move runKb to inner scope (Lauri Rooden)
  • Resolve view.root as string before storing a ref to it (Lauri Rooden)
  • Update tests for node22 where node.language is defined (Lauri Rooden)
  • Do not parse inline javascript (Lauri Rooden)
  • Bind hasOwn (Lauri Rooden)
  • Change emit signature (Lauri Rooden)
  • i18n: Take opts.lang before navigator.language (Lauri Rooden)
  • i18n: Expose getExt (Lauri Rooden)
  • Use first locale when lang not set (Lauri Rooden)
  • Reduce variable writting (Lauri Rooden)
  • Cleanup plugin.el (Lauri Rooden)
  • Accept data for events without delay (Lauri Rooden)
  • Keep ref to null (Lauri Rooden)
  • Clear double error logging (Lauri Rooden)
  • Inline View.path (Lauri Rooden)
  • ! Replace Event.asEmitter with El.asEmitter (Lauri Rooden)
  • Update simplest example (Lauri Rooden)
  • Use getUrl before pushBase to get hash-url (Lauri Rooden)
  • Do not redirect to hash-url when pushState not supported (Lauri Rooden)
  • Make view.show private (Lauri Rooden)
  • Inline logErr (Lauri Rooden)
  • ! load: Replace sendErrors with sendLog (Lauri Rooden)
  • test: Rename test/html/example2.html to routed.html (Lauri Rooden)
  • test: Rename test/html/svg-example1.html to svg-spa.html (Lauri Rooden)
  • test: Rename test/html/example1.html to simplest.html (Lauri Rooden)

v24.7.0

27 Jul 19:18
v24.7.0
Compare
Choose a tag to compare

New Features:

  • Add hold event (Lauri Rooden)
  • Add tap event (Lauri Rooden)
  • shim: Add getComputedStyle (Lauri Rooden)
  • Add El.next/prev (Lauri Rooden)
  • Add css transition support to El.kill (Lauri Rooden)

Removed Features:

Breaking Changes:

  • ! Rename View.base to View.path (Lauri Rooden)
  • ! Rename index.js to ui.js (Lauri Rooden)
  • ! ui: Pass view instead of View to paramCb (Lauri Rooden)
  • ! Change acceptMany arguments order (Lauri Rooden)
  • ! Drop El.style (Lauri Rooden)

Fixes:

  • Fix rate onEnd (Lauri Rooden)
  • Fix pending view load on bubbleUp state (Lauri Rooden)
  • Fix scope on ElWrap render (Lauri Rooden)
  • Fix El.closest with textNodes (Lauri Rooden)

Enhancements:

  • Add replace utility function (Lauri Rooden)
  • Add opts to addEvent (Lauri Rooden)
  • Add minimal style to test/html (Lauri Rooden)
  • Add .sticky.is-stuck example (Lauri Rooden)
  • Add pointer examples (Lauri Rooden)
  • ui: Remove $o from scope (Lauri Rooden)
  • Remove nexttick test (Lauri Rooden)
  • Remove documentMode check (Lauri Rooden)
  • Remove scope from 'if' render binding (Lauri Rooden)
  • el: Remove Dialog logic from Modal (Lauri Rooden)
  • doc: Fix Quick-Start link (Lauri Rooden)
  • Make LiteJS to emitter and emit all view events to it (Lauri Rooden)
  • Return undefined from checkUrl (Lauri Rooden)
  • ref: Rename histBase to pushBase (Lauri Rooden)
  • Cleanup (Lauri Rooden)
  • Use more Function constructor (Lauri Rooden)
  • shim: Patch pagehide with beforeunload (Lauri Rooden)
  • ui: Move params to ui root scope (Lauri Rooden)
  • load: Pass fileName to extension handler (Lauri Rooden)
  • load: Use function constructor for nop (Lauri Rooden)
  • Move checkUrl to histStart scope (Lauri Rooden)
  • Rename shim/index.js to shim.js (Lauri Rooden)
  • Move sticky under test/html (Lauri Rooden)
  • Move topfloat example under test/html (Lauri Rooden)
  • Move svg-example to test/html/ (Lauri Rooden)
  • Deploy Pages when "test/html/**" changes (Lauri Rooden)
  • Move examples under test/html (Lauri Rooden)
  • Create workflow pages.yml (Lauri Rooden)
  • doc: Use packagephobia image (Lauri Rooden)
  • Update topfloat example (Lauri Rooden)
  • Load defs also when el exists (Lauri Rooden)
  • Expose eventStop as El.stop (Lauri Rooden)
  • Resolve @ binding earlier (Lauri Rooden)
  • Pass optional arguments for function listener with selector (Lauri Rooden)
  • Do not pass $s to render as el.$s will be taken first (Lauri Rooden)
  • touch: Do not preventDefault all events (Lauri Rooden)
  • Set touchMode when any event/start/stop listener is set (Lauri Rooden)
  • Set touchPos before no-drag cancel to be usable with multitouch (Lauri Rooden)
  • Reduce used variables (Lauri Rooden)
  • Move touch functions inside touchInit (Lauri Rooden)
  • Do not force val to string in El.css (Lauri Rooden)
  • Unify nodeType usage (Lauri Rooden)
  • Allow to move class from one element to other with El.cls (Lauri Rooden)
  • Log viewEval errors (Lauri Rooden)
  • Accept array of elements in El.* functions (Lauri Rooden)
  • Notify about debug mode (Lauri Rooden)
  • shim: Clean up localStorage after storage test (Lauri Rooden)
  • shim: Reduce used variables (Lauri Rooden)
  • Rename slot commentNode (Lauri Rooden)
  • Unify whitespaces (Lauri Rooden)
  • Improve ui load order (Lauri Rooden)

v24.5.0

15 May 12:28
v24.5.0
Compare
Choose a tag to compare

New Features:

  • Add binding.is (Lauri Rooden)
  • Add binding el (Lauri Rooden)
  • Add onStart/onEnd to El.rate (Lauri Rooden)
  • Add i18n (Lauri Rooden)
  • Add format (Lauri Rooden)

Removed Features:

  • Remove return value from El.replace (Lauri Rooden)
  • load: Drop xhr._l (Lauri Rooden)

Fixes:

  • Fix getter arguments order (Lauri Rooden)
  • Fix renderRe backref (Lauri Rooden)
  • Fix acceptMany delay with numeric value (Lauri Rooden)
  • load: Fix loading file second time (Lauri Rooden)
  • Fix ElWrap cloneNode deep=false (Lauri Rooden)

Enhancements:

  • Fix lint errors (Lauri Rooden)
  • Remove ElWrap from fast path (Lauri Rooden)
  • Remove nonworking rmEvent from elKill (Lauri Rooden)
  • Remove unused shims and bindings (Lauri Rooden)
  • ci: Remove signature from release (Lauri Rooden)
  • Update router (Lauri Rooden)
  • Use currentScript content as ui (Lauri Rooden)
  • Reduce function calls (Lauri Rooden)
  • Unset $s in all killed nodes (Lauri Rooden)
  • Rename app.data to app.$d (Lauri Rooden)
  • Inline TOUCH_FLAG and touchPos (Lauri Rooden)
  • touch: Hardcode threshhold to pan (Lauri Rooden)
  • touch: Do not move by default (Lauri Rooden)
  • ! Rename El.attr to El.set (Lauri Rooden)
  • Accept elWrap for append before (Lauri Rooden)
  • Rename El.bindings to El.$b (Lauri Rooden)
  • Rename bindings.for to bindings.each (Lauri Rooden)
  • Keep ref to View.data (Lauri Rooden)
  • Inline setBreakpoints (Lauri Rooden)
  • shim: Attach methods to html (Lauri Rooden)
  • shim: Use window.document for node detection (Lauri Rooden)

v24.0.0-rc.6

24 Feb 10:46
v24.0.0-rc.6
Compare
Choose a tag to compare

New Features:

  • Add $s binding (Lauri Rooden)
  • Add hr-label.css (Lauri Rooden)
  • form: Add file-selector-button (Lauri Rooden)
  • Add test/form.html (Lauri Rooden)
  • Add each utility function (Lauri Rooden)
  • Add El.rm (Lauri Rooden)
  • Add simple for binding (Lauri Rooden)
  • Add binding.view to core (Lauri Rooden)
  • Add LiteJS.base (Lauri Rooden)
  • Add tests (Lauri Rooden)

Removed Features:

  • shim: Remove \u2028 from JSON.parse (Lauri Rooden)
  • binding/if: Remove kill listener (Lauri Rooden)
  • Remove listen/unlisten (Lauri Rooden)
  • Remove free text support from INPUT, use val binding (Lauri Rooden)
  • Remove binding.once notation (Lauri Rooden)
  • Remove pluginProto (Lauri Rooden)
  • Remove with usage (Lauri Rooden)
  • Drop binding plugin (Lauri Rooden)
  • Remove return value from El.append/empty (Lauri Rooden)
  • Remove global View (Lauri Rooden)
  • load: Remove setTimeout with eval (Lauri Rooden)
  • Remove global kb support, use root view (Lauri Rooden)
  • polyfill: Remove performance patch (Lauri Rooden)
  • Remove bindings.with (Lauri Rooden)

Fixes:

  • binding/view: Fix setting root url (Lauri Rooden)
  • render: Fix render when current el removed (Lauri Rooden)
  • Fix tests on node 21 (Lauri Rooden)
  • Fix eventStop on pinch/rotate (Lauri Rooden)
  • Fix form example (Lauri Rooden)
  • Fix loading files defined in views (Lauri Rooden)
  • Fix histStart with onpopstate (Lauri Rooden)
  • Fix selector and data in acceptMany with delay or object (Lauri Rooden)

Enhancements:

  • shim: Unify function names (Lauri Rooden)
  • ci: Run coverage on action side (Lauri Rooden)
  • Use c8 for coverage (Lauri Rooden)
  • Cleanup (Lauri Rooden)
  • css: Use vertical-align: top by default (Lauri Rooden)
  • css: Unify .no- classnames (Lauri Rooden)
  • Cleanup (Lauri Rooden)
  • Use ElWrap inside elEmpty (Lauri Rooden)
  • Use more splitRe (Lauri Rooden)
  • Create Plugin.prototype.d once (Lauri Rooden)
  • Use $s for scope (Lauri Rooden)
  • Do not create new scope for each view (Lauri Rooden)
  • Use elScope for creating View.data (Lauri Rooden)
  • Expose LiteJS.ui for autostart (Lauri Rooden)
  • Use only = for textNode (Lauri Rooden)
  • Emit nav after resolving params (Lauri Rooden)
  • Cleanup (Lauri Rooden)
  • Use viewEval in view plugin (Lauri Rooden)
  • Expose $ui,$,$$ in js plugin (Lauri Rooden)
  • el: Rewrite el/confirm to el/dialog (Lauri Rooden)
  • Minimize plugin internal variables (Lauri Rooden)
  • Move getPluginContent out from prototype (Lauri Rooden)
  • Expose $ui in bindings (Lauri Rooden)
  • Release v24.0.0-rc.4 (Lauri Rooden)
  • Extract elTxt (Lauri Rooden)
  • Extract createComment to function (Lauri Rooden)
  • Cleanup (Lauri Rooden)
  • Start finding view.el from html (Lauri Rooden)
  • Rename /polyfill to /shim (Lauri Rooden)
  • Attach bindings to node on render (Lauri Rooden)
  • Return old value from setAttr (Lauri Rooden)
  • Use assign to extend El (Lauri Rooden)
  • Revert 'Take file parser from xhr.load instead of xhr' (Lauri Rooden)
  • Use addEvent directly for touch events (Lauri Rooden)
  • ! Rename LiteJS.start to View.start (Lauri Rooden)
  • Use View.show as default histCb (Lauri Rooden)
  • Update dev.html comments (Lauri Rooden)
  • ! Rename LiteJS.go to View.go (Lauri Rooden)
  • Rearrange code (Lauri Rooden)
  • polyfill: Force JSON patch for ie8 (Lauri Rooden)
  • Set globalData.url (Lauri Rooden)
  • Handle selector in acceptMany (Lauri Rooden)
  • ! Attach scope directly to dom node (Lauri Rooden)
    -----BEGIN SSH SIGNATURE-----
    U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg4bdwEFqFUau/sL98jakZfJpw5f
    VLGyjKE1Ek1YcMDYIAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
    AAAAQNowbg8FmmJAjsiY5+kztbkgjUobDTEVZq4sUhL3wgjLjHPKKeR7XKEqGmVAOAD+C9
    +lnkGDxIRRb6IFOVz1eQc=
    -----END SSH SIGNATURE-----