@opensystemslab/map 0.4.9 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.4.9",
3
+ "version": "0.5.2",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
@@ -2,6 +2,8 @@ import { LitElement } from "lit";
2
2
  declare type Address = {
3
3
  LPI: any;
4
4
  };
5
+ declare type ArrowStyleEnum = "default" | "light";
6
+ declare type LabelStyleEnum = "responsive" | "static";
5
7
  export declare class AddressAutocomplete extends LitElement {
6
8
  static styles: import("lit").CSSResult;
7
9
  id: string;
@@ -9,6 +11,8 @@ export declare class AddressAutocomplete extends LitElement {
9
11
  label: string;
10
12
  initialAddress: string;
11
13
  osPlacesApiKey: string;
14
+ arrowStyle: ArrowStyleEnum;
15
+ labelStyle: LabelStyleEnum;
12
16
  private _totalAddresses;
13
17
  private _addressesInPostcode;
14
18
  private _options;
@@ -16,8 +20,10 @@ export declare class AddressAutocomplete extends LitElement {
16
20
  private _osError;
17
21
  connectedCallback(): void;
18
22
  disconnectedCallback(): void;
23
+ getLightDropdownArrow(): string;
19
24
  firstUpdated(): void;
20
25
  _fetchData(offset?: number, prevResults?: Address[]): Promise<void>;
26
+ _getLabelClasses(): string;
21
27
  render(): import("lit").TemplateResult<1>;
22
28
  /**
23
29
  * dispatches an event for clients to subscribe to