@mushi-mushi/web 1.29.0 → 1.31.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.
- package/README.md +19 -5
- package/dist/chunks/display-capture-5ZJSTBUK.js +34 -0
- package/dist/chunks/display-capture-5ZJSTBUK.js.map +1 -0
- package/dist/chunks/screenshot-annotation-IG7C5B6Z.js +132 -0
- package/dist/chunks/screenshot-annotation-IG7C5B6Z.js.map +1 -0
- package/dist/chunks/widget-views-DX3OYHGR.js +233 -0
- package/dist/chunks/widget-views-DX3OYHGR.js.map +1 -0
- package/dist/headless.cjs +39 -13
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.d.cts +1 -1
- package/dist/headless.d.ts +72 -2
- package/dist/headless.js +39 -13
- package/dist/headless.js.map +1 -1
- package/dist/i18n/index.cjs +178 -234
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +114 -32
- package/dist/i18n/index.d.ts +114 -32
- package/dist/i18n/index.js +178 -234
- package/dist/i18n/index.js.map +1 -1
- package/dist/index.cjs +2495 -4386
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +203 -181
- package/dist/index.d.ts +541 -183
- package/dist/index.js +2011 -4325
- package/dist/index.js.map +1 -1
- package/dist/mushi.loader.global.js +21 -2279
- package/dist/test-utils.cjs +410 -1
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +410 -1
- package/dist/test-utils.js.map +1 -1
- package/dist/{timeline-BuqAn2FH.d.cts → timeline-B8nMyZyM.d.cts} +12 -2
- package/package.json +19 -4
- package/dist/timeline-BuqAn2FH.d.ts +0 -63
package/dist/i18n/index.d.ts
CHANGED
|
@@ -12,39 +12,74 @@ interface MushiLocale {
|
|
|
12
12
|
error: string;
|
|
13
13
|
};
|
|
14
14
|
step1: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
/** @deprecated The 3-step flow is retired (Plan 018); unused since 1.30. */
|
|
16
|
+
heading?: string;
|
|
17
|
+
/** @deprecated Unused since 1.30. */
|
|
18
|
+
reportSectionLabel?: string;
|
|
19
|
+
/** @deprecated Unused since 1.30. */
|
|
20
|
+
moreNavLabel?: string;
|
|
21
|
+
/** Labels of the header overflow menu. */
|
|
20
22
|
moreNav: {
|
|
21
|
-
yourReports
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
/** @deprecated Unused since 1.30 — see `panel.yourReports`. */
|
|
24
|
+
yourReports?: string;
|
|
25
|
+
/** @deprecated Unused since 1.30. */
|
|
26
|
+
yourReportsDesc?: string;
|
|
27
|
+
/** @deprecated Unused since 1.30. */
|
|
28
|
+
unreadNew?: string;
|
|
24
29
|
communityIdeas: string;
|
|
25
|
-
|
|
30
|
+
/** @deprecated Unused since 1.30. */
|
|
31
|
+
communityIdeasDesc?: string;
|
|
26
32
|
leaderboard: string;
|
|
27
33
|
joinCommunity: string;
|
|
28
34
|
myAccount: string;
|
|
29
35
|
};
|
|
30
36
|
categories: Record<MushiReportCategory, string>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
/** @deprecated Unused since 1.30. */
|
|
38
|
+
categoryDescriptions?: Record<MushiReportCategory, string>;
|
|
39
|
+
/** @deprecated Unused since 1.30. */
|
|
40
|
+
moreCategoriesLabel?: string;
|
|
41
|
+
/** @deprecated Unused since 1.30. */
|
|
42
|
+
moreCategoriesCount?: string;
|
|
36
43
|
};
|
|
37
44
|
step2: {
|
|
38
|
-
|
|
45
|
+
/** @deprecated Unused since 1.30. */
|
|
46
|
+
heading?: string;
|
|
47
|
+
/** Optional sub-chips shown after a type is picked (the first four, minus "Other"). */
|
|
39
48
|
intents: Record<MushiReportCategory, string[]>;
|
|
40
49
|
};
|
|
41
50
|
step3: {
|
|
42
|
-
|
|
51
|
+
/** @deprecated Unused since 1.30. */
|
|
52
|
+
heading?: string;
|
|
53
|
+
/** Placeholder of the one-screen report textarea. */
|
|
43
54
|
descriptionPlaceholder: string;
|
|
55
|
+
/** Placeholder when the Idea chip is picked. */
|
|
56
|
+
featurePlaceholder: string;
|
|
57
|
+
/** @deprecated Unused since 1.30. */
|
|
58
|
+
featureExamples?: string[];
|
|
59
|
+
/** @deprecated Unused since 1.30. */
|
|
60
|
+
otherPlaceholder?: string;
|
|
61
|
+
/** Footer shortcut hint; `{key}` is ⌘ on Apple platforms, Ctrl elsewhere. */
|
|
62
|
+
submitHint: string;
|
|
63
|
+
/** @deprecated Unused since 1.30 — the hint is "Add a few words". */
|
|
64
|
+
charsNeeded?: string;
|
|
44
65
|
screenshotButton: string;
|
|
45
66
|
screenshotAttached: string;
|
|
46
67
|
screenshotCapturing: string;
|
|
47
|
-
|
|
68
|
+
/** @deprecated The web widget now shows `screenshotRetry` + `screenshotErrors`; kept for type compatibility. */
|
|
69
|
+
screenshotFailed?: string;
|
|
70
|
+
/** Screenshot button label after a failed capture. */
|
|
71
|
+
screenshotRetry: string;
|
|
72
|
+
/** Offered after a failed capture: user-consented tab share (getDisplayMedia). */
|
|
73
|
+
screenshotShareTab: string;
|
|
74
|
+
/** Why the last capture failed, shown under the attachment row. */
|
|
75
|
+
screenshotErrors: {
|
|
76
|
+
permission: string;
|
|
77
|
+
unsupported: string;
|
|
78
|
+
taint: string;
|
|
79
|
+
timeout: string;
|
|
80
|
+
csp: string;
|
|
81
|
+
error: string;
|
|
82
|
+
};
|
|
48
83
|
/** Alt text for the attached-screenshot preview image. */
|
|
49
84
|
screenshotPreviewAlt: string;
|
|
50
85
|
/** Default privacy caption shown beside the screenshot preview. */
|
|
@@ -54,11 +89,37 @@ interface MushiLocale {
|
|
|
54
89
|
elementCapturing: string;
|
|
55
90
|
elementFailed: string;
|
|
56
91
|
elementSelectorHint: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
92
|
+
/** @deprecated Unused since 1.30. */
|
|
93
|
+
optional?: string;
|
|
94
|
+
/** @deprecated Unused since 1.30 — core `reporterCopy().ui.addWords`. */
|
|
95
|
+
tooShort?: string;
|
|
96
|
+
/** @deprecated Unused since 1.30. */
|
|
97
|
+
examplePrompts?: string[];
|
|
98
|
+
};
|
|
99
|
+
/** One-screen report, header and notification copy (Plan 018 §1). */
|
|
100
|
+
panel: {
|
|
101
|
+
/** Report screen title. */
|
|
102
|
+
title: string;
|
|
103
|
+
/** "More…" chip: reveals the host's own categories. */
|
|
104
|
+
more: string;
|
|
105
|
+
/** Element picker button. */
|
|
106
|
+
pointAt: string;
|
|
107
|
+
remove: string;
|
|
108
|
+
markUp: string;
|
|
109
|
+
/** Privacy line under the attachments. */
|
|
110
|
+
privacy: string;
|
|
111
|
+
send: string;
|
|
112
|
+
/** Header pill that opens "Your reports". */
|
|
113
|
+
yourReports: string;
|
|
114
|
+
/** Badge text on the pill; `{n}` placeholder. */
|
|
115
|
+
newCount: string;
|
|
116
|
+
/** Header overflow menu button label. */
|
|
117
|
+
moreOptions: string;
|
|
118
|
+
/** Title of the report detail view. */
|
|
119
|
+
reportTitle: string;
|
|
120
|
+
/** Web push opt-in button. */
|
|
121
|
+
notifyMe: string;
|
|
122
|
+
notifyOn: string;
|
|
62
123
|
};
|
|
63
124
|
assistant: {
|
|
64
125
|
defaultLabel: string;
|
|
@@ -77,7 +138,8 @@ interface MushiLocale {
|
|
|
77
138
|
};
|
|
78
139
|
};
|
|
79
140
|
flows: {
|
|
80
|
-
|
|
141
|
+
/** @deprecated Unused since 1.30 (no brand eyebrow in the header). */
|
|
142
|
+
eyebrows?: {
|
|
81
143
|
inbox: string;
|
|
82
144
|
roadmap: string;
|
|
83
145
|
community: string;
|
|
@@ -90,8 +152,10 @@ interface MushiLocale {
|
|
|
90
152
|
reports: {
|
|
91
153
|
title: string;
|
|
92
154
|
loading: string;
|
|
93
|
-
empty
|
|
94
|
-
|
|
155
|
+
/** @deprecated Unused since 1.30 — core `ui.empty`. */
|
|
156
|
+
empty?: string;
|
|
157
|
+
/** @deprecated Unused since 1.30. */
|
|
158
|
+
leaderboardLink?: string;
|
|
95
159
|
};
|
|
96
160
|
roadmap: {
|
|
97
161
|
title: string;
|
|
@@ -135,15 +199,28 @@ interface MushiLocale {
|
|
|
135
199
|
unknownApp: string;
|
|
136
200
|
};
|
|
137
201
|
thread: {
|
|
138
|
-
|
|
202
|
+
/** @deprecated Unused since 1.30 — see `panel.reportTitle`. */
|
|
203
|
+
title?: string;
|
|
139
204
|
loading: string;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
205
|
+
/** @deprecated Unused since 1.30 — core `ui.noReplies`. */
|
|
206
|
+
empty?: string;
|
|
207
|
+
/** @deprecated Unused since 1.30 — core `ui.yes`. */
|
|
208
|
+
confirmFixed?: string;
|
|
209
|
+
/** @deprecated Unused since 1.30 — core `ui.notYet`. */
|
|
210
|
+
notFixed?: string;
|
|
143
211
|
replyPlaceholder: string;
|
|
144
|
-
send
|
|
212
|
+
/** @deprecated Unused since 1.30 — see `panel.send`. */
|
|
213
|
+
send?: string;
|
|
214
|
+
/** @deprecated Unused since 1.30 — core `ui.loadError`. */
|
|
215
|
+
loadFailed?: string;
|
|
216
|
+
/** @deprecated Unused since 1.30 — core `ui.retry`. */
|
|
217
|
+
retry?: string;
|
|
145
218
|
};
|
|
146
219
|
success: {
|
|
220
|
+
/** @deprecated Unused since 1.30 — the receipt title is core `ui.sent`. */
|
|
221
|
+
title?: string;
|
|
222
|
+
/** Closes the panel from the success step. */
|
|
223
|
+
done: string;
|
|
147
224
|
trackReport: string;
|
|
148
225
|
receipt: string;
|
|
149
226
|
delivering: string;
|
|
@@ -163,14 +240,19 @@ interface MushiLocale {
|
|
|
163
240
|
};
|
|
164
241
|
featureRequest: {
|
|
165
242
|
label: string;
|
|
166
|
-
|
|
243
|
+
/** @deprecated Unused since 1.30. */
|
|
244
|
+
description?: string;
|
|
167
245
|
};
|
|
168
246
|
/** Beta-mode strip on the category step. */
|
|
169
247
|
betaStrip: {
|
|
170
248
|
/** Default status line when the host sets no message; `{appName}` placeholder. */
|
|
171
249
|
defaultMessage: string;
|
|
172
|
-
/**
|
|
250
|
+
/** Optional contact line, rendered as a mailto link; `{email}` placeholder. Nothing is emailed. */
|
|
173
251
|
contactHint: string;
|
|
252
|
+
/** Who sees the report; `{appName}` placeholder. */
|
|
253
|
+
teamSees: string;
|
|
254
|
+
/** Same, when the host gave no app name. */
|
|
255
|
+
teamSeesGeneric: string;
|
|
174
256
|
/** aria-label for the strip. */
|
|
175
257
|
ariaLabel: string;
|
|
176
258
|
};
|