revotech-ui-kit 0.0.28 → 0.0.29

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.
@@ -1,29 +1,25 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
- import * as refJs from 'lit/directives/ref.js';
3
2
  declare class ComboBox extends LitElement {
4
3
  static styles: import("lit").CSSResult[];
5
- comboBoxId: `${string}-${string}-${string}-${string}-${string}`;
4
+ comboBoxid: `${string}-${string}-${string}-${string}-${string}`;
6
5
  isOpen: boolean;
7
6
  selectedValue: string;
8
7
  searchTerm: string;
9
8
  focusedIndex: number;
10
9
  filteredItems: string[];
11
- refElement: refJs.Ref<HTMLInputElement>;
12
- active: any;
13
10
  label: string;
14
11
  items: never[];
15
12
  connectedCallback(): void;
16
13
  disconnectedCallback(): void;
17
- handleClickOutside: (event: any) => void;
18
14
  protected firstUpdated(_changedProperties: PropertyValues): void;
19
- protected updated(_changedProperties: PropertyValues): void;
15
+ updated(changedProps: PropertyValues): void;
20
16
  toggleDropdown(): void;
21
17
  selectItem(event: Event): void;
18
+ handleClickOutside: (e: MouseEvent) => void;
22
19
  handleSearch(event: Event): void;
23
20
  handleKeyDown(event: KeyboardEvent): void;
24
21
  handleMouseOver(event: Event, index: number): void;
25
22
  updateFocus(): void;
26
- raiseEvent(): void;
27
23
  render(): import("lit-html").TemplateResult<1>;
28
24
  }
29
25
  export { ComboBox };
@@ -8,6 +8,5 @@ export declare class SelectItem extends LitElement {
8
8
  class: string;
9
9
  onSelect: () => void;
10
10
  static styles: import("lit").CSSResult[];
11
- connectedCallback(): void;
12
11
  render(): import("lit-html").TemplateResult<1>;
13
12
  }
@@ -5,25 +5,23 @@ import { SelectLabel } from './select-label';
5
5
  import { SelectSeperator } from './select-seperator';
6
6
  declare class Select extends LitElement {
7
7
  static styles: import("lit").CSSResult[];
8
- selectId: `${string}-${string}-${string}-${string}-${string}`;
9
8
  isOpen: boolean;
10
9
  selectedValue: string;
11
10
  searchTerm: string;
12
11
  focusedIndex: number;
13
12
  filteredItems: string[];
14
- active: any;
15
13
  label: string;
16
14
  items: never[];
17
15
  connectedCallback(): void;
18
16
  disconnectedCallback(): void;
17
+ updated(changedProps: PropertyValues): void;
19
18
  protected firstUpdated(_changedProperties: PropertyValues): void;
20
- handleClickOutside: (event: any) => void;
19
+ handleClickOutside: (e: MouseEvent) => void;
21
20
  toggleDropdown(): void;
22
21
  selectItem(event: Event): void;
23
22
  handleInputClick(): void;
24
23
  handleKeyDown(event: KeyboardEvent): void;
25
24
  handleMouseOver(event: Event, index: number): void;
26
- raiseEvent(): void;
27
25
  render(): import("lit-html").TemplateResult<1>;
28
26
  }
29
27
  export { Select, SelectItem, SelectList, SelectLabel, SelectSeperator };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent wc-ui following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "wc-ui",
6
- "version": "0.0.28",
6
+ "version": "0.0.29",
7
7
  "type": "module",
8
8
  "main": "dist/revotech-ui-kit.umd.cjs",
9
9
  "module": "./dist/revotech-ui-kit.js",