@jonmilner/ui 0.23.2 → 0.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +4 -0
- package/dist/Alert/Alert.css +1 -1
- package/dist/Alert/Alert.css.mjs +3 -3
- package/dist/Avatar/Avatar.css +1 -1
- package/dist/Avatar/Avatar.css.mjs +2 -2
- package/dist/Badge/Badge.css +1 -1
- package/dist/Badge/Badge.css.mjs +2 -2
- package/dist/Box/Box.css +1 -1
- package/dist/Box/Box.css.mjs +2 -2
- package/dist/Button/Button.css +1 -1
- package/dist/Button/Button.css.mjs +2 -2
- package/dist/Checkbox/Checkbox.css +1 -1
- package/dist/Checkbox/Checkbox.css.mjs +2 -2
- package/dist/Chip/Chip.css +1 -1
- package/dist/Chip/Chip.css.mjs +2 -2
- package/dist/Clickable/Clickable.css +1 -1
- package/dist/Clickable/Clickable.css.mjs +2 -2
- package/dist/Code/Code.css +1 -1
- package/dist/Code/Code.css.mjs +2 -2
- package/dist/ColorField/ColorField.css +1 -1
- package/dist/ColorField/ColorField.css.mjs +1 -1
- package/dist/Combobox/Combobox.css +1 -1
- package/dist/Combobox/Combobox.css.mjs +2 -2
- package/dist/Dialog/Dialog.css +1 -1
- package/dist/Dialog/Dialog.css.mjs +2 -2
- package/dist/Field/Field.css +1 -1
- package/dist/Field/Field.css.mjs +2 -2
- package/dist/Heading/Heading.css +1 -1
- package/dist/Heading/Heading.css.mjs +2 -2
- package/dist/Icon/Icon.css +1 -1
- package/dist/Icon/Icon.css.mjs +2 -2
- package/dist/IconButton/IconButton.css +1 -1
- package/dist/IconButton/IconButton.css.mjs +1 -1
- package/dist/Inline/Inline.css +1 -1
- package/dist/Inline/Inline.css.mjs +2 -2
- package/dist/Markdown/Markdown.css +2 -0
- package/dist/Markdown/Markdown.css.mjs +7 -0
- package/dist/Markdown/index.d.mts +26 -0
- package/dist/Markdown/index.mjs +251 -0
- package/dist/Menu/Menu.css +1 -1
- package/dist/Menu/Menu.css.mjs +2 -2
- package/dist/MultiSelect/MultiSelect.css +1 -1
- package/dist/MultiSelect/MultiSelect.css.mjs +2 -2
- package/dist/NavList/NavList.css +1 -1
- package/dist/NavList/NavList.css.mjs +3 -3
- package/dist/NumberField/NumberField.css +1 -1
- package/dist/NumberField/NumberField.css.mjs +2 -2
- package/dist/Popover/Popover.css +1 -1
- package/dist/Popover/Popover.css.mjs +2 -2
- package/dist/RadioGroup/RadioGroup.css +1 -1
- package/dist/RadioGroup/RadioGroup.css.mjs +1 -1
- package/dist/SearchField/SearchField.css +1 -1
- package/dist/SearchField/SearchField.css.mjs +2 -2
- package/dist/Select/Select.css +1 -1
- package/dist/Select/Select.css.mjs +2 -2
- package/dist/Sidebar/Sidebar.css +1 -1
- package/dist/Sidebar/Sidebar.css.mjs +3 -3
- package/dist/SidebarLayout/SidebarLayout.css +1 -1
- package/dist/SidebarLayout/SidebarLayout.css.mjs +3 -3
- package/dist/Stack/Stack.css +1 -1
- package/dist/Stack/Stack.css.mjs +2 -2
- package/dist/Switch/Switch.css +1 -1
- package/dist/Switch/Switch.css.mjs +2 -2
- package/dist/Table/Table.css +1 -1
- package/dist/Table/Table.css.mjs +3 -3
- package/dist/Tabs/Tabs.css +1 -1
- package/dist/Tabs/Tabs.css.mjs +2 -2
- package/dist/Tag/Tag.css +1 -1
- package/dist/Tag/Tag.css.mjs +2 -2
- package/dist/Text/Text.css +1 -1
- package/dist/Text/Text.css.mjs +2 -2
- package/dist/TextField/TextField.css +1 -1
- package/dist/TextField/TextField.css.mjs +2 -2
- package/dist/Textarea/Textarea.css +1 -1
- package/dist/Textarea/Textarea.css.mjs +2 -2
- package/dist/Toast/Toast.css +1 -1
- package/dist/Toast/Toast.css.mjs +3 -3
- package/dist/Tooltip/Tooltip.css +1 -1
- package/dist/Tooltip/Tooltip.css.mjs +2 -2
- package/dist/VisuallyHidden/VisuallyHidden.css +1 -1
- package/dist/VisuallyHidden/VisuallyHidden.css.mjs +2 -2
- package/dist/_virtual/_rolldown/runtime.mjs +19 -0
- package/dist/base.css +1 -1
- package/dist/docs/Markdown.md +86 -0
- package/dist/docs/llms.txt +1 -0
- package/dist/docs/manifest.json +35 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +26 -25
- package/dist/lint/index.mjs +1 -0
- package/dist/styles/atoms.css +1 -1
- package/dist/styles/atoms.css.mjs +2 -2
- package/dist/styles/layers.css +1 -1
- package/dist/styles/responsive.css +1 -1
- package/dist/styles/responsive.css.mjs +2 -2
- package/dist/styles/scroll-region.css +1 -1
- package/dist/styles/scroll-region.css.mjs +2 -2
- package/dist/styles/status-message.css +1 -1
- package/dist/styles/status-message.css.mjs +2 -2
- package/dist/vendor/@ungap/structured-clone@1.4.0/esm/deserialize.mjs +69 -0
- package/dist/vendor/@ungap/structured-clone@1.4.0/esm/index.mjs +7 -0
- package/dist/vendor/@ungap/structured-clone@1.4.0/esm/serialize.mjs +93 -0
- package/dist/vendor/LICENSES.md +1896 -0
- package/dist/vendor/bail@2.0.2/index.mjs +5 -0
- package/dist/vendor/ccount@2.0.1/index.mjs +9 -0
- package/dist/vendor/character-entities@2.0.2/index.mjs +2129 -0
- package/dist/vendor/comma-separated-tokens@2.0.3/index.mjs +6 -0
- package/dist/vendor/decode-named-character-reference@1.3.0/index.mjs +7 -0
- package/dist/vendor/devlop@1.1.0/lib/default.mjs +4 -0
- package/dist/vendor/escape-string-regexp@5.0.0/index.mjs +6 -0
- package/dist/vendor/estree-util-is-identifier-name@3.0.0/lib/index.mjs +6 -0
- package/dist/vendor/extend@3.0.2/index.mjs +39 -0
- package/dist/vendor/hast-util-to-jsx-runtime@2.3.6/lib/index.mjs +254 -0
- package/dist/vendor/hast-util-whitespace@3.0.0/lib/index.mjs +9 -0
- package/dist/vendor/html-url-attributes@3.0.1/lib/index.mjs +35 -0
- package/dist/vendor/inline-style-parser@0.2.7/cjs/index.mjs +89 -0
- package/dist/vendor/is-plain-obj@4.1.0/index.mjs +7 -0
- package/dist/vendor/longest-streak@3.1.0/index.mjs +8 -0
- package/dist/vendor/markdown-table@3.0.4/index.mjs +58 -0
- package/dist/vendor/mdast-util-find-and-replace@3.0.4/lib/index.mjs +64 -0
- package/dist/vendor/mdast-util-from-markdown@2.1.0/lib/index.mjs +606 -0
- package/dist/vendor/mdast-util-gfm-autolink-literal@2.0.1/lib/index.mjs +128 -0
- package/dist/vendor/mdast-util-gfm-footnote@2.1.0/lib/index.mjs +96 -0
- package/dist/vendor/mdast-util-gfm-strikethrough@2.0.1/lib/index.mjs +56 -0
- package/dist/vendor/mdast-util-gfm-table@2.0.0/lib/index.mjs +136 -0
- package/dist/vendor/mdast-util-gfm-task-list-item@2.0.0/lib/index.mjs +57 -0
- package/dist/vendor/mdast-util-gfm@3.1.0/lib/index.mjs +25 -0
- package/dist/vendor/mdast-util-phrasing@4.1.0/lib/index.mjs +21 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/footer.mjs +102 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/blockquote.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/break.mjs +14 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/code.mjs +21 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/delete.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/emphasis.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/footnote-reference.mjs +29 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/heading.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/html.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image-reference.mjs +20 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/image.mjs +14 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/index.mjs +55 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/inline-code.mjs +16 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link-reference.mjs +17 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/link.mjs +14 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list-item.mjs +58 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/list.mjs +19 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/paragraph.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/root.mjs +9 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/strong.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-cell.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table-row.mjs +23 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/table.mjs +34 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/text.mjs +10 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/handlers/thematic-break.mjs +11 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/index.mjs +18 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/revert.mjs +19 -0
- package/dist/vendor/mdast-util-to-hast@13.2.1/lib/state.mjs +107 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/blockquote.mjs +11 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/break.mjs +11 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/code.mjs +35 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/definition.mjs +23 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/emphasis.mjs +20 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/heading.mjs +23 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/html.mjs +9 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image-reference.mjs +24 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/image.mjs +27 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/index.mjs +43 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/inline-code.mjs +20 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link-reference.mjs +24 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/link.mjs +41 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list-item.mjs +17 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/list.mjs +25 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/paragraph.mjs +6 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/root.mjs +10 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/strong.mjs +20 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/text.mjs +11 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/handle/thematic-break.mjs +8 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-ordered.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet-other.mjs +10 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-bullet.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-emphasis.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-fence.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-list-item-indent.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-quote.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule-repetition.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-rule.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/check-strong.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/encode-character-reference.mjs +5 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-code-as-indented.mjs +5 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-heading-as-setext.mjs +10 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/format-link-as-autolink.mjs +7 -0
- package/dist/vendor/mdast-util-to-markdown@2.2.0/lib/util/pattern-in-scope.mjs +11 -0
- package/dist/vendor/mdast-util-to-string@4.0.0/lib/index.mjs +23 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/attention.mjs +117 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/autolink.mjs +42 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/blank-line.mjs +17 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/block-quote.mjs +37 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-escape.mjs +16 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/character-reference.mjs +28 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-fenced.mjs +76 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-indented.mjs +36 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/code-text.mjs +42 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/content.mjs +46 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/definition.mjs +59 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/hard-break-escape.mjs +16 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/heading-atx.mjs +70 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-flow.mjs +128 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/html-text.mjs +99 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-end.mjs +160 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-image.mjs +21 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/label-start-link.mjs +18 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/line-ending.mjs +13 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/list.mjs +77 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/partial-non-lazy-continuation.mjs +16 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/setext-underline.mjs +59 -0
- package/dist/vendor/micromark-core-commonmark@2.0.4/lib/thematic-break.mjs +24 -0
- package/dist/vendor/micromark-extension-gfm-autolink-literal@2.1.0/lib/syntax.mjs +173 -0
- package/dist/vendor/micromark-extension-gfm-footnote@2.1.0/lib/syntax.mjs +192 -0
- package/dist/vendor/micromark-extension-gfm-strikethrough@2.1.0/lib/syntax.mjs +95 -0
- package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/edit-map.mjs +40 -0
- package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/infer.mjs +19 -0
- package/dist/vendor/micromark-extension-gfm-table@2.1.2/lib/syntax.mjs +200 -0
- package/dist/vendor/micromark-extension-gfm-task-list-item@2.1.0/lib/syntax.mjs +33 -0
- package/dist/vendor/micromark-extension-gfm@3.0.0/index.mjs +17 -0
- package/dist/vendor/micromark-factory-destination@2.0.1/index.mjs +25 -0
- package/dist/vendor/micromark-factory-label@2.0.1/index.mjs +21 -0
- package/dist/vendor/micromark-factory-space@2.1.0/index.mjs +26 -0
- package/dist/vendor/micromark-factory-title@2.0.1/index.mjs +23 -0
- package/dist/vendor/micromark-factory-whitespace@2.0.1/index.mjs +11 -0
- package/dist/vendor/micromark-util-character@2.1.1/index.mjs +23 -0
- package/dist/vendor/micromark-util-chunked@2.0.1/index.mjs +10 -0
- package/dist/vendor/micromark-util-classify-character@2.0.1/index.mjs +7 -0
- package/dist/vendor/micromark-util-combine-extensions@2.0.1/index.mjs +25 -0
- package/dist/vendor/micromark-util-decode-numeric-character-reference@2.0.2/index.mjs +6 -0
- package/dist/vendor/micromark-util-decode-string@2.0.1/index.mjs +16 -0
- package/dist/vendor/micromark-util-edit-map@1.0.0/index.mjs +41 -0
- package/dist/vendor/micromark-util-html-tag-name@2.0.1/index.mjs +8 -0
- package/dist/vendor/micromark-util-normalize-identifier@2.0.1/index.mjs +5 -0
- package/dist/vendor/micromark-util-resolve-all@2.0.1/index.mjs +10 -0
- package/dist/vendor/micromark-util-sanitize-uri@2.0.1/index.mjs +17 -0
- package/dist/vendor/micromark-util-subtokenize@2.1.0/index.mjs +34 -0
- package/dist/vendor/micromark-util-subtokenize@2.1.0/lib/splice-buffer.mjs +58 -0
- package/dist/vendor/micromark@4.0.3/lib/constructs.mjs +79 -0
- package/dist/vendor/micromark@4.0.3/lib/create-tokenizer.mjs +177 -0
- package/dist/vendor/micromark@4.0.3/lib/initialize/content.mjs +27 -0
- package/dist/vendor/micromark@4.0.3/lib/initialize/document.mjs +97 -0
- package/dist/vendor/micromark@4.0.3/lib/initialize/flow.mjs +18 -0
- package/dist/vendor/micromark@4.0.3/lib/initialize/text.mjs +83 -0
- package/dist/vendor/micromark@4.0.3/lib/parse.mjs +28 -0
- package/dist/vendor/micromark@4.0.3/lib/postprocess.mjs +7 -0
- package/dist/vendor/micromark@4.0.3/lib/preprocess.mjs +36 -0
- package/dist/vendor/property-information@7.2.0/index.mjs +25 -0
- package/dist/vendor/property-information@7.2.0/lib/aria.mjs +60 -0
- package/dist/vendor/property-information@7.2.0/lib/find.mjs +30 -0
- package/dist/vendor/property-information@7.2.0/lib/hast-to-react.mjs +21 -0
- package/dist/vendor/property-information@7.2.0/lib/html.mjs +325 -0
- package/dist/vendor/property-information@7.2.0/lib/normalize.mjs +5 -0
- package/dist/vendor/property-information@7.2.0/lib/svg.mjs +563 -0
- package/dist/vendor/property-information@7.2.0/lib/util/case-insensitive-transform.mjs +6 -0
- package/dist/vendor/property-information@7.2.0/lib/util/case-sensitive-transform.mjs +5 -0
- package/dist/vendor/property-information@7.2.0/lib/util/create.mjs +13 -0
- package/dist/vendor/property-information@7.2.0/lib/util/defined-info.mjs +17 -0
- package/dist/vendor/property-information@7.2.0/lib/util/info.mjs +8 -0
- package/dist/vendor/property-information@7.2.0/lib/util/merge.mjs +8 -0
- package/dist/vendor/property-information@7.2.0/lib/util/schema.mjs +8 -0
- package/dist/vendor/property-information@7.2.0/lib/util/types.mjs +15 -0
- package/dist/vendor/property-information@7.2.0/lib/xlink.mjs +18 -0
- package/dist/vendor/property-information@7.2.0/lib/xml.mjs +14 -0
- package/dist/vendor/property-information@7.2.0/lib/xmlns.mjs +13 -0
- package/dist/vendor/react-markdown@10.1.0/lib/index.mjs +139 -0
- package/dist/vendor/remark-gfm@4.0.1/lib/index.mjs +9 -0
- package/dist/vendor/remark-parse@11.0.0/lib/index.mjs +15 -0
- package/dist/vendor/remark-rehype@11.1.2/lib/index.mjs +17 -0
- package/dist/vendor/space-separated-tokens@2.0.2/index.mjs +5 -0
- package/dist/vendor/style-to-js@1.1.21/cjs/index.mjs +18 -0
- package/dist/vendor/style-to-js@1.1.21/cjs/utilities.mjs +17 -0
- package/dist/vendor/style-to-object@1.0.14/cjs/index.mjs +22 -0
- package/dist/vendor/trim-lines@3.0.1/index.mjs +18 -0
- package/dist/vendor/trough@2.2.0/lib/index.mjs +48 -0
- package/dist/vendor/unified@11.0.5/lib/callable-instance.mjs +8 -0
- package/dist/vendor/unified@11.0.5/lib/index.mjs +165 -0
- package/dist/vendor/unist-util-is@6.0.1/lib/index.mjs +46 -0
- package/dist/vendor/unist-util-position@5.0.0/lib/index.mjs +21 -0
- package/dist/vendor/unist-util-stringify-position@4.0.0/lib/index.mjs +14 -0
- package/dist/vendor/unist-util-visit-parents@6.1.0/lib/color.mjs +5 -0
- package/dist/vendor/unist-util-visit-parents@6.1.0/lib/index.mjs +52 -0
- package/dist/vendor/unist-util-visit@5.2.0/lib/index.mjs +19 -0
- package/dist/vendor/vfile-message@4.0.3/lib/index.mjs +23 -0
- package/dist/vendor/vfile@6.0.3/lib/index.mjs +88 -0
- package/dist/vendor/vfile@6.0.3/lib/minpath.browser.mjs +98 -0
- package/dist/vendor/vfile@6.0.3/lib/minproc.browser.mjs +6 -0
- package/dist/vendor/vfile@6.0.3/lib/minurl.browser.mjs +30 -0
- package/dist/vendor/vfile@6.0.3/lib/minurl.shared.mjs +5 -0
- package/package.json +7 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { asciiAlpha as t, asciiAlphanumeric as n, markdownLineEnding as r, markdownLineEndingOrSpace as i, markdownSpace as a } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/html-text.js
|
|
4
|
+
var o = {
|
|
5
|
+
name: "htmlText",
|
|
6
|
+
tokenize: s
|
|
7
|
+
};
|
|
8
|
+
function s(o, s, c) {
|
|
9
|
+
let l = this, u, d, f;
|
|
10
|
+
return p;
|
|
11
|
+
function p(e) {
|
|
12
|
+
return o.enter("htmlText"), o.enter("htmlTextData"), o.consume(e), m;
|
|
13
|
+
}
|
|
14
|
+
function m(e) {
|
|
15
|
+
return e === 33 ? (o.consume(e), h) : e === 47 ? (o.consume(e), D) : e === 63 ? (o.consume(e), T) : t(e) ? (o.consume(e), A) : c(e);
|
|
16
|
+
}
|
|
17
|
+
function h(e) {
|
|
18
|
+
return e === 45 ? (o.consume(e), g) : e === 91 ? (o.consume(e), d = 0, b) : t(e) ? (o.consume(e), w) : c(e);
|
|
19
|
+
}
|
|
20
|
+
function g(e) {
|
|
21
|
+
return e === 45 ? (o.consume(e), y) : c(e);
|
|
22
|
+
}
|
|
23
|
+
function _(e) {
|
|
24
|
+
return e === null ? c(e) : e === 45 ? (o.consume(e), v) : r(e) ? (f = _, z(e)) : (o.consume(e), _);
|
|
25
|
+
}
|
|
26
|
+
function v(e) {
|
|
27
|
+
return e === 45 ? (o.consume(e), y) : _(e);
|
|
28
|
+
}
|
|
29
|
+
function y(e) {
|
|
30
|
+
return e === 62 ? R(e) : e === 45 ? v(e) : _(e);
|
|
31
|
+
}
|
|
32
|
+
function b(e) {
|
|
33
|
+
return e === "CDATA[".charCodeAt(d++) ? (o.consume(e), d === 6 ? x : b) : c(e);
|
|
34
|
+
}
|
|
35
|
+
function x(e) {
|
|
36
|
+
return e === null ? c(e) : e === 93 ? (o.consume(e), S) : r(e) ? (f = x, z(e)) : (o.consume(e), x);
|
|
37
|
+
}
|
|
38
|
+
function S(e) {
|
|
39
|
+
return e === 93 ? (o.consume(e), C) : x(e);
|
|
40
|
+
}
|
|
41
|
+
function C(e) {
|
|
42
|
+
return e === 62 ? R(e) : e === 93 ? (o.consume(e), C) : x(e);
|
|
43
|
+
}
|
|
44
|
+
function w(e) {
|
|
45
|
+
return e === null || e === 62 ? R(e) : r(e) ? (f = w, z(e)) : (o.consume(e), w);
|
|
46
|
+
}
|
|
47
|
+
function T(e) {
|
|
48
|
+
return e === null ? c(e) : e === 63 ? (o.consume(e), E) : r(e) ? (f = T, z(e)) : (o.consume(e), T);
|
|
49
|
+
}
|
|
50
|
+
function E(e) {
|
|
51
|
+
return e === 62 ? R(e) : T(e);
|
|
52
|
+
}
|
|
53
|
+
function D(e) {
|
|
54
|
+
return t(e) ? (o.consume(e), O) : c(e);
|
|
55
|
+
}
|
|
56
|
+
function O(e) {
|
|
57
|
+
return e === 45 || n(e) ? (o.consume(e), O) : k(e);
|
|
58
|
+
}
|
|
59
|
+
function k(e) {
|
|
60
|
+
return r(e) ? (f = k, z(e)) : a(e) ? (o.consume(e), k) : R(e);
|
|
61
|
+
}
|
|
62
|
+
function A(e) {
|
|
63
|
+
return e === 45 || n(e) ? (o.consume(e), A) : e === 47 || e === 62 || i(e) ? j(e) : c(e);
|
|
64
|
+
}
|
|
65
|
+
function j(e) {
|
|
66
|
+
return e === 47 ? (o.consume(e), R) : e === 58 || e === 95 || t(e) ? (o.consume(e), M) : r(e) ? (f = j, z(e)) : a(e) ? (o.consume(e), j) : R(e);
|
|
67
|
+
}
|
|
68
|
+
function M(e) {
|
|
69
|
+
return e === 45 || e === 46 || e === 58 || e === 95 || n(e) ? (o.consume(e), M) : N(e);
|
|
70
|
+
}
|
|
71
|
+
function N(e) {
|
|
72
|
+
return e === 61 ? (o.consume(e), P) : r(e) ? (f = N, z(e)) : a(e) ? (o.consume(e), N) : j(e);
|
|
73
|
+
}
|
|
74
|
+
function P(e) {
|
|
75
|
+
return e === null || e === 60 || e === 61 || e === 62 || e === 96 ? c(e) : e === 34 || e === 39 ? (o.consume(e), u = e, F) : r(e) ? (f = P, z(e)) : a(e) ? (o.consume(e), P) : (o.consume(e), I);
|
|
76
|
+
}
|
|
77
|
+
function F(e) {
|
|
78
|
+
return e === u ? (o.consume(e), u = void 0, L) : e === null ? c(e) : r(e) ? (f = F, z(e)) : (o.consume(e), F);
|
|
79
|
+
}
|
|
80
|
+
function I(e) {
|
|
81
|
+
return e === null || e === 34 || e === 39 || e === 60 || e === 61 || e === 96 ? c(e) : e === 47 || e === 62 || i(e) ? j(e) : (o.consume(e), I);
|
|
82
|
+
}
|
|
83
|
+
function L(e) {
|
|
84
|
+
return e === 47 || e === 62 || i(e) ? j(e) : c(e);
|
|
85
|
+
}
|
|
86
|
+
function R(e) {
|
|
87
|
+
return e === 62 ? (o.consume(e), o.exit("htmlTextData"), o.exit("htmlText"), s) : c(e);
|
|
88
|
+
}
|
|
89
|
+
function z(e) {
|
|
90
|
+
return o.exit("htmlTextData"), o.enter("lineEnding"), o.consume(e), o.exit("lineEnding"), B;
|
|
91
|
+
}
|
|
92
|
+
function B(t) {
|
|
93
|
+
return a(t) ? e(o, V, "linePrefix", l.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : V(t);
|
|
94
|
+
}
|
|
95
|
+
function V(e) {
|
|
96
|
+
return o.enter("htmlTextData"), f(e);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export { o as htmlText };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { factoryDestination as e } from "../../micromark-factory-destination@2.0.1/index.mjs";
|
|
2
|
+
import { factoryLabel as t } from "../../micromark-factory-label@2.0.1/index.mjs";
|
|
3
|
+
import { factoryTitle as n } from "../../micromark-factory-title@2.0.1/index.mjs";
|
|
4
|
+
import { factoryWhitespace as r } from "../../micromark-factory-whitespace@2.0.1/index.mjs";
|
|
5
|
+
import { markdownLineEndingOrSpace as i } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
6
|
+
import { push as a, splice as o } from "../../micromark-util-chunked@2.0.1/index.mjs";
|
|
7
|
+
import { normalizeIdentifier as s } from "../../micromark-util-normalize-identifier@2.0.1/index.mjs";
|
|
8
|
+
import { resolveAll as c } from "../../micromark-util-resolve-all@2.0.1/index.mjs";
|
|
9
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-end.js
|
|
10
|
+
var l = {
|
|
11
|
+
name: "labelEnd",
|
|
12
|
+
resolveAll: p,
|
|
13
|
+
resolveTo: m,
|
|
14
|
+
tokenize: h
|
|
15
|
+
}, u = { tokenize: g }, d = { tokenize: _ }, f = { tokenize: v };
|
|
16
|
+
function p(e) {
|
|
17
|
+
let t = -1, n = [];
|
|
18
|
+
for (; ++t < e.length;) {
|
|
19
|
+
let r = e[t][1];
|
|
20
|
+
if (n.push(e[t]), r.type === "labelImage" || r.type === "labelLink" || r.type === "labelEnd") {
|
|
21
|
+
let e = r.type === "labelImage" ? 4 : 2;
|
|
22
|
+
r.type = "data", t += e;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return e.length !== n.length && o(e, 0, e.length, n), e;
|
|
26
|
+
}
|
|
27
|
+
function m(e, t) {
|
|
28
|
+
let n = e.length, r = 0, i, s, l;
|
|
29
|
+
for (; n--;) {
|
|
30
|
+
let t = e[n][1];
|
|
31
|
+
if (i) {
|
|
32
|
+
if (t.type === "link" || t.type === "labelLink" && t._inactive) break;
|
|
33
|
+
e[n][0] === "enter" && t.type === "labelLink" && (t._inactive = !0);
|
|
34
|
+
} else if (s) {
|
|
35
|
+
if (e[n][0] === "enter" && (t.type === "labelImage" || t.type === "labelLink") && !t._balanced && (i = n, t.type !== "labelLink")) {
|
|
36
|
+
r = 2;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
} else t.type === "labelEnd" && (s = n);
|
|
40
|
+
}
|
|
41
|
+
let u = {
|
|
42
|
+
type: e[i][1].type === "labelLink" ? "link" : "image",
|
|
43
|
+
start: { ...e[i][1].start },
|
|
44
|
+
end: { ...e[e.length - 1][1].end }
|
|
45
|
+
}, d = {
|
|
46
|
+
type: "label",
|
|
47
|
+
start: { ...e[i][1].start },
|
|
48
|
+
end: { ...e[s][1].end }
|
|
49
|
+
}, f = {
|
|
50
|
+
type: "labelText",
|
|
51
|
+
start: { ...e[i + r + 2][1].end },
|
|
52
|
+
end: { ...e[s - 2][1].start }
|
|
53
|
+
};
|
|
54
|
+
return l = [[
|
|
55
|
+
"enter",
|
|
56
|
+
u,
|
|
57
|
+
t
|
|
58
|
+
], [
|
|
59
|
+
"enter",
|
|
60
|
+
d,
|
|
61
|
+
t
|
|
62
|
+
]], l = a(l, e.slice(i + 1, i + r + 3)), l = a(l, [[
|
|
63
|
+
"enter",
|
|
64
|
+
f,
|
|
65
|
+
t
|
|
66
|
+
]]), l = a(l, c(t.parser.constructs.insideSpan.null, e.slice(i + r + 4, s - 3), t)), l = a(l, [
|
|
67
|
+
[
|
|
68
|
+
"exit",
|
|
69
|
+
f,
|
|
70
|
+
t
|
|
71
|
+
],
|
|
72
|
+
e[s - 2],
|
|
73
|
+
e[s - 1],
|
|
74
|
+
[
|
|
75
|
+
"exit",
|
|
76
|
+
d,
|
|
77
|
+
t
|
|
78
|
+
]
|
|
79
|
+
]), l = a(l, e.slice(s + 1)), l = a(l, [[
|
|
80
|
+
"exit",
|
|
81
|
+
u,
|
|
82
|
+
t
|
|
83
|
+
]]), o(e, i, e.length, l), e;
|
|
84
|
+
}
|
|
85
|
+
function h(e, t, n) {
|
|
86
|
+
let r = this, i = r._labelStarts, a, o;
|
|
87
|
+
if (i) {
|
|
88
|
+
for (; i.length > 0 && i[i.length - 1]._balanced;) i.pop();
|
|
89
|
+
a = i[i.length - 1];
|
|
90
|
+
}
|
|
91
|
+
return c;
|
|
92
|
+
function c(t) {
|
|
93
|
+
return a ? a._inactive ? h(t) : (o = r.parser.defined.includes(s(r.sliceSerialize({
|
|
94
|
+
start: a.end,
|
|
95
|
+
end: r.now()
|
|
96
|
+
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(t);
|
|
97
|
+
}
|
|
98
|
+
function l(t) {
|
|
99
|
+
return t === 40 ? e.attempt(u, m, o ? m : h)(t) : t === 91 ? e.attempt(d, m, o ? p : h)(t) : o ? m(t) : h(t);
|
|
100
|
+
}
|
|
101
|
+
function p(t) {
|
|
102
|
+
return e.attempt(f, m, h)(t);
|
|
103
|
+
}
|
|
104
|
+
function m(e) {
|
|
105
|
+
return i.pop(), t(e);
|
|
106
|
+
}
|
|
107
|
+
function h(e) {
|
|
108
|
+
return a._balanced = !0, n(e);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function g(t, a, o) {
|
|
112
|
+
return s;
|
|
113
|
+
function s(e) {
|
|
114
|
+
return t.enter("resource"), t.enter("resourceMarker"), t.consume(e), t.exit("resourceMarker"), c;
|
|
115
|
+
}
|
|
116
|
+
function c(e) {
|
|
117
|
+
return i(e) ? r(t, l)(e) : l(e);
|
|
118
|
+
}
|
|
119
|
+
function l(n) {
|
|
120
|
+
return n === 41 ? m(n) : e(t, u, d, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(n);
|
|
121
|
+
}
|
|
122
|
+
function u(e) {
|
|
123
|
+
return i(e) ? r(t, f)(e) : m(e);
|
|
124
|
+
}
|
|
125
|
+
function d(e) {
|
|
126
|
+
return o(e);
|
|
127
|
+
}
|
|
128
|
+
function f(e) {
|
|
129
|
+
return e === 34 || e === 39 || e === 40 ? n(t, p, o, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(e) : m(e);
|
|
130
|
+
}
|
|
131
|
+
function p(e) {
|
|
132
|
+
return i(e) ? r(t, m)(e) : m(e);
|
|
133
|
+
}
|
|
134
|
+
function m(e) {
|
|
135
|
+
return e === 41 ? (t.enter("resourceMarker"), t.consume(e), t.exit("resourceMarker"), t.exit("resource"), a) : o(e);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function _(e, n, r) {
|
|
139
|
+
let i = this;
|
|
140
|
+
return a;
|
|
141
|
+
function a(n) {
|
|
142
|
+
return t.call(i, e, o, c, "reference", "referenceMarker", "referenceString")(n);
|
|
143
|
+
}
|
|
144
|
+
function o(e) {
|
|
145
|
+
return i.parser.defined.includes(s(i.sliceSerialize(i.events[i.events.length - 1][1]).slice(1, -1))) ? n(e) : r(e);
|
|
146
|
+
}
|
|
147
|
+
function c(e) {
|
|
148
|
+
return r(e);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
function v(e, t, n) {
|
|
152
|
+
return r;
|
|
153
|
+
function r(t) {
|
|
154
|
+
return e.enter("reference"), e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), i;
|
|
155
|
+
}
|
|
156
|
+
function i(r) {
|
|
157
|
+
return r === 93 ? (e.enter("referenceMarker"), e.consume(r), e.exit("referenceMarker"), e.exit("reference"), t) : n(r);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
export { l as labelEnd };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { labelEnd as e } from "./label-end.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
3
|
+
var t = {
|
|
4
|
+
name: "labelStartImage",
|
|
5
|
+
resolveAll: e.resolveAll,
|
|
6
|
+
tokenize: n
|
|
7
|
+
};
|
|
8
|
+
function n(e, t, n) {
|
|
9
|
+
let r = this, i;
|
|
10
|
+
return a;
|
|
11
|
+
function a(t) {
|
|
12
|
+
return e.enter("labelImage"), e.enter("labelImageMarker"), e.consume(t), e.exit("labelImageMarker"), o;
|
|
13
|
+
}
|
|
14
|
+
function o(t) {
|
|
15
|
+
return t === 91 ? (e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), i = e.exit("labelImage"), s) : n(t);
|
|
16
|
+
}
|
|
17
|
+
function s(e) {
|
|
18
|
+
return e === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(e) : (r._labelStarts = r._labelStarts || [], r._labelStarts.push(i), t(e));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export { t as labelStartImage };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { labelEnd as e } from "./label-end.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
3
|
+
var t = {
|
|
4
|
+
name: "labelStartLink",
|
|
5
|
+
resolveAll: e.resolveAll,
|
|
6
|
+
tokenize: n
|
|
7
|
+
};
|
|
8
|
+
function n(e, t, n) {
|
|
9
|
+
let r = this, i;
|
|
10
|
+
return a;
|
|
11
|
+
function a(t) {
|
|
12
|
+
return e.enter("labelLink"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), i = e.exit("labelLink"), o;
|
|
13
|
+
}
|
|
14
|
+
function o(e) {
|
|
15
|
+
return e === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(e) : (r._labelStarts = r._labelStarts || [], r._labelStarts.push(i), t(e));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export { t as labelStartLink };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
3
|
+
var t = {
|
|
4
|
+
name: "lineEnding",
|
|
5
|
+
tokenize: n
|
|
6
|
+
};
|
|
7
|
+
function n(t, n) {
|
|
8
|
+
return r;
|
|
9
|
+
function r(r) {
|
|
10
|
+
return t.enter("lineEnding"), t.consume(r), t.exit("lineEnding"), e(t, n, "linePrefix");
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export { t as lineEnding };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { asciiDigit as t, markdownSpace as n } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
import { blankLine as r } from "./blank-line.mjs";
|
|
4
|
+
import { thematicBreak as i } from "./thematic-break.mjs";
|
|
5
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/list.js
|
|
6
|
+
var a = {
|
|
7
|
+
continuation: { tokenize: l },
|
|
8
|
+
exit: d,
|
|
9
|
+
name: "list",
|
|
10
|
+
tokenize: c
|
|
11
|
+
}, o = {
|
|
12
|
+
partial: !0,
|
|
13
|
+
tokenize: f
|
|
14
|
+
}, s = {
|
|
15
|
+
partial: !0,
|
|
16
|
+
tokenize: u
|
|
17
|
+
};
|
|
18
|
+
function c(e, a, s) {
|
|
19
|
+
let c = this, l = c.events[c.events.length - 1], u = l && l[1].type === "linePrefix" ? l[2].sliceSerialize(l[1], !0).length : 0, d = 0;
|
|
20
|
+
return f;
|
|
21
|
+
function f(n) {
|
|
22
|
+
let r = c.containerState.type || (n === 42 || n === 43 || n === 45 ? "listUnordered" : "listOrdered");
|
|
23
|
+
if (r === "listUnordered" ? !c.containerState.marker || n === c.containerState.marker : t(n)) {
|
|
24
|
+
if (c.containerState.type || (c.containerState.type = r, e.enter(r, { _container: !0 })), r === "listUnordered") return e.enter("listItemPrefix"), n === 42 || n === 45 ? e.check(i, s, m)(n) : m(n);
|
|
25
|
+
if (!c.interrupt || n === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), p(n);
|
|
26
|
+
}
|
|
27
|
+
return s(n);
|
|
28
|
+
}
|
|
29
|
+
function p(n) {
|
|
30
|
+
return t(n) && ++d < 10 ? (e.consume(n), p) : (!c.interrupt || d < 2) && (c.containerState.marker ? n === c.containerState.marker : n === 41 || n === 46) ? (e.exit("listItemValue"), m(n)) : s(n);
|
|
31
|
+
}
|
|
32
|
+
function m(t) {
|
|
33
|
+
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), c.containerState.marker = c.containerState.marker || t, e.check(r, c.interrupt ? s : h, e.attempt(o, _, g));
|
|
34
|
+
}
|
|
35
|
+
function h(e) {
|
|
36
|
+
return c.containerState.initialBlankLine = !0, u++, _(e);
|
|
37
|
+
}
|
|
38
|
+
function g(t) {
|
|
39
|
+
return n(t) ? (e.enter("listItemPrefixWhitespace"), e.consume(t), e.exit("listItemPrefixWhitespace"), _) : s(t);
|
|
40
|
+
}
|
|
41
|
+
function _(t) {
|
|
42
|
+
return c.containerState.size = u + c.sliceSerialize(e.exit("listItemPrefix"), !0).length, a(t);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function l(t, i, o) {
|
|
46
|
+
let c = this;
|
|
47
|
+
return c.containerState._closeFlow = void 0, t.check(r, l, u);
|
|
48
|
+
function l(n) {
|
|
49
|
+
return c.containerState.furtherBlankLines = c.containerState.furtherBlankLines || c.containerState.initialBlankLine, e(t, i, "listItemIndent", c.containerState.size + 1)(n);
|
|
50
|
+
}
|
|
51
|
+
function u(e) {
|
|
52
|
+
return c.containerState.furtherBlankLines || !n(e) ? (c.containerState.furtherBlankLines = void 0, c.containerState.initialBlankLine = void 0, d(e)) : (c.containerState.furtherBlankLines = void 0, c.containerState.initialBlankLine = void 0, t.attempt(s, i, d)(e));
|
|
53
|
+
}
|
|
54
|
+
function d(n) {
|
|
55
|
+
return c.containerState._closeFlow = !0, c.interrupt = void 0, e(t, t.attempt(a, i, o), "linePrefix", c.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function u(t, n, r) {
|
|
59
|
+
let i = this;
|
|
60
|
+
return e(t, a, "listItemIndent", i.containerState.size + 1);
|
|
61
|
+
function a(e) {
|
|
62
|
+
let t = i.events[i.events.length - 1];
|
|
63
|
+
return t && t[1].type === "listItemIndent" && t[2].sliceSerialize(t[1], !0).length === i.containerState.size ? n(e) : r(e);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function d(e) {
|
|
67
|
+
e.exit(this.containerState.type);
|
|
68
|
+
}
|
|
69
|
+
function f(t, r, i) {
|
|
70
|
+
let a = this;
|
|
71
|
+
return e(t, o, "listItemPrefixWhitespace", a.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
72
|
+
function o(e) {
|
|
73
|
+
let t = a.events[a.events.length - 1];
|
|
74
|
+
return !n(e) && t && t[1].type === "listItemPrefixWhitespace" ? r(e) : i(e);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export { a as list };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js
|
|
2
|
+
var e = {
|
|
3
|
+
partial: !0,
|
|
4
|
+
tokenize: t
|
|
5
|
+
};
|
|
6
|
+
function t(e, t, n) {
|
|
7
|
+
let r = this;
|
|
8
|
+
return i;
|
|
9
|
+
function i(t) {
|
|
10
|
+
return t === null ? n(t) : (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a);
|
|
11
|
+
}
|
|
12
|
+
function a(e) {
|
|
13
|
+
return r.parser.lazy[r.now().line] ? n(e) : t(e);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export { e as nonLazyContinuation };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { markdownLineEnding as t, markdownSpace as n } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
import { EditMap as r } from "../../micromark-util-edit-map@1.0.0/index.mjs";
|
|
4
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
5
|
+
var i = {
|
|
6
|
+
name: "setextUnderline",
|
|
7
|
+
resolveTo: a,
|
|
8
|
+
tokenize: o
|
|
9
|
+
};
|
|
10
|
+
function a(e, t) {
|
|
11
|
+
let n = new r(), i = e.length, a, o, s;
|
|
12
|
+
for (; i--;) if (e[i][0] === "enter") {
|
|
13
|
+
if (e[i][1].type === "content") {
|
|
14
|
+
a = i;
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
e[i][1].type === "paragraph" && (o = i);
|
|
18
|
+
} else e[i][1].type === "content" && n.add(i, 1, []), !s && e[i][1].type === "definition" && (s = i);
|
|
19
|
+
let c = {
|
|
20
|
+
type: "setextHeading",
|
|
21
|
+
start: { ...e[a][1].start },
|
|
22
|
+
end: { ...e[e.length - 1][1].end }
|
|
23
|
+
};
|
|
24
|
+
return e[o][1].type = "setextHeadingText", s ? (n.add(o, 0, [[
|
|
25
|
+
"enter",
|
|
26
|
+
c,
|
|
27
|
+
t
|
|
28
|
+
]]), n.add(s + 1, 0, [[
|
|
29
|
+
"exit",
|
|
30
|
+
e[a][1],
|
|
31
|
+
t
|
|
32
|
+
]]), e[a][1].end = { ...e[s][1].end }) : e[a][1] = c, n.add(e.length, 0, [[
|
|
33
|
+
"exit",
|
|
34
|
+
c,
|
|
35
|
+
t
|
|
36
|
+
]]), n.consume(e), e;
|
|
37
|
+
}
|
|
38
|
+
function o(r, i, a) {
|
|
39
|
+
let o = this, s;
|
|
40
|
+
return c;
|
|
41
|
+
function c(e) {
|
|
42
|
+
let t = o.events.length, n;
|
|
43
|
+
for (; t--;) if (o.events[t][1].type !== "lineEnding" && o.events[t][1].type !== "linePrefix" && o.events[t][1].type !== "content") {
|
|
44
|
+
n = o.events[t][1].type === "paragraph";
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
return !o.parser.lazy[o.now().line] && (o.interrupt || n) ? (r.enter("setextHeadingLine"), s = e, l(e)) : a(e);
|
|
48
|
+
}
|
|
49
|
+
function l(e) {
|
|
50
|
+
return r.enter("setextHeadingLineSequence"), u(e);
|
|
51
|
+
}
|
|
52
|
+
function u(t) {
|
|
53
|
+
return t === s ? (r.consume(t), u) : (r.exit("setextHeadingLineSequence"), n(t) ? e(r, d, "lineSuffix")(t) : d(t));
|
|
54
|
+
}
|
|
55
|
+
function d(e) {
|
|
56
|
+
return e === null || t(e) ? (r.exit("setextHeadingLine"), i(e)) : a(e);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export { i as setextUnderline };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { markdownLineEnding as t, markdownSpace as n } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.4/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
4
|
+
var r = {
|
|
5
|
+
name: "thematicBreak",
|
|
6
|
+
tokenize: i
|
|
7
|
+
};
|
|
8
|
+
function i(r, i, a) {
|
|
9
|
+
let o = 0, s;
|
|
10
|
+
return c;
|
|
11
|
+
function c(e) {
|
|
12
|
+
return r.enter("thematicBreak"), l(e);
|
|
13
|
+
}
|
|
14
|
+
function l(e) {
|
|
15
|
+
return s = e, u(e);
|
|
16
|
+
}
|
|
17
|
+
function u(e) {
|
|
18
|
+
return e === s ? (r.enter("thematicBreakSequence"), d(e)) : o >= 3 && (e === null || t(e)) ? (r.exit("thematicBreak"), i(e)) : a(e);
|
|
19
|
+
}
|
|
20
|
+
function d(t) {
|
|
21
|
+
return t === s ? (r.consume(t), o++, d) : (r.exit("thematicBreakSequence"), n(t) ? e(r, u, "whitespace")(t) : u(t));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export { r as thematicBreak };
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { asciiAlpha as e, asciiAlphanumeric as t, asciiControl as n, markdownLineEndingOrSpace as r, unicodePunctuation as i, unicodeWhitespace as a } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
3
|
+
var o = {
|
|
4
|
+
tokenize: b,
|
|
5
|
+
partial: !0
|
|
6
|
+
}, s = {
|
|
7
|
+
tokenize: x,
|
|
8
|
+
partial: !0
|
|
9
|
+
}, c = {
|
|
10
|
+
tokenize: S,
|
|
11
|
+
partial: !0
|
|
12
|
+
}, l = {
|
|
13
|
+
tokenize: C,
|
|
14
|
+
partial: !0
|
|
15
|
+
}, u = {
|
|
16
|
+
tokenize: w,
|
|
17
|
+
partial: !0
|
|
18
|
+
}, d = {
|
|
19
|
+
name: "wwwAutolink",
|
|
20
|
+
tokenize: v,
|
|
21
|
+
previous: T
|
|
22
|
+
}, f = {
|
|
23
|
+
name: "protocolAutolink",
|
|
24
|
+
tokenize: y,
|
|
25
|
+
previous: E
|
|
26
|
+
}, p = {
|
|
27
|
+
name: "emailAutolink",
|
|
28
|
+
tokenize: _,
|
|
29
|
+
previous: D
|
|
30
|
+
}, m = {};
|
|
31
|
+
function h() {
|
|
32
|
+
return { text: m };
|
|
33
|
+
}
|
|
34
|
+
for (var g = 48; g < 123;) m[g] = p, g++, g === 58 ? g = 65 : g === 91 && (g = 97);
|
|
35
|
+
m[43] = p, m[45] = p, m[46] = p, m[95] = p, m[72] = [p, f], m[104] = [p, f], m[87] = [p, d], m[119] = [p, d];
|
|
36
|
+
function _(n, r, i) {
|
|
37
|
+
let a = this, o, s;
|
|
38
|
+
return c;
|
|
39
|
+
function c(e) {
|
|
40
|
+
return !O(e) || !D.call(a, a.previous) || k(a.events) ? i(e) : (n.enter("literalAutolink"), n.enter("literalAutolinkEmail"), l(e));
|
|
41
|
+
}
|
|
42
|
+
function l(e) {
|
|
43
|
+
return O(e) ? (n.consume(e), l) : e === 64 ? (n.consume(e), d) : i(e);
|
|
44
|
+
}
|
|
45
|
+
function d(e) {
|
|
46
|
+
return e === 46 ? n.check(u, p, f)(e) : e === 45 || e === 95 || t(e) ? (s = !0, n.consume(e), d) : p(e);
|
|
47
|
+
}
|
|
48
|
+
function f(e) {
|
|
49
|
+
return n.consume(e), o = !0, d;
|
|
50
|
+
}
|
|
51
|
+
function p(t) {
|
|
52
|
+
return s && o && e(a.previous) ? (n.exit("literalAutolinkEmail"), n.exit("literalAutolink"), r(t)) : i(t);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function v(e, t, n) {
|
|
56
|
+
let r = this;
|
|
57
|
+
return i;
|
|
58
|
+
function i(t) {
|
|
59
|
+
return t !== 87 && t !== 119 || !T.call(r, r.previous) || k(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(o, e.attempt(s, e.attempt(c, a), n), n)(t));
|
|
60
|
+
}
|
|
61
|
+
function a(n) {
|
|
62
|
+
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function y(t, o, l) {
|
|
66
|
+
let u = this, d = "", f = !1;
|
|
67
|
+
return p;
|
|
68
|
+
function p(e) {
|
|
69
|
+
return (e === 72 || e === 104) && E.call(u, u.previous) && !k(u.events) ? (t.enter("literalAutolink"), t.enter("literalAutolinkHttp"), d += String.fromCodePoint(e), t.consume(e), m) : l(e);
|
|
70
|
+
}
|
|
71
|
+
function m(n) {
|
|
72
|
+
if (e(n) && d.length < 5) return d += String.fromCodePoint(n), t.consume(n), m;
|
|
73
|
+
if (n === 58) {
|
|
74
|
+
let e = d.toLowerCase();
|
|
75
|
+
if (e === "http" || e === "https") return t.consume(n), h;
|
|
76
|
+
}
|
|
77
|
+
return l(n);
|
|
78
|
+
}
|
|
79
|
+
function h(e) {
|
|
80
|
+
return e === 47 ? (t.consume(e), f ? g : (f = !0, h)) : l(e);
|
|
81
|
+
}
|
|
82
|
+
function g(e) {
|
|
83
|
+
return e === null || n(e) || r(e) || a(e) || i(e) ? l(e) : t.attempt(s, t.attempt(c, _), l)(e);
|
|
84
|
+
}
|
|
85
|
+
function _(e) {
|
|
86
|
+
return t.exit("literalAutolinkHttp"), t.exit("literalAutolink"), o(e);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function b(e, t, n) {
|
|
90
|
+
let r = 0;
|
|
91
|
+
return i;
|
|
92
|
+
function i(t) {
|
|
93
|
+
return (t === 87 || t === 119) && r < 3 ? (r++, e.consume(t), i) : t === 46 && r === 3 ? (e.consume(t), a) : n(t);
|
|
94
|
+
}
|
|
95
|
+
function a(e) {
|
|
96
|
+
return e === null ? n(e) : t(e);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function x(e, t, n) {
|
|
100
|
+
let o, s, c;
|
|
101
|
+
return u;
|
|
102
|
+
function u(t) {
|
|
103
|
+
return t === 46 || t === 95 ? e.check(l, f, d)(t) : t === null || r(t) || a(t) || t !== 45 && i(t) ? f(t) : (c = !0, e.consume(t), u);
|
|
104
|
+
}
|
|
105
|
+
function d(t) {
|
|
106
|
+
return t === 95 ? o = !0 : (s = o, o = void 0), e.consume(t), u;
|
|
107
|
+
}
|
|
108
|
+
function f(e) {
|
|
109
|
+
return s || o || !c ? n(e) : t(e);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function S(e, t) {
|
|
113
|
+
let n = 0, i = 0;
|
|
114
|
+
return o;
|
|
115
|
+
function o(c) {
|
|
116
|
+
return c === 40 ? (n++, e.consume(c), o) : c === 41 && i < n ? s(c) : c === 33 || c === 34 || c === 38 || c === 39 || c === 41 || c === 42 || c === 44 || c === 46 || c === 58 || c === 59 || c === 60 || c === 63 || c === 93 || c === 95 || c === 126 ? e.check(l, t, s)(c) : c === null || r(c) || a(c) ? t(c) : (e.consume(c), o);
|
|
117
|
+
}
|
|
118
|
+
function s(t) {
|
|
119
|
+
return t === 41 && i++, e.consume(t), o;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function C(t, n, i) {
|
|
123
|
+
return o;
|
|
124
|
+
function o(e) {
|
|
125
|
+
return e === 33 || e === 34 || e === 39 || e === 41 || e === 42 || e === 44 || e === 46 || e === 58 || e === 59 || e === 63 || e === 95 || e === 126 ? (t.consume(e), o) : e === 38 ? (t.consume(e), c) : e === 93 ? (t.consume(e), s) : e === 60 || e === null || r(e) || a(e) ? n(e) : i(e);
|
|
126
|
+
}
|
|
127
|
+
function s(e) {
|
|
128
|
+
return e === null || e === 40 || e === 91 || r(e) || a(e) ? n(e) : o(e);
|
|
129
|
+
}
|
|
130
|
+
function c(t) {
|
|
131
|
+
return e(t) ? l(t) : i(t);
|
|
132
|
+
}
|
|
133
|
+
function l(n) {
|
|
134
|
+
return n === 59 ? (t.consume(n), o) : e(n) ? (t.consume(n), l) : i(n);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function w(e, n, r) {
|
|
138
|
+
return i;
|
|
139
|
+
function i(t) {
|
|
140
|
+
return e.consume(t), a;
|
|
141
|
+
}
|
|
142
|
+
function a(e) {
|
|
143
|
+
return t(e) ? r(e) : n(e);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function T(e) {
|
|
147
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || r(e);
|
|
148
|
+
}
|
|
149
|
+
function E(t) {
|
|
150
|
+
return !e(t);
|
|
151
|
+
}
|
|
152
|
+
function D(e) {
|
|
153
|
+
return !(e === 47 || O(e));
|
|
154
|
+
}
|
|
155
|
+
function O(e) {
|
|
156
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || t(e);
|
|
157
|
+
}
|
|
158
|
+
function k(e) {
|
|
159
|
+
let t = e.length, n = !1;
|
|
160
|
+
for (; t--;) {
|
|
161
|
+
let r = e[t][1];
|
|
162
|
+
if ((r.type === "labelLink" || r.type === "labelImage") && !r._balanced) {
|
|
163
|
+
n = !0;
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
if (r._gfmAutolinkLiteralWalkedInto) {
|
|
167
|
+
n = !1;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return e.length > 0 && !n && (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), n;
|
|
172
|
+
}
|
|
173
|
+
export { h as gfmAutolinkLiteral };
|