@mintlify/common 1.0.592 → 1.0.594
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/mdx/getMDXOptions.js +2 -1
- package/dist/mdx/plugins/remark/index.d.ts +1 -0
- package/dist/mdx/plugins/remark/index.js +1 -0
- package/dist/mdx/plugins/remark/remarkExtractMultiView.d.ts +3 -0
- package/dist/mdx/plugins/remark/remarkExtractMultiView.js +76 -0
- package/dist/mdx/server-only/getMdx.js +4 -0
- package/dist/mdx/snippets/resolveImport/index.d.ts +1 -1
- package/dist/mdx/utils.js +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/mdx/MdxExtracts.d.ts +2 -0
- package/dist/types/mdx/MultiViewItemType.d.ts +7 -0
- package/dist/types/mdx/MultiViewItemType.js +1 -0
- package/dist/types/mdx/index.d.ts +2 -1
- package/dist/types/mdx/index.js +1 -0
- package/dist/types/mdx/snippets/import.d.ts +1 -1
- package/package.json +2 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Endpoint } from '@mintlify/validation';
|
|
2
2
|
import { ChangelogFilter } from './ChangelogFilter.js';
|
|
3
3
|
import { MdxCodeExampleData } from './MdxCodeExampleData.js';
|
|
4
|
+
import { MultiViewItemType } from './MultiViewItemType.js';
|
|
4
5
|
import { PanelType } from './PanelType.js';
|
|
5
6
|
import { TableOfContentsSectionType } from './TableOfContentsSectionType.js';
|
|
6
7
|
export type MdxExtracts = {
|
|
@@ -12,4 +13,5 @@ export type MdxExtracts = {
|
|
|
12
13
|
response?: MdxCodeExampleData;
|
|
13
14
|
};
|
|
14
15
|
panel?: PanelType;
|
|
16
|
+
multiViewItems?: MultiViewItemType[];
|
|
15
17
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Directive, Statement, ModuleDeclaration } from 'estree-jsx';
|
|
2
|
-
import { Root } from 'mdast';
|
|
2
|
+
import type { Root } from 'mdast';
|
|
3
3
|
export type MdxNodeBodyChildType = Directive | Statement | ModuleDeclaration;
|
|
4
4
|
export type MdxNodeBodyType = Array<MdxNodeBodyChildType>;
|
|
5
5
|
export type FileType = {
|
|
@@ -12,3 +12,4 @@ export * from './MdxCodeExampleData.js';
|
|
|
12
12
|
export * from './TableOfContentsSectionType.js';
|
|
13
13
|
export * from './MdxExtracts.js';
|
|
14
14
|
export * from './ChangelogFilter.js';
|
|
15
|
+
export * from './MultiViewItemType.js';
|
package/dist/types/mdx/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.594",
|
|
4
4
|
"description": "Commonly shared code within Mintlify",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"hex-rgb": "^5.0.0",
|
|
65
65
|
"js-yaml": "^4.1.0",
|
|
66
66
|
"lodash": "^4.17.21",
|
|
67
|
-
"mdast": "^3.0.0",
|
|
68
67
|
"mdast-util-from-markdown": "^2.0.2",
|
|
69
68
|
"mdast-util-gfm": "^3.0.0",
|
|
70
69
|
"mdast-util-mdx": "^3.0.0",
|
|
@@ -108,5 +107,5 @@
|
|
|
108
107
|
"typescript": "^5.5.3",
|
|
109
108
|
"vitest": "^2.0.4"
|
|
110
109
|
},
|
|
111
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "1013da00d203b9b5bc3130ef604e1710da0e48b1"
|
|
112
111
|
}
|