Skip to content

Commit

Permalink
container release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer committed Jul 25, 2024
1 parent 26eca19 commit 458746f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion container/prepareNextRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const replaceVersionInFolder = folderPath => {
let fileContent = fs.readFileSync(filePath, 'utf8');

// Check if the file contains the keyword
if (fileContent.includes('NEXT_RELEASE_CONTAINER_CONTAINER')) {
if (fileContent.includes('NEXT_RELEASE_CONTAINER')) {
// Replace NEXT_RELEASE_CONTAINER with the actual version
fileContent = fileContent.replace(/NEXT_RELEASE_CONTAINER/g, version);

Expand Down
2 changes: 1 addition & 1 deletion container/public/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"micro-frontends",
"microfrontends"
],
"version": "1.2.0-rc4"
"version": "1.2.0"
}
8 changes: 4 additions & 4 deletions container/typings/LuigiCompoundContainer.svelte.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class LuigiCompoundContainer extends HTMLElement {

/**
* If set to true, the Luigi compound container webcomponent will not use the shadow DOM for rendering.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
noShadow: boolean;

Expand Down Expand Up @@ -68,21 +68,21 @@ export default class LuigiCompoundContainer extends HTMLElement {

/**
* The document title value to be passed to the compound micro frontend.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
documentTitle: string;

/**
* The hasBack value to be passed to the compound micro frontend.
* It indicates that there is one or more preserved views. Useful when you need to show a back button.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
hasBack: string;

/**
* The dirty status value to be passed to the compound micro frontend.
* It's used to indicate that there are unsaved changes when navigating away.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
dirtyStatus: boolean;

Expand Down
14 changes: 7 additions & 7 deletions container/typings/LuigiContainer.svelte.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class LuigiContainer extends HTMLElement {

/**
* If set to true, the Luigi container webcomponent will not use the shadow DOM for rendering.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
noShadow: boolean;

Expand Down Expand Up @@ -122,34 +122,34 @@ export default class LuigiContainer extends HTMLElement {
/**
* The list of rules for the content in the iframe, managed by the HTML `allow` attribute.
* You can use one or more rules by adding them to the array, for example allowRules: ["microphone", "camera"].
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
allowRules: string[];

/**
* The list of rules for the content in the iframe, managed by the HTML `sandbox` attribute.
* You can use one or more rules by adding them to the array, for example sandboxRules: ["allow-scripts", "allow-same-origin"].
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
sandboxRules: string[];

/**
* The document title value to be passed to the web-component-based micro frontend.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
documentTitle: string;

/**
* The hasBack value to be passed to the web-component-based micro frontend.
* It indicates that there is one or more preserved views. Useful when you need to show a back button.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
hasBack: string;

/**
* The dirty status value to be passed to the web-component-based micro frontend.
* It's used to indicate that there are unsaved changes when navigating away.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
dirtyStatus: boolean;

Expand Down Expand Up @@ -193,7 +193,7 @@ export default class LuigiContainer extends HTMLElement {

/**
* The authData value to be passed to the iframe-based micro frontend.
* @since NEXT_RELEASE_CONTAINER
* @since 1.2.0
*/
authData: Object;
}
8 changes: 4 additions & 4 deletions docs/luigi-compound-container-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### searchParams

Expand Down Expand Up @@ -127,7 +127,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### hasBack

Expand All @@ -138,7 +138,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### dirtyStatus

Expand All @@ -149,7 +149,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### webcomponent

Expand Down
14 changes: 7 additions & 7 deletions docs/luigi-container-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### searchParams

Expand Down Expand Up @@ -210,7 +210,7 @@ Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### sandboxRules

Expand All @@ -221,7 +221,7 @@ Type: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### documentTitle

Expand All @@ -231,7 +231,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### hasBack

Expand All @@ -242,7 +242,7 @@ Type: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### dirtyStatus

Expand All @@ -253,7 +253,7 @@ Type: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

### updateContext

Expand Down Expand Up @@ -342,4 +342,4 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa

**Meta**

* **since**: NEXT_RELEASE_CONTAINER
* **since**: 1.2.0

0 comments on commit 458746f

Please sign in to comment.