Skip to content

Releases: dragonwocky/psyche

v0.3.4

23 Feb 11:10
c07e52f
Compare
Choose a tag to compare

Fixed

  • Replaced requestIdleCallback with setTimeout for Safari support.

v0.3.3

30 Jan 09:25
9298558
Compare
Choose a tag to compare

Added

  • scroll-behaviour: smooth

v0.3.2

29 Jan 09:46
c2360c3
Compare
Choose a tag to compare

Changed

  • Focused results are outlined to differentiate them from
    hovered results.

Fixed

  • <mark></mark> elements are styled according to the accent
    colour (the browser's built-in yellow highlight doesn't contrast
    well with other light colours).

v0.3.1

27 Jan 13:08
c895f3c
Compare
Choose a tag to compare

Added

  • Exported the platformModifier string for direct use
    (e.g. in search trigger labels).

Removed

  • Removed {{platformModifier}} tag replacement.

Fixed

  • Depend on the more reliable site.url(<string> page.data.url)
    for detecting Lume page URLs.

v0.3.0

27 Jan 06:10
53f44fd
Compare
Choose a tag to compare

Added

  • Adjusted and exposed the internal hotkey registration
    for use with a platformModifier property equivalent
    to the {{platformModifier}} tag.

Changed

  • Moved the Lume indexer's slugifer to the indexers/shared.ts file.
  • Renamed the {{modifier}} tag to {{platformModifier}}.

Fixed

  • Slugifier no longer slices the last letter off
    slugs generated from headings without spaces.
  • Modals close when results are clicked.
  • Removed console.log debug statement.
  • Gave position:sticky priority over position:-webkit-sticky.

v0.2.0

26 Jan 11:03
bcaded2
Compare
Choose a tag to compare

Added

  • Configuration options.
  • Zoom-in-zoom-out modal open animation.
  • Rounded scrollbar style.
  • Footer copyright.
  • {{modifier}} tag for platform-specific hotkeys
    (replaced with on MacOS and CTRL on other platforms).
  • Added list and code result types.

Changed

  • Component constructed on the client-side instead of during site generation.
  • Scoped CSS styling instead of utility classes.
  • More efficient search caching logic.
  • Tweaked text sizing and positioning.

Fixed

  • Slugs generated by the Lume indexer no longer cut words in half.
  • The Lume indexer uses Deno's import map to infer the current version of
    Lume and prevent dependeny conflicts on Lume updates.
  • Empty <mark></mark> elements are no longer added to results.
    This occured when the search input was empty and only { type: "page" }
    results were displayed, and would cause e.g. & to be displayed as &amp;.