@mushi-mushi/web 1.30.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/widget-views-DX3OYHGR.js +233 -0
- package/dist/chunks/widget-views-DX3OYHGR.js.map +1 -0
- package/dist/headless.cjs +17 -1
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.js +17 -1
- package/dist/headless.js.map +1 -1
- package/dist/i18n/index.cjs +126 -258
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +95 -43
- package/dist/i18n/index.d.ts +95 -43
- package/dist/i18n/index.js +126 -258
- package/dist/i18n/index.js.map +1 -1
- package/dist/index.cjs +1815 -2258
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +172 -204
- package/dist/index.d.ts +267 -247
- package/dist/index.js +1577 -2259
- package/dist/index.js.map +1 -1
- package/dist/mushi.loader.global.js +12 -495
- package/dist/test-utils.cjs +237 -0
- package/dist/test-utils.cjs.map +1 -1
- package/dist/test-utils.js +237 -0
- package/dist/test-utils.js.map +1 -1
- package/package.json +12 -3
package/dist/i18n/index.d.ts
CHANGED
|
@@ -12,49 +12,61 @@ 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;
|
|
44
|
-
/** Placeholder
|
|
55
|
+
/** Placeholder when the Idea chip is picked. */
|
|
45
56
|
featurePlaceholder: string;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
/** @deprecated Unused since 1.30. */
|
|
58
|
+
featureExamples?: string[];
|
|
59
|
+
/** @deprecated Unused since 1.30. */
|
|
60
|
+
otherPlaceholder?: string;
|
|
49
61
|
/** Footer shortcut hint; `{key}` is ⌘ on Apple platforms, Ctrl elsewhere. */
|
|
50
62
|
submitHint: string;
|
|
51
|
-
/**
|
|
52
|
-
charsNeeded
|
|
63
|
+
/** @deprecated Unused since 1.30 — the hint is "Add a few words". */
|
|
64
|
+
charsNeeded?: string;
|
|
53
65
|
screenshotButton: string;
|
|
54
66
|
screenshotAttached: string;
|
|
55
67
|
screenshotCapturing: string;
|
|
56
68
|
/** @deprecated The web widget now shows `screenshotRetry` + `screenshotErrors`; kept for type compatibility. */
|
|
57
|
-
screenshotFailed
|
|
69
|
+
screenshotFailed?: string;
|
|
58
70
|
/** Screenshot button label after a failed capture. */
|
|
59
71
|
screenshotRetry: string;
|
|
60
72
|
/** Offered after a failed capture: user-consented tab share (getDisplayMedia). */
|
|
@@ -77,11 +89,37 @@ interface MushiLocale {
|
|
|
77
89
|
elementCapturing: string;
|
|
78
90
|
elementFailed: string;
|
|
79
91
|
elementSelectorHint: string;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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;
|
|
85
123
|
};
|
|
86
124
|
assistant: {
|
|
87
125
|
defaultLabel: string;
|
|
@@ -100,7 +138,8 @@ interface MushiLocale {
|
|
|
100
138
|
};
|
|
101
139
|
};
|
|
102
140
|
flows: {
|
|
103
|
-
|
|
141
|
+
/** @deprecated Unused since 1.30 (no brand eyebrow in the header). */
|
|
142
|
+
eyebrows?: {
|
|
104
143
|
inbox: string;
|
|
105
144
|
roadmap: string;
|
|
106
145
|
community: string;
|
|
@@ -113,8 +152,10 @@ interface MushiLocale {
|
|
|
113
152
|
reports: {
|
|
114
153
|
title: string;
|
|
115
154
|
loading: string;
|
|
116
|
-
empty
|
|
117
|
-
|
|
155
|
+
/** @deprecated Unused since 1.30 — core `ui.empty`. */
|
|
156
|
+
empty?: string;
|
|
157
|
+
/** @deprecated Unused since 1.30. */
|
|
158
|
+
leaderboardLink?: string;
|
|
118
159
|
};
|
|
119
160
|
roadmap: {
|
|
120
161
|
title: string;
|
|
@@ -158,20 +199,26 @@ interface MushiLocale {
|
|
|
158
199
|
unknownApp: string;
|
|
159
200
|
};
|
|
160
201
|
thread: {
|
|
161
|
-
|
|
202
|
+
/** @deprecated Unused since 1.30 — see `panel.reportTitle`. */
|
|
203
|
+
title?: string;
|
|
162
204
|
loading: string;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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;
|
|
166
211
|
replyPlaceholder: string;
|
|
167
|
-
send
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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;
|
|
171
218
|
};
|
|
172
219
|
success: {
|
|
173
|
-
/**
|
|
174
|
-
title
|
|
220
|
+
/** @deprecated Unused since 1.30 — the receipt title is core `ui.sent`. */
|
|
221
|
+
title?: string;
|
|
175
222
|
/** Closes the panel from the success step. */
|
|
176
223
|
done: string;
|
|
177
224
|
trackReport: string;
|
|
@@ -193,14 +240,19 @@ interface MushiLocale {
|
|
|
193
240
|
};
|
|
194
241
|
featureRequest: {
|
|
195
242
|
label: string;
|
|
196
|
-
|
|
243
|
+
/** @deprecated Unused since 1.30. */
|
|
244
|
+
description?: string;
|
|
197
245
|
};
|
|
198
246
|
/** Beta-mode strip on the category step. */
|
|
199
247
|
betaStrip: {
|
|
200
248
|
/** Default status line when the host sets no message; `{appName}` placeholder. */
|
|
201
249
|
defaultMessage: string;
|
|
202
|
-
/**
|
|
250
|
+
/** Optional contact line, rendered as a mailto link; `{email}` placeholder. Nothing is emailed. */
|
|
203
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;
|
|
204
256
|
/** aria-label for the strip. */
|
|
205
257
|
ariaLabel: string;
|
|
206
258
|
};
|