@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
|
@@ -161,6 +161,7 @@ export namespace BaseStory {
|
|
|
161
161
|
}[];
|
|
162
162
|
} | {
|
|
163
163
|
blockType: string;
|
|
164
|
+
field: string;
|
|
164
165
|
items: ({
|
|
165
166
|
description: string;
|
|
166
167
|
heading: string;
|
|
@@ -266,6 +267,7 @@ export namespace BaseStory {
|
|
|
266
267
|
value?: undefined;
|
|
267
268
|
showTitle?: undefined;
|
|
268
269
|
items?: undefined;
|
|
270
|
+
field?: undefined;
|
|
269
271
|
} | {
|
|
270
272
|
blockType: string;
|
|
271
273
|
value: string;
|
|
@@ -273,6 +275,7 @@ export namespace BaseStory {
|
|
|
273
275
|
level?: undefined;
|
|
274
276
|
showTitle?: undefined;
|
|
275
277
|
items?: undefined;
|
|
278
|
+
field?: undefined;
|
|
276
279
|
} | {
|
|
277
280
|
blockType: string;
|
|
278
281
|
heading: string;
|
|
@@ -280,6 +283,7 @@ export namespace BaseStory {
|
|
|
280
283
|
value?: undefined;
|
|
281
284
|
showTitle?: undefined;
|
|
282
285
|
items?: undefined;
|
|
286
|
+
field?: undefined;
|
|
283
287
|
} | {
|
|
284
288
|
heading: string;
|
|
285
289
|
introduction: string;
|
|
@@ -313,6 +317,7 @@ export namespace BaseStory {
|
|
|
313
317
|
level?: undefined;
|
|
314
318
|
showTitle?: undefined;
|
|
315
319
|
items?: undefined;
|
|
320
|
+
field?: undefined;
|
|
316
321
|
} | {
|
|
317
322
|
blockType: string;
|
|
318
323
|
showTitle: boolean;
|
|
@@ -335,6 +340,7 @@ export namespace BaseStory {
|
|
|
335
340
|
value?: undefined;
|
|
336
341
|
heading?: undefined;
|
|
337
342
|
level?: undefined;
|
|
343
|
+
field?: undefined;
|
|
338
344
|
} | {
|
|
339
345
|
blockType: string;
|
|
340
346
|
embed: {
|
|
@@ -347,6 +353,60 @@ export namespace BaseStory {
|
|
|
347
353
|
level?: undefined;
|
|
348
354
|
showTitle?: undefined;
|
|
349
355
|
items?: undefined;
|
|
356
|
+
field?: undefined;
|
|
357
|
+
} | {
|
|
358
|
+
blockType: string;
|
|
359
|
+
field: string;
|
|
360
|
+
items: ({
|
|
361
|
+
label: string;
|
|
362
|
+
title: string;
|
|
363
|
+
description: string;
|
|
364
|
+
image: {
|
|
365
|
+
alt: string;
|
|
366
|
+
src: {
|
|
367
|
+
height: number;
|
|
368
|
+
url: string;
|
|
369
|
+
width: number;
|
|
370
|
+
};
|
|
371
|
+
srcSet: string;
|
|
372
|
+
};
|
|
373
|
+
link: {
|
|
374
|
+
page: null;
|
|
375
|
+
externalLink: string;
|
|
376
|
+
};
|
|
377
|
+
} | {
|
|
378
|
+
label: string;
|
|
379
|
+
title: string;
|
|
380
|
+
description: string;
|
|
381
|
+
image: {
|
|
382
|
+
alt: string;
|
|
383
|
+
src: {
|
|
384
|
+
height: number;
|
|
385
|
+
url: string;
|
|
386
|
+
width: number;
|
|
387
|
+
};
|
|
388
|
+
srcSet: string;
|
|
389
|
+
};
|
|
390
|
+
link: {
|
|
391
|
+
page: {
|
|
392
|
+
url: string;
|
|
393
|
+
};
|
|
394
|
+
externalLink: string;
|
|
395
|
+
};
|
|
396
|
+
} | {
|
|
397
|
+
label: string;
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
400
|
+
image: null;
|
|
401
|
+
link: {
|
|
402
|
+
page: null;
|
|
403
|
+
externalLink: string;
|
|
404
|
+
};
|
|
405
|
+
})[];
|
|
406
|
+
value?: undefined;
|
|
407
|
+
heading?: undefined;
|
|
408
|
+
level?: undefined;
|
|
409
|
+
showTitle?: undefined;
|
|
350
410
|
})[];
|
|
351
411
|
latestAsteroidNews: ({
|
|
352
412
|
url: string;
|
|
@@ -69,7 +69,24 @@ export namespace Template {
|
|
|
69
69
|
label?: undefined;
|
|
70
70
|
})[];
|
|
71
71
|
facts: ({
|
|
72
|
-
|
|
72
|
+
label: string;
|
|
73
|
+
title: string;
|
|
74
|
+
description: string;
|
|
75
|
+
image: {
|
|
76
|
+
alt: string;
|
|
77
|
+
src: {
|
|
78
|
+
height: number;
|
|
79
|
+
url: string;
|
|
80
|
+
width: number;
|
|
81
|
+
};
|
|
82
|
+
srcSet: string;
|
|
83
|
+
};
|
|
84
|
+
link: {
|
|
85
|
+
page: null;
|
|
86
|
+
externalLink: string;
|
|
87
|
+
};
|
|
88
|
+
} | {
|
|
89
|
+
label: string;
|
|
73
90
|
title: string;
|
|
74
91
|
description: string;
|
|
75
92
|
image: {
|
|
@@ -81,11 +98,21 @@ export namespace Template {
|
|
|
81
98
|
};
|
|
82
99
|
srcSet: string;
|
|
83
100
|
};
|
|
101
|
+
link: {
|
|
102
|
+
page: {
|
|
103
|
+
url: string;
|
|
104
|
+
};
|
|
105
|
+
externalLink: string;
|
|
106
|
+
};
|
|
84
107
|
} | {
|
|
85
|
-
|
|
108
|
+
label: string;
|
|
86
109
|
title: string;
|
|
87
110
|
description: string;
|
|
88
111
|
image: null;
|
|
112
|
+
link: {
|
|
113
|
+
page: null;
|
|
114
|
+
externalLink: string;
|
|
115
|
+
};
|
|
89
116
|
})[];
|
|
90
117
|
body: ({
|
|
91
118
|
blockType: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const eventBus: import('mitt').Emitter<Record<import('mitt').EventType, unknown>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHeadingId: (heading: string, index?: number) => string;
|
|
@@ -44,7 +44,7 @@ export declare const mixinTransparentHeader: () => void;
|
|
|
44
44
|
export declare const mixinGetLinkText: (item: LinkObject) => string;
|
|
45
45
|
export declare const mixinGetRouterLink: (link: LinkObject) => string | undefined;
|
|
46
46
|
export declare const mixinUpdateGlobalChildren: (value: [BreadcrumbPathObject] | null) => void;
|
|
47
|
-
export declare const mixinUpdateSecondary: (value: [
|
|
47
|
+
export declare const mixinUpdateSecondary: (value: BreadcrumbPathObject[] | undefined, isJumpMenu?: boolean) => void;
|
|
48
48
|
export declare const mixinHighlightPrimary: (value: boolean) => void;
|
|
49
49
|
export declare const mixinIsActivePath: (itemPath: string) => Boolean;
|
|
50
50
|
export declare const mixinGetSrcSet: (srcSetObject: Partial<ImageObject>) => string;
|