@fluid-topics/ft-wc-utils 1.2.57 → 1.2.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/FtLitElement.d.ts +1 -0
- package/build/FtLitElement.js +3 -0
- package/build/globals.min.js +2 -2
- package/package.json +3 -3
package/build/FtLitElement.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare class FtLitElement extends ScopedRegistryLitElement {
|
|
|
26
26
|
protected importDynamicDependencies(): void;
|
|
27
27
|
protected updated(props: PropertyValues): void;
|
|
28
28
|
protected contentAvailableCallback(props: PropertyValues): void;
|
|
29
|
+
private focusElementToFocus;
|
|
29
30
|
private applyCustomStylesheet;
|
|
30
31
|
private [exportpartsDebouncer];
|
|
31
32
|
private scheduleExportpartsUpdate;
|
package/build/FtLitElement.js
CHANGED
|
@@ -52,11 +52,14 @@ export class FtLitElement extends ScopedRegistryLitElement {
|
|
|
52
52
|
super.updated(props);
|
|
53
53
|
this.updateComplete.then(() => {
|
|
54
54
|
this.contentAvailableCallback(props);
|
|
55
|
+
this.focusElementToFocus(props);
|
|
55
56
|
this.applyCustomStylesheet(props);
|
|
56
57
|
this.scheduleExportpartsUpdate();
|
|
57
58
|
});
|
|
58
59
|
}
|
|
59
60
|
contentAvailableCallback(props) {
|
|
61
|
+
}
|
|
62
|
+
focusElementToFocus(props) {
|
|
60
63
|
if (props.has("elementToFocus") && this.elementToFocus != null) {
|
|
61
64
|
let { element, selector, shadowPath } = this.elementToFocus;
|
|
62
65
|
if (selector != null) {
|