genus-ui 1.24.1 → 1.26.1
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 +9759 -521
- package/dist/index.umd.js +306 -151
- package/package.json +2 -1
- package/types/genus-chart/index.d.ts +19 -0
- package/types/genus-chart/styles/containers.d.ts +1 -0
- package/types/genus-chart/styles/flexbox.d.ts +1 -0
- package/types/genus-chart/styles/typography.d.ts +1 -0
- package/types/genus-dropdown-select/genus-dropdown.d.ts +3 -2
- package/types/genus-table/index.d.ts +19 -0
- package/types/genus-table/styles/containers.d.ts +1 -0
- package/types/genus-table/styles/flexbox.d.ts +1 -0
- package/types/genus-table/styles/table.d.ts +1 -0
- package/types/genus-table/styles/typography.d.ts +1 -0
- package/types/index.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genus-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.26.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
+
"chart.js": "^4.3.0",
|
|
21
22
|
"lit": "^2.4.0"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class GenusChart extends LitElement {
|
|
3
|
+
chartTitle: string;
|
|
4
|
+
chartType: string;
|
|
5
|
+
chartLabels: never[];
|
|
6
|
+
chartDataSets: never[];
|
|
7
|
+
private _chartCanvas;
|
|
8
|
+
private _chart;
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
private _createChart;
|
|
11
|
+
firstUpdated(): void;
|
|
12
|
+
updated(): void;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'genus-chart': GenusChart;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const containers: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const flexbox: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
2
|
export declare class GenusDropDown extends LitElement {
|
|
3
3
|
labelText: string;
|
|
4
4
|
inputValue: string;
|
|
@@ -8,9 +8,10 @@ export declare class GenusDropDown extends LitElement {
|
|
|
8
8
|
options: string;
|
|
9
9
|
static styles: import("lit").CSSResult[];
|
|
10
10
|
selectOption: (e: Event) => void;
|
|
11
|
+
renderDropDownControl: () => TemplateResult<1 | 2>;
|
|
11
12
|
private _showOptionsCSS;
|
|
12
13
|
private _toggleOptions;
|
|
13
|
-
render():
|
|
14
|
+
render(): TemplateResult<1 | 2>;
|
|
14
15
|
}
|
|
15
16
|
declare global {
|
|
16
17
|
interface HTMLElementTagNameMap {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
export declare class GenusTable extends LitElement {
|
|
3
|
+
dataFields: never[];
|
|
4
|
+
data: never[];
|
|
5
|
+
tableTitle: string;
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
private _labels;
|
|
9
|
+
private _keys;
|
|
10
|
+
generateTableHeadColumns: () => TemplateResult[];
|
|
11
|
+
generateTableRows: () => TemplateResult[];
|
|
12
|
+
firstUpdated(): void;
|
|
13
|
+
render(): TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'genus-table': GenusTable;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const containers: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const flexbox: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const table: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typography: import("lit").CSSResult;
|
package/types/index.d.ts
CHANGED
|
@@ -7,4 +7,6 @@ import { GenusDataCard } from "./genus-data-card";
|
|
|
7
7
|
import * as GenusCheckBoxGroup from "./genus-checkbox-group";
|
|
8
8
|
import { GenusCheckBox } from "./genus-checkbox";
|
|
9
9
|
import * as GenusDropDownSelect from "./genus-dropdown-select";
|
|
10
|
-
|
|
10
|
+
import { GenusChart } from "./genus-chart";
|
|
11
|
+
import { GenusTable } from "./genus-table";
|
|
12
|
+
export { GenusTextBox, GenusTextArea, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusTable };
|