Skip to content

Releases: typhonjs-fvtt-lib/svelte

0.2.0-next.5

14 Dec 14:36
Compare
Choose a tag to compare
0.2.0-next.5 Pre-release
Pre-release

Release 0.2.0-next.5

  • Out of the box Typescript / Foundry types support!

0.2.0-next.4

01 Dec 21:05
Compare
Choose a tag to compare
0.2.0-next.4 Pre-release
Pre-release

Release 0.2.0-next.4

  • Fix bring to top pointer down with capture on app element.

0.2.0-next.3

30 Nov 23:51
Compare
Choose a tag to compare
0.2.0-next.3 Pre-release
Pre-release

Release 0.2.0-next.3

  • Refactor application shell focus trapping.

0.2.0-next.2

26 Oct 09:25
Compare
Choose a tag to compare
0.2.0-next.2 Pre-release
Pre-release

Release 0.2.0-next.2

0.2.0-next.1

23 Oct 01:07
Compare
Choose a tag to compare
0.2.0-next.1 Pre-release
Pre-release

Release 0.2.0-next.1 (major)

  • Various sub-path refactoring / removals.
  • Overall refinement / streamlining.

0.1.2

03 Sep 23:35
Compare
Choose a tag to compare

Release 0.1.2 (medium)

  • Fixed min window height / width for app shells (global vs script space variable access)
  • Fixed SvelteApplication render gating / render: false will short circuit properly when app not rendered.
  • EmptyApplicationShell component can now be made resizable via setting the resizable app option.
  • Added closeOnInput prop to TJSGlassPane which fires close:glasspane event on pointer down event.
    • Added modalOptions.closeOnInput to TJSDialog data / close modal dialog on glasspane input.
  • Upgraded TJSDialogData adding reactive accessors for all standard data. New replace function instead of accessor setting of all data.
  • Update types for transition / modal options for TJSDialog.
  • Fixed application shell transition prop handling
    • defaultCloseAnimation option not taking when set to false w/ no transition defined.
    • separately defined in / out transitions works correctly.
  • DynReducerHelper.filters.regexObjectQuery
    • Can now take "accessor" strings to lookup nested properties. Simply provide a string separated by . for each depth.
    • An additional option is available accessWarn when set to true will log warnings when property lookups fail.

0.1.1

26 Jul 03:00
Compare
Choose a tag to compare

Release 0.1.1 (minor)

  • Fix for ResizableHandle component / elementRoot store access
  • Fix for SvelteApplication close hook invocation using JQuery element.

0.1.0

10 Jul 00:12
f0676aa
Compare
Choose a tag to compare

Release 0.1.0 (major)

  • Large overhaul of library structure.
  • Some import locations have changed; See release notes in Discord for updated change info.

0.0.22

08 Feb 21:39
Compare
Choose a tag to compare

Release 0.0.22 (major)

  • Advanced focus management including focus trapping for application shells.

    • Check options focusAuto, focusKeep, focusTrap in SvelteApplication options / reactive
      • By default focusAuto / focusTrap is enabled for application shells.
      • focusSource for pass-through handling of returning focus to source of action on close.
    • Note: To enable keyboard navigation by tab traversal you need to remove / reassign the Foundry key binding for
      tab.
  • TJSDialog completely overhauled.

    • Keeps the same configuration options / remove all JQuery support.
    • New wait method w/ managed Promise handling.
      • Inside of dialog Svelte components access managed promise via getContext('#managedPromise')
  • New options for application header button options:

    • Left align buttons after title w/ alignLeft: true.
    • Keep button when minimized w/ keepMinimized: true.
    • Context menu / right click support w/ onContextMenu callback.
    • Integrated keyboard handling.
  • CSS default variables (used across all components when text is focused / hovered):

    • --tjs-default-text-shadow-focus-hover -> default value: '0 0 8px var(--color-shadow-primary)'
  • Undefined universal CSS variables for focus visible support / keyboard navigation:

    • --tjs-default-outline-focus-visible: Define outline for focused components.
    • --tjs-default-transition-focus-visible: Optional transition to apply.
    • --tjs-default-box-shadow-focus-visible: Optional box-shadow to apply instead of outline.
  • Vite 4 support

0.0.21

02 Nov 03:54
Compare
Choose a tag to compare

Release 0.0.21 (minor)

  • Updated @typhonjs-svelte/lib to latest.
  • New utility class to manage CSS variable called StyleManager added to util subpackage export.