@googlemaps/extended-component-library
Advanced tools
Comparing version 0.6.12 to 0.6.13
@@ -7,4 +7,4 @@ /** | ||
/** Package version of this component library. */ | ||
export declare const LIBRARY_VERSION = "0.6.12"; | ||
export declare const LIBRARY_VERSION = "0.6.13"; | ||
/** Identifier of where this component library is sourced from. */ | ||
export declare const ATTRIBUTION_SOURCE_ID = "GIT"; | ||
export declare const ATTRIBUTION_SOURCE_ID = "NPM"; |
@@ -7,5 +7,5 @@ /** | ||
/** Package version of this component library. */ | ||
export const LIBRARY_VERSION = '0.6.12'; // x-release-please-version | ||
export const LIBRARY_VERSION = '0.6.13'; // x-release-please-version | ||
/** Identifier of where this component library is sourced from. */ | ||
export const ATTRIBUTION_SOURCE_ID = 'NPM'; | ||
//# sourceMappingURL=constants.js.map |
@@ -54,7 +54,7 @@ /** | ||
#locations-panel-list > header { | ||
#locations-panel-list > .header { | ||
padding: 1.4em 1.4em 0 1.4em; | ||
} | ||
#locations-panel-list h1.search-title { | ||
#locations-panel-list .search-title { | ||
align-items: center; | ||
@@ -66,3 +66,3 @@ display: flex; | ||
#locations-panel-list h1.search-title .icon { | ||
#locations-panel-list .search-title .icon { | ||
font-size: 150%; | ||
@@ -103,3 +103,3 @@ margin-right: 0.2em; | ||
#location-results-list h2 { | ||
#location-results-list .name { | ||
font: ${GMPX_FONT_TITLE_LARGE}; | ||
@@ -114,2 +114,6 @@ margin: 0 0 0.6em 0; | ||
#location-results-list .address p { | ||
margin: 0; | ||
} | ||
#location-results-list gmpx-place-directions-button { | ||
@@ -116,0 +120,0 @@ position: absolute; |
@@ -340,8 +340,8 @@ /** | ||
<button class="select-location" @click=${selectButtonClick}> | ||
<h2 class="name"> | ||
<div class="name"> | ||
<gmpx-place-field-text field="displayName"></gmpx-place-field-text> | ||
</h2> | ||
</div> | ||
</button> | ||
<div class="address"> | ||
${join(listing.addressLines ?? [], html `<br>`)} | ||
${(listing.addressLines ?? []).map((line) => html `<p>${line}</p>`)} | ||
</div> | ||
@@ -383,7 +383,7 @@ <div class="actions"> | ||
html ` | ||
<header> | ||
<h1 class="search-title"> | ||
<div class="header"> | ||
<div class="search-title"> | ||
<span class="icon material-symbols-outlined">distance</span> | ||
${this.getMsg('LOCATOR_LIST_HEADER')} | ||
</h1> | ||
</div> | ||
<gmpx-place-picker for-map="main-map" type="geocode" | ||
@@ -393,3 +393,3 @@ .placeholder=${this.getMsg('LOCATOR_SEARCH_PROMPT')} | ||
</gmpx-place-picker> | ||
</header> | ||
</div> | ||
`; | ||
@@ -396,0 +396,0 @@ return html ` |
{ | ||
"name": "@googlemaps/extended-component-library", | ||
"version": "0.6.12", | ||
"version": "0.6.13", | ||
"description": "Web Components for building rich experiences with the Google Maps JavaScript API.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -40,3 +40,3 @@ # Extended Component Library | ||
The components in this library make use of Google Maps Platform APIs. To start, you'll need to [sign up for Google Maps Platform and create an API key](https://console.cloud.google.com/google/maps-apis/start?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components). Then, place an API Loader element somewhere in the root of your app's HTML, specifying your API key: | ||
The components in this library make use of Google Maps Platform APIs. To start, you'll need to [sign up for Google Maps Platform and create an API key](https://console.cloud.google.com/google/maps-apis/start?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components). Then, place an API Loader element somewhere in the root of your app's HTML, specifying your API key: | ||
@@ -107,8 +107,8 @@ ```html | ||
Map and marker components can be used with the Extended Component Library, or on their own. See the [guide](https://developers.google.com/maps/documentation/web-components/overview?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components) for more information on Web Components in the Maps JS SDK. | ||
Map and marker components can be used with the Extended Component Library, or on their own. See the [guide](https://developers.google.com/maps/documentation/web-components/overview?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components) for more information on Web Components in the Maps JS SDK. | ||
| Component | Description | | ||
| ----------------------- | ---------------------------------------------- | | ||
| [`<gmp-map>`](https://developers.google.com/maps/documentation/javascript/reference/map?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components#MapElement) | The map component displays a map on a webpage, and can wrap other map-related components such as markers inside the map component in HTML. | | ||
| [`<gmp-advanced-marker>`](https://developers.google.com/maps/documentation/javascript/reference/advanced-markers?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components#AdvancedMarkerElement) | The marker component displays a pin on the map at specified coordinates. | | ||
| [`<gmp-map>`](https://developers.google.com/maps/documentation/javascript/reference/map?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components#MapElement) | The map component displays a map on a webpage, and can wrap other map-related components such as markers inside the map component in HTML. | | ||
| [`<gmp-advanced-marker>`](https://developers.google.com/maps/documentation/javascript/reference/advanced-markers?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components#AdvancedMarkerElement) | The marker component displays a pin on the map at specified coordinates. | | ||
@@ -176,3 +176,3 @@ ## Inventory of components | ||
This library uses Google Maps Platform services, and any use of Google Maps Platform is subject to the [Terms of Service](https://cloud.google.com/maps-platform/terms?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components). | ||
This library uses Google Maps Platform services, and any use of Google Maps Platform is subject to the [Terms of Service](https://cloud.google.com/maps-platform/terms?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components). | ||
@@ -187,8 +187,8 @@ For clarity, this library, and each underlying component, is not a Google Maps Platform Core Service. | ||
This library is offered via an open source license. It is not governed by the Google Maps Platform [Technical Support Services Guidelines](https://cloud.google.com/maps-platform/terms/tssg?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components), the [SLA](https://cloud.google.com/maps-platform/terms/sla?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components), or the [Deprecation Policy](https://cloud.google.com/maps-platform/terms?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components) (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service). | ||
This library is offered via an open source license. It is not governed by the Google Maps Platform [Technical Support Services Guidelines](https://cloud.google.com/maps-platform/terms/tssg?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components), the [SLA](https://cloud.google.com/maps-platform/terms/sla?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components), or the [Deprecation Policy](https://cloud.google.com/maps-platform/terms?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components) (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service). | ||
This library adheres to [semantic versioning](https://semver.org/) to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time. | ||
If you find a bug, or have a feature request, please file an issue on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels](https://developers.google.com/maps/developer-community?utm_source=github&utm_medium=documentation&utm_campaign=&utm_content=web_components). If you'd like to contribute, please check the [Contributing guide](https://github.com/googlemaps/extended-component-library/blob/main/CONTRIBUTING.md) in the GitHub repository. | ||
If you find a bug, or have a feature request, please file an issue on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels](https://developers.google.com/maps/developer-community?utm_source=npm&utm_medium=documentation&utm_campaign=&utm_content=web_components). If you'd like to contribute, please check the [Contributing guide](https://github.com/googlemaps/extended-component-library/blob/main/CONTRIBUTING.md) in the GitHub repository. | ||
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1237509
12800