@explorer-1/vue 0.2.3 → 0.2.5
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 +6 -3
- package/dist/explorer-1-vue.js +5603 -5375
- package/dist/explorer-1-vue.umd.cjs +12 -12
- package/dist/src/components/BlockCardGrid/BlockCardGrid.stories.d.ts +60 -0
- package/dist/src/components/BlockCardGrid/BlockCardGrid.vue.d.ts +33 -0
- package/dist/src/components/{BlockCard/BlockCard.stories.d.ts → BlockCardGridItem/BlockCardGridItem.stories.d.ts} +18 -4
- package/dist/src/components/{BlockCardGroup/BlockCardGroup.vue.d.ts → BlockCardGridItem/BlockCardGridItem.vue.d.ts} +10 -12
- package/dist/src/components/{BlockCard/BlockCard.vue.d.ts → BlockCardGridItem/BlockCardGridItemElement.vue.d.ts} +20 -14
- package/dist/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.d.ts +1 -0
- package/dist/src/components/BlockHeading/BlockHeading.vue.d.ts +25 -2
- package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +1 -0
- package/dist/src/components/BlockLinkTile/BlockLinkTile.stories.d.ts +1 -0
- package/dist/src/components/BlockListCards/BlockListCards.stories.d.ts +1 -0
- package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +60 -0
- package/dist/src/components/BlockStreamfield/BlockStreamfield.vue.d.ts +2 -3
- package/dist/src/components/DetailHeadline/DetailHeadline.stories.d.ts +30 -1
- package/dist/src/components/DetailHeadline/DetailHeadline.vue.d.ts +37 -0
- package/dist/src/components/LayoutHelper/LayoutHelper.vue.d.ts +9 -0
- package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +3 -0
- package/dist/src/components/NavDesktop/NavDesktop.vue.d.ts +1 -0
- package/dist/src/components/NavDesktop/NavDesktopDropdown.vue.d.ts +1 -0
- package/dist/src/components/NavDesktopEdu/NavDesktopEdu.stories.d.ts +1 -0
- package/dist/src/components/NavDropdownToggle/NavDropdownToggle.vue.d.ts +19 -6
- package/dist/src/components/NavJumpMenu/NavJumpMenu.stories.d.ts +31 -0
- package/dist/src/components/NavMobile/NavMobile.stories.d.ts +30 -3
- package/dist/src/components/NavMobile/NavMobile.vue.d.ts +1 -0
- package/dist/src/components/NavMobile/NavMobileDropdown.vue.d.ts +9 -1
- package/dist/src/components/NavMobile/NavMobileEdu.stories.d.ts +3 -0
- package/dist/src/components/NavMobile/NavMobileSecondaryDropdown.vue.d.ts +7 -0
- package/dist/src/components/NavSecondary/NavSecondary.stories.d.ts +8 -0
- package/dist/src/components/NavSecondary/NavSecondary.vue.d.ts +23 -1
- package/dist/src/components/NavSecondary/NavSecondaryDropdown.vue.d.ts +33 -2
- package/dist/src/components/NavSecondary/NavSecondaryDropdownContent.vue.d.ts +11 -1
- package/dist/src/components/NavSecondary/NavSecondaryLink.vue.d.ts +21 -3
- package/dist/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.d.ts +1 -0
- package/dist/src/docs/foundation/grid_layouthelpers.stories.d.ts +36 -0
- package/dist/src/interfaces.d.ts +13 -3
- package/dist/src/store/header.d.ts +2 -0
- package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +8 -0
- package/dist/src/templates/edu/{PageEduResourceArticle/PageEduResourceArticle.stories.d.ts → PageEduExplainerArticle/PageEduExplainerArticle.stories.d.ts} +4 -2
- package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +1007 -6
- package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.stories.d.ts +60 -0
- package/dist/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.stories.d.ts +29 -2
- package/dist/src/utils/eventBus.d.ts +1 -0
- package/dist/src/utils/getHeadingId.d.ts +1 -0
- package/dist/src/utils/mixins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/components/BaseAudio/BaseAudio.vue +3 -4
- package/src/components/BaseLink/BaseLink.vue +2 -0
- package/src/components/BaseTag/BaseTag.vue +4 -4
- package/src/components/BlockHeading/BlockHeading.vue +28 -0
- package/src/components/BlockStreamfield/BlockStreamfield.vue +5 -1
- package/src/components/DetailHeadline/DetailHeadline.stories.js +28 -2
- package/src/components/DetailHeadline/DetailHeadline.vue +85 -32
- package/src/components/NavDesktop/NavDesktopDropdown.vue +2 -4
- package/src/components/NavDropdownToggle/NavDropdownToggle.vue +8 -3
- package/src/components/NavJumpMenu/NavJumpMenu.stories.js +47 -0
- package/src/components/NavJumpMenu/NavJumpMenu.vue +141 -0
- package/src/components/NavJumpMenu/NavJumpMenuContent.vue +74 -0
- package/src/components/NavMobile/NavMobile.vue +2 -4
- package/src/components/NavMobile/NavMobileDropdown.vue +8 -4
- package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +4 -1
- package/src/components/NavSecondary/NavSecondary.stories.js +8 -3
- package/src/components/NavSecondary/NavSecondary.vue +26 -6
- package/src/components/NavSecondary/NavSecondaryDropdown.vue +52 -17
- package/src/components/NavSecondary/NavSecondaryDropdownContent.vue +5 -1
- package/src/components/NavSecondary/NavSecondaryLink.vue +38 -11
- package/src/interfaces.ts +7 -1
- package/src/store/header.ts +6 -1
- package/src/templates/PageNewsDetail/PageNewsDetail.stories.js +1 -0
- package/src/templates/PageNewsDetail/PageNewsDetail.vue +1 -0
- package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +2 -2
- package/src/templates/edu/{PageEduResourceArticle/PageEduResourceArticle.stories.js → PageEduExplainerArticle/PageEduExplainerArticle.stories.js} +8 -6
- package/src/templates/edu/{PageEduResourceArticle/PageEduResourceArticle.vue → PageEduExplainerArticle/PageEduExplainerArticle.vue} +5 -2
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.js +7 -4
- package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.vue +18 -2
- package/src/utils/eventBus.ts +3 -0
- package/src/utils/getHeadingId.ts +5 -0
- package/src/utils/mixins.ts +5 -1
- package/dist/src/components/BlockCardGroup/BlockCardGroup.stories.d.ts +0 -32
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { default as BlockCardGrid } from './BlockCardGrid.vue';
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
export let title: string;
|
|
4
|
+
export { BlockCardGrid as component };
|
|
5
|
+
export let tags: string[];
|
|
6
|
+
export let excludeStories: RegExp;
|
|
7
|
+
}
|
|
8
|
+
export default _default;
|
|
9
|
+
export const BlockCardGridData: ({
|
|
10
|
+
label: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
image: {
|
|
14
|
+
alt: string;
|
|
15
|
+
src: {
|
|
16
|
+
height: number;
|
|
17
|
+
url: string;
|
|
18
|
+
width: number;
|
|
19
|
+
};
|
|
20
|
+
srcSet: string;
|
|
21
|
+
};
|
|
22
|
+
link: {
|
|
23
|
+
page: null;
|
|
24
|
+
externalLink: string;
|
|
25
|
+
};
|
|
26
|
+
} | {
|
|
27
|
+
label: string;
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
image: {
|
|
31
|
+
alt: string;
|
|
32
|
+
src: {
|
|
33
|
+
height: number;
|
|
34
|
+
url: string;
|
|
35
|
+
width: number;
|
|
36
|
+
};
|
|
37
|
+
srcSet: string;
|
|
38
|
+
};
|
|
39
|
+
link: {
|
|
40
|
+
page: {
|
|
41
|
+
url: string;
|
|
42
|
+
};
|
|
43
|
+
externalLink: string;
|
|
44
|
+
};
|
|
45
|
+
} | {
|
|
46
|
+
label: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description: string;
|
|
49
|
+
image: null;
|
|
50
|
+
link: {
|
|
51
|
+
page: null;
|
|
52
|
+
externalLink: string;
|
|
53
|
+
};
|
|
54
|
+
})[];
|
|
55
|
+
export namespace BaseStory {
|
|
56
|
+
let name: string;
|
|
57
|
+
namespace args {
|
|
58
|
+
export { BlockCardGridData as cards };
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ImageObject, LinkObject } from '../../interfaces';
|
|
3
|
+
|
|
4
|
+
interface CardGridItem {
|
|
5
|
+
title: string;
|
|
6
|
+
label: string;
|
|
7
|
+
description: string;
|
|
8
|
+
image: Partial<ImageObject>;
|
|
9
|
+
link?: LinkObject;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<{
|
|
12
|
+
compact: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
cards: {
|
|
17
|
+
type: PropType<CardGridItem[]>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
compact: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
cards: {
|
|
26
|
+
type: PropType<CardGridItem[]>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
}>>, {
|
|
30
|
+
compact: boolean;
|
|
31
|
+
cards: CardGridItem[];
|
|
32
|
+
}, {}>;
|
|
33
|
+
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as BlockCardGridItem } from './BlockCardGridItem.vue';
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
|
-
export {
|
|
4
|
+
export { BlockCardGridItem as component };
|
|
5
|
+
export let tags: string[];
|
|
5
6
|
export let decorators: (() => {
|
|
6
7
|
template: string;
|
|
7
8
|
})[];
|
|
@@ -14,10 +15,10 @@ declare namespace _default {
|
|
|
14
15
|
}
|
|
15
16
|
export default _default;
|
|
16
17
|
export namespace BlockCardData {
|
|
17
|
-
export let
|
|
18
|
+
export let label: string;
|
|
18
19
|
let title_1: string;
|
|
19
20
|
export { title_1 as title };
|
|
20
|
-
export let
|
|
21
|
+
export let description: string;
|
|
21
22
|
export namespace image {
|
|
22
23
|
let alt: string;
|
|
23
24
|
namespace src {
|
|
@@ -27,8 +28,21 @@ export namespace BlockCardData {
|
|
|
27
28
|
}
|
|
28
29
|
let srcSet: string;
|
|
29
30
|
}
|
|
31
|
+
export namespace link {
|
|
32
|
+
namespace page {
|
|
33
|
+
let url_1: string;
|
|
34
|
+
export { url_1 as url };
|
|
35
|
+
}
|
|
36
|
+
let externalLink: null;
|
|
37
|
+
}
|
|
30
38
|
}
|
|
31
39
|
export namespace BaseStory {
|
|
32
40
|
export let name: string;
|
|
33
41
|
export { BlockCardData as args };
|
|
34
42
|
}
|
|
43
|
+
export namespace NoLink {
|
|
44
|
+
namespace args {
|
|
45
|
+
let link_1: undefined;
|
|
46
|
+
export { link_1 as link };
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { LinkObject } from './../../interfaces';
|
|
3
3
|
|
|
4
|
-
interface Fact {
|
|
5
|
-
title: string;
|
|
6
|
-
type: string;
|
|
7
|
-
description: string;
|
|
8
|
-
image: Partial<ImageObject>;
|
|
9
|
-
}
|
|
10
4
|
declare const _default: import('vue').DefineComponent<{
|
|
11
|
-
|
|
12
|
-
type: PropType<
|
|
5
|
+
link: {
|
|
6
|
+
type: PropType<LinkObject>;
|
|
13
7
|
required: false;
|
|
8
|
+
default: undefined;
|
|
14
9
|
};
|
|
15
10
|
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
-
|
|
17
|
-
type: PropType<
|
|
11
|
+
link: {
|
|
12
|
+
type: PropType<LinkObject>;
|
|
18
13
|
required: false;
|
|
14
|
+
default: undefined;
|
|
19
15
|
};
|
|
20
|
-
}>>, {
|
|
16
|
+
}>>, {
|
|
17
|
+
link: LinkObject;
|
|
18
|
+
}, {}>;
|
|
21
19
|
export default _default;
|
|
@@ -1,51 +1,57 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { LinkObject } from './../../interfaces';
|
|
3
|
+
|
|
1
4
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
|
|
5
|
+
label: {
|
|
3
6
|
type: StringConstructor;
|
|
4
|
-
|
|
5
|
-
default: string;
|
|
7
|
+
default: undefined;
|
|
6
8
|
};
|
|
7
9
|
title: {
|
|
8
10
|
type: StringConstructor;
|
|
9
11
|
required: false;
|
|
10
12
|
default: undefined;
|
|
11
13
|
};
|
|
12
|
-
|
|
14
|
+
description: {
|
|
13
15
|
type: StringConstructor;
|
|
14
|
-
required: false;
|
|
15
16
|
default: undefined;
|
|
16
17
|
};
|
|
17
18
|
image: {
|
|
18
19
|
type: ObjectConstructor;
|
|
19
|
-
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
link: {
|
|
23
|
+
type: PropType<LinkObject>;
|
|
20
24
|
default: undefined;
|
|
21
25
|
};
|
|
22
26
|
}, unknown, unknown, {
|
|
23
27
|
theSrcSet(): any;
|
|
24
28
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
-
|
|
29
|
+
label: {
|
|
26
30
|
type: StringConstructor;
|
|
27
|
-
|
|
28
|
-
default: string;
|
|
31
|
+
default: undefined;
|
|
29
32
|
};
|
|
30
33
|
title: {
|
|
31
34
|
type: StringConstructor;
|
|
32
35
|
required: false;
|
|
33
36
|
default: undefined;
|
|
34
37
|
};
|
|
35
|
-
|
|
38
|
+
description: {
|
|
36
39
|
type: StringConstructor;
|
|
37
|
-
required: false;
|
|
38
40
|
default: undefined;
|
|
39
41
|
};
|
|
40
42
|
image: {
|
|
41
43
|
type: ObjectConstructor;
|
|
42
|
-
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
link: {
|
|
47
|
+
type: PropType<LinkObject>;
|
|
43
48
|
default: undefined;
|
|
44
49
|
};
|
|
45
50
|
}>>, {
|
|
51
|
+
label: string;
|
|
52
|
+
link: LinkObject;
|
|
46
53
|
title: string;
|
|
47
54
|
image: Record<string, any>;
|
|
48
|
-
|
|
49
|
-
type: string;
|
|
55
|
+
description: string;
|
|
50
56
|
}, {}>;
|
|
51
57
|
export default _default;
|
|
@@ -3,10 +3,33 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
required: false;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
index: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
generateId: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}, unknown, unknown, {
|
|
16
|
+
getId(): string | undefined;
|
|
17
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
18
|
data: {
|
|
8
19
|
type: ObjectConstructor;
|
|
9
20
|
required: false;
|
|
10
21
|
};
|
|
11
|
-
|
|
22
|
+
index: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
generateId: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>>, {
|
|
32
|
+
index: number;
|
|
33
|
+
generateId: boolean;
|
|
34
|
+
}, {}>;
|
|
12
35
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import { default as BlockLinkCard } from './BlockLinkCard.vue';
|
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
4
|
export { BlockLinkCard as component };
|
|
5
|
+
export let tags: string[];
|
|
5
6
|
export let excludeStories: RegExp;
|
|
6
7
|
export let decorators: (() => {
|
|
7
8
|
template: string;
|
|
@@ -216,6 +216,7 @@ export namespace BlockStreamfieldData {
|
|
|
216
216
|
}[];
|
|
217
217
|
} | {
|
|
218
218
|
blockType: string;
|
|
219
|
+
field: string;
|
|
219
220
|
items: ({
|
|
220
221
|
description: string;
|
|
221
222
|
heading: string;
|
|
@@ -321,6 +322,7 @@ export namespace BlockStreamfieldData {
|
|
|
321
322
|
value?: undefined;
|
|
322
323
|
showTitle?: undefined;
|
|
323
324
|
items?: undefined;
|
|
325
|
+
field?: undefined;
|
|
324
326
|
} | {
|
|
325
327
|
blockType: string;
|
|
326
328
|
value: string;
|
|
@@ -328,6 +330,7 @@ export namespace BlockStreamfieldData {
|
|
|
328
330
|
level?: undefined;
|
|
329
331
|
showTitle?: undefined;
|
|
330
332
|
items?: undefined;
|
|
333
|
+
field?: undefined;
|
|
331
334
|
} | {
|
|
332
335
|
blockType: string;
|
|
333
336
|
heading: string;
|
|
@@ -335,6 +338,7 @@ export namespace BlockStreamfieldData {
|
|
|
335
338
|
value?: undefined;
|
|
336
339
|
showTitle?: undefined;
|
|
337
340
|
items?: undefined;
|
|
341
|
+
field?: undefined;
|
|
338
342
|
} | {
|
|
339
343
|
heading: string;
|
|
340
344
|
introduction: string;
|
|
@@ -368,6 +372,7 @@ export namespace BlockStreamfieldData {
|
|
|
368
372
|
level?: undefined;
|
|
369
373
|
showTitle?: undefined;
|
|
370
374
|
items?: undefined;
|
|
375
|
+
field?: undefined;
|
|
371
376
|
} | {
|
|
372
377
|
blockType: string;
|
|
373
378
|
showTitle: boolean;
|
|
@@ -390,6 +395,7 @@ export namespace BlockStreamfieldData {
|
|
|
390
395
|
value?: undefined;
|
|
391
396
|
heading?: undefined;
|
|
392
397
|
level?: undefined;
|
|
398
|
+
field?: undefined;
|
|
393
399
|
} | {
|
|
394
400
|
blockType: string;
|
|
395
401
|
embed: {
|
|
@@ -402,6 +408,60 @@ export namespace BlockStreamfieldData {
|
|
|
402
408
|
level?: undefined;
|
|
403
409
|
showTitle?: undefined;
|
|
404
410
|
items?: undefined;
|
|
411
|
+
field?: undefined;
|
|
412
|
+
} | {
|
|
413
|
+
blockType: string;
|
|
414
|
+
field: string;
|
|
415
|
+
items: ({
|
|
416
|
+
label: string;
|
|
417
|
+
title: string;
|
|
418
|
+
description: string;
|
|
419
|
+
image: {
|
|
420
|
+
alt: string;
|
|
421
|
+
src: {
|
|
422
|
+
height: number;
|
|
423
|
+
url: string;
|
|
424
|
+
width: number;
|
|
425
|
+
};
|
|
426
|
+
srcSet: string;
|
|
427
|
+
};
|
|
428
|
+
link: {
|
|
429
|
+
page: null;
|
|
430
|
+
externalLink: string;
|
|
431
|
+
};
|
|
432
|
+
} | {
|
|
433
|
+
label: string;
|
|
434
|
+
title: string;
|
|
435
|
+
description: string;
|
|
436
|
+
image: {
|
|
437
|
+
alt: string;
|
|
438
|
+
src: {
|
|
439
|
+
height: number;
|
|
440
|
+
url: string;
|
|
441
|
+
width: number;
|
|
442
|
+
};
|
|
443
|
+
srcSet: string;
|
|
444
|
+
};
|
|
445
|
+
link: {
|
|
446
|
+
page: {
|
|
447
|
+
url: string;
|
|
448
|
+
};
|
|
449
|
+
externalLink: string;
|
|
450
|
+
};
|
|
451
|
+
} | {
|
|
452
|
+
label: string;
|
|
453
|
+
title: string;
|
|
454
|
+
description: string;
|
|
455
|
+
image: null;
|
|
456
|
+
link: {
|
|
457
|
+
page: null;
|
|
458
|
+
externalLink: string;
|
|
459
|
+
};
|
|
460
|
+
})[];
|
|
461
|
+
value?: undefined;
|
|
462
|
+
heading?: undefined;
|
|
463
|
+
level?: undefined;
|
|
464
|
+
showTitle?: undefined;
|
|
405
465
|
})[];
|
|
406
466
|
export { body_1 as body };
|
|
407
467
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ImageObject } from '../../interfaces';
|
|
2
|
+
import { BlockData, ImageObject } from '../../interfaces';
|
|
3
3
|
|
|
4
4
|
interface Variants {
|
|
5
5
|
[name: string]: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const variants: Variants;
|
|
8
|
-
export interface StreamfieldBlockData {
|
|
9
|
-
blockType: string;
|
|
8
|
+
export interface StreamfieldBlockData extends BlockData {
|
|
10
9
|
id: string;
|
|
11
10
|
fullBleed: boolean;
|
|
12
11
|
heading: string;
|
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
import { default as DetailHeadline } from './DetailHeadline.vue';
|
|
1
|
+
import { default as DetailHeadline, pillColorVariants } from './DetailHeadline.vue';
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
4
|
export { DetailHeadline as component };
|
|
5
5
|
export let excludeStories: RegExp;
|
|
6
|
+
export namespace argTypes {
|
|
7
|
+
namespace ariaLabel {
|
|
8
|
+
let type: string;
|
|
9
|
+
let description: string;
|
|
10
|
+
}
|
|
11
|
+
namespace pillColor {
|
|
12
|
+
let type_1: string;
|
|
13
|
+
export { type_1 as type };
|
|
14
|
+
let description_1: string;
|
|
15
|
+
export { description_1 as description };
|
|
16
|
+
export namespace control {
|
|
17
|
+
let type_2: string;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
}
|
|
20
|
+
export { pillColorVariants as options };
|
|
21
|
+
export namespace table {
|
|
22
|
+
namespace defaultValue {
|
|
23
|
+
let summary: string;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
6
28
|
}
|
|
7
29
|
export default _default;
|
|
8
30
|
export namespace DetailHeadlineData {
|
|
9
31
|
let title_1: string;
|
|
10
32
|
export { title_1 as title };
|
|
11
33
|
export let publicationDate: string;
|
|
34
|
+
export let readTime: string;
|
|
12
35
|
export namespace author {
|
|
13
36
|
let name: string;
|
|
14
37
|
let organization: string;
|
|
@@ -46,3 +69,9 @@ export namespace NoAuthor {
|
|
|
46
69
|
}
|
|
47
70
|
export { args_1 as args };
|
|
48
71
|
}
|
|
72
|
+
export namespace Pill {
|
|
73
|
+
export namespace args_2 {
|
|
74
|
+
let pill: boolean;
|
|
75
|
+
}
|
|
76
|
+
export { args_2 as args };
|
|
77
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { Topic, AuthorObject } from './../../interfaces';
|
|
3
3
|
|
|
4
|
+
export declare const pillColorVariants: string[];
|
|
4
5
|
declare const _default: import('vue').DefineComponent<{
|
|
5
6
|
title: {
|
|
6
7
|
type: StringConstructor;
|
|
@@ -22,6 +23,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
23
|
required: false;
|
|
23
24
|
default: undefined;
|
|
24
25
|
};
|
|
26
|
+
readTime: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
25
31
|
topics: {
|
|
26
32
|
type: PropType<Topic[]>;
|
|
27
33
|
required: false;
|
|
@@ -37,16 +43,30 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
43
|
required: false;
|
|
38
44
|
default: undefined;
|
|
39
45
|
};
|
|
46
|
+
pill: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
pillColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
validator: (prop: string) => boolean;
|
|
54
|
+
};
|
|
40
55
|
schema: {
|
|
41
56
|
type: BooleanConstructor;
|
|
42
57
|
default: boolean;
|
|
43
58
|
};
|
|
44
59
|
}, unknown, unknown, {
|
|
60
|
+
hasTag(): boolean;
|
|
61
|
+
hasEyebrow(): boolean;
|
|
62
|
+
hasByline(): boolean;
|
|
63
|
+
hasData(): boolean;
|
|
45
64
|
pubDatetime(): string | undefined;
|
|
46
65
|
authors(): {
|
|
47
66
|
name: string;
|
|
48
67
|
organization: string;
|
|
49
68
|
}[] | undefined;
|
|
69
|
+
pillLabel(): string | undefined;
|
|
50
70
|
themeStore: () => import('pinia').Store<"theme", import('../../store/theme').State, {
|
|
51
71
|
isEdu(state: {
|
|
52
72
|
theme: import('./../../interfaces').Explorer1Theme | null;
|
|
@@ -75,6 +95,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
75
95
|
required: false;
|
|
76
96
|
default: undefined;
|
|
77
97
|
};
|
|
98
|
+
readTime: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
78
103
|
topics: {
|
|
79
104
|
type: PropType<Topic[]>;
|
|
80
105
|
required: false;
|
|
@@ -90,6 +115,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
90
115
|
required: false;
|
|
91
116
|
default: undefined;
|
|
92
117
|
};
|
|
118
|
+
pill: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
pillColor: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
validator: (prop: string) => boolean;
|
|
126
|
+
};
|
|
93
127
|
schema: {
|
|
94
128
|
type: BooleanConstructor;
|
|
95
129
|
default: boolean;
|
|
@@ -100,8 +134,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
100
134
|
author: AuthorObject | AuthorObject[];
|
|
101
135
|
publicationDate: string;
|
|
102
136
|
publicationTime: string;
|
|
137
|
+
readTime: string;
|
|
103
138
|
topics: Topic[];
|
|
104
139
|
labelLink: string;
|
|
140
|
+
pill: boolean;
|
|
141
|
+
pillColor: string;
|
|
105
142
|
schema: boolean;
|
|
106
143
|
}, {}>;
|
|
107
144
|
export default _default;
|
|
@@ -9,6 +9,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
9
9
|
default: string;
|
|
10
10
|
validator: (prop: string) => boolean;
|
|
11
11
|
};
|
|
12
|
+
fullBleed: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
12
16
|
}, unknown, unknown, {
|
|
13
17
|
theWidth(): string;
|
|
14
18
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -18,7 +22,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
22
|
default: string;
|
|
19
23
|
validator: (prop: string) => boolean;
|
|
20
24
|
};
|
|
25
|
+
fullBleed: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
21
29
|
}>>, {
|
|
22
30
|
indent: string;
|
|
31
|
+
fullBleed: boolean;
|
|
23
32
|
}, {}>;
|
|
24
33
|
export default _default;
|
|
@@ -283,6 +283,7 @@ export namespace BaseStory {
|
|
|
283
283
|
updateHighlightPrimary(value: boolean): void;
|
|
284
284
|
updateGlobalChildren(value: any): void;
|
|
285
285
|
updateSecondary(value: any): void;
|
|
286
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
286
287
|
}>;
|
|
287
288
|
}, {
|
|
288
289
|
getUrlKey(item: import("../../utils/mixins").LinkObject): string | null;
|
|
@@ -395,6 +396,7 @@ export namespace NavInverted {
|
|
|
395
396
|
updateHighlightPrimary(value: boolean): void;
|
|
396
397
|
updateGlobalChildren(value: any): void;
|
|
397
398
|
updateSecondary(value: any): void;
|
|
399
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
398
400
|
}>;
|
|
399
401
|
}, {
|
|
400
402
|
getUrlKey(item: import("../../utils/mixins").LinkObject): string | null;
|
|
@@ -502,6 +504,7 @@ export namespace Dropdown {
|
|
|
502
504
|
updateHighlightPrimary(value: boolean): void;
|
|
503
505
|
updateGlobalChildren(value: any): void;
|
|
504
506
|
updateSecondary(value: any): void;
|
|
507
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
505
508
|
}>;
|
|
506
509
|
}, {
|
|
507
510
|
toggleDropdown(): void;
|
|
@@ -43,6 +43,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
43
|
updateHighlightPrimary(value: boolean): void;
|
|
44
44
|
updateGlobalChildren(value: any): void;
|
|
45
45
|
updateSecondary(value: any): void;
|
|
46
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
46
47
|
}>;
|
|
47
48
|
}, {
|
|
48
49
|
getUrlKey(item: LinkObject): string | null;
|
|
@@ -13,6 +13,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
13
|
updateHighlightPrimary(value: boolean): void;
|
|
14
14
|
updateGlobalChildren(value: any): void;
|
|
15
15
|
updateSecondary(value: any): void;
|
|
16
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
16
17
|
}>;
|
|
17
18
|
}, {
|
|
18
19
|
toggleDropdown(): void;
|
|
@@ -233,6 +233,7 @@ export namespace BaseStory {
|
|
|
233
233
|
updateHighlightPrimary(value: boolean): void;
|
|
234
234
|
updateGlobalChildren(value: any): void;
|
|
235
235
|
updateSecondary(value: any): void;
|
|
236
|
+
updateSecondaryNavIsJumpMenu(value: boolean): void;
|
|
236
237
|
}>;
|
|
237
238
|
}, {
|
|
238
239
|
getUrlKey(item: import("../../utils/mixins").LinkObject): string | null;
|