@u-elements/u-tabs 0.1.1 → 0.1.2
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/dist/u-tabs.cjs +3 -1
- package/dist/u-tabs.d.cts +1 -0
- package/dist/u-tabs.d.ts +1 -0
- package/dist/u-tabs.js +3 -1
- package/package.json +1 -1
package/dist/u-tabs.cjs
CHANGED
|
@@ -89,9 +89,11 @@ var ATTR_TABS = "data-utabs";
|
|
|
89
89
|
var UHTMLTabsElement = class extends UHTMLElement {
|
|
90
90
|
constructor() {
|
|
91
91
|
super();
|
|
92
|
-
attr(this, ATTR_TABS, "");
|
|
93
92
|
attachStyle(this, UHTMLTabsStyle);
|
|
94
93
|
}
|
|
94
|
+
connectedCallback() {
|
|
95
|
+
attr(this, ATTR_TABS, "");
|
|
96
|
+
}
|
|
95
97
|
get tabList() {
|
|
96
98
|
return queryWithoutNested("tablist", this)[0] || null;
|
|
97
99
|
}
|
package/dist/u-tabs.d.cts
CHANGED
|
@@ -25,6 +25,7 @@ declare const UHTMLTabPanelShadowRoot: string;
|
|
|
25
25
|
*/
|
|
26
26
|
declare class UHTMLTabsElement extends UHTMLElement {
|
|
27
27
|
constructor();
|
|
28
|
+
connectedCallback(): void;
|
|
28
29
|
get tabList(): UHTMLTabListElement | null;
|
|
29
30
|
get selectedIndex(): number;
|
|
30
31
|
set selectedIndex(index: number);
|
package/dist/u-tabs.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const UHTMLTabPanelShadowRoot: string;
|
|
|
25
25
|
*/
|
|
26
26
|
declare class UHTMLTabsElement extends UHTMLElement {
|
|
27
27
|
constructor();
|
|
28
|
+
connectedCallback(): void;
|
|
28
29
|
get tabList(): UHTMLTabListElement | null;
|
|
29
30
|
get selectedIndex(): number;
|
|
30
31
|
set selectedIndex(index: number);
|
package/dist/u-tabs.js
CHANGED
|
@@ -87,9 +87,11 @@ var ATTR_TABS = "data-utabs";
|
|
|
87
87
|
var UHTMLTabsElement = class extends UHTMLElement {
|
|
88
88
|
constructor() {
|
|
89
89
|
super();
|
|
90
|
-
attr(this, ATTR_TABS, "");
|
|
91
90
|
attachStyle(this, UHTMLTabsStyle);
|
|
92
91
|
}
|
|
92
|
+
connectedCallback() {
|
|
93
|
+
attr(this, ATTR_TABS, "");
|
|
94
|
+
}
|
|
93
95
|
get tabList() {
|
|
94
96
|
return queryWithoutNested("tablist", this)[0] || null;
|
|
95
97
|
}
|