@opensystemslab/map 0.5.0 → 0.5.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.5.0",
3
+ "version": "0.5.3",
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