@jonmilner/ui 0.23.1 → 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 +2 -2
- package/dist/ColorField/ColorField.css.mjs +1 -1
- package/dist/Combobox/Combobox.css +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/TextField/TextField.css.mjs +2 -2
- package/dist/Textarea/Textarea.css +2 -2
- package/dist/Textarea/Textarea.css.mjs +17 -8
- package/dist/Textarea/client.mjs +52 -0
- package/dist/Textarea/index.d.mts +6 -1
- package/dist/Textarea/index.mjs +54 -34
- 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/Textarea.md +49 -3
- package/dist/docs/llms.txt +2 -1
- package/dist/docs/manifest.json +50 -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/control-inset.mjs +7 -0
- 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,6 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = t || {};
|
|
4
|
+
return (e[e.length - 1] === "" ? [...e, ""] : e).join((n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")).trim();
|
|
5
|
+
}
|
|
6
|
+
export { e as stringify };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { characterEntities as e } from "../character-entities@2.0.2/index.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.js
|
|
3
|
+
var t = {}.hasOwnProperty;
|
|
4
|
+
function n(n) {
|
|
5
|
+
return t.call(e, n) ? e[n] : !1;
|
|
6
|
+
}
|
|
7
|
+
export { n as decodeNamedCharacterReference };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (typeof e != "string") throw TypeError("Expected a string");
|
|
4
|
+
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
5
|
+
}
|
|
6
|
+
export { e as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js
|
|
2
|
+
var e = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, t = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, n = {};
|
|
3
|
+
function r(r, i) {
|
|
4
|
+
return ((i || n).jsx ? t : e).test(r);
|
|
5
|
+
}
|
|
6
|
+
export { r as name };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
|
|
5
|
+
return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
|
|
6
|
+
}, s = function(e) {
|
|
7
|
+
if (!e || r.call(e) !== "[object Object]") return !1;
|
|
8
|
+
var t = n.call(e, "constructor"), i = e.constructor && e.constructor.prototype && n.call(e.constructor.prototype, "isPrototypeOf");
|
|
9
|
+
if (e.constructor && !t && !i) return !1;
|
|
10
|
+
for (var a in e);
|
|
11
|
+
return a === void 0 || n.call(e, a);
|
|
12
|
+
}, c = function(e, t) {
|
|
13
|
+
i && t.name === "__proto__" ? i(e, t.name, {
|
|
14
|
+
enumerable: !0,
|
|
15
|
+
configurable: !0,
|
|
16
|
+
value: t.newValue,
|
|
17
|
+
writable: !0
|
|
18
|
+
}) : e[t.name] = t.newValue;
|
|
19
|
+
}, l = function(e, t) {
|
|
20
|
+
if (t === "__proto__") {
|
|
21
|
+
if (!n.call(e, t)) return;
|
|
22
|
+
if (a) return a(e, t).value;
|
|
23
|
+
}
|
|
24
|
+
return e[t];
|
|
25
|
+
};
|
|
26
|
+
t.exports = function e() {
|
|
27
|
+
var t, n, r, i, a, u, d = arguments[0], f = 1, p = arguments.length, m = !1;
|
|
28
|
+
for (typeof d == "boolean" && (m = d, d = arguments[1] || {}, f = 2), (d == null || typeof d != "object" && typeof d != "function") && (d = {}); f < p; ++f) if (t = arguments[f], t != null) for (n in t) r = l(d, n), i = l(t, n), d !== i && (m && i && (s(i) || (a = o(i))) ? (a ? (a = !1, u = r && o(r) ? r : []) : u = r && s(r) ? r : {}, c(d, {
|
|
29
|
+
name: n,
|
|
30
|
+
newValue: e(m, u, i)
|
|
31
|
+
})) : i !== void 0 && c(d, {
|
|
32
|
+
name: n,
|
|
33
|
+
newValue: i
|
|
34
|
+
}));
|
|
35
|
+
return d;
|
|
36
|
+
};
|
|
37
|
+
}));
|
|
38
|
+
export default t();
|
|
39
|
+
export { t as require_extend };
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { stringify as t } from "../../comma-separated-tokens@2.0.3/index.mjs";
|
|
3
|
+
import "../../devlop@1.1.0/lib/default.mjs";
|
|
4
|
+
import { name as n } from "../../estree-util-is-identifier-name@3.0.0/lib/index.mjs";
|
|
5
|
+
import { whitespace as r } from "../../hast-util-whitespace@3.0.0/lib/index.mjs";
|
|
6
|
+
import { hastToReact as i } from "../../property-information@7.2.0/lib/hast-to-react.mjs";
|
|
7
|
+
import { find as a } from "../../property-information@7.2.0/lib/find.mjs";
|
|
8
|
+
import { html as o, svg as s } from "../../property-information@7.2.0/index.mjs";
|
|
9
|
+
import { stringify as c } from "../../space-separated-tokens@2.0.2/index.mjs";
|
|
10
|
+
import { require_cjs as l } from "../../style-to-js@1.1.21/cjs/index.mjs";
|
|
11
|
+
import { pointStart as u } from "../../unist-util-position@5.0.0/lib/index.mjs";
|
|
12
|
+
import { VFileMessage as d } from "../../vfile-message@4.0.3/lib/index.mjs";
|
|
13
|
+
// ../../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6_supports-color@7.2.0/node_modules/hast-util-to-jsx-runtime/lib/index.js
|
|
14
|
+
var f = /* @__PURE__ */ e(l(), 1), p = {}.hasOwnProperty, m = /* @__PURE__ */ new Map(), h = /[A-Z]/g, g = /* @__PURE__ */ new Set([
|
|
15
|
+
"table",
|
|
16
|
+
"tbody",
|
|
17
|
+
"thead",
|
|
18
|
+
"tfoot",
|
|
19
|
+
"tr"
|
|
20
|
+
]), _ = /* @__PURE__ */ new Set(["td", "th"]), v = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
21
|
+
function y(e, t) {
|
|
22
|
+
if (!t || t.Fragment === void 0) throw TypeError("Expected `Fragment` in options");
|
|
23
|
+
let n = t.filePath || void 0, r;
|
|
24
|
+
if (t.development) {
|
|
25
|
+
if (typeof t.jsxDEV != "function") throw TypeError("Expected `jsxDEV` in options when `development: true`");
|
|
26
|
+
r = A(n, t.jsxDEV);
|
|
27
|
+
} else {
|
|
28
|
+
if (typeof t.jsx != "function") throw TypeError("Expected `jsx` in production options");
|
|
29
|
+
if (typeof t.jsxs != "function") throw TypeError("Expected `jsxs` in production options");
|
|
30
|
+
r = k(n, t.jsx, t.jsxs);
|
|
31
|
+
}
|
|
32
|
+
let i = {
|
|
33
|
+
Fragment: t.Fragment,
|
|
34
|
+
ancestors: [],
|
|
35
|
+
components: t.components || {},
|
|
36
|
+
create: r,
|
|
37
|
+
elementAttributeNameCase: t.elementAttributeNameCase || "react",
|
|
38
|
+
evaluater: t.createEvaluater ? t.createEvaluater() : void 0,
|
|
39
|
+
filePath: n,
|
|
40
|
+
ignoreInvalidStyle: t.ignoreInvalidStyle || !1,
|
|
41
|
+
passKeys: t.passKeys !== !1,
|
|
42
|
+
passNode: t.passNode || !1,
|
|
43
|
+
schema: t.space === "svg" ? s : o,
|
|
44
|
+
stylePropertyNameCase: t.stylePropertyNameCase || "dom",
|
|
45
|
+
tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
|
|
46
|
+
}, a = b(i, e, void 0);
|
|
47
|
+
return a && typeof a != "string" ? a : i.create(e, i.Fragment, { children: a || void 0 }, void 0);
|
|
48
|
+
}
|
|
49
|
+
function b(e, t, n) {
|
|
50
|
+
if (t.type === "element") return x(e, t, n);
|
|
51
|
+
if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression") return S(e, t);
|
|
52
|
+
if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement") return w(e, t, n);
|
|
53
|
+
if (t.type === "mdxjsEsm") return C(e, t);
|
|
54
|
+
if (t.type === "root") return T(e, t, n);
|
|
55
|
+
if (t.type === "text") return E(e, t);
|
|
56
|
+
}
|
|
57
|
+
function x(e, t, n) {
|
|
58
|
+
let i = e.schema, a = i;
|
|
59
|
+
t.tagName.toLowerCase() === "svg" && i.space === "html" && (a = s, e.schema = a), e.ancestors.push(t);
|
|
60
|
+
let o = I(e, t.tagName, !1), c = j(e, t), l = N(e, t);
|
|
61
|
+
return g.has(t.tagName) && (l = l.filter(function(e) {
|
|
62
|
+
return typeof e != "string" || !r(e);
|
|
63
|
+
})), D(e, c, o, t), O(c, l), e.ancestors.pop(), e.schema = i, e.create(t, o, c, n);
|
|
64
|
+
}
|
|
65
|
+
function S(e, t) {
|
|
66
|
+
if (t.data && t.data.estree && e.evaluater) {
|
|
67
|
+
let n = t.data.estree.body[0];
|
|
68
|
+
return n.type, e.evaluater.evaluateExpression(n.expression);
|
|
69
|
+
}
|
|
70
|
+
L(e, t.position);
|
|
71
|
+
}
|
|
72
|
+
function C(e, t) {
|
|
73
|
+
if (t.data && t.data.estree && e.evaluater) return e.evaluater.evaluateProgram(t.data.estree);
|
|
74
|
+
L(e, t.position);
|
|
75
|
+
}
|
|
76
|
+
function w(e, t, n) {
|
|
77
|
+
let r = e.schema, i = r;
|
|
78
|
+
t.name === "svg" && r.space === "html" && (i = s, e.schema = i), e.ancestors.push(t);
|
|
79
|
+
let a = t.name === null ? e.Fragment : I(e, t.name, !0), o = M(e, t), c = N(e, t);
|
|
80
|
+
return D(e, o, a, t), O(o, c), e.ancestors.pop(), e.schema = r, e.create(t, a, o, n);
|
|
81
|
+
}
|
|
82
|
+
function T(e, t, n) {
|
|
83
|
+
let r = {};
|
|
84
|
+
return O(r, N(e, t)), e.create(t, e.Fragment, r, n);
|
|
85
|
+
}
|
|
86
|
+
function E(e, t) {
|
|
87
|
+
return t.value;
|
|
88
|
+
}
|
|
89
|
+
function D(e, t, n, r) {
|
|
90
|
+
typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
|
|
91
|
+
}
|
|
92
|
+
function O(e, t) {
|
|
93
|
+
if (t.length > 0) {
|
|
94
|
+
let n = t.length > 1 ? t : t[0];
|
|
95
|
+
n && (e.children = n);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function k(e, t, n) {
|
|
99
|
+
return r;
|
|
100
|
+
function r(e, r, i, a) {
|
|
101
|
+
let o = Array.isArray(i.children) ? n : t;
|
|
102
|
+
return a ? o(r, i, a) : o(r, i);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
function A(e, t) {
|
|
106
|
+
return n;
|
|
107
|
+
function n(n, r, i, a) {
|
|
108
|
+
let o = Array.isArray(i.children), s = u(n);
|
|
109
|
+
return t(r, i, a, o, {
|
|
110
|
+
columnNumber: s ? s.column - 1 : void 0,
|
|
111
|
+
fileName: e,
|
|
112
|
+
lineNumber: s ? s.line : void 0
|
|
113
|
+
}, void 0);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function j(e, t) {
|
|
117
|
+
let n = {}, r, i;
|
|
118
|
+
for (i in t.properties) if (i !== "children" && p.call(t.properties, i)) {
|
|
119
|
+
let a = P(e, i, t.properties[i]);
|
|
120
|
+
if (a) {
|
|
121
|
+
let [i, o] = a;
|
|
122
|
+
e.tableCellAlignToStyle && i === "align" && typeof o == "string" && _.has(t.tagName) ? r = o : n[i] = o;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
if (r) {
|
|
126
|
+
let t = n.style ||= {};
|
|
127
|
+
t[e.stylePropertyNameCase === "css" ? "text-align" : "textAlign"] = r;
|
|
128
|
+
}
|
|
129
|
+
return n;
|
|
130
|
+
}
|
|
131
|
+
function M(e, t) {
|
|
132
|
+
let n = {};
|
|
133
|
+
for (let r of t.attributes) if (r.type === "mdxJsxExpressionAttribute") {
|
|
134
|
+
if (r.data && r.data.estree && e.evaluater) {
|
|
135
|
+
let t = r.data.estree.body[0];
|
|
136
|
+
t.type;
|
|
137
|
+
let i = t.expression;
|
|
138
|
+
i.type;
|
|
139
|
+
let a = i.properties[0];
|
|
140
|
+
a.type, Object.assign(n, e.evaluater.evaluateExpression(a.argument));
|
|
141
|
+
} else L(e, t.position);
|
|
142
|
+
} else {
|
|
143
|
+
let i = r.name, a;
|
|
144
|
+
if (r.value && typeof r.value == "object") {
|
|
145
|
+
if (r.value.data && r.value.data.estree && e.evaluater) {
|
|
146
|
+
let t = r.value.data.estree.body[0];
|
|
147
|
+
t.type, a = e.evaluater.evaluateExpression(t.expression);
|
|
148
|
+
} else L(e, t.position);
|
|
149
|
+
} else a = r.value === null || r.value;
|
|
150
|
+
n[i] = a;
|
|
151
|
+
}
|
|
152
|
+
return n;
|
|
153
|
+
}
|
|
154
|
+
function N(e, t) {
|
|
155
|
+
let n = [], r = -1, i = e.passKeys ? /* @__PURE__ */ new Map() : m;
|
|
156
|
+
for (; ++r < t.children.length;) {
|
|
157
|
+
let a = t.children[r], o;
|
|
158
|
+
if (e.passKeys) {
|
|
159
|
+
let e = a.type === "element" ? a.tagName : a.type === "mdxJsxFlowElement" || a.type === "mdxJsxTextElement" ? a.name : void 0;
|
|
160
|
+
if (e) {
|
|
161
|
+
let t = i.get(e) || 0;
|
|
162
|
+
o = e + "-" + t, i.set(e, t + 1);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
let s = b(e, a, o);
|
|
166
|
+
s !== void 0 && n.push(s);
|
|
167
|
+
}
|
|
168
|
+
return n;
|
|
169
|
+
}
|
|
170
|
+
function P(e, n, r) {
|
|
171
|
+
let o = a(e.schema, n);
|
|
172
|
+
if (!(r == null || typeof r == "number" && Number.isNaN(r))) {
|
|
173
|
+
if (Array.isArray(r) && (r = o.commaSeparated ? t(r) : c(r)), o.property === "style") {
|
|
174
|
+
let t = typeof r == "object" ? r : F(e, String(r));
|
|
175
|
+
return e.stylePropertyNameCase === "css" && (t = R(t)), ["style", t];
|
|
176
|
+
}
|
|
177
|
+
return [e.elementAttributeNameCase === "react" && o.space ? i[o.property] || o.property : o.attribute, r];
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function F(e, t) {
|
|
181
|
+
try {
|
|
182
|
+
return (0, f.default)(t, { reactCompat: !0 });
|
|
183
|
+
} catch (t) {
|
|
184
|
+
if (e.ignoreInvalidStyle) return {};
|
|
185
|
+
let n = t, r = new d("Cannot parse `style` attribute", {
|
|
186
|
+
ancestors: e.ancestors,
|
|
187
|
+
cause: n,
|
|
188
|
+
ruleId: "style",
|
|
189
|
+
source: "hast-util-to-jsx-runtime"
|
|
190
|
+
});
|
|
191
|
+
throw r.file = e.filePath || void 0, r.url = v + "#cannot-parse-style-attribute", r;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
function I(e, t, r) {
|
|
195
|
+
let i;
|
|
196
|
+
if (!r) i = {
|
|
197
|
+
type: "Literal",
|
|
198
|
+
value: t
|
|
199
|
+
};
|
|
200
|
+
else if (t.includes(".")) {
|
|
201
|
+
let e = t.split("."), r = -1, a;
|
|
202
|
+
for (; ++r < e.length;) {
|
|
203
|
+
let t = n(e[r]) ? {
|
|
204
|
+
type: "Identifier",
|
|
205
|
+
name: e[r]
|
|
206
|
+
} : {
|
|
207
|
+
type: "Literal",
|
|
208
|
+
value: e[r]
|
|
209
|
+
};
|
|
210
|
+
a = a ? {
|
|
211
|
+
type: "MemberExpression",
|
|
212
|
+
object: a,
|
|
213
|
+
property: t,
|
|
214
|
+
computed: !!(r && t.type === "Literal"),
|
|
215
|
+
optional: !1
|
|
216
|
+
} : t;
|
|
217
|
+
}
|
|
218
|
+
i = a;
|
|
219
|
+
} else i = n(t) && !/^[a-z]/.test(t) ? {
|
|
220
|
+
type: "Identifier",
|
|
221
|
+
name: t
|
|
222
|
+
} : {
|
|
223
|
+
type: "Literal",
|
|
224
|
+
value: t
|
|
225
|
+
};
|
|
226
|
+
if (i.type === "Literal") {
|
|
227
|
+
let t = i.value;
|
|
228
|
+
return p.call(e.components, t) ? e.components[t] : t;
|
|
229
|
+
}
|
|
230
|
+
if (e.evaluater) return e.evaluater.evaluateExpression(i);
|
|
231
|
+
L(e);
|
|
232
|
+
}
|
|
233
|
+
function L(e, t) {
|
|
234
|
+
let n = new d("Cannot handle MDX estrees without `createEvaluater`", {
|
|
235
|
+
ancestors: e.ancestors,
|
|
236
|
+
place: t,
|
|
237
|
+
ruleId: "mdx-estree",
|
|
238
|
+
source: "hast-util-to-jsx-runtime"
|
|
239
|
+
});
|
|
240
|
+
throw n.file = e.filePath || void 0, n.url = v + "#cannot-handle-mdx-estrees-without-createevaluater", n;
|
|
241
|
+
}
|
|
242
|
+
function R(e) {
|
|
243
|
+
let t = {}, n;
|
|
244
|
+
for (n in e) p.call(e, n) && (t[z(n)] = e[n]);
|
|
245
|
+
return t;
|
|
246
|
+
}
|
|
247
|
+
function z(e) {
|
|
248
|
+
let t = e.replace(h, B);
|
|
249
|
+
return t.slice(0, 3) === "ms-" && (t = "-" + t), t;
|
|
250
|
+
}
|
|
251
|
+
function B(e) {
|
|
252
|
+
return "-" + e.toLowerCase();
|
|
253
|
+
}
|
|
254
|
+
export { y as toJsxRuntime };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js
|
|
2
|
+
var e = /[ \t\n\f\r]/g;
|
|
3
|
+
function t(e) {
|
|
4
|
+
return typeof e == "object" ? e.type === "text" && n(e.value) : n(e);
|
|
5
|
+
}
|
|
6
|
+
function n(t) {
|
|
7
|
+
return t.replace(e, "") === "";
|
|
8
|
+
}
|
|
9
|
+
export { t as whitespace };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/html-url-attributes@3.0.1/node_modules/html-url-attributes/lib/index.js
|
|
2
|
+
var e = {
|
|
3
|
+
action: ["form"],
|
|
4
|
+
cite: [
|
|
5
|
+
"blockquote",
|
|
6
|
+
"del",
|
|
7
|
+
"ins",
|
|
8
|
+
"q"
|
|
9
|
+
],
|
|
10
|
+
data: ["object"],
|
|
11
|
+
formAction: ["button", "input"],
|
|
12
|
+
href: [
|
|
13
|
+
"a",
|
|
14
|
+
"area",
|
|
15
|
+
"base",
|
|
16
|
+
"link"
|
|
17
|
+
],
|
|
18
|
+
icon: ["menuitem"],
|
|
19
|
+
itemId: null,
|
|
20
|
+
manifest: ["html"],
|
|
21
|
+
ping: ["a", "area"],
|
|
22
|
+
poster: ["video"],
|
|
23
|
+
src: [
|
|
24
|
+
"audio",
|
|
25
|
+
"embed",
|
|
26
|
+
"iframe",
|
|
27
|
+
"img",
|
|
28
|
+
"input",
|
|
29
|
+
"script",
|
|
30
|
+
"source",
|
|
31
|
+
"track",
|
|
32
|
+
"video"
|
|
33
|
+
]
|
|
34
|
+
};
|
|
35
|
+
export { e as urlAttributes };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
// ../../node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, r = /\n/g, i = /^\s*/, a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, c = /^[;\s]*/, l = /^\s+|\s+$/g;
|
|
5
|
+
function u(e, t) {
|
|
6
|
+
if (typeof e != "string") throw TypeError("First argument must be a string");
|
|
7
|
+
if (!e) return [];
|
|
8
|
+
t ||= {};
|
|
9
|
+
var l = 1, u = 1;
|
|
10
|
+
function f(e) {
|
|
11
|
+
var t = e.match(r);
|
|
12
|
+
t && (l += t.length);
|
|
13
|
+
var n = e.lastIndexOf("\n");
|
|
14
|
+
u = ~n ? e.length - n : u + e.length;
|
|
15
|
+
}
|
|
16
|
+
function p() {
|
|
17
|
+
var e = {
|
|
18
|
+
line: l,
|
|
19
|
+
column: u
|
|
20
|
+
};
|
|
21
|
+
return function(t) {
|
|
22
|
+
return t.position = new m(e), _(), t;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function m(e) {
|
|
26
|
+
this.start = e, this.end = {
|
|
27
|
+
line: l,
|
|
28
|
+
column: u
|
|
29
|
+
}, this.source = t.source;
|
|
30
|
+
}
|
|
31
|
+
m.prototype.content = e;
|
|
32
|
+
function h(n) {
|
|
33
|
+
var r = /* @__PURE__ */ Error(t.source + ":" + l + ":" + u + ": " + n);
|
|
34
|
+
if (r.reason = n, r.filename = t.source, r.line = l, r.column = u, r.source = e, !t.silent) throw r;
|
|
35
|
+
}
|
|
36
|
+
function g(t) {
|
|
37
|
+
var n = t.exec(e);
|
|
38
|
+
if (n) {
|
|
39
|
+
var r = n[0];
|
|
40
|
+
return f(r), e = e.slice(r.length), n;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function _() {
|
|
44
|
+
g(i);
|
|
45
|
+
}
|
|
46
|
+
function v(e) {
|
|
47
|
+
var t;
|
|
48
|
+
for (e ||= []; t = y();) t !== !1 && e.push(t);
|
|
49
|
+
return e;
|
|
50
|
+
}
|
|
51
|
+
function y() {
|
|
52
|
+
var t = p();
|
|
53
|
+
if (e.charAt(0) == "/" && e.charAt(1) == "*") {
|
|
54
|
+
for (var n = 2; e.charAt(n) != "" && (e.charAt(n) != "*" || e.charAt(n + 1) != "/");) ++n;
|
|
55
|
+
if (n += 2, e.charAt(n - 1) === "") return h("End of comment missing");
|
|
56
|
+
var r = e.slice(2, n - 2);
|
|
57
|
+
return u += 2, f(r), e = e.slice(n), u += 2, t({
|
|
58
|
+
type: "comment",
|
|
59
|
+
comment: r
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function b() {
|
|
64
|
+
var e = p(), t = g(a);
|
|
65
|
+
if (t) {
|
|
66
|
+
if (y(), !g(o)) return h("property missing ':'");
|
|
67
|
+
var r = g(s), i = e({
|
|
68
|
+
type: "declaration",
|
|
69
|
+
property: d(t[0].replace(n, "")),
|
|
70
|
+
value: r ? d(r[0].replace(n, "")) : ""
|
|
71
|
+
});
|
|
72
|
+
return g(c), i;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function x() {
|
|
76
|
+
var e = [];
|
|
77
|
+
v(e);
|
|
78
|
+
for (var t; t = b();) t !== !1 && (e.push(t), v(e));
|
|
79
|
+
return e;
|
|
80
|
+
}
|
|
81
|
+
return _(), x();
|
|
82
|
+
}
|
|
83
|
+
function d(e) {
|
|
84
|
+
return e ? e.replace(l, "") : "";
|
|
85
|
+
}
|
|
86
|
+
t.exports = u;
|
|
87
|
+
}));
|
|
88
|
+
export default t();
|
|
89
|
+
export { t as require_cjs };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
if (typeof e != "object" || !e) return !1;
|
|
4
|
+
let t = Object.getPrototypeOf(e);
|
|
5
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
6
|
+
}
|
|
7
|
+
export { e as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
let n = String(e), r = n.indexOf(t), i = r, a = 0, o = 0;
|
|
4
|
+
if (typeof t != "string") throw TypeError("Expected substring");
|
|
5
|
+
for (; r !== -1;) r === i ? ++a > o && (o = a) : a = 1, i = r + t.length, r = n.indexOf(t, i);
|
|
6
|
+
return o;
|
|
7
|
+
}
|
|
8
|
+
export { e as longestStreak };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e.length;
|
|
4
|
+
}
|
|
5
|
+
function t(t, i) {
|
|
6
|
+
let a = i || {}, o = (a.align || []).concat(), s = a.stringLength || e, c = [], l = [], u = [], d = [], f = 0, p = -1;
|
|
7
|
+
for (; ++p < t.length;) {
|
|
8
|
+
let e = [], r = [], i = -1;
|
|
9
|
+
for (t[p].length > f && (f = t[p].length); ++i < t[p].length;) {
|
|
10
|
+
let o = n(t[p][i]);
|
|
11
|
+
if (a.alignDelimiters !== !1) {
|
|
12
|
+
let e = s(o);
|
|
13
|
+
r[i] = e, (d[i] === void 0 || e > d[i]) && (d[i] = e);
|
|
14
|
+
}
|
|
15
|
+
e.push(o);
|
|
16
|
+
}
|
|
17
|
+
l[p] = e, u[p] = r;
|
|
18
|
+
}
|
|
19
|
+
let m = -1;
|
|
20
|
+
if (typeof o == "object" && "length" in o) for (; ++m < f;) c[m] = r(o[m]);
|
|
21
|
+
else {
|
|
22
|
+
let e = r(o);
|
|
23
|
+
for (; ++m < f;) c[m] = e;
|
|
24
|
+
}
|
|
25
|
+
m = -1;
|
|
26
|
+
let h = [], g = [];
|
|
27
|
+
for (; ++m < f;) {
|
|
28
|
+
let e = c[m], t = "", n = "";
|
|
29
|
+
e === 99 ? (t = ":", n = ":") : e === 108 ? t = ":" : e === 114 && (n = ":");
|
|
30
|
+
let r = a.alignDelimiters === !1 ? 1 : Math.max(1, d[m] - t.length - n.length), i = t + "-".repeat(r) + n;
|
|
31
|
+
a.alignDelimiters !== !1 && (r = t.length + r + n.length, r > d[m] && (d[m] = r), g[m] = r), h[m] = i;
|
|
32
|
+
}
|
|
33
|
+
l.splice(1, 0, h), u.splice(1, 0, g), p = -1;
|
|
34
|
+
let _ = [];
|
|
35
|
+
for (; ++p < l.length;) {
|
|
36
|
+
let e = l[p], t = u[p];
|
|
37
|
+
m = -1;
|
|
38
|
+
let n = [];
|
|
39
|
+
for (; ++m < f;) {
|
|
40
|
+
let r = e[m] || "", i = "", o = "";
|
|
41
|
+
if (a.alignDelimiters !== !1) {
|
|
42
|
+
let e = d[m] - (t[m] || 0), n = c[m];
|
|
43
|
+
n === 114 ? i = " ".repeat(e) : n === 99 ? e % 2 ? (i = " ".repeat(e / 2 + .5), o = " ".repeat(e / 2 - .5)) : (i = " ".repeat(e / 2), o = i) : o = " ".repeat(e);
|
|
44
|
+
}
|
|
45
|
+
a.delimiterStart !== !1 && !m && n.push("|"), a.padding === !1 || a.alignDelimiters === !1 && r === "" || a.delimiterStart === !1 && !m || n.push(" "), a.alignDelimiters !== !1 && n.push(i), n.push(r), a.alignDelimiters !== !1 && n.push(o), a.padding !== !1 && n.push(" "), (a.delimiterEnd !== !1 || m !== f - 1) && n.push("|");
|
|
46
|
+
}
|
|
47
|
+
_.push(a.delimiterEnd === !1 ? n.join("").replace(/ +$/, "") : n.join(""));
|
|
48
|
+
}
|
|
49
|
+
return _.join("\n");
|
|
50
|
+
}
|
|
51
|
+
function n(e) {
|
|
52
|
+
return e == null ? "" : String(e);
|
|
53
|
+
}
|
|
54
|
+
function r(e) {
|
|
55
|
+
let t = typeof e == "string" ? e.codePointAt(0) : 0;
|
|
56
|
+
return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
|
|
57
|
+
}
|
|
58
|
+
export { t as markdownTable };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import e from "../../escape-string-regexp@5.0.0/index.mjs";
|
|
2
|
+
import { SKIP as t, visitParents as n } from "../../unist-util-visit-parents@6.1.0/lib/index.mjs";
|
|
3
|
+
import { convert as r } from "../../unist-util-is@6.0.1/lib/index.mjs";
|
|
4
|
+
// ../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.4/node_modules/mdast-util-find-and-replace/lib/index.js
|
|
5
|
+
function i(e, i, o) {
|
|
6
|
+
let s = r((o || {}).ignore || []), c = a(i), l = -1;
|
|
7
|
+
for (; ++l < c.length;) n(e, u);
|
|
8
|
+
function u(e, n, r) {
|
|
9
|
+
if (e.type === "text" && typeof r == "number") return d(e, n, r);
|
|
10
|
+
if (s(e, r, n[n.length - 1])) return t;
|
|
11
|
+
}
|
|
12
|
+
function d(e, t, n) {
|
|
13
|
+
let r = t[t.length - 1], i = c[l][0], a = c[l][1], o = 0, s = !1, u = [];
|
|
14
|
+
i.lastIndex = 0;
|
|
15
|
+
let d = i.exec(e.value);
|
|
16
|
+
for (; d;) {
|
|
17
|
+
let n = d.index, r = {
|
|
18
|
+
index: d.index,
|
|
19
|
+
input: d.input,
|
|
20
|
+
stack: [...t, e]
|
|
21
|
+
}, c = a(...d, r);
|
|
22
|
+
if (typeof c == "string" && (c = c.length > 0 ? {
|
|
23
|
+
type: "text",
|
|
24
|
+
value: c
|
|
25
|
+
} : void 0), c === !1) i.lastIndex = n + 1;
|
|
26
|
+
else {
|
|
27
|
+
if (o !== n && f({
|
|
28
|
+
type: "text",
|
|
29
|
+
value: e.value.slice(o, n)
|
|
30
|
+
}), Array.isArray(c)) for (let e of c) f(e);
|
|
31
|
+
else c && f(c);
|
|
32
|
+
o = n + d[0].length, s = !0;
|
|
33
|
+
}
|
|
34
|
+
if (!i.global) break;
|
|
35
|
+
d = i.exec(e.value);
|
|
36
|
+
}
|
|
37
|
+
return s ? (o < e.value.length && f({
|
|
38
|
+
type: "text",
|
|
39
|
+
value: e.value.slice(o)
|
|
40
|
+
}), r.children.splice(n, 1, ...u)) : u = [e], n + u.length;
|
|
41
|
+
function f(e) {
|
|
42
|
+
let t = u[u.length - 1];
|
|
43
|
+
t && t.type === "text" && e.type === "text" ? t.value += e.value : u.push(e);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function a(e) {
|
|
48
|
+
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
49
|
+
let t = [], n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
50
|
+
for (; ++r < n.length;) {
|
|
51
|
+
let e = n[r];
|
|
52
|
+
t.push([o(e[0]), s(e[1])]);
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
}
|
|
56
|
+
function o(t) {
|
|
57
|
+
return typeof t == "string" ? new RegExp(e(t), "g") : t;
|
|
58
|
+
}
|
|
59
|
+
function s(e) {
|
|
60
|
+
return typeof e == "function" ? e : function() {
|
|
61
|
+
return e;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export { i as findAndReplace };
|