@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.
@@ -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,7 @@
1
+ import { IconType } from '@mintlify/models';
2
+ export type MultiViewItemType = {
3
+ title: string;
4
+ content: string;
5
+ icon?: string;
6
+ iconType?: IconType;
7
+ };
@@ -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';
@@ -3,3 +3,4 @@ export * from './MdxCodeExampleData.js';
3
3
  export * from './TableOfContentsSectionType.js';
4
4
  export * from './MdxExtracts.js';
5
5
  export * from './ChangelogFilter.js';
6
+ export * from './MultiViewItemType.js';
@@ -1,4 +1,4 @@
1
- import { Root } from 'mdast';
1
+ import type { Root } from 'mdast';
2
2
  export type MdxImportNode = {
3
3
  source: string;
4
4
  specifiers: ImportSpecifier[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/common",
3
- "version": "1.0.592",
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": "1b33af402d791fb3650721358cb56c0f511a3806"
110
+ "gitHead": "1013da00d203b9b5bc3130ef604e1710da0e48b1"
112
111
  }