@explorer-1/vue 0.1.6 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,6 +9,7 @@ export default {
9
9
  // shared data
10
10
  export const BlockVideoEmbedData = {
11
11
  data: {
12
+ blockType: 'VideoEmbedBlock',
12
13
  embed: {
13
14
  embed: `<iframe title="Meet NASA's Diana Trujillo" width="480" height="270" src="https://www.youtube.com/embed/vUuUyYqI83Q?feature=oembed" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`
14
15
  },
@@ -207,7 +207,8 @@ export default defineComponent({
207
207
  return false
208
208
  } else if (
209
209
  this.data?.heroPosition === 'inline' ||
210
- this.data?.hero[0].blockType === 'CarouselBlock'
210
+ this.data?.hero[0].blockType === 'CarouselBlock' ||
211
+ this.data?.hero[0].blockType === 'VideoEmbedBlock'
211
212
  ) {
212
213
  return true
213
214
  }
@@ -46,7 +46,8 @@ export default defineComponent({
46
46
  return false
47
47
  } else if (
48
48
  this.data?.heroPosition === 'inline' ||
49
- this.data?.hero[0].blockType === 'CarouselBlock'
49
+ this.data?.hero[0].blockType === 'CarouselBlock' ||
50
+ this.data?.hero[0].blockType === 'VideoEmbedBlock'
50
51
  ) {
51
52
  return true
52
53
  }
@@ -108,7 +109,7 @@ export default defineComponent({
108
109
  :label="data.displayLabel"
109
110
  schema
110
111
  />
111
- <share-buttons-edu
112
+ <ShareButtonsEdu
112
113
  v-if="data?.url"
113
114
  class="mt-4"
114
115
  :url="data.url"