Comparing version 0.2.2 to 0.2.3
@@ -29,3 +29,3 @@ import { Component } from '@a11d/lit'; | ||
protected get label(): string | undefined; | ||
get template(): import("lit-html").HTMLTemplateResult; | ||
protected get template(): import("lit-html").HTMLTemplateResult; | ||
} | ||
@@ -32,0 +32,0 @@ declare global { |
@@ -65,3 +65,3 @@ import { __decorate } from "tslib"; | ||
} | ||
get label() { var _a; return ((_a = this.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || undefined; } | ||
get label() { return this.textContent?.trim() || undefined; } | ||
get template() { | ||
@@ -95,6 +95,5 @@ return html ` | ||
hostUpdated: () => { | ||
var _a, _b, _c; | ||
(_a = fab.renderRoot.querySelector('button')) === null || _a === void 0 ? void 0 : _a.part.add('button'); | ||
(_b = fab.renderRoot.querySelector('md-ripple')) === null || _b === void 0 ? void 0 : _b.part.add('ripple'); | ||
(_c = fab.renderRoot.querySelector('md-focus-ring')) === null || _c === void 0 ? void 0 : _c.part.add('focus-ring'); | ||
fab.renderRoot.querySelector('button')?.part.add('button'); | ||
fab.renderRoot.querySelector('md-ripple')?.part.add('ripple'); | ||
fab.renderRoot.querySelector('md-focus-ring')?.part.add('focus-ring'); | ||
} | ||
@@ -101,0 +100,0 @@ })); |
{ | ||
"name": "@3mo/fab", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A floating action button web-component based on Material Web Components.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
79216
134