@brillout/docpress 0.4.7 → 0.4.9

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,19 @@
1
+ <svg width="101.55" height="22.442" fill="none" version="1.1" viewBox="0 0 101.55 26.931" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="m44.224 18.378c0.9075 0 1.6643-0.7376 1.6643-1.6472 0-0.8851-0.7568-1.6226-1.6643-1.6226-0.9333 0-1.6641 0.7375-1.6641 1.6226 0 0.9096 0.7308 1.6472 1.6641 1.6472z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/>
3
+ <path d="m9.3877 6.9212c-1.3595-4.0229-5.102-6.9212-9.4976-6.9212-0.718 0-1.4185 0.07916-2.0952 0.22568-0.4098 0.08967-0.8104 0.20553-1.2003 0.34471 0.0511 0.15919 0.1012 0.31866 0.1523 0.47814 0.2469 0.77491 0.504 1.5834 0.7737 2.3892 0.1579 0.47194 0.3212 0.94087 0.4873 1.4023 0.5279 1.4625 1.0974 2.8294 1.7148 3.8554 0.2719 0.452 0.5545 0.8295 0.8447 1.1276 0.4209 0.4305 0.8614 0.6885 1.3236 0.6885 0.6768-5e-4 1.3053-0.5322 1.8929-1.3895 0.5026 1.0286 1.0161 2.3658 1.4616 3.6345-0.9414 0.8256-2.0348 1.3223-3.353 1.3226h-0.0015c-1.0006 0-1.8699-0.2917-2.6451-0.7866-0.3667-0.2346-0.7176-0.507-1.0431-0.8323-0.9273-0.9273-1.6954-2.2011-2.3708-3.6604-0.23625-0.511-0.46235-1.0432-0.67816-1.5953-0.60148-1.5333-1.1373-3.193-1.664-4.8463-0.35508 0.30023-0.68972 0.6258-1.0007 0.97282-1.6409 1.8262-2.6444 4.2592-2.6444 6.9269 0 2.3308 0.76682 4.4821 2.0545 6.2069 0.29094 0.3899 0.60895 0.7586 0.95105 1.1019 0.36241-1.048 0.7041-2.1247 1.0268-3.1409 0.43063-1.3578 0.86647-2.7221 1.3376-4.0234 0.7158 1.3632 1.5442 2.5329 2.5413 3.3945-0.1912 0.5848-0.3756 1.1652-0.5546 1.7289-0.4405 1.3882-0.88479 2.7861-1.3674 4.1132 0.37819 0.1715 0.76863 0.3205 1.1695 0.4441 0.915 0.28 1.8842 0.4333 2.8867 0.4333 2.6995 0 5.1508-1.0945 6.9572-2.8688 0.3459-0.339 0.6656-0.702 0.9614-1.0876-0.1119-0.347-0.2219-0.6944-0.3324-1.0413-0.2456-0.7736-0.5027-1.5806-0.7723-2.3843-0.1587-0.4731-0.3208-0.9418-0.4875-1.4039-0.5267-1.4608-1.0954-2.8288-1.7135-3.8555-0.2712-0.4523-0.5538-0.8303-0.8449-1.1281-0.1044-0.1074-0.2113-0.2044-0.3183-0.289-0.3226-0.25418-0.6556-0.39898-1.0032-0.39898-0.6762 0-1.3065 0.53168-1.8942 1.3898-0.5039-1.0298-1.0159-2.3655-1.4625-3.6344 0.1175-0.10334 0.2377-0.20136 0.3602-0.29433 0.8591-0.64927 1.8408-1.0288 2.9957-1.0288h0.0032c0.9984 0 1.8663 0.29117 2.641 0.78571 0.3682 0.2346 0.7171 0.50663 1.0436 0.83177 0.9273 0.92762 1.6944 2.2021 2.3698 3.662 0.2368 0.5115 0.4619 1.0442 0.6787 1.5963 0.2733 0.6982 0.5333 1.4233 0.7843 2.1614 0.0506-0.4167 0.0803-0.8398 0.0803-1.2705 0-1.1682-0.1948-2.29-0.549-3.3368z" clip-rule="evenodd" fill="#46275e" fill-rule="evenodd"/>
4
+ <g transform="translate(-13.411 -3.6732)" mask="url(#mask0)">
5
+ <path d="m2.8862 3.2531h20.81v21.248h-20.81z" clip-rule="evenodd" fill="#6440b1" fill-rule="evenodd"/>
6
+ </g>
7
+ <path d="m111.66 16.653c-0.199-0.3561-1.05-1.4755-1.05-1.4755-0.976 2.0096-2.754 2.6711-4.305 2.6711-3.655 0-3.729-2.1372-3.729-2.2641 0 0 0.025-0.0254 0.05-0.0254 0.175 0.0507 0.876 0.1015 1.176 0.1015 5.156 0 5.256-3.6888 5.256-4.0448v-0.0256c0-3.5615-3.404-3.6123-3.754-3.6123h-0.025c-3.479 0-5.732 2.5442-5.732 6.1565 0 0.3635 7e-3 0.8765 0.089 1.4498-0.465 1.297-1.291 1.6029-1.89 1.6029-1.026 0-1.227-0.9668-1.227-1.5265v-14.272h-3.729v2.2895h1.051v13.102c0 1.6788 1.201 3.1289 3.154 3.1289 1.904 0 3.023-1.1188 3.511-1.9852 0.829 1.1921 2.372 2.1635 5.248 2.1635 4.005 0 5.957-2.5186 5.957-3.2818 0-0.0254 0-0.0764-0.051-0.1527zm-70.19-10.43c0.9006 0 1.6519-0.76324 1.6519-1.7044 0-0.91597-0.7513-1.6792-1.6519-1.6792-0.9263 0-1.652 0.76324-1.652 1.6792 0 0.94113 0.7257 1.7044 1.652 1.7044zm63.433 4.0454c-1.676 0-2.553 1.6022-2.553 3.0776 0 0.051 0.276 0.1786 1.177 0.1786 2.778 0 2.828-1.7304 2.828-1.9847 0-1.1956-1.102-1.2715-1.452-1.2715zm-17.969 7.3771c-0.6254 0-1.2008-0.2291-1.2008-0.2291v-6.8685s0.8758-0.1783 1.4008-0.1783c0.526 0 3.254 0.1273 3.254 3.4343 0 3.7398-2.828 3.8416-3.454 3.8416zm-9.6107-3.0532c0 1.2976-0.9506 2.7987-2.6523 2.7987-2.078 0-2.1028-2.239-2.1028-2.9004 0-3.2563 2.2778-4.1972 3.504-4.1972 0.9002 0 1.2511 0.1525 1.2511 0.1525zm-23.916-0.0505c0 1.2717-0.9013 2.8238-2.578 2.8238-2.0778 0-2.1273-2.2643-2.1273-2.9004 0-3.2309 2.1525-4.1718 3.454-4.1718 0.9009 0 1.2513 0.1525 1.2513 0.1525zm33.927-6.5127c-0.676 0-1.6018 0.2799-1.6018 0.2799v-6.9197h-3.7044v2.2897h1.0514v11.97c-0.4678 1.2678-1.2846 1.5891-1.8776 1.5891-1.0261 0-1.2266-0.9919-1.2266-1.5267v-7.2499c0-0.0252-1.8517-0.4836-3.3786-0.4836-5.1554 0-6.8326 3.6381-6.8326 6.8943 0 0.3021 0.023 0.7666 0.1117 1.2956-0.4812 0.8309-1.1267 1.0451-1.6283 1.0451-1.0509 0-1.2514-0.916-1.2514-1.4499v-4.1216c0-2.3913-1.6267-3.46-3.5783-3.46-2.1781 0-3.1539 1.2976-3.1539 1.2976-0.0498 0.0764-0.0752 0.1018-0.0997 0.1018-0.0252 0-0.0252-0.051-0.0252-0.0762v-1.0683h-3.7293v0.0034c-0.6113-0.0214-0.7636-0.0666-0.7636-0.0666l5e-4 0.0033c-0.6026-0.1442-1.8553-0.3727-2.9653-0.3727-5.106 0-6.7579 3.4595-6.7579 6.9195 0 0.1273 0.0096 0.4068 0.0554 0.7704-0.4876 1.2287-1.2709 1.5193-1.857 1.5193-1.0516 0-1.2268-0.9667-1.2268-1.5265v-7.2501h-3.7541v2.2893h1.077v4.7535c-0.4576 1.3862-1.3127 1.708-1.9275 1.708-1.0266 0-1.227-0.9665-1.227-1.5263v-14.272h-3.7283v2.2897h1.0514v13.102c0 1.6788 1.2008 3.1291 3.1528 3.1291 1.5096 0 2.5262-0.7031 3.1259-1.4261 0.5097 0.8612 1.4364 1.4512 2.6803 1.4512 1.7841 0 2.8808-0.9638 3.4205-1.7945 0.591 0.9906 1.5922 1.8202 3.2866 1.8202 1.2012 0 2.3277-0.3057 3.1787-1.2467 0 0 0.0753-0.1015 0.125-0.1015 0.0252 0 0.0506 0.0254 0.0506 0.1269v1.323c0 1.4755-0.2512 4.5538-3.7299 4.5538-0.2004 0-0.55-0.0254-0.55-0.0254v-1.9083h-2.3023v3.9943s0.7506 0.2543 2.177 0.2543c7.0076 0 7.0076-5.902 7.0076-7.4792v-8.7209h0.5064l-4e-4 -0.0049h1.0963v8.9039h2.6772v-5.9531c0-1.5771 0.851-2.9508 2.4029-2.9508 0.3752 0 1.6519 0.2035 1.6519 1.679v4.4011c0 1.6792 1.176 3.1288 3.1281 3.1288 1.5893 0 2.6334-0.7739 3.224-1.5309 0.6227 0.9547 1.6519 1.7091 3.3481 1.7091 1.502 0 2.9279-0.7121 3.6288-1.9587 0.0256-0.0256 0.0502-0.0763 0.0754-0.0763 0.0258 0 0.0258 0.0258 0.0499 0.1015 0.3257 1.0429 1.3015 1.7553 2.6534 1.7553 1.1524 0 2.0165-0.4101 2.6282-0.9255v0.2897s1.0266 0.7122 3.7538 0.7122c5.931 0 6.332-5.0113 6.332-6.1052 0-5.7495-4.931-5.8768-5.831-5.8768zm-60.02 4.2485-2.628-7.1993c-0.0247-0.07614-0.0506-0.12735-0.0747-0.12735-0.0252 0-0.0501 0.05121-0.0756 0.12735l-2.5526 7.1993zm-11.437 7.3521 6.1058-15.722h-1.3514v-2.5186h5.7564l6.1322 15.722h1.3503v2.5184h-3.9032l-1.7521-4.8079h-7.1324l-1.7521 4.8079z" clip-rule="evenodd" fill="#231f20" fill-rule="evenodd"/>
8
+ <g transform="translate(-13.411 -3.6732)" mask="url(#mask1)">
9
+ <path d="m29.192 3.7212h96.49v27.265h-96.49z" clip-rule="evenodd" fill="#000" fill-rule="evenodd"/>
10
+ </g>
11
+ <defs>
12
+ <mask id="mask0" x="3" y="3" width="21" height="22" mask-type="alpha" maskUnits="userSpaceOnUse">
13
+ <path d="m22.798 10.594c-1.3595-4.0229-5.102-6.9212-9.4976-6.9212-0.718 0-1.4185 0.07916-2.0952 0.22568-0.4098 0.08967-0.8104 0.20553-1.2003 0.34471 0.0511 0.15919 0.1012 0.31866 0.1523 0.47814 0.2469 0.77491 0.504 1.5834 0.7737 2.3892 0.1579 0.47194 0.3212 0.94087 0.4873 1.4023 0.5279 1.4625 1.0974 2.8294 1.7148 3.8554 0.2719 0.452 0.5545 0.8295 0.8447 1.1276 0.4209 0.4305 0.8614 0.6885 1.3236 0.6885 0.6768-5e-4 1.3053-0.5322 1.8929-1.3895 0.5026 1.0286 1.0161 2.3658 1.4616 3.6345-0.9414 0.8256-2.0348 1.3223-3.353 1.3226h-0.0015c-1.0006 0-1.8699-0.2917-2.6451-0.7866-0.3667-0.2346-0.7176-0.507-1.0431-0.8323-0.9273-0.9273-1.6954-2.2011-2.3708-3.6604-0.23625-0.511-0.46235-1.0432-0.67816-1.5953-0.60148-1.5333-1.1373-3.193-1.664-4.8463-0.35508 0.30023-0.68972 0.6258-1.0007 0.97282-1.6409 1.8262-2.6444 4.2592-2.6444 6.9269 0 2.3308 0.76682 4.4821 2.0545 6.2069 0.29094 0.3899 0.60895 0.7586 0.95105 1.1019 0.36241-1.048 0.7041-2.1247 1.0268-3.1409 0.43063-1.3578 0.86647-2.7221 1.3376-4.0234 0.7158 1.3632 1.5442 2.5329 2.5413 3.3945-0.1912 0.5848-0.3756 1.1652-0.5546 1.7289-0.4405 1.3882-0.88479 2.7861-1.3674 4.1132 0.37819 0.1715 0.76863 0.3205 1.1695 0.4441 0.915 0.28 1.8842 0.4333 2.8867 0.4333 2.6995 0 5.1508-1.0945 6.9572-2.8688 0.3459-0.339 0.6656-0.702 0.9614-1.0876-0.1119-0.347-0.2219-0.6944-0.3324-1.0413-0.2456-0.7736-0.5027-1.5806-0.7723-2.3843-0.1587-0.4731-0.3208-0.9418-0.4875-1.4039-0.5267-1.4608-1.0954-2.8288-1.7135-3.8555-0.2712-0.4523-0.5538-0.8303-0.8449-1.1281-0.1044-0.1074-0.2113-0.2044-0.3183-0.289-0.3226-0.25418-0.6556-0.39898-1.0032-0.39898-0.6762 0-1.3065 0.53168-1.8942 1.3898-0.5039-1.0298-1.0159-2.3655-1.4625-3.6344 0.1175-0.10334 0.2377-0.20136 0.3602-0.29433 0.8591-0.64927 1.8408-1.0288 2.9957-1.0288h0.0032c0.9984 0 1.8663 0.29117 2.641 0.78571 0.3682 0.2346 0.7171 0.50663 1.0436 0.83177 0.9273 0.92762 1.6944 2.2021 2.3698 3.662 0.2368 0.5115 0.4619 1.0442 0.6787 1.5963 0.2733 0.6982 0.5333 1.4233 0.7843 2.1614 0.0506-0.4167 0.0803-0.8398 0.0803-1.2705 0-1.1682-0.1948-2.29-0.549-3.3368z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/>
14
+ </mask>
15
+ <mask id="mask1" x="29" y="5" width="97" height="26" mask-type="alpha" maskUnits="userSpaceOnUse">
16
+ <path d="m125.07 20.326c-0.199-0.3561-1.05-1.4755-1.05-1.4755-0.976 2.0096-2.754 2.6711-4.305 2.6711-3.655 0-3.729-2.1372-3.729-2.2641 0 0 0.025-0.0254 0.05-0.0254 0.175 0.0507 0.876 0.1015 1.176 0.1015 5.156 0 5.256-3.6888 5.256-4.0448v-0.0256c0-3.5615-3.404-3.6123-3.754-3.6123h-0.025c-3.479 0-5.732 2.5442-5.732 6.1565 0 0.3635 7e-3 0.8765 0.089 1.4498-0.465 1.297-1.291 1.6029-1.89 1.6029-1.026 0-1.227-0.9668-1.227-1.5265v-14.272h-3.729v2.2895h1.051v13.102c0 1.6788 1.201 3.1289 3.154 3.1289 1.904 0 3.023-1.1188 3.511-1.9852 0.829 1.1921 2.372 2.1635 5.248 2.1635 4.005 0 5.957-2.5186 5.957-3.2818 0-0.0254 0-0.0764-0.051-0.1527zm-70.19-10.43c0.9006 0 1.6519-0.76324 1.6519-1.7044 0-0.91597-0.7513-1.6792-1.6519-1.6792-0.9263 0-1.652 0.76324-1.652 1.6792 0 0.94113 0.7257 1.7044 1.652 1.7044zm63.433 4.0454c-1.676 0-2.553 1.6022-2.553 3.0776 0 0.051 0.276 0.1786 1.177 0.1786 2.778 0 2.828-1.7304 2.828-1.9847 0-1.1956-1.102-1.2715-1.452-1.2715zm-17.969 7.3771c-0.6254 0-1.2008-0.2291-1.2008-0.2291v-6.8685s0.8758-0.1783 1.4008-0.1783c0.526 0 3.254 0.1273 3.254 3.4343 0 3.7398-2.828 3.8416-3.454 3.8416zm-9.6107-3.0532c0 1.2976-0.9506 2.7987-2.6523 2.7987-2.078 0-2.1028-2.239-2.1028-2.9004 0-3.2563 2.2778-4.1972 3.504-4.1972 0.9002 0 1.2511 0.1525 1.2511 0.1525zm-23.916-0.0505c0 1.2717-0.9013 2.8238-2.578 2.8238-2.0778 0-2.1273-2.2643-2.1273-2.9004 0-3.2309 2.1525-4.1718 3.454-4.1718 0.9009 0 1.2513 0.1525 1.2513 0.1525zm33.927-6.5127c-0.676 0-1.6018 0.2799-1.6018 0.2799v-6.9197h-3.7044v2.2897h1.0514v11.97c-0.4678 1.2678-1.2846 1.5891-1.8776 1.5891-1.0261 0-1.2266-0.9919-1.2266-1.5267v-7.2499c0-0.0252-1.8517-0.4836-3.3786-0.4836-5.1554 0-6.8326 3.6381-6.8326 6.8943 0 0.3021 0.023 0.7666 0.1117 1.2956-0.4812 0.8309-1.1267 1.0451-1.6283 1.0451-1.0509 0-1.2514-0.916-1.2514-1.4499v-4.1216c0-2.3913-1.6267-3.46-3.5783-3.46-2.1781 0-3.1539 1.2976-3.1539 1.2976-0.0498 0.0764-0.0752 0.1018-0.0997 0.1018-0.0252 0-0.0252-0.051-0.0252-0.0762v-1.0683h-3.7293v0.0034c-0.6113-0.0214-0.7636-0.0666-0.7636-0.0666l5e-4 0.0033c-0.6026-0.1442-1.8553-0.3727-2.9653-0.3727-5.106 0-6.7579 3.4595-6.7579 6.9195 0 0.1273 0.0096 0.4068 0.0554 0.7704-0.4876 1.2287-1.2709 1.5193-1.857 1.5193-1.0516 0-1.2268-0.9667-1.2268-1.5265v-7.2501h-3.7541v2.2893h1.077v4.7535c-0.4576 1.3862-1.3127 1.708-1.9275 1.708-1.0266 0-1.227-0.9665-1.227-1.5263v-14.272h-3.7283v2.2897h1.0514v13.102c0 1.6788 1.2008 3.1291 3.1528 3.1291 1.5096 0 2.5262-0.7031 3.1259-1.4261 0.5097 0.8612 1.4364 1.4512 2.6803 1.4512 1.7841 0 2.8808-0.9638 3.4205-1.7945 0.591 0.9906 1.5922 1.8202 3.2866 1.8202 1.2012 0 2.3277-0.3057 3.1787-1.2467 0 0 0.0753-0.1015 0.125-0.1015 0.0252 0 0.0506 0.0254 0.0506 0.1269v1.323c0 1.4755-0.2512 4.5538-3.7299 4.5538-0.2004 0-0.55-0.0254-0.55-0.0254v-1.9083h-2.3023v3.9943s0.7506 0.2543 2.177 0.2543c7.0076 0 7.0076-5.902 7.0076-7.4792v-8.7209h0.5064l-4e-4 -0.0049h1.0963v8.9039h2.6772v-5.9531c0-1.5771 0.851-2.9508 2.4029-2.9508 0.3752 0 1.6519 0.2035 1.6519 1.679v4.4011c0 1.6792 1.176 3.1288 3.1281 3.1288 1.5893 0 2.6334-0.7739 3.224-1.5309 0.6227 0.9547 1.6519 1.7091 3.3481 1.7091 1.502 0 2.9279-0.7121 3.6288-1.9587 0.0256-0.0256 0.0502-0.0763 0.0754-0.0763 0.0258 0 0.0258 0.0258 0.0499 0.1015 0.3257 1.0429 1.3015 1.7553 2.6534 1.7553 1.1524 0 2.0165-0.4101 2.6282-0.9255v0.2897s1.0266 0.7122 3.7538 0.7122c5.931 0 6.332-5.0113 6.332-6.1052 0-5.7495-4.931-5.8768-5.831-5.8768zm-60.02 4.2485-2.628-7.1993c-0.0247-0.07614-0.0506-0.12735-0.0747-0.12735-0.0252 0-0.0501 0.05121-0.0756 0.12735l-2.5526 7.1993zm-11.437 7.3521 6.1058-15.722h-1.3514v-2.5186h5.7564l6.1322 15.722h1.3503v2.5184h-3.9032l-1.7521-4.8079h-7.1324l-1.7521 4.8079z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/>
17
+ </mask>
18
+ </defs>
19
+ </svg>
package/dist/index.d.ts CHANGED
@@ -110,9 +110,15 @@ declare function ReadingRecommendation({ tour, links }: {
110
110
  links: string[];
111
111
  }): JSX.Element;
112
112
 
113
+ declare function Warning({ children }: {
114
+ children: JSX.Element;
115
+ }): JSX.Element;
116
+ declare function Construction({ children }: {
117
+ children: JSX.Element;
118
+ }): JSX.Element;
113
119
  declare function Note({ type, icon, children }: {
114
- icon: JSX.Element | string;
115
- type?: 'error' | 'warning';
120
+ icon?: JSX.Element | string;
121
+ type?: 'error' | 'warning' | 'construction';
116
122
  children: JSX.Element;
117
123
  }): JSX.Element;
118
124
 
@@ -131,6 +137,7 @@ type SponsorCompany = {
131
137
  website: string;
132
138
  plan: Plan;
133
139
  divSize?: Partial<DivSize>;
140
+ github: string;
134
141
  };
135
142
  type SponsorIndividual = {
136
143
  username: string;
@@ -148,4 +155,4 @@ declare function CodeBlock({ children, lineBreak }: {
148
155
  lineBreak?: true;
149
156
  }): JSX.Element;
150
157
 
151
- export { CodeBlock, Config, Emoji, EmojiName, HeadingDefinition, HeadingDetachedDefinition, HorizontalLine, ImportMeta, Info, Link, Note, P, ReadingRecommendation, RepoLink, Sponsor, Sponsors, assert, assertUsage, assertWarning, crawlAllFiles, determineSectionTitle, determineSectionUrlHash, filter, isBrowser, isRepoLink, jsxToTextContent, objectAssign };
158
+ export { CodeBlock, Config, Construction, Emoji, EmojiName, HeadingDefinition, HeadingDetachedDefinition, HorizontalLine, ImportMeta, Info, Link, Note, P, ReadingRecommendation, RepoLink, Sponsor, Sponsors, Warning, assert, assertUsage, assertWarning, crawlAllFiles, determineSectionTitle, determineSectionUrlHash, filter, isBrowser, isRepoLink, jsxToTextContent, objectAssign };
package/dist/index.js CHANGED
@@ -180,22 +180,38 @@ function TourLink() {
180
180
 
181
181
  // src/components/Note.tsx
182
182
  import React5 from "react";
183
+ function Warning({ children }) {
184
+ return /* @__PURE__ */ React5.createElement(Note, {
185
+ type: "warning"
186
+ }, children);
187
+ }
188
+ function Construction({ children }) {
189
+ return /* @__PURE__ */ React5.createElement(Note, {
190
+ type: "construction"
191
+ }, children);
192
+ }
183
193
  function Note({
184
194
  type,
185
195
  icon,
186
196
  children
187
197
  }) {
188
- assert(type === void 0 || ["error", "warning"].includes(type));
198
+ let className;
189
199
  if (!icon) {
190
200
  if (type === "error") {
191
201
  icon = ":no_entry:";
202
+ className = "error";
192
203
  }
193
204
  if (type === "warning") {
194
205
  icon = ":warning:";
206
+ className = "warning";
207
+ }
208
+ if (type === "construction") {
209
+ icon = ":construction:";
210
+ className = "warning";
195
211
  }
196
212
  }
197
213
  return /* @__PURE__ */ React5.createElement("blockquote", {
198
- className: type
214
+ className
199
215
  }, /* @__PURE__ */ React5.createElement("div", {
200
216
  style: { marginBottom: 20 }
201
217
  }), icon, " ", children, /* @__PURE__ */ React5.createElement("div", {
@@ -248,9 +264,6 @@ var medalBronze_default = "/assets/medalBronze-CO4CTUR4.svg";
248
264
  // src/components/Sponsors/label.svg
249
265
  var label_default = "/assets/label-MP75CTIA.svg";
250
266
 
251
- // src/components/Sponsors/companyLogos/crepe.svg
252
- var crepe_default = "/assets/crepe-H7AW7P3A.svg";
253
-
254
267
  // src/components/Sponsors/companyLogos/contra.svg
255
268
  var contra_default = "/assets/contra-WLZBOPBV.svg";
256
269
 
@@ -260,17 +273,24 @@ var mfqs_default = "/assets/mfqs-2EAEE7N6.svg";
260
273
  // src/components/Sponsors/companyLogos/optimizers.svg
261
274
  var optimizers_default = "/assets/optimizers-SFEZF3NW.svg";
262
275
 
263
- // src/components/Sponsors/companyLogos/repora.svg
264
- var repora_default = "/assets/repora-UNKQZ6QP.svg";
265
-
266
276
  // src/components/Sponsors/companyLogos/burdaforward.png
267
277
  var burdaforward_default = "/assets/burdaforward-EUGURYZY.png";
268
278
 
269
279
  // src/components/Sponsors/companyLogos/inlang.png
270
280
  var inlang_default = "/assets/inlang-GFRWND6X.png";
271
281
 
282
+ // src/components/Sponsors/companyLogos/alignable.svg
283
+ var alignable_default = "/assets/alignable-B4QZV4X7.svg";
284
+
272
285
  // src/components/Sponsors/sponsorsList.ts
273
286
  var individuals = [
287
+ { username: "cookieplace" },
288
+ {
289
+ username: "JiangWeixian"
290
+ },
291
+ {
292
+ username: "harrytran998"
293
+ },
274
294
  {
275
295
  username: "royalswe"
276
296
  },
@@ -376,19 +396,22 @@ var companies = [
376
396
  companyName: "BurdaFoward",
377
397
  companyLogo: burdaforward_default,
378
398
  plan: "platinum",
379
- website: "https://www.burda-forward.de"
399
+ website: "https://www.burda-forward.de",
400
+ github: "BurdaForward"
380
401
  },
381
402
  {
382
403
  companyName: "Contra",
383
404
  companyLogo: contra_default,
384
- plan: "gold",
385
- website: "https://contra.com"
405
+ plan: "silver",
406
+ website: "https://contra.com",
407
+ github: "contra"
386
408
  },
387
409
  {
388
- companyName: "CREPE",
389
- companyLogo: crepe_default,
410
+ companyName: "Alignable",
411
+ companyLogo: alignable_default,
390
412
  plan: "silver",
391
- website: "https://crepe.cm"
413
+ website: "https://www.alignable.com/",
414
+ github: "AlignableUser"
392
415
  },
393
416
  {
394
417
  companyName: "Optimizers",
@@ -397,25 +420,22 @@ var companies = [
397
420
  website: "https://www.optimizers.nl/",
398
421
  divSize: {
399
422
  padding: 20
400
- }
423
+ },
424
+ github: "OptimizersGroup"
401
425
  },
402
426
  {
403
427
  companyName: "My Favorite Quilt Store",
404
428
  companyLogo: mfqs_default,
405
- plan: "bronze",
406
- website: "https://myfavoritequiltstore.com"
407
- },
408
- {
409
- companyName: "Repora",
410
- companyLogo: repora_default,
411
- plan: "bronze",
412
- website: "https://www.repora.com"
429
+ plan: "indie",
430
+ website: "https://myfavoritequiltstore.com",
431
+ github: "pieperz"
413
432
  },
414
433
  {
415
434
  companyName: "Inlang",
416
435
  companyLogo: inlang_default,
417
436
  plan: "indie",
418
- website: "https://inlang.com/"
437
+ website: "https://inlang.com/",
438
+ github: "inlang"
419
439
  }
420
440
  ];
421
441
  var sponsorsList = [...companies, ...individuals];
@@ -644,6 +664,7 @@ function CodeBlock({ children, lineBreak }) {
644
664
  }
645
665
  export {
646
666
  CodeBlock,
667
+ Construction,
647
668
  Emoji,
648
669
  FeatureList,
649
670
  HorizontalLine,
@@ -655,6 +676,7 @@ export {
655
676
  ReadingRecommendation,
656
677
  RepoLink,
657
678
  Sponsors,
679
+ Warning,
658
680
  assert,
659
681
  assertUsage,
660
682
  assertWarning,
@@ -533,11 +533,6 @@ function getPageHeadings(pageContext, currentHeading) {
533
533
  markdownHeadings.forEach((markdownHeading) => {
534
534
  const title = parseTitle(markdownHeading.title);
535
535
  const url = markdownHeading.headingId && "#" + markdownHeading.headingId;
536
- if (markdownHeading.headingLevel === 3) {
537
- console.warn(
538
- "Wrong page heading level `" + markdownHeading.headingLevel + "` (it should be `<h2>`) for sub-heading `" + markdownHeading.title + "` of page `" + pageContext.urlOriginal + "`."
539
- );
540
- }
541
536
  if (markdownHeading.headingLevel === 2) {
542
537
  const heading = {
543
538
  url,
@@ -591,7 +586,8 @@ import twemoji from "twemoji";
591
586
  var emojiList = {
592
587
  ":no_entry:": 9940,
593
588
  ":warning:": 9888,
594
- ":trophy:": 127942
589
+ ":trophy:": 127942,
590
+ ":construction:": 128679
595
591
  };
596
592
  function parseEmojis(html) {
597
593
  Object.entries(emojiList).forEach(([shortcode, codepoint]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "scripts": {
5
5
  "// Check types while developing": "",
6
6
  "types": "tsc --noEmit --watch",
@@ -1,7 +0,0 @@
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>
@@ -1,10 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 178.84 55.522">
2
- <defs>
3
- <style>
4
- .a {
5
- fill: #00204f;
6
- }
7
- </style>
8
- </defs>
9
- <path class="a" d="M27.761,0A27.761,27.761,0,1,0,55.522,27.761,27.793,27.793,0,0,0,27.761,0Zm0,52.262a24.5,24.5,0,1,1,24.5-24.5A24.529,24.529,0,0,1,27.761,52.262Zm-5.543-8.536H35.3L22.218,28.358Zm5.9-30.856h-5.9V27.242h5.9a7.186,7.186,0,1,0,0-14.372Zm75.168,22.755a1.825,1.825,0,0,0-1.239.656A6.35,6.35,0,0,1,97.2,38.467a6.762,6.762,0,0,1-6.668-6.959,6.762,6.762,0,0,1,6.668-6.96,5.551,5.551,0,0,1,3.5,1.166l-3.844,4.245a1.23,1.23,0,0,0-.328.911,1.37,1.37,0,0,0,2.405.838l4.646-5.3a1.468,1.468,0,0,0-.074-2.223,9.326,9.326,0,0,0-6.3-2.332,9.656,9.656,0,0,0,0,19.312,9.22,9.22,0,0,0,7.105-3.17,1.7,1.7,0,0,0,.438-.984A1.38,1.38,0,0,0,103.286,35.625ZM117.543,22.01a9.019,9.019,0,0,0-6.622,2.833,10.116,10.116,0,0,0-1.843,2.566,9.363,9.363,0,0,0-.99,4.172v14.4a1.406,1.406,0,0,0,1.416,1.452,1.428,1.428,0,0,0,1.417-1.452V37.947a8.885,8.885,0,0,0,6.622,2.833,9.156,9.156,0,0,0,9.173-9.385A9.156,9.156,0,0,0,117.543,22.01Zm-.177,16.149a6.5,6.5,0,0,1-6.445-6.481v-.566a6.466,6.466,0,1,1,12.926.283A6.55,6.55,0,0,1,117.366,38.159ZM139.83,22.01a9.385,9.385,0,0,0,0,18.77,9.208,9.208,0,0,0,9.314-9.385A9.209,9.209,0,0,0,139.83,22.01Zm0,16.149a6.593,6.593,0,0,1-6.481-6.764,6.47,6.47,0,1,1,12.926,0A6.565,6.565,0,0,1,139.83,38.159Zm38.292-10.041a10.174,10.174,0,0,0-2.116-3.275A9.17,9.17,0,0,0,160.211,31.4a9.156,9.156,0,0,0,9.173,9.385,8.942,8.942,0,0,0,6.622-2.833v1.31a1.429,1.429,0,0,0,1.417,1.452,1.407,1.407,0,0,0,1.417-1.452V31.581A10.176,10.176,0,0,0,178.122,28.118Zm-2.116,3.56A6.466,6.466,0,1,1,163.08,31.4a6.466,6.466,0,1,1,12.926-.283ZM158.27,22.15a4.873,4.873,0,0,0-3.208.735,4.992,4.992,0,0,0-2.182,3.663l-.006.067V39.3a1.415,1.415,0,1,0,2.829,0V26.761a2.183,2.183,0,0,1,.9-1.5,2.076,2.076,0,0,1,1.336-.3,1.414,1.414,0,1,0,.331-2.809ZM77.577,28.959l.732-.037A6.319,6.319,0,0,0,83.8,22.369c0-4.063-3.038-7.322-7.688-7.322h-5.93a1.547,1.547,0,0,0-1.538,1.538V39.393a1.556,1.556,0,1,0,3.112,0V17.939H76a4.414,4.414,0,1,1,0,8.823H74.794A1.4,1.4,0,0,0,73.4,28.19a1.927,1.927,0,0,0,.476,1.208l9.226,10.983a1.489,1.489,0,0,0,1.208.586,1.547,1.547,0,0,0,1.538-1.537,1.424,1.424,0,0,0-.366-1.025Z"/>
10
- </svg>