@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,128 @@
|
|
|
1
|
+
import { ccount as e } from "../../ccount@2.0.1/index.mjs";
|
|
2
|
+
import "../../devlop@1.1.0/lib/default.mjs";
|
|
3
|
+
import { unicodePunctuation as t, unicodeWhitespace as n } from "../../micromark-util-character@2.1.1/index.mjs";
|
|
4
|
+
import { findAndReplace as r } from "../../mdast-util-find-and-replace@3.0.4/lib/index.mjs";
|
|
5
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
6
|
+
var i = "phrasing", a = [
|
|
7
|
+
"autolink",
|
|
8
|
+
"link",
|
|
9
|
+
"image",
|
|
10
|
+
"label"
|
|
11
|
+
];
|
|
12
|
+
function o() {
|
|
13
|
+
return {
|
|
14
|
+
transforms: [m],
|
|
15
|
+
enter: {
|
|
16
|
+
literalAutolink: c,
|
|
17
|
+
literalAutolinkEmail: l,
|
|
18
|
+
literalAutolinkHttp: l,
|
|
19
|
+
literalAutolinkWww: l
|
|
20
|
+
},
|
|
21
|
+
exit: {
|
|
22
|
+
literalAutolink: p,
|
|
23
|
+
literalAutolinkEmail: f,
|
|
24
|
+
literalAutolinkHttp: u,
|
|
25
|
+
literalAutolinkWww: d
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function s() {
|
|
30
|
+
return { unsafe: [
|
|
31
|
+
{
|
|
32
|
+
character: "@",
|
|
33
|
+
before: "[+\\-.\\w]",
|
|
34
|
+
after: "[\\-.\\w]",
|
|
35
|
+
inConstruct: i,
|
|
36
|
+
notInConstruct: a
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
character: ".",
|
|
40
|
+
before: "[Ww]",
|
|
41
|
+
after: "[\\-.\\w]",
|
|
42
|
+
inConstruct: i,
|
|
43
|
+
notInConstruct: a
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
character: ":",
|
|
47
|
+
before: "[ps]",
|
|
48
|
+
after: "\\/",
|
|
49
|
+
inConstruct: i,
|
|
50
|
+
notInConstruct: a
|
|
51
|
+
}
|
|
52
|
+
] };
|
|
53
|
+
}
|
|
54
|
+
function c(e) {
|
|
55
|
+
this.enter({
|
|
56
|
+
type: "link",
|
|
57
|
+
title: null,
|
|
58
|
+
url: "",
|
|
59
|
+
children: []
|
|
60
|
+
}, e);
|
|
61
|
+
}
|
|
62
|
+
function l(e) {
|
|
63
|
+
this.config.enter.autolinkProtocol.call(this, e);
|
|
64
|
+
}
|
|
65
|
+
function u(e) {
|
|
66
|
+
this.config.exit.autolinkProtocol.call(this, e);
|
|
67
|
+
}
|
|
68
|
+
function d(e) {
|
|
69
|
+
this.config.exit.data.call(this, e);
|
|
70
|
+
let t = this.stack[this.stack.length - 1];
|
|
71
|
+
t.type, t.url = "http://" + this.sliceSerialize(e);
|
|
72
|
+
}
|
|
73
|
+
function f(e) {
|
|
74
|
+
this.config.exit.autolinkEmail.call(this, e);
|
|
75
|
+
}
|
|
76
|
+
function p(e) {
|
|
77
|
+
this.exit(e);
|
|
78
|
+
}
|
|
79
|
+
function m(e) {
|
|
80
|
+
r(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, h], [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, g]], { ignore: ["link", "linkReference"] });
|
|
81
|
+
}
|
|
82
|
+
function h(e, t, n, r, i) {
|
|
83
|
+
let a = "";
|
|
84
|
+
if (!y(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !_(n))) return !1;
|
|
85
|
+
let o = v(n + r);
|
|
86
|
+
if (!o[0]) return !1;
|
|
87
|
+
let s = {
|
|
88
|
+
type: "link",
|
|
89
|
+
title: null,
|
|
90
|
+
url: a + t + o[0],
|
|
91
|
+
children: [{
|
|
92
|
+
type: "text",
|
|
93
|
+
value: t + o[0]
|
|
94
|
+
}]
|
|
95
|
+
};
|
|
96
|
+
return o[1] ? [s, {
|
|
97
|
+
type: "text",
|
|
98
|
+
value: o[1]
|
|
99
|
+
}] : s;
|
|
100
|
+
}
|
|
101
|
+
function g(e, t, n, r) {
|
|
102
|
+
return !y(r, !0) || /[-\d_]$/.test(n) ? !1 : {
|
|
103
|
+
type: "link",
|
|
104
|
+
title: null,
|
|
105
|
+
url: "mailto:" + t + "@" + n,
|
|
106
|
+
children: [{
|
|
107
|
+
type: "text",
|
|
108
|
+
value: t + "@" + n
|
|
109
|
+
}]
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function _(e) {
|
|
113
|
+
let t = e.split(".");
|
|
114
|
+
return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
|
|
115
|
+
}
|
|
116
|
+
function v(t) {
|
|
117
|
+
let n = /[!"&'),.:;<>?\]}]+$/.exec(t);
|
|
118
|
+
if (!n) return [t, void 0];
|
|
119
|
+
t = t.slice(0, n.index);
|
|
120
|
+
let r = n[0], i = r.indexOf(")"), a = e(t, "("), o = e(t, ")");
|
|
121
|
+
for (; i !== -1 && a > o;) t += r.slice(0, i + 1), r = r.slice(i + 1), i = r.indexOf(")"), o++;
|
|
122
|
+
return [t, r];
|
|
123
|
+
}
|
|
124
|
+
function y(e, r) {
|
|
125
|
+
let i = e.input.charCodeAt(e.index - 1);
|
|
126
|
+
return (e.index === 0 || n(i) || t(i)) && (!r || i !== 47);
|
|
127
|
+
}
|
|
128
|
+
export { o as gfmAutolinkLiteralFromMarkdown, s as gfmAutolinkLiteralToMarkdown };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import "../../devlop@1.1.0/lib/default.mjs";
|
|
2
|
+
import { normalizeIdentifier as e } from "../../micromark-util-normalize-identifier@2.0.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
4
|
+
u.peek = l;
|
|
5
|
+
function t() {
|
|
6
|
+
this.buffer();
|
|
7
|
+
}
|
|
8
|
+
function n(e) {
|
|
9
|
+
this.enter({
|
|
10
|
+
type: "footnoteReference",
|
|
11
|
+
identifier: "",
|
|
12
|
+
label: ""
|
|
13
|
+
}, e);
|
|
14
|
+
}
|
|
15
|
+
function r() {
|
|
16
|
+
this.buffer();
|
|
17
|
+
}
|
|
18
|
+
function i(e) {
|
|
19
|
+
this.enter({
|
|
20
|
+
type: "footnoteDefinition",
|
|
21
|
+
identifier: "",
|
|
22
|
+
label: "",
|
|
23
|
+
children: []
|
|
24
|
+
}, e);
|
|
25
|
+
}
|
|
26
|
+
function a(t) {
|
|
27
|
+
let n = this.resume(), r = this.stack[this.stack.length - 1];
|
|
28
|
+
r.type, r.identifier = e(this.sliceSerialize(t)).toLowerCase(), r.label = n;
|
|
29
|
+
}
|
|
30
|
+
function o(e) {
|
|
31
|
+
this.exit(e);
|
|
32
|
+
}
|
|
33
|
+
function s(t) {
|
|
34
|
+
let n = this.resume(), r = this.stack[this.stack.length - 1];
|
|
35
|
+
r.type, r.identifier = e(this.sliceSerialize(t)).toLowerCase(), r.label = n;
|
|
36
|
+
}
|
|
37
|
+
function c(e) {
|
|
38
|
+
this.exit(e);
|
|
39
|
+
}
|
|
40
|
+
function l() {
|
|
41
|
+
return "[";
|
|
42
|
+
}
|
|
43
|
+
function u(e, t, n, r) {
|
|
44
|
+
let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
|
|
45
|
+
return a += i.move(n.safe(n.associationId(e), {
|
|
46
|
+
after: "]",
|
|
47
|
+
before: a
|
|
48
|
+
})), s(), o(), a += i.move("]"), a;
|
|
49
|
+
}
|
|
50
|
+
function d() {
|
|
51
|
+
return {
|
|
52
|
+
enter: {
|
|
53
|
+
gfmFootnoteCallString: t,
|
|
54
|
+
gfmFootnoteCall: n,
|
|
55
|
+
gfmFootnoteDefinitionLabelString: r,
|
|
56
|
+
gfmFootnoteDefinition: i
|
|
57
|
+
},
|
|
58
|
+
exit: {
|
|
59
|
+
gfmFootnoteCallString: a,
|
|
60
|
+
gfmFootnoteCall: o,
|
|
61
|
+
gfmFootnoteDefinitionLabelString: s,
|
|
62
|
+
gfmFootnoteDefinition: c
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function f(e) {
|
|
67
|
+
let t = !1;
|
|
68
|
+
return e && e.firstLineBlank && (t = !0), {
|
|
69
|
+
handlers: {
|
|
70
|
+
footnoteDefinition: n,
|
|
71
|
+
footnoteReference: u
|
|
72
|
+
},
|
|
73
|
+
unsafe: [{
|
|
74
|
+
character: "[",
|
|
75
|
+
inConstruct: [
|
|
76
|
+
"label",
|
|
77
|
+
"phrasing",
|
|
78
|
+
"reference"
|
|
79
|
+
]
|
|
80
|
+
}]
|
|
81
|
+
};
|
|
82
|
+
function n(e, n, r, i) {
|
|
83
|
+
let a = r.createTracker(i), o = a.move("[^"), s = r.enter("footnoteDefinition"), c = r.enter("label");
|
|
84
|
+
return o += a.move(r.safe(r.associationId(e), {
|
|
85
|
+
before: o,
|
|
86
|
+
after: "]"
|
|
87
|
+
})), c(), o += a.move("]:"), e.children && e.children.length > 0 && (a.shift(4), o += a.move((t ? "\n" : " ") + r.indentLines(r.containerFlow(e, a.current()), t ? m : p))), s(), o;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function p(e, t, n) {
|
|
91
|
+
return t === 0 ? e : m(e, t, n);
|
|
92
|
+
}
|
|
93
|
+
function m(e, t, n) {
|
|
94
|
+
return (n ? "" : " ") + e;
|
|
95
|
+
}
|
|
96
|
+
export { d as gfmFootnoteFromMarkdown, f as gfmFootnoteToMarkdown };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.1_supports-color@7.2.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
2
|
+
var e = [
|
|
3
|
+
"autolink",
|
|
4
|
+
"destinationLiteral",
|
|
5
|
+
"destinationRaw",
|
|
6
|
+
"reference",
|
|
7
|
+
"titleQuote",
|
|
8
|
+
"titleApostrophe"
|
|
9
|
+
];
|
|
10
|
+
a.attention = o, a.peek = s;
|
|
11
|
+
function t() {
|
|
12
|
+
return {
|
|
13
|
+
canContainEols: ["delete"],
|
|
14
|
+
enter: { strikethrough: r },
|
|
15
|
+
exit: { strikethrough: i }
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function n() {
|
|
19
|
+
return {
|
|
20
|
+
handlers: { delete: a },
|
|
21
|
+
unsafe: [{
|
|
22
|
+
character: "~",
|
|
23
|
+
inConstruct: "phrasing",
|
|
24
|
+
notInConstruct: e
|
|
25
|
+
}]
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function r(e) {
|
|
29
|
+
this.enter({
|
|
30
|
+
type: "delete",
|
|
31
|
+
children: [],
|
|
32
|
+
position: void 0
|
|
33
|
+
}, e);
|
|
34
|
+
}
|
|
35
|
+
function i(e) {
|
|
36
|
+
this.exit(e);
|
|
37
|
+
}
|
|
38
|
+
function a(e, t, n, r) {
|
|
39
|
+
let i = n.createTracker(r), a = n.stack.includes("strikethrough") ? "~" : "~~", o = n.enter("strikethrough"), s = i.move(a);
|
|
40
|
+
return s += n.containerPhrasing(e, {
|
|
41
|
+
...i.current(),
|
|
42
|
+
before: s,
|
|
43
|
+
after: "~"
|
|
44
|
+
}), s += i.move(a), o(), s;
|
|
45
|
+
}
|
|
46
|
+
function o() {
|
|
47
|
+
return {
|
|
48
|
+
construct: "strikethrough",
|
|
49
|
+
markers: ["~"],
|
|
50
|
+
sizes: [2, 1]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function s() {
|
|
54
|
+
return "~";
|
|
55
|
+
}
|
|
56
|
+
export { t as gfmStrikethroughFromMarkdown, n as gfmStrikethroughToMarkdown };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import "../../devlop@1.1.0/lib/default.mjs";
|
|
2
|
+
import { markdownTable as e } from "../../markdown-table@3.0.4/index.mjs";
|
|
3
|
+
import { handle as t } from "../../mdast-util-to-markdown@2.2.0/lib/handle/index.mjs";
|
|
4
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-table/lib/index.js
|
|
5
|
+
function n() {
|
|
6
|
+
return {
|
|
7
|
+
enter: {
|
|
8
|
+
table: r,
|
|
9
|
+
tableData: s,
|
|
10
|
+
tableHeader: s,
|
|
11
|
+
tableRow: a
|
|
12
|
+
},
|
|
13
|
+
exit: {
|
|
14
|
+
codeText: c,
|
|
15
|
+
table: i,
|
|
16
|
+
tableData: o,
|
|
17
|
+
tableHeader: o,
|
|
18
|
+
tableRow: o
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function r(e) {
|
|
23
|
+
let t = e._align;
|
|
24
|
+
this.enter({
|
|
25
|
+
type: "table",
|
|
26
|
+
align: t.map(function(e) {
|
|
27
|
+
return e === "none" ? null : e;
|
|
28
|
+
}),
|
|
29
|
+
children: []
|
|
30
|
+
}, e), this.data.inTable = !0;
|
|
31
|
+
}
|
|
32
|
+
function i(e) {
|
|
33
|
+
this.exit(e), this.data.inTable = void 0;
|
|
34
|
+
}
|
|
35
|
+
function a(e) {
|
|
36
|
+
this.enter({
|
|
37
|
+
type: "tableRow",
|
|
38
|
+
children: []
|
|
39
|
+
}, e);
|
|
40
|
+
}
|
|
41
|
+
function o(e) {
|
|
42
|
+
this.exit(e);
|
|
43
|
+
}
|
|
44
|
+
function s(e) {
|
|
45
|
+
this.enter({
|
|
46
|
+
type: "tableCell",
|
|
47
|
+
children: []
|
|
48
|
+
}, e);
|
|
49
|
+
}
|
|
50
|
+
function c(e) {
|
|
51
|
+
let t = this.resume();
|
|
52
|
+
this.data.inTable && (t = t.replace(/\\([\\|])/g, l));
|
|
53
|
+
let n = this.stack[this.stack.length - 1];
|
|
54
|
+
n.type, n.value = t, this.exit(e);
|
|
55
|
+
}
|
|
56
|
+
function l(e, t) {
|
|
57
|
+
return t === "|" ? t : e;
|
|
58
|
+
}
|
|
59
|
+
function u(n) {
|
|
60
|
+
let r = n || {}, i = r.tableCellPadding, a = r.tablePipeAlign, o = r.stringLength, s = i ? " " : "|";
|
|
61
|
+
return {
|
|
62
|
+
unsafe: [
|
|
63
|
+
{
|
|
64
|
+
character: "\r",
|
|
65
|
+
inConstruct: "tableCell"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
character: "\n",
|
|
69
|
+
inConstruct: "tableCell"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
atBreak: !0,
|
|
73
|
+
character: "|",
|
|
74
|
+
after: "[ :-]"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
character: "|",
|
|
78
|
+
inConstruct: "tableCell"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
atBreak: !0,
|
|
82
|
+
character: ":",
|
|
83
|
+
after: "-"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
atBreak: !0,
|
|
87
|
+
character: "-",
|
|
88
|
+
after: "[:|-]"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
handlers: {
|
|
92
|
+
inlineCode: m,
|
|
93
|
+
table: c,
|
|
94
|
+
tableCell: u,
|
|
95
|
+
tableRow: l
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
function c(e, t, n, r) {
|
|
99
|
+
return d(f(e, n, r), e.align);
|
|
100
|
+
}
|
|
101
|
+
function l(e, t, n, r) {
|
|
102
|
+
let i = d([p(e, n, r)]);
|
|
103
|
+
return i.slice(0, i.indexOf("\n"));
|
|
104
|
+
}
|
|
105
|
+
function u(e, t, n, r) {
|
|
106
|
+
let i = n.enter("tableCell"), a = n.enter("phrasing"), o = n.containerPhrasing(e, {
|
|
107
|
+
...r,
|
|
108
|
+
before: s,
|
|
109
|
+
after: s
|
|
110
|
+
});
|
|
111
|
+
return a(), i(), o;
|
|
112
|
+
}
|
|
113
|
+
function d(t, n) {
|
|
114
|
+
return e(t, {
|
|
115
|
+
align: n,
|
|
116
|
+
alignDelimiters: a,
|
|
117
|
+
padding: i,
|
|
118
|
+
stringLength: o
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function f(e, t, n) {
|
|
122
|
+
let r = e.children, i = -1, a = [], o = t.enter("table");
|
|
123
|
+
for (; ++i < r.length;) a[i] = p(r[i], t, n);
|
|
124
|
+
return o(), a;
|
|
125
|
+
}
|
|
126
|
+
function p(e, t, n) {
|
|
127
|
+
let r = e.children, i = -1, a = [], o = t.enter("tableRow");
|
|
128
|
+
for (; ++i < r.length;) a[i] = u(r[i], e, t, n);
|
|
129
|
+
return o(), a;
|
|
130
|
+
}
|
|
131
|
+
function m(e, n, r) {
|
|
132
|
+
let i = t.inlineCode(e, n, r);
|
|
133
|
+
return r.stack.includes("tableCell") && (i = i.replace(/\|/g, "\\$&")), i;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
export { n as gfmTableFromMarkdown, u as gfmTableToMarkdown };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "../../devlop@1.1.0/lib/default.mjs";
|
|
2
|
+
import { handle as e } from "../../mdast-util-to-markdown@2.2.0/lib/handle/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0_supports-color@7.2.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
4
|
+
function t() {
|
|
5
|
+
return { exit: {
|
|
6
|
+
taskListCheckValueChecked: r,
|
|
7
|
+
taskListCheckValueUnchecked: r,
|
|
8
|
+
paragraph: i
|
|
9
|
+
} };
|
|
10
|
+
}
|
|
11
|
+
function n() {
|
|
12
|
+
return {
|
|
13
|
+
unsafe: [{
|
|
14
|
+
atBreak: !0,
|
|
15
|
+
character: "-",
|
|
16
|
+
after: "[:|-]"
|
|
17
|
+
}],
|
|
18
|
+
handlers: { listItem: a }
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function r(e) {
|
|
22
|
+
let t = this.stack[this.stack.length - 2];
|
|
23
|
+
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
24
|
+
}
|
|
25
|
+
function i(e) {
|
|
26
|
+
let t = this.stack[this.stack.length - 2];
|
|
27
|
+
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
28
|
+
let e = this.stack[this.stack.length - 1];
|
|
29
|
+
e.type;
|
|
30
|
+
let n = e.children[0];
|
|
31
|
+
if (n && n.type === "text") {
|
|
32
|
+
let r = t.children, i = -1, a;
|
|
33
|
+
for (; ++i < r.length;) {
|
|
34
|
+
let e = r[i];
|
|
35
|
+
if (e.type === "paragraph") {
|
|
36
|
+
a = e;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
a === e && (n.value = n.value.slice(1), n.value.length === 0 ? e.children.shift() : e.position && n.position && typeof n.position.start.offset == "number" && (n.position.start.column++, n.position.start.offset++, e.position.start = Object.assign({}, n.position.start)));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
this.exit(e);
|
|
44
|
+
}
|
|
45
|
+
function a(t, n, r, i) {
|
|
46
|
+
let a = t.children[0], o = typeof t.checked == "boolean" && a && a.type === "paragraph", s = "[" + (t.checked ? "x" : " ") + "] ", c = r.createTracker(i);
|
|
47
|
+
o && c.move(s);
|
|
48
|
+
let l = e.listItem(t, n, r, {
|
|
49
|
+
...i,
|
|
50
|
+
...c.current()
|
|
51
|
+
});
|
|
52
|
+
return o && (l = l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/, u)), l;
|
|
53
|
+
function u(e) {
|
|
54
|
+
return e + s;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export { t as gfmTaskListItemFromMarkdown, n as gfmTaskListItemToMarkdown };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { gfmAutolinkLiteralFromMarkdown as e, gfmAutolinkLiteralToMarkdown as t } from "../../mdast-util-gfm-autolink-literal@2.0.1/lib/index.mjs";
|
|
2
|
+
import { gfmFootnoteFromMarkdown as n, gfmFootnoteToMarkdown as r } from "../../mdast-util-gfm-footnote@2.1.0/lib/index.mjs";
|
|
3
|
+
import { gfmStrikethroughFromMarkdown as i, gfmStrikethroughToMarkdown as a } from "../../mdast-util-gfm-strikethrough@2.0.1/lib/index.mjs";
|
|
4
|
+
import { gfmTableFromMarkdown as o, gfmTableToMarkdown as s } from "../../mdast-util-gfm-table@2.0.0/lib/index.mjs";
|
|
5
|
+
import { gfmTaskListItemFromMarkdown as c, gfmTaskListItemToMarkdown as l } from "../../mdast-util-gfm-task-list-item@2.0.0/lib/index.mjs";
|
|
6
|
+
// ../../node_modules/.pnpm/mdast-util-gfm@3.1.0_supports-color@7.2.0/node_modules/mdast-util-gfm/lib/index.js
|
|
7
|
+
function u() {
|
|
8
|
+
return [
|
|
9
|
+
e(),
|
|
10
|
+
n(),
|
|
11
|
+
i(),
|
|
12
|
+
o(),
|
|
13
|
+
c()
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
function d(e) {
|
|
17
|
+
return { extensions: [
|
|
18
|
+
t(),
|
|
19
|
+
r(e),
|
|
20
|
+
a(),
|
|
21
|
+
s(e),
|
|
22
|
+
l()
|
|
23
|
+
] };
|
|
24
|
+
}
|
|
25
|
+
export { u as gfmFromMarkdown, d as gfmToMarkdown };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { convert as e } from "../../unist-util-is@6.0.1/lib/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
|
|
3
|
+
var t = e([
|
|
4
|
+
"break",
|
|
5
|
+
"delete",
|
|
6
|
+
"emphasis",
|
|
7
|
+
"footnote",
|
|
8
|
+
"footnoteReference",
|
|
9
|
+
"image",
|
|
10
|
+
"imageReference",
|
|
11
|
+
"inlineCode",
|
|
12
|
+
"inlineMath",
|
|
13
|
+
"link",
|
|
14
|
+
"linkReference",
|
|
15
|
+
"mdxJsxTextElement",
|
|
16
|
+
"mdxTextExpression",
|
|
17
|
+
"strong",
|
|
18
|
+
"text",
|
|
19
|
+
"textDirective"
|
|
20
|
+
]);
|
|
21
|
+
export { t as phrasing };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import e from "../../@ungap/structured-clone@1.4.0/esm/index.mjs";
|
|
2
|
+
import { normalizeUri as t } from "../../micromark-util-sanitize-uri@2.0.1/index.mjs";
|
|
3
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/footer.js
|
|
4
|
+
function n(e, t) {
|
|
5
|
+
let n = [{
|
|
6
|
+
type: "text",
|
|
7
|
+
value: "↩"
|
|
8
|
+
}];
|
|
9
|
+
return t > 1 && n.push({
|
|
10
|
+
type: "element",
|
|
11
|
+
tagName: "sup",
|
|
12
|
+
properties: {},
|
|
13
|
+
children: [{
|
|
14
|
+
type: "text",
|
|
15
|
+
value: String(t)
|
|
16
|
+
}]
|
|
17
|
+
}), n;
|
|
18
|
+
}
|
|
19
|
+
function r(e, t) {
|
|
20
|
+
return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : "");
|
|
21
|
+
}
|
|
22
|
+
function i(i) {
|
|
23
|
+
let a = typeof i.options.clobberPrefix == "string" ? i.options.clobberPrefix : "user-content-", o = i.options.footnoteBackContent || n, s = i.options.footnoteBackLabel || r, c = i.options.footnoteLabel || "Footnotes", l = i.options.footnoteLabelTagName || "h2", u = i.options.footnoteLabelProperties || { className: ["sr-only"] }, d = [], f = -1;
|
|
24
|
+
for (; ++f < i.footnoteOrder.length;) {
|
|
25
|
+
let e = i.footnoteById.get(i.footnoteOrder[f]);
|
|
26
|
+
if (!e) continue;
|
|
27
|
+
let n = i.all(e), r = String(e.identifier).toUpperCase(), c = t(r.toLowerCase()), l = 0, u = [], p = i.footnoteCounts.get(r);
|
|
28
|
+
for (; p !== void 0 && ++l <= p;) {
|
|
29
|
+
u.length > 0 && u.push({
|
|
30
|
+
type: "text",
|
|
31
|
+
value: " "
|
|
32
|
+
});
|
|
33
|
+
let e = typeof o == "string" ? o : o(f, l);
|
|
34
|
+
typeof e == "string" && (e = {
|
|
35
|
+
type: "text",
|
|
36
|
+
value: e
|
|
37
|
+
}), u.push({
|
|
38
|
+
type: "element",
|
|
39
|
+
tagName: "a",
|
|
40
|
+
properties: {
|
|
41
|
+
href: "#" + a + "fnref-" + c + (l > 1 ? "-" + l : ""),
|
|
42
|
+
dataFootnoteBackref: "",
|
|
43
|
+
ariaLabel: typeof s == "string" ? s : s(f, l),
|
|
44
|
+
className: ["data-footnote-backref"]
|
|
45
|
+
},
|
|
46
|
+
children: Array.isArray(e) ? e : [e]
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
let m = n[n.length - 1];
|
|
50
|
+
if (m && m.type === "element" && m.tagName === "p") {
|
|
51
|
+
let e = m.children[m.children.length - 1];
|
|
52
|
+
e && e.type === "text" ? e.value += " " : m.children.push({
|
|
53
|
+
type: "text",
|
|
54
|
+
value: " "
|
|
55
|
+
}), m.children.push(...u);
|
|
56
|
+
} else n.push(...u);
|
|
57
|
+
let h = {
|
|
58
|
+
type: "element",
|
|
59
|
+
tagName: "li",
|
|
60
|
+
properties: { id: a + "fn-" + c },
|
|
61
|
+
children: i.wrap(n, !0)
|
|
62
|
+
};
|
|
63
|
+
i.patch(e, h), d.push(h);
|
|
64
|
+
}
|
|
65
|
+
if (d.length !== 0) return {
|
|
66
|
+
type: "element",
|
|
67
|
+
tagName: "section",
|
|
68
|
+
properties: {
|
|
69
|
+
dataFootnotes: !0,
|
|
70
|
+
className: ["footnotes"]
|
|
71
|
+
},
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
type: "element",
|
|
75
|
+
tagName: l,
|
|
76
|
+
properties: {
|
|
77
|
+
...e(u),
|
|
78
|
+
id: "footnote-label"
|
|
79
|
+
},
|
|
80
|
+
children: [{
|
|
81
|
+
type: "text",
|
|
82
|
+
value: c
|
|
83
|
+
}]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: "text",
|
|
87
|
+
value: "\n"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: "element",
|
|
91
|
+
tagName: "ol",
|
|
92
|
+
properties: {},
|
|
93
|
+
children: i.wrap(d, !0)
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: "text",
|
|
97
|
+
value: "\n"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export { n as defaultFootnoteBackContent, r as defaultFootnoteBackLabel, i as footer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = {
|
|
4
|
+
type: "element",
|
|
5
|
+
tagName: "blockquote",
|
|
6
|
+
properties: {},
|
|
7
|
+
children: e.wrap(e.all(t), !0)
|
|
8
|
+
};
|
|
9
|
+
return e.patch(t, n), e.applyData(t, n);
|
|
10
|
+
}
|
|
11
|
+
export { e as blockquote };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/break.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = {
|
|
4
|
+
type: "element",
|
|
5
|
+
tagName: "br",
|
|
6
|
+
properties: {},
|
|
7
|
+
children: []
|
|
8
|
+
};
|
|
9
|
+
return e.patch(t, n), [e.applyData(t, n), {
|
|
10
|
+
type: "text",
|
|
11
|
+
value: "\n"
|
|
12
|
+
}];
|
|
13
|
+
}
|
|
14
|
+
export { e as hardBreak };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/code.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = t.value ? t.value + "\n" : "", r = {}, i = t.lang ? t.lang.split(/\s+/) : [];
|
|
4
|
+
i.length > 0 && (r.className = ["language-" + i[0]]);
|
|
5
|
+
let a = {
|
|
6
|
+
type: "element",
|
|
7
|
+
tagName: "code",
|
|
8
|
+
properties: r,
|
|
9
|
+
children: [{
|
|
10
|
+
type: "text",
|
|
11
|
+
value: n
|
|
12
|
+
}]
|
|
13
|
+
};
|
|
14
|
+
return t.meta && (a.data = { meta: t.meta }), e.patch(t, a), a = e.applyData(t, a), a = {
|
|
15
|
+
type: "element",
|
|
16
|
+
tagName: "pre",
|
|
17
|
+
properties: {},
|
|
18
|
+
children: [a]
|
|
19
|
+
}, e.patch(t, a), a;
|
|
20
|
+
}
|
|
21
|
+
export { e as code };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/delete.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = {
|
|
4
|
+
type: "element",
|
|
5
|
+
tagName: "del",
|
|
6
|
+
properties: {},
|
|
7
|
+
children: e.all(t)
|
|
8
|
+
};
|
|
9
|
+
return e.patch(t, n), e.applyData(t, n);
|
|
10
|
+
}
|
|
11
|
+
export { e as strikethrough };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = {
|
|
4
|
+
type: "element",
|
|
5
|
+
tagName: "em",
|
|
6
|
+
properties: {},
|
|
7
|
+
children: e.all(t)
|
|
8
|
+
};
|
|
9
|
+
return e.patch(t, n), e.applyData(t, n);
|
|
10
|
+
}
|
|
11
|
+
export { e as emphasis };
|