@florid-kit/components 0.9.9 → 0.9.10
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/components/side-panel.d.ts +13 -1
- package/index.js +64 -57
- package/index.mjs +413 -371
- package/package.json +1 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
|
|
3
|
+
declare global {
|
|
4
|
+
interface OpenDetailDetail {
|
|
5
|
+
origin?: HTMLElement;
|
|
6
|
+
}
|
|
7
|
+
interface HTMLElementEventMap {
|
|
8
|
+
"open-detail": CustomEvent<OpenDetailDetail>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
3
11
|
export declare class OccitaneSidePanel extends LitElement {
|
|
4
12
|
open: boolean;
|
|
5
13
|
showHeader: boolean;
|
|
@@ -22,13 +30,16 @@ export declare class OccitaneSidePanel extends LitElement {
|
|
|
22
30
|
showDetail: boolean;
|
|
23
31
|
isHidingDetail: boolean;
|
|
24
32
|
private previousFocusedElement;
|
|
25
|
-
private innerFocusedElement;
|
|
26
33
|
static styles: import('lit').CSSResult;
|
|
27
34
|
static focusablesSelector: string;
|
|
28
35
|
static focusablesCustomElementsSelector: string;
|
|
29
36
|
connectedCallback(): void;
|
|
30
37
|
disconnectedCallback(): void;
|
|
38
|
+
private focusDetailReturnBtn;
|
|
31
39
|
private _onOpenDetail;
|
|
40
|
+
private _detailOriginEl;
|
|
41
|
+
private _detailOriginClass;
|
|
42
|
+
private _restoreFocusToOrigin;
|
|
32
43
|
private handleKeyDown;
|
|
33
44
|
private getDeepActiveElement;
|
|
34
45
|
private trapFocus;
|
|
@@ -39,6 +50,7 @@ export declare class OccitaneSidePanel extends LitElement {
|
|
|
39
50
|
private handleFirstClick;
|
|
40
51
|
private handleSecondClick;
|
|
41
52
|
protected updated(): void;
|
|
53
|
+
private _onDetailSlotChange;
|
|
42
54
|
protected render(): import('lit').TemplateResult<1>;
|
|
43
55
|
}
|
|
44
56
|
declare global {
|