@appsoftwareltd/etherpk-extension-api 0.14.1 → 0.16.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/README.md +1 -1
- package/dist/context.d.ts +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -360,7 +360,7 @@ is part of the graph: it syncs, and every member of a shared graph can see it.
|
|
|
360
360
|
### Icons
|
|
361
361
|
|
|
362
362
|
`context.icons.svg(name)` draws one of the extension's own icons or one of the Client's, as markup the
|
|
363
|
-
Client trusts. The Client's icons, which every `icon` field may name too, are `alias`, `backlinks`, `bold`, `bullet`, `calendar`, `check`, `clock`, `close`, `code`, `copy`, `download`, `fit`, `flag`, `fold`, `frontmatter`, `globe`, `graph`, `grip`, `headless-client`, `highlight`, `image`, `import`, `indent`, `italic`, `list`, `lock`, `lock-open`, `more`, `move`, `move-down`, `move-up`, `new-page`, `open-external`, `outdent`, `page`, `pageless`, `pin`, `redo`, `rename`, `reset`, `search`, `slash`, `spell-check`, `table`, `table-add-column`, `table-add-row`, `table-format`, `table-remove-column`, `table-remove-row`, `task`, `template`, `text-lines`, `today`, `todays-journal`, `trash`, `undo`, `wikilink-close`, `wikilink-open`, `zoom-in`, `zoom-out`. An
|
|
363
|
+
Client trusts. The Client's icons, which every `icon` field may name too, are `alias`, `backlinks`, `bold`, `bullet`, `calendar`, `check`, `clock`, `close`, `code`, `copy`, `download`, `fit`, `flag`, `fold`, `frontmatter`, `globe`, `graph`, `grip`, `headless-client`, `highlight`, `image`, `import`, `indent`, `italic`, `list`, `lock`, `lock-open`, `more`, `move`, `move-down`, `move-up`, `new-page`, `open-external`, `outdent`, `page`, `pageless`, `pane-right`, `pin`, `redo`, `rename`, `reset`, `search`, `slash`, `spell-check`, `table`, `table-add-column`, `table-add-row`, `table-format`, `table-remove-column`, `table-remove-row`, `task`, `template`, `text-lines`, `today`, `todays-journal`, `trash`, `undo`, `wikilink-close`, `wikilink-open`, `zoom-in`, `zoom-out`. An
|
|
364
364
|
icon may be added in a later release, never taken away. An unknown name draws a small dot.
|
|
365
365
|
|
|
366
366
|
### Settings sections
|
package/dist/context.d.ts
CHANGED
|
@@ -130,8 +130,12 @@ export interface ExtensionKeybindings {
|
|
|
130
130
|
export interface ExtensionLayout {
|
|
131
131
|
/**
|
|
132
132
|
* Open a View. With `inPaneOf`, a panel id, it opens as a tab in that panel's Pane. With
|
|
133
|
-
* `beside`, it opens in
|
|
134
|
-
*
|
|
133
|
+
* `beside`, it opens in the Pane to the right of that panel's, so both show at once: at the
|
|
134
|
+
* end of that Pane's tabs, in a new Pane split off to the right when there is none, and moved
|
|
135
|
+
* there if it is open in any other Pane. It goes in front of that Pane without taking the
|
|
136
|
+
* keyboard, which stays in the View the person is working in. On a phone, or from a Sidebar,
|
|
137
|
+
* `beside` opens as `inPaneOf` does. Otherwise it opens where its kind belongs, or comes to the front if it is
|
|
138
|
+
* open already.
|
|
135
139
|
*/
|
|
136
140
|
openView(view: ViewRef, options?: {
|
|
137
141
|
inPaneOf?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsoftwareltd/etherpk-extension-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The API an EtherPK extension is written against: the context it is started with, its manifest, and the contract its Views follow.",
|
|
6
6
|
"type": "module",
|