@multiplatform.one/markdown 9.17.0 → 10.0.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 +138 -176
- package/dist/cjs/MdxCodeBlock/index.native.cjs +181 -0
- package/dist/cjs/MdxCodeBlock/index.native.js +150 -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 +34 -45
- package/dist/cjs/Notice/index.native.cjs +52 -0
- package/dist/cjs/Notice/index.native.js +34 -44
- 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 +125 -152
- package/dist/esm/MdxCodeBlock/index.mjs.map +1 -1
- package/dist/esm/MdxCodeBlock/index.native.js +137 -172
- 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 +22 -27
- package/dist/esm/Notice/index.mjs.map +1 -1
- package/dist/esm/Notice/index.native.js +23 -28
- 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 +125 -152
- package/dist/jsx/MdxCodeBlock/index.mjs.map +1 -1
- package/dist/jsx/MdxCodeBlock/index.native.cjs +181 -0
- package/dist/jsx/MdxCodeBlock/index.native.js +150 -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 +22 -27
- package/dist/jsx/Notice/index.mjs.map +1 -1
- package/dist/jsx/Notice/index.native.cjs +52 -0
- package/dist/jsx/Notice/index.native.js +34 -44
- 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 +8 -9
- package/src/Notice/index.tsx +1 -1
- 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/Notice/index.d.ts +1 -1
- 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
|
@@ -5,60 +5,51 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
12
|
};
|
|
13
13
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
-
value: mod,
|
|
29
|
-
enumerable: true
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
30
25
|
}) : target, mod));
|
|
31
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
-
value: true
|
|
33
|
-
}), mod);
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
27
|
var useEvaluateMdx_exports = {};
|
|
35
|
-
__export(useEvaluateMdx_exports, {
|
|
36
|
-
useEvaluateMdx: () => useEvaluateMdx
|
|
37
|
-
});
|
|
28
|
+
__export(useEvaluateMdx_exports, { useEvaluateMdx: () => useEvaluateMdx });
|
|
38
29
|
module.exports = __toCommonJS(useEvaluateMdx_exports);
|
|
39
30
|
var import_react = require("react");
|
|
40
31
|
var jsxRuntime = __toESM(require("react/jsx-runtime"));
|
|
41
32
|
function useEvaluateMdx(code, options) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
33
|
+
const [Component, setComponent] = (0, import_react.useState)();
|
|
34
|
+
(0, import_react.useEffect)(() => {
|
|
35
|
+
if (!code) return;
|
|
36
|
+
try {
|
|
37
|
+
const Evaluated = evaluateMdx(code, options);
|
|
38
|
+
setComponent(() => Evaluated);
|
|
39
|
+
} catch (err) {
|
|
40
|
+
console.error("useEvaluateMdx: failed to evaluate compiled MDX", err);
|
|
41
|
+
setComponent(void 0);
|
|
42
|
+
}
|
|
43
|
+
}, [code, options]);
|
|
44
|
+
return Component;
|
|
54
45
|
}
|
|
55
46
|
function evaluateMdx(code, options) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
47
|
+
return run(code, {
|
|
48
|
+
...jsxRuntime,
|
|
49
|
+
...options
|
|
50
|
+
}).default;
|
|
60
51
|
}
|
|
61
52
|
const AsyncFunction = Object.getPrototypeOf(run).constructor;
|
|
62
53
|
function run(code, options) {
|
|
63
|
-
|
|
64
|
-
}
|
|
54
|
+
return new AsyncFunction(String(code))(options);
|
|
55
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
+
get: () => from[key],
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
25
|
+
value: mod,
|
|
26
|
+
enumerable: true
|
|
27
|
+
}) : target, mod));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var useEvaluateMdx_exports = {};
|
|
30
|
+
__export(useEvaluateMdx_exports, { useEvaluateMdx: () => useEvaluateMdx });
|
|
31
|
+
module.exports = __toCommonJS(useEvaluateMdx_exports);
|
|
32
|
+
var import_react = require("react");
|
|
33
|
+
var jsxRuntime = __toESM(require("react/jsx-runtime"));
|
|
34
|
+
function useEvaluateMdx(code, options) {
|
|
35
|
+
var [Component, setComponent] = (0, import_react.useState)();
|
|
36
|
+
(0, import_react.useEffect)(function() {
|
|
37
|
+
if (!code) return;
|
|
38
|
+
try {
|
|
39
|
+
var Evaluated = evaluateMdx(code, options);
|
|
40
|
+
setComponent(function() {
|
|
41
|
+
return Evaluated;
|
|
42
|
+
});
|
|
43
|
+
} catch (err) {
|
|
44
|
+
console.error("useEvaluateMdx: failed to evaluate compiled MDX", err);
|
|
45
|
+
setComponent(void 0);
|
|
46
|
+
}
|
|
47
|
+
}, [code, options]);
|
|
48
|
+
return Component;
|
|
49
|
+
}
|
|
50
|
+
function evaluateMdx(code, options) {
|
|
51
|
+
return run(code, {
|
|
52
|
+
...jsxRuntime,
|
|
53
|
+
...options
|
|
54
|
+
}).default;
|
|
55
|
+
}
|
|
56
|
+
var AsyncFunction = Object.getPrototypeOf(run).constructor;
|
|
57
|
+
function run(code, options) {
|
|
58
|
+
return new AsyncFunction(String(code))(options);
|
|
59
|
+
}
|
|
@@ -7,63 +7,55 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __export = (target, all) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
14
|
};
|
|
15
15
|
var __copyProps = (to, from, except, desc) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
+
get: () => from[key],
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
23
|
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
-
value: mod,
|
|
31
|
-
enumerable: true
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
25
|
+
value: mod,
|
|
26
|
+
enumerable: true
|
|
32
27
|
}) : target, mod));
|
|
33
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
-
value: true
|
|
35
|
-
}), mod);
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
29
|
var useEvaluateMdx_exports = {};
|
|
37
|
-
__export(useEvaluateMdx_exports, {
|
|
38
|
-
useEvaluateMdx: () => useEvaluateMdx
|
|
39
|
-
});
|
|
30
|
+
__export(useEvaluateMdx_exports, { useEvaluateMdx: () => useEvaluateMdx });
|
|
40
31
|
module.exports = __toCommonJS(useEvaluateMdx_exports);
|
|
41
32
|
var import_react = require("react");
|
|
42
33
|
var jsxRuntime = __toESM(require("react/jsx-runtime"));
|
|
43
34
|
function useEvaluateMdx(code, options) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
35
|
+
var [Component, setComponent] = (0, import_react.useState)();
|
|
36
|
+
(0, import_react.useEffect)(function() {
|
|
37
|
+
if (!code) return;
|
|
38
|
+
try {
|
|
39
|
+
var Evaluated = evaluateMdx(code, options);
|
|
40
|
+
setComponent(function() {
|
|
41
|
+
return Evaluated;
|
|
42
|
+
});
|
|
43
|
+
} catch (err) {
|
|
44
|
+
console.error("useEvaluateMdx: failed to evaluate compiled MDX", err);
|
|
45
|
+
setComponent(void 0);
|
|
46
|
+
}
|
|
47
|
+
}, [code, options]);
|
|
48
|
+
return Component;
|
|
58
49
|
}
|
|
59
50
|
function evaluateMdx(code, options) {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
51
|
+
return run(code, {
|
|
52
|
+
...jsxRuntime,
|
|
53
|
+
...options
|
|
54
|
+
}).default;
|
|
64
55
|
}
|
|
65
56
|
var AsyncFunction = Object.getPrototypeOf(run).constructor;
|
|
66
57
|
function run(code, options) {
|
|
67
|
-
|
|
58
|
+
return new AsyncFunction(String(code))(options);
|
|
68
59
|
}
|
|
60
|
+
|
|
69
61
|
//# sourceMappingURL=useEvaluateMdx.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"useEvaluateMdx.native.js","names":[],"sources":["cjs/hooks/useEvaluateMdx.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useEvaluateMdx_exports = {};\n__export(useEvaluateMdx_exports, {\n useEvaluateMdx: () => useEvaluateMdx\n});\nmodule.exports = __toCommonJS(useEvaluateMdx_exports);\nvar import_react = require(\"react\");\nvar jsxRuntime = __toESM(require(\"react/jsx-runtime\"));\nfunction useEvaluateMdx(code, options) {\n var [Component, setComponent] = (0, import_react.useState)();\n (0, import_react.useEffect)(function() {\n if (!code) return;\n try {\n var Evaluated = evaluateMdx(code, options);\n setComponent(function() {\n return Evaluated;\n });\n } catch (err) {\n console.error(\"useEvaluateMdx: failed to evaluate compiled MDX\", err);\n setComponent(void 0);\n }\n }, [\n code,\n options\n ]);\n return Component;\n}\nfunction evaluateMdx(code, options) {\n return run(code, {\n ...jsxRuntime,\n ...options\n }).default;\n}\nvar AsyncFunction = Object.getPrototypeOf(run).constructor;\nfunction run(code, options) {\n return new AsyncFunction(String(code))(options);\n}\n//# sourceMappingURL=useEvaluateMdx.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,yBAAyB,CAAC;AAC9B,SAAS,wBAAwB,EAC/B,sBAAsB,eACxB,CAAC;AACD,OAAO,UAAU,aAAa,sBAAsB;AACpD,IAAI,eAAe,QAAQ,OAAO;AAClC,IAAI,aAAa,QAAQ,QAAQ,mBAAmB,CAAC;AACrD,SAAS,eAAe,MAAM,SAAS;CACrC,IAAI,CAAC,WAAW,iBAAiB,GAAG,aAAa,SAAQ,CAAE;CAC3D,CAAC,GAAG,aAAa,UAAS,CAAE,WAAW;EACrC,IAAI,CAAC,MAAM;EACX,IAAI;GACF,IAAI,YAAY,YAAY,MAAM,OAAO;GACzC,aAAa,WAAW;IACtB,OAAO;GACT,CAAC;EACH,SAAS,KAAK;GACZ,QAAQ,MAAM,mDAAmD,GAAG;GACpE,aAAa,KAAK,CAAC;EACrB;CACF,GAAG,CACD,MACA,OACF,CAAC;CACD,OAAO;AACT;AACA,SAAS,YAAY,MAAM,SAAS;CAClC,OAAO,IAAI,MAAM;EACf,GAAG;EACH,GAAG;CACL,CAAC,CAAC,CAAC;AACL;AACA,IAAI,gBAAgB,OAAO,eAAe,GAAG,CAAC,CAAC;AAC/C,SAAS,IAAI,MAAM,SAAS;CAC1B,OAAO,IAAI,cAAc,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO;AAChD"}
|
package/dist/cjs/icons/index.cjs
CHANGED
|
@@ -3,133 +3,119 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
10
|
};
|
|
11
11
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
19
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
21
|
var icons_exports = {};
|
|
24
22
|
__export(icons_exports, {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
CheckCircleIcon: () => CheckCircleIcon,
|
|
24
|
+
CheckIcon: () => CheckIcon,
|
|
25
|
+
ClipboardIcon: () => ClipboardIcon,
|
|
26
|
+
LinkIcon: () => LinkIcon
|
|
29
27
|
});
|
|
30
28
|
module.exports = __toCommonJS(icons_exports);
|
|
31
29
|
var import_react_native_svg = require("@tamagui/react-native-svg");
|
|
32
30
|
var import_tamagui = require("tamagui");
|
|
33
31
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
32
|
function useIconColor(color) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
const theme = (0, import_tamagui.useTheme)();
|
|
34
|
+
const sigil = color?.startsWith("$") === true;
|
|
35
|
+
const key = sigil ? color.slice(1) : color;
|
|
36
|
+
const fromTheme = key ? theme[key]?.val : void 0;
|
|
37
|
+
if (fromTheme) return fromTheme;
|
|
38
|
+
return sigil || !color ? theme.color?.val ?? "currentColor" : color;
|
|
40
39
|
}
|
|
41
|
-
function ClipboardIcon({
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
strokeWidth: 2
|
|
63
|
-
})]
|
|
64
|
-
});
|
|
40
|
+
function ClipboardIcon({ size = 16, color }) {
|
|
41
|
+
const fill = useIconColor(color);
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
43
|
+
width: size,
|
|
44
|
+
height: size,
|
|
45
|
+
viewBox: "0 0 24 24",
|
|
46
|
+
fill: "none",
|
|
47
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Rect, {
|
|
48
|
+
x: "9",
|
|
49
|
+
y: "2",
|
|
50
|
+
width: "6",
|
|
51
|
+
height: "4",
|
|
52
|
+
rx: "1",
|
|
53
|
+
stroke: fill,
|
|
54
|
+
strokeWidth: 2
|
|
55
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
56
|
+
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",
|
|
57
|
+
stroke: fill,
|
|
58
|
+
strokeWidth: 2
|
|
59
|
+
})]
|
|
60
|
+
});
|
|
65
61
|
}
|
|
66
|
-
function CheckIcon({
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
strokeLinecap: "round",
|
|
82
|
-
strokeLinejoin: "round"
|
|
83
|
-
})
|
|
84
|
-
});
|
|
62
|
+
function CheckIcon({ size = 16, color, strokeWidth = 2.5 }) {
|
|
63
|
+
const stroke = useIconColor(color);
|
|
64
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Svg, {
|
|
65
|
+
width: size,
|
|
66
|
+
height: size,
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "none",
|
|
69
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
70
|
+
d: "M4.5 12.75l5.25 5.25L19.5 7.5",
|
|
71
|
+
stroke,
|
|
72
|
+
strokeWidth,
|
|
73
|
+
strokeLinecap: "round",
|
|
74
|
+
strokeLinejoin: "round"
|
|
75
|
+
})
|
|
76
|
+
});
|
|
85
77
|
}
|
|
86
|
-
function CheckCircleIcon({
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
78
|
+
function CheckCircleIcon({ size = 16, color }) {
|
|
79
|
+
const fill = useIconColor(color);
|
|
80
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
81
|
+
width: size,
|
|
82
|
+
height: size,
|
|
83
|
+
viewBox: "0 0 24 24",
|
|
84
|
+
fill: "none",
|
|
85
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Circle, {
|
|
86
|
+
cx: "12",
|
|
87
|
+
cy: "12",
|
|
88
|
+
r: "10",
|
|
89
|
+
stroke: fill,
|
|
90
|
+
strokeWidth: 2
|
|
91
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
92
|
+
d: "M9 12l2 2 4-4",
|
|
93
|
+
stroke: fill,
|
|
94
|
+
strokeWidth: 2,
|
|
95
|
+
strokeLinecap: "round",
|
|
96
|
+
strokeLinejoin: "round"
|
|
97
|
+
})]
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function LinkIcon({ size = 12, color }) {
|
|
101
|
+
const fill = useIconColor(color);
|
|
102
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
103
|
+
width: size,
|
|
104
|
+
height: size,
|
|
105
|
+
viewBox: "0 0 24 24",
|
|
106
|
+
fill: "none",
|
|
107
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
108
|
+
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
109
|
+
stroke: fill,
|
|
110
|
+
strokeWidth: 2,
|
|
111
|
+
strokeLinecap: "round",
|
|
112
|
+
strokeLinejoin: "round"
|
|
113
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
114
|
+
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
115
|
+
stroke: fill,
|
|
116
|
+
strokeWidth: 2,
|
|
117
|
+
strokeLinecap: "round",
|
|
118
|
+
strokeLinejoin: "round"
|
|
119
|
+
})]
|
|
120
|
+
});
|
|
110
121
|
}
|
|
111
|
-
function LinkIcon({
|
|
112
|
-
size = 12,
|
|
113
|
-
color
|
|
114
|
-
}) {
|
|
115
|
-
const fill = useIconColor(color);
|
|
116
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
117
|
-
width: size,
|
|
118
|
-
height: size,
|
|
119
|
-
viewBox: "0 0 24 24",
|
|
120
|
-
fill: "none",
|
|
121
|
-
children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
122
|
-
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
123
|
-
stroke: fill,
|
|
124
|
-
strokeWidth: 2,
|
|
125
|
-
strokeLinecap: "round",
|
|
126
|
-
strokeLinejoin: "round"
|
|
127
|
-
}), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
128
|
-
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
129
|
-
stroke: fill,
|
|
130
|
-
strokeWidth: 2,
|
|
131
|
-
strokeLinecap: "round",
|
|
132
|
-
strokeLinejoin: "round"
|
|
133
|
-
})]
|
|
134
|
-
});
|
|
135
|
-
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
|
+
var icons_exports = {};
|
|
24
|
+
__export(icons_exports, {
|
|
25
|
+
CheckCircleIcon: () => CheckCircleIcon,
|
|
26
|
+
CheckIcon: () => CheckIcon,
|
|
27
|
+
ClipboardIcon: () => ClipboardIcon,
|
|
28
|
+
LinkIcon: () => LinkIcon
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(icons_exports);
|
|
31
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
+
var import_react_native_svg = require("@tamagui/react-native-svg");
|
|
33
|
+
var import_tamagui = require("tamagui");
|
|
34
|
+
function useIconColor(color) {
|
|
35
|
+
var _ref;
|
|
36
|
+
var _theme_key, _theme_color;
|
|
37
|
+
var theme = (0, import_tamagui.useTheme)();
|
|
38
|
+
var sigil = (color === null || color === void 0 ? void 0 : color.startsWith("$")) === true;
|
|
39
|
+
var key = sigil ? color.slice(1) : color;
|
|
40
|
+
var fromTheme = key ? (_theme_key = theme[key]) === null || _theme_key === void 0 ? void 0 : _theme_key.val : void 0;
|
|
41
|
+
if (fromTheme) return fromTheme;
|
|
42
|
+
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;
|
|
43
|
+
}
|
|
44
|
+
function ClipboardIcon(param) {
|
|
45
|
+
var { size = 16, color } = param;
|
|
46
|
+
var fill = useIconColor(color);
|
|
47
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
48
|
+
width: size,
|
|
49
|
+
height: size,
|
|
50
|
+
viewBox: "0 0 24 24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Rect, {
|
|
53
|
+
x: "9",
|
|
54
|
+
y: "2",
|
|
55
|
+
width: "6",
|
|
56
|
+
height: "4",
|
|
57
|
+
rx: "1",
|
|
58
|
+
stroke: fill,
|
|
59
|
+
strokeWidth: 2
|
|
60
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
61
|
+
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",
|
|
62
|
+
stroke: fill,
|
|
63
|
+
strokeWidth: 2
|
|
64
|
+
})]
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function CheckIcon(param) {
|
|
68
|
+
var { size = 16, color, strokeWidth = 2.5 } = param;
|
|
69
|
+
var stroke = useIconColor(color);
|
|
70
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Svg, {
|
|
71
|
+
width: size,
|
|
72
|
+
height: size,
|
|
73
|
+
viewBox: "0 0 24 24",
|
|
74
|
+
fill: "none",
|
|
75
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
76
|
+
d: "M4.5 12.75l5.25 5.25L19.5 7.5",
|
|
77
|
+
stroke,
|
|
78
|
+
strokeWidth,
|
|
79
|
+
strokeLinecap: "round",
|
|
80
|
+
strokeLinejoin: "round"
|
|
81
|
+
})
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function CheckCircleIcon(param) {
|
|
85
|
+
var { size = 16, color } = param;
|
|
86
|
+
var fill = useIconColor(color);
|
|
87
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
88
|
+
width: size,
|
|
89
|
+
height: size,
|
|
90
|
+
viewBox: "0 0 24 24",
|
|
91
|
+
fill: "none",
|
|
92
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Circle, {
|
|
93
|
+
cx: "12",
|
|
94
|
+
cy: "12",
|
|
95
|
+
r: "10",
|
|
96
|
+
stroke: fill,
|
|
97
|
+
strokeWidth: 2
|
|
98
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
99
|
+
d: "M9 12l2 2 4-4",
|
|
100
|
+
stroke: fill,
|
|
101
|
+
strokeWidth: 2,
|
|
102
|
+
strokeLinecap: "round",
|
|
103
|
+
strokeLinejoin: "round"
|
|
104
|
+
})]
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
function LinkIcon(param) {
|
|
108
|
+
var { size = 12, color } = param;
|
|
109
|
+
var fill = useIconColor(color);
|
|
110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react_native_svg.Svg, {
|
|
111
|
+
width: size,
|
|
112
|
+
height: size,
|
|
113
|
+
viewBox: "0 0 24 24",
|
|
114
|
+
fill: "none",
|
|
115
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
116
|
+
d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",
|
|
117
|
+
stroke: fill,
|
|
118
|
+
strokeWidth: 2,
|
|
119
|
+
strokeLinecap: "round",
|
|
120
|
+
strokeLinejoin: "round"
|
|
121
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_native_svg.Path, {
|
|
122
|
+
d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",
|
|
123
|
+
stroke: fill,
|
|
124
|
+
strokeWidth: 2,
|
|
125
|
+
strokeLinecap: "round",
|
|
126
|
+
strokeLinejoin: "round"
|
|
127
|
+
})]
|
|
128
|
+
});
|
|
129
|
+
}
|