genus-ui 1.95.24 → 1.99.25

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": "1.95.24",
4
+ "version": "1.99.25",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
@@ -19,7 +19,8 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "chart.js": "^4.4.3",
22
- "lit": "^3.1.0"
22
+ "lit": "^3.1.0",
23
+ "text-marshal": "^0.0.2"
23
24
  },
24
25
  "devDependencies": {
25
26
  "typescript": "^5.2.2",
@@ -5,6 +5,7 @@ export declare class GenusChart extends LitElement {
5
5
  chartLabels: string[];
6
6
  chartDataSets: never[];
7
7
  chartOptions: {};
8
+ isLoading: number;
8
9
  static styles: import("lit").CSSResult[];
9
10
  private _chartCanvas;
10
11
  private _chart;
@@ -0,0 +1,36 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class GenusDatePicker extends LitElement {
3
+ labelText: string;
4
+ inputValue: string;
5
+ inputName: string;
6
+ inputIcon: string;
7
+ placeholderText: string;
8
+ withoutLabel: boolean;
9
+ displayPosition: string;
10
+ static styles: import("lit").CSSResult[];
11
+ private _monthNames;
12
+ private _currentMonth;
13
+ private _currentYear;
14
+ private _currentDate;
15
+ private _showMonthsCssClass;
16
+ private _showCalenderCssClass;
17
+ isLeapYear: (year: number) => boolean;
18
+ getFebDays: (year: number) => 29 | 28;
19
+ toggleCalendar: () => void;
20
+ selectDate: (date: string) => void;
21
+ generateDays: (month: number, year: number) => HTMLDivElement;
22
+ setMonth: (index: number) => void;
23
+ previousYear: () => void;
24
+ nextYear: () => void;
25
+ private _targetInput;
26
+ updated(): void;
27
+ static formAssociated: boolean;
28
+ private _internals;
29
+ constructor();
30
+ render(): import("lit-html").TemplateResult<1>;
31
+ }
32
+ declare global {
33
+ interface HTMLElementTagNameMap {
34
+ 'genus-date-picker': GenusDatePicker;
35
+ }
36
+ }
@@ -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 grid: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const icons: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const labels: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const textboxes: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const typography: import("lit").CSSResult;
@@ -3,31 +3,20 @@ export declare class GenusTextBox extends LitElement {
3
3
  labelText: string;
4
4
  inputValue: string;
5
5
  inputType: string;
6
+ formatInput: string;
6
7
  inputName: string;
7
8
  inputIcon: string;
8
9
  placeholderText: string;
10
+ dataPattern: string;
11
+ disallowedCharacters: string;
9
12
  withoutIcon: boolean;
10
13
  withoutLabel: boolean;
11
14
  withoutLabelIcon: boolean;
12
15
  readOnly: boolean;
13
- displayPosition: string;
14
16
  static styles: import("lit").CSSResult[];
15
- private _monthNames;
16
- private _currentMonth;
17
- private _currentYear;
18
- private _currentDate;
19
17
  private _targetInput;
20
- private _showMonthsCssClass;
21
- private _showCalenderCssClass;
18
+ private _defaultValue;
22
19
  getInputValue: (e: Event) => void;
23
- isLeapYear: (year: number) => boolean;
24
- getFebDays: (year: number) => 29 | 28;
25
- toggleCalendar: () => void;
26
- selectDate: (date: string) => void;
27
- generateDays: (month: number, year: number) => HTMLDivElement;
28
- setMonth: (index: number) => void;
29
- previousYear: () => void;
30
- nextYear: () => void;
31
20
  renderInputControl: (type: string) => any;
32
21
  updated(): void;
33
22
  static formAssociated: boolean;
package/types/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { GenusTextArea } from "./genus-textarea";
2
2
  import { GenusTextBox } from "./genus-textbox";
3
+ import { GenusDatePicker } from "./genus-date-picker";
3
4
  import * as GenusTabs from "./genus-tabs";
4
5
  import * as GenusWizard from "./genus-step-wizard";
5
6
  import { GenusRadioBtnGroup } from "./genus-radiobtn-group";
@@ -12,4 +13,4 @@ import * as GenusDataTable from "./genus-table";
12
13
  import { GenusToastMessage } from "./genus-toast-message";
13
14
  import { GenusDataListItem } from "./genus-data-list-item";
14
15
  import { GenusFileUpload } from "./genus-file-upload";
15
- export { GenusTextBox, GenusTextArea, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusDataTable, GenusToastMessage, GenusDataListItem, GenusFileUpload };
16
+ export { GenusTextBox, GenusTextArea, GenusDatePicker, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusDataTable, GenusToastMessage, GenusDataListItem, GenusFileUpload };