@jonmilner/ui 0.23.2 → 0.23.4

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 (297) hide show
  1. package/THIRD_PARTY_NOTICES.md +8 -0
  2. package/dist/Alert/Alert.css +1 -1
  3. package/dist/Alert/Alert.css.mjs +3 -3
  4. package/dist/Avatar/Avatar.css +1 -1
  5. package/dist/Avatar/Avatar.css.mjs +2 -2
  6. package/dist/Badge/Badge.css +1 -1
  7. package/dist/Badge/Badge.css.mjs +2 -2
  8. package/dist/Box/Box.css +1 -1
  9. package/dist/Box/Box.css.mjs +2 -2
  10. package/dist/Button/Button.css +1 -1
  11. package/dist/Button/Button.css.mjs +2 -2
  12. package/dist/Checkbox/Checkbox.css +1 -1
  13. package/dist/Checkbox/Checkbox.css.mjs +2 -2
  14. package/dist/Chip/Chip.css +1 -1
  15. package/dist/Chip/Chip.css.mjs +2 -2
  16. package/dist/Clickable/Clickable.css +1 -1
  17. package/dist/Clickable/Clickable.css.mjs +2 -2
  18. package/dist/Code/Code.css +1 -1
  19. package/dist/Code/Code.css.mjs +2 -2
  20. package/dist/ColorField/ColorField.css +1 -1
  21. package/dist/ColorField/ColorField.css.mjs +1 -1
  22. package/dist/Combobox/Combobox.css +1 -1
  23. package/dist/Combobox/Combobox.css.mjs +2 -2
  24. package/dist/Dialog/Dialog.css +1 -1
  25. package/dist/Dialog/Dialog.css.mjs +2 -2
  26. package/dist/Field/Field.css +1 -1
  27. package/dist/Field/Field.css.mjs +2 -2
  28. package/dist/Heading/Heading.css +1 -1
  29. package/dist/Heading/Heading.css.mjs +2 -2
  30. package/dist/Icon/Icon.css +1 -1
  31. package/dist/Icon/Icon.css.mjs +2 -2
  32. package/dist/IconButton/IconButton.css +1 -1
  33. package/dist/IconButton/IconButton.css.mjs +1 -1
  34. package/dist/Inline/Inline.css +1 -1
  35. package/dist/Inline/Inline.css.mjs +2 -2
  36. package/dist/Markdown/Markdown.css +2 -0
  37. package/dist/Markdown/Markdown.css.mjs +7 -0
  38. package/dist/Markdown/index.d.mts +26 -0
  39. package/dist/Markdown/index.mjs +251 -0
  40. package/dist/Menu/Menu.css +1 -1
  41. package/dist/Menu/Menu.css.mjs +2 -2
  42. package/dist/MultiSelect/MultiSelect.css +1 -1
  43. package/dist/MultiSelect/MultiSelect.css.mjs +2 -2
  44. package/dist/NavList/NavList.css +1 -1
  45. package/dist/NavList/NavList.css.mjs +3 -3
  46. package/dist/NumberField/NumberField.css +1 -1
  47. package/dist/NumberField/NumberField.css.mjs +2 -2
  48. package/dist/Popover/Popover.css +1 -1
  49. package/dist/Popover/Popover.css.mjs +2 -2
  50. package/dist/RadioGroup/RadioGroup.css +1 -1
  51. package/dist/RadioGroup/RadioGroup.css.mjs +1 -1
  52. package/dist/SearchField/SearchField.css +1 -1
  53. package/dist/SearchField/SearchField.css.mjs +2 -2
  54. package/dist/Select/Select.css +1 -1
  55. package/dist/Select/Select.css.mjs +2 -2
  56. package/dist/Sidebar/Sidebar.css +1 -1
  57. package/dist/Sidebar/Sidebar.css.mjs +3 -3
  58. package/dist/SidebarLayout/SidebarLayout.css +1 -1
  59. package/dist/SidebarLayout/SidebarLayout.css.mjs +3 -3
  60. package/dist/Stack/Stack.css +1 -1
  61. package/dist/Stack/Stack.css.mjs +2 -2
  62. package/dist/Switch/Switch.css +1 -1
  63. package/dist/Switch/Switch.css.mjs +2 -2
  64. package/dist/Table/Table.css +1 -1
  65. package/dist/Table/Table.css.mjs +3 -3
  66. package/dist/Tabs/Tabs.css +1 -1
  67. package/dist/Tabs/Tabs.css.mjs +2 -2
  68. package/dist/Tag/Tag.css +1 -1
  69. package/dist/Tag/Tag.css.mjs +2 -2
  70. package/dist/Text/Text.css +1 -1
  71. package/dist/Text/Text.css.mjs +2 -2
  72. package/dist/TextField/TextField.css +1 -1
  73. package/dist/TextField/TextField.css.mjs +2 -2
  74. package/dist/Textarea/Textarea.css +1 -1
  75. package/dist/Textarea/Textarea.css.mjs +2 -2
  76. package/dist/Toast/Toast.css +1 -1
  77. package/dist/Toast/Toast.css.mjs +3 -3
  78. package/dist/Tooltip/Tooltip.css +1 -1
  79. package/dist/Tooltip/Tooltip.css.mjs +2 -2
  80. package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
  81. package/dist/VisuallyHidden/VisuallyHidden.css.mjs +2 -2
  82. package/dist/_virtual/_rolldown/runtime.mjs +19 -0
  83. package/dist/base.css +1 -1
  84. package/dist/docs/Icon.md +1 -0
  85. package/dist/docs/Markdown.md +86 -0
  86. package/dist/docs/llms.txt +1 -0
  87. package/dist/docs/manifest.json +36 -1
  88. package/dist/icons/ClaudeIcon.d.mts +2 -0
  89. package/dist/icons/ClaudeIcon.mjs +66 -0
  90. package/dist/icons/index.d.mts +3 -2
  91. package/dist/icons/index.mjs +25 -24
  92. package/dist/index.d.mts +2 -1
  93. package/dist/index.mjs +26 -25
  94. package/dist/lint/index.mjs +1 -0
  95. package/dist/styles/atoms.css +1 -1
  96. package/dist/styles/atoms.css.mjs +2 -2
  97. package/dist/styles/layers.css +1 -1
  98. package/dist/styles/responsive.css +1 -1
  99. package/dist/styles/responsive.css.mjs +2 -2
  100. package/dist/styles/scroll-region.css +1 -1
  101. package/dist/styles/scroll-region.css.mjs +2 -2
  102. package/dist/styles/status-message.css +1 -1
  103. package/dist/styles/status-message.css.mjs +2 -2
  104. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/deserialize.mjs +69 -0
  105. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/index.mjs +7 -0
  106. package/dist/vendor/@ungap/structured-clone@1.4.0/esm/serialize.mjs +93 -0
  107. package/dist/vendor/LICENSES.md +1896 -0
  108. package/dist/vendor/bail@2.0.2/index.mjs +5 -0
  109. package/dist/vendor/ccount@2.0.1/index.mjs +9 -0
  110. package/dist/vendor/character-entities@2.0.2/index.mjs +2129 -0
  111. package/dist/vendor/comma-separated-tokens@2.0.3/index.mjs +6 -0
  112. package/dist/vendor/decode-named-character-reference@1.3.0/index.mjs +7 -0
  113. package/dist/vendor/devlop@1.1.0/lib/default.mjs +4 -0
  114. package/dist/vendor/escape-string-regexp@5.0.0/index.mjs +6 -0
  115. package/dist/vendor/estree-util-is-identifier-name@3.0.0/lib/index.mjs +6 -0
  116. package/dist/vendor/extend@3.0.2/index.mjs +39 -0
  117. package/dist/vendor/hast-util-to-jsx-runtime@2.3.6/lib/index.mjs +254 -0
  118. package/dist/vendor/hast-util-whitespace@3.0.0/lib/index.mjs +9 -0
  119. package/dist/vendor/html-url-attributes@3.0.1/lib/index.mjs +35 -0
  120. package/dist/vendor/inline-style-parser@0.2.7/cjs/index.mjs +89 -0
  121. package/dist/vendor/is-plain-obj@4.1.0/index.mjs +7 -0
  122. package/dist/vendor/longest-streak@3.1.0/index.mjs +8 -0
  123. package/dist/vendor/markdown-table@3.0.4/index.mjs +58 -0
  124. package/dist/vendor/mdast-util-find-and-replace@3.0.4/lib/index.mjs +64 -0
  125. package/dist/vendor/mdast-util-from-markdown@2.1.0/lib/index.mjs +606 -0
  126. package/dist/vendor/mdast-util-gfm-autolink-literal@2.0.1/lib/index.mjs +128 -0
  127. package/dist/vendor/mdast-util-gfm-footnote@2.1.0/lib/index.mjs +96 -0
  128. package/dist/vendor/mdast-util-gfm-strikethrough@2.0.1/lib/index.mjs +56 -0
  129. package/dist/vendor/mdast-util-gfm-table@2.0.0/lib/index.mjs +136 -0
  130. package/dist/vendor/mdast-util-gfm-task-list-item@2.0.0/lib/index.mjs +57 -0
  131. package/dist/vendor/mdast-util-gfm@3.1.0/lib/index.mjs +25 -0
  132. package/dist/vendor/mdast-util-phrasing@4.1.0/lib/index.mjs +21 -0
  133. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/footer.mjs +102 -0
  134. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/blockquote.mjs +11 -0
  135. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/break.mjs +14 -0
  136. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/code.mjs +21 -0
  137. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/delete.mjs +11 -0
  138. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/emphasis.mjs +11 -0
  139. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/footnote-reference.mjs +29 -0
  140. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/heading.mjs +11 -0
  141. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/html.mjs +11 -0
  142. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image-reference.mjs +20 -0
  143. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image.mjs +14 -0
  144. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/index.mjs +55 -0
  145. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/inline-code.mjs +16 -0
  146. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link-reference.mjs +17 -0
  147. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link.mjs +14 -0
  148. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list-item.mjs +58 -0
  149. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list.mjs +19 -0
  150. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/paragraph.mjs +11 -0
  151. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/root.mjs +9 -0
  152. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/strong.mjs +11 -0
  153. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-cell.mjs +11 -0
  154. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-row.mjs +23 -0
  155. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table.mjs +34 -0
  156. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/text.mjs +10 -0
  157. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/thematic-break.mjs +11 -0
  158. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/index.mjs +18 -0
  159. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/revert.mjs +19 -0
  160. package/dist/vendor/mdast-util-to-hast@13.2.1/lib/state.mjs +107 -0
  161. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/blockquote.mjs +11 -0
  162. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/break.mjs +11 -0
  163. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/code.mjs +35 -0
  164. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/definition.mjs +23 -0
  165. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/emphasis.mjs +20 -0
  166. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/heading.mjs +23 -0
  167. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/html.mjs +9 -0
  168. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image-reference.mjs +24 -0
  169. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image.mjs +27 -0
  170. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/index.mjs +43 -0
  171. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/inline-code.mjs +20 -0
  172. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link-reference.mjs +24 -0
  173. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link.mjs +41 -0
  174. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list-item.mjs +17 -0
  175. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list.mjs +25 -0
  176. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/paragraph.mjs +6 -0
  177. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/root.mjs +10 -0
  178. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/strong.mjs +20 -0
  179. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/text.mjs +11 -0
  180. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/thematic-break.mjs +8 -0
  181. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-ordered.mjs +7 -0
  182. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-other.mjs +10 -0
  183. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet.mjs +7 -0
  184. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-emphasis.mjs +7 -0
  185. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-fence.mjs +7 -0
  186. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-list-item-indent.mjs +7 -0
  187. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-quote.mjs +7 -0
  188. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule-repetition.mjs +7 -0
  189. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule.mjs +7 -0
  190. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-strong.mjs +7 -0
  191. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/encode-character-reference.mjs +5 -0
  192. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-code-as-indented.mjs +5 -0
  193. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-heading-as-setext.mjs +10 -0
  194. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-link-as-autolink.mjs +7 -0
  195. package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/pattern-in-scope.mjs +11 -0
  196. package/dist/vendor/mdast-util-to-string@4.0.0/lib/index.mjs +23 -0
  197. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/attention.mjs +117 -0
  198. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/autolink.mjs +42 -0
  199. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/blank-line.mjs +17 -0
  200. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/block-quote.mjs +37 -0
  201. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-escape.mjs +16 -0
  202. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-reference.mjs +28 -0
  203. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-fenced.mjs +76 -0
  204. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-indented.mjs +36 -0
  205. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-text.mjs +42 -0
  206. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/content.mjs +46 -0
  207. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/definition.mjs +59 -0
  208. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/hard-break-escape.mjs +16 -0
  209. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/heading-atx.mjs +70 -0
  210. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-flow.mjs +128 -0
  211. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-text.mjs +99 -0
  212. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-end.mjs +160 -0
  213. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-image.mjs +21 -0
  214. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-link.mjs +18 -0
  215. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/line-ending.mjs +13 -0
  216. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/list.mjs +77 -0
  217. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/partial-non-lazy-continuation.mjs +16 -0
  218. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/setext-underline.mjs +59 -0
  219. package/dist/vendor/micromark-core-commonmark@2.0.4/lib/thematic-break.mjs +24 -0
  220. package/dist/vendor/micromark-extension-gfm-autolink-literal@2.1.0/lib/syntax.mjs +173 -0
  221. package/dist/vendor/micromark-extension-gfm-footnote@2.1.0/lib/syntax.mjs +192 -0
  222. package/dist/vendor/micromark-extension-gfm-strikethrough@2.1.0/lib/syntax.mjs +95 -0
  223. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/edit-map.mjs +40 -0
  224. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/infer.mjs +19 -0
  225. package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/syntax.mjs +200 -0
  226. package/dist/vendor/micromark-extension-gfm-task-list-item@2.1.0/lib/syntax.mjs +33 -0
  227. package/dist/vendor/micromark-extension-gfm@3.0.0/index.mjs +17 -0
  228. package/dist/vendor/micromark-factory-destination@2.0.1/index.mjs +25 -0
  229. package/dist/vendor/micromark-factory-label@2.0.1/index.mjs +21 -0
  230. package/dist/vendor/micromark-factory-space@2.1.0/index.mjs +26 -0
  231. package/dist/vendor/micromark-factory-title@2.0.1/index.mjs +23 -0
  232. package/dist/vendor/micromark-factory-whitespace@2.0.1/index.mjs +11 -0
  233. package/dist/vendor/micromark-util-character@2.1.1/index.mjs +23 -0
  234. package/dist/vendor/micromark-util-chunked@2.0.1/index.mjs +10 -0
  235. package/dist/vendor/micromark-util-classify-character@2.0.1/index.mjs +7 -0
  236. package/dist/vendor/micromark-util-combine-extensions@2.0.1/index.mjs +25 -0
  237. package/dist/vendor/micromark-util-decode-numeric-character-reference@2.0.2/index.mjs +6 -0
  238. package/dist/vendor/micromark-util-decode-string@2.0.1/index.mjs +16 -0
  239. package/dist/vendor/micromark-util-edit-map@1.0.0/index.mjs +41 -0
  240. package/dist/vendor/micromark-util-html-tag-name@2.0.1/index.mjs +8 -0
  241. package/dist/vendor/micromark-util-normalize-identifier@2.0.1/index.mjs +5 -0
  242. package/dist/vendor/micromark-util-resolve-all@2.0.1/index.mjs +10 -0
  243. package/dist/vendor/micromark-util-sanitize-uri@2.0.1/index.mjs +17 -0
  244. package/dist/vendor/micromark-util-subtokenize@2.1.0/index.mjs +34 -0
  245. package/dist/vendor/micromark-util-subtokenize@2.1.0/lib/splice-buffer.mjs +58 -0
  246. package/dist/vendor/micromark@4.0.3/lib/constructs.mjs +79 -0
  247. package/dist/vendor/micromark@4.0.3/lib/create-tokenizer.mjs +177 -0
  248. package/dist/vendor/micromark@4.0.3/lib/initialize/content.mjs +27 -0
  249. package/dist/vendor/micromark@4.0.3/lib/initialize/document.mjs +97 -0
  250. package/dist/vendor/micromark@4.0.3/lib/initialize/flow.mjs +18 -0
  251. package/dist/vendor/micromark@4.0.3/lib/initialize/text.mjs +83 -0
  252. package/dist/vendor/micromark@4.0.3/lib/parse.mjs +28 -0
  253. package/dist/vendor/micromark@4.0.3/lib/postprocess.mjs +7 -0
  254. package/dist/vendor/micromark@4.0.3/lib/preprocess.mjs +36 -0
  255. package/dist/vendor/property-information@7.2.0/index.mjs +25 -0
  256. package/dist/vendor/property-information@7.2.0/lib/aria.mjs +60 -0
  257. package/dist/vendor/property-information@7.2.0/lib/find.mjs +30 -0
  258. package/dist/vendor/property-information@7.2.0/lib/hast-to-react.mjs +21 -0
  259. package/dist/vendor/property-information@7.2.0/lib/html.mjs +325 -0
  260. package/dist/vendor/property-information@7.2.0/lib/normalize.mjs +5 -0
  261. package/dist/vendor/property-information@7.2.0/lib/svg.mjs +563 -0
  262. package/dist/vendor/property-information@7.2.0/lib/util/case-insensitive-transform.mjs +6 -0
  263. package/dist/vendor/property-information@7.2.0/lib/util/case-sensitive-transform.mjs +5 -0
  264. package/dist/vendor/property-information@7.2.0/lib/util/create.mjs +13 -0
  265. package/dist/vendor/property-information@7.2.0/lib/util/defined-info.mjs +17 -0
  266. package/dist/vendor/property-information@7.2.0/lib/util/info.mjs +8 -0
  267. package/dist/vendor/property-information@7.2.0/lib/util/merge.mjs +8 -0
  268. package/dist/vendor/property-information@7.2.0/lib/util/schema.mjs +8 -0
  269. package/dist/vendor/property-information@7.2.0/lib/util/types.mjs +15 -0
  270. package/dist/vendor/property-information@7.2.0/lib/xlink.mjs +18 -0
  271. package/dist/vendor/property-information@7.2.0/lib/xml.mjs +14 -0
  272. package/dist/vendor/property-information@7.2.0/lib/xmlns.mjs +13 -0
  273. package/dist/vendor/react-markdown@10.1.0/lib/index.mjs +139 -0
  274. package/dist/vendor/remark-gfm@4.0.1/lib/index.mjs +9 -0
  275. package/dist/vendor/remark-parse@11.0.0/lib/index.mjs +15 -0
  276. package/dist/vendor/remark-rehype@11.1.2/lib/index.mjs +17 -0
  277. package/dist/vendor/space-separated-tokens@2.0.2/index.mjs +5 -0
  278. package/dist/vendor/style-to-js@1.1.21/cjs/index.mjs +18 -0
  279. package/dist/vendor/style-to-js@1.1.21/cjs/utilities.mjs +17 -0
  280. package/dist/vendor/style-to-object@1.0.14/cjs/index.mjs +22 -0
  281. package/dist/vendor/trim-lines@3.0.1/index.mjs +18 -0
  282. package/dist/vendor/trough@2.2.0/lib/index.mjs +48 -0
  283. package/dist/vendor/unified@11.0.5/lib/callable-instance.mjs +8 -0
  284. package/dist/vendor/unified@11.0.5/lib/index.mjs +165 -0
  285. package/dist/vendor/unist-util-is@6.0.1/lib/index.mjs +46 -0
  286. package/dist/vendor/unist-util-position@5.0.0/lib/index.mjs +21 -0
  287. package/dist/vendor/unist-util-stringify-position@4.0.0/lib/index.mjs +14 -0
  288. package/dist/vendor/unist-util-visit-parents@6.1.0/lib/color.mjs +5 -0
  289. package/dist/vendor/unist-util-visit-parents@6.1.0/lib/index.mjs +52 -0
  290. package/dist/vendor/unist-util-visit@5.2.0/lib/index.mjs +19 -0
  291. package/dist/vendor/vfile-message@4.0.3/lib/index.mjs +23 -0
  292. package/dist/vendor/vfile@6.0.3/lib/index.mjs +88 -0
  293. package/dist/vendor/vfile@6.0.3/lib/minpath.browser.mjs +98 -0
  294. package/dist/vendor/vfile@6.0.3/lib/minproc.browser.mjs +6 -0
  295. package/dist/vendor/vfile@6.0.3/lib/minurl.browser.mjs +30 -0
  296. package/dist/vendor/vfile@6.0.3/lib/minurl.shared.mjs +5 -0
  297. package/package.json +7 -1
@@ -0,0 +1,606 @@
1
+ import { toString as e } from "../../mdast-util-to-string@4.0.0/lib/index.mjs";
2
+ import { parse as t } from "../../micromark@4.0.3/lib/parse.mjs";
3
+ import { postprocess as n } from "../../micromark@4.0.3/lib/postprocess.mjs";
4
+ import { preprocess as r } from "../../micromark@4.0.3/lib/preprocess.mjs";
5
+ import { decodeNumericCharacterReference as i } from "../../micromark-util-decode-numeric-character-reference@2.0.2/index.mjs";
6
+ import { decodeString as a } from "../../micromark-util-decode-string@2.0.1/index.mjs";
7
+ import { normalizeIdentifier as o } from "../../micromark-util-normalize-identifier@2.0.1/index.mjs";
8
+ import { decodeNamedCharacterReference as s } from "../../decode-named-character-reference@1.3.0/index.mjs";
9
+ import { stringifyPosition as c } from "../../unist-util-stringify-position@4.0.0/lib/index.mjs";
10
+ // ../../node_modules/.pnpm/mdast-util-from-markdown@2.1.0_supports-color@7.2.0/node_modules/mdast-util-from-markdown/lib/index.js
11
+ var l = {}.hasOwnProperty;
12
+ function u(e, i, a) {
13
+ return i && typeof i == "object" && (a = i, i = void 0), d(a)(n(t(a).document().write(r()(e, i, !0))));
14
+ }
15
+ function d(t) {
16
+ let n = {
17
+ afterExit: [],
18
+ beforeEnter: [],
19
+ transforms: [],
20
+ canContainEols: [
21
+ "emphasis",
22
+ "fragment",
23
+ "heading",
24
+ "paragraph",
25
+ "strong"
26
+ ],
27
+ enter: {
28
+ autolink: g(Q),
29
+ autolinkProtocol: O,
30
+ autolinkEmail: O,
31
+ atxHeading: g(Y),
32
+ blockQuote: g(ue),
33
+ characterEscape: O,
34
+ characterReference: O,
35
+ codeFenced: g(q),
36
+ codeFencedFenceInfo: _,
37
+ codeFencedFenceMeta: _,
38
+ codeIndented: g(q, _),
39
+ codeText: g(de, _),
40
+ codeTextData: O,
41
+ data: O,
42
+ codeFlowValue: O,
43
+ definition: g(fe),
44
+ definitionDestinationString: _,
45
+ definitionLabelString: _,
46
+ definitionTitleString: _,
47
+ emphasis: g(J),
48
+ hardBreakEscape: g(X),
49
+ hardBreakTrailing: g(X),
50
+ htmlFlow: g(Z, _),
51
+ htmlFlowData: O,
52
+ htmlText: g(Z, _),
53
+ htmlTextData: O,
54
+ image: g(pe),
55
+ label: _,
56
+ link: g(Q),
57
+ listItem: g(me),
58
+ listItemValue: C,
59
+ listOrdered: g($, S),
60
+ listUnordered: g($),
61
+ paragraph: g(he),
62
+ reference: H,
63
+ referenceString: _,
64
+ resourceDestinationString: _,
65
+ resourceTitleString: _,
66
+ setextHeading: g(Y),
67
+ strong: g(ge),
68
+ thematicBreak: g(ve)
69
+ },
70
+ exit: {
71
+ atxHeading: y(),
72
+ atxHeadingSequence: w,
73
+ autolink: y(),
74
+ autolinkEmail: le,
75
+ autolinkProtocol: ce,
76
+ blockQuote: y(),
77
+ characterEscapeValue: k,
78
+ characterReferenceMarkerHexadecimal: W,
79
+ characterReferenceMarkerNumeric: W,
80
+ characterReferenceValue: G,
81
+ characterReference: K,
82
+ codeFenced: y(re),
83
+ codeFencedFence: ne,
84
+ codeFencedFenceInfo: ee,
85
+ codeFencedFenceMeta: te,
86
+ codeFlowValue: k,
87
+ codeIndented: y(ie),
88
+ codeText: y(P),
89
+ codeTextData: k,
90
+ data: k,
91
+ definition: y(),
92
+ definitionDestinationString: se,
93
+ definitionLabelString: ae,
94
+ definitionTitleString: oe,
95
+ emphasis: y(),
96
+ hardBreakEscape: y(j),
97
+ hardBreakTrailing: y(j),
98
+ htmlFlow: y(M),
99
+ htmlFlowData: k,
100
+ htmlText: y(N),
101
+ htmlTextData: k,
102
+ image: y(I),
103
+ label: R,
104
+ labelText: L,
105
+ lineEnding: A,
106
+ link: y(F),
107
+ listItem: y(),
108
+ listOrdered: y(),
109
+ listUnordered: y(),
110
+ paragraph: y(),
111
+ referenceString: U,
112
+ resourceDestinationString: z,
113
+ resourceTitleString: B,
114
+ resource: V,
115
+ setextHeading: y(D),
116
+ setextHeadingLineSequence: E,
117
+ setextHeadingText: T,
118
+ strong: y(),
119
+ thematicBreak: y()
120
+ }
121
+ };
122
+ p(n, (t || {}).mdastExtensions || []);
123
+ let r = {};
124
+ return u;
125
+ function u(e) {
126
+ let t = {
127
+ type: "root",
128
+ children: [],
129
+ position: void 0
130
+ }, i = {
131
+ stack: [t],
132
+ tokenStack: [],
133
+ config: n,
134
+ enter: v,
135
+ exit: b,
136
+ buffer: _,
137
+ resume: x,
138
+ data: r
139
+ }, a = [], o = [], s = -1;
140
+ for (; ++s < e.length;) o.push(e[s]), (e[s][1].type === "listOrdered" || e[s][1].type === "listUnordered") && (e[s][0] === "enter" ? a.push(o.length - 1) : m(o, a.pop()));
141
+ for (e = o, s = -1; ++s < e.length;) {
142
+ let t = n[e[s][0]];
143
+ e[s][0] === "enter" && n.beforeEnter.length > 0 && d(n.beforeEnter, {
144
+ ...i,
145
+ sliceSerialize: e[s][2].sliceSerialize
146
+ }, e[s][1]), l.call(t, e[s][1].type) && t[e[s][1].type].call({
147
+ ...i,
148
+ sliceSerialize: e[s][2].sliceSerialize
149
+ }, e[s][1]), e[s][0] === "exit" && n.afterExit.length > 0 && d(n.afterExit, {
150
+ ...i,
151
+ sliceSerialize: e[s][2].sliceSerialize
152
+ }, e[s][1]);
153
+ }
154
+ if (i.tokenStack.length > 0) {
155
+ let e = i.tokenStack[i.tokenStack.length - 1];
156
+ (e[1] || h).call(i, void 0, e[0]);
157
+ }
158
+ for (t.position = {
159
+ start: f(e.length > 0 ? e[0][1].start : {
160
+ line: 1,
161
+ column: 1,
162
+ offset: 0
163
+ }),
164
+ end: f(e.length > 0 ? e[e.length - 2][1].end : {
165
+ line: 1,
166
+ column: 1,
167
+ offset: 0
168
+ })
169
+ }, s = -1; ++s < n.transforms.length;) t = n.transforms[s](t) || t;
170
+ return t;
171
+ }
172
+ function d(e, t, n) {
173
+ let r = -1;
174
+ for (; ++r < e.length;) e[r].call(t, n);
175
+ }
176
+ function m(e, t) {
177
+ let n = e.length - 1, r = t - 1, i = -1, a = !1, o, s, c, l, u = [];
178
+ for (; ++r <= n;) {
179
+ let t = e[r];
180
+ switch (t[1].type) {
181
+ case "listUnordered":
182
+ case "listOrdered":
183
+ case "blockQuote":
184
+ t[0] === "enter" ? i++ : i--, l = void 0;
185
+ break;
186
+ case "lineEndingBlank":
187
+ t[0] === "enter" && (o && !l && !i && !c && (c = r), l = void 0);
188
+ break;
189
+ case "linePrefix":
190
+ case "listItemValue":
191
+ case "listItemMarker":
192
+ case "listItemPrefix":
193
+ case "listItemPrefixWhitespace": break;
194
+ default: l = void 0;
195
+ }
196
+ if (!i && t[0] === "enter" && t[1].type === "listItemPrefix" || i === -1 && t[0] === "exit" && (t[1].type === "listUnordered" || t[1].type === "listOrdered")) {
197
+ if (o) {
198
+ let n = r;
199
+ for (s = void 0; n--;) {
200
+ let t = e[n];
201
+ if (t[1].type === "lineEnding" || t[1].type === "lineEndingBlank") {
202
+ if (t[0] === "exit") continue;
203
+ s && (e[s][1].type = "lineEndingBlank", a = !0), t[1].type = "lineEnding", s = n;
204
+ } else if (t[1].type !== "linePrefix" && t[1].type !== "blockQuotePrefix" && t[1].type !== "blockQuotePrefixWhitespace" && t[1].type !== "blockQuoteMarker" && t[1].type !== "listItemIndent") break;
205
+ }
206
+ c && (!s || c < s) && (o._spread = !0), o.end = Object.assign({}, s ? e[s][1].start : t[1].end), u.push({
207
+ at: s || r,
208
+ event: [
209
+ "exit",
210
+ o,
211
+ t[2]
212
+ ]
213
+ });
214
+ }
215
+ if (t[1].type === "listItemPrefix") {
216
+ let e = {
217
+ type: "listItem",
218
+ _spread: !1,
219
+ start: Object.assign({}, t[1].start),
220
+ end: void 0
221
+ };
222
+ o = e, u.push({
223
+ at: r,
224
+ event: [
225
+ "enter",
226
+ e,
227
+ t[2]
228
+ ]
229
+ }), c = void 0, l = !0;
230
+ }
231
+ }
232
+ }
233
+ let d = e.splice(t), f = 0;
234
+ for (r = -1; ++r < d.length;) {
235
+ for (; f < u.length && u[f].at === t + r;) e.push(u[f++].event);
236
+ e.push(d[r]);
237
+ }
238
+ e[t][1]._spread = a;
239
+ }
240
+ function g(e, t) {
241
+ return n;
242
+ function n(n) {
243
+ v.call(this, e(n), n), t && t.call(this, n);
244
+ }
245
+ }
246
+ function _() {
247
+ this.stack.push({
248
+ type: "fragment",
249
+ children: []
250
+ });
251
+ }
252
+ function v(e, t, n) {
253
+ this.stack[this.stack.length - 1].children.push(e), this.stack.push(e), this.tokenStack.push([t, n || void 0]), e.position = {
254
+ start: f(t.start),
255
+ end: void 0
256
+ };
257
+ }
258
+ function y(e) {
259
+ return t;
260
+ function t(t) {
261
+ e && e.call(this, t), b.call(this, t);
262
+ }
263
+ }
264
+ function b(e, t) {
265
+ let n = this.stack.pop(), r = this.tokenStack.pop();
266
+ if (!r) throw Error("Cannot close `" + e.type + "` (" + c({
267
+ start: e.start,
268
+ end: e.end
269
+ }) + "): it’s not open");
270
+ r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] || h).call(this, e, r[0])), n.position.end = f(e.end);
271
+ }
272
+ function x() {
273
+ return e(this.stack.pop());
274
+ }
275
+ function S() {
276
+ this.data.expectingFirstListItemValue = !0;
277
+ }
278
+ function C(e) {
279
+ if (this.data.expectingFirstListItemValue) {
280
+ let t = this.stack[this.stack.length - 2];
281
+ t.start = Number.parseInt(this.sliceSerialize(e), 10), this.data.expectingFirstListItemValue = void 0;
282
+ }
283
+ }
284
+ function ee() {
285
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
286
+ t.lang = e;
287
+ }
288
+ function te() {
289
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
290
+ t.meta = e;
291
+ }
292
+ function ne() {
293
+ this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
294
+ }
295
+ function re() {
296
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
297
+ t.value = e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
298
+ }
299
+ function ie() {
300
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
301
+ t.value = e.replace(/(\r?\n|\r)$/g, "");
302
+ }
303
+ function ae(e) {
304
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
305
+ n.label = t, n.identifier = o(this.sliceSerialize(e)).toLowerCase();
306
+ }
307
+ function oe() {
308
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
309
+ t.title = e;
310
+ }
311
+ function se() {
312
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
313
+ t.url = e;
314
+ }
315
+ function w(e) {
316
+ let t = this.stack[this.stack.length - 1];
317
+ t.depth ||= this.sliceSerialize(e).length;
318
+ }
319
+ function T() {
320
+ this.data.setextHeadingSlurpLineEnding = !0;
321
+ }
322
+ function E(e) {
323
+ let t = this.stack[this.stack.length - 1];
324
+ t.depth = this.sliceSerialize(e).codePointAt(0) === 61 ? 1 : 2;
325
+ }
326
+ function D() {
327
+ this.data.setextHeadingSlurpLineEnding = void 0;
328
+ }
329
+ function O(e) {
330
+ let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
331
+ n && n.type === "text" || (n = _e(), n.position = {
332
+ start: f(e.start),
333
+ end: void 0
334
+ }, t.push(n)), this.stack.push(n);
335
+ }
336
+ function k(e) {
337
+ let t = this.stack.pop();
338
+ t.value += this.sliceSerialize(e), t.position.end = f(e.end);
339
+ }
340
+ function A(e) {
341
+ let t = this.stack[this.stack.length - 1];
342
+ if (this.data.atHardBreak) {
343
+ let n = t.children[t.children.length - 1];
344
+ n.position.end = f(e.end), this.data.atHardBreak = void 0;
345
+ } else !this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(t.type) && (O.call(this, e), k.call(this, e));
346
+ }
347
+ function j() {
348
+ this.data.atHardBreak = !0;
349
+ }
350
+ function M() {
351
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
352
+ t.value = e;
353
+ }
354
+ function N() {
355
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
356
+ t.value = e;
357
+ }
358
+ function P() {
359
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
360
+ t.value = e;
361
+ }
362
+ function F() {
363
+ let e = this.stack[this.stack.length - 1];
364
+ if (this.data.inReference) {
365
+ let t = this.data.referenceType || "shortcut";
366
+ e.type += "Reference", e.referenceType = t, delete e.url, delete e.title;
367
+ } else delete e.identifier, delete e.label;
368
+ this.data.referenceType = void 0;
369
+ }
370
+ function I() {
371
+ let e = this.stack[this.stack.length - 1];
372
+ if (this.data.inReference) {
373
+ let t = this.data.referenceType || "shortcut";
374
+ e.type += "Reference", e.referenceType = t, delete e.url, delete e.title;
375
+ } else delete e.identifier, delete e.label;
376
+ this.data.referenceType = void 0;
377
+ }
378
+ function L(e) {
379
+ let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
380
+ n.label = a(t), n.identifier = o(t).toLowerCase();
381
+ }
382
+ function R() {
383
+ let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
384
+ this.data.inReference = !0, n.type === "link" ? n.children = e.children : n.alt = t;
385
+ }
386
+ function z() {
387
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
388
+ t.url = e;
389
+ }
390
+ function B() {
391
+ let e = this.resume(), t = this.stack[this.stack.length - 1];
392
+ t.title = e;
393
+ }
394
+ function V() {
395
+ this.data.inReference = void 0;
396
+ }
397
+ function H() {
398
+ this.data.referenceType = "collapsed";
399
+ }
400
+ function U(e) {
401
+ let t = this.resume(), n = this.stack[this.stack.length - 1];
402
+ n.label = t, n.identifier = o(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
403
+ }
404
+ function W(e) {
405
+ this.data.characterReferenceType = e.type;
406
+ }
407
+ function G(e) {
408
+ let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
409
+ n ? (r = i(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = s(t);
410
+ let a = this.stack[this.stack.length - 1];
411
+ a.value += r;
412
+ }
413
+ function K(e) {
414
+ let t = this.stack.pop();
415
+ t.position.end = f(e.end);
416
+ }
417
+ function ce(e) {
418
+ k.call(this, e);
419
+ let t = this.stack[this.stack.length - 1];
420
+ t.url = this.sliceSerialize(e);
421
+ }
422
+ function le(e) {
423
+ k.call(this, e);
424
+ let t = this.stack[this.stack.length - 1];
425
+ t.url = "mailto:" + this.sliceSerialize(e);
426
+ }
427
+ function ue() {
428
+ return {
429
+ type: "blockquote",
430
+ children: [],
431
+ position: void 0
432
+ };
433
+ }
434
+ function q() {
435
+ return {
436
+ type: "code",
437
+ lang: null,
438
+ meta: null,
439
+ value: "",
440
+ position: void 0
441
+ };
442
+ }
443
+ function de() {
444
+ return {
445
+ type: "inlineCode",
446
+ value: "",
447
+ position: void 0
448
+ };
449
+ }
450
+ function fe() {
451
+ return {
452
+ type: "definition",
453
+ identifier: "",
454
+ label: null,
455
+ title: null,
456
+ url: "",
457
+ position: void 0
458
+ };
459
+ }
460
+ function J() {
461
+ return {
462
+ type: "emphasis",
463
+ children: [],
464
+ position: void 0
465
+ };
466
+ }
467
+ function Y() {
468
+ return {
469
+ type: "heading",
470
+ depth: 0,
471
+ children: [],
472
+ position: void 0
473
+ };
474
+ }
475
+ function X() {
476
+ return {
477
+ type: "break",
478
+ position: void 0
479
+ };
480
+ }
481
+ function Z() {
482
+ return {
483
+ type: "html",
484
+ value: "",
485
+ position: void 0
486
+ };
487
+ }
488
+ function pe() {
489
+ return {
490
+ type: "image",
491
+ title: null,
492
+ url: "",
493
+ alt: null,
494
+ position: void 0
495
+ };
496
+ }
497
+ function Q() {
498
+ return {
499
+ type: "link",
500
+ title: null,
501
+ url: "",
502
+ children: [],
503
+ position: void 0
504
+ };
505
+ }
506
+ function $(e) {
507
+ return {
508
+ type: "list",
509
+ ordered: e.type === "listOrdered",
510
+ start: null,
511
+ spread: e._spread,
512
+ children: [],
513
+ position: void 0
514
+ };
515
+ }
516
+ function me(e) {
517
+ return {
518
+ type: "listItem",
519
+ spread: e._spread,
520
+ checked: null,
521
+ children: [],
522
+ position: void 0
523
+ };
524
+ }
525
+ function he() {
526
+ return {
527
+ type: "paragraph",
528
+ children: [],
529
+ position: void 0
530
+ };
531
+ }
532
+ function ge() {
533
+ return {
534
+ type: "strong",
535
+ children: [],
536
+ position: void 0
537
+ };
538
+ }
539
+ function _e() {
540
+ return {
541
+ type: "text",
542
+ value: "",
543
+ position: void 0
544
+ };
545
+ }
546
+ function ve() {
547
+ return {
548
+ type: "thematicBreak",
549
+ position: void 0
550
+ };
551
+ }
552
+ }
553
+ function f(e) {
554
+ return {
555
+ line: e.line,
556
+ column: e.column,
557
+ offset: e.offset
558
+ };
559
+ }
560
+ function p(e, t) {
561
+ let n = -1;
562
+ for (; ++n < t.length;) {
563
+ let r = t[n];
564
+ Array.isArray(r) ? p(e, r) : m(e, r);
565
+ }
566
+ }
567
+ function m(e, t) {
568
+ let n;
569
+ for (n in t) if (l.call(t, n)) switch (n) {
570
+ case "canContainEols": {
571
+ let r = t[n];
572
+ r && e[n].push(...r);
573
+ break;
574
+ }
575
+ case "transforms": {
576
+ let r = t[n];
577
+ r && e[n].push(...r);
578
+ break;
579
+ }
580
+ case "afterExit":
581
+ case "beforeEnter": {
582
+ let r = t[n];
583
+ r && e[n].push(r);
584
+ break;
585
+ }
586
+ case "enter":
587
+ case "exit": {
588
+ let r = t[n];
589
+ r && Object.assign(e[n], r);
590
+ break;
591
+ }
592
+ }
593
+ }
594
+ function h(e, t) {
595
+ throw Error(e ? "Cannot close `" + e.type + "` (" + c({
596
+ start: e.start,
597
+ end: e.end
598
+ }) + "): a different token (`" + t.type + "`, " + c({
599
+ start: t.start,
600
+ end: t.end
601
+ }) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " + c({
602
+ start: t.start,
603
+ end: t.end
604
+ }) + ") is still open");
605
+ }
606
+ export { u as fromMarkdown };