Commit 942e704
committed
element/ak-timestamp: consistency pass and final check
# What
- Removes the unused Interface declaration
- Documents the observers.
- Adds `showElapsed` to the builder
- Updates the builder to allow (and typecheck) standard HTMLElement attributes
- Fixes the `@csspart` documentation, which was out of date
- Commented the `@observer` handlers, since how they’re called is not obvious
- Revised the tests to work with Vitest + Playwright.1 parent bf44865 commit 942e704
File tree
4 files changed
+358
-92
lines changed- src/ak-timestamp
4 files changed
+358
-92
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | | - | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
17 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
18 | 31 | | |
19 | 32 | | |
20 | 33 | | |
| 34 | + | |
21 | 35 | | |
22 | 36 | | |
23 | 37 | | |
24 | | - | |
| 38 | + | |
25 | 39 | | |
26 | 40 | | |
27 | | - | |
| 41 | + | |
| 42 | + | |
28 | 43 | | |
29 | 44 | | |
30 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 42 | | |
57 | 43 | | |
58 | 44 | | |
| |||
83 | 69 | | |
84 | 70 | | |
85 | 71 | | |
86 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
87 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
88 | 81 | | |
89 | | - | |
| 82 | + | |
90 | 83 | | |
91 | 84 | | |
92 | 85 | | |
| |||
171 | 164 | | |
172 | 165 | | |
173 | 166 | | |
| 167 | + | |
174 | 168 | | |
175 | 169 | | |
176 | 170 | | |
| |||
179 | 173 | | |
180 | 174 | | |
181 | 175 | | |
| 176 | + | |
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
| |||
0 commit comments