issue-pane 3.0.1-a25dd934 → 3.0.1-d28c27fa

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.
@@ -0,0 +1,12 @@
1
+ export interface PaneDefinition {
2
+ icon: string
3
+ name: string
4
+ audience: unknown[]
5
+ label: (subject: unknown, context: unknown) => string | null
6
+ render: (subject: unknown, context: { dom: Document }) => HTMLElement
7
+ mintClass?: unknown
8
+ mintNew?: (context: unknown, options: unknown) => Promise<unknown>
9
+ }
10
+
11
+ declare const issuePane: PaneDefinition
12
+ export default issuePane
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './declarations'
2
+ export type { PaneDefinition } from './declarations'
package/package.json CHANGED
@@ -1,17 +1,25 @@
1
1
  {
2
2
  "name": "issue-pane",
3
- "version": "3.0.1-a25dd934",
3
+ "version": "3.0.1-d28c27fa",
4
4
  "description": "Solid-compatible Panes: issue editor",
5
- "main": "lib/index.js",
5
+ "main": "lib/issue-pane.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "sideEffects": [
8
8
  "**/*.css"
9
9
  ],
10
10
  "files": [
11
11
  "lib/",
12
+ "index.d.ts",
13
+ "declarations.d.ts",
12
14
  "README.md",
13
15
  "LICENSE"
14
16
  ],
17
+ "exports": {
18
+ ".": {
19
+ "types": "./index.d.ts",
20
+ "default": "./lib/issue-pane.js"
21
+ }
22
+ },
15
23
  "scripts": {
16
24
  "clean": "rm -rf lib",
17
25
  "build": "npm run clean && npm run build-dist",