@umbraco-cms/backoffice 1.0.0-next.d2c0dcf1 → 1.0.0-next.d3d67db5
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 +2 -3
- package/backend-api.d.ts +509 -90
- package/collection.d.ts +38 -0
- package/content-type.d.ts +127 -0
- package/context-api.d.ts +44 -4
- package/{controller.d.ts → controller-api.d.ts} +2 -3
- package/custom-elements.json +5333 -4570
- package/{element.d.ts → element-api.d.ts} +2 -2
- package/entity-action.d.ts +2 -2
- package/extension-api.d.ts +200 -0
- package/{extensions-registry.d.ts → extension-registry.d.ts} +107 -193
- package/id.d.ts +6 -0
- package/modal.d.ts +70 -66
- package/models.d.ts +9 -72
- package/observable-api.d.ts +1 -1
- package/package.json +2 -2
- package/picker-input.d.ts +4 -3
- package/repository.d.ts +53 -38
- package/resources.d.ts +5 -11
- package/router.d.ts +2 -14
- package/section.d.ts +29 -0
- package/sorter.d.ts +1 -1
- package/store.d.ts +2 -2
- package/tree.d.ts +136 -0
- package/umbraco-package-schema.json +37087 -1771
- package/utils.d.ts +27 -9
- package/variant.d.ts +21 -0
- package/vscode-html-custom-data.json +2232 -2009
- package/workspace.d.ts +62 -17
- package/extensions-api.d.ts +0 -67
- package/property-editor.d.ts +0 -8
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Create an umbraco-package.json file in the root of your package.
|
|
|
40
40
|
Then create a dashboard.js file the same folder.
|
|
41
41
|
|
|
42
42
|
```javascript
|
|
43
|
-
import { UmbElementMixin } from '@umbraco-cms/backoffice/element';
|
|
43
|
+
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
|
|
44
44
|
import { UMB_NOTIFICATION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/notification';
|
|
45
45
|
|
|
46
46
|
const template = document.createElement('template');
|
|
@@ -106,12 +106,11 @@ Then go to the element located in `src/my-element.ts` and replace it with the fo
|
|
|
106
106
|
// src/my-element.ts
|
|
107
107
|
import { LitElement, html } from 'lit';
|
|
108
108
|
import { customElement } from 'lit/decorators.js';
|
|
109
|
-
import { UmbElementMixin } from '@umbraco-cms/backoffice/element';
|
|
109
|
+
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
|
|
110
110
|
import { UmbNotificationContext, UMB_NOTIFICATION_CONTEXT_TOKEN } from '@umbraco-cms/backoffice/notification';
|
|
111
111
|
|
|
112
112
|
@customElement('my-element')
|
|
113
113
|
export default class MyElement extends UmbElementMixin(LitElement) {
|
|
114
|
-
|
|
115
114
|
private _notificationContext?: UmbNotificationContext;
|
|
116
115
|
|
|
117
116
|
constructor() {
|