diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e008504..76ad1d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ on: repository_dispatch: types: [test] pull_request: - branches: ['*'] + branches-ignore: ['gh-pages','googlemaps-bot/update_gh_pages'] jobs: run-unit-test: diff --git a/images/homepage.svg b/images/homepage.svg new file mode 100644 index 0000000..e3c83b1 --- /dev/null +++ b/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/index.html b/index.html index 647bdc8..bf82e43 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -124,7 +124,7 @@

Packages

diff --git a/navigation.html b/navigation.html index a7c0062..4c0021f 100644 --- a/navigation.html +++ b/navigation.html @@ -38,18 +38,51 @@
awaitFindCurrentPlace()
-
+
+ +
+
+ +
+
-
+ -
+ -
diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html index 666805a..d3b3f8b 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

addressComponent

-
inline fun addressComponent(name: String, types: List<String>, noinline actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent

Builds a new AddressComponent.

Return

the constructed AddressComponent

Parameters

name

the name of this address component

types

the types of this address component

actions

the actions to apply to the AddressComponent.Builder

See also

Throws

+
fun addressComponent(name: String, types: List<String>, actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent

Builds a new AddressComponent.

Return

the constructed AddressComponent

Parameters

name

the name of this address component

types

the types of this address component

actions

the actions to apply to the AddressComponent.Builder

See also

Throws

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html index 4f03932..9d1aad9 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

autocompletePrediction

-
inline fun autocompletePrediction(placeId: String, noinline actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction

Builds a new AutocompletePrediction.

Return

the constructed AutocompletePrediction

Parameters

placeId

the place's ID

actions

the actions to apply to the AutocompletePrediction.Builder

+
fun autocompletePrediction(placeId: String, actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction

Builds a new AutocompletePrediction.

Return

the constructed AutocompletePrediction

Parameters

placeId

the place's ID

actions

the actions to apply to the AutocompletePrediction.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/index.html index 12bebeb..6d50273 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -81,7 +81,7 @@

Functions

-
inline fun addressComponent(name: String, types: List<String>, noinline actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent

Builds a new AddressComponent.

+
fun addressComponent(name: String, types: List<String>, actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent

Builds a new AddressComponent.

@@ -96,7 +96,7 @@

Functions

-
inline fun autocompletePrediction(placeId: String, noinline actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction

Builds a new AutocompletePrediction.

+
fun autocompletePrediction(placeId: String, actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction

Builds a new AutocompletePrediction.

@@ -111,7 +111,7 @@

Functions

-
inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours

Builds a new OpeningHours.

+
inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours

Builds a new OpeningHours.

@@ -126,7 +126,7 @@

Functions

-
inline fun period(actions: Period.Builder.() -> Unit): Period

Builds a new Period.

+
inline fun period(actions: Period.Builder.() -> Unit): Period

Builds a new Period.

@@ -141,7 +141,7 @@

Functions

-
inline fun photoMetadata(photoReference: String, noinline actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata

Builds a new PhotoMetadata.

+
fun photoMetadata(photoReference: String, actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata

Builds a new PhotoMetadata.

@@ -156,7 +156,7 @@

Functions

-
inline fun place(actions: Place.Builder.() -> Unit): Place

Builds a new Place.

+
inline fun place(actions: Place.Builder.() -> Unit): Place

Builds a new Place.

@@ -171,7 +171,7 @@

Functions

-
inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode

Builds a new PlusCode.

+
inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode

Builds a new PlusCode.

@@ -182,7 +182,7 @@

Functions

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html index f85eab3..47b786a 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

openingHours

-
inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours

Builds a new OpeningHours.

Return

the constructed OpeningHours

Parameters

actions

the actions to apply to the OpeningHours.Builder

+
inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours

Builds a new OpeningHours.

Return

the constructed OpeningHours

Parameters

actions

the actions to apply to the OpeningHours.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/period.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/period.html index 733f496..398d534 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/period.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/period.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

period

-
inline fun period(actions: Period.Builder.() -> Unit): Period

Builds a new Period.

Return

the constructed Period

Parameters

actions

the actions to apply to the Period.Builder

+
inline fun period(actions: Period.Builder.() -> Unit): Period

Builds a new Period.

Return

the constructed Period

Parameters

actions

the actions to apply to the Period.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html index 6b8b3da..cca31e2 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

photoMetadata

-
inline fun photoMetadata(photoReference: String, noinline actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata

Builds a new PhotoMetadata.

Return

the constructed PhotoMetadata

Parameters

photoReference

the reference identifying the underlying photo

actions

the actions to apply to the PhotoMetadata.Builder

+
fun photoMetadata(photoReference: String, actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata

Builds a new PhotoMetadata.

Return

the constructed PhotoMetadata

Parameters

photoReference

the reference identifying the underlying photo

actions

the actions to apply to the PhotoMetadata.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/place.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/place.html index 4afb17c..3695e13 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/place.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/place.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

place

-
inline fun place(actions: Place.Builder.() -> Unit): Place

Builds a new Place.

Return

the constructed Place

Parameters

actions

the actions to apply to the Place.Builder

+
inline fun place(actions: Place.Builder.() -> Unit): Place

Builds a new Place.

Return

the constructed Place

Parameters

actions

the actions to apply to the Place.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html b/places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html index 3fd72ff..e7ca95e 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

plusCode

-
inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode

Builds a new PlusCode.

Return

the constructed PlusCode

Parameters

actions

the actions to apply to the PlusCode.Builder

+
inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode

Builds a new PlusCode.

Return

the constructed PlusCode

Parameters

actions

the actions to apply to the PlusCode.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-e-x-p-e-n-s-i-v-e/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-e-x-p-e-n-s-i-v-e/index.html new file mode 100644 index 0000000..5b0746f --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-e-x-p-e-n-s-i-v-e/index.html @@ -0,0 +1,134 @@ + + + + + EXPENSIVE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EXPENSIVE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-f-r-e-e/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-f-r-e-e/index.html new file mode 100644 index 0000000..41af607 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-f-r-e-e/index.html @@ -0,0 +1,134 @@ + + + + + FREE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

FREE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-i-n-e-x-p-e-n-s-i-v-e/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-i-n-e-x-p-e-n-s-i-v-e/index.html new file mode 100644 index 0000000..040ab2f --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-i-n-e-x-p-e-n-s-i-v-e/index.html @@ -0,0 +1,134 @@ + + + + + INEXPENSIVE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

INEXPENSIVE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-m-o-d-e-r-a-t-e/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-m-o-d-e-r-a-t-e/index.html new file mode 100644 index 0000000..98b2d60 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-m-o-d-e-r-a-t-e/index.html @@ -0,0 +1,134 @@ + + + + + MODERATE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MODERATE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-v-e-r-y_-e-x-p-e-n-s-i-v-e/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-v-e-r-y_-e-x-p-e-n-s-i-v-e/index.html new file mode 100644 index 0000000..f3c8f92 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-v-e-r-y_-e-x-p-e-n-s-i-v-e/index.html @@ -0,0 +1,134 @@ + + + + + VERY_EXPENSIVE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

VERY_EXPENSIVE

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/entries.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/entries.html new file mode 100644 index 0000000..7c36d05 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/entries.html @@ -0,0 +1,80 @@ + + + + + entries + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/index.html new file mode 100644 index 0000000..6b6d9b3 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/index.html @@ -0,0 +1,262 @@ + + + + + PriceLevel + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

PriceLevel

+ +
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value-of.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value-of.html new file mode 100644 index 0000000..7aab46a --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value-of.html @@ -0,0 +1,80 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value.html new file mode 100644 index 0000000..87f5162 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value.html @@ -0,0 +1,80 @@ + + + + + value + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

value

+
+
val value: Int
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/values.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/values.html new file mode 100644 index 0000000..c5013e9 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/values.html @@ -0,0 +1,80 @@ + + + + + values + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html index f41a993..d018546 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

awaitFetchPhoto

-
suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse

Wraps PlacesClient.fetchPhoto in a suspending function.

Fetches a photo. If an error occurred, an ApiException will be thrown.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse

Wraps PlacesClient.fetchPhoto in a suspending function.

Fetches a photo. If an error occurred, an ApiException will be thrown.

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html index 4def6b1..3090df5 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

awaitFetchPlace

-
suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List<Place.Field>): FetchPlaceResponse

Wraps PlacesClient.fetchPlace in a suspending function.

Fetches the details of a place. If an error occurred, an ApiException will be thrown.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List<Place.Field>): FetchPlaceResponse

Wraps PlacesClient.fetchPlace in a suspending function.

Fetches the details of a place. If an error occurred, an ApiException will be thrown.

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html index 215ccec..0738485 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

awaitFindAutocompletePredictions

-
suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

Fetches autocomplete predictions. If an error occurred, an ApiException will be thrown.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

Fetches autocomplete predictions. If an error occurred, an ApiException will be thrown.

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html index 4aa414e..5cb3dff 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

awaitFindCurrentPlace

-
@RequiresPermission(allOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_WIFI_STATE"])
suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List<Place.Field>): FindCurrentPlaceResponse

Wraps PlacesClient.findCurrentPlace in a suspending function.

Fetches the approximate current place of the user's device. Calling this method without granting the appropriate permissions will result in a SecurityException being thrown. In addition, if an error occurred while fetching the current place, an ApiException will be thrown.

+
@ExperimentalCoroutinesApi
@RequiresPermission(anyOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"])
suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List<Place.Field>): FindCurrentPlaceResponse

Wraps PlacesClient.findCurrentPlace in a suspending function.

Fetches the approximate current place of the user's device. Calling this method without granting the appropriate permissions will result in a SecurityException being thrown. In addition, if an error occurred while fetching the current place, an ApiException will be thrown.

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html new file mode 100644 index 0000000..84df977 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html @@ -0,0 +1,80 @@ + + + + + awaitIsOpen + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

awaitIsOpen

+
+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(place: Place, utcTimeMillis: Long? = null): IsOpenResponse

Wraps PlacesClient.isOpen in a suspending function with the given Place object.

Returns whether or not a place is open. If an error occurred, an ApiException will be thrown.


@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(placeId: String, utcTimeMillis: Long? = null): IsOpenResponse

Wraps PlacesClient.isOpen in a suspending function with the given placeId.

Returns whether or not a place is open. If an error occurred, an ApiException will be thrown.

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/await-search-by-text.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-search-by-text.html new file mode 100644 index 0000000..e5d3630 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/await-search-by-text.html @@ -0,0 +1,80 @@ + + + + + awaitSearchByText + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

awaitSearchByText

+
+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitSearchByText(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextResponse

Wraps PlacesClient.searchByText in a suspending function.

Fetches the place(s) of interest using a text query. If an error occurred, an ApiException will be thrown.

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html index d3a55f2..04305f9 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

fetchPhotoRequest

-
inline fun fetchPhotoRequest(photoMetadata: PhotoMetadata, noinline actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest

Builds a new FetchPhotoRequest.

Return

the constructed FetchPhotoRequest

Parameters

photoMetadata

the metadata for the requested photo

actions

the actions to apply to the FetchPhotoRequest.Builder

+
fun fetchPhotoRequest(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest

Builds a new FetchPhotoRequest.

Return

the constructed FetchPhotoRequest

Parameters

photoMetadata

the metadata for the requested photo

actions

the actions to apply to the FetchPhotoRequest.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html index 01c5e18..4f742ff 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

fetchPlaceRequest

-
inline fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, noinline actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest

Builds a new FetchPlaceRequest.

Return

the constructed FetchPlaceRequest

Parameters

placeId

the ID of the place to fetch

placeFields

the fields of the place to be requested

actions

the actions to apply to the FetchPlaceRequest.Builder

+
fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest

Builds a new FetchPlaceRequest.

Return

the constructed FetchPlaceRequest

Parameters

placeId

the ID of the place to fetch

placeFields

the fields of the place to be requested

actions

the actions to apply to the FetchPlaceRequest.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html index 0caef59..a0f6082 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

findAutocompletePredictionsRequest

-
inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest

Builds a new FindAutocompletePredictionsRequest.

Return

the constructed FindAutocompletePredictionsRequest

Parameters

actions

the actions to apply to the FindAutocompletePredictionsRequest.Builder

+
inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest

Builds a new FindAutocompletePredictionsRequest.

Return

the constructed FindAutocompletePredictionsRequest

Parameters

actions

the actions to apply to the FindAutocompletePredictionsRequest.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html index 8fc0562..da860a8 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

findCurrentPlaceRequest

-
inline fun findCurrentPlaceRequest(placeFields: List<Place.Field>, noinline actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest

Builds a new FindCurrentPlaceRequest.

Return

the constructed FindCurrentPlaceRequest

Parameters

placeFields

the fields of the places to be returned

actions

the actions to apply to the FindCurrentPlaceRequest.Builder

+
fun findCurrentPlaceRequest(placeFields: List<Place.Field>, actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest

Builds a new FindCurrentPlaceRequest.

Return

the constructed FindCurrentPlaceRequest

Parameters

placeFields

the fields of the places to be returned

actions

the actions to apply to the FindCurrentPlaceRequest.Builder

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/index.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/index.html index 8427a97..c56d10b 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.api.net/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -67,8 +67,27 @@

Package-level declarations

-
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+

Functions

@@ -81,7 +100,7 @@

Functions

-
suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse

Wraps PlacesClient.fetchPhoto in a suspending function.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse

Wraps PlacesClient.fetchPhoto in a suspending function.

@@ -96,7 +115,7 @@

Functions

-
suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List<Place.Field>): FetchPlaceResponse

Wraps PlacesClient.fetchPlace in a suspending function.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List<Place.Field>): FetchPlaceResponse

Wraps PlacesClient.fetchPlace in a suspending function.

@@ -111,7 +130,7 @@

Functions

-
suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

@@ -126,7 +145,37 @@

Functions

-
@RequiresPermission(allOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_WIFI_STATE"])
suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List<Place.Field>): FindCurrentPlaceResponse

Wraps PlacesClient.findCurrentPlace in a suspending function.

+
@ExperimentalCoroutinesApi
@RequiresPermission(anyOf = ["android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_COARSE_LOCATION"])
suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List<Place.Field>): FindCurrentPlaceResponse

Wraps PlacesClient.findCurrentPlace in a suspending function.

+
+
+ + + +
+
+
+
awaitIsOpen
+ +
Link copied to clipboard
+
+
+
+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(place: Place, utcTimeMillis: Long? = null): IsOpenResponse

Wraps PlacesClient.isOpen in a suspending function with the given Place object.

@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitIsOpen(placeId: String, utcTimeMillis: Long? = null): IsOpenResponse

Wraps PlacesClient.isOpen in a suspending function with the given placeId.

+
+
+
+
+ +
+
+
+
awaitSearchByText
+ +
Link copied to clipboard
+
+
+
+
@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitSearchByText(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextResponse

Wraps PlacesClient.searchByText in a suspending function.

@@ -141,7 +190,7 @@

Functions

-
inline fun fetchPhotoRequest(photoMetadata: PhotoMetadata, noinline actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest

Builds a new FetchPhotoRequest.

+
fun fetchPhotoRequest(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest

Builds a new FetchPhotoRequest.

@@ -156,7 +205,7 @@

Functions

-
inline fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, noinline actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest

Builds a new FetchPlaceRequest.

+
fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest

Builds a new FetchPlaceRequest.

@@ -171,7 +220,7 @@

Functions

-
inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest

Builds a new FindAutocompletePredictionsRequest.

+
inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest

Builds a new FindAutocompletePredictionsRequest.

@@ -186,7 +235,52 @@

Functions

-
inline fun findCurrentPlaceRequest(placeFields: List<Place.Field>, noinline actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest

Builds a new FindCurrentPlaceRequest.

+
fun findCurrentPlaceRequest(placeFields: List<Place.Field>, actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest

Builds a new FindCurrentPlaceRequest.

+
+
+ + + +
+
+
+
isOpenRequest
+ +
Link copied to clipboard
+
+
+
+
fun isOpenRequest(place: Place, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest
fun isOpenRequest(placeId: String, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest

Builds a new IsOpenRequest.

+
+
+
+
+ +
+
+
+
searchByTextRequest
+ +
Link copied to clipboard
+
+
+
+
fun searchByTextRequest(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextRequest

Builds a new SearchByTextRequest.

+
+
+
+
+ +
+
+
+
setPriceLevels
+ +
Link copied to clipboard
+
+
+
+
fun SearchByTextRequest.Builder.setPriceLevels(vararg priceLevels: PriceLevel): SearchByTextRequest.Builder
fun SearchByTextRequest.Builder.setPriceLevels(priceLevels: Collection<PriceLevel>): SearchByTextRequest.Builder
@@ -197,7 +291,7 @@

Functions

diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html new file mode 100644 index 0000000..52a1023 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html @@ -0,0 +1,80 @@ + + + + + isOpenRequest + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isOpenRequest

+
+
fun isOpenRequest(placeId: String, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest

Builds a new IsOpenRequest.

Return

the constructed IsOpenRequest

Parameters

placeId

The Place.id of the place for which isOpen is to be determined.

utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

actions

the actions to apply to the IsOpenRequest.Builder


fun isOpenRequest(place: Place, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest

Builds a new IsOpenRequest.

Return

the constructed IsOpenRequest

Parameters

place

The Place for which isOpen is to be determined.

utcTimeMillis

The milliseconds from 1970-01-01T00:00:00Z.

actions

the actions to apply to the IsOpenRequest.Builder

Throws

if Place does not have a Place.id associated with it.

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/search-by-text-request.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/search-by-text-request.html new file mode 100644 index 0000000..bde0df5 --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/search-by-text-request.html @@ -0,0 +1,80 @@ + + + + + searchByTextRequest + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

searchByTextRequest

+
+
fun searchByTextRequest(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextRequest

Builds a new SearchByTextRequest.

Return

the constructed SearchByTextRequest

Parameters

textQuery

the query string to search

placeFields

the fields of the place to be requested

actions

the actions to apply to the SearchByTextRequest.Builder

+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html b/places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html new file mode 100644 index 0000000..cb54d3f --- /dev/null +++ b/places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html @@ -0,0 +1,80 @@ + + + + + setPriceLevels + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

setPriceLevels

+
+
fun SearchByTextRequest.Builder.setPriceLevels(priceLevels: Collection<PriceLevel>): SearchByTextRequest.Builder
fun SearchByTextRequest.Builder.setPriceLevels(vararg priceLevels: PriceLevel): SearchByTextRequest.Builder
+
+ +
+
+
+ + diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html index 1ebe758..2aaddba 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -69,7 +69,7 @@

PlaceSelection
constructor(status: Status)

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html index f2c3794..5c69552 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -101,7 +101,7 @@

Properties

-
val status: Status
+
val status: Status
@@ -112,7 +112,7 @@

Properties

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html index f889a32..5f4c904 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

status

-
val status: Status
+
val status: Status
diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html index 2f25905..8373142 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -73,7 +73,7 @@

PlaceSelection

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html index 7fdfda8..b26a1bc 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -69,7 +69,7 @@

PlaceSelection
constructor(place: Place)

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html index a43a892..cbf3bb8 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -101,7 +101,7 @@

Properties

-
val place: Place
+
val place: Place
@@ -112,7 +112,7 @@

Properties

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html index d4ac67e..7ddca98 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

place

-
val place: Place
+
val place: Place
diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/index.html b/places-ktx/com.google.android.libraries.places.ktx.widget/index.html index a7fc2ef..7045f33 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/index.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/index.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -121,7 +121,7 @@

Types

Functions

-
+
@@ -130,7 +130,7 @@

Functions

-
fun AutocompleteSupportFragment.placeSelectionEvents(): Flow<PlaceSelectionResult>
+
fun AutocompleteSupportFragment.placeSelectionEvents(): Flow<PlaceSelectionResult>
@@ -141,7 +141,7 @@

Functions

diff --git a/places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html b/places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html index e0112d3..2e1229c 100644 --- a/places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html +++ b/places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html @@ -45,7 +45,7 @@
-3.1.0
+3.3.1
@@ -66,10 +66,10 @@

placeSelectionEvents

-
fun AutocompleteSupportFragment.placeSelectionEvents(): Flow<PlaceSelectionResult>
+
fun AutocompleteSupportFragment.placeSelectionEvents(): Flow<PlaceSelectionResult>
diff --git a/places-ktx/package-list b/places-ktx/package-list index 25d7a80..b5612aa 100644 --- a/places-ktx/package-list +++ b/places-ktx/package-list @@ -13,10 +13,28 @@ $dokka.location:com.google.android.libraries.places.ktx.api.net//awaitFetchPhoto $dokka.location:com.google.android.libraries.places.ktx.api.net//awaitFetchPlace/com.google.android.libraries.places.api.net.PlacesClient#kotlin.String#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html $dokka.location:com.google.android.libraries.places.ktx.api.net//awaitFindAutocompletePredictions/com.google.android.libraries.places.api.net.PlacesClient#kotlin.Function1[com.google.android.libraries.places.api.net.FindAutocompletePredictionsRequest.Builder,kotlin.Unit]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html $dokka.location:com.google.android.libraries.places.ktx.api.net//awaitFindCurrentPlace/com.google.android.libraries.places.api.net.PlacesClient#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//awaitIsOpen/com.google.android.libraries.places.api.net.PlacesClient#com.google.android.libraries.places.api.model.Place#kotlin.Long?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//awaitIsOpen/com.google.android.libraries.places.api.net.PlacesClient#kotlin.String#kotlin.Long?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//awaitSearchByText/com.google.android.libraries.places.api.net.PlacesClient#kotlin.String#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]#kotlin.Function1[com.google.android.libraries.places.api.net.SearchByTextRequest.Builder,kotlin.Unit]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/await-search-by-text.html $dokka.location:com.google.android.libraries.places.ktx.api.net//fetchPhotoRequest/#com.google.android.libraries.places.api.model.PhotoMetadata#kotlin.Function1[com.google.android.libraries.places.api.net.FetchPhotoRequest.Builder,kotlin.Unit]?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html $dokka.location:com.google.android.libraries.places.ktx.api.net//fetchPlaceRequest/#kotlin.String#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]#kotlin.Function1[com.google.android.libraries.places.api.net.FetchPlaceRequest.Builder,kotlin.Unit]?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html $dokka.location:com.google.android.libraries.places.ktx.api.net//findAutocompletePredictionsRequest/#kotlin.Function1[com.google.android.libraries.places.api.net.FindAutocompletePredictionsRequest.Builder,kotlin.Unit]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html $dokka.location:com.google.android.libraries.places.ktx.api.net//findCurrentPlaceRequest/#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]#kotlin.Function1[com.google.android.libraries.places.api.net.FindCurrentPlaceRequest.Builder,kotlin.Unit]?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//isOpenRequest/#com.google.android.libraries.places.api.model.Place#kotlin.Long?#kotlin.Function1[com.google.android.libraries.places.api.net.IsOpenRequest.Builder,kotlin.Unit]?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//isOpenRequest/#kotlin.String#kotlin.Long?#kotlin.Function1[com.google.android.libraries.places.api.net.IsOpenRequest.Builder,kotlin.Unit]?/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//searchByTextRequest/#kotlin.String#kotlin.collections.List[com.google.android.libraries.places.api.model.Place.Field]#kotlin.Function1[com.google.android.libraries.places.api.net.SearchByTextRequest.Builder,kotlin.Unit]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/search-by-text-request.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//setPriceLevels/com.google.android.libraries.places.api.net.SearchByTextRequest.Builder#kotlin.Array[com.google.android.libraries.places.ktx.api.net.PriceLevel]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html +$dokka.location:com.google.android.libraries.places.ktx.api.net//setPriceLevels/com.google.android.libraries.places.api.net.SearchByTextRequest.Builder#kotlin.collections.Collection[com.google.android.libraries.places.ktx.api.net.PriceLevel]/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel.EXPENSIVE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-e-x-p-e-n-s-i-v-e/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel.FREE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-f-r-e-e/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel.INEXPENSIVE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-i-n-e-x-p-e-n-s-i-v-e/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel.MODERATE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-m-o-d-e-r-a-t-e/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel.VERY_EXPENSIVE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-v-e-r-y_-e-x-p-e-n-s-i-v-e/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel///PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/index.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel/entries/#/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/entries.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel/value/#/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel/valueOf/#kotlin.String/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value-of.html +$dokka.location:com.google.android.libraries.places.ktx.api.net/PriceLevel/values/#/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/values.html $dokka.location:com.google.android.libraries.places.ktx.widget////PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.widget/index.html $dokka.location:com.google.android.libraries.places.ktx.widget//placeSelectionEvents/com.google.android.libraries.places.widget.AutocompleteSupportFragment#/PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html $dokka.location:com.google.android.libraries.places.ktx.widget/PlaceSelectionError///PointingToDeclaration/places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html diff --git a/scripts/pages.json b/scripts/pages.json index abff449..57e44ac 100644 --- a/scripts/pages.json +++ b/scripts/pages.json @@ -1 +1 @@ -[{"name":"constructor(place: Place)","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.PlaceSelectionSuccess","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html","searchKeys":["PlaceSelectionSuccess","constructor(place: Place)","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.PlaceSelectionSuccess"]},{"name":"constructor(status: Status)","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError.PlaceSelectionError","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html","searchKeys":["PlaceSelectionError","constructor(status: Status)","com.google.android.libraries.places.ktx.widget.PlaceSelectionError.PlaceSelectionError"]},{"name":"data class PlaceSelectionError(val status: Status) : PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html","searchKeys":["PlaceSelectionError","data class PlaceSelectionError(val status: Status) : PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionError"]},{"name":"data class PlaceSelectionSuccess(val place: Place) : PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html","searchKeys":["PlaceSelectionSuccess","data class PlaceSelectionSuccess(val place: Place) : PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess"]},{"name":"fun AutocompleteSupportFragment.placeSelectionEvents(): Flow","description":"com.google.android.libraries.places.ktx.widget.placeSelectionEvents","location":"places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html","searchKeys":["placeSelectionEvents","fun AutocompleteSupportFragment.placeSelectionEvents(): Flow","com.google.android.libraries.places.ktx.widget.placeSelectionEvents"]},{"name":"inline fun addressComponent(name: String, types: List, noinline actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent","description":"com.google.android.libraries.places.ktx.api.model.addressComponent","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html","searchKeys":["addressComponent","inline fun addressComponent(name: String, types: List, noinline actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent","com.google.android.libraries.places.ktx.api.model.addressComponent"]},{"name":"inline fun autocompletePrediction(placeId: String, noinline actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction","description":"com.google.android.libraries.places.ktx.api.model.autocompletePrediction","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html","searchKeys":["autocompletePrediction","inline fun autocompletePrediction(placeId: String, noinline actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction","com.google.android.libraries.places.ktx.api.model.autocompletePrediction"]},{"name":"inline fun fetchPhotoRequest(photoMetadata: PhotoMetadata, noinline actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest","description":"com.google.android.libraries.places.ktx.api.net.fetchPhotoRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html","searchKeys":["fetchPhotoRequest","inline fun fetchPhotoRequest(photoMetadata: PhotoMetadata, noinline actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest","com.google.android.libraries.places.ktx.api.net.fetchPhotoRequest"]},{"name":"inline fun fetchPlaceRequest(placeId: String, placeFields: List, noinline actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest","description":"com.google.android.libraries.places.ktx.api.net.fetchPlaceRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html","searchKeys":["fetchPlaceRequest","inline fun fetchPlaceRequest(placeId: String, placeFields: List, noinline actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest","com.google.android.libraries.places.ktx.api.net.fetchPlaceRequest"]},{"name":"inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest","description":"com.google.android.libraries.places.ktx.api.net.findAutocompletePredictionsRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html","searchKeys":["findAutocompletePredictionsRequest","inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest","com.google.android.libraries.places.ktx.api.net.findAutocompletePredictionsRequest"]},{"name":"inline fun findCurrentPlaceRequest(placeFields: List, noinline actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest","description":"com.google.android.libraries.places.ktx.api.net.findCurrentPlaceRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html","searchKeys":["findCurrentPlaceRequest","inline fun findCurrentPlaceRequest(placeFields: List, noinline actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest","com.google.android.libraries.places.ktx.api.net.findCurrentPlaceRequest"]},{"name":"inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours","description":"com.google.android.libraries.places.ktx.api.model.openingHours","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html","searchKeys":["openingHours","inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours","com.google.android.libraries.places.ktx.api.model.openingHours"]},{"name":"inline fun period(actions: Period.Builder.() -> Unit): Period","description":"com.google.android.libraries.places.ktx.api.model.period","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/period.html","searchKeys":["period","inline fun period(actions: Period.Builder.() -> Unit): Period","com.google.android.libraries.places.ktx.api.model.period"]},{"name":"inline fun photoMetadata(photoReference: String, noinline actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata","description":"com.google.android.libraries.places.ktx.api.model.photoMetadata","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html","searchKeys":["photoMetadata","inline fun photoMetadata(photoReference: String, noinline actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata","com.google.android.libraries.places.ktx.api.model.photoMetadata"]},{"name":"inline fun place(actions: Place.Builder.() -> Unit): Place","description":"com.google.android.libraries.places.ktx.api.model.place","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/place.html","searchKeys":["place","inline fun place(actions: Place.Builder.() -> Unit): Place","com.google.android.libraries.places.ktx.api.model.place"]},{"name":"inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode","description":"com.google.android.libraries.places.ktx.api.model.plusCode","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html","searchKeys":["plusCode","inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode","com.google.android.libraries.places.ktx.api.model.plusCode"]},{"name":"sealed class PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionResult","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html","searchKeys":["PlaceSelectionResult","sealed class PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionResult"]},{"name":"suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFetchPhoto","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html","searchKeys":["awaitFetchPhoto","suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse","com.google.android.libraries.places.ktx.api.net.awaitFetchPhoto"]},{"name":"suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List): FetchPlaceResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFetchPlace","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html","searchKeys":["awaitFetchPlace","suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List): FetchPlaceResponse","com.google.android.libraries.places.ktx.api.net.awaitFetchPlace"]},{"name":"suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFindAutocompletePredictions","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html","searchKeys":["awaitFindAutocompletePredictions","suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse","com.google.android.libraries.places.ktx.api.net.awaitFindAutocompletePredictions"]},{"name":"suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List): FindCurrentPlaceResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFindCurrentPlace","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html","searchKeys":["awaitFindCurrentPlace","suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List): FindCurrentPlaceResponse","com.google.android.libraries.places.ktx.api.net.awaitFindCurrentPlace"]},{"name":"val place: Place","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.place","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html","searchKeys":["place","val place: Place","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.place"]},{"name":"val status: Status","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError.status","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html","searchKeys":["status","val status: Status","com.google.android.libraries.places.ktx.widget.PlaceSelectionError.status"]}] +[{"name":"EXPENSIVE","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.EXPENSIVE","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-e-x-p-e-n-s-i-v-e/index.html","searchKeys":["EXPENSIVE","EXPENSIVE","com.google.android.libraries.places.ktx.api.net.PriceLevel.EXPENSIVE"]},{"name":"FREE","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.FREE","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-f-r-e-e/index.html","searchKeys":["FREE","FREE","com.google.android.libraries.places.ktx.api.net.PriceLevel.FREE"]},{"name":"INEXPENSIVE","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.INEXPENSIVE","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-i-n-e-x-p-e-n-s-i-v-e/index.html","searchKeys":["INEXPENSIVE","INEXPENSIVE","com.google.android.libraries.places.ktx.api.net.PriceLevel.INEXPENSIVE"]},{"name":"MODERATE","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.MODERATE","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-m-o-d-e-r-a-t-e/index.html","searchKeys":["MODERATE","MODERATE","com.google.android.libraries.places.ktx.api.net.PriceLevel.MODERATE"]},{"name":"VERY_EXPENSIVE","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.VERY_EXPENSIVE","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/-v-e-r-y_-e-x-p-e-n-s-i-v-e/index.html","searchKeys":["VERY_EXPENSIVE","VERY_EXPENSIVE","com.google.android.libraries.places.ktx.api.net.PriceLevel.VERY_EXPENSIVE"]},{"name":"constructor(place: Place)","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.PlaceSelectionSuccess","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/-place-selection-success.html","searchKeys":["PlaceSelectionSuccess","constructor(place: Place)","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.PlaceSelectionSuccess"]},{"name":"constructor(status: Status)","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError.PlaceSelectionError","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/-place-selection-error.html","searchKeys":["PlaceSelectionError","constructor(status: Status)","com.google.android.libraries.places.ktx.widget.PlaceSelectionError.PlaceSelectionError"]},{"name":"data class PlaceSelectionError(val status: Status) : PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/index.html","searchKeys":["PlaceSelectionError","data class PlaceSelectionError(val status: Status) : PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionError"]},{"name":"data class PlaceSelectionSuccess(val place: Place) : PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/index.html","searchKeys":["PlaceSelectionSuccess","data class PlaceSelectionSuccess(val place: Place) : PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess"]},{"name":"enum PriceLevel : Enum ","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/index.html","searchKeys":["PriceLevel","enum PriceLevel : Enum ","com.google.android.libraries.places.ktx.api.net.PriceLevel"]},{"name":"fun AutocompleteSupportFragment.placeSelectionEvents(): Flow","description":"com.google.android.libraries.places.ktx.widget.placeSelectionEvents","location":"places-ktx/com.google.android.libraries.places.ktx.widget/place-selection-events.html","searchKeys":["placeSelectionEvents","fun AutocompleteSupportFragment.placeSelectionEvents(): Flow","com.google.android.libraries.places.ktx.widget.placeSelectionEvents"]},{"name":"fun SearchByTextRequest.Builder.setPriceLevels(priceLevels: Collection): SearchByTextRequest.Builder","description":"com.google.android.libraries.places.ktx.api.net.setPriceLevels","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html","searchKeys":["setPriceLevels","fun SearchByTextRequest.Builder.setPriceLevels(priceLevels: Collection): SearchByTextRequest.Builder","com.google.android.libraries.places.ktx.api.net.setPriceLevels"]},{"name":"fun SearchByTextRequest.Builder.setPriceLevels(vararg priceLevels: PriceLevel): SearchByTextRequest.Builder","description":"com.google.android.libraries.places.ktx.api.net.setPriceLevels","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/set-price-levels.html","searchKeys":["setPriceLevels","fun SearchByTextRequest.Builder.setPriceLevels(vararg priceLevels: PriceLevel): SearchByTextRequest.Builder","com.google.android.libraries.places.ktx.api.net.setPriceLevels"]},{"name":"fun addressComponent(name: String, types: List, actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent","description":"com.google.android.libraries.places.ktx.api.model.addressComponent","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/address-component.html","searchKeys":["addressComponent","fun addressComponent(name: String, types: List, actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent","com.google.android.libraries.places.ktx.api.model.addressComponent"]},{"name":"fun autocompletePrediction(placeId: String, actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction","description":"com.google.android.libraries.places.ktx.api.model.autocompletePrediction","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/autocomplete-prediction.html","searchKeys":["autocompletePrediction","fun autocompletePrediction(placeId: String, actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction","com.google.android.libraries.places.ktx.api.model.autocompletePrediction"]},{"name":"fun fetchPhotoRequest(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest","description":"com.google.android.libraries.places.ktx.api.net.fetchPhotoRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-photo-request.html","searchKeys":["fetchPhotoRequest","fun fetchPhotoRequest(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit? = null): FetchPhotoRequest","com.google.android.libraries.places.ktx.api.net.fetchPhotoRequest"]},{"name":"fun fetchPlaceRequest(placeId: String, placeFields: List, actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest","description":"com.google.android.libraries.places.ktx.api.net.fetchPlaceRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/fetch-place-request.html","searchKeys":["fetchPlaceRequest","fun fetchPlaceRequest(placeId: String, placeFields: List, actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest","com.google.android.libraries.places.ktx.api.net.fetchPlaceRequest"]},{"name":"fun findCurrentPlaceRequest(placeFields: List, actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest","description":"com.google.android.libraries.places.ktx.api.net.findCurrentPlaceRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/find-current-place-request.html","searchKeys":["findCurrentPlaceRequest","fun findCurrentPlaceRequest(placeFields: List, actions: FindCurrentPlaceRequest.Builder.() -> Unit? = null): FindCurrentPlaceRequest","com.google.android.libraries.places.ktx.api.net.findCurrentPlaceRequest"]},{"name":"fun isOpenRequest(place: Place, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest","description":"com.google.android.libraries.places.ktx.api.net.isOpenRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html","searchKeys":["isOpenRequest","fun isOpenRequest(place: Place, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest","com.google.android.libraries.places.ktx.api.net.isOpenRequest"]},{"name":"fun isOpenRequest(placeId: String, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest","description":"com.google.android.libraries.places.ktx.api.net.isOpenRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/is-open-request.html","searchKeys":["isOpenRequest","fun isOpenRequest(placeId: String, utcTimeMillis: Long? = null, actions: IsOpenRequest.Builder.() -> Unit? = null): IsOpenRequest","com.google.android.libraries.places.ktx.api.net.isOpenRequest"]},{"name":"fun photoMetadata(photoReference: String, actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata","description":"com.google.android.libraries.places.ktx.api.model.photoMetadata","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/photo-metadata.html","searchKeys":["photoMetadata","fun photoMetadata(photoReference: String, actions: PhotoMetadata.Builder.() -> Unit? = null): PhotoMetadata","com.google.android.libraries.places.ktx.api.model.photoMetadata"]},{"name":"fun searchByTextRequest(textQuery: String, placeFields: List, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextRequest","description":"com.google.android.libraries.places.ktx.api.net.searchByTextRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/search-by-text-request.html","searchKeys":["searchByTextRequest","fun searchByTextRequest(textQuery: String, placeFields: List, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextRequest","com.google.android.libraries.places.ktx.api.net.searchByTextRequest"]},{"name":"fun valueOf(value: String): PriceLevel","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.valueOf","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value-of.html","searchKeys":["valueOf","fun valueOf(value: String): PriceLevel","com.google.android.libraries.places.ktx.api.net.PriceLevel.valueOf"]},{"name":"fun values(): Array","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.values","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/values.html","searchKeys":["values","fun values(): Array","com.google.android.libraries.places.ktx.api.net.PriceLevel.values"]},{"name":"inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest","description":"com.google.android.libraries.places.ktx.api.net.findAutocompletePredictionsRequest","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/find-autocomplete-predictions-request.html","searchKeys":["findAutocompletePredictionsRequest","inline fun findAutocompletePredictionsRequest(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsRequest","com.google.android.libraries.places.ktx.api.net.findAutocompletePredictionsRequest"]},{"name":"inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours","description":"com.google.android.libraries.places.ktx.api.model.openingHours","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/opening-hours.html","searchKeys":["openingHours","inline fun openingHours(actions: OpeningHours.Builder.() -> Unit): OpeningHours","com.google.android.libraries.places.ktx.api.model.openingHours"]},{"name":"inline fun period(actions: Period.Builder.() -> Unit): Period","description":"com.google.android.libraries.places.ktx.api.model.period","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/period.html","searchKeys":["period","inline fun period(actions: Period.Builder.() -> Unit): Period","com.google.android.libraries.places.ktx.api.model.period"]},{"name":"inline fun place(actions: Place.Builder.() -> Unit): Place","description":"com.google.android.libraries.places.ktx.api.model.place","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/place.html","searchKeys":["place","inline fun place(actions: Place.Builder.() -> Unit): Place","com.google.android.libraries.places.ktx.api.model.place"]},{"name":"inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode","description":"com.google.android.libraries.places.ktx.api.model.plusCode","location":"places-ktx/com.google.android.libraries.places.ktx.api.model/plus-code.html","searchKeys":["plusCode","inline fun plusCode(actions: PlusCode.Builder.() -> Unit): PlusCode","com.google.android.libraries.places.ktx.api.model.plusCode"]},{"name":"sealed class PlaceSelectionResult","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionResult","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-result/index.html","searchKeys":["PlaceSelectionResult","sealed class PlaceSelectionResult","com.google.android.libraries.places.ktx.widget.PlaceSelectionResult"]},{"name":"suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFetchPhoto","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-photo.html","searchKeys":["awaitFetchPhoto","suspend fun PlacesClient.awaitFetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): FetchPhotoResponse","com.google.android.libraries.places.ktx.api.net.awaitFetchPhoto"]},{"name":"suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List): FetchPlaceResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFetchPlace","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-fetch-place.html","searchKeys":["awaitFetchPlace","suspend fun PlacesClient.awaitFetchPlace(placeId: String, placeFields: List): FetchPlaceResponse","com.google.android.libraries.places.ktx.api.net.awaitFetchPlace"]},{"name":"suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFindAutocompletePredictions","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-autocomplete-predictions.html","searchKeys":["awaitFindAutocompletePredictions","suspend fun PlacesClient.awaitFindAutocompletePredictions(actions: FindAutocompletePredictionsRequest.Builder.() -> Unit): FindAutocompletePredictionsResponse","com.google.android.libraries.places.ktx.api.net.awaitFindAutocompletePredictions"]},{"name":"suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List): FindCurrentPlaceResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitFindCurrentPlace","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-find-current-place.html","searchKeys":["awaitFindCurrentPlace","suspend fun PlacesClient.awaitFindCurrentPlace(placeFields: List): FindCurrentPlaceResponse","com.google.android.libraries.places.ktx.api.net.awaitFindCurrentPlace"]},{"name":"suspend fun PlacesClient.awaitIsOpen(place: Place, utcTimeMillis: Long? = null): IsOpenResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitIsOpen","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html","searchKeys":["awaitIsOpen","suspend fun PlacesClient.awaitIsOpen(place: Place, utcTimeMillis: Long? = null): IsOpenResponse","com.google.android.libraries.places.ktx.api.net.awaitIsOpen"]},{"name":"suspend fun PlacesClient.awaitIsOpen(placeId: String, utcTimeMillis: Long? = null): IsOpenResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitIsOpen","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-is-open.html","searchKeys":["awaitIsOpen","suspend fun PlacesClient.awaitIsOpen(placeId: String, utcTimeMillis: Long? = null): IsOpenResponse","com.google.android.libraries.places.ktx.api.net.awaitIsOpen"]},{"name":"suspend fun PlacesClient.awaitSearchByText(textQuery: String, placeFields: List, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextResponse","description":"com.google.android.libraries.places.ktx.api.net.awaitSearchByText","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/await-search-by-text.html","searchKeys":["awaitSearchByText","suspend fun PlacesClient.awaitSearchByText(textQuery: String, placeFields: List, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextResponse","com.google.android.libraries.places.ktx.api.net.awaitSearchByText"]},{"name":"val entries: EnumEntries","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.entries","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/entries.html","searchKeys":["entries","val entries: EnumEntries","com.google.android.libraries.places.ktx.api.net.PriceLevel.entries"]},{"name":"val place: Place","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.place","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-success/place.html","searchKeys":["place","val place: Place","com.google.android.libraries.places.ktx.widget.PlaceSelectionSuccess.place"]},{"name":"val status: Status","description":"com.google.android.libraries.places.ktx.widget.PlaceSelectionError.status","location":"places-ktx/com.google.android.libraries.places.ktx.widget/-place-selection-error/status.html","searchKeys":["status","val status: Status","com.google.android.libraries.places.ktx.widget.PlaceSelectionError.status"]},{"name":"val value: Int","description":"com.google.android.libraries.places.ktx.api.net.PriceLevel.value","location":"places-ktx/com.google.android.libraries.places.ktx.api.net/-price-level/value.html","searchKeys":["value","val value: Int","com.google.android.libraries.places.ktx.api.net.PriceLevel.value"]}] diff --git a/scripts/platform-content-handler.js b/scripts/platform-content-handler.js index 8c4ca53..811c478 100644 --- a/scripts/platform-content-handler.js +++ b/scripts/platform-content-handler.js @@ -18,8 +18,6 @@ const samplesLightThemeName = 'idea' window.addEventListener('load', () => { document.querySelectorAll("div[data-platform-hinted]") .forEach(elem => elem.addEventListener('click', (event) => togglePlatformDependent(event, elem))) - document.querySelectorAll("div[tabs-section]") - .forEach(elem => elem.addEventListener('click', (event) => toggleSectionsEventHandler(event))) const filterSection = document.getElementById('filter-section') if (filterSection) { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) @@ -177,19 +175,30 @@ function handleAnchor() { } function initTabs() { - document.querySelectorAll("div[tabs-section]") - .forEach(element => { - showCorrespondingTabBody(element) - element.addEventListener('click', (event) => toggleSectionsEventHandler(event)) - }) - let cached = localStorage.getItem("active-tab") - if (cached) { - let parsed = JSON.parse(cached) - let tab = document.querySelector('div[tabs-section] > button[data-togglable="' + parsed + '"]') - if (tab) { - toggleSections(tab) - } - } + // we could have only a single type of data - classlike or package + const mainContent = document.querySelector('.main-content'); + const type = mainContent ? mainContent.getAttribute("data-page-type") : null; + const localStorageKey = "active-tab-" + type; + document.querySelectorAll('div[tabs-section]').forEach(element => { + showCorrespondingTabBody(element); + element.addEventListener('click', ({target}) => { + const togglable = target ? target.getAttribute("data-togglable") : null; + if (!togglable) return; + + localStorage.setItem(localStorageKey, JSON.stringify(togglable)); + toggleSections(target); + }); + }); + + const cached = localStorage.getItem(localStorageKey); + if (!cached) return; + + const tab = document.querySelector( + 'div[tabs-section] > button[data-togglable="' + JSON.parse(cached) + '"]' + ); + if (!tab) return; + + toggleSections(tab); } function showCorrespondingTabBody(element) { @@ -293,12 +302,6 @@ function toggleSections(target) { activateTabsBody("tabs-section-body") } -function toggleSectionsEventHandler(evt) { - if (!evt.target.getAttribute("data-togglable")) return - localStorage.setItem('active-tab', JSON.stringify(evt.target.getAttribute("data-togglable"))) - toggleSections(evt.target) -} - function togglePlatformDependent(e, container) { let target = e.target if (target.tagName != 'BUTTON') return; diff --git a/styles/main.css b/styles/main.css index ebe1ce1..5f7781e 100644 --- a/styles/main.css +++ b/styles/main.css @@ -1,6 +1,6 @@ /*! * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:focus{outline:none}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important;color:rgba(255,255,255,.8)}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} /* stylelint-disable color-no-hex */ :root { diff --git a/styles/style.css b/styles/style.css index 67a899a..fc2b84d 100644 --- a/styles/style.css +++ b/styles/style.css @@ -342,6 +342,7 @@ td:first-child { /* --- Navigation controls --- */ .navigation-controls { display: flex; + margin-left: 4px; } @media (min-width: 760px) { @@ -354,45 +355,50 @@ td:first-child { display: none; } -/* --- Navigation THEME --- */ -.navigation-controls--search { +.navigation-controls--btn { display: inline-flex; - font-size: 0; - line-height: 0; -} - -.navigation-controls--theme { - display: block; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; border-radius: 50%; background-color: inherit; - margin-left: 4px; + background-position: 50% 50%; padding: 0; border: none; cursor: pointer; font-size: 0; line-height: 0; + transition: background-color 200ms ease-in-out; + will-change: background-color; } -.navigation-controls--theme::before { - height: 40px; - width: 40px; +.navigation-controls--btn:hover { + background-color: var(--white-10); +} + +.navigation-controls--theme { + background-image: url("../images/theme-toggle.svg"); + background-repeat: no-repeat; } -.navigation-controls--theme:hover { - background: var(--white-10); +@media (max-width: 759px) { + .navigation-controls--theme { + display: none; + } } -.navigation-controls--theme::before { - display: block; - content: url("../images/theme-toggle.svg"); +.navigation-controls--homepage { + background-image: url("../images/homepage.svg"); + background-repeat: no-repeat; + background-size: 24px 24px; } @media (max-width: 759px) { - .navigation-controls--theme { + .navigation-controls--homepage { display: none; } } -/* /--- Navigation THEME --- */ .navigation .platform-selector:not([data-active]) { color: #fff; @@ -656,6 +662,26 @@ code.paragraph { text-decoration: line-through; } +/* Workaround for Firefox https://github.com/Kotlin/dokka/issues/3156 */ +@-moz-document url-prefix() { + .strikethrough { + position: relative; + text-decoration: none; + } + + /* complex selectors here are required to handle multiline cases */ + .strikethrough::after, .strikethrough span:after { + content: ''; + position: absolute; + top: 7px; + left: 0; + right: 0; + height: 1px; + background-color: currentColor; + z-index: 1; + } +} + .symbol:empty { padding: 0; } @@ -684,7 +710,7 @@ code { code:not(.block) { display: inline-block; - vertical-align: middle; + vertical-align: bottom; } .symbol > a {