@industry-theme/markdown-panels 0.2.23 → 0.2.25
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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/MarkdownPanel.d.ts +2 -2
- package/dist/panels/MarkdownPanel.d.ts.map +1 -1
- package/dist/panels.bundle.js +517 -1662
- package/dist/panels.bundle.js.map +1 -1
- package/dist/types/index.d.ts +18 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +5 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MarkdownPanel } from './panels/MarkdownPanel';
|
|
2
2
|
import type { MarkdownPanelProps } from './panels/MarkdownPanel';
|
|
3
|
-
import type { PanelDefinition } from './types';
|
|
3
|
+
import type { PanelDefinition, MarkdownPanelActions, MarkdownPanelContext } from './types';
|
|
4
4
|
export { MarkdownPanel };
|
|
5
5
|
export type { MarkdownPanelProps };
|
|
6
6
|
/**
|
|
7
7
|
* Export array of panel definitions.
|
|
8
8
|
* This is the required export for panel extensions.
|
|
9
9
|
*/
|
|
10
|
-
export declare const panels: PanelDefinition[];
|
|
10
|
+
export declare const panels: PanelDefinition<MarkdownPanelActions, MarkdownPanelContext>[];
|
|
11
11
|
/**
|
|
12
12
|
* Optional: Called once when the entire package is loaded.
|
|
13
13
|
* Use this for package-level initialization.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EACV,eAAe,EAEf,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAIjB,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,EA2B/E,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,qBAEzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,qBAE3B,CAAC;AAEF;;;GAGG;AACH,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'themed-markdown/dist/index.css';
|
|
3
|
-
import type { PanelComponentProps } from '../types';
|
|
4
|
-
export interface MarkdownPanelProps extends PanelComponentProps {
|
|
3
|
+
import type { PanelComponentProps, MarkdownPanelActions, MarkdownPanelContext } from '../types';
|
|
4
|
+
export interface MarkdownPanelProps extends PanelComponentProps<MarkdownPanelActions, MarkdownPanelContext> {
|
|
5
5
|
/**
|
|
6
6
|
* Optional file path to display.
|
|
7
7
|
* If provided, this takes precedence over the active-file context slice.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownPanel.d.ts","sourceRoot":"","sources":["../../src/panels/MarkdownPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,OAAO,gCAAgC,CAAC;AACxC,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MarkdownPanel.d.ts","sourceRoot":"","sources":["../../src/panels/MarkdownPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,OAAO,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACV,mBAAmB,EAEnB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAmBlB,MAAM,WAAW,kBACf,SAAQ,mBAAmB,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IACvE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAudtD,CAAC"}
|