@seliaco/giant-panda-components
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -849,3 +849,3 @@ (function (global, factory) { | ||
constructor() { | ||
super(...arguments); | ||
super(); | ||
this.lang = 'es'; | ||
@@ -856,6 +856,16 @@ this.formValue = { | ||
}; | ||
console.log('login-form mounted'); | ||
} | ||
getSlot(slotName) { | ||
return this.querySelector(`[slot="${slotName}"]`); | ||
get header() { | ||
return x ` | ||
header | ||
`; | ||
} | ||
; | ||
get footer() { | ||
return x ` | ||
footer | ||
`; | ||
} | ||
; | ||
validateOrigin() { | ||
@@ -891,3 +901,3 @@ const validOrigins = ['usr', 'spe', 'b2b']; | ||
<div class="login-form"> | ||
${this.getSlot('header')} | ||
${this.header} | ||
<div>${titleText}</div> | ||
@@ -913,3 +923,3 @@ <div>${subtitleText}</div> | ||
</button-component> | ||
${this.getSlot('footer')} | ||
${this.footer} | ||
</div> | ||
@@ -916,0 +926,0 @@ `; |
@@ -5,5 +5,7 @@ import { LitElement } from 'lit'; | ||
origin: 'usr' | 'spe' | 'b2b'; | ||
constructor(); | ||
static styles: import("lit").CSSResult; | ||
private formValue; | ||
private getSlot; | ||
private get header(); | ||
private get footer(); | ||
private validateOrigin; | ||
@@ -10,0 +12,0 @@ private get translations(); |
{ | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"name": "@seliaco/giant-panda-components", | ||
@@ -4,0 +4,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69518
49
1232