@brillout/docpress 0.2.1 → 0.2.3
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/dist/{chunk-TTLAZ2T2.js → chunk-3QC7HYIF.js} +0 -1
- package/dist/{chunk-G2A5MZJA.js → chunk-4G4ACGLN.js} +0 -1
- package/dist/{chunk-H5CO4N2X.js → chunk-D4PNWSRD.js} +8 -5
- package/dist/{chunk-7HKDCMSZ.js → chunk-MSIQIC6B.js} +4 -3
- package/dist/chunk-NVJING6T.js +91 -0
- package/dist/{chunk-XUTBTIEE.js → chunk-RZAPSH5Z.js} +20 -19
- package/dist/cli/index.js +5 -6
- package/dist/components/features/FeatureList.css +0 -1
- package/dist/components/features/FeatureList.js +2 -3
- package/dist/components/features/initFeatureList.js +2 -3
- package/dist/{devServer-534L4U45.js → devServer-UKWIENKN.js} +4 -5
- package/dist/index.css +0 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +181 -134
- package/dist/languages-KXPKJFQL.svg +1 -0
- package/dist/renderer/_default.page.client.css +22 -4
- package/dist/renderer/_default.page.client.js +6 -6
- package/dist/renderer/_default.page.server.css +2 -4
- package/dist/renderer/_default.page.server.d.ts +1 -1
- package/dist/renderer/_default.page.server.js +249 -223
- package/dist/repora-UNKQZ6QP.svg +10 -0
- package/package.json +3 -3
- package/dist/chunk-7HKDCMSZ.js.map +0 -1
- package/dist/chunk-C3OIVLKV.js +0 -75
- package/dist/chunk-C3OIVLKV.js.map +0 -1
- package/dist/chunk-G2A5MZJA.js.map +0 -1
- package/dist/chunk-H5CO4N2X.js.map +0 -1
- package/dist/chunk-TTLAZ2T2.js.map +0 -1
- package/dist/chunk-XUTBTIEE.js.map +0 -1
- package/dist/cli/index.js.map +0 -1
- package/dist/components/features/FeatureList.css.map +0 -1
- package/dist/components/features/FeatureList.js.map +0 -1
- package/dist/components/features/initFeatureList.js.map +0 -1
- package/dist/devServer-534L4U45.js.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/renderer/_default.page.client.css.map +0 -1
- package/dist/renderer/_default.page.client.js.map +0 -1
- package/dist/renderer/_default.page.server.css.map +0 -1
- package/dist/renderer/_default.page.server.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
isRepoLink,
|
|
5
5
|
parseTitle,
|
|
6
6
|
usePageContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4PNWSRD.js";
|
|
8
8
|
import {
|
|
9
9
|
FeatureList
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NVJING6T.js";
|
|
11
11
|
import {
|
|
12
12
|
Emoji,
|
|
13
13
|
crawlAllFiles,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
filter,
|
|
17
17
|
jsxToTextContent,
|
|
18
18
|
objectAssign
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MSIQIC6B.js";
|
|
20
20
|
import {
|
|
21
21
|
assert,
|
|
22
22
|
assertUsage,
|
|
23
23
|
isBrowser
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-4G4ACGLN.js";
|
|
25
|
+
import "./chunk-3QC7HYIF.js";
|
|
26
26
|
|
|
27
27
|
// src/components/Link.tsx
|
|
28
28
|
import React2 from "react";
|
|
@@ -36,7 +36,9 @@ function DocLink({
|
|
|
36
36
|
doNotInferSectionTitle
|
|
37
37
|
}) {
|
|
38
38
|
const pageContext = usePageContext();
|
|
39
|
-
return /* @__PURE__ */ React.createElement("a", {
|
|
39
|
+
return /* @__PURE__ */ React.createElement("a", {
|
|
40
|
+
href
|
|
41
|
+
}, text || getTitle({ href, noBreadcrumb, pageContext, doNotInferSectionTitle }));
|
|
40
42
|
}
|
|
41
43
|
function getTitle({
|
|
42
44
|
href,
|
|
@@ -84,7 +86,9 @@ function getTitle({
|
|
|
84
86
|
}
|
|
85
87
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, breadcrumbs.map((title, i) => {
|
|
86
88
|
const seperator = i === 0 ? /* @__PURE__ */ React.createElement(React.Fragment, null) : " > ";
|
|
87
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, {
|
|
89
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, {
|
|
90
|
+
key: i
|
|
91
|
+
}, seperator, title);
|
|
88
92
|
}));
|
|
89
93
|
}
|
|
90
94
|
function findHeading(href, pageContext) {
|
|
@@ -104,16 +108,24 @@ function findHeading(href, pageContext) {
|
|
|
104
108
|
// src/components/Link.tsx
|
|
105
109
|
function Link(props) {
|
|
106
110
|
if (isRepoLink(props.href)) {
|
|
107
|
-
return /* @__PURE__ */ React2.createElement(RepoLink, {
|
|
111
|
+
return /* @__PURE__ */ React2.createElement(RepoLink, {
|
|
112
|
+
path: props.href,
|
|
113
|
+
text: props.text
|
|
114
|
+
});
|
|
108
115
|
} else {
|
|
109
|
-
return /* @__PURE__ */ React2.createElement(DocLink, {
|
|
116
|
+
return /* @__PURE__ */ React2.createElement(DocLink, {
|
|
117
|
+
...props
|
|
118
|
+
});
|
|
110
119
|
}
|
|
111
120
|
}
|
|
112
121
|
|
|
113
122
|
// src/components/P.tsx
|
|
114
123
|
import React3 from "react";
|
|
115
124
|
function P(props) {
|
|
116
|
-
return /* @__PURE__ */ React3.createElement("div", {
|
|
125
|
+
return /* @__PURE__ */ React3.createElement("div", {
|
|
126
|
+
...props,
|
|
127
|
+
className: "paragraph"
|
|
128
|
+
});
|
|
117
129
|
}
|
|
118
130
|
|
|
119
131
|
// src/components/Info.tsx
|
|
@@ -128,24 +140,31 @@ function ReadingRecommendation({ tour, links }) {
|
|
|
128
140
|
const multiple = links.length + (tour ? 1 : 0) > 1;
|
|
129
141
|
return /* @__PURE__ */ React5.createElement(Info, null, multiple ? " " : "", /* @__PURE__ */ React5.createElement("b", null, "Reading Recommendation", multiple ? "." : ": "), (() => {
|
|
130
142
|
if (!multiple) {
|
|
131
|
-
const link = tour ? /* @__PURE__ */ React5.createElement(TourLink, null) : /* @__PURE__ */ React5.createElement(Link, {
|
|
143
|
+
const link = tour ? /* @__PURE__ */ React5.createElement(TourLink, null) : /* @__PURE__ */ React5.createElement(Link, {
|
|
144
|
+
href: links[0]
|
|
145
|
+
});
|
|
132
146
|
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, link, ".");
|
|
133
147
|
}
|
|
134
|
-
return /* @__PURE__ */ React5.createElement(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
);
|
|
148
|
+
return /* @__PURE__ */ React5.createElement("ul", {
|
|
149
|
+
style: {
|
|
150
|
+
marginLeft: 18,
|
|
151
|
+
marginTop: 11
|
|
152
|
+
}
|
|
153
|
+
}, tour && /* @__PURE__ */ React5.createElement("li", null, /* @__PURE__ */ React5.createElement(TourLink, null)), links.map((link, i) => /* @__PURE__ */ React5.createElement("li", {
|
|
154
|
+
key: i
|
|
155
|
+
}, /* @__PURE__ */ React5.createElement(Link, {
|
|
156
|
+
href: link
|
|
157
|
+
}))));
|
|
145
158
|
})());
|
|
146
159
|
}
|
|
147
160
|
function TourLink() {
|
|
148
|
-
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(Link, {
|
|
161
|
+
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(Link, {
|
|
162
|
+
href: "/react-tour",
|
|
163
|
+
noBreadcrumb: true
|
|
164
|
+
}), " or ", /* @__PURE__ */ React5.createElement(Link, {
|
|
165
|
+
href: "/vue-tour",
|
|
166
|
+
noBreadcrumb: true
|
|
167
|
+
}));
|
|
149
168
|
}
|
|
150
169
|
|
|
151
170
|
// src/components/Note.tsx
|
|
@@ -164,7 +183,13 @@ function Note({
|
|
|
164
183
|
icon = ":warning:";
|
|
165
184
|
}
|
|
166
185
|
}
|
|
167
|
-
return /* @__PURE__ */ React6.createElement("blockquote", {
|
|
186
|
+
return /* @__PURE__ */ React6.createElement("blockquote", {
|
|
187
|
+
className: type
|
|
188
|
+
}, /* @__PURE__ */ React6.createElement("div", {
|
|
189
|
+
style: { marginBottom: 20 }
|
|
190
|
+
}), icon, " ", children, /* @__PURE__ */ React6.createElement("div", {
|
|
191
|
+
style: { marginTop: 20 }
|
|
192
|
+
}));
|
|
168
193
|
}
|
|
169
194
|
|
|
170
195
|
// src/components/ImportMeta.tsx
|
|
@@ -179,19 +204,19 @@ function ImportMeta({ prop }) {
|
|
|
179
204
|
// src/components/HorizontalLine.tsx
|
|
180
205
|
import React8 from "react";
|
|
181
206
|
function HorizontalLine({ primary }) {
|
|
182
|
-
return /* @__PURE__ */ React8.createElement("div", {
|
|
183
|
-
"
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
207
|
+
return /* @__PURE__ */ React8.createElement("div", {
|
|
208
|
+
className: "header-separator-line " + (primary ? "primary" : ""),
|
|
209
|
+
style: { textAlign: "center" }
|
|
210
|
+
}, /* @__PURE__ */ React8.createElement("hr", {
|
|
211
|
+
style: {
|
|
212
|
+
display: "inline-block",
|
|
213
|
+
margin: 0,
|
|
214
|
+
border: 0,
|
|
215
|
+
borderTop: "1px solid #eee",
|
|
216
|
+
maxWidth: 500,
|
|
217
|
+
width: "80%"
|
|
193
218
|
}
|
|
194
|
-
));
|
|
219
|
+
}));
|
|
195
220
|
}
|
|
196
221
|
|
|
197
222
|
// src/components/Sponsors.tsx
|
|
@@ -200,15 +225,6 @@ import React9 from "react";
|
|
|
200
225
|
// src/icons/heart.svg
|
|
201
226
|
var heart_default = "/assets/heart-OINVKOXO.svg";
|
|
202
227
|
|
|
203
|
-
// src/components/Sponsors/companyLogos/ccoli.svg
|
|
204
|
-
var ccoli_default = "/assets/ccoli-CHW3TQKS.svg";
|
|
205
|
-
|
|
206
|
-
// src/components/Sponsors/companyLogos/contra.svg
|
|
207
|
-
var contra_default = "/assets/contra-WLZBOPBV.svg";
|
|
208
|
-
|
|
209
|
-
// src/components/Sponsors/companyLogos/mfqs.svg
|
|
210
|
-
var mfqs_default = "/assets/mfqs-2EAEE7N6.svg";
|
|
211
|
-
|
|
212
228
|
// src/components/Sponsors/medalGold.svg
|
|
213
229
|
var medalGold_default = "/assets/medalGold-UP6A73FL.svg";
|
|
214
230
|
|
|
@@ -221,6 +237,18 @@ var medalBronze_default = "/assets/medalBronze-CO4CTUR4.svg";
|
|
|
221
237
|
// src/components/Sponsors/label.svg
|
|
222
238
|
var label_default = "/assets/label-MP75CTIA.svg";
|
|
223
239
|
|
|
240
|
+
// src/components/Sponsors/companyLogos/ccoli.svg
|
|
241
|
+
var ccoli_default = "/assets/ccoli-CHW3TQKS.svg";
|
|
242
|
+
|
|
243
|
+
// src/components/Sponsors/companyLogos/contra.svg
|
|
244
|
+
var contra_default = "/assets/contra-WLZBOPBV.svg";
|
|
245
|
+
|
|
246
|
+
// src/components/Sponsors/companyLogos/mfqs.svg
|
|
247
|
+
var mfqs_default = "/assets/mfqs-2EAEE7N6.svg";
|
|
248
|
+
|
|
249
|
+
// src/components/Sponsors/companyLogos/repora.svg
|
|
250
|
+
var repora_default = "/assets/repora-UNKQZ6QP.svg";
|
|
251
|
+
|
|
224
252
|
// src/components/Sponsors.tsx
|
|
225
253
|
var sponsors = [
|
|
226
254
|
{
|
|
@@ -241,9 +269,30 @@ var sponsors = [
|
|
|
241
269
|
plan: "bronze",
|
|
242
270
|
website: "https://myfavoritequiltstore.com"
|
|
243
271
|
},
|
|
272
|
+
{
|
|
273
|
+
companyName: "Repora",
|
|
274
|
+
companyLogo: repora_default,
|
|
275
|
+
plan: "bronze",
|
|
276
|
+
website: "https://www.repora.com"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
username: "DannyZB"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
username: "pieperz"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
username: "hemengke1997"
|
|
286
|
+
},
|
|
244
287
|
{
|
|
245
288
|
username: "spacedawwwg"
|
|
246
289
|
},
|
|
290
|
+
{
|
|
291
|
+
username: "arthurgailes"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
username: "stackblitz"
|
|
295
|
+
},
|
|
247
296
|
{
|
|
248
297
|
username: "codthing"
|
|
249
298
|
},
|
|
@@ -257,23 +306,31 @@ var sponsors = [
|
|
|
257
306
|
function Sponsors() {
|
|
258
307
|
const pageContext = usePageContext();
|
|
259
308
|
const { projectInfo } = pageContext.config;
|
|
260
|
-
return /* @__PURE__ */ React9.createElement("div", {
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
309
|
+
return /* @__PURE__ */ React9.createElement("div", {
|
|
310
|
+
style: { textAlign: "center", marginTop: 19 }
|
|
311
|
+
}, /* @__PURE__ */ React9.createElement("a", {
|
|
312
|
+
className: "button",
|
|
313
|
+
href: "https://github.com/sponsors/brillout",
|
|
314
|
+
style: {
|
|
315
|
+
color: "inherit",
|
|
316
|
+
display: "inline-flex",
|
|
317
|
+
alignItems: "center",
|
|
318
|
+
padding: "5px 10px",
|
|
319
|
+
marginBottom: 10
|
|
320
|
+
}
|
|
321
|
+
}, /* @__PURE__ */ React9.createElement("img", {
|
|
322
|
+
src: heart_default,
|
|
323
|
+
height: 22
|
|
324
|
+
}), " ", /* @__PURE__ */ React9.createElement("span", {
|
|
325
|
+
style: { marginLeft: 7, fontSize: "1.07em" }
|
|
326
|
+
}, "Sponsor")), /* @__PURE__ */ React9.createElement("div", null), /* @__PURE__ */ React9.createElement("div", {
|
|
327
|
+
style: { maxWidth: 400, display: "inline-block", marginTop: 12, marginBottom: 12 }
|
|
328
|
+
}, projectInfo.projectNameJsx || projectInfo.projectName, " is free and open source, made possible by wonderful sponsors."), /* @__PURE__ */ React9.createElement("div", {
|
|
329
|
+
style: { display: "flex", flexWrap: "wrap", justifyContent: "center", alignItems: "end" }
|
|
330
|
+
}, sponsors.map((sponsor, i) => /* @__PURE__ */ React9.createElement(SponsorDiv, {
|
|
331
|
+
sponsor,
|
|
332
|
+
key: i
|
|
333
|
+
}))));
|
|
277
334
|
}
|
|
278
335
|
function SponsorDiv({ sponsor }) {
|
|
279
336
|
let imgSrc;
|
|
@@ -299,96 +356,82 @@ function SponsorDiv({ sponsor }) {
|
|
|
299
356
|
height = size.height;
|
|
300
357
|
padding = size.padding;
|
|
301
358
|
imgAlt = sponsor.companyName;
|
|
302
|
-
label = /* @__PURE__ */ React9.createElement(Label, {
|
|
359
|
+
label = /* @__PURE__ */ React9.createElement(Label, {
|
|
360
|
+
sponsor
|
|
361
|
+
});
|
|
303
362
|
}
|
|
304
363
|
const marginWidth = 5;
|
|
305
|
-
return /* @__PURE__ */ React9.createElement(
|
|
306
|
-
|
|
307
|
-
{
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
{
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
/* @__PURE__ */ React9.createElement(
|
|
331
|
-
"img",
|
|
332
|
-
{
|
|
333
|
-
style: { width: `calc(100% - ${padding}px)`, height: height - padding, zIndex: 2 },
|
|
334
|
-
src: imgSrc,
|
|
335
|
-
alt: imgAlt
|
|
336
|
-
}
|
|
337
|
-
)
|
|
338
|
-
)
|
|
339
|
-
);
|
|
364
|
+
return /* @__PURE__ */ React9.createElement("a", {
|
|
365
|
+
href: website,
|
|
366
|
+
style: {
|
|
367
|
+
margin: `10px ${marginWidth}px`
|
|
368
|
+
}
|
|
369
|
+
}, label, /* @__PURE__ */ React9.createElement("div", {
|
|
370
|
+
style: {
|
|
371
|
+
backgroundColor,
|
|
372
|
+
borderRadius: 7,
|
|
373
|
+
overflow: "hidden",
|
|
374
|
+
width,
|
|
375
|
+
maxWidth: `calc(100vw - 2 * var(--main-view-padding) - 2 * ${marginWidth}px)`,
|
|
376
|
+
height,
|
|
377
|
+
display: "flex",
|
|
378
|
+
alignItems: "center",
|
|
379
|
+
flexDirection: "column",
|
|
380
|
+
justifyContent: "center"
|
|
381
|
+
}
|
|
382
|
+
}, /* @__PURE__ */ React9.createElement("img", {
|
|
383
|
+
style: { width: `calc(100% - ${padding}px)`, height: height - padding, zIndex: 2 },
|
|
384
|
+
src: imgSrc,
|
|
385
|
+
alt: imgAlt
|
|
386
|
+
})));
|
|
340
387
|
}
|
|
341
388
|
function Label({ sponsor }) {
|
|
342
389
|
assert(!("username" in sponsor));
|
|
343
390
|
const labelBg = getLabelBg(sponsor);
|
|
344
391
|
const labelIcon = getLabelIcon(sponsor);
|
|
345
392
|
const labelText = getLabelText(sponsor);
|
|
346
|
-
return /* @__PURE__ */ React9.createElement(
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
labelBg,
|
|
359
|
-
labelIcon,
|
|
360
|
-
labelText
|
|
361
|
-
);
|
|
393
|
+
return /* @__PURE__ */ React9.createElement("div", {
|
|
394
|
+
style: {
|
|
395
|
+
top: 0,
|
|
396
|
+
display: "flex",
|
|
397
|
+
justifyContent: "center",
|
|
398
|
+
alignItems: "center",
|
|
399
|
+
position: "relative",
|
|
400
|
+
paddingBottom: 1
|
|
401
|
+
}
|
|
402
|
+
}, labelBg, labelIcon, labelText);
|
|
362
403
|
}
|
|
363
404
|
function getLabelBg(sponsor) {
|
|
364
405
|
const height = sponsor.plan === "platinum" ? 32 : 24;
|
|
365
|
-
return /* @__PURE__ */ React9.createElement("img", {
|
|
406
|
+
return /* @__PURE__ */ React9.createElement("img", {
|
|
407
|
+
src: label_default,
|
|
408
|
+
style: { height, position: "absolute", bottom: 0, zIndex: -1 }
|
|
409
|
+
});
|
|
366
410
|
}
|
|
367
411
|
function getLabelText(sponsor) {
|
|
368
412
|
if (sponsor.plan === "platinum") {
|
|
369
413
|
return /* @__PURE__ */ React9.createElement(React9.Fragment, null);
|
|
370
414
|
}
|
|
371
415
|
const letterSpacing = ["bronze", "silver", "gold"].includes(sponsor.plan) ? 1 : void 0;
|
|
372
|
-
return /* @__PURE__ */ React9.createElement(React9.Fragment, null, " ", /* @__PURE__ */ React9.createElement(
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
capitalizeFirstLetter(sponsor.plan)
|
|
386
|
-
));
|
|
416
|
+
return /* @__PURE__ */ React9.createElement(React9.Fragment, null, " ", /* @__PURE__ */ React9.createElement("span", {
|
|
417
|
+
style: {
|
|
418
|
+
zIndex: 1,
|
|
419
|
+
fontSize: "0.82em",
|
|
420
|
+
position: "relative",
|
|
421
|
+
top: 0,
|
|
422
|
+
fontWeight: 500,
|
|
423
|
+
color: "#666",
|
|
424
|
+
letterSpacing
|
|
425
|
+
}
|
|
426
|
+
}, capitalizeFirstLetter(sponsor.plan)));
|
|
387
427
|
}
|
|
388
428
|
function getLabelIcon(sponsor) {
|
|
389
429
|
let medalSrc;
|
|
390
430
|
if (sponsor.plan === "platinum") {
|
|
391
|
-
return /* @__PURE__ */ React9.createElement(Emoji, {
|
|
431
|
+
return /* @__PURE__ */ React9.createElement(Emoji, {
|
|
432
|
+
name: "trophy",
|
|
433
|
+
style: { fontSize: "1.3em" }
|
|
434
|
+
});
|
|
392
435
|
} else if (sponsor.plan === "gold") {
|
|
393
436
|
medalSrc = medalGold_default;
|
|
394
437
|
} else if (sponsor.plan === "silver") {
|
|
@@ -398,7 +441,10 @@ function getLabelIcon(sponsor) {
|
|
|
398
441
|
} else {
|
|
399
442
|
assert(false);
|
|
400
443
|
}
|
|
401
|
-
return /* @__PURE__ */ React9.createElement("img", {
|
|
444
|
+
return /* @__PURE__ */ React9.createElement("img", {
|
|
445
|
+
src: medalSrc,
|
|
446
|
+
style: { height: 15, zIndex: 1, marginRight: 5 }
|
|
447
|
+
});
|
|
402
448
|
}
|
|
403
449
|
function getSize(plan) {
|
|
404
450
|
if (plan === "platinum") {
|
|
@@ -435,7 +481,9 @@ function CodeBlock({ children, lineBreak }) {
|
|
|
435
481
|
paddingRight: "16px !important"
|
|
436
482
|
});
|
|
437
483
|
}
|
|
438
|
-
return /* @__PURE__ */ React10.createElement("pre", null, /* @__PURE__ */ React10.createElement("code", {
|
|
484
|
+
return /* @__PURE__ */ React10.createElement("pre", null, /* @__PURE__ */ React10.createElement("code", {
|
|
485
|
+
style
|
|
486
|
+
}, children));
|
|
439
487
|
}
|
|
440
488
|
export {
|
|
441
489
|
CodeBlock,
|
|
@@ -462,4 +510,3 @@ export {
|
|
|
462
510
|
jsxToTextContent,
|
|
463
511
|
objectAssign
|
|
464
512
|
};
|
|
465
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="option-icon" data-v-fe4c30c3=""><path d="M0 0h24v24H0z" fill="none"></path><path d=" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z " class="css-c4d79v"></path></svg>
|
|
@@ -95,7 +95,7 @@ body {
|
|
|
95
95
|
font-weight: 100 900;
|
|
96
96
|
font-stretch: 75% 125%;
|
|
97
97
|
font-style: oblique 0deg 12deg;
|
|
98
|
-
src: url(
|
|
98
|
+
src: url(../Inter-Var-IOAEQULN.ttf) format("truetype-variations");
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/* src/css/code/inline.css */
|
|
@@ -233,15 +233,34 @@ table th {
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/* src/algolia/DocSearch.css */
|
|
236
|
+
.DocSearch-Button-Keys {
|
|
237
|
+
margin-left: 6px !important;
|
|
238
|
+
}
|
|
239
|
+
.DocSearch-Search-Icon {
|
|
240
|
+
margin-right: 0 !important;
|
|
241
|
+
}
|
|
242
|
+
.DocSearch-Button-Placeholder {
|
|
243
|
+
padding-right: 6px !important;
|
|
244
|
+
}
|
|
236
245
|
#docsearch-desktop {
|
|
237
246
|
max-width: 110px !important;
|
|
238
247
|
}
|
|
239
|
-
#docsearch-desktop .DocSearch-Button-Placeholder
|
|
248
|
+
#docsearch-desktop .DocSearch-Button-Placeholder,
|
|
249
|
+
#docsearch-desktop .DocSearch-Button-Keys {
|
|
240
250
|
display: none;
|
|
251
|
+
}
|
|
252
|
+
#docsearch-desktop .DocSearch-Button {
|
|
253
|
+
background: transparent !important;
|
|
241
254
|
padding: 0 !important;
|
|
255
|
+
position: relative;
|
|
256
|
+
top: -1px;
|
|
257
|
+
outline: none !important;
|
|
258
|
+
border: none !important;
|
|
259
|
+
box-shadow: none !important;
|
|
242
260
|
}
|
|
243
261
|
#docsearch-desktop .DocSearch-Search-Icon {
|
|
244
|
-
|
|
262
|
+
height: 21px !important;
|
|
263
|
+
width: 21px !important;
|
|
245
264
|
}
|
|
246
265
|
#docsearch-desktop .DocSearch-Button {
|
|
247
266
|
margin-right: 3px !important;
|
|
@@ -261,4 +280,3 @@ table th {
|
|
|
261
280
|
}
|
|
262
281
|
|
|
263
282
|
/* src/css/index.css */
|
|
264
|
-
/*# sourceMappingURL=_default.page.client.css.map */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assert
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-4G4ACGLN.js";
|
|
4
|
+
import "../chunk-3QC7HYIF.js";
|
|
5
5
|
|
|
6
6
|
// src/autoScrollNav.ts
|
|
7
7
|
autoScrollNav();
|
|
@@ -33,9 +33,8 @@ function installSectionUrlHashs() {
|
|
|
33
33
|
assert(navigationEl);
|
|
34
34
|
const docSections = Array.from(document.querySelectorAll("h2"));
|
|
35
35
|
docSections.forEach((docSection) => {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
assert(docSection.id, { docSection });
|
|
36
|
+
if (!docSection.id)
|
|
37
|
+
return;
|
|
39
38
|
const urlHash = "#" + docSection.id;
|
|
40
39
|
assertNavLink(navigationEl, urlHash);
|
|
41
40
|
docSection.onclick = () => {
|
|
@@ -75,6 +74,8 @@ function initNavigationFullscreen() {
|
|
|
75
74
|
document.addEventListener(
|
|
76
75
|
"keydown",
|
|
77
76
|
(ev) => {
|
|
77
|
+
if (document.body.classList.contains("DocSearch--active"))
|
|
78
|
+
return;
|
|
78
79
|
if (ev.key === "Escape")
|
|
79
80
|
toggleNavExpend();
|
|
80
81
|
},
|
|
@@ -177,4 +178,3 @@ function activateNavigationMask() {
|
|
|
177
178
|
function toggleNavigation() {
|
|
178
179
|
document.body.classList.toggle("show-menu");
|
|
179
180
|
}
|
|
180
|
-
//# sourceMappingURL=_default.page.client.js.map
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
margin-left: calc(-1 * var(--navigation-fullscreen-button-width));
|
|
49
49
|
}
|
|
50
50
|
@media screen and (max-width: 1139px) {
|
|
51
|
-
#navigation-header-logo
|
|
52
|
-
#docsearch {
|
|
51
|
+
#navigation-header-logo {
|
|
53
52
|
display: none !important;
|
|
54
53
|
}
|
|
55
54
|
#navigation-wrapper {
|
|
@@ -260,7 +259,7 @@ html.navigation-fullscreen #detached-note {
|
|
|
260
259
|
height: 100%;
|
|
261
260
|
width: 100%;
|
|
262
261
|
background-color: #eee !important;
|
|
263
|
-
background: url(
|
|
262
|
+
background: url(../chevron-K3WPYLOP.svg);
|
|
264
263
|
background-repeat: no-repeat;
|
|
265
264
|
background-position: center center;
|
|
266
265
|
}
|
|
@@ -309,4 +308,3 @@ html.navigation-fullscreen #page-content {
|
|
|
309
308
|
--main-view-padding: 10px;
|
|
310
309
|
}
|
|
311
310
|
}
|
|
312
|
-
/*# sourceMappingURL=_default.page.server.css.map */
|