@multiplatform.one/markdown 9.17.0 → 10.1.0
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/dist/cjs/Aside/index.cjs +87 -101
- package/dist/cjs/Aside/index.native.cjs +119 -0
- package/dist/cjs/Aside/index.native.js +93 -109
- package/dist/cjs/Aside/index.native.js.map +1 -1
- package/dist/cjs/ExternalIcon/index.cjs +28 -34
- package/dist/cjs/ExternalIcon/index.native.cjs +46 -0
- package/dist/cjs/ExternalIcon/index.native.js +30 -35
- package/dist/cjs/ExternalIcon/index.native.js.map +1 -1
- package/dist/cjs/Hr/index.cjs +14 -20
- package/dist/cjs/Hr/index.native.cjs +30 -0
- package/dist/cjs/Hr/index.native.js +15 -20
- package/dist/cjs/Hr/index.native.js.map +1 -1
- package/dist/cjs/Li/index.cjs +20 -26
- package/dist/cjs/Li/index.native.cjs +34 -0
- package/dist/cjs/Li/index.native.js +20 -25
- package/dist/cjs/Li/index.native.js.map +1 -1
- package/dist/cjs/Markdown.cjs +38 -43
- package/dist/cjs/Markdown.native.cjs +56 -0
- package/dist/cjs/Markdown.native.js +38 -42
- package/dist/cjs/Markdown.native.js.map +1 -1
- package/dist/cjs/MarkdownSimpleTable/index.cjs +112 -131
- package/dist/cjs/MarkdownSimpleTable/index.native.cjs +159 -0
- package/dist/cjs/MarkdownSimpleTable/index.native.js +136 -158
- package/dist/cjs/MarkdownSimpleTable/index.native.js.map +1 -1
- package/dist/cjs/Mdx/index.cjs +27 -50
- package/dist/cjs/Mdx/index.native.cjs +46 -0
- package/dist/cjs/Mdx/index.native.js +27 -49
- package/dist/cjs/Mdx/index.native.js.map +1 -1
- package/dist/cjs/MdxCodeBlock/index.cjs +131 -176
- package/dist/cjs/MdxCodeBlock/index.native.cjs +174 -0
- package/dist/cjs/MdxCodeBlock/index.native.js +143 -195
- package/dist/cjs/MdxCodeBlock/index.native.js.map +1 -1
- package/dist/cjs/MdxCodeBlock/mdxCodeBlockContext.cjs +14 -18
- package/dist/cjs/MdxCodeBlock/mdxCodeBlockContext.native.cjs +27 -0
- package/dist/cjs/MdxCodeBlock/mdxCodeBlockContext.native.js +14 -17
- package/dist/cjs/MdxCodeBlock/mdxCodeBlockContext.native.js.map +1 -1
- package/dist/cjs/Notice/index.cjs +27 -46
- package/dist/cjs/Notice/index.native.cjs +44 -0
- package/dist/cjs/Notice/index.native.js +27 -45
- package/dist/cjs/Notice/index.native.js.map +1 -1
- package/dist/cjs/Table/index.cjs +89 -123
- package/dist/cjs/Table/index.native.cjs +121 -0
- package/dist/cjs/Table/index.native.js +89 -124
- package/dist/cjs/Table/index.native.js.map +1 -1
- package/dist/cjs/Tabs/index.cjs +33 -45
- package/dist/cjs/Tabs/index.native.cjs +58 -0
- package/dist/cjs/Tabs/index.native.js +38 -49
- package/dist/cjs/Tabs/index.native.js.map +1 -1
- package/dist/cjs/Ul/index.cjs +19 -23
- package/dist/cjs/Ul/index.native.cjs +33 -0
- package/dist/cjs/Ul/index.native.js +19 -22
- package/dist/cjs/Ul/index.native.js.map +1 -1
- package/dist/cjs/Video/index.cjs +61 -78
- package/dist/cjs/Video/index.native.cjs +78 -0
- package/dist/cjs/Video/index.native.js +61 -79
- package/dist/cjs/Video/index.native.js.map +1 -1
- package/dist/cjs/components/Blockquote.cjs +37 -47
- package/dist/cjs/components/Blockquote.native.cjs +56 -0
- package/dist/cjs/components/Blockquote.native.js +39 -55
- package/dist/cjs/components/Blockquote.native.js.map +1 -1
- package/dist/cjs/components/Break.cjs +16 -22
- package/dist/cjs/components/Break.native.cjs +32 -0
- package/dist/cjs/components/Break.native.js +16 -21
- package/dist/cjs/components/Break.native.js.map +1 -1
- package/dist/cjs/components/CodeBlock.cjs +42 -54
- package/dist/cjs/components/CodeBlock.native.cjs +61 -0
- package/dist/cjs/components/CodeBlock.native.js +43 -57
- package/dist/cjs/components/CodeBlock.native.js.map +1 -1
- package/dist/cjs/components/Heading.cjs +42 -53
- package/dist/cjs/components/Heading.native.cjs +65 -0
- package/dist/cjs/components/Heading.native.js +43 -53
- package/dist/cjs/components/Heading.native.js.map +1 -1
- package/dist/cjs/components/HorizontalRule.cjs +25 -31
- package/dist/cjs/components/HorizontalRule.native.cjs +41 -0
- package/dist/cjs/components/HorizontalRule.native.js +25 -30
- package/dist/cjs/components/HorizontalRule.native.js.map +1 -1
- package/dist/cjs/components/Image.cjs +28 -38
- package/dist/cjs/components/Image.native.cjs +44 -0
- package/dist/cjs/components/Image.native.js +28 -41
- package/dist/cjs/components/Image.native.js.map +1 -1
- package/dist/cjs/components/InlineCode.cjs +25 -33
- package/dist/cjs/components/InlineCode.native.cjs +41 -0
- package/dist/cjs/components/InlineCode.native.js +25 -32
- package/dist/cjs/components/InlineCode.native.js.map +1 -1
- package/dist/cjs/components/InlineStyles.cjs +40 -54
- package/dist/cjs/components/InlineStyles.native.cjs +62 -0
- package/dist/cjs/components/InlineStyles.native.js +40 -53
- package/dist/cjs/components/InlineStyles.native.js.map +1 -1
- package/dist/cjs/components/Link.cjs +53 -61
- package/dist/cjs/components/Link.native.cjs +73 -0
- package/dist/cjs/components/Link.native.js +53 -61
- package/dist/cjs/components/Link.native.js.map +1 -1
- package/dist/cjs/components/List.cjs +107 -132
- package/dist/cjs/components/List.native.cjs +143 -0
- package/dist/cjs/components/List.native.js +111 -135
- package/dist/cjs/components/List.native.js.map +1 -1
- package/dist/cjs/components/Paragraph.cjs +22 -30
- package/dist/cjs/components/Paragraph.native.cjs +38 -0
- package/dist/cjs/components/Paragraph.native.js +22 -29
- package/dist/cjs/components/Paragraph.native.js.map +1 -1
- package/dist/cjs/components/Table.cjs +85 -104
- package/dist/cjs/components/Table.native.cjs +116 -0
- package/dist/cjs/components/Table.native.js +89 -111
- package/dist/cjs/components/Table.native.js.map +1 -1
- package/dist/cjs/components/index.cjs +30 -32
- package/dist/cjs/components/index.native.cjs +55 -0
- package/dist/cjs/components/index.native.js +30 -31
- package/dist/cjs/components/index.native.js.map +1 -1
- package/dist/cjs/hooks/index.cjs +9 -11
- package/dist/cjs/hooks/index.native.cjs +22 -0
- package/dist/cjs/hooks/index.native.js +9 -10
- package/dist/cjs/hooks/index.native.js.map +1 -1
- package/dist/cjs/hooks/useCompileAndEvaluateMdx.cjs +22 -29
- package/dist/cjs/hooks/useCompileAndEvaluateMdx.native.cjs +37 -0
- package/dist/cjs/hooks/useCompileAndEvaluateMdx.native.js +22 -28
- package/dist/cjs/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/hooks/useCompileMdx.cjs +89 -92
- package/dist/cjs/hooks/useCompileMdx.native.cjs +129 -0
- package/dist/cjs/hooks/useCompileMdx.native.js +106 -110
- package/dist/cjs/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/cjs/hooks/useEvaluateMdx.cjs +34 -43
- package/dist/cjs/hooks/useEvaluateMdx.native.cjs +59 -0
- package/dist/cjs/hooks/useEvaluateMdx.native.js +36 -44
- package/dist/cjs/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/icons/index.cjs +101 -115
- package/dist/cjs/icons/index.native.cjs +129 -0
- package/dist/cjs/icons/index.native.js +103 -118
- package/dist/cjs/icons/index.native.js.map +1 -1
- package/dist/cjs/index.cjs +18 -20
- package/dist/cjs/index.native.cjs +53 -0
- package/dist/cjs/index.native.js +18 -19
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/mdxComponents.cjs +247 -353
- package/dist/cjs/mdxComponents.native.cjs +349 -0
- package/dist/cjs/mdxComponents.native.js +300 -408
- package/dist/cjs/mdxComponents.native.js.map +1 -1
- package/dist/cjs/mermaid/MermaidBlock.cjs +84 -94
- package/dist/cjs/mermaid/MermaidBlock.native.cjs +34 -0
- package/dist/cjs/mermaid/MermaidBlock.native.js +19 -24
- package/dist/cjs/mermaid/MermaidBlock.native.js.map +1 -1
- package/dist/cjs/mermaid/index.cjs +16 -18
- package/dist/cjs/mermaid/index.native.cjs +31 -0
- package/dist/cjs/mermaid/index.native.js +16 -17
- package/dist/cjs/mermaid/index.native.js.map +1 -1
- package/dist/cjs/mermaid/mountDiagramSvg.cjs +37 -41
- package/dist/cjs/mermaid/mountDiagramSvg.native.cjs +90 -0
- package/dist/cjs/mermaid/mountDiagramSvg.native.js +74 -81
- package/dist/cjs/mermaid/mountDiagramSvg.native.js.map +1 -1
- package/dist/cjs/mermaid/renderMermaidDiagram.cjs +56 -67
- package/dist/cjs/mermaid/renderMermaidDiagram.native.cjs +37 -0
- package/dist/cjs/mermaid/renderMermaidDiagram.native.js +20 -21
- package/dist/cjs/mermaid/renderMermaidDiagram.native.js.map +1 -1
- package/dist/cjs/parser.cjs +20 -27
- package/dist/cjs/parser.native.cjs +44 -0
- package/dist/cjs/parser.native.js +20 -26
- package/dist/cjs/parser.native.js.map +1 -1
- package/dist/cjs/renderer.cjs +250 -314
- package/dist/cjs/renderer.native.cjs +295 -0
- package/dist/cjs/renderer.native.js +267 -330
- package/dist/cjs/renderer.native.js.map +1 -1
- package/dist/cjs/shared/colorRamps.cjs +28 -42
- package/dist/cjs/shared/colorRamps.native.cjs +46 -0
- package/dist/cjs/shared/colorRamps.native.js +29 -42
- package/dist/cjs/shared/colorRamps.native.js.map +1 -1
- package/dist/cjs/shared/cutoffGradient.cjs +36 -38
- package/dist/cjs/shared/cutoffGradient.native.cjs +60 -0
- package/dist/cjs/shared/cutoffGradient.native.js +42 -43
- package/dist/cjs/shared/cutoffGradient.native.js.map +1 -1
- package/dist/cjs/shared/textRidesText.cjs +39 -41
- package/dist/cjs/shared/textRidesText.native.cjs +76 -0
- package/dist/cjs/shared/textRidesText.native.js +56 -59
- package/dist/cjs/shared/textRidesText.native.js.map +1 -1
- package/dist/cjs/shared/tokenPx.cjs +29 -29
- package/dist/cjs/shared/tokenPx.native.cjs +45 -0
- package/dist/cjs/shared/tokenPx.native.js +31 -30
- package/dist/cjs/shared/tokenPx.native.js.map +1 -1
- package/dist/cjs/shared/useMarkdownTableKnobs.cjs +43 -49
- package/dist/cjs/shared/useMarkdownTableKnobs.native.cjs +57 -0
- package/dist/cjs/shared/useMarkdownTableKnobs.native.js +43 -48
- package/dist/cjs/shared/useMarkdownTableKnobs.native.js.map +1 -1
- package/dist/cjs/shiki/index.cjs +9 -11
- package/dist/cjs/shiki/index.native.cjs +18 -0
- package/dist/cjs/shiki/index.native.js +9 -10
- package/dist/cjs/shiki/index.native.js.map +1 -1
- package/dist/cjs/types.cjs +9 -11
- package/dist/cjs/types.native.cjs +18 -0
- package/dist/cjs/types.native.js +9 -10
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/util/rehypeMetaAttributes.cjs +28 -32
- package/dist/cjs/util/rehypeMetaAttributes.native.cjs +44 -0
- package/dist/cjs/util/rehypeMetaAttributes.native.js +29 -32
- package/dist/cjs/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/esm/Aside/index.mjs +76 -86
- package/dist/esm/Aside/index.mjs.map +1 -1
- package/dist/esm/Aside/index.native.js +83 -96
- package/dist/esm/Aside/index.native.js.map +1 -1
- package/dist/esm/ExternalIcon/index.mjs +16 -16
- package/dist/esm/ExternalIcon/index.mjs.map +1 -1
- package/dist/esm/ExternalIcon/index.native.js +19 -19
- package/dist/esm/ExternalIcon/index.native.js.map +1 -1
- package/dist/esm/Hr/index.mjs +3 -3
- package/dist/esm/Hr/index.mjs.map +1 -1
- package/dist/esm/Hr/index.native.js +4 -4
- package/dist/esm/Hr/index.native.js.map +1 -1
- package/dist/esm/Li/index.mjs +8 -8
- package/dist/esm/Li/index.mjs.map +1 -1
- package/dist/esm/Li/index.native.js +8 -8
- package/dist/esm/Li/index.native.js.map +1 -1
- package/dist/esm/Markdown.mjs +26 -25
- package/dist/esm/Markdown.mjs.map +1 -1
- package/dist/esm/Markdown.native.js +27 -26
- package/dist/esm/Markdown.native.js.map +1 -1
- package/dist/esm/MarkdownSimpleTable/index.mjs +100 -113
- package/dist/esm/MarkdownSimpleTable/index.mjs.map +1 -1
- package/dist/esm/MarkdownSimpleTable/index.native.js +125 -142
- package/dist/esm/MarkdownSimpleTable/index.native.js.map +1 -1
- package/dist/esm/Mdx/index.mjs +15 -32
- package/dist/esm/Mdx/index.mjs.map +1 -1
- package/dist/esm/Mdx/index.native.js +16 -33
- package/dist/esm/Mdx/index.native.js.map +1 -1
- package/dist/esm/MdxCodeBlock/index.mjs +119 -153
- package/dist/esm/MdxCodeBlock/index.mjs.map +1 -1
- package/dist/esm/MdxCodeBlock/index.native.js +131 -173
- package/dist/esm/MdxCodeBlock/index.native.js.map +1 -1
- package/dist/esm/MdxCodeBlock/mdxCodeBlockContext.mjs +2 -0
- package/dist/esm/MdxCodeBlock/mdxCodeBlockContext.mjs.map +1 -1
- package/dist/esm/MdxCodeBlock/mdxCodeBlockContext.native.js +2 -0
- package/dist/esm/MdxCodeBlock/mdxCodeBlockContext.native.js.map +1 -1
- package/dist/esm/Notice/index.mjs +15 -28
- package/dist/esm/Notice/index.mjs.map +1 -1
- package/dist/esm/Notice/index.native.js +16 -29
- package/dist/esm/Notice/index.native.js.map +1 -1
- package/dist/esm/Table/index.mjs +73 -103
- package/dist/esm/Table/index.mjs.map +1 -1
- package/dist/esm/Table/index.native.js +74 -106
- package/dist/esm/Table/index.native.js.map +1 -1
- package/dist/esm/Tabs/index.mjs +20 -28
- package/dist/esm/Tabs/index.mjs.map +1 -1
- package/dist/esm/Tabs/index.native.js +26 -34
- package/dist/esm/Tabs/index.native.js.map +1 -1
- package/dist/esm/Ul/index.mjs +7 -5
- package/dist/esm/Ul/index.mjs.map +1 -1
- package/dist/esm/Ul/index.native.js +7 -5
- package/dist/esm/Ul/index.native.js.map +1 -1
- package/dist/esm/Video/index.mjs +50 -61
- package/dist/esm/Video/index.mjs.map +1 -1
- package/dist/esm/Video/index.native.js +51 -64
- package/dist/esm/Video/index.native.js.map +1 -1
- package/dist/esm/components/Blockquote.mjs +27 -31
- package/dist/esm/components/Blockquote.mjs.map +1 -1
- package/dist/esm/components/Blockquote.native.js +30 -41
- package/dist/esm/components/Blockquote.native.js.map +1 -1
- package/dist/esm/components/Break.mjs +4 -4
- package/dist/esm/components/Break.mjs.map +1 -1
- package/dist/esm/components/Break.native.js +5 -5
- package/dist/esm/components/Break.native.js.map +1 -1
- package/dist/esm/components/CodeBlock.mjs +31 -37
- package/dist/esm/components/CodeBlock.mjs.map +1 -1
- package/dist/esm/components/CodeBlock.native.js +33 -42
- package/dist/esm/components/CodeBlock.native.js.map +1 -1
- package/dist/esm/components/Heading.mjs +30 -35
- package/dist/esm/components/Heading.mjs.map +1 -1
- package/dist/esm/components/Heading.native.js +32 -37
- package/dist/esm/components/Heading.native.js.map +1 -1
- package/dist/esm/components/HorizontalRule.mjs +13 -13
- package/dist/esm/components/HorizontalRule.mjs.map +1 -1
- package/dist/esm/components/HorizontalRule.native.js +14 -14
- package/dist/esm/components/HorizontalRule.native.js.map +1 -1
- package/dist/esm/components/Image.mjs +17 -21
- package/dist/esm/components/Image.mjs.map +1 -1
- package/dist/esm/components/Image.native.js +18 -26
- package/dist/esm/components/Image.native.js.map +1 -1
- package/dist/esm/components/InlineCode.mjs +13 -15
- package/dist/esm/components/InlineCode.mjs.map +1 -1
- package/dist/esm/components/InlineCode.native.js +14 -16
- package/dist/esm/components/InlineCode.native.js.map +1 -1
- package/dist/esm/components/InlineStyles.mjs +26 -36
- package/dist/esm/components/InlineStyles.mjs.map +1 -1
- package/dist/esm/components/InlineStyles.native.js +27 -37
- package/dist/esm/components/InlineStyles.native.js.map +1 -1
- package/dist/esm/components/Link.mjs +41 -43
- package/dist/esm/components/Link.mjs.map +1 -1
- package/dist/esm/components/Link.native.js +42 -45
- package/dist/esm/components/Link.native.js.map +1 -1
- package/dist/esm/components/List.mjs +95 -116
- package/dist/esm/components/List.mjs.map +1 -1
- package/dist/esm/components/List.native.js +100 -121
- package/dist/esm/components/List.native.js.map +1 -1
- package/dist/esm/components/Paragraph.mjs +11 -13
- package/dist/esm/components/Paragraph.mjs.map +1 -1
- package/dist/esm/components/Paragraph.native.js +12 -14
- package/dist/esm/components/Paragraph.native.js.map +1 -1
- package/dist/esm/components/Table.mjs +71 -86
- package/dist/esm/components/Table.mjs.map +1 -1
- package/dist/esm/components/Table.native.js +76 -95
- package/dist/esm/components/Table.native.js.map +1 -1
- package/dist/esm/components/index.mjs +4 -4
- package/dist/esm/components/index.native.js +4 -4
- package/dist/esm/hooks/index.mjs +5 -4
- package/dist/esm/hooks/index.native.js +5 -4
- package/dist/esm/hooks/useCompileAndEvaluateMdx.mjs +10 -11
- package/dist/esm/hooks/useCompileAndEvaluateMdx.mjs.map +1 -1
- package/dist/esm/hooks/useCompileAndEvaluateMdx.native.js +10 -11
- package/dist/esm/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/esm/hooks/useCompileMdx.mjs +73 -67
- package/dist/esm/hooks/useCompileMdx.mjs.map +1 -1
- package/dist/esm/hooks/useCompileMdx.native.js +90 -86
- package/dist/esm/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/esm/hooks/useEvaluateMdx.mjs +19 -17
- package/dist/esm/hooks/useEvaluateMdx.mjs.map +1 -1
- package/dist/esm/hooks/useEvaluateMdx.native.js +21 -19
- package/dist/esm/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/esm/icons/index.mjs +86 -96
- package/dist/esm/icons/index.mjs.map +1 -1
- package/dist/esm/icons/index.native.js +89 -101
- package/dist/esm/icons/index.native.js.map +1 -1
- package/dist/esm/index.mjs +34 -18
- package/dist/esm/index.native.js +34 -18
- package/dist/esm/mdxComponents.mjs +234 -336
- package/dist/esm/mdxComponents.mjs.map +1 -1
- package/dist/esm/mdxComponents.native.js +288 -393
- package/dist/esm/mdxComponents.native.js.map +1 -1
- package/dist/esm/mermaid/MermaidBlock.mjs +72 -76
- package/dist/esm/mermaid/MermaidBlock.mjs.map +1 -1
- package/dist/esm/mermaid/MermaidBlock.native.js +8 -8
- package/dist/esm/mermaid/MermaidBlock.native.js.map +1 -1
- package/dist/esm/mermaid/index.mjs +2 -2
- package/dist/esm/mermaid/index.native.js +2 -2
- package/dist/esm/mermaid/mountDiagramSvg.mjs +24 -23
- package/dist/esm/mermaid/mountDiagramSvg.mjs.map +1 -1
- package/dist/esm/mermaid/mountDiagramSvg.native.js +61 -64
- package/dist/esm/mermaid/mountDiagramSvg.native.js.map +1 -1
- package/dist/esm/mermaid/renderMermaidDiagram.mjs +39 -42
- package/dist/esm/mermaid/renderMermaidDiagram.mjs.map +1 -1
- package/dist/esm/mermaid/renderMermaidDiagram.native.js +6 -5
- package/dist/esm/mermaid/renderMermaidDiagram.native.js.map +1 -1
- package/dist/esm/parser.mjs +4 -2
- package/dist/esm/parser.mjs.map +1 -1
- package/dist/esm/parser.native.js +4 -2
- package/dist/esm/parser.native.js.map +1 -1
- package/dist/esm/renderer.mjs +238 -298
- package/dist/esm/renderer.mjs.map +1 -1
- package/dist/esm/renderer.native.js +256 -316
- package/dist/esm/renderer.native.js.map +1 -1
- package/dist/esm/shared/colorRamps.mjs +14 -25
- package/dist/esm/shared/colorRamps.mjs.map +1 -1
- package/dist/esm/shared/colorRamps.native.js +14 -25
- package/dist/esm/shared/colorRamps.native.js.map +1 -1
- package/dist/esm/shared/cutoffGradient.mjs +23 -21
- package/dist/esm/shared/cutoffGradient.mjs.map +1 -1
- package/dist/esm/shared/cutoffGradient.native.js +29 -27
- package/dist/esm/shared/cutoffGradient.native.js.map +1 -1
- package/dist/esm/shared/textRidesText.mjs +26 -24
- package/dist/esm/shared/textRidesText.mjs.map +1 -1
- package/dist/esm/shared/textRidesText.native.js +43 -43
- package/dist/esm/shared/textRidesText.native.js.map +1 -1
- package/dist/esm/shared/tokenPx.mjs +17 -11
- package/dist/esm/shared/tokenPx.mjs.map +1 -1
- package/dist/esm/shared/tokenPx.native.js +19 -13
- package/dist/esm/shared/tokenPx.native.js.map +1 -1
- package/dist/esm/shared/useMarkdownTableKnobs.mjs +31 -31
- package/dist/esm/shared/useMarkdownTableKnobs.mjs.map +1 -1
- package/dist/esm/shared/useMarkdownTableKnobs.native.js +31 -31
- package/dist/esm/shared/useMarkdownTableKnobs.native.js.map +1 -1
- package/dist/esm/shiki/index.mjs +0 -2
- package/dist/esm/shiki/index.native.js +0 -2
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/util/rehypeMetaAttributes.mjs +16 -14
- package/dist/esm/util/rehypeMetaAttributes.mjs.map +1 -1
- package/dist/esm/util/rehypeMetaAttributes.native.js +17 -15
- package/dist/esm/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/jsx/Aside/index.mjs +76 -86
- package/dist/jsx/Aside/index.mjs.map +1 -1
- package/dist/jsx/Aside/index.native.cjs +119 -0
- package/dist/jsx/Aside/index.native.js +93 -109
- package/dist/jsx/Aside/index.native.js.map +1 -1
- package/dist/jsx/ExternalIcon/index.mjs +16 -16
- package/dist/jsx/ExternalIcon/index.mjs.map +1 -1
- package/dist/jsx/ExternalIcon/index.native.cjs +46 -0
- package/dist/jsx/ExternalIcon/index.native.js +30 -35
- package/dist/jsx/ExternalIcon/index.native.js.map +1 -1
- package/dist/jsx/Hr/index.mjs +3 -3
- package/dist/jsx/Hr/index.mjs.map +1 -1
- package/dist/jsx/Hr/index.native.cjs +30 -0
- package/dist/jsx/Hr/index.native.js +15 -20
- package/dist/jsx/Hr/index.native.js.map +1 -1
- package/dist/jsx/Li/index.mjs +8 -8
- package/dist/jsx/Li/index.mjs.map +1 -1
- package/dist/jsx/Li/index.native.cjs +34 -0
- package/dist/jsx/Li/index.native.js +20 -25
- package/dist/jsx/Li/index.native.js.map +1 -1
- package/dist/jsx/Markdown.mjs +26 -25
- package/dist/jsx/Markdown.mjs.map +1 -1
- package/dist/jsx/Markdown.native.cjs +56 -0
- package/dist/jsx/Markdown.native.js +38 -42
- package/dist/jsx/Markdown.native.js.map +1 -1
- package/dist/jsx/MarkdownSimpleTable/index.mjs +100 -113
- package/dist/jsx/MarkdownSimpleTable/index.mjs.map +1 -1
- package/dist/jsx/MarkdownSimpleTable/index.native.cjs +159 -0
- package/dist/jsx/MarkdownSimpleTable/index.native.js +136 -158
- package/dist/jsx/MarkdownSimpleTable/index.native.js.map +1 -1
- package/dist/jsx/Mdx/index.mjs +15 -32
- package/dist/jsx/Mdx/index.mjs.map +1 -1
- package/dist/jsx/Mdx/index.native.cjs +46 -0
- package/dist/jsx/Mdx/index.native.js +27 -49
- package/dist/jsx/Mdx/index.native.js.map +1 -1
- package/dist/jsx/MdxCodeBlock/index.mjs +119 -153
- package/dist/jsx/MdxCodeBlock/index.mjs.map +1 -1
- package/dist/jsx/MdxCodeBlock/index.native.cjs +174 -0
- package/dist/jsx/MdxCodeBlock/index.native.js +143 -195
- package/dist/jsx/MdxCodeBlock/index.native.js.map +1 -1
- package/dist/jsx/MdxCodeBlock/mdxCodeBlockContext.mjs +2 -0
- package/dist/jsx/MdxCodeBlock/mdxCodeBlockContext.mjs.map +1 -1
- package/dist/jsx/MdxCodeBlock/mdxCodeBlockContext.native.cjs +27 -0
- package/dist/jsx/MdxCodeBlock/mdxCodeBlockContext.native.js +14 -17
- package/dist/jsx/MdxCodeBlock/mdxCodeBlockContext.native.js.map +1 -1
- package/dist/jsx/Notice/index.mjs +15 -28
- package/dist/jsx/Notice/index.mjs.map +1 -1
- package/dist/jsx/Notice/index.native.cjs +44 -0
- package/dist/jsx/Notice/index.native.js +27 -45
- package/dist/jsx/Notice/index.native.js.map +1 -1
- package/dist/jsx/Table/index.mjs +73 -103
- package/dist/jsx/Table/index.mjs.map +1 -1
- package/dist/jsx/Table/index.native.cjs +121 -0
- package/dist/jsx/Table/index.native.js +89 -124
- package/dist/jsx/Table/index.native.js.map +1 -1
- package/dist/jsx/Tabs/index.mjs +20 -28
- package/dist/jsx/Tabs/index.mjs.map +1 -1
- package/dist/jsx/Tabs/index.native.cjs +58 -0
- package/dist/jsx/Tabs/index.native.js +38 -49
- package/dist/jsx/Tabs/index.native.js.map +1 -1
- package/dist/jsx/Ul/index.mjs +7 -5
- package/dist/jsx/Ul/index.mjs.map +1 -1
- package/dist/jsx/Ul/index.native.cjs +33 -0
- package/dist/jsx/Ul/index.native.js +19 -22
- package/dist/jsx/Ul/index.native.js.map +1 -1
- package/dist/jsx/Video/index.mjs +50 -61
- package/dist/jsx/Video/index.mjs.map +1 -1
- package/dist/jsx/Video/index.native.cjs +78 -0
- package/dist/jsx/Video/index.native.js +61 -79
- package/dist/jsx/Video/index.native.js.map +1 -1
- package/dist/jsx/components/Blockquote.mjs +27 -31
- package/dist/jsx/components/Blockquote.mjs.map +1 -1
- package/dist/jsx/components/Blockquote.native.cjs +56 -0
- package/dist/jsx/components/Blockquote.native.js +39 -55
- package/dist/jsx/components/Blockquote.native.js.map +1 -1
- package/dist/jsx/components/Break.mjs +4 -4
- package/dist/jsx/components/Break.mjs.map +1 -1
- package/dist/jsx/components/Break.native.cjs +32 -0
- package/dist/jsx/components/Break.native.js +16 -21
- package/dist/jsx/components/Break.native.js.map +1 -1
- package/dist/jsx/components/CodeBlock.mjs +31 -37
- package/dist/jsx/components/CodeBlock.mjs.map +1 -1
- package/dist/jsx/components/CodeBlock.native.cjs +61 -0
- package/dist/jsx/components/CodeBlock.native.js +43 -57
- package/dist/jsx/components/CodeBlock.native.js.map +1 -1
- package/dist/jsx/components/Heading.mjs +30 -35
- package/dist/jsx/components/Heading.mjs.map +1 -1
- package/dist/jsx/components/Heading.native.cjs +65 -0
- package/dist/jsx/components/Heading.native.js +43 -53
- package/dist/jsx/components/Heading.native.js.map +1 -1
- package/dist/jsx/components/HorizontalRule.mjs +13 -13
- package/dist/jsx/components/HorizontalRule.mjs.map +1 -1
- package/dist/jsx/components/HorizontalRule.native.cjs +41 -0
- package/dist/jsx/components/HorizontalRule.native.js +25 -30
- package/dist/jsx/components/HorizontalRule.native.js.map +1 -1
- package/dist/jsx/components/Image.mjs +17 -21
- package/dist/jsx/components/Image.mjs.map +1 -1
- package/dist/jsx/components/Image.native.cjs +44 -0
- package/dist/jsx/components/Image.native.js +28 -41
- package/dist/jsx/components/Image.native.js.map +1 -1
- package/dist/jsx/components/InlineCode.mjs +13 -15
- package/dist/jsx/components/InlineCode.mjs.map +1 -1
- package/dist/jsx/components/InlineCode.native.cjs +41 -0
- package/dist/jsx/components/InlineCode.native.js +25 -32
- package/dist/jsx/components/InlineCode.native.js.map +1 -1
- package/dist/jsx/components/InlineStyles.mjs +26 -36
- package/dist/jsx/components/InlineStyles.mjs.map +1 -1
- package/dist/jsx/components/InlineStyles.native.cjs +62 -0
- package/dist/jsx/components/InlineStyles.native.js +40 -53
- package/dist/jsx/components/InlineStyles.native.js.map +1 -1
- package/dist/jsx/components/Link.mjs +41 -43
- package/dist/jsx/components/Link.mjs.map +1 -1
- package/dist/jsx/components/Link.native.cjs +73 -0
- package/dist/jsx/components/Link.native.js +53 -61
- package/dist/jsx/components/Link.native.js.map +1 -1
- package/dist/jsx/components/List.mjs +95 -116
- package/dist/jsx/components/List.mjs.map +1 -1
- package/dist/jsx/components/List.native.cjs +143 -0
- package/dist/jsx/components/List.native.js +111 -135
- package/dist/jsx/components/List.native.js.map +1 -1
- package/dist/jsx/components/Paragraph.mjs +11 -13
- package/dist/jsx/components/Paragraph.mjs.map +1 -1
- package/dist/jsx/components/Paragraph.native.cjs +38 -0
- package/dist/jsx/components/Paragraph.native.js +22 -29
- package/dist/jsx/components/Paragraph.native.js.map +1 -1
- package/dist/jsx/components/Table.mjs +71 -86
- package/dist/jsx/components/Table.mjs.map +1 -1
- package/dist/jsx/components/Table.native.cjs +116 -0
- package/dist/jsx/components/Table.native.js +89 -111
- package/dist/jsx/components/Table.native.js.map +1 -1
- package/dist/jsx/components/index.mjs +4 -4
- package/dist/jsx/components/index.native.cjs +55 -0
- package/dist/jsx/components/index.native.js +30 -31
- package/dist/jsx/components/index.native.js.map +1 -1
- package/dist/jsx/hooks/index.mjs +5 -4
- package/dist/jsx/hooks/index.native.cjs +22 -0
- package/dist/jsx/hooks/index.native.js +9 -10
- package/dist/jsx/hooks/index.native.js.map +1 -1
- package/dist/jsx/hooks/useCompileAndEvaluateMdx.mjs +10 -11
- package/dist/jsx/hooks/useCompileAndEvaluateMdx.mjs.map +1 -1
- package/dist/jsx/hooks/useCompileAndEvaluateMdx.native.cjs +37 -0
- package/dist/jsx/hooks/useCompileAndEvaluateMdx.native.js +22 -28
- package/dist/jsx/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/jsx/hooks/useCompileMdx.mjs +73 -67
- package/dist/jsx/hooks/useCompileMdx.mjs.map +1 -1
- package/dist/jsx/hooks/useCompileMdx.native.cjs +129 -0
- package/dist/jsx/hooks/useCompileMdx.native.js +106 -110
- package/dist/jsx/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/jsx/hooks/useEvaluateMdx.mjs +19 -17
- package/dist/jsx/hooks/useEvaluateMdx.mjs.map +1 -1
- package/dist/jsx/hooks/useEvaluateMdx.native.cjs +59 -0
- package/dist/jsx/hooks/useEvaluateMdx.native.js +36 -44
- package/dist/jsx/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/jsx/icons/index.mjs +86 -96
- package/dist/jsx/icons/index.mjs.map +1 -1
- package/dist/jsx/icons/index.native.cjs +129 -0
- package/dist/jsx/icons/index.native.js +103 -118
- package/dist/jsx/icons/index.native.js.map +1 -1
- package/dist/jsx/index.js +34 -18
- package/dist/jsx/index.mjs +34 -18
- package/dist/jsx/index.native.cjs +53 -0
- package/dist/jsx/index.native.js +18 -19
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/mdxComponents.mjs +234 -336
- package/dist/jsx/mdxComponents.mjs.map +1 -1
- package/dist/jsx/mdxComponents.native.cjs +349 -0
- package/dist/jsx/mdxComponents.native.js +300 -408
- package/dist/jsx/mdxComponents.native.js.map +1 -1
- package/dist/jsx/mermaid/MermaidBlock.mjs +72 -76
- package/dist/jsx/mermaid/MermaidBlock.mjs.map +1 -1
- package/dist/jsx/mermaid/MermaidBlock.native.cjs +34 -0
- package/dist/jsx/mermaid/MermaidBlock.native.js +19 -24
- package/dist/jsx/mermaid/MermaidBlock.native.js.map +1 -1
- package/dist/jsx/mermaid/index.mjs +2 -2
- package/dist/jsx/mermaid/index.native.cjs +31 -0
- package/dist/jsx/mermaid/index.native.js +16 -17
- package/dist/jsx/mermaid/index.native.js.map +1 -1
- package/dist/jsx/mermaid/mountDiagramSvg.mjs +24 -23
- package/dist/jsx/mermaid/mountDiagramSvg.mjs.map +1 -1
- package/dist/jsx/mermaid/mountDiagramSvg.native.cjs +90 -0
- package/dist/jsx/mermaid/mountDiagramSvg.native.js +74 -81
- package/dist/jsx/mermaid/mountDiagramSvg.native.js.map +1 -1
- package/dist/jsx/mermaid/renderMermaidDiagram.mjs +39 -42
- package/dist/jsx/mermaid/renderMermaidDiagram.mjs.map +1 -1
- package/dist/jsx/mermaid/renderMermaidDiagram.native.cjs +37 -0
- package/dist/jsx/mermaid/renderMermaidDiagram.native.js +20 -21
- package/dist/jsx/mermaid/renderMermaidDiagram.native.js.map +1 -1
- package/dist/jsx/parser.mjs +4 -2
- package/dist/jsx/parser.mjs.map +1 -1
- package/dist/jsx/parser.native.cjs +44 -0
- package/dist/jsx/parser.native.js +20 -26
- package/dist/jsx/parser.native.js.map +1 -1
- package/dist/jsx/renderer.mjs +238 -298
- package/dist/jsx/renderer.mjs.map +1 -1
- package/dist/jsx/renderer.native.cjs +295 -0
- package/dist/jsx/renderer.native.js +267 -330
- package/dist/jsx/renderer.native.js.map +1 -1
- package/dist/jsx/shared/colorRamps.mjs +14 -25
- package/dist/jsx/shared/colorRamps.mjs.map +1 -1
- package/dist/jsx/shared/colorRamps.native.cjs +46 -0
- package/dist/jsx/shared/colorRamps.native.js +29 -42
- package/dist/jsx/shared/colorRamps.native.js.map +1 -1
- package/dist/jsx/shared/cutoffGradient.mjs +23 -21
- package/dist/jsx/shared/cutoffGradient.mjs.map +1 -1
- package/dist/jsx/shared/cutoffGradient.native.cjs +60 -0
- package/dist/jsx/shared/cutoffGradient.native.js +42 -43
- package/dist/jsx/shared/cutoffGradient.native.js.map +1 -1
- package/dist/jsx/shared/textRidesText.mjs +26 -24
- package/dist/jsx/shared/textRidesText.mjs.map +1 -1
- package/dist/jsx/shared/textRidesText.native.cjs +76 -0
- package/dist/jsx/shared/textRidesText.native.js +56 -59
- package/dist/jsx/shared/textRidesText.native.js.map +1 -1
- package/dist/jsx/shared/tokenPx.mjs +17 -11
- package/dist/jsx/shared/tokenPx.mjs.map +1 -1
- package/dist/jsx/shared/tokenPx.native.cjs +45 -0
- package/dist/jsx/shared/tokenPx.native.js +31 -30
- package/dist/jsx/shared/tokenPx.native.js.map +1 -1
- package/dist/jsx/shared/useMarkdownTableKnobs.mjs +31 -31
- package/dist/jsx/shared/useMarkdownTableKnobs.mjs.map +1 -1
- package/dist/jsx/shared/useMarkdownTableKnobs.native.cjs +57 -0
- package/dist/jsx/shared/useMarkdownTableKnobs.native.js +43 -48
- package/dist/jsx/shared/useMarkdownTableKnobs.native.js.map +1 -1
- package/dist/jsx/shiki/index.mjs +0 -2
- package/dist/jsx/shiki/index.native.cjs +18 -0
- package/dist/jsx/shiki/index.native.js +9 -10
- package/dist/jsx/shiki/index.native.js.map +1 -1
- package/dist/jsx/types.mjs +0 -2
- package/dist/jsx/types.native.cjs +18 -0
- package/dist/jsx/types.native.js +9 -10
- package/dist/jsx/types.native.js.map +1 -1
- package/dist/jsx/util/rehypeMetaAttributes.mjs +16 -14
- package/dist/jsx/util/rehypeMetaAttributes.mjs.map +1 -1
- package/dist/jsx/util/rehypeMetaAttributes.native.cjs +44 -0
- package/dist/jsx/util/rehypeMetaAttributes.native.js +29 -32
- package/dist/jsx/util/rehypeMetaAttributes.native.js.map +1 -1
- package/package.json +16 -16
- package/src/Aside/index.tsx +10 -10
- package/src/Li/index.tsx +3 -3
- package/src/Markdown.stories.tsx +3 -3
- package/src/MdxCodeBlock/index.tsx +10 -19
- package/src/MdxCodeBlock/mdxCodeBlock.spec.tsx +1 -27
- package/src/MdxCodeBlock/mdxCodeBlockContext.ts +0 -2
- package/src/Notice/Notice.spec.tsx +1 -22
- package/src/Notice/index.tsx +2 -13
- package/src/Renderer.stories.tsx +7 -7
- package/src/Table/index.tsx +1 -1
- package/src/Tabs/index.tsx +1 -1
- package/src/Ul/index.ts +4 -4
- package/src/Video/index.tsx +5 -5
- package/src/codeInk.spec.tsx +16 -10
- package/src/components/Blockquote.tsx +5 -7
- package/src/components/CodeBlock.tsx +2 -2
- package/src/components/Heading.tsx +4 -4
- package/src/components/HorizontalRule.tsx +2 -2
- package/src/components/Image.tsx +1 -1
- package/src/components/InlineCode.tsx +3 -3
- package/src/components/Link.tsx +7 -10
- package/src/components/List.tsx +17 -17
- package/src/components/Paragraph.tsx +1 -1
- package/src/components/Table.tsx +1 -1
- package/src/components/markdownPrimitives.spec.tsx +5 -3
- package/src/docBlocks.spec.tsx +20 -6
- package/src/icons/Icons.stories.tsx +23 -23
- package/src/icons/icons.spec.tsx +1 -1
- package/src/icons/index.tsx +8 -5
- package/src/mdx.spec.tsx +2 -2
- package/src/mdxComponents.tsx +31 -32
- package/src/mermaid/MermaidBlock.stories.tsx +2 -2
- package/src/mermaid/MermaidBlock.tsx +3 -3
- package/src/mermaid/MermaidBlockNative.stories.tsx +3 -3
- package/src/mermaid/MountDiagramSvg.stories.tsx +11 -11
- package/src/mermaid/RenderMermaidDiagram.stories.tsx +11 -11
- package/src/renderer.spec.tsx +2 -2
- package/src/renderer.tsx +1 -3
- package/src/shared/colorRamps.ts +9 -9
- package/src/shared/tokenPx.ts +7 -8
- package/src/shared/useMarkdownTableKnobs.ts +1 -1
- package/src/stories/Blocks.stories.tsx +8 -8
- package/src/stories/Callouts.stories.tsx +8 -8
- package/src/stories/Code.stories.tsx +8 -8
- package/src/stories/Inline.stories.tsx +6 -6
- package/src/stories/Mdx.stories.tsx +5 -5
- package/src/stories/Media.stories.tsx +6 -6
- package/src/stories/Tables.stories.tsx +7 -7
- package/types/Aside/index.d.ts +2 -2
- package/types/Aside/index.d.ts.map +1 -1
- package/types/ExternalIcon/index.d.ts +1 -1
- package/types/ExternalIcon/index.d.ts.map +1 -1
- package/types/Hr/index.d.ts +1 -1
- package/types/Hr/index.d.ts.map +1 -1
- package/types/Li/index.d.ts +1 -2
- package/types/Li/index.d.ts.map +1 -1
- package/types/Markdown.d.ts +1 -1
- package/types/Markdown.d.ts.map +1 -1
- package/types/MarkdownSimpleTable/index.d.ts +1 -1
- package/types/MarkdownSimpleTable/index.d.ts.map +1 -1
- package/types/Mdx/index.d.ts +1 -1
- package/types/Mdx/index.d.ts.map +1 -1
- package/types/MdxCodeBlock/index.d.ts +1 -1
- package/types/MdxCodeBlock/index.d.ts.map +1 -1
- package/types/MdxCodeBlock/mdxCodeBlockContext.d.ts +0 -2
- package/types/MdxCodeBlock/mdxCodeBlockContext.d.ts.map +1 -1
- package/types/Notice/index.d.ts +1 -3
- package/types/Notice/index.d.ts.map +1 -1
- package/types/Table/index.d.ts +6 -6
- package/types/Table/index.d.ts.map +1 -1
- package/types/Tabs/index.d.ts +2 -2
- package/types/Tabs/index.d.ts.map +1 -1
- package/types/Ul/index.d.ts +1 -4
- package/types/Ul/index.d.ts.map +1 -1
- package/types/Video/index.d.ts +1 -1
- package/types/Video/index.d.ts.map +1 -1
- package/types/components/Blockquote.d.ts +1 -1
- package/types/components/Blockquote.d.ts.map +1 -1
- package/types/components/Break.d.ts +1 -1
- package/types/components/Break.d.ts.map +1 -1
- package/types/components/CodeBlock.d.ts +1 -1
- package/types/components/CodeBlock.d.ts.map +1 -1
- package/types/components/Heading.d.ts +1 -1
- package/types/components/Heading.d.ts.map +1 -1
- package/types/components/HorizontalRule.d.ts +1 -1
- package/types/components/HorizontalRule.d.ts.map +1 -1
- package/types/components/Image.d.ts +1 -1
- package/types/components/Image.d.ts.map +1 -1
- package/types/components/InlineCode.d.ts +1 -1
- package/types/components/InlineCode.d.ts.map +1 -1
- package/types/components/InlineStyles.d.ts +3 -3
- package/types/components/InlineStyles.d.ts.map +1 -1
- package/types/components/Link.d.ts +1 -1
- package/types/components/Link.d.ts.map +1 -1
- package/types/components/List.d.ts +2 -2
- package/types/components/List.d.ts.map +1 -1
- package/types/components/Paragraph.d.ts +1 -1
- package/types/components/Paragraph.d.ts.map +1 -1
- package/types/components/Table.d.ts +3 -3
- package/types/components/Table.d.ts.map +1 -1
- package/types/icons/index.d.ts +4 -4
- package/types/icons/index.d.ts.map +1 -1
- package/types/mdxComponents.d.ts +1 -4
- package/types/mdxComponents.d.ts.map +1 -1
- package/types/mermaid/MermaidBlock.d.ts +1 -1
- package/types/mermaid/MermaidBlock.d.ts.map +1 -1
- package/types/mermaid/MermaidBlock.native.d.ts +1 -1
- package/types/mermaid/MermaidBlock.native.d.ts.map +1 -1
- package/types/renderer.d.ts.map +1 -1
- package/types/shared/colorRamps.d.ts +9 -9
- package/types/shared/tokenPx.d.ts.map +1 -1
- package/types/shared/useMarkdownTableKnobs.d.ts +3 -1
- package/types/shared/useMarkdownTableKnobs.d.ts.map +1 -1
- package/dist/esm/components/index.mjs.map +0 -1
- package/dist/esm/components/index.native.js.map +0 -1
- package/dist/esm/hooks/index.mjs.map +0 -1
- package/dist/esm/hooks/index.native.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/mermaid/index.mjs.map +0 -1
- package/dist/esm/mermaid/index.native.js.map +0 -1
- package/dist/esm/shiki/index.mjs.map +0 -1
- package/dist/esm/shiki/index.native.js.map +0 -1
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/types.native.js.map +0 -1
- package/dist/jsx/components/index.mjs.map +0 -1
- package/dist/jsx/hooks/index.mjs.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/mermaid/index.mjs.map +0 -1
- package/dist/jsx/shiki/index.mjs.map +0 -1
- package/dist/jsx/types.mjs.map +0 -1
package/dist/esm/icons/index.mjs
CHANGED
|
@@ -1,107 +1,97 @@
|
|
|
1
1
|
import { Circle, Path, Rect, Svg } from "@tamagui/react-native-svg";
|
|
2
2
|
import { useTheme } from "tamagui";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
|
|
4
5
|
function useIconColor(color) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const theme = useTheme();
|
|
7
|
+
const sigil = color?.startsWith("$") === true;
|
|
8
|
+
const key = sigil ? color.slice(1) : color;
|
|
9
|
+
const fromTheme = key ? theme[key]?.val : void 0;
|
|
10
|
+
if (fromTheme) return fromTheme;
|
|
11
|
+
return sigil || !color ? theme.color?.val ?? "currentColor" : color;
|
|
10
12
|
}
|
|
11
|
-
function ClipboardIcon({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
strokeWidth: 2
|
|
33
|
-
})]
|
|
34
|
-
});
|
|
13
|
+
function ClipboardIcon({ size = 16, color }) {
|
|
14
|
+
const fill = useIconColor(color);
|
|
15
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
16
|
+
width: size,
|
|
17
|
+
height: size,
|
|
18
|
+
viewBox: "0 0 24 24",
|
|
19
|
+
fill: "none",
|
|
20
|
+
children: [/* @__PURE__ */ jsx(Rect, {
|
|
21
|
+
x: "9",
|
|
22
|
+
y: "2",
|
|
23
|
+
width: "6",
|
|
24
|
+
height: "4",
|
|
25
|
+
rx: "1",
|
|
26
|
+
stroke: fill,
|
|
27
|
+
strokeWidth: 2
|
|
28
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
29
|
+
d: "M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2",
|
|
30
|
+
stroke: fill,
|
|
31
|
+
strokeWidth: 2
|
|
32
|
+
})]
|
|
33
|
+
});
|
|
35
34
|
}
|
|
36
|
-
function CheckIcon({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
strokeLinecap: "round",
|
|
52
|
-
strokeLinejoin: "round"
|
|
53
|
-
})
|
|
54
|
-
});
|
|
35
|
+
function CheckIcon({ size = 16, color, strokeWidth = 2.5 }) {
|
|
36
|
+
const stroke = useIconColor(color);
|
|
37
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
38
|
+
width: size,
|
|
39
|
+
height: size,
|
|
40
|
+
viewBox: "0 0 24 24",
|
|
41
|
+
fill: "none",
|
|
42
|
+
children: /* @__PURE__ */ jsx(Path, {
|
|
43
|
+
d: "M4.5 12.75l5.25 5.25L19.5 7.5",
|
|
44
|
+
stroke,
|
|
45
|
+
strokeWidth,
|
|
46
|
+
strokeLinecap: "round",
|
|
47
|
+
strokeLinejoin: "round"
|
|
48
|
+
})
|
|
49
|
+
});
|
|
55
50
|
}
|
|
56
|
-
function CheckCircleIcon({
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
strokeLinejoin: "round"
|
|
78
|
-
})]
|
|
79
|
-
});
|
|
51
|
+
function CheckCircleIcon({ size = 16, color }) {
|
|
52
|
+
const fill = useIconColor(color);
|
|
53
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
54
|
+
width: size,
|
|
55
|
+
height: size,
|
|
56
|
+
viewBox: "0 0 24 24",
|
|
57
|
+
fill: "none",
|
|
58
|
+
children: [/* @__PURE__ */ jsx(Circle, {
|
|
59
|
+
cx: "12",
|
|
60
|
+
cy: "12",
|
|
61
|
+
r: "10",
|
|
62
|
+
stroke: fill,
|
|
63
|
+
strokeWidth: 2
|
|
64
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
65
|
+
d: "M9 12l2 2 4-4",
|
|
66
|
+
stroke: fill,
|
|
67
|
+
strokeWidth: 2,
|
|
68
|
+
strokeLinecap: "round",
|
|
69
|
+
strokeLinejoin: "round"
|
|
70
|
+
})]
|
|
71
|
+
});
|
|
80
72
|
}
|
|
81
|
-
function LinkIcon({
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
strokeLinejoin: "round"
|
|
103
|
-
})]
|
|
104
|
-
});
|
|
73
|
+
function LinkIcon({ size = 12, color }) {
|
|
74
|
+
const fill = useIconColor(color);
|
|
75
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
76
|
+
width: size,
|
|
77
|
+
height: size,
|
|
78
|
+
viewBox: "0 0 24 24",
|
|
79
|
+
fill: "none",
|
|
80
|
+
children: [/* @__PURE__ */ jsx(Path, {
|
|
81
|
+
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
82
|
+
stroke: fill,
|
|
83
|
+
strokeWidth: 2,
|
|
84
|
+
strokeLinecap: "round",
|
|
85
|
+
strokeLinejoin: "round"
|
|
86
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
87
|
+
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
88
|
+
stroke: fill,
|
|
89
|
+
strokeWidth: 2,
|
|
90
|
+
strokeLinecap: "round",
|
|
91
|
+
strokeLinejoin: "round"
|
|
92
|
+
})]
|
|
93
|
+
});
|
|
105
94
|
}
|
|
95
|
+
|
|
106
96
|
export { CheckCircleIcon, CheckIcon, ClipboardIcon, LinkIcon };
|
|
107
97
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["esm/icons/index.js"],"sourcesContent":["import { Circle, Path, Rect, Svg } from \"@tamagui/react-native-svg\";\nimport { useTheme } from \"tamagui\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nfunction useIconColor(color) {\n const theme = useTheme();\n const sigil = color?.startsWith(\"$\") === true;\n const key = sigil ? color.slice(1) : color;\n const fromTheme = key ? theme[key]?.val : void 0;\n if (fromTheme) return fromTheme;\n return sigil || !color ? theme.color?.val ?? \"currentColor\" : color;\n}\nfunction ClipboardIcon({ size = 16, color }) {\n const fill = useIconColor(color);\n return /* @__PURE__ */ jsxs(Svg, { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", children: [\n /* @__PURE__ */ jsx(Rect, { x: \"9\", y: \"2\", width: \"6\", height: \"4\", rx: \"1\", stroke: fill, strokeWidth: 2 }),\n /* @__PURE__ */ jsx(\n Path,\n {\n d: \"M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2\",\n stroke: fill,\n strokeWidth: 2\n }\n )\n ] });\n}\nfunction CheckIcon({\n size = 16,\n color,\n strokeWidth = 2.5\n}) {\n const stroke = useIconColor(color);\n return /* @__PURE__ */ jsx(Svg, { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", children: /* @__PURE__ */ jsx(\n Path,\n {\n d: \"M4.5 12.75l5.25 5.25L19.5 7.5\",\n stroke,\n strokeWidth,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }\n ) });\n}\nfunction CheckCircleIcon({ size = 16, color }) {\n const fill = useIconColor(color);\n return /* @__PURE__ */ jsxs(Svg, { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", children: [\n /* @__PURE__ */ jsx(Circle, { cx: \"12\", cy: \"12\", r: \"10\", stroke: fill, strokeWidth: 2 }),\n /* @__PURE__ */ jsx(\n Path,\n {\n d: \"M9 12l2 2 4-4\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }\n )\n ] });\n}\nfunction LinkIcon({ size = 12, color }) {\n const fill = useIconColor(color);\n return /* @__PURE__ */ jsxs(Svg, { width: size, height: size, viewBox: \"0 0 24 24\", fill: \"none\", children: [\n /* @__PURE__ */ jsx(\n Path,\n {\n d: \"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }\n ),\n /* @__PURE__ */ jsx(\n Path,\n {\n d: \"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }\n )\n ] });\n}\nexport {\n CheckCircleIcon,\n CheckIcon,\n ClipboardIcon,\n LinkIcon\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;AAGA,SAAS,aAAa,OAAO;CAC3B,MAAM,QAAQ,SAAS;CACvB,MAAM,QAAQ,OAAO,WAAW,GAAG,MAAM;CACzC,MAAM,MAAM,QAAQ,MAAM,MAAM,CAAC,IAAI;CACrC,MAAM,YAAY,MAAM,MAAM,IAAI,EAAE,MAAM,KAAK;CAC/C,IAAI,WAAW,OAAO;CACtB,OAAO,SAAS,CAAC,QAAQ,MAAM,OAAO,OAAO,iBAAiB;AAChE;AACA,SAAS,cAAc,EAAE,OAAO,IAAI,SAAS;CAC3C,MAAM,OAAO,aAAa,KAAK;CAC/B,OAAuB,qBAAK,KAAK;EAAE,OAAO;EAAM,QAAQ;EAAM,SAAS;EAAa,MAAM;EAAQ,UAAU,CAC1F,oBAAI,MAAM;GAAE,GAAG;GAAK,GAAG;GAAK,OAAO;GAAK,QAAQ;GAAK,IAAI;GAAK,QAAQ;GAAM,aAAa;EAAE,CAAC,GAC5F,oBACd,MACA;GACE,GAAG;GACH,QAAQ;GACR,aAAa;EACf,CACF,CACF;CAAE,CAAC;AACL;AACA,SAAS,UAAU,EACjB,OAAO,IACP,OACA,cAAc,OACb;CACD,MAAM,SAAS,aAAa,KAAK;CACjC,OAAuB,oBAAI,KAAK;EAAE,OAAO;EAAM,QAAQ;EAAM,SAAS;EAAa,MAAM;EAAQ,UAA0B,oBACzH,MACA;GACE,GAAG;GACH;GACA;GACA,eAAe;GACf,gBAAgB;EAClB,CACF;CAAE,CAAC;AACL;AACA,SAAS,gBAAgB,EAAE,OAAO,IAAI,SAAS;CAC7C,MAAM,OAAO,aAAa,KAAK;CAC/B,OAAuB,qBAAK,KAAK;EAAE,OAAO;EAAM,QAAQ;EAAM,SAAS;EAAa,MAAM;EAAQ,UAAU,CAC1F,oBAAI,QAAQ;GAAE,IAAI;GAAM,IAAI;GAAM,GAAG;GAAM,QAAQ;GAAM,aAAa;EAAE,CAAC,GACzE,oBACd,MACA;GACE,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CACF,CACF;CAAE,CAAC;AACL;AACA,SAAS,SAAS,EAAE,OAAO,IAAI,SAAS;CACtC,MAAM,OAAO,aAAa,KAAK;CAC/B,OAAuB,qBAAK,KAAK;EAAE,OAAO;EAAM,QAAQ;EAAM,SAAS;EAAa,MAAM;EAAQ,UAAU,CAC1F,oBACd,MACA;GACE,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CACF,GACgB,oBACd,MACA;GACE,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CACF,CACF;CAAE,CAAC;AACL"}
|
|
@@ -1,115 +1,103 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Circle, Path, Rect, Svg } from "@tamagui/react-native-svg";
|
|
3
3
|
import { useTheme } from "tamagui";
|
|
4
|
+
|
|
4
5
|
function useIconColor(color) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return (_ref = color !== null && color !== void 0 ? color : (_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.val) !== null && _ref !== void 0 ? _ref : "currentColor";
|
|
6
|
+
var _ref;
|
|
7
|
+
var _theme_key, _theme_color;
|
|
8
|
+
var theme = useTheme();
|
|
9
|
+
var sigil = (color === null || color === void 0 ? void 0 : color.startsWith("$")) === true;
|
|
10
|
+
var key = sigil ? color.slice(1) : color;
|
|
11
|
+
var fromTheme = key ? (_theme_key = theme[key]) === null || _theme_key === void 0 ? void 0 : _theme_key.val : void 0;
|
|
12
|
+
if (fromTheme) return fromTheme;
|
|
13
|
+
return sigil || !color ? (_ref = (_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.val) !== null && _ref !== void 0 ? _ref : "currentColor" : color;
|
|
14
14
|
}
|
|
15
15
|
function ClipboardIcon(param) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
strokeWidth: 2
|
|
38
|
-
})]
|
|
39
|
-
});
|
|
16
|
+
var { size = 16, color } = param;
|
|
17
|
+
var fill = useIconColor(color);
|
|
18
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
19
|
+
width: size,
|
|
20
|
+
height: size,
|
|
21
|
+
viewBox: "0 0 24 24",
|
|
22
|
+
fill: "none",
|
|
23
|
+
children: [/* @__PURE__ */ jsx(Rect, {
|
|
24
|
+
x: "9",
|
|
25
|
+
y: "2",
|
|
26
|
+
width: "6",
|
|
27
|
+
height: "4",
|
|
28
|
+
rx: "1",
|
|
29
|
+
stroke: fill,
|
|
30
|
+
strokeWidth: 2
|
|
31
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
32
|
+
d: "M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2",
|
|
33
|
+
stroke: fill,
|
|
34
|
+
strokeWidth: 2
|
|
35
|
+
})]
|
|
36
|
+
});
|
|
40
37
|
}
|
|
41
38
|
function CheckIcon(param) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
strokeLinecap: "round",
|
|
58
|
-
strokeLinejoin: "round"
|
|
59
|
-
})
|
|
60
|
-
});
|
|
39
|
+
var { size = 16, color, strokeWidth = 2.5 } = param;
|
|
40
|
+
var stroke = useIconColor(color);
|
|
41
|
+
return /* @__PURE__ */ jsx(Svg, {
|
|
42
|
+
width: size,
|
|
43
|
+
height: size,
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
fill: "none",
|
|
46
|
+
children: /* @__PURE__ */ jsx(Path, {
|
|
47
|
+
d: "M4.5 12.75l5.25 5.25L19.5 7.5",
|
|
48
|
+
stroke,
|
|
49
|
+
strokeWidth,
|
|
50
|
+
strokeLinecap: "round",
|
|
51
|
+
strokeLinejoin: "round"
|
|
52
|
+
})
|
|
53
|
+
});
|
|
61
54
|
}
|
|
62
55
|
function CheckCircleIcon(param) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
strokeLinejoin: "round"
|
|
85
|
-
})]
|
|
86
|
-
});
|
|
56
|
+
var { size = 16, color } = param;
|
|
57
|
+
var fill = useIconColor(color);
|
|
58
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
59
|
+
width: size,
|
|
60
|
+
height: size,
|
|
61
|
+
viewBox: "0 0 24 24",
|
|
62
|
+
fill: "none",
|
|
63
|
+
children: [/* @__PURE__ */ jsx(Circle, {
|
|
64
|
+
cx: "12",
|
|
65
|
+
cy: "12",
|
|
66
|
+
r: "10",
|
|
67
|
+
stroke: fill,
|
|
68
|
+
strokeWidth: 2
|
|
69
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
70
|
+
d: "M9 12l2 2 4-4",
|
|
71
|
+
stroke: fill,
|
|
72
|
+
strokeWidth: 2,
|
|
73
|
+
strokeLinecap: "round",
|
|
74
|
+
strokeLinejoin: "round"
|
|
75
|
+
})]
|
|
76
|
+
});
|
|
87
77
|
}
|
|
88
78
|
function LinkIcon(param) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
strokeLinejoin: "round"
|
|
111
|
-
})]
|
|
112
|
-
});
|
|
79
|
+
var { size = 12, color } = param;
|
|
80
|
+
var fill = useIconColor(color);
|
|
81
|
+
return /* @__PURE__ */ jsxs(Svg, {
|
|
82
|
+
width: size,
|
|
83
|
+
height: size,
|
|
84
|
+
viewBox: "0 0 24 24",
|
|
85
|
+
fill: "none",
|
|
86
|
+
children: [/* @__PURE__ */ jsx(Path, {
|
|
87
|
+
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
88
|
+
stroke: fill,
|
|
89
|
+
strokeWidth: 2,
|
|
90
|
+
strokeLinecap: "round",
|
|
91
|
+
strokeLinejoin: "round"
|
|
92
|
+
}), /* @__PURE__ */ jsx(Path, {
|
|
93
|
+
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
94
|
+
stroke: fill,
|
|
95
|
+
strokeWidth: 2,
|
|
96
|
+
strokeLinecap: "round",
|
|
97
|
+
strokeLinejoin: "round"
|
|
98
|
+
})]
|
|
99
|
+
});
|
|
113
100
|
}
|
|
101
|
+
|
|
114
102
|
export { CheckCircleIcon, CheckIcon, ClipboardIcon, LinkIcon };
|
|
115
103
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["esm/icons/index.native.js"],"sourcesContent":["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Circle, Path, Rect, Svg } from \"@tamagui/react-native-svg\";\nimport { useTheme } from \"tamagui\";\nfunction useIconColor(color) {\n var _ref;\n var _theme_key, _theme_color;\n var theme = useTheme();\n var sigil = (color === null || color === void 0 ? void 0 : color.startsWith(\"$\")) === true;\n var key = sigil ? color.slice(1) : color;\n var fromTheme = key ? (_theme_key = theme[key]) === null || _theme_key === void 0 ? void 0 : _theme_key.val : void 0;\n if (fromTheme) return fromTheme;\n return sigil || !color ? (_ref = (_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.val) !== null && _ref !== void 0 ? _ref : \"currentColor\" : color;\n}\nfunction ClipboardIcon(param) {\n var { size = 16, color } = param;\n var fill = useIconColor(color);\n return /* @__PURE__ */ _jsxs(Svg, {\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n children: [\n /* @__PURE__ */ _jsx(Rect, {\n x: \"9\",\n y: \"2\",\n width: \"6\",\n height: \"4\",\n rx: \"1\",\n stroke: fill,\n strokeWidth: 2\n }),\n /* @__PURE__ */ _jsx(Path, {\n d: \"M9 4H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2\",\n stroke: fill,\n strokeWidth: 2\n })\n ]\n });\n}\nfunction CheckIcon(param) {\n var { size = 16, color, strokeWidth = 2.5 } = param;\n var stroke = useIconColor(color);\n return /* @__PURE__ */ _jsx(Svg, {\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n children: /* @__PURE__ */ _jsx(Path, {\n d: \"M4.5 12.75l5.25 5.25L19.5 7.5\",\n stroke,\n strokeWidth,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })\n });\n}\nfunction CheckCircleIcon(param) {\n var { size = 16, color } = param;\n var fill = useIconColor(color);\n return /* @__PURE__ */ _jsxs(Svg, {\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n children: [\n /* @__PURE__ */ _jsx(Circle, {\n cx: \"12\",\n cy: \"12\",\n r: \"10\",\n stroke: fill,\n strokeWidth: 2\n }),\n /* @__PURE__ */ _jsx(Path, {\n d: \"M9 12l2 2 4-4\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })\n ]\n });\n}\nfunction LinkIcon(param) {\n var { size = 12, color } = param;\n var fill = useIconColor(color);\n return /* @__PURE__ */ _jsxs(Svg, {\n width: size,\n height: size,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n children: [\n /* @__PURE__ */ _jsx(Path, {\n d: \"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }),\n /* @__PURE__ */ _jsx(Path, {\n d: \"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\",\n stroke: fill,\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })\n ]\n });\n}\nexport {\n CheckCircleIcon,\n CheckIcon,\n ClipboardIcon,\n LinkIcon\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;;AAGA,SAAS,aAAa,OAAO;CAC3B,IAAI;CACJ,IAAI,YAAY;CAChB,IAAI,QAAQ,SAAS;CACrB,IAAI,SAAS,UAAU,QAAQ,UAAU,KAAK,IAAI,KAAK,IAAI,MAAM,WAAW,GAAG,OAAO;CACtF,IAAI,MAAM,QAAQ,MAAM,MAAM,CAAC,IAAI;CACnC,IAAI,YAAY,OAAO,aAAa,MAAM,UAAU,QAAQ,eAAe,KAAK,IAAI,KAAK,IAAI,WAAW,MAAM,KAAK;CACnH,IAAI,WAAW,OAAO;CACtB,OAAO,SAAS,CAAC,SAAS,QAAQ,eAAe,MAAM,WAAW,QAAQ,iBAAiB,KAAK,IAAI,KAAK,IAAI,aAAa,SAAS,QAAQ,SAAS,KAAK,IAAI,OAAO,iBAAiB;AACvL;AACA,SAAS,cAAc,OAAO;CAC5B,IAAI,EAAE,OAAO,IAAI,UAAU;CAC3B,IAAI,OAAO,aAAa,KAAK;CAC7B,OAAuB,qBAAM,KAAK;EAChC,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,UAAU,CACQ,oBAAK,MAAM;GACzB,GAAG;GACH,GAAG;GACH,OAAO;GACP,QAAQ;GACR,IAAI;GACJ,QAAQ;GACR,aAAa;EACf,CAAC,GACe,oBAAK,MAAM;GACzB,GAAG;GACH,QAAQ;GACR,aAAa;EACf,CAAC,CACH;CACF,CAAC;AACH;AACA,SAAS,UAAU,OAAO;CACxB,IAAI,EAAE,OAAO,IAAI,OAAO,cAAc,QAAQ;CAC9C,IAAI,SAAS,aAAa,KAAK;CAC/B,OAAuB,oBAAK,KAAK;EAC/B,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,UAA0B,oBAAK,MAAM;GACnC,GAAG;GACH;GACA;GACA,eAAe;GACf,gBAAgB;EAClB,CAAC;CACH,CAAC;AACH;AACA,SAAS,gBAAgB,OAAO;CAC9B,IAAI,EAAE,OAAO,IAAI,UAAU;CAC3B,IAAI,OAAO,aAAa,KAAK;CAC7B,OAAuB,qBAAM,KAAK;EAChC,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,UAAU,CACQ,oBAAK,QAAQ;GAC3B,IAAI;GACJ,IAAI;GACJ,GAAG;GACH,QAAQ;GACR,aAAa;EACf,CAAC,GACe,oBAAK,MAAM;GACzB,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CAAC,CACH;CACF,CAAC;AACH;AACA,SAAS,SAAS,OAAO;CACvB,IAAI,EAAE,OAAO,IAAI,UAAU;CAC3B,IAAI,OAAO,aAAa,KAAK;CAC7B,OAAuB,qBAAM,KAAK;EAChC,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,UAAU,CACQ,oBAAK,MAAM;GACzB,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CAAC,GACe,oBAAK,MAAM;GACzB,GAAG;GACH,QAAQ;GACR,aAAa;GACb,eAAe;GACf,gBAAgB;EAClB,CAAC,CACH;CACF,CAAC;AACH"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
import { Markdown } from "./Markdown.mjs";
|
|
2
2
|
import { parseMarkdown } from "./parser.mjs";
|
|
3
3
|
import { renderMarkdown } from "./renderer.mjs";
|
|
4
|
-
export * from "./mermaid/index.mjs";
|
|
5
4
|
import { MermaidBlock } from "./mermaid/MermaidBlock.mjs";
|
|
6
5
|
import { highlightCode } from "@multiplatform.one/components";
|
|
7
|
-
|
|
8
|
-
export * from "./
|
|
9
|
-
|
|
10
|
-
export * from "./
|
|
11
|
-
|
|
12
|
-
export * from "./
|
|
13
|
-
|
|
14
|
-
export * from "./
|
|
15
|
-
|
|
16
|
-
export * from "./
|
|
17
|
-
|
|
18
|
-
export * from "./
|
|
19
|
-
|
|
20
|
-
export * from "./
|
|
21
|
-
|
|
22
|
-
export
|
|
23
|
-
|
|
6
|
+
|
|
7
|
+
export * from "./mermaid/index.mjs"
|
|
8
|
+
|
|
9
|
+
export * from "./Aside/index.mjs"
|
|
10
|
+
|
|
11
|
+
export * from "./ExternalIcon/index.mjs"
|
|
12
|
+
|
|
13
|
+
export * from "./hooks/index.mjs"
|
|
14
|
+
|
|
15
|
+
export * from "./Hr/index.mjs"
|
|
16
|
+
|
|
17
|
+
export * from "./icons/index.mjs"
|
|
18
|
+
|
|
19
|
+
export * from "./Li/index.mjs"
|
|
20
|
+
|
|
21
|
+
export * from "./MarkdownSimpleTable/index.mjs"
|
|
22
|
+
|
|
23
|
+
export * from "./Mdx/index.mjs"
|
|
24
|
+
|
|
25
|
+
export * from "./MdxCodeBlock/index.mjs"
|
|
26
|
+
|
|
27
|
+
export * from "./mdxComponents.mjs"
|
|
28
|
+
|
|
29
|
+
export * from "./Notice/index.mjs"
|
|
30
|
+
|
|
31
|
+
export * from "./Table/index.mjs"
|
|
32
|
+
|
|
33
|
+
export * from "./Tabs/index.mjs"
|
|
34
|
+
|
|
35
|
+
export * from "./Ul/index.mjs"
|
|
36
|
+
|
|
37
|
+
export * from "./Video/index.mjs"
|
|
38
|
+
|
|
39
|
+
export { Markdown, MermaidBlock, highlightCode, parseMarkdown, renderMarkdown };
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
import { Markdown } from "./Markdown.native.js";
|
|
2
2
|
import { parseMarkdown } from "./parser.native.js";
|
|
3
3
|
import { renderMarkdown } from "./renderer.native.js";
|
|
4
|
-
export * from "./mermaid/index.native.js";
|
|
5
4
|
import { MermaidBlock } from "./mermaid/MermaidBlock.native.js";
|
|
6
5
|
import { highlightCode } from "@multiplatform.one/components";
|
|
7
|
-
|
|
8
|
-
export * from "./
|
|
9
|
-
|
|
10
|
-
export * from "./
|
|
11
|
-
|
|
12
|
-
export * from "./
|
|
13
|
-
|
|
14
|
-
export * from "./
|
|
15
|
-
|
|
16
|
-
export * from "./
|
|
17
|
-
|
|
18
|
-
export * from "./
|
|
19
|
-
|
|
20
|
-
export * from "./
|
|
21
|
-
|
|
22
|
-
export
|
|
23
|
-
|
|
6
|
+
|
|
7
|
+
export * from "./mermaid/index.native.js"
|
|
8
|
+
|
|
9
|
+
export * from "./Aside/index.native.js"
|
|
10
|
+
|
|
11
|
+
export * from "./ExternalIcon/index.native.js"
|
|
12
|
+
|
|
13
|
+
export * from "./hooks/index.native.js"
|
|
14
|
+
|
|
15
|
+
export * from "./Hr/index.native.js"
|
|
16
|
+
|
|
17
|
+
export * from "./icons/index.native.js"
|
|
18
|
+
|
|
19
|
+
export * from "./Li/index.native.js"
|
|
20
|
+
|
|
21
|
+
export * from "./MarkdownSimpleTable/index.native.js"
|
|
22
|
+
|
|
23
|
+
export * from "./Mdx/index.native.js"
|
|
24
|
+
|
|
25
|
+
export * from "./MdxCodeBlock/index.native.js"
|
|
26
|
+
|
|
27
|
+
export * from "./mdxComponents.native.js"
|
|
28
|
+
|
|
29
|
+
export * from "./Notice/index.native.js"
|
|
30
|
+
|
|
31
|
+
export * from "./Table/index.native.js"
|
|
32
|
+
|
|
33
|
+
export * from "./Tabs/index.native.js"
|
|
34
|
+
|
|
35
|
+
export * from "./Ul/index.native.js"
|
|
36
|
+
|
|
37
|
+
export * from "./Video/index.native.js"
|
|
38
|
+
|
|
39
|
+
export { Markdown, MermaidBlock, highlightCode, parseMarkdown, renderMarkdown };
|