Skip to content

Commit

Permalink
Merge branch 'master' of github.com:SAP/luigi
Browse files Browse the repository at this point in the history
  • Loading branch information
hardl committed Jun 3, 2022
2 parents 2a7b2c7 + 7dfe541 commit aa4b9d6
Show file tree
Hide file tree
Showing 70 changed files with 3,253 additions and 45,308 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ The lerna-changelog tool detects changes based on PR labels and maps them to sec
-->


## [v1.22.0] (2022-05-19)

#### :rocket: Added
* [#2704](https://github.com/SAP/luigi/pull/2704) Disable keyboard accessibility outside drawer and modal ([@ndricimrr](https://github.com/ndricimrr))
* [#2672](https://github.com/SAP/luigi/pull/2672) Disable keyboard accessibility on confirmation modal background elements ([@ndricimrr](https://github.com/ndricimrr))
* [#2642](https://github.com/SAP/luigi/pull/2642) Add functionality for allow attribute to be separated by semicolons ([@viktorsperling](https://github.com/viktorsperling))

#### :bug: Fixed
* [#2709](https://github.com/SAP/luigi/pull/2709) Fix configChange event firing twice ([@ndricimrr](https://github.com/ndricimrr))
* [#2692](https://github.com/SAP/luigi/pull/2692) Fix empty nodeParams on browser back navigation ([@ndricimrr](https://github.com/ndricimrr))
* [#2694](https://github.com/SAP/luigi/pull/2694) Fix bug for nested properties for viewUrl replacement ([@hardl](https://github.com/hardl))
* [#2686](https://github.com/SAP/luigi/pull/2686) Fix getNodeParams decoding issue ([@ndricimrr](https://github.com/ndricimrr))
* [#2566](https://github.com/SAP/luigi/pull/2566) Keyboard accessibility for user settings dialog ([@UlianaMunich](https://github.com/UlianaMunich))
* [#2666](https://github.com/SAP/luigi/pull/2666) Error handling on productswitcher columns calculation ([@JohannesDoberer](https://github.com/JohannesDoberer))




## [v1.21.0] (2022-04-07)

#### :rocket: Added
Expand Down Expand Up @@ -1350,4 +1368,5 @@ The lerna-changelog tool detects changes based on PR labels and maps them to sec
[v1.19.0]: https://github.com/SAP/luigi/compare/v1.18.1...v1.19.0
[v1.20.0]: https://github.com/SAP/luigi/compare/v1.19.0...v1.20.0
[v1.20.1]: https://github.com/SAP/luigi/compare/v1.20.0...v1.20.1
[v1.21.0]: https://github.com/SAP/luigi/compare/v1.20.1...v1.21.0
[v1.21.0]: https://github.com/SAP/luigi/compare/v1.20.1...v1.21.0
[v1.22.0]: https://github.com/SAP/luigi/compare/v1.21.0...v1.22.0
28 changes: 28 additions & 0 deletions blog/2022-05-20-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Luigi v1.22.0
seoMetaDescription: Release notes for Luigi v1.22.0
author:
- Aleksandra Simeonova
layout: blog
---

You can read about the new features in Luigi v1.22.0 in the release notes below.

<!-- Excerpt -->


#### Update to Fundamental Styles v0.23.0

With the new release, we updated Luigi Core to version 0.23.0 of Fundamental Styles. You can read about all changes in the [release notes](https://github.com/SAP/fundamental-styles/releases/tag/v0.23.0). This update brought breaking changes and was described in the [Fundamental Library blog post](https://blogs.sap.com/2022/04/14/fundamental-library-styles-update/). You can also review the Luigi changes [here](https://github.com/SAP/luigi/pull/2698).

#### Disable keyboard accessibility on all elements outside drawers and modals

When a drawer, modal, or confirmation modal is opened, keyboard actions outside of them are now disabled. Pressing TAB key will no longer select elements in the background that are not part of the modal/drawer. For more information, see the Luigi issues [2411](https://github.com/SAP/luigi/issues/2411) and [2690](https://github.com/SAP/luigi/issues/2690).

#### Add functionality for allow attribute to be separated by semicolons

Luigi [allowRules](https://docs.luigi-project.io/docs/general-settings/?section=allowrules) now follow the [Feature Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) convention and allow the attributes to be separated by semicolons. You can find more information [here](https://github.com/SAP/luigi/pull/2642).

#### Bugfixes

For a full list of bugfixes, see the [GitHub release page](https://github.com/SAP/luigi/releases/tag/v1.22.0).
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"devDependencies": {
"@luigi-project/client": "^1.5.0"
},
"version": "1.21.0"
"version": "1.22.0"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-frameworks-support/testing-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
"microfrontends",
"testing"
],
"version": "1.21.0"
"version": "1.22.0"
}
6 changes: 3 additions & 3 deletions client/luigi-client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export declare interface ConfirmationModalSettings {

export declare interface ModalSettings {
title?: string;
size?: 'l' | 'm' | 's';
size?: 'fullscreen' | 'l' | 'm' | 's';
width?: string;
height?: string;
}
Expand Down Expand Up @@ -300,7 +300,7 @@ export declare interface LinkManager {
* @param {boolean} preserveView preserve a view by setting it to `true`. It keeps the current view opened in the background and opens the new route in a new frame. Use the {@link #goBack goBack()} function to navigate back. You can use this feature across different levels. Preserved views are discarded as soon as you use the standard {@link #navigate navigate()} function instead of {@link #goBack goBack()}
* @param {Object} modalSettings opens a view in a modal. Use these settings to configure the modal's title and size
* @param {string} modalSettings.title modal title. By default, it is the node label. If there is no label, it is left empty
* @param {('l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {('fullscreen'|'l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {Object} splitViewSettings opens a view in a split view. Use these settings to configure the split view's behaviour
* @param {string} splitViewSettings.title split view title. By default, it is the node label. If there is no label, it is left empty
* @param {number} [splitViewSettings.size=40] height of the split view in percent
Expand Down Expand Up @@ -365,7 +365,7 @@ export declare interface LinkManager {
* @param {string} path navigation path
* @param {Object} [modalSettings] opens a view in a modal. Use these settings to configure the modal's title and size
* @param {string} modalSettings.title modal title. By default, it is the node label. If there is no label, it is left empty
* @param {('l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {('fullscreen'|'l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @example
* LuigiClient.linkManager().openAsModal('projects/pr1/users', {title:'Users', size:'m'});
*/
Expand Down
2 changes: 1 addition & 1 deletion client/public-ie11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"UI",
"extensibility"
],
"version": "1.21.0"
"version": "1.22.0"
}
2 changes: 1 addition & 1 deletion client/public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"micro-frontends",
"microfrontends"
],
"version": "1.21.0"
"version": "1.22.0"
}
4 changes: 2 additions & 2 deletions client/src/linkManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class linkManager extends LuigiClientBase {
* @param {boolean} preserveView preserve a view by setting it to `true`. It keeps the current view opened in the background and opens the new route in a new frame. Use the {@link #goBack goBack()} function to navigate back. You can use this feature across different levels. Preserved views are discarded as soon as you use the standard {@link #navigate navigate()} function instead of {@link #goBack goBack()}
* @param {Object} modalSettings opens a view in a modal. Use these settings to configure the modal's title and size
* @param {string} modalSettings.title modal title. By default, it is the node label. If there is no label, it is left empty
* @param {('l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {('fullscreen'|'l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {string} modalSettings.width lets you specify a precise width for the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'.
* @param {string} modalSettings.height lets you specify a precise height for the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'.
* @param {Object} splitViewSettings opens a view in a split view. Use these settings to configure the split view's behaviour
Expand Down Expand Up @@ -156,7 +156,7 @@ export class linkManager extends LuigiClientBase {
* @param {string} path navigation path
* @param {Object} [modalSettings] opens a view in a modal. Use these settings to configure the modal's title and size
* @param {string} modalSettings.title modal title. By default, it is the node label. If there is no label, it is left empty
* @param {('l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {('fullscreen'|'l'|'m'|'s')} [modalSettings.size="l"] size of the modal
* @param {string} modalSettings.width lets you specify a precise width for the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'.
* @param {string} modalSettings.height lets you specify a precise height for the modal. Allowed units are 'px', '%', 'rem', 'em', 'vh' and 'vw'.
* @example
Expand Down
43 changes: 31 additions & 12 deletions core/examples/luigi-example-angular/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions core/examples/luigi-example-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"@angular/platform-browser": "^11.2.14",
"@angular/platform-browser-dynamic": "^11.2.14",
"@angular/router": "^11.2.14",
"@luigi-project/client": "^1.20.0",
"@luigi-project/client": "^1.22.0",
"@luigi-project/client-support-angular": "^1.20.1",
"@luigi-project/core": "^1.17.0",
"@sap-theming/theming-base-content": "11.1.28",
"@luigi-project/core": "^1.22.0",
"@sap-theming/theming-base-content": "11.1.35",
"core-js": "3.15.1",
"fundamental-styles": "0.18.0",
"fundamental-styles": "0.23.0",
"node-sass": "^4.14.1",
"rxjs": "6.5.3",
"sass": "^1.49.0",
Expand Down
4 changes: 4 additions & 0 deletions core/examples/luigi-example-angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1"
/>
<link
href="https://unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/sap_fiori_3/css_variables.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="/luigi-core/luigi.css" />
</head>
<body>
Expand Down
4 changes: 4 additions & 0 deletions core/examples/luigi-example-angular/src/sampleapp.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<html>
<head>
<title>small web app</title>
<link
href="https://unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/sap_fiori_3/css_variables.css"
rel="stylesheet"
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Loading

0 comments on commit aa4b9d6

Please sign in to comment.