Skip to content

Commit

Permalink
Merge branch 'main' into 4052-migrate-container-to-svelte5
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn authored Jan 10, 2025
2 parents f9bffe0 + a87f2ac commit f7e47b7
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 21 deletions.
4 changes: 2 additions & 2 deletions container/test-app/assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5262,7 +5262,7 @@ const metadata$1 = {
* Defines the unique identifier (icon name) of each <code>ui5-icon</code>.
* <br><br>
* To browse all available icons, see the
* <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* <ui5-link target="_blank" rel="noopener noreferrer" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* <br><br>
* Example:
* <br>
Expand Down Expand Up @@ -5569,7 +5569,7 @@ const metadata$2 = {
* <br>
* <pre>ui5-button icon="palette"</pre>
*
* See all the available icons in the <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* See all the available icons in the <ui5-link target="_blank" rel="noopener noreferrer" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
*
* @type {string}
* @defaultvalue ""
Expand Down
4 changes: 2 additions & 2 deletions container/test-app/assets/mfeMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -5263,7 +5263,7 @@ const metadata$1 = {
* Defines the unique identifier (icon name) of each <code>ui5-icon</code>.
* <br><br>
* To browse all available icons, see the
* <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* <ui5-link target="_blank" rel="noopener noreferrer" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* <br><br>
* Example:
* <br>
Expand Down Expand Up @@ -5570,7 +5570,7 @@ const metadata$2 = {
* <br>
* <pre>ui5-button icon="palette"</pre>
*
* See all the available icons in the <ui5-link target="_blank" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
* See all the available icons in the <ui5-link target="_blank" rel="noopener noreferrer" href="https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html" class="api-table-content-cell-link">Icon Explorer</ui5-link>.
*
* @type {string}
* @defaultvalue ""
Expand Down
6 changes: 4 additions & 2 deletions website/docs/static/public/privacy-policy.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
(function() {
setTimeout(function() {
(function () {
setTimeout(function () {
try {
let aPrivacyPolicy = document.createElement('a');
const linkTextPrivacyPolicy = document.createTextNode('Privacy Policy');
aPrivacyPolicy.appendChild(linkTextPrivacyPolicy);
aPrivacyPolicy.href = 'https://www.sap.com/about/legal/privacy.html';
aPrivacyPolicy.rel = 'noopener noreferrer';
aPrivacyPolicy.target = '_blank';
const parent = document.getElementsByClassName('lui-side-nav__footer--text')[0];
const child = document.getElementsByClassName('lui-side-nav__footer--text')[0].firstChild;
Expand All @@ -14,6 +15,7 @@
const linkTextLegal = document.createTextNode('Legal');
aLegal.appendChild(linkTextLegal);
aLegal.href = 'https://www.sap.com/about/legal/impressum.html';
aLegal.rel = 'noopener noreferrer';
aLegal.target = '_blank';
document.getElementsByClassName('lui-side-nav__footer--text')[0].appendChild(aLegal);
} catch (e) {
Expand Down
3 changes: 2 additions & 1 deletion website/fiddle/public/cookieBar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
(function () {
var cAcc = false;
if (localStorage) {
cAcc = localStorage.getItem('cookiesAccepted');
Expand All @@ -12,6 +12,7 @@
priv_link.appendChild(document.createTextNode('Read our Privacy Statement'));
priv_link.setAttribute('href', 'https://www.sap.com/about/legal/impressum.html');
priv_link.setAttribute('target', '_blank');
priv_link.setAttribute('rel', 'noopener noreferrer');
cookiebar.appendChild(priv_link);

var closeBtn = document.createElement('button');
Expand Down
45 changes: 31 additions & 14 deletions website/fiddle/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
const core = document.createElement('script');
core.setAttribute('src', coreBasePath + '/luigi.js');
document.head.appendChild(core);
return new Promise(resolve => {
return new Promise((resolve) => {
window.loadInterval = setInterval(() => {
if (window.Luigi) {
clearInterval(window.loadInterval);
Expand Down Expand Up @@ -193,23 +193,22 @@
<div class="fd-bar__element">
<button
class="fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"
on:click={resetConfig}
>Reset</button>
on:click={resetConfig}>Reset</button
>
</div>
<div class="fd-bar__element lui-mobile-hide">
<button class="fd-dialog__decisive-button fd-button fd-button--compact" on:click={saveConfig}>Apply</button>
</div>
<div class="fd-bar__element lui-mobile-show">
<button
class="fd-dialog__decisive-button fd-button fd-button--compact"
on:click={saveConfigTA}
>Apply</button>
<button class="fd-dialog__decisive-button fd-button fd-button--compact" on:click={saveConfigTA}
>Apply</button
>
</div>
<div class="fd-bar__element">
<button
class="fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"
on:click={closeConfig}
>Cancel</button>
on:click={closeConfig}>Cancel</button
>
</div>
</div>
</footer>
Expand All @@ -222,12 +221,14 @@
<div class="fd-action-bar__header">
<div class="title-wrapper">
<img alt="Luigi" src="./img/luigi.png" />
<span class="lui-mobile-hide">powered by Luigi
<span class="lui-mobile-hide"
>powered by Luigi
<button
class="fd-button fd-button--compact btn-primary"
on:click|preventDefault|stopPropagation={chooseVersion}
>
<span class="lui-mobile-hide">v{luigiVersion + (customVersion ? ' (CDN)' : '')}
<span class="lui-mobile-hide"
>v{luigiVersion + (customVersion ? ' (CDN)' : '')}
{#if showVersions}
<div class="lui-version-chooser">
{#if !versions}
Expand All @@ -239,7 +240,13 @@
</div>
{/if}
{#each versions || [] as version}
<a class="fd-link" href="#top" target="_blank" rel="noreferrer" on:click={switchVersion(version)}>
<a
class="fd-link"
href="#top"
target="_blank"
rel="noopener noreferrer"
on:click={switchVersion(version)}
>
{version}
</a><br />
{/each}
Expand All @@ -249,10 +256,20 @@
</button>
</span>
<span>
<a class="fd-link" href="https://www.sap.com/about/legal/privacy.html" target="_blank" rel="noreferrer">
<a
class="fd-link"
href="https://www.sap.com/about/legal/privacy.html"
target="_blank"
rel="noopener noreferrer"
>
Privacy Policy &nbsp&nbsp
</a>
<a class="fd-link" href="https://www.sap.com/about/legal/impressum.html" target="_blank" rel="noreferrer">
<a
class="fd-link"
href="https://www.sap.com/about/legal/impressum.html"
target="_blank"
rel="noopener noreferrer"
>
Legal
</a>
</span>
Expand Down

0 comments on commit f7e47b7

Please sign in to comment.