@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.
- package/THIRD_PARTY_NOTICES.md +8 -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/Icon.md +1 -0
- package/dist/docs/Markdown.md +86 -0
- package/dist/docs/llms.txt +1 -0
- package/dist/docs/manifest.json +36 -1
- package/dist/icons/ClaudeIcon.d.mts +2 -0
- package/dist/icons/ClaudeIcon.mjs +66 -0
- package/dist/icons/index.d.mts +3 -2
- package/dist/icons/index.mjs +25 -24
- 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,23 @@
|
|
|
1
|
+
import { factorySpace as e } from "../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { markdownLineEnding as t } from "../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js
|
|
4
|
+
function n(n, r, i, a, o, s) {
|
|
5
|
+
let c;
|
|
6
|
+
return l;
|
|
7
|
+
function l(e) {
|
|
8
|
+
return e === 34 || e === 39 || e === 40 ? (n.enter(a), n.enter(o), n.consume(e), n.exit(o), c = e === 40 ? 41 : e, u) : i(e);
|
|
9
|
+
}
|
|
10
|
+
function u(e) {
|
|
11
|
+
return e === c ? (n.enter(o), n.consume(e), n.exit(o), n.exit(a), r) : (n.enter(s), d(e));
|
|
12
|
+
}
|
|
13
|
+
function d(r) {
|
|
14
|
+
return r === c ? (n.exit(s), u(c)) : r === null ? i(r) : t(r) ? (n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), e(n, d, "linePrefix")) : (n.enter("chunkString", { contentType: "string" }), f(r));
|
|
15
|
+
}
|
|
16
|
+
function f(e) {
|
|
17
|
+
return e === c || e === null || t(e) ? (n.exit("chunkString"), d(e)) : (n.consume(e), e === 92 ? p : f);
|
|
18
|
+
}
|
|
19
|
+
function p(e) {
|
|
20
|
+
return e === c || e === 92 ? (n.consume(e), f) : f(e);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export { n as factoryTitle };
|
|
@@ -0,0 +1,11 @@
|
|
|
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-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js
|
|
4
|
+
function r(r, i) {
|
|
5
|
+
let a;
|
|
6
|
+
return o;
|
|
7
|
+
function o(s) {
|
|
8
|
+
return t(s) ? (r.enter("lineEnding"), r.consume(s), r.exit("lineEnding"), a = !0, o) : n(s) ? e(r, o, a ? "linePrefix" : "lineSuffix")(s) : i(s);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export { r as factoryWhitespace };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
2
|
+
var e = f(/[A-Za-z]/), t = f(/[\dA-Za-z]/), n = f(/[#-'*+\--9=?A-Z^-~]/);
|
|
3
|
+
function r(e) {
|
|
4
|
+
return e !== null && (e < 32 || e === 127);
|
|
5
|
+
}
|
|
6
|
+
var i = f(/\d/), a = f(/[\dA-Fa-f]/), o = f(/[!-/:-@[-`{-~]/);
|
|
7
|
+
function s(e) {
|
|
8
|
+
return e !== null && e < -2;
|
|
9
|
+
}
|
|
10
|
+
function c(e) {
|
|
11
|
+
return e !== null && (e < 0 || e === 32);
|
|
12
|
+
}
|
|
13
|
+
function l(e) {
|
|
14
|
+
return e === -2 || e === -1 || e === 32;
|
|
15
|
+
}
|
|
16
|
+
var u = f(/\p{P}|\p{S}/u), d = f(/\s/);
|
|
17
|
+
function f(e) {
|
|
18
|
+
return t;
|
|
19
|
+
function t(t) {
|
|
20
|
+
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export { e as asciiAlpha, t as asciiAlphanumeric, n as asciiAtext, r as asciiControl, i as asciiDigit, a as asciiHexDigit, o as asciiPunctuation, s as markdownLineEnding, c as markdownLineEndingOrSpace, l as markdownSpace, u as unicodePunctuation, d as unicodeWhitespace };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
2
|
+
function e(e, t, n, r) {
|
|
3
|
+
let i = e.length, a = 0, o;
|
|
4
|
+
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
5
|
+
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
6
|
+
}
|
|
7
|
+
function t(t, n) {
|
|
8
|
+
return t.length > 0 ? (e(t, t.length, 0, n), t) : n;
|
|
9
|
+
}
|
|
10
|
+
export { t as push, e as splice };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { markdownLineEndingOrSpace as e, unicodePunctuation as t, unicodeWhitespace as n } from "../micromark-util-character@2.1.1/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
3
|
+
function r(r) {
|
|
4
|
+
if (r === null || e(r) || n(r)) return 1;
|
|
5
|
+
if (t(r)) return 2;
|
|
6
|
+
}
|
|
7
|
+
export { r as classifyCharacter };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { splice as e } from "../micromark-util-chunked@2.0.1/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
3
|
+
var t = {}.hasOwnProperty;
|
|
4
|
+
function n(e) {
|
|
5
|
+
let t = {}, n = -1;
|
|
6
|
+
for (; ++n < e.length;) r(t, e[n]);
|
|
7
|
+
return t;
|
|
8
|
+
}
|
|
9
|
+
function r(e, n) {
|
|
10
|
+
let r;
|
|
11
|
+
for (r in n) {
|
|
12
|
+
let a = (t.call(e, r) ? e[r] : void 0) || (e[r] = {}), o = n[r], s;
|
|
13
|
+
if (o) for (s in o) {
|
|
14
|
+
t.call(a, s) || (a[s] = []);
|
|
15
|
+
let e = o[s];
|
|
16
|
+
i(a[s], Array.isArray(e) ? e : e ? [e] : []);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function i(t, n) {
|
|
21
|
+
let r = -1, i = [];
|
|
22
|
+
for (; ++r < n.length;) (n[r].add === "after" ? t : i).push(n[r]);
|
|
23
|
+
e(t, 0, 0, i);
|
|
24
|
+
}
|
|
25
|
+
export { n as combineExtensions };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = Number.parseInt(e, t);
|
|
4
|
+
return n < 9 || n === 11 || n > 13 && n < 32 || n > 126 && n < 160 || n > 55295 && n < 57344 || n > 64975 && n < 65008 || (n & 65535) == 65535 || (n & 65535) == 65534 || n > 1114111 ? "�" : String.fromCodePoint(n);
|
|
5
|
+
}
|
|
6
|
+
export { e as decodeNumericCharacterReference };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { decodeNamedCharacterReference as e } from "../decode-named-character-reference@1.3.0/index.mjs";
|
|
2
|
+
import { decodeNumericCharacterReference as t } from "../micromark-util-decode-numeric-character-reference@2.0.2/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js
|
|
4
|
+
var n = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
5
|
+
function r(e) {
|
|
6
|
+
return e.replace(n, i);
|
|
7
|
+
}
|
|
8
|
+
function i(n, r, i) {
|
|
9
|
+
if (r) return r;
|
|
10
|
+
if (i.charCodeAt(0) === 35) {
|
|
11
|
+
let e = i.charCodeAt(1), n = e === 120 || e === 88;
|
|
12
|
+
return t(i.slice(n ? 2 : 1), n ? 16 : 10);
|
|
13
|
+
}
|
|
14
|
+
return e(i) || n;
|
|
15
|
+
}
|
|
16
|
+
export { r as decodeString };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-edit-map@1.0.0/node_modules/micromark-util-edit-map/index.js
|
|
2
|
+
var e = class {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.index = /* @__PURE__ */ new Map(), this.map = [];
|
|
5
|
+
}
|
|
6
|
+
add(e, n, r) {
|
|
7
|
+
t(this, e, n, r, !1);
|
|
8
|
+
}
|
|
9
|
+
addBefore(e, n, r) {
|
|
10
|
+
t(this, e, n, r, !0);
|
|
11
|
+
}
|
|
12
|
+
consume(e) {
|
|
13
|
+
if (this.map.sort(function(e, t) {
|
|
14
|
+
return e[0] - t[0];
|
|
15
|
+
}), this.map.length === 0) return;
|
|
16
|
+
let t = this.map.length, n = [];
|
|
17
|
+
for (; t > 0;) --t, n.push(e.slice(this.map[t][0] + this.map[t][1]), this.map[t][2]), e.length = this.map[t][0];
|
|
18
|
+
n.push(e.slice()), e.length = 0;
|
|
19
|
+
let r = n.pop();
|
|
20
|
+
for (; r;) {
|
|
21
|
+
for (let t of r) e.push(t);
|
|
22
|
+
r = n.pop();
|
|
23
|
+
}
|
|
24
|
+
this.map.length = 0, this.index.clear();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
function t(e, t, n, r, i) {
|
|
28
|
+
if (n === 0 && r.length === 0) return;
|
|
29
|
+
let a = e.index.get(t);
|
|
30
|
+
if (a) {
|
|
31
|
+
a[1] += n, i ? (r.push(...a[2]), a[2] = r) : a[2].push(...r);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
let o = [
|
|
35
|
+
t,
|
|
36
|
+
n,
|
|
37
|
+
r
|
|
38
|
+
];
|
|
39
|
+
e.map.push(o), e.index.set(t, o);
|
|
40
|
+
}
|
|
41
|
+
export { e as EditMap };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
2
|
+
var e = /* @__PURE__ */ "address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."), t = [
|
|
3
|
+
"pre",
|
|
4
|
+
"script",
|
|
5
|
+
"style",
|
|
6
|
+
"textarea"
|
|
7
|
+
];
|
|
8
|
+
export { e as htmlBlockNames, t as htmlRawNames };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
4
|
+
}
|
|
5
|
+
export { e as normalizeIdentifier };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
2
|
+
function e(e, t, n) {
|
|
3
|
+
let r = [], i = -1;
|
|
4
|
+
for (; ++i < e.length;) {
|
|
5
|
+
let a = e[i].resolveAll;
|
|
6
|
+
a && !r.includes(a) && (t = a(t, n), r.push(a));
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
export { e as resolveAll };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { asciiAlphanumeric as e } from "../micromark-util-character@2.1.1/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = [], r = -1, i = 0, a = 0;
|
|
5
|
+
for (; ++r < t.length;) {
|
|
6
|
+
let o = t.charCodeAt(r), s = "";
|
|
7
|
+
if (o === 37 && e(t.charCodeAt(r + 1)) && e(t.charCodeAt(r + 2))) a = 2;
|
|
8
|
+
else if (o < 128) /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (s = String.fromCharCode(o));
|
|
9
|
+
else if (o > 55295 && o < 57344) {
|
|
10
|
+
let e = t.charCodeAt(r + 1);
|
|
11
|
+
o < 56320 && e > 56319 && e < 57344 ? (s = String.fromCharCode(o, e), a = 1) : s = "�";
|
|
12
|
+
} else s = String.fromCharCode(o);
|
|
13
|
+
s &&= (n.push(t.slice(i, r), encodeURIComponent(s)), i = r + a + 1, ""), a &&= (r += a, 0);
|
|
14
|
+
}
|
|
15
|
+
return n.join("") + t.slice(i);
|
|
16
|
+
}
|
|
17
|
+
export { t as normalizeUri };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { splice as e } from "../micromark-util-chunked@2.0.1/index.mjs";
|
|
2
|
+
import { SpliceBuffer as t } from "./lib/splice-buffer.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
let i = {}, a = -1, o, s, c, l, u, d, f, p = new t(n);
|
|
6
|
+
for (; ++a < p.length;) {
|
|
7
|
+
for (; a in i;) a = i[a];
|
|
8
|
+
if (o = p.get(a), a && o[1].type === "chunkFlow" && p.get(a - 1)[1].type === "listItemPrefix" && (d = o[1]._tokenizer.events, c = 0, c < d.length && d[c][1].type === "lineEndingBlank" && (c += 2), c < d.length && d[c][1].type === "content")) for (; ++c < d.length && d[c][1].type !== "content";) d[c][1].type === "chunkText" && (d[c][1]._isInFirstContentOfListItem = !0, c++);
|
|
9
|
+
if (o[0] === "enter") o[1].contentType && (Object.assign(i, r(p, a)), a = i[a], f = !0);
|
|
10
|
+
else if (o[1]._container) {
|
|
11
|
+
for (c = a, s = void 0; c--;) if (l = p.get(c), l[1].type === "lineEnding" || l[1].type === "lineEndingBlank") l[0] === "enter" && (s && (p.get(s)[1].type = "lineEndingBlank"), l[1].type = "lineEnding", s = c);
|
|
12
|
+
else if (l[1].type !== "linePrefix" && l[1].type !== "listItemIndent") break;
|
|
13
|
+
s && (o[1].end = { ...p.get(s)[1].start }, u = p.slice(s, a), u.unshift(o), p.splice(s, a - s + 1, u));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return e(n, 0, Infinity, p.slice(0)), !f;
|
|
17
|
+
}
|
|
18
|
+
function r(e, t) {
|
|
19
|
+
let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
|
|
20
|
+
o || (o = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
|
|
21
|
+
let s = o.events, c = [], l = {}, u, d, f = -1, p = n, m = 0, h = 0, g = [h];
|
|
22
|
+
for (; p;) {
|
|
23
|
+
for (; e.get(++i)[1] !== p;);
|
|
24
|
+
a.push(i), p._tokenizer || (u = r.sliceStream(p), p.next || u.push(null), d && o.defineSkip(p.start), p._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = !0), o.write(u), p._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = void 0)), d = p, p = p.next;
|
|
25
|
+
}
|
|
26
|
+
for (p = n; ++f < s.length;) s[f][0] === "exit" && s[f - 1][0] === "enter" && s[f][1].type === s[f - 1][1].type && s[f][1].start.line !== s[f][1].end.line && (h = f + 1, g.push(h), p._tokenizer = void 0, p.previous = void 0, p = p.next);
|
|
27
|
+
for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : g.pop(), f = g.length; f--;) {
|
|
28
|
+
let t = s.slice(g[f], g[f + 1]), n = a.pop();
|
|
29
|
+
c.push([n, n + t.length - 1]), e.splice(n, 2, t);
|
|
30
|
+
}
|
|
31
|
+
for (c.reverse(), f = -1; ++f < c.length;) l[m + c[f][0]] = m + c[f][1], m += c[f][1] - c[f][0] - 1;
|
|
32
|
+
return l;
|
|
33
|
+
}
|
|
34
|
+
export { n as subtokenize };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
2
|
+
var e = class {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
this.left = e ? [...e] : [], this.right = [];
|
|
5
|
+
}
|
|
6
|
+
get(e) {
|
|
7
|
+
if (e < 0 || e >= this.left.length + this.right.length) throw RangeError("Cannot access index `" + e + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
|
|
8
|
+
return e < this.left.length ? this.left[e] : this.right[this.right.length - e + this.left.length - 1];
|
|
9
|
+
}
|
|
10
|
+
get length() {
|
|
11
|
+
return this.left.length + this.right.length;
|
|
12
|
+
}
|
|
13
|
+
shift() {
|
|
14
|
+
return this.setCursor(0), this.right.pop();
|
|
15
|
+
}
|
|
16
|
+
slice(e, t) {
|
|
17
|
+
let n = t ?? Infinity;
|
|
18
|
+
return n < this.left.length ? this.left.slice(e, n) : e > this.left.length ? this.right.slice(this.right.length - n + this.left.length, this.right.length - e + this.left.length).reverse() : this.left.slice(e).concat(this.right.slice(this.right.length - n + this.left.length).reverse());
|
|
19
|
+
}
|
|
20
|
+
splice(e, n, r) {
|
|
21
|
+
let i = n || 0;
|
|
22
|
+
this.setCursor(Math.trunc(e));
|
|
23
|
+
let a = this.right.splice(this.right.length - i, Infinity);
|
|
24
|
+
return r && t(this.left, r), a.reverse();
|
|
25
|
+
}
|
|
26
|
+
pop() {
|
|
27
|
+
return this.setCursor(Infinity), this.left.pop();
|
|
28
|
+
}
|
|
29
|
+
push(e) {
|
|
30
|
+
this.setCursor(Infinity), this.left.push(e);
|
|
31
|
+
}
|
|
32
|
+
pushMany(e) {
|
|
33
|
+
this.setCursor(Infinity), t(this.left, e);
|
|
34
|
+
}
|
|
35
|
+
unshift(e) {
|
|
36
|
+
this.setCursor(0), this.right.push(e);
|
|
37
|
+
}
|
|
38
|
+
unshiftMany(e) {
|
|
39
|
+
this.setCursor(0), t(this.right, e.reverse());
|
|
40
|
+
}
|
|
41
|
+
setCursor(e) {
|
|
42
|
+
if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0)) {
|
|
43
|
+
if (e < this.left.length) {
|
|
44
|
+
let n = this.left.splice(e, Infinity);
|
|
45
|
+
t(this.right, n.reverse());
|
|
46
|
+
} else {
|
|
47
|
+
let n = this.right.splice(this.left.length + this.right.length - e, Infinity);
|
|
48
|
+
t(this.left, n.reverse());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
function t(e, t) {
|
|
54
|
+
let n = 0;
|
|
55
|
+
if (t.length < 1e4) e.push(...t);
|
|
56
|
+
else for (; n < t.length;) e.push(...t.slice(n, n + 1e4)), n += 1e4;
|
|
57
|
+
}
|
|
58
|
+
export { e as SpliceBuffer };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { __exportAll as e } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { attention as t } from "../../micromark-core-commonmark@2.0.4/lib/attention.mjs";
|
|
3
|
+
import { autolink as n } from "../../micromark-core-commonmark@2.0.4/lib/autolink.mjs";
|
|
4
|
+
import { blockQuote as r } from "../../micromark-core-commonmark@2.0.4/lib/block-quote.mjs";
|
|
5
|
+
import { characterEscape as i } from "../../micromark-core-commonmark@2.0.4/lib/character-escape.mjs";
|
|
6
|
+
import { characterReference as a } from "../../micromark-core-commonmark@2.0.4/lib/character-reference.mjs";
|
|
7
|
+
import { codeFenced as o } from "../../micromark-core-commonmark@2.0.4/lib/code-fenced.mjs";
|
|
8
|
+
import { codeIndented as s } from "../../micromark-core-commonmark@2.0.4/lib/code-indented.mjs";
|
|
9
|
+
import { codeText as c } from "../../micromark-core-commonmark@2.0.4/lib/code-text.mjs";
|
|
10
|
+
import { definition as l } from "../../micromark-core-commonmark@2.0.4/lib/definition.mjs";
|
|
11
|
+
import { hardBreakEscape as u } from "../../micromark-core-commonmark@2.0.4/lib/hard-break-escape.mjs";
|
|
12
|
+
import { headingAtx as d } from "../../micromark-core-commonmark@2.0.4/lib/heading-atx.mjs";
|
|
13
|
+
import { htmlFlow as f } from "../../micromark-core-commonmark@2.0.4/lib/html-flow.mjs";
|
|
14
|
+
import { htmlText as p } from "../../micromark-core-commonmark@2.0.4/lib/html-text.mjs";
|
|
15
|
+
import { labelEnd as m } from "../../micromark-core-commonmark@2.0.4/lib/label-end.mjs";
|
|
16
|
+
import { labelStartImage as h } from "../../micromark-core-commonmark@2.0.4/lib/label-start-image.mjs";
|
|
17
|
+
import { labelStartLink as g } from "../../micromark-core-commonmark@2.0.4/lib/label-start-link.mjs";
|
|
18
|
+
import { lineEnding as _ } from "../../micromark-core-commonmark@2.0.4/lib/line-ending.mjs";
|
|
19
|
+
import { list as v } from "../../micromark-core-commonmark@2.0.4/lib/list.mjs";
|
|
20
|
+
import { setextUnderline as y } from "../../micromark-core-commonmark@2.0.4/lib/setext-underline.mjs";
|
|
21
|
+
import { thematicBreak as b } from "../../micromark-core-commonmark@2.0.4/lib/thematic-break.mjs";
|
|
22
|
+
import { resolver as x } from "./initialize/text.mjs";
|
|
23
|
+
// ../../node_modules/.pnpm/micromark@4.0.3_supports-color@7.2.0/node_modules/micromark/lib/constructs.js
|
|
24
|
+
var S = /* @__PURE__ */ e({
|
|
25
|
+
attentionMarkers: () => A,
|
|
26
|
+
contentInitial: () => w,
|
|
27
|
+
disable: () => j,
|
|
28
|
+
document: () => C,
|
|
29
|
+
flow: () => E,
|
|
30
|
+
flowInitial: () => T,
|
|
31
|
+
insideSpan: () => k,
|
|
32
|
+
string: () => D,
|
|
33
|
+
text: () => O
|
|
34
|
+
}), C = {
|
|
35
|
+
42: v,
|
|
36
|
+
43: v,
|
|
37
|
+
45: v,
|
|
38
|
+
48: v,
|
|
39
|
+
49: v,
|
|
40
|
+
50: v,
|
|
41
|
+
51: v,
|
|
42
|
+
52: v,
|
|
43
|
+
53: v,
|
|
44
|
+
54: v,
|
|
45
|
+
55: v,
|
|
46
|
+
56: v,
|
|
47
|
+
57: v,
|
|
48
|
+
62: r
|
|
49
|
+
}, w = { 91: l }, T = {
|
|
50
|
+
[-2]: s,
|
|
51
|
+
[-1]: s,
|
|
52
|
+
32: s
|
|
53
|
+
}, E = {
|
|
54
|
+
35: d,
|
|
55
|
+
42: b,
|
|
56
|
+
45: [y, b],
|
|
57
|
+
60: f,
|
|
58
|
+
61: y,
|
|
59
|
+
95: b,
|
|
60
|
+
96: o,
|
|
61
|
+
126: o
|
|
62
|
+
}, D = {
|
|
63
|
+
38: a,
|
|
64
|
+
92: i
|
|
65
|
+
}, O = {
|
|
66
|
+
[-5]: _,
|
|
67
|
+
[-4]: _,
|
|
68
|
+
[-3]: _,
|
|
69
|
+
33: h,
|
|
70
|
+
38: a,
|
|
71
|
+
42: t,
|
|
72
|
+
60: [n, p],
|
|
73
|
+
91: g,
|
|
74
|
+
92: [u, i],
|
|
75
|
+
93: m,
|
|
76
|
+
95: t,
|
|
77
|
+
96: c
|
|
78
|
+
}, k = { null: [t, x] }, A = { null: [42, 95] }, j = { null: [] };
|
|
79
|
+
export { A as attentionMarkers, S as constructs_exports, w as contentInitial, j as disable, C as document, E as flow, T as flowInitial, k as insideSpan, D as string, O as text };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { markdownLineEnding as e } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
2
|
+
import { push as t, splice as n } from "../../micromark-util-chunked@2.0.1/index.mjs";
|
|
3
|
+
import { resolveAll as r } from "../../micromark-util-resolve-all@2.0.1/index.mjs";
|
|
4
|
+
// ../../node_modules/.pnpm/micromark@4.0.3_supports-color@7.2.0/node_modules/micromark/lib/create-tokenizer.js
|
|
5
|
+
function i(i, s, c) {
|
|
6
|
+
let l = {
|
|
7
|
+
_bufferIndex: -1,
|
|
8
|
+
_index: 0,
|
|
9
|
+
line: c && c.line || 1,
|
|
10
|
+
column: c && c.column || 1,
|
|
11
|
+
offset: c && c.offset || 0
|
|
12
|
+
}, u = {}, d = [], f = [], p = [], m = {
|
|
13
|
+
attempt: k(D),
|
|
14
|
+
check: k(O),
|
|
15
|
+
consume: w,
|
|
16
|
+
enter: T,
|
|
17
|
+
exit: E,
|
|
18
|
+
interrupt: k(O, { interrupt: !0 })
|
|
19
|
+
}, h = {
|
|
20
|
+
code: null,
|
|
21
|
+
containerState: {},
|
|
22
|
+
defineSkip: x,
|
|
23
|
+
events: [],
|
|
24
|
+
now: b,
|
|
25
|
+
parser: i,
|
|
26
|
+
previous: null,
|
|
27
|
+
sliceSerialize: v,
|
|
28
|
+
sliceStream: y,
|
|
29
|
+
write: _
|
|
30
|
+
}, g = s.tokenize.call(h, m);
|
|
31
|
+
return s.resolveAll && d.push(s), h;
|
|
32
|
+
function _(e) {
|
|
33
|
+
return f = t(f, e), S(), f[f.length - 1] === null ? (A(s, 0), h.events = r(d, h.events, h), h.events) : [];
|
|
34
|
+
}
|
|
35
|
+
function v(e, t) {
|
|
36
|
+
return o(y(e), t);
|
|
37
|
+
}
|
|
38
|
+
function y(e) {
|
|
39
|
+
return a(f, e);
|
|
40
|
+
}
|
|
41
|
+
function b() {
|
|
42
|
+
let { _bufferIndex: e, _index: t, line: n, column: r, offset: i } = l;
|
|
43
|
+
return {
|
|
44
|
+
_bufferIndex: e,
|
|
45
|
+
_index: t,
|
|
46
|
+
line: n,
|
|
47
|
+
column: r,
|
|
48
|
+
offset: i
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function x(e) {
|
|
52
|
+
u[e.line] = e.column, M();
|
|
53
|
+
}
|
|
54
|
+
function S() {
|
|
55
|
+
for (; l._index < f.length;) {
|
|
56
|
+
let e = f[l._index];
|
|
57
|
+
if (typeof e == "string") {
|
|
58
|
+
let t = l._index;
|
|
59
|
+
for (l._bufferIndex < 0 && (l._bufferIndex = 0); l._index === t && l._bufferIndex < e.length;) C(e.charCodeAt(l._bufferIndex));
|
|
60
|
+
} else C(e);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function C(e) {
|
|
64
|
+
g = g(e);
|
|
65
|
+
}
|
|
66
|
+
function w(t) {
|
|
67
|
+
e(t) ? (l.line++, l.column = 1, l.offset += t === -3 ? 2 : 1, M()) : t !== -1 && (l.column++, l.offset++), l._bufferIndex < 0 ? l._index++ : (l._bufferIndex++, l._bufferIndex === f[l._index].length && (l._bufferIndex = -1, l._index++)), h.previous = t;
|
|
68
|
+
}
|
|
69
|
+
function T(e, t) {
|
|
70
|
+
let n = t || {};
|
|
71
|
+
return n.type = e, n.start = b(), h.events.push([
|
|
72
|
+
"enter",
|
|
73
|
+
n,
|
|
74
|
+
h
|
|
75
|
+
]), p.push(n), n;
|
|
76
|
+
}
|
|
77
|
+
function E(e) {
|
|
78
|
+
let t = p.pop();
|
|
79
|
+
return t.end = b(), h.events.push([
|
|
80
|
+
"exit",
|
|
81
|
+
t,
|
|
82
|
+
h
|
|
83
|
+
]), t;
|
|
84
|
+
}
|
|
85
|
+
function D(e, t) {
|
|
86
|
+
A(e, t.from);
|
|
87
|
+
}
|
|
88
|
+
function O(e, t) {
|
|
89
|
+
t.restore();
|
|
90
|
+
}
|
|
91
|
+
function k(e, t) {
|
|
92
|
+
return n;
|
|
93
|
+
function n(n, r, i) {
|
|
94
|
+
let a, o, s, c;
|
|
95
|
+
return Array.isArray(n) ? u(n) : "tokenize" in n ? u([n]) : l(n);
|
|
96
|
+
function l(e) {
|
|
97
|
+
return t;
|
|
98
|
+
function t(t) {
|
|
99
|
+
let n = t !== null && e[t], r = t !== null && e.null;
|
|
100
|
+
return u([...Array.isArray(n) ? n : n ? [n] : [], ...Array.isArray(r) ? r : r ? [r] : []])(t);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function u(e) {
|
|
104
|
+
return a = e, o = 0, e.length === 0 ? i : d(e[o]);
|
|
105
|
+
}
|
|
106
|
+
function d(e) {
|
|
107
|
+
return n;
|
|
108
|
+
function n(n) {
|
|
109
|
+
return c = j(), s = e, e.partial || (h.currentConstruct = e), e.name && h.parser.constructs.disable.null.includes(e.name) ? p(n) : e.tokenize.call(t ? Object.assign(Object.create(h), t) : h, m, f, p)(n);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function f(t) {
|
|
113
|
+
return e(s, c), r;
|
|
114
|
+
}
|
|
115
|
+
function p(e) {
|
|
116
|
+
return c.restore(), ++o < a.length ? d(a[o]) : i;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function A(e, t) {
|
|
121
|
+
e.resolveAll && !d.includes(e) && d.push(e), e.resolve && n(h.events, t, h.events.length - t, e.resolve(h.events.slice(t), h)), e.resolveTo && (h.events = e.resolveTo(h.events, h));
|
|
122
|
+
}
|
|
123
|
+
function j() {
|
|
124
|
+
let e = b(), t = h.previous, n = h.currentConstruct, r = h.events.length, i = Array.from(p);
|
|
125
|
+
return {
|
|
126
|
+
from: r,
|
|
127
|
+
restore: a
|
|
128
|
+
};
|
|
129
|
+
function a() {
|
|
130
|
+
l = e, h.previous = t, h.currentConstruct = n, h.events.length = r, p = i, M();
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function M() {
|
|
134
|
+
l.line in u && l.column < 2 && (l.column = u[l.line], l.offset += u[l.line] - 1);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
function a(e, t) {
|
|
138
|
+
let n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
|
|
139
|
+
if (n === i) o = [e[n].slice(r, a)];
|
|
140
|
+
else {
|
|
141
|
+
if (o = e.slice(n, i), r > -1) {
|
|
142
|
+
let e = o[0];
|
|
143
|
+
typeof e == "string" ? o[0] = e.slice(r) : o.shift();
|
|
144
|
+
}
|
|
145
|
+
a > 0 && o.push(e[i].slice(0, a));
|
|
146
|
+
}
|
|
147
|
+
return o;
|
|
148
|
+
}
|
|
149
|
+
function o(e, t) {
|
|
150
|
+
let n = -1, r = [], i;
|
|
151
|
+
for (; ++n < e.length;) {
|
|
152
|
+
let a = e[n], o;
|
|
153
|
+
if (typeof a == "string") o = a;
|
|
154
|
+
else switch (a) {
|
|
155
|
+
case -5:
|
|
156
|
+
o = "\r";
|
|
157
|
+
break;
|
|
158
|
+
case -4:
|
|
159
|
+
o = "\n";
|
|
160
|
+
break;
|
|
161
|
+
case -3:
|
|
162
|
+
o = "\r\n";
|
|
163
|
+
break;
|
|
164
|
+
case -2:
|
|
165
|
+
o = t ? " " : " ";
|
|
166
|
+
break;
|
|
167
|
+
case -1:
|
|
168
|
+
if (!t && i) continue;
|
|
169
|
+
o = " ";
|
|
170
|
+
break;
|
|
171
|
+
default: o = String.fromCharCode(a);
|
|
172
|
+
}
|
|
173
|
+
i = a === -2, r.push(o);
|
|
174
|
+
}
|
|
175
|
+
return r.join("");
|
|
176
|
+
}
|
|
177
|
+
export { i as createTokenizer };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { factorySpace as e } from "../../../micromark-factory-space@2.1.0/index.mjs";
|
|
2
|
+
import { markdownLineEnding as t } from "../../../micromark-util-character@2.1.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/micromark@4.0.3_supports-color@7.2.0/node_modules/micromark/lib/initialize/content.js
|
|
4
|
+
var n = { tokenize: r };
|
|
5
|
+
function r(n) {
|
|
6
|
+
let r = n.attempt(this.parser.constructs.contentInitial, a, o), i;
|
|
7
|
+
return r;
|
|
8
|
+
function a(t) {
|
|
9
|
+
if (t === null) n.consume(t);
|
|
10
|
+
else return n.enter("lineEnding"), n.consume(t), n.exit("lineEnding"), e(n, r, "linePrefix");
|
|
11
|
+
}
|
|
12
|
+
function o(e) {
|
|
13
|
+
return n.enter("paragraph"), s(e);
|
|
14
|
+
}
|
|
15
|
+
function s(e) {
|
|
16
|
+
let t = n.enter("chunkText", {
|
|
17
|
+
contentType: "text",
|
|
18
|
+
previous: i
|
|
19
|
+
});
|
|
20
|
+
return i && (i.next = t), i = t, c(e);
|
|
21
|
+
}
|
|
22
|
+
function c(e) {
|
|
23
|
+
if (e === null) n.exit("chunkText"), n.exit("paragraph"), n.consume(e);
|
|
24
|
+
else return t(e) ? (n.consume(e), n.exit("chunkText"), s) : (n.consume(e), c);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export { n as content };
|