Skip to content

Commit ebad507

Browse files
authored
Merge pull request #2178 from umbraco/release/14.2
Merge release 14.2 into main
2 parents 9e85ffe + 13d7c4e commit ebad507

File tree

979 files changed

+2179
-1593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

979 files changed

+2179
-1593
lines changed

eslint.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ import wcPlugin from 'eslint-plugin-wc';
66
import litPlugin from 'eslint-plugin-lit';
77
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
88
import tseslint from 'typescript-eslint';
9+
import jsdoc from 'eslint-plugin-jsdoc';
910

1011
export default [
1112
// Recommended config applied to all files
1213
js.configs.recommended,
1314
...tseslint.configs.recommended,
1415
wcPlugin.configs['flat/recommended'],
1516
litPlugin.configs['flat/recommended'],
17+
jsdoc.configs['flat/recommended'], // We use the non typescript version to allow types to be defined in the jsdoc comments. This will allow js docs as an alternative to typescript types.
1618
localRules.configs.all,
1719
eslintPluginPrettierRecommended,
1820

@@ -46,7 +48,7 @@ export default [
4648
},
4749
rules: {
4850
semi: ['warn', 'always'],
49-
"prettier/prettier": ["warn", { "endOfLine": "auto" }],
51+
'prettier/prettier': ['warn', { endOfLine: 'auto' }],
5052
'no-unused-vars': 'off', //Let '@typescript-eslint/no-unused-vars' catch the errors to allow unused function parameters (ex: in interfaces)
5153
'no-var': 'error',
5254
...importPlugin.configs.recommended.rules,

package-lock.json

Lines changed: 146 additions & 4 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,14 @@
247247
"eslint": "^9.7.0",
248248
"eslint-config-prettier": "^9.1.0",
249249
"eslint-plugin-import": "^2.29.1",
250+
"eslint-plugin-jsdoc": "^48.11.0",
250251
"eslint-plugin-lit": "^1.14.0",
251252
"eslint-plugin-local-rules": "^3.0.2",
252253
"eslint-plugin-prettier": "^5.1.3",
253254
"eslint-plugin-wc": "^2.1.0",
254255
"glob": "^11.0.0",
255256
"globals": "^15.8.0",
256-
"lucide-static": "^0.408.0",
257+
"lucide-static": "^0.424.0",
257258
"msw": "^1.3.2",
258259
"playwright-msw": "^3.0.1",
259260
"prettier": "3.3.3",

src/apps/app/app-auth.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export class UmbAppAuthController extends UmbControllerBase {
6060
/**
6161
* Starts the authorization flow.
6262
* It will check which providers are available and either redirect directly to the provider or show a provider selection screen.
63+
* @param userLoginState
6364
*/
6465
async makeAuthorizationRequest(userLoginState: UmbUserLoginState = 'loggingIn'): Promise<boolean> {
6566
if (!this.#authContext) {

src/apps/app/app-error.element.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,27 @@ import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
1010
export class UmbAppErrorElement extends UmbLitElement {
1111
/**
1212
* The headline to display
13-
*
1413
* @attr
1514
*/
1615
@property()
1716
errorHeadline?: string | null;
1817

1918
/**
2019
* The error message to display
21-
*
2220
* @attr
2321
*/
2422
@property()
2523
errorMessage?: string | null;
2624

2725
/**
2826
* The error to display
29-
*
3027
* @attr
3128
*/
3229
@property()
3330
error?: unknown;
3431

3532
/**
3633
* Hide the back button
37-
*
3834
* @attr
3935
*/
4036
@property({ type: Boolean, attribute: 'hide-back-button' })

src/apps/app/app.element.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import { hasOwnOpener, retrieveStoredPath } from '@umbraco-cms/backoffice/utils'
2525
export class UmbAppElement extends UmbLitElement {
2626
/**
2727
* The base URL of the configured Umbraco server.
28-
*
2928
* @attr
3029
* @remarks This is the base URL of the Umbraco server, not the base URL of the backoffice.
3130
*/
@@ -39,7 +38,6 @@ export class UmbAppElement extends UmbLitElement {
3938

4039
/**
4140
* The base path of the backoffice.
42-
*
4341
* @attr
4442
*/
4543
@property({ type: String })

src/apps/app/server-connection.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class UmbServerConnection {
2424

2525
/**
2626
* Gets the URL of the server.
27-
* @return {*}
27+
* @returns {*}
2828
* @memberof UmbServerConnection
2929
*/
3030
getUrl() {
@@ -33,7 +33,7 @@ export class UmbServerConnection {
3333

3434
/**
3535
* Gets the status of the server.
36-
* @return {string}
36+
* @returns {string}
3737
* @memberof UmbServerConnection
3838
*/
3939
getStatus() {
@@ -43,7 +43,7 @@ export class UmbServerConnection {
4343

4444
/**
4545
* Checks if the server is connected.
46-
* @return {boolean}
46+
* @returns {boolean}
4747
* @memberof UmbServerConnection
4848
*/
4949
getIsConnected() {

src/apps/installer/installer.context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class UmbInstallerContext {
3838
/**
3939
* Observable method to get the current step in the installation process
4040
* @public
41-
* @return {*} {Observable<number>}
41+
* @returns {*} {Observable<number>}
4242
* @memberof UmbInstallerContext
4343
*/
4444
public currentStepChanges(): Observable<number> {
@@ -48,7 +48,7 @@ export class UmbInstallerContext {
4848
/**
4949
* Observable method to get the install status in the installation process
5050
* @public
51-
* @return {*} {(Observable<ProblemDetails | null>)}
51+
* @returns {*} {(Observable<ProblemDetails | null>)}
5252
* @memberof UmbInstallerContext
5353
*/
5454
public installStatusChanges(): Observable<ProblemDetails | null> {
@@ -96,7 +96,7 @@ export class UmbInstallerContext {
9696
/**
9797
* Get the data for the installation process
9898
* @public
99-
* @return {*} {PostInstallRequest}
99+
* @returns {*} {PostInstallRequest}
100100
* @memberof UmbInstallerContext
101101
*/
102102
public getData(): InstallRequestModel {

src/assets/lang/en-us.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ export default {
820820
logout: 'Logout',
821821
macro: 'Macro',
822822
mandatory: 'Mandatory',
823+
manifest: 'Manifest',
823824
media: 'Media',
824825
message: 'Message',
825826
move: 'Move',
@@ -2403,6 +2404,7 @@ export default {
24032404
tabClipboard: 'Clipboard',
24042405
tabBlockSettings: 'Settings',
24052406
headlineAdvanced: 'Advanced',
2407+
headlineCustomView: 'Custom View',
24062408
forceHideContentEditor: 'Hide content editor',
24072409
forceHideContentEditorHelp: 'Hide the content edit button and the content editor from the Block Editor overlay',
24082410
gridInlineEditing: 'Inline editing',

0 commit comments

Comments
 (0)