Skip to content

Commit 9855edc

Browse files
committed
Add missing slots to Items and Collections, v2.18.1
1 parent 1560a2c commit 9855edc

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.18.1] - 2025-01-05
11+
12+
### Added
13+
14+
- `Collections` and `Items`: Add slots `content-start` and `after-search-box`
15+
1016
## [2.18.0] - 2025-01-04
1117

1218
### Added

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A set of [Vue](https://vuejs.org) components for [openEO](http://openeo.org).
44

5-
This library's version is [**2.18.0**](CHANGELOG.md) and supports **openEO API versions 1.x.x**.
5+
This library's version is [**2.18.1**](CHANGELOG.md) and supports **openEO API versions 1.x.x**.
66
Legacy versions supporting API version 0.x are available as [releases](https://github.com/Open-EO/openeo-vue-components/releases).
77

88
npm: [@openeo/vue-components](https://www.npmjs.com/package/@openeo/vue-components)
@@ -202,6 +202,8 @@ Shows an (expandable) list of all STAC-based collections available at a back-end
202202

203203
- `heading`: See the corresponding slot in [`SearchableList`](#searchablelist).
204204
- `summary`: See the corresponding slot in [`SearchableList`](#searchablelist).
205+
- `content-start`: See the corresponding slot in [`SearchableList`](#searchablelist).
206+
- `after-search-box`: See the corresponding slot in [`SearchableList`](#searchablelist).
205207
- `collection-before-description`: See the corresponding slot `before-description` in [`Collection`](#collection).
206208
- `collection-end`: See the corresponding slot `end` in [`Collection`](#collection).
207209
- `collection-spatial-extents`: See the corresponding slot `spatial-extents` in [`Collection`](#collection).
@@ -399,6 +401,8 @@ Shows an (expandable) list of STAC-based Items.
399401

400402
- `heading`: See the corresponding slot in [`SearchableList`](#searchablelist).
401403
- `summary`: See the corresponding slot in [`SearchableList`](#searchablelist).
404+
- `content-start`: See the corresponding slot in [`SearchableList`](#searchablelist).
405+
- `after-search-box`: See the corresponding slot in [`SearchableList`](#searchablelist).
402406
- `item-before-description`: See the corresponding slot `before-description` in [`Item`](#item).
403407
- `item-end`: See the corresponding slot `end` in [`Item`](#item).
404408
- `item-location`: See the corresponding slot `location` in [`Item`](#item).

components/Collections.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
@detailsToggled="detailsToggled"
2121
allowCopy>
2222
<template #heading="scope"><slot name="heading" v-bind="scope" /></template>
23-
<template v-if="missing" #content-start><FederationMissingNotice :missing="missing" :federation="federation" /></template>
23+
<template #content-start="scope">
24+
<slot name="content-start" v-bind="scope"></slot>
25+
<FederationMissingNotice v-if="missing" :missing="missing" :federation="federation" />
26+
</template>
27+
<template #after-search-box="scope"><slot name="after-search-box" v-bind="scope"></slot></template>
2428
<template #summary="scope"><slot name="summary" v-bind="scope" /></template>
2529
<template #details="slot">
2630
<Collection :data="slot.item" :mapOptions="mapOptions" :federation="federation">

components/Items.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818
@detailsToggled="detailsToggled"
1919
ref="list">
2020
<template #heading="scope"><slot name="heading" v-bind="scope" /></template>
21-
<template #after-search-box>
21+
<template #content-start="scope"><slot name="content-start" v-bind="scope"></slot></template>
22+
<template #after-search-box="scope">
2223
<slot v-if="showMap" name="map" :geojson="geojson" :mapOptions="mapOptions">
2324
<div class="map overview" ref="mapContainer"></div>
2425
</slot>
26+
<slot name="after-search-box" v-bind="scope"></slot>
2527
</template>
2628
<template #summary="scope"><slot name="summary" v-bind="scope" /></template>
2729
<template #details="slot">

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openeo/vue-components",
3-
"version": "2.18.0",
3+
"version": "2.18.1",
44
"author": "openEO Consortium",
55
"contributors": [
66
{

0 commit comments

Comments
 (0)