@operato/event-view 10.10.2 → 10.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/coverage/lcov-report/index.html +66 -21
  3. package/coverage/lcov.info +6394 -3195
  4. package/dist/src/calendar-monthly-styles.js +242 -12
  5. package/dist/src/calendar-monthly-styles.js.map +1 -1
  6. package/dist/src/calendar-monthly.d.ts +8 -1
  7. package/dist/src/calendar-monthly.js +90 -17
  8. package/dist/src/calendar-monthly.js.map +1 -1
  9. package/dist/src/calendar-weekly-styles.js +136 -13
  10. package/dist/src/calendar-weekly-styles.js.map +1 -1
  11. package/dist/src/calendar-weekly.d.ts +8 -1
  12. package/dist/src/calendar-weekly.js +92 -12
  13. package/dist/src/calendar-weekly.js.map +1 -1
  14. package/dist/src/day-overflow.d.ts +42 -0
  15. package/dist/src/day-overflow.js +71 -0
  16. package/dist/src/day-overflow.js.map +1 -0
  17. package/dist/src/index.d.ts +1 -0
  18. package/dist/src/index.js +1 -0
  19. package/dist/src/index.js.map +1 -1
  20. package/dist/src/ox-event-view.d.ts +3 -0
  21. package/dist/src/ox-event-view.js +33 -2
  22. package/dist/src/ox-event-view.js.map +1 -1
  23. package/dist/src/types.d.ts +66 -1
  24. package/dist/src/types.js +64 -1
  25. package/dist/src/types.js.map +1 -1
  26. package/dist/test/calendar-layout.test.js +102 -0
  27. package/dist/test/calendar-layout.test.js.map +1 -1
  28. package/dist/test/day-overflow.test.d.ts +1 -0
  29. package/dist/test/day-overflow.test.js +81 -0
  30. package/dist/test/day-overflow.test.js.map +1 -0
  31. package/dist/test/day-state.test.d.ts +1 -0
  32. package/dist/test/day-state.test.js +115 -0
  33. package/dist/test/day-state.test.js.map +1 -0
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +4 -3
  36. package/test/calendar-layout.test.ts +130 -0
  37. package/test/day-overflow.test.ts +103 -0
  38. package/test/day-state.test.ts +139 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.15.0](https://github.com/hatiolab/operato/compare/v10.14.0...v10.15.0) (2026-09-17)
7
+
8
+ **Note:** Version bump only for package @operato/event-view
9
+
10
+
11
+
12
+
13
+
14
+ ## [10.11.0](https://github.com/hatiolab/operato/compare/v10.10.7...v10.11.0) (2026-09-11)
15
+
16
+
17
+ ### :rocket: New Features
18
+
19
+ * **event-view:** cap a day cell, and say what the cap cut ([bc54b64](https://github.com/hatiolab/operato/commit/bc54b64d9ed0c3cb1242a08f4be6bbd332c745cd))
20
+ * **event-view:** draw today on the day, not only inside it ([706af5f](https://github.com/hatiolab/operato/commit/706af5ff88ff5b72bccb8fc83bfe225f005eb733))
21
+ * **event-view:** expand cut event titles with the house tooltip ([aced784](https://github.com/hatiolab/operato/commit/aced784f31421f10d290186016a944dfabfaef83))
22
+ * **event-view:** let a host say what is true of a day, not only what happened in it ([0e24614](https://github.com/hatiolab/operato/commit/0e246143c59c26c37b2a6fca1af251b0a62d68b6))
23
+
24
+
25
+ ### :bug: Bug Fix
26
+
27
+ * **event-view:** dim the neighbouring month with a colour, not opacity ([09965d0](https://github.com/hatiolab/operato/commit/09965d07f6b3a8c7b54638ab75ceadb138fb1d59))
28
+ * **event-view:** format day numbers at render, so they follow a language change ([9a5539f](https://github.com/hatiolab/operato/commit/9a5539fec148f98537f4fe6a590f7fbf393a3319))
29
+ * **event-view:** give the calendar header a scale, a named switch, and room ([fcd04eb](https://github.com/hatiolab/operato/commit/fcd04eb80cc479572a541facb11ed72080ab972c))
30
+ * **event-view:** keep event rows off the cell borders ([99f7501](https://github.com/hatiolab/operato/commit/99f750113f7d39a532a5de5e9eb8d70e65a0e436))
31
+ * **event-view:** let the calendar speak the reader's language ([aff8a02](https://github.com/hatiolab/operato/commit/aff8a0271dfff01702a504a21e509b000f862fe1))
32
+ * **event-view:** let the grid close its own corners, so it is one box ([4ea230a](https://github.com/hatiolab/operato/commit/4ea230a4e598a4643a292c201cae1a352661baea))
33
+ * **event-view:** paint the week view's cells, and choose the month view's date size ([ac216d3](https://github.com/hatiolab/operato/commit/ac216d319aa35fd15500f6ef6873c449a9825895))
34
+ * **event-view:** put the weekday row back in the centre ([a5bed07](https://github.com/hatiolab/operato/commit/a5bed07add58fd95471be398aa8d3eccd608499e))
35
+ * **event-view:** quieten today - it was marking the day by shouting ([81babaa](https://github.com/hatiolab/operato/commit/81babaa9be9ad91dfd060ea4a3b96e4dedcaa679))
36
+ * **event-view:** show the sentence the host wrote in the tooltip ([1528674](https://github.com/hatiolab/operato/commit/152867407b6f17679c1b168cb0bb943c25d071f7))
37
+ * **i18n:** keep <html lang> on the language actually being shown ([e6321f5](https://github.com/hatiolab/operato/commit/e6321f502e3f8d14b10f3349945fb84fda96adb7))
38
+
39
+
40
+
6
41
  ### [10.10.2](https://github.com/hatiolab/operato/compare/v10.10.1...v10.10.2) (2026-09-07)
7
42
 
8
43
 
@@ -23,30 +23,30 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">94.38% </span>
26
+ <span class="strong">76.98% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>2874/3045</span>
28
+ <span class='fraction'>4421/5743</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">82.19% </span>
33
+ <span class="strong">82.64% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>60/73</span>
35
+ <span class='fraction'>100/121</span>
36
36
  </div>
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
- <span class="strong">64.51% </span>
40
+ <span class="strong">29.66% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>20/31</span>
42
+ <span class='fraction'>35/118</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">94.38% </span>
47
+ <span class="strong">76.98% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>2874/3045</span>
49
+ <span class='fraction'>4421/5743</span>
50
50
  </div>
51
51
 
52
52
 
@@ -61,7 +61,7 @@
61
61
  </div>
62
62
  </template>
63
63
  </div>
64
- <div class='status-line high'></div>
64
+ <div class='status-line medium'></div>
65
65
  <div class="pad1">
66
66
  <table class="coverage-summary">
67
67
  <thead>
@@ -94,18 +94,63 @@
94
94
  </tr>
95
95
 
96
96
  <tr>
97
- <td class="file medium" data-value="src"><a href="src/index.html">src</a></td>
98
- <td data-value="79.58" class="pic medium">
99
- <div class="chart"><div class="cover-fill" style="width: 79%"></div><div class="cover-empty" style="width: 21%"></div></div>
97
+ <td class="file low" data-value="__wds-outside-root__/1/utils/src"><a href="__wds-outside-root__/1/utils/src/index.html">__wds-outside-root__/1/utils/src</a></td>
98
+ <td data-value="32.85" class="pic low">
99
+ <div class="chart"><div class="cover-fill" style="width: 32%"></div><div class="cover-empty" style="width: 68%"></div></div>
100
100
  </td>
101
- <td data-value="79.58" class="pct medium">79.58%</td>
102
- <td data-value="828" class="abs medium">659/828</td>
103
- <td data-value="84.05" class="pct high">84.05%</td>
104
- <td data-value="69" class="abs high">58/69</td>
105
- <td data-value="62.06" class="pct medium">62.06%</td>
106
- <td data-value="29" class="abs medium">18/29</td>
107
- <td data-value="79.58" class="pct medium">79.58%</td>
108
- <td data-value="828" class="abs medium">659/828</td>
101
+ <td data-value="32.85" class="pct low">32.85%</td>
102
+ <td data-value="1455" class="abs low">478/1455</td>
103
+ <td data-value="0" class="pct low">0%</td>
104
+ <td data-value="5" class="abs low">0/5</td>
105
+ <td data-value="0" class="pct low">0%</td>
106
+ <td data-value="47" class="abs low">0/47</td>
107
+ <td data-value="32.85" class="pct low">32.85%</td>
108
+ <td data-value="1455" class="abs low">478/1455</td>
109
+ </tr>
110
+
111
+ <tr>
112
+ <td class="file medium" data-value="__wds-outside-root__/1/utils/src/reactive-controllers"><a href="__wds-outside-root__/1/utils/src/reactive-controllers/index.html">__wds-outside-root__/1/utils/src/reactive-controllers</a></td>
113
+ <td data-value="57.94" class="pic medium">
114
+ <div class="chart"><div class="cover-fill" style="width: 57%"></div><div class="cover-empty" style="width: 43%"></div></div>
115
+ </td>
116
+ <td data-value="57.94" class="pct medium">57.94%</td>
117
+ <td data-value="214" class="abs medium">124/214</td>
118
+ <td data-value="60" class="pct medium">60%</td>
119
+ <td data-value="10" class="abs medium">6/10</td>
120
+ <td data-value="50" class="pct medium">50%</td>
121
+ <td data-value="8" class="abs medium">4/8</td>
122
+ <td data-value="57.94" class="pct medium">57.94%</td>
123
+ <td data-value="214" class="abs medium">124/214</td>
124
+ </tr>
125
+
126
+ <tr>
127
+ <td class="file medium" data-value="__wds-outside-root__/1/utils/src/timecapsule"><a href="__wds-outside-root__/1/utils/src/timecapsule/index.html">__wds-outside-root__/1/utils/src/timecapsule</a></td>
128
+ <td data-value="66.66" class="pic medium">
129
+ <div class="chart"><div class="cover-fill" style="width: 66%"></div><div class="cover-empty" style="width: 34%"></div></div>
130
+ </td>
131
+ <td data-value="66.66" class="pct medium">66.66%</td>
132
+ <td data-value="246" class="abs medium">164/246</td>
133
+ <td data-value="100" class="pct high">100%</td>
134
+ <td data-value="0" class="abs high">0/0</td>
135
+ <td data-value="0" class="pct low">0%</td>
136
+ <td data-value="20" class="abs low">0/20</td>
137
+ <td data-value="66.66" class="pct medium">66.66%</td>
138
+ <td data-value="246" class="abs medium">164/246</td>
139
+ </tr>
140
+
141
+ <tr>
142
+ <td class="file high" data-value="src"><a href="src/index.html">src</a></td>
143
+ <td data-value="89.38" class="pic high">
144
+ <div class="chart"><div class="cover-fill" style="width: 89%"></div><div class="cover-empty" style="width: 11%"></div></div>
145
+ </td>
146
+ <td data-value="89.38" class="pct high">89.38%</td>
147
+ <td data-value="1611" class="abs high">1440/1611</td>
148
+ <td data-value="90.19" class="pct high">90.19%</td>
149
+ <td data-value="102" class="abs high">92/102</td>
150
+ <td data-value="70.73" class="pct medium">70.73%</td>
151
+ <td data-value="41" class="abs medium">29/41</td>
152
+ <td data-value="89.38" class="pct high">89.38%</td>
153
+ <td data-value="1611" class="abs high">1440/1611</td>
109
154
  </tr>
110
155
 
111
156
  </tbody>
@@ -116,7 +161,7 @@
116
161
  <div class='footer quiet pad2 space-top1 center small'>
117
162
  Code coverage generated by
118
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2026-09-07T09:22:16.911Z
164
+ at 2026-09-11T15:24:45.939Z
120
165
  </div>
121
166
  <script src="prettify.js"></script>
122
167
  <script>