@the-seeker/changes-react 0.0.0-stage → 0.1.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 +104 -2
- package/dist/core/cache.d.ts +14 -0
- package/dist/core/cache.js +34 -0
- package/dist/core/client.d.ts +161 -0
- package/dist/core/client.js +97 -0
- package/dist/core/decide.d.ts +16 -0
- package/dist/core/decide.js +57 -0
- package/dist/core/rating.d.ts +7 -0
- package/dist/core/rating.js +18 -0
- package/dist/core/storage.d.ts +20 -0
- package/dist/core/storage.js +73 -0
- package/dist/core/types.d.ts +332 -0
- package/dist/core/types.js +126 -0
- package/dist/core/versions.d.ts +2 -0
- package/dist/core/versions.js +20 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +47 -0
- package/dist/web/Blocks.d.ts +5 -0
- package/dist/web/Blocks.js +42 -0
- package/dist/web/ChangelogButton.d.ts +5 -0
- package/dist/web/ChangelogButton.js +17 -0
- package/dist/web/ChangelogDialog.d.ts +2 -0
- package/dist/web/ChangelogDialog.js +19 -0
- package/dist/web/ChangelogList.d.ts +2 -0
- package/dist/web/ChangelogList.js +32 -0
- package/dist/web/CommentComposer.d.ts +9 -0
- package/dist/web/CommentComposer.js +47 -0
- package/dist/web/CommentItem.d.ts +11 -0
- package/dist/web/CommentItem.js +23 -0
- package/dist/web/CommentsThread.d.ts +4 -0
- package/dist/web/CommentsThread.js +15 -0
- package/dist/web/DialogShell.d.ts +11 -0
- package/dist/web/DialogShell.js +36 -0
- package/dist/web/Provider.d.ts +24 -0
- package/dist/web/Provider.js +109 -0
- package/dist/web/ReleaseCard.d.ts +5 -0
- package/dist/web/ReleaseCard.js +23 -0
- package/dist/web/ReleaseEngagement.d.ts +5 -0
- package/dist/web/ReleaseEngagement.js +24 -0
- package/dist/web/ReleaseSummary.d.ts +8 -0
- package/dist/web/ReleaseSummary.js +15 -0
- package/dist/web/ReportMenu.d.ts +4 -0
- package/dist/web/ReportMenu.js +79 -0
- package/dist/web/VoteCapsule.d.ts +9 -0
- package/dist/web/VoteCapsule.js +12 -0
- package/dist/web/WhatsNewModal.d.ts +2 -0
- package/dist/web/WhatsNewModal.js +26 -0
- package/dist/web/context.d.ts +82 -0
- package/dist/web/context.js +5 -0
- package/dist/web/controls-css.d.ts +1 -0
- package/dist/web/controls-css.js +48 -0
- package/dist/web/focus-trap.d.ts +7 -0
- package/dist/web/focus-trap.js +69 -0
- package/dist/web/icons.d.ts +17 -0
- package/dist/web/icons.js +29 -0
- package/dist/web/links.d.ts +11 -0
- package/dist/web/links.js +45 -0
- package/dist/web/load.d.ts +35 -0
- package/dist/web/load.js +61 -0
- package/dist/web/local-store.d.ts +7 -0
- package/dist/web/local-store.js +27 -0
- package/dist/web/model.d.ts +36 -0
- package/dist/web/model.js +37 -0
- package/dist/web/storage.d.ts +7 -0
- package/dist/web/storage.js +53 -0
- package/dist/web/styles.d.ts +273 -0
- package/dist/web/styles.js +201 -0
- package/dist/web/texts-defaults.d.ts +115 -0
- package/dist/web/texts-defaults.js +117 -0
- package/dist/web/texts.d.ts +9 -0
- package/dist/web/texts.js +49 -0
- package/dist/web/theme.d.ts +6 -0
- package/dist/web/theme.js +82 -0
- package/dist/web/use-actions.d.ts +10 -0
- package/dist/web/use-actions.js +114 -0
- package/dist/web/use-comments-api.d.ts +5 -0
- package/dist/web/use-comments-api.js +75 -0
- package/dist/web/use-thread.d.ts +23 -0
- package/dist/web/use-thread.js +82 -0
- package/dist/web/useChanges.d.ts +5 -0
- package/dist/web/useChanges.js +19 -0
- package/package.json +33 -3
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
export declare const text: {
|
|
2
|
+
readonly eyebrow: {
|
|
3
|
+
readonly margin: 0;
|
|
4
|
+
readonly fontSize: 13;
|
|
5
|
+
readonly lineHeight: "20px";
|
|
6
|
+
readonly fontWeight: 500;
|
|
7
|
+
readonly color: "var(--tsc-fg-2)";
|
|
8
|
+
};
|
|
9
|
+
readonly sheetTitle: {
|
|
10
|
+
readonly margin: 0;
|
|
11
|
+
readonly fontSize: 22;
|
|
12
|
+
readonly lineHeight: "28px";
|
|
13
|
+
readonly fontWeight: 600;
|
|
14
|
+
readonly letterSpacing: "-0.011em";
|
|
15
|
+
readonly textWrap: "balance";
|
|
16
|
+
readonly color: "var(--tsc-fg)";
|
|
17
|
+
};
|
|
18
|
+
readonly cardTitle: {
|
|
19
|
+
readonly margin: 0;
|
|
20
|
+
readonly fontSize: 17;
|
|
21
|
+
readonly lineHeight: "24px";
|
|
22
|
+
readonly fontWeight: 600;
|
|
23
|
+
readonly letterSpacing: "-0.011em";
|
|
24
|
+
readonly textWrap: "balance";
|
|
25
|
+
readonly color: "var(--tsc-fg)";
|
|
26
|
+
};
|
|
27
|
+
readonly meta: {
|
|
28
|
+
readonly margin: 0;
|
|
29
|
+
readonly fontSize: 13;
|
|
30
|
+
readonly lineHeight: "20px";
|
|
31
|
+
readonly color: "var(--tsc-fg-2)";
|
|
32
|
+
readonly fontVariantNumeric: "tabular-nums";
|
|
33
|
+
};
|
|
34
|
+
readonly body: {
|
|
35
|
+
readonly margin: 0;
|
|
36
|
+
readonly fontSize: 15;
|
|
37
|
+
readonly lineHeight: 1.6;
|
|
38
|
+
readonly color: "var(--tsc-fg)";
|
|
39
|
+
readonly textWrap: "pretty";
|
|
40
|
+
readonly overflowWrap: "break-word";
|
|
41
|
+
};
|
|
42
|
+
readonly blockHeading: {
|
|
43
|
+
readonly margin: 0;
|
|
44
|
+
readonly fontSize: 15;
|
|
45
|
+
readonly lineHeight: "24px";
|
|
46
|
+
readonly fontWeight: 600;
|
|
47
|
+
readonly color: "var(--tsc-fg)";
|
|
48
|
+
};
|
|
49
|
+
readonly code: {
|
|
50
|
+
readonly fontFamily: "var(--tsc-mono)";
|
|
51
|
+
readonly fontSize: "0.9em";
|
|
52
|
+
readonly padding: "1px 4px";
|
|
53
|
+
readonly borderRadius: 4;
|
|
54
|
+
readonly background: "var(--tsc-control)";
|
|
55
|
+
readonly border: "1px solid var(--tsc-border-subtle)";
|
|
56
|
+
};
|
|
57
|
+
readonly label: {
|
|
58
|
+
readonly fontSize: 13;
|
|
59
|
+
readonly lineHeight: "20px";
|
|
60
|
+
readonly fontWeight: 500;
|
|
61
|
+
readonly color: "var(--tsc-fg-2)";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export declare const layout: {
|
|
65
|
+
readonly stack4: {
|
|
66
|
+
readonly display: "grid";
|
|
67
|
+
readonly gap: 4;
|
|
68
|
+
};
|
|
69
|
+
readonly stack8: {
|
|
70
|
+
readonly display: "grid";
|
|
71
|
+
readonly gap: 8;
|
|
72
|
+
};
|
|
73
|
+
readonly stack12: {
|
|
74
|
+
readonly display: "grid";
|
|
75
|
+
readonly gap: 12;
|
|
76
|
+
};
|
|
77
|
+
readonly stack16: {
|
|
78
|
+
readonly display: "grid";
|
|
79
|
+
readonly gap: 16;
|
|
80
|
+
};
|
|
81
|
+
readonly row8: {
|
|
82
|
+
readonly display: "flex";
|
|
83
|
+
readonly alignItems: "center";
|
|
84
|
+
readonly gap: 8;
|
|
85
|
+
readonly flexWrap: "wrap";
|
|
86
|
+
};
|
|
87
|
+
readonly rowBetween: {
|
|
88
|
+
readonly display: "flex";
|
|
89
|
+
readonly alignItems: "center";
|
|
90
|
+
readonly justifyContent: "space-between";
|
|
91
|
+
readonly gap: 8;
|
|
92
|
+
};
|
|
93
|
+
readonly list: {
|
|
94
|
+
readonly margin: 0;
|
|
95
|
+
readonly padding: 0;
|
|
96
|
+
readonly listStyle: "none";
|
|
97
|
+
};
|
|
98
|
+
readonly bullets: {
|
|
99
|
+
readonly margin: 0;
|
|
100
|
+
readonly paddingInlineStart: 20;
|
|
101
|
+
readonly display: "grid";
|
|
102
|
+
readonly gap: 6;
|
|
103
|
+
readonly listStyleType: "disc";
|
|
104
|
+
};
|
|
105
|
+
readonly grow: {
|
|
106
|
+
readonly flex: "1 1 auto";
|
|
107
|
+
readonly minWidth: 0;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const surface: {
|
|
111
|
+
readonly card: {
|
|
112
|
+
readonly display: "grid";
|
|
113
|
+
readonly gap: 16;
|
|
114
|
+
readonly padding: 16;
|
|
115
|
+
readonly borderRadius: 8;
|
|
116
|
+
readonly border: "1px solid var(--tsc-border)";
|
|
117
|
+
readonly background: "var(--tsc-surface)";
|
|
118
|
+
};
|
|
119
|
+
readonly tag: {
|
|
120
|
+
readonly display: "inline-flex";
|
|
121
|
+
readonly alignItems: "center";
|
|
122
|
+
readonly height: 24;
|
|
123
|
+
readonly padding: "0 8px";
|
|
124
|
+
readonly borderRadius: 999;
|
|
125
|
+
readonly border: "1px solid var(--tsc-border)";
|
|
126
|
+
readonly fontSize: 12;
|
|
127
|
+
readonly lineHeight: "20px";
|
|
128
|
+
readonly fontWeight: 500;
|
|
129
|
+
readonly color: "var(--tsc-fg-2)";
|
|
130
|
+
readonly whiteSpace: "nowrap";
|
|
131
|
+
};
|
|
132
|
+
readonly badge: {
|
|
133
|
+
readonly display: "inline-flex";
|
|
134
|
+
readonly alignItems: "center";
|
|
135
|
+
readonly justifyContent: "center";
|
|
136
|
+
readonly minWidth: 20;
|
|
137
|
+
readonly height: 20;
|
|
138
|
+
readonly padding: "0 6px";
|
|
139
|
+
readonly borderRadius: 999;
|
|
140
|
+
readonly background: "var(--tsc-accent)";
|
|
141
|
+
readonly color: "var(--tsc-accent-fg)";
|
|
142
|
+
readonly fontSize: 12;
|
|
143
|
+
readonly lineHeight: "20px";
|
|
144
|
+
readonly fontWeight: 600;
|
|
145
|
+
readonly fontVariantNumeric: "tabular-nums";
|
|
146
|
+
};
|
|
147
|
+
readonly developer: {
|
|
148
|
+
readonly display: "inline-flex";
|
|
149
|
+
readonly alignItems: "center";
|
|
150
|
+
readonly height: 20;
|
|
151
|
+
readonly padding: "0 6px";
|
|
152
|
+
readonly borderRadius: 4;
|
|
153
|
+
readonly background: "var(--tsc-accent-soft)";
|
|
154
|
+
readonly color: "var(--tsc-fg)";
|
|
155
|
+
readonly fontSize: 12;
|
|
156
|
+
readonly lineHeight: "20px";
|
|
157
|
+
readonly fontWeight: 600;
|
|
158
|
+
};
|
|
159
|
+
readonly notice: {
|
|
160
|
+
readonly margin: 0;
|
|
161
|
+
readonly padding: "10px 12px";
|
|
162
|
+
readonly borderRadius: 8;
|
|
163
|
+
readonly background: "var(--tsc-danger-soft)";
|
|
164
|
+
readonly color: "var(--tsc-fg)";
|
|
165
|
+
readonly fontSize: 13;
|
|
166
|
+
readonly lineHeight: 1.5;
|
|
167
|
+
};
|
|
168
|
+
readonly note: {
|
|
169
|
+
readonly margin: 0;
|
|
170
|
+
readonly padding: "10px 12px";
|
|
171
|
+
readonly borderRadius: 8;
|
|
172
|
+
readonly background: "var(--tsc-control)";
|
|
173
|
+
readonly border: "1px solid var(--tsc-border-subtle)";
|
|
174
|
+
readonly color: "var(--tsc-fg-2)";
|
|
175
|
+
readonly fontSize: 13;
|
|
176
|
+
readonly lineHeight: 1.5;
|
|
177
|
+
};
|
|
178
|
+
readonly divider: {
|
|
179
|
+
readonly width: 1;
|
|
180
|
+
readonly height: 20;
|
|
181
|
+
readonly background: "var(--tsc-border-strong)";
|
|
182
|
+
readonly flex: "none";
|
|
183
|
+
};
|
|
184
|
+
readonly menu: {
|
|
185
|
+
readonly position: "absolute";
|
|
186
|
+
readonly insetInlineEnd: 0;
|
|
187
|
+
readonly top: "100%";
|
|
188
|
+
readonly zIndex: 1;
|
|
189
|
+
readonly minWidth: 200;
|
|
190
|
+
readonly marginTop: 4;
|
|
191
|
+
readonly padding: 4;
|
|
192
|
+
readonly borderRadius: 8;
|
|
193
|
+
readonly border: "1px solid var(--tsc-border)";
|
|
194
|
+
readonly background: "var(--tsc-surface)";
|
|
195
|
+
readonly boxShadow: "var(--tsc-menu-shadow)";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export declare const dialogParts: {
|
|
199
|
+
readonly header: {
|
|
200
|
+
readonly display: "flex";
|
|
201
|
+
readonly alignItems: "center";
|
|
202
|
+
readonly justifyContent: "space-between";
|
|
203
|
+
readonly gap: 12;
|
|
204
|
+
readonly minHeight: 56;
|
|
205
|
+
readonly padding: "16px 8px 4px 20px";
|
|
206
|
+
};
|
|
207
|
+
readonly body: {
|
|
208
|
+
readonly flex: "1 1 auto";
|
|
209
|
+
readonly minHeight: 0;
|
|
210
|
+
readonly overflowY: "auto";
|
|
211
|
+
readonly overscrollBehavior: "contain";
|
|
212
|
+
readonly padding: "4px 20px 20px";
|
|
213
|
+
};
|
|
214
|
+
readonly footer: {
|
|
215
|
+
readonly padding: "12px 20px 20px";
|
|
216
|
+
readonly borderTop: "1px solid var(--tsc-border-subtle)";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export declare const thread: {
|
|
220
|
+
readonly root: {
|
|
221
|
+
readonly display: "grid";
|
|
222
|
+
readonly gap: 20;
|
|
223
|
+
readonly paddingTop: 16;
|
|
224
|
+
readonly borderTop: "1px solid var(--tsc-border-subtle)";
|
|
225
|
+
};
|
|
226
|
+
readonly author: {
|
|
227
|
+
readonly fontSize: 13;
|
|
228
|
+
readonly lineHeight: "20px";
|
|
229
|
+
readonly fontWeight: 600;
|
|
230
|
+
readonly color: "var(--tsc-fg)";
|
|
231
|
+
};
|
|
232
|
+
readonly date: {
|
|
233
|
+
readonly fontSize: 13;
|
|
234
|
+
readonly lineHeight: "20px";
|
|
235
|
+
readonly color: "var(--tsc-fg-3)";
|
|
236
|
+
readonly fontVariantNumeric: "tabular-nums";
|
|
237
|
+
};
|
|
238
|
+
readonly body: {
|
|
239
|
+
readonly margin: 0;
|
|
240
|
+
readonly fontSize: 15;
|
|
241
|
+
readonly lineHeight: 1.6;
|
|
242
|
+
readonly color: "var(--tsc-fg)";
|
|
243
|
+
readonly whiteSpace: "pre-wrap";
|
|
244
|
+
readonly overflowWrap: "anywhere";
|
|
245
|
+
};
|
|
246
|
+
readonly replies: {
|
|
247
|
+
readonly margin: "4px 0 0";
|
|
248
|
+
readonly padding: 0;
|
|
249
|
+
readonly paddingInlineStart: 16;
|
|
250
|
+
readonly marginInlineStart: 4;
|
|
251
|
+
readonly borderInlineStart: "2px solid var(--tsc-border-subtle)";
|
|
252
|
+
readonly listStyle: "none";
|
|
253
|
+
readonly display: "grid";
|
|
254
|
+
readonly gap: 16;
|
|
255
|
+
};
|
|
256
|
+
readonly guidelines: {
|
|
257
|
+
readonly display: "grid";
|
|
258
|
+
readonly gap: 8;
|
|
259
|
+
readonly padding: 12;
|
|
260
|
+
readonly borderRadius: 8;
|
|
261
|
+
readonly border: "1px solid var(--tsc-border-subtle)";
|
|
262
|
+
readonly background: "var(--tsc-control)";
|
|
263
|
+
};
|
|
264
|
+
readonly check: {
|
|
265
|
+
readonly display: "flex";
|
|
266
|
+
readonly alignItems: "center";
|
|
267
|
+
readonly gap: 10;
|
|
268
|
+
readonly minHeight: 44;
|
|
269
|
+
readonly fontSize: 15;
|
|
270
|
+
readonly lineHeight: "20px";
|
|
271
|
+
readonly cursor: "pointer";
|
|
272
|
+
};
|
|
273
|
+
};
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.thread = exports.dialogParts = exports.surface = exports.layout = exports.text = void 0;
|
|
4
|
+
exports.text = {
|
|
5
|
+
eyebrow: { margin: 0, fontSize: 13, lineHeight: "20px", fontWeight: 500, color: "var(--tsc-fg-2)" },
|
|
6
|
+
sheetTitle: {
|
|
7
|
+
margin: 0,
|
|
8
|
+
fontSize: 22,
|
|
9
|
+
lineHeight: "28px",
|
|
10
|
+
fontWeight: 600,
|
|
11
|
+
letterSpacing: "-0.011em",
|
|
12
|
+
textWrap: "balance",
|
|
13
|
+
color: "var(--tsc-fg)",
|
|
14
|
+
},
|
|
15
|
+
cardTitle: {
|
|
16
|
+
margin: 0,
|
|
17
|
+
fontSize: 17,
|
|
18
|
+
lineHeight: "24px",
|
|
19
|
+
fontWeight: 600,
|
|
20
|
+
letterSpacing: "-0.011em",
|
|
21
|
+
textWrap: "balance",
|
|
22
|
+
color: "var(--tsc-fg)",
|
|
23
|
+
},
|
|
24
|
+
meta: {
|
|
25
|
+
margin: 0,
|
|
26
|
+
fontSize: 13,
|
|
27
|
+
lineHeight: "20px",
|
|
28
|
+
color: "var(--tsc-fg-2)",
|
|
29
|
+
fontVariantNumeric: "tabular-nums",
|
|
30
|
+
},
|
|
31
|
+
body: {
|
|
32
|
+
margin: 0,
|
|
33
|
+
fontSize: 15,
|
|
34
|
+
lineHeight: 1.6,
|
|
35
|
+
color: "var(--tsc-fg)",
|
|
36
|
+
textWrap: "pretty",
|
|
37
|
+
overflowWrap: "break-word",
|
|
38
|
+
},
|
|
39
|
+
blockHeading: { margin: 0, fontSize: 15, lineHeight: "24px", fontWeight: 600, color: "var(--tsc-fg)" },
|
|
40
|
+
code: {
|
|
41
|
+
fontFamily: "var(--tsc-mono)",
|
|
42
|
+
fontSize: "0.9em",
|
|
43
|
+
padding: "1px 4px",
|
|
44
|
+
borderRadius: 4,
|
|
45
|
+
background: "var(--tsc-control)",
|
|
46
|
+
border: "1px solid var(--tsc-border-subtle)",
|
|
47
|
+
},
|
|
48
|
+
label: { fontSize: 13, lineHeight: "20px", fontWeight: 500, color: "var(--tsc-fg-2)" },
|
|
49
|
+
};
|
|
50
|
+
exports.layout = {
|
|
51
|
+
stack4: { display: "grid", gap: 4 },
|
|
52
|
+
stack8: { display: "grid", gap: 8 },
|
|
53
|
+
stack12: { display: "grid", gap: 12 },
|
|
54
|
+
stack16: { display: "grid", gap: 16 },
|
|
55
|
+
row8: { display: "flex", alignItems: "center", gap: 8, flexWrap: "wrap" },
|
|
56
|
+
rowBetween: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: 8 },
|
|
57
|
+
list: { margin: 0, padding: 0, listStyle: "none" },
|
|
58
|
+
bullets: { margin: 0, paddingInlineStart: 20, display: "grid", gap: 6, listStyleType: "disc" },
|
|
59
|
+
grow: { flex: "1 1 auto", minWidth: 0 },
|
|
60
|
+
};
|
|
61
|
+
exports.surface = {
|
|
62
|
+
card: {
|
|
63
|
+
display: "grid",
|
|
64
|
+
gap: 16,
|
|
65
|
+
padding: 16,
|
|
66
|
+
borderRadius: 8,
|
|
67
|
+
border: "1px solid var(--tsc-border)",
|
|
68
|
+
background: "var(--tsc-surface)",
|
|
69
|
+
},
|
|
70
|
+
tag: {
|
|
71
|
+
display: "inline-flex",
|
|
72
|
+
alignItems: "center",
|
|
73
|
+
height: 24,
|
|
74
|
+
padding: "0 8px",
|
|
75
|
+
borderRadius: 999,
|
|
76
|
+
border: "1px solid var(--tsc-border)",
|
|
77
|
+
fontSize: 12,
|
|
78
|
+
lineHeight: "20px",
|
|
79
|
+
fontWeight: 500,
|
|
80
|
+
color: "var(--tsc-fg-2)",
|
|
81
|
+
whiteSpace: "nowrap",
|
|
82
|
+
},
|
|
83
|
+
badge: {
|
|
84
|
+
display: "inline-flex",
|
|
85
|
+
alignItems: "center",
|
|
86
|
+
justifyContent: "center",
|
|
87
|
+
minWidth: 20,
|
|
88
|
+
height: 20,
|
|
89
|
+
padding: "0 6px",
|
|
90
|
+
borderRadius: 999,
|
|
91
|
+
background: "var(--tsc-accent)",
|
|
92
|
+
color: "var(--tsc-accent-fg)",
|
|
93
|
+
fontSize: 12,
|
|
94
|
+
lineHeight: "20px",
|
|
95
|
+
fontWeight: 600,
|
|
96
|
+
fontVariantNumeric: "tabular-nums",
|
|
97
|
+
},
|
|
98
|
+
developer: {
|
|
99
|
+
display: "inline-flex",
|
|
100
|
+
alignItems: "center",
|
|
101
|
+
height: 20,
|
|
102
|
+
padding: "0 6px",
|
|
103
|
+
borderRadius: 4,
|
|
104
|
+
background: "var(--tsc-accent-soft)",
|
|
105
|
+
color: "var(--tsc-fg)",
|
|
106
|
+
fontSize: 12,
|
|
107
|
+
lineHeight: "20px",
|
|
108
|
+
fontWeight: 600,
|
|
109
|
+
},
|
|
110
|
+
notice: {
|
|
111
|
+
margin: 0,
|
|
112
|
+
padding: "10px 12px",
|
|
113
|
+
borderRadius: 8,
|
|
114
|
+
background: "var(--tsc-danger-soft)",
|
|
115
|
+
color: "var(--tsc-fg)",
|
|
116
|
+
fontSize: 13,
|
|
117
|
+
lineHeight: 1.5,
|
|
118
|
+
},
|
|
119
|
+
note: {
|
|
120
|
+
margin: 0,
|
|
121
|
+
padding: "10px 12px",
|
|
122
|
+
borderRadius: 8,
|
|
123
|
+
background: "var(--tsc-control)",
|
|
124
|
+
border: "1px solid var(--tsc-border-subtle)",
|
|
125
|
+
color: "var(--tsc-fg-2)",
|
|
126
|
+
fontSize: 13,
|
|
127
|
+
lineHeight: 1.5,
|
|
128
|
+
},
|
|
129
|
+
divider: { width: 1, height: 20, background: "var(--tsc-border-strong)", flex: "none" },
|
|
130
|
+
menu: {
|
|
131
|
+
position: "absolute",
|
|
132
|
+
insetInlineEnd: 0,
|
|
133
|
+
top: "100%",
|
|
134
|
+
zIndex: 1,
|
|
135
|
+
minWidth: 200,
|
|
136
|
+
marginTop: 4,
|
|
137
|
+
padding: 4,
|
|
138
|
+
borderRadius: 8,
|
|
139
|
+
border: "1px solid var(--tsc-border)",
|
|
140
|
+
background: "var(--tsc-surface)",
|
|
141
|
+
boxShadow: "var(--tsc-menu-shadow)",
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
exports.dialogParts = {
|
|
145
|
+
header: {
|
|
146
|
+
display: "flex",
|
|
147
|
+
alignItems: "center",
|
|
148
|
+
justifyContent: "space-between",
|
|
149
|
+
gap: 12,
|
|
150
|
+
minHeight: 56,
|
|
151
|
+
padding: "16px 8px 4px 20px",
|
|
152
|
+
},
|
|
153
|
+
body: {
|
|
154
|
+
flex: "1 1 auto",
|
|
155
|
+
minHeight: 0,
|
|
156
|
+
overflowY: "auto",
|
|
157
|
+
overscrollBehavior: "contain",
|
|
158
|
+
padding: "4px 20px 20px",
|
|
159
|
+
},
|
|
160
|
+
footer: { padding: "12px 20px 20px", borderTop: "1px solid var(--tsc-border-subtle)" },
|
|
161
|
+
};
|
|
162
|
+
exports.thread = {
|
|
163
|
+
root: { display: "grid", gap: 20, paddingTop: 16, borderTop: "1px solid var(--tsc-border-subtle)" },
|
|
164
|
+
author: { fontSize: 13, lineHeight: "20px", fontWeight: 600, color: "var(--tsc-fg)" },
|
|
165
|
+
date: { fontSize: 13, lineHeight: "20px", color: "var(--tsc-fg-3)", fontVariantNumeric: "tabular-nums" },
|
|
166
|
+
body: {
|
|
167
|
+
margin: 0,
|
|
168
|
+
fontSize: 15,
|
|
169
|
+
lineHeight: 1.6,
|
|
170
|
+
color: "var(--tsc-fg)",
|
|
171
|
+
whiteSpace: "pre-wrap",
|
|
172
|
+
overflowWrap: "anywhere",
|
|
173
|
+
},
|
|
174
|
+
replies: {
|
|
175
|
+
margin: "4px 0 0",
|
|
176
|
+
padding: 0,
|
|
177
|
+
paddingInlineStart: 16,
|
|
178
|
+
marginInlineStart: 4,
|
|
179
|
+
borderInlineStart: "2px solid var(--tsc-border-subtle)",
|
|
180
|
+
listStyle: "none",
|
|
181
|
+
display: "grid",
|
|
182
|
+
gap: 16,
|
|
183
|
+
},
|
|
184
|
+
guidelines: {
|
|
185
|
+
display: "grid",
|
|
186
|
+
gap: 8,
|
|
187
|
+
padding: 12,
|
|
188
|
+
borderRadius: 8,
|
|
189
|
+
border: "1px solid var(--tsc-border-subtle)",
|
|
190
|
+
background: "var(--tsc-control)",
|
|
191
|
+
},
|
|
192
|
+
check: {
|
|
193
|
+
display: "flex",
|
|
194
|
+
alignItems: "center",
|
|
195
|
+
gap: 10,
|
|
196
|
+
minHeight: 44,
|
|
197
|
+
fontSize: 15,
|
|
198
|
+
lineHeight: "20px",
|
|
199
|
+
cursor: "pointer",
|
|
200
|
+
},
|
|
201
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export declare const DEFAULT_TEXTS: {
|
|
2
|
+
readonly ko: {
|
|
3
|
+
readonly title: "업데이트";
|
|
4
|
+
readonly subtitle: "더 나은 경험을 위한 새로운 소식";
|
|
5
|
+
readonly whatsNew: "새로운 소식";
|
|
6
|
+
readonly viewAll: "전체 보기";
|
|
7
|
+
readonly close: "닫기";
|
|
8
|
+
readonly continue: "계속";
|
|
9
|
+
readonly readUpdate: "업데이트 읽기";
|
|
10
|
+
readonly upvote: "좋아요";
|
|
11
|
+
readonly downvote: "아쉬워요";
|
|
12
|
+
readonly comments: "댓글";
|
|
13
|
+
readonly viewComments: "댓글 보기";
|
|
14
|
+
readonly writeComment: "댓글 쓰기";
|
|
15
|
+
readonly commentPlaceholder: "의견을 남겨 주세요";
|
|
16
|
+
readonly commentSubmit: "댓글 등록";
|
|
17
|
+
readonly reply: "답글";
|
|
18
|
+
readonly developerBadge: "개발자";
|
|
19
|
+
readonly report: "신고";
|
|
20
|
+
readonly reportReasons_spam: "스팸";
|
|
21
|
+
readonly reportReasons_abuse: "욕설 및 괴롭힘";
|
|
22
|
+
readonly reportReasons_off_topic: "주제와 무관";
|
|
23
|
+
readonly reportReasons_other: "기타";
|
|
24
|
+
readonly reported: "신고되었습니다";
|
|
25
|
+
readonly guidelinesTitle: "커뮤니티 이용 안내";
|
|
26
|
+
readonly guidelinesBody: "서로를 존중하며 업데이트에 관한 의견을 나눠 주세요. 개인정보, 스팸, 욕설 및 괴롭힘은 허용되지 않습니다.";
|
|
27
|
+
readonly guidelinesAccept: "이용 안내를 읽고 동의합니다";
|
|
28
|
+
readonly feedbackLabel: "개발자에게 의견 보내기";
|
|
29
|
+
readonly feedbackPlaceholder: "어떤 점을 개선하면 좋을까요?";
|
|
30
|
+
readonly feedbackSubmit: "의견 보내기";
|
|
31
|
+
readonly feedbackThanks: "의견을 보내 주셔서 감사합니다";
|
|
32
|
+
readonly rateAppStore: "App Store에서 평가";
|
|
33
|
+
readonly ratePlay: "Google Play에서 평가";
|
|
34
|
+
readonly rateWeb: "리뷰 남기기";
|
|
35
|
+
readonly empty: "아직 업데이트가 없습니다";
|
|
36
|
+
readonly loadError: "소식을 불러오지 못했습니다";
|
|
37
|
+
readonly offline: "오프라인입니다. 저장된 소식을 표시합니다";
|
|
38
|
+
readonly contactDeveloper: "개발자에게 문의";
|
|
39
|
+
readonly tag_new: "새 기능";
|
|
40
|
+
readonly tag_improved: "개선";
|
|
41
|
+
readonly tag_fixed: "수정";
|
|
42
|
+
readonly tag_security: "보안";
|
|
43
|
+
readonly tag_deprecated: "지원 중단 예정";
|
|
44
|
+
readonly unreadCount: "새 소식 {count}개";
|
|
45
|
+
readonly commentCount: "댓글 {count}개";
|
|
46
|
+
readonly noComments: "아직 댓글이 없습니다. 첫 의견을 남겨 보세요";
|
|
47
|
+
readonly loadMore: "댓글 더 보기";
|
|
48
|
+
readonly cancel: "취소";
|
|
49
|
+
readonly retry: "다시 시도";
|
|
50
|
+
readonly commentMenu: "댓글 메뉴";
|
|
51
|
+
readonly errorBanned: "이 커뮤니티에서는 더 이상 댓글을 쓰거나 투표할 수 없습니다";
|
|
52
|
+
readonly errorCommentsDisabled: "지금은 댓글을 쓸 수 없습니다";
|
|
53
|
+
readonly errorRateLimited: "댓글을 너무 자주 등록했습니다. 몇 분 뒤 다시 시도해 주세요";
|
|
54
|
+
readonly errorGuidelines: "댓글을 등록하려면 이용 안내에 동의해 주세요";
|
|
55
|
+
readonly errorGeneric: "보내지 못했습니다. 연결을 확인하고 다시 시도해 주세요";
|
|
56
|
+
};
|
|
57
|
+
readonly en: {
|
|
58
|
+
readonly title: "Updates";
|
|
59
|
+
readonly subtitle: "The latest improvements to your experience";
|
|
60
|
+
readonly whatsNew: "What's new";
|
|
61
|
+
readonly viewAll: "View all";
|
|
62
|
+
readonly close: "Close";
|
|
63
|
+
readonly continue: "Continue";
|
|
64
|
+
readonly readUpdate: "Read update";
|
|
65
|
+
readonly upvote: "Upvote";
|
|
66
|
+
readonly downvote: "Downvote";
|
|
67
|
+
readonly comments: "Comments";
|
|
68
|
+
readonly viewComments: "View comments";
|
|
69
|
+
readonly writeComment: "Write a comment";
|
|
70
|
+
readonly commentPlaceholder: "Share your thoughts";
|
|
71
|
+
readonly commentSubmit: "Post comment";
|
|
72
|
+
readonly reply: "Reply";
|
|
73
|
+
readonly developerBadge: "Developer";
|
|
74
|
+
readonly report: "Report";
|
|
75
|
+
readonly reportReasons_spam: "Spam";
|
|
76
|
+
readonly reportReasons_abuse: "Abuse or harassment";
|
|
77
|
+
readonly reportReasons_off_topic: "Off topic";
|
|
78
|
+
readonly reportReasons_other: "Other";
|
|
79
|
+
readonly reported: "Reported";
|
|
80
|
+
readonly guidelinesTitle: "Community guidelines";
|
|
81
|
+
readonly guidelinesBody: "Respect others and keep comments relevant to the update. Personal information, spam, abuse and harassment are not allowed.";
|
|
82
|
+
readonly guidelinesAccept: "I have read and accept the guidelines";
|
|
83
|
+
readonly feedbackLabel: "Send feedback to the developer";
|
|
84
|
+
readonly feedbackPlaceholder: "What could we improve?";
|
|
85
|
+
readonly feedbackSubmit: "Send feedback";
|
|
86
|
+
readonly feedbackThanks: "Thank you for your feedback";
|
|
87
|
+
readonly rateAppStore: "Rate on the App Store";
|
|
88
|
+
readonly ratePlay: "Rate on Google Play";
|
|
89
|
+
readonly rateWeb: "Write a review";
|
|
90
|
+
readonly empty: "No updates yet";
|
|
91
|
+
readonly loadError: "Could not load updates";
|
|
92
|
+
readonly offline: "You are offline. Showing saved updates";
|
|
93
|
+
readonly contactDeveloper: "Contact developer";
|
|
94
|
+
readonly tag_new: "New";
|
|
95
|
+
readonly tag_improved: "Improved";
|
|
96
|
+
readonly tag_fixed: "Fixed";
|
|
97
|
+
readonly tag_security: "Security";
|
|
98
|
+
readonly tag_deprecated: "Deprecated";
|
|
99
|
+
readonly unreadCount: "{count} new";
|
|
100
|
+
readonly commentCount: "{count} comments";
|
|
101
|
+
readonly noComments: "No comments yet. Start the conversation";
|
|
102
|
+
readonly loadMore: "Show more comments";
|
|
103
|
+
readonly cancel: "Cancel";
|
|
104
|
+
readonly retry: "Try again";
|
|
105
|
+
readonly commentMenu: "Comment menu";
|
|
106
|
+
readonly errorBanned: "You can no longer comment or vote in this community";
|
|
107
|
+
readonly errorCommentsDisabled: "Comments are turned off right now";
|
|
108
|
+
readonly errorRateLimited: "You are posting too often. Try again in a few minutes";
|
|
109
|
+
readonly errorGuidelines: "Accept the guidelines to post a comment";
|
|
110
|
+
readonly errorGeneric: "Unable to send. Check your connection and try again";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
export type Locale = keyof typeof DEFAULT_TEXTS;
|
|
114
|
+
export type TextKey = keyof (typeof DEFAULT_TEXTS)["ko"];
|
|
115
|
+
export type Texts = Readonly<Record<TextKey, string>>;
|