genus-ui 1.91.20 → 1.92.20
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 +662 -653
- package/dist/index.umd.js +53 -53
- package/package.json +2 -2
- package/readme.md +40 -0
- package/types/genus-step-wizard/genus-step-wizard.d.ts +2 -2
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.92.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"chart.js": "^4.4.
|
|
21
|
+
"chart.js": "^4.4.3",
|
|
22
22
|
"lit": "^3.1.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
package/readme.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Introduction
|
|
2
|
+
|
|
3
|
+
Genus UI is a framework agnostic UI library that works on any web application built with any javasacript framework.
|
|
4
|
+
The library was built with Lit which is a native web component framework. **Genus** is latin for the word **generic**
|
|
5
|
+
|
|
6
|
+
## Component Controls
|
|
7
|
+
|
|
8
|
+
The component controls are categorised into **Data** and **Form** controls.
|
|
9
|
+
|
|
10
|
+
### Data Controls
|
|
11
|
+
- Data Card
|
|
12
|
+
- Data List Item
|
|
13
|
+
- Chart
|
|
14
|
+
- Data Table
|
|
15
|
+
|
|
16
|
+
### Form Controls
|
|
17
|
+
- Textbox
|
|
18
|
+
- Textarea
|
|
19
|
+
- Dropdown Select
|
|
20
|
+
- File Upload
|
|
21
|
+
- Checkbox Group
|
|
22
|
+
- Radio Button Group
|
|
23
|
+
- Step Wizard
|
|
24
|
+
- Tabs
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
npm install genus-ui
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
yarn add genus-ui
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
```js
|
|
39
|
+
import 'genus-ui';
|
|
40
|
+
```
|
|
@@ -2,14 +2,14 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
export declare class GenusStepWizard extends LitElement {
|
|
3
3
|
currentStep: number;
|
|
4
4
|
displayMode: string;
|
|
5
|
-
titles:
|
|
5
|
+
titles: string[];
|
|
6
|
+
descriptions: string[];
|
|
6
7
|
direction: string;
|
|
7
8
|
static styles: import("lit").CSSResult[];
|
|
8
9
|
private _stepContents;
|
|
9
10
|
private _progressBarsTemplate;
|
|
10
11
|
private _steps;
|
|
11
12
|
private _circumference;
|
|
12
|
-
private _titlesRef;
|
|
13
13
|
private _circularProgressBar;
|
|
14
14
|
hideCurrentContent: () => void;
|
|
15
15
|
changeStep: () => void;
|