@explorer-1/vue 1.1.18 → 1.1.20

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @explorer-1/vue
2
2
 
3
+ ## 1.1.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 1c02529: Changing "See on map" button to be a regular link and not a router link. Avoids fatal network error.
8
+
9
+ ## 1.1.19
10
+
11
+ ### Patch Changes
12
+
13
+ - 9a56758: Adds a custom wait time label prop to PageSiteExploreApp. This allows fetching an updated value.
14
+ - ae5fb75: Fixing bottom margin of media hero on Explore JPL content template"
15
+
3
16
  ## 1.1.18
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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"
@@ -99,3 +99,10 @@ export const BaseStory = {
99
99
  data: ExploreAppSitePageData
100
100
  }
101
101
  }
102
+ // stories
103
+ export const CustomWaitTime = {
104
+ args: {
105
+ data: ExploreAppSitePageData,
106
+ customWaitTimeLabel: 'Custom wait time'
107
+ }
108
+ }
@@ -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
 
@@ -100,7 +105,7 @@ const mapPath = computed(() => {
100
105
  indent="col-3"
101
106
  class="lg:mb-24 mb-12"
102
107
  >
103
- <BaseButton :to="mapPath">
108
+ <BaseButton :href="mapPath">
104
109
  <template #iconLeft>
105
110
  <IconMap class="mr-2 text-2xl" />
106
111
  </template>