26 Commits
Author SHA1 Message Date
Kamran Ahmed 82d51716d2 Add config to skip missing elements 2026-07-13 23:02:30 +01:00
Kamran Ahmed a4f86e4304 Expose active step index on hook options 2026-07-12 02:09:57 +01:00
Kamran Ahmed bf4ae7e492 Tighten comments across the per-instance changes 2026-07-08 02:04:39 +01:00
Kamran Ahmed f28d08bfb7 Scope config, state and emitter to each driver instance 2026-07-06 16:19:08 +01:00
Kamran Ahmed 16a3684f54 Add forward specs for per-instance isolation (#571) 2026-07-06 16:09:13 +01:00
Kamran Ahmed dab8de6b9c Add tests covering driver, overlay and popover branches 2026-07-06 16:08:15 +01:00
Kamran Ahmed 98d2c52e40 Fix close button not working on highlight 2026-06-25 16:46:05 +01:00
Kamran Ahmed 0dfcdacceb Fix positioned highlighted elements get clipped #454 #563 2026-06-25 15:45:30 +01:00
Kamran Ahmed 2633c2f453 Add test harness for multi-driver usage feature 2026-06-25 14:44:50 +01:00
Kamran Ahmed e1b00394ed Style footer buttons via class so custom buttons can opt out 2026-06-25 02:55:41 +01:00
Kamran Ahmed 4062ddf79b Fix document event listener leak in onDriverClick (#452) 2026-06-24 21:20:40 +01:00
Kamran Ahmed 431c0367b7 Add allowScroll config to lock body scroll during tour 2026-06-24 12:30:08 +01:00
Kamran Ahmed 43041de9e1 Add configurable animation duration 2026-06-24 12:12:45 +01:00
Kamran Ahmed b5105a9225 Get rid of :has selector (closes #586) 2026-06-24 09:01:00 +01:00
Kamran Ahmed f7b7760506 Fix issue with progress test merge 2026-06-24 02:37:38 +01:00
Kamran Ahmed 407c131c10 Add missing lifecycle tests 2026-06-24 02:35:24 +01:00
Kamran Ahmed e2e5dc0f3d Rewrite popover arrow positioning
Position the arrow with a continuous inline offset that points at the
element's center, replacing the three fixed start/center/end CSS slots so
it stays accurate when the element and popover differ in size.

- Aim at the center of the element/popover overlap, and fall back to the
  configured align only when the element spans the whole popover edge
- Flip the arrow to the perpendicular edge when the element scrolls clear
  of the popover, so it keeps pointing at the element instead of a corner
- Move positioning into src/position.ts with pure, unit-tested helpers
- Default popover side is now bottom instead of left
- Drop the internal "over" value from the public Side type
2026-06-24 02:16:29 +01:00
Kamran Ahmed a8fcd260af Add support onDoneClick 2026-06-24 01:03:47 +01:00
Kamran Ahmed d52bc2d44e Assign popover align/side classes to popover 2026-06-24 00:01:51 +01:00
Kamran Ahmed 275b4428c0 Add getNextStep to the driver API (closes #420) 2026-06-23 21:48:29 +01:00
Kamran Ahmed c3847ccf84 Fire onNextClick on overlay nextStep (closes #576) 2026-06-23 21:48:29 +01:00
Kamran Ahmed 5af1a5418d Keep tour open on arrow-left at step 1 (closes #564) 2026-06-23 21:48:29 +01:00
Kamran Ahmed 158711f2f6 Pass final state to onDestroyed hook (closes #553) 2026-06-23 21:48:29 +01:00
Kamran Ahmed 7826aa98d0 Add done-btn class to next button (closes #610) 2026-06-23 21:48:29 +01:00
Kamran Ahmed 4fd1a55297 Add a jsdom test suite for the public API 2026-06-23 09:48:04 +01:00
Kamran Ahmed 6cadce0285 Bump version 1.0.0-next.0 2023-06-24 01:50:34 +01:00