@brillout/docpress 0.3.9 → 0.3.11

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.
@@ -0,0 +1,7 @@
1
+ <svg width="146.99mm" height="41.534mm" version="1.1" viewBox="0 0 146.99 41.534" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="matrix(.26458 0 0 .26458 0 .0026458)">
3
+ <path d="m156.62 78.65c0-12.01-8.81-22.1-20.27-24.12 6.68-9.55 5.74-22.49-2.84-31.08-8.27-8.57-21.41-9.52-31.02-2.88-1.89-11.62-12.05-20.58-24.17-20.58s-22.1 8.81-24.12 20.27c-9.55-6.68-22.49-5.74-31.08 2.84-8.71 8.71-9.56 22.19-2.31 31.33-11.73 1.81-20.81 12.02-20.81 24.22s8.83 21.91 20.32 24.05c-6.73 9.56-5.81 22.54 2.79 31.15 8.6 8.3 21.58 9.18 31.14 3.19 2.16 11.3 12.16 19.93 24.05 19.93s22.2-9.17 24.15-20.78c9.39 6.86 22.74 5.98 31.39-2.67 8.51-8.51 9.51-21.3 3.03-30.83 11.21-2.23 19.74-12.19 19.74-24.02z" fill="#7532a8"/>
4
+ <path class="logo_svg__cls-1" d="m61.33 72.59c0.2-2.08 2.06-3.61 4.15-3.61h3.12c1.67 0 2.7-1.88 1.75-3.25-2.01-2.91-5.38-4.8-9.2-4.74-6.07 0.09-10.84 5.29-10.84 11.36v12.27c0 6.06 4.74 11.25 10.79 11.36s11.21-4.85 11.21-11v-3.96c0-2.23-1.81-4.04-4.04-4.04h-2.96c-2.34 0-4.21-2.01-3.98-4.39zm34 0c0.2-2.08 2.06-3.61 4.15-3.61h3.12c1.67 0 2.7-1.88 1.75-3.25-2.01-2.91-5.38-4.8-9.2-4.74-6.07 0.09-10.84 5.29-10.84 11.36v12.27c0 6.06 4.74 11.25 10.79 11.36s11.21-4.85 11.21-11v-3.96c0-2.23-1.81-4.04-4.04-4.04h-2.96c-2.34 0-4.21-2.01-3.98-4.39z" fill="#fff"/>
5
+ </g>
6
+ <path d="m53.195 30.179c-2.1855-2.0944-3.2782-5.0387-3.2782-8.8531 0-2.6003 0.51601-4.897 1.548-6.8801 1.032-1.9932 2.4991-3.5311 4.3911-4.6036 1.892-1.0725 4.0775-1.629 6.5564-1.629 2.0135 0 3.9561 0.36424 5.8279 1.0927l-0.98143 4.6947c-1.6492-0.74872-3.2579-1.1332-4.806-1.1332-2.2057 0-3.9561 0.71837-5.241 2.1652-1.285 1.4469-1.9325 3.3692-1.9325 5.7773 0 2.408 0.6779 4.3608 2.0438 5.7166 1.3558 1.3558 3.2377 2.0438 5.6458 2.0438 1.5784 0 3.1062-0.25296 4.5935-0.76895l0.79931 4.4822c-1.7706 0.6779-3.7841 1.0219-6.0505 1.0219-3.8853 0-6.9206-1.0421-9.1061-3.1365zm19.264-21.602c0.72848-0.02027 2.0843-0.04046 4.0775-0.04046s3.3895 0.0099 4.118 0.04046c2.7723 0.10118 4.8363 0.76895 6.1921 2.0236 1.3558 1.2546 2.0438 2.9342 2.0438 5.0488 0 1.801-0.4553 3.3187-1.3659 4.5733-0.9106 1.2546-2.1753 2.0742-3.8043 2.4586 0.50589 0.41483 1.032 0.98143 1.5683 1.6897 0.53625 0.71837 1.2749 1.8313 2.2259 3.3288 0.99155 1.5784 2.0033 3.2883 3.0252 5.1399h-6.1213l-4.118-7.6491c-0.43507-0.79931-0.82966-1.3052-1.1838-1.5076-0.35415-0.20237-0.88026-0.31365-1.5885-0.31365v9.4703h-5.0589v-24.263zm7.3253 10.745c1.2344 0 2.2158-0.31365 2.9342-0.95108 0.71837-0.6273 1.0725-1.4772 1.0725-2.5497 0-0.97131-0.31365-1.7099-0.95108-2.2259-0.6273-0.50589-1.5581-0.76896-2.7723-0.76896h-2.5497v6.4855h2.2563zm13.224-10.745h14.752v4.5935h-9.5411v4.8464h7.902v4.4417h-7.902v5.7874h9.5411v4.5935h-14.752zm19.305 0c0.70825-0.02027 2.0438-0.04046 4.0067-0.04046 1.9629 0 3.3389 0.0099 4.0471 0.04046 2.4991 0.05059 4.4721 0.71837 5.8987 2.0033 1.4367 1.285 2.145 3.0758 2.145 5.3523 0 1.629-0.36424 3.0657-1.0927 4.3203-0.72849 1.2546-1.7504 2.2158-3.0758 2.8937-1.3254 0.67789-2.8229 1.0219-4.5024 1.0219h-2.3676v8.671h-5.0589zm7.214 11.292c1.1838 0 2.1146-0.34401 2.7824-1.0219 0.66778-0.67789 1.0017-1.5986 1.0017-2.7723 0-2.1349-1.1737-3.2074-3.5311-3.2074h-2.408v6.9914h2.145zm12.708-11.292h14.752v4.5935h-9.5411v4.8464h7.902v4.4417h-7.902v5.7874h9.5411v4.5935h-14.752z" fill="currentColor" stroke-width="1.0118"/>
7
+ </svg>
package/dist/index.js CHANGED
@@ -244,8 +244,8 @@ var medalBronze_default = "/assets/medalBronze-CO4CTUR4.svg";
244
244
  // src/components/Sponsors/label.svg
245
245
  var label_default = "/assets/label-MP75CTIA.svg";
246
246
 
247
- // src/components/Sponsors/companyLogos/ccoli.svg
248
- var ccoli_default = "/assets/ccoli-CHW3TQKS.svg";
247
+ // src/components/Sponsors/companyLogos/crepe.svg
248
+ var crepe_default = "/assets/crepe-H7AW7P3A.svg";
249
249
 
250
250
  // src/components/Sponsors/companyLogos/contra.svg
251
251
  var contra_default = "/assets/contra-WLZBOPBV.svg";
@@ -277,10 +277,10 @@ var sponsorsList = [
277
277
  website: "https://contra.com"
278
278
  },
279
279
  {
280
- companyName: "ccoli",
281
- companyLogo: ccoli_default,
280
+ companyName: "CREPE",
281
+ companyLogo: crepe_default,
282
282
  plan: "silver",
283
- website: "https://ccoli.co"
283
+ website: "https://crepe.cm"
284
284
  },
285
285
  {
286
286
  companyName: "My Favorite Quilt Store",
@@ -549,16 +549,19 @@ function getDocSearchCSS(pageContext) {
549
549
  }
550
550
  var _a;
551
551
  function getDocSearchJS(pageContext) {
552
- const docSearchJS = !pageContext.meta.algolia ? "" : escapeInject(_a || (_a = __template(['\n <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"><\/script>\n <script type="text/javascript">\n const transformData = ', ";\n docsearch({\n appId: '", "',\n apiKey: '", "',\n indexName: '", "',\n container: '#docsearch-desktop',\n transformData\n });\n docsearch({\n appId: '", "',\n apiKey: '", "',\n indexName: '", "',\n container: '#docsearch-mobile',\n transformData\n });\n <\/script>\n "])), dangerouslySkipEscape(getTransformData()), pageContext.meta.algolia.appId, pageContext.meta.algolia.apiKey, pageContext.meta.algolia.indexName, pageContext.meta.algolia.appId, pageContext.meta.algolia.apiKey, pageContext.meta.algolia.indexName);
552
+ const { algolia } = pageContext.meta;
553
+ const docSearchJS = !algolia ? "" : escapeInject(_a || (_a = __template([`
554
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"><\/script>
555
+ <script type="text/javascript">
556
+ const appId = '`, "';\n const apiKey = '", "';\n const indexName = '", "';\n const transformItems = ", ";\n docsearch({\n container: '#docsearch-desktop',\n appId, apiKey, indexName, transformItems\n });\n docsearch({\n container: '#docsearch-mobile',\n appId, apiKey, indexName, transformItems\n });\n <\/script>\n "])), algolia.appId, algolia.apiKey, algolia.indexName, dangerouslySkipEscape(getTransformItems()));
553
557
  return docSearchJS;
554
558
  }
555
- function getTransformData() {
559
+ function getTransformItems() {
556
560
  return `function(hits) {
557
561
  hits.map(hit => {
558
- if (hit.anchor === 'page-content') {
559
- hit.url = hit.url.replace('#'+ hit.anchor, '');
560
- hit.anchor = null;
561
- }
562
+ if (hit.url.indexOf('#page-content') > 0) {
563
+ hit.url = hit.url.replace('#page-content', '');
564
+ }
562
565
  });
563
566
  return hits;
564
567
  }`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "exports": {
5
5
  "./renderer/_default.page.server.js": "./dist/renderer/_default.page.server.js",
6
6
  "./renderer/_default.page.client.js": "./dist/renderer/_default.page.client.js",
@@ -1,9 +0,0 @@
1
- <svg width="148.1mm" height="41.534mm" version="1.1" viewBox="0 0 148.1 41.534" xmlns="http://www.w3.org/2000/svg">
2
- <g transform="translate(-84.28 -127.73)">
3
- <g transform="matrix(.26458 0 0 .26458 84.28 127.74)">
4
- <path d="m156.62 78.65c0-12.01-8.81-22.1-20.27-24.12 6.68-9.55 5.74-22.49-2.84-31.08-8.27-8.57-21.41-9.52-31.02-2.88-1.89-11.62-12.05-20.58-24.17-20.58s-22.1 8.81-24.12 20.27c-9.55-6.68-22.49-5.74-31.08 2.84-8.71 8.71-9.56 22.19-2.31 31.33-11.73 1.81-20.81 12.02-20.81 24.22s8.83 21.91 20.32 24.05c-6.73 9.56-5.81 22.54 2.79 31.15 8.6 8.3 21.58 9.18 31.14 3.19 2.16 11.3 12.16 19.93 24.05 19.93s22.2-9.17 24.15-20.78c9.39 6.86 22.74 5.98 31.39-2.67 8.51-8.51 9.51-21.3 3.03-30.83 11.21-2.23 19.74-12.19 19.74-24.02z" fill="#7532a8"/>
5
- <path class="logo_svg__cls-1" d="m61.33 72.59c0.2-2.08 2.06-3.61 4.15-3.61h3.12c1.67 0 2.7-1.88 1.75-3.25-2.01-2.91-5.38-4.8-9.2-4.74-6.07 0.09-10.84 5.29-10.84 11.36v12.27c0 6.06 4.74 11.25 10.79 11.36s11.21-4.85 11.21-11v-3.96c0-2.23-1.81-4.04-4.04-4.04h-2.96c-2.34 0-4.21-2.01-3.98-4.39zm34 0c0.2-2.08 2.06-3.61 4.15-3.61h3.12c1.67 0 2.7-1.88 1.75-3.25-2.01-2.91-5.38-4.8-9.2-4.74-6.07 0.09-10.84 5.29-10.84 11.36v12.27c0 6.06 4.74 11.25 10.79 11.36s11.21-4.85 11.21-11v-3.96c0-2.23-1.81-4.04-4.04-4.04h-2.96c-2.34 0-4.21-2.01-3.98-4.39z" fill="#fff"/>
6
- </g>
7
- <path d="m171.83 162.67a13.438 13.438 0 0 1-5.2255-0.96573 11.377 11.377 0 0 1-3.9529-2.6961 12.435 12.435 0 0 1-2.5241-3.9317 12.756 12.756 0 0 1 0.63765-10.718 11.536 11.536 0 0 1 4.3392-4.4265q2.8178-1.6616 6.6807-1.6642 3.8629-3e-3 6.6331 1.6828a11.737 11.737 0 0 1 1.8521 1.3917 2.3812 2.3812 0 0 1-0.93398 3.9952l-0.92869 0.28311a2.7702 2.7702 0 0 1-2.7437-0.63765 5.1541 5.1541 0 0 0-1.1192-0.82815 5.6938 5.6938 0 0 0-2.8152-0.70643 5.969 5.969 0 0 0-3.1591 0.87048 6.0299 6.0299 0 0 0-2.249 2.4527 7.8978 7.8978 0 0 0-0.81757 3.6777 7.6174 7.6174 0 0 0 0.83873 3.6327 6.5855 6.5855 0 0 0 2.249 2.495 5.6489 5.6489 0 0 0 3.138 0.91546 5.8579 5.8579 0 0 0 2.0664-0.36513 5.9822 5.9822 0 0 0 1.7489-1.0001c0.10583-0.0847 0.20373-0.17463 0.29633-0.26458a2.6723 2.6723 0 0 1 2.6458-0.635l0.8255 0.26458a2.4633 2.4633 0 0 1 0.98425 4.1513l-0.0318 0.0291a11.499 11.499 0 0 1-3.6724 2.204 13.436 13.436 0 0 1-4.7625 0.79375zm-23.926 0a13.446 13.446 0 0 1-5.2255-0.96573 11.377 11.377 0 0 1-3.9529-2.6961 12.647 12.647 0 0 1-1.8865-14.65 11.544 11.544 0 0 1 4.3418-4.4265q2.8152-1.6616 6.6781-1.6642 3.8629-3e-3 6.6358 1.6828a11.737 11.737 0 0 1 1.8521 1.3917 2.3812 2.3812 0 0 1-0.92075 3.9952l-0.92604 0.28311a2.7755 2.7755 0 0 1-2.7517-0.63765 5.1382 5.1382 0 0 0-1.1166-0.82815 5.7124 5.7124 0 0 0-2.8178-0.70643 5.9769 5.9769 0 0 0-3.1591 0.87048 6.0484 6.0484 0 0 0-2.249 2.4527 7.8978 7.8978 0 0 0-0.81756 3.6777 7.62 7.62 0 0 0 0.84137 3.6327 6.5855 6.5855 0 0 0 2.249 2.495 5.6462 5.6462 0 0 0 3.1353 0.91546 5.8711 5.8711 0 0 0 2.069-0.36513 5.9822 5.9822 0 0 0 1.7489-1.0001c0.10319-0.0847 0.20108-0.17463 0.29633-0.26458a2.667 2.667 0 0 1 2.6458-0.635l0.8255 0.26458a2.4606 2.4606 0 0 1 0.96308 4.1645l-0.0318 0.0291a11.47 11.47 0 0 1-3.6804 2.204 13.425 13.425 0 0 1-4.7466 0.78052zm47.665 0a13.451 13.451 0 0 1-5.2176-0.96573 11.314 11.314 0 0 1-3.9291-2.6723 12.012 12.012 0 0 1-2.4765-3.9105 12.544 12.544 0 0 1-0.86519-4.6276 12.671 12.671 0 0 1 0.86519-4.6752 12.012 12.012 0 0 1 2.4765-3.9105 11.314 11.314 0 0 1 3.9291-2.6723 13.451 13.451 0 0 1 5.2282-0.96838 13.269 13.269 0 0 1 5.2017 0.96838 11.541 11.541 0 0 1 6.3976 6.5828 12.988 12.988 0 0 1 0.84138 4.6752 12.859 12.859 0 0 1-0.84138 4.6276 11.74 11.74 0 0 1-2.4553 3.9105 11.29 11.29 0 0 1-3.9291 2.6723 13.446 13.446 0 0 1-5.2255 0.96573zm-6.2256-12.171a7.8131 7.8131 0 0 0 0.81756 3.6354 6.2706 6.2706 0 0 0 2.2252 2.4738 5.842 5.842 0 0 0 3.175 0.89165 5.6462 5.6462 0 0 0 3.1353-0.91546 6.6146 6.6146 0 0 0 2.249-2.495 7.62 7.62 0 0 0 0.84138-3.6327 7.6544 7.6544 0 0 0-0.84138-3.6116 6.3976 6.3976 0 0 0-2.249-2.495 5.9664 5.9664 0 0 0-6.3182 0.0212 6.4214 6.4214 0 0 0-2.2251 2.495 7.8079 7.8079 0 0 0-0.80963 3.6248zm23.926-21.455a4.7784 4.7784 0 0 1 4.7784 4.7784v20.841q0 1.6431 0.54504 2.2119a1.9791 1.9791 0 0 0 1.5002 0.56885 6.5193 6.5193 0 0 0 1.5002-0.17991h0.0159a1.3229 1.3229 0 0 1 1.614 1.0583l0.36777 2.0823a1.3229 1.3229 0 0 1-0.87312 1.4711 13.097 13.097 0 0 1-1.8071 0.47625 15.634 15.634 0 0 1-2.9528 0.3175q-2.8654 0-4.4318-1.524-1.5663-1.524-1.5663-4.3524v-26.427a1.3229 1.3229 0 0 1 1.3097-1.3229zm13.01 3.0215a3.0215 3.0215 0 0 1 3.0215-3.0215h0.0476a3.0215 3.0215 0 0 1 3.0215 3.0215 3.0215 3.0215 0 0 1-3.0215 3.0215h-0.0476a3.0215 3.0215 0 0 1-3.0215-3.0215zm0 28.84v-21.19a1.3229 1.3229 0 0 1 1.3229-1.3097 4.781 4.781 0 0 1 4.7784 4.7784v17.727a1.3229 1.3229 0 0 1-1.3229 1.3229h-3.466a1.3229 1.3229 0 0 1-1.3123-1.3282z" fill="#101820" stroke-width=".26458"/>
8
- </g>
9
- </svg>