Commit Graph

579 Commits

Author SHA1 Message Date
Kamran Ahmed 565757bfb0 1.6.0 1.6.0 2026-06-25 17:41:04 +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 39f3377176 Fix broken build and wrong x link 2026-06-25 13:06:43 +01:00
Frederic Bahr 4d9de02a5d feat: add 'data' property to DriveStep for custom logic support
Before it was not possible to pass custom data to the `DriveStep` interface.
This limits the possiblities within a hook to execute custom logic based on the current step.

Fixes #539
2026-06-25 11:29:46 +01:00
Kamran Ahmed 46371576c0 Add changelog page and refine docs styling 2026-06-25 02:55:46 +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 abc923b7fb Make docs depend on unversioned package 2026-06-25 02:13:12 +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 bb2dbff280 Fix black borders in mobile docs header 2026-06-24 12:12:45 +01:00
Kamran Ahmed 43041de9e1 Add configurable animation duration 2026-06-24 12:12:45 +01:00
Md Yeasin 343573c5b7 Fix stale copyright year in docs (#582) 2026-06-24 10:52:42 +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 67b7450869 Update github link in package.json 2026-06-24 02:18:28 +01:00
Kamran Ahmed f321230f9c Remove broken gif from the demo 2026-06-24 02:17:37 +01:00
Kamran Ahmed 614fc7e430 Document popover side/align and add arrow playground examples
- Clarify the side/align options and their defaults in the docs
- Give each popover-position example a unique id
- Add an "Arrow Positioning" playground group covering the edge cases
2026-06-24 02:16:35 +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 fb5c1bf90b Document theming classes for popover 2026-06-24 00:11:15 +01:00
Kamran Ahmed d52bc2d44e Assign popover align/side classes to popover 2026-06-24 00:01:51 +01:00
Kamran Ahmed 310ddf9084 Bump version 1.5.0 2026-06-23 22:01:05 +01:00
Kamran Ahmed 52623adf60 Remove unicode characters from buttons 2026-06-23 21:52:50 +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 0476a5b43d Remove button text-shadow ghost text (closes #605) 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 6af2229e8d Add SEO meta, OG image, sitemap and robots to docs 2026-06-23 13:48:29 +01:00
Kamran Ahmed 9b6b5e4fd2 Use the JS markdown processor in docs (Astro 7) 2026-06-23 13:48:29 +01:00
Kamran Ahmed f2937ea3ee Fix home page examples not firing 2026-06-23 13:48:29 +01:00
Kamran Ahmed bf461234b8 Validate the package on publish/CI; fix dual-format types 2026-06-23 13:48:29 +01:00
Kamran Ahmed 28e0d7cf10 Fix docs deploy (Node 22) and the feature marquee 2026-06-23 13:48:29 +01:00
Kamran Ahmed 498be73ba3 Modernize build and docs tooling 2026-06-23 13:48:29 +01:00
Kamran Ahmed 61c33f7a41 Add np for interactive releases 2026-06-23 09:48:04 +01:00
Kamran Ahmed 3be3cb8203 Remove release workflow 2026-06-23 09:48:04 +01:00
Kamran Ahmed 65fc79abd1 Add release workflow to publish on tag push 2026-06-23 09:48:04 +01:00
Kamran Ahmed 92a1dce2f4 Add CI workflow to build and test on PRs 2026-06-23 09:48:04 +01:00
Kamran Ahmed 4fd1a55297 Add a jsdom test suite for the public API 2026-06-23 09:48:04 +01:00
Kamran Ahmed 664af5330d Style the playground with Tailwind CSS 2026-06-23 09:48:04 +01:00
Kamran Ahmed c324835cc8 Modernize tooling and add an Astro examples playground 2026-06-23 09:48:04 +01:00
André Goulart Nogueira 4e4d07d481 Fix typo in button guide documentation (#594)
`onPreviousClick` is not a valid callback. The correct syntax is `onPrevClick`.
2026-02-27 11:36:55 +00:00
Kamran Ahmed 061fb774fb Bump version 1.4.0 1.4.0 2025-11-18 22:21:52 +00:00
Kamran Ahmed df376f58e2 Adds support for overlayClickBehavior (#600)
* Add overlay click behavior

* Add overlay click behavior
2025-11-18 22:17:00 +00:00
Vadim Konung e5baef1274 update: Adds a missing type option in the guide for the configuration (#573)
* Update `element` type

This change adds a missing type option to `element` property in the configuration to accept a function that returns an Element.

* adds mention in the comment for the type

* Update docs/src/content/guides/configuration.mdx

Co-authored-by: Jarik Marwede <account@jarikmarwede.com>

---------

Co-authored-by: Jarik Marwede <account@jarikmarwede.com>
2025-07-11 12:56:56 +01:00
Kamran Ahmed 2c19cd0fca fix: grammar on readme 2025-07-09 13:28:16 +01:00