@explorer-1/vue 0.2.14 → 0.2.16
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/components.d.ts +7 -0
- package/dist/explorer-1-vue.js +2415 -2405
- package/dist/explorer-1-vue.umd.cjs +12 -12
- package/dist/src/components/BaseAccordionItem/BaseAccordionItem.stories.d.ts +99 -0
- package/dist/src/components/BaseButton/BaseButton.stories.d.ts +13 -0
- package/dist/src/components/BaseButton/BaseButton.vue.d.ts +15 -1
- package/dist/src/components/BaseImage/BaseImage.vue.d.ts +1 -1
- package/dist/src/components/BaseImagePlaceholder/BaseImagePlaceholder.vue.d.ts +1 -1
- package/dist/src/components/BaseLink/BaseLink.vue.d.ts +1 -1
- package/dist/src/components/BaseModal/BaseModal.stories.d.ts +26 -0
- package/dist/src/components/BaseSwimlane/BaseSwimlane.vue.d.ts +2 -2
- package/dist/src/components/BaseTimer/BaseTimer.vue.d.ts +2 -2
- package/dist/src/components/BlockAccordion/BlockAccordion.stories.d.ts +98 -0
- package/dist/src/components/BlockHeading/BlockHeading.stories.d.ts +1 -0
- package/dist/src/components/BlockHeading/BlockHeading.vue.d.ts +13 -11
- package/dist/src/components/BlockLinkCard/BlockLinkCard.vue.d.ts +1 -1
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.vue.d.ts +1 -1
- package/dist/src/components/BlockRelatedLinks/RelatedLink.vue.d.ts +1 -1
- package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +75 -40
- package/dist/src/components/BlockStreamfield/BlockStreamfield.vue.d.ts +2 -19
- package/dist/src/components/BlockText/BlockText.vue.d.ts +1 -1
- package/dist/src/components/HeroMedia/HeroMedia.vue.d.ts +7 -0
- package/dist/src/components/LayoutHelper/LayoutHelper.vue.d.ts +1 -1
- package/dist/src/components/MetaPanel/MetaPanel.stories.d.ts +51 -0
- package/dist/src/components/MetaPanelItems/MetaPanelItems.stories.d.ts +25 -0
- package/dist/src/components/MetadataEduResource/MetadataEduResource.stories.d.ts +1 -1
- package/dist/src/components/MixinCarousel/MixinCarousel.vue.d.ts +2 -2
- package/dist/src/components/NavSecondary/NavSecondary.vue.d.ts +4 -0
- package/dist/src/interfaces.d.ts +84 -7
- package/dist/src/templates/PageContent/PageContent.stories.d.ts +6 -5
- package/dist/src/templates/PageImageDetail/PageImageDetail.stories.d.ts +43 -16
- package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +344 -128
- package/dist/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.d.ts +44 -16
- package/dist/src/templates/edu/PageEduLesson/PageEduLesson.stories.d.ts +544 -0
- package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +67 -63
- package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.stories.d.ts +22 -21
- package/dist/src/templates/www/PageCuratedGallery/PageCuratedGallery.stories.d.ts +43 -16
- package/dist/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.stories.d.ts +43 -16
- package/dist/src/utils/getHeadingId.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/components/BaseAccordionItem/BaseAccordionItem.stories.js +15 -0
- package/src/components/BaseAccordionItem/BaseAccordionItem.vue +108 -0
- package/src/components/BaseButton/BaseButton.vue +12 -1
- package/src/components/BaseImage/BaseImage.vue +1 -1
- package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.vue +1 -1
- package/src/components/BaseLink/BaseLink.vue +1 -1
- package/src/components/BaseTimer/BaseTimer.vue +6 -3
- package/src/components/BlockAccordion/BlockAccordion.stories.js +29 -0
- package/src/components/BlockAccordion/BlockAccordion.vue +32 -0
- package/src/components/BlockHeading/BlockHeading.stories.js +2 -2
- package/src/components/BlockHeading/BlockHeading.vue +15 -7
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.vue +1 -1
- package/src/components/BlockRelatedLinks/RelatedLink.vue +1 -1
- package/src/components/BlockStreamfield/BlockStreamfield.stories.js +23 -5
- package/src/components/BlockStreamfield/BlockStreamfield.vue +8 -26
- package/src/components/BlockText/BlockText.vue +1 -1
- package/src/components/HeroMedia/HeroMedia.vue +10 -1
- package/src/components/LayoutHelper/LayoutHelper.vue +1 -1
- package/src/components/MetaPanel/MetaPanel.stories.js +112 -0
- package/src/components/MetaPanel/MetaPanel.vue +237 -0
- package/src/components/MetaPanelAccordion/MetaPanelAccordion.vue +64 -0
- package/src/components/MetaPanelItems/MetaPanelItems.stories.js +27 -0
- package/src/components/MetaPanelItems/MetaPanelItems.vue +186 -0
- package/src/components/MetadataEduResource/MetadataEduResource.stories.js +2 -4
- package/src/components/MixinCarousel/MixinCarousel.vue +2 -2
- package/src/components/NavJumpMenu/NavJumpMenu.vue +10 -8
- package/src/components/NavSecondary/NavSecondary.vue +26 -15
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +1 -1
- package/src/interfaces.ts +91 -8
- package/src/main.ts +2 -0
- package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.js +1 -0
- package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +10 -1
- package/src/templates/edu/PageEduLesson/PageEduLesson.stories.js +303 -0
- package/src/templates/edu/PageEduLesson/PageEduLesson.vue +410 -0
- package/src/templates/edu/PageEduLesson/PageEduLessonSection.vue +98 -0
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.js +1 -0
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +4 -21
- package/src/utils/dayjs.js +0 -6
- package/src/utils/getHeadingId.ts +3 -3
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { default as BaseAccordionItem } from './BaseAccordionItem.vue';
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
export let title: string;
|
|
4
|
+
export { BaseAccordionItem as component };
|
|
5
|
+
}
|
|
6
|
+
export default _default;
|
|
7
|
+
export namespace BaseStory {
|
|
8
|
+
let name: string;
|
|
9
|
+
namespace args {
|
|
10
|
+
let headingLevel: string;
|
|
11
|
+
namespace item {
|
|
12
|
+
let title_1: string;
|
|
13
|
+
export { title_1 as title };
|
|
14
|
+
export let body: ({
|
|
15
|
+
blockType: string;
|
|
16
|
+
fullBleed: boolean;
|
|
17
|
+
image: {
|
|
18
|
+
alt: string;
|
|
19
|
+
caption: string;
|
|
20
|
+
credit: string;
|
|
21
|
+
detailUrl: string;
|
|
22
|
+
original: string;
|
|
23
|
+
src: {
|
|
24
|
+
height: number;
|
|
25
|
+
url: string;
|
|
26
|
+
width: number;
|
|
27
|
+
};
|
|
28
|
+
srcSet: string;
|
|
29
|
+
};
|
|
30
|
+
imageFullBleed: {
|
|
31
|
+
alt: string;
|
|
32
|
+
caption: string;
|
|
33
|
+
credit: string;
|
|
34
|
+
detailUrl: string;
|
|
35
|
+
original: string;
|
|
36
|
+
src: {
|
|
37
|
+
width: number;
|
|
38
|
+
height: number;
|
|
39
|
+
url: string;
|
|
40
|
+
};
|
|
41
|
+
srcCropped: {
|
|
42
|
+
width: number;
|
|
43
|
+
height: number;
|
|
44
|
+
url: string;
|
|
45
|
+
};
|
|
46
|
+
screenXs: {
|
|
47
|
+
url: string;
|
|
48
|
+
width: number;
|
|
49
|
+
};
|
|
50
|
+
screenLg: {
|
|
51
|
+
url: string;
|
|
52
|
+
width: number;
|
|
53
|
+
};
|
|
54
|
+
screenXl: {
|
|
55
|
+
url: string;
|
|
56
|
+
width: number;
|
|
57
|
+
};
|
|
58
|
+
screenThreexl: {
|
|
59
|
+
url: string;
|
|
60
|
+
width: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
} | {
|
|
64
|
+
blockType: string;
|
|
65
|
+
text: string;
|
|
66
|
+
alignTo: string;
|
|
67
|
+
image: {
|
|
68
|
+
alt: string;
|
|
69
|
+
src: {
|
|
70
|
+
height: number;
|
|
71
|
+
url: string;
|
|
72
|
+
width: number;
|
|
73
|
+
};
|
|
74
|
+
original: string;
|
|
75
|
+
caption: string;
|
|
76
|
+
credit: string;
|
|
77
|
+
detailUrl: string;
|
|
78
|
+
};
|
|
79
|
+
displayCaption: boolean;
|
|
80
|
+
} | {
|
|
81
|
+
blockType: string;
|
|
82
|
+
heading: string;
|
|
83
|
+
listItem: {
|
|
84
|
+
text: string;
|
|
85
|
+
}[];
|
|
86
|
+
} | {
|
|
87
|
+
blockType: string;
|
|
88
|
+
value: string;
|
|
89
|
+
} | {
|
|
90
|
+
blockId: string;
|
|
91
|
+
blockType: string;
|
|
92
|
+
heading: string;
|
|
93
|
+
level: string;
|
|
94
|
+
size: string;
|
|
95
|
+
value?: undefined;
|
|
96
|
+
})[];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -7,6 +7,12 @@ declare const _default: {
|
|
|
7
7
|
default: string;
|
|
8
8
|
validator: (prop: string) => boolean;
|
|
9
9
|
};
|
|
10
|
+
color: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
default: string;
|
|
14
|
+
validator: (prop: string) => boolean;
|
|
15
|
+
};
|
|
10
16
|
compact: {
|
|
11
17
|
type: BooleanConstructor;
|
|
12
18
|
default: boolean;
|
|
@@ -48,6 +54,12 @@ declare const _default: {
|
|
|
48
54
|
default: string;
|
|
49
55
|
validator: (prop: string) => boolean;
|
|
50
56
|
};
|
|
57
|
+
color: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
required: false;
|
|
60
|
+
default: string;
|
|
61
|
+
validator: (prop: string) => boolean;
|
|
62
|
+
};
|
|
51
63
|
compact: {
|
|
52
64
|
type: BooleanConstructor;
|
|
53
65
|
default: boolean;
|
|
@@ -83,6 +95,7 @@ declare const _default: {
|
|
|
83
95
|
}, {
|
|
84
96
|
variant: string;
|
|
85
97
|
href: string;
|
|
98
|
+
color: string;
|
|
86
99
|
to: string | Record<string, any>;
|
|
87
100
|
ariaLabel: string;
|
|
88
101
|
compact: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
interface Variants {
|
|
2
|
-
[
|
|
2
|
+
[key: string]: string;
|
|
3
3
|
}
|
|
4
4
|
export declare const variants: Variants;
|
|
5
|
+
export declare const colors: Variants;
|
|
5
6
|
declare const _default: import('vue').DefineComponent<{
|
|
6
7
|
variant: {
|
|
7
8
|
type: StringConstructor;
|
|
@@ -9,6 +10,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
9
10
|
default: string;
|
|
10
11
|
validator: (prop: string) => boolean;
|
|
11
12
|
};
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (prop: string) => boolean;
|
|
18
|
+
};
|
|
12
19
|
compact: {
|
|
13
20
|
type: BooleanConstructor;
|
|
14
21
|
default: boolean;
|
|
@@ -50,6 +57,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
50
57
|
default: string;
|
|
51
58
|
validator: (prop: string) => boolean;
|
|
52
59
|
};
|
|
60
|
+
color: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
required: false;
|
|
63
|
+
default: string;
|
|
64
|
+
validator: (prop: string) => boolean;
|
|
65
|
+
};
|
|
53
66
|
compact: {
|
|
54
67
|
type: BooleanConstructor;
|
|
55
68
|
default: boolean;
|
|
@@ -85,6 +98,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
85
98
|
}, {
|
|
86
99
|
variant: string;
|
|
87
100
|
href: string;
|
|
101
|
+
color: string;
|
|
88
102
|
to: string | Record<string, any>;
|
|
89
103
|
ariaLabel: string;
|
|
90
104
|
compact: boolean;
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
|
|
3
3
|
export type ImageLoader = 'lazy' | 'eager' | undefined;
|
|
4
4
|
interface ObjectFitClasses {
|
|
5
|
-
[
|
|
5
|
+
[key: string]: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const objectFitClasses: ObjectFitClasses;
|
|
8
8
|
declare const _default: import('vue').DefineComponent<{
|
|
@@ -75,6 +75,12 @@ export function CustomTrigger(args: any): {
|
|
|
75
75
|
default: string;
|
|
76
76
|
validator: (prop: string) => boolean;
|
|
77
77
|
};
|
|
78
|
+
color: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
default: string;
|
|
82
|
+
validator: (prop: string) => boolean;
|
|
83
|
+
};
|
|
78
84
|
compact: {
|
|
79
85
|
type: BooleanConstructor;
|
|
80
86
|
default: boolean;
|
|
@@ -116,6 +122,12 @@ export function CustomTrigger(args: any): {
|
|
|
116
122
|
default: string;
|
|
117
123
|
validator: (prop: string) => boolean;
|
|
118
124
|
};
|
|
125
|
+
color: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
required: false;
|
|
128
|
+
default: string;
|
|
129
|
+
validator: (prop: string) => boolean;
|
|
130
|
+
};
|
|
119
131
|
compact: {
|
|
120
132
|
type: BooleanConstructor;
|
|
121
133
|
default: boolean;
|
|
@@ -151,6 +163,7 @@ export function CustomTrigger(args: any): {
|
|
|
151
163
|
}, {
|
|
152
164
|
variant: string;
|
|
153
165
|
href: string;
|
|
166
|
+
color: string;
|
|
154
167
|
to: string | Record<string, any>;
|
|
155
168
|
ariaLabel: string;
|
|
156
169
|
compact: boolean;
|
|
@@ -192,6 +205,12 @@ export function Nested(args: any): {
|
|
|
192
205
|
default: string;
|
|
193
206
|
validator: (prop: string) => boolean;
|
|
194
207
|
};
|
|
208
|
+
color: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
required: false;
|
|
211
|
+
default: string;
|
|
212
|
+
validator: (prop: string) => boolean;
|
|
213
|
+
};
|
|
195
214
|
compact: {
|
|
196
215
|
type: BooleanConstructor;
|
|
197
216
|
default: boolean;
|
|
@@ -233,6 +252,12 @@ export function Nested(args: any): {
|
|
|
233
252
|
default: string;
|
|
234
253
|
validator: (prop: string) => boolean;
|
|
235
254
|
};
|
|
255
|
+
color: {
|
|
256
|
+
type: StringConstructor;
|
|
257
|
+
required: false;
|
|
258
|
+
default: string;
|
|
259
|
+
validator: (prop: string) => boolean;
|
|
260
|
+
};
|
|
236
261
|
compact: {
|
|
237
262
|
type: BooleanConstructor;
|
|
238
263
|
default: boolean;
|
|
@@ -268,6 +293,7 @@ export function Nested(args: any): {
|
|
|
268
293
|
}, {
|
|
269
294
|
variant: string;
|
|
270
295
|
href: string;
|
|
296
|
+
color: string;
|
|
271
297
|
to: string | Record<string, any>;
|
|
272
298
|
ariaLabel: string;
|
|
273
299
|
compact: boolean;
|
|
@@ -75,9 +75,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
75
75
|
};
|
|
76
76
|
}>>, {
|
|
77
77
|
transition: string;
|
|
78
|
-
words: unknown[];
|
|
79
|
-
rows: number;
|
|
80
78
|
scale: number;
|
|
79
|
+
rows: number;
|
|
80
|
+
words: unknown[];
|
|
81
81
|
transitionDuration: number;
|
|
82
82
|
transitionDelay: number;
|
|
83
83
|
pauseOnHover: boolean;
|
|
@@ -35,7 +35,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
37
|
selectedUnits: {
|
|
38
|
-
type: PropType<("
|
|
38
|
+
type: PropType<("seconds" | "minutes" | "hours" | "days" | "months" | "years")[]>;
|
|
39
39
|
required: false;
|
|
40
40
|
validator: (val: UnitID[]) => boolean;
|
|
41
41
|
};
|
|
@@ -67,7 +67,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
67
67
|
required: true;
|
|
68
68
|
};
|
|
69
69
|
selectedUnits: {
|
|
70
|
-
type: PropType<("
|
|
70
|
+
type: PropType<("seconds" | "minutes" | "hours" | "days" | "months" | "years")[]>;
|
|
71
71
|
required: false;
|
|
72
72
|
validator: (val: UnitID[]) => boolean;
|
|
73
73
|
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { default as BlockAccordion } from './BlockAccordion.vue';
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
export let title: string;
|
|
4
|
+
export { BlockAccordion as component };
|
|
5
|
+
}
|
|
6
|
+
export default _default;
|
|
7
|
+
export namespace BaseStory {
|
|
8
|
+
let name: string;
|
|
9
|
+
namespace args {
|
|
10
|
+
let headingLevel: string;
|
|
11
|
+
let items: {
|
|
12
|
+
title: string;
|
|
13
|
+
body: ({
|
|
14
|
+
blockType: string;
|
|
15
|
+
fullBleed: boolean;
|
|
16
|
+
image: {
|
|
17
|
+
alt: string;
|
|
18
|
+
caption: string;
|
|
19
|
+
credit: string;
|
|
20
|
+
detailUrl: string;
|
|
21
|
+
original: string;
|
|
22
|
+
src: {
|
|
23
|
+
height: number;
|
|
24
|
+
url: string;
|
|
25
|
+
width: number;
|
|
26
|
+
};
|
|
27
|
+
srcSet: string;
|
|
28
|
+
};
|
|
29
|
+
imageFullBleed: {
|
|
30
|
+
alt: string;
|
|
31
|
+
caption: string;
|
|
32
|
+
credit: string;
|
|
33
|
+
detailUrl: string;
|
|
34
|
+
original: string;
|
|
35
|
+
src: {
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
url: string;
|
|
39
|
+
};
|
|
40
|
+
srcCropped: {
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
url: string;
|
|
44
|
+
};
|
|
45
|
+
screenXs: {
|
|
46
|
+
url: string;
|
|
47
|
+
width: number;
|
|
48
|
+
};
|
|
49
|
+
screenLg: {
|
|
50
|
+
url: string;
|
|
51
|
+
width: number;
|
|
52
|
+
};
|
|
53
|
+
screenXl: {
|
|
54
|
+
url: string;
|
|
55
|
+
width: number;
|
|
56
|
+
};
|
|
57
|
+
screenThreexl: {
|
|
58
|
+
url: string;
|
|
59
|
+
width: number;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
blockType: string;
|
|
64
|
+
text: string;
|
|
65
|
+
alignTo: string;
|
|
66
|
+
image: {
|
|
67
|
+
alt: string;
|
|
68
|
+
src: {
|
|
69
|
+
height: number;
|
|
70
|
+
url: string;
|
|
71
|
+
width: number;
|
|
72
|
+
};
|
|
73
|
+
original: string;
|
|
74
|
+
caption: string;
|
|
75
|
+
credit: string;
|
|
76
|
+
detailUrl: string;
|
|
77
|
+
};
|
|
78
|
+
displayCaption: boolean;
|
|
79
|
+
} | {
|
|
80
|
+
blockType: string;
|
|
81
|
+
heading: string;
|
|
82
|
+
listItem: {
|
|
83
|
+
text: string;
|
|
84
|
+
}[];
|
|
85
|
+
} | {
|
|
86
|
+
blockType: string;
|
|
87
|
+
value: string;
|
|
88
|
+
} | {
|
|
89
|
+
blockId: string;
|
|
90
|
+
blockType: string;
|
|
91
|
+
heading: string;
|
|
92
|
+
level: string;
|
|
93
|
+
size: string;
|
|
94
|
+
value?: undefined;
|
|
95
|
+
})[];
|
|
96
|
+
}[];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { HeadingLevel } from './../BaseHeading/BaseHeading.vue';
|
|
3
|
+
|
|
4
|
+
export interface BlockHeadingObject {
|
|
5
|
+
blockType?: string;
|
|
6
|
+
heading: HeadingLevel;
|
|
7
|
+
level?: HeadingLevel;
|
|
8
|
+
size?: string;
|
|
9
|
+
blockId?: string;
|
|
10
|
+
}
|
|
1
11
|
declare const _default: import('vue').DefineComponent<{
|
|
2
12
|
data: {
|
|
3
|
-
type:
|
|
4
|
-
required: false;
|
|
5
|
-
};
|
|
6
|
-
index: {
|
|
7
|
-
type: NumberConstructor;
|
|
13
|
+
type: PropType<BlockHeadingObject>;
|
|
8
14
|
required: false;
|
|
9
15
|
default: undefined;
|
|
10
16
|
};
|
|
@@ -16,11 +22,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
22
|
getId(): string | undefined;
|
|
17
23
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
24
|
data: {
|
|
19
|
-
type:
|
|
20
|
-
required: false;
|
|
21
|
-
};
|
|
22
|
-
index: {
|
|
23
|
-
type: NumberConstructor;
|
|
25
|
+
type: PropType<BlockHeadingObject>;
|
|
24
26
|
required: false;
|
|
25
27
|
default: undefined;
|
|
26
28
|
};
|
|
@@ -29,7 +31,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
31
|
default: boolean;
|
|
30
32
|
};
|
|
31
33
|
}>>, {
|
|
32
|
-
|
|
34
|
+
data: BlockHeadingObject;
|
|
33
35
|
generateId: boolean;
|
|
34
36
|
}, {}>;
|
|
35
37
|
export default _default;
|
|
@@ -183,8 +183,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
183
183
|
eventType: string;
|
|
184
184
|
ongoing: boolean;
|
|
185
185
|
location: string;
|
|
186
|
-
thumbnailImage: Record<string, any>;
|
|
187
186
|
externalLink: string;
|
|
188
187
|
headingLevel: HeadingLevel;
|
|
188
|
+
thumbnailImage: Record<string, any>;
|
|
189
189
|
}, {}>;
|
|
190
190
|
export default _default;
|
|
@@ -16,36 +16,62 @@ declare namespace _default {
|
|
|
16
16
|
export let excludeStories: RegExp;
|
|
17
17
|
}
|
|
18
18
|
export default _default;
|
|
19
|
-
export namespace
|
|
20
|
-
let body:
|
|
19
|
+
export namespace BlockStreamfieldMinimalData {
|
|
20
|
+
let body: {
|
|
21
21
|
blockType: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
title: string;
|
|
28
|
-
caption: string;
|
|
29
|
-
url: string;
|
|
30
|
-
} | {
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
24
|
+
}
|
|
25
|
+
export namespace BlockStreamfieldTruncatedData {
|
|
26
|
+
let body_1: ({
|
|
31
27
|
blockType: string;
|
|
32
|
-
|
|
28
|
+
fullBleed: boolean;
|
|
29
|
+
image: {
|
|
30
|
+
alt: string;
|
|
31
|
+
caption: string;
|
|
32
|
+
credit: string;
|
|
33
|
+
detailUrl: string;
|
|
34
|
+
original: string;
|
|
33
35
|
src: {
|
|
36
|
+
height: number;
|
|
34
37
|
url: string;
|
|
38
|
+
width: number;
|
|
35
39
|
};
|
|
36
|
-
|
|
37
|
-
url: string;
|
|
38
|
-
};
|
|
40
|
+
srcSet: string;
|
|
39
41
|
};
|
|
40
|
-
|
|
42
|
+
imageFullBleed: {
|
|
43
|
+
alt: string;
|
|
44
|
+
caption: string;
|
|
45
|
+
credit: string;
|
|
46
|
+
detailUrl: string;
|
|
47
|
+
original: string;
|
|
41
48
|
src: {
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
42
51
|
url: string;
|
|
43
52
|
};
|
|
44
53
|
srcCropped: {
|
|
54
|
+
width: number;
|
|
55
|
+
height: number;
|
|
45
56
|
url: string;
|
|
46
57
|
};
|
|
58
|
+
screenXs: {
|
|
59
|
+
url: string;
|
|
60
|
+
width: number;
|
|
61
|
+
};
|
|
62
|
+
screenLg: {
|
|
63
|
+
url: string;
|
|
64
|
+
width: number;
|
|
65
|
+
};
|
|
66
|
+
screenXl: {
|
|
67
|
+
url: string;
|
|
68
|
+
width: number;
|
|
69
|
+
};
|
|
70
|
+
screenThreexl: {
|
|
71
|
+
url: string;
|
|
72
|
+
width: number;
|
|
73
|
+
};
|
|
47
74
|
};
|
|
48
|
-
caption: string;
|
|
49
75
|
} | {
|
|
50
76
|
blockType: string;
|
|
51
77
|
text: string;
|
|
@@ -72,10 +98,18 @@ export namespace BlockStreamfieldTruncatedData {
|
|
|
72
98
|
} | {
|
|
73
99
|
blockType: string;
|
|
74
100
|
value: string;
|
|
101
|
+
} | {
|
|
102
|
+
blockId: string;
|
|
103
|
+
blockType: string;
|
|
104
|
+
heading: string;
|
|
105
|
+
level: string;
|
|
106
|
+
size: string;
|
|
107
|
+
value?: undefined;
|
|
75
108
|
})[];
|
|
109
|
+
export { body_1 as body };
|
|
76
110
|
}
|
|
77
111
|
export namespace BlockStreamfieldData {
|
|
78
|
-
let
|
|
112
|
+
let body_2: ({
|
|
79
113
|
blockType: string;
|
|
80
114
|
heading: string;
|
|
81
115
|
text: string;
|
|
@@ -85,9 +119,23 @@ export namespace BlockStreamfieldData {
|
|
|
85
119
|
externalLink: string;
|
|
86
120
|
} | {
|
|
87
121
|
blockType: string;
|
|
88
|
-
|
|
122
|
+
beforeImage: {
|
|
123
|
+
src: {
|
|
124
|
+
url: string;
|
|
125
|
+
};
|
|
126
|
+
srcCropped: {
|
|
127
|
+
url: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
afterImage: {
|
|
131
|
+
src: {
|
|
132
|
+
url: string;
|
|
133
|
+
};
|
|
134
|
+
srcCropped: {
|
|
135
|
+
url: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
89
138
|
caption: string;
|
|
90
|
-
url: string;
|
|
91
139
|
} | {
|
|
92
140
|
blockType: string;
|
|
93
141
|
fullBleed: boolean;
|
|
@@ -137,25 +185,6 @@ export namespace BlockStreamfieldData {
|
|
|
137
185
|
width: number;
|
|
138
186
|
};
|
|
139
187
|
};
|
|
140
|
-
} | {
|
|
141
|
-
blockType: string;
|
|
142
|
-
beforeImage: {
|
|
143
|
-
src: {
|
|
144
|
-
url: string;
|
|
145
|
-
};
|
|
146
|
-
srcCropped: {
|
|
147
|
-
url: string;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
afterImage: {
|
|
151
|
-
src: {
|
|
152
|
-
url: string;
|
|
153
|
-
};
|
|
154
|
-
srcCropped: {
|
|
155
|
-
url: string;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
caption: string;
|
|
159
188
|
} | {
|
|
160
189
|
id: string;
|
|
161
190
|
blockType: string;
|
|
@@ -297,6 +326,11 @@ export namespace BlockStreamfieldData {
|
|
|
297
326
|
} | {
|
|
298
327
|
blockType: string;
|
|
299
328
|
table: string;
|
|
329
|
+
} | {
|
|
330
|
+
blockType: string;
|
|
331
|
+
title: string;
|
|
332
|
+
caption: string;
|
|
333
|
+
url: string;
|
|
300
334
|
} | {
|
|
301
335
|
blockType: string;
|
|
302
336
|
video: {
|
|
@@ -319,6 +353,7 @@ export namespace BlockStreamfieldData {
|
|
|
319
353
|
size: string;
|
|
320
354
|
blockType: string;
|
|
321
355
|
heading: string;
|
|
356
|
+
blockId: string;
|
|
322
357
|
value?: undefined;
|
|
323
358
|
showTitle?: undefined;
|
|
324
359
|
items?: undefined;
|
|
@@ -463,7 +498,7 @@ export namespace BlockStreamfieldData {
|
|
|
463
498
|
level?: undefined;
|
|
464
499
|
showTitle?: undefined;
|
|
465
500
|
})[];
|
|
466
|
-
export {
|
|
501
|
+
export { body_2 as body };
|
|
467
502
|
}
|
|
468
503
|
export namespace BaseStory {
|
|
469
504
|
namespace args {
|
|
@@ -1,27 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { StreamfieldBlockData } from '../../interfaces';
|
|
3
3
|
|
|
4
4
|
interface Variants {
|
|
5
|
-
[
|
|
5
|
+
[key: string]: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const variants: Variants;
|
|
8
|
-
export interface StreamfieldBlockData extends BlockData {
|
|
9
|
-
id: string;
|
|
10
|
-
fullBleed: boolean;
|
|
11
|
-
heading: string;
|
|
12
|
-
galleryTitle: string;
|
|
13
|
-
galleryDescription: string;
|
|
14
|
-
coverImage: ImageObject;
|
|
15
|
-
gallerySlides: ImageObject[];
|
|
16
|
-
blocks: object[];
|
|
17
|
-
value: string;
|
|
18
|
-
customLabel: string;
|
|
19
|
-
introduction: string;
|
|
20
|
-
teaserPage: object | string[];
|
|
21
|
-
image: ImageObject;
|
|
22
|
-
buttonText: string;
|
|
23
|
-
fullWidthImage: boolean;
|
|
24
|
-
}
|
|
25
8
|
declare const _default: import('vue').DefineComponent<{
|
|
26
9
|
variant: {
|
|
27
10
|
type: StringConstructor;
|