@hybridui/button
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -56,5 +56,3 @@ /** | ||
const slt = slott === null || slott === void 0 ? void 0 : slott.assignedNodes(); | ||
if (slt.length === 0) { | ||
} | ||
else { | ||
if (slt.length !== 0) { | ||
requestAnimationFrame(() => { | ||
@@ -61,0 +59,0 @@ this.hasSlot = true; |
{ | ||
"name": "@hybridui/button", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
export {}; | ||
import '../hy-button.component'; | ||
//# sourceMappingURL=hy-button_test.d.ts.map |
@@ -11,2 +11,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { html, fixture, oneEvent, expect } from '@open-wc/testing'; | ||
import '../hy-button.component'; | ||
suite('HyButtonElement', () => { | ||
@@ -50,3 +51,3 @@ test('has a default empty display property', () => __awaiter(void 0, void 0, void 0, function* () { | ||
const button = el.shadowRoot.querySelector('button'); | ||
expect(button === null || button === void 0 ? void 0 : button.getAttribute('data-danger')).to.equal('true'); | ||
expect(button === null || button === void 0 ? void 0 : button.getAttribute('data-danger')).to.equal(''); | ||
})); | ||
@@ -53,0 +54,0 @@ test('fires onClick event when clicked', () => __awaiter(void 0, void 0, void 0, function* () { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53298
633