Skip to content

Releases: nilbuild/driver.js

1.6.0

Choose a tag to compare

@nilbuild nilbuild released this 25 Jun 16:43

Added

  • animationDuration config to control how long the highlight transition takes. (#104)
  • allowScroll config to lock body scroll while a tour is active.
  • onDoneClick hook, fired when the done button on the final step is clicked. (#500)
  • data property on a step for passing arbitrary data, accessible from hooks for custom per-step logic. (#539)

Changed

  • Breaking - Custom popover footer buttons no longer get auto styled, style them using .driver-popover-footer button selector (#555)
  • The popover exposes driver-popover-side-* and driver-popover-align-* classes as per the rendered side and alignment #608
  • Arrow positioning has been fixed #558 #429 #406

Fixed

  • Document event listener leak in onDriverClick that left handlers attached after the tour was destroyed. (#452)
  • Dropped the CSS :has() selector for broader browser compatibility. (#586)
  • Positioned highlighted elements and their children (e.g. dropdown menus) no longer get clipped. (#454, #563)
  • removeChild DOMException when re-rendering a popover whose wrapper was already detached from the DOM. (#572)
  • Close button on a single-element highlight() popover did nothing when clicked. It now closes the popover by default, respecting allowClose and any custom onCloseClick. (#444)

1.5.0

Choose a tag to compare

@nilbuild nilbuild released this 23 Jun 21:03
  • Add done-btn class to next button (closes #610)
  • Pass final state to onDestroyed hook (closes #553)
  • Keep tour open on arrow-left at step 1 (closes #564)
  • Remove button text-shadow ghost text (closes #605)
  • Fire onNextClick on overlay nextStep (closes #576)
  • Add getNextStep to the driver API (closes #420)
  • Remove unicode characters from buttons

1.4.0

Choose a tag to compare

@nilbuild nilbuild released this 18 Nov 22:25
  • overlayClickBehavior now supports callbacks (Fixes #476, #600)
  • Documents missing configuration option #573

1.3.6

Choose a tag to compare

@nilbuild nilbuild released this 13 May 08:44
  • Fix - Buttons not clickable when they have nested elements #560
  • Documents the missing options #562
  • Fix - Module not found: Default condition should be last one #545
  • Fix - Type definition for onPopoverRender #548
  • Fix - CSS not importable in CSS files

Thank you @jarikmarwede @SliverYuki and @ervan23 for the contributions 🙏

1.3.4

Choose a tag to compare

@nilbuild nilbuild released this 02 Feb 15:59
  • Fix #431 - Scroll to top for taller elements
  • Fixes issue where CSS is not importable in CSS file using @import

1.3.2

Choose a tag to compare

@nilbuild nilbuild released this 02 Feb 04:32

1.3.1

Choose a tag to compare

@nilbuild nilbuild released this 10 Nov 18:14
  • Add programmatically destroy to api docs #438
  • Add license to package.json #432
  • Fix error in vite config #416

1.3.0

Choose a tag to compare

@nilbuild nilbuild released this 04 Sep 10:43
  • Update vite configuration to support ES2019 #422 #416 (Closes #409 and #410)
  • Popover title to support HTML #415 (Closes #414)
  • Fixes wrong type definition for onPopoverRender configuration
  • Add validation on class name 288c7de
  • Upgrade all the dependencies to latest

1.2.0

Choose a tag to compare

@nilbuild nilbuild released this 04 Aug 03:12
  • Improvements on types exports #384 #386
  • Fixes #389getActiveElement returning old value in popover hooks
  • Fixes #391allowKeyboardControl config not honored
  • Feat #383 — Adds new disableActiveInteraction config to disable interaction with the active element.

1.1.0

Choose a tag to compare

@nilbuild nilbuild released this 23 Jul 23:50
  • #377 Implemented focus trapping
  • #377 Adds ARIA attributes and use of semantic markup.