File tree Expand file tree Collapse file tree
shepherd.js/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111 let {
1212 classPrefix,
13- element = $bindable (),
1413 descriptionId,
15- firstFocusableElement,
16- focusableElements,
1714 labelId,
18- lastFocusableElement,
19- step,
20- dataStepId
15+ step
2116 } = $props ();
2217
23- let classes;
18+ let classes = $state ();
19+ let dataStepId = $state ();
20+ let element = $state ();
21+ let firstFocusableElement = $state ();
22+ let focusableElements = $state ();
23+ let lastFocusableElement = $state ();
2424
2525 const hasCancelIcon = $derived (step .options ? .cancelIcon ? .enabled ?? false );
2626 const hasTitle = $derived (step .options ? .title ?? false );
Original file line number Diff line number Diff line change 11<script >
22 import { makeOverlayPath } from ' ../utils/overlay-path.ts' ;
33
4- let { element = $bindable (), openingProperties = $bindable () } = $props ();
4+ let { openingProperties = $bindable () } = $props ();
5+ let element = $state ();
56 let modalIsVisible = $state (false );
6- let rafId = undefined ;
7+ let rafId = $state () ;
78 let pathDefinition = $derived (makeOverlayPath (openingProperties));
89
910 closeModalOpening ();
You can’t perform that action at this time.
0 commit comments