Skip to content

Releases: typhonjs-fvtt-lib/svelte

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.

0.0.20

21 Oct 03:07
Compare
Choose a tag to compare

Release 0.0.20 (minor)

  • Added enabled option to Position to turn on / off Position control instantly. Used in forthcoming PopOut module support.
  • Moved delete callback in TJSDocument before final update subscribers
  • Moved TJSGameSettings to svelte-standard.

0.0.19

19 Aug 22:08
Compare
Choose a tag to compare

Release 0.0.19 (medium)

  • Added new reactive embedded collections capability to TJSDocument.
  • DynArrayReducer / DynMapReducer / DerivedArrayReducer / DerivedMapReducer stores added.
  • Fixed compatibility aspects w/ Foundry v10.

0.0.18

23 Jul 23:17
Compare
Choose a tag to compare

Release 0.0.18 (minor)

  • Fixed teething issues w/ Vite.

0.0.17

23 Jul 11:28
764ff41
Compare
Choose a tag to compare

Release 0.0.17 (major dependency update)

  • Vite is now the recommended bundler / dev setup
  • Full support for Svelte HMR in Vite developer mode.

0.0.16

15 Jul 04:15
Compare
Choose a tag to compare

Release 0.0.16 (small update)

  • Updated DynArrayReducer from @typhonjs-svelte/lib to be able to dynamically reverse iteration. Useful for table
    sorting.

  • Fixed corner case issues in SessionStorage / LocalStorage.