@remit/ui 0.0.164 → 0.0.165
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-clash-strip.render.test.ts +51 -0
- package/src/components/calendar-clash-strip.stories.tsx +56 -0
- package/src/components/calendar-clash-strip.tsx +64 -0
- package/src/components/calendar-invite-card.render.test.ts +110 -0
- package/src/components/calendar-invite-card.stories.tsx +132 -0
- package/src/components/calendar-invite-card.tsx +288 -0
- package/src/components/calendar-parse-badge.render.test.ts +40 -0
- package/src/components/calendar-parse-badge.stories.tsx +46 -0
- package/src/components/calendar-parse-badge.tsx +59 -0
- package/src/components/calendar-slot-offers.render.test.ts +67 -0
- package/src/components/calendar-slot-offers.stories.tsx +79 -0
- package/src/components/calendar-slot-offers.tsx +67 -0
- package/src/components/calendar-suggestion-deck.render.test.ts +69 -0
- package/src/components/calendar-suggestion-deck.stories.tsx +165 -0
- package/src/components/calendar-suggestion-deck.tsx +116 -0
- package/src/components/calendar-types.ts +57 -0
- package/src/components/event-suggestion-card.tsx +8 -1
- package/src/components/intelligence-calendar-fixtures.ts +384 -0
- package/src/components/intelligence-calendar.deck-zone-gate.test.ts +142 -0
- package/src/components/intelligence-calendar.render.test.ts +122 -0
- package/src/components/intelligence-calendar.tsx +288 -0
- package/src/components/intelligence-panel-calendar.stories.tsx +401 -0
- package/src/components/intelligence-panel.render.test.ts +64 -1
- package/src/components/intelligence-panel.tab-strip.test.ts +163 -0
- package/src/components/intelligence-panel.tsx +239 -174
- package/src/components/intelligence-section.tsx +24 -0
- package/src/index.ts +40 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import { describe, it } from "node:test";
|
|
3
|
+
import { createElement } from "react";
|
|
4
|
+
import { renderToString } from "react-dom/server";
|
|
5
|
+
import {
|
|
6
|
+
CalendarSuggestionDeck,
|
|
7
|
+
type CalendarSuggestionDeckProps,
|
|
8
|
+
} from "./calendar-suggestion-deck.js";
|
|
9
|
+
|
|
10
|
+
const base: CalendarSuggestionDeckProps = {
|
|
11
|
+
children: createElement("p", null, "KL1693 Amsterdam → Lisbon"),
|
|
12
|
+
hasCard: true,
|
|
13
|
+
onConfirm: () => undefined,
|
|
14
|
+
onReject: () => undefined,
|
|
15
|
+
blocked: false,
|
|
16
|
+
blockedReason: "",
|
|
17
|
+
remaining: 3,
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const render = (props: Partial<CalendarSuggestionDeckProps> = {}) =>
|
|
21
|
+
renderToString(createElement(CalendarSuggestionDeck, { ...base, ...props }));
|
|
22
|
+
|
|
23
|
+
/** The rendered words, with React's text separators and wrapping taken out. */
|
|
24
|
+
const words = (props: Partial<CalendarSuggestionDeckProps> = {}) =>
|
|
25
|
+
render(props)
|
|
26
|
+
.replaceAll("<!-- -->", "")
|
|
27
|
+
.replace(/<[^>]+>/g, " ")
|
|
28
|
+
.replace(/\s+/g, " ");
|
|
29
|
+
|
|
30
|
+
describe("CalendarSuggestionDeck", () => {
|
|
31
|
+
it("shows the top card and counts the rest", () => {
|
|
32
|
+
assert.match(words(), /KL1693 Amsterdam/);
|
|
33
|
+
assert.match(words(), /3 left/);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it("says the buttons are there, so a gesture is never the only way", () => {
|
|
37
|
+
assert.match(
|
|
38
|
+
words(),
|
|
39
|
+
/swipe right to accept, left to drop, or use the buttons/,
|
|
40
|
+
);
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
it("says what an empty deck means rather than drawing a blank frame", () => {
|
|
44
|
+
const empty = words({ hasCard: false });
|
|
45
|
+
assert.match(
|
|
46
|
+
empty,
|
|
47
|
+
/Nothing in your mail is waiting on a decision about time/,
|
|
48
|
+
);
|
|
49
|
+
assert.doesNotMatch(empty, /KL1693/);
|
|
50
|
+
assert.doesNotMatch(empty, /left ·/);
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
it("takes the caller's words for an empty deck", () => {
|
|
54
|
+
assert.match(
|
|
55
|
+
words({ hasCard: false, emptyText: "You are through the queue." }),
|
|
56
|
+
/You are through the queue/,
|
|
57
|
+
);
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
it("keeps the gesture surface off the vertical axis it does not own", () => {
|
|
61
|
+
assert.match(render(), /touch-pan-y/);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
it("draws no swipe badge before the drag has committed to anything", () => {
|
|
65
|
+
const html = render({ blocked: true, blockedReason: "Pick a clock" });
|
|
66
|
+
assert.doesNotMatch(html, /Pick a clock/);
|
|
67
|
+
assert.doesNotMatch(html, /Not this/);
|
|
68
|
+
});
|
|
69
|
+
});
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { CalendarSuggestionDeck } from "./calendar-suggestion-deck.js";
|
|
4
|
+
import type { EventSuggestion } from "./calendar-types.js";
|
|
5
|
+
import {
|
|
6
|
+
EventSuggestionCard,
|
|
7
|
+
settleZone,
|
|
8
|
+
ZONE_UNSETTLED_REASON,
|
|
9
|
+
} from "./event-suggestion-card.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Readings one at a time. The swipe is the fast path over the buttons that are
|
|
13
|
+
* always there under it, so a gesture is never the only way to answer — and it
|
|
14
|
+
* is refused on the same terms the buttons are, because a swipe that books a
|
|
15
|
+
* time nobody placed on a clock is the mistake, not the shortcut.
|
|
16
|
+
*/
|
|
17
|
+
const meta: Meta<typeof CalendarSuggestionDeck> = {
|
|
18
|
+
title: "Calendar/Suggestion deck",
|
|
19
|
+
component: CalendarSuggestionDeck,
|
|
20
|
+
parameters: { layout: "padded" },
|
|
21
|
+
decorators: [
|
|
22
|
+
(Story) => (
|
|
23
|
+
<div className="max-w-sm">
|
|
24
|
+
<Story />
|
|
25
|
+
</div>
|
|
26
|
+
),
|
|
27
|
+
],
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
|
|
31
|
+
type Story = StoryObj<typeof CalendarSuggestionDeck>;
|
|
32
|
+
|
|
33
|
+
const flight: EventSuggestion = {
|
|
34
|
+
id: "sug_flight",
|
|
35
|
+
title: "KL1693 Amsterdam → Lisbon",
|
|
36
|
+
start: "2026-06-19T18:40:00+02:00",
|
|
37
|
+
end: "2026-06-19T20:25:00+02:00",
|
|
38
|
+
allDay: false,
|
|
39
|
+
location: "Schiphol, gate D-pier",
|
|
40
|
+
threadId: "thr_klm",
|
|
41
|
+
threadSubject: "Your booking is confirmed — KL1693 Amsterdam to Lisbon",
|
|
42
|
+
sender: "KLM",
|
|
43
|
+
senderAddress: "noreply@klm.example",
|
|
44
|
+
confidence: 0.88,
|
|
45
|
+
ambiguity:
|
|
46
|
+
"The confirmation prints 20:25 for the arrival and never says whose clock.",
|
|
47
|
+
suggestedCalendarId: "cal_travel",
|
|
48
|
+
timeZone: "",
|
|
49
|
+
zoneCertainty: "ambiguous",
|
|
50
|
+
zoneOptions: [
|
|
51
|
+
{
|
|
52
|
+
timeZone: "Europe/Lisbon",
|
|
53
|
+
label: "20:25 in Lisbon",
|
|
54
|
+
note: "21:25 on your own clock.",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
timeZone: "Europe/Amsterdam",
|
|
58
|
+
label: "20:25 in Amsterdam",
|
|
59
|
+
note: "19:25 where the plane lands.",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const stated: EventSuggestion = {
|
|
65
|
+
...flight,
|
|
66
|
+
id: "sug_dinner",
|
|
67
|
+
title: "Dinner with Rita",
|
|
68
|
+
ambiguity: "",
|
|
69
|
+
timeZone: "Europe/Amsterdam",
|
|
70
|
+
zoneCertainty: "explicit",
|
|
71
|
+
zoneOptions: undefined,
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
const inertCard = {
|
|
75
|
+
onDismiss: () => undefined,
|
|
76
|
+
onOpenThread: () => undefined,
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
function Deck({ queue }: { queue: EventSuggestion[] }) {
|
|
80
|
+
const [pending, setPending] = useState(queue);
|
|
81
|
+
const [zone, setZone] = useState("");
|
|
82
|
+
const [last, setLast] = useState("");
|
|
83
|
+
const top = pending[0];
|
|
84
|
+
const settlement = top === undefined ? undefined : settleZone(top, zone);
|
|
85
|
+
|
|
86
|
+
const drop = () => {
|
|
87
|
+
setPending((prev) => prev.slice(1));
|
|
88
|
+
setZone("");
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
return (
|
|
92
|
+
<div className="flex flex-col gap-2">
|
|
93
|
+
<CalendarSuggestionDeck
|
|
94
|
+
hasCard={top !== undefined}
|
|
95
|
+
remaining={pending.length}
|
|
96
|
+
blocked={settlement !== undefined && !settlement.settled}
|
|
97
|
+
blockedReason={ZONE_UNSETTLED_REASON}
|
|
98
|
+
confirmLabel="Add"
|
|
99
|
+
onConfirm={() => {
|
|
100
|
+
if (top && settlement?.settled) {
|
|
101
|
+
setLast(
|
|
102
|
+
`added ${top.title} on ${settlement.timeZone || "its own clock"}`,
|
|
103
|
+
);
|
|
104
|
+
drop();
|
|
105
|
+
}
|
|
106
|
+
}}
|
|
107
|
+
onReject={() => {
|
|
108
|
+
if (top) setLast(`dropped ${top.title}`);
|
|
109
|
+
drop();
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
{top && (
|
|
113
|
+
<EventSuggestionCard
|
|
114
|
+
{...inertCard}
|
|
115
|
+
suggestion={top}
|
|
116
|
+
whenText="Friday 19 June · 18:40 – 20:25"
|
|
117
|
+
zoneChoice={zone}
|
|
118
|
+
onZoneChoice={setZone}
|
|
119
|
+
onAdd={() => undefined}
|
|
120
|
+
onReview={() => undefined}
|
|
121
|
+
/>
|
|
122
|
+
)}
|
|
123
|
+
</CalendarSuggestionDeck>
|
|
124
|
+
{last !== "" && (
|
|
125
|
+
<p className="text-2xs text-fg-subtle">Prototype: {last}</p>
|
|
126
|
+
)}
|
|
127
|
+
</div>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** The clock is unstated, so the swipe says why it will not commit. */
|
|
132
|
+
export const HeldOnAnUnsettledClock: Story = {
|
|
133
|
+
render: () => <Deck queue={[flight]} />,
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/** The mail already said which clock, so the deck is live from the start. */
|
|
137
|
+
export const ReadyToConfirm: Story = {
|
|
138
|
+
render: () => <Deck queue={[stated]} />,
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
/** A queue, counted, so the reader knows what answering buys them. */
|
|
142
|
+
export const AQueueOfThree: Story = {
|
|
143
|
+
render: () => (
|
|
144
|
+
<Deck
|
|
145
|
+
queue={[
|
|
146
|
+
stated,
|
|
147
|
+
{ ...stated, id: "sug_haircut", title: "Haircut" },
|
|
148
|
+
{ ...stated, id: "sug_mot", title: "Car inspection" },
|
|
149
|
+
]}
|
|
150
|
+
/>
|
|
151
|
+
),
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/** Nothing left. The empty deck says so in the reader's own terms. */
|
|
155
|
+
export const NothingWaiting: Story = {
|
|
156
|
+
args: {
|
|
157
|
+
hasCard: false,
|
|
158
|
+
remaining: 0,
|
|
159
|
+
blocked: false,
|
|
160
|
+
blockedReason: "",
|
|
161
|
+
onConfirm: () => undefined,
|
|
162
|
+
onReject: () => undefined,
|
|
163
|
+
children: null,
|
|
164
|
+
},
|
|
165
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Sparkles } from "lucide-react";
|
|
2
|
+
import { type ReactNode, useState } from "react";
|
|
3
|
+
import { cn } from "../lib/cn.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Readings one at a time, as a deck rather than a column: one decision fills
|
|
7
|
+
* the width it is given, and the swipe is the fast path over the buttons that
|
|
8
|
+
* are always there under it. A gesture is never the only way to answer.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const COMMIT_DISTANCE = 96;
|
|
12
|
+
|
|
13
|
+
export interface CalendarSuggestionDeckProps {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
/** False when the deck has nothing left. */
|
|
16
|
+
hasCard: boolean;
|
|
17
|
+
onConfirm: () => void;
|
|
18
|
+
onReject: () => void;
|
|
19
|
+
/** True while the top card cannot be confirmed — an unsettled clock. */
|
|
20
|
+
blocked: boolean;
|
|
21
|
+
blockedReason: string;
|
|
22
|
+
remaining: number;
|
|
23
|
+
/** What the swipe badge says in the confirming direction. */
|
|
24
|
+
confirmLabel?: string;
|
|
25
|
+
/** What an empty deck says. */
|
|
26
|
+
emptyText?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export function CalendarSuggestionDeck({
|
|
31
|
+
children,
|
|
32
|
+
hasCard,
|
|
33
|
+
onConfirm,
|
|
34
|
+
onReject,
|
|
35
|
+
blocked,
|
|
36
|
+
blockedReason,
|
|
37
|
+
remaining,
|
|
38
|
+
confirmLabel = "Add",
|
|
39
|
+
emptyText = "Nothing in your mail is waiting on a decision about time.",
|
|
40
|
+
className,
|
|
41
|
+
}: CalendarSuggestionDeckProps) {
|
|
42
|
+
const [drag, setDrag] = useState(0);
|
|
43
|
+
const [from, setFrom] = useState<number | null>(null);
|
|
44
|
+
|
|
45
|
+
if (!hasCard)
|
|
46
|
+
return (
|
|
47
|
+
<div
|
|
48
|
+
className={cn(
|
|
49
|
+
"flex flex-col items-center gap-2 p-6 text-center",
|
|
50
|
+
className,
|
|
51
|
+
)}
|
|
52
|
+
>
|
|
53
|
+
<Sparkles className="size-6 text-fg-subtle" aria-hidden />
|
|
54
|
+
<p className="text-sm text-fg-muted">{emptyText}</p>
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
const committing = Math.abs(drag) > COMMIT_DISTANCE;
|
|
59
|
+
const towardsConfirm = drag > 0;
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<div className={cn("flex flex-col gap-3", className)}>
|
|
63
|
+
<div className="relative">
|
|
64
|
+
<div
|
|
65
|
+
className="touch-pan-y select-none"
|
|
66
|
+
style={{
|
|
67
|
+
transform: `translateX(${drag}px) rotate(${drag / 40}deg)`,
|
|
68
|
+
transition: from === null ? "transform 180ms ease-out" : "none",
|
|
69
|
+
}}
|
|
70
|
+
onPointerDown={(e) => {
|
|
71
|
+
e.currentTarget.setPointerCapture(e.pointerId);
|
|
72
|
+
setFrom(e.clientX);
|
|
73
|
+
}}
|
|
74
|
+
onPointerMove={(e) => {
|
|
75
|
+
if (from === null) return;
|
|
76
|
+
setDrag(e.clientX - from);
|
|
77
|
+
}}
|
|
78
|
+
onPointerUp={() => {
|
|
79
|
+
if (Math.abs(drag) > COMMIT_DISTANCE) {
|
|
80
|
+
if (drag > 0 && !blocked) onConfirm();
|
|
81
|
+
if (drag < 0) onReject();
|
|
82
|
+
}
|
|
83
|
+
setFrom(null);
|
|
84
|
+
setDrag(0);
|
|
85
|
+
}}
|
|
86
|
+
onPointerCancel={() => {
|
|
87
|
+
setFrom(null);
|
|
88
|
+
setDrag(0);
|
|
89
|
+
}}
|
|
90
|
+
>
|
|
91
|
+
{children}
|
|
92
|
+
</div>
|
|
93
|
+
{committing && (
|
|
94
|
+
<span
|
|
95
|
+
className={cn(
|
|
96
|
+
"pointer-events-none absolute top-3 rounded-md px-2 py-1 text-xs font-semibold",
|
|
97
|
+
towardsConfirm
|
|
98
|
+
? "right-3 bg-accent-soft text-accent"
|
|
99
|
+
: "left-3 bg-danger-soft text-danger",
|
|
100
|
+
)}
|
|
101
|
+
>
|
|
102
|
+
{towardsConfirm
|
|
103
|
+
? blocked
|
|
104
|
+
? blockedReason
|
|
105
|
+
: confirmLabel
|
|
106
|
+
: "Not this"}
|
|
107
|
+
</span>
|
|
108
|
+
)}
|
|
109
|
+
</div>
|
|
110
|
+
<p className="text-center text-2xs text-fg-subtle">
|
|
111
|
+
{remaining} left · swipe right to accept, left to drop, or use the
|
|
112
|
+
buttons
|
|
113
|
+
</p>
|
|
114
|
+
</div>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
@@ -219,6 +219,63 @@ export interface EventSuggestion {
|
|
|
219
219
|
zoneOptions?: ZoneOptions;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
+
/**
|
|
223
|
+
* The rung of the reading ladder that answered. Deterministic readings run
|
|
224
|
+
* first — an attached invitation, then machine-readable markup — and only what
|
|
225
|
+
* neither settles is left to a pattern in the prose. A field the sender stated
|
|
226
|
+
* and a phrase software interpreted are not the same claim, so every surface
|
|
227
|
+
* that shows a reading also says which rung produced it.
|
|
228
|
+
*/
|
|
229
|
+
export type CalendarParseMethod = "ics" | "markup" | "pattern";
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Where an invitation stands. `superseded` is a later message carrying a higher
|
|
233
|
+
* SEQUENCE for the same UID. `cancelled` is a METHOD:CANCEL that still needs
|
|
234
|
+
* the reader to act, because nothing leaves the calendar without a person
|
|
235
|
+
* saying so either.
|
|
236
|
+
*/
|
|
237
|
+
export type CalendarInviteState =
|
|
238
|
+
| "pending"
|
|
239
|
+
| "answered"
|
|
240
|
+
| "superseded"
|
|
241
|
+
| "cancelled";
|
|
242
|
+
|
|
243
|
+
/** An invitation as it arrived, before any of it reaches a calendar. */
|
|
244
|
+
export interface CalendarInvite {
|
|
245
|
+
id: string;
|
|
246
|
+
/** The thread it came in on. The mail stays behind every calendar surface. */
|
|
247
|
+
threadId: string;
|
|
248
|
+
/** The event exactly as the organiser sent it — not yet on any calendar. */
|
|
249
|
+
proposed: CalendarEventData;
|
|
250
|
+
organizerName: string;
|
|
251
|
+
organizerEmail: string;
|
|
252
|
+
method: CalendarParseMethod;
|
|
253
|
+
/** The field or phrase the reading rests on. */
|
|
254
|
+
evidence: string;
|
|
255
|
+
state: CalendarInviteState;
|
|
256
|
+
/** iCalendar SEQUENCE. A higher one for the same UID supersedes this. */
|
|
257
|
+
sequence: number;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Something already agreed to that a candidate span runs into. The label is
|
|
262
|
+
* written by the caller, which is the side that knows the calendar and the
|
|
263
|
+
* account the clash sits on.
|
|
264
|
+
*/
|
|
265
|
+
export interface CalendarClash {
|
|
266
|
+
id: string;
|
|
267
|
+
label: string;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/** A time named in prose, already checked against the day it names. */
|
|
271
|
+
export interface CalendarProposal {
|
|
272
|
+
id: string;
|
|
273
|
+
/** The words in the mail, quoted back. */
|
|
274
|
+
phrase: string;
|
|
275
|
+
/** What is already booked over it; empty when nothing is. */
|
|
276
|
+
clashTitle: string;
|
|
277
|
+
}
|
|
278
|
+
|
|
222
279
|
/** Which instances of a series an edit applies to, chosen before the edit. */
|
|
223
280
|
export type RecurrenceScope = "this" | "following" | "all";
|
|
224
281
|
|
|
@@ -62,6 +62,12 @@ export interface EventSuggestionCardProps {
|
|
|
62
62
|
/** The clock picked so far. Omit to let the card hold the choice itself. */
|
|
63
63
|
zoneChoice?: string;
|
|
64
64
|
onZoneChoice?: (timeZone: string) => void;
|
|
65
|
+
/**
|
|
66
|
+
* What the confirming button says. A surface sitting beside the mail spells
|
|
67
|
+
* out where the press lands ("Add to calendar"); a surface already inside
|
|
68
|
+
* the calendar does not need to.
|
|
69
|
+
*/
|
|
70
|
+
addLabel?: string;
|
|
65
71
|
touch?: boolean;
|
|
66
72
|
className?: string;
|
|
67
73
|
}
|
|
@@ -93,6 +99,7 @@ export function EventSuggestionCard({
|
|
|
93
99
|
onOpenThread,
|
|
94
100
|
zoneChoice,
|
|
95
101
|
onZoneChoice,
|
|
102
|
+
addLabel = "Add",
|
|
96
103
|
touch,
|
|
97
104
|
className,
|
|
98
105
|
}: EventSuggestionCardProps) {
|
|
@@ -220,7 +227,7 @@ export function EventSuggestionCard({
|
|
|
220
227
|
!settlement.settled && "opacity-55",
|
|
221
228
|
)}
|
|
222
229
|
>
|
|
223
|
-
|
|
230
|
+
{addLabel}
|
|
224
231
|
</Button>
|
|
225
232
|
<Button
|
|
226
233
|
variant="secondary"
|