@opensystemslab/map 0.5.4 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/component-lib.es.js +21769 -12607
- package/dist/component-lib.umd.js +108 -12710
- package/dist/index.html +10 -2
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/types/components/address-autocomplete/index.d.ts +1 -1
- package/types/components/my-map/index.d.ts +8 -0
- package/types/components/my-map/os-features.d.ts +1 -1
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("
|
97
|
+
search.addEventListener("postcodeChange", ({ detail }) => {
|
90
98
|
console.debug({ detail });
|
91
99
|
});
|
92
100
|
|