Bug fix
This commit is contained in:
parent
cae493d224
commit
be94cf59e9
2
components/dist/input.js
vendored
2
components/dist/input.js
vendored
@ -524,7 +524,7 @@ customElements.define('sm-input',
|
||||
this.label.classList.remove('hidden');
|
||||
}
|
||||
this.setAttribute('role', 'textbox');
|
||||
if (smCompConfig && smCompConfig['sm-input']) {
|
||||
if (('smCompConfig' in window) && smCompConfig['sm-input']) {
|
||||
const config = smCompConfig['sm-input'].find(config => this.matches(config.selector))
|
||||
this.customValidation = config?.customValidation;
|
||||
}
|
||||
|
||||
2
components/dist/input.min.js
vendored
2
components/dist/input.min.js
vendored
File diff suppressed because one or more lines are too long
6
components/dist/notifications.js
vendored
6
components/dist/notifications.js
vendored
@ -57,17 +57,13 @@ smNotifications.innerHTML = `
|
||||
height: 0.2rem;
|
||||
width: 100%;
|
||||
background-color: var(--accent-color, teal);
|
||||
transform: scaleX(0);
|
||||
animation: loading var(--timeout, 5000ms) linear forwards;
|
||||
transform-origin: left;
|
||||
}
|
||||
@keyframes loading{
|
||||
0%{
|
||||
to{
|
||||
transform: scaleX(0);
|
||||
}
|
||||
100%{
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
.icon-container:not(:empty){
|
||||
margin-right: 0.5rem;
|
||||
|
||||
2
components/dist/notifications.min.js
vendored
2
components/dist/notifications.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user