@brillout/docpress 0.5.12 → 0.5.13
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/index.js
CHANGED
|
@@ -316,6 +316,7 @@ var alignable_default = "/assets/alignable-B4QZV4X7.svg";
|
|
|
316
316
|
|
|
317
317
|
// src/components/Sponsors/sponsorsList.ts
|
|
318
318
|
var individuals = [
|
|
319
|
+
{ username: "3dyuval" },
|
|
319
320
|
{ username: "talzion12" },
|
|
320
321
|
{ username: "felixhaeberle" },
|
|
321
322
|
{ username: "apappas1129" },
|
|
@@ -244,18 +244,6 @@ table th {
|
|
|
244
244
|
margin-right: 3px !important;
|
|
245
245
|
margin-left: 1px !important;
|
|
246
246
|
}
|
|
247
|
-
#docsearch-mobile {
|
|
248
|
-
margin-left: auto !important;
|
|
249
|
-
padding-right: 20px !important;
|
|
250
|
-
}
|
|
251
|
-
#docsearch-mobile .DocSearch-Button {
|
|
252
|
-
margin-left: 0px !important;
|
|
253
|
-
}
|
|
254
|
-
@media screen and (max-width: 339px) {
|
|
255
|
-
#docsearch-mobile {
|
|
256
|
-
padding-right: 6px !important;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
247
|
|
|
260
248
|
/* src/components/Note.css */
|
|
261
249
|
blockquote {
|
|
@@ -356,9 +356,7 @@ function MobileHeader() {
|
|
|
356
356
|
justifyContent: "left",
|
|
357
357
|
textDecoration: "none"
|
|
358
358
|
}
|
|
359
|
-
}, pageContext.config.navHeaderMobile)
|
|
360
|
-
id: "docsearch-mobile"
|
|
361
|
-
})));
|
|
359
|
+
}, pageContext.config.navHeaderMobile)));
|
|
362
360
|
}
|
|
363
361
|
function MenuToggle() {
|
|
364
362
|
return /* @__PURE__ */ React4.createElement("div", {
|
|
@@ -575,10 +573,10 @@ function getDocSearchJS(pageContext) {
|
|
|
575
573
|
let docSearchJS = !algolia ? "" : escapeInject(_a || (_a = __template([`
|
|
576
574
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"><\/script>
|
|
577
575
|
<script type="text/javascript">
|
|
578
|
-
const appId = '`, "';\n const apiKey = '", "';\n const indexName = '", "';\n const transformItems = ", ";\n docsearch({\n container: '#docsearch-desktop',\n appId, apiKey, indexName, transformItems
|
|
576
|
+
const appId = '`, "';\n const apiKey = '", "';\n const indexName = '", "';\n const transformItems = ", ";\n docsearch({\n container: '#docsearch-desktop',\n appId, apiKey, indexName, transformItems,\n insights: true,\n });\n <\/script>\n "])), algolia.appId || "FAKE", algolia.apiKey || "FAKE", algolia.indexName || "FAKE", dangerouslySkipEscape(getTransformItems()));
|
|
579
577
|
if (algolia == null ? void 0 : algolia.PENDING_APPROVAL) {
|
|
580
578
|
docSearchJS = escapeInject(_b || (_b = __template(["\n ", `
|
|
581
|
-
<script>
|
|
579
|
+
<script>document.getElementById('docsearch-desktop').addEventListener('click', () => window.alert("Algolia approval is pending: the search results may be empty until the approval process is completed."))<\/script>
|
|
582
580
|
`])), docSearchJS);
|
|
583
581
|
}
|
|
584
582
|
return docSearchJS;
|