Kamran Ahmed
b294d7e767
Redesign landing page
2026-06-26 11:59:51 +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
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
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
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
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
498be73ba3
Modernize build and docs tooling
2026-06-23 13:48:29 +01: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
Jarik Marwede
c1123f9f16
Fix children of driver buttons not triggering click events ( #560 )
...
* Fix children of driver buttons not triggering click events
* Replace custom function with Element.closest()
2025-05-13 09:36:36 +01:00
Jarik Marwede
bb08637eb5
Fix onPopoverRender type definition ( #548 )
2025-02-03 17:32:08 +00:00
Kamran Ahmed
19d10fffd2
Improve scroll for taller elements
2025-02-02 15:41:32 +00:00
Kamran Ahmed
04bbfaa33d
Add patch for positioning
2025-02-02 04:23:58 +00:00
Kamran Ahmed
333d0df15b
Add support for driver object in hooks
2025-01-31 01:32:56 +00:00
Richard
c9713c715d
feat: allow element to be type function that returns an element ( #463 )
2025-01-22 17:19:16 +00:00
Mahesh Perera
e43c08142a
Added 'disableActiveInteraction' per step. ( #534 )
2025-01-20 00:25:17 +00:00
Huang Chenghao
80a8e2360b
Feature/support click mask to next step ( #499 )
...
* feature: Support click mask to next step
* refactor: rename `clickMaskBehavior` to `overlayClickBehavior`
2024-07-30 22:58:06 +01:00
Zordex and ekaidalov
c887729af7
fix: innerHTML support for popover title ( #414 ) ( #415 )
...
Co-authored-by: ekaidalov <ekaidalov@aligntech.com >
2023-08-28 18:24:33 +01:00
Homyee King
4db6d5e0d8
fix: onPopoverRender definition is wrong ( #398 )
2023-08-08 14:17:44 +01:00
Eddy Bordi
288c7deafb
Add validation to ensure className is a string
2023-08-04 04:36:36 +01:00
Kamran Ahmed
0b494ac5d3
Fix animation issue with scrollable elements
2023-08-04 04:02:48 +01:00
Kamran Ahmed
4ccc4923f9
Fixes #383 - adds support for disableActiveInteraction option
2023-08-04 01:52:57 +01:00
Kamran Ahmed
c2d99506bd
Fixes #389 getActiveElement returns old element
2023-08-04 01:33:28 +01:00
Kamran Ahmed
529f19abbe
Fixes #391 allowKeyboardControl option not working
2023-08-04 01:22:11 +01:00
ntnyq
03a298d605
Export type of driver
2023-07-30 13:39:30 +01:00
Kamran Ahmed
2d820590ae
Focus on popover first then element
2023-07-24 00:35:45 +01:00
Kamran Ahmed
6bf3ab4d81
Add aria attributes
2023-07-24 00:35:45 +01:00
Kamran Ahmed
0f198fda8a
Implement focus trapping
2023-07-24 00:35:45 +01:00
Kamran Ahmed
de338586e6
Add a way to configure steps
2023-07-06 08:27:31 +01:00
Kamran Ahmed
42aa4bee6a
Rename onPopoverRendered to onPopoverRender
2023-07-05 14:20:06 +01:00
Kamran Ahmed
4e7520558f
Add isFirstStep and isLastStep
2023-07-05 14:14:15 +01:00
Kamran Ahmed
80a2c0dbf1
Add API configuration page
2023-07-04 13:38:31 +01:00
Kamran Ahmed
425e02a0b7
Add examples for styling
2023-07-03 15:29:06 +01:00
Kamran Ahmed
4b04f2c2e8
Fix custom button clicks not working
2023-07-03 14:22:41 +01:00
Kamran Ahmed
4fb4c20434
Fix event handlers not firing in drive
2023-07-03 03:24:04 +01:00
Kamran Ahmed
9d696c3f24
Overlay config change
2023-07-03 02:13:42 +01:00
Kamran Ahmed
a0a9d5a98e
Fix button configuration not applied
2023-07-01 17:45:28 +01:00