@readme/markdown 11.3.0 → 11.5.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/components/MCPIntro/index.tsx +45 -0
- package/components/index.ts +1 -0
- package/dist/10.node.js +292 -292
- package/dist/10.node.js.map +1 -1
- package/dist/109.node.js +1 -1
- package/dist/362.node.js +23 -0
- package/dist/362.node.js.map +1 -0
- package/dist/486.node.js +161 -161
- package/dist/486.node.js.map +1 -1
- package/dist/{197.node.js → 599.node.js} +6 -6
- package/dist/{197.node.js.map → 599.node.js.map} +1 -1
- package/dist/614.node.js +23 -0
- package/dist/614.node.js.map +1 -0
- package/dist/664.node.js +23 -0
- package/dist/664.node.js.map +1 -0
- package/dist/669.node.js +23 -0
- package/dist/669.node.js.map +1 -0
- package/dist/73.node.js +23 -0
- package/dist/73.node.js.map +1 -0
- package/dist/865.node.js +23 -0
- package/dist/865.node.js.map +1 -0
- package/dist/968.node.js +23 -0
- package/dist/968.node.js.map +1 -0
- package/dist/995.node.js +24 -7
- package/dist/995.node.js.map +1 -1
- package/dist/components/MCPIntro/index.d.ts +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/main.js +257 -221
- package/dist/main.node.js +257 -221
- package/dist/main.node.js.map +1 -1
- package/dist/processor/transform/index.d.ts +2 -1
- package/dist/processor/transform/migrate-html-tags.d.ts +3 -0
- package/dist/processor/transform/validate-mcpintro.d.ts +7 -0
- package/package.json +1 -1
- package/dist/101.node.js +0 -23
- package/dist/101.node.js.map +0 -1
- package/dist/213.node.js +0 -23
- package/dist/213.node.js.map +0 -1
- package/dist/387.node.js +0 -23
- package/dist/387.node.js.map +0 -1
- package/dist/579.node.js +0 -23
- package/dist/579.node.js.map +0 -1
- package/dist/713.node.js +0 -23
- package/dist/713.node.js.map +0 -1
- package/dist/903.node.js +0 -23
- package/dist/903.node.js.map +0 -1
- package/dist/941.node.js +0 -23
- package/dist/941.node.js.map +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// We render a placeholder in this library, as the actual implemenation is
|
|
4
|
+
// deeply tied to the main app
|
|
5
|
+
const MCPIntro = () => {
|
|
6
|
+
const style = {
|
|
7
|
+
height: '200px',
|
|
8
|
+
border: '1px solid var(--color-border-default, rgba(black, 0.1))',
|
|
9
|
+
borderRadius: 'var(--border-radius-lg, 7.5px)',
|
|
10
|
+
display: 'flex',
|
|
11
|
+
flexDirection: 'column' as const,
|
|
12
|
+
padding: '20px',
|
|
13
|
+
gap: '15px',
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const placeholderStyle = {
|
|
17
|
+
borderRadius: 'var(--border-radius-md, 5px)',
|
|
18
|
+
backgroundColor: 'var(--color-skeleton, #384248)',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const headerStyle = {
|
|
22
|
+
...placeholderStyle,
|
|
23
|
+
height: '24px',
|
|
24
|
+
width: '200px',
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const lineStyle = {
|
|
28
|
+
...placeholderStyle,
|
|
29
|
+
height: '12px',
|
|
30
|
+
width: '100%',
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<div className="MCPIntro" style={style}>
|
|
35
|
+
<div style={headerStyle} />
|
|
36
|
+
<div style={{ ...lineStyle, width: '90%' }} />
|
|
37
|
+
<div style={{ ...lineStyle, width: '95%' }} />
|
|
38
|
+
<div style={{ ...lineStyle, width: '85%' }} />
|
|
39
|
+
<div style={{ ...lineStyle, width: '92%' }} />
|
|
40
|
+
<div style={{ ...lineStyle, width: '88%' }} />
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export default MCPIntro;
|
package/components/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { default as Glossary } from './Glossary';
|
|
|
10
10
|
export { default as HTMLBlock } from './HTMLBlock';
|
|
11
11
|
export { default as Heading } from './Heading';
|
|
12
12
|
export { default as Image } from './Image';
|
|
13
|
+
export { default as MCPIntro } from './MCPIntro';
|
|
13
14
|
export { default as Table } from './Table';
|
|
14
15
|
export { default as TableOfContents } from './TableOfContents';
|
|
15
16
|
export { default as Tabs, Tab } from './Tabs';
|