@remit/web-client 0.0.318 → 0.0.319
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.
- package/package.json +1 -1
- package/src/components/calendar/ChangeCalendarSuggestion.stories.tsx +2 -0
- package/src/components/calendar/change-suggestion-first.render.test.ts +2 -0
- package/src/components/calendar/pending-suggestions.render.test.ts +1 -0
- package/src/components/mail/offer-times-reply.render.test.ts +1 -0
- package/src/hooks/intelligence-calendar.render.test.ts +1 -0
- package/src/lib/calendar-suggestion.test.ts +1 -0
- package/src/lib/calendar-suggestion.west.test.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remit/web-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.319",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
|
|
6
6
|
"exports": {
|
|
@@ -28,6 +28,7 @@ const suggestion = (
|
|
|
28
28
|
summary: "Billing migration kickoff",
|
|
29
29
|
dtStart: "2026-06-11T14:00:00+02:00",
|
|
30
30
|
dtEnd: "2026-06-11T15:00:00+02:00",
|
|
31
|
+
endsAtUtc: "2026-06-11T13:00:00Z",
|
|
31
32
|
allDay: false,
|
|
32
33
|
location: "Room Noord",
|
|
33
34
|
organizer: "priya@example.invalid",
|
|
@@ -130,6 +131,7 @@ export const ZoneNobodyCouldPlace: Story = {
|
|
|
130
131
|
suggestion({
|
|
131
132
|
dtStart: "2026-06-11T09:00:00+00:00",
|
|
132
133
|
dtEnd: "2026-06-11T10:00:00+00:00",
|
|
134
|
+
endsAtUtc: "2026-06-11T10:00:00Z",
|
|
133
135
|
zoneCertainty: "Ambiguous",
|
|
134
136
|
}),
|
|
135
137
|
],
|
|
@@ -69,6 +69,7 @@ const reading = (
|
|
|
69
69
|
summary: "Billing migration kickoff",
|
|
70
70
|
dtStart: "2026-06-11T12:00:00+00:00",
|
|
71
71
|
dtEnd: "2026-06-11T13:00:00+00:00",
|
|
72
|
+
endsAtUtc: "2026-06-11T13:00:00Z",
|
|
72
73
|
allDay: false,
|
|
73
74
|
location: "Room Noord",
|
|
74
75
|
organizer: "priya@example.test",
|
|
@@ -233,6 +234,7 @@ describe("changing a suggestion before adding it", () => {
|
|
|
233
234
|
reading({
|
|
234
235
|
dtStart: "2026-06-11T09:00:00+00:00",
|
|
235
236
|
dtEnd: "2026-06-11T10:00:00+00:00",
|
|
237
|
+
endsAtUtc: "2026-06-11T10:00:00Z",
|
|
236
238
|
zoneCertainty: "Ambiguous",
|
|
237
239
|
}),
|
|
238
240
|
),
|
|
@@ -58,6 +58,7 @@ const pending: RemitImapCalendarSuggestionResponse = {
|
|
|
58
58
|
summary: "Quarterly review",
|
|
59
59
|
dtStart: "2026-09-01T08:00:00+00:00",
|
|
60
60
|
dtEnd: "2026-09-01T09:00:00+00:00",
|
|
61
|
+
endsAtUtc: "2026-09-01T09:00:00Z",
|
|
61
62
|
allDay: false,
|
|
62
63
|
location: "",
|
|
63
64
|
organizer: "organizer@example.test",
|
|
@@ -144,6 +144,7 @@ const invitation: RemitImapCalendarSuggestionResponse = {
|
|
|
144
144
|
summary: "Quarterly review",
|
|
145
145
|
dtStart: "2026-09-01T08:00:00+00:00",
|
|
146
146
|
dtEnd: "2026-09-01T09:00:00+00:00",
|
|
147
|
+
endsAtUtc: "2026-09-01T09:00:00Z",
|
|
147
148
|
allDay: false,
|
|
148
149
|
location: "",
|
|
149
150
|
organizer: "organizer@example.test",
|
|
@@ -26,6 +26,7 @@ const allDay = {
|
|
|
26
26
|
summary: "Offsite",
|
|
27
27
|
dtStart: "2027-03-10T00:00:00+00:00",
|
|
28
28
|
dtEnd: "2027-03-11T00:00:00+00:00",
|
|
29
|
+
endsAtUtc: "2027-03-11T00:00:00Z",
|
|
29
30
|
allDay: true,
|
|
30
31
|
location: "",
|
|
31
32
|
organizer: "organizer@example.test",
|
|
@@ -52,6 +53,7 @@ describe("an all-day invitation, west of where it was sent", () => {
|
|
|
52
53
|
const when = suggestionWhen({
|
|
53
54
|
...allDay,
|
|
54
55
|
dtEnd: "2027-03-13T00:00:00+00:00",
|
|
56
|
+
endsAtUtc: "2027-03-13T00:00:00Z",
|
|
55
57
|
});
|
|
56
58
|
assert.match(when, /Wed.*\b10\b.*–.*Fri.*\b12\b/);
|
|
57
59
|
assert.doesNotMatch(when, /Sat|\b13\b/);
|