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

Commit be3218d

Browse files
authored
Merge branch 'main' into v14/feature/block-type-custom-view-guide
2 parents 9ee6d69 + 79323dd commit be3218d

File tree

25 files changed

+347
-46
lines changed

25 files changed

+347
-46
lines changed

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/packages/core/content-type/modals/composition-picker/composition-picker-modal.element.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,18 @@ export class UmbCompositionPickerModalElement extends UmbModalBaseElement<
9090
await this.#init;
9191
if (!this.#compositionRepository) return;
9292

93-
const isElement = this.data?.isElement;
94-
const currentPropertyAliases = this.data?.currentPropertyAliases;
93+
// Notice isElement is not available on all types that can be composed.
94+
const isElement = this.data?.isElement ?? undefined;
95+
const currentPropertyAliases = this.data?.currentPropertyAliases ?? [];
9596

9697
const { data } = await this.#compositionRepository.availableCompositions({
9798
unique: this.#unique,
9899
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
99100
// @ts-ignore
100101
// TODO: isElement is not available on all types that can be composed.
101-
isElement: isElement ?? false,
102+
isElement: isElement,
102103
currentCompositeUniques: this._selection,
103-
currentPropertyAliases: currentPropertyAliases ?? [],
104+
currentPropertyAliases: currentPropertyAliases,
104105
});
105106

106107
if (!data) return;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export { UmbDocumentTypeCompositionRepository } from './document-type-composition.repository.js';
21
export { UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS } from './manifests.js';

src/packages/documents/document-types/repository/composition/manifests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/
22

33
export const UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS = 'Umb.Repository.DocumentType.Composition';
44

5-
const queryRepository: ManifestRepository = {
5+
const compositionRepository: ManifestRepository = {
66
type: 'repository',
77
alias: UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS,
88
name: 'Document Type Composition Repository',
99
api: () => import('./document-type-composition.repository.js'),
1010
};
1111

12-
export const manifests: Array<ManifestTypes> = [queryRepository];
12+
export const manifests: Array<ManifestTypes> = [compositionRepository];

src/packages/health-check/views/health-check-group-box-overview.element.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,25 @@ export class UmbHealthCheckGroupBoxOverviewElement extends UmbLitElement {
6464
_renderCheckResults(resultObject: any) {
6565
return html`${resultObject.success > 0
6666
? html`<uui-tag look="secondary" color="positive">
67-
<uui-icon name="icon-check"></uui-icon>
67+
<uui-icon name="check"></uui-icon>
6868
${resultObject.success}
6969
</uui-tag> `
7070
: nothing}
7171
${resultObject.warning > 0
7272
? html`<uui-tag look="secondary" color="warning">
73-
<uui-icon name="icon-alert"></uui-icon>
73+
<uui-icon name="alert"></uui-icon>
7474
${resultObject.warning}
7575
</uui-tag>`
7676
: nothing}
7777
${resultObject.error > 0
7878
? html`<uui-tag look="secondary" color="danger">
79-
<uui-icon name="icon-wrong"></uui-icon>
79+
<uui-icon name="remove"></uui-icon>
8080
${resultObject.error}
8181
</uui-tag>`
8282
: nothing}
8383
${resultObject.info > 0
8484
? html`<uui-tag look="secondary">
85-
<uui-icon name="icon-info"></uui-icon>
85+
<uui-icon name="info"></uui-icon>
8686
${resultObject.info}
8787
</uui-tag>`
8888
: nothing} `;

src/packages/health-check/views/health-check-group.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class UmbDashboardHealthCheckGroupElement extends UmbLitElement {
129129
case StatusResultTypeModel.SUCCESS:
130130
return html`<uui-icon style="color: var(--uui-color-positive);" name="check"></uui-icon>`;
131131
case StatusResultTypeModel.WARNING:
132-
return html`<uui-icon style="color: var(--uui-color-warning);" name="alert"></uui-icon>`;
132+
return html`<uui-icon style="color: var(--uui-color-warning-standalone);" name="alert"></uui-icon>`;
133133
case StatusResultTypeModel.ERROR:
134134
return html`<uui-icon style="color: var(--uui-color-danger);" name="remove"></uui-icon>`;
135135
case StatusResultTypeModel.INFO:
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import './components/index.js';
22

33
export * from './components/index.js';
4-
export * from './workspace/index.js';
5-
4+
export * from './entity.js';
65
export * from './repository/index.js';
76
export * from './tree/types.js';
8-
export * from './utils.ts/index.js';
97
export * from './types.js';
10-
export * from './entity.js';
8+
export * from './utils.ts/index.js';
9+
export * from './workspace/index.js';
1110

1211
export { UMB_MEDIA_TYPE_PICKER_MODAL } from './tree/index.js';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS } from './manifests.js';
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { ManifestRepository, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
2+
3+
export const UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS = 'Umb.Repository.MediaType.Composition';
4+
5+
const compositionRepository: ManifestRepository = {
6+
type: 'repository',
7+
alias: UMB_MEDIA_TYPE_COMPOSITION_REPOSITORY_ALIAS,
8+
name: 'Media Type Composition Repository',
9+
api: () => import('./media-type-composition.repository.js'),
10+
};
11+
12+
export const manifests: Array<ManifestTypes> = [compositionRepository];

0 commit comments

Comments
 (0)