@explorer-1/vue 0.2.27 → 0.2.28

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 (35) hide show
  1. package/components.d.ts +1 -0
  2. package/dist/explorer-1-vue.js +3 -3
  3. package/dist/explorer-1-vue.umd.cjs +1 -1
  4. package/dist/src/components/AboutTheAuthor/AboutTheAuthor.stories.d.ts +30 -0
  5. package/dist/src/components/BaseImage/BaseImage.stories.d.ts +1 -1
  6. package/dist/src/components/BaseImage/BaseImage.vue.d.ts +1 -1
  7. package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +3 -3
  8. package/dist/src/components/DetailHeadline/DetailHeadline.vue.d.ts +10 -7
  9. package/dist/src/components/EventCard/EventCard.vue.d.ts +1 -1
  10. package/dist/src/components/MetadataEduResource/MetadataEduResource.vue.d.ts +1 -1
  11. package/dist/src/components/MetadataEvent/MetadataEvent.vue.d.ts +1 -1
  12. package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.d.ts +1 -1
  13. package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.vue.d.ts +1 -1
  14. package/dist/src/components/SearchResultCard/SearchResultCard.vue.d.ts +3 -3
  15. package/dist/src/components/TextInput/TextInput.vue.d.ts +9 -9
  16. package/dist/src/interfaces.d.ts +7 -1
  17. package/dist/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.stories.d.ts +7 -7
  18. package/dist/src/templates/edu/PageEduLesson/PageEduLesson.stories.d.ts +2 -0
  19. package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +30 -0
  20. package/dist/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.stories.d.ts +2 -0
  21. package/dist/style.css +1 -1
  22. package/package.json +2 -2
  23. package/src/components/AboutTheAuthor/AboutTheAuthor.stories.js +50 -0
  24. package/src/components/AboutTheAuthor/AboutTheAuthor.vue +90 -0
  25. package/src/components/BlockText/BlockText.vue +3 -3
  26. package/src/components/DetailHeadline/DetailHeadline.vue +2 -3
  27. package/src/interfaces.ts +5 -1
  28. package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.js +3 -1
  29. package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +23 -0
  30. package/src/templates/edu/PageEduLesson/PageEduLesson.stories.js +2 -0
  31. package/src/templates/edu/PageEduLesson/PageEduLesson.vue +9 -1
  32. package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.js +3 -8
  33. package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +10 -1
  34. package/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.stories.js +2 -0
  35. package/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.vue +7 -8
@@ -0,0 +1,30 @@
1
+ import { default as AboutTheAuthor } from './AboutTheAuthor.vue';
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { AboutTheAuthor as component };
5
+ export let tags: string[];
6
+ export let excludeStories: RegExp;
7
+ }
8
+ export default _default;
9
+ export const AboutTheAuthorData: {
10
+ author: {
11
+ biography: string;
12
+ image: {
13
+ src: {
14
+ url: string;
15
+ width: number;
16
+ height: number;
17
+ };
18
+ alt: string;
19
+ };
20
+ jobTitle: string;
21
+ name: string;
22
+ organization: string;
23
+ };
24
+ }[];
25
+ export namespace BaseStory {
26
+ let name: string;
27
+ namespace args {
28
+ export { AboutTheAuthorData as authors };
29
+ }
30
+ }
@@ -76,9 +76,9 @@ declare const _default: {
76
76
  default: string;
77
77
  };
78
78
  }>>, {
79
+ objectFitClass: string;
79
80
  srcset: string;
80
81
  loading: import('./BaseImage.vue').ImageLoader;
81
- objectFitClass: string;
82
82
  }, {}>;
83
83
  excludeStories: RegExp;
84
84
  argTypes: {
@@ -81,8 +81,8 @@ declare const _default: import('vue').DefineComponent<{
81
81
  default: string;
82
82
  };
83
83
  }>>, {
84
+ objectFitClass: string;
84
85
  srcset: string;
85
86
  loading: ImageLoader;
86
- objectFitClass: string;
87
87
  }, {}>;
88
88
  export default _default;
@@ -180,9 +180,6 @@ declare const _default: import('vue').DefineComponent<{
180
180
  data: Card;
181
181
  label: string;
182
182
  title: string;
183
- size: string;
184
- date: string;
185
- url: string;
186
183
  startDate: string;
187
184
  endDate: string;
188
185
  startDatetime: string;
@@ -190,6 +187,9 @@ declare const _default: import('vue').DefineComponent<{
190
187
  eventType: string;
191
188
  ongoing: boolean;
192
189
  location: string;
190
+ size: string;
191
+ url: string;
192
+ date: string;
193
193
  headingLevel: HeadingLevel;
194
194
  thumbnailImage: Record<string, any>;
195
195
  externalLink: string;
@@ -9,7 +9,9 @@ declare const _default: import('vue').DefineComponent<{
9
9
  default: undefined;
10
10
  };
11
11
  author: {
12
- type: PropType<AuthorObject | AuthorObject[]>;
12
+ type: PropType<AuthorObject | {
13
+ author: AuthorObject;
14
+ }[]>;
13
15
  required: false;
14
16
  default: undefined;
15
17
  };
@@ -62,10 +64,7 @@ declare const _default: import('vue').DefineComponent<{
62
64
  hasByline(): boolean;
63
65
  hasData(): boolean;
64
66
  pubDatetime(): string | undefined;
65
- authors(): {
66
- name: string;
67
- organization: string;
68
- }[] | undefined;
67
+ authors(): AuthorObject[] | undefined;
69
68
  pillLabel(): string | undefined;
70
69
  themeStore: () => import('pinia').Store<"theme", import('../../store/theme').State, {
71
70
  isEdu(state: {
@@ -81,7 +80,9 @@ declare const _default: import('vue').DefineComponent<{
81
80
  default: undefined;
82
81
  };
83
82
  author: {
84
- type: PropType<AuthorObject | AuthorObject[]>;
83
+ type: PropType<AuthorObject | {
84
+ author: AuthorObject;
85
+ }[]>;
85
86
  required: false;
86
87
  default: undefined;
87
88
  };
@@ -131,7 +132,9 @@ declare const _default: import('vue').DefineComponent<{
131
132
  }>>, {
132
133
  label: string;
133
134
  title: string;
134
- author: AuthorObject | AuthorObject[];
135
+ author: AuthorObject | {
136
+ author: AuthorObject;
137
+ }[];
135
138
  publicationDate: string;
136
139
  publicationTime: string;
137
140
  readTime: string;
@@ -104,8 +104,8 @@ declare const _default: import('vue').DefineComponent<{
104
104
  default: string;
105
105
  };
106
106
  }>>, {
107
- url: string;
108
107
  ongoing: boolean;
108
+ url: string;
109
109
  headingLevel: HeadingLevel;
110
110
  }, {}>;
111
111
  export default _default;
@@ -15,8 +15,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
15
15
  variant: string;
16
16
  }>>>, {
17
17
  variant: string;
18
- compact: boolean;
19
18
  resource: EduResourceCardObject;
19
+ compact: boolean;
20
20
  }, {}>;
21
21
  export default _default;
22
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -20,8 +20,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
20
20
  showLocation: boolean;
21
21
  showTime: boolean;
22
22
  }>>>, {
23
- compact: boolean;
24
23
  event: EventCardObject;
24
+ compact: boolean;
25
25
  allowBreak: boolean;
26
26
  showLocation: boolean;
27
27
  showTime: boolean;
@@ -55,11 +55,11 @@ declare const _default: {
55
55
  required: false;
56
56
  };
57
57
  }>>, {
58
+ inline: boolean;
58
59
  passedWrapperClass: string;
59
60
  arrowClass: string;
60
61
  color: string;
61
62
  marginLeft: string;
62
- inline: boolean;
63
63
  }, {}>;
64
64
  parameters: {
65
65
  slots: {
@@ -53,10 +53,10 @@ declare const _default: import('vue').DefineComponent<{
53
53
  required: false;
54
54
  };
55
55
  }>>, {
56
+ inline: boolean;
56
57
  passedWrapperClass: string;
57
58
  arrowClass: string;
58
59
  color: string;
59
60
  marginLeft: string;
60
- inline: boolean;
61
61
  }, {}>;
62
62
  export default _default;
@@ -208,15 +208,15 @@ declare const _default: import('vue').DefineComponent<{
208
208
  summary: string;
209
209
  title: string;
210
210
  image: Record<string, any>;
211
- type: string;
212
- date: string;
213
- url: string;
214
211
  startDate: string;
215
212
  endDate: string;
216
213
  startTime: string;
217
214
  endTime: string;
218
215
  eventType: string;
219
216
  location: string;
217
+ type: string;
218
+ url: string;
219
+ date: string;
220
220
  headingLevel: HeadingLevel;
221
221
  media: string;
222
222
  featured: boolean;
@@ -12,14 +12,14 @@ declare const _default: import('vue').DefineComponent<{
12
12
  type: import('vue').PropType<string>;
13
13
  default: undefined;
14
14
  };
15
- required: {
16
- type: import('vue').PropType<boolean>;
17
- default: boolean;
18
- };
19
15
  type: {
20
16
  type: import('vue').PropType<string>;
21
17
  default: string;
22
18
  };
19
+ required: {
20
+ type: import('vue').PropType<boolean>;
21
+ default: boolean;
22
+ };
23
23
  placeholder: {
24
24
  type: import('vue').PropType<string>;
25
25
  default: undefined;
@@ -64,14 +64,14 @@ declare const _default: import('vue').DefineComponent<{
64
64
  type: import('vue').PropType<string>;
65
65
  default: undefined;
66
66
  };
67
- required: {
68
- type: import('vue').PropType<boolean>;
69
- default: boolean;
70
- };
71
67
  type: {
72
68
  type: import('vue').PropType<string>;
73
69
  default: string;
74
70
  };
71
+ required: {
72
+ type: import('vue').PropType<boolean>;
73
+ default: boolean;
74
+ };
75
75
  placeholder: {
76
76
  type: import('vue').PropType<string>;
77
77
  default: undefined;
@@ -105,8 +105,8 @@ declare const _default: import('vue').DefineComponent<{
105
105
  }, {
106
106
  title: string;
107
107
  pattern: string;
108
- required: boolean;
109
108
  type: string;
109
+ required: boolean;
110
110
  placeholder: string;
111
111
  showLabel: boolean;
112
112
  maxlength: string;
@@ -171,7 +171,10 @@ export interface Attributes {
171
171
  }
172
172
  export interface AuthorObject {
173
173
  name: string;
174
- organization: string;
174
+ organization?: string;
175
+ image?: ImageObject;
176
+ jobTitle?: string;
177
+ biography?: string;
175
178
  }
176
179
  export interface Topic {
177
180
  title: string;
@@ -241,6 +244,9 @@ export interface EduResourceStandardItem {
241
244
  }
242
245
  export interface PageEduResourcesObject extends PageObject {
243
246
  hero?: StreamfieldBlockData[];
247
+ authors?: {
248
+ author: AuthorObject;
249
+ }[];
244
250
  primarySubject?: EduResourcesSubject;
245
251
  additionalSubjects?: EduResourcesSubject[];
246
252
  gradeLevels?: EduResourcesGradeLevel[];
@@ -36,21 +36,23 @@ export namespace BaseStory {
36
36
  export let alt: string;
37
37
  }
38
38
  export namespace heroImage {
39
- namespace src {
39
+ export namespace src {
40
40
  let url_1: string;
41
41
  export { url_1 as url };
42
42
  export let width: number;
43
43
  export let height: number;
44
44
  }
45
- let srcSet: string;
46
- namespace screenMd {
45
+ export let srcSet: string;
46
+ export namespace screenMd {
47
47
  let url_2: string;
48
48
  export { url_2 as url };
49
49
  }
50
- namespace screenSm {
50
+ export namespace screenSm {
51
51
  let url_3: string;
52
52
  export { url_3 as url };
53
53
  }
54
+ let alt_1: string;
55
+ export { alt_1 as alt };
54
56
  }
55
57
  export let heroImageCaption: string;
56
58
  export let heroConstrain: boolean;
@@ -109,11 +111,9 @@ export namespace Inline {
109
111
  }
110
112
  export { args_1 as args };
111
113
  }
112
- export namespace NoMetalPanel {
114
+ export namespace NoMetaPanel {
113
115
  export namespace args_2 {
114
116
  export namespace data_2 {
115
- let heroPosition_2: string;
116
- export { heroPosition_2 as heroPosition };
117
117
  let showMetaPanel_1: boolean;
118
118
  export { showMetaPanel_1 as showMetaPanel };
119
119
  }
@@ -1,4 +1,5 @@
1
1
  import { default as PageEduLesson } from './PageEduLesson.vue';
2
+ import { AboutTheAuthorData } from './../../../components/AboutTheAuthor/AboutTheAuthor.stories';
2
3
  import { BlockLinkCardCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories.js';
3
4
  declare namespace _default {
4
5
  export let title: string;
@@ -36,6 +37,7 @@ export namespace BaseStory {
36
37
  export let original: string;
37
38
  export let alt: string;
38
39
  }
40
+ export { AboutTheAuthorData as authors };
39
41
  export let hero: {
40
42
  blockType: string;
41
43
  imageInline: {
@@ -518,6 +518,16 @@ export namespace BaseStory {
518
518
  readTime: string;
519
519
  authors: {
520
520
  author: {
521
+ biography: string;
522
+ image: {
523
+ src: {
524
+ url: string;
525
+ width: number;
526
+ height: number;
527
+ };
528
+ alt: string;
529
+ };
530
+ jobTitle: string;
521
531
  name: string;
522
532
  organization: string;
523
533
  };
@@ -1088,6 +1098,16 @@ export namespace InlineHero {
1088
1098
  readTime: string;
1089
1099
  authors: {
1090
1100
  author: {
1101
+ biography: string;
1102
+ image: {
1103
+ src: {
1104
+ url: string;
1105
+ width: number;
1106
+ height: number;
1107
+ };
1108
+ alt: string;
1109
+ };
1110
+ jobTitle: string;
1091
1111
  name: string;
1092
1112
  organization: string;
1093
1113
  };
@@ -1658,6 +1678,16 @@ export namespace NoHero {
1658
1678
  readTime: string;
1659
1679
  authors: {
1660
1680
  author: {
1681
+ biography: string;
1682
+ image: {
1683
+ src: {
1684
+ url: string;
1685
+ width: number;
1686
+ height: number;
1687
+ };
1688
+ alt: string;
1689
+ };
1690
+ jobTitle: string;
1661
1691
  name: string;
1662
1692
  organization: string;
1663
1693
  };
@@ -1,4 +1,5 @@
1
1
  import { default as PageEduTeachableMoment } from './PageEduTeachableMoment.vue';
2
+ import { AboutTheAuthorData } from './../../../components/AboutTheAuthor/AboutTheAuthor.stories';
2
3
  import { BlockLinkCardCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories.js';
3
4
  declare namespace _default {
4
5
  export let title: string;
@@ -33,6 +34,7 @@ export namespace BaseStory {
33
34
  export let original: string;
34
35
  export let alt: string;
35
36
  }
37
+ export { AboutTheAuthorData as authors };
36
38
  export let hero: {
37
39
  blockType: string;
38
40
  imageInline: {