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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genus-ui",
3
3
  "private": false,
4
- "version": "2.60.61",
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.1",
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.2.6"
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
- tabNames: Option[];
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
- private _numberOfTabs;
10
- private _tabsTemplate;
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,5 +1,8 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class GenusTabContent extends LitElement {
3
+ name: string;
4
+ isActive: boolean;
5
+ static styles: import("lit").CSSResult[];
3
6
  render(): import("lit-html").TemplateResult<1>;
4
7
  }
5
8
  declare global {
@@ -1,3 +1,4 @@
1
1
  import { GenusTabContainer } from "./genus-tab-container";
2
2
  import { GenusTabContent } from "./genus-tab-content";
3
- export { GenusTabContainer, GenusTabContent };
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;