genus-ui 2.62.64 → 2.62.66

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.
Files changed (182) hide show
  1. package/dist/Delete.svg +8 -8
  2. package/dist/Paper.svg +8 -8
  3. package/dist/Upload.svg +8 -8
  4. package/dist/index.es.js +9846 -11287
  5. package/dist/index.umd.js +368 -364
  6. package/dist/js/feather.js +2412 -2412
  7. package/dist/profile.svg +9 -9
  8. package/package.json +4 -4
  9. package/readme.md +39 -39
  10. package/types/genus-date-picker/index.d.ts +1 -1
  11. package/types/genus-step-wizard/genus-step-container.d.ts +20 -20
  12. package/types/genus-table/genus-table copy.d.ts +14 -14
  13. package/types/genus-table/genus-table-row.d.ts +14 -14
  14. package/types/genus-table/styles/data-rows.d.ts +1 -1
  15. package/types/src/genus-accordion/index.d.ts +15 -0
  16. package/types/src/genus-accordion/styles/checkboxes.d.ts +1 -0
  17. package/types/src/genus-accordion/styles/containers.d.ts +1 -0
  18. package/types/src/genus-accordion/styles/flexbox.d.ts +1 -0
  19. package/types/src/genus-accordion/styles/icons.d.ts +1 -0
  20. package/types/src/genus-accordion/styles/labels.d.ts +1 -0
  21. package/types/src/genus-accordion/styles/typography.d.ts +1 -0
  22. package/types/src/genus-chart/index.d.ts +21 -0
  23. package/types/src/genus-chart/styles/containers.d.ts +1 -0
  24. package/types/src/genus-chart/styles/flexbox.d.ts +1 -0
  25. package/types/src/genus-chart/styles/typography.d.ts +1 -0
  26. package/types/src/genus-checkbox/index.d.ts +17 -0
  27. package/types/src/genus-checkbox/styles/checkboxes.d.ts +1 -0
  28. package/types/src/genus-checkbox/styles/flexbox.d.ts +1 -0
  29. package/types/src/genus-checkbox/styles/icons.d.ts +1 -0
  30. package/types/src/genus-checkbox/styles/labels.d.ts +1 -0
  31. package/types/src/genus-checkbox/styles/typography.d.ts +1 -0
  32. package/types/src/genus-checkbox-group/genus-checkbox-group.d.ts +11 -0
  33. package/types/src/genus-checkbox-group/genus-checkbox-option.d.ts +20 -0
  34. package/types/src/genus-checkbox-group/index.d.ts +3 -0
  35. package/types/src/genus-checkbox-group/styles/checkboxes.d.ts +1 -0
  36. package/types/src/genus-checkbox-group/styles/containers.d.ts +1 -0
  37. package/types/src/genus-checkbox-group/styles/flexbox.d.ts +1 -0
  38. package/types/src/genus-checkbox-group/styles/grid.d.ts +1 -0
  39. package/types/src/genus-checkbox-group/styles/icons.d.ts +1 -0
  40. package/types/src/genus-checkbox-group/styles/labels.d.ts +1 -0
  41. package/types/src/genus-checkbox-group/styles/typography.d.ts +1 -0
  42. package/types/src/genus-data-card/index.d.ts +16 -0
  43. package/types/src/genus-data-card/styles/containers.d.ts +1 -0
  44. package/types/src/genus-data-card/styles/flexbox.d.ts +1 -0
  45. package/types/src/genus-data-card/styles/grid.d.ts +1 -0
  46. package/types/src/genus-data-card/styles/icons.d.ts +1 -0
  47. package/types/src/genus-data-card/styles/typography.d.ts +1 -0
  48. package/types/src/genus-data-list-item/index.d.ts +19 -0
  49. package/types/src/genus-data-list-item/styles/containers.d.ts +1 -0
  50. package/types/src/genus-data-list-item/styles/flexbox.d.ts +1 -0
  51. package/types/src/genus-data-list-item/styles/grid.d.ts +1 -0
  52. package/types/src/genus-data-list-item/styles/icons.d.ts +1 -0
  53. package/types/src/genus-data-list-item/styles/typography.d.ts +1 -0
  54. package/types/src/genus-date-picker/index.d.ts +47 -0
  55. package/types/src/genus-date-picker/styles/containers.d.ts +1 -0
  56. package/types/src/genus-date-picker/styles/flexbox.d.ts +1 -0
  57. package/types/src/genus-date-picker/styles/grid.d.ts +1 -0
  58. package/types/src/genus-date-picker/styles/icons.d.ts +1 -0
  59. package/types/src/genus-date-picker/styles/labels.d.ts +1 -0
  60. package/types/src/genus-date-picker/styles/textboxes.d.ts +1 -0
  61. package/types/src/genus-date-picker/styles/typography.d.ts +1 -0
  62. package/types/src/genus-dropdown-select/genus-dropdown-option.d.ts +11 -0
  63. package/types/src/genus-dropdown-select/genus-dropdown.d.ts +27 -0
  64. package/types/src/genus-dropdown-select/index.d.ts +3 -0
  65. package/types/src/genus-dropdown-select/styles/containers.d.ts +1 -0
  66. package/types/src/genus-dropdown-select/styles/flexbox.d.ts +1 -0
  67. package/types/src/genus-dropdown-select/styles/grid.d.ts +1 -0
  68. package/types/src/genus-dropdown-select/styles/icons.d.ts +1 -0
  69. package/types/src/genus-dropdown-select/styles/labels.d.ts +1 -0
  70. package/types/src/genus-dropdown-select/styles/list.d.ts +1 -0
  71. package/types/src/genus-dropdown-select/styles/textboxes.d.ts +1 -0
  72. package/types/src/genus-dropdown-select/styles/typography.d.ts +1 -0
  73. package/types/src/genus-file-upload/index.d.ts +21 -0
  74. package/types/src/genus-file-upload/styles/flexbox.d.ts +1 -0
  75. package/types/src/genus-file-upload/styles/icons.d.ts +1 -0
  76. package/types/src/genus-file-upload/styles/labels.d.ts +1 -0
  77. package/types/src/genus-file-upload/styles/textboxes.d.ts +1 -0
  78. package/types/src/genus-file-upload/styles/typography.d.ts +1 -0
  79. package/types/src/genus-multi-select-dropdown/genus-multi-select-dropdown.d.ts +34 -0
  80. package/types/src/genus-multi-select-dropdown/genus-multi-select-option.d.ts +15 -0
  81. package/types/src/genus-multi-select-dropdown/index.d.ts +3 -0
  82. package/types/src/genus-multi-select-dropdown/styles/checkboxes.d.ts +1 -0
  83. package/types/src/genus-multi-select-dropdown/styles/containers.d.ts +1 -0
  84. package/types/src/genus-multi-select-dropdown/styles/flexbox.d.ts +1 -0
  85. package/types/src/genus-multi-select-dropdown/styles/grid.d.ts +1 -0
  86. package/types/src/genus-multi-select-dropdown/styles/icons.d.ts +1 -0
  87. package/types/src/genus-multi-select-dropdown/styles/labels.d.ts +1 -0
  88. package/types/src/genus-multi-select-dropdown/styles/list.d.ts +1 -0
  89. package/types/src/genus-multi-select-dropdown/styles/textboxes.d.ts +1 -0
  90. package/types/src/genus-multi-select-dropdown/styles/typography.d.ts +1 -0
  91. package/types/src/genus-numeric-slider/index.d.ts +22 -0
  92. package/types/src/genus-numeric-slider/styles/containers.d.ts +1 -0
  93. package/types/src/genus-numeric-slider/styles/flexbox.d.ts +1 -0
  94. package/types/src/genus-numeric-slider/styles/grid.d.ts +1 -0
  95. package/types/src/genus-numeric-slider/styles/labels.d.ts +1 -0
  96. package/types/src/genus-numeric-slider/styles/slider.d.ts +1 -0
  97. package/types/src/genus-numeric-slider/styles/typography.d.ts +1 -0
  98. package/types/src/genus-radiobtn-group/index.d.ts +26 -0
  99. package/types/src/genus-radiobtn-group/styles/containers.d.ts +1 -0
  100. package/types/src/genus-radiobtn-group/styles/flexbox.d.ts +1 -0
  101. package/types/src/genus-radiobtn-group/styles/grid.d.ts +1 -0
  102. package/types/src/genus-radiobtn-group/styles/icons.d.ts +1 -0
  103. package/types/src/genus-radiobtn-group/styles/labels.d.ts +1 -0
  104. package/types/src/genus-radiobtn-group/styles/radio-buttons.d.ts +1 -0
  105. package/types/src/genus-radiobtn-group/styles/typography.d.ts +1 -0
  106. package/types/src/genus-range-slider/index.d.ts +26 -0
  107. package/types/src/genus-range-slider/styles/containers.d.ts +1 -0
  108. package/types/src/genus-range-slider/styles/flexbox.d.ts +1 -0
  109. package/types/src/genus-range-slider/styles/grid.d.ts +1 -0
  110. package/types/src/genus-range-slider/styles/labels.d.ts +1 -0
  111. package/types/src/genus-range-slider/styles/slider.d.ts +1 -0
  112. package/types/src/genus-range-slider/styles/typography.d.ts +1 -0
  113. package/types/src/genus-slider/index.d.ts +36 -0
  114. package/types/src/genus-slider/styles/buttons.d.ts +1 -0
  115. package/types/src/genus-slider/styles/containers.d.ts +1 -0
  116. package/types/src/genus-slider/styles/flexbox.d.ts +1 -0
  117. package/types/src/genus-step-wizard/genus-step-content.d.ts +10 -0
  118. package/types/src/genus-step-wizard/genus-step-wizard.d.ts +29 -0
  119. package/types/src/genus-step-wizard/index.d.ts +3 -0
  120. package/types/src/genus-step-wizard/styles/button.d.ts +1 -0
  121. package/types/src/genus-step-wizard/styles/containers.d.ts +1 -0
  122. package/types/src/genus-step-wizard/styles/flexbox.d.ts +1 -0
  123. package/types/src/genus-step-wizard/styles/grid.d.ts +1 -0
  124. package/types/src/genus-step-wizard/styles/typography.d.ts +1 -0
  125. package/types/src/genus-table/index.d.ts +65 -0
  126. package/types/src/genus-table/models/more-action-types.d.ts +7 -0
  127. package/types/src/genus-table/models/more-actions.d.ts +9 -0
  128. package/types/src/genus-table/styles/buttons.d.ts +1 -0
  129. package/types/src/genus-table/styles/checkboxes.d.ts +1 -0
  130. package/types/src/genus-table/styles/containers.d.ts +1 -0
  131. package/types/src/genus-table/styles/flexbox.d.ts +1 -0
  132. package/types/src/genus-table/styles/icons.d.ts +1 -0
  133. package/types/src/genus-table/styles/labels.d.ts +1 -0
  134. package/types/src/genus-table/styles/lists.d.ts +1 -0
  135. package/types/src/genus-table/styles/table.d.ts +1 -0
  136. package/types/src/genus-table/styles/textboxes.d.ts +1 -0
  137. package/types/src/genus-table/styles/typography.d.ts +1 -0
  138. package/types/src/genus-tabs/genus-tab-button.d.ts +13 -0
  139. package/types/src/genus-tabs/genus-tab-container.d.ts +23 -0
  140. package/types/src/genus-tabs/genus-tab-content.d.ts +12 -0
  141. package/types/src/genus-tabs/index.d.ts +4 -0
  142. package/types/src/genus-tabs/styles/buttons.d.ts +1 -0
  143. package/types/src/genus-tabs/styles/containers.d.ts +1 -0
  144. package/types/src/genus-tabs/styles/flexbox.d.ts +1 -0
  145. package/types/src/genus-tabs/styles/grid.d.ts +1 -0
  146. package/types/src/genus-tabs/styles/labels.d.ts +1 -0
  147. package/types/src/genus-tabs/styles/radio-buttons.d.ts +1 -0
  148. package/types/src/genus-tabs/styles/tab-content.d.ts +1 -0
  149. package/types/src/genus-tabs/styles/typography.d.ts +1 -0
  150. package/types/src/genus-textarea/index.d.ts +22 -0
  151. package/types/src/genus-textarea/styles/containers.d.ts +1 -0
  152. package/types/src/genus-textarea/styles/grid.d.ts +1 -0
  153. package/types/src/genus-textarea/styles/labels.d.ts +1 -0
  154. package/types/src/genus-textarea/styles/textareas.d.ts +1 -0
  155. package/types/src/genus-textarea/styles/typography.d.ts +1 -0
  156. package/types/src/genus-textbox/builder.d.ts +20 -0
  157. package/types/src/genus-textbox/index.d.ts +32 -0
  158. package/types/src/genus-textbox/input-types.d.ts +7 -0
  159. package/types/src/genus-textbox/models/builder-model.d.ts +18 -0
  160. package/types/src/genus-textbox/models/input-model.d.ts +16 -0
  161. package/types/src/genus-textbox/styles/checkboxes.d.ts +1 -0
  162. package/types/src/genus-textbox/styles/containers.d.ts +1 -0
  163. package/types/src/genus-textbox/styles/flexbox.d.ts +1 -0
  164. package/types/src/genus-textbox/styles/grid.d.ts +1 -0
  165. package/types/src/genus-textbox/styles/icons.d.ts +1 -0
  166. package/types/src/genus-textbox/styles/labels.d.ts +1 -0
  167. package/types/src/genus-textbox/styles/textboxes.d.ts +1 -0
  168. package/types/src/genus-textbox/styles/typography.d.ts +1 -0
  169. package/types/src/genus-toast-message/index.d.ts +15 -0
  170. package/types/src/genus-toast-message/styles/buttons.d.ts +1 -0
  171. package/types/src/genus-toast-message/styles/containers.d.ts +1 -0
  172. package/types/src/genus-toast-message/styles/grid.d.ts +1 -0
  173. package/types/src/genus-toast-message/styles/icons.d.ts +1 -0
  174. package/types/src/genus-toast-message/styles/typography.d.ts +1 -0
  175. package/types/src/genus-toggle-switch/index.d.ts +18 -0
  176. package/types/src/genus-toggle-switch/styles/checkbox.d.ts +1 -0
  177. package/types/src/genus-toggle-switch/styles/grid.d.ts +1 -0
  178. package/types/src/genus-toggle-switch/styles/labels.d.ts +1 -0
  179. package/types/src/genus-toggle-switch/styles/typography.d.ts +1 -0
  180. package/types/src/global-styles/variables.d.ts +1 -0
  181. package/types/src/index.d.ts +22 -0
  182. package/types/src/injected-fonts.d.ts +2 -0
@@ -0,0 +1,20 @@
1
+ import { TemplateResult } from "lit";
2
+ import InputBuilder from "./models/builder-model";
3
+ import InputType from "./input-types";
4
+ declare class TextboxBuilder implements InputBuilder {
5
+ private inputControl;
6
+ setInputType(type: InputType): void;
7
+ setInputValue(value: string): void;
8
+ setInputName(name: string): void;
9
+ setDefaultLabelIcon(label: string, icon: string): void;
10
+ setPlaceholderText(placeholderText: string): void;
11
+ setIcon(icon: string): void;
12
+ setReadOnly(): void;
13
+ setFormatInput(): void;
14
+ setDataPattern(pattern: string): void;
15
+ removeLabel(): void;
16
+ removeIcon(): void;
17
+ removeLabelIcon(placeholderText: string): void;
18
+ renderControl(eventFunction: any, passwordRevealEventFunction?: any): TemplateResult;
19
+ }
20
+ export default TextboxBuilder;
@@ -0,0 +1,32 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class GenusTextBox extends LitElement {
3
+ labelText: string;
4
+ inputValue: string;
5
+ inputType: string;
6
+ formatInput: boolean;
7
+ inputName: string;
8
+ inputIcon: string;
9
+ placeholderText: string;
10
+ dataPattern: string;
11
+ disallowedCharacters: string;
12
+ withoutIcon: boolean;
13
+ withoutLabel: boolean;
14
+ withoutLabelIcon: boolean;
15
+ readOnly: boolean;
16
+ static styles: import("lit").CSSResult[];
17
+ private _targetInput;
18
+ private _textboxBuilder;
19
+ togglePasswordReveal(_e: Event): void;
20
+ getInputValue: (e: Event) => void;
21
+ renderInputControl: (type: string) => import("lit-html").TemplateResult;
22
+ updated(): void;
23
+ static formAssociated: boolean;
24
+ private _internals;
25
+ constructor();
26
+ render(): import("lit-html").TemplateResult;
27
+ }
28
+ declare global {
29
+ interface HTMLElementTagNameMap {
30
+ 'genus-textbox': GenusTextBox;
31
+ }
32
+ }
@@ -0,0 +1,7 @@
1
+ declare enum InputType {
2
+ Text = "text",
3
+ Email = "email",
4
+ Password = "password",
5
+ Number = "number"
6
+ }
7
+ export default InputType;
@@ -0,0 +1,18 @@
1
+ import { TemplateResult } from "lit";
2
+ import InputType from "../input-types";
3
+ interface InputBuilder {
4
+ setInputType(type: InputType): void;
5
+ setInputValue(value: string): void;
6
+ setInputName(name: string): void;
7
+ setDefaultLabelIcon(label: string, icon: string): void;
8
+ setPlaceholderText(placeholderText: string): void;
9
+ setIcon(icon: string): void;
10
+ setFormatInput(): void;
11
+ setDataPattern(pattern: string): void;
12
+ setReadOnly(): void;
13
+ removeLabel(): void;
14
+ removeIcon(): void;
15
+ removeLabelIcon(placeholderText: string): void;
16
+ renderControl(eventFunction: any): TemplateResult;
17
+ }
18
+ export default InputBuilder;
@@ -0,0 +1,16 @@
1
+ type InputControl = {
2
+ labelText: string;
3
+ inputValue: string;
4
+ inputType: string;
5
+ formatInput: boolean;
6
+ inputName: string;
7
+ inputIcon: string;
8
+ placeholderText: string;
9
+ dataPattern: string;
10
+ disallowedCharacters: string;
11
+ withoutIcon: boolean;
12
+ withoutLabel: boolean;
13
+ withoutLabelIcon: boolean;
14
+ isReadOnly: boolean;
15
+ };
16
+ export default InputControl;
@@ -0,0 +1 @@
1
+ export declare const checkboxes: import("lit").CSSResult;
@@ -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;
@@ -0,0 +1,15 @@
1
+ import { LitElement, TemplateResult } from 'lit';
2
+ export declare class GenusToastMessage extends LitElement {
3
+ toastMessage: string;
4
+ toastType: string;
5
+ showToast: boolean;
6
+ static styles: import("lit").CSSResult[];
7
+ setToastVisibility: () => void;
8
+ renderCloseBtn: (toastType: string) => TemplateResult;
9
+ render(): TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'genus-toast-message': GenusToastMessage;
14
+ }
15
+ }
@@ -0,0 +1 @@
1
+ export declare const buttons: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const containers: 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 typography: import("lit").CSSResult;
@@ -0,0 +1,18 @@
1
+ import { LitElement, PropertyValueMap, TemplateResult } from 'lit';
2
+ export declare class GenusToggleSwitch extends LitElement {
3
+ toggleSwitchValues: string[];
4
+ withoutToggleText: boolean;
5
+ withoutLabelText: boolean;
6
+ labelText: string;
7
+ getInputValue: (e: Event) => void;
8
+ static styles: import("lit").CSSResult[];
9
+ private _toggleCheckBox;
10
+ private _switchValue;
11
+ willUpdate(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
12
+ render(): TemplateResult;
13
+ }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'genus-toggle-switch': GenusToggleSwitch;
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ export declare const checkbox: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const grid: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const labels: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const typography: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export declare const variables: import("lit").CSSResult;
@@ -0,0 +1,22 @@
1
+ import { GenusTextArea } from "./genus-textarea";
2
+ import { GenusTextBox } from "./genus-textbox";
3
+ import { GenusDatePicker } from "./genus-date-picker";
4
+ import * as GenusTabs from "./genus-tabs";
5
+ import * as GenusWizard from "./genus-step-wizard";
6
+ import { GenusRadioBtnGroup } from "./genus-radiobtn-group";
7
+ import { GenusDataCard } from "./genus-data-card";
8
+ import * as GenusCheckBoxGroup from "./genus-checkbox-group";
9
+ import { GenusCheckBox } from "./genus-checkbox";
10
+ import * as GenusDropDownSelect from "./genus-dropdown-select";
11
+ import { GenusChart } from "./genus-chart";
12
+ import { GenusTable } from "./genus-table";
13
+ import { GenusToastMessage } from "./genus-toast-message";
14
+ import { GenusDataListItem } from "./genus-data-list-item";
15
+ import { GenusFileUpload } from "./genus-file-upload";
16
+ import { GenusToggleSwitch } from "./genus-toggle-switch";
17
+ import { GenusNumericSlider } from "./genus-numeric-slider";
18
+ import { GenusRangeSlider } from "./genus-range-slider";
19
+ import { GenusSlider } from "./genus-slider";
20
+ import { GenusAccordion } from "./genus-accordion";
21
+ import * as GenusMultiSelectDropDown from "./genus-multi-select-dropdown";
22
+ export { GenusTextBox, GenusTextArea, GenusDatePicker, GenusRadioBtnGroup, GenusDataCard, GenusCheckBoxGroup, GenusCheckBox, GenusTabs, GenusWizard, GenusDropDownSelect, GenusChart, GenusTable, GenusToastMessage, GenusDataListItem, GenusFileUpload, GenusToggleSwitch, GenusNumericSlider, GenusRangeSlider, GenusSlider, GenusAccordion, GenusMultiSelectDropDown };
@@ -0,0 +1,2 @@
1
+ declare const injectCustomFont: () => void;
2
+ export default injectCustomFont;