@explorer-1/vue 0.1.8 → 0.2.0

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.
Files changed (31) hide show
  1. package/dist/explorer-1-vue.js +4409 -4374
  2. package/dist/explorer-1-vue.umd.cjs +12 -12
  3. package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +1 -1
  4. package/dist/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.d.ts +1 -0
  5. package/dist/src/components/DetailHeadline/DetailHeadline.stories.d.ts +13 -1
  6. package/dist/src/components/DetailHeadline/DetailHeadline.vue.d.ts +28 -3
  7. package/dist/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.d.ts +1 -0
  8. package/dist/src/templates/PageImageDetail/PageImageDetail.stories.d.ts +27 -2
  9. package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +21 -3
  10. package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.stories.d.ts +1 -1
  11. package/dist/src/templates/www/PageHomepage/PageHomepage.stories.d.ts +1 -0
  12. package/dist/style.css +1 -1
  13. package/package.json +2 -2
  14. package/src/components/BlockImage/BlockImageFullBleed.vue +1 -1
  15. package/src/components/BlockImage/BlockImageStandard.vue +1 -1
  16. package/src/components/BlockImageCarousel/BlockImageCarousel.stories.js +1 -1
  17. package/src/components/BlockImageCarousel/BlockImageCarousel.vue +1 -1
  18. package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.vue +1 -1
  19. package/src/components/BlockImageGallery/BlockImageGallery.vue +1 -1
  20. package/src/components/BlockInlineImage/BlockInlineImage.vue +41 -39
  21. package/src/components/BlockStreamfield/BlockStreamfield.vue +0 -1
  22. package/src/components/DetailHeadline/DetailHeadline.stories.js +20 -0
  23. package/src/components/DetailHeadline/DetailHeadline.vue +45 -12
  24. package/src/components/NavSecondary/NavSecondary.vue +8 -2
  25. package/src/components/TheFooter/TheFooter.vue +6 -8
  26. package/src/main.ts +1 -1
  27. package/src/templates/PageImageDetail/PageImageDetail.vue +1 -1
  28. package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.js +9 -1
  29. package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +16 -13
  30. package/src/templates/www/PageInfographicDetail/PageInfographicDetail.vue +1 -1
  31. package/src/utils/filters.js +2 -1
@@ -374,12 +374,12 @@ export namespace BlockStreamfieldData {
374
374
  heading?: undefined;
375
375
  level?: undefined;
376
376
  } | {
377
+ blockType: string;
377
378
  embed: {
378
379
  embed: string;
379
380
  };
380
381
  caption: string;
381
382
  credit: string;
382
- blockType: string;
383
383
  value?: undefined;
384
384
  heading?: undefined;
385
385
  level?: undefined;
@@ -7,6 +7,7 @@ declare namespace _default {
7
7
  export default _default;
8
8
  export namespace BlockVideoEmbedData {
9
9
  namespace data {
10
+ let blockType: string;
10
11
  namespace embed {
11
12
  let embed_1: string;
12
13
  export { embed_1 as embed };
@@ -21,8 +21,19 @@ export namespace DetailHeadlineData {
21
21
  export namespace BaseStory {
22
22
  export { DetailHeadlineData as args };
23
23
  }
24
- export namespace NoAuthor {
24
+ export namespace MultipleAuthors {
25
25
  namespace args {
26
+ let author_1: {
27
+ author: {
28
+ name: string;
29
+ organization: string;
30
+ };
31
+ }[];
32
+ export { author_1 as author };
33
+ }
34
+ }
35
+ export namespace NoAuthor {
36
+ export namespace args_1 {
26
37
  let title_2: string;
27
38
  export { title_2 as title };
28
39
  let publicationDate_1: string;
@@ -33,4 +44,5 @@ export namespace NoAuthor {
33
44
  }[];
34
45
  export { topics_1 as topics };
35
46
  }
47
+ export { args_1 as args };
36
48
  }
@@ -1,34 +1,41 @@
1
1
  import { PropType } from 'vue';
2
- import { Topic } from './../../interfaces';
2
+ import { Topic, AuthorObject } from './../../interfaces';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  title: {
6
6
  type: StringConstructor;
7
7
  required: false;
8
+ default: undefined;
8
9
  };
9
10
  author: {
10
- type: ObjectConstructor;
11
+ type: PropType<AuthorObject | AuthorObject[]>;
11
12
  required: false;
13
+ default: undefined;
12
14
  };
13
15
  publicationDate: {
14
16
  type: StringConstructor;
15
17
  required: false;
18
+ default: undefined;
16
19
  };
17
20
  publicationTime: {
18
21
  type: StringConstructor;
19
22
  required: false;
23
+ default: undefined;
20
24
  };
21
25
  topics: {
22
26
  type: PropType<Topic[]>;
23
27
  required: false;
28
+ default: undefined;
24
29
  };
25
30
  label: {
26
31
  type: StringConstructor;
27
32
  required: false;
33
+ default: undefined;
28
34
  };
29
35
  labelLink: {
30
36
  type: StringConstructor;
31
37
  required: false;
38
+ default: undefined;
32
39
  };
33
40
  schema: {
34
41
  type: BooleanConstructor;
@@ -36,6 +43,10 @@ declare const _default: import('vue').DefineComponent<{
36
43
  };
37
44
  }, unknown, unknown, {
38
45
  pubDatetime(): string | undefined;
46
+ authors(): {
47
+ name: string;
48
+ organization: string;
49
+ }[] | undefined;
39
50
  themeStore: () => import('pinia').Store<"theme", import('../../store/theme').State, {
40
51
  isEdu(state: {
41
52
  theme: import('./../../interfaces').Explorer1Theme | null;
@@ -47,36 +58,50 @@ declare const _default: import('vue').DefineComponent<{
47
58
  title: {
48
59
  type: StringConstructor;
49
60
  required: false;
61
+ default: undefined;
50
62
  };
51
63
  author: {
52
- type: ObjectConstructor;
64
+ type: PropType<AuthorObject | AuthorObject[]>;
53
65
  required: false;
66
+ default: undefined;
54
67
  };
55
68
  publicationDate: {
56
69
  type: StringConstructor;
57
70
  required: false;
71
+ default: undefined;
58
72
  };
59
73
  publicationTime: {
60
74
  type: StringConstructor;
61
75
  required: false;
76
+ default: undefined;
62
77
  };
63
78
  topics: {
64
79
  type: PropType<Topic[]>;
65
80
  required: false;
81
+ default: undefined;
66
82
  };
67
83
  label: {
68
84
  type: StringConstructor;
69
85
  required: false;
86
+ default: undefined;
70
87
  };
71
88
  labelLink: {
72
89
  type: StringConstructor;
73
90
  required: false;
91
+ default: undefined;
74
92
  };
75
93
  schema: {
76
94
  type: BooleanConstructor;
77
95
  default: boolean;
78
96
  };
79
97
  }>>, {
98
+ label: string;
99
+ title: string;
100
+ author: AuthorObject | AuthorObject[];
101
+ publicationDate: string;
102
+ publicationTime: string;
103
+ topics: Topic[];
104
+ labelLink: string;
80
105
  schema: boolean;
81
106
  }, {}>;
82
107
  export default _default;
@@ -10,6 +10,7 @@ declare namespace _default {
10
10
  }
11
11
  export default _default;
12
12
  export const HomepageEmbedBlockData: {
13
+ blockType: string;
13
14
  embed: {
14
15
  embed: string;
15
16
  };
@@ -88,7 +88,31 @@ export namespace ImageDetailPageData {
88
88
  instrument: string;
89
89
  }[];
90
90
  export { BlockLinkTileCarouselData as keepExploringInstrument };
91
- export { BlockLinkTileCarouselData as keepExploringMission };
91
+ export let keepExploringMission: ({
92
+ url: string;
93
+ title: string;
94
+ label: string;
95
+ thumbnailImage: {
96
+ src: {
97
+ url: string;
98
+ width: number;
99
+ height: number;
100
+ };
101
+ alt: string;
102
+ };
103
+ } | {
104
+ url: string;
105
+ title: string;
106
+ thumbnailImage: {
107
+ src: {
108
+ url: string;
109
+ width: number;
110
+ height: number;
111
+ };
112
+ alt: string;
113
+ };
114
+ label?: undefined;
115
+ })[];
92
116
  export { BlockLinkTileCarouselData as keepExploringTarget };
93
117
  export let label: string;
94
118
  export let piaNumber: string;
@@ -124,7 +148,8 @@ export namespace BaseStory {
124
148
  export namespace NoTabbedCarousels {
125
149
  export namespace args_1 {
126
150
  export namespace data_1 {
127
- export let keepExploringMission: null;
151
+ let keepExploringMission_1: null;
152
+ export { keepExploringMission_1 as keepExploringMission };
128
153
  export let keepExploringInstrument: never[];
129
154
  export let keepExploringTarget: null;
130
155
  let relatedMission_1: {
@@ -65,7 +65,13 @@ export namespace BaseStory {
65
65
  slug: string;
66
66
  url: string;
67
67
  title: string;
68
- firstPublishedAt: string;
68
+ publicationDate: string;
69
+ authors: {
70
+ author: {
71
+ name: string;
72
+ organization: string;
73
+ };
74
+ }[];
69
75
  getTopicsForDisplay: {
70
76
  title: string;
71
77
  url: string;
@@ -177,7 +183,13 @@ export namespace InlineHero {
177
183
  slug: string;
178
184
  url: string;
179
185
  title: string;
180
- firstPublishedAt: string;
186
+ publicationDate: string;
187
+ authors: {
188
+ author: {
189
+ name: string;
190
+ organization: string;
191
+ };
192
+ }[];
181
193
  getTopicsForDisplay: {
182
194
  title: string;
183
195
  url: string;
@@ -290,7 +302,13 @@ export namespace NoHero {
290
302
  slug: string;
291
303
  url: string;
292
304
  title: string;
293
- firstPublishedAt: string;
305
+ publicationDate: string;
306
+ authors: {
307
+ author: {
308
+ name: string;
309
+ organization: string;
310
+ };
311
+ }[];
294
312
  getTopicsForDisplay: {
295
313
  title: string;
296
314
  url: string;
@@ -336,12 +336,12 @@ export namespace BaseStory {
336
336
  heading?: undefined;
337
337
  level?: undefined;
338
338
  } | {
339
+ blockType: string;
339
340
  embed: {
340
341
  embed: string;
341
342
  };
342
343
  caption: string;
343
344
  credit: string;
344
- blockType: string;
345
345
  value?: undefined;
346
346
  heading?: undefined;
347
347
  level?: undefined;
@@ -372,6 +372,7 @@ export namespace LiveEvent {
372
372
  title: string;
373
373
  })[];
374
374
  featuredEmbed: {
375
+ blockType: string;
375
376
  embed: {
376
377
  embed: string;
377
378
  };