@opensystemslab/map 0.5.3 → 0.5.6

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/dist/index.html CHANGED
@@ -12,7 +12,7 @@
12
12
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap"
13
13
  rel="stylesheet"
14
14
  />
15
- <!-- Examples of available style options for address-autocomplete -->
15
+ <!-- Examples of available style options for postcode-search & address-autocomplete -->
16
16
  <!-- <style>
17
17
  address-autocomplete {
18
18
  --autocomplete__label__font-size: 25px;
@@ -29,6 +29,14 @@
29
29
  --autocomplete__option__hover-background-color: rgb(0, 99, 96);
30
30
  --autocomplete__font-family: "Courier New";
31
31
  }
32
+
33
+ postcode-search {
34
+ --postcode__font-family: "Times New Roman";
35
+ --postcode__font-size: 18px;
36
+ --postcode__input__font-size: 24px;
37
+ --postcode__input__padding: 30px 10px;
38
+ --postcode__input__height: 60px;
39
+ }
32
40
  </style> -->
33
41
  </head>
34
42
  <body>
@@ -86,7 +94,7 @@
86
94
  // --- POSTCODE SEARCH --- //
87
95
  const search = document.querySelector("postcode-search");
88
96
 
89
- search.addEventListener("postcodeValidated", ({ detail }) => {
97
+ search.addEventListener("postcodeChange", ({ detail }) => {
90
98
  console.debug({ detail });
91
99
  });
92
100