reactive-md 0.5.2 → 0.6.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.
Files changed (110) hide show
  1. package/CHANGELOG-ch.md +47 -15
  2. package/CHANGELOG.md +47 -15
  3. package/CONTRIBUTING-ch.md +10 -5
  4. package/CONTRIBUTING.md +10 -5
  5. package/README-ch.md +38 -36
  6. package/README-en.md +45 -42
  7. package/README.md +45 -42
  8. package/SECURITY-ch.md +1 -1
  9. package/SECURITY.md +1 -1
  10. package/THIRD_PARTY_NOTICES.md +481 -1
  11. package/cli/build.mjs +1 -1
  12. package/cli/package.mjs +1 -0
  13. package/dist-library/authoring-DSC0VsNK.js +842 -0
  14. package/dist-library/{runtime-UiQPz5ZV.js → compiler-CRD88BMt.js} +8944 -5847
  15. package/dist-library/react-Dk94rcOp.js +59658 -0
  16. package/dist-library/reactive-md-authoring.js +1514 -0
  17. package/dist-library/reactive-md-editor.js +589 -570
  18. package/dist-library/reactive-md-print.css +284 -0
  19. package/dist-library/reactive-md-react-unstyled.js +1 -0
  20. package/dist-library/reactive-md-react.js +1 -13208
  21. package/dist-library/reactive-md.css +1 -1
  22. package/dist-library/reactive-md.js +308 -1126
  23. package/dist-library/runtime-D8KbnCd0.js +498 -0
  24. package/dist-library/types/authoring/index.d.ts +24 -0
  25. package/dist-library/types/editor/command-types.d.ts +10 -0
  26. package/dist-library/types/editor/editor-commands.d.ts +2 -2
  27. package/dist-library/types/editor/editor-i18n.d.ts +1 -1
  28. package/dist-library/types/editor/native-components.d.ts +1 -1
  29. package/dist-library/types/editor/source-authoring.d.ts +5 -3
  30. package/dist-library/types/editor/types.d.ts +7 -10
  31. package/dist-library/types/local/LocalDocumentView.d.ts +4 -2
  32. package/dist-library/types/local/authoring.d.ts +9 -5
  33. package/dist-library/types/local/code-block.d.ts +3 -1
  34. package/dist-library/types/local/code-languages.d.ts +7 -0
  35. package/dist-library/types/local/compiled-data.d.ts +6 -0
  36. package/dist-library/types/local/compiler.d.ts +1 -0
  37. package/dist-library/types/local/diagnostics.d.ts +71 -0
  38. package/dist-library/types/local/diagram-layout.d.ts +69 -0
  39. package/dist-library/types/local/html-names.d.ts +6 -0
  40. package/dist-library/types/local/html-table.d.ts +25 -0
  41. package/dist-library/types/local/index.d.ts +1 -0
  42. package/dist-library/types/local/math-display.d.ts +73 -0
  43. package/dist-library/types/local/math-view.d.ts +2 -0
  44. package/dist-library/types/local/options.d.ts +3 -1
  45. package/dist-library/types/local/table-surface.d.ts +10 -0
  46. package/dist-library/types/local/types.d.ts +12 -0
  47. package/dist-library/types/local/visuals.d.ts +9 -0
  48. package/dist-library/types/local/worker.d.ts +3 -2
  49. package/dist-library/types/react/index.d.ts +1 -1
  50. package/dist-standalone/reactive-md-standalone.css +1 -1
  51. package/dist-standalone/reactive-md-standalone.js +79 -51
  52. package/docs/README.md +84 -0
  53. package/docs/{compatibility-ch.md → compatibility/compatibility-ch.md} +28 -18
  54. package/docs/{compatibility-en.md → compatibility/compatibility-en.md} +28 -18
  55. package/docs/{source-versioning-ch.md → compatibility/source-versioning-ch.md} +2 -2
  56. package/docs/{source-versioning-en.md → compatibility/source-versioning-en.md} +2 -2
  57. package/docs/{component-development-ch.md → development/component-development-ch.md} +7 -7
  58. package/docs/{component-development-en.md → development/component-development-en.md} +7 -7
  59. package/docs/{component-protocol-ch.md → development/component-protocol-ch.md} +17 -17
  60. package/docs/{component-protocol-en.md → development/component-protocol-en.md} +17 -17
  61. package/docs/{performance-ch.md → development/performance-ch.md} +2 -2
  62. package/docs/{performance-en.md → development/performance-en.md} +2 -2
  63. package/docs/{releasing-ch.md → development/releasing-ch.md} +12 -12
  64. package/docs/{releasing-en.md → development/releasing-en.md} +12 -12
  65. package/docs/guides/local-guide-ch.md +513 -0
  66. package/docs/guides/local-guide-en.md +513 -0
  67. package/docs/{author-tools-ch.md → integration/author-tools-ch.md} +13 -7
  68. package/docs/{author-tools-en.md → integration/author-tools-en.md} +13 -7
  69. package/docs/{editor-ch.md → integration/editor-ch.md} +238 -235
  70. package/docs/{editor-en.md → integration/editor-en.md} +238 -235
  71. package/docs/{local-integration-ch.md → integration/local-integration-ch.md} +410 -390
  72. package/docs/{local-integration-en.md → integration/local-integration-en.md} +410 -390
  73. package/docs/{shareable-export-ch.md → integration/shareable-export-ch.md} +16 -4
  74. package/docs/{shareable-export-en.md → integration/shareable-export-en.md} +16 -4
  75. package/docs/{computations-formatting-ch.md → reference/computations-formatting-ch.md} +2 -2
  76. package/docs/{computations-formatting-en.md → reference/computations-formatting-en.md} +2 -2
  77. package/docs/{constraints-collections-ch.md → reference/constraints-collections-ch.md} +2 -2
  78. package/docs/{constraints-collections-en.md → reference/constraints-collections-en.md} +2 -2
  79. package/docs/{diagnostics-counting-ch.md → reference/diagnostics-counting-ch.md} +22 -2
  80. package/docs/{diagnostics-counting-en.md → reference/diagnostics-counting-en.md} +22 -2
  81. package/docs/{html-compatibility-ch.md → reference/html-compatibility-ch.md} +42 -4
  82. package/docs/{html-compatibility-en.md → reference/html-compatibility-en.md} +42 -4
  83. package/docs/{local-components-v2-ch.md → reference/local-components-v2-ch.md} +2 -2
  84. package/docs/{local-components-v2-en.md → reference/local-components-v2-en.md} +2 -2
  85. package/docs/{local-interaction-syntax-ch.md → reference/local-interaction-syntax-ch.md} +26 -7
  86. package/docs/{local-interaction-syntax-en.md → reference/local-interaction-syntax-en.md} +26 -7
  87. package/docs/{theme-protocol-ch.md → reference/theme-protocol-ch.md} +1 -1
  88. package/docs/{theme-protocol-en.md → reference/theme-protocol-en.md} +1 -1
  89. package/docs/{release-0.4.0-ch.md → releases/release-0.4.0-ch.md} +6 -6
  90. package/docs/{release-0.4.0-en.md → releases/release-0.4.0-en.md} +6 -6
  91. package/docs/{release-0.4.1-ch.md → releases/release-0.4.1-ch.md} +2 -2
  92. package/docs/{release-0.4.1-en.md → releases/release-0.4.1-en.md} +2 -2
  93. package/docs/{release-0.5.0-ch.md → releases/release-0.5.0-ch.md} +4 -4
  94. package/docs/{release-0.5.0-en.md → releases/release-0.5.0-en.md} +4 -4
  95. package/docs/{release-0.5.1-ch.md → releases/release-0.5.1-ch.md} +4 -4
  96. package/docs/{release-0.5.1-en.md → releases/release-0.5.1-en.md} +4 -4
  97. package/docs/{release-0.5.2-ch.md → releases/release-0.5.2-ch.md} +3 -3
  98. package/docs/{release-0.5.2-en.md → releases/release-0.5.2-en.md} +3 -3
  99. package/docs/releases/release-0.5.3-ch.md +25 -0
  100. package/docs/releases/release-0.5.3-en.md +25 -0
  101. package/docs/releases/release-0.6.0-ch.md +57 -0
  102. package/docs/releases/release-0.6.0-en.md +57 -0
  103. package/examples/conformance/README.md +4 -4
  104. package/examples/integration/README.md +10 -8
  105. package/examples/integration/worker/package.json +1 -1
  106. package/examples/local/README.md +5 -5
  107. package/examples/local/html-compat.reactive.md +19 -0
  108. package/package.json +20 -3
  109. package/docs/local-guide-ch.md +0 -967
  110. package/docs/local-guide-en.md +0 -967
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- Reactive MD bundles its Markdown, HTML parsing and syntax-highlighting dependencies. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
3
+ Reactive MD bundles its Markdown, HTML parsing, syntax-highlighting, diagram-layout and chemical-formula parsing dependencies. The standalone HTML runtime also bundles React, React DOM and scheduler. This file preserves license texts for those installed dependency trees, including supporting type packages. The library React entry uses host-provided React and React DOM peers.
4
4
 
5
5
  Regenerate after dependency updates with `node scripts/generate-notices.mjs`.
6
6
 
@@ -343,6 +343,278 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
343
343
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
344
344
  ```
345
345
 
346
+ ## elkjs@0.12.0
347
+
348
+ Declared license: EPL-2.0 OR GPL-3.0-or-later
349
+
350
+ ELK source is available under the Eclipse Public License 2.0 at https://github.com/kieler/elkjs and https://github.com/eclipse-elk/elk.
351
+
352
+ ```text
353
+ # Eclipse Public License - v 2.0
354
+
355
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
356
+ PUBLIC LICENSE (“AGREEMENT”). ANY USE, REPRODUCTION OR DISTRIBUTION OF
357
+ THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
358
+
359
+ ## 1. DEFINITIONS
360
+
361
+ “Contribution” means:
362
+
363
+ - a\) in the case of the initial Contributor, the initial content
364
+ Distributed under this Agreement, and
365
+ - b\) in the case of each subsequent Contributor:
366
+ - i\) changes to the Program, and
367
+ - ii\) additions to the Program;
368
+
369
+ where such changes and/or additions to the Program originate from
370
+ and are Distributed by that particular Contributor. A Contribution
371
+ “originates” from a Contributor if it was added to the Program by
372
+ such Contributor itself or anyone acting on such Contributor's
373
+ behalf. Contributions do not include changes or additions to the
374
+ Program that are not Modified Works.
375
+
376
+ “Contributor” means any person or entity that Distributes the Program.
377
+
378
+ “Licensed Patents” mean patent claims licensable by a Contributor which
379
+ are necessarily infringed by the use or sale of its Contribution alone
380
+ or when combined with the Program.
381
+
382
+ “Program” means the Contributions Distributed in accordance with this
383
+ Agreement.
384
+
385
+ “Recipient” means anyone who receives the Program under this Agreement
386
+ or any Secondary License (as applicable), including Contributors.
387
+
388
+ “Derivative Works” shall mean any work, whether in Source Code or other
389
+ form, that is based on (or derived from) the Program and for which the
390
+ editorial revisions, annotations, elaborations, or other modifications
391
+ represent, as a whole, an original work of authorship.
392
+
393
+ “Modified Works” shall mean any work in Source Code or other form that
394
+ results from an addition to, deletion from, or modification of the
395
+ contents of the Program, including, for purposes of clarity any new file
396
+ in Source Code form that contains any contents of the Program. Modified
397
+ Works shall not include works that contain only declarations,
398
+ interfaces, types, classes, structures, or files of the Program solely
399
+ in each case in order to link to, bind by name, or subclass the Program
400
+ or Modified Works thereof.
401
+
402
+ “Distribute” means the acts of a) distributing or b) making available in
403
+ any manner that enables the transfer of a copy.
404
+
405
+ “Source Code” means the form of a Program preferred for making
406
+ modifications, including but not limited to software source code,
407
+ documentation source, and configuration files.
408
+
409
+ “Secondary License” means either the GNU General Public License, Version
410
+ 2.0, or any later versions of that license, including any exceptions or
411
+ additional permissions as identified by the initial Contributor.
412
+
413
+ ## 2. GRANT OF RIGHTS
414
+
415
+ - a\) Subject to the terms of this Agreement, each Contributor hereby
416
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
417
+ license to reproduce, prepare Derivative Works of, publicly display,
418
+ publicly perform, Distribute and sublicense the Contribution of such
419
+ Contributor, if any, and such Derivative Works.
420
+ - b\) Subject to the terms of this Agreement, each Contributor hereby
421
+ grants Recipient a non-exclusive, worldwide, royalty-free patent license
422
+ under Licensed Patents to make, use, sell, offer to sell, import and
423
+ otherwise transfer the Contribution of such Contributor, if any, in
424
+ Source Code or other form. This patent license shall apply to the
425
+ combination of the Contribution and the Program if, at the time the
426
+ Contribution is added by the Contributor, such addition of the
427
+ Contribution causes such combination to be covered by the
428
+ Licensed Patents. The patent license shall not apply to any other
429
+ combinations which include the Contribution. No hardware per se is
430
+ licensed hereunder.
431
+ - c\) Recipient understands that although each Contributor grants the
432
+ licenses to its Contributions set forth herein, no assurances are
433
+ provided by any Contributor that the Program does not infringe the
434
+ patent or other intellectual property rights of any other entity. Each
435
+ Contributor disclaims any liability to Recipient for claims brought by
436
+ any other entity based on infringement of intellectual property rights
437
+ or otherwise. As a condition to exercising the rights and licenses
438
+ granted hereunder, each Recipient hereby assumes sole responsibility to
439
+ secure any other intellectual property rights needed, if any. For
440
+ example, if a third party patent license is required to allow Recipient
441
+ to Distribute the Program, it is Recipient's responsibility to acquire
442
+ that license before distributing the Program.
443
+ - d\) Each Contributor represents that to its knowledge it has sufficient
444
+ copyright rights in its Contribution, if any, to grant the copyright
445
+ license set forth in this Agreement.
446
+ - e\) Notwithstanding the terms of any Secondary License, no Contributor
447
+ makes additional grants to any Recipient (other than those set forth in
448
+ this Agreement) as a result of such Recipient's receipt of the Program
449
+ under the terms of a Secondary License (if permitted under the terms of
450
+ Section 3).
451
+
452
+ ## 3. REQUIREMENTS
453
+
454
+ 3.1 If a Contributor Distributes the Program in any form, then:
455
+
456
+ - a\) the Program must also be made available as Source Code, in accordance
457
+ with section 3.2, and the Contributor must accompany the Program with a
458
+ statement that the Source Code for the Program is available under this
459
+ Agreement, and informs Recipients how to obtain it in a reasonable
460
+ manner on or through a medium customarily used for software exchange;
461
+ and
462
+ - b\) the Contributor may Distribute the Program under a license different
463
+ than this Agreement, provided that such license:
464
+ - i\) effectively disclaims on behalf of all other Contributors all
465
+ warranties and conditions, express and implied, including warranties or
466
+ conditions of title and non-infringement, and implied warranties or
467
+ conditions of merchantability and fitness for a particular purpose;
468
+ - ii\) effectively excludes on behalf of all other Contributors all
469
+ liability for damages, including direct, indirect, special, incidental
470
+ and consequential damages, such as lost profits;
471
+ - iii\) does not attempt to limit or alter the recipients' rights in the
472
+ Source Code under section 3.2; and
473
+ - iv\) requires any subsequent distribution of the Program by any party to
474
+ be under a license that satisfies the requirements of this section 3.
475
+
476
+ 3.2 When the Program is Distributed as Source Code:
477
+
478
+ - a\) it must be made available under this Agreement, or if the Program (i)
479
+ is combined with other material in a separate file or files made
480
+ available under a Secondary License, and (ii) the initial Contributor
481
+ attached to the Source Code the notice described in Exhibit A of this
482
+ Agreement, then the Program may be made available under the terms of
483
+ such Secondary Licenses, and
484
+ - b\) a copy of this Agreement must be included with each copy of
485
+ the Program.
486
+
487
+ 3.3 Contributors may not remove or alter any copyright, patent,
488
+ trademark, attribution notices, disclaimers of warranty, or limitations
489
+ of liability (‘notices’) contained within the Program from any copy of
490
+ the Program which they Distribute, provided that Contributors may add
491
+ their own appropriate notices.
492
+
493
+ ## 4. COMMERCIAL DISTRIBUTION
494
+
495
+ Commercial distributors of software may accept certain responsibilities
496
+ with respect to end users, business partners and the like. While this
497
+ license is intended to facilitate the commercial use of the Program, the
498
+ Contributor who includes the Program in a commercial product offering
499
+ should do so in a manner which does not create potential liability for
500
+ other Contributors. Therefore, if a Contributor includes the Program in
501
+ a commercial product offering, such Contributor (“Commercial
502
+ Contributor”) hereby agrees to defend and indemnify every other
503
+ Contributor (“Indemnified Contributor”) against any losses, damages and
504
+ costs (collectively “Losses”) arising from claims, lawsuits and other
505
+ legal actions brought by a third party against the Indemnified
506
+ Contributor to the extent caused by the acts or omissions of such
507
+ Commercial Contributor in connection with its distribution of the
508
+ Program in a commercial product offering. The obligations in this
509
+ section do not apply to any claims or Losses relating to any actual or
510
+ alleged intellectual property infringement. In order to qualify, an
511
+ Indemnified Contributor must: a) promptly notify the Commercial
512
+ Contributor in writing of such claim, and b) allow the Commercial
513
+ Contributor to control, and cooperate with the Commercial Contributor
514
+ in, the defense and any related settlement negotiations. The Indemnified
515
+ Contributor may participate in any such claim at its own expense.
516
+
517
+ For example, a Contributor might include the Program in a commercial
518
+ product offering, Product X. That Contributor is then a Commercial
519
+ Contributor. If that Commercial Contributor then makes performance
520
+ claims, or offers warranties related to Product X, those performance
521
+ claims and warranties are such Commercial Contributor's responsibility
522
+ alone. Under this section, the Commercial Contributor would have to
523
+ defend claims against the other Contributors related to those
524
+ performance claims and warranties, and if a court requires any other
525
+ Contributor to pay any damages as a result, the Commercial Contributor
526
+ must pay those damages.
527
+
528
+ ## 5. NO WARRANTY {#warranty}
529
+
530
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
531
+ PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN “AS IS”
532
+ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
533
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
534
+ TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
535
+ PURPOSE. Each Recipient is solely responsible for determining the
536
+ appropriateness of using and distributing the Program and assumes all
537
+ risks associated with its exercise of rights under this Agreement,
538
+ including but not limited to the risks and costs of program errors,
539
+ compliance with applicable laws, damage to or loss of data, programs or
540
+ equipment, and unavailability or interruption of operations.
541
+
542
+ ## 6. DISCLAIMER OF LIABILITY {#disclaimer}
543
+
544
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
545
+ PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
546
+ SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
547
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
548
+ PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
549
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
550
+ ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
551
+ EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
552
+ POSSIBILITY OF SUCH DAMAGES.
553
+
554
+ ## 7. GENERAL
555
+
556
+ If any provision of this Agreement is invalid or unenforceable under
557
+ applicable law, it shall not affect the validity or enforceability of
558
+ the remainder of the terms of this Agreement, and without further action
559
+ by the parties hereto, such provision shall be reformed to the minimum
560
+ extent necessary to make such provision valid and enforceable.
561
+
562
+ If Recipient institutes patent litigation against any entity (including
563
+ a cross-claim or counterclaim in a lawsuit) alleging that the Program
564
+ itself (excluding combinations of the Program with other software or
565
+ hardware) infringes such Recipient's patent(s), then such Recipient's
566
+ rights granted under Section 2(b) shall terminate as of the date such
567
+ litigation is filed.
568
+
569
+ All Recipient's rights under this Agreement shall terminate if it fails
570
+ to comply with any of the material terms or conditions of this Agreement
571
+ and does not cure such failure in a reasonable period of time after
572
+ becoming aware of such noncompliance. If all Recipient's rights under
573
+ this Agreement terminate, Recipient agrees to cease use and distribution
574
+ of the Program as soon as reasonably practicable. However, Recipient's
575
+ obligations under this Agreement and any licenses granted by Recipient
576
+ relating to the Program shall continue and survive.
577
+
578
+ Everyone is permitted to copy and distribute copies of this Agreement,
579
+ but in order to avoid inconsistency the Agreement is copyrighted and may
580
+ only be modified in the following manner. The Agreement Steward reserves
581
+ the right to publish new versions (including revisions) of this
582
+ Agreement from time to time. No one other than the Agreement Steward has
583
+ the right to modify this Agreement. The Eclipse Foundation is the
584
+ initial Agreement Steward. The Eclipse Foundation may assign the
585
+ responsibility to serve as the Agreement Steward to a suitable separate
586
+ entity. Each new version of the Agreement will be given a distinguishing
587
+ version number. The Program (including Contributions) may always be
588
+ Distributed subject to the version of the Agreement under which it was
589
+ received. In addition, after a new version of the Agreement is
590
+ published, Contributor may elect to Distribute the Program (including
591
+ its Contributions) under the new version.
592
+
593
+ Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
594
+ receives no rights or licenses to the intellectual property of any
595
+ Contributor under this Agreement, whether expressly, by implication,
596
+ estoppel or otherwise. All rights in the Program not expressly granted
597
+ under this Agreement are reserved. Nothing in this Agreement is intended
598
+ to be enforceable by any entity that is not a Contributor or Recipient.
599
+ No third-party beneficiary rights are created under this Agreement.
600
+
601
+ ## Exhibit A – Form of Secondary Licenses Notice {#exhibit-a}
602
+
603
+ “This Source Code may also be made available under the following
604
+ Secondary Licenses when the conditions for such availability set forth
605
+ in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License v3.0 or later”
606
+
607
+ > Simply including a copy of this Agreement, including this Exhibit A is
608
+ > not sufficient to license the Source Code under Secondary Licenses.
609
+ >
610
+ > If it is not possible or desirable to put the notice in a particular
611
+ > file, then You may include the notice in a location (such as a LICENSE
612
+ > file in a relevant directory) where a recipient would be likely to
613
+ > look for such a notice.
614
+ >
615
+ > You may add additional accurate notices of copyright ownership.
616
+ ```
617
+
346
618
  ## entities@8.1.0
347
619
 
348
620
  Declared license: BSD-2-Clause
@@ -865,6 +1137,214 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
865
1137
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
866
1138
  ```
867
1139
 
1140
+ ## mhchemparser@4.2.1
1141
+
1142
+ Declared license: Apache-2.0
1143
+
1144
+ ```text
1145
+ Apache License
1146
+ Version 2.0, January 2004
1147
+ http://www.apache.org/licenses/
1148
+
1149
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1150
+
1151
+ 1. Definitions.
1152
+
1153
+ "License" shall mean the terms and conditions for use, reproduction,
1154
+ and distribution as defined by Sections 1 through 9 of this document.
1155
+
1156
+ "Licensor" shall mean the copyright owner or entity authorized by
1157
+ the copyright owner that is granting the License.
1158
+
1159
+ "Legal Entity" shall mean the union of the acting entity and all
1160
+ other entities that control, are controlled by, or are under common
1161
+ control with that entity. For the purposes of this definition,
1162
+ "control" means (i) the power, direct or indirect, to cause the
1163
+ direction or management of such entity, whether by contract or
1164
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1165
+ outstanding shares, or (iii) beneficial ownership of such entity.
1166
+
1167
+ "You" (or "Your") shall mean an individual or Legal Entity
1168
+ exercising permissions granted by this License.
1169
+
1170
+ "Source" form shall mean the preferred form for making modifications,
1171
+ including but not limited to software source code, documentation
1172
+ source, and configuration files.
1173
+
1174
+ "Object" form shall mean any form resulting from mechanical
1175
+ transformation or translation of a Source form, including but
1176
+ not limited to compiled object code, generated documentation,
1177
+ and conversions to other media types.
1178
+
1179
+ "Work" shall mean the work of authorship, whether in Source or
1180
+ Object form, made available under the License, as indicated by a
1181
+ copyright notice that is included in or attached to the work
1182
+ (an example is provided in the Appendix below).
1183
+
1184
+ "Derivative Works" shall mean any work, whether in Source or Object
1185
+ form, that is based on (or derived from) the Work and for which the
1186
+ editorial revisions, annotations, elaborations, or other modifications
1187
+ represent, as a whole, an original work of authorship. For the purposes
1188
+ of this License, Derivative Works shall not include works that remain
1189
+ separable from, or merely link (or bind by name) to the interfaces of,
1190
+ the Work and Derivative Works thereof.
1191
+
1192
+ "Contribution" shall mean any work of authorship, including
1193
+ the original version of the Work and any modifications or additions
1194
+ to that Work or Derivative Works thereof, that is intentionally
1195
+ submitted to Licensor for inclusion in the Work by the copyright owner
1196
+ or by an individual or Legal Entity authorized to submit on behalf of
1197
+ the copyright owner. For the purposes of this definition, "submitted"
1198
+ means any form of electronic, verbal, or written communication sent
1199
+ to the Licensor or its representatives, including but not limited to
1200
+ communication on electronic mailing lists, source code control systems,
1201
+ and issue tracking systems that are managed by, or on behalf of, the
1202
+ Licensor for the purpose of discussing and improving the Work, but
1203
+ excluding communication that is conspicuously marked or otherwise
1204
+ designated in writing by the copyright owner as "Not a Contribution."
1205
+
1206
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1207
+ on behalf of whom a Contribution has been received by Licensor and
1208
+ subsequently incorporated within the Work.
1209
+
1210
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1211
+ this License, each Contributor hereby grants to You a perpetual,
1212
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1213
+ copyright license to reproduce, prepare Derivative Works of,
1214
+ publicly display, publicly perform, sublicense, and distribute the
1215
+ Work and such Derivative Works in Source or Object form.
1216
+
1217
+ 3. Grant of Patent License. Subject to the terms and conditions of
1218
+ this License, each Contributor hereby grants to You a perpetual,
1219
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1220
+ (except as stated in this section) patent license to make, have made,
1221
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1222
+ where such license applies only to those patent claims licensable
1223
+ by such Contributor that are necessarily infringed by their
1224
+ Contribution(s) alone or by combination of their Contribution(s)
1225
+ with the Work to which such Contribution(s) was submitted. If You
1226
+ institute patent litigation against any entity (including a
1227
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1228
+ or a Contribution incorporated within the Work constitutes direct
1229
+ or contributory patent infringement, then any patent licenses
1230
+ granted to You under this License for that Work shall terminate
1231
+ as of the date such litigation is filed.
1232
+
1233
+ 4. Redistribution. You may reproduce and distribute copies of the
1234
+ Work or Derivative Works thereof in any medium, with or without
1235
+ modifications, and in Source or Object form, provided that You
1236
+ meet the following conditions:
1237
+
1238
+ (a) You must give any other recipients of the Work or
1239
+ Derivative Works a copy of this License; and
1240
+
1241
+ (b) You must cause any modified files to carry prominent notices
1242
+ stating that You changed the files; and
1243
+
1244
+ (c) You must retain, in the Source form of any Derivative Works
1245
+ that You distribute, all copyright, patent, trademark, and
1246
+ attribution notices from the Source form of the Work,
1247
+ excluding those notices that do not pertain to any part of
1248
+ the Derivative Works; and
1249
+
1250
+ (d) If the Work includes a "NOTICE" text file as part of its
1251
+ distribution, then any Derivative Works that You distribute must
1252
+ include a readable copy of the attribution notices contained
1253
+ within such NOTICE file, excluding those notices that do not
1254
+ pertain to any part of the Derivative Works, in at least one
1255
+ of the following places: within a NOTICE text file distributed
1256
+ as part of the Derivative Works; within the Source form or
1257
+ documentation, if provided along with the Derivative Works; or,
1258
+ within a display generated by the Derivative Works, if and
1259
+ wherever such third-party notices normally appear. The contents
1260
+ of the NOTICE file are for informational purposes only and
1261
+ do not modify the License. You may add Your own attribution
1262
+ notices within Derivative Works that You distribute, alongside
1263
+ or as an addendum to the NOTICE text from the Work, provided
1264
+ that such additional attribution notices cannot be construed
1265
+ as modifying the License.
1266
+
1267
+ You may add Your own copyright statement to Your modifications and
1268
+ may provide additional or different license terms and conditions
1269
+ for use, reproduction, or distribution of Your modifications, or
1270
+ for any such Derivative Works as a whole, provided Your use,
1271
+ reproduction, and distribution of the Work otherwise complies with
1272
+ the conditions stated in this License.
1273
+
1274
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1275
+ any Contribution intentionally submitted for inclusion in the Work
1276
+ by You to the Licensor shall be under the terms and conditions of
1277
+ this License, without any additional terms or conditions.
1278
+ Notwithstanding the above, nothing herein shall supersede or modify
1279
+ the terms of any separate license agreement you may have executed
1280
+ with Licensor regarding such Contributions.
1281
+
1282
+ 6. Trademarks. This License does not grant permission to use the trade
1283
+ names, trademarks, service marks, or product names of the Licensor,
1284
+ except as required for reasonable and customary use in describing the
1285
+ origin of the Work and reproducing the content of the NOTICE file.
1286
+
1287
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1288
+ agreed to in writing, Licensor provides the Work (and each
1289
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1290
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1291
+ implied, including, without limitation, any warranties or conditions
1292
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1293
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1294
+ appropriateness of using or redistributing the Work and assume any
1295
+ risks associated with Your exercise of permissions under this License.
1296
+
1297
+ 8. Limitation of Liability. In no event and under no legal theory,
1298
+ whether in tort (including negligence), contract, or otherwise,
1299
+ unless required by applicable law (such as deliberate and grossly
1300
+ negligent acts) or agreed to in writing, shall any Contributor be
1301
+ liable to You for damages, including any direct, indirect, special,
1302
+ incidental, or consequential damages of any character arising as a
1303
+ result of this License or out of the use or inability to use the
1304
+ Work (including but not limited to damages for loss of goodwill,
1305
+ work stoppage, computer failure or malfunction, or any and all
1306
+ other commercial damages or losses), even if such Contributor
1307
+ has been advised of the possibility of such damages.
1308
+
1309
+ 9. Accepting Warranty or Additional Liability. While redistributing
1310
+ the Work or Derivative Works thereof, You may choose to offer,
1311
+ and charge a fee for, acceptance of support, warranty, indemnity,
1312
+ or other liability obligations and/or rights consistent with this
1313
+ License. However, in accepting such obligations, You may act only
1314
+ on Your own behalf and on Your sole responsibility, not on behalf
1315
+ of any other Contributor, and only if You agree to indemnify,
1316
+ defend, and hold each Contributor harmless for any liability
1317
+ incurred by, or claims asserted against, such Contributor by reason
1318
+ of your accepting any such warranty or additional liability.
1319
+
1320
+ END OF TERMS AND CONDITIONS
1321
+
1322
+ APPENDIX: How to apply the Apache License to your work.
1323
+
1324
+ To apply the Apache License to your work, attach the following
1325
+ boilerplate notice, with the fields enclosed by brackets "{}"
1326
+ replaced with your own identifying information. (Don't include
1327
+ the brackets!) The text should be enclosed in the appropriate
1328
+ comment syntax for the file format. We also recommend that a
1329
+ file or class name and description of purpose be included on the
1330
+ same "printed page" as the copyright notice for easier
1331
+ identification within third-party archives.
1332
+
1333
+ Copyright {yyyy} {name of copyright owner}
1334
+
1335
+ Licensed under the Apache License, Version 2.0 (the "License");
1336
+ you may not use this file except in compliance with the License.
1337
+ You may obtain a copy of the License at
1338
+
1339
+ http://www.apache.org/licenses/LICENSE-2.0
1340
+
1341
+ Unless required by applicable law or agreed to in writing, software
1342
+ distributed under the License is distributed on an "AS IS" BASIS,
1343
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1344
+ See the License for the specific language governing permissions and
1345
+ limitations under the License.
1346
+ ```
1347
+
868
1348
  ## micromark-core-commonmark@2.0.4
869
1349
 
870
1350
  Declared license: MIT
package/cli/build.mjs CHANGED
@@ -175,7 +175,7 @@ export async function runBuild(options, context) {
175
175
  const { urlPolicy, imageResolver } = createAssetPolicy(byUrl);
176
176
 
177
177
  /* ------------------------------------------------------------- build inputs */
178
- const css = await readArtifactText(packageRoot, 'css');
178
+ const css = `${await readArtifactText(packageRoot, 'css')}\n${await readArtifactText(packageRoot, 'printCss')}`;
179
179
  let runtimeScript;
180
180
  if (options.mode === 'interactive') {
181
181
  runtimeScript = await readArtifactText(packageRoot, 'standalone');
package/cli/package.mjs CHANGED
@@ -11,6 +11,7 @@ export const ARTIFACTS = Object.freeze({
11
11
  core: { relative: 'dist-library/reactive-md.js', label: 'core build' },
12
12
  react: { relative: 'dist-library/reactive-md-react.js', label: 'React renderer build' },
13
13
  css: { relative: 'dist-library/reactive-md.css', label: 'stylesheet build' },
14
+ printCss: { relative: 'dist-library/reactive-md-print.css', label: 'print stylesheet build' },
14
15
  standalone: { relative: 'dist-standalone/reactive-md-standalone.js', label: 'standalone runtime build' },
15
16
  });
16
17