@explorer-1/vue 0.0.3 → 0.1.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.
- package/dist/explorer-1-vue.js +4555 -4478
- package/dist/explorer-1-vue.umd.cjs +16 -16
- package/dist/src/components/BaseAudio/BaseAudio.vue.d.ts +4 -4
- package/dist/src/components/BaseVideo/BaseVideo.stories.d.ts +2 -5
- package/dist/src/components/BlockImageCarousel/BlockImageCarousel.vue.d.ts +8 -0
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.d.ts +32 -8
- package/dist/src/components/EventDetailHero/EventDetailHero.vue.d.ts +2 -2
- package/dist/src/components/HeroMedia/HeroMedia.stories.d.ts +0 -3
- package/dist/src/components/HomepageCarousel/HomepageCarousel.stories.d.ts +6 -0
- package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +3 -3
- package/dist/src/components/NavMobile/NavMobile.stories.d.ts +3 -3
- package/dist/src/docs/foundation/themes.stories.d.ts +1 -12
- package/dist/src/templates/PageContent/PageContent.stories.d.ts +0 -3
- package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +0 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/BaseAudio/BaseAudio.stories.js +1 -1
- package/src/components/BaseAudio/BaseAudio.vue +89 -57
- package/src/components/BaseImage/BaseImage.vue +1 -0
- package/src/components/BaseTimer/BaseTimer.vue +1 -0
- package/src/components/BaseVideo/BaseVideo.stories.js +2 -4
- package/src/components/BlockIframeEmbed/BlockIframeEmbed.vue +1 -0
- package/src/components/BlockImageCarousel/BlockImageCarousel.vue +7 -0
- package/src/components/BlockImageGallery/BlockImageGallery.vue +1 -0
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +15 -14
- package/src/components/BlockQuote/BlockQuote.vue +1 -0
- package/src/components/BlockTable/BlockTable.vue +1 -1
- package/src/components/EventDetailHero/EventDetailHero.vue +12 -6
- package/src/components/FormContact/FormContact.vue +1 -1
- package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +1 -1
- package/src/components/HeroListingIndex/HeroListingIndex.stories.js +2 -4
- package/src/components/HeroMedia/HeroMedia.stories.js +0 -5
- package/src/components/HeroMedia/HeroMedia.vue +2 -1
- package/src/components/HomepageCarousel/HomepageCarousel.stories.js +3 -0
- package/src/components/HomepageCarouselItem/HomepageCarouselItem.vue +1 -0
- package/src/components/MissionDetailHero/MissionDetailHero.vue +1 -0
- package/src/components/MissionDetailStats/MissionDetailStats.vue +2 -2
- package/src/components/MissionDetailStats/MissionDetailStatsMicro.vue +1 -1
- package/src/components/MissionDetailStats/MissionDetailStatsMini.vue +3 -3
- package/src/components/MixinCarousel/MixinCarousel.stories.js +2 -2
- package/src/components/MixinCarousel/MixinCarousel.vue +5 -2
- package/src/components/MixinFancybox/MixinFancybox.vue +1 -0
- package/src/components/NavDesktop/NavDesktop.stories.js +1 -1
- package/src/components/NavDesktop/NavDesktopDropdownContent.vue +1 -1
- package/src/components/NavDesktop/NavDesktopDropdownMore.vue +1 -1
- package/src/components/NavHeading/NavHeading.stories.js +1 -1
- package/src/components/NavHeading/NavHeading.vue +2 -2
- package/src/components/NavLinkList/NavLinkList.stories.js +1 -1
- package/src/components/NavSocial/NavSocial.stories.js +1 -1
- package/src/components/SearchFilterGroup/SearchFilterGroup.vue +1 -1
- package/src/components/SearchResultCard/SearchResultCard.vue +2 -1
- package/src/components/TheFooter/TheFooter.vue +1 -1
- package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.vue +1 -1
- package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.vue +2 -2
- package/src/docs/foundation/DynamicTokens.vue +4 -4
- package/src/docs/foundation/color.docs.mdx +50 -45
- package/src/docs/foundation/themes.docs.mdx +8 -2
- package/src/docs/foundation/themes.stories.js +0 -35
- package/src/templates/PageContent/PageContent.stories.js +0 -5
- package/src/templates/PageContent/PageContent.vue +62 -37
- package/src/templates/PageEventDetail/PageEventDetail.stories.js +0 -5
- package/src/templates/PageEventDetail/PageEventDetail.vue +32 -0
- package/src/templates/edu/PageEduNewsDetail.vue +9 -1
- package/src/utils/dayjs.js +5 -5
|
@@ -19,7 +19,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
19
19
|
progressStyle: string;
|
|
20
20
|
currentTime: string;
|
|
21
21
|
uuid: string;
|
|
22
|
-
audio
|
|
22
|
+
audio?: HTMLAudioElement | undefined;
|
|
23
23
|
totalDuration: number;
|
|
24
24
|
hideVolumeSlider: boolean;
|
|
25
25
|
volumeValue: number;
|
|
@@ -32,10 +32,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
32
|
toggleVolume(): void;
|
|
33
33
|
stop(): void;
|
|
34
34
|
play(): void;
|
|
35
|
-
forward(duration:
|
|
36
|
-
rewind(duration:
|
|
35
|
+
forward(duration: number): number | undefined;
|
|
36
|
+
rewind(duration: number): number | undefined;
|
|
37
37
|
pause(): void;
|
|
38
|
-
pauseOthers(activeUuid:
|
|
38
|
+
pauseOthers(activeUuid: string): void;
|
|
39
39
|
toggleMute(): void;
|
|
40
40
|
_handleLoaded(): void;
|
|
41
41
|
_handlePlayingUI(_e: any): void;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { default as BaseVideo } from './BaseVideo.vue';
|
|
2
|
-
import { default as videoMp4 } from '@explorer-1/common-storybook/src/videos/NASA-Mars-Helicopter-IngenuityAnimations-7sec.mp4';
|
|
3
|
-
import { default as videoWebm } from '@explorer-1/common-storybook/src/videos/NASA-Mars-Helicopter-IngenuityAnimations-7sec.webm';
|
|
4
|
-
/// <reference types="vite/client" />
|
|
5
2
|
declare namespace _default {
|
|
6
3
|
export let title: string;
|
|
7
4
|
export { BaseVideo as component };
|
|
@@ -10,10 +7,10 @@ declare namespace _default {
|
|
|
10
7
|
export default _default;
|
|
11
8
|
export namespace BaseVideoData {
|
|
12
9
|
export let duration: string;
|
|
13
|
-
export
|
|
10
|
+
export let file: string;
|
|
14
11
|
export let fileExtension: string;
|
|
15
12
|
export let fileOgg: string;
|
|
16
|
-
export
|
|
13
|
+
export let fileWebm: string;
|
|
17
14
|
export let height: null;
|
|
18
15
|
export let id: string;
|
|
19
16
|
export let sources: string;
|
|
@@ -8,6 +8,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
8
8
|
type: PropType<Partial<ImageObject>[]>;
|
|
9
9
|
required: false;
|
|
10
10
|
};
|
|
11
|
+
itemRole: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
};
|
|
11
15
|
loop: {
|
|
12
16
|
type: BooleanConstructor;
|
|
13
17
|
default: boolean;
|
|
@@ -42,6 +46,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
42
46
|
type: PropType<Partial<ImageObject>[]>;
|
|
43
47
|
required: false;
|
|
44
48
|
};
|
|
49
|
+
itemRole: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
45
53
|
loop: {
|
|
46
54
|
type: BooleanConstructor;
|
|
47
55
|
default: boolean;
|
|
@@ -195,13 +195,37 @@ export function MultipleCarousels(args: any): {
|
|
|
195
195
|
template: string;
|
|
196
196
|
};
|
|
197
197
|
export namespace MultipleCarousels {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
198
|
+
let args_4: {
|
|
199
|
+
itemType: string;
|
|
200
|
+
heading: string;
|
|
201
|
+
otherHeading: string;
|
|
202
|
+
items: ({
|
|
203
|
+
url: string;
|
|
204
|
+
title: string;
|
|
205
|
+
slug: string;
|
|
206
|
+
label: string;
|
|
207
|
+
thumbnailImage: {
|
|
208
|
+
src: {
|
|
209
|
+
url: string;
|
|
210
|
+
width: number;
|
|
211
|
+
height: number;
|
|
212
|
+
};
|
|
213
|
+
alt: string;
|
|
214
|
+
};
|
|
215
|
+
} | {
|
|
216
|
+
url: string;
|
|
217
|
+
title: string;
|
|
218
|
+
slug: string;
|
|
219
|
+
thumbnailImage: {
|
|
220
|
+
src: {
|
|
221
|
+
url: string;
|
|
222
|
+
width: number;
|
|
223
|
+
height: number;
|
|
224
|
+
};
|
|
225
|
+
alt: string;
|
|
226
|
+
};
|
|
227
|
+
label?: undefined;
|
|
228
|
+
})[];
|
|
229
|
+
}[];
|
|
206
230
|
export { args_4 as args };
|
|
207
231
|
}
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
required: false;
|
|
8
8
|
};
|
|
9
9
|
startDateSplit: {
|
|
10
|
-
type: PropType<EventDateObject>;
|
|
10
|
+
type: PropType<EventDateObject | undefined>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
image: {
|
|
@@ -22,7 +22,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
required: false;
|
|
23
23
|
};
|
|
24
24
|
startDateSplit: {
|
|
25
|
-
type: PropType<EventDateObject>;
|
|
25
|
+
type: PropType<EventDateObject | undefined>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
28
|
image: {
|
|
@@ -3,9 +3,6 @@ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories';
|
|
|
3
3
|
declare namespace _default {
|
|
4
4
|
export let title: string;
|
|
5
5
|
export { HeroMedia as component };
|
|
6
|
-
export let decorators: (() => {
|
|
7
|
-
template: string;
|
|
8
|
-
})[];
|
|
9
6
|
export namespace parameters {
|
|
10
7
|
namespace html {
|
|
11
8
|
let root: string;
|
|
@@ -171,6 +171,12 @@ export namespace Shuffled {
|
|
|
171
171
|
export { duration_1 as duration };
|
|
172
172
|
}
|
|
173
173
|
export { args_1 as args };
|
|
174
|
+
export namespace parameters_1 {
|
|
175
|
+
namespace chromatic {
|
|
176
|
+
let disableSnapshot: boolean;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
export { parameters_1 as parameters };
|
|
174
180
|
}
|
|
175
181
|
export namespace OneSlide {
|
|
176
182
|
let name_1: string;
|
|
@@ -280,7 +280,7 @@ export namespace Nav {
|
|
|
280
280
|
}, {
|
|
281
281
|
breadcrumb(): import("../../utils/mixins").BreadcrumbObject | null;
|
|
282
282
|
invert(): boolean;
|
|
283
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
283
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
284
284
|
makeTransparent(value: boolean): void;
|
|
285
285
|
updateHighlightPrimary(value: boolean): void;
|
|
286
286
|
updateGlobalChildren(value: any): void;
|
|
@@ -392,7 +392,7 @@ export namespace NavInverted {
|
|
|
392
392
|
}, {
|
|
393
393
|
breadcrumb(): import("../../utils/mixins").BreadcrumbObject | null;
|
|
394
394
|
invert(): boolean;
|
|
395
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
395
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
396
396
|
makeTransparent(value: boolean): void;
|
|
397
397
|
updateHighlightPrimary(value: boolean): void;
|
|
398
398
|
updateGlobalChildren(value: any): void;
|
|
@@ -499,7 +499,7 @@ export namespace Dropdown {
|
|
|
499
499
|
dropdownVisible: boolean;
|
|
500
500
|
}, {
|
|
501
501
|
hasSecondary(): boolean;
|
|
502
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
502
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
503
503
|
makeTransparent(value: boolean): void;
|
|
504
504
|
updateHighlightPrimary(value: boolean): void;
|
|
505
505
|
updateGlobalChildren(value: any): void;
|
|
@@ -80,7 +80,7 @@ export namespace Nav {
|
|
|
80
80
|
breadcrumb(): import("../../utils/mixins").BreadcrumbObject | null;
|
|
81
81
|
headerClasses(): string;
|
|
82
82
|
hasSecondary(): boolean;
|
|
83
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
83
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
84
84
|
makeTransparent(value: boolean): void;
|
|
85
85
|
updateHighlightPrimary(value: boolean): void;
|
|
86
86
|
updateGlobalChildren(value: any): void;
|
|
@@ -180,7 +180,7 @@ export namespace WithSecondaryNav {
|
|
|
180
180
|
breadcrumb(): import("../../utils/mixins").BreadcrumbObject | null;
|
|
181
181
|
headerClasses(): string;
|
|
182
182
|
hasSecondary(): boolean;
|
|
183
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
183
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
184
184
|
makeTransparent(value: boolean): void;
|
|
185
185
|
updateHighlightPrimary(value: boolean): void;
|
|
186
186
|
updateGlobalChildren(value: any): void;
|
|
@@ -281,7 +281,7 @@ export namespace WithTertiaryNav {
|
|
|
281
281
|
breadcrumb(): import("../../utils/mixins").BreadcrumbObject | null;
|
|
282
282
|
headerClasses(): string;
|
|
283
283
|
hasSecondary(): boolean;
|
|
284
|
-
headerStore: () => import("pinia").Store<"header", import("
|
|
284
|
+
headerStore: () => import("pinia").Store<"header", import("@explorer-1/vue/src/store/header").State, {}, {
|
|
285
285
|
makeTransparent(value: boolean): void;
|
|
286
286
|
updateHighlightPrimary(value: boolean): void;
|
|
287
287
|
updateGlobalChildren(value: any): void;
|
|
@@ -9,7 +9,7 @@ export namespace DynamicTokenStory {
|
|
|
9
9
|
let name: string;
|
|
10
10
|
let args: {};
|
|
11
11
|
}
|
|
12
|
-
export namespace
|
|
12
|
+
export namespace AdaptiveText {
|
|
13
13
|
let args_1: {};
|
|
14
14
|
export { args_1 as args };
|
|
15
15
|
export function render(args: any): {
|
|
@@ -19,14 +19,3 @@ export namespace Internal {
|
|
|
19
19
|
template: string;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export namespace AdaptiveText {
|
|
23
|
-
let args_2: {};
|
|
24
|
-
export { args_2 as args };
|
|
25
|
-
export function render_1(args: any): {
|
|
26
|
-
setup(): {
|
|
27
|
-
args: any;
|
|
28
|
-
};
|
|
29
|
-
template: string;
|
|
30
|
-
};
|
|
31
|
-
export { render_1 as render };
|
|
32
|
-
}
|
|
@@ -2,9 +2,6 @@ import { default as PageContent } from './PageContent.vue';
|
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
4
|
export { PageContent as component };
|
|
5
|
-
export let decorators: (() => {
|
|
6
|
-
template: string;
|
|
7
|
-
})[];
|
|
8
5
|
export namespace parameters {
|
|
9
6
|
namespace html {
|
|
10
7
|
let root: string;
|
|
@@ -2,9 +2,6 @@ import { default as PageEventDetail } from './PageEventDetail.vue';
|
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
export let title: string;
|
|
4
4
|
export { PageEventDetail as component };
|
|
5
|
-
export let decorators: (() => {
|
|
6
|
-
template: string;
|
|
7
|
-
})[];
|
|
8
5
|
export namespace parameters {
|
|
9
6
|
namespace html {
|
|
10
7
|
let root: string;
|