Skip to content
Snippets Groups Projects
Verified Commit 55db077b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: fix loading select #135

parent 69718fe7
No related branches found
No related tags found
No related merge requests found
Showing
with 121 additions and 223 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/**
* Copyright schukai GmbH and contributors 2024. All Rights Reserved.
* Node module: @schukai/monster
......@@ -8,7 +9,7 @@
import {addAttributeToken} from "../../dom/attributes.mjs";
import {ATTRIBUTE_ERRORMESSAGE} from "../../dom/constants.mjs";
export { RippleStyleSheet };
export {RippleStyleSheet}
/**
* @private
......@@ -17,17 +18,10 @@ export { RippleStyleSheet };
const RippleStyleSheet = new CSSStyleSheet();
try {
RippleStyleSheet.insertRule(
`
RippleStyleSheet.insertRule(`
@layer ripple {
span.monster-fx-ripple{animation:monster-fx-ripple .6s linear;background-color:hsla(0,0%,100%,.7);border-radius:50%;position:absolute;transform:scale(0)}@keyframes monster-fx-ripple{to{opacity:0;transform:scale(4)}}
}`,
0,
);
}`, 0);
} catch (e) {
addAttributeToken(
document.getRootNode().querySelector("html"),
ATTRIBUTE_ERRORMESSAGE,
e + "",
);
addAttributeToken(document.getRootNode().querySelector('html'), ATTRIBUTE_ERRORMESSAGE, e + "");
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -51,7 +51,6 @@ function initOptionsFromAttributes(
if (!element.hasAttributes()) return options;
const keyMap = extractKeys(options);
const finder = new Pathfinder(options);
element.getAttributeNames().forEach((name) => {
......
/**
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
* Node module: @schukai/monster
......
......@@ -95,7 +95,7 @@ describe('Button', function () {
mocks.innerHTML = "";
})
it('should has no options', function (done) {
it('should have no options', function (done) {
let mocks = document.getElementById('mocks');
const button = document.createElement('monster-button');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment