@multiplatform.one/markdown 7.10.0 → 7.15.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/README.md +2 -2
- package/dist/cjs/Aside/index.native.js.map +1 -1
- package/dist/cjs/ExternalIcon/index.native.js.map +1 -1
- package/dist/cjs/Hr/index.native.js.map +1 -1
- package/dist/cjs/Li/index.native.js.map +1 -1
- package/dist/cjs/Markdown.native.js.map +1 -1
- package/dist/cjs/MarkdownSimpleTable/index.native.js.map +1 -1
- package/dist/cjs/Mdx/index.native.js +1 -1
- package/dist/cjs/Mdx/index.native.js.map +1 -1
- package/dist/cjs/MdxCodeBlock/index.native.js +1 -1
- package/dist/cjs/MdxCodeBlock/index.native.js.map +1 -1
- package/dist/cjs/MdxCodeBlock/mdxCodeBlockContext.native.js.map +1 -1
- package/dist/cjs/Notice/index.native.js.map +1 -1
- package/dist/cjs/Table/index.native.js.map +1 -1
- package/dist/cjs/Tabs/index.native.js.map +1 -1
- package/dist/cjs/Ul/index.native.js.map +1 -1
- package/dist/cjs/Video/index.native.js.map +1 -1
- package/dist/cjs/components/Blockquote.native.js.map +1 -1
- package/dist/cjs/components/Break.native.js.map +1 -1
- package/dist/cjs/components/CodeBlock.native.js.map +1 -1
- package/dist/cjs/components/Heading.native.js.map +1 -1
- package/dist/cjs/components/HorizontalRule.native.js.map +1 -1
- package/dist/cjs/components/Image.native.js.map +1 -1
- package/dist/cjs/components/InlineCode.native.js.map +1 -1
- package/dist/cjs/components/InlineStyles.native.js.map +1 -1
- package/dist/cjs/components/Link.native.js.map +1 -1
- package/dist/cjs/components/List.native.js +1 -1
- package/dist/cjs/components/List.native.js.map +1 -1
- package/dist/cjs/components/Paragraph.native.js.map +1 -1
- package/dist/cjs/components/Table.native.js.map +1 -1
- package/dist/cjs/components/index.native.js.map +1 -1
- package/dist/cjs/hooks/index.native.js.map +1 -1
- package/dist/cjs/hooks/useCompileAndEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/hooks/useCompileMdx.native.js.map +1 -1
- package/dist/cjs/hooks/useEvaluateMdx.native.js.map +1 -1
- package/dist/cjs/icons/index.native.js.map +1 -1
- package/dist/cjs/index.native.js +15 -15
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/mdxComponents.native.js +5 -5
- package/dist/cjs/mdxComponents.native.js.map +1 -1
- package/dist/cjs/mermaid/MermaidBlock.native.js +1 -1
- package/dist/cjs/mermaid/index.native.js.map +1 -1
- package/dist/cjs/mermaid/mountDiagramSvg.native.js.map +1 -1
- package/dist/cjs/parser.native.js.map +1 -1
- package/dist/cjs/renderer.native.js +1 -1
- package/dist/cjs/renderer.native.js.map +1 -1
- package/dist/cjs/shared/colorRamps.native.js.map +1 -1
- package/dist/cjs/shared/cutoffGradient.native.js.map +1 -1
- package/dist/cjs/shared/index.native.js.map +1 -1
- package/dist/cjs/shared/textRidesText.native.js.map +1 -1
- package/dist/cjs/shared/tokenPx.native.js.map +1 -1
- package/dist/cjs/shared/useMarkdownTableKnobs.native.js.map +1 -1
- package/dist/cjs/shiki/index.native.js.map +1 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/util/rehypeMetaAttributes.native.js.map +1 -1
- package/dist/jsx/index.native.js.map +1 -1
- package/package.json +13 -13
- package/src/stories/Callouts.stories.tsx +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","Markdown","import_Markdown","MermaidBlock","import_MermaidBlock"],"sources":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","index_exports","Markdown","import_Markdown","MermaidBlock","import_MermaidBlock","highlightCode","import_components","parseMarkdown","import_parser","renderMarkdown","import_renderer","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\n__export(index_exports, {\n Markdown: () => import_Markdown.Markdown,\n MermaidBlock: () => import_MermaidBlock.MermaidBlock,\n highlightCode: () => import_components.highlightCode,\n parseMarkdown: () => import_parser.parseMarkdown,\n renderMarkdown: () => import_renderer.renderMarkdown\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_Markdown = require(\"./Markdown\");\nvar import_parser = require(\"./parser\");\nvar import_renderer = require(\"./renderer\");\n__reExport(index_exports, require(\"./mermaid\"), module.exports);\nvar import_MermaidBlock = require(\"./mermaid/MermaidBlock\");\nvar import_components = require(\"@multiplatform.one/components\");\n__reExport(index_exports, require(\"./Aside\"), module.exports);\n__reExport(index_exports, require(\"./ExternalIcon\"), module.exports);\n__reExport(index_exports, require(\"./hooks\"), module.exports);\n__reExport(index_exports, require(\"./Hr\"), module.exports);\n__reExport(index_exports, require(\"./icons\"), module.exports);\n__reExport(index_exports, require(\"./Li\"), module.exports);\n__reExport(index_exports, require(\"./MarkdownSimpleTable\"), module.exports);\n__reExport(index_exports, require(\"./Mdx\"), module.exports);\n__reExport(index_exports, require(\"./MdxCodeBlock\"), module.exports);\n__reExport(index_exports, require(\"./mdxComponents\"), module.exports);\n__reExport(index_exports, require(\"./Notice\"), module.exports);\n__reExport(index_exports, require(\"./Table\"), module.exports);\n__reExport(index_exports, require(\"./Tabs\"), module.exports);\n__reExport(index_exports, require(\"./Ul\"), module.exports);\n__reExport(index_exports, require(\"./Video\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAA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,EAAEa,OAAO,CAAC,wBAAQ,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC5DjB,UAAU,CAACK,aAAa,EAAEa,OAAO,CAAC,sBAAM,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC1DjB,UAAU,CAACK,aAAa,EAAEa,OAAO,CAAC,yBAAS,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/markdown",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.15.0",
|
|
4
4
|
"description": "Cross-platform markdown renderer with Shiki syntax highlighting for React and React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cross-platform",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
],
|
|
15
15
|
"homepage": "https://multiplatform.one",
|
|
16
16
|
"bugs": {
|
|
17
|
-
"url": "https://
|
|
17
|
+
"url": "https://projects.corp.bitspur.com/tracker/MPO",
|
|
18
18
|
"email": "support@risserlabs.com"
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"author": "BitSpur <support@risserlabs.com> (https://risserlabs.com)",
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "git+https://
|
|
24
|
+
"url": "git+https://git.corp.bitspur.com/multiplatform.one/mpo.git",
|
|
25
25
|
"directory": "public/markdown"
|
|
26
26
|
},
|
|
27
27
|
"source": "src/index.ts",
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@mdx-js/mdx": "^3.1.1",
|
|
70
70
|
"@mdx-js/react": "^3.1.1",
|
|
71
|
+
"@multiplatform.one/components": "7.15.0",
|
|
72
|
+
"@multiplatform.one/platform": "7.15.0",
|
|
73
|
+
"@multiplatform.one/router": "7.15.0",
|
|
74
|
+
"@multiplatform.one/table-primitives": "7.15.0",
|
|
75
|
+
"@multiplatform.one/theme": "7.15.0",
|
|
71
76
|
"@tamagui/linear-gradient": "2.7.6",
|
|
72
77
|
"@tamagui/react-native-svg": "2.7.6",
|
|
73
78
|
"mermaid": "^11.14.0",
|
|
@@ -81,14 +86,12 @@
|
|
|
81
86
|
"shiki": "^4.0.2",
|
|
82
87
|
"tamagui": "2.7.6",
|
|
83
88
|
"unified": "^11.0.5",
|
|
84
|
-
"unist-util-visit": "^5.1.0"
|
|
85
|
-
"@multiplatform.one/platform": "7.10.0",
|
|
86
|
-
"@multiplatform.one/components": "7.10.0",
|
|
87
|
-
"@multiplatform.one/theme": "7.10.0",
|
|
88
|
-
"@multiplatform.one/router": "7.10.0",
|
|
89
|
-
"@multiplatform.one/table-primitives": "7.10.0"
|
|
89
|
+
"unist-util-visit": "^5.1.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
+
"@multiplatform.one/config": "7.15.0",
|
|
93
|
+
"@multiplatform.one/storybook": "7.15.0",
|
|
94
|
+
"@multiplatform.one/test-utils": "7.15.0",
|
|
92
95
|
"@tamagui/build": "2.7.6",
|
|
93
96
|
"@testing-library/jest-dom": "^6.9.1",
|
|
94
97
|
"@testing-library/react": "^16.3.2",
|
|
@@ -98,10 +101,7 @@
|
|
|
98
101
|
"@vitest/coverage-v8": "^4.1.5",
|
|
99
102
|
"react": "19.2.5",
|
|
100
103
|
"react-dom": "19.2.5",
|
|
101
|
-
"vitest": "^4.1.5"
|
|
102
|
-
"@multiplatform.one/config": "7.10.0",
|
|
103
|
-
"@multiplatform.one/test-utils": "7.10.0",
|
|
104
|
-
"@multiplatform.one/storybook": "7.10.0"
|
|
104
|
+
"vitest": "^4.1.5"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {
|
|
107
107
|
"react": "^19.1.0",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Button } from "@multiplatform.one/components";
|
|
1
2
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
2
|
-
import {
|
|
3
|
+
import { Paragraph, YStack } from "tamagui";
|
|
3
4
|
import { MDXAside, MDXNote } from "../Aside";
|
|
4
5
|
import { Notice } from "../Notice";
|
|
5
6
|
|