@explorer-1/vue 0.2.26 → 0.2.27
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 +2 -0
- package/dist/explorer-1-vue.js +1159 -1109
- package/dist/explorer-1-vue.umd.cjs +13 -13
- package/dist/src/components/BasePill/BasePill.vue.d.ts +4 -0
- package/dist/src/components/HeroLarge/HeroLarge.vue.d.ts +45 -3
- package/dist/src/components/HeroMedium/HeroMedium.vue.d.ts +1 -1
- package/dist/src/interfaces.d.ts +2 -0
- package/dist/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.stories.d.ts +123 -0
- package/dist/src/templates/edu/PageEduLesson/PageEduLesson.stories.d.ts +1 -0
- package/dist/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.stories.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/BasePill/BasePill.vue +4 -1
- package/src/components/BlockLinkCard/BlockLinkCard.vue +2 -2
- package/src/components/HeroInlineMedia/HeroInlineMedia.vue +77 -0
- package/src/components/HeroLarge/HeroLarge.vue +49 -10
- package/src/components/HeroMedium/HeroMedium.vue +1 -1
- package/src/components/MetaPanel/MetaPanel.vue +1 -1
- package/src/components/MetaPanelItems/MetaPanelItems.vue +11 -8
- package/src/constants.ts +11 -0
- package/src/interfaces.ts +1 -0
- package/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.stories.js +103 -0
- package/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.vue +146 -0
- package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +5 -42
- package/src/templates/edu/PageEduLesson/PageEduLesson.vue +4 -36
- package/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.vue +4 -42
- package/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.vue +1 -1
- package/src/templates/www/PageTopicDetail/PageTopicDetail.vue +1 -1
|
@@ -2,19 +2,23 @@ interface BasePillProps {
|
|
|
2
2
|
variant?: string;
|
|
3
3
|
size?: string;
|
|
4
4
|
contentType?: string;
|
|
5
|
+
invert?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BasePillProps>, {
|
|
7
8
|
variant: string;
|
|
8
9
|
size: string;
|
|
9
10
|
contentType: undefined;
|
|
11
|
+
invert: boolean;
|
|
10
12
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BasePillProps>, {
|
|
11
13
|
variant: string;
|
|
12
14
|
size: string;
|
|
13
15
|
contentType: undefined;
|
|
16
|
+
invert: boolean;
|
|
14
17
|
}>>>, {
|
|
15
18
|
variant: string;
|
|
16
19
|
size: string;
|
|
17
20
|
contentType: string;
|
|
21
|
+
invert: boolean;
|
|
18
22
|
}, {}>, {
|
|
19
23
|
default?(_: {}): any;
|
|
20
24
|
}>;
|
|
@@ -1,46 +1,88 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
|
|
2
|
+
label: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: false;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
customPill: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
customPillType: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: undefined;
|
|
5
16
|
};
|
|
6
17
|
title: {
|
|
7
18
|
type: StringConstructor;
|
|
8
19
|
required: false;
|
|
20
|
+
default: undefined;
|
|
9
21
|
};
|
|
10
22
|
summary: {
|
|
11
23
|
type: StringConstructor;
|
|
12
24
|
required: false;
|
|
25
|
+
default: undefined;
|
|
13
26
|
};
|
|
14
27
|
image: {
|
|
15
28
|
type: ObjectConstructor;
|
|
16
29
|
required: false;
|
|
30
|
+
default: undefined;
|
|
17
31
|
};
|
|
18
32
|
hasOverlay: {
|
|
19
33
|
type: BooleanConstructor;
|
|
20
34
|
default: boolean;
|
|
21
35
|
};
|
|
22
|
-
}, unknown, unknown, {
|
|
23
|
-
|
|
36
|
+
}, unknown, unknown, {
|
|
37
|
+
themeStore: () => import('pinia').Store<"theme", import('../../store/theme').State, {
|
|
38
|
+
isEdu(state: {
|
|
39
|
+
theme: import('../../interfaces').Explorer1Theme | null;
|
|
40
|
+
} & import('pinia').PiniaCustomStateProperties<import('../../store/theme').State>): boolean;
|
|
41
|
+
}, {
|
|
42
|
+
setTheme(value: import('../../interfaces').Explorer1Theme): void;
|
|
43
|
+
}>;
|
|
44
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
label: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
customPill: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
customPillType: {
|
|
24
56
|
type: StringConstructor;
|
|
25
57
|
required: false;
|
|
58
|
+
default: undefined;
|
|
26
59
|
};
|
|
27
60
|
title: {
|
|
28
61
|
type: StringConstructor;
|
|
29
62
|
required: false;
|
|
63
|
+
default: undefined;
|
|
30
64
|
};
|
|
31
65
|
summary: {
|
|
32
66
|
type: StringConstructor;
|
|
33
67
|
required: false;
|
|
68
|
+
default: undefined;
|
|
34
69
|
};
|
|
35
70
|
image: {
|
|
36
71
|
type: ObjectConstructor;
|
|
37
72
|
required: false;
|
|
73
|
+
default: undefined;
|
|
38
74
|
};
|
|
39
75
|
hasOverlay: {
|
|
40
76
|
type: BooleanConstructor;
|
|
41
77
|
default: boolean;
|
|
42
78
|
};
|
|
43
79
|
}>>, {
|
|
80
|
+
label: string;
|
|
81
|
+
summary: string;
|
|
82
|
+
title: string;
|
|
83
|
+
image: Record<string, any>;
|
|
84
|
+
customPill: string;
|
|
85
|
+
customPillType: string;
|
|
44
86
|
hasOverlay: boolean;
|
|
45
87
|
}, {}>;
|
|
46
88
|
export default _default;
|
|
@@ -86,9 +86,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
86
86
|
}>>, {
|
|
87
87
|
compact: boolean;
|
|
88
88
|
customLabel: string;
|
|
89
|
-
feature: Record<string, any>;
|
|
90
89
|
customPill: string;
|
|
91
90
|
customPillType: string;
|
|
91
|
+
feature: Record<string, any>;
|
|
92
92
|
cta: string;
|
|
93
93
|
customVideo: Record<string, any>;
|
|
94
94
|
customImage: Record<string, any>;
|
package/dist/src/interfaces.d.ts
CHANGED
|
@@ -181,6 +181,7 @@ export type MetadataType = 'event' | 'resource';
|
|
|
181
181
|
export interface LabelObject {
|
|
182
182
|
label?: string;
|
|
183
183
|
variant: string;
|
|
184
|
+
icons?: string;
|
|
184
185
|
type?: MetadataType;
|
|
185
186
|
}
|
|
186
187
|
export interface PillDictionaryInterface {
|
|
@@ -197,6 +198,7 @@ export type MetaPanelTheme = 'primary' | 'secondary' | 'stars';
|
|
|
197
198
|
export interface PageObject {
|
|
198
199
|
__typename: string;
|
|
199
200
|
contentType: string;
|
|
201
|
+
lastPublishedAt?: string;
|
|
200
202
|
breadcrumb?: string;
|
|
201
203
|
slug: string;
|
|
202
204
|
url: string;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { default as PageEduCollectionsDetail } from './PageEduCollectionsDetail.vue';
|
|
2
|
+
import { BlockLinkCardCarouselData } from './../../../components/BlockLinkCarousel/BlockLinkCarousel.stories.js';
|
|
3
|
+
declare namespace _default {
|
|
4
|
+
export let title: string;
|
|
5
|
+
export { PageEduCollectionsDetail as component };
|
|
6
|
+
export let tags: string[];
|
|
7
|
+
export let decorators: (() => {
|
|
8
|
+
template: string;
|
|
9
|
+
})[];
|
|
10
|
+
export namespace parameters {
|
|
11
|
+
let layout: string;
|
|
12
|
+
namespace html {
|
|
13
|
+
let root: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export let excludeStories: RegExp;
|
|
17
|
+
}
|
|
18
|
+
export default _default;
|
|
19
|
+
export namespace BaseStory {
|
|
20
|
+
let name: string;
|
|
21
|
+
namespace args {
|
|
22
|
+
namespace data {
|
|
23
|
+
export let __typename: string;
|
|
24
|
+
let title_1: string;
|
|
25
|
+
export { title_1 as title };
|
|
26
|
+
export let lastPublishedAt: string;
|
|
27
|
+
export let url: string;
|
|
28
|
+
export let pageType: string;
|
|
29
|
+
export let contentType: string;
|
|
30
|
+
export let showJumpMenu: boolean;
|
|
31
|
+
export let showMetaPanel: boolean;
|
|
32
|
+
export namespace thumbnailImage {
|
|
33
|
+
let __typename_1: string;
|
|
34
|
+
export { __typename_1 as __typename };
|
|
35
|
+
export let original: string;
|
|
36
|
+
export let alt: string;
|
|
37
|
+
}
|
|
38
|
+
export namespace heroImage {
|
|
39
|
+
namespace src {
|
|
40
|
+
let url_1: string;
|
|
41
|
+
export { url_1 as url };
|
|
42
|
+
export let width: number;
|
|
43
|
+
export let height: number;
|
|
44
|
+
}
|
|
45
|
+
let srcSet: string;
|
|
46
|
+
namespace screenMd {
|
|
47
|
+
let url_2: string;
|
|
48
|
+
export { url_2 as url };
|
|
49
|
+
}
|
|
50
|
+
namespace screenSm {
|
|
51
|
+
let url_3: string;
|
|
52
|
+
export { url_3 as url };
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export let heroImageCaption: string;
|
|
56
|
+
export let heroConstrain: boolean;
|
|
57
|
+
export let heroPosition: string;
|
|
58
|
+
export namespace primarySubject {
|
|
59
|
+
let subject: string;
|
|
60
|
+
}
|
|
61
|
+
export let additionalSubjects: {
|
|
62
|
+
subject: string;
|
|
63
|
+
}[];
|
|
64
|
+
export let gradeLevels: {
|
|
65
|
+
gradeLevel: string;
|
|
66
|
+
}[];
|
|
67
|
+
export let body: {
|
|
68
|
+
blockType: string;
|
|
69
|
+
value: string;
|
|
70
|
+
}[];
|
|
71
|
+
export let relatedLinks: {
|
|
72
|
+
blockType: string;
|
|
73
|
+
heading: string;
|
|
74
|
+
links: ({
|
|
75
|
+
text: string;
|
|
76
|
+
document: {
|
|
77
|
+
url: string;
|
|
78
|
+
};
|
|
79
|
+
page: string;
|
|
80
|
+
externalLink: string;
|
|
81
|
+
} | {
|
|
82
|
+
text: string;
|
|
83
|
+
document: string;
|
|
84
|
+
page: {
|
|
85
|
+
url: string;
|
|
86
|
+
};
|
|
87
|
+
externalLink: string;
|
|
88
|
+
} | {
|
|
89
|
+
text: string;
|
|
90
|
+
document: string;
|
|
91
|
+
page: string;
|
|
92
|
+
externalLink: string;
|
|
93
|
+
})[];
|
|
94
|
+
};
|
|
95
|
+
export let relatedContentHeading: string;
|
|
96
|
+
export { BlockLinkCardCarouselData as relatedContent };
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export namespace Inline {
|
|
101
|
+
export namespace args_1 {
|
|
102
|
+
export namespace data_1 {
|
|
103
|
+
let heroPosition_1: string;
|
|
104
|
+
export { heroPosition_1 as heroPosition };
|
|
105
|
+
let heroConstrain_1: boolean;
|
|
106
|
+
export { heroConstrain_1 as heroConstrain };
|
|
107
|
+
}
|
|
108
|
+
export { data_1 as data };
|
|
109
|
+
}
|
|
110
|
+
export { args_1 as args };
|
|
111
|
+
}
|
|
112
|
+
export namespace NoMetalPanel {
|
|
113
|
+
export namespace args_2 {
|
|
114
|
+
export namespace data_2 {
|
|
115
|
+
let heroPosition_2: string;
|
|
116
|
+
export { heroPosition_2 as heroPosition };
|
|
117
|
+
let showMetaPanel_1: boolean;
|
|
118
|
+
export { showMetaPanel_1 as showMetaPanel };
|
|
119
|
+
}
|
|
120
|
+
export { data_2 as data };
|
|
121
|
+
}
|
|
122
|
+
export { args_2 as args };
|
|
123
|
+
}
|
|
@@ -29,6 +29,7 @@ export namespace BaseStory {
|
|
|
29
29
|
export let seoTitle: string;
|
|
30
30
|
export let slug: string;
|
|
31
31
|
export let publicationDate: string;
|
|
32
|
+
export let lastPublishedAt: string;
|
|
32
33
|
export namespace thumbnailImage {
|
|
33
34
|
let __typename_1: string;
|
|
34
35
|
export { __typename_1 as __typename };
|