genus-ui 2.60.61 → 2.62.61
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/index.es.js +2107 -2047
- package/dist/index.umd.js +314 -301
- package/package.json +3 -3
- package/types/genus-tabs/genus-tab-button.d.ts +13 -0
- package/types/genus-tabs/genus-tab-container.d.ts +9 -12
- package/types/genus-tabs/genus-tab-content.d.ts +3 -0
- package/types/genus-tabs/index.d.ts +2 -1
- package/types/genus-tabs/styles/buttons.d.ts +1 -0
- package/types/genus-tabs/styles/tab-content.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genus-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.62.61",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"chart.js": "^4.5.1",
|
|
22
|
-
"lit": "^3.3.
|
|
22
|
+
"lit": "^3.3.2",
|
|
23
23
|
"text-marshal": "^0.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"typescript": "^5.9.3",
|
|
27
|
-
"vite": "^7.
|
|
27
|
+
"vite": "^7.3.1"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
export declare class GenusTabButton extends LitElement {
|
|
3
|
+
name: string;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
getTabName: () => void;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'genus-tab-button': GenusTabButton;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, PropertyValueMap } from 'lit';
|
|
2
2
|
export declare class GenusTabContainer extends LitElement {
|
|
3
|
-
|
|
3
|
+
activeTabName: string;
|
|
4
4
|
withBottomBorder: boolean;
|
|
5
5
|
withRightBorder: boolean;
|
|
6
6
|
tabsLayoutDirection: string;
|
|
7
7
|
static styles: import("lit").CSSResult[];
|
|
8
|
+
private _tabButtons;
|
|
8
9
|
private _tabContents;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
hideCurrentContent: () => void;
|
|
12
|
-
showContent: (index: number) => void;
|
|
13
|
-
generateTabs: () => void;
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
disconnectedCallback(): void;
|
|
14
12
|
firstUpdated(): void;
|
|
13
|
+
willUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
14
|
+
tabClick: (e: CustomEvent) => void;
|
|
15
|
+
updateTabButtons: () => void;
|
|
16
|
+
updateTabContents: () => void;
|
|
15
17
|
render(): import("lit-html").TemplateResult<1>;
|
|
16
18
|
}
|
|
17
|
-
interface Option {
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
}
|
|
21
19
|
declare global {
|
|
22
20
|
interface HTMLElementTagNameMap {
|
|
23
21
|
'genus-tab-container': GenusTabContainer;
|
|
24
22
|
}
|
|
25
23
|
}
|
|
26
|
-
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { GenusTabContainer } from "./genus-tab-container";
|
|
2
2
|
import { GenusTabContent } from "./genus-tab-content";
|
|
3
|
-
|
|
3
|
+
import { GenusTabButton } from "./genus-tab-button";
|
|
4
|
+
export { GenusTabContainer, GenusTabContent, GenusTabButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const buttons: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tab_content: import("lit").CSSResult;
|