@explorer-1/vue 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.stories.js +11 -0
- package/src/templates/explore-jpl/PageContentExploreApp/PageContentExploreApp.vue +1 -1
- package/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.stories.js +7 -0
- package/src/templates/explore-jpl/PageSiteExploreApp/PageSiteExploreApp.vue +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @explorer-1/vue
|
|
2
2
|
|
|
3
|
+
## 1.1.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9a56758: Adds a custom wait time label prop to PageSiteExploreApp. This allows fetching an updated value.
|
|
8
|
+
- ae5fb75: Fixing bottom margin of media hero on Explore JPL content template"
|
|
9
|
+
|
|
3
10
|
## 1.1.18
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -100,3 +100,14 @@ export const CustomNav = {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
export const CustomNavWithHero = {
|
|
105
|
+
args: {
|
|
106
|
+
data: {
|
|
107
|
+
...ExploreAppContentPageData,
|
|
108
|
+
breadcrumb: NavSecondaryData.breadcrumb,
|
|
109
|
+
heroPosition: 'full_bleed',
|
|
110
|
+
heroImage: HeroMediaData.image
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -56,7 +56,7 @@ const heroTitle = computed(() => {
|
|
|
56
56
|
/>
|
|
57
57
|
<HeroMedia
|
|
58
58
|
v-else-if="!heroTitle && data.heroImage && !heroInline"
|
|
59
|
-
class="md:mb-0 mb-10"
|
|
59
|
+
:class="data.breadcrumb ? 'mb-0' : 'md:mb-0 mb-10'"
|
|
60
60
|
:image="data.heroImage"
|
|
61
61
|
:caption="data.heroImageCaption"
|
|
62
62
|
:display-caption="!data.heroImageCaption ? false : true"
|
|
@@ -22,6 +22,11 @@ const props = defineProps({
|
|
|
22
22
|
data: {
|
|
23
23
|
type: Object as () => PageObject,
|
|
24
24
|
default: undefined
|
|
25
|
+
},
|
|
26
|
+
/** used to override wait time in MetaDataStacked */
|
|
27
|
+
customWaitTimeLabel: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: undefined
|
|
25
30
|
}
|
|
26
31
|
})
|
|
27
32
|
const { data } = reactive(props)
|
|
@@ -60,7 +65,7 @@ const mapPath = computed(() => {
|
|
|
60
65
|
<MetadataStacked
|
|
61
66
|
:location="data.location"
|
|
62
67
|
:location-icon="data?.mapIcon?.url"
|
|
63
|
-
:wait="data?.waitTimeLabel"
|
|
68
|
+
:wait="customWaitTimeLabel || data?.waitTimeLabel"
|
|
64
69
|
/>
|
|
65
70
|
</LayoutHelper>
|
|
66
71
|
|