File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/svelte-ux/src/lib/components Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 109
109
use:portalAction ={portal }
110
110
use:focusMove ={{ restoreFocus : true }}
111
111
role =" dialog"
112
+ tabindex =" -1"
112
113
>
113
114
{#if loading }
114
115
<Overlay center class =" rounded-sm" >
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
2
import { cls } from ' @layerstack/tailwind' ;
3
3
import { Duration , DurationUnits } from ' @layerstack/utils' ;
4
+ import type { DurationOption } from ' @layerstack/utils/duration' ;
4
5
import { timerStore } from ' @layerstack/svelte-stores' ;
5
6
6
7
import { getComponentClasses } from ' ./theme.js' ;
7
8
8
9
export let start: Date | undefined = undefined ;
9
10
export let end: Date | undefined = undefined ;
10
- export let duration: Partial < Duration > | undefined = undefined ;
11
+ export let duration: DurationOption | undefined = undefined ;
11
12
export let minUnits: DurationUnits = DurationUnits .Millisecond ;
12
13
export let totalUnits: number = 99 ;
13
14
export let variant: ' short' | ' long' = ' short' ;
You can’t perform that action at this time.
0 commit comments