Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 054c263

Browse files
committed
Merge branch 'main' into v14/feature/media-member-compositions
2 parents 398424d + bc55443 commit 054c263

24 files changed

+206
-206
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Property Dataset Dashboard Example
2+
3+
This example is a work in progress example of how to write a property editor.
4+
5+
This example covers a few points:
6+
7+
- Using an existing Property Editor Schema
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
2+
import { html, customElement, LitElement, property, css } from '@umbraco-cms/backoffice/external/lit';
3+
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
4+
import type { UmbBlockDataType, UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/extension-registry';
5+
6+
@customElement('example-block-custom-view')
7+
export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implements UmbBlockEditorCustomViewElement {
8+
//
9+
@property({ attribute: false })
10+
content?: UmbBlockDataType;
11+
12+
override render() {
13+
return html`
14+
<div class="uui-text">
15+
<h5 class="uui-text">My Custom View</h5>
16+
<p>Headline: ${this.content.headline}</p>
17+
</div>
18+
`;
19+
}
20+
21+
static override styles = [
22+
UmbTextStyles,
23+
css`
24+
:host {
25+
display: block;
26+
height: 100%;
27+
box-sizing: border-box;
28+
background-color: #dddddd;
29+
border-radius: 9px;
30+
padding: 12px;
31+
}
32+
`,
33+
];
34+
}
35+
36+
export default ExampleBlockCustomView;
37+
38+
declare global {
39+
interface HTMLElementTagNameMap {
40+
'example-block-custom-view': ExampleBlockCustomView;
41+
}
42+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { ManifestBlockEditorCustomView } from '@umbraco-cms/backoffice/extension-registry';
2+
3+
export const manifests: Array<ManifestBlockEditorCustomView> = [
4+
{
5+
type: 'blockEditorCustomView',
6+
alias: 'Umb.blockEditorCustomView.TestView',
7+
name: 'Block Editor Custom View Test',
8+
element: () => import('./block-custom-view.js'),
9+
forContentTypeAlias: 'headlineUmbracoDemoBlock',
10+
forBlockEditor: 'block-grid',
11+
},
12+
];

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
"@hey-api/openapi-ts": "^0.48.3",
223223
"@mdx-js/react": "^3.0.1",
224224
"@open-wc/testing": "^4.0.0",
225-
"@playwright/test": "^1.45.2",
225+
"@playwright/test": "^1.45.3",
226226
"@rollup/plugin-commonjs": "^26.0.1",
227227
"@rollup/plugin-json": "^6.1.0",
228228
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -267,7 +267,7 @@
267267
"storybook": "^7.6.17",
268268
"tiny-glob": "^0.2.9",
269269
"tsc-alias": "^1.8.10",
270-
"typedoc": "^0.26.4",
270+
"typedoc": "^0.26.5",
271271
"typescript": "^5.5.3",
272272
"typescript-eslint": "^7.16.1",
273273
"typescript-json-schema": "^0.64.0",

src/assets/css/umbraco-blockgridlayout-flexbox.css

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/assets/css/umbraco-blockgridlayout.css

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/assets/lang/en.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,18 +1735,19 @@ export default {
17351735
enabled: 'Enabled',
17361736
events: 'Events',
17371737
event: 'Event',
1738-
url: 'Url',
1738+
url: 'URL',
17391739
types: 'Types',
17401740
webhookKey: 'Webhook key',
17411741
retryCount: 'Retry count',
1742-
urlDescription: 'The url to call when the webhook is triggered.',
1742+
urlDescription: 'The URL to call when the webhook is triggered.',
17431743
eventDescription: 'The events for which the webhook should be triggered.',
17441744
contentTypeDescription: 'Only trigger the webhook for a specific content type.',
17451745
enabledDescription: 'Is the webhook enabled?',
17461746
headersDescription: 'Custom headers to include in the webhook request.',
17471747
contentType: 'Content Type',
17481748
headers: 'Headers',
17491749
selectEventFirst: 'Please select an event first.',
1750+
selectEvents: 'Select events',
17501751
},
17511752
languages: {
17521753
addLanguage: 'Add language',

src/packages/block/block-grid/property-editors/block-grid-layout-stylesheet/property-editor-ui-block-grid-layout-stylesheet.element.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ export class UmbPropertyEditorUIBlockGridLayoutStylesheetElement
7979
.min=${this._limitMin}
8080
.max=${this._limitMax}></umb-input-static-file>
8181
<br />
82-
<a href="/umbraco/backoffice/assets/css/umbraco-blockgridlayout.css">Link to default layout stylesheet</a>
82+
<a href="/umbraco/backoffice/css/umbraco-blockgridlayout.css" target="_blank"
83+
>Link to default layout stylesheet</a
84+
>
8385
`;
8486
}
8587

src/packages/core/culture/repository/culture.repository.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ export class UmbCultureRepository extends UmbControllerBase implements UmbApi {
1818

1919
override destroy() {}
2020
}
21+
22+
export { UmbCultureRepository as api };

0 commit comments

Comments
 (0)